@milaboratories/uikit 1.2.21 → 1.2.22

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 Ts = Object.defineProperty;
2
2
  var Ss = (n, e, t) => e in n ? Ts(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Tn = (n, e, t) => Ss(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 q, withModifiers as ie, renderSlot as W, onMounted as me, unref as x, 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 he, h as dn, render as Sn, inject as Es, 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 Rs, guardReactiveProps as Os, onUpdated as mn, onBeforeUnmount as Bs, withDirectives as be, vModelText as He, useCssVars as Ds, 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 q, withModifiers as ie, renderSlot as W, onMounted as me, unref as x, 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 he, h as dn, render as Sn, inject as Es, 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 Rs, guardReactiveProps as Os, onUpdated as mn, onBeforeUnmount as Bs, withDirectives as be, vModelText as He, useCssVars as Ds, vShow as St, createSlots as Ms, useAttrs as zn } from "vue";
5
5
  const Ps = 10, As = 30, Is = [
6
6
  {
7
7
  text: "Delete row",
@@ -20,7 +20,7 @@ const Ps = 10, As = 30, Is = [
20
20
  text: "Fit content",
21
21
  value: "expand:column"
22
22
  }
23
- ], js = ["^data-row-index"], Ls = ["value"], Ns = /* @__PURE__ */ Z({
23
+ ], js = ["^data-row-index"], Ls = ["value"], Ns = /* @__PURE__ */ z({
24
24
  __name: "TdCell",
25
25
  props: {
26
26
  cell: {},
@@ -83,10 +83,10 @@ function ce(n, e, t, o = !1) {
83
83
  return (s = x(n)) == null ? void 0 : s.removeEventListener(e, t, o);
84
84
  });
85
85
  }
86
- function Zs(n) {
86
+ function zs(n) {
87
87
  me(() => window.addEventListener("mouseup", n)), Oe(() => window.removeEventListener("mouseup", n));
88
88
  }
89
- function zn(n) {
89
+ function Zn(n) {
90
90
  let e = !1;
91
91
  return function(...o) {
92
92
  e ? console.log("handle pressure") : (requestAnimationFrame(() => {
@@ -94,15 +94,15 @@ function zn(n) {
94
94
  }), e = !0);
95
95
  };
96
96
  }
97
- function zs(n, e) {
97
+ function Zs(n, e) {
98
98
  let t;
99
99
  function o(r) {
100
100
  t = { ...r };
101
101
  }
102
- Zs(() => {
102
+ zs(() => {
103
103
  t = void 0, e();
104
104
  });
105
- const s = zn(n);
105
+ const s = Zn(n);
106
106
  return ce(window, "mousemove", (r) => {
107
107
  t && s({
108
108
  x: t.x,
@@ -482,7 +482,7 @@ const Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
482
482
  shallowDiff: Do,
483
483
  shiftProp: Fo
484
484
  }, Symbol.toStringTag, { value: "Module" }));
485
- function Zo(n, e) {
485
+ function zo(n, e) {
486
486
  const t = n.findIndex(e);
487
487
  if (t < 0)
488
488
  return [];
@@ -503,7 +503,7 @@ function es(n, e, t) {
503
503
  }, e);
504
504
  };
505
505
  }
506
- const zo = [
506
+ const Zo = [
507
507
  "B",
508
508
  "kB",
509
509
  "MB",
@@ -554,7 +554,7 @@ function qt(n, e) {
554
554
  bits: !1,
555
555
  binary: !1
556
556
  });
557
- const t = e.bits ? e.binary ? Wo : Uo : e.binary ? Ho : zo;
557
+ const t = e.bits ? e.binary ? Wo : Uo : e.binary ? Ho : Zo;
558
558
  if (e.signed && n === 0)
559
559
  return ` 0 ${t[0]}`;
560
560
  const o = n < 0, s = o ? "-" : e.signed ? "+" : "";
@@ -601,7 +601,7 @@ function ns(n, e = {}) {
601
601
  }
602
602
  const { tapIf: Ko, clamp: Yo } = Ot;
603
603
  function Go(n, e) {
604
- const t = ts(), o = ns(e, {}), s = zs(
604
+ const t = ts(), o = ns(e, {}), s = Zs(
605
605
  (l) => {
606
606
  Ko(n.resizeTh, (i) => {
607
607
  n.columnsMeta[i.index] = {
@@ -667,7 +667,7 @@ function sr(n, e) {
667
667
  }, null, -1)
668
668
  ]));
669
669
  }
670
- const or = /* @__PURE__ */ qe(tr, [["render", sr]]), rr = /* @__PURE__ */ Z({
670
+ const or = /* @__PURE__ */ qe(tr, [["render", sr]]), rr = /* @__PURE__ */ z({
671
671
  __name: "ThCell",
672
672
  props: {
673
673
  col: {},
@@ -717,7 +717,7 @@ const or = /* @__PURE__ */ qe(tr, [["render", sr]]), rr = /* @__PURE__ */ Z({
717
717
  }, null, 2)) : T("", !0)
718
718
  ], 34));
719
719
  }
720
- }), ir = /* @__PURE__ */ Z({
720
+ }), ir = /* @__PURE__ */ z({
721
721
  __name: "TRow",
722
722
  props: {
723
723
  index: {},
@@ -836,10 +836,11 @@ function af(n) {
836
836
  function ct(n) {
837
837
  return n.map((e) => ({
838
838
  label: "label" in e ? e.label : e.text,
839
- value: e.value
839
+ value: e.value,
840
+ description: e.description
840
841
  }));
841
842
  }
842
- const Kt = 40, uf = /* @__PURE__ */ Z({
843
+ const Kt = 40, uf = /* @__PURE__ */ z({
843
844
  __name: "index",
844
845
  props: {
845
846
  settings: {}
@@ -854,21 +855,21 @@ const Kt = 40, uf = /* @__PURE__ */ Z({
854
855
  bodyHeight: 0,
855
856
  scrollTop: 0
856
857
  }), l = N(), i = N(), a = N(), u = () => {
857
- e(a.value, (z) => {
858
- r.bodyHeight = z.getBoundingClientRect().height;
858
+ e(a.value, (Z) => {
859
+ r.bodyHeight = Z.getBoundingClientRect().height;
859
860
  });
860
861
  }, c = g(() => s.settings.autoLastColumn ? [...s.settings.columns, { name: o(), text: "_" }] : s.settings.columns), f = g(() => {
861
- const { columnsMeta: z } = r, O = x(c), D = Object.keys(z).length;
862
- return O.map((y, v) => v == O.length - 1 ? D ? "minmax(100px, 1fr)" : y.width ?? "minmax(100px, 1fr)" : z[v] ? z[v].width + "px" : y.width ?? "140px").join(" ");
862
+ const { columnsMeta: Z } = r, O = x(c), D = Object.keys(Z).length;
863
+ return O.map((y, v) => v == O.length - 1 ? D ? "minmax(100px, 1fr)" : y.width ?? "minmax(100px, 1fr)" : Z[v] ? Z[v].width + "px" : y.width ?? "140px").join(" ");
863
864
  }), $ = g(() => ({
864
865
  gridColumn: "1 / " + x(c).length + 1
865
866
  })), b = g(() => x(c).reduce(
866
- (z, O) => (z[O.name] = O.justify ? "justify-" + O.justify : "", z),
867
+ (Z, O) => (Z[O.name] = O.justify ? "justify-" + O.justify : "", Z),
867
868
  {}
868
869
  )), C = g(() => {
869
- const z = x(c), O = s.settings.rows.slice(), { bodyHeight: D, scrollTop: y } = r;
870
+ const Z = x(c), O = s.settings.rows.slice(), { bodyHeight: D, scrollTop: y } = r;
870
871
  if (s.settings.selfSort) {
871
- const V = z.reduce(
872
+ const V = Z.reduce(
872
873
  (w, E) => {
873
874
  var j;
874
875
  return (j = E.sort) != null && j.direction && (w[E.name] = E.sort.direction), w;
@@ -880,7 +881,7 @@ const Kt = 40, uf = /* @__PURE__ */ Z({
880
881
  const v = 160;
881
882
  let k = 0;
882
883
  return O.map((V, w) => {
883
- const E = t(V.__height ? Number(V.__height) : Kt, (L) => !Number.isFinite(L) || L < Kt ? Kt : L), j = z.map((L) => {
884
+ const E = t(V.__height ? Number(V.__height) : Kt, (L) => !Number.isFinite(L) || L < Kt ? Kt : L), j = Z.map((L) => {
884
885
  const A = L.name;
885
886
  return {
886
887
  colName: A,
@@ -899,24 +900,24 @@ const Kt = 40, uf = /* @__PURE__ */ Z({
899
900
  });
900
901
  }), { mouseDown: R } = Go(r, l);
901
902
  function M() {
902
- e(i.value, (z) => {
903
+ e(i.value, (Z) => {
903
904
  var O;
904
- z.scrollLeft = ((O = a.value) == null ? void 0 : O.scrollLeft) ?? 0;
905
+ Z.scrollLeft = ((O = a.value) == null ? void 0 : O.scrollLeft) ?? 0;
905
906
  });
906
907
  }
907
908
  const _ = rs(() => {
908
- var z;
909
- r.scrollTop = ((z = a.value) == null ? void 0 : z.scrollTop) ?? 0;
909
+ var Z;
910
+ r.scrollTop = ((Z = a.value) == null ? void 0 : Z.scrollTop) ?? 0;
910
911
  }, 10), B = () => {
911
912
  M(), _();
912
913
  };
913
- function G(z) {
914
- const O = c.value.findIndex((y) => y.name === z);
914
+ function G(Z) {
915
+ const O = c.value.findIndex((y) => y.name === Z);
915
916
  if (O < 0)
916
917
  return;
917
918
  const D = s.settings.rows.reduce((y, v) => {
918
919
  const V = 9.52 * Ot.call(() => {
919
- const w = v[z];
920
+ const w = v[Z];
920
921
  return w && typeof w == "object" && "segments" in w ? w.segments.map((j) => j.sequence).join("").length : String(w ?? "").length;
921
922
  });
922
923
  return V > y ? V : y;
@@ -927,16 +928,16 @@ const Kt = 40, uf = /* @__PURE__ */ Z({
927
928
  xe(u);
928
929
  }), Lt(() => {
929
930
  x(s.settings), xe(u);
930
- }), ce(window, "resize", () => xe(u)), (z, O) => (d(), p("div", {
931
+ }), ce(window, "resize", () => xe(u)), (Z, O) => (d(), p("div", {
931
932
  ref_key: "tableRef",
932
933
  ref: l,
933
934
  class: "grid-table",
934
935
  onMousedown: O[5] || (O[5] = //@ts-ignore
935
936
  (...D) => x(R) && x(R)(...D))
936
937
  }, [
937
- z.settings.addColumn ? (d(), X(er, {
938
+ Z.settings.addColumn ? (d(), X(er, {
938
939
  key: 0,
939
- onClick: ie(z.settings.addColumn, ["stop"])
940
+ onClick: ie(Z.settings.addColumn, ["stop"])
940
941
  }, null, 8, ["onClick"])) : T("", !0),
941
942
  O[9] || (O[9] = m()),
942
943
  h("div", {
@@ -948,10 +949,10 @@ const Kt = 40, uf = /* @__PURE__ */ Z({
948
949
  (d(!0), p(le, null, ue(c.value, (D, y) => (d(), X(rr, {
949
950
  key: y,
950
951
  col: D,
951
- "show-context-options": z.settings.showContextOptions,
952
- "column-events": z.settings.columnEvents,
953
- "onDelete:column": O[0] || (O[0] = (v) => z.$emit("delete:column", v)),
954
- "onChange:sort": O[1] || (O[1] = (v) => z.$emit("change:sort", v)),
952
+ "show-context-options": Z.settings.showContextOptions,
953
+ "column-events": Z.settings.columnEvents,
954
+ "onDelete:column": O[0] || (O[0] = (v) => Z.$emit("delete:column", v)),
955
+ "onChange:sort": O[1] || (O[1] = (v) => Z.$emit("change:sort", v)),
955
956
  "onExpand:column": O[2] || (O[2] = (v) => G(v))
956
957
  }, null, 8, ["col", "show-context-options", "column-events"]))), 128))
957
958
  ], 4),
@@ -985,19 +986,19 @@ const Kt = 40, uf = /* @__PURE__ */ Z({
985
986
  (d(!0), p(le, null, ue(D.cells, (v, k) => (d(), X(Ns, {
986
987
  key: k,
987
988
  cell: v,
988
- "show-context-options": z.settings.showContextOptions,
989
- "cell-events": z.settings.cellEvents,
990
- onClick: ie((V) => z.$emit("click:cell", v), ["stop"]),
991
- "onDelete:row": O[3] || (O[3] = (V) => z.$emit("delete:row", V)),
992
- "onUpdate:value": O[4] || (O[4] = (V) => z.$emit("update:value", V))
989
+ "show-context-options": Z.settings.showContextOptions,
990
+ "cell-events": Z.settings.cellEvents,
991
+ onClick: ie((V) => Z.$emit("click:cell", v), ["stop"]),
992
+ "onDelete:row": O[3] || (O[3] = (V) => Z.$emit("delete:row", V)),
993
+ "onUpdate:value": O[4] || (O[4] = (V) => Z.$emit("update:value", V))
993
994
  }, {
994
995
  default: se(() => [
995
- v.slot ? W(z.$slots, v.colName, he({
996
+ v.slot ? W(Z.$slots, v.colName, he({
996
997
  key: 0,
997
998
  ref_for: !0
998
999
  }, v), () => [
999
1000
  m(F(v.value), 1)
1000
- ]) : W(z.$slots, "default", he({
1001
+ ]) : W(Z.$slots, "default", he({
1001
1002
  key: 1,
1002
1003
  ref_for: !0
1003
1004
  }, v), () => [
@@ -1012,7 +1013,7 @@ const Kt = 40, uf = /* @__PURE__ */ Z({
1012
1013
  ], 544)
1013
1014
  ], 544));
1014
1015
  }
1015
- }), hr = { class: "context-menu" }, vr = ["onClick"], gr = /* @__PURE__ */ Z({
1016
+ }), hr = { class: "context-menu" }, vr = ["onClick"], gr = /* @__PURE__ */ z({
1016
1017
  __name: "Menu",
1017
1018
  props: {
1018
1019
  options: {}
@@ -1048,7 +1049,7 @@ function is(n, e) {
1048
1049
  s.contains(r.target) || t();
1049
1050
  }), t;
1050
1051
  }
1051
- const ls = Symbol(), Nt = () => Es(ls), _r = ["value"], br = { key: 1 }, wr = /* @__PURE__ */ Z({
1052
+ const ls = Symbol(), Nt = () => Es(ls), _r = ["value"], br = { key: 1 }, wr = /* @__PURE__ */ z({
1052
1053
  __name: "BaseCellComponent",
1053
1054
  props: {
1054
1055
  modelValue: {},
@@ -1087,7 +1088,7 @@ const ls = Symbol(), Nt = () => Es(ls), _r = ["value"], br = { key: 1 }, wr = /*
1087
1088
  }), kr = ["^data-row-index"], xr = {
1088
1089
  key: 0,
1089
1090
  class: "control-cell"
1090
- }, $r = /* @__PURE__ */ Z({
1091
+ }, $r = /* @__PURE__ */ z({
1091
1092
  __name: "TdCell",
1092
1093
  props: {
1093
1094
  cell: {}
@@ -1173,7 +1174,7 @@ function Tr(n, e) {
1173
1174
  }, null, -1)
1174
1175
  ]));
1175
1176
  }
1176
- const Sr = /* @__PURE__ */ qe(Cr, [["render", Tr]]), Er = { class: "tr-head" }, Rr = /* @__PURE__ */ Z({
1177
+ const Sr = /* @__PURE__ */ qe(Cr, [["render", Tr]]), Er = { class: "tr-head" }, Rr = /* @__PURE__ */ z({
1177
1178
  __name: "TrHead",
1178
1179
  setup(n) {
1179
1180
  return (e, t) => (d(), p("div", Er, [
@@ -1197,7 +1198,7 @@ function Br(n, e) {
1197
1198
  })();
1198
1199
  return n.slice(t, o);
1199
1200
  }
1200
- const Dr = ["^data-col-id"], Mr = /* @__PURE__ */ Z({
1201
+ const Dr = ["^data-col-id"], Mr = /* @__PURE__ */ z({
1201
1202
  __name: "ThCell",
1202
1203
  props: {
1203
1204
  col: {}
@@ -1235,7 +1236,7 @@ const Dr = ["^data-col-id"], Mr = /* @__PURE__ */ Z({
1235
1236
  }, null, 2)) : T("", !0)
1236
1237
  ], 42, Dr));
1237
1238
  }
1238
- }), Pr = /* @__PURE__ */ Z({
1239
+ }), Pr = /* @__PURE__ */ z({
1239
1240
  __name: "TrBody",
1240
1241
  props: {
1241
1242
  row: {}
@@ -1257,7 +1258,7 @@ const Dr = ["^data-col-id"], Mr = /* @__PURE__ */ Z({
1257
1258
  W(o.$slots, "default")
1258
1259
  ], 38));
1259
1260
  }
1260
- }), Ar = /* @__PURE__ */ Z({
1261
+ }), Ar = /* @__PURE__ */ z({
1261
1262
  __name: "ColumnCaret",
1262
1263
  props: {
1263
1264
  column: {}
@@ -1280,7 +1281,7 @@ function Fr(n, e) {
1280
1281
  Ir(() => {
1281
1282
  t = void 0, e();
1282
1283
  });
1283
- const s = zn(n);
1284
+ const s = Zn(n);
1284
1285
  return ce(window, "mousemove", (r) => {
1285
1286
  t && s({
1286
1287
  x: t.x,
@@ -1305,7 +1306,7 @@ function Nr(n) {
1305
1306
  });
1306
1307
  }).slice(0, e.length - 1);
1307
1308
  }
1308
- function Zr(n, e) {
1309
+ function zr(n, e) {
1309
1310
  const t = ts(), o = ns(e, {}), { data: s } = n, r = Fr(
1310
1311
  (i) => {
1311
1312
  Le(s.resizeTh, (a) => {
@@ -1335,10 +1336,10 @@ function Zr(n, e) {
1335
1336
  mouseDown: l
1336
1337
  };
1337
1338
  }
1338
- const zr = {
1339
+ const Zr = {
1339
1340
  key: 0,
1340
1341
  class: "command-menu"
1341
- }, Hr = { key: 0 }, Ur = ["onClick"], Wr = /* @__PURE__ */ Z({
1342
+ }, Hr = { key: 0 }, Ur = ["onClick"], Wr = /* @__PURE__ */ z({
1342
1343
  __name: "RowsCommandMenu",
1343
1344
  setup(n) {
1344
1345
  const e = Nt(), t = g(() => e.getSelectedRows()), o = g(() => t.value.length > 0), s = g(() => {
@@ -1352,7 +1353,7 @@ const zr = {
1352
1353
  }
1353
1354
  }))
1354
1355
  );
1355
- return (l, i) => o.value ? (d(), p("div", zr, [
1356
+ return (l, i) => o.value ? (d(), p("div", Zr, [
1356
1357
  t.value.length ? (d(), p("span", Hr, F(t.value.length) + " rows selected", 1)) : T("", !0),
1357
1358
  i[0] || (i[0] = m()),
1358
1359
  i[1] || (i[1] = h("hr", null, null, -1)),
@@ -1367,7 +1368,7 @@ const zr = {
1367
1368
  }), qr = {
1368
1369
  key: 0,
1369
1370
  class: "command-menu"
1370
- }, Kr = { key: 0 }, Yr = ["onClick"], Gr = /* @__PURE__ */ Z({
1371
+ }, Kr = { key: 0 }, Yr = ["onClick"], Gr = /* @__PURE__ */ z({
1371
1372
  __name: "ColumnsCommandMenu",
1372
1373
  setup(n) {
1373
1374
  const e = Nt(), t = g(() => e.getSelectedColumns()), o = g(() => t.value.length > 0), s = g(() => {
@@ -1419,7 +1420,7 @@ function Ne(n, e) {
1419
1420
  t.el && e(o(s), t);
1420
1421
  });
1421
1422
  }
1422
- const Xr = /* @__PURE__ */ Z({
1423
+ const Xr = /* @__PURE__ */ z({
1423
1424
  __name: "TScroll",
1424
1425
  props: {
1425
1426
  offset: {},
@@ -1464,7 +1465,7 @@ function Jr(n) {
1464
1465
  const $ = { ...f, offset: i };
1465
1466
  return i += f.width + Qe, $;
1466
1467
  }), u = a.filter((f) => f.frozen);
1467
- return Zo(a, (f) => f.frozen ? !1 : s < f.offset + f.width && f.offset < o + s).concat(u).map((f) => ({
1468
+ return zo(a, (f) => f.frozen ? !1 : s < f.offset + f.width && f.offset < o + s).concat(u).map((f) => ({
1468
1469
  ...f,
1469
1470
  style: {
1470
1471
  left: f.frozen ? `${f.offset}px` : `${f.offset - e.scrollLeft}px`,
@@ -1610,7 +1611,7 @@ function ti(n) {
1610
1611
  const ni = { class: "command-menu__container" }, si = {
1611
1612
  key: 0,
1612
1613
  class: "table-body__no-data"
1613
- }, oi = { class: "carets" }, yn = /* @__PURE__ */ Z({
1614
+ }, oi = { class: "carets" }, yn = /* @__PURE__ */ z({
1614
1615
  __name: "TableComponent",
1615
1616
  props: {
1616
1617
  settings: {}
@@ -1625,7 +1626,7 @@ const ni = { class: "command-menu__container" }, si = {
1625
1626
  Le(u.value, (R) => {
1626
1627
  s.updateDimensions(R.getBoundingClientRect());
1627
1628
  });
1628
- }, f = s.tableColumns, $ = s.tableRows, { mouseDown: b } = Zr(s, i);
1629
+ }, f = s.tableColumns, $ = s.tableRows, { mouseDown: b } = zr(s, i);
1629
1630
  me(() => {
1630
1631
  xe(c);
1631
1632
  }), Lt(() => {
@@ -1844,7 +1845,7 @@ function gi(n) {
1844
1845
  tn.delete(t);
1845
1846
  }), [e, o];
1846
1847
  }
1847
- const cf = /* @__PURE__ */ Z({
1848
+ const cf = /* @__PURE__ */ z({
1848
1849
  __name: "ThemeSwitcher",
1849
1850
  setup(n) {
1850
1851
  const [e, t] = gi();
@@ -1861,7 +1862,7 @@ const cf = /* @__PURE__ */ Z({
1861
1862
  class: "pl-block-page__title"
1862
1863
  }, bi = { class: "pl-block-page__title__append" }, wi = { key: 1 }, ki = { class: "pl-block-page__body" }, xi = {
1863
1864
  name: "PlBlockPage"
1864
- }, pf = /* @__PURE__ */ Z({
1865
+ }, pf = /* @__PURE__ */ z({
1865
1866
  ...xi,
1866
1867
  setup(n) {
1867
1868
  const e = _e();
@@ -1883,7 +1884,7 @@ const cf = /* @__PURE__ */ Z({
1883
1884
  }
1884
1885
  }), $i = {
1885
1886
  name: "PlContainer"
1886
- }, ff = /* @__PURE__ */ Z({
1887
+ }, ff = /* @__PURE__ */ z({
1887
1888
  ...$i,
1888
1889
  props: {
1889
1890
  width: {}
@@ -1901,7 +1902,7 @@ const cf = /* @__PURE__ */ Z({
1901
1902
  }
1902
1903
  }), Ci = {
1903
1904
  name: "PlRow"
1904
- }, mf = /* @__PURE__ */ Z({
1905
+ }, mf = /* @__PURE__ */ z({
1905
1906
  ...Ci,
1906
1907
  props: {
1907
1908
  wrap: { type: Boolean },
@@ -1919,14 +1920,14 @@ const cf = /* @__PURE__ */ Z({
1919
1920
  style: { "flex-grow": "1" }
1920
1921
  }, Ti = {
1921
1922
  name: "PlSpacer"
1922
- }, hf = /* @__PURE__ */ Z({
1923
+ }, hf = /* @__PURE__ */ z({
1923
1924
  ...Ti,
1924
1925
  setup(n) {
1925
1926
  return (e, t) => (d(), p("div", Vi));
1926
1927
  }
1927
1928
  }), Si = {
1928
1929
  name: "PlGrid"
1929
- }, vf = /* @__PURE__ */ Z({
1930
+ }, vf = /* @__PURE__ */ z({
1930
1931
  ...Si,
1931
1932
  props: {
1932
1933
  columns: {}
@@ -1947,7 +1948,7 @@ const cf = /* @__PURE__ */ Z({
1947
1948
  class: "pl-alert__icon"
1948
1949
  }, Ri = { class: "pl-alert__main" }, Oi = { key: 0 }, Bi = { class: "pl-alert__main__text" }, Di = {
1949
1950
  name: "PlAlert"
1950
- }, gf = /* @__PURE__ */ Z({
1951
+ }, gf = /* @__PURE__ */ z({
1951
1952
  ...Di,
1952
1953
  props: {
1953
1954
  modelValue: { type: Boolean, default: !0 },
@@ -1995,7 +1996,7 @@ const cf = /* @__PURE__ */ Z({
1995
1996
  })) : T("", !0)
1996
1997
  ], 6)) : T("", !0);
1997
1998
  }
1998
- }), Bt = /* @__PURE__ */ Z({
1999
+ }), Bt = /* @__PURE__ */ z({
1999
2000
  __name: "MaskIcon16",
2000
2001
  props: {
2001
2002
  name: {},
@@ -2023,7 +2024,7 @@ function as(n) {
2023
2024
  }
2024
2025
  const Mi = { key: 0 }, Pi = {
2025
2026
  inheritAttrs: !1
2026
- }, bn = /* @__PURE__ */ Z({
2027
+ }, bn = /* @__PURE__ */ z({
2027
2028
  ...Pi,
2028
2029
  __name: "BtnBase",
2029
2030
  props: {
@@ -2061,7 +2062,7 @@ const Mi = { key: 0 }, Pi = {
2061
2062
  }
2062
2063
  }), Ai = {
2063
2064
  name: "PlBtnPrimary"
2064
- }, Ii = /* @__PURE__ */ Z({
2065
+ }, Ii = /* @__PURE__ */ z({
2065
2066
  ...Ai,
2066
2067
  props: {
2067
2068
  loading: { type: Boolean },
@@ -2082,7 +2083,7 @@ const Mi = { key: 0 }, Pi = {
2082
2083
  }
2083
2084
  }), Fi = {
2084
2085
  name: "PlBtnAccent"
2085
- }, yf = /* @__PURE__ */ Z({
2086
+ }, yf = /* @__PURE__ */ z({
2086
2087
  ...Fi,
2087
2088
  props: {
2088
2089
  loading: { type: Boolean },
@@ -2103,7 +2104,7 @@ const Mi = { key: 0 }, Pi = {
2103
2104
  }
2104
2105
  }), ji = {
2105
2106
  name: "PlBtnSecondary"
2106
- }, Li = /* @__PURE__ */ Z({
2107
+ }, Li = /* @__PURE__ */ z({
2107
2108
  ...ji,
2108
2109
  props: {
2109
2110
  loading: { type: Boolean },
@@ -2122,10 +2123,10 @@ const Mi = { key: 0 }, Pi = {
2122
2123
  _: 3
2123
2124
  }, 16));
2124
2125
  }
2125
- }), Ni = { key: 0 }, Zi = {
2126
+ }), Ni = { key: 0 }, zi = {
2126
2127
  name: "PlBtnGhost"
2127
- }, zi = /* @__PURE__ */ Z({
2128
- ...Zi,
2128
+ }, Zi = /* @__PURE__ */ z({
2129
+ ...zi,
2129
2130
  props: {
2130
2131
  loading: { type: Boolean },
2131
2132
  size: { default: void 0 },
@@ -2157,7 +2158,7 @@ const Mi = { key: 0 }, Pi = {
2157
2158
  }, null, 8, ["name", "size"])) : T("", !0)
2158
2159
  ], 16));
2159
2160
  }
2160
- }), _f = /* @__PURE__ */ Z({
2161
+ }), _f = /* @__PURE__ */ z({
2161
2162
  __name: "PlBtnLink",
2162
2163
  props: {
2163
2164
  loading: { type: Boolean },
@@ -2221,7 +2222,7 @@ function Ui(n, e) {
2221
2222
  return r === "top-left" ? `left: ${o.offsetX}px; top: ${o.offsetY - l}px;` : r === "top" ? `left: ${a}px; top: ${o.offsetY - l}px;` : r === "right" ? `left: ${o.offsetX + o.width + l}px; top: ${i}px;` : r === "left" ? `right: ${o.scrollWidth - o.x + l}px; top: ${i}px;` : "";
2222
2223
  });
2223
2224
  }
2224
- function Zt(n, e) {
2225
+ function zt(n, e) {
2225
2226
  return e(n);
2226
2227
  }
2227
2228
  function fe(n, e) {
@@ -2261,7 +2262,7 @@ function Gi(n, e) {
2261
2262
  }
2262
2263
  const Xi = /* @__PURE__ */ qe(Ki, [["render", Gi]]), Xt = /* @__PURE__ */ new Map(), Ji = {
2263
2264
  name: "PlTooltip"
2264
- }, Te = /* @__PURE__ */ Z({
2265
+ }, Te = /* @__PURE__ */ z({
2265
2266
  ...Ji,
2266
2267
  props: {
2267
2268
  openDelay: { default: 100 },
@@ -2370,7 +2371,7 @@ const nl = /* @__PURE__ */ qe(Qi, [["render", tl]]), sl = { key: 0 }, ol = ["tab
2370
2371
  class: "ui-btn-group__error"
2371
2372
  }, ll = {
2372
2373
  name: "PlBtnGroup"
2373
- }, bf = /* @__PURE__ */ Z({
2374
+ }, bf = /* @__PURE__ */ z({
2374
2375
  ...ll,
2375
2376
  props: {
2376
2377
  modelValue: {},
@@ -2382,39 +2383,44 @@ const nl = /* @__PURE__ */ qe(Qi, [["render", tl]]), sl = { key: 0 }, ol = ["tab
2382
2383
  },
2383
2384
  emits: ["update:modelValue"],
2384
2385
  setup(n, { emit: e }) {
2385
- const t = _e(), o = e, s = (r) => o("update:modelValue", r);
2386
- return (r, l) => (d(), p("div", {
2387
- class: q(["ui-btn-group", { disabled: r.disabled }])
2386
+ const t = _e(), o = e, s = (i) => o("update:modelValue", i), r = n, l = g(
2387
+ () => r.options.map((i) => ({
2388
+ label: "label" in i ? i.label : i.text,
2389
+ value: i.value
2390
+ }))
2391
+ );
2392
+ return (i, a) => (d(), p("div", {
2393
+ class: q(["ui-btn-group", { disabled: i.disabled }])
2388
2394
  }, [
2389
- r.label ? (d(), p("label", sl, [
2390
- h("span", null, F(r.label), 1),
2391
- l[0] || (l[0] = m()),
2395
+ i.label ? (d(), p("label", sl, [
2396
+ h("span", null, F(i.label), 1),
2397
+ a[0] || (a[0] = m()),
2392
2398
  x(t).tooltip ? (d(), X(x(Te), {
2393
2399
  key: 0,
2394
2400
  class: "info",
2395
2401
  position: "top"
2396
2402
  }, {
2397
2403
  tooltip: se(() => [
2398
- W(r.$slots, "tooltip")
2404
+ W(i.$slots, "tooltip")
2399
2405
  ]),
2400
2406
  _: 3
2401
2407
  })) : T("", !0)
2402
2408
  ])) : T("", !0),
2403
- l[1] || (l[1] = m()),
2409
+ a[1] || (a[1] = m()),
2404
2410
  re(nl, { class: "ui-btn-group__container" }, {
2405
2411
  default: se(() => [
2406
- (d(!0), p(le, null, ue(r.options, (i, a) => (d(), p("div", {
2407
- key: a,
2408
- class: q(["ui-btn-group__option", { active: r.modelValue === i.value }]),
2409
- tabindex: r.modelValue === i.value || r.disabled ? void 0 : 0,
2410
- onKeydown: ze((u) => s(i.value), ["enter"]),
2411
- onClick: (u) => s(i.value)
2412
- }, F(i.text), 43, ol))), 128))
2412
+ (d(!0), p(le, null, ue(l.value, (u, c) => (d(), p("div", {
2413
+ key: c,
2414
+ class: q(["ui-btn-group__option", { active: i.modelValue === u.value }]),
2415
+ tabindex: i.modelValue === u.value || i.disabled ? void 0 : 0,
2416
+ onKeydown: Ze((f) => s(u.value), ["enter"]),
2417
+ onClick: (f) => s(u.value)
2418
+ }, F(u.label), 43, ol))), 128))
2413
2419
  ]),
2414
2420
  _: 1
2415
2421
  }),
2416
- l[2] || (l[2] = m()),
2417
- r.helper ? (d(), p("div", rl, F(r.helper), 1)) : r.error ? (d(), p("div", il, F(r.error), 1)) : T("", !0)
2422
+ a[2] || (a[2] = m()),
2423
+ i.helper ? (d(), p("div", rl, F(i.helper), 1)) : i.error ? (d(), p("div", il, F(i.error), 1)) : T("", !0)
2418
2424
  ], 2));
2419
2425
  }
2420
2426
  }), al = {
@@ -2448,7 +2454,7 @@ function ot(n, e = "label") {
2448
2454
  fe(n == null ? void 0 : n.value, (o) => {
2449
2455
  const s = o.querySelector(e);
2450
2456
  s && (t.add(s), ds(s, () => {
2451
- const r = ar(() => s.getBoundingClientRect().width + Zt(cl, (l) => Number.isNaN(l) ? Mn : l + Mn));
2457
+ const r = ar(() => s.getBoundingClientRect().width + zt(cl, (l) => Number.isNaN(l) ? Mn : l + Mn));
2452
2458
  o.style.getPropertyValue("--label-offset-right-x") !== `${r}px` && o.style.setProperty("--label-offset-right-x", `${r}px`);
2453
2459
  }));
2454
2460
  });
@@ -2486,7 +2492,7 @@ const fl = { class: "ui-text-field__envelope" }, ml = {
2486
2492
  class: "ui-text-field__helper"
2487
2493
  }, wl = {
2488
2494
  name: "PlTextField"
2489
- }, kl = /* @__PURE__ */ Z({
2495
+ }, kl = /* @__PURE__ */ z({
2490
2496
  ...wl,
2491
2497
  props: {
2492
2498
  modelValue: {},
@@ -2588,7 +2594,7 @@ const fl = { class: "ui-text-field__envelope" }, ml = {
2588
2594
  class: "ui-text-area__helper"
2589
2595
  }, Rl = {
2590
2596
  name: "PlTextArea"
2591
- }, wf = /* @__PURE__ */ Z({
2597
+ }, wf = /* @__PURE__ */ z({
2592
2598
  ...Rl,
2593
2599
  props: {
2594
2600
  modelValue: {},
@@ -2727,7 +2733,7 @@ const Dl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2727
2733
  }, jl = {
2728
2734
  key: 1,
2729
2735
  class: "dropdown-list-item__icon flex-self-start"
2730
- }, $n = /* @__PURE__ */ Z({
2736
+ }, $n = /* @__PURE__ */ z({
2731
2737
  __name: "DropdownListItem",
2732
2738
  props: {
2733
2739
  option: {},
@@ -2762,7 +2768,7 @@ const Dl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2762
2768
  !e.useCheckbox && e.isSelected ? (d(), p("div", jl)) : T("", !0)
2763
2769
  ], 2));
2764
2770
  }
2765
- }), Ll = /* @__PURE__ */ Z({
2771
+ }), Ll = /* @__PURE__ */ z({
2766
2772
  __name: "LongText",
2767
2773
  setup(n) {
2768
2774
  Ds((c) => ({
@@ -2797,7 +2803,7 @@ const Dl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2797
2803
  ], 32)
2798
2804
  ], 16));
2799
2805
  }
2800
- }), Nl = { class: "ui-dropdown__envelope" }, Zl = ["tabindex"], zl = { class: "ui-dropdown__container" }, Hl = { class: "ui-dropdown__field" }, Ul = ["disabled", "placeholder"], Wl = { class: "ui-dropdown__controls" }, ql = { key: 0 }, Kl = {
2806
+ }), Nl = { class: "ui-dropdown__envelope" }, zl = ["tabindex"], Zl = { class: "ui-dropdown__container" }, Hl = { class: "ui-dropdown__field" }, Ul = ["disabled", "placeholder"], Wl = { class: "ui-dropdown__controls" }, ql = { key: 0 }, Kl = {
2801
2807
  key: 0,
2802
2808
  class: "required-icon"
2803
2809
  }, Yl = {
@@ -2811,7 +2817,7 @@ const Dl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2811
2817
  class: "ui-dropdown__helper"
2812
2818
  }, Jl = {
2813
2819
  name: "PlDropdown"
2814
- }, ms = /* @__PURE__ */ Z({
2820
+ }, ms = /* @__PURE__ */ z({
2815
2821
  ...Jl,
2816
2822
  props: {
2817
2823
  modelValue: {},
@@ -2833,7 +2839,7 @@ const Dl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2833
2839
  search: "",
2834
2840
  activeIndex: -1,
2835
2841
  open: !1
2836
- }), u = () => Zt(
2842
+ }), u = () => zt(
2837
2843
  _.value.findIndex((w) => $e(w.value, o.modelValue)),
2838
2844
  (w) => w < 0 ? 0 : w
2839
2845
  ), c = () => a.activeIndex = u(), f = g(() => o.options.findIndex((w) => $e(w.value, o.modelValue))), $ = g(() => {
@@ -2860,7 +2866,7 @@ const Dl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2860
2866
  }), B = g(() => o.disabled ? void 0 : "0"), G = (w) => {
2861
2867
  var E;
2862
2868
  t("update:modelValue", w), a.search = "", a.open = !1, (E = r == null ? void 0 : r.value) == null || E.focus();
2863
- }, z = () => t("update:modelValue", void 0), O = () => {
2869
+ }, Z = () => t("update:modelValue", void 0), O = () => {
2864
2870
  var w;
2865
2871
  return (w = i.value) == null ? void 0 : w.focus();
2866
2872
  }, D = () => a.open = !a.open, y = () => a.open = !0, v = (w) => {
@@ -2907,7 +2913,7 @@ const Dl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2907
2913
  onKeydown: V,
2908
2914
  onFocusout: v
2909
2915
  }, [
2910
- h("div", zl, [
2916
+ h("div", Zl, [
2911
2917
  h("div", Hl, [
2912
2918
  be(h("input", {
2913
2919
  ref_key: "input",
@@ -2940,7 +2946,7 @@ const Dl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2940
2946
  w.clearable && M.value ? (d(), p("div", {
2941
2947
  key: 0,
2942
2948
  class: "icon-16 icon-clear",
2943
- onClick: ie(z, ["stop"])
2949
+ onClick: ie(Z, ["stop"])
2944
2950
  })) : T("", !0),
2945
2951
  E[1] || (E[1] = m()),
2946
2952
  W(w.$slots, "append"),
@@ -2998,14 +3004,14 @@ const Dl = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2998
3004
  E[10] || (E[10] = m()),
2999
3005
  re(st, { class: "ui-dropdown__contour" })
3000
3006
  ])
3001
- ], 42, Zl),
3007
+ ], 42, zl),
3002
3008
  E[11] || (E[11] = m()),
3003
3009
  $.value ? (d(), p("div", Gl, F($.value), 1)) : w.helper ? (d(), p("div", Xl, F(w.helper), 1)) : T("", !0)
3004
3010
  ]));
3005
3011
  }
3006
3012
  }), Ql = {
3007
3013
  name: "PlDropdownRef"
3008
- }, xf = /* @__PURE__ */ Z({
3014
+ }, xf = /* @__PURE__ */ z({
3009
3015
  ...Ql,
3010
3016
  props: {
3011
3017
  modelValue: {},
@@ -3040,7 +3046,7 @@ function ea(n, e) {
3040
3046
  return e.value ? t.filter((o) => o.label.toLowerCase().includes(e.value.toLowerCase())) : t;
3041
3047
  });
3042
3048
  }
3043
- const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled"], sa = /* @__PURE__ */ Z({
3049
+ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled"], sa = /* @__PURE__ */ z({
3044
3050
  __name: "ResizableInput",
3045
3051
  props: {
3046
3052
  modelValue: {},
@@ -3078,7 +3084,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3078
3084
  }), null, 16, na)
3079
3085
  ]));
3080
3086
  }
3081
- }), oa = { class: "dropdown-tab-item__title text-caps13" }, ra = /* @__PURE__ */ Z({
3087
+ }), oa = { class: "dropdown-tab-item__title text-caps13" }, ra = /* @__PURE__ */ z({
3082
3088
  __name: "TabItem",
3083
3089
  props: {
3084
3090
  option: {},
@@ -3102,7 +3108,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3102
3108
  }, da = {
3103
3109
  key: 0,
3104
3110
  class: "ui-line-dropdown__no-item"
3105
- }, $f = /* @__PURE__ */ Z({
3111
+ }, $f = /* @__PURE__ */ z({
3106
3112
  __name: "PlDropdownLine",
3107
3113
  props: {
3108
3114
  modelValue: {},
@@ -3154,7 +3160,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3154
3160
  return o.options.findIndex((k) => $e(k.value, o.modelValue));
3155
3161
  }
3156
3162
  function R() {
3157
- s.activeOption = Zt(
3163
+ s.activeOption = zt(
3158
3164
  u.value.findIndex((k) => $e(k.value, o.modelValue)),
3159
3165
  (k) => k < 0 ? 0 : k
3160
3166
  ), $.value = f.value;
@@ -3173,7 +3179,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3173
3179
  function G(k) {
3174
3180
  k && (t("update:modelValue", k.value), B(), M());
3175
3181
  }
3176
- function z(k) {
3182
+ function Z(k) {
3177
3183
  return $e(k.value, o.modelValue);
3178
3184
  }
3179
3185
  function O(k) {
@@ -3244,14 +3250,14 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3244
3250
  key: E,
3245
3251
  item: w,
3246
3252
  textItem: "text",
3247
- isSelected: z(w),
3253
+ isSelected: Z(w),
3248
3254
  isHovered: s.activeOption == E,
3249
3255
  onClick: ie((j) => G(w), ["stop"])
3250
3256
  }, () => [
3251
3257
  re($n, {
3252
3258
  option: w,
3253
3259
  "text-item": "text",
3254
- "is-selected": z(w),
3260
+ "is-selected": Z(w),
3255
3261
  "is-hovered": s.activeOption == E,
3256
3262
  size: "medium",
3257
3263
  onClick: ie((j) => G(w), ["stop"])
@@ -3275,13 +3281,13 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3275
3281
  (d(!0), p(le, null, ue(x(u), (w, E) => W(k.$slots, "item", {
3276
3282
  key: E,
3277
3283
  item: w,
3278
- isSelected: z(w),
3284
+ isSelected: Z(w),
3279
3285
  isHovered: s.activeOption == E,
3280
3286
  onClick: ie((j) => G(w), ["stop"])
3281
3287
  }, () => [
3282
3288
  re(ra, {
3283
3289
  option: w,
3284
- "is-selected": z(w),
3290
+ "is-selected": Z(w),
3285
3291
  "is-hovered": s.activeOption == E,
3286
3292
  onClick: ie((j) => G(w), ["stop"])
3287
3293
  }, null, 8, ["option", "is-selected", "is-hovered", "onClick"])
@@ -3298,7 +3304,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3298
3304
  }), ca = {
3299
3305
  key: 0,
3300
3306
  class: "ui-progress-bar"
3301
- }, pa = { class: "ui-progress-bar__messages d-flex align-center pl-6 pr-6" }, fa = { class: "ui-progress-bar__message flex-grow-1" }, ma = { class: "ui-progress-bar__percent" }, Cf = /* @__PURE__ */ Z({
3307
+ }, pa = { class: "ui-progress-bar__messages d-flex align-center pl-6 pr-6" }, fa = { class: "ui-progress-bar__message flex-grow-1" }, ma = { class: "ui-progress-bar__percent" }, Cf = /* @__PURE__ */ z({
3302
3308
  __name: "PlProgressBar",
3303
3309
  props: {
3304
3310
  loading: { type: Boolean },
@@ -3326,7 +3332,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3326
3332
  }, ya = ["disabled", "placeholder"], _a = { class: "mi-number-field__icons d-flex-column" }, ba = {
3327
3333
  key: 0,
3328
3334
  class: "mi-number-field__hint text-description"
3329
- }, Vf = /* @__PURE__ */ Z({
3335
+ }, Vf = /* @__PURE__ */ z({
3330
3336
  __name: "PlNumberField",
3331
3337
  props: {
3332
3338
  modelValue: {},
@@ -3463,7 +3469,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3463
3469
  u.value.trim() ? (d(), p("div", ba, F(u.value), 1)) : T("", !0)
3464
3470
  ], 34));
3465
3471
  }
3466
- }), wa = { class: "ui-chip__text" }, An = /* @__PURE__ */ Z({
3472
+ }), wa = { class: "ui-chip__text" }, An = /* @__PURE__ */ z({
3467
3473
  __name: "PlChip",
3468
3474
  props: {
3469
3475
  closeable: { type: Boolean },
@@ -3495,7 +3501,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3495
3501
  key: 0,
3496
3502
  tabindex: "0",
3497
3503
  class: "ui-chip__close",
3498
- onKeydown: s[0] || (s[0] = ze((r) => o.$emit("close"), ["enter"])),
3504
+ onKeydown: s[0] || (s[0] = Ze((r) => o.$emit("close"), ["enter"])),
3499
3505
  onClick: s[1] || (s[1] = ie((r) => o.$emit("close"), ["stop"]))
3500
3506
  }, s[2] || (s[2] = [
3501
3507
  h("div", { class: "ui-chip__close--icon" }, null, -1)
@@ -3527,7 +3533,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3527
3533
  class: "ui-multi-dropdown__helper"
3528
3534
  }, Ma = {
3529
3535
  name: "PlDropdownMulti"
3530
- }, Tf = /* @__PURE__ */ Z({
3536
+ }, Tf = /* @__PURE__ */ z({
3531
3537
  ...Ma,
3532
3538
  props: {
3533
3539
  modelValue: { default: () => [] },
@@ -3555,7 +3561,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3555
3561
  selected: Jt(y, k.value)
3556
3562
  }));
3557
3563
  }), C = g(() => r.disabled ? void 0 : "0"), R = () => {
3558
- u.activeOption = Zt(
3564
+ u.activeOption = zt(
3559
3565
  b.value.findIndex((y) => $e(y.value, r.modelValue)),
3560
3566
  (y) => y < 0 ? 0 : y
3561
3567
  );
@@ -3566,7 +3572,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3566
3572
  }, _ = (y) => o(x(c).filter((v) => !$e(v, y))), B = () => {
3567
3573
  var y;
3568
3574
  return (y = a.value) == null ? void 0 : y.focus();
3569
- }, G = () => u.open = !u.open, z = (y) => {
3575
+ }, G = () => u.open = !u.open, Z = (y) => {
3570
3576
  var v;
3571
3577
  (v = l == null ? void 0 : l.value) != null && v.contains(y.relatedTarget) || (u.search = "", u.open = !1);
3572
3578
  }, O = () => {
@@ -3602,7 +3608,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3602
3608
  tabindex: C.value,
3603
3609
  class: q(["ui-multi-dropdown", { open: u.open, error: y.error, disabled: y.disabled }]),
3604
3610
  onKeydown: D,
3605
- onFocusout: z
3611
+ onFocusout: Z
3606
3612
  }, [
3607
3613
  h("div", $a, [
3608
3614
  h("div", Ca, [
@@ -3708,7 +3714,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3708
3714
  y.error ? (d(), p("div", Ba, F(y.error), 1)) : y.helper ? (d(), p("div", Da, F(y.helper), 1)) : T("", !0)
3709
3715
  ]));
3710
3716
  }
3711
- }), sn = /* @__PURE__ */ Z({
3717
+ }), sn = /* @__PURE__ */ z({
3712
3718
  __name: "PlCheckboxBase",
3713
3719
  props: {
3714
3720
  modelValue: { type: Boolean },
@@ -3721,12 +3727,12 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3721
3727
  tabindex: "0",
3722
3728
  class: q(["pl-checkbox-base", { checked: t.value, disabled: o.disabled }]),
3723
3729
  onClick: s[0] || (s[0] = (r) => o.$emit("update:modelValue", !o.modelValue)),
3724
- onKeydown: s[1] || (s[1] = ze((r) => o.$emit("update:modelValue", !o.modelValue), ["enter"]))
3730
+ onKeydown: s[1] || (s[1] = Ze((r) => o.$emit("update:modelValue", !o.modelValue), ["enter"]))
3725
3731
  }, null, 34));
3726
3732
  }
3727
3733
  }), Pa = {
3728
3734
  name: "PlCheckbox"
3729
- }, Sf = /* @__PURE__ */ Z({
3735
+ }, Sf = /* @__PURE__ */ z({
3730
3736
  ...Pa,
3731
3737
  props: {
3732
3738
  modelValue: { type: Boolean },
@@ -3754,7 +3760,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3754
3760
  }
3755
3761
  }), Aa = { key: 0 }, Ia = ["onClick"], Fa = {
3756
3762
  name: "PlCheckboxGroup"
3757
- }, Ef = /* @__PURE__ */ Z({
3763
+ }, Ef = /* @__PURE__ */ z({
3758
3764
  ...Fa,
3759
3765
  props: {
3760
3766
  modelValue: {},
@@ -3773,17 +3779,17 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3773
3779
  }, [
3774
3780
  l.label ? (d(), p("label", Aa, F(l.label), 1)) : T("", !0),
3775
3781
  i[1] || (i[1] = m()),
3776
- (d(!0), p(le, null, ue(l.options, (a, u) => (d(), p("div", { key: u }, [
3782
+ (d(!0), p(le, null, ue(l.options.map((a) => ({ label: "label" in a ? a.label : a.text, value: a.value })), (a, u) => (d(), p("div", { key: u }, [
3777
3783
  re(sn, {
3778
3784
  disabled: l.disabled,
3779
- label: a.text,
3785
+ label: a.label,
3780
3786
  "model-value": s(a.value),
3781
3787
  "onUpdate:modelValue": () => r(a.value)
3782
3788
  }, null, 8, ["disabled", "label", "model-value", "onUpdate:modelValue"]),
3783
3789
  i[0] || (i[0] = m()),
3784
3790
  h("label", {
3785
3791
  onClick: ie(() => r(a.value), ["stop"])
3786
- }, F(a.text), 9, Ia)
3792
+ }, F(a.label), 9, Ia)
3787
3793
  ]))), 128))
3788
3794
  ], 2));
3789
3795
  }
@@ -3795,7 +3801,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3795
3801
  class: "pl-dialog-modal__actions"
3796
3802
  }, Na = {
3797
3803
  inheritAttrs: !1
3798
- }, Za = /* @__PURE__ */ Z({
3804
+ }, za = /* @__PURE__ */ z({
3799
3805
  ...Na,
3800
3806
  __name: "PlDialogModal",
3801
3807
  props: {
@@ -3809,7 +3815,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3809
3815
  },
3810
3816
  emits: ["update:modelValue"],
3811
3817
  setup(n, { emit: e }) {
3812
- const t = _e(), o = e, s = n, r = N(), l = Zn();
3818
+ const t = _e(), o = e, s = n, r = N(), l = zn();
3813
3819
  function i(a) {
3814
3820
  r.value && document.contains(a.target) && !r.value.contains(a.target) && o("update:modelValue", !1);
3815
3821
  }
@@ -3855,7 +3861,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3855
3861
  })
3856
3862
  ]));
3857
3863
  }
3858
- }), za = /* @__PURE__ */ Z({
3864
+ }), Za = /* @__PURE__ */ z({
3859
3865
  __name: "TransitionSlidePanel",
3860
3866
  setup(n) {
3861
3867
  function e() {
@@ -3884,7 +3890,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3884
3890
  }, qa = {
3885
3891
  name: "PlSlideModal",
3886
3892
  inheritAttrs: !1
3887
- }, Rf = /* @__PURE__ */ Z({
3893
+ }, Rf = /* @__PURE__ */ z({
3888
3894
  ...qa,
3889
3895
  props: {
3890
3896
  modelValue: { type: Boolean, default: !1 },
@@ -3894,13 +3900,13 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3894
3900
  },
3895
3901
  emits: ["update:modelValue"],
3896
3902
  setup(n, { emit: e }) {
3897
- const t = _e(), o = e, s = n, r = N(), l = Zn();
3903
+ const t = _e(), o = e, s = n, r = N(), l = zn();
3898
3904
  return wn(r, () => {
3899
3905
  s.modelValue && s.closeOnOutsideClick && o("update:modelValue", !1);
3900
3906
  }), ce(document, "keydown", (i) => {
3901
3907
  i.key === "Escape" && o("update:modelValue", !1);
3902
3908
  }), (i, a) => (d(), X(pn, { to: "body" }, [
3903
- re(za, null, {
3909
+ re(Za, null, {
3904
3910
  default: se(() => [
3905
3911
  i.modelValue ? (d(), p("div", he({
3906
3912
  key: 0,
@@ -3909,7 +3915,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3909
3915
  style: { width: i.width }
3910
3916
  }, x(l), {
3911
3917
  class: ["pl-slide-modal", { "has-title": x(t).title, "has-actions": x(t).actions }],
3912
- onKeyup: a[1] || (a[1] = ze((u) => o("update:modelValue", !1), ["esc"]))
3918
+ onKeyup: a[1] || (a[1] = Ze((u) => o("update:modelValue", !1), ["esc"]))
3913
3919
  }), [
3914
3920
  h("div", {
3915
3921
  class: "close-dialog-btn",
@@ -3935,7 +3941,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3935
3941
  i.modelValue && i.shadow ? (d(), p("div", {
3936
3942
  key: 0,
3937
3943
  class: "pl-slide-modal__shadow",
3938
- onKeyup: a[2] || (a[2] = ze((u) => o("update:modelValue", !1), ["esc"]))
3944
+ onKeyup: a[2] || (a[2] = Ze((u) => o("update:modelValue", !1), ["esc"]))
3939
3945
  }, null, 32)) : T("", !0)
3940
3946
  ]));
3941
3947
  }
@@ -3944,7 +3950,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3944
3950
  class: "label"
3945
3951
  }, Ya = {
3946
3952
  name: "PlToggleSwitch"
3947
- }, Of = /* @__PURE__ */ Z({
3953
+ }, Of = /* @__PURE__ */ z({
3948
3954
  ...Ya,
3949
3955
  props: {
3950
3956
  label: {},
@@ -3956,7 +3962,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3956
3962
  tabindex: "0",
3957
3963
  class: q(["ui-toggle-switch", { active: e.modelValue }]),
3958
3964
  onClick: t[0] || (t[0] = (o) => e.$emit("update:modelValue", !e.modelValue)),
3959
- onKeydown: t[1] || (t[1] = ze((o) => e.$emit("update:modelValue", !e.modelValue), ["enter"]))
3965
+ onKeydown: t[1] || (t[1] = Ze((o) => e.$emit("update:modelValue", !e.modelValue), ["enter"]))
3960
3966
  }, [
3961
3967
  t[2] || (t[2] = h("div", { class: "ui-toggle-switch__body" }, [
3962
3968
  h("div", { class: "ui-toggle-switch__handle" })
@@ -3965,7 +3971,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3965
3971
  e.label ? (d(), p("span", Ka, F(e.label), 1)) : T("", !0)
3966
3972
  ], 34));
3967
3973
  }
3968
- }), Ye = /* @__PURE__ */ Z({
3974
+ }), Ye = /* @__PURE__ */ z({
3969
3975
  __name: "MaskIcon24",
3970
3976
  props: {
3971
3977
  name: {},
@@ -3982,7 +3988,7 @@ const ta = { class: "resizable-input" }, na = ["placeholder", "value", "disabled
3982
3988
  class: "pl-log-view__error"
3983
3989
  }, Xa = {
3984
3990
  name: "PlLogView"
3985
- }, Bf = /* @__PURE__ */ Z({
3991
+ }, Bf = /* @__PURE__ */ z({
3986
3992
  ...Xa,
3987
3993
  props: {
3988
3994
  value: {},
@@ -4045,7 +4051,7 @@ const Qa = { class: "file-dialog" }, eu = { class: "file-dialog__search" }, tu =
4045
4051
  }, cu = { class: "ls-error__message" }, pu = {
4046
4052
  key: 3,
4047
4053
  class: "ls-body"
4048
- }, fu = ["onClick"], mu = ["title"], hu = ["onClick"], vu = ["title"], gu = /* @__PURE__ */ Z({
4054
+ }, fu = ["onClick"], mu = ["title"], hu = ["onClick"], vu = ["title"], gu = /* @__PURE__ */ z({
4049
4055
  __name: "PlFileDialog",
4050
4056
  props: {
4051
4057
  modelValue: { type: Boolean },
@@ -4116,8 +4122,8 @@ const Qa = { class: "file-dialog" }, eu = { class: "file-dialog__search" }, tu =
4116
4122
  y && !o.multi || r.items.filter((v) => v.canBeSelected).forEach((v) => {
4117
4123
  v.selected = y;
4118
4124
  });
4119
- }, G = () => B(!0), z = () => B(!1), O = () => {
4120
- if (r.error = "", r.lastSelected = void 0, z(), !window.platforma) {
4125
+ }, G = () => B(!0), Z = () => B(!1), O = () => {
4126
+ if (r.error = "", r.lastSelected = void 0, Z(), !window.platforma) {
4121
4127
  console.warn("platforma API is not found");
4122
4128
  return;
4123
4129
  }
@@ -4154,14 +4160,14 @@ const Qa = { class: "file-dialog" }, eu = { class: "file-dialog__search" }, tu =
4154
4160
  }
4155
4161
  }
4156
4162
  };
4157
- return (y, v) => (d(), X(x(Za), {
4163
+ return (y, v) => (d(), X(x(za), {
4158
4164
  "no-content-gutters": !0,
4159
4165
  class: "split",
4160
4166
  "model-value": y.modelValue,
4161
4167
  width: "688px",
4162
4168
  height: "720px",
4163
4169
  "onUpdate:modelValue": C,
4164
- onClick: ie(z, ["stop"])
4170
+ onClick: ie(Z, ["stop"])
4165
4171
  }, {
4166
4172
  title: se(() => [
4167
4173
  m(F(y.title ?? "Select files"), 1)
@@ -4178,7 +4184,7 @@ const Qa = { class: "file-dialog" }, eu = { class: "file-dialog__search" }, tu =
4178
4184
  _: 1
4179
4185
  }, 8, ["disabled"]),
4180
4186
  v[16] || (v[16] = m()),
4181
- re(x(zi), {
4187
+ re(x(Zi), {
4182
4188
  "justify-center": !1,
4183
4189
  onClick: ie(C, ["stop"])
4184
4190
  }, {
@@ -5654,7 +5660,7 @@ tt.create = (n) => new tt({
5654
5660
  typeName: K.ZodAny,
5655
5661
  ...J(n)
5656
5662
  });
5657
- class Ze extends Q {
5663
+ class ze extends Q {
5658
5664
  constructor() {
5659
5665
  super(...arguments), this._unknown = !0;
5660
5666
  }
@@ -5662,7 +5668,7 @@ class Ze extends Q {
5662
5668
  return ye(e.data);
5663
5669
  }
5664
5670
  }
5665
- Ze.create = (n) => new Ze({
5671
+ ze.create = (n) => new ze({
5666
5672
  typeName: K.ZodUnknown,
5667
5673
  ...J(n)
5668
5674
  });
@@ -6147,7 +6153,7 @@ gt.create = (n, e) => new gt({
6147
6153
  ...J(e)
6148
6154
  });
6149
6155
  const Be = (n) => n instanceof bt ? Be(n.schema) : n instanceof Ve ? Be(n.innerType()) : n instanceof wt ? [n.value] : n instanceof Fe ? n.options : n instanceof kt ? ee.objectValues(n.enum) : n instanceof xt ? Be(n._def.innerType) : n instanceof ht ? [void 0] : n instanceof vt ? [null] : n instanceof Se ? [void 0, ...Be(n.unwrap())] : n instanceof je ? [null, ...Be(n.unwrap())] : n instanceof Cn || n instanceof Ct ? Be(n.unwrap()) : n instanceof $t ? Be(n._def.innerType) : [];
6150
- class zt extends Q {
6156
+ class Zt extends Q {
6151
6157
  _parse(e) {
6152
6158
  const { ctx: t } = this._processInputParams(e);
6153
6159
  if (t.parsedType !== I.object)
@@ -6200,7 +6206,7 @@ class zt extends Q {
6200
6206
  s.set(i, r);
6201
6207
  }
6202
6208
  }
6203
- return new zt({
6209
+ return new Zt({
6204
6210
  typeName: K.ZodDiscriminatedUnion,
6205
6211
  discriminator: e,
6206
6212
  options: t,
@@ -6553,7 +6559,7 @@ class Je extends Q {
6553
6559
  args(...e) {
6554
6560
  return new Je({
6555
6561
  ...this._def,
6556
- args: Re.create(e).rest(Ze.create())
6562
+ args: Re.create(e).rest(ze.create())
6557
6563
  });
6558
6564
  }
6559
6565
  returns(e) {
@@ -6570,8 +6576,8 @@ class Je extends Q {
6570
6576
  }
6571
6577
  static create(e, t, o) {
6572
6578
  return new Je({
6573
- args: e || Re.create([]).rest(Ze.create()),
6574
- returns: t || Ze.create(),
6579
+ args: e || Re.create([]).rest(ze.create()),
6580
+ returns: t || ze.create(),
6575
6581
  typeName: K.ZodFunction,
6576
6582
  ...J(o)
6577
6583
  });
@@ -7017,7 +7023,7 @@ var K;
7017
7023
  })(K || (K = {}));
7018
7024
  const Fu = (n, e = {
7019
7025
  message: `Input not instance of ${n.name}`
7020
- }) => ws((t) => t instanceof n, e), ks = ke.create, xs = Ae.create, ju = jt.create, Lu = Ie.create, $s = mt.create, Nu = Ue.create, Zu = At.create, zu = ht.create, Hu = vt.create, Uu = tt.create, Wu = Ze.create, qu = De.create, Ku = It.create, Yu = Ce.create, Gu = ae.create, Xu = ae.strictCreate, Ju = gt.create, Qu = zt.create, ed = yt.create, td = Re.create, nd = _t.create, sd = Ft.create, od = We.create, rd = Je.create, id = bt.create, ld = wt.create, ad = Fe.create, ud = kt.create, dd = nt.create, Fn = Ve.create, cd = Se.create, pd = je.create, fd = Ve.createWithPreprocess, md = Vt.create, hd = () => ks().optional(), vd = () => xs().optional(), gd = () => $s().optional(), yd = {
7026
+ }) => ws((t) => t instanceof n, e), ks = ke.create, xs = Ae.create, ju = jt.create, Lu = Ie.create, $s = mt.create, Nu = Ue.create, zu = At.create, Zu = ht.create, Hu = vt.create, Uu = tt.create, Wu = ze.create, qu = De.create, Ku = It.create, Yu = Ce.create, Gu = ae.create, Xu = ae.strictCreate, Ju = gt.create, Qu = Zt.create, ed = yt.create, td = Re.create, nd = _t.create, sd = Ft.create, od = We.create, rd = Je.create, id = bt.create, ld = wt.create, ad = Fe.create, ud = kt.create, dd = nt.create, Fn = Ve.create, cd = Se.create, pd = je.create, fd = Ve.createWithPreprocess, md = Vt.create, hd = () => ks().optional(), vd = () => xs().optional(), gd = () => $s().optional(), yd = {
7021
7027
  string: (n) => ke.create({ ...n, coerce: !0 }),
7022
7028
  number: (n) => Ae.create({ ...n, coerce: !0 }),
7023
7029
  boolean: (n) => mt.create({
@@ -7062,13 +7068,13 @@ var Et = /* @__PURE__ */ Object.freeze({
7062
7068
  ZodUndefined: ht,
7063
7069
  ZodNull: vt,
7064
7070
  ZodAny: tt,
7065
- ZodUnknown: Ze,
7071
+ ZodUnknown: ze,
7066
7072
  ZodNever: De,
7067
7073
  ZodVoid: It,
7068
7074
  ZodArray: Ce,
7069
7075
  ZodObject: ae,
7070
7076
  ZodUnion: gt,
7071
- ZodDiscriminatedUnion: zt,
7077
+ ZodDiscriminatedUnion: Zt,
7072
7078
  ZodIntersection: yt,
7073
7079
  ZodTuple: Re,
7074
7080
  ZodRecord: _t,
@@ -7131,10 +7137,10 @@ var Et = /* @__PURE__ */ Object.freeze({
7131
7137
  set: od,
7132
7138
  strictObject: Xu,
7133
7139
  string: ks,
7134
- symbol: Zu,
7140
+ symbol: zu,
7135
7141
  transformer: Fn,
7136
7142
  tuple: td,
7137
- undefined: zu,
7143
+ undefined: Zu,
7138
7144
  union: Ju,
7139
7145
  unknown: Wu,
7140
7146
  void: Ku,
@@ -7190,7 +7196,7 @@ const Cd = { class: "pl-file-input__envelope" }, Vd = {
7190
7196
  }, Od = {
7191
7197
  key: 1,
7192
7198
  class: "upl-file-input__helper"
7193
- }, Df = /* @__PURE__ */ Z({
7199
+ }, Df = /* @__PURE__ */ z({
7194
7200
  __name: "PlFileInput",
7195
7201
  props: {
7196
7202
  modelValue: {},
@@ -7245,7 +7251,7 @@ const Cd = { class: "pl-file-input__envelope" }, Vd = {
7245
7251
  ref: M,
7246
7252
  class: q(["pl-file-input", { dashed: _.dashed, error: u.value }]),
7247
7253
  tabindex: "0",
7248
- onKeyup: ze(b, ["enter"])
7254
+ onKeyup: Ze(b, ["enter"])
7249
7255
  }, [
7250
7256
  h("div", {
7251
7257
  class: "pl-file-input__progress",
@@ -7312,7 +7318,7 @@ const Cd = { class: "pl-file-input__envelope" }, Vd = {
7312
7318
  }, null, 8, ["modelValue", "extensions", "title"])
7313
7319
  ], 64));
7314
7320
  }
7315
- }), Mf = /* @__PURE__ */ Z({
7321
+ }), Mf = /* @__PURE__ */ z({
7316
7322
  __name: "ContextProvider",
7317
7323
  props: {
7318
7324
  context: {},
@@ -7347,7 +7353,7 @@ const Vn = (n) => g(() => {
7347
7353
  }, Ad = { class: "ui-slider__base" }, Id = { class: "ui-slider__container" }, Fd = { class: "ui-slider__container ui-slider__container-thumb" }, jd = { class: "ui-slider__input-wrapper d-flex" }, Ld = ["value"], Nd = {
7348
7354
  key: 0,
7349
7355
  class: "ui-slider__error"
7350
- }, Pf = /* @__PURE__ */ Z({
7356
+ }, Pf = /* @__PURE__ */ z({
7351
7357
  __name: "Slider",
7352
7358
  props: {
7353
7359
  modelValue: {},
@@ -7397,7 +7403,7 @@ const Vn = (n) => g(() => {
7397
7403
  function G(O) {
7398
7404
  B(+O.target.value);
7399
7405
  }
7400
- function z(O) {
7406
+ function Z(O) {
7401
7407
  ["ArrowDown", "ArrowUp", "ArrowRight", "ArrowLeft", "Enter"].includes(O.code) && O.preventDefault();
7402
7408
  const D = O.code === "ArrowUp" || O.code === "ArrowRight" ? s.step * 1 : O.code === "ArrowDown" || O.code === "ArrowLeft" ? s.step * -1 : 0;
7403
7409
  B(s.modelValue + D);
@@ -7455,7 +7461,7 @@ const Vn = (n) => g(() => {
7455
7461
  tabindex: "0",
7456
7462
  class: "ui-slider__thumb ui-slider__thumb-active",
7457
7463
  style: te(C.value),
7458
- onKeydown: z
7464
+ onKeydown: Z
7459
7465
  }, D[3] || (D[3] = [
7460
7466
  h("div", { class: "ui-slider__thumb-focused-contour" }, null, -1)
7461
7467
  ]), 36)
@@ -7514,7 +7520,7 @@ function Af(n, e = null, t = null) {
7514
7520
  const l = os(r);
7515
7521
  me(r), ce(window, "scroll", l, !0), ce(window, "resize", l, !0);
7516
7522
  }
7517
- function Zd(n, e) {
7523
+ function zd(n, e) {
7518
7524
  us(() => {
7519
7525
  fe(x(n), (t) => {
7520
7526
  ds(t, () => e(t));
@@ -7531,7 +7537,7 @@ const Me = {
7531
7537
  }, rt = (n) => n.getBoundingClientRect().y, jn = (n) => {
7532
7538
  const { y: e, height: t } = n.getBoundingClientRect();
7533
7539
  return e + Math.ceil(t / 2);
7534
- }, zd = (n) => {
7540
+ }, Zd = (n) => {
7535
7541
  const { y: e, height: t } = n.getBoundingClientRect();
7536
7542
  return e + t;
7537
7543
  };
@@ -7590,8 +7596,8 @@ function If(n, e) {
7590
7596
  const v = B[D], V = R[D] - v;
7591
7597
  y.style.transform = `translateY(${V}px)`, G.push(y);
7592
7598
  }
7593
- const z = _ - M;
7594
- t.item.y = t.item.y + z, t.item.dy = t.item.dy - z, t.item.orderChanged = !0, t.item.el.style.setProperty("transform", `translateY(${t.item.dy}px)`), G.forEach((D) => D.classList.remove(Me.animate)), requestAnimationFrame(function() {
7599
+ const Z = _ - M;
7600
+ t.item.y = t.item.y + Z, t.item.dy = t.item.dy - Z, t.item.orderChanged = !0, t.item.el.style.setProperty("transform", `translateY(${t.item.dy}px)`), G.forEach((D) => D.classList.remove(Me.animate)), requestAnimationFrame(function() {
7595
7601
  G.forEach((D) => {
7596
7602
  D.classList.add(Me.animate), D.style.transform = "", D.addEventListener("transitionend", () => {
7597
7603
  D.classList.remove(Me.animate);
@@ -7604,13 +7610,13 @@ function If(n, e) {
7604
7610
  return;
7605
7611
  const { el: C } = t.item;
7606
7612
  f(t.item, b.y);
7607
- const R = rt(t.item.el), M = zd(t.item.el), _ = i(C), B = a(C);
7613
+ const R = rt(t.item.el), M = Zd(t.item.el), _ = i(C), B = a(C);
7608
7614
  _.forEach((G) => {
7609
- const z = jn(G);
7610
- R + s < z && $(u(G, C));
7615
+ const Z = jn(G);
7616
+ R + s < Z && $(u(G, C));
7611
7617
  }), B.forEach((G) => {
7612
- const z = jn(G);
7613
- M - s > z && $(c(G, C));
7618
+ const Z = jn(G);
7619
+ M - s > Z && $(c(G, C));
7614
7620
  });
7615
7621
  }), ce(window, "mouseup", () => {
7616
7622
  if (!t.item)
@@ -7726,7 +7732,7 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
7726
7732
  }, qd = { class: "ui-slider__base" }, Kd = { class: "ui-slider__container" }, Yd = { class: "ui-slider__container ui-slider__container-thumb" }, Gd = ["data-percent"], Xd = ["data-percent"], Jd = ["data-percent"], Qd = {
7727
7733
  key: 0,
7728
7734
  class: "ui-slider__error"
7729
- }, Zf = /* @__PURE__ */ Z({
7735
+ }, zf = /* @__PURE__ */ z({
7730
7736
  __name: "SliderRangeTriple",
7731
7737
  props: {
7732
7738
  modelValue: {},
@@ -7755,9 +7761,9 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
7755
7761
  return [...s.modelValue].forEach((ne) => {
7756
7762
  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.");
7757
7763
  }), oe.length > 0 ? oe.join(" ") : s.error;
7758
- }), _ = 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(() => ({
7759
- right: z.value[0] + "%",
7760
- left: 100 - z.value[2] + "%"
7764
+ }), _ = 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(() => ({
7765
+ right: Z.value[0] + "%",
7766
+ left: 100 - Z.value[2] + "%"
7761
7767
  })), D = g(() => ({
7762
7768
  right: Math.ceil((1 - _.value) * 100) + "%"
7763
7769
  })), y = g(() => ({
@@ -7907,7 +7913,7 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
7907
7913
  M.value ? (d(), p("div", Qd, F(M.value), 1)) : T("", !0)
7908
7914
  ], 2));
7909
7915
  }
7910
- }), ec = { class: "ui-input-range__separator" }, tc = /* @__PURE__ */ Z({
7916
+ }), ec = { class: "ui-input-range__separator" }, tc = /* @__PURE__ */ z({
7911
7917
  __name: "InputRange",
7912
7918
  props: {
7913
7919
  modelValue: {},
@@ -7979,7 +7985,7 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
7979
7985
  }, ic = { class: "ui-slider__base" }, lc = { class: "ui-slider__container" }, ac = { class: "ui-slider__container ui-slider__container-thumb" }, uc = { class: "ui-slider__input-wrapper d-flex" }, dc = {
7980
7986
  key: 0,
7981
7987
  class: "ui-slider__error"
7982
- }, zf = /* @__PURE__ */ Z({
7988
+ }, Zf = /* @__PURE__ */ z({
7983
7989
  __name: "SliderRange",
7984
7990
  props: {
7985
7991
  modelValue: {},
@@ -8002,13 +8008,13 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
8002
8008
  }), l = N(), i = N(), a = N(), u = N(s.modelValue), c = N(s.modelValue[0]), f = N(s.modelValue[1]), $ = g(() => s), b = Vn($), C = g(() => [c.value, f.value].sort((j, U) => j - U).join("-")), R = g(() => s.max - s.min), M = g(() => ve((s.modelValue[0] ?? 0) + r.deltaValue1, s.min, s.max)), _ = g(() => ve((s.modelValue[1] ?? 0) + r.deltaValue2, s.min, s.max)), B = g(() => {
8003
8009
  const j = s.modelValue;
8004
8010
  return Array.isArray(j) && j.length === 2 && j.every((L) => Number.isFinite(L)) ? s.error : "Expected model [number, number]";
8005
- }), G = g(() => (M.value - s.min) / R.value), z = g(() => (_.value - s.min) / R.value), O = g(() => k()), D = g(() => ({
8011
+ }), G = g(() => (M.value - s.min) / R.value), Z = g(() => (_.value - s.min) / R.value), O = g(() => k()), D = g(() => ({
8006
8012
  right: O.value[0] + "%",
8007
8013
  left: 100 - O.value[1] + "%"
8008
8014
  })), y = g(() => ({
8009
8015
  right: Math.ceil((1 - G.value) * 100) + "%"
8010
8016
  })), v = g(() => ({
8011
- right: Math.ceil((1 - z.value) * 100) + "%"
8017
+ right: Math.ceil((1 - Z.value) * 100) + "%"
8012
8018
  }));
8013
8019
  de(
8014
8020
  () => s.modelValue,
@@ -8030,7 +8036,7 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
8030
8036
  });
8031
8037
  });
8032
8038
  function k() {
8033
- const j = Math.ceil((1 - G.value) * 100), U = Math.ceil((1 - z.value) * 100);
8039
+ const j = Math.ceil((1 - G.value) * 100), U = Math.ceil((1 - Z.value) * 100);
8034
8040
  return [j, U].sort((L, A) => L - A);
8035
8041
  }
8036
8042
  function V(j) {
@@ -8131,7 +8137,7 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
8131
8137
  B.value ? (d(), p("div", dc, F(B.value), 1)) : T("", !0)
8132
8138
  ], 2));
8133
8139
  }
8134
- }), cc = /* @__PURE__ */ Z({
8140
+ }), cc = /* @__PURE__ */ z({
8135
8141
  __name: "VScroll",
8136
8142
  props: {
8137
8143
  scrollTop: {},
@@ -8169,7 +8175,7 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
8169
8175
  }, null, 4)
8170
8176
  ], 512)) : T("", !0);
8171
8177
  }
8172
- }), pc = /* @__PURE__ */ Z({
8178
+ }), pc = /* @__PURE__ */ z({
8173
8179
  __name: "HScroll",
8174
8180
  props: {
8175
8181
  scrollLeft: {},
@@ -8207,7 +8213,7 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
8207
8213
  }, null, 4)
8208
8214
  ], 512)) : T("", !0);
8209
8215
  }
8210
- }), fc = { class: "ui-scrollable" }, Hf = /* @__PURE__ */ Z({
8216
+ }), fc = { class: "ui-scrollable" }, Hf = /* @__PURE__ */ z({
8211
8217
  __name: "Scrollable",
8212
8218
  setup(n) {
8213
8219
  const e = N(), t = pe({
@@ -8236,7 +8242,7 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
8236
8242
  a.scrollLeft = i, o(a);
8237
8243
  });
8238
8244
  }
8239
- return Zd(e, (i) => {
8245
+ return zd(e, (i) => {
8240
8246
  fe(i, (a) => o(a));
8241
8247
  }), me(() => {
8242
8248
  fe(x(e), (i) => {
@@ -8273,7 +8279,7 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
8273
8279
  }, null, 8, ["scroll-left", "client-width", "scroll-width"])
8274
8280
  ]));
8275
8281
  }
8276
- }), mc = "add.svg", hc = "checkmark.svg", vc = "clear.svg", gc = "clipboard.svg", yc = "close.svg", _c = "comp.svg", bc = "compare.svg", wc = "copy.svg", kc = "edit.svg", xc = "error.svg", $c = "filter.svg", Cc = "help.svg", Vc = "info.svg", Tc = "link.svg", Sc = "loading.svg", Ec = "lock.svg", Rc = "maximize.svg", Oc = "minimize.svg", Bc = "minus.svg", Dc = "open.svg", Mc = "pause.svg", Pc = "play.svg", Ac = "required.svg", Ic = "restart.svg", Fc = "sort.svg", jc = "sorter.svg", Lc = "stop.svg", Nc = "success.svg", Zc = "warning.svg", zc = "zip.svg", Hc = {
8282
+ }), mc = "add.svg", hc = "checkmark.svg", vc = "clear.svg", gc = "clipboard.svg", yc = "close.svg", _c = "comp.svg", bc = "compare.svg", wc = "copy.svg", kc = "edit.svg", xc = "error.svg", $c = "filter.svg", Cc = "help.svg", Vc = "info.svg", Tc = "link.svg", Sc = "loading.svg", Ec = "lock.svg", Rc = "maximize.svg", Oc = "minimize.svg", Bc = "minus.svg", Dc = "open.svg", Mc = "pause.svg", Pc = "play.svg", Ac = "required.svg", Ic = "restart.svg", Fc = "sort.svg", jc = "sorter.svg", Lc = "stop.svg", Nc = "success.svg", zc = "warning.svg", Zc = "zip.svg", Hc = {
8277
8283
  add: mc,
8278
8284
  "arrow-down": "arrow-down.svg",
8279
8285
  "arrow-left": "arrow-left.svg",
@@ -8324,11 +8330,11 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
8324
8330
  sorter: jc,
8325
8331
  stop: Lc,
8326
8332
  success: Nc,
8327
- warning: Zc,
8333
+ warning: zc,
8328
8334
  "x-axis": "x-axis.svg",
8329
8335
  "y-axis": "y-axis.svg",
8330
- zip: zc
8331
- }, Uc = "add.svg", Wc = "annotate.svg", qc = "annotation.svg", Kc = "area.svg", Yc = "axes.svg", Gc = "bar.svg", Xc = "bindot.svg", Jc = "boxplot.svg", Qc = "bubble.svg", ep = "canvas.svg", tp = "checkbox.svg", np = "checkmark.svg", sp = "clipboard.svg", op = "close.svg", rp = "code.svg", ip = "color.svg", lp = "columns.svg", ap = "copy.svg", up = "cpu.svg", dp = "dna.svg", cp = "duplicate.svg", pp = "edit.svg", fp = "error.svg", mp = "filter.svg", hp = "generate.svg", vp = "graph.svg", gp = "heatmap.svg", yp = "help.svg", _p = "hide.svg", bp = "jitter.svg", wp = "layers.svg", kp = "learn.svg", xp = "legend.svg", $p = "line.svg", Cp = "linetype.svg", Vp = "link.svg", Tp = "loading.svg", Sp = "local.svg", Ep = "logout.svg", Rp = "menu.svg", Op = "minus.svg", Bp = "pin.svg", Dp = "position.svg", Mp = "progress.svg", Pp = "publications.svg", Ap = "restart.svg", Ip = "reverse.svg", Fp = "rotation.svg", jp = "save.svg", Lp = "search.svg", Np = "show.svg", Zp = "sina.svg", zp = "skatterplot.svg", Hp = "sort.svg", Up = "statistics.svg", Wp = "stroke.svg", qp = "success.svg", Kp = "table.svg", Yp = "template.svg", Gp = "venn.svg", Xp = "violin.svg", Jp = "warning.svg", Qp = "wetlab.svg", ef = {
8336
+ zip: Zc
8337
+ }, Uc = "add.svg", Wc = "annotate.svg", qc = "annotation.svg", Kc = "area.svg", Yc = "axes.svg", Gc = "bar.svg", Xc = "bindot.svg", Jc = "boxplot.svg", Qc = "bubble.svg", ep = "canvas.svg", tp = "checkbox.svg", np = "checkmark.svg", sp = "clipboard.svg", op = "close.svg", rp = "code.svg", ip = "color.svg", lp = "columns.svg", ap = "copy.svg", up = "cpu.svg", dp = "dna.svg", cp = "duplicate.svg", pp = "edit.svg", fp = "error.svg", mp = "filter.svg", hp = "generate.svg", vp = "graph.svg", gp = "heatmap.svg", yp = "help.svg", _p = "hide.svg", bp = "jitter.svg", wp = "layers.svg", kp = "learn.svg", xp = "legend.svg", $p = "line.svg", Cp = "linetype.svg", Vp = "link.svg", Tp = "loading.svg", Sp = "local.svg", Ep = "logout.svg", Rp = "menu.svg", Op = "minus.svg", Bp = "pin.svg", Dp = "position.svg", Mp = "progress.svg", Pp = "publications.svg", Ap = "restart.svg", Ip = "reverse.svg", Fp = "rotation.svg", jp = "save.svg", Lp = "search.svg", Np = "show.svg", zp = "sina.svg", Zp = "skatterplot.svg", Hp = "sort.svg", Up = "statistics.svg", Wp = "stroke.svg", qp = "success.svg", Kp = "table.svg", Yp = "template.svg", Gp = "venn.svg", Xp = "violin.svg", Jp = "warning.svg", Qp = "wetlab.svg", ef = {
8332
8338
  "add-layer": "add-layer.svg",
8333
8339
  add: Uc,
8334
8340
  annotate: Wc,
@@ -8439,8 +8445,8 @@ const Hd = { class: "ui-slider__wrapper" }, Ud = { class: "ui-slider__label-sect
8439
8445
  "server-2": "server-2.svg",
8440
8446
  "settings-2": "settings-2.svg",
8441
8447
  show: Np,
8442
- sina: Zp,
8443
- skatterplot: zp,
8448
+ sina: zp,
8449
+ skatterplot: Zp,
8444
8450
  "social-media": "social-media.svg",
8445
8451
  sort: Hp,
8446
8452
  "stacked-bar": "stacked-bar.svg",
@@ -8808,7 +8814,7 @@ export {
8808
8814
  gf as PlAlert,
8809
8815
  pf as PlBlockPage,
8810
8816
  yf as PlBtnAccent,
8811
- zi as PlBtnGhost,
8817
+ Zi as PlBtnGhost,
8812
8818
  bf as PlBtnGroup,
8813
8819
  _f as PlBtnLink,
8814
8820
  Ii as PlBtnPrimary,
@@ -8817,7 +8823,7 @@ export {
8817
8823
  Ef as PlCheckboxGroup,
8818
8824
  An as PlChip,
8819
8825
  ff as PlContainer,
8820
- Za as PlDialogModal,
8826
+ za as PlDialogModal,
8821
8827
  ms as PlDropdown,
8822
8828
  $f as PlDropdownLine,
8823
8829
  Tf as PlDropdownMulti,
@@ -8837,8 +8843,8 @@ export {
8837
8843
  Te as PlTooltip,
8838
8844
  Hf as Scrollable,
8839
8845
  Pf as Slider,
8840
- zf as SliderRange,
8841
- Zf as SliderRangeTriple,
8846
+ Zf as SliderRange,
8847
+ zf as SliderRangeTriple,
8842
8848
  cf as ThemeSwitcher,
8843
8849
  fr as animate,
8844
8850
  lf as animateInfinite,
@@ -8875,7 +8881,7 @@ export {
8875
8881
  Ne as useMouseCapture,
8876
8882
  Hi as usePosition,
8877
8883
  Lf as useQuery,
8878
- Zd as useResizeObserver,
8884
+ zd as useResizeObserver,
8879
8885
  Af as useScroll,
8880
8886
  If as useSortable,
8881
8887
  gi as useTheme