@designcrowd/library.brand-page 6.0.6-undo-4 → 6.0.6-undo-5

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-BqD7lX6T.js → CreatedOnBrandCrowd-de-de-BRaWY6nF.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-BXFZ-Vv_.js → CreatedOnBrandCrowd-en-us-D0DuxW2v.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-qTAVOIsd.js → CreatedOnBrandCrowd-es-es-Du0Wjx0E.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-LVZ7sAKH.js → CreatedOnBrandCrowd-fr-ca-Cz1OGFZT.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-LVZ7sAKH.js → CreatedOnBrandCrowd-fr-fr-Cz1OGFZT.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-TSeJN2wb.js → CreatedOnBrandCrowd-pt-br-TfMgQ231.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-TSeJN2wb.js → CreatedOnBrandCrowd-pt-pt-TfMgQ231.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-BLLcDw_4.js → CreatedOnDcom-de-de-CIxWfXsX.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-BVdWxcIs.js → CreatedOnDcom-en-us-BQeFEYIF.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-BZRzR4GZ.js → CreatedOnDcom-es-es-Bu9Nr8t-.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-B97f7ekB.js → CreatedOnDcom-fr-ca-Dpsu-wxQ.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-CNWS12Rb.js → CreatedOnDcom-fr-fr-CWGZAKa0.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-CsASsHeV.js → CreatedOnDcom-pt-br-Ds8H3Kiq.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-CsYqjPls.js → CreatedOnDcom-pt-pt-kDx8VWIo.js} +1 -1
  15. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +9 -3
  16. package/lib/src/index.mjs +1 -1
  17. package/lib/src/{lib-BNqCRgBN.js → lib-BJdIOaxe.js} +3 -5
  18. package/package.json +1 -1
  19. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +9 -3
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BNqCRgBN.js";
2
+ import { _ as t } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BNqCRgBN.js";
2
+ import { _ as t } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BNqCRgBN.js";
2
+ import { _ as t } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BNqCRgBN.js";
2
+ import { _ as t } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BNqCRgBN.js";
2
+ import { _ as t } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BNqCRgBN.js";
2
+ import { _ as t } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BNqCRgBN.js";
2
+ import { _ as t } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BNqCRgBN.js";
2
+ import { _ as e } from "./lib-BJdIOaxe.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BNqCRgBN.js";
2
+ import { _ as e } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BNqCRgBN.js";
2
+ import { _ as e } from "./lib-BJdIOaxe.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BNqCRgBN.js";
2
+ import { _ as e } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BNqCRgBN.js";
2
+ import { _ as e } from "./lib-BJdIOaxe.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-BNqCRgBN.js";
2
+ import { _ as M } from "./lib-BJdIOaxe.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-BNqCRgBN.js";
2
+ import { _ as M } from "./lib-BJdIOaxe.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -634,9 +634,15 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
634
634
  const logoImage = logoUtil.getLogoImageFromModel(snapshot);
635
635
  if (!logoImage)
636
636
  return;
637
- logoSettingsStore.setState({
638
- newState: { selectedLogoImage: logoImage },
639
- });
637
+ // Assign a FRESH object — the same way the upload/selection flows
638
+ // write selectedLogoImage. A setState/$patch here deep-merges into the
639
+ // existing object, so the templates store's deep watcher receives
640
+ // old === new (same reference), sees no logoDraftToken change, and
641
+ // never refetches the template previews. Post-purchase that watcher
642
+ // is the ONLY refetch path (previews are keyed by logoDraftToken and
643
+ // the designed-logo re-render below is pre-purchase-only), which left
644
+ // the sidebar stuck on the undone logo (BP-5814).
645
+ logoSettingsStore.setSelectedLogoImage({ ...logoImage });
640
646
  const draftToken = logoImage.logoDraftToken;
641
647
  if (!draftToken)
