@designcrowd/library.brand-page 6.0.6-json-prereq-2 → 6.0.6-json-prereq-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-F1Ldbx6c.js → CreatedOnBrandCrowd-de-de-CvDAZ3Qq.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-D8z2m0Et.js → CreatedOnBrandCrowd-en-us-DgROckDq.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-CLSkbkYu.js → CreatedOnBrandCrowd-es-es-lvQ5oABV.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-Cyc4YWYR.js → CreatedOnBrandCrowd-fr-ca-DDM2q89U.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-Cyc4YWYR.js → CreatedOnBrandCrowd-fr-fr-DDM2q89U.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-DSSUcSmV.js → CreatedOnBrandCrowd-pt-br-xlgcCsw2.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-DSSUcSmV.js → CreatedOnBrandCrowd-pt-pt-xlgcCsw2.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-DF1JaJPE.js → CreatedOnDcom-de-de-BtoXg_n-.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-Dek2GCu0.js → CreatedOnDcom-en-us-DxcNxmi9.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-C3JD7_bP.js → CreatedOnDcom-es-es-BWaZAgQW.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-Bllxm84y.js → CreatedOnDcom-fr-ca-Co05A_WA.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-B3cFZgRB.js → CreatedOnDcom-fr-fr-BtJXovuS.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-DHCnZdZk.js → CreatedOnDcom-pt-br-DWIPipkQ.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-BLooAZOd.js → CreatedOnDcom-pt-pt-BIfV_ZdE.js} +1 -1
  15. package/lib/src/index.mjs +1 -1
  16. package/lib/src/{lib-BWEaceMZ.js → lib-BHQg-PvG.js} +9 -8
  17. package/lib/src/shared/content-settings/components/GenericTextInput.mixin.js +14 -1
  18. package/package.json +1 -1
  19. package/src/shared/content-settings/components/GenericTextInput.mixin.ts +17 -1
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BWEaceMZ.js";
2
+ import { _ as t } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as t } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as t } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as t } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as t } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as t } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as t } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as e } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as e } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as e } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as e } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as e } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as M } from "./lib-BHQg-PvG.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-BWEaceMZ.js";
2
+ import { _ as M } from "./lib-BHQg-PvG.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 _, 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 t, i as C, j as G, k as D, l as P, m as R, n as o, o as L, p as M, q as r, r as n, s as b, t as l, u as i, v as c, w as F, 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 m, J as K, K as k, L as V, M as X, N as v, O as h, P as x, Q as f, R as W, S as z, T as w, U as J, V as Z, W as j, X as q, Y as Q, Z as $, $ as aa, a0 as Ta, a1 as _a, 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 ta, ab as Ca, ac as Ga, ad as Da, ae as Pa, af as Ra, ag as oa, ah as La, ai as Ma, aj as ra, ak as na, al as ba, am as la, an as ia, ao as ca, ap as Fa, 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 ma, aA as Ka, aB as ka, aC as Va, aD as Xa, aE as va, aF as ha, aG as xa, aH as fa, aI as Wa, aJ as za, aK as wa, aL as Ja, aM as Za, aN as ja, aO as qa, aP as Qa, aQ as $a, aR as aT, aS as TT, aT as _T, aU as ET, aV as sT, aW as IT, aX as ST, aY as NT, aZ as eT, a_ as AT, a$ as OT, b0 as tT, b1 as CT, b2 as GT, b3 as DT, b4 as PT, b5 as RT, b6 as oT, b7 as LT, b8 as MT, b9 as rT, ba as nT, bb as bT, bc as lT, bd as iT, be as cT, bf as FT, bg as gT, bh as BT, bi as YT, bj as UT, bk as dT, bl as uT, bm as HT, bn as pT, bo as yT, bp as mT, bq as KT, br as kT, bs as VT, bt as XT, bu as vT, bv as hT, bw as xT, bx as fT, by as WT, bz as zT, bA as wT, bB as JT, bC as ZT, bD as jT, bE as qT, bF as QT, bG as $T, bH as a_, bI as T_, bJ as __, bK as E_, bL as s_, bM as I_, bN as S_, bO as N_, bP as e_, bQ as A_, bR as O_, bS as t_, bT as C_, bU as G_, bV as D_, bW as P_, bX as R_, bY as o_, bZ as L_, b_ as M_, b$ as r_, c0 as n_, c1 as b_, c2 as l_, c3 as i_, c4 as c_, c5 as F_, c6 as g_, c7 as B_, c8 as Y_, c9 as U_, ca as d_, cb as u_, cc as H_, cd as p_, ce as y_, cf as m_, cg as K_, ch as k_, ci as V_, cj as X_, ck as v_, cl as h_, cm as x_, cn as f_, co as W_, cp as z_, cq as w_, cr as J_, cs as Z_, ct as j_, cu as q_, cv as Q_, cw as $_, cx as aE, cy as TE, cz as _E } from "./lib-BWEaceMZ.js";
1
+ import { A as _, 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 t, i as C, j as G, k as D, l as P, m as R, n as o, o as L, p as M, q as r, r as n, s as b, t as l, u as i, v as c, w as F, 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 m, J as K, K as k, L as V, M as X, N as v, O as h, P as x, Q as f, R as W, S as z, T as w, U as J, V as Z, W as j, X as q, Y as Q, Z as $, $ as aa, a0 as Ta, a1 as _a, 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 ta, ab as Ca, ac as Ga, ad as Da, ae as Pa, af as Ra, ag as oa, ah as La, ai as Ma, aj as ra, ak as na, al as ba, am as la, an as ia, ao as ca, ap as Fa, 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 ma, aA as Ka, aB as ka, aC as Va, aD as Xa, aE as va, aF as ha, aG as xa, aH as fa, aI as Wa, aJ as za, aK as wa, aL as Ja, aM as Za, aN as ja, aO as qa, aP as Qa, aQ as $a, aR as aT, aS as TT, aT as _T, aU as ET, aV as sT, aW as IT, aX as ST, aY as NT, aZ as eT, a_ as AT, a$ as OT, b0 as tT, b1 as CT, b2 as GT, b3 as DT, b4 as PT, b5 as RT, b6 as oT, b7 as LT, b8 as MT, b9 as rT, ba as nT, bb as bT, bc as lT, bd as iT, be as cT, bf as FT, bg as gT, bh as BT, bi as YT, bj as UT, bk as dT, bl as uT, bm as HT, bn as pT, bo as yT, bp as mT, bq as KT, br as kT, bs as VT, bt as XT, bu as vT, bv as hT, bw as xT, bx as fT, by as WT, bz as zT, bA as wT, bB as JT, bC as ZT, bD as jT, bE as qT, bF as QT, bG as $T, bH as a_, bI as T_, bJ as __, bK as E_, bL as s_, bM as I_, bN as S_, bO as N_, bP as e_, bQ as A_, bR as O_, bS as t_, bT as C_, bU as G_, bV as D_, bW as P_, bX as R_, bY as o_, bZ as L_, b_ as M_, b$ as r_, c0 as n_, c1 as b_, c2 as l_, c3 as i_, c4 as c_, c5 as F_, c6 as g_, c7 as B_, c8 as Y_, c9 as U_, ca as d_, cb as u_, cc as H_, cd as p_, ce as y_, cf as m_, cg as K_, ch as k_, ci as V_, cj as X_, ck as v_, cl as h_, cm as x_, cn as f_, co as W_, cp as z_, cq as w_, cr as J_, cs as Z_, ct as j_, cu as q_, cv as Q_, cw as $_, cx as aE, cy as TE, cz as _E } from "./lib-BHQg-PvG.js";
2
2
  import { createPinia as sE, setActivePinia as IE } from "pinia";
