voiptime-components 1.9.21 → 1.9.23

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.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createElementBlock as a, openBlock as s, createElementVNode as o, createStaticVNode as Ge, defineComponent as ke, computed as x, createBlock as we, createCommentVNode as O, resolveDynamicComponent as f1, normalizeStyle as Ee, useSlots as a1, resolveDirective as x1, withDirectives as o1, normalizeClass as U, renderSlot as He, Teleport as l1, withModifiers as Se, toDisplayString as E, createTextVNode as xe, ref as S, onUnmounted as Je, nextTick as Te, watch as $e, onMounted as Ye, createVNode as Q, Fragment as ne, renderList as pe, provide as u1, unref as j, Transition as i1, withCtx as Ve, inject as c1, onBeforeUnmount as W1, createApp as q1, h as g1, mergeModels as S1, useModel as it, reactive as U1, toRef as r1, toRefs as at, vShow as K1, TransitionGroup as ut } from "vue";
1
+ import { createElementBlock as a, openBlock as s, createElementVNode as o, createStaticVNode as Ge, defineComponent as ke, computed as x, createBlock as we, createCommentVNode as O, resolveDynamicComponent as f1, normalizeStyle as Ee, useSlots as a1, resolveDirective as x1, withDirectives as o1, normalizeClass as U, renderSlot as De, Teleport as l1, withModifiers as Se, toDisplayString as E, createTextVNode as xe, ref as S, onUnmounted as Je, nextTick as Te, watch as $e, onMounted as Ye, createVNode as Q, Fragment as ne, renderList as pe, provide as u1, unref as j, Transition as i1, withCtx as Ve, inject as c1, onBeforeUnmount as W1, createApp as q1, h as g1, mergeModels as S1, useModel as it, reactive as U1, toRef as r1, toRefs as at, vShow as K1, TransitionGroup as ut } from "vue";
2
2
  const M = (n, e) => {
3
3
  const u = n.__vccOpts || n;
4
4
  for (const [t, i] of e)
@@ -2521,7 +2521,7 @@ const p1 = /* @__PURE__ */ M(qa, [["render", Ka]]), Qa = ["disabled", "type", "d
2521
2521
  class: "vt-button__icon"
2522
2522
  }, null, 8, ["name"])) : O("", !0),
2523
2523
  c.value ? O("", !0) : (s(), a("span", Xa, [
2524
- He(h.$slots, "default")
2524
+ De(h.$slots, "default")
2525
2525
  ]))
2526
2526
  ], 10, Qa)), [
2527
2527
  [l, C.value]
@@ -2575,7 +2575,7 @@ const p1 = /* @__PURE__ */ M(qa, [["render", Ka]]), Qa = ["disabled", "type", "d
2575
2575
  })) : O("", !0)
2576
2576
  ])) : O("", !0),
2577
2577
  o("div", e3, [
2578
- He(C.$slots, "default")
2578
+ De(C.$slots, "default")
2579
2579
  ])
2580
2580
  ], 2)
2581
2581
  ], 4)) : O("", !0)
@@ -2714,8 +2714,8 @@ const p1 = /* @__PURE__ */ M(qa, [["render", Ka]]), Qa = ["disabled", "type", "d
2714
2714
  }
2715
2715
  ])
