prlg-ui 1.8.1 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { defineComponent as O, computed as P, resolveComponent as jt, createBlock as G, openBlock as d, resolveDynamicComponent as Ce, normalizeClass as L, withCtx as ee, createCommentVNode as T, createElementBlock as p, renderSlot as Y, Fragment as oe, createTextVNode as fe, toDisplayString as F, ref as A, useTemplateRef as Ie, onMounted as ve, createElementVNode as R, createVNode as q, renderList as me, unref as m, mergeModels as U, useModel as te, withDirectives as Me, vModelCheckbox as yt, shallowRef as Ae, watch as se, getCurrentScope as ko, onScopeDispose as $o, shallowReadonly as _e, useCssVars as So, toRefs as Co, useId as qe, onUnmounted as Ze, normalizeStyle as Z, Transition as De, nextTick as pe, withModifiers as Je, vModelDynamic as xo, vModelRadio as Ro, provide as be, useSlots as Wt, inject as de, toValue as ze, isRef as Mo, vModelText as Yt, toRef as Ue, createStaticVNode as Vo, Teleport as je, reactive as Ut, TransitionGroup as Po, vShow as Kt, createApp as Io } from "vue";
2
- import { P as Xt, j as Ao, k as To, I as bt, A as Bo, e as wt, g as Do, S as Lo, a as Oo, b as Zt, M as Eo, h as _o, i as zo, C as Ho, c as Go, E as Fo, B as No, d as qo, W as jo, f as Wo } from "./WarningFillIcon-cJBG6d6O.js";
1
+ import { defineComponent as O, computed as P, resolveComponent as Yt, createBlock as G, openBlock as d, resolveDynamicComponent as Ce, normalizeClass as L, withCtx as ee, createCommentVNode as T, createElementBlock as p, renderSlot as W, Fragment as oe, createTextVNode as fe, toDisplayString as F, ref as A, useTemplateRef as Ie, onMounted as me, createElementVNode as R, createVNode as q, renderList as ve, unref as m, mergeModels as U, useModel as te, withDirectives as Me, vModelCheckbox as yt, shallowRef as Ae, watch as le, getCurrentScope as ko, onScopeDispose as $o, shallowReadonly as _e, useCssVars as So, toRefs as Co, useId as Ye, onUnmounted as Ze, normalizeStyle as Z, Transition as De, nextTick as pe, withModifiers as Je, vModelDynamic as xo, vModelRadio as Ro, provide as be, toRef as He, useSlots as jt, inject as de, toValue as ze, isRef as Mo, vModelText as Wt, createStaticVNode as Vo, Teleport as je, reactive as Ut, TransitionGroup as Po, vShow as Kt, createApp as Io } from "vue";
2
+ import { P as Xt, j as Ao, k as To, I as bt, A as Bo, e as wt, g as Do, S as Lo, a as Oo, b as Zt, M as Eo, h as _o, i as zo, C as Ho, c as Go, E as Fo, B as No, d as qo, W as Yo, f as jo } from "./WarningFillIcon-cJBG6d6O.js";
3
3
  import { o as Jt, d as K } from "./parseFileSize.util-CxVk4CvB.js";
4
- import { _ as le, a as Yo, C as Qt } from "./FileIcon-maHE2Nhr.js";
4
+ import { _ as ae, a as Wo, C as Qt } from "./FileIcon-maHE2Nhr.js";
5
5
  import { u as lt, E as Uo, _ as Ko } from "./Portal.vue_vue_type_script_setup_true_lang-CMr1orYd.js";
6
6
  import { F as Dr, I as Lr } from "./Image-DdrY_gj3.js";
