redmine-ui-kit 1.2.4 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { defineComponent as $e, openBlock as m, createElementBlock as O, normalizeStyle as yt, createElementVNode as E, useSlots as Gt, computed as V, normalizeClass as pe, Fragment as ve, createTextVNode as Ge, toDisplayString as me, renderSlot as j, withDirectives as Ve, vShow as bt, unref as c, isRef as it, vModelCheckbox as Xl, createCommentVNode as T, ref as H, onMounted as Je, nextTick as Mt, withKeys as de, withModifiers as Ke, vModelText as Eo, createBlock as ye, Transition as nt, withCtx as ae, createVNode as Ee, watchEffect as Ql, watch as ht, renderList as Ne, reactive as Jt, toRef as oa, onUnmounted as wo, mergeProps as Be, createSlots as Ze, normalizeProps as tt, guardReactiveProps as mt, Teleport as Zl, resolveDynamicComponent as un, onBeforeUpdate as Gl, getCurrentScope as Jl, onScopeDispose as eu } from "vue";
2
- const tu = /* @__PURE__ */ E("span", null, null, -1), nu = [
1
+ import { defineComponent as $e, openBlock as m, createElementBlock as O, normalizeStyle as yt, createElementVNode as B, useSlots as Gt, computed as V, normalizeClass as pe, Fragment as ve, createTextVNode as Ge, toDisplayString as me, renderSlot as j, withDirectives as Ve, vShow as bt, unref as c, isRef as it, vModelCheckbox as Xl, createCommentVNode as T, ref as H, onMounted as Je, nextTick as Mt, withKeys as de, withModifiers as Ke, vModelText as Eo, createBlock as ye, Transition as nt, withCtx as ae, createVNode as Ee, watchEffect as Ql, watch as ht, renderList as Ne, reactive as Jt, toRef as oa, onUnmounted as wo, mergeProps as Be, createSlots as Ze, normalizeProps as tt, guardReactiveProps as mt, Teleport as Zl, resolveDynamicComponent as un, onBeforeUpdate as Gl, getCurrentScope as Jl, onScopeDispose as eu } from "vue";
2
+ const tu = /* @__PURE__ */ B("span", null, null, -1), nu = [
3
3
  tu
4
4
  ], D0 = /* @__PURE__ */ $e({
5
5
  __name: "RMSkeleton",
@@ -45,12 +45,12 @@ const ru = ["disabled"], au = { class: "rm-button__label" }, ou = { class: "rm-b
45
45
  disabled: e.disabled,
46
46
  onClick: a[0] || (a[0] = (o) => r.$emit("click", o))
47
47
  }, [
48
- E("div", au, [
48
+ B("div", au, [
49
49
  e.label ? (m(), O(ve, { key: 0 }, [
50
50
  Ge(me(e.label), 1)
51
51
  ], 64)) : j(r.$slots, "default", { key: 1 })
52
52
  ]),
53
- Ve(E("div", ou, [
53
+ Ve(B("div", ou, [
54
54
  j(r.$slots, "icon")
55
55
  ], 512), [
56
56
  [bt, c(n)]
@@ -58,7 +58,7 @@ const ru = ["disabled"], au = { class: "rm-button__label" }, ou = { class: "rm-b
58
58
  ], 10, ru));
59
59
  }
60
60
  });
61
- const iu = { class: "rm-progress" }, lu = { class: "rm-progress-line" }, uu = /* @__PURE__ */ E("div", { class: "rm-progress-line__skeleton" }, null, -1), x0 = /* @__PURE__ */ $e({
61
+ const iu = { class: "rm-progress" }, lu = { class: "rm-progress-line" }, uu = /* @__PURE__ */ B("div", { class: "rm-progress-line__skeleton" }, null, -1), x0 = /* @__PURE__ */ $e({
62
62
  __name: "RMProgress",
63
63
  props: {
64
64
  done: { default: 0 },
@@ -67,8 +67,8 @@ const iu = { class: "rm-progress" }, lu = { class: "rm-progress-line" }, uu = /*
67
67
  setup(e) {
68
68
  const t = e, n = V(() => !t.done || !t.all ? 0 : Math.round(t.done / t.all * 100));
69
69
  return (r, a) => (m(), O("div", iu, [
70
- E("div", lu, [
71
- E("div", {
70
+ B("div", lu, [
71
+ B("div", {
72
72
  class: "rm-progress-line__done",
73
73
  style: yt(`max-width:${c(n)}%`)
74
74
  }, null, 4),
@@ -96,7 +96,7 @@ const su = { class: "rm-checkbox" }, cu = ["id", "name", "disabled"], fu = ["for
96
96
  }
97
97
  });
98
98
  return (a, o) => (m(), O("div", su, [
99
- Ve(E("input", {
99
+ Ve(B("input", {
100
100
  id: `${e.name}_checkbox`,
101
101
  "onUpdate:modelValue": o[0] || (o[0] = (i) => it(r) ? r.value = i : null),
102
102
  type: "checkbox",
@@ -108,7 +108,7 @@ const su = { class: "rm-checkbox" }, cu = ["id", "name", "disabled"], fu = ["for
108
108
  }, null, 40, cu), [
109
109
  [Xl, c(r)]
110
110
  ]),
111
- E("label", {
111
+ B("label", {
112
112
  for: `${e.name}_checkbox`,
113
113
  class: pe([
114
114
  "rm-checkbox-icon",
@@ -127,7 +127,7 @@ const su = { class: "rm-checkbox" }, cu = ["id", "name", "disabled"], fu = ["for
127
127
  const pu = { class: "rm-attach" }, yu = {
128
128
  for: "file",
129
129
  class: "rm-attach__label"
130
- }, mu = { class: "rm-attach__attach" }, vu = ["multiple", "accept"], hu = { class: "rm-attach__allow" }, _u = { key: 0 }, bu = /* @__PURE__ */ E("br", null, null, -1), gu = { key: 1 }, wu = /* @__PURE__ */ E("br", null, null, -1), R0 = /* @__PURE__ */ $e({
130
+ }, mu = { class: "rm-attach__attach" }, vu = ["multiple", "accept"], hu = { class: "rm-attach__allow" }, _u = { key: 0 }, bu = /* @__PURE__ */ B("br", null, null, -1), gu = { key: 1 }, wu = /* @__PURE__ */ B("br", null, null, -1), R0 = /* @__PURE__ */ $e({
131
131
  __name: "RMAttachFiles",
132
132
  props: {
133
133
  attachLabel: { default: "Select file" },
@@ -190,9 +190,9 @@ const pu = { class: "rm-attach" }, yu = {
190
190
  return g.files = F.files, F.files;
191
191
  }
192
192
  return (s, g) => (m(), O("div", pu, [
193
- E("label", yu, [
194
- E("span", mu, me(e.attachLabel), 1),
195
- E("input", {
193
+ B("label", yu, [
194
+ B("span", mu, me(e.attachLabel), 1),
195
+ B("input", {
196
196
  id: "file",
197
197
  ref_key: "file",
198
198
  ref: a,
@@ -204,7 +204,7 @@ const pu = { class: "rm-attach" }, yu = {
204
204
  onChange: y
205
205
  }, null, 40, vu)
206
206
  ]),
207
- E("span", hu, [
207
+ B("span", hu, [
208
208
  c(i) && c(i).length ? (m(), O("span", _u, [
209
209
  Ge(me(e.deniedFilesLabel) + ": " + me(c(i)), 1),
210
210
  bu
@@ -303,7 +303,7 @@ const Du = ["for"], xu = { class: "rm-input-wrapper" }, Su = ["id", "maxlength",
303
303
  for: c(r),
304
304
  class: "rm-input__label"
305
305
  }, me(e.label), 9, Du)) : T("", !0),
306
- E("div", xu, [
306
+ B("div", xu, [
307
307
  e.isAutoGrow ? Ve((m(), O("textarea", {
308
308
  key: 0,
309
309
  id: c(r),
@@ -339,7 +339,7 @@ const Du = ["for"], xu = { class: "rm-input-wrapper" }, Su = ["id", "maxlength",
339
339
  }, null, 40, Ru)), [
340
340
  [Eo, c(u)]
341
341
  ]),
342
- Ve(E("span", { class: "rm-input__hint" }, me(e.hint), 513), [
342
+ Ve(B("span", { class: "rm-input__hint" }, me(e.hint), 513), [
343
343
  [bt, a.value]
344
344
  ])
345
345
  ])
@@ -390,7 +390,7 @@ const Cu = "data:image/svg+xml;base64,PHN2ZwogICAgd2lkdGg9IjIyIgogICAgaGVpZ2h0PS
390
390
  }, {
391
391
  default: ae(() => [
392
392
  e.isActive ? Ve((m(), O("div", Au, [
393
- E("div", {
393
+ B("div", {
394
394
  class: "rm-modal__overlay",
395
395
  onClick: Ke(r, ["self"])
396
396
  }, null, 8, Iu),
@@ -409,14 +409,14 @@ const Cu = "data:image/svg+xml;base64,PHN2ZwogICAgd2lkdGg9IjIyIgogICAgaGVpZ2h0PS
409
409
  onClick: r
410
410
  }, {
411
411
  default: ae(() => [
412
- E("img", {
412
+ B("img", {
413
413
  src: c(Cu),
414
414
  alt: "close"
415
415
  }, null, 8, Eu)
416
416
  ]),
417
417
  _: 1
418
418
  })),
419
- E("div", Bu, [
419
+ B("div", Bu, [
420
420
  j(a.$slots, "default")
421
421
  ])
422
422
  ], 2)) : (m(), O("div", Yu, [
@@ -480,35 +480,35 @@ const Lu = (e, t = 150) => {
480
480
  }, en = ml ? qu : {}, Ku = ["for"], Xu = { class: "rm-select-input" }, Qu = {
481
481
  key: 0,
482
482
  class: "rm-select-chips"
483
- }, Zu = { class: "rm-select-chip__label" }, Gu = ["onClick"], Ju = /* @__PURE__ */ E("svg", {
483
+ }, Zu = { class: "rm-select-chip__label" }, Gu = ["onClick"], Ju = /* @__PURE__ */ B("svg", {
484
484
  viewBox: "0 0 24 24",
485
485
  focusable: "false"
486
486
  }, [
487
- /* @__PURE__ */ E("path", { d: "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z" })
487
+ /* @__PURE__ */ B("path", { d: "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z" })
488
488
  ], -1), es = [
489
489
  Ju
490
- ], ts = ["id", "value", "placeholder", "readonly"], ns = { class: "rm-select-input-controls" }, rs = /* @__PURE__ */ E("svg", {
490
+ ], ts = ["id", "value", "placeholder", "readonly"], ns = { class: "rm-select-input-controls" }, rs = /* @__PURE__ */ B("svg", {
491
491
  width: "16",
492
492
  height: "10",
493
493
  viewBox: "0 0 16 10",
494
494
  fill: "none",
495
495
  xmlns: "http://www.w3.org/2000/svg"
496
496
  }, [
497
- /* @__PURE__ */ E("path", {
497
+ /* @__PURE__ */ B("path", {
498
498
  d: "M14.8795 1L7.93974 8.27024L0.99996 1",
499
499
  stroke: "black",
500
500
  "stroke-width": "2",
501
501
  "stroke-linecap": "round",
502
502
  "stroke-linejoin": "round"
503
503
  })
504
- ], -1), as = /* @__PURE__ */ E("svg", {
504
+ ], -1), as = /* @__PURE__ */ B("svg", {
505
505
  width: "22",
506
506
  height: "22",
507
507
  viewBox: "0 0 22 22",
508
508
  fill: "none",
509
509
  xmlns: "http://www.w3.org/2000/svg"
510
510
  }, [
511
- /* @__PURE__ */ E("path", {
511
+ /* @__PURE__ */ B("path", {
512
512
  d: "M1 1L21 21M1 21L21 1",
513
513
  stroke: "black",
514
514
  "stroke-width": "2",
@@ -547,7 +547,7 @@ const Lu = (e, t = 150) => {
547
547
  set($) {
548
548
  t("update:modelValue", $);
549
549
  }
550
- }), d = V(() => !!r.options), s = V(() => i.value ? n.options.filter(({ name: $ }) => $.toLowerCase().includes(i.value.toLowerCase())) : n.options);
550
+ }), d = V(() => !!r.optionsList), s = V(() => i.value ? n.options.filter(({ name: $ }) => $.toLowerCase().includes(i.value.toLowerCase())) : n.options);
551
551
  Ql(() => {
552
552
  n.selectedOptions && (o.value = n.selectedOptions);
553
553
  }), ht(() => n.closable, ($) => a.value = !$), ht(a, ($) => {
@@ -585,11 +585,12 @@ const Lu = (e, t = 150) => {
585
585
  return ($, Y) => Ve((m(), O("div", {
586
586
  class: pe(["rm-select", { "rm-select--with-chips": e.useChips }])
587
587
  }, [
588
- E("label", {
588
+ e.label ? (m(), O("label", {
589
+ key: 0,
589
590
  for: `select__${e.name}`
590
- }, me(e.label), 9, Ku),
591
- E("div", Xu, [
592
- E("div", {
591
+ }, me(e.label), 9, Ku)) : T("", !0),
592
+ B("div", Xu, [
593
+ B("div", {
593
594
  class: "rm-select-container",
594
595
  style: yt({
595
596
  display: e.useChips ? "flex" : "block"
@@ -601,14 +602,14 @@ const Lu = (e, t = 150) => {
601
602
  key: `chip__${P}`,
602
603
  class: "rm-select-chip"
603
604
  }, [
604
- E("span", Zu, me(X.name), 1),
605
- E("button", {
605
+ B("span", Zu, me(X.name), 1),
606
+ B("button", {
606
607
  class: "rm-select-chip__btn",
607
608
  onClick: (D) => q(X)
608
609
  }, es, 8, Gu)
609
610
  ]))), 128))
610
611
  ])) : T("", !0),
611
- E("input", {
612
+ B("input", {
612
613
  id: `select__${e.name}`,
613
614
  ref_key: "selectInput",
614
615
  ref: f,
@@ -624,7 +625,7 @@ const Lu = (e, t = 150) => {
624
625
  (...X) => c(F) && c(F)(...X))
625
626
  }, null, 40, ts)
626
627
  ], 4),
627
- E("div", ns, [
628
+ B("div", ns, [
628
629
  Ee(vt, {
629
630
  class: pe(["rm-select-input__cheveron", { open: a.value }]),
630
631
  onClick: Y[3] || (Y[3] = Ke((X) => a.value = !a.value, ["prevent"]))
@@ -656,7 +657,7 @@ const Lu = (e, t = 150) => {
656
657
  ]),
657
658
  Ee(nt, { name: "fade" }, {
658
659
  default: ae(() => [
659
- Ve(E("ul", {
660
+ Ve(B("ul", {
660
661
  ref_key: "selectOptions",
661
662
  ref: y,
662
663
  class: "rm-select-inner"
@@ -691,10 +692,10 @@ const ls = (e, t) => {
691
692
  viewBox: "0 0 13 15",
692
693
  fill: "none",
693
694
  xmlns: "http://www.w3.org/2000/svg"
694
- }, cs = /* @__PURE__ */ E("path", {
695
+ }, cs = /* @__PURE__ */ B("path", {
695
696
  d: "M6.75795 3.6789L7.32009 4.24113L1.7842 9.77779H1.22205V9.21557L6.75795 3.6789ZM8.95765 1.52588e-05C8.80489 1.52588e-05 8.64602 0.0611263 8.52993 0.177237L7.41175 1.29557L9.7031 3.58724L10.8213 2.4689C11.0596 2.23057 11.0596 1.84557 10.8213 1.60724L9.39147 0.177237C9.26927 0.0550152 9.11651 1.52588e-05 8.95765 1.52588e-05ZM6.75795 1.94946L0 8.70835V11H2.29135L9.0493 4.24113L6.75795 1.94946Z",
696
697
  fill: "#96B8D4"
697
- }, null, -1), fs = /* @__PURE__ */ E("rect", {
698
+ }, null, -1), fs = /* @__PURE__ */ B("rect", {
698
699
  y: "13",
699
700
  width: "13",
700
701
  height: "2",
@@ -754,7 +755,7 @@ const ys = /* @__PURE__ */ ls(us, [["render", ps]]), ms = {
754
755
  r.value ? (m(), O("div", ms, [
755
756
  j(w.$slots, "header")
756
757
  ])) : T("", !0),
757
- E("div", {
758
+ B("div", {
758
759
  class: "rm-editable__content",
759
760
  onClick: y
760
761
  }, [
@@ -803,7 +804,7 @@ const bs = {
803
804
  width: "22",
804
805
  height: "22",
805
806
  fill: "none"
806
- }, gs = /* @__PURE__ */ E("path", {
807
+ }, gs = /* @__PURE__ */ B("path", {
807
808
  stroke: "#000",
808
809
  "stroke-linecap": "round",
809
810
  "stroke-linejoin": "round",
@@ -834,16 +835,16 @@ const $s = { render: Os }, ks = {
834
835
  Ve((m(), O("div", {
835
836
  class: pe(["rm-alert", e.status])
836
837
  }, [
837
- E("div", Ps, [
838
- E("h3", Ts, me(e.title), 1),
839
- E("div", Ds, [
840
- E("p", null, me(e.message), 1),
841
- E("div", null, [
838
+ B("div", Ps, [
839
+ B("h3", Ts, me(e.title), 1),
840
+ B("div", Ds, [
841
+ B("p", null, me(e.message), 1),
842
+ B("div", null, [
842
843
  j(n.$slots, "default")
843
844
  ])
844
845
  ])
845
846
  ]),
846
- E("div", xs, [
847
+ B("div", xs, [
847
848
  Ee(vt, {
848
849
  onClick: r[0] || (r[0] = (a) => t("close"))
849
850
  }, {
@@ -880,8 +881,8 @@ const Ss = {
880
881
  return (n, r) => (m(), ye(nt, { name: "fade" }, {
881
882
  default: ae(() => [
882
883
  e.visibility ? Ve((m(), O("div", Ss, [
883
- E("h3", Rs, me(e.title), 1),
884
- E("div", Ms, [
884
+ B("h3", Rs, me(e.title), 1),
885
+ B("div", Ms, [
885
886
  Ee(vt, {
886
887
  label: e.confirmLabel,
887
888
  onClick: r[0] || (r[0] = (a) => t("confirm"))
@@ -2275,7 +2276,7 @@ function Xt(e, t, n) {
2275
2276
  weekStartsOn: z,
2276
2277
  locale: D,
2277
2278
  _originalDate: Q
2278
- }, B = X.match(Uc).map(function(b) {
2279
+ }, E = X.match(Uc).map(function(b) {
2279
2280
  var W = b[0];
2280
2281
  if (W === "p" || W === "P") {
2281
2282
  var l = la[W];
@@ -2295,7 +2296,7 @@ function Xt(e, t, n) {
2295
2296
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + W + "`");
2296
2297
  return b;
2297
2298
  }).join("");
2298
- return B;
2299
+ return E;
2299
2300
  }
2300
2301
  function Fc(e) {
2301
2302
  var t = e.match(Lc);
@@ -6342,14 +6343,14 @@ function _o(e, t, n, r) {
6342
6343
  firstWeekContainsDate: Q,
6343
6344
  weekStartsOn: L,
6344
6345
  locale: z
6345
- }, ie = [new Jc()], B = D.match(dm).map(function(he) {
6346
+ }, ie = [new Jc()], E = D.match(dm).map(function(he) {
6346
6347
  var ue = he[0];
6347
6348
  if (ue in la) {
6348
6349
  var Re = la[ue];
6349
6350
  return Re(he, z.formatLong);
6350
6351
  }
6351
6352
  return he;
6352
- }).join("").match(fm), b = [], W = Zi(B), l;
6353
+ }).join("").match(fm), b = [], W = Zi(E), l;
6353
6354
  try {
6354
6355
  var v = function() {
6355
6356
  var ue = l.value;
@@ -6633,7 +6634,7 @@ const Ct = (e, t) => {
6633
6634
  height: "32",
6634
6635
  viewBox: "0 0 32 32",
6635
6636
  class: "dp__icon"
6636
- }, Um = /* @__PURE__ */ E("path", { d: "M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z" }, null, -1), Lm = /* @__PURE__ */ E("path", { d: "M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z" }, null, -1), Vm = /* @__PURE__ */ E("path", { d: "M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z" }, null, -1), Hm = /* @__PURE__ */ E("path", { d: "M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z" }, null, -1), Fm = [
6637
+ }, Um = /* @__PURE__ */ B("path", { d: "M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z" }, null, -1), Lm = /* @__PURE__ */ B("path", { d: "M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z" }, null, -1), Vm = /* @__PURE__ */ B("path", { d: "M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z" }, null, -1), Hm = /* @__PURE__ */ B("path", { d: "M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z" }, null, -1), Fm = [
6637
6638
  Um,
6638
6639
  Lm,
6639
6640
  Vm,
@@ -6649,7 +6650,7 @@ const Br = /* @__PURE__ */ Ct(Bm, [["render", Wm]]), jm = {}, zm = {
6649
6650
  height: "32",
6650
6651
  viewBox: "0 0 32 32",
6651
6652
  class: "dp__icon"
6652
- }, qm = /* @__PURE__ */ E("path", { d: "M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z" }, null, -1), Km = /* @__PURE__ */ E("path", { d: "M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z" }, null, -1), Xm = [
6653
+ }, qm = /* @__PURE__ */ B("path", { d: "M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z" }, null, -1), Km = /* @__PURE__ */ B("path", { d: "M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z" }, null, -1), Xm = [
6653
6654
  qm,
6654
6655
  Km
6655
6656
  ];
@@ -6663,7 +6664,7 @@ const Zm = /* @__PURE__ */ Ct(jm, [["render", Qm]]), Gm = {}, Jm = {
6663
6664
  height: "32",
6664
6665
  viewBox: "0 0 32 32",
6665
6666
  class: "dp__icon"
6666
- }, ev = /* @__PURE__ */ E("path", { d: "M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z" }, null, -1), tv = [
6667
+ }, ev = /* @__PURE__ */ B("path", { d: "M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z" }, null, -1), tv = [
6667
6668
  ev
6668
6669
  ];
6669
6670
  function nv(e, t) {
@@ -6676,7 +6677,7 @@ const Ji = /* @__PURE__ */ Ct(Gm, [["render", nv]]), rv = {}, av = {
6676
6677
  height: "32",
6677
6678
  viewBox: "0 0 32 32",
6678
6679
  class: "dp__icon"
6679
- }, ov = /* @__PURE__ */ E("path", { d: "M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z" }, null, -1), iv = [
6680
+ }, ov = /* @__PURE__ */ B("path", { d: "M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z" }, null, -1), iv = [
6680
6681
  ov
6681
6682
  ];
6682
6683
  function lv(e, t) {
@@ -6689,7 +6690,7 @@ const el = /* @__PURE__ */ Ct(rv, [["render", lv]]), uv = {}, sv = {
6689
6690
  height: "32",
6690
6691
  viewBox: "0 0 32 32",
6691
6692
  class: "dp__icon"
6692
- }, cv = /* @__PURE__ */ E("path", { d: "M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z" }, null, -1), fv = /* @__PURE__ */ E("path", { d: "M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z" }, null, -1), dv = [
6693
+ }, cv = /* @__PURE__ */ B("path", { d: "M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z" }, null, -1), fv = /* @__PURE__ */ B("path", { d: "M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z" }, null, -1), dv = [
6693
6694
  cv,
6694
6695
  fv
6695
6696
  ];
@@ -6703,7 +6704,7 @@ const Ll = /* @__PURE__ */ Ct(uv, [["render", pv]]), yv = {}, mv = {
6703
6704
  height: "32",
6704
6705
  viewBox: "0 0 32 32",
6705
6706
  class: "dp__icon"
6706
- }, vv = /* @__PURE__ */ E("path", { d: "M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z" }, null, -1), hv = [
6707
+ }, vv = /* @__PURE__ */ B("path", { d: "M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z" }, null, -1), hv = [
6707
6708
  vv
6708
6709
  ];
6709
6710
  function _v(e, t) {
@@ -6716,7 +6717,7 @@ const Vl = /* @__PURE__ */ Ct(yv, [["render", _v]]), bv = {}, gv = {
6716
6717
  height: "32",
6717
6718
  viewBox: "0 0 32 32",
6718
6719
  class: "dp__icon"
6719
- }, wv = /* @__PURE__ */ E("path", { d: "M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z" }, null, -1), Ov = [
6720
+ }, wv = /* @__PURE__ */ B("path", { d: "M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z" }, null, -1), Ov = [
6720
6721
  wv
6721
6722
  ];
6722
6723
  function $v(e, t) {
@@ -7334,9 +7335,9 @@ const Zv = (e, t = 3) => {
7334
7335
  }
7335
7336
  }
7336
7337
  return x;
7337
- }, ie = (l, v, x) => [ze(N(l), { date: 1 }), ze(N(), { month: v, year: x, date: 1 })], B = (l, v) => Fe(...ie(e.minDate, l, v)) || Se(...ie(e.minDate, l, v)), b = (l, v) => Xe(...ie(e.maxDate, l, v)) || Se(...ie(e.maxDate, l, v)), W = (l, v, x) => {
7338
+ }, ie = (l, v, x) => [ze(N(l), { date: 1 }), ze(N(), { month: v, year: x, date: 1 })], E = (l, v) => Fe(...ie(e.minDate, l, v)) || Se(...ie(e.minDate, l, v)), b = (l, v) => Xe(...ie(e.maxDate, l, v)) || Se(...ie(e.maxDate, l, v)), W = (l, v, x) => {
7338
7339
  let S = !1;
7339
- return e.maxDate && x && b(l, v) && (S = !0), e.minDate && !x && B(l, v) && (S = !0), S;
7340
+ return e.maxDate && x && b(l, v) && (S = !0), e.minDate && !x && E(l, v) && (S = !0), S;
7340
7341
  };
7341
7342
  return {
7342
7343
  checkPartialRangeValue: t,
@@ -7357,10 +7358,10 @@ const Zv = (e, t = 3) => {
7357
7358
  getCalendarDays: Z,
7358
7359
  validateMonthYearInRange: (l, v, x, S) => {
7359
7360
  let U = !1;
7360
- return S ? e.minDate && e.maxDate ? U = W(l, v, x) : (e.minDate && B(l, v) || e.maxDate && b(l, v)) && (U = !0) : U = !0, U;
7361
+ return S ? e.minDate && e.maxDate ? U = W(l, v, x) : (e.minDate && E(l, v) || e.maxDate && b(l, v)) && (U = !0) : U = !0, U;
7361
7362
  },
7362
7363
  validateMaxDate: b,
7363
- validateMinDate: B,
7364
+ validateMinDate: E,
7364
7365
  defaults: n,
7365
7366
  hideNavigationButtons: y
7366
7367
  };
@@ -7505,19 +7506,19 @@ const Zv = (e, t = 3) => {
7505
7506
  z(C, p), d.value.multiCalendars && e.multiCalendarsSolo && l();
7506
7507
  }, L = () => {
7507
7508
  if (b(), !e.range)
7508
- s.value = at(N(), A.hours, A.minutes, B());
7509
+ s.value = at(N(), A.hours, A.minutes, E());
7509
7510
  else {
7510
7511
  const p = A.hours, C = A.minutes;
7511
7512
  s.value = [
7512
- at(N(), p[0], C[0], B()),
7513
- at(N(), p[1], C[1], B(!1))
7513
+ at(N(), p[0], C[0], E()),
7514
+ at(N(), p[1], C[1], E(!1))
7514
7515
  ];
7515
7516
  }
7516
7517
  }, Z = () => {
7517
7518
  s.value = y(N(), F.value(0), q.value(0));
7518
7519
  }, ie = () => {
7519
7520
  s.value = N();
7520
- }, B = (p = !0) => e.enableSeconds ? Array.isArray(A.seconds) ? p ? A.seconds[0] : A.seconds[1] : A.seconds : 0, b = () => {
7521
+ }, E = (p = !0) => e.enableSeconds ? Array.isArray(A.seconds) ? p ? A.seconds[0] : A.seconds[1] : A.seconds : 0, b = () => {
7521
7522
  const p = o();
7522
7523
  if (p) {
7523
7524
  const C = Array.isArray(p), te = C ? [+p[0].hours, +p[1].hours] : +p.hours, ne = C ? [+p[0].minutes, +p[1].minutes] : +p.minutes, Oe = C ? [+p[0].seconds, +p[1].seconds] : +p.seconds;
@@ -7570,7 +7571,7 @@ const Zv = (e, t = 3) => {
7570
7571
  }, _ = () => {
7571
7572
  e.autoApply && t("select-date");
7572
7573
  }, I = (p) => !Uo({ start: p[0], end: p[1] }).some((C) => i(C)), xe = (p) => (s.value = f(N(p.value)), ce()), he = (p) => {
7573
- const C = at(N(p.value), A.hours, A.minutes, B());
7574
+ const C = at(N(p.value), A.hours, A.minutes, E());
7574
7575
  e.multiDates ? S(C) : s.value = C, n(), ce();
7575
7576
  }, ue = () => {
7576
7577
  g.value = s.value ? s.value.slice() : [], g.value.length === 2 && !(e.fixedStart || e.fixedEnd) && (g.value = []);
@@ -7590,7 +7591,7 @@ const Zv = (e, t = 3) => {
7590
7591
  g.value[p],
7591
7592
  A.hours[p],
7592
7593
  A.minutes[p],
7593
- B(p !== 1)
7594
+ E(p !== 1)
7594
7595
  );
7595
7596
  }, be = () => {
7596
7597
  g.value.length && (g.value[0] && !g.value[1] ? ke(0) : (ke(0), ke(1), n()), s.value = g.value.slice(), g.value[0] && g.value[1] && e.autoApply && t("auto-apply"), g.value[0] && !g.value[1] && e.modelAuto && e.autoApply && t("auto-apply"));
@@ -7614,7 +7615,7 @@ const Zv = (e, t = 3) => {
7614
7615
  const te = st(ze(N(), { month: F.value(C - 1), year: q.value(C - 1) }), 1);
7615
7616
  $(C, Te(te), De(te));
7616
7617
  }
7617
- }, kt = (p) => y(N(), F.value(p), q.value(p)), Vt = (p) => at(p, A.hours, A.minutes, B()), Ur = (p, C) => {
7618
+ }, kt = (p) => y(N(), F.value(p), q.value(p)), Vt = (p) => at(p, A.hours, A.minutes, E()), Ur = (p, C) => {
7618
7619
  const te = e.monthPicker ? F.value(p) !== C.month || !C.fromNav : q.value(p) !== C.year;
7619
7620
  if ($(p, C.month, C.year), d.value.multiCalendars && !e.multiCalendarsSolo && Lt(p), e.monthPicker || e.yearPicker)
7620
7621
  if (e.range) {
@@ -7636,7 +7637,7 @@ const Zv = (e, t = 3) => {
7636
7637
  const te = ze(N(), { month: F.value(C), year: q.value(C) }), ne = p < 0 ? st(te, 1) : Et(te, 1);
7637
7638
  w(Te(ne), De(ne), p < 0, e.preventMinMaxNavigation) && ($(C, Te(ne), De(ne)), d.value.multiCalendars && !e.multiCalendarsSolo && Lt(C), t("update-month-year", { instance: C, month: Te(ne), year: De(ne) }), r());
7638
7639
  }, Ht = (p) => {
7639
- dl(p) && dl(s.value) && Tt(A.hours) && Tt(A.minutes) ? (p[0] && s.value[0] && (s.value[0] = at(p[0], A.hours[0], A.minutes[0], B())), p[1] && s.value[1] && (s.value[1] = at(p[1], A.hours[1], A.minutes[1], B(!1)))) : e.multiDates && Array.isArray(s.value) ? s.value[s.value.length - 1] = Vt(p) : !e.range && !pl(p) && (s.value = Vt(p)), t("time-update");
7640
+ dl(p) && dl(s.value) && Tt(A.hours) && Tt(A.minutes) ? (p[0] && s.value[0] && (s.value[0] = at(p[0], A.hours[0], A.minutes[0], E())), p[1] && s.value[1] && (s.value[1] = at(p[1], A.hours[1], A.minutes[1], E(!1)))) : e.multiDates && Array.isArray(s.value) ? s.value[s.value.length - 1] = Vt(p) : !e.range && !pl(p) && (s.value = Vt(p)), t("time-update");
7640
7641
  }, Vr = (p, C = !0, te = !1) => {
7641
7642
  const ne = C ? p : A.hours, Oe = !C && !te ? p : A.minutes, ot = te ? p : A.seconds;
7642
7643
  if (e.range && pl(s.value) && Tt(ne) && Tt(Oe) && Tt(ot) && !e.disableTimeRangeValidation) {
@@ -7743,12 +7744,12 @@ const Zv = (e, t = 3) => {
7743
7744
  return Xt(ce, (_ = s.value.textInputOptions) == null ? void 0 : _.format);
7744
7745
  };
7745
7746
  return `${J(r.value[0])} ${(h = s.value.textInputOptions) == null ? void 0 : h.rangeSeparator} ${r.value[1] ? J(r.value[1]) : ""}`;
7746
- }, B = () => {
7747
+ }, E = () => {
7747
7748
  var h;
7748
7749
  return n.value && r.value ? Array.isArray(r.value) ? ie() : Xt(r.value, (h = s.value.textInputOptions) == null ? void 0 : h.format) : i(r.value);
7749
7750
  }, b = () => {
7750
7751
  var h;
7751
- return r.value ? t.multiDates ? r.value.map((J) => i(J)).join("; ") : t.textInput && typeof ((h = s.value.textInputOptions) == null ? void 0 : h.format) == "string" ? B() : i(r.value) : "";
7752
+ return r.value ? t.multiDates ? r.value.map((J) => i(J)).join("; ") : t.textInput && typeof ((h = s.value.textInputOptions) == null ? void 0 : h.format) == "string" ? E() : i(r.value) : "";
7752
7753
  }, W = () => {
7753
7754
  !t.format || typeof t.format == "string" ? g.value = b() : g.value = t.format(r.value);
7754
7755
  }, l = (h) => {
@@ -8241,7 +8242,7 @@ const dh = (e, t, n, r) => {
8241
8242
  selectDate: () => $.$emit("select-date"),
8242
8243
  closePicker: () => $.$emit("close-picker")
8243
8244
  }))) : (m(), O(ve, { key: 1 }, [
8244
- E("div", wh, [
8245
+ B("div", wh, [
8245
8246
  $.$slots["action-preview"] ? j($.$slots, "action-preview", {
8246
8247
  key: 0,
8247
8248
  value: e.internalModelValue
@@ -8253,7 +8254,7 @@ const dh = (e, t, n, r) => {
8253
8254
  Array.isArray(c(F)) ? (m(!0), O(ve, { key: 1 }, Ne(c(F), (X, P) => (m(), O("div", { key: P }, me(X), 1))), 128)) : T("", !0)
8254
8255
  ], 64))
8255
8256
  ]),
8256
- E("div", Oh, [
8257
+ B("div", Oh, [
8257
8258
  $.$slots["action-select"] ? j($.$slots, "action-select", {
8258
8259
  key: 0,
8259
8260
  value: e.internalModelValue
@@ -8271,7 +8272,7 @@ const dh = (e, t, n, r) => {
8271
8272
  Y[2] || (Y[2] = de((X) => $.$emit("close-picker"), ["space"]))
8272
8273
  ]
8273
8274
  }, me($.cancelText), 545)),
8274
- E("span", {
8275
+ B("span", {
8275
8276
  class: pe(c(d)),
8276
8277
  tabindex: "0",
8277
8278
  onKeydown: [
@@ -8295,11 +8296,11 @@ const dh = (e, t, n, r) => {
8295
8296
  key: 0,
8296
8297
  class: "dp__calendar_header_item",
8297
8298
  role: "gridcell"
8298
- }, xh = /* @__PURE__ */ E("div", { class: "dp__calendar_header_separator" }, null, -1), Sh = ["aria-label"], Rh = {
8299
+ }, xh = /* @__PURE__ */ B("div", { class: "dp__calendar_header_separator" }, null, -1), Sh = ["aria-label"], Rh = {
8299
8300
  key: 0,
8300
8301
  role: "gridcell",
8301
8302
  class: "dp__calendar_item dp__week_num"
8302
- }, Mh = { class: "dp__cell_inner" }, Ch = ["aria-selected", "aria-disabled", "aria-label", "data-test", "onClick", "onKeydown", "onMouseover"], Nh = /* @__PURE__ */ E("div", { class: "dp__arrow_bottom_tp" }, null, -1), Ah = /* @__PURE__ */ $e({
8303
+ }, Mh = { class: "dp__cell_inner" }, Ch = ["aria-selected", "aria-disabled", "aria-label", "data-test", "onClick", "onKeydown", "onMouseover"], Nh = /* @__PURE__ */ B("div", { class: "dp__arrow_bottom_tp" }, null, -1), Ah = /* @__PURE__ */ $e({
8303
8304
  __name: "Calendar",
8304
8305
  props: {
8305
8306
  mappedDates: { type: Array, default: () => [] },
@@ -8324,7 +8325,7 @@ const dh = (e, t, n, r) => {
8324
8325
  setup(e, { expose: t, emit: n }) {
8325
8326
  const r = e, { buildMultiLevelMatrix: a } = Ot(), { setDateMonthOrYear: o, defaults: i } = rt(r), u = H(null), f = H({ bottom: "", left: "", transform: "" }), y = H([]), w = H(null), d = H(!0), s = H(""), g = H({ startX: 0, endX: 0, startY: 0, endY: 0 }), k = V(() => r.dayNames ? Array.isArray(r.dayNames) ? r.dayNames : r.dayNames(r.locale, +r.weekStart) : Gv(r.locale, +r.weekStart));
8326
8327
  Je(() => {
8327
- n("mount", { cmp: "calendar", refs: y }), r.noSwipe || w.value && (w.value.addEventListener("touchstart", z, { passive: !1 }), w.value.addEventListener("touchend", Q, { passive: !1 }), w.value.addEventListener("touchmove", L, { passive: !1 })), r.monthChangeOnScroll && w.value && w.value.addEventListener("wheel", B, { passive: !1 });
8328
+ n("mount", { cmp: "calendar", refs: y }), r.noSwipe || w.value && (w.value.addEventListener("touchstart", z, { passive: !1 }), w.value.addEventListener("touchend", Q, { passive: !1 }), w.value.addEventListener("touchmove", L, { passive: !1 })), r.monthChangeOnScroll && w.value && w.value.addEventListener("wheel", E, { passive: !1 });
8328
8329
  });
8329
8330
  const A = (b) => b ? r.vertical ? "vNext" : "next" : r.vertical ? "vPrevious" : "previous", F = (b, W) => {
8330
8331
  if (r.transitions) {
@@ -8373,7 +8374,7 @@ const dh = (e, t, n, r) => {
8373
8374
  Math.abs(g.value[`start${b}`] - g.value[`end${b}`]) > 10 && n("handle-swipe", g.value[`start${b}`] > g.value[`end${b}`] ? "right" : "left");
8374
8375
  }, ie = (b, W, l) => {
8375
8376
  b && (Array.isArray(y.value[W]) ? y.value[W][l] = b : y.value[W] = [b]), r.arrowNavigation && a(y.value, "calendar");
8376
- }, B = (b) => {
8377
+ }, E = (b) => {
8377
8378
  r.monthChangeOnScroll && (b.preventDefault(), n("handle-scroll", b));
8378
8379
  };
8379
8380
  return t({ triggerTransition: F }), (b, W) => {
@@ -8381,7 +8382,7 @@ const dh = (e, t, n, r) => {
8381
8382
  return m(), O("div", {
8382
8383
  class: pe(c(Y))
8383
8384
  }, [
8384
- E("div", {
8385
+ B("div", {
8385
8386
  style: yt(c(P))
8386
8387
  }, [
8387
8388
  e.specificMode ? T("", !0) : (m(), O("div", {
@@ -8392,7 +8393,7 @@ const dh = (e, t, n, r) => {
8392
8393
  role: "grid",
8393
8394
  "aria-label": (l = c(i).ariaLabels) == null ? void 0 : l.calendarWrap
8394
8395
  }, [
8395
- E("div", Th, [
8396
+ B("div", Th, [
8396
8397
  b.weekNumbers ? (m(), O("div", Dh, me(b.weekNumName), 1)) : T("", !0),
8397
8398
  (m(!0), O(ve, null, Ne(c(k), (v, x) => (m(), O("div", {
8398
8399
  class: "dp__calendar_header_item",
@@ -8430,7 +8431,7 @@ const dh = (e, t, n, r) => {
8430
8431
  key: S
8431
8432
  }, [
8432
8433
  b.weekNumbers ? (m(), O("div", Rh, [
8433
- E("div", Mh, me(e.getWeekNum(x.days)), 1)
8434
+ B("div", Mh, me(e.getWeekNum(x.days)), 1)
8434
8435
  ])) : T("", !0),
8435
8436
  (m(!0), O(ve, null, Ne(x.days, (U, h) => {
8436
8437
  var J, ce, _;
@@ -8453,7 +8454,7 @@ const dh = (e, t, n, r) => {
8453
8454
  onMouseover: (I) => D(U, S, h),
8454
8455
  onMouseleave: M
8455
8456
  }, [
8456
- E("div", {
8457
+ B("div", {
8457
8458
  class: pe(["dp__cell_inner", U.classData])
8458
8459
  }, [
8459
8460
  b.$slots.day && c(X)(U) ? j(b.$slots, "day", {
@@ -8490,11 +8491,11 @@ const dh = (e, t, n, r) => {
8490
8491
  day: U.value
8491
8492
  }) : T("", !0),
8492
8493
  b.$slots["marker-tooltip"] ? T("", !0) : (m(), O(ve, { key: 1 }, [
8493
- E("div", {
8494
+ B("div", {
8494
8495
  class: "dp__tooltip_mark",
8495
8496
  style: yt(I.color ? { backgroundColor: I.color } : {})
8496
8497
  }, null, 4),
8497
- E("div", null, me(I.text), 1)
8498
+ B("div", null, me(I.text), 1)
8498
8499
  ], 64))
8499
8500
  ]))), 128)),
8500
8501
  Nh
@@ -8537,7 +8538,7 @@ const dh = (e, t, n, r) => {
8537
8538
  ref_key: "elRef",
8538
8539
  ref: n
8539
8540
  }, [
8540
- E("div", {
8541
+ B("div", {
8541
8542
  class: pe(["dp__inner_nav", { dp__inner_nav_disabled: e.disabled }])
8542
8543
  }, [
8543
8544
  j(r.$slots, "default")
@@ -8575,19 +8576,19 @@ const dh = (e, t, n, r) => {
8575
8576
  }), Je(() => {
8576
8577
  Mt().then(() => D()), A(), k(!0);
8577
8578
  }), wo(() => k(!1));
8578
- const k = (B) => {
8579
+ const k = (E) => {
8579
8580
  var b;
8580
- r.arrowNavigation && ((b = r.headerRefs) != null && b.length ? i(B) : a(B));
8581
+ r.arrowNavigation && ((b = r.headerRefs) != null && b.length ? i(E) : a(E));
8581
8582
  }, A = () => {
8582
- const B = Le(w);
8583
- B && (r.textInput || B.focus({ preventScroll: !0 }), f.value = B.clientHeight < B.scrollHeight);
8583
+ const E = Le(w);
8584
+ E && (r.textInput || E.focus({ preventScroll: !0 }), f.value = E.clientHeight < E.scrollHeight);
8584
8585
  }, F = V(
8585
8586
  () => ({
8586
8587
  dp__overlay: !0
8587
8588
  })
8588
8589
  ), q = V(() => ({
8589
8590
  dp__overlay_col: !0
8590
- })), K = (B) => r.skipActive ? !1 : B.value === r.modelValue, $ = V(() => r.items.map((B) => B.filter((b) => b).map((b) => {
8591
+ })), K = (E) => r.skipActive ? !1 : E.value === r.modelValue, $ = V(() => r.items.map((E) => E.filter((b) => b).map((b) => {
8591
8592
  var W, l, v;
8592
8593
  const x = r.disabledValues.some((U) => U === b.value) || P(b.value), S = (W = r.multiModelValue) != null && W.length ? (l = r.multiModelValue) == null ? void 0 : l.some(
8593
8594
  (U) => Se(
@@ -8617,45 +8618,45 @@ const dh = (e, t, n, r) => {
8617
8618
  dp__button_bottom: r.autoApply
8618
8619
  })
8619
8620
  ), X = V(() => {
8620
- var B, b;
8621
+ var E, b;
8621
8622
  return {
8622
8623
  dp__overlay_container: !0,
8623
- dp__container_flex: ((B = r.items) == null ? void 0 : B.length) <= 6,
8624
+ dp__container_flex: ((E = r.items) == null ? void 0 : E.length) <= 6,
8624
8625
  dp__container_block: ((b = r.items) == null ? void 0 : b.length) > 6
8625
8626
  };
8626
- }), P = (B) => {
8627
+ }), P = (E) => {
8627
8628
  const b = r.maxValue || r.maxValue === 0, W = r.minValue || r.minValue === 0;
8628
- return !b && !W ? !1 : b && W ? +B > +r.maxValue || +B < +r.minValue : b ? +B > +r.maxValue : W ? +B < +r.minValue : !1;
8629
+ return !b && !W ? !1 : b && W ? +E > +r.maxValue || +E < +r.minValue : b ? +E > +r.maxValue : W ? +E < +r.minValue : !1;
8629
8630
  }, D = () => {
8630
- const B = Le(y);
8631
- if (B) {
8631
+ const E = Le(y);
8632
+ if (E) {
8632
8633
  const b = Le(w);
8633
- b && (b.scrollTop = B.offsetTop - b.offsetTop - (b.getBoundingClientRect().height / 2 - B.getBoundingClientRect().height));
8634
+ b && (b.scrollTop = E.offsetTop - b.offsetTop - (b.getBoundingClientRect().height / 2 - E.getBoundingClientRect().height));
8634
8635
  }
8635
- }, M = (B) => {
8636
- !r.disabledValues.some((b) => b === B) && !P(B) && (n("update:model-value", B), n("selected"));
8637
- }, z = (B) => {
8638
- const b = r.monthPicker ? r.year : B;
8636
+ }, M = (E) => {
8637
+ !r.disabledValues.some((b) => b === E) && !P(E) && (n("update:model-value", E), n("selected"));
8638
+ }, z = (E) => {
8639
+ const b = r.monthPicker ? r.year : E;
8639
8640
  return Fl(
8640
8641
  r.multiModelValue,
8641
8642
  St(
8642
8643
  r.monthPicker ? Qt(new Date(), s.value || 0) : new Date(),
8643
8644
  r.monthPicker ? b : s.value || b
8644
8645
  ),
8645
- St(r.monthPicker ? Qt(new Date(), B) : new Date(), b)
8646
+ St(r.monthPicker ? Qt(new Date(), E) : new Date(), b)
8646
8647
  );
8647
8648
  }, Q = () => {
8648
8649
  n("toggle"), n("reset-flow");
8649
8650
  }, L = () => {
8650
8651
  r.escClose && Q();
8651
- }, Z = (B, b, W, l) => {
8652
- B && (b.value === +r.modelValue && !r.disabledValues.includes(b.value) && (y.value = B), r.arrowNavigation && (Array.isArray(d.value[W]) ? d.value[W][l] = B : d.value[W] = [B], ie()));
8652
+ }, Z = (E, b, W, l) => {
8653
+ E && (b.value === +r.modelValue && !r.disabledValues.includes(b.value) && (y.value = E), r.arrowNavigation && (Array.isArray(d.value[W]) ? d.value[W][l] = E : d.value[W] = [E], ie()));
8653
8654
  }, ie = () => {
8654
- var B, b;
8655
- const W = (B = r.headerRefs) != null && B.length ? [r.headerRefs].concat(d.value) : d.value.concat([r.skipButtonRef ? [] : [g.value]]);
8655
+ var E, b;
8656
+ const W = (E = r.headerRefs) != null && E.length ? [r.headerRefs].concat(d.value) : d.value.concat([r.skipButtonRef ? [] : [g.value]]);
8656
8657
  o(He(W), (b = r.headerRefs) != null && b.length ? "monthPicker" : "selectionGrid");
8657
8658
  };
8658
- return t({ focusGrid: A }), (B, b) => {
8659
+ return t({ focusGrid: A }), (E, b) => {
8659
8660
  var W;
8660
8661
  return m(), O("div", {
8661
8662
  ref_key: "gridWrapRef",
@@ -8665,14 +8666,14 @@ const dh = (e, t, n, r) => {
8665
8666
  tabindex: "0",
8666
8667
  onKeydown: de(L, ["esc"])
8667
8668
  }, [
8668
- E("div", {
8669
+ B("div", {
8669
8670
  class: pe(c(X)),
8670
8671
  role: "grid"
8671
8672
  }, [
8672
- E("div", Bh, [
8673
- j(B.$slots, "header")
8673
+ B("div", Bh, [
8674
+ j(E.$slots, "header")
8674
8675
  ]),
8675
- B.$slots.overlay ? j(B.$slots, "overlay", { key: 0 }) : (m(), O(ve, { key: 1 }, [
8676
+ E.$slots.overlay ? j(E.$slots, "overlay", { key: 0 }) : (m(), O(ve, { key: 1 }, [
8676
8677
  (m(!0), O(ve, null, Ne(c($), (l, v) => (m(), O("div", {
8677
8678
  class: "dp__overlay_row",
8678
8679
  key: v,
@@ -8695,20 +8696,20 @@ const dh = (e, t, n, r) => {
8695
8696
  ],
8696
8697
  onMouseover: (U) => s.value = x.value
8697
8698
  }, [
8698
- E("div", {
8699
+ B("div", {
8699
8700
  class: pe(x.className)
8700
8701
  }, [
8701
- B.$slots.item ? j(B.$slots, "item", {
8702
+ E.$slots.item ? j(E.$slots, "item", {
8702
8703
  key: 0,
8703
8704
  item: x
8704
8705
  }) : T("", !0),
8705
- B.$slots.item ? T("", !0) : (m(), O(ve, { key: 1 }, [
8706
+ E.$slots.item ? T("", !0) : (m(), O(ve, { key: 1 }, [
8706
8707
  Ge(me(x.text), 1)
8707
8708
  ], 64))
8708
8709
  ], 2)
8709
8710
  ], 42, Yh))), 128))
8710
8711
  ]))), 128)),
8711
- B.$slots["button-icon"] ? Ve((m(), O("div", {
8712
+ E.$slots["button-icon"] ? Ve((m(), O("div", {
8712
8713
  key: 0,
8713
8714
  role: "button",
8714
8715
  "aria-label": (W = e.ariaLabels) == null ? void 0 : W.toggleOverlay,
@@ -8719,7 +8720,7 @@ const dh = (e, t, n, r) => {
8719
8720
  onClick: Q,
8720
8721
  onKeydown: de(Q, ["enter"])
8721
8722
  }, [
8722
- j(B.$slots, "button-icon")
8723
+ j(E.$slots, "button-icon")
8723
8724
  ], 42, Uh)), [
8724
8725
  [bt, !c(u)(e.type)]
8725
8726
  ]) : T("", !0)
@@ -8754,7 +8755,7 @@ const dh = (e, t, n, r) => {
8754
8755
  setup(e, { emit: t }) {
8755
8756
  const n = e, { transitionName: r, showTransition: a } = Yr(n.transitions), o = H(null);
8756
8757
  return Je(() => t("set-ref", o)), (i, u) => (m(), O(ve, null, [
8757
- E("div", {
8758
+ B("div", {
8758
8759
  class: "dp__month_year_select",
8759
8760
  onClick: u[0] || (u[0] = (f) => i.$emit("toggle")),
8760
8761
  onKeydown: [
@@ -8883,14 +8884,14 @@ const dh = (e, t, n, r) => {
8883
8884
  return Te(N(r.minDate));
8884
8885
  }
8885
8886
  return null;
8886
- }), L = V(() => r.maxDate && z.value ? z.value < r.year ? -1 : z.value === r.year ? Te(N(r.maxDate)) : null : null), Z = V(() => r.range && r.internalModelValue && (r.monthPicker || r.yearPicker) ? r.internalModelValue : []), ie = (_) => _.reverse(), B = (_, I = !1) => {
8887
+ }), L = V(() => r.maxDate && z.value ? z.value < r.year ? -1 : z.value === r.year ? Te(N(r.maxDate)) : null : null), Z = V(() => r.range && r.internalModelValue && (r.monthPicker || r.yearPicker) ? r.internalModelValue : []), ie = (_) => _.reverse(), E = (_, I = !1) => {
8887
8888
  const xe = [], he = (ue) => I ? ie(ue) : ue;
8888
8889
  for (let ue = 0; ue < _.length; ue += 3) {
8889
8890
  const Re = [_[ue], _[ue + 1], _[ue + 2]];
8890
8891
  xe.push(he(Re));
8891
8892
  }
8892
8893
  return I ? xe.reverse() : xe;
8893
- }, b = V(() => r.months.find((I) => I.value === r.month) || { text: "", value: 0 }), W = V(() => B(r.months)), l = V(() => B(r.years, r.reverseYears)), v = V(() => a.value.multiCalendars ? r.multiCalendarsSolo ? !0 : r.instance === 0 : !0), x = V(() => a.value.multiCalendars ? r.multiCalendarsSolo ? !0 : r.instance === a.value.multiCalendars - 1 : !0), S = (_ = !1) => {
8894
+ }, b = V(() => r.months.find((I) => I.value === r.month) || { text: "", value: 0 }), W = V(() => E(r.months)), l = V(() => E(r.years, r.reverseYears)), v = V(() => a.value.multiCalendars ? r.multiCalendarsSolo ? !0 : r.instance === 0 : !0), x = V(() => a.value.multiCalendars ? r.multiCalendarsSolo ? !0 : r.instance === a.value.multiCalendars - 1 : !0), S = (_ = !1) => {
8894
8895
  h(_), d.value = !d.value, d.value || n("overlay-closed");
8895
8896
  }, U = (_ = !1) => {
8896
8897
  h(_), s.value = !s.value, s.value || n("overlay-closed");
@@ -8926,7 +8927,7 @@ const dh = (e, t, n, r) => {
8926
8927
  ]),
8927
8928
  _: 3
8928
8929
  }, 8, ["aria-label", "disabled"])) : T("", !0),
8929
- E("div", Hh, [
8930
+ B("div", Hh, [
8930
8931
  Ee(yl, Be({
8931
8932
  type: "month",
8932
8933
  "slot-name": "month-overlay-val",
@@ -9073,8 +9074,8 @@ const dh = (e, t, n, r) => {
9073
9074
  header: ae(() => {
9074
9075
  var se, fe, ke;
9075
9076
  return [
9076
- E("div", Fh, [
9077
- E("div", {
9077
+ B("div", Fh, [
9078
+ B("div", {
9078
9079
  class: "dp__month_year_col_nav",
9079
9080
  tabindex: "0",
9080
9081
  ref_key: "mpPrevIconRef",
@@ -9082,7 +9083,7 @@ const dh = (e, t, n, r) => {
9082
9083
  onClick: I[9] || (I[9] = (be) => J(!1)),
9083
9084
  onKeydown: I[10] || (I[10] = de((be) => J(!1), ["enter"]))
9084
9085
  }, [
9085
- E("div", {
9086
+ B("div", {
9086
9087
  class: pe(["dp__inner_nav", { dp__inner_nav_disabled: c(y)(!1) }]),
9087
9088
  role: "button",
9088
9089
  "aria-label": (se = c(a).ariaLabels) == null ? void 0 : se.prevMonth
@@ -9091,7 +9092,7 @@ const dh = (e, t, n, r) => {
9091
9092
  _.$slots["arrow-left"] ? T("", !0) : (m(), ye(c(Ji), { key: 1 }))
9092
9093
  ], 10, Wh)
9093
9094
  ], 544),
9094
- E("div", {
9095
+ B("div", {
9095
9096
  class: "dp__pointer",
9096
9097
  role: "button",
9097
9098
  ref_key: "mpYearButtonRef",
@@ -9109,7 +9110,7 @@ const dh = (e, t, n, r) => {
9109
9110
  Ge(me(e.year), 1)
9110
9111
  ], 64))
9111
9112
  ], 40, jh),
9112
- E("div", {
9113
+ B("div", {
9113
9114
  class: "dp__month_year_col_nav",
9114
9115
  tabindex: "0",
9115
9116
  ref_key: "mpNextIconRef",
@@ -9117,7 +9118,7 @@ const dh = (e, t, n, r) => {
9117
9118
  onClick: I[13] || (I[13] = (be) => J(!0)),
9118
9119
  onKeydown: I[14] || (I[14] = de((be) => J(!0), ["enter"]))
9119
9120
  }, [
9120
- E("div", {
9121
+ B("div", {
9121
9122
  class: pe(["dp__inner_nav", { dp__inner_nav_disabled: c(y)(!0) }]),
9122
9123
  role: "button",
9123
9124
  "aria-label": (ke = c(a).ariaLabels) == null ? void 0 : ke.nextMonth
@@ -9265,7 +9266,7 @@ const dh = (e, t, n, r) => {
9265
9266
  );
9266
9267
  }, Z = (l) => r.is24 ? l : (l >= 12 ? w.value = "PM" : w.value = "AM", th(l)), ie = () => {
9267
9268
  w.value === "PM" ? (w.value = "AM", n("update:hours", r.hours - 12)) : (w.value = "PM", n("update:hours", r.hours + 12));
9268
- }, B = (l) => {
9269
+ }, E = (l) => {
9269
9270
  y[l] = !0;
9270
9271
  }, b = (l, v, x) => {
9271
9272
  if (l && r.arrowNavigation) {
@@ -9277,7 +9278,7 @@ const dh = (e, t, n, r) => {
9277
9278
  o(r.closeTimePickerBtn), d.value && (S[1] = S[1].concat(d.value)), a(S, r.order);
9278
9279
  }
9279
9280
  }, W = (l, v) => l === "hours" && !r.is24 ? n(`update:${l}`, w.value === "PM" ? v + 12 : v) : n(`update:${l}`, v);
9280
- return t({ openChildCmp: B }), (l, v) => {
9281
+ return t({ openChildCmp: E }), (l, v) => {
9281
9282
  var x;
9282
9283
  return l.disabled ? T("", !0) : (m(), O("div", Kh, [
9283
9284
  (m(!0), O(ve, null, Ne(c(K), (S, U) => {
@@ -9289,7 +9290,7 @@ const dh = (e, t, n, r) => {
9289
9290
  S.separator ? (m(), O(ve, { key: 0 }, [
9290
9291
  Ge(" : ")
9291
9292
  ], 64)) : (m(), O(ve, { key: 1 }, [
9292
- E("div", {
9293
+ B("div", {
9293
9294
  class: pe({
9294
9295
  dp__inc_dec_button: !0,
9295
9296
  dp__inc_dec_button_disabled: c(g)(S.type)
@@ -9309,7 +9310,7 @@ const dh = (e, t, n, r) => {
9309
9310
  l.$slots["arrow-up"] ? j(l.$slots, "arrow-up", { key: 0 }) : T("", !0),
9310
9311
  l.$slots["arrow-up"] ? T("", !0) : (m(), ye(c(Vl), { key: 1 }))
9311
9312
  ], 42, Xh),
9312
- E("div", {
9313
+ B("div", {
9313
9314
  role: "button",
9314
9315
  "aria-label": (J = c(i).ariaLabels) == null ? void 0 : J.openTpOverlay(S.type),
9315
9316
  class: pe(M(S.type) ? "" : "dp__time_display"),
@@ -9332,7 +9333,7 @@ const dh = (e, t, n, r) => {
9332
9333
  Ge(me(c(Y)(S.type).text), 1)
9333
9334
  ], 64))
9334
9335
  ], 42, Qh),
9335
- E("div", {
9336
+ B("div", {
9336
9337
  class: pe({
9337
9338
  dp__inc_dec_button: !0,
9338
9339
  dp__inc_dec_button_disabled: c(k)(S.type)
@@ -9485,10 +9486,10 @@ const dh = (e, t, n, r) => {
9485
9486
  ref_key: "openTimePickerBtn",
9486
9487
  ref: d,
9487
9488
  onKeydown: [
9488
- Z[0] || (Z[0] = de((B) => $(!0), ["enter"])),
9489
- Z[1] || (Z[1] = de((B) => $(!0), ["space"]))
9489
+ Z[0] || (Z[0] = de((E) => $(!0), ["enter"])),
9490
+ Z[1] || (Z[1] = de((E) => $(!0), ["space"]))
9490
9491
  ],
9491
- onClick: Z[2] || (Z[2] = (B) => $(!0))
9492
+ onClick: Z[2] || (Z[2] = (E) => $(!0))
9492
9493
  }, [
9493
9494
  L.$slots["clock-icon"] ? j(L.$slots, "clock-icon", { key: 0 }) : T("", !0),
9494
9495
  L.$slots["clock-icon"] ? T("", !0) : (m(), ye(c(Ll), { key: 1 }))
@@ -9500,7 +9501,7 @@ const dh = (e, t, n, r) => {
9500
9501
  css: c(w)
9501
9502
  }, {
9502
9503
  default: ae(() => {
9503
- var B;
9504
+ var E;
9504
9505
  return [
9505
9506
  F.value || L.timePicker ? (m(), O("div", {
9506
9507
  key: 0,
@@ -9509,7 +9510,7 @@ const dh = (e, t, n, r) => {
9509
9510
  ref: k,
9510
9511
  tabindex: "0"
9511
9512
  }, [
9512
- E("div", n0, [
9513
+ B("div", n0, [
9513
9514
  L.$slots["time-picker-overlay"] ? j(L.$slots, "time-picker-overlay", {
9514
9515
  key: 0,
9515
9516
  hours: e.hours,
@@ -9554,7 +9555,7 @@ const dh = (e, t, n, r) => {
9554
9555
  ref: s,
9555
9556
  class: pe(c(Y)),
9556
9557
  role: "button",
9557
- "aria-label": (B = c(f).ariaLabels) == null ? void 0 : B.closeTimePicker,
9558
+ "aria-label": (E = c(f).ariaLabels) == null ? void 0 : E.closeTimePicker,
9558
9559
  tabindex: "0",
9559
9560
  onKeydown: [
9560
9561
  Z[3] || (Z[3] = de((b) => $(!1), ["enter"])),
@@ -9637,21 +9638,21 @@ const dh = (e, t, n, r) => {
9637
9638
  dp__active_date: P(l),
9638
9639
  dp__date_hover: X(l)
9639
9640
  }), ie = (l) => ({
9640
- ...B(l),
9641
+ ...E(l),
9641
9642
  ...b(l),
9642
9643
  dp__range_between_week: Q(l) && t.weekPicker
9643
- }), B = (l) => ({
9644
+ }), E = (l) => ({
9644
9645
  dp__range_start: t.multiCalendars > 0 ? l.current && s(l) && Y() : s(l) && Y(),
9645
9646
  dp__range_end: t.multiCalendars > 0 ? l.current && s(l, !1) && Y() : s(l, !1) && Y(),
9646
9647
  dp__range_between: Q(l) && !t.weekPicker,
9647
9648
  dp__date_hover_start: g(X(l), l, !0),
9648
9649
  dp__date_hover_end: g(X(l), l, !1)
9649
9650
  }), b = (l) => ({
9650
- ...B(l),
9651
+ ...E(l),
9651
9652
  dp__cell_auto_range: F(l),
9652
9653
  dp__cell_auto_range_start: q(l),
9653
9654
  dp__cell_auto_range_end: A(l)
9654
- }), W = (l) => t.range ? t.autoRange ? b(l) : t.modelAuto ? { ...Z(l), ...B(l) } : B(l) : t.weekPicker ? ie(l) : Z(l);
9655
+ }), W = (l) => t.range ? t.autoRange ? b(l) : t.modelAuto ? { ...Z(l), ...E(l) } : E(l) : t.weekPicker ? ie(l) : Z(l);
9655
9656
  return {
9656
9657
  setHoverDate: u,
9657
9658
  clearHoverDate: f,
@@ -9715,9 +9716,9 @@ const dh = (e, t, n, r) => {
9715
9716
  const { arrowRight: $, arrowLeft: Y, arrowDown: X, arrowUp: P } = Ot(), D = (R) => {
9716
9717
  R || R === 0 ? g.value[R].triggerTransition(
9717
9718
  ie.value(R),
9718
- B.value(R)
9719
+ E.value(R)
9719
9720
  ) : g.value.forEach(
9720
- (G, We) => G.triggerTransition(ie.value(We), B.value(We))
9721
+ (G, We) => G.triggerTransition(ie.value(We), E.value(We))
9721
9722
  );
9722
9723
  }, M = () => {
9723
9724
  const R = Le(A);
@@ -9731,7 +9732,7 @@ const dh = (e, t, n, r) => {
9731
9732
  calendars: L,
9732
9733
  modelValue: Z,
9733
9734
  month: ie,
9734
- year: B,
9735
+ year: E,
9735
9736
  time: b,
9736
9737
  updateTime: W,
9737
9738
  updateMonthYear: l,
@@ -9757,7 +9758,7 @@ const dh = (e, t, n, r) => {
9757
9758
  const Re = xt(y, "calendar"), et = xt(y, "action"), se = xt(y, "timePicker"), fe = xt(y, "monthYear"), ke = V(() => r.openOnTop ? "dp__arrow_bottom" : "dp__arrow_top"), be = V(() => Jv(r.yearRange)), Ut = V(() => eh(r.locale, r.monthNameFormat)), ft = () => {
9758
9759
  const R = Le(w);
9759
9760
  R && (F.value = R.getBoundingClientRect().width);
9760
- }, Lt = V(() => (R) => u(ie.value(R), B.value(R))), kt = V(
9761
+ }, Lt = V(() => (R) => u(ie.value(R), E.value(R))), kt = V(
9761
9762
  () => f.value.multiCalendars > 0 && r.range ? [...Array(f.value.multiCalendars).keys()] : [0]
9762
9763
  ), Vt = V(
9763
9764
  () => (R) => R === 1
@@ -9828,7 +9829,7 @@ const dh = (e, t, n, r) => {
9828
9829
  default: ae(() => {
9829
9830
  var Qe, rn;
9830
9831
  return [
9831
- E("div", {
9832
+ B("div", {
9832
9833
  id: R.uid ? `dp-menu-${R.uid}` : void 0,
9833
9834
  tabindex: "0",
9834
9835
  ref_key: "dpMenuRef",
@@ -9854,7 +9855,7 @@ const dh = (e, t, n, r) => {
9854
9855
  key: 1,
9855
9856
  class: pe(c(ke))
9856
9857
  }, null, 2)) : T("", !0),
9857
- E("div", {
9858
+ B("div", {
9858
9859
  class: pe({
9859
9860
  dp__menu_content_wrapper: ((Qe = R.presetRanges) == null ? void 0 : Qe.length) || !!R.$slots["left-sidebar"] || !!R.$slots["right-sidebar"]
9860
9861
  })
@@ -9879,13 +9880,13 @@ const dh = (e, t, n, r) => {
9879
9880
  ], 64))
9880
9881
  ], 12, c0))), 128))
9881
9882
  ])) : T("", !0),
9882
- E("div", {
9883
+ B("div", {
9883
9884
  class: "dp__instance_calendar",
9884
9885
  ref_key: "calendarWrapperRef",
9885
9886
  ref: w,
9886
9887
  role: "document"
9887
9888
  }, [
9888
- E("div", {
9889
+ B("div", {
9889
9890
  class: pe(c(Lr))
9890
9891
  }, [
9891
9892
  (m(!0), O(ve, null, Ne(c(kt), (re, Nt) => (m(), O("div", {
@@ -9901,7 +9902,7 @@ const dh = (e, t, n, r) => {
9901
9902
  months: c(Ut),
9902
9903
  years: c(be),
9903
9904
  month: c(ie)(re),
9904
- year: c(B)(re),
9905
+ year: c(E)(re),
9905
9906
  instance: re,
9906
9907
  "internal-model-value": e.internalModelValue
9907
9908
  }, R.$props, {
@@ -9928,7 +9929,7 @@ const dh = (e, t, n, r) => {
9928
9929
  instance: re,
9929
9930
  "mapped-dates": c(Vr)(re),
9930
9931
  month: c(ie)(re),
9931
- year: c(B)(re)
9932
+ year: c(E)(re)
9932
9933
  }, R.$props, {
9933
9934
  "flow-step": K.value,
9934
9935
  "onUpdate:flow-step": G[1] || (G[1] = (_e) => K.value = _e),
@@ -9949,7 +9950,7 @@ const dh = (e, t, n, r) => {
9949
9950
  ]), 1040, ["specific-mode", "get-week-num", "instance", "mapped-dates", "month", "year", "flow-step", "onSelectDate", "onHandleSpace", "onHandleScroll", "onHandleSwipe"])
9950
9951
  ], 2))), 128))
9951
9952
  ], 2),
9952
- E("div", null, [
9953
+ B("div", null, [
9953
9954
  R.$slots["time-picker"] ? j(R.$slots, "time-picker", tt(Be({ key: 0 }, { time: c(b), updateTime: c(W) }))) : (m(), O(ve, { key: 1 }, [
9954
9955
  R.enableTimePicker && !R.monthPicker && !R.weekPicker ? (m(), ye(un(R.timePickerComponent ? R.timePickerComponent : o0), Be({
9955
9956
  key: 0,
@@ -10095,7 +10096,7 @@ const dh = (e, t, n, r) => {
10095
10096
  dp__flex_display: r.inline,
10096
10097
  dp__flex_display_with_input: r.inlineWithInput
10097
10098
  })
10098
- ), B = V(() => r.dark ? "dp__theme_dark" : "dp__theme_light"), b = () => {
10099
+ ), E = V(() => r.dark ? "dp__theme_dark" : "dp__theme_light"), b = () => {
10099
10100
  o.value && (r.closeOnScroll ? ce() : r.autoPosition && X());
10100
10101
  }, W = () => {
10101
10102
  o.value && X();
@@ -10187,7 +10188,7 @@ const dh = (e, t, n, r) => {
10187
10188
  key: 0,
10188
10189
  ref_key: "dpMenuRef",
10189
10190
  ref: f,
10190
- class: c(B),
10191
+ class: c(E),
10191
10192
  style: c(Y),
10192
10193
  "open-on-top": c($)
10193
10194
  }, fe.$props, {
@@ -10256,7 +10257,7 @@ const g0 = { class: "rm-datepicker" }, B0 = /* @__PURE__ */ $e({
10256
10257
  return Je(() => {
10257
10258
  n.currentDate && (r.value = n.currentDate);
10258
10259
  }), (i, u) => (m(), O("div", g0, [
10259
- Ve(E("p", { class: "rm-datepicker__label" }, me(e.label), 513), [
10260
+ Ve(B("p", { class: "rm-datepicker__label" }, me(e.label), 513), [
10260
10261
  [bt, e.label]
10261
10262
  ]),
10262
10263
  Ee(c(Io), Be({
@@ -10287,7 +10288,7 @@ const w0 = {
10287
10288
  }, [
10288
10289
  j(t.$slots, "default"),
10289
10290
  e.label ? (m(), O("div", w0, [
10290
- E("p", O0, me(e.label), 1)
10291
+ B("p", O0, me(e.label), 1)
10291
10292
  ])) : T("", !0)
10292
10293
  ], 2));
10293
10294
  }
@@ -10311,7 +10312,7 @@ const $0 = { class: "rm-avatar__overlay" }, k0 = ["src"], P0 = { class: "rm-avat
10311
10312
  }
10312
10313
  ])
10313
10314
  }, [
10314
- E("div", $0, [
10315
+ B("div", $0, [
10315
10316
  e.avatar ? (m(), O("img", {
10316
10317
  key: 0,
10317
10318
  src: e.avatar,
@@ -10319,7 +10320,7 @@ const $0 = { class: "rm-avatar__overlay" }, k0 = ["src"], P0 = { class: "rm-avat
10319
10320
  alt: ""
10320
10321
  }, null, 8, k0)) : T("", !0)
10321
10322
  ]),
10322
- E("div", P0, me(e.staticLabel || c(n)), 1)
10323
+ B("div", P0, me(e.staticLabel || c(n)), 1)
10323
10324
  ], 2));
10324
10325
  }
10325
10326
  });