prlg-ui 1.7.69 → 1.7.70

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,5 +1,5 @@
1
- import { defineComponent as _, computed as P, resolveComponent as qt, createBlock as N, openBlock as d, resolveDynamicComponent as Te, normalizeClass as H, withCtx as Q, createCommentVNode as E, createElementBlock as g, renderSlot as U, Fragment as te, createTextVNode as we, toDisplayString as G, ref as z, useTemplateRef as _e, onMounted as be, createElementVNode as R, createVNode as j, renderList as Ce, unref as y, mergeModels as Z, useModel as se, withDirectives as Me, vModelCheckbox as ht, shallowRef as Le, watch as oe, getCurrentScope as Ro, onScopeDispose as So, shallowReadonly as We, useCssVars as Po, toRefs as Vo, useId as Xe, onUnmounted as tt, normalizeStyle as ee, Transition as Fe, withModifiers as ut, vModelDynamic as To, vModelRadio as Ao, provide as $e, useSlots as jt, inject as he, nextTick as Re, toValue as qe, isRef as Io, vModelText as Ut, reactive as Kt, TransitionGroup as Mo, Teleport as ot, vShow as Yt, createApp as Oo } from "vue";
2
- import { P as Xt, f as Bo, g as _o, I as wt, A as Lo, c as yt, e as Do, S as Eo, a as Ho, b as Zt, M as zo, E as Fo, B as Go, C as No, W as Wo, d as qo } from "./WarningFillIcon-CW6DKekz.js";
1
+ import { defineComponent as _, computed as P, resolveComponent as qt, createBlock as W, openBlock as d, resolveDynamicComponent as Te, normalizeClass as H, withCtx as Q, createCommentVNode as E, createElementBlock as g, renderSlot as U, Fragment as te, createTextVNode as ye, toDisplayString as G, ref as z, useTemplateRef as _e, onMounted as be, createElementVNode as R, createVNode as j, renderList as Ce, unref as w, mergeModels as Z, useModel as se, withDirectives as Me, vModelCheckbox as ht, shallowRef as Le, watch as oe, getCurrentScope as Ro, onScopeDispose as So, shallowReadonly as We, useCssVars as Po, toRefs as Vo, useId as Xe, onUnmounted as tt, normalizeStyle as ee, Transition as Fe, withModifiers as ut, vModelDynamic as To, vModelRadio as Ao, provide as $e, useSlots as jt, inject as he, nextTick as Re, toValue as qe, isRef as Io, vModelText as Ut, reactive as Kt, TransitionGroup as Mo, Teleport as ot, vShow as Yt, createApp as Oo } from "vue";
2
+ import { P as Xt, f as Bo, g as _o, I as yt, A as Lo, c as wt, e as Do, S as Eo, a as Ho, b as Zt, M as zo, E as Fo, B as Go, C as No, W as Wo, d as qo } from "./WarningFillIcon-CW6DKekz.js";
3
3
  import { o as Jt } from "./parseFileSize.util-BoDbFdVW.js";
4
4
  import { _ as de, a as jo, C as Qt } from "./FileIcon-DkEbi-bi.js";
5
5
  import { u as ct, E as Uo, _ as Ko } from "./eventBus.util-DWrPm63y.js";
@@ -35,20 +35,20 @@ const Yo = {
35
35
  "button--full": e.full
36
36
  }
37
37
  ]);
