voiptime-components 1.0.18 → 1.0.19
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.css +1 -1
- package/dist/index.es.js +885 -874
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
const
|
|
1
|
+
import { createElementBlock as v, openBlock as p, createElementVNode as h, createStaticVNode as je, defineComponent as te, computed as S, createBlock as ne, createCommentVNode as W, resolveDynamicComponent as Ne, useSlots as $e, resolveDirective as Fe, withDirectives as Se, normalizeClass as z, renderSlot as de, Teleport as Ze, normalizeStyle as se, withModifiers as he, toDisplayString as ee, watch as ve, Fragment as re, renderList as ie, vModelSelect as pt, createVNode as F, withCtx as ue, createTextVNode as ge, ref as P, provide as Ye, onMounted as fe, onUnmounted as Ve, nextTick as ht, inject as Ue, createApp as mt, h as ye, mergeModels as Re, useModel as vt, reactive as ft, unref as X } from "vue";
|
|
2
|
+
const D = (t, e) => {
|
|
3
3
|
const o = t.__vccOpts || t;
|
|
4
4
|
for (const [n, l] of e)
|
|
5
5
|
o[n] = l;
|
|
6
6
|
return o;
|
|
7
|
-
},
|
|
7
|
+
}, _t = {}, gt = {
|
|
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
|
|
15
|
-
return
|
|
16
|
-
|
|
14
|
+
function wt(t, e) {
|
|
15
|
+
return p(), v("svg", gt, e[0] || (e[0] = [
|
|
16
|
+
h("path", {
|
|
17
17
|
d: "M14 8L10 12L6 8",
|
|
18
18
|
stroke: "currentColor",
|
|
19
19
|
"stroke-width": "1.5",
|
|
@@ -22,16 +22,16 @@ function yt(t, e) {
|
|
|
22
22
|
}, null, -1)
|
|
23
23
|
]));
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const Ct = /* @__PURE__ */ D(_t, [["render", wt]]), kt = {}, bt = {
|
|
26
26
|
width: "20",
|
|
27
27
|
height: "20",
|
|
28
28
|
viewBox: "0 0 20 20",
|
|
29
29
|
fill: "none",
|
|
30
30
|
xmlns: "http://www.w3.org/2000/svg"
|
|
31
31
|
};
|
|
32
|
-
function
|
|
33
|
-
return
|
|
34
|
-
|
|
32
|
+
function yt(t, e) {
|
|
33
|
+
return p(), v("svg", bt, e[0] || (e[0] = [
|
|
34
|
+
h("path", {
|
|
35
35
|
d: "M6 12L10 8L14 12",
|
|
36
36
|
stroke: "currentColor",
|
|
37
37
|
"stroke-width": "1.5",
|
|
@@ -40,38 +40,38 @@ function $t(t, e) {
|
|
|
40
40
|
}, null, -1)
|
|
41
41
|
]));
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const xt = /* @__PURE__ */ D(kt, [["render", yt]]), Mt = {}, Lt = {
|
|
44
44
|
width: "14",
|
|
45
45
|
height: "15",
|
|
46
46
|
viewBox: "0 0 14 15",
|
|
47
47
|
fill: "none",
|
|
48
48
|
xmlns: "http://www.w3.org/2000/svg"
|
|
49
49
|
};
|
|
50
|
-
function
|
|
51
|
-
return
|
|
52
|
-
|
|
50
|
+
function $t(t, e) {
|
|
51
|
+
return p(), v("svg", Lt, e[0] || (e[0] = [
|
|
52
|
+
h("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
|
+
h("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
|
|
65
|
+
const St = /* @__PURE__ */ D(Mt, [["render", $t]]), Vt = {}, It = {
|
|
66
66
|
width: "21",
|
|
67
67
|
height: "20",
|
|
68
68
|
viewBox: "0 0 21 20",
|
|
69
69
|
fill: "none",
|
|
70
70
|
xmlns: "http://www.w3.org/2000/svg"
|
|
71
71
|
};
|
|
72
|
-
function
|
|
73
|
-
return
|
|
74
|
-
|
|
72
|
+
function Bt(t, e) {
|
|
73
|
+
return p(), v("svg", It, e[0] || (e[0] = [
|
|
74
|
+
h("path", {
|
|
75
75
|
d: "M8.60352 6L12.6035 10L8.60352 14",
|
|
76
76
|
stroke: "currentColor",
|
|
77
77
|
"stroke-width": "1.5",
|
|
@@ -80,16 +80,16 @@ function zt(t, e) {
|
|
|
80
80
|
}, null, -1)
|
|
81
81
|
]));
|
|
82
82
|
}
|
|
83
|
-
const
|
|
83
|
+
const Tt = /* @__PURE__ */ D(Vt, [["render", Bt]]), Et = {}, Rt = {
|
|
84
84
|
width: "21",
|
|
85
85
|
height: "20",
|
|
86
86
|
viewBox: "0 0 21 20",
|
|
87
87
|
fill: "none",
|
|
88
88
|
xmlns: "http://www.w3.org/2000/svg"
|
|
89
89
|
};
|
|
90
|
-
function
|
|
91
|
-
return
|
|
92
|
-
|
|
90
|
+
function zt(t, e) {
|
|
91
|
+
return p(), v("svg", Rt, e[0] || (e[0] = [
|
|
92
|
+
h("path", {
|
|
93
93
|
d: "M12.3984 14L8.39844 10L12.3984 6",
|
|
94
94
|
stroke: "currentColor",
|
|
95
95
|
"stroke-width": "1.5",
|
|
@@ -98,16 +98,16 @@ function Pt(t, e) {
|
|
|
98
98
|
}, null, -1)
|
|
99
99
|
]));
|
|
100
100
|
}
|
|
101
|
-
const
|
|
101
|
+
const Ht = /* @__PURE__ */ D(Et, [["render", zt]]), Wt = {}, Dt = {
|
|
102
102
|
width: "20",
|
|
103
103
|
height: "20",
|
|
104
104
|
viewBox: "0 0 20 20",
|
|
105
105
|
fill: "none",
|
|
106
106
|
xmlns: "http://www.w3.org/2000/svg"
|
|
107
107
|
};
|
|
108
|
-
function
|
|
109
|
-
return
|
|
110
|
-
|
|
108
|
+
function Pt(t, e) {
|
|
109
|
+
return p(), v("svg", Dt, e[0] || (e[0] = [
|
|
110
|
+
h("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,23 +116,23 @@ function Nt(t, e) {
|
|
|
116
116
|
}, null, -1)
|
|
117
117
|
]));
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const At = /* @__PURE__ */ D(Wt, [["render", Pt]]), Ot = {}, jt = {
|
|
120
120
|
width: "20",
|
|
121
121
|
height: "20",
|
|
122
122
|
viewBox: "0 0 20 20",
|
|
123
123
|
fill: "none",
|
|
124
124
|
xmlns: "http://www.w3.org/2000/svg"
|
|
125
125
|
};
|
|
126
|
-
function
|
|
127
|
-
return
|
|
128
|
-
|
|
126
|
+
function Nt(t, e) {
|
|
127
|
+
return p(), v("svg", jt, e[0] || (e[0] = [
|
|
128
|
+
h("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
|
+
h("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,23 +140,23 @@ function Xt(t, e) {
|
|
|
140
140
|
}, null, -1)
|
|
141
141
|
]));
|
|
142
142
|
}
|
|
143
|
-
const
|
|
143
|
+
const Ft = /* @__PURE__ */ D(Ot, [["render", Nt]]), Zt = {}, Yt = {
|
|
144
144
|
width: "20",
|
|
145
145
|
height: "20",
|
|
146
146
|
viewBox: "0 0 20 20",
|
|
147
147
|
fill: "none",
|
|
148
148
|
xmlns: "http://www.w3.org/2000/svg"
|
|
149
149
|
};
|
|
150
|
-
function
|
|
151
|
-
return
|
|
152
|
-
|
|
150
|
+
function Ut(t, e) {
|
|
151
|
+
return p(), v("svg", Yt, e[0] || (e[0] = [
|
|
152
|
+
h("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
|
+
h("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,16 +164,16 @@ function Gt(t, e) {
|
|
|
164
164
|
}, null, -1)
|
|
165
165
|
]));
|
|
166
166
|
}
|
|
167
|
-
const
|
|
167
|
+
const Xt = /* @__PURE__ */ D(Zt, [["render", Ut]]), Kt = {}, qt = {
|
|
168
168
|
xmlns: "http://www.w3.org/2000/svg",
|
|
169
169
|
width: "60",
|
|
170
170
|
height: "60",
|
|
171
171
|
viewBox: "0 0 60 60",
|
|
172
172
|
fill: "none"
|
|
173
173
|
};
|
|
174
|
-
function
|
|
175
|
-
return
|
|
176
|
-
|
|
174
|
+
function Gt(t, e) {
|
|
175
|
+
return p(), v("svg", qt, e[0] || (e[0] = [
|
|
176
|
+
h("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,22 +182,22 @@ function tn(t, e) {
|
|
|
182
182
|
}, null, -1)
|
|
183
183
|
]));
|
|
184
184
|
}
|
|
185
|
-
const
|
|
185
|
+
const Jt = /* @__PURE__ */ D(Kt, [["render", Gt]]), Qt = {}, en = {
|
|
186
186
|
width: "20",
|
|
187
187
|
height: "20",
|
|
188
188
|
viewBox: "0 0 20 20",
|
|
189
189
|
fill: "none",
|
|
190
190
|
xmlns: "http://www.w3.org/2000/svg"
|
|
191
191
|
};
|
|
192
|
-
function
|
|
193
|
-
return
|
|
194
|
-
|
|
192
|
+
function tn(t, e) {
|
|
193
|
+
return p(), v("svg", en, e[0] || (e[0] = [
|
|
194
|
+
h("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
|
+
h("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,16 +205,16 @@ function sn(t, e) {
|
|
|
205
205
|
}, null, -1)
|
|
206
206
|
]));
|
|
207
207
|
}
|
|
208
|
-
const
|
|
208
|
+
const nn = /* @__PURE__ */ D(Qt, [["render", tn]]), on = {}, ln = {
|
|
209
209
|
width: "20",
|
|
210
210
|
height: "20",
|
|
211
211
|
viewBox: "0 0 20 20",
|
|
212
212
|
fill: "none",
|
|
213
213
|
xmlns: "http://www.w3.org/2000/svg"
|
|
214
214
|
};
|
|
215
|
-
function
|
|
216
|
-
return
|
|
217
|
-
|
|
215
|
+
function sn(t, e) {
|
|
216
|
+
return p(), v("svg", ln, e[0] || (e[0] = [
|
|
217
|
+
h("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,16 +222,16 @@ function dn(t, e) {
|
|
|
222
222
|
}, null, -1)
|
|
223
223
|
]));
|
|
224
224
|
}
|
|
225
|
-
const
|
|
225
|
+
const rn = /* @__PURE__ */ D(on, [["render", sn]]), an = {}, cn = {
|
|
226
226
|
width: "21",
|
|
227
227
|
height: "20",
|
|
228
228
|
viewBox: "0 0 21 20",
|
|
229
229
|
fill: "none",
|
|
230
230
|
xmlns: "http://www.w3.org/2000/svg"
|
|
231
231
|
};
|
|
232
|
-
function
|
|
233
|
-
return
|
|
234
|
-
|
|
232
|
+
function dn(t, e) {
|
|
233
|
+
return p(), v("svg", cn, e[0] || (e[0] = [
|
|
234
|
+
h("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,16 +239,16 @@ function mn(t, e) {
|
|
|
239
239
|
}, null, -1)
|
|
240
240
|
]));
|
|
241
241
|
}
|
|
242
|
-
const
|
|
242
|
+
const un = /* @__PURE__ */ D(an, [["render", dn]]), pn = {}, hn = {
|
|
243
243
|
width: "20",
|
|
244
244
|
height: "20",
|
|
245
245
|
viewBox: "0 0 20 20",
|
|
246
246
|
fill: "none",
|
|
247
247
|
xmlns: "http://www.w3.org/2000/svg"
|
|
248
248
|
};
|
|
249
|
-
function
|
|
250
|
-
return
|
|
251
|
-
|
|
249
|
+
function mn(t, e) {
|
|
250
|
+
return p(), v("svg", hn, e[0] || (e[0] = [
|
|
251
|
+
h("path", {
|
|
252
252
|
d: "M6 14L10 10M10 10L14 6M10 10L6 6M10 10L14 14",
|
|
253
253
|
stroke: "currentColor",
|
|
254
254
|
"stroke-width": "1.5",
|
|
@@ -257,16 +257,16 @@ function gn(t, e) {
|
|
|
257
257
|
}, null, -1)
|
|
258
258
|
]));
|
|
259
259
|
}
|
|
260
|
-
const
|
|
260
|
+
const vn = /* @__PURE__ */ D(pn, [["render", mn]]), fn = {}, _n = {
|
|
261
261
|
width: "20",
|
|
262
262
|
height: "20",
|
|
263
263
|
viewBox: "0 0 20 20",
|
|
264
264
|
fill: "none",
|
|
265
265
|
xmlns: "http://www.w3.org/2000/svg"
|
|
266
266
|
};
|
|
267
|
-
function
|
|
268
|
-
return
|
|
269
|
-
|
|
267
|
+
function gn(t, e) {
|
|
268
|
+
return p(), v("svg", _n, e[0] || (e[0] = [
|
|
269
|
+
h("path", {
|
|
270
270
|
d: "M9.31732 16.8976L7.50065 17.5026V10.4193L3.76732 6.3126C3.48852 6.00588 3.33403 5.60627 3.33398 5.19177V3.33594H16.6673V5.14594C16.6672 5.58793 16.4916 6.01178 16.179 6.32427L12.5007 10.0026V12.5026M12.5007 15.8359L14.1673 17.5026L17.5007 14.1693",
|
|
271
271
|
stroke: "currentColor",
|
|
272
272
|
"stroke-width": "1.5",
|
|
@@ -275,16 +275,16 @@ function bn(t, e) {
|
|
|
275
275
|
}, null, -1)
|
|
276
276
|
]));
|
|
277
277
|
}
|
|
278
|
-
const
|
|
278
|
+
const wn = /* @__PURE__ */ D(fn, [["render", gn]]), Cn = {}, kn = {
|
|
279
279
|
width: "20",
|
|
280
280
|
height: "20",
|
|
281
281
|
viewBox: "0 0 20 20",
|
|
282
282
|
fill: "none",
|
|
283
283
|
xmlns: "http://www.w3.org/2000/svg"
|
|
284
284
|
};
|
|
285
|
-
function
|
|
286
|
-
return
|
|
287
|
-
|
|
285
|
+
function bn(t, e) {
|
|
286
|
+
return p(), v("svg", kn, e[0] || (e[0] = [
|
|
287
|
+
h("path", {
|
|
288
288
|
d: "M11.4657 16.1809L7.50065 17.5026V10.4193L3.76732 6.3126C3.48852 6.00588 3.33403 5.60627 3.33398 5.19177V3.33594H16.6673V5.14594C16.6672 5.58793 16.4916 6.01178 16.179 6.32427L12.5007 10.0026V11.2526M18.334 18.3359L14.1673 14.1693M14.1673 18.3359L18.334 14.1693",
|
|
289
289
|
stroke: "currentColor",
|
|
290
290
|
"stroke-width": "1.5",
|
|
@@ -293,51 +293,51 @@ function Ln(t, e) {
|
|
|
293
293
|
}, null, -1)
|
|
294
294
|
]));
|
|
295
295
|
}
|
|
296
|
-
const
|
|
296
|
+
const yn = /* @__PURE__ */ D(Cn, [["render", bn]]), xn = {}, Mn = {
|
|
297
297
|
width: "20",
|
|
298
298
|
height: "20",
|
|
299
299
|
viewBox: "0 0 20 20",
|
|
300
300
|
fill: "none",
|
|
301
301
|
xmlns: "http://www.w3.org/2000/svg"
|
|
302
302
|
};
|
|
303
|
-
function
|
|
304
|
-
return
|
|
305
|
-
|
|
303
|
+
function Ln(t, e) {
|
|
304
|
+
return p(), v("svg", Mn, e[0] || (e[0] = [
|
|
305
|
+
h("path", {
|
|
306
306
|
d: "M9.4676 15.1809L5.5026 16.5026V9.41927L1.76927 5.3126C1.49048 5.00588 1.33598 4.60627 1.33594 4.19177V2.33594H14.6693V4.14594C14.6692 4.58793 14.4935 5.01178 14.1809 5.32427L10.5026 9.0026V10.2526",
|
|
307
307
|
stroke: "currentColor",
|
|
308
308
|
"stroke-width": "1.5",
|
|
309
309
|
"stroke-linecap": "round",
|
|
310
310
|
"stroke-linejoin": "round"
|
|
311
311
|
}, null, -1),
|
|
312
|
-
|
|
312
|
+
h("path", {
|
|
313
313
|
d: "M15.5 16.6591L13.857 17.9057C13.7756 17.9719 13.6868 18.0032 13.5906 17.9997C13.4944 17.9962 13.4093 17.9685 13.3353 17.9167C13.2613 17.865 13.204 17.7951 13.1635 17.7071C13.1229 17.6192 13.121 17.5236 13.1577 17.4203L13.7904 15.3795L12.1808 14.2433C12.092 14.1844 12.0365 14.1072 12.0143 14.0116C11.9921 13.916 11.9958 13.8277 12.0254 13.7468C12.055 13.6659 12.1068 13.5942 12.1808 13.5315C12.2548 13.4688 12.3436 13.4377 12.4472 13.438H14.4343L15.0782 11.3199C15.1152 11.217 15.1726 11.1378 15.2504 11.0825C15.3283 11.0272 15.4115 10.9997 15.5 11C15.5885 11.0003 15.6718 11.0279 15.75 11.083C15.8281 11.138 15.8854 11.217 15.9218 11.3199L16.5657 13.438H18.5528C18.6564 13.438 18.7452 13.4693 18.8192 13.5319C18.8932 13.5946 18.945 13.6662 18.9746 13.7468C19.0042 13.8274 19.0079 13.9157 18.9857 14.0116C18.9635 14.1075 18.908 14.1847 18.8192 14.2433L17.2096 15.3795L17.8423 17.4203C17.8793 17.5233 17.8775 17.6189 17.837 17.7071C17.7964 17.7954 17.739 17.8653 17.6647 17.9167C17.5904 17.9682 17.5053 17.9959 17.4094 17.9997C17.3135 18.0035 17.2247 17.9722 17.143 17.9057L15.5 16.6591Z",
|
|
314
314
|
stroke: "currentColor",
|
|
315
315
|
"stroke-width": "1.5"
|
|
316
316
|
}, null, -1)
|
|
317
317
|
]));
|
|
318
318
|
}
|
|
319
|
-
const
|
|
319
|
+
const $n = /* @__PURE__ */ D(xn, [["render", Ln]]), Sn = {}, Vn = {
|
|
320
320
|
width: "20",
|
|
321
321
|
height: "20",
|
|
322
322
|
viewBox: "0 0 20 20",
|
|
323
323
|
fill: "none",
|
|
324
324
|
xmlns: "http://www.w3.org/2000/svg"
|
|
325
325
|
};
|
|
326
|
-
function
|
|
327
|
-
return
|
|
328
|
-
|
|
326
|
+
function In(t, e) {
|
|
327
|
+
return p(), v("svg", Vn, e[0] || (e[0] = [
|
|
328
|
+
je('<path d="M10.5 5.5H17.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M10.5 10H17.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M10.5 15H17.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M3 15.083L4.042 16.125L7.167 13" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 6.083L4.042 7.125L7.167 4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>', 5)
|
|
329
329
|
]));
|
|
330
330
|
}
|
|
331
|
-
const
|
|
331
|
+
const Bn = /* @__PURE__ */ D(Sn, [["render", In]]), Tn = {}, En = {
|
|
332
332
|
width: "20",
|
|
333
333
|
height: "20",
|
|
334
334
|
viewBox: "0 0 20 20",
|
|
335
335
|
fill: "none",
|
|
336
336
|
xmlns: "http://www.w3.org/2000/svg"
|
|
337
337
|
};
|
|
338
|
-
function
|
|
339
|
-
return
|
|
340
|
-
|
|
338
|
+
function Rn(t, e) {
|
|
339
|
+
return p(), v("svg", En, e[0] || (e[0] = [
|
|
340
|
+
h("path", {
|
|
341
341
|
d: "M16.6673 5.83594L6.66732 5.83594M16.6673 5.83594L13.7507 8.7526M16.6673 5.83594L13.7507 2.91927M14.1673 14.1693L3.33398 14.1693M3.33398 14.1693L6.25065 17.0859M3.33398 14.1693L6.25065 11.2526",
|
|
342
342
|
stroke: "currentColor",
|
|
343
343
|
"stroke-width": "1.5",
|
|
@@ -346,51 +346,51 @@ function Wn(t, e) {
|
|
|
346
346
|
}, null, -1)
|
|
347
347
|
]));
|
|
348
348
|
}
|
|
349
|
-
const
|
|
349
|
+
const zn = /* @__PURE__ */ D(Tn, [["render", Rn]]), Hn = {}, Wn = {
|
|
350
350
|
width: "20",
|
|
351
351
|
height: "20",
|
|
352
352
|
viewBox: "0 0 20 20",
|
|
353
353
|
fill: "none",
|
|
354
354
|
xmlns: "http://www.w3.org/2000/svg"
|
|
355
355
|
};
|
|
356
|
-
function
|
|
357
|
-
return
|
|
358
|
-
|
|
356
|
+
function Dn(t, e) {
|
|
357
|
+
return p(), v("svg", Wn, e[0] || (e[0] = [
|
|
358
|
+
h("path", {
|
|
359
359
|
d: "M11.1667 10.9167V9.66667L14.845 5.98833C15.1576 5.67585 15.3332 5.25199 15.3333 4.81V3H2V4.85583C2.00004 5.27033 2.15454 5.66994 2.43333 5.97667L6.16667 10.0833V17.1667C6.16667 17.1667 7.37495 16.7639 8.14917 16.5058",
|
|
360
360
|
stroke: "currentColor",
|
|
361
361
|
"stroke-width": "1.5",
|
|
362
362
|
"stroke-linecap": "round",
|
|
363
363
|
"stroke-linejoin": "round"
|
|
364
364
|
}, null, -1),
|
|
365
|
-
|
|
365
|
+
h("path", {
|
|
366
366
|
d: "M15.4116 11.3639L11.4924 15.283C11.4138 15.3616 11.3636 15.4642 11.3498 15.5746L11.0994 17.5789C11.059 17.9025 11.3341 18.1776 11.6577 18.1371L13.6622 17.8861C13.7725 17.8722 13.8751 17.8221 13.9537 17.7435L17.8724 13.8248C18.0676 13.6296 18.0676 13.313 17.8724 13.1177L16.1187 11.364C15.9234 11.1687 15.6068 11.1687 15.4116 11.3639Z",
|
|
367
367
|
stroke: "currentColor",
|
|
368
368
|
"stroke-width": "1.5"
|
|
369
369
|
}, null, -1),
|
|
370
|
-
|
|
370
|
+
h("path", {
|
|
371
371
|
d: "M14 12L16.4608 14.4608",
|
|
372
372
|
stroke: "currentColor",
|
|
373
373
|
"stroke-width": "1.5"
|
|
374
374
|
}, null, -1)
|
|
375
375
|
]));
|
|
376
376
|
}
|
|
377
|
-
const
|
|
377
|
+
const Pn = /* @__PURE__ */ D(Hn, [["render", Dn]]), An = {}, On = {
|
|
378
378
|
width: "20",
|
|
379
379
|
height: "20",
|
|
380
380
|
viewBox: "0 0 20 20",
|
|
381
381
|
fill: "none",
|
|
382
382
|
xmlns: "http://www.w3.org/2000/svg"
|
|
383
383
|
};
|
|
384
|
-
function
|
|
385
|
-
return
|
|
386
|
-
|
|
384
|
+
function jn(t, e) {
|
|
385
|
+
return p(), v("svg", On, e[0] || (e[0] = [
|
|
386
|
+
h("path", {
|
|
387
387
|
d: "M6.2832 15.8359H3.3332C3.11222 15.8359 2.90029 15.7482 2.74404 15.5919C2.58778 15.4356 2.5 15.2237 2.5 15.0027V4.16954C2.49995 4.06009 2.52146 3.9517 2.56331 3.85056C2.60516 3.74943 2.66652 3.65753 2.7439 3.58012C2.82127 3.50271 2.91314 3.4413 3.01426 3.3994C3.11537 3.3575 3.22375 3.33594 3.3332 3.33594H16.6668C16.7763 3.33594 16.8846 3.3575 16.9857 3.3994C17.0869 3.4413 17.1787 3.50271 17.2561 3.58012C17.3335 3.65753 17.3948 3.74943 17.4367 3.85056C17.4785 3.9517 17.5001 4.06009 17.5 4.16954V15.0027C17.5 15.2237 17.4122 15.4356 17.256 15.5919C17.0997 15.7482 16.8878 15.8359 16.6668 15.8359H5.38347",
|
|
388
388
|
stroke: "currentColor",
|
|
389
389
|
"stroke-width": "1.5",
|
|
390
390
|
"stroke-linecap": "round",
|
|
391
391
|
"stroke-linejoin": "round"
|
|
392
392
|
}, null, -1),
|
|
393
|
-
|
|
393
|
+
h("path", {
|
|
394
394
|
d: "M6.66406 2.5V5M13.3305 2.5V5M8.33046 10.8332L9.16406 11.6668L11.6641 9.1668",
|
|
395
395
|
stroke: "currentColor",
|
|
396
396
|
"stroke-width": "1.5",
|
|
@@ -399,35 +399,35 @@ function Un(t, e) {
|
|
|
399
399
|
}, null, -1)
|
|
400
400
|
]));
|
|
401
401
|
}
|
|
402
|
-
const
|
|
402
|
+
const Nn = /* @__PURE__ */ D(An, [["render", jn]]), Fn = {}, Zn = {
|
|
403
403
|
width: "20",
|
|
404
404
|
height: "20",
|
|
405
405
|
viewBox: "0 0 20 20",
|
|
406
406
|
fill: "none",
|
|
407
407
|
xmlns: "http://www.w3.org/2000/svg"
|
|
408
408
|
};
|
|
409
|
-
function
|
|
410
|
-
return
|
|
411
|
-
|
|
409
|
+
function Yn(t, e) {
|
|
410
|
+
return p(), v("svg", Zn, e[0] || (e[0] = [
|
|
411
|
+
je('<circle cx="4.5" cy="12.5" r="1.5" stroke="currentColor" stroke-width="1.5"></circle><circle cx="9.5" cy="8.5" r="1.5" transform="rotate(-180 9.5 8.5)" stroke="currentColor" stroke-width="1.5"></circle><circle cx="14.5" cy="12.5" r="1.5" stroke="currentColor" stroke-width="1.5"></circle><path d="M4.55469 10.5V2" stroke="currentColor" stroke-width="1.5"></path><path d="M9.44531 9.5L9.44531 18" stroke="currentColor" stroke-width="1.5"></path><path d="M14.5547 10.5V2" stroke="currentColor" stroke-width="1.5"></path><path d="M4.55469 18V15.5" stroke="currentColor" stroke-width="1.5"></path><path d="M9.44531 2L9.44531 5.5" stroke="currentColor" stroke-width="1.5"></path><path d="M14.5547 18V15.5" stroke="currentColor" stroke-width="1.5"></path>', 9)
|
|
412
412
|
]));
|
|
413
413
|
}
|
|
414
|
-
const
|
|
414
|
+
const Un = /* @__PURE__ */ D(Fn, [["render", Yn]]), Xn = {}, Kn = {
|
|
415
415
|
width: "20",
|
|
416
416
|
height: "20",
|
|
417
417
|
viewBox: "0 0 20 20",
|
|
418
418
|
fill: "none",
|
|
419
419
|
xmlns: "http://www.w3.org/2000/svg"
|
|
420
420
|
};
|
|
421
|
-
function
|
|
422
|
-
return
|
|
423
|
-
|
|
421
|
+
function qn(t, e) {
|
|
422
|
+
return p(), v("svg", Kn, e[0] || (e[0] = [
|
|
423
|
+
h("path", {
|
|
424
424
|
d: "M9.4676 15.1809L5.5026 16.5026V9.41927L1.76927 5.3126C1.49048 5.00588 1.33598 4.60627 1.33594 4.19177V2.33594H14.6693V4.14594C14.6692 4.58793 14.4935 5.01178 14.1809 5.32427L10.5026 9.0026V10.2526",
|
|
425
425
|
stroke: "currentColor",
|
|
426
426
|
"stroke-width": "1.5",
|
|
427
427
|
"stroke-linecap": "round",
|
|
428
428
|
"stroke-linejoin": "round"
|
|
429
429
|
}, null, -1),
|
|
430
|
-
|
|
430
|
+
h("path", {
|
|
431
431
|
d: "M16 16.8926V11M13.0537 13.9463H18.9463",
|
|
432
432
|
stroke: "currentColor",
|
|
433
433
|
"stroke-width": "1.5",
|
|
@@ -436,50 +436,50 @@ function eo(t, e) {
|
|
|
436
436
|
}, null, -1)
|
|
437
437
|
]));
|
|
438
438
|
}
|
|
439
|
-
const
|
|
439
|
+
const Gn = /* @__PURE__ */ D(Xn, [["render", qn]]), Jn = {
|
|
440
440
|
// arrow icons
|
|
441
|
-
arrowDown:
|
|
442
|
-
arrowTop:
|
|
443
|
-
arrowRight:
|
|
444
|
-
arrowLeft:
|
|
445
|
-
arrowReload:
|
|
441
|
+
arrowDown: Ct,
|
|
442
|
+
arrowTop: xt,
|
|
443
|
+
arrowRight: Tt,
|
|
444
|
+
arrowLeft: Ht,
|
|
445
|
+
arrowReload: St,
|
|
446
446
|
// table icons
|
|
447
|
-
columnInsert:
|
|
448
|
-
freeze:
|
|
449
|
-
unfreeze:
|
|
450
|
-
columnsMove:
|
|
451
|
-
empty:
|
|
447
|
+
columnInsert: At,
|
|
448
|
+
freeze: Ft,
|
|
449
|
+
unfreeze: Xt,
|
|
450
|
+
columnsMove: nn,
|
|
451
|
+
empty: Jt,
|
|
452
452
|
// actions icons
|
|
453
|
-
listBullet:
|
|
454
|
-
listBulletHorizontal:
|
|
455
|
-
close:
|
|
453
|
+
listBullet: rn,
|
|
454
|
+
listBulletHorizontal: un,
|
|
455
|
+
close: vn,
|
|
456
456
|
// filter icons
|
|
457
|
-
filterSave:
|
|
458
|
-
filterReset:
|
|
459
|
-
filterNew:
|
|
460
|
-
filterMultiselect:
|
|
461
|
-
filterExchange:
|
|
462
|
-
filterEdit:
|
|
463
|
-
filterDateCheck:
|
|
464
|
-
filterAdvanced:
|
|
465
|
-
filterAdd:
|
|
466
|
-
},
|
|
457
|
+
filterSave: wn,
|
|
458
|
+
filterReset: yn,
|
|
459
|
+
filterNew: $n,
|
|
460
|
+
filterMultiselect: Bn,
|
|
461
|
+
filterExchange: zn,
|
|
462
|
+
filterEdit: Pn,
|
|
463
|
+
filterDateCheck: Nn,
|
|
464
|
+
filterAdvanced: Un,
|
|
465
|
+
filterAdd: Gn
|
|
466
|
+
}, G = /* @__PURE__ */ te({
|
|
467
467
|
__name: "VIcon",
|
|
468
468
|
props: {
|
|
469
469
|
name: {}
|
|
470
470
|
},
|
|
471
471
|
setup(t) {
|
|
472
|
-
const e = t, o = S(() =>
|
|
473
|
-
return (n, l) => o.value ? (
|
|
472
|
+
const e = t, o = S(() => Jn[e.name]);
|
|
473
|
+
return (n, l) => o.value ? (p(), ne(Ne(o.value), { key: 0 })) : W("", !0);
|
|
474
474
|
}
|
|
475
|
-
}),
|
|
476
|
-
function
|
|
477
|
-
return
|
|
475
|
+
}), Qn = {}, eo = { class: "vt-loader" };
|
|
476
|
+
function to(t, e) {
|
|
477
|
+
return p(), v("span", eo);
|
|
478
478
|
}
|
|
479
|
-
const
|
|
479
|
+
const Xe = /* @__PURE__ */ D(Qn, [["render", to]]), no = ["disabled", "type", "data-placement"], oo = {
|
|
480
480
|
key: 2,
|
|
481
481
|
class: "vt-button__content"
|
|
482
|
-
},
|
|
482
|
+
}, we = /* @__PURE__ */ te({
|
|
483
483
|
__name: "VButton",
|
|
484
484
|
props: {
|
|
485
485
|
type: { default: "default" },
|
|
@@ -493,10 +493,10 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
493
493
|
},
|
|
494
494
|
emits: ["click"],
|
|
495
495
|
setup(t, { emit: e }) {
|
|
496
|
-
const o = t, n = e, l =
|
|
497
|
-
var C,
|
|
496
|
+
const o = t, n = e, l = $e(), s = S(() => !!(o.icon && o.shape)), i = S(() => {
|
|
497
|
+
var C, L;
|
|
498
498
|
const r = l.default ? l.default({}) : null;
|
|
499
|
-
return ((
|
|
499
|
+
return ((L = (C = r == null ? void 0 : r[0]) == null ? void 0 : C.children) == null ? void 0 : L.toString()) ?? "";
|
|
500
500
|
}), c = S(() => [
|
|
501
501
|
"vt-button",
|
|
502
502
|
`vt-button--${o.type}`,
|
|
@@ -506,41 +506,41 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
506
506
|
"vt-button--disabled": o.disabled || o.loading,
|
|
507
507
|
"vt-button--loading": o.loading
|
|
508
508
|
}
|
|
509
|
-
]),
|
|
509
|
+
]), a = S(() => s.value && o.tooltip ? i.value : null), u = (r) => {
|
|
510
510
|
!o.disabled && !o.loading && n("click", r);
|
|
511
511
|
};
|
|
512
512
|
return (r, C) => {
|
|
513
|
-
const
|
|
514
|
-
return
|
|
515
|
-
class:
|
|
513
|
+
const L = Fe("tooltip");
|
|
514
|
+
return Se((p(), v("button", {
|
|
515
|
+
class: z(c.value),
|
|
516
516
|
disabled: o.disabled || o.loading,
|
|
517
517
|
type: o.htmlType,
|
|
518
518
|
"data-placement": o.tooltipPlacement,
|
|
519
|
-
onClick:
|
|
519
|
+
onClick: u
|
|
520
520
|
}, [
|
|
521
|
-
o.loading ? (
|
|
521
|
+
o.loading ? (p(), ne(Xe, {
|
|
522
522
|
key: 0,
|
|
523
523
|
class: "vt-button__icon"
|
|
524
|
-
})) : o.icon ? (
|
|
524
|
+
})) : o.icon ? (p(), ne(G, {
|
|
525
525
|
key: 1,
|
|
526
526
|
name: o.icon,
|
|
527
527
|
class: "vt-button__icon"
|
|
528
528
|
}, null, 8, ["name"])) : W("", !0),
|
|
529
|
-
s.value ? W("", !0) : (
|
|
529
|
+
s.value ? W("", !0) : (p(), v("span", oo, [
|
|
530
530
|
de(r.$slots, "default")
|
|
531
531
|
]))
|
|
532
|
-
], 10,
|
|
533
|
-
[
|
|
532
|
+
], 10, no)), [
|
|
533
|
+
[L, a.value]
|
|
534
534
|
]);
|
|
535
535
|
};
|
|
536
536
|
}
|
|
537
|
-
}),
|
|
537
|
+
}), lo = {
|
|
538
538
|
key: 0,
|
|
539
539
|
class: "vt-modal__header"
|
|
540
|
-
},
|
|
540
|
+
}, so = {
|
|
541
541
|
key: 0,
|
|
542
542
|
class: "vt-modal__title"
|
|
543
|
-
},
|
|
543
|
+
}, ro = { class: "vt-modal__content" }, Ke = /* @__PURE__ */ te({
|
|
544
544
|
__name: "VModal",
|
|
545
545
|
props: {
|
|
546
546
|
modelValue: { type: Boolean },
|
|
@@ -554,40 +554,40 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
554
554
|
setup(t, { emit: e }) {
|
|
555
555
|
const o = t, n = e, l = S(() => ["vt-modal__container", `vt-modal__container--${o.size}`]), s = S(() => ({
|
|
556
556
|
zIndex: o.zIndex
|
|
557
|
-
})),
|
|
557
|
+
})), i = () => {
|
|
558
558
|
n("update:modelValue", !1), n("close");
|
|
559
559
|
}, c = () => {
|
|
560
|
-
o.closeOnBackdropClick &&
|
|
560
|
+
o.closeOnBackdropClick && i();
|
|
561
561
|
};
|
|
562
|
-
return (
|
|
563
|
-
|
|
562
|
+
return (a, u) => (p(), ne(Ze, { to: "body" }, [
|
|
563
|
+
a.modelValue ? (p(), v("div", {
|
|
564
564
|
key: 0,
|
|
565
565
|
class: "vt-modal__backdrop",
|
|
566
566
|
style: se(s.value),
|
|
567
567
|
onClick: c
|
|
568
568
|
}, [
|
|
569
|
-
|
|
570
|
-
class:
|
|
571
|
-
onClick:
|
|
569
|
+
h("div", {
|
|
570
|
+
class: z(l.value),
|
|
571
|
+
onClick: u[0] || (u[0] = he(() => {
|
|
572
572
|
}, ["stop"]))
|
|
573
573
|
}, [
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
574
|
+
a.title || a.showCloseButton ? (p(), v("div", lo, [
|
|
575
|
+
a.title ? (p(), v("h2", so, ee(a.title), 1)) : W("", !0),
|
|
576
|
+
a.showCloseButton ? (p(), ne(G, {
|
|
577
577
|
key: 1,
|
|
578
578
|
name: "close",
|
|
579
579
|
class: "vt-modal__close",
|
|
580
|
-
onClick:
|
|
580
|
+
onClick: i
|
|
581
581
|
})) : W("", !0)
|
|
582
582
|
])) : W("", !0),
|
|
583
|
-
|
|
584
|
-
de(
|
|
583
|
+
h("div", ro, [
|
|
584
|
+
de(a.$slots, "default")
|
|
585
585
|
])
|
|
586
586
|
], 2)
|
|
587
587
|
], 4)) : W("", !0)
|
|
588
588
|
]));
|
|
589
589
|
}
|
|
590
|
-
}),
|
|
590
|
+
}), io = { class: "vt-pagination" }, ao = { class: "vt-pagination__info" }, co = { class: "vt-pagination__rows-per-page" }, uo = ["value"], po = { class: "vt-pagination__navigation" }, ho = ["disabled"], mo = ["onClick"], vo = ["disabled"], fo = /* @__PURE__ */ te({
|
|
591
591
|
__name: "VPagination",
|
|
592
592
|
props: {
|
|
593
593
|
totalItems: {},
|
|
@@ -600,101 +600,101 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
600
600
|
setup(t, { emit: e }) {
|
|
601
601
|
const o = t, n = e, l = S({
|
|
602
602
|
get: () => o.currentPage,
|
|
603
|
-
set: (
|
|
603
|
+
set: (b) => n("update:currentPage", b)
|
|
604
604
|
}), s = S({
|
|
605
605
|
get: () => o.pageSize,
|
|
606
|
-
set: (
|
|
607
|
-
}),
|
|
608
|
-
const
|
|
609
|
-
if (
|
|
610
|
-
for (let
|
|
611
|
-
|
|
606
|
+
set: (b) => n("update:pageSize", b)
|
|
607
|
+
}), i = S(() => Math.ceil(o.totalItems / s.value)), c = S(() => o.totalItems === 0 ? 0 : (l.value - 1) * s.value + 1), a = S(() => Math.min(l.value * s.value, o.totalItems)), u = S(() => l.value <= 1), r = S(() => l.value >= i.value), C = S(() => {
|
|
608
|
+
const b = [], I = i.value, V = l.value, K = o.maxVisiblePages;
|
|
609
|
+
if (I <= K)
|
|
610
|
+
for (let q = 1; q <= I; q++)
|
|
611
|
+
b.push(q);
|
|
612
612
|
else {
|
|
613
|
-
|
|
614
|
-
const
|
|
615
|
-
|
|
616
|
-
for (let
|
|
617
|
-
|
|
618
|
-
|
|
613
|
+
b.push(1);
|
|
614
|
+
const q = Math.max(2, V - Math.floor(K / 2)), Q = Math.min(I - 1, V + Math.floor(K / 2));
|
|
615
|
+
q > 2 && b.push("...");
|
|
616
|
+
for (let U = q; U <= Q; U++)
|
|
617
|
+
b.push(U);
|
|
618
|
+
Q < I - 1 && b.push("..."), I > 1 && b.push(I);
|
|
619
619
|
}
|
|
620
|
-
return
|
|
621
|
-
}),
|
|
620
|
+
return b;
|
|
621
|
+
}), L = () => {
|
|
622
622
|
n("pageChange", {
|
|
623
623
|
page: l.value,
|
|
624
624
|
pageSize: s.value
|
|
625
625
|
});
|
|
626
|
-
},
|
|
627
|
-
typeof
|
|
628
|
-
},
|
|
629
|
-
|
|
630
|
-
},
|
|
631
|
-
r.value || (l.value++,
|
|
632
|
-
},
|
|
633
|
-
l.value = 1,
|
|
634
|
-
},
|
|
626
|
+
}, j = (b) => {
|
|
627
|
+
typeof b == "number" && b !== l.value && (l.value = b, L());
|
|
628
|
+
}, Y = () => {
|
|
629
|
+
u.value || (l.value--, L());
|
|
630
|
+
}, N = () => {
|
|
631
|
+
r.value || (l.value++, L());
|
|
632
|
+
}, R = () => {
|
|
633
|
+
l.value = 1, L();
|
|
634
|
+
}, A = () => {
|
|
635
635
|
n("reloadData", l.value);
|
|
636
636
|
};
|
|
637
637
|
return ve(
|
|
638
638
|
() => o.totalItems,
|
|
639
639
|
() => {
|
|
640
|
-
l.value >
|
|
640
|
+
l.value > i.value && i.value > 0 && (l.value = i.value, L());
|
|
641
641
|
}
|
|
642
|
-
), (
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
642
|
+
), (b, I) => (p(), v("div", io, [
|
|
643
|
+
h("div", ao, [
|
|
644
|
+
h("div", co, [
|
|
645
|
+
I[1] || (I[1] = h("label", {
|
|
646
646
|
for: "rowsSelect",
|
|
647
647
|
class: "vt-pagination__label"
|
|
648
648
|
}, "Рядків на сторінку:", -1)),
|
|
649
|
-
|
|
649
|
+
Se(h("select", {
|
|
650
650
|
id: "rowsSelect",
|
|
651
|
-
"onUpdate:modelValue":
|
|
652
|
-
onChange:
|
|
651
|
+
"onUpdate:modelValue": I[0] || (I[0] = (V) => s.value = V),
|
|
652
|
+
onChange: R,
|
|
653
653
|
class: "vt-pagination__select"
|
|
654
654
|
}, [
|
|
655
|
-
(
|
|
656
|
-
key:
|
|
657
|
-
value:
|
|
658
|
-
}, ee(
|
|
655
|
+
(p(!0), v(re, null, ie(b.pageSizeOptions, (V) => (p(), v("option", {
|
|
656
|
+
key: V,
|
|
657
|
+
value: V
|
|
658
|
+
}, ee(V), 9, uo))), 128))
|
|
659
659
|
], 544), [
|
|
660
|
-
[
|
|
660
|
+
[pt, s.value]
|
|
661
661
|
])
|
|
662
662
|
]),
|
|
663
|
-
|
|
663
|
+
h("span", null, ee(c.value) + " - " + ee(a.value) + " з " + ee(b.totalItems), 1)
|
|
664
664
|
]),
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
onClick:
|
|
668
|
-
disabled:
|
|
669
|
-
class:
|
|
665
|
+
h("div", po, [
|
|
666
|
+
h("button", {
|
|
667
|
+
onClick: Y,
|
|
668
|
+
disabled: u.value,
|
|
669
|
+
class: z({ "vt-pagination__nav-button": !0, "has-items": !u.value })
|
|
670
670
|
}, [
|
|
671
|
-
|
|
672
|
-
], 10,
|
|
673
|
-
(
|
|
674
|
-
key:
|
|
675
|
-
onClick: (
|
|
676
|
-
class:
|
|
677
|
-
"vt-pagination__nav-button--active":
|
|
671
|
+
F(G, { name: "arrowLeft" })
|
|
672
|
+
], 10, ho),
|
|
673
|
+
(p(!0), v(re, null, ie(C.value, (V) => (p(), v("button", {
|
|
674
|
+
key: V,
|
|
675
|
+
onClick: (K) => j(V),
|
|
676
|
+
class: z(["vt-pagination__nav-button", {
|
|
677
|
+
"vt-pagination__nav-button--active": V === l.value
|
|
678
678
|
}])
|
|
679
|
-
}, ee(
|
|
680
|
-
|
|
681
|
-
onClick:
|
|
679
|
+
}, ee(V), 11, mo))), 128)),
|
|
680
|
+
h("button", {
|
|
681
|
+
onClick: N,
|
|
682
682
|
disabled: r.value,
|
|
683
|
-
class:
|
|
683
|
+
class: z({ "vt-pagination__nav-button": !0, "has-items": !r.value })
|
|
684
684
|
}, [
|
|
685
|
-
|
|
686
|
-
], 10,
|
|
685
|
+
F(G, { name: "arrowRight" })
|
|
686
|
+
], 10, vo)
|
|
687
687
|
]),
|
|
688
|
-
|
|
689
|
-
|
|
688
|
+
h("div", null, [
|
|
689
|
+
F(we, {
|
|
690
690
|
icon: "arrowReload",
|
|
691
691
|
shape: "circle",
|
|
692
692
|
tooltip: "",
|
|
693
693
|
tooltipPlacement: "left",
|
|
694
|
-
onClick:
|
|
694
|
+
onClick: A
|
|
695
695
|
}, {
|
|
696
|
-
default: ue(() =>
|
|
697
|
-
|
|
696
|
+
default: ue(() => I[2] || (I[2] = [
|
|
697
|
+
ge("Оновити дані ", -1)
|
|
698
698
|
])),
|
|
699
699
|
_: 1,
|
|
700
700
|
__: [2]
|
|
@@ -702,7 +702,7 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
702
702
|
])
|
|
703
703
|
]));
|
|
704
704
|
}
|
|
705
|
-
}),
|
|
705
|
+
}), _o = ["for"], go = ["id", "name", "value", "checked", "disabled", "required", ".indeterminate"], pe = /* @__PURE__ */ te({
|
|
706
706
|
__name: "VCheckbox",
|
|
707
707
|
props: {
|
|
708
708
|
modelValue: { type: Boolean, default: void 0 },
|
|
@@ -720,17 +720,17 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
720
720
|
},
|
|
721
721
|
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
722
722
|
setup(t, { emit: e }) {
|
|
723
|
-
const o = t, n = e, l = () => `vt-checkbox-${Math.random().toString(36).substr(2, 9)}`, s = S(() => o.id || l()),
|
|
723
|
+
const o = t, n = e, l = () => `vt-checkbox-${Math.random().toString(36).substr(2, 9)}`, s = S(() => o.id || l()), i = S(() => o.modelValue ?? o.checked), c = (r) => {
|
|
724
724
|
if (o.disabled) return;
|
|
725
|
-
const
|
|
726
|
-
n("update:modelValue",
|
|
727
|
-
},
|
|
725
|
+
const L = r.target.checked;
|
|
726
|
+
n("update:modelValue", L), n("change", L, r);
|
|
727
|
+
}, a = (r) => {
|
|
728
728
|
n("focus", r);
|
|
729
|
-
},
|
|
729
|
+
}, u = (r) => {
|
|
730
730
|
n("blur", r);
|
|
731
731
|
};
|
|
732
|
-
return (r, C) => (
|
|
733
|
-
class:
|
|
732
|
+
return (r, C) => (p(), v("label", {
|
|
733
|
+
class: z([
|
|
734
734
|
"vt-checkbox",
|
|
735
735
|
`vt-checkbox--${r.size}`,
|
|
736
736
|
`vt-checkbox--${r.variant}`,
|
|
@@ -741,37 +741,37 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
741
741
|
]),
|
|
742
742
|
for: s.value
|
|
743
743
|
}, [
|
|
744
|
-
|
|
744
|
+
h("input", {
|
|
745
745
|
id: s.value,
|
|
746
746
|
name: r.name,
|
|
747
747
|
value: r.value,
|
|
748
|
-
checked:
|
|
748
|
+
checked: i.value,
|
|
749
749
|
disabled: r.disabled,
|
|
750
750
|
required: r.required,
|
|
751
751
|
".indeterminate": r.indeterminate,
|
|
752
752
|
type: "checkbox",
|
|
753
753
|
class: "vt-checkbox__input",
|
|
754
754
|
onChange: c,
|
|
755
|
-
onFocus:
|
|
756
|
-
onBlur:
|
|
757
|
-
}, null, 40,
|
|
758
|
-
|
|
759
|
-
class:
|
|
755
|
+
onFocus: a,
|
|
756
|
+
onBlur: u
|
|
757
|
+
}, null, 40, go),
|
|
758
|
+
h("div", {
|
|
759
|
+
class: z([
|
|
760
760
|
"vt-checkbox__box",
|
|
761
761
|
{
|
|
762
|
-
"vt-checkbox__box--checked":
|
|
762
|
+
"vt-checkbox__box--checked": i.value && !r.indeterminate && !r.isDouble,
|
|
763
763
|
"vt-checkbox__box--indeterminate": r.indeterminate,
|
|
764
|
-
"vt-checkbox__box--double": r.isDouble &&
|
|
764
|
+
"vt-checkbox__box--double": r.isDouble && i.value,
|
|
765
765
|
"vt-checkbox__box--disabled": r.disabled
|
|
766
766
|
}
|
|
767
767
|
])
|
|
768
768
|
}, [
|
|
769
|
-
!r.indeterminate && !r.isDouble ? (
|
|
769
|
+
!r.indeterminate && !r.isDouble ? (p(), v("svg", {
|
|
770
770
|
key: 0,
|
|
771
|
-
class:
|
|
771
|
+
class: z([
|
|
772
772
|
"vt-checkbox__checkmark",
|
|
773
773
|
{
|
|
774
|
-
"vt-checkbox__checkmark--checked":
|
|
774
|
+
"vt-checkbox__checkmark--checked": i.value
|
|
775
775
|
}
|
|
776
776
|
]),
|
|
777
777
|
width: "10",
|
|
@@ -780,19 +780,19 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
780
780
|
fill: "none",
|
|
781
781
|
xmlns: "http://www.w3.org/2000/svg"
|
|
782
782
|
}, C[0] || (C[0] = [
|
|
783
|
-
|
|
783
|
+
h("path", {
|
|
784
784
|
d: "M1 5L3.58264 7.58264C3.80112 7.80112 4.16348 7.77113 4.34306 7.51971L9 1",
|
|
785
785
|
stroke: "currentColor",
|
|
786
786
|
"stroke-width": "2",
|
|
787
787
|
"stroke-linecap": "round"
|
|
788
788
|
}, null, -1)
|
|
789
789
|
]), 2)) : W("", !0),
|
|
790
|
-
r.isDouble &&
|
|
790
|
+
r.isDouble && i.value ? (p(), v("svg", {
|
|
791
791
|
key: 1,
|
|
792
|
-
class:
|
|
792
|
+
class: z([
|
|
793
793
|
"vt-checkbox__checkmark",
|
|
794
794
|
{
|
|
795
|
-
"vt-checkbox__checkmark--checked":
|
|
795
|
+
"vt-checkbox__checkmark--checked": i.value
|
|
796
796
|
}
|
|
797
797
|
]),
|
|
798
798
|
width: "13",
|
|
@@ -801,14 +801,14 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
801
801
|
fill: "none",
|
|
802
802
|
xmlns: "http://www.w3.org/2000/svg"
|
|
803
803
|
}, C[1] || (C[1] = [
|
|
804
|
-
|
|
804
|
+
h("path", {
|
|
805
805
|
d: "M6 3L8.25 5L12 1",
|
|
806
806
|
stroke: "currentColor",
|
|
807
807
|
"stroke-width": "2",
|
|
808
808
|
"stroke-linecap": "round",
|
|
809
809
|
"stroke-linejoin": "round"
|
|
810
810
|
}, null, -1),
|
|
811
|
-
|
|
811
|
+
h("path", {
|
|
812
812
|
d: "M1 3L3.25 5L7 1",
|
|
813
813
|
stroke: "currentColor",
|
|
814
814
|
"stroke-width": "2",
|
|
@@ -816,9 +816,9 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
816
816
|
"stroke-linejoin": "round"
|
|
817
817
|
}, null, -1)
|
|
818
818
|
]), 2)) : W("", !0),
|
|
819
|
-
r.indeterminate ? (
|
|
819
|
+
r.indeterminate ? (p(), v("div", {
|
|
820
820
|
key: 2,
|
|
821
|
-
class:
|
|
821
|
+
class: z([
|
|
822
822
|
"vt-checkbox__indeterminate-mark",
|
|
823
823
|
{
|
|
824
824
|
"vt-checkbox__indeterminate-mark--visible": r.indeterminate
|
|
@@ -826,9 +826,9 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
826
826
|
])
|
|
827
827
|
}, null, 2)) : W("", !0)
|
|
828
828
|
], 2),
|
|
829
|
-
r.label || r.$slots.label || r.$slots.default ? (
|
|
829
|
+
r.label || r.$slots.label || r.$slots.default ? (p(), v("span", {
|
|
830
830
|
key: 0,
|
|
831
|
-
class:
|
|
831
|
+
class: z([
|
|
832
832
|
"vt-checkbox__label",
|
|
833
833
|
{
|
|
834
834
|
"vt-checkbox__label--disabled": r.disabled
|
|
@@ -837,177 +837,177 @@ const Ge = /* @__PURE__ */ P(oo, [["render", so]]), ro = ["disabled", "type", "d
|
|
|
837
837
|
}, [
|
|
838
838
|
de(r.$slots, "label", {}, () => [
|
|
839
839
|
de(r.$slots, "default", {}, () => [
|
|
840
|
-
|
|
840
|
+
ge(ee(r.label), 1)
|
|
841
841
|
])
|
|
842
842
|
])
|
|
843
843
|
], 2)) : W("", !0)
|
|
844
|
-
], 10,
|
|
844
|
+
], 10, _o));
|
|
845
845
|
}
|
|
846
846
|
});
|
|
847
|
-
function
|
|
847
|
+
function wo(t) {
|
|
848
848
|
const e = S(() => [...t].sort((l, s) => l.pinnedLeft && !s.pinnedLeft ? -1 : !l.pinnedLeft && s.pinnedLeft || l.pinnedRight && !s.pinnedRight ? 1 : !l.pinnedRight && s.pinnedRight ? -1 : 0)), o = () => {
|
|
849
|
-
const l = e.value.length, s = e.value.filter((r) => r.width || r.minWidth),
|
|
849
|
+
const l = e.value.length, s = e.value.filter((r) => r.width || r.minWidth), i = s.reduce((r, C) => r + (C.width || C.minWidth || 0), 0), c = l - s.length;
|
|
850
850
|
if (c === 0) return 150;
|
|
851
|
-
const
|
|
852
|
-
return Math.max(Math.floor(
|
|
851
|
+
const u = Math.max(800 - i, c * 80);
|
|
852
|
+
return Math.max(Math.floor(u / c), 120);
|
|
853
853
|
};
|
|
854
854
|
return {
|
|
855
855
|
sortedColumns: e,
|
|
856
856
|
getDefaultColumnWidth: o,
|
|
857
|
-
getStickyOffset: (l, s,
|
|
857
|
+
getStickyOffset: (l, s, i = !1) => {
|
|
858
858
|
const c = e.value;
|
|
859
|
-
let
|
|
859
|
+
let a = 0;
|
|
860
860
|
if (l === "left") {
|
|
861
|
-
|
|
862
|
-
for (let
|
|
863
|
-
const r = c[
|
|
864
|
-
r.pinnedLeft && (
|
|
861
|
+
i && (a += 50);
|
|
862
|
+
for (let u = 0; u < s; u++) {
|
|
863
|
+
const r = c[u];
|
|
864
|
+
r.pinnedLeft && (a += r.width || r.minWidth || o());
|
|
865
865
|
}
|
|
866
866
|
} else
|
|
867
|
-
for (let
|
|
868
|
-
const r = c[
|
|
869
|
-
r.pinnedRight && (
|
|
867
|
+
for (let u = c.length - 1; u > s; u--) {
|
|
868
|
+
const r = c[u];
|
|
869
|
+
r.pinnedRight && (a += r.width || r.minWidth || o());
|
|
870
870
|
}
|
|
871
|
-
return
|
|
871
|
+
return a;
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function Co(t) {
|
|
876
876
|
const e = () => {
|
|
877
877
|
const s = {};
|
|
878
878
|
return t.maxHeight && (s.maxHeight = `${t.maxHeight}px`), s;
|
|
879
|
-
}, o = (s,
|
|
880
|
-
const
|
|
879
|
+
}, o = (s, i, c, a) => {
|
|
880
|
+
const u = {};
|
|
881
881
|
if (s.width)
|
|
882
|
-
|
|
882
|
+
u.width = `${s.width}px`, u.minWidth = `${s.width}px`, u.maxWidth = `${s.width}px`;
|
|
883
883
|
else if (s.minWidth)
|
|
884
|
-
|
|
884
|
+
u.minWidth = `${s.minWidth}px`, u.width = `${s.minWidth}px`, u.maxWidth = "none";
|
|
885
885
|
else {
|
|
886
|
-
const r =
|
|
887
|
-
|
|
886
|
+
const r = a();
|
|
887
|
+
u.width = `${r}px`, u.minWidth = "80px", u.maxWidth = "none";
|
|
888
888
|
}
|
|
889
|
-
return s.pinnedLeft ? (
|
|
889
|
+
return s.pinnedLeft ? (u.position = "sticky", u.left = `${c("left", i, t.selectable)}px`, u.zIndex = "10") : s.pinnedRight && (u.position = "sticky", u.right = `${c("right", i, !1)}px`, u.zIndex = "10"), u;
|
|
890
890
|
};
|
|
891
891
|
return {
|
|
892
892
|
getTableWrapperStyle: e,
|
|
893
893
|
getColumnStyle: o,
|
|
894
|
-
getHeaderStyle: (s,
|
|
895
|
-
const
|
|
896
|
-
return t.maxHeight && (
|
|
894
|
+
getHeaderStyle: (s, i, c, a) => {
|
|
895
|
+
const u = o(s, i, c, a);
|
|
896
|
+
return t.maxHeight && (u.position = "sticky", u.top = "0", s.pinnedLeft || s.pinnedRight ? u.zIndex = "12" : u.zIndex = "11"), u;
|
|
897
897
|
},
|
|
898
|
-
getFooterStyle: (s,
|
|
899
|
-
const
|
|
900
|
-
return t.maxHeight && (
|
|
898
|
+
getFooterStyle: (s, i, c, a) => {
|
|
899
|
+
const u = o(s, i, c, a);
|
|
900
|
+
return t.maxHeight && (u.position = "sticky", u.bottom = "0", s.pinnedLeft || s.pinnedRight ? u.zIndex = "12" : u.zIndex = "11"), u;
|
|
901
901
|
}
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
|
-
function
|
|
905
|
-
const t =
|
|
904
|
+
function ko() {
|
|
905
|
+
const t = P({
|
|
906
906
|
resizingCol: null,
|
|
907
907
|
startX: 0,
|
|
908
908
|
startWidth: 0
|
|
909
909
|
}), e = `url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path d='M5 13L2 10L5 7' stroke='%23828282' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M15 7L18 10L15 13' stroke='%23828282' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M10 3L10 17' stroke='%23828282' stroke-width='3' stroke-linecap='round'/></svg>") 10 10, col-resize`;
|
|
910
910
|
return {
|
|
911
|
-
onMouseDown: (n, l, s,
|
|
911
|
+
onMouseDown: (n, l, s, i) => {
|
|
912
912
|
n.preventDefault(), n.stopPropagation(), t.value.resizingCol = l, t.value.startX = n.clientX, t.value.startWidth = l.width || l.minWidth || s(l.prop);
|
|
913
|
-
const c = (
|
|
914
|
-
const { resizingCol: r, startX: C, startWidth:
|
|
913
|
+
const c = (u) => {
|
|
914
|
+
const { resizingCol: r, startX: C, startWidth: L } = t.value;
|
|
915
915
|
if (!r) return;
|
|
916
|
-
document.querySelectorAll(`[data-resizer="${r.prop}"]`).forEach((
|
|
917
|
-
|
|
916
|
+
document.querySelectorAll(`[data-resizer="${r.prop}"]`).forEach((A) => {
|
|
917
|
+
A.classList.add("vt-table__resizer--active");
|
|
918
918
|
});
|
|
919
|
-
const
|
|
920
|
-
r.width =
|
|
921
|
-
},
|
|
922
|
-
const { resizingCol:
|
|
923
|
-
document.removeEventListener("mousemove", c), document.removeEventListener("mouseup",
|
|
919
|
+
const j = u.clientX - C, Y = r.minWidth || 50, N = r.maxWidth || 1e3, R = Math.max(Math.min(L + j, N), Y);
|
|
920
|
+
r.width = R;
|
|
921
|
+
}, a = () => {
|
|
922
|
+
const { resizingCol: u } = t.value;
|
|
923
|
+
document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", a), document.body.style.cursor = "", document.body.style.userSelect = "", document.body.classList.remove("vt-table-resizing"), u && (document.querySelectorAll(`[data-resizer="${u.prop}"]`).forEach((r) => {
|
|
924
924
|
r.classList.remove("vt-table__resizer--active");
|
|
925
|
-
}),
|
|
925
|
+
}), i && u.width && i(u.width)), t.value.resizingCol = null;
|
|
926
926
|
};
|
|
927
|
-
document.addEventListener("mousemove", c), document.addEventListener("mouseup",
|
|
927
|
+
document.addEventListener("mousemove", c), document.addEventListener("mouseup", a), document.body.style.cursor = e, document.body.style.userSelect = "none", document.body.classList.add("vt-table-resizing");
|
|
928
928
|
},
|
|
929
929
|
resizeState: t
|
|
930
930
|
};
|
|
931
931
|
}
|
|
932
|
-
function
|
|
933
|
-
var
|
|
934
|
-
const l = t.selectionKey || "id", s =
|
|
935
|
-
(
|
|
936
|
-
const
|
|
932
|
+
function bo(t, e, o, n) {
|
|
933
|
+
var oe;
|
|
934
|
+
const l = t.selectionKey || "id", s = P([]), i = P(null), c = P(!1);
|
|
935
|
+
(oe = t.defaultSelection) != null && oe.length && (s.value = [...t.defaultSelection]);
|
|
936
|
+
const a = (k) => k[l], u = (k) => c.value ? !0 : s.value.some((m) => a(m) === a(k)), r = S(() => e.value.filter((k) => u(k)).length), C = S(() => e.value.length > 0 && r.value === e.value.length), L = S(() => {
|
|
937
937
|
if (c.value) return !1;
|
|
938
|
-
const
|
|
939
|
-
return
|
|
940
|
-
}),
|
|
941
|
-
const
|
|
942
|
-
if (c.value && !
|
|
943
|
-
c.value = !1, n != null && n.value && (s.value = n.value.filter((
|
|
938
|
+
const k = r.value;
|
|
939
|
+
return k > 0 && k < e.value.length;
|
|
940
|
+
}), j = S(() => c.value ? !0 : C.value && !L.value), Y = S(() => c.value), N = (k, m) => {
|
|
941
|
+
const y = a(k), M = s.value.some((_) => a(_) === a(k)), d = m !== void 0 ? m : !M;
|
|
942
|
+
if (c.value && !d) {
|
|
943
|
+
c.value = !1, n != null && n.value && (s.value = n.value.filter((_) => a(_) !== y)), U(k, !1);
|
|
944
944
|
return;
|
|
945
945
|
}
|
|
946
|
-
c.value &&
|
|
947
|
-
},
|
|
948
|
-
switch (
|
|
946
|
+
c.value && d || (d && !M ? s.value.push(k) : !d && M && (s.value = s.value.filter((_) => a(_) !== y)), t.selectOnClickRow && m === void 0 && K(d ? k : null), U(k, d));
|
|
947
|
+
}, R = () => {
|
|
948
|
+
switch (A()) {
|
|
949
949
|
case "none":
|
|
950
950
|
case "partial":
|
|
951
|
-
|
|
951
|
+
b();
|
|
952
952
|
break;
|
|
953
953
|
case "allVisible":
|
|
954
|
-
|
|
954
|
+
I();
|
|
955
955
|
break;
|
|
956
956
|
case "absoluteAll":
|
|
957
|
-
|
|
957
|
+
V();
|
|
958
958
|
break;
|
|
959
959
|
}
|
|
960
|
-
},
|
|
961
|
-
const
|
|
962
|
-
s.value.forEach((
|
|
963
|
-
|
|
964
|
-
}), e.value.forEach((
|
|
965
|
-
|
|
966
|
-
}), s.value =
|
|
967
|
-
}, V = () => {
|
|
968
|
-
c.value = !0, n != null && n.value ? s.value = [...n.value] : s.value = [...e.value], $(void 0, void 0, !0);
|
|
960
|
+
}, A = () => c.value ? "absoluteAll" : C.value ? "allVisible" : r.value > 0 ? "partial" : "none", b = () => {
|
|
961
|
+
const k = [], m = new Set(s.value.map((y) => a(y)));
|
|
962
|
+
s.value.forEach((y) => {
|
|
963
|
+
k.push(y);
|
|
964
|
+
}), e.value.forEach((y) => {
|
|
965
|
+
m.has(a(y)) || k.push(y);
|
|
966
|
+
}), s.value = k, c.value = !1, U();
|
|
969
967
|
}, I = () => {
|
|
970
|
-
|
|
971
|
-
},
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
968
|
+
c.value = !0, n != null && n.value ? s.value = [...n.value] : s.value = [...e.value], U(void 0, void 0, !0);
|
|
969
|
+
}, V = () => {
|
|
970
|
+
s.value = [], c.value = !1, i.value = null, U();
|
|
971
|
+
}, K = (k) => {
|
|
972
|
+
const m = i.value;
|
|
973
|
+
i.value = k, o("current-change", {
|
|
974
|
+
currentRow: i.value,
|
|
975
|
+
oldCurrentRow: m
|
|
976
976
|
});
|
|
977
|
-
},
|
|
978
|
-
s.value = [...
|
|
979
|
-
},
|
|
980
|
-
const
|
|
977
|
+
}, q = () => [...s.value], Q = (k) => {
|
|
978
|
+
s.value = [...k], c.value = !1, U();
|
|
979
|
+
}, U = (k, m, y = !1) => {
|
|
980
|
+
const M = {
|
|
981
981
|
selection: [...s.value],
|
|
982
|
-
row:
|
|
983
|
-
selected:
|
|
984
|
-
isAllSelected:
|
|
982
|
+
row: k,
|
|
983
|
+
selected: m,
|
|
984
|
+
isAllSelected: y || c.value
|
|
985
985
|
};
|
|
986
|
-
o("selection-change",
|
|
986
|
+
o("selection-change", M);
|
|
987
987
|
};
|
|
988
988
|
return ve(
|
|
989
989
|
() => t.defaultSelection,
|
|
990
|
-
(
|
|
991
|
-
|
|
990
|
+
(k) => {
|
|
991
|
+
k != null && k.length && (s.value = [...k]);
|
|
992
992
|
}
|
|
993
993
|
), {
|
|
994
994
|
selectedRows: s,
|
|
995
|
-
currentRow:
|
|
996
|
-
isRowSelected:
|
|
997
|
-
isAllSelected:
|
|
998
|
-
isIndeterminate:
|
|
999
|
-
isDoubleCheck:
|
|
995
|
+
currentRow: i,
|
|
996
|
+
isRowSelected: u,
|
|
997
|
+
isAllSelected: j,
|
|
998
|
+
isIndeterminate: L,
|
|
999
|
+
isDoubleCheck: Y,
|
|
1000
1000
|
isFullSelection: c,
|
|
1001
|
-
toggleRowSelection:
|
|
1002
|
-
toggleAllSelection:
|
|
1003
|
-
clearSelection:
|
|
1004
|
-
setCurrentRow:
|
|
1005
|
-
getSelectionRows:
|
|
1006
|
-
setSelectionRows:
|
|
1007
|
-
selectAbsolutelyAll:
|
|
1001
|
+
toggleRowSelection: N,
|
|
1002
|
+
toggleAllSelection: R,
|
|
1003
|
+
clearSelection: V,
|
|
1004
|
+
setCurrentRow: K,
|
|
1005
|
+
getSelectionRows: q,
|
|
1006
|
+
setSelectionRows: Q,
|
|
1007
|
+
selectAbsolutelyAll: I
|
|
1008
1008
|
};
|
|
1009
1009
|
}
|
|
1010
|
-
function
|
|
1010
|
+
function yo(t, e) {
|
|
1011
1011
|
if (!t)
|
|
1012
1012
|
return String(e.value ?? "");
|
|
1013
1013
|
try {
|
|
@@ -1017,38 +1017,38 @@ function $o(t, e) {
|
|
|
1017
1017
|
return console.error("Error rendering table slot:", o), String(e.value ?? "");
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
|
-
const
|
|
1020
|
+
const xo = (t, e, o = "asc") => {
|
|
1021
1021
|
if (t == null && e == null) return 0;
|
|
1022
1022
|
if (t == null) return o === "asc" ? 1 : -1;
|
|
1023
1023
|
if (e == null) return o === "asc" ? -1 : 1;
|
|
1024
1024
|
if (t === e) return 0;
|
|
1025
1025
|
let n = 0;
|
|
1026
1026
|
const l = Number(t), s = Number(e);
|
|
1027
|
-
return !isNaN(l) && !isNaN(s) ? n = l - s :
|
|
1027
|
+
return !isNaN(l) && !isNaN(s) ? n = l - s : ze(t) && ze(e) ? n = new Date(t).getTime() - new Date(e).getTime() : typeof t == "boolean" && typeof e == "boolean" ? n = t === e ? 0 : t ? -1 : 1 : n = String(t).localeCompare(String(e), void 0, {
|
|
1028
1028
|
numeric: !0,
|
|
1029
1029
|
sensitivity: "base"
|
|
1030
1030
|
}), o === "desc" ? -n : n;
|
|
1031
|
-
},
|
|
1031
|
+
}, ze = (t) => t instanceof Date ? !isNaN(t.getTime()) : typeof t == "string" && /\d{4}-\d{2}-\d{2}|\//.test(t) ? !isNaN(new Date(t).getTime()) : !1, Mo = (t, e, o) => {
|
|
1032
1032
|
t.sortable && o({
|
|
1033
1033
|
prop: t.prop,
|
|
1034
1034
|
direction: e
|
|
1035
1035
|
});
|
|
1036
|
-
},
|
|
1036
|
+
}, He = (t, e) => {
|
|
1037
1037
|
const o = (e == null ? void 0 : e.prop) === t.prop, n = e == null ? void 0 : e.direction;
|
|
1038
1038
|
return {
|
|
1039
1039
|
asc: ["vt-th__sort-icon", o && n === "asc" && "vt-th__sortable-active"].filter(Boolean).join(" "),
|
|
1040
1040
|
desc: ["vt-th__sort-icon", o && n === "desc" && "vt-th__sortable-active"].filter(Boolean).join(" ")
|
|
1041
1041
|
};
|
|
1042
|
-
},
|
|
1042
|
+
}, Lo = (t, e, o) => {
|
|
1043
1043
|
if (!e) return [...t];
|
|
1044
1044
|
const n = o.find((s) => s.prop === e.prop);
|
|
1045
1045
|
if (!(n != null && n.sortable)) return [...t];
|
|
1046
|
-
const l = n.sortMethod ||
|
|
1047
|
-
return [...t].sort((s,
|
|
1048
|
-
const c = s[n.prop],
|
|
1049
|
-
return l(c,
|
|
1046
|
+
const l = n.sortMethod || xo;
|
|
1047
|
+
return [...t].sort((s, i) => {
|
|
1048
|
+
const c = s[n.prop], a = i[n.prop];
|
|
1049
|
+
return l(c, a, e.direction);
|
|
1050
1050
|
});
|
|
1051
|
-
},
|
|
1051
|
+
}, qe = Symbol("dropdown-context"), Ge = /* @__PURE__ */ te({
|
|
1052
1052
|
__name: "VDropdown",
|
|
1053
1053
|
props: {
|
|
1054
1054
|
trigger: { default: "hover" },
|
|
@@ -1062,123 +1062,139 @@ const So = (t, e, o = "asc") => {
|
|
|
1062
1062
|
},
|
|
1063
1063
|
emits: ["visible-change", "click", "command"],
|
|
1064
1064
|
setup(t, { expose: e, emit: o }) {
|
|
1065
|
-
const n = t, l = o, s =
|
|
1065
|
+
const n = t, l = o, s = P(), i = P(), c = P(), a = P(!1), u = P(null), r = P([]), C = P({
|
|
1066
1066
|
position: "absolute",
|
|
1067
1067
|
top: "0px",
|
|
1068
1068
|
left: "0px",
|
|
1069
1069
|
zIndex: 2e3,
|
|
1070
1070
|
transformOrigin: "center top"
|
|
1071
1071
|
});
|
|
1072
|
-
|
|
1073
|
-
const
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1072
|
+
$e();
|
|
1073
|
+
const L = (m) => {
|
|
1074
|
+
const y = [];
|
|
1075
|
+
let M = m.parentElement;
|
|
1076
|
+
for (; M && M !== document.body; ) {
|
|
1077
|
+
const d = window.getComputedStyle(M), _ = d.overflowY, w = d.overflowX;
|
|
1078
|
+
(["scroll", "auto"].includes(_) || ["scroll", "auto"].includes(w) || M.scrollHeight > M.clientHeight || M.scrollWidth > M.clientWidth) && y.push(M), M = M.parentElement;
|
|
1079
|
+
}
|
|
1080
|
+
return y.push(window), y;
|
|
1081
|
+
}, j = async () => {
|
|
1082
|
+
if (await ht(), !i.value || !c.value) return;
|
|
1083
|
+
const m = i.value.getBoundingClientRect(), y = c.value.getBoundingClientRect();
|
|
1084
|
+
let M = 0, d = 0;
|
|
1077
1085
|
switch (n.placement) {
|
|
1078
1086
|
case "bottom":
|
|
1079
|
-
|
|
1087
|
+
M = m.bottom + window.scrollY + 5, d = m.left + window.scrollX + (m.width - y.width) / 2;
|
|
1080
1088
|
break;
|
|
1081
1089
|
case "bottom-start":
|
|
1082
|
-
|
|
1090
|
+
M = m.bottom + window.scrollY + 5, d = m.left + window.scrollX;
|
|
1083
1091
|
break;
|
|
1084
1092
|
case "bottom-end":
|
|
1085
|
-
|
|
1093
|
+
M = m.bottom + window.scrollY + 5, d = m.right + window.scrollX - y.width;
|
|
1086
1094
|
break;
|
|
1087
1095
|
case "top":
|
|
1088
|
-
|
|
1096
|
+
M = m.top + window.scrollY - y.height - 5, d = m.left + window.scrollX + (m.width - y.width) / 2;
|
|
1089
1097
|
break;
|
|
1090
1098
|
case "top-start":
|
|
1091
|
-
|
|
1099
|
+
M = m.top + window.scrollY - y.height - 5, d = m.left + window.scrollX;
|
|
1092
1100
|
break;
|
|
1093
1101
|
case "top-end":
|
|
1094
|
-
|
|
1102
|
+
M = m.top + window.scrollY - y.height - 5, d = m.right + window.scrollX - y.width;
|
|
1095
1103
|
break;
|
|
1096
1104
|
}
|
|
1097
|
-
|
|
1098
|
-
},
|
|
1099
|
-
|
|
1105
|
+
d + y.width > window.innerWidth && (d = window.innerWidth - y.width - 10), d < 10 && (d = 10), M + y.height > window.innerHeight + window.scrollY && (M = m.top + window.scrollY - y.height - 5), M < window.scrollY + 10 && (M = window.scrollY + 10), C.value.top = `${M}px`, C.value.left = `${d}px`;
|
|
1106
|
+
}, Y = () => {
|
|
1107
|
+
i.value && (r.value = L(i.value), r.value.forEach((m) => {
|
|
1108
|
+
m.addEventListener("scroll", k, { passive: !0 });
|
|
1109
|
+
}), window.addEventListener("resize", k));
|
|
1110
|
+
}, N = () => {
|
|
1111
|
+
r.value.forEach((m) => {
|
|
1112
|
+
m.removeEventListener("scroll", k);
|
|
1113
|
+
}), window.removeEventListener("resize", k), r.value = [];
|
|
1114
|
+
}, R = () => {
|
|
1115
|
+
n.disabled || a.value || (b(), u.value = window.setTimeout(
|
|
1100
1116
|
async () => {
|
|
1101
|
-
|
|
1117
|
+
a.value = !0, await j(), Y(), l("visible-change", !0);
|
|
1102
1118
|
},
|
|
1103
1119
|
n.trigger === "hover" ? n.showTimeout : 0
|
|
1104
1120
|
));
|
|
1105
|
-
},
|
|
1106
|
-
|
|
1121
|
+
}, A = () => {
|
|
1122
|
+
a.value && (b(), u.value = window.setTimeout(
|
|
1107
1123
|
() => {
|
|
1108
|
-
|
|
1124
|
+
a.value = !1, N(), l("visible-change", !1);
|
|
1109
1125
|
},
|
|
1110
1126
|
n.trigger === "hover" ? n.hideTimeout : 0
|
|
1111
1127
|
));
|
|
1112
|
-
},
|
|
1113
|
-
|
|
1128
|
+
}, b = () => {
|
|
1129
|
+
u.value && (window.clearTimeout(u.value), u.value = null);
|
|
1114
1130
|
};
|
|
1115
|
-
|
|
1116
|
-
handleCommand: (
|
|
1117
|
-
console.log("VDropdown handleCommand called:",
|
|
1131
|
+
Ye(qe, {
|
|
1132
|
+
handleCommand: (m) => {
|
|
1133
|
+
console.log("VDropdown handleCommand called:", m), l("command", m), n.hideOnClick && A();
|
|
1118
1134
|
},
|
|
1119
1135
|
hideOnClick: n.hideOnClick
|
|
1120
1136
|
});
|
|
1121
|
-
const
|
|
1122
|
-
n.disabled || (console.log("VDropdown click triggered"), l("click",
|
|
1137
|
+
const V = (m) => {
|
|
1138
|
+
n.disabled || (console.log("VDropdown click triggered"), l("click", m), n.trigger === "click" && (a.value ? A() : R()));
|
|
1123
1139
|
}, K = () => {
|
|
1124
|
-
n.trigger === "hover" &&
|
|
1125
|
-
},
|
|
1126
|
-
n.trigger === "hover" &&
|
|
1127
|
-
},
|
|
1128
|
-
n.trigger === "hover" &&
|
|
1129
|
-
},
|
|
1130
|
-
n.trigger === "hover" &&
|
|
1131
|
-
},
|
|
1132
|
-
var
|
|
1133
|
-
if (!
|
|
1134
|
-
const
|
|
1135
|
-
(
|
|
1136
|
-
},
|
|
1137
|
-
|
|
1140
|
+
n.trigger === "hover" && R();
|
|
1141
|
+
}, q = () => {
|
|
1142
|
+
n.trigger === "hover" && A();
|
|
1143
|
+
}, Q = () => {
|
|
1144
|
+
n.trigger === "hover" && b();
|
|
1145
|
+
}, U = () => {
|
|
1146
|
+
n.trigger === "hover" && A();
|
|
1147
|
+
}, oe = (m) => {
|
|
1148
|
+
var M, d;
|
|
1149
|
+
if (!a.value) return;
|
|
1150
|
+
const y = m.target;
|
|
1151
|
+
(M = s.value) != null && M.contains(y) || (d = c.value) != null && d.contains(y) || A();
|
|
1152
|
+
}, k = () => {
|
|
1153
|
+
a.value && j();
|
|
1138
1154
|
};
|
|
1139
1155
|
return e({
|
|
1140
|
-
show:
|
|
1141
|
-
hide:
|
|
1142
|
-
visible:
|
|
1156
|
+
show: R,
|
|
1157
|
+
hide: A,
|
|
1158
|
+
visible: a
|
|
1143
1159
|
}), fe(() => {
|
|
1144
|
-
document.addEventListener("click",
|
|
1145
|
-
}),
|
|
1146
|
-
document.removeEventListener("click",
|
|
1147
|
-
}), (
|
|
1160
|
+
document.addEventListener("click", oe);
|
|
1161
|
+
}), Ve(() => {
|
|
1162
|
+
document.removeEventListener("click", oe), N(), b();
|
|
1163
|
+
}), (m, y) => (p(), v("div", {
|
|
1148
1164
|
ref_key: "dropdownRef",
|
|
1149
1165
|
ref: s,
|
|
1150
|
-
class: "
|
|
1151
|
-
onClick:
|
|
1166
|
+
class: "vt-dropdown",
|
|
1167
|
+
onClick: V,
|
|
1152
1168
|
onMouseenter: K,
|
|
1153
|
-
onMouseleave:
|
|
1169
|
+
onMouseleave: q
|
|
1154
1170
|
}, [
|
|
1155
|
-
|
|
1171
|
+
h("div", {
|
|
1156
1172
|
ref_key: "triggerRef",
|
|
1157
|
-
ref:
|
|
1158
|
-
class: "
|
|
1173
|
+
ref: i,
|
|
1174
|
+
class: "vt-dropdown__trigger"
|
|
1159
1175
|
}, [
|
|
1160
|
-
de(
|
|
1176
|
+
de(m.$slots, "default")
|
|
1161
1177
|
], 512),
|
|
1162
|
-
|
|
1178
|
+
a.value ? (p(), ne(Ze, {
|
|
1163
1179
|
key: 0,
|
|
1164
1180
|
to: "body"
|
|
1165
1181
|
}, [
|
|
1166
|
-
|
|
1182
|
+
h("div", {
|
|
1167
1183
|
ref_key: "menuRef",
|
|
1168
1184
|
ref: c,
|
|
1169
|
-
style: se(
|
|
1170
|
-
class: "
|
|
1171
|
-
onMouseenter:
|
|
1172
|
-
onMouseleave:
|
|
1173
|
-
onClick:
|
|
1185
|
+
style: se(C.value),
|
|
1186
|
+
class: "vt-dropdown-menu",
|
|
1187
|
+
onMouseenter: Q,
|
|
1188
|
+
onMouseleave: U,
|
|
1189
|
+
onClick: y[0] || (y[0] = he(() => {
|
|
1174
1190
|
}, ["stop"]))
|
|
1175
1191
|
}, [
|
|
1176
|
-
de(
|
|
1192
|
+
de(m.$slots, "dropdown")
|
|
1177
1193
|
], 36)
|
|
1178
1194
|
])) : W("", !0)
|
|
1179
1195
|
], 544));
|
|
1180
1196
|
}
|
|
1181
|
-
}),
|
|
1197
|
+
}), Me = /* @__PURE__ */ te({
|
|
1182
1198
|
__name: "VDropdownItem",
|
|
1183
1199
|
props: {
|
|
1184
1200
|
command: {},
|
|
@@ -1188,62 +1204,62 @@ const So = (t, e, o = "asc") => {
|
|
|
1188
1204
|
},
|
|
1189
1205
|
emits: ["click"],
|
|
1190
1206
|
setup(t, { emit: e }) {
|
|
1191
|
-
const o = t, n = e, l = qe
|
|
1207
|
+
const o = t, n = e, l = Ue(qe);
|
|
1192
1208
|
l || console.warn("VDropdownItem must be used within VDropdown");
|
|
1193
|
-
const s = (
|
|
1194
|
-
o.disabled || (console.log("VDropdownItem click:", o.command), n("click",
|
|
1209
|
+
const s = (i) => {
|
|
1210
|
+
o.disabled || (console.log("VDropdownItem click:", o.command), n("click", i), o.command !== void 0 && l && (console.log("Calling handleCommand with:", o.command), l.handleCommand(o.command)));
|
|
1195
1211
|
};
|
|
1196
|
-
return (
|
|
1197
|
-
class:
|
|
1198
|
-
"is-disabled":
|
|
1199
|
-
"
|
|
1212
|
+
return (i, c) => (p(), v("li", {
|
|
1213
|
+
class: z(["vt-dropdown-item", {
|
|
1214
|
+
"is-disabled": i.disabled,
|
|
1215
|
+
"vt-dropdown-item--divided": i.divided
|
|
1200
1216
|
}]),
|
|
1201
1217
|
onClick: s
|
|
1202
1218
|
}, [
|
|
1203
|
-
|
|
1219
|
+
i.icon ? (p(), v("i", {
|
|
1204
1220
|
key: 0,
|
|
1205
|
-
class:
|
|
1221
|
+
class: z([i.icon, "vt-dropdown-item__icon"])
|
|
1206
1222
|
}, null, 2)) : W("", !0),
|
|
1207
|
-
de(
|
|
1223
|
+
de(i.$slots, "default")
|
|
1208
1224
|
], 2));
|
|
1209
1225
|
}
|
|
1210
1226
|
});
|
|
1211
|
-
class
|
|
1227
|
+
class $o {
|
|
1212
1228
|
constructor() {
|
|
1213
1229
|
this.modalStack = [], this.baseZIndex = 1e3;
|
|
1214
1230
|
}
|
|
1215
1231
|
open(e = {}) {
|
|
1216
1232
|
const o = `modal-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`, n = document.createElement("div");
|
|
1217
1233
|
n.setAttribute("data-vt-modal", o), document.body.appendChild(n);
|
|
1218
|
-
const l =
|
|
1234
|
+
const l = P(!0), s = this.baseZIndex + this.modalStack.length * 10, i = mt({
|
|
1219
1235
|
setup() {
|
|
1220
|
-
const
|
|
1236
|
+
const a = () => {
|
|
1221
1237
|
l.value = !1, setTimeout(() => {
|
|
1222
1238
|
ce.closeById(o);
|
|
1223
1239
|
}, 100);
|
|
1224
1240
|
};
|
|
1225
|
-
return () =>
|
|
1226
|
-
|
|
1241
|
+
return () => ye(
|
|
1242
|
+
Ke,
|
|
1227
1243
|
{
|
|
1228
1244
|
modelValue: l.value,
|
|
1229
|
-
"onUpdate:modelValue":
|
|
1245
|
+
"onUpdate:modelValue": a,
|
|
1230
1246
|
title: e.title,
|
|
1231
1247
|
size: e.size || "medium",
|
|
1232
1248
|
showCloseButton: e.showCloseButton !== !1,
|
|
1233
1249
|
closeOnBackdropClick: e.closeOnBackdropClick !== !1,
|
|
1234
|
-
onClose:
|
|
1250
|
+
onClose: a,
|
|
1235
1251
|
zIndex: s
|
|
1236
1252
|
},
|
|
1237
1253
|
{
|
|
1238
|
-
default: () => e.component ?
|
|
1254
|
+
default: () => e.component ? ye(e.component, e.props || {}) : e.content ? ye("div", { innerHTML: e.content }) : null
|
|
1239
1255
|
}
|
|
1240
1256
|
);
|
|
1241
1257
|
}
|
|
1242
1258
|
});
|
|
1243
|
-
|
|
1259
|
+
i.mount(n);
|
|
1244
1260
|
const c = {
|
|
1245
1261
|
id: o,
|
|
1246
|
-
app:
|
|
1262
|
+
app: i,
|
|
1247
1263
|
container: n,
|
|
1248
1264
|
isOpen: l
|
|
1249
1265
|
};
|
|
@@ -1277,7 +1293,7 @@ class Bo {
|
|
|
1277
1293
|
recalculateZIndices() {
|
|
1278
1294
|
}
|
|
1279
1295
|
}
|
|
1280
|
-
const ce = new
|
|
1296
|
+
const ce = new $o(), So = {
|
|
1281
1297
|
install(t) {
|
|
1282
1298
|
t.config.globalProperties.$modal = ce, t.config.globalProperties.$modalStack = {
|
|
1283
1299
|
closeAll: () => ce.closeAll(),
|
|
@@ -1285,16 +1301,16 @@ const ce = new Bo(), To = {
|
|
|
1285
1301
|
closeById: (e) => ce.closeById(e)
|
|
1286
1302
|
};
|
|
1287
1303
|
}
|
|
1288
|
-
},
|
|
1304
|
+
}, Vo = { class: "vt-columns-selector-body" }, Io = { class: "vt-columns-selector" }, Bo = { class: "vt-columns-selector__panel" }, To = ["draggable", "onDragstart", "onDragover", "onDrop"], Eo = {
|
|
1289
1305
|
key: 0,
|
|
1290
1306
|
class: "vt-columns-selector__panel-item-pinned"
|
|
1291
|
-
},
|
|
1307
|
+
}, Ro = { class: "vt-columns-selector__available" }, zo = ["onClick"], Ho = {
|
|
1292
1308
|
key: 0,
|
|
1293
1309
|
class: "vt-columns-selector__group-columns"
|
|
1294
|
-
},
|
|
1310
|
+
}, Wo = {
|
|
1295
1311
|
key: 0,
|
|
1296
1312
|
class: "vt-columns-selector__pinned-note"
|
|
1297
|
-
},
|
|
1313
|
+
}, Do = { class: "vt-modal__content-button" }, Po = /* @__PURE__ */ te({
|
|
1298
1314
|
__name: "VTableColumnSelector",
|
|
1299
1315
|
props: {
|
|
1300
1316
|
columns: {},
|
|
@@ -1302,192 +1318,192 @@ const ce = new Bo(), To = {
|
|
|
1302
1318
|
},
|
|
1303
1319
|
emits: ["update-columns"],
|
|
1304
1320
|
setup(t, { emit: e }) {
|
|
1305
|
-
const o = t, n = e, l =
|
|
1306
|
-
const
|
|
1307
|
-
return o.columnsSelector.forEach((
|
|
1308
|
-
if (
|
|
1321
|
+
const o = t, n = e, l = P([]), s = P(/* @__PURE__ */ new Set()), i = P(-1), c = P(-1), a = P("before"), u = S(() => {
|
|
1322
|
+
const d = {};
|
|
1323
|
+
return o.columnsSelector.forEach((_) => {
|
|
1324
|
+
if (_.name === "removed")
|
|
1309
1325
|
return;
|
|
1310
|
-
const w =
|
|
1311
|
-
|
|
1312
|
-
}),
|
|
1313
|
-
}), r = S(() => o.columnsSelector.filter((
|
|
1314
|
-
const
|
|
1315
|
-
let
|
|
1316
|
-
for (let
|
|
1317
|
-
|
|
1318
|
-
let w =
|
|
1319
|
-
for (let
|
|
1320
|
-
if (
|
|
1321
|
-
w =
|
|
1326
|
+
const w = _.columns.map((T) => T.prop), $ = l.value.filter((T) => w.includes(T.prop));
|
|
1327
|
+
$.length === 0 ? d[_.name] = { checked: !1, indeterminate: !1 } : $.length === _.columns.length ? d[_.name] = { checked: !0, indeterminate: !1 } : d[_.name] = { checked: !1, indeterminate: !0 };
|
|
1328
|
+
}), d;
|
|
1329
|
+
}), r = S(() => o.columnsSelector.filter((d) => d.name !== "removed")), C = (d) => d.pinnedLeft || d.pinnedRight, L = (d) => !C(d), j = () => {
|
|
1330
|
+
const d = l.value;
|
|
1331
|
+
let _ = -1;
|
|
1332
|
+
for (let $ = 0; $ < d.length; $++)
|
|
1333
|
+
d[$].pinnedLeft && (_ = $);
|
|
1334
|
+
let w = d.length;
|
|
1335
|
+
for (let $ = 0; $ < d.length; $++)
|
|
1336
|
+
if (d[$].pinnedRight) {
|
|
1337
|
+
w = $;
|
|
1322
1338
|
break;
|
|
1323
1339
|
}
|
|
1324
1340
|
return {
|
|
1325
|
-
minIndex:
|
|
1341
|
+
minIndex: _ + 1,
|
|
1326
1342
|
maxIndex: w - 1
|
|
1327
1343
|
};
|
|
1328
|
-
},
|
|
1329
|
-
const
|
|
1330
|
-
return !(
|
|
1331
|
-
},
|
|
1332
|
-
const w = l.value[
|
|
1333
|
-
if (!
|
|
1334
|
-
|
|
1344
|
+
}, Y = (d) => {
|
|
1345
|
+
const _ = j();
|
|
1346
|
+
return !(d < _.minIndex || d > _.maxIndex + 1);
|
|
1347
|
+
}, N = (d, _) => {
|
|
1348
|
+
const w = l.value[_];
|
|
1349
|
+
if (!L(w)) {
|
|
1350
|
+
d.preventDefault();
|
|
1335
1351
|
return;
|
|
1336
1352
|
}
|
|
1337
|
-
|
|
1338
|
-
},
|
|
1339
|
-
if (
|
|
1340
|
-
|
|
1341
|
-
const w =
|
|
1342
|
-
let
|
|
1343
|
-
|
|
1344
|
-
},
|
|
1353
|
+
i.value = _, d.dataTransfer && (d.dataTransfer.effectAllowed = "move", d.dataTransfer.setData("text/plain", w.prop)), document.body.style.cursor = "grabbing";
|
|
1354
|
+
}, R = (d, _) => {
|
|
1355
|
+
if (i.value === -1) return;
|
|
1356
|
+
d.preventDefault();
|
|
1357
|
+
const w = d.currentTarget.getBoundingClientRect(), $ = d.clientY, T = w.top + w.height / 2;
|
|
1358
|
+
let E = _, J = "before";
|
|
1359
|
+
$ < T ? (E = _, J = "before") : (E = _ + 1, J = "after"), i.value < E && E--, Y(E) ? (c.value = _, a.value = J, d.dataTransfer.dropEffect = "move") : (c.value = -1, d.dataTransfer.dropEffect = "none");
|
|
1360
|
+
}, A = () => {
|
|
1345
1361
|
setTimeout(() => {
|
|
1346
|
-
|
|
1362
|
+
i.value === -1 && (c.value = -1);
|
|
1347
1363
|
}, 50);
|
|
1348
|
-
},
|
|
1349
|
-
if (
|
|
1350
|
-
|
|
1364
|
+
}, b = (d, _) => {
|
|
1365
|
+
if (d.preventDefault(), i.value === -1 || c.value === -1) {
|
|
1366
|
+
V();
|
|
1351
1367
|
return;
|
|
1352
1368
|
}
|
|
1353
|
-
const w =
|
|
1354
|
-
let
|
|
1355
|
-
if (
|
|
1356
|
-
|
|
1369
|
+
const w = d.currentTarget.getBoundingClientRect(), $ = d.clientY, T = w.top + w.height / 2;
|
|
1370
|
+
let E = _;
|
|
1371
|
+
if ($ >= T && (E = _ + 1), i.value < E && E--, !Y(E) || E === i.value) {
|
|
1372
|
+
V();
|
|
1357
1373
|
return;
|
|
1358
1374
|
}
|
|
1359
|
-
const
|
|
1360
|
-
|
|
1361
|
-
}, V = () => {
|
|
1362
|
-
I();
|
|
1375
|
+
const J = [...l.value], [Ce] = J.splice(i.value, 1);
|
|
1376
|
+
J.splice(E, 0, Ce), l.value = J, V();
|
|
1363
1377
|
}, I = () => {
|
|
1364
|
-
|
|
1365
|
-
},
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1378
|
+
V();
|
|
1379
|
+
}, V = () => {
|
|
1380
|
+
i.value = -1, c.value = -1, a.value = "before", document.body.style.cursor = "";
|
|
1381
|
+
}, K = (d) => {
|
|
1382
|
+
const _ = ["vt-columns-selector__panel-item"];
|
|
1383
|
+
return i.value === d && _.push("vt-columns-selector__panel-item--dragging"), c.value === d && a.value === "before" && _.push("vt-columns-selector__panel-item--drop-before"), c.value === d && a.value === "after" && _.push("vt-columns-selector__panel-item--drop-after"), _;
|
|
1384
|
+
}, q = () => {
|
|
1385
|
+
l.value = [...o.columns.map((d) => ({ ...d }))], o.columnsSelector.forEach((d) => {
|
|
1386
|
+
d.name !== "removed" && s.value.add(d.name);
|
|
1371
1387
|
});
|
|
1372
|
-
},
|
|
1373
|
-
if (
|
|
1374
|
-
l.value.some((w) => w.prop ===
|
|
1388
|
+
}, Q = (d, _) => {
|
|
1389
|
+
if (_)
|
|
1390
|
+
l.value.some((w) => w.prop === d.prop) || l.value.push({ ...d });
|
|
1375
1391
|
else {
|
|
1376
|
-
if (C(
|
|
1392
|
+
if (C(d))
|
|
1377
1393
|
return;
|
|
1378
|
-
l.value = l.value.filter((w) => w.prop !==
|
|
1394
|
+
l.value = l.value.filter((w) => w.prop !== d.prop);
|
|
1379
1395
|
}
|
|
1380
|
-
},
|
|
1381
|
-
if (
|
|
1382
|
-
|
|
1383
|
-
l.value.some((
|
|
1396
|
+
}, U = (d, _) => {
|
|
1397
|
+
if (_)
|
|
1398
|
+
d.columns.forEach((w) => {
|
|
1399
|
+
l.value.some(($) => $.prop === w.prop) || l.value.push({ ...w });
|
|
1384
1400
|
});
|
|
1385
1401
|
else {
|
|
1386
1402
|
const w = [];
|
|
1387
|
-
|
|
1388
|
-
const T = l.value.find((
|
|
1403
|
+
d.columns.forEach(($) => {
|
|
1404
|
+
const T = l.value.find((E) => E.prop === $.prop);
|
|
1389
1405
|
T && !C(T) && w.push(T);
|
|
1390
1406
|
}), l.value = l.value.filter(
|
|
1391
|
-
(
|
|
1407
|
+
($) => !w.some((T) => T.prop === $.prop)
|
|
1392
1408
|
);
|
|
1393
1409
|
}
|
|
1394
|
-
},
|
|
1395
|
-
const
|
|
1396
|
-
return !
|
|
1397
|
-
},
|
|
1398
|
-
s.value.has(
|
|
1399
|
-
},
|
|
1410
|
+
}, oe = (d) => l.value.some((_) => _.prop === d.prop), k = (d) => {
|
|
1411
|
+
const _ = l.value.find((w) => w.prop === d.prop);
|
|
1412
|
+
return !_ || !C(_);
|
|
1413
|
+
}, m = (d) => {
|
|
1414
|
+
s.value.has(d) ? s.value.delete(d) : s.value.add(d);
|
|
1415
|
+
}, y = () => {
|
|
1400
1416
|
n("update-columns", [...l.value]), ce.close();
|
|
1401
|
-
},
|
|
1417
|
+
}, M = () => {
|
|
1402
1418
|
ce.close();
|
|
1403
1419
|
};
|
|
1404
1420
|
return fe(() => {
|
|
1405
|
-
|
|
1406
|
-
}), (
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
(
|
|
1421
|
+
q();
|
|
1422
|
+
}), (d, _) => (p(), v("div", Vo, [
|
|
1423
|
+
h("div", Io, [
|
|
1424
|
+
h("div", Bo, [
|
|
1425
|
+
(p(!0), v(re, null, ie(l.value, (w, $) => (p(), v("div", {
|
|
1410
1426
|
key: w.prop,
|
|
1411
|
-
class:
|
|
1412
|
-
draggable:
|
|
1413
|
-
onDragstart: (T) =>
|
|
1414
|
-
onDragover: (T) =>
|
|
1415
|
-
onDragleave:
|
|
1416
|
-
onDrop: (T) =>
|
|
1417
|
-
onDragend:
|
|
1427
|
+
class: z(K($)),
|
|
1428
|
+
draggable: L(w),
|
|
1429
|
+
onDragstart: (T) => N(T, $),
|
|
1430
|
+
onDragover: (T) => R(T, $),
|
|
1431
|
+
onDragleave: A,
|
|
1432
|
+
onDrop: (T) => b(T, $),
|
|
1433
|
+
onDragend: I
|
|
1418
1434
|
}, [
|
|
1419
|
-
|
|
1420
|
-
name:
|
|
1421
|
-
class:
|
|
1435
|
+
F(G, {
|
|
1436
|
+
name: L(w) ? "columnsMove" : "freeze",
|
|
1437
|
+
class: z(["vt-columns-selector__panel-item-icon", { "vt-columns-selector__panel-item-icon--draggable": L(w) }])
|
|
1422
1438
|
}, null, 8, ["name", "class"]),
|
|
1423
|
-
|
|
1439
|
+
F(pe, {
|
|
1424
1440
|
label: w.label,
|
|
1425
1441
|
checked: !0,
|
|
1426
1442
|
disabled: C(w),
|
|
1427
|
-
onChange: (T) =>
|
|
1428
|
-
onClick:
|
|
1443
|
+
onChange: (T) => Q(w, T),
|
|
1444
|
+
onClick: _[0] || (_[0] = he(() => {
|
|
1429
1445
|
}, ["stop"]))
|
|
1430
1446
|
}, null, 8, ["label", "disabled", "onChange"]),
|
|
1431
|
-
C(w) ? (
|
|
1432
|
-
], 42,
|
|
1447
|
+
C(w) ? (p(), v("span", Eo, "pinned")) : W("", !0)
|
|
1448
|
+
], 42, To))), 128))
|
|
1433
1449
|
]),
|
|
1434
|
-
|
|
1435
|
-
(
|
|
1436
|
-
var
|
|
1437
|
-
return
|
|
1450
|
+
h("div", Ro, [
|
|
1451
|
+
(p(!0), v(re, null, ie(r.value, (w) => {
|
|
1452
|
+
var $, T;
|
|
1453
|
+
return p(), v("div", {
|
|
1438
1454
|
key: w.name,
|
|
1439
1455
|
class: "vt-columns-selector__group"
|
|
1440
1456
|
}, [
|
|
1441
|
-
|
|
1457
|
+
h("div", {
|
|
1442
1458
|
class: "vt-columns-selector__group-header",
|
|
1443
|
-
onClick: (
|
|
1459
|
+
onClick: (E) => m(w.name)
|
|
1444
1460
|
}, [
|
|
1445
|
-
|
|
1461
|
+
F(pe, {
|
|
1446
1462
|
label: w.label,
|
|
1447
|
-
checked: ((
|
|
1448
|
-
indeterminate: ((T =
|
|
1449
|
-
onChange: (
|
|
1450
|
-
onClick:
|
|
1463
|
+
checked: (($ = u.value[w.name]) == null ? void 0 : $.checked) || !1,
|
|
1464
|
+
indeterminate: ((T = u.value[w.name]) == null ? void 0 : T.indeterminate) || !1,
|
|
1465
|
+
onChange: (E) => U(w, E),
|
|
1466
|
+
onClick: _[1] || (_[1] = he(() => {
|
|
1451
1467
|
}, ["stop"]))
|
|
1452
1468
|
}, null, 8, ["label", "checked", "indeterminate", "onChange"]),
|
|
1453
|
-
w.icon ? (
|
|
1469
|
+
w.icon ? (p(), ne(G, {
|
|
1454
1470
|
key: 0,
|
|
1455
1471
|
name: w.icon,
|
|
1456
1472
|
class: "vt-columns-selector__group-icon"
|
|
1457
1473
|
}, null, 8, ["name"])) : W("", !0)
|
|
1458
|
-
], 8,
|
|
1459
|
-
s.value.has(w.name) ? (
|
|
1460
|
-
(
|
|
1461
|
-
key:
|
|
1474
|
+
], 8, zo),
|
|
1475
|
+
s.value.has(w.name) ? (p(), v("div", Ho, [
|
|
1476
|
+
(p(!0), v(re, null, ie(w.columns, (E) => (p(), v("div", {
|
|
1477
|
+
key: E.prop,
|
|
1462
1478
|
class: "vt-columns-selector__group-column"
|
|
1463
1479
|
}, [
|
|
1464
|
-
|
|
1465
|
-
label:
|
|
1466
|
-
checked:
|
|
1467
|
-
disabled: !
|
|
1468
|
-
onChange: (
|
|
1480
|
+
F(pe, {
|
|
1481
|
+
label: E.label,
|
|
1482
|
+
checked: oe(E),
|
|
1483
|
+
disabled: !k(E),
|
|
1484
|
+
onChange: (J) => Q(E, J)
|
|
1469
1485
|
}, null, 8, ["label", "checked", "disabled", "onChange"]),
|
|
1470
|
-
|
|
1486
|
+
k(E) ? W("", !0) : (p(), v("span", Wo, " (закріплена) "))
|
|
1471
1487
|
]))), 128))
|
|
1472
1488
|
])) : W("", !0)
|
|
1473
1489
|
]);
|
|
1474
1490
|
}), 128))
|
|
1475
1491
|
])
|
|
1476
1492
|
]),
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
default: ue(() =>
|
|
1480
|
-
|
|
1493
|
+
h("div", Do, [
|
|
1494
|
+
F(we, { onClick: M }, {
|
|
1495
|
+
default: ue(() => _[2] || (_[2] = [
|
|
1496
|
+
ge("Скасувати", -1)
|
|
1481
1497
|
])),
|
|
1482
1498
|
_: 1,
|
|
1483
1499
|
__: [2]
|
|
1484
1500
|
}),
|
|
1485
|
-
|
|
1501
|
+
F(we, {
|
|
1486
1502
|
type: "primary",
|
|
1487
|
-
onClick:
|
|
1503
|
+
onClick: y
|
|
1488
1504
|
}, {
|
|
1489
|
-
default: ue(() =>
|
|
1490
|
-
|
|
1505
|
+
default: ue(() => _[3] || (_[3] = [
|
|
1506
|
+
ge("Зберегти", -1)
|
|
1491
1507
|
])),
|
|
1492
1508
|
_: 1,
|
|
1493
1509
|
__: [3]
|
|
@@ -1495,7 +1511,7 @@ const ce = new Bo(), To = {
|
|
|
1495
1511
|
])
|
|
1496
1512
|
]));
|
|
1497
1513
|
}
|
|
1498
|
-
}),
|
|
1514
|
+
}), Ao = { class: "vt-table-header-actions" }, Oo = /* @__PURE__ */ te({
|
|
1499
1515
|
__name: "ColumnActions",
|
|
1500
1516
|
props: {
|
|
1501
1517
|
column: {},
|
|
@@ -1507,15 +1523,15 @@ const ce = new Bo(), To = {
|
|
|
1507
1523
|
const o = t, n = e, l = () => !!(o.column.pinnedLeft || o.column.pinnedRight), s = (r) => {
|
|
1508
1524
|
switch (console.log("ColumnActions - Command received:", r, typeof r), String(r)) {
|
|
1509
1525
|
case "pin":
|
|
1510
|
-
console.log("Executing pin command"),
|
|
1526
|
+
console.log("Executing pin command"), i();
|
|
1511
1527
|
break;
|
|
1512
1528
|
case "columns":
|
|
1513
|
-
console.log("Executing columns command"),
|
|
1529
|
+
console.log("Executing columns command"), u();
|
|
1514
1530
|
break;
|
|
1515
1531
|
default:
|
|
1516
1532
|
console.warn("Unknown command:", r);
|
|
1517
1533
|
}
|
|
1518
|
-
},
|
|
1534
|
+
}, i = () => {
|
|
1519
1535
|
const r = l();
|
|
1520
1536
|
console.log("handlePin called, isPinned:", r), r ? n("pin", o.column, "none") : n("pin", o.column, "left");
|
|
1521
1537
|
}, c = (r) => ({
|
|
@@ -1523,30 +1539,30 @@ const ce = new Bo(), To = {
|
|
|
1523
1539
|
label: "Видалені колонки",
|
|
1524
1540
|
order: 999,
|
|
1525
1541
|
columns: r
|
|
1526
|
-
}),
|
|
1527
|
-
var
|
|
1528
|
-
const C = new Set(r.map((
|
|
1529
|
-
(
|
|
1530
|
-
|
|
1531
|
-
}), o.allColumns.forEach((
|
|
1532
|
-
const
|
|
1533
|
-
|
|
1534
|
-
var
|
|
1535
|
-
if (!C.has(
|
|
1536
|
-
let
|
|
1537
|
-
(
|
|
1538
|
-
const
|
|
1539
|
-
|
|
1540
|
-
}),
|
|
1542
|
+
}), a = (r) => {
|
|
1543
|
+
var N;
|
|
1544
|
+
const C = new Set(r.map((R) => R.prop)), L = /* @__PURE__ */ new Set();
|
|
1545
|
+
(N = o.columnsSelector) == null || N.forEach((R) => {
|
|
1546
|
+
R.columns.forEach((A) => L.add(A.prop));
|
|
1547
|
+
}), o.allColumns.forEach((R) => L.add(R.prop));
|
|
1548
|
+
const j = [];
|
|
1549
|
+
L.forEach((R) => {
|
|
1550
|
+
var A;
|
|
1551
|
+
if (!C.has(R)) {
|
|
1552
|
+
let b;
|
|
1553
|
+
(A = o.columnsSelector) == null || A.forEach((I) => {
|
|
1554
|
+
const V = I.columns.find((K) => K.prop === R);
|
|
1555
|
+
V && (b = V);
|
|
1556
|
+
}), b || (b = o.allColumns.find((I) => I.prop === R)), b && j.push(b);
|
|
1541
1557
|
}
|
|
1542
1558
|
});
|
|
1543
|
-
const
|
|
1544
|
-
return
|
|
1545
|
-
},
|
|
1559
|
+
const Y = [...o.columnsSelector || []];
|
|
1560
|
+
return j.length > 0 && Y.push(c(j)), Y;
|
|
1561
|
+
}, u = () => {
|
|
1546
1562
|
console.log("handleToggleVisibility called");
|
|
1547
|
-
const r =
|
|
1563
|
+
const r = a(o.allColumns);
|
|
1548
1564
|
ce.open({
|
|
1549
|
-
component:
|
|
1565
|
+
component: Po,
|
|
1550
1566
|
title: "Управління колонками таблиці",
|
|
1551
1567
|
props: {
|
|
1552
1568
|
columns: o.allColumns,
|
|
@@ -1559,50 +1575,50 @@ const ce = new Bo(), To = {
|
|
|
1559
1575
|
closeOnBackdropClick: !1
|
|
1560
1576
|
});
|
|
1561
1577
|
};
|
|
1562
|
-
return (r, C) => (
|
|
1578
|
+
return (r, C) => (p(), ne(Ge, {
|
|
1563
1579
|
trigger: "click",
|
|
1564
1580
|
placement: "bottom-start",
|
|
1565
1581
|
onCommand: s
|
|
1566
1582
|
}, {
|
|
1567
1583
|
dropdown: ue(() => [
|
|
1568
|
-
|
|
1584
|
+
F(Me, { command: "pin" }, {
|
|
1569
1585
|
default: ue(() => [
|
|
1570
|
-
|
|
1586
|
+
F(G, {
|
|
1571
1587
|
name: l() ? "unfreeze" : "freeze"
|
|
1572
1588
|
}, null, 8, ["name"]),
|
|
1573
|
-
|
|
1589
|
+
h("div", null, ee(l() ? "Розморозити" : "Заморозити"), 1)
|
|
1574
1590
|
]),
|
|
1575
1591
|
_: 1
|
|
1576
1592
|
}),
|
|
1577
|
-
|
|
1593
|
+
F(Me, { command: "columns" }, {
|
|
1578
1594
|
default: ue(() => [
|
|
1579
|
-
|
|
1580
|
-
C[0] || (C[0] =
|
|
1595
|
+
F(G, { name: "columnInsert" }),
|
|
1596
|
+
C[0] || (C[0] = h("div", null, "Колонки", -1))
|
|
1581
1597
|
]),
|
|
1582
1598
|
_: 1,
|
|
1583
1599
|
__: [0]
|
|
1584
1600
|
})
|
|
1585
1601
|
]),
|
|
1586
1602
|
default: ue(() => [
|
|
1587
|
-
|
|
1588
|
-
|
|
1603
|
+
h("div", Ao, [
|
|
1604
|
+
F(G, { name: "listBullet" })
|
|
1589
1605
|
])
|
|
1590
1606
|
]),
|
|
1591
1607
|
_: 1
|
|
1592
1608
|
}));
|
|
1593
1609
|
}
|
|
1594
|
-
}),
|
|
1610
|
+
}), jo = { class: "vt-table" }, No = { class: "vt-th__content" }, Fo = { class: "vt-th__content" }, Zo = { class: "vt-th__label" }, Yo = {
|
|
1595
1611
|
key: 0,
|
|
1596
1612
|
class: "vt-th__sortable"
|
|
1597
|
-
},
|
|
1613
|
+
}, Uo = ["data-resizer", "onMousedown"], Xo = {
|
|
1598
1614
|
key: 0,
|
|
1599
1615
|
class: "vt-table__empty-row"
|
|
1600
|
-
},
|
|
1616
|
+
}, Ko = ["colspan"], qo = { class: "vt-table__empty-content" }, Go = ["onClick"], Jo = { class: "vt-table__cell-content" }, Qo = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, el = { key: 1 }, tl = ["data-resizer", "onMousedown"], nl = {
|
|
1601
1617
|
key: 0,
|
|
1602
1618
|
class: "vt-table__summary"
|
|
1603
|
-
},
|
|
1619
|
+
}, ol = { class: "vt-table__cell-content vt-table__cell-content--summary" }, xe = 50, ll = /* @__PURE__ */ te({
|
|
1604
1620
|
__name: "VTable",
|
|
1605
|
-
props: /* @__PURE__ */
|
|
1621
|
+
props: /* @__PURE__ */ Re({
|
|
1606
1622
|
data: {},
|
|
1607
1623
|
maxHeight: { default: void 0 },
|
|
1608
1624
|
rowKey: { default: "id" },
|
|
@@ -1624,327 +1640,322 @@ const ce = new Bo(), To = {
|
|
|
1624
1640
|
},
|
|
1625
1641
|
columnsModifiers: {}
|
|
1626
1642
|
}),
|
|
1627
|
-
emits: /* @__PURE__ */
|
|
1643
|
+
emits: /* @__PURE__ */ Re(["sort-change", "selection-change", "current-change", "row-click", "update:columns", "column-pin", "column-resize", "column-visibility", "column-sort", "columns-change", "infinity-scroll"], ["update:columns"]),
|
|
1628
1644
|
setup(t, { expose: e, emit: o }) {
|
|
1629
|
-
const n = t, l = o, s =
|
|
1630
|
-
let
|
|
1631
|
-
const
|
|
1632
|
-
C.value && s.value ?
|
|
1645
|
+
const n = t, l = o, s = vt(t, "columns"), i = P({}), c = P(), a = ft([]), u = P(n.defaultSort || null), r = S(() => Lo(n.data || [], u.value, a)), C = S(() => s.value !== void 0), L = S(() => n.data && n.data.length > 0), j = P(!1), Y = P(0);
|
|
1646
|
+
let N;
|
|
1647
|
+
const R = (f, g) => n.rowKey && f[n.rowKey] != null ? String(f[n.rowKey]) : String(g), A = () => {
|
|
1648
|
+
C.value && s.value ? a.splice(0, a.length, ...s.value) : n.columns && n.columns.length > 0 && a.splice(0, a.length, ...n.columns);
|
|
1633
1649
|
};
|
|
1634
1650
|
ve(
|
|
1635
1651
|
() => s.value,
|
|
1636
|
-
(
|
|
1637
|
-
|
|
1652
|
+
(f) => {
|
|
1653
|
+
f && C.value && a.splice(0, a.length, ...f);
|
|
1638
1654
|
},
|
|
1639
1655
|
{ deep: !0 }
|
|
1640
1656
|
), ve(
|
|
1641
1657
|
() => n.columns,
|
|
1642
|
-
(
|
|
1643
|
-
|
|
1658
|
+
(f) => {
|
|
1659
|
+
f && !C.value && a.splice(0, a.length, ...f);
|
|
1644
1660
|
},
|
|
1645
1661
|
{ deep: !0 }
|
|
1646
|
-
),
|
|
1647
|
-
const { sortedColumns:
|
|
1648
|
-
width: `${
|
|
1649
|
-
minWidth: `${
|
|
1650
|
-
maxWidth: `${
|
|
1662
|
+
), Ye("vt-table-columns", a);
|
|
1663
|
+
const { sortedColumns: b, getDefaultColumnWidth: I, getStickyOffset: V } = wo(a), { getTableWrapperStyle: K, getColumnStyle: q, getHeaderStyle: Q, getFooterStyle: U } = Co(n), { onMouseDown: oe } = ko(), k = S(() => n.allData || n.data), m = n.selectable ? bo(n, r, l, k) : null, y = () => ({
|
|
1664
|
+
width: `${xe}px`,
|
|
1665
|
+
minWidth: `${xe}px`,
|
|
1666
|
+
maxWidth: `${xe}px`,
|
|
1651
1667
|
left: "0px",
|
|
1652
1668
|
position: "sticky",
|
|
1653
1669
|
zIndex: 10
|
|
1654
|
-
}),
|
|
1655
|
-
const
|
|
1670
|
+
}), M = () => {
|
|
1671
|
+
const f = y();
|
|
1656
1672
|
return n.maxHeight ? {
|
|
1657
|
-
...
|
|
1673
|
+
...f,
|
|
1658
1674
|
top: "0px",
|
|
1659
1675
|
zIndex: 11
|
|
1660
|
-
} :
|
|
1661
|
-
},
|
|
1662
|
-
const
|
|
1676
|
+
} : f;
|
|
1677
|
+
}, d = () => {
|
|
1678
|
+
const f = y();
|
|
1663
1679
|
return n.maxHeight ? {
|
|
1664
|
-
...
|
|
1680
|
+
...f,
|
|
1665
1681
|
bottom: "0px",
|
|
1666
1682
|
zIndex: 11
|
|
1667
|
-
} :
|
|
1668
|
-
},
|
|
1669
|
-
if (!c.value ||
|
|
1670
|
-
const
|
|
1671
|
-
|
|
1672
|
-
const _e =
|
|
1673
|
-
|
|
1674
|
-
|
|
1683
|
+
} : f;
|
|
1684
|
+
}, _ = () => {
|
|
1685
|
+
if (!c.value || j.value) return;
|
|
1686
|
+
const f = c.value, g = f.scrollTop, B = f.scrollHeight, H = f.clientHeight, O = 30;
|
|
1687
|
+
N && clearTimeout(N), N = setTimeout(() => {
|
|
1688
|
+
const _e = g - Y.value > 1, x = B - g - H <= O, le = B - g - H <= 5;
|
|
1689
|
+
Y.value = g, _e && (x || le) && (j.value = !0, l("infinity-scroll"), setTimeout(() => {
|
|
1690
|
+
j.value = !1;
|
|
1675
1691
|
}, 1e3));
|
|
1676
1692
|
}, 50);
|
|
1677
1693
|
}, w = () => {
|
|
1678
|
-
|
|
1694
|
+
j.value = !1;
|
|
1679
1695
|
};
|
|
1680
1696
|
fe(() => {
|
|
1681
|
-
c.value && c.value.addEventListener("scroll",
|
|
1682
|
-
}),
|
|
1683
|
-
|
|
1697
|
+
c.value && c.value.addEventListener("scroll", _);
|
|
1698
|
+
}), Ve(() => {
|
|
1699
|
+
N && clearTimeout(N), c.value && c.value.removeEventListener("scroll", _);
|
|
1684
1700
|
});
|
|
1685
|
-
const
|
|
1686
|
-
|
|
1687
|
-
var
|
|
1688
|
-
((
|
|
1689
|
-
column:
|
|
1690
|
-
direction: ((O =
|
|
1691
|
-
prop:
|
|
1701
|
+
const $ = (f, g) => {
|
|
1702
|
+
Mo(f, g, (B) => {
|
|
1703
|
+
var H, O;
|
|
1704
|
+
((H = u.value) == null ? void 0 : H.prop) === f.prop && u.value.direction === g ? u.value = null : u.value = B, l("sort-change", {
|
|
1705
|
+
column: f,
|
|
1706
|
+
direction: ((O = u.value) == null ? void 0 : O.direction) || null,
|
|
1707
|
+
prop: f.prop,
|
|
1692
1708
|
sortedData: r.value
|
|
1693
1709
|
});
|
|
1694
1710
|
});
|
|
1695
|
-
}, T = (
|
|
1711
|
+
}, T = (f, g) => {
|
|
1696
1712
|
const B = {
|
|
1697
|
-
pinnedLeft:
|
|
1698
|
-
pinnedRight:
|
|
1713
|
+
pinnedLeft: g === "left",
|
|
1714
|
+
pinnedRight: g === "right"
|
|
1699
1715
|
};
|
|
1700
|
-
|
|
1701
|
-
},
|
|
1702
|
-
|
|
1703
|
-
},
|
|
1704
|
-
const B =
|
|
1716
|
+
J(f.prop, B), l("column-pin", { column: { ...f, ...B }, position: g });
|
|
1717
|
+
}, E = (f) => {
|
|
1718
|
+
a.splice(0, a.length, ...f), C.value && (s.value = [...f]), l("columns-change", [...f]);
|
|
1719
|
+
}, J = (f, g) => {
|
|
1720
|
+
const B = a.findIndex((H) => H.prop === f);
|
|
1705
1721
|
if (B !== -1) {
|
|
1706
|
-
if (Object.assign(
|
|
1707
|
-
const
|
|
1708
|
-
if (
|
|
1722
|
+
if (Object.assign(a[B], g), C.value && s.value) {
|
|
1723
|
+
const H = s.value.findIndex((O) => O.prop === f);
|
|
1724
|
+
if (H !== -1) {
|
|
1709
1725
|
const O = [...s.value];
|
|
1710
|
-
O[
|
|
1726
|
+
O[H] = { ...O[H], ...g }, s.value = O;
|
|
1711
1727
|
}
|
|
1712
1728
|
}
|
|
1713
|
-
l("columns-change", [...
|
|
1729
|
+
l("columns-change", [...a]);
|
|
1714
1730
|
}
|
|
1715
|
-
},
|
|
1716
|
-
l("row-click", { row:
|
|
1717
|
-
},
|
|
1718
|
-
B.stopPropagation(),
|
|
1719
|
-
},
|
|
1720
|
-
|
|
1721
|
-
},
|
|
1722
|
-
|
|
1723
|
-
},
|
|
1724
|
-
const B =
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
column: { ...
|
|
1728
|
-
width:
|
|
1731
|
+
}, Ce = (f, g, B) => {
|
|
1732
|
+
l("row-click", { row: f, column: g, event: B }), n.highlightCurrentRow && m && m.setCurrentRow(f);
|
|
1733
|
+
}, Je = (f, g, B) => {
|
|
1734
|
+
B.stopPropagation(), m && m.toggleRowSelection(g, f);
|
|
1735
|
+
}, Qe = (f, g) => {
|
|
1736
|
+
g.stopPropagation(), m && m.toggleAllSelection();
|
|
1737
|
+
}, Ie = (f, g) => {
|
|
1738
|
+
f && (i.value[g] = f);
|
|
1739
|
+
}, Be = (f, g) => {
|
|
1740
|
+
const B = g.width || I();
|
|
1741
|
+
oe(f, g, I, (H) => {
|
|
1742
|
+
J(g.prop, { width: H }), l("column-resize", {
|
|
1743
|
+
column: { ...g, width: H },
|
|
1744
|
+
width: H,
|
|
1729
1745
|
oldWidth: B
|
|
1730
1746
|
});
|
|
1731
1747
|
});
|
|
1732
|
-
},
|
|
1733
|
-
if (!
|
|
1734
|
-
const B =
|
|
1748
|
+
}, et = (f, g) => q(f, g, V, I), tt = (f, g) => Q(f, g, V, I), nt = (f, g) => U(f, g, V, I), ot = (f, g) => {
|
|
1749
|
+
if (!g || !g.prop) return "";
|
|
1750
|
+
const B = f[g.prop];
|
|
1735
1751
|
return B == null ? "" : String(B);
|
|
1736
|
-
},
|
|
1737
|
-
if (!n.showSummary || !
|
|
1738
|
-
const
|
|
1752
|
+
}, lt = S(() => {
|
|
1753
|
+
if (!n.showSummary || !L.value) return {};
|
|
1754
|
+
const f = a;
|
|
1739
1755
|
if (typeof n.summaryMethod == "function") {
|
|
1740
|
-
const
|
|
1741
|
-
return
|
|
1742
|
-
(B,
|
|
1756
|
+
const g = n.summaryMethod({ columns: f, data: r.value });
|
|
1757
|
+
return f.reduce(
|
|
1758
|
+
(B, H, O) => (B[H.prop] = g[O], B),
|
|
1743
1759
|
{}
|
|
1744
1760
|
);
|
|
1745
1761
|
}
|
|
1746
|
-
return
|
|
1747
|
-
(
|
|
1748
|
-
const
|
|
1749
|
-
return
|
|
1762
|
+
return f.reduce(
|
|
1763
|
+
(g, B) => {
|
|
1764
|
+
const H = r.value.map((O) => O[B.prop]);
|
|
1765
|
+
return g[B.prop] = H.every((O) => typeof O == "number") ? H.reduce((O, me) => O + me, 0) : "", g;
|
|
1750
1766
|
},
|
|
1751
1767
|
{}
|
|
1752
1768
|
);
|
|
1753
|
-
}),
|
|
1754
|
-
|
|
1755
|
-
},
|
|
1756
|
-
|
|
1757
|
-
},
|
|
1758
|
-
|
|
1759
|
-
},
|
|
1760
|
-
|
|
1761
|
-
},
|
|
1762
|
-
|
|
1769
|
+
}), st = S(() => n.showSummary && L.value), rt = (f, g) => {
|
|
1770
|
+
m && m.toggleRowSelection(f, g);
|
|
1771
|
+
}, it = () => {
|
|
1772
|
+
m && m.toggleAllSelection();
|
|
1773
|
+
}, at = () => {
|
|
1774
|
+
m && m.selectAbsolutelyAll();
|
|
1775
|
+
}, ct = () => {
|
|
1776
|
+
m && m.clearSelection();
|
|
1777
|
+
}, dt = () => m ? m.getSelectionRows() : [], ut = (f) => {
|
|
1778
|
+
m && m.setSelectionRows(f);
|
|
1763
1779
|
};
|
|
1764
1780
|
return fe(() => {
|
|
1765
|
-
|
|
1781
|
+
A();
|
|
1766
1782
|
}), e({
|
|
1767
|
-
toggleRowSelection:
|
|
1768
|
-
toggleAllSelection:
|
|
1769
|
-
selectAbsolutelyAll:
|
|
1770
|
-
clearSelection:
|
|
1771
|
-
getSelectionRows:
|
|
1772
|
-
setSelectionRows:
|
|
1783
|
+
toggleRowSelection: rt,
|
|
1784
|
+
toggleAllSelection: it,
|
|
1785
|
+
selectAbsolutelyAll: at,
|
|
1786
|
+
clearSelection: ct,
|
|
1787
|
+
getSelectionRows: dt,
|
|
1788
|
+
setSelectionRows: ut,
|
|
1773
1789
|
resetInfinityScroll: w
|
|
1774
|
-
}), (
|
|
1775
|
-
var
|
|
1776
|
-
const B =
|
|
1777
|
-
return
|
|
1790
|
+
}), (f, g) => {
|
|
1791
|
+
var H, O, me, _e;
|
|
1792
|
+
const B = Fe("tooltip");
|
|
1793
|
+
return p(), v("div", {
|
|
1778
1794
|
ref_key: "tableWrapperRef",
|
|
1779
1795
|
ref: c,
|
|
1780
1796
|
class: "vt-table-wrapper",
|
|
1781
|
-
style: se(
|
|
1782
|
-
onScroll:
|
|
1797
|
+
style: se(X(K)()),
|
|
1798
|
+
onScroll: _
|
|
1783
1799
|
}, [
|
|
1784
|
-
de(
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
n.selectable ? (
|
|
1800
|
+
de(f.$slots, "default"),
|
|
1801
|
+
h("table", jo, [
|
|
1802
|
+
h("thead", null, [
|
|
1803
|
+
h("tr", null, [
|
|
1804
|
+
n.selectable ? (p(), v("th", {
|
|
1789
1805
|
key: 0,
|
|
1790
|
-
class:
|
|
1806
|
+
class: z(["vt-table__th vt-table__th--selection", {
|
|
1791
1807
|
"vt-table__th--sticky": n.maxHeight,
|
|
1792
1808
|
"vt-table__th--pinned-left": !0
|
|
1793
1809
|
}]),
|
|
1794
|
-
style: se(
|
|
1810
|
+
style: se(M())
|
|
1795
1811
|
}, [
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
checked: (
|
|
1799
|
-
indeterminate: (O =
|
|
1800
|
-
"is-double": (_e = (me =
|
|
1801
|
-
onChange:
|
|
1812
|
+
h("div", No, [
|
|
1813
|
+
F(pe, {
|
|
1814
|
+
checked: (H = X(m)) == null ? void 0 : H.isAllSelected.value,
|
|
1815
|
+
indeterminate: (O = X(m)) == null ? void 0 : O.isIndeterminate.value,
|
|
1816
|
+
"is-double": (_e = (me = X(m)) == null ? void 0 : me.isDoubleCheck) == null ? void 0 : _e.value,
|
|
1817
|
+
onChange: Qe
|
|
1802
1818
|
}, null, 8, ["checked", "indeterminate", "is-double"])
|
|
1803
1819
|
])
|
|
1804
1820
|
], 6)) : W("", !0),
|
|
1805
|
-
(
|
|
1806
|
-
key:
|
|
1821
|
+
(p(!0), v(re, null, ie(X(b), (x, le) => (p(), v("th", {
|
|
1822
|
+
key: x.prop,
|
|
1807
1823
|
ref_for: !0,
|
|
1808
|
-
ref: (ae) =>
|
|
1809
|
-
style: se(
|
|
1810
|
-
class:
|
|
1824
|
+
ref: (ae) => Ie(ae, x.prop),
|
|
1825
|
+
style: se(tt(x, le)),
|
|
1826
|
+
class: z([
|
|
1811
1827
|
"vt-table__th",
|
|
1812
1828
|
{
|
|
1813
1829
|
"vt-table__th--sticky": n.maxHeight,
|
|
1814
|
-
"vt-table__th--pinned-left":
|
|
1815
|
-
"vt-table__th--pinned-right":
|
|
1816
|
-
"vt-table__th--sortable":
|
|
1830
|
+
"vt-table__th--pinned-left": x.pinnedLeft,
|
|
1831
|
+
"vt-table__th--pinned-right": x.pinnedRight,
|
|
1832
|
+
"vt-table__th--sortable": x.sortable
|
|
1817
1833
|
}
|
|
1818
1834
|
])
|
|
1819
1835
|
}, [
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1836
|
+
h("div", Fo, [
|
|
1837
|
+
h("div", Zo, ee(x.label), 1),
|
|
1838
|
+
x.sortable ? (p(), v("div", Yo, [
|
|
1839
|
+
F(G, {
|
|
1824
1840
|
name: "arrowTop",
|
|
1825
|
-
class:
|
|
1826
|
-
onClick: he((ae) =>
|
|
1841
|
+
class: z(X(He)(x, u.value).asc),
|
|
1842
|
+
onClick: he((ae) => $(x, "asc"), ["stop"])
|
|
1827
1843
|
}, null, 8, ["class", "onClick"]),
|
|
1828
|
-
|
|
1844
|
+
F(G, {
|
|
1829
1845
|
name: "arrowDown",
|
|
1830
|
-
class:
|
|
1831
|
-
onClick: he((ae) =>
|
|
1846
|
+
class: z(X(He)(x, u.value).desc),
|
|
1847
|
+
onClick: he((ae) => $(x, "desc"), ["stop"])
|
|
1832
1848
|
}, null, 8, ["class", "onClick"])
|
|
1833
1849
|
])) : W("", !0),
|
|
1834
|
-
|
|
1850
|
+
x.actionColumn ? (p(), ne(Oo, {
|
|
1835
1851
|
key: 1,
|
|
1836
|
-
column:
|
|
1837
|
-
"all-columns":
|
|
1852
|
+
column: x,
|
|
1853
|
+
"all-columns": X(b),
|
|
1838
1854
|
columnsSelector: n.columnsSelector,
|
|
1839
1855
|
onPin: T,
|
|
1840
|
-
onUpdateColumns:
|
|
1856
|
+
onUpdateColumns: E
|
|
1841
1857
|
}, null, 8, ["column", "all-columns", "columnsSelector"])) : W("", !0)
|
|
1842
1858
|
]),
|
|
1843
|
-
|
|
1859
|
+
h("div", {
|
|
1844
1860
|
class: "vt-table__resizer",
|
|
1845
|
-
"data-resizer":
|
|
1846
|
-
onMousedown: (ae) =>
|
|
1847
|
-
}, null, 40,
|
|
1861
|
+
"data-resizer": x.prop,
|
|
1862
|
+
onMousedown: (ae) => Be(ae, x)
|
|
1863
|
+
}, null, 40, Uo)
|
|
1848
1864
|
], 6))), 128))
|
|
1849
1865
|
])
|
|
1850
1866
|
]),
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
var ae,
|
|
1854
|
-
return
|
|
1855
|
-
key:
|
|
1856
|
-
class:
|
|
1867
|
+
h("tbody", null, [
|
|
1868
|
+
L.value ? (p(!0), v(re, { key: 1 }, ie(r.value, (x, le) => {
|
|
1869
|
+
var ae, Te, Ee;
|
|
1870
|
+
return p(), v("tr", {
|
|
1871
|
+
key: R(x, le),
|
|
1872
|
+
class: z([
|
|
1857
1873
|
"vt-table__row",
|
|
1858
1874
|
{
|
|
1859
|
-
"vt-table__row--selected": (ae =
|
|
1860
|
-
"vt-table__row--current": ((
|
|
1875
|
+
"vt-table__row--selected": (ae = X(m)) == null ? void 0 : ae.isRowSelected(x),
|
|
1876
|
+
"vt-table__row--current": ((Te = X(m)) == null ? void 0 : Te.currentRow.value) === x,
|
|
1861
1877
|
"vt-table__row--clickable": n.selectOnClickRow || n.highlightCurrentRow
|
|
1862
1878
|
}
|
|
1863
1879
|
]),
|
|
1864
|
-
onClick: (
|
|
1880
|
+
onClick: (Z) => Ce(x, X(b)[0], Z)
|
|
1865
1881
|
}, [
|
|
1866
|
-
n.selectable ? (
|
|
1882
|
+
n.selectable ? (p(), v("td", {
|
|
1867
1883
|
key: 0,
|
|
1868
|
-
class:
|
|
1884
|
+
class: z(["vt-table__td vt-table__td--selection", {
|
|
1869
1885
|
"vt-table__td--pinned-left": !0
|
|
1870
1886
|
}]),
|
|
1871
|
-
style: se(
|
|
1887
|
+
style: se(y())
|
|
1872
1888
|
}, [
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
checked: (Ee =
|
|
1876
|
-
onChange: (
|
|
1889
|
+
h("div", Jo, [
|
|
1890
|
+
F(pe, {
|
|
1891
|
+
checked: (Ee = X(m)) == null ? void 0 : Ee.isRowSelected(x),
|
|
1892
|
+
onChange: (Z, ke) => Je(Z, x, ke)
|
|
1877
1893
|
}, null, 8, ["checked", "onChange"])
|
|
1878
1894
|
])
|
|
1879
1895
|
], 4)) : W("", !0),
|
|
1880
|
-
(
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
"vt-table__td"
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
])
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
}, _, 0), 128))
|
|
1909
|
-
], 10, tl);
|
|
1910
|
-
}), 128)) : (u(), m("tr", Jo, [
|
|
1911
|
-
p("td", {
|
|
1912
|
-
colspan: G(y).length + (n.selectable ? 1 : 0),
|
|
1896
|
+
(p(!0), v(re, null, ie(X(b), (Z, ke) => (p(), v("td", {
|
|
1897
|
+
key: `${R(x, le)}-${Z.prop}`,
|
|
1898
|
+
ref_for: !0,
|
|
1899
|
+
ref: (be) => Ie(be, Z.prop),
|
|
1900
|
+
style: se(et(Z, ke)),
|
|
1901
|
+
class: z([
|
|
1902
|
+
"vt-table__td",
|
|
1903
|
+
{
|
|
1904
|
+
"vt-table__td--pinned-left": Z.pinnedLeft,
|
|
1905
|
+
"vt-table__td--pinned-right": Z.pinnedRight
|
|
1906
|
+
}
|
|
1907
|
+
])
|
|
1908
|
+
}, [
|
|
1909
|
+
Se((p(), v("div", Qo, [
|
|
1910
|
+
Z.renderSlot ? (p(), ne(Ne(() => X(yo)(Z.renderSlot, { row: x, column: Z, value: x[Z.prop], index: le })), { key: 0 })) : (p(), v("span", el, ee(x[Z.prop]), 1))
|
|
1911
|
+
])), [
|
|
1912
|
+
[B, Z.showOverflowTooltip ? ot(x, Z) : null]
|
|
1913
|
+
]),
|
|
1914
|
+
h("div", {
|
|
1915
|
+
class: "vt-table__resizer",
|
|
1916
|
+
"data-resizer": Z.prop,
|
|
1917
|
+
onMousedown: (be) => Be(be, Z)
|
|
1918
|
+
}, null, 40, tl)
|
|
1919
|
+
], 6))), 128))
|
|
1920
|
+
], 10, Go);
|
|
1921
|
+
}), 128)) : (p(), v("tr", Xo, [
|
|
1922
|
+
h("td", {
|
|
1923
|
+
colspan: X(b).length + (n.selectable ? 1 : 0),
|
|
1913
1924
|
class: "vt-table__empty-cell"
|
|
1914
1925
|
}, [
|
|
1915
|
-
|
|
1916
|
-
|
|
1926
|
+
h("div", qo, [
|
|
1927
|
+
F(G, {
|
|
1917
1928
|
name: "empty",
|
|
1918
1929
|
class: "vt-table__empty-icon"
|
|
1919
1930
|
}),
|
|
1920
|
-
|
|
1931
|
+
g[0] || (g[0] = h("span", { class: "vt-table__empty-text" }, "Немає даних!", -1))
|
|
1921
1932
|
])
|
|
1922
|
-
], 8,
|
|
1933
|
+
], 8, Ko)
|
|
1923
1934
|
]))
|
|
1924
1935
|
]),
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
n.selectable ? (
|
|
1936
|
+
st.value ? (p(), v("tfoot", nl, [
|
|
1937
|
+
h("tr", null, [
|
|
1938
|
+
n.selectable ? (p(), v("td", {
|
|
1928
1939
|
key: 0,
|
|
1929
|
-
class:
|
|
1940
|
+
class: z(["vt-table__td", {
|
|
1930
1941
|
"vt-table__td--pinned-left": !0
|
|
1931
1942
|
}]),
|
|
1932
|
-
style: se(
|
|
1933
|
-
},
|
|
1934
|
-
|
|
1943
|
+
style: se(d())
|
|
1944
|
+
}, g[1] || (g[1] = [
|
|
1945
|
+
h("div", { class: "vt-table__cell-content vt-table__cell-content--summary" }, null, -1)
|
|
1935
1946
|
]), 4)) : W("", !0),
|
|
1936
|
-
(
|
|
1937
|
-
key:
|
|
1938
|
-
style: se(
|
|
1939
|
-
class:
|
|
1947
|
+
(p(!0), v(re, null, ie(X(b), (x, le) => (p(), v("td", {
|
|
1948
|
+
key: x.prop,
|
|
1949
|
+
style: se(nt(x, le)),
|
|
1950
|
+
class: z([
|
|
1940
1951
|
"vt-table__td",
|
|
1941
1952
|
{
|
|
1942
|
-
"vt-table__td--pinned-left":
|
|
1943
|
-
"vt-table__td--pinned-right":
|
|
1953
|
+
"vt-table__td--pinned-left": x.pinnedLeft,
|
|
1954
|
+
"vt-table__td--pinned-right": x.pinnedRight
|
|
1944
1955
|
}
|
|
1945
1956
|
])
|
|
1946
1957
|
}, [
|
|
1947
|
-
|
|
1958
|
+
h("div", ol, ee(lt.value[x.prop]), 1)
|
|
1948
1959
|
], 6))), 128))
|
|
1949
1960
|
])
|
|
1950
1961
|
])) : W("", !0)
|
|
@@ -1952,7 +1963,7 @@ const ce = new Bo(), To = {
|
|
|
1952
1963
|
], 36);
|
|
1953
1964
|
};
|
|
1954
1965
|
}
|
|
1955
|
-
}),
|
|
1966
|
+
}), sl = /* @__PURE__ */ te({
|
|
1956
1967
|
__name: "VTableColumn",
|
|
1957
1968
|
props: {
|
|
1958
1969
|
prop: {},
|
|
@@ -1970,7 +1981,7 @@ const ce = new Bo(), To = {
|
|
|
1970
1981
|
sortMethod: {}
|
|
1971
1982
|
},
|
|
1972
1983
|
setup(t) {
|
|
1973
|
-
const e = t, o =
|
|
1984
|
+
const e = t, o = $e(), n = Ue("vt-table-columns");
|
|
1974
1985
|
n || console.error(
|
|
1975
1986
|
"VTableColumn: не знайдено контекст таблиці. Переконайтеся, що компонент використовується всередині VTable."
|
|
1976
1987
|
);
|
|
@@ -1992,8 +2003,8 @@ const ce = new Bo(), To = {
|
|
|
1992
2003
|
let s = -1;
|
|
1993
2004
|
return fe(() => {
|
|
1994
2005
|
if (n) {
|
|
1995
|
-
const
|
|
1996
|
-
n.push(
|
|
2006
|
+
const i = l();
|
|
2007
|
+
n.push(i), s = n.length - 1;
|
|
1997
2008
|
}
|
|
1998
2009
|
}), ve(
|
|
1999
2010
|
() => [
|
|
@@ -2010,26 +2021,26 @@ const ce = new Bo(), To = {
|
|
|
2010
2021
|
],
|
|
2011
2022
|
() => {
|
|
2012
2023
|
if (n && s !== -1) {
|
|
2013
|
-
const
|
|
2014
|
-
if (
|
|
2015
|
-
const c = n[
|
|
2024
|
+
const i = n.findIndex((c) => c.prop === e.prop);
|
|
2025
|
+
if (i !== -1) {
|
|
2026
|
+
const c = n[i], a = {
|
|
2016
2027
|
...l(),
|
|
2017
2028
|
renderSlot: c.renderSlot
|
|
2018
2029
|
// Зберігаємо існуючий renderSlot
|
|
2019
2030
|
};
|
|
2020
|
-
n[
|
|
2031
|
+
n[i] = a;
|
|
2021
2032
|
}
|
|
2022
2033
|
}
|
|
2023
2034
|
},
|
|
2024
2035
|
{ deep: !0 }
|
|
2025
|
-
),
|
|
2036
|
+
), Ve(() => {
|
|
2026
2037
|
if (n) {
|
|
2027
|
-
const
|
|
2028
|
-
|
|
2038
|
+
const i = n.findIndex((c) => c.prop === e.prop);
|
|
2039
|
+
i > -1 && n.splice(i, 1);
|
|
2029
2040
|
}
|
|
2030
|
-
}), (
|
|
2041
|
+
}), (i, c) => null;
|
|
2031
2042
|
}
|
|
2032
|
-
}),
|
|
2043
|
+
}), We = (t, e) => {
|
|
2033
2044
|
const o = document.createElement("div");
|
|
2034
2045
|
o.className = `vt-tooltip vt-tooltip--${e}`, o.innerText = t, Object.assign(o.style, {
|
|
2035
2046
|
position: "absolute",
|
|
@@ -2095,46 +2106,46 @@ const ce = new Bo(), To = {
|
|
|
2095
2106
|
break;
|
|
2096
2107
|
}
|
|
2097
2108
|
return o.appendChild(n), o;
|
|
2098
|
-
},
|
|
2099
|
-
const n = e.getBoundingClientRect(), l = t.getBoundingClientRect(), s = window.pageXOffset || document.documentElement.scrollLeft,
|
|
2100
|
-
let c = 0,
|
|
2109
|
+
}, Le = (t, e, o) => {
|
|
2110
|
+
const n = e.getBoundingClientRect(), l = t.getBoundingClientRect(), s = window.pageXOffset || document.documentElement.scrollLeft, i = window.pageYOffset || document.documentElement.scrollTop;
|
|
2111
|
+
let c = 0, a = 0;
|
|
2101
2112
|
switch (o) {
|
|
2102
2113
|
case "top":
|
|
2103
|
-
c = n.top +
|
|
2114
|
+
c = n.top + i - l.height - 8, a = n.left + s + (n.width - l.width) / 2;
|
|
2104
2115
|
break;
|
|
2105
2116
|
case "bottom":
|
|
2106
|
-
c = n.bottom +
|
|
2117
|
+
c = n.bottom + i + 8, a = n.left + s + (n.width - l.width) / 2;
|
|
2107
2118
|
break;
|
|
2108
2119
|
case "left":
|
|
2109
|
-
c = n.top +
|
|
2120
|
+
c = n.top + i + (n.height - l.height) / 2, a = n.left + s - l.width - 8;
|
|
2110
2121
|
break;
|
|
2111
2122
|
case "right":
|
|
2112
|
-
c = n.top +
|
|
2123
|
+
c = n.top + i + (n.height - l.height) / 2, a = n.right + s + 8;
|
|
2113
2124
|
break;
|
|
2114
2125
|
}
|
|
2115
|
-
const
|
|
2116
|
-
|
|
2117
|
-
},
|
|
2118
|
-
t.parentElement || document.body.appendChild(t), t.style.visibility = "visible",
|
|
2126
|
+
const u = window.innerWidth, r = window.innerHeight;
|
|
2127
|
+
a < 8 ? a = 8 : a + l.width > u - 8 && (a = u - l.width - 8), c < i + 8 ? o === "top" ? c = n.bottom + i + 8 : c = i + 8 : c + l.height > i + r - 8 && (o === "bottom" ? c = n.top + i - l.height - 8 : c = i + r - l.height - 8), t.style.top = `${c}px`, t.style.left = `${a}px`;
|
|
2128
|
+
}, De = (t, e, o) => {
|
|
2129
|
+
t.parentElement || document.body.appendChild(t), t.style.visibility = "visible", Le(t, e, o), requestAnimationFrame(() => {
|
|
2119
2130
|
t.style.opacity = "1";
|
|
2120
2131
|
});
|
|
2121
|
-
},
|
|
2132
|
+
}, Pe = (t) => {
|
|
2122
2133
|
t.style.opacity = "0", t.style.visibility = "hidden";
|
|
2123
|
-
},
|
|
2134
|
+
}, Ae = (t) => t.scrollWidth > t.clientWidth || t.scrollHeight > t.clientHeight, Oe = (t) => !!t.closest(".vt-table, table"), rl = {
|
|
2124
2135
|
mounted(t, e) {
|
|
2125
|
-
var
|
|
2126
|
-
const o = (
|
|
2136
|
+
var a;
|
|
2137
|
+
const o = (a = e.value) == null ? void 0 : a.trim();
|
|
2127
2138
|
if (!o) return;
|
|
2128
|
-
const n = t.dataset.placement || "top", l =
|
|
2139
|
+
const n = t.dataset.placement || "top", l = We(o, n);
|
|
2129
2140
|
t.__tooltipEl = l;
|
|
2130
2141
|
const s = () => {
|
|
2131
|
-
(
|
|
2132
|
-
},
|
|
2133
|
-
|
|
2142
|
+
(Oe(t) ? Ae(t) : !0) && De(l, t, n);
|
|
2143
|
+
}, i = () => {
|
|
2144
|
+
Pe(l);
|
|
2134
2145
|
}, c = () => {
|
|
2135
|
-
l.style.opacity === "1" &&
|
|
2146
|
+
l.style.opacity === "1" && Le(l, t, n);
|
|
2136
2147
|
};
|
|
2137
|
-
t.__mouseenterHandler = s, t.__mouseleaveHandler =
|
|
2148
|
+
t.__mouseenterHandler = s, t.__mouseleaveHandler = i, t.__scrollHandler = c, t.addEventListener("mouseenter", s), t.addEventListener("mouseleave", i), window.addEventListener("scroll", c, !0), window.addEventListener("resize", c);
|
|
2138
2149
|
},
|
|
2139
2150
|
updated(t, e) {
|
|
2140
2151
|
var n;
|
|
@@ -2142,50 +2153,50 @@ const ce = new Bo(), To = {
|
|
|
2142
2153
|
if (t.__tooltipEl)
|
|
2143
2154
|
o ? t.__tooltipEl.firstChild.textContent = o : (t.__tooltipEl.parentElement && t.__tooltipEl.parentElement.removeChild(t.__tooltipEl), delete t.__tooltipEl);
|
|
2144
2155
|
else if (o) {
|
|
2145
|
-
const l = t.dataset.placement || "top", s =
|
|
2156
|
+
const l = t.dataset.placement || "top", s = We(o, l);
|
|
2146
2157
|
t.__tooltipEl = s;
|
|
2147
|
-
const
|
|
2148
|
-
(
|
|
2158
|
+
const i = () => {
|
|
2159
|
+
(Oe(t) ? Ae(t) : !0) && De(s, t, l);
|
|
2149
2160
|
}, c = () => {
|
|
2150
|
-
|
|
2151
|
-
},
|
|
2152
|
-
s.style.opacity === "1" &&
|
|
2161
|
+
Pe(s);
|
|
2162
|
+
}, a = () => {
|
|
2163
|
+
s.style.opacity === "1" && Le(s, t, l);
|
|
2153
2164
|
};
|
|
2154
|
-
t.__mouseenterHandler =
|
|
2165
|
+
t.__mouseenterHandler = i, t.__mouseleaveHandler = c, t.__scrollHandler = a, t.addEventListener("mouseenter", i), t.addEventListener("mouseleave", c), window.addEventListener("scroll", a, !0), window.addEventListener("resize", a);
|
|
2155
2166
|
}
|
|
2156
2167
|
},
|
|
2157
2168
|
beforeUnmount(t) {
|
|
2158
2169
|
t.__tooltipEl && t.__tooltipEl.parentElement && (t.__tooltipEl.parentElement.removeChild(t.__tooltipEl), delete t.__tooltipEl), t.__mouseenterHandler && (t.removeEventListener("mouseenter", t.__mouseenterHandler), delete t.__mouseenterHandler), t.__mouseleaveHandler && (t.removeEventListener("mouseleave", t.__mouseleaveHandler), delete t.__mouseleaveHandler), t.__scrollHandler && (window.removeEventListener("scroll", t.__scrollHandler, !0), window.removeEventListener("resize", t.__scrollHandler), delete t.__scrollHandler);
|
|
2159
2170
|
}
|
|
2160
|
-
},
|
|
2171
|
+
}, cl = {
|
|
2161
2172
|
sortable: !0,
|
|
2162
2173
|
actionColumn: !1,
|
|
2163
2174
|
showOverflowTooltip: !0,
|
|
2164
2175
|
visible: !0,
|
|
2165
2176
|
pinnedLeft: !1,
|
|
2166
2177
|
pinnedRight: !1
|
|
2167
|
-
},
|
|
2178
|
+
}, il = {
|
|
2168
2179
|
install(t, e = {}) {
|
|
2169
2180
|
const { prefix: o = "V", modal: n = !0 } = e;
|
|
2170
|
-
t.component(`${o}Button`,
|
|
2181
|
+
t.component(`${o}Button`, we), t.component(`${o}Icon`, G), t.component(`${o}Loader`, Xe), t.component(`${o}Modal`, Ke), t.component(`${o}Pagination`, fo), t.component(`${o}Checkbox`, pe), t.component(`${o}Table`, ll), t.component(`${o}TableColumn`, sl), t.component(`${o}Dropdown`, Ge), t.component(`${o}DropdownItem`, Me), t.directive("tooltip", rl), n && t.use(So);
|
|
2171
2182
|
}
|
|
2172
|
-
},
|
|
2183
|
+
}, dl = il.install;
|
|
2173
2184
|
export {
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2185
|
+
cl as DEFAULT_COLUMN_CONFIG,
|
|
2186
|
+
qe as DropdownContextKey,
|
|
2187
|
+
we as VButton,
|
|
2177
2188
|
pe as VCheckbox,
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
+
Ge as VDropdown,
|
|
2190
|
+
Me as VDropdownItem,
|
|
2191
|
+
G as VIcon,
|
|
2192
|
+
Xe as VLoader,
|
|
2193
|
+
Ke as VModal,
|
|
2194
|
+
So as VModalPlugin,
|
|
2195
|
+
fo as VPagination,
|
|
2196
|
+
ll as VTable,
|
|
2197
|
+
sl as VTableColumn,
|
|
2198
|
+
il as default,
|
|
2199
|
+
dl as install,
|
|
2189
2200
|
ce as modalManager,
|
|
2190
|
-
|
|
2201
|
+
rl as tooltipDirective
|
|
2191
2202
|
};
|