642
648
  return;
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as T, a as E, b as s, c as I, d as S, e as N, f as e, B as A, g as O, h as C, i as t, j as G, k as D, l as P, m as R, n as L, o, p as M, q as r, r as n, s as b, t as l, u as F, v as i, w as c, x as g, y as B, z as Y, C as U, D as d, E as u, F as H, G as p, H as y, I as K, J as m, K as k, L as V, M as X, N as v, O as h, P as f, Q as W, R as x, S as z, T as w, U as Z, V as j, W as q, X as J, Y as Q, Z as $, $ as aa, a0 as _a, a1 as Ta, a2 as Ea, a3 as sa, a4 as Ia, a5 as Sa, a6 as Na, a7 as ea, a8 as Aa, a9 as Oa, aa as Ca, ab as ta, ac as Ga, ad as Da, ae as Pa, af as Ra, ag as La, ah as oa, ai as Ma, aj as ra, ak as na, al as ba, am as la, an as Fa, ao as ia, ap as ca, aq as ga, ar as Ba, as as Ya, at as Ua, au as da, av as ua, aw as Ha, ax as pa, ay as ya, az as Ka, aA as ma, aB as ka, aC as Va, aD as Xa, aE as va, aF as ha, aG as fa, aH as Wa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as qa, aO as Ja, aP as Qa, aQ as $a, aR as a_, aS as __, aT as T_, aU as E_, aV as s_, aW as I_, aX as S_, aY as N_, aZ as e_, a_ as A_, a$ as O_, b0 as C_, b1 as t_, b2 as G_, b3 as D_, b4 as P_, b5 as R_, b6 as L_, b7 as o_, b8 as M_, b9 as r_, ba as n_, bb as b_, bc as l_, bd as F_, be as i_, bf as c_, bg as g_, bh as B_, bi as Y_, bj as U_, bk as d_, bl as u_, bm as H_, bn as p_, bo as y_, bp as K_, bq as m_, br as k_, bs as V_, bt as X_, bu as v_, bv as h_, bw as f_, bx as W_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as q_, bE as J_, bF as Q_, bG as $_, bH as aT, bI as _T, bJ as TT, bK as ET, bL as sT, bM as IT, bN as ST, bO as NT, bP as eT, bQ as AT, bR as OT, bS as CT, bT as tT, bU as GT, bV as DT, bW as PT, bX as RT, bY as LT, bZ as oT, b_ as MT, b$ as rT, c0 as nT, c1 as bT, c2 as lT, c3 as FT, c4 as iT, c5 as cT, c6 as gT, c7 as BT, c8 as YT, c9 as UT, ca as dT, cb as uT, cc as HT, cd as pT, ce as yT, cf as KT, cg as mT, ch as kT, ci as VT, cj as XT, ck as vT, cl as hT, cm as fT, cn as WT, co as xT, cp as zT, cq as wT, cr as ZT, cs as jT, ct as qT, cu as JT } from "./lib-BNqCRgBN.js";
1
+ import { A as T, a as E, b as s, c as I, d as S, e as N, f as e, B as A, g as O, h as C, i as t, j as G, k as D, l as P, m as R, n as L, o, p as M, q as r, r as n, s as b, t as l, u as F, v as i, w as c, x as g, y as B, z as Y, C as U, D as d, E as u, F as H, G as p, H as y, I as K, J as m, K as k, L as V, M as X, N as v, O as h, P as f, Q as W, R as x, S as z, T as w, U as Z, V as j, W as q, X as J, Y as Q, Z as $, $ as aa, a0 as _a, a1 as Ta, a2 as Ea, a3 as sa, a4 as Ia, a5 as Sa, a6 as Na, a7 as ea, a8 as Aa, a9 as Oa, aa as Ca, ab as ta, ac as Ga, ad as Da, ae as Pa, af as Ra, ag as La, ah as oa, ai as Ma, aj as ra, ak as na, al as ba, am as la, an as Fa, ao as ia, ap as ca, aq as ga, ar as Ba, as as Ya, at as Ua, au as da, av as ua, aw as Ha, ax as pa, ay as ya, az as Ka, aA as ma, aB as ka, aC as Va, aD as Xa, aE as va, aF as ha, aG as fa, aH as Wa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as qa, aO as Ja, aP as Qa, aQ as $a, aR as a_, aS as __, aT as T_, aU as E_, aV as s_, aW as I_, aX as S_, aY as N_, aZ as e_, a_ as A_, a$ as O_, b0 as C_, b1 as t_, b2 as G_, b3 as D_, b4 as P_, b5 as R_, b6 as L_, b7 as o_, b8 as M_, b9 as r_, ba as n_, bb as b_, bc as l_, bd as F_, be as i_, bf as c_, bg as g_, bh as B_, bi as Y_, bj as U_, bk as d_, bl as u_, bm as H_, bn as p_, bo as y_, bp as K_, bq as m_, br as k_, bs as V_, bt as X_, bu as v_, bv as h_, bw as f_, bx as W_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as q_, bE as J_, bF as Q_, bG as $_, bH as aT, bI as _T, bJ as TT, bK as ET, bL as sT, bM as IT, bN as ST, bO as NT, bP as eT, bQ as AT, bR as OT, bS as CT, bT as tT, bU as GT, bV as DT, bW as PT, bX as RT, bY as LT, bZ as oT, b_ as MT, b$ as rT, c0 as nT, c1 as bT, c2 as lT, c3 as FT, c4 as iT, c5 as cT, c6 as gT, c7 as BT, c8 as YT, c9 as UT, ca as dT, cb as uT, cc as HT, cd as pT, ce as yT, cf as KT, cg as mT, ch as kT, ci as VT, cj as XT, ck as vT, cl as hT, cm as fT, cn as WT, co as xT, cp as zT, cq as wT, cr as ZT, cs as jT, ct as qT, cu as JT } from "./lib-BJdIOaxe.js";
2
2
  import { createPinia as $T, setActivePinia as aE } from "pinia";