38
- return (n, l) => (d(), N(Te(t.value), {
38
+ return (n, l) => (d(), W(Te(t.value), {
39
39
  to: n.url,
40
40
  class: H(o.value),
41
41
  disabled: n.disabled
42
42
  }, {
43
43
  default: Q(() => [
44
- n.icon ? (d(), N(Te(n.icon), {
44
+ n.icon ? (d(), W(Te(n.icon), {
45
45
  key: 0,
46
46
  class: "button__icon"
47
47
  })) : E("", !0),
48
48
  n.iconOnly ? E("", !0) : (d(), g("div", Yo, [
49
49
  U(n.$slots, "default"),
50
50
  n.label && !n.$slots.default ? (d(), g(te, { key: 0 }, [
51
- we(G(n.label), 1)
51
+ ye(G(n.label), 1)
52
52
  ], 64)) : E("", !0)
53
53
  ]))
54
54
  ]),
@@ -84,20 +84,20 @@ const Yo = {
84
84
  key: r.label,
85
85
  onClick: (u) => a(r)
86
86
  }, [
87
- r.icon ? (d(), N(Te(r.icon), {
87
+ r.icon ? (d(), W(Te(r.icon), {
88
88
  key: 0,
89
89
  class: "sleed-deal-menu__item-icon"
90
90
  })) : E("", !0),
91
91
  R("span", Jo, G(r.label), 1)
92
92
  ], 8, Zo))), 128))
93
93
  ], 2),
94
- j(y(Ge), {
94
+ j(w(Ge), {
95
95
  ref_key: "targetRef",
96
96
  ref: n,
97
97
  variant: s.variant,
98
98
  contrast: "",
99
99
  "icon-only": "",
100
- icon: s.icon ? s.icon : y(Xt),
100
+ icon: s.icon ? s.icon : w(Xt),
101
101
  rounded: "",
102
102
  size: s.size,
103
103
  onClick: l
@@ -215,7 +215,7 @@ const Yo = {
215
215
  ])
216
216
  ]),
217
217
  i.label || i.$slots.label ? (d(), g("span", sn, [
218
- we(G(i.label) + " ", 1),
218
+ ye(G(i.label) + " ", 1),
219
219
  U(i.$slots, "label")
220
220
  ])) : E("", !0),
221
221
  i.error && i.errorText ? (d(), g("span", an, G(i.errorText), 1)) : E("", !0)
@@ -238,10 +238,10 @@ const Yo = {
238
238
  class: "sort-button",
239
239
  onClick: l
240
240
  }, [
241
- j(y(Bo), {
241
+ j(w(Bo), {
242
242
  class: H(["sort-button__icon", [{ "sort-button__icon--active": o.value.order === -1 && o.value.field === a.field }]])
243
243
  }, null, 8, ["class"]),
244
- j(y(_o), {
244
+ j(w(_o), {
245
245
  class: H(["sort-button__icon", { "sort-button__icon--active": o.value.order === 1 && o.value.field === a.field }])
246
246
  }, null, 8, ["class"])
247
247
  ]));
@@ -297,7 +297,7 @@ function vt(e) {
297
297
  return e.replace(/start|end/g, (t) => fn[t]);
298
298
  }
299
299
  const Vt = ["left", "right"], Tt = ["right", "left"], gn = ["top", "bottom"], hn = ["bottom", "top"];
300
- function wn(e, t, o) {
300
+ function yn(e, t, o) {
301
301
  switch (e) {
302
302
  case "top":
303
303
  case "bottom":
@@ -309,9 +309,9 @@ function wn(e, t, o) {
309
309
  return [];
310
310
  }
311
311
  }
312
- function yn(e, t, o, n) {
312
+ function wn(e, t, o, n) {
313
313
  const l = Oe(e);
314
- let a = wn(Pe(e), o === "start", n);
314
+ let a = yn(Pe(e), o === "start", n);
315
315
  return l && (a = a.map((s) => s + "-" + l), t && (a = a.concat(a.map(vt)))), a;
316
316
  }
317
317
  function it(e) {
@@ -415,11 +415,11 @@ const xn = async (e, t, o) => {
415
415
  x: c,
416
416
  y: f
417
417
  } = At(u, n, r), p = n, m = {}, h = 0;
418
- for (let w = 0; w < i.length; w++) {
418
+ for (let y = 0; y < i.length; y++) {
419
419
  const {
420
420
  name: v,
421
421
  fn: x
422
- } = i[w], {
422
+ } = i[y], {
423
423
  x: k,
424
424
  y: V,
425
425
  data: S,
@@ -451,7 +451,7 @@ const xn = async (e, t, o) => {
451
451
  }) : I.rects), {
452
452
  x: c,
453
453
  y: f
454
- } = At(u, p, r)), w = -1);
454
+ } = At(u, p, r)), y = -1);
455
455
  }
456
456
  return {
457
457
  x: c,
@@ -527,10 +527,10 @@ const $n = (e) => ({
527
527
  const f = dt(c), p = {
528
528
  x: o,
529
529
  y: n
530
- }, m = lt(l), h = nt(m), w = await s.getDimensions(u), v = m === "y", x = v ? "top" : "left", k = v ? "bottom" : "right", V = v ? "clientHeight" : "clientWidth", S = a.reference[h] + a.reference[m] - p[m] - a.floating[h], I = p[m] - a.reference[m], $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
530
+ }, m = lt(l), h = nt(m), y = await s.getDimensions(u), v = m === "y", x = v ? "top" : "left", k = v ? "bottom" : "right", V = v ? "clientHeight" : "clientWidth", S = a.reference[h] + a.reference[m] - p[m] - a.floating[h], I = p[m] - a.reference[m], $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
531
531
  let C = $ ? $[V] : 0;
532
532
  (!C || !await (s.isElement == null ? void 0 : s.isElement($))) && (C = i.floating[V] || a.floating[h]);
533
- const L = S / 2 - I / 2, M = C / 2 - w[h] / 2 - 1, O = Se(f[x], M), b = Se(f[k], M), T = O, B = C - w[h] - b, A = C / 2 - w[h] / 2 + L, F = Ye(T, A, B), D = !r.arrow && Oe(l) != null && A !== F && a.reference[h] / 2 - (A < T ? O : b) - w[h] / 2 < 0, Y = D ? A < T ? A - T : A - B : 0;
533
+ const L = S / 2 - I / 2, M = C / 2 - y[h] / 2 - 1, O = Se(f[x], M), b = Se(f[k], M), T = O, B = C - y[h] - b, A = C / 2 - y[h] / 2 + L, F = Ye(T, A, B), D = !r.arrow && Oe(l) != null && A !== F && a.reference[h] / 2 - (A < T ? O : b) - y[h] / 2 < 0, Y = D ? A < T ? A - T : A - B : 0;
534
534
  return {
535
535
  [m]: p[m] + Y,
536
536
  data: {
@@ -684,16 +684,16 @@ const Sn = function(e) {
684
684
  const v = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", k = h + c[v], V = h - c[x];
685
685
  h = Ye(k, h, V);
686
686
  }
687
- const w = i.fn({
687
+ const y = i.fn({
688
688
  ...t,
689
689
  [p]: m,
690
690
  [f]: h
691
691
  });
692
692
  return {
693
- ...w,
693
+ ...y,
694
694
  data: {
695
- x: w.x - o,
696
- y: w.y - n,
695
+ x: y.x - o,
696
+ y: y.y - n,
697
697
  enabled: {
698
698
  [p]: a,
699
699
  [f]: s
@@ -719,15 +719,15 @@ const Sn = function(e) {
719
719
  ...u
720
720
  } = Ve(e, t), c = await rt(t, u), f = Pe(l), p = Oe(l), m = ke(l) === "y", {
721
721
  width: h,
722
- height: w
722
+ height: y
723
723
  } = a.floating;
724
724
  let v, x;
725
725
  f === "top" || f === "bottom" ? (v = f, x = p === (await (s.isRTL == null ? void 0 : s.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (x = f, v = p === "end" ? "top" : "bottom");
726
- const k = w - c.top - c.bottom, V = h - c.left - c.right, S = Se(w - c[v], k), I = Se(h - c[x], V), $ = !t.middlewareData.shift;
726
+ const k = y - c.top - c.bottom, V = h - c.left - c.right, S = Se(y - c[v], k), I = Se(h - c[x], V), $ = !t.middlewareData.shift;
727
727
  let C = S, L = I;
728
728
  if ((o = t.middlewareData.shift) != null && o.enabled.x && (L = V), (n = t.middlewareData.shift) != null && n.enabled.y && (C = k), $ && !p) {
729
729
  const O = me(c.left, 0), b = me(c.right, 0), T = me(c.top, 0), B = me(c.bottom, 0);
730
- m ? L = h - 2 * (O !== 0 || b !== 0 ? O + b : me(c.left, c.right)) : C = w - 2 * (T !== 0 || B !== 0 ? T + B : me(c.top, c.bottom));
730
+ m ? L = h - 2 * (O !== 0 || b !== 0 ? O + b : me(c.left, c.right)) : C = y - 2 * (T !== 0 || B !== 0 ? T + B : me(c.top, c.bottom));
731
731
  }
732
732
  await r({
733
733
  ...t,
@@ -735,7 +735,7 @@ const Sn = function(e) {
735
735
  availableHeight: C
736
736
  });
737
737
  const M = await s.getDimensions(i.floating);
738
- return h !== M.width || w !== M.height ? {
738
+ return h !== M.width || y !== M.height ? {
739
739
  reset: {
740
740
  rects: !0
741
741
  }
@@ -799,13 +799,13 @@ function st(e) {
799
799
  return Mn.some((n) => o[n] ? o[n] !== "none" : !1) || (o.containerType ? o.containerType !== "normal" : !1) || !t && (o.backdropFilter ? o.backdropFilter !== "none" : !1) || !t && (o.filter ? o.filter !== "none" : !1) || On.some((n) => (o.willChange || "").includes(n)) || Bn.some((n) => (o.contain || "").includes(n));
800
800
  }
801
801
  function to(e) {
802
- let t = ye(e);
802
+ let t = we(e);
803
803
  for (; ce(t) && !Ae(t); ) {
804
804
  if (st(t))
805
805
  return t;
806
806
  if (Ne(t))
807
807
  return null;
808
- t = ye(t);
808
+ t = we(t);
809
809
  }
810
810
  return null;
811
811
  }
@@ -828,7 +828,7 @@ function ze(e) {
828
828
  scrollTop: e.scrollY
829
829
  };
830
830
  }
831
- function ye(e) {
831
+ function we(e) {
832
832
  if (Ie(e) === "html")
833
833
  return e;
834
834
  const t = (
@@ -841,7 +841,7 @@ function ye(e) {
841
841
  return Ot(t) ? t.host : t;
842
842
  }
843
843
  function oo(e) {
844
- const t = ye(e);
844
+ const t = we(e);
845
845
  return Ae(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ce(t) && He(t) ? t : oo(t);
846
846
  }
847
847
  function kt(e, t, o) {
@@ -901,10 +901,10 @@ function Qe(e, t, o, n) {
901
901
  let r = (l.left + i.x) / s.x, u = (l.top + i.y) / s.y, c = l.width / s.x, f = l.height / s.y;
902
902
  if (a) {
903
903
  const p = le(a), m = n && ae(n) ? le(n) : n;
904
- let h = p, w = Je(h);
905
- for (; w && n && m !== h; ) {
906
- const v = Ue(w), x = w.getBoundingClientRect(), k = ie(w), V = x.left + (w.clientLeft + parseFloat(k.paddingLeft)) * v.x, S = x.top + (w.clientTop + parseFloat(k.paddingTop)) * v.y;
907
- r *= v.x, u *= v.y, c *= v.x, f *= v.y, r += V, u += S, h = le(w), w = Je(h);
904
+ let h = p, y = Je(h);
905
+ for (; y && n && m !== h; ) {
906
+ const v = Ue(y), x = y.getBoundingClientRect(), k = ie(y), V = x.left + (y.clientLeft + parseFloat(k.paddingLeft)) * v.x, S = x.top + (y.clientTop + parseFloat(k.paddingTop)) * v.y;
907
+ r *= v.x, u *= v.y, c *= v.x, f *= v.y, r += V, u += S, h = le(y), y = Je(h);
908
908
  }
909
909
  }
910
910
  return Ee({
@@ -1015,7 +1015,7 @@ function Bt(e, t, o) {
1015
1015
  return Ee(n);
1016
1016
  }
1017
1017
  function io(e, t) {
1018
- const o = ye(e);
1018
+ const o = we(e);
1019
1019
  return o === t || !ae(o) || Ae(o) ? !1 : ie(o).position === "fixed" || io(o, t);
1020
1020
  }
1021
1021
  function Wn(e, t) {
@@ -1024,10 +1024,10 @@ function Wn(e, t) {
1024
1024
  return o;
1025
1025
  let n = kt(e, []).filter((i) => ae(i) && Ie(i) !== "body"), l = null;
1026
1026
  const a = ie(e).position === "fixed";
1027
- let s = a ? ye(e) : e;
1027
+ let s = a ? we(e) : e;
1028
1028
  for (; ae(s) && !Ae(s); ) {
1029
1029
  const i = ie(s), r = st(s);
1030
- !r && i.position === "fixed" && (l = null), (a ? !r && !l : !r && i.position === "static" && !!l && Gn.has(l.position) || He(s) && !r && io(e, s)) ? n = n.filter((c) => c !== s) : l = i, s = ye(s);
1030
+ !r && i.position === "fixed" && (l = null), (a ? !r && !l : !r && i.position === "static" && !!l && Gn.has(l.position) || He(s) && !r && io(e, s)) ? n = n.filter((c) => c !== s) : l = i, s = we(s);
1031
1031
  }
1032
1032
  return t.set(e, n), n;
1033
1033
  }
@@ -1099,11 +1099,11 @@ function ro(e, t) {
1099
1099
  if (Ne(e))
1100
1100
  return o;
1101
1101
  if (!ce(e)) {
1102
- let l = ye(e);
1102
+ let l = we(e);
1103
1103
  for (; l && !Ae(l); ) {
1104
1104
  if (ae(l) && !pt(l))
1105
1105
  return l;
1106
- l = ye(l);
1106
+ l = we(l);
1107
1107
  }
1108
1108
  return o;
1109
1109
  }
@@ -1162,7 +1162,7 @@ function gt(e) {
1162
1162
  return e;
1163
1163
  }
1164
1164
  function je(e) {
1165
- return typeof e == "function" ? e() : y(e);
1165
+ return typeof e == "function" ? e() : w(e);
1166
1166
  }
1167
1167
  function tl(e) {
1168
1168
  return {
@@ -1198,7 +1198,7 @@ function zt(e, t, o) {
1198
1198
  }), r = P(() => {
1199
1199
  var C;
1200
1200
  return (C = je(o.transform)) != null ? C : !0;
1201
- }), u = P(() => gt(e.value)), c = P(() => gt(t.value)), f = z(0), p = z(0), m = z(i.value), h = z(s.value), w = Le({}), v = z(!1), x = P(() => {
1201
+ }), u = P(() => gt(e.value)), c = P(() => gt(t.value)), f = z(0), p = z(0), m = z(i.value), h = z(s.value), y = Le({}), v = z(!1), x = P(() => {
1202
1202
  const C = {
1203
1203
  position: m.value,
1204
1204
  left: "0",
@@ -1229,7 +1229,7 @@ function zt(e, t, o) {
1229
1229
  placement: s.value,
1230
1230
  strategy: i.value
1231
1231
  }).then((L) => {
1232
- f.value = L.x, p.value = L.y, m.value = L.strategy, h.value = L.placement, w.value = L.middlewareData, v.value = C !== !1;
1232
+ f.value = L.x, p.value = L.y, m.value = L.strategy, h.value = L.placement, y.value = L.middlewareData, v.value = C !== !1;
1233
1233
  });
1234
1234
  }
1235
1235
  function S() {
@@ -1259,7 +1259,7 @@ function zt(e, t, o) {
1259
1259
  y: We(p),
1260
1260
  strategy: We(m),
1261
1261
  placement: We(h),
1262
- middlewareData: We(w),
1262
+ middlewareData: We(y),
1263
1263
  isPositioned: We(v),
1264
1264
  floatingStyles: x,
1265
1265
  update: V
@@ -1297,22 +1297,22 @@ const ol = { class: "popover__content" }, nl = {
1297
1297
  },
1298
1298
  emits: ["update:modelValue"],
1299
1299
  setup(e, { expose: t, emit: o }) {
1300
- Po((W) => ({
1301
- "03cefdb0": w.value
1300
+ Po((N) => ({
1301
+ "1ec2725e": y.value
1302
1302
  }));
1303
- const n = e, { placement: l, offset: a, arrowVisible: s, closeMode: i, modelValue: r, zIndex: u } = Vo(n), c = o, f = _e("reference"), p = _e("floating"), m = _e("arrow-block"), h = _e("second-screen"), w = P(() => "23px"), v = P(() => a ? typeof a.value == "number" ? a.value + Number(w.value.split("px")[0]) : {
1304
- mainAxis: a.value?.mainAxis ? a.value?.mainAxis + Number(w.value.split("px")[0]) / 2 : Number(w.value.split("px")[0]) / 2,
1305
- crossAxis: a.value?.crossAxis ? l.value?.includes("start") ? a.value?.crossAxis - Number(w.value.split("px")[0]) : l.value?.includes("end") ? a.value?.crossAxis + Number(w.value.split("px")[0]) : a.value?.crossAxis : l.value?.includes("start") ? -Number(w.value.split("px")[0]) : l.value?.includes("end") ? Number(w.value.split("px")[0]) : void 0,
1303
+ const n = e, { placement: l, offset: a, arrowVisible: s, closeMode: i, modelValue: r, zIndex: u } = Vo(n), c = o, f = _e("reference"), p = _e("floating"), m = _e("arrow-block"), h = _e("second-screen"), y = P(() => "23px"), v = P(() => a ? typeof a.value == "number" ? a.value + Number(y.value.split("px")[0]) : {
1304
+ mainAxis: a.value?.mainAxis ? a.value?.mainAxis + Number(y.value.split("px")[0]) / 2 : Number(y.value.split("px")[0]) / 2,
1305
+ crossAxis: a.value?.crossAxis ? l.value?.includes("start") ? a.value?.crossAxis - Number(y.value.split("px")[0]) : l.value?.includes("end") ? a.value?.crossAxis + Number(y.value.split("px")[0]) : a.value?.crossAxis : l.value?.includes("start") ? -Number(y.value.split("px")[0]) : l.value?.includes("end") ? Number(y.value.split("px")[0]) : void 0,
1306
1306
  alignmentAxis: a.value?.alignmentAxis
1307
1307
  } : {
1308
- mainAxis: Number(w.value.split("px")[0]) / 2,
1309
- crossAxis: l.value?.includes("start") ? -Number(w.value.split("px")[0]) : l.value?.includes("end") ? Number(w.value.split("px")[0]) : void 0
1308
+ mainAxis: Number(y.value.split("px")[0]) / 2,
1309
+ crossAxis: l.value?.includes("start") ? -Number(y.value.split("px")[0]) : l.value?.includes("end") ? Number(y.value.split("px")[0]) : void 0
1310
1310
  }), x = z([
1311
1311
  Et(),
1312
1312
  Zn({
1313
- apply({ availableWidth: W, elements: K }) {
1313
+ apply({ availableWidth: N, elements: K }) {
1314
1314
  Object.assign(K.floating.style, {
1315
- maxWidth: `${Math.max(200, W)}px`
1315
+ maxWidth: `${Math.max(200, N)}px`
1316
1316
  });
1317
1317
  }
1318
1318
  }),
@@ -1334,8 +1334,8 @@ const ol = { class: "popover__content" }, nl = {
1334
1334
  ]
1335
1335
  }), M = Xe(), O = z(!1), b = z(!1), { lockScroll: T, unlockScroll: B } = ct(), A = P(() => r && r.value !== void 0), F = P({
1336
1336
  get: () => A.value ? r?.value : O.value,
1337
- set: (W) => {
1338
- A.value ? c("update:modelValue", W) : O.value = W;
1337
+ set: (N) => {
1338
+ A.value ? c("update:modelValue", N) : O.value = N;
1339
1339
  }
1340
1340
  }), D = () => {
1341
1341
  F.value = !0;
@@ -1345,13 +1345,13 @@ const ol = { class: "popover__content" }, nl = {
1345
1345
  F.value = !F.value;
1346
1346
  }, re = () => {
1347
1347
  ge();
1348
- }, fe = async (W) => {
1349
- W && W.stopPropagation(), p.value && (b.value = !0);
1348
+ }, fe = async (N) => {
1349
+ N && N.stopPropagation(), p.value && (b.value = !0);
1350
1350
  }, q = () => {
1351
1351
  b.value = !1;
1352
- }, ue = (W) => {
1352
+ }, ue = (N) => {
1353
1353
  if (i.value === "button-only" || A.value) return;
1354
- const K = W.composedPath();
1354
+ const K = N.composedPath();
1355
1355
  if (!(h.value && K.includes(h.value))) {
1356
1356
  if (p.value && K.includes(p.value) || f.value && K.includes(f.value)) {
1357
1357
  setTimeout(() => {
@@ -1363,26 +1363,26 @@ const ol = { class: "popover__content" }, nl = {
1363
1363
  }
1364
1364
  }, pe = P(() => {
1365
1365
  if (!V.value.arrow) return {};
1366
- const { x: W, y: K } = V.value.arrow;
1366
+ const { x: N, y: K } = V.value.arrow;
1367
1367
  switch (I.value) {
1368
1368
  case "top":
1369
1369
  return {
1370
- left: W ? `${W}px` : "-9px",
1370
+ left: N ? `${N}px` : "-9px",
1371
1371
  bottom: K ? `${K}px` : "-9px"
1372
1372
  };
1373
1373
  case "bottom":
1374
1374
  default:
1375
1375
  return {
1376
- left: W ? `${W}px` : "-9px",
1376
+ left: N ? `${N}px` : "-9px",
1377
1377
  top: K ? `${K}px` : "-9px"
1378
1378
  };
1379
1379
  }
1380
1380
  });
1381
- return oe(V, (W) => {
1382
- A.value || (F.value = W.hide?.referenceHidden === !1);
1383
- }), oe(F, (W) => {
1384
- W || q(), i.value === "button-only" && (W ? T() : B());
1385
- }), oe(n, () => {
1381
+ return oe(V, (N) => {
1382
+ A.value || (F.value = N.hide?.referenceHidden === !1);
1383
+ }), oe(F, (N) => {
1384
+ N || q(), N && i.value === "button-only" ? T() : !N && i.value === "button-only" && B();
1385
+ }, { immediate: !0 }), oe(n, () => {
1386
1386
  S();
1387
1387
  }, { deep: !0 }), be(() => {
1388
1388
  p.value && p.value.addEventListener("resize", () => {
@@ -1401,45 +1401,45 @@ const ol = { class: "popover__content" }, nl = {
1401
1401
  closeSecondScreen: q,
1402
1402
  isOpen: F,
1403
1403
  isSecondScreenOpen: b
1404
- }), (W, K) => (d(), g("div", {
1405
- class: H(["popover", { "popover--with-arrow": y(s) }])
1404
+ }), (N, K) => (d(), g("div", {
1405
+ class: H(["popover", { "popover--with-arrow": w(s) }])
1406
1406
  }, [
1407
1407
  R("div", {
1408
- class: H(["popover__trigger", `popover__trigger--${y(M)}`]),
1408
+ class: H(["popover__trigger", `popover__trigger--${w(M)}`]),
1409
1409
  ref: "reference",
1410
1410
  onClick: re,
1411
- style: ee({ zIndex: y(u) + 1 })
1411
+ style: ee({ zIndex: w(u) + 1 })
1412
1412
  }, [
1413
- U(W.$slots, "trigger", {}, void 0, !0)
1413
+ U(N.$slots, "trigger", {}, void 0, !0)
1414
1414
  ], 6),
1415
- F.value && y(i) === "button-only" ? (d(), g("div", {
1415
+ F.value && w(i) === "button-only" ? (d(), g("div", {
1416
1416
  key: 0,
1417
1417
  class: "popover__overlay",
1418
- style: ee({ zIndex: y(u) })
1418
+ style: ee({ zIndex: w(u) })
1419
1419
  }, null, 4)) : E("", !0),
1420
1420
  j(Fe, { name: "fade" }, {
1421
1421
  default: Q(() => [
1422
1422
  F.value ? (d(), g("div", {
1423
1423
  key: 0,
1424
- class: H(["popover__wrapper", `popover__wrapper--${y(M)}`]),
1425
- style: ee({ ...y(k), zIndex: y(u) + 1 }),
1424
+ class: H(["popover__wrapper", `popover__wrapper--${w(M)}`]),
1425
+ style: ee({ ...w(k), zIndex: w(u) + 1 }),
1426
1426
  ref: "floating"
1427
1427
  }, [
1428
1428
  R("div", ol, [
1429
- y(s) ? (d(), g("div", nl, [
1430
- U(W.$slots, "default", {
1429
+ w(s) ? (d(), g("div", nl, [
1430
+ U(N.$slots, "default", {
1431
1431
  openSecondScreen: fe,
1432
1432
  closeSecondScreen: q,
1433
1433
  close: Y
1434
1434
  }, void 0, !0)
1435
- ])) : U(W.$slots, "default", {
1435
+ ])) : U(N.$slots, "default", {
1436
1436
  key: 1,
1437
1437
  openSecondScreen: fe,
1438
1438
  closeSecondScreen: q,
1439
1439
  close: Y
1440
1440
  }, void 0, !0)
1441
1441
  ]),
1442
- y(s) ? (d(), g("div", {
1442
+ w(s) ? (d(), g("div", {
1443
1443
  key: 0,
1444
1444
  class: "popover__arrow",
1445
1445
  ref: "arrow-block",
@@ -1455,22 +1455,22 @@ const ol = { class: "popover__content" }, nl = {
1455
1455
  key: 0,
1456
1456
  class: "popover__second-screen",
1457
1457
  ref: "second-screen",
1458
- style: ee(y(C))
1458
+ style: ee(w(C))
1459
1459
  }, [
1460
- U(W.$slots, "second-screen", { closeSecondScreen: q }, void 0, !0)
1460
+ U(N.$slots, "second-screen", { closeSecondScreen: q }, void 0, !0)
1461
1461
  ], 4)) : E("", !0)
1462
1462
  ]),
1463
1463
  _: 3
1464
1464
  })
1465
1465
  ], 2));
1466
1466
  }
1467
- }), sl = /* @__PURE__ */ de(ll, [["__scopeId", "data-v-7fe79a25"]]), al = { class: "trigger" }, il = { class: "description-column" }, rl = /* @__PURE__ */ _({
1467
+ }), sl = /* @__PURE__ */ de(ll, [["__scopeId", "data-v-040f9e1a"]]), al = { class: "trigger" }, il = { class: "description-column" }, rl = /* @__PURE__ */ _({
1468
1468
  __name: "DescriptionColumn",
1469
1469
  props: {
1470
1470
  description: {}
1471
1471
  },
1472
1472
  setup(e) {
1473
- return (t, o) => (d(), N(y(sl), {
1473
+ return (t, o) => (d(), W(w(sl), {
1474
1474
  size: "small",
1475
1475
  trigger: "hover",
1476
1476
  placement: "top-start",
@@ -1478,7 +1478,7 @@ const ol = { class: "popover__content" }, nl = {
1478
1478
  }, {
1479
1479
  trigger: Q(() => [
1480
1480
  R("div", al, [
1481
- j(y(wt))
1481
+ j(w(yt))
1482
1482
  ])
1483
1483
  ]),
1484
1484
  default: Q(() => [
@@ -1524,20 +1524,20 @@ const ol = { class: "popover__content" }, nl = {
1524
1524
  style: ee(a(r))
1525
1525
  }, [
1526
1526
  R("div", dl, [
1527
- r.selectionMode && r.selectionMode === "multiple" ? (d(), N(y(bt), {
1527
+ r.selectionMode && r.selectionMode === "multiple" ? (d(), W(w(bt), {
1528
1528
  key: 0,
1529
1529
  size: "small",
1530
1530
  checked: s.isSelectedAll,
1531
1531
  onChange: i[0] || (i[0] = (c) => o("selectAllRow"))
1532
1532
  }, null, 8, ["checked"])) : E("", !0),
1533
1533
  r.header ? (d(), g("span", fl, G(r.header), 1)) : E("", !0),
1534
- r.description ? (d(), N(ul, {
1534
+ r.description ? (d(), W(ul, {
1535
1535
  key: 2,
1536
1536
  description: r.description,
1537
1537
  class: "table-header__cell-description"
1538
1538
  }, null, 8, ["description"])) : E("", !0),
1539
1539
  r.field && s.sortField && s.sortField.includes(r.field) ? (d(), g("div", pl, [
1540
- r.field ? (d(), N(un, {
1540
+ r.field ? (d(), W(un, {
1541
1541
  key: 0,
1542
1542
  field: r.field,
1543
1543
  onUpdateSort: i[1] || (i[1] = (c) => o("update:sort", c))
@@ -1548,7 +1548,7 @@ const ol = { class: "popover__content" }, nl = {
1548
1548
  ])
1549
1549
  ], 2));
1550
1550
  }
1551
- }), vl = /* @__PURE__ */ de(ml, [["__scopeId", "data-v-669a8f16"]]), gl = ["rowspan"], hl = { key: 1 }, wl = /* @__PURE__ */ _({
1551
+ }), vl = /* @__PURE__ */ de(ml, [["__scopeId", "data-v-669a8f16"]]), gl = ["rowspan"], hl = { key: 1 }, yl = /* @__PURE__ */ _({
1552
1552
  __name: "TableCell",
1553
1553
  props: {
1554
1554
  column: {},
@@ -1583,21 +1583,21 @@ const ol = { class: "popover__content" }, nl = {
1583
1583
  class: "table-cell__expander",
1584
1584
  onClick: r[0] || (r[0] = (u) => o("toggleGroup", i.item._groupValue))
1585
1585
  }, [
1586
- j(y(Lo), {
1586
+ j(w(Lo), {
1587
1587
  class: H({ rotated: !l.value })
1588
1588
  }, null, 8, ["class"])
1589
1589
  ])) : E("", !0),
1590
- i.column.selectionMode && i.column.selectionMode === "multiple" ? (d(), N(y(bt), {
1590
+ i.column.selectionMode && i.column.selectionMode === "multiple" ? (d(), W(w(bt), {
1591
1591
  key: 1,
1592
1592
  size: "small",
1593
1593
  checked: n.value,
1594
1594
  onChange: r[1] || (r[1] = (u) => o("toggleRow"))
1595
- }, null, 8, ["checked"])) : i.column.selectionMode && i.column.selectionMode === "single" ? (d(), N(y(co), {
1595
+ }, null, 8, ["checked"])) : i.column.selectionMode && i.column.selectionMode === "single" ? (d(), W(w(co), {
1596
1596
  key: 2,
1597
1597
  size: "small",
1598
1598
  onChange: r[2] || (r[2] = (u) => o("toggleRow"))
1599
1599
  })) : (d(), g(te, { key: 3 }, [
1600
- i.column.bodySlot ? (d(), N(Te(i.column.bodySlot), {
1600
+ i.column.bodySlot ? (d(), W(Te(i.column.bodySlot), {
1601
1601
  key: 0,
1602
1602
  data: i.item,
1603
1603
  field: i.column.field,
@@ -1607,7 +1607,7 @@ const ol = { class: "popover__content" }, nl = {
1607
1607
  ], 64))
1608
1608
  ], 10, gl)) : E("", !0);
1609
1609
  }
1610
- }), yl = /* @__PURE__ */ de(wl, [["__scopeId", "data-v-56352b99"]]), bl = /* @__PURE__ */ _({
1610
+ }), wl = /* @__PURE__ */ de(yl, [["__scopeId", "data-v-56352b99"]]), bl = /* @__PURE__ */ _({
1611
1611
  __name: "TableRow",
1612
1612
  props: {
1613
1613
  rowIndex: {},
@@ -1627,7 +1627,7 @@ const ol = { class: "popover__content" }, nl = {
1627
1627
  class: H(["table-row", { "table-row--hovered-color": l.colorHovered }]),
1628
1628
  onClick: a[2] || (a[2] = (s) => o("rowClickHandler", { data: l.item, index: l.rowIndex }))
1629
1629
  }, [
1630
- (d(!0), g(te, null, Ce(l.columns, (s) => (d(), N(yl, {
1630
+ (d(!0), g(te, null, Ce(l.columns, (s) => (d(), W(wl, {
1631
1631
  key: s.field || s.header,
1632
1632
  column: s,
1633
1633
  item: l.item,
@@ -1663,7 +1663,7 @@ const ol = { class: "popover__content" }, nl = {
1663
1663
  class: H(["table-body", { "table-body--scroller": l.scroller && l.scroller.enable }]),
1664
1664
  style: ee({ maxHeight: `${l.scroller && l.scroller.height}px` })
1665
1665
  }, [
1666
- (d(!0), g(te, null, Ce(l.data, (s, i) => (d(), N(xl, {
1666
+ (d(!0), g(te, null, Ce(l.data, (s, i) => (d(), W(xl, {
1667
1667
  key: n(s, i),
1668
1668
  rowIndex: i,
1669
1669
  item: s,
@@ -1711,7 +1711,7 @@ const ol = { class: "popover__content" }, nl = {
1711
1711
  }, [
1712
1712
  R("div", Cl, [
1713
1713
  l.icon ? (d(), g("div", Rl, [
1714
- (d(), N(Te(l.icon)))
1714
+ (d(), W(Te(l.icon)))
1715
1715
  ])) : E("", !0),
1716
1716
  R("div", Sl, [
1717
1717
  U(l.$slots, "default")
@@ -1722,7 +1722,7 @@ const ol = { class: "popover__content" }, nl = {
1722
1722
  class: "tag__remove",
1723
1723
  onClick: a[0] || (a[0] = ut((s) => o("remove"), ["stop"]))
1724
1724
  }, [
1725
- j(y(yt))
1725
+ j(w(wt))
1726
1726
  ])) : E("", !0)
1727
1727
  ], 2));
1728
1728
  }
@@ -1765,16 +1765,16 @@ const ol = { class: "popover__content" }, nl = {
1765
1765
  }, [
1766
1766
  r.label ? (d(), g("label", {
1767
1767
  key: 0,
1768
- for: r.inputId ?? y(l),
1768
+ for: r.inputId ?? w(l),
1769
1769
  class: "input__label"
1770
1770
  }, [
1771
1771
  r.required ? (d(), g("sup", Tl, "*")) : E("", !0),
1772
- we(" " + G(r.label), 1)
1772
+ ye(" " + G(r.label), 1)
1773
1773
  ], 8, Vl)) : E("", !0),
1774
1774
  R("div", Al, [
1775
1775
  Me(R("input", {
1776
1776
  "onUpdate:modelValue": u[0] || (u[0] = (c) => n.value = c),
1777
- id: r.inputId ?? y(l),
1777
+ id: r.inputId ?? w(l),
1778
1778
  placeholder: r.placeholder,
1779
1779
  name: r.name,
1780
1780
  class: "input__field",
@@ -1795,14 +1795,14 @@ const ol = { class: "popover__content" }, nl = {
1795
1795
  class: "input__clear",
1796
1796
  onClick: u[6] || (u[6] = (c) => n.value = "")
1797
1797
  }, [
1798
- j(y(yt))
1798
+ j(w(wt))
1799
1799
  ])) : E("", !0),
1800
1800
  r.type === "password" ? (d(), g("button", {
1801
1801
  key: 1,
1802
1802
  class: "input__eye",
1803
1803
  onClick: u[7] || (u[7] = ut((c) => a.value = !a.value, ["prevent"]))
1804
1804
  }, [
1805
- a.value ? (d(), N(y(jo), { key: 0 })) : (d(), N(y(Do), { key: 1 }))
1805
+ a.value ? (d(), W(w(jo), { key: 0 })) : (d(), W(w(Do), { key: 1 }))
1806
1806
  ])) : E("", !0)
1807
1807
  ])
1808
1808
  ]),
@@ -1827,7 +1827,7 @@ const ol = { class: "popover__content" }, nl = {
1827
1827
  return (o, n) => (d(), g("div", {
1828
1828
  class: H(t.value)
1829
1829
  }, [
1830
- (d(), N(Te(o.icon), { class: "icon-field__icon" })),
1830
+ (d(), W(Te(o.icon), { class: "icon-field__icon" })),
1831
1831
  R("div", Bl, [
1832
1832
  U(o.$slots, "default")
1833
1833
  ])
@@ -1878,7 +1878,7 @@ const ol = { class: "popover__content" }, nl = {
1878
1878
  "onUpdate:modelValue": i[0] || (i[0] = (r) => o.value = r),
1879
1879
  type: "radio",
1880
1880
  name: s.name,
1881
- id: y(n),
1881
+ id: w(n),
1882
1882
  class: "radio__input",
1883
1883
  value: s.value,
1884
1884
  disabled: s.disabled,
@@ -1890,11 +1890,11 @@ const ol = { class: "popover__content" }, nl = {
1890
1890
  R("div", { class: "radio__thumb" })
1891
1891
  ], -1)),
1892
1892
  R("label", {
1893
- for: y(n),
1893
+ for: w(n),
1894
1894
  class: "radio__label"
1895
1895
  }, [
1896
1896
  s.label ? (d(), g(te, { key: 0 }, [
1897
- we(G(s.label), 1)
1897
+ ye(G(s.label), 1)
1898
1898
  ], 64)) : U(s.$slots, "default", { key: 1 })
1899
1899
  ], 8, El)
1900
1900
  ], 2));
@@ -1916,7 +1916,7 @@ const ol = { class: "popover__content" }, nl = {
1916
1916
  setup(e, { emit: t }) {
1917
1917
  const o = se(e, "modelValue"), n = t;
1918
1918
  return (l, a) => (d(), g("div", Hl, [
1919
- l.multiple ? (d(), N(y(bt), {
1919
+ l.multiple ? (d(), W(w(bt), {
1920
1920
  key: 0,
1921
1921
  modelValue: o.value,
1922
1922
  "onUpdate:modelValue": a[0] || (a[0] = (s) => o.value = s),
@@ -1928,11 +1928,11 @@ const ol = { class: "popover__content" }, nl = {
1928
1928
  key: 0,
1929
1929
  option: l.item
1930
1930
  }) : (d(), g(te, { key: 1 }, [
1931
- we(G(l.item[l.optionLabel]), 1)
1931
+ ye(G(l.item[l.optionLabel]), 1)
1932
1932
  ], 64))
1933
1933
  ]),
1934
1934
  _: 3
1935
- }, 8, ["modelValue", "value"])) : (d(), N(y(co), {
1935
+ }, 8, ["modelValue", "value"])) : (d(), W(w(co), {
1936
1936
  key: 1,
1937
1937
  modelValue: o.value,
1938
1938
  "onUpdate:modelValue": a[2] || (a[2] = (s) => o.value = s),
@@ -1944,7 +1944,7 @@ const ol = { class: "popover__content" }, nl = {
1944
1944
  key: 0,
1945
1945
  option: l.item
1946
1946
  }) : (d(), g(te, { key: 1 }, [
1947
- we(G(l.item[l.optionLabel]), 1)
1947
+ ye(G(l.item[l.optionLabel]), 1)
1948
1948
  ], 64))
1949
1949
  ]),
1950
1950
  _: 3
@@ -2021,10 +2021,10 @@ const ol = { class: "popover__content" }, nl = {
2021
2021
  if (!Array.isArray(a.value)) return;
2022
2022
  const x = s.value.findIndex((k) => k === v);
2023
2023
  x > -1 && s.value.splice(x, 1);
2024
- }, h = _e("trigger"), w = _e("popover");
2024
+ }, h = _e("trigger"), y = _e("popover");
2025
2025
  return be(() => {
2026
2026
  Jt(
2027
- w.value,
2027
+ y.value,
2028
2028
  () => {
2029
2029
  u.value = !1;
2030
2030
  },
@@ -2045,14 +2045,14 @@ const ol = { class: "popover__content" }, nl = {
2045
2045
  }, [
2046
2046
  v.multiple ? (d(), g(te, { key: 0 }, [
2047
2047
  a.value.length ? (d(), g("div", Fl, [
2048
- (d(!0), g(te, null, Ce(s.value, (k) => (d(), N(y(Pl), {
2048
+ (d(!0), g(te, null, Ce(s.value, (k) => (d(), W(w(Pl), {
2049
2049
  variant: "secondary",
2050
2050
  key: k,
2051
2051
  removable: "",
2052
2052
  onRemove: (V) => m(k)
2053
2053
  }, {
2054
2054
  default: Q(() => [
2055
- we(G(p(k)), 1)
2055
+ ye(G(p(k)), 1)
2056
2056
  ]),
2057
2057
  _: 2
2058
2058
  }, 1032, ["onRemove"]))), 128))
@@ -2076,12 +2076,12 @@ const ol = { class: "popover__content" }, nl = {
2076
2076
  R("div", Wl, [
2077
2077
  R("div", ql, [
2078
2078
  v.searchable ? (d(), g("div", jl, [
2079
- j(y(_l), {
2080
- icon: y(Eo),
2079
+ j(w(_l), {
2080
+ icon: w(Eo),
2081
2081
  disabled: v.loading
2082
2082
  }, {
2083
2083
  default: Q(() => [
2084
- j(y(Rt), {
2084
+ j(w(Rt), {
2085
2085
  modelValue: r.value,
2086
2086
  "onUpdate:modelValue": x[1] || (x[1] = (k) => r.value = k),
2087
2087
  onInput: x[2] || (x[2] = (k) => o("search", r.value)),
@@ -2092,9 +2092,9 @@ const ol = { class: "popover__content" }, nl = {
2092
2092
  }, 8, ["icon", "disabled"])
2093
2093
  ])) : E("", !0),
2094
2094
  v.loading ? (d(), g("div", Ul, [
2095
- j(y(Ll))
2095
+ j(w(Ll))
2096
2096
  ])) : (d(), g("div", Kl, [
2097
- (d(!0), g(te, null, Ce(v.options, (k, V) => (d(), N(zl, {
2097
+ (d(!0), g(te, null, Ce(v.options, (k, V) => (d(), W(zl, {
2098
2098
  key: V,
2099
2099
  modelValue: s.value,
2100
2100
  "onUpdate:modelValue": x[3] || (x[3] = (S) => s.value = S),
@@ -2144,7 +2144,7 @@ const ol = { class: "popover__content" }, nl = {
2144
2144
  disabled: t.value === 1,
2145
2145
  onClick: i[0] || (i[0] = (r) => t.value--)
2146
2146
  }, [
2147
- j(y(Ho))
2147
+ j(w(Ho))
2148
2148
  ], 8, Zl),
2149
2149
  R("div", Jl, [
2150
2150
  (d(!0), g(te, null, Ce(a.value, (r) => (d(), g("button", {
@@ -2158,11 +2158,11 @@ const ol = { class: "popover__content" }, nl = {
2158
2158
  disabled: t.value === n.value,
2159
2159
  onClick: i[1] || (i[1] = (r) => t.value++)
2160
2160
  }, [
2161
- j(y(Zt))
2161
+ j(w(Zt))
2162
2162
  ], 8, es),
2163
2163
  o.value ? (d(), g("div", ts, [
2164
2164
  i[3] || (i[3] = R("span", null, "Показывать по", -1)),
2165
- j(y(Yl), {
2165
+ j(w(Yl), {
2166
2166
  modelValue: o.value,
2167
2167
  "onUpdate:modelValue": i[2] || (i[2] = (r) => o.value = r),
2168
2168
  options: l.value,
@@ -2193,7 +2193,7 @@ const ol = { class: "popover__content" }, nl = {
2193
2193
  return (n, l) => (d(), g("tfoot", ls, [
2194
2194
  R("tr", null, [
2195
2195
  R("td", ss, [
2196
- n.paginator && t.value ? (d(), N(y(ns), {
2196
+ n.paginator && t.value ? (d(), W(w(ns), {
2197
2197
  key: 0,
2198
2198
  "current-page": t.value,
2199
2199
  "onUpdate:currentPage": l[0] || (l[0] = (a) => t.value = a),
@@ -2289,7 +2289,7 @@ const ol = { class: "popover__content" }, nl = {
2289
2289
  [`table--theme-${e.theme}`]: e.theme,
2290
2290
  "table--with-scroller": e.scroller && e.scroller.enable
2291
2291
  }
2292
- ]), h = z(/* @__PURE__ */ new Set()), w = (S) => {
2292
+ ]), h = z(/* @__PURE__ */ new Set()), y = (S) => {
2293
2293
  h.value.has(S) ? h.value.delete(S) : h.value.add(S);
2294
2294
  }, v = z([]), x = P(() => Array.isArray(v.value) && v.value.length === e.data.length), k = (S) => {
2295
2295
  if (r.value)
@@ -2309,7 +2309,7 @@ const ol = { class: "popover__content" }, nl = {
2309
2309
  U(S.$slots, "default", {}, void 0, !0),
2310
2310
  j(vl, {
2311
2311
  size: S.size,
2312
- columns: y(s),
2312
+ columns: w(s),
2313
2313
  isSelectedAll: x.value,
2314
2314
  sortMode: S.sortMode,
2315
2315
  sortField: S.sortField,
@@ -2319,7 +2319,7 @@ const ol = { class: "popover__content" }, nl = {
2319
2319
  j(kl, {
2320
2320
  size: S.size,
2321
2321
  selectedRows: v.value,
2322
- columns: y(s),
2322
+ columns: w(s),
2323
2323
  data: p.value,
2324
2324
  rowGroupMode: S.rowGroupMode,
2325
2325
  groupRowsBy: S.groupRowsBy,
@@ -2328,7 +2328,7 @@ const ol = { class: "popover__content" }, nl = {
2328
2328
  scroller: S.scroller,
2329
2329
  onRowClickHandler: I[1] || (I[1] = ($) => o("rowClickHandler", $)),
2330
2330
  onToggleRow: I[2] || (I[2] = ($) => k($)),
2331
- onToggleGroup: I[3] || (I[3] = ($) => w($))
2331
+ onToggleGroup: I[3] || (I[3] = ($) => y($))
2332
2332
  }, null, 8, ["size", "selectedRows", "columns", "data", "rowGroupMode", "groupRowsBy", "collapsedGroups", "colorHovered", "scroller"]),
2333
2333
  j(is, {
2334
2334
  currentPage: c.value,
@@ -2408,13 +2408,13 @@ const ol = { class: "popover__content" }, nl = {
2408
2408
  f(A) <= b ? T = A + 1 : B = A - 1;
2409
2409
  }
2410
2410
  return Math.max(0, B - o.buffer);
2411
- }, w = (b, T) => {
2411
+ }, y = (b, T) => {
2412
2412
  const B = b + T;
2413
2413
  let A = h(b);
2414
2414
  for (; A < o.items.length && !(f(A) > B); )
2415
2415
  A++;
2416
2416
  return Math.min(o.items.length - 1, A + o.buffer);
2417
- }, v = P(() => h(a.value)), x = P(() => w(a.value, s.value)), k = P(() => {
2417
+ }, v = P(() => h(a.value)), x = P(() => y(a.value, s.value)), k = P(() => {
2418
2418
  const b = [];
2419
2419
  for (let T = v.value; T <= x.value; T++)
2420
2420
  o.items[T] && b.push({
@@ -2499,8 +2499,8 @@ const ol = { class: "popover__content" }, nl = {
2499
2499
  Me(R("input", {
2500
2500
  "onUpdate:modelValue": l[0] || (l[0] = (a) => t.value = a),
2501
2501
  type: "checkbox",
2502
- name: y(o),
2503
- id: y(o),
2502
+ name: w(o),
2503
+ id: w(o),
2504
2504
  value: n.value
2505
2505
  }, null, 8, ps), [
2506
2506
  [ht, t.value]
@@ -2603,7 +2603,7 @@ function vs(e, t) {
2603
2603
  }
2604
2604
  return O;
2605
2605
  }
2606
- function w($) {
2606
+ function y($) {
2607
2607
  const { required: C } = u(o), L = C.replace(/[^9a*]/g, "").length;
2608
2608
  return h($).length >= L;
2609
2609
  }
@@ -2693,9 +2693,9 @@ function vs(e, t) {
2693
2693
  if (L > 0 && s.value.length > 0) {
2694
2694
  const re = s.value;
2695
2695
  let fe = "", q = -1;
2696
- const { required: ue, optional: pe } = u(o), W = ue + pe;
2696
+ const { required: ue, optional: pe } = u(o), N = ue + pe;
2697
2697
  for (let K = L - 1; K >= 0; K--)
2698
- if (K < W.length && c(W[K])) {
2698
+ if (K < N.length && c(N[K])) {
2699
2699
  q = K;
2700
2700
  break;
2701
2701
  }
@@ -2737,18 +2737,18 @@ function vs(e, t) {
2737
2737
  const re = s.value;
2738
2738
  let fe = -1;
2739
2739
  for (let q = L; q < re.length; q++) {
2740
- const { required: ue, optional: pe } = u(o), W = ue + pe;
2741
- if (q < W.length && c(W[q])) {
2740
+ const { required: ue, optional: pe } = u(o), N = ue + pe;
2741
+ if (q < N.length && c(N[q])) {
2742
2742
  fe = q;
2743
2743
  break;
2744
2744
  }
2745
2745
  }
2746
2746
  if (fe >= 0) {
2747
2747
  let q = h(re), ue = 0;
2748
- for (let W = 0; W <= fe; W++) {
2748
+ for (let N = 0; N <= fe; N++) {
2749
2749
  const { required: K, optional: Ze } = u(o), Be = K + Ze;
2750
- if (W < Be.length && c(Be[W])) {
2751
- if (W === fe) break;
2750
+ if (N < Be.length && c(Be[N])) {
2751
+ if (N === fe) break;
2752
2752
  ue++;
2753
2753
  }
2754
2754
  }
@@ -2804,7 +2804,7 @@ function vs(e, t) {
2804
2804
  });
2805
2805
  }
2806
2806
  function I() {
2807
- i.value = !1, l && !w(s.value) ? (s.value = "", e.value = "") : qe(e) || v();
2807
+ i.value = !1, l && !y(s.value) ? (s.value = "", e.value = "") : qe(e) || v();
2808
2808
  }
2809
2809
  return v(), oe(() => qe(e), ($, C) => {
2810
2810
  $ !== C && v();
@@ -2850,18 +2850,18 @@ const si = /* @__PURE__ */ _({
2850
2850
  autoClear: t.autoClear,
2851
2851
  definitions: t.definitions
2852
2852
  });
2853
- return (c, f) => (d(), N(y(Rt), {
2854
- modelValue: y(n),
2853
+ return (c, f) => (d(), W(w(Rt), {
2854
+ modelValue: w(n),
2855
2855
  "onUpdate:modelValue": f[0] || (f[0] = (p) => Io(n) ? n.value = p : null),
2856
2856
  label: c.label,
2857
- placeholder: y(u),
2857
+ placeholder: w(u),
2858
2858
  error: c.error,
2859
2859
  "error-text": c.errorText,
2860
- onInput: y(l),
2861
- onPaste: y(a),
2862
- onKeydown: y(s),
2863
- onFocus: y(i),
2864
- onBlur: y(r)
2860
+ onInput: w(l),
2861
+ onPaste: w(a),
2862
+ onKeydown: w(s),
2863
+ onFocus: w(i),
2864
+ onBlur: w(r)
2865
2865
  }, null, 8, ["modelValue", "label", "placeholder", "error", "error-text", "onInput", "onPaste", "onKeydown", "onFocus", "onBlur"]));
2866
2866
  }
2867
2867
  }), gs = { class: "input-number__wrapper" }, hs = ["max"], ai = /* @__PURE__ */ _({
@@ -2913,10 +2913,10 @@ const si = /* @__PURE__ */ _({
2913
2913
  }), (i, r) => (d(), g("div", {
2914
2914
  class: H(s.value)
2915
2915
  }, [
2916
- i.viewButtons ? (d(), N(y(Ge), {
2916
+ i.viewButtons ? (d(), W(w(Ge), {
2917
2917
  key: 0,
2918
2918
  "button-style": "contrast",
2919
- icon: y(zo),
2919
+ icon: w(zo),
2920
2920
  class: "input-number__button input-number__button--decrement",
2921
2921
  "icon-only": "",
2922
2922
  size: "small",
@@ -2924,7 +2924,7 @@ const si = /* @__PURE__ */ _({
2924
2924
  onClick: a
2925
2925
  }, null, 8, ["icon", "disabled"])) : E("", !0),
2926
2926
  R("div", gs, [
2927
- (d(), N(Te(i.icon))),
2927
+ (d(), W(Te(i.icon))),
2928
2928
  Me(R("input", {
2929
2929
  "onUpdate:modelValue": r[0] || (r[0] = (u) => o.value = u),
2930
2930
  type: "number",
@@ -2937,10 +2937,10 @@ const si = /* @__PURE__ */ _({
2937
2937
  [Ut, o.value]
2938
2938
  ])
2939
2939
  ]),
2940
- i.viewButtons ? (d(), N(y(Ge), {
2940
+ i.viewButtons ? (d(), W(w(Ge), {
2941
2941
  key: 1,
2942
2942
  "button-style": "contrast",
2943
- icon: y(Xt),
2943
+ icon: w(Xt),
2944
2944
  class: "input-number__button input-number__button--increment",
2945
2945
  "icon-only": "",
2946
2946
  size: "small",
@@ -2983,7 +2983,7 @@ const si = /* @__PURE__ */ _({
2983
2983
  o.value = l(r), i.target.value = o.value;
2984
2984
  });
2985
2985
  }
2986
- return (i, r) => (d(), N(y(Rt), {
2986
+ return (i, r) => (d(), W(w(Rt), {
2987
2987
  modelValue: o.value,
2988
2988
  "onUpdate:modelValue": r[0] || (r[0] = (u) => o.value = u),
2989
2989
  placeholder: "7 (999) 999-99-99",
@@ -2991,7 +2991,7 @@ const si = /* @__PURE__ */ _({
2991
2991
  onPaste: s
2992
2992
  }, null, 8, ["modelValue"]));
2993
2993
  }
2994
- }), ws = { class: "select-buttons" }, ys = ["onClick"], bs = /* @__PURE__ */ _({
2994
+ }), ys = { class: "select-buttons" }, ws = ["onClick"], bs = /* @__PURE__ */ _({
2995
2995
  __name: "SelectButton",
2996
2996
  props: /* @__PURE__ */ Z({
2997
2997
  options: {},
@@ -3006,12 +3006,12 @@ const si = /* @__PURE__ */ _({
3006
3006
  const t = se(e, "modelValue"), o = (l) => typeof l == "object" ? t.value === l[e.optionValue] : t.value === l, n = (l) => {
3007
3007
  typeof l == "object" ? t.value = t.value === l[e.optionValue] ? null : l[e.optionValue] : t.value = t.value === l ? null : l;
3008
3008
  };
3009
- return (l, a) => (d(), g("div", ws, [
3009
+ return (l, a) => (d(), g("div", ys, [
3010
3010
  (d(!0), g(te, null, Ce(l.options, (s) => (d(), g("button", {
3011
3011
  class: H(["select-buttons__item", { "select-buttons__item--selected": o(s) }]),
3012
3012
  key: typeof s == "object" ? s[l.optionValue] : s,
3013
3013
  onClick: (i) => n(s)
3014
- }, G(typeof s == "object" ? s[l.optionLabel] : s), 11, ys))), 128))
3014
+ }, G(typeof s == "object" ? s[l.optionLabel] : s), 11, ws))), 128))
3015
3015
  ]));
3016
3016
  }
3017
3017
  }), ri = /* @__PURE__ */ de(bs, [["__scopeId", "data-v-27415c56"]]), xs = ["id", "disabled"], ui = /* @__PURE__ */ _({
@@ -3034,7 +3034,7 @@ const si = /* @__PURE__ */ _({
3034
3034
  "onUpdate:modelValue": l[0] || (l[0] = (a) => t.value = a),
3035
3035
  type: "checkbox",
3036
3036
  name: "switch",
3037
- id: y(o),
3037
+ id: w(o),
3038
3038
  class: "switch__input",
3039
3039
  disabled: n.disabled
3040
3040
  }, null, 8, xs), [
@@ -3099,7 +3099,7 @@ const si = /* @__PURE__ */ _({
3099
3099
  class: H(i.value)
3100
3100
  }, [
3101
3101
  R("label", {
3102
- for: r.inputId ?? y(a),
3102
+ for: r.inputId ?? w(a),
3103
3103
  class: "textarea__label"
3104
3104
  }, G(r.label), 9, $s),
3105
3105
  Me(R("textarea", {
@@ -3108,7 +3108,7 @@ const si = /* @__PURE__ */ _({
3108
3108
  ref: l,
3109
3109
  class: "textarea__field",
3110
3110
  maxlength: r.maxlength,
3111
- id: r.inputId ?? y(a),
3111
+ id: r.inputId ?? w(a),
3112
3112
  placeholder: r.placeholder,
3113
3113
  name: r.name,
3114
3114
  disabled: r.disabled,
@@ -3147,13 +3147,13 @@ const si = /* @__PURE__ */ _({
3147
3147
  key: 0,
3148
3148
  class: H(["breadcrumb__item", { "breadcrumb__item--disabled": !l.command || l.disabled }]),
3149
3149
  onClick: (s) => l.command()
3150
- }, G(l.label), 11, Ps)) : (d(), N(Te(t(l)), {
3150
+ }, G(l.label), 11, Ps)) : (d(), W(Te(t(l)), {
3151
3151
  key: 1,
3152
3152
  to: l.url,
3153
3153
  class: H(["breadcrumb__item", { "breadcrumb__item--disabled": l.disabled || !l.url }])
3154
3154
  }, {
3155
3155
  default: Q(() => [
3156
- we(G(l.label), 1)
3156
+ ye(G(l.label), 1)
3157
3157
  ]),
3158
3158
  _: 2
3159
3159
  }, 1032, ["to", "class"])),
@@ -3172,7 +3172,7 @@ const si = /* @__PURE__ */ _({
3172
3172
  success: Le(No),
3173
3173
  error: Le(Go),
3174
3174
  warn: Le(Fo),
3175
- info: Le(wt)
3175
+ info: Le(yt)
3176
3176
  }), l = P(() => e.msg.severity ? e.msg.icon ? e.msg.icon : n[e.msg.severity] : n.info), a = P(() => [
3177
3177
  "toast-message",
3178
3178
  `toast-message--${e.msg.severity}`
@@ -3193,7 +3193,7 @@ const si = /* @__PURE__ */ _({
3193
3193
  class: H(a.value)
3194
3194
  }, [
3195
3195
  R("div", Ts, [
3196
- (d(), N(Te(l.value)))
3196
+ (d(), W(Te(l.value)))
3197
3197
  ]),
3198
3198
  R("div", As, [
3199
3199
  R("div", Is, G(p.msg.summary), 1),
@@ -3207,7 +3207,7 @@ const si = /* @__PURE__ */ _({
3207
3207
  class: "toast-message__close",
3208
3208
  onClick: c
3209
3209
  }, [
3210
- j(y(Qt))
3210
+ j(w(Qt))
3211
3211
  ])
3212
3212
  ], 2));
3213
3213
  }
@@ -3238,7 +3238,7 @@ const si = /* @__PURE__ */ _({
3238
3238
  xe.on("add", a), xe.on("remove", s), xe.on("remove-group", i), xe.on("remove-all-groups", r);
3239
3239
  }), tt(() => {
3240
3240
  xe.off("add", a), xe.off("remove", s), xe.off("remove-group", i), xe.off("remove-all-groups", r);
3241
- }), (u, c) => (d(), N(y(Ko), null, {
3241
+ }), (u, c) => (d(), W(w(Ko), null, {
3242
3242
  default: Q(() => [
3243
3243
  R("div", Bs, [
3244
3244
  j(Mo, {
@@ -3247,7 +3247,7 @@ const si = /* @__PURE__ */ _({
3247
3247
  class: "toast-messages"
3248
3248
  }, {
3249
3249
  default: Q(() => [
3250
- (d(!0), g(te, null, Ce(o.value, (f) => (d(), N(Os, {
3250
+ (d(!0), g(te, null, Ce(o.value, (f) => (d(), W(Os, {
3251
3251
  key: f.id,
3252
3252
  msg: f,
3253
3253
  onClose: c[0] || (c[0] = (p) => l(p))
@@ -3303,15 +3303,15 @@ const mi = {
3303
3303
  ]), n = Kt({
3304
3304
  error: Le(qo),
3305
3305
  warning: Le(Wo),
3306
- info: Le(wt)
3306
+ info: Le(yt)
3307
3307
  });
3308
3308
  return (l, a) => (d(), g("div", {
3309
3309
  class: H(o.value)
3310
3310
  }, [
3311
- (d(), N(Te(n[t.type]), { class: "message__icon" })),
3311
+ (d(), W(Te(n[t.type]), { class: "message__icon" })),
3312
3312
  R("div", _s, [
3313
3313
  l.$slots.default ? U(l.$slots, "default", { key: 0 }, void 0, !0) : (d(), g(te, { key: 1 }, [
3314
- we(G(t.message), 1)
3314
+ ye(G(t.message), 1)
3315
3315
  ], 64))
3316
3316
  ])
3317
3317
  ], 2));
@@ -3361,7 +3361,7 @@ const mi = {
3361
3361
  return (o, n) => (d(), g("div", {
3362
3362
  class: H(["overlay-badge", { [`overlay-badge--${o.position}`]: o.position }])
3363
3363
  }, [
3364
- o.viewBadge ? (d(), N(y(Es), {
3364
+ o.viewBadge ? (d(), W(w(Es), {
3365
3365
  key: 0,
3366
3366
  value: o.value,
3367
3367
  variant: o.variant,
@@ -3398,12 +3398,12 @@ const mi = {
3398
3398
  style: ee(o.value)
3399
3399
  }, null, 6));
3400
3400
  }
3401
- }), po = Symbol("DialogService"), wi = () => {
3401
+ }), po = Symbol("DialogService"), yi = () => {
3402
3402
  const e = he(po);
3403
3403
  if (!e)
3404
3404
  throw new Error("useConfirmDialog() должен использоваться внутри приложения с DialogService");
3405
3405
  return e;
3406
- }, mo = Symbol("PopupService"), yi = () => {
3406
+ }, mo = Symbol("PopupService"), wi = () => {
3407
3407
  const e = he(mo);
3408
3408
  if (!e)
3409
3409
  throw new Error("useConfirmDialog() должен использоваться внутри приложения с DialogService");
@@ -3464,43 +3464,43 @@ const mi = {
3464
3464
  document.addEventListener("keydown", s);
3465
3465
  }), tt(() => {
3466
3466
  document.removeEventListener("keydown", s), o();
3467
- }), (i, r) => (d(), N(ot, { to: "body" }, [
3467
+ }), (i, r) => (d(), W(ot, { to: "body" }, [
3468
3468
  j(Fe, { name: "confirm-dialog" }, {
3469
3469
  default: Q(() => [
3470
- y(X) ? (d(), g("div", {
3470
+ w(X) ? (d(), g("div", {
3471
3471
  key: 0,
3472
3472
  class: H(["confirm-dialog-overlay", { "confirm-dialog-overlay--modal": !0 }]),
3473
3473
  onClick: a
3474
3474
  }, [
3475
3475
  R("div", {
3476
3476
  ref: "popupRef",
3477
- class: H(["confirm-dialog", [`confirm-dialog--${y(X).position}`, y(X).class]]),
3477
+ class: H(["confirm-dialog", [`confirm-dialog--${w(X).position}`, w(X).class]]),
3478
3478
  onClick: r[2] || (r[2] = ut(() => {
3479
3479
  }, ["stop"])),
3480
- style: ee(y(X).style)
3480
+ style: ee(w(X).style)
3481
3481
  }, [
3482
- y(X).header ? (d(), g("div", Fs, [
3483
- R("h4", Gs, G(y(X).header), 1)
3482
+ w(X).header ? (d(), g("div", Fs, [
3483
+ R("h4", Gs, G(w(X).header), 1)
3484
3484
  ])) : E("", !0),
3485
- y(X).message ? (d(), g("p", Ns, G(y(X).message), 1)) : E("", !0),
3485
+ w(X).message ? (d(), g("p", Ns, G(w(X).message), 1)) : E("", !0),
3486
3486
  R("div", Ws, [
3487
- j(y(Ge), {
3487
+ j(w(Ge), {
3488
3488
  size: "small",
3489
3489
  variant: "danger",
3490
3490
  buttonStyle: "contrast",
3491
3491
  onClick: r[0] || (r[0] = () => l())
3492
3492
  }, {
3493
3493
  default: Q(() => [
3494
- we(G(y(X).rejectProps ? y(X).rejectProps.label : "Нет"), 1)
3494
+ ye(G(w(X).rejectProps ? w(X).rejectProps.label : "Нет"), 1)
3495
3495
  ]),
3496
3496
  _: 1
3497
3497
  }),
3498
- j(y(Ge), {
3498
+ j(w(Ge), {
3499
3499
  size: "small",
3500
3500
  onClick: r[1] || (r[1] = () => n())
3501
3501
  }, {
3502
3502
  default: Q(() => [
3503
- we(G(y(X).acceptProps ? y(X).acceptProps.label : "Да"), 1)
3503
+ ye(G(w(X).acceptProps ? w(X).acceptProps.label : "Да"), 1)
3504
3504
  ]),
3505
3505
  _: 1
3506
3506
  })
@@ -3528,8 +3528,8 @@ const mi = {
3528
3528
  r();
3529
3529
  return;
3530
3530
  }
3531
- const w = p.getBoundingClientRect();
3532
- if (!(w.bottom > 0 && w.right > 0 && w.top < window.innerHeight && w.left < window.innerWidth && w.width > 0 && w.height > 0)) {
3531
+ const y = p.getBoundingClientRect();
3532
+ if (!(y.bottom > 0 && y.right > 0 && y.top < window.innerHeight && y.left < window.innerWidth && y.width > 0 && y.height > 0)) {
3533
3533
  r();
3534
3534
  return;
3535
3535
  }
@@ -3537,43 +3537,43 @@ const mi = {
3537
3537
  switch (O) {
3538
3538
  case "top":
3539
3539
  return {
3540
- top: w.top - x.height - V,
3541
- left: w.left + w.width / 2 - x.width / 2
3540
+ top: y.top - x.height - V,
3541
+ left: y.left + y.width / 2 - x.width / 2
3542
3542
  };
3543
3543
  case "bottom":
3544
3544
  return {
3545
- top: w.bottom + V,
3546
- left: w.left + w.width / 2 - x.width / 2
3545
+ top: y.bottom + V,
3546
+ left: y.left + y.width / 2 - x.width / 2
3547
3547
  };
3548
3548
  case "left":
3549
3549
  return {
3550
- top: w.top + w.height / 2 - x.height / 2,
3551
- left: w.left - x.width - V
3550
+ top: y.top + y.height / 2 - x.height / 2,
3551
+ left: y.left - x.width - V
3552
3552
  };
3553
3553
  case "right":
3554
3554
  return {
3555
- top: w.top + w.height / 2 - x.height / 2,
3556
- left: w.right + V
3555
+ top: y.top + y.height / 2 - x.height / 2,
3556
+ left: y.right + V
3557
3557
  };
3558
3558
  case "topleft":
3559
3559
  return {
3560
- top: w.top - x.height - V,
3561
- left: w.left
3560
+ top: y.top - x.height - V,
3561
+ left: y.left
3562
3562
  };
3563
3563
  case "topright":
3564
3564
  return {
3565
- top: w.top - x.height - V,
3566
- left: w.right - x.width
3565
+ top: y.top - x.height - V,
3566
+ left: y.right - x.width
3567
3567
  };
3568
3568
  case "bottomleft":
3569
3569
  return {
3570
- top: w.bottom + V,
3571
- left: w.left
3570
+ top: y.bottom + V,
3571
+ left: y.left
3572
3572
  };
3573
3573
  case "bottomright":
3574
3574
  return {
3575
- top: w.bottom + V,
3576
- left: w.right - x.width
3575
+ top: y.bottom + V,
3576
+ left: y.right - x.width
3577
3577
  };
3578
3578
  default:
3579
3579
  return { top: 0, left: 0 };
@@ -3614,10 +3614,10 @@ const mi = {
3614
3614
  document.addEventListener("keydown", u), window.addEventListener("scroll", c, !0), window.addEventListener("resize", f);
3615
3615
  }), tt(() => {
3616
3616
  document.removeEventListener("keydown", u), window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", f);
3617
- }), (p, m) => (d(), N(ot, { to: "body" }, [
3617
+ }), (p, m) => (d(), W(ot, { to: "body" }, [
3618
3618
  j(Fe, { name: "confirm" }, {
3619
3619
  default: Q(() => [
3620
- y(J) ? (d(), g("div", {
3620
+ w(J) ? (d(), g("div", {
3621
3621
  key: 0,
3622
3622
  class: "confirm-overlay",
3623
3623
  onClick: r
@@ -3633,28 +3633,28 @@ const mi = {
3633
3633
  R("div", {
3634
3634
  class: H(["confirm-popup__arrow", a.value])
3635
3635
  }, null, 2),
3636
- y(J).header ? (d(), g("div", js, [
3637
- R("h4", Us, G(y(J).header), 1)
3636
+ w(J).header ? (d(), g("div", js, [
3637
+ R("h4", Us, G(w(J).header), 1)
3638
3638
  ])) : E("", !0),
3639
- y(J).message ? (d(), g("p", Ks, G(y(J).message), 1)) : E("", !0),
3639
+ w(J).message ? (d(), g("p", Ks, G(w(J).message), 1)) : E("", !0),
3640
3640
  R("div", Ys, [
3641
- j(y(Ge), {
3641
+ j(w(Ge), {
3642
3642
  size: "small",
3643
3643
  variant: "danger",
3644
3644
  buttonStyle: "contrast",
3645
3645
  onClick: r
3646
3646
  }, {
3647
3647
  default: Q(() => [
3648
- we(G(y(J).rejectProps ? y(J).rejectProps.label : "Нет"), 1)
3648
+ ye(G(w(J).rejectProps ? w(J).rejectProps.label : "Нет"), 1)
3649
3649
  ]),
3650
3650
  _: 1
3651
3651
  }),
3652
- j(y(Ge), {
3652
+ j(w(Ge), {
3653
3653
  size: "small",
3654
3654
  onClick: i
3655
3655
  }, {
3656
3656
  default: Q(() => [
3657
- we(G(y(J).acceptProps ? y(J).acceptProps.label : "Да"), 1)
3657
+ ye(G(w(J).acceptProps ? w(J).acceptProps.label : "Да"), 1)
3658
3658
  ]),
3659
3659
  _: 1
3660
3660
  })
@@ -3693,7 +3693,7 @@ const mi = {
3693
3693
  isOpen: a,
3694
3694
  open: r,
3695
3695
  close: c
3696
- }), (f, p) => (d(), N(ot, { to: "body" }, [
3696
+ }), (f, p) => (d(), W(ot, { to: "body" }, [
3697
3697
  j(Fe, { name: "drawer-animate" }, {
3698
3698
  default: Q(() => [
3699
3699
  a.value ? (d(), g("div", {
@@ -3712,7 +3712,7 @@ const mi = {
3712
3712
  R("button", {
3713
3713
  onClick: p[1] || (p[1] = (m) => u())
3714
3714
  }, [
3715
- j(y(yt))
3715
+ j(w(wt))
3716
3716
  ])
3717
3717
  ]),
3718
3718
  U(f.$slots, "default")
@@ -3744,7 +3744,7 @@ const mi = {
3744
3744
  };
3745
3745
  return oe(o, () => {
3746
3746
  o.value ? a() : l();
3747
- }), (r, u) => (d(), N(ot, { to: "body" }, [
3747
+ }), (r, u) => (d(), W(ot, { to: "body" }, [
3748
3748
  j(Fe, { name: "modal-content-fade" }, {
3749
3749
  default: Q(() => [
3750
3750
  o.value ? (d(), g("div", {
@@ -3768,7 +3768,7 @@ const mi = {
3768
3768
  class: "modal__header-close",
3769
3769
  onClick: u[1] || (u[1] = (c) => o.value = !1)
3770
3770
  }, [
3771
- j(y(Qt))
3771
+ j(w(Qt))
3772
3772
  ])
3773
3773
  ]),
3774
3774
  R("div", ea, [
@@ -3812,7 +3812,7 @@ const mi = {
3812
3812
  t.value && o.value && (n.value = o.value.scrollHeight + "px");
3813
3813
  }), (a, s) => (d(), g("div", {
3814
3814
  class: "accordion-content-wrapper",
3815
- style: ee({ height: y(t) ? n.value : "0px" })
3815
+ style: ee({ height: w(t) ? n.value : "0px" })
3816
3816
  }, [
3817
3817
  Me(R("div", {
3818
3818
  ref_key: "contentRef",
@@ -3830,15 +3830,15 @@ const mi = {
3830
3830
  setup(e) {
3831
3831
  const t = he("panelIsOpen"), o = he("panelToggle"), n = he("accordionStyle");
3832
3832
  return (l, a) => (d(), g("button", {
3833
- class: H(["accordion-header", { "accordion-header--active": y(t) }, `accordion-header--${y(n)}`]),
3833
+ class: H(["accordion-header", { "accordion-header--active": w(t) }, `accordion-header--${w(n)}`]),
3834
3834
  onClick: a[0] || (a[0] = //@ts-ignore
3835
- (...s) => y(o) && y(o)(...s))
3835
+ (...s) => w(o) && w(o)(...s))
3836
3836
  }, [
3837
3837
  R("span", oa, [
3838
3838
  U(l.$slots, "default")
3839
3839
  ]),
3840
3840
  R("span", na, [
3841
- j(y(Zt))
3841
+ j(w(Zt))
3842
3842
  ])
3843
3843
  ], 2));
3844
3844
  }
@@ -3850,7 +3850,7 @@ const mi = {
3850
3850
  setup(e) {
3851
3851
  const t = e, o = he("accordionOpenValues"), n = he("accordionToggle"), l = he("accordionStyle"), a = P(() => o?.value.includes(t.value));
3852
3852
  return $e("panelValue", t.value), $e("panelIsOpen", a), $e("panelToggle", () => n?.(t.value)), (s, i) => (d(), g("div", {
3853
- class: H(["accordion-panel", `accordion-panel--${y(l)}`])
3853
+ class: H(["accordion-panel", `accordion-panel--${w(l)}`])
3854
3854
  }, [
3855
3855
  U(s.$slots, "default")
3856
3856
  ], 2));
@@ -3888,7 +3888,7 @@ const mi = {
3888
3888
  t?.updateValue(e.value ?? e.index);
3889
3889
  };
3890
3890
  return (l, a) => (d(), g("div", {
3891
- class: H(["step", { "step--active": y(t)?.isStepActive(l.value ?? l.index), "step--passed": y(t)?.isStepPassed(l.index) }])
3891
+ class: H(["step", { "step--active": w(t)?.isStepActive(l.value ?? l.index), "step--passed": w(t)?.isStepPassed(l.index) }])
3892
3892
  }, [
3893
3893
  R("button", {
3894
3894
  class: "step__button",
@@ -3898,9 +3898,9 @@ const mi = {
3898
3898
  R("div", aa, G(l.index + 1), 1),
3899
3899
  R("div", ia, G(l.label), 1)
3900
3900
  ], 8, sa),
3901
- y(t)?.isLastItem(l.index) ? E("", !0) : (d(), g("div", {
3901
+ w(t)?.isLastItem(l.index) ? E("", !0) : (d(), g("div", {
3902
3902
  key: 0,
3903
- class: H(["step__separator", { "step__separator--active": y(t)?.isStepPassed(l.index) }])
3903
+ class: H(["step__separator", { "step__separator--active": w(t)?.isStepPassed(l.index) }])
3904
3904
  }, null, 2))
3905
3905
  ], 2));
3906
3906
  }
@@ -3930,7 +3930,7 @@ const mi = {
3930
3930
  }
3931
3931
  }), (u, c) => (d(), g("div", ca, [
3932
3932
  R("div", da, [
3933
- (d(!0), g(te, null, Ce(u.steps, (f, p) => (d(), N(ua, {
3933
+ (d(!0), g(te, null, Ce(u.steps, (f, p) => (d(), W(ua, {
3934
3934
  key: f.value,
3935
3935
  index: p,
3936
3936
  value: f.value,
@@ -3948,7 +3948,7 @@ const mi = {
3948
3948
  const t = e, o = he("tabsValue"), n = he("setTabsValue"), l = P(() => o?.value === t.value);
3949
3949
  return (a, s) => (d(), g("button", {
3950
3950
  class: H(["tab", { "tab--active": l.value }]),
3951
- onClick: s[0] || (s[0] = () => y(n)?.(a.value)),
3951
+ onClick: s[0] || (s[0] = () => w(n)?.(a.value)),
3952
3952
  role: "tab",
3953
3953
  "aria-selected": l.value
3954
3954
  }, [
@@ -4001,10 +4001,10 @@ const mi = {
4001
4001
  ])
4002
4002
  ]));
4003
4003
  }
4004
- }), wa = { class: "tab-panels" }, _i = /* @__PURE__ */ _({
4004
+ }), ya = { class: "tab-panels" }, _i = /* @__PURE__ */ _({
4005
4005
  __name: "TabPanels",
4006
4006
  setup(e) {
4007
- return (t, o) => (d(), g("div", wa, [
4007
+ return (t, o) => (d(), g("div", ya, [
4008
4008
  U(t.$slots, "default")
4009
4009
  ]));
4010
4010
  }
@@ -4057,7 +4057,7 @@ function Ft(e, t, o) {
4057
4057
  }
4058
4058
  return m;
4059
4059
  }
4060
- const ya = async (e, t, o) => {
4060
+ const wa = async (e, t, o) => {
4061
4061
  const {
4062
4062
  placement: n = "bottom",
4063
4063
  strategy: l = "absolute",
@@ -4072,11 +4072,11 @@ const ya = async (e, t, o) => {
4072
4072
  x: c,
4073
4073
  y: f
4074
4074
  } = Ft(u, n, r), p = n, m = {}, h = 0;
4075
- for (let w = 0; w < i.length; w++) {
4075
+ for (let y = 0; y < i.length; y++) {
4076
4076
  const {
4077
4077
  name: v,
4078
4078
  fn: x
4079
- } = i[w], {
4079
+ } = i[y], {
4080
4080
  x: k,
4081
4081
  y: V,
4082
4082
  data: S,
@@ -4108,7 +4108,7 @@ const ya = async (e, t, o) => {
4108
4108
  }) : I.rects), {
4109
4109
  x: c,
4110
4110
  y: f
4111
- } = Ft(u, p, r)), w = -1);
4111
+ } = Ft(u, p, r)), y = -1);
4112
4112
  }
4113
4113
  return {
4114
4114
  x: c,
@@ -4184,10 +4184,10 @@ const ba = (e) => ({
4184
4184
  const f = dt(c), p = {
4185
4185
  x: o,
4186
4186
  y: n
4187
- }, m = lt(l), h = nt(m), w = await s.getDimensions(u), v = m === "y", x = v ? "top" : "left", k = v ? "bottom" : "right", V = v ? "clientHeight" : "clientWidth", S = a.reference[h] + a.reference[m] - p[m] - a.floating[h], I = p[m] - a.reference[m], $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
4187
+ }, m = lt(l), h = nt(m), y = await s.getDimensions(u), v = m === "y", x = v ? "top" : "left", k = v ? "bottom" : "right", V = v ? "clientHeight" : "clientWidth", S = a.reference[h] + a.reference[m] - p[m] - a.floating[h], I = p[m] - a.reference[m], $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
4188
4188
  let C = $ ? $[V] : 0;
4189
4189
  (!C || !await (s.isElement == null ? void 0 : s.isElement($))) && (C = i.floating[V] || a.floating[h]);
4190
- const L = S / 2 - I / 2, M = C / 2 - w[h] / 2 - 1, O = Se(f[x], M), b = Se(f[k], M), T = O, B = C - w[h] - b, A = C / 2 - w[h] / 2 + L, F = Ye(T, A, B), D = !r.arrow && Oe(l) != null && A !== F && a.reference[h] / 2 - (A < T ? O : b) - w[h] / 2 < 0, Y = D ? A < T ? A - T : A - B : 0;
4190
+ const L = S / 2 - I / 2, M = C / 2 - y[h] / 2 - 1, O = Se(f[x], M), b = Se(f[k], M), T = O, B = C - y[h] - b, A = C / 2 - y[h] / 2 + L, F = Ye(T, A, B), D = !r.arrow && Oe(l) != null && A !== F && a.reference[h] / 2 - (A < T ? O : b) - y[h] / 2 < 0, Y = D ? A < T ? A - T : A - B : 0;
4191
4191
  return {
4192
4192
  [m]: p[m] + Y,
4193
4193
  data: {
@@ -4219,13 +4219,13 @@ const ba = (e) => ({
4219
4219
  fallbackPlacements: p,
4220
4220
  fallbackStrategy: m = "bestFit",
4221
4221
  fallbackAxisSideDirection: h = "none",
4222
- flipAlignment: w = !0,
4222
+ flipAlignment: y = !0,
4223
4223
  ...v
4224
4224
  } = Ve(e, t);
4225
4225
  if ((o = a.arrow) != null && o.alignmentOffset)
4226
4226
  return {};
4227
- const x = Pe(l), k = ke(i), V = Pe(i) === i, S = await (r.isRTL == null ? void 0 : r.isRTL(u.floating)), I = p || (V || !w ? [it(i)] : vn(i)), $ = h !== "none";
4228
- !p && $ && I.push(...yn(i, w, h, S));
4227
+ const x = Pe(l), k = ke(i), V = Pe(i) === i, S = await (r.isRTL == null ? void 0 : r.isRTL(u.floating)), I = p || (V || !y ? [it(i)] : vn(i)), $ = h !== "none";
4228
+ !p && $ && I.push(...wn(i, y, h, S));
4229
4229
  const C = [i, ...I], L = await vo(t, v), M = [];
4230
4230
  let O = ((n = a.flip) == null ? void 0 : n.overflows) || [];
4231
4231
  if (c && M.push(L[x]), f) {
@@ -4369,16 +4369,16 @@ const Ca = function(e) {
4369
4369
  const v = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", k = h + c[v], V = h - c[x];
4370
4370
  h = Ye(k, h, V);
4371
4371
  }
4372
- const w = i.fn({
4372
+ const y = i.fn({
4373
4373
  ...t,
4374
4374
  [p]: m,
4375
4375
  [f]: h
4376
4376
  });
4377
4377
  return {
4378
- ...w,
4378
+ ...y,
4379
4379
  data: {
4380
- x: w.x - o,
4381
- y: w.y - n,
4380
+ x: y.x - o,
4381
+ y: y.y - n,
4382
4382
  enabled: {
4383
4383
  [p]: a,
4384
4384
  [f]: s
@@ -4417,7 +4417,7 @@ function Ke(e) {
4417
4417
  };
4418
4418
  }
4419
4419
  const Sa = /* @__PURE__ */ ne(0);
4420
- function wo(e) {
4420
+ function yo(e) {
4421
4421
  const t = le(e);
4422
4422
  return !at() || !t.visualViewport ? Sa : {
4423
4423
  x: t.visualViewport.offsetLeft,
@@ -4432,14 +4432,14 @@ function et(e, t, o, n) {
4432
4432
  const l = e.getBoundingClientRect(), a = ho(e);
4433
4433
  let s = ne(1);
4434
4434
  t && (n ? ae(n) && (s = Ke(n)) : s = Ke(e));
4435
- const i = Pa(a, o, n) ? wo(a) : ne(0);
4435
+ const i = Pa(a, o, n) ? yo(a) : ne(0);
4436
4436
  let r = (l.left + i.x) / s.x, u = (l.top + i.y) / s.y, c = l.width / s.x, f = l.height / s.y;
4437
4437
  if (a) {
4438
4438
  const p = le(a), m = n && ae(n) ? le(n) : n;
4439
- let h = p, w = Je(h);
4440
- for (; w && n && m !== h; ) {
4441
- const v = Ke(w), x = w.getBoundingClientRect(), k = ie(w), V = x.left + (w.clientLeft + parseFloat(k.paddingLeft)) * v.x, S = x.top + (w.clientTop + parseFloat(k.paddingTop)) * v.y;
4442
- r *= v.x, u *= v.y, c *= v.x, f *= v.y, r += V, u += S, h = le(w), w = Je(h);
4439
+ let h = p, y = Je(h);
4440
+ for (; y && n && m !== h; ) {
4441
+ const v = Ke(y), x = y.getBoundingClientRect(), k = ie(y), V = x.left + (y.clientLeft + parseFloat(k.paddingLeft)) * v.x, S = x.top + (y.clientTop + parseFloat(k.paddingTop)) * v.y;
4442
+ r *= v.x, u *= v.y, c *= v.x, f *= v.y, r += V, u += S, h = le(y), y = Je(h);
4443
4443
  }
4444
4444
  }
4445
4445
  return Ee({
@@ -4453,7 +4453,7 @@ function St(e, t) {
4453
4453
  const o = ze(e).scrollLeft;
4454
4454
  return t ? t.left + o : et(ve(e)).left + o;
4455
4455
  }
4456
- function yo(e, t, o) {
4456
+ function wo(e, t, o) {
4457
4457
  o === void 0 && (o = !1);
4458
4458
  const n = e.getBoundingClientRect(), l = n.left + t.scrollLeft - (o ? 0 : (
4459
4459
  // RTL <body> scrollbar.
@@ -4483,7 +4483,7 @@ function Va(e) {
4483
4483
  const m = et(n);
4484
4484
  u = Ke(n), c.x = m.x + n.clientLeft, c.y = m.y + n.clientTop;
4485
4485
  }
4486
- const p = s && !f && !a ? yo(s, r, !0) : ne(0);
4486
+ const p = s && !f && !a ? wo(s, r, !0) : ne(0);
4487
4487
  return {
4488
4488
  width: o.width * u.x,
4489
4489
  height: o.height * u.y,
@@ -4539,7 +4539,7 @@ function Gt(e, t, o) {
4539
4539
  else if (ae(t))
4540
4540
  n = Oa(t, o);
4541
4541
  else {
4542
- const l = wo(e);
4542
+ const l = yo(e);
4543
4543
  n = {
4544
4544
  x: t.x - l.x,
4545
4545
  y: t.y - l.y,
@@ -4550,7 +4550,7 @@ function Gt(e, t, o) {
4550
4550
  return Ee(n);
4551
4551
  }
4552
4552
  function bo(e, t) {
4553
- const o = ye(e);
4553
+ const o = we(e);
4554
4554
  return o === t || !ae(o) || Ae(o) ? !1 : ie(o).position === "fixed" || bo(o, t);
4555
4555
  }
4556
4556
  function Ba(e, t) {
@@ -4559,10 +4559,10 @@ function Ba(e, t) {
4559
4559
  return o;
4560
4560
  let n = kt(e, []).filter((i) => ae(i) && Ie(i) !== "body"), l = null;
4561
4561
  const a = ie(e).position === "fixed";
4562
- let s = a ? ye(e) : e;
4562
+ let s = a ? we(e) : e;
4563
4563
  for (; ae(s) && !Ae(s); ) {
4564
4564
  const i = ie(s), r = st(s);
4565
- !r && i.position === "fixed" && (l = null), (a ? !r && !l : !r && i.position === "static" && !!l && Ma.has(l.position) || He(s) && !r && bo(e, s)) ? n = n.filter((c) => c !== s) : l = i, s = ye(s);
4565
+ !r && i.position === "fixed" && (l = null), (a ? !r && !l : !r && i.position === "static" && !!l && Ma.has(l.position) || He(s) && !r && bo(e, s)) ? n = n.filter((c) => c !== s) : l = i, s = we(s);
4566
4566
  }
4567
4567
  return t.set(e, n), n;
4568
4568
  }
@@ -4610,7 +4610,7 @@ function Da(e, t, o) {
4610
4610
  r.x = m.x + t.clientLeft, r.y = m.y + t.clientTop;
4611
4611
  } else l && u();
4612
4612
  a && !n && l && u();
4613
- const c = l && !n && !a ? yo(l, i) : ne(0), f = s.left + i.scrollLeft - r.x - c.x, p = s.top + i.scrollTop - r.y - c.y;
4613
+ const c = l && !n && !a ? wo(l, i) : ne(0), f = s.left + i.scrollLeft - r.x - c.x, p = s.top + i.scrollTop - r.y - c.y;
4614
4614
  return {
4615
4615
  x: f,
4616
4616
  y: p,
@@ -4634,11 +4634,11 @@ function xo(e, t) {
4634
4634
  if (Ne(e))
4635
4635
  return o;
4636
4636
  if (!ce(e)) {
4637
- let l = ye(e);
4637
+ let l = we(e);
4638
4638
  for (; l && !Ae(l); ) {
4639
4639
  if (ae(l) && !mt(l))
4640
4640
  return l;
4641
- l = ye(l);
4641
+ l = we(l);
4642
4642
  }
4643
4643
  return o;
4644
4644
  }
@@ -4681,7 +4681,7 @@ const za = {
4681
4681
  ...l.platform,
4682
4682
  _c: n
4683
4683
  };
4684
- return ya(e, t, {
4684
+ return wa(e, t, {
4685
4685
  ...l,
4686
4686
  platform: a
4687
4687
  });
@@ -4700,7 +4700,7 @@ const za = {
4700
4700
  let r = null, u = null, c = null;
4701
4701
  const f = async () => {
4702
4702
  if (!r || !n.value) return;
4703
- const h = n.value.querySelector(".tooltip__arrow"), { x: w, y: v, placement: x, middlewareData: k } = await qa(
4703
+ const h = n.value.querySelector(".tooltip__arrow"), { x: y, y: v, placement: x, middlewareData: k } = await qa(
4704
4704
  r,
4705
4705
  n.value,
4706
4706
  {
@@ -4714,7 +4714,7 @@ const za = {
4714
4714
  }
4715
4715
  );
4716
4716
  if (a.value = x, s.value = {
4717
- left: `${w}px`,
4717
+ left: `${y}px`,
4718
4718
  top: `${v}px`
4719
4719
  }, o.showArrow && k.arrow && h) {
4720
4720
  const { x: V, y: S } = k.arrow, I = x.split("-")[0], $ = {
@@ -4743,7 +4743,7 @@ const za = {
4743
4743
  l.value = !1, r = null;
4744
4744
  }, 50);
4745
4745
  }
4746
- }), (h, w) => (d(), N(ot, { to: "body" }, [
4746
+ }), (h, y) => (d(), W(ot, { to: "body" }, [
4747
4747
  j(Fe, { name: "tooltip-fade" }, {
4748
4748
  default: Q(() => [
4749
4749
  l.value ? (d(), g("div", {
@@ -4845,7 +4845,7 @@ export {
4845
4845
  Ka as Tooltip,
4846
4846
  ni as VirtualScroller,
4847
4847
  Li as tooltipDirective,
4848
- wi as useConfirmDialog,
4849
- yi as useConfirmPopup,
4848
+ yi as useConfirmDialog,
4849
+ wi as useConfirmPopup,
4850
4850
  pi as useToast
4851
4851
  };