voiptime-components 1.12.10 → 1.12.11

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
@@ -2503,9 +2503,47 @@ function F2(n, e) {
2503
2503
  Pe('<path d="M3.45972 14.75C4.15007 14.75 4.70972 15.3096 4.70972 16C4.70972 16.6904 4.15007 17.25 3.45972 17.25C2.76936 17.25 2.20972 16.6904 2.20972 16C2.20972 15.3096 2.76936 14.75 3.45972 14.75Z" stroke="currentColor" stroke-width="1.5"></path><path d="M8.12378 16H18.5404" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.45972 8.75C4.15007 8.75 4.70972 9.30964 4.70972 10C4.70972 10.6904 4.15007 11.25 3.45972 11.25C2.76936 11.25 2.20972 10.6904 2.20972 10C2.20972 9.30964 2.76936 8.75 3.45972 8.75Z" stroke="currentColor" stroke-width="1.5"></path><path d="M8.12378 10H18.5404" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.45972 2.75C4.15007 2.75 4.70972 3.30964 4.70972 4C4.70972 4.69036 4.15007 5.25 3.45972 5.25C2.76936 5.25 2.20972 4.69036 2.20972 4C2.20972 3.30964 2.76936 2.75 3.45972 2.75Z" stroke="currentColor" stroke-width="1.5"></path><path d="M8.12378 4H18.5404" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path>', 6)
2504
2504
  ]));
2505
2505
  }
2506
- const Z2 = /* @__PURE__ */ $(P2, [["render", F2]]), z2 = {
2506
+ const Z2 = /* @__PURE__ */ $(P2, [["render", F2]]), z2 = {}, O2 = {
2507
+ width: "21",
2508
+ height: "20",
2509
+ viewBox: "0 0 21 20",
2510
+ fill: "none",
2511
+ xmlns: "http://www.w3.org/2000/svg"
2512
+ };
2513
+ function Y2(n, e) {
2514
+ return l(), a("svg", O2, e[0] || (e[0] = [
2515
+ o("path", {
2516
+ d: "M13.2212 8C13.7272 7.508 15.7212 6.2 15.7212 5.5M15.7212 5.5C15.7212 4.8 13.7272 3.492 13.2212 3M15.7212 5.5L7.26807 5.5",
2517
+ stroke: "currentColor",
2518
+ "stroke-width": "1.5",
2519
+ "stroke-linecap": "round",
2520
+ "stroke-linejoin": "round"
2521
+ }, null, -1),
2522
+ o("path", {
2523
+ d: "M5.76807 4C5.37024 4 4.98871 4.15803 4.70741 4.43934C4.4261 4.72064 4.26807 5.10217 4.26807 5.5C4.26807 5.89782 4.4261 6.27935 4.70741 6.56066C4.98871 6.84196 5.37024 7 5.76807 7C6.16589 7 6.54742 6.84196 6.82873 6.56066C7.11003 6.27935 7.26807 5.89782 7.26807 5.5C7.26807 5.10217 7.11003 4.72064 6.82873 4.43934C6.54742 4.15804 6.16589 4 5.76807 4Z",
2524
+ stroke: "currentColor",
2525
+ "stroke-width": "1.5",
2526
+ "stroke-linejoin": "round"
2527
+ }, null, -1),
2528
+ o("path", {
2529
+ d: "M6.76807 12C6.26207 12.492 4.26807 13.8 4.26807 14.5M4.26807 14.5C4.26807 15.2 6.26207 16.508 6.76807 17M4.26807 14.5L12.7212 14.5",
2530
+ stroke: "currentColor",
2531
+ "stroke-width": "1.5",
2532
+ "stroke-linecap": "round",
2533
+ "stroke-linejoin": "round"
2534
+ }, null, -1),
2535
+ o("path", {
2536
+ d: "M14.2212 16C14.619 16 15.0005 15.842 15.2819 15.5607C15.5632 15.2794 15.7212 14.8978 15.7212 14.5C15.7212 14.1022 15.5632 13.7206 15.2819 13.4393C15.0005 13.158 14.619 13 14.2212 13C13.8234 13 13.4418 13.158 13.1605 13.4393C12.8792 13.7206 12.7212 14.1022 12.7212 14.5C12.7212 14.8978 12.8792 15.2794 13.1605 15.5607C13.4418 15.842 13.8234 16 14.2212 16Z",
2537
+ stroke: "currentColor",
2538
+ "stroke-width": "1.5",
2539
+ "stroke-linejoin": "round"
2540
+ }, null, -1)
2541
+ ]));
2542
+ }
2543
+ const N2 = /* @__PURE__ */ $(z2, [["render", Y2]]), W2 = {
2507
2544
  // actions icons
2508
2545
  addLine: j2,
2546
+ channelsChange: N2,
2509
2547
  circleChecked: yt,
2510
2548
  circleClose: Lt,
2511
2549
  close: Ht,
@@ -2637,7 +2675,7 @@ const Z2 = /* @__PURE__ */ $(P2, [["render", F2]]), z2 = {
2637
2675
  color: { default: "currentColor" }
2638
2676
  },
2639
2677
  setup(n) {
2640
- const e = n, r = x(() => z2[e.name]), t = x(() => ({
2678
+ const e = n, r = x(() => W2[e.name]), t = x(() => ({
2641
2679
  ...e.width && { width: typeof e.width == "number" ? `${e.width}px` : e.width },
2642
2680
  ...e.height && { height: typeof e.height == "number" ? `${e.height}px` : e.height },
2643
2681
  color: e.color
@@ -2647,11 +2685,11 @@ const Z2 = /* @__PURE__ */ $(P2, [["render", F2]]), z2 = {
2647
2685
  style: Be(t.value)
2648
2686
  }, null, 8, ["style"])) : Z("", !0);
2649
2687
  }
2650
- }), O2 = {}, Y2 = { class: "vt-loader" };
2651
- function N2(n, e) {
2652
- return l(), a("span", Y2);
2688
+ }), q2 = {}, U2 = { class: "vt-loader" };
2689
+ function K2(n, e) {
2690
+ return l(), a("span", U2);
2653
2691
  }
2654
- const g1 = /* @__PURE__ */ $(O2, [["render", N2]]), W2 = ["disabled", "type", "data-placement"], q2 = {
2692
+ const g1 = /* @__PURE__ */ $(q2, [["render", K2]]), X2 = ["disabled", "type", "data-placement"], Q2 = {
2655
2693
  key: 2,
2656
2694
  class: "vt-button__content"
2657
2695
  }, Je = /* @__PURE__ */ we({
@@ -2707,21 +2745,21 @@ const g1 = /* @__PURE__ */ $(O2, [["render", N2]]), W2 = ["disabled", "type", "d
2707
2745
  class: "vt-button__icon",
2708
2746
  style: { color: "var(--vt-button-icon-color)" }
2709
2747
  }, null, 8, ["name"])) : Z("", !0),
2710
- c.value ? Z("", !0) : (l(), a("span", q2, [
2748
+ c.value ? Z("", !0) : (l(), a("span", Q2, [
2711
2749
  Ve(_.$slots, "default")
2712
2750
  ]))
2713
- ], 14, W2)), [
2751
+ ], 14, X2)), [
2714
2752
  [y, v.value]
2715
2753
  ]);
2716
2754
  };
2717
2755
  }
2718
- }), U2 = {
2756
+ }), G2 = {
2719
2757
  key: 0,
2720
2758
  class: "vt-modal__header"
2721
- }, K2 = {
2759
+ }, J2 = {
2722
2760
  key: 0,
2723
2761
  class: "vt-modal__title"
2724
- }, X2 = { class: "vt-modal__body" }, et = /* @__PURE__ */ we({
2762
+ }, e3 = { class: "vt-modal__body" }, et = /* @__PURE__ */ we({
2725
2763
  __name: "VModal",
2726
2764
  props: {
2727
2765
  modelValue: { type: Boolean },
@@ -2752,8 +2790,8 @@ const g1 = /* @__PURE__ */ $(O2, [["render", N2]]), W2 = ["disabled", "type", "d
2752
2790
  onClick: v[0] || (v[0] = Se(() => {
2753
2791
  }, ["stop"]))
2754
2792
  }, [
2755
- f.title || f.showCloseButton ? (l(), a("div", U2, [
2756
- f.title ? (l(), a("h2", K2, R(f.title), 1)) : Z("", !0),
2793
+ f.title || f.showCloseButton ? (l(), a("div", G2, [
2794
+ f.title ? (l(), a("h2", J2, R(f.title), 1)) : Z("", !0),
2757
2795
  f.showCloseButton ? (l(), ge(fe, {
2758
2796
  key: 1,
2759
2797
  class: "vt-modal__close",
@@ -2761,14 +2799,14 @@ const g1 = /* @__PURE__ */ $(O2, [["render", N2]]), W2 = ["disabled", "type", "d
2761
2799
  onClick: d
2762
2800
  })) : Z("", !0)
2763
2801
  ])) : Z("", !0),
2764
- o("div", X2, [
2802
+ o("div", e3, [
2765
2803
  Ve(f.$slots, "default")
2766
2804
  ])
2767
2805
  ], 2)
2768
2806
  ], 4)) : Z("", !0)
2769
2807
  ]));
2770
2808
  }
2771
- }), Q2 = ["for"], G2 = ["id", "name", "value", "checked", "disabled", "required", ".indeterminate"], o1 = /* @__PURE__ */ we({
2809
+ }), t3 = ["for"], n3 = ["id", "name", "value", "checked", "disabled", "required", ".indeterminate"], o1 = /* @__PURE__ */ we({
2772
2810
  __name: "VCheckbox",
2773
2811
  props: {
2774
2812
  modelValue: { type: Boolean, default: void 0 },
@@ -2820,7 +2858,7 @@ const g1 = /* @__PURE__ */ $(O2, [["render", N2]]), W2 = ["disabled", "type", "d
2820
2858
  onChange: p,
2821
2859
  onFocus: f,
2822
2860
  onBlur: v
2823
- }, null, 40, G2),
2861
+ }, null, 40, n3),
2824
2862
  o("div", {
2825
2863
  class: G([
2826
2864
  "vt-checkbox__box",
@@ -2907,7 +2945,7 @@ const g1 = /* @__PURE__ */ $(O2, [["render", N2]]), W2 = ["disabled", "type", "d
2907
2945
  ])
2908
2946
  ])
2909
2947
  ], 2)) : Z("", !0)
2910
- ], 10, Q2));
2948
+ ], 10, t3));
2911
2949
  }
