@expedite-commerce/expedite-components 0.2.94 → 0.2.96

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.
@@ -12,7 +12,7 @@ const ut = {}, Io = [], Tn = () => {
12
12
  (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Xu = (e) => e.startsWith("onUpdate:"), St = Object.assign, Wu = (e, n) => {
13
13
  const t = e.indexOf(n);
14
14
  t > -1 && e.splice(t, 1);
15
- }, Rh = Object.prototype.hasOwnProperty, nt = (e, n) => Rh.call(e, n), qe = Array.isArray, So = (e) => Ti(e) === "[object Map]", $o = (e) => Ti(e) === "[object Set]", Xc = (e) => Ti(e) === "[object Date]", Ke = (e) => typeof e == "function", bt = (e) => typeof e == "string", Ur = (e) => typeof e == "symbol", ft = (e) => e !== null && typeof e == "object", Nf = (e) => (ft(e) || Ke(e)) && Ke(e.then) && Ke(e.catch), Lf = Object.prototype.toString, Ti = (e) => Lf.call(e), Mh = (e) => Ti(e).slice(8, -1), Pf = (e) => Ti(e) === "[object Object]", Qu = (e) => bt(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, hi = /* @__PURE__ */ Ku(
15
+ }, Rh = Object.prototype.hasOwnProperty, nt = (e, n) => Rh.call(e, n), qe = Array.isArray, So = (e) => Ti(e) === "[object Map]", $o = (e) => Ti(e) === "[object Set]", Xc = (e) => Ti(e) === "[object Date]", Xe = (e) => typeof e == "function", bt = (e) => typeof e == "string", Ur = (e) => typeof e == "symbol", ft = (e) => e !== null && typeof e == "object", Nf = (e) => (ft(e) || Xe(e)) && Xe(e.then) && Xe(e.catch), Lf = Object.prototype.toString, Ti = (e) => Lf.call(e), Mh = (e) => Ti(e).slice(8, -1), Pf = (e) => Ti(e) === "[object Object]", Qu = (e) => bt(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, hi = /* @__PURE__ */ Ku(
16
16
  // the leading comma is intentional so empty string "" is also included
17
17
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
18
18
  ), rs = (e) => {
@@ -114,7 +114,7 @@ function so(e, n) {
114
114
  function Zu(e, n) {
115
115
  return e.findIndex((t) => so(t, n));
116
116
  }
117
- const be = (e) => bt(e) ? e : e == null ? "" : qe(e) || ft(e) && (e.toString === Lf || !Ke(e.toString)) ? JSON.stringify(e, jf, 2) : String(e), jf = (e, n) => n && n.__v_isRef ? jf(e, n.value) : So(n) ? {
117
+ const be = (e) => bt(e) ? e : e == null ? "" : qe(e) || ft(e) && (e.toString === Lf || !Xe(e.toString)) ? JSON.stringify(e, jf, 2) : String(e), jf = (e, n) => n && n.__v_isRef ? jf(e, n.value) : So(n) ? {
118
118
  [`Map(${n.size})`]: [...n.entries()].reduce(
119
119
  (t, [r, o], i) => (t[el(r, i) + " =>"] = o, t),
120
120
  {}
@@ -714,7 +714,7 @@ class o1 {
714
714
  }
715
715
  function fp(e, n, t = !1) {
716
716
  let r, o;
717
- const i = Ke(e);
717
+ const i = Xe(e);
718
718
  return i ? (r = e, o = Tn) : (r = e.get, o = e.set), new o1(r, o, i || !o, t);
719
719
  }
720
720
  function ic(e) {
@@ -826,7 +826,7 @@ function $r(e, n, t, r) {
826
826
  }
827
827
  }
828
828
  function Hn(e, n, t, r) {
829
- if (Ke(e)) {
829
+ if (Xe(e)) {
830
830
  const i = $r(e, n, t, r);
831
831
  return i && Nf(i) && i.catch((a) => {
832
832
  ss(a, n, t);
@@ -988,7 +988,7 @@ function c1(e, n, t = !1) {
988
988
  return o;
989
989
  const i = e.emits;
990
990
  let a = {}, s = !1;
991
- if (!Ke(e)) {
991
+ if (!Xe(e)) {
992
992
  const l = (u) => {
993
993
  const c = c1(u, n, !0);
994
994
  c && (s = !0, St(a, c));
@@ -1190,7 +1190,7 @@ function Np(e, n) {
1190
1190
  );
1191
1191
  }
1192
1192
  const ca = {};
1193
- function Xe(e, n, t) {
1193
+ function Ge(e, n, t) {
1194
1194
  return cs(e, n, t);
1195
1195
  }
1196
1196
  function cs(e, n, {
@@ -1217,9 +1217,9 @@ function cs(e, n, {
1217
1217
  return A.value;
1218
1218
  if (qr(A))
1219
1219
  return u(A);
1220
- if (Ke(A))
1220
+ if (Xe(A))
1221
1221
  return $r(A, l, 2);
1222
- })) : Ke(e) ? n ? c = () => $r(e, l, 2) : c = () => (p && p(), Hn(
1222
+ })) : Xe(e) ? n ? c = () => $r(e, l, 2) : c = () => (p && p(), Hn(
1223
1223
  e,
1224
1224
  l,
1225
1225
  3,
@@ -1271,7 +1271,7 @@ function cs(e, n, {
1271
1271
  function Lp(e, n, t) {
1272
1272
  const r = this.proxy, o = bt(e) ? e.includes(".") ? h1(r, e) : () => r[e] : e.bind(r, r);
1273
1273
  let i;
1274
- Ke(n) ? i = n : (i = n.handler, t = n);
1274
+ Xe(n) ? i = n : (i = n.handler, t = n);
1275
1275
  const a = Fi(this), s = cs(o, i.bind(r), t);
1276
1276
  return a(), s;
1277
1277
  }
@@ -1314,7 +1314,7 @@ function wn(e, n) {
1314
1314
  const t = gs(kt) || kt.proxy, r = e.dirs || (e.dirs = []);
1315
1315
  for (let o = 0; o < n.length; o++) {
1316
1316
  let [i, a, s, l = ut] = n[o];
1317
- i && (Ke(i) && (i = {
1317
+ i && (Xe(i) && (i = {
1318
1318
  mounted: i,
1319
1319
  updated: i
1320
1320
  }), i.deep && no(a), r.push({
@@ -1345,7 +1345,7 @@ function Jr(e, n, t, r) {
1345
1345
  /*! #__NO_SIDE_EFFECTS__ */
1346
1346
  // @__NO_SIDE_EFFECTS__
1347
1347
  function p1(e, n) {
1348
- return Ke(e) ? (
1348
+ return Xe(e) ? (
1349
1349
  // #8326: extend call and options.name access are considered side-effects
1350
1350
  // by Rollup, so we have to wrap it in a pure-annotated IIFE.
1351
1351
  St({ name: e.name }, n, { setup: e })
@@ -1592,7 +1592,7 @@ function Kp(e) {
1592
1592
  if (u && Xp(u, r, null), a)
1593
1593
  for (const ne in a) {
1594
1594
  const ae = a[ne];
1595
- Ke(ae) && (r[ne] = ae.bind(t));
1595
+ Xe(ae) && (r[ne] = ae.bind(t));
1596
1596
  }
1597
1597
  if (o) {
1598
1598
  const ne = o.call(t, t);
@@ -1600,7 +1600,7 @@ function Kp(e) {
1600
1600
  }
1601
1601
  if (Eu = !0, i)
1602
1602
  for (const ne in i) {
1603
- const ae = i[ne], oe = Ke(ae) ? ae.bind(t, t) : Ke(ae.get) ? ae.get.bind(t, t) : Tn, q = !Ke(ae) && Ke(ae.set) ? ae.set.bind(t) : Tn, I = ye({
1603
+ const ae = i[ne], oe = Xe(ae) ? ae.bind(t, t) : Xe(ae.get) ? ae.get.bind(t, t) : Tn, q = !Xe(ae) && Xe(ae.set) ? ae.set.bind(t) : Tn, I = ye({
1604
1604
  get: oe,
1605
1605
  set: q
1606
1606
  });
@@ -1615,7 +1615,7 @@ function Kp(e) {
1615
1615
  for (const ne in s)
1616
1616
  b1(s[ne], r, t, ne);
1617
1617
  if (l) {
1618
- const ne = Ke(l) ? l.call(t) : l;
1618
+ const ne = Xe(l) ? l.call(t) : l;
1619
1619
  Reflect.ownKeys(ne).forEach((ae) => {
1620
1620
  e5(ae, ne[ae]);
1621
1621
  });
@@ -1665,15 +1665,15 @@ function b1(e, n, t, r) {
1665
1665
  const o = r.includes(".") ? h1(t, r) : () => t[r];
1666
1666
  if (bt(e)) {
1667
1667
  const i = n[e];
1668
- Ke(i) && Xe(o, i);
1669
- } else if (Ke(e))
1670
- Xe(o, e.bind(t));
1668
+ Xe(i) && Ge(o, i);
1669
+ } else if (Xe(e))
1670
+ Ge(o, e.bind(t));
1671
1671
  else if (ft(e))
1672
1672
  if (qe(e))
1673
1673
  e.forEach((i) => b1(i, n, t, r));
1674
1674
  else {
1675
- const i = Ke(e.handler) ? e.handler.bind(t) : n[e.handler];
1676
- Ke(i) && Xe(o, i, e);
1675
+ const i = Xe(e.handler) ? e.handler.bind(t) : n[e.handler];
1676
+ Xe(i) && Ge(o, i, e);
1677
1677
  }
1678
1678
  }
1679
1679
  function cc(e) {
@@ -1733,8 +1733,8 @@ const Wp = {
1733
1733
  function c0(e, n) {
1734
1734
  return n ? e ? function() {
1735
1735
  return St(
1736
- Ke(e) ? e.call(this, this) : e,
1737
- Ke(n) ? n.call(this, this) : n
1736
+ Xe(e) ? e.call(this, this) : e,
1737
+ Xe(n) ? n.call(this, this) : n
1738
1738
  );
1739
1739
  } : n : e;
1740
1740
  }
@@ -1797,7 +1797,7 @@ function x1() {
1797
1797
  let Jp = 0;
1798
1798
  function Yp(e, n) {
1799
1799
  return function(r, o = null) {
1800
- Ke(r) || (r = St({}, r)), o != null && !ft(o) && (o = null);
1800
+ Xe(r) || (r = St({}, r)), o != null && !ft(o) && (o = null);
1801
1801
  const i = x1(), a = /* @__PURE__ */ new WeakSet();
1802
1802
  let s = !1;
1803
1803
  const l = i.app = {
@@ -1814,7 +1814,7 @@ function Yp(e, n) {
1814
1814
  set config(u) {
1815
1815
  },
1816
1816
  use(u, ...c) {
1817
- return a.has(u) || (u && Ke(u.install) ? (a.add(u), u.install(l, ...c)) : Ke(u) && (a.add(u), u(l, ...c))), l;
1817
+ return a.has(u) || (u && Xe(u.install) ? (a.add(u), u.install(l, ...c)) : Xe(u) && (a.add(u), u(l, ...c))), l;
1818
1818
  },
1819
1819
  mixin(u) {
1820
1820
  return i.mixins.includes(u) || i.mixins.push(u), l;
@@ -1865,7 +1865,7 @@ function jr(e, n, t = !1) {
1865
1865
  if (o && e in o)
1866
1866
  return o[e];
1867
1867
  if (arguments.length > 1)
1868
- return t && Ke(n) ? n.call(r && r.proxy) : n;
1868
+ return t && Xe(n) ? n.call(r && r.proxy) : n;
1869
1869
  }
1870
1870
  }
1871
1871
  function _1() {
@@ -1972,7 +1972,7 @@ function Au(e, n, t, r, o, i) {
1972
1972
  const s = nt(a, "default");
1973
1973
  if (s && r === void 0) {
1974
1974
  const l = a.default;
1975
- if (a.type !== Function && !a.skipFactory && Ke(l)) {
1975
+ if (a.type !== Function && !a.skipFactory && Xe(l)) {
1976
1976
  const { propsDefaults: u } = o;
1977
1977
  if (t in u)
1978
1978
  r = u[t];
@@ -2002,7 +2002,7 @@ function E1(e, n, t = !1) {
2002
2002
  return o;
2003
2003
  const i = e.props, a = {}, s = [];
2004
2004
  let l = !1;
2005
- if (!Ke(e)) {
2005
+ if (!Xe(e)) {
2006
2006
  const c = (h) => {
2007
2007
  l = !0;
2008
2008
  const [d, p] = E1(h, n, !0);
@@ -2021,7 +2021,7 @@ function E1(e, n, t = !1) {
2021
2021
  for (const c in i) {
2022
2022
  const h = mn(c);
2023
2023
  if (f0(h)) {
2024
- const d = i[c], p = a[h] = qe(d) || Ke(d) ? { type: d } : St({}, d);
2024
+ const d = i[c], p = a[h] = qe(d) || Xe(d) ? { type: d } : St({}, d);
2025
2025
  if (p) {
2026
2026
  const f = m0(Boolean, p.type), v = m0(String, p.type);
2027
2027
  p[
@@ -2047,7 +2047,7 @@ function p0(e, n) {
2047
2047
  return h0(e) === h0(n);
2048
2048
  }
2049
2049
  function m0(e, n) {
2050
- return qe(n) ? n.findIndex((t) => p0(t, e)) : Ke(n) && p0(n, e) ? 0 : -1;
2050
+ return qe(n) ? n.findIndex((t) => p0(t, e)) : Xe(n) && p0(n, e) ? 0 : -1;
2051
2051
  }
2052
2052
  const k1 = (e) => e[0] === "_" || e === "$stable", dc = (e) => qe(e) ? e.map(er) : [er(e)], r5 = (e, n, t) => {
2053
2053
  if (n._n)
@@ -2060,7 +2060,7 @@ const k1 = (e) => e[0] === "_" || e === "$stable", dc = (e) => qe(e) ? e.map(er)
2060
2060
  if (k1(o))
2061
2061
  continue;
2062
2062
  const i = e[o];
2063
- if (Ke(i))
2063
+ if (Xe(i))
2064
2064
  n[o] = r5(o, i, r);
2065
2065
  else if (i != null) {
2066
2066
  const a = dc(i);
@@ -2108,7 +2108,7 @@ function wu(e, n, t, r, o = !1) {
2108
2108
  if (mi(r) && !o)
2109
2109
  return;
2110
2110
  const i = r.shapeFlag & 4 ? gs(r.component) || r.component.proxy : r.el, a = o ? null : i, { i: s, r: l } = e, u = n && n.r, c = s.refs === ut ? s.refs = {} : s.refs, h = s.setupState;
2111
- if (u != null && u !== l && (bt(u) ? (c[u] = null, nt(h, u) && (h[u] = null)) : Ot(u) && (u.value = null)), Ke(l))
2111
+ if (u != null && u !== l && (bt(u) ? (c[u] = null, nt(h, u) && (h[u] = null)) : Ot(u) && (u.value = null)), Xe(l))
2112
2112
  $r(l, s, 12, [a, c]);
2113
2113
  else {
2114
2114
  const d = bt(l), p = Ot(l);
@@ -3243,7 +3243,7 @@ const ps = "__vInternal", D1 = ({ key: e }) => e ?? null, Oa = ({
3243
3243
  ref: e,
3244
3244
  ref_key: n,
3245
3245
  ref_for: t
3246
- }) => (typeof e == "number" && (e = "" + e), e != null ? bt(e) || Ot(e) || Ke(e) ? { i: kt, r: e, k: n, f: !!t } : e : null);
3246
+ }) => (typeof e == "number" && (e = "" + e), e != null ? bt(e) || Ot(e) || Xe(e) ? { i: kt, r: e, k: n, f: !!t } : e : null);
3247
3247
  function C(e, n = null, t = null, r = 0, o = null, i = e === ke ? 0 : 1, a = !1, s = !1) {
3248
3248
  const l = {
3249
3249
  __v_isVNode: !0,
@@ -3299,7 +3299,7 @@ function p5(e, n = null, t = null, r = 0, o = null, i = !1) {
3299
3299
  let { class: s, style: l } = n;
3300
3300
  s && !bt(s) && (n.class = we(s)), ft(l) && (r1(l) && !qe(l) && (l = St({}, l)), n.style = Ae(l));
3301
3301
  }
3302
- const a = bt(e) ? 1 : Rp(e) ? 128 : c5(e) ? 64 : ft(e) ? 4 : Ke(e) ? 2 : 0;
3302
+ const a = bt(e) ? 1 : Rp(e) ? 128 : c5(e) ? 64 : ft(e) ? 4 : Xe(e) ? 2 : 0;
3303
3303
  return C(
3304
3304
  e,
3305
3305
  n,
@@ -3398,7 +3398,7 @@ function hc(e, n) {
3398
3398
  !o && !(ps in n) ? n._ctx = kt : o === 3 && kt && (kt.slots._ === 1 ? n._ = 1 : (n._ = 2, e.patchFlag |= 1024));
3399
3399
  }
3400
3400
  else
3401
- Ke(n) ? (n = { default: n, _ctx: kt }, t = 32) : (n = String(n), r & 64 ? (t = 16, n = [He(n)]) : t = 8);
3401
+ Xe(n) ? (n = { default: n, _ctx: kt }, t = 32) : (n = String(n), r & 64 ? (t = 16, n = [He(n)]) : t = 8);
3402
3402
  e.children = n, e.shapeFlag |= t;
3403
3403
  }
3404
3404
  function Mi(...e) {
@@ -3572,7 +3572,7 @@ function _5(e, n) {
3572
3572
  M1(e, n);
3573
3573
  }
3574
3574
  function x0(e, n, t) {
3575
- Ke(n) ? e.type.__ssrInlineRender ? e.ssrRender = n : e.render = n : ft(n) && (e.setupState = i1(n)), M1(e, t);
3575
+ Xe(n) ? e.type.__ssrInlineRender ? e.ssrRender = n : e.render = n : ft(n) && (e.setupState = i1(n)), M1(e, t);
3576
3576
  }
3577
3577
  let _0;
3578
3578
  function M1(e, n, t) {
@@ -3644,10 +3644,10 @@ function gs(e) {
3644
3644
  }));
3645
3645
  }
3646
3646
  function k5(e, n = !0) {
3647
- return Ke(e) ? e.displayName || e.name : e.name || n && e.__name;
3647
+ return Xe(e) ? e.displayName || e.name : e.name || n && e.__name;
3648
3648
  }
3649
3649
  function A5(e) {
3650
- return Ke(e) && "__vccOpts" in e;
3650
+ return Xe(e) && "__vccOpts" in e;
3651
3651
  }
3652
3652
  const ye = (e, n) => fp(e, n, ms);
3653
3653
  function w5(e, n, t = ut) {
@@ -3923,7 +3923,7 @@ e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, K5 = (e, n, t, r, o, i, a, s, l)
3923
3923
  };
3924
3924
  function X5(e, n, t, r) {
3925
3925
  if (r)
3926
- return !!(n === "innerHTML" || n === "textContent" || n in e && S0(n) && Ke(t));
3926
+ return !!(n === "innerHTML" || n === "textContent" || n in e && S0(n) && Xe(t));
3927
3927
  if (n === "spellcheck" || n === "draggable" || n === "translate" || n === "form" || n === "list" && e.tagName === "INPUT" || n === "type" && e.tagName === "TEXTAREA")
3928
3928
  return !1;
3929
3929
  if (n === "width" || n === "height") {
@@ -4420,7 +4420,7 @@ function q1(e, n, t = {}, r, o, i) {
4420
4420
  $patch: m,
4421
4421
  $reset: x,
4422
4422
  $subscribe(O, M = {}) {
4423
- const w = F0(h, O, M.detached, () => k()), k = a.run(() => Xe(() => r.state.value[e], (S) => {
4423
+ const w = F0(h, O, M.detached, () => k()), k = a.run(() => Ge(() => r.state.value[e], (S) => {
4424
4424
  (M.flush === "sync" ? c : u) && O({
4425
4425
  storeId: e,
4426
4426
  type: bi.direct,
@@ -4532,7 +4532,7 @@ function y6(e, n, t, r, o, i) {
4532
4532
  ], 12, m6))
4533
4533
  ], 42, p6);
4534
4534
  }
4535
- const Ge = /* @__PURE__ */ Me(h6, [["render", y6], ["__scopeId", "data-v-6a159214"]]), $1 = {
4535
+ const Ke = /* @__PURE__ */ Me(h6, [["render", y6], ["__scopeId", "data-v-6a159214"]]), $1 = {
4536
4536
  __name: "TeleportCustom",
4537
4537
  props: {
4538
4538
  to: {
@@ -4616,7 +4616,7 @@ const Ge = /* @__PURE__ */ Me(h6, [["render", y6], ["__scopeId", "data-v-6a15921
4616
4616
  "data-test-id": `${e.dataTestId}-close-button`,
4617
4617
  onClick: t[0] || (t[0] = (r) => n.$emit("clicked"))
4618
4618
  }, [
4619
- he(Ge, {
4619
+ he(Ke, {
4620
4620
  icon: "close",
4621
4621
  size: 10,
4622
4622
  "data-test-id": `${e.dataTestId}-close-icon`
@@ -4716,7 +4716,7 @@ const Ge = /* @__PURE__ */ Me(h6, [["render", y6], ["__scopeId", "data-v-6a15921
4716
4716
  "aria-label": "Close modal",
4717
4717
  onClick: o[0] || (o[0] = (i) => t("close"))
4718
4718
  }, [
4719
- he(Ge, {
4719
+ he(Ke, {
4720
4720
  icon: "close",
4721
4721
  color: "#000000",
4722
4722
  size: "11",
@@ -4741,7 +4741,7 @@ const Ge = /* @__PURE__ */ Me(h6, [["render", y6], ["__scopeId", "data-v-6a15921
4741
4741
  }, L6 = {
4742
4742
  name: "AppButton",
4743
4743
  components: {
4744
- AppIcon: Ge
4744
+ AppIcon: Ke
4745
4745
  },
4746
4746
  props: {
4747
4747
  tag: {
@@ -5007,7 +5007,12 @@ function pt(e, n, t, r = !1, o = !1) {
5007
5007
  o && (c = c.toLowerCase());
5008
5008
  let h = c + "Formatted";
5009
5009
  o && (h = h.toLowerCase());
5010
- let d = (u == null ? void 0 : u[h]) ?? (u == null ? void 0 : u[c]) ?? (u == null ? void 0 : u[l]);
5010
+ let d;
5011
+ if (n.includes("XX_ORD1__Item__r")) {
5012
+ let p = n.replace(/[_.]/g, "") + "Formatted";
5013
+ o && (p = p.toLowerCase()), d = (u == null ? void 0 : u[p]) ?? (u == null ? void 0 : u[h]) ?? (u == null ? void 0 : u[c]) ?? (u == null ? void 0 : u[l]);
5014
+ } else
5015
+ d = (u == null ? void 0 : u[h]) ?? (u == null ? void 0 : u[c]) ?? (u == null ? void 0 : u[l]);
5011
5016
  return typeof d == "string" && d && d[0] !== "(" && (d = d.split("(")[0]), d ?? "";
5012
5017
  }
5013
5018
  return n.split(".").reduce((s, l) => (s == null ? void 0 : s[l]) ?? "", e);
@@ -14862,7 +14867,7 @@ const go = Lt("ai", () => {
14862
14867
  const q = Array.from(c.value.values()).map((I) => I.sectionName);
14863
14868
  return N9(q);
14864
14869
  });
14865
- Xe(a, () => {
14870
+ Ge(a, () => {
14866
14871
  l.value.template || E();
14867
14872
  });
14868
14873
  function x() {
@@ -15994,7 +15999,7 @@ const Kn = Lt("comConfigurator", () => {
15994
15999
  class: "toast",
15995
16000
  "data-test-id": `${e.dataTestId}-content`
15996
16001
  }, [
15997
- he(Ge, {
16002
+ he(Ke, {
15998
16003
  icon: l.value.icon,
15999
16004
  symbol: "",
16000
16005
  color: l.value.iconColor,
@@ -16011,7 +16016,7 @@ const Kn = Lt("comConfigurator", () => {
16011
16016
  class: "toast no-wrap",
16012
16017
  "data-test-id": `${e.dataTestId}-actions`
16013
16018
  }, [
16014
- he(Ge, {
16019
+ he(Ke, {
16015
16020
  symbol: "",
16016
16021
  icon: "close",
16017
16022
  color: l.value.iconColor,
@@ -18528,7 +18533,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
18528
18533
  "data-test-id": `${e.dataTestId}-placeholder`
18529
18534
  }, be(e.placeholder), 9, W8))
18530
18535
  ], 8, G8),
18531
- he(Ge, {
18536
+ he(Ke, {
18532
18537
  class: "clear-button",
18533
18538
  color: g.value ? "#ff6a6a" : "#acacac",
18534
18539
  icon: "arrow_drop_up",
@@ -18565,7 +18570,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
18565
18570
  class: "ect-flex-1",
18566
18571
  "data-test-id": `${e.dataTestId}-option-${T}-value`
18567
18572
  }, be(p(S)), 9, tm),
18568
- h(S) ? (F(), Ee(Ge, {
18573
+ h(S) ? (F(), Ee(Ke, {
18569
18574
  key: 0,
18570
18575
  icon: h(S),
18571
18576
  size: "16",
@@ -18669,7 +18674,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
18669
18674
  }), (v, m) => (F(), U(ke, null, [
18670
18675
  C("div", om, [
18671
18676
  C("div", im, [
18672
- he(Ge, {
18677
+ he(Ke, {
18673
18678
  icon: "arrow",
18674
18679
  symbol: "",
18675
18680
  size: 12,
@@ -18681,7 +18686,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
18681
18686
  he(Rc, { svg: "" }),
18682
18687
  lm
18683
18688
  ])) : (F(), U("div", um, [
18684
- he(Ge, {
18689
+ he(Ke, {
18685
18690
  icon: "check",
18686
18691
  color: "#136E05",
18687
18692
  size: 14,
@@ -18736,7 +18741,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
18736
18741
  onClick: (y) => h(x)
18737
18742
  }, [
18738
18743
  C("div", km, [
18739
- he(Ge, {
18744
+ he(Ke, {
18740
18745
  icon: x.icon,
18741
18746
  size: 20,
18742
18747
  color: "#000000",
@@ -18785,7 +18790,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
18785
18790
  "data-test-id": "filter-header-input-list"
18786
18791
  }, null, 8, ["modelValue", "options"])
18787
18792
  ]),
18788
- u.value && u.value.icon ? (F(), Ee(Ge, {
18793
+ u.value && u.value.icon ? (F(), Ee(Ke, {
18789
18794
  key: 0,
18790
18795
  icon: u.value.icon,
18791
18796
  size: "16",
@@ -18915,7 +18920,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
18915
18920
  const _ = a(b, o.value, i.value);
18916
18921
  u.value !== _ && (u.value = _, l.value = null);
18917
18922
  };
18918
- Xe(
18923
+ Ge(
18919
18924
  () => t.value,
18920
18925
  (b) => {
18921
18926
  b != null ? c(b) : (u.value = o.value, l.value = null);
@@ -19093,7 +19098,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
19093
19098
  }, null, 8, ng)) : pe("", !0)
19094
19099
  ]),
19095
19100
  e.message ? (F(), U("div", rg, [
19096
- he(Ge, {
19101
+ he(Ke, {
19097
19102
  icon: "info",
19098
19103
  symbol: "",
19099
19104
  color: "#198708",
@@ -19121,7 +19126,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
19121
19126
  let r = null;
19122
19127
  return xt(() => {
19123
19128
  t.value && !r && (r = t.value.attachShadow({ mode: "open" }), r.innerHTML = n.content);
19124
- }), Xe(
19129
+ }), Ge(
19125
19130
  () => n.content,
19126
19131
  (o) => {
19127
19132
  r && (r.innerHTML = o);
@@ -19282,7 +19287,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
19282
19287
  style: "currency",
19283
19288
  currency: "USD"
19284
19289
  }).format(parseFloat(y)), g = (y) => !y || isNaN(y) ? "0" : new Intl.NumberFormat("en-US").format(parseFloat(y));
19285
- return Xe(
19290
+ return Ge(
19286
19291
  () => r.modelValue,
19287
19292
  (y) => {
19288
19293
  i.value || (s.value = y);
@@ -19335,7 +19340,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
19335
19340
  }), {
19336
19341
  default: ze(() => [
19337
19342
  He(be(u.value) + " ", 1),
19338
- he(Ge, {
19343
+ he(Ke, {
19339
19344
  class: we(a.value && !e.disabled ? "ect-visible" : "ect-invisible"),
19340
19345
  icon: "edit",
19341
19346
  size: "12",
@@ -19428,7 +19433,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
19428
19433
  Nt(() => {
19429
19434
  f();
19430
19435
  });
19431
- }), Xe(
19436
+ }), Ge(
19432
19437
  () => t.tags,
19433
19438
  () => {
19434
19439
  Nt(() => {
@@ -19453,7 +19458,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
19453
19458
  src: e.imageUrl,
19454
19459
  alt: u.value,
19455
19460
  class: "ect-w-full ect-h-full ect-object-cover"
19456
- }, null, 8, Sg)) : (F(), Ee(Ge, {
19461
+ }, null, 8, Sg)) : (F(), Ee(Ke, {
19457
19462
  key: 1,
19458
19463
  disabled: "",
19459
19464
  icon: "image",
@@ -19868,7 +19873,7 @@ const Dc = /* @__PURE__ */ Me(J9, [["render", n8]]), ws = (e) => (rn("data-v-d3d
19868
19873
  "zu-ZA": "."
19869
19874
  }, ay = {
19870
19875
  name: "CustomInput",
19871
- components: { AppIcon: Ge },
19876
+ components: { AppIcon: Ke },
19872
19877
  props: {
19873
19878
  editMode: {
19874
19879
  type: Boolean,
@@ -20138,7 +20143,7 @@ function gy(e, n, t, r, o, i) {
20138
20143
  }
20139
20144
  const Is = /* @__PURE__ */ Me(py, [["render", gy], ["__scopeId", "data-v-432da9e1"]]), yy = {
20140
20145
  name: "CustomDropdown",
20141
- components: { AppIcon: Ge, AtomSpinner: Is },
20146
+ components: { AppIcon: Ke, AtomSpinner: Is },
20142
20147
  props: {
20143
20148
  label: {
20144
20149
  type: String,
@@ -29577,7 +29582,7 @@ const ef = {
29577
29582
  }, d = W(), p = (k, S, T) => {
29578
29583
  d.value = !!(t != null && t.hasFocus()), n.emit("selectionChange", { range: k, oldRange: S, source: T });
29579
29584
  };
29580
- Xe(d, (k) => {
29585
+ Ge(d, (k) => {
29581
29586
  k ? n.emit("focus", o) : n.emit("blur", o);
29582
29587
  });
29583
29588
  const f = (...k) => {
@@ -29625,12 +29630,12 @@ const ef = {
29625
29630
  !n.slots.toolbar && t && ((k = t.getModule("toolbar")) === null || k === void 0 || k.container.remove()), i();
29626
29631
  });
29627
29632
  };
29628
- return Xe(() => e.content, (k) => {
29633
+ return Ge(() => e.content, (k) => {
29629
29634
  if (!t || !k || c(k))
29630
29635
  return;
29631
29636
  const S = t.getSelection();
29632
29637
  S && Nt(() => t == null ? void 0 : t.setSelection(S)), y(k);
29633
- }, { deep: !0 }), Xe(() => e.enable, (k) => {
29638
+ }, { deep: !0 }), Ge(() => e.enable, (k) => {
29634
29639
  t && t.enable(k);
29635
29640
  }), {
29636
29641
  editor: o,
@@ -30028,7 +30033,7 @@ const ef = {
30028
30033
  "aria-label": "Close modal",
30029
30034
  onClick: o[0] || (o[0] = (i) => t("close"))
30030
30035
  }, [
30031
- he(Ge, {
30036
+ he(Ke, {
30032
30037
  icon: "close",
30033
30038
  color: "#000000",
30034
30039
  size: "11",
@@ -30640,7 +30645,7 @@ const ef = {
30640
30645
  } else
30641
30646
  t.maintainQuoteConfiguration();
30642
30647
  };
30643
- Xe(r, (d) => {
30648
+ Ge(r, (d) => {
30644
30649
  c(d), a("scroll", 0);
30645
30650
  });
30646
30651
  const c = (d) => {
@@ -30898,7 +30903,7 @@ const fi = /* @__PURE__ */ Me(Bb, [["render", Lb], ["__scopeId", "data-v-6a70e73
30898
30903
  size: 16,
30899
30904
  class: "icon ect-top-2 icon-loader",
30900
30905
  "data-test-id": `${e.dataTestId}-loader`
30901
- }, null, 8, ["data-test-id"])) : e.iconPosition === "left" || !e.modelValue ? (F(), Ee(Ge, {
30906
+ }, null, 8, ["data-test-id"])) : e.iconPosition === "left" || !e.modelValue ? (F(), Ee(Ke, {
30902
30907
  key: 1,
30903
30908
  class: "icon-search ect-mt-[-1px]",
30904
30909
  icon: "search",
@@ -30918,7 +30923,7 @@ const fi = /* @__PURE__ */ Me(Bb, [["render", Lb], ["__scopeId", "data-v-6a70e73
30918
30923
  onFocus: p,
30919
30924
  onBlur: f
30920
30925
  }, null, 46, qb),
30921
- e.modelValue && !e.loading ? (F(), Ee(Ge, {
30926
+ e.modelValue && !e.loading ? (F(), Ee(Ke, {
30922
30927
  key: 2,
30923
30928
  class: "close-btn",
30924
30929
  icon: "close",
@@ -31032,7 +31037,7 @@ const fi = /* @__PURE__ */ Me(Bb, [["render", Lb], ["__scopeId", "data-v-6a70e73
31032
31037
  }
31033
31038
  }, ex = /* @__PURE__ */ Me(Yb, [["__scopeId", "data-v-59571b90"]]), tx = {
31034
31039
  components: {
31035
- AppIcon: Ge
31040
+ AppIcon: Ke
31036
31041
  },
31037
31042
  props: {
31038
31043
  direction: {
@@ -31440,7 +31445,7 @@ const B2 = /* @__PURE__ */ Me(tx, [["render", ox], ["__scopeId", "data-v-c2e2771
31440
31445
  o.push({ ...d });
31441
31446
  });
31442
31447
  };
31443
- Xe(
31448
+ Ge(
31444
31449
  () => r.buttons,
31445
31450
  () => {
31446
31451
  i();
@@ -31492,7 +31497,7 @@ const B2 = /* @__PURE__ */ Me(tx, [["render", ox], ["__scopeId", "data-v-c2e2771
31492
31497
  "data-test-id": "filter-header-button-back",
31493
31498
  onClick: c
31494
31499
  }, [
31495
- he(Ge, {
31500
+ he(Ke, {
31496
31501
  icon: "arrow",
31497
31502
  symbol: "",
31498
31503
  size: 16,
@@ -31508,7 +31513,7 @@ const B2 = /* @__PURE__ */ Me(tx, [["render", ox], ["__scopeId", "data-v-c2e2771
31508
31513
  }, [
31509
31514
  He(be(e.title) + " ", 1),
31510
31515
  e.recordLink ? (F(), U(ke, { key: 0 }, [
31511
- he(Ge, {
31516
+ he(Ke, {
31512
31517
  icon: "open-link",
31513
31518
  symbol: "",
31514
31519
  size: 16,
@@ -31577,7 +31582,7 @@ const B2 = /* @__PURE__ */ Me(tx, [["render", ox], ["__scopeId", "data-v-c2e2771
31577
31582
  onClick: (m) => u(f)
31578
31583
  }, {
31579
31584
  default: ze(() => [
31580
- f.icon ? (F(), Ee(Ge, {
31585
+ f.icon ? (F(), Ee(Ke, {
31581
31586
  key: 0,
31582
31587
  icon: f.icon,
31583
31588
  symbol: "",
@@ -31813,7 +31818,7 @@ const B2 = /* @__PURE__ */ Me(tx, [["render", ox], ["__scopeId", "data-v-c2e2771
31813
31818
  const t = e, r = n, o = Kn();
31814
31819
  return an(async () => {
31815
31820
  console.time("CONFIGURATOR ON BEFORE MOUNT"), console.timeLog("CONFIGURATOR ON BEFORE MOUNT", "1"), await o.initConfigurator(t.itemId, t.qliId), console.timeLog("CONFIGURATOR ON BEFORE MOUNT", "2"), console.timeEnd("CONFIGURATOR ON BEFORE MOUNT"), r("ready");
31816
- }), Xe(
31821
+ }), Ge(
31817
31822
  () => [t.itemId, t.qliId],
31818
31823
  async ([i, a], [s, l]) => {
31819
31824
  i && (i !== s || a !== l) && (await o.initConfigurator(i, a), r("ready"));
@@ -31895,7 +31900,7 @@ const B2 = /* @__PURE__ */ Me(tx, [["render", ox], ["__scopeId", "data-v-c2e2771
31895
31900
  }
31896
31901
  return an(() => {
31897
31902
  u(), window.addEventListener("beforeunload", l);
31898
- }), Xe(
31903
+ }), Ge(
31899
31904
  () => [i.identity, i.security, i.session],
31900
31905
  () => {
31901
31906
  u();
@@ -32135,7 +32140,7 @@ const B2 = /* @__PURE__ */ Me(tx, [["render", ox], ["__scopeId", "data-v-c2e2771
32135
32140
  };
32136
32141
  return an(() => {
32137
32142
  i();
32138
- }), Xe(() => [n.organizationId, n.templateId, n.isPreview, n.theme], () => {
32143
+ }), Ge(() => [n.organizationId, n.templateId, n.isPreview, n.theme], () => {
32139
32144
  i();
32140
32145
  }, { deep: !0 }), (a, s) => (F(), U(ke, null, [
32141
32146
  r.value ? (F(), Ee(Ri("style"), {
@@ -32751,7 +32756,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
32751
32756
  disabled: e.modelValue <= e.min || o.value,
32752
32757
  onClick: l
32753
32758
  }, [
32754
- he(Ge, {
32759
+ he(Ke, {
32755
32760
  icon: e.modelValue > 1 ? "minus" : "close",
32756
32761
  size: 10
32757
32762
  }, null, 8, ["icon"])
@@ -32773,7 +32778,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
32773
32778
  disabled: e.modelValue >= e.max || o.value,
32774
32779
  onClick: s
32775
32780
  }, [
32776
- he(Ge, {
32781
+ he(Ke, {
32777
32782
  class: "ect-transform ect-rotate-45",
32778
32783
  icon: "add",
32779
32784
  size: 12
@@ -32869,7 +32874,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
32869
32874
  }, [
32870
32875
  C("span", BC, be(e.name || e.options[0].name), 1),
32871
32876
  C("div", NC, [
32872
- he(Ge, {
32877
+ he(Ke, {
32873
32878
  icon: "arrow_drop_down",
32874
32879
  class: "ect-relative ect-top-0.5 ect-ml-2",
32875
32880
  color: "#ffffff",
@@ -32893,7 +32898,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
32893
32898
  onClick: (y) => h(g)
32894
32899
  }, [
32895
32900
  g.selected && e.select ? (F(), U("div", PC, [
32896
- he(Ge, {
32901
+ he(Ke, {
32897
32902
  icon: "done",
32898
32903
  size: 20,
32899
32904
  color: "black"
@@ -32917,7 +32922,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
32917
32922
  }, [
32918
32923
  C("span", $C, be(e.name || e.options[0].name), 1),
32919
32924
  C("div", jC, [
32920
- he(Ge, {
32925
+ he(Ke, {
32921
32926
  class: "ect-relative ect-top-0.5 ect-ml-2",
32922
32927
  icon: "arrow_drop_down",
32923
32928
  color: "#ffffff",
@@ -32940,7 +32945,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
32940
32945
  onClick: (b) => v.$emit("selected", g)
32941
32946
  }, [
32942
32947
  g.selected && e.select ? (F(), U("div", HC, [
32943
- he(Ge, {
32948
+ he(Ke, {
32944
32949
  icon: "done",
32945
32950
  size: 20,
32946
32951
  color: "black"
@@ -33026,7 +33031,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
33026
33031
  var y, b, _;
33027
33032
  return (y = r.offer) != null && y.appliedOnField ? P2[(b = r.offer) == null ? void 0 : b.appliedOnField] === ((_ = r.offerSetting.value) == null ? void 0 : _.field) : !0;
33028
33033
  });
33029
- Xe(
33034
+ Ge(
33030
33035
  () => t.savedItems,
33031
33036
  (y) => {
33032
33037
  var b, _;
@@ -33231,7 +33236,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
33231
33236
  var x, g, y;
33232
33237
  return (x = t.offer) != null && x.appliedOnField ? P2[(g = t.offer) == null ? void 0 : g.appliedOnField] === ((y = t.offerSetting.value) == null ? void 0 : y.field) : !0;
33233
33238
  });
33234
- Xe(
33239
+ Ge(
33235
33240
  () => n.savedItems,
33236
33241
  (x) => {
33237
33242
  var g, y;
@@ -33404,7 +33409,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
33404
33409
  }, null, 40, rE), [
33405
33410
  [lo, o.value]
33406
33411
  ]),
33407
- he(Ge, {
33412
+ he(Ke, {
33408
33413
  icon: o.value ? "close" : "search",
33409
33414
  size: 14,
33410
33415
  color: s.value ? "red" : "#acacac",
@@ -33472,14 +33477,14 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
33472
33477
  onKeyup: Vn(p, ["enter"])
33473
33478
  }, null, 40, xE),
33474
33479
  e.loading ? (F(), Ee(Vi, { key: 0 })) : pe("", !0),
33475
- e.modelValue ? (F(), Ee(Ge, {
33480
+ e.modelValue ? (F(), Ee(Ke, {
33476
33481
  key: 1,
33477
33482
  icon: "close",
33478
33483
  size: 12,
33479
33484
  color: "#acacac",
33480
33485
  onClick: l
33481
33486
  })) : pe("", !0),
33482
- e.enableSearchClick || !e.modelValue ? (F(), Ee(Ge, {
33487
+ e.enableSearchClick || !e.modelValue ? (F(), Ee(Ke, {
33483
33488
  key: 2,
33484
33489
  class: "ect-relative ect-top-[-1px]",
33485
33490
  icon: "search",
@@ -33604,13 +33609,13 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
33604
33609
  var I;
33605
33610
  return ((I = o.configuration.productItemOrientation) == null ? void 0 : I.toLowerCase()) || "vertical";
33606
33611
  }), S = W(r.includes(k.value) ? b.value || k.value : "vertical"), T = ye(() => d.value.length < 1 && !c.value), $ = ye(() => `product-${S.value} width-${_.value ? _.value : o.configuration.displaySettings.columns || 1}`), X = ye(() => o.configuration.displaySettings.enableSearch), j = W(null), ne = W(!1), ae = W({});
33607
- Xe(l, (I, R) => {
33612
+ Ge(l, (I, R) => {
33608
33613
  I !== R && (console.log("[fetchProducts] 1"), oe(!0));
33609
- }), Xe(j, (I) => {
33614
+ }), Ge(j, (I) => {
33610
33615
  I !== null && o.onCountUpdate && o.onCountUpdate(I);
33611
- }), Xe(m, () => {
33616
+ }), Ge(m, () => {
33612
33617
  l.value = 1, console.log("[fetchProducts] 2"), oe(!0);
33613
- }), Xe(
33618
+ }), Ge(
33614
33619
  () => o.searchText,
33615
33620
  (I, R) => {
33616
33621
  I !== R && (m.value = I || "");
@@ -33828,20 +33833,20 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
33828
33833
  secondarySortOrder: (E = (A = t.configuration.sort) == null ? void 0 : A.secondary) == null ? void 0 : E.direction
33829
33834
  // gid: route.query.gid
33830
33835
  }), h = W(null), d = W(null);
33831
- return Xe(
33836
+ return Ge(
33832
33837
  () => r.value,
33833
33838
  (O) => {
33834
33839
  O && window.scrollTo(0, 0);
33835
33840
  }
33836
33841
  ), xt(() => {
33837
33842
  c.value.searchText = t.searchTerm || "";
33838
- }), Xe(
33843
+ }), Ge(
33839
33844
  c,
33840
33845
  (O) => {
33841
33846
  d.value && d.value.fetchFilterList(), h.value && (h.value.currentPage = 1, console.log("[fetchProducts] 4"), h.value.fetchProducts());
33842
33847
  },
33843
33848
  { deep: !0 }
33844
- ), Xe(
33849
+ ), Ge(
33845
33850
  () => t.searchTerm,
33846
33851
  (O) => {
33847
33852
  typeof O == "string" && (c.value.searchText = O);
@@ -33871,7 +33876,7 @@ const xr = /* @__PURE__ */ Me($_, [["render", AC], ["__scopeId", "data-v-a0db5c6
33871
33876
  class: "ect-flex ect-items-center ect-gap-2 m-show",
33872
33877
  onClick: M[0] || (M[0] = (w) => r.value = !0)
33873
33878
  }, [
33874
- he(Ge, {
33879
+ he(Ke, {
33875
33880
  class: "filter-product_icon",
33876
33881
  icon: "tune",
33877
33882
  color: "#acacac",
@@ -34137,7 +34142,7 @@ const Kr = Lt("expediteCart", () => {
34137
34142
  startNewCart: d
34138
34143
  };
34139
34144
  }), GE = {
34140
- components: { AppTooltip: B2, AppIcon: Ge },
34145
+ components: { AppTooltip: B2, AppIcon: Ke },
34141
34146
  props: {
34142
34147
  label: {
34143
34148
  type: String,
@@ -36087,22 +36092,22 @@ const Os = (e) => (rn("data-v-dae571b7"), e = e(), on(), e), _A = ["data-test-id
36087
36092
  let N = t.error === "" ? !1 : t.error === !0 ? `${t.label || "Field"} is required` : t.error;
36088
36093
  return f.value || (N = "Date format must be " + _.value), w.value && (N = w.value), r("error", N), N;
36089
36094
  }), S = ye(() => (y.value == "" || y.value == null) && (t.modelValue == "" || t.modelValue == null) ? !1 : y.value != t.modelValue);
36090
- Xe(
36095
+ Ge(
36091
36096
  () => t.modelValue,
36092
36097
  (N) => {
36093
36098
  m.value = N ? i(N) : "";
36094
36099
  }
36095
- ), Xe(
36100
+ ), Ge(
36096
36101
  () => t.min,
36097
36102
  (N) => {
36098
36103
  d.value = N ? new Date(N) : new Date(1e3, 0, 1);
36099
36104
  }
36100
- ), Xe(
36105
+ ), Ge(
36101
36106
  () => t.max,
36102
36107
  (N) => {
36103
36108
  p.value = N ? new Date(N) : new Date(9999, 0, 1);
36104
36109
  }
36105
- ), Xe(m, (N) => {
36110
+ ), Ge(m, (N) => {
36106
36111
  if (N)
36107
36112
  try {
36108
36113
  const Z = xA(N, t.locale);
@@ -36281,7 +36286,7 @@ const Os = (e) => (rn("data-v-dae571b7"), e = e(), on(), e), _A = ["data-test-id
36281
36286
  }, null, 8, kA), [
36282
36287
  [lo, m.value]
36283
36288
  ]),
36284
- he(Ge, {
36289
+ he(Ke, {
36285
36290
  icon: "calendar_today",
36286
36291
  size: 18,
36287
36292
  for: "calendar",
@@ -36512,7 +36517,7 @@ const Os = (e) => (rn("data-v-dae571b7"), e = e(), on(), e), _A = ["data-test-id
36512
36517
  k.editable && k.dataType === "PICKLIST" && (k.options = k.picklist.map((X) => ({ label: X, value: X })));
36513
36518
  }), a.value = !1;
36514
36519
  }
36515
- return Xe(t.quoteRecord, (k) => {
36520
+ return Ge(t.quoteRecord, (k) => {
36516
36521
  for (const S in i.value)
36517
36522
  i.value[S] = k == null ? void 0 : k[S];
36518
36523
  }), an(async () => {
@@ -36779,7 +36784,7 @@ const mw = ["data-sid", "data-sname"], gw = ["data-bid", "data-bname"], yw = ["p
36779
36784
  u(p.visibility) ? (F(), U("div", {
36780
36785
  key: 0,
36781
36786
  style: Ae(p.styleObject),
36782
- class: "ect-flex ect-flex-col md:ect-flex-row",
36787
+ class: "ect-flex ect-flex-col",
36783
36788
  "data-sid": p.sectionId,
36784
36789
  "data-sname": p.sectionName
36785
36790
  }, [
@@ -36871,7 +36876,7 @@ const mw = ["data-sid", "data-sname"], gw = ["data-bid", "data-bname"], yw = ["p
36871
36876
  ]))
36872
36877
  ], 64));
36873
36878
  }
36874
- }, Ew = (e) => (rn("data-v-d653620c"), e = e(), on(), e), kw = {
36879
+ }, Ew = (e) => (rn("data-v-94bfeb19"), e = e(), on(), e), kw = {
36875
36880
  class: "ect-composable-catalog-wrapper",
36876
36881
  "data-test-id": "expose-expediteCatalog-wrapper"
36877
36882
  }, Aw = {
@@ -36978,67 +36983,70 @@ const mw = ["data-sid", "data-sname"], gw = ["data-bid", "data-bname"], yw = ["p
36978
36983
  "catalog:id"
36979
36984
  ],
36980
36985
  setup(e, { emit: n }) {
36981
- const t = Wt(), r = lr(), o = ji(), i = e, a = W(!1), s = W(!1), l = n, u = [], c = () => {
36986
+ const t = Wt(), r = lr(), o = ji(), i = e, a = W(!1), s = W(!1), l = W(null), u = n, c = [], h = () => {
36982
36987
  a.value = window.innerWidth <= 768;
36983
36988
  };
36984
36989
  return an(async () => {
36985
- var d, p, f, v, m, x, g, y, b, _, A, E;
36990
+ var p, f, v, m, x, g, y, b, _, A, E, O;
36986
36991
  t.updateConfig({
36987
36992
  templateId: i.templateId,
36988
- organizationId: (d = i.identity) == null ? void 0 : d.organizationId,
36993
+ organizationId: (p = i.identity) == null ? void 0 : p.organizationId,
36989
36994
  hostName: i.hostName,
36990
36995
  graphqlEndpoint: i.graphqlEndpoint,
36991
- apiKey: ((p = i.security) == null ? void 0 : p.apiKey) || i.apiKey,
36992
- accountId: (f = i.identity) == null ? void 0 : f.accountId,
36993
- cid: (v = i.identity) == null ? void 0 : v.contactId,
36994
- composablesApiUrl: (m = i.security) == null ? void 0 : m.baseUrl,
36995
- accessToken: (x = i.security) == null ? void 0 : x.accessToken,
36996
+ apiKey: ((f = i.security) == null ? void 0 : f.apiKey) || i.apiKey,
36997
+ accountId: (v = i.identity) == null ? void 0 : v.accountId,
36998
+ cid: (m = i.identity) == null ? void 0 : m.contactId,
36999
+ composablesApiUrl: (x = i.security) == null ? void 0 : x.baseUrl,
37000
+ accessToken: (g = i.security) == null ? void 0 : g.accessToken,
36996
37001
  composablesOrgType: i.composablesOrgType,
36997
37002
  isPreview: i.isPreview,
36998
- quoteId: (g = i.session) == null ? void 0 : g.quoteId,
36999
- userId: (y = i.identity) == null ? void 0 : y.userId
37000
- }), t.quoteId = (b = i.session) == null ? void 0 : b.quoteId, console.log("props.sections expedite catalog", i.sections), await t.processSections(i.isPreview, i.sections);
37001
- const h = (E = (A = (_ = o.pageBlocks[0]) == null ? void 0 : _.blocks[0]) == null ? void 0 : A.configuration) == null ? void 0 : E.catalogId;
37002
- h && l("catalog:id", h);
37003
+ quoteId: (y = i.session) == null ? void 0 : y.quoteId,
37004
+ userId: (b = i.identity) == null ? void 0 : b.userId
37005
+ }), t.quoteId = (_ = i.session) == null ? void 0 : _.quoteId, console.log("props.sections expedite catalog", i.sections), await t.processSections(i.isPreview, i.sections);
37006
+ const d = (O = (E = (A = o.pageBlocks[0]) == null ? void 0 : A.blocks[0]) == null ? void 0 : E.configuration) == null ? void 0 : O.catalogId;
37007
+ d && u("catalog:id", d);
37003
37008
  }), xt(async () => {
37004
- window.addEventListener("resize", c), c(), u.push(kn("catalog:item-added", (h) => {
37005
- l("catalog-item-added", h);
37006
- })), u.push(kn("catalog:item-qty-updated", (h) => {
37007
- l("catalog-item-qty-updated", h);
37008
- })), u.push(kn("catalog:line-deleted", (h) => {
37009
- l("catalog-line-deleted", h);
37010
- })), u.push(kn("catalog:items-fetched", (h) => {
37011
- l("catalog-items-fetched", h);
37012
- })), u.push(kn("catalog:item-configure-clicked", (h) => {
37013
- l("catalog-item-configure", h);
37014
- })), u.push(kn("catalog:items-loaded", (h) => {
37015
- l("catalog-items-loaded", h);
37009
+ window.addEventListener("resize", h), h(), c.push(kn("catalog:item-added", (d) => {
37010
+ u("catalog-item-added", d);
37011
+ })), c.push(kn("catalog:item-qty-updated", (d) => {
37012
+ u("catalog-item-qty-updated", d);
37013
+ })), c.push(kn("catalog:line-deleted", (d) => {
37014
+ u("catalog-line-deleted", d);
37015
+ })), c.push(kn("catalog:items-fetched", (d) => {
37016
+ u("catalog-items-fetched", d);
37017
+ })), c.push(kn("catalog:item-configure-clicked", (d) => {
37018
+ u("catalog-item-configure", d);
37019
+ })), c.push(kn("catalog:items-loaded", (d) => {
37020
+ u("catalog-items-loaded", d);
37016
37021
  }));
37017
- }), Xe(
37022
+ }), Ge(
37018
37023
  () => i.session && i.session.quoteId,
37019
- (h) => {
37020
- h && (t.updateConfig({ quoteId: h }), t.quoteId = h, r.getQuoteItems(!0));
37024
+ (d) => {
37025
+ d && (t.updateConfig({ quoteId: d }), t.quoteId = d, r.getQuoteItems(!0));
37021
37026
  }
37022
- ), kr(() => {
37023
- u.forEach((h) => {
37027
+ ), Ge(() => i.sections, async (d, p) => {
37028
+ d !== p && (await t.processSections(i.isPreview, d), l.value && l.value.refreshTemplate && l.value.refreshTemplate());
37029
+ }, { deep: !0 }), kr(() => {
37030
+ c.forEach((d) => {
37024
37031
  try {
37025
- h();
37032
+ d();
37026
37033
  } catch {
37027
37034
  }
37028
37035
  });
37029
- }), (h, d) => {
37030
- var p, f;
37036
+ }), (d, p) => {
37037
+ var f, v;
37031
37038
  return F(), U("div", kw, [
37032
37039
  he(L2, {
37033
- "organization-id": (p = i.identity) == null ? void 0 : p.organizationId,
37040
+ "organization-id": (f = i.identity) == null ? void 0 : f.organizationId,
37034
37041
  "template-id": i.templateId,
37035
37042
  "is-preview": i.isPreview,
37036
37043
  theme: i.theme
37037
37044
  }, null, 8, ["organization-id", "template-id", "is-preview", "theme"]),
37038
37045
  s.value ? (F(), U("div", Aw, Iw)) : (F(), Ee(G2, {
37039
37046
  key: 1,
37040
- ref: "templateRendererRef",
37041
- "quote-id": (f = i.session) == null ? void 0 : f.quoteId,
37047
+ ref_key: "templateRendererRef",
37048
+ ref: l,
37049
+ "quote-id": (v = i.session) == null ? void 0 : v.quoteId,
37042
37050
  "is-preview": e.isPreview,
37043
37051
  "on-catalog-count-update": e.onCatalogCountUpdate,
37044
37052
  "initial-catalog-items": e.initialData
@@ -37046,7 +37054,7 @@ const mw = ["data-sid", "data-sname"], gw = ["data-bid", "data-bname"], yw = ["p
37046
37054
  ]);
37047
37055
  };
37048
37056
  }
37049
- }, K2 = /* @__PURE__ */ Me(Sw, [["__scopeId", "data-v-d653620c"]]), X2 = {
37057
+ }, K2 = /* @__PURE__ */ Me(Sw, [["__scopeId", "data-v-94bfeb19"]]), X2 = {
37050
37058
  __name: "ExpediteCart",
37051
37059
  props: {
37052
37060
  templateId: {
@@ -37124,7 +37132,7 @@ const mw = ["data-sid", "data-sname"], gw = ["data-bid", "data-bname"], yw = ["p
37124
37132
  } catch {
37125
37133
  }
37126
37134
  });
37127
- }), Xe(() => a.sections, async (l, u) => {
37135
+ }), Ge(() => a.sections, async (l, u) => {
37128
37136
  l !== u && (await t.processSections(a.isPreview, l), o.value && o.value.refreshTemplate && o.value.refreshTemplate());
37129
37137
  }, { deep: !0 }), (l, u) => (F(), U(ke, null, [
37130
37138
  he(L2, {
@@ -37414,7 +37422,7 @@ const Dw = { class: "chat-message-links" }, Rw = ["href", "redirect", "data-test
37414
37422
  class: "a-download",
37415
37423
  onClick: a[0] || (a[0] = (s) => o(e.encodedString))
37416
37424
  }, [
37417
- he(Ge, {
37425
+ he(Ke, {
37418
37426
  icon: "download",
37419
37427
  color: "#353535"
37420
37428
  })
@@ -41260,7 +41268,7 @@ const XO = ["innerHTML"], WO = {
41260
41268
  emits: ["upload-status", "error"],
41261
41269
  setup(e, { emit: n }) {
41262
41270
  const t = e, r = n, o = W(null), i = W(""), a = W(""), s = W(!1);
41263
- Xe(
41271
+ Ge(
41264
41272
  () => t.resetFileInput,
41265
41273
  (h) => {
41266
41274
  h && o.value && (o.value.value = "", i.value = "", a.value = "");
@@ -41359,7 +41367,7 @@ const XO = ["innerHTML"], WO = {
41359
41367
  onMouseenter: d[0] || (d[0] = (p) => s.value = !0),
41360
41368
  onMouseleave: d[1] || (d[1] = (p) => s.value = !1)
41361
41369
  }, [
41362
- he(Ge, {
41370
+ he(Ke, {
41363
41371
  icon: "attachment",
41364
41372
  size: "11",
41365
41373
  height: "17",
@@ -41430,7 +41438,7 @@ const XO = ["innerHTML"], WO = {
41430
41438
  break;
41431
41439
  }
41432
41440
  };
41433
- return Xe(
41441
+ return Ge(
41434
41442
  () => t.showSuggestions,
41435
41443
  (d) => {
41436
41444
  d ? (window.addEventListener("keydown", h), a.value = null, o.value = 0, i.value = 0) : window.removeEventListener("keydown", h);
@@ -41497,7 +41505,7 @@ const XO = ["innerHTML"], WO = {
41497
41505
  class: "ect-flex ect-gap-2 ect-justify-center ect-items-center ect-self-stretch ect-my-auto ect-w-4 ect-h-4",
41498
41506
  onClick: r
41499
41507
  }, [
41500
- he(Ge, {
41508
+ he(Ke, {
41501
41509
  icon: "close",
41502
41510
  size: "8"
41503
41511
  })
@@ -41563,14 +41571,14 @@ const XO = ["innerHTML"], WO = {
41563
41571
  var E;
41564
41572
  return (E = h.value) != null && E.length ? "Prompt Guidance" : t.helpText;
41565
41573
  });
41566
- Xe(
41574
+ Ge(
41567
41575
  () => t.loading,
41568
41576
  async (E, O) => {
41569
41577
  !E && O && (await Nt(), c.value.focus());
41570
41578
  }
41571
- ), Xe(u, (E) => {
41579
+ ), Ge(u, (E) => {
41572
41580
  r("update:modelValue", E), Nt(() => b());
41573
- }), Xe(
41581
+ }), Ge(
41574
41582
  () => t.modelValue,
41575
41583
  (E) => {
41576
41584
  u.value = E;
@@ -41623,7 +41631,7 @@ const XO = ["innerHTML"], WO = {
41623
41631
  C("div", {
41624
41632
  class: we(["icon-wrapper", { "active-suggestions": l.value, disabled: ((w = d.value) == null ? void 0 : w.length) <= 0 }])
41625
41633
  }, [
41626
- he(Ge, {
41634
+ he(Ke, {
41627
41635
  disabled: ((k = d.value) == null ? void 0 : k.length) <= 0 || e.loading,
41628
41636
  color: ((S = d.value) == null ? void 0 : S.length) <= 0 ? "#DEDEDE" : l.value ? "#198708" : "#828282",
41629
41637
  icon: "suggestions",
@@ -41655,7 +41663,7 @@ const XO = ["innerHTML"], WO = {
41655
41663
  }, null, 8, ["reset-file-input"])
41656
41664
  ], 2)) : pe("", !0),
41657
41665
  e.showMic ? (F(), U("div", TT, [
41658
- he(Ge, {
41666
+ he(Ke, {
41659
41667
  color: "#828282",
41660
41668
  disabled: e.loading,
41661
41669
  icon: "mic",
@@ -41665,7 +41673,7 @@ const XO = ["innerHTML"], WO = {
41665
41673
  }, null, 8, ["disabled"])
41666
41674
  ])) : pe("", !0),
41667
41675
  C("div", DT, [
41668
- (F(), Ee(Ge, {
41676
+ (F(), Ee(Ke, {
41669
41677
  key: 1,
41670
41678
  disabled: e.loading,
41671
41679
  icon: "send",
@@ -41777,7 +41785,7 @@ const XO = ["innerHTML"], WO = {
41777
41785
  return (n, t) => (F(), U("div", qT, [
41778
41786
  C("div", $T, [
41779
41787
  C("div", jT, [
41780
- he(Ge, {
41788
+ he(Ke, {
41781
41789
  icon: "error",
41782
41790
  size: 48
41783
41791
  })
@@ -42007,7 +42015,7 @@ const XO = ["innerHTML"], WO = {
42007
42015
  }, oe = (H) => {
42008
42016
  console.log("onQuoteItemsFetched", H), t("catalog-items-fetched", H);
42009
42017
  };
42010
- Xe(
42018
+ Ge(
42011
42019
  () => u.value,
42012
42020
  (H, ee) => {
42013
42021
  var Y, se, ue, V, N, Z, J, Q, K, re, fe;
@@ -42104,7 +42112,7 @@ const XO = ["innerHTML"], WO = {
42104
42112
  }, L = (H) => {
42105
42113
  console.log("Action", H), H.event === "add-to-quote" ? t("configurator:add-to-quote", H.data) : H.event === "save" && t("configurator:save", H.data);
42106
42114
  }, G = W("");
42107
- return Xe(
42115
+ return Ge(
42108
42116
  () => o == null ? void 0 : o.activeComponentData,
42109
42117
  async (H) => {
42110
42118
  var Y, se, ue;
@@ -42429,7 +42437,7 @@ const XO = ["innerHTML"], WO = {
42429
42437
  var D;
42430
42438
  return ((D = j.value) == null ? void 0 : D.stepComponent) || null;
42431
42439
  });
42432
- Xe(
42440
+ Ge(
42433
42441
  () => t.activeComponentKey,
42434
42442
  (D) => {
42435
42443
  D && (u.value = !1);