3
3
  export {
4
4
  _ as ABOUT_SECTION_SETTINGS_CONFIG,
@@ -67099,10 +67099,10 @@ const Mx = () => rh || (rh = new JU1()), Ic = (e, t) => QU1(e).then(
67099
67099
  D2(() => n.context.isDesignCom, async () => {
67100
67100
  const M = s9().toLowerCase(), S = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
67101
67101
  try {
67102
- const { default: _ } = await Hx(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-F1Ldbx6c.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-D8z2m0Et.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-CLSkbkYu.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Cyc4YWYR.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Cyc4YWYR.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-DSSUcSmV.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-DSSUcSmV.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DF1JaJPE.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-Dek2GCu0.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-C3JD7_bP.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-Bllxm84y.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-B3cFZgRB.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DHCnZdZk.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-BLooAZOd.js") }), `./watermark/CreatedOn${S}-${M}.vue`, 3);
67102
+ const { default: _ } = await Hx(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-CvDAZ3Qq.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DgROckDq.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-lvQ5oABV.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-DDM2q89U.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-DDM2q89U.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-xlgcCsw2.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-xlgcCsw2.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-BtoXg_n-.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DxcNxmi9.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BWaZAgQW.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-Co05A_WA.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-BtJXovuS.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DWIPipkQ.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-BIfV_ZdE.js") }), `./watermark/CreatedOn${S}-${M}.vue`, 3);
67103
67103
  i.value = _;
67104
67104
  } catch {
67105
- const { default: V } = await Hx(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-D8z2m0Et.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-Dek2GCu0.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
67105
+ const { default: V } = await Hx(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DgROckDq.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DxcNxmi9.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
67106
67106
  i.value = V;
67107
67107
  }
67108
67108
  }, {
@@ -93192,12 +93192,13 @@ const Ji2 = /* @__PURE__ */ v(Yi2, [["render", Xi2], ["__scopeId", "data-v-0cd8c
93192
93192
  }
93193
93193
  },
93194
93194
  watch: {
93195
- value(e) {
93196
- if (this._value = e, this.showRichTextEditor) {
93197
- const t = F8(this._value);
93198
- this.lengthError = t && t.length >= this.maxLength;
93199
- } else
93200
- this.lengthError = this._value.length >= this.maxLength;
93195
+ value(e, t) {
93196
+ if (!(this.showRichTextEditor && JSON.stringify(e) === JSON.stringify(t)))
93197
+ if (this._value = e, this.showRichTextEditor) {
93198
+ const n = F8(this._value);
93199
+ this.lengthError = n && n.length >= this.maxLength;
93200
+ } else
93201
+ this.lengthError = this._value.length >= this.maxLength;
93201
93202
  },
93202
93203
  isToggled(e) {
93203
93204
  e ? this._value = this._oldValue : (this._oldValue = this._value || "", this._value = !1), this.emitChange();
@@ -144,7 +144,20 @@ export default defineComponent({
144
144
  },
145
145
  },
146
146
  watch: {
147
- value(newVal) {
147
+ value(newVal, oldVal) {
148
+ // BP-5787: RTE values are Tiptap JSON objects. The parent (TextItemsField)
149
+ // re-clones its items array (cloneDeep) on ANY change — including a sibling
150
+ // field's style sync — yielding a NEW object reference with identical text
151
+ // content. For objects Vue fires this watcher on reference change, so that
152
+ // spurious re-clone would overwrite `_value` and clobber an in-flight edit
153
+ // (a mark applied but not yet debounced to the store), silently dropping
154
+ // the user's formatting. Strings never hit this (same content = same
155
+ // reference = no fire), so mirror that: ignore re-clones whose content is
156
+ // unchanged from the previous prop value.
157
+ if (this.showRichTextEditor &&
158
+ JSON.stringify(newVal) === JSON.stringify(oldVal)) {
159
+ return;
160
+ }
148
161
  this._value = newVal;
149
162
  if (this.showRichTextEditor) {
150
163
  const textValue = escapeContentText(this._value);
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-json-prereq-2",
4
+ "version": "6.0.6-json-prereq-3",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -159,7 +159,23 @@ export default defineComponent({
159
159
  },
160
160
  },
161
161
  watch: {
162
- value(newVal: string | undefined) {
162
+ value(newVal: string | undefined, oldVal: string | undefined) {
163
+ // BP-5787: RTE values are Tiptap JSON objects. The parent (TextItemsField)
164
+ // re-clones its items array (cloneDeep) on ANY change — including a sibling
165
+ // field's style sync — yielding a NEW object reference with identical text
166
+ // content. For objects Vue fires this watcher on reference change, so that
167
+ // spurious re-clone would overwrite `_value` and clobber an in-flight edit
168
+ // (a mark applied but not yet debounced to the store), silently dropping
169
+ // the user's formatting. Strings never hit this (same content = same
170
+ // reference = no fire), so mirror that: ignore re-clones whose content is
171
+ // unchanged from the previous prop value.
172
+ if (
173
+ this.showRichTextEditor &&
174
+ JSON.stringify(newVal) === JSON.stringify(oldVal)
175
+ ) {
176
+ return;
177
+ }
178
+
163
179
  this._value = newVal;
164
180
 
165
181
  if (this.showRichTextEditor) {