@designcrowd/library.brand-page 6.0.6-undo-7 → 6.0.6-undo-9

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 (27) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-BDxea4Se.js → CreatedOnBrandCrowd-de-de-leTOAQPM.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-BvCtPc-H.js → CreatedOnBrandCrowd-en-us-_9b-3HPl.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-BFQR8krQ.js → CreatedOnBrandCrowd-es-es-BPeAHmQH.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-Dy0Xb5GE.js → CreatedOnBrandCrowd-fr-ca-B7hbXmje.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-Dy0Xb5GE.js → CreatedOnBrandCrowd-fr-fr-B7hbXmje.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-BSGwZq7a.js → CreatedOnBrandCrowd-pt-br-C0U-9HO7.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-BSGwZq7a.js → CreatedOnBrandCrowd-pt-pt-C0U-9HO7.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-DU42Z-z_.js → CreatedOnDcom-de-de-Bdn37x7V.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-BR_2u6_i.js → CreatedOnDcom-en-us-usSC3HOQ.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-Dts49b6I.js → CreatedOnDcom-es-es-BE0kziRp.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-C7Lo2AbX.js → CreatedOnDcom-fr-ca-CcDaV0KR.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-ZpEbqlkx.js → CreatedOnDcom-fr-fr-C1bX4cuW.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-CrUIv-Ye.js → CreatedOnDcom-pt-br-DYju5xhk.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-JlbQbaR1.js → CreatedOnDcom-pt-pt-CKYX6Rd0.js} +1 -1
  15. package/lib/src/css/library.brand-page-brandCrowd.min.css +11 -11
  16. package/lib/src/css/library.brand-page-brandPage.min.css +11 -11
  17. package/lib/src/css/library.brand-page-designCom.min.css +11 -11
  18. package/lib/src/css/library.brand-page-preview.min.css +11 -11
  19. package/lib/src/index.mjs +1 -1
  20. package/lib/src/{lib-6j91ExXu.js → lib-FHU3Jvoq.js} +12 -9
  21. package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.js +5 -4
  22. package/lib/src/shared/content-settings/store/content-settings-store.js +8 -11
  23. package/package.json +1 -1
  24. package/src/brand-page/components/shop/Shop.vue +0 -1
  25. package/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.ts +9 -6
  26. package/src/shared/content-settings/store/content-settings-store.test.ts +63 -25
  27. package/src/shared/content-settings/store/content-settings-store.ts +8 -12
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-6j91ExXu.js";
2
+ import { _ as t } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as t } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as t } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as t } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as t } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as t } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as t } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as e } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as e } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as e } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as e } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as e } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as M } from "./lib-FHU3Jvoq.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-6j91ExXu.js";
2
+ import { _ as M } from "./lib-FHU3Jvoq.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -6852,44 +6852,44 @@ select[data-v-14e7c7c7] {
6852
6852
  color: #f21b3f;
6853
6853
  }
6854
6854
 
