@designcrowd/library.brand-page 5.17.25-undo-7 → 5.17.25-undo-8

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 (18) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-Bj3SnIcG.js → CreatedOnBrandCrowd-de-de-AfnY8zoN.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-Cctc4swb.js → CreatedOnBrandCrowd-en-us-D8X7A_M5.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-BEH9gTNh.js → CreatedOnBrandCrowd-es-es-DjKTziiy.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-BgWoNZ-T.js → CreatedOnBrandCrowd-fr-ca-dSR3lZfa.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-BgWoNZ-T.js → CreatedOnBrandCrowd-fr-fr-dSR3lZfa.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-VI26X7xu.js → CreatedOnBrandCrowd-pt-br-BTD44ERQ.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-VI26X7xu.js → CreatedOnBrandCrowd-pt-pt-BTD44ERQ.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-CQKXLChO.js → CreatedOnDcom-de-de-QP4_OShH.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-DTjoj2Iv.js → CreatedOnDcom-en-us-CWyO9t7x.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-C7ZOaeD4.js → CreatedOnDcom-es-es-B3sZqeKP.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-CaODnIN8.js → CreatedOnDcom-fr-ca-BR3-inLX.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-CrF0dPzz.js → CreatedOnDcom-fr-fr-DdrT0HCa.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-51WgNOhj.js → CreatedOnDcom-pt-br-3Oz8RFHK.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-Bkn3fggv.js → CreatedOnDcom-pt-pt-DwrZkI_f.js} +1 -1
  15. package/lib/src/index.mjs +1 -1
  16. package/lib/src/{lib-rp5REB2a.js → lib-Y0xSZnR9.js} +10 -20
  17. package/package.json +1 -1
  18. package/src/shared/content-settings/components/logo-selection-field/LogoSelection.vue +16 -23
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-rp5REB2a.js";
2
+ import { _ as t } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as t } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as t } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as t } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as t } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as t } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as t } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as e } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as e } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as e } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as e } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as e } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as M } from "./lib-Y0xSZnR9.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-rp5REB2a.js";
2
+ import { _ as M } from "./lib-Y0xSZnR9.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as E, a as T, 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 G, j as D, k as P, l as t, m as R, n as L, o as M, p as o, q as r, r as b, s as n, t as F, u as i, v as l, w as g, x as B, y as c, 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 k, K as m, L as V, M as X, N as h, O as v, P as W, Q as f, R as x, S as z, T as w, U as Z, V as j, W as Q, X as q, Y as J, Z as $, $ as aa, a0 as _a, a1 as Ea, a2 as Ta, 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 Ga, ac as Da, ad as Pa, ae as ta, af as Ra, ag as La, ah as Ma, ai as oa, aj as ra, ak as ba, al as na, am as Fa, an as ia, ao as la, ap as ga, aq as Ba, ar as ca, 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 ka, aB as ma, aC as Va, aD as Xa, aE as ha, aF as va, aG as Wa, aH as fa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as Qa, aO as qa, aP as Ja, aQ as $a, aR as a_, aS as __, aT as E_, aU as T_, 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 G_, b2 as D_, b3 as P_, b4 as t_, b5 as R_, b6 as L_, b7 as M_, b8 as o_, b9 as r_, ba as b_, bb as n_, bc as F_, bd as i_, be as l_, bf as g_, bg as B_, bh as c_, 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 k_, br as m_, bs as V_, bt as X_, bu as h_, bv as v_, bw as W_, bx as f_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as Q_, bE as q_, bF as J_, bG as $_, bH as aE, bI as _E, bJ as EE, bK as TE, bL as sE, bM as IE, bN as SE, bO as NE, bP as eE, bQ as AE, bR as OE, bS as CE, bT as GE, bU as DE, bV as PE, bW as tE, bX as RE, bY as LE, bZ as ME, b_ as oE, b$ as rE, c0 as bE, c1 as nE, c2 as FE, c3 as iE, c4 as lE, c5 as gE, c6 as BE, c7 as cE, c8 as YE, c9 as UE, ca as dE, cb as uE, cc as HE, cd as pE, ce as yE, cf as KE, cg as kE, ch as mE, ci as VE, cj as XE, ck as hE, cl as vE, cm as WE, cn as fE, co as xE } from "./lib-rp5REB2a.js";
1
+ import { A as E, a as T, 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 G, j as D, k as P, l as t, m as R, n as L, o as M, p as o, q as r, r as b, s as n, t as F, u as i, v as l, w as g, x as B, y as c, 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 k, K as m, L as V, M as X, N as h, O as v, P as W, Q as f, R as x, S as z, T as w, U as Z, V as j, W as Q, X as q, Y as J, Z as $, $ as aa, a0 as _a, a1 as Ea, a2 as Ta, 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 Ga, ac as Da, ad as Pa, ae as ta, af as Ra, ag as La, ah as Ma, ai as oa, aj as ra, ak as ba, al as na, am as Fa, an as ia, ao as la, ap as ga, aq as Ba, ar as ca, 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 ka, aB as ma, aC as Va, aD as Xa, aE as ha, aF as va, aG as Wa, aH as fa, aI as xa, aJ as za, aK as wa, aL as Za, aM as ja, aN as Qa, aO as qa, aP as Ja, aQ as $a, aR as a_, aS as __, aT as E_, aU as T_, 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 G_, b2 as D_, b3 as P_, b4 as t_, b5 as R_, b6 as L_, b7 as M_, b8 as o_, b9 as r_, ba as b_, bb as n_, bc as F_, bd as i_, be as l_, bf as g_, bg as B_, bh as c_, 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 k_, br as m_, bs as V_, bt as X_, bu as h_, bv as v_, bw as W_, bx as f_, by as x_, bz as z_, bA as w_, bB as Z_, bC as j_, bD as Q_, bE as q_, bF as J_, bG as $_, bH as aE, bI as _E, bJ as EE, bK as TE, bL as sE, bM as IE, bN as SE, bO as NE, bP as eE, bQ as AE, bR as OE, bS as CE, bT as GE, bU as DE, bV as PE, bW as tE, bX as RE, bY as LE, bZ as ME, b_ as oE, b$ as rE, c0 as bE, c1 as nE, c2 as FE, c3 as iE, c4 as lE, c5 as gE, c6 as BE, c7 as cE, c8 as YE, c9 as UE, ca as dE, cb as uE, cc as HE, cd as pE, ce as yE, cf as KE, cg as kE, ch as mE, ci as VE, cj as XE, ck as hE, cl as vE, cm as WE, cn as fE, co as xE } from "./lib-Y0xSZnR9.js";
2
2
  import { createPinia as wE, setActivePinia as ZE } from "pinia";
