prlg-ui 1.8.135 → 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 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 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 = {
@@ -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({
@@ -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: {}
@@ -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 },
@@ -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, he(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
  }, {
@@ -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, he(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
  }, {
@@ -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;
@@ -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
  );
@@ -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),
@@ -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)
@@ -5745,7 +5748,7 @@ const _i = {
5745
5748
  middleware: [
5746
5749
  pt(t.offset),
5747
5750
  _l(),
5748
- gt({ padding: 8 }),
5751
+ Dt({ padding: 8 }),
5749
5752
  ...t.showArrow && S ? [Cl({ element: S })] : []
5750
5753
  ]
5751
5754
  }
@@ -5847,7 +5850,7 @@ const _i = {
5847
5850
  },
5848
5851
  emits: ["update:modelValue", "change", "clear"],
5849
5852
  setup(e, { emit: l }) {
5850
- 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({
5851
5854
  from: t.modelValue?.from || "",
5852
5855
  to: t.modelValue?.to || ""
5853
5856
  });
@@ -5928,7 +5931,7 @@ const _i = {
5928
5931
  w("div", {
5929
5932
  class: z(["time-picker__arrow", { "time-picker__arrow--rotated": n.value }])
5930
5933
  }, [
5931
- j($(bt))
5934
+ j($(yt))
5932
5935
  ], 2),
5933
5936
  A.clearable && m.value ? (d(), y("button", {
5934
5937
  key: 0,
@@ -5938,7 +5941,7 @@ const _i = {
5938
5941
  j($(et))
5939
5942
  ])) : O("", !0)
5940
5943
  ], 2),
5941
- j($(wt), {
5944
+ j($(bt), {
5942
5945
  show: n.value,
5943
5946
  "z-index": c.value
5944
5947
  }, {
@@ -6109,7 +6112,7 @@ const _i = {
6109
6112
  w("div", {
6110
6113
  class: z(["schedule__arrow", { "schedule__arrow--rotated": n.value }])
6111
6114
  }, [
6112
- j($(bt))
6115
+ j($(yt))
6113
6116
  ], 2),
6114
6117
  I.clearable && b.value ? (d(), y("button", {
6115
6118
  key: 0,
@@ -6119,7 +6122,7 @@ const _i = {
6119
6122
  j($(et))
6120
6123
  ])) : O("", !0)
6121
6124
  ], 2),
6122
- j($(wt), {
6125
+ j($(bt), {
6123
6126
  show: n.value,
6124
6127
  "z-index": v.value
6125
6128
  }, {
@@ -6221,7 +6224,7 @@ export {
6221
6224
  Ni as TabPanel,
6222
6225
  Yi as TabPanels,
6223
6226
  qi as Tabs,
6224
- ht as Tag,
6227
+ gt as Tag,
6225
6228
  yi as Textarea,
6226
6229
  $i as Toast,
6227
6230
  _i as ToastService,