2716
2716
  }, [
2717
- He(h.$slots, "label", {}, () => [
2718
- He(h.$slots, "default", {}, () => [
2717
+ De(h.$slots, "label", {}, () => [
2718
+ De(h.$slots, "default", {}, () => [
2719
2719
  xe(E(h.label), 1)
2720
2720
  ])
2721
2721
  ])
@@ -3060,7 +3060,7 @@ const v3 = ["for"], p3 = {
3060
3060
  "vt-input--has-suffix": te.value,
3061
3061
  "vt-input--invalid": !m.value
3062
3062
  }
3063
- ]), D = x(() => t.type === "password" ? C.value ? "text" : "password" : t.type === "textarea" ? "text" : t.type), N = x(() => t.errorMessage ? t.errorMessage : h.value.length > 0 ? h.value[0] : ""), ue = x(() => t.autosize && typeof t.autosize == "object" && t.autosize.maxRows ? "none" : t.resize), Ce = (g) => {
3063
+ ]), D = x(() => t.type === "password" ? C.value ? "text" : "password" : t.type === "textarea" ? "text" : t.type), N = x(() => t.errorMessage ? t.errorMessage : h.value.length > 0 ? h.value[0] : ""), ce = x(() => t.autosize && typeof t.autosize == "object" && t.autosize.maxRows ? "none" : t.resize), Ce = (g) => {
3064
3064
  let z = g.target.value;
3065
3065
  if (t.type === "number" && z !== "") {
3066
3066
  const Me = Number(z);
@@ -3098,8 +3098,8 @@ const v3 = ["for"], p3 = {
3098
3098
  }
3099
3099
  const Me = `${z}px`;
3100
3100
  Me !== Z && (v.value = Me, g.style.height = Me);
3101
- }, ce = (g) => {
3102
- if (!d.value || !(ue.value !== "none")) return;
3101
+ }, ue = (g) => {
3102
+ if (!d.value || !(ce.value !== "none")) return;
3103
3103
  const Me = d.value.getBoundingClientRect();
3104
3104
  if (g.clientX > Me.right - 20 && g.clientY > Me.bottom - 20) {
3105
3105
  l.value = !0;
@@ -3184,13 +3184,13 @@ const v3 = ["for"], p3 = {
3184
3184
  id: g.id,
3185
3185
  tabindex: g.tabindex,
3186
3186
  autocomplete: g.autocomplete,
3187
- style: Ee({ resize: ue.value, height: v.value }),
3187
+ style: Ee({ resize: ce.value, height: v.value }),
3188
3188
  class: "vt-input__field vt-input__textarea",
3189
3189
  onInput: Ce,
3190
3190
  onChange: L,
3191
3191
  onFocus: B,
3192
3192
  onBlur: F,
3193
- onMousedown: ce,
3193
+ onMousedown: ue,
3194
3194
  onKeydown: Z[0] || (Z[0] = (z) => g.$emit("keydown", z)),
3195
3195
  onKeyup: Z[1] || (Z[1] = (z) => g.$emit("keyup", z)),
3196
3196
  onKeypress: Z[2] || (Z[2] = (z) => g.$emit("keypress", z)),
@@ -3276,22 +3276,22 @@ const v3 = ["for"], p3 = {
3276
3276
  }, S3 = { class: "vt-select__tag-text" }, D3 = {
3277
3277
  key: 1,
3278
3278
  class: "vt-select__display-text"
3279
- }, H3 = {
3279
+ }, H3 = { key: 1 }, T3 = {
3280
3280
  key: 2,
3281
3281
  class: "vt-select__placeholder"
3282
- }, T3 = { class: "vt-select__suffix" }, I3 = ["disabled"], B3 = {
3282
+ }, I3 = { class: "vt-select__suffix" }, B3 = ["disabled"], E3 = {
3283
3283
  key: 0,
3284
3284
  class: "vt-select__help"
3285
- }, E3 = {
3285
+ }, A3 = {
3286
3286
  "aria-hidden": "true",
3287
3287
  style: { display: "none" }
3288
- }, A3 = ["aria-multiselectable"], P3 = {
3288
+ }, P3 = ["aria-multiselectable"], R3 = {
3289
3289
  key: 0,
3290
3290
  class: "vt-select-dropdown__search"
3291
- }, R3 = {
3291
+ }, j3 = {
3292
3292
  key: 1,
3293
3293
  class: "vt-select-dropdown__empty"
3294
- }, j3 = { key: 0 }, Z3 = { key: 1 }, F3 = ["aria-disabled", "aria-selected", "onClick"], z3 = { class: "vt-option__text" }, Y3 = { key: 1 }, O3 = {
3294
+ }, Z3 = { key: 0 }, F3 = { key: 1 }, z3 = ["aria-disabled", "aria-selected", "onClick"], Y3 = { class: "vt-option__text" }, O3 = { key: 1 }, N3 = {
3295
3295
  key: 0,
3296
3296
  class: "vt-select-dropdown__loading"
3297
3297
  }, T1 = 300, J1 = /* @__PURE__ */ ke({
@@ -3375,7 +3375,7 @@ const v3 = ["for"], p3 = {
3375
3375
  });
3376
3376
  }, {
3377
3377
  visible: N,
3378
- parentVisible: ue,
3378
+ parentVisible: ce,
3379
3379
  dropdownPosition: Ce,
3380
3380
  show: L,
3381
3381
  hide: B,
@@ -3408,11 +3408,11 @@ const v3 = ["for"], p3 = {
3408
3408
  clear() {
3409
3409
  l.validationErrors.value = [], l.isValid.value = !0, i("validation", { isValid: !0, errors: [] });
3410
3410
  }
3411
- }, X = x(() => t.multiple), ce = x(() => re.value.length ? r3(t.modelValue, re.value, X.value, t.valueKey) : []), ze = x(() => !t.multiple || ce.value.length === 0 ? [] : t.collapsedTags ? ce.value.slice(0, l.visibleCount.value) : ce.value), De = x(() => {
3411
+ }, X = x(() => t.multiple), ue = x(() => re.value.length ? r3(t.modelValue, re.value, X.value, t.valueKey) : []), ze = x(() => !t.multiple || ue.value.length === 0 ? [] : t.collapsedTags ? ue.value.slice(0, l.visibleCount.value) : ue.value), He = x(() => {
3412
3412
  if (X.value) return "";
3413
- const r = ce.value[0];
3413
+ const r = ue.value[0];
3414
3414
  return r ? r.label : t.modelValue && typeof t.modelValue == "object" ? t.modelValue.label ? t.modelValue.label : t.modelValue.name ? t.modelValue.name : JSON.stringify(t.modelValue) : t.modelValue !== void 0 && t.modelValue !== null && t.modelValue !== "" && !Array.isArray(t.modelValue) ? String(t.modelValue) : "";
3415
- }), Ie = x(() => !t.clearable || t.disabled ? !1 : X.value ? ce.value.length > 0 : t.modelValue !== void 0 && t.modelValue !== null && t.modelValue !== "" && (!Array.isArray(t.modelValue) || t.modelValue.length > 0)), ye = x(() => t.status !== "default" ? t.status : l.isValid.value ? "default" : "error"), Qe = x(() => [
3415
+ }), Ie = x(() => !t.clearable || t.disabled ? !1 : X.value ? ue.value.length > 0 : t.modelValue !== void 0 && t.modelValue !== null && t.modelValue !== "" && (!Array.isArray(t.modelValue) || t.modelValue.length > 0)), ye = x(() => t.status !== "default" ? t.status : l.isValid.value ? "default" : "error"), Qe = x(() => [
3416
3416
  "vt-select",
3417
3417
  `vt-select--${ye.value}`,
3418
3418
  {
@@ -3426,9 +3426,9 @@ const v3 = ["for"], p3 = {
3426
3426
  position: "absolute",
3427
3427
  zIndex: 2e3,
3428
3428
  maxHeight: `${t.maxHeight}px`
3429
- })), qe = x(() => ce.value.length - l.visibleCount.value), ge = x(() => t.collapsedTags && t.multiple && ce.value.length > 0 && l.visibleCount.value < ce.value.length), g = x(() => {
3429
+ })), qe = x(() => ue.value.length - l.visibleCount.value), ge = x(() => t.collapsedTags && t.multiple && ue.value.length > 0 && l.visibleCount.value < ue.value.length), g = x(() => {
3430
3430
  if (!ge.value) return "";
3431
- const r = ce.value.slice(l.visibleCount.value);
3431
+ const r = ue.value.slice(l.visibleCount.value);
3432
3432
  return h3(qe.value, r);
3433
3433
  }), Z = (r) => {
3434
3434
  var q, Y;
@@ -3466,13 +3466,13 @@ const v3 = ["for"], p3 = {
3466
3466
  }, se = (r) => {
3467
3467
  r.key === "Enter" || r.key === " " ? (r.preventDefault(), Re()) : r.key === "Escape" && N.value && (r.preventDefault(), B());
3468
3468
  }, de = (r) => s3(r, t.modelValue, X.value, t.valueKey), ee = () => {
3469
- if (!t.collapsedTags || !C.value || ce.value.length === 0) {
3470
- l.visibleCount.value = ce.value.length;
3469
+ if (!t.collapsedTags || !C.value || ue.value.length === 0) {
3470
+ l.visibleCount.value = ue.value.length;
3471
3471
  return;
3472
3472
  }
3473
3473
  Te(() => {
3474
3474
  if (!C.value) return;
3475
- const r = d3(C.value, v.value, ce.value.length);
3475
+ const r = d3(C.value, v.value, ue.value.length);
3476
3476
  l.visibleCount.value = r;
3477
3477
  });
3478
3478
  }, k = {
@@ -3502,7 +3502,7 @@ const v3 = ["for"], p3 = {
3502
3502
  J.clear();
3503
3503
  },
3504
3504
  getSelectedOptions() {
3505
- return ce.value;
3505
+ return ue.value;
3506
3506
  },
3507
3507
  getValidationState() {
3508
3508
  return {
@@ -3545,7 +3545,7 @@ const v3 = ["for"], p3 = {
3545
3545
  t.validateOnInput && J.validate();
3546
3546
  }
3547
3547
  ), $e(
3548
- ce,
3548
+ ue,
3549
3549
  () => {
3550
3550
  ee();
3551
3551
  },
@@ -3599,7 +3599,7 @@ const v3 = ["for"], p3 = {
3599
3599
  onKeydown: se
3600
3600
  }, [
3601
3601
  o("div", x3, [
3602
- r.multiple && ce.value.length > 0 ? (s(), a("div", {
3602
+ r.multiple && ue.value.length > 0 ? (s(), a("div", {
3603
3603
  key: 0,
3604
3604
  ref_key: "containerRef",
3605
3605
  ref: C,
@@ -3624,9 +3624,14 @@ const v3 = ["for"], p3 = {
3624
3624
  ])), [
3625
3625
  [q, g.value]
3626
3626
  ]) : O("", !0)
3627
- ], 512)) : !r.multiple && De.value ? (s(), a("span", D3, E(De.value), 1)) : (s(), a("span", H3, E(r.placeholder), 1))
3627
+ ], 512)) : !r.multiple && He.value ? (s(), a("span", D3, [
3628
+ r.$slots.selected && ue.value[0] ? De(r.$slots, "selected", {
3629
+ key: 0,
3630
+ option: ue.value[0]
3631
+ }) : (s(), a("span", H3, E(He.value), 1))
3632
+ ])) : (s(), a("span", T3, E(r.placeholder), 1))
3628
3633
  ]),
3629
- o("div", T3, [
3634
+ o("div", I3, [
3630
3635
  r.loading ? (s(), we(p1, {
3631
3636
  key: 0,
3632
3637
  class: "vt-select__loading"
@@ -3638,7 +3643,7 @@ const v3 = ["for"], p3 = {
3638
3643
  onClick: Se(Pe, ["stop"])
3639
3644
  }, [
3640
3645
  Q(fe, { name: "close" })
3641
- ], 8, I3)) : (s(), we(fe, {
3646
+ ], 8, B3)) : (s(), we(fe, {
3642
3647
  key: 2,
3643
3648
  class: U([{ "vt-select__arrow--open": j(N) }, "vt-select__icon vt-select__arrow"]),
3644
3649
  name: "arrowDown"
@@ -3647,7 +3652,7 @@ const v3 = ["for"], p3 = {
3647
3652
  ], 544),
3648
3653
  Q(i1, { name: "fade" }, {
3649
3654
  default: Ve(() => [
3650
- l.validationErrors && l.validationErrors.value.length ? (s(), a("div", B3, [
3655
+ l.validationErrors && l.validationErrors.value.length ? (s(), a("div", E3, [
3651
3656
  (s(!0), a(ne, null, pe(l.validationErrors.value, (Y, _e) => (s(), a("div", {
3652
3657
  key: `error-${_e}`,
3653
3658
  class: "vt-select__error"
@@ -3656,10 +3661,10 @@ const v3 = ["for"], p3 = {
3656
3661
  ]),
3657
3662
  _: 1
3658
3663
  }),
3659
- o("div", E3, [
3660
- He(r.$slots, "default")
3664
+ o("div", A3, [
3665
+ De(r.$slots, "default")
3661
3666
  ]),
3662
- j(N) && j(ue) ? (s(), we(l1, {
3667
+ j(N) && j(ce) ? (s(), we(l1, {
3663
3668
  key: 1,
3664
3669
  to: "body"
3665
3670
  }, [
@@ -3677,7 +3682,7 @@ const v3 = ["for"], p3 = {
3677
3682
  onMousedown: f[3] || (f[3] = Se(() => {
3678
3683
  }, ["prevent"]))
3679
3684
  }, [
3680
- r.filterable ? (s(), a("div", P3, [
3685
+ r.filterable ? (s(), a("div", R3, [
3681
3686
  Q(G1, {
3682
3687
  ref_key: "filterInputRef",
3683
3688
  ref: m,
@@ -3690,8 +3695,8 @@ const v3 = ["for"], p3 = {
3690
3695
  onInput: I
3691
3696
  }, null, 8, ["modelValue", "placeholder"])
3692
3697
  ])) : O("", !0),
3693
- oe.value.length === 0 ? (s(), a("div", R3, [
3694
- l.filterQuery.value ? (s(), a("span", j3, 'Немає результатів для "' + E(l.filterQuery.value) + '"', 1)) : (s(), a("span", Z3, E(r.noDataText), 1))
3698
+ oe.value.length === 0 ? (s(), a("div", j3, [
3699
+ l.filterQuery.value ? (s(), a("span", Z3, 'Немає результатів для "' + E(l.filterQuery.value) + '"', 1)) : (s(), a("span", F3, E(r.noDataText), 1))
3695
3700
  ])) : (s(), a("div", {
3696
3701
  key: 2,
3697
3702
  ref_key: "scrollContainerRef",
@@ -3723,16 +3728,16 @@ const v3 = ["for"], p3 = {
3723
3728
  tabindex: "-1",
3724
3729
  onChange: (_e) => Me(Y)
3725
3730
  }, null, 8, ["checked", "disabled", "onChange"])) : O("", !0),
3726
- o("span", z3, [
3727
- G(Y.value) ? (s(), we(f1(G(Y.value)), { key: 0 })) : (s(), a("span", Y3, E(Y.label || Y.value), 1))
3731
+ o("span", Y3, [
3732
+ G(Y.value) ? (s(), we(f1(G(Y.value)), { key: 0 })) : (s(), a("span", O3, E(Y.label || Y.value), 1))
3728
3733
  ])
3729
- ], 42, F3))), 128)),
3730
- r.loading ? (s(), a("div", O3, [
3734
+ ], 42, z3))), 128)),
3735
+ r.loading ? (s(), a("div", N3, [
3731
3736
  Q(p1, { class: "vt-select-dropdown__loading-icon" }),
3732
3737
  xe(" " + E(t.loadingText), 1)
3733
3738
  ])) : O("", !0)
3734
3739
  ], 544))
3735
- ], 44, A3)
3740
+ ], 44, P3)
3736
3741
  ]),
3737
3742
  _: 1
3738
3743
  })
@@ -3740,7 +3745,7 @@ const v3 = ["for"], p3 = {
3740
3745
  ], 2);
3741
3746
  };
3742
3747
  }
3743
- }), N3 = { style: { display: "none" } }, et = /* @__PURE__ */ ke({
3748
+ }), W3 = { style: { display: "none" } }, et = /* @__PURE__ */ ke({
3744
3749
  __name: "VOption",
3745
3750
  props: {
3746
3751
  label: {},
@@ -3763,11 +3768,11 @@ const v3 = ["for"], p3 = {
3763
3768
  }
3764
3769
  }), W1(() => {
3765
3770
  i && i.unregisterOption(u.value);
3766
- }), (d, p) => (s(), a("div", N3, [
3767
- He(d.$slots, "default")
3771
+ }), (d, p) => (s(), a("div", W3, [
3772
+ De(d.$slots, "default")
3768
3773
  ]));
3769
3774
  }
3770
- }), W3 = { class: "vt-pagination" }, q3 = { class: "vt-pagination__info" }, U3 = { class: "vt-pagination__rows-per-page" }, K3 = { class: "vt-pagination__navigation" }, Q3 = ["disabled"], X3 = ["onClick"], G3 = ["disabled"], J3 = /* @__PURE__ */ ke({
3775
+ }), q3 = { class: "vt-pagination" }, U3 = { class: "vt-pagination__info" }, K3 = { class: "vt-pagination__rows-per-page" }, Q3 = { class: "vt-pagination__navigation" }, X3 = ["disabled"], G3 = ["onClick"], J3 = ["disabled"], e5 = /* @__PURE__ */ ke({
3771
3776
  __name: "VPagination",
3772
3777
  props: {
3773
3778
  totalItems: {},
@@ -3819,9 +3824,9 @@ const v3 = ["for"], p3 = {
3819
3824
  () => {
3820
3825
  i.value > d.value && d.value > 0 && (i.value = d.value, l());
3821
3826
  }
3822
- ), (R, G) => (s(), a("div", W3, [
3823
- o("div", q3, [
3824
- o("div", U3, [
3827
+ ), (R, G) => (s(), a("div", q3, [
3828
+ o("div", U3, [
3829
+ o("div", K3, [
3825
3830
  G[1] || (G[1] = o("label", {
3826
3831
  class: "vt-pagination__label",
3827
3832
  for: "rowsSelect"
@@ -3850,28 +3855,28 @@ const v3 = ["for"], p3 = {
3850
3855
  ]),
3851
3856
  o("span", null, E(p.value) + " - " + E(C.value) + " з " + E(R.totalItems), 1)
3852
3857
  ]),
3853
- o("div", K3, [
3858
+ o("div", Q3, [
3854
3859
  o("button", {
3855
3860
  class: U({ "vt-pagination__nav-button": !0, "has-items": !v.value }),
3856
3861
  disabled: v.value,
3857
3862
  onClick: _
3858
3863
  }, [
3859
3864
  Q(fe, { name: "arrowLeft" })
3860
- ], 10, Q3),
3865
+ ], 10, X3),
3861
3866
  (s(!0), a(ne, null, pe(m.value, (P) => (s(), a("button", {
3862
3867
  key: P,
3863
3868
  class: U([{
3864
3869
  "vt-pagination__nav-button--active": P === i.value
3865
3870
  }, "vt-pagination__nav-button"]),
3866
3871
  onClick: (te) => $(P)
3867
- }, E(P), 11, X3))), 128)),
3872
+ }, E(P), 11, G3))), 128)),
3868
3873
  o("button", {
3869
3874
  class: U({ "vt-pagination__nav-button": !0, "has-items": !h.value }),
3870
3875
  disabled: h.value,
3871
3876
  onClick: K
3872
3877
  }, [
3873
3878
  Q(fe, { name: "arrowRight" })
3874
- ], 10, G3)
3879
+ ], 10, J3)
3875
3880
  ]),
3876
3881
  o("div", null, [
3877
3882
  Q(Xe, {
@@ -3890,7 +3895,7 @@ const v3 = ["for"], p3 = {
3890
3895
  ])
3891
3896
  ]));
3892
3897
  }
3893
- }), e5 = ["for"], t5 = ["id", "checked", "disabled", "name", "required", "value"], n5 = /* @__PURE__ */ ke({
3898
+ }), t5 = ["for"], n5 = ["id", "checked", "disabled", "name", "required", "value"], o5 = /* @__PURE__ */ ke({
3894
3899
  __name: "VRadiobox",
3895
3900
  props: {
3896
3901
  modelValue: { default: void 0 },
@@ -3937,7 +3942,7 @@ const v3 = ["for"], p3 = {
3937
3942
  onBlur: v,
3938
3943
  onChange: p,
3939
3944
  onFocus: C
3940
- }, null, 40, t5),
3945
+ }, null, 40, n5),
3941
3946
  o("div", {
3942
3947
  class: U([
3943
3948
  "vt-radiobox__circle",
@@ -3965,16 +3970,16 @@ const v3 = ["for"], p3 = {
3965
3970
  }
3966
3971
  ])
3967
3972
  }, [
3968
- He(h.$slots, "label", {}, () => [
3969
- He(h.$slots, "default", {}, () => [
3973
+ De(h.$slots, "label", {}, () => [
3974
+ De(h.$slots, "default", {}, () => [
3970
3975
  xe(E(h.label), 1)
3971
3976
  ])
3972
3977
  ])
3973
3978
  ], 2)) : O("", !0)
3974
- ], 10, e5));
3979
+ ], 10, t5));
3975
3980
  }
3976
3981
  });
3977
- function o5(n) {
3982
+ function l5(n) {
3978
3983
  const e = x(() => {
3979
3984
  const i = n.filter((p) => p.pinnedLeft), c = n.filter((p) => p.pinnedRight), d = n.filter((p) => !p.pinnedLeft && !p.pinnedRight);
3980
3985
  return [...i, ...d, ...c];
@@ -4005,7 +4010,7 @@ function o5(n) {
4005
4010
  }
4006
4011
  };
4007
4012
  }
4008
- function l5(n) {
4013
+ function s5(n) {
4009
4014
  const e = () => {
4010
4015
  const c = {};
4011
4016
  return n.maxHeight && (c.maxHeight = `${n.maxHeight}px`), c;
@@ -4034,7 +4039,7 @@ function l5(n) {
4034
4039
  }
4035
4040
  };
4036
4041
  }
4037
- function s5() {
4042
+ function r5() {
4038
4043
  const n = S({
4039
4044
  resizingCol: null,
4040
4045
  startX: 0,
@@ -4062,7 +4067,7 @@ function s5() {
4062
4067
  resizeState: n
4063
4068
  };
4064
4069
  }
4065
- function r5(n, e, u, t) {
4070
+ function i5(n, e, u, t) {
4066
4071
  var ve;
4067
4072
  const i = n.selectionKey || "id", c = S([]), d = S(null), p = S(!1);
4068
4073
  (ve = n.defaultSelection) != null && ve.length && (c.value = [...n.defaultSelection]);
@@ -4071,12 +4076,12 @@ function r5(n, e, u, t) {
4071
4076
  const D = h.value;
4072
4077
  return D > 0 && D < e.value.length;
4073
4078
  }), $ = x(() => p.value ? !0 : m.value && !l.value), _ = x(() => n.isAllSelect && p.value), K = (D, N) => {
4074
- const ue = C(D), Ce = c.value.some((B) => C(B) === C(D)), L = N !== void 0 ? N : !Ce;
4079
+ const ce = C(D), Ce = c.value.some((B) => C(B) === C(D)), L = N !== void 0 ? N : !Ce;
4075
4080
  if (p.value && !L) {
4076
- p.value = !1, t != null && t.value && (c.value = t.value.filter((B) => C(B) !== ue)), he(D, !1);
4081
+ p.value = !1, t != null && t.value && (c.value = t.value.filter((B) => C(B) !== ce)), he(D, !1);
4077
4082
  return;
4078
4083
  }
4079
- p.value && L || (L && !Ce ? c.value.push(D) : !L && Ce && (c.value = c.value.filter((B) => C(B) !== ue)), n.selectOnClickRow && N === void 0 && te(L ? D : null), he(D, L));
4084
+ p.value && L || (L && !Ce ? c.value.push(D) : !L && Ce && (c.value = c.value.filter((B) => C(B) !== ce)), n.selectOnClickRow && N === void 0 && te(L ? D : null), he(D, L));
4080
4085
  }, A = () => {
4081
4086
  switch (H()) {
4082
4087
  case "none":
@@ -4091,11 +4096,11 @@ function r5(n, e, u, t) {
4091
4096
  break;
4092
4097
  }
4093
4098
  }, H = () => p.value ? "absoluteAll" : m.value ? "allVisible" : h.value > 0 ? "partial" : "none", R = () => {
4094
- const D = [], N = new Set(c.value.map((ue) => C(ue)));
4095
- c.value.forEach((ue) => {
4096
- D.push(ue);
4097
- }), e.value.forEach((ue) => {
4098
- N.has(C(ue)) || D.push(ue);
4099
+ const D = [], N = new Set(c.value.map((ce) => C(ce)));
4100
+ c.value.forEach((ce) => {
4101
+ D.push(ce);
4102
+ }), e.value.forEach((ce) => {
4103
+ N.has(C(ce)) || D.push(ce);
4099
4104
  }), c.value = D, p.value = !1, he();
4100
4105
  }, G = () => {
4101
4106
  n.isAllSelect ? (p.value = !0, t != null && t.value ? c.value = [...t.value] : c.value = [...e.value], he(void 0, void 0, !0)) : R();
@@ -4109,12 +4114,12 @@ function r5(n, e, u, t) {
4109
4114
  });
4110
4115
  }, re = () => [...c.value], oe = (D) => {
4111
4116
  c.value = [...D], p.value = !1, he();
4112
- }, he = (D, N, ue = !1) => {
4117
+ }, he = (D, N, ce = !1) => {
4113
4118
  const Ce = {
4114
4119
  selection: [...c.value],
4115
4120
  row: D,
4116
4121
  selected: N,
4117
- isAllSelected: ue || p.value
4122
+ isAllSelected: ce || p.value
4118
4123
  };
4119
4124
  u("selection-change", Ce);
4120
4125
  };
@@ -4140,7 +4145,7 @@ function r5(n, e, u, t) {
4140
4145
  selectAbsolutelyAll: G
4141
4146
  };
4142
4147
  }
4143
- const i5 = (n, e, u = "asc") => {
4148
+ const a5 = (n, e, u = "asc") => {
4144
4149
  if (n == null && e == null) return 0;
4145
4150
  if (n == null) return u === "asc" ? 1 : -1;
4146
4151
  if (e == null) return u === "asc" ? -1 : 1;
@@ -4151,7 +4156,7 @@ const i5 = (n, e, u = "asc") => {
4151
4156
  numeric: !0,
4152
4157
  sensitivity: "base"
4153
4158
  }), u === "desc" ? -t : t;
4154
- }, I1 = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1, a5 = (n, e, u) => {
4159
+ }, I1 = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1, u5 = (n, e, u) => {
4155
4160
  n.sortable && u({
4156
4161
  prop: n.prop,
4157
4162
  direction: e
@@ -4162,11 +4167,11 @@ const i5 = (n, e, u = "asc") => {
4162
4167
  asc: ["vt-th__sort-icon", u && t === "asc" && "vt-th__sortable-active"].filter(Boolean).join(" "),
4163
4168
  desc: ["vt-th__sort-icon", u && t === "desc" && "vt-th__sortable-active"].filter(Boolean).join(" ")
4164
4169
  };
4165
- }, u5 = (n, e, u) => {
4170
+ }, c5 = (n, e, u) => {
4166
4171
  if (!e) return [...n];
4167
4172
  const t = u.find((c) => c.prop === e.prop);
4168
4173
  if (!(t != null && t.sortable)) return [...n];
4169
- const i = t.sortMethod || i5;
4174
+ const i = t.sortMethod || a5;
4170
4175
  return [...n].sort((c, d) => {
4171
4176
  const p = c[t.prop], C = d[t.prop];
4172
4177
  return i(p, C, e.direction);
@@ -4224,8 +4229,8 @@ const i5 = (n, e, u = "asc") => {
4224
4229
  }, ve = (N) => {
4225
4230
  var Ce, L;
4226
4231
  if (!m.value) return;
4227
- const ue = N.target;
4228
- (Ce = c.value) != null && Ce.contains(ue) || (L = p.value) != null && L.contains(ue) || K();
4232
+ const ce = N.target;
4233
+ (Ce = c.value) != null && Ce.contains(ce) || (L = p.value) != null && L.contains(ce) || K();
4229
4234
  }, D = x(() => ({
4230
4235
  ...$.value,
4231
4236
  position: "absolute",
@@ -4240,7 +4245,7 @@ const i5 = (n, e, u = "asc") => {
4240
4245
  document.addEventListener("click", ve);
4241
4246
  }), Je(() => {
4242
4247
  document.removeEventListener("click", ve), H();
4243
- }), (N, ue) => (s(), a("div", {
4248
+ }), (N, ce) => (s(), a("div", {
4244
4249
  ref_key: "dropdownRef",
4245
4250
  ref: c,
4246
4251
  class: "vt-dropdown",
@@ -4253,7 +4258,7 @@ const i5 = (n, e, u = "asc") => {
4253
4258
  ref: d,
4254
4259
  class: "vt-dropdown__trigger"
4255
4260
  }, [
4256
- He(N.$slots, "default")
4261
+ De(N.$slots, "default")
4257
4262
  ], 512),
4258
4263
  j(m) && j(l) ? (s(), we(l1, {
4259
4264
  key: 0,
@@ -4266,10 +4271,10 @@ const i5 = (n, e, u = "asc") => {
4266
4271
  class: "vt-dropdown-menu",
4267
4272
  onMouseenter: oe,
4268
4273
  onMouseleave: he,
4269
- onClick: ue[0] || (ue[0] = Se(() => {
4274
+ onClick: ce[0] || (ce[0] = Se(() => {
4270
4275
  }, ["stop"]))
4271
4276
  }, [
4272
- He(N.$slots, "dropdown")
4277
+ De(N.$slots, "dropdown")
4273
4278
  ], 36)
4274
4279
  ])) : O("", !0)
4275
4280
  ], 544));
@@ -4300,11 +4305,11 @@ const i5 = (n, e, u = "asc") => {
4300
4305
  key: 0,
4301
4306
  class: U([d.icon, "vt-dropdown-item__icon"])
4302
4307
  }, null, 2)) : O("", !0),
4303
- He(d.$slots, "default")
4308
+ De(d.$slots, "default")
4304
4309
  ], 2));
4305
4310
  }
4306
4311
  });
4307
- class c5 {
4312
+ class d5 {
4308
4313
  constructor() {
4309
4314
  this.modalStack = [], this.baseZIndex = 1e3, this.parentApp = null;
4310
4315
  }
@@ -4398,7 +4403,7 @@ class c5 {
4398
4403
  recalculateZIndices() {
4399
4404
  }
4400
4405
  }
4401
- const Ke = new c5(), d5 = {
4406
+ const Ke = new d5(), h5 = {
4402
4407
  install(n) {
4403
4408
  Ke.setParentApp(n), n.config.globalProperties.$modal = Ke, n.config.globalProperties.$modalStack = {
4404
4409
  closeAll: () => Ke.closeAll(),
@@ -4406,16 +4411,16 @@ const Ke = new c5(), d5 = {
4406
4411
  closeById: (e) => Ke.closeById(e)
4407
4412
  };
4408
4413
  }
4409
- }, h5 = { class: "vt-columns-selector-body" }, v5 = { class: "vt-columns-selector" }, p5 = { class: "vt-columns-selector__panel" }, f5 = ["draggable", "onDragstart", "onDragover", "onDrop"], C5 = {
4414
+ }, v5 = { class: "vt-columns-selector-body" }, p5 = { class: "vt-columns-selector" }, f5 = { class: "vt-columns-selector__panel" }, C5 = ["draggable", "onDragstart", "onDragover", "onDrop"], m5 = {
4410
4415
  key: 0,
4411
4416
  class: "vt-columns-selector__panel-item-pinned"
4412
- }, m5 = { class: "vt-columns-selector__available" }, _5 = ["onClick"], g5 = {
4417
+ }, _5 = { class: "vt-columns-selector__available" }, g5 = ["onClick"], w5 = {
4413
4418
  key: 0,
4414
4419
  class: "vt-columns-selector__group-columns"
4415
- }, w5 = {
4420
+ }, k5 = {
4416
4421
  key: 0,
4417
4422
  class: "vt-columns-selector__pinned-note"
4418
- }, k5 = { class: "vt-modal__content-button" }, b5 = /* @__PURE__ */ ke({
4423
+ }, b5 = { class: "vt-modal__content-button" }, y5 = /* @__PURE__ */ ke({
4419
4424
  __name: "VTableColumnSelector",
4420
4425
  props: {
4421
4426
  columns: {},
@@ -4460,8 +4465,8 @@ const Ke = new c5(), d5 = {
4460
4465
  if (d.value === -1) return;
4461
4466
  L.preventDefault();
4462
4467
  const F = L.currentTarget.getBoundingClientRect(), le = L.clientY, J = F.top + F.height / 2;
4463
- let X = B, ce = "before";
4464
- le < J ? (X = B, ce = "before") : (X = B + 1, ce = "after"), d.value < X && X--, _(X) ? (p.value = B, C.value = ce, L.dataTransfer.dropEffect = "move") : (p.value = -1, L.dataTransfer.dropEffect = "none");
4468
+ let X = B, ue = "before";
4469
+ le < J ? (X = B, ue = "before") : (X = B + 1, ue = "after"), d.value < X && X--, _(X) ? (p.value = B, C.value = ue, L.dataTransfer.dropEffect = "move") : (p.value = -1, L.dataTransfer.dropEffect = "none");
4465
4470
  }, H = () => {
4466
4471
  setTimeout(() => {
4467
4472
  d.value === -1 && (p.value = -1);
@@ -4477,8 +4482,8 @@ const Ke = new c5(), d5 = {
4477
4482
  P();
4478
4483
  return;
4479
4484
  }
4480
- const ce = [...i.value], [ze] = ce.splice(d.value, 1);
4481
- ce.splice(X, 0, ze), i.value = ce, P();
4485
+ const ue = [...i.value], [ze] = ue.splice(d.value, 1);
4486
+ ue.splice(X, 0, ze), i.value = ue, P();
4482
4487
  }, G = () => {
4483
4488
  P();
4484
4489
  }, P = () => {
@@ -4517,16 +4522,16 @@ const Ke = new c5(), d5 = {
4517
4522
  return !B || !m(B);
4518
4523
  }, N = (L) => {
4519
4524
  c.value.has(L) ? c.value.delete(L) : c.value.add(L);
4520
- }, ue = () => {
4525
+ }, ce = () => {
4521
4526
  t("update-columns", [...i.value]), Ke.close();
4522
4527
  }, Ce = () => {
4523
4528
  Ke.close();
4524
4529
  };
4525
4530
  return Ye(() => {
4526
4531
  re();
4527
- }), (L, B) => (s(), a("div", h5, [
4528
- o("div", v5, [
4529
- o("div", p5, [
4532
+ }), (L, B) => (s(), a("div", v5, [
4533
+ o("div", p5, [
4534
+ o("div", f5, [
4530
4535
  (s(!0), a(ne, null, pe(i.value, (F, le) => (s(), a("div", {
4531
4536
  key: F.prop,
4532
4537
  class: U(te(le)),
@@ -4549,10 +4554,10 @@ const Ke = new c5(), d5 = {
4549
4554
  onClick: B[0] || (B[0] = Se(() => {
4550
4555
  }, ["stop"]))
4551
4556
  }, null, 8, ["label", "disabled", "onChange"]),
4552
- m(F) ? (s(), a("span", C5, "pinned")) : O("", !0)
4553
- ], 42, f5))), 128))
4557
+ m(F) ? (s(), a("span", m5, "pinned")) : O("", !0)
4558
+ ], 42, C5))), 128))
4554
4559
  ]),
4555
- o("div", m5, [
4560
+ o("div", _5, [
4556
4561
  (s(!0), a(ne, null, pe(h.value, (F) => {
4557
4562
  var le, J;
4558
4563
  return s(), a("div", {
@@ -4576,8 +4581,8 @@ const Ke = new c5(), d5 = {
4576
4581
  name: F.icon,
4577
4582
  class: "vt-columns-selector__group-icon"
4578
4583
  }, null, 8, ["name"])) : O("", !0)
4579
- ], 8, _5),
4580
- c.value.has(F.name) ? (s(), a("div", g5, [
4584
+ ], 8, g5),
4585
+ c.value.has(F.name) ? (s(), a("div", w5, [
4581
4586
  (s(!0), a(ne, null, pe(F.columns, (X) => (s(), a("div", {
4582
4587
  key: X.prop,
4583
4588
  class: "vt-columns-selector__group-column"
@@ -4586,16 +4591,16 @@ const Ke = new c5(), d5 = {
4586
4591
  label: X.label,
4587
4592
  checked: ve(X),
4588
4593
  disabled: !D(X),
4589
- onChange: (ce) => oe(X, ce)
4594
+ onChange: (ue) => oe(X, ue)
4590
4595
  }, null, 8, ["label", "checked", "disabled", "onChange"]),
4591
- D(X) ? O("", !0) : (s(), a("span", w5, " (закріплена) "))
4596
+ D(X) ? O("", !0) : (s(), a("span", k5, " (закріплена) "))
4592
4597
  ]))), 128))
4593
4598
  ])) : O("", !0)
4594
4599
  ]);
4595
4600
  }), 128))
4596
4601
  ])
4597
4602
  ]),
4598
- o("div", k5, [
4603
+ o("div", b5, [
4599
4604
  Q(Xe, { onClick: Ce }, {
4600
4605
  default: Ve(() => B[2] || (B[2] = [
4601
4606
  xe("Скасувати", -1)
@@ -4605,7 +4610,7 @@ const Ke = new c5(), d5 = {
4605
4610
  }),
4606
4611
  Q(Xe, {
4607
4612
  type: "primary",
4608
- onClick: ue
4613
+ onClick: ce
4609
4614
  }, {
4610
4615
  default: Ve(() => B[3] || (B[3] = [
4611
4616
  xe("Зберегти", -1)
@@ -4616,7 +4621,7 @@ const Ke = new c5(), d5 = {
4616
4621
  ])
4617
4622
  ]));
4618
4623
  }
4619
- }), y5 = { class: "vt-table-header-actions" }, M5 = /* @__PURE__ */ ke({
4624
+ }), M5 = { class: "vt-table-header-actions" }, $5 = /* @__PURE__ */ ke({
4620
4625
  __name: "ColumnActions",
4621
4626
  props: {
4622
4627
  column: {},
@@ -4667,7 +4672,7 @@ const Ke = new c5(), d5 = {
4667
4672
  console.log("handleToggleVisibility called");
4668
4673
  const h = C(u.allColumns);
4669
4674
  Ke.open({
4670
- component: b5,
4675
+ component: y5,
4671
4676
  title: "Управління колонками таблиці",
4672
4677
  props: {
4673
4678
  columns: u.allColumns,
@@ -4705,23 +4710,23 @@ const Ke = new c5(), d5 = {
4705
4710
  })
4706
4711
  ]),
4707
4712
  default: Ve(() => [
4708
- o("div", y5, [
4713
+ o("div", M5, [
4709
4714
  Q(fe, { name: "listBullet" })
4710
4715
  ])
4711
4716
  ]),
4712
4717
  _: 1
4713
4718
  }));
4714
4719
  }
4715
- }), $5 = { class: "vt-table" }, x5 = { key: 0 }, V5 = { class: "vt-th__content" }, L5 = { class: "vt-th__content" }, S5 = { class: "vt-th__label" }, D5 = {
4720
+ }), x5 = { class: "vt-table" }, V5 = { key: 0 }, L5 = { class: "vt-th__content" }, S5 = { class: "vt-th__content" }, D5 = { class: "vt-th__label" }, H5 = {
4716
4721
  key: 0,
4717
4722
  class: "vt-th__sortable"
4718
- }, H5 = ["data-resizer", "onMousedown"], T5 = {
4723
+ }, T5 = ["data-resizer", "onMousedown"], I5 = {
4719
4724
  key: 0,
4720
4725
  class: "vt-table__empty-row"
4721
- }, I5 = ["colspan"], B5 = { class: "vt-table__empty-content" }, E5 = ["onClick"], A5 = { class: "vt-table__cell-content" }, P5 = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, R5 = { key: 1 }, j5 = ["data-resizer", "onMousedown"], Z5 = {
4726
+ }, B5 = ["colspan"], E5 = { class: "vt-table__empty-content" }, A5 = ["onClick"], P5 = { class: "vt-table__cell-content" }, R5 = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, j5 = { key: 1 }, Z5 = ["data-resizer", "onMousedown"], F5 = {
4722
4727
  key: 1,
4723
4728
  class: "vt-table__summary"
4724
- }, F5 = { class: "vt-table__cell-content vt-table__cell-content--summary" }, w1 = 50, z5 = /* @__PURE__ */ ke({
4729
+ }, z5 = { class: "vt-table__cell-content vt-table__cell-content--summary" }, w1 = 50, Y5 = /* @__PURE__ */ ke({
4725
4730
  __name: "VTable",
4726
4731
  props: /* @__PURE__ */ S1({
4727
4732
  data: {},
@@ -4750,7 +4755,7 @@ const Ke = new c5(), d5 = {
4750
4755
  }),
4751
4756
  emits: /* @__PURE__ */ S1(["sort-change", "selection-change", "current-change", "row-click", "update:columns", "column-pin", "column-resize", "column-visibility", "column-sort", "columns-change", "infinity-scroll"], ["update:columns"]),
4752
4757
  setup(n, { expose: e, emit: u }) {
4753
- const t = n, i = u, c = it(n, "columns"), d = S({}), p = S(), C = U1([]), v = S(t.defaultSort || null), h = x(() => u5(t.data || [], v.value, C)), m = x(() => c.value !== void 0), l = x(() => t.data && t.data.length > 0), $ = S(!1), _ = S(0);
4758
+ const t = n, i = u, c = it(n, "columns"), d = S({}), p = S(), C = U1([]), v = S(t.defaultSort || null), h = x(() => c5(t.data || [], v.value, C)), m = x(() => c.value !== void 0), l = x(() => t.data && t.data.length > 0), $ = S(!1), _ = S(0);
4754
4759
  let K;
4755
4760
  const A = (I, W) => t.rowKey && I[t.rowKey] != null ? String(I[t.rowKey]) : String(W);
4756
4761
  $e(
@@ -4766,14 +4771,14 @@ const Ke = new c5(), d5 = {
4766
4771
  },
4767
4772
  { deep: !0 }
4768
4773
  ), u1("vt-table-columns", C);
4769
- const { sortedColumns: H, getDefaultColumnWidth: R, getStickyOffset: G } = o5(C), { getTableWrapperStyle: P, getColumnStyle: te, getHeaderStyle: re, getFooterStyle: oe } = l5(t), { onMouseDown: he } = s5(), ve = x(() => t.allData || t.data), D = t.selectable ? r5(t, h, i, ve) : null, N = () => ({
4774
+ const { sortedColumns: H, getDefaultColumnWidth: R, getStickyOffset: G } = l5(C), { getTableWrapperStyle: P, getColumnStyle: te, getHeaderStyle: re, getFooterStyle: oe } = s5(t), { onMouseDown: he } = r5(), ve = x(() => t.allData || t.data), D = t.selectable ? i5(t, h, i, ve) : null, N = () => ({
4770
4775
  width: `${w1}px`,
4771
4776
  minWidth: `${w1}px`,
4772
4777
  maxWidth: `${w1}px`,
4773
4778
  left: "0px",
4774
4779
  position: "sticky",
4775
4780
  zIndex: 10
4776
- }), ue = () => {
4781
+ }), ce = () => {
4777
4782
  const I = N();
4778
4783
  return t.maxHeight ? {
4779
4784
  ...I,
@@ -4805,7 +4810,7 @@ const Ke = new c5(), d5 = {
4805
4810
  K && clearTimeout(K), p.value && p.value.removeEventListener("scroll", L);
4806
4811
  });
4807
4812
  const F = (I, W) => {
4808
- a5(I, W, (se) => {
4813
+ u5(I, W, (se) => {
4809
4814
  var de, ee;
4810
4815
  ((de = v.value) == null ? void 0 : de.prop) === I.prop && v.value.direction === W ? v.value = null : v.value = se, i("sort-change", {
4811
4816
  column: I,
@@ -4834,11 +4839,11 @@ const Ke = new c5(), d5 = {
4834
4839
  }
4835
4840
  i("columns-change", [...C]);
4836
4841
  }
4837
- }, ce = (I, W, se) => {
4842
+ }, ue = (I, W, se) => {
4838
4843
  i("row-click", { row: I, column: W, event: se }), t.highlightCurrentRow && D && D.setCurrentRow(I);
4839
4844
  }, ze = (I, W, se) => {
4840
4845
  se.stopPropagation(), D && D.toggleRowSelection(W, I);
4841
- }, De = (I, W) => {
4846
+ }, He = (I, W) => {
4842
4847
  W.stopPropagation(), D && D.toggleAllSelection();
4843
4848
  }, Ie = (I, W) => {
4844
4849
  I && (d.value[W] = I);
@@ -4911,9 +4916,9 @@ const Ke = new c5(), d5 = {
4911
4916
  class: "vt-table-wrapper",
4912
4917
  onScroll: L
4913
4918
  }, [
4914
- He(I.$slots, "default"),
4915
- o("table", $5, [
4916
- t.hideHeader ? O("", !0) : (s(), a("thead", x5, [
4919
+ De(I.$slots, "default"),
4920
+ o("table", x5, [
4921
+ t.hideHeader ? O("", !0) : (s(), a("thead", V5, [
4917
4922
  o("tr", null, [
4918
4923
  t.selectable ? (s(), a("th", {
4919
4924
  key: 0,
@@ -4921,14 +4926,14 @@ const Ke = new c5(), d5 = {
4921
4926
  "vt-table__th--sticky": t.maxHeight,
4922
4927
  "vt-table__th--pinned-left": !0
4923
4928
  }, "vt-table__th vt-table__th--selection"]),
4924
- style: Ee(ue())
4929
+ style: Ee(ce())
4925
4930
  }, [
4926
- o("div", V5, [
4931
+ o("div", L5, [
4927
4932
  Q(e1, {
4928
4933
  checked: (de = j(D)) == null ? void 0 : de.isAllSelected.value,
4929
4934
  indeterminate: (ee = j(D)) == null ? void 0 : ee.isIndeterminate.value,
4930
4935
  "is-double": t.isAllSelect && ((b = (k = j(D)) == null ? void 0 : k.isDoubleCheck) == null ? void 0 : b.value),
4931
- onChange: De
4936
+ onChange: He
4932
4937
  }, null, 8, ["checked", "indeterminate", "is-double"])
4933
4938
  ])
4934
4939
  ], 6)) : O("", !0),
@@ -4947,13 +4952,13 @@ const Ke = new c5(), d5 = {
4947
4952
  ]),
4948
4953
  style: Ee(We(r, f))
4949
4954
  }, [
4950
- o("div", L5, [
4951
- o1((s(), a("div", S5, [
4955
+ o("div", S5, [
4956
+ o1((s(), a("div", D5, [
4952
4957
  xe(E(r.label), 1)
4953
4958
  ])), [
4954
4959
  [se, r.label]
4955
4960
  ]),
4956
- r.sortable ? (s(), a("div", D5, [
4961
+ r.sortable ? (s(), a("div", H5, [
4957
4962
  Q(fe, {
4958
4963
  class: U(j(B1)(r, v.value).asc),
4959
4964
  name: "arrowTop",
@@ -4965,7 +4970,7 @@ const Ke = new c5(), d5 = {
4965
4970
  onClick: Se((q) => F(r, "desc"), ["stop"])
4966
4971
  }, null, 8, ["class", "onClick"])
4967
4972
  ])) : O("", !0),
4968
- r.actionColumn ? (s(), we(M5, {
4973
+ r.actionColumn ? (s(), we($5, {
4969
4974
  key: 1,
4970
4975
  "all-columns": j(H),
4971
4976
  column: r,
@@ -4978,7 +4983,7 @@ const Ke = new c5(), d5 = {
4978
4983
  "data-resizer": r.prop,
4979
4984
  class: "vt-table__resizer",
4980
4985
  onMousedown: (q) => ye(q, r)
4981
- }, null, 40, H5)
4986
+ }, null, 40, T5)
4982
4987
  ], 6))), 128))
4983
4988
  ])
4984
4989
  ])),
@@ -4996,7 +5001,7 @@ const Ke = new c5(), d5 = {
4996
5001
  },
4997
5002
  ...Ae(r, f)
4998
5003
  ]),
4999
- onClick: (ae) => ce(r, j(H)[0], ae)
5004
+ onClick: (ae) => ue(r, j(H)[0], ae)
5000
5005
  }, [
5001
5006
  t.selectable ? (s(), a("td", {
5002
5007
  key: 0,
@@ -5005,7 +5010,7 @@ const Ke = new c5(), d5 = {
5005
5010
  }, "vt-table__td vt-table__td--selection"]),
5006
5011
  style: Ee(N())
5007
5012
  }, [
5008
- o("div", A5, [
5013
+ o("div", P5, [
5009
5014
  Q(e1, {
5010
5015
  checked: (_e = j(D)) == null ? void 0 : _e.isRowSelected(r),
5011
5016
  onChange: (ae, be) => ze(ae, r, be)
@@ -5025,14 +5030,14 @@ const Ke = new c5(), d5 = {
5025
5030
  ]),
5026
5031
  style: Ee(Qe(ae, be))
5027
5032
  }, [
5028
- o1((s(), a("div", P5, [
5033
+ o1((s(), a("div", R5, [
5029
5034
  ae.renderSlot ? (s(), we(f1(ae.renderSlot), {
5030
5035
  key: 0,
5031
5036
  column: ae,
5032
5037
  index: f,
5033
5038
  row: r,
5034
5039
  value: r[ae.prop]
5035
- }, null, 8, ["column", "index", "row", "value"])) : (s(), a("span", R5, E(r[ae.prop]), 1))
5040
+ }, null, 8, ["column", "index", "row", "value"])) : (s(), a("span", j5, E(r[ae.prop]), 1))
5036
5041
  ])), [
5037
5042
  [se, ae.showOverflowTooltip ? ge(r, ae) : null]
5038
5043
  ]),
@@ -5040,25 +5045,25 @@ const Ke = new c5(), d5 = {
5040
5045
  "data-resizer": ae.prop,
5041
5046
  class: "vt-table__resizer",
5042
5047
  onMousedown: (Le) => ye(Le, ae)
5043
- }, null, 40, j5)
5048
+ }, null, 40, Z5)
5044
5049
  ], 6))), 128))
5045
- ], 10, E5);
5046
- }), 128)) : (s(), a("tr", T5, [
5050
+ ], 10, A5);
5051
+ }), 128)) : (s(), a("tr", I5, [
5047
5052
  o("td", {
5048
5053
  colspan: j(H).length + (t.selectable ? 1 : 0),
5049
5054
  class: "vt-table__empty-cell"
5050
5055
  }, [
5051
- o("div", B5, [
5056
+ o("div", E5, [
5052
5057
  Q(fe, {
5053
5058
  class: "vt-table__empty-icon",
5054
5059
  name: "empty"
5055
5060
  }),
5056
5061
  W[0] || (W[0] = o("span", { class: "vt-table__empty-text" }, "Немає даних!", -1))
5057
5062
  ])
5058
- ], 8, I5)
5063
+ ], 8, B5)
5059
5064
  ]))
5060
5065
  ]),
5061
- Z.value ? (s(), a("tfoot", Z5, [
5066
+ Z.value ? (s(), a("tfoot", F5, [
5062
5067
  o("tr", null, [
5063
5068
  t.selectable ? (s(), a("td", {
5064
5069
  key: 0,
@@ -5080,7 +5085,7 @@ const Ke = new c5(), d5 = {
5080
5085
  ]),
5081
5086
  style: Ee(qe(r, f))
5082
5087
  }, [
5083
- o("div", F5, E(g.value[r.prop]), 1)
5088
+ o("div", z5, E(g.value[r.prop]), 1)
5084
5089
  ], 6))), 128))
5085
5090
  ])
5086
5091
  ])) : O("", !0)
@@ -5088,7 +5093,7 @@ const Ke = new c5(), d5 = {
5088
5093
  ], 36);
5089
5094
  };
5090
5095
  }
5091
- }), Y5 = /* @__PURE__ */ ke({
5096
+ }), O5 = /* @__PURE__ */ ke({
5092
5097
  __name: "VTableColumn",
5093
5098
  props: {
5094
5099
  prop: {},
@@ -5166,7 +5171,7 @@ const Ke = new c5(), d5 = {
5166
5171
  }
5167
5172
  }), (d, p) => null;
5168
5173
  }
5169
- }), C0 = {
5174
+ }), m0 = {
5170
5175
  yyyy: {
5171
5176
  pattern: /yyyy/g,
5172
5177
  replacement: (n) => String(n.getFullYear())
@@ -5211,7 +5216,7 @@ const Ke = new c5(), d5 = {
5211
5216
  pattern: new RegExp("(?<!s)s(?!s)", "g"),
5212
5217
  replacement: (n) => String(n.getSeconds())
5213
5218
  }
5214
- }, O5 = [
5219
+ }, N5 = [
5215
5220
  "Січень",
5216
5221
  "Лютий",
5217
5222
  "Березень",
@@ -5224,7 +5229,7 @@ const Ke = new c5(), d5 = {
5224
5229
  "Жовтень",
5225
5230
  "Листопад",
5226
5231
  "Грудень"
5227
- ], ot = ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], m0 = ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"], k1 = ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], N5 = {
5232
+ ], ot = ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], _0 = ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"], k1 = ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], W5 = {
5228
5233
  date: "yyyy-MM-dd",
5229
5234
  datetime: "yyyy-MM-dd HH:mm:ss",
5230
5235
  daterange: "yyyy-MM-dd",
@@ -5241,9 +5246,9 @@ const Ke = new c5(), d5 = {
5241
5246
  return !isNaN(e.getTime());
5242
5247
  }
5243
5248
  return !1;
5244
- }, W5 = (n) => Array.isArray(n) ? n.length === 0 || n.every((e) => !e) : !1, q5 = (n, e, u) => {
5249
+ }, q5 = (n) => Array.isArray(n) ? n.length === 0 || n.every((e) => !e) : !1, U5 = (n, e, u) => {
5245
5250
  const t = [], i = ["daterange", "datetimerange", "monthrange", "yearrange"].includes(e);
5246
- if (u && (n ? i && W5(n) && t.push("Це поле є обов'язковим") : t.push("Це поле є обов'язковим")), n)
5251
+ if (u && (n ? i && q5(n) && t.push("Це поле є обов'язковим") : t.push("Це поле є обов'язковим")), n)
5247
5252
  if (i && !Array.isArray(n) ? t.push("Для діапазону очікується масив з двох дат") : !i && Array.isArray(n) && t.push("Для одиночного вибору очікується одна дата"), Array.isArray(n)) {
5248
5253
  if (n.length !== 2)
5249
5254
  t.push("Діапазон повинен містити дві дати");
@@ -5258,12 +5263,12 @@ const Ke = new c5(), d5 = {
5258
5263
  isValid: t.length === 0,
5259
5264
  errors: t
5260
5265
  };
5261
- }, U5 = () => {
5266
+ }, K5 = () => {
5262
5267
  const n = (i, c) => {
5263
5268
  if (!i || !(i instanceof Date) || isNaN(i.getTime())) return "";
5264
5269
  const d = i.getFullYear(), p = i.getMonth(), C = i.getDate(), v = i.getHours(), h = v > 12 ? v - 12 : v === 0 ? 12 : v, m = i.getMinutes(), l = i.getSeconds(), $ = i.getTime();
5265
5270
  let _ = c;
5266
- _ = _.replace(/yyyy/g, String(d)), _ = _.replace(/yy/g, String(d).slice(-2)), _ = _.replace(/MMMM/g, O5[p]), _ = _.replace(/MMM/g, ot[p]), _ = _.replace(/MM/g, String(p + 1).padStart(2, "0")), _ = _.replace(/M/g, String(p + 1));
5271
+ _ = _.replace(/yyyy/g, String(d)), _ = _.replace(/yy/g, String(d).slice(-2)), _ = _.replace(/MMMM/g, N5[p]), _ = _.replace(/MMM/g, ot[p]), _ = _.replace(/MM/g, String(p + 1).padStart(2, "0")), _ = _.replace(/M/g, String(p + 1));
5267
5272
  const K = u(i);
5268
5273
  return _ = _.replace(/WW/g, String(K).padStart(2, "0")), _ = _.replace(/W/g, String(K)), _ = _.replace(/dd/g, String(C).padStart(2, "0")), _ = _.replace(/d/g, String(C)), _ = _.replace(/HH/g, String(v).padStart(2, "0")), _ = _.replace(/H/g, String(v)), _ = _.replace(/hh/g, String(h).padStart(2, "0")), _ = _.replace(/h/g, String(h)), _ = _.replace(/mm/g, String(m).padStart(2, "0")), _ = _.replace(/m/g, String(m)), _ = _.replace(/ss/g, String(l).padStart(2, "0")), _ = _.replace(/s/g, String(l)), _ = _.replace(/A/g, v >= 12 ? "PM" : "AM"), _ = _.replace(/a/g, v >= 12 ? "pm" : "am"), _ = _.replace(/timestamp/g, String($)), _ = _.replace(/\[([^\]]+)\]/g, "$1"), _;
5269
5274
  }, e = (i) => {
@@ -5280,10 +5285,10 @@ const Ke = new c5(), d5 = {
5280
5285
  formatDate: n,
5281
5286
  parseDate: e,
5282
5287
  getWeekOfYear: u,
5283
- getDefaultFormat: (i) => N5[i] || "yyyy-MM-dd"
5288
+ getDefaultFormat: (i) => W5[i] || "yyyy-MM-dd"
5284
5289
  };
5285
- }, K5 = (n, e, u, t, i) => {
5286
- const { formatDate: c, parseDate: d, getDefaultFormat: p } = U5(), C = x(() => ["datetimerange", "daterange", "monthrange", "yearrange"].includes(e.value)), v = x(() => u.value || p(e.value)), h = x(() => t.value || p(e.value)), m = x(() => n.value ? C.value ? Array.isArray(n.value) && n.value.length === 2 ? [d(n.value[0]), d(n.value[1])] : [null, null] : d(n.value) : C.value ? [null, null] : null), l = x(() => {
5290
+ }, Q5 = (n, e, u, t, i) => {
5291
+ const { formatDate: c, parseDate: d, getDefaultFormat: p } = K5(), C = x(() => ["datetimerange", "daterange", "monthrange", "yearrange"].includes(e.value)), v = x(() => u.value || p(e.value)), h = x(() => t.value || p(e.value)), m = x(() => n.value ? C.value ? Array.isArray(n.value) && n.value.length === 2 ? [d(n.value[0]), d(n.value[1])] : [null, null] : d(n.value) : C.value ? [null, null] : null), l = x(() => {
5287
5292
  if (C.value) {
5288
5293
  const [A, H] = m.value;
5289
5294
  if (A && H) {
@@ -5317,7 +5322,7 @@ const Ke = new c5(), d5 = {
5317
5322
  } else
5318
5323
  return t.value === "timestamp" ? A.getTime() : t.value ? c(A, h.value) : A;
5319
5324
  },
5320
- validate: (A = !1) => q5(n.value, e.value, A),
5325
+ validate: (A = !1) => U5(n.value, e.value, A),
5321
5326
  formatDate: c,
5322
5327
  parseDate: d
5323
5328
  };
@@ -5385,7 +5390,7 @@ const Ke = new c5(), d5 = {
5385
5390
  // hh:mm:ss AM/PM (12h)
5386
5391
  /^(0?[1-9]|1[0-2]):([0-5]\d)\s?(AM|PM)$/i
5387
5392
  // hh:mm AM/PM (12h)
5388
- ].some((u) => u.test(n.trim())) : !1, Q5 = (n, e, u) => {
5393
+ ].some((u) => u.test(n.trim())) : !1, X5 = (n, e, u) => {
5389
5394
  const t = [], i = e === "timerange";
5390
5395
  if (u && (n ? i && Array.isArray(n) && (n.length !== 2 || !n[0] || !n[1]) && t.push("Необхідно вибрати початковий та кінцевий час") : t.push("Це поле є обов'язковим")), n)
5391
5396
  if (i && !Array.isArray(n) ? t.push("Для діапазону очікується масив з двох значень часу") : !i && Array.isArray(n) && t.push("Для одиночного вибору очікується одне значення часу"), Array.isArray(n)) {
@@ -5426,13 +5431,13 @@ const Ke = new c5(), d5 = {
5426
5431
  }
5427
5432
  }
5428
5433
  return null;
5429
- }, X5 = (n, e, u = 0, t = "HH:mm:ss", i = !1) => {
5434
+ }, G5 = (n, e, u = 0, t = "HH:mm:ss", i = !1) => {
5430
5435
  let c = n;
5431
5436
  i && (c = n === 0 ? 12 : n > 12 ? n - 12 : n);
5432
5437
  const d = c.toString().padStart(2, "0"), p = e.toString().padStart(2, "0"), C = u.toString().padStart(2, "0");
5433
5438
  let v = t;
5434
5439
  return v = v.replace(/HH/g, n.toString().padStart(2, "0")), v = v.replace(/H/g, n.toString()), v = v.replace(/hh/g, d), v = v.replace(/h/g, c.toString()), v = v.replace(/mm/g, p), v = v.replace(/m/g, e.toString()), v = v.replace(/ss/g, C), v = v.replace(/s/g, u.toString()), v = v.replace(/A/g, n >= 12 ? "PM" : "AM"), v = v.replace(/a/g, n >= 12 ? "pm" : "am"), v;
5435
- }, G5 = (n) => {
5440
+ }, J5 = (n) => {
5436
5441
  if (!n) return null;
5437
5442
  const e = [
5438
5443
  /^(\d{1,2}):(\d{2}):(\d{2})$/,
@@ -5462,37 +5467,37 @@ const Ke = new c5(), d5 = {
5462
5467
  disabled: t.includes(c)
5463
5468
  });
5464
5469
  return i;
5465
- }, J5 = { class: "vt-timepicker__input" }, e2 = { class: "vt-timepicker__icon" }, t2 = {
5470
+ }, e2 = { class: "vt-timepicker__input" }, t2 = { class: "vt-timepicker__icon" }, n2 = {
5466
5471
  key: 0,
5467
5472
  class: "vt-timepicker__text"
5468
- }, n2 = {
5473
+ }, o2 = {
5469
5474
  key: 1,
5470
5475
  class: "vt-timepicker__placeholder"
5471
- }, o2 = { class: "vt-timepicker__suffix" }, l2 = ["disabled"], s2 = {
5476
+ }, l2 = { class: "vt-timepicker__suffix" }, s2 = ["disabled"], r2 = {
5472
5477
  key: 0,
5473
5478
  class: "vt-timepicker__dual-panel"
5474
- }, r2 = { class: "vt-timepicker__panel" }, i2 = { class: "vt-timepicker__time-columns" }, a2 = { class: "vt-timepicker__column" }, u2 = { class: "vt-timepicker__options" }, c2 = ["disabled", "onClick"], d2 = { class: "vt-timepicker__column" }, h2 = { class: "vt-timepicker__options" }, v2 = ["disabled", "onClick"], p2 = {
5479
+ }, i2 = { class: "vt-timepicker__panel" }, a2 = { class: "vt-timepicker__time-columns" }, u2 = { class: "vt-timepicker__column" }, c2 = { class: "vt-timepicker__options" }, d2 = ["disabled", "onClick"], h2 = { class: "vt-timepicker__column" }, v2 = { class: "vt-timepicker__options" }, p2 = ["disabled", "onClick"], f2 = {
5475
5480
  key: 0,
5476
5481
  class: "vt-timepicker__column"
5477
- }, f2 = { class: "vt-timepicker__options" }, C2 = ["disabled", "onClick"], m2 = {
5482
+ }, C2 = { class: "vt-timepicker__options" }, m2 = ["disabled", "onClick"], _2 = {
5478
5483
  key: 1,
5479
5484
  class: "vt-timepicker__column"
5480
- }, _2 = { class: "vt-timepicker__options" }, g2 = ["onClick"], w2 = { class: "vt-timepicker__panel" }, k2 = { class: "vt-timepicker__time-columns" }, b2 = { class: "vt-timepicker__column" }, y2 = { class: "vt-timepicker__options" }, M2 = ["disabled", "onClick"], $2 = { class: "vt-timepicker__column" }, x2 = { class: "vt-timepicker__options" }, V2 = ["disabled", "onClick"], L2 = {
5485
+ }, g2 = { class: "vt-timepicker__options" }, w2 = ["onClick"], k2 = { class: "vt-timepicker__panel" }, b2 = { class: "vt-timepicker__time-columns" }, y2 = { class: "vt-timepicker__column" }, M2 = { class: "vt-timepicker__options" }, $2 = ["disabled", "onClick"], x2 = { class: "vt-timepicker__column" }, V2 = { class: "vt-timepicker__options" }, L2 = ["disabled", "onClick"], S2 = {
5481
5486
  key: 0,
5482
5487
  class: "vt-timepicker__column"
5483
- }, S2 = { class: "vt-timepicker__options" }, D2 = ["disabled", "onClick"], H2 = {
5488
+ }, D2 = { class: "vt-timepicker__options" }, H2 = ["disabled", "onClick"], T2 = {
5484
5489
  key: 1,
5485
5490
  class: "vt-timepicker__column"
5486
- }, T2 = { class: "vt-timepicker__options" }, I2 = ["onClick"], B2 = {
5491
+ }, I2 = { class: "vt-timepicker__options" }, B2 = ["onClick"], E2 = {
5487
5492
  key: 1,
5488
5493
  class: "vt-timepicker__single-panel"
5489
- }, E2 = { class: "vt-timepicker__time-columns" }, A2 = { class: "vt-timepicker__column" }, P2 = { class: "vt-timepicker__options" }, R2 = ["disabled", "onClick"], j2 = { class: "vt-timepicker__column" }, Z2 = { class: "vt-timepicker__options" }, F2 = ["disabled", "onClick"], z2 = {
5494
+ }, A2 = { class: "vt-timepicker__time-columns" }, P2 = { class: "vt-timepicker__column" }, R2 = { class: "vt-timepicker__options" }, j2 = ["disabled", "onClick"], Z2 = { class: "vt-timepicker__column" }, F2 = { class: "vt-timepicker__options" }, z2 = ["disabled", "onClick"], Y2 = {
5490
5495
  key: 0,
5491
5496
  class: "vt-timepicker__column"
5492
- }, Y2 = { class: "vt-timepicker__options" }, O2 = ["disabled", "onClick"], N2 = {
5497
+ }, O2 = { class: "vt-timepicker__options" }, N2 = ["disabled", "onClick"], W2 = {
5493
5498
  key: 1,
5494
5499
  class: "vt-timepicker__column"
5495
- }, W2 = { class: "vt-timepicker__options" }, q2 = ["onClick"], U2 = { class: "vt-timepicker__actions" }, v1 = /* @__PURE__ */ ke({
5500
+ }, q2 = { class: "vt-timepicker__options" }, U2 = ["onClick"], K2 = { class: "vt-timepicker__actions" }, v1 = /* @__PURE__ */ ke({
5496
5501
  __name: "VTimePicker",
5497
5502
  props: {
5498
5503
  modelValue: {},
@@ -5525,12 +5530,12 @@ const Ke = new c5(), d5 = {
5525
5530
  }, v = S(/* @__PURE__ */ new Map()), h = x(() => t.type === "timerange"), m = (k) => {
5526
5531
  if (!k) return "";
5527
5532
  const { hour: b, minute: r, second: f } = k, q = t.format || (t.showSeconds ? t.use12Hours ? h1["12h"] : h1["24h"] : t.use12Hours ? h1["12h_no_seconds"] : h1["24h_no_seconds"]);
5528
- return X5(b, r, f, q, t.use12Hours);
5533
+ return G5(b, r, f, q, t.use12Hours);
5529
5534
  }, l = (k) => k ? k instanceof Date ? {
5530
5535
  hour: k.getHours(),
5531
5536
  minute: k.getMinutes(),
5532
5537
  second: k.getSeconds()
5533
- } : typeof k == "string" && M1(k) ? G5(k) : null : null, $ = (k, b = !1) => Q5(k, t.type, b), _ = x(() => t.modelValue ? h.value ? Array.isArray(t.modelValue) && t.modelValue.length === 2 ? [l(t.modelValue[0]), l(t.modelValue[1])] : [null, null] : l(t.modelValue) : h.value ? [null, null] : null), K = x(() => {
5538
+ } : typeof k == "string" && M1(k) ? J5(k) : null : null, $ = (k, b = !1) => X5(k, t.type, b), _ = x(() => t.modelValue ? h.value ? Array.isArray(t.modelValue) && t.modelValue.length === 2 ? [l(t.modelValue[0]), l(t.modelValue[1])] : [null, null] : l(t.modelValue) : h.value ? [null, null] : null), K = x(() => {
5534
5539
  if (h.value) {
5535
5540
  const [k, b] = _.value;
5536
5541
  return k && b ? [m(k), m(b)] : k ? [m(k), ""] : ["", ""];
@@ -5554,7 +5559,7 @@ const Ke = new c5(), d5 = {
5554
5559
  "vt-timepicker--range": h.value,
5555
5560
  "vt-timepicker--open": F.value
5556
5561
  }
5557
- ]), P = S(0), te = S(0), re = S(0), oe = S("AM"), he = S(0), ve = S(0), D = S(0), N = S("AM"), ue = x(() => {
5562
+ ]), P = S(0), te = S(0), re = S(0), oe = S("AM"), he = S(0), ve = S(0), D = S(0), N = S("AM"), ce = x(() => {
5558
5563
  const k = t.use12Hours ? 12 : 23, b = t.use12Hours ? 1 : 0, r = t.disabledHours ? t.disabledHours() : [], f = b1(b, k, t.hourStep, r);
5559
5564
  return t.hideDisabledOptions ? f.filter((q) => !q.disabled) : f;
5560
5565
  }), Ce = x(() => {
@@ -5568,9 +5573,9 @@ const Ke = new c5(), d5 = {
5568
5573
  parentVisible: le,
5569
5574
  dropdownPosition: J,
5570
5575
  show: X,
5571
- hide: ce,
5576
+ hide: ue,
5572
5577
  toggle: ze,
5573
- updatePosition: De
5578
+ updatePosition: He
5574
5579
  } = C1(d, p, {
5575
5580
  trigger: "click",
5576
5581
  placement: "bottom-start",
@@ -5580,7 +5585,7 @@ const Ke = new c5(), d5 = {
5580
5585
  hideOnClick: !1,
5581
5586
  onVisibleChange: (k) => {
5582
5587
  i("open-change", k), k ? Te(() => {
5583
- De(), setTimeout(() => {
5588
+ He(), setTimeout(() => {
5584
5589
  qe(), setTimeout(() => {
5585
5590
  Qe();
5586
5591
  }, 200);
@@ -5606,7 +5611,7 @@ const Ke = new c5(), d5 = {
5606
5611
  let n1;
5607
5612
  switch (b) {
5608
5613
  case "hour":
5609
- n1 = ue.value;
5614
+ n1 = ce.value;
5610
5615
  break;
5611
5616
  case "minute":
5612
5617
  n1 = Ce.value;
@@ -5659,12 +5664,12 @@ const Ke = new c5(), d5 = {
5659
5664
  };
5660
5665
  if (h.value) {
5661
5666
  const f = Array.from(k);
5662
- f[0] && b(f[0], P.value, ue.value), f[1] && b(f[1], te.value, Ce.value), t.showSeconds && f[2] && b(f[2], re.value, L.value);
5667
+ f[0] && b(f[0], P.value, ce.value), f[1] && b(f[1], te.value, Ce.value), t.showSeconds && f[2] && b(f[2], re.value, L.value);
5663
5668
  const q = t.showSeconds ? t.use12Hours ? 4 : 3 : t.use12Hours ? 3 : 2;
5664
- f[q] && b(f[q], he.value, ue.value), f[q + 1] && b(f[q + 1], ve.value, Ce.value), t.showSeconds && f[q + 2] && b(f[q + 2], D.value, L.value);
5669
+ f[q] && b(f[q], he.value, ce.value), f[q + 1] && b(f[q + 1], ve.value, Ce.value), t.showSeconds && f[q + 2] && b(f[q + 2], D.value, L.value);
5665
5670
  } else {
5666
5671
  const f = Array.from(k);
5667
- f[0] && b(f[0], P.value, ue.value), f[1] && b(f[1], te.value, Ce.value), t.showSeconds && f[2] && b(f[2], re.value, L.value);
5672
+ f[0] && b(f[0], P.value, ce.value), f[1] && b(f[1], te.value, Ce.value), t.showSeconds && f[2] && b(f[2], re.value, L.value);
5668
5673
  }
5669
5674
  });
5670
5675
  }, ge = (k, b, r = !1, f = !1, q) => {
@@ -5691,7 +5696,7 @@ const Ke = new c5(), d5 = {
5691
5696
  var r, f;
5692
5697
  if (!F.value) return;
5693
5698
  const b = k.target;
5694
- (r = c.value) != null && r.contains(b) || (f = p.value) != null && f.contains(b) || ce();
5699
+ (r = c.value) != null && r.contains(b) || (f = p.value) != null && f.contains(b) || ue();
5695
5700
  }, Z = () => {
5696
5701
  t.disabled || ze();
5697
5702
  }, z = () => {
@@ -5722,10 +5727,10 @@ const Ke = new c5(), d5 = {
5722
5727
  }
5723
5728
  i("update:modelValue", r), i("change", r);
5724
5729
  }
5725
- ce();
5730
+ ue();
5726
5731
  }
5727
5732
  }, je = () => {
5728
- ce();
5733
+ ue();
5729
5734
  }, Ae = (k) => {
5730
5735
  if (F.value)
5731
5736
  switch (k.key) {
@@ -5750,7 +5755,7 @@ const Ke = new c5(), d5 = {
5750
5755
  t.disabled || X();
5751
5756
  },
5752
5757
  close: () => {
5753
- ce();
5758
+ ue();
5754
5759
  },
5755
5760
  validate: $
5756
5761
  }), $e(
@@ -5815,11 +5820,11 @@ const Ke = new c5(), d5 = {
5815
5820
  onClick: Z,
5816
5821
  onFocus: z
5817
5822
  }, [
5818
- o("div", J5, [
5819
- o("div", e2, [
5823
+ o("div", e2, [
5824
+ o("div", t2, [
5820
5825
  Q(fe, { name: "clock" })
5821
5826
  ]),
5822
- A.value ? (s(), a("div", t2, [
5827
+ A.value ? (s(), a("div", n2, [
5823
5828
  h.value ? (s(), a(ne, { key: 0 }, [
5824
5829
  o("span", null, E(K.value[0]), 1),
5825
5830
  o("span", null, E(t.rangeSeparator), 1),
@@ -5827,7 +5832,7 @@ const Ke = new c5(), d5 = {
5827
5832
  ], 64)) : (s(), a(ne, { key: 1 }, [
5828
5833
  xe(E(K.value), 1)
5829
5834
  ], 64))
5830
- ])) : (s(), a("div", n2, [
5835
+ ])) : (s(), a("div", o2, [
5831
5836
  h.value ? (s(), a(ne, { key: 0 }, [
5832
5837
  o("span", null, E(t.startPlaceholder), 1),
5833
5838
  o("span", null, E(t.rangeSeparator), 1),
@@ -5836,7 +5841,7 @@ const Ke = new c5(), d5 = {
5836
5841
  xe(E(R.value), 1)
5837
5842
  ], 64))
5838
5843
  ])),
5839
- o("div", o2, [
5844
+ o("div", l2, [
5840
5845
  H.value ? (s(), a("button", {
5841
5846
  key: 0,
5842
5847
  disabled: t.disabled,
@@ -5845,7 +5850,7 @@ const Ke = new c5(), d5 = {
5845
5850
  onClick: Se(Pe, ["stop"])
5846
5851
  }, [
5847
5852
  Q(fe, { name: "close" })
5848
- ], 8, l2)) : O("", !0)
5853
+ ], 8, s2)) : O("", !0)
5849
5854
  ])
5850
5855
  ])
5851
5856
  ], 544),
@@ -5865,13 +5870,13 @@ const Ke = new c5(), d5 = {
5865
5870
  onMousedown: b[1] || (b[1] = Se(() => {
5866
5871
  }, ["prevent"]))
5867
5872
  }, [
5868
- h.value ? (s(), a("div", s2, [
5869
- o("div", r2, [
5873
+ h.value ? (s(), a("div", r2, [
5874
+ o("div", i2, [
5870
5875
  b[2] || (b[2] = o("div", { class: "vt-timepicker__panel-header" }, "Початковий час", -1)),
5871
- o("div", i2, [
5872
- o("div", a2, [
5873
- o("div", u2, [
5874
- (s(!0), a(ne, null, pe(ue.value, (r) => (s(), a("button", {
5876
+ o("div", a2, [
5877
+ o("div", u2, [
5878
+ o("div", c2, [
5879
+ (s(!0), a(ne, null, pe(ce.value, (r) => (s(), a("button", {
5875
5880
  key: `start-hour-${r.value}`,
5876
5881
  class: U([
5877
5882
  "vt-timepicker__option",
@@ -5882,11 +5887,11 @@ const Ke = new c5(), d5 = {
5882
5887
  ]),
5883
5888
  disabled: r.disabled,
5884
5889
  onClick: (f) => ge(r.value, "hour", !1, r.disabled, f)
5885
- }, E(r.label), 11, c2))), 128))
5890
+ }, E(r.label), 11, d2))), 128))
5886
5891
  ])
5887
5892
  ]),
5888
- o("div", d2, [
5889
- o("div", h2, [
5893
+ o("div", h2, [
5894
+ o("div", v2, [
5890
5895
  (s(!0), a(ne, null, pe(Ce.value, (r) => (s(), a("button", {
5891
5896
  key: `start-minute-${r.value}`,
5892
5897
  class: U([
@@ -5898,11 +5903,11 @@ const Ke = new c5(), d5 = {
5898
5903
  ]),
5899
5904
  disabled: r.disabled,
5900
5905
  onClick: (f) => ge(r.value, "minute", !1, r.disabled, f)
5901
- }, E(r.label), 11, v2))), 128))
5906
+ }, E(r.label), 11, p2))), 128))
5902
5907
  ])
5903
5908
  ]),
5904
- k.showSeconds ? (s(), a("div", p2, [
5905
- o("div", f2, [
5909
+ k.showSeconds ? (s(), a("div", f2, [
5910
+ o("div", C2, [
5906
5911
  (s(!0), a(ne, null, pe(L.value, (r) => (s(), a("button", {
5907
5912
  key: `start-second-${r.value}`,
5908
5913
  class: U([
@@ -5914,11 +5919,11 @@ const Ke = new c5(), d5 = {
5914
5919
  ]),
5915
5920
  disabled: r.disabled,
5916
5921
  onClick: (f) => ge(r.value, "second", !1, r.disabled, f)
5917
- }, E(r.label), 11, C2))), 128))
5922
+ }, E(r.label), 11, m2))), 128))
5918
5923
  ])
5919
5924
  ])) : O("", !0),
5920
- k.use12Hours ? (s(), a("div", m2, [
5921
- o("div", _2, [
5925
+ k.use12Hours ? (s(), a("div", _2, [
5926
+ o("div", g2, [
5922
5927
  (s(!0), a(ne, null, pe(B.value, (r) => (s(), a("button", {
5923
5928
  key: `start-period-${r}`,
5924
5929
  class: U([
@@ -5926,17 +5931,17 @@ const Ke = new c5(), d5 = {
5926
5931
  { "vt-timepicker__option--selected": oe.value === r }
5927
5932
  ]),
5928
5933
  onClick: (f) => ge(r, "period", !1, !1, f)
5929
- }, E(r), 11, g2))), 128))
5934
+ }, E(r), 11, w2))), 128))
5930
5935
  ])
5931
5936
  ])) : O("", !0)
5932
5937
  ])
5933
5938
  ]),
5934
- o("div", w2, [
5939
+ o("div", k2, [
5935
5940
  b[3] || (b[3] = o("div", { class: "vt-timepicker__panel-header" }, "Кінцевий час", -1)),
5936
- o("div", k2, [
5937
- o("div", b2, [
5938
- o("div", y2, [
5939
- (s(!0), a(ne, null, pe(ue.value, (r) => (s(), a("button", {
5941
+ o("div", b2, [
5942
+ o("div", y2, [
5943
+ o("div", M2, [
5944
+ (s(!0), a(ne, null, pe(ce.value, (r) => (s(), a("button", {
5940
5945
  key: `end-hour-${r.value}`,
5941
5946
  class: U([
5942
5947
  "vt-timepicker__option",
@@ -5947,11 +5952,11 @@ const Ke = new c5(), d5 = {
5947
5952
  ]),
5948
5953
  disabled: r.disabled,
5949
5954
  onClick: (f) => ge(r.value, "hour", !0, r.disabled, f)
5950
- }, E(r.label), 11, M2))), 128))
5955
+ }, E(r.label), 11, $2))), 128))
5951
5956
  ])
5952
5957
  ]),
5953
- o("div", $2, [
5954
- o("div", x2, [
5958
+ o("div", x2, [
5959
+ o("div", V2, [
5955
5960
  (s(!0), a(ne, null, pe(Ce.value, (r) => (s(), a("button", {
5956
5961
  key: `end-minute-${r.value}`,
5957
5962
  class: U([
@@ -5963,11 +5968,11 @@ const Ke = new c5(), d5 = {
5963
5968
  ]),
5964
5969
  disabled: r.disabled,
5965
5970
  onClick: (f) => ge(r.value, "minute", !0, r.disabled, f)
5966
- }, E(r.label), 11, V2))), 128))
5971
+ }, E(r.label), 11, L2))), 128))
5967
5972
  ])
5968
5973
  ]),
5969
- k.showSeconds ? (s(), a("div", L2, [
5970
- o("div", S2, [
5974
+ k.showSeconds ? (s(), a("div", S2, [
5975
+ o("div", D2, [
5971
5976
  (s(!0), a(ne, null, pe(L.value, (r) => (s(), a("button", {
5972
5977
  key: `end-second-${r.value}`,
5973
5978
  class: U([
@@ -5979,25 +5984,25 @@ const Ke = new c5(), d5 = {
5979
5984
  ]),
5980
5985
  disabled: r.disabled,
5981
5986
  onClick: (f) => ge(r.value, "second", !0, r.disabled, f)
5982
- }, E(r.label), 11, D2))), 128))
5987
+ }, E(r.label), 11, H2))), 128))
5983
5988
  ])
5984
5989
  ])) : O("", !0),
5985
- k.use12Hours ? (s(), a("div", H2, [
5986
- o("div", T2, [
5990
+ k.use12Hours ? (s(), a("div", T2, [
5991
+ o("div", I2, [
5987
5992
  (s(!0), a(ne, null, pe(B.value, (r) => (s(), a("button", {
5988
5993
  key: `end-period-${r}`,
5989
5994
  class: U(["vt-timepicker__option", { "vt-timepicker__option--selected": N.value === r }]),
5990
5995
  onClick: (f) => ge(r, "period", !0, !1, f)
5991
- }, E(r), 11, I2))), 128))
5996
+ }, E(r), 11, B2))), 128))
5992
5997
  ])
5993
5998
  ])) : O("", !0)
5994
5999
  ])
5995
6000
  ])
5996
- ])) : (s(), a("div", B2, [
5997
- o("div", E2, [
5998
- o("div", A2, [
5999
- o("div", P2, [
6000
- (s(!0), a(ne, null, pe(ue.value, (r) => (s(), a("button", {
6001
+ ])) : (s(), a("div", E2, [
6002
+ o("div", A2, [
6003
+ o("div", P2, [
6004
+ o("div", R2, [
6005
+ (s(!0), a(ne, null, pe(ce.value, (r) => (s(), a("button", {
6001
6006
  key: `hour-${r.value}`,
6002
6007
  class: U([
6003
6008
  "vt-timepicker__option",
@@ -6008,11 +6013,11 @@ const Ke = new c5(), d5 = {
6008
6013
  ]),
6009
6014
  disabled: r.disabled,
6010
6015
  onClick: (f) => ge(r.value, "hour", !1, r.disabled, f)
6011
- }, E(r.label), 11, R2))), 128))
6016
+ }, E(r.label), 11, j2))), 128))
6012
6017
  ])
6013
6018
  ]),
6014
- o("div", j2, [
6015
- o("div", Z2, [
6019
+ o("div", Z2, [
6020
+ o("div", F2, [
6016
6021
  (s(!0), a(ne, null, pe(Ce.value, (r) => (s(), a("button", {
6017
6022
  key: `minute-${r.value}`,
6018
6023
  class: U([
@@ -6024,11 +6029,11 @@ const Ke = new c5(), d5 = {
6024
6029
  ]),
6025
6030
  disabled: r.disabled,
6026
6031
  onClick: (f) => ge(r.value, "minute", !1, r.disabled, f)
6027
- }, E(r.label), 11, F2))), 128))
6032
+ }, E(r.label), 11, z2))), 128))
6028
6033
  ])
6029
6034
  ]),
6030
- k.showSeconds ? (s(), a("div", z2, [
6031
- o("div", Y2, [
6035
+ k.showSeconds ? (s(), a("div", Y2, [
6036
+ o("div", O2, [
6032
6037
  (s(!0), a(ne, null, pe(L.value, (r) => (s(), a("button", {
6033
6038
  key: `second-${r.value}`,
6034
6039
  class: U([
@@ -6040,21 +6045,21 @@ const Ke = new c5(), d5 = {
6040
6045
  ]),
6041
6046
  disabled: r.disabled,
6042
6047
  onClick: (f) => ge(r.value, "second", !1, r.disabled, f)
6043
- }, E(r.label), 11, O2))), 128))
6048
+ }, E(r.label), 11, N2))), 128))
6044
6049
  ])
6045
6050
  ])) : O("", !0),
6046
- k.use12Hours ? (s(), a("div", N2, [
6047
- o("div", W2, [
6051
+ k.use12Hours ? (s(), a("div", W2, [
6052
+ o("div", q2, [
6048
6053
  (s(!0), a(ne, null, pe(B.value, (r) => (s(), a("button", {
6049
6054
  key: `period-${r}`,
6050
6055
  class: U(["vt-timepicker__option", { "vt-timepicker__option--selected": oe.value === r }]),
6051
6056
  onClick: (f) => ge(r, "period", !1, !1, f)
6052
- }, E(r), 11, q2))), 128))
6057
+ }, E(r), 11, U2))), 128))
6053
6058
  ])
6054
6059
  ])) : O("", !0)
6055
6060
  ])
6056
6061
  ])),
6057
- o("div", U2, [
6062
+ o("div", K2, [
6058
6063
  Q(Xe, { onClick: je }, {
6059
6064
  default: Ve(() => b[4] || (b[4] = [
6060
6065
  xe("Скасувати", -1)
@@ -6080,40 +6085,40 @@ const Ke = new c5(), d5 = {
6080
6085
  ])) : O("", !0)
6081
6086
  ], 2));
6082
6087
  }
6083
- }), K2 = { class: "vt-datepicker__input" }, Q2 = { class: "vt-datepicker__icon" }, X2 = {
6088
+ }), Q2 = { class: "vt-datepicker__input" }, X2 = { class: "vt-datepicker__icon" }, G2 = {
6084
6089
  key: 0,
6085
6090
  class: "vt-datepicker__text"
6086
- }, G2 = { class: "vt-datepicker__separator" }, J2 = {
6091
+ }, J2 = { class: "vt-datepicker__separator" }, e6 = {
6087
6092
  key: 1,
6088
6093
  class: "vt-datepicker__placeholder"
6089
- }, e6 = { class: "vt-datepicker__separator" }, t6 = { class: "vt-datepicker__suffix" }, n6 = ["disabled"], o6 = {
6094
+ }, t6 = { class: "vt-datepicker__separator" }, n6 = { class: "vt-datepicker__suffix" }, o6 = ["disabled"], l6 = {
6090
6095
  key: 0,
6091
6096
  class: "vt-datepicker__dual-calendar"
6092
- }, l6 = { class: "vt-datepicker__calendar-panel" }, s6 = {
6097
+ }, s6 = { class: "vt-datepicker__calendar-panel" }, r6 = {
6093
6098
  key: 0,
6094
6099
  class: "vt-datepicker__time"
6095
- }, r6 = { class: "vt-datepicker__header" }, i6 = { class: "vt-datepicker__header-content" }, a6 = { class: "vt-datepicker__content" }, u6 = { class: "vt-datepicker__calendar" }, c6 = { class: "vt-datepicker__weekdays" }, d6 = { class: "vt-datepicker__dates" }, h6 = ["disabled", "onClick", "onMouseenter"], v6 = { class: "vt-datepicker__calendar-panel" }, p6 = {
6100
+ }, i6 = { class: "vt-datepicker__header" }, a6 = { class: "vt-datepicker__header-content" }, u6 = { class: "vt-datepicker__content" }, c6 = { class: "vt-datepicker__calendar" }, d6 = { class: "vt-datepicker__weekdays" }, h6 = { class: "vt-datepicker__dates" }, v6 = ["disabled", "onClick", "onMouseenter"], p6 = { class: "vt-datepicker__calendar-panel" }, f6 = {
6096
6101
  key: 0,
6097
6102
  class: "vt-datepicker__time"
6098
- }, f6 = { class: "vt-datepicker__header" }, C6 = { class: "vt-datepicker__header-content" }, m6 = { class: "vt-datepicker__content" }, _6 = { class: "vt-datepicker__calendar" }, g6 = { class: "vt-datepicker__weekdays" }, w6 = { class: "vt-datepicker__dates" }, k6 = ["disabled", "onClick", "onMouseenter"], b6 = { key: 1 }, y6 = {
6103
+ }, C6 = { class: "vt-datepicker__header" }, m6 = { class: "vt-datepicker__header-content" }, _6 = { class: "vt-datepicker__content" }, g6 = { class: "vt-datepicker__calendar" }, w6 = { class: "vt-datepicker__weekdays" }, k6 = { class: "vt-datepicker__dates" }, b6 = ["disabled", "onClick", "onMouseenter"], y6 = { key: 1 }, M6 = {
6099
6104
  key: 0,
6100
6105
  class: "vt-datepicker__time"
6101
- }, M6 = { class: "vt-datepicker__header" }, $6 = { class: "vt-datepicker__header-content" }, x6 = {
6106
+ }, $6 = { class: "vt-datepicker__header" }, x6 = { class: "vt-datepicker__header-content" }, V6 = {
6102
6107
  key: 2,
6103
6108
  class: "vt-datepicker__header-text"
6104
- }, V6 = { class: "vt-datepicker__content" }, L6 = {
6109
+ }, L6 = { class: "vt-datepicker__content" }, S6 = {
6105
6110
  key: 0,
6106
6111
  class: "vt-datepicker__calendar"
6107
- }, S6 = { class: "vt-datepicker__weekdays" }, D6 = { class: "vt-datepicker__dates" }, H6 = ["onClick", "onMouseenter"], T6 = {
6112
+ }, D6 = { class: "vt-datepicker__weekdays" }, H6 = { class: "vt-datepicker__dates" }, T6 = ["onClick", "onMouseenter"], I6 = {
6108
6113
  key: 1,
6109
6114
  class: "vt-datepicker__months"
6110
- }, I6 = ["onClick", "onMouseenter"], B6 = {
6115
+ }, B6 = ["onClick", "onMouseenter"], E6 = {
6111
6116
  key: 2,
6112
6117
  class: "vt-datepicker__years"
6113
- }, E6 = ["onClick", "onMouseenter"], A6 = {
6118
+ }, A6 = ["onClick", "onMouseenter"], P6 = {
6114
6119
  key: 0,
6115
6120
  class: "vt-datepicker__actions"
6116
- }, P6 = /* @__PURE__ */ ke({
6121
+ }, R6 = /* @__PURE__ */ ke({
6117
6122
  __name: "VDatePicker",
6118
6123
  props: {
6119
6124
  modelValue: {},
@@ -6165,13 +6170,13 @@ const Ke = new c5(), d5 = {
6165
6170
  hasDisplayValue: P,
6166
6171
  formatOutput: te,
6167
6172
  validate: re
6168
- } = K5($, _, K, A), {
6173
+ } = Q5($, _, K, A), {
6169
6174
  calendarDates: oe,
6170
6175
  monthsInYear: he,
6171
6176
  yearsInDecade: ve,
6172
6177
  decadeRange: D,
6173
6178
  isDateInCurrentMonth: N,
6174
- isToday: ue,
6179
+ isToday: ce,
6175
6180
  isSameDate: Ce,
6176
6181
  navigateMonth: L,
6177
6182
  navigateYear: B,
@@ -6180,7 +6185,7 @@ const Ke = new c5(), d5 = {
6180
6185
  calendarDates: le,
6181
6186
  isDateInCurrentMonth: J,
6182
6187
  navigateYear: X,
6183
- navigateDecade: ce
6188
+ navigateDecade: ue
6184
6189
  } = A1(l.rightCurrentDate), ze = (y) => {
6185
6190
  switch (y) {
6186
6191
  case "year":
@@ -6192,7 +6197,7 @@ const Ke = new c5(), d5 = {
6192
6197
  default:
6193
6198
  return "date";
6194
6199
  }
6195
- }, De = x(() => t.type === "datetime" || t.type === "datetimerange"), Ie = x(() => De.value), {
6200
+ }, He = x(() => t.type === "datetime" || t.type === "datetimerange"), Ie = x(() => He.value), {
6196
6201
  visible: ye,
6197
6202
  parentVisible: Qe,
6198
6203
  dropdownPosition: We,
@@ -6342,10 +6347,10 @@ const Ke = new c5(), d5 = {
6342
6347
  if (!(t.disabled || !y) && je(y, V, w))
6343
6348
  if (H.value) {
6344
6349
  if (!l.startDate.value || l.startDate.value && l.endDate.value)
6345
- l.startDate.value = new Date(y), l.endDate.value = null, l.isSelectingEnd.value = !0, l.hoverDate.value = null, De.value && (l.startTime.value = "00:00:00", l.endTime.value = null);
6350
+ l.startDate.value = new Date(y), l.endDate.value = null, l.isSelectingEnd.value = !0, l.hoverDate.value = null, He.value && (l.startTime.value = "00:00:00", l.endTime.value = null);
6346
6351
  else if (l.startDate.value && !l.endDate.value) {
6347
6352
  const T = new Date(l.startDate.value), ie = new Date(y);
6348
- if (ie >= T ? l.endDate.value = ie : (l.endDate.value = T, l.startDate.value = ie), De.value && (l.endTime.value = "23:59:59"), l.isSelectingEnd.value = !1, l.hoverDate.value = null, !De.value) {
6353
+ if (ie >= T ? l.endDate.value = ie : (l.endDate.value = T, l.startDate.value = ie), He.value && (l.endTime.value = "23:59:59"), l.isSelectingEnd.value = !1, l.hoverDate.value = null, !He.value) {
6349
6354
  const me = [l.startDate.value, l.endDate.value];
6350
6355
  try {
6351
6356
  const Fe = te(me);
@@ -6356,7 +6361,7 @@ const Ke = new c5(), d5 = {
6356
6361
  ge();
6357
6362
  }
6358
6363
  }
6359
- } else if (De.value)
6364
+ } else if (He.value)
6360
6365
  l.startDate.value = new Date(y), l.startTime.value = "00:00:00";
6361
6366
  else
6362
6367
  try {
@@ -6380,7 +6385,7 @@ const Ke = new c5(), d5 = {
6380
6385
  }
6381
6386
  }
6382
6387
  }, Oe = () => {
6383
- if (De.value) {
6388
+ if (He.value) {
6384
6389
  if (H.value && l.startDate.value && l.endDate.value) {
6385
6390
  const y = k(l.startDate.value, l.startTime.value || "00:00:00"), V = k(l.endDate.value, l.endTime.value || "23:59:59"), w = [y, V];
6386
6391
  try {
@@ -6431,13 +6436,13 @@ const Ke = new c5(), d5 = {
6431
6436
  }, rt = () => {
6432
6437
  H.value && l.isSelectingEnd.value && (l.hoverDate.value = null);
6433
6438
  }, V1 = () => {
6434
- l.viewMode.value === "year" ? (F("prev"), ce("prev")) : l.viewMode.value === "month" ? (B("prev"), X("prev")) : (L("prev"), l.rightCurrentDate.value = new Date(
6439
+ l.viewMode.value === "year" ? (F("prev"), ue("prev")) : l.viewMode.value === "month" ? (B("prev"), X("prev")) : (L("prev"), l.rightCurrentDate.value = new Date(
6435
6440
  l.currentDate.value.getFullYear(),
6436
6441
  l.currentDate.value.getMonth() + 1,
6437
6442
  1
6438
6443
  ));
6439
6444
  }, L1 = () => {
6440
- l.viewMode.value === "year" ? (F("next"), ce("next")) : l.viewMode.value === "month" ? (B("next"), X("next")) : (L("next"), l.rightCurrentDate.value = new Date(
6445
+ l.viewMode.value === "year" ? (F("next"), ue("next")) : l.viewMode.value === "month" ? (B("next"), X("next")) : (L("next"), l.rightCurrentDate.value = new Date(
6441
6446
  l.currentDate.value.getFullYear(),
6442
6447
  l.currentDate.value.getMonth() + 1,
6443
6448
  1
@@ -6449,14 +6454,14 @@ const Ke = new c5(), d5 = {
6449
6454
  if (y) {
6450
6455
  if (H.value && Array.isArray(y) && y.length === 2)
6451
6456
  try {
6452
- l.startDate.value = y[0] instanceof Date ? new Date(y[0]) : new Date(y[0]), l.endDate.value = y[1] instanceof Date ? new Date(y[1]) : new Date(y[1]), De.value && (l.startTime.value = b(l.startDate.value), l.endTime.value = b(l.endDate.value));
6457
+ l.startDate.value = y[0] instanceof Date ? new Date(y[0]) : new Date(y[0]), l.endDate.value = y[1] instanceof Date ? new Date(y[1]) : new Date(y[1]), He.value && (l.startTime.value = b(l.startDate.value), l.endTime.value = b(l.endDate.value));
6453
6458
  } catch {
6454
6459
  console.warn("Invalid date format in modelValue:", y), l.startDate.value = null, l.endDate.value = null;
6455
6460
  }
6456
6461
  else if (!H.value && y !== null)
6457
6462
  try {
6458
6463
  let V = null;
6459
- y instanceof Date ? V = y : (typeof y == "string" || typeof y == "number") && (V = new Date(y)), V && !isNaN(V.getTime()) ? (l.startDate.value = V, De.value && (l.startTime.value = b(V))) : l.startDate.value = null;
6464
+ y instanceof Date ? V = y : (typeof y == "string" || typeof y == "number") && (V = new Date(y)), V && !isNaN(V.getTime()) ? (l.startDate.value = V, He.value && (l.startTime.value = b(V))) : l.startDate.value = null;
6460
6465
  } catch {
6461
6466
  console.warn("Invalid date format in modelValue:", y), l.startDate.value = null;
6462
6467
  }
@@ -6513,30 +6518,30 @@ const Ke = new c5(), d5 = {
6513
6518
  onClick: f,
6514
6519
  onFocus: q
6515
6520
  }, [
6516
- o("div", K2, [
6517
- o("div", Q2, [
6521
+ o("div", Q2, [
6522
+ o("div", X2, [
6518
6523
  Q(fe, {
6519
- name: De.value ? "clock" : "calendar"
6524
+ name: He.value ? "clock" : "calendar"
6520
6525
  }, null, 8, ["name"])
6521
6526
  ]),
6522
- j(P) ? (s(), a("div", X2, [
6527
+ j(P) ? (s(), a("div", G2, [
6523
6528
  j(H) ? (s(), a(ne, { key: 0 }, [
6524
6529
  o("span", null, E(j(G)[0]), 1),
6525
- o("span", G2, E(t.rangeSeparator), 1),
6530
+ o("span", J2, E(t.rangeSeparator), 1),
6526
6531
  o("span", null, E(j(G)[1]), 1)
6527
6532
  ], 64)) : (s(), a(ne, { key: 1 }, [
6528
6533
  xe(E(j(G)), 1)
6529
6534
  ], 64))
6530
- ])) : (s(), a("div", J2, [
6535
+ ])) : (s(), a("div", e6, [
6531
6536
  j(H) ? (s(), a(ne, { key: 0 }, [
6532
6537
  o("span", null, E(t.startPlaceholder), 1),
6533
- o("span", e6, E(t.rangeSeparator), 1),
6538
+ o("span", t6, E(t.rangeSeparator), 1),
6534
6539
  o("span", null, E(t.endPlaceholder), 1)
6535
6540
  ], 64)) : (s(), a(ne, { key: 1 }, [
6536
6541
  xe(E(Me.value), 1)
6537
6542
  ], 64))
6538
6543
  ])),
6539
- o("div", t6, [
6544
+ o("div", n6, [
6540
6545
  z.value ? (s(), a("button", {
6541
6546
  key: 0,
6542
6547
  disabled: t.disabled,
@@ -6545,7 +6550,7 @@ const Ke = new c5(), d5 = {
6545
6550
  onClick: Se(_e, ["stop"])
6546
6551
  }, [
6547
6552
  Q(fe, { name: "close" })
6548
- ], 8, n6)) : O("", !0)
6553
+ ], 8, o6)) : O("", !0)
6549
6554
  ])
6550
6555
  ])
6551
6556
  ], 544),
@@ -6568,9 +6573,9 @@ const Ke = new c5(), d5 = {
6568
6573
  o("div", {
6569
6574
  class: U([{ "vt-datepicker__date-section--with-time": Ie.value }, "vt-datepicker__date-section"])
6570
6575
  }, [
6571
- Re.value ? (s(), a("div", o6, [
6572
- o("div", l6, [
6573
- Ie.value ? (s(), a("div", s6, [
6576
+ Re.value ? (s(), a("div", l6, [
6577
+ o("div", s6, [
6578
+ Ie.value ? (s(), a("div", r6, [
6574
6579
  Q(v1, {
6575
6580
  ref_key: "startTimePickerRef",
6576
6581
  ref: C,
@@ -6591,14 +6596,14 @@ const Ke = new c5(), d5 = {
6591
6596
  onChange: V[1] || (V[1] = (w) => Ze(w, !1))
6592
6597
  }, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
6593
6598
  ])) : O("", !0),
6594
- o("div", r6, [
6599
+ o("div", i6, [
6595
6600
  o("button", {
6596
6601
  class: "vt-datepicker__nav-btn",
6597
6602
  onClick: V1
6598
6603
  }, [
6599
6604
  Q(fe, { name: "arrowLeft" })
6600
6605
  ]),
6601
- o("div", i6, [
6606
+ o("div", a6, [
6602
6607
  o("button", {
6603
6608
  class: "vt-datepicker__header-btn",
6604
6609
  onClick: V[2] || (V[2] = (w) => l.viewMode.value = "month")
@@ -6606,15 +6611,15 @@ const Ke = new c5(), d5 = {
6606
6611
  ]),
6607
6612
  V[12] || (V[12] = o("div", { class: "vt-datepicker__nav-spacer" }, null, -1))
6608
6613
  ]),
6609
- o("div", a6, [
6610
- o("div", u6, [
6611
- o("div", c6, [
6614
+ o("div", u6, [
6615
+ o("div", c6, [
6616
+ o("div", d6, [
6612
6617
  (s(!0), a(ne, null, pe(j(k1), (w, T) => (s(), a("span", {
6613
6618
  key: `${T}_${w}`,
6614
6619
  class: "vt-datepicker__weekday"
6615
6620
  }, E(w), 1))), 128))
6616
6621
  ]),
6617
- o("div", d6, [
6622
+ o("div", h6, [
6618
6623
  (s(!0), a(ne, null, pe(j(oe), (w) => (s(), a("button", {
6619
6624
  key: w.getTime(),
6620
6625
  class: U([
@@ -6622,7 +6627,7 @@ const Ke = new c5(), d5 = {
6622
6627
  {
6623
6628
  "vt-datepicker__date--selected": Ae(w, !0, !1),
6624
6629
  "vt-datepicker__date--other-month": !j(N)(w),
6625
- "vt-datepicker__date--today": j(ue)(w),
6630
+ "vt-datepicker__date--today": j(ce)(w),
6626
6631
  "vt-datepicker__date--in-range": I(w, !0, !1) && !Ae(w, !0, !1),
6627
6632
  "vt-datepicker__date--range-start": j(H) && l.startDate.value && j(Ce)(w, l.startDate.value) && j(N)(w),
6628
6633
  "vt-datepicker__date--range-end": j(H) && l.endDate.value && j(Ce)(w, l.endDate.value) && j(N)(w),
@@ -6633,13 +6638,13 @@ const Ke = new c5(), d5 = {
6633
6638
  onClick: (T) => ae(w, !0, !1),
6634
6639
  onMouseenter: (T) => be(w, !0, !1),
6635
6640
  onMouseleave: Le
6636
- }, E(w.getDate()), 43, h6))), 128))
6641
+ }, E(w.getDate()), 43, v6))), 128))
6637
6642
  ])
6638
6643
  ])
6639
6644
  ])
6640
6645
  ]),
6641
- o("div", v6, [
6642
- Ie.value ? (s(), a("div", p6, [
6646
+ o("div", p6, [
6647
+ Ie.value ? (s(), a("div", f6, [
6643
6648
  Q(v1, {
6644
6649
  ref_key: "endTimePickerRef",
6645
6650
  ref: v,
@@ -6660,9 +6665,9 @@ const Ke = new c5(), d5 = {
6660
6665
  onChange: V[4] || (V[4] = (w) => Ze(w, !0))
6661
6666
  }, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
6662
6667
  ])) : O("", !0),
6663
- o("div", f6, [
6668
+ o("div", C6, [
6664
6669
  V[13] || (V[13] = o("div", { class: "vt-datepicker__nav-spacer" }, null, -1)),
6665
- o("div", C6, [
6670
+ o("div", m6, [
6666
6671
  o("button", {
6667
6672
  class: "vt-datepicker__header-btn",
6668
6673
  onClick: V[5] || (V[5] = (w) => l.viewMode.value = "month")
@@ -6675,15 +6680,15 @@ const Ke = new c5(), d5 = {
6675
6680
  Q(fe, { name: "arrowRight" })
6676
6681
  ])
6677
6682
  ]),
6678
- o("div", m6, [
6679
- o("div", _6, [
6680
- o("div", g6, [
6683
+ o("div", _6, [
6684
+ o("div", g6, [
6685
+ o("div", w6, [
6681
6686
  (s(!0), a(ne, null, pe(j(k1), (w, T) => (s(), a("span", {
6682
6687
  key: `${T}_${w}`,
6683
6688
  class: "vt-datepicker__weekday"
6684
6689
  }, E(w), 1))), 128))
6685
6690
  ]),
6686
- o("div", w6, [
6691
+ o("div", k6, [
6687
6692
  (s(!0), a(ne, null, pe(j(le), (w) => (s(), a("button", {
6688
6693
  key: w.getTime(),
6689
6694
  class: U([
@@ -6691,7 +6696,7 @@ const Ke = new c5(), d5 = {
6691
6696
  {
6692
6697
  "vt-datepicker__date--selected": Ae(w, !1, !0),
6693
6698
  "vt-datepicker__date--other-month": !j(J)(w),
6694
- "vt-datepicker__date--today": j(ue)(w),
6699
+ "vt-datepicker__date--today": j(ce)(w),
6695
6700
  "vt-datepicker__date--in-range": I(w, !1, !0) && !Ae(w, !1, !0),
6696
6701
  "vt-datepicker__date--range-start": j(H) && l.startDate.value && j(Ce)(w, l.startDate.value) && j(J)(w),
6697
6702
  "vt-datepicker__date--range-end": j(H) && l.endDate.value && j(Ce)(w, l.endDate.value) && j(J)(w),
@@ -6702,13 +6707,13 @@ const Ke = new c5(), d5 = {
6702
6707
  onClick: (T) => ae(w, !1, !0),
6703
6708
  onMouseenter: (T) => be(w, !1, !0),
6704
6709
  onMouseleave: Le
6705
- }, E(w.getDate()), 43, k6))), 128))
6710
+ }, E(w.getDate()), 43, b6))), 128))
6706
6711
  ])
6707
6712
  ])
6708
6713
  ])
6709
6714
  ])
6710
- ])) : (s(), a("div", b6, [
6711
- Ie.value ? (s(), a("div", y6, [
6715
+ ])) : (s(), a("div", y6, [
6716
+ Ie.value ? (s(), a("div", M6, [
6712
6717
  Q(v1, {
6713
6718
  ref_key: "startTimePickerRef",
6714
6719
  ref: C,
@@ -6729,14 +6734,14 @@ const Ke = new c5(), d5 = {
6729
6734
  onChange: V[7] || (V[7] = (w) => Ze(w, !1))
6730
6735
  }, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
6731
6736
  ])) : O("", !0),
6732
- o("div", M6, [
6737
+ o("div", $6, [
6733
6738
  o("button", {
6734
6739
  class: "vt-datepicker__nav-btn",
6735
6740
  onClick: V1
6736
6741
  }, [
6737
6742
  Q(fe, { name: "arrowLeft" })
6738
6743
  ]),
6739
- o("div", $6, [
6744
+ o("div", x6, [
6740
6745
  l.viewMode.value === "date" ? (s(), a("button", {
6741
6746
  key: 0,
6742
6747
  class: "vt-datepicker__header-btn",
@@ -6745,7 +6750,7 @@ const Ke = new c5(), d5 = {
6745
6750
  key: 1,
6746
6751
  class: "vt-datepicker__header-btn",
6747
6752
  onClick: V[9] || (V[9] = (w) => l.viewMode.value = "year")
6748
- }, E(l.currentDate.value.getFullYear()), 1)) : (s(), a("span", x6, E(j(D)), 1))
6753
+ }, E(l.currentDate.value.getFullYear()), 1)) : (s(), a("span", V6, E(j(D)), 1))
6749
6754
  ]),
6750
6755
  o("button", {
6751
6756
  class: "vt-datepicker__nav-btn",
@@ -6754,15 +6759,15 @@ const Ke = new c5(), d5 = {
6754
6759
  Q(fe, { name: "arrowRight" })
6755
6760
  ])
6756
6761
  ]),
6757
- o("div", V6, [
6758
- l.viewMode.value === "date" ? (s(), a("div", L6, [
6759
- o("div", S6, [
6762
+ o("div", L6, [
6763
+ l.viewMode.value === "date" ? (s(), a("div", S6, [
6764
+ o("div", D6, [
6760
6765
  (s(!0), a(ne, null, pe(j(k1), (w, T) => (s(), a("span", {
6761
6766
  key: `${T}_${w}`,
6762
6767
  class: "vt-datepicker__weekday"
6763
6768
  }, E(w), 1))), 128))
6764
6769
  ]),
6765
- o("div", D6, [
6770
+ o("div", H6, [
6766
6771
  (s(!0), a(ne, null, pe(j(oe), (w) => (s(), a("button", {
6767
6772
  key: w.getTime(),
6768
6773
  class: U([
@@ -6770,7 +6775,7 @@ const Ke = new c5(), d5 = {
6770
6775
  {
6771
6776
  "vt-datepicker__date--selected": Ae(w),
6772
6777
  "vt-datepicker__date--other-month": !j(N)(w),
6773
- "vt-datepicker__date--today": j(ue)(w),
6778
+ "vt-datepicker__date--today": j(ce)(w),
6774
6779
  "vt-datepicker__date--in-range": I(w) && !Ae(w),
6775
6780
  "vt-datepicker__date--range-start": j(H) && l.startDate.value && j(Ce)(w, l.startDate.value),
6776
6781
  "vt-datepicker__date--range-end": j(H) && l.endDate.value && j(Ce)(w, l.endDate.value)
@@ -6779,9 +6784,9 @@ const Ke = new c5(), d5 = {
6779
6784
  onClick: (T) => ae(w),
6780
6785
  onMouseenter: (T) => be(w),
6781
6786
  onMouseleave: Le
6782
- }, E(w.getDate()), 43, H6))), 128))
6787
+ }, E(w.getDate()), 43, T6))), 128))
6783
6788
  ])
6784
- ])) : l.viewMode.value === "month" ? (s(), a("div", T6, [
6789
+ ])) : l.viewMode.value === "month" ? (s(), a("div", I6, [
6785
6790
  (s(!0), a(ne, null, pe(j(he), (w, T) => (s(), a("button", {
6786
6791
  key: w.name,
6787
6792
  class: U([
@@ -6795,8 +6800,8 @@ const Ke = new c5(), d5 = {
6795
6800
  onClick: (ie) => n1(T, !1),
6796
6801
  onMouseenter: (ie) => d1(T, l.currentDate.value),
6797
6802
  onMouseleave: m1
6798
- }, E(w.name), 43, I6))), 128))
6799
- ])) : (s(), a("div", B6, [
6803
+ }, E(w.name), 43, B6))), 128))
6804
+ ])) : (s(), a("div", E6, [
6800
6805
  (s(!0), a(ne, null, pe(j(ve), (w) => (s(), a("button", {
6801
6806
  key: w.year,
6802
6807
  class: U([
@@ -6810,12 +6815,12 @@ const Ke = new c5(), d5 = {
6810
6815
  onClick: (T) => lt(w.year),
6811
6816
  onMouseenter: (T) => st(w.year),
6812
6817
  onMouseleave: rt
6813
- }, E(w.year), 43, E6))), 128))
6818
+ }, E(w.year), 43, A6))), 128))
6814
6819
  ]))
6815
6820
  ])
6816
6821
  ]))
6817
6822
  ], 2),
6818
- Ie.value ? (s(), a("div", A6, [
6823
+ Ie.value ? (s(), a("div", P6, [
6819
6824
  Q(Xe, { onClick: Ue }, {
6820
6825
  default: Ve(() => V[14] || (V[14] = [
6821
6826
  xe("Скасувати", -1)
@@ -6842,7 +6847,7 @@ const Ke = new c5(), d5 = {
6842
6847
  ])) : O("", !0)
6843
6848
  ], 2));
6844
6849
  }
6845
- }), R6 = { class: "v-collapse" }, j6 = /* @__PURE__ */ ke({
6850
+ }), j6 = { class: "v-collapse" }, Z6 = /* @__PURE__ */ ke({
6846
6851
  __name: "VCollapse",
6847
6852
  props: {
6848
6853
  modelValue: {},
@@ -6866,11 +6871,11 @@ const Ke = new c5(), d5 = {
6866
6871
  h > -1 ? v.splice(h, 1) : v.push(C), t("update:modelValue", v), t("change", v);
6867
6872
  }
6868
6873
  });
6869
- return u1("collapseContext", p), (C, v) => (s(), a("div", R6, [
6870
- He(C.$slots, "default")
6874
+ return u1("collapseContext", p), (C, v) => (s(), a("div", j6, [
6875
+ De(C.$slots, "default")
6871
6876
  ]));
6872
6877
  }
6873
- }), Z6 = { class: "v-collapse-item__title" }, F6 = { class: "v-collapse-item__wrap" }, z6 = { class: "v-collapse-item__content" }, Y6 = /* @__PURE__ */ ke({
6878
+ }), F6 = { class: "v-collapse-item__title" }, z6 = { class: "v-collapse-item__wrap" }, Y6 = { class: "v-collapse-item__content" }, O6 = /* @__PURE__ */ ke({
6874
6879
  __name: "VCollapseItem",
6875
6880
  props: {
6876
6881
  title: {},
@@ -6904,8 +6909,8 @@ const Ke = new c5(), d5 = {
6904
6909
  class: U([{ "is-active": c.value }, "v-collapse-item__header"]),
6905
6910
  onClick: d
6906
6911
  }, [
6907
- o("div", Z6, [
6908
- He(m.$slots, "title", {
6912
+ o("div", F6, [
6913
+ De(m.$slots, "title", {
6909
6914
  isActive: c.value,
6910
6915
  title: m.title
6911
6916
  }, () => [
@@ -6926,9 +6931,9 @@ const Ke = new c5(), d5 = {
6926
6931
  onAfterLeave: h
6927
6932
  }, {
6928
6933
  default: Ve(() => [
6929
- o1(o("div", F6, [
6930
- o("div", z6, [
6931
- He(m.$slots, "default")
6934
+ o1(o("div", z6, [
6935
+ o("div", Y6, [
6936
+ De(m.$slots, "default")
6932
6937
  ])
6933
6938
  ], 512), [
6934
6939
  [K1, c.value]
@@ -6938,7 +6943,7 @@ const Ke = new c5(), d5 = {
6938
6943
  })
6939
6944
  ], 2));
6940
6945
  }
6941
- }), O6 = { class: "vt-tabs" }, N6 = { class: "vt-tabs__nav" }, W6 = ["onClick"], q6 = { key: 1 }, U6 = ["onClick"], K6 = { class: "vt-tabs__content" }, Q6 = /* @__PURE__ */ ke({
6946
+ }), N6 = { class: "vt-tabs" }, W6 = { class: "vt-tabs__nav" }, q6 = ["onClick"], U6 = { key: 1 }, K6 = ["onClick"], Q6 = { class: "vt-tabs__content" }, X6 = /* @__PURE__ */ ke({
6942
6947
  __name: "VTabs",
6943
6948
  props: {
6944
6949
  modelValue: { default: void 0 }
@@ -6973,8 +6978,8 @@ const Ke = new c5(), d5 = {
6973
6978
  addTab: p,
6974
6979
  removeTab: C,
6975
6980
  selectTab: v
6976
- }), (m, l) => (s(), a("div", O6, [
6977
- o("div", N6, [
6981
+ }), (m, l) => (s(), a("div", N6, [
6982
+ o("div", W6, [
6978
6983
  (s(!0), a(ne, null, pe(d.value, ($) => (s(), a("div", {
6979
6984
  key: $.name,
6980
6985
  class: U([{
@@ -6992,7 +6997,7 @@ const Ke = new c5(), d5 = {
6992
6997
  name: $.icon,
6993
6998
  class: "vt-tab-icon"
6994
6999
  }, null, 8, ["name"])) : O("", !0),
6995
- $.label ? (s(), a("span", q6, E($.label), 1)) : O("", !0)
7000
+ $.label ? (s(), a("span", U6, E($.label), 1)) : O("", !0)
6996
7001
  ], 64)),
6997
7002
  $.closable ? (s(), a("span", {
6998
7003
  key: 2,
@@ -7000,15 +7005,15 @@ const Ke = new c5(), d5 = {
7000
7005
  onClick: Se((_) => C($.name), ["stop"])
7001
7006
  }, [
7002
7007
  Q(fe, { name: "close" })
7003
- ], 8, U6)) : O("", !0)
7004
- ], 10, W6))), 128))
7008
+ ], 8, K6)) : O("", !0)
7009
+ ], 10, q6))), 128))
7005
7010
  ]),
7006
- o("div", K6, [
7007
- He(m.$slots, "default")
7011
+ o("div", Q6, [
7012
+ De(m.$slots, "default")
7008
7013
  ])
7009
7014
  ]));
7010
7015
  }
7011
- }), X6 = { class: "vt-tabs__pane" }, G6 = /* @__PURE__ */ ke({
7016
+ }), G6 = { class: "vt-tabs__pane" }, J6 = /* @__PURE__ */ ke({
7012
7017
  __name: "VTabItem",
7013
7018
  props: {
7014
7019
  label: { default: "" },
@@ -7034,8 +7039,8 @@ const Ke = new c5(), d5 = {
7034
7039
  });
7035
7040
  }), W1(() => {
7036
7041
  u.removeTab(e.name);
7037
- }), (i, c) => o1((s(), a("div", X6, [
7038
- He(i.$slots, "default")
7042
+ }), (i, c) => o1((s(), a("div", G6, [
7043
+ De(i.$slots, "default")
7039
7044
  ], 512)), [
7040
7045
  [K1, t.value]
7041
7046
  ]);
@@ -7131,7 +7136,7 @@ const Ke = new c5(), d5 = {
7131
7136
  });
7132
7137
  }, Z1 = (n) => {
7133
7138
  n.style.opacity = "0", n.style.visibility = "hidden";
7134
- }, F1 = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, z1 = (n) => !!n.closest(".vt-table, table"), J6 = {
7139
+ }, F1 = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, z1 = (n) => !!n.closest(".vt-table, table"), e0 = {
7135
7140
  mounted(n, e) {
7136
7141
  var C;
7137
7142
  const u = (C = e.value) == null ? void 0 : C.trim();
@@ -7168,7 +7173,7 @@ const Ke = new c5(), d5 = {
7168
7173
  beforeUnmount(n) {
7169
7174
  n.__tooltipEl && n.__tooltipEl.parentElement && (n.__tooltipEl.parentElement.removeChild(n.__tooltipEl), delete n.__tooltipEl), n.__mouseenterHandler && (n.removeEventListener("mouseenter", n.__mouseenterHandler), delete n.__mouseenterHandler), n.__mouseleaveHandler && (n.removeEventListener("mouseleave", n.__mouseleaveHandler), delete n.__mouseleaveHandler), n.__scrollHandler && (window.removeEventListener("scroll", n.__scrollHandler, !0), window.removeEventListener("resize", n.__scrollHandler), delete n.__scrollHandler);
7170
7175
  }
7171
- }, e0 = {
7176
+ }, t0 = {
7172
7177
  mounted(n, e) {
7173
7178
  j(e.value) && Y1(n);
7174
7179
  },
@@ -7191,10 +7196,10 @@ function O1(n) {
7191
7196
  const e = n._loaderEl;
7192
7197
  e && (e.remove(), delete n._loaderEl);
7193
7198
  }
7194
- const t0 = { class: "vt-message-container" }, n0 = { class: "vt-message-icon" }, o0 = { class: "vt-message-content" }, l0 = ["innerHTML"], s0 = {
7199
+ const n0 = { class: "vt-message-container" }, o0 = { class: "vt-message-icon" }, l0 = { class: "vt-message-content" }, s0 = ["innerHTML"], r0 = {
7195
7200
  key: 1,
7196
7201
  class: "vt-message-text"
7197
- }, r0 = ["onClick"], i0 = /* @__PURE__ */ ke({
7202
+ }, i0 = ["onClick"], a0 = /* @__PURE__ */ ke({
7198
7203
  __name: "VMessage",
7199
7204
  setup(n, { expose: e }) {
7200
7205
  const u = S([]);
@@ -7224,7 +7229,7 @@ const t0 = { class: "vt-message-container" }, n0 = { class: "vt-message-icon" },
7224
7229
  addMessage: c,
7225
7230
  removeMessage: d
7226
7231
  }), (p, C) => (s(), we(l1, { to: "body" }, [
7227
- o("div", t0, [
7232
+ o("div", n0, [
7228
7233
  Q(ut, {
7229
7234
  name: "vt-message",
7230
7235
  tag: "div"
@@ -7238,18 +7243,18 @@ const t0 = { class: "vt-message-container" }, n0 = { class: "vt-message-icon" },
7238
7243
  { "vt-message-item--closable": v.showClose }
7239
7244
  ])
7240
7245
  }, [
7241
- o("div", n0, [
7246
+ o("div", o0, [
7242
7247
  Q(fe, {
7243
7248
  color: v.type === "primary" ? "#00475A" : "",
7244
7249
  name: i(v.type)
7245
7250
  }, null, 8, ["color", "name"])
7246
7251
  ]),
7247
- o("div", o0, [
7252
+ o("div", l0, [
7248
7253
  v.dangerouslyUseHTMLString ? (s(), a("div", {
7249
7254
  key: 0,
7250
7255
  class: "vt-message-text",
7251
7256
  innerHTML: v.message
7252
- }, null, 8, l0)) : (s(), a("div", s0, E(v.message), 1))
7257
+ }, null, 8, s0)) : (s(), a("div", r0, E(v.message), 1))
7253
7258
  ]),
7254
7259
  v.showClose ? (s(), a("button", {
7255
7260
  key: 0,
@@ -7258,7 +7263,7 @@ const t0 = { class: "vt-message-container" }, n0 = { class: "vt-message-icon" },
7258
7263
  onClick: (h) => d(v.id)
7259
7264
  }, [
7260
7265
  Q(fe, { name: "close" })
7261
- ], 8, r0)) : O("", !0)
7266
+ ], 8, i0)) : O("", !0)
7262
7267
  ], 2))), 128))
7263
7268
  ]),
7264
7269
  _: 1
@@ -7267,7 +7272,7 @@ const t0 = { class: "vt-message-container" }, n0 = { class: "vt-message-icon" },
7267
7272
  ]));
7268
7273
  }
7269
7274
  });
7270
- class a0 {
7275
+ class u0 {
7271
7276
  constructor() {
7272
7277
  this.messageInstance = null, this.app = null, this.container = null;
7273
7278
  }
@@ -7304,10 +7309,10 @@ class a0 {
7304
7309
  return this.messageInstance ? this.messageInstance.messages.length : 0;
7305
7310
  }
7306
7311
  ensureInstance() {
7307
- return this.messageInstance ? this.messageInstance : (this.container = document.createElement("div"), this.container.setAttribute("data-vt-message-container", ""), document.body.appendChild(this.container), this.app = q1(i0), this.messageInstance = this.app.mount(this.container), this.messageInstance);
7312
+ return this.messageInstance ? this.messageInstance : (this.container = document.createElement("div"), this.container.setAttribute("data-vt-message-container", ""), document.body.appendChild(this.container), this.app = q1(a0), this.messageInstance = this.app.mount(this.container), this.messageInstance);
7308
7313
  }
7309
7314
  }
7310
- const Ne = new a0(), N1 = Object.assign(
7315
+ const Ne = new u0(), N1 = Object.assign(
7311
7316
  (n = {}) => Ne.call(n),
7312
7317
  {
7313
7318
  success: (n, e = {}) => Ne.success(n, e),
@@ -7321,7 +7326,7 @@ const Ne = new a0(), N1 = Object.assign(
7321
7326
  Ne.closeAll();
7322
7327
  }
7323
7328
  }
7324
- ), u0 = {
7329
+ ), c0 = {
7325
7330
  install(n) {
7326
7331
  n.config.globalProperties.$message = N1, n.provide("$message", N1), n.config.globalProperties.$messageStack = {
7327
7332
  closeAll: () => Ne.closeAll(),
@@ -7329,64 +7334,64 @@ const Ne = new a0(), N1 = Object.assign(
7329
7334
  closeById: (e) => Ne.close(e)
7330
7335
  };
7331
7336
  }
7332
- }, _0 = {
7337
+ }, g0 = {
7333
7338
  sortable: !0,
7334
7339
  actionColumn: !1,
7335
7340
  showOverflowTooltip: !0,
7336
7341
  visible: !0,
7337
7342
  pinnedLeft: !1,
7338
7343
  pinnedRight: !1
7339
- }, c0 = {
7344
+ }, d0 = {
7340
7345
  install(n, e = {}) {
7341
7346
  const { prefix: u = "V", modal: t = !0, message: i = !0 } = e;
7342
- n.component(`${u}Button`, Xe), n.component(`${u}Icon`, fe), n.component(`${u}Loader`, p1), n.component(`${u}Modal`, Q1), n.component(`${u}Pagination`, J3), n.component(`${u}Checkbox`, e1), n.component(`${u}Radiobox`, n5), n.component(`${u}Table`, z5), n.component(`${u}TableColumn`, Y5), n.component(`${u}Dropdown`, nt), n.component(`${u}DropdownItem`, y1), n.component(`${u}Input`, G1), n.component(`${u}Select`, J1), n.component(`${u}Option`, et), n.component(`${u}DatePicker`, P6), n.component(`${u}TimePicker`, v1), n.component(`${u}Collapse`, j6), n.component(`${u}CollapseItem`, Y6), n.component(`${u}Tabs`, Q6), n.component(`${u}TabItem`, G6), n.directive("tooltip", J6), n.directive("loader", e0), t && n.use(d5), i && n.use(u0);
7347
+ n.component(`${u}Button`, Xe), n.component(`${u}Icon`, fe), n.component(`${u}Loader`, p1), n.component(`${u}Modal`, Q1), n.component(`${u}Pagination`, e5), n.component(`${u}Checkbox`, e1), n.component(`${u}Radiobox`, o5), n.component(`${u}Table`, Y5), n.component(`${u}TableColumn`, O5), n.component(`${u}Dropdown`, nt), n.component(`${u}DropdownItem`, y1), n.component(`${u}Input`, G1), n.component(`${u}Select`, J1), n.component(`${u}Option`, et), n.component(`${u}DatePicker`, R6), n.component(`${u}TimePicker`, v1), n.component(`${u}Collapse`, Z6), n.component(`${u}CollapseItem`, O6), n.component(`${u}Tabs`, X6), n.component(`${u}TabItem`, J6), n.directive("tooltip", e0), n.directive("loader", t0), t && n.use(h5), i && n.use(c0);
7343
7348
  }
7344
- }, g0 = c0.install;
7349
+ }, w0 = d0.install;
7345
7350
  export {
7346
- _0 as DEFAULT_COLUMN_CONFIG,
7347
- N5 as DEFAULT_FORMATS,
7351
+ g0 as DEFAULT_COLUMN_CONFIG,
7352
+ W5 as DEFAULT_FORMATS,
7348
7353
  h1 as DEFAULT_TIME_FORMATS,
7349
7354
  tt as DropdownContextKey,
7350
- C0 as FORMAT_TOKENS,
7351
- O5 as MONTH_NAMES,
7355
+ m0 as FORMAT_TOKENS,
7356
+ N5 as MONTH_NAMES,
7352
7357
  ot as MONTH_NAMES_SHORT,
7353
7358
  Xe as VButton,
7354
7359
  e1 as VCheckbox,
7355
- j6 as VCollapse,
7356
- Y6 as VCollapseItem,
7357
- P6 as VDatePicker,
7360
+ Z6 as VCollapse,
7361
+ O6 as VCollapseItem,
7362
+ R6 as VDatePicker,
7358
7363
  nt as VDropdown,
7359
7364
  y1 as VDropdownItem,
7360
7365
  fe as VIcon,
7361
7366
  G1 as VInput,
7362
7367
  p1 as VLoader,
7363
7368
  N1 as VMessage,
7364
- u0 as VMessagePlugin,
7369
+ c0 as VMessagePlugin,
7365
7370
  Q1 as VModal,
7366
- d5 as VModalPlugin,
7371
+ h5 as VModalPlugin,
7367
7372
  et as VOption,
7368
- J3 as VPagination,
7369
- n5 as VRadiobox,
7373
+ e5 as VPagination,
7374
+ o5 as VRadiobox,
7370
7375
  J1 as VSelect,
7371
- G6 as VTabItem,
7372
- z5 as VTable,
7373
- Y5 as VTableColumn,
7374
- Q6 as VTabs,
7376
+ J6 as VTabItem,
7377
+ Y5 as VTable,
7378
+ O5 as VTableColumn,
7379
+ X6 as VTabs,
7375
7380
  v1 as VTimePicker,
7376
7381
  X1 as VtSelectContextKey,
7377
- m0 as WEEKDAY_NAMES,
7382
+ _0 as WEEKDAY_NAMES,
7378
7383
  k1 as WEEKDAY_NAMES_SHORT,
7379
- c0 as default,
7380
- X5 as formatTime,
7384
+ d0 as default,
7385
+ G5 as formatTime,
7381
7386
  b1 as generateTimeOptions,
7382
- g0 as install,
7387
+ w0 as install,
7383
7388
  E1 as isValidDate,
7384
7389
  M1 as isValidTimeString,
7385
- e0 as loaderDirective,
7390
+ t0 as loaderDirective,
7386
7391
  Ne as messageManager,
7387
7392
  Ke as modalManager,
7388
- G5 as parseTimeString,
7389
- J6 as tooltipDirective,
7390
- q5 as validateDateValue,
7391
- Q5 as validateTimeValue
7393
+ J5 as parseTimeString,
7394
+ e0 as tooltipDirective,
7395
+ U5 as validateDateValue,
7396
+ X5 as validateTimeValue
7392
7397
  };