@milaboratories/uikit 1.2.16 → 1.2.18

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/pl-uikit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Vs = Object.defineProperty;
2
2
  var Ts = (n, e, t) => e in n ? Vs(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Tn = (n, e, t) => Ts(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as Z, reactive as pe, ref as N, openBlock as d, createElementBlock as p, normalizeClass as K, withModifiers as ie, renderSlot as W, onMounted as me, unref as C, onUnmounted as Oe, watchEffect as un, createElementVNode as h, createTextVNode as m, createCommentVNode as T, toDisplayString as F, normalizeStyle as te, computed as g, nextTick as xe, watchPostEffect as Lt, createBlock as X, Fragment as le, renderList as ue, createVNode as re, withCtx as se, mergeProps as ve, h as dn, render as Sn, inject as Ss, resolveDynamicComponent as Ln, watch as de, provide as Nn, useSlots as _e, toRef as cn, Teleport as pn, Transition as fn, withKeys as ze, normalizeProps as Es, guardReactiveProps as Rs, onUpdated as mn, onBeforeUnmount as Os, withDirectives as be, vModelText as He, useCssVars as Bs, vShow as St, createSlots as Ms, useAttrs as Zn } from "vue";
4
+ import { defineComponent as Z, reactive as pe, ref as N, openBlock as d, createElementBlock as p, normalizeClass as K, withModifiers as ie, renderSlot as W, onMounted as me, unref as $, onUnmounted as Oe, watchEffect as un, createElementVNode as h, createTextVNode as m, createCommentVNode as T, toDisplayString as F, normalizeStyle as te, computed as g, nextTick as xe, watchPostEffect as Lt, createBlock as X, Fragment as le, renderList as ue, createVNode as re, withCtx as se, mergeProps as ve, h as dn, render as Sn, inject as Ss, resolveDynamicComponent as Ln, watch as de, provide as Nn, useSlots as _e, toRef as cn, Teleport as pn, Transition as fn, withKeys as ze, normalizeProps as Es, guardReactiveProps as Rs, onUpdated as mn, onBeforeUnmount as Os, withDirectives as be, vModelText as He, useCssVars as Bs, vShow as St, createSlots as Ms, useAttrs as Zn } from "vue";
5
5
  const Ds = 10, As = 30, Ps = [
6
6
  {
7
7
  text: "Delete row",
@@ -77,10 +77,10 @@ const Ds = 10, As = 30, Ps = [
77
77
  function ce(n, e, t, o = !1) {
78
78
  me(() => {
79
79
  var s;
80
- return (s = C(n)) == null ? void 0 : s.addEventListener(e, t, o);
80
+ return (s = $(n)) == null ? void 0 : s.addEventListener(e, t, o);
81
81
  }), Oe(() => {
82
82
  var s;
83
- return (s = C(n)) == null ? void 0 : s.removeEventListener(e, t, o);
83
+ return (s = $(n)) == null ? void 0 : s.removeEventListener(e, t, o);
84
84
  });
85
85
  }
86
86
  function Ns(n) {
@@ -569,7 +569,7 @@ function qt(n, e) {
569
569
  }
570
570
  function Wo(n) {
571
571
  var t;
572
- const e = Ot.tapIf((t = C(n)) == null ? void 0 : t.querySelectorAll(".th-cell"), (o) => [...o]) ?? [];
572
+ const e = Ot.tapIf((t = $(n)) == null ? void 0 : t.querySelectorAll(".th-cell"), (o) => [...o]) ?? [];
573
573
  return e.map((o, s) => {
574
574
  const { width: r, x: l } = o.getBoundingClientRect();
575
575
  return {
@@ -858,15 +858,15 @@ const Kt = 40, af = /* @__PURE__ */ Z({
858
858
  r.bodyHeight = z.getBoundingClientRect().height;
859
859
  });
860
860
  }, c = g(() => s.settings.autoLastColumn ? [...s.settings.columns, { name: o(), text: "_" }] : s.settings.columns), f = g(() => {
861
- const { columnsMeta: z } = r, O = C(c), M = Object.keys(z).length;
861
+ const { columnsMeta: z } = r, O = $(c), M = Object.keys(z).length;
862
862
  return O.map((y, v) => v == O.length - 1 ? M ? "minmax(100px, 1fr)" : y.width ?? "minmax(100px, 1fr)" : z[v] ? z[v].width + "px" : y.width ?? "140px").join(" ");
863
863
  }), x = g(() => ({
864
- gridColumn: "1 / " + C(c).length + 1
865
- })), b = g(() => C(c).reduce(
864
+ gridColumn: "1 / " + $(c).length + 1
865
+ })), b = g(() => $(c).reduce(
866
866
  (z, O) => (z[O.name] = O.justify ? "justify-" + O.justify : "", z),
867
867
  {}
868
- )), $ = g(() => {
869
- const z = C(c), O = s.settings.rows.slice(), { bodyHeight: M, scrollTop: y } = r;
868
+ )), C = g(() => {
869
+ const z = $(c), O = s.settings.rows.slice(), { bodyHeight: M, scrollTop: y } = r;
870
870
  if (s.settings.selfSort) {
871
871
  const V = z.reduce(
872
872
  (w, S) => {
@@ -926,13 +926,13 @@ const Kt = 40, af = /* @__PURE__ */ Z({
926
926
  return me(() => {
927
927
  xe(u);
928
928
  }), Lt(() => {
929
- C(s.settings), xe(u);
929
+ $(s.settings), xe(u);
930
930
  }), ce(window, "resize", () => xe(u)), (z, O) => (d(), p("div", {
931
931
  ref_key: "tableRef",
932
932
  ref: l,
933
933
  class: "grid-table",
934
934
  onMousedown: O[5] || (O[5] = //@ts-ignore
935
- (...M) => C(R) && C(R)(...M))
935
+ (...M) => $(R) && $(R)(...M))
936
936
  }, [
937
937
  z.settings.addColumn ? (d(), X(Qo, {
938
938
  key: 0,
@@ -962,7 +962,7 @@ const Kt = 40, af = /* @__PURE__ */ Z({
962
962
  class: "table-body",
963
963
  onScroll: B
964
964
  }, [
965
- $.value.length === 0 ? (d(), p("div", {
965
+ C.value.length === 0 ? (d(), p("div", {
966
966
  key: 0,
967
967
  class: "table-body__no-data",
968
968
  style: te(x.value)
@@ -974,7 +974,7 @@ const Kt = 40, af = /* @__PURE__ */ Z({
974
974
  ])
975
975
  ], 4)) : T("", !0),
976
976
  O[8] || (O[8] = m()),
977
- (d(!0), p(le, null, ue($.value, (M, y) => (d(), X(rr, {
977
+ (d(!0), p(le, null, ue(C.value, (M, y) => (d(), X(rr, {
978
978
  key: y,
979
979
  visible: M.visible,
980
980
  height: M.height,
@@ -1062,7 +1062,7 @@ const ls = Symbol(), Nt = () => Ss(ls), yr = ["value"], _r = { key: 1 }, br = /*
1062
1062
  }), r = g(() => o.valueType), l = (u) => {
1063
1063
  var b;
1064
1064
  let c = (b = u.target) == null ? void 0 : b.value;
1065
- const f = C(r), x = Un(() => f === "integer" ? parseInt(c, 10) : f === "float" ? Number(c) : c);
1065
+ const f = $(r), x = Un(() => f === "integer" ? parseInt(c, 10) : f === "float" ? Number(c) : c);
1066
1066
  t("update:modelValue", x), s.edit = !1;
1067
1067
  }, i = N(), a = (u) => {
1068
1068
  !u.metaKey && o.editable && (s.edit = !0, requestAnimationFrame(() => {
@@ -1105,7 +1105,7 @@ const ls = Symbol(), Nt = () => Ss(ls), yr = ["value"], _r = { key: 1 }, br = /*
1105
1105
  u.preventDefault();
1106
1106
  else
1107
1107
  return;
1108
- const f = t.settings ?? {}, x = [], { onSelectedRows: b, onSelectedColumns: $ } = f.value, R = t.data.selectedRows.has(c.primaryKey);
1108
+ const f = t.settings ?? {}, x = [], { onSelectedRows: b, onSelectedColumns: C } = f.value, R = t.data.selectedRows.has(c.primaryKey);
1109
1109
  b && b.length && (R ? x.push({
1110
1110
  text: "Deselect row",
1111
1111
  cb() {
@@ -1116,7 +1116,7 @@ const ls = Symbol(), Nt = () => Ss(ls), yr = ["value"], _r = { key: 1 }, br = /*
1116
1116
  cb() {
1117
1117
  t.selectRow(e.cell.row.primaryKey);
1118
1118
  }
1119
- })), $ && $.length && (x.push({
1119
+ })), C && C.length && (x.push({
1120
1120
  text: "Select column",
1121
1121
  cb() {
1122
1122
  t.selectColumn(e.cell.column.id);
@@ -1294,7 +1294,7 @@ function Ir(n, e) {
1294
1294
  const Qe = 1, Fr = 10, jr = 30, On = 60;
1295
1295
  function Lr(n) {
1296
1296
  var t;
1297
- const e = Le((t = C(n)) == null ? void 0 : t.querySelectorAll(".th-cell"), (o) => [...o]) ?? [];
1297
+ const e = Le((t = $(n)) == null ? void 0 : t.querySelectorAll(".th-cell"), (o) => [...o]) ?? [];
1298
1298
  return e.map((o) => {
1299
1299
  const { width: s, x: r } = o.getBoundingClientRect(), l = o.getAttribute("data-col-id");
1300
1300
  return vn({
@@ -1406,7 +1406,7 @@ function Ne(n, e) {
1406
1406
  dy: s.y - t.y
1407
1407
  });
1408
1408
  ce(document, "mousedown", (s) => {
1409
- s.target === C(n) && (s.stopPropagation && s.stopPropagation(), s.preventDefault && s.preventDefault(), t.el = C(n), t.x = s.x, t.y = s.y);
1409
+ s.target === $(n) && (s.stopPropagation && s.stopPropagation(), s.preventDefault && s.preventDefault(), t.el = $(n), t.x = s.x, t.y = s.y);
1410
1410
  }), ce(document, "mouseup", (s) => {
1411
1411
  t.el && (t.el = void 0, e(
1412
1412
  {
@@ -1552,7 +1552,7 @@ function ei(n) {
1552
1552
  tableColumns: i,
1553
1553
  tableRows: a,
1554
1554
  adjustWidth: () => {
1555
- const f = e.columns.reduce((b, $) => b + $.width + Qe, 0), x = e.bodyWidth + e.scrollLeft;
1555
+ const f = e.columns.reduce((b, C) => b + C.width + Qe, 0), x = e.bodyWidth + e.scrollLeft;
1556
1556
  if (f < x) {
1557
1557
  const b = e.columns[e.columns.length - 1];
1558
1558
  b.width = b.width + (x - f);
@@ -1629,9 +1629,9 @@ const ti = { class: "command-menu__container" }, ni = {
1629
1629
  me(() => {
1630
1630
  xe(c);
1631
1631
  }), Lt(() => {
1632
- C(o.settings), xe(c);
1632
+ $(o.settings), xe(c);
1633
1633
  }), ce(window, "resize", () => xe(c));
1634
- const $ = (R) => {
1634
+ const C = (R) => {
1635
1635
  R.preventDefault(), s.updateOffsets(R);
1636
1636
  };
1637
1637
  return (R, D) => (d(), p("div", {
@@ -1639,7 +1639,7 @@ const ti = { class: "command-menu__container" }, ni = {
1639
1639
  ref: i,
1640
1640
  class: "data-table",
1641
1641
  onMousedown: D[2] || (D[2] = //@ts-ignore
1642
- (..._) => C(b) && C(b)(..._))
1642
+ (..._) => $(b) && $(b)(..._))
1643
1643
  }, [
1644
1644
  h("div", ti, [
1645
1645
  re(Ur),
@@ -1654,7 +1654,7 @@ const ti = { class: "command-menu__container" }, ni = {
1654
1654
  }, [
1655
1655
  re(Er, null, {
1656
1656
  default: se(() => [
1657
- (d(!0), p(le, null, ue(C(f), (_, B) => (d(), X(Mr, {
1657
+ (d(!0), p(le, null, ue($(f), (_, B) => (d(), X(Mr, {
1658
1658
  key: B,
1659
1659
  col: _,
1660
1660
  style: te(_.style),
@@ -1670,7 +1670,7 @@ const ti = { class: "command-menu__container" }, ni = {
1670
1670
  ref: u,
1671
1671
  class: "table-body",
1672
1672
  style: te(l.value),
1673
- onWheel: $
1673
+ onWheel: C
1674
1674
  }, [
1675
1675
  r.value ? (d(), p("div", ni, [
1676
1676
  h("div", null, [
@@ -1680,7 +1680,7 @@ const ti = { class: "command-menu__container" }, ni = {
1680
1680
  ])
1681
1681
  ])) : T("", !0),
1682
1682
  D[6] || (D[6] = m()),
1683
- (d(!0), p(le, null, ue(C(x), (_, B) => (d(), X(Dr, {
1683
+ (d(!0), p(le, null, ue($(x), (_, B) => (d(), X(Dr, {
1684
1684
  key: B,
1685
1685
  row: _
1686
1686
  }, {
@@ -1696,7 +1696,7 @@ const ti = { class: "command-menu__container" }, ni = {
1696
1696
  ], 36),
1697
1697
  D[9] || (D[9] = m()),
1698
1698
  h("div", si, [
1699
- (d(!0), p(le, null, ue(C(f), (_, B) => (d(), X(Ar, {
1699
+ (d(!0), p(le, null, ue($(f), (_, B) => (d(), X(Ar, {
1700
1700
  key: B,
1701
1701
  column: _,
1702
1702
  style: te(_.style),
@@ -1705,10 +1705,10 @@ const ti = { class: "command-menu__container" }, ni = {
1705
1705
  ]),
1706
1706
  D[10] || (D[10] = m()),
1707
1707
  re(Gr, {
1708
- offset: C(s).data.scrollTop,
1709
- "window-size": C(s).data.bodyHeight,
1710
- "data-size": C(s).data.dataHeight,
1711
- "onChange:offset": C(s).updateScrollTop
1708
+ offset: $(s).data.scrollTop,
1709
+ "window-size": $(s).data.bodyHeight,
1710
+ "data-size": $(s).data.dataHeight,
1711
+ "onChange:offset": $(s).updateScrollTop
1712
1712
  }, null, 8, ["offset", "window-size", "data-size", "onChange:offset"])
1713
1713
  ], 544));
1714
1714
  }
@@ -1780,14 +1780,14 @@ function _n(n, e) {
1780
1780
  }
1781
1781
  function ai(n, e) {
1782
1782
  return g(() => {
1783
- const t = C(n);
1784
- return _n(t, C(e));
1783
+ const t = $(n);
1784
+ return _n(t, $(e));
1785
1785
  });
1786
1786
  }
1787
1787
  function ui(n, e) {
1788
1788
  const t = g(() => {
1789
- const s = C(n);
1790
- return _n(s, C(e));
1789
+ const s = $(n);
1790
+ return _n(s, $(e));
1791
1791
  }), o = pe({
1792
1792
  settings: t
1793
1793
  });
@@ -1837,7 +1837,7 @@ function vi(n) {
1837
1837
  Gt.value = e.value === "light" ? "dark" : (e.value === "dark", "light");
1838
1838
  }
1839
1839
  return de(e, (s) => {
1840
- n && n(C(s));
1840
+ n && n($(s));
1841
1841
  }), me(() => {
1842
1842
  tn.add(t);
1843
1843
  }), Oe(() => {
@@ -1849,9 +1849,9 @@ const df = /* @__PURE__ */ Z({
1849
1849
  setup(n) {
1850
1850
  const [e, t] = vi();
1851
1851
  return (o, s) => (d(), p("div", {
1852
- class: K(["ui-theme-switcher", C(e)]),
1852
+ class: K(["ui-theme-switcher", $(e)]),
1853
1853
  onClick: s[0] || (s[0] = //@ts-ignore
1854
- (...r) => C(t) && C(t)(...r))
1854
+ (...r) => $(t) && $(t)(...r))
1855
1855
  }, s[1] || (s[1] = [
1856
1856
  h("div", null, null, -1)
1857
1857
  ]), 2));
@@ -1866,7 +1866,7 @@ const df = /* @__PURE__ */ Z({
1866
1866
  setup(n) {
1867
1867
  const e = _e();
1868
1868
  return (t, o) => (d(), p("div", gi, [
1869
- C(e).title ? (d(), p("div", yi, [
1869
+ $(e).title ? (d(), p("div", yi, [
1870
1870
  h("h1", null, [
1871
1871
  W(t.$slots, "title")
1872
1872
  ]),
@@ -2142,7 +2142,7 @@ const Mi = { key: 0 }, Di = {
2142
2142
  tabindex: "0",
2143
2143
  class: ["ui-btn-ghost", { loading: l.loading, small: t.value, large: o.value, round: l.round, reverse: l.reverse, justifyCenter: l.justifyCenter, [l.$attrs.class + ""]: !0 }]
2144
2144
  }, { ...l.$attrs, disabled: !!l.$attrs.disabled || l.loading }), [
2145
- C(r).default && !l.round ? (d(), p("span", Li, [
2145
+ $(r).default && !l.round ? (d(), p("span", Li, [
2146
2146
  W(l.$slots, "default")
2147
2147
  ])) : T("", !0),
2148
2148
  i[0] || (i[0] = m()),
@@ -2214,7 +2214,7 @@ function Hi(n, e) {
2214
2214
  return zi(n, (o) => {
2215
2215
  t.value = o;
2216
2216
  }), g(() => {
2217
- const o = C(t), s = C(e), r = s.position ?? "top", l = s.gap ?? 8;
2217
+ const o = $(t), s = $(e), r = s.position ?? "top", l = s.gap ?? 8;
2218
2218
  if (!o)
2219
2219
  return "";
2220
2220
  const i = o.offsetY + Math.floor(o.height / 2), a = o.offsetX + Math.floor(o.width / 2);
@@ -2308,7 +2308,7 @@ const Gi = /* @__PURE__ */ qe(qi, [["render", Yi]]), Xt = /* @__PURE__ */ new Ma
2308
2308
  R && u();
2309
2309
  }
2310
2310
  );
2311
- const x = N(), b = N(), $ = Hi(x, cn(s));
2311
+ const x = N(), b = N(), C = Hi(x, cn(s));
2312
2312
  return wn([x, b], () => u()), Oe(() => {
2313
2313
  Xt.delete(o);
2314
2314
  }), (R, D) => (d(), X(Ln(R.element), ve(R.$attrs, {
@@ -2330,7 +2330,7 @@ const Gi = /* @__PURE__ */ qe(qi, [["render", Yi]]), Xt = /* @__PURE__ */ new Ma
2330
2330
  r.tooltipOpen ? (d(), p("div", {
2331
2331
  key: 0,
2332
2332
  class: "pl-tooltip__container",
2333
- style: te(C($))
2333
+ style: te($(C))
2334
2334
  }, [
2335
2335
  h("div", {
2336
2336
  ref_key: "tooltip",
@@ -2389,7 +2389,7 @@ const tl = /* @__PURE__ */ qe(Ji, [["render", el]]), nl = { key: 0 }, sl = ["tab
2389
2389
  r.label ? (d(), p("label", nl, [
2390
2390
  h("span", null, F(r.label), 1),
2391
2391
  l[0] || (l[0] = m()),
2392
- C(t).tooltip ? (d(), X(C(Te), {
2392
+ $(t).tooltip ? (d(), X($(Te), {
2393
2393
  key: 0,
2394
2394
  class: "info",
2395
2395
  position: "top"
@@ -2507,51 +2507,51 @@ const pl = { class: "ui-text-field__envelope" }, fl = {
2507
2507
  get() {
2508
2508
  return s.modelValue ?? "";
2509
2509
  },
2510
- set($) {
2511
- o("update:modelValue", $);
2510
+ set(C) {
2511
+ o("update:modelValue", C);
2512
2512
  }
2513
2513
  }), a = () => {
2514
2514
  s.clearable && o("update:modelValue", s.clearable === !0 ? "" : s.clearable());
2515
2515
  }, u = ps(i, s.rules || []), c = g(() => s.clearable ? s.clearable === !0 ? s.modelValue === "" : s.modelValue === s.clearable() : s.modelValue === ""), f = g(() => !c.value), x = g(() => {
2516
- const $ = [];
2517
- return s.error && $.push(s.error), u.value.isValid || $.push(...u.value.errors), $;
2516
+ const C = [];
2517
+ return s.error && C.push(s.error), u.value.isValid || C.push(...u.value.errors), C;
2518
2518
  }), b = g(() => x.value.length > 0);
2519
- return ot(r), ($, R) => (d(), p("div", pl, [
2519
+ return ot(r), (C, R) => (d(), p("div", pl, [
2520
2520
  h("div", {
2521
2521
  ref_key: "rootRef",
2522
2522
  ref: r,
2523
2523
  class: K(["ui-text-field", {
2524
2524
  error: b.value,
2525
- disabled: $.disabled,
2526
- dashed: $.dashed,
2525
+ disabled: C.disabled,
2526
+ dashed: C.dashed,
2527
2527
  nonEmpty: f.value
2528
2528
  }])
2529
2529
  }, [
2530
- $.label ? (d(), p("label", fl, [
2531
- $.required ? (d(), p("i", ml)) : T("", !0),
2530
+ C.label ? (d(), p("label", fl, [
2531
+ C.required ? (d(), p("i", ml)) : T("", !0),
2532
2532
  R[1] || (R[1] = m()),
2533
- h("span", null, F($.label), 1),
2533
+ h("span", null, F(C.label), 1),
2534
2534
  R[2] || (R[2] = m()),
2535
- C(t).tooltip ? (d(), X(C(Te), {
2535
+ $(t).tooltip ? (d(), X($(Te), {
2536
2536
  key: 1,
2537
2537
  class: "info",
2538
2538
  position: "top"
2539
2539
  }, {
2540
2540
  tooltip: se(() => [
2541
- W($.$slots, "tooltip")
2541
+ W(C.$slots, "tooltip")
2542
2542
  ]),
2543
2543
  _: 3
2544
2544
  })) : T("", !0)
2545
2545
  ], 512)) : T("", !0),
2546
2546
  R[4] || (R[4] = m()),
2547
- $.prefix ? (d(), p("div", hl, F($.prefix), 1)) : T("", !0),
2547
+ C.prefix ? (d(), p("div", hl, F(C.prefix), 1)) : T("", !0),
2548
2548
  R[5] || (R[5] = m()),
2549
2549
  be(h("input", {
2550
2550
  ref_key: "inputRef",
2551
2551
  ref: l,
2552
2552
  "onUpdate:modelValue": R[0] || (R[0] = (D) => i.value = D),
2553
- disabled: $.disabled,
2554
- placeholder: $.placeholder || "...",
2553
+ disabled: C.disabled,
2554
+ placeholder: C.placeholder || "...",
2555
2555
  type: "text",
2556
2556
  spellcheck: "false"
2557
2557
  }, null, 8, vl), [
@@ -2559,19 +2559,19 @@ const pl = { class: "ui-text-field__envelope" }, fl = {
2559
2559
  ]),
2560
2560
  R[6] || (R[6] = m()),
2561
2561
  h("div", gl, [
2562
- $.clearable && f.value ? (d(), p("div", {
2562
+ C.clearable && f.value ? (d(), p("div", {
2563
2563
  key: 0,
2564
2564
  class: "icon icon--clear",
2565
2565
  onClick: a
2566
2566
  })) : T("", !0),
2567
2567
  R[3] || (R[3] = m()),
2568
- W($.$slots, "append")
2568
+ W(C.$slots, "append")
2569
2569
  ]),
2570
2570
  R[7] || (R[7] = m()),
2571
2571
  re(st, { class: "ui-text-field__contour" })
2572
2572
  ], 2),
2573
2573
  R[8] || (R[8] = m()),
2574
- b.value ? (d(), p("div", yl, F(x.value.join(" ")), 1)) : $.helper ? (d(), p("div", _l, F($.helper), 1)) : T("", !0)
2574
+ b.value ? (d(), p("div", yl, F(x.value.join(" ")), 1)) : C.helper ? (d(), p("div", _l, F(C.helper), 1)) : T("", !0)
2575
2575
  ]));
2576
2576
  }
2577
2577
  }), kl = { class: "ui-text-area__envelope" }, xl = {
@@ -2626,7 +2626,7 @@ const pl = { class: "ui-text-field__envelope" }, fl = {
2626
2626
  };
2627
2627
  return me(() => {
2628
2628
  x();
2629
- }), (b, $) => (d(), p("div", kl, [
2629
+ }), (b, C) => (d(), p("div", kl, [
2630
2630
  h("div", {
2631
2631
  ref_key: "root",
2632
2632
  ref: r,
@@ -2634,10 +2634,10 @@ const pl = { class: "ui-text-field__envelope" }, fl = {
2634
2634
  }, [
2635
2635
  b.label ? (d(), p("label", xl, [
2636
2636
  b.required ? (d(), p("i", $l)) : T("", !0),
2637
- $[1] || ($[1] = m()),
2637
+ C[1] || (C[1] = m()),
2638
2638
  h("span", null, F(b.label), 1),
2639
- $[2] || ($[2] = m()),
2640
- C(t).tooltip ? (d(), X(C(Te), {
2639
+ C[2] || (C[2] = m()),
2640
+ $(t).tooltip ? (d(), X($(Te), {
2641
2641
  key: 1,
2642
2642
  class: "info",
2643
2643
  position: "top"
@@ -2648,11 +2648,11 @@ const pl = { class: "ui-text-field__envelope" }, fl = {
2648
2648
  _: 3
2649
2649
  })) : T("", !0)
2650
2650
  ], 512)) : T("", !0),
2651
- $[3] || ($[3] = m()),
2651
+ C[3] || (C[3] = m()),
2652
2652
  be(h("textarea", {
2653
2653
  ref_key: "input",
2654
2654
  ref: l,
2655
- "onUpdate:modelValue": $[0] || ($[0] = (R) => i.value = R),
2655
+ "onUpdate:modelValue": C[0] || (C[0] = (R) => i.value = R),
2656
2656
  readonly: b.readonly,
2657
2657
  rows: b.rows,
2658
2658
  disabled: b.disabled,
@@ -2662,14 +2662,14 @@ const pl = { class: "ui-text-field__envelope" }, fl = {
2662
2662
  }, null, 40, Cl), [
2663
2663
  [He, i.value]
2664
2664
  ]),
2665
- $[4] || ($[4] = m()),
2665
+ C[4] || (C[4] = m()),
2666
2666
  h("div", Vl, [
2667
2667
  W(b.$slots, "append")
2668
2668
  ]),
2669
- $[5] || ($[5] = m()),
2669
+ C[5] || (C[5] = m()),
2670
2670
  re(st, { class: "ui-text-area__contour" })
2671
2671
  ], 2),
2672
- $[6] || ($[6] = m()),
2672
+ C[6] || (C[6] = m()),
2673
2673
  f.value ? (d(), p("div", Tl, F(c.value.join(" ")), 1)) : b.helper ? (d(), p("div", Sl, F(b.helper), 1)) : T("", !0)
2674
2674
  ]));
2675
2675
  }
@@ -2847,10 +2847,10 @@ const Bl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2847
2847
  isSelected: S === f.value,
2848
2848
  isActive: S === a.activeIndex
2849
2849
  }))
2850
- ), $ = g(() => {
2851
- const S = C(b).find((j) => $e(j.value, o.modelValue));
2850
+ ), C = g(() => {
2851
+ const S = $(b).find((j) => $e(j.value, o.modelValue));
2852
2852
  return (S == null ? void 0 : S.label) || o.modelValue;
2853
- }), R = g(() => !a.open && o.modelValue ? "" : o.modelValue ? String($.value) : o.placeholder), D = g(() => o.modelValue !== void 0 && o.modelValue !== null), _ = g(() => {
2853
+ }), R = g(() => !a.open && o.modelValue ? "" : o.modelValue ? String(C.value) : o.placeholder), D = g(() => o.modelValue !== void 0 && o.modelValue !== null), _ = g(() => {
2854
2854
  const w = b.value;
2855
2855
  return a.search ? w.filter((S) => {
2856
2856
  const j = a.search.toLowerCase();
@@ -2882,7 +2882,7 @@ const Bl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2882
2882
  return;
2883
2883
  }
2884
2884
  w.code === "Escape" && (a.open = !1, (Ke = r.value) == null || Ke.focus());
2885
- const U = C(_), { length: L } = U;
2885
+ const U = $(_), { length: L } = U;
2886
2886
  if (!L)
2887
2887
  return;
2888
2888
  w.code === "Enter" && G((Tt = U.find((Ht) => Ht.index === j)) == null ? void 0 : Tt.value);
@@ -2929,7 +2929,7 @@ const Bl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2929
2929
  }, [
2930
2930
  re(jl, { class: "input-value" }, {
2931
2931
  default: se(() => [
2932
- m(F($.value), 1)
2932
+ m(F(C.value), 1)
2933
2933
  ]),
2934
2934
  _: 1
2935
2935
  }),
@@ -2967,7 +2967,7 @@ const Bl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2967
2967
  S[6] || (S[6] = m()),
2968
2968
  h("span", null, F(w.label), 1),
2969
2969
  S[7] || (S[7] = m()),
2970
- C(s).tooltip ? (d(), X(C(Te), {
2970
+ $(s).tooltip ? (d(), X($(Te), {
2971
2971
  key: 1,
2972
2972
  class: "info",
2973
2973
  position: "top"
@@ -3095,7 +3095,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3095
3095
  return s.isOpen && k.push("open"), o.disabled && k.push("disabled"), k.join(" ");
3096
3096
  }), a = N(""), u = Ql(cn(o, "options"), a), c = g(() => !!(o.clearable && s.isOpen && o.modelValue && f.value)), f = g(() => {
3097
3097
  if (o.modelValue) {
3098
- const k = $();
3098
+ const k = C();
3099
3099
  if (k !== -1) {
3100
3100
  const V = ct(o.options)[k];
3101
3101
  return typeof V.label == "object" ? V.label.title : V.label;
@@ -3121,7 +3121,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3121
3121
  () => R(),
3122
3122
  { immediate: !0 }
3123
3123
  );
3124
- function $() {
3124
+ function C() {
3125
3125
  return o.options.findIndex((k) => $e(k.value, o.modelValue));
3126
3126
  }
3127
3127
  function R() {
@@ -3211,7 +3211,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3211
3211
  ref: l,
3212
3212
  class: "ui-line-dropdown__items"
3213
3213
  }, [
3214
- (d(!0), p(le, null, ue(C(u), (w, S) => W(k.$slots, "item", {
3214
+ (d(!0), p(le, null, ue($(u), (w, S) => W(k.$slots, "item", {
3215
3215
  key: S,
3216
3216
  item: w,
3217
3217
  textItem: "text",
@@ -3229,7 +3229,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3229
3229
  }, null, 8, ["option", "is-selected", "is-hovered", "onClick"])
3230
3230
  ])), 128)),
3231
3231
  V[3] || (V[3] = m()),
3232
- C(u).length === 0 ? (d(), p("div", aa, V[2] || (V[2] = [
3232
+ $(u).length === 0 ? (d(), p("div", aa, V[2] || (V[2] = [
3233
3233
  h("div", { class: "ui-line-dropdown__no-item-title text-s" }, "Didn't find anything that matched", -1)
3234
3234
  ]))) : T("", !0)
3235
3235
  ], 512)), [
@@ -3243,7 +3243,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3243
3243
  style: te(o.tabsContainerStyles),
3244
3244
  class: "ui-line-dropdown__items-tabs"
3245
3245
  }, [
3246
- (d(!0), p(le, null, ue(C(u), (w, S) => W(k.$slots, "item", {
3246
+ (d(!0), p(le, null, ue($(u), (w, S) => W(k.$slots, "item", {
3247
3247
  key: S,
3248
3248
  item: w,
3249
3249
  isSelected: z(w),
@@ -3258,7 +3258,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3258
3258
  }, null, 8, ["option", "is-selected", "is-hovered", "onClick"])
3259
3259
  ])), 128)),
3260
3260
  V[5] || (V[5] = m()),
3261
- C(u).length === 0 ? (d(), p("div", ua, V[4] || (V[4] = [
3261
+ $(u).length === 0 ? (d(), p("div", ua, V[4] || (V[4] = [
3262
3262
  h("div", { class: "ui-line-dropdown__no-item-title text-s" }, "Didn't find anything that matched", -1)
3263
3263
  ]))) : T("", !0)
3264
3264
  ], 4)), [
@@ -3339,14 +3339,14 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3339
3339
  t.modelValue === void 0 ? _ = t.minValue ? t.minValue : 0 : _ = +(t.modelValue || 0) + t.step, a.value = _.toString();
3340
3340
  }
3341
3341
  }
3342
- function $() {
3342
+ function C() {
3343
3343
  if (!f.value) {
3344
3344
  let _ = 0;
3345
3345
  t.modelValue === void 0 ? _ = 0 : _ = +(t.modelValue || 0) - t.step, a.value = t.minValue ? Math.max(t.minValue, _).toString() : _.toString();
3346
3346
  }
3347
3347
  }
3348
3348
  function R(_) {
3349
- ["ArrowDown", "ArrowUp"].includes(_.code) && _.preventDefault(), _.code === "ArrowUp" ? b() : _.code === "ArrowDown" && $();
3349
+ ["ArrowDown", "ArrowUp"].includes(_.code) && _.preventDefault(), _.code === "ArrowUp" ? b() : _.code === "ArrowDown" && C();
3350
3350
  }
3351
3351
  const D = (_) => {
3352
3352
  _.detail > 1 && _.preventDefault();
@@ -3364,7 +3364,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3364
3364
  h("div", ha, [
3365
3365
  _.label ? (d(), p("label", va, [
3366
3366
  m(F(_.label) + " ", 1),
3367
- C(r).tooltip ? (d(), X(C(Te), {
3367
+ $(r).tooltip ? (d(), X($(Te), {
3368
3368
  key: 0,
3369
3369
  class: "info",
3370
3370
  position: "top"
@@ -3411,7 +3411,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3411
3411
  B[5] || (B[5] = m()),
3412
3412
  h("div", {
3413
3413
  class: K([{ disabled: f.value }, "mi-number-field__icon d-flex flex-justify-center uc-pointer flex-grow flex-align-center"]),
3414
- onClick: $
3414
+ onClick: C
3415
3415
  }, B[4] || (B[4] = [
3416
3416
  h("svg", {
3417
3417
  xmlns: "http://www.w3.org/2000/svg",
@@ -3446,7 +3446,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3446
3446
  return me(() => {
3447
3447
  var o;
3448
3448
  e.value && (t.value = ((o = e.value) == null ? void 0 : o.clientWidth) >= 256);
3449
- }), (o, s) => (d(), X(C(Te), {
3449
+ }), (o, s) => (d(), X($(Te), {
3450
3450
  position: "top",
3451
3451
  class: "ui-chip-tooltip",
3452
3452
  delay: 500
@@ -3517,7 +3517,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3517
3517
  activeOption: -1,
3518
3518
  open: !1
3519
3519
  }), c = g(() => Array.isArray(r.modelValue) ? r.modelValue : []), f = g(() => u.open && r.modelValue.length > 0 ? r.placeholder : r.modelValue.length > 0 ? "" : r.placeholder), x = g(() => ct(r.options).filter((y) => Jt(c.value, y.value))), b = g(() => {
3520
- const y = C(c), v = ct(r.options);
3520
+ const y = $(c), v = ct(r.options);
3521
3521
  return (u.search ? v.filter((k) => {
3522
3522
  const V = u.search.toLowerCase();
3523
3523
  return k.label.toLowerCase().includes(V) ? !0 : typeof k.value == "string" ? k.value.toLowerCase().includes(V) : k.value === u.search;
@@ -3525,16 +3525,16 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3525
3525
  ...k,
3526
3526
  selected: Jt(y, k.value)
3527
3527
  }));
3528
- }), $ = g(() => r.disabled ? void 0 : "0"), R = () => {
3528
+ }), C = g(() => r.disabled ? void 0 : "0"), R = () => {
3529
3529
  u.activeOption = Zt(
3530
3530
  b.value.findIndex((y) => $e(y.value, r.modelValue)),
3531
3531
  (y) => y < 0 ? 0 : y
3532
3532
  );
3533
3533
  }, D = (y) => {
3534
3534
  var k;
3535
- const v = C(c);
3535
+ const v = $(c);
3536
3536
  o(Jt(v, y) ? v.filter((V) => !$e(V, y)) : [...v, y]), u.search = "", (k = l == null ? void 0 : l.value) == null || k.focus();
3537
- }, _ = (y) => o(C(c).filter((v) => !$e(v, y))), B = () => {
3537
+ }, _ = (y) => o($(c).filter((v) => !$e(v, y))), B = () => {
3538
3538
  var y;
3539
3539
  return (y = a.value) == null ? void 0 : y.focus();
3540
3540
  }, G = () => u.open = !u.open, z = (y) => {
@@ -3553,7 +3553,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3553
3553
  return;
3554
3554
  }
3555
3555
  y.code === "Escape" && (u.open = !1, (j = l.value) == null || j.focus());
3556
- const V = C(b), { length: w } = V;
3556
+ const V = $(b), { length: w } = V;
3557
3557
  if (!w)
3558
3558
  return;
3559
3559
  ["ArrowDown", "ArrowUp", "Enter"].includes(y.code) && y.preventDefault(), y.code === "Enter" && D(V[k].value);
@@ -3570,7 +3570,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3570
3570
  h("div", {
3571
3571
  ref_key: "rootRef",
3572
3572
  ref: l,
3573
- tabindex: $.value,
3573
+ tabindex: C.value,
3574
3574
  class: K(["ui-multi-dropdown", { open: u.open, error: y.error, disabled: y.disabled }]),
3575
3575
  onKeydown: M,
3576
3576
  onFocusout: z
@@ -3597,7 +3597,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3597
3597
  class: "chips-container",
3598
3598
  onClick: B
3599
3599
  }, [
3600
- (d(!0), p(le, null, ue(x.value, (k, V) => (d(), X(C(Pn), {
3600
+ (d(!0), p(le, null, ue(x.value, (k, V) => (d(), X($(Pn), {
3601
3601
  key: V,
3602
3602
  closeable: "",
3603
3603
  small: "",
@@ -3626,7 +3626,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3626
3626
  v[6] || (v[6] = m()),
3627
3627
  h("span", null, F(y.label), 1),
3628
3628
  v[7] || (v[7] = m()),
3629
- C(s).tooltip ? (d(), X(C(Te), {
3629
+ $(s).tooltip ? (d(), X($(Te), {
3630
3630
  key: 1,
3631
3631
  class: "info",
3632
3632
  position: "top"
@@ -3645,7 +3645,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3645
3645
  class: "ui-multi-dropdown__options"
3646
3646
  }, [
3647
3647
  h("div", Ea, [
3648
- (d(!0), p(le, null, ue(x.value, (k, V) => (d(), X(C(Pn), {
3648
+ (d(!0), p(le, null, ue(x.value, (k, V) => (d(), X($(Pn), {
3649
3649
  key: V,
3650
3650
  closeable: "",
3651
3651
  small: "",
@@ -3706,7 +3706,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3706
3706
  emits: ["update:modelValue"],
3707
3707
  setup(n) {
3708
3708
  const e = n, t = _e();
3709
- return (o, s) => C(t).default ? (d(), p("div", {
3709
+ return (o, s) => $(t).default ? (d(), p("div", {
3710
3710
  key: 0,
3711
3711
  class: K(["pl-checkbox", { disabled: o.disabled }])
3712
3712
  }, [
@@ -3794,10 +3794,10 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3794
3794
  class: "pl-dialog-modal__shadow",
3795
3795
  onClick: i
3796
3796
  }, [
3797
- h("div", ve(C(l), {
3797
+ h("div", ve($(l), {
3798
3798
  ref_key: "modal",
3799
3799
  ref: r,
3800
- class: ["pl-dialog-modal", [a.type, C(t).title ? "has-title" : ""]],
3800
+ class: ["pl-dialog-modal", [a.type, $(t).title ? "has-title" : ""]],
3801
3801
  style: { width: a.width, height: a.height, minHeight: a.minHeight }
3802
3802
  }), [
3803
3803
  a.closable ? (d(), p("div", {
@@ -3806,7 +3806,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3806
3806
  onClick: u[0] || (u[0] = ie((c) => o("update:modelValue", !1), ["stop"]))
3807
3807
  })) : T("", !0),
3808
3808
  u[1] || (u[1] = m()),
3809
- C(t).title ? (d(), p("div", Fa, [
3809
+ $(t).title ? (d(), p("div", Fa, [
3810
3810
  W(a.$slots, "title")
3811
3811
  ])) : T("", !0),
3812
3812
  u[2] || (u[2] = m()),
@@ -3816,7 +3816,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3816
3816
  W(a.$slots, "default")
3817
3817
  ], 2),
3818
3818
  u[3] || (u[3] = m()),
3819
- C(t).actions ? (d(), p("div", ja, [
3819
+ $(t).actions ? (d(), p("div", ja, [
3820
3820
  W(a.$slots, "actions")
3821
3821
  ])) : T("", !0)
3822
3822
  ], 16)
@@ -3878,8 +3878,8 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3878
3878
  ref_key: "modal",
3879
3879
  ref: r,
3880
3880
  style: { width: i.width }
3881
- }, C(l), {
3882
- class: ["pl-slide-modal", { "has-title": C(t).title }],
3881
+ }, $(l), {
3882
+ class: ["pl-slide-modal", { "has-title": $(t).title, "has-actions": $(t).actions }],
3883
3883
  onKeyup: a[1] || (a[1] = ze((u) => o("update:modelValue", !1), ["esc"]))
3884
3884
  }), [
3885
3885
  h("div", {
@@ -3887,7 +3887,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3887
3887
  onClick: a[0] || (a[0] = (u) => o("update:modelValue", !1))
3888
3888
  }),
3889
3889
  a[3] || (a[3] = m()),
3890
- C(t).title ? (d(), p("div", za, [
3890
+ $(t).title ? (d(), p("div", za, [
3891
3891
  W(i.$slots, "title")
3892
3892
  ])) : T("", !0),
3893
3893
  a[4] || (a[4] = m()),
@@ -3895,7 +3895,7 @@ const ea = { class: "resizable-input" }, ta = ["placeholder", "value", "disabled
3895
3895
  W(i.$slots, "default")
3896
3896
  ]),
3897
3897
  a[5] || (a[5] = m()),
3898
- C(t).actions ? (d(), p("div", Ua, [
3898
+ $(t).actions ? (d(), p("div", Ua, [
3899
3899
  W(i.$slots, "actions")
3900
3900
  ])) : T("", !0)
3901
3901
  ], 16)) : T("", !0)
@@ -4062,14 +4062,14 @@ const Ja = { class: "file-dialog" }, Qa = { class: "file-dialog__search" }, eu =
4062
4062
  y && k && a(y, v);
4063
4063
  }, c = es((y) => {
4064
4064
  y && (r.dirPath = y);
4065
- }, 1e3), f = g(() => Xa(r.dirPath)), x = g(() => r.items.filter((y) => y.canBeSelected && y.selected && !y.isDir)), b = g(() => x.value.length > 0), $ = () => {
4065
+ }, 1e3), f = g(() => Xa(r.dirPath)), x = g(() => r.items.filter((y) => y.canBeSelected && y.selected && !y.isDir)), b = g(() => x.value.length > 0), C = () => {
4066
4066
  t("update:modelValue", !1);
4067
4067
  }, R = () => {
4068
4068
  var y;
4069
4069
  b.value && ((y = r.storageEntry) != null && y.handle) && (t("import:files", {
4070
4070
  storageHandle: r.storageEntry.handle,
4071
4071
  files: x.value.map((v) => v.handle)
4072
- }), $());
4072
+ }), C());
4073
4073
  }, D = (y) => {
4074
4074
  r.dirPath = y, r.storageEntry && u();
4075
4075
  }, _ = (y, v) => {
@@ -4125,20 +4125,20 @@ const Ja = { class: "file-dialog" }, Qa = { class: "file-dialog__search" }, eu =
4125
4125
  }
4126
4126
  }
4127
4127
  };
4128
- return (y, v) => (d(), X(C(Na), {
4128
+ return (y, v) => (d(), X($(Na), {
4129
4129
  "no-content-gutters": !0,
4130
4130
  class: "split",
4131
4131
  "model-value": y.modelValue,
4132
4132
  width: "688px",
4133
4133
  height: "720px",
4134
- "onUpdate:modelValue": $,
4134
+ "onUpdate:modelValue": C,
4135
4135
  onClick: ie(z, ["stop"])
4136
4136
  }, {
4137
4137
  title: se(() => [
4138
4138
  m(F(y.title ?? "Select files"), 1)
4139
4139
  ]),
4140
4140
  actions: se(() => [
4141
- re(C(Pi), {
4141
+ re($(Pi), {
4142
4142
  style: { "min-width": "160px" },
4143
4143
  disabled: !b.value,
4144
4144
  onClick: ie(R, ["stop"])
@@ -4149,9 +4149,9 @@ const Ja = { class: "file-dialog" }, Qa = { class: "file-dialog__search" }, eu =
4149
4149
  _: 1
4150
4150
  }, 8, ["disabled"]),
4151
4151
  v[16] || (v[16] = m()),
4152
- re(C(Zi), {
4152
+ re($(Zi), {
4153
4153
  "justify-center": !1,
4154
- onClick: ie($, ["stop"])
4154
+ onClick: ie(C, ["stop"])
4155
4155
  }, {
4156
4156
  default: se(() => v[15] || (v[15] = [
4157
4157
  m("Cancel")
@@ -4163,17 +4163,17 @@ const Ja = { class: "file-dialog" }, Qa = { class: "file-dialog__search" }, eu =
4163
4163
  v[17] || (v[17] = m()),
4164
4164
  h("div", Ja, [
4165
4165
  h("div", Qa, [
4166
- re(C(Jl), {
4166
+ re($(Jl), {
4167
4167
  modelValue: r.storageEntry,
4168
4168
  "onUpdate:modelValue": v[0] || (v[0] = (k) => r.storageEntry = k),
4169
4169
  label: "Select storage",
4170
4170
  options: r.storageOptions
4171
4171
  }, null, 8, ["modelValue", "options"]),
4172
4172
  v[1] || (v[1] = m()),
4173
- re(C(wl), {
4173
+ re($(wl), {
4174
4174
  "model-value": r.dirPath,
4175
4175
  label: "Enter path",
4176
- "onUpdate:modelValue": C(c)
4176
+ "onUpdate:modelValue": $(c)
4177
4177
  }, null, 8, ["model-value", "onUpdate:modelValue"])
4178
4178
  ]),
4179
4179
  v[13] || (v[13] = m()),
@@ -7206,7 +7206,7 @@ const $d = { class: "pl-file-input__envelope" }, Cd = {
7206
7206
  } : {};
7207
7207
  }), b = () => {
7208
7208
  t.fileDialogOpen = !0;
7209
- }, $ = (_) => {
7209
+ }, C = (_) => {
7210
7210
  _.files.length && s("update:modelValue", _.files[0]);
7211
7211
  }, R = () => s("update:modelValue", void 0), D = N();
7212
7212
  return ot(D), (_, B) => (d(), p(le, null, [
@@ -7228,7 +7228,7 @@ const $d = { class: "pl-file-input__envelope" }, Cd = {
7228
7228
  B[1] || (B[1] = m()),
7229
7229
  h("span", null, F(_.label), 1),
7230
7230
  B[2] || (B[2] = m()),
7231
- C(o).tooltip ? (d(), X(C(Te), {
7231
+ $(o).tooltip ? (d(), X($(Te), {
7232
7232
  key: 1,
7233
7233
  class: "info",
7234
7234
  position: "top"
@@ -7274,12 +7274,12 @@ const $d = { class: "pl-file-input__envelope" }, Cd = {
7274
7274
  u.value ? (d(), p("div", Ed, F(c.value), 1)) : _.helper ? (d(), p("div", Rd, F(_.helper), 1)) : T("", !0)
7275
7275
  ]),
7276
7276
  B[10] || (B[10] = m()),
7277
- re(C(vu), {
7277
+ re($(vu), {
7278
7278
  modelValue: t.fileDialogOpen,
7279
7279
  "onUpdate:modelValue": B[0] || (B[0] = (G) => t.fileDialogOpen = G),
7280
7280
  extensions: _.extensions,
7281
7281
  title: _.fileDialogTitle,
7282
- "onImport:files": $
7282
+ "onImport:files": C
7283
7283
  }, null, 8, ["modelValue", "extensions", "title"])
7284
7284
  ], 64));
7285
7285
  }
@@ -7342,7 +7342,7 @@ const Vn = (n) => g(() => {
7342
7342
  return Number.isFinite(O) ? O < s.min ? `Min value: ${s.min}` : O > s.max ? `Max value: ${s.max}` : s.error : "Not a number";
7343
7343
  }), c = g(() => s), f = Vn(c), x = g(() => (i.value - s.min) / l.value), b = g(() => ({
7344
7344
  right: Math.ceil((1 - x.value) * 100) + "%"
7345
- })), $ = g(() => ({
7345
+ })), C = g(() => ({
7346
7346
  right: `calc(${Math.ceil((1 - x.value) * 100)}%) `
7347
7347
  })), R = N(), D = N();
7348
7348
  de(
@@ -7357,7 +7357,7 @@ const Vn = (n) => g(() => {
7357
7357
  }
7358
7358
  Ne(D, (O) => {
7359
7359
  var M;
7360
- fe((M = C(R)) == null ? void 0 : M.getBoundingClientRect(), (y) => {
7360
+ fe((M = $(R)) == null ? void 0 : M.getBoundingClientRect(), (y) => {
7361
7361
  const { dx: v } = O;
7362
7362
  r.deltaValue = v / y.width * l.value, a.value = _(he((s.modelValue ?? 0) + r.deltaValue, s.min, s.max)), O.stop && (o("update:modelValue", _(i.value)), r.deltaValue = 0);
7363
7363
  });
@@ -7384,7 +7384,7 @@ const Vn = (n) => g(() => {
7384
7384
  O.label ? (d(), p("label", Md, [
7385
7385
  h("span", null, F(O.label), 1),
7386
7386
  M[1] || (M[1] = m()),
7387
- C(t).tooltip ? (d(), X(C(Te), {
7387
+ $(t).tooltip ? (d(), X($(Te), {
7388
7388
  key: 0,
7389
7389
  class: "info",
7390
7390
  position: "top"
@@ -7414,7 +7414,7 @@ const Vn = (n) => g(() => {
7414
7414
  ]),
7415
7415
  M[5] || (M[5] = m()),
7416
7416
  h("div", Id, [
7417
- s.breakpoints ? (d(!0), p(le, { key: 0 }, ue(C(f), (y, v) => (d(), p("div", {
7417
+ s.breakpoints ? (d(!0), p(le, { key: 0 }, ue($(f), (y, v) => (d(), p("div", {
7418
7418
  key: v,
7419
7419
  style: te({ right: `${y}%` }),
7420
7420
  class: "ui-slider__thumb-step"
@@ -7425,7 +7425,7 @@ const Vn = (n) => g(() => {
7425
7425
  ref: D,
7426
7426
  tabindex: "0",
7427
7427
  class: "ui-slider__thumb ui-slider__thumb-active",
7428
- style: te($.value),
7428
+ style: te(C.value),
7429
7429
  onKeydown: z
7430
7430
  }, M[3] || (M[3] = [
7431
7431
  h("div", { class: "ui-slider__thumb-focused-contour" }, null, -1)
@@ -7453,12 +7453,12 @@ function Df(n, e = null, t = null) {
7453
7453
  const { scrollTop: a, scrollHeight: u, clientHeight: c } = i;
7454
7454
  if (!(u > c) || !e)
7455
7455
  return null;
7456
- const x = u - a - c, b = a > e ? e : 0, $ = x > e ? c - e - b : c;
7456
+ const x = u - a - c, b = a > e ? e : 0, C = x > e ? c - e - b : c;
7457
7457
  return `linear-gradient(
7458
7458
  to bottom,
7459
7459
  transparent,
7460
7460
  black ${b}px,
7461
- black ${$}px,
7461
+ black ${C}px,
7462
7462
  transparent 100%
7463
7463
  )`;
7464
7464
  }
@@ -7466,12 +7466,12 @@ function Df(n, e = null, t = null) {
7466
7466
  const { scrollLeft: a, scrollWidth: u, clientWidth: c } = i;
7467
7467
  if (!(u > c) || !t)
7468
7468
  return null;
7469
- const x = u - a - c, b = a > t ? t : 0, $ = x > t ? c - t - b : c;
7469
+ const x = u - a - c, b = a > t ? t : 0, C = x > t ? c - t - b : c;
7470
7470
  return `linear-gradient(
7471
7471
  to right,
7472
7472
  transparent,
7473
7473
  black ${b}px,
7474
- black ${$}px,
7474
+ black ${C}px,
7475
7475
  transparent 100%
7476
7476
  )`;
7477
7477
  }
@@ -7487,11 +7487,11 @@ function Df(n, e = null, t = null) {
7487
7487
  }
7488
7488
  function Nd(n, e) {
7489
7489
  us(() => {
7490
- fe(C(n), (t) => {
7490
+ fe($(n), (t) => {
7491
7491
  ds(t, () => e(t));
7492
7492
  });
7493
7493
  }), Oe(() => {
7494
- fe(C(n), (t) => {
7494
+ fe($(n), (t) => {
7495
7495
  cs(t);
7496
7496
  });
7497
7497
  });
@@ -7515,8 +7515,8 @@ function Af(n, e) {
7515
7515
  }
7516
7516
  }, o = g(() => t.options()), s = e.shakeBuffer ?? 10, r = e.reorderDelay ?? 100;
7517
7517
  function l(b) {
7518
- const $ = e.handle ? this.querySelector(e.handle) : null;
7519
- $ && !$.contains(b.target) || (this.classList.remove(De.animate), this.classList.add(De.item), t.item = {
7518
+ const C = e.handle ? this.querySelector(e.handle) : null;
7519
+ C && !C.contains(b.target) || (this.classList.remove(De.animate), this.classList.add(De.item), t.item = {
7520
7520
  el: this,
7521
7521
  y: b.y,
7522
7522
  dy: 0,
@@ -7524,36 +7524,36 @@ function Af(n, e) {
7524
7524
  });
7525
7525
  }
7526
7526
  function i(b) {
7527
- const $ = t.options();
7528
- return $.slice(0, $.indexOf(b));
7527
+ const C = t.options();
7528
+ return C.slice(0, C.indexOf(b));
7529
7529
  }
7530
7530
  function a(b) {
7531
- const $ = t.options();
7532
- return $.slice($.indexOf(b) + 1);
7531
+ const C = t.options();
7532
+ return C.slice(C.indexOf(b) + 1);
7533
7533
  }
7534
- function u(b, $) {
7535
- const R = t.options().filter((_) => _ !== $), D = R.indexOf(b);
7536
- return R.splice(D, 0, $), R;
7534
+ function u(b, C) {
7535
+ const R = t.options().filter((_) => _ !== C), D = R.indexOf(b);
7536
+ return R.splice(D, 0, C), R;
7537
7537
  }
7538
- function c(b, $) {
7539
- const R = t.options().filter((_) => _ !== $), D = R.indexOf(b);
7540
- return R.splice(D + 1, 0, $), R;
7538
+ function c(b, C) {
7539
+ const R = t.options().filter((_) => _ !== C), D = R.indexOf(b);
7540
+ return R.splice(D + 1, 0, C), R;
7541
7541
  }
7542
- function f(b, $) {
7543
- b.dy = $ - b.y, b.el.style.setProperty("transform", `translateY(${b.dy}px)`);
7542
+ function f(b, C) {
7543
+ b.dy = C - b.y, b.el.style.setProperty("transform", `translateY(${b.dy}px)`);
7544
7544
  }
7545
7545
  function x(b) {
7546
7546
  var O;
7547
7547
  if (!t.item)
7548
7548
  return;
7549
- const { el: $ } = t.item;
7550
- if (!$.isConnected) {
7549
+ const { el: C } = t.item;
7550
+ if (!C.isConnected) {
7551
7551
  t.item = void 0;
7552
7552
  return;
7553
7553
  }
7554
- const R = b.map((M) => rt(M)), D = rt($);
7554
+ const R = b.map((M) => rt(M)), D = rt(C);
7555
7555
  (O = n.value) == null || O.replaceChildren(...b);
7556
- const _ = rt($), B = b.map((M) => rt(M)), G = [];
7556
+ const _ = rt(C), B = b.map((M) => rt(M)), G = [];
7557
7557
  for (let M = 0; M < B.length; M++) {
7558
7558
  const y = b[M];
7559
7559
  if (y === t.item.el)
@@ -7573,24 +7573,24 @@ function Af(n, e) {
7573
7573
  ce(window, "mousemove", (b) => {
7574
7574
  if (!t.item)
7575
7575
  return;
7576
- const { el: $ } = t.item;
7576
+ const { el: C } = t.item;
7577
7577
  f(t.item, b.y);
7578
- const R = rt(t.item.el), D = Zd(t.item.el), _ = i($), B = a($);
7578
+ const R = rt(t.item.el), D = Zd(t.item.el), _ = i(C), B = a(C);
7579
7579
  _.forEach((G) => {
7580
7580
  const z = jn(G);
7581
- R + s < z && x(u(G, $));
7581
+ R + s < z && x(u(G, C));
7582
7582
  }), B.forEach((G) => {
7583
7583
  const z = jn(G);
7584
- D - s > z && x(c(G, $));
7584
+ D - s > z && x(c(G, C));
7585
7585
  });
7586
7586
  }), ce(window, "mouseup", () => {
7587
7587
  if (!t.item)
7588
7588
  return;
7589
- const { el: b, orderChanged: $ } = t.item;
7589
+ const { el: b, orderChanged: C } = t.item;
7590
7590
  b.classList.add(De.animate), b.style.removeProperty("transform"), b.addEventListener("transitionend", () => {
7591
7591
  b.classList.remove(De.animate, De.item);
7592
7592
  }), setTimeout(() => {
7593
- if (!$)
7593
+ if (!C)
7594
7594
  return;
7595
7595
  const R = t.options().map((_) => Number(_.getAttribute("data-index"))), D = n.value;
7596
7596
  if (D) {
@@ -7603,8 +7603,8 @@ function Af(n, e) {
7603
7603
  e.onChange(R);
7604
7604
  }, r), t.item = void 0;
7605
7605
  }), un(() => {
7606
- o.value.forEach((b, $) => {
7607
- b.removeEventListener("mousedown", l), b.addEventListener("mousedown", l), b.setAttribute("data-index", String($));
7606
+ o.value.forEach((b, C) => {
7607
+ b.removeEventListener("mousedown", l), b.addEventListener("mousedown", l), b.setAttribute("data-index", String(C));
7608
7608
  });
7609
7609
  });
7610
7610
  }
@@ -7662,7 +7662,7 @@ function Ff(n) {
7662
7662
  }
7663
7663
  function jf(n, e) {
7664
7664
  function t(l, i) {
7665
- const a = C(n);
7665
+ const a = $(n);
7666
7666
  if (!a)
7667
7667
  return;
7668
7668
  const u = `translate(${i.x - l.x}px, ${i.y - l.y}px)`;
@@ -7673,7 +7673,7 @@ function jf(n, e) {
7673
7673
  document.addEventListener("mousemove", i), document.addEventListener(
7674
7674
  "mouseup",
7675
7675
  () => {
7676
- const a = C(n);
7676
+ const a = $(n);
7677
7677
  document.removeEventListener("mousemove", i), a && (a.style.setProperty("transition", "all .3s ease-in-out"), a.style.removeProperty("transform"), a.addEventListener("transitionend", () => {
7678
7678
  a.style.removeProperty("transition");
7679
7679
  }));
@@ -7683,11 +7683,11 @@ function jf(n, e) {
7683
7683
  }
7684
7684
  function s() {
7685
7685
  var l;
7686
- (l = C(n)) == null || l.addEventListener("mousedown", o);
7686
+ (l = $(n)) == null || l.addEventListener("mousedown", o);
7687
7687
  }
7688
7688
  function r() {
7689
7689
  var l;
7690
- (l = C(n)) == null || l.removeEventListener("mousedown", o);
7690
+ (l = $(n)) == null || l.removeEventListener("mousedown", o);
7691
7691
  }
7692
7692
  me(s), Oe(r);
7693
7693
  }
@@ -7718,7 +7718,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
7718
7718
  deltaValue1: 0,
7719
7719
  deltaValue2: 0,
7720
7720
  deltaValue3: 0
7721
- }), l = N(), i = N(), a = N(), u = N(), c = g(() => s.max - s.min), f = g(() => s), x = Vn(f), b = g(() => he((s.modelValue[0] ?? 0) + r.deltaValue1, s.min, s.max)), $ = g(() => he((s.modelValue[1] ?? 0) + r.deltaValue2, s.min, s.max)), R = g(() => he((s.modelValue[2] ?? 0) + r.deltaValue3, s.min, s.max)), D = g(() => {
7721
+ }), l = N(), i = N(), a = N(), u = N(), c = g(() => s.max - s.min), f = g(() => s), x = Vn(f), b = g(() => he((s.modelValue[0] ?? 0) + r.deltaValue1, s.min, s.max)), C = g(() => he((s.modelValue[1] ?? 0) + r.deltaValue2, s.min, s.max)), R = g(() => he((s.modelValue[2] ?? 0) + r.deltaValue3, s.min, s.max)), D = g(() => {
7722
7722
  const L = s.modelValue;
7723
7723
  if (!(Array.isArray(L) && L.length === 3 && L.every((ne) => Number.isFinite(ne))))
7724
7724
  return "Expected model [number, number, number]";
@@ -7726,7 +7726,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
7726
7726
  return [...s.modelValue].forEach((ne) => {
7727
7727
  ne > s.max && oe.push(`Max model value must be lower than max props ${s.max}.`), ne < s.min && oe.push("Min model value must be greater than max props.");
7728
7728
  }), oe.length > 0 ? oe.join(" ") : s.error;
7729
- }), _ = g(() => (b.value - s.min) / c.value), B = g(() => ($.value - s.min) / c.value), G = g(() => (R.value - s.min) / c.value), z = g(() => V()), O = g(() => ({
7729
+ }), _ = g(() => (b.value - s.min) / c.value), B = g(() => (C.value - s.min) / c.value), G = g(() => (R.value - s.min) / c.value), z = g(() => V()), O = g(() => ({
7730
7730
  right: z.value[0] + "%",
7731
7731
  left: 100 - z.value[2] + "%"
7732
7732
  })), M = g(() => ({
@@ -7738,21 +7738,21 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
7738
7738
  }));
7739
7739
  Ne(i, (L) => {
7740
7740
  var P;
7741
- fe((P = C(l)) == null ? void 0 : P.getBoundingClientRect(), (oe) => {
7741
+ fe((P = $(l)) == null ? void 0 : P.getBoundingClientRect(), (oe) => {
7742
7742
  const { dx: ne } = L;
7743
- r.deltaValue1 = ne / oe.width * c.value, i.value && k(i.value, s.modelValue[0], r.deltaValue1), L.stop && (S([w(b.value), w($.value), w(R.value)]), r.deltaValue1 = 0);
7743
+ r.deltaValue1 = ne / oe.width * c.value, i.value && k(i.value, s.modelValue[0], r.deltaValue1), L.stop && (S([w(b.value), w(C.value), w(R.value)]), r.deltaValue1 = 0);
7744
7744
  });
7745
7745
  }), Ne(a, (L) => {
7746
7746
  var P;
7747
- fe((P = C(l)) == null ? void 0 : P.getBoundingClientRect(), (oe) => {
7747
+ fe((P = $(l)) == null ? void 0 : P.getBoundingClientRect(), (oe) => {
7748
7748
  const { dx: ne } = L;
7749
- r.deltaValue2 = ne / oe.width * c.value, a.value && k(a.value, s.modelValue[1], r.deltaValue2), L.stop && (S([w(b.value), w($.value), w(R.value)]), r.deltaValue2 = 0);
7749
+ r.deltaValue2 = ne / oe.width * c.value, a.value && k(a.value, s.modelValue[1], r.deltaValue2), L.stop && (S([w(b.value), w(C.value), w(R.value)]), r.deltaValue2 = 0);
7750
7750
  });
7751
7751
  }), Ne(u, (L) => {
7752
7752
  var P;
7753
- fe((P = C(l)) == null ? void 0 : P.getBoundingClientRect(), (oe) => {
7753
+ fe((P = $(l)) == null ? void 0 : P.getBoundingClientRect(), (oe) => {
7754
7754
  const { dx: ne } = L;
7755
- r.deltaValue3 = ne / oe.width * c.value, u.value && k(u.value, s.modelValue[2], r.deltaValue3), L.stop && (S([w(b.value), w($.value), w(R.value)]), r.deltaValue3 = 0);
7755
+ r.deltaValue3 = ne / oe.width * c.value, u.value && k(u.value, s.modelValue[2], r.deltaValue3), L.stop && (S([w(b.value), w(C.value), w(R.value)]), r.deltaValue3 = 0);
7756
7756
  });
7757
7757
  });
7758
7758
  function k(L, P, oe) {
@@ -7796,7 +7796,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
7796
7796
  L.label ? (d(), p("label", Ud, [
7797
7797
  h("span", null, F(L.label), 1),
7798
7798
  P[3] || (P[3] = m()),
7799
- C(t).tooltip ? (d(), X(C(Te), {
7799
+ $(t).tooltip ? (d(), X($(Te), {
7800
7800
  key: 0,
7801
7801
  class: "info",
7802
7802
  position: "top"
@@ -7824,7 +7824,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
7824
7824
  ]),
7825
7825
  P[10] || (P[10] = m()),
7826
7826
  h("div", Kd, [
7827
- s.breakpoints ? (d(!0), p(le, { key: 0 }, ue(C(x), (oe, ne) => (d(), p("div", {
7827
+ s.breakpoints ? (d(!0), p(le, { key: 0 }, ue($(x), (oe, ne) => (d(), p("div", {
7828
7828
  key: ne,
7829
7829
  style: te({ right: `${oe}%` }),
7830
7830
  class: "ui-slider__thumb-step"
@@ -7970,7 +7970,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
7970
7970
  const t = _e(), o = e, s = n, r = pe({
7971
7971
  deltaValue1: 0,
7972
7972
  deltaValue2: 0
7973
- }), l = N(), i = N(), a = N(), u = N(s.modelValue), c = N(s.modelValue[0]), f = N(s.modelValue[1]), x = g(() => s), b = Vn(x), $ = g(() => [c.value, f.value].sort((j, U) => j - U).join("-")), R = g(() => s.max - s.min), D = g(() => he((s.modelValue[0] ?? 0) + r.deltaValue1, s.min, s.max)), _ = g(() => he((s.modelValue[1] ?? 0) + r.deltaValue2, s.min, s.max)), B = g(() => {
7973
+ }), l = N(), i = N(), a = N(), u = N(s.modelValue), c = N(s.modelValue[0]), f = N(s.modelValue[1]), x = g(() => s), b = Vn(x), C = g(() => [c.value, f.value].sort((j, U) => j - U).join("-")), R = g(() => s.max - s.min), D = g(() => he((s.modelValue[0] ?? 0) + r.deltaValue1, s.min, s.max)), _ = g(() => he((s.modelValue[1] ?? 0) + r.deltaValue2, s.min, s.max)), B = g(() => {
7974
7974
  const j = s.modelValue;
7975
7975
  return Array.isArray(j) && j.length === 2 && j.every((L) => Number.isFinite(L)) ? s.error : "Expected model [number, number]";
7976
7976
  }), G = g(() => (D.value - s.min) / R.value), z = g(() => (_.value - s.min) / R.value), O = g(() => k()), M = g(() => ({
@@ -7989,13 +7989,13 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
7989
7989
  { immediate: !0 }
7990
7990
  ), Ne(i, (j) => {
7991
7991
  var U;
7992
- fe((U = C(l)) == null ? void 0 : U.getBoundingClientRect(), (L) => {
7992
+ fe((U = $(l)) == null ? void 0 : U.getBoundingClientRect(), (L) => {
7993
7993
  const { dx: P } = j;
7994
7994
  r.deltaValue1 = P / L.width * R.value, c.value = V(he((s.modelValue[0] ?? 0) + r.deltaValue1, s.min, s.max)), u.value = [c.value, f.value].sort((oe, ne) => oe - ne), j.stop && (w([V(D.value), V(_.value)]), r.deltaValue1 = 0);
7995
7995
  });
7996
7996
  }), Ne(a, (j) => {
7997
7997
  var U;
7998
- fe((U = C(l)) == null ? void 0 : U.getBoundingClientRect(), (L) => {
7998
+ fe((U = $(l)) == null ? void 0 : U.getBoundingClientRect(), (L) => {
7999
7999
  const { dx: P } = j;
8000
8000
  r.deltaValue2 = P / L.width * R.value, f.value = V(he((s.modelValue[1] ?? 0) + r.deltaValue2, s.min, s.max)), u.value = [c.value, f.value].sort((oe, ne) => oe - ne), j.stop && (w([V(D.value), V(_.value)]), r.deltaValue2 = 0);
8001
8001
  });
@@ -8027,7 +8027,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
8027
8027
  j.label ? (d(), p("label", sc, [
8028
8028
  h("span", null, F(j.label), 1),
8029
8029
  U[3] || (U[3] = m()),
8030
- C(t).tooltip ? (d(), X(C(Te), {
8030
+ $(t).tooltip ? (d(), X($(Te), {
8031
8031
  key: 0,
8032
8032
  class: "info",
8033
8033
  position: "top"
@@ -8039,7 +8039,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
8039
8039
  })) : T("", !0)
8040
8040
  ])) : T("", !0),
8041
8041
  U[4] || (U[4] = m()),
8042
- s.mode === "text" ? (d(), p("div", oc, F($.value), 1)) : T("", !0)
8042
+ s.mode === "text" ? (d(), p("div", oc, F(C.value), 1)) : T("", !0)
8043
8043
  ]),
8044
8044
  U[10] || (U[10] = m()),
8045
8045
  h("div", rc, [
@@ -8057,7 +8057,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
8057
8057
  ]),
8058
8058
  U[9] || (U[9] = m()),
8059
8059
  h("div", lc, [
8060
- s.breakpoints ? (d(!0), p(le, { key: 0 }, ue(C(b), (L, P) => (d(), p("div", {
8060
+ s.breakpoints ? (d(!0), p(le, { key: 0 }, ue($(b), (L, P) => (d(), p("div", {
8061
8061
  key: P,
8062
8062
  style: te({ right: `${L}%` }),
8063
8063
  class: "ui-slider__thumb-step"
@@ -8112,7 +8112,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
8112
8112
  emits: ["update:scrollTop"],
8113
8113
  setup(n, { emit: e }) {
8114
8114
  const t = e, o = n, s = N(), r = g(() => o.clientHeight / (o.scrollHeight || 1)), l = g(() => r.value < 1), i = g(() => {
8115
- const a = C(r);
8115
+ const a = $(r);
8116
8116
  return {
8117
8117
  top: o.scrollTop * a + "px",
8118
8118
  height: Math.floor(o.clientHeight * a) + "px"
@@ -8150,7 +8150,7 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
8150
8150
  emits: ["update:scrollLeft"],
8151
8151
  setup(n, { emit: e }) {
8152
8152
  const t = e, o = n, s = N(), r = g(() => o.clientWidth / (o.scrollWidth || 1)), l = g(() => r.value < 1), i = g(() => {
8153
- const a = C(r);
8153
+ const a = $(r);
8154
8154
  return {
8155
8155
  left: o.scrollLeft * a + "px",
8156
8156
  width: Math.floor(o.clientWidth * a) + "px"
@@ -8198,23 +8198,23 @@ const zd = { class: "ui-slider__wrapper" }, Hd = { class: "ui-slider__label-sect
8198
8198
  a.scrollTop += i.deltaY, a.scrollLeft += i.deltaX, o(a);
8199
8199
  };
8200
8200
  function r(i) {
8201
- fe(C(e), (a) => {
8201
+ fe($(e), (a) => {
8202
8202
  a.scrollTop = i, o(a);
8203
8203
  });
8204
8204
  }
8205
8205
  function l(i) {
8206
- fe(C(e), (a) => {
8206
+ fe($(e), (a) => {
8207
8207
  a.scrollLeft = i, o(a);
8208
8208
  });
8209
8209
  }
8210
8210
  return Nd(e, (i) => {
8211
8211
  fe(i, (a) => o(a));
8212
8212
  }), me(() => {
8213
- fe(C(e), (i) => {
8213
+ fe($(e), (i) => {
8214
8214
  o(i), i.addEventListener("wheel", s);
8215
8215
  });
8216
8216
  }), Oe(() => {
8217
- fe(C(e), (i) => i.removeEventListener("wheel", s));
8217
+ fe($(e), (i) => i.removeEventListener("wheel", s));
8218
8218
  }), (i, a) => (d(), p("div", pc, [
8219
8219
  h("div", {
8220
8220
  ref_key: "containerRef",