prlg-ui 1.8.134 → 1.8.136

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,8 +1,8 @@
1
- import { defineComponent as W, computed as P, resolveComponent as il, createBlock as U, openBlock as d, resolveDynamicComponent as Pe, normalizeClass as z, withCtx as oe, createCommentVNode as O, createElementBlock as y, renderSlot as ee, Fragment as re, createTextVNode as ve, toDisplayString as Y, ref as M, useTemplateRef as Ze, onMounted as he, createElementVNode as w, createVNode as j, renderList as ge, unref as $, mergeModels as ae, useModel as ie, watch as J, shallowRef as Oe, getCurrentScope as Ml, onScopeDispose as Al, shallowReadonly as We, toRefs as Ol, useId as nt, onUnmounted as xe, Transition as Ie, normalizeStyle as le, nextTick as fe, withModifiers as pe, withDirectives as be, vModelRadio as Bl, vModelText as ze, provide as $e, toRef as je, useSlots as ul, inject as ye, vModelCheckbox as cl, vModelDynamic as El, toValue as Ye, isRef as Ll, vModelSelect as Dl, createStaticVNode as zl, Teleport as Le, reactive as Mt, TransitionGroup as Hl, vShow as dl, createApp as Kl } from "vue";
2
- import { P as fl, h as Fl, i as ql, I as vl, e as ct, C as bt, A as Nl, a as ml, f as Wl, M as Yl, S as jl, g as Ul, b as Zl, c as Ql, E as Xl, B as Gl, d as Jl, Q as en, W as qt } from "./QuestionIcon-tK1kUB_h.js";
1
+ import { defineComponent as W, computed as P, resolveComponent as il, createBlock as U, openBlock as d, resolveDynamicComponent as Pe, normalizeClass as z, withCtx as oe, createCommentVNode as O, createElementBlock as y, renderSlot as ee, Fragment as re, createTextVNode as ve, toDisplayString as Y, ref as M, useTemplateRef as Ze, onMounted as ge, createElementVNode as w, createVNode as j, renderList as he, unref as $, mergeModels as ae, useModel as ie, watch as J, shallowRef as Oe, getCurrentScope as Ml, onScopeDispose as Al, shallowReadonly as We, toRefs as Ol, useId as nt, onUnmounted as xe, Transition as Ie, normalizeStyle as le, nextTick as fe, withModifiers as pe, withDirectives as be, vModelRadio as Bl, vModelText as ze, provide as $e, toRef as je, useSlots as ul, inject as ye, vModelCheckbox as cl, vModelDynamic as El, toValue as Ye, isRef as Ll, vModelSelect as Dl, createStaticVNode as zl, Teleport as Le, reactive as Rt, TransitionGroup as Hl, vShow as dl, createApp as Kl } from "vue";
2
+ import { P as fl, h as Fl, i as ql, I as vl, e as ct, C as yt, A as Nl, a as ml, f as Wl, M as Yl, S as jl, g as Ul, b as Zl, c as Ql, E as Xl, B as Gl, d as Jl, Q as en, W as qt } from "./QuestionIcon-tK1kUB_h.js";
3
3
  import { o as tn, d as se } from "./parseFileSize.util-CxVk4CvB.js";
4
4
  import { _ as ue, C as et, a as ln } from "./FileIcon-maHE2Nhr.js";
5
- import { u as ot, _ as wt, E as nn } from "./eventBus.util-msbJpg6N.js";
5
+ import { u as ot, _ as bt, E as nn } from "./eventBus.util-msbJpg6N.js";
6
6
  import { u as Fe } from "./Image-CAGIshx9.js";
7
7
  import { F as Xi, I as Gi } from "./Image-CAGIshx9.js";
