@club-employes/utopia 4.324.0 → 4.325.0

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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as ie, computed as P, ref as G, provide as ji, onMounted as vt, onBeforeUnmount as kn, watch as De, openBlock as c, createElementBlock as f, renderSlot as ae, normalizeStyle as Re, normalizeClass as F, createElementVNode as g, toDisplayString as C, createCommentVNode as M, useSlots as Si, Fragment as q, createBlock as T, createVNode as z, unref as h, Teleport as Et, Transition as yt, withCtx as O, createTextVNode as S, withDirectives as Qt, vModelDynamic as B1, nextTick as _e, resolveDynamicComponent as Qe, renderList as ge, withKeys as wt, onUnmounted as Ot, toValue as It, readonly as T1, getCurrentInstance as Ps, reactive as D1, mergeProps as V, useTemplateRef as fl, normalizeProps as jn, guardReactiveProps as ca, withModifiers as Be, vModelText as mA, shallowRef as na, vShow as Bl, TransitionGroup as No, resolveComponent as Ne, useModel as Aa, mergeModels as ua, useCssVars as L1, useId as Hi, onUpdated as j1, createApp as vA, inject as Ks, resolveDirective as Gn, createSlots as Sn, toHandlers as $a, useAttrs as S1, isRef as oa } from "vue";
1
+ import { defineComponent as ie, computed as P, ref as G, provide as ji, onMounted as vt, onBeforeUnmount as kn, watch as De, openBlock as c, createElementBlock as f, renderSlot as ae, normalizeStyle as Re, normalizeClass as F, createElementVNode as g, toDisplayString as C, createCommentVNode as M, useSlots as Si, Fragment as q, createBlock as T, createVNode as z, unref as h, Teleport as Gt, Transition as yt, withCtx as O, createTextVNode as S, withDirectives as Qt, vModelDynamic as B1, nextTick as _e, resolveDynamicComponent as Qe, renderList as ge, withKeys as wt, onUnmounted as Ot, toValue as It, readonly as T1, getCurrentInstance as Ps, reactive as D1, mergeProps as V, useTemplateRef as fl, normalizeProps as jn, guardReactiveProps as ca, withModifiers as Be, vModelText as mA, shallowRef as na, vShow as Bl, TransitionGroup as No, resolveComponent as Ne, useModel as Aa, mergeModels as ua, useCssVars as L1, useId as Hi, onUpdated as j1, createApp as vA, inject as Ks, resolveDirective as Gn, createSlots as Sn, toHandlers as $a, useAttrs as S1, isRef as oa } from "vue";
2
2
  import { RouterLink as H1, useRoute as G1 } from "vue-router";
3
3
  import { useBreakpoints as gA, useScrollLock as bA, unrefElement as E1, tryOnScopeDispose as F1, useEventListener as I1, useMediaQuery as Y1, useDebounceFn as Z1, useFileDialog as N1, breakpointsTailwind as J1, useElementSize as V1, onClickOutside as X1 } from "@vueuse/core";
4
4
  import { parsePhoneNumberFromString as es, AsYouType as br } from "libphonenumber-js";
@@ -2720,7 +2720,7 @@ const X2 = ["aria-label", "innerHTML"], R2 = {
2720
2720
  ], 8, af)) : M("", !0)
2721
2721
  ], 6));
2722
2722
  }
2723
- }), St = /* @__PURE__ */ be(sf, [["__scopeId", "data-v-2b05a143"]]), Go = Math.min, bo = Math.max, Ts = Math.round, ns = Math.floor, Mn = (e) => ({
2723
+ }), Et = /* @__PURE__ */ be(sf, [["__scopeId", "data-v-2b05a143"]]), Go = Math.min, bo = Math.max, Ts = Math.round, ns = Math.floor, Mn = (e) => ({
2724
2724
  x: e,
2725
2725
  y: e
2726
2726
  }), lf = {
@@ -3827,7 +3827,7 @@ const Vf = zf, Xf = xf, Rf = hf, Qf = bf, Wf = (e, t, n) => {
3827
3827
  }, [
3828
3828
  ae(we.$slots, "default", {}, void 0, !0)
3829
3829
  ], 34),
