salix/print/templates/email/zone-included/zone-included.js

18 lines
401 B
JavaScript
Raw Normal View History

2023-11-22 08:25:35 +00:00
const Component = require(`vn-print/core/component`);
2024-03-13 14:44:16 +00:00
const emailHeader = new Component('email-header');
2023-11-22 08:25:35 +00:00
module.exports = {
name: 'zone-included',
components: {
2024-03-13 14:44:16 +00:00
'email-header': emailHeader.build(),
},
2023-11-22 08:25:35 +00:00
props: {
zoneCollisions: {type: Array, required: true}
},
computed: {
zones() {
return JSON.parse(this.zoneCollisions);
}
2023-11-22 08:25:35 +00:00
}
};