voiptime-components 1.7.5 → 1.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,18 +1,18 @@
1
- import { createElementBlock as a, openBlock as s, createElementVNode as r, createStaticVNode as Pe, defineComponent as de, computed as x, createBlock as ie, createCommentVNode as j, resolveDynamicComponent as Xe, normalizeStyle as fe, useSlots as Qe, resolveDirective as Ge, withDirectives as Ae, normalizeClass as A, renderSlot as ve, Teleport as Je, withModifiers as Ce, toDisplayString as Q, watch as ce, Fragment as he, renderList as pe, vModelSelect as kt, createVNode as X, withCtx as we, createTextVNode as ge, ref as H, onUnmounted as Ie, nextTick as me, provide as et, onMounted as _e, unref as ne, inject as tt, createApp as bt, h as qe, mergeModels as lt, useModel as yt, reactive as xt, Transition as rt, onBeforeUnmount as Mt } from "vue";
1
+ import { createElementBlock as a, openBlock as s, createElementVNode as r, createStaticVNode as Pe, defineComponent as ue, computed as k, createBlock as ie, createCommentVNode as j, resolveDynamicComponent as Xe, normalizeStyle as pe, useSlots as Qe, resolveDirective as Ge, withDirectives as Ae, normalizeClass as A, renderSlot as ve, Teleport as Je, withModifiers as me, toDisplayString as Q, watch as fe, Fragment as ce, renderList as he, vModelSelect as k1, createVNode as X, withCtx as we, createTextVNode as ge, ref as I, onUnmounted as Ie, nextTick as Ce, provide as e1, onMounted as _e, unref as oe, inject as t1, createApp as b1, h as qe, mergeModels as l1, useModel as y1, reactive as x1, Transition as r1, onBeforeUnmount as $1 } from "vue";
2
2
  const w = (n, e) => {
3
3
  const o = n.__vccOpts || n;
4
4
  for (const [t, l] of e)
5
5
  o[t] = l;
6
6
  return o;
7
- }, $t = {}, Lt = {
7
+ }, M1 = {}, L1 = {
8
8
  width: "20",
9
9
  height: "20",
10
10
  viewBox: "0 0 20 20",
11
11
  fill: "none",
12
12
  xmlns: "http://www.w3.org/2000/svg"
13
13
  };
