@designcrowd/library.brand-page 5.16.59-ast-fix-ai → 5.16.59

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-CU7NzrYX.js → CreatedOnBrandCrowd-de-de-DaC-2bnK.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-CsYCHURy.js → CreatedOnBrandCrowd-en-us-VkCw8KNW.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-BRI8nXGj.js → CreatedOnBrandCrowd-es-es-BFu7h14U.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-BymYGnH1.js → CreatedOnBrandCrowd-fr-ca-BwgoKa5d.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-BymYGnH1.js → CreatedOnBrandCrowd-fr-fr-BwgoKa5d.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-DNFluBiO.js → CreatedOnBrandCrowd-pt-br-D7zqVeHy.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-DNFluBiO.js → CreatedOnBrandCrowd-pt-pt-D7zqVeHy.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-qP52uzRW.js → CreatedOnDcom-de-de-CqsksaH6.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-onI0sfdr.js → CreatedOnDcom-en-us-CYMRyO7i.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-BjwbU1qs.js → CreatedOnDcom-es-es-D_E7Tk9N.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-CaqXrWOJ.js → CreatedOnDcom-fr-ca-B-5JSYsz.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-UoegHtmc.js → CreatedOnDcom-fr-fr-Bc3WCL_H.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-3keFomgl.js → CreatedOnDcom-pt-br-Bt5B3OuE.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-CkN4EIR1.js → CreatedOnDcom-pt-pt-dfOGGPLr.js} +1 -1
  15. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +4 -7
  16. package/lib/src/index.mjs +1 -1
  17. package/lib/src/{lib-D0ZbBa1w.js → lib-CxBL4my0.js} +3 -3
  18. package/package.json +1 -1
  19. package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +6 -6
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-D0ZbBa1w.js";
2
+ import { _ as t } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as t } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as t } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as t } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as t } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as t } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as t } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as e } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as e } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as e } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as e } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as e } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as M } from "./lib-CxBL4my0.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-D0ZbBa1w.js";
2
+ import { _ as M } from "./lib-CxBL4my0.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -178,13 +178,10 @@ export default defineComponent({
178
178
  if (!previewImageUrl) {
179
179
  return '';
180
180
  }
