cja-phoenix 0.2.13 → 0.2.15

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as te, ref as j, watch as $e, openBlock as O, createBlock as le, Teleport as An, createVNode as Ie, Transition as mn, withCtx as ie, withDirectives as It, createElementVNode as L, withModifiers as Br, normalizeClass as se, createElementBlock as P, toDisplayString as q, createCommentVNode as H, renderSlot as me, vShow as Wr, pushScopeId as rt, popScopeId as at, unref as D, normalizeStyle as Yt, Fragment as et, renderList as ht, TransitionGroup as Ho, inject as Lt, onMounted as lt, onUnmounted as Qt, computed as Ee, warn as Go, provide as zo, isRef as Tt, getCurrentInstance as st, onBeforeUnmount as Yo, reactive as bi, nextTick as Ei, resolveDirective as Hr, normalizeProps as Mt, guardReactiveProps as Xn, mergeProps as qn, h as Dt, shallowRef as Ko, onBeforeMount as Ci, effectScope as Xo, Text as qo, vModelText as Jo, createTextVNode as Pt, createStaticVNode as Qo, isReactive as da, isVNode as Zo, render as fa } from "vue";
1
+ import { defineComponent as te, ref as j, watch as $e, openBlock as O, createBlock as le, Teleport as An, createVNode as Ie, Transition as mn, withCtx as ie, withDirectives as It, createElementVNode as L, withModifiers as Br, normalizeClass as oe, createElementBlock as P, toDisplayString as q, createCommentVNode as H, renderSlot as me, vShow as Wr, pushScopeId as rt, popScopeId as at, unref as D, normalizeStyle as Yt, Fragment as et, renderList as ht, TransitionGroup as Ho, inject as Lt, onMounted as lt, onUnmounted as Qt, computed as Ee, warn as Go, provide as zo, isRef as Tt, getCurrentInstance as st, onBeforeUnmount as Yo, reactive as bi, nextTick as Ei, resolveDirective as Hr, normalizeProps as Mt, guardReactiveProps as Xn, mergeProps as qn, h as Dt, shallowRef as Ko, onBeforeMount as Ci, effectScope as Xo, Text as qo, vModelText as Jo, createTextVNode as Pt, createStaticVNode as Qo, isReactive as da, isVNode as Zo, render as fa } from "vue";
2
2
  const re = (e, t) => {
3
3
  const n = e.__vccOpts || e;
4
4
  for (const [r, a] of t)
@@ -43,7 +43,7 @@ const re = (e, t) => {
43
43
  onClick: Br(o, ["self"])
44
44
  }, [
45
45
  L("div", {
46
- class: se(["modal-container", u.class]),
46
+ class: oe(["modal-container", u.class]),
47
47
  ref_key: "modalContainer",
48
48
  ref: a
49
49
  }, [
@@ -86,7 +86,7 @@ const us = {
86
86
  },
87
87
  setup(e) {
88
88
  return (t, n) => (O(), P("button", {
89
- class: se(["cja-btn", [
89
+ class: oe(["cja-btn", [
90
90
  `btn-${t.type}`,
91
91
  `btn-size-${t.size}`,
92
92
  `btn-color-${t.color}`,
@@ -101,7 +101,7 @@ const us = {
101
101
  ]),
102
102
  t.icon ? (O(), P("span", {
103
103
  key: 0,
104
- class: se(t.icon)
104
+ class: oe(t.icon)
105
105
  }, null, 2)) : H("", !0)
106
106
  ]),
107
107
  _: 3
@@ -139,7 +139,7 @@ const ps = { class: "content-tabs" }, vs = { class: "control-container" }, ms =
139
139
  L("div", vs, [
140
140
  (O(!0), P(et, null, ht(a.tabs, (o) => (O(), P("button", {
141
141
  key: o.control,
142
- class: se({ active: r.value == o.control }),
142
+ class: oe({ active: r.value == o.control }),
143
143
  onClick: (l) => {
144
144
  r.value = o.control, a.$emit("tab:changed");
145
145
  }
@@ -150,7 +150,7 @@ const ps = { class: "content-tabs" }, vs = { class: "control-container" }, ms =
150
150
  default: ie(() => [
151
151
  (O(!0), P(et, null, ht(a.tabs, (o) => It((O(), P("div", {
152
152
  key: o.control,
153
- class: se(`tab-${o.control}`)
153
+ class: oe(`tab-${o.control}`)
154
154
  }, [
155
155
  me(a.$slots, o.control, {}, void 0, !0)
156
156
  ], 2)), [
@@ -181,7 +181,7 @@ const ys = {
181
181
  setup(e) {
182
182
  const t = Lt("activeViewport");
183
183
  return (n, r) => (O(), P("div", {
184
- class: se(["info-message", [
184
+ class: oe(["info-message", [
185
185
  `color-${n.color}`,
186
186
  { "has-icon": n.$slots.icon && D(t).m, "has-toggle": n.toggle }
187
187
  ]])
@@ -216,7 +216,7 @@ const Os = te({
216
216
  },
217
217
  setup(e) {
218
218
  return (t, n) => (O(), P("div", {
219
- class: se([`grid-container-${t.size}`])
219
+ class: oe([`grid-container-${t.size}`])
220
220
  }, [
221
221
  me(t.$slots, "default", {}, void 0, !0)
222
222
  ], 2));
@@ -231,7 +231,7 @@ const Ns = te({
231
231
  },
232
232
  setup(e) {
233
233
  return (t, n) => (O(), P("div", {
234
- class: se({
234
+ class: oe({
235
235
  [`grid-item-sm-${t.sizeSm}`]: t.sizeSm,
236
236
  [`grid-item-md-${t.sizeMd}`]: t.sizeMd,
237
237
  [`grid-item-lg-${t.sizeLg}`]: t.sizeLg
@@ -241,10 +241,10 @@ const Ns = te({
241
241
  ], 2));
242
242
  }
243
243
  }), Kt = /* @__PURE__ */ re(Ns, [["__scopeId", "data-v-221315aa"]]);
244
- const Ss = (e) => (rt("data-v-6a7a42fc"), e = e(), at(), e), As = { class: "header-wrapper" }, Ds = /* @__PURE__ */ Ss(() => /* @__PURE__ */ L("span", { class: "m-cgg-icon--chevron-down" }, null, -1)), Ps = te({
244
+ const Ss = (e) => (rt("data-v-e37f1920"), e = e(), at(), e), As = { class: "header-wrapper" }, Ds = /* @__PURE__ */ Ss(() => /* @__PURE__ */ L("span", { class: "m-cgg-icon--chevron-down" }, null, -1)), Ps = te({
245
245
  __name: "CollapseContainer",
246
246
  props: {
247
- defaultActive: { type: Boolean },
247
+ active: { type: Boolean, default: !1 },
248
248
  scrollToContent: {}
249
249
  },
250
250
  emits: [
@@ -253,7 +253,7 @@ const Ss = (e) => (rt("data-v-6a7a42fc"), e = e(), at(), e), As = { class: "head
253
253
  "close:collapse"
254
254
  ],
255
255
  setup(e, { expose: t, emit: n }) {
256
- const r = e, a = j(r.defaultActive), i = j(), o = j(), l = j(), u = () => {
256
+ const r = e, a = j(r.active), i = j(), o = j(), l = j(), u = () => {
257
257
  a.value = !a.value, n("toggle:collapse", a.value);
258
258
  }, m = () => {
259
259
  a.value = !0, n("open:collapse");
@@ -278,7 +278,7 @@ const Ss = (e) => (rt("data-v-6a7a42fc"), e = e(), at(), e), As = { class: "head
278
278
  });
279
279
  };
280
280
  return t({ toggleCollapse: u, openCollapse: m, closeCollapse: v }), (C, w) => (O(), P("div", {
281
- class: se(["collapse-container", { active: a.value }])
281
+ class: oe(["collapse-container", { active: a.value }])
282
282
  }, [
283
283
  L("div", {
284
284
  class: "collapse-header",
@@ -316,7 +316,7 @@ const Ss = (e) => (rt("data-v-6a7a42fc"), e = e(), at(), e), As = { class: "head
316
316
  })
317
317
  ], 2));
318
318
  }
319
- }), Ms = /* @__PURE__ */ re(Ps, [["__scopeId", "data-v-6a7a42fc"]]);
319
+ }), Ms = /* @__PURE__ */ re(Ps, [["__scopeId", "data-v-e37f1920"]]);
320
320
  const Rs = te({
321
321
  __name: "FixedContainer",
322
322
  props: {
@@ -348,7 +348,7 @@ const Rs = te({
348
348
  ref: a
349
349
  }, [
350
350
  L("div", {
351
- class: se(["fixed-wrapper", { "position-fixed": r.value }]),
351
+ class: oe(["fixed-wrapper", { "position-fixed": r.value }]),
352
352
  style: Yt({ ...v.size, ...v.position, maxWidth: l.value }),
353
353
  ref_key: "fixedWrapper",
354
354
  ref: o
@@ -1647,7 +1647,7 @@ const xl = {
1647
1647
  const r = Hr("tippy");
1648
1648
  return t.title ? (O(), P("div", {
1649
1649
  key: 0,
1650
- class: se(["input-title", [`size-${t.size}`]])
1650
+ class: oe(["input-title", [`size-${t.size}`]])
1651
1651
  }, [
1652
1652
  L("span", null, q(t.title), 1),
1653
1653
  t.tooltip ? It((O(), P("span", xl, null, 512)), [
@@ -1673,7 +1673,7 @@ const Hl = te({
1673
1673
  },
1674
1674
  setup(e) {
1675
1675
  return (t, n) => (O(), P("div", {
1676
- class: se(["input-container", [t.layout]])
1676
+ class: oe(["input-container", [t.layout]])
1677
1677
  }, [
1678
1678
  me(t.$slots, "default", {}, void 0, !0)
1679
1679
  ], 2));
@@ -1717,12 +1717,12 @@ const Gl = ["data-maska", "id", "inputmode", "placeholder", "type", "value", "di
1717
1717
  default: ie(() => [
1718
1718
  v.title ? (O(), le(Zn, Mt(qn({ key: 0 }, { title: v.title, tooltip: v.tooltip, size: v.size })), null, 16)) : H("", !0),
1719
1719
  L("div", {
1720
- class: se(["input-wrapper", {
1720
+ class: oe(["input-wrapper", {
1721
1721
  error: D(i)
1722
1722
  }])
1723
1723
  }, [
1724
1724
  It(L("input", {
1725
- class: se([`size-${v.size}`]),
1725
+ class: oe([`size-${v.size}`]),
1726
1726
  "data-maska": v.mask,
1727
1727
  id: v.id,
1728
1728
  inputmode: v.inputmode,
@@ -2511,10 +2511,10 @@ const ql = ["id", "placeholder", "disabled", "value", "autocomplete"], Jl = te({
2511
2511
  default: ie(() => [
2512
2512
  m.title ? (O(), le(Zn, Mt(qn({ key: 0 }, { title: m.title, tooltip: m.tooltip, size: m.size })), null, 16)) : H("", !0),
2513
2513
  L("div", {
2514
- class: se(["input-wrapper", { error: D(o) }])
2514
+ class: oe(["input-wrapper", { error: D(o) }])
2515
2515
  }, [
2516
2516
  It(L("input", {
2517
- class: se([`size-${m.size}`]),
2517
+ class: oe([`size-${m.size}`]),
2518
2518
  ref_key: "inputEl",
2519
2519
  ref: a,
2520
2520
  id: m.id,
@@ -2573,13 +2573,14 @@ const Zl = (e) => (rt("data-v-76806a10"), e = e(), at(), e), eu = { class: "inpu
2573
2573
  ]));
2574
2574
  }
2575
2575
  }), ou = /* @__PURE__ */ re(iu, [["__scopeId", "data-v-76806a10"]]);
2576
- const su = (e) => (rt("data-v-4e122f37"), e = e(), at(), e), lu = { class: "input-container" }, uu = { class: "input-container-radio" }, cu = ["name", "checked"], du = /* @__PURE__ */ su(() => /* @__PURE__ */ L("div", { class: "radio-icon" }, null, -1)), fu = ["innerHTML"], pu = te({
2576
+ const su = (e) => (rt("data-v-6836c4af"), e = e(), at(), e), lu = { class: "input-container" }, uu = { class: "input-container-radio" }, cu = ["name", "checked"], du = /* @__PURE__ */ su(() => /* @__PURE__ */ L("div", { class: "radio-icon" }, null, -1)), fu = ["innerHTML"], pu = te({
2577
2577
  __name: "RadioInput",
2578
2578
  props: {
2579
2579
  name: {},
2580
2580
  value: {},
2581
2581
  label: {},
2582
2582
  modelValue: {},
2583
+ size: {},
2583
2584
  error: {},
2584
2585
  errorDisplay: { type: Boolean, default: !0 }
2585
2586
  },
@@ -2599,9 +2600,9 @@ const su = (e) => (rt("data-v-4e122f37"), e = e(), at(), e), lu = { class: "inpu
2599
2600
  }, null, 40, cu),
2600
2601
  du,
2601
2602
  L("div", {
2602
- class: "text-container",
2603
+ class: oe(["text-container", [`size-${a.size}`]]),
2603
2604
  innerHTML: a.label
2604
- }, null, 8, fu)
2605
+ }, null, 10, fu)
2605
2606
  ])
2606
2607
  ]),
2607
2608
  a.error && a.errorDisplay ? (O(), le(Ft, {
@@ -2610,7 +2611,7 @@ const su = (e) => (rt("data-v-4e122f37"), e = e(), at(), e), lu = { class: "inpu
2610
2611
  }, null, 8, ["error"])) : H("", !0)
2611
2612
  ]));
2612
2613
  }
2613
- }), vu = /* @__PURE__ */ re(pu, [["__scopeId", "data-v-4e122f37"]]);
2614
+ }), vu = /* @__PURE__ */ re(pu, [["__scopeId", "data-v-6836c4af"]]);
2614
2615
  const mu = (e) => (rt("data-v-510c7d44"), e = e(), at(), e), hu = { class: "tile-header" }, _u = {
2615
2616
  key: 0,
2616
2617
  class: "tile-image"
@@ -2627,7 +2628,7 @@ const mu = (e) => (rt("data-v-510c7d44"), e = e(), at(), e), hu = { class: "tile
2627
2628
  emits: ["update:modelValue"],
2628
2629
  setup(e) {
2629
2630
  return (t, n) => (O(), P("div", {
2630
- class: se(["tile-checkbox-container", { checked: t.modelValue }]),
2631
+ class: oe(["tile-checkbox-container", { checked: t.modelValue }]),
2631
2632
  onClick: n[0] || (n[0] = (r) => t.$emit("update:modelValue", !t.modelValue))
2632
2633
  }, [
2633
2634
  L("div", hu, [
@@ -6062,10 +6063,10 @@ const Td = (e) => (rt("data-v-b750ff6c"), e = e(), at(), e), wd = { class: "sele
6062
6063
  L("div", {
6063
6064
  ref_key: "inputEl",
6064
6065
  ref: o,
6065
- class: se(["input-container-select", { error: D(b) }])
6066
+ class: oe(["input-container-select", { error: D(b) }])
6066
6067
  }, [
6067
6068
  L("div", {
6068
- class: se(["select-toggle", [
6069
+ class: oe(["select-toggle", [
6069
6070
  `size-${p.size}`,
6070
6071
  u.value,
6071
6072
  { open: a.value, disabled: p.disabled }
@@ -6086,7 +6087,7 @@ const Td = (e) => (rt("data-v-b750ff6c"), e = e(), at(), e), wd = { class: "sele
6086
6087
  return [
6087
6088
  a.value ? (O(), P("div", {
6088
6089
  key: 0,
6089
- class: se(["select-collapse", u.value]),
6090
+ class: oe(["select-collapse", u.value]),
6090
6091
  ref_key: "collapseEl",
6091
6092
  ref: l
6092
6093
  }, [
@@ -6103,7 +6104,7 @@ const Td = (e) => (rt("data-v-b750ff6c"), e = e(), at(), e), wd = { class: "sele
6103
6104
  var R;
6104
6105
  return O(), P("li", {
6105
6106
  onClick: (U) => s(A.value),
6106
- class: se({
6107
+ class: oe({
6107
6108
  active: p.multiSelect && ((R = p.modelValue) == null ? void 0 : R.includes(A.value))
6108
6109
  })
6109
6110
  }, [
@@ -6185,7 +6186,7 @@ const Md = { class: "input-placeholder" }, Rd = { class: "icon-wrapper" }, $d =
6185
6186
  default: ie(() => [
6186
6187
  C.title ? (O(), le(Zn, Mt(qn({ key: 0 }, { title: C.title, tooltip: C.tooltip, size: C.size })), null, 16)) : H("", !0),
6187
6188
  L("div", {
6188
- class: se(["input-wrapper", [
6189
+ class: oe(["input-wrapper", [
6189
6190
  `size-${C.size}`,
6190
6191
  {
6191
6192
  error: D(l),
@@ -6278,12 +6279,12 @@ const Hd = { class: "number-input-container" }, Gd = {
6278
6279
  ], 64));
6279
6280
  }
6280
6281
  }), Zd = /* @__PURE__ */ re(Qd, [["__scopeId", "data-v-05a8b972"]]);
6281
- const ef = (e) => (rt("data-v-84ecf62a"), e = e(), at(), e), tf = { class: "input-container" }, nf = { class: "label" }, rf = /* @__PURE__ */ ef(() => /* @__PURE__ */ L("div", { class: "toggler" }, [
6282
+ const ef = (e) => (rt("data-v-61a0addd"), e = e(), at(), e), tf = { class: "input-container" }, nf = { class: "label" }, rf = /* @__PURE__ */ ef(() => /* @__PURE__ */ L("div", { class: "toggler" }, [
6282
6283
  /* @__PURE__ */ L("div", { class: "toggle" })
6283
6284
  ], -1)), af = te({
6284
- __name: "InputToggle",
6285
+ __name: "ToggleInput",
6285
6286
  props: {
6286
- size: { default: "sm" },
6287
+ size: { default: "md" },
6287
6288
  disabled: { default: !1 },
6288
6289
  validation: {},
6289
6290
  label: {},
@@ -6293,18 +6294,18 @@ const ef = (e) => (rt("data-v-84ecf62a"), e = e(), at(), e), tf = { class: "inpu
6293
6294
  errorDisplay: { type: Boolean, default: !0 }
6294
6295
  },
6295
6296
  emits: ["update:modelValue"],
6296
- setup(e, { emit: t }) {
6297
- return (n, r) => (O(), P("div", tf, [
6297
+ setup(e) {
6298
+ return (t, n) => (O(), P("div", tf, [
6298
6299
  L("div", {
6299
- class: se(["input-wrapper", [`size-${n.size}`, { active: n.modelValue, "full-width": n.fullWidth }]]),
6300
- onClick: r[0] || (r[0] = (a) => n.$emit("update:modelValue", !n.modelValue))
6300
+ class: oe(["input-wrapper", [`size-${t.size}`, { active: t.modelValue, "full-width": t.fullWidth }]]),
6301
+ onClick: n[0] || (n[0] = (r) => t.$emit("update:modelValue", !t.modelValue))
6301
6302
  }, [
6302
- L("div", nf, q(n.label), 1),
6303
+ L("div", nf, q(t.label), 1),
6303
6304
  rf
6304
6305
  ], 2)
6305
6306
  ]));
6306
6307
  }
6307
- }), of = /* @__PURE__ */ re(af, [["__scopeId", "data-v-84ecf62a"]]);
6308
+ }), of = /* @__PURE__ */ re(af, [["__scopeId", "data-v-61a0addd"]]);
6308
6309
  const sf = ["onClick"], lf = {
6309
6310
  key: 0,
6310
6311
  class: "image-container"
@@ -6340,11 +6341,11 @@ const sf = ["onClick"], lf = {
6340
6341
  return O(), le(Dn, { layout: "vertical" }, {
6341
6342
  default: ie(() => [
6342
6343
  L("div", {
6343
- class: se(["tiles-container", [`layout-${l.layout}`]])
6344
+ class: oe(["tiles-container", [`layout-${l.layout}`]])
6344
6345
  }, [
6345
6346
  (O(!0), P(et, null, ht(l.options, (v, b) => It((O(), P("div", {
6346
6347
  key: b,
6347
- class: se(["tile", {
6348
+ class: oe(["tile", {
6348
6349
  active: l.multiselect ? D(r).includes(v.value) : v.value == D(r)
6349
6350
  }]),
6350
6351
  onClick: (E) => l.$emit("update:modelValue", v.value)
@@ -6390,10 +6391,10 @@ const _f = { class: "macro-steps-container" }, gf = { class: "step-label" }, yf
6390
6391
  setup(e) {
6391
6392
  return (t, n) => (O(), P("div", _f, [
6392
6393
  (O(!0), P(et, null, ht(t.stepList, (r, a) => (O(), P("div", {
6393
- class: se(["macro-step", [`step-status-${r.status}`]])
6394
+ class: oe(["macro-step", [`step-status-${r.status}`]])
6394
6395
  }, [
6395
6396
  L("span", {
6396
- class: se(r.icon)
6397
+ class: oe(r.icon)
6397
6398
  }, null, 2),
6398
6399
  L("span", gf, q(r.label), 1),
6399
6400
  a < t.stepList.length - 1 ? (O(), P("span", yf)) : H("", !0)
@@ -6545,7 +6546,7 @@ const Rf = (e) => (rt("data-v-261d9a59"), e = e(), at(), e), $f = { class: "summ
6545
6546
  ])
6546
6547
  ]),
6547
6548
  L("div", {
6548
- class: se(["info-container", { "edit-mode": a.value }])
6549
+ class: oe(["info-container", { "edit-mode": a.value }])
6549
6550
  }, [
6550
6551
  (O(!0), P(et, null, ht(m.infoList, (b) => (O(), P("div", xf, [
6551
6552
  L("div", jf, q(b.title), 1),
@@ -6629,7 +6630,7 @@ const Zf = { class: "sidebar-body" }, ep = te({
6629
6630
  L("div", {
6630
6631
  ref_key: "sidebarContainer",
6631
6632
  ref: n,
6632
- class: se(["sidebar-container", { "position-fixed": (l = t.value) == null ? void 0 : l.positionFixed }]),
6633
+ class: oe(["sidebar-container", { "position-fixed": (l = t.value) == null ? void 0 : l.positionFixed }]),
6633
6634
  style: Yt({
6634
6635
  maxHeight: (u = t.value) != null && u.positionFixed ? "" : r.value
6635
6636
  })
@@ -6866,7 +6867,7 @@ const ta = (e) => (rt("data-v-052f38fa"), e = e(), at(), e), up = {
6866
6867
  }, null, 8, dp),
6867
6868
  L("div", fp, [
6868
6869
  (O(!0), P(et, null, ht(m.value, (d) => (O(), le(Lr, {
6869
- class: se([`checkbox-${d.class}`]),
6870
+ class: oe([`checkbox-${d.class}`]),
6870
6871
  image: d.image,
6871
6872
  label: d.label,
6872
6873
  description: d.description,
@@ -6941,7 +6942,7 @@ const ta = (e) => (rt("data-v-052f38fa"), e = e(), at(), e), up = {
6941
6942
  L("p", null, q(D(o)("xsell.checkout.modal.body.description")), 1),
6942
6943
  L("div", kp, [
6943
6944
  (O(!0), P(et, null, ht(m.value, (d) => (O(), le(Lr, {
6944
- class: se([`checkbox-${d.class}`]),
6945
+ class: oe([`checkbox-${d.class}`]),
6945
6946
  image: d.image,
6946
6947
  label: d.label,
6947
6948
  description: d.description,
@@ -7024,10 +7025,10 @@ const Dp = { class: "checkout-milestones" }, Pp = { class: "text-container" }, M
7024
7025
  return (t, n) => (O(), P("div", Dp, [
7025
7026
  L("ul", null, [
7026
7027
  (O(!0), P(et, null, ht(t.milestones, (r, a) => (O(), P("li", {
7027
- class: se([`milestone-${r.status}`])
7028
+ class: oe([`milestone-${r.status}`])
7028
7029
  }, [
7029
7030
  L("span", {
7030
- class: se(["step-icon", { "m-cgg-icon--check2": r.status == "past" }])
7031
+ class: oe(["step-icon", { "m-cgg-icon--check2": r.status == "past" }])
7031
7032
  }, q(r.status != "past" ? a + 1 : ""), 3),
7032
7033
  L("div", Pp, [
7033
7034
  L("div", Mp, q(r.title), 1),
@@ -7180,7 +7181,7 @@ const ov = { class: "info-showcase" }, sv = { class: "showcase-list" }, lv = { c
7180
7181
  LoadingSpinner: fs,
7181
7182
  Scaffold: Jn,
7182
7183
  ProductDetails: zp,
7183
- InputToggle: of,
7184
+ ToggleInput: of,
7184
7185
  FileInput: Wd,
7185
7186
  ContentTabs: gs,
7186
7187
  CollapseContainer: Ms,
@@ -8407,8 +8408,8 @@ function jm(e, t) {
8407
8408
  S === void 0 && (S = !1), h.style.pointerEvents = s.props.interactive && !S ? "" : "none", h.style.zIndex = "" + s.props.zIndex;
8408
8409
  }
8409
8410
  function ce(S, x, K) {
8410
- if (K === void 0 && (K = !0), A.forEach(function(oe) {
8411
- oe[S] && oe[S].apply(oe, x);
8411
+ if (K === void 0 && (K = !0), A.forEach(function(se) {
8412
+ se[S] && se[S].apply(se, x);
8412
8413
  }), K) {
8413
8414
  var pe;
8414
8415
  (pe = s.props)[S].apply(pe, x);
@@ -8418,13 +8419,13 @@ function jm(e, t) {
8418
8419
  var S = s.props.aria;
8419
8420
  if (!!S.content) {
8420
8421
  var x = "aria-" + S.content, K = h.id, pe = Bt(s.props.triggerTarget || e);
8421
- pe.forEach(function(oe) {
8422
- var Be = oe.getAttribute(x);
8422
+ pe.forEach(function(se) {
8423
+ var Be = se.getAttribute(x);
8423
8424
  if (s.state.isVisible)
8424
- oe.setAttribute(x, Be ? Be + " " + K : K);
8425
+ se.setAttribute(x, Be ? Be + " " + K : K);
8425
8426
  else {
8426
8427
  var Qe = Be && Be.replace(K, "").trim();
8427
- Qe ? oe.setAttribute(x, Qe) : oe.removeAttribute(x);
8428
+ Qe ? se.setAttribute(x, Qe) : se.removeAttribute(x);
8428
8429
  }
8429
8430
  });
8430
8431
  }
@@ -8483,8 +8484,8 @@ function jm(e, t) {
8483
8484
  }
8484
8485
  function Oe(S, x) {
8485
8486
  var K = be().box;
8486
- function pe(oe) {
8487
- oe.target === K && (yr(K, "remove", pe), x());
8487
+ function pe(se) {
8488
+ se.target === K && (yr(K, "remove", pe), x());
8488
8489
  }
8489
8490
  if (S === 0)
8490
8491
  return x();
@@ -8493,9 +8494,9 @@ function jm(e, t) {
8493
8494
  function Ce(S, x, K) {
8494
8495
  K === void 0 && (K = !1);
8495
8496
  var pe = Bt(s.props.triggerTarget || e);
8496
- pe.forEach(function(oe) {
8497
- oe.addEventListener(S, x, K), C.push({
8498
- node: oe,
8497
+ pe.forEach(function(se) {
8498
+ se.addEventListener(S, x, K), C.push({
8499
+ node: se,
8499
8500
  eventType: S,
8500
8501
  handler: x,
8501
8502
  options: K
@@ -8524,26 +8525,26 @@ function jm(e, t) {
8524
8525
  }
8525
8526
  function ct() {
8526
8527
  C.forEach(function(S) {
8527
- var x = S.node, K = S.eventType, pe = S.handler, oe = S.options;
8528
- x.removeEventListener(K, pe, oe);
8528
+ var x = S.node, K = S.eventType, pe = S.handler, se = S.options;
8529
+ x.removeEventListener(K, pe, se);
8529
8530
  }), C = [];
8530
8531
  }
8531
8532
  function y(S) {
8532
8533
  var x, K = !1;
8533
8534
  if (!(!s.state.isEnabled || G(S) || l)) {
8534
8535
  var pe = ((x = v) == null ? void 0 : x.type) === "focus";
8535
- v = S, k = S.currentTarget, Le(), !s.state.isVisible && ua(S) && jn.forEach(function(oe) {
8536
- return oe(S);
8536
+ v = S, k = S.currentTarget, Le(), !s.state.isVisible && ua(S) && jn.forEach(function(se) {
8537
+ return se(S);
8537
8538
  }), S.type === "click" && (s.props.trigger.indexOf("mouseenter") < 0 || o) && s.props.hideOnClick !== !1 && s.state.isVisible ? K = !0 : ye(S), S.type === "click" && (o = !K), K && !pe && N(S);
8538
8539
  }
8539
8540
  }
8540
8541
  function _(S) {
8541
8542
  var x = S.target, K = Z().contains(x) || h.contains(x);
8542
8543
  if (!(S.type === "mousemove" && K)) {
8543
- var pe = dt().concat(h).map(function(oe) {
8544
- var Be, Qe = oe._tippy, Zt = (Be = Qe.popperInstance) == null ? void 0 : Be.state;
8544
+ var pe = dt().concat(h).map(function(se) {
8545
+ var Be, Qe = se._tippy, Zt = (Be = Qe.popperInstance) == null ? void 0 : Be.state;
8545
8546
  return Zt ? {
8546
- popperRect: oe.getBoundingClientRect(),
8547
+ popperRect: se.getBoundingClientRect(),
8547
8548
  popperState: Zt,
8548
8549
  props: n
8549
8550
  } : null;
@@ -8569,9 +8570,9 @@ function jm(e, t) {
8569
8570
  }
8570
8571
  function ne() {
8571
8572
  je();
8572
- var S = s.props, x = S.popperOptions, K = S.placement, pe = S.offset, oe = S.getReferenceClientRect, Be = S.moveTransition, Qe = W() ? Kn(h).arrow : null, Zt = oe ? {
8573
- getBoundingClientRect: oe,
8574
- contextElement: oe.contextElement || Z()
8573
+ var S = s.props, x = S.popperOptions, K = S.placement, pe = S.offset, se = S.getReferenceClientRect, Be = S.moveTransition, Qe = W() ? Kn(h).arrow : null, Zt = se ? {
8574
+ getBoundingClientRect: se,
8575
+ contextElement: se.contextElement || Z()
8575
8576
  } : e, ca = {
8576
8577
  name: "$$tippy",
8577
8578
  enabled: !0,
@@ -8636,8 +8637,8 @@ function jm(e, t) {
8636
8637
  }
8637
8638
  function ye(S) {
8638
8639
  s.clearDelayTimeouts(), S && ce("onTrigger", [s, S]), F();
8639
- var x = ue(!0), K = U(), pe = K[0], oe = K[1];
8640
- vt.isTouch && pe === "hold" && oe && (x = oe), x ? r = setTimeout(function() {
8640
+ var x = ue(!0), K = U(), pe = K[0], se = K[1];
8641
+ vt.isTouch && pe === "hold" && se && (x = se), x ? r = setTimeout(function() {
8641
8642
  s.show();
8642
8643
  }, x) : s.show();
8643
8644
  }
@@ -8683,7 +8684,7 @@ function jm(e, t) {
8683
8684
  });
8684
8685
  }
8685
8686
  function Nt() {
8686
- var S = s.state.isVisible, x = s.state.isDestroyed, K = !s.state.isEnabled, pe = vt.isTouch && !s.props.touch, oe = _r(s.props.duration, 0, ot.duration);
8687
+ var S = s.state.isVisible, x = s.state.isDestroyed, K = !s.state.isEnabled, pe = vt.isTouch && !s.props.touch, se = _r(s.props.duration, 0, ot.duration);
8687
8688
  if (!(S || x || K || pe) && !Z().hasAttribute("disabled") && (ce("onShow", [s], !1), s.props.onShow(s) !== !1)) {
8688
8689
  if (s.state.isVisible = !0, W() && (h.style.visibility = "visible"), ge(), F(), s.state.isMounted || (h.style.transition = "none"), W()) {
8689
8690
  var Be = be(), Qe = Be.box, Zt = Be.content;
@@ -8694,9 +8695,9 @@ function jm(e, t) {
8694
8695
  if (!(!s.state.isVisible || m)) {
8695
8696
  if (m = !0, h.offsetHeight, h.style.transition = s.props.moveTransition, W() && s.props.animation) {
8696
8697
  var cr = be(), Fn = cr.box, en = cr.content;
8697
- gr([Fn, en], oe), Sn([Fn, en], "visible");
8698
+ gr([Fn, en], se), Sn([Fn, en], "visible");
8698
8699
  }
8699
- we(), Le(), fi(br, s), (xt = s.popperInstance) == null || xt.forceUpdate(), ce("onMount", [s]), s.props.animation && W() && Q(oe, function() {
8700
+ we(), Le(), fi(br, s), (xt = s.popperInstance) == null || xt.forceUpdate(), ce("onMount", [s]), s.props.animation && W() && Q(se, function() {
8700
8701
  s.state.isShown = !0, ce("onShown", [s]);
8701
8702
  });
8702
8703
  }
@@ -8707,7 +8708,7 @@ function jm(e, t) {
8707
8708
  var S = !s.state.isVisible, x = s.state.isDestroyed, K = !s.state.isEnabled, pe = _r(s.props.duration, 1, ot.duration);
8708
8709
  if (!(S || x || K) && (ce("onHide", [s], !1), s.props.onHide(s) !== !1)) {
8709
8710
  if (s.state.isVisible = !1, s.state.isShown = !1, m = !1, o = !1, W() && (h.style.visibility = "hidden"), xe(), Y(), ge(!0), W()) {
8710
- var oe = be(), Be = oe.box, Qe = oe.content;
8711
+ var se = be(), Be = se.box, Qe = se.content;
8711
8712
  s.props.animation && (gr([Be, Qe], pe), Sn([Be, Qe], "hidden"));
8712
8713
  }
8713
8714
  we(), Le(), s.props.animation ? W() && de(pe, s.unmount) : s.unmount();
@@ -9473,7 +9474,6 @@ export {
9473
9474
  Kt as GridItem,
9474
9475
  ws as InfoMessage,
9475
9476
  mv as InfoShowcase,
9476
- of as InputToggle,
9477
9477
  Ef as JourneyMacroSteps,
9478
9478
  fs as LoadingSpinner,
9479
9479
  ki as Modal,
@@ -9488,6 +9488,7 @@ export {
9488
9488
  hf as SelectionTiles,
9489
9489
  Yl as TextInput,
9490
9490
  Lr as TileCheckboxInput,
9491
+ of as ToggleInput,
9491
9492
  kh as default,
9492
9493
  ei as findScrollAncestor,
9493
9494
  fh as generateRoutes,