voiptime-components 1.8.22 → 1.8.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
@@ -4007,17 +4007,7 @@ function B3(n, t, u, e) {
4007
4007
  selectAbsolutelyAll: G
4008
4008
  };
4009
4009
  }
4010
- function E3(n, t) {
4011
- if (!n)
4012
- return String(t.value ?? "");
4013
- try {
4014
- const u = n(t);
4015
- return u;
4016
- } catch (u) {
4017
- return console.error("Error rendering table slot:", u), String(t.value ?? "");
4018
- }
4019
- }
4020
- const A3 = (n, t, u = "asc") => {
4010
+ const E3 = (n, t, u = "asc") => {
4021
4011
  if (n == null && t == null) return 0;
4022
4012
  if (n == null) return u === "asc" ? 1 : -1;
4023
4013
  if (t == null) return u === "asc" ? -1 : 1;
@@ -4028,7 +4018,7 @@ const A3 = (n, t, u = "asc") => {
4028
4018
  numeric: !0,
4029
4019
  sensitivity: "base"
4030
4020
  }), u === "desc" ? -e : e;
4031
- }, It = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1, P3 = (n, t, u) => {
4021
+ }, It = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1, A3 = (n, t, u) => {
4032
4022
  n.sortable && u({
4033
4023
  prop: n.prop,
4034
4024
  direction: t
@@ -4039,11 +4029,11 @@ const A3 = (n, t, u = "asc") => {
4039
4029
  asc: ["vt-th__sort-icon", u && e === "asc" && "vt-th__sortable-active"].filter(Boolean).join(" "),
4040
4030
  desc: ["vt-th__sort-icon", u && e === "desc" && "vt-th__sortable-active"].filter(Boolean).join(" ")
4041
4031
  };
4042
- }, R3 = (n, t, u) => {
4032
+ }, P3 = (n, t, u) => {
4043
4033
  if (!t) return [...n];
4044
4034
  const e = u.find((c) => c.prop === t.prop);
4045
4035
  if (!(e != null && e.sortable)) return [...n];
4046
- const i = e.sortMethod || A3;
4036
+ const i = e.sortMethod || E3;
4047
4037
  return [...n].sort((c, v) => {
4048
4038
  const p = c[e.prop], m = v[e.prop];
4049
4039
  return i(p, m, t.direction);
@@ -4181,7 +4171,7 @@ const A3 = (n, t, u = "asc") => {
4181
4171
  ], 2));
4182
4172
  }
4183
4173
  });