2912
2950
  }), E1 = (n) => {
2913
2951
  if (!n) return !1;
@@ -2923,7 +2961,7 @@ const g1 = /* @__PURE__ */ $(O2, [["render", N2]]), W2 = ["disabled", "type", "d
2923
2961
  c = c.parentElement;
2924
2962
  }
2925
2963
  return !0;
2926
- }, J2 = (n) => {
2964
+ }, o3 = (n) => {
2927
2965
  const e = [];
2928
2966
  let r = n.parentElement;
2929
2967
  for (; r && r !== document.body; ) {
@@ -2931,7 +2969,7 @@ const g1 = /* @__PURE__ */ $(O2, [["render", N2]]), W2 = ["disabled", "type", "d
2931
2969
  (["scroll", "auto"].includes(i) || ["scroll", "auto"].includes(c) || r.scrollHeight > r.clientHeight || r.scrollWidth > r.clientWidth) && e.push(r), r = r.parentElement;
2932
2970
  }
2933
2971
  return e.push(window), e;
2934
- }, e3 = (n, e, r) => {
2972
+ }, s3 = (n, e, r) => {
2935
2973
  let t = 0, i = 0;
2936
2974
  switch (r) {
2937
2975
  case "bottom":
@@ -2979,7 +3017,7 @@ function k1(n, e, r = {}) {
2979
3017
  g.value !== oe && (g.value = oe, !oe && _.value ? (y.value = !0, _.value = !1, v == null || v(!1)) : oe && y.value && !_.value && (y.value = !1, _.value = !0, V(), v == null || v(!0)));
2980
3018
  }, V = async () => {
2981
3019
  if (await Te(), !n.value || !e.value) return;
2982
- const oe = n.value.getBoundingClientRect(), A = e.value.getBoundingClientRect(), J = e3(oe, A, i);
3020
+ const oe = n.value.getBoundingClientRect(), A = e.value.getBoundingClientRect(), J = s3(oe, A, i);
2983
3021
  j.value = {
2984
3022
  ...J,
2985
3023
  minWidth: `${oe.width}px`
@@ -2987,7 +3025,7 @@ function k1(n, e, r = {}) {
2987
3025
  }, T = () => {
2988
3026
  (_.value || y.value) && (S(), _.value && V(), h == null || h());
2989
3027
  }, U = () => {
2990
- n.value && (N.value = J2(n.value), N.value.forEach((oe) => {
3028
+ n.value && (N.value = o3(n.value), N.value.forEach((oe) => {
2991
3029
  oe.addEventListener("scroll", T, { passive: !0 });
2992
3030
  }), window.addEventListener("resize", T));
2993
3031
  }, q = () => {
@@ -3037,37 +3075,37 @@ function s1(n, e, r) {
3037
3075
  function A1(n, e, r) {
3038
3076
  return e.find((t) => s1(t.value, n, r));
3039
3077
  }
3040
- function t3(n, e, r, t) {
3078
+ function r3(n, e, r, t) {
3041
3079
  return r ? Array.isArray(e) ? e.some((i) => s1(i, n, t)) : !1 : s1(e, n, t);
3042
3080
  }
3043
- function n3(n, e, r, t) {
3081
+ function l3(n, e, r, t) {
3044
3082
  if (!e.length) return [];
3045
3083
  if (r)
3046
3084
  return Array.isArray(n) ? n.map((c) => A1(c, e, t)).filter(Boolean) : [];
3047
3085
  const i = A1(n, e, t);
3048
3086
  return i ? [i] : [];
3049
3087
  }
3050
- function o3(n, e, r, t) {
3088
+ function i3(n, e, r, t) {
3051
3089
  if (r) {
3052
3090
  const i = Array.isArray(e) ? e : [];
3053
3091
  return i.some((d) => s1(d, n.value, t)) ? i.filter((d) => !s1(d, n.value, t)) : [...i, n.value];
3054
3092
  }
3055
3093
  return n.value;
3056
3094
  }
3057
- function s3(n, e, r) {
3095
+ function a3(n, e, r) {
3058
3096
  return Array.isArray(e) ? e.filter((t) => !s1(t, n, r)) : e;
3059
3097
  }
3060
- function r3(n) {
3098
+ function u3(n) {
3061
3099
  return n ? [] : void 0;
3062
3100
  }
3063
- function l3(n, e, r, t) {
3101
+ function c3(n, e, r, t) {
3064
3102
  const i = [];
3065
3103
  return r && (e ? !Array.isArray(n) || n.length === 0 : n == null || n === "") && i.push(t || "Це поле є обов'язковим"), {
3066
3104
  isValid: i.length === 0,
3067
3105
  errors: i
3068
3106
  };
3069
3107
  }
3070
- function i3(n, e, r) {
3108
+ function d3(n, e, r) {
3071
3109
  var p;
3072
3110
  if (!n || !e.length) return r;
3073
3111
  const t = n.offsetWidth, i = 100;
@@ -3081,29 +3119,29 @@ function i3(n, e, r) {
3081
3119
  }
3082
3120
  return Math.max(1, d);
3083
3121
  }
3084
- function a3(n, e) {
3122
+ function h3(n, e) {
3085
3123
  const r = e.map((t) => t.label).join(", ");
3086
3124
  return `Ще ${n}: ${r}`;
3087
3125
  }
3088
- const u3 = ["for"], c3 = {
3126
+ const p3 = ["for"], v3 = {
3089
3127
  key: 0,
3090
3128
  class: "vt-input__required"
3091
- }, d3 = { class: "vt-input__container" }, h3 = {
3129
+ }, f3 = { class: "vt-input__container" }, C3 = {
3092
3130
  key: 0,
3093
3131
  class: "vt-input__prefix"
3094
- }, p3 = ["value", "placeholder", "disabled", "rows", "cols", "maxlength", "minlength", "required", "name", "id", "tabindex", "autocomplete"], v3 = ["type", "value", "placeholder", "disabled", "maxlength", "minlength", "min", "max", "step", "required", "pattern", "name", "id", "tabindex", "autocomplete"], f3 = {
3132
+ }, m3 = ["value", "placeholder", "disabled", "rows", "cols", "maxlength", "minlength", "required", "name", "id", "tabindex", "autocomplete"], _3 = ["type", "value", "placeholder", "disabled", "maxlength", "minlength", "min", "max", "step", "required", "pattern", "name", "id", "tabindex", "autocomplete"], g3 = {
3095
3133
  key: 3,
3096
3134
  class: "vt-input__suffix"
3097
- }, C3 = {
3135
+ }, w3 = {
3098
3136
  key: 1,
3099
3137
  class: "vt-input__help"
3100
- }, m3 = {
3138
+ }, k3 = {
3101
3139
  key: 0,
3102
3140
  class: "vt-input__error"
3103
- }, _3 = {
3141
+ }, b3 = {
3104
3142
  key: 1,
3105
3143
  class: "vt-input__helper"
3106
- }, g3 = {
3144
+ }, y3 = {
3107
3145
  key: 2,
3108
3146
  class: "vt-input__errors"
3109
3147
  }, nt = /* @__PURE__ */ we({
@@ -3347,10 +3385,10 @@ const u3 = ["for"], c3 = {
3347
3385
  for: k.id
3348
3386
  }, [
3349
3387
  $e(R(k.label) + " ", 1),
3350
- k.required ? (l(), a("span", c3, "*")) : Z("", !0)
3351
- ], 8, u3)) : Z("", !0),
3352
- o("div", d3, [
3353
- V.value ? (l(), a("div", h3, [
3388
+ k.required ? (l(), a("span", v3, "*")) : Z("", !0)
3389
+ ], 8, p3)) : Z("", !0),
3390
+ o("div", f3, [
3391
+ V.value ? (l(), a("div", C3, [
3354
3392
  ne(fe, {
3355
3393
  name: T.value,
3356
3394
  class: G(U.value)
@@ -3383,7 +3421,7 @@ const u3 = ["for"], c3 = {
3383
3421
  onKeyup: Y[1] || (Y[1] = (W) => k.$emit("keyup", W)),
3384
3422
  onKeypress: Y[2] || (Y[2] = (W) => k.$emit("keypress", W)),
3385
3423
  onClick: Y[3] || (Y[3] = (W) => k.$emit("click", W))
3386
- }, null, 44, p3)) : (l(), a("input", {
3424
+ }, null, 44, m3)) : (l(), a("input", {
3387
3425
  key: 2,
3388
3426
  ref_key: "inputRef",
3389
3427
  ref: c,
@@ -3411,8 +3449,8 @@ const u3 = ["for"], c3 = {
3411
3449
  onKeyup: Y[5] || (Y[5] = (W) => k.$emit("keyup", W)),
3412
3450
  onKeypress: Y[6] || (Y[6] = (W) => k.$emit("keypress", W)),
3413
3451
  onClick: Y[7] || (Y[7] = (W) => k.$emit("click", W))
3414
- }, null, 40, v3)),
3415
- q.value ? (l(), a("div", f3, [
3452
+ }, null, 40, _3)),
3453
+ q.value ? (l(), a("div", g3, [
3416
3454
  D.value ? (l(), a("button", {
3417
3455
  key: 0,
3418
3456
  type: "button",
@@ -3442,10 +3480,10 @@ const u3 = ["for"], c3 = {
3442
3480
  }, null, 8, ["name"])) : Z("", !0)
3443
3481
  ])) : Z("", !0)
3444
3482
  ]),
3445
- k.helperText || J.value ? (l(), a("div", C3, [
3446
- J.value ? (l(), a("span", m3, R(J.value), 1)) : k.helperText ? (l(), a("span", _3, R(k.helperText), 1)) : Z("", !0)
3483
+ k.helperText || J.value ? (l(), a("div", w3, [
3484
+ J.value ? (l(), a("span", k3, R(J.value), 1)) : k.helperText ? (l(), a("span", b3, R(k.helperText), 1)) : Z("", !0)
3447
3485
  ])) : Z("", !0),
3448
- h.value.length > 1 && k.showAllErrors ? (l(), a("div", g3, [
3486
+ h.value.length > 1 && k.showAllErrors ? (l(), a("div", y3, [
3449
3487
  (l(!0), a(ie, null, pe(h.value, (W, ye) => (l(), a("div", {
3450
3488
  key: ye,
3451
3489
  class: "vt-input__error-item"
@@ -3455,37 +3493,37 @@ const u3 = ["for"], c3 = {
3455
3493
  ])) : Z("", !0)
3456
3494
  ], 2));
3457
3495
  }
3458
- }), w3 = ["for"], k3 = {
3496
+ }), $3 = ["for"], M3 = {
3459
3497
  key: 0,
3460
3498
  class: "vt-select__required"
3461
- }, b3 = { class: "vt-select__field" }, y3 = { class: "vt-select__tag-text" }, $3 = {
3499
+ }, x3 = { class: "vt-select__field" }, L3 = { class: "vt-select__tag-text" }, S3 = {
3462
3500
  key: 0,
3463
3501
  class: "vt-select__tag vt-select__tag--collapsed"
3464
- }, M3 = { class: "vt-select__tag-text" }, x3 = {
3502
+ }, V3 = { class: "vt-select__tag-text" }, D3 = {
3465
3503
  key: 1,
3466
3504
  class: "vt-select__display-text"
3467
- }, L3 = { key: 1 }, S3 = {
3505
+ }, H3 = { key: 1 }, T3 = {
3468
3506
  key: 2,
3469
3507
  class: "vt-select__placeholder"
3470
- }, V3 = { class: "vt-select__suffix" }, D3 = ["disabled"], H3 = {
3508
+ }, I3 = { class: "vt-select__suffix" }, B3 = ["disabled"], E3 = {
3471
3509
  key: 0,
3472
3510
  class: "vt-select__help"
3473
- }, T3 = {
3511
+ }, A3 = {
3474
3512
  "aria-hidden": "true",
3475
3513
  style: { display: "none" }
3476
- }, I3 = ["aria-multiselectable"], B3 = {
3514
+ }, j3 = ["aria-multiselectable"], P3 = {
3477
3515
  key: 0,
3478
3516
  class: "vt-select-dropdown__search"
3479
- }, E3 = {
3517
+ }, R3 = {
3480
3518
  key: 1,
3481
3519
  class: "vt-select-dropdown__empty"
3482
- }, A3 = { key: 0 }, j3 = { key: 1 }, P3 = ["aria-disabled", "aria-selected", "onClick"], R3 = { class: "vt-option__text" }, F3 = { key: 1 }, Z3 = {
3520
+ }, F3 = { key: 0 }, Z3 = { key: 1 }, z3 = ["aria-disabled", "aria-selected", "onClick"], O3 = { class: "vt-option__text" }, Y3 = { key: 1 }, N3 = {
3483
3521
  key: 0,
3484
3522
  class: "vt-select-dropdown__loading"
3485
- }, z3 = {
3523
+ }, W3 = {
3486
3524
  key: 2,
3487
3525
  class: "vt-select__help"
3488
- }, O3 = {
3526
+ }, q3 = {
3489
3527
  key: 0,
3490
3528
  class: "vt-select__error"
3491
3529
  }, j1 = 300, ot = /* @__PURE__ */ we({
@@ -3592,7 +3630,7 @@ const u3 = ["for"], c3 = {
3592
3630
  }
3593
3631
  }), ue = {
3594
3632
  validate() {
3595
- const u = l3(
3633
+ const u = c3(
3596
3634
  t.modelValue,
3597
3635
  se.value,
3598
3636
  t.required || !1,
@@ -3603,7 +3641,7 @@ const u3 = ["for"], c3 = {
3603
3641
  clear() {
3604
3642
  g.validationErrors.value = [], g.isValid.value = !0, i("validation", { isValid: !0, errors: [] });
3605
3643
  }
3606
- }, se = x(() => t.multiple), ce = x(() => E.value.length ? n3(t.modelValue, E.value, se.value, t.valueKey) : []), Ee = x(() => !t.multiple || ce.value.length === 0 ? [] : t.collapsedTags ? ce.value.slice(0, g.visibleCount.value) : ce.value), Oe = x(() => {
3644
+ }, se = x(() => t.multiple), ce = x(() => E.value.length ? l3(t.modelValue, E.value, se.value, t.valueKey) : []), Ee = x(() => !t.multiple || ce.value.length === 0 ? [] : t.collapsedTags ? ce.value.slice(0, g.visibleCount.value) : ce.value), Oe = x(() => {
3607
3645
  if (se.value) return "";
3608
3646
  const u = ce.value[0];
3609
3647
  return u ? u.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) : "";
@@ -3624,7 +3662,7 @@ const u3 = ["for"], c3 = {
3624
3662
  })), We = x(() => ce.value.length - g.visibleCount.value), k = x(() => t.collapsedTags && t.multiple && ce.value.length > 0 && g.visibleCount.value < ce.value.length), Y = x(() => {
3625
3663
  if (!k.value) return "";
3626
3664
  const u = ce.value.slice(g.visibleCount.value);
3627
- return a3(We.value, u);
3665
+ return h3(We.value, u);
3628
3666
  }), W = (u) => {
3629
3667
  var ee, z;
3630
3668
  if (!J.value) return;
@@ -3632,16 +3670,16 @@ const u3 = ["for"], c3 = {
3632
3670
  (ee = c.value) != null && ee.contains(C) || (z = p.value) != null && z.contains(C) || P();
3633
3671
  }, ye = (u) => {
3634
3672
  if (!u || u.disabled) return;
3635
- const C = o3(u, t.modelValue, se.value, t.valueKey);
3673
+ const C = i3(u, t.modelValue, se.value, t.valueKey);
3636
3674
  i("update:modelValue", C), i("change", C), se.value || P(), t.validateOnInput && ue.validate();
3637
3675
  }, He = (u, C) => {
3638
3676
  u.disabled || ye(u);
3639
3677
  }, Ae = () => {
3640
- const u = r3(se.value);
3678
+ const u = u3(se.value);
3641
3679
  i("update:modelValue", u), i("change", u), i("clear"), ue.clear();
3642
3680
  }, Ze = (u) => {
3643
3681
  if (!se.value) return;
3644
- const C = s3(u, t.modelValue, t.valueKey);
3682
+ const C = a3(u, t.modelValue, t.valueKey);
3645
3683
  i("update:modelValue", C), i("change", C), i("remove-tag", u), t.validateOnInput && ue.validate();
3646
3684
  }, Qe = () => {
3647
3685
  t.disabled || K();
@@ -3660,14 +3698,14 @@ const u3 = ["for"], c3 = {
3660
3698
  g.filterQuery.value = "", i("filter", ""), i("filter-clear");
3661
3699
  }, _e = (u) => {
3662
3700
  u.key === "Enter" || u.key === " " ? (u.preventDefault(), Qe()) : u.key === "Escape" && J.value && (u.preventDefault(), P());
3663
- }, me = (u) => t3(u, t.modelValue, se.value, t.valueKey), ve = () => {
3701
+ }, me = (u) => r3(u, t.modelValue, se.value, t.valueKey), ve = () => {
3664
3702
  if (!t.collapsedTags || !f.value || ce.value.length === 0) {
3665
3703
  g.visibleCount.value = ce.value.length;
3666
3704
  return;
3667
3705
  }
3668
3706
  Te(() => {
3669
3707
  if (!f.value) return;
3670
- const u = i3(f.value, v.value, ce.value.length);
3708
+ const u = d3(f.value, v.value, ce.value.length);
3671
3709
  g.visibleCount.value = u;
3672
3710
  });
3673
3711
  }, M = {
@@ -3781,8 +3819,8 @@ const u3 = ["for"], c3 = {
3781
3819
  class: "vt-select__label"
3782
3820
  }, [
3783
3821
  $e(R(u.label) + " ", 1),
3784
- u.required ? (l(), a("span", k3, "*")) : Z("", !0)
3785
- ], 8, w3)) : Z("", !0),
3822
+ u.required ? (l(), a("span", M3, "*")) : Z("", !0)
3823
+ ], 8, $3)) : Z("", !0),
3786
3824
  o("div", {
3787
3825
  ref_key: "triggerRef",
3788
3826
  ref: d,
@@ -3793,7 +3831,7 @@ const u3 = ["for"], c3 = {
3793
3831
  onFocus: e1,
3794
3832
  onKeydown: _e
3795
3833
  }, [
3796
- o("div", b3, [
3834
+ o("div", x3, [
3797
3835
  u.multiple && ce.value.length > 0 ? (l(), a("div", {
3798
3836
  key: 0,
3799
3837
  ref_key: "containerRef",
@@ -3806,7 +3844,7 @@ const u3 = ["for"], c3 = {
3806
3844
  ref: (ke) => ke && (v.value[le] = ke),
3807
3845
  class: "vt-select__tag"
3808
3846
  }, [
3809
- o("span", y3, R(z.label), 1),
3847
+ o("span", L3, R(z.label), 1),
3810
3848
  t.disabled ? Z("", !0) : (l(), ge(fe, {
3811
3849
  key: 0,
3812
3850
  class: "vt-select__tag-close",
@@ -3814,19 +3852,19 @@ const u3 = ["for"], c3 = {
3814
3852
  onClick: Se((ke) => Ze(z.value), ["stop"])
3815
3853
  }, null, 8, ["onClick"]))
3816
3854
  ]))), 128)),
3817
- k.value ? i1((l(), a("div", $3, [
3818
- o("span", M3, "+" + R(We.value), 1)
3855
+ k.value ? i1((l(), a("div", S3, [
3856
+ o("span", V3, "+" + R(We.value), 1)
3819
3857
  ])), [
3820
3858
  [ee, Y.value]
3821
3859
  ]) : Z("", !0)
3822
- ], 512)) : !u.multiple && Oe.value ? (l(), a("span", x3, [
3860
+ ], 512)) : !u.multiple && Oe.value ? (l(), a("span", D3, [
3823
3861
  u.$slots.selected && ce.value[0] ? Ve(u.$slots, "selected", {
3824
3862
  key: 0,
3825
3863
  option: ce.value[0]
3826
- }) : (l(), a("span", L3, R(Oe.value), 1))
3827
- ])) : (l(), a("span", S3, R(u.placeholder), 1))
3864
+ }) : (l(), a("span", H3, R(Oe.value), 1))
3865
+ ])) : (l(), a("span", T3, R(u.placeholder), 1))
3828
3866
  ]),
3829
- o("div", V3, [
3867
+ o("div", I3, [
3830
3868
  u.loading ? (l(), ge(g1, {
3831
3869
  key: 0,
3832
3870
  class: "vt-select__loading"
@@ -3838,7 +3876,7 @@ const u3 = ["for"], c3 = {
3838
3876
  onClick: Se(Ae, ["stop"])
3839
3877
  }, [
3840
3878
  ne(fe, { name: "close" })
3841
- ], 8, D3)) : (l(), ge(fe, {
3879
+ ], 8, B3)) : (l(), ge(fe, {
3842
3880
  key: 2,
3843
3881
  class: G([{ "vt-select__arrow--open": O(J) }, "vt-select__icon vt-select__arrow"]),
3844
3882
  name: "arrowDown"
@@ -3847,7 +3885,7 @@ const u3 = ["for"], c3 = {
3847
3885
  ], 544),
3848
3886
  ne(d1, { name: "fade" }, {
3849
3887
  default: xe(() => [
3850
- g.validationErrors && g.validationErrors.value.length ? (l(), a("div", H3, [
3888
+ g.validationErrors && g.validationErrors.value.length ? (l(), a("div", E3, [
3851
3889
  (l(!0), a(ie, null, pe(g.validationErrors.value, (z, le) => (l(), a("div", {
3852
3890
  key: `error-${le}`,
3853
3891
  class: "vt-select__error"
@@ -3856,7 +3894,7 @@ const u3 = ["for"], c3 = {
3856
3894
  ]),
3857
3895
  _: 1
3858
3896
  }),
3859
- o("div", T3, [
3897
+ o("div", A3, [
3860
3898
  Ve(u.$slots, "default")
3861
3899
  ]),
3862
3900
  O(J) && O(he) ? (l(), ge(a1, {
@@ -3877,7 +3915,7 @@ const u3 = ["for"], c3 = {
3877
3915
  onMousedown: C[3] || (C[3] = Se(() => {
3878
3916
  }, ["prevent"]))
3879
3917
  }, [
3880
- u.filterable ? (l(), a("div", B3, [
3918
+ u.filterable ? (l(), a("div", P3, [
3881
3919
  ne(nt, {
3882
3920
  ref_key: "filterInputRef",
3883
3921
  ref: _,
@@ -3890,8 +3928,8 @@ const u3 = ["for"], c3 = {
3890
3928
  onInput: X
3891
3929
  }, null, 8, ["modelValue", "placeholder"])
3892
3930
  ])) : Z("", !0),
3893
- D.value.length === 0 ? (l(), a("div", E3, [
3894
- g.filterQuery.value ? (l(), a("span", A3, 'Немає результатів для "' + R(g.filterQuery.value) + '"', 1)) : (l(), a("span", j3, R(u.noDataText), 1))
3931
+ D.value.length === 0 ? (l(), a("div", R3, [
3932
+ g.filterQuery.value ? (l(), a("span", F3, 'Немає результатів для "' + R(g.filterQuery.value) + '"', 1)) : (l(), a("span", Z3, R(u.noDataText), 1))
3895
3933
  ])) : (l(), a("div", {
3896
3934
  key: 2,
3897
3935
  ref_key: "scrollContainerRef",
@@ -3923,27 +3961,27 @@ const u3 = ["for"], c3 = {
3923
3961
  tabindex: "-1",
3924
3962
  onChange: (le) => He(z)
3925
3963
  }, null, 8, ["checked", "disabled", "onChange"])) : Z("", !0),
3926
- o("span", R3, [
3927
- T(z.value) ? (l(), ge(w1(T(z.value)), { key: 0 })) : (l(), a("span", F3, R(z.label || z.value), 1))
3964
+ o("span", O3, [
3965
+ T(z.value) ? (l(), ge(w1(T(z.value)), { key: 0 })) : (l(), a("span", Y3, R(z.label || z.value), 1))
3928
3966
  ])
3929
- ], 42, P3))), 128)),
3930
- u.loading ? (l(), a("div", Z3, [
3967
+ ], 42, z3))), 128)),
3968
+ u.loading ? (l(), a("div", N3, [
3931
3969
  ne(g1, { class: "vt-select-dropdown__loading-icon" }),
3932
3970
  $e(" " + R(t.loadingText), 1)
3933
3971
  ])) : Z("", !0)
3934
3972
  ], 544))
3935
- ], 44, I3)
3973
+ ], 44, j3)
3936
3974
  ]),
3937
3975
  _: 1
3938
3976
  })
3939
3977
  ])) : Z("", !0),
3940
- Fe.value ? (l(), a("div", z3, [
3941
- Fe.value ? (l(), a("span", O3, R(Fe.value), 1)) : Z("", !0)
3978
+ Fe.value ? (l(), a("div", W3, [
3979
+ Fe.value ? (l(), a("span", q3, R(Fe.value), 1)) : Z("", !0)
3942
3980
  ])) : Z("", !0)
3943
3981
  ], 2);
3944
3982
  };
3945
3983
  }
3946
- }), Y3 = { style: { display: "none" } }, st = /* @__PURE__ */ we({
3984
+ }), U3 = { style: { display: "none" } }, st = /* @__PURE__ */ we({
3947
3985
  __name: "VOption",
3948
3986
  props: {
3949
3987
  label: {},
@@ -3966,11 +4004,11 @@ const u3 = ["for"], c3 = {
3966
4004
  }
3967
4005
  }), Q1(() => {
3968
4006
  i && i.unregisterOption(r.value);
3969
- }), (d, p) => (l(), a("div", Y3, [
4007
+ }), (d, p) => (l(), a("div", U3, [
3970
4008
  Ve(d.$slots, "default")
3971
4009
  ]));
3972
4010
  }
3973
- }), N3 = { class: "vt-pagination" }, W3 = { class: "vt-pagination__info" }, q3 = { class: "vt-pagination__rows-per-page" }, U3 = { class: "vt-pagination__navigation" }, K3 = ["disabled"], X3 = ["onClick"], Q3 = ["disabled"], G3 = /* @__PURE__ */ we({
4011
+ }), K3 = { class: "vt-pagination" }, X3 = { class: "vt-pagination__info" }, Q3 = { class: "vt-pagination__rows-per-page" }, G3 = { class: "vt-pagination__navigation" }, J3 = ["disabled"], e5 = ["onClick"], t5 = ["disabled"], n5 = /* @__PURE__ */ we({
3974
4012
  __name: "VPagination",
3975
4013
  props: {
3976
4014
  totalItems: {},
@@ -4022,9 +4060,9 @@ const u3 = ["for"], c3 = {
4022
4060
  () => {
4023
4061
  i.value > d.value && d.value > 0 && (i.value = d.value, g());
4024
4062
  }
4025
- ), (V, T) => (l(), a("div", N3, [
4026
- o("div", W3, [
4027
- o("div", q3, [
4063
+ ), (V, T) => (l(), a("div", K3, [
4064
+ o("div", X3, [
4065
+ o("div", Q3, [
4028
4066
  T[1] || (T[1] = o("label", {
4029
4067
  class: "vt-pagination__label",
4030
4068
  for: "rowsSelect"
@@ -4053,28 +4091,28 @@ const u3 = ["for"], c3 = {
4053
4091
  ]),
4054
4092
  o("span", null, R(p.value) + " - " + R(f.value) + " з " + R(V.totalItems), 1)
4055
4093
  ]),
4056
- o("div", U3, [
4094
+ o("div", G3, [
4057
4095
  o("button", {
4058
4096
  class: G({ "vt-pagination__nav-button": !0, "has-items": !v.value }),
4059
4097
  disabled: v.value,
4060
4098
  onClick: s
4061
4099
  }, [
4062
4100
  ne(fe, { name: "arrowLeft" })
4063
- ], 10, K3),
4101
+ ], 10, J3),
4064
4102
  (l(!0), a(ie, null, pe(_.value, (U) => (l(), a("button", {
4065
4103
  key: U,
4066
4104
  class: G([{
4067
4105
  "vt-pagination__nav-button--active": U === i.value
4068
4106
  }, "vt-pagination__nav-button"]),
4069
4107
  onClick: (q) => y(U)
4070
- }, R(U), 11, X3))), 128)),
4108
+ }, R(U), 11, e5))), 128)),
4071
4109
  o("button", {
4072
4110
  class: G({ "vt-pagination__nav-button": !0, "has-items": !h.value }),
4073
4111
  disabled: h.value,
4074
4112
  onClick: N
4075
4113
  }, [
4076
4114
  ne(fe, { name: "arrowRight" })
4077
- ], 10, Q3)
4115
+ ], 10, t5)
4078
4116
  ]),
4079
4117
  o("div", null, [
4080
4118
  ne(Je, {
@@ -4093,7 +4131,7 @@ const u3 = ["for"], c3 = {
4093
4131
  ])
4094
4132
  ]));
4095
4133
  }
4096
- }), J3 = ["for"], e5 = ["id", "checked", "disabled", "name", "required", "value"], t5 = /* @__PURE__ */ we({
4134
+ }), o5 = ["for"], s5 = ["id", "checked", "disabled", "name", "required", "value"], r5 = /* @__PURE__ */ we({
4097
4135
  __name: "VRadiobox",
4098
4136
  props: {
4099
4137
  modelValue: { default: void 0 },
@@ -4140,7 +4178,7 @@ const u3 = ["for"], c3 = {
4140
4178
  onBlur: v,
4141
4179
  onChange: p,
4142
4180
  onFocus: f
4143
- }, null, 40, e5),
4181
+ }, null, 40, s5),
4144
4182
  o("div", {
4145
4183
  class: G([
4146
4184
  "vt-radiobox__circle",
@@ -4174,10 +4212,10 @@ const u3 = ["for"], c3 = {
4174
4212
  ])
4175
4213
  ])
4176
4214
  ], 2)) : Z("", !0)
4177
- ], 10, J3));
4215
+ ], 10, o5));
4178
4216
  }
4179
4217
  });
4180
- function n5(n) {
4218
+ function l5(n) {
4181
4219
  const e = x(() => {
4182
4220
  const i = n.filter((p) => p.pinnedLeft), c = n.filter((p) => p.pinnedRight), d = n.filter((p) => !p.pinnedLeft && !p.pinnedRight);
4183
4221
  return [...i, ...d, ...c];
@@ -4208,7 +4246,7 @@ function n5(n) {
4208
4246
  }
4209
4247
  };
4210
4248
  }
4211
- function o5(n) {
4249
+ function i5(n) {
4212
4250
  const e = () => {
4213
4251
  const c = {};
4214
4252
  return n.maxHeight && (c.maxHeight = `${n.maxHeight}px`), c;
@@ -4237,7 +4275,7 @@ function o5(n) {
4237
4275
  }
4238
4276
  };
4239
4277
  }
4240
- function s5() {
4278
+ function a5() {
4241
4279
  const n = B({
4242
4280
  resizingCol: null,
4243
4281
  startX: 0,
@@ -4265,7 +4303,7 @@ function s5() {
4265
4303
  resizeState: n
4266
4304
  };
4267
4305
  }
4268
- function r5(n, e, r, t) {
4306
+ function u5(n, e, r, t) {
4269
4307
  var oe;
4270
4308
  const i = n.selectionKey || "id", c = B([]), d = B(null), p = B(!1);
4271
4309
  (oe = n.defaultSelection) != null && oe.length && (c.value = [...n.defaultSelection]);
@@ -4343,7 +4381,7 @@ function r5(n, e, r, t) {
4343
4381
  selectAbsolutelyAll: T
4344
4382
  };
4345
4383
  }
4346
- const l5 = (n, e, r = "asc") => {
4384
+ const c5 = (n, e, r = "asc") => {
4347
4385
  if (n == null && e == null) return 0;
4348
4386
  if (n == null) return r === "asc" ? 1 : -1;
4349
4387
  if (e == null) return r === "asc" ? -1 : 1;
@@ -4354,7 +4392,7 @@ const l5 = (n, e, r = "asc") => {
4354
4392
  numeric: !0,
4355
4393
  sensitivity: "base"
4356
4394
  }), r === "desc" ? -t : t;
4357
- }, P1 = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1, i5 = (n, e, r) => {
4395
+ }, P1 = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1, d5 = (n, e, r) => {
4358
4396
  n.sortable && r({
4359
4397
  prop: n.prop,
4360
4398
  direction: e
@@ -4365,11 +4403,11 @@ const l5 = (n, e, r = "asc") => {
4365
4403
  asc: ["vt-th__sort-icon", r && t === "asc" && "vt-th__sortable-active"].filter(Boolean).join(" "),
4366
4404
  desc: ["vt-th__sort-icon", r && t === "desc" && "vt-th__sortable-active"].filter(Boolean).join(" ")
4367
4405
  };
4368
- }, a5 = (n, e, r) => {
4406
+ }, h5 = (n, e, r) => {
4369
4407
  if (!e) return [...n];
4370
4408
  const t = r.find((c) => c.prop === e.prop);
4371
4409
  if (!(t != null && t.sortable)) return [...n];
4372
- const i = t.sortMethod || l5;
4410
+ const i = t.sortMethod || c5;
4373
4411
  return [...n].sort((c, d) => {
4374
4412
  const p = c[t.prop], f = d[t.prop];
4375
4413
  return i(p, f, e.direction);
@@ -4507,7 +4545,7 @@ const l5 = (n, e, r = "asc") => {
4507
4545
  ], 2));
4508
4546
  }
4509
4547
  });
4510
- class u5 {
4548
+ class p5 {
4511
4549
  constructor() {
4512
4550
  this.modalStack = [], this.baseZIndex = 1e3, this.parentApp = null;
4513
4551
  }
@@ -4601,7 +4639,7 @@ class u5 {
4601
4639
  recalculateZIndices() {
4602
4640
  }
4603
4641
  }
4604
- const Ge = new u5(), c5 = {
4642
+ const Ge = new p5(), v5 = {
4605
4643
  install(n) {
4606
4644
  Ge.setParentApp(n), n.config.globalProperties.$modal = Ge, n.config.globalProperties.$modalStack = {
4607
4645
  closeAll: () => Ge.closeAll(),
@@ -4609,16 +4647,16 @@ const Ge = new u5(), c5 = {
4609
4647
  closeById: (e) => Ge.closeById(e)
4610
4648
  };
4611
4649
  }
4612
- }, d5 = { class: "vt-columns-selector-body" }, h5 = { class: "vt-columns-selector" }, p5 = { class: "vt-columns-selector__panel" }, v5 = ["draggable", "onDragstart", "onDragover", "onDrop"], f5 = {
4650
+ }, f5 = { class: "vt-columns-selector-body" }, C5 = { class: "vt-columns-selector" }, m5 = { class: "vt-columns-selector__panel" }, _5 = ["draggable", "onDragstart", "onDragover", "onDrop"], g5 = {
4613
4651
  key: 0,
4614
4652
  class: "vt-columns-selector__panel-item-pinned"
4615
- }, C5 = { class: "vt-columns-selector__available" }, m5 = ["onClick"], _5 = {
4653
+ }, w5 = { class: "vt-columns-selector__available" }, k5 = ["onClick"], b5 = {
4616
4654
  key: 0,
4617
4655
  class: "vt-columns-selector__group-columns"
4618
- }, g5 = {
4656
+ }, y5 = {
4619
4657
  key: 0,
4620
4658
  class: "vt-columns-selector__pinned-note"
4621
- }, w5 = { class: "vt-modal__content-button" }, k5 = /* @__PURE__ */ we({
4659
+ }, $5 = { class: "vt-modal__content-button" }, M5 = /* @__PURE__ */ we({
4622
4660
  __name: "VTableColumnSelector",
4623
4661
  props: {
4624
4662
  columns: {},
@@ -4727,9 +4765,9 @@ const Ge = new u5(), c5 = {
4727
4765
  };
4728
4766
  return ze(() => {
4729
4767
  E();
4730
- }), (I, P) => (l(), a("div", d5, [
4731
- o("div", h5, [
4732
- o("div", p5, [
4768
+ }), (I, P) => (l(), a("div", f5, [
4769
+ o("div", C5, [
4770
+ o("div", m5, [
4733
4771
  (l(!0), a(ie, null, pe(i.value, (K, re) => (l(), a("div", {
4734
4772
  key: K.prop,
4735
4773
  class: G(q(re)),
@@ -4752,10 +4790,10 @@ const Ge = new u5(), c5 = {
4752
4790
  onClick: P[0] || (P[0] = Se(() => {
4753
4791
  }, ["stop"]))
4754
4792
  }, null, 8, ["label", "disabled", "onChange"]),
4755
- _(K) ? (l(), a("span", f5, "pinned")) : Z("", !0)
4756
- ], 42, v5))), 128))
4793
+ _(K) ? (l(), a("span", g5, "pinned")) : Z("", !0)
4794
+ ], 42, _5))), 128))
4757
4795
  ]),
4758
- o("div", C5, [
4796
+ o("div", w5, [
4759
4797
  (l(!0), a(ie, null, pe(h.value, (K) => {
4760
4798
  var re, ue;
4761
4799
  return l(), a("div", {
@@ -4779,8 +4817,8 @@ const Ge = new u5(), c5 = {
4779
4817
  name: K.icon,
4780
4818
  class: "vt-columns-selector__group-icon"
4781
4819
  }, null, 8, ["name"])) : Z("", !0)
4782
- ], 8, m5),
4783
- c.value.has(K.name) ? (l(), a("div", _5, [
4820
+ ], 8, k5),
4821
+ c.value.has(K.name) ? (l(), a("div", b5, [
4784
4822
  (l(!0), a(ie, null, pe(K.columns, (se) => (l(), a("div", {
4785
4823
  key: se.prop,
4786
4824
  class: "vt-columns-selector__group-column"
@@ -4791,14 +4829,14 @@ const Ge = new u5(), c5 = {
4791
4829
  disabled: !A(se),
4792
4830
  onChange: (ce) => D(se, ce)
4793
4831
  }, null, 8, ["label", "checked", "disabled", "onChange"]),
4794
- A(se) ? Z("", !0) : (l(), a("span", g5, " (закріплена) "))
4832
+ A(se) ? Z("", !0) : (l(), a("span", y5, " (закріплена) "))
4795
4833
  ]))), 128))
4796
4834
  ])) : Z("", !0)
4797
4835
  ]);
4798
4836
  }), 128))
4799
4837
  ])
4800
4838
  ]),
4801
- o("div", w5, [
4839
+ o("div", $5, [
4802
4840
  ne(Je, { onClick: Ce }, {
4803
4841
  default: xe(() => P[2] || (P[2] = [
4804
4842
  $e("Скасувати", -1)
@@ -4819,7 +4857,7 @@ const Ge = new u5(), c5 = {
4819
4857
  ])
4820
4858
  ]));
4821
4859
  }
4822
- }), b5 = { class: "vt-table-header-actions" }, y5 = /* @__PURE__ */ we({
4860
+ }), x5 = { class: "vt-table-header-actions" }, L5 = /* @__PURE__ */ we({
4823
4861
  __name: "ColumnActions",
4824
4862
  props: {
4825
4863
  column: {},
@@ -4870,7 +4908,7 @@ const Ge = new u5(), c5 = {
4870
4908
  console.log("handleToggleVisibility called");
4871
4909
  const h = f(r.allColumns);
4872
4910
  Ge.open({
4873
- component: k5,
4911
+ component: M5,
4874
4912
  title: "Управління колонками таблиці",
4875
4913
  props: {
4876
4914
  columns: r.allColumns,
@@ -4908,23 +4946,23 @@ const Ge = new u5(), c5 = {
4908
4946
  })
4909
4947
  ]),
4910
4948
  default: xe(() => [
4911
- o("div", b5, [
4949
+ o("div", x5, [
4912
4950
  ne(fe, { name: "listBullet" })
4913
4951
  ])
4914
4952
  ]),
4915
4953
  _: 1
4916
4954
  }));
4917
4955
  }
4918
- }), $5 = { class: "vt-table" }, M5 = { key: 0 }, x5 = { class: "vt-th__content" }, L5 = { class: "vt-th__content" }, S5 = { class: "vt-th__label" }, V5 = {
4956
+ }), S5 = { class: "vt-table" }, V5 = { key: 0 }, D5 = { class: "vt-th__content" }, H5 = { class: "vt-th__content" }, T5 = { class: "vt-th__label" }, I5 = {
4919
4957
  key: 0,
4920
4958
  class: "vt-th__sortable"
4921
- }, D5 = ["data-resizer", "onMousedown"], H5 = {
4959
+ }, B5 = ["data-resizer", "onMousedown"], E5 = {
4922
4960
  key: 0,
4923
4961
  class: "vt-table__empty-row"
4924
- }, T5 = ["colspan"], I5 = { class: "vt-table__empty-content" }, B5 = ["onClick"], E5 = { class: "vt-table__cell-content" }, A5 = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, j5 = { key: 1 }, P5 = ["data-resizer", "onMousedown"], R5 = {
4962
+ }, A5 = ["colspan"], j5 = { class: "vt-table__empty-content" }, P5 = ["onClick"], R5 = { class: "vt-table__cell-content" }, F5 = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, Z5 = { key: 1 }, z5 = ["data-resizer", "onMousedown"], O5 = {
4925
4963
  key: 1,
4926
4964
  class: "vt-table__summary"
4927
- }, F5 = { class: "vt-table__cell-content vt-table__cell-content--summary" }, $1 = 50, Z5 = /* @__PURE__ */ we({
4965
+ }, Y5 = { class: "vt-table__cell-content vt-table__cell-content--summary" }, $1 = 50, N5 = /* @__PURE__ */ we({
4928
4966
  __name: "VTable",
4929
4967
  props: /* @__PURE__ */ B1({
4930
4968
  data: {},
@@ -4953,7 +4991,7 @@ const Ge = new u5(), c5 = {
4953
4991
  }),
4954
4992
  emits: /* @__PURE__ */ B1(["sort-change", "selection-change", "current-change", "row-click", "update:columns", "column-pin", "column-resize", "column-visibility", "column-sort", "columns-change", "infinity-scroll"], ["update:columns"]),
4955
4993
  setup(n, { expose: e, emit: r }) {
4956
- const t = n, i = r, c = mt(n, "columns"), d = B({}), p = B(), f = H1([]), v = B(t.defaultSort || null), h = x(() => a5(t.data || [], v.value, f)), _ = x(() => c.value !== void 0), g = x(() => t.data && t.data.length > 0), y = B(!1), s = B(0);
4994
+ const t = n, i = r, c = mt(n, "columns"), d = B({}), p = B(), f = H1([]), v = B(t.defaultSort || null), h = x(() => h5(t.data || [], v.value, f)), _ = x(() => c.value !== void 0), g = x(() => t.data && t.data.length > 0), y = B(!1), s = B(0);
4957
4995
  let N;
4958
4996
  const j = (F, X) => t.rowKey && F[t.rowKey] != null ? String(F[t.rowKey]) : String(X);
4959
4997
  Me(
@@ -4969,7 +5007,7 @@ const Ge = new u5(), c5 = {
4969
5007
  },
4970
5008
  { deep: !0 }
4971
5009
  ), p1("vt-table-columns", f);
4972
- const { sortedColumns: S, getDefaultColumnWidth: V, getStickyOffset: T } = n5(f), { getTableWrapperStyle: U, getColumnStyle: q, getHeaderStyle: E, getFooterStyle: D } = o5(t), { onMouseDown: Q } = s5(), oe = x(() => t.allData || t.data), A = t.selectable ? r5(t, h, i, oe) : null, J = () => ({
5010
+ const { sortedColumns: S, getDefaultColumnWidth: V, getStickyOffset: T } = l5(f), { getTableWrapperStyle: U, getColumnStyle: q, getHeaderStyle: E, getFooterStyle: D } = i5(t), { onMouseDown: Q } = a5(), oe = x(() => t.allData || t.data), A = t.selectable ? u5(t, h, i, oe) : null, J = () => ({
4973
5011
  width: `${$1}px`,
4974
5012
  minWidth: `${$1}px`,
4975
5013
  maxWidth: `${$1}px`,
@@ -5008,7 +5046,7 @@ const Ge = new u5(), c5 = {
5008
5046
  N && clearTimeout(N), p.value && p.value.removeEventListener("scroll", I);
5009
5047
  });
5010
5048
  const K = (F, X) => {
5011
- i5(F, X, (ae) => {
5049
+ d5(F, X, (ae) => {
5012
5050
  var _e, me;
5013
5051
  ((_e = v.value) == null ? void 0 : _e.prop) === F.prop && v.value.direction === X ? v.value = null : v.value = ae, i("sort-change", {
5014
5052
  column: F,
@@ -5115,8 +5153,8 @@ const Ge = new u5(), c5 = {
5115
5153
  onScroll: I
5116
5154
  }, [
5117
5155
  Ve(F.$slots, "default"),
5118
- o("table", $5, [
5119
- t.hideHeader ? Z("", !0) : (l(), a("thead", M5, [
5156
+ o("table", S5, [
5157
+ t.hideHeader ? Z("", !0) : (l(), a("thead", V5, [
5120
5158
  o("tr", null, [
5121
5159
  t.selectable ? (l(), a("th", {
5122
5160
  key: 0,
@@ -5126,7 +5164,7 @@ const Ge = new u5(), c5 = {
5126
5164
  }, "vt-table__th vt-table__th--selection"]),
5127
5165
  style: Be(he())
5128
5166
  }, [
5129
- o("div", x5, [
5167
+ o("div", D5, [
5130
5168
  ne(o1, {
5131
5169
  checked: (_e = O(A)) == null ? void 0 : _e.isAllSelected.value,
5132
5170
  indeterminate: (me = O(A)) == null ? void 0 : me.isIndeterminate.value,
@@ -5150,13 +5188,13 @@ const Ge = new u5(), c5 = {
5150
5188
  ]),
5151
5189
  style: Be(Fe(w, u))
5152
5190
  }, [
5153
- o("div", L5, [
5154
- i1((l(), a("div", S5, [
5191
+ o("div", H5, [
5192
+ i1((l(), a("div", T5, [
5155
5193
  $e(R(w.label), 1)
5156
5194
  ])), [
5157
5195
  [ae, w.label]
5158
5196
  ]),
5159
- w.sortable ? (l(), a("div", V5, [
5197
+ w.sortable ? (l(), a("div", I5, [
5160
5198
  ne(fe, {
5161
5199
  class: G(O(R1)(w, v.value).asc),
5162
5200
  name: "arrowTop",
@@ -5168,7 +5206,7 @@ const Ge = new u5(), c5 = {
5168
5206
  onClick: Se((C) => K(w, "desc"), ["stop"])
5169
5207
  }, null, 8, ["class", "onClick"])
5170
5208
  ])) : Z("", !0),
5171
- w.actionColumn ? (l(), ge(y5, {
5209
+ w.actionColumn ? (l(), ge(L5, {
5172
5210
  key: 1,
5173
5211
  "all-columns": O(S),
5174
5212
  column: w,
@@ -5181,7 +5219,7 @@ const Ge = new u5(), c5 = {
5181
5219
  "data-resizer": w.prop,
5182
5220
  class: "vt-table__resizer",
5183
5221
  onMousedown: (C) => De(C, w)
5184
- }, null, 40, D5)
5222
+ }, null, 40, B5)
5185
5223
  ], 6))), 128))
5186
5224
  ])
5187
5225
  ])),
@@ -5208,7 +5246,7 @@ const Ge = new u5(), c5 = {
5208
5246
  }, "vt-table__td vt-table__td--selection"]),
5209
5247
  style: Be(J())
5210
5248
  }, [
5211
- o("div", E5, [
5249
+ o("div", R5, [
5212
5250
  ne(o1, {
5213
5251
  checked: (z = O(A)) == null ? void 0 : z.isRowSelected(w),
5214
5252
  onChange: (le, ke) => Ee(le, w, ke)
@@ -5228,14 +5266,14 @@ const Ge = new u5(), c5 = {
5228
5266
  ]),
5229
5267
  style: Be(be(le, ke))
5230
5268
  }, [
5231
- i1((l(), a("div", A5, [
5269
+ i1((l(), a("div", F5, [
5232
5270
  le.renderSlot ? (l(), ge(w1(le.renderSlot), {
5233
5271
  key: 0,
5234
5272
  column: le,
5235
5273
  index: u,
5236
5274
  row: w,
5237
5275
  value: w[le.prop]
5238
- }, null, 8, ["column", "index", "row", "value"])) : (l(), a("span", j5, R(w[le.prop]), 1))
5276
+ }, null, 8, ["column", "index", "row", "value"])) : (l(), a("span", Z5, R(w[le.prop]), 1))
5239
5277
  ])), [
5240
5278
  [ae, le.showOverflowTooltip ? We(w, le) : null]
5241
5279
  ]),
@@ -5243,25 +5281,25 @@ const Ge = new u5(), c5 = {
5243
5281
  "data-resizer": le.prop,
5244
5282
  class: "vt-table__resizer",
5245
5283
  onMousedown: (Le) => De(Le, le)
5246
- }, null, 40, P5)
5284
+ }, null, 40, z5)
5247
5285
  ], 6))), 128))
5248
- ], 10, B5);
5249
- }), 128)) : (l(), a("tr", H5, [
5286
+ ], 10, P5);
5287
+ }), 128)) : (l(), a("tr", E5, [
5250
5288
  o("td", {
5251
5289
  colspan: O(S).length + (t.selectable ? 1 : 0),
5252
5290
  class: "vt-table__empty-cell"
5253
5291
  }, [
5254
- o("div", I5, [
5292
+ o("div", j5, [
5255
5293
  ne(fe, {
5256
5294
  class: "vt-table__empty-icon",
5257
5295
  name: "empty"
5258
5296
  }),
5259
5297
  X[0] || (X[0] = o("span", { class: "vt-table__empty-text" }, "Немає даних!", -1))
5260
5298
  ])
5261
- ], 8, T5)
5299
+ ], 8, A5)
5262
5300
  ]))
5263
5301
  ]),
5264
- Y.value ? (l(), a("tfoot", R5, [
5302
+ Y.value ? (l(), a("tfoot", O5, [
5265
5303
  o("tr", null, [
5266
5304
  t.selectable ? (l(), a("td", {
5267
5305
  key: 0,
@@ -5283,7 +5321,7 @@ const Ge = new u5(), c5 = {
5283
5321
  ]),
5284
5322
  style: Be(Ne(w, u))
5285
5323
  }, [
5286
- o("div", F5, R(k.value[w.prop]), 1)
5324
+ o("div", Y5, R(k.value[w.prop]), 1)
5287
5325
  ], 6))), 128))
5288
5326
  ])
5289
5327
  ])) : Z("", !0)
@@ -5291,7 +5329,7 @@ const Ge = new u5(), c5 = {
5291
5329
  ], 36);
5292
5330
  };
5293
5331
  }
5294
- }), z5 = /* @__PURE__ */ we({
5332
+ }), W5 = /* @__PURE__ */ we({
5295
5333
  __name: "VTableColumn",
5296
5334
  props: {
5297
5335
  prop: {},
@@ -5369,7 +5407,7 @@ const Ge = new u5(), c5 = {
5369
5407
  }
5370
5408
  }), (d, p) => null;
5371
5409
  }
5372
- }), F4 = {
5410
+ }), Y4 = {
5373
5411
  yyyy: {
5374
5412
  pattern: /yyyy/g,
5375
5413
  replacement: (n) => String(n.getFullYear())
@@ -5414,7 +5452,7 @@ const Ge = new u5(), c5 = {
5414
5452
  pattern: new RegExp("(?<!s)s(?!s)", "g"),
5415
5453
  replacement: (n) => String(n.getSeconds())
5416
5454
  }
5417
- }, O5 = [
5455
+ }, q5 = [
5418
5456
  "Січень",
5419
5457
  "Лютий",
5420
5458
  "Березень",
@@ -5427,7 +5465,7 @@ const Ge = new u5(), c5 = {
5427
5465
  "Жовтень",
5428
5466
  "Листопад",
5429
5467
  "Грудень"
5430
- ], it = ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], Z4 = ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"], M1 = ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], Y5 = {
5468
+ ], it = ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], N4 = ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"], M1 = ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], U5 = {
5431
5469
  date: "yyyy-MM-dd",
5432
5470
  datetime: "yyyy-MM-dd HH:mm:ss",
5433
5471
  daterange: "yyyy-MM-dd",
@@ -5444,9 +5482,9 @@ const Ge = new u5(), c5 = {
5444
5482
  return !isNaN(e.getTime());
5445
5483
  }
5446
5484
  return !1;
5447
- }, N5 = (n) => Array.isArray(n) ? n.length === 0 || n.every((e) => !e) : !1, W5 = (n, e, r) => {
5485
+ }, K5 = (n) => Array.isArray(n) ? n.length === 0 || n.every((e) => !e) : !1, X5 = (n, e, r) => {
5448
5486
  const t = [], i = ["daterange", "datetimerange", "monthrange", "yearrange"].includes(e);
5449
- if (r && (n ? i && N5(n) && t.push("Це поле є обов'язковим") : t.push("Це поле є обов'язковим")), n)
5487
+ if (r && (n ? i && K5(n) && t.push("Це поле є обов'язковим") : t.push("Це поле є обов'язковим")), n)
5450
5488
  if (i && !Array.isArray(n) ? t.push("Для діапазону очікується масив з двох дат") : !i && Array.isArray(n) && t.push("Для одиночного вибору очікується одна дата"), Array.isArray(n)) {
5451
5489
  if (n.length !== 2)
5452
5490
  t.push("Діапазон повинен містити дві дати");
@@ -5461,12 +5499,12 @@ const Ge = new u5(), c5 = {
5461
5499
  isValid: t.length === 0,
5462
5500
  errors: t
5463
5501
  };
5464
- }, q5 = () => {
5502
+ }, Q5 = () => {
5465
5503
  const n = (i, c) => {
5466
5504
  if (!i || !(i instanceof Date) || isNaN(i.getTime())) return "";
5467
5505
  const d = i.getFullYear(), p = i.getMonth(), f = i.getDate(), v = i.getHours(), h = v > 12 ? v - 12 : v === 0 ? 12 : v, _ = i.getMinutes(), g = i.getSeconds(), y = i.getTime();
5468
5506
  let s = c;
5469
- s = s.replace(/yyyy/g, String(d)), s = s.replace(/yy/g, String(d).slice(-2)), s = s.replace(/MMMM/g, O5[p]), s = s.replace(/MMM/g, it[p]), s = s.replace(/MM/g, String(p + 1).padStart(2, "0")), s = s.replace(/M/g, String(p + 1));
5507
+ s = s.replace(/yyyy/g, String(d)), s = s.replace(/yy/g, String(d).slice(-2)), s = s.replace(/MMMM/g, q5[p]), s = s.replace(/MMM/g, it[p]), s = s.replace(/MM/g, String(p + 1).padStart(2, "0")), s = s.replace(/M/g, String(p + 1));
5470
5508
  const N = r(i);
5471
5509
  return s = s.replace(/WW/g, String(N).padStart(2, "0")), s = s.replace(/W/g, String(N)), s = s.replace(/dd/g, String(f).padStart(2, "0")), s = s.replace(/d/g, String(f)), s = s.replace(/HH/g, String(v).padStart(2, "0")), s = s.replace(/H/g, String(v)), s = s.replace(/hh/g, String(h).padStart(2, "0")), s = s.replace(/h/g, String(h)), s = s.replace(/mm/g, String(_).padStart(2, "0")), s = s.replace(/m/g, String(_)), s = s.replace(/ss/g, String(g).padStart(2, "0")), s = s.replace(/s/g, String(g)), s = s.replace(/A/g, v >= 12 ? "PM" : "AM"), s = s.replace(/a/g, v >= 12 ? "pm" : "am"), s = s.replace(/timestamp/g, String(y)), s = s.replace(/\[([^\]]+)\]/g, "$1"), s;
5472
5510
  }, e = (i) => {
@@ -5483,10 +5521,10 @@ const Ge = new u5(), c5 = {
5483
5521
  formatDate: n,
5484
5522
  parseDate: e,
5485
5523
  getWeekOfYear: r,
5486
- getDefaultFormat: (i) => Y5[i] || "yyyy-MM-dd"
5524
+ getDefaultFormat: (i) => U5[i] || "yyyy-MM-dd"
5487
5525
  };
5488
- }, U5 = (n, e, r, t, i) => {
5489
- const { formatDate: c, parseDate: d, getDefaultFormat: p } = q5(), f = x(() => ["datetimerange", "daterange", "monthrange", "yearrange"].includes(e.value)), v = x(() => r.value || p(e.value)), h = x(() => t.value || p(e.value)), _ = x(() => n.value ? f.value ? Array.isArray(n.value) && n.value.length === 2 ? [d(n.value[0]), d(n.value[1])] : [null, null] : d(n.value) : f.value ? [null, null] : null), g = x(() => {
5526
+ }, G5 = (n, e, r, t, i) => {
5527
+ const { formatDate: c, parseDate: d, getDefaultFormat: p } = Q5(), f = x(() => ["datetimerange", "daterange", "monthrange", "yearrange"].includes(e.value)), v = x(() => r.value || p(e.value)), h = x(() => t.value || p(e.value)), _ = x(() => n.value ? f.value ? Array.isArray(n.value) && n.value.length === 2 ? [d(n.value[0]), d(n.value[1])] : [null, null] : d(n.value) : f.value ? [null, null] : null), g = x(() => {
5490
5528
  if (f.value) {
5491
5529
  const [j, S] = _.value;
5492
5530
  if (j && S) {
@@ -5520,7 +5558,7 @@ const Ge = new u5(), c5 = {
5520
5558
  } else
5521
5559
  return t.value === "timestamp" ? j.getTime() : t.value ? c(j, h.value) : j;
5522
5560
  },
5523
- validate: (j = !1) => W5(n.value, e.value, j),
5561
+ validate: (j = !1) => X5(n.value, e.value, j),
5524
5562
  formatDate: c,
5525
5563
  parseDate: d
5526
5564
  };
@@ -5588,7 +5626,7 @@ const Ge = new u5(), c5 = {
5588
5626
  // hh:mm:ss AM/PM (12h)
5589
5627
  /^(0?[1-9]|1[0-2]):([0-5]\d)\s?(AM|PM)$/i
5590
5628
  // hh:mm AM/PM (12h)
5591
- ].some((r) => r.test(n.trim())) : !1, K5 = (n, e, r) => {
5629
+ ].some((r) => r.test(n.trim())) : !1, J5 = (n, e, r) => {
5592
5630
  const t = [], i = e === "timerange";
5593
5631
  if (r && (n ? i && Array.isArray(n) && (n.length !== 2 || !n[0] || !n[1]) && t.push("Необхідно вибрати початковий та кінцевий час") : t.push("Це поле є обов'язковим")), n)
5594
5632
  if (i && !Array.isArray(n) ? t.push("Для діапазону очікується масив з двох значень часу") : !i && Array.isArray(n) && t.push("Для одиночного вибору очікується одне значення часу"), Array.isArray(n)) {
@@ -5629,13 +5667,13 @@ const Ge = new u5(), c5 = {
5629
5667
  }
5630
5668
  }
5631
5669
  return null;
5632
- }, X5 = (n, e, r = 0, t = "HH:mm:ss", i = !1) => {
5670
+ }, e6 = (n, e, r = 0, t = "HH:mm:ss", i = !1) => {
5633
5671
  let c = n;
5634
5672
  i && (c = n === 0 ? 12 : n > 12 ? n - 12 : n);
5635
5673
  const d = c.toString().padStart(2, "0"), p = e.toString().padStart(2, "0"), f = r.toString().padStart(2, "0");
5636
5674
  let v = t;
5637
5675
  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, f), v = v.replace(/s/g, r.toString()), v = v.replace(/A/g, n >= 12 ? "PM" : "AM"), v = v.replace(/a/g, n >= 12 ? "pm" : "am"), v;
5638
- }, Q5 = (n) => {
5676
+ }, t6 = (n) => {
5639
5677
  if (!n) return null;
5640
5678
  const e = [
5641
5679
  /^(\d{1,2}):(\d{2}):(\d{2})$/,
@@ -5665,40 +5703,40 @@ const Ge = new u5(), c5 = {
5665
5703
  disabled: t.includes(c)
5666
5704
  });
5667
5705
  return i;
5668
- }, G5 = { class: "vt-timepicker__input" }, J5 = { class: "vt-timepicker__icon" }, e6 = {
5706
+ }, n6 = { class: "vt-timepicker__input" }, o6 = { class: "vt-timepicker__icon" }, s6 = {
5669
5707
  key: 0,
5670
5708
  class: "vt-timepicker__text"
5671
- }, t6 = {
5709
+ }, r6 = {
5672
5710
  key: 1,
5673
5711
  class: "vt-timepicker__placeholder"
5674
- }, n6 = { class: "vt-timepicker__suffix" }, o6 = ["disabled"], s6 = {
5712
+ }, l6 = { class: "vt-timepicker__suffix" }, i6 = ["disabled"], a6 = {
5675
5713
  key: 0,
5676
5714
  class: "vt-timepicker__dual-panel"
5677
- }, r6 = { class: "vt-timepicker__panel" }, l6 = { class: "vt-timepicker__time-columns" }, i6 = { class: "vt-timepicker__column" }, a6 = { class: "vt-timepicker__options" }, u6 = ["disabled", "onClick"], c6 = { class: "vt-timepicker__column" }, d6 = { class: "vt-timepicker__options" }, h6 = ["disabled", "onClick"], p6 = {
5715
+ }, u6 = { class: "vt-timepicker__panel" }, c6 = { class: "vt-timepicker__time-columns" }, d6 = { class: "vt-timepicker__column" }, h6 = { class: "vt-timepicker__options" }, p6 = ["disabled", "onClick"], v6 = { class: "vt-timepicker__column" }, f6 = { class: "vt-timepicker__options" }, C6 = ["disabled", "onClick"], m6 = {
5678
5716
  key: 0,
5679
5717
  class: "vt-timepicker__column"
5680
- }, v6 = { class: "vt-timepicker__options" }, f6 = ["disabled", "onClick"], C6 = {
5718
+ }, _6 = { class: "vt-timepicker__options" }, g6 = ["disabled", "onClick"], w6 = {
5681
5719
  key: 1,
5682
5720
  class: "vt-timepicker__column"
5683
- }, m6 = { class: "vt-timepicker__options" }, _6 = ["onClick"], g6 = { class: "vt-timepicker__panel" }, w6 = { class: "vt-timepicker__time-columns" }, k6 = { class: "vt-timepicker__column" }, b6 = { class: "vt-timepicker__options" }, y6 = ["disabled", "onClick"], $6 = { class: "vt-timepicker__column" }, M6 = { class: "vt-timepicker__options" }, x6 = ["disabled", "onClick"], L6 = {
5721
+ }, k6 = { class: "vt-timepicker__options" }, b6 = ["onClick"], y6 = { class: "vt-timepicker__panel" }, $6 = { class: "vt-timepicker__time-columns" }, M6 = { class: "vt-timepicker__column" }, x6 = { class: "vt-timepicker__options" }, L6 = ["disabled", "onClick"], S6 = { class: "vt-timepicker__column" }, V6 = { class: "vt-timepicker__options" }, D6 = ["disabled", "onClick"], H6 = {
5684
5722
  key: 0,
5685
5723
  class: "vt-timepicker__column"
5686
- }, S6 = { class: "vt-timepicker__options" }, V6 = ["disabled", "onClick"], D6 = {
5724
+ }, T6 = { class: "vt-timepicker__options" }, I6 = ["disabled", "onClick"], B6 = {
5687
5725
  key: 1,
5688
5726
  class: "vt-timepicker__column"
5689
- }, H6 = { class: "vt-timepicker__options" }, T6 = ["onClick"], I6 = {
5727
+ }, E6 = { class: "vt-timepicker__options" }, A6 = ["onClick"], j6 = {
5690
5728
  key: 1,
5691
5729
  class: "vt-timepicker__single-panel"
5692
- }, B6 = { class: "vt-timepicker__time-columns" }, E6 = { class: "vt-timepicker__column" }, A6 = { class: "vt-timepicker__options" }, j6 = ["disabled", "onClick"], P6 = { class: "vt-timepicker__column" }, R6 = { class: "vt-timepicker__options" }, F6 = ["disabled", "onClick"], Z6 = {
5730
+ }, P6 = { class: "vt-timepicker__time-columns" }, R6 = { class: "vt-timepicker__column" }, F6 = { class: "vt-timepicker__options" }, Z6 = ["disabled", "onClick"], z6 = { class: "vt-timepicker__column" }, O6 = { class: "vt-timepicker__options" }, Y6 = ["disabled", "onClick"], N6 = {
5693
5731
  key: 0,
5694
5732
  class: "vt-timepicker__column"
5695
- }, z6 = { class: "vt-timepicker__options" }, O6 = ["disabled", "onClick"], Y6 = {
5733
+ }, W6 = { class: "vt-timepicker__options" }, q6 = ["disabled", "onClick"], U6 = {
5696
5734
  key: 1,
5697
5735
  class: "vt-timepicker__column"
5698
- }, N6 = { class: "vt-timepicker__options" }, W6 = ["onClick"], q6 = { class: "vt-timepicker__actions" }, U6 = {
5736
+ }, K6 = { class: "vt-timepicker__options" }, X6 = ["onClick"], Q6 = { class: "vt-timepicker__actions" }, G6 = {
5699
5737
  key: 1,
5700
5738
  class: "vt-timepicker__help"
5701
- }, K6 = {
5739
+ }, J6 = {
5702
5740
  key: 0,
5703
5741
  class: "vt-timepicker__error"
5704
5742
  }, m1 = /* @__PURE__ */ we({
@@ -5735,12 +5773,12 @@ const Ge = new u5(), c5 = {
5735
5773
  }, v = B(/* @__PURE__ */ new Map()), h = x(() => t.type === "timerange"), _ = (M) => {
5736
5774
  if (!M) return "";
5737
5775
  const { hour: w, minute: u, second: C } = M, ee = t.format || (t.showSeconds ? t.use12Hours ? C1["12h"] : C1["24h"] : t.use12Hours ? C1["12h_no_seconds"] : C1["24h_no_seconds"]);
5738
- return X5(w, u, C, ee, t.use12Hours);
5776
+ return e6(w, u, C, ee, t.use12Hours);
5739
5777
  }, g = (M) => M ? M instanceof Date ? {
5740
5778
  hour: M.getHours(),
5741
5779
  minute: M.getMinutes(),
5742
5780
  second: M.getSeconds()
5743
- } : typeof M == "string" && S1(M) ? Q5(M) : null : null, y = (M, w = !1) => K5(M, t.type, w), s = x(() => t.modelValue ? h.value ? Array.isArray(t.modelValue) && t.modelValue.length === 2 ? [g(t.modelValue[0]), g(t.modelValue[1])] : [null, null] : g(t.modelValue) : h.value ? [null, null] : null), N = x(() => {
5781
+ } : typeof M == "string" && S1(M) ? t6(M) : null : null, y = (M, w = !1) => J5(M, t.type, w), s = x(() => t.modelValue ? h.value ? Array.isArray(t.modelValue) && t.modelValue.length === 2 ? [g(t.modelValue[0]), g(t.modelValue[1])] : [null, null] : g(t.modelValue) : h.value ? [null, null] : null), N = x(() => {
5744
5782
  if (h.value) {
5745
5783
  const [M, w] = s.value;
5746
5784
  return M && w ? [_(M), _(w)] : M ? [_(M), ""] : ["", ""];
@@ -6026,11 +6064,11 @@ const Ge = new u5(), c5 = {
6026
6064
  onClick: W,
6027
6065
  onFocus: ye
6028
6066
  }, [
6029
- o("div", G5, [
6030
- o("div", J5, [
6067
+ o("div", n6, [
6068
+ o("div", o6, [
6031
6069
  ne(fe, { name: "clock" })
6032
6070
  ]),
6033
- j.value ? (l(), a("div", e6, [
6071
+ j.value ? (l(), a("div", s6, [
6034
6072
  h.value ? (l(), a(ie, { key: 0 }, [
6035
6073
  o("span", null, R(N.value[0]), 1),
6036
6074
  o("span", null, R(t.rangeSeparator), 1),
@@ -6038,7 +6076,7 @@ const Ge = new u5(), c5 = {
6038
6076
  ], 64)) : (l(), a(ie, { key: 1 }, [
6039
6077
  $e(R(N.value), 1)
6040
6078
  ], 64))
6041
- ])) : (l(), a("div", t6, [
6079
+ ])) : (l(), a("div", r6, [
6042
6080
  h.value ? (l(), a(ie, { key: 0 }, [
6043
6081
  o("span", null, R(t.startPlaceholder), 1),
6044
6082
  o("span", null, R(t.rangeSeparator), 1),
@@ -6047,7 +6085,7 @@ const Ge = new u5(), c5 = {
6047
6085
  $e(R(V.value), 1)
6048
6086
  ], 64))
6049
6087
  ])),
6050
- o("div", n6, [
6088
+ o("div", l6, [
6051
6089
  S.value ? (l(), a("button", {
6052
6090
  key: 0,
6053
6091
  disabled: t.disabled,
@@ -6056,7 +6094,7 @@ const Ge = new u5(), c5 = {
6056
6094
  onClick: Se(Ae, ["stop"])
6057
6095
  }, [
6058
6096
  ne(fe, { name: "close" })
6059
- ], 8, o6)) : Z("", !0)
6097
+ ], 8, i6)) : Z("", !0)
6060
6098
  ])
6061
6099
  ])
6062
6100
  ], 544),
@@ -6076,12 +6114,12 @@ const Ge = new u5(), c5 = {
6076
6114
  onMousedown: w[1] || (w[1] = Se(() => {
6077
6115
  }, ["prevent"]))
6078
6116
  }, [
6079
- h.value ? (l(), a("div", s6, [
6080
- o("div", r6, [
6117
+ h.value ? (l(), a("div", a6, [
6118
+ o("div", u6, [
6081
6119
  w[2] || (w[2] = o("div", { class: "vt-timepicker__panel-header" }, "Початковий час", -1)),
6082
- o("div", l6, [
6083
- o("div", i6, [
6084
- o("div", a6, [
6120
+ o("div", c6, [
6121
+ o("div", d6, [
6122
+ o("div", h6, [
6085
6123
  (l(!0), a(ie, null, pe(Ce.value, (u) => (l(), a("button", {
6086
6124
  key: `start-hour-${u.value}`,
6087
6125
  class: G([
@@ -6093,11 +6131,11 @@ const Ge = new u5(), c5 = {
6093
6131
  ]),
6094
6132
  disabled: u.disabled,
6095
6133
  onClick: (C) => k(u.value, "hour", !1, u.disabled, C)
6096
- }, R(u.label), 11, u6))), 128))
6134
+ }, R(u.label), 11, p6))), 128))
6097
6135
  ])
6098
6136
  ]),
6099
- o("div", c6, [
6100
- o("div", d6, [
6137
+ o("div", v6, [
6138
+ o("div", f6, [
6101
6139
  (l(!0), a(ie, null, pe(I.value, (u) => (l(), a("button", {
6102
6140
  key: `start-minute-${u.value}`,
6103
6141
  class: G([
@@ -6109,11 +6147,11 @@ const Ge = new u5(), c5 = {
6109
6147
  ]),
6110
6148
  disabled: u.disabled,
6111
6149
  onClick: (C) => k(u.value, "minute", !1, u.disabled, C)
6112
- }, R(u.label), 11, h6))), 128))
6150
+ }, R(u.label), 11, C6))), 128))
6113
6151
  ])
6114
6152
  ]),
6115
- M.showSeconds ? (l(), a("div", p6, [
6116
- o("div", v6, [
6153
+ M.showSeconds ? (l(), a("div", m6, [
6154
+ o("div", _6, [
6117
6155
  (l(!0), a(ie, null, pe(P.value, (u) => (l(), a("button", {
6118
6156
  key: `start-second-${u.value}`,
6119
6157
  class: G([
@@ -6125,11 +6163,11 @@ const Ge = new u5(), c5 = {
6125
6163
  ]),
6126
6164
  disabled: u.disabled,
6127
6165
  onClick: (C) => k(u.value, "second", !1, u.disabled, C)
6128
- }, R(u.label), 11, f6))), 128))
6166
+ }, R(u.label), 11, g6))), 128))
6129
6167
  ])
6130
6168
  ])) : Z("", !0),
6131
- M.use12Hours ? (l(), a("div", C6, [
6132
- o("div", m6, [
6169
+ M.use12Hours ? (l(), a("div", w6, [
6170
+ o("div", k6, [
6133
6171
  (l(!0), a(ie, null, pe(K.value, (u) => (l(), a("button", {
6134
6172
  key: `start-period-${u}`,
6135
6173
  class: G([
@@ -6137,16 +6175,16 @@ const Ge = new u5(), c5 = {
6137
6175
  { "vt-timepicker__option--selected": Q.value === u }
6138
6176
  ]),
6139
6177
  onClick: (C) => k(u, "period", !1, !1, C)
6140
- }, R(u), 11, _6))), 128))
6178
+ }, R(u), 11, b6))), 128))
6141
6179
  ])
6142
6180
  ])) : Z("", !0)
6143
6181
  ])
6144
6182
  ]),
6145
- o("div", g6, [
6183
+ o("div", y6, [
6146
6184
  w[3] || (w[3] = o("div", { class: "vt-timepicker__panel-header" }, "Кінцевий час", -1)),
6147
- o("div", w6, [
6148
- o("div", k6, [
6149
- o("div", b6, [
6185
+ o("div", $6, [
6186
+ o("div", M6, [
6187
+ o("div", x6, [
6150
6188
  (l(!0), a(ie, null, pe(Ce.value, (u) => (l(), a("button", {
6151
6189
  key: `end-hour-${u.value}`,
6152
6190
  class: G([
@@ -6158,11 +6196,11 @@ const Ge = new u5(), c5 = {
6158
6196
  ]),
6159
6197
  disabled: u.disabled,
6160
6198
  onClick: (C) => k(u.value, "hour", !0, u.disabled, C)
6161
- }, R(u.label), 11, y6))), 128))
6199
+ }, R(u.label), 11, L6))), 128))
6162
6200
  ])
6163
6201
  ]),
6164
- o("div", $6, [
6165
- o("div", M6, [
6202
+ o("div", S6, [
6203
+ o("div", V6, [
6166
6204
  (l(!0), a(ie, null, pe(I.value, (u) => (l(), a("button", {
6167
6205
  key: `end-minute-${u.value}`,
6168
6206
  class: G([
@@ -6174,11 +6212,11 @@ const Ge = new u5(), c5 = {
6174
6212
  ]),
6175
6213
  disabled: u.disabled,
6176
6214
  onClick: (C) => k(u.value, "minute", !0, u.disabled, C)
6177
- }, R(u.label), 11, x6))), 128))
6215
+ }, R(u.label), 11, D6))), 128))
6178
6216
  ])
6179
6217
  ]),
6180
- M.showSeconds ? (l(), a("div", L6, [
6181
- o("div", S6, [
6218
+ M.showSeconds ? (l(), a("div", H6, [
6219
+ o("div", T6, [
6182
6220
  (l(!0), a(ie, null, pe(P.value, (u) => (l(), a("button", {
6183
6221
  key: `end-second-${u.value}`,
6184
6222
  class: G([
@@ -6190,24 +6228,24 @@ const Ge = new u5(), c5 = {
6190
6228
  ]),
6191
6229
  disabled: u.disabled,
6192
6230
  onClick: (C) => k(u.value, "second", !0, u.disabled, C)
6193
- }, R(u.label), 11, V6))), 128))
6231
+ }, R(u.label), 11, I6))), 128))
6194
6232
  ])
6195
6233
  ])) : Z("", !0),
6196
- M.use12Hours ? (l(), a("div", D6, [
6197
- o("div", H6, [
6234
+ M.use12Hours ? (l(), a("div", B6, [
6235
+ o("div", E6, [
6198
6236
  (l(!0), a(ie, null, pe(K.value, (u) => (l(), a("button", {
6199
6237
  key: `end-period-${u}`,
6200
6238
  class: G(["vt-timepicker__option", { "vt-timepicker__option--selected": he.value === u }]),
6201
6239
  onClick: (C) => k(u, "period", !0, !1, C)
6202
- }, R(u), 11, T6))), 128))
6240
+ }, R(u), 11, A6))), 128))
6203
6241
  ])
6204
6242
  ])) : Z("", !0)
6205
6243
  ])
6206
6244
  ])
6207
- ])) : (l(), a("div", I6, [
6208
- o("div", B6, [
6209
- o("div", E6, [
6210
- o("div", A6, [
6245
+ ])) : (l(), a("div", j6, [
6246
+ o("div", P6, [
6247
+ o("div", R6, [
6248
+ o("div", F6, [
6211
6249
  (l(!0), a(ie, null, pe(Ce.value, (u) => (l(), a("button", {
6212
6250
  key: `hour-${u.value}`,
6213
6251
  class: G([
@@ -6219,11 +6257,11 @@ const Ge = new u5(), c5 = {
6219
6257
  ]),
6220
6258
  disabled: u.disabled,
6221
6259
  onClick: (C) => k(u.value, "hour", !1, u.disabled, C)
6222
- }, R(u.label), 11, j6))), 128))
6260
+ }, R(u.label), 11, Z6))), 128))
6223
6261
  ])
6224
6262
  ]),
6225
- o("div", P6, [
6226
- o("div", R6, [
6263
+ o("div", z6, [
6264
+ o("div", O6, [
6227
6265
  (l(!0), a(ie, null, pe(I.value, (u) => (l(), a("button", {
6228
6266
  key: `minute-${u.value}`,
6229
6267
  class: G([
@@ -6235,11 +6273,11 @@ const Ge = new u5(), c5 = {
6235
6273
  ]),
6236
6274
  disabled: u.disabled,
6237
6275
  onClick: (C) => k(u.value, "minute", !1, u.disabled, C)
6238
- }, R(u.label), 11, F6))), 128))
6276
+ }, R(u.label), 11, Y6))), 128))
6239
6277
  ])
6240
6278
  ]),
6241
- M.showSeconds ? (l(), a("div", Z6, [
6242
- o("div", z6, [
6279
+ M.showSeconds ? (l(), a("div", N6, [
6280
+ o("div", W6, [
6243
6281
  (l(!0), a(ie, null, pe(P.value, (u) => (l(), a("button", {
6244
6282
  key: `second-${u.value}`,
6245
6283
  class: G([
@@ -6251,21 +6289,21 @@ const Ge = new u5(), c5 = {
6251
6289
  ]),
6252
6290
  disabled: u.disabled,
6253
6291
  onClick: (C) => k(u.value, "second", !1, u.disabled, C)
6254
- }, R(u.label), 11, O6))), 128))
6292
+ }, R(u.label), 11, q6))), 128))
6255
6293
  ])
6256
6294
  ])) : Z("", !0),
6257
- M.use12Hours ? (l(), a("div", Y6, [
6258
- o("div", N6, [
6295
+ M.use12Hours ? (l(), a("div", U6, [
6296
+ o("div", K6, [
6259
6297
  (l(!0), a(ie, null, pe(K.value, (u) => (l(), a("button", {
6260
6298
  key: `period-${u}`,
6261
6299
  class: G(["vt-timepicker__option", { "vt-timepicker__option--selected": Q.value === u }]),
6262
6300
  onClick: (C) => k(u, "period", !1, !1, C)
6263
- }, R(u), 11, W6))), 128))
6301
+ }, R(u), 11, X6))), 128))
6264
6302
  ])
6265
6303
  ])) : Z("", !0)
6266
6304
  ])
6267
6305
  ])),
6268
- o("div", q6, [
6306
+ o("div", Q6, [
6269
6307
  ne(Je, { onClick: e1 }, {
6270
6308
  default: xe(() => w[4] || (w[4] = [
6271
6309
  $e("Скасувати", -1)
@@ -6289,51 +6327,51 @@ const Ge = new u5(), c5 = {
6289
6327
  _: 1
6290
6328
  })
6291
6329
  ])) : Z("", !0),
6292
- U.value ? (l(), a("div", U6, [
6293
- U.value ? (l(), a("span", K6, R(U.value), 1)) : Z("", !0)
6330
+ U.value ? (l(), a("div", G6, [
6331
+ U.value ? (l(), a("span", J6, R(U.value), 1)) : Z("", !0)
6294
6332
  ])) : Z("", !0)
6295
6333
  ], 2));
6296
6334
  }
6297
- }), X6 = { class: "vt-datepicker__input" }, Q6 = { class: "vt-datepicker__icon" }, G6 = {
6335
+ }), e0 = { class: "vt-datepicker__input" }, t0 = { class: "vt-datepicker__icon" }, n0 = {
6298
6336
  key: 0,
6299
6337
  class: "vt-datepicker__text"
6300
- }, J6 = { class: "vt-datepicker__separator" }, e0 = {
6338
+ }, o0 = { class: "vt-datepicker__separator" }, s0 = {
6301
6339
  key: 1,
6302
6340
  class: "vt-datepicker__placeholder"
6303
- }, t0 = { class: "vt-datepicker__separator" }, n0 = { class: "vt-datepicker__suffix" }, o0 = ["disabled"], s0 = {
6341
+ }, r0 = { class: "vt-datepicker__separator" }, l0 = { class: "vt-datepicker__suffix" }, i0 = ["disabled"], a0 = {
6304
6342
  key: 0,
6305
6343
  class: "vt-datepicker__dual-calendar"
6306
- }, r0 = { class: "vt-datepicker__calendar-panel" }, l0 = {
6344
+ }, u0 = { class: "vt-datepicker__calendar-panel" }, c0 = {
6307
6345
  key: 0,
6308
6346
  class: "vt-datepicker__time"
6309
- }, i0 = { class: "vt-datepicker__header" }, a0 = { class: "vt-datepicker__header-content" }, u0 = { class: "vt-datepicker__content" }, c0 = { class: "vt-datepicker__calendar" }, d0 = { class: "vt-datepicker__weekdays" }, h0 = { class: "vt-datepicker__dates" }, p0 = ["disabled", "onClick", "onMouseenter"], v0 = { class: "vt-datepicker__calendar-panel" }, f0 = {
6347
+ }, d0 = { class: "vt-datepicker__header" }, h0 = { class: "vt-datepicker__header-content" }, p0 = { class: "vt-datepicker__content" }, v0 = { class: "vt-datepicker__calendar" }, f0 = { class: "vt-datepicker__weekdays" }, C0 = { class: "vt-datepicker__dates" }, m0 = ["disabled", "onClick", "onMouseenter"], _0 = { class: "vt-datepicker__calendar-panel" }, g0 = {
6310
6348
  key: 0,
6311
6349
  class: "vt-datepicker__time"
6312
- }, C0 = { class: "vt-datepicker__header" }, m0 = { class: "vt-datepicker__header-content" }, _0 = { class: "vt-datepicker__content" }, g0 = { class: "vt-datepicker__calendar" }, w0 = { class: "vt-datepicker__weekdays" }, k0 = { class: "vt-datepicker__dates" }, b0 = ["disabled", "onClick", "onMouseenter"], y0 = { key: 1 }, $0 = {
6350
+ }, w0 = { class: "vt-datepicker__header" }, k0 = { class: "vt-datepicker__header-content" }, b0 = { class: "vt-datepicker__content" }, y0 = { class: "vt-datepicker__calendar" }, $0 = { class: "vt-datepicker__weekdays" }, M0 = { class: "vt-datepicker__dates" }, x0 = ["disabled", "onClick", "onMouseenter"], L0 = { key: 1 }, S0 = {
6313
6351
  key: 0,
6314
6352
  class: "vt-datepicker__time"
6315
- }, M0 = { class: "vt-datepicker__header" }, x0 = { class: "vt-datepicker__header-content" }, L0 = {
6353
+ }, V0 = { class: "vt-datepicker__header" }, D0 = { class: "vt-datepicker__header-content" }, H0 = {
6316
6354
  key: 2,
6317
6355
  class: "vt-datepicker__header-text"
6318
- }, S0 = { class: "vt-datepicker__content" }, V0 = {
6356
+ }, T0 = { class: "vt-datepicker__content" }, I0 = {
6319
6357
  key: 0,
6320
6358
  class: "vt-datepicker__calendar"
6321
- }, D0 = { class: "vt-datepicker__weekdays" }, H0 = { class: "vt-datepicker__dates" }, T0 = ["onClick", "onMouseenter"], I0 = {
6359
+ }, B0 = { class: "vt-datepicker__weekdays" }, E0 = { class: "vt-datepicker__dates" }, A0 = ["onClick", "onMouseenter"], j0 = {
6322
6360
  key: 1,
6323
6361
  class: "vt-datepicker__months"
6324
- }, B0 = ["onClick", "onMouseenter"], E0 = {
6362
+ }, P0 = ["onClick", "onMouseenter"], R0 = {
6325
6363
  key: 2,
6326
6364
  class: "vt-datepicker__years"
6327
- }, A0 = ["onClick", "onMouseenter"], j0 = {
6365
+ }, F0 = ["onClick", "onMouseenter"], Z0 = {
6328
6366
  key: 0,
6329
6367
  class: "vt-datepicker__actions"
6330
- }, P0 = {
6368
+ }, z0 = {
6331
6369
  key: 1,
6332
6370
  class: "vt-datepicker__help"
6333
- }, R0 = {
6371
+ }, O0 = {
6334
6372
  key: 0,
6335
6373
  class: "vt-datepicker__error"
6336
- }, F0 = /* @__PURE__ */ we({
6374
+ }, Y0 = /* @__PURE__ */ we({
6337
6375
  __name: "VDatePicker",
6338
6376
  props: {
6339
6377
  modelValue: {},
@@ -6434,7 +6472,7 @@ const Ge = new u5(), c5 = {
6434
6472
  hasDisplayValue: E,
6435
6473
  formatOutput: D,
6436
6474
  validate: Q
6437
- } = U5(N, j, S, V), {
6475
+ } = G5(N, j, S, V), {
6438
6476
  calendarDates: oe,
6439
6477
  monthsInYear: A,
6440
6478
  yearsInDecade: J,
@@ -6832,30 +6870,30 @@ const Ge = new u5(), c5 = {
6832
6870
  onClick: Le,
6833
6871
  onFocus: Re
6834
6872
  }, [
6835
- o("div", X6, [
6836
- o("div", Q6, [
6873
+ o("div", e0, [
6874
+ o("div", t0, [
6837
6875
  ne(fe, {
6838
6876
  name: De.value ? "clock" : "calendar"
6839
6877
  }, null, 8, ["name"])
6840
6878
  ]),
6841
- O(E) ? (l(), a("div", G6, [
6879
+ O(E) ? (l(), a("div", n0, [
6842
6880
  O(T) ? (l(), a(ie, { key: 0 }, [
6843
6881
  o("span", null, R(O(q)[0]), 1),
6844
- o("span", J6, R(t.rangeSeparator), 1),
6882
+ o("span", o0, R(t.rangeSeparator), 1),
6845
6883
  o("span", null, R(O(q)[1]), 1)
6846
6884
  ], 64)) : (l(), a(ie, { key: 1 }, [
6847
6885
  $e(R(O(q)), 1)
6848
6886
  ], 64))
6849
- ])) : (l(), a("div", e0, [
6887
+ ])) : (l(), a("div", s0, [
6850
6888
  O(T) ? (l(), a(ie, { key: 0 }, [
6851
6889
  o("span", null, R(t.startPlaceholder), 1),
6852
- o("span", t0, R(t.rangeSeparator), 1),
6890
+ o("span", r0, R(t.rangeSeparator), 1),
6853
6891
  o("span", null, R(t.endPlaceholder), 1)
6854
6892
  ], 64)) : (l(), a(ie, { key: 1 }, [
6855
6893
  $e(R(e1.value), 1)
6856
6894
  ], 64))
6857
6895
  ])),
6858
- o("div", n0, [
6896
+ o("div", l0, [
6859
6897
  Qe.value ? (l(), a("button", {
6860
6898
  key: 0,
6861
6899
  disabled: t.disabled,
@@ -6864,7 +6902,7 @@ const Ge = new u5(), c5 = {
6864
6902
  onClick: Se(Ue, ["stop"])
6865
6903
  }, [
6866
6904
  ne(fe, { name: "close" })
6867
- ], 8, o0)) : Z("", !0)
6905
+ ], 8, i0)) : Z("", !0)
6868
6906
  ])
6869
6907
  ])
6870
6908
  ], 544),
@@ -6887,9 +6925,9 @@ const Ge = new u5(), c5 = {
6887
6925
  o("div", {
6888
6926
  class: G([{ "vt-datepicker__date-section--with-time": be.value }, "vt-datepicker__date-section"])
6889
6927
  }, [
6890
- _e.value ? (l(), a("div", s0, [
6891
- o("div", r0, [
6892
- be.value ? (l(), a("div", l0, [
6928
+ _e.value ? (l(), a("div", a0, [
6929
+ o("div", u0, [
6930
+ be.value ? (l(), a("div", c0, [
6893
6931
  ne(m1, {
6894
6932
  ref_key: "startTimePickerRef",
6895
6933
  ref: f,
@@ -6910,14 +6948,14 @@ const Ge = new u5(), c5 = {
6910
6948
  onChange: L[1] || (L[1] = (b) => u1(b, !1))
6911
6949
  }, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
6912
6950
  ])) : Z("", !0),
6913
- o("div", i0, [
6951
+ o("div", d0, [
6914
6952
  o("button", {
6915
6953
  class: "vt-datepicker__nav-btn",
6916
6954
  onClick: T1
6917
6955
  }, [
6918
6956
  ne(fe, { name: "arrowLeft" })
6919
6957
  ]),
6920
- o("div", a0, [
6958
+ o("div", h0, [
6921
6959
  o("button", {
6922
6960
  class: "vt-datepicker__header-btn",
6923
6961
  onClick: L[2] || (L[2] = (b) => s.viewMode.value = "month")
@@ -6925,15 +6963,15 @@ const Ge = new u5(), c5 = {
6925
6963
  ]),
6926
6964
  L[12] || (L[12] = o("div", { class: "vt-datepicker__nav-spacer" }, null, -1))
6927
6965
  ]),
6928
- o("div", u0, [
6929
- o("div", c0, [
6930
- o("div", d0, [
6966
+ o("div", p0, [
6967
+ o("div", v0, [
6968
+ o("div", f0, [
6931
6969
  (l(!0), a(ie, null, pe(O(M1), (b, H) => (l(), a("span", {
6932
6970
  key: `${H}_${b}`,
6933
6971
  class: "vt-datepicker__weekday"
6934
6972
  }, R(b), 1))), 128))
6935
6973
  ]),
6936
- o("div", h0, [
6974
+ o("div", C0, [
6937
6975
  (l(!0), a(ie, null, pe(O(oe), (b) => (l(), a("button", {
6938
6976
  key: b.getTime(),
6939
6977
  class: G([
@@ -6952,13 +6990,13 @@ const Ge = new u5(), c5 = {
6952
6990
  onClick: (H) => je(b, !0, !1),
6953
6991
  onMouseenter: (H) => t1(b, !0, !1),
6954
6992
  onMouseleave: r1
6955
- }, R(b.getDate()), 43, p0))), 128))
6993
+ }, R(b.getDate()), 43, m0))), 128))
6956
6994
  ])
6957
6995
  ])
6958
6996
  ])
6959
6997
  ]),
6960
- o("div", v0, [
6961
- be.value ? (l(), a("div", f0, [
6998
+ o("div", _0, [
6999
+ be.value ? (l(), a("div", g0, [
6962
7000
  ne(m1, {
6963
7001
  ref_key: "endTimePickerRef",
6964
7002
  ref: v,
@@ -6979,9 +7017,9 @@ const Ge = new u5(), c5 = {
6979
7017
  onChange: L[4] || (L[4] = (b) => u1(b, !0))
6980
7018
  }, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
6981
7019
  ])) : Z("", !0),
6982
- o("div", C0, [
7020
+ o("div", w0, [
6983
7021
  L[13] || (L[13] = o("div", { class: "vt-datepicker__nav-spacer" }, null, -1)),
6984
- o("div", m0, [
7022
+ o("div", k0, [
6985
7023
  o("button", {
6986
7024
  class: "vt-datepicker__header-btn",
6987
7025
  onClick: L[5] || (L[5] = (b) => s.viewMode.value = "month")
@@ -6994,15 +7032,15 @@ const Ge = new u5(), c5 = {
6994
7032
  ne(fe, { name: "arrowRight" })
6995
7033
  ])
6996
7034
  ]),
6997
- o("div", _0, [
6998
- o("div", g0, [
6999
- o("div", w0, [
7035
+ o("div", b0, [
7036
+ o("div", y0, [
7037
+ o("div", $0, [
7000
7038
  (l(!0), a(ie, null, pe(O(M1), (b, H) => (l(), a("span", {
7001
7039
  key: `${H}_${b}`,
7002
7040
  class: "vt-datepicker__weekday"
7003
7041
  }, R(b), 1))), 128))
7004
7042
  ]),
7005
- o("div", k0, [
7043
+ o("div", M0, [
7006
7044
  (l(!0), a(ie, null, pe(O(se), (b) => (l(), a("button", {
7007
7045
  key: b.getTime(),
7008
7046
  class: G([
@@ -7021,13 +7059,13 @@ const Ge = new u5(), c5 = {
7021
7059
  onClick: (H) => je(b, !1, !0),
7022
7060
  onMouseenter: (H) => t1(b, !1, !0),
7023
7061
  onMouseleave: r1
7024
- }, R(b.getDate()), 43, b0))), 128))
7062
+ }, R(b.getDate()), 43, x0))), 128))
7025
7063
  ])
7026
7064
  ])
7027
7065
  ])
7028
7066
  ])
7029
- ])) : (l(), a("div", y0, [
7030
- be.value ? (l(), a("div", $0, [
7067
+ ])) : (l(), a("div", L0, [
7068
+ be.value ? (l(), a("div", S0, [
7031
7069
  ne(m1, {
7032
7070
  ref_key: "startTimePickerRef",
7033
7071
  ref: f,
@@ -7048,14 +7086,14 @@ const Ge = new u5(), c5 = {
7048
7086
  onChange: L[7] || (L[7] = (b) => u1(b, !1))
7049
7087
  }, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
7050
7088
  ])) : Z("", !0),
7051
- o("div", M0, [
7089
+ o("div", V0, [
7052
7090
  o("button", {
7053
7091
  class: "vt-datepicker__nav-btn",
7054
7092
  onClick: T1
7055
7093
  }, [
7056
7094
  ne(fe, { name: "arrowLeft" })
7057
7095
  ]),
7058
- o("div", x0, [
7096
+ o("div", D0, [
7059
7097
  s.viewMode.value === "date" ? (l(), a("button", {
7060
7098
  key: 0,
7061
7099
  class: "vt-datepicker__header-btn",
@@ -7064,7 +7102,7 @@ const Ge = new u5(), c5 = {
7064
7102
  key: 1,
7065
7103
  class: "vt-datepicker__header-btn",
7066
7104
  onClick: L[9] || (L[9] = (b) => s.viewMode.value = "year")
7067
- }, R(s.currentDate.value.getFullYear()), 1)) : (l(), a("span", L0, R(O(he)), 1))
7105
+ }, R(s.currentDate.value.getFullYear()), 1)) : (l(), a("span", H0, R(O(he)), 1))
7068
7106
  ]),
7069
7107
  o("button", {
7070
7108
  class: "vt-datepicker__nav-btn",
@@ -7073,15 +7111,15 @@ const Ge = new u5(), c5 = {
7073
7111
  ne(fe, { name: "arrowRight" })
7074
7112
  ])
7075
7113
  ]),
7076
- o("div", S0, [
7077
- s.viewMode.value === "date" ? (l(), a("div", V0, [
7078
- o("div", D0, [
7114
+ o("div", T0, [
7115
+ s.viewMode.value === "date" ? (l(), a("div", I0, [
7116
+ o("div", B0, [
7079
7117
  (l(!0), a(ie, null, pe(O(M1), (b, H) => (l(), a("span", {
7080
7118
  key: `${H}_${b}`,
7081
7119
  class: "vt-datepicker__weekday"
7082
7120
  }, R(b), 1))), 128))
7083
7121
  ]),
7084
- o("div", H0, [
7122
+ o("div", E0, [
7085
7123
  (l(!0), a(ie, null, pe(O(oe), (b) => (l(), a("button", {
7086
7124
  key: b.getTime(),
7087
7125
  class: G([
@@ -7099,9 +7137,9 @@ const Ge = new u5(), c5 = {
7099
7137
  onClick: (H) => je(b),
7100
7138
  onMouseenter: (H) => t1(b),
7101
7139
  onMouseleave: r1
7102
- }, R(b.getDate()), 43, T0))), 128))
7140
+ }, R(b.getDate()), 43, A0))), 128))
7103
7141
  ])
7104
- ])) : s.viewMode.value === "month" ? (l(), a("div", I0, [
7142
+ ])) : s.viewMode.value === "month" ? (l(), a("div", j0, [
7105
7143
  (l(!0), a(ie, null, pe(O(A), (b, H) => (l(), a("button", {
7106
7144
  key: b.name,
7107
7145
  class: G([
@@ -7115,8 +7153,8 @@ const Ge = new u5(), c5 = {
7115
7153
  onClick: (te) => dt(H, !1),
7116
7154
  onMouseenter: (te) => ht(H, s.currentDate.value),
7117
7155
  onMouseleave: pt
7118
- }, R(b.name), 43, B0))), 128))
7119
- ])) : (l(), a("div", E0, [
7156
+ }, R(b.name), 43, P0))), 128))
7157
+ ])) : (l(), a("div", R0, [
7120
7158
  (l(!0), a(ie, null, pe(O(J), (b) => (l(), a("button", {
7121
7159
  key: b.year,
7122
7160
  class: G([
@@ -7130,12 +7168,12 @@ const Ge = new u5(), c5 = {
7130
7168
  onClick: (H) => vt(b.year),
7131
7169
  onMouseenter: (H) => ft(b.year),
7132
7170
  onMouseleave: Ct
7133
- }, R(b.year), 43, A0))), 128))
7171
+ }, R(b.year), 43, F0))), 128))
7134
7172
  ]))
7135
7173
  ])
7136
7174
  ]))
7137
7175
  ], 2),
7138
- be.value ? (l(), a("div", j0, [
7176
+ be.value ? (l(), a("div", Z0, [
7139
7177
  ne(Je, { onClick: ct }, {
7140
7178
  default: xe(() => L[14] || (L[14] = [
7141
7179
  $e("Скасувати", -1)
@@ -7160,12 +7198,12 @@ const Ge = new u5(), c5 = {
7160
7198
  _: 1
7161
7199
  })
7162
7200
  ])) : Z("", !0),
7163
- X.value ? (l(), a("div", P0, [
7164
- X.value ? (l(), a("span", R0, R(X.value), 1)) : Z("", !0)
7201
+ X.value ? (l(), a("div", z0, [
7202
+ X.value ? (l(), a("span", O0, R(X.value), 1)) : Z("", !0)
7165
7203
  ])) : Z("", !0)
7166
7204
  ], 2));
7167
7205
  }
7168
- }), Z0 = { class: "v-collapse" }, z0 = /* @__PURE__ */ we({
7206
+ }), N0 = { class: "v-collapse" }, W0 = /* @__PURE__ */ we({
7169
7207
  __name: "VCollapse",
7170
7208
  props: {
7171
7209
  modelValue: {},
@@ -7189,11 +7227,11 @@ const Ge = new u5(), c5 = {
7189
7227
  h > -1 ? v.splice(h, 1) : v.push(f), t("update:modelValue", v), t("change", v);
7190
7228
  }
7191
7229
  });
7192
- return p1("collapseContext", p), (f, v) => (l(), a("div", Z0, [
7230
+ return p1("collapseContext", p), (f, v) => (l(), a("div", N0, [
7193
7231
  Ve(f.$slots, "default")
7194
7232
  ]));
7195
7233
  }
7196
- }), O0 = { class: "v-collapse-item__title" }, Y0 = { class: "v-collapse-item__wrap" }, N0 = { class: "v-collapse-item__content" }, W0 = /* @__PURE__ */ we({
7234
+ }), q0 = { class: "v-collapse-item__title" }, U0 = { class: "v-collapse-item__wrap" }, K0 = { class: "v-collapse-item__content" }, X0 = /* @__PURE__ */ we({
7197
7235
  __name: "VCollapseItem",
7198
7236
  props: {
7199
7237
  title: {},
@@ -7227,7 +7265,7 @@ const Ge = new u5(), c5 = {
7227
7265
  class: G([{ "is-active": c.value }, "v-collapse-item__header"]),
7228
7266
  onClick: d
7229
7267
  }, [
7230
- o("div", O0, [
7268
+ o("div", q0, [
7231
7269
  Ve(_.$slots, "title", {
7232
7270
  isActive: c.value,
7233
7271
  title: _.title
@@ -7249,8 +7287,8 @@ const Ge = new u5(), c5 = {
7249
7287
  onAfterLeave: h
7250
7288
  }, {
7251
7289
  default: xe(() => [
7252
- i1(o("div", Y0, [
7253
- o("div", N0, [
7290
+ i1(o("div", U0, [
7291
+ o("div", K0, [
7254
7292
  Ve(_.$slots, "default")
7255
7293
  ])
7256
7294
  ], 512), [
@@ -7261,7 +7299,7 @@ const Ge = new u5(), c5 = {
7261
7299
  })
7262
7300
  ], 2));
7263
7301
  }
7264
- }), q0 = { class: "vt-tabs" }, U0 = { class: "vt-tabs__nav" }, K0 = ["onClick"], X0 = { key: 1 }, Q0 = ["onClick"], G0 = { class: "vt-tabs__content" }, J0 = /* @__PURE__ */ we({
7302
+ }), Q0 = { class: "vt-tabs" }, G0 = { class: "vt-tabs__nav" }, J0 = ["onClick"], e4 = { key: 1 }, t4 = ["onClick"], n4 = { class: "vt-tabs__content" }, o4 = /* @__PURE__ */ we({
7265
7303
  __name: "VTabs",
7266
7304
  props: {
7267
7305
  modelValue: { default: void 0 }
@@ -7296,8 +7334,8 @@ const Ge = new u5(), c5 = {
7296
7334
  addTab: p,
7297
7335
  removeTab: f,
7298
7336
  selectTab: v
7299
- }), (_, g) => (l(), a("div", q0, [
7300
- o("div", U0, [
7337
+ }), (_, g) => (l(), a("div", Q0, [
7338
+ o("div", G0, [
7301
7339
  (l(!0), a(ie, null, pe(d.value, (y) => (l(), a("div", {
7302
7340
  key: y.name,
7303
7341
  class: G([{
@@ -7315,7 +7353,7 @@ const Ge = new u5(), c5 = {
7315
7353
  name: y.icon,
7316
7354
  class: "vt-tab-icon"
7317
7355
  }, null, 8, ["name"])) : Z("", !0),
7318
- y.label ? (l(), a("span", X0, R(y.label), 1)) : Z("", !0)
7356
+ y.label ? (l(), a("span", e4, R(y.label), 1)) : Z("", !0)
7319
7357
  ], 64)),
7320
7358
  y.closable ? (l(), a("span", {
7321
7359
  key: 2,
@@ -7323,15 +7361,15 @@ const Ge = new u5(), c5 = {
7323
7361
  onClick: Se((s) => f(y.name), ["stop"])
7324
7362
  }, [
7325
7363
  ne(fe, { name: "close" })
7326
- ], 8, Q0)) : Z("", !0)
7327
- ], 10, K0))), 128))
7364
+ ], 8, t4)) : Z("", !0)
7365
+ ], 10, J0))), 128))
7328
7366
  ]),
7329
- o("div", G0, [
7367
+ o("div", n4, [
7330
7368
  Ve(_.$slots, "default")
7331
7369
  ])
7332
7370
  ]));
7333
7371
  }
7334
- }), e4 = { class: "vt-tabs__pane" }, t4 = /* @__PURE__ */ we({
7372
+ }), s4 = { class: "vt-tabs__pane" }, r4 = /* @__PURE__ */ we({
7335
7373
  __name: "VTabItem",
7336
7374
  props: {
7337
7375
  label: { default: "" },
@@ -7357,7 +7395,7 @@ const Ge = new u5(), c5 = {
7357
7395
  });
7358
7396
  }), Q1(() => {
7359
7397
  r.removeTab(e.name);
7360
- }), (i, c) => i1((l(), a("div", e4, [
7398
+ }), (i, c) => i1((l(), a("div", s4, [
7361
7399
  Ve(i.$slots, "default")
7362
7400
  ], 512)), [
7363
7401
  [J1, t.value]
@@ -7391,13 +7429,13 @@ class l1 {
7391
7429
  return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
7392
7430
  }
7393
7431
  }
7394
- const n4 = { class: "vt-upload" }, o4 = { class: "vt-upload__text" }, s4 = { class: "vt-upload__placeholder" }, r4 = { class: "vt-upload__link" }, l4 = {
7432
+ const l4 = { class: "vt-upload" }, i4 = { class: "vt-upload__text" }, a4 = { class: "vt-upload__placeholder" }, u4 = { class: "vt-upload__link" }, c4 = {
7395
7433
  key: 0,
7396
7434
  class: "vt-upload__tip"
7397
- }, i4 = {
7435
+ }, d4 = {
7398
7436
  key: 2,
7399
7437
  class: "vt-upload__list"
7400
- }, a4 = { class: "vt-upload__list-item-icon" }, u4 = { class: "vt-upload__list-item-info" }, c4 = { class: "vt-upload__list-item-name" }, d4 = { class: "vt-upload__list-item-size" }, h4 = ["disabled", "onClick"], p4 = ["accept", "disabled", "multiple"], v4 = /* @__PURE__ */ we({
7438
+ }, h4 = { class: "vt-upload__list-item-icon" }, p4 = { class: "vt-upload__list-item-info" }, v4 = { class: "vt-upload__list-item-name" }, f4 = { class: "vt-upload__list-item-size" }, C4 = ["disabled", "onClick"], m4 = ["accept", "disabled", "multiple"], _4 = /* @__PURE__ */ we({
7401
7439
  __name: "VUpload",
7402
7440
  props: {
7403
7441
  modelValue: { default: () => [] },
@@ -7475,7 +7513,7 @@ const n4 = { class: "vt-upload" }, o4 = { class: "vt-upload__text" }, s4 = { cla
7475
7513
  var S;
7476
7514
  r.disabled || !f.value || (S = c.value) == null || S.click();
7477
7515
  };
7478
- return (S, V) => (l(), a("div", n4, [
7516
+ return (S, V) => (l(), a("div", l4, [
7479
7517
  S.type === "drag" ? (l(), a("div", {
7480
7518
  key: 0,
7481
7519
  class: G([{
@@ -7509,13 +7547,13 @@ const n4 = { class: "vt-upload" }, o4 = { class: "vt-upload__text" }, s4 = { cla
7509
7547
  })
7510
7548
  ])
7511
7549
  ], -1)),
7512
- o("div", o4, [
7513
- o("span", s4, [
7550
+ o("div", i4, [
7551
+ o("span", a4, [
7514
7552
  $e(R(S.placeholder.split(" or ")[0]) + " ", 1),
7515
- o("span", r4, " or " + R(S.placeholder.split(" or ")[1]), 1)
7553
+ o("span", u4, " or " + R(S.placeholder.split(" or ")[1]), 1)
7516
7554
  ])
7517
7555
  ]),
7518
- p.value ? (l(), a("div", l4, R(p.value), 1)) : Z("", !0)
7556
+ p.value ? (l(), a("div", c4, R(p.value), 1)) : Z("", !0)
7519
7557
  ], 34)) : (l(), ge(Je, {
7520
7558
  key: 1,
7521
7559
  disabled: S.disabled || !f.value,
@@ -7529,17 +7567,17 @@ const n4 = { class: "vt-upload" }, o4 = { class: "vt-upload__text" }, s4 = { cla
7529
7567
  _: 1,
7530
7568
  __: [1]
7531
7569
  }, 8, ["disabled"])),
7532
- d.value.length > 0 ? (l(), a("div", i4, [
7570
+ d.value.length > 0 ? (l(), a("div", d4, [
7533
7571
  (l(!0), a(ie, null, pe(d.value, (T) => (l(), a("div", {
7534
7572
  key: T.id,
7535
7573
  class: "vt-upload__list-item"
7536
7574
  }, [
7537
- o("div", a4, [
7575
+ o("div", h4, [
7538
7576
  ne(fe, { name: "fileDoc" })
7539
7577
  ]),
7540
- o("div", u4, [
7541
- o("div", c4, R(T.name), 1),
7542
- o("div", d4, R(O(l1).formatFileSize(T.size)), 1)
7578
+ o("div", p4, [
7579
+ o("div", v4, R(T.name), 1),
7580
+ o("div", f4, R(O(l1).formatFileSize(T.size)), 1)
7543
7581
  ]),
7544
7582
  o("button", {
7545
7583
  disabled: S.disabled,
@@ -7548,7 +7586,7 @@ const n4 = { class: "vt-upload" }, o4 = { class: "vt-upload__text" }, s4 = { cla
7548
7586
  onClick: (U) => N(T)
7549
7587
  }, [
7550
7588
  ne(fe, { name: "delete" })
7551
- ], 8, h4)
7589
+ ], 8, C4)
7552
7590
  ]))), 128))
7553
7591
  ])) : Z("", !0),
7554
7592
  o("input", {
@@ -7560,7 +7598,7 @@ const n4 = { class: "vt-upload" }, o4 = { class: "vt-upload__text" }, s4 = { cla
7560
7598
  class: "vt-upload__input",
7561
7599
  type: "file",
7562
7600
  onChange: g
7563
- }, null, 40, p4)
7601
+ }, null, 40, m4)
7564
7602
  ]));
7565
7603
  }
7566
7604
  }), O1 = (n, e) => {
@@ -7654,7 +7692,7 @@ const n4 = { class: "vt-upload" }, o4 = { class: "vt-upload__text" }, s4 = { cla
7654
7692
  });
7655
7693
  }, N1 = (n) => {
7656
7694
  n.style.opacity = "0", n.style.visibility = "hidden";
7657
- }, W1 = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, q1 = (n) => !!n.closest(".vt-table, table"), f4 = {
7695
+ }, W1 = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, q1 = (n) => !!n.closest(".vt-table, table"), g4 = {
7658
7696
  mounted(n, e) {
7659
7697
  var f;
7660
7698
  const r = (f = e.value) == null ? void 0 : f.trim();
@@ -7691,7 +7729,7 @@ const n4 = { class: "vt-upload" }, o4 = { class: "vt-upload__text" }, s4 = { cla
7691
7729
  beforeUnmount(n) {
7692
7730
  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);
7693
7731
  }
7694
- }, C4 = {
7732
+ }, w4 = {
7695
7733
  mounted(n, e) {
7696
7734
  O(e.value) && U1(n);
7697
7735
  },
@@ -7714,10 +7752,10 @@ function K1(n) {
7714
7752
  const e = n._loaderEl;
7715
7753
  e && (e.remove(), delete n._loaderEl);
7716
7754
  }
7717
- const m4 = { class: "vt-message-container" }, _4 = { class: "vt-message-icon" }, g4 = { class: "vt-message-content" }, w4 = ["innerHTML"], k4 = {
7755
+ const k4 = { class: "vt-message-container" }, b4 = { class: "vt-message-icon" }, y4 = { class: "vt-message-content" }, $4 = ["innerHTML"], M4 = {
7718
7756
  key: 1,
7719
7757
  class: "vt-message-text"
7720
- }, b4 = ["onClick"], y4 = /* @__PURE__ */ we({
7758
+ }, x4 = ["onClick"], L4 = /* @__PURE__ */ we({
7721
7759
  __name: "VMessage",
7722
7760
  setup(n, { expose: e }) {
7723
7761
  const r = B([]);
@@ -7747,7 +7785,7 @@ const m4 = { class: "vt-message-container" }, _4 = { class: "vt-message-icon" },
7747
7785
  addMessage: c,
7748
7786
  removeMessage: d
7749
7787
  }), (p, f) => (l(), ge(a1, { to: "body" }, [
7750
- o("div", m4, [
7788
+ o("div", k4, [
7751
7789
  ne(gt, {
7752
7790
  name: "vt-message",
7753
7791
  tag: "div"
@@ -7761,18 +7799,18 @@ const m4 = { class: "vt-message-container" }, _4 = { class: "vt-message-icon" },
7761
7799
  { "vt-message-item--closable": v.showClose }
7762
7800
  ])
7763
7801
  }, [
7764
- o("div", _4, [
7802
+ o("div", b4, [
7765
7803
  ne(fe, {
7766
7804
  color: v.type === "primary" ? "#00475A" : "",
7767
7805
  name: i(v.type)
7768
7806
  }, null, 8, ["color", "name"])
7769
7807
  ]),
7770
- o("div", g4, [
7808
+ o("div", y4, [
7771
7809
  v.dangerouslyUseHTMLString ? (l(), a("div", {
7772
7810
  key: 0,
7773
7811
  class: "vt-message-text",
7774
7812
  innerHTML: v.message
7775
- }, null, 8, w4)) : (l(), a("div", k4, R(v.message), 1))
7813
+ }, null, 8, $4)) : (l(), a("div", M4, R(v.message), 1))
7776
7814
  ]),
7777
7815
  v.showClose ? (l(), a("button", {
7778
7816
  key: 0,
@@ -7781,7 +7819,7 @@ const m4 = { class: "vt-message-container" }, _4 = { class: "vt-message-icon" },
7781
7819
  onClick: (h) => d(v.id)
7782
7820
  }, [
7783
7821
  ne(fe, { name: "close" })
7784
- ], 8, b4)) : Z("", !0)
7822
+ ], 8, x4)) : Z("", !0)
7785
7823
  ], 2))), 128))
7786
7824
  ]),
7787
7825
  _: 1
@@ -7790,7 +7828,7 @@ const m4 = { class: "vt-message-container" }, _4 = { class: "vt-message-icon" },
7790
7828
  ]));
7791
7829
  }
7792
7830
  });
7793
- class $4 {
7831
+ class S4 {
7794
7832
  constructor() {
7795
7833
  this.messageInstance = null, this.app = null, this.container = null;
7796
7834
  }
@@ -7827,10 +7865,10 @@ class $4 {
7827
7865
  return this.messageInstance ? this.messageInstance.messages.length : 0;
7828
7866
  }
7829
7867
  ensureInstance() {
7830
- return this.messageInstance ? this.messageInstance : (this.container = document.createElement("div"), this.container.setAttribute("data-vt-message-container", ""), document.body.appendChild(this.container), this.app = G1(y4), this.messageInstance = this.app.mount(this.container), this.messageInstance);
7868
+ return this.messageInstance ? this.messageInstance : (this.container = document.createElement("div"), this.container.setAttribute("data-vt-message-container", ""), document.body.appendChild(this.container), this.app = G1(L4), this.messageInstance = this.app.mount(this.container), this.messageInstance);
7831
7869
  }
7832
7870
  }
7833
- const Xe = new $4(), X1 = Object.assign(
7871
+ const Xe = new S4(), X1 = Object.assign(
7834
7872
  (n = {}) => Xe.call(n),
7835
7873
  {
7836
7874
  success: (n, e = {}) => Xe.success(n, e),
@@ -7844,7 +7882,7 @@ const Xe = new $4(), X1 = Object.assign(
7844
7882
  Xe.closeAll();
7845
7883
  }
7846
7884
  }
7847
- ), M4 = {
7885
+ ), V4 = {
7848
7886
  install(n) {
7849
7887
  n.config.globalProperties.$message = X1, n.provide("$message", X1), n.config.globalProperties.$messageStack = {
7850
7888
  closeAll: () => Xe.closeAll(),
@@ -7853,15 +7891,15 @@ const Xe = new $4(), X1 = Object.assign(
7853
7891
  };
7854
7892
  }
7855
7893
  };
7856
- function z4(n, e) {
7894
+ function W4(n, e) {
7857
7895
  const r = e;
7858
7896
  return r.$params = n, r;
7859
7897
  }
7860
- function O4(n, e) {
7898
+ function q4(n, e) {
7861
7899
  const r = e;
7862
7900
  return r.$message = n, r;
7863
7901
  }
7864
- function Y4(n) {
7902
+ function U4(n) {
7865
7903
  const e = n;
7866
7904
  return e.$async = !0, e;
7867
7905
  }
@@ -7869,30 +7907,30 @@ function f1(n, e) {
7869
7907
  const r = e;
7870
7908
  return r.$validatorName = n, r;
7871
7909
  }
7872
- function N4(n, e) {
7910
+ function K4(n, e) {
7873
7911
  let r = e;
7874
7912
  return n.name && (r.$validatorName = n.name), n.params && (r.$params = n.params), n.message && (r.$message = n.message), n.async && (r.$async = !0), r;
7875
7913
  }
7876
- const x4 = (n) => n == null ? "Поле є обовʼязковим" : Array.isArray(n) ? n.length > 0 || "Поле є обовʼязковим" : n.toString().trim() !== "" || "Поле є обовʼязковим";
7877
- f1("required", x4);
7878
- const W4 = (n) => Object.assign(
7914
+ const D4 = (n) => n == null ? "Поле є обовʼязковим" : Array.isArray(n) ? n.length > 0 || "Поле є обовʼязковим" : n.toString().trim() !== "" || "Поле є обовʼязковим";
7915
+ f1("required", D4);
7916
+ const X4 = (n) => Object.assign(
7879
7917
  (e) => e == null || e === "" ? !0 : e.length >= n || `Мінімальна довжина ${n}`,
7880
7918
  { $params: { min: n }, $validatorName: "minLength" }
7881
- ), q4 = (n) => Object.assign(
7919
+ ), Q4 = (n) => Object.assign(
7882
7920
  (e) => e == null || e === "" ? !0 : e.length <= n || `Максимальна довжина ${n}`,
7883
7921
  { $params: { max: n }, $validatorName: "maxLength" }
7884
- ), L4 = (n) => (n == null || n === "" ? !0 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)) || "Невірний email";
7885
- f1("email", L4);
7886
- const U4 = (n, e) => Object.assign(
7922
+ ), H4 = (n) => (n == null || n === "" ? !0 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)) || "Невірний email";
7923
+ f1("email", H4);
7924
+ const G4 = (n, e) => Object.assign(
7887
7925
  (r) => r === n() || e || "Значення не співпадає",
7888
7926
  { $params: { eq: n }, $validatorName: "sameAs" }
7889
- ), S4 = (n) => (n == null || n === "" ? !0 : !isNaN(Number(n))) || "Повинно бути числом";
7890
- f1("numeric", S4);
7891
- const V4 = (n) => n == null || n === "" ? !0 : /[A-Z]/.test(n) || "Має містити хоча б одну велику літеру";
7892
- f1("containUpperCaseLetter", V4);
7893
- const D4 = (n) => n == null || n === "" ? !0 : !/\s/.test(n) || "Не повинно містити пробілів";
7894
- f1("noSpaces", D4);
7895
- const K4 = (n, e = "Значення вже зайнято") => Object.assign(async (t) => t == null || t === "" ? !0 : await n(t) || e, { $async: !0, $validatorName: "uniqueAsync" });
7927
+ ), T4 = (n) => (n == null || n === "" ? !0 : !isNaN(Number(n))) || "Повинно бути числом";
7928
+ f1("numeric", T4);
7929
+ const I4 = (n) => n == null || n === "" ? !0 : /[A-Z]/.test(n) || "Має містити хоча б одну велику літеру";
7930
+ f1("containUpperCaseLetter", I4);
7931
+ const B4 = (n) => n == null || n === "" ? !0 : !/\s/.test(n) || "Не повинно містити пробілів";
7932
+ f1("noSpaces", B4);
7933
+ const J4 = (n, e = "Значення вже зайнято") => Object.assign(async (t) => t == null || t === "" ? !0 : await n(t) || e, { $async: !0, $validatorName: "uniqueAsync" });
7896
7934
  function at(n, e) {
7897
7935
  if (!e) return n;
7898
7936
  const r = e.split(".");
@@ -7903,7 +7941,7 @@ function at(n, e) {
7903
7941
  }
7904
7942
  return t;
7905
7943
  }
7906
- function H4(n, e, r) {
7944
+ function E4(n, e, r) {
7907
7945
  const t = e.split(".");
7908
7946
  let i = n;
7909
7947
  for (let c = 0; c < t.length - 1; c++) {
@@ -7912,7 +7950,7 @@ function H4(n, e, r) {
7912
7950
  }
7913
7951
  i[t[t.length - 1]] = r;
7914
7952
  }
7915
- function T4(n, e) {
7953
+ function A4(n, e) {
7916
7954
  return {
7917
7955
  get value() {
7918
7956
  const r = _1(n) ? n.value : n;
@@ -7920,12 +7958,12 @@ function T4(n, e) {
7920
7958
  },
7921
7959
  set value(r) {
7922
7960
  const t = _1(n) ? n.value : n;
7923
- H4(t, e, r);
7961
+ E4(t, e, r);
7924
7962
  }
7925
7963
  };
7926
7964
  }
7927
- function I4(n, e, r, t) {
7928
- const i = T4(n, e), c = B(!1), d = B(!1), p = B(!1), f = { t: 0 };
7965
+ function j4(n, e, r, t) {
7966
+ const i = A4(n, e), c = B(!1), d = B(!1), p = B(!1), f = { t: 0 };
7929
7967
  let v = !1, h = [];
7930
7968
  const _ = B([]);
7931
7969
  async function g(s) {
@@ -8016,7 +8054,7 @@ function I4(n, e, r, t) {
8016
8054
  h = [], y.$validate();
8017
8055
  }, y;
8018
8056
  }
8019
- function X4(n, e, r) {
8057
+ function e7(n, e, r) {
8020
8058
  const t = { silentErrors: !!(r != null && r.silentErrors) }, i = typeof n == "function" ? n() : n, c = (_1(e), e);
8021
8059
  function d(h, _ = "") {
8022
8060
  const g = {}, y = Object.keys(h || {});
@@ -8024,7 +8062,7 @@ function X4(n, e, r) {
8024
8062
  const D = h[E], Q = _ ? `${_}.${E}` : E;
8025
8063
  if (typeof D == "function" || Array.isArray(D) && D.length > 0 && typeof D[0] == "function") {
8026
8064
  const oe = Array.isArray(D) ? D : [D];
8027
- g[E] = I4(c, Q, oe, t);
8065
+ g[E] = j4(c, Q, oe, t);
8028
8066
  } else typeof D == "object" && D !== null ? typeof D == "object" && Array.isArray(D) === !1 && (g[E] = d(D, Q)) : g[E] = d({}, Q);
8029
8067
  }
8030
8068
  const s = async () => {
@@ -8119,81 +8157,81 @@ function X4(n, e, r) {
8119
8157
  const v = d(i, "");
8120
8158
  return v;
8121
8159
  }
8122
- const Q4 = {
8160
+ const t7 = {
8123
8161
  sortable: !0,
8124
8162
  actionColumn: !1,
8125
8163
  showOverflowTooltip: !0,
8126
8164
  visible: !0,
8127
8165
  pinnedLeft: !1,
8128
8166
  pinnedRight: !1
8129
- }, B4 = {
8167
+ }, P4 = {
8130
8168
  install(n, e = {}) {
8131
8169
  const { prefix: r = "V", modal: t = !0, message: i = !0 } = e;
8132
- n.component(`${r}Button`, Je), n.component(`${r}Icon`, fe), n.component(`${r}Loader`, g1), n.component(`${r}Modal`, et), n.component(`${r}Pagination`, G3), n.component(`${r}Checkbox`, o1), n.component(`${r}Radiobox`, t5), n.component(`${r}Table`, Z5), n.component(`${r}TableColumn`, z5), n.component(`${r}Dropdown`, lt), n.component(`${r}DropdownItem`, L1), n.component(`${r}Input`, nt), n.component(`${r}Select`, ot), n.component(`${r}Option`, st), n.component(`${r}DatePicker`, F0), n.component(`${r}TimePicker`, m1), n.component(`${r}Collapse`, z0), n.component(`${r}CollapseItem`, W0), n.component(`${r}Tabs`, J0), n.component(`${r}TabItem`, t4), n.component(`${r}Upload`, v4), n.directive("tooltip", f4), n.directive("loader", C4), t && n.use(c5), i && n.use(M4);
8170
+ n.component(`${r}Button`, Je), n.component(`${r}Icon`, fe), n.component(`${r}Loader`, g1), n.component(`${r}Modal`, et), n.component(`${r}Pagination`, n5), n.component(`${r}Checkbox`, o1), n.component(`${r}Radiobox`, r5), n.component(`${r}Table`, N5), n.component(`${r}TableColumn`, W5), n.component(`${r}Dropdown`, lt), n.component(`${r}DropdownItem`, L1), n.component(`${r}Input`, nt), n.component(`${r}Select`, ot), n.component(`${r}Option`, st), n.component(`${r}DatePicker`, Y0), n.component(`${r}TimePicker`, m1), n.component(`${r}Collapse`, W0), n.component(`${r}CollapseItem`, X0), n.component(`${r}Tabs`, o4), n.component(`${r}TabItem`, r4), n.component(`${r}Upload`, _4), n.directive("tooltip", g4), n.directive("loader", w4), t && n.use(v5), i && n.use(V4);
8133
8171
  }
8134
- }, G4 = B4.install;
8172
+ }, n7 = P4.install;
8135
8173
  export {
8136
- Q4 as DEFAULT_COLUMN_CONFIG,
8137
- Y5 as DEFAULT_FORMATS,
8174
+ t7 as DEFAULT_COLUMN_CONFIG,
8175
+ U5 as DEFAULT_FORMATS,
8138
8176
  C1 as DEFAULT_TIME_FORMATS,
8139
8177
  rt as DropdownContextKey,
8140
- F4 as FORMAT_TOKENS,
8178
+ Y4 as FORMAT_TOKENS,
8141
8179
  l1 as FileValidator,
8142
- O5 as MONTH_NAMES,
8180
+ q5 as MONTH_NAMES,
8143
8181
  it as MONTH_NAMES_SHORT,
8144
8182
  Je as VButton,
8145
8183
  o1 as VCheckbox,
8146
- z0 as VCollapse,
8147
- W0 as VCollapseItem,
8148
- F0 as VDatePicker,
8184
+ W0 as VCollapse,
8185
+ X0 as VCollapseItem,
8186
+ Y0 as VDatePicker,
8149
8187
  lt as VDropdown,
8150
8188
  L1 as VDropdownItem,
8151
8189
  fe as VIcon,
8152
8190
  nt as VInput,
8153
8191
  g1 as VLoader,
8154
8192
  X1 as VMessage,
8155
- M4 as VMessagePlugin,
8193
+ V4 as VMessagePlugin,
8156
8194
  et as VModal,
8157
- c5 as VModalPlugin,
8195
+ v5 as VModalPlugin,
8158
8196
  st as VOption,
8159
- G3 as VPagination,
8160
- t5 as VRadiobox,
8197
+ n5 as VPagination,
8198
+ r5 as VRadiobox,
8161
8199
  ot as VSelect,
8162
- t4 as VTabItem,
8163
- Z5 as VTable,
8164
- z5 as VTableColumn,
8165
- J0 as VTabs,
8200
+ r4 as VTabItem,
8201
+ N5 as VTable,
8202
+ W5 as VTableColumn,
8203
+ o4 as VTabs,
8166
8204
  m1 as VTimePicker,
8167
- v4 as VUpload,
8205
+ _4 as VUpload,
8168
8206
  tt as VtSelectContextKey,
8169
- Z4 as WEEKDAY_NAMES,
8207
+ N4 as WEEKDAY_NAMES,
8170
8208
  M1 as WEEKDAY_NAMES_SHORT,
8171
- V4 as containUpperCaseLetter,
8172
- B4 as default,
8173
- L4 as email,
8174
- X5 as formatTime,
8209
+ I4 as containUpperCaseLetter,
8210
+ P4 as default,
8211
+ H4 as email,
8212
+ e6 as formatTime,
8175
8213
  x1 as generateTimeOptions,
8176
- G4 as install,
8214
+ n7 as install,
8177
8215
  F1 as isValidDate,
8178
8216
  S1 as isValidTimeString,
8179
- C4 as loaderDirective,
8180
- q4 as maxLength,
8217
+ w4 as loaderDirective,
8218
+ Q4 as maxLength,
8181
8219
  Xe as messageManager,
8182
- W4 as minLength,
8183
- N4 as mk,
8220
+ X4 as minLength,
8221
+ K4 as mk,
8184
8222
  Ge as modalManager,
8185
- D4 as noSpaces,
8186
- S4 as numeric,
8187
- Q5 as parseTimeString,
8188
- x4 as required,
8189
- U4 as sameAs,
8190
- f4 as tooltipDirective,
8191
- K4 as uniqueAsync,
8192
- X4 as useValidate,
8193
- W5 as validateDateValue,
8194
- K5 as validateTimeValue,
8195
- Y4 as withAsync,
8196
- O4 as withMessage,
8223
+ B4 as noSpaces,
8224
+ T4 as numeric,
8225
+ t6 as parseTimeString,
8226
+ D4 as required,
8227
+ G4 as sameAs,
8228
+ g4 as tooltipDirective,
8229
+ J4 as uniqueAsync,
8230
+ e7 as useValidate,
8231
+ X5 as validateDateValue,
8232
+ J5 as validateTimeValue,
8233
+ U4 as withAsync,
8234
+ q4 as withMessage,
8197
8235
  f1 as withName,
8198
- z4 as withParams
8236
+ W4 as withParams
8199
8237
  };