3
3
  export {
4
4
  T as ABOUT_SECTION_SETTINGS_CONFIG,
@@ -66487,10 +66487,10 @@ const Zi = /* @__PURE__ */ f9(YU1), XU1 = (e, t, n) => {
66487
66487
  D2(() => n.context.isDesignCom, async () => {
66488
66488
  const M = r9().toLowerCase(), S = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
66489
66489
  try {
66490
- const { default: _ } = await AV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-BqD7lX6T.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BXFZ-Vv_.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-qTAVOIsd.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-LVZ7sAKH.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-LVZ7sAKH.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-TSeJN2wb.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-TSeJN2wb.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-BLLcDw_4.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BVdWxcIs.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BZRzR4GZ.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-B97f7ekB.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CNWS12Rb.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-CsASsHeV.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-CsYqjPls.js") }), `./watermark/CreatedOn${S}-${M}.vue`, 3);
66490
+ const { default: _ } = await AV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-BRaWY6nF.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-D0DuxW2v.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-Du0Wjx0E.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Cz1OGFZT.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Cz1OGFZT.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-TfMgQ231.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-TfMgQ231.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-CIxWfXsX.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BQeFEYIF.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-Bu9Nr8t-.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-Dpsu-wxQ.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CWGZAKa0.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-Ds8H3Kiq.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-kDx8VWIo.js") }), `./watermark/CreatedOn${S}-${M}.vue`, 3);
66491
66491
  i.value = _;
66492
66492
  } catch {
66493
- const { default: x } = await AV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BXFZ-Vv_.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BVdWxcIs.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
66493
+ const { default: x } = await AV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-D0DuxW2v.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BQeFEYIF.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
66494
66494
  i.value = x;
66495
66495
  }
66496
66496
  }, {
@@ -80661,9 +80661,7 @@ const Pe = s3("uiContentSettings", {
80661
80661
  }
80662
80662
  const l = Ag(e);
80663
80663
  if (!l) return;
80664
- n.setState({
80665
- newState: { selectedLogoImage: l }
80666
- });
80664
+ n.setSelectedLogoImage({ ...l });
80667
80665
  const d = l.logoDraftToken;
80668
80666
  if (!d) return;
80669
80667
  const c = o.getLogoDraftAssetByToken(d);
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": "6.0.6-undo-4",
4
+ "version": "6.0.6-undo-5",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -960,9 +960,15 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
960
960
 
961
961
  if (!logoImage) return;
962
962
 
963
- logoSettingsStore.setState({
964
- newState: { selectedLogoImage: logoImage },
965
- });
963
+ // Assign a FRESH object — the same way the upload/selection flows
964
+ // write selectedLogoImage. A setState/$patch here deep-merges into the
965
+ // existing object, so the templates store's deep watcher receives
966
+ // old === new (same reference), sees no logoDraftToken change, and
967
+ // never refetches the template previews. Post-purchase that watcher
968
+ // is the ONLY refetch path (previews are keyed by logoDraftToken and
969
+ // the designed-logo re-render below is pre-purchase-only), which left
970
+ // the sidebar stuck on the undone logo (BP-5814).
971
+ logoSettingsStore.setSelectedLogoImage({ ...logoImage });
966
972
 
967
973
  const draftToken: string | undefined = logoImage.logoDraftToken;
968
974