181
- if (this.selectedTab === TEMPLATE_TABS.AI && this.template.contentKey) {
182
- if (this.isPrePurchase) {
183
- previewImageUrl += `&userPromptContentKey=${this.template.contentKey}`;
184
- }
185
- else if (this.userToken) {
186
- previewImageUrl += `&contentKey=${this.template.contentKey}&userToken=${this.userToken}`;
187
- }
181
+ if (this.selectedTab === TEMPLATE_TABS.AI &&
182
+ this.template.contentKey &&
183
+ this.userToken) {
184
+ previewImageUrl += `&contentKey=${this.template.contentKey}&userToken=${this.userToken}`;
188
185
  }
189
186
  if (this.logoImage?.logoVariation !== undefined) {
190
187
  previewImageUrl += `&logoVariation=${this.logoImage.logoVariation}`;
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { bN as E, aB as T, b2 as s, ae as I, at as N, as as S, ap as e, bD as A, bU as O, cl as C, ck as G, cj as D, cd as P, bc as t, bb as R, bZ as L, b_ as M, c5 as o, bW as r, bY as b, bX as n, b$ as F, c0 as l, cc as i, ca as g, aA as B, cb as c, ah as Y, b7 as U, b9 as d, b8 as u, g as H, h as p, B as y, a8 as K, f as k, a9 as V, l as m, ax as X, a7 as h, bC as v, bV as W, aI as x, b4 as f, b0 as z, c8 as Z, c7 as w, C as j, bf as Q, D as q, b as J, a as $, c3 as aa, be as _a, b5 as Ea, b1 as Ta, ch as sa, ci as Ia, c6 as Na, bR as Sa, am as ea, c9 as Aa, ce as Oa, bk as Ca, aU as Ga, bq as Da, F as Pa, ag as ta, af as Ra, k as La, aa as Ma, bh as oa, b3 as ra, a$ as ba, ac as na, au as Fa, n as la, X as ia, H as ga, ai as Ba, bO as ca, bl as Ya, bm as Ua, bM as da, bs as ua, bu as Ha, bg as pa, L as ya, aT as Ka, bz as ka, aZ as Va, by as ma, aC as Xa, ak as ha, c4 as va, cf as Wa, cg as xa, b6 as fa, N as za, ao as Za, aL as wa, aK as ja, aM as Qa, aG as qa, aH as Ja, aJ as $a, bo as a_, bv as __, bi as E_, r as T_, av as s_, aw as I_, aq as N_, ar as S_, an as e_, ad as A_, o as O_, d as C_, R as G_, e as D_, bA as P_, az as t_, bS as R_, bT as L_, c2 as M_, al as o_, bQ as r_, S as b_, bB as n_, p as F_, t as l_, P as i_, aS as g_, bP as B_, bp as c_, bH as Y_, bG as U_, bJ as d_, bE as u_, bK as H_, bL as p_, bF as y_, bI as K_, aN as k_, aO as V_, bx as m_, bw as X_, aQ as h_, aR as v_, aW as W_, ba as x_, aV as f_, aX as z_, U as Z_, aj as w_, a_ as j_, m as Q_, q as q_, bn as J_, ay as $_, bj as aE, br as _E, bt as EE, bd as TE, z as sE, $ as IE, ab as NE, j as SE, c1 as eE, w as AE, y as OE, Y as CE, a6 as GE, aP as DE, aY as PE, aE as tE, u as RE, a4 as LE, x as ME, I as oE, aD as rE, i as bE, aF as nE, c as FE, v as lE, E as iE, A as gE, G as BE, a3 as cE, Z as YE, s as UE, a5 as dE, O as uE, J as HE, K as pE, a1 as yE, Q as KE, a0 as kE, T as VE, a2 as mE, W as XE, M as hE, V as vE } from "./lib-D0ZbBa1w.js";
1
+ import { bN as E, aB as T, b2 as s, ae as I, at as N, as as S, ap as e, bD as A, bU as O, cl as C, ck as G, cj as D, cd as P, bc as t, bb as R, bZ as L, b_ as M, c5 as o, bW as r, bY as b, bX as n, b$ as F, c0 as l, cc as i, ca as g, aA as B, cb as c, ah as Y, b7 as U, b9 as d, b8 as u, g as H, h as p, B as y, a8 as K, f as k, a9 as V, l as m, ax as X, a7 as h, bC as v, bV as W, aI as x, b4 as f, b0 as z, c8 as Z, c7 as w, C as j, bf as Q, D as q, b as J, a as $, c3 as aa, be as _a, b5 as Ea, b1 as Ta, ch as sa, ci as Ia, c6 as Na, bR as Sa, am as ea, c9 as Aa, ce as Oa, bk as Ca, aU as Ga, bq as Da, F as Pa, ag as ta, af as Ra, k as La, aa as Ma, bh as oa, b3 as ra, a$ as ba, ac as na, au as Fa, n as la, X as ia, H as ga, ai as Ba, bO as ca, bl as Ya, bm as Ua, bM as da, bs as ua, bu as Ha, bg as pa, L as ya, aT as Ka, bz as ka, aZ as Va, by as ma, aC as Xa, ak as ha, c4 as va, cf as Wa, cg as xa, b6 as fa, N as za, ao as Za, aL as wa, aK as ja, aM as Qa, aG as qa, aH as Ja, aJ as $a, bo as a_, bv as __, bi as E_, r as T_, av as s_, aw as I_, aq as N_, ar as S_, an as e_, ad as A_, o as O_, d as C_, R as G_, e as D_, bA as P_, az as t_, bS as R_, bT as L_, c2 as M_, al as o_, bQ as r_, S as b_, bB as n_, p as F_, t as l_, P as i_, aS as g_, bP as B_, bp as c_, bH as Y_, bG as U_, bJ as d_, bE as u_, bK as H_, bL as p_, bF as y_, bI as K_, aN as k_, aO as V_, bx as m_, bw as X_, aQ as h_, aR as v_, aW as W_, ba as x_, aV as f_, aX as z_, U as Z_, aj as w_, a_ as j_, m as Q_, q as q_, bn as J_, ay as $_, bj as aE, br as _E, bt as EE, bd as TE, z as sE, $ as IE, ab as NE, j as SE, c1 as eE, w as AE, y as OE, Y as CE, a6 as GE, aP as DE, aY as PE, aE as tE, u as RE, a4 as LE, x as ME, I as oE, aD as rE, i as bE, aF as nE, c as FE, v as lE, E as iE, A as gE, G as BE, a3 as cE, Z as YE, s as UE, a5 as dE, O as uE, J as HE, K as pE, a1 as yE, Q as KE, a0 as kE, T as VE, a2 as mE, W as XE, M as hE, V as vE } from "./lib-CxBL4my0.js";
2
2
  import { createPinia as xE, setActivePinia as fE } from "pinia";
3
3
  export {
4
4
  E as ABOUT_SECTION_SETTINGS_CONFIG,
@@ -60696,10 +60696,10 @@ const Mn = /* @__PURE__ */ V5(gE1), mE1 = (e, t, n) => {
60696
60696
  Xe(() => n.context.isDesignCom, async () => {
60697
60697
  const _ = v5().toLowerCase(), k = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
60698
60698
  try {
60699
- const { default: V } = await DM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-CU7NzrYX.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CsYCHURy.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BRI8nXGj.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-BymYGnH1.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-BymYGnH1.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-DNFluBiO.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-DNFluBiO.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-qP52uzRW.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-onI0sfdr.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BjwbU1qs.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-CaqXrWOJ.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-UoegHtmc.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-3keFomgl.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-CkN4EIR1.js") }), `./watermark/CreatedOn${k}-${_}.vue`, 3);
60699
+ const { default: V } = await DM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-DaC-2bnK.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-VkCw8KNW.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BFu7h14U.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-BwgoKa5d.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-BwgoKa5d.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-D7zqVeHy.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-D7zqVeHy.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-CqsksaH6.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CYMRyO7i.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-D_E7Tk9N.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-B-5JSYsz.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-Bc3WCL_H.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-Bt5B3OuE.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-dfOGGPLr.js") }), `./watermark/CreatedOn${k}-${_}.vue`, 3);
60700
60700
  i.value = V;
60701
60701
  } catch {
60702
- const { default: x } = await DM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CsYCHURy.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-onI0sfdr.js") }), `./watermark/CreatedOn${k}-en-us.vue`, 3);
60702
+ const { default: x } = await DM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-VkCw8KNW.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CYMRyO7i.js") }), `./watermark/CreatedOn${k}-en-us.vue`, 3);
60703
60703
  i.value = x;
60704
60704
  }
60705
60705
  }, {
@@ -101173,7 +101173,7 @@ const phe = /* @__PURE__ */ v(the, [["render", Che], ["__scopeId", "data-v-710ba
101173
101173
  previewImageUrl() {
101174
101174
  var t;
101175
101175
  let e = this.template.previewImageUrl;
101176
- return e ? (this.selectedTab === xl.AI && this.template.contentKey && (this.isPrePurchase ? e += `&userPromptContentKey=${this.template.contentKey}` : this.userToken && (e += `&contentKey=${this.template.contentKey}&userToken=${this.userToken}`)), ((t = this.logoImage) == null ? void 0 : t.logoVariation) !== void 0 && (e += `&logoVariation=${this.logoImage.logoVariation}`), e) : "";
101176
+ return e ? (this.selectedTab === xl.AI && this.template.contentKey && this.userToken && (e += `&contentKey=${this.template.contentKey}&userToken=${this.userToken}`), ((t = this.logoImage) == null ? void 0 : t.logoVariation) !== void 0 && (e += `&logoVariation=${this.logoImage.logoVariation}`), e) : "";
101177
101177
  }
101178
101178
  },
101179
101179
  watch: {
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.16.59-ast-fix-ai",
4
+ "version": "5.16.59",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -250,12 +250,12 @@ export default defineComponent({
250
250
  return '';
251
251
  }
252
252
 
253
- if (this.selectedTab === TEMPLATE_TABS.AI && this.template.contentKey) {
254
- if (this.isPrePurchase) {
255
- previewImageUrl += `&userPromptContentKey=${this.template.contentKey}`;
256
- } else if (this.userToken) {
257
- previewImageUrl += `&contentKey=${this.template.contentKey}&userToken=${this.userToken}`;
258
- }
253
+ if (
254
+ this.selectedTab === TEMPLATE_TABS.AI &&
255
+ this.template.contentKey &&
256
+ this.userToken
257
+ ) {
258
+ previewImageUrl += `&contentKey=${this.template.contentKey}&userToken=${this.userToken}`;
259
259
  }
260
260
 
261
261
  if (this.logoImage?.logoVariation !== undefined) {