6855
- .inner-container[data-v-a52a6511] {
6855
+ .inner-container[data-v-24954146] {
6856
6856
  max-width: var(--brandsite-max-width);
6857
6857
  margin: 0 auto;
6858
6858
  }
6859
- .outer-container[data-v-a52a6511] {
6859
+ .outer-container[data-v-24954146] {
6860
6860
  padding-left: var(--page-padding);
6861
6861
  padding-right: var(--page-padding);
6862
6862
  }
6863
- .modal-cart[data-v-a52a6511] .cart-image {
6863
+ .modal-cart[data-v-24954146] .cart-image {
6864
6864
  width: 3rem;
6865
6865
  }
6866
- .modal-cart[data-v-a52a6511] .cart-option {
6866
+ .modal-cart[data-v-24954146] .cart-option {
6867
6867
  width: 100%;
6868
6868
  }
6869
- .success-bar-container[data-v-a52a6511] .tw-bg-success-500 {
6869
+ .success-bar-container[data-v-24954146] .tw-bg-success-500 {
6870
6870
  --tw-bg-opacity: 1;
6871
6871
  background-color: rgb(36 168 16 / var(--tw-bg-opacity));
6872
6872
  }
6873
6873
  @media (min-width: 640px) {
6874
- .modal-product-detail[data-v-a52a6511] .modal {
6874
+ .modal-product-detail[data-v-24954146] .modal {
6875
6875
  min-width: 100vh;
6876
6876
  }
6877
- .modal-cart[data-v-a52a6511] .modal {
6877
+ .modal-cart[data-v-24954146] .modal {
6878
6878
  min-width: 90vh;
6879
6879
  max-height: 90vh;
6880
6880
  }
6881
- .modal-cart[data-v-a52a6511] .cart-image {
6881
+ .modal-cart[data-v-24954146] .cart-image {
6882
6882
  width: 8rem;
6883
6883
  }
6884
- .modal-cart[data-v-a52a6511] .cart-option {
6884
+ .modal-cart[data-v-24954146] .cart-option {
6885
6885
  width: 75%;
6886
6886
  }
6887
- .success-bar[data-v-a52a6511] {
6887
+ .success-bar[data-v-24954146] {
6888
6888
  width: 50%;
6889
6889
  }
6890
6890
  }
6891
6891
  @media (max-width: 640px) {
6892
- .success-bar[data-v-a52a6511] {
6892
+ .success-bar[data-v-24954146] {
6893
6893
  width: 91.666667%;
6894
6894
  }
6895
6895
  }
@@ -7463,44 +7463,44 @@ select[data-v-14e7c7c7] {
7463
7463
  color: #f21b3f;
7464
7464
  }
7465
7465
 
7466
- .inner-container[data-v-a52a6511] {
7466
+ .inner-container[data-v-24954146] {
7467
7467
  max-width: var(--brandsite-max-width);
7468
7468
  margin: 0 auto;
7469
7469
  }
7470
- .outer-container[data-v-a52a6511] {
7470
+ .outer-container[data-v-24954146] {
7471
7471
  padding-left: var(--page-padding);
7472
7472
  padding-right: var(--page-padding);
7473
7473
  }
7474
- .modal-cart[data-v-a52a6511] .cart-image {
7474
+ .modal-cart[data-v-24954146] .cart-image {
7475
7475
  width: 3rem;
7476
7476
  }
7477
- .modal-cart[data-v-a52a6511] .cart-option {
7477
+ .modal-cart[data-v-24954146] .cart-option {
7478
7478
  width: 100%;
7479
7479
  }
7480
- .success-bar-container[data-v-a52a6511] .tw-bg-success-500 {
7480
+ .success-bar-container[data-v-24954146] .tw-bg-success-500 {
7481
7481
  --tw-bg-opacity: 1;
7482
7482
  background-color: rgb(36 168 16 / var(--tw-bg-opacity));
7483
7483
  }
7484
7484
  @media (min-width: 640px) {
7485
- .modal-product-detail[data-v-a52a6511] .modal {
7485
+ .modal-product-detail[data-v-24954146] .modal {
7486
7486
  min-width: 100vh;
7487
7487
  }
7488
- .modal-cart[data-v-a52a6511] .modal {
7488
+ .modal-cart[data-v-24954146] .modal {
7489
7489
  min-width: 90vh;
7490
7490
  max-height: 90vh;
7491
7491
  }
7492
- .modal-cart[data-v-a52a6511] .cart-image {
7492
+ .modal-cart[data-v-24954146] .cart-image {
7493
7493
  width: 8rem;
7494
7494
  }
7495
- .modal-cart[data-v-a52a6511] .cart-option {
7495
+ .modal-cart[data-v-24954146] .cart-option {
7496
7496
  width: 75%;
7497
7497
  }
7498
- .success-bar[data-v-a52a6511] {
7498
+ .success-bar[data-v-24954146] {
7499
7499
  width: 50%;
7500
7500
  }
7501
7501
  }
7502
7502
  @media (max-width: 640px) {
7503
- .success-bar[data-v-a52a6511] {
7503
+ .success-bar[data-v-24954146] {
7504
7504
  width: 91.666667%;
7505
7505
  }
7506
7506
  }
@@ -6882,44 +6882,44 @@ select[data-v-14e7c7c7] {
6882
6882
  color: #f21b3f;
6883
6883
  }
6884
6884
 
6885
- .inner-container[data-v-a52a6511] {
6885
+ .inner-container[data-v-24954146] {
6886
6886
  max-width: var(--brandsite-max-width);
6887
6887
  margin: 0 auto;
6888
6888
  }
6889
- .outer-container[data-v-a52a6511] {
6889
+ .outer-container[data-v-24954146] {
6890
6890
  padding-left: var(--page-padding);
6891
6891
  padding-right: var(--page-padding);
6892
6892
  }
6893
- .modal-cart[data-v-a52a6511] .cart-image {
6893
+ .modal-cart[data-v-24954146] .cart-image {
6894
6894
  width: 3rem;
6895
6895
  }
6896
- .modal-cart[data-v-a52a6511] .cart-option {
6896
+ .modal-cart[data-v-24954146] .cart-option {
6897
6897
  width: 100%;
6898
6898
  }
6899
- .success-bar-container[data-v-a52a6511] .tw-bg-success-500 {
6899
+ .success-bar-container[data-v-24954146] .tw-bg-success-500 {
6900
6900
  --tw-bg-opacity: 1;
6901
6901
  background-color: rgb(36 168 16 / var(--tw-bg-opacity));
6902
6902
  }
6903
6903
  @media (min-width: 640px) {
6904
- .modal-product-detail[data-v-a52a6511] .modal {
6904
+ .modal-product-detail[data-v-24954146] .modal {
6905
6905
  min-width: 100vh;
6906
6906
  }
6907
- .modal-cart[data-v-a52a6511] .modal {
6907
+ .modal-cart[data-v-24954146] .modal {
6908
6908
  min-width: 90vh;
6909
6909
  max-height: 90vh;
6910
6910
  }
6911
- .modal-cart[data-v-a52a6511] .cart-image {
6911
+ .modal-cart[data-v-24954146] .cart-image {
6912
6912
  width: 8rem;
6913
6913
  }
6914
- .modal-cart[data-v-a52a6511] .cart-option {
6914
+ .modal-cart[data-v-24954146] .cart-option {
6915
6915
  width: 75%;
6916
6916
  }
6917
- .success-bar[data-v-a52a6511] {
6917
+ .success-bar[data-v-24954146] {
6918
6918
  width: 50%;
6919
6919
  }
6920
6920
  }
6921
6921
  @media (max-width: 640px) {
6922
- .success-bar[data-v-a52a6511] {
6922
+ .success-bar[data-v-24954146] {
6923
6923
  width: 91.666667%;
6924
6924
  }
6925
6925
  }
@@ -6852,44 +6852,44 @@ select[data-v-14e7c7c7] {
6852
6852
  color: #f21b3f;
6853
6853
  }
6854
6854
 
6855
- .bp .inner-container[data-v-a52a6511] {
6855
+ .bp .inner-container[data-v-24954146] {
6856
6856
  max-width: var(--brandsite-max-width);
6857
6857
  margin: 0 auto;
6858
6858
  }
6859
- .bp .outer-container[data-v-a52a6511] {
6859
+ .bp .outer-container[data-v-24954146] {
6860
6860
  padding-left: var(--page-padding);
6861
6861
  padding-right: var(--page-padding);
6862
6862
  }
6863
- .bp .modal-cart[data-v-a52a6511] .cart-image {
6863
+ .bp .modal-cart[data-v-24954146] .cart-image {
6864
6864
  width: 3rem;
6865
6865
  }
6866
- .bp .modal-cart[data-v-a52a6511] .cart-option {
6866
+ .bp .modal-cart[data-v-24954146] .cart-option {
6867
6867
  width: 100%;
6868
6868
  }
6869
- .bp .success-bar-container[data-v-a52a6511] .tw-bg-success-500 {
6869
+ .bp .success-bar-container[data-v-24954146] .tw-bg-success-500 {
6870
6870
  --tw-bg-opacity: 1;
6871
6871
  background-color: rgb(36 168 16 / var(--tw-bg-opacity));
6872
6872
  }
6873
6873
  @media (min-width: 640px) {
6874
- .bp .modal-product-detail[data-v-a52a6511] .modal {
6874
+ .bp .modal-product-detail[data-v-24954146] .modal {
6875
6875
  min-width: 100vh;
6876
6876
  }
6877
- .bp .modal-cart[data-v-a52a6511] .modal {
6877
+ .bp .modal-cart[data-v-24954146] .modal {
6878
6878
  min-width: 90vh;
6879
6879
  max-height: 90vh;
6880
6880
  }
6881
- .bp .modal-cart[data-v-a52a6511] .cart-image {
6881
+ .bp .modal-cart[data-v-24954146] .cart-image {
6882
6882
  width: 8rem;
6883
6883
  }
6884
- .bp .modal-cart[data-v-a52a6511] .cart-option {
6884
+ .bp .modal-cart[data-v-24954146] .cart-option {
6885
6885
  width: 75%;
6886
6886
  }
6887
- .bp .success-bar[data-v-a52a6511] {
6887
+ .bp .success-bar[data-v-24954146] {
6888
6888
  width: 50%;
6889
6889
  }
6890
6890
  }
6891
6891
  @media (max-width: 640px) {
6892
- .bp .success-bar[data-v-a52a6511] {
6892
+ .bp .success-bar[data-v-24954146] {
6893
6893
  width: 91.666667%;
6894
6894
  }
6895
6895
  }
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-6j91ExXu.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-FHU3Jvoq.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(XU1), JU1 = (e, t, n) => {
66487
66487
  D2(() => n.context.isDesignCom, async () => {
66488
66488
  const M = a9().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-BDxea4Se.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BvCtPc-H.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BFQR8krQ.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Dy0Xb5GE.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Dy0Xb5GE.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-BSGwZq7a.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-BSGwZq7a.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DU42Z-z_.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BR_2u6_i.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-Dts49b6I.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-C7Lo2AbX.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-ZpEbqlkx.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-CrUIv-Ye.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-JlbQbaR1.js") }), `./watermark/CreatedOn${S}-${M}.vue`, 3);
66490
+ const { default: _ } = await AV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-leTOAQPM.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-_9b-3HPl.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BPeAHmQH.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-B7hbXmje.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-B7hbXmje.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-C0U-9HO7.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-C0U-9HO7.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-Bdn37x7V.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-usSC3HOQ.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BE0kziRp.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-CcDaV0KR.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-C1bX4cuW.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DYju5xhk.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-CKYX6Rd0.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-BvCtPc-H.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BR_2u6_i.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-_9b-3HPl.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-usSC3HOQ.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
66494
66494
  i.value = x;
66495
66495
  }
66496
66496
  }, {
@@ -75205,7 +75205,6 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
75205
75205
  s.value ? (C(), f("div", {
75206
75206
  key: 0,
75207
75207
  class: B(["tw-relative outer-container", {
75208
- "tw-my-8": e.context.isBrandSite,
75209
75208
  "tw-mb-4": e.context.isBrandPageOrIsBrandContact
75210
75209
  }]),
75211
75210
  style: V1([S.value, M.value])
@@ -75314,7 +75313,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
75314
75313
  }, null, 8, ["is-visible", "button-style", "description-style", "shop-payment-config", "context", "success-message", "is-shipping-enabled"])) : k("", !0)
75315
75314
  ]));
75316
75315
  }
75317
- }), Se2 = /* @__PURE__ */ v(ve2, [["__scopeId", "data-v-a52a6511"]]), _e2 = { "data-component": "booking-section" }, Me2 = { class: "tw-flex tw-gap-8 tw-w-full tw-h-full tw-items-center c_banner-container tw-flex-col tw-gap-5" }, ke2 = {
75316
+ }), Se2 = /* @__PURE__ */ v(ve2, [["__scopeId", "data-v-24954146"]]), _e2 = { "data-component": "booking-section" }, Me2 = { class: "tw-flex tw-gap-8 tw-w-full tw-h-full tw-items-center c_banner-container tw-flex-col tw-gap-5" }, ke2 = {
75318
75317
  key: 2,
75319
75318
  class: "tw-w-full tw-flex tw-justify-center"
75320
75319
  }, Le2 = /* @__PURE__ */ Q({
@@ -79025,7 +79024,7 @@ const o0 = (e) => {
79025
79024
  }), g42 = [
79026
79025
  "profile",
79027
79026
  "text"
79028
- ], ix = (e, t) => e === t || JSON.stringify(e) === JSON.stringify(t), l6 = {
79027
+ ], ix = (e, t) => e === t, l6 = {
79029
79028
  edit: "edit",
79030
79029
  add: "add",
79031
79030
  images: "images",
@@ -99996,16 +99995,20 @@ const qb2 = /* @__PURE__ */ v(Zb2, [["render", zb2]]), fH = Q({
99996
99995
  },
99997
99996
  methods: {
99998
99997
  toggleEnabled(e, t) {
99999
- const n = [...this.value];
100000
- n[e].enabled = t, this.$emit("update:modelValue", {
99998
+ const n = this.value.map(
99999
+ (i, o) => o === e ? { ...i, enabled: t } : i
100000
+ );
100001
+ this.$emit("update:modelValue", {
100001
100002
  id: this.id,
100002
100003
  name: this.name,
100003
100004
  value: n
100004
100005
  });
100005
100006
  },
100006
100007
  toggleRequired(e, t) {
100007
- const n = [...this.value];
100008
- n[e].required = t, this.$emit("update:modelValue", {
100008
+ const n = this.value.map(
100009
+ (i, o) => o === e ? { ...i, required: t } : i
100010
+ );
100011
+ this.$emit("update:modelValue", {
100009
100012
  id: this.id,
100010
100013
  name: this.name,
100011
100014
  value: n
@@ -69,8 +69,10 @@ export default defineComponent({
69
69
  },
70
70
  methods: {
71
71
  toggleEnabled(index, value) {
72
- const result = [...this.value];
73
- result[index].enabled = value;
72
+ // Clone the row — `this.value[index]` is the store's reactive
73
+ // proxy and mutating it in place would leak the change to the
74
+ // store before the emit reaches updateItemValue.
75
+ const result = this.value.map((field, i) => i === index ? { ...field, enabled: value } : field);
74
76
  this.$emit('update:modelValue', {
75
77
  id: this.id,
76
78
  name: this.name,
@@ -78,8 +80,7 @@ export default defineComponent({
78
80
  });
79
81
  },
80
82
  toggleRequired(index, value) {
81
- const result = [...this.value];
82
- result[index].required = value;
83
+ const result = this.value.map((field, i) => i === index ? { ...field, required: value } : field);
83
84
  this.$emit('update:modelValue', {
84
85
  id: this.id,
85
86
  name: this.name,
@@ -14,17 +14,14 @@ const DEFAULT_TEXT_COLOR_DEPENDENT_TYPES = [
14
14
  'profile',
15
15
  'text',
16
16
  ];
17
- /**
18
- * True when the incoming value is byte-identical (as JSON, matching how
19
- * history snapshots the model) to what the model already holds. Such
20
- * re-writes must be dropped whole: the assignment would be a reactive
21
- * no-op, but onContentChanged() still flips isModifiedAfterTemplateApplied
22
- * and when that flag was false, its flip is itself a model mutation, so
23
- * undo history commits an entry in which nothing user-visible changed
24
- * (phantom undo state, BP-5772: re-clicking the logo panel's Upload/Logo
25
- * option, re-clicking an already-active display style).
26
- */
27
- const isSameValue = (a, b) => a === b || JSON.stringify(a) === JSON.stringify(b);
17
+ // Identity-only, not deep-equal. Drops the two BP-5772 phantoms
18
+ // (LogoSelectionField Upload re-click passes props.content.logoImage
19
+ // the same proxy that's in the store; display-style re-click emits the
20
+ // stored primitive) and never false-positives on a caller that mutates
21
+ // the store in place via a shared reference (e.g. `[...this.value];
22
+ // result[i].x = v`), which would leave the payload byte-identical to
23
+ // the store while state actually changed.
24
+ const isSameValue = (a, b) => a === b;
28
25
  export const CONTENT_SETTINGS_MODES = {
29
26
  edit: 'edit',
30
27
  add: 'add',
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-7",
4
+ "version": "6.0.6-undo-9",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -4,7 +4,6 @@
4
4
  v-if="shouldShowContainer"
5
5
  class="tw-relative outer-container"
6
6
  :class="{
7
- 'tw-my-8': context.isBrandSite,
8
7
  'tw-mb-4': context.isBrandPageOrIsBrandContact,
9
8
  }"
10
9
  :style="[backgroundStyle, contentPaddingStyle]"
@@ -81,9 +81,12 @@ export default defineComponent({
81
81
  },
82
82
  methods: {
83
83
  toggleEnabled(index, value) {
84
- const result = [...this.value];
85
-
86
- result[index].enabled = value;
84
+ // Clone the row — `this.value[index]` is the store's reactive
85
+ // proxy and mutating it in place would leak the change to the
86
+ // store before the emit reaches updateItemValue.
87
+ const result = this.value.map((field, i) =>
88
+ i === index ? { ...field, enabled: value } : field,
89
+ );
87
90
 
88
91
  this.$emit('update:modelValue', {
89
92
  id: this.id,
@@ -92,9 +95,9 @@ export default defineComponent({
92
95
  });
93
96
  },
94
97
  toggleRequired(index, value) {
95
- const result = [...this.value];
96
-
97
- result[index].required = value;
98
+ const result = this.value.map((field, i) =>
99
+ i === index ? { ...field, required: value } : field,
100
+ );
98
101
 
99
102
  this.$emit('update:modelValue', {
100
103
  id: this.id,
@@ -207,30 +207,26 @@ describe('content settings store — hydration writes arm the history merge', ()
207
207
  });
208
208
  });
209
209
 
210
- // BP-5772: a value-identical re-write must be dropped whole. The assignment
211
- // would be a reactive no-op, but onContentChanged() still flips
212
- // isModifiedAfterTemplateApplied and when that flag was false, its flip is
213
- // itself a model mutation, so history commits an entry in which nothing
214
- // user-visible changed. Live repro: with the logo visible, clicking the logo
215
- // panel's "Upload" option re-emits { logoImage, logoTemplateImage,
216
- // logoImageBase64Url, isLogoVisible } deep-equal to the model under fresh
217
- // references (LogoSelectionField.onLogoVisibleChanged). Same class:
218
- // re-clicking the already-active display style.
210
+ // BP-5772: a same-reference re-write must be dropped the assignment
211
+ // is a reactive no-op but onContentChanged()'s flip would land a phantom
212
+ // history entry. Guard is identity-only; a deep-equal guard would also
213
+ // drop writes where the caller mutated the store in place before emit
214
+ // (FormFieldsField pre-fix) and break the canvas re-render.
219
215
  describe('content settings store — value-identical writes are dropped', () => {
220
- const logoImage = () => ({
221
- logoDraftToken: 'dae5cda0-602d-4c69-a26e-000000000001',
222
- logoVariation: 0,
223
- logoLastUpdate: '638000000000000000',
224
- });
225
-
226
216
  const makeItem = () => ({
227
217
  id: 'item-1',
228
218
  type: 'logo',
229
219
  settings: {
230
220
  content: {
231
221
  title: '<p>old</p>',
222
+ displayStyle: 'preview',
232
223
  isLogoVisible: true,
233
- logoImage: logoImage(),
224
+ logoImage: {
225
+ logoDraftToken: 'dae5cda0-602d-4c69-a26e-000000000001',
226
+ logoVariation: 0,
227
+ logoLastUpdate: '638000000000000000',
228
+ },
229
+ logoTemplateImage: { url: 'https://example.test/tpl.png' },
234
230
  },
235
231
  },
236
232
  });
@@ -254,26 +250,32 @@ describe('content settings store — value-identical writes are dropped', () =>
254
250
 
255
251
  test('updateMultipleItemValues drops the logo-panel Upload re-click payload', () => {
256
252
  const store = setupStore();
253
+ const content = store.items[0].settings.content as Record<string, unknown>;
257
254
 
258
- // Deep-equal to the model but every reference is fresh — exactly what
259
- // the Upload option click emits when visibility didn't change.
255
+ // Exactly what LogoSelectionField.onLogoVisibleChanged emits when
256
+ // visibility didn't change: the same reactive-proxy refs it read from
257
+ // the store, plus the current primitive visibility value.
260
258
  store.updateMultipleItemValues({
261
259
  id: 'item-1',
262
260
  name: 'logoImage',
263
- value: { logoImage: logoImage(), isLogoVisible: true },
261
+ value: {
262
+ logoImage: content.logoImage,
263
+ logoTemplateImage: content.logoTemplateImage,
264
+ isLogoVisible: content.isLogoVisible,
265
+ },
264
266
  });
265
267
 
266
268
  expect(store.onContentChanged).not.toHaveBeenCalled();
267
269
  expect(store.validateItem).not.toHaveBeenCalled();
268
270
  });
269
271
 
270
- test('updateItemValue drops an identical primitive', () => {
272
+ test('updateItemValue drops an identical primitive (display-style re-click)', () => {
271
273
  const store = setupStore();
272
274
 
273
275
  store.updateItemValue({
274
276
  id: 'item-1',
275
- name: 'title',
276
- value: '<p>old</p>',
277
+ name: 'displayStyle',
278
+ value: 'preview',
277
279
  });
278
280
 
279
281
  expect(store.onContentChanged).not.toHaveBeenCalled();
@@ -282,11 +284,12 @@ describe('content settings store — value-identical writes are dropped', () =>
282
284
 
283
285
  test('updateMultipleItemValues writes when any one field differs', () => {
284
286
  const store = setupStore();
287
+ const content = store.items[0].settings.content as Record<string, unknown>;
285
288
 
286
289
  store.updateMultipleItemValues({
287
290
  id: 'item-1',
288
291
  name: 'logoImage',
289
- value: { logoImage: logoImage(), isLogoVisible: false },
292
+ value: { logoImage: content.logoImage, isLogoVisible: false },
290
293
  });
291
294
 
292
295
  expect(store.onContentChanged).toHaveBeenCalledTimes(1);
@@ -301,11 +304,46 @@ describe('content settings store — value-identical writes are dropped', () =>
301
304
 
302
305
  store.updateItemValue({
303
306
  id: 'item-1',
304
- name: 'title',
305
- value: '<p>old</p>',
307
+ name: 'displayStyle',
308
+ value: 'preview',
306
309
  isHydrationWrite: true,
307
310
  });
308
311
 
309
312
  expect(mergeNextMutationMock).not.toHaveBeenCalled();
310
313
  });
314
+
315
+ // Contact-form toggle repro (bp-5772 UAT env): pre-fix FormFieldsField
316
+ // shallow-copied `[...this.value]` and mutated `result[i].enabled` —
317
+ // hitting the store's inner obj before emit. Deep-equal guard would
318
+ // drop this as a no-op and the canvas would stay stale.
319
+ test('updateItemValue writes when the outer container is a fresh reference, even if a caller mutated the shared leaf in place', () => {
320
+ const store = setupStore();
321
+ const content = store.items[0].settings.content as Record<string, unknown>;
322
+
323
+ content.fields = [
324
+ { id: 'firstName', enabled: true, required: true, type: 'text' },
325
+ { id: 'message', enabled: true, required: true, type: 'text-area' },
326
+ ];
327
+
328
+ const payloadValue = [...(content.fields as Record<string, unknown>[])];
329
+
330
+ payloadValue[0].enabled = false;
331
+
332
+ store.updateItemValue({
333
+ id: 'item-1',
334
+ name: 'fields',
335
+ value: payloadValue,
336
+ });
337
+
338
+ expect(store.onContentChanged).toHaveBeenCalledTimes(1);
339
+ expect(store.validateItem).toHaveBeenCalledTimes(1);
340
+ // Check the effect rather than identity — Pinia wraps in a proxy.
341
+ expect(
342
+ (
343
+ (store.items[0].settings.content as Record<string, unknown>).fields as {
344
+ enabled: boolean;
345
+ }[]
346
+ )[0].enabled,
347
+ ).toBe(false);
348
+ });
311
349
  });
@@ -60,18 +60,14 @@ const DEFAULT_TEXT_COLOR_DEPENDENT_TYPES: readonly ContentType[] = [
60
60
  'text',
61
61
  ] as const;
62
62
 
63
- /**
64
- * True when the incoming value is byte-identical (as JSON, matching how
65
- * history snapshots the model) to what the model already holds. Such
66
- * re-writes must be dropped whole: the assignment would be a reactive
67
- * no-op, but onContentChanged() still flips isModifiedAfterTemplateApplied
68
- * and when that flag was false, its flip is itself a model mutation, so
69
- * undo history commits an entry in which nothing user-visible changed
70
- * (phantom undo state, BP-5772: re-clicking the logo panel's Upload/Logo
71
- * option, re-clicking an already-active display style).
72
- */
73
- const isSameValue = (a: unknown, b: unknown): boolean =>
74
- a === b || JSON.stringify(a) === JSON.stringify(b);
63
+ // Identity-only, not deep-equal. Drops the two BP-5772 phantoms
64
+ // (LogoSelectionField Upload re-click passes props.content.logoImage
65
+ // the same proxy that's in the store; display-style re-click emits the
66
+ // stored primitive) and never false-positives on a caller that mutates
67
+ // the store in place via a shared reference (e.g. `[...this.value];
68
+ // result[i].x = v`), which would leave the payload byte-identical to
69
+ // the store while state actually changed.
70
+ const isSameValue = (a: unknown, b: unknown): boolean => a === b;
75
71
 
76
72
  export const CONTENT_SETTINGS_MODES = {
77
73
  edit: 'edit',