module.exports = {
    name: 'report-header',
    created() {
        if (this.locale)
            this.$i18n.locale = this.locale;

        const embeded = [];
        this.files.map(file => {
            embeded[file] = `file://${__dirname + file}`;
        });
        this.embeded = embeded;
    },
    data() {
        return {
            files: ['/assets/images/report-logo.svg'],
        };
    },
    props: ['locale']
};