3830
- (c(), T(Et, { to: "body" }, [
3830
+ (c(), T(Gt, { to: "body" }, [
3831
3831
  z(yt, { name: "ut-tooltip" }, {
3832
3832
  default: O(() => [
3833
3833
  !h(p) && e.active && v.value ? (c(), f("div", {
@@ -7720,7 +7720,7 @@ const U0 = ["href", "target"], q0 = /* @__PURE__ */ ie({
7720
7720
  const r = () => {
7721
7721
  !n.closeOnOverlayClick || n.disabled || o("update:modelValue", !1);
7722
7722
  };
7723
- return (i, A) => (c(), T(Et, { to: "body" }, [
7723
+ return (i, A) => (c(), T(Gt, { to: "body" }, [
7724
7724
  z(yt, { name: "utopia-fade" }, {
7725
7725
  default: O(() => [
7726
7726
  e.modelValue ? (c(), f("div", {
@@ -8206,13 +8206,13 @@ const _p = /* @__PURE__ */ ie({
8206
8206
  if (!o.allowKeyboardInput) return;
8207
8207
  const Te = p.value?.querySelector("input"), Ye = Te?.value ?? k.value, We = Te?.selectionStart ?? 0, $e = Te?.selectionEnd ?? 0, gt = Qp(String(oe ?? ""));
8208
8208
  if (k.value = gt, _e(() => {
8209
- const Gt = p.value?.querySelector("input");
8210
- if (!Gt) return;
8209
+ const Ht = p.value?.querySelector("input");
8210
+ if (!Ht) return;
8211
8211
  const { start: oo, end: ao } = Wp(Ye, We, $e, gt);
8212
- Gt.setSelectionRange(oo, ao);
8212
+ Ht.setSelectionRange(oo, ao);
8213
8213
  }), gt.replace(/\D/g, "").length === 8) {
8214
- const Gt = yl(gt);
8215
- Gt && me(Gt);
8214
+ const Ht = yl(gt);
8215
+ Ht && me(Ht);
8216
8216
  }
8217
8217
  }
8218
8218
  function le() {
@@ -8314,12 +8314,12 @@ const _p = /* @__PURE__ */ ie({
8314
8314
  if (!Te && !Ye) return;
8315
8315
  let We = Ie(x.value, j.value), $e = D.value;
8316
8316
  if (Te) {
8317
- const gt = Te.getHours(), Gt = Te.getMinutes();
8318
- (We < gt || We === gt && $e < Gt) && (Tt(gt, Gt), We = gt, $e = Gt);
8317
+ const gt = Te.getHours(), Ht = Te.getMinutes();
8318
+ (We < gt || We === gt && $e < Ht) && (Tt(gt, Ht), We = gt, $e = Ht);
8319
8319
  }
8320
8320
  if (Ye) {
8321
- const gt = Ye.getHours(), Gt = Ye.getMinutes();
8322
- (We > gt || We === gt && $e > Gt) && Tt(gt, Gt);
8321
+ const gt = Ye.getHours(), Ht = Ye.getMinutes();
8322
+ (We > gt || We === gt && $e > Ht) && Tt(gt, Ht);
8323
8323
  }
8324
8324
  }
8325
8325
  function tt() {
@@ -8414,7 +8414,7 @@ const _p = /* @__PURE__ */ ie({
8414
8414
  }
8415
8415
  const Pe = () => {
8416
8416
  if (!p.value || !m.value) return;
8417
- const oe = p.value.getBoundingClientRect(), Te = m.value.getBoundingClientRect(), Ye = Te.height || 400, We = Te.width || Math.max(oe.width, 300), $e = window.innerHeight, gt = window.innerWidth, Gt = $e - oe.bottom, oo = oe.top, ao = Gt < Ye && oo > Gt;
8417
+ const oe = p.value.getBoundingClientRect(), Te = m.value.getBoundingClientRect(), Ye = Te.height || 400, We = Te.width || Math.max(oe.width, 300), $e = window.innerHeight, gt = window.innerWidth, Ht = $e - oe.bottom, oo = oe.top, ao = Ht < Ye && oo > Ht;
8418
8418
  let An;
8419
8419
  ao ? An = oe.top - Ye - 8 : An = oe.bottom + 8, An < 8 && (An = 8), An + Ye > $e - 8 && (An = $e - Ye - 8);
8420
8420
  let On = oe.left;
@@ -8495,7 +8495,7 @@ const _p = /* @__PURE__ */ ie({
8495
8495
  onKeydown: _
8496
8496
  }, null, 8, ["model-value", "label", "required", "tooltip", "placeholder", "disabled", "readonly", "state", "size", "message"])
8497
8497
  ], 512),
8498
- (c(), T(Et, {
8498
+ (c(), T(Gt, {
8499
8499
  to: "body",
8500
8500
  disabled: !o.teleport
8501
8501
  }, [
@@ -8932,7 +8932,7 @@ const _p = /* @__PURE__ */ ie({
8932
8932
  class: "utopia-dropdown__chips",
8933
8933
  onScroll: H
8934
8934
  }, [
8935
- (c(!0), f(q, null, ge(y.value.slice(0, x.value), (de) => (c(), T(h(St), {
8935
+ (c(!0), f(q, null, ge(y.value.slice(0, x.value), (de) => (c(), T(h(Et), {
8936
8936
  key: `chip-${de.value}`,
8937
8937
  size: e.size,
8938
8938
  variant: "default",
@@ -8989,7 +8989,7 @@ const _p = /* @__PURE__ */ ie({
8989
8989
  class: "utopia-dropdown__chips utopia-dropdown__chips--outside",
8990
8990
  onScroll: H
8991
8991
  }, [
8992
- (c(!0), f(q, null, ge(y.value.slice(0, x.value), (de) => (c(), T(h(St), {
8992
+ (c(!0), f(q, null, ge(y.value.slice(0, x.value), (de) => (c(), T(h(Et), {
8993
8993
  key: `chip-out-${de.value}`,
8994
8994
  size: e.size,
8995
8995
  variant: "default",
@@ -9006,7 +9006,7 @@ const _p = /* @__PURE__ */ ie({
9006
9006
  ], 544),
9007
9007
  A.value && D.value ? (c(), f("div", cm)) : M("", !0)
9008
9008
  ])) : M("", !0),
9009
- (c(), T(Et, { to: "body" }, [
9009
+ (c(), T(Gt, { to: "body" }, [
9010
9010
  z(yt, { name: "utopia-dropdown-fade" }, {
9011
9011
  default: O(() => [
9012
9012
  u.value ? (c(), f("div", {
@@ -10063,7 +10063,7 @@ const cv = /* @__PURE__ */ ie({
10063
10063
  onToggle: d[0] || (d[0] = (b) => r(b))
10064
10064
  }, null, 8, ["label", "count", "active", "opened", "icon"])
10065
10065
  ], 512),
10066
- (c(), T(Et, { to: "body" }, [
10066
+ (c(), T(Gt, { to: "body" }, [
10067
10067
  z(yt, { name: "utopia-dropfilter-modal-fade" }, {
10068
10068
  default: O(() => [
10069
10069
  (c(), f("div", {
@@ -10179,7 +10179,7 @@ const cv = /* @__PURE__ */ ie({
10179
10179
  tag: "div"
10180
10180
  }, {
10181
10181
  default: O(() => [
10182
- (c(!0), f(q, null, ge(e.modelValue, (s) => (c(), T(St, {
10182
+ (c(!0), f(q, null, ge(e.modelValue, (s) => (c(), T(Et, {
10183
10183
  key: s.id,
10184
10184
  value: s.id,
10185
10185
  variant: t.variant,
@@ -12936,7 +12936,7 @@ const Jl = /* @__PURE__ */ new Map([
12936
12936
  }
12937
12937
  return Ot(() => {
12938
12938
  n.disableScrollLock || (I.value = !1), L();
12939
- }), (R, ee) => (c(), T(Et, { to: "body" }, [
12939
+ }), (R, ee) => (c(), T(Gt, { to: "body" }, [
12940
12940
  g("div", {
12941
12941
  class: F(["utopia-modal", [
12942
12942
  `utopia-modal--${e.position}`,
@@ -13759,7 +13759,7 @@ const S7 = { class: "utopia-filterlocation" }, H7 = {
13759
13759
  S(C(e.title), 1)
13760
13760
  ], !0)
13761
13761
  ]),
13762
- e.tag ? (c(), T(h(St), {
13762
+ e.tag ? (c(), T(h(Et), {
13763
13763
  key: 1,
13764
13764
  ghost: ""
13765
13765
  }, {
@@ -14591,7 +14591,7 @@ const S7 = { class: "utopia-filterlocation" }, H7 = {
14591
14591
  class: "utopia-multiselect__chips"
14592
14592
  }, {
14593
14593
  default: O(() => [
14594
- (c(!0), f(q, null, ge(e.modelValue, (j) => (c(), T(h(St), {
14594
+ (c(!0), f(q, null, ge(e.modelValue, (j) => (c(), T(h(Et), {
14595
14595
  key: j,
14596
14596
  removable: "",
14597
14597
  ghost: "",
@@ -15680,7 +15680,7 @@ const S7 = { class: "utopia-filterlocation" }, H7 = {
15680
15680
  function r(i) {
15681
15681
  o("dismiss", i);
15682
15682
  }
15683
- return (i, A) => (c(), T(Et, { to: "body" }, [
15683
+ return (i, A) => (c(), T(Gt, { to: "body" }, [
15684
15684
  (c(!0), f(q, null, ge(e.positions, (u) => (c(), f(q, { key: u }, [
15685
15685
  a(u).length > 0 ? (c(), f("div", {
15686
15686
  key: 0,
@@ -16012,7 +16012,7 @@ const F6 = { class: "utopia-loading-banner__track" }, I6 = { class: "utopia-load
16012
16012
  function o(s) {
16013
16013
  n("dismiss", s);
16014
16014
  }
16015
- return (s, a) => (c(), T(Et, { to: "body" }, [
16015
+ return (s, a) => (c(), T(Gt, { to: "body" }, [
16016
16016
  e.items.length > 0 ? (c(), f("div", _6, [
16017
16017
  z(No, {
16018
16018
  name: "utopia-lb-list",
@@ -17127,7 +17127,7 @@ const c5 = { class: "utopia-emptystate" }, A5 = { class: "utopia-emptystate__con
17127
17127
  g("div", k9, [
17128
17128
  l.value ? (c(), f("div", C9, [
17129
17129
  g("div", O9, [
17130
- (c(!0), f(q, null, ge(e.tags, (p, m) => (c(), T(St, {
17130
+ (c(!0), f(q, null, ge(e.tags, (p, m) => (c(), T(Et, {
17131
17131
  key: m,
17132
17132
  size: "extra-small"
17133
17133
  }, {
@@ -17138,7 +17138,7 @@ const c5 = { class: "utopia-emptystate" }, A5 = { class: "utopia-emptystate__con
17138
17138
  }, 1024))), 128))
17139
17139
  ]),
17140
17140
  g("div", B9, [
17141
- e.available ? M("", !0) : (c(), T(St, {
17141
+ e.available ? M("", !0) : (c(), T(Et, {
17142
17142
  key: 0,
17143
17143
  size: "extra-small",
17144
17144
  variant: "danger"
@@ -17161,7 +17161,7 @@ const c5 = { class: "utopia-emptystate" }, A5 = { class: "utopia-emptystate__con
17161
17161
  S(C(e.subventionTooltip), 1)
17162
17162
  ]),
17163
17163
  default: O(() => [
17164
- z(St, {
17164
+ z(Et, {
17165
17165
  size: "extra-small",
17166
17166
  customColor: "--theme-colors-common-subvention-700",
17167
17167
  customTextColor: "--theme-colors-surface-card",
@@ -17191,7 +17191,7 @@ const c5 = { class: "utopia-emptystate" }, A5 = { class: "utopia-emptystate__con
17191
17191
  ])
17192
17192
  ]),
17193
17193
  default: O(() => [
17194
- z(St, {
17194
+ z(Et, {
17195
17195
  class: "utopia-productcard__discount",
17196
17196
  size: "extra-small",
17197
17197
  customColor: "--theme-colors-brand-accent-500",
@@ -18165,7 +18165,7 @@ const Mb = ["title"], kb = ["title"], Cb = ["title"], Ob = { class: "pm-image-po
18165
18165
  onPmVideoEnter: L[3] || (L[3] = (...J) => h(y) && h(y)(...J)),
18166
18166
  onPmVideoLeave: L[4] || (L[4] = (...J) => h(x) && h(x)(...J))
18167
18167
  }, null, 544),
18168
- (c(), T(Et, { to: "body" }, [
18168
+ (c(), T(Gt, { to: "body" }, [
18169
18169
  h(A) ? (c(), f("div", {
18170
18170
  key: 0,
18171
18171
  class: "pm-column-delete-overlay",
@@ -18187,7 +18187,7 @@ const Mb = ["title"], kb = ["title"], Cb = ["title"], Ob = { class: "pm-image-po
18187
18187
  }, null, 8, ["onMousedown"])
18188
18188
  ], 36)) : M("", !0)
18189
18189
  ])),
18190
- (c(), T(Et, { to: "body" }, [
18190
+ (c(), T(Gt, { to: "body" }, [
18191
18191
  h(k) ? (c(), f("div", {
18192
18192
  key: 0,
18193
18193
  class: "pm-column-delete-overlay",
@@ -18209,7 +18209,7 @@ const Mb = ["title"], kb = ["title"], Cb = ["title"], Ob = { class: "pm-image-po
18209
18209
  }, null, 8, ["onMousedown"])
18210
18210
  ], 36)) : M("", !0)
18211
18211
  ])),
18212
- (c(), T(Et, { to: "body" }, [
18212
+ (c(), T(Gt, { to: "body" }, [
18213
18213
  z(yt, { name: "pm-link-popover" }, {
18214
18214
  default: O(() => [
18215
18215
  e.showLinkPopover ? (c(), f("div", {
@@ -18270,7 +18270,7 @@ const Mb = ["title"], kb = ["title"], Cb = ["title"], Ob = { class: "pm-image-po
18270
18270
  _: 1
18271
18271
  })
18272
18272
  ])),
18273
- (c(), T(Et, { to: "body" }, [
18273
+ (c(), T(Gt, { to: "body" }, [
18274
18274
  z(yt, { name: "pm-image-popover" }, {
18275
18275
  default: O(() => [
18276
18276
  e.showImagePopover ? (c(), f("div", {
@@ -18409,7 +18409,7 @@ const Mb = ["title"], kb = ["title"], Cb = ["title"], Ob = { class: "pm-image-po
18409
18409
  ]),
18410
18410
  _: 1
18411
18411
  }, 8, ["open", "title"]),
18412
- (c(), T(Et, { to: "body" }, [
18412
+ (c(), T(Gt, { to: "body" }, [
18413
18413
  z(yt, { name: "pm-image-edit-popin" }, {
18414
18414
  default: O(() => [
18415
18415
  e.showImageEditPopin ? (c(), f("div", {
@@ -18816,7 +18816,7 @@ const Mb = ["title"], kb = ["title"], Cb = ["title"], Ob = { class: "pm-image-po
18816
18816
  s.value && v && (b(), await _e(), await d());
18817
18817
  }), kn(() => {
18818
18818
  b();
18819
- }), (v, y) => (c(), T(Et, { to: "body" }, [
18819
+ }), (v, y) => (c(), T(Gt, { to: "body" }, [
18820
18820
  z(yt, { name: "utopia-image-editor-fade" }, {
18821
18821
  default: O(() => [
18822
18822
  s.value ? (c(), f("div", {
@@ -20199,10 +20199,10 @@ const _h = {
20199
20199
  ne(Se.scrollIntoView()), N.focus();
20200
20200
  }
20201
20201
  vo(ue.nodes.paragraph);
20202
- const bt = Ms(ue.nodes.bullet_list), Wt = Ms(ue.nodes.ordered_list), Zt = t2(ue.nodes.blockquote), oe = vo(ue.nodes.code_block), Te = $(bt), Ye = $(Wt), We = $(Zt), $e = $(oe), gt = G(!1), Gt = G(!1), oo = G(!1), ao = G(!1), An = G(!1);
20202
+ const bt = Ms(ue.nodes.bullet_list), Wt = Ms(ue.nodes.ordered_list), Zt = t2(ue.nodes.blockquote), oe = vo(ue.nodes.code_block), Te = $(bt), Ye = $(Wt), We = $(Zt), $e = $(oe), gt = G(!1), Ht = G(!1), oo = G(!1), ao = G(!1), An = G(!1);
20203
20203
  function On(N) {
20204
20204
  const { from: Z, to: ne, empty: fe, $from: ve } = N.selection;
20205
- if (ue.marks.strong ? gt.value = fe ? !!ue.marks.strong.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.strong) : gt.value = !1, ue.marks.em ? Gt.value = fe ? !!ue.marks.em.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.em) : Gt.value = !1, ue.marks.link ? An.value = fe ? !!ue.marks.link.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.link) : An.value = !1, ue.marks.underline ? oo.value = fe ? !!ue.marks.underline.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.underline) : oo.value = !1, ue.marks.strikethrough ? ao.value = fe ? !!ue.marks.strikethrough.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.strikethrough) : ao.value = !1, ue.marks.textColor) {
20205
+ if (ue.marks.strong ? gt.value = fe ? !!ue.marks.strong.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.strong) : gt.value = !1, ue.marks.em ? Ht.value = fe ? !!ue.marks.em.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.em) : Ht.value = !1, ue.marks.link ? An.value = fe ? !!ue.marks.link.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.link) : An.value = !1, ue.marks.underline ? oo.value = fe ? !!ue.marks.underline.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.underline) : oo.value = !1, ue.marks.strikethrough ? ao.value = fe ? !!ue.marks.strikethrough.isInSet(N.storedMarks || ve.marks()) : N.doc.rangeHasMark(Z, ne, ue.marks.strikethrough) : ao.value = !1, ue.marks.textColor) {
20206
20206
  let ze = null;
20207
20207
  if (fe)
20208
20208
  ze = (N.storedMarks || ve.marks()).find((Ce) => Ce.type === ue.marks.textColor);
@@ -21108,7 +21108,7 @@ const _h = {
21108
21108
  "current-text-color": b.value,
21109
21109
  "is-link-active": An.value,
21110
21110
  "is-bold-active": gt.value,
21111
- "is-italic-active": Gt.value,
21111
+ "is-italic-active": Ht.value,
21112
21112
  "is-underline-active": oo.value,
21113
21113
  "is-strikethrough-active": ao.value,
21114
21114
  "can-link": Al(),
@@ -24046,7 +24046,7 @@ var Un = Ji(), qi = {
24046
24046
  function Bz(e, t, n, o, s, a) {
24047
24047
  return a.inline ? ae(e.$slots, "default", {
24048
24048
  key: 0
24049
- }) : s.mounted ? (c(), T(Et, {
24049
+ }) : s.mounted ? (c(), T(Gt, {
24050
24050
  key: 1,
24051
24051
  to: n.appendTo
24052
24052
  }, [ae(e.$slots, "default")], 8, ["to"])) : M("", !0);
@@ -38304,7 +38304,7 @@ kd.render = aO;
38304
38304
  function Cd(e) {
38305
38305
  return e === "" ? e : e.replace(/\["([^"]+)"\]/g, ".$1").replace(/\['([^']+)'\]/g, ".$1");
38306
38306
  }
38307
- function Ht(e, t) {
38307
+ function St(e, t) {
38308
38308
  if (e == null || t === "") return;
38309
38309
  const n = Cd(t);
38310
38310
  if (!n.includes(".")) return e[n];
@@ -38349,7 +38349,7 @@ const sO = { class: "data-cell-wrapper" }, Ml = /* @__PURE__ */ ie({
38349
38349
  () => t.columnConfig.content ?? {}
38350
38350
  ), o = P(() => n.value.size ?? "sm"), s = P(() => n.value.weight ?? "normal"), a = P(() => n.value.color ?? "common-primary-500"), l = P(() => {
38351
38351
  const i = n.value.key;
38352
- return Ht(t.data, i);
38352
+ return St(t.data, i);
38353
38353
  }), r = P(() => {
38354
38354
  const i = t.columnConfig.contentType, A = l.value;
38355
38355
  if (!A) return [];
@@ -38410,7 +38410,7 @@ const sO = { class: "data-cell-wrapper" }, Ml = /* @__PURE__ */ ie({
38410
38410
  },
38411
38411
  setup(e) {
38412
38412
  function t(u, p) {
38413
- return p == null ? [] : (typeof p == "string" ? [p] : p).map((d) => Ht(u, d));
38413
+ return p == null ? [] : (typeof p == "string" ? [p] : p).map((d) => St(u, d));
38414
38414
  }
38415
38415
  function n(u, p) {
38416
38416
  if (u)
@@ -38421,7 +38421,7 @@ const sO = { class: "data-cell-wrapper" }, Ml = /* @__PURE__ */ ie({
38421
38421
  ), a = P(() => o.data), l = P(() => {
38422
38422
  const u = s.value?.image;
38423
38423
  return u ? {
38424
- src: u?.key ? Ht(a.value, u.key) : void 0,
38424
+ src: u?.key ? St(a.value, u.key) : void 0,
38425
38425
  alt: u?.alt,
38426
38426
  title: u?.title,
38427
38427
  width: u?.width,
@@ -38597,11 +38597,11 @@ const sO = { class: "data-cell-wrapper" }, Ml = /* @__PURE__ */ ie({
38597
38597
  const t = e, n = P(() => t.content ?? {}), o = P(() => {
38598
38598
  const a = n.value?.key;
38599
38599
  if (!a) return "";
38600
- const l = Ht(t.data, a);
38600
+ const l = St(t.data, a);
38601
38601
  return t.columnConfig.content && t.columnConfig.content.options ? t.columnConfig.content.options.find((i) => i.value === l) : null;
38602
38602
  }), s = P(() => n.value?.size ?? "extra-small");
38603
38603
  return (a, l) => (c(), f("div", fO, [
38604
- o.value ? (c(), T(St, {
38604
+ o.value ? (c(), T(Et, {
38605
38605
  key: 0,
38606
38606
  size: s.value,
38607
38607
  variant: o.value?.variant,
@@ -38634,7 +38634,7 @@ const sO = { class: "data-cell-wrapper" }, Ml = /* @__PURE__ */ ie({
38634
38634
  const t = e, n = P(() => t.content), o = P(() => {
38635
38635
  const s = n.value?.key;
38636
38636
  if (!s) return 0;
38637
- const a = Ht(t.data, s);
38637
+ const a = St(t.data, s);
38638
38638
  return t.format ? t.format(a) : a ?? 0;
38639
38639
  });
38640
38640
  return (s, a) => (c(), f("div", mO, [
@@ -38662,7 +38662,7 @@ const sO = { class: "data-cell-wrapper" }, Ml = /* @__PURE__ */ ie({
38662
38662
  setup(e) {
38663
38663
  const t = e, n = P(() => t.content), o = P(() => {
38664
38664
  const a = n.value?.key;
38665
- return a ? Ht(t.data, a) ?? !1 : !1;
38665
+ return a ? St(t.data, a) ?? !1 : !1;
38666
38666
  }), s = P(() => n.value?.disabled ?? !0);
38667
38667
  return (a, l) => (c(), f("div", gO, [
38668
38668
  z(pa, {
@@ -38687,12 +38687,12 @@ const sO = { class: "data-cell-wrapper" }, Ml = /* @__PURE__ */ ie({
38687
38687
  const t = e, n = P(() => t.columnConfig.content ?? {}), o = P(() => t.data), s = P(() => {
38688
38688
  const b = n.value?.fromKey;
38689
38689
  if (!b) return "";
38690
- const w = Ht(o.value, b);
38690
+ const w = St(o.value, b);
38691
38691
  return t.formatDate ? t.formatDate(w) : w;
38692
38692
  }), a = P(() => {
38693
38693
  const b = n.value?.toKey;
38694
38694
  if (!b) return "";
38695
- const w = Ht(o.value, b);
38695
+ const w = St(o.value, b);
38696
38696
  return t.formatDate ? t.formatDate(w) : w;
38697
38697
  }), l = P(() => n.value?.fromSize ?? "sm"), r = P(() => n.value?.fromWeight ?? "normal"), i = P(() => n.value?.fromColor ?? "common-primary-500"), A = P(() => n.value?.toSize ?? "sm"), u = P(() => n.value?.toWeight ?? "normal"), p = P(() => n.value?.toColor ?? "common-primary-500"), m = P(() => ({
38698
38698
  fr: { to: "à" },
@@ -38767,10 +38767,10 @@ const sO = { class: "data-cell-wrapper" }, Ml = /* @__PURE__ */ ie({
38767
38767
  setup(e) {
38768
38768
  const t = e, n = P(() => t.content), o = P(() => t.data), s = P(() => {
38769
38769
  const l = n.value?.key;
38770
- return l ? Ht(o.value, l) ?? 0 : 0;
38770
+ return l ? St(o.value, l) ?? 0 : 0;
38771
38771
  }), a = P(() => {
38772
38772
  const l = n.value?.maxKey;
38773
- return l ? Ht(o.value, l) : void 0;
38773
+ return l ? St(o.value, l) : void 0;
38774
38774
  });
38775
38775
  return (l, r) => (c(), f("div", xO, [
38776
38776
  z(Fo, {
@@ -38808,7 +38808,7 @@ const sO = { class: "data-cell-wrapper" }, Ml = /* @__PURE__ */ ie({
38808
38808
  () => t.columnConfig.content
38809
38809
  ), o = P(() => {
38810
38810
  const s = n.value?.key;
38811
- return s ? Ht(t.data, s) : void 0;
38811
+ return s ? St(t.data, s) : void 0;
38812
38812
  });
38813
38813
  return (s, a) => (c(), f("div", MO, [
38814
38814
  z(h(sn), {
@@ -38853,7 +38853,7 @@ function AA(e, t) {
38853
38853
  if (o === "field") {
38854
38854
  if (!t)
38855
38855
  return null;
38856
- const s = Ht(t, n);
38856
+ const s = St(t, n);
38857
38857
  if (s != null)
38858
38858
  return s;
38859
38859
  }
@@ -38962,7 +38962,7 @@ function Bd(e, t) {
38962
38962
  (u) => u.field === l
38963
38963
  );
38964
38964
  if (r.length === 0) continue;
38965
- const i = Ht(a, l), A = r.filter(
38965
+ const i = St(a, l), A = r.filter(
38966
38966
  (u) => Od(u, i, e)
38967
38967
  );
38968
38968
  for (const u of A)
@@ -39084,7 +39084,7 @@ const BO = { class: "utopia-table-error-tooltip-content" }, TO = { class: "utopi
39084
39084
  },
39085
39085
  setup(e) {
39086
39086
  const t = e, n = P(() => t.data), o = P({
39087
- get: () => Ht(n.value, t.field) ?? "",
39087
+ get: () => St(n.value, t.field) ?? "",
39088
39088
  set: (r) => cl(n.value, t.field, r === "" ? void 0 : r)
39089
39089
  }), s = P(() => t.fieldErrors && t.fieldErrors.length > 0 ? "error" : "default"), a = P(() => {
39090
39090
  if (!(!t.fieldErrors || t.fieldErrors.length === 0))
@@ -39155,7 +39155,7 @@ const dA = /* @__PURE__ */ ie({
39155
39155
  const t = e, n = P(() => t.data), o = P(
39156
39156
  () => t.columnConfig.contentType === pt.DATE_TIME
39157
39157
  ), s = LO(
39158
- () => Ht(n.value, t.field) ?? null,
39158
+ () => St(n.value, t.field) ?? null,
39159
39159
  (r) => cl(n.value, t.field, r),
39160
39160
  { enableTime: o.value }
39161
39161
  ), a = P(() => t.fieldErrors && t.fieldErrors.length > 0 ? "error" : "default"), l = P(() => {
@@ -39190,7 +39190,7 @@ const dA = /* @__PURE__ */ ie({
39190
39190
  XA
39191
39191
  ), o = P(() => t.data), s = P({
39192
39192
  get() {
39193
- const i = Ht(o.value, t.field);
39193
+ const i = St(o.value, t.field);
39194
39194
  return i != null ? String(i) : "";
39195
39195
  },
39196
39196
  set(i) {
@@ -39231,7 +39231,7 @@ const dA = /* @__PURE__ */ ie({
39231
39231
  setup(e) {
39232
39232
  const t = e, n = P(() => t.data), o = P(() => t.columnConfig.content ?? {}), s = P({
39233
39233
  get() {
39234
- const r = Ht(n.value, t.field);
39234
+ const r = St(n.value, t.field);
39235
39235
  if (r != null)
39236
39236
  return r;
39237
39237
  },
@@ -39288,7 +39288,7 @@ const dA = /* @__PURE__ */ ie({
39288
39288
  ), a = P(() => {
39289
39289
  if (!n.data.errors || !Array.isArray(n.data.errors))
39290
39290
  return [];
39291
- const r = Ht(n.data, n.field);
39291
+ const r = St(n.data, n.field);
39292
39292
  return n.data.errors.filter(
39293
39293
  (A) => A.field === n.field
39294
39294
  ).filter(
@@ -40218,7 +40218,7 @@ const EO = /* @__PURE__ */ ie({
40218
40218
  const je = { textAlign: se.align ?? "left" };
40219
40219
  return se.width ? (je.width = se.width, je) : ((se.minWidth ?? se.maxWidth) && (se.minWidth && (je.minWidth = se.minWidth), se.maxWidth && (je.maxWidth = se.maxWidth)), je);
40220
40220
  }, Ee = (se) => (s.sortable ?? !0) && se.sortable !== !1, W = (se) => (s.reorderableColumns ?? !1) && se.reorderableColumn !== !1, re = (se) => s.canEdit && (s.editable ?? !1) && se.editable !== !1, Ie = (se, je) => s.isCsvDataCheckMode ? Bd(se, je).length > 0 : !1, Ve = (se) => {
40221
- const je = Ht(se.data, se.field), $ = Ht(se.newData, se.field);
40221
+ const je = St(se.data, se.field), $ = St(se.newData, se.field);
40222
40222
  je !== $ && a("update:columnData", se);
40223
40223
  }, lt = (se) => {
40224
40224
  const je = se.originalEvent?.target;
@@ -43480,7 +43480,7 @@ const wB = ["id"], zB = {
43480
43480
  ], 2))), 128)) : M("", !0),
43481
43481
  g("div", SL, [
43482
43482
  g("div", HL, [
43483
- z(St, {
43483
+ z(Et, {
43484
43484
  size: "extra-small",
43485
43485
  variant: "default"
43486
43486
  }, {
@@ -43510,7 +43510,7 @@ const wB = ["id"], zB = {
43510
43510
  _: 1
43511
43511
  })
43512
43512
  ])) : M("", !0),
43513
- e.outOfStock ? (c(), T(St, {
43513
+ e.outOfStock ? (c(), T(Et, {
43514
43514
  key: 1,
43515
43515
  size: "small",
43516
43516
  variant: "danger",
@@ -43848,7 +43848,7 @@ const wB = ["id"], zB = {
43848
43848
  })
43849
43849
  ]),
43850
43850
  g("div", oj, [
43851
- (c(!0), f(q, null, ge(e.validity.options, (E) => (c(), T(St, {
43851
+ (c(!0), f(q, null, ge(e.validity.options, (E) => (c(), T(Et, {
43852
43852
  key: E.label,
43853
43853
  size: "extra-small",
43854
43854
  variant: E.valid ? "success" : "danger",
@@ -45040,7 +45040,7 @@ const wB = ["id"], zB = {
45040
45040
  radius: 8,
45041
45041
  fit: "cover"
45042
45042
  }, null, 8, ["src", "alt"]),
45043
- z(St, {
45043
+ z(Et, {
45044
45044
  class: "utopia-product-recap__tag",
45045
45045
  variant: "default",
45046
45046
  size: "extra-small"
@@ -45064,17 +45064,7 @@ const wB = ["id"], zB = {
45064
45064
  S(C(e.title), 1)
45065
45065
  ]),
45066
45066
  _: 1
45067
- }, 8, ["size"]),
45068
- e.outOfStock && !l.value ? (c(), T(St, {
45069
- key: 0,
45070
- variant: "danger",
45071
- size: "extra-small"
45072
- }, {
45073
- default: O(() => [
45074
- S(C(e.outOfStockLabel), 1)
45075
- ]),
45076
- _: 1
45077
- })) : M("", !0)
45067
+ }, 8, ["size"])
45078
45068
  ]),
45079
45069
  g("div", Ij, [
45080
45070
  z(te, {
@@ -45090,7 +45080,7 @@ const wB = ["id"], zB = {
45090
45080
  }, 8, ["size"])
45091
45081
  ]),
45092
45082
  e.outOfStock || e.chips && e.chips.length ? (c(), f("div", Yj, [
45093
- e.outOfStock && l.value ? (c(), T(St, {
45083
+ e.outOfStock ? (c(), T(Et, {
45094
45084
  key: 0,
45095
45085
  variant: "danger",
45096
45086
  size: "extra-small"
@@ -45102,7 +45092,7 @@ const wB = ["id"], zB = {
45102
45092
  })) : M("", !0),
45103
45093
  e.chips && e.chips.length ? (c(!0), f(q, { key: 1 }, ge(e.chips, (u, p) => (c(), T(ot, {
45104
45094
  key: `${u.label}-${p}`,
45105
- active: !e.outOfStock && u.tooltip && u.tooltip.length > 0
45095
+ active: !!(!e.outOfStock && u.tooltip && u.tooltip.length > 0)
45106
45096
  }, {
45107
45097
  content: O(() => [
45108
45098
  (c(!0), f(q, null, ge(u.tooltip, (m) => (c(), T(te, { class: "utopia-product-recap__chip-tooltip" }, {
@@ -45113,7 +45103,7 @@ const wB = ["id"], zB = {
45113
45103
  }, 1024))), 256))
45114
45104
  ]),
45115
45105
  default: O(() => [
45116
- z(St, {
45106
+ z(Et, {
45117
45107
  variant: e.outOfStock ? "secondary" : u.variant ?? "default",
45118
45108
  disabled: e.outOfStock,
45119
45109
  "left-icon": u.leftIcon,
@@ -45147,7 +45137,7 @@ const wB = ["id"], zB = {
45147
45137
  l.value ? M("", !0) : (c(), T(Le, {
45148
45138
  key: 0,
45149
45139
  icon: "fa:regular:trash",
45150
- size: "md",
45140
+ size: "sm",
45151
45141
  aspect: e.outOfStock ? "filled" : "outlined",
45152
45142
  color: e.outOfStock ? "common-danger" : "brand-secondary",
45153
45143
  onClick: A[1] || (A[1] = (u) => o("delete"))
@@ -45161,9 +45151,8 @@ const wB = ["id"], zB = {
45161
45151
  min: e.minQuantity,
45162
45152
  max: e.maxQuantity,
45163
45153
  size: "sm",
45164
- disabled: e.outOfStock,
45165
45154
  "onUpdate:quantity": A[2] || (A[2] = (u) => o("update:quantity", u))
45166
- }, null, 8, ["quantity", "min", "max", "disabled"])
45155
+ }, null, 8, ["quantity", "min", "max"])
45167
45156
  ]),
45168
45157
  g("div", {
45169
45158
  class: F(["utopia-product-recap__price", { "utopia-product-recap__price--compact": l.value }])
@@ -45242,7 +45231,7 @@ const wB = ["id"], zB = {
45242
45231
  ], 2)
45243
45232
  ], 2));
45244
45233
  }
45245
- }), HE = /* @__PURE__ */ be(Vj, [["__scopeId", "data-v-508ff7fd"]]), Xj = { class: "utopia-order-recap" }, Rj = { class: "utopia-order-recap__header" }, Qj = { class: "utopia-order-recap__row" }, Wj = {
45234
+ }), HE = /* @__PURE__ */ be(Vj, [["__scopeId", "data-v-b70bf3e3"]]), Xj = { class: "utopia-order-recap" }, Rj = { class: "utopia-order-recap__header" }, Qj = { class: "utopia-order-recap__row" }, Wj = {
45246
45235
  key: 0,
45247
45236
  class: "utopia-order-recap__row"
45248
45237
  }, Kj = { class: "utopia-order-recap__advantages" }, Uj = {
@@ -45596,7 +45585,7 @@ const wB = ["id"], zB = {
45596
45585
  g("div", rS, [
45597
45586
  g("div", cS, [
45598
45587
  g("div", AS, [
45599
- z(h(St), {
45588
+ z(h(Et), {
45600
45589
  variant: "danger",
45601
45590
  size: "small",
45602
45591
  ghost: ""
@@ -45624,7 +45613,7 @@ const wB = ["id"], zB = {
45624
45613
  _: 1
45625
45614
  }),
45626
45615
  e.tags && e.tags.length ? (c(), f("div", dS, [
45627
- (c(!0), f(q, null, ge(e.tags, (r) => (c(), T(h(St), {
45616
+ (c(!0), f(q, null, ge(e.tags, (r) => (c(), T(h(Et), {
45628
45617
  key: r.label,
45629
45618
  "left-icon": r.icon,
45630
45619
  size: "small",
@@ -45801,7 +45790,7 @@ const wB = ["id"], zB = {
45801
45790
  _: 2
45802
45791
  }, 1024),
45803
45792
  r.tags?.length ? (c(), f("div", MS, [
45804
- (c(!0), f(q, null, ge(r.tags, (i) => (c(), T(h(St), {
45793
+ (c(!0), f(q, null, ge(r.tags, (i) => (c(), T(h(Et), {
45805
45794
  key: i,
45806
45795
  size: "extra-small",
45807
45796
  ghost: "",
@@ -46026,7 +46015,7 @@ const wB = ["id"], zB = {
46026
46015
  d();
46027
46016
  }, 100);
46028
46017
  };
46029
- return (k, v) => (c(), T(Et, { to: "body" }, [
46018
+ return (k, v) => (c(), T(Gt, { to: "body" }, [
46030
46019
  z(yt, { name: "mobile-menu" }, {
46031
46020
  default: O(() => [
46032
46021
  e.isOpen ? (c(), f("div", NS, [
@@ -46522,7 +46511,7 @@ const wB = ["id"], zB = {
46522
46511
  ]),
46523
46512
  _: 3
46524
46513
  }, 16, ["to", "href", "class", "tabindex", "role", "aria-current", "aria-label", "title"])),
46525
- e.collapsed && a.value && !e.hideTooltip ? (c(), T(Et, {
46514
+ e.collapsed && a.value && !e.hideTooltip ? (c(), T(Gt, {
46526
46515
  key: 0,
46527
46516
  to: "body"
46528
46517
  }, [
@@ -46653,7 +46642,7 @@ const wB = ["id"], zB = {
46653
46642
  ae(v.$slots, "default", {}, void 0, !0)
46654
46643
  ])
46655
46644
  ], 10, PH),
46656
- e.collapsed && u.value ? (c(), T(Et, {
46645
+ e.collapsed && u.value ? (c(), T(Gt, {
46657
46646
  key: 2,
46658
46647
  to: "body"
46659
46648
  }, [
@@ -46887,7 +46876,7 @@ const wB = ["id"], zB = {
46887
46876
  ]))), 128))
46888
46877
  ])
46889
46878
  ], 10, LH)) : M("", !0),
46890
- e.collapsed && e.children?.length && i.value ? (c(), T(Et, {
46879
+ e.collapsed && e.children?.length && i.value ? (c(), T(Gt, {
46891
46880
  key: 1,
46892
46881
  to: "body"
46893
46882
  }, [
@@ -47668,7 +47657,7 @@ export {
47668
47657
  pt as CellContentType,
47669
47658
  ft as CellFilterType,
47670
47659
  yo as Checkbox,
47671
- St as Chip,
47660
+ Et as Chip,
47672
47661
  uE as ContactBloc,
47673
47662
  ep as CopyCode,
47674
47663
  Mu as CounterButtons,