redmine-ui-kit 1.3.15 → 1.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { defineComponent as Oe, openBlock as m, createElementBlock as w, normalizeStyle as mt, createElementVNode as E, useSlots as Er, computed as H, normalizeClass as ye, Fragment as ve, createTextVNode as Ge, toDisplayString as me, renderSlot as q, withDirectives as Ue, vShow as bt, unref as c, isRef as lt, vModelCheckbox as Zi, createCommentVNode as $, ref as W, onMounted as et, nextTick as Mt, withKeys as ce, withModifiers as Ye, vModelText as Bo, createBlock as pe, Teleport as wo, createVNode as Ce, Transition as Je, withCtx as ne, watchEffect as Gi, watch as ct, renderList as Ae, reactive as Gt, toRef as oa, onUnmounted as Oo, mergeProps as Be, createSlots as Ze, normalizeProps as nt, guardReactiveProps as vt, resolveDynamicComponent as ln, onBeforeUpdate as Ji, getCurrentScope as eu, onScopeDispose as tu } from "vue";
1
+ import { defineComponent as Oe, openBlock as m, createElementBlock as w, normalizeStyle as st, createElementVNode as E, useSlots as Er, computed as H, normalizeClass as pe, Fragment as ve, createTextVNode as Ge, toDisplayString as me, renderSlot as q, withDirectives as Ue, vShow as bt, unref as c, isRef as lt, vModelCheckbox as Zi, createCommentVNode as $, ref as W, onMounted as et, nextTick as Mt, withKeys as ce, withModifiers as Ye, vModelText as Bo, createBlock as ye, Teleport as wo, createVNode as Ce, Transition as Je, withCtx as ne, watchEffect as Gi, watch as ft, renderList as Ae, reactive as Gt, toRef as oa, onUnmounted as Oo, mergeProps as Be, createSlots as Ze, normalizeProps as nt, guardReactiveProps as vt, resolveDynamicComponent as ln, onBeforeUpdate as Ji, getCurrentScope as eu, onScopeDispose as tu } from "vue";
2
2
  const nu = /* @__PURE__ */ E("span", null, null, -1), ru = [
3
3
  nu
4
- ], C0 = /* @__PURE__ */ Oe({
4
+ ], M0 = /* @__PURE__ */ Oe({
5
5
  __name: "RMSkeleton",
6
6
  props: {
7
7
  color: { default: "#efefef" },
@@ -10,7 +10,7 @@ const nu = /* @__PURE__ */ E("span", null, null, -1), ru = [
10
10
  setup(e) {
11
11
  return (t, n) => (m(), w("div", {
12
12
  class: "rm-skeleton",
13
- style: mt({
13
+ style: st({
14
14
  backgroundColor: e.color,
15
15
  minHeight: `${e.minHeight}px`
16
16
  })
@@ -33,7 +33,7 @@ const au = ["disabled", "type"], ou = { class: "rm-button__label" }, lu = { clas
33
33
  setup(e) {
34
34
  const t = Er(), n = H(() => !!t.icon);
35
35
  return (r, a) => (m(), w("button", {
36
- class: ye([
36
+ class: pe([
37
37
  "rm-button",
38
38
  e.size.length ? `rm-button--${e.size}` : "",
39
39
  {
@@ -60,7 +60,7 @@ const au = ["disabled", "type"], ou = { class: "rm-button__label" }, lu = { clas
60
60
  ], 10, au));
61
61
  }
62
62
  });
63
- const iu = { class: "rm-progress" }, uu = { class: "rm-progress-line" }, su = /* @__PURE__ */ E("div", { class: "rm-progress-line__skeleton" }, null, -1), N0 = /* @__PURE__ */ Oe({
63
+ const iu = { class: "rm-progress" }, uu = { class: "rm-progress-line" }, su = /* @__PURE__ */ E("div", { class: "rm-progress-line__skeleton" }, null, -1), C0 = /* @__PURE__ */ Oe({
64
64
  __name: "RMProgress",
65
65
  props: {
66
66
  done: { default: 0 },
@@ -72,14 +72,14 @@ const iu = { class: "rm-progress" }, uu = { class: "rm-progress-line" }, su = /*
72
72
  E("div", uu, [
73
73
  E("div", {
74
74
  class: "rm-progress-line__done",
75
- style: mt(`max-width:${c(n)}%`)
75
+ style: st(`max-width:${c(n)}%`)
76
76
  }, null, 4),
77
77
  su
78
78
  ])
79
79
  ]));
80
80
  }
81
81
  });
82
- const cu = { class: "rm-checkbox" }, fu = ["id", "name", "disabled"], du = ["for"], pu = ["for"], A0 = /* @__PURE__ */ Oe({
82
+ const cu = { class: "rm-checkbox" }, fu = ["id", "name", "disabled"], du = ["for"], pu = ["for"], N0 = /* @__PURE__ */ Oe({
83
83
  __name: "RMCheckbox",
84
84
  props: {
85
85
  modelValue: { type: Boolean },
@@ -112,7 +112,7 @@ const cu = { class: "rm-checkbox" }, fu = ["id", "name", "disabled"], du = ["for
112
112
  ]),
113
113
  E("label", {
114
114
  for: `${e.name}_checkbox`,
115
- class: ye([
115
+ class: pe([
116
116
  "rm-checkbox-icon",
117
117
  { checked: c(r) },
118
118
  { disabled: e.disabled }
@@ -129,7 +129,7 @@ const cu = { class: "rm-checkbox" }, fu = ["id", "name", "disabled"], du = ["for
129
129
  const yu = { class: "rm-attach" }, mu = {
130
130
  for: "file",
131
131
  class: "rm-attach__label"
132
- }, vu = { class: "rm-attach__attach" }, hu = ["multiple", "accept"], _u = { class: "rm-attach__allow" }, bu = { key: 0 }, gu = /* @__PURE__ */ E("br", null, null, -1), wu = { key: 1 }, Ou = /* @__PURE__ */ E("br", null, null, -1), I0 = /* @__PURE__ */ Oe({
132
+ }, vu = { class: "rm-attach__attach" }, hu = ["multiple", "accept"], _u = { class: "rm-attach__allow" }, bu = { key: 0 }, gu = /* @__PURE__ */ E("br", null, null, -1), wu = { key: 1 }, Ou = /* @__PURE__ */ E("br", null, null, -1), A0 = /* @__PURE__ */ Oe({
133
133
  __name: "RMAttachFiles",
134
134
  props: {
135
135
  attachLabel: { default: "Select file" },
@@ -301,7 +301,7 @@ const xu = ["for"], Su = { class: "rm-input-wrapper" }, Ru = ["id", "maxlength",
301
301
  S.style.height = `${F}px`;
302
302
  }
303
303
  return (S, F) => (m(), w("div", {
304
- class: ye(["rm-input", { disabled: e.disabled }])
304
+ class: pe(["rm-input", { disabled: e.disabled }])
305
305
  }, [
306
306
  e.label ? (m(), w("label", {
307
307
  key: 0,
@@ -376,7 +376,7 @@ const Nu = "data:image/svg+xml;base64,PHN2ZwogICAgd2lkdGg9IjIyIgogICAgaGVpZ2h0PS
376
376
  }, Uu = {
377
377
  key: 0,
378
378
  class: "rm-modal__loader-ring"
379
- }, E0 = /* @__PURE__ */ Oe({
379
+ }, I0 = /* @__PURE__ */ Oe({
380
380
  __name: "RMModal",
381
381
  props: {
382
382
  isActive: { type: Boolean, default: !1 },
@@ -392,7 +392,7 @@ const Nu = "data:image/svg+xml;base64,PHN2ZwogICAgd2lkdGg9IjIyIgogICAgaGVpZ2h0PS
392
392
  function r() {
393
393
  n.persistent || t("close");
394
394
  }
395
- return (a, o) => (m(), pe(wo, { to: "body" }, [
395
+ return (a, o) => (m(), ye(wo, { to: "body" }, [
396
396
  Ce(Je, {
397
397
  name: e.transitionName,
398
398
  appear: ""
@@ -410,9 +410,9 @@ const Nu = "data:image/svg+xml;base64,PHN2ZwogICAgd2lkdGg9IjIyIgogICAgaGVpZ2h0PS
410
410
  default: ne(() => [
411
411
  e.isDataLoaded ? (m(), w("div", {
412
412
  key: 0,
413
- class: ye(["rm-modal-wrapper", e.contentClass])
413
+ class: pe(["rm-modal-wrapper", e.contentClass])
414
414
  }, [
415
- e.persistent ? $("", !0) : (m(), pe(ht, {
415
+ e.persistent ? $("", !0) : (m(), ye(ht, {
416
416
  key: 0,
417
417
  class: "rm-modal__close",
418
418
  onClick: r
@@ -528,7 +528,7 @@ const Lu = (e, t = 150) => {
528
528
  ], -1), os = ["onClick"], ls = {
529
529
  key: 1,
530
530
  class: "rm-select-inner__item rm-select-inner__item--empty"
531
- }, B0 = /* @__PURE__ */ Oe({
531
+ }, E0 = /* @__PURE__ */ Oe({
532
532
  __name: "RMSelect",
533
533
  props: {
534
534
  name: null,
@@ -561,7 +561,7 @@ const Lu = (e, t = 150) => {
561
561
  }), O = H(() => o.value ? n.options.filter(({ name: M }) => M.toLowerCase().includes(o.value.toLowerCase())) : n.options);
562
562
  Gi(() => {
563
563
  n.selectedOptions && (a.value = n.selectedOptions);
564
- }), ct(() => n.closable, (M) => r.value = !M), ct(r, (M) => {
564
+ }), ft(() => n.closable, (M) => r.value = !M), ft(r, (M) => {
565
565
  M && (F(), t("close"));
566
566
  }), et(() => {
567
567
  var M, V;
@@ -594,7 +594,7 @@ const Lu = (e, t = 150) => {
594
594
  M > V || (l.value = V - M + 8);
595
595
  }
596
596
  return (M, V) => Ue((m(), w("div", {
597
- class: ye(["rm-select", { "rm-select--with-chips": e.useChips, "rm-select--disabled": e.disabled }])
597
+ class: pe(["rm-select", { "rm-select--with-chips": e.useChips, "rm-select--disabled": e.disabled }])
598
598
  }, [
599
599
  e.label ? (m(), w("label", {
600
600
  key: 0,
@@ -603,7 +603,7 @@ const Lu = (e, t = 150) => {
603
603
  E("div", Xu, [
604
604
  E("div", {
605
605
  class: "rm-select-container",
606
- style: mt({
606
+ style: st({
607
607
  display: e.useChips ? "flex" : "block"
608
608
  }),
609
609
  onClick: V[2] || (V[2] = Ye((R) => r.value = !0, ["self"]))
@@ -639,7 +639,7 @@ const Lu = (e, t = 150) => {
639
639
  ], 4),
640
640
  E("div", ns, [
641
641
  Ce(ht, {
642
- class: ye(["rm-select-input__cheveron", { open: r.value }]),
642
+ class: pe(["rm-select-input__cheveron", { open: r.value }]),
643
643
  onClick: V[3] || (V[3] = Ye((R) => r.value = !r.value, ["prevent"]))
644
644
  }, {
645
645
  default: ne(() => [
@@ -652,7 +652,7 @@ const Lu = (e, t = 150) => {
652
652
  mode: "out-in"
653
653
  }, {
654
654
  default: ne(() => [
655
- e.removable && (c(y) || o.value) ? (m(), pe(ht, {
655
+ e.removable && (c(y) || o.value) ? (m(), ye(ht, {
656
656
  key: 0,
657
657
  class: "rm-select-input__remove",
658
658
  onClick: Ye(f, ["prevent"])
@@ -680,7 +680,7 @@ const Lu = (e, t = 150) => {
680
680
  }) : (m(), w(ve, { key: 0 }, [
681
681
  c(O) && c(O).length ? (m(!0), w(ve, { key: 0 }, Ae(c(O), (R, j) => (m(), w("li", {
682
682
  key: `${j}_option`,
683
- class: ye(["rm-select-inner__item", { active: _(R) }]),
683
+ class: pe(["rm-select-inner__item", { active: _(R) }]),
684
684
  onClick: (te) => s(R)
685
685
  }, me(R.name), 11, os))), 128)) : (m(), w("li", ls, me(e.emptySelectLabel), 1))
686
686
  ], 64))
@@ -733,7 +733,7 @@ const ys = /* @__PURE__ */ is(us, [["render", ps]]), ms = {
733
733
  }, _s = {
734
734
  key: 1,
735
735
  class: "rm-editable__footer-actions"
736
- }, Y0 = /* @__PURE__ */ Oe({
736
+ }, B0 = /* @__PURE__ */ Oe({
737
737
  __name: "RMEditable",
738
738
  props: {
739
739
  value: { default: "" },
@@ -743,12 +743,13 @@ const ys = /* @__PURE__ */ is(us, [["render", ps]]), ms = {
743
743
  autoSave: { type: Boolean, default: !1 },
744
744
  isAutoGrow: { type: Boolean, default: !0 },
745
745
  saveLabel: { default: "Save" },
746
- cancelLabel: { default: "Cancel" }
746
+ cancelLabel: { default: "Cancel" },
747
+ disabledSave: { type: Boolean, default: !1 }
747
748
  },
748
749
  emits: ["change"],
749
750
  setup(e, { emit: t }) {
750
751
  const n = e, r = W(!1), a = W(n.value);
751
- ct(() => n.value, (f) => a.value = f);
752
+ ft(() => n.value, (f) => a.value = f);
752
753
  function o() {
753
754
  t("change", a.value), y();
754
755
  }
@@ -768,7 +769,7 @@ const ys = /* @__PURE__ */ is(us, [["render", ps]]), ms = {
768
769
  n.editByFocus && (r.value = !0);
769
770
  }
770
771
  return (f, s) => Ue((m(), w("div", {
771
- class: ye(["rm-editable", { active: r.value }])
772
+ class: pe(["rm-editable", { active: r.value }])
772
773
  }, [
773
774
  r.value ? (m(), w("div", ms, [
774
775
  q(f.$slots, "header")
@@ -777,7 +778,7 @@ const ys = /* @__PURE__ */ is(us, [["render", ps]]), ms = {
777
778
  class: "rm-editable__content",
778
779
  onClick: O
779
780
  }, [
780
- r.value ? (m(), pe(Cu, {
781
+ r.value ? (m(), ye(Cu, {
781
782
  key: 1,
782
783
  "model-value": a.value,
783
784
  maxlength: e.maxlength,
@@ -791,7 +792,7 @@ const ys = /* @__PURE__ */ is(us, [["render", ps]]), ms = {
791
792
  ]
792
793
  }, null, 8, ["model-value", "maxlength", "is-auto-grow"])) : (m(), w("div", vs, [
793
794
  q(f.$slots, "default", { value: e.value }),
794
- e.editByFocus ? $("", !0) : (m(), pe(ht, {
795
+ e.editByFocus ? $("", !0) : (m(), ye(ht, {
795
796
  key: 0,
796
797
  class: "rm-editable__content-slot__edit rm-common-button rm-common-button--flat",
797
798
  onClick: s[0] || (s[0] = (_) => r.value = !0)
@@ -808,9 +809,10 @@ const ys = /* @__PURE__ */ is(us, [["render", ps]]), ms = {
808
809
  !f.$slots.footer && e.hasActions ? (m(), w("div", _s, [
809
810
  Ce(ht, {
810
811
  label: e.saveLabel,
812
+ disabled: e.disabledSave,
811
813
  class: "rm-common-button rm-common-button--flat rm-common-button--blue",
812
814
  onClick: o
813
- }, null, 8, ["label"]),
815
+ }, null, 8, ["label", "disabled"]),
814
816
  Ce(ht, {
815
817
  label: e.cancelLabel,
816
818
  class: "rm-common-button rm-common-button--flat",
@@ -843,7 +845,7 @@ function Os(e, t) {
843
845
  const $s = { render: Os }, ks = {
844
846
  key: 0,
845
847
  class: "rm-alert-wrapper"
846
- }, Ps = { class: "rm-alert__title-container" }, Ts = { class: "rm-alert__title" }, Ds = { class: "rm-alert__title-container-text" }, xs = ["innerHTML"], Ss = { class: "rm-alert__close" }, U0 = /* @__PURE__ */ Oe({
848
+ }, Ps = { class: "rm-alert__title-container" }, Ts = { class: "rm-alert__title" }, Ds = { class: "rm-alert__title-container-text" }, xs = ["innerHTML"], Ss = { class: "rm-alert__close" }, Y0 = /* @__PURE__ */ Oe({
847
849
  __name: "RMAlert",
848
850
  props: {
849
851
  title: { default: "Error" },
@@ -853,11 +855,11 @@ const $s = { render: Os }, ks = {
853
855
  },
854
856
  emits: ["close"],
855
857
  setup(e, { emit: t }) {
856
- return (n, r) => (m(), pe(Je, { name: "slide" }, {
858
+ return (n, r) => (m(), ye(Je, { name: "slide" }, {
857
859
  default: ne(() => [
858
860
  e.visibility ? (m(), w("div", ks, [
859
861
  Ue((m(), w("div", {
860
- class: ye(["rm-alert", e.status])
862
+ class: pe(["rm-alert", e.status])
861
863
  }, [
862
864
  E("div", Ps, [
863
865
  E("h3", Ts, me(e.title), 1),
@@ -874,7 +876,7 @@ const $s = { render: Os }, ks = {
874
876
  }, {
875
877
  icon: ne(() => [
876
878
  Ce(c($s), {
877
- class: ye(["rm-alert__close-icon", `rm-alert__close-icon--${e.status}`])
879
+ class: pe(["rm-alert__close-icon", `rm-alert__close-icon--${e.status}`])
878
880
  }, null, 8, ["class"])
879
881
  ]),
880
882
  _: 1
@@ -892,7 +894,7 @@ const $s = { render: Os }, ks = {
892
894
  const Rs = {
893
895
  key: 0,
894
896
  class: "rm-confirm"
895
- }, Ms = { class: "rm-confirm__title" }, Cs = { class: "rm-confirm-controls" }, L0 = /* @__PURE__ */ Oe({
897
+ }, Ms = { class: "rm-confirm__title" }, Cs = { class: "rm-confirm-controls" }, U0 = /* @__PURE__ */ Oe({
896
898
  __name: "RMConfirm",
897
899
  props: {
898
900
  title: { default: "" },
@@ -902,7 +904,7 @@ const Rs = {
902
904
  },
903
905
  emits: ["cancel", "confirm"],
904
906
  setup(e, { emit: t }) {
905
- return (n, r) => (m(), pe(Je, { name: "fade" }, {
907
+ return (n, r) => (m(), ye(Je, { name: "fade" }, {
906
908
  default: ne(() => [
907
909
  e.visibility ? Ue((m(), w("div", Rs, [
908
910
  E("h3", Ms, me(e.title), 1),
@@ -927,14 +929,14 @@ const Rs = {
927
929
  const Ns = {
928
930
  key: 0,
929
931
  class: "rm-hint"
930
- }, V0 = /* @__PURE__ */ Oe({
932
+ }, L0 = /* @__PURE__ */ Oe({
931
933
  __name: "RMHint",
932
934
  props: {
933
935
  isActive: { type: Boolean, default: !1 }
934
936
  },
935
937
  emits: ["update:isActive"],
936
938
  setup(e, { emit: t }) {
937
- return (n, r) => (m(), pe(Je, { name: "slide" }, {
939
+ return (n, r) => (m(), ye(Je, { name: "slide" }, {
938
940
  default: ne(() => [
939
941
  e.isActive ? Ue((m(), w("div", Ns, [
940
942
  q(n.$slots, "default")
@@ -973,7 +975,7 @@ function gt(e, t) {
973
975
  var n = ie(e), r = oe(t);
974
976
  return isNaN(r) ? new Date(NaN) : (r && n.setDate(n.getDate() + r), n);
975
977
  }
976
- function st(e, t) {
978
+ function ct(e, t) {
977
979
  J(2, arguments);
978
980
  var n = ie(e), r = oe(t);
979
981
  if (isNaN(r))
@@ -995,7 +997,7 @@ function sn(e) {
995
997
  function gi(e, t) {
996
998
  if (J(2, arguments), !t || sn(t) !== "object")
997
999
  return new Date(NaN);
998
- var n = t.years ? oe(t.years) : 0, r = t.months ? oe(t.months) : 0, a = t.weeks ? oe(t.weeks) : 0, o = t.days ? oe(t.days) : 0, l = t.hours ? oe(t.hours) : 0, u = t.minutes ? oe(t.minutes) : 0, d = t.seconds ? oe(t.seconds) : 0, y = ie(e), O = r || n ? st(y, r + n * 12) : y, f = o || a ? gt(O, o + a * 7) : O, s = u + l * 60, _ = d + s * 60, C = _ * 1e3, S = new Date(f.getTime() + C);
1000
+ var n = t.years ? oe(t.years) : 0, r = t.months ? oe(t.months) : 0, a = t.weeks ? oe(t.weeks) : 0, o = t.days ? oe(t.days) : 0, l = t.hours ? oe(t.hours) : 0, u = t.minutes ? oe(t.minutes) : 0, d = t.seconds ? oe(t.seconds) : 0, y = ie(e), O = r || n ? ct(y, r + n * 12) : y, f = o || a ? gt(O, o + a * 7) : O, s = u + l * 60, _ = d + s * 60, C = _ * 1e3, S = new Date(f.getTime() + C);
999
1001
  return S;
1000
1002
  }
1001
1003
  function As(e, t) {
@@ -1055,7 +1057,7 @@ function Us(e, t) {
1055
1057
  function wi(e, t) {
1056
1058
  J(2, arguments);
1057
1059
  var n = oe(t);
1058
- return st(e, n * 12);
1060
+ return ct(e, n * 12);
1059
1061
  }
1060
1062
  var $o = 6e4, ko = 36e5, Ls = 1e3;
1061
1063
  function cn(e) {
@@ -2343,7 +2345,7 @@ function qc(e) {
2343
2345
  var t = ie(e), n = t.getFullYear(), r = t.getMonth(), a = new Date(0);
2344
2346
  return a.setFullYear(n, r + 1, 0), a.setHours(0, 0, 0, 0), a.getDate();
2345
2347
  }
2346
- function pt(e) {
2348
+ function yt(e) {
2347
2349
  J(1, arguments);
2348
2350
  var t = ie(e), n = t.getHours();
2349
2351
  return n;
@@ -2354,7 +2356,7 @@ function Xc(e) {
2354
2356
  var t = ie(e), n = Xn(t).getTime() - Bs(t).getTime();
2355
2357
  return Math.round(n / Kc) + 1;
2356
2358
  }
2357
- function yt(e) {
2359
+ function mt(e) {
2358
2360
  J(1, arguments);
2359
2361
  var t = ie(e), n = t.getMinutes();
2360
2362
  return n;
@@ -6626,7 +6628,7 @@ function St(e, t) {
6626
6628
  function Et(e, t) {
6627
6629
  J(2, arguments);
6628
6630
  var n = oe(t);
6629
- return st(e, -n);
6631
+ return ct(e, -n);
6630
6632
  }
6631
6633
  function qn(e) {
6632
6634
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? qn = function(n) {
@@ -6775,13 +6777,13 @@ const Wi = /* @__PURE__ */ Ct(gv, [["render", kv]]), ni = (e, t) => {
6775
6777
  e.getUTCSeconds()
6776
6778
  );
6777
6779
  return new Date(n).toISOString();
6778
- }, ft = (e) => {
6780
+ }, dt = (e) => {
6779
6781
  let t = I(JSON.parse(JSON.stringify(e)));
6780
6782
  return t = Ui(t, 0), t = Li(t, 0), t = Vi(t, 0), t = Co(t, 0), t;
6781
6783
  }, at = (e, t, n, r) => {
6782
6784
  let a = e ? I(e) : I();
6783
6785
  return (t || t === 0) && (a = Ui(a, +t)), (n || n === 0) && (a = Li(a, +n)), (r || r === 0) && (a = Vi(a, +r)), Co(a, 0);
6784
- }, We = (e, t) => !e || !t ? !1 : Do(ft(e), ft(t)), Se = (e, t) => !e || !t ? !1 : Mi(ft(e), ft(t)), Xe = (e, t) => !e || !t ? !1 : To(ft(e), ft(t)), ji = (e, t, n) => e && e[0] && e[1] ? Xe(n, e[0]) && We(n, e[1]) : e && e[0] && t ? Xe(n, e[0]) && We(n, t) || We(n, e[0]) && Xe(n, t) : !1, zt = Gt({
6786
+ }, We = (e, t) => !e || !t ? !1 : Do(dt(e), dt(t)), Se = (e, t) => !e || !t ? !1 : Mi(dt(e), dt(t)), Xe = (e, t) => !e || !t ? !1 : To(dt(e), dt(t)), ji = (e, t, n) => e && e[0] && e[1] ? Xe(n, e[0]) && We(n, e[1]) : e && e[0] && t ? Xe(n, e[0]) && We(n, t) || We(n, e[0]) && Xe(n, t) : !1, zt = Gt({
6785
6787
  menuFocused: !1,
6786
6788
  shiftKeyInMenu: !1
6787
6789
  }), zi = () => {
@@ -7294,8 +7296,8 @@ const Gv = (e, t = 3) => {
7294
7296
  return !(v || T || D || U || b || h || G);
7295
7297
  }, f = (i) => {
7296
7298
  const v = {
7297
- hours: pt(I()),
7298
- minutes: yt(I()),
7299
+ hours: yt(I()),
7300
+ minutes: mt(I()),
7299
7301
  seconds: Yt(I())
7300
7302
  };
7301
7303
  return Object.assign(v, i);
@@ -7305,7 +7307,7 @@ const Gv = (e, t = 3) => {
7305
7307
  }, M = (i, v) => Array.isArray(v) ? v.some((T) => Se(u(I(T)), u(i))) : v(i), V = (i, v, T) => {
7306
7308
  let D = i ? I(i) : I();
7307
7309
  return (v || v === 0) && (D = Qt(D, v)), T && (D = St(D, T)), D;
7308
- }, R = (i) => qe(I(), { hours: pt(i), minutes: yt(i), seconds: Yt(i) }), j = (i) => qe(I(), {
7310
+ }, R = (i) => qe(I(), { hours: yt(i), minutes: mt(i), seconds: Yt(i) }), j = (i) => qe(I(), {
7309
7311
  hours: +i.hours || 0,
7310
7312
  minutes: +i.minutes || 0,
7311
7313
  seconds: +i.seconds || 0
@@ -7345,7 +7347,7 @@ const Gv = (e, t = 3) => {
7345
7347
  const T = [], D = I(u(new Date(v, i))), U = I(u(new Date(v, i + 1, 0))), h = la(D, { weekStartsOn: e.weekStart }), G = (fe) => {
7346
7348
  const b = L(fe, i);
7347
7349
  if (T.push({ days: b }), !T[T.length - 1].days.some(
7348
- (B) => Se(ft(B.value), ft(U))
7350
+ (B) => Se(dt(B.value), dt(U))
7349
7351
  )) {
7350
7352
  const B = gt(fe, 7);
7351
7353
  G(B);
@@ -7472,12 +7474,12 @@ const Gv = (e, t = 3) => {
7472
7474
  !e.readonly && !e.disabled && t("update:internal-model-value", p);
7473
7475
  }
7474
7476
  }), _ = W([]);
7475
- ct(s, () => {
7477
+ ft(s, () => {
7476
7478
  e.multiCalendars || te();
7477
7479
  });
7478
7480
  const C = W([{ month: Te(I()), year: De(I()) }]), S = Gt({
7479
- hours: e.range ? [pt(I()), pt(I())] : pt(I()),
7480
- minutes: e.range ? [yt(I()), yt(I())] : yt(I()),
7481
+ hours: e.range ? [yt(I()), yt(I())] : yt(I()),
7482
+ minutes: e.range ? [mt(I()), mt(I())] : mt(I()),
7481
7483
  seconds: e.range ? [0, 0] : 0
7482
7484
  }), F = H(
7483
7485
  () => (p) => C.value[p] ? C.value[p].month : 0
@@ -7510,14 +7512,14 @@ const Gv = (e, t = 3) => {
7510
7512
  C.value[ee] = { month: Te($e), year: De($e) };
7511
7513
  }
7512
7514
  }, P = (p) => {
7513
- k(p), j("hours", pt(p)), j("minutes", yt(p)), j("seconds", Yt(p));
7515
+ k(p), j("hours", yt(p)), j("minutes", mt(p)), j("seconds", Yt(p));
7514
7516
  }, N = (p, A) => {
7515
7517
  k(p[0], A);
7516
7518
  const ee = (re, $e) => [
7517
7519
  re(p[0]),
7518
7520
  p[1] ? re(p[1]) : S[$e][1]
7519
7521
  ];
7520
- j("hours", ee(pt, "hours")), j("minutes", ee(yt, "minutes")), j("seconds", ee(Yt, "seconds"));
7522
+ j("hours", ee(yt, "hours")), j("minutes", ee(mt, "minutes")), j("seconds", ee(Yt, "seconds"));
7521
7523
  }, K = (p, A) => {
7522
7524
  if ((e.range || e.weekPicker) && !e.multiDates)
7523
7525
  return N(p, A);
@@ -7551,12 +7553,12 @@ const Gv = (e, t = 3) => {
7551
7553
  }, z = () => Array.isArray(s.value) && s.value.length ? s.value[s.value.length - 1] : null, i = () => {
7552
7554
  if (Array.isArray(s.value) && s.value.length === 2) {
7553
7555
  const p = I(
7554
- I(s.value[1] ? s.value[1] : st(s.value[0], 1))
7556
+ I(s.value[1] ? s.value[1] : ct(s.value[0], 1))
7555
7557
  ), [A, ee] = [Te(s.value[0]), De(s.value[0])], [re, $e] = [Te(s.value[1]), De(s.value[1])];
7556
7558
  (A !== re || A === re && ee !== $e) && e.multiCalendarsSolo && R(1, Te(p), De(p));
7557
7559
  }
7558
7560
  }, v = (p) => {
7559
- const A = st(p, 1);
7561
+ const A = ct(p, 1);
7560
7562
  return { month: Te(A), year: De(A) };
7561
7563
  }, T = (p) => {
7562
7564
  const A = Te(I(p)), ee = De(I(p));
@@ -7627,7 +7629,7 @@ const Gv = (e, t = 3) => {
7627
7629
  return he(p);
7628
7630
  Tt(S.hours) && Tt(S.minutes) && !e.multiDates && (de(p, A), be());
7629
7631
  }
7630
- }, dt = (p) => {
7632
+ }, pt = (p) => {
7631
7633
  const A = p.find((ee) => ee.current);
7632
7634
  return A ? Xc(A.value) : "";
7633
7635
  }, Lt = (p) => {
@@ -7636,7 +7638,7 @@ const Gv = (e, t = 3) => {
7636
7638
  R(A, Te(ee), De(ee));
7637
7639
  }
7638
7640
  for (let A = p + 1; A <= f.value.multiCalendars - 1; A++) {
7639
- const ee = st(qe(I(), { month: F.value(A - 1), year: M.value(A - 1) }), 1);
7641
+ const ee = ct(qe(I(), { month: F.value(A - 1), year: M.value(A - 1) }), 1);
7640
7642
  R(A, Te(ee), De(ee));
7641
7643
  }
7642
7644
  }, kt = (p) => y(I(), F.value(p), M.value(p)), Vt = (p) => at(p, S.hours, S.minutes, Y()), Ur = (p, A) => {
@@ -7658,7 +7660,7 @@ const Gv = (e, t = 3) => {
7658
7660
  }
7659
7661
  n();
7660
7662
  }, en = (p, A) => {
7661
- const ee = qe(I(), { month: F.value(A), year: M.value(A) }), re = p < 0 ? st(ee, 1) : Et(ee, 1);
7663
+ const ee = qe(I(), { month: F.value(A), year: M.value(A) }), re = p < 0 ? ct(ee, 1) : Et(ee, 1);
7662
7664
  O(Te(re), De(re), p < 0, e.preventMinMaxNavigation) && (R(A, Te(re), De(re)), f.value.multiCalendars && !e.multiCalendarsSolo && Lt(A), t("update-month-year", { instance: A, month: Te(re), year: De(re) }), r());
7663
7665
  }, Ht = (p) => {
7664
7666
  pi(p) && pi(s.value) && Tt(S.hours) && Tt(S.minutes) ? (p[0] && s.value[0] && (s.value[0] = at(p[0], S.hours[0], S.minutes[0], Y())), p[1] && s.value[1] && (s.value[1] = at(p[1], S.hours[1], S.minutes[1], Y(!1)))) : e.multiDates && Array.isArray(s.value) ? s.value[s.value.length - 1] = Vt(p) : !e.range && !yi(p) && (s.value = Vt(p)), t("time-update");
@@ -7694,7 +7696,7 @@ const Gv = (e, t = 3) => {
7694
7696
  monthYearSelect: Lr,
7695
7697
  isDisabled: l,
7696
7698
  updateTime: Vr,
7697
- getWeekNum: dt,
7699
+ getWeekNum: pt,
7698
7700
  selectDate: Ut,
7699
7701
  updateMonthYear: Ur,
7700
7702
  handleScroll: Hr,
@@ -7720,14 +7722,14 @@ const Gv = (e, t = 3) => {
7720
7722
  setDateMonthOrYear: f,
7721
7723
  defaults: s
7722
7724
  } = rt(t), _ = W("");
7723
- ct(r, () => {
7725
+ ft(r, () => {
7724
7726
  e("internal-model-change", r.value);
7725
7727
  });
7726
7728
  const C = (h) => {
7727
7729
  const G = h || I();
7728
7730
  return {
7729
- hours: pt(G),
7730
- minutes: yt(G),
7731
+ hours: yt(G),
7732
+ minutes: mt(G),
7731
7733
  seconds: t.enableSeconds ? Yt(G) : 0
7732
7734
  };
7733
7735
  }, S = (h) => ({ month: Te(h), year: De(h) }), F = (h) => Array.isArray(h) ? d(() => [
@@ -7799,20 +7801,20 @@ const Gv = (e, t = 3) => {
7799
7801
  }, dh = (e, t) => {
7800
7802
  const { validateMonthYearInRange: n, validateMaxDate: r, validateMinDate: a, defaults: o } = rt(e), l = (f, s) => {
7801
7803
  let _ = f;
7802
- return o.value.filters.months.includes(Te(_)) ? (_ = s ? st(f, 1) : Et(f, 1), l(_, s)) : _;
7804
+ return o.value.filters.months.includes(Te(_)) ? (_ = s ? ct(f, 1) : Et(f, 1), l(_, s)) : _;
7803
7805
  }, u = (f, s) => {
7804
7806
  let _ = f;
7805
7807
  return o.value.filters.years.includes(De(_)) ? (_ = s ? wi(f, 1) : Bm(f, 1), u(_, s)) : _;
7806
7808
  }, d = (f) => {
7807
7809
  const s = qe(new Date(), { month: e.month, year: e.year });
7808
- let _ = f ? st(s, 1) : Et(s, 1), C = Te(_), S = De(_);
7810
+ let _ = f ? ct(s, 1) : Et(s, 1), C = Te(_), S = De(_);
7809
7811
  o.value.filters.months.includes(C) && (_ = l(_, f), C = Te(_), S = De(_)), o.value.filters.years.includes(S) && (_ = u(_, f), S = De(_)), n(C, S, f, e.preventMinMaxNavigation) && y(C, S);
7810
7812
  }, y = (f, s) => {
7811
7813
  t("update-month-year", { month: f, year: s });
7812
7814
  }, O = H(() => (f) => {
7813
7815
  if (!e.preventMinMaxNavigation || f && !e.maxDate || !f && !e.minDate)
7814
7816
  return !1;
7815
- const s = qe(new Date(), { month: e.month, year: e.year }), _ = f ? st(s, 1) : Et(s, 1), C = [Te(_), De(_)];
7817
+ const s = qe(new Date(), { month: e.month, year: e.year }), _ = f ? ct(s, 1) : Et(s, 1), C = [Te(_), De(_)];
7816
7818
  return f ? !r(...C) : !a(...C);
7817
7819
  });
7818
7820
  return { handleMonthYearChange: d, isDisabled: O, updateMonthYear: y };
@@ -7824,7 +7826,7 @@ const ph = (e, t, n, r) => {
7824
7826
  left: "0",
7825
7827
  transform: "none"
7826
7828
  }), o = W(!1), l = oa(r, "teleportCenter");
7827
- ct(l, () => {
7829
+ ft(l, () => {
7828
7830
  F();
7829
7831
  });
7830
7832
  const u = (P) => {
@@ -8187,7 +8189,7 @@ const ph = (e, t, n, r) => {
8187
8189
  ref: d,
8188
8190
  id: k.uid ? `dp-input-${k.uid}` : void 0,
8189
8191
  name: k.name,
8190
- class: ye(c(O)),
8192
+ class: pe(c(O)),
8191
8193
  inputmode: k.textInput ? "text" : "none",
8192
8194
  placeholder: k.placeholder,
8193
8195
  disabled: k.disabled,
@@ -8207,14 +8209,14 @@ const ph = (e, t, n, r) => {
8207
8209
  k.$slots["input-icon"] && !k.hideInputIcon ? (m(), w("span", bh, [
8208
8210
  q(k.$slots, "input-icon")
8209
8211
  ])) : $("", !0),
8210
- !k.$slots["input-icon"] && !k.hideInputIcon && !k.$slots["dp-input"] ? (m(), pe(c(Br), {
8212
+ !k.$slots["input-icon"] && !k.hideInputIcon && !k.$slots["dp-input"] ? (m(), ye(c(Br), {
8211
8213
  key: 3,
8212
8214
  class: "dp__input_icon dp__input_icons"
8213
8215
  })) : $("", !0),
8214
8216
  k.$slots["clear-icon"] && e.inputValue && k.clearable && !k.disabled && !k.readonly ? (m(), w("span", gh, [
8215
8217
  q(k.$slots, "clear-icon", { clear: j })
8216
8218
  ])) : $("", !0),
8217
- k.clearable && !k.$slots["clear-icon"] && e.inputValue && !k.disabled && !k.readonly ? (m(), pe(c(Gm), {
8219
+ k.clearable && !k.$slots["clear-icon"] && e.inputValue && !k.disabled && !k.readonly ? (m(), ye(c(Gm), {
8218
8220
  key: 5,
8219
8221
  class: "dp__clear_icon dp__input_icons",
8220
8222
  "data-test": "clear-icon",
@@ -8258,7 +8260,7 @@ const ph = (e, t, n, r) => {
8258
8260
  };
8259
8261
  return (R, j) => (m(), w("div", {
8260
8262
  class: "dp__action_row",
8261
- style: mt(e.calendarWidth ? { width: `${e.calendarWidth}px` } : {})
8263
+ style: st(e.calendarWidth ? { width: `${e.calendarWidth}px` } : {})
8262
8264
  }, [
8263
8265
  R.$slots["action-row"] ? q(R.$slots, "action-row", nt(Be({ key: 0 }, {
8264
8266
  internalModelValue: e.internalModelValue,
@@ -8297,7 +8299,7 @@ const ph = (e, t, n, r) => {
8297
8299
  ]
8298
8300
  }, me(R.cancelText), 545)),
8299
8301
  E("span", {
8300
- class: ye(c(f)),
8302
+ class: pe(c(f)),
8301
8303
  tabindex: "0",
8302
8304
  onKeydown: [
8303
8305
  ce(V, ["enter"]),
@@ -8353,8 +8355,8 @@ const ph = (e, t, n, r) => {
8353
8355
  });
8354
8356
  const S = (g) => g ? r.vertical ? "vNext" : "next" : r.vertical ? "vPrevious" : "previous", F = (g, z) => {
8355
8357
  if (r.transitions) {
8356
- const i = ft(o(I(), r.month, r.year));
8357
- s.value = Xe(ft(o(I(), g, z)), i) ? l.value.transitions[S(!0)] : l.value.transitions[S(!1)], f.value = !1, Mt(() => {
8358
+ const i = dt(o(I(), r.month, r.year));
8359
+ s.value = Xe(dt(o(I(), g, z)), i) ? l.value.transitions[S(!0)] : l.value.transitions[S(!1)], f.value = !1, Mt(() => {
8358
8360
  f.value = !0;
8359
8361
  });
8360
8362
  }
@@ -8404,16 +8406,16 @@ const ph = (e, t, n, r) => {
8404
8406
  return t({ triggerTransition: F }), (g, z) => {
8405
8407
  var i;
8406
8408
  return m(), w("div", {
8407
- class: ye(c(j))
8409
+ class: pe(c(j))
8408
8410
  }, [
8409
8411
  E("div", {
8410
- style: mt(c(k))
8412
+ style: st(c(k))
8411
8413
  }, [
8412
8414
  e.specificMode ? $("", !0) : (m(), w("div", {
8413
8415
  key: 0,
8414
8416
  ref_key: "calendarWrapRef",
8415
8417
  ref: O,
8416
- class: ye(c(M)),
8418
+ class: pe(c(M)),
8417
8419
  role: "grid",
8418
8420
  "aria-label": (i = c(l).ariaLabels) == null ? void 0 : i.calendarWrap
8419
8421
  }, [
@@ -8479,7 +8481,7 @@ const ph = (e, t, n, r) => {
8479
8481
  onMouseleave: N
8480
8482
  }, [
8481
8483
  E("div", {
8482
- class: ye(["dp__cell_inner", U.classData])
8484
+ class: pe(["dp__cell_inner", U.classData])
8483
8485
  }, [
8484
8486
  g.$slots.day && c(te)(U) ? q(g.$slots, "day", {
8485
8487
  key: 0,
@@ -8491,13 +8493,13 @@ const ph = (e, t, n, r) => {
8491
8493
  ], 64)),
8492
8494
  U.marker && c(te)(U) ? (m(), w("div", {
8493
8495
  key: 2,
8494
- class: ye(c(V)(U.marker)),
8495
- style: mt(U.marker.color ? { backgroundColor: U.marker.color } : {})
8496
+ class: pe(c(V)(U.marker)),
8497
+ style: st(U.marker.color ? { backgroundColor: U.marker.color } : {})
8496
8498
  }, null, 6)) : $("", !0),
8497
8499
  c(R)(U.value) ? (m(), w("div", {
8498
8500
  key: 3,
8499
8501
  class: "dp__marker_tooltip",
8500
- style: mt(d.value)
8502
+ style: st(d.value)
8501
8503
  }, [
8502
8504
  (b = U.marker) != null && b.tooltip ? (m(), w("div", {
8503
8505
  key: 0,
@@ -8517,7 +8519,7 @@ const ph = (e, t, n, r) => {
8517
8519
  g.$slots["marker-tooltip"] ? $("", !0) : (m(), w(ve, { key: 1 }, [
8518
8520
  E("div", {
8519
8521
  class: "dp__tooltip_mark",
8520
- style: mt(B.color ? { backgroundColor: B.color } : {})
8522
+ style: st(B.color ? { backgroundColor: B.color } : {})
8521
8523
  }, null, 4),
8522
8524
  E("div", null, me(B.text), 1)
8523
8525
  ], 64))
@@ -8563,7 +8565,7 @@ const ph = (e, t, n, r) => {
8563
8565
  ref: n
8564
8566
  }, [
8565
8567
  E("div", {
8566
- class: ye(["dp__inner_nav", { dp__inner_nav_disabled: e.disabled }])
8568
+ class: pe(["dp__inner_nav", { dp__inner_nav_disabled: e.disabled }])
8567
8569
  }, [
8568
8570
  q(r.$slots, "default")
8569
8571
  ], 2)
@@ -8685,13 +8687,13 @@ const ph = (e, t, n, r) => {
8685
8687
  return m(), w("div", {
8686
8688
  ref_key: "gridWrapRef",
8687
8689
  ref: O,
8688
- class: ye(c(F)),
8690
+ class: pe(c(F)),
8689
8691
  role: "dialog",
8690
8692
  tabindex: "0",
8691
8693
  onKeydown: ce(L, ["esc"])
8692
8694
  }, [
8693
8695
  E("div", {
8694
- class: ye(c(te)),
8696
+ class: pe(c(te)),
8695
8697
  role: "grid"
8696
8698
  }, [
8697
8699
  E("div", Yh, [
@@ -8705,7 +8707,7 @@ const ph = (e, t, n, r) => {
8705
8707
  }, [
8706
8708
  (m(!0), w(ve, null, Ae(i, (T, D) => (m(), w("div", {
8707
8709
  role: "gridcell",
8708
- class: ye(c(M)),
8710
+ class: pe(c(M)),
8709
8711
  key: T.value,
8710
8712
  "aria-selected": T.value === e.modelValue && !e.disabledValues.includes(T.value),
8711
8713
  "aria-disabled": T.className.dp__overlay_cell_disabled,
@@ -8721,7 +8723,7 @@ const ph = (e, t, n, r) => {
8721
8723
  onMouseover: (U) => s.value = T.value
8722
8724
  }, [
8723
8725
  E("div", {
8724
- class: ye(T.className)
8726
+ class: pe(T.className)
8725
8727
  }, [
8726
8728
  Y.$slots.item ? q(Y.$slots, "item", {
8727
8729
  key: 0,
@@ -8737,7 +8739,7 @@ const ph = (e, t, n, r) => {
8737
8739
  key: 0,
8738
8740
  role: "button",
8739
8741
  "aria-label": (z = e.ariaLabels) == null ? void 0 : z.toggleOverlay,
8740
- class: ye(c(j)),
8742
+ class: pe(c(j)),
8741
8743
  tabindex: "0",
8742
8744
  ref_key: "toggleButton",
8743
8745
  ref: _,
@@ -8799,7 +8801,7 @@ const ph = (e, t, n, r) => {
8799
8801
  css: c(a)
8800
8802
  }, {
8801
8803
  default: ne(() => [
8802
- e.showSelectionGrid ? (m(), pe(Zt, Be({ key: 0 }, {
8804
+ e.showSelectionGrid ? (m(), ye(Zt, Be({ key: 0 }, {
8803
8805
  modelValue: e.modelValue,
8804
8806
  items: e.items,
8805
8807
  disabledValues: e.disabledValues,
@@ -8819,7 +8821,7 @@ const ph = (e, t, n, r) => {
8819
8821
  }), Ze({
8820
8822
  "button-icon": ne(() => [
8821
8823
  l.$slots["calendar-icon"] ? q(l.$slots, "calendar-icon", { key: 0 }) : $("", !0),
8822
- l.$slots["calendar-icon"] ? $("", !0) : (m(), pe(c(Br), { key: 1 }))
8824
+ l.$slots["calendar-icon"] ? $("", !0) : (m(), ye(c(Br), { key: 1 }))
8823
8825
  ]),
8824
8826
  _: 2
8825
8827
  }, [
@@ -8938,7 +8940,7 @@ const ph = (e, t, n, r) => {
8938
8940
  return m(), w("div", Hh, [
8939
8941
  b.$slots["month-year"] ? q(b.$slots, "month-year", nt(Be({ key: 0 }, { month: e.month, year: e.year, months: e.months, years: e.years, updateMonthYear: c(O), handleMonthYearChange: c(d), instance: e.instance }))) : (m(), w(ve, { key: 1 }, [
8940
8942
  !b.monthPicker && !b.yearPicker ? (m(), w(ve, { key: 0 }, [
8941
- c(v) && !b.vertical ? (m(), pe(ra, {
8943
+ c(v) && !b.vertical ? (m(), ye(ra, {
8942
8944
  key: 0,
8943
8945
  "aria-label": (xe = c(a).ariaLabels) == null ? void 0 : xe.prevMonth,
8944
8946
  disabled: c(y)(!1),
@@ -8947,7 +8949,7 @@ const ph = (e, t, n, r) => {
8947
8949
  }, {
8948
8950
  default: ne(() => [
8949
8951
  b.$slots["arrow-left"] ? q(b.$slots, "arrow-left", { key: 0 }) : $("", !0),
8950
- b.$slots["arrow-left"] ? $("", !0) : (m(), pe(c(ei), { key: 1 }))
8952
+ b.$slots["arrow-left"] ? $("", !0) : (m(), ye(c(ei), { key: 1 }))
8951
8953
  ]),
8952
8954
  _: 3
8953
8955
  }, 8, ["aria-label", "disabled"])) : $("", !0),
@@ -9058,7 +9060,7 @@ const ph = (e, t, n, r) => {
9058
9060
  } : void 0
9059
9061
  ]), 1040, ["aria-label", "modelValue"])
9060
9062
  ]),
9061
- c(v) && b.vertical ? (m(), pe(ra, {
9063
+ c(v) && b.vertical ? (m(), ye(ra, {
9062
9064
  key: 1,
9063
9065
  "aria-label": (Re = c(a).ariaLabels) == null ? void 0 : Re.prevMonth,
9064
9066
  disabled: c(y)(!1),
@@ -9066,11 +9068,11 @@ const ph = (e, t, n, r) => {
9066
9068
  }, {
9067
9069
  default: ne(() => [
9068
9070
  b.$slots["arrow-up"] ? q(b.$slots, "arrow-up", { key: 0 }) : $("", !0),
9069
- b.$slots["arrow-up"] ? $("", !0) : (m(), pe(c(Fi), { key: 1 }))
9071
+ b.$slots["arrow-up"] ? $("", !0) : (m(), ye(c(Fi), { key: 1 }))
9070
9072
  ]),
9071
9073
  _: 3
9072
9074
  }, 8, ["aria-label", "disabled"])) : $("", !0),
9073
- c(T) ? (m(), pe(ra, {
9075
+ c(T) ? (m(), ye(ra, {
9074
9076
  key: 2,
9075
9077
  ref: "rightIcon",
9076
9078
  disabled: c(y)(!0),
@@ -9080,12 +9082,12 @@ const ph = (e, t, n, r) => {
9080
9082
  }, {
9081
9083
  default: ne(() => [
9082
9084
  b.$slots[b.vertical ? "arrow-down" : "arrow-right"] ? q(b.$slots, b.vertical ? "arrow-down" : "arrow-right", { key: 0 }) : $("", !0),
9083
- b.$slots[b.vertical ? "arrow-down" : "arrow-right"] ? $("", !0) : (m(), pe(ln(b.vertical ? c(Wi) : c(ti)), { key: 1 }))
9085
+ b.$slots[b.vertical ? "arrow-down" : "arrow-right"] ? $("", !0) : (m(), ye(ln(b.vertical ? c(Wi) : c(ti)), { key: 1 }))
9084
9086
  ]),
9085
9087
  _: 3
9086
9088
  }, 8, ["disabled", "aria-label"])) : $("", !0)
9087
9089
  ], 64)) : $("", !0),
9088
- b.monthPicker ? (m(), pe(Zt, Be({ key: 1 }, c(k)("month"), {
9090
+ b.monthPicker ? (m(), ye(Zt, Be({ key: 1 }, c(k)("month"), {
9089
9091
  "skip-active": b.range,
9090
9092
  year: e.year,
9091
9093
  "multi-model-value": c(Q),
@@ -9108,12 +9110,12 @@ const ph = (e, t, n, r) => {
9108
9110
  onKeydown: B[10] || (B[10] = ce((be) => G(!1), ["enter"]))
9109
9111
  }, [
9110
9112
  E("div", {
9111
- class: ye(["dp__inner_nav", { dp__inner_nav_disabled: c(y)(!1) }]),
9113
+ class: pe(["dp__inner_nav", { dp__inner_nav_disabled: c(y)(!1) }]),
9112
9114
  role: "button",
9113
9115
  "aria-label": (se = c(a).ariaLabels) == null ? void 0 : se.prevMonth
9114
9116
  }, [
9115
9117
  b.$slots["arrow-left"] ? q(b.$slots, "arrow-left", { key: 0 }) : $("", !0),
9116
- b.$slots["arrow-left"] ? $("", !0) : (m(), pe(c(ei), { key: 1 }))
9118
+ b.$slots["arrow-left"] ? $("", !0) : (m(), ye(c(ei), { key: 1 }))
9117
9119
  ], 10, jh)
9118
9120
  ], 544),
9119
9121
  E("div", {
@@ -9143,12 +9145,12 @@ const ph = (e, t, n, r) => {
9143
9145
  onKeydown: B[14] || (B[14] = ce((be) => G(!0), ["enter"]))
9144
9146
  }, [
9145
9147
  E("div", {
9146
- class: ye(["dp__inner_nav", { dp__inner_nav_disabled: c(y)(!0) }]),
9148
+ class: pe(["dp__inner_nav", { dp__inner_nav_disabled: c(y)(!0) }]),
9147
9149
  role: "button",
9148
9150
  "aria-label": (ke = c(a).ariaLabels) == null ? void 0 : ke.nextMonth
9149
9151
  }, [
9150
9152
  b.$slots["arrow-right"] ? q(b.$slots, "arrow-right", { key: 0 }) : $("", !0),
9151
- b.$slots["arrow-right"] ? $("", !0) : (m(), pe(c(ti), { key: 1 }))
9153
+ b.$slots["arrow-right"] ? $("", !0) : (m(), ye(c(ti), { key: 1 }))
9152
9154
  ], 10, qh)
9153
9155
  ], 544)
9154
9156
  ]),
@@ -9157,7 +9159,7 @@ const ph = (e, t, n, r) => {
9157
9159
  css: c(l)
9158
9160
  }, {
9159
9161
  default: ne(() => [
9160
- s.value ? (m(), pe(Zt, Be({ key: 0 }, c(k)("year"), {
9162
+ s.value ? (m(), ye(Zt, Be({ key: 0 }, c(k)("year"), {
9161
9163
  modelValue: c(R),
9162
9164
  "onUpdate:modelValue": B[15] || (B[15] = (be) => lt(R) ? R.value = be : null),
9163
9165
  onToggle: U,
@@ -9165,7 +9167,7 @@ const ph = (e, t, n, r) => {
9165
9167
  }), Ze({
9166
9168
  "button-icon": ne(() => [
9167
9169
  b.$slots["calendar-icon"] ? q(b.$slots, "calendar-icon", { key: 0 }) : $("", !0),
9168
- b.$slots["calendar-icon"] ? $("", !0) : (m(), pe(c(Br), { key: 1 }))
9170
+ b.$slots["calendar-icon"] ? $("", !0) : (m(), ye(c(Br), { key: 1 }))
9169
9171
  ]),
9170
9172
  _: 2
9171
9173
  }, [
@@ -9198,7 +9200,7 @@ const ph = (e, t, n, r) => {
9198
9200
  key: "0"
9199
9201
  } : void 0
9200
9202
  ]), 1040, ["skip-active", "year", "multi-model-value", "modelValue"])) : $("", !0),
9201
- b.yearPicker ? (m(), pe(Zt, Be({ key: 2 }, c(k)("year"), {
9203
+ b.yearPicker ? (m(), ye(Zt, Be({ key: 2 }, c(k)("year"), {
9202
9204
  modelValue: c(R),
9203
9205
  "onUpdate:modelValue": B[19] || (B[19] = (se) => lt(R) ? R.value = se : null),
9204
9206
  "multi-model-value": c(Q),
@@ -9282,7 +9284,7 @@ const ph = (e, t, n, r) => {
9282
9284
  return T && D ? i < T || i > D : T ? i < T : D ? i > D : !1;
9283
9285
  }, P = H(() => (i) => te(i).flat().map((v) => v.value).filter((v) => k(v, i))), N = (i) => r[`no${i[0].toUpperCase() + i.slice(1)}Overlay`], K = (i) => {
9284
9286
  N(i) || (y[i] = !y[i], y[i] || n("overlay-closed"));
9285
- }, X = (i) => i === "hours" ? pt : i === "minutes" ? yt : Yt, L = (i, v = !0) => {
9287
+ }, X = (i) => i === "hours" ? yt : i === "minutes" ? mt : Yt, L = (i, v = !0) => {
9286
9288
  const T = v ? S : F;
9287
9289
  (v ? _.value(i) : C.value(i)) || n(
9288
9290
  `update:${i}`,
@@ -9309,13 +9311,13 @@ const ph = (e, t, n, r) => {
9309
9311
  var h, G, fe;
9310
9312
  return m(), w("div", {
9311
9313
  key: U,
9312
- class: ye(c(M))
9314
+ class: pe(c(M))
9313
9315
  }, [
9314
9316
  D.separator ? (m(), w(ve, { key: 0 }, [
9315
9317
  Ge(" : ")
9316
9318
  ], 64)) : (m(), w(ve, { key: 1 }, [
9317
9319
  E("div", {
9318
- class: ye({
9320
+ class: pe({
9319
9321
  dp__inc_dec_button: !0,
9320
9322
  dp__inc_dec_button_disabled: c(_)(D.type)
9321
9323
  }),
@@ -9332,12 +9334,12 @@ const ph = (e, t, n, r) => {
9332
9334
  ref: (b) => g(b, U, 0)
9333
9335
  }, [
9334
9336
  i.$slots["arrow-up"] ? q(i.$slots, "arrow-up", { key: 0 }) : $("", !0),
9335
- i.$slots["arrow-up"] ? $("", !0) : (m(), pe(c(Fi), { key: 1 }))
9337
+ i.$slots["arrow-up"] ? $("", !0) : (m(), ye(c(Fi), { key: 1 }))
9336
9338
  ], 42, Qh),
9337
9339
  E("div", {
9338
9340
  role: "button",
9339
9341
  "aria-label": (G = c(l).ariaLabels) == null ? void 0 : G.openTpOverlay(D.type),
9340
- class: ye(N(D.type) ? "" : "dp__time_display"),
9342
+ class: pe(N(D.type) ? "" : "dp__time_display"),
9341
9343
  tabindex: "0",
9342
9344
  "data-test": `${D.type}-toggle-overlay-btn`,
9343
9345
  onKeydown: [
@@ -9358,7 +9360,7 @@ const ph = (e, t, n, r) => {
9358
9360
  ], 64))
9359
9361
  ], 42, Zh),
9360
9362
  E("div", {
9361
- class: ye({
9363
+ class: pe({
9362
9364
  dp__inc_dec_button: !0,
9363
9365
  dp__inc_dec_button_disabled: c(C)(D.type)
9364
9366
  }),
@@ -9375,7 +9377,7 @@ const ph = (e, t, n, r) => {
9375
9377
  ref: (b) => g(b, U, 2)
9376
9378
  }, [
9377
9379
  i.$slots["arrow-down"] ? q(i.$slots, "arrow-down", { key: 0 }) : $("", !0),
9378
- i.$slots["arrow-down"] ? $("", !0) : (m(), pe(c(Wi), { key: 1 }))
9380
+ i.$slots["arrow-down"] ? $("", !0) : (m(), ye(c(Wi), { key: 1 }))
9379
9381
  ], 42, Gh)
9380
9382
  ], 64))
9381
9383
  ], 2);
@@ -9402,13 +9404,13 @@ const ph = (e, t, n, r) => {
9402
9404
  ]
9403
9405
  }, me(O.value), 41, e0))
9404
9406
  ])),
9405
- (m(!0), w(ve, null, Ae(c(R), (D, U) => (m(), pe(Je, {
9407
+ (m(!0), w(ve, null, Ae(c(R), (D, U) => (m(), ye(Je, {
9406
9408
  key: U,
9407
9409
  name: c(u)(y[D.type]),
9408
9410
  css: c(d)
9409
9411
  }, {
9410
9412
  default: ne(() => [
9411
- y[D.type] ? (m(), pe(Zt, {
9413
+ y[D.type] ? (m(), ye(Zt, {
9412
9414
  key: 0,
9413
9415
  items: te(D.type),
9414
9416
  "disabled-values": c(l).filters.times[D.type].concat(c(P)(D.type)),
@@ -9423,7 +9425,7 @@ const ph = (e, t, n, r) => {
9423
9425
  }, Ze({
9424
9426
  "button-icon": ne(() => [
9425
9427
  i.$slots["clock-icon"] ? q(i.$slots, "clock-icon", { key: 0 }) : $("", !0),
9426
- i.$slots["clock-icon"] ? $("", !0) : (m(), pe(c(Hi), { key: 1 }))
9428
+ i.$slots["clock-icon"] ? $("", !0) : (m(), ye(c(Hi), { key: 1 }))
9427
9429
  ]),
9428
9430
  _: 2
9429
9431
  }, [
@@ -9502,7 +9504,7 @@ const ph = (e, t, n, r) => {
9502
9504
  return m(), w("div", null, [
9503
9505
  L.timePicker ? $("", !0) : Ue((m(), w("div", {
9504
9506
  key: 0,
9505
- class: ye(c(j)),
9507
+ class: pe(c(j)),
9506
9508
  role: "button",
9507
9509
  "aria-label": (le = c(d).ariaLabels) == null ? void 0 : le.openTimePicker,
9508
9510
  tabindex: "0",
@@ -9516,7 +9518,7 @@ const ph = (e, t, n, r) => {
9516
9518
  onClick: Q[2] || (Q[2] = (Y) => R(!0))
9517
9519
  }, [
9518
9520
  L.$slots["clock-icon"] ? q(L.$slots, "clock-icon", { key: 0 }) : $("", !0),
9519
- L.$slots["clock-icon"] ? $("", !0) : (m(), pe(c(Hi), { key: 1 }))
9521
+ L.$slots["clock-icon"] ? $("", !0) : (m(), ye(c(Hi), { key: 1 }))
9520
9522
  ], 42, n0)), [
9521
9523
  [bt, !c(u)("time")]
9522
9524
  ]),
@@ -9545,7 +9547,7 @@ const ph = (e, t, n, r) => {
9545
9547
  setSeconds: K
9546
9548
  }) : $("", !0),
9547
9549
  L.$slots["time-picker-overlay"] ? $("", !0) : (m(), w("div", a0, [
9548
- (m(!0), w(ve, null, Ae(c(V), (g, z) => Ue((m(), pe(t0, Be({ key: z }, {
9550
+ (m(!0), w(ve, null, Ae(c(V), (g, z) => Ue((m(), ye(t0, Be({ key: z }, {
9549
9551
  ...L.$props,
9550
9552
  order: z,
9551
9553
  hours: g.hours,
@@ -9577,7 +9579,7 @@ const ph = (e, t, n, r) => {
9577
9579
  key: 2,
9578
9580
  ref_key: "closeTimePickerBtn",
9579
9581
  ref: s,
9580
- class: ye(c(j)),
9582
+ class: pe(c(j)),
9581
9583
  role: "button",
9582
9584
  "aria-label": (Y = c(d).ariaLabels) == null ? void 0 : Y.closeTimePicker,
9583
9585
  tabindex: "0",
@@ -9588,7 +9590,7 @@ const ph = (e, t, n, r) => {
9588
9590
  onClick: Q[5] || (Q[5] = (g) => R(!1))
9589
9591
  }, [
9590
9592
  L.$slots["calendar-icon"] ? q(L.$slots, "calendar-icon", { key: 0 }) : $("", !0),
9591
- L.$slots["calendar-icon"] ? $("", !0) : (m(), pe(c(Br), { key: 1 }))
9593
+ L.$slots["calendar-icon"] ? $("", !0) : (m(), ye(c(Br), { key: 1 }))
9592
9594
  ], 42, o0)), [
9593
9595
  [bt, !c(u)("time")]
9594
9596
  ])
@@ -9725,7 +9727,7 @@ const ph = (e, t, n, r) => {
9725
9727
  }), s = W([]), _ = W([]), C = W(null), S = W(null), F = W(0), M = W(!1), V = W(0);
9726
9728
  et(() => {
9727
9729
  var x;
9728
- M.value = !0, !((x = r.presetRanges) != null && x.length) && !y["left-sidebar"] && !y["right-sidebar"] && dt();
9730
+ M.value = !0, !((x = r.presetRanges) != null && x.length) && !y["left-sidebar"] && !y["right-sidebar"] && pt();
9729
9731
  const Z = He(S);
9730
9732
  if (Z && !r.textInput && !r.inline && (a(!0), N()), Z) {
9731
9733
  const je = (Qe) => {
@@ -9733,9 +9735,9 @@ const ph = (e, t, n, r) => {
9733
9735
  };
9734
9736
  Z.addEventListener("pointerdown", je), Z.addEventListener("mousedown", je);
9735
9737
  }
9736
- window.addEventListener("resize", dt);
9738
+ window.addEventListener("resize", pt);
9737
9739
  }), Oo(() => {
9738
- window.removeEventListener("resize", dt);
9740
+ window.removeEventListener("resize", pt);
9739
9741
  });
9740
9742
  const { arrowRight: R, arrowLeft: j, arrowDown: te, arrowUp: k } = Ot(), P = (x) => {
9741
9743
  x || x === 0 ? _.value[x].triggerTransition(
@@ -9770,7 +9772,7 @@ const ph = (e, t, n, r) => {
9770
9772
  selectCurrentDate: b,
9771
9773
  presetDateRange: B
9772
9774
  } = ch(r, n, K, P, V), { setHoverDate: xe, clearHoverDate: he, getDayClassData: ue } = i0(Q, r);
9773
- ct(
9775
+ ft(
9774
9776
  L,
9775
9777
  () => {
9776
9778
  r.openOnTop && setTimeout(() => {
@@ -9779,7 +9781,7 @@ const ph = (e, t, n, r) => {
9779
9781
  },
9780
9782
  { deep: !0 }
9781
9783
  );
9782
- const Re = xt(y, "calendar"), tt = xt(y, "action"), se = xt(y, "timePicker"), de = xt(y, "monthYear"), ke = H(() => r.openOnTop ? "dp__arrow_bottom" : "dp__arrow_top"), be = H(() => eh(r.yearRange)), Ut = H(() => th(r.locale, r.monthNameFormat)), dt = () => {
9784
+ const Re = xt(y, "calendar"), tt = xt(y, "action"), se = xt(y, "timePicker"), de = xt(y, "monthYear"), ke = H(() => r.openOnTop ? "dp__arrow_bottom" : "dp__arrow_top"), be = H(() => eh(r.yearRange)), Ut = H(() => th(r.locale, r.monthNameFormat)), pt = () => {
9783
9785
  const x = He(O);
9784
9786
  x && (F.value = x.getBoundingClientRect().width);
9785
9787
  }, Lt = H(() => (x) => u(le.value(x), Y.value(x))), kt = H(
@@ -9844,7 +9846,7 @@ const ph = (e, t, n, r) => {
9844
9846
  updateMonthYear: i
9845
9847
  }), (x, Z) => {
9846
9848
  var je;
9847
- return m(), pe(Je, {
9849
+ return m(), ye(Je, {
9848
9850
  appear: "",
9849
9851
  name: (je = c(d).transitions) == null ? void 0 : je.menuAppear,
9850
9852
  mode: "out-in",
@@ -9859,7 +9861,7 @@ const ph = (e, t, n, r) => {
9859
9861
  ref_key: "dpMenuRef",
9860
9862
  ref: S,
9861
9863
  role: "dialog",
9862
- class: ye(c(Hr)),
9864
+ class: pe(c(Hr)),
9863
9865
  onMouseleave: Z[12] || (Z[12] = (...ae) => c(he) && c(he)(...ae)),
9864
9866
  onClick: tn,
9865
9867
  onKeydown: [
@@ -9873,14 +9875,14 @@ const ph = (e, t, n, r) => {
9873
9875
  }, [
9874
9876
  (x.disabled || x.readonly) && x.inline ? (m(), w("div", {
9875
9877
  key: 0,
9876
- class: ye(c(Ht))
9878
+ class: pe(c(Ht))
9877
9879
  }, null, 2)) : $("", !0),
9878
9880
  !x.inline && !x.teleportCenter ? (m(), w("div", {
9879
9881
  key: 1,
9880
- class: ye(c(ke))
9882
+ class: pe(c(ke))
9881
9883
  }, null, 2)) : $("", !0),
9882
9884
  E("div", {
9883
- class: ye({
9885
+ class: pe({
9884
9886
  dp__menu_content_wrapper: ((Qe = x.presetRanges) == null ? void 0 : Qe.length) || !!x.$slots["left-sidebar"] || !!x.$slots["right-sidebar"]
9885
9887
  })
9886
9888
  }, [
@@ -9890,7 +9892,7 @@ const ph = (e, t, n, r) => {
9890
9892
  (nn = x.presetRanges) != null && nn.length ? (m(), w("div", c0, [
9891
9893
  (m(!0), w(ve, null, Ae(x.presetRanges, (ae, Nt) => (m(), w("div", {
9892
9894
  key: Nt,
9893
- style: mt(ae.style || {}),
9895
+ style: st(ae.style || {}),
9894
9896
  class: "dp__preset_range",
9895
9897
  onClick: (_e) => c(B)(ae.range, !!ae.slot)
9896
9898
  }, [
@@ -9911,13 +9913,13 @@ const ph = (e, t, n, r) => {
9911
9913
  role: "document"
9912
9914
  }, [
9913
9915
  E("div", {
9914
- class: ye(c(Lr))
9916
+ class: pe(c(Lr))
9915
9917
  }, [
9916
9918
  (m(!0), w(ve, null, Ae(c(kt), (ae, Nt) => (m(), w("div", {
9917
9919
  key: ae,
9918
- class: ye(c(en))
9920
+ class: pe(c(en))
9919
9921
  }, [
9920
- !x.disableMonthYearSelect && !x.timePicker ? (m(), pe(ln(x.monthYearComponent ? x.monthYearComponent : Kh), Be({
9922
+ !x.disableMonthYearSelect && !x.timePicker ? (m(), ye(ln(x.monthYearComponent ? x.monthYearComponent : Kh), Be({
9921
9923
  key: 0,
9922
9924
  ref_for: !0,
9923
9925
  ref: (_e) => {
@@ -9976,7 +9978,7 @@ const ph = (e, t, n, r) => {
9976
9978
  ], 2),
9977
9979
  E("div", null, [
9978
9980
  x.$slots["time-picker"] ? q(x.$slots, "time-picker", nt(Be({ key: 0 }, { time: c(g), updateTime: c(z) }))) : (m(), w(ve, { key: 1 }, [
9979
- x.enableTimePicker && !x.monthPicker && !x.weekPicker ? (m(), pe(ln(x.timePickerComponent ? x.timePickerComponent : l0), Be({
9981
+ x.enableTimePicker && !x.monthPicker && !x.weekPicker ? (m(), ye(ln(x.timePickerComponent ? x.timePickerComponent : l0), Be({
9980
9982
  key: 0,
9981
9983
  ref_key: "timePickerRef",
9982
9984
  ref: C,
@@ -10019,7 +10021,7 @@ const ph = (e, t, n, r) => {
10019
10021
  }, me(x.nowButtonLabel), 1))
10020
10022
  ])) : $("", !0)
10021
10023
  ], 2),
10022
- !x.autoApply || x.keepActionRow ? (m(), pe(ln(x.actionRowComponent ? x.actionRowComponent : Ph), Be({
10024
+ !x.autoApply || x.keepActionRow ? (m(), ye(ln(x.actionRowComponent ? x.actionRowComponent : Ph), Be({
10023
10025
  key: 2,
10024
10026
  "menu-mount": M.value,
10025
10027
  "calendar-width": F.value,
@@ -10048,7 +10050,7 @@ const ph = (e, t, n, r) => {
10048
10050
  if (!e)
10049
10051
  return aa;
10050
10052
  let a = aa;
10051
- const o = ct(
10053
+ const o = ft(
10052
10054
  () => c(e),
10053
10055
  (u) => {
10054
10056
  a(), u && (u.addEventListener(t, n, r), a = () => {
@@ -10093,7 +10095,7 @@ const ph = (e, t, n, r) => {
10093
10095
  r.inline || (window.removeEventListener("scroll", g), window.removeEventListener("resize", z));
10094
10096
  });
10095
10097
  const M = xt(a, "all", r.presetRanges), V = xt(a, "input");
10096
- ct(
10098
+ ft(
10097
10099
  [l, u],
10098
10100
  () => {
10099
10101
  K(l.value);
@@ -10177,7 +10179,7 @@ const ph = (e, t, n, r) => {
10177
10179
  updateInternalModelValue: he,
10178
10180
  setMonthYear: se
10179
10181
  }), (de, ke) => (m(), w("div", {
10180
- class: ye(c(le))
10182
+ class: pe(c(le))
10181
10183
  }, [
10182
10184
  Ce(wh, Be({
10183
10185
  ref_key: "inputRef",
@@ -10198,17 +10200,17 @@ const ph = (e, t, n, r) => {
10198
10200
  }), Ze({ _: 2 }, [
10199
10201
  Ae(c(V), (be, Ut) => ({
10200
10202
  name: be,
10201
- fn: ne((dt) => [
10202
- q(de.$slots, be, nt(vt(dt)))
10203
+ fn: ne((pt) => [
10204
+ q(de.$slots, be, nt(vt(pt)))
10203
10205
  ])
10204
10206
  }))
10205
10207
  ]), 1040, ["is-menu-open", "input-value", "onSetEmptyDate"]),
10206
- o.value ? (m(), pe(wo, {
10208
+ o.value ? (m(), ye(wo, {
10207
10209
  key: 0,
10208
10210
  to: de.teleport,
10209
10211
  disabled: de.inline
10210
10212
  }, [
10211
- o.value ? (m(), pe(y0, Be({
10213
+ o.value ? (m(), ye(y0, Be({
10212
10214
  key: 0,
10213
10215
  ref_key: "dpMenuRef",
10214
10216
  ref: d,
@@ -10229,8 +10231,8 @@ const ph = (e, t, n, r) => {
10229
10231
  }), Ze({ _: 2 }, [
10230
10232
  Ae(c(M), (be, Ut) => ({
10231
10233
  name: be,
10232
- fn: ne((dt) => [
10233
- q(de.$slots, be, nt(vt({ ...dt })))
10234
+ fn: ne((pt) => [
10235
+ q(de.$slots, be, nt(vt({ ...pt })))
10234
10236
  ])
10235
10237
  }))
10236
10238
  ]), 1040, ["class", "style", "open-on-top", "internal-model-value", "onRecalculatePosition"])) : $("", !0)
@@ -10249,7 +10251,7 @@ const ph = (e, t, n, r) => {
10249
10251
  Object.entries(g0).forEach(([e, t]) => {
10250
10252
  e !== "default" && (Eo[e] = t);
10251
10253
  });
10252
- const w0 = { class: "rm-datepicker" }, H0 = /* @__PURE__ */ Oe({
10254
+ const w0 = { class: "rm-datepicker" }, V0 = /* @__PURE__ */ Oe({
10253
10255
  __name: "RMDatepicker",
10254
10256
  props: {
10255
10257
  label: { default: "" },
@@ -10302,7 +10304,7 @@ const w0 = { class: "rm-datepicker" }, H0 = /* @__PURE__ */ Oe({
10302
10304
  const O0 = {
10303
10305
  key: 0,
10304
10306
  class: "rm-tooltip__pop"
10305
- }, $0 = { class: "rm-tooltip__pop-label" }, F0 = /* @__PURE__ */ Oe({
10307
+ }, $0 = { class: "rm-tooltip__pop-label" }, H0 = /* @__PURE__ */ Oe({
10306
10308
  __name: "RMTooltip",
10307
10309
  props: {
10308
10310
  label: { default: "" },
@@ -10317,12 +10319,12 @@ const O0 = {
10317
10319
  function r() {
10318
10320
  t.dynamic || (n.value = !n.value);
10319
10321
  }
10320
- return ct(() => t.visible, () => {
10322
+ return ft(() => t.visible, () => {
10321
10323
  t.dynamic && (n.value = !0, setTimeout(() => {
10322
10324
  n.value = !1;
10323
10325
  }, +t.duration));
10324
10326
  }), (a, o) => (m(), w("div", {
10325
- class: ye([
10327
+ class: pe([
10326
10328
  "rm-tooltip",
10327
10329
  `position-${e.position}`,
10328
10330
  {
@@ -10340,18 +10342,20 @@ const O0 = {
10340
10342
  ], 34));
10341
10343
  }
10342
10344
  });
10343
- const k0 = { class: "rm-avatar__overlay" }, P0 = ["src"], T0 = { class: "rm-avatar__label" }, W0 = /* @__PURE__ */ Oe({
10345
+ const k0 = { class: "rm-avatar__overlay" }, P0 = ["src"], F0 = /* @__PURE__ */ Oe({
10344
10346
  __name: "RMAvatar",
10345
10347
  props: {
10346
10348
  label: { default: "Anon" },
10347
10349
  staticLabel: { default: "" },
10348
10350
  small: { type: Boolean, default: !1 },
10349
- avatar: { default: null }
10351
+ avatar: { default: null },
10352
+ labelBordered: { type: Boolean, default: !0 },
10353
+ labelBorderColor: { default: "#FFFFFF" }
10350
10354
  },
10351
10355
  setup(e) {
10352
10356
  const t = e, n = H(() => t.label.trim().replace(/\s+/g, " ").split(" ").map((r) => r[0].toUpperCase()).join("").slice(0, 2));
10353
10357
  return (r, a) => (m(), w("div", {
10354
- class: ye([
10358
+ class: pe([
10355
10359
  "rm-avatar",
10356
10360
  {
10357
10361
  small: e.small,
@@ -10367,29 +10371,41 @@ const k0 = { class: "rm-avatar__overlay" }, P0 = ["src"], T0 = { class: "rm-avat
10367
10371
  alt: ""
10368
10372
  }, null, 8, P0)) : $("", !0)
10369
10373
  ]),
10370
- E("div", T0, me(e.staticLabel || c(n)), 1)
10374
+ E("div", {
10375
+ class: pe([
10376
+ "rm-avatar__label",
10377
+ {
10378
+ "rm-avatar__label--bordered": e.labelBordered
10379
+ }
10380
+ ]),
10381
+ style: st({
10382
+ borderColor: e.labelBorderColor
10383
+ })
10384
+ }, [
10385
+ E("span", null, me(e.staticLabel || c(n)), 1)
10386
+ ], 6)
10371
10387
  ], 2));
10372
10388
  }
10373
10389
  });
10374
- const D0 = {
10390
+ const T0 = {
10375
10391
  key: 0,
10376
10392
  class: "rm-loader"
10377
- }, x0 = /* @__PURE__ */ E("div", { class: "rm-loader__overlay" }, null, -1), S0 = /* @__PURE__ */ E("div", { class: "rm-loader__wr" }, [
10393
+ }, D0 = /* @__PURE__ */ E("div", { class: "rm-loader__overlay" }, null, -1), x0 = /* @__PURE__ */ E("div", { class: "rm-loader__wr" }, [
10378
10394
  /* @__PURE__ */ E("div", { class: "rm-loader__spinner" })
10379
- ], -1), R0 = [
10380
- x0,
10381
- S0
10382
- ], j0 = /* @__PURE__ */ Oe({
10395
+ ], -1), S0 = [
10396
+ D0,
10397
+ x0
10398
+ ], W0 = /* @__PURE__ */ Oe({
10383
10399
  __name: "RMLoader",
10384
10400
  props: {
10385
10401
  isActive: { type: Boolean, default: !1 },
10386
10402
  isLock: { type: Boolean, default: !1 }
10387
10403
  },
10388
10404
  setup(e) {
10389
- return (t, n) => (m(), pe(wo, { to: "body" }, [
10405
+ return (t, n) => (m(), ye(wo, { to: "body" }, [
10390
10406
  Ce(Je, { name: "fade" }, {
10391
10407
  default: ne(() => [
10392
- e.isActive ? Ue((m(), w("div", D0, R0)), [
10408
+ e.isActive ? Ue((m(), w("div", T0, S0)), [
10393
10409
  [c(vi), e.isLock && e.isActive]
10394
10410
  ]) : $("", !0)
10395
10411
  ]),
@@ -10399,20 +10415,20 @@ const D0 = {
10399
10415
  }
10400
10416
  });
10401
10417
  export {
10402
- U0 as RMAlert,
10403
- I0 as RMAttachFiles,
10404
- W0 as RMAvatar,
10418
+ Y0 as RMAlert,
10419
+ A0 as RMAttachFiles,
10420
+ F0 as RMAvatar,
10405
10421
  ht as RMButton,
10406
- A0 as RMCheckbox,
10407
- L0 as RMConfirm,
10408
- H0 as RMDatepicker,
10409
- Y0 as RMEditable,
10410
- V0 as RMHint,
10422
+ N0 as RMCheckbox,
10423
+ U0 as RMConfirm,
10424
+ V0 as RMDatepicker,
10425
+ B0 as RMEditable,
10426
+ L0 as RMHint,
10411
10427
  Cu as RMInput,
10412
- j0 as RMLoader,
10413
- E0 as RMModal,
10414
- N0 as RMProgress,
10415
- B0 as RMSelect,
10416
- C0 as RMSkeleton,
10417
- F0 as RMTooltip
10428
+ W0 as RMLoader,
10429
+ I0 as RMModal,
10430
+ C0 as RMProgress,
10431
+ E0 as RMSelect,
10432
+ M0 as RMSkeleton,
10433
+ H0 as RMTooltip
10418
10434
  };