voiptime-components 1.0.20 → 1.1.0
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/README.md +8 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +48 -24
- package/dist/index.es.js +1306 -891
- package/dist/index.umd.js +1 -1
- package/package.json +3 -2
package/dist/index.es.js
CHANGED
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
const
|
|
1
|
+
import { createElementBlock as p, openBlock as d, createElementVNode as c, createStaticVNode as Ve, defineComponent as ne, computed as V, createBlock as le, createCommentVNode as z, resolveDynamicComponent as Fe, normalizeStyle as oe, useSlots as He, resolveDirective as Ye, withDirectives as Ie, normalizeClass as E, renderSlot as ue, Teleport as Ue, withModifiers as fe, toDisplayString as te, watch as we, Fragment as re, renderList as ie, vModelSelect as ht, createVNode as Z, withCtx as he, createTextVNode as ke, ref as T, provide as Xe, onMounted as _e, onUnmounted as Be, nextTick as pt, inject as Ke, createApp as mt, h as Me, mergeModels as We, useModel as ft, reactive as vt, unref as X } from "vue";
|
|
2
|
+
const y = (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
|
+
}, Ct = {}, wt = {
|
|
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
|
-
|
|
17
|
-
|
|
14
|
+
function _t(t, e) {
|
|
15
|
+
return d(), p("svg", wt, e[0] || (e[0] = [
|
|
16
|
+
c("circle", {
|
|
17
|
+
cx: "10",
|
|
18
|
+
cy: "10",
|
|
19
|
+
r: "7.25",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
"stroke-width": "1.5"
|
|
22
|
+
}, null, -1),
|
|
23
|
+
c("path", {
|
|
24
|
+
d: "M7 10L9 12L13 8",
|
|
18
25
|
stroke: "currentColor",
|
|
19
26
|
"stroke-width": "1.5",
|
|
20
27
|
"stroke-linecap": "round",
|
|
@@ -22,17 +29,31 @@ function wt(t, e) {
|
|
|
22
29
|
}, null, -1)
|
|
23
30
|
]));
|
|
24
31
|
}
|
|
25
|
-
const
|
|
32
|
+
const gt = /* @__PURE__ */ y(Ct, [["render", _t]]), kt = {}, bt = {
|
|
26
33
|
width: "20",
|
|
27
34
|
height: "20",
|
|
28
35
|
viewBox: "0 0 20 20",
|
|
29
36
|
fill: "none",
|
|
30
37
|
xmlns: "http://www.w3.org/2000/svg"
|
|
31
38
|
};
|
|
32
|
-
function
|
|
33
|
-
return
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
function xt(t, e) {
|
|
40
|
+
return d(), p("svg", bt, e[0] || (e[0] = [
|
|
41
|
+
c("circle", {
|
|
42
|
+
cx: "10",
|
|
43
|
+
cy: "10",
|
|
44
|
+
r: "7.25",
|
|
45
|
+
stroke: "currentColor",
|
|
46
|
+
"stroke-width": "1.5"
|
|
47
|
+
}, null, -1),
|
|
48
|
+
c("path", {
|
|
49
|
+
d: "M8 12L10 10L12 8",
|
|
50
|
+
stroke: "currentColor",
|
|
51
|
+
"stroke-width": "1.5",
|
|
52
|
+
"stroke-linecap": "round",
|
|
53
|
+
"stroke-linejoin": "round"
|
|
54
|
+
}, null, -1),
|
|
55
|
+
c("path", {
|
|
56
|
+
d: "M12 12L10 10L8 8",
|
|
36
57
|
stroke: "currentColor",
|
|
37
58
|
"stroke-width": "1.5",
|
|
38
59
|
"stroke-linecap": "round",
|
|
@@ -40,39 +61,74 @@ function yt(t, e) {
|
|
|
40
61
|
}, null, -1)
|
|
41
62
|
]));
|
|
42
63
|
}
|
|
43
|
-
const
|
|
44
|
-
width: "
|
|
45
|
-
height: "
|
|
46
|
-
viewBox: "0 0
|
|
64
|
+
const yt = /* @__PURE__ */ y(kt, [["render", xt]]), Mt = {}, $t = {
|
|
65
|
+
width: "20",
|
|
66
|
+
height: "20",
|
|
67
|
+
viewBox: "0 0 20 20",
|
|
47
68
|
fill: "none",
|
|
48
69
|
xmlns: "http://www.w3.org/2000/svg"
|
|
49
70
|
};
|
|
50
|
-
function
|
|
51
|
-
return
|
|
52
|
-
|
|
53
|
-
d: "
|
|
71
|
+
function Lt(t, e) {
|
|
72
|
+
return d(), p("svg", $t, e[0] || (e[0] = [
|
|
73
|
+
c("path", {
|
|
74
|
+
d: "M6 14L10 10M10 10L14 6M10 10L6 6M10 10L14 14",
|
|
54
75
|
stroke: "currentColor",
|
|
55
76
|
"stroke-width": "1.5",
|
|
56
|
-
"stroke-
|
|
57
|
-
"stroke-
|
|
77
|
+
"stroke-linecap": "round",
|
|
78
|
+
"stroke-linejoin": "round"
|
|
79
|
+
}, null, -1)
|
|
80
|
+
]));
|
|
81
|
+
}
|
|
82
|
+
const St = /* @__PURE__ */ y(Mt, [["render", Lt]]), Vt = {}, Ht = {
|
|
83
|
+
width: "20",
|
|
84
|
+
height: "20",
|
|
85
|
+
viewBox: "0 0 20 20",
|
|
86
|
+
fill: "none",
|
|
87
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
88
|
+
};
|
|
89
|
+
function It(t, e) {
|
|
90
|
+
return d(), p("svg", Ht, e[0] || (e[0] = [
|
|
91
|
+
c("path", {
|
|
92
|
+
d: "M3 5.33333H17M3.875 5.33333L4.75 15.3333C4.75 15.7754 4.93437 16.1993 5.26256 16.5118C5.59075 16.8244 6.03587 17 6.5 17H13.5C13.9641 17 14.4092 16.8244 14.7374 16.5118C15.0656 16.1993 15.25 15.7754 15.25 15.3333L16.125 5.33333M7.375 5.33333V2.83333C7.375 2.61232 7.46719 2.40036 7.63128 2.24408C7.79538 2.0878 8.01794 2 8.25 2H11.75C11.9821 2 12.2046 2.0878 12.3687 2.24408C12.5328 2.40036 12.625 2.61232 12.625 2.83333V5.33333M8.25 9.5L11.75 12.8333M11.75 9.5L8.25 12.8333",
|
|
93
|
+
stroke: "currentColor",
|
|
94
|
+
"stroke-width": "1.5",
|
|
95
|
+
"stroke-linecap": "round",
|
|
96
|
+
"stroke-linejoin": "round"
|
|
97
|
+
}, null, -1)
|
|
98
|
+
]));
|
|
99
|
+
}
|
|
100
|
+
const Bt = /* @__PURE__ */ y(Vt, [["render", It]]), Et = {}, Tt = {
|
|
101
|
+
width: "20",
|
|
102
|
+
height: "20",
|
|
103
|
+
viewBox: "0 0 20 20",
|
|
104
|
+
fill: "none",
|
|
105
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
106
|
+
};
|
|
107
|
+
function Rt(t, e) {
|
|
108
|
+
return d(), p("svg", Tt, e[0] || (e[0] = [
|
|
109
|
+
c("path", {
|
|
110
|
+
d: "M11.6822 3.72047L3.9739 11.4286C3.81664 11.5859 3.71629 11.7911 3.68872 12.0117L3.19824 15.9373C3.11738 16.5844 3.66764 17.1345 4.31476 17.0535L8.2407 16.5619C8.46128 16.5343 8.66637 16.434 8.82356 16.2768L16.531 8.56942C16.9215 8.1789 16.9215 7.54574 16.531 7.15521L13.0964 3.72049C12.7059 3.32995 12.0727 3.32994 11.6822 3.72047Z",
|
|
111
|
+
stroke: "currentColor",
|
|
112
|
+
"stroke-width": "1.5"
|
|
58
113
|
}, null, -1),
|
|
59
|
-
|
|
60
|
-
d: "
|
|
61
|
-
|
|
114
|
+
c("path", {
|
|
115
|
+
d: "M9.61914 5.78125L14.4679 10.63",
|
|
116
|
+
stroke: "currentColor",
|
|
117
|
+
"stroke-width": "1.5"
|
|
62
118
|
}, null, -1)
|
|
63
119
|
]));
|
|
64
120
|
}
|
|
65
|
-
const
|
|
66
|
-
width: "
|
|
121
|
+
const zt = /* @__PURE__ */ y(Et, [["render", Rt]]), Wt = {}, Dt = {
|
|
122
|
+
width: "20",
|
|
67
123
|
height: "20",
|
|
68
|
-
viewBox: "0 0
|
|
124
|
+
viewBox: "0 0 20 20",
|
|
69
125
|
fill: "none",
|
|
70
126
|
xmlns: "http://www.w3.org/2000/svg"
|
|
71
127
|
};
|
|
72
|
-
function
|
|
73
|
-
return
|
|
74
|
-
|
|
75
|
-
d: "
|
|
128
|
+
function jt(t, e) {
|
|
129
|
+
return d(), p("svg", Dt, e[0] || (e[0] = [
|
|
130
|
+
c("path", {
|
|
131
|
+
d: "M9.69565 4.21739H3V17H15.7826V10.3043M15.7826 4.21739L9.08696 10.913M12.7391 3H17V7.26087",
|
|
76
132
|
stroke: "currentColor",
|
|
77
133
|
"stroke-width": "1.5",
|
|
78
134
|
"stroke-linecap": "round",
|
|
@@ -80,17 +136,57 @@ function Bt(t, e) {
|
|
|
80
136
|
}, null, -1)
|
|
81
137
|
]));
|
|
82
138
|
}
|
|
83
|
-
const
|
|
139
|
+
const Pt = /* @__PURE__ */ y(Wt, [["render", jt]]), At = {}, Ot = {
|
|
84
140
|
width: "21",
|
|
85
141
|
height: "20",
|
|
86
142
|
viewBox: "0 0 21 20",
|
|
87
143
|
fill: "none",
|
|
88
144
|
xmlns: "http://www.w3.org/2000/svg"
|
|
89
145
|
};
|
|
90
|
-
function
|
|
91
|
-
return
|
|
92
|
-
|
|
93
|
-
|
|
146
|
+
function Zt(t, e) {
|
|
147
|
+
return d(), p("svg", Ot, e[0] || (e[0] = [
|
|
148
|
+
c("path", {
|
|
149
|
+
"fill-rule": "evenodd",
|
|
150
|
+
"clip-rule": "evenodd",
|
|
151
|
+
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",
|
|
152
|
+
fill: "currentColor"
|
|
153
|
+
}, null, -1)
|
|
154
|
+
]));
|
|
155
|
+
}
|
|
156
|
+
const Nt = /* @__PURE__ */ y(At, [["render", Zt]]), Ft = {}, Yt = {
|
|
157
|
+
width: "20",
|
|
158
|
+
height: "20",
|
|
159
|
+
viewBox: "0 0 20 20",
|
|
160
|
+
fill: "none",
|
|
161
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
162
|
+
};
|
|
163
|
+
function Ut(t, e) {
|
|
164
|
+
return d(), p("svg", Yt, e[0] || (e[0] = [
|
|
165
|
+
c("path", {
|
|
166
|
+
"fill-rule": "evenodd",
|
|
167
|
+
"clip-rule": "evenodd",
|
|
168
|
+
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",
|
|
169
|
+
fill: "currentColor"
|
|
170
|
+
}, null, -1)
|
|
171
|
+
]));
|
|
172
|
+
}
|
|
173
|
+
const Xt = /* @__PURE__ */ y(Ft, [["render", Ut]]), Kt = {}, Gt = {
|
|
174
|
+
width: "20",
|
|
175
|
+
height: "20",
|
|
176
|
+
viewBox: "0 0 20 20",
|
|
177
|
+
fill: "none",
|
|
178
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
179
|
+
};
|
|
180
|
+
function qt(t, e) {
|
|
181
|
+
return d(), p("svg", Gt, e[0] || (e[0] = [
|
|
182
|
+
c("path", {
|
|
183
|
+
d: "M10.002 18C14.4204 18 18.002 14.4184 18.002 10C18.002 5.5816 14.4204 2 10.002 2C5.58355 2 2.00195 5.5816 2.00195 10C2.00195 14.4184 5.58355 18 10.002 18Z",
|
|
184
|
+
stroke: "currentColor",
|
|
185
|
+
"stroke-width": "1.5",
|
|
186
|
+
"stroke-linejoin": "round"
|
|
187
|
+
}, null, -1),
|
|
188
|
+
c("path", {
|
|
189
|
+
d: "M9.99935 6.66406V13.3307M6.66602 9.9974H13.3327",
|
|
94
190
|
stroke: "currentColor",
|
|
95
191
|
"stroke-width": "1.5",
|
|
96
192
|
"stroke-linecap": "round",
|
|
@@ -98,17 +194,17 @@ function Ht(t, e) {
|
|
|
98
194
|
}, null, -1)
|
|
99
195
|
]));
|
|
100
196
|
}
|
|
101
|
-
const
|
|
197
|
+
const Jt = /* @__PURE__ */ y(Kt, [["render", qt]]), Qt = {}, e1 = {
|
|
102
198
|
width: "20",
|
|
103
199
|
height: "20",
|
|
104
200
|
viewBox: "0 0 20 20",
|
|
105
201
|
fill: "none",
|
|
106
202
|
xmlns: "http://www.w3.org/2000/svg"
|
|
107
203
|
};
|
|
108
|
-
function
|
|
109
|
-
return
|
|
110
|
-
|
|
111
|
-
d: "
|
|
204
|
+
function t1(t, e) {
|
|
205
|
+
return d(), p("svg", e1, e[0] || (e[0] = [
|
|
206
|
+
c("path", {
|
|
207
|
+
d: "M6.25065 8.33073L8.33398 10.4141L6.25065 12.4974M10.0007 12.4974H13.334M5.00065 4.16406H15.0007C15.4427 4.16406 15.8666 4.33966 16.1792 4.65222C16.4917 4.96478 16.6673 5.3887 16.6673 5.83073V14.1641C16.6673 14.6061 16.4917 15.03 16.1792 15.3426C15.8666 15.6551 15.4427 15.8307 15.0007 15.8307H5.00065C4.55862 15.8307 4.1347 15.6551 3.82214 15.3426C3.50958 15.03 3.33398 14.6061 3.33398 14.1641V5.83073C3.33398 5.3887 3.50958 4.96478 3.82214 4.65222C4.1347 4.33966 4.55862 4.16406 5.00065 4.16406Z",
|
|
112
208
|
stroke: "currentColor",
|
|
113
209
|
"stroke-width": "1.5",
|
|
114
210
|
"stroke-linecap": "round",
|
|
@@ -116,140 +212,227 @@ function Pt(t, e) {
|
|
|
116
212
|
}, null, -1)
|
|
117
213
|
]));
|
|
118
214
|
}
|
|
119
|
-
const
|
|
215
|
+
const n1 = /* @__PURE__ */ y(Qt, [["render", t1]]), o1 = {}, l1 = {
|
|
120
216
|
width: "20",
|
|
121
217
|
height: "20",
|
|
122
218
|
viewBox: "0 0 20 20",
|
|
123
219
|
fill: "none",
|
|
124
220
|
xmlns: "http://www.w3.org/2000/svg"
|
|
125
221
|
};
|
|
126
|
-
function
|
|
127
|
-
return
|
|
128
|
-
|
|
129
|
-
d: "
|
|
222
|
+
function s1(t, e) {
|
|
223
|
+
return d(), p("svg", l1, e[0] || (e[0] = [
|
|
224
|
+
c("path", {
|
|
225
|
+
d: "M6.05738 3.37705C6.15102 2.92527 6.54523 2.5 7.08383 2.5C7.62242 2.5 8.01598 2.92494 8.10995 3.37673C8.2049 3.83506 8.44391 4.52649 9.0421 5.12494C9.63996 5.72274 10.3315 5.96205 10.7895 6.05699C11.241 6.15095 11.6667 6.54479 11.6667 7.08333C11.6667 7.62188 11.2417 8.01571 10.7898 8.10967C10.3315 8.20461 9.64029 8.44426 9.0421 9.04271C8.44424 9.64083 8.20523 10.3316 8.11027 10.7893C8.01631 11.2414 7.62243 11.6667 7.0835 11.6667C6.54523 11.6667 6.15102 11.2421 6.05705 10.7899C5.9621 10.3316 5.72243 9.63985 5.12424 9.04173C4.52638 8.44327 3.83488 8.20429 3.37715 8.10935C2.92564 8.01571 2.50098 7.62286 2.5 7.0853C2.49902 6.54577 2.92466 6.15095 3.37748 6.05699C3.8352 5.96205 4.52671 5.72307 5.12457 5.12461C5.72243 4.52616 5.9621 3.83473 6.05738 3.37705Z",
|
|
226
|
+
stroke: "currentColor",
|
|
227
|
+
"stroke-width": "1.5"
|
|
228
|
+
}, null, -1),
|
|
229
|
+
c("path", {
|
|
230
|
+
d: "M8.33398 14.447V14.5026C8.33398 16.1595 9.67713 17.5026 11.334 17.5026H14.5007C16.1575 17.5026 17.5007 16.1595 17.5007 14.5026V11.3359C17.5007 9.67908 16.1575 8.33594 14.5007 8.33594H14.4451",
|
|
130
231
|
stroke: "currentColor",
|
|
131
232
|
"stroke-width": "1.5",
|
|
132
|
-
"stroke-linecap": "round"
|
|
133
|
-
"stroke-linejoin": "round"
|
|
233
|
+
"stroke-linecap": "round"
|
|
134
234
|
}, null, -1),
|
|
135
|
-
|
|
136
|
-
d: "
|
|
235
|
+
c("path", {
|
|
236
|
+
d: "M11.666 11.6641H14.9993",
|
|
237
|
+
stroke: "currentColor",
|
|
238
|
+
"stroke-width": "1.5",
|
|
239
|
+
"stroke-linecap": "round"
|
|
240
|
+
}, null, -1),
|
|
241
|
+
c("path", {
|
|
242
|
+
d: "M10.834 14.1641H15.0007",
|
|
137
243
|
stroke: "currentColor",
|
|
138
244
|
"stroke-width": "1.5",
|
|
139
245
|
"stroke-linecap": "round"
|
|
140
246
|
}, null, -1)
|
|
141
247
|
]));
|
|
142
248
|
}
|
|
143
|
-
const
|
|
249
|
+
const r1 = /* @__PURE__ */ y(o1, [["render", s1]]), i1 = {}, a1 = {
|
|
144
250
|
width: "20",
|
|
145
251
|
height: "20",
|
|
146
252
|
viewBox: "0 0 20 20",
|
|
147
253
|
fill: "none",
|
|
148
254
|
xmlns: "http://www.w3.org/2000/svg"
|
|
149
255
|
};
|
|
150
|
-
function
|
|
151
|
-
return
|
|
152
|
-
|
|
153
|
-
d: "
|
|
256
|
+
function c1(t, e) {
|
|
257
|
+
return d(), p("svg", a1, e[0] || (e[0] = [
|
|
258
|
+
c("path", {
|
|
259
|
+
d: "M6.5 3H4C3.44772 3 3 3.44772 3 4V16C3 16.5523 3.44772 17 4 17H6.5M6.5 3H12.096C12.3552 3 12.6042 3.1006 12.7906 3.2806L16.6946 7.04995C16.8898 7.2384 17 7.49805 17 7.76935V16C17 16.5523 16.5523 17 16 17H13.5M6.5 3V6.34483C6.5 6.89711 6.94772 7.34483 7.5 7.34483H11M6.5 17V14.6207C6.5 14.0684 6.94772 13.6207 7.5 13.6207H12.5C13.0523 13.6207 13.5 14.0684 13.5 14.6207V17M6.5 17H13.5",
|
|
260
|
+
stroke: "currentColor",
|
|
261
|
+
"stroke-width": "1.5",
|
|
262
|
+
"stroke-linecap": "round"
|
|
263
|
+
}, null, -1)
|
|
264
|
+
]));
|
|
265
|
+
}
|
|
266
|
+
const d1 = /* @__PURE__ */ y(i1, [["render", c1]]), u1 = {}, h1 = {
|
|
267
|
+
width: "20",
|
|
268
|
+
height: "20",
|
|
269
|
+
viewBox: "0 0 20 20",
|
|
270
|
+
fill: "none",
|
|
271
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
272
|
+
};
|
|
273
|
+
function p1(t, e) {
|
|
274
|
+
return d(), p("svg", h1, e[0] || (e[0] = [
|
|
275
|
+
c("path", {
|
|
276
|
+
d: "M5 10.0026V8.33594C5 7.00986 5.52678 5.73809 6.46447 4.8004C7.40215 3.86272 8.67392 3.33594 10 3.33594C11.3261 3.33594 12.5979 3.86272 13.5355 4.8004C14.4732 5.73809 15 7.00986 15 8.33594V10.0026",
|
|
154
277
|
stroke: "currentColor",
|
|
155
278
|
"stroke-width": "1.5",
|
|
156
279
|
"stroke-linecap": "round",
|
|
157
280
|
"stroke-linejoin": "round"
|
|
158
281
|
}, null, -1),
|
|
159
|
-
|
|
160
|
-
|
|
282
|
+
c("rect", {
|
|
283
|
+
x: "13",
|
|
284
|
+
y: "13",
|
|
285
|
+
width: "4",
|
|
286
|
+
height: "4",
|
|
287
|
+
rx: "1",
|
|
288
|
+
stroke: "currentColor",
|
|
289
|
+
"stroke-width": "1.5"
|
|
290
|
+
}, null, -1),
|
|
291
|
+
c("path", {
|
|
292
|
+
d: "M12.5 7.5L15 10L17.5 7.5",
|
|
161
293
|
stroke: "currentColor",
|
|
162
294
|
"stroke-width": "1.5",
|
|
163
|
-
"stroke-linecap": "round"
|
|
295
|
+
"stroke-linecap": "round",
|
|
296
|
+
"stroke-linejoin": "round"
|
|
297
|
+
}, null, -1),
|
|
298
|
+
c("path", {
|
|
299
|
+
d: "M3.58579 16.4142C3.21071 16.0391 3 15.5304 3 15C3 14.4696 3.21071 13.9609 3.58579 13.5858C3.96086 13.2107 4.46957 13 5 13C5.53043 13 6.03914 13.2107 6.41421 13.5858C6.78929 13.9609 7 14.4696 7 15C7 15.5304 6.78929 16.0391 6.41421 16.4142C6.03914 16.7893 5.53043 17 5 17C4.46957 17 3.96086 16.7893 3.58579 16.4142Z",
|
|
300
|
+
stroke: "currentColor",
|
|
301
|
+
"stroke-width": "1.5",
|
|
302
|
+
"stroke-linecap": "round",
|
|
303
|
+
"stroke-linejoin": "round"
|
|
164
304
|
}, null, -1)
|
|
165
305
|
]));
|
|
166
306
|
}
|
|
167
|
-
const
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
307
|
+
const m1 = /* @__PURE__ */ y(u1, [["render", p1]]), f1 = {}, v1 = {
|
|
308
|
+
width: "20",
|
|
309
|
+
height: "20",
|
|
310
|
+
viewBox: "0 0 20 20",
|
|
311
|
+
fill: "none",
|
|
312
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
173
313
|
};
|
|
174
|
-
function
|
|
175
|
-
return
|
|
176
|
-
|
|
177
|
-
d: "
|
|
314
|
+
function C1(t, e) {
|
|
315
|
+
return d(), p("svg", v1, e[0] || (e[0] = [
|
|
316
|
+
c("path", {
|
|
317
|
+
d: "M5.00065 10.0026V8.33594C5.00065 7.00985 5.52744 5.73809 6.46512 4.8004C7.4028 3.86272 8.67457 3.33594 10.0007 3.33594C11.3267 3.33594 12.5985 3.86272 13.5362 4.8004C14.4739 5.73809 15.0007 7.00985 15.0007 8.33594V10.0026M3.33398 15.0026C3.33398 15.4446 3.50958 15.8686 3.82214 16.1811C4.1347 16.4937 4.55862 16.6693 5.00065 16.6693C5.44268 16.6693 5.8666 16.4937 6.17916 16.1811C6.49172 15.8686 6.66732 15.4446 6.66732 15.0026C6.66732 14.5606 6.49172 14.1367 6.17916 13.8241C5.8666 13.5115 5.44268 13.3359 5.00065 13.3359C4.55862 13.3359 4.1347 13.5115 3.82214 13.8241C3.50958 14.1367 3.33398 14.5606 3.33398 15.0026ZM13.334 15.0026C13.334 15.4446 13.5096 15.8686 13.8221 16.1811C14.1347 16.4937 14.5586 16.6693 15.0007 16.6693C15.4427 16.6693 15.8666 16.4937 16.1792 16.1811C16.4917 15.8686 16.6673 15.4446 16.6673 15.0026C16.6673 14.5606 16.4917 14.1367 16.1792 13.8241C15.8666 13.5115 15.4427 13.3359 15.0007 13.3359C14.5586 13.3359 14.1347 13.5115 13.8221 13.8241C13.5096 14.1367 13.334 14.5606 13.334 15.0026Z",
|
|
178
318
|
stroke: "currentColor",
|
|
179
|
-
"stroke-width": "
|
|
319
|
+
"stroke-width": "1.5",
|
|
320
|
+
"stroke-linecap": "round",
|
|
321
|
+
"stroke-linejoin": "round"
|
|
322
|
+
}, null, -1),
|
|
323
|
+
c("path", {
|
|
324
|
+
d: "M12.5 7.5L15 10L17.5 7.5",
|
|
325
|
+
stroke: "currentColor",
|
|
326
|
+
"stroke-width": "1.5",
|
|
180
327
|
"stroke-linecap": "round",
|
|
181
328
|
"stroke-linejoin": "round"
|
|
182
329
|
}, null, -1)
|
|
183
330
|
]));
|
|
184
331
|
}
|
|
185
|
-
const
|
|
332
|
+
const w1 = /* @__PURE__ */ y(f1, [["render", C1]]), _1 = {}, g1 = {
|
|
186
333
|
width: "20",
|
|
187
334
|
height: "20",
|
|
188
335
|
viewBox: "0 0 20 20",
|
|
189
336
|
fill: "none",
|
|
190
337
|
xmlns: "http://www.w3.org/2000/svg"
|
|
191
338
|
};
|
|
192
|
-
function
|
|
193
|
-
return
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}, null, -1),
|
|
200
|
-
v("path", {
|
|
201
|
-
"fill-rule": "evenodd",
|
|
202
|
-
"clip-rule": "evenodd",
|
|
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",
|
|
204
|
-
fill: "currentColor"
|
|
339
|
+
function k1(t, e) {
|
|
340
|
+
return d(), p("svg", g1, e[0] || (e[0] = [
|
|
341
|
+
c("path", {
|
|
342
|
+
d: "M3.25 13.9994H2.83333C2.61232 13.9994 2.40036 13.9116 2.24408 13.7553C2.0878 13.5991 2 13.3871 2 13.1661C2 12.503 2.26339 11.8672 2.73223 11.3983C3.20107 10.9295 3.83696 10.6661 4.5 10.6661H5.33333M5.33333 8.12442C5.02735 8.06183 4.73935 7.93126 4.49064 7.74234C4.24193 7.55343 4.03888 7.31102 3.8965 7.03304C3.75413 6.75505 3.67608 6.44862 3.66812 6.1364C3.66017 5.82418 3.72251 5.51417 3.85054 5.22929C3.97858 4.94442 4.16902 4.69198 4.40779 4.49065C4.64655 4.28932 4.92753 4.14424 5.22993 4.06616C5.53233 3.98808 5.84842 3.97898 6.15481 4.03955C6.4612 4.10012 6.75006 4.22881 7 4.41608M15.75 13.9994H16.1667C16.3877 13.9994 16.5996 13.9116 16.7559 13.7553C16.9122 13.5991 17 13.3871 17 13.1661C17 12.503 16.7366 11.8672 16.2678 11.3983C15.7989 10.9295 15.163 10.6661 14.5 10.6661H13.6667M13.6667 8.12442C13.9727 8.06183 14.2607 7.93126 14.5094 7.74234C14.7581 7.55343 14.9611 7.31102 15.1035 7.03304C15.2459 6.75505 15.3239 6.44862 15.3319 6.1364C15.3398 5.82418 15.2775 5.51417 15.1495 5.22929C15.0214 4.94442 14.831 4.69198 14.5922 4.49065C14.3535 4.28932 14.0725 4.14424 13.7701 4.06616C13.4677 3.98808 13.1516 3.97898 12.8452 4.03955C12.5388 4.10012 12.2499 4.22881 12 4.41608M12.4167 15.6661H6.58333C6.36232 15.6661 6.15036 15.5783 5.99408 15.422C5.8378 15.2657 5.75 15.0538 5.75 14.8327C5.75 14.1697 6.01339 13.5338 6.48223 13.065C6.95107 12.5961 7.58696 12.3327 8.25 12.3327H10.75C11.413 12.3327 12.0489 12.5961 12.5178 13.065C12.9866 13.5338 13.25 14.1697 13.25 14.8327C13.25 15.0538 13.1622 15.2657 13.0059 15.422C12.8496 15.5783 12.6377 15.6661 12.4167 15.6661ZM11.5833 7.74942C11.5833 8.30195 11.3638 8.83185 10.9731 9.22255C10.5824 9.61326 10.0525 9.83275 9.5 9.83275C8.94747 9.83275 8.41756 9.61326 8.02686 9.22255C7.63616 8.83185 7.41667 8.30195 7.41667 7.74942C7.41667 7.19688 7.63616 6.66698 8.02686 6.27628C8.41756 5.88558 8.94747 5.66608 9.5 5.66608C10.0525 5.66608 10.5824 5.88558 10.9731 6.27628C11.3638 6.66698 11.5833 7.19688 11.5833 7.74942Z",
|
|
343
|
+
stroke: "currentColor",
|
|
344
|
+
"stroke-width": "1.5",
|
|
345
|
+
"stroke-linecap": "round"
|
|
205
346
|
}, null, -1)
|
|
206
347
|
]));
|
|
207
348
|
}
|
|
208
|
-
const
|
|
349
|
+
const b1 = /* @__PURE__ */ y(_1, [["render", k1]]), x1 = {}, y1 = {
|
|
209
350
|
width: "20",
|
|
210
351
|
height: "20",
|
|
211
352
|
viewBox: "0 0 20 20",
|
|
212
353
|
fill: "none",
|
|
213
354
|
xmlns: "http://www.w3.org/2000/svg"
|
|
214
355
|
};
|
|
215
|
-
function
|
|
216
|
-
return
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
356
|
+
function M1(t, e) {
|
|
357
|
+
return d(), p("svg", y1, e[0] || (e[0] = [
|
|
358
|
+
c("path", {
|
|
359
|
+
d: "M14 8L10 12L6 8",
|
|
360
|
+
stroke: "currentColor",
|
|
361
|
+
"stroke-width": "1.5",
|
|
362
|
+
"stroke-linecap": "round",
|
|
363
|
+
"stroke-linejoin": "round"
|
|
222
364
|
}, null, -1)
|
|
223
365
|
]));
|
|
224
366
|
}
|
|
225
|
-
const
|
|
367
|
+
const $1 = /* @__PURE__ */ y(x1, [["render", M1]]), L1 = {}, S1 = {
|
|
226
368
|
width: "21",
|
|
227
369
|
height: "20",
|
|
228
370
|
viewBox: "0 0 21 20",
|
|
229
371
|
fill: "none",
|
|
230
372
|
xmlns: "http://www.w3.org/2000/svg"
|
|
231
373
|
};
|
|
232
|
-
function
|
|
233
|
-
return
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
374
|
+
function V1(t, e) {
|
|
375
|
+
return d(), p("svg", S1, e[0] || (e[0] = [
|
|
376
|
+
c("path", {
|
|
377
|
+
d: "M12.3984 14L8.39844 10L12.3984 6",
|
|
378
|
+
stroke: "currentColor",
|
|
379
|
+
"stroke-width": "1.5",
|
|
380
|
+
"stroke-linecap": "round",
|
|
381
|
+
"stroke-linejoin": "round"
|
|
382
|
+
}, null, -1)
|
|
383
|
+
]));
|
|
384
|
+
}
|
|
385
|
+
const H1 = /* @__PURE__ */ y(L1, [["render", V1]]), I1 = {}, B1 = {
|
|
386
|
+
width: "14",
|
|
387
|
+
height: "15",
|
|
388
|
+
viewBox: "0 0 14 15",
|
|
389
|
+
fill: "none",
|
|
390
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
391
|
+
};
|
|
392
|
+
function E1(t, e) {
|
|
393
|
+
return d(), p("svg", B1, e[0] || (e[0] = [
|
|
394
|
+
c("path", {
|
|
395
|
+
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",
|
|
396
|
+
stroke: "currentColor",
|
|
397
|
+
"stroke-width": "1.5",
|
|
398
|
+
"stroke-miterlimit": "10",
|
|
399
|
+
"stroke-linecap": "round"
|
|
400
|
+
}, null, -1),
|
|
401
|
+
c("path", {
|
|
402
|
+
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",
|
|
238
403
|
fill: "currentColor"
|
|
239
404
|
}, null, -1)
|
|
240
405
|
]));
|
|
241
406
|
}
|
|
242
|
-
const
|
|
407
|
+
const T1 = /* @__PURE__ */ y(I1, [["render", E1]]), R1 = {}, z1 = {
|
|
408
|
+
width: "21",
|
|
409
|
+
height: "20",
|
|
410
|
+
viewBox: "0 0 21 20",
|
|
411
|
+
fill: "none",
|
|
412
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
413
|
+
};
|
|
414
|
+
function W1(t, e) {
|
|
415
|
+
return d(), p("svg", z1, e[0] || (e[0] = [
|
|
416
|
+
c("path", {
|
|
417
|
+
d: "M8.60352 6L12.6035 10L8.60352 14",
|
|
418
|
+
stroke: "currentColor",
|
|
419
|
+
"stroke-width": "1.5",
|
|
420
|
+
"stroke-linecap": "round",
|
|
421
|
+
"stroke-linejoin": "round"
|
|
422
|
+
}, null, -1)
|
|
423
|
+
]));
|
|
424
|
+
}
|
|
425
|
+
const D1 = /* @__PURE__ */ y(R1, [["render", W1]]), j1 = {}, P1 = {
|
|
243
426
|
width: "20",
|
|
244
427
|
height: "20",
|
|
245
428
|
viewBox: "0 0 20 20",
|
|
246
429
|
fill: "none",
|
|
247
430
|
xmlns: "http://www.w3.org/2000/svg"
|
|
248
431
|
};
|
|
249
|
-
function
|
|
250
|
-
return
|
|
251
|
-
|
|
252
|
-
d: "M6
|
|
432
|
+
function A1(t, e) {
|
|
433
|
+
return d(), p("svg", P1, e[0] || (e[0] = [
|
|
434
|
+
c("path", {
|
|
435
|
+
d: "M6 12L10 8L14 12",
|
|
253
436
|
stroke: "currentColor",
|
|
254
437
|
"stroke-width": "1.5",
|
|
255
438
|
"stroke-linecap": "round",
|
|
@@ -257,17 +440,24 @@ function mn(t, e) {
|
|
|
257
440
|
}, null, -1)
|
|
258
441
|
]));
|
|
259
442
|
}
|
|
260
|
-
const
|
|
443
|
+
const O1 = /* @__PURE__ */ y(j1, [["render", A1]]), Z1 = {}, N1 = {
|
|
261
444
|
width: "20",
|
|
262
445
|
height: "20",
|
|
263
446
|
viewBox: "0 0 20 20",
|
|
264
447
|
fill: "none",
|
|
265
448
|
xmlns: "http://www.w3.org/2000/svg"
|
|
266
449
|
};
|
|
267
|
-
function
|
|
268
|
-
return
|
|
269
|
-
|
|
270
|
-
d: "M9.
|
|
450
|
+
function F1(t, e) {
|
|
451
|
+
return d(), p("svg", N1, e[0] || (e[0] = [
|
|
452
|
+
c("path", {
|
|
453
|
+
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",
|
|
454
|
+
stroke: "currentColor",
|
|
455
|
+
"stroke-width": "1.5",
|
|
456
|
+
"stroke-linecap": "round",
|
|
457
|
+
"stroke-linejoin": "round"
|
|
458
|
+
}, null, -1),
|
|
459
|
+
c("path", {
|
|
460
|
+
d: "M16 16.8926V11M13.0537 13.9463H18.9463",
|
|
271
461
|
stroke: "currentColor",
|
|
272
462
|
"stroke-width": "1.5",
|
|
273
463
|
"stroke-linecap": "round",
|
|
@@ -275,70 +465,153 @@ function _n(t, e) {
|
|
|
275
465
|
}, null, -1)
|
|
276
466
|
]));
|
|
277
467
|
}
|
|
278
|
-
const
|
|
468
|
+
const Y1 = /* @__PURE__ */ y(Z1, [["render", F1]]), U1 = {}, X1 = {
|
|
279
469
|
width: "20",
|
|
280
470
|
height: "20",
|
|
281
471
|
viewBox: "0 0 20 20",
|
|
282
472
|
fill: "none",
|
|
283
473
|
xmlns: "http://www.w3.org/2000/svg"
|
|
284
474
|
};
|
|
285
|
-
function
|
|
286
|
-
return
|
|
287
|
-
|
|
288
|
-
|
|
475
|
+
function K1(t, e) {
|
|
476
|
+
return d(), p("svg", X1, e[0] || (e[0] = [
|
|
477
|
+
Ve('<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)
|
|
478
|
+
]));
|
|
479
|
+
}
|
|
480
|
+
const G1 = /* @__PURE__ */ y(U1, [["render", K1]]), q1 = {}, J1 = {
|
|
481
|
+
width: "20",
|
|
482
|
+
height: "20",
|
|
483
|
+
viewBox: "0 0 20 20",
|
|
484
|
+
fill: "none",
|
|
485
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
486
|
+
};
|
|
487
|
+
function Q1(t, e) {
|
|
488
|
+
return d(), p("svg", J1, e[0] || (e[0] = [
|
|
489
|
+
c("path", {
|
|
490
|
+
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",
|
|
491
|
+
stroke: "currentColor",
|
|
492
|
+
"stroke-width": "1.5",
|
|
493
|
+
"stroke-linecap": "round",
|
|
494
|
+
"stroke-linejoin": "round"
|
|
495
|
+
}, null, -1),
|
|
496
|
+
c("path", {
|
|
497
|
+
d: "M6.66406 2.5V5M13.3305 2.5V5M8.33046 10.8332L9.16406 11.6668L11.6641 9.1668",
|
|
498
|
+
stroke: "currentColor",
|
|
499
|
+
"stroke-width": "1.5",
|
|
500
|
+
"stroke-linecap": "round",
|
|
501
|
+
"stroke-linejoin": "round"
|
|
502
|
+
}, null, -1)
|
|
503
|
+
]));
|
|
504
|
+
}
|
|
505
|
+
const en = /* @__PURE__ */ y(q1, [["render", Q1]]), tn = {}, nn = {
|
|
506
|
+
width: "20",
|
|
507
|
+
height: "20",
|
|
508
|
+
viewBox: "0 0 20 20",
|
|
509
|
+
fill: "none",
|
|
510
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
511
|
+
};
|
|
512
|
+
function on(t, e) {
|
|
513
|
+
return d(), p("svg", nn, e[0] || (e[0] = [
|
|
514
|
+
c("path", {
|
|
515
|
+
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",
|
|
289
516
|
stroke: "currentColor",
|
|
290
517
|
"stroke-width": "1.5",
|
|
291
518
|
"stroke-linecap": "round",
|
|
292
519
|
"stroke-linejoin": "round"
|
|
520
|
+
}, null, -1),
|
|
521
|
+
c("path", {
|
|
522
|
+
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",
|
|
523
|
+
stroke: "currentColor",
|
|
524
|
+
"stroke-width": "1.5"
|
|
525
|
+
}, null, -1),
|
|
526
|
+
c("path", {
|
|
527
|
+
d: "M14 12L16.4608 14.4608",
|
|
528
|
+
stroke: "currentColor",
|
|
529
|
+
"stroke-width": "1.5"
|
|
293
530
|
}, null, -1)
|
|
294
531
|
]));
|
|
295
532
|
}
|
|
296
|
-
const
|
|
533
|
+
const ln = /* @__PURE__ */ y(tn, [["render", on]]), sn = {}, rn = {
|
|
297
534
|
width: "20",
|
|
298
535
|
height: "20",
|
|
299
536
|
viewBox: "0 0 20 20",
|
|
300
537
|
fill: "none",
|
|
301
538
|
xmlns: "http://www.w3.org/2000/svg"
|
|
302
539
|
};
|
|
303
|
-
function
|
|
304
|
-
return
|
|
305
|
-
|
|
540
|
+
function an(t, e) {
|
|
541
|
+
return d(), p("svg", rn, e[0] || (e[0] = [
|
|
542
|
+
c("path", {
|
|
543
|
+
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",
|
|
544
|
+
stroke: "currentColor",
|
|
545
|
+
"stroke-width": "1.5",
|
|
546
|
+
"stroke-linecap": "round",
|
|
547
|
+
"stroke-linejoin": "round"
|
|
548
|
+
}, null, -1)
|
|
549
|
+
]));
|
|
550
|
+
}
|
|
551
|
+
const cn = /* @__PURE__ */ y(sn, [["render", an]]), dn = {}, un = {
|
|
552
|
+
width: "20",
|
|
553
|
+
height: "20",
|
|
554
|
+
viewBox: "0 0 20 20",
|
|
555
|
+
fill: "none",
|
|
556
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
557
|
+
};
|
|
558
|
+
function hn(t, e) {
|
|
559
|
+
return d(), p("svg", un, e[0] || (e[0] = [
|
|
560
|
+
Ve('<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)
|
|
561
|
+
]));
|
|
562
|
+
}
|
|
563
|
+
const pn = /* @__PURE__ */ y(dn, [["render", hn]]), mn = {}, fn = {
|
|
564
|
+
width: "20",
|
|
565
|
+
height: "20",
|
|
566
|
+
viewBox: "0 0 20 20",
|
|
567
|
+
fill: "none",
|
|
568
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
569
|
+
};
|
|
570
|
+
function vn(t, e) {
|
|
571
|
+
return d(), p("svg", fn, e[0] || (e[0] = [
|
|
572
|
+
c("path", {
|
|
306
573
|
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
574
|
stroke: "currentColor",
|
|
308
575
|
"stroke-width": "1.5",
|
|
309
576
|
"stroke-linecap": "round",
|
|
310
577
|
"stroke-linejoin": "round"
|
|
311
578
|
}, null, -1),
|
|
312
|
-
|
|
579
|
+
c("path", {
|
|
313
580
|
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
581
|
stroke: "currentColor",
|
|
315
582
|
"stroke-width": "1.5"
|
|
316
583
|
}, null, -1)
|
|
317
584
|
]));
|
|
318
585
|
}
|
|
319
|
-
const
|
|
586
|
+
const Cn = /* @__PURE__ */ y(mn, [["render", vn]]), wn = {}, _n = {
|
|
320
587
|
width: "20",
|
|
321
588
|
height: "20",
|
|
322
589
|
viewBox: "0 0 20 20",
|
|
323
590
|
fill: "none",
|
|
324
591
|
xmlns: "http://www.w3.org/2000/svg"
|
|
325
592
|
};
|
|
326
|
-
function
|
|
327
|
-
return
|
|
328
|
-
|
|
593
|
+
function gn(t, e) {
|
|
594
|
+
return d(), p("svg", _n, e[0] || (e[0] = [
|
|
595
|
+
c("path", {
|
|
596
|
+
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",
|
|
597
|
+
stroke: "currentColor",
|
|
598
|
+
"stroke-width": "1.5",
|
|
599
|
+
"stroke-linecap": "round",
|
|
600
|
+
"stroke-linejoin": "round"
|
|
601
|
+
}, null, -1)
|
|
329
602
|
]));
|
|
330
603
|
}
|
|
331
|
-
const
|
|
604
|
+
const kn = /* @__PURE__ */ y(wn, [["render", gn]]), bn = {}, xn = {
|
|
332
605
|
width: "20",
|
|
333
606
|
height: "20",
|
|
334
607
|
viewBox: "0 0 20 20",
|
|
335
608
|
fill: "none",
|
|
336
609
|
xmlns: "http://www.w3.org/2000/svg"
|
|
337
610
|
};
|
|
338
|
-
function
|
|
339
|
-
return
|
|
340
|
-
|
|
341
|
-
d: "
|
|
611
|
+
function yn(t, e) {
|
|
612
|
+
return d(), p("svg", xn, e[0] || (e[0] = [
|
|
613
|
+
c("path", {
|
|
614
|
+
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",
|
|
342
615
|
stroke: "currentColor",
|
|
343
616
|
"stroke-width": "1.5",
|
|
344
617
|
"stroke-linecap": "round",
|
|
@@ -346,140 +619,278 @@ function Rn(t, e) {
|
|
|
346
619
|
}, null, -1)
|
|
347
620
|
]));
|
|
348
621
|
}
|
|
349
|
-
const
|
|
622
|
+
const Mn = /* @__PURE__ */ y(bn, [["render", yn]]), $n = {}, Ln = {
|
|
350
623
|
width: "20",
|
|
351
624
|
height: "20",
|
|
352
625
|
viewBox: "0 0 20 20",
|
|
353
626
|
fill: "none",
|
|
354
627
|
xmlns: "http://www.w3.org/2000/svg"
|
|
355
628
|
};
|
|
356
|
-
function
|
|
357
|
-
return
|
|
358
|
-
|
|
359
|
-
d: "
|
|
629
|
+
function Sn(t, e) {
|
|
630
|
+
return d(), p("svg", Ln, e[0] || (e[0] = [
|
|
631
|
+
c("path", {
|
|
632
|
+
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",
|
|
360
633
|
stroke: "currentColor",
|
|
361
634
|
"stroke-width": "1.5",
|
|
362
635
|
"stroke-linecap": "round",
|
|
363
636
|
"stroke-linejoin": "round"
|
|
637
|
+
}, null, -1)
|
|
638
|
+
]));
|
|
639
|
+
}
|
|
640
|
+
const Vn = /* @__PURE__ */ y($n, [["render", Sn]]), Hn = {}, In = {
|
|
641
|
+
width: "20",
|
|
642
|
+
height: "20",
|
|
643
|
+
viewBox: "0 0 20 20",
|
|
644
|
+
fill: "none",
|
|
645
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
646
|
+
};
|
|
647
|
+
function Bn(t, e) {
|
|
648
|
+
return d(), p("svg", In, e[0] || (e[0] = [
|
|
649
|
+
c("path", {
|
|
650
|
+
"fill-rule": "evenodd",
|
|
651
|
+
"clip-rule": "evenodd",
|
|
652
|
+
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",
|
|
653
|
+
fill: "currentColor"
|
|
364
654
|
}, null, -1),
|
|
365
|
-
|
|
366
|
-
|
|
655
|
+
c("path", {
|
|
656
|
+
"fill-rule": "evenodd",
|
|
657
|
+
"clip-rule": "evenodd",
|
|
658
|
+
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",
|
|
659
|
+
fill: "currentColor"
|
|
660
|
+
}, null, -1)
|
|
661
|
+
]));
|
|
662
|
+
}
|
|
663
|
+
const En = /* @__PURE__ */ y(Hn, [["render", Bn]]), Tn = {}, Rn = {
|
|
664
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
665
|
+
width: "60",
|
|
666
|
+
height: "60",
|
|
667
|
+
viewBox: "0 0 60 60",
|
|
668
|
+
fill: "none"
|
|
669
|
+
};
|
|
670
|
+
function zn(t, e) {
|
|
671
|
+
return d(), p("svg", Rn, e[0] || (e[0] = [
|
|
672
|
+
c("path", {
|
|
673
|
+
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",
|
|
367
674
|
stroke: "currentColor",
|
|
368
|
-
"stroke-width": "
|
|
675
|
+
"stroke-width": "2",
|
|
676
|
+
"stroke-linecap": "round",
|
|
677
|
+
"stroke-linejoin": "round"
|
|
678
|
+
}, null, -1)
|
|
679
|
+
]));
|
|
680
|
+
}
|
|
681
|
+
const Wn = /* @__PURE__ */ y(Tn, [["render", zn]]), Dn = {}, jn = {
|
|
682
|
+
width: "20",
|
|
683
|
+
height: "20",
|
|
684
|
+
viewBox: "0 0 20 20",
|
|
685
|
+
fill: "none",
|
|
686
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
687
|
+
};
|
|
688
|
+
function Pn(t, e) {
|
|
689
|
+
return d(), p("svg", jn, e[0] || (e[0] = [
|
|
690
|
+
Ve('<g clip-path="url(#clip0_8255_9011)"><path d="M3.125 3.9125C3.125 2.95 4.2 1.875 5.15 1.875H17.35C18.3 1.875 19.375 2.95 19.375 3.9125V16.1C19.375 17.05 18.3 18.125 17.35 18.125H5.1625C4.2 18.125 3.125 17.05 3.125 16.1M0.625 6.875L5.625 13.125M5.625 6.875L0.625 13.125" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.875 6.875V13.125M9.375 9.375H15.625M9.375 6.875H15.625V13.125H9.375V6.875Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_8255_9011"><rect width="20" height="20" fill="white"></rect></clipPath></defs>', 2)
|
|
691
|
+
]));
|
|
692
|
+
}
|
|
693
|
+
const An = /* @__PURE__ */ y(Dn, [["render", Pn]]), On = {}, Zn = {
|
|
694
|
+
width: "20",
|
|
695
|
+
height: "20",
|
|
696
|
+
viewBox: "0 0 20 20",
|
|
697
|
+
fill: "none",
|
|
698
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
699
|
+
};
|
|
700
|
+
function Nn(t, e) {
|
|
701
|
+
return d(), p("svg", Zn, e[0] || (e[0] = [
|
|
702
|
+
c("path", {
|
|
703
|
+
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",
|
|
704
|
+
stroke: "currentColor",
|
|
705
|
+
"stroke-width": "1.5",
|
|
706
|
+
"stroke-linecap": "round",
|
|
707
|
+
"stroke-linejoin": "round"
|
|
369
708
|
}, null, -1),
|
|
370
|
-
|
|
371
|
-
d: "
|
|
709
|
+
c("path", {
|
|
710
|
+
d: "M12 14.7143L13.1151 15.6701C13.3268 15.8515 13.646 15.8247 13.8246 15.6105L16 13",
|
|
372
711
|
stroke: "currentColor",
|
|
373
|
-
"stroke-width": "1.5"
|
|
712
|
+
"stroke-width": "1.5",
|
|
713
|
+
"stroke-linecap": "round"
|
|
374
714
|
}, null, -1)
|
|
375
715
|
]));
|
|
376
716
|
}
|
|
377
|
-
const
|
|
717
|
+
const Fn = /* @__PURE__ */ y(On, [["render", Nn]]), Yn = {}, Un = {
|
|
378
718
|
width: "20",
|
|
379
719
|
height: "20",
|
|
380
720
|
viewBox: "0 0 20 20",
|
|
381
721
|
fill: "none",
|
|
382
722
|
xmlns: "http://www.w3.org/2000/svg"
|
|
383
723
|
};
|
|
384
|
-
function
|
|
385
|
-
return
|
|
386
|
-
|
|
387
|
-
d: "
|
|
724
|
+
function Xn(t, e) {
|
|
725
|
+
return d(), p("svg", Un, e[0] || (e[0] = [
|
|
726
|
+
c("path", {
|
|
727
|
+
d: "M3.33398 11.6641H10.0007M3.33398 15.4141H10.0007M3.33398 7.91406H16.6673M3.33398 4.16406H16.6673M12.5007 13.7474H16.6673M14.584 11.6641V15.8307",
|
|
388
728
|
stroke: "currentColor",
|
|
389
729
|
"stroke-width": "1.5",
|
|
390
730
|
"stroke-linecap": "round",
|
|
391
731
|
"stroke-linejoin": "round"
|
|
392
|
-
}, null, -1)
|
|
393
|
-
|
|
394
|
-
|
|
732
|
+
}, null, -1)
|
|
733
|
+
]));
|
|
734
|
+
}
|
|
735
|
+
const Kn = /* @__PURE__ */ y(Yn, [["render", Xn]]), Gn = {}, qn = {
|
|
736
|
+
width: "20",
|
|
737
|
+
height: "20",
|
|
738
|
+
viewBox: "0 0 20 20",
|
|
739
|
+
fill: "none",
|
|
740
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
741
|
+
};
|
|
742
|
+
function Jn(t, e) {
|
|
743
|
+
return d(), p("svg", qn, e[0] || (e[0] = [
|
|
744
|
+
c("path", {
|
|
745
|
+
d: "M9.58268 15.4167H4.58268C4.14065 15.4167 3.71673 15.2411 3.40417 14.9285C3.09161 14.616 2.91602 14.192 2.91602 13.75V7.08333M2.91602 7.08333V5.41667C2.91602 4.97464 3.09161 4.55072 3.40417 4.23816C3.71673 3.92559 4.14065 3.75 4.58268 3.75H15.416C15.858 3.75 16.282 3.92559 16.5945 4.23816C16.9071 4.55072 17.0827 4.97464 17.0827 5.41667V6.95833C17.0827 6.97475 17.0795 6.991 17.0732 7.00617C17.0669 7.02133 17.0577 7.03511 17.0461 7.04672C17.0345 7.05833 17.0207 7.06754 17.0055 7.07382C16.9904 7.0801 16.9741 7.08333 16.9577 7.08333H2.91602ZM2.91602 11.25H7.91602",
|
|
395
746
|
stroke: "currentColor",
|
|
396
747
|
"stroke-width": "1.5",
|
|
397
748
|
"stroke-linecap": "round",
|
|
398
749
|
"stroke-linejoin": "round"
|
|
750
|
+
}, null, -1),
|
|
751
|
+
c("path", {
|
|
752
|
+
d: "M11.3743 13.4718C11.1768 13.1168 11.0784 12.9393 11.0393 12.7509C11.0051 12.5849 11.0051 12.4136 11.0393 12.2476C11.0784 12.0593 11.1768 11.8818 11.3743 11.5268L11.6434 11.0426L11.9284 10.5676C12.1368 10.2184 12.2418 10.0443 12.3851 9.9176C12.512 9.80464 12.6606 9.71872 12.8218 9.6651C13.0034 9.60427 13.2068 9.60094 13.6126 9.5951L14.1668 9.58594L14.7209 9.59427C15.1268 9.60094 15.3293 9.60427 15.5126 9.6651C15.6734 9.71858 15.8217 9.8042 15.9484 9.91677C16.0918 10.0443 16.1968 10.2184 16.4051 10.5668L16.6901 11.0426L16.9593 11.5268C17.1568 11.8818 17.2551 12.0593 17.2943 12.2468C17.3286 12.4134 17.3286 12.5852 17.2943 12.7518C17.2551 12.9393 17.1568 13.1168 16.9593 13.4718L16.6901 13.9559L16.4051 14.4309C16.1968 14.7801 16.0918 14.9543 15.9484 15.0809C15.8216 15.1939 15.673 15.2798 15.5118 15.3334C15.3301 15.3943 15.1268 15.3976 14.7209 15.4034L14.1668 15.4126L13.6126 15.4043C13.2068 15.3976 13.0043 15.3943 12.8209 15.3334C12.6601 15.28 12.5118 15.1943 12.3851 15.0818C12.2418 14.9543 12.1368 14.7801 11.9284 14.4318L11.6434 13.9559L11.3743 13.4718Z",
|
|
753
|
+
stroke: "currentColor",
|
|
754
|
+
"stroke-width": "1.5",
|
|
755
|
+
"stroke-linejoin": "round"
|
|
756
|
+
}, null, -1),
|
|
757
|
+
c("path", {
|
|
758
|
+
d: "M14.1654 13.3307C14.6256 13.3307 14.9987 12.9576 14.9987 12.4974C14.9987 12.0372 14.6256 11.6641 14.1654 11.6641C13.7051 11.6641 13.332 12.0372 13.332 12.4974C13.332 12.9576 13.7051 13.3307 14.1654 13.3307Z",
|
|
759
|
+
fill: "currentColor"
|
|
399
760
|
}, null, -1)
|
|
400
761
|
]));
|
|
401
762
|
}
|
|
402
|
-
const
|
|
763
|
+
const Qn = /* @__PURE__ */ y(Gn, [["render", Jn]]), eo = {}, to = {
|
|
403
764
|
width: "20",
|
|
404
765
|
height: "20",
|
|
405
766
|
viewBox: "0 0 20 20",
|
|
406
767
|
fill: "none",
|
|
407
768
|
xmlns: "http://www.w3.org/2000/svg"
|
|
408
769
|
};
|
|
409
|
-
function
|
|
410
|
-
return
|
|
411
|
-
|
|
770
|
+
function no(t, e) {
|
|
771
|
+
return d(), p("svg", to, e[0] || (e[0] = [
|
|
772
|
+
c("path", {
|
|
773
|
+
d: "M14.5833 1.83594C15.7533 1.83594 16.3392 1.83594 16.7592 2.11677C16.9412 2.2384 17.0975 2.39471 17.2192 2.57677C17.5 2.99677 17.5 3.5826 17.5 4.7526V15.4193C17.5 16.5893 17.5 17.1751 17.2192 17.5951C17.0975 17.7772 16.9412 17.9335 16.7592 18.0551C16.3392 18.3359 15.7533 18.3359 14.5833 18.3359C13.4133 18.3359 12.8275 18.3359 12.4075 18.0551C12.2254 17.9335 12.0691 17.7772 11.9475 17.5951C11.6667 17.1751 11.6667 16.5893 11.6667 15.4193V4.7526C11.6667 3.5826 11.6667 2.99677 11.9475 2.57677C12.0691 2.39471 12.2254 2.2384 12.4075 2.11677C12.8275 1.83594 13.4133 1.83594 14.5833 1.83594ZM5.41667 1.83594C6.58667 1.83594 7.1725 1.83594 7.5925 2.11677C7.77456 2.2384 7.93087 2.39471 8.0525 2.57677C8.33333 2.99677 8.33333 3.5826 8.33333 4.7526V15.4193C8.33333 16.5893 8.33333 17.1751 8.0525 17.5951C7.93087 17.7772 7.77456 17.9335 7.5925 18.0551C7.1725 18.3359 6.58667 18.3359 5.41667 18.3359C4.24667 18.3359 3.66083 18.3359 3.24083 18.0551C3.05877 17.9335 2.90246 17.7772 2.78083 17.5951C2.5 17.1751 2.5 16.5893 2.5 15.4193V4.7526C2.5 3.5826 2.5 2.99677 2.78083 2.57677C2.90246 2.39471 3.05877 2.2384 3.24083 2.11677C3.66083 1.83594 4.24667 1.83594 5.41667 1.83594Z",
|
|
774
|
+
stroke: "currentColor",
|
|
775
|
+
"stroke-width": "1.5",
|
|
776
|
+
"stroke-linecap": "round",
|
|
777
|
+
"stroke-linejoin": "round"
|
|
778
|
+
}, null, -1)
|
|
412
779
|
]));
|
|
413
780
|
}
|
|
414
|
-
const
|
|
781
|
+
const oo = /* @__PURE__ */ y(eo, [["render", no]]), lo = {}, so = {
|
|
415
782
|
width: "20",
|
|
416
783
|
height: "20",
|
|
417
784
|
viewBox: "0 0 20 20",
|
|
418
785
|
fill: "none",
|
|
419
786
|
xmlns: "http://www.w3.org/2000/svg"
|
|
420
787
|
};
|
|
421
|
-
function
|
|
422
|
-
return
|
|
423
|
-
|
|
424
|
-
d: "
|
|
788
|
+
function ro(t, e) {
|
|
789
|
+
return d(), p("svg", so, e[0] || (e[0] = [
|
|
790
|
+
c("path", {
|
|
791
|
+
d: "M18.166 14.5833C18.166 15.7533 18.166 16.3392 17.8852 16.7592C17.7636 16.9412 17.6072 17.0975 17.4252 17.2192C17.0052 17.5 16.4193 17.5 15.2493 17.5L4.58268 17.5C3.41268 17.5 2.82685 17.5 2.40685 17.2192C2.22479 17.0975 2.06848 16.9412 1.94685 16.7592C1.66601 16.3392 1.66602 15.7533 1.66602 14.5833C1.66602 13.4133 1.66601 12.8275 1.94685 12.4075C2.06848 12.2254 2.22479 12.0691 2.40685 11.9475C2.82685 11.6667 3.41268 11.6667 4.58268 11.6667L15.2493 11.6667C16.4193 11.6667 17.0052 11.6667 17.4252 11.9475C17.6072 12.0691 17.7636 12.2254 17.8852 12.4075C18.166 12.8275 18.166 13.4133 18.166 14.5833ZM18.166 5.41667C18.166 6.58667 18.166 7.1725 17.8852 7.5925C17.7636 7.77456 17.6072 7.93087 17.4252 8.0525C17.0052 8.33333 16.4193 8.33333 15.2493 8.33333L4.58268 8.33333C3.41268 8.33333 2.82685 8.33333 2.40685 8.0525C2.22479 7.93087 2.06848 7.77456 1.94685 7.5925C1.66601 7.1725 1.66602 6.58667 1.66602 5.41667C1.66602 4.24667 1.66601 3.66083 1.94685 3.24083C2.06848 3.05877 2.22479 2.90246 2.40685 2.78083C2.82685 2.5 3.41268 2.5 4.58268 2.5L15.2493 2.5C16.4193 2.5 17.0052 2.5 17.4252 2.78083C17.6072 2.90246 17.7636 3.05877 17.8852 3.24083C18.166 3.66083 18.166 4.24667 18.166 5.41667Z",
|
|
425
792
|
stroke: "currentColor",
|
|
426
793
|
"stroke-width": "1.5",
|
|
427
794
|
"stroke-linecap": "round",
|
|
428
795
|
"stroke-linejoin": "round"
|
|
429
|
-
}, null, -1)
|
|
430
|
-
|
|
431
|
-
|
|
796
|
+
}, null, -1)
|
|
797
|
+
]));
|
|
798
|
+
}
|
|
799
|
+
const io = /* @__PURE__ */ y(lo, [["render", ro]]), ao = {}, co = {
|
|
800
|
+
width: "20",
|
|
801
|
+
height: "20",
|
|
802
|
+
viewBox: "0 0 20 20",
|
|
803
|
+
fill: "none",
|
|
804
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
805
|
+
};
|
|
806
|
+
function uo(t, e) {
|
|
807
|
+
return d(), p("svg", co, e[0] || (e[0] = [
|
|
808
|
+
c("path", {
|
|
809
|
+
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",
|
|
432
810
|
stroke: "currentColor",
|
|
433
811
|
"stroke-width": "1.5",
|
|
434
812
|
"stroke-linecap": "round",
|
|
435
813
|
"stroke-linejoin": "round"
|
|
814
|
+
}, null, -1),
|
|
815
|
+
c("path", {
|
|
816
|
+
d: "M13 16L14.5 14.5M16 13L14.5 14.5M14.5 14.5L13 13M14.5 14.5L16 16",
|
|
817
|
+
stroke: "currentColor",
|
|
818
|
+
"stroke-width": "1.5",
|
|
819
|
+
"stroke-linecap": "round"
|
|
436
820
|
}, null, -1)
|
|
437
821
|
]));
|
|
438
822
|
}
|
|
439
|
-
const
|
|
440
|
-
// arrow icons
|
|
441
|
-
arrowDown: Ct,
|
|
442
|
-
arrowTop: xt,
|
|
443
|
-
arrowRight: Et,
|
|
444
|
-
arrowLeft: zt,
|
|
445
|
-
arrowReload: St,
|
|
446
|
-
// table icons
|
|
447
|
-
columnInsert: At,
|
|
448
|
-
freeze: Ft,
|
|
449
|
-
unfreeze: Xt,
|
|
450
|
-
columnsMove: nn,
|
|
451
|
-
empty: Jt,
|
|
823
|
+
const ho = /* @__PURE__ */ y(ao, [["render", uo]]), po = {
|
|
452
824
|
// actions icons
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
close:
|
|
825
|
+
circleChecked: gt,
|
|
826
|
+
circleClose: yt,
|
|
827
|
+
close: St,
|
|
828
|
+
delete: Bt,
|
|
829
|
+
edit: zt,
|
|
830
|
+
goTo: Pt,
|
|
831
|
+
listBulletHorizontal: Nt,
|
|
832
|
+
listBullet: Xt,
|
|
833
|
+
plusRound: Jt,
|
|
834
|
+
prompt: n1,
|
|
835
|
+
prompter: r1,
|
|
836
|
+
save: d1,
|
|
837
|
+
statusChange2: m1,
|
|
838
|
+
statusChange: w1,
|
|
839
|
+
usersGroup: b1,
|
|
840
|
+
// arrow icons
|
|
841
|
+
arrowDown: $1,
|
|
842
|
+
arrowLeft: H1,
|
|
843
|
+
arrowReload: T1,
|
|
844
|
+
arrowRight: D1,
|
|
845
|
+
arrowTop: O1,
|
|
456
846
|
// filter icons
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
filterExchange:
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
847
|
+
filterAdd: Y1,
|
|
848
|
+
filterAdvanced: G1,
|
|
849
|
+
filterDateCheck: en,
|
|
850
|
+
filterEdit: ln,
|
|
851
|
+
filterExchange: cn,
|
|
852
|
+
filterMultiselect: pn,
|
|
853
|
+
filterNew: Cn,
|
|
854
|
+
filterReset: kn,
|
|
855
|
+
filterSave: Mn,
|
|
856
|
+
// table icons
|
|
857
|
+
columnInsert: Vn,
|
|
858
|
+
columnsMove: En,
|
|
859
|
+
empty: Wn,
|
|
860
|
+
excel: An,
|
|
861
|
+
freeze: Fn,
|
|
862
|
+
listAdd: Kn,
|
|
863
|
+
tableSettings: Qn,
|
|
864
|
+
twoColumns: oo,
|
|
865
|
+
twoRows: io,
|
|
866
|
+
unfreeze: ho
|
|
867
|
+
}, J = /* @__PURE__ */ ne({
|
|
467
868
|
__name: "VIcon",
|
|
468
869
|
props: {
|
|
469
|
-
name: {}
|
|
870
|
+
name: {},
|
|
871
|
+
width: {},
|
|
872
|
+
height: {},
|
|
873
|
+
color: { default: "currentColor" }
|
|
470
874
|
},
|
|
471
875
|
setup(t) {
|
|
472
|
-
const e = t, o = V(() =>
|
|
473
|
-
|
|
876
|
+
const e = t, o = V(() => po[e.name]), n = V(() => ({
|
|
877
|
+
...e.width && { width: typeof e.width == "number" ? `${e.width}px` : e.width },
|
|
878
|
+
...e.height && { height: typeof e.height == "number" ? `${e.height}px` : e.height },
|
|
879
|
+
color: e.color
|
|
880
|
+
}));
|
|
881
|
+
return (l, s) => o.value ? (d(), le(Fe(o.value), {
|
|
882
|
+
key: 0,
|
|
883
|
+
style: oe(n.value)
|
|
884
|
+
}, null, 8, ["style"])) : z("", !0);
|
|
474
885
|
}
|
|
475
|
-
}),
|
|
476
|
-
function
|
|
477
|
-
return
|
|
886
|
+
}), mo = {}, fo = { class: "vt-loader" };
|
|
887
|
+
function vo(t, e) {
|
|
888
|
+
return d(), p("span", fo);
|
|
478
889
|
}
|
|
479
|
-
const
|
|
890
|
+
const Ge = /* @__PURE__ */ y(mo, [["render", vo]]), Co = ["disabled", "type", "data-placement"], wo = {
|
|
480
891
|
key: 2,
|
|
481
892
|
class: "vt-button__content"
|
|
482
|
-
}, be = /* @__PURE__ */
|
|
893
|
+
}, be = /* @__PURE__ */ ne({
|
|
483
894
|
__name: "VButton",
|
|
484
895
|
props: {
|
|
485
896
|
type: { default: "default" },
|
|
@@ -493,11 +904,11 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
493
904
|
},
|
|
494
905
|
emits: ["click"],
|
|
495
906
|
setup(t, { emit: e }) {
|
|
496
|
-
const o = t, n = e, l =
|
|
497
|
-
var b,
|
|
907
|
+
const o = t, n = e, l = He(), s = V(() => !!(o.icon && o.shape)), i = V(() => {
|
|
908
|
+
var b, $;
|
|
498
909
|
const r = l.default ? l.default({}) : null;
|
|
499
|
-
return ((
|
|
500
|
-
}),
|
|
910
|
+
return (($ = (b = r == null ? void 0 : r[0]) == null ? void 0 : b.children) == null ? void 0 : $.toString()) ?? "";
|
|
911
|
+
}), u = V(() => [
|
|
501
912
|
"vt-button",
|
|
502
913
|
`vt-button--${o.type}`,
|
|
503
914
|
{
|
|
@@ -506,41 +917,41 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
506
917
|
"vt-button--disabled": o.disabled || o.loading,
|
|
507
918
|
"vt-button--loading": o.loading
|
|
508
919
|
}
|
|
509
|
-
]), a = V(() => s.value && o.tooltip ? i.value : null),
|
|
920
|
+
]), a = V(() => s.value && o.tooltip ? i.value : null), m = (r) => {
|
|
510
921
|
!o.disabled && !o.loading && n("click", r);
|
|
511
922
|
};
|
|
512
923
|
return (r, b) => {
|
|
513
|
-
const
|
|
514
|
-
return
|
|
515
|
-
class: E(
|
|
924
|
+
const $ = Ye("tooltip");
|
|
925
|
+
return Ie((d(), p("button", {
|
|
926
|
+
class: E(u.value),
|
|
516
927
|
disabled: o.disabled || o.loading,
|
|
517
928
|
type: o.htmlType,
|
|
518
929
|
"data-placement": o.tooltipPlacement,
|
|
519
|
-
onClick:
|
|
930
|
+
onClick: m
|
|
520
931
|
}, [
|
|
521
|
-
o.loading ? (
|
|
932
|
+
o.loading ? (d(), le(Ge, {
|
|
522
933
|
key: 0,
|
|
523
934
|
class: "vt-button__icon"
|
|
524
|
-
})) : o.icon ? (
|
|
935
|
+
})) : o.icon ? (d(), le(J, {
|
|
525
936
|
key: 1,
|
|
526
937
|
name: o.icon,
|
|
527
938
|
class: "vt-button__icon"
|
|
528
|
-
}, null, 8, ["name"])) :
|
|
529
|
-
s.value ?
|
|
939
|
+
}, null, 8, ["name"])) : z("", !0),
|
|
940
|
+
s.value ? z("", !0) : (d(), p("span", wo, [
|
|
530
941
|
ue(r.$slots, "default")
|
|
531
942
|
]))
|
|
532
|
-
], 10,
|
|
533
|
-
[
|
|
943
|
+
], 10, Co)), [
|
|
944
|
+
[$, a.value]
|
|
534
945
|
]);
|
|
535
946
|
};
|
|
536
947
|
}
|
|
537
|
-
}),
|
|
948
|
+
}), _o = {
|
|
538
949
|
key: 0,
|
|
539
950
|
class: "vt-modal__header"
|
|
540
|
-
},
|
|
951
|
+
}, go = {
|
|
541
952
|
key: 0,
|
|
542
953
|
class: "vt-modal__title"
|
|
543
|
-
},
|
|
954
|
+
}, ko = { class: "vt-modal__content" }, qe = /* @__PURE__ */ ne({
|
|
544
955
|
__name: "VModal",
|
|
545
956
|
props: {
|
|
546
957
|
modelValue: { type: Boolean },
|
|
@@ -556,38 +967,38 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
556
967
|
zIndex: o.zIndex
|
|
557
968
|
})), i = () => {
|
|
558
969
|
n("update:modelValue", !1), n("close");
|
|
559
|
-
},
|
|
970
|
+
}, u = () => {
|
|
560
971
|
o.closeOnBackdropClick && i();
|
|
561
972
|
};
|
|
562
|
-
return (a,
|
|
563
|
-
a.modelValue ? (
|
|
973
|
+
return (a, m) => (d(), le(Ue, { to: "body" }, [
|
|
974
|
+
a.modelValue ? (d(), p("div", {
|
|
564
975
|
key: 0,
|
|
565
976
|
class: "vt-modal__backdrop",
|
|
566
|
-
style:
|
|
567
|
-
onClick:
|
|
977
|
+
style: oe(s.value),
|
|
978
|
+
onClick: u
|
|
568
979
|
}, [
|
|
569
|
-
|
|
980
|
+
c("div", {
|
|
570
981
|
class: E(l.value),
|
|
571
|
-
onClick:
|
|
982
|
+
onClick: m[0] || (m[0] = fe(() => {
|
|
572
983
|
}, ["stop"]))
|
|
573
984
|
}, [
|
|
574
|
-
a.title || a.showCloseButton ? (
|
|
575
|
-
a.title ? (
|
|
576
|
-
a.showCloseButton ? (
|
|
985
|
+
a.title || a.showCloseButton ? (d(), p("div", _o, [
|
|
986
|
+
a.title ? (d(), p("h2", go, te(a.title), 1)) : z("", !0),
|
|
987
|
+
a.showCloseButton ? (d(), le(J, {
|
|
577
988
|
key: 1,
|
|
578
989
|
name: "close",
|
|
579
990
|
class: "vt-modal__close",
|
|
580
991
|
onClick: i
|
|
581
|
-
})) :
|
|
582
|
-
])) :
|
|
583
|
-
|
|
992
|
+
})) : z("", !0)
|
|
993
|
+
])) : z("", !0),
|
|
994
|
+
c("div", ko, [
|
|
584
995
|
ue(a.$slots, "default")
|
|
585
996
|
])
|
|
586
997
|
], 2)
|
|
587
|
-
], 4)) :
|
|
998
|
+
], 4)) : z("", !0)
|
|
588
999
|
]));
|
|
589
1000
|
}
|
|
590
|
-
}),
|
|
1001
|
+
}), bo = { class: "vt-pagination" }, xo = { class: "vt-pagination__info" }, yo = { class: "vt-pagination__rows-per-page" }, Mo = ["value"], $o = { class: "vt-pagination__navigation" }, Lo = ["disabled"], So = ["onClick"], Vo = ["disabled"], Ho = /* @__PURE__ */ ne({
|
|
591
1002
|
__name: "VPagination",
|
|
592
1003
|
props: {
|
|
593
1004
|
totalItems: {},
|
|
@@ -604,97 +1015,97 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
604
1015
|
}), s = V({
|
|
605
1016
|
get: () => o.pageSize,
|
|
606
1017
|
set: (M) => n("update:pageSize", M)
|
|
607
|
-
}), i = V(() => Math.ceil(o.totalItems / s.value)),
|
|
608
|
-
const M = [],
|
|
609
|
-
if (
|
|
610
|
-
for (let
|
|
611
|
-
M.push(
|
|
1018
|
+
}), i = V(() => Math.ceil(o.totalItems / s.value)), u = V(() => o.totalItems === 0 ? 0 : (l.value - 1) * s.value + 1), a = V(() => Math.min(l.value * s.value, o.totalItems)), m = V(() => l.value <= 1), r = V(() => l.value >= i.value), b = V(() => {
|
|
1019
|
+
const M = [], I = i.value, H = l.value, F = o.maxVisiblePages;
|
|
1020
|
+
if (I <= F)
|
|
1021
|
+
for (let A = 1; A <= I; A++)
|
|
1022
|
+
M.push(A);
|
|
612
1023
|
else {
|
|
613
1024
|
M.push(1);
|
|
614
|
-
const
|
|
615
|
-
|
|
616
|
-
for (let K =
|
|
1025
|
+
const A = Math.max(2, H - Math.floor(F / 2)), q = Math.min(I - 1, H + Math.floor(F / 2));
|
|
1026
|
+
A > 2 && M.push("...");
|
|
1027
|
+
for (let K = A; K <= q; K++)
|
|
617
1028
|
M.push(K);
|
|
618
|
-
|
|
1029
|
+
q < I - 1 && M.push("..."), I > 1 && M.push(I);
|
|
619
1030
|
}
|
|
620
1031
|
return M;
|
|
621
|
-
}),
|
|
1032
|
+
}), $ = () => {
|
|
622
1033
|
n("pageChange", {
|
|
623
1034
|
page: l.value,
|
|
624
1035
|
pageSize: s.value
|
|
625
1036
|
});
|
|
626
|
-
},
|
|
627
|
-
typeof M == "number" && M !== l.value && (l.value = M,
|
|
628
|
-
},
|
|
629
|
-
|
|
630
|
-
},
|
|
631
|
-
r.value || (l.value++,
|
|
1037
|
+
}, j = (M) => {
|
|
1038
|
+
typeof M == "number" && M !== l.value && (l.value = M, $());
|
|
1039
|
+
}, Y = () => {
|
|
1040
|
+
m.value || (l.value--, $());
|
|
1041
|
+
}, P = () => {
|
|
1042
|
+
r.value || (l.value++, $());
|
|
632
1043
|
}, W = () => {
|
|
633
|
-
l.value = 1,
|
|
634
|
-
},
|
|
1044
|
+
l.value = 1, $();
|
|
1045
|
+
}, U = () => {
|
|
635
1046
|
n("reloadData", l.value);
|
|
636
1047
|
};
|
|
637
|
-
return
|
|
1048
|
+
return we(
|
|
638
1049
|
() => o.totalItems,
|
|
639
1050
|
() => {
|
|
640
|
-
l.value > i.value && i.value > 0 && (l.value = i.value,
|
|
1051
|
+
l.value > i.value && i.value > 0 && (l.value = i.value, $());
|
|
641
1052
|
}
|
|
642
|
-
), (M,
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
1053
|
+
), (M, I) => (d(), p("div", bo, [
|
|
1054
|
+
c("div", xo, [
|
|
1055
|
+
c("div", yo, [
|
|
1056
|
+
I[1] || (I[1] = c("label", {
|
|
646
1057
|
for: "rowsSelect",
|
|
647
1058
|
class: "vt-pagination__label"
|
|
648
1059
|
}, "Рядків на сторінку:", -1)),
|
|
649
|
-
|
|
1060
|
+
Ie(c("select", {
|
|
650
1061
|
id: "rowsSelect",
|
|
651
|
-
"onUpdate:modelValue":
|
|
1062
|
+
"onUpdate:modelValue": I[0] || (I[0] = (H) => s.value = H),
|
|
652
1063
|
onChange: W,
|
|
653
1064
|
class: "vt-pagination__select"
|
|
654
1065
|
}, [
|
|
655
|
-
(
|
|
656
|
-
key:
|
|
657
|
-
value:
|
|
658
|
-
},
|
|
1066
|
+
(d(!0), p(re, null, ie(M.pageSizeOptions, (H) => (d(), p("option", {
|
|
1067
|
+
key: H,
|
|
1068
|
+
value: H
|
|
1069
|
+
}, te(H), 9, Mo))), 128))
|
|
659
1070
|
], 544), [
|
|
660
1071
|
[ht, s.value]
|
|
661
1072
|
])
|
|
662
1073
|
]),
|
|
663
|
-
|
|
1074
|
+
c("span", null, te(u.value) + " - " + te(a.value) + " з " + te(M.totalItems), 1)
|
|
664
1075
|
]),
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
onClick:
|
|
668
|
-
disabled:
|
|
669
|
-
class: E({ "vt-pagination__nav-button": !0, "has-items": !
|
|
1076
|
+
c("div", $o, [
|
|
1077
|
+
c("button", {
|
|
1078
|
+
onClick: Y,
|
|
1079
|
+
disabled: m.value,
|
|
1080
|
+
class: E({ "vt-pagination__nav-button": !0, "has-items": !m.value })
|
|
670
1081
|
}, [
|
|
671
|
-
|
|
672
|
-
], 10,
|
|
673
|
-
(
|
|
674
|
-
key:
|
|
675
|
-
onClick: (
|
|
1082
|
+
Z(J, { name: "arrowLeft" })
|
|
1083
|
+
], 10, Lo),
|
|
1084
|
+
(d(!0), p(re, null, ie(b.value, (H) => (d(), p("button", {
|
|
1085
|
+
key: H,
|
|
1086
|
+
onClick: (F) => j(H),
|
|
676
1087
|
class: E(["vt-pagination__nav-button", {
|
|
677
|
-
"vt-pagination__nav-button--active":
|
|
1088
|
+
"vt-pagination__nav-button--active": H === l.value
|
|
678
1089
|
}])
|
|
679
|
-
},
|
|
680
|
-
|
|
681
|
-
onClick:
|
|
1090
|
+
}, te(H), 11, So))), 128)),
|
|
1091
|
+
c("button", {
|
|
1092
|
+
onClick: P,
|
|
682
1093
|
disabled: r.value,
|
|
683
1094
|
class: E({ "vt-pagination__nav-button": !0, "has-items": !r.value })
|
|
684
1095
|
}, [
|
|
685
|
-
|
|
686
|
-
], 10,
|
|
1096
|
+
Z(J, { name: "arrowRight" })
|
|
1097
|
+
], 10, Vo)
|
|
687
1098
|
]),
|
|
688
|
-
|
|
689
|
-
|
|
1099
|
+
c("div", null, [
|
|
1100
|
+
Z(be, {
|
|
690
1101
|
icon: "arrowReload",
|
|
691
1102
|
shape: "circle",
|
|
692
1103
|
tooltip: "",
|
|
693
1104
|
tooltipPlacement: "left",
|
|
694
|
-
onClick:
|
|
1105
|
+
onClick: U
|
|
695
1106
|
}, {
|
|
696
|
-
default: he(() =>
|
|
697
|
-
|
|
1107
|
+
default: he(() => I[2] || (I[2] = [
|
|
1108
|
+
ke("Оновити дані ", -1)
|
|
698
1109
|
])),
|
|
699
1110
|
_: 1,
|
|
700
1111
|
__: [2]
|
|
@@ -702,7 +1113,7 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
702
1113
|
])
|
|
703
1114
|
]));
|
|
704
1115
|
}
|
|
705
|
-
}),
|
|
1116
|
+
}), Io = ["for"], Bo = ["id", "name", "value", "checked", "disabled", "required", ".indeterminate"], me = /* @__PURE__ */ ne({
|
|
706
1117
|
__name: "VCheckbox",
|
|
707
1118
|
props: {
|
|
708
1119
|
modelValue: { type: Boolean, default: void 0 },
|
|
@@ -720,16 +1131,16 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
720
1131
|
},
|
|
721
1132
|
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
722
1133
|
setup(t, { emit: e }) {
|
|
723
|
-
const o = t, n = e, l = () => `vt-checkbox-${Math.random().toString(36).substr(2, 9)}`, s = V(() => o.id || l()), i = V(() => o.modelValue ?? o.checked),
|
|
1134
|
+
const o = t, n = e, l = () => `vt-checkbox-${Math.random().toString(36).substr(2, 9)}`, s = V(() => o.id || l()), i = V(() => o.modelValue ?? o.checked), u = (r) => {
|
|
724
1135
|
if (o.disabled) return;
|
|
725
|
-
const
|
|
726
|
-
n("update:modelValue",
|
|
1136
|
+
const $ = r.target.checked;
|
|
1137
|
+
n("update:modelValue", $), n("change", $, r);
|
|
727
1138
|
}, a = (r) => {
|
|
728
1139
|
n("focus", r);
|
|
729
|
-
},
|
|
1140
|
+
}, m = (r) => {
|
|
730
1141
|
n("blur", r);
|
|
731
1142
|
};
|
|
732
|
-
return (r, b) => (
|
|
1143
|
+
return (r, b) => (d(), p("label", {
|
|
733
1144
|
class: E([
|
|
734
1145
|
"vt-checkbox",
|
|
735
1146
|
`vt-checkbox--${r.size}`,
|
|
@@ -741,7 +1152,7 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
741
1152
|
]),
|
|
742
1153
|
for: s.value
|
|
743
1154
|
}, [
|
|
744
|
-
|
|
1155
|
+
c("input", {
|
|
745
1156
|
id: s.value,
|
|
746
1157
|
name: r.name,
|
|
747
1158
|
value: r.value,
|
|
@@ -751,11 +1162,11 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
751
1162
|
".indeterminate": r.indeterminate,
|
|
752
1163
|
type: "checkbox",
|
|
753
1164
|
class: "vt-checkbox__input",
|
|
754
|
-
onChange:
|
|
1165
|
+
onChange: u,
|
|
755
1166
|
onFocus: a,
|
|
756
|
-
onBlur:
|
|
757
|
-
}, null, 40,
|
|
758
|
-
|
|
1167
|
+
onBlur: m
|
|
1168
|
+
}, null, 40, Bo),
|
|
1169
|
+
c("div", {
|
|
759
1170
|
class: E([
|
|
760
1171
|
"vt-checkbox__box",
|
|
761
1172
|
{
|
|
@@ -766,7 +1177,7 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
766
1177
|
}
|
|
767
1178
|
])
|
|
768
1179
|
}, [
|
|
769
|
-
!r.indeterminate && !r.isDouble ? (
|
|
1180
|
+
!r.indeterminate && !r.isDouble ? (d(), p("svg", {
|
|
770
1181
|
key: 0,
|
|
771
1182
|
class: E([
|
|
772
1183
|
"vt-checkbox__checkmark",
|
|
@@ -780,14 +1191,14 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
780
1191
|
fill: "none",
|
|
781
1192
|
xmlns: "http://www.w3.org/2000/svg"
|
|
782
1193
|
}, b[0] || (b[0] = [
|
|
783
|
-
|
|
1194
|
+
c("path", {
|
|
784
1195
|
d: "M1 5L3.58264 7.58264C3.80112 7.80112 4.16348 7.77113 4.34306 7.51971L9 1",
|
|
785
1196
|
stroke: "currentColor",
|
|
786
1197
|
"stroke-width": "2",
|
|
787
1198
|
"stroke-linecap": "round"
|
|
788
1199
|
}, null, -1)
|
|
789
|
-
]), 2)) :
|
|
790
|
-
r.isDouble && i.value ? (
|
|
1200
|
+
]), 2)) : z("", !0),
|
|
1201
|
+
r.isDouble && i.value ? (d(), p("svg", {
|
|
791
1202
|
key: 1,
|
|
792
1203
|
class: E([
|
|
793
1204
|
"vt-checkbox__checkmark",
|
|
@@ -801,22 +1212,22 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
801
1212
|
fill: "none",
|
|
802
1213
|
xmlns: "http://www.w3.org/2000/svg"
|
|
803
1214
|
}, b[1] || (b[1] = [
|
|
804
|
-
|
|
1215
|
+
c("path", {
|
|
805
1216
|
d: "M6 3L8.25 5L12 1",
|
|
806
1217
|
stroke: "currentColor",
|
|
807
1218
|
"stroke-width": "2",
|
|
808
1219
|
"stroke-linecap": "round",
|
|
809
1220
|
"stroke-linejoin": "round"
|
|
810
1221
|
}, null, -1),
|
|
811
|
-
|
|
1222
|
+
c("path", {
|
|
812
1223
|
d: "M1 3L3.25 5L7 1",
|
|
813
1224
|
stroke: "currentColor",
|
|
814
1225
|
"stroke-width": "2",
|
|
815
1226
|
"stroke-linecap": "round",
|
|
816
1227
|
"stroke-linejoin": "round"
|
|
817
1228
|
}, null, -1)
|
|
818
|
-
]), 2)) :
|
|
819
|
-
r.indeterminate ? (
|
|
1229
|
+
]), 2)) : z("", !0),
|
|
1230
|
+
r.indeterminate ? (d(), p("div", {
|
|
820
1231
|
key: 2,
|
|
821
1232
|
class: E([
|
|
822
1233
|
"vt-checkbox__indeterminate-mark",
|
|
@@ -824,9 +1235,9 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
824
1235
|
"vt-checkbox__indeterminate-mark--visible": r.indeterminate
|
|
825
1236
|
}
|
|
826
1237
|
])
|
|
827
|
-
}, null, 2)) :
|
|
1238
|
+
}, null, 2)) : z("", !0)
|
|
828
1239
|
], 2),
|
|
829
|
-
r.label || r.$slots.label || r.$slots.default ? (
|
|
1240
|
+
r.label || r.$slots.label || r.$slots.default ? (d(), p("span", {
|
|
830
1241
|
key: 0,
|
|
831
1242
|
class: E([
|
|
832
1243
|
"vt-checkbox__label",
|
|
@@ -837,71 +1248,71 @@ const Ke = /* @__PURE__ */ z(Qn, [["render", to]]), no = ["disabled", "type", "d
|
|
|
837
1248
|
}, [
|
|
838
1249
|
ue(r.$slots, "label", {}, () => [
|
|
839
1250
|
ue(r.$slots, "default", {}, () => [
|
|
840
|
-
|
|
1251
|
+
ke(te(r.label), 1)
|
|
841
1252
|
])
|
|
842
1253
|
])
|
|
843
|
-
], 2)) :
|
|
844
|
-
], 10,
|
|
1254
|
+
], 2)) : z("", !0)
|
|
1255
|
+
], 10, Io));
|
|
845
1256
|
}
|
|
846
1257
|
});
|
|
847
|
-
function
|
|
1258
|
+
function Eo(t) {
|
|
848
1259
|
const e = V(() => [...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), i = s.reduce((r, b) => r + (b.width || b.minWidth || 0), 0),
|
|
850
|
-
if (
|
|
851
|
-
const
|
|
852
|
-
return Math.max(Math.floor(
|
|
1260
|
+
const l = e.value.length, s = e.value.filter((r) => r.width || r.minWidth), i = s.reduce((r, b) => r + (b.width || b.minWidth || 0), 0), u = l - s.length;
|
|
1261
|
+
if (u === 0) return 150;
|
|
1262
|
+
const m = Math.max(800 - i, u * 80);
|
|
1263
|
+
return Math.max(Math.floor(m / u), 120);
|
|
853
1264
|
};
|
|
854
1265
|
return {
|
|
855
1266
|
sortedColumns: e,
|
|
856
1267
|
getDefaultColumnWidth: o,
|
|
857
1268
|
getStickyOffset: (l, s, i = !1) => {
|
|
858
|
-
const
|
|
1269
|
+
const u = e.value;
|
|
859
1270
|
let a = 0;
|
|
860
1271
|
if (l === "left") {
|
|
861
1272
|
i && (a += 50);
|
|
862
|
-
for (let
|
|
863
|
-
const r =
|
|
1273
|
+
for (let m = 0; m < s; m++) {
|
|
1274
|
+
const r = u[m];
|
|
864
1275
|
r.pinnedLeft && (a += r.width || r.minWidth || o());
|
|
865
1276
|
}
|
|
866
1277
|
} else
|
|
867
|
-
for (let
|
|
868
|
-
const r =
|
|
1278
|
+
for (let m = u.length - 1; m > s; m--) {
|
|
1279
|
+
const r = u[m];
|
|
869
1280
|
r.pinnedRight && (a += r.width || r.minWidth || o());
|
|
870
1281
|
}
|
|
871
1282
|
return a;
|
|
872
1283
|
}
|
|
873
1284
|
};
|
|
874
1285
|
}
|
|
875
|
-
function
|
|
1286
|
+
function To(t) {
|
|
876
1287
|
const e = () => {
|
|
877
1288
|
const s = {};
|
|
878
1289
|
return t.maxHeight && (s.maxHeight = `${t.maxHeight}px`), s;
|
|
879
|
-
}, o = (s, i,
|
|
880
|
-
const
|
|
1290
|
+
}, o = (s, i, u, a) => {
|
|
1291
|
+
const m = {};
|
|
881
1292
|
if (s.width)
|
|
882
|
-
|
|
1293
|
+
m.width = `${s.width}px`, m.minWidth = `${s.width}px`, m.maxWidth = `${s.width}px`;
|
|
883
1294
|
else if (s.minWidth)
|
|
884
|
-
|
|
1295
|
+
m.minWidth = `${s.minWidth}px`, m.width = `${s.minWidth}px`, m.maxWidth = "none";
|
|
885
1296
|
else {
|
|
886
1297
|
const r = a();
|
|
887
|
-
|
|
1298
|
+
m.width = `${r}px`, m.minWidth = "80px", m.maxWidth = "none";
|
|
888
1299
|
}
|
|
889
|
-
return s.pinnedLeft ? (
|
|
1300
|
+
return s.pinnedLeft ? (m.position = "sticky", m.left = `${u("left", i, t.selectable)}px`, m.zIndex = "10") : s.pinnedRight && (m.position = "sticky", m.right = `${u("right", i, !1)}px`, m.zIndex = "10"), m;
|
|
890
1301
|
};
|
|
891
1302
|
return {
|
|
892
1303
|
getTableWrapperStyle: e,
|
|
893
1304
|
getColumnStyle: o,
|
|
894
|
-
getHeaderStyle: (s, i,
|
|
895
|
-
const
|
|
896
|
-
return t.maxHeight && (
|
|
1305
|
+
getHeaderStyle: (s, i, u, a) => {
|
|
1306
|
+
const m = o(s, i, u, a);
|
|
1307
|
+
return t.maxHeight && (m.position = "sticky", m.top = "0", s.pinnedLeft || s.pinnedRight ? m.zIndex = "12" : m.zIndex = "11"), m;
|
|
897
1308
|
},
|
|
898
|
-
getFooterStyle: (s, i,
|
|
899
|
-
const
|
|
900
|
-
return t.maxHeight && (
|
|
1309
|
+
getFooterStyle: (s, i, u, a) => {
|
|
1310
|
+
const m = o(s, i, u, a);
|
|
1311
|
+
return t.maxHeight && (m.position = "sticky", m.bottom = "0", s.pinnedLeft || s.pinnedRight ? m.zIndex = "12" : m.zIndex = "11"), m;
|
|
901
1312
|
}
|
|
902
1313
|
};
|
|
903
1314
|
}
|
|
904
|
-
function
|
|
1315
|
+
function Ro() {
|
|
905
1316
|
const t = T({
|
|
906
1317
|
resizingCol: null,
|
|
907
1318
|
startX: 0,
|
|
@@ -910,104 +1321,104 @@ function bo() {
|
|
|
910
1321
|
return {
|
|
911
1322
|
onMouseDown: (n, l, s, i) => {
|
|
912
1323
|
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
|
|
914
|
-
const { resizingCol: r, startX: b, startWidth:
|
|
1324
|
+
const u = (m) => {
|
|
1325
|
+
const { resizingCol: r, startX: b, startWidth: $ } = t.value;
|
|
915
1326
|
if (!r) return;
|
|
916
|
-
document.querySelectorAll(`[data-resizer="${r.prop}"]`).forEach((
|
|
917
|
-
|
|
1327
|
+
document.querySelectorAll(`[data-resizer="${r.prop}"]`).forEach((U) => {
|
|
1328
|
+
U.classList.add("vt-table__resizer--active");
|
|
918
1329
|
});
|
|
919
|
-
const
|
|
1330
|
+
const j = m.clientX - b, Y = r.minWidth || 50, P = r.maxWidth || 1e3, W = Math.max(Math.min($ + j, P), Y);
|
|
920
1331
|
r.width = W;
|
|
921
1332
|
}, a = () => {
|
|
922
|
-
const { resizingCol:
|
|
923
|
-
document.removeEventListener("mousemove",
|
|
1333
|
+
const { resizingCol: m } = t.value;
|
|
1334
|
+
document.removeEventListener("mousemove", u), document.removeEventListener("mouseup", a), document.body.style.cursor = "", document.body.style.userSelect = "", document.body.classList.remove("vt-table-resizing"), m && (document.querySelectorAll(`[data-resizer="${m.prop}"]`).forEach((r) => {
|
|
924
1335
|
r.classList.remove("vt-table__resizer--active");
|
|
925
|
-
}), i &&
|
|
1336
|
+
}), i && m.width && i(m.width)), t.value.resizingCol = null;
|
|
926
1337
|
};
|
|
927
|
-
document.addEventListener("mousemove",
|
|
1338
|
+
document.addEventListener("mousemove", u), document.addEventListener("mouseup", a), document.body.style.cursor = e, document.body.style.userSelect = "none", document.body.classList.add("vt-table-resizing");
|
|
928
1339
|
},
|
|
929
1340
|
resizeState: t
|
|
930
1341
|
};
|
|
931
1342
|
}
|
|
932
|
-
function
|
|
933
|
-
var
|
|
934
|
-
const l = t.selectionKey || "id", s = T([]), i = T(null),
|
|
935
|
-
(
|
|
936
|
-
const a = (
|
|
937
|
-
if (
|
|
938
|
-
const
|
|
939
|
-
return
|
|
940
|
-
}),
|
|
941
|
-
const
|
|
942
|
-
if (
|
|
943
|
-
|
|
1343
|
+
function zo(t, e, o, n) {
|
|
1344
|
+
var ae;
|
|
1345
|
+
const l = t.selectionKey || "id", s = T([]), i = T(null), u = T(!1);
|
|
1346
|
+
(ae = t.defaultSelection) != null && ae.length && (s.value = [...t.defaultSelection]);
|
|
1347
|
+
const a = (L) => L[l], m = (L) => u.value ? !0 : s.value.some((x) => a(x) === a(L)), r = V(() => e.value.filter((L) => m(L)).length), b = V(() => e.value.length > 0 && r.value === e.value.length), $ = V(() => {
|
|
1348
|
+
if (u.value) return !1;
|
|
1349
|
+
const L = r.value;
|
|
1350
|
+
return L > 0 && L < e.value.length;
|
|
1351
|
+
}), j = V(() => u.value ? !0 : b.value && !$.value), Y = V(() => u.value), P = (L, x) => {
|
|
1352
|
+
const O = a(L), ee = s.value.some((w) => a(w) === a(L)), f = x !== void 0 ? x : !ee;
|
|
1353
|
+
if (u.value && !f) {
|
|
1354
|
+
u.value = !1, n != null && n.value && (s.value = n.value.filter((w) => a(w) !== O)), K(L, !1);
|
|
944
1355
|
return;
|
|
945
1356
|
}
|
|
946
|
-
|
|
1357
|
+
u.value && f || (f && !ee ? s.value.push(L) : !f && ee && (s.value = s.value.filter((w) => a(w) !== O)), t.selectOnClickRow && x === void 0 && F(f ? L : null), K(L, f));
|
|
947
1358
|
}, W = () => {
|
|
948
|
-
switch (
|
|
1359
|
+
switch (U()) {
|
|
949
1360
|
case "none":
|
|
950
1361
|
case "partial":
|
|
951
1362
|
M();
|
|
952
1363
|
break;
|
|
953
1364
|
case "allVisible":
|
|
954
|
-
|
|
1365
|
+
I();
|
|
955
1366
|
break;
|
|
956
1367
|
case "absoluteAll":
|
|
957
|
-
|
|
1368
|
+
H();
|
|
958
1369
|
break;
|
|
959
1370
|
}
|
|
960
|
-
},
|
|
961
|
-
const
|
|
962
|
-
s.value.forEach((
|
|
963
|
-
|
|
964
|
-
}), e.value.forEach((
|
|
965
|
-
|
|
966
|
-
}), s.value =
|
|
967
|
-
},
|
|
968
|
-
|
|
969
|
-
},
|
|
970
|
-
s.value = [],
|
|
971
|
-
},
|
|
972
|
-
const
|
|
973
|
-
i.value =
|
|
1371
|
+
}, U = () => u.value ? "absoluteAll" : b.value ? "allVisible" : r.value > 0 ? "partial" : "none", M = () => {
|
|
1372
|
+
const L = [], x = new Set(s.value.map((O) => a(O)));
|
|
1373
|
+
s.value.forEach((O) => {
|
|
1374
|
+
L.push(O);
|
|
1375
|
+
}), e.value.forEach((O) => {
|
|
1376
|
+
x.has(a(O)) || L.push(O);
|
|
1377
|
+
}), s.value = L, u.value = !1, K();
|
|
1378
|
+
}, I = () => {
|
|
1379
|
+
u.value = !0, n != null && n.value ? s.value = [...n.value] : s.value = [...e.value], K(void 0, void 0, !0);
|
|
1380
|
+
}, H = () => {
|
|
1381
|
+
s.value = [], u.value = !1, i.value = null, K();
|
|
1382
|
+
}, F = (L) => {
|
|
1383
|
+
const x = i.value;
|
|
1384
|
+
i.value = L, o("current-change", {
|
|
974
1385
|
currentRow: i.value,
|
|
975
|
-
oldCurrentRow:
|
|
1386
|
+
oldCurrentRow: x
|
|
976
1387
|
});
|
|
977
|
-
},
|
|
978
|
-
s.value = [...
|
|
979
|
-
}, K = (
|
|
980
|
-
const
|
|
1388
|
+
}, A = () => [...s.value], q = (L) => {
|
|
1389
|
+
s.value = [...L], u.value = !1, K();
|
|
1390
|
+
}, K = (L, x, O = !1) => {
|
|
1391
|
+
const ee = {
|
|
981
1392
|
selection: [...s.value],
|
|
982
|
-
row:
|
|
983
|
-
selected:
|
|
984
|
-
isAllSelected:
|
|
1393
|
+
row: L,
|
|
1394
|
+
selected: x,
|
|
1395
|
+
isAllSelected: O || u.value
|
|
985
1396
|
};
|
|
986
|
-
o("selection-change",
|
|
1397
|
+
o("selection-change", ee);
|
|
987
1398
|
};
|
|
988
|
-
return
|
|
1399
|
+
return we(
|
|
989
1400
|
() => t.defaultSelection,
|
|
990
|
-
(
|
|
991
|
-
|
|
1401
|
+
(L) => {
|
|
1402
|
+
L != null && L.length && (s.value = [...L]);
|
|
992
1403
|
}
|
|
993
1404
|
), {
|
|
994
1405
|
selectedRows: s,
|
|
995
1406
|
currentRow: i,
|
|
996
|
-
isRowSelected:
|
|
997
|
-
isAllSelected:
|
|
998
|
-
isIndeterminate:
|
|
999
|
-
isDoubleCheck:
|
|
1000
|
-
isFullSelection:
|
|
1001
|
-
toggleRowSelection:
|
|
1407
|
+
isRowSelected: m,
|
|
1408
|
+
isAllSelected: j,
|
|
1409
|
+
isIndeterminate: $,
|
|
1410
|
+
isDoubleCheck: Y,
|
|
1411
|
+
isFullSelection: u,
|
|
1412
|
+
toggleRowSelection: P,
|
|
1002
1413
|
toggleAllSelection: W,
|
|
1003
|
-
clearSelection:
|
|
1004
|
-
setCurrentRow:
|
|
1005
|
-
getSelectionRows:
|
|
1006
|
-
setSelectionRows:
|
|
1007
|
-
selectAbsolutelyAll:
|
|
1414
|
+
clearSelection: H,
|
|
1415
|
+
setCurrentRow: F,
|
|
1416
|
+
getSelectionRows: A,
|
|
1417
|
+
setSelectionRows: q,
|
|
1418
|
+
selectAbsolutelyAll: I
|
|
1008
1419
|
};
|
|
1009
1420
|
}
|
|
1010
|
-
function
|
|
1421
|
+
function Wo(t, e) {
|
|
1011
1422
|
if (!t)
|
|
1012
1423
|
return String(e.value ?? "");
|
|
1013
1424
|
try {
|
|
@@ -1017,38 +1428,38 @@ function yo(t, e) {
|
|
|
1017
1428
|
return console.error("Error rendering table slot:", o), String(e.value ?? "");
|
|
1018
1429
|
}
|
|
1019
1430
|
}
|
|
1020
|
-
const
|
|
1431
|
+
const Do = (t, e, o = "asc") => {
|
|
1021
1432
|
if (t == null && e == null) return 0;
|
|
1022
1433
|
if (t == null) return o === "asc" ? 1 : -1;
|
|
1023
1434
|
if (e == null) return o === "asc" ? -1 : 1;
|
|
1024
1435
|
if (t === e) return 0;
|
|
1025
1436
|
let n = 0;
|
|
1026
1437
|
const l = Number(t), s = Number(e);
|
|
1027
|
-
return !isNaN(l) && !isNaN(s) ? n = l - s :
|
|
1438
|
+
return !isNaN(l) && !isNaN(s) ? n = l - s : De(t) && De(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
1439
|
numeric: !0,
|
|
1029
1440
|
sensitivity: "base"
|
|
1030
1441
|
}), o === "desc" ? -n : n;
|
|
1031
|
-
},
|
|
1442
|
+
}, De = (t) => t instanceof Date ? !isNaN(t.getTime()) : typeof t == "string" && /\d{4}-\d{2}-\d{2}|\//.test(t) ? !isNaN(new Date(t).getTime()) : !1, jo = (t, e, o) => {
|
|
1032
1443
|
t.sortable && o({
|
|
1033
1444
|
prop: t.prop,
|
|
1034
1445
|
direction: e
|
|
1035
1446
|
});
|
|
1036
|
-
},
|
|
1447
|
+
}, je = (t, e) => {
|
|
1037
1448
|
const o = (e == null ? void 0 : e.prop) === t.prop, n = e == null ? void 0 : e.direction;
|
|
1038
1449
|
return {
|
|
1039
1450
|
asc: ["vt-th__sort-icon", o && n === "asc" && "vt-th__sortable-active"].filter(Boolean).join(" "),
|
|
1040
1451
|
desc: ["vt-th__sort-icon", o && n === "desc" && "vt-th__sortable-active"].filter(Boolean).join(" ")
|
|
1041
1452
|
};
|
|
1042
|
-
},
|
|
1453
|
+
}, Po = (t, e, o) => {
|
|
1043
1454
|
if (!e) return [...t];
|
|
1044
1455
|
const n = o.find((s) => s.prop === e.prop);
|
|
1045
1456
|
if (!(n != null && n.sortable)) return [...t];
|
|
1046
|
-
const l = n.sortMethod ||
|
|
1457
|
+
const l = n.sortMethod || Do;
|
|
1047
1458
|
return [...t].sort((s, i) => {
|
|
1048
|
-
const
|
|
1049
|
-
return l(
|
|
1459
|
+
const u = s[n.prop], a = i[n.prop];
|
|
1460
|
+
return l(u, a, e.direction);
|
|
1050
1461
|
});
|
|
1051
|
-
},
|
|
1462
|
+
}, Je = Symbol("dropdown-context"), Qe = /* @__PURE__ */ ne({
|
|
1052
1463
|
__name: "VDropdown",
|
|
1053
1464
|
props: {
|
|
1054
1465
|
trigger: { default: "hover" },
|
|
@@ -1058,161 +1469,165 @@ const xo = (t, e, o = "asc") => {
|
|
|
1058
1469
|
hideOnClick: { type: Boolean, default: !0 },
|
|
1059
1470
|
showTimeout: { default: 250 },
|
|
1060
1471
|
hideTimeout: { default: 150 },
|
|
1061
|
-
tabindex: { default: 0 }
|
|
1472
|
+
tabindex: { default: 0 },
|
|
1473
|
+
maxHeight: { default: "200" }
|
|
1062
1474
|
},
|
|
1063
1475
|
emits: ["visible-change", "click", "command"],
|
|
1064
1476
|
setup(t, { expose: e, emit: o }) {
|
|
1065
|
-
const n = t, l = o, s = T(), i = T(),
|
|
1477
|
+
const n = t, l = o, s = T(), i = T(), u = T(), a = T(!1), m = T(null), r = T([]), b = T(!0), $ = T(!1), j = T({
|
|
1066
1478
|
position: "absolute",
|
|
1067
1479
|
top: "0px",
|
|
1068
1480
|
left: "0px",
|
|
1069
1481
|
zIndex: 2e3,
|
|
1070
1482
|
transformOrigin: "center top"
|
|
1071
|
-
})
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1483
|
+
}), Y = V(() => ({
|
|
1484
|
+
...j.value,
|
|
1485
|
+
maxHeight: typeof n.maxHeight == "number" ? `${n.maxHeight}px` : `${n.maxHeight}px`
|
|
1486
|
+
}));
|
|
1487
|
+
He();
|
|
1488
|
+
const P = (h) => {
|
|
1489
|
+
if (!h) return !1;
|
|
1490
|
+
const v = h.getBoundingClientRect();
|
|
1491
|
+
if (v.width === 0 && v.height === 0) return !1;
|
|
1492
|
+
const _ = window.innerHeight || document.documentElement.clientHeight, k = window.innerWidth || document.documentElement.clientWidth;
|
|
1493
|
+
if (!(v.top < _ && v.bottom > 0 && v.left < k && v.right > 0)) return !1;
|
|
1494
|
+
let Q = h.parentElement;
|
|
1495
|
+
for (; Q && Q !== document.body; ) {
|
|
1496
|
+
const pe = Q.getBoundingClientRect(), ve = window.getComputedStyle(Q);
|
|
1497
|
+
if ((ve.overflow === "hidden" || ve.overflowY === "hidden" || ve.overflowX === "hidden") && (v.top >= pe.bottom || v.bottom <= pe.top || v.left >= pe.right || v.right <= pe.left))
|
|
1083
1498
|
return !1;
|
|
1084
|
-
|
|
1499
|
+
Q = Q.parentElement;
|
|
1085
1500
|
}
|
|
1086
1501
|
return !0;
|
|
1087
|
-
},
|
|
1502
|
+
}, W = () => {
|
|
1088
1503
|
if (!i.value) return;
|
|
1089
|
-
const
|
|
1090
|
-
b.value !==
|
|
1091
|
-
},
|
|
1092
|
-
const
|
|
1093
|
-
let _ =
|
|
1504
|
+
const h = P(i.value);
|
|
1505
|
+
b.value !== h && (b.value = h, !h && a.value ? ($.value = !0, a.value = !1, l("visible-change", !1)) : h && $.value && !a.value && ($.value = !1, a.value = !0, M(), l("visible-change", !0)));
|
|
1506
|
+
}, U = (h) => {
|
|
1507
|
+
const v = [];
|
|
1508
|
+
let _ = h.parentElement;
|
|
1094
1509
|
for (; _ && _ !== document.body; ) {
|
|
1095
|
-
const
|
|
1096
|
-
(["scroll", "auto"].includes(
|
|
1510
|
+
const k = window.getComputedStyle(_), G = k.overflowY, Q = k.overflowX;
|
|
1511
|
+
(["scroll", "auto"].includes(G) || ["scroll", "auto"].includes(Q) || _.scrollHeight > _.clientHeight || _.scrollWidth > _.clientWidth) && v.push(_), _ = _.parentElement;
|
|
1097
1512
|
}
|
|
1098
|
-
return
|
|
1099
|
-
},
|
|
1100
|
-
if (await pt(), !i.value || !
|
|
1101
|
-
const
|
|
1102
|
-
let _ = 0,
|
|
1513
|
+
return v.push(window), v;
|
|
1514
|
+
}, M = async () => {
|
|
1515
|
+
if (await pt(), !i.value || !u.value) return;
|
|
1516
|
+
const h = i.value.getBoundingClientRect(), v = u.value.getBoundingClientRect();
|
|
1517
|
+
let _ = 0, k = 0;
|
|
1103
1518
|
switch (n.placement) {
|
|
1104
1519
|
case "bottom":
|
|
1105
|
-
_ =
|
|
1520
|
+
_ = h.bottom + window.scrollY + 5, k = h.left + window.scrollX + (h.width - v.width) / 2;
|
|
1106
1521
|
break;
|
|
1107
1522
|
case "bottom-start":
|
|
1108
|
-
_ =
|
|
1523
|
+
_ = h.bottom + window.scrollY + 5, k = h.left + window.scrollX;
|
|
1109
1524
|
break;
|
|
1110
1525
|
case "bottom-end":
|
|
1111
|
-
_ =
|
|
1526
|
+
_ = h.bottom + window.scrollY + 5, k = h.right + window.scrollX - v.width;
|
|
1112
1527
|
break;
|
|
1113
1528
|
case "top":
|
|
1114
|
-
_ =
|
|
1529
|
+
_ = h.top + window.scrollY - v.height - 5, k = h.left + window.scrollX + (h.width - v.width) / 2;
|
|
1115
1530
|
break;
|
|
1116
1531
|
case "top-start":
|
|
1117
|
-
_ =
|
|
1532
|
+
_ = h.top + window.scrollY - v.height - 5, k = h.left + window.scrollX;
|
|
1118
1533
|
break;
|
|
1119
1534
|
case "top-end":
|
|
1120
|
-
_ =
|
|
1535
|
+
_ = h.top + window.scrollY - v.height - 5, k = h.right + window.scrollX - v.width;
|
|
1121
1536
|
break;
|
|
1122
1537
|
}
|
|
1123
|
-
|
|
1124
|
-
},
|
|
1125
|
-
i.value && (r.value =
|
|
1126
|
-
|
|
1127
|
-
}), window.addEventListener("resize",
|
|
1128
|
-
},
|
|
1129
|
-
r.value.forEach((
|
|
1130
|
-
|
|
1131
|
-
}), window.removeEventListener("resize",
|
|
1132
|
-
},
|
|
1133
|
-
n.disabled || a.value || !i.value || !
|
|
1538
|
+
k + v.width > window.innerWidth && (k = window.innerWidth - v.width - 10), k < 10 && (k = 10), _ + v.height > window.innerHeight + window.scrollY && (_ = h.top + window.scrollY - v.height - 5), _ < window.scrollY + 10 && (_ = window.scrollY + 10), j.value.top = `${_}px`, j.value.left = `${k}px`;
|
|
1539
|
+
}, I = () => {
|
|
1540
|
+
i.value && (r.value = U(i.value), r.value.forEach((h) => {
|
|
1541
|
+
h.addEventListener("scroll", w, { passive: !0 });
|
|
1542
|
+
}), window.addEventListener("resize", w));
|
|
1543
|
+
}, H = () => {
|
|
1544
|
+
r.value.forEach((h) => {
|
|
1545
|
+
h.removeEventListener("scroll", w);
|
|
1546
|
+
}), window.removeEventListener("resize", w), r.value = [];
|
|
1547
|
+
}, F = () => {
|
|
1548
|
+
n.disabled || a.value || !i.value || !P(i.value) || (q(), m.value = window.setTimeout(
|
|
1134
1549
|
async () => {
|
|
1135
|
-
a.value = !0, b.value = !0,
|
|
1550
|
+
a.value = !0, b.value = !0, $.value = !1, await M(), I(), l("visible-change", !0);
|
|
1136
1551
|
},
|
|
1137
1552
|
n.trigger === "hover" ? n.showTimeout : 0
|
|
1138
1553
|
));
|
|
1139
|
-
},
|
|
1140
|
-
a.value && (
|
|
1554
|
+
}, A = () => {
|
|
1555
|
+
a.value && (q(), m.value = window.setTimeout(
|
|
1141
1556
|
() => {
|
|
1142
|
-
a.value = !1,
|
|
1557
|
+
a.value = !1, $.value = !1, H(), l("visible-change", !1);
|
|
1143
1558
|
},
|
|
1144
1559
|
n.trigger === "hover" ? n.hideTimeout : 0
|
|
1145
1560
|
));
|
|
1146
|
-
},
|
|
1147
|
-
|
|
1561
|
+
}, q = () => {
|
|
1562
|
+
m.value && (window.clearTimeout(m.value), m.value = null);
|
|
1148
1563
|
};
|
|
1149
|
-
|
|
1150
|
-
handleCommand: (
|
|
1151
|
-
|
|
1564
|
+
Xe(Je, {
|
|
1565
|
+
handleCommand: (h) => {
|
|
1566
|
+
l("command", h), n.hideOnClick && A();
|
|
1152
1567
|
},
|
|
1153
1568
|
hideOnClick: n.hideOnClick
|
|
1154
1569
|
});
|
|
1155
|
-
const
|
|
1156
|
-
n.disabled || (
|
|
1157
|
-
},
|
|
1158
|
-
n.trigger === "hover" &&
|
|
1570
|
+
const ae = (h) => {
|
|
1571
|
+
n.disabled || (l("click", h), n.trigger === "click" && (a.value ? A() : F()));
|
|
1572
|
+
}, L = () => {
|
|
1573
|
+
n.trigger === "hover" && F();
|
|
1159
1574
|
}, x = () => {
|
|
1160
|
-
n.trigger === "hover" &&
|
|
1161
|
-
},
|
|
1162
|
-
n.trigger === "hover" &&
|
|
1163
|
-
},
|
|
1164
|
-
n.trigger === "hover" &&
|
|
1165
|
-
},
|
|
1166
|
-
var _,
|
|
1575
|
+
n.trigger === "hover" && A();
|
|
1576
|
+
}, O = () => {
|
|
1577
|
+
n.trigger === "hover" && q();
|
|
1578
|
+
}, ee = () => {
|
|
1579
|
+
n.trigger === "hover" && A();
|
|
1580
|
+
}, f = (h) => {
|
|
1581
|
+
var _, k;
|
|
1167
1582
|
if (!a.value) return;
|
|
1168
|
-
const
|
|
1169
|
-
(_ = s.value) != null && _.contains(
|
|
1170
|
-
},
|
|
1171
|
-
(a.value ||
|
|
1583
|
+
const v = h.target;
|
|
1584
|
+
(_ = s.value) != null && _.contains(v) || (k = u.value) != null && k.contains(v) || A();
|
|
1585
|
+
}, w = () => {
|
|
1586
|
+
(a.value || $.value) && (W(), a.value && M());
|
|
1172
1587
|
};
|
|
1173
1588
|
return e({
|
|
1174
|
-
show:
|
|
1175
|
-
hide:
|
|
1589
|
+
show: F,
|
|
1590
|
+
hide: A,
|
|
1176
1591
|
visible: a
|
|
1177
1592
|
}), _e(() => {
|
|
1178
|
-
document.addEventListener("click",
|
|
1179
|
-
}),
|
|
1180
|
-
document.removeEventListener("click",
|
|
1181
|
-
}), (
|
|
1593
|
+
document.addEventListener("click", f);
|
|
1594
|
+
}), Be(() => {
|
|
1595
|
+
document.removeEventListener("click", f), H(), q();
|
|
1596
|
+
}), (h, v) => (d(), p("div", {
|
|
1182
1597
|
ref_key: "dropdownRef",
|
|
1183
1598
|
ref: s,
|
|
1184
1599
|
class: "vt-dropdown",
|
|
1185
|
-
onClick:
|
|
1186
|
-
onMouseenter:
|
|
1600
|
+
onClick: ae,
|
|
1601
|
+
onMouseenter: L,
|
|
1187
1602
|
onMouseleave: x
|
|
1188
1603
|
}, [
|
|
1189
|
-
|
|
1604
|
+
c("div", {
|
|
1190
1605
|
ref_key: "triggerRef",
|
|
1191
1606
|
ref: i,
|
|
1192
1607
|
class: "vt-dropdown__trigger"
|
|
1193
1608
|
}, [
|
|
1194
|
-
ue(
|
|
1609
|
+
ue(h.$slots, "default")
|
|
1195
1610
|
], 512),
|
|
1196
|
-
a.value && b.value ? (
|
|
1611
|
+
a.value && b.value ? (d(), le(Ue, {
|
|
1197
1612
|
key: 0,
|
|
1198
1613
|
to: "body"
|
|
1199
1614
|
}, [
|
|
1200
|
-
|
|
1615
|
+
c("div", {
|
|
1201
1616
|
ref_key: "menuRef",
|
|
1202
|
-
ref:
|
|
1203
|
-
style:
|
|
1617
|
+
ref: u,
|
|
1618
|
+
style: oe(Y.value),
|
|
1204
1619
|
class: "vt-dropdown-menu",
|
|
1205
|
-
onMouseenter:
|
|
1206
|
-
onMouseleave:
|
|
1207
|
-
onClick:
|
|
1620
|
+
onMouseenter: O,
|
|
1621
|
+
onMouseleave: ee,
|
|
1622
|
+
onClick: v[0] || (v[0] = fe(() => {
|
|
1208
1623
|
}, ["stop"]))
|
|
1209
1624
|
}, [
|
|
1210
|
-
ue(
|
|
1625
|
+
ue(h.$slots, "dropdown")
|
|
1211
1626
|
], 36)
|
|
1212
|
-
])) :
|
|
1627
|
+
])) : z("", !0)
|
|
1213
1628
|
], 544));
|
|
1214
1629
|
}
|
|
1215
|
-
}), Le = /* @__PURE__ */
|
|
1630
|
+
}), Le = /* @__PURE__ */ ne({
|
|
1216
1631
|
__name: "VDropdownItem",
|
|
1217
1632
|
props: {
|
|
1218
1633
|
command: {},
|
|
@@ -1222,27 +1637,27 @@ const xo = (t, e, o = "asc") => {
|
|
|
1222
1637
|
},
|
|
1223
1638
|
emits: ["click"],
|
|
1224
1639
|
setup(t, { emit: e }) {
|
|
1225
|
-
const o = t, n = e, l =
|
|
1640
|
+
const o = t, n = e, l = Ke(Je);
|
|
1226
1641
|
l || console.warn("VDropdownItem must be used within VDropdown");
|
|
1227
1642
|
const s = (i) => {
|
|
1228
1643
|
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)));
|
|
1229
1644
|
};
|
|
1230
|
-
return (i,
|
|
1645
|
+
return (i, u) => (d(), p("li", {
|
|
1231
1646
|
class: E(["vt-dropdown-item", {
|
|
1232
1647
|
"is-disabled": i.disabled,
|
|
1233
1648
|
"vt-dropdown-item--divided": i.divided
|
|
1234
1649
|
}]),
|
|
1235
1650
|
onClick: s
|
|
1236
1651
|
}, [
|
|
1237
|
-
i.icon ? (
|
|
1652
|
+
i.icon ? (d(), p("i", {
|
|
1238
1653
|
key: 0,
|
|
1239
1654
|
class: E([i.icon, "vt-dropdown-item__icon"])
|
|
1240
|
-
}, null, 2)) :
|
|
1655
|
+
}, null, 2)) : z("", !0),
|
|
1241
1656
|
ue(i.$slots, "default")
|
|
1242
1657
|
], 2));
|
|
1243
1658
|
}
|
|
1244
1659
|
});
|
|
1245
|
-
class
|
|
1660
|
+
class Ao {
|
|
1246
1661
|
constructor() {
|
|
1247
1662
|
this.modalStack = [], this.baseZIndex = 1e3;
|
|
1248
1663
|
}
|
|
@@ -1256,7 +1671,7 @@ class $o {
|
|
|
1256
1671
|
de.closeById(o);
|
|
1257
1672
|
}, 100);
|
|
1258
1673
|
};
|
|
1259
|
-
return () =>
|
|
1674
|
+
return () => Me(
|
|
1260
1675
|
qe,
|
|
1261
1676
|
{
|
|
1262
1677
|
modelValue: l.value,
|
|
@@ -1269,19 +1684,19 @@ class $o {
|
|
|
1269
1684
|
zIndex: s
|
|
1270
1685
|
},
|
|
1271
1686
|
{
|
|
1272
|
-
default: () => e.component ?
|
|
1687
|
+
default: () => e.component ? Me(e.component, e.props || {}) : e.content ? Me("div", { innerHTML: e.content }) : null
|
|
1273
1688
|
}
|
|
1274
1689
|
);
|
|
1275
1690
|
}
|
|
1276
1691
|
});
|
|
1277
1692
|
i.mount(n);
|
|
1278
|
-
const
|
|
1693
|
+
const u = {
|
|
1279
1694
|
id: o,
|
|
1280
1695
|
app: i,
|
|
1281
1696
|
container: n,
|
|
1282
1697
|
isOpen: l
|
|
1283
1698
|
};
|
|
1284
|
-
return this.modalStack.push(
|
|
1699
|
+
return this.modalStack.push(u), o;
|
|
1285
1700
|
}
|
|
1286
1701
|
close() {
|
|
1287
1702
|
if (this.modalStack.length > 0) {
|
|
@@ -1311,7 +1726,7 @@ class $o {
|
|
|
1311
1726
|
recalculateZIndices() {
|
|
1312
1727
|
}
|
|
1313
1728
|
}
|
|
1314
|
-
const de = new
|
|
1729
|
+
const de = new Ao(), Oo = {
|
|
1315
1730
|
install(t) {
|
|
1316
1731
|
t.config.globalProperties.$modal = de, t.config.globalProperties.$modalStack = {
|
|
1317
1732
|
closeAll: () => de.closeAll(),
|
|
@@ -1319,16 +1734,16 @@ const de = new $o(), So = {
|
|
|
1319
1734
|
closeById: (e) => de.closeById(e)
|
|
1320
1735
|
};
|
|
1321
1736
|
}
|
|
1322
|
-
},
|
|
1737
|
+
}, Zo = { class: "vt-columns-selector-body" }, No = { class: "vt-columns-selector" }, Fo = { class: "vt-columns-selector__panel" }, Yo = ["draggable", "onDragstart", "onDragover", "onDrop"], Uo = {
|
|
1323
1738
|
key: 0,
|
|
1324
1739
|
class: "vt-columns-selector__panel-item-pinned"
|
|
1325
|
-
},
|
|
1740
|
+
}, Xo = { class: "vt-columns-selector__available" }, Ko = ["onClick"], Go = {
|
|
1326
1741
|
key: 0,
|
|
1327
1742
|
class: "vt-columns-selector__group-columns"
|
|
1328
|
-
},
|
|
1743
|
+
}, qo = {
|
|
1329
1744
|
key: 0,
|
|
1330
1745
|
class: "vt-columns-selector__pinned-note"
|
|
1331
|
-
},
|
|
1746
|
+
}, Jo = { class: "vt-modal__content-button" }, Qo = /* @__PURE__ */ ne({
|
|
1332
1747
|
__name: "VTableColumnSelector",
|
|
1333
1748
|
props: {
|
|
1334
1749
|
columns: {},
|
|
@@ -1336,192 +1751,192 @@ const de = new $o(), So = {
|
|
|
1336
1751
|
},
|
|
1337
1752
|
emits: ["update-columns"],
|
|
1338
1753
|
setup(t, { emit: e }) {
|
|
1339
|
-
const o = t, n = e, l = T([]), s = T(/* @__PURE__ */ new Set()), i = T(-1),
|
|
1340
|
-
const
|
|
1341
|
-
return o.columnsSelector.forEach((
|
|
1342
|
-
if (
|
|
1754
|
+
const o = t, n = e, l = T([]), s = T(/* @__PURE__ */ new Set()), i = T(-1), u = T(-1), a = T("before"), m = V(() => {
|
|
1755
|
+
const f = {};
|
|
1756
|
+
return o.columnsSelector.forEach((w) => {
|
|
1757
|
+
if (w.name === "removed")
|
|
1343
1758
|
return;
|
|
1344
|
-
const h =
|
|
1345
|
-
|
|
1346
|
-
}),
|
|
1347
|
-
}), r = V(() => o.columnsSelector.filter((
|
|
1348
|
-
const
|
|
1349
|
-
let
|
|
1350
|
-
for (let
|
|
1351
|
-
|
|
1352
|
-
let h =
|
|
1353
|
-
for (let
|
|
1354
|
-
if (
|
|
1355
|
-
h =
|
|
1759
|
+
const h = w.columns.map((_) => _.prop), v = l.value.filter((_) => h.includes(_.prop));
|
|
1760
|
+
v.length === 0 ? f[w.name] = { checked: !1, indeterminate: !1 } : v.length === w.columns.length ? f[w.name] = { checked: !0, indeterminate: !1 } : f[w.name] = { checked: !1, indeterminate: !0 };
|
|
1761
|
+
}), f;
|
|
1762
|
+
}), r = V(() => o.columnsSelector.filter((f) => f.name !== "removed")), b = (f) => f.pinnedLeft || f.pinnedRight, $ = (f) => !b(f), j = () => {
|
|
1763
|
+
const f = l.value;
|
|
1764
|
+
let w = -1;
|
|
1765
|
+
for (let v = 0; v < f.length; v++)
|
|
1766
|
+
f[v].pinnedLeft && (w = v);
|
|
1767
|
+
let h = f.length;
|
|
1768
|
+
for (let v = 0; v < f.length; v++)
|
|
1769
|
+
if (f[v].pinnedRight) {
|
|
1770
|
+
h = v;
|
|
1356
1771
|
break;
|
|
1357
1772
|
}
|
|
1358
1773
|
return {
|
|
1359
|
-
minIndex:
|
|
1774
|
+
minIndex: w + 1,
|
|
1360
1775
|
maxIndex: h - 1
|
|
1361
1776
|
};
|
|
1362
|
-
},
|
|
1363
|
-
const
|
|
1364
|
-
return !(
|
|
1365
|
-
},
|
|
1366
|
-
const h = l.value[
|
|
1367
|
-
if (
|
|
1368
|
-
|
|
1777
|
+
}, Y = (f) => {
|
|
1778
|
+
const w = j();
|
|
1779
|
+
return !(f < w.minIndex || f > w.maxIndex + 1);
|
|
1780
|
+
}, P = (f, w) => {
|
|
1781
|
+
const h = l.value[w];
|
|
1782
|
+
if (!$(h)) {
|
|
1783
|
+
f.preventDefault();
|
|
1369
1784
|
return;
|
|
1370
1785
|
}
|
|
1371
|
-
i.value =
|
|
1372
|
-
}, W = (
|
|
1786
|
+
i.value = w, f.dataTransfer && (f.dataTransfer.effectAllowed = "move", f.dataTransfer.setData("text/plain", h.prop)), document.body.style.cursor = "grabbing";
|
|
1787
|
+
}, W = (f, w) => {
|
|
1373
1788
|
if (i.value === -1) return;
|
|
1374
|
-
|
|
1375
|
-
const h =
|
|
1376
|
-
let
|
|
1377
|
-
|
|
1378
|
-
},
|
|
1789
|
+
f.preventDefault();
|
|
1790
|
+
const h = f.currentTarget.getBoundingClientRect(), v = f.clientY, _ = h.top + h.height / 2;
|
|
1791
|
+
let k = w, G = "before";
|
|
1792
|
+
v < _ ? (k = w, G = "before") : (k = w + 1, G = "after"), i.value < k && k--, Y(k) ? (u.value = w, a.value = G, f.dataTransfer.dropEffect = "move") : (u.value = -1, f.dataTransfer.dropEffect = "none");
|
|
1793
|
+
}, U = () => {
|
|
1379
1794
|
setTimeout(() => {
|
|
1380
|
-
i.value === -1 && (
|
|
1795
|
+
i.value === -1 && (u.value = -1);
|
|
1381
1796
|
}, 50);
|
|
1382
|
-
}, M = (
|
|
1383
|
-
if (
|
|
1384
|
-
|
|
1797
|
+
}, M = (f, w) => {
|
|
1798
|
+
if (f.preventDefault(), i.value === -1 || u.value === -1) {
|
|
1799
|
+
H();
|
|
1385
1800
|
return;
|
|
1386
1801
|
}
|
|
1387
|
-
const h =
|
|
1388
|
-
let
|
|
1389
|
-
if (
|
|
1390
|
-
|
|
1802
|
+
const h = f.currentTarget.getBoundingClientRect(), v = f.clientY, _ = h.top + h.height / 2;
|
|
1803
|
+
let k = w;
|
|
1804
|
+
if (v >= _ && (k = w + 1), i.value < k && k--, !Y(k) || k === i.value) {
|
|
1805
|
+
H();
|
|
1391
1806
|
return;
|
|
1392
1807
|
}
|
|
1393
|
-
const
|
|
1394
|
-
|
|
1395
|
-
},
|
|
1396
|
-
|
|
1397
|
-
},
|
|
1398
|
-
i.value = -1,
|
|
1399
|
-
},
|
|
1400
|
-
const
|
|
1401
|
-
return i.value ===
|
|
1402
|
-
},
|
|
1403
|
-
l.value = [...o.columns.map((
|
|
1404
|
-
|
|
1808
|
+
const G = [...l.value], [Q] = G.splice(i.value, 1);
|
|
1809
|
+
G.splice(k, 0, Q), l.value = G, H();
|
|
1810
|
+
}, I = () => {
|
|
1811
|
+
H();
|
|
1812
|
+
}, H = () => {
|
|
1813
|
+
i.value = -1, u.value = -1, a.value = "before", document.body.style.cursor = "";
|
|
1814
|
+
}, F = (f) => {
|
|
1815
|
+
const w = ["vt-columns-selector__panel-item"];
|
|
1816
|
+
return i.value === f && w.push("vt-columns-selector__panel-item--dragging"), u.value === f && a.value === "before" && w.push("vt-columns-selector__panel-item--drop-before"), u.value === f && a.value === "after" && w.push("vt-columns-selector__panel-item--drop-after"), w;
|
|
1817
|
+
}, A = () => {
|
|
1818
|
+
l.value = [...o.columns.map((f) => ({ ...f }))], o.columnsSelector.forEach((f) => {
|
|
1819
|
+
f.name !== "removed" && s.value.add(f.name);
|
|
1405
1820
|
});
|
|
1406
|
-
},
|
|
1407
|
-
if (
|
|
1408
|
-
l.value.some((h) => h.prop ===
|
|
1821
|
+
}, q = (f, w) => {
|
|
1822
|
+
if (w)
|
|
1823
|
+
l.value.some((h) => h.prop === f.prop) || l.value.push({ ...f });
|
|
1409
1824
|
else {
|
|
1410
|
-
if (b(
|
|
1825
|
+
if (b(f))
|
|
1411
1826
|
return;
|
|
1412
|
-
l.value = l.value.filter((h) => h.prop !==
|
|
1827
|
+
l.value = l.value.filter((h) => h.prop !== f.prop);
|
|
1413
1828
|
}
|
|
1414
|
-
}, K = (
|
|
1415
|
-
if (
|
|
1416
|
-
|
|
1417
|
-
l.value.some((
|
|
1829
|
+
}, K = (f, w) => {
|
|
1830
|
+
if (w)
|
|
1831
|
+
f.columns.forEach((h) => {
|
|
1832
|
+
l.value.some((v) => v.prop === h.prop) || l.value.push({ ...h });
|
|
1418
1833
|
});
|
|
1419
1834
|
else {
|
|
1420
1835
|
const h = [];
|
|
1421
|
-
|
|
1422
|
-
const
|
|
1423
|
-
|
|
1836
|
+
f.columns.forEach((v) => {
|
|
1837
|
+
const _ = l.value.find((k) => k.prop === v.prop);
|
|
1838
|
+
_ && !b(_) && h.push(_);
|
|
1424
1839
|
}), l.value = l.value.filter(
|
|
1425
|
-
(
|
|
1840
|
+
(v) => !h.some((_) => _.prop === v.prop)
|
|
1426
1841
|
);
|
|
1427
1842
|
}
|
|
1428
|
-
},
|
|
1429
|
-
const
|
|
1430
|
-
return !
|
|
1431
|
-
},
|
|
1432
|
-
s.value.has(
|
|
1433
|
-
},
|
|
1843
|
+
}, ae = (f) => l.value.some((w) => w.prop === f.prop), L = (f) => {
|
|
1844
|
+
const w = l.value.find((h) => h.prop === f.prop);
|
|
1845
|
+
return !w || !b(w);
|
|
1846
|
+
}, x = (f) => {
|
|
1847
|
+
s.value.has(f) ? s.value.delete(f) : s.value.add(f);
|
|
1848
|
+
}, O = () => {
|
|
1434
1849
|
n("update-columns", [...l.value]), de.close();
|
|
1435
|
-
},
|
|
1850
|
+
}, ee = () => {
|
|
1436
1851
|
de.close();
|
|
1437
1852
|
};
|
|
1438
1853
|
return _e(() => {
|
|
1439
|
-
|
|
1440
|
-
}), (
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
(
|
|
1854
|
+
A();
|
|
1855
|
+
}), (f, w) => (d(), p("div", Zo, [
|
|
1856
|
+
c("div", No, [
|
|
1857
|
+
c("div", Fo, [
|
|
1858
|
+
(d(!0), p(re, null, ie(l.value, (h, v) => (d(), p("div", {
|
|
1444
1859
|
key: h.prop,
|
|
1445
|
-
class: E(
|
|
1446
|
-
draggable:
|
|
1447
|
-
onDragstart: (
|
|
1448
|
-
onDragover: (
|
|
1449
|
-
onDragleave:
|
|
1450
|
-
onDrop: (
|
|
1451
|
-
onDragend:
|
|
1860
|
+
class: E(F(v)),
|
|
1861
|
+
draggable: $(h),
|
|
1862
|
+
onDragstart: (_) => P(_, v),
|
|
1863
|
+
onDragover: (_) => W(_, v),
|
|
1864
|
+
onDragleave: U,
|
|
1865
|
+
onDrop: (_) => M(_, v),
|
|
1866
|
+
onDragend: I
|
|
1452
1867
|
}, [
|
|
1453
|
-
|
|
1454
|
-
name:
|
|
1455
|
-
class: E(["vt-columns-selector__panel-item-icon", { "vt-columns-selector__panel-item-icon--draggable":
|
|
1868
|
+
Z(J, {
|
|
1869
|
+
name: $(h) ? "columnsMove" : "freeze",
|
|
1870
|
+
class: E(["vt-columns-selector__panel-item-icon", { "vt-columns-selector__panel-item-icon--draggable": $(h) }])
|
|
1456
1871
|
}, null, 8, ["name", "class"]),
|
|
1457
|
-
|
|
1872
|
+
Z(me, {
|
|
1458
1873
|
label: h.label,
|
|
1459
1874
|
checked: !0,
|
|
1460
1875
|
disabled: b(h),
|
|
1461
|
-
onChange: (
|
|
1462
|
-
onClick:
|
|
1876
|
+
onChange: (_) => q(h, _),
|
|
1877
|
+
onClick: w[0] || (w[0] = fe(() => {
|
|
1463
1878
|
}, ["stop"]))
|
|
1464
1879
|
}, null, 8, ["label", "disabled", "onChange"]),
|
|
1465
|
-
b(h) ? (
|
|
1466
|
-
], 42,
|
|
1880
|
+
b(h) ? (d(), p("span", Uo, "pinned")) : z("", !0)
|
|
1881
|
+
], 42, Yo))), 128))
|
|
1467
1882
|
]),
|
|
1468
|
-
|
|
1469
|
-
(
|
|
1470
|
-
var
|
|
1471
|
-
return
|
|
1883
|
+
c("div", Xo, [
|
|
1884
|
+
(d(!0), p(re, null, ie(r.value, (h) => {
|
|
1885
|
+
var v, _;
|
|
1886
|
+
return d(), p("div", {
|
|
1472
1887
|
key: h.name,
|
|
1473
1888
|
class: "vt-columns-selector__group"
|
|
1474
1889
|
}, [
|
|
1475
|
-
|
|
1890
|
+
c("div", {
|
|
1476
1891
|
class: "vt-columns-selector__group-header",
|
|
1477
|
-
onClick: (
|
|
1892
|
+
onClick: (k) => x(h.name)
|
|
1478
1893
|
}, [
|
|
1479
|
-
|
|
1894
|
+
Z(me, {
|
|
1480
1895
|
label: h.label,
|
|
1481
|
-
checked: ((
|
|
1482
|
-
indeterminate: ((
|
|
1483
|
-
onChange: (
|
|
1484
|
-
onClick:
|
|
1896
|
+
checked: ((v = m.value[h.name]) == null ? void 0 : v.checked) || !1,
|
|
1897
|
+
indeterminate: ((_ = m.value[h.name]) == null ? void 0 : _.indeterminate) || !1,
|
|
1898
|
+
onChange: (k) => K(h, k),
|
|
1899
|
+
onClick: w[1] || (w[1] = fe(() => {
|
|
1485
1900
|
}, ["stop"]))
|
|
1486
1901
|
}, null, 8, ["label", "checked", "indeterminate", "onChange"]),
|
|
1487
|
-
h.icon ? (
|
|
1902
|
+
h.icon ? (d(), le(J, {
|
|
1488
1903
|
key: 0,
|
|
1489
1904
|
name: h.icon,
|
|
1490
1905
|
class: "vt-columns-selector__group-icon"
|
|
1491
|
-
}, null, 8, ["name"])) :
|
|
1492
|
-
], 8,
|
|
1493
|
-
s.value.has(h.name) ? (
|
|
1494
|
-
(
|
|
1495
|
-
key:
|
|
1906
|
+
}, null, 8, ["name"])) : z("", !0)
|
|
1907
|
+
], 8, Ko),
|
|
1908
|
+
s.value.has(h.name) ? (d(), p("div", Go, [
|
|
1909
|
+
(d(!0), p(re, null, ie(h.columns, (k) => (d(), p("div", {
|
|
1910
|
+
key: k.prop,
|
|
1496
1911
|
class: "vt-columns-selector__group-column"
|
|
1497
1912
|
}, [
|
|
1498
|
-
|
|
1499
|
-
label:
|
|
1500
|
-
checked:
|
|
1501
|
-
disabled: !
|
|
1502
|
-
onChange: (
|
|
1913
|
+
Z(me, {
|
|
1914
|
+
label: k.label,
|
|
1915
|
+
checked: ae(k),
|
|
1916
|
+
disabled: !L(k),
|
|
1917
|
+
onChange: (G) => q(k, G)
|
|
1503
1918
|
}, null, 8, ["label", "checked", "disabled", "onChange"]),
|
|
1504
|
-
|
|
1919
|
+
L(k) ? z("", !0) : (d(), p("span", qo, " (закріплена) "))
|
|
1505
1920
|
]))), 128))
|
|
1506
|
-
])) :
|
|
1921
|
+
])) : z("", !0)
|
|
1507
1922
|
]);
|
|
1508
1923
|
}), 128))
|
|
1509
1924
|
])
|
|
1510
1925
|
]),
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
default: he(() =>
|
|
1514
|
-
|
|
1926
|
+
c("div", Jo, [
|
|
1927
|
+
Z(be, { onClick: ee }, {
|
|
1928
|
+
default: he(() => w[2] || (w[2] = [
|
|
1929
|
+
ke("Скасувати", -1)
|
|
1515
1930
|
])),
|
|
1516
1931
|
_: 1,
|
|
1517
1932
|
__: [2]
|
|
1518
1933
|
}),
|
|
1519
|
-
|
|
1934
|
+
Z(be, {
|
|
1520
1935
|
type: "primary",
|
|
1521
|
-
onClick:
|
|
1936
|
+
onClick: O
|
|
1522
1937
|
}, {
|
|
1523
|
-
default: he(() =>
|
|
1524
|
-
|
|
1938
|
+
default: he(() => w[3] || (w[3] = [
|
|
1939
|
+
ke("Зберегти", -1)
|
|
1525
1940
|
])),
|
|
1526
1941
|
_: 1,
|
|
1527
1942
|
__: [3]
|
|
@@ -1529,7 +1944,7 @@ const de = new $o(), So = {
|
|
|
1529
1944
|
])
|
|
1530
1945
|
]));
|
|
1531
1946
|
}
|
|
1532
|
-
}),
|
|
1947
|
+
}), el = { class: "vt-table-header-actions" }, tl = /* @__PURE__ */ ne({
|
|
1533
1948
|
__name: "ColumnActions",
|
|
1534
1949
|
props: {
|
|
1535
1950
|
column: {},
|
|
@@ -1544,7 +1959,7 @@ const de = new $o(), So = {
|
|
|
1544
1959
|
console.log("Executing pin command"), i();
|
|
1545
1960
|
break;
|
|
1546
1961
|
case "columns":
|
|
1547
|
-
console.log("Executing columns command"),
|
|
1962
|
+
console.log("Executing columns command"), m();
|
|
1548
1963
|
break;
|
|
1549
1964
|
default:
|
|
1550
1965
|
console.warn("Unknown command:", r);
|
|
@@ -1552,35 +1967,35 @@ const de = new $o(), So = {
|
|
|
1552
1967
|
}, i = () => {
|
|
1553
1968
|
const r = l();
|
|
1554
1969
|
console.log("handlePin called, isPinned:", r), r ? n("pin", o.column, "none") : n("pin", o.column, "left");
|
|
1555
|
-
},
|
|
1970
|
+
}, u = (r) => ({
|
|
1556
1971
|
name: "removed",
|
|
1557
1972
|
label: "Видалені колонки",
|
|
1558
1973
|
order: 999,
|
|
1559
1974
|
columns: r
|
|
1560
1975
|
}), a = (r) => {
|
|
1561
|
-
var
|
|
1562
|
-
const b = new Set(r.map((W) => W.prop)),
|
|
1563
|
-
(
|
|
1564
|
-
W.columns.forEach((
|
|
1565
|
-
}), o.allColumns.forEach((W) =>
|
|
1566
|
-
const
|
|
1567
|
-
|
|
1568
|
-
var
|
|
1976
|
+
var P;
|
|
1977
|
+
const b = new Set(r.map((W) => W.prop)), $ = /* @__PURE__ */ new Set();
|
|
1978
|
+
(P = o.columnsSelector) == null || P.forEach((W) => {
|
|
1979
|
+
W.columns.forEach((U) => $.add(U.prop));
|
|
1980
|
+
}), o.allColumns.forEach((W) => $.add(W.prop));
|
|
1981
|
+
const j = [];
|
|
1982
|
+
$.forEach((W) => {
|
|
1983
|
+
var U;
|
|
1569
1984
|
if (!b.has(W)) {
|
|
1570
1985
|
let M;
|
|
1571
|
-
(
|
|
1572
|
-
const
|
|
1573
|
-
|
|
1574
|
-
}), M || (M = o.allColumns.find((
|
|
1986
|
+
(U = o.columnsSelector) == null || U.forEach((I) => {
|
|
1987
|
+
const H = I.columns.find((F) => F.prop === W);
|
|
1988
|
+
H && (M = H);
|
|
1989
|
+
}), M || (M = o.allColumns.find((I) => I.prop === W)), M && j.push(M);
|
|
1575
1990
|
}
|
|
1576
1991
|
});
|
|
1577
|
-
const
|
|
1578
|
-
return
|
|
1579
|
-
},
|
|
1992
|
+
const Y = [...o.columnsSelector || []];
|
|
1993
|
+
return j.length > 0 && Y.push(u(j)), Y;
|
|
1994
|
+
}, m = () => {
|
|
1580
1995
|
console.log("handleToggleVisibility called");
|
|
1581
1996
|
const r = a(o.allColumns);
|
|
1582
1997
|
de.open({
|
|
1583
|
-
component:
|
|
1998
|
+
component: Qo,
|
|
1584
1999
|
title: "Управління колонками таблиці",
|
|
1585
2000
|
props: {
|
|
1586
2001
|
columns: o.allColumns,
|
|
@@ -1593,50 +2008,50 @@ const de = new $o(), So = {
|
|
|
1593
2008
|
closeOnBackdropClick: !1
|
|
1594
2009
|
});
|
|
1595
2010
|
};
|
|
1596
|
-
return (r, b) => (
|
|
2011
|
+
return (r, b) => (d(), le(Qe, {
|
|
1597
2012
|
trigger: "click",
|
|
1598
2013
|
placement: "bottom-start",
|
|
1599
2014
|
onCommand: s
|
|
1600
2015
|
}, {
|
|
1601
2016
|
dropdown: he(() => [
|
|
1602
|
-
|
|
2017
|
+
Z(Le, { command: "pin" }, {
|
|
1603
2018
|
default: he(() => [
|
|
1604
|
-
|
|
2019
|
+
Z(J, {
|
|
1605
2020
|
name: l() ? "unfreeze" : "freeze"
|
|
1606
2021
|
}, null, 8, ["name"]),
|
|
1607
|
-
|
|
2022
|
+
c("div", null, te(l() ? "Розморозити" : "Заморозити"), 1)
|
|
1608
2023
|
]),
|
|
1609
2024
|
_: 1
|
|
1610
2025
|
}),
|
|
1611
|
-
|
|
2026
|
+
Z(Le, { command: "columns" }, {
|
|
1612
2027
|
default: he(() => [
|
|
1613
|
-
|
|
1614
|
-
b[0] || (b[0] =
|
|
2028
|
+
Z(J, { name: "columnInsert" }),
|
|
2029
|
+
b[0] || (b[0] = c("div", null, "Колонки", -1))
|
|
1615
2030
|
]),
|
|
1616
2031
|
_: 1,
|
|
1617
2032
|
__: [0]
|
|
1618
2033
|
})
|
|
1619
2034
|
]),
|
|
1620
2035
|
default: he(() => [
|
|
1621
|
-
|
|
1622
|
-
|
|
2036
|
+
c("div", el, [
|
|
2037
|
+
Z(J, { name: "listBullet" })
|
|
1623
2038
|
])
|
|
1624
2039
|
]),
|
|
1625
2040
|
_: 1
|
|
1626
2041
|
}));
|
|
1627
2042
|
}
|
|
1628
|
-
}),
|
|
2043
|
+
}), nl = { class: "vt-table" }, ol = { class: "vt-th__content" }, ll = { class: "vt-th__content" }, sl = { class: "vt-th__label" }, rl = {
|
|
1629
2044
|
key: 0,
|
|
1630
2045
|
class: "vt-th__sortable"
|
|
1631
|
-
},
|
|
2046
|
+
}, il = ["data-resizer", "onMousedown"], al = {
|
|
1632
2047
|
key: 0,
|
|
1633
2048
|
class: "vt-table__empty-row"
|
|
1634
|
-
},
|
|
2049
|
+
}, cl = ["colspan"], dl = { class: "vt-table__empty-content" }, ul = ["onClick"], hl = { class: "vt-table__cell-content" }, pl = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, ml = { key: 1 }, fl = ["data-resizer", "onMousedown"], vl = {
|
|
1635
2050
|
key: 0,
|
|
1636
2051
|
class: "vt-table__summary"
|
|
1637
|
-
},
|
|
2052
|
+
}, Cl = { class: "vt-table__cell-content vt-table__cell-content--summary" }, $e = 50, wl = /* @__PURE__ */ ne({
|
|
1638
2053
|
__name: "VTable",
|
|
1639
|
-
props: /* @__PURE__ */
|
|
2054
|
+
props: /* @__PURE__ */ We({
|
|
1640
2055
|
data: {},
|
|
1641
2056
|
maxHeight: { default: void 0 },
|
|
1642
2057
|
rowKey: { default: "id" },
|
|
@@ -1658,145 +2073,145 @@ const de = new $o(), So = {
|
|
|
1658
2073
|
},
|
|
1659
2074
|
columnsModifiers: {}
|
|
1660
2075
|
}),
|
|
1661
|
-
emits: /* @__PURE__ */
|
|
2076
|
+
emits: /* @__PURE__ */ We(["sort-change", "selection-change", "current-change", "row-click", "update:columns", "column-pin", "column-resize", "column-visibility", "column-sort", "columns-change", "infinity-scroll"], ["update:columns"]),
|
|
1662
2077
|
setup(t, { expose: e, emit: o }) {
|
|
1663
|
-
const n = t, l = o, s =
|
|
1664
|
-
let
|
|
1665
|
-
const W = (
|
|
2078
|
+
const n = t, l = o, s = ft(t, "columns"), i = T({}), u = T(), a = vt([]), m = T(n.defaultSort || null), r = V(() => Po(n.data || [], m.value, a)), b = V(() => s.value !== void 0), $ = V(() => n.data && n.data.length > 0), j = T(!1), Y = T(0);
|
|
2079
|
+
let P;
|
|
2080
|
+
const W = (C, g) => n.rowKey && C[n.rowKey] != null ? String(C[n.rowKey]) : String(g), U = () => {
|
|
1666
2081
|
b.value && s.value ? a.splice(0, a.length, ...s.value) : n.columns && n.columns.length > 0 && a.splice(0, a.length, ...n.columns);
|
|
1667
2082
|
};
|
|
1668
|
-
|
|
2083
|
+
we(
|
|
1669
2084
|
() => s.value,
|
|
1670
|
-
(
|
|
1671
|
-
|
|
2085
|
+
(C) => {
|
|
2086
|
+
C && b.value && a.splice(0, a.length, ...C);
|
|
1672
2087
|
},
|
|
1673
2088
|
{ deep: !0 }
|
|
1674
|
-
),
|
|
2089
|
+
), we(
|
|
1675
2090
|
() => n.columns,
|
|
1676
|
-
(
|
|
1677
|
-
|
|
2091
|
+
(C) => {
|
|
2092
|
+
C && !b.value && a.splice(0, a.length, ...C);
|
|
1678
2093
|
},
|
|
1679
2094
|
{ deep: !0 }
|
|
1680
|
-
),
|
|
1681
|
-
const { sortedColumns: M, getDefaultColumnWidth:
|
|
1682
|
-
width: `${
|
|
1683
|
-
minWidth: `${
|
|
1684
|
-
maxWidth: `${
|
|
2095
|
+
), Xe("vt-table-columns", a);
|
|
2096
|
+
const { sortedColumns: M, getDefaultColumnWidth: I, getStickyOffset: H } = Eo(a), { getTableWrapperStyle: F, getColumnStyle: A, getHeaderStyle: q, getFooterStyle: K } = To(n), { onMouseDown: ae } = Ro(), L = V(() => n.allData || n.data), x = n.selectable ? zo(n, r, l, L) : null, O = () => ({
|
|
2097
|
+
width: `${$e}px`,
|
|
2098
|
+
minWidth: `${$e}px`,
|
|
2099
|
+
maxWidth: `${$e}px`,
|
|
1685
2100
|
left: "0px",
|
|
1686
2101
|
position: "sticky",
|
|
1687
2102
|
zIndex: 10
|
|
1688
|
-
}),
|
|
1689
|
-
const
|
|
2103
|
+
}), ee = () => {
|
|
2104
|
+
const C = O();
|
|
1690
2105
|
return n.maxHeight ? {
|
|
1691
|
-
...
|
|
2106
|
+
...C,
|
|
1692
2107
|
top: "0px",
|
|
1693
2108
|
zIndex: 11
|
|
1694
|
-
} :
|
|
1695
|
-
},
|
|
1696
|
-
const
|
|
2109
|
+
} : C;
|
|
2110
|
+
}, f = () => {
|
|
2111
|
+
const C = O();
|
|
1697
2112
|
return n.maxHeight ? {
|
|
1698
|
-
...
|
|
2113
|
+
...C,
|
|
1699
2114
|
bottom: "0px",
|
|
1700
2115
|
zIndex: 11
|
|
1701
|
-
} :
|
|
1702
|
-
},
|
|
1703
|
-
if (!
|
|
1704
|
-
const
|
|
1705
|
-
|
|
1706
|
-
const
|
|
1707
|
-
|
|
1708
|
-
|
|
2116
|
+
} : C;
|
|
2117
|
+
}, w = () => {
|
|
2118
|
+
if (!u.value || j.value) return;
|
|
2119
|
+
const C = u.value, g = C.scrollTop, B = C.scrollHeight, R = C.clientHeight, D = 30;
|
|
2120
|
+
P && clearTimeout(P), P = setTimeout(() => {
|
|
2121
|
+
const ge = g - Y.value > 1, S = B - g - R <= D, se = B - g - R <= 5;
|
|
2122
|
+
Y.value = g, ge && (S || se) && (j.value = !0, l("infinity-scroll"), setTimeout(() => {
|
|
2123
|
+
j.value = !1;
|
|
1709
2124
|
}, 1e3));
|
|
1710
2125
|
}, 50);
|
|
1711
2126
|
}, h = () => {
|
|
1712
|
-
|
|
2127
|
+
j.value = !1;
|
|
1713
2128
|
};
|
|
1714
2129
|
_e(() => {
|
|
1715
|
-
|
|
1716
|
-
}),
|
|
1717
|
-
|
|
2130
|
+
u.value && u.value.addEventListener("scroll", w);
|
|
2131
|
+
}), Be(() => {
|
|
2132
|
+
P && clearTimeout(P), u.value && u.value.removeEventListener("scroll", w);
|
|
1718
2133
|
});
|
|
1719
|
-
const
|
|
1720
|
-
|
|
1721
|
-
var R,
|
|
1722
|
-
((R =
|
|
1723
|
-
column:
|
|
1724
|
-
direction: ((
|
|
1725
|
-
prop:
|
|
2134
|
+
const v = (C, g) => {
|
|
2135
|
+
jo(C, g, (B) => {
|
|
2136
|
+
var R, D;
|
|
2137
|
+
((R = m.value) == null ? void 0 : R.prop) === C.prop && m.value.direction === g ? m.value = null : m.value = B, l("sort-change", {
|
|
2138
|
+
column: C,
|
|
2139
|
+
direction: ((D = m.value) == null ? void 0 : D.direction) || null,
|
|
2140
|
+
prop: C.prop,
|
|
1726
2141
|
sortedData: r.value
|
|
1727
2142
|
});
|
|
1728
2143
|
});
|
|
1729
|
-
},
|
|
2144
|
+
}, _ = (C, g) => {
|
|
1730
2145
|
const B = {
|
|
1731
|
-
pinnedLeft:
|
|
1732
|
-
pinnedRight:
|
|
2146
|
+
pinnedLeft: g === "left",
|
|
2147
|
+
pinnedRight: g === "right"
|
|
1733
2148
|
};
|
|
1734
|
-
|
|
1735
|
-
},
|
|
1736
|
-
a.splice(0, a.length, ...
|
|
1737
|
-
},
|
|
1738
|
-
const B = a.findIndex((R) => R.prop ===
|
|
2149
|
+
G(C.prop, B), l("column-pin", { column: { ...C, ...B }, position: g });
|
|
2150
|
+
}, k = (C) => {
|
|
2151
|
+
a.splice(0, a.length, ...C), b.value && (s.value = [...C]), l("columns-change", [...C]);
|
|
2152
|
+
}, G = (C, g) => {
|
|
2153
|
+
const B = a.findIndex((R) => R.prop === C);
|
|
1739
2154
|
if (B !== -1) {
|
|
1740
|
-
if (Object.assign(a[B],
|
|
1741
|
-
const R = s.value.findIndex((
|
|
2155
|
+
if (Object.assign(a[B], g), b.value && s.value) {
|
|
2156
|
+
const R = s.value.findIndex((D) => D.prop === C);
|
|
1742
2157
|
if (R !== -1) {
|
|
1743
|
-
const
|
|
1744
|
-
|
|
2158
|
+
const D = [...s.value];
|
|
2159
|
+
D[R] = { ...D[R], ...g }, s.value = D;
|
|
1745
2160
|
}
|
|
1746
2161
|
}
|
|
1747
2162
|
l("columns-change", [...a]);
|
|
1748
2163
|
}
|
|
1749
|
-
},
|
|
1750
|
-
l("row-click", { row:
|
|
1751
|
-
},
|
|
1752
|
-
B.stopPropagation(),
|
|
1753
|
-
},
|
|
1754
|
-
|
|
1755
|
-
},
|
|
1756
|
-
|
|
1757
|
-
},
|
|
1758
|
-
const B =
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
column: { ...
|
|
2164
|
+
}, Q = (C, g, B) => {
|
|
2165
|
+
l("row-click", { row: C, column: g, event: B }), n.highlightCurrentRow && x && x.setCurrentRow(C);
|
|
2166
|
+
}, pe = (C, g, B) => {
|
|
2167
|
+
B.stopPropagation(), x && x.toggleRowSelection(g, C);
|
|
2168
|
+
}, ve = (C, g) => {
|
|
2169
|
+
g.stopPropagation(), x && x.toggleAllSelection();
|
|
2170
|
+
}, Ee = (C, g) => {
|
|
2171
|
+
C && (i.value[g] = C);
|
|
2172
|
+
}, Te = (C, g) => {
|
|
2173
|
+
const B = g.width || I();
|
|
2174
|
+
ae(C, g, I, (R) => {
|
|
2175
|
+
G(g.prop, { width: R }), l("column-resize", {
|
|
2176
|
+
column: { ...g, width: R },
|
|
1762
2177
|
width: R,
|
|
1763
2178
|
oldWidth: B
|
|
1764
2179
|
});
|
|
1765
2180
|
});
|
|
1766
|
-
}, et = (
|
|
1767
|
-
if (!
|
|
1768
|
-
const B = g
|
|
2181
|
+
}, et = (C, g) => A(C, g, H, I), tt = (C, g) => q(C, g, H, I), nt = (C, g) => K(C, g, H, I), ot = (C, g) => {
|
|
2182
|
+
if (!g || !g.prop) return "";
|
|
2183
|
+
const B = C[g.prop];
|
|
1769
2184
|
return B == null ? "" : String(B);
|
|
1770
2185
|
}, lt = V(() => {
|
|
1771
|
-
if (!n.showSummary ||
|
|
1772
|
-
const
|
|
2186
|
+
if (!n.showSummary || !$.value) return {};
|
|
2187
|
+
const C = a;
|
|
1773
2188
|
if (typeof n.summaryMethod == "function") {
|
|
1774
|
-
const
|
|
1775
|
-
return
|
|
1776
|
-
(B, R,
|
|
2189
|
+
const g = n.summaryMethod({ columns: C, data: r.value });
|
|
2190
|
+
return C.reduce(
|
|
2191
|
+
(B, R, D) => (B[R.prop] = g[D], B),
|
|
1777
2192
|
{}
|
|
1778
2193
|
);
|
|
1779
2194
|
}
|
|
1780
|
-
return
|
|
1781
|
-
(
|
|
1782
|
-
const R = r.value.map((
|
|
1783
|
-
return
|
|
2195
|
+
return C.reduce(
|
|
2196
|
+
(g, B) => {
|
|
2197
|
+
const R = r.value.map((D) => D[B.prop]);
|
|
2198
|
+
return g[B.prop] = R.every((D) => typeof D == "number") ? R.reduce((D, Ce) => D + Ce, 0) : "", g;
|
|
1784
2199
|
},
|
|
1785
2200
|
{}
|
|
1786
2201
|
);
|
|
1787
|
-
}), st = V(() => n.showSummary &&
|
|
1788
|
-
|
|
2202
|
+
}), st = V(() => n.showSummary && $.value), rt = (C, g) => {
|
|
2203
|
+
x && x.toggleRowSelection(C, g);
|
|
1789
2204
|
}, it = () => {
|
|
1790
|
-
|
|
2205
|
+
x && x.toggleAllSelection();
|
|
1791
2206
|
}, at = () => {
|
|
1792
|
-
|
|
2207
|
+
x && x.selectAbsolutelyAll();
|
|
1793
2208
|
}, ct = () => {
|
|
1794
|
-
|
|
1795
|
-
}, dt = () =>
|
|
1796
|
-
|
|
2209
|
+
x && x.clearSelection();
|
|
2210
|
+
}, dt = () => x ? x.getSelectionRows() : [], ut = (C) => {
|
|
2211
|
+
x && x.setSelectionRows(C);
|
|
1797
2212
|
};
|
|
1798
2213
|
return _e(() => {
|
|
1799
|
-
|
|
2214
|
+
U();
|
|
1800
2215
|
}), e({
|
|
1801
2216
|
toggleRowSelection: rt,
|
|
1802
2217
|
toggleAllSelection: it,
|
|
@@ -1805,183 +2220,183 @@ const de = new $o(), So = {
|
|
|
1805
2220
|
getSelectionRows: dt,
|
|
1806
2221
|
setSelectionRows: ut,
|
|
1807
2222
|
resetInfinityScroll: h
|
|
1808
|
-
}), (
|
|
1809
|
-
var R,
|
|
1810
|
-
const B =
|
|
1811
|
-
return
|
|
2223
|
+
}), (C, g) => {
|
|
2224
|
+
var R, D, Ce, ge;
|
|
2225
|
+
const B = Ye("tooltip");
|
|
2226
|
+
return d(), p("div", {
|
|
1812
2227
|
ref_key: "tableWrapperRef",
|
|
1813
|
-
ref:
|
|
2228
|
+
ref: u,
|
|
1814
2229
|
class: "vt-table-wrapper",
|
|
1815
|
-
style:
|
|
1816
|
-
onScroll:
|
|
2230
|
+
style: oe(X(F)()),
|
|
2231
|
+
onScroll: w
|
|
1817
2232
|
}, [
|
|
1818
|
-
ue(
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
n.selectable ? (
|
|
2233
|
+
ue(C.$slots, "default"),
|
|
2234
|
+
c("table", nl, [
|
|
2235
|
+
c("thead", null, [
|
|
2236
|
+
c("tr", null, [
|
|
2237
|
+
n.selectable ? (d(), p("th", {
|
|
1823
2238
|
key: 0,
|
|
1824
2239
|
class: E(["vt-table__th vt-table__th--selection", {
|
|
1825
2240
|
"vt-table__th--sticky": n.maxHeight,
|
|
1826
2241
|
"vt-table__th--pinned-left": !0
|
|
1827
2242
|
}]),
|
|
1828
|
-
style:
|
|
2243
|
+
style: oe(ee())
|
|
1829
2244
|
}, [
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
checked: (R =
|
|
1833
|
-
indeterminate: (
|
|
1834
|
-
"is-double": (
|
|
1835
|
-
onChange:
|
|
2245
|
+
c("div", ol, [
|
|
2246
|
+
Z(me, {
|
|
2247
|
+
checked: (R = X(x)) == null ? void 0 : R.isAllSelected.value,
|
|
2248
|
+
indeterminate: (D = X(x)) == null ? void 0 : D.isIndeterminate.value,
|
|
2249
|
+
"is-double": (ge = (Ce = X(x)) == null ? void 0 : Ce.isDoubleCheck) == null ? void 0 : ge.value,
|
|
2250
|
+
onChange: ve
|
|
1836
2251
|
}, null, 8, ["checked", "indeterminate", "is-double"])
|
|
1837
2252
|
])
|
|
1838
|
-
], 6)) :
|
|
1839
|
-
(
|
|
1840
|
-
key:
|
|
2253
|
+
], 6)) : z("", !0),
|
|
2254
|
+
(d(!0), p(re, null, ie(X(M), (S, se) => (d(), p("th", {
|
|
2255
|
+
key: S.prop,
|
|
1841
2256
|
ref_for: !0,
|
|
1842
|
-
ref: (ce) =>
|
|
1843
|
-
style:
|
|
2257
|
+
ref: (ce) => Ee(ce, S.prop),
|
|
2258
|
+
style: oe(tt(S, se)),
|
|
1844
2259
|
class: E([
|
|
1845
2260
|
"vt-table__th",
|
|
1846
2261
|
{
|
|
1847
2262
|
"vt-table__th--sticky": n.maxHeight,
|
|
1848
|
-
"vt-table__th--pinned-left":
|
|
1849
|
-
"vt-table__th--pinned-right":
|
|
1850
|
-
"vt-table__th--sortable":
|
|
2263
|
+
"vt-table__th--pinned-left": S.pinnedLeft,
|
|
2264
|
+
"vt-table__th--pinned-right": S.pinnedRight,
|
|
2265
|
+
"vt-table__th--sortable": S.sortable
|
|
1851
2266
|
}
|
|
1852
2267
|
])
|
|
1853
2268
|
}, [
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
2269
|
+
c("div", ll, [
|
|
2270
|
+
c("div", sl, te(S.label), 1),
|
|
2271
|
+
S.sortable ? (d(), p("div", rl, [
|
|
2272
|
+
Z(J, {
|
|
1858
2273
|
name: "arrowTop",
|
|
1859
|
-
class: E(
|
|
1860
|
-
onClick:
|
|
2274
|
+
class: E(X(je)(S, m.value).asc),
|
|
2275
|
+
onClick: fe((ce) => v(S, "asc"), ["stop"])
|
|
1861
2276
|
}, null, 8, ["class", "onClick"]),
|
|
1862
|
-
|
|
2277
|
+
Z(J, {
|
|
1863
2278
|
name: "arrowDown",
|
|
1864
|
-
class: E(
|
|
1865
|
-
onClick:
|
|
2279
|
+
class: E(X(je)(S, m.value).desc),
|
|
2280
|
+
onClick: fe((ce) => v(S, "desc"), ["stop"])
|
|
1866
2281
|
}, null, 8, ["class", "onClick"])
|
|
1867
|
-
])) :
|
|
1868
|
-
|
|
2282
|
+
])) : z("", !0),
|
|
2283
|
+
S.actionColumn ? (d(), le(tl, {
|
|
1869
2284
|
key: 1,
|
|
1870
|
-
column:
|
|
1871
|
-
"all-columns":
|
|
2285
|
+
column: S,
|
|
2286
|
+
"all-columns": X(M),
|
|
1872
2287
|
columnsSelector: n.columnsSelector,
|
|
1873
|
-
onPin:
|
|
1874
|
-
onUpdateColumns:
|
|
1875
|
-
}, null, 8, ["column", "all-columns", "columnsSelector"])) :
|
|
2288
|
+
onPin: _,
|
|
2289
|
+
onUpdateColumns: k
|
|
2290
|
+
}, null, 8, ["column", "all-columns", "columnsSelector"])) : z("", !0)
|
|
1876
2291
|
]),
|
|
1877
|
-
|
|
2292
|
+
c("div", {
|
|
1878
2293
|
class: "vt-table__resizer",
|
|
1879
|
-
"data-resizer":
|
|
1880
|
-
onMousedown: (ce) =>
|
|
1881
|
-
}, null, 40,
|
|
2294
|
+
"data-resizer": S.prop,
|
|
2295
|
+
onMousedown: (ce) => Te(ce, S)
|
|
2296
|
+
}, null, 40, il)
|
|
1882
2297
|
], 6))), 128))
|
|
1883
2298
|
])
|
|
1884
2299
|
]),
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
var ce,
|
|
1888
|
-
return
|
|
1889
|
-
key: W(
|
|
2300
|
+
c("tbody", null, [
|
|
2301
|
+
$.value ? (d(!0), p(re, { key: 1 }, ie(r.value, (S, se) => {
|
|
2302
|
+
var ce, Re, ze;
|
|
2303
|
+
return d(), p("tr", {
|
|
2304
|
+
key: W(S, se),
|
|
1890
2305
|
class: E([
|
|
1891
2306
|
"vt-table__row",
|
|
1892
2307
|
{
|
|
1893
|
-
"vt-table__row--selected": (ce =
|
|
1894
|
-
"vt-table__row--current": ((
|
|
2308
|
+
"vt-table__row--selected": (ce = X(x)) == null ? void 0 : ce.isRowSelected(S),
|
|
2309
|
+
"vt-table__row--current": ((Re = X(x)) == null ? void 0 : Re.currentRow.value) === S,
|
|
1895
2310
|
"vt-table__row--clickable": n.selectOnClickRow || n.highlightCurrentRow
|
|
1896
2311
|
}
|
|
1897
2312
|
]),
|
|
1898
|
-
onClick: (
|
|
2313
|
+
onClick: (N) => Q(S, X(M)[0], N)
|
|
1899
2314
|
}, [
|
|
1900
|
-
n.selectable ? (
|
|
2315
|
+
n.selectable ? (d(), p("td", {
|
|
1901
2316
|
key: 0,
|
|
1902
2317
|
class: E(["vt-table__td vt-table__td--selection", {
|
|
1903
2318
|
"vt-table__td--pinned-left": !0
|
|
1904
2319
|
}]),
|
|
1905
|
-
style:
|
|
2320
|
+
style: oe(O())
|
|
1906
2321
|
}, [
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
checked: (
|
|
1910
|
-
onChange: (
|
|
2322
|
+
c("div", hl, [
|
|
2323
|
+
Z(me, {
|
|
2324
|
+
checked: (ze = X(x)) == null ? void 0 : ze.isRowSelected(S),
|
|
2325
|
+
onChange: (N, xe) => pe(N, S, xe)
|
|
1911
2326
|
}, null, 8, ["checked", "onChange"])
|
|
1912
2327
|
])
|
|
1913
|
-
], 4)) :
|
|
1914
|
-
(
|
|
1915
|
-
key: `${W(
|
|
2328
|
+
], 4)) : z("", !0),
|
|
2329
|
+
(d(!0), p(re, null, ie(X(M), (N, xe) => (d(), p("td", {
|
|
2330
|
+
key: `${W(S, se)}-${N.prop}`,
|
|
1916
2331
|
ref_for: !0,
|
|
1917
|
-
ref: (ye) =>
|
|
1918
|
-
style:
|
|
2332
|
+
ref: (ye) => Ee(ye, N.prop),
|
|
2333
|
+
style: oe(et(N, xe)),
|
|
1919
2334
|
class: E([
|
|
1920
2335
|
"vt-table__td",
|
|
1921
2336
|
{
|
|
1922
|
-
"vt-table__td--pinned-left":
|
|
1923
|
-
"vt-table__td--pinned-right":
|
|
2337
|
+
"vt-table__td--pinned-left": N.pinnedLeft,
|
|
2338
|
+
"vt-table__td--pinned-right": N.pinnedRight
|
|
1924
2339
|
}
|
|
1925
2340
|
])
|
|
1926
2341
|
}, [
|
|
1927
|
-
|
|
1928
|
-
|
|
2342
|
+
Ie((d(), p("div", pl, [
|
|
2343
|
+
N.renderSlot ? (d(), le(Fe(() => X(Wo)(N.renderSlot, { row: S, column: N, value: S[N.prop], index: se })), { key: 0 })) : (d(), p("span", ml, te(S[N.prop]), 1))
|
|
1929
2344
|
])), [
|
|
1930
|
-
[B,
|
|
2345
|
+
[B, N.showOverflowTooltip ? ot(S, N) : null]
|
|
1931
2346
|
]),
|
|
1932
|
-
|
|
2347
|
+
c("div", {
|
|
1933
2348
|
class: "vt-table__resizer",
|
|
1934
|
-
"data-resizer":
|
|
1935
|
-
onMousedown: (ye) =>
|
|
1936
|
-
}, null, 40,
|
|
2349
|
+
"data-resizer": N.prop,
|
|
2350
|
+
onMousedown: (ye) => Te(ye, N)
|
|
2351
|
+
}, null, 40, fl)
|
|
1937
2352
|
], 6))), 128))
|
|
1938
|
-
], 10,
|
|
1939
|
-
}), 128)) : (
|
|
1940
|
-
|
|
1941
|
-
colspan:
|
|
2353
|
+
], 10, ul);
|
|
2354
|
+
}), 128)) : (d(), p("tr", al, [
|
|
2355
|
+
c("td", {
|
|
2356
|
+
colspan: X(M).length + (n.selectable ? 1 : 0),
|
|
1942
2357
|
class: "vt-table__empty-cell"
|
|
1943
2358
|
}, [
|
|
1944
|
-
|
|
1945
|
-
|
|
2359
|
+
c("div", dl, [
|
|
2360
|
+
Z(J, {
|
|
1946
2361
|
name: "empty",
|
|
1947
2362
|
class: "vt-table__empty-icon"
|
|
1948
2363
|
}),
|
|
1949
|
-
|
|
2364
|
+
g[0] || (g[0] = c("span", { class: "vt-table__empty-text" }, "Немає даних!", -1))
|
|
1950
2365
|
])
|
|
1951
|
-
], 8,
|
|
2366
|
+
], 8, cl)
|
|
1952
2367
|
]))
|
|
1953
2368
|
]),
|
|
1954
|
-
st.value ? (
|
|
1955
|
-
|
|
1956
|
-
n.selectable ? (
|
|
2369
|
+
st.value ? (d(), p("tfoot", vl, [
|
|
2370
|
+
c("tr", null, [
|
|
2371
|
+
n.selectable ? (d(), p("td", {
|
|
1957
2372
|
key: 0,
|
|
1958
2373
|
class: E(["vt-table__td", {
|
|
1959
2374
|
"vt-table__td--pinned-left": !0
|
|
1960
2375
|
}]),
|
|
1961
|
-
style:
|
|
1962
|
-
},
|
|
1963
|
-
|
|
1964
|
-
]), 4)) :
|
|
1965
|
-
(
|
|
1966
|
-
key:
|
|
1967
|
-
style:
|
|
2376
|
+
style: oe(f())
|
|
2377
|
+
}, g[1] || (g[1] = [
|
|
2378
|
+
c("div", { class: "vt-table__cell-content vt-table__cell-content--summary" }, null, -1)
|
|
2379
|
+
]), 4)) : z("", !0),
|
|
2380
|
+
(d(!0), p(re, null, ie(X(M), (S, se) => (d(), p("td", {
|
|
2381
|
+
key: S.prop,
|
|
2382
|
+
style: oe(nt(S, se)),
|
|
1968
2383
|
class: E([
|
|
1969
2384
|
"vt-table__td",
|
|
1970
2385
|
{
|
|
1971
|
-
"vt-table__td--pinned-left":
|
|
1972
|
-
"vt-table__td--pinned-right":
|
|
2386
|
+
"vt-table__td--pinned-left": S.pinnedLeft,
|
|
2387
|
+
"vt-table__td--pinned-right": S.pinnedRight
|
|
1973
2388
|
}
|
|
1974
2389
|
])
|
|
1975
2390
|
}, [
|
|
1976
|
-
|
|
2391
|
+
c("div", Cl, te(lt.value[S.prop]), 1)
|
|
1977
2392
|
], 6))), 128))
|
|
1978
2393
|
])
|
|
1979
|
-
])) :
|
|
2394
|
+
])) : z("", !0)
|
|
1980
2395
|
])
|
|
1981
2396
|
], 36);
|
|
1982
2397
|
};
|
|
1983
2398
|
}
|
|
1984
|
-
}),
|
|
2399
|
+
}), _l = /* @__PURE__ */ ne({
|
|
1985
2400
|
__name: "VTableColumn",
|
|
1986
2401
|
props: {
|
|
1987
2402
|
prop: {},
|
|
@@ -1999,7 +2414,7 @@ const de = new $o(), So = {
|
|
|
1999
2414
|
sortMethod: {}
|
|
2000
2415
|
},
|
|
2001
2416
|
setup(t) {
|
|
2002
|
-
const e = t, o =
|
|
2417
|
+
const e = t, o = He(), n = Ke("vt-table-columns");
|
|
2003
2418
|
n || console.error(
|
|
2004
2419
|
"VTableColumn: не знайдено контекст таблиці. Переконайтеся, що компонент використовується всередині VTable."
|
|
2005
2420
|
);
|
|
@@ -2024,7 +2439,7 @@ const de = new $o(), So = {
|
|
|
2024
2439
|
const i = l();
|
|
2025
2440
|
n.push(i), s = n.length - 1;
|
|
2026
2441
|
}
|
|
2027
|
-
}),
|
|
2442
|
+
}), we(
|
|
2028
2443
|
() => [
|
|
2029
2444
|
e.width,
|
|
2030
2445
|
e.minWidth,
|
|
@@ -2039,11 +2454,11 @@ const de = new $o(), So = {
|
|
|
2039
2454
|
],
|
|
2040
2455
|
() => {
|
|
2041
2456
|
if (n && s !== -1) {
|
|
2042
|
-
const i = n.findIndex((
|
|
2457
|
+
const i = n.findIndex((u) => u.prop === e.prop);
|
|
2043
2458
|
if (i !== -1) {
|
|
2044
|
-
const
|
|
2459
|
+
const u = n[i], a = {
|
|
2045
2460
|
...l(),
|
|
2046
|
-
renderSlot:
|
|
2461
|
+
renderSlot: u.renderSlot
|
|
2047
2462
|
// Зберігаємо існуючий renderSlot
|
|
2048
2463
|
};
|
|
2049
2464
|
n[i] = a;
|
|
@@ -2051,14 +2466,14 @@ const de = new $o(), So = {
|
|
|
2051
2466
|
}
|
|
2052
2467
|
},
|
|
2053
2468
|
{ deep: !0 }
|
|
2054
|
-
),
|
|
2469
|
+
), Be(() => {
|
|
2055
2470
|
if (n) {
|
|
2056
|
-
const i = n.findIndex((
|
|
2471
|
+
const i = n.findIndex((u) => u.prop === e.prop);
|
|
2057
2472
|
i > -1 && n.splice(i, 1);
|
|
2058
2473
|
}
|
|
2059
|
-
}), (i,
|
|
2474
|
+
}), (i, u) => null;
|
|
2060
2475
|
}
|
|
2061
|
-
}),
|
|
2476
|
+
}), Pe = (t, e) => {
|
|
2062
2477
|
const o = document.createElement("div");
|
|
2063
2478
|
o.className = `vt-tooltip vt-tooltip--${e}`, o.innerText = t, Object.assign(o.style, {
|
|
2064
2479
|
position: "absolute",
|
|
@@ -2124,46 +2539,46 @@ const de = new $o(), So = {
|
|
|
2124
2539
|
break;
|
|
2125
2540
|
}
|
|
2126
2541
|
return o.appendChild(n), o;
|
|
2127
|
-
},
|
|
2542
|
+
}, Se = (t, e, o) => {
|
|
2128
2543
|
const n = e.getBoundingClientRect(), l = t.getBoundingClientRect(), s = window.pageXOffset || document.documentElement.scrollLeft, i = window.pageYOffset || document.documentElement.scrollTop;
|
|
2129
|
-
let
|
|
2544
|
+
let u = 0, a = 0;
|
|
2130
2545
|
switch (o) {
|
|
2131
2546
|
case "top":
|
|
2132
|
-
|
|
2547
|
+
u = n.top + i - l.height - 8, a = n.left + s + (n.width - l.width) / 2;
|
|
2133
2548
|
break;
|
|
2134
2549
|
case "bottom":
|
|
2135
|
-
|
|
2550
|
+
u = n.bottom + i + 8, a = n.left + s + (n.width - l.width) / 2;
|
|
2136
2551
|
break;
|
|
2137
2552
|
case "left":
|
|
2138
|
-
|
|
2553
|
+
u = n.top + i + (n.height - l.height) / 2, a = n.left + s - l.width - 8;
|
|
2139
2554
|
break;
|
|
2140
2555
|
case "right":
|
|
2141
|
-
|
|
2556
|
+
u = n.top + i + (n.height - l.height) / 2, a = n.right + s + 8;
|
|
2142
2557
|
break;
|
|
2143
2558
|
}
|
|
2144
|
-
const
|
|
2145
|
-
a < 8 ? a = 8 : a + l.width >
|
|
2146
|
-
},
|
|
2147
|
-
t.parentElement || document.body.appendChild(t), t.style.visibility = "visible",
|
|
2559
|
+
const m = window.innerWidth, r = window.innerHeight;
|
|
2560
|
+
a < 8 ? a = 8 : a + l.width > m - 8 && (a = m - l.width - 8), u < i + 8 ? o === "top" ? u = n.bottom + i + 8 : u = i + 8 : u + l.height > i + r - 8 && (o === "bottom" ? u = n.top + i - l.height - 8 : u = i + r - l.height - 8), t.style.top = `${u}px`, t.style.left = `${a}px`;
|
|
2561
|
+
}, Ae = (t, e, o) => {
|
|
2562
|
+
t.parentElement || document.body.appendChild(t), t.style.visibility = "visible", Se(t, e, o), requestAnimationFrame(() => {
|
|
2148
2563
|
t.style.opacity = "1";
|
|
2149
2564
|
});
|
|
2150
|
-
},
|
|
2565
|
+
}, Oe = (t) => {
|
|
2151
2566
|
t.style.opacity = "0", t.style.visibility = "hidden";
|
|
2152
|
-
},
|
|
2567
|
+
}, Ze = (t) => t.scrollWidth > t.clientWidth || t.scrollHeight > t.clientHeight, Ne = (t) => !!t.closest(".vt-table, table"), gl = {
|
|
2153
2568
|
mounted(t, e) {
|
|
2154
2569
|
var a;
|
|
2155
2570
|
const o = (a = e.value) == null ? void 0 : a.trim();
|
|
2156
2571
|
if (!o) return;
|
|
2157
|
-
const n = t.dataset.placement || "top", l =
|
|
2572
|
+
const n = t.dataset.placement || "top", l = Pe(o, n);
|
|
2158
2573
|
t.__tooltipEl = l;
|
|
2159
2574
|
const s = () => {
|
|
2160
|
-
(
|
|
2575
|
+
(Ne(t) ? Ze(t) : !0) && Ae(l, t, n);
|
|
2161
2576
|
}, i = () => {
|
|
2162
|
-
|
|
2163
|
-
},
|
|
2164
|
-
l.style.opacity === "1" &&
|
|
2577
|
+
Oe(l);
|
|
2578
|
+
}, u = () => {
|
|
2579
|
+
l.style.opacity === "1" && Se(l, t, n);
|
|
2165
2580
|
};
|
|
2166
|
-
t.__mouseenterHandler = s, t.__mouseleaveHandler = i, t.__scrollHandler =
|
|
2581
|
+
t.__mouseenterHandler = s, t.__mouseleaveHandler = i, t.__scrollHandler = u, t.addEventListener("mouseenter", s), t.addEventListener("mouseleave", i), window.addEventListener("scroll", u, !0), window.addEventListener("resize", u);
|
|
2167
2582
|
},
|
|
2168
2583
|
updated(t, e) {
|
|
2169
2584
|
var n;
|
|
@@ -2171,50 +2586,50 @@ const de = new $o(), So = {
|
|
|
2171
2586
|
if (t.__tooltipEl)
|
|
2172
2587
|
o ? t.__tooltipEl.firstChild.textContent = o : (t.__tooltipEl.parentElement && t.__tooltipEl.parentElement.removeChild(t.__tooltipEl), delete t.__tooltipEl);
|
|
2173
2588
|
else if (o) {
|
|
2174
|
-
const l = t.dataset.placement || "top", s =
|
|
2589
|
+
const l = t.dataset.placement || "top", s = Pe(o, l);
|
|
2175
2590
|
t.__tooltipEl = s;
|
|
2176
2591
|
const i = () => {
|
|
2177
|
-
(
|
|
2178
|
-
},
|
|
2179
|
-
|
|
2592
|
+
(Ne(t) ? Ze(t) : !0) && Ae(s, t, l);
|
|
2593
|
+
}, u = () => {
|
|
2594
|
+
Oe(s);
|
|
2180
2595
|
}, a = () => {
|
|
2181
|
-
s.style.opacity === "1" &&
|
|
2596
|
+
s.style.opacity === "1" && Se(s, t, l);
|
|
2182
2597
|
};
|
|
2183
|
-
t.__mouseenterHandler = i, t.__mouseleaveHandler =
|
|
2598
|
+
t.__mouseenterHandler = i, t.__mouseleaveHandler = u, t.__scrollHandler = a, t.addEventListener("mouseenter", i), t.addEventListener("mouseleave", u), window.addEventListener("scroll", a, !0), window.addEventListener("resize", a);
|
|
2184
2599
|
}
|
|
2185
2600
|
},
|
|
2186
2601
|
beforeUnmount(t) {
|
|
2187
2602
|
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);
|
|
2188
2603
|
}
|
|
2189
|
-
},
|
|
2604
|
+
}, xl = {
|
|
2190
2605
|
sortable: !0,
|
|
2191
2606
|
actionColumn: !1,
|
|
2192
2607
|
showOverflowTooltip: !0,
|
|
2193
2608
|
visible: !0,
|
|
2194
2609
|
pinnedLeft: !1,
|
|
2195
2610
|
pinnedRight: !1
|
|
2196
|
-
},
|
|
2611
|
+
}, kl = {
|
|
2197
2612
|
install(t, e = {}) {
|
|
2198
2613
|
const { prefix: o = "V", modal: n = !0 } = e;
|
|
2199
|
-
t.component(`${o}Button`, be), t.component(`${o}Icon`,
|
|
2614
|
+
t.component(`${o}Button`, be), t.component(`${o}Icon`, J), t.component(`${o}Loader`, Ge), t.component(`${o}Modal`, qe), t.component(`${o}Pagination`, Ho), t.component(`${o}Checkbox`, me), t.component(`${o}Table`, wl), t.component(`${o}TableColumn`, _l), t.component(`${o}Dropdown`, Qe), t.component(`${o}DropdownItem`, Le), t.directive("tooltip", gl), n && t.use(Oo);
|
|
2200
2615
|
}
|
|
2201
|
-
},
|
|
2616
|
+
}, yl = kl.install;
|
|
2202
2617
|
export {
|
|
2203
|
-
|
|
2204
|
-
|
|
2618
|
+
xl as DEFAULT_COLUMN_CONFIG,
|
|
2619
|
+
Je as DropdownContextKey,
|
|
2205
2620
|
be as VButton,
|
|
2206
|
-
|
|
2207
|
-
|
|
2621
|
+
me as VCheckbox,
|
|
2622
|
+
Qe as VDropdown,
|
|
2208
2623
|
Le as VDropdownItem,
|
|
2209
|
-
|
|
2210
|
-
|
|
2624
|
+
J as VIcon,
|
|
2625
|
+
Ge as VLoader,
|
|
2211
2626
|
qe as VModal,
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2627
|
+
Oo as VModalPlugin,
|
|
2628
|
+
Ho as VPagination,
|
|
2629
|
+
wl as VTable,
|
|
2630
|
+
_l as VTableColumn,
|
|
2631
|
+
kl as default,
|
|
2632
|
+
yl as install,
|
|
2218
2633
|
de as modalManager,
|
|
2219
|
-
|
|
2634
|
+
gl as tooltipDirective
|
|
2220
2635
|
};
|