@designcrowd/library.brand-page 5.15.25-1 → 5.15.25-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-DfxXvPUd.js → CreatedOnBrandCrowd-de-de-xpyMDLTe.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-Dfq14eeK.js → CreatedOnBrandCrowd-en-us-C4W4QKZH.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-ntm66WVh.js → CreatedOnBrandCrowd-es-es-YzhR8ZBL.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-CG5E6eDq.js → CreatedOnBrandCrowd-fr-ca-CKqBo3mS.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-CG5E6eDq.js → CreatedOnBrandCrowd-fr-fr-CKqBo3mS.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-CYDoX0rS.js → CreatedOnBrandCrowd-pt-br-CQrxP_qS.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-CYDoX0rS.js → CreatedOnBrandCrowd-pt-pt-CQrxP_qS.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-DHkJnfUc.js → CreatedOnDcom-de-de-DbFpFTh4.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-DL99PaxQ.js → CreatedOnDcom-en-us-CtfAxs1R.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-CAUzJnYl.js → CreatedOnDcom-es-es-BrNEiIMt.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-CYXn1x12.js → CreatedOnDcom-fr-ca-CcTj3oqN.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-CHIozLex.js → CreatedOnDcom-fr-fr-Ca2VzXRW.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-3LFQpHjY.js → CreatedOnDcom-pt-br-CYJcOEIG.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-1GiKzEx7.js → CreatedOnDcom-pt-pt-B7OjSKo7.js} +1 -1
  15. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +6 -5
  16. package/lib/src/index.mjs +1 -1
  17. package/lib/src/{lib-D2Te0aey.js → lib-Cu3w_UP2.js} +6 -6
  18. package/package.json +1 -1
  19. package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +7 -7
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-D2Te0aey.js";
2
+ import { _ as t } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-D2Te0aey.js";
2
+ import { _ as t } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-D2Te0aey.js";
2
+ import { _ as t } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-D2Te0aey.js";
2
+ import { _ as t } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-D2Te0aey.js";
2
+ import { _ as t } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-D2Te0aey.js";
2
+ import { _ as t } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-D2Te0aey.js";
2
+ import { _ as t } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-D2Te0aey.js";
2
+ import { _ as e } from "./lib-Cu3w_UP2.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-D2Te0aey.js";
2
+ import { _ as e } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-D2Te0aey.js";
2
+ import { _ as e } from "./lib-Cu3w_UP2.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-D2Te0aey.js";
2
+ import { _ as e } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-D2Te0aey.js";
2
+ import { _ as e } from "./lib-Cu3w_UP2.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-D2Te0aey.js";
2
+ import { _ as M } from "./lib-Cu3w_UP2.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-D2Te0aey.js";
2
+ import { _ as M } from "./lib-Cu3w_UP2.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -143,10 +143,11 @@ export default defineComponent({
143
143
  return this.template.isPersonalisable || false;
144
144
  },
145
145
  isAiTemplate() {
146
- return (!!this.personalisationData && this.selectedTab.key === TEMPLATE_TABS.AI);
146
+ return this.selectedTab.key === TEMPLATE_TABS.AI;
147
147
  },
148
148
  shouldRenderAsPage() {
149
- return this.isPrePurchase || this.isAiTemplate;
149
+ const result = this.isPrePurchase || this.isAiTemplate;
150
+ return result;
150
151
  },