14
- function Vt(n, e) {
15
- return s(), a("svg", Lt, e[0] || (e[0] = [
14
+ function V1(n, e) {
15
+ return s(), a("svg", L1, e[0] || (e[0] = [
16
16
  r("circle", {
17
17
  cx: "10",
18
18
  cy: "10",
@@ -29,15 +29,15 @@ function Vt(n, e) {
29
29
  }, null, -1)
30
30
  ]));
31
31
  }
32
- const St = /* @__PURE__ */ w($t, [["render", Vt]]), It = {}, Ht = {
32
+ const S1 = /* @__PURE__ */ w(M1, [["render", V1]]), I1 = {}, B1 = {
33
33
  width: "20",
34
34
  height: "20",
35
35
  viewBox: "0 0 20 20",
36
36
  fill: "none",
37
37
  xmlns: "http://www.w3.org/2000/svg"
38
38
  };
39
- function Bt(n, e) {
40
- return s(), a("svg", Ht, e[0] || (e[0] = [
39
+ function H1(n, e) {
40
+ return s(), a("svg", B1, e[0] || (e[0] = [
41
41
  r("circle", {
42
42
  cx: "10",
43
43
  cy: "10",
@@ -61,15 +61,15 @@ function Bt(n, e) {
61
61
  }, null, -1)
62
62
  ]));
63
63
  }
64
- const Et = /* @__PURE__ */ w(It, [["render", Bt]]), Tt = {}, jt = {
64
+ const E1 = /* @__PURE__ */ w(I1, [["render", H1]]), T1 = {}, j1 = {
65
65
  width: "20",
66
66
  height: "20",
67
67
  viewBox: "0 0 20 20",
68
68
  fill: "none",
69
69
  xmlns: "http://www.w3.org/2000/svg"
70
70
  };
71
- function zt(n, e) {
72
- return s(), a("svg", jt, e[0] || (e[0] = [
71
+ function z1(n, e) {
72
+ return s(), a("svg", j1, e[0] || (e[0] = [
73
73
  r("path", {
74
74
  d: "M6 14L10 10M10 10L14 6M10 10L6 6M10 10L14 14",
75
75
  stroke: "currentColor",
@@ -79,15 +79,15 @@ function zt(n, e) {
79
79
  }, null, -1)
80
80
  ]));
81
81
  }
82
- const Ot = /* @__PURE__ */ w(Tt, [["render", zt]]), Rt = {}, Dt = {
82
+ const O1 = /* @__PURE__ */ w(T1, [["render", z1]]), R1 = {}, D1 = {
83
83
  width: "20",
84
84
  height: "20",
85
85
  viewBox: "0 0 20 20",
86
86
  fill: "none",
87
87
  xmlns: "http://www.w3.org/2000/svg"
88
88
  };
89
- function Wt(n, e) {
90
- return s(), a("svg", Dt, e[0] || (e[0] = [
89
+ function W1(n, e) {
90
+ return s(), a("svg", D1, e[0] || (e[0] = [
91
91
  r("path", {
92
92
  d: "M3 5.33333H17M3.875 5.33333L4.75 15.3333C4.75 15.7754 4.93437 16.1993 5.26256 16.5118C5.59075 16.8244 6.03587 17 6.5 17H13.5C13.9641 17 14.4092 16.8244 14.7374 16.5118C15.0656 16.1993 15.25 15.7754 15.25 15.3333L16.125 5.33333M7.375 5.33333V2.83333C7.375 2.61232 7.46719 2.40036 7.63128 2.24408C7.79538 2.0878 8.01794 2 8.25 2H11.75C11.9821 2 12.2046 2.0878 12.3687 2.24408C12.5328 2.40036 12.625 2.61232 12.625 2.83333V5.33333M8.25 9.5L11.75 12.8333M11.75 9.5L8.25 12.8333",
93
93
  stroke: "currentColor",
@@ -97,15 +97,15 @@ function Wt(n, e) {
97
97
  }, null, -1)
98
98
  ]));
99
99
  }
100
- const Pt = /* @__PURE__ */ w(Rt, [["render", Wt]]), At = {}, Zt = {
100
+ const P1 = /* @__PURE__ */ w(R1, [["render", W1]]), A1 = {}, Z1 = {
101
101
  fill: "none",
102
102
  height: "20",
103
103
  viewBox: "0 0 20 20",
104
104
  width: "20",
105
105
  xmlns: "http://www.w3.org/2000/svg"
106
106
  };
107
- function Ft(n, e) {
108
- return s(), a("svg", Zt, e[0] || (e[0] = [
107
+ function F1(n, e) {
108
+ return s(), a("svg", Z1, e[0] || (e[0] = [
109
109
  r("path", {
110
110
  d: "M12.5 10L10 12.5M10 12.5L7.5 10M10 12.5L10 4",
111
111
  stroke: "currentColor",
@@ -121,15 +121,15 @@ function Ft(n, e) {
121
121
  }, null, -1)
122
122
  ]));
123
123
  }
124
- const Nt = /* @__PURE__ */ w(At, [["render", Ft]]), qt = {}, Kt = {
124
+ const N1 = /* @__PURE__ */ w(A1, [["render", F1]]), q1 = {}, K1 = {
125
125
  width: "20",
126
126
  height: "20",
127
127
  viewBox: "0 0 20 20",
128
128
  fill: "none",
129
129
  xmlns: "http://www.w3.org/2000/svg"
130
130
  };
131
- function Ut(n, e) {
132
- return s(), a("svg", Kt, e[0] || (e[0] = [
131
+ function U1(n, e) {
132
+ return s(), a("svg", K1, e[0] || (e[0] = [
133
133
  r("path", {
134
134
  d: "M11.6822 3.72047L3.9739 11.4286C3.81664 11.5859 3.71629 11.7911 3.68872 12.0117L3.19824 15.9373C3.11738 16.5844 3.66764 17.1345 4.31476 17.0535L8.2407 16.5619C8.46128 16.5343 8.66637 16.434 8.82356 16.2768L16.531 8.56942C16.9215 8.1789 16.9215 7.54574 16.531 7.15521L13.0964 3.72049C12.7059 3.32995 12.0727 3.32994 11.6822 3.72047Z",
135
135
  stroke: "currentColor",
@@ -142,15 +142,15 @@ function Ut(n, e) {
142
142
  }, null, -1)
143
143
  ]));
144
144
  }
145
- const Yt = /* @__PURE__ */ w(qt, [["render", Ut]]), Xt = {}, Qt = {
145
+ const Y1 = /* @__PURE__ */ w(q1, [["render", U1]]), X1 = {}, Q1 = {
146
146
  fill: "none",
147
147
  height: "20",
148
148
  viewBox: "0 0 21 20",
149
149
  width: "21",
150
150
  xmlns: "http://www.w3.org/2000/svg"
151
151
  };
152
- function Gt(n, e) {
153
- return s(), a("svg", Qt, e[0] || (e[0] = [
152
+ function G1(n, e) {
153
+ return s(), a("svg", Q1, e[0] || (e[0] = [
154
154
  r("path", {
155
155
  d: "M2.64344 16.5675C3.26864 9.06464 9.52064 7.18893 12.6466 7.81417V3.4375L18.2734 10.0025L12.6466 16.5675V12.1908C9.52064 11.5656 4.51904 12.8161 2.64344 16.5675Z",
156
156
  stroke: "currentColor",
@@ -160,15 +160,15 @@ function Gt(n, e) {
160
160
  }, null, -1)
161
161
  ]));
162
162
  }
163
- const Jt = /* @__PURE__ */ w(Xt, [["render", Gt]]), e1 = {}, t1 = {
163
+ const J1 = /* @__PURE__ */ w(X1, [["render", G1]]), et = {}, tt = {
164
164
  width: "20",
165
165
  height: "20",
166
166
  viewBox: "0 0 20 20",
167
167
  fill: "none",
168
168
  xmlns: "http://www.w3.org/2000/svg"
169
169
  };
170
- function n1(n, e) {
171
- return s(), a("svg", t1, e[0] || (e[0] = [
170
+ function nt(n, e) {
171
+ return s(), a("svg", tt, e[0] || (e[0] = [
172
172
  r("path", {
173
173
  d: "M9.69565 4.21739H3V17H15.7826V10.3043M15.7826 4.21739L9.08696 10.913M12.7391 3H17V7.26087",
174
174
  stroke: "currentColor",
@@ -178,15 +178,15 @@ function n1(n, e) {
178
178
  }, null, -1)
179
179
  ]));
180
180
  }
181
- const o1 = /* @__PURE__ */ w(e1, [["render", n1]]), l1 = {}, r1 = {
181
+ const ot = /* @__PURE__ */ w(et, [["render", nt]]), lt = {}, rt = {
182
182
  width: "21",
183
183
  height: "20",
184
184
  viewBox: "0 0 21 20",
185
185
  fill: "none",
186
186
  xmlns: "http://www.w3.org/2000/svg"
187
187
  };
188
- function s1(n, e) {
189
- return s(), a("svg", r1, e[0] || (e[0] = [
188
+ function st(n, e) {
189
+ return s(), a("svg", rt, e[0] || (e[0] = [
190
190
  r("path", {
191
191
  "fill-rule": "evenodd",
192
192
  "clip-rule": "evenodd",
@@ -195,15 +195,15 @@ function s1(n, e) {
195
195
  }, null, -1)
196
196
  ]));
197
197
  }
198
- const i1 = /* @__PURE__ */ w(l1, [["render", s1]]), a1 = {}, u1 = {
198
+ const it = /* @__PURE__ */ w(lt, [["render", st]]), at = {}, ut = {
199
199
  width: "20",
200
200
  height: "20",
201
201
  viewBox: "0 0 20 20",
202
202
  fill: "none",
203
203
  xmlns: "http://www.w3.org/2000/svg"
204
204
  };
205
- function d1(n, e) {
206
- return s(), a("svg", u1, e[0] || (e[0] = [
205
+ function dt(n, e) {
206
+ return s(), a("svg", ut, e[0] || (e[0] = [
207
207
  r("path", {
208
208
  "fill-rule": "evenodd",
209
209
  "clip-rule": "evenodd",
@@ -212,15 +212,15 @@ function d1(n, e) {
212
212
  }, null, -1)
213
213
  ]));
214
214
  }
215
- const c1 = /* @__PURE__ */ w(a1, [["render", d1]]), h1 = {}, p1 = {
215
+ const ct = /* @__PURE__ */ w(at, [["render", dt]]), ht = {}, pt = {
216
216
  fill: "none",
217
217
  height: "20",
218
218
  viewBox: "0 0 20 20",
219
219
  width: "20",
220
220
  xmlns: "http://www.w3.org/2000/svg"
221
221
  };
222
- function f1(n, e) {
223
- return s(), a("svg", p1, e[0] || (e[0] = [
222
+ function ft(n, e) {
223
+ return s(), a("svg", pt, e[0] || (e[0] = [
224
224
  r("path", {
225
225
  d: "M12.6464 5.83144L7.15803 11.3198C6.99884 11.4735 6.87187 11.6574 6.78453 11.8608C6.69718 12.0641 6.6512 12.2828 6.64928 12.5041C6.64735 12.7254 6.68952 12.9449 6.77332 13.1497C6.85713 13.3545 6.98088 13.5406 7.13737 13.6971C7.29386 13.8536 7.47994 13.9773 7.68477 14.0611C7.8896 14.1449 8.10906 14.1871 8.33036 14.1852C8.55166 14.1833 8.77036 14.1373 8.9737 14.0499C9.17704 13.9626 9.36095 13.8356 9.51469 13.6764L14.8597 8.1881C15.4669 7.55943 15.8029 6.71742 15.7953 5.84343C15.7877 4.96944 15.4371 4.1334 14.8191 3.51537C14.2011 2.89735 13.365 2.54678 12.491 2.53919C11.617 2.53159 10.775 2.86758 10.1464 3.47477L4.80053 8.96227C3.86277 9.90003 3.33594 11.1719 3.33594 12.4981C3.33594 13.8243 3.86277 15.0962 4.80053 16.0339C5.73829 16.9717 7.01017 17.4985 8.33636 17.4985C9.66256 17.4985 10.9344 16.9717 11.8722 16.0339L17.0864 10.8314",
226
226
  stroke: "currentColor",
@@ -230,15 +230,15 @@ function f1(n, e) {
230
230
  }, null, -1)
231
231
  ]));
232
232
  }
233
- const v1 = /* @__PURE__ */ w(h1, [["render", f1]]), m1 = {}, C1 = {
233
+ const vt = /* @__PURE__ */ w(ht, [["render", ft]]), mt = {}, Ct = {
234
234
  width: "20",
235
235
  height: "20",
236
236
  viewBox: "0 0 20 20",
237
237
  fill: "none",
238
238
  xmlns: "http://www.w3.org/2000/svg"
239
239
  };
240
- function w1(n, e) {
241
- return s(), a("svg", C1, e[0] || (e[0] = [
240
+ function wt(n, e) {
241
+ return s(), a("svg", Ct, e[0] || (e[0] = [
242
242
  r("path", {
243
243
  d: "M12.6797 13L12.6797 7",
244
244
  stroke: "currentColor",
@@ -260,15 +260,15 @@ function w1(n, e) {
260
260
  }, null, -1)
261
261
  ]));
262
262
  }
263
- const g1 = /* @__PURE__ */ w(m1, [["render", w1]]), _1 = {}, k1 = {
263
+ const gt = /* @__PURE__ */ w(mt, [["render", wt]]), _t = {}, kt = {
264
264
  width: "20",
265
265
  height: "20",
266
266
  viewBox: "0 0 20 20",
267
267
  fill: "none",
268
268
  xmlns: "http://www.w3.org/2000/svg"
269
269
  };
270
- function b1(n, e) {
271
- return s(), a("svg", k1, e[0] || (e[0] = [
270
+ function bt(n, e) {
271
+ return s(), a("svg", kt, e[0] || (e[0] = [
272
272
  r("path", {
273
273
  d: "M10.002 18C14.4204 18 18.002 14.4184 18.002 10C18.002 5.5816 14.4204 2 10.002 2C5.58355 2 2.00195 5.5816 2.00195 10C2.00195 14.4184 5.58355 18 10.002 18Z",
274
274
  stroke: "currentColor",
@@ -284,15 +284,15 @@ function b1(n, e) {
284
284
  }, null, -1)
285
285
  ]));
286
286
  }
287
- const y1 = /* @__PURE__ */ w(_1, [["render", b1]]), x1 = {}, M1 = {
287
+ const yt = /* @__PURE__ */ w(_t, [["render", bt]]), xt = {}, $t = {
288
288
  width: "20",
289
289
  height: "20",
290
290
  viewBox: "0 0 20 20",
291
291
  fill: "none",
292
292
  xmlns: "http://www.w3.org/2000/svg"
293
293
  };
294
- function $1(n, e) {
295
- return s(), a("svg", M1, e[0] || (e[0] = [
294
+ function Mt(n, e) {
295
+ return s(), a("svg", $t, e[0] || (e[0] = [
296
296
  r("path", {
297
297
  d: "M6.25065 8.33073L8.33398 10.4141L6.25065 12.4974M10.0007 12.4974H13.334M5.00065 4.16406H15.0007C15.4427 4.16406 15.8666 4.33966 16.1792 4.65222C16.4917 4.96478 16.6673 5.3887 16.6673 5.83073V14.1641C16.6673 14.6061 16.4917 15.03 16.1792 15.3426C15.8666 15.6551 15.4427 15.8307 15.0007 15.8307H5.00065C4.55862 15.8307 4.1347 15.6551 3.82214 15.3426C3.50958 15.03 3.33398 14.6061 3.33398 14.1641V5.83073C3.33398 5.3887 3.50958 4.96478 3.82214 4.65222C4.1347 4.33966 4.55862 4.16406 5.00065 4.16406Z",
298
298
  stroke: "currentColor",
@@ -302,15 +302,15 @@ function $1(n, e) {
302
302
  }, null, -1)
303
303
  ]));
304
304
  }
305
- const L1 = /* @__PURE__ */ w(x1, [["render", $1]]), V1 = {}, S1 = {
305
+ const Lt = /* @__PURE__ */ w(xt, [["render", Mt]]), Vt = {}, St = {
306
306
  width: "20",
307
307
  height: "20",
308
308
  viewBox: "0 0 20 20",
309
309
  fill: "none",
310
310
  xmlns: "http://www.w3.org/2000/svg"
311
311
  };
312
- function I1(n, e) {
313
- return s(), a("svg", S1, e[0] || (e[0] = [
312
+ function It(n, e) {
313
+ return s(), a("svg", St, e[0] || (e[0] = [
314
314
  r("path", {
315
315
  d: "M6.05738 3.37705C6.15102 2.92527 6.54523 2.5 7.08383 2.5C7.62242 2.5 8.01598 2.92494 8.10995 3.37673C8.2049 3.83506 8.44391 4.52649 9.0421 5.12494C9.63996 5.72274 10.3315 5.96205 10.7895 6.05699C11.241 6.15095 11.6667 6.54479 11.6667 7.08333C11.6667 7.62188 11.2417 8.01571 10.7898 8.10967C10.3315 8.20461 9.64029 8.44426 9.0421 9.04271C8.44424 9.64083 8.20523 10.3316 8.11027 10.7893C8.01631 11.2414 7.62243 11.6667 7.0835 11.6667C6.54523 11.6667 6.15102 11.2421 6.05705 10.7899C5.9621 10.3316 5.72243 9.63985 5.12424 9.04173C4.52638 8.44327 3.83488 8.20429 3.37715 8.10935C2.92564 8.01571 2.50098 7.62286 2.5 7.0853C2.49902 6.54577 2.92466 6.15095 3.37748 6.05699C3.8352 5.96205 4.52671 5.72307 5.12457 5.12461C5.72243 4.52616 5.9621 3.83473 6.05738 3.37705Z",
316
316
  stroke: "currentColor",
@@ -336,15 +336,15 @@ function I1(n, e) {
336
336
  }, null, -1)
337
337
  ]));
338
338
  }
339
- const H1 = /* @__PURE__ */ w(V1, [["render", I1]]), B1 = {}, E1 = {
339
+ const Bt = /* @__PURE__ */ w(Vt, [["render", It]]), Ht = {}, Et = {
340
340
  fill: "none",
341
341
  height: "20",
342
342
  viewBox: "0 0 21 20",
343
343
  width: "21",
344
344
  xmlns: "http://www.w3.org/2000/svg"
345
345
  };
346
- function T1(n, e) {
347
- return s(), a("svg", E1, e[0] || (e[0] = [
346
+ function Tt(n, e) {
347
+ return s(), a("svg", Et, e[0] || (e[0] = [
348
348
  r("path", {
349
349
  d: "M18.7266 16.5625C18.1016 9.0625 11.8516 7.1875 8.72656 7.8125V3.4375L3.10156 10L8.72656 16.5625V12.1875C11.8516 11.5625 16.8516 12.8125 18.7266 16.5625Z",
350
350
  stroke: "currentColor",
@@ -354,15 +354,15 @@ function T1(n, e) {
354
354
  }, null, -1)
355
355
  ]));
356
356
  }
357
- const j1 = /* @__PURE__ */ w(B1, [["render", T1]]), z1 = {}, O1 = {
357
+ const jt = /* @__PURE__ */ w(Ht, [["render", Tt]]), zt = {}, Ot = {
358
358
  width: "20",
359
359
  height: "20",
360
360
  viewBox: "0 0 20 20",
361
361
  fill: "none",
362
362
  xmlns: "http://www.w3.org/2000/svg"
363
363
  };
364
- function R1(n, e) {
365
- return s(), a("svg", O1, e[0] || (e[0] = [
364
+ function Rt(n, e) {
365
+ return s(), a("svg", Ot, e[0] || (e[0] = [
366
366
  r("path", {
367
367
  d: "M6.5 3H4C3.44772 3 3 3.44772 3 4V16C3 16.5523 3.44772 17 4 17H6.5M6.5 3H12.096C12.3552 3 12.6042 3.1006 12.7906 3.2806L16.6946 7.04995C16.8898 7.2384 17 7.49805 17 7.76935V16C17 16.5523 16.5523 17 16 17H13.5M6.5 3V6.34483C6.5 6.89711 6.94772 7.34483 7.5 7.34483H11M6.5 17V14.6207C6.5 14.0684 6.94772 13.6207 7.5 13.6207H12.5C13.0523 13.6207 13.5 14.0684 13.5 14.6207V17M6.5 17H13.5",
368
368
  stroke: "currentColor",
@@ -371,15 +371,15 @@ function R1(n, e) {
371
371
  }, null, -1)
372
372
  ]));
373
373
  }
374
- const D1 = /* @__PURE__ */ w(z1, [["render", R1]]), W1 = {}, P1 = {
374
+ const Dt = /* @__PURE__ */ w(zt, [["render", Rt]]), Wt = {}, Pt = {
375
375
  fill: "none",
376
376
  height: "20",
377
377
  viewBox: "0 0 20 20",
378
378
  width: "20",
379
379
  xmlns: "http://www.w3.org/2000/svg"
380
380
  };
381
- function A1(n, e) {
382
- return s(), a("svg", P1, e[0] || (e[0] = [
381
+ function At(n, e) {
382
+ return s(), a("svg", Pt, e[0] || (e[0] = [
383
383
  r("path", {
384
384
  d: "M9.99707 1.75C10.0585 1.7502 10.1253 1.76596 10.2109 1.82617C10.2655 1.86456 10.3244 1.92947 10.373 2.06152L12.0225 7.4873L12.1846 8.01855H17.8496C17.9517 8.01855 18.0056 8.04477 18.0508 8.08301C18.155 8.17127 18.2046 8.25195 18.2305 8.32227C18.2492 8.37335 18.2615 8.44959 18.2324 8.5752C18.2224 8.61828 18.2038 8.66002 18.1221 8.71387L18.1123 8.71973L18.1025 8.72754L13.9639 11.6484L13.5186 11.9629L13.6797 12.4834L15.3066 17.7314L15.3115 17.7471L15.3174 17.7627C15.3551 17.8678 15.3398 17.9083 15.3281 17.9336C15.2757 18.0476 15.2119 18.1188 15.1396 18.1689C15.073 18.2151 14.9934 18.2455 14.8799 18.25C14.8342 18.2518 14.7814 18.2434 14.6982 18.1758L14.6885 18.168L14.6777 18.1602L10.4531 14.9551L10 14.6104L9.54688 14.9551L5.32227 18.1602L5.31152 18.168L5.30176 18.1758C5.21998 18.2422 5.16597 18.2518 5.11719 18.25C5.00442 18.2458 4.92723 18.2156 4.86328 18.1709C4.78988 18.1195 4.72559 18.047 4.67285 17.9326C4.66158 17.9081 4.6456 17.8677 4.68359 17.7607L4.69336 17.7314L6.32031 12.4834L6.48145 11.9629L6.03613 11.6484L1.89746 8.72754L1.88867 8.7207L1.87891 8.71484L1.82812 8.6748C1.78728 8.63758 1.77496 8.60601 1.76758 8.57422C1.73882 8.45027 1.75029 8.37401 1.76953 8.32129C1.79553 8.25023 1.84562 8.1698 1.94922 8.08203C1.99372 8.04435 2.04629 8.01833 2.14746 8.01855H7.81543L7.97754 7.4873L9.62402 2.06738C9.67456 1.93103 9.73646 1.86338 9.79297 1.82324C9.8758 1.7645 9.93873 1.74988 9.99707 1.75Z",
385
385
  stroke: "currentColor",
@@ -387,15 +387,15 @@ function A1(n, e) {
387
387
  }, null, -1)
388
388
  ]));
389
389
  }
390
- const Z1 = /* @__PURE__ */ w(W1, [["render", A1]]), F1 = {}, N1 = {
390
+ const Zt = /* @__PURE__ */ w(Wt, [["render", At]]), Ft = {}, Nt = {
391
391
  width: "20",
392
392
  height: "20",
393
393
  viewBox: "0 0 20 20",
394
394
  fill: "none",
395
395
  xmlns: "http://www.w3.org/2000/svg"
396
396
  };
397
- function q1(n, e) {
398
- return s(), a("svg", N1, e[0] || (e[0] = [
397
+ function qt(n, e) {
398
+ return s(), a("svg", Nt, e[0] || (e[0] = [
399
399
  r("path", {
400
400
  d: "M9 6.5L12.8182 10L9 13.5",
401
401
  stroke: "currentColor",
@@ -410,15 +410,15 @@ function q1(n, e) {
410
410
  }, null, -1)
411
411
  ]));
412
412
  }
413
- const K1 = /* @__PURE__ */ w(F1, [["render", q1]]), U1 = {}, Y1 = {
413
+ const Kt = /* @__PURE__ */ w(Ft, [["render", qt]]), Ut = {}, Yt = {
414
414
  width: "20",
415
415
  height: "20",
416
416
  viewBox: "0 0 20 20",
417
417
  fill: "none",
418
418
  xmlns: "http://www.w3.org/2000/svg"
419
419
  };
420
- function X1(n, e) {
421
- return s(), a("svg", Y1, e[0] || (e[0] = [
420
+ function Xt(n, e) {
421
+ return s(), a("svg", Yt, e[0] || (e[0] = [
422
422
  r("path", {
423
423
  d: "M5 10.0026V8.33594C5 7.00986 5.52678 5.73809 6.46447 4.8004C7.40215 3.86272 8.67392 3.33594 10 3.33594C11.3261 3.33594 12.5979 3.86272 13.5355 4.8004C14.4732 5.73809 15 7.00986 15 8.33594V10.0026",
424
424
  stroke: "currentColor",
@@ -451,7 +451,7 @@ function X1(n, e) {
451
451
  }, null, -1)
452
452
  ]));
453
453
  }
454
- const Q1 = /* @__PURE__ */ w(U1, [["render", X1]]), G1 = {}, J1 = {
454
+ const Qt = /* @__PURE__ */ w(Ut, [["render", Xt]]), Gt = {}, Jt = {
455
455
  width: "20",
456
456
  height: "20",
457
457
  viewBox: "0 0 20 20",
@@ -459,7 +459,7 @@ const Q1 = /* @__PURE__ */ w(U1, [["render", X1]]), G1 = {}, J1 = {
459
459
  xmlns: "http://www.w3.org/2000/svg"
460
460
  };
461
461
  function en(n, e) {
462
- return s(), a("svg", J1, e[0] || (e[0] = [
462
+ return s(), a("svg", Jt, e[0] || (e[0] = [
463
463
  r("path", {
464
464
  d: "M5.00065 10.0026V8.33594C5.00065 7.00985 5.52744 5.73809 6.46512 4.8004C7.4028 3.86272 8.67457 3.33594 10.0007 3.33594C11.3267 3.33594 12.5985 3.86272 13.5362 4.8004C14.4739 5.73809 15.0007 7.00985 15.0007 8.33594V10.0026M3.33398 15.0026C3.33398 15.4446 3.50958 15.8686 3.82214 16.1811C4.1347 16.4937 4.55862 16.6693 5.00065 16.6693C5.44268 16.6693 5.8666 16.4937 6.17916 16.1811C6.49172 15.8686 6.66732 15.4446 6.66732 15.0026C6.66732 14.5606 6.49172 14.1367 6.17916 13.8241C5.8666 13.5115 5.44268 13.3359 5.00065 13.3359C4.55862 13.3359 4.1347 13.5115 3.82214 13.8241C3.50958 14.1367 3.33398 14.5606 3.33398 15.0026ZM13.334 15.0026C13.334 15.4446 13.5096 15.8686 13.8221 16.1811C14.1347 16.4937 14.5586 16.6693 15.0007 16.6693C15.4427 16.6693 15.8666 16.4937 16.1792 16.1811C16.4917 15.8686 16.6673 15.4446 16.6673 15.0026C16.6673 14.5606 16.4917 14.1367 16.1792 13.8241C15.8666 13.5115 15.4427 13.3359 15.0007 13.3359C14.5586 13.3359 14.1347 13.5115 13.8221 13.8241C13.5096 14.1367 13.334 14.5606 13.334 15.0026Z",
465
465
  stroke: "currentColor",
@@ -476,7 +476,7 @@ function en(n, e) {
476
476
  }, null, -1)
477
477
  ]));
478
478
  }
479
- const tn = /* @__PURE__ */ w(G1, [["render", en]]), nn = {}, on = {
479
+ const tn = /* @__PURE__ */ w(Gt, [["render", en]]), nn = {}, on = {
480
480
  width: "20",
481
481
  height: "20",
482
482
  viewBox: "0 0 20 20",
@@ -583,7 +583,7 @@ const bn = /* @__PURE__ */ w(gn, [["render", kn]]), yn = {}, xn = {
583
583
  fill: "none",
584
584
  xmlns: "http://www.w3.org/2000/svg"
585
585
  };
586
- function Mn(n, e) {
586
+ function $n(n, e) {
587
587
  return s(), a("svg", xn, e[0] || (e[0] = [
588
588
  r("path", {
589
589
  d: "M8.60352 6L12.6035 10L8.60352 14",
@@ -594,7 +594,7 @@ function Mn(n, e) {
594
594
  }, null, -1)
595
595
  ]));
596
596
  }
597
- const $n = /* @__PURE__ */ w(yn, [["render", Mn]]), Ln = {}, Vn = {
597
+ const Mn = /* @__PURE__ */ w(yn, [["render", $n]]), Ln = {}, Vn = {
598
598
  width: "20",
599
599
  height: "20",
600
600
  viewBox: "0 0 20 20",
@@ -612,7 +612,7 @@ function Sn(n, e) {
612
612
  }, null, -1)
613
613
  ]));
614
614
  }
615
- const In = /* @__PURE__ */ w(Ln, [["render", Sn]]), Hn = {}, Bn = {
615
+ const In = /* @__PURE__ */ w(Ln, [["render", Sn]]), Bn = {}, Hn = {
616
616
  fill: "none",
617
617
  height: "20",
618
618
  viewBox: "0 0 20 20",
@@ -620,7 +620,7 @@ const In = /* @__PURE__ */ w(Ln, [["render", Sn]]), Hn = {}, Bn = {
620
620
  xmlns: "http://www.w3.org/2000/svg"
621
621
  };
622
622
  function En(n, e) {
623
- return s(), a("svg", Bn, e[0] || (e[0] = [
623
+ return s(), a("svg", Hn, e[0] || (e[0] = [
624
624
  r("path", {
625
625
  d: "M2 8.36287C2 5.36357 2 3.86353 3.09365 2.93216C4.18729 2.0008 5.94679 2 9.46667 2H10.1457C13.0094 2 15.5096 2 16.504 2.6347C16.7886 2.81604 17.0416 3.03238 17.2551 3.27496C18 4.12281 18 5.3429 18 7.78465V9.80884C18 12.1655 18 13.2798 18 13.2798C18 13.2798 17.9068 15.3029 17.5 16C17.0932 16.6971 16 17.7068 14.8 17.9072C13.6 18.1076 11.7305 17.8652 10.1457 17.8926C9.30684 17.9072 8.3873 17.9072 7.42958 17.9072C5.85016 17.9072 5.05958 17.9072 4.42886 17.7068C3.41427 17.3838 2.61402 16.7022 2.23542 15.8377C2 15.3 2 14.6263 2 13.2798V8.36287Z",
626
626
  stroke: "currentColor",
@@ -651,7 +651,7 @@ function En(n, e) {
651
651
  }, null, -1)
652
652
  ]));
653
653
  }
654
- const Tn = /* @__PURE__ */ w(Hn, [["render", En]]), jn = {}, zn = {
654
+ const Tn = /* @__PURE__ */ w(Bn, [["render", En]]), jn = {}, zn = {
655
655
  fill: "none",
656
656
  height: "20",
657
657
  viewBox: "0 0 20 20",
@@ -887,7 +887,7 @@ function xo(n, e) {
887
887
  }, null, -1)
888
888
  ]));
889
889
  }
890
- const Mo = /* @__PURE__ */ w(bo, [["render", xo]]), $o = {}, Lo = {
890
+ const $o = /* @__PURE__ */ w(bo, [["render", xo]]), Mo = {}, Lo = {
891
891
  width: "20",
892
892
  height: "20",
893
893
  viewBox: "0 0 20 20",
@@ -919,15 +919,15 @@ function Vo(n, e) {
919
919
  }, null, -1)
920
920
  ]));
921
921
  }
922
- const So = /* @__PURE__ */ w($o, [["render", Vo]]), Io = {}, Ho = {
922
+ const So = /* @__PURE__ */ w(Mo, [["render", Vo]]), Io = {}, Bo = {
923
923
  width: "20",
924
924
  height: "20",
925
925
  viewBox: "0 0 20 20",
926
926
  fill: "none",
927
927
  xmlns: "http://www.w3.org/2000/svg"
928
928
  };
929
- function Bo(n, e) {
930
- return s(), a("svg", Ho, e[0] || (e[0] = [
929
+ function Ho(n, e) {
930
+ return s(), a("svg", Bo, e[0] || (e[0] = [
931
931
  r("path", {
932
932
  "fill-rule": "evenodd",
933
933
  "clip-rule": "evenodd",
@@ -944,7 +944,7 @@ function Bo(n, e) {
944
944
  }, null, -1)
945
945
  ]));
946
946
  }
947
- const Eo = /* @__PURE__ */ w(Io, [["render", Bo]]), To = {}, jo = {
947
+ const Eo = /* @__PURE__ */ w(Io, [["render", Ho]]), To = {}, jo = {
948
948
  fill: "none",
949
949
  height: "20",
950
950
  viewBox: "0 0 20 20",
@@ -1209,15 +1209,15 @@ function bl(n, e) {
1209
1209
  }, null, -1)
1210
1210
  ]));
1211
1211
  }
1212
- const yl = /* @__PURE__ */ w(_l, [["render", bl]]), xl = {}, Ml = {
1212
+ const yl = /* @__PURE__ */ w(_l, [["render", bl]]), xl = {}, $l = {
1213
1213
  fill: "none",
1214
1214
  height: "20",
1215
1215
  viewBox: "0 0 20 20",
1216
1216
  width: "20",
1217
1217
  xmlns: "http://www.w3.org/2000/svg"
1218
1218
  };
1219
- function $l(n, e) {
1220
- return s(), a("svg", Ml, e[0] || (e[0] = [
1219
+ function Ml(n, e) {
1220
+ return s(), a("svg", $l, e[0] || (e[0] = [
1221
1221
  r("path", {
1222
1222
  d: "M5.10938 6.41406L9.00209 9.00921L12.8948 6.41406",
1223
1223
  stroke: "currentColor",
@@ -1240,7 +1240,7 @@ function $l(n, e) {
1240
1240
  }, null, -1)
1241
1241
  ]));
1242
1242
  }
1243
- const Ll = /* @__PURE__ */ w(xl, [["render", $l]]), Vl = {}, Sl = {
1243
+ const Ll = /* @__PURE__ */ w(xl, [["render", Ml]]), Vl = {}, Sl = {
1244
1244
  fill: "none",
1245
1245
  height: "20",
1246
1246
  viewBox: "0 0 20 20",
@@ -1274,7 +1274,7 @@ function Il(n, e) {
1274
1274
  }, null, -1)
1275
1275
  ]));
1276
1276
  }
1277
- const Hl = /* @__PURE__ */ w(Vl, [["render", Il]]), Bl = {}, El = {
1277
+ const Bl = /* @__PURE__ */ w(Vl, [["render", Il]]), Hl = {}, El = {
1278
1278
  fill: "none",
1279
1279
  height: "20",
1280
1280
  viewBox: "0 0 20 20",
@@ -1305,15 +1305,40 @@ function Tl(n, e) {
1305
1305
  }, null, -1)
1306
1306
  ]));
1307
1307
  }
1308
- const jl = /* @__PURE__ */ w(Bl, [["render", Tl]]), zl = {}, Ol = {
1308
+ const jl = /* @__PURE__ */ w(Hl, [["render", Tl]]), zl = {}, Ol = {
1309
+ width: "20",
1310
+ height: "20",
1311
+ viewBox: "0 0 20 20",
1312
+ fill: "none",
1313
+ xmlns: "http://www.w3.org/2000/svg"
1314
+ };
1315
+ function Rl(n, e) {
1316
+ return s(), a("svg", Ol, e[0] || (e[0] = [
1317
+ r("path", {
1318
+ d: "M2.08203 10.0026C2.08203 6.27094 2.08203 4.40427 3.2412 3.2451C4.40036 2.08594 6.2662 2.08594 9.9987 2.08594C13.7304 2.08594 15.597 2.08594 16.7562 3.2451C17.9154 4.40427 17.9154 6.2701 17.9154 10.0026C17.9154 13.7343 17.9154 15.6009 16.7562 16.7601C15.597 17.9193 13.7312 17.9193 9.9987 17.9193C6.26703 17.9193 4.40036 17.9193 3.2412 16.7601C2.08203 15.6009 2.08203 13.7351 2.08203 10.0026Z",
1319
+ stroke: "currentColor",
1320
+ "stroke-width": "1.5",
1321
+ "stroke-linecap": "round",
1322
+ "stroke-linejoin": "round"
1323
+ }, null, -1),
1324
+ r("path", {
1325
+ d: "M8.33203 7.08594C8.33203 6.75442 8.20034 6.43647 7.96591 6.20205C7.73149 5.96763 7.41355 5.83594 7.08203 5.83594C6.75051 5.83594 6.43257 5.96763 6.19815 6.20205C5.96373 6.43647 5.83203 6.75442 5.83203 7.08594C5.83203 7.41746 5.96373 7.7354 6.19815 7.96982C6.43257 8.20424 6.75051 8.33594 7.08203 8.33594C7.41355 8.33594 7.73149 8.20424 7.96591 7.96982C8.20034 7.7354 8.33203 7.41746 8.33203 7.08594ZM8.33203 7.08594H14.1654M11.6654 12.9193C11.6654 12.5878 11.7971 12.2698 12.0315 12.0354C12.2659 11.801 12.5838 11.6693 12.9154 11.6693C13.2469 11.6693 13.5648 11.801 13.7992 12.0354C14.0337 12.2698 14.1654 12.5878 14.1654 12.9193C14.1654 13.2508 14.0337 13.5687 13.7992 13.8032C13.5648 14.0376 13.2469 14.1693 12.9154 14.1693C12.5838 14.1693 12.2659 14.0376 12.0315 13.8032C11.7971 13.5687 11.6654 13.2508 11.6654 12.9193ZM11.6654 12.9193H5.83203",
1326
+ stroke: "currentColor",
1327
+ "stroke-width": "1.5",
1328
+ "stroke-linecap": "round",
1329
+ "stroke-linejoin": "round"
1330
+ }, null, -1)
1331
+ ]));
1332
+ }
1333
+ const Dl = /* @__PURE__ */ w(zl, [["render", Rl]]), Wl = {}, Pl = {
1309
1334
  fill: "none",
1310
1335
  height: "24",
1311
1336
  viewBox: "0 0 25 24",
1312
1337
  width: "25",
1313
1338
  xmlns: "http://www.w3.org/2000/svg"
1314
1339
  };
1315
- function Rl(n, e) {
1316
- return s(), a("svg", Ol, e[0] || (e[0] = [
1340
+ function Al(n, e) {
1341
+ return s(), a("svg", Pl, e[0] || (e[0] = [
1317
1342
  r("path", {
1318
1343
  d: "M12.4531 8V4H8.45312",
1319
1344
  stroke: "currentColor",
@@ -1337,15 +1362,15 @@ function Rl(n, e) {
1337
1362
  }, null, -1)
1338
1363
  ]));
1339
1364
  }
1340
- const Dl = /* @__PURE__ */ w(zl, [["render", Rl]]), Wl = {}, Pl = {
1365
+ const Zl = /* @__PURE__ */ w(Wl, [["render", Al]]), Fl = {}, Nl = {
1341
1366
  width: "21",
1342
1367
  height: "20",
1343
1368
  viewBox: "0 0 21 20",
1344
1369
  fill: "none",
1345
1370
  xmlns: "http://www.w3.org/2000/svg"
1346
1371
  };
1347
- function Al(n, e) {
1348
- return s(), a("svg", Pl, e[0] || (e[0] = [
1372
+ function ql(n, e) {
1373
+ return s(), a("svg", Nl, e[0] || (e[0] = [
1349
1374
  r("path", {
1350
1375
  d: "M13.7875 14.1695V5.83594M10.4543 14.1695V9.16954M7.12109 14.1695V12.5027",
1351
1376
  stroke: "currentColor",
@@ -1362,15 +1387,15 @@ function Al(n, e) {
1362
1387
  }, null, -1)
1363
1388
  ]));
1364
1389
  }
1365
- const Zl = /* @__PURE__ */ w(Wl, [["render", Al]]), Fl = {}, Nl = {
1390
+ const Kl = /* @__PURE__ */ w(Fl, [["render", ql]]), Ul = {}, Yl = {
1366
1391
  fill: "none",
1367
1392
  height: "20",
1368
1393
  viewBox: "0 0 21 20",
1369
1394
  width: "21",
1370
1395
  xmlns: "http://www.w3.org/2000/svg"
1371
1396
  };
1372
- function ql(n, e) {
1373
- return s(), a("svg", Nl, e[0] || (e[0] = [
1397
+ function Xl(n, e) {
1398
+ return s(), a("svg", Yl, e[0] || (e[0] = [
1374
1399
  r("path", {
1375
1400
  d: "M8.89323 17.7057H7.85156C6.52548 17.7057 5.25371 17.1789 4.31603 16.2413C3.37835 15.3036 2.85156 14.0318 2.85156 12.7057V7.28906C2.85156 5.96298 3.37835 4.69121 4.31603 3.75353C5.25371 2.81585 6.52548 2.28906 7.85156 2.28906H13.2682C14.5943 2.28906 15.8661 2.81585 16.8038 3.75353C17.7414 4.69121 18.2682 5.96298 18.2682 7.28906V8.33073",
1376
1401
  stroke: "currentColor",
@@ -1386,15 +1411,15 @@ function ql(n, e) {
1386
1411
  }, null, -1)
1387
1412
  ]));
1388
1413
  }
1389
- const Kl = /* @__PURE__ */ w(Fl, [["render", ql]]), Ul = {}, Yl = {
1414
+ const Ql = /* @__PURE__ */ w(Ul, [["render", Xl]]), Gl = {}, Jl = {
1390
1415
  fill: "none",
1391
1416
  height: "20",
1392
1417
  viewBox: "0 0 21 20",
1393
1418
  width: "21",
1394
1419
  xmlns: "http://www.w3.org/2000/svg"
1395
1420
  };
1396
- function Xl(n, e) {
1397
- return s(), a("svg", Yl, e[0] || (e[0] = [
1421
+ function er(n, e) {
1422
+ return s(), a("svg", Jl, e[0] || (e[0] = [
1398
1423
  r("path", {
1399
1424
  d: "M14.6198 16.2519C14.6198 14.871 12.754 13.7519 10.4531 13.7519C8.15229 13.7519 6.28646 14.871 6.28646 16.2519M17.9531 13.7519C17.9531 12.7269 16.9248 11.846 15.4531 11.4602M2.95312 13.7519C2.95312 12.7269 3.98146 11.846 5.45312 11.4602M15.4531 8.11521C15.7 7.89695 15.9013 7.63204 16.0454 7.33571C16.1896 7.03937 16.2737 6.71747 16.293 6.38851C16.3123 6.05954 16.2664 5.73002 16.1578 5.41887C16.0493 5.10773 15.8803 4.8211 15.6607 4.57549C15.441 4.32988 15.1749 4.13012 14.8777 3.98771C14.5806 3.8453 14.2582 3.76304 13.9291 3.74566C13.6 3.72829 13.2708 3.77614 12.9603 3.88647C12.6498 3.9968 12.3641 4.16743 12.1198 4.38854M5.45312 8.11521C4.96337 7.672 4.66892 7.05298 4.6341 6.39337C4.59927 5.73377 4.8269 5.08718 5.26726 4.59487C5.70761 4.10255 6.32491 3.80451 6.9843 3.76585C7.64369 3.72719 8.29159 3.95105 8.78646 4.38854M10.4531 11.2519C9.79008 11.2519 9.1542 10.9885 8.68536 10.5196C8.21652 10.0508 7.95312 9.41492 7.95312 8.75187C7.95312 8.08883 8.21652 7.45295 8.68536 6.98411C9.1542 6.51527 9.79008 6.25187 10.4531 6.25187C11.1162 6.25187 11.7521 6.51527 12.2209 6.98411C12.6897 7.45295 12.9531 8.08883 12.9531 8.75187C12.9531 9.41492 12.6897 10.0508 12.2209 10.5196C11.7521 10.9885 11.1162 11.2519 10.4531 11.2519Z",
1400
1425
  stroke: "currentColor",
@@ -1404,15 +1429,15 @@ function Xl(n, e) {
1404
1429
  }, null, -1)
1405
1430
  ]));
1406
1431
  }
1407
- const Ql = /* @__PURE__ */ w(Ul, [["render", Xl]]), Gl = {}, Jl = {
1432
+ const tr = /* @__PURE__ */ w(Gl, [["render", er]]), nr = {}, or = {
1408
1433
  fill: "none",
1409
1434
  height: "20",
1410
1435
  viewBox: "0 0 21 20",
1411
1436
  width: "21",
1412
1437
  xmlns: "http://www.w3.org/2000/svg"
1413
1438
  };
1414
- function er(n, e) {
1415
- return s(), a("svg", Jl, e[0] || (e[0] = [
1439
+ function lr(n, e) {
1440
+ return s(), a("svg", or, e[0] || (e[0] = [
1416
1441
  r("path", {
1417
1442
  d: "M13.277 2C11.904 2 10.5873 2.52678 9.61647 3.46447C8.64563 4.40215 8.10022 5.67392 8.10022 7C8.10494 7.67799 8.24558 8.34867 8.51437 8.975L7.45312 11.375L10.2227 11.0375C10.8828 11.5032 11.6478 11.8114 12.4549 11.9367C13.262 12.0619 14.0884 12.0008 14.8664 11.7583C15.6443 11.5158 16.3518 11.0988 16.9308 10.5414C17.5098 9.98402 17.9439 9.30212 18.1976 8.55152C18.4513 7.80093 18.5173 7.00298 18.3902 6.22301C18.2632 5.44303 17.9467 4.7032 17.4667 4.06408C16.9867 3.42496 16.3568 2.90473 15.6286 2.54596C14.9003 2.1872 14.0945 2.0001 13.277 2Z",
1418
1443
  stroke: "currentColor",
@@ -1429,15 +1454,15 @@ function er(n, e) {
1429
1454
  }, null, -1)
1430
1455
  ]));
1431
1456
  }
1432
- const tr = /* @__PURE__ */ w(Gl, [["render", er]]), nr = {}, or = {
1457
+ const rr = /* @__PURE__ */ w(nr, [["render", lr]]), sr = {}, ir = {
1433
1458
  width: "20",
1434
1459
  height: "20",
1435
1460
  viewBox: "0 0 20 20",
1436
1461
  fill: "none",
1437
1462
  xmlns: "http://www.w3.org/2000/svg"
1438
1463
  };
1439
- function lr(n, e) {
1440
- return s(), a("svg", or, e[0] || (e[0] = [
1464
+ function ar(n, e) {
1465
+ return s(), a("svg", ir, e[0] || (e[0] = [
1441
1466
  r("path", {
1442
1467
  d: "M12.5 1.66406L11.1783 2.94156C10.6233 3.47906 10.345 3.7474 10 3.7474C9.655 3.7474 9.37667 3.47906 8.82167 2.94156L7.5 1.66406M14.5833 5.83073C15.7533 5.83073 16.3392 5.83073 16.7592 6.11156C16.9412 6.23319 17.0975 6.3895 17.2192 6.57156C17.5 6.99156 17.5 7.5774 17.5 8.7474V15.4141C17.5 16.5841 17.5 17.1699 17.2192 17.5899C17.0975 17.772 16.9412 17.9283 16.7592 18.0499C16.3392 18.3307 15.7533 18.3307 14.5833 18.3307C13.4133 18.3307 12.8275 18.3307 12.4075 18.0499C12.2254 17.9283 12.0691 17.772 11.9475 17.5899C11.6667 17.1699 11.6667 16.5841 11.6667 15.4141V8.7474C11.6667 7.5774 11.6667 6.99156 11.9475 6.57156C12.0691 6.3895 12.2254 6.23319 12.4075 6.11156C12.8275 5.83073 13.4133 5.83073 14.5833 5.83073ZM5.41667 5.83073C6.58667 5.83073 7.1725 5.83073 7.5925 6.11156C7.77456 6.23319 7.93087 6.3895 8.0525 6.57156C8.33333 6.99156 8.33333 7.5774 8.33333 8.7474V15.4141C8.33333 16.5841 8.33333 17.1699 8.0525 17.5899C7.93087 17.772 7.77456 17.9283 7.5925 18.0499C7.1725 18.3307 6.58667 18.3307 5.41667 18.3307C4.24667 18.3307 3.66083 18.3307 3.24083 18.0499C3.05877 17.9283 2.90246 17.772 2.78083 17.5899C2.5 17.1699 2.5 16.5841 2.5 15.4141V8.7474C2.5 7.5774 2.5 6.99156 2.78083 6.57156C2.90246 6.3895 3.05877 6.23319 3.24083 6.11156C3.66083 5.83073 4.24667 5.83073 5.41667 5.83073Z",
1443
1468
  stroke: "currentColor",
@@ -1447,15 +1472,15 @@ function lr(n, e) {
1447
1472
  }, null, -1)
1448
1473
  ]));
1449
1474
  }
1450
- const rr = /* @__PURE__ */ w(nr, [["render", lr]]), sr = {}, ir = {
1475
+ const ur = /* @__PURE__ */ w(sr, [["render", ar]]), dr = {}, cr = {
1451
1476
  width: "20",
1452
1477
  height: "20",
1453
1478
  viewBox: "0 0 20 20",
1454
1479
  fill: "none",
1455
1480
  xmlns: "http://www.w3.org/2000/svg"
1456
1481
  };
1457
- function ar(n, e) {
1458
- return s(), a("svg", ir, e[0] || (e[0] = [
1482
+ function hr(n, e) {
1483
+ return s(), a("svg", cr, e[0] || (e[0] = [
1459
1484
  r("path", {
1460
1485
  "fill-rule": "evenodd",
1461
1486
  "clip-rule": "evenodd",
@@ -1470,15 +1495,15 @@ function ar(n, e) {
1470
1495
  }, null, -1)
1471
1496
  ]));
1472
1497
  }
1473
- const ur = /* @__PURE__ */ w(sr, [["render", ar]]), dr = {}, cr = {
1498
+ const pr = /* @__PURE__ */ w(dr, [["render", hr]]), fr = {}, vr = {
1474
1499
  xmlns: "http://www.w3.org/2000/svg",
1475
1500
  width: "60",
1476
1501
  height: "60",
1477
1502
  viewBox: "0 0 60 60",
1478
1503
  fill: "none"
1479
1504
  };
1480
- function hr(n, e) {
1481
- return s(), a("svg", cr, e[0] || (e[0] = [
1505
+ function mr(n, e) {
1506
+ return s(), a("svg", vr, e[0] || (e[0] = [
1482
1507
  r("path", {
1483
1508
  d: "M24.195 7H18.625C17.1332 7 15.7024 7.59263 14.6475 8.64752C13.5926 9.70242 13 11.1332 13 12.625V46.375C13 47.8668 13.5926 49.2976 14.6475 50.3525C15.7024 51.4074 17.1332 52 18.625 52H41.125C42.6168 52 44.0476 51.4074 45.1025 50.3525C46.1574 49.2976 46.75 47.8668 46.75 46.375V29.5M24.195 7C27.3025 7 29.875 9.5175 29.875 12.625V18.25C29.875 19.7418 30.4676 21.1726 31.5225 22.2275C32.5774 23.2824 34.0082 23.875 35.5 23.875H41.125C42.6168 23.875 44.0476 24.4676 45.1025 25.5225C46.1574 26.5774 46.75 28.0082 46.75 29.5M24.195 7C33.42 7 46.75 20.4 46.75 29.5",
1484
1509
  stroke: "currentColor",
@@ -1488,27 +1513,27 @@ function hr(n, e) {
1488
1513
  }, null, -1)
1489
1514
  ]));
1490
1515
  }
1491
- const pr = /* @__PURE__ */ w(dr, [["render", hr]]), fr = {}, vr = {
1516
+ const Cr = /* @__PURE__ */ w(fr, [["render", mr]]), wr = {}, gr = {
1492
1517
  width: "20",
1493
1518
  height: "20",
1494
1519
  viewBox: "0 0 20 20",
1495
1520
  fill: "none",
1496
1521
  xmlns: "http://www.w3.org/2000/svg"
1497
1522
  };
1498
- function mr(n, e) {
1499
- return s(), a("svg", vr, e[0] || (e[0] = [
1523
+ function _r(n, e) {
1524
+ return s(), a("svg", gr, e[0] || (e[0] = [
1500
1525
  Pe('<g clip-path="url(#clip0_8255_9011)"><path d="M3.125 3.9125C3.125 2.95 4.2 1.875 5.15 1.875H17.35C18.3 1.875 19.375 2.95 19.375 3.9125V16.1C19.375 17.05 18.3 18.125 17.35 18.125H5.1625C4.2 18.125 3.125 17.05 3.125 16.1M0.625 6.875L5.625 13.125M5.625 6.875L0.625 13.125" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.875 6.875V13.125M9.375 9.375H15.625M9.375 6.875H15.625V13.125H9.375V6.875Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_8255_9011"><rect width="20" height="20" fill="white"></rect></clipPath></defs>', 2)
1501
1526
  ]));
1502
1527
  }
1503
- const Cr = /* @__PURE__ */ w(fr, [["render", mr]]), wr = {}, gr = {
1528
+ const kr = /* @__PURE__ */ w(wr, [["render", _r]]), br = {}, yr = {
1504
1529
  width: "20",
1505
1530
  height: "20",
1506
1531
  viewBox: "0 0 20 20",
1507
1532
  fill: "none",
1508
1533
  xmlns: "http://www.w3.org/2000/svg"
1509
1534
  };
1510
- function _r(n, e) {
1511
- return s(), a("svg", gr, e[0] || (e[0] = [
1535
+ function xr(n, e) {
1536
+ return s(), a("svg", yr, e[0] || (e[0] = [
1512
1537
  r("path", {
1513
1538
  d: "M8 3V5.2225M8 5.2225V10.7775M8 5.2225L9.875 4.25M8 5.2225L6.125 4.25M8 10.7775V13M8 10.7775L6.125 11.75M8 10.7775L9.875 11.75M13 8H10.7775M10.7775 8H5.2225M10.7775 8L11.75 9.875M10.7775 8L11.75 6.125M5.2225 8H3M5.2225 8L4.25 6.125M5.2225 8L4.25 9.875",
1514
1539
  stroke: "currentColor",
@@ -1524,15 +1549,15 @@ function _r(n, e) {
1524
1549
  }, null, -1)
1525
1550
  ]));
1526
1551
  }
1527
- const kr = /* @__PURE__ */ w(wr, [["render", _r]]), br = {}, yr = {
1552
+ const $r = /* @__PURE__ */ w(br, [["render", xr]]), Mr = {}, Lr = {
1528
1553
  width: "20",
1529
1554
  height: "20",
1530
1555
  viewBox: "0 0 20 20",
1531
1556
  fill: "none",
1532
1557
  xmlns: "http://www.w3.org/2000/svg"
1533
1558
  };
1534
- function xr(n, e) {
1535
- return s(), a("svg", yr, e[0] || (e[0] = [
1559
+ function Vr(n, e) {
1560
+ return s(), a("svg", Lr, e[0] || (e[0] = [
1536
1561
  r("path", {
1537
1562
  d: "M3.33398 11.6641H10.0007M3.33398 15.4141H10.0007M3.33398 7.91406H16.6673M3.33398 4.16406H16.6673M12.5007 13.7474H16.6673M14.584 11.6641V15.8307",
1538
1563
  stroke: "currentColor",
@@ -1542,15 +1567,15 @@ function xr(n, e) {
1542
1567
  }, null, -1)
1543
1568
  ]));
1544
1569
  }
1545
- const Mr = /* @__PURE__ */ w(br, [["render", xr]]), $r = {}, Lr = {
1570
+ const Sr = /* @__PURE__ */ w(Mr, [["render", Vr]]), Ir = {}, Br = {
1546
1571
  width: "20",
1547
1572
  height: "20",
1548
1573
  viewBox: "0 0 20 20",
1549
1574
  fill: "none",
1550
1575
  xmlns: "http://www.w3.org/2000/svg"
1551
1576
  };
1552
- function Vr(n, e) {
1553
- return s(), a("svg", Lr, e[0] || (e[0] = [
1577
+ function Hr(n, e) {
1578
+ return s(), a("svg", Br, e[0] || (e[0] = [
1554
1579
  r("path", {
1555
1580
  d: "M9.58268 15.4167H4.58268C4.14065 15.4167 3.71673 15.2411 3.40417 14.9285C3.09161 14.616 2.91602 14.192 2.91602 13.75V7.08333M2.91602 7.08333V5.41667C2.91602 4.97464 3.09161 4.55072 3.40417 4.23816C3.71673 3.92559 4.14065 3.75 4.58268 3.75H15.416C15.858 3.75 16.282 3.92559 16.5945 4.23816C16.9071 4.55072 17.0827 4.97464 17.0827 5.41667V6.95833C17.0827 6.97475 17.0795 6.991 17.0732 7.00617C17.0669 7.02133 17.0577 7.03511 17.0461 7.04672C17.0345 7.05833 17.0207 7.06754 17.0055 7.07382C16.9904 7.0801 16.9741 7.08333 16.9577 7.08333H2.91602ZM2.91602 11.25H7.91602",
1556
1581
  stroke: "currentColor",
@@ -1570,15 +1595,15 @@ function Vr(n, e) {
1570
1595
  }, null, -1)
1571
1596
  ]));
1572
1597
  }
1573
- const Sr = /* @__PURE__ */ w($r, [["render", Vr]]), Ir = {}, Hr = {
1598
+ const Er = /* @__PURE__ */ w(Ir, [["render", Hr]]), Tr = {}, jr = {
1574
1599
  width: "20",
1575
1600
  height: "20",
1576
1601
  viewBox: "0 0 20 20",
1577
1602
  fill: "none",
1578
1603
  xmlns: "http://www.w3.org/2000/svg"
1579
1604
  };
1580
- function Br(n, e) {
1581
- return s(), a("svg", Hr, e[0] || (e[0] = [
1605
+ function zr(n, e) {
1606
+ return s(), a("svg", jr, e[0] || (e[0] = [
1582
1607
  r("path", {
1583
1608
  d: "M14.5833 1.83594C15.7533 1.83594 16.3392 1.83594 16.7592 2.11677C16.9412 2.2384 17.0975 2.39471 17.2192 2.57677C17.5 2.99677 17.5 3.5826 17.5 4.7526V15.4193C17.5 16.5893 17.5 17.1751 17.2192 17.5951C17.0975 17.7772 16.9412 17.9335 16.7592 18.0551C16.3392 18.3359 15.7533 18.3359 14.5833 18.3359C13.4133 18.3359 12.8275 18.3359 12.4075 18.0551C12.2254 17.9335 12.0691 17.7772 11.9475 17.5951C11.6667 17.1751 11.6667 16.5893 11.6667 15.4193V4.7526C11.6667 3.5826 11.6667 2.99677 11.9475 2.57677C12.0691 2.39471 12.2254 2.2384 12.4075 2.11677C12.8275 1.83594 13.4133 1.83594 14.5833 1.83594ZM5.41667 1.83594C6.58667 1.83594 7.1725 1.83594 7.5925 2.11677C7.77456 2.2384 7.93087 2.39471 8.0525 2.57677C8.33333 2.99677 8.33333 3.5826 8.33333 4.7526V15.4193C8.33333 16.5893 8.33333 17.1751 8.0525 17.5951C7.93087 17.7772 7.77456 17.9335 7.5925 18.0551C7.1725 18.3359 6.58667 18.3359 5.41667 18.3359C4.24667 18.3359 3.66083 18.3359 3.24083 18.0551C3.05877 17.9335 2.90246 17.7772 2.78083 17.5951C2.5 17.1751 2.5 16.5893 2.5 15.4193V4.7526C2.5 3.5826 2.5 2.99677 2.78083 2.57677C2.90246 2.39471 3.05877 2.2384 3.24083 2.11677C3.66083 1.83594 4.24667 1.83594 5.41667 1.83594Z",
1584
1609
  stroke: "currentColor",
@@ -1588,15 +1613,15 @@ function Br(n, e) {
1588
1613
  }, null, -1)
1589
1614
  ]));
1590
1615
  }
1591
- const Er = /* @__PURE__ */ w(Ir, [["render", Br]]), Tr = {}, jr = {
1616
+ const Or = /* @__PURE__ */ w(Tr, [["render", zr]]), Rr = {}, Dr = {
1592
1617
  width: "20",
1593
1618
  height: "20",
1594
1619
  viewBox: "0 0 20 20",
1595
1620
  fill: "none",
1596
1621
  xmlns: "http://www.w3.org/2000/svg"
1597
1622
  };
1598
- function zr(n, e) {
1599
- return s(), a("svg", jr, e[0] || (e[0] = [
1623
+ function Wr(n, e) {
1624
+ return s(), a("svg", Dr, e[0] || (e[0] = [
1600
1625
  r("path", {
1601
1626
  d: "M18.166 14.5833C18.166 15.7533 18.166 16.3392 17.8852 16.7592C17.7636 16.9412 17.6072 17.0975 17.4252 17.2192C17.0052 17.5 16.4193 17.5 15.2493 17.5L4.58268 17.5C3.41268 17.5 2.82685 17.5 2.40685 17.2192C2.22479 17.0975 2.06848 16.9412 1.94685 16.7592C1.66601 16.3392 1.66602 15.7533 1.66602 14.5833C1.66602 13.4133 1.66601 12.8275 1.94685 12.4075C2.06848 12.2254 2.22479 12.0691 2.40685 11.9475C2.82685 11.6667 3.41268 11.6667 4.58268 11.6667L15.2493 11.6667C16.4193 11.6667 17.0052 11.6667 17.4252 11.9475C17.6072 12.0691 17.7636 12.2254 17.8852 12.4075C18.166 12.8275 18.166 13.4133 18.166 14.5833ZM18.166 5.41667C18.166 6.58667 18.166 7.1725 17.8852 7.5925C17.7636 7.77456 17.6072 7.93087 17.4252 8.0525C17.0052 8.33333 16.4193 8.33333 15.2493 8.33333L4.58268 8.33333C3.41268 8.33333 2.82685 8.33333 2.40685 8.0525C2.22479 7.93087 2.06848 7.77456 1.94685 7.5925C1.66601 7.1725 1.66602 6.58667 1.66602 5.41667C1.66602 4.24667 1.66601 3.66083 1.94685 3.24083C2.06848 3.05877 2.22479 2.90246 2.40685 2.78083C2.82685 2.5 3.41268 2.5 4.58268 2.5L15.2493 2.5C16.4193 2.5 17.0052 2.5 17.4252 2.78083C17.6072 2.90246 17.7636 3.05877 17.8852 3.24083C18.166 3.66083 18.166 4.24667 18.166 5.41667Z",
1602
1627
  stroke: "currentColor",
@@ -1606,15 +1631,15 @@ function zr(n, e) {
1606
1631
  }, null, -1)
1607
1632
  ]));
1608
1633
  }
1609
- const Or = /* @__PURE__ */ w(Tr, [["render", zr]]), Rr = {}, Dr = {
1634
+ const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {}, Zr = {
1610
1635
  width: "20",
1611
1636
  height: "20",
1612
1637
  viewBox: "0 0 20 20",
1613
1638
  fill: "none",
1614
1639
  xmlns: "http://www.w3.org/2000/svg"
1615
1640
  };
1616
- function Wr(n, e) {
1617
- return s(), a("svg", Dr, e[0] || (e[0] = [
1641
+ function Fr(n, e) {
1642
+ return s(), a("svg", Zr, e[0] || (e[0] = [
1618
1643
  r("path", {
1619
1644
  d: "M8 3V5.2225M8 5.2225V10.7775M8 5.2225L9.875 4.25M8 5.2225L6.125 4.25M8 10.7775V13M8 10.7775L6.125 11.75M8 10.7775L9.875 11.75M13 8H10.7775M10.7775 8H5.2225M10.7775 8L11.75 9.875M10.7775 8L11.75 6.125M5.2225 8H3M5.2225 8L4.25 6.125M5.2225 8L4.25 9.875",
1620
1645
  stroke: "currentColor",
@@ -1630,28 +1655,28 @@ function Wr(n, e) {
1630
1655
  }, null, -1)
1631
1656
  ]));
1632
1657
  }
1633
- const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {
1658
+ const Nr = /* @__PURE__ */ w(Ar, [["render", Fr]]), qr = {
1634
1659
  // actions icons
1635
- circleChecked: St,
1636
- circleClose: Et,
1637
- close: Ot,
1638
- delete: Pt,
1639
- download: Nt,
1640
- edit: Yt,
1641
- forward: Jt,
1642
- goTo: o1,
1643
- listBulletHorizontal: i1,
1644
- listBullet: c1,
1645
- paperClip: v1,
1646
- pause: g1,
1647
- plusRound: y1,
1648
- prompt: L1,
1649
- prompter: H1,
1650
- reply: j1,
1651
- save: D1,
1652
- star: Z1,
1653
- start: K1,
1654
- statusChange2: Q1,
1660
+ circleChecked: S1,
1661
+ circleClose: E1,
1662
+ close: O1,
1663
+ delete: P1,
1664
+ download: N1,
1665
+ edit: Y1,
1666
+ forward: J1,
1667
+ goTo: ot,
1668
+ listBulletHorizontal: it,
1669
+ listBullet: ct,
1670
+ paperClip: vt,
1671
+ pause: gt,
1672
+ plusRound: yt,
1673
+ prompt: Lt,
1674
+ prompter: Bt,
1675
+ reply: jt,
1676
+ save: Dt,
1677
+ star: Zt,
1678
+ start: Kt,
1679
+ statusChange2: Qt,
1655
1680
  statusChange: tn,
1656
1681
  stop: rn,
1657
1682
  usersGroup: dn,
@@ -1659,7 +1684,7 @@ const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {
1659
1684
  arrowDown: fn,
1660
1685
  arrowLeft: wn,
1661
1686
  arrowReload: bn,
1662
- arrowRight: $n,
1687
+ arrowRight: Mn,
1663
1688
  arrowTop: In,
1664
1689
  // files icons
1665
1690
  emptyImg: Tn,
@@ -1674,7 +1699,7 @@ const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {
1674
1699
  filterMultiselect: po,
1675
1700
  filterNew: Co,
1676
1701
  filterReset: ko,
1677
- filterSave: Mo,
1702
+ filterSave: $o,
1678
1703
  // input icons
1679
1704
  alertCircle: So,
1680
1705
  alertTriangle: Eo,
@@ -1691,26 +1716,27 @@ const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {
1691
1716
  emailIncoming: gl,
1692
1717
  emailNew: yl,
1693
1718
  emailOutgoing: Ll,
1694
- emailQueue: Hl,
1719
+ emailQueue: Bl,
1695
1720
  emailSpam: jl,
1696
1721
  // others icons
1697
- ivr: Dl,
1698
- predictive: Zl,
1699
- preview: Kl,
1700
- progressive: Ql,
1701
- sms: tr,
1722
+ dsr: Dl,
1723
+ ivr: Zl,
1724
+ predictive: Kl,
1725
+ preview: Ql,
1726
+ progressive: tr,
1727
+ sms: rr,
1702
1728
  // table icons
1703
- columnInsert: rr,
1704
- columnsMove: ur,
1705
- empty: pr,
1706
- excel: Cr,
1707
- freeze: kr,
1708
- listAdd: Mr,
1709
- tableSettings: Sr,
1710
- twoColumns: Er,
1711
- twoRows: Or,
1712
- unfreeze: Pr
1713
- }, oe = /* @__PURE__ */ de({
1729
+ columnInsert: ur,
1730
+ columnsMove: pr,
1731
+ empty: Cr,
1732
+ excel: kr,
1733
+ freeze: $r,
1734
+ listAdd: Sr,
1735
+ tableSettings: Er,
1736
+ twoColumns: Or,
1737
+ twoRows: Pr,
1738
+ unfreeze: Nr
1739
+ }, le = /* @__PURE__ */ ue({
1714
1740
  __name: "VIcon",
1715
1741
  props: {
1716
1742
  name: {},
@@ -1719,24 +1745,24 @@ const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {
1719
1745
  color: { default: "currentColor" }
1720
1746
  },
1721
1747
  setup(n) {
1722
- const e = n, o = x(() => Ar[e.name]), t = x(() => ({
1748
+ const e = n, o = k(() => qr[e.name]), t = k(() => ({
1723
1749
  ...e.width && { width: typeof e.width == "number" ? `${e.width}px` : e.width },
1724
1750
  ...e.height && { height: typeof e.height == "number" ? `${e.height}px` : e.height },
1725
1751
  color: e.color
1726
1752
  }));
1727
1753
  return (l, i) => o.value ? (s(), ie(Xe(o.value), {
1728
1754
  key: 0,
1729
- style: fe(t.value)
1755
+ style: pe(t.value)
1730
1756
  }, null, 8, ["style"])) : j("", !0);
1731
1757
  }
1732
- }), Zr = {}, Fr = { class: "vt-loader" };
1733
- function Nr(n, e) {
1734
- return s(), a("span", Fr);
1758
+ }), Kr = {}, Ur = { class: "vt-loader" };
1759
+ function Yr(n, e) {
1760
+ return s(), a("span", Ur);
1735
1761
  }
1736
- const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "data-placement"], Kr = {
1762
+ const je = /* @__PURE__ */ w(Kr, [["render", Yr]]), Xr = ["disabled", "type", "data-placement"], Qr = {
1737
1763
  key: 2,
1738
1764
  class: "vt-button__content"
1739
- }, We = /* @__PURE__ */ de({
1765
+ }, We = /* @__PURE__ */ ue({
1740
1766
  __name: "VButton",
1741
1767
  props: {
1742
1768
  type: { default: "default" },
@@ -1750,11 +1776,11 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1750
1776
  },
1751
1777
  emits: ["click"],
1752
1778
  setup(n, { emit: e }) {
1753
- const o = n, t = e, l = Qe(), i = x(() => !!(o.icon && o.shape)), c = x(() => {
1779
+ const o = n, t = e, l = Qe(), i = k(() => !!(o.icon && o.shape)), c = k(() => {
1754
1780
  var g, C;
1755
1781
  const u = l.default ? l.default({}) : null;
1756
1782
  return ((C = (g = u == null ? void 0 : u[0]) == null ? void 0 : g.children) == null ? void 0 : C.toString()) ?? "";
1757
- }), p = x(() => [
1783
+ }), p = k(() => [
1758
1784
  "vt-button",
1759
1785
  `vt-button--${o.type}`,
1760
1786
  {
@@ -1763,7 +1789,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1763
1789
  "vt-button--disabled": o.disabled || o.loading,
1764
1790
  "vt-button--loading": o.loading
1765
1791
  }
1766
- ]), v = x(() => i.value && o.tooltip ? c.value : null), f = (u) => {
1792
+ ]), v = k(() => i.value && o.tooltip ? c.value : null), f = (u) => {
1767
1793
  !o.disabled && !o.loading && t("click", u);
1768
1794
  };
1769
1795
  return (u, g) => {
@@ -1778,26 +1804,26 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1778
1804
  o.loading ? (s(), ie(je, {
1779
1805
  key: 0,
1780
1806
  class: "vt-button__icon"
1781
- })) : o.icon ? (s(), ie(oe, {
1807
+ })) : o.icon ? (s(), ie(le, {
1782
1808
  key: 1,
1783
1809
  name: o.icon,
1784
1810
  class: "vt-button__icon"
1785
1811
  }, null, 8, ["name"])) : j("", !0),
1786
- i.value ? j("", !0) : (s(), a("span", Kr, [
1812
+ i.value ? j("", !0) : (s(), a("span", Qr, [
1787
1813
  ve(u.$slots, "default")
1788
1814
  ]))
1789
- ], 10, qr)), [
1815
+ ], 10, Xr)), [
1790
1816
  [C, v.value]
1791
1817
  ]);
1792
1818
  };
1793
1819
  }
1794
- }), Ur = {
1820
+ }), Gr = {
1795
1821
  key: 0,
1796
1822
  class: "vt-modal__header"
1797
- }, Yr = {
1823
+ }, Jr = {
1798
1824
  key: 0,
1799
1825
  class: "vt-modal__title"
1800
- }, Xr = { class: "vt-modal__content" }, vt = /* @__PURE__ */ de({
1826
+ }, es = { class: "vt-modal__content" }, v1 = /* @__PURE__ */ ue({
1801
1827
  __name: "VModal",
1802
1828
  props: {
1803
1829
  modelValue: { type: Boolean },
@@ -1809,7 +1835,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1809
1835
  },
1810
1836
  emits: ["update:modelValue", "close"],
1811
1837
  setup(n, { emit: e }) {
1812
- const o = n, t = e, l = x(() => ["vt-modal__container", `vt-modal__container--${o.size}`]), i = x(() => ({
1838
+ const o = n, t = e, l = k(() => ["vt-modal__container", `vt-modal__container--${o.size}`]), i = k(() => ({
1813
1839
  zIndex: o.zIndex
1814
1840
  })), c = () => {
1815
1841
  t("update:modelValue", !1), t("close");
@@ -1820,31 +1846,31 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1820
1846
  v.modelValue ? (s(), a("div", {
1821
1847
  key: 0,
1822
1848
  class: "vt-modal__backdrop",
1823
- style: fe(i.value),
1849
+ style: pe(i.value),
1824
1850
  onClick: p
1825
1851
  }, [
1826
1852
  r("div", {
1827
1853
  class: A(l.value),
1828
- onClick: f[0] || (f[0] = Ce(() => {
1854
+ onClick: f[0] || (f[0] = me(() => {
1829
1855
  }, ["stop"]))
1830
1856
  }, [
1831
- v.title || v.showCloseButton ? (s(), a("div", Ur, [
1832
- v.title ? (s(), a("h2", Yr, Q(v.title), 1)) : j("", !0),
1833
- v.showCloseButton ? (s(), ie(oe, {
1857
+ v.title || v.showCloseButton ? (s(), a("div", Gr, [
1858
+ v.title ? (s(), a("h2", Jr, Q(v.title), 1)) : j("", !0),
1859
+ v.showCloseButton ? (s(), ie(le, {
1834
1860
  key: 1,
1835
1861
  name: "close",
1836
1862
  class: "vt-modal__close",
1837
1863
  onClick: c
1838
1864
  })) : j("", !0)
1839
1865
  ])) : j("", !0),
1840
- r("div", Xr, [
1866
+ r("div", es, [
1841
1867
  ve(v.$slots, "default")
1842
1868
  ])
1843
1869
  ], 2)
1844
1870
  ], 4)) : j("", !0)
1845
1871
  ]));
1846
1872
  }
1847
- }), Qr = { class: "vt-pagination" }, Gr = { class: "vt-pagination__info" }, Jr = { class: "vt-pagination__rows-per-page" }, es = ["value"], ts = { class: "vt-pagination__navigation" }, ns = ["disabled"], os = ["onClick"], ls = ["disabled"], rs = /* @__PURE__ */ de({
1873
+ }), ts = { class: "vt-pagination" }, ns = { class: "vt-pagination__info" }, os = { class: "vt-pagination__rows-per-page" }, ls = ["value"], rs = { class: "vt-pagination__navigation" }, ss = ["disabled"], is = ["onClick"], as = ["disabled"], us = /* @__PURE__ */ ue({
1848
1874
  __name: "VPagination",
1849
1875
  props: {
1850
1876
  totalItems: {},
@@ -1855,13 +1881,13 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1855
1881
  },
1856
1882
  emits: ["update:currentPage", "update:pageSize", "pageChange", "reloadData"],
1857
1883
  setup(n, { emit: e }) {
1858
- const o = n, t = e, l = x({
1884
+ const o = n, t = e, l = k({
1859
1885
  get: () => o.currentPage,
1860
1886
  set: (B) => t("update:currentPage", B)
1861
- }), i = x({
1887
+ }), i = k({
1862
1888
  get: () => o.pageSize,
1863
1889
  set: (B) => t("update:pageSize", B)
1864
- }), c = x(() => Math.ceil(o.totalItems / i.value)), p = x(() => o.totalItems === 0 ? 0 : (l.value - 1) * i.value + 1), v = x(() => Math.min(l.value * i.value, o.totalItems)), f = x(() => l.value <= 1), u = x(() => l.value >= c.value), g = x(() => {
1890
+ }), c = k(() => Math.ceil(o.totalItems / i.value)), p = k(() => o.totalItems === 0 ? 0 : (l.value - 1) * i.value + 1), v = k(() => Math.min(l.value * i.value, o.totalItems)), f = k(() => l.value <= 1), u = k(() => l.value >= c.value), g = k(() => {
1865
1891
  const B = [], R = c.value, O = l.value, ee = o.maxVisiblePages;
1866
1892
  if (R <= ee)
1867
1893
  for (let G = 1; G <= R; G++)
@@ -1870,8 +1896,8 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1870
1896
  B.push(1);
1871
1897
  const G = Math.max(2, O - Math.floor(ee / 2)), te = Math.min(R - 1, O + Math.floor(ee / 2));
1872
1898
  G > 2 && B.push("...");
1873
- for (let K = G; K <= te; K++)
1874
- B.push(K);
1899
+ for (let U = G; U <= te; U++)
1900
+ B.push(U);
1875
1901
  te < R - 1 && B.push("..."), R > 1 && B.push(R);
1876
1902
  }
1877
1903
  return B;
@@ -1888,17 +1914,17 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1888
1914
  u.value || (l.value++, C());
1889
1915
  }, F = () => {
1890
1916
  l.value = 1, C();
1891
- }, Y = () => {
1917
+ }, K = () => {
1892
1918
  t("reloadData", l.value);
1893
1919
  };
1894
- return ce(
1920
+ return fe(
1895
1921
  () => o.totalItems,
1896
1922
  () => {
1897
1923
  l.value > c.value && c.value > 0 && (l.value = c.value, C());
1898
1924
  }
1899
- ), (B, R) => (s(), a("div", Qr, [
1900
- r("div", Gr, [
1901
- r("div", Jr, [
1925
+ ), (B, R) => (s(), a("div", ts, [
1926
+ r("div", ns, [
1927
+ r("div", os, [
1902
1928
  R[1] || (R[1] = r("label", {
1903
1929
  for: "rowsSelect",
1904
1930
  class: "vt-pagination__label"
@@ -1909,38 +1935,38 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1909
1935
  onChange: F,
1910
1936
  class: "vt-pagination__select"
1911
1937
  }, [
1912
- (s(!0), a(he, null, pe(B.pageSizeOptions, (O) => (s(), a("option", {
1938
+ (s(!0), a(ce, null, he(B.pageSizeOptions, (O) => (s(), a("option", {
1913
1939
  key: O,
1914
1940
  value: O
1915
- }, Q(O), 9, es))), 128))
1941
+ }, Q(O), 9, ls))), 128))
1916
1942
  ], 544), [
1917
- [kt, i.value]
1943
+ [k1, i.value]
1918
1944
  ])
1919
1945
  ]),
1920
1946
  r("span", null, Q(p.value) + " - " + Q(v.value) + " з " + Q(B.totalItems), 1)
1921
1947
  ]),
1922
- r("div", ts, [
1948
+ r("div", rs, [
1923
1949
  r("button", {
1924
1950
  onClick: Z,
1925
1951
  disabled: f.value,
1926
1952
  class: A({ "vt-pagination__nav-button": !0, "has-items": !f.value })
1927
1953
  }, [
1928
- X(oe, { name: "arrowLeft" })
1929
- ], 10, ns),
1930
- (s(!0), a(he, null, pe(g.value, (O) => (s(), a("button", {
1954
+ X(le, { name: "arrowLeft" })
1955
+ ], 10, ss),
1956
+ (s(!0), a(ce, null, he(g.value, (O) => (s(), a("button", {
1931
1957
  key: O,
1932
1958
  onClick: (ee) => z(O),
1933
1959
  class: A(["vt-pagination__nav-button", {
1934
1960
  "vt-pagination__nav-button--active": O === l.value
1935
1961
  }])
1936
- }, Q(O), 11, os))), 128)),
1962
+ }, Q(O), 11, is))), 128)),
1937
1963
  r("button", {
1938
1964
  onClick: D,
1939
1965
  disabled: u.value,
1940
1966
  class: A({ "vt-pagination__nav-button": !0, "has-items": !u.value })
1941
1967
  }, [
1942
- X(oe, { name: "arrowRight" })
1943
- ], 10, ls)
1968
+ X(le, { name: "arrowRight" })
1969
+ ], 10, as)
1944
1970
  ]),
1945
1971
  r("div", null, [
1946
1972
  X(We, {
@@ -1948,7 +1974,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1948
1974
  shape: "circle",
1949
1975
  tooltip: "",
1950
1976
  tooltipPlacement: "left",
1951
- onClick: Y
1977
+ onClick: K
1952
1978
  }, {
1953
1979
  default: we(() => R[2] || (R[2] = [
1954
1980
  ge("Оновити дані ", -1)
@@ -1959,7 +1985,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1959
1985
  ])
1960
1986
  ]));
1961
1987
  }
1962
- }), ss = ["for"], is = ["id", "name", "value", "checked", "disabled", "required", ".indeterminate"], Me = /* @__PURE__ */ de({
1988
+ }), ds = ["for"], cs = ["id", "name", "value", "checked", "disabled", "required", ".indeterminate"], $e = /* @__PURE__ */ ue({
1963
1989
  __name: "VCheckbox",
1964
1990
  props: {
1965
1991
  modelValue: { type: Boolean, default: void 0 },
@@ -1977,7 +2003,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
1977
2003
  },
1978
2004
  emits: ["update:modelValue", "change", "focus", "blur"],
1979
2005
  setup(n, { emit: e }) {
1980
- const o = n, t = e, l = () => `vt-checkbox-${Math.random().toString(36).substr(2, 9)}`, i = x(() => o.id || l()), c = x(() => o.modelValue ?? o.checked), p = (u) => {
2006
+ const o = n, t = e, l = () => `vt-checkbox-${Math.random().toString(36).substr(2, 9)}`, i = k(() => o.id || l()), c = k(() => o.modelValue ?? o.checked), p = (u) => {
1981
2007
  if (o.disabled) return;
1982
2008
  const C = u.target.checked;
1983
2009
  t("update:modelValue", C), t("change", C, u);
@@ -2011,7 +2037,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
2011
2037
  onChange: p,
2012
2038
  onFocus: v,
2013
2039
  onBlur: f
2014
- }, null, 40, is),
2040
+ }, null, 40, cs),
2015
2041
  r("div", {
2016
2042
  class: A([
2017
2043
  "vt-checkbox__box",
@@ -2098,9 +2124,9 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
2098
2124
  ])
2099
2125
  ])
2100
2126
  ], 2)) : j("", !0)
2101
- ], 10, ss));
2127
+ ], 10, ds));
2102
2128
  }
2103
- }), as = ["for"], us = ["id", "checked", "disabled", "name", "required", "value"], ds = /* @__PURE__ */ de({
2129
+ }), hs = ["for"], ps = ["id", "checked", "disabled", "name", "required", "value"], fs = /* @__PURE__ */ ue({
2104
2130
  __name: "VRadiobox",
2105
2131
  props: {
2106
2132
  modelValue: { default: void 0 },
@@ -2116,7 +2142,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
2116
2142
  },
2117
2143
  emits: ["update:modelValue", "change", "focus", "blur"],
2118
2144
  setup(n, { emit: e }) {
2119
- const o = n, t = e, l = () => `vt-radiobox-${Math.random().toString(36).substr(2, 9)}`, i = x(() => o.id || l()), c = x(() => o.modelValue !== void 0 ? o.modelValue === o.value : o.checked), p = (u) => {
2145
+ const o = n, t = e, l = () => `vt-radiobox-${Math.random().toString(36).substr(2, 9)}`, i = k(() => o.id || l()), c = k(() => o.modelValue !== void 0 ? o.modelValue === o.value : o.checked), p = (u) => {
2120
2146
  if (o.disabled) return;
2121
2147
  u.target.checked && (t("update:modelValue", o.value), t("change", o.value, u));
2122
2148
  }, v = (u) => {
@@ -2147,7 +2173,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
2147
2173
  onBlur: f,
2148
2174
  onChange: p,
2149
2175
  onFocus: v
2150
- }, null, 40, us),
2176
+ }, null, 40, ps),
2151
2177
  r("div", {
2152
2178
  class: A([
2153
2179
  "vt-radiobox__circle",
@@ -2181,11 +2207,11 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
2181
2207
  ])
2182
2208
  ])
2183
2209
  ], 2)) : j("", !0)
2184
- ], 10, as));
2210
+ ], 10, hs));
2185
2211
  }
2186
2212
  });
2187
- function cs(n) {
2188
- const e = x(() => [...n].sort((l, i) => l.pinnedLeft && !i.pinnedLeft ? -1 : !l.pinnedLeft && i.pinnedLeft || l.pinnedRight && !i.pinnedRight ? 1 : !l.pinnedRight && i.pinnedRight ? -1 : 0)), o = () => {
2213
+ function vs(n) {
2214
+ const e = k(() => [...n].sort((l, i) => l.pinnedLeft && !i.pinnedLeft ? -1 : !l.pinnedLeft && i.pinnedLeft || l.pinnedRight && !i.pinnedRight ? 1 : !l.pinnedRight && i.pinnedRight ? -1 : 0)), o = () => {
2189
2215
  const l = e.value.length, i = e.value.filter((p) => p.width || p.minWidth);
2190
2216
  return l - i.length === 0, 150;
2191
2217
  };
@@ -2210,7 +2236,7 @@ function cs(n) {
2210
2236
  }
2211
2237
  };
2212
2238
  }
2213
- function hs(n) {
2239
+ function ms(n) {
2214
2240
  const e = () => {
2215
2241
  const i = {};
2216
2242
  return n.maxHeight && (i.maxHeight = `${n.maxHeight}px`), i.overflowX = "auto", i;
@@ -2244,8 +2270,8 @@ function hs(n) {
2244
2270
  }
2245
2271
  };
2246
2272
  }
2247
- function ps() {
2248
- const n = H({
2273
+ function Cs() {
2274
+ const n = I({
2249
2275
  resizingCol: null,
2250
2276
  startX: 0,
2251
2277
  startWidth: 0
@@ -2256,8 +2282,8 @@ function ps() {
2256
2282
  const p = (f) => {
2257
2283
  const { resizingCol: u, startX: g, startWidth: C } = n.value;
2258
2284
  if (!u) return;
2259
- document.querySelectorAll(`[data-resizer="${u.prop}"]`).forEach((Y) => {
2260
- Y.classList.add("vt-table__resizer--active");
2285
+ document.querySelectorAll(`[data-resizer="${u.prop}"]`).forEach((K) => {
2286
+ K.classList.add("vt-table__resizer--active");
2261
2287
  });
2262
2288
  const z = f.clientX - g, Z = u.minWidth || 50, D = u.maxWidth || 1e3, F = Math.max(Math.min(C + z, D), Z);
2263
2289
  u.width = F;
@@ -2272,23 +2298,23 @@ function ps() {
2272
2298
  resizeState: n
2273
2299
  };
2274
2300
  }
2275
- function fs(n, e, o, t) {
2276
- var J;
2277
- const l = n.selectionKey || "id", i = H([]), c = H(null), p = H(!1);
2278
- (J = n.defaultSelection) != null && J.length && (i.value = [...n.defaultSelection]);
2279
- const v = (E) => E[l], f = (E) => p.value ? !0 : i.value.some((L) => v(L) === v(E)), u = x(() => e.value.filter((E) => f(E)).length), g = x(() => e.value.length > 0 && u.value === e.value.length), C = x(() => {
2301
+ function ws(n, e, o, t) {
2302
+ var N;
2303
+ const l = n.selectionKey || "id", i = I([]), c = I(null), p = I(!1);
2304
+ (N = n.defaultSelection) != null && N.length && (i.value = [...n.defaultSelection]);
2305
+ const v = (E) => E[l], f = (E) => p.value ? !0 : i.value.some((L) => v(L) === v(E)), u = k(() => e.value.filter((E) => f(E)).length), g = k(() => e.value.length > 0 && u.value === e.value.length), C = k(() => {
2280
2306
  if (p.value) return !1;
2281
2307
  const E = u.value;
2282
2308
  return E > 0 && E < e.value.length;
2283
- }), z = x(() => p.value ? !0 : g.value && !C.value), Z = x(() => p.value), D = (E, L) => {
2284
- const N = v(E), re = i.value.some((b) => v(b) === v(E)), m = L !== void 0 ? L : !re;
2309
+ }), z = k(() => p.value ? !0 : g.value && !C.value), Z = k(() => p.value), D = (E, L) => {
2310
+ const Y = v(E), ne = i.value.some((b) => v(b) === v(E)), m = L !== void 0 ? L : !ne;
2285
2311
  if (p.value && !m) {
2286
- p.value = !1, t != null && t.value && (i.value = t.value.filter((b) => v(b) !== N)), K(E, !1);
2312
+ p.value = !1, t != null && t.value && (i.value = t.value.filter((b) => v(b) !== Y)), U(E, !1);
2287
2313
  return;
2288
2314
  }
2289
- p.value && m || (m && !re ? i.value.push(E) : !m && re && (i.value = i.value.filter((b) => v(b) !== N)), n.selectOnClickRow && L === void 0 && ee(m ? E : null), K(E, m));
2315
+ p.value && m || (m && !ne ? i.value.push(E) : !m && ne && (i.value = i.value.filter((b) => v(b) !== Y)), n.selectOnClickRow && L === void 0 && ee(m ? E : null), U(E, m));
2290
2316
  }, F = () => {
2291
- switch (Y()) {
2317
+ switch (K()) {
2292
2318
  case "none":
2293
2319
  case "partial":
2294
2320
  B();
@@ -2300,17 +2326,17 @@ function fs(n, e, o, t) {
2300
2326
  O();
2301
2327
  break;
2302
2328
  }
2303
- }, Y = () => p.value ? "absoluteAll" : g.value ? "allVisible" : u.value > 0 ? "partial" : "none", B = () => {
2304
- const E = [], L = new Set(i.value.map((N) => v(N)));
2305
- i.value.forEach((N) => {
2306
- E.push(N);
2307
- }), e.value.forEach((N) => {
2308
- L.has(v(N)) || E.push(N);
2309
- }), i.value = E, p.value = !1, K();
2329
+ }, K = () => p.value ? "absoluteAll" : g.value ? "allVisible" : u.value > 0 ? "partial" : "none", B = () => {
2330
+ const E = [], L = new Set(i.value.map((Y) => v(Y)));
2331
+ i.value.forEach((Y) => {
2332
+ E.push(Y);
2333
+ }), e.value.forEach((Y) => {
2334
+ L.has(v(Y)) || E.push(Y);
2335
+ }), i.value = E, p.value = !1, U();
2310
2336
  }, R = () => {
2311
- p.value = !0, t != null && t.value ? i.value = [...t.value] : i.value = [...e.value], K(void 0, void 0, !0);
2337
+ p.value = !0, t != null && t.value ? i.value = [...t.value] : i.value = [...e.value], U(void 0, void 0, !0);
2312
2338
  }, O = () => {
2313
- i.value = [], p.value = !1, c.value = null, K();
2339
+ i.value = [], p.value = !1, c.value = null, U();
2314
2340
  }, ee = (E) => {
2315
2341
  const L = c.value;
2316
2342
  c.value = E, o("current-change", {
@@ -2318,17 +2344,17 @@ function fs(n, e, o, t) {
2318
2344
  oldCurrentRow: L
2319
2345
  });
2320
2346
  }, G = () => [...i.value], te = (E) => {
2321
- i.value = [...E], p.value = !1, K();
2322
- }, K = (E, L, N = !1) => {
2323
- const re = {
2347
+ i.value = [...E], p.value = !1, U();
2348
+ }, U = (E, L, Y = !1) => {
2349
+ const ne = {
2324
2350
  selection: [...i.value],
2325
2351
  row: E,
2326
2352
  selected: L,
2327
- isAllSelected: N || p.value
2353
+ isAllSelected: Y || p.value
2328
2354
  };
2329
- o("selection-change", re);
2355
+ o("selection-change", ne);
2330
2356
  };
2331
- return ce(
2357
+ return fe(
2332
2358
  () => n.defaultSelection,
2333
2359
  (E) => {
2334
2360
  E != null && E.length && (i.value = [...E]);
@@ -2350,7 +2376,7 @@ function fs(n, e, o, t) {
2350
2376
  selectAbsolutelyAll: R
2351
2377
  };
2352
2378
  }
2353
- function vs(n, e) {
2379
+ function gs(n, e) {
2354
2380
  if (!n)
2355
2381
  return String(e.value ?? "");
2356
2382
  try {
@@ -2360,38 +2386,38 @@ function vs(n, e) {
2360
2386
  return console.error("Error rendering table slot:", o), String(e.value ?? "");
2361
2387
  }
2362
2388
  }
2363
- const ms = (n, e, o = "asc") => {
2389
+ const _s = (n, e, o = "asc") => {
2364
2390
  if (n == null && e == null) return 0;
2365
2391
  if (n == null) return o === "asc" ? 1 : -1;
2366
2392
  if (e == null) return o === "asc" ? -1 : 1;
2367
2393
  if (n === e) return 0;
2368
2394
  let t = 0;
2369
2395
  const l = Number(n), i = Number(e);
2370
- return !isNaN(l) && !isNaN(i) ? t = l - i : st(n) && st(e) ? t = new Date(n).getTime() - new Date(e).getTime() : typeof n == "boolean" && typeof e == "boolean" ? t = n === e ? 0 : n ? -1 : 1 : t = String(n).localeCompare(String(e), void 0, {
2396
+ return !isNaN(l) && !isNaN(i) ? t = l - i : s1(n) && s1(e) ? t = new Date(n).getTime() - new Date(e).getTime() : typeof n == "boolean" && typeof e == "boolean" ? t = n === e ? 0 : n ? -1 : 1 : t = String(n).localeCompare(String(e), void 0, {
2371
2397
  numeric: !0,
2372
2398
  sensitivity: "base"
2373
2399
  }), o === "desc" ? -t : t;
2374
- }, st = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1, Cs = (n, e, o) => {
2400
+ }, s1 = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1, ks = (n, e, o) => {
2375
2401
  n.sortable && o({
2376
2402
  prop: n.prop,
2377
2403
  direction: e
2378
2404
  });
2379
- }, it = (n, e) => {
2405
+ }, i1 = (n, e) => {
2380
2406
  const o = (e == null ? void 0 : e.prop) === n.prop, t = e == null ? void 0 : e.direction;
2381
2407
  return {
2382
2408
  asc: ["vt-th__sort-icon", o && t === "asc" && "vt-th__sortable-active"].filter(Boolean).join(" "),
2383
2409
  desc: ["vt-th__sort-icon", o && t === "desc" && "vt-th__sortable-active"].filter(Boolean).join(" ")
2384
2410
  };
2385
- }, ws = (n, e, o) => {
2411
+ }, bs = (n, e, o) => {
2386
2412
  if (!e) return [...n];
2387
2413
  const t = o.find((i) => i.prop === e.prop);
2388
2414
  if (!(t != null && t.sortable)) return [...n];
2389
- const l = t.sortMethod || ms;
2415
+ const l = t.sortMethod || _s;
2390
2416
  return [...n].sort((i, c) => {
2391
2417
  const p = i[t.prop], v = c[t.prop];
2392
2418
  return l(p, v, e.direction);
2393
2419
  });
2394
- }, at = (n) => {
2420
+ }, a1 = (n) => {
2395
2421
  if (!n) return !1;
2396
2422
  const e = n.getBoundingClientRect();
2397
2423
  if (e.width === 0 && e.height === 0) return !1;
@@ -2405,7 +2431,7 @@ const ms = (n, e, o = "asc") => {
2405
2431
  i = i.parentElement;
2406
2432
  }
2407
2433
  return !0;
2408
- }, gs = (n) => {
2434
+ }, ys = (n) => {
2409
2435
  const e = [];
2410
2436
  let o = n.parentElement;
2411
2437
  for (; o && o !== document.body; ) {
@@ -2413,7 +2439,7 @@ const ms = (n, e, o = "asc") => {
2413
2439
  (["scroll", "auto"].includes(l) || ["scroll", "auto"].includes(i) || o.scrollHeight > o.clientHeight || o.scrollWidth > o.clientWidth) && e.push(o), o = o.parentElement;
2414
2440
  }
2415
2441
  return e.push(window), e;
2416
- }, _s = (n, e, o) => {
2442
+ }, xs = (n, e, o) => {
2417
2443
  let t = 0, l = 0;
2418
2444
  switch (o) {
2419
2445
  case "bottom":
@@ -2441,7 +2467,7 @@ const ms = (n, e, o = "asc") => {
2441
2467
  transformOrigin: "center top"
2442
2468
  };
2443
2469
  };
2444
- function mt(n, e, o = {}) {
2470
+ function m1(n, e, o = {}) {
2445
2471
  const {
2446
2472
  trigger: t = "click",
2447
2473
  placement: l = "bottom-start",
@@ -2451,33 +2477,33 @@ function mt(n, e, o = {}) {
2451
2477
  hideOnClick: v = !0,
2452
2478
  onVisibleChange: f,
2453
2479
  onScroll: u
2454
- } = o, g = H(!1), C = H(!0), z = H(!1), Z = H(null), D = H([]), F = H({
2480
+ } = o, g = I(!1), C = I(!0), z = I(!1), Z = I(null), D = I([]), F = I({
2455
2481
  top: "0px",
2456
2482
  left: "0px",
2457
2483
  transformOrigin: "center top"
2458
- }), Y = () => {
2484
+ }), K = () => {
2459
2485
  if (!n.value) return;
2460
- const J = at(n.value);
2461
- C.value !== J && (C.value = J, !J && g.value ? (z.value = !0, g.value = !1, f == null || f(!1)) : J && z.value && !g.value && (z.value = !1, g.value = !0, B(), f == null || f(!0)));
2486
+ const N = a1(n.value);
2487
+ C.value !== N && (C.value = N, !N && g.value ? (z.value = !0, g.value = !1, f == null || f(!1)) : N && z.value && !g.value && (z.value = !1, g.value = !0, B(), f == null || f(!0)));
2462
2488
  }, B = async () => {
2463
- if (await me(), !n.value || !e.value) return;
2464
- const J = n.value.getBoundingClientRect(), E = e.value.getBoundingClientRect(), L = _s(J, E, l);
2489
+ if (await Ce(), !n.value || !e.value) return;
2490
+ const N = n.value.getBoundingClientRect(), E = e.value.getBoundingClientRect(), L = xs(N, E, l);
2465
2491
  F.value = {
2466
2492
  ...L,
2467
- minWidth: `${J.width}px`
2493
+ minWidth: `${N.width}px`
2468
2494
  };
2469
2495
  }, R = () => {
2470
- (g.value || z.value) && (Y(), g.value && B(), u == null || u());
2496
+ (g.value || z.value) && (K(), g.value && B(), u == null || u());
2471
2497
  }, O = () => {
2472
- n.value && (D.value = gs(n.value), D.value.forEach((J) => {
2473
- J.addEventListener("scroll", R, { passive: !0 });
2498
+ n.value && (D.value = ys(n.value), D.value.forEach((N) => {
2499
+ N.addEventListener("scroll", R, { passive: !0 });
2474
2500
  }), window.addEventListener("resize", R));
2475
2501
  }, ee = () => {
2476
- D.value.forEach((J) => {
2477
- J.removeEventListener("scroll", R);
2502
+ D.value.forEach((N) => {
2503
+ N.removeEventListener("scroll", R);
2478
2504
  }), window.removeEventListener("resize", R), D.value = [];
2479
2505
  }, G = () => {
2480
- p || g.value || !n.value || !at(n.value) || (Z.value = window.setTimeout(
2506
+ p || g.value || !n.value || !a1(n.value) || (Z.value = window.setTimeout(
2481
2507
  async () => {
2482
2508
  g.value = !0, C.value = !0, z.value = !1, await B(), O(), f == null || f(!0);
2483
2509
  },
@@ -2490,7 +2516,7 @@ function mt(n, e, o = {}) {
2490
2516
  },
2491
2517
  t === "hover" ? c : 0
2492
2518
  ));
2493
- }, K = () => {
2519
+ }, U = () => {
2494
2520
  p || (g.value ? te() : G());
2495
2521
  };
2496
2522
  return Ie(() => {
@@ -2504,15 +2530,15 @@ function mt(n, e, o = {}) {
2504
2530
  // Methods
2505
2531
  show: G,
2506
2532
  hide: te,
2507
- toggle: K,
2533
+ toggle: U,
2508
2534
  updatePosition: B,
2509
2535
  // Internal methods
2510
- checkParentVisibility: Y,
2536
+ checkParentVisibility: K,
2511
2537
  addScrollListeners: O,
2512
2538
  removeScrollListeners: ee
2513
2539
  };
2514
2540
  }
2515
- const Ct = Symbol("dropdown-context"), wt = /* @__PURE__ */ de({
2541
+ const C1 = Symbol("dropdown-context"), w1 = /* @__PURE__ */ ue({
2516
2542
  __name: "VDropdown",
2517
2543
  props: {
2518
2544
  trigger: { default: "hover" },
@@ -2527,7 +2553,7 @@ const Ct = Symbol("dropdown-context"), wt = /* @__PURE__ */ de({
2527
2553
  },
2528
2554
  emits: ["visible-change", "click", "command"],
2529
2555
  setup(n, { expose: e, emit: o }) {
2530
- const t = n, l = o, i = H(), c = H(), p = H(), v = H(!1), f = H(!1), u = H(null), { visible: g, parentVisible: C, dropdownPosition: z, show: Z, hide: D, toggle: F } = mt(
2556
+ const t = n, l = o, i = I(), c = I(), p = I(), v = I(!1), f = I(!1), u = I(null), { visible: g, parentVisible: C, dropdownPosition: z, show: Z, hide: D, toggle: F } = m1(
2531
2557
  c,
2532
2558
  p,
2533
2559
  {
@@ -2539,14 +2565,14 @@ const Ct = Symbol("dropdown-context"), wt = /* @__PURE__ */ de({
2539
2565
  hideOnClick: t.hideOnClick,
2540
2566
  onVisibleChange: (L) => l("visible-change", L)
2541
2567
  }
2542
- ), Y = () => {
2568
+ ), K = () => {
2543
2569
  u.value && (clearTimeout(u.value), u.value = null);
2544
2570
  }, B = () => {
2545
- Y(), u.value = setTimeout(() => {
2571
+ K(), u.value = setTimeout(() => {
2546
2572
  !v.value && !f.value && D();
2547
2573
  }, t.hideTimeout);
2548
2574
  };
2549
- et(Ct, {
2575
+ e1(C1, {
2550
2576
  handleCommand: (L) => {
2551
2577
  l("command", L), t.hideOnClick && D();
2552
2578
  },
@@ -2555,19 +2581,19 @@ const Ct = Symbol("dropdown-context"), wt = /* @__PURE__ */ de({
2555
2581
  const O = (L) => {
2556
2582
  t.disabled || (l("click", L), t.trigger === "click" && F());
2557
2583
  }, ee = () => {
2558
- t.trigger === "hover" && (v.value = !0, Y(), Z());
2584
+ t.trigger === "hover" && (v.value = !0, K(), Z());
2559
2585
  }, G = () => {
2560
2586
  t.trigger === "hover" && (v.value = !1, B());
2561
2587
  }, te = () => {
2562
- t.trigger === "hover" && (f.value = !0, Y());
2563
- }, K = () => {
2588
+ t.trigger === "hover" && (f.value = !0, K());
2589
+ }, U = () => {
2564
2590
  t.trigger === "hover" && (f.value = !1, B());
2565
- }, J = (L) => {
2566
- var re, m;
2591
+ }, N = (L) => {
2592
+ var ne, m;
2567
2593
  if (!g.value) return;
2568
- const N = L.target;
2569
- (re = i.value) != null && re.contains(N) || (m = p.value) != null && m.contains(N) || D();
2570
- }, E = x(() => ({
2594
+ const Y = L.target;
2595
+ (ne = i.value) != null && ne.contains(Y) || (m = p.value) != null && m.contains(Y) || D();
2596
+ }, E = k(() => ({
2571
2597
  ...z.value,
2572
2598
  position: "absolute",
2573
2599
  zIndex: 2e3,
@@ -2578,10 +2604,10 @@ const Ct = Symbol("dropdown-context"), wt = /* @__PURE__ */ de({
2578
2604
  hide: D,
2579
2605
  visible: g
2580
2606
  }), _e(() => {
2581
- document.addEventListener("click", J);
2607
+ document.addEventListener("click", N);
2582
2608
  }), Ie(() => {
2583
- document.removeEventListener("click", J), Y();
2584
- }), (L, N) => (s(), a("div", {
2609
+ document.removeEventListener("click", N), K();
2610
+ }), (L, Y) => (s(), a("div", {
2585
2611
  ref_key: "dropdownRef",
2586
2612
  ref: i,
2587
2613
  class: "vt-dropdown",
@@ -2596,18 +2622,18 @@ const Ct = Symbol("dropdown-context"), wt = /* @__PURE__ */ de({
2596
2622
  }, [
2597
2623
  ve(L.$slots, "default")
2598
2624
  ], 512),
2599
- ne(g) && ne(C) ? (s(), ie(Je, {
2625
+ oe(g) && oe(C) ? (s(), ie(Je, {
2600
2626
  key: 0,
2601
2627
  to: "body"
2602
2628
  }, [
2603
2629
  r("div", {
2604
2630
  ref_key: "menuRef",
2605
2631
  ref: p,
2606
- style: fe(E.value),
2632
+ style: pe(E.value),
2607
2633
  class: "vt-dropdown-menu",
2608
2634
  onMouseenter: te,
2609
- onMouseleave: K,
2610
- onClick: N[0] || (N[0] = Ce(() => {
2635
+ onMouseleave: U,
2636
+ onClick: Y[0] || (Y[0] = me(() => {
2611
2637
  }, ["stop"]))
2612
2638
  }, [
2613
2639
  ve(L.$slots, "dropdown")
@@ -2615,7 +2641,7 @@ const Ct = Symbol("dropdown-context"), wt = /* @__PURE__ */ de({
2615
2641
  ])) : j("", !0)
2616
2642
  ], 544));
2617
2643
  }
2618
- }), Ue = /* @__PURE__ */ de({
2644
+ }), Ue = /* @__PURE__ */ ue({
2619
2645
  __name: "VDropdownItem",
2620
2646
  props: {
2621
2647
  command: {},
@@ -2625,7 +2651,7 @@ const Ct = Symbol("dropdown-context"), wt = /* @__PURE__ */ de({
2625
2651
  },
2626
2652
  emits: ["click"],
2627
2653
  setup(n, { emit: e }) {
2628
- const o = n, t = e, l = tt(Ct);
2654
+ const o = n, t = e, l = t1(C1);
2629
2655
  l || console.warn("VDropdownItem must be used within VDropdown");
2630
2656
  const i = (c) => {
2631
2657
  o.disabled || (console.log("VDropdownItem click:", o.command), t("click", c), o.command !== void 0 && l && (console.log("Calling handleCommand with:", o.command), l.handleCommand(o.command)));
@@ -2645,14 +2671,14 @@ const Ct = Symbol("dropdown-context"), wt = /* @__PURE__ */ de({
2645
2671
  ], 2));
2646
2672
  }
2647
2673
  });
2648
- class ks {
2674
+ class $s {
2649
2675
  constructor() {
2650
2676
  this.modalStack = [], this.baseZIndex = 1e3;
2651
2677
  }
2652
2678
  open(e = {}) {
2653
2679
  const o = `modal-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`, t = document.createElement("div");
2654
2680
  t.setAttribute("data-vt-modal", o), document.body.appendChild(t);
2655
- const l = H(!0), i = this.baseZIndex + this.modalStack.length * 10, c = bt({
2681
+ const l = I(!0), i = this.baseZIndex + this.modalStack.length * 10, c = b1({
2656
2682
  setup() {
2657
2683
  const v = () => {
2658
2684
  l.value = !1, setTimeout(() => {
@@ -2660,7 +2686,7 @@ class ks {
2660
2686
  }, 100);
2661
2687
  };
2662
2688
  return () => qe(
2663
- vt,
2689
+ v1,
2664
2690
  {
2665
2691
  modelValue: l.value,
2666
2692
  "onUpdate:modelValue": v,
@@ -2714,7 +2740,7 @@ class ks {
2714
2740
  recalculateZIndices() {
2715
2741
  }
2716
2742
  }
2717
- const xe = new ks(), bs = {
2743
+ const xe = new $s(), Ms = {
2718
2744
  install(n) {
2719
2745
  n.config.globalProperties.$modal = xe, n.config.globalProperties.$modalStack = {
2720
2746
  closeAll: () => xe.closeAll(),
@@ -2722,16 +2748,16 @@ const xe = new ks(), bs = {
2722
2748
  closeById: (e) => xe.closeById(e)
2723
2749
  };
2724
2750
  }
2725
- }, ys = { class: "vt-columns-selector-body" }, xs = { class: "vt-columns-selector" }, Ms = { class: "vt-columns-selector__panel" }, $s = ["draggable", "onDragstart", "onDragover", "onDrop"], Ls = {
2751
+ }, Ls = { class: "vt-columns-selector-body" }, Vs = { class: "vt-columns-selector" }, Ss = { class: "vt-columns-selector__panel" }, Is = ["draggable", "onDragstart", "onDragover", "onDrop"], Bs = {
2726
2752
  key: 0,
2727
2753
  class: "vt-columns-selector__panel-item-pinned"
2728
- }, Vs = { class: "vt-columns-selector__available" }, Ss = ["onClick"], Is = {
2754
+ }, Hs = { class: "vt-columns-selector__available" }, Es = ["onClick"], Ts = {
2729
2755
  key: 0,
2730
2756
  class: "vt-columns-selector__group-columns"
2731
- }, Hs = {
2757
+ }, js = {
2732
2758
  key: 0,
2733
2759
  class: "vt-columns-selector__pinned-note"
2734
- }, Bs = { class: "vt-modal__content-button" }, Es = /* @__PURE__ */ de({
2760
+ }, zs = { class: "vt-modal__content-button" }, Os = /* @__PURE__ */ ue({
2735
2761
  __name: "VTableColumnSelector",
2736
2762
  props: {
2737
2763
  columns: {},
@@ -2739,46 +2765,46 @@ const xe = new ks(), bs = {
2739
2765
  },
2740
2766
  emits: ["update-columns"],
2741
2767
  setup(n, { emit: e }) {
2742
- const o = n, t = e, l = H([]), i = H(/* @__PURE__ */ new Set()), c = H(-1), p = H(-1), v = H("before"), f = x(() => {
2768
+ const o = n, t = e, l = I([]), i = I(/* @__PURE__ */ new Set()), c = I(-1), p = I(-1), v = I("before"), f = k(() => {
2743
2769
  const m = {};
2744
2770
  return o.columnsSelector.forEach((b) => {
2745
2771
  if (b.name === "removed")
2746
2772
  return;
2747
- const y = b.columns.map((T) => T.prop), S = l.value.filter((T) => y.includes(T.prop));
2773
+ const x = b.columns.map((T) => T.prop), S = l.value.filter((T) => x.includes(T.prop));
2748
2774
  S.length === 0 ? m[b.name] = { checked: !1, indeterminate: !1 } : S.length === b.columns.length ? m[b.name] = { checked: !0, indeterminate: !1 } : m[b.name] = { checked: !1, indeterminate: !0 };
2749
2775
  }), m;
2750
- }), u = x(() => o.columnsSelector.filter((m) => m.name !== "removed")), g = (m) => m.pinnedLeft || m.pinnedRight, C = (m) => !g(m), z = () => {
2776
+ }), u = k(() => o.columnsSelector.filter((m) => m.name !== "removed")), g = (m) => m.pinnedLeft || m.pinnedRight, C = (m) => !g(m), z = () => {
2751
2777
  const m = l.value;
2752
2778
  let b = -1;
2753
2779
  for (let S = 0; S < m.length; S++)
2754
2780
  m[S].pinnedLeft && (b = S);
2755
- let y = m.length;
2781
+ let x = m.length;
2756
2782
  for (let S = 0; S < m.length; S++)
2757
2783
  if (m[S].pinnedRight) {
2758
- y = S;
2784
+ x = S;
2759
2785
  break;
2760
2786
  }
2761
2787
  return {
2762
2788
  minIndex: b + 1,
2763
- maxIndex: y - 1
2789
+ maxIndex: x - 1
2764
2790
  };
2765
2791
  }, Z = (m) => {
2766
2792
  const b = z();
2767
2793
  return !(m < b.minIndex || m > b.maxIndex + 1);
2768
2794
  }, D = (m, b) => {
2769
- const y = l.value[b];
2770
- if (!C(y)) {
2795
+ const x = l.value[b];
2796
+ if (!C(x)) {
2771
2797
  m.preventDefault();
2772
2798
  return;
2773
2799
  }
2774
- c.value = b, m.dataTransfer && (m.dataTransfer.effectAllowed = "move", m.dataTransfer.setData("text/plain", y.prop)), document.body.style.cursor = "grabbing";
2800
+ c.value = b, m.dataTransfer && (m.dataTransfer.effectAllowed = "move", m.dataTransfer.setData("text/plain", x.prop)), document.body.style.cursor = "grabbing";
2775
2801
  }, F = (m, b) => {
2776
2802
  if (c.value === -1) return;
2777
2803
  m.preventDefault();
2778
- const y = m.currentTarget.getBoundingClientRect(), S = m.clientY, T = y.top + y.height / 2;
2804
+ const x = m.currentTarget.getBoundingClientRect(), S = m.clientY, T = x.top + x.height / 2;
2779
2805
  let q = b, se = "before";
2780
2806
  S < T ? (q = b, se = "before") : (q = b + 1, se = "after"), c.value < q && q--, Z(q) ? (p.value = b, v.value = se, m.dataTransfer.dropEffect = "move") : (p.value = -1, m.dataTransfer.dropEffect = "none");
2781
- }, Y = () => {
2807
+ }, K = () => {
2782
2808
  setTimeout(() => {
2783
2809
  c.value === -1 && (p.value = -1);
2784
2810
  }, 50);
@@ -2787,7 +2813,7 @@ const xe = new ks(), bs = {
2787
2813
  O();
2788
2814
  return;
2789
2815
  }
2790
- const y = m.currentTarget.getBoundingClientRect(), S = m.clientY, T = y.top + y.height / 2;
2816
+ const x = m.currentTarget.getBoundingClientRect(), S = m.clientY, T = x.top + x.height / 2;
2791
2817
  let q = b;
2792
2818
  if (S >= T && (q = b + 1), c.value < q && q--, !Z(q) || q === c.value) {
2793
2819
  O();
@@ -2808,111 +2834,111 @@ const xe = new ks(), bs = {
2808
2834
  });
2809
2835
  }, te = (m, b) => {
2810
2836
  if (b)
2811
- l.value.some((y) => y.prop === m.prop) || l.value.push({ ...m });
2837
+ l.value.some((x) => x.prop === m.prop) || l.value.push({ ...m });
2812
2838
  else {
2813
2839
  if (g(m))
2814
2840
  return;
2815
- l.value = l.value.filter((y) => y.prop !== m.prop);
2841
+ l.value = l.value.filter((x) => x.prop !== m.prop);
2816
2842
  }
2817
- }, K = (m, b) => {
2843
+ }, U = (m, b) => {
2818
2844
  if (b)
2819
- m.columns.forEach((y) => {
2820
- l.value.some((S) => S.prop === y.prop) || l.value.push({ ...y });
2845
+ m.columns.forEach((x) => {
2846
+ l.value.some((S) => S.prop === x.prop) || l.value.push({ ...x });
2821
2847
  });
2822
2848
  else {
2823
- const y = [];
2849
+ const x = [];
2824
2850
  m.columns.forEach((S) => {
2825
2851
  const T = l.value.find((q) => q.prop === S.prop);
2826
- T && !g(T) && y.push(T);
2852
+ T && !g(T) && x.push(T);
2827
2853
  }), l.value = l.value.filter(
2828
- (S) => !y.some((T) => T.prop === S.prop)
2854
+ (S) => !x.some((T) => T.prop === S.prop)
2829
2855
  );
2830
2856
  }
2831
- }, J = (m) => l.value.some((b) => b.prop === m.prop), E = (m) => {
2832
- const b = l.value.find((y) => y.prop === m.prop);
2857
+ }, N = (m) => l.value.some((b) => b.prop === m.prop), E = (m) => {
2858
+ const b = l.value.find((x) => x.prop === m.prop);
2833
2859
  return !b || !g(b);
2834
2860
  }, L = (m) => {
2835
2861
  i.value.has(m) ? i.value.delete(m) : i.value.add(m);
2836
- }, N = () => {
2862
+ }, Y = () => {
2837
2863
  t("update-columns", [...l.value]), xe.close();
2838
- }, re = () => {
2864
+ }, ne = () => {
2839
2865
  xe.close();
2840
2866
  };
2841
2867
  return _e(() => {
2842
2868
  G();
2843
- }), (m, b) => (s(), a("div", ys, [
2844
- r("div", xs, [
2845
- r("div", Ms, [
2846
- (s(!0), a(he, null, pe(l.value, (y, S) => (s(), a("div", {
2847
- key: y.prop,
2869
+ }), (m, b) => (s(), a("div", Ls, [
2870
+ r("div", Vs, [
2871
+ r("div", Ss, [
2872
+ (s(!0), a(ce, null, he(l.value, (x, S) => (s(), a("div", {
2873
+ key: x.prop,
2848
2874
  class: A(ee(S)),
2849
- draggable: C(y),
2875
+ draggable: C(x),
2850
2876
  onDragstart: (T) => D(T, S),
2851
2877
  onDragover: (T) => F(T, S),
2852
- onDragleave: Y,
2878
+ onDragleave: K,
2853
2879
  onDrop: (T) => B(T, S),
2854
2880
  onDragend: R
2855
2881
  }, [
2856
- X(oe, {
2857
- name: C(y) ? "columnsMove" : "freeze",
2858
- class: A(["vt-columns-selector__panel-item-icon", { "vt-columns-selector__panel-item-icon--draggable": C(y) }])
2882
+ X(le, {
2883
+ name: C(x) ? "columnsMove" : "freeze",
2884
+ class: A(["vt-columns-selector__panel-item-icon", { "vt-columns-selector__panel-item-icon--draggable": C(x) }])
2859
2885
  }, null, 8, ["name", "class"]),
2860
- X(Me, {
2861
- label: y.label,
2886
+ X($e, {
2887
+ label: x.label,
2862
2888
  checked: !0,
2863
- disabled: g(y),
2864
- onChange: (T) => te(y, T),
2865
- onClick: b[0] || (b[0] = Ce(() => {
2889
+ disabled: g(x),
2890
+ onChange: (T) => te(x, T),
2891
+ onClick: b[0] || (b[0] = me(() => {
2866
2892
  }, ["stop"]))
2867
2893
  }, null, 8, ["label", "disabled", "onChange"]),
2868
- g(y) ? (s(), a("span", Ls, "pinned")) : j("", !0)
2869
- ], 42, $s))), 128))
2894
+ g(x) ? (s(), a("span", Bs, "pinned")) : j("", !0)
2895
+ ], 42, Is))), 128))
2870
2896
  ]),
2871
- r("div", Vs, [
2872
- (s(!0), a(he, null, pe(u.value, (y) => {
2897
+ r("div", Hs, [
2898
+ (s(!0), a(ce, null, he(u.value, (x) => {
2873
2899
  var S, T;
2874
2900
  return s(), a("div", {
2875
- key: y.name,
2901
+ key: x.name,
2876
2902
  class: "vt-columns-selector__group"
2877
2903
  }, [
2878
2904
  r("div", {
2879
2905
  class: "vt-columns-selector__group-header",
2880
- onClick: (q) => L(y.name)
2906
+ onClick: (q) => L(x.name)
2881
2907
  }, [
2882
- X(Me, {
2883
- label: y.label,
2884
- checked: ((S = f.value[y.name]) == null ? void 0 : S.checked) || !1,
2885
- indeterminate: ((T = f.value[y.name]) == null ? void 0 : T.indeterminate) || !1,
2886
- onChange: (q) => K(y, q),
2887
- onClick: b[1] || (b[1] = Ce(() => {
2908
+ X($e, {
2909
+ label: x.label,
2910
+ checked: ((S = f.value[x.name]) == null ? void 0 : S.checked) || !1,
2911
+ indeterminate: ((T = f.value[x.name]) == null ? void 0 : T.indeterminate) || !1,
2912
+ onChange: (q) => U(x, q),
2913
+ onClick: b[1] || (b[1] = me(() => {
2888
2914
  }, ["stop"]))
2889
2915
  }, null, 8, ["label", "checked", "indeterminate", "onChange"]),
2890
- y.icon ? (s(), ie(oe, {
2916
+ x.icon ? (s(), ie(le, {
2891
2917
  key: 0,
2892
- name: y.icon,
2918
+ name: x.icon,
2893
2919
  class: "vt-columns-selector__group-icon"
2894
2920
  }, null, 8, ["name"])) : j("", !0)
2895
- ], 8, Ss),
2896
- i.value.has(y.name) ? (s(), a("div", Is, [
2897
- (s(!0), a(he, null, pe(y.columns, (q) => (s(), a("div", {
2921
+ ], 8, Es),
2922
+ i.value.has(x.name) ? (s(), a("div", Ts, [
2923
+ (s(!0), a(ce, null, he(x.columns, (q) => (s(), a("div", {
2898
2924
  key: q.prop,
2899
2925
  class: "vt-columns-selector__group-column"
2900
2926
  }, [
2901
- X(Me, {
2927
+ X($e, {
2902
2928
  label: q.label,
2903
- checked: J(q),
2929
+ checked: N(q),
2904
2930
  disabled: !E(q),
2905
2931
  onChange: (se) => te(q, se)
2906
2932
  }, null, 8, ["label", "checked", "disabled", "onChange"]),
2907
- E(q) ? j("", !0) : (s(), a("span", Hs, " (закріплена) "))
2933
+ E(q) ? j("", !0) : (s(), a("span", js, " (закріплена) "))
2908
2934
  ]))), 128))
2909
2935
  ])) : j("", !0)
2910
2936
  ]);
2911
2937
  }), 128))
2912
2938
  ])
2913
2939
  ]),
2914
- r("div", Bs, [
2915
- X(We, { onClick: re }, {
2940
+ r("div", zs, [
2941
+ X(We, { onClick: ne }, {
2916
2942
  default: we(() => b[2] || (b[2] = [
2917
2943
  ge("Скасувати", -1)
2918
2944
  ])),
@@ -2921,7 +2947,7 @@ const xe = new ks(), bs = {
2921
2947
  }),
2922
2948
  X(We, {
2923
2949
  type: "primary",
2924
- onClick: N
2950
+ onClick: Y
2925
2951
  }, {
2926
2952
  default: we(() => b[3] || (b[3] = [
2927
2953
  ge("Зберегти", -1)
@@ -2932,7 +2958,7 @@ const xe = new ks(), bs = {
2932
2958
  ])
2933
2959
  ]));
2934
2960
  }
2935
- }), Ts = { class: "vt-table-header-actions" }, js = /* @__PURE__ */ de({
2961
+ }), Rs = { class: "vt-table-header-actions" }, Ds = /* @__PURE__ */ ue({
2936
2962
  __name: "ColumnActions",
2937
2963
  props: {
2938
2964
  column: {},
@@ -2964,14 +2990,14 @@ const xe = new ks(), bs = {
2964
2990
  var D;
2965
2991
  const g = new Set(u.map((F) => F.prop)), C = /* @__PURE__ */ new Set();
2966
2992
  (D = o.columnsSelector) == null || D.forEach((F) => {
2967
- F.columns.forEach((Y) => C.add(Y.prop));
2993
+ F.columns.forEach((K) => C.add(K.prop));
2968
2994
  }), o.allColumns.forEach((F) => C.add(F.prop));
2969
2995
  const z = [];
2970
2996
  C.forEach((F) => {
2971
- var Y;
2997
+ var K;
2972
2998
  if (!g.has(F)) {
2973
2999
  let B;
2974
- (Y = o.columnsSelector) == null || Y.forEach((R) => {
3000
+ (K = o.columnsSelector) == null || K.forEach((R) => {
2975
3001
  const O = R.columns.find((ee) => ee.prop === F);
2976
3002
  O && (B = O);
2977
3003
  }), B || (B = o.allColumns.find((R) => R.prop === F)), B && z.push(B);
@@ -2983,7 +3009,7 @@ const xe = new ks(), bs = {
2983
3009
  console.log("handleToggleVisibility called");
2984
3010
  const u = v(o.allColumns);
2985
3011
  xe.open({
2986
- component: Es,
3012
+ component: Os,
2987
3013
  title: "Управління колонками таблиці",
2988
3014
  props: {
2989
3015
  columns: o.allColumns,
@@ -2996,7 +3022,7 @@ const xe = new ks(), bs = {
2996
3022
  closeOnBackdropClick: !1
2997
3023
  });
2998
3024
  };
2999
- return (u, g) => (s(), ie(wt, {
3025
+ return (u, g) => (s(), ie(w1, {
3000
3026
  trigger: "click",
3001
3027
  placement: "bottom-start",
3002
3028
  onCommand: i
@@ -3004,7 +3030,7 @@ const xe = new ks(), bs = {
3004
3030
  dropdown: we(() => [
3005
3031
  X(Ue, { command: "pin" }, {
3006
3032
  default: we(() => [
3007
- X(oe, {
3033
+ X(le, {
3008
3034
  name: l() ? "unfreeze" : "freeze"
3009
3035
  }, null, 8, ["name"]),
3010
3036
  r("div", null, Q(l() ? "Розморозити" : "Заморозити"), 1)
@@ -3013,7 +3039,7 @@ const xe = new ks(), bs = {
3013
3039
  }),
3014
3040
  X(Ue, { command: "columns" }, {
3015
3041
  default: we(() => [
3016
- X(oe, { name: "columnInsert" }),
3042
+ X(le, { name: "columnInsert" }),
3017
3043
  g[0] || (g[0] = r("div", null, "Колонки", -1))
3018
3044
  ]),
3019
3045
  _: 1,
@@ -3021,25 +3047,25 @@ const xe = new ks(), bs = {
3021
3047
  })
3022
3048
  ]),
3023
3049
  default: we(() => [
3024
- r("div", Ts, [
3025
- X(oe, { name: "listBullet" })
3050
+ r("div", Rs, [
3051
+ X(le, { name: "listBullet" })
3026
3052
  ])
3027
3053
  ]),
3028
3054
  _: 1
3029
3055
  }));
3030
3056
  }
3031
- }), zs = { class: "vt-table" }, Os = { key: 0 }, Rs = { class: "vt-th__content" }, Ds = { class: "vt-th__content" }, Ws = { class: "vt-th__label" }, Ps = {
3057
+ }), Ws = { class: "vt-table" }, Ps = { key: 0 }, As = { class: "vt-th__content" }, Zs = { class: "vt-th__content" }, Fs = { class: "vt-th__label" }, Ns = {
3032
3058
  key: 0,
3033
3059
  class: "vt-th__sortable"
3034
- }, As = ["data-resizer", "onMousedown"], Zs = {
3060
+ }, qs = ["data-resizer", "onMousedown"], Ks = {
3035
3061
  key: 0,
3036
3062
  class: "vt-table__empty-row"
3037
- }, Fs = ["colspan"], Ns = { class: "vt-table__empty-content" }, qs = ["onClick"], Ks = { class: "vt-table__cell-content" }, Us = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, Ys = { key: 1 }, Xs = ["data-resizer", "onMousedown"], Qs = {
3063
+ }, Us = ["colspan"], Ys = { class: "vt-table__empty-content" }, Xs = ["onClick"], Qs = { class: "vt-table__cell-content" }, Gs = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, Js = { key: 1 }, ei = ["data-resizer", "onMousedown"], ti = {
3038
3064
  key: 1,
3039
3065
  class: "vt-table__summary"
3040
- }, Gs = { class: "vt-table__cell-content vt-table__cell-content--summary" }, Ke = 50, Js = /* @__PURE__ */ de({
3066
+ }, ni = { class: "vt-table__cell-content vt-table__cell-content--summary" }, Ke = 50, oi = /* @__PURE__ */ ue({
3041
3067
  __name: "VTable",
3042
- props: /* @__PURE__ */ lt({
3068
+ props: /* @__PURE__ */ l1({
3043
3069
  data: {},
3044
3070
  maxHeight: { default: void 0 },
3045
3071
  rowKey: { default: "id" },
@@ -3063,42 +3089,42 @@ const xe = new ks(), bs = {
3063
3089
  },
3064
3090
  columnsModifiers: {}
3065
3091
  }),
3066
- emits: /* @__PURE__ */ lt(["sort-change", "selection-change", "current-change", "row-click", "update:columns", "column-pin", "column-resize", "column-visibility", "column-sort", "columns-change", "infinity-scroll"], ["update:columns"]),
3092
+ emits: /* @__PURE__ */ l1(["sort-change", "selection-change", "current-change", "row-click", "update:columns", "column-pin", "column-resize", "column-visibility", "column-sort", "columns-change", "infinity-scroll"], ["update:columns"]),
3067
3093
  setup(n, { expose: e, emit: o }) {
3068
- const t = n, l = o, i = yt(n, "columns"), c = H({}), p = H(), v = xt([]), f = H(t.defaultSort || null), u = x(() => ws(t.data || [], f.value, v)), g = x(() => i.value !== void 0), C = x(() => t.data && t.data.length > 0), z = H(!1), Z = H(0);
3094
+ const t = n, l = o, i = y1(n, "columns"), c = I({}), p = I(), v = x1([]), f = I(t.defaultSort || null), u = k(() => bs(t.data || [], f.value, v)), g = k(() => i.value !== void 0), C = k(() => t.data && t.data.length > 0), z = I(!1), Z = I(0);
3069
3095
  let D;
3070
- const F = (_, V) => t.rowKey && _[t.rowKey] != null ? String(_[t.rowKey]) : String(V), Y = () => {
3096
+ const F = (_, V) => t.rowKey && _[t.rowKey] != null ? String(_[t.rowKey]) : String(V), K = () => {
3071
3097
  g.value && i.value ? v.splice(0, v.length, ...i.value) : t.columns && t.columns.length > 0 && v.splice(0, v.length, ...t.columns);
3072
3098
  };
3073
- ce(
3099
+ fe(
3074
3100
  () => i.value,
3075
3101
  (_) => {
3076
3102
  _ && g.value && v.splice(0, v.length, ..._);
3077
3103
  },
3078
3104
  { deep: !0 }
3079
- ), ce(
3105
+ ), fe(
3080
3106
  () => t.columns,
3081
3107
  (_) => {
3082
3108
  _ && !g.value && v.splice(0, v.length, ..._);
3083
3109
  },
3084
3110
  { deep: !0 }
3085
- ), et("vt-table-columns", v);
3086
- const { sortedColumns: B, getDefaultColumnWidth: R, getStickyOffset: O } = cs(v), { getTableWrapperStyle: ee, getColumnStyle: G, getHeaderStyle: te, getFooterStyle: K } = hs(t), { onMouseDown: J } = ps(), E = x(() => t.allData || t.data), L = t.selectable ? fs(t, u, l, E) : null, N = () => ({
3111
+ ), e1("vt-table-columns", v);
3112
+ const { sortedColumns: B, getDefaultColumnWidth: R, getStickyOffset: O } = vs(v), { getTableWrapperStyle: ee, getColumnStyle: G, getHeaderStyle: te, getFooterStyle: U } = ms(t), { onMouseDown: N } = Cs(), E = k(() => t.allData || t.data), L = t.selectable ? ws(t, u, l, E) : null, Y = () => ({
3087
3113
  width: `${Ke}px`,
3088
3114
  minWidth: `${Ke}px`,
3089
3115
  maxWidth: `${Ke}px`,
3090
3116
  left: "0px",
3091
3117
  position: "sticky",
3092
3118
  zIndex: 10
3093
- }), re = () => {
3094
- const _ = N();
3119
+ }), ne = () => {
3120
+ const _ = Y();
3095
3121
  return t.maxHeight ? {
3096
3122
  ..._,
3097
3123
  top: "0px",
3098
3124
  zIndex: 11
3099
3125
  } : _;
3100
3126
  }, m = () => {
3101
- const _ = N();
3127
+ const _ = Y();
3102
3128
  return t.maxHeight ? {
3103
3129
  ..._,
3104
3130
  bottom: "0px",
@@ -3106,14 +3132,14 @@ const xe = new ks(), bs = {
3106
3132
  } : _;
3107
3133
  }, b = () => {
3108
3134
  if (!p.value || z.value) return;
3109
- const _ = p.value, V = _.scrollTop, W = _.scrollHeight, d = _.clientHeight, k = 30;
3135
+ const _ = p.value, V = _.scrollTop, W = _.scrollHeight, d = _.clientHeight, y = 30;
3110
3136
  D && clearTimeout(D), D = setTimeout(() => {
3111
- const P = V - Z.value > 1, I = W - V - d <= k, ue = W - V - d <= 5;
3112
- Z.value = V, P && (I || ue) && (z.value = !0, l("infinity-scroll"), setTimeout(() => {
3137
+ const P = V - Z.value > 1, H = W - V - d <= y, de = W - V - d <= 5;
3138
+ Z.value = V, P && (H || de) && (z.value = !0, l("infinity-scroll"), setTimeout(() => {
3113
3139
  z.value = !1;
3114
3140
  }, 1e3));
3115
3141
  }, 50);
3116
- }, y = () => {
3142
+ }, x = () => {
3117
3143
  z.value = !1;
3118
3144
  };
3119
3145
  _e(() => {
@@ -3122,11 +3148,11 @@ const xe = new ks(), bs = {
3122
3148
  D && clearTimeout(D), p.value && p.value.removeEventListener("scroll", b);
3123
3149
  });
3124
3150
  const S = (_, V) => {
3125
- Cs(_, V, (W) => {
3126
- var d, k;
3151
+ ks(_, V, (W) => {
3152
+ var d, y;
3127
3153
  ((d = f.value) == null ? void 0 : d.prop) === _.prop && f.value.direction === V ? f.value = null : f.value = W, l("sort-change", {
3128
3154
  column: _,
3129
- direction: ((k = f.value) == null ? void 0 : k.direction) || null,
3155
+ direction: ((y = f.value) == null ? void 0 : y.direction) || null,
3130
3156
  prop: _.prop,
3131
3157
  sortedData: u.value
3132
3158
  });
@@ -3143,10 +3169,10 @@ const xe = new ks(), bs = {
3143
3169
  const W = v.findIndex((d) => d.prop === _);
3144
3170
  if (W !== -1) {
3145
3171
  if (Object.assign(v[W], V), g.value && i.value) {
3146
- const d = i.value.findIndex((k) => k.prop === _);
3172
+ const d = i.value.findIndex((y) => y.prop === _);
3147
3173
  if (d !== -1) {
3148
- const k = [...i.value];
3149
- k[d] = { ...k[d], ...V }, i.value = k;
3174
+ const y = [...i.value];
3175
+ y[d] = { ...y[d], ...V }, i.value = y;
3150
3176
  }
3151
3177
  }
3152
3178
  l("columns-change", [...v]);
@@ -3157,39 +3183,39 @@ const xe = new ks(), bs = {
3157
3183
  W.stopPropagation(), L && L.toggleRowSelection(V, _);
3158
3184
  }, Oe = (_, V) => {
3159
3185
  V.stopPropagation(), L && L.toggleAllSelection();
3160
- }, He = (_, V) => {
3186
+ }, Be = (_, V) => {
3161
3187
  _ && (c.value[V] = _);
3162
3188
  }, Ve = (_, V) => {
3163
3189
  const W = V.width || R();
3164
- J(_, V, R, (d) => {
3190
+ N(_, V, R, (d) => {
3165
3191
  se(V.prop, { width: d }), l("column-resize", {
3166
3192
  column: { ...V, width: d },
3167
3193
  width: d,
3168
3194
  oldWidth: W
3169
3195
  });
3170
3196
  });
3171
- }, Be = (_, V) => G(_, V, O, R), Re = (_, V) => te(_, V, O, R), Ee = (_, V) => K(_, V, O, R), h = (_, V) => {
3197
+ }, He = (_, V) => G(_, V, O, R), Re = (_, V) => te(_, V, O, R), Ee = (_, V) => U(_, V, O, R), h = (_, V) => {
3172
3198
  if (!V || !V.prop) return "";
3173
3199
  const W = _[V.prop];
3174
3200
  return W == null ? "" : String(W);
3175
- }, M = x(() => {
3201
+ }, $ = k(() => {
3176
3202
  if (!t.showSummary || !C.value) return {};
3177
3203
  const _ = v;
3178
3204
  if (typeof t.summaryMethod == "function") {
3179
3205
  const V = t.summaryMethod({ columns: _, data: u.value });
3180
3206
  return _.reduce(
3181
- (W, d, k) => (W[d.prop] = V[k], W),
3207
+ (W, d, y) => (W[d.prop] = V[y], W),
3182
3208
  {}
3183
3209
  );
3184
3210
  }
3185
3211
  return _.reduce(
3186
3212
  (V, W) => {
3187
- const d = u.value.map((k) => k[W.prop]);
3188
- return V[W.prop] = d.every((k) => typeof k == "number") ? d.reduce((k, U) => k + U, 0) : "", V;
3213
+ const d = u.value.map((y) => y[W.prop]);
3214
+ return V[W.prop] = d.every((y) => typeof y == "number") ? d.reduce((y, J) => y + J, 0) : "", V;
3189
3215
  },
3190
3216
  {}
3191
3217
  );
3192
- }), $ = x(() => t.showSummary && C.value), ae = (_, V) => {
3218
+ }), M = k(() => t.showSummary && C.value), ae = (_, V) => {
3193
3219
  L && L.toggleRowSelection(_, V);
3194
3220
  }, ke = () => {
3195
3221
  L && L.toggleAllSelection();
@@ -3211,7 +3237,7 @@ const xe = new ks(), bs = {
3211
3237
  }
3212
3238
  };
3213
3239
  return _e(() => {
3214
- Y();
3240
+ K();
3215
3241
  }), e({
3216
3242
  toggleRowSelection: ae,
3217
3243
  toggleAllSelection: ke,
@@ -3219,20 +3245,20 @@ const xe = new ks(), bs = {
3219
3245
  clearSelection: Te,
3220
3246
  getSelectionRows: De,
3221
3247
  setSelectionRows: Ze,
3222
- resetInfinityScroll: y
3248
+ resetInfinityScroll: x
3223
3249
  }), (_, V) => {
3224
- var d, k, U, P;
3250
+ var d, y, J, P;
3225
3251
  const W = Ge("tooltip");
3226
3252
  return s(), a("div", {
3227
3253
  ref_key: "tableWrapperRef",
3228
3254
  ref: p,
3229
- style: fe(ne(ee)()),
3255
+ style: pe(oe(ee)()),
3230
3256
  class: "vt-table-wrapper",
3231
3257
  onScroll: b
3232
3258
  }, [
3233
3259
  ve(_.$slots, "default"),
3234
- r("table", zs, [
3235
- t.hideHeader ? j("", !0) : (s(), a("thead", Os, [
3260
+ r("table", Ws, [
3261
+ t.hideHeader ? j("", !0) : (s(), a("thead", Ps, [
3236
3262
  r("tr", null, [
3237
3263
  t.selectable ? (s(), a("th", {
3238
3264
  key: 0,
@@ -3240,156 +3266,156 @@ const xe = new ks(), bs = {
3240
3266
  "vt-table__th--sticky": t.maxHeight,
3241
3267
  "vt-table__th--pinned-left": !0
3242
3268
  }, "vt-table__th vt-table__th--selection"]),
3243
- style: fe(re())
3269
+ style: pe(ne())
3244
3270
  }, [
3245
- r("div", Rs, [
3246
- X(Me, {
3247
- checked: (d = ne(L)) == null ? void 0 : d.isAllSelected.value,
3248
- indeterminate: (k = ne(L)) == null ? void 0 : k.isIndeterminate.value,
3249
- "is-double": (P = (U = ne(L)) == null ? void 0 : U.isDoubleCheck) == null ? void 0 : P.value,
3271
+ r("div", As, [
3272
+ X($e, {
3273
+ checked: (d = oe(L)) == null ? void 0 : d.isAllSelected.value,
3274
+ indeterminate: (y = oe(L)) == null ? void 0 : y.isIndeterminate.value,
3275
+ "is-double": (P = (J = oe(L)) == null ? void 0 : J.isDoubleCheck) == null ? void 0 : P.value,
3250
3276
  onChange: Oe
3251
3277
  }, null, 8, ["checked", "indeterminate", "is-double"])
3252
3278
  ])
3253
3279
  ], 6)) : j("", !0),
3254
- (s(!0), a(he, null, pe(ne(B), (I, ue) => (s(), a("th", {
3255
- key: I.prop,
3280
+ (s(!0), a(ce, null, he(oe(B), (H, de) => (s(), a("th", {
3281
+ key: H.prop,
3256
3282
  ref_for: !0,
3257
- ref: (ye) => He(ye, I.prop),
3283
+ ref: (ye) => Be(ye, H.prop),
3258
3284
  class: A([
3259
3285
  "vt-table__th",
3260
3286
  {
3261
3287
  "vt-table__th--sticky": t.maxHeight,
3262
- "vt-table__th--pinned-left": I.pinnedLeft,
3263
- "vt-table__th--pinned-right": I.pinnedRight,
3264
- "vt-table__th--sortable": I.sortable
3288
+ "vt-table__th--pinned-left": H.pinnedLeft,
3289
+ "vt-table__th--pinned-right": H.pinnedRight,
3290
+ "vt-table__th--sortable": H.sortable
3265
3291
  }
3266
3292
  ]),
3267
- style: fe(Re(I, ue))
3293
+ style: pe(Re(H, de))
3268
3294
  }, [
3269
- r("div", Ds, [
3270
- r("div", Ws, Q(I.label), 1),
3271
- I.sortable ? (s(), a("div", Ps, [
3272
- X(oe, {
3273
- class: A(ne(it)(I, f.value).asc),
3295
+ r("div", Zs, [
3296
+ r("div", Fs, Q(H.label), 1),
3297
+ H.sortable ? (s(), a("div", Ns, [
3298
+ X(le, {
3299
+ class: A(oe(i1)(H, f.value).asc),
3274
3300
  name: "arrowTop",
3275
- onClick: Ce((ye) => S(I, "asc"), ["stop"])
3301
+ onClick: me((ye) => S(H, "asc"), ["stop"])
3276
3302
  }, null, 8, ["class", "onClick"]),
3277
- X(oe, {
3278
- class: A(ne(it)(I, f.value).desc),
3303
+ X(le, {
3304
+ class: A(oe(i1)(H, f.value).desc),
3279
3305
  name: "arrowDown",
3280
- onClick: Ce((ye) => S(I, "desc"), ["stop"])
3306
+ onClick: me((ye) => S(H, "desc"), ["stop"])
3281
3307
  }, null, 8, ["class", "onClick"])
3282
3308
  ])) : j("", !0),
3283
- I.actionColumn ? (s(), ie(js, {
3309
+ H.actionColumn ? (s(), ie(Ds, {
3284
3310
  key: 1,
3285
- "all-columns": ne(B),
3286
- column: I,
3311
+ "all-columns": oe(B),
3312
+ column: H,
3287
3313
  columnsSelector: t.columnsSelector,
3288
3314
  onPin: T,
3289
3315
  onUpdateColumns: q
3290
3316
  }, null, 8, ["all-columns", "column", "columnsSelector"])) : j("", !0)
3291
3317
  ]),
3292
3318
  r("div", {
3293
- "data-resizer": I.prop,
3319
+ "data-resizer": H.prop,
3294
3320
  class: "vt-table__resizer",
3295
- onMousedown: (ye) => Ve(ye, I)
3296
- }, null, 40, As)
3321
+ onMousedown: (ye) => Ve(ye, H)
3322
+ }, null, 40, qs)
3297
3323
  ], 6))), 128))
3298
3324
  ])
3299
3325
  ])),
3300
3326
  r("tbody", null, [
3301
- C.value ? (s(!0), a(he, { key: 1 }, pe(u.value, (I, ue) => {
3302
- var ye, nt, ot;
3327
+ C.value ? (s(!0), a(ce, { key: 1 }, he(u.value, (H, de) => {
3328
+ var ye, n1, o1;
3303
3329
  return s(), a("tr", {
3304
- key: F(I, ue),
3330
+ key: F(H, de),
3305
3331
  class: A([
3306
3332
  "vt-table__row",
3307
3333
  {
3308
- "vt-table__row--selected": (ye = ne(L)) == null ? void 0 : ye.isRowSelected(I),
3309
- "vt-table__row--current": ((nt = ne(L)) == null ? void 0 : nt.currentRow.value) === I,
3334
+ "vt-table__row--selected": (ye = oe(L)) == null ? void 0 : ye.isRowSelected(H),
3335
+ "vt-table__row--current": ((n1 = oe(L)) == null ? void 0 : n1.currentRow.value) === H,
3310
3336
  "vt-table__row--clickable": t.selectOnClickRow || t.highlightCurrentRow
3311
3337
  },
3312
- ...Se(I, ue)
3338
+ ...Se(H, de)
3313
3339
  ]),
3314
- onClick: (le) => Le(I, ne(B)[0], le)
3340
+ onClick: (re) => Le(H, oe(B)[0], re)
3315
3341
  }, [
3316
3342
  t.selectable ? (s(), a("td", {
3317
3343
  key: 0,
3318
3344
  class: A([{
3319
3345
  "vt-table__td--pinned-left": !0
3320
3346
  }, "vt-table__td vt-table__td--selection"]),
3321
- style: fe(N())
3347
+ style: pe(Y())
3322
3348
  }, [
3323
- r("div", Ks, [
3324
- X(Me, {
3325
- checked: (ot = ne(L)) == null ? void 0 : ot.isRowSelected(I),
3326
- onChange: (le, Fe) => ze(le, I, Fe)
3349
+ r("div", Qs, [
3350
+ X($e, {
3351
+ checked: (o1 = oe(L)) == null ? void 0 : o1.isRowSelected(H),
3352
+ onChange: (re, Fe) => ze(re, H, Fe)
3327
3353
  }, null, 8, ["checked", "onChange"])
3328
3354
  ])
3329
3355
  ], 4)) : j("", !0),
3330
- (s(!0), a(he, null, pe(ne(B), (le, Fe) => (s(), a("td", {
3331
- key: `${F(I, ue)}-${le.prop}`,
3356
+ (s(!0), a(ce, null, he(oe(B), (re, Fe) => (s(), a("td", {
3357
+ key: `${F(H, de)}-${re.prop}`,
3332
3358
  ref_for: !0,
3333
- ref: (Ne) => He(Ne, le.prop),
3359
+ ref: (Ne) => Be(Ne, re.prop),
3334
3360
  class: A([
3335
3361
  "vt-table__td",
3336
3362
  {
3337
- "vt-table__td--pinned-left": le.pinnedLeft,
3338
- "vt-table__td--pinned-right": le.pinnedRight
3363
+ "vt-table__td--pinned-left": re.pinnedLeft,
3364
+ "vt-table__td--pinned-right": re.pinnedRight
3339
3365
  }
3340
3366
  ]),
3341
- style: fe(Be(le, Fe))
3367
+ style: pe(He(re, Fe))
3342
3368
  }, [
3343
- Ae((s(), a("div", Us, [
3344
- le.renderSlot ? (s(), ie(Xe(() => ne(vs)(le.renderSlot, { row: I, column: le, value: I[le.prop], index: ue })), { key: 0 })) : (s(), a("span", Ys, Q(I[le.prop]), 1))
3369
+ Ae((s(), a("div", Gs, [
3370
+ re.renderSlot ? (s(), ie(Xe(() => oe(gs)(re.renderSlot, { row: H, column: re, value: H[re.prop], index: de })), { key: 0 })) : (s(), a("span", Js, Q(H[re.prop]), 1))
3345
3371
  ])), [
3346
- [W, le.showOverflowTooltip ? h(I, le) : null]
3372
+ [W, re.showOverflowTooltip ? h(H, re) : null]
3347
3373
  ]),
3348
3374
  r("div", {
3349
- "data-resizer": le.prop,
3375
+ "data-resizer": re.prop,
3350
3376
  class: "vt-table__resizer",
3351
- onMousedown: (Ne) => Ve(Ne, le)
3352
- }, null, 40, Xs)
3377
+ onMousedown: (Ne) => Ve(Ne, re)
3378
+ }, null, 40, ei)
3353
3379
  ], 6))), 128))
3354
- ], 10, qs);
3355
- }), 128)) : (s(), a("tr", Zs, [
3380
+ ], 10, Xs);
3381
+ }), 128)) : (s(), a("tr", Ks, [
3356
3382
  r("td", {
3357
- colspan: ne(B).length + (t.selectable ? 1 : 0),
3383
+ colspan: oe(B).length + (t.selectable ? 1 : 0),
3358
3384
  class: "vt-table__empty-cell"
3359
3385
  }, [
3360
- r("div", Ns, [
3361
- X(oe, {
3386
+ r("div", Ys, [
3387
+ X(le, {
3362
3388
  class: "vt-table__empty-icon",
3363
3389
  name: "empty"
3364
3390
  }),
3365
3391
  V[0] || (V[0] = r("span", { class: "vt-table__empty-text" }, "Немає даних!", -1))
3366
3392
  ])
3367
- ], 8, Fs)
3393
+ ], 8, Us)
3368
3394
  ]))
3369
3395
  ]),
3370
- $.value ? (s(), a("tfoot", Qs, [
3396
+ M.value ? (s(), a("tfoot", ti, [
3371
3397
  r("tr", null, [
3372
3398
  t.selectable ? (s(), a("td", {
3373
3399
  key: 0,
3374
3400
  class: A([{
3375
3401
  "vt-table__td--pinned-left": !0
3376
3402
  }, "vt-table__td"]),
3377
- style: fe(m())
3403
+ style: pe(m())
3378
3404
  }, V[1] || (V[1] = [
3379
3405
  r("div", { class: "vt-table__cell-content vt-table__cell-content--summary" }, null, -1)
3380
3406
  ]), 4)) : j("", !0),
3381
- (s(!0), a(he, null, pe(ne(B), (I, ue) => (s(), a("td", {
3382
- key: I.prop,
3407
+ (s(!0), a(ce, null, he(oe(B), (H, de) => (s(), a("td", {
3408
+ key: H.prop,
3383
3409
  class: A([
3384
3410
  "vt-table__td",
3385
3411
  {
3386
- "vt-table__td--pinned-left": I.pinnedLeft,
3387
- "vt-table__td--pinned-right": I.pinnedRight
3412
+ "vt-table__td--pinned-left": H.pinnedLeft,
3413
+ "vt-table__td--pinned-right": H.pinnedRight
3388
3414
  }
3389
3415
  ]),
3390
- style: fe(Ee(I, ue))
3416
+ style: pe(Ee(H, de))
3391
3417
  }, [
3392
- r("div", Gs, Q(M.value[I.prop]), 1)
3418
+ r("div", ni, Q($.value[H.prop]), 1)
3393
3419
  ], 6))), 128))
3394
3420
  ])
3395
3421
  ])) : j("", !0)
@@ -3397,7 +3423,7 @@ const xe = new ks(), bs = {
3397
3423
  ], 36);
3398
3424
  };
3399
3425
  }
3400
- }), ei = /* @__PURE__ */ de({
3426
+ }), li = /* @__PURE__ */ ue({
3401
3427
  __name: "VTableColumn",
3402
3428
  props: {
3403
3429
  prop: {},
@@ -3415,7 +3441,7 @@ const xe = new ks(), bs = {
3415
3441
  sortMethod: {}
3416
3442
  },
3417
3443
  setup(n) {
3418
- const e = n, o = Qe(), t = tt("vt-table-columns");
3444
+ const e = n, o = Qe(), t = t1("vt-table-columns");
3419
3445
  t || console.error(
3420
3446
  "VTableColumn: не знайдено контекст таблиці. Переконайтеся, що компонент використовується всередині VTable."
3421
3447
  );
@@ -3440,7 +3466,7 @@ const xe = new ks(), bs = {
3440
3466
  const c = l();
3441
3467
  t.push(c), i = t.length - 1;
3442
3468
  }
3443
- }), ce(
3469
+ }), fe(
3444
3470
  () => [
3445
3471
  e.width,
3446
3472
  e.minWidth,
@@ -3474,28 +3500,28 @@ const xe = new ks(), bs = {
3474
3500
  }
3475
3501
  }), (c, p) => null;
3476
3502
  }
3477
- }), ti = ["for"], ni = {
3503
+ }), ri = ["for"], si = {
3478
3504
  key: 0,
3479
3505
  class: "vt-input__required"
3480
- }, oi = { class: "vt-input__container" }, li = {
3506
+ }, ii = { class: "vt-input__container" }, ai = {
3481
3507
  key: 0,
3482
3508
  class: "vt-input__prefix"
3483
- }, ri = ["value", "placeholder", "disabled", "rows", "cols", "maxlength", "minlength", "required", "name", "id", "tabindex", "autocomplete"], si = ["type", "value", "placeholder", "disabled", "maxlength", "minlength", "min", "max", "step", "required", "pattern", "name", "id", "tabindex", "autocomplete"], ii = {
3509
+ }, ui = ["value", "placeholder", "disabled", "rows", "cols", "maxlength", "minlength", "required", "name", "id", "tabindex", "autocomplete"], di = ["type", "value", "placeholder", "disabled", "maxlength", "minlength", "min", "max", "step", "required", "pattern", "name", "id", "tabindex", "autocomplete"], ci = {
3484
3510
  key: 3,
3485
3511
  class: "vt-input__suffix"
3486
- }, ai = {
3512
+ }, hi = {
3487
3513
  key: 1,
3488
3514
  class: "vt-input__help"
3489
- }, ui = {
3515
+ }, pi = {
3490
3516
  key: 0,
3491
3517
  class: "vt-input__error"
3492
- }, di = {
3518
+ }, fi = {
3493
3519
  key: 1,
3494
3520
  class: "vt-input__helper"
3495
- }, ci = {
3521
+ }, vi = {
3496
3522
  key: 2,
3497
3523
  class: "vt-input__errors"
3498
- }, gt = /* @__PURE__ */ de({
3524
+ }, g1 = /* @__PURE__ */ ue({
3499
3525
  __name: "VInput",
3500
3526
  props: {
3501
3527
  modelValue: {},
@@ -3543,7 +3569,7 @@ const xe = new ks(), bs = {
3543
3569
  },
3544
3570
  emits: ["update:modelValue", "input", "change", "focus", "blur", "clear", "validation", "keydown", "keyup", "keypress", "click"],
3545
3571
  setup(n, { expose: e, emit: o }) {
3546
- const t = n, l = o, i = H(), c = H(), p = H(!1), v = H(!1), f = H(), u = H([]), g = H(!0), C = H(!1), z = {
3572
+ const t = n, l = o, i = I(), c = I(), p = I(!1), v = I(!1), f = I(), u = I([]), g = I(!0), C = I(!1), z = {
3547
3573
  email: (h) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(h),
3548
3574
  url: (h) => {
3549
3575
  try {
@@ -3554,37 +3580,37 @@ const xe = new ks(), bs = {
3554
3580
  },
3555
3581
  number: (h) => !isNaN(Number(h)) && isFinite(Number(h)),
3556
3582
  required: (h) => h !== "" && h !== null && h !== void 0,
3557
- minlength: (h, M) => String(h).length >= M,
3558
- maxlength: (h, M) => String(h).length <= M,
3559
- min: (h, M) => {
3560
- const $ = Number(h);
3561
- return !isNaN($) && $ >= M;
3583
+ minlength: (h, $) => String(h).length >= $,
3584
+ maxlength: (h, $) => String(h).length <= $,
3585
+ min: (h, $) => {
3586
+ const M = Number(h);
3587
+ return !isNaN(M) && M >= $;
3562
3588
  },
3563
- max: (h, M) => {
3564
- const $ = Number(h);
3565
- return !isNaN($) && $ <= M;
3589
+ max: (h, $) => {
3590
+ const M = Number(h);
3591
+ return !isNaN(M) && M <= $;
3566
3592
  },
3567
- pattern: (h, M) => new RegExp(M).test(h),
3568
- custom: (h, M) => M(h)
3593
+ pattern: (h, $) => new RegExp($).test(h),
3594
+ custom: (h, $) => $(h)
3569
3595
  }, Z = (h) => {
3570
- const M = [], $ = String(h || "");
3571
- if (t.required && !z.required(h) && M.push(t.requiredMessage || "Це поле є обов'язковим"), !$ && !t.required) {
3572
- u.value = M, g.value = M.length === 0;
3596
+ const $ = [], M = String(h || "");
3597
+ if (t.required && !z.required(h) && $.push(t.requiredMessage || "Це поле є обов'язковим"), !M && !t.required) {
3598
+ u.value = $, g.value = $.length === 0;
3573
3599
  return;
3574
3600
  }
3575
3601
  switch (t.type) {
3576
3602
  case "email":
3577
- $ && !z.email($) && M.push(t.emailMessage || "Введіть коректну email адресу");
3603
+ M && !z.email(M) && $.push(t.emailMessage || "Введіть коректну email адресу");
3578
3604
  break;
3579
3605
  case "url":
3580
- $ && !z.url($) && M.push(t.urlMessage || "Введіть коректний URL");
3606
+ M && !z.url(M) && $.push(t.urlMessage || "Введіть коректний URL");
3581
3607
  break;
3582
3608
  case "number":
3583
- $ && !z.number($) && M.push(t.numberMessage || "Введіть коректне число");
3609
+ M && !z.number(M) && $.push(t.numberMessage || "Введіть коректне число");
3584
3610
  break;
3585
3611
  }
3586
- t.minlength && $ && !z.minlength($, t.minlength) && M.push(t.minlengthMessage || `Мінімальна довжина: ${t.minlength} символів`), t.maxlength && $ && !z.maxlength($, t.maxlength) && M.push(t.maxlengthMessage || `Максимальна довжина: ${t.maxlength} символів`), t.type === "number" && $ && z.number($) && (t.min !== void 0 && !z.min($, t.min) && M.push(t.minMessage || `Мінімальне значення: ${t.min}`), t.max !== void 0 && !z.max($, t.max) && M.push(t.maxMessage || `Максимальне значення: ${t.max}`)), t.pattern && $ && !z.pattern($, t.pattern) && M.push(t.patternMessage || "Значення не відповідає вимогам формату"), t.customValidator && !z.custom(h, t.customValidator) && M.push(t.customValidatorMessage || "Значення не проходить валідацію"), u.value = M, g.value = M.length === 0, l("validation", { isValid: g.value, errors: M });
3587
- }, D = x(() => t.type === "textarea"), F = x(() => {
3612
+ t.minlength && M && !z.minlength(M, t.minlength) && $.push(t.minlengthMessage || `Мінімальна довжина: ${t.minlength} символів`), t.maxlength && M && !z.maxlength(M, t.maxlength) && $.push(t.maxlengthMessage || `Максимальна довжина: ${t.maxlength} символів`), t.type === "number" && M && z.number(M) && (t.min !== void 0 && !z.min(M, t.min) && $.push(t.minMessage || `Мінімальне значення: ${t.min}`), t.max !== void 0 && !z.max(M, t.max) && $.push(t.maxMessage || `Максимальне значення: ${t.max}`)), t.pattern && M && !z.pattern(M, t.pattern) && $.push(t.patternMessage || "Значення не відповідає вимогам формату"), t.customValidator && !z.custom(h, t.customValidator) && $.push(t.customValidatorMessage || "Значення не проходить валідацію"), u.value = $, g.value = $.length === 0, l("validation", { isValid: g.value, errors: $ });
3613
+ }, D = k(() => t.type === "textarea"), F = k(() => {
3588
3614
  if (t.type === "password") return null;
3589
3615
  switch (t.type) {
3590
3616
  case "email":
@@ -3594,7 +3620,7 @@ const xe = new ks(), bs = {
3594
3620
  default:
3595
3621
  return null;
3596
3622
  }
3597
- }), Y = x(() => {
3623
+ }), K = k(() => {
3598
3624
  if (t.prefixIcon || F.value) return null;
3599
3625
  switch (t.status) {
3600
3626
  case "error":
@@ -3606,12 +3632,12 @@ const xe = new ks(), bs = {
3606
3632
  default:
3607
3633
  return g.value ? null : "alertCircle";
3608
3634
  }
3609
- }), B = x(() => !!t.prefixIcon || !!F.value || !!Y.value), R = x(() => t.prefixIcon || F.value || Y.value), O = x(() => {
3610
- const h = "vt-input__icon", M = t.status !== "default" ? t.status : g.value ? "default" : "error";
3635
+ }), B = k(() => !!t.prefixIcon || !!F.value || !!K.value), R = k(() => t.prefixIcon || F.value || K.value), O = k(() => {
3636
+ const h = "vt-input__icon", $ = t.status !== "default" ? t.status : g.value ? "default" : "error";
3611
3637
  if (t.prefixIcon)
3612
3638
  return h;
3613
- if (Y.value)
3614
- switch (M) {
3639
+ if (K.value)
3640
+ switch ($) {
3615
3641
  case "error":
3616
3642
  return `${h} vt-input__icon--error`;
3617
3643
  case "warning":
@@ -3622,12 +3648,12 @@ const xe = new ks(), bs = {
3622
3648
  return h;
3623
3649
  }
3624
3650
  return h;
3625
- }), ee = x(() => ["email", "url", "password"].includes(t.type) && t.suffixIcon ? t.clearable || t.showPassword : !!t.suffixIcon || t.clearable || t.showPassword), G = x(() => ["email", "url", "password"].includes(t.type) ? null : t.suffixIcon), te = x(
3651
+ }), ee = k(() => ["email", "url", "password"].includes(t.type) && t.suffixIcon ? t.clearable || t.showPassword : !!t.suffixIcon || t.clearable || t.showPassword), G = k(() => ["email", "url", "password"].includes(t.type) ? null : t.suffixIcon), te = k(
3626
3652
  () => t.clearable && !t.disabled && t.modelValue && String(t.modelValue).length > 0
3627
- ), K = x(() => t.status !== "default" ? t.status : g.value ? "default" : "error"), J = x(() => [
3653
+ ), U = k(() => t.status !== "default" ? t.status : g.value ? "default" : "error"), N = k(() => [
3628
3654
  "vt-input",
3629
3655
  t.size ? `vt-input--${t.size}` : "vt-input--medium",
3630
- `vt-input--${K.value}`,
3656
+ `vt-input--${U.value}`,
3631
3657
  {
3632
3658
  "vt-input--disabled": t.disabled,
3633
3659
  "vt-input--focused": p.value,
@@ -3636,46 +3662,46 @@ const xe = new ks(), bs = {
3636
3662
  "vt-input--has-suffix": ee.value,
3637
3663
  "vt-input--invalid": !g.value
3638
3664
  }
3639
- ]), E = x(() => t.type === "password" ? v.value ? "text" : "password" : t.type === "textarea" ? "text" : t.type), L = x(() => t.errorMessage ? t.errorMessage : u.value.length > 0 ? u.value[0] : ""), N = x(() => t.autosize && typeof t.autosize == "object" && t.autosize.maxRows ? "none" : t.resize), re = (h) => {
3640
- let $ = h.target.value;
3641
- if (t.type === "number" && $ !== "") {
3642
- const ae = Number($);
3643
- isNaN(ae) || ($ = ae);
3665
+ ]), E = k(() => t.type === "password" ? v.value ? "text" : "password" : t.type === "textarea" ? "text" : t.type), L = k(() => t.errorMessage ? t.errorMessage : u.value.length > 0 ? u.value[0] : ""), Y = k(() => t.autosize && typeof t.autosize == "object" && t.autosize.maxRows ? "none" : t.resize), ne = (h) => {
3666
+ let M = h.target.value;
3667
+ if (t.type === "number" && M !== "") {
3668
+ const ae = Number(M);
3669
+ isNaN(ae) || (M = ae);
3644
3670
  }
3645
- l("update:modelValue", $), l("input", h), t.validateOnInput && Z($), D.value && t.autosize && !C.value && me(() => q());
3671
+ l("update:modelValue", M), l("input", h), t.validateOnInput && Z(M), D.value && t.autosize && !C.value && Ce(() => q());
3646
3672
  }, m = (h) => {
3647
3673
  if (l("change", h), !t.validateOnInput) {
3648
- const M = h.target;
3649
- Z(M.value);
3674
+ const $ = h.target;
3675
+ Z($.value);
3650
3676
  }
3651
3677
  }, b = (h) => {
3652
3678
  p.value = !0, l("focus", h);
3653
- }, y = (h) => {
3679
+ }, x = (h) => {
3654
3680
  if (p.value = !1, l("blur", h), t.validateOnBlur) {
3655
- const M = h.target;
3656
- Z(M.value);
3681
+ const $ = h.target;
3682
+ Z($.value);
3657
3683
  }
3658
3684
  }, S = () => {
3659
3685
  var h;
3660
3686
  l("update:modelValue", ""), l("clear"), (h = i.value) == null || h.focus(), u.value = [], g.value = !0, l("validation", { isValid: !0, errors: [] });
3661
3687
  }, T = () => {
3662
- v.value = !v.value, me(() => {
3688
+ v.value = !v.value, Ce(() => {
3663
3689
  var h;
3664
3690
  (h = i.value) == null || h.focus();
3665
3691
  });
3666
3692
  }, q = () => {
3667
3693
  if (!c.value || !t.autosize || C.value) return;
3668
- const h = c.value, M = h.style.height;
3694
+ const h = c.value, $ = h.style.height;
3669
3695
  h.style.height = "auto";
3670
- let $ = h.scrollHeight;
3696
+ let M = h.scrollHeight;
3671
3697
  if (typeof t.autosize == "object") {
3672
3698
  const ke = parseInt(getComputedStyle(h).lineHeight), be = t.autosize.minRows ? t.autosize.minRows * ke : 0, Te = t.autosize.maxRows ? t.autosize.maxRows * ke : 1 / 0;
3673
- $ = Math.max(be, Math.min($, Te));
3699
+ M = Math.max(be, Math.min(M, Te));
3674
3700
  }
3675
- const ae = `${$}px`;
3676
- ae !== M && (f.value = ae, h.style.height = ae);
3701
+ const ae = `${M}px`;
3702
+ ae !== $ && (f.value = ae, h.style.height = ae);
3677
3703
  }, se = (h) => {
3678
- if (!c.value || !(N.value !== "none")) return;
3704
+ if (!c.value || !(Y.value !== "none")) return;
3679
3705
  const ae = c.value.getBoundingClientRect();
3680
3706
  if (h.clientX > ae.right - 20 && h.clientY > ae.bottom - 20) {
3681
3707
  C.value = !0;
@@ -3710,12 +3736,12 @@ const xe = new ks(), bs = {
3710
3736
  isValid: g.value,
3711
3737
  errors: [...u.value]
3712
3738
  })
3713
- }), ce(
3739
+ }), fe(
3714
3740
  () => t.modelValue,
3715
3741
  (h) => {
3716
- D.value && t.autosize && !C.value && me(q), t.validateOnInput && Z(h || "");
3742
+ D.value && t.autosize && !C.value && Ce(q), t.validateOnInput && Z(h || "");
3717
3743
  }
3718
- ), ce(
3744
+ ), fe(
3719
3745
  () => [t.required, t.minlength, t.maxlength, t.min, t.max, t.pattern],
3720
3746
  () => {
3721
3747
  t.modelValue !== void 0 && t.modelValue !== "" && Z(t.modelValue);
@@ -3726,8 +3752,8 @@ const xe = new ks(), bs = {
3726
3752
  }), _e(() => {
3727
3753
  D.value && t.autosize;
3728
3754
  }), Ie(() => {
3729
- }), (h, M) => (s(), a("div", {
3730
- class: A(J.value)
3755
+ }), (h, $) => (s(), a("div", {
3756
+ class: A(N.value)
3731
3757
  }, [
3732
3758
  h.label ? (s(), a("label", {
3733
3759
  key: 0,
@@ -3735,11 +3761,11 @@ const xe = new ks(), bs = {
3735
3761
  for: h.id
3736
3762
  }, [
3737
3763
  ge(Q(h.label) + " ", 1),
3738
- h.required ? (s(), a("span", ni, "*")) : j("", !0)
3739
- ], 8, ti)) : j("", !0),
3740
- r("div", oi, [
3741
- B.value ? (s(), a("div", li, [
3742
- X(oe, {
3764
+ h.required ? (s(), a("span", si, "*")) : j("", !0)
3765
+ ], 8, ri)) : j("", !0),
3766
+ r("div", ii, [
3767
+ B.value ? (s(), a("div", ai, [
3768
+ X(le, {
3743
3769
  name: R.value,
3744
3770
  class: A(O.value)
3745
3771
  }, null, 8, ["name", "class"])
@@ -3760,18 +3786,18 @@ const xe = new ks(), bs = {
3760
3786
  id: h.id,
3761
3787
  tabindex: h.tabindex,
3762
3788
  autocomplete: h.autocomplete,
3763
- style: fe({ resize: N.value, height: f.value }),
3789
+ style: pe({ resize: Y.value, height: f.value }),
3764
3790
  class: "vt-input__field vt-input__textarea",
3765
- onInput: re,
3791
+ onInput: ne,
3766
3792
  onChange: m,
3767
3793
  onFocus: b,
3768
- onBlur: y,
3794
+ onBlur: x,
3769
3795
  onMousedown: se,
3770
- onKeydown: M[0] || (M[0] = ($) => h.$emit("keydown", $)),
3771
- onKeyup: M[1] || (M[1] = ($) => h.$emit("keyup", $)),
3772
- onKeypress: M[2] || (M[2] = ($) => h.$emit("keypress", $)),
3773
- onClick: M[3] || (M[3] = ($) => h.$emit("click", $))
3774
- }, null, 44, ri)) : (s(), a("input", {
3796
+ onKeydown: $[0] || ($[0] = (M) => h.$emit("keydown", M)),
3797
+ onKeyup: $[1] || ($[1] = (M) => h.$emit("keyup", M)),
3798
+ onKeypress: $[2] || ($[2] = (M) => h.$emit("keypress", M)),
3799
+ onClick: $[3] || ($[3] = (M) => h.$emit("click", M))
3800
+ }, null, 44, ui)) : (s(), a("input", {
3775
3801
  key: 2,
3776
3802
  ref_key: "inputRef",
3777
3803
  ref: i,
@@ -3791,23 +3817,23 @@ const xe = new ks(), bs = {
3791
3817
  tabindex: h.tabindex,
3792
3818
  autocomplete: h.autocomplete,
3793
3819
  class: "vt-input__field",
3794
- onInput: re,
3820
+ onInput: ne,
3795
3821
  onChange: m,
3796
3822
  onFocus: b,
3797
- onBlur: y,
3798
- onKeydown: M[4] || (M[4] = ($) => h.$emit("keydown", $)),
3799
- onKeyup: M[5] || (M[5] = ($) => h.$emit("keyup", $)),
3800
- onKeypress: M[6] || (M[6] = ($) => h.$emit("keypress", $)),
3801
- onClick: M[7] || (M[7] = ($) => h.$emit("click", $))
3802
- }, null, 40, si)),
3803
- ee.value ? (s(), a("div", ii, [
3823
+ onBlur: x,
3824
+ onKeydown: $[4] || ($[4] = (M) => h.$emit("keydown", M)),
3825
+ onKeyup: $[5] || ($[5] = (M) => h.$emit("keyup", M)),
3826
+ onKeypress: $[6] || ($[6] = (M) => h.$emit("keypress", M)),
3827
+ onClick: $[7] || ($[7] = (M) => h.$emit("click", M))
3828
+ }, null, 40, di)),
3829
+ ee.value ? (s(), a("div", ci, [
3804
3830
  te.value ? (s(), a("button", {
3805
3831
  key: 0,
3806
3832
  type: "button",
3807
3833
  class: "vt-input__clear-btn",
3808
3834
  onClick: S
3809
3835
  }, [
3810
- X(oe, {
3836
+ X(le, {
3811
3837
  name: "close",
3812
3838
  class: "vt-input__icon"
3813
3839
  })
@@ -3818,69 +3844,69 @@ const xe = new ks(), bs = {
3818
3844
  class: "vt-input__password-btn",
3819
3845
  onClick: T
3820
3846
  }, [
3821
- X(oe, {
3847
+ X(le, {
3822
3848
  name: v.value ? "eyeOpened" : "eyeClosed",
3823
3849
  class: "vt-input__icon"
3824
3850
  }, null, 8, ["name"])
3825
3851
  ])) : j("", !0),
3826
- G.value ? (s(), ie(oe, {
3852
+ G.value ? (s(), ie(le, {
3827
3853
  key: 2,
3828
3854
  name: G.value,
3829
3855
  class: "vt-input__icon"
3830
3856
  }, null, 8, ["name"])) : j("", !0)
3831
3857
  ])) : j("", !0)
3832
3858
  ]),
3833
- h.helperText || L.value ? (s(), a("div", ai, [
3834
- L.value ? (s(), a("span", ui, Q(L.value), 1)) : h.helperText ? (s(), a("span", di, Q(h.helperText), 1)) : j("", !0)
3859
+ h.helperText || L.value ? (s(), a("div", hi, [
3860
+ L.value ? (s(), a("span", pi, Q(L.value), 1)) : h.helperText ? (s(), a("span", fi, Q(h.helperText), 1)) : j("", !0)
3835
3861
  ])) : j("", !0),
3836
- u.value.length > 1 && h.showAllErrors ? (s(), a("div", ci, [
3837
- (s(!0), a(he, null, pe(u.value, ($, ae) => (s(), a("div", {
3862
+ u.value.length > 1 && h.showAllErrors ? (s(), a("div", vi, [
3863
+ (s(!0), a(ce, null, he(u.value, (M, ae) => (s(), a("div", {
3838
3864
  key: ae,
3839
3865
  class: "vt-input__error-item"
3840
3866
  }, [
3841
- r("span", null, Q($), 1)
3867
+ r("span", null, Q(M), 1)
3842
3868
  ]))), 128))
3843
3869
  ])) : j("", !0)
3844
3870
  ], 2));
3845
3871
  }
3846
- }), _t = Symbol("VtSelectContext");
3847
- function $e(n, e, o) {
3872
+ }), _1 = Symbol("VtSelectContext");
3873
+ function Me(n, e, o) {
3848
3874
  return o && typeof n == "object" && typeof e == "object" ? (n == null ? void 0 : n[o]) === (e == null ? void 0 : e[o]) : typeof n == "object" && typeof e == "object" ? JSON.stringify(n) === JSON.stringify(e) : n === e;
3849
3875
  }
3850
- function ut(n, e, o) {
3851
- return e.find((t) => $e(t.value, n, o));
3876
+ function u1(n, e, o) {
3877
+ return e.find((t) => Me(t.value, n, o));
3852
3878
  }
3853
- function hi(n, e, o, t) {
3854
- return o ? Array.isArray(e) ? e.some((l) => $e(l, n, t)) : !1 : $e(e, n, t);
3879
+ function mi(n, e, o, t) {
3880
+ return o ? Array.isArray(e) ? e.some((l) => Me(l, n, t)) : !1 : Me(e, n, t);
3855
3881
  }
3856
- function pi(n, e, o, t) {
3882
+ function Ci(n, e, o, t) {
3857
3883
  if (!e.length) return [];
3858
3884
  if (o)
3859
- return Array.isArray(n) ? n.map((i) => ut(i, e, t)).filter(Boolean) : [];
3860
- const l = ut(n, e, t);
3885
+ return Array.isArray(n) ? n.map((i) => u1(i, e, t)).filter(Boolean) : [];
3886
+ const l = u1(n, e, t);
3861
3887
  return l ? [l] : [];
3862
3888
  }
3863
- function fi(n, e, o, t) {
3889
+ function wi(n, e, o, t) {
3864
3890
  if (o) {
3865
3891
  const l = Array.isArray(e) ? e : [];
3866
- return l.some((c) => $e(c, n.value, t)) ? l.filter((c) => !$e(c, n.value, t)) : [...l, n.value];
3892
+ return l.some((c) => Me(c, n.value, t)) ? l.filter((c) => !Me(c, n.value, t)) : [...l, n.value];
3867
3893
  }
3868
3894
  return n.value;
3869
3895
  }
3870
- function vi(n, e, o) {
3871
- return Array.isArray(e) ? e.filter((t) => !$e(t, n, o)) : e;
3896
+ function gi(n, e, o) {
3897
+ return Array.isArray(e) ? e.filter((t) => !Me(t, n, o)) : e;
3872
3898
  }
3873
- function mi(n) {
3899
+ function _i(n) {
3874
3900
  return n ? [] : void 0;
3875
3901
  }
3876
- function Ci(n, e, o, t) {
3902
+ function ki(n, e, o, t) {
3877
3903
  const l = [];
3878
3904
  return o && (e ? !Array.isArray(n) || n.length === 0 : n == null || n === "") && l.push(t || "Це поле є обов'язковим"), {
3879
3905
  isValid: l.length === 0,
3880
3906
  errors: l
3881
3907
  };
3882
3908
  }
3883
- function wi(n, e, o) {
3909
+ function bi(n, e, o) {
3884
3910
  var p;
3885
3911
  if (!n || !e.length) return o;
3886
3912
  const t = n.offsetWidth, l = 100;
@@ -3894,41 +3920,41 @@ function wi(n, e, o) {
3894
3920
  }
3895
3921
  return Math.max(1, c);
3896
3922
  }
3897
- function gi(n, e) {
3923
+ function yi(n, e) {
3898
3924
  const o = e.map((t) => t.label).join(", ");
3899
3925
  return `Ще ${n}: ${o}`;
3900
3926
  }
3901
- const _i = ["for"], ki = {
3927
+ const xi = ["for"], $i = {
3902
3928
  key: 0,
3903
3929
  class: "vt-select__required"
3904
- }, bi = { class: "vt-select__field" }, yi = { class: "vt-select__tag-text" }, xi = {
3930
+ }, Mi = { class: "vt-select__field" }, Li = { class: "vt-select__tag-text" }, Vi = {
3905
3931
  key: 0,
3906
3932
  class: "vt-select__tag vt-select__tag--collapsed"
3907
- }, Mi = { class: "vt-select__tag-text" }, $i = {
3933
+ }, Si = { class: "vt-select__tag-text" }, Ii = {
3908
3934
  key: 1,
3909
3935
  class: "vt-select__display-text"
3910
- }, Li = {
3936
+ }, Bi = {
3911
3937
  key: 2,
3912
3938
  class: "vt-select__placeholder"
3913
- }, Vi = { class: "vt-select__suffix" }, Si = ["disabled"], Ii = {
3939
+ }, Hi = { class: "vt-select__suffix" }, Ei = ["disabled"], Ti = {
3914
3940
  key: 0,
3915
3941
  class: "vt-select__help"
3916
- }, Hi = {
3942
+ }, ji = {
3917
3943
  "aria-hidden": "true",
3918
3944
  style: { display: "none" }
3919
- }, Bi = ["aria-multiselectable"], Ei = {
3945
+ }, zi = ["aria-multiselectable"], Oi = {
3920
3946
  key: 0,
3921
3947
  class: "vt-select-dropdown__search"
3922
- }, Ti = {
3948
+ }, Ri = {
3923
3949
  key: 1,
3924
3950
  class: "vt-select-dropdown__loading"
3925
- }, ji = {
3951
+ }, Di = {
3926
3952
  key: 2,
3927
3953
  class: "vt-select-dropdown__empty"
3928
- }, zi = { key: 0 }, Oi = { key: 1 }, Ri = ["aria-disabled", "aria-selected", "onClick"], Di = { class: "vt-option__text" }, Wi = { key: 1 }, Pi = {
3954
+ }, Wi = { key: 0 }, Pi = { key: 1 }, Ai = ["aria-disabled", "aria-selected", "onClick"], Zi = { class: "vt-option__text" }, Fi = { key: 1 }, Ni = {
3929
3955
  key: 0,
3930
3956
  class: "vt-select-dropdown__loading-more"
3931
- }, Ai = /* @__PURE__ */ de({
3957
+ }, qi = /* @__PURE__ */ ue({
3932
3958
  __name: "VSelect",
3933
3959
  props: {
3934
3960
  modelValue: {},
@@ -3960,233 +3986,212 @@ const _i = ["for"], ki = {
3960
3986
  },
3961
3987
  emits: ["update:modelValue", "change", "clear", "focus", "blur", "visible-change", "validation", "scrolled", "remove-tag", "filter", "filter-clear"],
3962
3988
  setup(n, { expose: e, emit: o }) {
3963
- const t = n, l = o, i = H(), c = H(), p = H(), v = H(), f = H([]), u = H(), g = H(), C = {
3964
- isFocused: H(!1),
3965
- validationErrors: H([]),
3966
- isValid: H(!0),
3967
- visibleCount: H(0),
3968
- filterQuery: H("")
3969
- }, z = H(/* @__PURE__ */ new Map()), Z = H(/* @__PURE__ */ new Set()), D = H(/* @__PURE__ */ new Map()), F = (d) => t.valueKey && typeof d == "object" && d !== null ? String(d[t.valueKey]) : typeof d == "object" ? JSON.stringify(d) : String(d), Y = (d, k) => {
3970
- const U = F(d.value);
3971
- z.value.set(U, d), Z.value.add(U), k && D.value.set(d.value, k);
3989
+ const t = n, l = o, i = I(), c = I(), p = I(), v = I(), f = I([]), u = I(), g = I(), C = {
3990
+ isFocused: I(!1),
3991
+ validationErrors: I([]),
3992
+ isValid: I(!0),
3993
+ visibleCount: I(0),
3994
+ filterQuery: I("")
3995
+ }, z = I(/* @__PURE__ */ new Map()), Z = I(/* @__PURE__ */ new Set()), D = I(/* @__PURE__ */ new Map()), F = (d) => t.valueKey && typeof d == "object" && d !== null ? String(d[t.valueKey]) : typeof d == "object" ? JSON.stringify(d) : String(d), K = (d, y) => {
3996
+ const J = F(d.value);
3997
+ z.value.set(J, d), Z.value.add(J), y && D.value.set(d.value, y);
3972
3998
  }, B = (d) => {
3973
- const k = F(d);
3974
- Z.value.delete(k), D.value.delete(d);
3999
+ const y = F(d);
4000
+ Z.value.delete(y), D.value.delete(d);
3975
4001
  }, R = (d) => {
3976
- for (const [k, U] of D.value.entries())
3977
- if ($e(k, d, t.valueKey))
3978
- return U;
3979
- }, O = (d) => d.toLowerCase().trim(), ee = (d, k) => {
3980
- if (!k) return !0;
3981
- const U = O(k);
3982
- if (d.label && typeof d.label == "string" && O(d.label).includes(U) || typeof d.value == "string" && O(d.value).includes(U))
4002
+ for (const [y, J] of D.value.entries())
4003
+ if (Me(y, d, t.valueKey))
4004
+ return J;
4005
+ }, O = (d) => d.toLowerCase().trim(), ee = (d, y) => {
4006
+ if (!y) return !0;
4007
+ const J = O(y);
4008
+ if (d.label && typeof d.label == "string" && O(d.label).includes(J) || typeof d.value == "string" && O(d.value).includes(J))
3983
4009
  return !0;
3984
4010
  if (typeof d.value == "object" && d.value !== null) {
3985
- const P = Object.values(d.value).filter((I) => typeof I == "string");
3986
- for (const I of P)
3987
- if (O(I).includes(U))
4011
+ const P = Object.values(d.value).filter((H) => typeof H == "string");
4012
+ for (const H of P)
4013
+ if (O(H).includes(J))
3988
4014
  return !0;
3989
4015
  }
3990
4016
  return !1;
3991
- }, G = x(() => {
4017
+ }, G = k(() => {
3992
4018
  const d = [];
3993
- for (const [k, U] of z.value.entries())
3994
- Z.value.has(k) && d.push(U);
4019
+ for (const [y, J] of z.value.entries())
4020
+ Z.value.has(y) && d.push(J);
3995
4021
  return d;
3996
- }), te = x(() => !t.filterable || !C.filterQuery.value.trim() || t.allowRemoteFilter ? G.value : G.value.filter((d) => ee(d, C.filterQuery.value))), {
3997
- visible: K,
3998
- parentVisible: J,
3999
- dropdownPosition: E,
4000
- show: L,
4001
- hide: N,
4002
- toggle: re,
4003
- updatePosition: m
4004
- } = mt(c, p, {
4005
- trigger: "click",
4006
- placement: "bottom-start",
4007
- showTimeout: 250,
4008
- hideTimeout: 150,
4009
- disabled: t.disabled,
4010
- hideOnClick: !1,
4011
- onVisibleChange: (d) => {
4012
- d ? me(async () => {
4013
- await m(), y.init(), t.filterable && g.value && g.value.focus(), setTimeout(() => {
4014
- y.checkIfNeedMoreData();
4015
- }, 300);
4016
- }) : (y.cleanup(), C.filterQuery.value && De(), t.validateOnBlur && b.validate()), l("visible-change", d);
4017
- }
4018
- }), b = {
4019
- validate() {
4020
- const d = Ci(
4021
- t.modelValue,
4022
- S.value,
4023
- t.required || !1,
4024
- t.requiredMessage
4025
- );
4026
- C.validationErrors.value = d.errors, C.isValid.value = d.isValid, l("validation", { isValid: C.isValid.value, errors: d.errors });
4027
- },
4028
- clear() {
4029
- C.validationErrors.value = [], C.isValid.value = !0, l("validation", { isValid: !0, errors: [] });
4030
- }
4031
- }, y = {
4022
+ }), te = k(() => !t.filterable || !C.filterQuery.value.trim() || t.allowRemoteFilter ? G.value : G.value.filter((d) => ee(d, C.filterQuery.value))), U = {
4032
4023
  observer: null,
4033
4024
  sentinelElement: null,
4034
- scrollTimeoutId: null,
4035
4025
  lastEmitTime: 0,
4036
- emitCooldown: 500,
4037
- // мінімальний інтервал між емітами
4038
- isInitialized: !1,
4026
+ cooldown: 400,
4039
4027
  init() {
4040
- this.cleanup(), this.initIntersectionObserver(), this.initScrollFallback(), this.isInitialized = !0, me(() => {
4041
- this.checkIfNeedMoreData();
4042
- });
4028
+ this.cleanup(), u.value && (this.createSentinel(), this.initObserver());
4029
+ },
4030
+ createSentinel() {
4031
+ !u.value || this.sentinelElement || (this.sentinelElement = document.createElement("div"), this.sentinelElement.style.cssText = `
4032
+ height: 20px;
4033
+ width: 100%;
4034
+ background: transparent;
4035
+ pointer-events: none;
4036
+ flex-shrink: 0;
4037
+ display: flex;
4038
+ align-items: center;
4039
+ justify-content: center;
4040
+ font-size: 12px;
4041
+ color: #999;
4042
+ `, this.sentinelElement.setAttribute("data-load-more-trigger", "true"), this.sentinelElement.textContent = "", u.value.appendChild(this.sentinelElement));
4043
4043
  },
4044
- initIntersectionObserver() {
4045
- u.value && (this.sentinelElement = document.createElement("div"), this.sentinelElement.style.cssText = `
4046
- height: 1px;
4047
- background: transparent;
4048
- pointer-events: none;
4049
- position: absolute;
4050
- bottom: 0;
4051
- width: 100%;
4052
- `, this.sentinelElement.setAttribute("data-scroll-sentinel", "true"), u.value.appendChild(this.sentinelElement), this.observer = new IntersectionObserver(
4044
+ initObserver() {
4045
+ !this.sentinelElement || !u.value || (this.observer = new IntersectionObserver(
4053
4046
  (d) => {
4054
- d.forEach((k) => {
4055
- k.isIntersecting && this.canEmit() && this.emitScrolled("intersection-observer");
4047
+ d.forEach((y) => {
4048
+ y.isIntersecting && this.canEmit() && this.emitScrolled();
4056
4049
  });
4057
4050
  },
4058
4051
  {
4059
4052
  root: u.value,
4060
- rootMargin: "100px",
4061
- // Тригерить за 100px до кінця
4053
+ rootMargin: "50px",
4054
+ // Тригерить за 50px до показу sentinel
4062
4055
  threshold: 0
4063
4056
  }
4064
4057
  ), this.observer.observe(this.sentinelElement));
4065
4058
  },
4066
- initScrollFallback() {
4067
- u.value && u.value.addEventListener("scroll", this.handleScrollFallback, {
4068
- passive: !0
4069
- });
4070
- },
4071
- handleScrollFallback: (d) => {
4072
- y.scrollTimeoutId && clearTimeout(y.scrollTimeoutId), y.scrollTimeoutId = setTimeout(() => {
4073
- const k = d.target;
4074
- if (!k || !y.canEmit()) return;
4075
- const { scrollTop: U, scrollHeight: P, clientHeight: I } = k;
4076
- P - U - I <= 80 && te.value.length > 0 && y.emitScrolled("scroll-fallback");
4077
- }, 200);
4078
- },
4079
4059
  canEmit() {
4080
4060
  const d = Date.now();
4081
- return !t.loading && te.value.length > 0 && d - this.lastEmitTime > this.emitCooldown;
4061
+ return !t.loading && te.value.length > 0 && d - this.lastEmitTime > this.cooldown;
4082
4062
  },
4083
- emitScrolled(d) {
4084
- this.lastEmitTime = Date.now(), l("scrolled");
4063
+ emitScrolled() {
4064
+ console.log("Sentinel triggered scroll - options count:", te.value.length), this.lastEmitTime = Date.now(), l("scrolled");
4085
4065
  },
4066
+ // Переміщуємо sentinel після додавання нових опцій
4086
4067
  updateSentinel() {
4087
- this.sentinelElement && u.value && u.value.appendChild(this.sentinelElement);
4088
- },
4089
- checkIfNeedMoreData() {
4090
- if (!u.value || !this.canEmit()) return;
4091
- const { scrollHeight: d, clientHeight: k } = u.value;
4092
- d <= k && te.value.length > 0 && this.emitScrolled("initial-check");
4093
- },
4094
- // Метод для ручного тригеру (корисно для дебагу)
4095
- triggerManually() {
4096
- this.canEmit() && this.emitScrolled("manual-trigger");
4068
+ !this.sentinelElement || !u.value || u.value.appendChild(this.sentinelElement);
4097
4069
  },
4098
4070
  cleanup() {
4099
- this.observer && (this.observer.disconnect(), this.observer = null), this.sentinelElement && (this.sentinelElement.remove(), this.sentinelElement = null), u.value && this.isInitialized && u.value.removeEventListener("scroll", this.handleScrollFallback), this.scrollTimeoutId && (clearTimeout(this.scrollTimeoutId), this.scrollTimeoutId = null), this.isInitialized = !1;
4071
+ this.observer && (this.observer.disconnect(), this.observer = null), this.sentinelElement && (this.sentinelElement.remove(), this.sentinelElement = null);
4100
4072
  }
4101
- }, S = x(() => t.multiple), T = x(() => G.value.length ? pi(t.modelValue, G.value, S.value, t.valueKey) : []), q = x(() => !t.multiple || T.value.length === 0 ? [] : t.collapsedTags ? T.value.slice(0, C.visibleCount.value) : T.value), se = x(() => {
4073
+ }, {
4074
+ visible: N,
4075
+ parentVisible: E,
4076
+ dropdownPosition: L,
4077
+ show: Y,
4078
+ hide: ne,
4079
+ toggle: m,
4080
+ updatePosition: b
4081
+ } = m1(c, p, {
4082
+ trigger: "click",
4083
+ placement: "bottom-start",
4084
+ showTimeout: 250,
4085
+ hideTimeout: 150,
4086
+ disabled: t.disabled,
4087
+ hideOnClick: !1,
4088
+ onVisibleChange: (d) => {
4089
+ d ? Ce(async () => {
4090
+ await b(), U.init(), t.filterable && g.value && g.value.focus();
4091
+ }) : (U.cleanup(), C.filterQuery.value && De(), t.validateOnBlur && x.validate()), l("visible-change", d);
4092
+ }
4093
+ }), x = {
4094
+ validate() {
4095
+ const d = ki(
4096
+ t.modelValue,
4097
+ S.value,
4098
+ t.required || !1,
4099
+ t.requiredMessage
4100
+ );
4101
+ C.validationErrors.value = d.errors, C.isValid.value = d.isValid, l("validation", { isValid: C.isValid.value, errors: d.errors });
4102
+ },
4103
+ clear() {
4104
+ C.validationErrors.value = [], C.isValid.value = !0, l("validation", { isValid: !0, errors: [] });
4105
+ }
4106
+ }, S = k(() => t.multiple), T = k(() => G.value.length ? Ci(t.modelValue, G.value, S.value, t.valueKey) : []), q = k(() => !t.multiple || T.value.length === 0 ? [] : t.collapsedTags ? T.value.slice(0, C.visibleCount.value) : T.value), se = k(() => {
4102
4107
  if (S.value) return "";
4103
4108
  const d = T.value[0];
4104
4109
  return d ? d.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) : "";
4105
- }), Le = x(() => !t.clearable || t.disabled ? !1 : S.value ? T.value.length > 0 : t.modelValue !== void 0 && t.modelValue !== null && t.modelValue !== "" && (!Array.isArray(t.modelValue) || t.modelValue.length > 0)), ze = x(() => t.status !== "default" ? t.status : C.isValid.value ? "default" : "error"), Oe = x(() => [
4110
+ }), Le = k(() => !t.clearable || t.disabled ? !1 : S.value ? T.value.length > 0 : t.modelValue !== void 0 && t.modelValue !== null && t.modelValue !== "" && (!Array.isArray(t.modelValue) || t.modelValue.length > 0)), ze = k(() => t.status !== "default" ? t.status : C.isValid.value ? "default" : "error"), Oe = k(() => [
4106
4111
  "vt-select",
4107
4112
  `vt-select--${ze.value}`,
4108
4113
  {
4109
4114
  "vt-select--disabled": t.disabled,
4110
4115
  "vt-select--focused": C.isFocused.value,
4111
4116
  "vt-select--multiple": S.value,
4112
- "vt-select--open": K.value
4117
+ "vt-select--open": N.value
4113
4118
  }
4114
- ]), He = x(() => ({
4115
- ...E.value,
4119
+ ]), Be = k(() => ({
4120
+ ...L.value,
4116
4121
  position: "absolute",
4117
4122
  zIndex: 2e3,
4118
4123
  maxHeight: `${t.maxHeight}px`
4119
- })), Ve = x(() => T.value.length - C.visibleCount.value), Be = x(() => t.collapsedTags && t.multiple && T.value.length > 0 && C.visibleCount.value < T.value.length), Re = x(() => {
4120
- if (!Be.value) return "";
4124
+ })), Ve = k(() => T.value.length - C.visibleCount.value), He = k(() => t.collapsedTags && t.multiple && T.value.length > 0 && C.visibleCount.value < T.value.length), Re = k(() => {
4125
+ if (!He.value) return "";
4121
4126
  const d = T.value.slice(C.visibleCount.value);
4122
- return gi(Ve.value, d);
4127
+ return yi(Ve.value, d);
4123
4128
  }), Ee = (d) => {
4124
- var U, P;
4125
- if (!K.value) return;
4126
- const k = d.target;
4127
- (U = i.value) != null && U.contains(k) || (P = p.value) != null && P.contains(k) || N();
4129
+ var J, P;
4130
+ if (!N.value) return;
4131
+ const y = d.target;
4132
+ (J = i.value) != null && J.contains(y) || (P = p.value) != null && P.contains(y) || ne();
4128
4133
  }, h = (d) => {
4129
4134
  if (!d || d.disabled) return;
4130
- const k = fi(d, t.modelValue, S.value, t.valueKey);
4131
- l("update:modelValue", k), l("change", k), S.value || N(), t.validateOnInput && b.validate();
4132
- }, M = (d, k) => {
4135
+ const y = wi(d, t.modelValue, S.value, t.valueKey);
4136
+ l("update:modelValue", y), l("change", y), S.value || ne(), t.validateOnInput && x.validate();
4137
+ }, $ = (d, y) => {
4133
4138
  d.disabled || h(d);
4134
- }, $ = () => {
4135
- const d = mi(S.value);
4136
- l("update:modelValue", d), l("change", d), l("clear"), b.clear();
4139
+ }, M = () => {
4140
+ const d = _i(S.value);
4141
+ l("update:modelValue", d), l("change", d), l("clear"), x.clear();
4137
4142
  }, ae = (d) => {
4138
4143
  if (!S.value) return;
4139
- const k = vi(d, t.modelValue, t.valueKey);
4140
- l("update:modelValue", k), l("change", k), l("remove-tag", d), t.validateOnInput && b.validate();
4144
+ const y = gi(d, t.modelValue, t.valueKey);
4145
+ l("update:modelValue", y), l("change", y), l("remove-tag", d), t.validateOnInput && x.validate();
4141
4146
  }, ke = () => {
4142
- t.disabled || re();
4147
+ t.disabled || m();
4143
4148
  }, be = () => {
4144
4149
  C.isFocused.value = !0, l("focus");
4145
4150
  }, Te = (d) => {
4146
- var k;
4147
- d != null && d.relatedTarget && ((k = p.value) != null && k.contains(d.relatedTarget)) || (C.isFocused.value = !1, l("blur"), setTimeout(() => {
4148
- var U;
4149
- (U = p.value) != null && U.contains(document.activeElement) || N();
4151
+ var y;
4152
+ d != null && d.relatedTarget && ((y = p.value) != null && y.contains(d.relatedTarget)) || (C.isFocused.value = !1, l("blur"), setTimeout(() => {
4153
+ var J;
4154
+ (J = p.value) != null && J.contains(document.activeElement) || ne();
4150
4155
  }, 100));
4151
4156
  }, De = () => {
4152
4157
  C.filterQuery.value = "", l("filter", ""), l("filter-clear");
4153
4158
  }, Ze = (d) => {
4154
- d.key === "Enter" || d.key === " " ? (d.preventDefault(), ke()) : d.key === "Escape" && K.value && (d.preventDefault(), N());
4155
- }, Se = (d) => hi(d, t.modelValue, S.value, t.valueKey), _ = () => {
4159
+ d.key === "Enter" || d.key === " " ? (d.preventDefault(), ke()) : d.key === "Escape" && N.value && (d.preventDefault(), ne());
4160
+ }, Se = (d) => mi(d, t.modelValue, S.value, t.valueKey), _ = () => {
4156
4161
  if (!t.collapsedTags || !v.value || T.value.length === 0) {
4157
4162
  C.visibleCount.value = T.value.length;
4158
4163
  return;
4159
4164
  }
4160
- me(() => {
4165
+ Ce(() => {
4161
4166
  if (!v.value) return;
4162
- const d = wi(v.value, f.value, T.value.length);
4167
+ const d = bi(v.value, f.value, T.value.length);
4163
4168
  C.visibleCount.value = d;
4164
4169
  });
4165
4170
  }, V = {
4166
- selectValue: x(() => t.modelValue || (S.value ? [] : void 0)).value,
4171
+ selectValue: k(() => t.modelValue || (S.value ? [] : void 0)).value,
4167
4172
  multiple: S.value,
4168
4173
  valueKey: t.valueKey,
4169
4174
  handleOptionClick: h,
4170
4175
  isOptionSelected: Se,
4171
- registerOption: Y,
4176
+ registerOption: K,
4172
4177
  unregisterOption: B
4173
4178
  };
4174
- return et(_t, V), e({
4179
+ return e1(_1, V), e({
4175
4180
  ...{
4176
4181
  focus() {
4177
- K.value || L();
4182
+ N.value || Y();
4178
4183
  },
4179
4184
  blur() {
4180
- N();
4185
+ ne();
4181
4186
  },
4182
4187
  clear() {
4183
- $();
4188
+ M();
4184
4189
  },
4185
4190
  validate() {
4186
- return b.validate(), C.isValid.value;
4191
+ return x.validate(), C.isValid.value;
4187
4192
  },
4188
4193
  clearValidation() {
4189
- b.clear();
4194
+ x.clear();
4190
4195
  },
4191
4196
  getSelectedOptions() {
4192
4197
  return T.value;
@@ -4206,74 +4211,59 @@ const _i = ["for"], ki = {
4206
4211
  getFilterQuery() {
4207
4212
  return C.filterQuery.value;
4208
4213
  },
4209
- // Нові методи для роботи зі скролом
4210
- checkScroll() {
4211
- y.checkIfNeedMoreData();
4212
- },
4213
- triggerScroll() {
4214
- y.triggerManually();
4214
+ // Метод для оновлення sentinel після завантаження нових опцій
4215
+ updateScrollSentinel() {
4216
+ U.updateSentinel();
4215
4217
  },
4216
4218
  getScrollInfo() {
4217
4219
  if (!u.value) return null;
4218
- const { scrollTop: d, scrollHeight: k, clientHeight: U } = u.value;
4220
+ const { scrollTop: d, scrollHeight: y, clientHeight: J } = u.value;
4219
4221
  return {
4220
4222
  scrollTop: d,
4221
- scrollHeight: k,
4222
- clientHeight: U,
4223
- isNearBottom: k - d - U <= 100,
4224
- canScroll: k > U,
4223
+ scrollHeight: y,
4224
+ clientHeight: J,
4225
4225
  optionsCount: te.value.length,
4226
- isLoading: t.loading
4226
+ isLoading: t.loading,
4227
+ hasSentinel: !!U.sentinelElement,
4228
+ hasObserver: !!U.observer
4227
4229
  };
4228
4230
  }
4229
4231
  },
4230
- registerOption: Y,
4232
+ registerOption: K,
4231
4233
  unregisterOption: B
4232
- }), ce(
4234
+ }), fe(
4235
+ () => te.value.length,
4236
+ (d, y) => {
4237
+ N.value && d > y && U.sentinelElement && Ce(() => {
4238
+ U.updateSentinel();
4239
+ });
4240
+ }
4241
+ ), fe(
4233
4242
  () => t.modelValue,
4234
4243
  () => {
4235
- t.validateOnInput && b.validate();
4244
+ t.validateOnInput && x.validate();
4236
4245
  }
4237
- ), ce(
4246
+ ), fe(
4238
4247
  T,
4239
4248
  () => {
4240
4249
  _();
4241
4250
  },
4242
4251
  { deep: !0 }
4243
- ), ce(
4252
+ ), fe(
4244
4253
  () => v.value,
4245
4254
  () => {
4246
4255
  v.value && _();
4247
4256
  }
4248
- ), ce(K, async (d) => {
4249
- d && (await me(), m());
4250
- }), ce(
4251
- te,
4252
- (d, k) => {
4253
- K.value && y.isInitialized && me(() => {
4254
- y.updateSentinel(), d.length > 0 && setTimeout(() => {
4255
- y.checkIfNeedMoreData();
4256
- }, 100);
4257
- });
4258
- },
4259
- { flush: "post" }
4260
- ), ce(
4261
- () => t.loading,
4262
- (d, k) => {
4263
- k && !d && K.value && y.isInitialized && me(() => {
4264
- y.updateSentinel(), setTimeout(() => {
4265
- y.checkIfNeedMoreData();
4266
- }, 200);
4267
- });
4268
- }
4269
- ), _e(() => {
4270
- t.modelValue !== void 0 && t.modelValue !== "" && (!Array.isArray(t.modelValue) || t.modelValue.length > 0) && b.validate(), me(() => {
4257
+ ), fe(N, async (d) => {
4258
+ d && (await Ce(), b());
4259
+ }), _e(() => {
4260
+ t.modelValue !== void 0 && t.modelValue !== "" && (!Array.isArray(t.modelValue) || t.modelValue.length > 0) && x.validate(), Ce(() => {
4271
4261
  _();
4272
4262
  }), window.addEventListener("resize", _), document.addEventListener("click", Ee);
4273
4263
  }), Ie(() => {
4274
- y.cleanup(), document.removeEventListener("click", Ee), window.removeEventListener("resize", _);
4275
- }), (d, k) => {
4276
- const U = Ge("tooltip");
4264
+ U.cleanup(), document.removeEventListener("click", Ee), window.removeEventListener("resize", _);
4265
+ }), (d, y) => {
4266
+ const J = Ge("tooltip");
4277
4267
  return s(), a("div", {
4278
4268
  ref_key: "selectRef",
4279
4269
  ref: i,
@@ -4285,8 +4275,8 @@ const _i = ["for"], ki = {
4285
4275
  class: "vt-select__label"
4286
4276
  }, [
4287
4277
  ge(Q(d.label) + " ", 1),
4288
- d.required ? (s(), a("span", ki, "*")) : j("", !0)
4289
- ], 8, _i)) : j("", !0),
4278
+ d.required ? (s(), a("span", $i, "*")) : j("", !0)
4279
+ ], 8, xi)) : j("", !0),
4290
4280
  r("div", {
4291
4281
  ref_key: "triggerRef",
4292
4282
  ref: c,
@@ -4297,35 +4287,35 @@ const _i = ["for"], ki = {
4297
4287
  onFocus: be,
4298
4288
  onKeydown: Ze
4299
4289
  }, [
4300
- r("div", bi, [
4290
+ r("div", Mi, [
4301
4291
  d.multiple && T.value.length > 0 ? (s(), a("div", {
4302
4292
  key: 0,
4303
4293
  ref_key: "containerRef",
4304
4294
  ref: v,
4305
4295
  class: "vt-select__tags"
4306
4296
  }, [
4307
- (s(!0), a(he, null, pe(q.value, (P, I) => (s(), a("div", {
4308
- key: `tag-${typeof P.value == "object" ? JSON.stringify(P.value) : P.value}-${I}`,
4297
+ (s(!0), a(ce, null, he(q.value, (P, H) => (s(), a("div", {
4298
+ key: `tag-${typeof P.value == "object" ? JSON.stringify(P.value) : P.value}-${H}`,
4309
4299
  ref_for: !0,
4310
- ref: (ue) => ue && (f.value[I] = ue),
4300
+ ref: (de) => de && (f.value[H] = de),
4311
4301
  class: "vt-select__tag"
4312
4302
  }, [
4313
- r("span", yi, Q(P.label), 1),
4314
- t.disabled ? j("", !0) : (s(), ie(oe, {
4303
+ r("span", Li, Q(P.label), 1),
4304
+ t.disabled ? j("", !0) : (s(), ie(le, {
4315
4305
  key: 0,
4316
4306
  class: "vt-select__tag-close",
4317
4307
  name: "close",
4318
- onClick: Ce((ue) => ae(P.value), ["stop"])
4308
+ onClick: me((de) => ae(P.value), ["stop"])
4319
4309
  }, null, 8, ["onClick"]))
4320
4310
  ]))), 128)),
4321
- Be.value ? Ae((s(), a("div", xi, [
4322
- r("span", Mi, "+" + Q(Ve.value), 1)
4311
+ He.value ? Ae((s(), a("div", Vi, [
4312
+ r("span", Si, "+" + Q(Ve.value), 1)
4323
4313
  ])), [
4324
- [U, Re.value]
4314
+ [J, Re.value]
4325
4315
  ]) : j("", !0)
4326
- ], 512)) : !d.multiple && se.value ? (s(), a("span", $i, Q(se.value), 1)) : (s(), a("span", Li, Q(d.placeholder), 1))
4316
+ ], 512)) : !d.multiple && se.value ? (s(), a("span", Ii, Q(se.value), 1)) : (s(), a("span", Bi, Q(d.placeholder), 1))
4327
4317
  ]),
4328
- r("div", Vi, [
4318
+ r("div", Hi, [
4329
4319
  d.loading ? (s(), ie(je, {
4330
4320
  key: 0,
4331
4321
  class: "vt-select__loading"
@@ -4334,72 +4324,72 @@ const _i = ["for"], ki = {
4334
4324
  disabled: t.disabled,
4335
4325
  class: "vt-select__clear-btn",
4336
4326
  type: "button",
4337
- onClick: Ce($, ["stop"])
4327
+ onClick: me(M, ["stop"])
4338
4328
  }, [
4339
- X(oe, { name: "close" })
4340
- ], 8, Si)) : (s(), ie(oe, {
4329
+ X(le, { name: "close" })
4330
+ ], 8, Ei)) : (s(), ie(le, {
4341
4331
  key: 2,
4342
- class: A([{ "vt-select__arrow--open": ne(K) }, "vt-select__icon vt-select__arrow"]),
4332
+ class: A([{ "vt-select__arrow--open": oe(N) }, "vt-select__icon vt-select__arrow"]),
4343
4333
  name: "arrowDown"
4344
4334
  }, null, 8, ["class"]))
4345
4335
  ])
4346
4336
  ], 544),
4347
- X(rt, { name: "fade" }, {
4337
+ X(r1, { name: "fade" }, {
4348
4338
  default: we(() => [
4349
- C.validationErrors && C.validationErrors.value.length ? (s(), a("div", Ii, [
4350
- (s(!0), a(he, null, pe(C.validationErrors.value, (P, I) => (s(), a("div", {
4351
- key: `error-${I}`,
4339
+ C.validationErrors && C.validationErrors.value.length ? (s(), a("div", Ti, [
4340
+ (s(!0), a(ce, null, he(C.validationErrors.value, (P, H) => (s(), a("div", {
4341
+ key: `error-${H}`,
4352
4342
  class: "vt-select__error"
4353
4343
  }, Q(P), 1))), 128))
4354
4344
  ])) : j("", !0)
4355
4345
  ]),
4356
4346
  _: 1
4357
4347
  }),
4358
- r("div", Hi, [
4348
+ r("div", ji, [
4359
4349
  ve(d.$slots, "default")
4360
4350
  ]),
4361
- ne(K) && ne(J) ? (s(), ie(Je, {
4351
+ oe(N) && oe(E) ? (s(), ie(Je, {
4362
4352
  key: 1,
4363
4353
  to: "body"
4364
4354
  }, [
4365
- X(rt, { name: "dropdown" }, {
4355
+ X(r1, { name: "dropdown" }, {
4366
4356
  default: we(() => [
4367
4357
  r("div", {
4368
4358
  ref_key: "dropdownRef",
4369
4359
  ref: p,
4370
4360
  "aria-multiselectable": d.multiple,
4371
- style: fe(He.value),
4361
+ style: pe(Be.value),
4372
4362
  class: "vt-select-dropdown",
4373
4363
  role: "listbox",
4374
- onClick: k[2] || (k[2] = Ce(() => {
4364
+ onClick: y[2] || (y[2] = me(() => {
4375
4365
  }, ["stop"])),
4376
- onMousedown: k[3] || (k[3] = Ce(() => {
4366
+ onMousedown: y[3] || (y[3] = me(() => {
4377
4367
  }, ["prevent"]))
4378
4368
  }, [
4379
- d.filterable ? (s(), a("div", Ei, [
4380
- X(gt, {
4369
+ d.filterable ? (s(), a("div", Oi, [
4370
+ X(g1, {
4381
4371
  ref_key: "filterInputRef",
4382
4372
  ref: g,
4383
4373
  modelValue: C.filterQuery.value,
4384
- "onUpdate:modelValue": k[0] || (k[0] = (P) => C.filterQuery.value = P),
4374
+ "onUpdate:modelValue": y[0] || (y[0] = (P) => C.filterQuery.value = P),
4385
4375
  placeholder: d.filterPlaceholder,
4386
4376
  clearable: "",
4387
4377
  "suffix-icon": "search",
4388
4378
  type: "text"
4389
4379
  }, null, 8, ["modelValue", "placeholder"])
4390
4380
  ])) : j("", !0),
4391
- d.loading ? (s(), a("div", Ti, [
4381
+ d.loading ? (s(), a("div", Ri, [
4392
4382
  X(je, { class: "vt-select-dropdown__loading-icon" }),
4393
4383
  ge(" " + Q(d.loadingText), 1)
4394
- ])) : te.value.length === 0 ? (s(), a("div", ji, [
4395
- C.filterQuery.value ? (s(), a("span", zi, 'Немає результатів для "' + Q(C.filterQuery.value) + '"', 1)) : (s(), a("span", Oi, Q(d.noDataText), 1))
4384
+ ])) : te.value.length === 0 ? (s(), a("div", Di, [
4385
+ C.filterQuery.value ? (s(), a("span", Wi, 'Немає результатів для "' + Q(C.filterQuery.value) + '"', 1)) : (s(), a("span", Pi, Q(d.noDataText), 1))
4396
4386
  ])) : (s(), a("div", {
4397
4387
  key: 3,
4398
4388
  ref_key: "scrollContainerRef",
4399
4389
  ref: u,
4400
4390
  class: "vt-select-dropdown__options"
4401
4391
  }, [
4402
- (s(!0), a(he, null, pe(te.value, (P) => (s(), a("div", {
4392
+ (s(!0), a(ce, null, he(te.value, (P) => (s(), a("div", {
4403
4393
  key: `option-${typeof P.value == "object" ? JSON.stringify(P.value) : P.value}`,
4404
4394
  "aria-disabled": P.disabled || !1,
4405
4395
  "aria-selected": Se(P.value),
@@ -4411,28 +4401,28 @@ const _i = ["for"], ki = {
4411
4401
  }
4412
4402
  ]),
4413
4403
  role: "option",
4414
- onClick: (I) => h(P),
4415
- onMousedown: k[1] || (k[1] = Ce(() => {
4404
+ onClick: (H) => h(P),
4405
+ onMousedown: y[1] || (y[1] = me(() => {
4416
4406
  }, ["prevent"]))
4417
4407
  }, [
4418
- S.value ? (s(), ie(Me, {
4408
+ S.value ? (s(), ie($e, {
4419
4409
  key: 0,
4420
4410
  checked: Se(P.value),
4421
4411
  disabled: P.disabled || !1,
4422
4412
  class: "vt-option__checkbox",
4423
4413
  tabindex: "-1",
4424
- onChange: (I) => M(P)
4414
+ onChange: (H) => $(P)
4425
4415
  }, null, 8, ["checked", "disabled", "onChange"])) : j("", !0),
4426
- r("span", Di, [
4427
- R(P.value) ? (s(), ie(Xe(R(P.value)), { key: 0 })) : (s(), a("span", Wi, Q(P.label || P.value), 1))
4416
+ r("span", Zi, [
4417
+ R(P.value) ? (s(), ie(Xe(R(P.value)), { key: 0 })) : (s(), a("span", Fi, Q(P.label || P.value), 1))
4428
4418
  ])
4429
- ], 42, Ri))), 128)),
4430
- d.loading ? (s(), a("div", Pi, [
4419
+ ], 42, Ai))), 128)),
4420
+ d.loading ? (s(), a("div", Ni, [
4431
4421
  X(je, { class: "vt-select-dropdown__loading-icon" }),
4432
4422
  ge(" " + Q(t.loadingText), 1)
4433
4423
  ])) : j("", !0)
4434
4424
  ], 512))
4435
- ], 44, Bi)
4425
+ ], 44, zi)
4436
4426
  ]),
4437
4427
  _: 1
4438
4428
  })
@@ -4440,7 +4430,7 @@ const _i = ["for"], ki = {
4440
4430
  ], 2);
4441
4431
  };
4442
4432
  }
4443
- }), Zi = { style: { display: "none" } }, Fi = /* @__PURE__ */ de({
4433
+ }), Ki = { style: { display: "none" } }, Ui = /* @__PURE__ */ ue({
4444
4434
  __name: "VOption",
4445
4435
  props: {
4446
4436
  label: {},
@@ -4449,9 +4439,9 @@ const _i = ["for"], ki = {
4449
4439
  },
4450
4440
  emits: ["click"],
4451
4441
  setup(n, { emit: e }) {
4452
- const o = n, t = Qe(), l = tt(_t);
4442
+ const o = n, t = Qe(), l = t1(_1);
4453
4443
  l || console.warn("VOption повинен використовуватися всередині VSelect");
4454
- const i = x(() => ({
4444
+ const i = k(() => ({
4455
4445
  label: o.label,
4456
4446
  value: o.value,
4457
4447
  disabled: o.disabled || !1
@@ -4461,13 +4451,13 @@ const _i = ["for"], ki = {
4461
4451
  const c = t.default ? () => t.default() : null;
4462
4452
  l.registerOption(i.value, c);
4463
4453
  }
4464
- }), Mt(() => {
4454
+ }), $1(() => {
4465
4455
  l && l.unregisterOption(o.value);
4466
- }), (c, p) => (s(), a("div", Zi, [
4456
+ }), (c, p) => (s(), a("div", Ki, [
4467
4457
  ve(c.$slots, "default")
4468
4458
  ]));
4469
4459
  }
4470
- }), dt = (n, e) => {
4460
+ }), d1 = (n, e) => {
4471
4461
  const o = document.createElement("div");
4472
4462
  o.className = `vt-tooltip vt-tooltip--${e}`, o.innerText = n, Object.assign(o.style, {
4473
4463
  position: "absolute",
@@ -4552,23 +4542,23 @@ const _i = ["for"], ki = {
4552
4542
  }
4553
4543
  const f = window.innerWidth, u = window.innerHeight;
4554
4544
  v < 8 ? v = 8 : v + l.width > f - 8 && (v = f - l.width - 8), p < c + 8 ? o === "top" ? p = t.bottom + c + 8 : p = c + 8 : p + l.height > c + u - 8 && (o === "bottom" ? p = t.top + c - l.height - 8 : p = c + u - l.height - 8), n.style.top = `${p}px`, n.style.left = `${v}px`;
4555
- }, ct = (n, e, o) => {
4545
+ }, c1 = (n, e, o) => {
4556
4546
  n.parentElement || document.body.appendChild(n), n.style.visibility = "visible", Ye(n, e, o), requestAnimationFrame(() => {
4557
4547
  n.style.opacity = "1";
4558
4548
  });
4559
- }, ht = (n) => {
4549
+ }, h1 = (n) => {
4560
4550
  n.style.opacity = "0", n.style.visibility = "hidden";
4561
- }, pt = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, ft = (n) => !!n.closest(".vt-table, table"), Ni = {
4551
+ }, p1 = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, f1 = (n) => !!n.closest(".vt-table, table"), Yi = {
4562
4552
  mounted(n, e) {
4563
4553
  var v;
4564
4554
  const o = (v = e.value) == null ? void 0 : v.trim();
4565
4555
  if (!o) return;
4566
- const t = n.dataset.placement || "top", l = dt(o, t);
4556
+ const t = n.dataset.placement || "top", l = d1(o, t);
4567
4557
  n.__tooltipEl = l;
4568
4558
  const i = () => {
4569
- (ft(n) ? pt(n) : !0) && ct(l, n, t);
4559
+ (f1(n) ? p1(n) : !0) && c1(l, n, t);
4570
4560
  }, c = () => {
4571
- ht(l);
4561
+ h1(l);
4572
4562
  }, p = () => {
4573
4563
  l.style.opacity === "1" && Ye(l, n, t);
4574
4564
  };
@@ -4580,12 +4570,12 @@ const _i = ["for"], ki = {
4580
4570
  if (n.__tooltipEl)
4581
4571
  o ? n.__tooltipEl.firstChild.textContent = o : (n.__tooltipEl.parentElement && n.__tooltipEl.parentElement.removeChild(n.__tooltipEl), delete n.__tooltipEl);
4582
4572
  else if (o) {
4583
- const l = n.dataset.placement || "top", i = dt(o, l);
4573
+ const l = n.dataset.placement || "top", i = d1(o, l);
4584
4574
  n.__tooltipEl = i;
4585
4575
  const c = () => {
4586
- (ft(n) ? pt(n) : !0) && ct(i, n, l);
4576
+ (f1(n) ? p1(n) : !0) && c1(i, n, l);
4587
4577
  }, p = () => {
4588
- ht(i);
4578
+ h1(i);
4589
4579
  }, v = () => {
4590
4580
  i.style.opacity === "1" && Ye(i, n, l);
4591
4581
  };
@@ -4595,40 +4585,40 @@ const _i = ["for"], ki = {
4595
4585
  beforeUnmount(n) {
4596
4586
  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);
4597
4587
  }
4598
- }, Ui = {
4588
+ }, Gi = {
4599
4589
  sortable: !0,
4600
4590
  actionColumn: !1,
4601
4591
  showOverflowTooltip: !0,
4602
4592
  visible: !0,
4603
4593
  pinnedLeft: !1,
4604
4594
  pinnedRight: !1
4605
- }, qi = {
4595
+ }, Xi = {
4606
4596
  install(n, e = {}) {
4607
4597
  const { prefix: o = "V", modal: t = !0 } = e;
4608
- n.component(`${o}Button`, We), n.component(`${o}Icon`, oe), n.component(`${o}Loader`, je), n.component(`${o}Modal`, vt), n.component(`${o}Pagination`, rs), n.component(`${o}Checkbox`, Me), n.component(`${o}Radiobox`, ds), n.component(`${o}Table`, Js), n.component(`${o}TableColumn`, ei), n.component(`${o}Dropdown`, wt), n.component(`${o}DropdownItem`, Ue), n.component(`${o}Input`, gt), n.component(`${o}Select`, Ai), n.component(`${o}Option`, Fi), n.directive("tooltip", Ni), t && n.use(bs);
4598
+ n.component(`${o}Button`, We), n.component(`${o}Icon`, le), n.component(`${o}Loader`, je), n.component(`${o}Modal`, v1), n.component(`${o}Pagination`, us), n.component(`${o}Checkbox`, $e), n.component(`${o}Radiobox`, fs), n.component(`${o}Table`, oi), n.component(`${o}TableColumn`, li), n.component(`${o}Dropdown`, w1), n.component(`${o}DropdownItem`, Ue), n.component(`${o}Input`, g1), n.component(`${o}Select`, qi), n.component(`${o}Option`, Ui), n.directive("tooltip", Yi), t && n.use(Ms);
4609
4599
  }
4610
- }, Yi = qi.install;
4600
+ }, Ji = Xi.install;
4611
4601
  export {
4612
- Ui as DEFAULT_COLUMN_CONFIG,
4613
- Ct as DropdownContextKey,
4602
+ Gi as DEFAULT_COLUMN_CONFIG,
4603
+ C1 as DropdownContextKey,
4614
4604
  We as VButton,
4615
- Me as VCheckbox,
4616
- wt as VDropdown,
4605
+ $e as VCheckbox,
4606
+ w1 as VDropdown,
4617
4607
  Ue as VDropdownItem,
4618
- oe as VIcon,
4619
- gt as VInput,
4608
+ le as VIcon,
4609
+ g1 as VInput,
4620
4610
  je as VLoader,
4621
- vt as VModal,
4622
- bs as VModalPlugin,
4623
- Fi as VOption,
4624
- rs as VPagination,
4625
- ds as VRadiobox,
4626
- Ai as VSelect,
4627
- Js as VTable,
4628
- ei as VTableColumn,
4629
- _t as VtSelectContextKey,
4630
- qi as default,
4631
- Yi as install,
4611
+ v1 as VModal,
4612
+ Ms as VModalPlugin,
4613
+ Ui as VOption,
4614
+ us as VPagination,
4615
+ fs as VRadiobox,
4616
+ qi as VSelect,
4617
+ oi as VTable,
4618
+ li as VTableColumn,
4619
+ _1 as VtSelectContextKey,
4620
+ Xi as default,
4621
+ Ji as install,
4632
4622
  xe as modalManager,
4633
- Ni as tooltipDirective
4623
+ Yi as tooltipDirective
4634
4624
  };