3
3
  export {
4
4
  E as ABOUT_SECTION_SETTINGS_CONFIG,
@@ -62123,10 +62123,10 @@ const Kn = /* @__PURE__ */ Z6(GB1), WB1 = (e, t, n) => {
62123
62123
  R2(() => n.context.isDesignCom, async () => {
62124
62124
  const M = P6().toLowerCase(), _ = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
62125
62125
  try {
62126
- const { default: V } = await yk(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-Bj3SnIcG.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-Cctc4swb.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BEH9gTNh.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-BgWoNZ-T.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-BgWoNZ-T.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-VI26X7xu.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-VI26X7xu.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-CQKXLChO.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DTjoj2Iv.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-C7ZOaeD4.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-CaODnIN8.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CrF0dPzz.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-51WgNOhj.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-Bkn3fggv.js") }), `./watermark/CreatedOn${_}-${M}.vue`, 3);
62126
+ const { default: V } = await yk(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-AfnY8zoN.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-D8X7A_M5.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-DjKTziiy.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-dSR3lZfa.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-dSR3lZfa.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-BTD44ERQ.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-BTD44ERQ.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-QP4_OShH.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CWyO9t7x.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-B3sZqeKP.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-BR3-inLX.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-DdrT0HCa.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-3Oz8RFHK.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-DwrZkI_f.js") }), `./watermark/CreatedOn${_}-${M}.vue`, 3);
62127
62127
  i.value = V;
62128
62128
  } catch {
62129
- const { default: x } = await yk(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-Cctc4swb.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DTjoj2Iv.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
62129
+ const { default: x } = await yk(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-D8X7A_M5.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CWyO9t7x.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
62130
62130
  i.value = x;
62131
62131
  }
62132
62132
  }, {
@@ -89719,29 +89719,19 @@ const N62 = /* @__PURE__ */ w(P62, [["render", D62], ["__scopeId", "data-v-8240b
89719
89719
  }
89720
89720
  ];
89721
89721
  return u.value ? j.filter((J) => J.value !== "1") : j;
89722
- });
89722
+ }), m = () => {
89723
+ const j = a.getLogoDraftAssetByToken(
89724
+ n.selectedLogoDraftToken
89725
+ );
89726
+ s.logoEditUrl = (j == null ? void 0 : j.logoEditUrl) || "";
89727
+ };
89723
89728
  v3(() => m()), R2(
89724
- () => n.isLogoVisible,
89725
- () => {
89726
- s.manualVisibleChoice = null, m();
89727
- }
89728
- ), R2(
89729
89729
  () => n.selectedLogoDraftToken,
89730
89730
  () => {
89731
89731
  s.manualVisibleChoice = null, m();
89732
89732
  }
89733
- ), R2(
89734
- () => n.selectedLogo,
89735
- () => {
89736
- s.manualVisibleChoice = null, m();
89737
- }
89738
- );
89739
- const m = () => {
89740
- const j = a.getLogoDraftAssetByToken(
89741
- n.selectedLogoDraftToken
89742
- );
89743
- s.logoEditUrl = (j == null ? void 0 : j.logoEditUrl) || "";
89744
- }, y = De(), v = T(() => {
89733
+ ), R2(() => n.isLogoVisible, m), R2(() => n.selectedLogo, m);
89734
+ const y = De(), v = T(() => {
89745
89735
  const j = a.getLogoDraftAssetByToken(
89746
89736
  n.selectedLogoDraftToken
89747
89737
  );
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.17.25-undo-7",
4
+ "version": "5.17.25-undo-8",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -256,39 +256,32 @@ const options = computed<ButtonGroupOption[]>(() => {
256
256
  return optionList;
257
257
  });
258
258
 
259
- onMounted(() => updateState());
259
+ const updateState = () => {
260
+ const logoDraftAsset = logoStore.getLogoDraftAssetByToken(
261
+ props.selectedLogoDraftToken,
262
+ );
260
263
 
261
- watch(
262
- () => props.isLogoVisible,
263
- () => {
264
- data.manualVisibleChoice = null;
265
- updateState();
266
- },
267
- );
264
+ data.logoEditUrl = logoDraftAsset?.logoEditUrl || '';
265
+ };
268
266
 
269
- watch(
270
- () => props.selectedLogoDraftToken,
271
- () => {
272
- data.manualVisibleChoice = null;
273
- updateState();
274
- },
275
- );
267
+ onMounted(() => updateState());
276
268
 
269
+ // Only `selectedLogoDraftToken` clears the manual override — that's the
270
+ // signal for an *external* data change (upload landed, or undo/redo
271
+ // restored a different draft). `isLogoVisible` flips on the user's own
272
+ // click and propagates back through props, so resetting on it would
273
+ // clobber the choice the user just made (e.g. None → Upload would land
274
+ // on Logo because the watcher fires before the computed re-reads).
277
275
  watch(
278
- () => props.selectedLogo,
276
+ () => props.selectedLogoDraftToken,
279
277
  () => {
280
278
  data.manualVisibleChoice = null;
281
279
  updateState();
282
280
  },
283
281
  );
284
282
 
285
- const updateState = () => {
286
- const logoDraftAsset = logoStore.getLogoDraftAssetByToken(
287
- props.selectedLogoDraftToken,
288
- );
289
-
290
- data.logoEditUrl = logoDraftAsset?.logoEditUrl || '';
291
- };
283
+ watch(() => props.isLogoVisible, updateState);
284
+ watch(() => props.selectedLogo, updateState);
292
285
 
293
286
  const logoSettingStore = useUiLogoSettingsStore();
294
287