4184
- class j3 {
4174
+ class R3 {
4185
4175
  constructor() {
4186
4176
  this.modalStack = [], this.baseZIndex = 1e3;
4187
4177
  }
@@ -4250,7 +4240,7 @@ class j3 {
4250
4240
  recalculateZIndices() {
4251
4241
  }
4252
4242
  }
4253
- const Qe = new j3(), F3 = {
4243
+ const Qe = new R3(), j3 = {
4254
4244
  install(n) {
4255
4245
  n.config.globalProperties.$modal = Qe, n.config.globalProperties.$modalStack = {
4256
4246
  closeAll: () => Qe.closeAll(),
@@ -4258,16 +4248,16 @@ const Qe = new j3(), F3 = {
4258
4248
  closeById: (t) => Qe.closeById(t)
4259
4249
  };
4260
4250
  }
4261
- }, Z3 = { class: "vt-columns-selector-body" }, z3 = { class: "vt-columns-selector" }, Y3 = { class: "vt-columns-selector__panel" }, O3 = ["draggable", "onDragstart", "onDragover", "onDrop"], N3 = {
4251
+ }, F3 = { class: "vt-columns-selector-body" }, Z3 = { class: "vt-columns-selector" }, z3 = { class: "vt-columns-selector__panel" }, Y3 = ["draggable", "onDragstart", "onDragover", "onDrop"], O3 = {
4262
4252
  key: 0,
4263
4253
  class: "vt-columns-selector__panel-item-pinned"
4264
- }, W3 = { class: "vt-columns-selector__available" }, q3 = ["onClick"], U3 = {
4254
+ }, N3 = { class: "vt-columns-selector__available" }, W3 = ["onClick"], q3 = {
4265
4255
  key: 0,
4266
4256
  class: "vt-columns-selector__group-columns"
4267
- }, K3 = {
4257
+ }, U3 = {
4268
4258
  key: 0,
4269
4259
  class: "vt-columns-selector__pinned-note"
4270
- }, Q3 = { class: "vt-modal__content-button" }, X3 = /* @__PURE__ */ ke({
4260
+ }, K3 = { class: "vt-modal__content-button" }, Q3 = /* @__PURE__ */ ke({
4271
4261
  __name: "VTableColumnSelector",
4272
4262
  props: {
4273
4263
  columns: {},
@@ -4376,9 +4366,9 @@ const Qe = new j3(), F3 = {
4376
4366
  };
4377
4367
  return Ye(() => {
4378
4368
  re();
4379
- }), (S, B) => (s(), a("div", Z3, [
4380
- l("div", z3, [
4381
- l("div", Y3, [
4369
+ }), (S, B) => (s(), a("div", F3, [
4370
+ l("div", Z3, [
4371
+ l("div", z3, [
4382
4372
  (s(!0), a(ne, null, pe(i.value, (F, le) => (s(), a("div", {
4383
4373
  key: F.prop,
4384
4374
  class: U(te(le)),
@@ -4401,10 +4391,10 @@ const Qe = new j3(), F3 = {
4401
4391
  onClick: B[0] || (B[0] = Le(() => {
4402
4392
  }, ["stop"]))
4403
4393
  }, null, 8, ["label", "disabled", "onChange"]),
4404
- C(F) ? (s(), a("span", N3, "pinned")) : O("", !0)
4405
- ], 42, O3))), 128))
4394
+ C(F) ? (s(), a("span", O3, "pinned")) : O("", !0)
4395
+ ], 42, Y3))), 128))
4406
4396
  ]),
4407
- l("div", W3, [
4397
+ l("div", N3, [
4408
4398
  (s(!0), a(ne, null, pe(d.value, (F) => {
4409
4399
  var le, J;
4410
4400
  return s(), a("div", {
@@ -4428,8 +4418,8 @@ const Qe = new j3(), F3 = {
4428
4418
  name: F.icon,
4429
4419
  class: "vt-columns-selector__group-icon"
4430
4420
  }, null, 8, ["name"])) : O("", !0)
4431
- ], 8, q3),
4432
- c.value.has(F.name) ? (s(), a("div", U3, [
4421
+ ], 8, W3),
4422
+ c.value.has(F.name) ? (s(), a("div", q3, [
4433
4423
  (s(!0), a(ne, null, pe(F.columns, (X) => (s(), a("div", {
4434
4424
  key: X.prop,
4435
4425
  class: "vt-columns-selector__group-column"
@@ -4440,14 +4430,14 @@ const Qe = new j3(), F3 = {
4440
4430
  disabled: !D(X),
4441
4431
  onChange: (ce) => oe(X, ce)
4442
4432
  }, null, 8, ["label", "checked", "disabled", "onChange"]),
4443
- D(X) ? O("", !0) : (s(), a("span", K3, " (закріплена) "))
4433
+ D(X) ? O("", !0) : (s(), a("span", U3, " (закріплена) "))
4444
4434
  ]))), 128))
4445
4435
  ])) : O("", !0)
4446
4436
  ]);
4447
4437
  }), 128))
4448
4438
  ])
4449
4439
  ]),
4450
- l("div", Q3, [
4440
+ l("div", K3, [
4451
4441
  Q(Xe, { onClick: me }, {
4452
4442
  default: Ve(() => B[2] || (B[2] = [
4453
4443
  xe("Скасувати", -1)
@@ -4468,7 +4458,7 @@ const Qe = new j3(), F3 = {
4468
4458
  ])
4469
4459
  ]));
4470
4460
  }
4471
- }), G3 = { class: "vt-table-header-actions" }, J3 = /* @__PURE__ */ ke({
4461
+ }), X3 = { class: "vt-table-header-actions" }, G3 = /* @__PURE__ */ ke({
4472
4462
  __name: "ColumnActions",
4473
4463
  props: {
4474
4464
  column: {},
@@ -4519,7 +4509,7 @@ const Qe = new j3(), F3 = {
4519
4509
  console.log("handleToggleVisibility called");
4520
4510
  const d = m(u.allColumns);
4521
4511
  Qe.open({
4522
- component: X3,
4512
+ component: Q3,
4523
4513
  title: "Управління колонками таблиці",
4524
4514
  props: {
4525
4515
  columns: u.allColumns,
@@ -4557,23 +4547,23 @@ const Qe = new j3(), F3 = {
4557
4547
  })
4558
4548
  ]),
4559
4549
  default: Ve(() => [
4560
- l("div", G3, [
4550
+ l("div", X3, [
4561
4551
  Q(fe, { name: "listBullet" })
4562
4552
  ])
4563
4553
  ]),
4564
4554
  _: 1
4565
4555
  }));
4566
4556
  }
4567
- }), e2 = { class: "vt-table" }, t2 = { key: 0 }, n2 = { class: "vt-th__content" }, o2 = { class: "vt-th__content" }, l2 = { class: "vt-th__label" }, s2 = {
4557
+ }), J3 = { class: "vt-table" }, e2 = { key: 0 }, t2 = { class: "vt-th__content" }, n2 = { class: "vt-th__content" }, o2 = { class: "vt-th__label" }, l2 = {
4568
4558
  key: 0,
4569
4559
  class: "vt-th__sortable"
4570
- }, r2 = ["data-resizer", "onMousedown"], i2 = {
4560
+ }, s2 = ["data-resizer", "onMousedown"], r2 = {
4571
4561
  key: 0,
4572
4562
  class: "vt-table__empty-row"
4573
- }, a2 = ["colspan"], u2 = { class: "vt-table__empty-content" }, c2 = ["onClick"], d2 = { class: "vt-table__cell-content" }, h2 = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, v2 = { key: 1 }, p2 = ["data-resizer", "onMousedown"], f2 = {
4563
+ }, i2 = ["colspan"], a2 = { class: "vt-table__empty-content" }, u2 = ["onClick"], c2 = { class: "vt-table__cell-content" }, d2 = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, h2 = { key: 1 }, v2 = ["data-resizer", "onMousedown"], p2 = {
4574
4564
  key: 1,
4575
4565
  class: "vt-table__summary"
4576
- }, m2 = { class: "vt-table__cell-content vt-table__cell-content--summary" }, wt = 50, C2 = /* @__PURE__ */ ke({
4566
+ }, f2 = { class: "vt-table__cell-content vt-table__cell-content--summary" }, wt = 50, m2 = /* @__PURE__ */ ke({
4577
4567
  __name: "VTable",
4578
4568
  props: /* @__PURE__ */ Lt({
4579
4569
  data: {},
@@ -4601,7 +4591,7 @@ const Qe = new j3(), F3 = {
4601
4591
  }),
4602
4592
  emits: /* @__PURE__ */ Lt(["sort-change", "selection-change", "current-change", "row-click", "update:columns", "column-pin", "column-resize", "column-visibility", "column-sort", "columns-change", "infinity-scroll"], ["update:columns"]),
4603
4593
  setup(n, { expose: t, emit: u }) {
4604
- const e = n, i = u, c = s1(n, "columns"), v = L({}), p = L(), m = Wt([]), h = L(e.defaultSort || null), d = x(() => R3(e.data || [], h.value, m)), C = x(() => c.value !== void 0), o = x(() => e.data && e.data.length > 0), $ = L(!1), _ = L(0);
4594
+ const e = n, i = u, c = s1(n, "columns"), v = L({}), p = L(), m = Wt([]), h = L(e.defaultSort || null), d = x(() => P3(e.data || [], h.value, m)), C = x(() => c.value !== void 0), o = x(() => e.data && e.data.length > 0), $ = L(!1), _ = L(0);
4605
4595
  let K;
4606
4596
  const A = (I, W) => e.rowKey && I[e.rowKey] != null ? String(I[e.rowKey]) : String(W);
4607
4597
  $e(
@@ -4656,7 +4646,7 @@ const Qe = new j3(), F3 = {
4656
4646
  K && clearTimeout(K), p.value && p.value.removeEventListener("scroll", S);
4657
4647
  });
4658
4648
  const F = (I, W) => {
4659
- P3(I, W, (se) => {
4649
+ A3(I, W, (se) => {
4660
4650
  var de, ee;
4661
4651
  ((de = h.value) == null ? void 0 : de.prop) === I.prop && h.value.direction === W ? h.value = null : h.value = se, i("sort-change", {
4662
4652
  column: I,
@@ -4763,8 +4753,8 @@ const Qe = new j3(), F3 = {
4763
4753
  onScroll: S
4764
4754
  }, [
4765
4755
  He(I.$slots, "default"),
4766
- l("table", e2, [
4767
- e.hideHeader ? O("", !0) : (s(), a("thead", t2, [
4756
+ l("table", J3, [
4757
+ e.hideHeader ? O("", !0) : (s(), a("thead", e2, [
4768
4758
  l("tr", null, [
4769
4759
  e.selectable ? (s(), a("th", {
4770
4760
  key: 0,
@@ -4774,7 +4764,7 @@ const Qe = new j3(), F3 = {
4774
4764
  }, "vt-table__th vt-table__th--selection"]),
4775
4765
  style: Ee(ue())
4776
4766
  }, [
4777
- l("div", n2, [
4767
+ l("div", t2, [
4778
4768
  Q(Je, {
4779
4769
  checked: (de = Y(D)) == null ? void 0 : de.isAllSelected.value,
4780
4770
  indeterminate: (ee = Y(D)) == null ? void 0 : ee.isIndeterminate.value,
@@ -4798,13 +4788,13 @@ const Qe = new j3(), F3 = {
4798
4788
  ]),
4799
4789
  style: Ee(We(r, f))
4800
4790
  }, [
4801
- l("div", o2, [
4802
- ot((s(), a("div", l2, [
4791
+ l("div", n2, [
4792
+ ot((s(), a("div", o2, [
4803
4793
  xe(E(r.label), 1)
4804
4794
  ])), [
4805
4795
  [se, r.label]
4806
4796
  ]),
4807
- r.sortable ? (s(), a("div", s2, [
4797
+ r.sortable ? (s(), a("div", l2, [
4808
4798
  Q(fe, {
4809
4799
  class: U(Y(Bt)(r, h.value).asc),
4810
4800
  name: "arrowTop",
@@ -4816,7 +4806,7 @@ const Qe = new j3(), F3 = {
4816
4806
  onClick: Le((q) => F(r, "desc"), ["stop"])
4817
4807
  }, null, 8, ["class", "onClick"])
4818
4808
  ])) : O("", !0),
4819
- r.actionColumn ? (s(), we(J3, {
4809
+ r.actionColumn ? (s(), we(G3, {
4820
4810
  key: 1,
4821
4811
  "all-columns": Y(H),
4822
4812
  column: r,
@@ -4829,7 +4819,7 @@ const Qe = new j3(), F3 = {
4829
4819
  "data-resizer": r.prop,
4830
4820
  class: "vt-table__resizer",
4831
4821
  onMousedown: (q) => ye(q, r)
4832
- }, null, 40, r2)
4822
+ }, null, 40, s2)
4833
4823
  ], 6))), 128))
4834
4824
  ])
4835
4825
  ])),
@@ -4856,7 +4846,7 @@ const Qe = new j3(), F3 = {
4856
4846
  }, "vt-table__td vt-table__td--selection"]),
4857
4847
  style: Ee(N())
4858
4848
  }, [
4859
- l("div", d2, [
4849
+ l("div", c2, [
4860
4850
  Q(Je, {
4861
4851
  checked: (_e = Y(D)) == null ? void 0 : _e.isRowSelected(r),
4862
4852
  onChange: (ae, be) => ze(ae, r, be)
@@ -4876,8 +4866,14 @@ const Qe = new j3(), F3 = {
4876
4866
  ]),
4877
4867
  style: Ee(Ke(ae, be))
4878
4868
  }, [
4879
- ot((s(), a("div", h2, [
4880
- ae.renderSlot ? (s(), we(ft(() => Y(E3)(ae.renderSlot, { row: r, column: ae, value: r[ae.prop], index: f })), { key: 0 })) : (s(), a("span", v2, E(r[ae.prop]), 1))
4869
+ ot((s(), a("div", d2, [
4870
+ ae.renderSlot ? (s(), we(ft(ae.renderSlot), {
4871
+ key: 0,
4872
+ column: ae,
4873
+ index: f,
4874
+ row: r,
4875
+ value: r[ae.prop]
4876
+ }, null, 8, ["column", "index", "row", "value"])) : (s(), a("span", h2, E(r[ae.prop]), 1))
4881
4877
  ])), [
4882
4878
  [se, ae.showOverflowTooltip ? ge(r, ae) : null]
4883
4879
  ]),
@@ -4885,25 +4881,25 @@ const Qe = new j3(), F3 = {
4885
4881
  "data-resizer": ae.prop,
4886
4882
  class: "vt-table__resizer",
4887
4883
  onMousedown: (Se) => ye(Se, ae)
4888
- }, null, 40, p2)
4884
+ }, null, 40, v2)
4889
4885
  ], 6))), 128))
4890
- ], 10, c2);
4891
- }), 128)) : (s(), a("tr", i2, [
4886
+ ], 10, u2);
4887
+ }), 128)) : (s(), a("tr", r2, [
4892
4888
  l("td", {
4893
4889
  colspan: Y(H).length + (e.selectable ? 1 : 0),
4894
4890
  class: "vt-table__empty-cell"
4895
4891
  }, [
4896
- l("div", u2, [
4892
+ l("div", a2, [
4897
4893
  Q(fe, {
4898
4894
  class: "vt-table__empty-icon",
4899
4895
  name: "empty"
4900
4896
  }),
4901
4897
  W[0] || (W[0] = l("span", { class: "vt-table__empty-text" }, "Немає даних!", -1))
4902
4898
  ])
4903
- ], 8, a2)
4899
+ ], 8, i2)
4904
4900
  ]))
4905
4901
  ]),
4906
- j.value ? (s(), a("tfoot", f2, [
4902
+ j.value ? (s(), a("tfoot", p2, [
4907
4903
  l("tr", null, [
4908
4904
  e.selectable ? (s(), a("td", {
4909
4905
  key: 0,
@@ -4925,7 +4921,7 @@ const Qe = new j3(), F3 = {
4925
4921
  ]),
4926
4922
  style: Ee(qe(r, f))
4927
4923
  }, [
4928
- l("div", m2, E(g.value[r.prop]), 1)
4924
+ l("div", f2, E(g.value[r.prop]), 1)
4929
4925
  ], 6))), 128))
4930
4926
  ])
4931
4927
  ])) : O("", !0)
@@ -4933,7 +4929,7 @@ const Qe = new j3(), F3 = {
4933
4929
  ], 36);
4934
4930
  };
4935
4931
  }
4936
- }), _2 = /* @__PURE__ */ ke({
4932
+ }), C2 = /* @__PURE__ */ ke({
4937
4933
  __name: "VTableColumn",
4938
4934
  props: {
4939
4935
  prop: {},
@@ -5011,7 +5007,7 @@ const Qe = new j3(), F3 = {
5011
5007
  }
5012
5008
  }), (v, p) => null;
5013
5009
  }
5014
- }), O6 = {
5010
+ }), Y6 = {
5015
5011
  yyyy: {
5016
5012
  pattern: /yyyy/g,
5017
5013
  replacement: (n) => String(n.getFullYear())
@@ -5056,7 +5052,7 @@ const Qe = new j3(), F3 = {
5056
5052
  pattern: new RegExp("(?<!s)s(?!s)", "g"),
5057
5053
  replacement: (n) => String(n.getSeconds())
5058
5054
  }
5059
- }, g2 = [
5055
+ }, _2 = [
5060
5056
  "Січень",
5061
5057
  "Лютий",
5062
5058
  "Березень",
@@ -5069,7 +5065,7 @@ const Qe = new j3(), F3 = {
5069
5065
  "Жовтень",
5070
5066
  "Листопад",
5071
5067
  "Грудень"
5072
- ], t1 = ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], N6 = ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"], kt = ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], w2 = {
5068
+ ], t1 = ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], O6 = ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"], kt = ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], g2 = {
5073
5069
  date: "yyyy-MM-dd",
5074
5070
  datetime: "yyyy-MM-dd HH:mm:ss",
5075
5071
  daterange: "yyyy-MM-dd",
@@ -5086,9 +5082,9 @@ const Qe = new j3(), F3 = {
5086
5082
  return !isNaN(t.getTime());
5087
5083
  }
5088
5084
  return !1;
5089
- }, k2 = (n) => Array.isArray(n) ? n.length === 0 || n.every((t) => !t) : !1, b2 = (n, t, u) => {
5085
+ }, w2 = (n) => Array.isArray(n) ? n.length === 0 || n.every((t) => !t) : !1, k2 = (n, t, u) => {
5090
5086
  const e = [], i = ["daterange", "datetimerange", "monthrange", "yearrange"].includes(t);
5091
- if (u && (n ? i && k2(n) && e.push("Це поле є обов'язковим") : e.push("Це поле є обов'язковим")), n)
5087
+ if (u && (n ? i && w2(n) && e.push("Це поле є обов'язковим") : e.push("Це поле є обов'язковим")), n)
5092
5088
  if (i && !Array.isArray(n) ? e.push("Для діапазону очікується масив з двох дат") : !i && Array.isArray(n) && e.push("Для одиночного вибору очікується одна дата"), Array.isArray(n)) {
5093
5089
  if (n.length !== 2)
5094
5090
  e.push("Діапазон повинен містити дві дати");
@@ -5103,12 +5099,12 @@ const Qe = new j3(), F3 = {
5103
5099
  isValid: e.length === 0,
5104
5100
  errors: e
5105
5101
  };
5106
- }, y2 = () => {
5102
+ }, b2 = () => {
5107
5103
  const n = (i, c) => {
5108
5104
  if (!i || !(i instanceof Date) || isNaN(i.getTime())) return "";
5109
5105
  const v = i.getFullYear(), p = i.getMonth(), m = i.getDate(), h = i.getHours(), d = h > 12 ? h - 12 : h === 0 ? 12 : h, C = i.getMinutes(), o = i.getSeconds(), $ = i.getTime();
5110
5106
  let _ = c;
5111
- _ = _.replace(/yyyy/g, String(v)), _ = _.replace(/yy/g, String(v).slice(-2)), _ = _.replace(/MMMM/g, g2[p]), _ = _.replace(/MMM/g, t1[p]), _ = _.replace(/MM/g, String(p + 1).padStart(2, "0")), _ = _.replace(/M/g, String(p + 1));
5107
+ _ = _.replace(/yyyy/g, String(v)), _ = _.replace(/yy/g, String(v).slice(-2)), _ = _.replace(/MMMM/g, _2[p]), _ = _.replace(/MMM/g, t1[p]), _ = _.replace(/MM/g, String(p + 1).padStart(2, "0")), _ = _.replace(/M/g, String(p + 1));
5112
5108
  const K = u(i);
5113
5109
  return _ = _.replace(/WW/g, String(K).padStart(2, "0")), _ = _.replace(/W/g, String(K)), _ = _.replace(/dd/g, String(m).padStart(2, "0")), _ = _.replace(/d/g, String(m)), _ = _.replace(/HH/g, String(h).padStart(2, "0")), _ = _.replace(/H/g, String(h)), _ = _.replace(/hh/g, String(d).padStart(2, "0")), _ = _.replace(/h/g, String(d)), _ = _.replace(/mm/g, String(C).padStart(2, "0")), _ = _.replace(/m/g, String(C)), _ = _.replace(/ss/g, String(o).padStart(2, "0")), _ = _.replace(/s/g, String(o)), _ = _.replace(/A/g, h >= 12 ? "PM" : "AM"), _ = _.replace(/a/g, h >= 12 ? "pm" : "am"), _ = _.replace(/timestamp/g, String($)), _ = _.replace(/\[([^\]]+)\]/g, "$1"), _;
5114
5110
  }, t = (i) => {
@@ -5125,10 +5121,10 @@ const Qe = new j3(), F3 = {
5125
5121
  formatDate: n,
5126
5122
  parseDate: t,
5127
5123
  getWeekOfYear: u,
5128
- getDefaultFormat: (i) => w2[i] || "yyyy-MM-dd"
5124
+ getDefaultFormat: (i) => g2[i] || "yyyy-MM-dd"
5129
5125
  };
5130
- }, M2 = (n, t, u, e, i) => {
5131
- const { formatDate: c, parseDate: v, getDefaultFormat: p } = y2(), m = x(() => ["datetimerange", "daterange", "monthrange", "yearrange"].includes(t.value)), h = x(() => u.value || p(t.value)), d = x(() => e.value || p(t.value)), C = x(() => n.value ? m.value ? Array.isArray(n.value) && n.value.length === 2 ? [v(n.value[0]), v(n.value[1])] : [null, null] : v(n.value) : m.value ? [null, null] : null), o = x(() => {
5126
+ }, y2 = (n, t, u, e, i) => {
5127
+ const { formatDate: c, parseDate: v, getDefaultFormat: p } = b2(), m = x(() => ["datetimerange", "daterange", "monthrange", "yearrange"].includes(t.value)), h = x(() => u.value || p(t.value)), d = x(() => e.value || p(t.value)), C = x(() => n.value ? m.value ? Array.isArray(n.value) && n.value.length === 2 ? [v(n.value[0]), v(n.value[1])] : [null, null] : v(n.value) : m.value ? [null, null] : null), o = x(() => {
5132
5128
  if (m.value) {
5133
5129
  const [A, H] = C.value;
5134
5130
  if (A && H) {
@@ -5162,7 +5158,7 @@ const Qe = new j3(), F3 = {
5162
5158
  } else
5163
5159
  return e.value === "timestamp" ? A.getTime() : e.value ? c(A, d.value) : A;
5164
5160
  },
5165
- validate: (A = !1) => b2(n.value, t.value, A),
5161
+ validate: (A = !1) => k2(n.value, t.value, A),
5166
5162
  formatDate: c,
5167
5163
  parseDate: v
5168
5164
  };
@@ -5230,7 +5226,7 @@ const Qe = new j3(), F3 = {
5230
5226
  // hh:mm:ss AM/PM (12h)
5231
5227
  /^(0?[1-9]|1[0-2]):([0-5]\d)\s?(AM|PM)$/i
5232
5228
  // hh:mm AM/PM (12h)
5233
- ].some((u) => u.test(n.trim())) : !1, $2 = (n, t, u) => {
5229
+ ].some((u) => u.test(n.trim())) : !1, M2 = (n, t, u) => {
5234
5230
  const e = [], i = t === "timerange";
5235
5231
  if (u && (n ? i && Array.isArray(n) && (n.length !== 2 || !n[0] || !n[1]) && e.push("Необхідно вибрати початковий та кінцевий час") : e.push("Це поле є обов'язковим")), n)
5236
5232
  if (i && !Array.isArray(n) ? e.push("Для діапазону очікується масив з двох значень часу") : !i && Array.isArray(n) && e.push("Для одиночного вибору очікується одне значення часу"), Array.isArray(n)) {
@@ -5271,13 +5267,13 @@ const Qe = new j3(), F3 = {
5271
5267
  }
5272
5268
  }
5273
5269
  return null;
5274
- }, x2 = (n, t, u = 0, e = "HH:mm:ss", i = !1) => {
5270
+ }, $2 = (n, t, u = 0, e = "HH:mm:ss", i = !1) => {
5275
5271
  let c = n;
5276
5272
  i && (c = n === 0 ? 12 : n > 12 ? n - 12 : n);
5277
5273
  const v = c.toString().padStart(2, "0"), p = t.toString().padStart(2, "0"), m = u.toString().padStart(2, "0");
5278
5274
  let h = e;
5279
5275
  return h = h.replace(/HH/g, n.toString().padStart(2, "0")), h = h.replace(/H/g, n.toString()), h = h.replace(/hh/g, v), h = h.replace(/h/g, c.toString()), h = h.replace(/mm/g, p), h = h.replace(/m/g, t.toString()), h = h.replace(/ss/g, m), h = h.replace(/s/g, u.toString()), h = h.replace(/A/g, n >= 12 ? "PM" : "AM"), h = h.replace(/a/g, n >= 12 ? "pm" : "am"), h;
5280
- }, V2 = (n) => {
5276
+ }, x2 = (n) => {
5281
5277
  if (!n) return null;
5282
5278
  const t = [
5283
5279
  /^(\d{1,2}):(\d{2}):(\d{2})$/,
@@ -5307,37 +5303,37 @@ const Qe = new j3(), F3 = {
5307
5303
  disabled: e.includes(c)
5308
5304
  });
5309
5305
  return i;
5310
- }, S2 = { class: "vt-timepicker__input" }, L2 = { class: "vt-timepicker__icon" }, D2 = {
5306
+ }, V2 = { class: "vt-timepicker__input" }, S2 = { class: "vt-timepicker__icon" }, L2 = {
5311
5307
  key: 0,
5312
5308
  class: "vt-timepicker__text"
5313
- }, H2 = {
5309
+ }, D2 = {
5314
5310
  key: 1,
5315
5311
  class: "vt-timepicker__placeholder"
5316
- }, T2 = { class: "vt-timepicker__suffix" }, I2 = ["disabled"], B2 = {
5312
+ }, H2 = { class: "vt-timepicker__suffix" }, T2 = ["disabled"], I2 = {
5317
5313
  key: 0,
5318
5314
  class: "vt-timepicker__dual-panel"
5319
- }, E2 = { class: "vt-timepicker__panel" }, A2 = { class: "vt-timepicker__time-columns" }, P2 = { class: "vt-timepicker__column" }, R2 = { class: "vt-timepicker__options" }, j2 = ["disabled", "onClick"], F2 = { class: "vt-timepicker__column" }, Z2 = { class: "vt-timepicker__options" }, z2 = ["disabled", "onClick"], Y2 = {
5315
+ }, B2 = { class: "vt-timepicker__panel" }, E2 = { class: "vt-timepicker__time-columns" }, A2 = { class: "vt-timepicker__column" }, P2 = { class: "vt-timepicker__options" }, R2 = ["disabled", "onClick"], j2 = { class: "vt-timepicker__column" }, F2 = { class: "vt-timepicker__options" }, Z2 = ["disabled", "onClick"], z2 = {
5320
5316
  key: 0,
5321
5317
  class: "vt-timepicker__column"
5322
- }, O2 = { class: "vt-timepicker__options" }, N2 = ["disabled", "onClick"], W2 = {
5318
+ }, Y2 = { class: "vt-timepicker__options" }, O2 = ["disabled", "onClick"], N2 = {
5323
5319
  key: 1,
5324
5320
  class: "vt-timepicker__column"
5325
- }, q2 = { class: "vt-timepicker__options" }, U2 = ["onClick"], K2 = { class: "vt-timepicker__panel" }, Q2 = { class: "vt-timepicker__time-columns" }, X2 = { class: "vt-timepicker__column" }, G2 = { class: "vt-timepicker__options" }, J2 = ["disabled", "onClick"], e5 = { class: "vt-timepicker__column" }, t5 = { class: "vt-timepicker__options" }, n5 = ["disabled", "onClick"], o5 = {
5321
+ }, W2 = { class: "vt-timepicker__options" }, q2 = ["onClick"], U2 = { class: "vt-timepicker__panel" }, K2 = { class: "vt-timepicker__time-columns" }, Q2 = { class: "vt-timepicker__column" }, X2 = { class: "vt-timepicker__options" }, G2 = ["disabled", "onClick"], J2 = { class: "vt-timepicker__column" }, e5 = { class: "vt-timepicker__options" }, t5 = ["disabled", "onClick"], n5 = {
5326
5322
  key: 0,
5327
5323
  class: "vt-timepicker__column"
5328
- }, l5 = { class: "vt-timepicker__options" }, s5 = ["disabled", "onClick"], r5 = {
5324
+ }, o5 = { class: "vt-timepicker__options" }, l5 = ["disabled", "onClick"], s5 = {
5329
5325
  key: 1,
5330
5326
  class: "vt-timepicker__column"
5331
- }, i5 = { class: "vt-timepicker__options" }, a5 = ["onClick"], u5 = {
5327
+ }, r5 = { class: "vt-timepicker__options" }, i5 = ["onClick"], a5 = {
5332
5328
  key: 1,
5333
5329
  class: "vt-timepicker__single-panel"
5334
- }, c5 = { class: "vt-timepicker__time-columns" }, d5 = { class: "vt-timepicker__column" }, h5 = { class: "vt-timepicker__options" }, v5 = ["disabled", "onClick"], p5 = { class: "vt-timepicker__column" }, f5 = { class: "vt-timepicker__options" }, m5 = ["disabled", "onClick"], C5 = {
5330
+ }, u5 = { class: "vt-timepicker__time-columns" }, c5 = { class: "vt-timepicker__column" }, d5 = { class: "vt-timepicker__options" }, h5 = ["disabled", "onClick"], v5 = { class: "vt-timepicker__column" }, p5 = { class: "vt-timepicker__options" }, f5 = ["disabled", "onClick"], m5 = {
5335
5331
  key: 0,
5336
5332
  class: "vt-timepicker__column"
5337
- }, _5 = { class: "vt-timepicker__options" }, g5 = ["disabled", "onClick"], w5 = {
5333
+ }, C5 = { class: "vt-timepicker__options" }, _5 = ["disabled", "onClick"], g5 = {
5338
5334
  key: 1,
5339
5335
  class: "vt-timepicker__column"
5340
- }, k5 = { class: "vt-timepicker__options" }, b5 = ["onClick"], y5 = { class: "vt-timepicker__actions" }, vt = /* @__PURE__ */ ke({
5336
+ }, w5 = { class: "vt-timepicker__options" }, k5 = ["onClick"], b5 = { class: "vt-timepicker__actions" }, vt = /* @__PURE__ */ ke({
5341
5337
  __name: "VTimePicker",
5342
5338
  props: {
5343
5339
  modelValue: {},
@@ -5370,12 +5366,12 @@ const Qe = new j3(), F3 = {
5370
5366
  }, h = L(/* @__PURE__ */ new Map()), d = x(() => e.type === "timerange"), C = (k) => {
5371
5367
  if (!k) return "";
5372
5368
  const { hour: b, minute: r, second: f } = k, q = e.format || (e.showSeconds ? e.use12Hours ? ht["12h"] : ht["24h"] : e.use12Hours ? ht["12h_no_seconds"] : ht["24h_no_seconds"]);
5373
- return x2(b, r, f, q, e.use12Hours);
5369
+ return $2(b, r, f, q, e.use12Hours);
5374
5370
  }, o = (k) => k ? k instanceof Date ? {
5375
5371
  hour: k.getHours(),
5376
5372
  minute: k.getMinutes(),
5377
5373
  second: k.getSeconds()
5378
- } : typeof k == "string" && Mt(k) ? V2(k) : null : null, $ = (k, b = !1) => $2(k, e.type, b), _ = x(() => e.modelValue ? d.value ? Array.isArray(e.modelValue) && e.modelValue.length === 2 ? [o(e.modelValue[0]), o(e.modelValue[1])] : [null, null] : o(e.modelValue) : d.value ? [null, null] : null), K = x(() => {
5374
+ } : typeof k == "string" && Mt(k) ? x2(k) : null : null, $ = (k, b = !1) => M2(k, e.type, b), _ = x(() => e.modelValue ? d.value ? Array.isArray(e.modelValue) && e.modelValue.length === 2 ? [o(e.modelValue[0]), o(e.modelValue[1])] : [null, null] : o(e.modelValue) : d.value ? [null, null] : null), K = x(() => {
5379
5375
  if (d.value) {
5380
5376
  const [k, b] = _.value;
5381
5377
  return k && b ? [C(k), C(b)] : k ? [C(k), ""] : ["", ""];
@@ -5660,11 +5656,11 @@ const Qe = new j3(), F3 = {
5660
5656
  onClick: j,
5661
5657
  onFocus: Z
5662
5658
  }, [
5663
- l("div", S2, [
5664
- l("div", L2, [
5659
+ l("div", V2, [
5660
+ l("div", S2, [
5665
5661
  Q(fe, { name: "clock" })
5666
5662
  ]),
5667
- A.value ? (s(), a("div", D2, [
5663
+ A.value ? (s(), a("div", L2, [
5668
5664
  d.value ? (s(), a(ne, { key: 0 }, [
5669
5665
  l("span", null, E(K.value[0]), 1),
5670
5666
  l("span", null, E(e.rangeSeparator), 1),
@@ -5672,7 +5668,7 @@ const Qe = new j3(), F3 = {
5672
5668
  ], 64)) : (s(), a(ne, { key: 1 }, [
5673
5669
  xe(E(K.value), 1)
5674
5670
  ], 64))
5675
- ])) : (s(), a("div", H2, [
5671
+ ])) : (s(), a("div", D2, [
5676
5672
  d.value ? (s(), a(ne, { key: 0 }, [
5677
5673
  l("span", null, E(e.startPlaceholder), 1),
5678
5674
  l("span", null, E(e.rangeSeparator), 1),
@@ -5681,7 +5677,7 @@ const Qe = new j3(), F3 = {
5681
5677
  xe(E(R.value), 1)
5682
5678
  ], 64))
5683
5679
  ])),
5684
- l("div", T2, [
5680
+ l("div", H2, [
5685
5681
  H.value ? (s(), a("button", {
5686
5682
  key: 0,
5687
5683
  disabled: e.disabled,
@@ -5690,7 +5686,7 @@ const Qe = new j3(), F3 = {
5690
5686
  onClick: Le(Pe, ["stop"])
5691
5687
  }, [
5692
5688
  Q(fe, { name: "close" })
5693
- ], 8, I2)) : O("", !0)
5689
+ ], 8, T2)) : O("", !0)
5694
5690
  ])
5695
5691
  ])
5696
5692
  ], 544),
@@ -5710,12 +5706,12 @@ const Qe = new j3(), F3 = {
5710
5706
  onMousedown: b[1] || (b[1] = Le(() => {
5711
5707
  }, ["prevent"]))
5712
5708
  }, [
5713
- d.value ? (s(), a("div", B2, [
5714
- l("div", E2, [
5709
+ d.value ? (s(), a("div", I2, [
5710
+ l("div", B2, [
5715
5711
  b[2] || (b[2] = l("div", { class: "vt-timepicker__panel-header" }, "Початковий час", -1)),
5716
- l("div", A2, [
5717
- l("div", P2, [
5718
- l("div", R2, [
5712
+ l("div", E2, [
5713
+ l("div", A2, [
5714
+ l("div", P2, [
5719
5715
  (s(!0), a(ne, null, pe(ue.value, (r) => (s(), a("button", {
5720
5716
  key: `start-hour-${r.value}`,
5721
5717
  class: U([
@@ -5727,11 +5723,11 @@ const Qe = new j3(), F3 = {
5727
5723
  ]),
5728
5724
  disabled: r.disabled,
5729
5725
  onClick: (f) => ge(r.value, "hour", !1, r.disabled, f)
5730
- }, E(r.label), 11, j2))), 128))
5726
+ }, E(r.label), 11, R2))), 128))
5731
5727
  ])
5732
5728
  ]),
5733
- l("div", F2, [
5734
- l("div", Z2, [
5729
+ l("div", j2, [
5730
+ l("div", F2, [
5735
5731
  (s(!0), a(ne, null, pe(me.value, (r) => (s(), a("button", {
5736
5732
  key: `start-minute-${r.value}`,
5737
5733
  class: U([
@@ -5743,11 +5739,11 @@ const Qe = new j3(), F3 = {
5743
5739
  ]),
5744
5740
  disabled: r.disabled,
5745
5741
  onClick: (f) => ge(r.value, "minute", !1, r.disabled, f)
5746
- }, E(r.label), 11, z2))), 128))
5742
+ }, E(r.label), 11, Z2))), 128))
5747
5743
  ])
5748
5744
  ]),
5749
- k.showSeconds ? (s(), a("div", Y2, [
5750
- l("div", O2, [
5745
+ k.showSeconds ? (s(), a("div", z2, [
5746
+ l("div", Y2, [
5751
5747
  (s(!0), a(ne, null, pe(S.value, (r) => (s(), a("button", {
5752
5748
  key: `start-second-${r.value}`,
5753
5749
  class: U([
@@ -5759,11 +5755,11 @@ const Qe = new j3(), F3 = {
5759
5755
  ]),
5760
5756
  disabled: r.disabled,
5761
5757
  onClick: (f) => ge(r.value, "second", !1, r.disabled, f)
5762
- }, E(r.label), 11, N2))), 128))
5758
+ }, E(r.label), 11, O2))), 128))
5763
5759
  ])
5764
5760
  ])) : O("", !0),
5765
- k.use12Hours ? (s(), a("div", W2, [
5766
- l("div", q2, [
5761
+ k.use12Hours ? (s(), a("div", N2, [
5762
+ l("div", W2, [
5767
5763
  (s(!0), a(ne, null, pe(B.value, (r) => (s(), a("button", {
5768
5764
  key: `start-period-${r}`,
5769
5765
  class: U([
@@ -5771,16 +5767,16 @@ const Qe = new j3(), F3 = {
5771
5767
  { "vt-timepicker__option--selected": oe.value === r }
5772
5768
  ]),
5773
5769
  onClick: (f) => ge(r, "period", !1, !1, f)
5774
- }, E(r), 11, U2))), 128))
5770
+ }, E(r), 11, q2))), 128))
5775
5771
  ])
5776
5772
  ])) : O("", !0)
5777
5773
  ])
5778
5774
  ]),
5779
- l("div", K2, [
5775
+ l("div", U2, [
5780
5776
  b[3] || (b[3] = l("div", { class: "vt-timepicker__panel-header" }, "Кінцевий час", -1)),
5781
- l("div", Q2, [
5782
- l("div", X2, [
5783
- l("div", G2, [
5777
+ l("div", K2, [
5778
+ l("div", Q2, [
5779
+ l("div", X2, [
5784
5780
  (s(!0), a(ne, null, pe(ue.value, (r) => (s(), a("button", {
5785
5781
  key: `end-hour-${r.value}`,
5786
5782
  class: U([
@@ -5792,11 +5788,11 @@ const Qe = new j3(), F3 = {
5792
5788
  ]),
5793
5789
  disabled: r.disabled,
5794
5790
  onClick: (f) => ge(r.value, "hour", !0, r.disabled, f)
5795
- }, E(r.label), 11, J2))), 128))
5791
+ }, E(r.label), 11, G2))), 128))
5796
5792
  ])
5797
5793
  ]),
5798
- l("div", e5, [
5799
- l("div", t5, [
5794
+ l("div", J2, [
5795
+ l("div", e5, [
5800
5796
  (s(!0), a(ne, null, pe(me.value, (r) => (s(), a("button", {
5801
5797
  key: `end-minute-${r.value}`,
5802
5798
  class: U([
@@ -5808,11 +5804,11 @@ const Qe = new j3(), F3 = {
5808
5804
  ]),
5809
5805
  disabled: r.disabled,
5810
5806
  onClick: (f) => ge(r.value, "minute", !0, r.disabled, f)
5811
- }, E(r.label), 11, n5))), 128))
5807
+ }, E(r.label), 11, t5))), 128))
5812
5808
  ])
5813
5809
  ]),
5814
- k.showSeconds ? (s(), a("div", o5, [
5815
- l("div", l5, [
5810
+ k.showSeconds ? (s(), a("div", n5, [
5811
+ l("div", o5, [
5816
5812
  (s(!0), a(ne, null, pe(S.value, (r) => (s(), a("button", {
5817
5813
  key: `end-second-${r.value}`,
5818
5814
  class: U([
@@ -5824,24 +5820,24 @@ const Qe = new j3(), F3 = {
5824
5820
  ]),
5825
5821
  disabled: r.disabled,
5826
5822
  onClick: (f) => ge(r.value, "second", !0, r.disabled, f)
5827
- }, E(r.label), 11, s5))), 128))
5823
+ }, E(r.label), 11, l5))), 128))
5828
5824
  ])
5829
5825
  ])) : O("", !0),
5830
- k.use12Hours ? (s(), a("div", r5, [
5831
- l("div", i5, [
5826
+ k.use12Hours ? (s(), a("div", s5, [
5827
+ l("div", r5, [
5832
5828
  (s(!0), a(ne, null, pe(B.value, (r) => (s(), a("button", {
5833
5829
  key: `end-period-${r}`,
5834
5830
  class: U(["vt-timepicker__option", { "vt-timepicker__option--selected": N.value === r }]),
5835
5831
  onClick: (f) => ge(r, "period", !0, !1, f)
5836
- }, E(r), 11, a5))), 128))
5832
+ }, E(r), 11, i5))), 128))
5837
5833
  ])
5838
5834
  ])) : O("", !0)
5839
5835
  ])
5840
5836
  ])
5841
- ])) : (s(), a("div", u5, [
5842
- l("div", c5, [
5843
- l("div", d5, [
5844
- l("div", h5, [
5837
+ ])) : (s(), a("div", a5, [
5838
+ l("div", u5, [
5839
+ l("div", c5, [
5840
+ l("div", d5, [
5845
5841
  (s(!0), a(ne, null, pe(ue.value, (r) => (s(), a("button", {
5846
5842
  key: `hour-${r.value}`,
5847
5843
  class: U([
@@ -5853,11 +5849,11 @@ const Qe = new j3(), F3 = {
5853
5849
  ]),
5854
5850
  disabled: r.disabled,
5855
5851
  onClick: (f) => ge(r.value, "hour", !1, r.disabled, f)
5856
- }, E(r.label), 11, v5))), 128))
5852
+ }, E(r.label), 11, h5))), 128))
5857
5853
  ])
5858
5854
  ]),
5859
- l("div", p5, [
5860
- l("div", f5, [
5855
+ l("div", v5, [
5856
+ l("div", p5, [
5861
5857
  (s(!0), a(ne, null, pe(me.value, (r) => (s(), a("button", {
5862
5858
  key: `minute-${r.value}`,
5863
5859
  class: U([
@@ -5869,11 +5865,11 @@ const Qe = new j3(), F3 = {
5869
5865
  ]),
5870
5866
  disabled: r.disabled,
5871
5867
  onClick: (f) => ge(r.value, "minute", !1, r.disabled, f)
5872
- }, E(r.label), 11, m5))), 128))
5868
+ }, E(r.label), 11, f5))), 128))
5873
5869
  ])
5874
5870
  ]),
5875
- k.showSeconds ? (s(), a("div", C5, [
5876
- l("div", _5, [
5871
+ k.showSeconds ? (s(), a("div", m5, [
5872
+ l("div", C5, [
5877
5873
  (s(!0), a(ne, null, pe(S.value, (r) => (s(), a("button", {
5878
5874
  key: `second-${r.value}`,
5879
5875
  class: U([
@@ -5885,21 +5881,21 @@ const Qe = new j3(), F3 = {
5885
5881
  ]),
5886
5882
  disabled: r.disabled,
5887
5883
  onClick: (f) => ge(r.value, "second", !1, r.disabled, f)
5888
- }, E(r.label), 11, g5))), 128))
5884
+ }, E(r.label), 11, _5))), 128))
5889
5885
  ])
5890
5886
  ])) : O("", !0),
5891
- k.use12Hours ? (s(), a("div", w5, [
5892
- l("div", k5, [
5887
+ k.use12Hours ? (s(), a("div", g5, [
5888
+ l("div", w5, [
5893
5889
  (s(!0), a(ne, null, pe(B.value, (r) => (s(), a("button", {
5894
5890
  key: `period-${r}`,
5895
5891
  class: U(["vt-timepicker__option", { "vt-timepicker__option--selected": oe.value === r }]),
5896
5892
  onClick: (f) => ge(r, "period", !1, !1, f)
5897
- }, E(r), 11, b5))), 128))
5893
+ }, E(r), 11, k5))), 128))
5898
5894
  ])
5899
5895
  ])) : O("", !0)
5900
5896
  ])
5901
5897
  ])),
5902
- l("div", y5, [
5898
+ l("div", b5, [
5903
5899
  Q(Xe, { onClick: je }, {
5904
5900
  default: Ve(() => b[4] || (b[4] = [
5905
5901
  xe("Скасувати", -1)
@@ -5925,40 +5921,40 @@ const Qe = new j3(), F3 = {
5925
5921
  ])) : O("", !0)
5926
5922
  ], 2));
5927
5923
  }
5928
- }), M5 = { class: "vt-datepicker__input" }, $5 = { class: "vt-datepicker__icon" }, x5 = {
5924
+ }), y5 = { class: "vt-datepicker__input" }, M5 = { class: "vt-datepicker__icon" }, $5 = {
5929
5925
  key: 0,
5930
5926
  class: "vt-datepicker__text"
5931
- }, V5 = { class: "vt-datepicker__separator" }, S5 = {
5927
+ }, x5 = { class: "vt-datepicker__separator" }, V5 = {
5932
5928
  key: 1,
5933
5929
  class: "vt-datepicker__placeholder"
5934
- }, L5 = { class: "vt-datepicker__separator" }, D5 = { class: "vt-datepicker__suffix" }, H5 = ["disabled"], T5 = {
5930
+ }, S5 = { class: "vt-datepicker__separator" }, L5 = { class: "vt-datepicker__suffix" }, D5 = ["disabled"], H5 = {
5935
5931
  key: 0,
5936
5932
  class: "vt-datepicker__dual-calendar"
5937
- }, I5 = { class: "vt-datepicker__calendar-panel" }, B5 = {
5933
+ }, T5 = { class: "vt-datepicker__calendar-panel" }, I5 = {
5938
5934
  key: 0,
5939
5935
  class: "vt-datepicker__time"
5940
- }, E5 = { class: "vt-datepicker__header" }, A5 = { class: "vt-datepicker__header-content" }, P5 = { class: "vt-datepicker__content" }, R5 = { class: "vt-datepicker__calendar" }, j5 = { class: "vt-datepicker__weekdays" }, F5 = { class: "vt-datepicker__dates" }, Z5 = ["disabled", "onClick", "onMouseenter"], z5 = { class: "vt-datepicker__calendar-panel" }, Y5 = {
5936
+ }, B5 = { class: "vt-datepicker__header" }, E5 = { class: "vt-datepicker__header-content" }, A5 = { class: "vt-datepicker__content" }, P5 = { class: "vt-datepicker__calendar" }, R5 = { class: "vt-datepicker__weekdays" }, j5 = { class: "vt-datepicker__dates" }, F5 = ["disabled", "onClick", "onMouseenter"], Z5 = { class: "vt-datepicker__calendar-panel" }, z5 = {
5941
5937
  key: 0,
5942
5938
  class: "vt-datepicker__time"
5943
- }, O5 = { class: "vt-datepicker__header" }, N5 = { class: "vt-datepicker__header-content" }, W5 = { class: "vt-datepicker__content" }, q5 = { class: "vt-datepicker__calendar" }, U5 = { class: "vt-datepicker__weekdays" }, K5 = { class: "vt-datepicker__dates" }, Q5 = ["disabled", "onClick", "onMouseenter"], X5 = { key: 1 }, G5 = {
5939
+ }, Y5 = { class: "vt-datepicker__header" }, O5 = { class: "vt-datepicker__header-content" }, N5 = { class: "vt-datepicker__content" }, W5 = { class: "vt-datepicker__calendar" }, q5 = { class: "vt-datepicker__weekdays" }, U5 = { class: "vt-datepicker__dates" }, K5 = ["disabled", "onClick", "onMouseenter"], Q5 = { key: 1 }, X5 = {
5944
5940
  key: 0,
5945
5941
  class: "vt-datepicker__time"
5946
- }, J5 = { class: "vt-datepicker__header" }, e6 = { class: "vt-datepicker__header-content" }, t6 = {
5942
+ }, G5 = { class: "vt-datepicker__header" }, J5 = { class: "vt-datepicker__header-content" }, e6 = {
5947
5943
  key: 2,
5948
5944
  class: "vt-datepicker__header-text"
5949
- }, n6 = { class: "vt-datepicker__content" }, o6 = {
5945
+ }, t6 = { class: "vt-datepicker__content" }, n6 = {
5950
5946
  key: 0,
5951
5947
  class: "vt-datepicker__calendar"
5952
- }, l6 = { class: "vt-datepicker__weekdays" }, s6 = { class: "vt-datepicker__dates" }, r6 = ["onClick", "onMouseenter"], i6 = {
5948
+ }, o6 = { class: "vt-datepicker__weekdays" }, l6 = { class: "vt-datepicker__dates" }, s6 = ["onClick", "onMouseenter"], r6 = {
5953
5949
  key: 1,
5954
5950
  class: "vt-datepicker__months"
5955
- }, a6 = ["onClick", "onMouseenter"], u6 = {
5951
+ }, i6 = ["onClick", "onMouseenter"], a6 = {
5956
5952
  key: 2,
5957
5953
  class: "vt-datepicker__years"
5958
- }, c6 = ["onClick", "onMouseenter"], d6 = {
5954
+ }, u6 = ["onClick", "onMouseenter"], c6 = {
5959
5955
  key: 0,
5960
5956
  class: "vt-datepicker__actions"
5961
- }, h6 = /* @__PURE__ */ ke({
5957
+ }, d6 = /* @__PURE__ */ ke({
5962
5958
  __name: "VDatePicker",
5963
5959
  props: {
5964
5960
  modelValue: {},
@@ -6010,7 +6006,7 @@ const Qe = new j3(), F3 = {
6010
6006
  hasDisplayValue: P,
6011
6007
  formatOutput: te,
6012
6008
  validate: re
6013
- } = M2($, _, K, A), {
6009
+ } = y2($, _, K, A), {
6014
6010
  calendarDates: oe,
6015
6011
  monthsInYear: he,
6016
6012
  yearsInDecade: ve,
@@ -6358,30 +6354,30 @@ const Qe = new j3(), F3 = {
6358
6354
  onClick: f,
6359
6355
  onFocus: q
6360
6356
  }, [
6361
- l("div", M5, [
6362
- l("div", $5, [
6357
+ l("div", y5, [
6358
+ l("div", M5, [
6363
6359
  Q(fe, {
6364
6360
  name: De.value ? "clock" : "calendar"
6365
6361
  }, null, 8, ["name"])
6366
6362
  ]),
6367
- Y(P) ? (s(), a("div", x5, [
6363
+ Y(P) ? (s(), a("div", $5, [
6368
6364
  Y(H) ? (s(), a(ne, { key: 0 }, [
6369
6365
  l("span", null, E(Y(G)[0]), 1),
6370
- l("span", V5, E(e.rangeSeparator), 1),
6366
+ l("span", x5, E(e.rangeSeparator), 1),
6371
6367
  l("span", null, E(Y(G)[1]), 1)
6372
6368
  ], 64)) : (s(), a(ne, { key: 1 }, [
6373
6369
  xe(E(Y(G)), 1)
6374
6370
  ], 64))
6375
- ])) : (s(), a("div", S5, [
6371
+ ])) : (s(), a("div", V5, [
6376
6372
  Y(H) ? (s(), a(ne, { key: 0 }, [
6377
6373
  l("span", null, E(e.startPlaceholder), 1),
6378
- l("span", L5, E(e.rangeSeparator), 1),
6374
+ l("span", S5, E(e.rangeSeparator), 1),
6379
6375
  l("span", null, E(e.endPlaceholder), 1)
6380
6376
  ], 64)) : (s(), a(ne, { key: 1 }, [
6381
6377
  xe(E(Me.value), 1)
6382
6378
  ], 64))
6383
6379
  ])),
6384
- l("div", D5, [
6380
+ l("div", L5, [
6385
6381
  Z.value ? (s(), a("button", {
6386
6382
  key: 0,
6387
6383
  disabled: e.disabled,
@@ -6390,7 +6386,7 @@ const Qe = new j3(), F3 = {
6390
6386
  onClick: Le(_e, ["stop"])
6391
6387
  }, [
6392
6388
  Q(fe, { name: "close" })
6393
- ], 8, H5)) : O("", !0)
6389
+ ], 8, D5)) : O("", !0)
6394
6390
  ])
6395
6391
  ])
6396
6392
  ], 544),
@@ -6413,9 +6409,9 @@ const Qe = new j3(), F3 = {
6413
6409
  l("div", {
6414
6410
  class: U([{ "vt-datepicker__date-section--with-time": Ie.value }, "vt-datepicker__date-section"])
6415
6411
  }, [
6416
- Re.value ? (s(), a("div", T5, [
6417
- l("div", I5, [
6418
- Ie.value ? (s(), a("div", B5, [
6412
+ Re.value ? (s(), a("div", H5, [
6413
+ l("div", T5, [
6414
+ Ie.value ? (s(), a("div", I5, [
6419
6415
  Q(vt, {
6420
6416
  ref_key: "startTimePickerRef",
6421
6417
  ref: m,
@@ -6436,14 +6432,14 @@ const Qe = new j3(), F3 = {
6436
6432
  onChange: V[1] || (V[1] = (w) => Fe(w, !1))
6437
6433
  }, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
6438
6434
  ])) : O("", !0),
6439
- l("div", E5, [
6435
+ l("div", B5, [
6440
6436
  l("button", {
6441
6437
  class: "vt-datepicker__nav-btn",
6442
6438
  onClick: Vt
6443
6439
  }, [
6444
6440
  Q(fe, { name: "arrowLeft" })
6445
6441
  ]),
6446
- l("div", A5, [
6442
+ l("div", E5, [
6447
6443
  l("button", {
6448
6444
  class: "vt-datepicker__header-btn",
6449
6445
  onClick: V[2] || (V[2] = (w) => o.viewMode.value = "month")
@@ -6451,15 +6447,15 @@ const Qe = new j3(), F3 = {
6451
6447
  ]),
6452
6448
  V[12] || (V[12] = l("div", { class: "vt-datepicker__nav-spacer" }, null, -1))
6453
6449
  ]),
6454
- l("div", P5, [
6455
- l("div", R5, [
6456
- l("div", j5, [
6450
+ l("div", A5, [
6451
+ l("div", P5, [
6452
+ l("div", R5, [
6457
6453
  (s(!0), a(ne, null, pe(Y(kt), (w, T) => (s(), a("span", {
6458
6454
  key: `${T}_${w}`,
6459
6455
  class: "vt-datepicker__weekday"
6460
6456
  }, E(w), 1))), 128))
6461
6457
  ]),
6462
- l("div", F5, [
6458
+ l("div", j5, [
6463
6459
  (s(!0), a(ne, null, pe(Y(oe), (w) => (s(), a("button", {
6464
6460
  key: w.getTime(),
6465
6461
  class: U([
@@ -6478,13 +6474,13 @@ const Qe = new j3(), F3 = {
6478
6474
  onClick: (T) => ae(w, !0, !1),
6479
6475
  onMouseenter: (T) => be(w, !0, !1),
6480
6476
  onMouseleave: Se
6481
- }, E(w.getDate()), 43, Z5))), 128))
6477
+ }, E(w.getDate()), 43, F5))), 128))
6482
6478
  ])
6483
6479
  ])
6484
6480
  ])
6485
6481
  ]),
6486
- l("div", z5, [
6487
- Ie.value ? (s(), a("div", Y5, [
6482
+ l("div", Z5, [
6483
+ Ie.value ? (s(), a("div", z5, [
6488
6484
  Q(vt, {
6489
6485
  ref_key: "endTimePickerRef",
6490
6486
  ref: h,
@@ -6505,9 +6501,9 @@ const Qe = new j3(), F3 = {
6505
6501
  onChange: V[4] || (V[4] = (w) => Fe(w, !0))
6506
6502
  }, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
6507
6503
  ])) : O("", !0),
6508
- l("div", O5, [
6504
+ l("div", Y5, [
6509
6505
  V[13] || (V[13] = l("div", { class: "vt-datepicker__nav-spacer" }, null, -1)),
6510
- l("div", N5, [
6506
+ l("div", O5, [
6511
6507
  l("button", {
6512
6508
  class: "vt-datepicker__header-btn",
6513
6509
  onClick: V[5] || (V[5] = (w) => o.viewMode.value = "month")
@@ -6520,15 +6516,15 @@ const Qe = new j3(), F3 = {
6520
6516
  Q(fe, { name: "arrowRight" })
6521
6517
  ])
6522
6518
  ]),
6523
- l("div", W5, [
6524
- l("div", q5, [
6525
- l("div", U5, [
6519
+ l("div", N5, [
6520
+ l("div", W5, [
6521
+ l("div", q5, [
6526
6522
  (s(!0), a(ne, null, pe(Y(kt), (w, T) => (s(), a("span", {
6527
6523
  key: `${T}_${w}`,
6528
6524
  class: "vt-datepicker__weekday"
6529
6525
  }, E(w), 1))), 128))
6530
6526
  ]),
6531
- l("div", K5, [
6527
+ l("div", U5, [
6532
6528
  (s(!0), a(ne, null, pe(Y(le), (w) => (s(), a("button", {
6533
6529
  key: w.getTime(),
6534
6530
  class: U([
@@ -6547,13 +6543,13 @@ const Qe = new j3(), F3 = {
6547
6543
  onClick: (T) => ae(w, !1, !0),
6548
6544
  onMouseenter: (T) => be(w, !1, !0),
6549
6545
  onMouseleave: Se
6550
- }, E(w.getDate()), 43, Q5))), 128))
6546
+ }, E(w.getDate()), 43, K5))), 128))
6551
6547
  ])
6552
6548
  ])
6553
6549
  ])
6554
6550
  ])
6555
- ])) : (s(), a("div", X5, [
6556
- Ie.value ? (s(), a("div", G5, [
6551
+ ])) : (s(), a("div", Q5, [
6552
+ Ie.value ? (s(), a("div", X5, [
6557
6553
  Q(vt, {
6558
6554
  ref_key: "startTimePickerRef",
6559
6555
  ref: m,
@@ -6574,14 +6570,14 @@ const Qe = new j3(), F3 = {
6574
6570
  onChange: V[7] || (V[7] = (w) => Fe(w, !1))
6575
6571
  }, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
6576
6572
  ])) : O("", !0),
6577
- l("div", J5, [
6573
+ l("div", G5, [
6578
6574
  l("button", {
6579
6575
  class: "vt-datepicker__nav-btn",
6580
6576
  onClick: Vt
6581
6577
  }, [
6582
6578
  Q(fe, { name: "arrowLeft" })
6583
6579
  ]),
6584
- l("div", e6, [
6580
+ l("div", J5, [
6585
6581
  o.viewMode.value === "date" ? (s(), a("button", {
6586
6582
  key: 0,
6587
6583
  class: "vt-datepicker__header-btn",
@@ -6590,7 +6586,7 @@ const Qe = new j3(), F3 = {
6590
6586
  key: 1,
6591
6587
  class: "vt-datepicker__header-btn",
6592
6588
  onClick: V[9] || (V[9] = (w) => o.viewMode.value = "year")
6593
- }, E(o.currentDate.value.getFullYear()), 1)) : (s(), a("span", t6, E(Y(D)), 1))
6589
+ }, E(o.currentDate.value.getFullYear()), 1)) : (s(), a("span", e6, E(Y(D)), 1))
6594
6590
  ]),
6595
6591
  l("button", {
6596
6592
  class: "vt-datepicker__nav-btn",
@@ -6599,15 +6595,15 @@ const Qe = new j3(), F3 = {
6599
6595
  Q(fe, { name: "arrowRight" })
6600
6596
  ])
6601
6597
  ]),
6602
- l("div", n6, [
6603
- o.viewMode.value === "date" ? (s(), a("div", o6, [
6604
- l("div", l6, [
6598
+ l("div", t6, [
6599
+ o.viewMode.value === "date" ? (s(), a("div", n6, [
6600
+ l("div", o6, [
6605
6601
  (s(!0), a(ne, null, pe(Y(kt), (w, T) => (s(), a("span", {
6606
6602
  key: `${T}_${w}`,
6607
6603
  class: "vt-datepicker__weekday"
6608
6604
  }, E(w), 1))), 128))
6609
6605
  ]),
6610
- l("div", s6, [
6606
+ l("div", l6, [
6611
6607
  (s(!0), a(ne, null, pe(Y(oe), (w) => (s(), a("button", {
6612
6608
  key: w.getTime(),
6613
6609
  class: U([
@@ -6624,9 +6620,9 @@ const Qe = new j3(), F3 = {
6624
6620
  onClick: (T) => ae(w),
6625
6621
  onMouseenter: (T) => be(w),
6626
6622
  onMouseleave: Se
6627
- }, E(w.getDate()), 43, r6))), 128))
6623
+ }, E(w.getDate()), 43, s6))), 128))
6628
6624
  ])
6629
- ])) : o.viewMode.value === "month" ? (s(), a("div", i6, [
6625
+ ])) : o.viewMode.value === "month" ? (s(), a("div", r6, [
6630
6626
  (s(!0), a(ne, null, pe(Y(he), (w, T) => (s(), a("button", {
6631
6627
  key: w.name,
6632
6628
  class: U([
@@ -6640,8 +6636,8 @@ const Qe = new j3(), F3 = {
6640
6636
  onClick: (ie) => nt(T, !1),
6641
6637
  onMouseenter: (ie) => dt(T, o.currentDate.value),
6642
6638
  onMouseleave: Ct
6643
- }, E(w.name), 43, a6))), 128))
6644
- ])) : (s(), a("div", u6, [
6639
+ }, E(w.name), 43, i6))), 128))
6640
+ ])) : (s(), a("div", a6, [
6645
6641
  (s(!0), a(ne, null, pe(Y(ve), (w) => (s(), a("button", {
6646
6642
  key: w.year,
6647
6643
  class: U([
@@ -6655,12 +6651,12 @@ const Qe = new j3(), F3 = {
6655
6651
  onClick: (T) => n1(w.year),
6656
6652
  onMouseenter: (T) => o1(w.year),
6657
6653
  onMouseleave: l1
6658
- }, E(w.year), 43, c6))), 128))
6654
+ }, E(w.year), 43, u6))), 128))
6659
6655
  ]))
6660
6656
  ])
6661
6657
  ]))
6662
6658
  ], 2),
6663
- Ie.value ? (s(), a("div", d6, [
6659
+ Ie.value ? (s(), a("div", c6, [
6664
6660
  Q(Xe, { onClick: Ue }, {
6665
6661
  default: Ve(() => V[14] || (V[14] = [
6666
6662
  xe("Скасувати", -1)
@@ -6687,7 +6683,7 @@ const Qe = new j3(), F3 = {
6687
6683
  ])) : O("", !0)
6688
6684
  ], 2));
6689
6685
  }
6690
- }), v6 = { class: "v-collapse" }, p6 = /* @__PURE__ */ ke({
6686
+ }), h6 = { class: "v-collapse" }, v6 = /* @__PURE__ */ ke({
6691
6687
  __name: "VCollapse",
6692
6688
  props: {
6693
6689
  modelValue: {},
@@ -6711,11 +6707,11 @@ const Qe = new j3(), F3 = {
6711
6707
  d > -1 ? h.splice(d, 1) : h.push(m), e("update:modelValue", h), e("change", h);
6712
6708
  }
6713
6709
  });
6714
- return ut("collapseContext", p), (m, h) => (s(), a("div", v6, [
6710
+ return ut("collapseContext", p), (m, h) => (s(), a("div", h6, [
6715
6711
  He(m.$slots, "default")
6716
6712
  ]));
6717
6713
  }
6718
- }), f6 = { class: "v-collapse-item__title" }, m6 = { class: "v-collapse-item__wrap" }, C6 = { class: "v-collapse-item__content" }, _6 = /* @__PURE__ */ ke({
6714
+ }), p6 = { class: "v-collapse-item__title" }, f6 = { class: "v-collapse-item__wrap" }, m6 = { class: "v-collapse-item__content" }, C6 = /* @__PURE__ */ ke({
6719
6715
  __name: "VCollapseItem",
6720
6716
  props: {
6721
6717
  title: {},
@@ -6749,7 +6745,7 @@ const Qe = new j3(), F3 = {
6749
6745
  class: U([{ "is-active": c.value }, "v-collapse-item__header"]),
6750
6746
  onClick: v
6751
6747
  }, [
6752
- l("div", f6, [
6748
+ l("div", p6, [
6753
6749
  He(C.$slots, "title", {
6754
6750
  isActive: c.value,
6755
6751
  title: C.title
@@ -6771,8 +6767,8 @@ const Qe = new j3(), F3 = {
6771
6767
  onAfterLeave: d
6772
6768
  }, {
6773
6769
  default: Ve(() => [
6774
- ot(l("div", m6, [
6775
- l("div", C6, [
6770
+ ot(l("div", f6, [
6771
+ l("div", m6, [
6776
6772
  He(C.$slots, "default")
6777
6773
  ])
6778
6774
  ], 512), [
@@ -6783,7 +6779,7 @@ const Qe = new j3(), F3 = {
6783
6779
  })
6784
6780
  ], 2));
6785
6781
  }
6786
- }), g6 = { class: "vt-tabs" }, w6 = { class: "vt-tabs__nav" }, k6 = ["onClick"], b6 = { key: 1 }, y6 = ["onClick"], M6 = { class: "vt-tabs__content" }, $6 = /* @__PURE__ */ ke({
6782
+ }), _6 = { class: "vt-tabs" }, g6 = { class: "vt-tabs__nav" }, w6 = ["onClick"], k6 = { key: 1 }, b6 = ["onClick"], y6 = { class: "vt-tabs__content" }, M6 = /* @__PURE__ */ ke({
6787
6783
  __name: "VTabs",
6788
6784
  props: {
6789
6785
  modelValue: { default: void 0 }
@@ -6818,8 +6814,8 @@ const Qe = new j3(), F3 = {
6818
6814
  addTab: p,
6819
6815
  removeTab: m,
6820
6816
  selectTab: h
6821
- }), (C, o) => (s(), a("div", g6, [
6822
- l("div", w6, [
6817
+ }), (C, o) => (s(), a("div", _6, [
6818
+ l("div", g6, [
6823
6819
  (s(!0), a(ne, null, pe(v.value, ($) => (s(), a("div", {
6824
6820
  key: $.name,
6825
6821
  class: U([{
@@ -6837,7 +6833,7 @@ const Qe = new j3(), F3 = {
6837
6833
  name: $.icon,
6838
6834
  class: "vt-tab-icon"
6839
6835
  }, null, 8, ["name"])) : O("", !0),
6840
- $.label ? (s(), a("span", b6, E($.label), 1)) : O("", !0)
6836
+ $.label ? (s(), a("span", k6, E($.label), 1)) : O("", !0)
6841
6837
  ], 64)),
6842
6838
  $.closable ? (s(), a("span", {
6843
6839
  key: 2,
@@ -6845,15 +6841,15 @@ const Qe = new j3(), F3 = {
6845
6841
  onClick: Le((_) => m($.name), ["stop"])
6846
6842
  }, [
6847
6843
  Q(fe, { name: "close" })
6848
- ], 8, y6)) : O("", !0)
6849
- ], 10, k6))), 128))
6844
+ ], 8, b6)) : O("", !0)
6845
+ ], 10, w6))), 128))
6850
6846
  ]),
6851
- l("div", M6, [
6847
+ l("div", y6, [
6852
6848
  He(C.$slots, "default")
6853
6849
  ])
6854
6850
  ]));
6855
6851
  }
6856
- }), x6 = { class: "vt-tabs__pane" }, V6 = /* @__PURE__ */ ke({
6852
+ }), $6 = { class: "vt-tabs__pane" }, x6 = /* @__PURE__ */ ke({
6857
6853
  __name: "VTabItem",
6858
6854
  props: {
6859
6855
  label: { default: "" },
@@ -6879,7 +6875,7 @@ const Qe = new j3(), F3 = {
6879
6875
  });
6880
6876
  }), Ot(() => {
6881
6877
  u.removeTab(t.name);
6882
- }), (i, c) => ot((s(), a("div", x6, [
6878
+ }), (i, c) => ot((s(), a("div", $6, [
6883
6879
  He(i.$slots, "default")
6884
6880
  ], 512)), [
6885
6881
  [qt, e.value]
@@ -6976,7 +6972,7 @@ const Qe = new j3(), F3 = {
6976
6972
  });
6977
6973
  }, Ft = (n) => {
6978
6974
  n.style.opacity = "0", n.style.visibility = "hidden";
6979
- }, Zt = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, zt = (n) => !!n.closest(".vt-table, table"), S6 = {
6975
+ }, Zt = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, zt = (n) => !!n.closest(".vt-table, table"), V6 = {
6980
6976
  mounted(n, t) {
6981
6977
  var m;
6982
6978
  const u = (m = t.value) == null ? void 0 : m.trim();
@@ -7013,10 +7009,10 @@ const Qe = new j3(), F3 = {
7013
7009
  beforeUnmount(n) {
7014
7010
  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);
7015
7011
  }
7016
- }, L6 = { class: "vt-message-container" }, D6 = { class: "vt-message-icon" }, H6 = { class: "vt-message-content" }, T6 = ["innerHTML"], I6 = {
7012
+ }, S6 = { class: "vt-message-container" }, L6 = { class: "vt-message-icon" }, D6 = { class: "vt-message-content" }, H6 = ["innerHTML"], T6 = {
7017
7013
  key: 1,
7018
7014
  class: "vt-message-text"
7019
- }, B6 = ["onClick"], E6 = /* @__PURE__ */ ke({
7015
+ }, I6 = ["onClick"], B6 = /* @__PURE__ */ ke({
7020
7016
  __name: "VMessage",
7021
7017
  setup(n, { expose: t }) {
7022
7018
  const u = L([]);
@@ -7046,7 +7042,7 @@ const Qe = new j3(), F3 = {
7046
7042
  addMessage: c,
7047
7043
  removeMessage: v
7048
7044
  }), (p, m) => (s(), we(lt, { to: "body" }, [
7049
- l("div", L6, [
7045
+ l("div", S6, [
7050
7046
  Q(i1, {
7051
7047
  name: "vt-message",
7052
7048
  tag: "div"
@@ -7060,18 +7056,18 @@ const Qe = new j3(), F3 = {
7060
7056
  { "vt-message-item--closable": h.showClose }
7061
7057
  ])
7062
7058
  }, [
7063
- l("div", D6, [
7059
+ l("div", L6, [
7064
7060
  Q(fe, {
7065
7061
  color: h.type === "primary" ? "#00475A" : "",
7066
7062
  name: i(h.type)
7067
7063
  }, null, 8, ["color", "name"])
7068
7064
  ]),
7069
- l("div", H6, [
7065
+ l("div", D6, [
7070
7066
  h.dangerouslyUseHTMLString ? (s(), a("div", {
7071
7067
  key: 0,
7072
7068
  class: "vt-message-text",
7073
7069
  innerHTML: h.message
7074
- }, null, 8, T6)) : (s(), a("div", I6, E(h.message), 1))
7070
+ }, null, 8, H6)) : (s(), a("div", T6, E(h.message), 1))
7075
7071
  ]),
7076
7072
  h.showClose ? (s(), a("button", {
7077
7073
  key: 0,
@@ -7080,7 +7076,7 @@ const Qe = new j3(), F3 = {
7080
7076
  onClick: (d) => v(h.id)
7081
7077
  }, [
7082
7078
  Q(fe, { name: "close" })
7083
- ], 8, B6)) : O("", !0)
7079
+ ], 8, I6)) : O("", !0)
7084
7080
  ], 2))), 128))
7085
7081
  ]),
7086
7082
  _: 1
@@ -7089,7 +7085,7 @@ const Qe = new j3(), F3 = {
7089
7085
  ]));
7090
7086
  }
7091
7087
  });
7092
- class A6 {
7088
+ class E6 {
7093
7089
  constructor() {
7094
7090
  this.messageInstance = null, this.app = null, this.container = null;
7095
7091
  }
@@ -7126,10 +7122,10 @@ class A6 {
7126
7122
  return this.messageInstance ? this.messageInstance.messages.length : 0;
7127
7123
  }
7128
7124
  ensureInstance() {
7129
- return this.messageInstance ? this.messageInstance : (this.container = document.createElement("div"), this.container.setAttribute("data-vt-message-container", ""), document.body.appendChild(this.container), this.app = Nt(E6), this.messageInstance = this.app.mount(this.container), this.messageInstance);
7125
+ return this.messageInstance ? this.messageInstance : (this.container = document.createElement("div"), this.container.setAttribute("data-vt-message-container", ""), document.body.appendChild(this.container), this.app = Nt(B6), this.messageInstance = this.app.mount(this.container), this.messageInstance);
7130
7126
  }
7131
7127
  }
7132
- const Ne = new A6(), Yt = Object.assign(
7128
+ const Ne = new E6(), Yt = Object.assign(
7133
7129
  (n = {}) => Ne.call(n),
7134
7130
  {
7135
7131
  success: (n, t = {}) => Ne.success(n, t),
@@ -7143,7 +7139,7 @@ const Ne = new A6(), Yt = Object.assign(
7143
7139
  Ne.closeAll();
7144
7140
  }
7145
7141
  }
7146
- ), P6 = {
7142
+ ), A6 = {
7147
7143
  install(n) {
7148
7144
  n.config.globalProperties.$message = Yt, n.provide("$message", Yt), n.config.globalProperties.$messageStack = {
7149
7145
  closeAll: () => Ne.closeAll(),
@@ -7151,63 +7147,63 @@ const Ne = new A6(), Yt = Object.assign(
7151
7147
  closeById: (t) => Ne.close(t)
7152
7148
  };
7153
7149
  }
7154
- }, W6 = {
7150
+ }, N6 = {
7155
7151
  sortable: !0,
7156
7152
  actionColumn: !1,
7157
7153
  showOverflowTooltip: !0,
7158
7154
  visible: !0,
7159
7155
  pinnedLeft: !1,
7160
7156
  pinnedRight: !1
7161
- }, R6 = {
7157
+ }, P6 = {
7162
7158
  install(n, t = {}) {
7163
7159
  const { prefix: u = "V", modal: e = !0, message: i = !0 } = t;
7164
- n.component(`${u}Button`, Xe), n.component(`${u}Icon`, fe), n.component(`${u}Loader`, pt), n.component(`${u}Modal`, Ut), n.component(`${u}Pagination`, V3), n.component(`${u}Checkbox`, Je), n.component(`${u}Radiobox`, D3), n.component(`${u}Table`, C2), n.component(`${u}TableColumn`, _2), n.component(`${u}Dropdown`, e1), n.component(`${u}DropdownItem`, yt), n.component(`${u}Input`, Qt), n.component(`${u}Select`, Xt), n.component(`${u}Option`, Gt), n.component(`${u}DatePicker`, h6), n.component(`${u}TimePicker`, vt), n.component(`${u}Collapse`, p6), n.component(`${u}CollapseItem`, _6), n.component(`${u}Tabs`, $6), n.component(`${u}TabItem`, V6), n.directive("tooltip", S6), e && n.use(F3), i && n.use(P6);
7160
+ n.component(`${u}Button`, Xe), n.component(`${u}Icon`, fe), n.component(`${u}Loader`, pt), n.component(`${u}Modal`, Ut), n.component(`${u}Pagination`, V3), n.component(`${u}Checkbox`, Je), n.component(`${u}Radiobox`, D3), n.component(`${u}Table`, m2), n.component(`${u}TableColumn`, C2), n.component(`${u}Dropdown`, e1), n.component(`${u}DropdownItem`, yt), n.component(`${u}Input`, Qt), n.component(`${u}Select`, Xt), n.component(`${u}Option`, Gt), n.component(`${u}DatePicker`, d6), n.component(`${u}TimePicker`, vt), n.component(`${u}Collapse`, v6), n.component(`${u}CollapseItem`, C6), n.component(`${u}Tabs`, M6), n.component(`${u}TabItem`, x6), n.directive("tooltip", V6), e && n.use(j3), i && n.use(A6);
7165
7161
  }
7166
- }, q6 = R6.install;
7162
+ }, W6 = P6.install;
7167
7163
  export {
7168
- W6 as DEFAULT_COLUMN_CONFIG,
7169
- w2 as DEFAULT_FORMATS,
7164
+ N6 as DEFAULT_COLUMN_CONFIG,
7165
+ g2 as DEFAULT_FORMATS,
7170
7166
  ht as DEFAULT_TIME_FORMATS,
7171
7167
  Jt as DropdownContextKey,
7172
- O6 as FORMAT_TOKENS,
7173
- g2 as MONTH_NAMES,
7168
+ Y6 as FORMAT_TOKENS,
7169
+ _2 as MONTH_NAMES,
7174
7170
  t1 as MONTH_NAMES_SHORT,
7175
7171
  Xe as VButton,
7176
7172
  Je as VCheckbox,
7177
- p6 as VCollapse,
7178
- _6 as VCollapseItem,
7179
- h6 as VDatePicker,
7173
+ v6 as VCollapse,
7174
+ C6 as VCollapseItem,
7175
+ d6 as VDatePicker,
7180
7176
  e1 as VDropdown,
7181
7177
  yt as VDropdownItem,
7182
7178
  fe as VIcon,
7183
7179
  Qt as VInput,
7184
7180
  pt as VLoader,
7185
7181
  Yt as VMessage,
7186
- P6 as VMessagePlugin,
7182
+ A6 as VMessagePlugin,
7187
7183
  Ut as VModal,
7188
- F3 as VModalPlugin,
7184
+ j3 as VModalPlugin,
7189
7185
  Gt as VOption,
7190
7186
  V3 as VPagination,
7191
7187
  D3 as VRadiobox,
7192
7188
  Xt as VSelect,
7193
- V6 as VTabItem,
7194
- C2 as VTable,
7195
- _2 as VTableColumn,
7196
- $6 as VTabs,
7189
+ x6 as VTabItem,
7190
+ m2 as VTable,
7191
+ C2 as VTableColumn,
7192
+ M6 as VTabs,
7197
7193
  vt as VTimePicker,
7198
7194
  Kt as VtSelectContextKey,
7199
- N6 as WEEKDAY_NAMES,
7195
+ O6 as WEEKDAY_NAMES,
7200
7196
  kt as WEEKDAY_NAMES_SHORT,
7201
- R6 as default,
7202
- x2 as formatTime,
7197
+ P6 as default,
7198
+ $2 as formatTime,
7203
7199
  bt as generateTimeOptions,
7204
- q6 as install,
7200
+ W6 as install,
7205
7201
  Et as isValidDate,
7206
7202
  Mt as isValidTimeString,
7207
7203
  Ne as messageManager,
7208
7204
  Qe as modalManager,
7209
- V2 as parseTimeString,
7210
- S6 as tooltipDirective,
7211
- b2 as validateDateValue,
7212
- $2 as validateTimeValue
7205
+ x2 as parseTimeString,
7206
+ V6 as tooltipDirective,
7207
+ k2 as validateDateValue,
7208
+ M2 as validateTimeValue
7213
7209
  };