7
7
  const Xo = {
@@ -23,7 +23,7 @@ const Xo = {
23
23
  full: { type: Boolean }
24
24
  },
25
25
  setup(e) {
26
- const t = P(() => e.variant === "link" && e.url || e.url ? jt("RouterLink") : "button"), o = P(() => [
26
+ const t = P(() => e.variant === "link" && e.url || e.url ? Yt("RouterLink") : "button"), o = P(() => [
27
27
  "button",
28
28
  `button--${e.size}`,
29
29
  `button--${e.variant}`,
@@ -46,7 +46,7 @@ const Xo = {
46
46
  class: "button__icon"
47
47
  })) : T("", !0),
48
48
  a.iconOnly ? T("", !0) : (d(), p("div", Xo, [
49
- Y(a.$slots, "default"),
49
+ W(a.$slots, "default"),
50
50
  a.label && !a.$slots.default ? (d(), p(oe, { key: 0 }, [
51
51
  fe(F(a.label), 1)
52
52
  ], 64)) : T("", !0)
@@ -69,7 +69,7 @@ const Xo = {
69
69
  }, r = (l) => {
70
70
  l.command && l.command(), t.value = !1;
71
71
  };
72
- return ve(() => {
72
+ return me(() => {
73
73
  Jt(o.value, () => {
74
74
  t.value = !1;
75
75
  }, { ignore: [a.value?.$el] });
@@ -79,7 +79,7 @@ const Xo = {
79
79
  ref: o,
80
80
  class: L(["sleed-deal-menu sleed-deal__items", { "sleed-deal-menu--open": t.value }])
81
81
  }, [
82
- (d(!0), p(oe, null, me(l.items, (i) => (d(), p("div", {
82
+ (d(!0), p(oe, null, ve(l.items, (i) => (d(), p("div", {
83
83
  class: "sleed-deal-menu__item",
84
84
  key: i.label,
85
85
  onClick: (u) => r(i)
@@ -216,7 +216,7 @@ const Xo = {
216
216
  ]),
217
217
  s.label || s.$slots.label ? (d(), p("span", sn, [
218
218
  fe(F(s.label) + " ", 1),
219
- Y(s.$slots, "label")
219
+ W(s.$slots, "label")
220
220
  ])) : T("", !0),
221
221
  s.error && s.errorText ? (d(), p("span", rn, F(s.errorText), 1)) : T("", !0)
222
222
  ], 10, en));
@@ -246,7 +246,7 @@ const Xo = {
246
246
  }, null, 8, ["class"])
247
247
  ]));
248
248
  }
249
- }), cn = /* @__PURE__ */ le(un, [["__scopeId", "data-v-6bf78a73"]]), dn = ["top", "right", "bottom", "left"], Le = Math.min, ye = Math.max, et = Math.round, Se = (e) => ({
249
+ }), cn = /* @__PURE__ */ ae(un, [["__scopeId", "data-v-6bf78a73"]]), dn = ["top", "right", "bottom", "left"], Le = Math.min, ye = Math.max, et = Math.round, Se = (e) => ({
250
250
  x: e,
251
251
  y: e
252
252
  }), fn = {
@@ -600,13 +600,13 @@ const Sn = (e) => ({
600
600
  var z;
601
601
  const ne = (z = M.filter((ce) => {
602
602
  if (S) {
603
- const ae = Re(ce.placement);
604
- return ae === C || // Create a bias to the `y` side axis due to horizontal
603
+ const se = Re(ce.placement);
604
+ return se === C || // Create a bias to the `y` side axis due to horizontal
605
605
  // reading directions favoring greater width.
606
- ae === "y";
606
+ se === "y";
607
607
  }
608
608
  return !0;
609
- }).map((ce) => [ce.placement, ce.overflows.filter((ae) => ae > 0).reduce((ae, ie) => ae + ie, 0)]).sort((ce, ae) => ce[1] - ae[1])[0]) == null ? void 0 : z[0];
609
+ }).map((ce) => [ce.placement, ce.overflows.filter((se) => se > 0).reduce((se, ie) => se + ie, 0)]).sort((ce, se) => ce[1] - se[1])[0]) == null ? void 0 : z[0];
610
610
  ne && (_ = ne);
611
611
  break;
612
612
  }
@@ -881,7 +881,7 @@ function xt(e) {
881
881
  }
882
882
  function _n(e) {
883
883
  let t = Be(e);
884
- for (; xe(t) && !Ne(t); ) {
884
+ for (; xe(t) && !qe(t); ) {
885
885
  if (xt(t))
886
886
  return t;
887
887
  if (st(t))
@@ -894,7 +894,7 @@ function Rt() {
894
894
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
895
895
  }
896
896
  const zn = /* @__PURE__ */ new Set(["html", "body", "#document"]);
897
- function Ne(e) {
897
+ function qe(e) {
898
898
  return zn.has(Ee(e));
899
899
  }
900
900
  function $e(e) {
@@ -923,7 +923,7 @@ function Be(e) {
923
923
  }
924
924
  function oo(e) {
925
925
  const t = Be(e);
926
- return Ne(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : xe(t) && Qe(t) ? t : oo(t);
926
+ return qe(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : xe(t) && Qe(t) ? t : oo(t);
927
927
  }
928
928
  function no(e, t, o) {
929
929
  var a;
@@ -947,7 +947,7 @@ function lo(e) {
947
947
  function ao(e) {
948
948
  return ke(e) ? e : e.contextElement;
949
949
  }
950
- function Ge(e) {
950
+ function Fe(e) {
951
951
  const t = ao(e);
952
952
  if (!xe(t))
953
953
  return Se(1);
@@ -977,14 +977,14 @@ function Xe(e, t, o, a) {
977
977
  t === void 0 && (t = !1), o === void 0 && (o = !1);
978
978
  const n = e.getBoundingClientRect(), r = ao(e);
979
979
  let l = Se(1);
980
- t && (a ? ke(a) && (l = Ge(a)) : l = Ge(e));
980
+ t && (a ? ke(a) && (l = Fe(a)) : l = Fe(e));
981
981
  const s = Gn(r, o, a) ? so(r) : Se(0);
982
982
  let i = (n.left + s.x) / l.x, u = (n.top + s.y) / l.y, c = n.width / l.x, v = n.height / l.y;
983
983
  if (r) {
984
984
  const f = ge(r), h = a && ke(a) ? ge(a) : a;
985
985
  let g = f, y = mt(g);
986
986
  for (; y && a && h !== g; ) {
987
- const w = Ge(y), V = y.getBoundingClientRect(), C = $e(y), I = V.left + (y.clientLeft + parseFloat(C.paddingLeft)) * w.x, B = V.top + (y.clientTop + parseFloat(C.paddingTop)) * w.y;
987
+ const w = Fe(y), V = y.getBoundingClientRect(), C = $e(y), I = V.left + (y.clientLeft + parseFloat(C.paddingLeft)) * w.x, B = V.top + (y.clientTop + parseFloat(C.paddingTop)) * w.y;
988
988
  i *= w.x, u *= w.y, c *= w.x, v *= w.y, i += I, u += B, g = ge(y), y = mt(g);
989
989
  }
990
990
  }
@@ -1023,7 +1023,7 @@ function Fn(e) {
1023
1023
  const c = Se(0), v = xe(a);
1024
1024
  if ((v || !v && !r) && ((Ee(a) !== "body" || Qe(l)) && (i = rt(a)), xe(a))) {
1025
1025
  const h = Xe(a);
1026
- u = Ge(a), c.x = h.x + a.clientLeft, c.y = h.y + a.clientTop;
1026
+ u = Fe(a), c.x = h.x + a.clientLeft, c.y = h.y + a.clientTop;
1027
1027
  }
1028
1028
  const f = l && !v && !r ? ro(l, i) : Se(0);
1029
1029
  return {
@@ -1048,7 +1048,7 @@ function qn(e) {
1048
1048
  };
1049
1049
  }
1050
1050
  const Dt = 25;
1051
- function jn(e, t) {
1051
+ function Yn(e, t) {
1052
1052
  const o = ge(e), a = Ve(e), n = o.visualViewport;
1053
1053
  let r = a.clientWidth, l = a.clientHeight, s = 0, i = 0;
1054
1054
  if (n) {
@@ -1068,9 +1068,9 @@ function jn(e, t) {
1068
1068
  y: i
1069
1069
  };
1070
1070
  }
1071
- const Wn = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1072
- function Yn(e, t) {
1073
- const o = Xe(e, !0, t === "fixed"), a = o.top + e.clientTop, n = o.left + e.clientLeft, r = xe(e) ? Ge(e) : Se(1), l = e.clientWidth * r.x, s = e.clientHeight * r.y, i = n * r.x, u = a * r.y;
1071
+ const jn = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1072
+ function Wn(e, t) {
1073
+ const o = Xe(e, !0, t === "fixed"), a = o.top + e.clientTop, n = o.left + e.clientLeft, r = xe(e) ? Fe(e) : Se(1), l = e.clientWidth * r.x, s = e.clientHeight * r.y, i = n * r.x, u = a * r.y;
1074
1074
  return {
1075
1075
  width: l,
1076
1076
  height: s,
@@ -1081,11 +1081,11 @@ function Yn(e, t) {
1081
1081
  function Lt(e, t, o) {
1082
1082
  let a;
1083
1083
  if (t === "viewport")
1084
- a = jn(e, o);
1084
+ a = Yn(e, o);
1085
1085
  else if (t === "document")
1086
1086
  a = qn(Ve(e));
1087
1087
  else if (ke(t))
1088
- a = Yn(t, o);
1088
+ a = Wn(t, o);
1089
1089
  else {
1090
1090
  const n = so(e);
1091
1091
  a = {
@@ -1099,7 +1099,7 @@ function Lt(e, t, o) {
1099
1099
  }
1100
1100
  function io(e, t) {
1101
1101
  const o = Be(e);
1102
- return o === t || !ke(o) || Ne(o) ? !1 : $e(o).position === "fixed" || io(o, t);
1102
+ return o === t || !ke(o) || qe(o) ? !1 : $e(o).position === "fixed" || io(o, t);
1103
1103
  }
1104
1104
  function Un(e, t) {
1105
1105
  const o = t.get(e);
@@ -1108,9 +1108,9 @@ function Un(e, t) {
1108
1108
  let a = no(e, []).filter((s) => ke(s) && Ee(s) !== "body"), n = null;
1109
1109
  const r = $e(e).position === "fixed";
1110
1110
  let l = r ? Be(e) : e;
1111
- for (; ke(l) && !Ne(l); ) {
1111
+ for (; ke(l) && !qe(l); ) {
1112
1112
  const s = $e(l), i = xt(l);
1113
- !i && s.position === "fixed" && (n = null), (r ? !i && !n : !i && s.position === "static" && !!n && Wn.has(n.position) || Qe(l) && !i && io(e, l)) ? a = a.filter((c) => c !== l) : n = s, l = Be(l);
1113
+ !i && s.position === "fixed" && (n = null), (r ? !i && !n : !i && s.position === "static" && !!n && jn.has(n.position) || Qe(l) && !i && io(e, l)) ? a = a.filter((c) => c !== l) : n = s, l = Be(l);
1114
1114
  }
1115
1115
  return t.set(e, a), a;
1116
1116
  }
@@ -1183,7 +1183,7 @@ function uo(e, t) {
1183
1183
  return o;
1184
1184
  if (!xe(e)) {
1185
1185
  let n = Be(e);
1186
- for (; n && !Ne(n); ) {
1186
+ for (; n && !qe(n); ) {
1187
1187
  if (ke(n) && !ct(n))
1188
1188
  return n;
1189
1189
  n = Be(n);
@@ -1193,7 +1193,7 @@ function uo(e, t) {
1193
1193
  let a = Ot(e, t);
1194
1194
  for (; a && Bn(a) && ct(a); )
1195
1195
  a = Ot(a, t);
1196
- return a && Ne(a) && ct(a) && !xt(a) ? o : a || _n(e) || o;
1196
+ return a && qe(a) && ct(a) && !xt(a) ? o : a || _n(e) || o;
1197
1197
  }
1198
1198
  const Jn = async function(e) {
1199
1199
  const t = this.getOffsetParent || uo, o = this.getDimensions, a = await o(e.floating);
@@ -1218,7 +1218,7 @@ const el = {
1218
1218
  getElementRects: Jn,
1219
1219
  getClientRects: Nn,
1220
1220
  getDimensions: Xn,
1221
- getScale: Ge,
1221
+ getScale: Fe,
1222
1222
  isElement: ke,
1223
1223
  isRTL: Qn
1224
1224
  }, pt = Vn, gt = Pn, tl = Cn, ol = In, Et = xn, co = Sn, fo = (e, t, o) => {
@@ -1244,7 +1244,7 @@ function ht(e) {
1244
1244
  }
1245
1245
  return e;
1246
1246
  }
1247
- function He(e) {
1247
+ function Ge(e) {
1248
1248
  return typeof e == "function" ? e() : m(e);
1249
1249
  }
1250
1250
  function ll(e) {
@@ -1252,7 +1252,7 @@ function ll(e) {
1252
1252
  name: "arrow",
1253
1253
  options: e,
1254
1254
  fn(t) {
1255
- const o = ht(He(e.element));
1255
+ const o = ht(Ge(e.element));
1256
1256
  return o == null ? {} : co({
1257
1257
  element: o,
1258
1258
  padding: e.padding
@@ -1271,16 +1271,16 @@ function zt(e, t, o) {
1271
1271
  o === void 0 && (o = {});
1272
1272
  const a = o.whileElementsMounted, n = P(() => {
1273
1273
  var k;
1274
- return (k = He(o.open)) != null ? k : !0;
1275
- }), r = P(() => He(o.middleware)), l = P(() => {
1274
+ return (k = Ge(o.open)) != null ? k : !0;
1275
+ }), r = P(() => Ge(o.middleware)), l = P(() => {
1276
1276
  var k;
1277
- return (k = He(o.placement)) != null ? k : "bottom";
1277
+ return (k = Ge(o.placement)) != null ? k : "bottom";
1278
1278
  }), s = P(() => {
1279
1279
  var k;
1280
- return (k = He(o.strategy)) != null ? k : "absolute";
1280
+ return (k = Ge(o.strategy)) != null ? k : "absolute";
1281
1281
  }), i = P(() => {
1282
1282
  var k;
1283
- return (k = He(o.transform)) != null ? k : !0;
1283
+ return (k = Ge(o.transform)) != null ? k : !0;
1284
1284
  }), u = P(() => ht(e.value)), c = P(() => ht(t.value)), v = A(0), f = A(0), h = A(s.value), g = A(l.value), y = Ae({}), w = A(!1), V = P(() => {
1285
1285
  const k = {
1286
1286
  position: h.value,
@@ -1331,11 +1331,11 @@ function zt(e, t, o) {
1331
1331
  function S() {
1332
1332
  n.value || (w.value = !1);
1333
1333
  }
1334
- return se([r, l, s, n], I, {
1334
+ return le([r, l, s, n], I, {
1335
1335
  flush: "sync"
1336
- }), se([u, c], $, {
1336
+ }), le([u, c], $, {
1337
1337
  flush: "sync"
1338
- }), se(n, S, {
1338
+ }), le(n, S, {
1339
1339
  flush: "sync"
1340
1340
  }), ko() && $o(B), {
1341
1341
  x: _e(v),
@@ -1384,7 +1384,7 @@ const al = { class: "popover__content" }, sl = {
1384
1384
  },
1385
1385
  emits: ["update:modelValue"],
1386
1386
  setup(e, { expose: t, emit: o }) {
1387
- So((j) => ({
1387
+ So((Y) => ({
1388
1388
  aa040ed6: y.value
1389
1389
  }));
1390
1390
  const a = e, { placement: n, offset: r, arrowVisible: l, closeMode: s, modelValue: i, zIndex: u } = Co(a), c = o, v = Ie("reference"), f = Ie("floating"), h = Ie("arrow-block"), g = Ie("second-screen"), y = P(() => "23px"), w = P(() => r ? typeof r.value == "number" ? r.value + Number(y.value.split("px")[0]) : {
@@ -1397,9 +1397,9 @@ const al = { class: "popover__content" }, sl = {
1397
1397
  }), V = A([
1398
1398
  Et(),
1399
1399
  ol({
1400
- apply({ availableWidth: j, elements: X }) {
1400
+ apply({ availableWidth: Y, elements: X }) {
1401
1401
  Object.assign(X.floating.style, {
1402
- maxWidth: `${Math.max(200, j)}px`
1402
+ maxWidth: `${Math.max(200, Y)}px`
1403
1403
  });
1404
1404
  }
1405
1405
  }),
@@ -1419,30 +1419,30 @@ const al = { class: "popover__content" }, sl = {
1419
1419
  gt({ padding: 8 }),
1420
1420
  pt(8)
1421
1421
  ]
1422
- }), b = qe(), M = A(!1), x = A(!1), { lockScroll: H, unlockScroll: z } = lt(), E = P(() => i && i.value !== void 0), N = P({
1422
+ }), b = Ye(), M = A(!1), x = A(!1), { lockScroll: H, unlockScroll: z } = lt(), E = P(() => i && i.value !== void 0), N = P({
1423
1423
  get: () => E.value ? i?.value : M.value,
1424
- set: (j) => {
1425
- E.value ? c("update:modelValue", j) : M.value = j;
1424
+ set: (Y) => {
1425
+ E.value ? c("update:modelValue", Y) : M.value = Y;
1426
1426
  }
1427
1427
  }), _ = () => {
1428
1428
  N.value = !0;
1429
1429
  }, ne = () => {
1430
- N.value = !1, W();
1430
+ N.value = !1, j();
1431
1431
  }, ce = () => {
1432
1432
  N.value = !N.value;
1433
- }, ae = () => {
1433
+ }, se = () => {
1434
1434
  E.value ? _() : ce();
1435
- }, ie = async (j) => {
1436
- j && j.stopPropagation(), f.value && (x.value = !0);
1437
- }, W = () => {
1435
+ }, ie = async (Y) => {
1436
+ Y && Y.stopPropagation(), f.value && (x.value = !0);
1437
+ }, j = () => {
1438
1438
  x.value = !1;
1439
- }, re = (j) => {
1439
+ }, re = (Y) => {
1440
1440
  if (s.value === "button-only" || E.value) return;
1441
- const X = j.composedPath();
1441
+ const X = Y.composedPath();
1442
1442
  if (!(g.value && X.includes(g.value))) {
1443
1443
  if (f.value && X.includes(f.value) || v.value && X.includes(v.value)) {
1444
1444
  setTimeout(() => {
1445
- x.value && W();
1445
+ x.value && j();
1446
1446
  }, 0);
1447
1447
  return;
1448
1448
  }
@@ -1450,28 +1450,28 @@ const al = { class: "popover__content" }, sl = {
1450
1450
  }
1451
1451
  }, ue = P(() => {
1452
1452
  if (!I.value.arrow) return {};
1453
- const { x: j, y: X } = I.value.arrow;
1453
+ const { x: Y, y: X } = I.value.arrow;
1454
1454
  switch ($.value) {
1455
1455
  case "top":
1456
1456
  return {
1457
- left: j ? `${j}px` : "-9px",
1457
+ left: Y ? `${Y}px` : "-9px",
1458
1458
  bottom: X ? `${X}px` : "-9px"
1459
1459
  };
1460
1460
  case "bottom":
1461
1461
  default:
1462
1462
  return {
1463
- left: j ? `${j}px` : "-9px",
1463
+ left: Y ? `${Y}px` : "-9px",
1464
1464
  top: X ? `${X}px` : "-9px"
1465
1465
  };
1466
1466
  }
1467
1467
  });
1468
- return se(I, (j) => {
1469
- E.value || (N.value = j.hide?.referenceHidden === !1);
1470
- }), se(N, (j) => {
1471
- j || W(), j && s.value === "button-only" ? H() : !j && s.value === "button-only" && z();
1472
- }, { immediate: !0 }), se(a, () => {
1468
+ return le(I, (Y) => {
1469
+ E.value || (N.value = Y.hide?.referenceHidden === !1);
1470
+ }), le(N, (Y) => {
1471
+ Y || j(), Y && s.value === "button-only" ? H() : !Y && s.value === "button-only" && z();
1472
+ }, { immediate: !0 }), le(a, () => {
1473
1473
  B();
1474
- }, { deep: !0 }), ve(() => {
1474
+ }, { deep: !0 }), me(() => {
1475
1475
  f.value && f.value.addEventListener("resize", () => {
1476
1476
  B(), x.value && D();
1477
1477
  }), document.addEventListener("click", re), window.addEventListener("resize", () => {
@@ -1485,19 +1485,19 @@ const al = { class: "popover__content" }, sl = {
1485
1485
  open: _,
1486
1486
  close: ne,
1487
1487
  openSecondScreen: ie,
1488
- closeSecondScreen: W,
1488
+ closeSecondScreen: j,
1489
1489
  isOpen: N,
1490
1490
  isSecondScreenOpen: x
1491
- }), (j, X) => (d(), p("div", {
1491
+ }), (Y, X) => (d(), p("div", {
1492
1492
  class: L(["popover", { "popover--with-arrow": m(l) }])
1493
1493
  }, [
1494
1494
  R("div", {
1495
1495
  class: L(["popover__trigger", `popover__trigger--${m(b)}`]),
1496
1496
  ref: "reference",
1497
- onClick: ae,
1497
+ onClick: se,
1498
1498
  style: Z({ zIndex: m(u) + 1 })
1499
1499
  }, [
1500
- Y(j.$slots, "trigger", {}, void 0, !0)
1500
+ W(Y.$slots, "trigger", {}, void 0, !0)
1501
1501
  ], 6),
1502
1502
  N.value && m(s) === "button-only" ? (d(), p("div", {
1503
1503
  key: 0,
@@ -1514,15 +1514,15 @@ const al = { class: "popover__content" }, sl = {
1514
1514
  }, [
1515
1515
  R("div", al, [
1516
1516
  m(l) ? (d(), p("div", sl, [
1517
- Y(j.$slots, "default", {
1517
+ W(Y.$slots, "default", {
1518
1518
  openSecondScreen: ie,
1519
- closeSecondScreen: W,
1519
+ closeSecondScreen: j,
1520
1520
  close: ne
1521
1521
  }, void 0, !0)
1522
- ])) : Y(j.$slots, "default", {
1522
+ ])) : W(Y.$slots, "default", {
1523
1523
  key: 1,
1524
1524
  openSecondScreen: ie,
1525
- closeSecondScreen: W,
1525
+ closeSecondScreen: j,
1526
1526
  close: ne
1527
1527
  }, void 0, !0)
1528
1528
  ]),
@@ -1544,14 +1544,14 @@ const al = { class: "popover__content" }, sl = {
1544
1544
  ref: "second-screen",
1545
1545
  style: Z(m(k))
1546
1546
  }, [
1547
- Y(j.$slots, "second-screen", { closeSecondScreen: W }, void 0, !0)
1547
+ W(Y.$slots, "second-screen", { closeSecondScreen: j }, void 0, !0)
1548
1548
  ], 4)) : T("", !0)
1549
1549
  ]),
1550
1550
  _: 3
1551
1551
  })
1552
1552
  ], 2));
1553
1553
  }
1554
- }), il = /* @__PURE__ */ le(rl, [["__scopeId", "data-v-05f0c245"]]), ul = { class: "trigger" }, cl = { class: "description-column" }, dl = /* @__PURE__ */ O({
1554
+ }), il = /* @__PURE__ */ ae(rl, [["__scopeId", "data-v-05f0c245"]]), ul = { class: "trigger" }, cl = { class: "description-column" }, dl = /* @__PURE__ */ O({
1555
1555
  __name: "DescriptionColumn",
1556
1556
  props: {
1557
1557
  description: {}
@@ -1574,7 +1574,7 @@ const al = { class: "popover__content" }, sl = {
1574
1574
  _: 1
1575
1575
  }));
1576
1576
  }
1577
- }), fl = /* @__PURE__ */ le(dl, [["__scopeId", "data-v-4c82d240"]]), vl = { class: "table-header__row" }, ml = { class: "table-header__cell-body" }, pl = {
1577
+ }), fl = /* @__PURE__ */ ae(dl, [["__scopeId", "data-v-4c82d240"]]), vl = { class: "table-header__row" }, ml = { class: "table-header__cell-body" }, pl = {
1578
1578
  key: 1,
1579
1579
  class: "table-header__cell-title"
1580
1580
  }, gl = {
@@ -1605,7 +1605,7 @@ const al = { class: "popover__content" }, sl = {
1605
1605
  class: L(a.value)
1606
1606
  }, [
1607
1607
  R("tr", vl, [
1608
- (d(!0), p(oe, null, me(l.columns, (i, u) => (d(), p("th", {
1608
+ (d(!0), p(oe, null, ve(l.columns, (i, u) => (d(), p("th", {
1609
1609
  class: L(n(i)),
1610
1610
  key: u,
1611
1611
  style: Z(r(i))
@@ -1635,7 +1635,7 @@ const al = { class: "popover__content" }, sl = {
1635
1635
  ])
1636
1636
  ], 2));
1637
1637
  }
1638
- }), Ht = /* @__PURE__ */ le(hl, [["__scopeId", "data-v-00a64b5c"]]), yl = ["rowspan"], bl = { key: 1 }, wl = /* @__PURE__ */ O({
1638
+ }), Ht = /* @__PURE__ */ ae(hl, [["__scopeId", "data-v-00a64b5c"]]), yl = ["rowspan"], bl = { key: 1 }, wl = /* @__PURE__ */ O({
1639
1639
  __name: "TableCell",
1640
1640
  props: {
1641
1641
  column: {},
@@ -1694,7 +1694,7 @@ const al = { class: "popover__content" }, sl = {
1694
1694
  ], 64))
1695
1695
  ], 10, yl)) : T("", !0);
1696
1696
  }
1697
- }), kl = /* @__PURE__ */ le(wl, [["__scopeId", "data-v-ae709006"]]), $l = /* @__PURE__ */ O({
1697
+ }), kl = /* @__PURE__ */ ae(wl, [["__scopeId", "data-v-ae709006"]]), $l = /* @__PURE__ */ O({
1698
1698
  __name: "TableRow",
1699
1699
  props: {
1700
1700
  rowIndex: {},
@@ -1716,7 +1716,7 @@ const al = { class: "popover__content" }, sl = {
1716
1716
  style: Z(a.value),
1717
1717
  onClick: l[2] || (l[2] = (s) => o("rowClickHandler", { data: r.item, index: r.rowIndex }))
1718
1718
  }, [
1719
- (d(!0), p(oe, null, me(r.columns, (s) => (d(), G(kl, {
1719
+ (d(!0), p(oe, null, ve(r.columns, (s) => (d(), G(kl, {
1720
1720
  key: s.field || s.header,
1721
1721
  column: s,
1722
1722
  item: r.item,
@@ -1732,7 +1732,7 @@ const al = { class: "popover__content" }, sl = {
1732
1732
  }, null, 8, ["column", "item", "index", "selectedRows", "size", "rowspan", "rowGroupMode", "groupRowsBy", "collapsedGroups"]))), 128))
1733
1733
  ], 6));
1734
1734
  }
1735
- }), Gt = /* @__PURE__ */ le($l, [["__scopeId", "data-v-7d3d7c2c"]]), Sl = ["colspan"], Cl = ["colspan"], xl = /* @__PURE__ */ O({
1735
+ }), Gt = /* @__PURE__ */ ae($l, [["__scopeId", "data-v-7d3d7c2c"]]), Sl = ["colspan"], Cl = ["colspan"], xl = /* @__PURE__ */ O({
1736
1736
  __name: "TableBody",
1737
1737
  props: {
1738
1738
  columns: {},
@@ -1756,7 +1756,7 @@ const al = { class: "popover__content" }, sl = {
1756
1756
  }), u = P(() => !e.virtualScroll || !e.virtualScroll.enable ? e.data : e.data.slice(s.value, i.value)), c = (f) => {
1757
1757
  f ? r.value = f.scrollTop : n.value && (r.value = n.value.scrollTop);
1758
1758
  };
1759
- ve(async () => {
1759
+ me(async () => {
1760
1760
  e.virtualScroll && e.virtualScroll.enable && n.value && (await pe(), l.value = n.value.clientHeight);
1761
1761
  });
1762
1762
  const v = (f, h) => f.id ? `row-${f.id}` : `row-${h}`;
@@ -1779,7 +1779,7 @@ const al = { class: "popover__content" }, sl = {
1779
1779
  colspan: f.columns.length
1780
1780
  }, null, 8, Sl)
1781
1781
  ], 4)) : T("", !0),
1782
- (d(!0), p(oe, null, me(u.value, (g, y) => (d(), G(Gt, {
1782
+ (d(!0), p(oe, null, ve(u.value, (g, y) => (d(), G(Gt, {
1783
1783
  key: v(g, s.value + y),
1784
1784
  rowIndex: s.value + y,
1785
1785
  item: g,
@@ -1808,7 +1808,7 @@ const al = { class: "popover__content" }, sl = {
1808
1808
  class: L(["table-body", { "table-body--scroller": f.scroller && f.scroller.enable }]),
1809
1809
  style: Z({ maxHeight: `${f.scroller && f.scroller.height}px` })
1810
1810
  }, [
1811
- (d(!0), p(oe, null, me(f.data, (g, y) => (d(), G(Gt, {
1811
+ (d(!0), p(oe, null, ve(f.data, (g, y) => (d(), G(Gt, {
1812
1812
  key: v(g, y),
1813
1813
  rowIndex: y,
1814
1814
  item: g,
@@ -1826,7 +1826,7 @@ const al = { class: "popover__content" }, sl = {
1826
1826
  }, null, 8, ["rowIndex", "item", "columns", "selectedRows", "size", "rowGroupMode", "groupRowsBy", "collapsedGroups", "colorHovered", "rowStyle"]))), 128))
1827
1827
  ], 6));
1828
1828
  }
1829
- }), Ft = /* @__PURE__ */ le(xl, [["__scopeId", "data-v-cf860bb2"]]), Rl = { class: "tag__content" }, Ml = {
1829
+ }), Ft = /* @__PURE__ */ ae(xl, [["__scopeId", "data-v-cf860bb2"]]), Rl = { class: "tag__content" }, Ml = {
1830
1830
  key: 0,
1831
1831
  class: "tag__icon"
1832
1832
  }, Vl = { class: "tag__text" }, Pl = /* @__PURE__ */ O({
@@ -1860,7 +1860,7 @@ const al = { class: "popover__content" }, sl = {
1860
1860
  (d(), G(Ce(n.icon)))
1861
1861
  ])) : T("", !0),
1862
1862
  R("div", Vl, [
1863
- Y(n.$slots, "default")
1863
+ W(n.$slots, "default")
1864
1864
  ])
1865
1865
  ]),
1866
1866
  n.removable ? (d(), p("button", {
@@ -1899,7 +1899,7 @@ const al = { class: "popover__content" }, sl = {
1899
1899
  }),
1900
1900
  emits: /* @__PURE__ */ U(["blur", "input", "paste", "focus", "clear"], ["update:modelValue"]),
1901
1901
  setup(e, { emit: t }) {
1902
- const o = t, a = te(e, "modelValue"), n = qe(), r = A(!1), l = P(() => [
1902
+ const o = t, a = te(e, "modelValue"), n = Ye(), r = A(!1), l = P(() => [
1903
1903
  "input",
1904
1904
  `input--${e.size}`,
1905
1905
  `input--${e.variant}`,
@@ -1955,7 +1955,7 @@ const al = { class: "popover__content" }, sl = {
1955
1955
  class: "input__eye",
1956
1956
  onClick: c[6] || (c[6] = Je((v) => r.value = !r.value, ["prevent"]))
1957
1957
  }, [
1958
- r.value ? (d(), G(m(Yo), { key: 0 })) : (d(), G(m(Do), { key: 1 }))
1958
+ r.value ? (d(), G(m(Wo), { key: 0 })) : (d(), G(m(Do), { key: 1 }))
1959
1959
  ])) : T("", !0)
1960
1960
  ])
1961
1961
  ]),
@@ -1982,7 +1982,7 @@ const al = { class: "popover__content" }, sl = {
1982
1982
  }, [
1983
1983
  (d(), G(Ce(o.icon), { class: "icon-field__icon" })),
1984
1984
  R("div", Ol, [
1985
- Y(o.$slots, "default")
1985
+ W(o.$slots, "default")
1986
1986
  ])
1987
1987
  ], 2));
1988
1988
  }
@@ -2023,7 +2023,7 @@ const al = { class: "popover__content" }, sl = {
2023
2023
  }),
2024
2024
  emits: /* @__PURE__ */ U(["change"], ["update:modelValue"]),
2025
2025
  setup(e, { emit: t }) {
2026
- const o = te(e, "modelValue"), a = qe(), n = t, r = P(() => ["radio", `radio--${e.size}`]);
2026
+ const o = te(e, "modelValue"), a = Ye(), n = t, r = P(() => ["radio", `radio--${e.size}`]);
2027
2027
  return (l, s) => (d(), p("div", {
2028
2028
  class: L(r.value)
2029
2029
  }, [
@@ -2048,7 +2048,7 @@ const al = { class: "popover__content" }, sl = {
2048
2048
  }, [
2049
2049
  l.label ? (d(), p(oe, { key: 0 }, [
2050
2050
  fe(F(l.label), 1)
2051
- ], 64)) : Y(l.$slots, "default", { key: 1 })
2051
+ ], 64)) : W(l.$slots, "default", { key: 1 })
2052
2052
  ], 8, Hl)
2053
2053
  ], 2));
2054
2054
  }
@@ -2077,7 +2077,7 @@ const al = { class: "popover__content" }, sl = {
2077
2077
  onClick: r[1] || (r[1] = (l) => a("close"))
2078
2078
  }, {
2079
2079
  label: ee(() => [
2080
- n.$slots.option ? Y(n.$slots, "option", {
2080
+ n.$slots.option ? W(n.$slots, "option", {
2081
2081
  key: 0,
2082
2082
  option: n.item
2083
2083
  }) : (d(), p(oe, { key: 1 }, [
@@ -2093,7 +2093,7 @@ const al = { class: "popover__content" }, sl = {
2093
2093
  onClick: r[3] || (r[3] = (l) => a("close"))
2094
2094
  }, {
2095
2095
  default: ee(() => [
2096
- n.$slots.option ? Y(n.$slots, "option", {
2096
+ n.$slots.option ? W(n.$slots, "option", {
2097
2097
  key: 0,
2098
2098
  option: n.item
2099
2099
  }) : (d(), p(oe, { key: 1 }, [
@@ -2110,13 +2110,13 @@ const al = { class: "popover__content" }, sl = {
2110
2110
  }, ql = {
2111
2111
  key: 1,
2112
2112
  class: "dropdown__field-inner__text"
2113
- }, jl = {
2113
+ }, Yl = {
2114
2114
  key: 1,
2115
2115
  class: "dropdown__field-inner__text"
2116
- }, Wl = {
2116
+ }, jl = {
2117
2117
  class: "dropdown__popover",
2118
2118
  ref: "popover"
2119
- }, Yl = { class: "dropdown__popover-wrapper" }, Ul = {
2119
+ }, Wl = { class: "dropdown__popover-wrapper" }, Ul = {
2120
2120
  key: 0,
2121
2121
  class: "dropdown__popover-search"
2122
2122
  }, Kl = {
@@ -2175,7 +2175,7 @@ const al = { class: "popover__content" }, sl = {
2175
2175
  const V = l.value.findIndex((C) => C === w);
2176
2176
  V > -1 && l.value.splice(V, 1);
2177
2177
  }, g = Ie("trigger"), y = Ie("popover");
2178
- return ve(() => {
2178
+ return me(() => {
2179
2179
  Jt(
2180
2180
  y.value,
2181
2181
  () => {
@@ -2198,7 +2198,7 @@ const al = { class: "popover__content" }, sl = {
2198
2198
  }, [
2199
2199
  w.multiple ? (d(), p(oe, { key: 0 }, [
2200
2200
  r.value.length ? (d(), p("div", Nl, [
2201
- (d(!0), p(oe, null, me(l.value, (C) => (d(), G(m(Pl), {
2201
+ (d(!0), p(oe, null, ve(l.value, (C) => (d(), G(m(Pl), {
2202
2202
  variant: "secondary",
2203
2203
  key: C,
2204
2204
  removable: "",
@@ -2210,7 +2210,7 @@ const al = { class: "popover__content" }, sl = {
2210
2210
  _: 2
2211
2211
  }, 1032, ["onRemove"]))), 128))
2212
2212
  ])) : (d(), p("span", ql, F(s.value ? w.placeholder : v.value), 1))
2213
- ], 64)) : (d(), p("span", jl, F(s.value ? w.placeholder : v.value), 1))
2213
+ ], 64)) : (d(), p("span", Yl, F(s.value ? w.placeholder : v.value), 1))
2214
2214
  ], 2),
2215
2215
  V[5] || (V[5] = R("div", { class: "dropdown__field-arrow" }, [
2216
2216
  R("svg", {
@@ -2226,8 +2226,8 @@ const al = { class: "popover__content" }, sl = {
2226
2226
  ])
2227
2227
  ], -1))
2228
2228
  ], 512),
2229
- R("div", Wl, [
2230
- R("div", Yl, [
2229
+ R("div", jl, [
2230
+ R("div", Wl, [
2231
2231
  w.searchable ? (d(), p("div", Ul, [
2232
2232
  q(m(El), {
2233
2233
  icon: m(Lo),
@@ -2247,7 +2247,7 @@ const al = { class: "popover__content" }, sl = {
2247
2247
  w.loading ? (d(), p("div", Kl, [
2248
2248
  q(m(_l))
2249
2249
  ])) : (d(), p("div", Xl, [
2250
- (d(!0), p(oe, null, me(w.options, (C, I) => (d(), G(Fl, {
2250
+ (d(!0), p(oe, null, ve(w.options, (C, I) => (d(), G(Fl, {
2251
2251
  key: I,
2252
2252
  modelValue: l.value,
2253
2253
  "onUpdate:modelValue": V[3] || (V[3] = (B) => l.value = B),
@@ -2300,7 +2300,7 @@ const al = { class: "popover__content" }, sl = {
2300
2300
  q(m(Oo))
2301
2301
  ], 8, Ql),
2302
2302
  R("div", ea, [
2303
- (d(!0), p(oe, null, me(r.value, (i) => (d(), p("button", {
2303
+ (d(!0), p(oe, null, ve(r.value, (i) => (d(), p("button", {
2304
2304
  class: L(["paginator-button paginator__page", { "paginator-button--active": t.value === i }]),
2305
2305
  key: i,
2306
2306
  onClick: (u) => t.value = Number(i)
@@ -2324,7 +2324,7 @@ const al = { class: "popover__content" }, sl = {
2324
2324
  ])) : T("", !0)
2325
2325
  ])) : T("", !0);
2326
2326
  }
2327
- }), aa = /* @__PURE__ */ le(la, [["__scopeId", "data-v-f9c63c06"]]), sa = {
2327
+ }), aa = /* @__PURE__ */ ae(la, [["__scopeId", "data-v-f9c63c06"]]), sa = {
2328
2328
  key: 0,
2329
2329
  class: "table-footer"
2330
2330
  }, ra = {
@@ -2362,25 +2362,31 @@ const al = { class: "popover__content" }, sl = {
2362
2362
  ])
2363
2363
  ])) : T("", !0);
2364
2364
  }
2365
- }), Nt = /* @__PURE__ */ le(ia, [["__scopeId", "data-v-a62c3245"]]), ua = (e) => {
2366
- const t = A([]), o = A({
2365
+ }), Nt = /* @__PURE__ */ ae(ia, [["__scopeId", "data-v-a62c3245"]]), ua = (e) => {
2366
+ const t = A([]), o = A([]), a = A({
2367
2367
  selectedMode: null
2368
- }), a = (r) => {
2369
- t.value.indexOf(r) > -1 || (r.selectionMode && (o.value.selectedMode = r.selectionMode), t.value.push(r));
2370
- }, n = (r) => {
2371
- const l = t.value.indexOf(r);
2372
- l > -1 && t.value.splice(l, 1);
2368
+ }), n = (s) => {
2369
+ const i = t.value.findIndex((u) => u.id === s.id);
2370
+ i > -1 ? t.value[i] = s : t.value.push(s), s.selectionMode && (a.value.selectedMode = s.selectionMode), r();
2371
+ }, r = () => {
2372
+ o.value = t.value.filter((s) => s.visible !== !1);
2373
+ }, l = (s) => {
2374
+ const i = t.value.findIndex((u) => u.id === s.id);
2375
+ i > -1 && (t.value.splice(i, 1), r());
2373
2376
  };
2374
- return be("registerColumn", a), be("unregisterColumn", n), ve(() => {
2375
- e.value && t.value.unshift({
2377
+ return be("registerColumn", n), be("unregisterColumn", l), me(() => {
2378
+ e.value && o.value.unshift({
2379
+ id: "_expander",
2376
2380
  field: "_expander",
2377
2381
  header: "",
2378
2382
  style: { width: "30px" },
2379
2383
  align: "center"
2380
2384
  });
2381
2385
  }), {
2382
- columns: t,
2383
- options: o
2386
+ columns: o,
2387
+ allColumns: t,
2388
+ options: a,
2389
+ updateVisibleColumns: r
2384
2390
  };
2385
2391
  }, ca = (e, t) => {
2386
2392
  const o = A([]), a = P(() => Array.isArray(o.value) && o.value.length === t.length);
@@ -2454,7 +2460,7 @@ const al = { class: "popover__content" }, sl = {
2454
2460
  g.value.handleScroll(M);
2455
2461
  }
2456
2462
  };
2457
- ve(async () => {
2463
+ me(async () => {
2458
2464
  if (e.virtualScroll && e.virtualScroll.enable && g.value) {
2459
2465
  await pe();
2460
2466
  const b = document.querySelector(".table-wrapper--scrollable");
@@ -2491,7 +2497,7 @@ const al = { class: "popover__content" }, sl = {
2491
2497
  }), k = A(/* @__PURE__ */ new Set()), D = (b) => {
2492
2498
  k.value.has(b) ? k.value.delete(b) : k.value.add(b);
2493
2499
  };
2494
- return se(u, (b) => {
2500
+ return le(u, (b) => {
2495
2501
  o("update:selectedRows", b);
2496
2502
  }), (b, M) => I.value ? (d(), p("div", {
2497
2503
  key: 0,
@@ -2502,7 +2508,7 @@ const al = { class: "popover__content" }, sl = {
2502
2508
  R("table", {
2503
2509
  class: L(B.value)
2504
2510
  }, [
2505
- Y(b.$slots, "default", {}, void 0, !0),
2511
+ W(b.$slots, "default", {}, void 0, !0),
2506
2512
  q(Ht, {
2507
2513
  size: b.size,
2508
2514
  columns: m(l),
@@ -2545,7 +2551,7 @@ const al = { class: "popover__content" }, sl = {
2545
2551
  key: 1,
2546
2552
  class: L(B.value)
2547
2553
  }, [
2548
- Y(b.$slots, "default", {}, void 0, !0),
2554
+ W(b.$slots, "default", {}, void 0, !0),
2549
2555
  q(Ht, {
2550
2556
  size: b.size,
2551
2557
  columns: m(l),
@@ -2585,7 +2591,7 @@ const al = { class: "popover__content" }, sl = {
2585
2591
  }, null, 8, ["currentPage", "per-page", "data", "per-page-options", "totals-row", "paginator"])
2586
2592
  ], 2));
2587
2593
  }
2588
- }), Ks = /* @__PURE__ */ le(fa, [["__scopeId", "data-v-6e701328"]]), Xs = /* @__PURE__ */ O({
2594
+ }), Ks = /* @__PURE__ */ ae(fa, [["__scopeId", "data-v-6e701328"]]), Xs = /* @__PURE__ */ O({
2589
2595
  __name: "Column",
2590
2596
  props: {
2591
2597
  field: {},
@@ -2595,10 +2601,12 @@ const al = { class: "popover__content" }, sl = {
2595
2601
  alignVertical: {},
2596
2602
  style: {},
2597
2603
  headerStyle: {},
2598
- selectionMode: {}
2604
+ selectionMode: {},
2605
+ visible: { type: Boolean, default: !0 }
2599
2606
  },
2600
2607
  setup(e) {
2601
- const t = e, o = Wt(), a = de("registerColumn"), n = {
2608
+ const t = e, o = He(t, "visible"), a = jt(), n = `column-${Math.random().toString(36).substring(2, 11)}`, r = de("registerColumn"), l = P(() => ({
2609
+ id: n,
2602
2610
  header: t.header,
2603
2611
  field: t.field,
2604
2612
  description: t.description,
@@ -2606,13 +2614,18 @@ const al = { class: "popover__content" }, sl = {
2606
2614
  alignVertical: t.alignVertical,
2607
2615
  selectionMode: t.selectionMode,
2608
2616
  style: t.style,
2609
- headerSlot: o.header ? o.header : null,
2610
- bodySlot: o.body ? o.body : null,
2611
- footerSlot: o.footer ? o.footer : null
2612
- };
2613
- return ve(() => {
2614
- a && a(n);
2615
- }), (r, l) => T("", !0);
2617
+ visible: o.value,
2618
+ headerSlot: a.header ? a.header : null,
2619
+ bodySlot: a.body ? a.body : null,
2620
+ footerSlot: a.footer ? a.footer : null
2621
+ }));
2622
+ return le(
2623
+ t,
2624
+ () => {
2625
+ r && r(l.value);
2626
+ },
2627
+ { immediate: !0 }
2628
+ ), (s, i) => T("", !0);
2616
2629
  }
2617
2630
  }), va = { class: "chip-checkbox" }, ma = ["name", "id", "value"], pa = { class: "chip-checkbox__text" }, Zs = /* @__PURE__ */ O({
2618
2631
  __name: "ChipCheckbox",
@@ -2626,7 +2639,7 @@ const al = { class: "popover__content" }, sl = {
2626
2639
  }),
2627
2640
  emits: ["update:modelValue"],
2628
2641
  setup(e) {
2629
- const t = te(e, "modelValue"), o = qe();
2642
+ const t = te(e, "modelValue"), o = Ye();
2630
2643
  return (a, n) => (d(), p("div", va, [
2631
2644
  Me(R("input", {
2632
2645
  "onUpdate:modelValue": n[0] || (n[0] = (r) => t.value = r),
@@ -2811,10 +2824,10 @@ function ga(e, t) {
2811
2824
  const _ = k.selectionStart || 0, ne = k.selectionEnd || 0;
2812
2825
  if (_ !== ne) {
2813
2826
  l.value = f(""), e.value = "", pe(() => {
2814
- const { required: ae, optional: ie } = u(o), W = ae + ie;
2827
+ const { required: se, optional: ie } = u(o), j = se + ie;
2815
2828
  let re = 0;
2816
- for (let ue = 0; ue < W.length; ue++)
2817
- if (c(W[ue])) {
2829
+ for (let ue = 0; ue < j.length; ue++)
2830
+ if (c(j[ue])) {
2818
2831
  re = ue;
2819
2832
  break;
2820
2833
  }
@@ -2823,25 +2836,25 @@ function ga(e, t) {
2823
2836
  return;
2824
2837
  }
2825
2838
  if (D > 0 && l.value.length > 0) {
2826
- const ae = l.value;
2827
- let ie = "", W = -1;
2828
- const { required: re, optional: ue } = u(o), j = re + ue;
2839
+ const se = l.value;
2840
+ let ie = "", j = -1;
2841
+ const { required: re, optional: ue } = u(o), Y = re + ue;
2829
2842
  for (let X = D - 1; X >= 0; X--)
2830
- if (X < j.length && c(j[X])) {
2831
- W = X;
2843
+ if (X < Y.length && c(Y[X])) {
2844
+ j = X;
2832
2845
  break;
2833
2846
  }
2834
- if (W >= 0) {
2835
- let X = g(ae), Ye = 0;
2836
- for (let Pe = 0; Pe <= W; Pe++) {
2847
+ if (j >= 0) {
2848
+ let X = g(se), Ue = 0;
2849
+ for (let Pe = 0; Pe <= j; Pe++) {
2837
2850
  const { required: bo, optional: wo } = u(o), Mt = bo + wo;
2838
2851
  if (Pe < Mt.length && c(Mt[Pe])) {
2839
- if (Pe === W) break;
2840
- Ye++;
2852
+ if (Pe === j) break;
2853
+ Ue++;
2841
2854
  }
2842
2855
  }
2843
- X = X.slice(0, Ye) + X.slice(Ye + 1), ie = f(X), l.value = ie, e.value = X, pe(() => {
2844
- k.setSelectionRange(W, W);
2856
+ X = X.slice(0, Ue) + X.slice(Ue + 1), ie = f(X), l.value = ie, e.value = X, pe(() => {
2857
+ k.setSelectionRange(j, j);
2845
2858
  });
2846
2859
  }
2847
2860
  }
@@ -2854,10 +2867,10 @@ function ga(e, t) {
2854
2867
  const _ = k.selectionStart || 0, ne = k.selectionEnd || 0;
2855
2868
  if (_ !== ne) {
2856
2869
  l.value = f(""), e.value = "", pe(() => {
2857
- const { required: ae, optional: ie } = u(o), W = ae + ie;
2870
+ const { required: se, optional: ie } = u(o), j = se + ie;
2858
2871
  let re = 0;
2859
- for (let ue = 0; ue < W.length; ue++)
2860
- if (c(W[ue])) {
2872
+ for (let ue = 0; ue < j.length; ue++)
2873
+ if (c(j[ue])) {
2861
2874
  re = ue;
2862
2875
  break;
2863
2876
  }
@@ -2866,27 +2879,27 @@ function ga(e, t) {
2866
2879
  return;
2867
2880
  }
2868
2881
  if (D < l.value.length) {
2869
- const ae = l.value;
2882
+ const se = l.value;
2870
2883
  let ie = -1;
2871
- for (let W = D; W < ae.length; W++) {
2872
- const { required: re, optional: ue } = u(o), j = re + ue;
2873
- if (W < j.length && c(j[W])) {
2874
- ie = W;
2884
+ for (let j = D; j < se.length; j++) {
2885
+ const { required: re, optional: ue } = u(o), Y = re + ue;
2886
+ if (j < Y.length && c(Y[j])) {
2887
+ ie = j;
2875
2888
  break;
2876
2889
  }
2877
2890
  }
2878
2891
  if (ie >= 0) {
2879
- let W = g(ae), re = 0;
2880
- for (let j = 0; j <= ie; j++) {
2881
- const { required: X, optional: Ye } = u(o), Pe = X + Ye;
2882
- if (j < Pe.length && c(Pe[j])) {
2883
- if (j === ie) break;
2892
+ let j = g(se), re = 0;
2893
+ for (let Y = 0; Y <= ie; Y++) {
2894
+ const { required: X, optional: Ue } = u(o), Pe = X + Ue;
2895
+ if (Y < Pe.length && c(Pe[Y])) {
2896
+ if (Y === ie) break;
2884
2897
  re++;
2885
2898
  }
2886
2899
  }
2887
- W = W.slice(0, re) + W.slice(re + 1);
2888
- const ue = f(W);
2889
- l.value = ue, e.value = W, pe(() => {
2900
+ j = j.slice(0, re) + j.slice(re + 1);
2901
+ const ue = f(j);
2902
+ l.value = ue, e.value = j, pe(() => {
2890
2903
  k.setSelectionRange(D, D);
2891
2904
  });
2892
2905
  }
@@ -2938,9 +2951,9 @@ function ga(e, t) {
2938
2951
  function $() {
2939
2952
  s.value = !1, n && !y(l.value) ? (l.value = "", e.value = "") : ze(e) || w();
2940
2953
  }
2941
- return w(), se(() => ze(e), (S, k) => {
2954
+ return w(), le(() => ze(e), (S, k) => {
2942
2955
  S !== k && w();
2943
- }, { immediate: !0 }), se(s, (S, k) => {
2956
+ }, { immediate: !0 }), le(s, (S, k) => {
2944
2957
  S !== k && w();
2945
2958
  }), {
2946
2959
  displayValue: l,
@@ -3013,7 +3026,7 @@ const Js = /* @__PURE__ */ O({
3013
3026
  emits: ["update:modelValue"],
3014
3027
  setup(e) {
3015
3028
  const t = te(e, "modelValue"), o = A(e.formatter ? e.formatter(t.value) : t.value);
3016
- se(t, (s) => {
3029
+ le(t, (s) => {
3017
3030
  o.value = e.formatter ? e.formatter(s) : s;
3018
3031
  });
3019
3032
  const a = (s) => {
@@ -3040,7 +3053,7 @@ const Js = /* @__PURE__ */ O({
3040
3053
  [`input-number--icon-${e.iconPosition}`]: e.icon
3041
3054
  }
3042
3055
  ]);
3043
- return ve(() => {
3056
+ return me(() => {
3044
3057
  t.value = e.countInPackage ? e.countInPackage : e.min, o.value = e.formatter ? e.formatter(t.value) : t.value;
3045
3058
  }), (s, i) => (d(), p("div", {
3046
3059
  class: L(l.value)
@@ -3066,7 +3079,7 @@ const Js = /* @__PURE__ */ O({
3066
3079
  max: s.max,
3067
3080
  onBlur: a
3068
3081
  }, null, 40, ya), [
3069
- [Yt, o.value]
3082
+ [Wt, o.value]
3070
3083
  ])
3071
3084
  ]),
3072
3085
  s.viewButtons ? (d(), G(m(we), {
@@ -3139,14 +3152,14 @@ const Js = /* @__PURE__ */ O({
3139
3152
  typeof n == "object" ? t.value = t.value === n[e.optionValue] ? null : n[e.optionValue] : t.value = t.value === n ? null : n;
3140
3153
  };
3141
3154
  return (n, r) => (d(), p("div", ba, [
3142
- (d(!0), p(oe, null, me(n.options, (l) => (d(), p("button", {
3155
+ (d(!0), p(oe, null, ve(n.options, (l) => (d(), p("button", {
3143
3156
  class: L(["select-buttons__item", { "select-buttons__item--selected": o(l) }]),
3144
3157
  key: typeof l == "object" ? l[n.optionValue] : l,
3145
3158
  onClick: (s) => a(l)
3146
3159
  }, F(typeof l == "object" ? l[n.optionLabel] : l), 11, wa))), 128))
3147
3160
  ]));
3148
3161
  }
3149
- }), tr = /* @__PURE__ */ le(ka, [["__scopeId", "data-v-27415c56"]]), $a = ["id", "disabled"], or = /* @__PURE__ */ O({
3162
+ }), tr = /* @__PURE__ */ ae(ka, [["__scopeId", "data-v-27415c56"]]), $a = ["id", "disabled"], or = /* @__PURE__ */ O({
3150
3163
  __name: "Switch",
3151
3164
  props: /* @__PURE__ */ U({
3152
3165
  disabled: { type: Boolean }
@@ -3156,7 +3169,7 @@ const Js = /* @__PURE__ */ O({
3156
3169
  }),
3157
3170
  emits: ["update:modelValue"],
3158
3171
  setup(e) {
3159
- const t = te(e, "modelValue"), o = qe();
3172
+ const t = te(e, "modelValue"), o = Ye();
3160
3173
  return (a, n) => (d(), p("div", {
3161
3174
  class: L(["switch", {
3162
3175
  "switch--disabled": a.disabled
@@ -3225,7 +3238,7 @@ const Js = /* @__PURE__ */ O({
3225
3238
  n.value = null;
3226
3239
  };
3227
3240
  return (u, c) => (d(), p("div", Sa, [
3228
- (d(!0), p(oe, null, me(u.maxStars, (v) => (d(), p("button", {
3241
+ (d(!0), p(oe, null, ve(u.maxStars, (v) => (d(), p("button", {
3229
3242
  key: v,
3230
3243
  type: "button",
3231
3244
  class: L(["star-button", { "star-button--active": v <= o.value }]),
@@ -3246,7 +3259,7 @@ const Js = /* @__PURE__ */ O({
3246
3259
  ], 42, Ca))), 128))
3247
3260
  ]));
3248
3261
  }
3249
- }), nr = /* @__PURE__ */ le(xa, [["__scopeId", "data-v-d744a89c"]]), Ra = ["for"], Ma = ["maxlength", "id", "placeholder", "name", "disabled", "rows", "resizable", "cols"], Va = { class: "textarea__footer" }, Pa = {
3262
+ }), nr = /* @__PURE__ */ ae(xa, [["__scopeId", "data-v-d744a89c"]]), Ra = ["for"], Ma = ["maxlength", "id", "placeholder", "name", "disabled", "rows", "resizable", "cols"], Va = { class: "textarea__footer" }, Pa = {
3250
3263
  key: 1,
3251
3264
  class: "textarea__count-char"
3252
3265
  }, lr = /* @__PURE__ */ O({
@@ -3272,7 +3285,7 @@ const Js = /* @__PURE__ */ O({
3272
3285
  }),
3273
3286
  emits: /* @__PURE__ */ U(["focusIn", "focusOut", "blur"], ["update:modelValue"]),
3274
3287
  setup(e, { emit: t }) {
3275
- const o = t, a = te(e, "modelValue"), n = A(null), r = qe(), l = () => {
3288
+ const o = t, a = te(e, "modelValue"), n = A(null), r = Ye(), l = () => {
3276
3289
  const i = n.value;
3277
3290
  if (!i) return;
3278
3291
  const u = {
@@ -3282,9 +3295,9 @@ const Js = /* @__PURE__ */ O({
3282
3295
  }[e.size];
3283
3296
  i.style.height = "auto", e.maxHeight && (i.style.maxHeight = e.maxHeight + "px"), i.style.height = Math.min(i.scrollHeight, e.maxHeight || i.scrollHeight) + "px", i.scrollHeight < u && (i.style.height = u * e.rows + "px");
3284
3297
  };
3285
- ve(() => {
3298
+ me(() => {
3286
3299
  l();
3287
- }), se(() => [e.rows, e.maxHeight], () => {
3300
+ }), le(() => [e.rows, e.maxHeight], () => {
3288
3301
  l();
3289
3302
  });
3290
3303
  const s = P(() => [
@@ -3322,7 +3335,7 @@ const Js = /* @__PURE__ */ O({
3322
3335
  onFocusOut: u[2] || (u[2] = (c) => o("focusOut", c)),
3323
3336
  onBlur: u[3] || (u[3] = (c) => o("blur", c))
3324
3337
  }, null, 40, Ma), [
3325
- [Yt, a.value]
3338
+ [Wt, a.value]
3326
3339
  ]),
3327
3340
  R("div", Va, [
3328
3341
  i.smallText || i.error && i.errorText ? (d(), p("div", {
@@ -3334,7 +3347,7 @@ const Js = /* @__PURE__ */ O({
3334
3347
  ], 2));
3335
3348
  }
3336
3349
  });
3337
- function Fe(e, t) {
3350
+ function Ne(e, t) {
3338
3351
  let o = t;
3339
3352
  const a = e.dayOfYear(), n = [
3340
3353
  // День месяца
@@ -3407,7 +3420,7 @@ function dt(e, t, o, a) {
3407
3420
  inRange: !1
3408
3421
  };
3409
3422
  if (!t) return n;
3410
- const r = Fe(e, o);
3423
+ const r = Ne(e, o);
3411
3424
  if (typeof t == "string")
3412
3425
  return n.selected = r === t, n;
3413
3426
  if (!a && typeof t == "object") {
@@ -3437,7 +3450,7 @@ function Ta(e, t, o, a = null, n = "dd/mm/yy", r = null, l = null, s = !1) {
3437
3450
  for (let h = v - 1; h >= 0; h--) {
3438
3451
  const g = u.subtract(h + 1, "day"), y = dt(g, a, n, s);
3439
3452
  i.push({
3440
- value: Fe(g, n),
3453
+ value: Ne(g, n),
3441
3454
  label: g.format("D"),
3442
3455
  disabled: !0,
3443
3456
  // Дни из другого месяца всегда disabled
@@ -3451,7 +3464,7 @@ function Ta(e, t, o, a = null, n = "dd/mm/yy", r = null, l = null, s = !1) {
3451
3464
  for (let h = 1; h <= c.date(); h++) {
3452
3465
  const g = K().year(e).month(t).date(h), y = g.isSame(o, "day"), w = dt(g, a, n, s), V = Ia(g, r, l);
3453
3466
  i.push({
3454
- value: Fe(g, n),
3467
+ value: Ne(g, n),
3455
3468
  label: String(h),
3456
3469
  disabled: !V,
3457
3470
  // Отключаем даты вне разрешенного диапазона
@@ -3468,7 +3481,7 @@ function Ta(e, t, o, a = null, n = "dd/mm/yy", r = null, l = null, s = !1) {
3468
3481
  for (let g = 1; g <= h; g++) {
3469
3482
  const y = c.add(g, "day"), w = dt(y, a, n, s);
3470
3483
  i.push({
3471
- value: Fe(y, n),
3484
+ value: Ne(y, n),
3472
3485
  label: y.format("D"),
3473
3486
  disabled: !0,
3474
3487
  // Дни из другого месяца всегда disabled
@@ -3499,7 +3512,7 @@ function Ba(e, t, o = "dd/mm/yyyy", a = null, n = null) {
3499
3512
  ].map((l, s) => {
3500
3513
  const i = K().year(e).month(s).date(1), u = i.endOf("month"), c = (!a || u.isAfter(K(a).subtract(1, "day"))) && (!n || i.isBefore(K(n).add(1, "day")));
3501
3514
  return {
3502
- value: Fe(i, o),
3515
+ value: Ne(i, o),
3503
3516
  label: l,
3504
3517
  current: t.year() === e && t.month() === s,
3505
3518
  disabled: !c
@@ -3511,7 +3524,7 @@ function Da(e, t = "dd.mm.yyyy", o = null, a = null) {
3511
3524
  for (let s = l; s < l + 20; s++) {
3512
3525
  const i = K().year(s).month(0).date(1), u = i.endOf("year"), c = (!o || u.isAfter(K(o).subtract(1, "day"))) && (!a || i.isBefore(K(a).add(1, "day")));
3513
3526
  r.push({
3514
- value: Fe(i, t),
3527
+ value: Ne(i, t),
3515
3528
  label: String(s),
3516
3529
  current: s === K().year(),
3517
3530
  // Сравниваем с реальной текущей датой
@@ -3520,7 +3533,7 @@ function Da(e, t = "dd.mm.yyyy", o = null, a = null) {
3520
3533
  }
3521
3534
  return r;
3522
3535
  }
3523
- function La(e, t, o = A(null), a = A(null), n = A(null), r = A(!1)) {
3536
+ function La(e, t, o = A(K().format("DD.MM.YYYY")), a = A(null), n = A(null), r = A(!1)) {
3524
3537
  const l = A(K()), s = () => {
3525
3538
  switch (e.value) {
3526
3539
  case "day":
@@ -3608,7 +3621,7 @@ const Oa = { class: "calendar__header" }, Ea = { class: "calendar__header-title"
3608
3621
  }),
3609
3622
  emits: ["update:modelValue"],
3610
3623
  setup(e) {
3611
- const t = e, o = Ue(t, "type"), a = Ue(t, "format"), n = Ue(t, "range"), r = Ue(t, "minDate"), l = Ue(t, "maxDate"), s = te(e, "modelValue"), i = A(!1), u = A(o.value || "day"), { calendarCells: c, activeDateInfo: v, goToPreviousPage: f, goToNextPage: h } = La(u, a, s, r, l, n), g = P({
3624
+ const t = e, o = He(t, "type"), a = He(t, "format"), n = He(t, "range"), r = He(t, "minDate"), l = He(t, "maxDate"), s = te(e, "modelValue"), i = A(!1), u = A(o.value || "day"), { calendarCells: c, activeDateInfo: v, goToPreviousPage: f, goToNextPage: h } = La(u, a, s, r, l, n), g = P({
3612
3625
  get() {
3613
3626
  return u.value;
3614
3627
  },
@@ -3699,7 +3712,7 @@ const Oa = { class: "calendar__header" }, Ea = { class: "calendar__header-title"
3699
3712
  Vo('<div class="calendar__body-header__item" data-v-e2037ecf><span data-v-e2037ecf>Пн</span></div><div class="calendar__body-header__item" data-v-e2037ecf><span data-v-e2037ecf>Вт</span></div><div class="calendar__body-header__item" data-v-e2037ecf><span data-v-e2037ecf>Ср</span></div><div class="calendar__body-header__item" data-v-e2037ecf><span data-v-e2037ecf>Чт</span></div><div class="calendar__body-header__item" data-v-e2037ecf><span data-v-e2037ecf>Пт</span></div><div class="calendar__body-header__item" data-v-e2037ecf><span data-v-e2037ecf>Сб</span></div><div class="calendar__body-header__item" data-v-e2037ecf><span data-v-e2037ecf>Вс</span></div>', 7)
3700
3713
  ])])) : T("", !0),
3701
3714
  R("div", Ga, [
3702
- (d(!0), p(oe, null, me(m(c), (B) => (d(), p("button", {
3715
+ (d(!0), p(oe, null, ve(m(c), (B) => (d(), p("button", {
3703
3716
  key: B.value,
3704
3717
  class: L(w(B)),
3705
3718
  disabled: B.disabled,
@@ -3711,8 +3724,8 @@ const Oa = { class: "calendar__header" }, Ea = { class: "calendar__header-title"
3711
3724
  ])
3712
3725
  ], 2));
3713
3726
  }
3714
- }), qa = /* @__PURE__ */ le(Na, [["__scopeId", "data-v-e2037ecf"]]);
3715
- class ja {
3727
+ }), qa = /* @__PURE__ */ ae(Na, [["__scopeId", "data-v-e2037ecf"]]);
3728
+ class Ya {
3716
3729
  constructor() {
3717
3730
  }
3718
3731
  getPhoneMask(t, o = "(999) 999-99-99") {
@@ -3811,7 +3824,7 @@ class ja {
3811
3824
  return s ? l.format(o.toUpperCase()) : null;
3812
3825
  }
3813
3826
  }
3814
- const Wa = /* @__PURE__ */ O({
3827
+ const ja = /* @__PURE__ */ O({
3815
3828
  __name: "DatePicker",
3816
3829
  props: /* @__PURE__ */ U({
3817
3830
  placeholder: {},
@@ -3893,7 +3906,7 @@ const Wa = /* @__PURE__ */ O({
3893
3906
  return null;
3894
3907
  }
3895
3908
  }
3896
- const n = new ja(), r = e, l = t, s = te(e, "modelValue"), i = A(), u = A(), c = A(), v = A(!1), f = A(s.value), h = A({}), g = P(() => {
3909
+ const n = new Ya(), r = e, l = t, s = te(e, "modelValue"), i = A(), u = A(), c = A(), v = A(!1), f = A(s.value), h = A({}), g = P(() => {
3897
3910
  if (!s.value) return "";
3898
3911
  if (typeof s.value == "string")
3899
3912
  return s.value;
@@ -3945,9 +3958,9 @@ const Wa = /* @__PURE__ */ O({
3945
3958
  const S = $.target;
3946
3959
  !i.value.contains(S) && !c.value.contains(S) && (v.value = !1);
3947
3960
  };
3948
- return se(s, ($) => {
3961
+ return le(s, ($) => {
3949
3962
  f.value = $;
3950
- }, { immediate: !0 }), ve(() => {
3963
+ }, { immediate: !0 }), me(() => {
3951
3964
  document.addEventListener("mousedown", B), window.addEventListener("resize", I), window.addEventListener("scroll", I);
3952
3965
  }), Ze(() => {
3953
3966
  document.removeEventListener("mousedown", B), window.removeEventListener("resize", I), window.removeEventListener("scroll", I);
@@ -4007,7 +4020,7 @@ const Wa = /* @__PURE__ */ O({
4007
4020
  ]))
4008
4021
  ], 512));
4009
4022
  }
4010
- }), ar = /* @__PURE__ */ le(Wa, [["__scopeId", "data-v-b36a6481"]]), Ya = { class: "breadcrumb" }, Ua = ["onClick"], Ka = {
4023
+ }), ar = /* @__PURE__ */ ae(ja, [["__scopeId", "data-v-b36a6481"]]), Wa = { class: "breadcrumb" }, Ua = ["onClick"], Ka = {
4011
4024
  key: 2,
4012
4025
  class: "breadcrumb__item breadcrumb__seporator"
4013
4026
  }, sr = /* @__PURE__ */ O({
@@ -4016,9 +4029,9 @@ const Wa = /* @__PURE__ */ O({
4016
4029
  items: {}
4017
4030
  },
4018
4031
  setup(e) {
4019
- const t = (o) => o.url ? jt("RouterLink") : "div";
4020
- return (o, a) => (d(), p("div", Ya, [
4021
- (d(!0), p(oe, null, me(o.items, (n, r) => (d(), p(oe, null, [
4032
+ const t = (o) => o.url ? Yt("RouterLink") : "div";
4033
+ return (o, a) => (d(), p("div", Wa, [
4034
+ (d(!0), p(oe, null, ve(o.items, (n, r) => (d(), p(oe, null, [
4022
4035
  n.command ? (d(), p("button", {
4023
4036
  key: 0,
4024
4037
  class: L(["breadcrumb__item", { "breadcrumb__item--disabled": !n.command || n.disabled }]),
@@ -4063,7 +4076,7 @@ const Wa = /* @__PURE__ */ O({
4063
4076
  }, v = () => {
4064
4077
  l.value && (clearTimeout(l.value), l.value = null);
4065
4078
  };
4066
- return ve(() => {
4079
+ return me(() => {
4067
4080
  e.msg.life && (s.value = e.msg.life, i());
4068
4081
  }), (f, h) => (d(), p("div", {
4069
4082
  class: L(r.value)
@@ -4110,7 +4123,7 @@ const Wa = /* @__PURE__ */ O({
4110
4123
  }, i = () => {
4111
4124
  o.value = [];
4112
4125
  };
4113
- return ve(() => {
4126
+ return me(() => {
4114
4127
  he.on("add", r), he.on("remove", l), he.on("remove-group", s), he.on("remove-all-groups", i);
4115
4128
  }), Ze(() => {
4116
4129
  he.off("add", r), he.off("remove", l), he.off("remove-group", s), he.off("remove-all-groups", i);
@@ -4123,7 +4136,7 @@ const Wa = /* @__PURE__ */ O({
4123
4136
  class: "toast-messages"
4124
4137
  }, {
4125
4138
  default: ee(() => [
4126
- (d(!0), p(oe, null, me(o.value, (v) => (d(), G(es, {
4139
+ (d(!0), p(oe, null, ve(o.value, (v) => (d(), G(es, {
4127
4140
  key: v.id,
4128
4141
  msg: v,
4129
4142
  onClose: c[0] || (c[0] = (f) => n(f))
@@ -4177,8 +4190,8 @@ const ur = {
4177
4190
  `message--${t.type}`,
4178
4191
  { "message--outlined": t.outlined }
4179
4192
  ]), a = Ut({
4180
- error: Ae(Wo),
4181
- warning: Ae(jo),
4193
+ error: Ae(jo),
4194
+ warning: Ae(Yo),
4182
4195
  info: Ae(bt)
4183
4196
  });
4184
4197
  return (n, r) => (d(), p("div", {
@@ -4186,13 +4199,13 @@ const ur = {
4186
4199
  }, [
4187
4200
  (d(), G(Ce(a[t.type]), { class: "message__icon" })),
4188
4201
  R("div", os, [
4189
- n.$slots.default ? Y(n.$slots, "default", { key: 0 }, void 0, !0) : (d(), p(oe, { key: 1 }, [
4202
+ n.$slots.default ? W(n.$slots, "default", { key: 0 }, void 0, !0) : (d(), p(oe, { key: 1 }, [
4190
4203
  fe(F(t.message), 1)
4191
4204
  ], 64))
4192
4205
  ])
4193
4206
  ], 2));
4194
4207
  }
4195
- }), cr = /* @__PURE__ */ le(ns, [["__scopeId", "data-v-5db16833"]]), ls = {
4208
+ }), cr = /* @__PURE__ */ ae(ns, [["__scopeId", "data-v-5db16833"]]), ls = {
4196
4209
  key: 0,
4197
4210
  class: "badge__value"
4198
4211
  }, as = /* @__PURE__ */ O({
@@ -4244,7 +4257,7 @@ const ur = {
4244
4257
  class: "overlay-badge__badge",
4245
4258
  style: Z(t.value)
4246
4259
  }, null, 8, ["value", "variant", "style"])) : T("", !0),
4247
- Y(o.$slots, "default")
4260
+ W(o.$slots, "default")
4248
4261
  ], 2));
4249
4262
  }
4250
4263
  }), fr = /* @__PURE__ */ O({
@@ -4334,9 +4347,9 @@ const ur = {
4334
4347
  }, l = (s) => {
4335
4348
  s.key === "Escape" && (J.value = null);
4336
4349
  };
4337
- return se(J, (s) => {
4350
+ return le(J, (s) => {
4338
4351
  s?.blockScroll ? t() : o();
4339
- }, { immediate: !0, deep: !0 }), ve(() => {
4352
+ }, { immediate: !0, deep: !0 }), me(() => {
4340
4353
  document.addEventListener("keydown", l);
4341
4354
  }), Ze(() => {
4342
4355
  document.removeEventListener("keydown", l), o();
@@ -4388,7 +4401,7 @@ const ur = {
4388
4401
  })
4389
4402
  ]));
4390
4403
  }
4391
- }), gr = /* @__PURE__ */ le(fs, [["__scopeId", "data-v-9e0d3c8a"]]), vs = {
4404
+ }), gr = /* @__PURE__ */ ae(fs, [["__scopeId", "data-v-9e0d3c8a"]]), vs = {
4392
4405
  key: 0,
4393
4406
  class: "confirm-popup__header"
4394
4407
  }, ms = { class: "confirm-popup__header-title" }, ps = {
@@ -4484,9 +4497,9 @@ const ur = {
4484
4497
  }, v = () => {
4485
4498
  Q.value?.target && l();
4486
4499
  };
4487
- return se(Q, async (f) => {
4500
+ return le(Q, async (f) => {
4488
4501
  f?.target && (await pe(), l());
4489
- }, { immediate: !0 }), ve(() => {
4502
+ }, { immediate: !0 }), me(() => {
4490
4503
  document.addEventListener("keydown", u), window.addEventListener("scroll", c, !0), window.addEventListener("resize", v);
4491
4504
  }), Ze(() => {
4492
4505
  document.removeEventListener("keydown", u), window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", v);
@@ -4542,7 +4555,7 @@ const ur = {
4542
4555
  })
4543
4556
  ]));
4544
4557
  }
4545
- }), hr = /* @__PURE__ */ le(hs, [["__scopeId", "data-v-de057bd8"]]), ys = { class: "drawer-close" }, yr = /* @__PURE__ */ O({
4558
+ }), hr = /* @__PURE__ */ ae(hs, [["__scopeId", "data-v-de057bd8"]]), ys = { class: "drawer-close" }, yr = /* @__PURE__ */ O({
4546
4559
  __name: "Drawer",
4547
4560
  props: /* @__PURE__ */ U({
4548
4561
  position: { default: "left" },
@@ -4563,7 +4576,7 @@ const ur = {
4563
4576
  }, c = () => {
4564
4577
  r.value = !1, s("close");
4565
4578
  };
4566
- return se(r, () => {
4579
+ return le(r, () => {
4567
4580
  r.value ? a() : n();
4568
4581
  }), t({
4569
4582
  isOpen: r,
@@ -4591,7 +4604,7 @@ const ur = {
4591
4604
  q(m(wt))
4592
4605
  ])
4593
4606
  ]),
4594
- Y(v.$slots, "default")
4607
+ W(v.$slots, "default")
4595
4608
  ], 2)
4596
4609
  ], 6)) : T("", !0)
4597
4610
  ]),
@@ -4615,10 +4628,10 @@ const ur = {
4615
4628
  }),
4616
4629
  emits: ["update:open"],
4617
4630
  setup(e) {
4618
- const t = A(e.title), o = te(e, "open"), a = Wt(), { unlockScroll: n, lockScroll: r } = lt(), l = P(() => ["modal", `modal--${e.position}`]), s = (i) => {
4631
+ const t = A(e.title), o = te(e, "open"), a = jt(), { unlockScroll: n, lockScroll: r } = lt(), l = P(() => ["modal", `modal--${e.position}`]), s = (i) => {
4619
4632
  t.value = i;
4620
4633
  };
4621
- return se(o, () => {
4634
+ return le(o, () => {
4622
4635
  o.value ? r() : n();
4623
4636
  }), (i, u) => (d(), G(je, { to: "body" }, [
4624
4637
  q(De, { name: "modal-content-fade" }, {
@@ -4637,7 +4650,7 @@ const ur = {
4637
4650
  style: Z(i.style)
4638
4651
  }, [
4639
4652
  R("div", bs, [
4640
- Y(i.$slots, "header"),
4653
+ W(i.$slots, "header"),
4641
4654
  t.value && !a.header ? (d(), p("h2", ws, F(t.value), 1)) : T("", !0),
4642
4655
  R("button", {
4643
4656
  text: "",
@@ -4648,7 +4661,7 @@ const ur = {
4648
4661
  ])
4649
4662
  ]),
4650
4663
  R("div", ks, [
4651
- Y(i.$slots, "default", { setTitle: s })
4664
+ W(i.$slots, "default", { setTitle: s })
4652
4665
  ])
4653
4666
  ], 4)
4654
4667
  ], 6)) : T("", !0)
@@ -4668,23 +4681,23 @@ const ur = {
4668
4681
  const t = P(() => e.styleView), o = A(
4669
4682
  Array.isArray(e.value) ? e.value : e.value !== void 0 ? [e.value] : []
4670
4683
  );
4671
- se(() => e.value, (n) => {
4684
+ le(() => e.value, (n) => {
4672
4685
  Array.isArray(n) ? o.value = n : n !== void 0 ? o.value = [n] : o.value = [];
4673
4686
  });
4674
4687
  function a(n) {
4675
4688
  e.multiple ? o.value.includes(n) ? o.value = o.value.filter((r) => r !== n) : o.value.push(n) : o.value = o.value[0] === n ? [] : [n];
4676
4689
  }
4677
4690
  return be("accordionOpenValues", o), be("accordionToggle", a), be("accordionIsMultiple", e.multiple ?? !1), be("accordionStyle", t), (n, r) => (d(), p("div", $s, [
4678
- Y(n.$slots, "default")
4691
+ W(n.$slots, "default")
4679
4692
  ]));
4680
4693
  }
4681
4694
  }), kr = /* @__PURE__ */ O({
4682
4695
  __name: "AccordionContent",
4683
4696
  setup(e) {
4684
4697
  const t = de("panelIsOpen"), o = A(null), a = A("0px"), n = A(t.value);
4685
- return se(t, async (r) => {
4698
+ return le(t, async (r) => {
4686
4699
  r ? (n.value = !0, await pe(), a.value = o.value?.scrollHeight + "px") : (a.value = o.value?.scrollHeight + "px", await pe(), a.value = "0px", setTimeout(() => n.value = !1, 300));
4687
- }), ve(() => {
4700
+ }), me(() => {
4688
4701
  t.value && o.value && (a.value = o.value.scrollHeight + "px");
4689
4702
  }), (r, l) => (d(), p("div", {
4690
4703
  class: "accordion-content-wrapper",
@@ -4695,7 +4708,7 @@ const ur = {
4695
4708
  ref: o,
4696
4709
  class: "accordion-content"
4697
4710
  }, [
4698
- Y(r.$slots, "default")
4711
+ W(r.$slots, "default")
4699
4712
  ], 512), [
4700
4713
  [Kt, n.value]
4701
4714
  ])
@@ -4711,7 +4724,7 @@ const ur = {
4711
4724
  (...l) => m(o) && m(o)(...l))
4712
4725
  }, [
4713
4726
  R("span", Ss, [
4714
- Y(n.$slots, "default")
4727
+ W(n.$slots, "default")
4715
4728
  ]),
4716
4729
  R("span", Cs, [
4717
4730
  q(m(Zt))
@@ -4728,7 +4741,7 @@ const ur = {
4728
4741
  return be("panelValue", t.value), be("panelIsOpen", r), be("panelToggle", () => a?.(t.value)), (l, s) => (d(), p("div", {
4729
4742
  class: L(["accordion-panel", `accordion-panel--${m(n)}`])
4730
4743
  }, [
4731
- Y(l.$slots, "default")
4744
+ W(l.$slots, "default")
4732
4745
  ], 2));
4733
4746
  }
4734
4747
  }), xs = {
@@ -4747,7 +4760,7 @@ const ur = {
4747
4760
  class: L(t.value)
4748
4761
  }, [
4749
4762
  o.$slots.default ? (d(), p("div", xs, [
4750
- Y(o.$slots, "default")
4763
+ W(o.$slots, "default")
4751
4764
  ])) : T("", !0)
4752
4765
  ], 2));
4753
4766
  }
@@ -4780,7 +4793,7 @@ const ur = {
4780
4793
  }, null, 2))
4781
4794
  ], 2));
4782
4795
  }
4783
- }), Is = /* @__PURE__ */ le(Ps, [["__scopeId", "data-v-e115af4f"]]), As = {
4796
+ }), Is = /* @__PURE__ */ ae(Ps, [["__scopeId", "data-v-e115af4f"]]), As = {
4784
4797
  class: "stepper",
4785
4798
  role: "tablist"
4786
4799
  }, Ts = { class: "step-list" }, Bs = /* @__PURE__ */ O({
@@ -4806,7 +4819,7 @@ const ur = {
4806
4819
  }
4807
4820
  }), (u, c) => (d(), p("div", As, [
4808
4821
  R("div", Ts, [
4809
- (d(!0), p(oe, null, me(u.steps, (v, f) => (d(), G(Is, {
4822
+ (d(!0), p(oe, null, ve(u.steps, (v, f) => (d(), G(Is, {
4810
4823
  key: v.value,
4811
4824
  index: f,
4812
4825
  value: v.value,
@@ -4815,7 +4828,7 @@ const ur = {
4815
4828
  ])
4816
4829
  ]));
4817
4830
  }
4818
- }), xr = /* @__PURE__ */ le(Bs, [["__scopeId", "data-v-644da951"]]), Ds = ["aria-selected"], Rr = /* @__PURE__ */ O({
4831
+ }), xr = /* @__PURE__ */ ae(Bs, [["__scopeId", "data-v-644da951"]]), Ds = ["aria-selected"], Rr = /* @__PURE__ */ O({
4819
4832
  __name: "Tab",
4820
4833
  props: {
4821
4834
  value: {}
@@ -4828,7 +4841,7 @@ const ur = {
4828
4841
  role: "tab",
4829
4842
  "aria-selected": n.value
4830
4843
  }, [
4831
- Y(r.$slots, "default")
4844
+ W(r.$slots, "default")
4832
4845
  ], 10, Ds));
4833
4846
  }
4834
4847
  }), Ls = { class: "tabs" }, Mr = /* @__PURE__ */ O({
@@ -4839,14 +4852,14 @@ const ur = {
4839
4852
  emits: ["update:value"],
4840
4853
  setup(e, { emit: t }) {
4841
4854
  const o = e, a = t, n = A(o.value);
4842
- se(() => o.value, (l) => {
4855
+ le(() => o.value, (l) => {
4843
4856
  n.value = l;
4844
4857
  });
4845
4858
  function r(l) {
4846
4859
  n.value = l, a("update:value", l);
4847
4860
  }
4848
4861
  return be("tabsValue", n), be("setTabsValue", r), (l, s) => (d(), p("div", Ls, [
4849
- Y(l.$slots, "default")
4862
+ W(l.$slots, "default")
4850
4863
  ]));
4851
4864
  }
4852
4865
  }), Os = {
@@ -4860,7 +4873,7 @@ const ur = {
4860
4873
  setup(e) {
4861
4874
  const t = e, o = de("tabsValue"), a = P(() => o?.value === t.value);
4862
4875
  return (n, r) => Me((d(), p("div", Os, [
4863
- Y(n.$slots, "default")
4876
+ W(n.$slots, "default")
4864
4877
  ], 512)), [
4865
4878
  [Kt, a.value]
4866
4879
  ]);
@@ -4873,7 +4886,7 @@ const ur = {
4873
4886
  setup(e) {
4874
4887
  return (t, o) => (d(), p("div", Es, [
4875
4888
  R("div", _s, [
4876
- Y(t.$slots, "default")
4889
+ W(t.$slots, "default")
4877
4890
  ])
4878
4891
  ]));
4879
4892
  }
@@ -4881,7 +4894,7 @@ const ur = {
4881
4894
  __name: "TabPanels",
4882
4895
  setup(e) {
4883
4896
  return (t, o) => (d(), p("div", zs, [
4884
- Y(t.$slots, "default")
4897
+ W(t.$slots, "default")
4885
4898
  ]));
4886
4899
  }
4887
4900
  }), Hs = { class: "tooltip__content" }, Gs = /* @__PURE__ */ O({
@@ -4965,7 +4978,7 @@ const ur = {
4965
4978
  })
4966
4979
  ]));
4967
4980
  }
4968
- }), Fs = /* @__PURE__ */ le(Gs, [["__scopeId", "data-v-dd783b9b"]]), qt = (e, t) => {
4981
+ }), Fs = /* @__PURE__ */ ae(Gs, [["__scopeId", "data-v-dd783b9b"]]), qt = (e, t) => {
4969
4982
  yo(e);
4970
4983
  let o, a = {};
4971
4984
  if (typeof t.value == "string" ? o = t.value : t.value && typeof t.value == "object" ? (o = t.value.content || "", a = { ...t.value }, delete a.content) : o = "", !o && !t.arg) return;