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-29 11:15:38 +00:00
|
|
|
},
|
2023-11-22 08:25:35 +00:00
|
|
|
props: {
|
2023-12-19 06:54:12 +00:00
|
|
|
zoneCollisions: {type: Array, required: true}
|
2024-04-03 05:50:04 +00:00
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
zones() {
|
|
|
|
return JSON.parse(this.zoneCollisions);
|
|
|
|
}
|
2023-11-22 08:25:35 +00:00
|
|
|
}
|
|
|
|
};
|