voiptime-components 0.0.16 → 0.0.17
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.cjs.js +1 -1
- package/dist/index.d.ts +17 -38
- package/dist/index.es.js +195 -196
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createElementBlock as _, openBlock as m, createElementVNode as
|
|
2
|
-
const
|
|
1
|
+
import { createElementBlock as _, openBlock as m, createElementVNode as f, defineComponent as le, computed as x, createBlock as re, createCommentVNode as H, resolveDynamicComponent as ot, useSlots as Ae, resolveDirective as Oe, withDirectives as Me, normalizeClass as W, renderSlot as _e, Teleport as lt, normalizeStyle as ie, withModifiers as pe, toDisplayString as te, watch as me, Fragment as ne, renderList as oe, vModelSelect as st, createVNode as N, withCtx as xe, createTextVNode as he, ref as D, createApp as it, h as ke, onMounted as ve, onUnmounted as $e, nextTick as at, mergeModels as Te, useModel as rt, reactive as ct, provide as ut, unref as q, inject as dt } from "vue";
|
|
2
|
+
const G = (e, t) => {
|
|
3
3
|
const o = e.__vccOpts || e;
|
|
4
4
|
for (const [n, s] of t)
|
|
5
5
|
o[n] = s;
|
|
@@ -13,7 +13,7 @@ const K = (e, t) => {
|
|
|
13
13
|
};
|
|
14
14
|
function ht(e, t) {
|
|
15
15
|
return m(), _("svg", mt, t[0] || (t[0] = [
|
|
16
|
-
|
|
16
|
+
f("path", {
|
|
17
17
|
d: "M14 8L10 12L6 8",
|
|
18
18
|
stroke: "currentColor",
|
|
19
19
|
"stroke-width": "1.5",
|
|
@@ -22,7 +22,7 @@ function ht(e, t) {
|
|
|
22
22
|
}, null, -1)
|
|
23
23
|
]));
|
|
24
24
|
}
|
|
25
|
-
const vt = /* @__PURE__ */
|
|
25
|
+
const vt = /* @__PURE__ */ G(pt, [["render", ht]]), ft = {}, _t = {
|
|
26
26
|
width: "20",
|
|
27
27
|
height: "20",
|
|
28
28
|
viewBox: "0 0 20 20",
|
|
@@ -31,7 +31,7 @@ const vt = /* @__PURE__ */ K(pt, [["render", ht]]), ft = {}, _t = {
|
|
|
31
31
|
};
|
|
32
32
|
function gt(e, t) {
|
|
33
33
|
return m(), _("svg", _t, t[0] || (t[0] = [
|
|
34
|
-
|
|
34
|
+
f("path", {
|
|
35
35
|
d: "M6 12L10 8L14 12",
|
|
36
36
|
stroke: "currentColor",
|
|
37
37
|
"stroke-width": "1.5",
|
|
@@ -40,7 +40,7 @@ function gt(e, t) {
|
|
|
40
40
|
}, null, -1)
|
|
41
41
|
]));
|
|
42
42
|
}
|
|
43
|
-
const Ct = /* @__PURE__ */
|
|
43
|
+
const Ct = /* @__PURE__ */ G(ft, [["render", gt]]), bt = {}, wt = {
|
|
44
44
|
width: "14",
|
|
45
45
|
height: "15",
|
|
46
46
|
viewBox: "0 0 14 15",
|
|
@@ -49,20 +49,20 @@ const Ct = /* @__PURE__ */ K(ft, [["render", gt]]), bt = {}, wt = {
|
|
|
49
49
|
};
|
|
50
50
|
function kt(e, t) {
|
|
51
51
|
return m(), _("svg", wt, t[0] || (t[0] = [
|
|
52
|
-
|
|
52
|
+
f("path", {
|
|
53
53
|
d: "M11.8789 4.90517L11.2561 4.20124C10.4045 3.33504 9.28504 2.7626 8.06789 2.5709C6.85074 2.3792 5.60245 2.57874 4.5127 3.13917C3.42296 3.69961 2.55134 4.59032 2.03031 5.67593C1.50928 6.76155 1.36732 7.98272 1.626 9.15387C1.88469 10.325 2.52987 11.3821 3.46351 12.1645C4.39716 12.9469 5.56821 13.4119 6.79871 13.4887C8.02921 13.5655 9.25189 13.25 10.2809 12.5901C11.31 11.9302 12.0891 10.962 12.5 9.83266",
|
|
54
54
|
stroke: "currentColor",
|
|
55
55
|
"stroke-width": "1.5",
|
|
56
56
|
"stroke-miterlimit": "10",
|
|
57
57
|
"stroke-linecap": "round"
|
|
58
58
|
}, null, -1),
|
|
59
|
-
|
|
59
|
+
f("path", {
|
|
60
60
|
d: "M8.5157 6.5C8.07025 6.5 7.84716 5.96143 8.16215 5.64645L10.3086 3.5L12.455 1.35355C12.77 1.03857 13.3086 1.26165 13.3086 1.70711V6C13.3086 6.27614 13.0847 6.5 12.8086 6.5L8.5157 6.5Z",
|
|
61
61
|
fill: "currentColor"
|
|
62
62
|
}, null, -1)
|
|
63
63
|
]));
|
|
64
64
|
}
|
|
65
|
-
const yt = /* @__PURE__ */
|
|
65
|
+
const yt = /* @__PURE__ */ G(bt, [["render", kt]]), xt = {}, St = {
|
|
66
66
|
width: "21",
|
|
67
67
|
height: "20",
|
|
68
68
|
viewBox: "0 0 21 20",
|
|
@@ -71,7 +71,7 @@ const yt = /* @__PURE__ */ K(bt, [["render", kt]]), xt = {}, St = {
|
|
|
71
71
|
};
|
|
72
72
|
function Mt(e, t) {
|
|
73
73
|
return m(), _("svg", St, t[0] || (t[0] = [
|
|
74
|
-
|
|
74
|
+
f("path", {
|
|
75
75
|
d: "M8.60352 6L12.6035 10L8.60352 14",
|
|
76
76
|
stroke: "currentColor",
|
|
77
77
|
"stroke-width": "1.5",
|
|
@@ -80,7 +80,7 @@ function Mt(e, t) {
|
|
|
80
80
|
}, null, -1)
|
|
81
81
|
]));
|
|
82
82
|
}
|
|
83
|
-
const $t = /* @__PURE__ */
|
|
83
|
+
const $t = /* @__PURE__ */ G(xt, [["render", Mt]]), Lt = {}, It = {
|
|
84
84
|
width: "21",
|
|
85
85
|
height: "20",
|
|
86
86
|
viewBox: "0 0 21 20",
|
|
@@ -89,7 +89,7 @@ const $t = /* @__PURE__ */ K(xt, [["render", Mt]]), Lt = {}, It = {
|
|
|
89
89
|
};
|
|
90
90
|
function Bt(e, t) {
|
|
91
91
|
return m(), _("svg", It, t[0] || (t[0] = [
|
|
92
|
-
|
|
92
|
+
f("path", {
|
|
93
93
|
d: "M12.3984 14L8.39844 10L12.3984 6",
|
|
94
94
|
stroke: "currentColor",
|
|
95
95
|
"stroke-width": "1.5",
|
|
@@ -98,7 +98,7 @@ function Bt(e, t) {
|
|
|
98
98
|
}, null, -1)
|
|
99
99
|
]));
|
|
100
100
|
}
|
|
101
|
-
const Rt = /* @__PURE__ */
|
|
101
|
+
const Rt = /* @__PURE__ */ G(Lt, [["render", Bt]]), Tt = {}, zt = {
|
|
102
102
|
width: "20",
|
|
103
103
|
height: "20",
|
|
104
104
|
viewBox: "0 0 20 20",
|
|
@@ -107,7 +107,7 @@ const Rt = /* @__PURE__ */ K(Lt, [["render", Bt]]), Tt = {}, zt = {
|
|
|
107
107
|
};
|
|
108
108
|
function Et(e, t) {
|
|
109
109
|
return m(), _("svg", zt, t[0] || (t[0] = [
|
|
110
|
-
|
|
110
|
+
f("path", {
|
|
111
111
|
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",
|
|
112
112
|
stroke: "currentColor",
|
|
113
113
|
"stroke-width": "1.5",
|
|
@@ -116,7 +116,7 @@ function Et(e, t) {
|
|
|
116
116
|
}, null, -1)
|
|
117
117
|
]));
|
|
118
118
|
}
|
|
119
|
-
const Wt = /* @__PURE__ */
|
|
119
|
+
const Wt = /* @__PURE__ */ G(Tt, [["render", Et]]), Vt = {}, Ht = {
|
|
120
120
|
width: "20",
|
|
121
121
|
height: "20",
|
|
122
122
|
viewBox: "0 0 20 20",
|
|
@@ -125,14 +125,14 @@ const Wt = /* @__PURE__ */ K(Tt, [["render", Et]]), Vt = {}, Ht = {
|
|
|
125
125
|
};
|
|
126
126
|
function Pt(e, t) {
|
|
127
127
|
return m(), _("svg", Ht, t[0] || (t[0] = [
|
|
128
|
-
|
|
128
|
+
f("path", {
|
|
129
129
|
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",
|
|
130
130
|
stroke: "currentColor",
|
|
131
131
|
"stroke-width": "1.5",
|
|
132
132
|
"stroke-linecap": "round",
|
|
133
133
|
"stroke-linejoin": "round"
|
|
134
134
|
}, null, -1),
|
|
135
|
-
|
|
135
|
+
f("path", {
|
|
136
136
|
d: "M12 14.7143L13.1151 15.6701C13.3268 15.8515 13.646 15.8247 13.8246 15.6105L16 13",
|
|
137
137
|
stroke: "currentColor",
|
|
138
138
|
"stroke-width": "1.5",
|
|
@@ -140,7 +140,7 @@ function Pt(e, t) {
|
|
|
140
140
|
}, null, -1)
|
|
141
141
|
]));
|
|
142
142
|
}
|
|
143
|
-
const Dt = /* @__PURE__ */
|
|
143
|
+
const Dt = /* @__PURE__ */ G(Vt, [["render", Pt]]), At = {}, Ot = {
|
|
144
144
|
width: "20",
|
|
145
145
|
height: "20",
|
|
146
146
|
viewBox: "0 0 20 20",
|
|
@@ -149,14 +149,14 @@ const Dt = /* @__PURE__ */ K(Vt, [["render", Pt]]), At = {}, Ot = {
|
|
|
149
149
|
};
|
|
150
150
|
function jt(e, t) {
|
|
151
151
|
return m(), _("svg", Ot, t[0] || (t[0] = [
|
|
152
|
-
|
|
152
|
+
f("path", {
|
|
153
153
|
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",
|
|
154
154
|
stroke: "currentColor",
|
|
155
155
|
"stroke-width": "1.5",
|
|
156
156
|
"stroke-linecap": "round",
|
|
157
157
|
"stroke-linejoin": "round"
|
|
158
158
|
}, null, -1),
|
|
159
|
-
|
|
159
|
+
f("path", {
|
|
160
160
|
d: "M13 16L14.5 14.5M16 13L14.5 14.5M14.5 14.5L13 13M14.5 14.5L16 16",
|
|
161
161
|
stroke: "currentColor",
|
|
162
162
|
"stroke-width": "1.5",
|
|
@@ -164,7 +164,7 @@ function jt(e, t) {
|
|
|
164
164
|
}, null, -1)
|
|
165
165
|
]));
|
|
166
166
|
}
|
|
167
|
-
const Nt = /* @__PURE__ */
|
|
167
|
+
const Nt = /* @__PURE__ */ G(At, [["render", jt]]), Zt = {}, Ft = {
|
|
168
168
|
xmlns: "http://www.w3.org/2000/svg",
|
|
169
169
|
width: "60",
|
|
170
170
|
height: "60",
|
|
@@ -173,7 +173,7 @@ const Nt = /* @__PURE__ */ K(At, [["render", jt]]), Zt = {}, Ft = {
|
|
|
173
173
|
};
|
|
174
174
|
function Ut(e, t) {
|
|
175
175
|
return m(), _("svg", Ft, t[0] || (t[0] = [
|
|
176
|
-
|
|
176
|
+
f("path", {
|
|
177
177
|
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",
|
|
178
178
|
stroke: "currentColor",
|
|
179
179
|
"stroke-width": "2",
|
|
@@ -182,7 +182,7 @@ function Ut(e, t) {
|
|
|
182
182
|
}, null, -1)
|
|
183
183
|
]));
|
|
184
184
|
}
|
|
185
|
-
const qt = /* @__PURE__ */
|
|
185
|
+
const qt = /* @__PURE__ */ G(Zt, [["render", Ut]]), Xt = {}, Gt = {
|
|
186
186
|
width: "20",
|
|
187
187
|
height: "20",
|
|
188
188
|
viewBox: "0 0 20 20",
|
|
@@ -191,13 +191,13 @@ const qt = /* @__PURE__ */ K(Zt, [["render", Ut]]), Xt = {}, Gt = {
|
|
|
191
191
|
};
|
|
192
192
|
function Kt(e, t) {
|
|
193
193
|
return m(), _("svg", Gt, t[0] || (t[0] = [
|
|
194
|
-
|
|
194
|
+
f("path", {
|
|
195
195
|
"fill-rule": "evenodd",
|
|
196
196
|
"clip-rule": "evenodd",
|
|
197
197
|
d: "M6.99479 8.75521C6.55276 8.75521 6.12884 8.57961 5.81628 8.26705C5.50372 7.95449 5.32812 7.53057 5.32812 7.08854C5.32812 6.64651 5.50372 6.22259 5.81628 5.91003C6.12884 5.59747 6.55276 5.42187 6.99479 5.42188C7.43682 5.42187 7.86074 5.59747 8.1733 5.91003C8.48586 6.22259 8.66146 6.64651 8.66146 7.08854C8.66146 7.53057 8.48586 7.95449 8.1733 8.26705C7.86074 8.57961 7.43682 8.75521 6.99479 8.75521ZM6.99479 14.5885C6.55276 14.5885 6.12884 14.4129 5.81628 14.1004C5.50372 13.7878 5.32812 13.3639 5.32812 12.9219C5.32812 12.4798 5.50372 12.0559 5.81628 11.7434C6.12884 11.4308 6.55276 11.2552 6.99479 11.2552C7.43682 11.2552 7.86074 11.4308 8.1733 11.7434C8.48586 12.0559 8.66146 12.4798 8.66146 12.9219C8.66146 13.3639 8.48586 13.7878 8.1733 14.1004C7.86074 14.4129 7.43682 14.5885 6.99479 14.5885Z",
|
|
198
198
|
fill: "currentColor"
|
|
199
199
|
}, null, -1),
|
|
200
|
-
|
|
200
|
+
f("path", {
|
|
201
201
|
"fill-rule": "evenodd",
|
|
202
202
|
"clip-rule": "evenodd",
|
|
203
203
|
d: "M12.9948 8.75521C12.5528 8.75521 12.1288 8.57961 11.8163 8.26705C11.5037 7.95449 11.3281 7.53057 11.3281 7.08854C11.3281 6.64651 11.5037 6.22259 11.8163 5.91003C12.1288 5.59747 12.5528 5.42187 12.9948 5.42188C13.4368 5.42187 13.8607 5.59747 14.1733 5.91003C14.4859 6.22259 14.6615 6.64651 14.6615 7.08854C14.6615 7.53057 14.4859 7.95449 14.1733 8.26705C13.8607 8.57961 13.4368 8.75521 12.9948 8.75521ZM12.9948 14.5885C12.5528 14.5885 12.1288 14.4129 11.8163 14.1004C11.5037 13.7878 11.3281 13.3639 11.3281 12.9219C11.3281 12.4798 11.5037 12.0559 11.8163 11.7434C12.1288 11.4308 12.5528 11.2552 12.9948 11.2552C13.4368 11.2552 13.8607 11.4308 14.1733 11.7434C14.4859 12.0559 14.6615 12.4798 14.6615 12.9219C14.6615 13.3639 14.4859 13.7878 14.1733 14.1004C13.8607 14.4129 13.4368 14.5885 12.9948 14.5885Z",
|
|
@@ -205,7 +205,7 @@ function Kt(e, t) {
|
|
|
205
205
|
}, null, -1)
|
|
206
206
|
]));
|
|
207
207
|
}
|
|
208
|
-
const Yt = /* @__PURE__ */
|
|
208
|
+
const Yt = /* @__PURE__ */ G(Xt, [["render", Kt]]), Jt = {}, Qt = {
|
|
209
209
|
width: "20",
|
|
210
210
|
height: "20",
|
|
211
211
|
viewBox: "0 0 20 20",
|
|
@@ -214,7 +214,7 @@ const Yt = /* @__PURE__ */ K(Xt, [["render", Kt]]), Jt = {}, Qt = {
|
|
|
214
214
|
};
|
|
215
215
|
function en(e, t) {
|
|
216
216
|
return m(), _("svg", Qt, t[0] || (t[0] = [
|
|
217
|
-
|
|
217
|
+
f("path", {
|
|
218
218
|
"fill-rule": "evenodd",
|
|
219
219
|
"clip-rule": "evenodd",
|
|
220
220
|
d: "M10.1667 5.83333C9.72464 5.83333 9.30072 5.65774 8.98816 5.34518C8.67559 5.03262 8.5 4.60869 8.5 4.16667C8.5 3.72464 8.67559 3.30072 8.98816 2.98816C9.30072 2.67559 9.72464 2.5 10.1667 2.5C10.6087 2.5 11.0326 2.67559 11.3452 2.98816C11.6577 3.30072 11.8333 3.72464 11.8333 4.16667C11.8333 4.60869 11.6577 5.03262 11.3452 5.34518C11.0326 5.65774 10.6087 5.83333 10.1667 5.83333ZM10.1667 11.6667C9.72464 11.6667 9.30072 11.4911 8.98816 11.1785C8.67559 10.8659 8.5 10.442 8.5 10C8.5 9.55797 8.67559 9.13405 8.98816 8.82149C9.30072 8.50893 9.72464 8.33333 10.1667 8.33333C10.6087 8.33333 11.0326 8.50893 11.3452 8.82149C11.6577 9.13405 11.8333 9.55797 11.8333 10C11.8333 10.442 11.6577 10.8659 11.3452 11.1785C11.0326 11.4911 10.6087 11.6667 10.1667 11.6667ZM10.1667 17.5C9.72464 17.5 9.30072 17.3244 8.98816 17.0118C8.67559 16.6993 8.5 16.2754 8.5 15.8333C8.5 15.3913 8.67559 14.9674 8.98816 14.6548C9.30072 14.3423 9.72464 14.1667 10.1667 14.1667C10.6087 14.1667 11.0326 14.3423 11.3452 14.6548C11.6577 14.9674 11.8333 15.3913 11.8333 15.8333C11.8333 16.2754 11.6577 16.6993 11.3452 17.0118C11.0326 17.3244 10.6087 17.5 10.1667 17.5Z",
|
|
@@ -222,7 +222,7 @@ function en(e, t) {
|
|
|
222
222
|
}, null, -1)
|
|
223
223
|
]));
|
|
224
224
|
}
|
|
225
|
-
const tn = /* @__PURE__ */
|
|
225
|
+
const tn = /* @__PURE__ */ G(Jt, [["render", en]]), nn = {}, on = {
|
|
226
226
|
width: "21",
|
|
227
227
|
height: "20",
|
|
228
228
|
viewBox: "0 0 21 20",
|
|
@@ -231,7 +231,7 @@ const tn = /* @__PURE__ */ K(Jt, [["render", en]]), nn = {}, on = {
|
|
|
231
231
|
};
|
|
232
232
|
function ln(e, t) {
|
|
233
233
|
return m(), _("svg", on, t[0] || (t[0] = [
|
|
234
|
-
|
|
234
|
+
f("path", {
|
|
235
235
|
"fill-rule": "evenodd",
|
|
236
236
|
"clip-rule": "evenodd",
|
|
237
237
|
d: "M6.33333 9.83333C6.33333 10.2754 6.15774 10.6993 5.84518 11.0118C5.53262 11.3244 5.10869 11.5 4.66667 11.5C4.22464 11.5 3.80072 11.3244 3.48816 11.0118C3.17559 10.6993 3 10.2754 3 9.83333C3 9.39131 3.17559 8.96738 3.48816 8.65482C3.80072 8.34226 4.22464 8.16667 4.66667 8.16667C5.10869 8.16667 5.53262 8.34226 5.84518 8.65482C6.15774 8.96738 6.33333 9.39131 6.33333 9.83333ZM12.1667 9.83333C12.1667 10.2754 11.9911 10.6993 11.6785 11.0118C11.3659 11.3244 10.942 11.5 10.5 11.5C10.058 11.5 9.63405 11.3244 9.32149 11.0118C9.00893 10.6993 8.83333 10.2754 8.83333 9.83333C8.83333 9.39131 9.00893 8.96738 9.32149 8.65482C9.63405 8.34226 10.058 8.16667 10.5 8.16667C10.942 8.16667 11.3659 8.34226 11.6785 8.65482C11.9911 8.96738 12.1667 9.39131 12.1667 9.83333ZM18 9.83333C18 10.2754 17.8244 10.6993 17.5118 11.0118C17.1993 11.3244 16.7754 11.5 16.3333 11.5C15.8913 11.5 15.4674 11.3244 15.1548 11.0118C14.8423 10.6993 14.6667 10.2754 14.6667 9.83333C14.6667 9.39131 14.8423 8.96738 15.1548 8.65482C15.4674 8.34226 15.8913 8.16667 16.3333 8.16667C16.7754 8.16667 17.1993 8.34226 17.5118 8.65482C17.8244 8.96738 18 9.39131 18 9.83333Z",
|
|
@@ -239,7 +239,7 @@ function ln(e, t) {
|
|
|
239
239
|
}, null, -1)
|
|
240
240
|
]));
|
|
241
241
|
}
|
|
242
|
-
const sn = /* @__PURE__ */
|
|
242
|
+
const sn = /* @__PURE__ */ G(nn, [["render", ln]]), an = {}, rn = {
|
|
243
243
|
width: "20",
|
|
244
244
|
height: "20",
|
|
245
245
|
viewBox: "0 0 20 20",
|
|
@@ -248,7 +248,7 @@ const sn = /* @__PURE__ */ K(nn, [["render", ln]]), an = {}, rn = {
|
|
|
248
248
|
};
|
|
249
249
|
function cn(e, t) {
|
|
250
250
|
return m(), _("svg", rn, t[0] || (t[0] = [
|
|
251
|
-
|
|
251
|
+
f("path", {
|
|
252
252
|
d: "M6 14L10 10M10 10L14 6M10 10L6 6M10 10L14 14",
|
|
253
253
|
stroke: "currentColor",
|
|
254
254
|
"stroke-width": "1.5",
|
|
@@ -257,7 +257,7 @@ function cn(e, t) {
|
|
|
257
257
|
}, null, -1)
|
|
258
258
|
]));
|
|
259
259
|
}
|
|
260
|
-
const un = /* @__PURE__ */
|
|
260
|
+
const un = /* @__PURE__ */ G(an, [["render", cn]]), dn = {
|
|
261
261
|
// arrow icons
|
|
262
262
|
arrowDown: vt,
|
|
263
263
|
arrowTop: Ct,
|
|
@@ -287,7 +287,7 @@ const un = /* @__PURE__ */ K(an, [["render", cn]]), dn = {
|
|
|
287
287
|
function hn(e, t) {
|
|
288
288
|
return m(), _("span", mn);
|
|
289
289
|
}
|
|
290
|
-
const je = /* @__PURE__ */
|
|
290
|
+
const je = /* @__PURE__ */ G(pn, [["render", hn]]), vn = ["disabled", "type", "data-placement"], fn = {
|
|
291
291
|
key: 2,
|
|
292
292
|
class: "vt-button__content"
|
|
293
293
|
}, ge = /* @__PURE__ */ le({
|
|
@@ -305,9 +305,9 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
305
305
|
emits: ["click"],
|
|
306
306
|
setup(e, { emit: t }) {
|
|
307
307
|
const o = e, n = t, s = Ae(), l = x(() => !!(o.icon && o.shape)), r = x(() => {
|
|
308
|
-
var
|
|
308
|
+
var w, S;
|
|
309
309
|
const c = s.default ? s.default({}) : null;
|
|
310
|
-
return ((S = (
|
|
310
|
+
return ((S = (w = c == null ? void 0 : c[0]) == null ? void 0 : w.children) == null ? void 0 : S.toString()) ?? "";
|
|
311
311
|
}), i = x(() => [
|
|
312
312
|
"vt-button",
|
|
313
313
|
`vt-button--${o.type}`,
|
|
@@ -320,7 +320,7 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
320
320
|
]), a = x(() => l.value && o.tooltip ? r.value : null), u = (c) => {
|
|
321
321
|
!o.disabled && !o.loading && n("click", c);
|
|
322
322
|
};
|
|
323
|
-
return (c,
|
|
323
|
+
return (c, w) => {
|
|
324
324
|
const S = Oe("tooltip");
|
|
325
325
|
return Me((m(), _("button", {
|
|
326
326
|
class: W(i.value),
|
|
@@ -338,7 +338,7 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
338
338
|
class: "vt-button__icon"
|
|
339
339
|
}, null, 8, ["name"])) : H("", !0),
|
|
340
340
|
l.value ? H("", !0) : (m(), _("span", fn, [
|
|
341
|
-
|
|
341
|
+
_e(c.$slots, "default")
|
|
342
342
|
]))
|
|
343
343
|
], 10, vn)), [
|
|
344
344
|
[S, a.value]
|
|
@@ -377,9 +377,9 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
377
377
|
style: ie(l.value),
|
|
378
378
|
onClick: i
|
|
379
379
|
}, [
|
|
380
|
-
|
|
380
|
+
f("div", {
|
|
381
381
|
class: W(s.value),
|
|
382
|
-
onClick: u[0] || (u[0] =
|
|
382
|
+
onClick: u[0] || (u[0] = pe(() => {
|
|
383
383
|
}, ["stop"]))
|
|
384
384
|
}, [
|
|
385
385
|
a.title || a.showCloseButton ? (m(), _("div", _n, [
|
|
@@ -391,8 +391,8 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
391
391
|
onClick: r
|
|
392
392
|
})) : H("", !0)
|
|
393
393
|
])) : H("", !0),
|
|
394
|
-
|
|
395
|
-
|
|
394
|
+
f("div", Cn, [
|
|
395
|
+
_e(a.$slots, "default")
|
|
396
396
|
])
|
|
397
397
|
], 2)
|
|
398
398
|
], 4)) : H("", !0)
|
|
@@ -415,7 +415,7 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
415
415
|
}), l = x({
|
|
416
416
|
get: () => o.pageSize,
|
|
417
417
|
set: (M) => n("update:pageSize", M)
|
|
418
|
-
}), r = x(() => Math.ceil(o.totalItems / l.value)), i = x(() => o.totalItems === 0 ? 0 : (s.value - 1) * l.value + 1), a = x(() => Math.min(s.value * l.value, o.totalItems)), u = x(() => s.value <= 1), c = x(() => s.value >= r.value),
|
|
418
|
+
}), r = x(() => Math.ceil(o.totalItems / l.value)), i = x(() => o.totalItems === 0 ? 0 : (s.value - 1) * l.value + 1), a = x(() => Math.min(s.value * l.value, o.totalItems)), u = x(() => s.value <= 1), c = x(() => s.value >= r.value), w = x(() => {
|
|
419
419
|
const M = [], V = r.value, R = s.value, U = o.maxVisiblePages;
|
|
420
420
|
if (V <= U)
|
|
421
421
|
for (let y = 1; y <= V; y++)
|
|
@@ -445,19 +445,19 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
445
445
|
}, j = () => {
|
|
446
446
|
n("reloadData", s.value);
|
|
447
447
|
};
|
|
448
|
-
return
|
|
448
|
+
return me(
|
|
449
449
|
() => o.totalItems,
|
|
450
450
|
() => {
|
|
451
451
|
s.value > r.value && r.value > 0 && (s.value = r.value, S());
|
|
452
452
|
}
|
|
453
453
|
), (M, V) => (m(), _("div", bn, [
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
V[1] || (V[1] =
|
|
454
|
+
f("div", wn, [
|
|
455
|
+
f("div", kn, [
|
|
456
|
+
V[1] || (V[1] = f("label", {
|
|
457
457
|
for: "rowsSelect",
|
|
458
458
|
class: "vt-pagination__label"
|
|
459
459
|
}, "Рядків на сторінку:", -1)),
|
|
460
|
-
Me(
|
|
460
|
+
Me(f("select", {
|
|
461
461
|
id: "rowsSelect",
|
|
462
462
|
"onUpdate:modelValue": V[0] || (V[0] = (R) => l.value = R),
|
|
463
463
|
onChange: Z,
|
|
@@ -471,24 +471,24 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
471
471
|
[st, l.value]
|
|
472
472
|
])
|
|
473
473
|
]),
|
|
474
|
-
|
|
474
|
+
f("span", null, te(i.value) + " - " + te(a.value) + " з " + te(M.totalItems), 1)
|
|
475
475
|
]),
|
|
476
|
-
|
|
477
|
-
|
|
476
|
+
f("div", xn, [
|
|
477
|
+
f("button", {
|
|
478
478
|
onClick: O,
|
|
479
479
|
disabled: u.value,
|
|
480
480
|
class: W({ "vt-pagination__nav-button": !0, "has-items": !u.value })
|
|
481
481
|
}, [
|
|
482
482
|
N(Y, { name: "arrowLeft" })
|
|
483
483
|
], 10, Sn),
|
|
484
|
-
(m(!0), _(ne, null, oe(
|
|
484
|
+
(m(!0), _(ne, null, oe(w.value, (R) => (m(), _("button", {
|
|
485
485
|
key: R,
|
|
486
486
|
onClick: (U) => F(R),
|
|
487
487
|
class: W(["vt-pagination__nav-button", {
|
|
488
488
|
"vt-pagination__nav-button--active": R === s.value
|
|
489
489
|
}])
|
|
490
490
|
}, te(R), 11, Mn))), 128)),
|
|
491
|
-
|
|
491
|
+
f("button", {
|
|
492
492
|
onClick: Q,
|
|
493
493
|
disabled: c.value,
|
|
494
494
|
class: W({ "vt-pagination__nav-button": !0, "has-items": !c.value })
|
|
@@ -496,7 +496,7 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
496
496
|
N(Y, { name: "arrowRight" })
|
|
497
497
|
], 10, $n)
|
|
498
498
|
]),
|
|
499
|
-
|
|
499
|
+
f("div", null, [
|
|
500
500
|
N(ge, {
|
|
501
501
|
icon: "arrowReload",
|
|
502
502
|
shape: "circle",
|
|
@@ -505,7 +505,7 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
505
505
|
onClick: j
|
|
506
506
|
}, {
|
|
507
507
|
default: xe(() => V[2] || (V[2] = [
|
|
508
|
-
|
|
508
|
+
he("Оновити дані ", -1)
|
|
509
509
|
])),
|
|
510
510
|
_: 1,
|
|
511
511
|
__: [2]
|
|
@@ -540,7 +540,7 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
540
540
|
}, u = (c) => {
|
|
541
541
|
n("blur", c);
|
|
542
542
|
};
|
|
543
|
-
return (c,
|
|
543
|
+
return (c, w) => (m(), _("label", {
|
|
544
544
|
class: W([
|
|
545
545
|
"vt-checkbox",
|
|
546
546
|
`vt-checkbox--${c.size}`,
|
|
@@ -552,7 +552,7 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
552
552
|
]),
|
|
553
553
|
for: l.value
|
|
554
554
|
}, [
|
|
555
|
-
|
|
555
|
+
f("input", {
|
|
556
556
|
id: l.value,
|
|
557
557
|
name: c.name,
|
|
558
558
|
value: c.value,
|
|
@@ -566,7 +566,7 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
566
566
|
onFocus: a,
|
|
567
567
|
onBlur: u
|
|
568
568
|
}, null, 40, Bn),
|
|
569
|
-
|
|
569
|
+
f("div", {
|
|
570
570
|
class: W([
|
|
571
571
|
"vt-checkbox__box",
|
|
572
572
|
{
|
|
@@ -590,8 +590,8 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
590
590
|
viewBox: "0 0 10 9",
|
|
591
591
|
fill: "none",
|
|
592
592
|
xmlns: "http://www.w3.org/2000/svg"
|
|
593
|
-
},
|
|
594
|
-
|
|
593
|
+
}, w[0] || (w[0] = [
|
|
594
|
+
f("path", {
|
|
595
595
|
d: "M1 5L3.58264 7.58264C3.80112 7.80112 4.16348 7.77113 4.34306 7.51971L9 1",
|
|
596
596
|
stroke: "currentColor",
|
|
597
597
|
"stroke-width": "2",
|
|
@@ -611,15 +611,15 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
611
611
|
viewBox: "0 0 13 6",
|
|
612
612
|
fill: "none",
|
|
613
613
|
xmlns: "http://www.w3.org/2000/svg"
|
|
614
|
-
},
|
|
615
|
-
|
|
614
|
+
}, w[1] || (w[1] = [
|
|
615
|
+
f("path", {
|
|
616
616
|
d: "M6 3L8.25 5L12 1",
|
|
617
617
|
stroke: "currentColor",
|
|
618
618
|
"stroke-width": "2",
|
|
619
619
|
"stroke-linecap": "round",
|
|
620
620
|
"stroke-linejoin": "round"
|
|
621
621
|
}, null, -1),
|
|
622
|
-
|
|
622
|
+
f("path", {
|
|
623
623
|
d: "M1 3L3.25 5L7 1",
|
|
624
624
|
stroke: "currentColor",
|
|
625
625
|
"stroke-width": "2",
|
|
@@ -646,9 +646,9 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
646
646
|
}
|
|
647
647
|
])
|
|
648
648
|
}, [
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
649
|
+
_e(c.$slots, "label", {}, () => [
|
|
650
|
+
_e(c.$slots, "default", {}, () => [
|
|
651
|
+
he(te(c.label), 1)
|
|
652
652
|
])
|
|
653
653
|
])
|
|
654
654
|
], 2)) : H("", !0)
|
|
@@ -657,7 +657,7 @@ const je = /* @__PURE__ */ K(pn, [["render", hn]]), vn = ["disabled", "type", "d
|
|
|
657
657
|
});
|
|
658
658
|
function Rn(e) {
|
|
659
659
|
const t = x(() => [...e].sort((s, l) => s.pinnedLeft && !l.pinnedLeft ? -1 : !s.pinnedLeft && l.pinnedLeft || s.pinnedRight && !l.pinnedRight ? 1 : !s.pinnedRight && l.pinnedRight ? -1 : 0)), o = () => {
|
|
660
|
-
const s = t.value.length, l = t.value.filter((c) => c.width || c.minWidth), r = l.reduce((c,
|
|
660
|
+
const s = t.value.length, l = t.value.filter((c) => c.width || c.minWidth), r = l.reduce((c, w) => c + (w.width || w.minWidth || 0), 0), i = s - l.length;
|
|
661
661
|
if (i === 0) return 150;
|
|
662
662
|
const u = Math.max(800 - r, i * 80);
|
|
663
663
|
return Math.max(Math.floor(u / i), 120);
|
|
@@ -722,12 +722,12 @@ function zn() {
|
|
|
722
722
|
onMouseDown: (n, s, l, r) => {
|
|
723
723
|
n.preventDefault(), n.stopPropagation(), e.value.resizingCol = s, e.value.startX = n.clientX, e.value.startWidth = s.width || s.minWidth || l(s.prop);
|
|
724
724
|
const i = (u) => {
|
|
725
|
-
const { resizingCol: c, startX:
|
|
725
|
+
const { resizingCol: c, startX: w, startWidth: S } = e.value;
|
|
726
726
|
if (!c) return;
|
|
727
727
|
document.querySelectorAll(`[data-resizer="${c.prop}"]`).forEach((j) => {
|
|
728
728
|
j.classList.add("vt-table__resizer--active");
|
|
729
729
|
});
|
|
730
|
-
const F = u.clientX -
|
|
730
|
+
const F = u.clientX - w, O = c.minWidth || 50, Q = c.maxWidth || 1e3, Z = Math.max(Math.min(S + F, Q), O);
|
|
731
731
|
c.width = Z;
|
|
732
732
|
}, a = () => {
|
|
733
733
|
const { resizingCol: u } = e.value;
|
|
@@ -744,17 +744,17 @@ function En(e, t, o, n) {
|
|
|
744
744
|
var J;
|
|
745
745
|
const s = e.selectionKey || "id", l = D([]), r = D(null), i = D(!1);
|
|
746
746
|
(J = e.defaultSelection) != null && J.length && (l.value = [...e.defaultSelection]);
|
|
747
|
-
const a = (p) => p[s], u = (p) => i.value ? !0 : l.value.some((A) => a(A) === a(p)), c = x(() => t.value.filter((p) => u(p)).length),
|
|
747
|
+
const a = (p) => p[s], u = (p) => i.value ? !0 : l.value.some((A) => a(A) === a(p)), c = x(() => t.value.filter((p) => u(p)).length), w = x(() => t.value.length > 0 && c.value === t.value.length), S = x(() => {
|
|
748
748
|
if (i.value) return !1;
|
|
749
749
|
const p = c.value;
|
|
750
750
|
return p > 0 && p < t.value.length;
|
|
751
|
-
}), F = x(() => i.value ? !0 :
|
|
752
|
-
const T = a(p), X = l.value.some((
|
|
751
|
+
}), F = x(() => i.value ? !0 : w.value && !S.value), O = x(() => i.value), Q = (p, A) => {
|
|
752
|
+
const T = a(p), X = l.value.some((v) => a(v) === a(p)), d = A !== void 0 ? A : !X;
|
|
753
753
|
if (i.value && !d) {
|
|
754
|
-
i.value = !1, n != null && n.value && (l.value = n.value.filter((
|
|
754
|
+
i.value = !1, n != null && n.value && (l.value = n.value.filter((v) => a(v) !== T)), $(p, !1);
|
|
755
755
|
return;
|
|
756
756
|
}
|
|
757
|
-
i.value && d || (d && !X ? l.value.push(p) : !d && X && (l.value = l.value.filter((
|
|
757
|
+
i.value && d || (d && !X ? l.value.push(p) : !d && X && (l.value = l.value.filter((v) => a(v) !== T)), e.selectOnClickRow && A === void 0 && U(d ? p : null), $(p, d));
|
|
758
758
|
}, Z = () => {
|
|
759
759
|
switch (j()) {
|
|
760
760
|
case "none":
|
|
@@ -768,7 +768,7 @@ function En(e, t, o, n) {
|
|
|
768
768
|
R();
|
|
769
769
|
break;
|
|
770
770
|
}
|
|
771
|
-
}, j = () => i.value ? "absoluteAll" :
|
|
771
|
+
}, j = () => i.value ? "absoluteAll" : w.value ? "allVisible" : c.value > 0 ? "partial" : "none", M = () => {
|
|
772
772
|
const p = [], A = new Set(l.value.map((T) => a(T)));
|
|
773
773
|
l.value.forEach((T) => {
|
|
774
774
|
p.push(T);
|
|
@@ -796,7 +796,7 @@ function En(e, t, o, n) {
|
|
|
796
796
|
};
|
|
797
797
|
o("selection-change", X);
|
|
798
798
|
};
|
|
799
|
-
return
|
|
799
|
+
return me(
|
|
800
800
|
() => e.defaultSelection,
|
|
801
801
|
(p) => {
|
|
802
802
|
p != null && p.length && (l.value = [...p]);
|
|
@@ -946,17 +946,17 @@ const ae = new Pn(), Dn = {
|
|
|
946
946
|
setup(e, { emit: t }) {
|
|
947
947
|
const o = e, n = t, s = D([]), l = D(/* @__PURE__ */ new Set()), r = D(-1), i = D(-1), a = D("before"), u = x(() => {
|
|
948
948
|
const d = {};
|
|
949
|
-
return o.columnsSelector.forEach((
|
|
950
|
-
if (
|
|
949
|
+
return o.columnsSelector.forEach((v) => {
|
|
950
|
+
if (v.name === "removed")
|
|
951
951
|
return;
|
|
952
|
-
const g =
|
|
953
|
-
b.length === 0 ? d[
|
|
952
|
+
const g = v.columns.map((B) => B.prop), b = s.value.filter((B) => g.includes(B.prop));
|
|
953
|
+
b.length === 0 ? d[v.name] = { checked: !1, indeterminate: !1 } : b.length === v.columns.length ? d[v.name] = { checked: !0, indeterminate: !1 } : d[v.name] = { checked: !1, indeterminate: !0 };
|
|
954
954
|
}), d;
|
|
955
|
-
}), c = x(() => o.columnsSelector.filter((d) => d.name !== "removed")),
|
|
955
|
+
}), c = x(() => o.columnsSelector.filter((d) => d.name !== "removed")), w = (d) => d.pinnedLeft || d.pinnedRight, S = (d) => !w(d), F = () => {
|
|
956
956
|
const d = s.value;
|
|
957
|
-
let
|
|
957
|
+
let v = -1;
|
|
958
958
|
for (let b = 0; b < d.length; b++)
|
|
959
|
-
d[b].pinnedLeft && (
|
|
959
|
+
d[b].pinnedLeft && (v = b);
|
|
960
960
|
let g = d.length;
|
|
961
961
|
for (let b = 0; b < d.length; b++)
|
|
962
962
|
if (d[b].pinnedRight) {
|
|
@@ -964,37 +964,37 @@ const ae = new Pn(), Dn = {
|
|
|
964
964
|
break;
|
|
965
965
|
}
|
|
966
966
|
return {
|
|
967
|
-
minIndex:
|
|
967
|
+
minIndex: v + 1,
|
|
968
968
|
maxIndex: g - 1
|
|
969
969
|
};
|
|
970
970
|
}, O = (d) => {
|
|
971
|
-
const
|
|
972
|
-
return !(d <
|
|
973
|
-
}, Q = (d,
|
|
974
|
-
const g = s.value[
|
|
971
|
+
const v = F();
|
|
972
|
+
return !(d < v.minIndex || d > v.maxIndex + 1);
|
|
973
|
+
}, Q = (d, v) => {
|
|
974
|
+
const g = s.value[v];
|
|
975
975
|
if (!S(g)) {
|
|
976
976
|
d.preventDefault();
|
|
977
977
|
return;
|
|
978
978
|
}
|
|
979
|
-
r.value =
|
|
980
|
-
}, Z = (d,
|
|
979
|
+
r.value = v, d.dataTransfer && (d.dataTransfer.effectAllowed = "move", d.dataTransfer.setData("text/plain", g.prop)), document.body.style.cursor = "grabbing";
|
|
980
|
+
}, Z = (d, v) => {
|
|
981
981
|
if (r.value === -1) return;
|
|
982
982
|
d.preventDefault();
|
|
983
983
|
const g = d.currentTarget.getBoundingClientRect(), b = d.clientY, B = g.top + g.height / 2;
|
|
984
|
-
let L =
|
|
985
|
-
b < B ? (L =
|
|
984
|
+
let L = v, ee = "before";
|
|
985
|
+
b < B ? (L = v, ee = "before") : (L = v + 1, ee = "after"), r.value < L && L--, O(L) ? (i.value = v, a.value = ee, d.dataTransfer.dropEffect = "move") : (i.value = -1, d.dataTransfer.dropEffect = "none");
|
|
986
986
|
}, j = () => {
|
|
987
987
|
setTimeout(() => {
|
|
988
988
|
r.value === -1 && (i.value = -1);
|
|
989
989
|
}, 50);
|
|
990
|
-
}, M = (d,
|
|
990
|
+
}, M = (d, v) => {
|
|
991
991
|
if (d.preventDefault(), r.value === -1 || i.value === -1) {
|
|
992
992
|
R();
|
|
993
993
|
return;
|
|
994
994
|
}
|
|
995
995
|
const g = d.currentTarget.getBoundingClientRect(), b = d.clientY, B = g.top + g.height / 2;
|
|
996
|
-
let L =
|
|
997
|
-
if (b >= B && (L =
|
|
996
|
+
let L = v;
|
|
997
|
+
if (b >= B && (L = v + 1), r.value < L && L--, !O(L) || L === r.value) {
|
|
998
998
|
R();
|
|
999
999
|
return;
|
|
1000
1000
|
}
|
|
@@ -1005,22 +1005,22 @@ const ae = new Pn(), Dn = {
|
|
|
1005
1005
|
}, R = () => {
|
|
1006
1006
|
r.value = -1, i.value = -1, a.value = "before", document.body.style.cursor = "";
|
|
1007
1007
|
}, U = (d) => {
|
|
1008
|
-
const
|
|
1009
|
-
return r.value === d &&
|
|
1008
|
+
const v = ["vt-columns-selector__panel-item"];
|
|
1009
|
+
return r.value === d && v.push("vt-columns-selector__panel-item--dragging"), i.value === d && a.value === "before" && v.push("vt-columns-selector__panel-item--drop-before"), i.value === d && a.value === "after" && v.push("vt-columns-selector__panel-item--drop-after"), v;
|
|
1010
1010
|
}, y = () => {
|
|
1011
1011
|
s.value = [...o.columns.map((d) => ({ ...d }))], o.columnsSelector.forEach((d) => {
|
|
1012
1012
|
d.name !== "removed" && l.value.add(d.name);
|
|
1013
1013
|
});
|
|
1014
|
-
}, E = (d,
|
|
1015
|
-
if (
|
|
1014
|
+
}, E = (d, v) => {
|
|
1015
|
+
if (v)
|
|
1016
1016
|
s.value.some((g) => g.prop === d.prop) || s.value.push({ ...d });
|
|
1017
1017
|
else {
|
|
1018
|
-
if (
|
|
1018
|
+
if (w(d))
|
|
1019
1019
|
return;
|
|
1020
1020
|
s.value = s.value.filter((g) => g.prop !== d.prop);
|
|
1021
1021
|
}
|
|
1022
|
-
}, $ = (d,
|
|
1023
|
-
if (
|
|
1022
|
+
}, $ = (d, v) => {
|
|
1023
|
+
if (v)
|
|
1024
1024
|
d.columns.forEach((g) => {
|
|
1025
1025
|
s.value.some((b) => b.prop === g.prop) || s.value.push({ ...g });
|
|
1026
1026
|
});
|
|
@@ -1028,14 +1028,14 @@ const ae = new Pn(), Dn = {
|
|
|
1028
1028
|
const g = [];
|
|
1029
1029
|
d.columns.forEach((b) => {
|
|
1030
1030
|
const B = s.value.find((L) => L.prop === b.prop);
|
|
1031
|
-
B && !
|
|
1031
|
+
B && !w(B) && g.push(B);
|
|
1032
1032
|
}), s.value = s.value.filter(
|
|
1033
1033
|
(b) => !g.some((B) => B.prop === b.prop)
|
|
1034
1034
|
);
|
|
1035
1035
|
}
|
|
1036
|
-
}, J = (d) => s.value.some((
|
|
1037
|
-
const
|
|
1038
|
-
return !
|
|
1036
|
+
}, J = (d) => s.value.some((v) => v.prop === d.prop), p = (d) => {
|
|
1037
|
+
const v = s.value.find((g) => g.prop === d.prop);
|
|
1038
|
+
return !v || !w(v);
|
|
1039
1039
|
}, A = (d) => {
|
|
1040
1040
|
l.value.has(d) ? l.value.delete(d) : l.value.add(d);
|
|
1041
1041
|
}, T = () => {
|
|
@@ -1045,9 +1045,9 @@ const ae = new Pn(), Dn = {
|
|
|
1045
1045
|
};
|
|
1046
1046
|
return ve(() => {
|
|
1047
1047
|
y();
|
|
1048
|
-
}), (d,
|
|
1049
|
-
|
|
1050
|
-
|
|
1048
|
+
}), (d, v) => (m(), _("div", An, [
|
|
1049
|
+
f("div", On, [
|
|
1050
|
+
f("div", jn, [
|
|
1051
1051
|
(m(!0), _(ne, null, oe(s.value, (g, b) => (m(), _("div", {
|
|
1052
1052
|
key: g.prop,
|
|
1053
1053
|
class: W(U(b)),
|
|
@@ -1065,22 +1065,22 @@ const ae = new Pn(), Dn = {
|
|
|
1065
1065
|
N(ue, {
|
|
1066
1066
|
label: g.label,
|
|
1067
1067
|
checked: !0,
|
|
1068
|
-
disabled:
|
|
1068
|
+
disabled: w(g),
|
|
1069
1069
|
onChange: (B) => E(g, B),
|
|
1070
|
-
onClick:
|
|
1070
|
+
onClick: v[0] || (v[0] = pe(() => {
|
|
1071
1071
|
}, ["stop"]))
|
|
1072
1072
|
}, null, 8, ["label", "disabled", "onChange"]),
|
|
1073
|
-
|
|
1073
|
+
w(g) ? (m(), _("span", Zn, "pinned")) : H("", !0)
|
|
1074
1074
|
], 42, Nn))), 128))
|
|
1075
1075
|
]),
|
|
1076
|
-
|
|
1076
|
+
f("div", Fn, [
|
|
1077
1077
|
(m(!0), _(ne, null, oe(c.value, (g) => {
|
|
1078
1078
|
var b, B;
|
|
1079
1079
|
return m(), _("div", {
|
|
1080
1080
|
key: g.name,
|
|
1081
1081
|
class: "vt-columns-selector__group"
|
|
1082
1082
|
}, [
|
|
1083
|
-
|
|
1083
|
+
f("div", {
|
|
1084
1084
|
class: "vt-columns-selector__group-header",
|
|
1085
1085
|
onClick: (L) => A(g.name)
|
|
1086
1086
|
}, [
|
|
@@ -1089,7 +1089,7 @@ const ae = new Pn(), Dn = {
|
|
|
1089
1089
|
checked: ((b = u.value[g.name]) == null ? void 0 : b.checked) || !1,
|
|
1090
1090
|
indeterminate: ((B = u.value[g.name]) == null ? void 0 : B.indeterminate) || !1,
|
|
1091
1091
|
onChange: (L) => $(g, L),
|
|
1092
|
-
onClick:
|
|
1092
|
+
onClick: v[1] || (v[1] = pe(() => {
|
|
1093
1093
|
}, ["stop"]))
|
|
1094
1094
|
}, null, 8, ["label", "checked", "indeterminate", "onChange"]),
|
|
1095
1095
|
g.icon ? (m(), re(Y, {
|
|
@@ -1116,10 +1116,10 @@ const ae = new Pn(), Dn = {
|
|
|
1116
1116
|
}), 128))
|
|
1117
1117
|
])
|
|
1118
1118
|
]),
|
|
1119
|
-
|
|
1119
|
+
f("div", Gn, [
|
|
1120
1120
|
N(ge, { onClick: X }, {
|
|
1121
|
-
default: xe(() =>
|
|
1122
|
-
|
|
1121
|
+
default: xe(() => v[2] || (v[2] = [
|
|
1122
|
+
he("Скасувати", -1)
|
|
1123
1123
|
])),
|
|
1124
1124
|
_: 1,
|
|
1125
1125
|
__: [2]
|
|
@@ -1128,8 +1128,8 @@ const ae = new Pn(), Dn = {
|
|
|
1128
1128
|
type: "primary",
|
|
1129
1129
|
onClick: T
|
|
1130
1130
|
}, {
|
|
1131
|
-
default: xe(() =>
|
|
1132
|
-
|
|
1131
|
+
default: xe(() => v[3] || (v[3] = [
|
|
1132
|
+
he("Зберегти", -1)
|
|
1133
1133
|
])),
|
|
1134
1134
|
_: 1,
|
|
1135
1135
|
__: [3]
|
|
@@ -1152,7 +1152,7 @@ const ae = new Pn(), Dn = {
|
|
|
1152
1152
|
E.style.top = `${y.bottom - 20}px`, E.style.left = `${J - $ / 2}px`;
|
|
1153
1153
|
const p = E.getBoundingClientRect();
|
|
1154
1154
|
p.right > window.innerWidth && (E.style.left = `${window.innerWidth - $ - 8}px`), p.left < 0 && (E.style.left = "8px");
|
|
1155
|
-
},
|
|
1155
|
+
}, w = (y) => {
|
|
1156
1156
|
y.stopPropagation(), !a.value && (i.value ? F() : S());
|
|
1157
1157
|
}, S = () => {
|
|
1158
1158
|
a.value || (i.value = !0, c(), r.value && (r.value.style.zIndex = "22"));
|
|
@@ -1182,10 +1182,10 @@ const ae = new Pn(), Dn = {
|
|
|
1182
1182
|
var X;
|
|
1183
1183
|
if (!E.has(T)) {
|
|
1184
1184
|
let d;
|
|
1185
|
-
(X = o.columnsSelector) == null || X.forEach((
|
|
1186
|
-
const g =
|
|
1185
|
+
(X = o.columnsSelector) == null || X.forEach((v) => {
|
|
1186
|
+
const g = v.columns.find((b) => b.prop === T);
|
|
1187
1187
|
g && (d = g);
|
|
1188
|
-
}), d || (d = o.allColumns.find((
|
|
1188
|
+
}), d || (d = o.allColumns.find((v) => v.prop === T)), d && J.push(d);
|
|
1189
1189
|
}
|
|
1190
1190
|
});
|
|
1191
1191
|
const p = [...o.columnsSelector || []];
|
|
@@ -1215,7 +1215,7 @@ const ae = new Pn(), Dn = {
|
|
|
1215
1215
|
ref_key: "triggerRef",
|
|
1216
1216
|
ref: l,
|
|
1217
1217
|
class: "vt-table-header-actions",
|
|
1218
|
-
onClick:
|
|
1218
|
+
onClick: w
|
|
1219
1219
|
}, [
|
|
1220
1220
|
N(Y, { name: "listBullet" }),
|
|
1221
1221
|
i.value ? (m(), _("ul", {
|
|
@@ -1224,15 +1224,15 @@ const ae = new Pn(), Dn = {
|
|
|
1224
1224
|
ref: s,
|
|
1225
1225
|
class: W(["dropdown-menu", "vt-table-dropdown", { visible: i.value }])
|
|
1226
1226
|
}, [
|
|
1227
|
-
|
|
1227
|
+
f("li", { onClick: Q }, [
|
|
1228
1228
|
N(Y, {
|
|
1229
1229
|
name: U() ? "unfreeze" : "freeze"
|
|
1230
1230
|
}, null, 8, ["name"]),
|
|
1231
|
-
|
|
1231
|
+
f("span", null, te(U() ? "Розморозити" : "Заморозити"), 1)
|
|
1232
1232
|
]),
|
|
1233
|
-
|
|
1233
|
+
f("li", { onClick: M }, [
|
|
1234
1234
|
N(Y, { name: "columnInsert" }),
|
|
1235
|
-
E[0] || (E[0] =
|
|
1235
|
+
E[0] || (E[0] = f("span", null, "Колонки", -1))
|
|
1236
1236
|
])
|
|
1237
1237
|
], 2)) : H("", !0)
|
|
1238
1238
|
], 512));
|
|
@@ -1268,18 +1268,18 @@ const ae = new Pn(), Dn = {
|
|
|
1268
1268
|
}),
|
|
1269
1269
|
emits: /* @__PURE__ */ Te(["sort-change", "selection-change", "current-change", "row-click", "update:columns", "column-pin", "column-resize", "column-visibility", "column-sort", "columns-change", "infinity-scroll"], ["update:columns"]),
|
|
1270
1270
|
setup(e, { expose: t, emit: o }) {
|
|
1271
|
-
const n = e, s = rt(e, "columns"), l = o, r = D({}), i = D(), a = ct([]), u = D(n.defaultSort || null), c = x(() => s.value !== void 0),
|
|
1271
|
+
const n = e, s = rt(e, "columns"), l = o, r = D({}), i = D(), a = ct([]), u = D(n.defaultSort || null), c = x(() => s.value !== void 0), w = x(() => n.data && n.data.length > 0), S = D(!1), F = D(0);
|
|
1272
1272
|
let O = null;
|
|
1273
1273
|
const Q = () => {
|
|
1274
1274
|
c.value && s.value ? a.splice(0, a.length, ...s.value) : n.columns && a.splice(0, a.length, ...n.columns);
|
|
1275
1275
|
};
|
|
1276
|
-
|
|
1276
|
+
me(
|
|
1277
1277
|
() => s.value,
|
|
1278
1278
|
(h) => {
|
|
1279
1279
|
h && c.value && a.splice(0, a.length, ...h);
|
|
1280
1280
|
},
|
|
1281
1281
|
{ deep: !0 }
|
|
1282
|
-
),
|
|
1282
|
+
), me(
|
|
1283
1283
|
() => n.columns,
|
|
1284
1284
|
(h) => {
|
|
1285
1285
|
h && !c.value && a.splice(0, a.length, ...h);
|
|
@@ -1313,12 +1313,12 @@ const ae = new Pn(), Dn = {
|
|
|
1313
1313
|
if (!i.value || S.value) return;
|
|
1314
1314
|
const h = i.value, C = h.scrollTop, I = h.scrollHeight, z = h.clientHeight, P = 30;
|
|
1315
1315
|
O && clearTimeout(O), O = setTimeout(() => {
|
|
1316
|
-
const fe = C - F.value > 1,
|
|
1317
|
-
F.value = C, fe && (
|
|
1316
|
+
const fe = C - F.value > 1, k = I - C - z <= P, ce = I - C - z <= 5;
|
|
1317
|
+
F.value = C, fe && (k || ce) && (S.value = !0, l("infinity-scroll"), setTimeout(() => {
|
|
1318
1318
|
S.value = !1;
|
|
1319
1319
|
}, 1e3));
|
|
1320
1320
|
}, 50);
|
|
1321
|
-
},
|
|
1321
|
+
}, v = () => {
|
|
1322
1322
|
S.value = !1;
|
|
1323
1323
|
};
|
|
1324
1324
|
ve(() => {
|
|
@@ -1384,7 +1384,7 @@ const ae = new Pn(), Dn = {
|
|
|
1384
1384
|
const I = h[C.prop];
|
|
1385
1385
|
return I == null ? "" : String(I);
|
|
1386
1386
|
}, Ge = x(() => {
|
|
1387
|
-
if (!n.showSummary || !
|
|
1387
|
+
if (!n.showSummary || !w.value) return {};
|
|
1388
1388
|
const h = a;
|
|
1389
1389
|
if (typeof n.summaryMethod == "function") {
|
|
1390
1390
|
const C = n.summaryMethod({ columns: h, data: $.value });
|
|
@@ -1400,7 +1400,7 @@ const ae = new Pn(), Dn = {
|
|
|
1400
1400
|
},
|
|
1401
1401
|
{}
|
|
1402
1402
|
);
|
|
1403
|
-
}), Ke = x(() => n.showSummary &&
|
|
1403
|
+
}), Ke = x(() => n.showSummary && w.value), Ye = (h, C) => {
|
|
1404
1404
|
p && p.toggleRowSelection(h, C);
|
|
1405
1405
|
}, Je = () => {
|
|
1406
1406
|
p && p.toggleAllSelection();
|
|
@@ -1420,7 +1420,7 @@ const ae = new Pn(), Dn = {
|
|
|
1420
1420
|
clearSelection: et,
|
|
1421
1421
|
getSelectionRows: tt,
|
|
1422
1422
|
setSelectionRows: nt,
|
|
1423
|
-
resetInfinityScroll:
|
|
1423
|
+
resetInfinityScroll: v
|
|
1424
1424
|
// Додаємо метод для скидання infinity scroll
|
|
1425
1425
|
}), (h, C) => {
|
|
1426
1426
|
var z, P, de, fe;
|
|
@@ -1432,10 +1432,9 @@ const ae = new Pn(), Dn = {
|
|
|
1432
1432
|
style: ie(q(V)()),
|
|
1433
1433
|
onScroll: d
|
|
1434
1434
|
}, [
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
v("tr", null, [
|
|
1435
|
+
f("table", Jn, [
|
|
1436
|
+
f("thead", null, [
|
|
1437
|
+
f("tr", null, [
|
|
1439
1438
|
n.selectable ? (m(), _("th", {
|
|
1440
1439
|
key: 0,
|
|
1441
1440
|
class: W(["vt-table__th vt-table__th--selection", {
|
|
@@ -1444,7 +1443,7 @@ const ae = new Pn(), Dn = {
|
|
|
1444
1443
|
}]),
|
|
1445
1444
|
style: ie(T())
|
|
1446
1445
|
}, [
|
|
1447
|
-
|
|
1446
|
+
f("div", Qn, [
|
|
1448
1447
|
N(ue, {
|
|
1449
1448
|
checked: (z = q(p)) == null ? void 0 : z.isAllSelected.value,
|
|
1450
1449
|
indeterminate: (P = q(p)) == null ? void 0 : P.isIndeterminate.value,
|
|
@@ -1453,66 +1452,66 @@ const ae = new Pn(), Dn = {
|
|
|
1453
1452
|
}, null, 8, ["checked", "indeterminate", "is-double"])
|
|
1454
1453
|
])
|
|
1455
1454
|
], 6)) : H("", !0),
|
|
1456
|
-
(m(!0), _(ne, null, oe(q(Z), (
|
|
1457
|
-
key:
|
|
1455
|
+
(m(!0), _(ne, null, oe(q(Z), (k, ce) => (m(), _("th", {
|
|
1456
|
+
key: k.prop,
|
|
1458
1457
|
ref_for: !0,
|
|
1459
|
-
ref: (se) => Le(se,
|
|
1460
|
-
style: ie(Ue(
|
|
1458
|
+
ref: (se) => Le(se, k.prop),
|
|
1459
|
+
style: ie(Ue(k, ce)),
|
|
1461
1460
|
class: W([
|
|
1462
1461
|
"vt-table__th",
|
|
1463
1462
|
{
|
|
1464
1463
|
"vt-table__th--sticky": n.maxHeight,
|
|
1465
|
-
"vt-table__th--pinned-left":
|
|
1466
|
-
"vt-table__th--pinned-right":
|
|
1467
|
-
"vt-table__th--sortable":
|
|
1464
|
+
"vt-table__th--pinned-left": k.pinnedLeft,
|
|
1465
|
+
"vt-table__th--pinned-right": k.pinnedRight,
|
|
1466
|
+
"vt-table__th--sortable": k.sortable
|
|
1468
1467
|
}
|
|
1469
1468
|
])
|
|
1470
1469
|
}, [
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1470
|
+
f("div", eo, [
|
|
1471
|
+
f("div", to, te(k.label), 1),
|
|
1472
|
+
k.sortable ? (m(), _("div", no, [
|
|
1474
1473
|
N(Y, {
|
|
1475
1474
|
name: "arrowTop",
|
|
1476
|
-
class: W(q(Ee)(
|
|
1477
|
-
onClick:
|
|
1475
|
+
class: W(q(Ee)(k, u.value).asc),
|
|
1476
|
+
onClick: pe((se) => g(k, "asc"), ["stop"])
|
|
1478
1477
|
}, null, 8, ["class", "onClick"]),
|
|
1479
1478
|
N(Y, {
|
|
1480
1479
|
name: "arrowDown",
|
|
1481
|
-
class: W(q(Ee)(
|
|
1482
|
-
onClick:
|
|
1480
|
+
class: W(q(Ee)(k, u.value).desc),
|
|
1481
|
+
onClick: pe((se) => g(k, "desc"), ["stop"])
|
|
1483
1482
|
}, null, 8, ["class", "onClick"])
|
|
1484
1483
|
])) : H("", !0),
|
|
1485
|
-
|
|
1484
|
+
k.actionColumn ? (m(), re(Yn, {
|
|
1486
1485
|
key: 1,
|
|
1487
|
-
column:
|
|
1486
|
+
column: k,
|
|
1488
1487
|
"all-columns": q(Z),
|
|
1489
1488
|
columnsSelector: n.columnsSelector,
|
|
1490
1489
|
onPin: b,
|
|
1491
1490
|
onUpdateColumns: B
|
|
1492
1491
|
}, null, 8, ["column", "all-columns", "columnsSelector"])) : H("", !0)
|
|
1493
1492
|
]),
|
|
1494
|
-
|
|
1493
|
+
f("div", {
|
|
1495
1494
|
class: "vt-table__resizer",
|
|
1496
|
-
"data-resizer":
|
|
1497
|
-
onMousedown: (se) => Ie(se,
|
|
1495
|
+
"data-resizer": k.prop,
|
|
1496
|
+
onMousedown: (se) => Ie(se, k)
|
|
1498
1497
|
}, null, 40, oo)
|
|
1499
1498
|
], 6))), 128))
|
|
1500
1499
|
])
|
|
1501
1500
|
]),
|
|
1502
|
-
|
|
1503
|
-
|
|
1501
|
+
f("tbody", null, [
|
|
1502
|
+
w.value ? (m(!0), _(ne, { key: 1 }, oe($.value, (k, ce) => {
|
|
1504
1503
|
var se, Be, Re;
|
|
1505
1504
|
return m(), _("tr", {
|
|
1506
|
-
key:
|
|
1505
|
+
key: k.id,
|
|
1507
1506
|
class: W([
|
|
1508
1507
|
"vt-table__row",
|
|
1509
1508
|
{
|
|
1510
|
-
"vt-table__row--selected": (se = q(p)) == null ? void 0 : se.isRowSelected(
|
|
1511
|
-
"vt-table__row--current": ((Be = q(p)) == null ? void 0 : Be.currentRow.value) ===
|
|
1509
|
+
"vt-table__row--selected": (se = q(p)) == null ? void 0 : se.isRowSelected(k),
|
|
1510
|
+
"vt-table__row--current": ((Be = q(p)) == null ? void 0 : Be.currentRow.value) === k,
|
|
1512
1511
|
"vt-table__row--clickable": n.selectOnClickRow || n.highlightCurrentRow
|
|
1513
1512
|
}
|
|
1514
1513
|
]),
|
|
1515
|
-
onClick: (
|
|
1514
|
+
onClick: (K) => ee(k, q(Z)[0], K)
|
|
1516
1515
|
}, [
|
|
1517
1516
|
n.selectable ? (m(), _("td", {
|
|
1518
1517
|
key: 0,
|
|
@@ -1521,76 +1520,76 @@ const ae = new Pn(), Dn = {
|
|
|
1521
1520
|
}]),
|
|
1522
1521
|
style: ie(A())
|
|
1523
1522
|
}, [
|
|
1524
|
-
|
|
1523
|
+
f("div", ro, [
|
|
1525
1524
|
N(ue, {
|
|
1526
|
-
checked: (Re = q(p)) == null ? void 0 : Re.isRowSelected(
|
|
1527
|
-
onChange: (
|
|
1525
|
+
checked: (Re = q(p)) == null ? void 0 : Re.isRowSelected(k),
|
|
1526
|
+
onChange: (K, be) => Ce(K, k, be)
|
|
1528
1527
|
}, null, 8, ["checked", "onChange"])
|
|
1529
1528
|
])
|
|
1530
1529
|
], 4)) : H("", !0),
|
|
1531
|
-
(m(!0), _(ne, null, oe(q(Z), (
|
|
1532
|
-
key:
|
|
1530
|
+
(m(!0), _(ne, null, oe(q(Z), (K, be) => (m(), _("td", {
|
|
1531
|
+
key: K.prop,
|
|
1533
1532
|
ref_for: !0,
|
|
1534
|
-
ref: (we) => Le(we,
|
|
1535
|
-
style: ie(Fe(
|
|
1533
|
+
ref: (we) => Le(we, K.prop),
|
|
1534
|
+
style: ie(Fe(K, be)),
|
|
1536
1535
|
class: W([
|
|
1537
1536
|
"vt-table__td",
|
|
1538
1537
|
{
|
|
1539
|
-
"vt-table__td--pinned-left":
|
|
1540
|
-
"vt-table__td--pinned-right":
|
|
1538
|
+
"vt-table__td--pinned-left": K.pinnedLeft,
|
|
1539
|
+
"vt-table__td--pinned-right": K.pinnedRight
|
|
1541
1540
|
}
|
|
1542
1541
|
])
|
|
1543
1542
|
}, [
|
|
1544
|
-
Me((m(), _("div", co, [
|
|
1545
|
-
|
|
1546
|
-
])), [
|
|
1547
|
-
[I,
|
|
1543
|
+
Me((m(), _("div", co, C[1] || (C[1] = [
|
|
1544
|
+
he(" sss ", -1)
|
|
1545
|
+
]))), [
|
|
1546
|
+
[I, K.showOverflowTooltip ? Xe(k, K) : null]
|
|
1548
1547
|
]),
|
|
1549
|
-
|
|
1548
|
+
f("div", {
|
|
1550
1549
|
class: "vt-table__resizer",
|
|
1551
|
-
"data-resizer":
|
|
1552
|
-
onMousedown: (we) => Ie(we,
|
|
1550
|
+
"data-resizer": K.prop,
|
|
1551
|
+
onMousedown: (we) => Ie(we, K)
|
|
1553
1552
|
}, null, 40, uo)
|
|
1554
1553
|
], 6))), 128))
|
|
1555
1554
|
], 10, ao);
|
|
1556
1555
|
}), 128)) : (m(), _("tr", lo, [
|
|
1557
|
-
|
|
1556
|
+
f("td", {
|
|
1558
1557
|
colspan: q(Z).length + (n.selectable ? 1 : 0),
|
|
1559
1558
|
class: "vt-table__empty-cell"
|
|
1560
1559
|
}, [
|
|
1561
|
-
|
|
1560
|
+
f("div", io, [
|
|
1562
1561
|
N(Y, {
|
|
1563
1562
|
name: "empty",
|
|
1564
1563
|
class: "vt-table__empty-icon"
|
|
1565
1564
|
}),
|
|
1566
|
-
C[0] || (C[0] =
|
|
1565
|
+
C[0] || (C[0] = f("span", { class: "vt-table__empty-text" }, "Немає даних!", -1))
|
|
1567
1566
|
])
|
|
1568
1567
|
], 8, so)
|
|
1569
1568
|
]))
|
|
1570
1569
|
]),
|
|
1571
1570
|
Ke.value ? (m(), _("tfoot", po, [
|
|
1572
|
-
|
|
1571
|
+
f("tr", null, [
|
|
1573
1572
|
n.selectable ? (m(), _("td", {
|
|
1574
1573
|
key: 0,
|
|
1575
1574
|
class: W(["vt-table__td", {
|
|
1576
1575
|
"vt-table__td--pinned-left": !0
|
|
1577
1576
|
}]),
|
|
1578
1577
|
style: ie(X())
|
|
1579
|
-
}, C[
|
|
1580
|
-
|
|
1578
|
+
}, C[2] || (C[2] = [
|
|
1579
|
+
f("div", { class: "vt-table__cell-content vt-table__cell-content--summary" }, null, -1)
|
|
1581
1580
|
]), 4)) : H("", !0),
|
|
1582
|
-
(m(!0), _(ne, null, oe(q(Z), (
|
|
1583
|
-
key:
|
|
1584
|
-
style: ie(qe(
|
|
1581
|
+
(m(!0), _(ne, null, oe(q(Z), (k, ce) => (m(), _("td", {
|
|
1582
|
+
key: k.prop,
|
|
1583
|
+
style: ie(qe(k, ce)),
|
|
1585
1584
|
class: W([
|
|
1586
1585
|
"vt-table__td",
|
|
1587
1586
|
{
|
|
1588
|
-
"vt-table__td--pinned-left":
|
|
1589
|
-
"vt-table__td--pinned-right":
|
|
1587
|
+
"vt-table__td--pinned-left": k.pinnedLeft,
|
|
1588
|
+
"vt-table__td--pinned-right": k.pinnedRight
|
|
1590
1589
|
}
|
|
1591
1590
|
])
|
|
1592
1591
|
}, [
|
|
1593
|
-
|
|
1592
|
+
f("div", mo, te(Ge.value[k.prop]), 1)
|
|
1594
1593
|
], 6))), 128))
|
|
1595
1594
|
])
|
|
1596
1595
|
])) : H("", !0)
|
|
@@ -1641,7 +1640,7 @@ const ae = new Pn(), Dn = {
|
|
|
1641
1640
|
const r = s();
|
|
1642
1641
|
n.push(r), l = n.length - 1;
|
|
1643
1642
|
}
|
|
1644
|
-
}),
|
|
1643
|
+
}), me(
|
|
1645
1644
|
() => [
|
|
1646
1645
|
t.width,
|
|
1647
1646
|
t.minWidth,
|