vx-vue 0.7.0 → 0.7.1
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 +1 -1
- package/dist/vxvue.es.js +214 -205
- package/dist/vxvue.umd.js +1 -1
- package/package.json +3 -3
package/dist/vxvue.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getCurrentScope as
|
|
1
|
+
import { getCurrentScope as xe, onScopeDispose as we, unref as F, watch as Y, useAttrs as U, ref as x, computed as S, onUpdated as ke, openBlock as r, createElementBlock as d, normalizeClass as _, createElementVNode as i, mergeProps as O, withKeys as K, withModifiers as V, createCommentVNode as D, Fragment as A, renderList as L, renderSlot as P, toDisplayString as C, createVNode as z, Transition as te, withCtx as G, createTextVNode as E, nextTick as le, toValue as se, withDirectives as re, vModelText as $e, createBlock as W, onMounted as ue, pushScopeId as _e, popScopeId as Ce, resolveDynamicComponent as ie, resolveComponent as Se, vShow as Me, normalizeStyle as Ve } from "vue";
|
|
2
2
|
function De(e) {
|
|
3
|
-
return
|
|
3
|
+
return xe() ? (we(e), !0) : !1;
|
|
4
4
|
}
|
|
5
5
|
function ce(e) {
|
|
6
6
|
return typeof e == "function" ? e() : F(e);
|
|
@@ -11,22 +11,22 @@ function Te() {
|
|
|
11
11
|
var e;
|
|
12
12
|
return de && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
13
13
|
}
|
|
14
|
-
const
|
|
15
|
-
function
|
|
14
|
+
const Be = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
|
|
15
|
+
function Le(e, m, t, s) {
|
|
16
16
|
let a = e < 12 ? "AM" : "PM";
|
|
17
|
-
return s && (a = a.split("").reduce((l,
|
|
17
|
+
return s && (a = a.split("").reduce((l, c) => l += `${c}.`, "")), t ? a.toLowerCase() : a;
|
|
18
18
|
}
|
|
19
19
|
function ne(e, m, t = {}) {
|
|
20
20
|
var s;
|
|
21
|
-
const a = e.getFullYear(), l = e.getMonth(),
|
|
21
|
+
const a = e.getFullYear(), l = e.getMonth(), c = e.getDate(), n = e.getHours(), o = e.getMinutes(), v = e.getSeconds(), u = e.getMilliseconds(), b = e.getDay(), f = (s = t.customMeridiem) != null ? s : Le, g = {
|
|
22
22
|
YY: () => String(a).slice(-2),
|
|
23
23
|
YYYY: () => a,
|
|
24
24
|
M: () => l + 1,
|
|
25
25
|
MM: () => `${l + 1}`.padStart(2, "0"),
|
|
26
26
|
MMM: () => e.toLocaleDateString(t.locales, { month: "short" }),
|
|
27
27
|
MMMM: () => e.toLocaleDateString(t.locales, { month: "long" }),
|
|
28
|
-
D: () => String(
|
|
29
|
-
DD: () => `${
|
|
28
|
+
D: () => String(c),
|
|
29
|
+
DD: () => `${c}`.padStart(2, "0"),
|
|
30
30
|
H: () => String(n),
|
|
31
31
|
HH: () => `${n}`.padStart(2, "0"),
|
|
32
32
|
h: () => `${n % 12 || 12}`.padStart(1, "0"),
|
|
@@ -45,9 +45,9 @@ function ne(e, m, t = {}) {
|
|
|
45
45
|
a: () => f(n, o, !0),
|
|
46
46
|
aa: () => f(n, o, !0, !0)
|
|
47
47
|
};
|
|
48
|
-
return m.replace(
|
|
48
|
+
return m.replace(Be, (w, B) => {
|
|
49
49
|
var I, T;
|
|
50
|
-
return (T =
|
|
50
|
+
return (T = B ?? ((I = g[w]) == null ? void 0 : I.call(g))) != null ? T : w;
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
function X(e) {
|
|
@@ -61,12 +61,12 @@ function Q(...e) {
|
|
|
61
61
|
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([t, s, a] = e, m = ve) : [m, t, s, a] = e, !m)
|
|
62
62
|
return ee;
|
|
63
63
|
Array.isArray(t) || (t = [t]), Array.isArray(s) || (s = [s]);
|
|
64
|
-
const l = [],
|
|
64
|
+
const l = [], c = () => {
|
|
65
65
|
l.forEach((u) => u()), l.length = 0;
|
|
66
66
|
}, n = (u, b, f, g) => (u.addEventListener(b, f, g), () => u.removeEventListener(b, f, g)), o = Y(
|
|
67
67
|
() => [X(m), ce(a)],
|
|
68
68
|
([u, b]) => {
|
|
69
|
-
if (
|
|
69
|
+
if (c(), !u)
|
|
70
70
|
return;
|
|
71
71
|
const f = Pe(b) ? { ...b } : b;
|
|
72
72
|
l.push(
|
|
@@ -75,13 +75,13 @@ function Q(...e) {
|
|
|
75
75
|
},
|
|
76
76
|
{ immediate: !0, flush: "post" }
|
|
77
77
|
), v = () => {
|
|
78
|
-
o(),
|
|
78
|
+
o(), c();
|
|
79
79
|
};
|
|
80
80
|
return De(v), v;
|
|
81
81
|
}
|
|
82
82
|
let oe = !1;
|
|
83
83
|
function ae(e, m, t = {}) {
|
|
84
|
-
const { window: s = ve, ignore: a = [], capture: l = !0, detectIframe:
|
|
84
|
+
const { window: s = ve, ignore: a = [], capture: l = !0, detectIframe: c = !1 } = t;
|
|
85
85
|
if (!s)
|
|
86
86
|
return;
|
|
87
87
|
Fe && !oe && (oe = !0, Array.from(s.document.body.children).forEach((f) => f.addEventListener("click", ee)), s.document.documentElement.addEventListener("click", ee));
|
|
@@ -108,7 +108,7 @@ function ae(e, m, t = {}) {
|
|
|
108
108
|
const g = X(e);
|
|
109
109
|
g && (n = !f.composedPath().includes(g) && !o(f));
|
|
110
110
|
}, { passive: !0 }),
|
|
111
|
-
|
|
111
|
+
c && Q(s, "blur", (f) => {
|
|
112
112
|
setTimeout(() => {
|
|
113
113
|
var g;
|
|
114
114
|
const w = X(e);
|
|
@@ -152,10 +152,10 @@ const Ie = ["value", "onKeydown"], Oe = { class: "flex absolute inset-y-0 right-
|
|
|
152
152
|
},
|
|
153
153
|
emits: ["update:modelValue", "blur", "submit"],
|
|
154
154
|
setup(e, { emit: m }) {
|
|
155
|
-
const t = m, s = e, a = U(),
|
|
155
|
+
const t = m, s = e, a = U(), c = (() => {
|
|
156
156
|
let k = 0;
|
|
157
157
|
return ($) => ($ || "") + ++k;
|
|
158
|
-
})()((a.id || "autocomplete") + "-"), n =
|
|
158
|
+
})()((a.id || "autocomplete") + "-"), n = x([]), o = x(-1), v = x(0), u = x(!1), b = x(!1), f = x("top-0 translate-y-12"), g = x(!0), w = x(null), B = x(null), I = x(null), T = S(
|
|
159
159
|
() => n.value.map((k, $) => ({
|
|
160
160
|
id: (a.id || "autocomplete") + "-item-" + $,
|
|
161
161
|
class: ["autocomplete-item", s.resultItemClass, { "bg-vxvue-700 text-white": o.value === $ }],
|
|
@@ -171,17 +171,17 @@ const Ie = ["value", "onKeydown"], Oe = { class: "flex absolute inset-y-0 right-
|
|
|
171
171
|
spellcheck: "false",
|
|
172
172
|
"aria-autocomplete": "list",
|
|
173
173
|
"aria-haspopup": "listbox",
|
|
174
|
-
"aria-owns":
|
|
174
|
+
"aria-owns": c,
|
|
175
175
|
"aria-expanded": u.value ? "true" : "false",
|
|
176
176
|
"aria-activedescendant": o.value > -1 ? T.value[o.value].id : "",
|
|
177
177
|
...a
|
|
178
178
|
})), h = S(() => ({
|
|
179
|
-
id:
|
|
179
|
+
id: c,
|
|
180
180
|
class: ["autocomplete-list absolute min-w-full transform z-10", s.resultListClass, f.value],
|
|
181
181
|
role: "listbox"
|
|
182
182
|
})), p = () => {
|
|
183
183
|
o.value = -1, n.value = [], u.value = !1, g.value = !0;
|
|
184
|
-
},
|
|
184
|
+
}, y = (k) => {
|
|
185
185
|
const $ = s.search(k);
|
|
186
186
|
if ($ instanceof Promise) {
|
|
187
187
|
const N = ++v.value;
|
|
@@ -190,12 +190,12 @@ const Ie = ["value", "onKeydown"], Oe = { class: "flex absolute inset-y-0 right-
|
|
|
190
190
|
});
|
|
191
191
|
} else
|
|
192
192
|
n.value = $, n.value.length === 0 ? p() : (o.value = s.autoSelect ? 0 : -1, u.value = !0);
|
|
193
|
-
},
|
|
193
|
+
}, M = () => {
|
|
194
194
|
const k = n.value[o.value];
|
|
195
195
|
return k && t("update:modelValue", s.getResultValue(k)), p(), k;
|
|
196
196
|
}, R = (k) => {
|
|
197
|
-
t("update:modelValue", k),
|
|
198
|
-
}, Z = (k) =>
|
|
197
|
+
t("update:modelValue", k), y(k);
|
|
198
|
+
}, Z = (k) => y(k.target.value), q = () => {
|
|
199
199
|
p(), t("blur");
|
|
200
200
|
}, J = () => {
|
|
201
201
|
const k = n.value.length;
|
|
@@ -206,13 +206,13 @@ const Ie = ["value", "onKeydown"], Oe = { class: "flex absolute inset-y-0 right-
|
|
|
206
206
|
o.value = ((o.value + 1) % $ + $) % $;
|
|
207
207
|
}, ge = () => {
|
|
208
208
|
p(), t("update:modelValue", "");
|
|
209
|
-
}, be = () => t("submit",
|
|
209
|
+
}, be = () => t("submit", M()), ye = (k) => {
|
|
210
210
|
const $ = k.target.closest("[data-result-index]");
|
|
211
|
-
$ && (o.value = parseInt($.dataset.resultIndex, 10), t("submit",
|
|
211
|
+
$ && (o.value = parseInt($.dataset.resultIndex, 10), t("submit", M()));
|
|
212
212
|
};
|
|
213
213
|
return ae(I, p), ke(() => {
|
|
214
214
|
if (w.value) {
|
|
215
|
-
const k =
|
|
215
|
+
const k = B.value.getBoundingClientRect(), $ = w.value.getBoundingClientRect();
|
|
216
216
|
g.value && n.value.length && (g.value = !1, f.value = k.bottom + $.height > window.innerHeight && window.innerHeight - k.bottom < k.top && window.pageYOffset + k.top - $.height > 0 ? "bottom-0 -translate-y-12" : "top-0 translate-y-12");
|
|
217
217
|
const N = w.value.querySelector('[data-result-index="' + o.value + '"]');
|
|
218
218
|
if (N) {
|
|
@@ -220,14 +220,14 @@ const Ie = ["value", "onKeydown"], Oe = { class: "flex absolute inset-y-0 right-
|
|
|
220
220
|
j.top < $.top ? w.value.scrollTop -= $.top - j.top : j.bottom > $.bottom && (w.value.scrollTop += j.bottom - $.bottom);
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
}), (k, $) => (r(),
|
|
223
|
+
}), (k, $) => (r(), d("div", {
|
|
224
224
|
class: _(["inline-block relative", k.$attrs.class]),
|
|
225
225
|
ref_key: "container",
|
|
226
226
|
ref: I
|
|
227
227
|
}, [
|
|
228
228
|
i("input", O({
|
|
229
229
|
ref_key: "input",
|
|
230
|
-
ref:
|
|
230
|
+
ref: B,
|
|
231
231
|
class: "block pr-10 w-full form-input focus:border-vxvue",
|
|
232
232
|
value: e.modelValue
|
|
233
233
|
}, H.value, {
|
|
@@ -235,30 +235,30 @@ const Ie = ["value", "onKeydown"], Oe = { class: "flex absolute inset-y-0 right-
|
|
|
235
235
|
onKeydown: [
|
|
236
236
|
K(be, ["enter"]),
|
|
237
237
|
K(ge, ["esc"]),
|
|
238
|
-
K(
|
|
239
|
-
K(
|
|
240
|
-
K(
|
|
238
|
+
K(M, ["tab"]),
|
|
239
|
+
K(V(J, ["prevent"]), ["up"]),
|
|
240
|
+
K(V(pe, ["prevent"]), ["down"])
|
|
241
241
|
],
|
|
242
242
|
onFocus: Z,
|
|
243
243
|
onBlur: q
|
|
244
244
|
}), null, 16, Ie),
|
|
245
245
|
i("span", Oe, [
|
|
246
|
-
b.value ? (r(),
|
|
246
|
+
b.value ? (r(), d("svg", je, Ye)) : D("", !0)
|
|
247
247
|
]),
|
|
248
|
-
n.value.length ? (r(),
|
|
248
|
+
n.value.length ? (r(), d("ul", O({
|
|
249
249
|
key: 0,
|
|
250
250
|
ref_key: "resultList",
|
|
251
251
|
ref: w
|
|
252
252
|
}, h.value, {
|
|
253
|
-
onClick:
|
|
254
|
-
onMousedown: $[1] || ($[1] =
|
|
253
|
+
onClick: ye,
|
|
254
|
+
onMousedown: $[1] || ($[1] = V(() => {
|
|
255
255
|
}, ["prevent"]))
|
|
256
256
|
}), [
|
|
257
|
-
(r(!0),
|
|
257
|
+
(r(!0), d(A, null, L(n.value, (N, j) => P(k.$slots, "result", {
|
|
258
258
|
result: N,
|
|
259
259
|
props: T.value[j]
|
|
260
260
|
}, () => [
|
|
261
|
-
(r(),
|
|
261
|
+
(r(), d("li", O({
|
|
262
262
|
key: T.value[j].id
|
|
263
263
|
}, T.value[j]), C(e.getResultValue(N)), 17))
|
|
264
264
|
])), 256))
|
|
@@ -293,21 +293,21 @@ const Ie = ["value", "onKeydown"], Oe = { class: "flex absolute inset-y-0 right-
|
|
|
293
293
|
}
|
|
294
294
|
},
|
|
295
295
|
setup(e, { expose: m }) {
|
|
296
|
-
const t = e, s =
|
|
297
|
-
let
|
|
298
|
-
const o = S(() => Array.isArray(t.buttons) ? t.buttons : [t.buttons]), v =
|
|
296
|
+
const t = e, s = x(""), a = x(""), l = x(!1);
|
|
297
|
+
let c = null, n = null;
|
|
298
|
+
const o = S(() => Array.isArray(t.buttons) ? t.buttons : [t.buttons]), v = x(null);
|
|
299
299
|
return m({ open: (b, f) => (s.value = b, a.value = f, l.value = !0, le(() => v.value.firstElementChild.focus()), new Promise((g, w) => {
|
|
300
|
-
|
|
301
|
-
})) }), (b, f) => (r(),
|
|
302
|
-
l.value ? (r(),
|
|
300
|
+
c = g, n = w;
|
|
301
|
+
})) }), (b, f) => (r(), d(A, null, [
|
|
302
|
+
l.value ? (r(), d("div", ze)) : D("", !0),
|
|
303
303
|
z(te, { name: "appear" }, {
|
|
304
304
|
default: G(() => [
|
|
305
|
-
l.value ? (r(),
|
|
305
|
+
l.value ? (r(), d("div", Re, [
|
|
306
306
|
i("div", He, [
|
|
307
|
-
l.value ? (r(),
|
|
307
|
+
l.value ? (r(), d("div", Ue, [
|
|
308
308
|
We,
|
|
309
309
|
i("div", qe, [
|
|
310
|
-
s.value ? (r(),
|
|
310
|
+
s.value ? (r(), d("h3", {
|
|
311
311
|
key: 0,
|
|
312
312
|
class: _(["py-4 pt-4 text-lg font-medium text-center sm:py-6", e.headerClass])
|
|
313
313
|
}, [
|
|
@@ -331,10 +331,10 @@ const Ie = ["value", "onKeydown"], Oe = { class: "flex absolute inset-y-0 right-
|
|
|
331
331
|
ref_key: "buttonsContainer",
|
|
332
332
|
ref: v
|
|
333
333
|
}, [
|
|
334
|
-
(r(!0),
|
|
334
|
+
(r(!0), d(A, null, L(o.value, (g, w) => (r(), d("button", {
|
|
335
335
|
class: _([e.buttonClass, g.class]),
|
|
336
|
-
onClick:
|
|
337
|
-
l.value = !1, w === 0 ? F(
|
|
336
|
+
onClick: V((B) => {
|
|
337
|
+
l.value = !1, w === 0 ? F(c)() : F(n)();
|
|
338
338
|
}, ["prevent"])
|
|
339
339
|
}, C(g.label), 11, Je))), 256))
|
|
340
340
|
], 512)
|
|
@@ -350,30 +350,30 @@ const Ie = ["value", "onKeydown"], Oe = { class: "flex absolute inset-y-0 right-
|
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
352
|
function Qe(e, m) {
|
|
353
|
-
const t =
|
|
354
|
-
let a, l = s.toLowerCase().replace(/[.*+?^${}()|[\]\\]/g, "\\$&"),
|
|
353
|
+
const t = x(!1), s = se(m);
|
|
354
|
+
let a, l = s.toLowerCase().replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), c = [];
|
|
355
355
|
if ((a = s.match(/\bd\b/gi)) && a.length === 1)
|
|
356
356
|
l = l.replace("d", "(\\d{1,2})");
|
|
357
357
|
else if ((a = s.match(/\bdd\b/gi)) && a.length === 1)
|
|
358
358
|
l = l.replace("dd", "(\\d{2})");
|
|
359
359
|
else
|
|
360
360
|
return { date: t };
|
|
361
|
-
if (
|
|
361
|
+
if (c.push({ srcPos: s.toLowerCase().indexOf("d"), destPos: 2 }), (a = s.match(/\bm\b/gi)) && a.length === 1)
|
|
362
362
|
l = l.replace("m", "(\\d{1,2})");
|
|
363
363
|
else if ((a = s.match(/\bmm\b/gi)) && a.length === 1)
|
|
364
364
|
l = l.replace("mm", "(\\d{2})");
|
|
365
365
|
else
|
|
366
366
|
return { date: t };
|
|
367
|
-
if (
|
|
367
|
+
if (c.push({ srcPos: s.toLowerCase().indexOf("m"), destPos: 1 }), (a = s.match(/\byyyy\b/gi)) && a.length === 1)
|
|
368
368
|
l = l.replace("yyyy", "(\\d{4})");
|
|
369
369
|
else
|
|
370
370
|
return { date: t };
|
|
371
|
-
if (
|
|
371
|
+
if (c.push({ srcPos: s.toLowerCase().indexOf("y"), destPos: 0 }), !(a = se(e).match(l)))
|
|
372
372
|
return { date: t };
|
|
373
|
-
a.shift(),
|
|
373
|
+
a.shift(), c.sort((u, b) => u.srcPos < b.srcPos ? -1 : 1);
|
|
374
374
|
let n = [], o, v;
|
|
375
375
|
for (; o = a.shift(); )
|
|
376
|
-
v =
|
|
376
|
+
v = c.shift(), n[v.destPos] = o;
|
|
377
377
|
return n = Date.parse(n.join("-")), n && (n = new Date(n), t.value = new Date(n.getFullYear(), n.getMonth(), n.getDate(), 0, 0, 0)), { date: t };
|
|
378
378
|
}
|
|
379
379
|
const et = { key: 0 }, tt = { class: "text-vxvue-700" }, lt = /* @__PURE__ */ i("svg", {
|
|
@@ -415,14 +415,14 @@ const et = { key: 0 }, tt = { class: "text-vxvue-700" }, lt = /* @__PURE__ */ i(
|
|
|
415
415
|
},
|
|
416
416
|
emits: ["update:modelValue", "toggle-datepicker"],
|
|
417
417
|
setup(e, { emit: m }) {
|
|
418
|
-
const t = m, s = e, a =
|
|
418
|
+
const t = m, s = e, a = x(""), l = S(() => s.modelValue ? ne(s.modelValue, s.outputFormat) : ""), c = S(() => {
|
|
419
419
|
let n = Object.assign({}, U());
|
|
420
420
|
return delete n.class, n;
|
|
421
421
|
});
|
|
422
|
-
return Y(() => s.modelValue, (n) => a.value = n ? ne(n, s.outputFormat) : ""), (n, o) => (r(),
|
|
422
|
+
return Y(() => s.modelValue, (n) => a.value = n ? ne(n, s.outputFormat) : ""), (n, o) => (r(), d("div", {
|
|
423
423
|
class: _(["inline-block relative", n.$attrs.class])
|
|
424
424
|
}, [
|
|
425
|
-
l.value ? (r(),
|
|
425
|
+
l.value ? (r(), d("div", et, [
|
|
426
426
|
i("div", {
|
|
427
427
|
class: _(["block flex items-center w-full form-input bg-vxvue-50", { "pr-10": e.showButton }])
|
|
428
428
|
}, [
|
|
@@ -432,7 +432,7 @@ const et = { key: 0 }, tt = { class: "text-vxvue-700" }, lt = /* @__PURE__ */ i(
|
|
|
432
432
|
class: "inline-flex flex-shrink-0 justify-center items-center ml-2 w-4 h-4 rounded-full focus:text-white focus:outline-none text-vxvue hover:bg-vxvue-100 hover:text-vue-700 focus:bg-vxvue-700"
|
|
433
433
|
}, at)
|
|
434
434
|
], 2)
|
|
435
|
-
])) : re((r(),
|
|
435
|
+
])) : re((r(), d("input", O({
|
|
436
436
|
key: 1,
|
|
437
437
|
type: "text",
|
|
438
438
|
class: ["block w-full form-input peer focus:border-vxvue", { "pr-10": e.showButton }],
|
|
@@ -441,22 +441,22 @@ const et = { key: 0 }, tt = { class: "text-vxvue-700" }, lt = /* @__PURE__ */ i(
|
|
|
441
441
|
var u;
|
|
442
442
|
return t("update:modelValue", ((u = F(Qe)(a.value, s.inputFormat).date) == null ? void 0 : u.value) || null);
|
|
443
443
|
}),
|
|
444
|
-
onInput: o[3] || (o[3] =
|
|
444
|
+
onInput: o[3] || (o[3] = V(() => {
|
|
445
445
|
}, ["prevent"]))
|
|
446
|
-
},
|
|
446
|
+
}, c.value), null, 16)), [
|
|
447
447
|
[$e, a.value]
|
|
448
448
|
]),
|
|
449
|
-
e.showButton ? (r(),
|
|
449
|
+
e.showButton ? (r(), d("button", {
|
|
450
450
|
key: 2,
|
|
451
451
|
class: "flex absolute inset-y-0 right-0 items-center px-2 text-vxvue-700 hover:text-vxvue",
|
|
452
|
-
onClick: o[4] || (o[4] =
|
|
452
|
+
onClick: o[4] || (o[4] = V((v) => t("toggle-datepicker"), ["stop"]))
|
|
453
453
|
}, nt)) : D("", !0),
|
|
454
454
|
P(n.$slots, "default")
|
|
455
455
|
], 2));
|
|
456
456
|
}
|
|
457
457
|
};
|
|
458
458
|
function me(e, m) {
|
|
459
|
-
return r(),
|
|
459
|
+
return r(), d("svg", {
|
|
460
460
|
xmlns: "http://www.w3.org/2000/svg",
|
|
461
461
|
viewBox: "0 0 24 24",
|
|
462
462
|
fill: "currentColor",
|
|
@@ -470,7 +470,7 @@ function me(e, m) {
|
|
|
470
470
|
]);
|
|
471
471
|
}
|
|
472
472
|
function fe(e, m) {
|
|
473
|
-
return r(),
|
|
473
|
+
return r(), d("svg", {
|
|
474
474
|
xmlns: "http://www.w3.org/2000/svg",
|
|
475
475
|
viewBox: "0 0 24 24",
|
|
476
476
|
fill: "currentColor",
|
|
@@ -484,7 +484,7 @@ function fe(e, m) {
|
|
|
484
484
|
]);
|
|
485
485
|
}
|
|
486
486
|
function rt(e, m) {
|
|
487
|
-
return r(),
|
|
487
|
+
return r(), d("svg", {
|
|
488
488
|
xmlns: "http://www.w3.org/2000/svg",
|
|
489
489
|
viewBox: "0 0 24 24",
|
|
490
490
|
fill: "currentColor",
|
|
@@ -498,7 +498,7 @@ function rt(e, m) {
|
|
|
498
498
|
]);
|
|
499
499
|
}
|
|
500
500
|
function ut(e, m) {
|
|
501
|
-
return r(),
|
|
501
|
+
return r(), d("svg", {
|
|
502
502
|
xmlns: "http://www.w3.org/2000/svg",
|
|
503
503
|
viewBox: "0 0 24 24",
|
|
504
504
|
fill: "currentColor",
|
|
@@ -512,7 +512,7 @@ function ut(e, m) {
|
|
|
512
512
|
]);
|
|
513
513
|
}
|
|
514
514
|
function it(e, m) {
|
|
515
|
-
return r(),
|
|
515
|
+
return r(), d("svg", {
|
|
516
516
|
xmlns: "http://www.w3.org/2000/svg",
|
|
517
517
|
viewBox: "0 0 24 24",
|
|
518
518
|
fill: "currentColor",
|
|
@@ -541,36 +541,36 @@ const ct = { class: "flex flex-row items-center py-2 px-3 text-white bg-vxvue-70
|
|
|
541
541
|
const t = e, s = m, a = (() => {
|
|
542
542
|
let h = /* @__PURE__ */ new Date();
|
|
543
543
|
return new Date(h.getFullYear(), h.getMonth(), h.getDate());
|
|
544
|
-
})(), l =
|
|
545
|
-
const h = [], p = l.value.getFullYear(),
|
|
546
|
-
for (let q = -R, J =
|
|
547
|
-
h.push(new Date(p,
|
|
544
|
+
})(), l = x(new Date(a.getFullYear(), a.getMonth(), 1)), c = x(null), n = x(!t.hasInput), o = x("left-0"), v = x("top-0"), u = x(null), b = x(null), f = S(() => t.hasInput ? { class: ["absolute", n.value ? "block" : "hidden"] } : {}), g = S(() => {
|
|
545
|
+
const h = [], p = l.value.getFullYear(), y = l.value.getMonth(), M = new Date(p, y + 1, 0), R = new Date(p, y, 0).getDay() + 1 - t.startOfWeekIndex, Z = (6 + t.startOfWeekIndex - M.getDay()) % 7;
|
|
546
|
+
for (let q = -R, J = M.getDate() + Z; q < J; ++q)
|
|
547
|
+
h.push(new Date(p, y, q + 1));
|
|
548
548
|
return h;
|
|
549
549
|
}), w = S(() => t.startOfWeekIndex ? t.dayNames.slice(1).concat(t.dayNames[0]) : t.dayNames.slice());
|
|
550
550
|
Y(() => t.modelValue, (h) => {
|
|
551
|
-
h ? (
|
|
551
|
+
h ? (c.value = new Date(h.getFullYear(), h.getMonth(), h.getDate()), l.value = new Date(c.value.getTime())) : (c.value = null, l.value = new Date(a.getTime())), l.value.setDate(1);
|
|
552
552
|
}, { immediate: !0 }), Y(n, (h) => {
|
|
553
553
|
h && t.hasInput && le(() => {
|
|
554
|
-
const p = u.value.$el.getBoundingClientRect(),
|
|
555
|
-
o.value = p.left +
|
|
554
|
+
const p = u.value.$el.getBoundingClientRect(), y = b.value.getBoundingClientRect();
|
|
555
|
+
o.value = p.left + y.width > window.innerWidth ? "right-0" : "left-0", v.value = p.bottom + y.height > window.innerHeight ? "bottom-0 -translate-y-12" : "top-0 translate-y-12";
|
|
556
556
|
});
|
|
557
557
|
}), ae(b, () => n.value = !1);
|
|
558
|
-
const
|
|
558
|
+
const B = () => {
|
|
559
559
|
l.value = new Date(l.value.getFullYear(), l.value.getMonth() - 1, 1), s("month-change", l.value);
|
|
560
560
|
}, I = () => {
|
|
561
561
|
l.value = new Date(l.value.getFullYear(), l.value.getMonth() + 1, 1), s("month-change", l.value);
|
|
562
562
|
}, T = (h) => {
|
|
563
|
-
|
|
563
|
+
c.value = h, s("update:modelValue", h), n.value = !t.hasInput;
|
|
564
564
|
}, H = (h) => {
|
|
565
|
-
|
|
565
|
+
c.value = h, s("update:modelValue", h);
|
|
566
566
|
};
|
|
567
|
-
return (h, p) => (r(),
|
|
567
|
+
return (h, p) => (r(), d("div", {
|
|
568
568
|
class: _(["relative", h.$attrs.class])
|
|
569
569
|
}, [
|
|
570
570
|
e.hasInput ? (r(), W(ot, O({
|
|
571
571
|
key: 0,
|
|
572
|
-
modelValue:
|
|
573
|
-
onToggleDatepicker: p[0] || (p[0] = (
|
|
572
|
+
modelValue: c.value,
|
|
573
|
+
onToggleDatepicker: p[0] || (p[0] = (y) => n.value = !0),
|
|
574
574
|
"onUpdate:modelValue": H
|
|
575
575
|
}, h.$attrs, {
|
|
576
576
|
ref_key: "input",
|
|
@@ -590,45 +590,45 @@ const ct = { class: "flex flex-row items-center py-2 px-3 text-white bg-vxvue-70
|
|
|
590
590
|
}), [
|
|
591
591
|
i("div", ct, [
|
|
592
592
|
i("button", {
|
|
593
|
-
onClick:
|
|
593
|
+
onClick: V(B, ["stop"]),
|
|
594
594
|
class: "flex-shrink-0 text-vxvue-100 hover:text-vxvue-50"
|
|
595
595
|
}, [
|
|
596
596
|
z(F(me), { class: "w-6 h-6" })
|
|
597
597
|
], 8, dt),
|
|
598
598
|
i("div", vt, C(l.value.toLocaleString(e.locale, { month: "long" })) + " " + C(l.value.getFullYear()), 1),
|
|
599
599
|
i("button", {
|
|
600
|
-
onClick:
|
|
600
|
+
onClick: V(I, ["stop"]),
|
|
601
601
|
class: "flex-shrink-0 text-vxvue-100 hover:text-vxvue-50"
|
|
602
602
|
}, [
|
|
603
603
|
z(F(fe), { class: "w-6 h-6" })
|
|
604
604
|
], 8, mt)
|
|
605
605
|
]),
|
|
606
606
|
i("div", ft, [
|
|
607
|
-
(r(!0),
|
|
607
|
+
(r(!0), d(A, null, L(w.value, (y, M) => (r(), d("div", {
|
|
608
608
|
class: "py-2 text-center bg-gray-200",
|
|
609
|
-
key:
|
|
610
|
-
}, C(
|
|
611
|
-
(r(!0),
|
|
612
|
-
class: _(["text-center",
|
|
609
|
+
key: M
|
|
610
|
+
}, C(y), 1))), 128)),
|
|
611
|
+
(r(!0), d(A, null, L(g.value, (y) => (r(), d("div", {
|
|
612
|
+
class: _(["text-center", y.getMonth() - l.value.getMonth() === 0 ? "text-vxvue-700" : "text-gray-400"])
|
|
613
613
|
}, [
|
|
614
614
|
i("button", {
|
|
615
615
|
class: _([
|
|
616
616
|
{
|
|
617
|
-
"bg-vxvue-700 text-white":
|
|
618
|
-
"bg-gray-200":
|
|
619
|
-
"text-red-400": e.validFrom && e.validFrom >
|
|
617
|
+
"bg-vxvue-700 text-white": c.value && y.getTime() === c.value.getTime(),
|
|
618
|
+
"bg-gray-200": y.getTime() === F(a).getTime(),
|
|
619
|
+
"text-red-400": e.validFrom && e.validFrom > y || e.validUntil && e.validUntil < y
|
|
620
620
|
},
|
|
621
621
|
"py-2 px-3 rounded-sm"
|
|
622
622
|
]),
|
|
623
|
-
disabled: e.validFrom && e.validFrom >
|
|
624
|
-
onClick:
|
|
625
|
-
}, C(
|
|
623
|
+
disabled: e.validFrom && e.validFrom > y || e.validUntil && e.validUntil < y,
|
|
624
|
+
onClick: V((M) => e.validFrom && e.validFrom > y || e.validUntil && e.validUntil < y ? null : T(y), ["stop"])
|
|
625
|
+
}, C(y.getDate()), 11, ht)
|
|
626
626
|
], 2))), 256))
|
|
627
627
|
])
|
|
628
628
|
], 16)
|
|
629
629
|
], 2));
|
|
630
630
|
}
|
|
631
|
-
}, pt = ["for"], gt = ["id", "multiple", "accept"],
|
|
631
|
+
}, pt = ["for"], gt = ["id", "multiple", "accept"], yl = {
|
|
632
632
|
__name: "form-file-button",
|
|
633
633
|
props: {
|
|
634
634
|
modelValue: { type: Array },
|
|
@@ -639,20 +639,20 @@ const ct = { class: "flex flex-row items-center py-2 px-3 text-white bg-vxvue-70
|
|
|
639
639
|
},
|
|
640
640
|
emits: ["update:modelValue", "form-data"],
|
|
641
641
|
setup(e, { emit: m }) {
|
|
642
|
-
const t = m, s = e, a = (
|
|
642
|
+
const t = m, s = e, a = (c) => {
|
|
643
643
|
const n = new FormData();
|
|
644
|
-
for (let o of
|
|
644
|
+
for (let o of c)
|
|
645
645
|
n.append(s.name, o, o.name);
|
|
646
646
|
return n;
|
|
647
|
-
}, l = (
|
|
648
|
-
const n =
|
|
647
|
+
}, l = (c) => {
|
|
648
|
+
const n = c.target.files || c.dataTransfer.files;
|
|
649
649
|
if (n) {
|
|
650
650
|
const o = [...n];
|
|
651
651
|
t("update:modelValue", o), t("form-data", a(o));
|
|
652
652
|
}
|
|
653
653
|
};
|
|
654
|
-
return (
|
|
655
|
-
P(
|
|
654
|
+
return (c, n) => (r(), d("label", { for: e.id }, [
|
|
655
|
+
P(c.$slots, "default", {}, () => [
|
|
656
656
|
E("Upload")
|
|
657
657
|
]),
|
|
658
658
|
i("input", {
|
|
@@ -665,38 +665,38 @@ const ct = { class: "flex flex-row items-center py-2 px-3 text-white bg-vxvue-70
|
|
|
665
665
|
}, null, 40, gt)
|
|
666
666
|
], 8, pt));
|
|
667
667
|
}
|
|
668
|
-
}, bt = ["value"],
|
|
668
|
+
}, bt = ["value"], yt = {
|
|
669
669
|
key: 0,
|
|
670
670
|
disabled: "",
|
|
671
671
|
value: ""
|
|
672
|
-
},
|
|
672
|
+
}, xt = ["value", "selected"], wt = {
|
|
673
673
|
__name: "form-select",
|
|
674
674
|
props: { options: Array, modelValue: [String, Number], disabledLabel: String },
|
|
675
675
|
emits: ["update:modelValue"],
|
|
676
676
|
setup(e, { emit: m }) {
|
|
677
677
|
const t = m;
|
|
678
|
-
return (s, a) => (r(),
|
|
678
|
+
return (s, a) => (r(), d("select", O(s.$attrs, {
|
|
679
679
|
value: e.modelValue,
|
|
680
680
|
class: "form-select",
|
|
681
681
|
onChange: a[0] || (a[0] = (l) => t("update:modelValue", l.target.value))
|
|
682
682
|
}), [
|
|
683
|
-
e.disabledLabel ? (r(),
|
|
684
|
-
(r(!0),
|
|
683
|
+
e.disabledLabel ? (r(), d("option", yt, C(e.disabledLabel), 1)) : D("", !0),
|
|
684
|
+
(r(!0), d(A, null, L(e.options, (l) => (r(), d("option", {
|
|
685
685
|
value: l.key !== void 0 ? l.key : l.label || l,
|
|
686
686
|
selected: (l.key !== void 0 ? l.key : l.label || l) === e.modelValue
|
|
687
|
-
}, C(l.label || l), 9,
|
|
687
|
+
}, C(l.label || l), 9, xt))), 256))
|
|
688
688
|
], 16, bt));
|
|
689
689
|
}
|
|
690
|
-
}, kt = ["aria-checked"], $t = ["checked"],
|
|
690
|
+
}, kt = ["aria-checked"], $t = ["checked"], xl = {
|
|
691
691
|
__name: "form-switch",
|
|
692
692
|
props: ["modelValue"],
|
|
693
693
|
emits: ["update:modelValue"],
|
|
694
694
|
setup(e, { emit: m }) {
|
|
695
|
-
const t = e, s = m, a = S(() => t.modelValue ? "bg-vxvue" : "bg-slate-200"), l = S(() => t.modelValue ? "translate-x-5" : "translate-x-0"),
|
|
695
|
+
const t = e, s = m, a = S(() => t.modelValue ? "bg-vxvue" : "bg-slate-200"), l = S(() => t.modelValue ? "translate-x-5" : "translate-x-0"), c = S(() => {
|
|
696
696
|
let n = Object.assign({}, U());
|
|
697
697
|
return delete n.class, n;
|
|
698
698
|
});
|
|
699
|
-
return (n, o) => (r(),
|
|
699
|
+
return (n, o) => (r(), d(A, null, [
|
|
700
700
|
i("label", {
|
|
701
701
|
class: _(n.$attrs.class)
|
|
702
702
|
}, [
|
|
@@ -714,7 +714,7 @@ const ct = { class: "flex flex-row items-center py-2 px-3 text-white bg-vxvue-70
|
|
|
714
714
|
value: "1",
|
|
715
715
|
type: "checkbox",
|
|
716
716
|
onChange: o[0] || (o[0] = (v) => s("update:modelValue", v.target.checked))
|
|
717
|
-
},
|
|
717
|
+
}, c.value, { checked: e.modelValue }), null, 16, $t)
|
|
718
718
|
], 10, kt)
|
|
719
719
|
], 2),
|
|
720
720
|
P(n.$slots, "default")
|
|
@@ -729,7 +729,7 @@ const he = (e, m) => {
|
|
|
729
729
|
}, _t = (e) => (_e("data-v-1be10676"), e = e(), Ce(), e), Ct = {
|
|
730
730
|
"aria-live": "assertive",
|
|
731
731
|
class: "flex fixed inset-0 z-50 items-start py-6 px-4 pointer-events-none sm:p-6"
|
|
732
|
-
}, St = { class: "flex flex-col items-center space-y-4 w-full" }, Mt = { class: "p-4" }, Vt = { class: "flex items-start" }, Dt = { class: "flex-shrink-0" }, At = { class: "flex-1 pt-0.5 ml-3 w-0" }, Pt = { class: "font-bold" }, Ft = { class: "mt-1" }, Tt = { class: "flex flex-shrink-0 ml-4" },
|
|
732
|
+
}, St = { class: "flex flex-col items-center space-y-4 w-full" }, Mt = { class: "p-4" }, Vt = { class: "flex items-start" }, Dt = { class: "flex-shrink-0" }, At = { class: "flex-1 pt-0.5 ml-3 w-0" }, Pt = { class: "font-bold" }, Ft = { class: "mt-1" }, Tt = { class: "flex flex-shrink-0 ml-4" }, Bt = /* @__PURE__ */ _t(() => /* @__PURE__ */ i("span", { class: "sr-only" }, "Close", -1)), Lt = /* @__PURE__ */ Object.assign({
|
|
733
733
|
inheritAttrs: !1
|
|
734
734
|
}, {
|
|
735
735
|
__name: "message-toast",
|
|
@@ -741,16 +741,16 @@ const he = (e, m) => {
|
|
|
741
741
|
},
|
|
742
742
|
emits: ["timeout", "close"],
|
|
743
743
|
setup(e, { emit: m }) {
|
|
744
|
-
const t = e, s = m, a =
|
|
744
|
+
const t = e, s = m, a = x(null), l = S(() => typeof t.message == "string" ? [t.message] : t.message), c = () => {
|
|
745
745
|
window.clearTimeout(a.value), t.active && t.timeout && (a.value = window.setTimeout(() => {
|
|
746
746
|
s("timeout");
|
|
747
747
|
}, t.timeout));
|
|
748
748
|
};
|
|
749
|
-
return Y(() => t.active,
|
|
749
|
+
return Y(() => t.active, c), ue(c), (n, o) => (r(), d("div", Ct, [
|
|
750
750
|
i("div", St, [
|
|
751
751
|
z(te, { name: "messagetoast-fade" }, {
|
|
752
752
|
default: G(() => [
|
|
753
|
-
e.active ? (r(),
|
|
753
|
+
e.active ? (r(), d("div", {
|
|
754
754
|
key: 0,
|
|
755
755
|
class: _(["overflow-hidden w-full max-w-sm rounded-md ring-1 ring-black ring-opacity-5 shadow-lg pointer-events-auto", n.$attrs.class])
|
|
756
756
|
}, [
|
|
@@ -765,7 +765,7 @@ const he = (e, m) => {
|
|
|
765
765
|
E(C(e.title), 1)
|
|
766
766
|
], !0)
|
|
767
767
|
]),
|
|
768
|
-
(r(!0),
|
|
768
|
+
(r(!0), d(A, null, L(l.value, (v) => (r(), d("p", Ft, [
|
|
769
769
|
P(n.$slots, "default", {}, () => [
|
|
770
770
|
E(C(v), 1)
|
|
771
771
|
], !0)
|
|
@@ -776,7 +776,7 @@ const he = (e, m) => {
|
|
|
776
776
|
onClick: o[0] || (o[0] = (v) => s("close")),
|
|
777
777
|
class: "inline-flex text-white bg-black bg-opacity-20 rounded-sm focus:ring-2 focus:outline-none hover:text-stone-200 focus:ring-stone-200"
|
|
778
778
|
}, [
|
|
779
|
-
|
|
779
|
+
Bt,
|
|
780
780
|
z(F(it), { class: "w-5 h-5" })
|
|
781
781
|
])
|
|
782
782
|
])
|
|
@@ -789,7 +789,7 @@ const he = (e, m) => {
|
|
|
789
789
|
])
|
|
790
790
|
]));
|
|
791
791
|
}
|
|
792
|
-
}), wl = /* @__PURE__ */ he(
|
|
792
|
+
}), wl = /* @__PURE__ */ he(Lt, [["__scopeId", "data-v-1be10676"]]), It = {
|
|
793
793
|
key: 0,
|
|
794
794
|
class: "fixed inset-0 z-[9998] bg-white/50 backdrop-blur-sm",
|
|
795
795
|
"aria-hidden": "true"
|
|
@@ -806,12 +806,12 @@ const he = (e, m) => {
|
|
|
806
806
|
},
|
|
807
807
|
emits: ["clicked-outside"],
|
|
808
808
|
setup(e, { emit: m }) {
|
|
809
|
-
const t = m, s =
|
|
810
|
-
return ae(s, () => t("clicked-outside")), (a, l) => (r(),
|
|
811
|
-
e.show ? (r(),
|
|
809
|
+
const t = m, s = x(null);
|
|
810
|
+
return ae(s, () => t("clicked-outside")), (a, l) => (r(), d(A, null, [
|
|
811
|
+
e.show ? (r(), d("div", It)) : D("", !0),
|
|
812
812
|
z(te, { name: "appear" }, {
|
|
813
813
|
default: G(() => [
|
|
814
|
-
e.show ? (r(),
|
|
814
|
+
e.show ? (r(), d("div", Ot, [
|
|
815
815
|
i("div", jt, [
|
|
816
816
|
i("div", {
|
|
817
817
|
class: _(["overflow-hidden relative max-w-full bg-white rounded ring-1 ring-black ring-opacity-10 shadow-xl transition-all transform xl:max-w-screen-xl", e.containerClass]),
|
|
@@ -862,7 +862,7 @@ const he = (e, m) => {
|
|
|
862
862
|
},
|
|
863
863
|
emits: ["update:page"],
|
|
864
864
|
setup(e, { emit: m }) {
|
|
865
|
-
const t = m, s = e, a =
|
|
865
|
+
const t = m, s = e, a = x(Math.ceil(s.total / s.perPage)), l = x(null), c = S(() => s.markerPosition === "above" ? "border-t-2 pt-4" : "border-b-2 pb-4"), n = S(() => {
|
|
866
866
|
let u = [1];
|
|
867
867
|
if (s.showAllPages || a.value <= 7) {
|
|
868
868
|
for (let b = 2; b <= a.value; ++b)
|
|
@@ -879,28 +879,28 @@ const he = (e, m) => {
|
|
|
879
879
|
a.value = Math.ceil(s.total / s.perPage), t("update:page", 1);
|
|
880
880
|
}), Y(() => s.total, (u) => {
|
|
881
881
|
a.value = Math.ceil(s.total / s.perPage), l.value > a.value && t("update:page", 1);
|
|
882
|
-
}), (u, b) => (r(),
|
|
882
|
+
}), (u, b) => (r(), d("nav", Et, [
|
|
883
883
|
i("div", Nt, [
|
|
884
|
-
e.showNavButtons ? (r(),
|
|
884
|
+
e.showNavButtons ? (r(), d("a", {
|
|
885
885
|
key: 0,
|
|
886
|
-
onClick:
|
|
886
|
+
onClick: V(o, ["prevent"]),
|
|
887
887
|
href: "#",
|
|
888
|
-
class: _(["inline-flex items-center pr-1 text-sm font-medium text-gray-500 border-transparent hover:text-gray-700 hover:border-gray-300", [{ "cursor-default pointer-events-none": l.value <= 1 },
|
|
888
|
+
class: _(["inline-flex items-center pr-1 text-sm font-medium text-gray-500 border-transparent hover:text-gray-700 hover:border-gray-300", [{ "cursor-default pointer-events-none": l.value <= 1 }, c.value]])
|
|
889
889
|
}, [
|
|
890
890
|
z(F(me), { class: "w-5 h-5" }),
|
|
891
891
|
E(" " + C(e.prevText), 1)
|
|
892
892
|
], 10, Yt)) : D("", !0)
|
|
893
893
|
]),
|
|
894
894
|
i("div", zt, [
|
|
895
|
-
(r(!0),
|
|
896
|
-
onClick:
|
|
895
|
+
(r(!0), d(A, null, L(n.value, (f, g) => (r(), W(ie(f !== "dots" ? "a" : "span"), {
|
|
896
|
+
onClick: V((w) => f !== "dots" ? t("update:page", f) : null, ["prevent"]),
|
|
897
897
|
key: g,
|
|
898
898
|
href: f !== "dots" ? "#" : null,
|
|
899
899
|
class: _(["inline-flex items-center px-4 text-sm font-medium", [{
|
|
900
900
|
"border-vxvue-500 text-vxvue-700": f === l.value,
|
|
901
901
|
"border-transparent text-gray-500": f !== l.value,
|
|
902
902
|
"hover:text-gray-700 hover:border-gray-300": f !== "dots"
|
|
903
|
-
},
|
|
903
|
+
}, c.value]])
|
|
904
904
|
}, {
|
|
905
905
|
default: G(() => [
|
|
906
906
|
E(C(f !== "dots" ? f : "..."), 1)
|
|
@@ -909,11 +909,11 @@ const he = (e, m) => {
|
|
|
909
909
|
}, 1032, ["onClick", "href", "class"]))), 128))
|
|
910
910
|
]),
|
|
911
911
|
i("div", Rt, [
|
|
912
|
-
e.showNavButtons ? (r(),
|
|
912
|
+
e.showNavButtons ? (r(), d("a", {
|
|
913
913
|
key: 0,
|
|
914
|
-
onClick:
|
|
914
|
+
onClick: V(v, ["prevent"]),
|
|
915
915
|
href: "#",
|
|
916
|
-
class: _(["inline-flex items-center pl-1 text-sm font-medium text-gray-500 border-transparent hover:text-gray-700 hover:border-gray-300", [
|
|
916
|
+
class: _(["inline-flex items-center pl-1 text-sm font-medium text-gray-500 border-transparent hover:text-gray-700 hover:border-gray-300", [c.value, { "cursor-default pointer-events-none": l.value >= a.value }]])
|
|
917
917
|
}, [
|
|
918
918
|
E(C(e.nextText) + " ", 1),
|
|
919
919
|
z(F(fe), { class: "w-5 h-5" })
|
|
@@ -923,7 +923,7 @@ const he = (e, m) => {
|
|
|
923
923
|
}
|
|
924
924
|
};
|
|
925
925
|
function Ut(e, m) {
|
|
926
|
-
return r(),
|
|
926
|
+
return r(), d("svg", {
|
|
927
927
|
xmlns: "http://www.w3.org/2000/svg",
|
|
928
928
|
fill: "none",
|
|
929
929
|
viewBox: "0 0 24 24",
|
|
@@ -939,7 +939,7 @@ function Ut(e, m) {
|
|
|
939
939
|
]);
|
|
940
940
|
}
|
|
941
941
|
function Wt(e, m) {
|
|
942
|
-
return r(),
|
|
942
|
+
return r(), d("svg", {
|
|
943
943
|
xmlns: "http://www.w3.org/2000/svg",
|
|
944
944
|
fill: "none",
|
|
945
945
|
viewBox: "0 0 24 24",
|
|
@@ -964,20 +964,20 @@ const qt = ["value", "type"], _l = /* @__PURE__ */ Object.assign({ inheritAttrs:
|
|
|
964
964
|
props: ["modelValue"],
|
|
965
965
|
emits: ["update:modelValue"],
|
|
966
966
|
setup(e, { emit: m }) {
|
|
967
|
-
const t = m, s =
|
|
967
|
+
const t = m, s = x(!1), a = S(() => {
|
|
968
968
|
let l = Object.assign({}, U());
|
|
969
969
|
return delete l.class, l;
|
|
970
970
|
});
|
|
971
|
-
return (l,
|
|
971
|
+
return (l, c) => (r(), d("div", {
|
|
972
972
|
class: _("inline-block relative " + U().class)
|
|
973
973
|
}, [
|
|
974
974
|
i("input", O({
|
|
975
975
|
value: e.modelValue,
|
|
976
976
|
type: s.value ? "text" : "password",
|
|
977
|
-
onInput:
|
|
977
|
+
onInput: c[0] || (c[0] = (n) => t("update:modelValue", n.target.value))
|
|
978
978
|
}, a.value, { class: "block pr-10 w-full form-input peer" }), null, 16, qt),
|
|
979
979
|
i("button", {
|
|
980
|
-
onClick:
|
|
980
|
+
onClick: c[1] || (c[1] = V((n) => s.value = !s.value, ["stop"])),
|
|
981
981
|
class: "flex absolute inset-y-0 right-0 items-center pr-3 text-brand-700 hover:text-brand"
|
|
982
982
|
}, [
|
|
983
983
|
s.value ? (r(), W(F(Ut), {
|
|
@@ -999,20 +999,20 @@ const qt = ["value", "type"], _l = /* @__PURE__ */ Object.assign({ inheritAttrs:
|
|
|
999
999
|
props: { branch: { type: Object, default: {} } },
|
|
1000
1000
|
emits: ["branch-selected", "expand"],
|
|
1001
1001
|
setup(e, { emit: m }) {
|
|
1002
|
-
const t = e, s = m, a =
|
|
1002
|
+
const t = e, s = m, a = x(!1);
|
|
1003
1003
|
return ue(() => {
|
|
1004
1004
|
t.branch.current && s("expand", !0);
|
|
1005
|
-
}), (l,
|
|
1005
|
+
}), (l, c) => {
|
|
1006
1006
|
const n = Se("simple-tree", !0);
|
|
1007
|
-
return r(),
|
|
1007
|
+
return r(), d("div", {
|
|
1008
1008
|
class: _([!e.branch.branches || !e.branch.branches.length ? "terminates" : "", l.$attrs.class])
|
|
1009
1009
|
}, [
|
|
1010
1010
|
i("div", Kt, [
|
|
1011
|
-
e.branch.branches && e.branch.branches.length ? (r(),
|
|
1011
|
+
e.branch.branches && e.branch.branches.length ? (r(), d(A, { key: 0 }, [
|
|
1012
1012
|
i("input", {
|
|
1013
1013
|
type: "checkbox",
|
|
1014
1014
|
id: "branch-" + e.branch.id,
|
|
1015
|
-
onClick:
|
|
1015
|
+
onClick: c[0] || (c[0] = (o) => a.value = !a.value),
|
|
1016
1016
|
checked: a.value,
|
|
1017
1017
|
class: "hidden"
|
|
1018
1018
|
}, null, 8, Xt),
|
|
@@ -1023,18 +1023,18 @@ const qt = ["value", "type"], _l = /* @__PURE__ */ Object.assign({ inheritAttrs:
|
|
|
1023
1023
|
(r(), W(ie(a.value ? F(rt) : F(ut)), { class: "w-4 h-4 border" }))
|
|
1024
1024
|
], 8, Gt)
|
|
1025
1025
|
], 64)) : D("", !0),
|
|
1026
|
-
e.branch.current ? (r(),
|
|
1026
|
+
e.branch.current ? (r(), d("strong", Zt, C(e.branch.label), 1)) : (r(), d("a", {
|
|
1027
1027
|
key: 2,
|
|
1028
1028
|
href: e.branch.path,
|
|
1029
|
-
onClick:
|
|
1029
|
+
onClick: c[1] || (c[1] = V((o) => s("branch-selected", e.branch), ["prevent"]))
|
|
1030
1030
|
}, C(e.branch.label), 9, Jt))
|
|
1031
1031
|
]),
|
|
1032
|
-
e.branch.branches && e.branch.branches.length ? re((r(),
|
|
1033
|
-
(r(!0),
|
|
1032
|
+
e.branch.branches && e.branch.branches.length ? re((r(), d("ul", Qt, [
|
|
1033
|
+
(r(!0), d(A, null, L(e.branch.branches, (o) => (r(), W(n, {
|
|
1034
1034
|
branch: o,
|
|
1035
1035
|
key: o.id,
|
|
1036
|
-
onBranchSelected:
|
|
1037
|
-
onExpand:
|
|
1036
|
+
onBranchSelected: c[2] || (c[2] = (v) => s("branch-selected", v)),
|
|
1037
|
+
onExpand: c[3] || (c[3] = (v) => {
|
|
1038
1038
|
a.value = v, s("expand", v);
|
|
1039
1039
|
})
|
|
1040
1040
|
}, null, 8, ["branch"]))), 128))
|
|
@@ -1049,17 +1049,24 @@ const qt = ["value", "type"], _l = /* @__PURE__ */ Object.assign({ inheritAttrs:
|
|
|
1049
1049
|
props: {
|
|
1050
1050
|
min: { type: Number, default: 0 },
|
|
1051
1051
|
max: { type: Number, default: 100 },
|
|
1052
|
+
vertical: Boolean,
|
|
1052
1053
|
modelValue: { type: [Number, Array], validator(e) {
|
|
1053
1054
|
return typeof e == "number" || e.every((m) => typeof m == "number");
|
|
1054
1055
|
} }
|
|
1055
1056
|
},
|
|
1056
1057
|
emits: ["update:modelValue"],
|
|
1057
1058
|
setup(e, { emit: m }) {
|
|
1058
|
-
const t = e, s = m, a = U(), l =
|
|
1059
|
+
const t = e, s = m, a = U(), l = x({ x: null, y: null }), c = x({ w: null, h: null }), n = x(!1), o = x(null), v = x(0), u = S(() => {
|
|
1059
1060
|
const h = t.max, p = t.min;
|
|
1060
|
-
return t.modelValue instanceof Array ? t.modelValue.map((
|
|
1061
|
-
}), b = S(() =>
|
|
1062
|
-
|
|
1061
|
+
return t.modelValue instanceof Array ? t.modelValue.map((y) => Math.max(Math.min(y, h), p) * 100 / (h - p)) : Math.max(Math.min(t.modelValue, h), p) * 100 / (h - p);
|
|
1062
|
+
}), b = S(() => {
|
|
1063
|
+
if (t.modelValue instanceof Array) {
|
|
1064
|
+
const h = Math.min(...u.value) + "%", p = Math.max(...u.value) - Math.min(...u.value) + "%";
|
|
1065
|
+
return t.vertical ? { bottom: h, height: p } : { left: h, width: p };
|
|
1066
|
+
}
|
|
1067
|
+
return t.vertical ? { bottom: 0, height: u.value + "%" } : { width: u.value + "%" };
|
|
1068
|
+
}), f = x({
|
|
1069
|
+
class: (t.vertical ? "left-0 -translate-x-1.5 translate-y-2.5" : "top-0 -translate-x-2.5 -translate-y-1.5") + " absolute w-5 h-5 bg-white rounded-full border-2 transition-colors duration-200 focus:ring-4 focus:outline-none border-vxvue cursor-grab touch-none hover:bg-vxvue focus:ring-vxvue/50",
|
|
1063
1070
|
tabindex: 0,
|
|
1064
1071
|
role: "slider",
|
|
1065
1072
|
"aria-valuemin": t.min,
|
|
@@ -1067,35 +1074,37 @@ const qt = ["value", "type"], _l = /* @__PURE__ */ Object.assign({ inheritAttrs:
|
|
|
1067
1074
|
}), g = (h) => {
|
|
1068
1075
|
let p = parseFloat(h.toFixed(10));
|
|
1069
1076
|
if (p = Math.min(t.max, Math.max(t.min, p)), t.modelValue instanceof Array) {
|
|
1070
|
-
let
|
|
1071
|
-
|
|
1077
|
+
let y = [...t.modelValue];
|
|
1078
|
+
y[v.value] = p, s("update:modelValue", y);
|
|
1072
1079
|
} else
|
|
1073
1080
|
s("update:modelValue", p);
|
|
1074
1081
|
}, w = (h) => {
|
|
1075
|
-
const { pageX: p, pageY:
|
|
1076
|
-
g(Math.floor((t.max - t.min) *
|
|
1077
|
-
},
|
|
1082
|
+
const { pageX: p, pageY: y } = h.touches ? h.touches[0] : h, M = t.vertical ? (-y + l.value.y) / c.value.h : (p - l.value.x) / c.value.w;
|
|
1083
|
+
g(Math.floor((t.max - t.min) * M + t.min));
|
|
1084
|
+
}, B = (h) => {
|
|
1078
1085
|
n.value && (h.preventDefault(), w(h));
|
|
1079
1086
|
}, I = (h) => {
|
|
1080
1087
|
n.value = !0;
|
|
1081
|
-
const p = document.documentElement,
|
|
1088
|
+
const p = document.documentElement, y = o.value.getBoundingClientRect();
|
|
1082
1089
|
l.value = {
|
|
1083
|
-
x:
|
|
1084
|
-
y:
|
|
1085
|
-
},
|
|
1090
|
+
x: y.left + p.scrollLeft - p.clientLeft,
|
|
1091
|
+
y: y.bottom + p.scrollTop - p.clientTop
|
|
1092
|
+
}, c.value = {
|
|
1086
1093
|
w: o.value.offsetWidth,
|
|
1087
1094
|
h: o.value.offsetHeight
|
|
1088
|
-
}, h.currentTarget.focus(), document.addEventListener("mousemove",
|
|
1095
|
+
}, h.currentTarget.focus(), document.addEventListener("mousemove", B), document.addEventListener("mouseup", T);
|
|
1089
1096
|
}, T = () => {
|
|
1090
|
-
n.value && (n.value = !1, document.removeEventListener("mousemove",
|
|
1097
|
+
n.value && (n.value = !1, document.removeEventListener("mousemove", B), document.removeEventListener("mouseup", T));
|
|
1091
1098
|
}, H = (h) => {
|
|
1092
1099
|
h.keyCode >= 33 && h.keyCode <= 40 && h.preventDefault();
|
|
1093
1100
|
const p = t.modelValue[v.value] ?? t.modelValue;
|
|
1094
1101
|
switch (h.keyCode) {
|
|
1095
1102
|
case 37:
|
|
1103
|
+
case 40:
|
|
1096
1104
|
g(p - 1);
|
|
1097
1105
|
break;
|
|
1098
1106
|
case 39:
|
|
1107
|
+
case 38:
|
|
1099
1108
|
g(p + 1);
|
|
1100
1109
|
break;
|
|
1101
1110
|
case 33:
|
|
@@ -1111,46 +1120,46 @@ const qt = ["value", "type"], _l = /* @__PURE__ */ Object.assign({ inheritAttrs:
|
|
|
1111
1120
|
g(t.max);
|
|
1112
1121
|
}
|
|
1113
1122
|
};
|
|
1114
|
-
return (h, p) => (r(),
|
|
1115
|
-
class: "relative w-full h-2 rounded-r-full rounded-l-full
|
|
1123
|
+
return (h, p) => (r(), d("div", {
|
|
1124
|
+
class: _(["relative bg-slate-300", e.vertical ? "h-full w-2 rounded-t-full rounded-b-full" : "w-full h-2 rounded-r-full rounded-l-full"]),
|
|
1116
1125
|
ref_key: "track",
|
|
1117
1126
|
ref: o
|
|
1118
1127
|
}, [
|
|
1119
1128
|
i("div", {
|
|
1120
|
-
class: "absolute h-full rounded-r-full rounded-l-full
|
|
1129
|
+
class: _(["absolute bg-vxvue", e.vertical ? "w-full rounded-t-full rounded-b-full" : "h-full rounded-r-full rounded-l-full"]),
|
|
1121
1130
|
style: Ve(b.value)
|
|
1122
|
-
}, null,
|
|
1123
|
-
e.modelValue.length ? (r(!0),
|
|
1124
|
-
id:
|
|
1125
|
-
style: { left: u.value[
|
|
1126
|
-
"aria-valuenow": e.modelValue[
|
|
1127
|
-
onFocus: (R) => v.value =
|
|
1131
|
+
}, null, 6),
|
|
1132
|
+
e.modelValue.length ? (r(!0), d(A, { key: 1 }, L(e.modelValue, (y, M) => (r(), d("button", O({
|
|
1133
|
+
id: M ? null : F(a).id,
|
|
1134
|
+
style: e.vertical ? { bottom: u.value[M] + "%" } : { left: u.value[M] + "%" },
|
|
1135
|
+
"aria-valuenow": e.modelValue[M],
|
|
1136
|
+
onFocus: (R) => v.value = M,
|
|
1128
1137
|
onKeydown: H,
|
|
1129
|
-
onMousedown:
|
|
1130
|
-
v.value =
|
|
1138
|
+
onMousedown: V((R) => {
|
|
1139
|
+
v.value = M, I(R);
|
|
1131
1140
|
}, ["prevent"]),
|
|
1132
|
-
onTouchstart:
|
|
1133
|
-
v.value =
|
|
1141
|
+
onTouchstart: V((R) => {
|
|
1142
|
+
v.value = M, I(R);
|
|
1134
1143
|
}, ["prevent"]),
|
|
1135
|
-
onTouchmove:
|
|
1144
|
+
onTouchmove: B,
|
|
1136
1145
|
onTouchend: T
|
|
1137
|
-
}, f.value), null, 16, tl))), 256)) : (r(),
|
|
1146
|
+
}, f.value), null, 16, tl))), 256)) : (r(), d("button", O({
|
|
1138
1147
|
key: 0,
|
|
1139
1148
|
id: F(a).id,
|
|
1140
|
-
style: { left: u.value + "%" },
|
|
1149
|
+
style: e.vertical ? { bottom: u.value + "%" } : { left: u.value + "%" },
|
|
1141
1150
|
"aria-valuenow": e.modelValue,
|
|
1142
|
-
onFocus: p[0] || (p[0] = (
|
|
1151
|
+
onFocus: p[0] || (p[0] = (y) => v.value = 0),
|
|
1143
1152
|
onKeydown: H,
|
|
1144
|
-
onMousedown: p[1] || (p[1] =
|
|
1145
|
-
v.value = 0, I(
|
|
1153
|
+
onMousedown: p[1] || (p[1] = V((y) => {
|
|
1154
|
+
v.value = 0, I(y);
|
|
1146
1155
|
}, ["prevent"])),
|
|
1147
|
-
onTouchstart: p[2] || (p[2] =
|
|
1148
|
-
v.value = 0, I(
|
|
1156
|
+
onTouchstart: p[2] || (p[2] = V((y) => {
|
|
1157
|
+
v.value = 0, I(y);
|
|
1149
1158
|
}, ["prevent"])),
|
|
1150
|
-
onTouchmove:
|
|
1159
|
+
onTouchmove: B,
|
|
1151
1160
|
onTouchend: T
|
|
1152
1161
|
}, f.value), null, 16, el))
|
|
1153
|
-
],
|
|
1162
|
+
], 2));
|
|
1154
1163
|
}
|
|
1155
1164
|
});
|
|
1156
1165
|
const ll = { class: "w-full divide-y divide-y-slate-900" }, al = { class: "text-white bg-slate-700" }, sl = ["onClick"], nl = { class: "flex items-center" }, ol = {
|
|
@@ -1188,17 +1197,17 @@ const ll = { class: "w-full divide-y divide-y-slate-900" }, al = { class: "text-
|
|
|
1188
1197
|
},
|
|
1189
1198
|
emits: ["before-sort", "after-sort"],
|
|
1190
1199
|
setup(e, { emit: m }) {
|
|
1191
|
-
const t = e, s = m, a =
|
|
1200
|
+
const t = e, s = m, a = x(t.sortProp), l = x(t.sortDirection), c = S(() => {
|
|
1192
1201
|
let o = t.rows.slice();
|
|
1193
1202
|
const v = t.columns.find(({ prop: u }) => u === a.value);
|
|
1194
1203
|
return v && (l.value === "asc" && v.sortAscFunction ? o.sort(v.sortAscFunction) : l.value === "desc" && v.sortDescFunction ? o.sort(v.sortDescFunction) : o.sort((u, b) => u[a.value] < b[a.value] ? l.value === "asc" ? -1 : 1 : u[a.value] > b[a.value] ? l.value === "asc" ? 1 : -1 : 0)), o.slice(t.offset || 0, (t.offset || 0) + (t.count || o.length));
|
|
1195
1204
|
}), n = (o) => {
|
|
1196
1205
|
s("before-sort", { prop: a.value, dir: l.value }), a.value === o ? l.value = l.value === "asc" ? "desc" : "asc" : (a.value = o, l.value = l.value || "asc"), le(() => s("after-sort", { prop: a.value, dir: l.value }));
|
|
1197
1206
|
};
|
|
1198
|
-
return (o, v) => (r(),
|
|
1207
|
+
return (o, v) => (r(), d("table", ll, [
|
|
1199
1208
|
i("thead", al, [
|
|
1200
1209
|
i("tr", null, [
|
|
1201
|
-
(r(!0),
|
|
1210
|
+
(r(!0), d(A, null, L(e.columns, (u) => (r(), d("th", {
|
|
1202
1211
|
scope: "col",
|
|
1203
1212
|
class: _(["py-3 px-6 text-left", [
|
|
1204
1213
|
{ "cursor-pointer": u.sortable, active: a.value === u.prop },
|
|
@@ -1213,14 +1222,14 @@ const ll = { class: "w-full divide-y divide-y-slate-900" }, al = { class: "text-
|
|
|
1213
1222
|
}, () => [
|
|
1214
1223
|
i("div", nl, [
|
|
1215
1224
|
i("span", null, C(u.label), 1),
|
|
1216
|
-
u.sortable ? (r(),
|
|
1217
|
-
a.value === u.prop ? (r(),
|
|
1225
|
+
u.sortable ? (r(), d("svg", ol, [
|
|
1226
|
+
a.value === u.prop ? (r(), d("path", {
|
|
1218
1227
|
key: 0,
|
|
1219
1228
|
"stroke-linecap": "round",
|
|
1220
1229
|
"stroke-linejoin": "round",
|
|
1221
1230
|
"stroke-width": "2",
|
|
1222
1231
|
d: l.value === "asc" ? "M19 9l-7 7-7-7" : "M5 15l7-7 7 7"
|
|
1223
|
-
}, null, 8, rl)) : (r(),
|
|
1232
|
+
}, null, 8, rl)) : (r(), d("path", ul))
|
|
1224
1233
|
])) : D("", !0)
|
|
1225
1234
|
])
|
|
1226
1235
|
], !0)
|
|
@@ -1228,11 +1237,11 @@ const ll = { class: "w-full divide-y divide-y-slate-900" }, al = { class: "text-
|
|
|
1228
1237
|
])
|
|
1229
1238
|
]),
|
|
1230
1239
|
i("tbody", null, [
|
|
1231
|
-
(r(!0),
|
|
1240
|
+
(r(!0), d(A, null, L(c.value, (u) => (r(), d("tr", {
|
|
1232
1241
|
key: u[e.keyProperty],
|
|
1233
1242
|
class: _(u.cssClass)
|
|
1234
1243
|
}, [
|
|
1235
|
-
(r(!0),
|
|
1244
|
+
(r(!0), d(A, null, L(e.columns, (b) => (r(), d("td", {
|
|
1236
1245
|
class: _(["py-3 px-6 whitespace-nowrap", { active: a.value === b.prop }])
|
|
1237
1246
|
}, [
|
|
1238
1247
|
P(o.$slots, b.prop, { row: u }, () => [
|
|
@@ -1254,7 +1263,7 @@ const ll = { class: "w-full divide-y divide-y-slate-900" }, al = { class: "text-
|
|
|
1254
1263
|
},
|
|
1255
1264
|
emits: ["update:active-index"],
|
|
1256
1265
|
setup(e, { emit: m }) {
|
|
1257
|
-
const t = e, s = m, a =
|
|
1266
|
+
const t = e, s = m, a = x(t.items[t.activeIndex] || {}), l = S(() => {
|
|
1258
1267
|
let n = [];
|
|
1259
1268
|
return t.items.forEach((o, v) => {
|
|
1260
1269
|
o.disabled || n.push({ label: o.name, key: v });
|
|
@@ -1263,10 +1272,10 @@ const ll = { class: "w-full divide-y divide-y-slate-900" }, al = { class: "text-
|
|
|
1263
1272
|
Y(() => t.activeIndex, (n) => {
|
|
1264
1273
|
a.value = t.items[n] || {};
|
|
1265
1274
|
});
|
|
1266
|
-
const
|
|
1275
|
+
const c = (n) => {
|
|
1267
1276
|
n.disabled || (a.value = n, s("update:active-index", t.items.indexOf(n)));
|
|
1268
1277
|
};
|
|
1269
|
-
return (n, o) => (r(),
|
|
1278
|
+
return (n, o) => (r(), d(A, null, [
|
|
1270
1279
|
i("div", cl, [
|
|
1271
1280
|
z(wt, {
|
|
1272
1281
|
options: l.value,
|
|
@@ -1278,10 +1287,10 @@ const ll = { class: "w-full divide-y divide-y-slate-900" }, al = { class: "text-
|
|
|
1278
1287
|
i("div", dl, [
|
|
1279
1288
|
i("div", vl, [
|
|
1280
1289
|
i("nav", ml, [
|
|
1281
|
-
(r(!0),
|
|
1290
|
+
(r(!0), d(A, null, L(e.items, (v) => (r(), d("a", {
|
|
1282
1291
|
key: v.name,
|
|
1283
1292
|
href: "#",
|
|
1284
|
-
onClick:
|
|
1293
|
+
onClick: V((u) => c(v), ["prevent"]),
|
|
1285
1294
|
class: _([
|
|
1286
1295
|
a.value === v ? "border-vxvue-500 text-vxvue-600" : "border-transparent text-gray-900 hover:text-gray-700 hover:border-gray-300",
|
|
1287
1296
|
v.disabled ? "cursor-not-allowed text-gray-400 hover:border-transparent" : "",
|
|
@@ -1295,7 +1304,7 @@ const ll = { class: "w-full divide-y divide-y-slate-900" }, al = { class: "text-
|
|
|
1295
1304
|
E(C(v.name), 1)
|
|
1296
1305
|
])
|
|
1297
1306
|
]),
|
|
1298
|
-
v.badge ? (r(),
|
|
1307
|
+
v.badge ? (r(), d("span", {
|
|
1299
1308
|
key: 0,
|
|
1300
1309
|
class: _([
|
|
1301
1310
|
a.value === v ? "bg-vxvue-50 text-vxvue-700" : "bg-gray-200 text-gray-900",
|
|
@@ -1315,9 +1324,9 @@ export {
|
|
|
1315
1324
|
gl as Confirm,
|
|
1316
1325
|
ot as DateInput,
|
|
1317
1326
|
bl as Datepicker,
|
|
1318
|
-
|
|
1327
|
+
yl as FormFileButton,
|
|
1319
1328
|
wt as FormSelect,
|
|
1320
|
-
|
|
1329
|
+
xl as FormSwitch,
|
|
1321
1330
|
wl as MessageToast,
|
|
1322
1331
|
kl as Modal,
|
|
1323
1332
|
$l as Pagination,
|