151
152
  cssVariablesStyle() {
152
153
  if (!this.logoTheme) {
@@ -170,13 +171,13 @@ export default defineComponent({
170
171
  },
171
172
  watch: {
172
173
  template() {
173
- if (this.isPrePurchase) {
174
+ if (this.shouldRenderAsPage) {
174
175
  this.updateViewModel();
175
176
  }
176
177
  },
177
178
  logoTheme: {
178
179
  handler() {
179
- if (this.isPrePurchase) {
180
+ if (this.shouldRenderAsPage) {
180
181
  this.updateViewModel();
181
182
  }
182
183
  },
@@ -249,7 +250,7 @@ export default defineComponent({
249
250
  this.$forceUpdate();
250
251
  },
251
252
  async updateViewModel(forceUpdate = true) {
252
- if (!this.isPrePurchase) {
253
+ if (!this.shouldRenderAsPage) {
253
254
  return;
254
255
  }
255
256
  const videoStore = useVideoStore();
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { bD as E, ar as T, aU as I, a5 as s, aj as N, ai as S, af as A, bt as e, bK as O, cb as G, ca as C, c9 as D, c3 as P, b2 as t, b1 as R, bP as L, bQ as M, bX as o, bM as b, bO as r, bN as F, bR as n, bS as B, c2 as i, c0 as l, aq as g, c1 as Y, a8 as U, aZ as c, a$ as d, a_ as u, e as H, f as y, B as p, $ as K, d as V, a0 as k, j as X, an as m, Z as v, bs as h, bL as W, ay as x, aW as f, aS as z, b_ as Z, bZ as w, C as Q, b5 as j, D as q, b as J, a as $, bV as aa, b4 as _a, aX as Ea, aT as Ta, c7 as Ia, c8 as sa, bY as Na, bH as Sa, ad as Aa, b$ as ea, c4 as Oa, ba as Ga, aK as Ca, bg as Da, F as Pa, a7 as ta, a6 as Ra, h as La, a1 as Ma, b7 as oa, aV as ba, aR as ra, a3 as Fa, ak as na, l as Ba, K as ia, H as la, a9 as ga, bE as Ya, bb as Ua, bc as ca, bC as da, bi as ua, bk as Ha, b6 as ya, L as pa, aJ as Ka, bp as Va, aP as ka, bo as Xa, as as ma, ab as va, bW as ha, c5 as Wa, c6 as xa, aY as fa, N as za, aB as Za, aA as wa, aC as Qa, aw as ja, ax as qa, az as Ja, be as $a, bl as a_, b8 as __, o as E_, al as T_, am as I_, ag as s_, ah as N_, ae as S_, a4 as A_, m as e_, bq as O_, ap as G_, bI as C_, bJ as D_, bU as P_, ac as t_, bG as R_, br as L_, n as M_, S as o_, P as b_, aI as r_, bF as F_, bf as n_, bx as B_, bw as i_, bz as l_, bu as g_, bA as Y_, bB as U_, bv as c_, by as d_, aD as u_, aE as H_, bn as y_, bm as p_, aG as K_, aH as V_, aM as k_, b0 as X_, aL as m_, aN as v_, U as h_, aa as W_, aQ as x_, k as f_, bd as z_, ao as Z_, b9 as w_, bh as Q_, bj as j_, b3 as q_, Q as J_, a2 as $_, g as aE, bT as _E, r as EE, u as TE, M as IE, Y as sE, aF as NE, aO as SE, au as AE, p as eE, W as OE, t as GE, w as CE, at as DE, i as PE, av as tE, c as RE, q as LE, v as ME, V as oE, O as bE, s as rE, X as FE, A as nE, x as BE, y as iE, T as lE, E as gE, R as YE, G as UE, J as cE, z as dE, I as uE } from "./lib-D2Te0aey.js";
1
+ import { bD as E, ar as T, aU as I, a5 as s, aj as N, ai as S, af as A, bt as e, bK as O, cb as G, ca as C, c9 as D, c3 as P, b2 as t, b1 as R, bP as L, bQ as M, bX as o, bM as b, bO as r, bN as F, bR as n, bS as B, c2 as i, c0 as l, aq as g, c1 as Y, a8 as U, aZ as c, a$ as d, a_ as u, e as H, f as y, B as p, $ as K, d as V, a0 as k, j as X, an as m, Z as v, bs as h, bL as W, ay as x, aW as f, aS as z, b_ as Z, bZ as w, C as Q, b5 as j, D as q, b as J, a as $, bV as aa, b4 as _a, aX as Ea, aT as Ta, c7 as Ia, c8 as sa, bY as Na, bH as Sa, ad as Aa, b$ as ea, c4 as Oa, ba as Ga, aK as Ca, bg as Da, F as Pa, a7 as ta, a6 as Ra, h as La, a1 as Ma, b7 as oa, aV as ba, aR as ra, a3 as Fa, ak as na, l as Ba, K as ia, H as la, a9 as ga, bE as Ya, bb as Ua, bc as ca, bC as da, bi as ua, bk as Ha, b6 as ya, L as pa, aJ as Ka, bp as Va, aP as ka, bo as Xa, as as ma, ab as va, bW as ha, c5 as Wa, c6 as xa, aY as fa, N as za, aB as Za, aA as wa, aC as Qa, aw as ja, ax as qa, az as Ja, be as $a, bl as a_, b8 as __, o as E_, al as T_, am as I_, ag as s_, ah as N_, ae as S_, a4 as A_, m as e_, bq as O_, ap as G_, bI as C_, bJ as D_, bU as P_, ac as t_, bG as R_, br as L_, n as M_, S as o_, P as b_, aI as r_, bF as F_, bf as n_, bx as B_, bw as i_, bz as l_, bu as g_, bA as Y_, bB as U_, bv as c_, by as d_, aD as u_, aE as H_, bn as y_, bm as p_, aG as K_, aH as V_, aM as k_, b0 as X_, aL as m_, aN as v_, U as h_, aa as W_, aQ as x_, k as f_, bd as z_, ao as Z_, b9 as w_, bh as Q_, bj as j_, b3 as q_, Q as J_, a2 as $_, g as aE, bT as _E, r as EE, u as TE, M as IE, Y as sE, aF as NE, aO as SE, au as AE, p as eE, W as OE, t as GE, w as CE, at as DE, i as PE, av as tE, c as RE, q as LE, v as ME, V as oE, O as bE, s as rE, X as FE, A as nE, x as BE, y as iE, T as lE, E as gE, R as YE, G as UE, J as cE, z as dE, I as uE } from "./lib-Cu3w_UP2.js";
2
2
  import { createPinia as yE, setActivePinia as pE } from "pinia";
3
3
  export {
4
4
  E as ABOUT_SECTION_SETTINGS_CONFIG,
@@ -57816,10 +57816,10 @@ const en = /* @__PURE__ */ j6(Uk1), Zk1 = (e, t, n) => {
57816
57816
  Lt(() => n.context.isDesignCom, async () => {
57817
57817
  const S = H8().toLowerCase(), k = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
57818
57818
  try {
57819
- const { default: _ } = await N_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-DfxXvPUd.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-Dfq14eeK.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-ntm66WVh.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-CG5E6eDq.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-CG5E6eDq.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-CYDoX0rS.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-CYDoX0rS.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DHkJnfUc.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DL99PaxQ.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-CAUzJnYl.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-CYXn1x12.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CHIozLex.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-3LFQpHjY.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-1GiKzEx7.js") }), `./watermark/CreatedOn${k}-${S}.vue`, 3);
57819
+ const { default: _ } = await N_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-xpyMDLTe.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-C4W4QKZH.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-YzhR8ZBL.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-CKqBo3mS.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-CKqBo3mS.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-CQrxP_qS.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-CQrxP_qS.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DbFpFTh4.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CtfAxs1R.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BrNEiIMt.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-CcTj3oqN.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-Ca2VzXRW.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-CYJcOEIG.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-B7OjSKo7.js") }), `./watermark/CreatedOn${k}-${S}.vue`, 3);
57820
57820
  i.value = _;
57821
57821
  } catch {
57822
- const { default: H } = await N_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-Dfq14eeK.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DL99PaxQ.js") }), `./watermark/CreatedOn${k}-en-us.vue`, 3);
57822
+ const { default: H } = await N_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-C4W4QKZH.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CtfAxs1R.js") }), `./watermark/CreatedOn${k}-en-us.vue`, 3);
57823
57823
  i.value = H;
57824
57824
  }
57825
57825
  }, {
@@ -96553,7 +96553,7 @@ const ore = /* @__PURE__ */ v(joe, [["render", sre], ["__scopeId", "data-v-88329
96553
96553
  return this.template.isPersonalisable || !1;
96554
96554
  },
96555
96555
  isAiTemplate() {
96556
- return !!this.personalisationData && this.selectedTab.key === ll.AI;
96556
+ return this.selectedTab.key === ll.AI;
96557
96557
  },
96558
96558
  shouldRenderAsPage() {
96559
96559
  return this.isPrePurchase || this.isAiTemplate;
@@ -96573,11 +96573,11 @@ const ore = /* @__PURE__ */ v(joe, [["render", sre], ["__scopeId", "data-v-88329
96573
96573
  },
96574
96574
  watch: {
96575
96575
  template() {
96576
- this.isPrePurchase && this.updateViewModel();
96576
+ this.shouldRenderAsPage && this.updateViewModel();
96577
96577
  },
96578
96578
  logoTheme: {
96579
96579
  handler() {
96580
- this.isPrePurchase && this.updateViewModel();
96580
+ this.shouldRenderAsPage && this.updateViewModel();
96581
96581
  },
96582
96582
  deep: !0
96583
96583
  }
@@ -96631,7 +96631,7 @@ const ore = /* @__PURE__ */ v(joe, [["render", sre], ["__scopeId", "data-v-88329
96631
96631
  },
96632
96632
  async updateViewModel(e = !0) {
96633
96633
  var i, s;
96634
- if (!this.isPrePurchase)
96634
+ if (!this.shouldRenderAsPage)
96635
96635
  return;
96636
96636
  const t = Mi();
96637
96637
  let n = this.template.brandPageModel;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designcrowd/library.brand-page",
3
3
  "description": "A collection of Maker/Designer applications",
4
- "version": "5.15.25-1",
4
+ "version": "5.15.25-3",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -203,13 +203,13 @@ export default defineComponent({
203
203
  },
204
204
 
205
205
  isAiTemplate(): boolean {
206
- return (
207
- !!this.personalisationData && this.selectedTab.key === TEMPLATE_TABS.AI
208
- );
206
+ return this.selectedTab.key === TEMPLATE_TABS.AI;
209
207
  },
210
208
 
211
209
  shouldRenderAsPage(): boolean {
212
- return this.isPrePurchase || this.isAiTemplate;
210
+ const result = this.isPrePurchase || this.isAiTemplate;
211
+
212
+ return result;
213
213
  },
214
214
 
215
215
  cssVariablesStyle(): Record<string, string> {
@@ -239,13 +239,13 @@ export default defineComponent({
239
239
  },
240
240
  watch: {
241
241
  template() {
242
- if (this.isPrePurchase) {
242
+ if (this.shouldRenderAsPage) {
243
243
  this.updateViewModel();
244
244
  }
245
245
  },
246
246
  logoTheme: {
247
247
  handler() {
248
- if (this.isPrePurchase) {
248
+ if (this.shouldRenderAsPage) {
249
249
  this.updateViewModel();
250
250
  }
251
251
  },
@@ -338,7 +338,7 @@ export default defineComponent({
338
338
  },
339
339
 
340
340
  async updateViewModel(forceUpdate = true) {
341
- if (!this.isPrePurchase) {
341
+ if (!this.shouldRenderAsPage) {
342
342
  return;
343
343
  }
344
344