8
8
  const on = {
@@ -70,7 +70,7 @@ const on = {
70
70
  }, u = (a) => {
71
71
  a.command && a.command(), l.value = !1;
72
72
  };
73
- return he(() => {
73
+ return ge(() => {
74
74
  tn(t.value, () => {
75
75
  l.value = !1;
76
76
  }, { ignore: [o.value?.$el] });
@@ -80,7 +80,7 @@ const on = {
80
80
  ref: t,
81
81
  class: z(["sleed-deal-menu sleed-deal__items", { "sleed-deal-menu--open": l.value }])
82
82
  }, [
83
- (d(!0), y(re, null, ge(a.items, (i) => (d(), y("div", {
83
+ (d(!0), y(re, null, he(a.items, (i) => (d(), y("div", {
84
84
  class: "sleed-deal-menu__item",
85
85
  key: i.label,
86
86
  onClick: (r) => u(i)
@@ -261,7 +261,7 @@ const on = {
261
261
  start: "end",
262
262
  end: "start"
263
263
  };
264
- function It(e, l, t) {
264
+ function xt(e, l, t) {
265
265
  return De(e, Ge(l, t));
266
266
  }
267
267
  function tt(e, l) {
@@ -276,27 +276,27 @@ function st(e) {
276
276
  function pl(e) {
277
277
  return e === "x" ? "y" : "x";
278
278
  }
279
- function At(e) {
279
+ function Mt(e) {
280
280
  return e === "y" ? "height" : "width";
281
281
  }
282
282
  const $n = /* @__PURE__ */ new Set(["top", "bottom"]);
283
283
  function Be(e) {
284
284
  return $n.has(He(e)) ? "y" : "x";
285
285
  }
286
- function Ot(e) {
286
+ function At(e) {
287
287
  return pl(Be(e));
288
288
  }
289
289
  function Sn(e, l, t) {
290
290
  t === void 0 && (t = !1);
291
- const o = st(e), n = Ot(e), u = At(n);
291
+ const o = st(e), n = At(e), u = Mt(n);
292
292
  let a = n === "x" ? o === (t ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
293
293
  return l.reference[u] > l.floating[u] && (a = ft(a)), [a, ft(a)];
294
294
  }
295
295
  function _n(e) {
296
296
  const l = ft(e);
297
- return [Tt(e), l, Tt(l)];
297
+ return [It(e), l, It(l)];
298
298
  }
299
- function Tt(e) {
299
+ function It(e) {
300
300
  return e.replace(/start|end/g, (l) => kn[l]);
301
301
  }
302
302
  const Nt = ["left", "right"], Wt = ["right", "left"], Cn = ["top", "bottom"], Vn = ["bottom", "top"];
@@ -315,7 +315,7 @@ function xn(e, l, t) {
315
315
  function In(e, l, t, o) {
316
316
  const n = st(e);
317
317
  let u = xn(He(e), t === "start", o);
318
- return n && (u = u.map((a) => a + "-" + n), l && (u = u.concat(u.map(Tt)))), u;
318
+ return n && (u = u.map((a) => a + "-" + n), l && (u = u.concat(u.map(It)))), u;
319
319
  }
320
320
  function ft(e) {
321
321
  return e.replace(/left|right|bottom|top/g, (l) => wn[l]);
@@ -360,7 +360,7 @@ function Yt(e, l, t) {
360
360
  reference: o,
361
361
  floating: n
362
362
  } = e;
363
- const u = Be(l), a = Ot(l), s = At(a), i = He(l), r = u === "y", c = o.x + o.width / 2 - n.width / 2, v = o.y + o.height / 2 - n.height / 2, m = o[s] / 2 - n[s] / 2;
363
+ const u = Be(l), a = At(l), s = Mt(a), i = He(l), r = u === "y", c = o.x + o.width / 2 - n.width / 2, v = o.y + o.height / 2 - n.height / 2, m = o[s] / 2 - n[s] / 2;
364
364
  let b;
365
365
  switch (i) {
366
366
  case "top":
@@ -530,10 +530,10 @@ const Rn = (e) => ({
530
530
  const v = gl(c), m = {
531
531
  x: t,
532
532
  y: o
533
- }, b = Ot(n), h = At(b), S = await a.getDimensions(r), C = b === "y", L = C ? "top" : "left", _ = C ? "bottom" : "right", E = C ? "clientHeight" : "clientWidth", A = u.reference[h] + u.reference[b] - m[b] - u.floating[h], I = m[b] - u.reference[b], g = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(r));
533
+ }, b = At(n), h = Mt(b), S = await a.getDimensions(r), C = b === "y", L = C ? "top" : "left", _ = C ? "bottom" : "right", E = C ? "clientHeight" : "clientWidth", A = u.reference[h] + u.reference[b] - m[b] - u.floating[h], I = m[b] - u.reference[b], g = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(r));
534
534
  let f = g ? g[E] : 0;
535
535
  (!f || !await (a.isElement == null ? void 0 : a.isElement(g))) && (f = s.floating[E] || u.floating[h]);
536
- const p = A / 2 - I / 2, k = f / 2 - S[h] / 2 - 1, R = Ge(v[L], k), B = Ge(v[_], k), q = R, F = f - S[h] - B, K = f / 2 - S[h] / 2 + p, x = It(q, K, F), T = !i.arrow && st(n) != null && K !== x && u.reference[h] / 2 - (K < q ? R : B) - S[h] / 2 < 0, H = T ? K < q ? K - q : K - F : 0;
536
+ const p = A / 2 - I / 2, k = f / 2 - S[h] / 2 - 1, R = Ge(v[L], k), B = Ge(v[_], k), q = R, F = f - S[h] - B, K = f / 2 - S[h] / 2 + p, x = xt(q, K, F), T = !i.arrow && st(n) != null && K !== x && u.reference[h] / 2 - (K < q ? R : B) - S[h] / 2 < 0, H = T ? K < q ? K - q : K - F : 0;
537
537
  return {
538
538
  [b]: m[b] + H,
539
539
  data: {
@@ -762,11 +762,11 @@ const En = function(e) {
762
762
  let b = r[m], h = r[v];
763
763
  if (u) {
764
764
  const C = m === "y" ? "top" : "left", L = m === "y" ? "bottom" : "right", _ = b + c[C], E = b - c[L];
765
- b = It(_, b, E);
765
+ b = xt(_, b, E);
766
766
  }
767
767
  if (a) {
768
768
  const C = v === "y" ? "top" : "left", L = v === "y" ? "bottom" : "right", _ = h + c[C], E = h - c[L];
769
- h = It(_, h, E);
769
+ h = xt(_, h, E);
770
770
  }
771
771
  const S = s.fn({
772
772
  ...l,
@@ -787,11 +787,11 @@ const En = function(e) {
787
787
  }
788
788
  };
789
789
  };
790
- function kt() {
790
+ function wt() {
791
791
  return typeof window < "u";
792
792
  }
793
793
  function qe(e) {
794
- return Bt(e) ? (e.nodeName || "").toLowerCase() : "#document";
794
+ return Ot(e) ? (e.nodeName || "").toLowerCase() : "#document";
795
795
  }
796
796
  function we(e) {
797
797
  var l;
@@ -799,19 +799,19 @@ function we(e) {
799
799
  }
800
800
  function Me(e) {
801
801
  var l;
802
- return (l = (Bt(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : l.documentElement;
802
+ return (l = (Ot(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : l.documentElement;
803
803
  }
804
- function Bt(e) {
805
- return kt() ? e instanceof Node || e instanceof we(e).Node : !1;
804
+ function Ot(e) {
805
+ return wt() ? e instanceof Node || e instanceof we(e).Node : !1;
806
806
  }
807
807
  function Ce(e) {
808
- return kt() ? e instanceof Element || e instanceof we(e).Element : !1;
808
+ return wt() ? e instanceof Element || e instanceof we(e).Element : !1;
809
809
  }
810
810
  function Re(e) {
811
- return kt() ? e instanceof HTMLElement || e instanceof we(e).HTMLElement : !1;
811
+ return wt() ? e instanceof HTMLElement || e instanceof we(e).HTMLElement : !1;
812
812
  }
813
813
  function Zt(e) {
814
- return !kt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof we(e).ShadowRoot;
814
+ return !wt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof we(e).ShadowRoot;
815
815
  }
816
816
  const Dn = /* @__PURE__ */ new Set(["inline", "contents"]);
817
817
  function rt(e) {
@@ -828,7 +828,7 @@ function Hn(e) {
828
828
  return zn.has(qe(e));
829
829
  }
830
830
  const Kn = [":popover-open", ":modal"];
831
- function $t(e) {
831
+ function kt(e) {
832
832
  return Kn.some((l) => {
833
833
  try {
834
834
  return e.matches(l);
@@ -838,22 +838,22 @@ function $t(e) {
838
838
  });
839
839
  }
840
840
  const Fn = ["transform", "translate", "scale", "rotate", "perspective"], qn = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Nn = ["paint", "layout", "strict", "content"];
841
- function Et(e) {
842
- const l = Lt(), t = Ce(e) ? Ve(e) : e;
841
+ function Bt(e) {
842
+ const l = Et(), t = Ce(e) ? Ve(e) : e;
843
843
  return Fn.some((o) => t[o] ? t[o] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !l && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !l && (t.filter ? t.filter !== "none" : !1) || qn.some((o) => (t.willChange || "").includes(o)) || Nn.some((o) => (t.contain || "").includes(o));
844
844
  }
845
845
  function Wn(e) {
846
846
  let l = Ee(e);
847
847
  for (; Re(l) && !Je(l); ) {
848
- if (Et(l))
848
+ if (Bt(l))
849
849
  return l;
850
- if ($t(l))
850
+ if (kt(l))
851
851
  return null;
852
852
  l = Ee(l);
853
853
  }
854
854
  return null;
855
855
  }
856
- function Lt() {
856
+ function Et() {
857
857
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
858
858
  }
859
859
  const Yn = /* @__PURE__ */ new Set(["html", "body", "#document"]);
@@ -863,7 +863,7 @@ function Je(e) {
863
863
  function Ve(e) {
864
864
  return we(e).getComputedStyle(e);
865
865
  }
866
- function St(e) {
866
+ function $t(e) {
867
867
  return Ce(e) ? {
868
868
  scrollLeft: e.scrollLeft,
869
869
  scrollTop: e.scrollTop
@@ -893,12 +893,12 @@ function lt(e, l, t) {
893
893
  l === void 0 && (l = []), t === void 0 && (t = !0);
894
894
  const n = hl(e), u = n === ((o = e.ownerDocument) == null ? void 0 : o.body), a = we(n);
895
895
  if (u) {
896
- const s = Pt(a);
896
+ const s = Tt(a);
897
897
  return l.concat(a, a.visualViewport || [], rt(n) ? n : [], s && t ? lt(s) : []);
898
898
  }
899
899
  return l.concat(n, lt(n, [], t));
900
900
  }
901
- function Pt(e) {
901
+ function Tt(e) {
902
902
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
903
903
  }
904
904
  function yl(e) {
@@ -911,11 +911,11 @@ function yl(e) {
911
911
  $: s
912
912
  };
913
913
  }
914
- function Dt(e) {
914
+ function Lt(e) {
915
915
  return Ce(e) ? e : e.contextElement;
916
916
  }
917
917
  function Qe(e) {
918
- const l = Dt(e);
918
+ const l = Lt(e);
919
919
  if (!Re(l))
920
920
  return Te(1);
921
921
  const t = l.getBoundingClientRect(), {
@@ -932,7 +932,7 @@ function Qe(e) {
932
932
  const jn = /* @__PURE__ */ Te(0);
933
933
  function bl(e) {
934
934
  const l = we(e);
935
- return !Lt() || !l.visualViewport ? jn : {
935
+ return !Et() || !l.visualViewport ? jn : {
936
936
  x: l.visualViewport.offsetLeft,
937
937
  y: l.visualViewport.offsetTop
938
938
  };
@@ -942,17 +942,17 @@ function Un(e, l, t) {
942
942
  }
943
943
  function Ke(e, l, t, o) {
944
944
  l === void 0 && (l = !1), t === void 0 && (t = !1);
945
- const n = e.getBoundingClientRect(), u = Dt(e);
945
+ const n = e.getBoundingClientRect(), u = Lt(e);
946
946
  let a = Te(1);
947
947
  l && (o ? Ce(o) && (a = Qe(o)) : a = Qe(e));
948
948
  const s = Un(u, t, o) ? bl(u) : Te(0);
949
949
  let i = (n.left + s.x) / a.x, r = (n.top + s.y) / a.y, c = n.width / a.x, v = n.height / a.y;
950
950
  if (u) {
951
951
  const m = we(u), b = o && Ce(o) ? we(o) : o;
952
- let h = m, S = Pt(h);
952
+ let h = m, S = Tt(h);
953
953
  for (; S && o && b !== h; ) {
954
954
  const C = Qe(S), L = S.getBoundingClientRect(), _ = Ve(S), E = L.left + (S.clientLeft + parseFloat(_.paddingLeft)) * C.x, A = L.top + (S.clientTop + parseFloat(_.paddingTop)) * C.y;
955
- i *= C.x, r *= C.y, c *= C.x, v *= C.y, i += E, r += A, h = we(S), S = Pt(h);
955
+ i *= C.x, r *= C.y, c *= C.x, v *= C.y, i += E, r += A, h = we(S), S = Tt(h);
956
956
  }
957
957
  }
958
958
  return vt({
@@ -962,12 +962,12 @@ function Ke(e, l, t, o) {
962
962
  y: r
963
963
  });
964
964
  }
965
- function _t(e, l) {
966
- const t = St(e).scrollLeft;
965
+ function St(e, l) {
966
+ const t = $t(e).scrollLeft;
967
967
  return l ? l.left + t : Ke(Me(e)).left + t;
968
968
  }
969
969
  function wl(e, l) {
970
- const t = e.getBoundingClientRect(), o = t.left + l.scrollLeft - _t(e, t), n = t.top + l.scrollTop;
970
+ const t = e.getBoundingClientRect(), o = t.left + l.scrollLeft - St(e, t), n = t.top + l.scrollTop;
971
971
  return {
972
972
  x: o,
973
973
  y: n
@@ -980,7 +980,7 @@ function Zn(e) {
980
980
  offsetParent: o,
981
981
  strategy: n
982
982
  } = e;
983
- const u = n === "fixed", a = Me(o), s = l ? $t(l.floating) : !1;
983
+ const u = n === "fixed", a = Me(o), s = l ? kt(l.floating) : !1;
984
984
  if (o === a || s && u)
985
985
  return t;
986
986
  let i = {
@@ -988,7 +988,7 @@ function Zn(e) {
988
988
  scrollTop: 0
989
989
  }, r = Te(1);
990
990
  const c = Te(0), v = Re(o);
991
- if ((v || !v && !u) && ((qe(o) !== "body" || rt(a)) && (i = St(o)), Re(o))) {
991
+ if ((v || !v && !u) && ((qe(o) !== "body" || rt(a)) && (i = $t(o)), Re(o))) {
992
992
  const b = Ke(o);
993
993
  r = Qe(o), c.x = b.x + o.clientLeft, c.y = b.y + o.clientTop;
994
994
  }
@@ -1004,8 +1004,8 @@ function Qn(e) {
1004
1004
  return Array.from(e.getClientRects());
1005
1005
  }
1006
1006
  function Xn(e) {
1007
- const l = Me(e), t = St(e), o = e.ownerDocument.body, n = De(l.scrollWidth, l.clientWidth, o.scrollWidth, o.clientWidth), u = De(l.scrollHeight, l.clientHeight, o.scrollHeight, o.clientHeight);
1008
- let a = -t.scrollLeft + _t(e);
1007
+ const l = Me(e), t = $t(e), o = e.ownerDocument.body, n = De(l.scrollWidth, l.clientWidth, o.scrollWidth, o.clientWidth), u = De(l.scrollHeight, l.clientHeight, o.scrollHeight, o.clientHeight);
1008
+ let a = -t.scrollLeft + St(e);
1009
1009
  const s = -t.scrollTop;
1010
1010
  return Ve(o).direction === "rtl" && (a += De(l.clientWidth, o.clientWidth) - n), {
1011
1011
  width: n,
@@ -1020,10 +1020,10 @@ function Gn(e, l) {
1020
1020
  let u = o.clientWidth, a = o.clientHeight, s = 0, i = 0;
1021
1021
  if (n) {
1022
1022
  u = n.width, a = n.height;
1023
- const c = Lt();
1023
+ const c = Et();
1024
1024
  (!c || c && l === "fixed") && (s = n.offsetLeft, i = n.offsetTop);
1025
1025
  }
1026
- const r = _t(o);
1026
+ const r = St(o);
1027
1027
  if (r <= 0) {
1028
1028
  const c = o.ownerDocument, v = c.body, m = getComputedStyle(v), b = c.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, h = Math.abs(o.clientWidth - v.clientWidth - b);
1029
1029
  h <= Qt && (u -= h);
@@ -1076,7 +1076,7 @@ function to(e, l) {
1076
1076
  const u = Ve(e).position === "fixed";
1077
1077
  let a = u ? Ee(e) : e;
1078
1078
  for (; Ce(a) && !Je(a); ) {
1079
- const s = Ve(a), i = Et(a);
1079
+ const s = Ve(a), i = Bt(a);
1080
1080
  !i && s.position === "fixed" && (n = null), (u ? !i && !n : !i && s.position === "static" && !!n && Jn.has(n.position) || rt(a) && !i && kl(e, a)) ? o = o.filter((c) => c !== a) : n = s, a = Ee(a);
1081
1081
  }
1082
1082
  return l.set(e, o), o;
@@ -1088,7 +1088,7 @@ function lo(e) {
1088
1088
  rootBoundary: o,
1089
1089
  strategy: n
1090
1090
  } = e;
1091
- const a = [...t === "clippingAncestors" ? $t(l) ? [] : to(l, this._c) : [].concat(t), o], s = a[0], i = a.reduce((r, c) => {
1091
+ const a = [...t === "clippingAncestors" ? kt(l) ? [] : to(l, this._c) : [].concat(t), o], s = a[0], i = a.reduce((r, c) => {
1092
1092
  const v = Xt(l, c, n);
1093
1093
  return r.top = De(v.top, r.top), r.right = Ge(v.right, r.right), r.bottom = Ge(v.bottom, r.bottom), r.left = De(v.left, r.left), r;
1094
1094
  }, Xt(l, s, n));
@@ -1117,10 +1117,10 @@ function oo(e, l, t) {
1117
1117
  };
1118
1118
  const i = Te(0);
1119
1119
  function r() {
1120
- i.x = _t(n);
1120
+ i.x = St(n);
1121
1121
  }
1122
1122
  if (o || !o && !u)
1123
- if ((qe(l) !== "body" || rt(n)) && (s = St(l)), o) {
1123
+ if ((qe(l) !== "body" || rt(n)) && (s = $t(l)), o) {
1124
1124
  const b = Ke(l, !0, u, l);
1125
1125
  i.x = b.x + l.clientLeft, i.y = b.y + l.clientTop;
1126
1126
  } else n && r();
@@ -1133,7 +1133,7 @@ function oo(e, l, t) {
1133
1133
  height: a.height
1134
1134
  };
1135
1135
  }
1136
- function Vt(e) {
1136
+ function Ct(e) {
1137
1137
  return Ve(e).position === "static";
1138
1138
  }
1139
1139
  function Gt(e, l) {
@@ -1146,21 +1146,21 @@ function Gt(e, l) {
1146
1146
  }
1147
1147
  function $l(e, l) {
1148
1148
  const t = we(e);
1149
- if ($t(e))
1149
+ if (kt(e))
1150
1150
  return t;
1151
1151
  if (!Re(e)) {
1152
1152
  let n = Ee(e);
1153
1153
  for (; n && !Je(n); ) {
1154
- if (Ce(n) && !Vt(n))
1154
+ if (Ce(n) && !Ct(n))
1155
1155
  return n;
1156
1156
  n = Ee(n);
1157
1157
  }
1158
1158
  return t;
1159
1159
  }
1160
1160
  let o = Gt(e, l);
1161
- for (; o && Hn(o) && Vt(o); )
1161
+ for (; o && Hn(o) && Ct(o); )
1162
1162
  o = Gt(o, l);
1163
- return o && Je(o) && Vt(o) && !Et(o) ? t : o || Wn(e) || t;
1163
+ return o && Je(o) && Ct(o) && !Bt(o) ? t : o || Wn(e) || t;
1164
1164
  }
1165
1165
  const ao = async function(e) {
1166
1166
  const l = this.getOffsetParent || $l, t = this.getDimensions, o = await t(e.floating);
@@ -1246,7 +1246,7 @@ function uo(e, l, t, o) {
1246
1246
  elementResize: a = typeof ResizeObserver == "function",
1247
1247
  layoutShift: s = typeof IntersectionObserver == "function",
1248
1248
  animationFrame: i = !1
1249
- } = o, r = Dt(e), c = n || u ? [...r ? lt(r) : [], ...lt(l)] : [];
1249
+ } = o, r = Lt(e), c = n || u ? [...r ? lt(r) : [], ...lt(l)] : [];
1250
1250
  c.forEach((L) => {
1251
1251
  n && L.addEventListener("scroll", t, {
1252
1252
  passive: !0
@@ -1274,7 +1274,7 @@ function uo(e, l, t, o) {
1274
1274
  }), v?.(), (L = b) == null || L.disconnect(), b = null, i && cancelAnimationFrame(h);
1275
1275
  };
1276
1276
  }
1277
- const pt = En, gt = Ln, _l = Mn, Jt = An, Cl = Rn, zt = (e, l, t) => {
1277
+ const pt = En, Dt = Ln, _l = Mn, Jt = An, Cl = Rn, zt = (e, l, t) => {
1278
1278
  const o = /* @__PURE__ */ new Map(), n = {
1279
1279
  platform: ro,
1280
1280
  ...t
@@ -1290,10 +1290,10 @@ const pt = En, gt = Ln, _l = Mn, Jt = An, Cl = Rn, zt = (e, l, t) => {
1290
1290
  function co(e) {
1291
1291
  return e != null && typeof e == "object" && "$el" in e;
1292
1292
  }
1293
- function Rt(e) {
1293
+ function Pt(e) {
1294
1294
  if (co(e)) {
1295
1295
  const l = e.$el;
1296
- return Bt(l) && qe(l) === "#comment" ? null : l;
1296
+ return Ot(l) && qe(l) === "#comment" ? null : l;
1297
1297
  }
1298
1298
  return e;
1299
1299
  }
@@ -1305,7 +1305,7 @@ function fo(e) {
1305
1305
  name: "arrow",
1306
1306
  options: e,
1307
1307
  fn(l) {
1308
- const t = Rt(Ue(e.element));
1308
+ const t = Pt(Ue(e.element));
1309
1309
  return t == null ? {} : Cl({
1310
1310
  element: t,
1311
1311
  padding: e.padding
@@ -1334,7 +1334,7 @@ function tl(e, l, t) {
1334
1334
  }), i = P(() => {
1335
1335
  var f;
1336
1336
  return (f = Ue(t.transform)) != null ? f : !0;
1337
- }), r = P(() => Rt(e.value)), c = P(() => Rt(l.value)), v = M(0), m = M(0), b = M(s.value), h = M(a.value), S = Oe({}), C = M(!1), L = P(() => {
1337
+ }), r = P(() => Pt(e.value)), c = P(() => Pt(l.value)), v = M(0), m = M(0), b = M(s.value), h = M(a.value), S = Oe({}), C = M(!1), L = P(() => {
1338
1338
  const f = {
1339
1339
  position: b.value,
1340
1340
  left: "0",
@@ -1445,9 +1445,12 @@ const vo = {
1445
1445
  crossAxis: n.value?.includes("start") ? -Number(h.value.split("px")[0]) : n.value?.includes("end") ? Number(h.value.split("px")[0]) : void 0
1446
1446
  }), C = M([
1447
1447
  Jt(),
1448
- gt({ padding: 8, crossAxis: !1, mainAxis: !0 }),
1449
1448
  pt(S.value),
1450
- fo({ element: m })
1449
+ fo({ element: m }),
1450
+ Dt({
1451
+ crossAxis: n.value.includes("right") || n.value.includes("left"),
1452
+ mainAxis: n.value.includes("top") || n.value.includes("bottom")
1453
+ })
1451
1454
  ]), {
1452
1455
  floatingStyles: L,
1453
1456
  middlewareData: _,
@@ -1458,7 +1461,7 @@ const vo = {
1458
1461
  middleware: C
1459
1462
  }), I = M("left-start"), { floatingStyles: g, update: f } = tl(v, b, {
1460
1463
  placement: I,
1461
- middleware: [Jt(), gt({ padding: 8 }), pt(8)]
1464
+ middleware: [Jt(), pt(8)]
1462
1465
  }), p = nt(), k = M(!1), R = M(!1), B = M(!1), { lockScroll: q, unlockScroll: F } = ot(), K = M(null), x = M(null), T = () => {
1463
1466
  E(), R.value && f();
1464
1467
  }, H = P(() => i && i.value !== void 0), Z = P({
@@ -1527,7 +1530,7 @@ const vo = {
1527
1530
  E();
1528
1531
  },
1529
1532
  { deep: !0 }
1530
- ), he(() => {
1533
+ ), ge(() => {
1531
1534
  document.addEventListener("click", ne);
1532
1535
  let te = null, me = null;
1533
1536
  const it = () => {
@@ -1545,8 +1548,8 @@ const vo = {
1545
1548
  }
1546
1549
  x.value = new MutationObserver((Ne) => {
1547
1550
  let Ft = !1;
1548
- Ne.forEach((Ct) => {
1549
- (Ct.type === "childList" || Ct.type === "attributes" && ["style", "class"].includes(Ct.attributeName || "")) && (Ft = !0);
1551
+ Ne.forEach((_t) => {
1552
+ (_t.type === "childList" || _t.type === "attributes" && ["style", "class"].includes(_t.attributeName || "")) && (Ft = !0);
1550
1553
  }), Ft && setTimeout(T, 10);
1551
1554
  }), x.value.observe(document.body, {
1552
1555
  childList: !0,
@@ -1635,7 +1638,7 @@ const vo = {
1635
1638
  ])
1636
1639
  ], 2));
1637
1640
  }
1638
- }), ho = /* @__PURE__ */ ue(go, [["__scopeId", "data-v-a8804bfb"]]), yo = { class: "trigger" }, bo = { class: "description-column" }, wo = /* @__PURE__ */ W({
1641
+ }), ho = /* @__PURE__ */ ue(go, [["__scopeId", "data-v-587a2a2a"]]), yo = { class: "trigger" }, bo = { class: "description-column" }, wo = /* @__PURE__ */ W({
1639
1642
  __name: "DescriptionColumn",
1640
1643
  props: {
1641
1644
  description: {}
@@ -1690,7 +1693,7 @@ const vo = {
1690
1693
  class: z(o.value)
1691
1694
  }, [
1692
1695
  w("tr", $o, [
1693
- (d(!0), y(re, null, ge(a.columns, (i, r) => (d(), y("th", {
1696
+ (d(!0), y(re, null, he(a.columns, (i, r) => (d(), y("th", {
1694
1697
  class: z(n(i)),
1695
1698
  key: r,
1696
1699
  style: le(u(i))
@@ -1784,7 +1787,7 @@ const vo = {
1784
1787
  style: le(o.value),
1785
1788
  onClick: u[1] || (u[1] = (a) => t("rowClickHandler", { data: n.item, index: n.rowIndex }))
1786
1789
  }, [
1787
- (d(!0), y(re, null, ge(n.columns, (a) => (d(), U(Io, {
1790
+ (d(!0), y(re, null, he(n.columns, (a) => (d(), U(Io, {
1788
1791
  key: a.field || a.header,
1789
1792
  column: a,
1790
1793
  item: n.item,
@@ -1818,7 +1821,7 @@ const vo = {
1818
1821
  }), r = P(() => !e.virtualScroll || !e.virtualScroll.enable ? e.data : e.data.slice(s.value, i.value)), c = (m) => {
1819
1822
  m ? u.value = m.scrollTop : n.value && (u.value = n.value.scrollTop);
1820
1823
  };
1821
- he(async () => {
1824
+ ge(async () => {
1822
1825
  e.virtualScroll && e.virtualScroll.enable && n.value && (await fe(), a.value = n.value.clientHeight);
1823
1826
  });
1824
1827
  const v = (m, b) => e.dataKey && m[e.dataKey] !== void 0 ? `row-${m[e.dataKey]}` : m.id ? `row-${m.id}` : `row-${b}`;
@@ -1841,7 +1844,7 @@ const vo = {
1841
1844
  colspan: m.columns.length
1842
1845
  }, null, 8, Po)
1843
1846
  ], 4)) : O("", !0),
1844
- (d(!0), y(re, null, ge(r.value, (h, S) => (d(), U(nl, {
1847
+ (d(!0), y(re, null, he(r.value, (h, S) => (d(), U(nl, {
1845
1848
  key: v(h, s.value + S),
1846
1849
  rowIndex: s.value + S,
1847
1850
  item: h,
@@ -1867,7 +1870,7 @@ const vo = {
1867
1870
  class: z(["table-body", { "table-body--scroller": m.scroller && m.scroller.enable }]),
1868
1871
  style: le({ maxHeight: `${m.scroller && m.scroller.height}px` })
1869
1872
  }, [
1870
- (d(!0), y(re, null, ge(m.data, (h, S) => (d(), U(nl, {
1873
+ (d(!0), y(re, null, he(m.data, (h, S) => (d(), U(nl, {
1871
1874
  key: v(h, S),
1872
1875
  rowIndex: S,
1873
1876
  item: h,
@@ -1885,7 +1888,7 @@ const vo = {
1885
1888
  }), ol = /* @__PURE__ */ ue(Mo, [["__scopeId", "data-v-795ebd2e"]]), Ao = { class: "tag__content" }, Oo = {
1886
1889
  key: 0,
1887
1890
  class: "tag__icon"
1888
- }, Bo = { class: "tag__text" }, ht = /* @__PURE__ */ W({
1891
+ }, Bo = { class: "tag__text" }, gt = /* @__PURE__ */ W({
1889
1892
  __name: "Tag",
1890
1893
  props: {
1891
1894
  removable: { type: Boolean, default: !1 },
@@ -2126,7 +2129,7 @@ const vo = {
2126
2129
  () => {
2127
2130
  n.value && F();
2128
2131
  }
2129
- ), he(() => {
2132
+ ), ge(() => {
2130
2133
  document.addEventListener("click", K), window.addEventListener("resize", F), window.addEventListener("scroll", F);
2131
2134
  }), xe(() => {
2132
2135
  document.removeEventListener("click", K), window.removeEventListener("resize", F), window.removeEventListener("scroll", F);
@@ -2149,7 +2152,7 @@ const vo = {
2149
2152
  }, [
2150
2153
  w("div", Ho, [
2151
2154
  x.multiple && m.value.length ? (d(), y("div", Ko, [
2152
- (d(!0), y(re, null, ge(S.value, (H) => (d(), U($(ht), {
2155
+ (d(!0), y(re, null, he(S.value, (H) => (d(), U($(gt), {
2153
2156
  key: A(H),
2154
2157
  removable: "",
2155
2158
  variant: "secondary",
@@ -2160,7 +2163,7 @@ const vo = {
2160
2163
  ]),
2161
2164
  _: 2
2162
2165
  }, 1032, ["onRemove"]))), 128)),
2163
- C.value > 0 ? (d(), U($(ht), {
2166
+ C.value > 0 ? (d(), U($(gt), {
2164
2167
  key: 0,
2165
2168
  variant: "info"
2166
2169
  }, {
@@ -2182,7 +2185,7 @@ const vo = {
2182
2185
  w("div", {
2183
2186
  class: z(["dropdown__arrow", { "dropdown__arrow--rotated": n.value }])
2184
2187
  }, [
2185
- j($(bt))
2188
+ j($(yt))
2186
2189
  ], 2),
2187
2190
  x.clearable && h.value ? (d(), y("button", {
2188
2191
  key: 0,
@@ -2192,7 +2195,7 @@ const vo = {
2192
2195
  j($(et))
2193
2196
  ])) : O("", !0)
2194
2197
  ], 2),
2195
- j($(wt), {
2198
+ j($(bt), {
2196
2199
  show: n.value,
2197
2200
  "z-index": v.value
2198
2201
  }, {
@@ -2219,7 +2222,7 @@ const vo = {
2219
2222
  ])) : O("", !0),
2220
2223
  w("div", Wo, [
2221
2224
  x.loading ? (d(), y("div", Yo, "Загрузка...")) : (d(), y(re, { key: 1 }, [
2222
- (d(!0), y(re, null, ge(L.value, (H) => (d(), y("div", {
2225
+ (d(!0), y(re, null, he(L.value, (H) => (d(), y("div", {
2223
2226
  key: A(H),
2224
2227
  class: z(["dropdown__option", {
2225
2228
  "dropdown__option--disabled": H.disabled
@@ -2307,7 +2310,7 @@ const vo = {
2307
2310
  j($(Nl))
2308
2311
  ], 8, la),
2309
2312
  w("div", na, [
2310
- (d(!0), y(re, null, ge(u.value, (i) => (d(), y("button", {
2313
+ (d(!0), y(re, null, he(u.value, (i) => (d(), y("button", {
2311
2314
  class: z(["paginator-button paginator__page", { "paginator-button--active": l.value === i }]),
2312
2315
  key: i,
2313
2316
  onClick: (r) => l.value = Number(i)
@@ -2470,7 +2473,7 @@ const vo = {
2470
2473
  });
2471
2474
  }
2472
2475
  };
2473
- he(async () => {
2476
+ ge(async () => {
2474
2477
  if (e.virtualScroll && e.virtualScroll.enable && s.value) {
2475
2478
  await fe();
2476
2479
  const p = document.querySelector(
@@ -2903,7 +2906,7 @@ const vo = {
2903
2906
  V && V.length > 0 && a.value.length >= t.minQueryLength && (n.value = !0), n.value && Z();
2904
2907
  }), J(() => t.loading, (V) => {
2905
2908
  V && a.value.length >= t.minQueryLength && (n.value = !0), n.value && Z();
2906
- }), he(() => {
2909
+ }), ge(() => {
2907
2910
  document.addEventListener("click", X), window.addEventListener("resize", Z), window.addEventListener("scroll", Z);
2908
2911
  }), xe(() => {
2909
2912
  document.removeEventListener("click", X), window.removeEventListener("resize", Z), window.removeEventListener("scroll", Z);
@@ -2926,7 +2929,7 @@ const vo = {
2926
2929
  }, [
2927
2930
  w("div", Ta, [
2928
2931
  V.multiple && h.value.length ? (d(), y("div", Pa, [
2929
- (d(!0), y(re, null, ge(L.value, (N) => (d(), U($(ht), {
2932
+ (d(!0), y(re, null, he(L.value, (N) => (d(), U($(gt), {
2930
2933
  key: g(N),
2931
2934
  removable: "",
2932
2935
  variant: "secondary",
@@ -2937,7 +2940,7 @@ const vo = {
2937
2940
  ]),
2938
2941
  _: 2
2939
2942
  }, 1032, ["onRemove"]))), 128)),
2940
- _.value > 0 ? (d(), U($(ht), {
2943
+ _.value > 0 ? (d(), U($(gt), {
2941
2944
  key: 0,
2942
2945
  variant: "info"
2943
2946
  }, {
@@ -2965,7 +2968,7 @@ const vo = {
2965
2968
  w("div", {
2966
2969
  class: z(["autocomplete__arrow", { "autocomplete__arrow--rotated": n.value }])
2967
2970
  }, [
2968
- j($(bt))
2971
+ j($(yt))
2969
2972
  ], 2),
2970
2973
  V.clearable && (S.value || a.value) ? (d(), y("button", {
2971
2974
  key: 0,
@@ -2975,7 +2978,7 @@ const vo = {
2975
2978
  j($(et))
2976
2979
  ])) : O("", !0)
2977
2980
  ], 2),
2978
- j($(wt), {
2981
+ j($(bt), {
2979
2982
  show: n.value,
2980
2983
  "z-index": b.value
2981
2984
  }, {
@@ -2990,7 +2993,7 @@ const vo = {
2990
2993
  }, [
2991
2994
  w("div", Ma, [
2992
2995
  V.loading ? (d(), y("div", Aa, " Загрузка... ")) : (d(), y(re, { key: 1 }, [
2993
- (d(!0), y(re, null, ge(E.value, (N, G) => (d(), y("div", {
2996
+ (d(!0), y(re, null, he(E.value, (N, G) => (d(), y("div", {
2994
2997
  key: g(N),
2995
2998
  class: z(["autocomplete__option", {
2996
2999
  "autocomplete__option--disabled": N.disabled,
@@ -3543,7 +3546,7 @@ const di = /* @__PURE__ */ W({
3543
3546
  [`input-number--icon-${e.iconPosition}`]: e.icon
3544
3547
  }
3545
3548
  ]);
3546
- return he(() => {
3549
+ return ge(() => {
3547
3550
  let r = t.value;
3548
3551
  const c = e.countInPackage || e.min;
3549
3552
  r < c && (r = c), e.max && r > e.max && (r = e.max), e.countInPackage && r % e.countInPackage !== 0 && (r = Math.floor(r / e.countInPackage) * e.countInPackage + e.countInPackage), r !== t.value && (t.value = r, o("change", r)), n.value = e.formatter ? e.formatter(t.value) : t.value;
@@ -3646,7 +3649,7 @@ const di = /* @__PURE__ */ W({
3646
3649
  typeof n == "object" ? l.value = l.value === n[e.optionValue] ? null : n[e.optionValue] : l.value = l.value === n ? null : n;
3647
3650
  };
3648
3651
  return (n, u) => (d(), y("div", Za, [
3649
- (d(!0), y(re, null, ge(n.options, (a) => (d(), y("button", {
3652
+ (d(!0), y(re, null, he(n.options, (a) => (d(), y("button", {
3650
3653
  class: z(["select-buttons__item", { "select-buttons__item--selected": t(a) }]),
3651
3654
  key: typeof a == "object" ? a[n.optionValue] : a,
3652
3655
  onClick: (s) => o(a)
@@ -3744,7 +3747,7 @@ const di = /* @__PURE__ */ W({
3744
3747
  n.value = null;
3745
3748
  };
3746
3749
  return (r, c) => (d(), y("div", ts, [
3747
- (d(!0), y(re, null, ge(r.maxStars, (v) => (d(), y("button", {
3750
+ (d(!0), y(re, null, he(r.maxStars, (v) => (d(), y("button", {
3748
3751
  key: v,
3749
3752
  type: "button",
3750
3753
  class: z(["star-button", { "star-button--active": v <= t.value }]),
@@ -3802,7 +3805,7 @@ const di = /* @__PURE__ */ W({
3802
3805
  }[e.size];
3803
3806
  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 < r && (i.style.height = r * e.rows + "px");
3804
3807
  };
3805
- he(() => {
3808
+ ge(() => {
3806
3809
  a();
3807
3810
  }), J(() => [e.rows, e.maxHeight], () => {
3808
3811
  a();
@@ -3888,7 +3891,7 @@ const di = /* @__PURE__ */ W({
3888
3891
  value: "",
3889
3892
  disabled: ""
3890
3893
  }, "Выберите время", -1)),
3891
- (d(!0), y(re, null, ge(n.value, (i) => (d(), y("option", {
3894
+ (d(!0), y(re, null, he(n.value, (i) => (d(), y("option", {
3892
3895
  key: i.value,
3893
3896
  value: i.value
3894
3897
  }, Y(i.label), 9, cs))), 128))
@@ -3952,7 +3955,7 @@ function vs(e, l, t) {
3952
3955
  function ms(e) {
3953
3956
  return e.replace(/yyyy/g, "YYYY").replace(/yy/g, "YYYY").replace(/mm/g, "MM").replace(/dd/g, "DD").replace(/y/g, "YY").replace(/m/g, "M").replace(/d/g, "D");
3954
3957
  }
3955
- function yt(e, l) {
3958
+ function ht(e, l) {
3956
3959
  try {
3957
3960
  const t = ms(l), o = se(e, t, !0);
3958
3961
  if (o.isValid())
@@ -3963,7 +3966,7 @@ function yt(e, l) {
3963
3966
  return null;
3964
3967
  }
3965
3968
  }
3966
- function xt(e, l, t, o) {
3969
+ function Vt(e, l, t, o) {
3967
3970
  const n = {
3968
3971
  selected: !1,
3969
3972
  rangeStart: !1,
@@ -3989,7 +3992,7 @@ function xt(e, l, t, o) {
3989
3992
  return n.selected = a, n.rangeEnd = a, n;
3990
3993
  }
3991
3994
  if (l.from && l.from !== "" && l.to && l.to !== "") {
3992
- const a = yt(l.from, t), s = yt(l.to, t);
3995
+ const a = ht(l.from, t), s = ht(l.to, t);
3993
3996
  if (!a || !s) return n;
3994
3997
  const i = a.isBefore(s) ? a : s, r = a.isBefore(s) ? s : a;
3995
3998
  e.isSame(i, "day") ? (n.selected = !0, n.rangeStart = !0) : e.isSame(r, "day") ? (n.selected = !0, n.rangeEnd = !0) : e.isAfter(i, "day") && e.isBefore(r, "day") && (n.inRange = !0);
@@ -3999,7 +4002,7 @@ function xt(e, l, t, o) {
3999
4002
  function ps(e, l, t, o = null, n = "dd/mm/yy", u = null, a = null, s = !1) {
4000
4003
  const i = [], r = se().year(e).month(l).date(1), c = r.endOf("month"), v = (r.day() + 6) % 7;
4001
4004
  for (let b = v - 1; b >= 0; b--) {
4002
- const h = r.subtract(b + 1, "day"), S = xt(h, o, n, s);
4005
+ const h = r.subtract(b + 1, "day"), S = Vt(h, o, n, s);
4003
4006
  i.push({
4004
4007
  value: Xe(h, n),
4005
4008
  label: h.format("D"),
@@ -4013,7 +4016,7 @@ function ps(e, l, t, o = null, n = "dd/mm/yy", u = null, a = null, s = !1) {
4013
4016
  });
4014
4017
  }
4015
4018
  for (let b = 1; b <= c.date(); b++) {
4016
- const h = se().year(e).month(l).date(b), S = h.isSame(t, "day"), C = xt(h, o, n, s), L = vs(h, u, a);
4019
+ const h = se().year(e).month(l).date(b), S = h.isSame(t, "day"), C = Vt(h, o, n, s), L = vs(h, u, a);
4017
4020
  i.push({
4018
4021
  value: Xe(h, n),
4019
4022
  label: String(b),
@@ -4030,7 +4033,7 @@ function ps(e, l, t, o = null, n = "dd/mm/yy", u = null, a = null, s = !1) {
4030
4033
  if (m !== 0) {
4031
4034
  const b = 7 - m;
4032
4035
  for (let h = 1; h <= b; h++) {
4033
- const S = c.add(h, "day"), C = xt(S, o, n, s);
4036
+ const S = c.add(h, "day"), C = Vt(S, o, n, s);
4034
4037
  i.push({
4035
4038
  value: Xe(S, n),
4036
4039
  label: S.format("D"),
@@ -4219,7 +4222,7 @@ const bs = {
4219
4222
  if (s.value.from === g.value)
4220
4223
  s.value = null, i.value = !1;
4221
4224
  else if (i.value) {
4222
- const f = yt(s.value.from, l.format || "dd/mm/yy"), p = yt(g.value, l.format || "dd/mm/yy");
4225
+ const f = ht(s.value.from, l.format || "dd/mm/yy"), p = ht(g.value, l.format || "dd/mm/yy");
4223
4226
  f && p ? f.isBefore(p) || f.isSame(p) ? s.value = { from: s.value.from, to: g.value } : s.value = { from: g.value, to: s.value.from } : s.value = { from: s.value.from, to: g.value }, i.value = !1;
4224
4227
  } else
4225
4228
  s.value = { from: g.value, to: "" }, i.value = !0;
@@ -4278,7 +4281,7 @@ const bs = {
4278
4281
  zl('<div class="calendar__body-header__item" data-v-b8e6b40b><span data-v-b8e6b40b>Пн</span></div><div class="calendar__body-header__item" data-v-b8e6b40b><span data-v-b8e6b40b>Вт</span></div><div class="calendar__body-header__item" data-v-b8e6b40b><span data-v-b8e6b40b>Ср</span></div><div class="calendar__body-header__item" data-v-b8e6b40b><span data-v-b8e6b40b>Чт</span></div><div class="calendar__body-header__item" data-v-b8e6b40b><span data-v-b8e6b40b>Пт</span></div><div class="calendar__body-header__item" data-v-b8e6b40b><span data-v-b8e6b40b>Сб</span></div><div class="calendar__body-header__item" data-v-b8e6b40b><span data-v-b8e6b40b>Вс</span></div>', 7)
4279
4282
  ])])) : O("", !0),
4280
4283
  w("div", Cs, [
4281
- (d(!0), y(re, null, ge($(h), (p) => (d(), y("button", {
4284
+ (d(!0), y(re, null, he($(h), (p) => (d(), y("button", {
4282
4285
  key: p.value,
4283
4286
  class: z(A(p)),
4284
4287
  disabled: p.disabled,
@@ -4533,7 +4536,7 @@ const Rs = /* @__PURE__ */ W({
4533
4536
  middleware: [
4534
4537
  pt(8),
4535
4538
  _l(),
4536
- gt({ padding: 8 })
4539
+ Dt({ padding: 8 })
4537
4540
  ]
4538
4541
  }
4539
4542
  );
@@ -4552,7 +4555,7 @@ const Rs = /* @__PURE__ */ W({
4552
4555
  h.value = f;
4553
4556
  },
4554
4557
  { immediate: !0 }
4555
- ), he(() => {
4558
+ ), ge(() => {
4556
4559
  document.addEventListener("mousedown", g);
4557
4560
  }), xe(() => {
4558
4561
  document.removeEventListener("mousedown", g), b && (b(), b = null);
@@ -4685,7 +4688,7 @@ const Rs = /* @__PURE__ */ W({
4685
4688
  ve(" " + Y(h.label), 1)
4686
4689
  ])) : O("", !0),
4687
4690
  w("div", Os, [
4688
- (d(!0), y(re, null, ge(s.value, (C, L) => be((d(), y("input", {
4691
+ (d(!0), y(re, null, he(s.value, (C, L) => be((d(), y("input", {
4689
4692
  key: L,
4690
4693
  ref_for: !0,
4691
4694
  ref_key: "inputRefs",
@@ -4720,7 +4723,7 @@ const Rs = /* @__PURE__ */ W({
4720
4723
  setup(e) {
4721
4724
  const l = (t) => t.url ? il("RouterLink") : "div";
4722
4725
  return (t, o) => (d(), y("div", Ls, [
4723
- (d(!0), y(re, null, ge(t.items, (n, u) => (d(), y(re, null, [
4726
+ (d(!0), y(re, null, he(t.items, (n, u) => (d(), y(re, null, [
4724
4727
  n.command ? (d(), y("button", {
4725
4728
  key: 0,
4726
4729
  class: z(["breadcrumb__item", { "breadcrumb__item--disabled": !n.command || n.disabled }]),
@@ -4746,7 +4749,7 @@ const Rs = /* @__PURE__ */ W({
4746
4749
  },
4747
4750
  emits: ["close"],
4748
4751
  setup(e, { emit: l }) {
4749
- const t = l, o = Mt({
4752
+ const t = l, o = Rt({
4750
4753
  success: Oe(Jl),
4751
4754
  error: Oe(Gl),
4752
4755
  warn: Oe(Xl),
@@ -4762,7 +4765,7 @@ const Rs = /* @__PURE__ */ W({
4762
4765
  }, v = () => {
4763
4766
  a.value && (clearTimeout(a.value), a.value = null);
4764
4767
  };
4765
- return he(() => {
4768
+ return ge(() => {
4766
4769
  e.msg.life && (s.value = e.msg.life, i());
4767
4770
  }), (m, b) => (d(), y("div", {
4768
4771
  class: z(u.value)
@@ -4809,7 +4812,7 @@ const Rs = /* @__PURE__ */ W({
4809
4812
  }, i = () => {
4810
4813
  t.value = [];
4811
4814
  };
4812
- return he(() => {
4815
+ return ge(() => {
4813
4816
  ke.on("add", u), ke.on("remove", a), ke.on("remove-group", s), ke.on("remove-all-groups", i);
4814
4817
  }), xe(() => {
4815
4818
  ke.off("add", u), ke.off("remove", a), ke.off("remove-group", s), ke.off("remove-all-groups", i);
@@ -4821,7 +4824,7 @@ const Rs = /* @__PURE__ */ W({
4821
4824
  class: "toast-messages"
4822
4825
  }, {
4823
4826
  default: oe(() => [
4824
- (d(!0), y(re, null, ge(t.value, (v) => (d(), U(Ns, {
4827
+ (d(!0), y(re, null, he(t.value, (v) => (d(), U(Ns, {
4825
4828
  key: v.id,
4826
4829
  msg: v,
4827
4830
  onClose: c[0] || (c[0] = (m) => n(m))
@@ -4872,7 +4875,7 @@ const _i = {
4872
4875
  "message",
4873
4876
  `message--${l.type}`,
4874
4877
  { "message--outlined": l.outlined }
4875
- ]), o = Mt({
4878
+ ]), o = Rt({
4876
4879
  error: Oe(qt),
4877
4880
  warning: Oe(qt),
4878
4881
  info: Oe(en)
@@ -5034,7 +5037,7 @@ const _i = {
5034
5037
  };
5035
5038
  return J(ce, (i) => {
5036
5039
  i?.blockScroll ? l() : t();
5037
- }, { immediate: !0, deep: !0 }), he(() => {
5040
+ }, { immediate: !0, deep: !0 }), ge(() => {
5038
5041
  document.addEventListener("keydown", s);
5039
5042
  }), xe(() => {
5040
5043
  document.removeEventListener("keydown", s), t();
@@ -5185,7 +5188,7 @@ const _i = {
5185
5188
  };
5186
5189
  return J(de, async (b) => {
5187
5190
  b?.target && (await fe(), s());
5188
- }, { immediate: !0 }), he(() => {
5191
+ }, { immediate: !0 }), ge(() => {
5189
5192
  document.addEventListener("keydown", c), window.addEventListener("scroll", v, !0), window.addEventListener("resize", m);
5190
5193
  }), xe(() => {
5191
5194
  document.removeEventListener("keydown", c), window.removeEventListener("scroll", v, !0), window.removeEventListener("resize", m);
@@ -5437,7 +5440,7 @@ const _i = {
5437
5440
  };
5438
5441
  return J(l, async (g) => {
5439
5442
  g ? (b(), await fe(), o.value && (r.value = o.value.offsetHeight, A())) : (m(), I(), u.value = 0);
5440
- }), he(() => {
5443
+ }), ge(() => {
5441
5444
  l.value && o.value && (r.value = o.value.offsetHeight, A());
5442
5445
  }), xe(() => {
5443
5446
  m(), I();
@@ -5514,8 +5517,13 @@ const _i = {
5514
5517
  const l = ye("panelIsOpen"), t = M(null), o = M("0px"), n = M(l.value);
5515
5518
  return J(l, async (u) => {
5516
5519
  u ? (n.value = !0, await fe(), o.value = t.value?.scrollHeight + "px") : (o.value = t.value?.scrollHeight + "px", await fe(), o.value = "0px", setTimeout(() => n.value = !1, 300));
5517
- }), he(() => {
5520
+ }), ge(() => {
5518
5521
  l.value && t.value && (o.value = t.value.scrollHeight + "px");
5522
+ }), ge(() => {
5523
+ if (!t.value) return;
5524
+ new ResizeObserver(() => {
5525
+ l.value && (o.value = t.value.scrollHeight + "px");
5526
+ }).observe(t.value);
5519
5527
  }), (u, a) => (d(), y("div", {
5520
5528
  class: "accordion-content-wrapper",
5521
5529
  style: le({ height: $(l) ? o.value : "0px" })
@@ -5636,7 +5644,7 @@ const _i = {
5636
5644
  }
5637
5645
  }), (r, c) => (d(), y("div", _r, [
5638
5646
  w("div", Cr, [
5639
- (d(!0), y(re, null, ge(r.steps, (v, m) => (d(), U(Sr, {
5647
+ (d(!0), y(re, null, he(r.steps, (v, m) => (d(), U(Sr, {
5640
5648
  key: v.value,
5641
5649
  index: m,
5642
5650
  value: v.value,
@@ -5740,7 +5748,7 @@ const _i = {
5740
5748
  middleware: [
5741
5749
  pt(t.offset),
5742
5750
  _l(),
5743
- gt({ padding: 8 }),
5751
+ Dt({ padding: 8 }),
5744
5752
  ...t.showArrow && S ? [Cl({ element: S })] : []
5745
5753
  ]
5746
5754
  }
@@ -5842,7 +5850,7 @@ const _i = {
5842
5850
  },
5843
5851
  emits: ["update:modelValue", "change", "clear"],
5844
5852
  setup(e, { emit: l }) {
5845
- const t = e, o = l, n = M(!1), u = M(), a = M(), s = M({}), i = Mt({
5853
+ const t = e, o = l, n = M(!1), u = M(), a = M(), s = M({}), i = Rt({
5846
5854
  from: t.modelValue?.from || "",
5847
5855
  to: t.modelValue?.to || ""
5848
5856
  });
@@ -5899,7 +5907,7 @@ const _i = {
5899
5907
  A ? (i.from = A.from || "", i.to = A.to || "") : (i.from = "", i.to = "");
5900
5908
  }, { deep: !0 }), J(n, (A) => {
5901
5909
  A && _();
5902
- }), he(() => {
5910
+ }), ge(() => {
5903
5911
  document.addEventListener("click", E, !0), window.addEventListener("resize", _), window.addEventListener("scroll", _);
5904
5912
  }), xe(() => {
5905
5913
  document.removeEventListener("click", E, !0), window.removeEventListener("resize", _), window.removeEventListener("scroll", _);
@@ -5923,7 +5931,7 @@ const _i = {
5923
5931
  w("div", {
5924
5932
  class: z(["time-picker__arrow", { "time-picker__arrow--rotated": n.value }])
5925
5933
  }, [
5926
- j($(bt))
5934
+ j($(yt))
5927
5935
  ], 2),
5928
5936
  A.clearable && m.value ? (d(), y("button", {
5929
5937
  key: 0,
@@ -5933,7 +5941,7 @@ const _i = {
5933
5941
  j($(et))
5934
5942
  ])) : O("", !0)
5935
5943
  ], 2),
5936
- j($(wt), {
5944
+ j($(bt), {
5937
5945
  show: n.value,
5938
5946
  "z-index": c.value
5939
5947
  }, {
@@ -6018,7 +6026,7 @@ const _i = {
6018
6026
  { key: "saturday", label: "Суббота", enabled: !1 },
6019
6027
  { key: "sunday", label: "Воскресенье", enabled: !1 }
6020
6028
  ], r = P(() => t.modelValue && t.modelValue.length > 0 ? t.modelValue : i);
6021
- he(() => {
6029
+ ge(() => {
6022
6030
  (!t.modelValue || t.modelValue.length === 0) && o("update:modelValue", i);
6023
6031
  });
6024
6032
  function c(I) {
@@ -6076,7 +6084,7 @@ const _i = {
6076
6084
  }
6077
6085
  return J(n, (I) => {
6078
6086
  I && E();
6079
- }), he(() => {
6087
+ }), ge(() => {
6080
6088
  document.addEventListener("click", A), window.addEventListener("resize", E), window.addEventListener("scroll", E);
6081
6089
  }), xe(() => {
6082
6090
  document.removeEventListener("click", A), window.removeEventListener("resize", E), window.removeEventListener("scroll", E);
@@ -6104,7 +6112,7 @@ const _i = {
6104
6112
  w("div", {
6105
6113
  class: z(["schedule__arrow", { "schedule__arrow--rotated": n.value }])
6106
6114
  }, [
6107
- j($(bt))
6115
+ j($(yt))
6108
6116
  ], 2),
6109
6117
  I.clearable && b.value ? (d(), y("button", {
6110
6118
  key: 0,
@@ -6114,7 +6122,7 @@ const _i = {
6114
6122
  j($(et))
6115
6123
  ])) : O("", !0)
6116
6124
  ], 2),
6117
- j($(wt), {
6125
+ j($(bt), {
6118
6126
  show: n.value,
6119
6127
  "z-index": v.value
6120
6128
  }, {
@@ -6135,7 +6143,7 @@ const _i = {
6135
6143
  updateDayTime: L
6136
6144
  }, () => [
6137
6145
  w("div", Zr, [
6138
- (d(!0), y(re, null, ge(r.value, (f) => (d(), y("div", {
6146
+ (d(!0), y(re, null, he(r.value, (f) => (d(), y("div", {
6139
6147
  key: f.key,
6140
6148
  class: "schedule__day"
6141
6149
  }, [
@@ -6216,7 +6224,7 @@ export {
6216
6224
  Ni as TabPanel,
6217
6225
  Yi as TabPanels,
6218
6226
  qi as Tabs,
6219
- ht as Tag,
6227
+ gt as Tag,
6220
6228
  yi as Textarea,
6221
6229
  $i as Toast,
6222
6230
  _i as ToastService,