sprintify-ui 0.0.54 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import kl from "axios";
|
|
2
|
-
import { defineComponent as K, inject as be, resolveComponent as Se, openBlock as b, createBlock as ee, withCtx as H, createElementVNode as v, normalizeClass as R, withModifiers as He, renderSlot as Y, createElementBlock as L, createCommentVNode as Q, toDisplayString as W, h as Ee, unref as h, computed as A, ref as N, watch as Ae, Teleport as Pt, createVNode as z, Transition as Ge, TransitionGroup as Rr, Fragment as fe, renderList as ve, normalizeStyle as Pe, onMounted as ge, withDirectives as
|
|
2
|
+
import { defineComponent as K, inject as be, resolveComponent as Se, openBlock as b, createBlock as ee, withCtx as H, createElementVNode as v, normalizeClass as R, withModifiers as He, renderSlot as Y, createElementBlock as L, createCommentVNode as Q, toDisplayString as W, h as Ee, unref as h, computed as A, ref as N, watch as Ae, Teleport as Pt, createVNode as z, Transition as Ge, TransitionGroup as Rr, Fragment as fe, renderList as ve, normalizeStyle as Pe, onMounted as ge, withDirectives as Re, vShow as lt, normalizeProps as Je, guardReactiveProps as Ze, mergeProps as at, resolveDynamicComponent as Vt, createTextVNode as We, onBeforeUnmount as cn, cloneVNode as Sl, provide as pe, watchEffect as Ue, nextTick as Ve, onUnmounted as nt, reactive as $l, isRef as Mt, withKeys as En, vModelText as An, useSlots as Bl, createStaticVNode as Ur, getCurrentInstance as _l, pushScopeId as Cl, popScopeId as Il, createSlots as El, vModelSelect as kn, readonly as rn } from "vue";
|
|
3
3
|
import { useI18n as et, createI18n as Al } from "vue-i18n";
|
|
4
4
|
import { defineStore as Zn } from "pinia";
|
|
5
5
|
import br from "qs";
|
|
6
|
-
import { isArray as Xe, isObject as Tn, get as xt, debounce as st, cloneDeep as De, trim as zr, padStart as gt, range as ft, isNumber as
|
|
7
|
-
import { useInfiniteScroll as Kr, useMutationObserver as dn, useResizeObserver as fn, useBreakpoints as
|
|
8
|
-
import { useRoute as
|
|
9
|
-
import
|
|
6
|
+
import { isArray as Xe, isObject as Tn, get as xt, debounce as st, truncate as Tl, cloneDeep as De, trim as zr, padStart as gt, range as ft, isNumber as Ll, merge as wr, set as Sn, capitalize as Qt, isString as Hr, isPlainObject as Ml, isEqual as Ol } from "lodash";
|
|
7
|
+
import { useInfiniteScroll as Kr, useMutationObserver as dn, useResizeObserver as fn, useBreakpoints as jl, useMounted as Fl } from "@vueuse/core";
|
|
8
|
+
import { useRoute as Dl, useRouter as Pl } from "vue-router";
|
|
9
|
+
import Vl from "pikaday";
|
|
10
10
|
import { Info as Yt, DateTime as ot } from "luxon";
|
|
11
|
-
const
|
|
11
|
+
const Nl = ["active", "href", "aria-current", "onClick"], ql = ["href"], Xn = /* @__PURE__ */ K({
|
|
12
12
|
__name: "BaseActionItem",
|
|
13
13
|
props: {
|
|
14
14
|
item: {
|
|
@@ -46,7 +46,7 @@ const Vl = ["active", "href", "aria-current", "onClick"], Nl = ["href"], Xn = /*
|
|
|
46
46
|
onClick: He((y) => l(f), ["prevent"])
|
|
47
47
|
}, [
|
|
48
48
|
Y(o.$slots, "default", { active: i })
|
|
49
|
-
], 10,
|
|
49
|
+
], 10, Nl)
|
|
50
50
|
]),
|
|
51
51
|
_: 3
|
|
52
52
|
}, 8, ["to"])) : e.item.action ? (b(), L("button", {
|
|
@@ -63,10 +63,10 @@ const Vl = ["active", "href", "aria-current", "onClick"], Nl = ["href"], Xn = /*
|
|
|
63
63
|
onClick: a[1] || (a[1] = (i) => l())
|
|
64
64
|
}, [
|
|
65
65
|
Y(o.$slots, "default", { active: !1 })
|
|
66
|
-
], 10,
|
|
66
|
+
], 10, ql)) : Q("", !0);
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
}),
|
|
69
|
+
}), Rl = K({
|
|
70
70
|
props: {
|
|
71
71
|
title: {
|
|
72
72
|
required: !1,
|
|
@@ -106,21 +106,21 @@ const Vl = ["active", "href", "aria-current", "onClick"], Nl = ["href"], Xn = /*
|
|
|
106
106
|
return this.color == "info" ? "text-blue-400" : this.color == "success" ? "text-green-500" : this.color == "warning" ? "text-yellow-500" : this.color == "danger" ? "text-red-500" : "text-white";
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
}),
|
|
109
|
+
}), Ne = (e, r) => {
|
|
110
110
|
const n = e.__vccOpts || e;
|
|
111
111
|
for (const [l, o] of r)
|
|
112
112
|
n[l] = o;
|
|
113
113
|
return n;
|
|
114
|
-
},
|
|
114
|
+
}, Ul = {
|
|
115
115
|
key: 0,
|
|
116
116
|
class: "mr-3"
|
|
117
117
|
};
|
|
118
|
-
function
|
|
118
|
+
function zl(e, r, n, l, o, a) {
|
|
119
119
|
const s = Se("BaseIcon");
|
|
120
120
|
return b(), L("div", {
|
|
121
121
|
class: R(["flex w-full items-start rounded-md p-4", [e.backgroundClass, e.borderClass]])
|
|
122
122
|
}, [
|
|
123
|
-
e.showIcon ? (b(), L("div",
|
|
123
|
+
e.showIcon ? (b(), L("div", Ul, [
|
|
124
124
|
e.color == "warning" ? (b(), ee(s, {
|
|
125
125
|
key: 0,
|
|
126
126
|
icon: "heroicons-solid:exclamation",
|
|
@@ -153,7 +153,7 @@ function Ul(e, r, n, l, o, a) {
|
|
|
153
153
|
])
|
|
154
154
|
], 2);
|
|
155
155
|
}
|
|
156
|
-
const er = /* @__PURE__ */
|
|
156
|
+
const er = /* @__PURE__ */ Ne(Rl, [["render", zl]]), Tt = /^[a-z0-9]+(-[a-z0-9]+)*$/, mn = (e, r, n, l = "") => {
|
|
157
157
|
const o = e.split(":");
|
|
158
158
|
if (e.slice(0, 1) === "@") {
|
|
159
159
|
if (o.length < 2 || o.length > 3)
|
|
@@ -207,19 +207,19 @@ const er = /* @__PURE__ */ Ve(ql, [["render", Ul]]), Tt = /^[a-z0-9]+(-[a-z0-9]+
|
|
|
207
207
|
body: "",
|
|
208
208
|
hidden: !1
|
|
209
209
|
});
|
|
210
|
-
function
|
|
210
|
+
function Hl(e, r) {
|
|
211
211
|
const n = {};
|
|
212
212
|
!e.hFlip != !r.hFlip && (n.hFlip = !0), !e.vFlip != !r.vFlip && (n.vFlip = !0);
|
|
213
213
|
const l = ((e.rotate || 0) + (r.rotate || 0)) % 4;
|
|
214
214
|
return l && (n.rotate = l), n;
|
|
215
215
|
}
|
|
216
216
|
function xr(e, r) {
|
|
217
|
-
const n =
|
|
217
|
+
const n = Hl(e, r);
|
|
218
218
|
for (const l in Ln)
|
|
219
219
|
l in on ? l in e && !(l in n) && (n[l] = on[l]) : l in r ? n[l] = r[l] : l in e && (n[l] = e[l]);
|
|
220
220
|
return n;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Kl(e, r) {
|
|
223
223
|
const n = e.icons, l = e.aliases || /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
224
224
|
function a(s) {
|
|
225
225
|
if (n[s])
|
|
@@ -233,7 +233,7 @@ function Hl(e, r) {
|
|
|
233
233
|
}
|
|
234
234
|
return (r || Object.keys(n).concat(Object.keys(l))).forEach(a), o;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Gl(e, r, n) {
|
|
237
237
|
const l = e.icons, o = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
238
238
|
let a = {};
|
|
239
239
|
function s(i) {
|
|
@@ -251,14 +251,14 @@ function Wr(e, r) {
|
|
|
251
251
|
e.not_found instanceof Array && e.not_found.forEach((o) => {
|
|
252
252
|
r(o, null), n.push(o);
|
|
253
253
|
});
|
|
254
|
-
const l =
|
|
254
|
+
const l = Kl(e);
|
|
255
255
|
for (const o in l) {
|
|
256
256
|
const a = l[o];
|
|
257
|
-
a && (r(o,
|
|
257
|
+
a && (r(o, Gl(e, o, a)), n.push(o));
|
|
258
258
|
}
|
|
259
259
|
return n;
|
|
260
260
|
}
|
|
261
|
-
const
|
|
261
|
+
const Wl = {
|
|
262
262
|
provider: "",
|
|
263
263
|
aliases: {},
|
|
264
264
|
not_found: {},
|
|
@@ -274,7 +274,7 @@ function Qr(e) {
|
|
|
274
274
|
if (typeof e != "object" || e === null)
|
|
275
275
|
return null;
|
|
276
276
|
const r = e;
|
|
277
|
-
if (typeof r.prefix != "string" || !e.icons || typeof e.icons != "object" || !$n(e,
|
|
277
|
+
if (typeof r.prefix != "string" || !e.icons || typeof e.icons != "object" || !$n(e, Wl))
|
|
278
278
|
return null;
|
|
279
279
|
const n = r.icons;
|
|
280
280
|
for (const o in n) {
|
|
@@ -297,7 +297,7 @@ function Qr(e) {
|
|
|
297
297
|
return r;
|
|
298
298
|
}
|
|
299
299
|
const kr = /* @__PURE__ */ Object.create(null);
|
|
300
|
-
function
|
|
300
|
+
function Ql(e, r) {
|
|
301
301
|
return {
|
|
302
302
|
provider: e,
|
|
303
303
|
prefix: r,
|
|
@@ -307,14 +307,14 @@ function Wl(e, r) {
|
|
|
307
307
|
}
|
|
308
308
|
function bt(e, r) {
|
|
309
309
|
const n = kr[e] || (kr[e] = /* @__PURE__ */ Object.create(null));
|
|
310
|
-
return n[r] || (n[r] =
|
|
310
|
+
return n[r] || (n[r] = Ql(e, r));
|
|
311
311
|
}
|
|
312
312
|
function tr(e, r) {
|
|
313
313
|
return Qr(r) ? Wr(r, (n, l) => {
|
|
314
314
|
l ? e.icons[n] = l : e.missing.add(n);
|
|
315
315
|
}) : [];
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function Yl(e, r, n) {
|
|
318
318
|
try {
|
|
319
319
|
if (typeof n.body == "string")
|
|
320
320
|
return e.icons[r] = { ...n }, !0;
|
|
@@ -326,27 +326,27 @@ let Ot = !1;
|
|
|
326
326
|
function Yr(e) {
|
|
327
327
|
return typeof e == "boolean" && (Ot = e), Ot;
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Jl(e) {
|
|
330
330
|
const r = typeof e == "string" ? mn(e, !0, Ot) : e;
|
|
331
331
|
if (r) {
|
|
332
332
|
const n = bt(r.provider, r.prefix), l = r.name;
|
|
333
333
|
return n.icons[l] || (n.missing.has(l) ? null : void 0);
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Zl(e, r) {
|
|
337
337
|
const n = mn(e, !0, Ot);
|
|
338
338
|
if (!n)
|
|
339
339
|
return !1;
|
|
340
340
|
const l = bt(n.provider, n.prefix);
|
|
341
|
-
return
|
|
341
|
+
return Yl(l, n.name, r);
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Xl(e, r) {
|
|
344
344
|
if (typeof e != "object")
|
|
345
345
|
return !1;
|
|
346
346
|
if (typeof r != "string" && (r = e.provider || ""), Ot && !r && !e.prefix) {
|
|
347
347
|
let o = !1;
|
|
348
348
|
return Qr(e) && (e.prefix = "", Wr(e, (a, s) => {
|
|
349
|
-
s &&
|
|
349
|
+
s && Zl(a, s) && (o = !0);
|
|
350
350
|
})), o;
|
|
351
351
|
}
|
|
352
352
|
const n = e.prefix;
|
|
@@ -365,7 +365,7 @@ const Jr = Object.freeze({
|
|
|
365
365
|
}), Zr = Object.freeze({
|
|
366
366
|
...Jr,
|
|
367
367
|
...on
|
|
368
|
-
}),
|
|
368
|
+
}), ea = /(-?[0-9.]*[0-9]+[0-9.]*)/g, ta = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
369
369
|
function Sr(e, r, n) {
|
|
370
370
|
if (r === 1)
|
|
371
371
|
return e;
|
|
@@ -373,11 +373,11 @@ function Sr(e, r, n) {
|
|
|
373
373
|
return Math.ceil(e * r * n) / n;
|
|
374
374
|
if (typeof e != "string")
|
|
375
375
|
return e;
|
|
376
|
-
const l = e.split(
|
|
376
|
+
const l = e.split(ea);
|
|
377
377
|
if (l === null || !l.length)
|
|
378
378
|
return e;
|
|
379
379
|
const o = [];
|
|
380
|
-
let a = l.shift(), s =
|
|
380
|
+
let a = l.shift(), s = ta.test(a);
|
|
381
381
|
for (; ; ) {
|
|
382
382
|
if (s) {
|
|
383
383
|
const i = parseFloat(a);
|
|
@@ -389,7 +389,7 @@ function Sr(e, r, n) {
|
|
|
389
389
|
s = !s;
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function na(e, r) {
|
|
393
393
|
const n = {
|
|
394
394
|
...pn,
|
|
395
395
|
...e
|
|
@@ -442,15 +442,15 @@ function ta(e, r) {
|
|
|
442
442
|
body: a
|
|
443
443
|
};
|
|
444
444
|
}
|
|
445
|
-
const
|
|
446
|
-
let
|
|
447
|
-
function
|
|
445
|
+
const ra = /\sid="(\S+)"/g, oa = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
446
|
+
let la = 0;
|
|
447
|
+
function aa(e, r = oa) {
|
|
448
448
|
const n = [];
|
|
449
449
|
let l;
|
|
450
|
-
for (; l =
|
|
450
|
+
for (; l = ra.exec(e); )
|
|
451
451
|
n.push(l[1]);
|
|
452
452
|
return n.length && n.forEach((o) => {
|
|
453
|
-
const a = typeof r == "function" ? r(o) : r + (
|
|
453
|
+
const a = typeof r == "function" ? r(o) : r + (la++).toString(), s = o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
454
454
|
e = e.replace(
|
|
455
455
|
new RegExp('([#;"])(' + s + ')([")]|\\.[a-z])', "g"),
|
|
456
456
|
"$1" + a + "$3"
|
|
@@ -458,7 +458,7 @@ function la(e, r = ra) {
|
|
|
458
458
|
}), e;
|
|
459
459
|
}
|
|
460
460
|
const Mn = /* @__PURE__ */ Object.create(null);
|
|
461
|
-
function
|
|
461
|
+
function sa(e, r) {
|
|
462
462
|
Mn[e] = r;
|
|
463
463
|
}
|
|
464
464
|
function On(e) {
|
|
@@ -490,14 +490,14 @@ for (; Et.length > 0; )
|
|
|
490
490
|
rr[""] = nr({
|
|
491
491
|
resources: ["https://api.iconify.design"].concat(Zt)
|
|
492
492
|
});
|
|
493
|
-
function
|
|
493
|
+
function ia(e, r) {
|
|
494
494
|
const n = nr(r);
|
|
495
495
|
return n === null ? !1 : (rr[e] = n, !0);
|
|
496
496
|
}
|
|
497
497
|
function or(e) {
|
|
498
498
|
return rr[e];
|
|
499
499
|
}
|
|
500
|
-
const
|
|
500
|
+
const ua = () => {
|
|
501
501
|
let e;
|
|
502
502
|
try {
|
|
503
503
|
if (e = fetch, typeof e == "function")
|
|
@@ -505,8 +505,8 @@ const ia = () => {
|
|
|
505
505
|
} catch {
|
|
506
506
|
}
|
|
507
507
|
};
|
|
508
|
-
let $r =
|
|
509
|
-
function
|
|
508
|
+
let $r = ua();
|
|
509
|
+
function ca(e, r) {
|
|
510
510
|
const n = or(e);
|
|
511
511
|
if (!n)
|
|
512
512
|
return 0;
|
|
@@ -523,11 +523,11 @@ function ua(e, r) {
|
|
|
523
523
|
}
|
|
524
524
|
return l;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function da(e) {
|
|
527
527
|
return e === 404;
|
|
528
528
|
}
|
|
529
|
-
const
|
|
530
|
-
const l = [], o =
|
|
529
|
+
const fa = (e, r, n) => {
|
|
530
|
+
const l = [], o = ca(e, r), a = "icons";
|
|
531
531
|
let s = {
|
|
532
532
|
type: a,
|
|
533
533
|
provider: e,
|
|
@@ -543,7 +543,7 @@ const da = (e, r, n) => {
|
|
|
543
543
|
}, i = p.length), s.icons.push(p);
|
|
544
544
|
}), l.push(s), l;
|
|
545
545
|
};
|
|
546
|
-
function
|
|
546
|
+
function ma(e) {
|
|
547
547
|
if (typeof e == "string") {
|
|
548
548
|
const r = or(e);
|
|
549
549
|
if (r)
|
|
@@ -551,12 +551,12 @@ function fa(e) {
|
|
|
551
551
|
}
|
|
552
552
|
return "/";
|
|
553
553
|
}
|
|
554
|
-
const
|
|
554
|
+
const pa = (e, r, n) => {
|
|
555
555
|
if (!$r) {
|
|
556
556
|
n("abort", 424);
|
|
557
557
|
return;
|
|
558
558
|
}
|
|
559
|
-
let l =
|
|
559
|
+
let l = ma(r.provider);
|
|
560
560
|
switch (r.type) {
|
|
561
561
|
case "icons": {
|
|
562
562
|
const a = r.prefix, i = r.icons.join(","), p = new URLSearchParams({
|
|
@@ -579,7 +579,7 @@ const ma = (e, r, n) => {
|
|
|
579
579
|
const s = a.status;
|
|
580
580
|
if (s !== 200) {
|
|
581
581
|
setTimeout(() => {
|
|
582
|
-
n(
|
|
582
|
+
n(da(s) ? "abort" : "next", s);
|
|
583
583
|
});
|
|
584
584
|
return;
|
|
585
585
|
}
|
|
@@ -597,11 +597,11 @@ const ma = (e, r, n) => {
|
|
|
597
597
|
}).catch(() => {
|
|
598
598
|
n("next", o);
|
|
599
599
|
});
|
|
600
|
-
},
|
|
601
|
-
prepare:
|
|
602
|
-
send:
|
|
600
|
+
}, ha = {
|
|
601
|
+
prepare: fa,
|
|
602
|
+
send: pa
|
|
603
603
|
};
|
|
604
|
-
function
|
|
604
|
+
function va(e) {
|
|
605
605
|
const r = {
|
|
606
606
|
loaded: [],
|
|
607
607
|
missing: [],
|
|
@@ -634,7 +634,7 @@ function Xr(e, r) {
|
|
|
634
634
|
l && (n.loaderCallbacks = l.filter((o) => o.id !== r));
|
|
635
635
|
});
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function ga(e) {
|
|
638
638
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
639
639
|
e.pendingCallbacksFlag = !1;
|
|
640
640
|
const r = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -672,9 +672,9 @@ function va(e) {
|
|
|
672
672
|
});
|
|
673
673
|
}));
|
|
674
674
|
}
|
|
675
|
-
let
|
|
676
|
-
function
|
|
677
|
-
const l =
|
|
675
|
+
let ya = 0;
|
|
676
|
+
function ba(e, r, n) {
|
|
677
|
+
const l = ya++, o = Xr.bind(null, n, l);
|
|
678
678
|
if (!r.pending.length)
|
|
679
679
|
return o;
|
|
680
680
|
const a = {
|
|
@@ -687,14 +687,14 @@ function ya(e, r, n) {
|
|
|
687
687
|
(s.loaderCallbacks || (s.loaderCallbacks = [])).push(a);
|
|
688
688
|
}), o;
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function wa(e, r = !0, n = !1) {
|
|
691
691
|
const l = [];
|
|
692
692
|
return e.forEach((o) => {
|
|
693
693
|
const a = typeof o == "string" ? mn(o, r, n) : o;
|
|
694
694
|
a && l.push(a);
|
|
695
695
|
}), l;
|
|
696
696
|
}
|
|
697
|
-
var
|
|
697
|
+
var xa = {
|
|
698
698
|
resources: [],
|
|
699
699
|
index: 0,
|
|
700
700
|
timeout: 2e3,
|
|
@@ -702,7 +702,7 @@ var wa = {
|
|
|
702
702
|
random: !1,
|
|
703
703
|
dataAfterTimeout: !1
|
|
704
704
|
};
|
|
705
|
-
function
|
|
705
|
+
function ka(e, r, n, l) {
|
|
706
706
|
const o = e.resources.length, a = e.random ? Math.floor(Math.random() * o) : e.index;
|
|
707
707
|
let s;
|
|
708
708
|
if (e.random) {
|
|
@@ -805,7 +805,7 @@ function xa(e, r, n, l) {
|
|
|
805
805
|
}
|
|
806
806
|
function eo(e) {
|
|
807
807
|
const r = {
|
|
808
|
-
...
|
|
808
|
+
...xa,
|
|
809
809
|
...e
|
|
810
810
|
};
|
|
811
811
|
let n = [];
|
|
@@ -813,7 +813,7 @@ function eo(e) {
|
|
|
813
813
|
n = n.filter((i) => i().status === "pending");
|
|
814
814
|
}
|
|
815
815
|
function o(i, p, f) {
|
|
816
|
-
const y =
|
|
816
|
+
const y = ka(
|
|
817
817
|
r,
|
|
818
818
|
i,
|
|
819
819
|
p,
|
|
@@ -839,7 +839,7 @@ function eo(e) {
|
|
|
839
839
|
function Br() {
|
|
840
840
|
}
|
|
841
841
|
const Bn = /* @__PURE__ */ Object.create(null);
|
|
842
|
-
function
|
|
842
|
+
function Sa(e) {
|
|
843
843
|
if (!Bn[e]) {
|
|
844
844
|
const r = or(e);
|
|
845
845
|
if (!r)
|
|
@@ -852,14 +852,14 @@ function ka(e) {
|
|
|
852
852
|
}
|
|
853
853
|
return Bn[e];
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function $a(e, r, n) {
|
|
856
856
|
let l, o;
|
|
857
857
|
if (typeof e == "string") {
|
|
858
858
|
const a = On(e);
|
|
859
859
|
if (!a)
|
|
860
860
|
return n(void 0, 424), Br;
|
|
861
861
|
o = a.send;
|
|
862
|
-
const s =
|
|
862
|
+
const s = Sa(e);
|
|
863
863
|
s && (l = s.redundancy);
|
|
864
864
|
} else {
|
|
865
865
|
const a = nr(e);
|
|
@@ -871,7 +871,7 @@ function Sa(e, r, n) {
|
|
|
871
871
|
}
|
|
872
872
|
return !l || !o ? (n(void 0, 424), Br) : l.query(r, o, n)().abort;
|
|
873
873
|
}
|
|
874
|
-
const _r = "iconify2", jt = "iconify", to = jt + "-count", Cr = jt + "-version", no = 36e5,
|
|
874
|
+
const _r = "iconify2", jt = "iconify", to = jt + "-count", Cr = jt + "-version", no = 36e5, Ba = 168;
|
|
875
875
|
function jn(e, r) {
|
|
876
876
|
try {
|
|
877
877
|
return e.getItem(r);
|
|
@@ -904,7 +904,7 @@ const hn = {
|
|
|
904
904
|
session: /* @__PURE__ */ new Set()
|
|
905
905
|
};
|
|
906
906
|
let ar = !1;
|
|
907
|
-
function
|
|
907
|
+
function _a(e) {
|
|
908
908
|
ar = e;
|
|
909
909
|
}
|
|
910
910
|
let Ht = typeof window > "u" ? {} : window;
|
|
@@ -931,7 +931,7 @@ function lo(e, r) {
|
|
|
931
931
|
lr(n, Cr, _r), Fn(n, 0);
|
|
932
932
|
return;
|
|
933
933
|
}
|
|
934
|
-
const o = Math.floor(Date.now() / no) -
|
|
934
|
+
const o = Math.floor(Date.now() / no) - Ba, a = (i) => {
|
|
935
935
|
const p = jt + i.toString(), f = jn(n, p);
|
|
936
936
|
if (typeof f == "string") {
|
|
937
937
|
try {
|
|
@@ -949,7 +949,7 @@ function lo(e, r) {
|
|
|
949
949
|
}
|
|
950
950
|
function ao() {
|
|
951
951
|
if (!ar) {
|
|
952
|
-
|
|
952
|
+
_a(!0);
|
|
953
953
|
for (const e in hn)
|
|
954
954
|
lo(e, (r) => {
|
|
955
955
|
const n = r.data, l = r.provider, o = n.prefix, a = bt(
|
|
@@ -963,7 +963,7 @@ function ao() {
|
|
|
963
963
|
});
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
-
function
|
|
966
|
+
function Ca(e, r) {
|
|
967
967
|
const n = e.lastModifiedCached;
|
|
968
968
|
if (n && n >= r)
|
|
969
969
|
return n === r;
|
|
@@ -975,7 +975,7 @@ function _a(e, r) {
|
|
|
975
975
|
});
|
|
976
976
|
return !0;
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function Ia(e, r) {
|
|
979
979
|
ar || ao();
|
|
980
980
|
function n(l) {
|
|
981
981
|
let o;
|
|
@@ -998,16 +998,16 @@ function Ca(e, r) {
|
|
|
998
998
|
JSON.stringify(i)
|
|
999
999
|
);
|
|
1000
1000
|
}
|
|
1001
|
-
r.lastModified && !
|
|
1001
|
+
r.lastModified && !Ca(e, r.lastModified) || !Object.keys(r.icons).length || (r.not_found && (r = Object.assign({}, r), delete r.not_found), n("local") || n("session"));
|
|
1002
1002
|
}
|
|
1003
1003
|
function Er() {
|
|
1004
1004
|
}
|
|
1005
|
-
function
|
|
1005
|
+
function Ea(e) {
|
|
1006
1006
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
1007
|
-
e.iconsLoaderFlag = !1,
|
|
1007
|
+
e.iconsLoaderFlag = !1, ga(e);
|
|
1008
1008
|
}));
|
|
1009
1009
|
}
|
|
1010
|
-
function
|
|
1010
|
+
function Aa(e, r) {
|
|
1011
1011
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(r).sort() : e.iconsToLoad = r, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
1012
1012
|
e.iconsQueueFlag = !1;
|
|
1013
1013
|
const { provider: n, prefix: l } = e, o = e.iconsToLoad;
|
|
@@ -1016,7 +1016,7 @@ function Ea(e, r) {
|
|
|
1016
1016
|
if (!o || !(a = On(n)))
|
|
1017
1017
|
return;
|
|
1018
1018
|
a.prepare(n, l, o).forEach((i) => {
|
|
1019
|
-
|
|
1019
|
+
$a(n, i, (p) => {
|
|
1020
1020
|
if (typeof p != "object")
|
|
1021
1021
|
i.icons.forEach((f) => {
|
|
1022
1022
|
e.missing.add(f);
|
|
@@ -1032,17 +1032,17 @@ function Ea(e, r) {
|
|
|
1032
1032
|
const y = e.pendingIcons;
|
|
1033
1033
|
y && f.forEach((g) => {
|
|
1034
1034
|
y.delete(g);
|
|
1035
|
-
}),
|
|
1035
|
+
}), Ia(e, p);
|
|
1036
1036
|
} catch (f) {
|
|
1037
1037
|
console.error(f);
|
|
1038
1038
|
}
|
|
1039
|
-
|
|
1039
|
+
Ea(e);
|
|
1040
1040
|
});
|
|
1041
1041
|
});
|
|
1042
1042
|
}));
|
|
1043
1043
|
}
|
|
1044
|
-
const
|
|
1045
|
-
const n =
|
|
1044
|
+
const Ta = (e, r) => {
|
|
1045
|
+
const n = wa(e, !0, Yr()), l = va(n);
|
|
1046
1046
|
if (!l.pending.length) {
|
|
1047
1047
|
let p = !0;
|
|
1048
1048
|
return r && setTimeout(() => {
|
|
@@ -1070,10 +1070,10 @@ const Aa = (e, r) => {
|
|
|
1070
1070
|
T.has(g) || (T.add(g), o[f][y].push(g));
|
|
1071
1071
|
}), a.forEach((p) => {
|
|
1072
1072
|
const { provider: f, prefix: y } = p;
|
|
1073
|
-
o[f][y].length &&
|
|
1074
|
-
}), r ?
|
|
1073
|
+
o[f][y].length && Aa(p, o[f][y]);
|
|
1074
|
+
}), r ? ba(r, l, a) : Er;
|
|
1075
1075
|
};
|
|
1076
|
-
function
|
|
1076
|
+
function La(e, r) {
|
|
1077
1077
|
const n = {
|
|
1078
1078
|
...e
|
|
1079
1079
|
};
|
|
@@ -1083,9 +1083,9 @@ function Ta(e, r) {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
return n;
|
|
1085
1085
|
}
|
|
1086
|
-
const
|
|
1087
|
-
function
|
|
1088
|
-
r.split(
|
|
1086
|
+
const Ma = /[\s,]+/;
|
|
1087
|
+
function Oa(e, r) {
|
|
1088
|
+
r.split(Ma).forEach((n) => {
|
|
1089
1089
|
switch (n.trim()) {
|
|
1090
1090
|
case "horizontal":
|
|
1091
1091
|
e.hFlip = !0;
|
|
@@ -1096,7 +1096,7 @@ function Ma(e, r) {
|
|
|
1096
1096
|
}
|
|
1097
1097
|
});
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function ja(e, r = 0) {
|
|
1100
1100
|
const n = e.replace(/^-?[0-9.]*/, "");
|
|
1101
1101
|
function l(o) {
|
|
1102
1102
|
for (; o < 0; )
|
|
@@ -1122,27 +1122,27 @@ function Oa(e, r = 0) {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
return r;
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function Fa(e, r) {
|
|
1126
1126
|
let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
1127
1127
|
for (const l in r)
|
|
1128
1128
|
n += " " + l + '="' + r[l] + '"';
|
|
1129
1129
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
|
|
1130
1130
|
}
|
|
1131
|
-
function
|
|
1131
|
+
function Da(e) {
|
|
1132
1132
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
1133
1133
|
}
|
|
1134
|
-
function
|
|
1135
|
-
return 'url("data:image/svg+xml,' +
|
|
1134
|
+
function Pa(e) {
|
|
1135
|
+
return 'url("data:image/svg+xml,' + Da(e) + '")';
|
|
1136
1136
|
}
|
|
1137
1137
|
const Ar = {
|
|
1138
1138
|
...Zr,
|
|
1139
1139
|
inline: !1
|
|
1140
|
-
},
|
|
1140
|
+
}, Va = {
|
|
1141
1141
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1142
1142
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1143
1143
|
"aria-hidden": !0,
|
|
1144
1144
|
role: "img"
|
|
1145
|
-
},
|
|
1145
|
+
}, Na = {
|
|
1146
1146
|
display: "inline-block"
|
|
1147
1147
|
}, Pn = {
|
|
1148
1148
|
backgroundColor: "currentColor"
|
|
@@ -1171,7 +1171,7 @@ function Mr(e) {
|
|
|
1171
1171
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
1172
1172
|
}
|
|
1173
1173
|
const Or = (e, r) => {
|
|
1174
|
-
const n =
|
|
1174
|
+
const n = La(Ar, r), l = { ...Va }, o = r.mode || "svg", a = {}, s = r.style, i = typeof s == "object" && !(s instanceof Array) ? s : {};
|
|
1175
1175
|
for (let M in r) {
|
|
1176
1176
|
const w = r[M];
|
|
1177
1177
|
if (w !== void 0)
|
|
@@ -1187,13 +1187,13 @@ const Or = (e, r) => {
|
|
|
1187
1187
|
n[M] = w === !0 || w === "true" || w === 1;
|
|
1188
1188
|
break;
|
|
1189
1189
|
case "flip":
|
|
1190
|
-
typeof w == "string" &&
|
|
1190
|
+
typeof w == "string" && Oa(n, w);
|
|
1191
1191
|
break;
|
|
1192
1192
|
case "color":
|
|
1193
1193
|
a.color = w;
|
|
1194
1194
|
break;
|
|
1195
1195
|
case "rotate":
|
|
1196
|
-
typeof w == "string" ? n[M] =
|
|
1196
|
+
typeof w == "string" ? n[M] = ja(w) : typeof w == "number" && (n[M] = w);
|
|
1197
1197
|
break;
|
|
1198
1198
|
case "ariaHidden":
|
|
1199
1199
|
case "aria-hidden":
|
|
@@ -1205,32 +1205,32 @@ const Or = (e, r) => {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
|
-
const p =
|
|
1208
|
+
const p = na(e, n), f = p.attributes;
|
|
1209
1209
|
if (n.inline && (a.verticalAlign = "-0.125em"), o === "svg") {
|
|
1210
1210
|
l.style = {
|
|
1211
1211
|
...a,
|
|
1212
1212
|
...i
|
|
1213
1213
|
}, Object.assign(l, f);
|
|
1214
1214
|
let M = 0, w = r.id;
|
|
1215
|
-
return typeof w == "string" && (w = w.replace(/-/g, "_")), l.innerHTML =
|
|
1215
|
+
return typeof w == "string" && (w = w.replace(/-/g, "_")), l.innerHTML = aa(p.body, w ? () => w + "ID" + M++ : "iconifyVue"), Ee("svg", l);
|
|
1216
1216
|
}
|
|
1217
|
-
const { body: y, width: g, height: I } = e, T = o === "mask" || (o === "bg" ? !1 : y.indexOf("currentColor") !== -1), S =
|
|
1217
|
+
const { body: y, width: g, height: I } = e, T = o === "mask" || (o === "bg" ? !1 : y.indexOf("currentColor") !== -1), S = Fa(y, {
|
|
1218
1218
|
...f,
|
|
1219
1219
|
width: g + "",
|
|
1220
1220
|
height: I + ""
|
|
1221
1221
|
});
|
|
1222
1222
|
return l.style = {
|
|
1223
1223
|
...a,
|
|
1224
|
-
"--svg":
|
|
1224
|
+
"--svg": Pa(S),
|
|
1225
1225
|
width: Mr(f.width),
|
|
1226
1226
|
height: Mr(f.height),
|
|
1227
|
-
...
|
|
1227
|
+
...Na,
|
|
1228
1228
|
...T ? Pn : so,
|
|
1229
1229
|
...i
|
|
1230
1230
|
}, Ee("span", l);
|
|
1231
1231
|
};
|
|
1232
1232
|
Yr(!0);
|
|
1233
|
-
|
|
1233
|
+
sa("", ha);
|
|
1234
1234
|
if (typeof document < "u" && typeof window < "u") {
|
|
1235
1235
|
ao();
|
|
1236
1236
|
const e = window;
|
|
@@ -1238,7 +1238,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1238
1238
|
const r = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
1239
1239
|
typeof r == "object" && r !== null && (r instanceof Array ? r : [r]).forEach((l) => {
|
|
1240
1240
|
try {
|
|
1241
|
-
(typeof l != "object" || l === null || l instanceof Array || typeof l.icons != "object" || typeof l.prefix != "string" || !
|
|
1241
|
+
(typeof l != "object" || l === null || l instanceof Array || typeof l.icons != "object" || typeof l.prefix != "string" || !Xl(l)) && console.error(n);
|
|
1242
1242
|
} catch {
|
|
1243
1243
|
console.error(n);
|
|
1244
1244
|
}
|
|
@@ -1253,14 +1253,14 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1253
1253
|
const o = r[n];
|
|
1254
1254
|
if (typeof o != "object" || !o || o.resources === void 0)
|
|
1255
1255
|
continue;
|
|
1256
|
-
|
|
1256
|
+
ia(n, o) || console.error(l);
|
|
1257
1257
|
} catch {
|
|
1258
1258
|
console.error(l);
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
|
-
const
|
|
1263
|
+
const qa = {
|
|
1264
1264
|
...pn,
|
|
1265
1265
|
body: ""
|
|
1266
1266
|
}, he = K({
|
|
@@ -1289,11 +1289,11 @@ const Na = {
|
|
|
1289
1289
|
let n;
|
|
1290
1290
|
if (typeof e != "string" || (n = mn(e, !1, !0)) === null)
|
|
1291
1291
|
return this.abortLoading(), null;
|
|
1292
|
-
const l =
|
|
1292
|
+
const l = Jl(n);
|
|
1293
1293
|
if (!l)
|
|
1294
1294
|
return (!this._loadingIcon || this._loadingIcon.name !== e) && (this.abortLoading(), this._name = "", l !== null && (this._loadingIcon = {
|
|
1295
1295
|
name: e,
|
|
1296
|
-
abort:
|
|
1296
|
+
abort: Ta([n], () => {
|
|
1297
1297
|
this.counter++;
|
|
1298
1298
|
})
|
|
1299
1299
|
})), null;
|
|
@@ -1306,7 +1306,7 @@ const Na = {
|
|
|
1306
1306
|
this.counter;
|
|
1307
1307
|
const e = this.$attrs, r = this.iconMounted ? this.getIcon(e.icon, e.onLoad) : null;
|
|
1308
1308
|
if (!r)
|
|
1309
|
-
return Or(
|
|
1309
|
+
return Or(qa, e);
|
|
1310
1310
|
let n = e;
|
|
1311
1311
|
return r.classes && (n = {
|
|
1312
1312
|
...e,
|
|
@@ -1316,10 +1316,10 @@ const Na = {
|
|
|
1316
1316
|
...r.data
|
|
1317
1317
|
}, n);
|
|
1318
1318
|
}
|
|
1319
|
-
}),
|
|
1319
|
+
}), Ra = { class: "relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6" }, Ua = { class: "sm:flex sm:items-start" }, za = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Ha = {
|
|
1320
1320
|
id: "modal-title",
|
|
1321
1321
|
class: "text-lg font-medium leading-6 text-slate-900"
|
|
1322
|
-
},
|
|
1322
|
+
}, Ka = { class: "mt-2" }, Ga = { class: "text-base font-light text-slate-600" }, Wa = { class: "mt-5 sm:mt-4 sm:flex sm:flex-row-reverse" }, io = /* @__PURE__ */ K({
|
|
1323
1323
|
__name: "BaseDialog",
|
|
1324
1324
|
props: {
|
|
1325
1325
|
color: {
|
|
@@ -1351,8 +1351,8 @@ const Na = {
|
|
|
1351
1351
|
setup(e) {
|
|
1352
1352
|
return (r, n) => {
|
|
1353
1353
|
var l, o;
|
|
1354
|
-
return b(), L("div",
|
|
1355
|
-
v("div",
|
|
1354
|
+
return b(), L("div", Ra, [
|
|
1355
|
+
v("div", Ua, [
|
|
1356
1356
|
v("div", {
|
|
1357
1357
|
class: R(["mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10", {
|
|
1358
1358
|
"bg-primary-100": e.color == "info",
|
|
@@ -1379,16 +1379,16 @@ const Na = {
|
|
|
1379
1379
|
icon: "heroicons:information-circle-20-solid"
|
|
1380
1380
|
}))
|
|
1381
1381
|
], 2),
|
|
1382
|
-
v("div",
|
|
1382
|
+
v("div", za, [
|
|
1383
1383
|
Y(r.$slots, "default", {}, () => [
|
|
1384
|
-
v("h3",
|
|
1385
|
-
v("div",
|
|
1386
|
-
v("p",
|
|
1384
|
+
v("h3", Ha, W(e.title), 1),
|
|
1385
|
+
v("div", Ka, [
|
|
1386
|
+
v("p", Ga, W(e.message), 1)
|
|
1387
1387
|
])
|
|
1388
1388
|
])
|
|
1389
1389
|
])
|
|
1390
1390
|
]),
|
|
1391
|
-
v("div",
|
|
1391
|
+
v("div", Wa, [
|
|
1392
1392
|
v("button", {
|
|
1393
1393
|
type: "button",
|
|
1394
1394
|
class: R(["btn mb-2 w-full sm:mb-0 sm:w-auto", {
|
|
@@ -1441,11 +1441,11 @@ const Na = {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
1443
|
});
|
|
1444
|
-
var
|
|
1444
|
+
var Qa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ln = { exports: {} };
|
|
1445
1445
|
(function(e, r) {
|
|
1446
1446
|
(function(l, o) {
|
|
1447
1447
|
e.exports = o();
|
|
1448
|
-
})(
|
|
1448
|
+
})(Qa, function() {
|
|
1449
1449
|
return function(n) {
|
|
1450
1450
|
var l = {};
|
|
1451
1451
|
function o(a) {
|
|
@@ -1586,7 +1586,7 @@ var Wa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1586
1586
|
}), o.d(l, "addLockableTarget", function() {
|
|
1587
1587
|
return Ce;
|
|
1588
1588
|
}), o.d(l, "addLockableSelector", function() {
|
|
1589
|
-
return
|
|
1589
|
+
return qe;
|
|
1590
1590
|
}), o.d(l, "setFillGapMethod", function() {
|
|
1591
1591
|
return le;
|
|
1592
1592
|
}), o.d(l, "addFillGapTarget", function() {
|
|
@@ -1701,7 +1701,7 @@ var Wa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1701
1701
|
});
|
|
1702
1702
|
}), j() || k();
|
|
1703
1703
|
}
|
|
1704
|
-
},
|
|
1704
|
+
}, qe = function(_) {
|
|
1705
1705
|
if (_) {
|
|
1706
1706
|
var Z = a(_);
|
|
1707
1707
|
Z.map(function(oe) {
|
|
@@ -1917,7 +1917,7 @@ Available fill gap methods: `).concat(Z, "."));
|
|
|
1917
1917
|
removeScrollableSelector: Be,
|
|
1918
1918
|
addScrollableTarget: ue,
|
|
1919
1919
|
removeScrollableTarget: se,
|
|
1920
|
-
addLockableSelector:
|
|
1920
|
+
addLockableSelector: qe,
|
|
1921
1921
|
addLockableTarget: Ce,
|
|
1922
1922
|
addFillGapSelector: je,
|
|
1923
1923
|
removeFillGapSelector: V,
|
|
@@ -1938,10 +1938,10 @@ function uo(e = null) {
|
|
|
1938
1938
|
function co() {
|
|
1939
1939
|
ln.exports.clearQueueScrollLocks(), ln.exports.enablePageScroll();
|
|
1940
1940
|
}
|
|
1941
|
-
const
|
|
1941
|
+
const Ya = {
|
|
1942
1942
|
key: 0,
|
|
1943
1943
|
class: "fixed inset-0 z-dialogs h-full w-full bg-black bg-opacity-60"
|
|
1944
|
-
},
|
|
1944
|
+
}, Ja = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, Za = ["onClick"], fo = /* @__PURE__ */ K({
|
|
1945
1945
|
__name: "BaseAppDialogs",
|
|
1946
1946
|
setup(e, { expose: r }) {
|
|
1947
1947
|
const n = sr(), l = A(() => n.dialogs);
|
|
@@ -1978,7 +1978,7 @@ const Qa = {
|
|
|
1978
1978
|
"leave-to-class": "opacity-0"
|
|
1979
1979
|
}, {
|
|
1980
1980
|
default: H(() => [
|
|
1981
|
-
h(l).length ? (b(), L("div",
|
|
1981
|
+
h(l).length ? (b(), L("div", Ya)) : Q("", !0)
|
|
1982
1982
|
]),
|
|
1983
1983
|
_: 1
|
|
1984
1984
|
}),
|
|
@@ -2000,11 +2000,11 @@ const Qa = {
|
|
|
2000
2000
|
"scroll-lock-target": "",
|
|
2001
2001
|
class: "fixed inset-0 z-dialogs transform overflow-y-auto"
|
|
2002
2002
|
}, [
|
|
2003
|
-
v("div",
|
|
2003
|
+
v("div", Ja, [
|
|
2004
2004
|
v("div", {
|
|
2005
2005
|
class: "fixed inset-0 h-full w-full",
|
|
2006
2006
|
onClick: (T) => g.closeOnOutsideClick ? a(g) : p(g)
|
|
2007
|
-
}, null, 8,
|
|
2007
|
+
}, null, 8, Za),
|
|
2008
2008
|
z(io, {
|
|
2009
2009
|
class: R((I = h(i)[g.id]) != null ? I : ""),
|
|
2010
2010
|
color: g.color,
|
|
@@ -2023,21 +2023,21 @@ const Qa = {
|
|
|
2023
2023
|
})
|
|
2024
2024
|
]));
|
|
2025
2025
|
}
|
|
2026
|
-
}),
|
|
2026
|
+
}), Xa = { class: "pointer-events-none fixed inset-0 z-notifications flex items-end justify-end p-6 md:p-8" }, es = { class: "w-full max-w-sm" }, ts = { class: "mx-auto mt-4 flex w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-xl" }, ns = /* @__PURE__ */ v("svg", {
|
|
2027
2027
|
class: "h-6 w-6 fill-current text-white",
|
|
2028
2028
|
viewBox: "0 0 40 40",
|
|
2029
2029
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2030
2030
|
}, [
|
|
2031
2031
|
/* @__PURE__ */ v("path", { d: "M20 3.33331C10.8 3.33331 3.33337 10.8 3.33337 20C3.33337 29.2 10.8 36.6666 20 36.6666C29.2 36.6666 36.6667 29.2 36.6667 20C36.6667 10.8 29.2 3.33331 20 3.33331ZM21.6667 28.3333H18.3334V25H21.6667V28.3333ZM21.6667 21.6666H18.3334V11.6666H21.6667V21.6666Z" })
|
|
2032
|
-
], -1),
|
|
2033
|
-
|
|
2034
|
-
],
|
|
2032
|
+
], -1), rs = [
|
|
2033
|
+
ns
|
|
2034
|
+
], os = { class: "-mx-3 px-4 pt-2 pb-3" }, ls = { class: "mx-3" }, as = { class: "text-sm leading-tight text-slate-600" }, mo = /* @__PURE__ */ K({
|
|
2035
2035
|
__name: "BaseAppNotifications",
|
|
2036
2036
|
setup(e) {
|
|
2037
2037
|
const r = It(), n = A(() => r.notifications);
|
|
2038
2038
|
return (l, o) => (b(), ee(Pt, { to: "body" }, [
|
|
2039
|
-
v("div",
|
|
2040
|
-
v("div",
|
|
2039
|
+
v("div", Xa, [
|
|
2040
|
+
v("div", es, [
|
|
2041
2041
|
z(Rr, {
|
|
2042
2042
|
"enter-active-class": "transition duration-300 ease-out transform",
|
|
2043
2043
|
"enter-from-class": "sm:translate-y-0 sm:translate-x-4 translate-y-2 opacity-0",
|
|
@@ -2050,7 +2050,7 @@ const Qa = {
|
|
|
2050
2050
|
(b(!0), L(fe, null, ve(h(n), (a) => (b(), L("div", {
|
|
2051
2051
|
key: a.id
|
|
2052
2052
|
}, [
|
|
2053
|
-
v("div",
|
|
2053
|
+
v("div", ts, [
|
|
2054
2054
|
v("div", {
|
|
2055
2055
|
class: R(["flex w-12 items-center justify-center", {
|
|
2056
2056
|
"bg-blue-500": a.color == "info",
|
|
@@ -2058,9 +2058,9 @@ const Qa = {
|
|
|
2058
2058
|
"bg-yellow-500": a.color == "warning",
|
|
2059
2059
|
"bg-green-500": a.color == "success"
|
|
2060
2060
|
}])
|
|
2061
|
-
},
|
|
2062
|
-
v("div",
|
|
2063
|
-
v("div",
|
|
2061
|
+
}, rs, 2),
|
|
2062
|
+
v("div", os, [
|
|
2063
|
+
v("div", ls, [
|
|
2064
2064
|
v("h3", {
|
|
2065
2065
|
class: R(["mb-1 font-semibold leading-tight", {
|
|
2066
2066
|
"text-blue-500": a.color == "info",
|
|
@@ -2069,7 +2069,7 @@ const Qa = {
|
|
|
2069
2069
|
"text-green-500": a.color == "success"
|
|
2070
2070
|
}])
|
|
2071
2071
|
}, W(a.title), 3),
|
|
2072
|
-
v("p",
|
|
2072
|
+
v("p", as, W(a.text), 1)
|
|
2073
2073
|
])
|
|
2074
2074
|
])
|
|
2075
2075
|
])
|
|
@@ -2081,10 +2081,10 @@ const Qa = {
|
|
|
2081
2081
|
])
|
|
2082
2082
|
]));
|
|
2083
2083
|
}
|
|
2084
|
-
}),
|
|
2084
|
+
}), ss = { class: "min-h-full" }, is = /* @__PURE__ */ K({
|
|
2085
2085
|
__name: "BaseApp",
|
|
2086
2086
|
setup(e) {
|
|
2087
|
-
return (r, n) => (b(), L("div",
|
|
2087
|
+
return (r, n) => (b(), L("div", ss, [
|
|
2088
2088
|
Y(r.$slots, "default"),
|
|
2089
2089
|
z(mo),
|
|
2090
2090
|
z(fo)
|
|
@@ -2175,19 +2175,19 @@ function ze(e) {
|
|
|
2175
2175
|
disableForm: T
|
|
2176
2176
|
};
|
|
2177
2177
|
}
|
|
2178
|
-
const
|
|
2178
|
+
const us = { class: "relative" }, cs = { class: "relative" }, ds = ["value", "placeholder", "disabled"], fs = { class: "pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center pl-2.5" }, ms = {
|
|
2179
2179
|
key: 0,
|
|
2180
2180
|
class: "absolute top-0 right-0 flex h-full items-center p-1"
|
|
2181
|
-
},
|
|
2181
|
+
}, ps = { class: "relative" }, hs = { class: "absolute top-1 z-menu min-h-[110px] w-full overflow-hidden rounded border border-slate-300 bg-white shadow-md" }, vs = { class: "flex items-center justify-center px-5 py-10 text-center text-slate-600" }, gs = {
|
|
2182
2182
|
key: 1,
|
|
2183
2183
|
class: "p-1"
|
|
2184
|
-
},
|
|
2184
|
+
}, ys = ["onClick", "onMousedown"], bs = {
|
|
2185
2185
|
key: 0,
|
|
2186
2186
|
class: "bg-white"
|
|
2187
|
-
},
|
|
2187
|
+
}, ws = {
|
|
2188
2188
|
key: 0,
|
|
2189
2189
|
class: "absolute inset-0 h-full w-full space-y-1 bg-white p-2"
|
|
2190
|
-
},
|
|
2190
|
+
}, xs = { class: "space-y-1" }, po = /* @__PURE__ */ K({
|
|
2191
2191
|
__name: "BaseAutocomplete",
|
|
2192
2192
|
props: {
|
|
2193
2193
|
modelValue: {
|
|
@@ -2352,8 +2352,8 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2352
2352
|
},
|
|
2353
2353
|
{ attributes: !1, childList: !0, subtree: !0 }
|
|
2354
2354
|
), (q, X) => (b(), L("div", null, [
|
|
2355
|
-
v("div",
|
|
2356
|
-
v("div",
|
|
2355
|
+
v("div", us, [
|
|
2356
|
+
v("div", cs, [
|
|
2357
2357
|
v("input", {
|
|
2358
2358
|
ref_key: "inputElement",
|
|
2359
2359
|
ref: f,
|
|
@@ -2367,15 +2367,15 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2367
2367
|
onBlur: D,
|
|
2368
2368
|
onInput: U,
|
|
2369
2369
|
onKeydown: x
|
|
2370
|
-
}, null, 42,
|
|
2371
|
-
v("div",
|
|
2370
|
+
}, null, 42, ds),
|
|
2371
|
+
v("div", fs, [
|
|
2372
2372
|
z(h(he), {
|
|
2373
2373
|
class: "h-5 w-5 text-slate-400",
|
|
2374
2374
|
icon: "heroicons:magnifying-glass-solid"
|
|
2375
2375
|
})
|
|
2376
2376
|
])
|
|
2377
2377
|
]),
|
|
2378
|
-
h(S) && !e.disabled ? (b(), L("div",
|
|
2378
|
+
h(S) && !e.disabled ? (b(), L("div", ms, [
|
|
2379
2379
|
v("button", {
|
|
2380
2380
|
type: "button",
|
|
2381
2381
|
class: "group flex h-full items-center rounded p-1.5 enabled:hover:bg-slate-100",
|
|
@@ -2388,16 +2388,16 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2388
2388
|
])
|
|
2389
2389
|
])) : Q("", !0)
|
|
2390
2390
|
]),
|
|
2391
|
-
v("div",
|
|
2392
|
-
|
|
2391
|
+
v("div", ps, [
|
|
2392
|
+
Re(v("div", hs, [
|
|
2393
2393
|
v("div", {
|
|
2394
2394
|
ref_key: "dropdown",
|
|
2395
2395
|
ref: y,
|
|
2396
2396
|
class: "max-h-[214px] min-h-[75px] w-full overflow-y-auto"
|
|
2397
2397
|
}, [
|
|
2398
2398
|
h(w).length == 0 ? Y(q.$slots, "empty", { key: 0 }, () => [
|
|
2399
|
-
v("div",
|
|
2400
|
-
]) : (b(), L("ul",
|
|
2399
|
+
v("div", vs, W(q.$t("sui.nothing_found")), 1)
|
|
2400
|
+
]) : (b(), L("ul", gs, [
|
|
2401
2401
|
(b(!0), L(fe, null, ve(h(w), (ue) => (b(), L("li", {
|
|
2402
2402
|
key: ue.value,
|
|
2403
2403
|
class: "block"
|
|
@@ -2418,7 +2418,7 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2418
2418
|
class: R(["rounded px-2 py-1 text-sm", $(ue)])
|
|
2419
2419
|
}, W(ue.label), 3)
|
|
2420
2420
|
])
|
|
2421
|
-
], 40,
|
|
2421
|
+
], 40, ys)
|
|
2422
2422
|
]))), 128))
|
|
2423
2423
|
]))
|
|
2424
2424
|
], 512),
|
|
@@ -2426,7 +2426,7 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2426
2426
|
ref_key: "footer",
|
|
2427
2427
|
ref: J
|
|
2428
2428
|
}, [
|
|
2429
|
-
q.$slots.footer ? (b(), L("div",
|
|
2429
|
+
q.$slots.footer ? (b(), L("div", bs, [
|
|
2430
2430
|
Y(q.$slots, "footer", {
|
|
2431
2431
|
options: h(w),
|
|
2432
2432
|
keywords: h(s),
|
|
@@ -2434,8 +2434,8 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2434
2434
|
})
|
|
2435
2435
|
])) : Q("", !0)
|
|
2436
2436
|
], 512),
|
|
2437
|
-
e.loading ? (b(), L("div",
|
|
2438
|
-
v("div",
|
|
2437
|
+
e.loading ? (b(), L("div", ws, [
|
|
2438
|
+
v("div", xs, [
|
|
2439
2439
|
z(yt, {
|
|
2440
2440
|
class: "h-7 w-full",
|
|
2441
2441
|
delay: "0ms"
|
|
@@ -2456,7 +2456,7 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2456
2456
|
])
|
|
2457
2457
|
]));
|
|
2458
2458
|
}
|
|
2459
|
-
}),
|
|
2459
|
+
}), ks = {
|
|
2460
2460
|
key: 0,
|
|
2461
2461
|
class: "flex h-[80px] items-center justify-center px-3 text-center text-base leading-tight text-slate-600"
|
|
2462
2462
|
}, ho = /* @__PURE__ */ K({
|
|
@@ -2560,13 +2560,13 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2560
2560
|
]),
|
|
2561
2561
|
empty: H((t) => [
|
|
2562
2562
|
Y(w.$slots, "empty", at(t, { firstSearch: h(a) }), () => [
|
|
2563
|
-
h(a) ? (b(), L("div",
|
|
2563
|
+
h(a) ? (b(), L("div", ks, W(w.$t("sui.nothing_found")), 1)) : Q("", !0)
|
|
2564
2564
|
])
|
|
2565
2565
|
]),
|
|
2566
2566
|
_: 3
|
|
2567
2567
|
}, 8, ["loading", "model-value", "disabled", "name", "placeholder", "options", "value-key", "label-key", "has-error", "filter"]));
|
|
2568
2568
|
}
|
|
2569
|
-
}),
|
|
2569
|
+
}), Ss = ["src"], $s = { class: "truncate" }, Bs = { class: "truncate opacity-50" }, Ft = /* @__PURE__ */ K({
|
|
2570
2570
|
__name: "BaseAvatar",
|
|
2571
2571
|
props: {
|
|
2572
2572
|
user: {
|
|
@@ -2620,8 +2620,8 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2620
2620
|
default: H(() => [
|
|
2621
2621
|
v("img", {
|
|
2622
2622
|
src: e.user.avatar_url,
|
|
2623
|
-
class: R([[h(n), e.detailsPosition == "left" ? "order-2" : "order-1"], "shrink-0 overflow-hidden rounded-full"])
|
|
2624
|
-
}, null, 10,
|
|
2623
|
+
class: R([[h(n), e.detailsPosition == "left" ? "order-2" : "order-1"], "shrink-0 overflow-hidden rounded-full object-cover object-center"])
|
|
2624
|
+
}, null, 10, Ss),
|
|
2625
2625
|
e.showDetails ? (b(), L("div", {
|
|
2626
2626
|
key: 0,
|
|
2627
2627
|
class: R(["max-w-[120px] grow leading-tight", [
|
|
@@ -2633,14 +2633,14 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2633
2633
|
marginRight: e.detailsPosition == "left" ? h(o) : "0"
|
|
2634
2634
|
})
|
|
2635
2635
|
}, [
|
|
2636
|
-
v("div",
|
|
2637
|
-
v("div",
|
|
2636
|
+
v("div", $s, W(e.user.full_name), 1),
|
|
2637
|
+
v("div", Bs, W(e.user.email), 1)
|
|
2638
2638
|
], 6)) : Q("", !0)
|
|
2639
2639
|
]),
|
|
2640
2640
|
_: 1
|
|
2641
2641
|
}, 8, ["to"]));
|
|
2642
2642
|
}
|
|
2643
|
-
}),
|
|
2643
|
+
}), _s = { class: "flex items-center -space-x-4" }, Cs = ["aria-label"], Is = { class: "rounded-full border-[3px] border-white" }, Es = /* @__PURE__ */ K({
|
|
2644
2644
|
__name: "BaseAvatarGroup",
|
|
2645
2645
|
props: {
|
|
2646
2646
|
users: {
|
|
@@ -2673,7 +2673,7 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2673
2673
|
return "1rem";
|
|
2674
2674
|
}
|
|
2675
2675
|
});
|
|
2676
|
-
return (l, o) => (b(), L("div",
|
|
2676
|
+
return (l, o) => (b(), L("div", _s, [
|
|
2677
2677
|
(b(!0), L(fe, null, ve(e.users, (a, s) => (b(), L("div", {
|
|
2678
2678
|
key: a.email + "-" + s,
|
|
2679
2679
|
role: "tooltip",
|
|
@@ -2683,7 +2683,7 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2683
2683
|
marginLeft: s === 0 ? "0" : "-" + h(n)
|
|
2684
2684
|
})
|
|
2685
2685
|
}, [
|
|
2686
|
-
v("div",
|
|
2686
|
+
v("div", Is, [
|
|
2687
2687
|
z(Ft, {
|
|
2688
2688
|
user: a,
|
|
2689
2689
|
size: e.size,
|
|
@@ -2691,10 +2691,10 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2691
2691
|
to: e.to ? e.to(a) : void 0
|
|
2692
2692
|
}, null, 8, ["user", "size", "to"])
|
|
2693
2693
|
])
|
|
2694
|
-
], 12,
|
|
2694
|
+
], 12, Cs))), 128))
|
|
2695
2695
|
]));
|
|
2696
2696
|
}
|
|
2697
|
-
}),
|
|
2697
|
+
}), As = /* @__PURE__ */ K({
|
|
2698
2698
|
__name: "BaseBadge",
|
|
2699
2699
|
props: {
|
|
2700
2700
|
contrast: {
|
|
@@ -2727,7 +2727,7 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2727
2727
|
Y(a.$slots, "default")
|
|
2728
2728
|
], 2));
|
|
2729
2729
|
}
|
|
2730
|
-
}),
|
|
2730
|
+
}), Ts = /* @__PURE__ */ K({
|
|
2731
2731
|
__name: "BaseBelongsTo",
|
|
2732
2732
|
props: {
|
|
2733
2733
|
modelValue: {
|
|
@@ -2826,7 +2826,7 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2826
2826
|
_: 3
|
|
2827
2827
|
}, 8, ["model-value", "url", "disabled", "name", "placeholder", "required", "value-key", "label-key", "has-error"]));
|
|
2828
2828
|
}
|
|
2829
|
-
}),
|
|
2829
|
+
}), Ls = { key: 0 }, Ms = { key: 1 }, Os = /* @__PURE__ */ K({
|
|
2830
2830
|
__name: "BaseBoolean",
|
|
2831
2831
|
props: {
|
|
2832
2832
|
modelValue: {
|
|
@@ -2841,22 +2841,22 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2841
2841
|
return b(), L("div", {
|
|
2842
2842
|
class: R(["inline-flex h-5 w-5 items-center justify-center rounded-full", h(n)])
|
|
2843
2843
|
}, [
|
|
2844
|
-
e.modelValue ? (b(), L("div",
|
|
2844
|
+
e.modelValue ? (b(), L("div", Ls, [
|
|
2845
2845
|
z(a, { icon: "heroicons-solid:check" })
|
|
2846
|
-
])) : (b(), L("div",
|
|
2846
|
+
])) : (b(), L("div", Ms, [
|
|
2847
2847
|
z(a, { icon: "heroicons-solid:x" })
|
|
2848
2848
|
]))
|
|
2849
2849
|
], 2);
|
|
2850
2850
|
};
|
|
2851
2851
|
}
|
|
2852
|
-
}),
|
|
2852
|
+
}), js = {
|
|
2853
2853
|
key: 0,
|
|
2854
2854
|
class: "hidden sm:flex",
|
|
2855
2855
|
"aria-label": "Breadcrumb"
|
|
2856
|
-
},
|
|
2856
|
+
}, Fs = {
|
|
2857
2857
|
role: "list",
|
|
2858
2858
|
class: "flex items-center space-x-3"
|
|
2859
|
-
},
|
|
2859
|
+
}, Ds = { class: "flex items-center" }, Ps = ["href", "onClick"], Vs = { key: 0 }, Ns = { key: 1 }, qs = { class: "flex items-center" }, Rs = /* @__PURE__ */ K({
|
|
2860
2860
|
__name: "BaseBreadcrumbs",
|
|
2861
2861
|
props: {
|
|
2862
2862
|
breadcrumbs: {
|
|
@@ -2872,10 +2872,10 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2872
2872
|
return (l, o) => {
|
|
2873
2873
|
const a = Se("BaseIcon"), s = Se("RouterLink");
|
|
2874
2874
|
return b(), L("div", null, [
|
|
2875
|
-
e.breadcrumbs.length > 0 ? (b(), L("nav",
|
|
2876
|
-
v("ol",
|
|
2875
|
+
e.breadcrumbs.length > 0 ? (b(), L("nav", js, [
|
|
2876
|
+
v("ol", Fs, [
|
|
2877
2877
|
(b(!0), L(fe, null, ve(e.breadcrumbs, (i, p) => (b(), L("li", { key: p }, [
|
|
2878
|
-
v("div",
|
|
2878
|
+
v("div", Ds, [
|
|
2879
2879
|
p > 0 ? (b(), ee(a, {
|
|
2880
2880
|
key: 0,
|
|
2881
2881
|
icon: "heroicons-solid:chevron-right",
|
|
@@ -2895,12 +2895,12 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2895
2895
|
]]),
|
|
2896
2896
|
onClick: He((I) => y(), ["prevent"])
|
|
2897
2897
|
}, [
|
|
2898
|
-
i.icon ? (b(), L("span",
|
|
2898
|
+
i.icon ? (b(), L("span", Vs, [
|
|
2899
2899
|
z(a, {
|
|
2900
2900
|
icon: i.icon
|
|
2901
2901
|
}, null, 8, ["icon"])
|
|
2902
|
-
])) : (b(), L("span",
|
|
2903
|
-
], 10,
|
|
2902
|
+
])) : (b(), L("span", Ns, W(h(Tl)(i.label)), 1))
|
|
2903
|
+
], 10, Ps)
|
|
2904
2904
|
]),
|
|
2905
2905
|
_: 2
|
|
2906
2906
|
}, 1032, ["to"])
|
|
@@ -2914,7 +2914,7 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2914
2914
|
class: "block text-slate-500 sm:hidden"
|
|
2915
2915
|
}, {
|
|
2916
2916
|
default: H(() => [
|
|
2917
|
-
v("div",
|
|
2917
|
+
v("div", qs, [
|
|
2918
2918
|
z(a, {
|
|
2919
2919
|
icon: "heroicons-solid:arrow-left",
|
|
2920
2920
|
class: "mr-2"
|
|
@@ -2927,7 +2927,7 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2927
2927
|
]);
|
|
2928
2928
|
};
|
|
2929
2929
|
}
|
|
2930
|
-
}),
|
|
2930
|
+
}), Us = K({
|
|
2931
2931
|
props: {
|
|
2932
2932
|
loading: {
|
|
2933
2933
|
type: Boolean,
|
|
@@ -2938,10 +2938,10 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2938
2938
|
type: String
|
|
2939
2939
|
}
|
|
2940
2940
|
}
|
|
2941
|
-
}),
|
|
2941
|
+
}), zs = {
|
|
2942
2942
|
key: 0,
|
|
2943
2943
|
class: "absolute inset-0 flex h-full w-full items-center justify-center"
|
|
2944
|
-
},
|
|
2944
|
+
}, Hs = /* @__PURE__ */ v("svg", {
|
|
2945
2945
|
class: "h-4 w-4 animate-spin",
|
|
2946
2946
|
viewBox: "0 0 24 24"
|
|
2947
2947
|
}, [
|
|
@@ -2949,10 +2949,10 @@ const is = { class: "relative" }, us = { class: "relative" }, cs = ["value", "pl
|
|
|
2949
2949
|
fill: "currentColor",
|
|
2950
2950
|
d: "M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"
|
|
2951
2951
|
})
|
|
2952
|
-
], -1),
|
|
2953
|
-
|
|
2952
|
+
], -1), Ks = [
|
|
2953
|
+
Hs
|
|
2954
2954
|
];
|
|
2955
|
-
function
|
|
2955
|
+
function Gs(e, r, n, l, o, a) {
|
|
2956
2956
|
return b(), ee(Vt(e.as), {
|
|
2957
2957
|
ref: "button",
|
|
2958
2958
|
class: "btn"
|
|
@@ -2963,12 +2963,12 @@ function Ks(e, r, n, l, o, a) {
|
|
|
2963
2963
|
}, [
|
|
2964
2964
|
Y(e.$slots, "default")
|
|
2965
2965
|
], 2),
|
|
2966
|
-
e.loading ? (b(), L("div",
|
|
2966
|
+
e.loading ? (b(), L("div", zs, Ks)) : Q("", !0)
|
|
2967
2967
|
]),
|
|
2968
2968
|
_: 3
|
|
2969
2969
|
}, 512);
|
|
2970
2970
|
}
|
|
2971
|
-
const
|
|
2971
|
+
const Ws = /* @__PURE__ */ Ne(Us, [["render", Gs]]), Qs = ["type", "disabled", "onClick"], Ys = /* @__PURE__ */ K({
|
|
2972
2972
|
__name: "BaseButtonGroup",
|
|
2973
2973
|
props: {
|
|
2974
2974
|
modelValue: {
|
|
@@ -3080,7 +3080,7 @@ const Gs = /* @__PURE__ */ Ve(Rs, [["render", Ks]]), Ws = ["type", "disabled", "
|
|
|
3080
3080
|
}, () => [
|
|
3081
3081
|
We(W(g.label), 1)
|
|
3082
3082
|
])
|
|
3083
|
-
], 10,
|
|
3083
|
+
], 10, Qs)
|
|
3084
3084
|
], 4))), 128))
|
|
3085
3085
|
], 4));
|
|
3086
3086
|
}
|
|
@@ -3116,7 +3116,7 @@ const Gs = /* @__PURE__ */ Ve(Rs, [["render", Ks]]), Ws = ["type", "disabled", "
|
|
|
3116
3116
|
Y(s.$slots, "default")
|
|
3117
3117
|
], 2));
|
|
3118
3118
|
}
|
|
3119
|
-
}),
|
|
3119
|
+
}), Js = K({
|
|
3120
3120
|
props: {
|
|
3121
3121
|
size: {
|
|
3122
3122
|
default: "base",
|
|
@@ -3128,9 +3128,9 @@ const Gs = /* @__PURE__ */ Ve(Rs, [["render", Ks]]), Ws = ["type", "disabled", "
|
|
|
3128
3128
|
return this.size == "xs" ? "md:p-3 p-2" : this.size == "sm" ? "md:p-4 p-3" : this.size == "lg" ? "md:p-8 p-6" : "md:p-6 px-4 py-5";
|
|
3129
3129
|
}
|
|
3130
3130
|
}
|
|
3131
|
-
}),
|
|
3132
|
-
function
|
|
3133
|
-
return b(), L("div",
|
|
3131
|
+
}), Zs = { class: "border-t border-slate-300 first:border-t-0" };
|
|
3132
|
+
function Xs(e, r, n, l, o, a) {
|
|
3133
|
+
return b(), L("div", Zs, [
|
|
3134
3134
|
v("div", {
|
|
3135
3135
|
class: R(e.paddingClass)
|
|
3136
3136
|
}, [
|
|
@@ -3138,10 +3138,10 @@ function Zs(e, r, n, l, o, a) {
|
|
|
3138
3138
|
], 2)
|
|
3139
3139
|
]);
|
|
3140
3140
|
}
|
|
3141
|
-
const ir = /* @__PURE__ */
|
|
3141
|
+
const ir = /* @__PURE__ */ Ne(Js, [["render", Xs]]), ei = {
|
|
3142
3142
|
key: 1,
|
|
3143
3143
|
class: "text-red-600"
|
|
3144
|
-
},
|
|
3144
|
+
}, ti = /* @__PURE__ */ K({
|
|
3145
3145
|
__name: "BaseCharacterCounter",
|
|
3146
3146
|
props: {
|
|
3147
3147
|
text: {
|
|
@@ -3176,13 +3176,13 @@ const ir = /* @__PURE__ */ Ve(Ys, [["render", Zs]]), Xs = {
|
|
|
3176
3176
|
class: R({
|
|
3177
3177
|
"text-red-600": h(l) > e.max
|
|
3178
3178
|
})
|
|
3179
|
-
}, W(h(l)) + "/" + W(e.max), 3)) : e.min && h(l) < e.min ? (b(), L("div",
|
|
3179
|
+
}, W(h(l)) + "/" + W(e.max), 3)) : e.min && h(l) < e.min ? (b(), L("div", ei, W(o.$t("sui.min_x_characters", { x: e.min })) + " (" + W(h(l)) + "/" + W(e.min) + ") ", 1)) : Q("", !0)
|
|
3180
3180
|
]));
|
|
3181
3181
|
}
|
|
3182
|
-
}),
|
|
3182
|
+
}), ni = { class: "pointer-events-none absolute left-full z-[1] items-center" }, ri = { class: "ml-2 whitespace-nowrap rounded bg-slate-900 bg-opacity-80 px-3 py-2 text-xs leading-tight text-white backdrop-blur" }, oi = {
|
|
3183
3183
|
key: 0,
|
|
3184
3184
|
class: "flex items-center"
|
|
3185
|
-
},
|
|
3185
|
+
}, li = { key: 1 }, ai = /* @__PURE__ */ K({
|
|
3186
3186
|
__name: "BaseClipboard",
|
|
3187
3187
|
props: {
|
|
3188
3188
|
value: {
|
|
@@ -3235,15 +3235,15 @@ const ir = /* @__PURE__ */ Ve(Ys, [["render", Zs]]), Xs = {
|
|
|
3235
3235
|
"leave-to-class": "transform scale-90 opacity-0"
|
|
3236
3236
|
}, {
|
|
3237
3237
|
default: H(() => [
|
|
3238
|
-
|
|
3239
|
-
v("div",
|
|
3240
|
-
h(l) ? (b(), L("div",
|
|
3238
|
+
Re(v("div", ni, [
|
|
3239
|
+
v("div", ri, [
|
|
3240
|
+
h(l) ? (b(), L("div", oi, [
|
|
3241
3241
|
z(I, {
|
|
3242
3242
|
class: "mr-1 text-green-500",
|
|
3243
3243
|
icon: "heroicons:check-circle-solid"
|
|
3244
3244
|
}),
|
|
3245
3245
|
We(" " + W(y.$t("sui.copied")), 1)
|
|
3246
|
-
])) : (b(), L("div",
|
|
3246
|
+
])) : (b(), L("div", li, W(y.$t("sui.click_to_copy")), 1))
|
|
3247
3247
|
])
|
|
3248
3248
|
], 512), [
|
|
3249
3249
|
[lt, h(n)]
|
|
@@ -3254,7 +3254,7 @@ const ir = /* @__PURE__ */ Ve(Ys, [["render", Zs]]), Xs = {
|
|
|
3254
3254
|
], 32);
|
|
3255
3255
|
};
|
|
3256
3256
|
}
|
|
3257
|
-
}),
|
|
3257
|
+
}), si = K({
|
|
3258
3258
|
props: {
|
|
3259
3259
|
size: {
|
|
3260
3260
|
default: "7xl",
|
|
@@ -3285,14 +3285,14 @@ const ir = /* @__PURE__ */ Ve(Ys, [["render", Zs]]), Xs = {
|
|
|
3285
3285
|
}
|
|
3286
3286
|
}
|
|
3287
3287
|
});
|
|
3288
|
-
function
|
|
3288
|
+
function ii(e, r, n, l, o, a) {
|
|
3289
3289
|
return b(), L("div", {
|
|
3290
3290
|
class: R(["mx-auto w-full md:px-8", [e.width, { "px-4": !e.paddinglessMobile }]])
|
|
3291
3291
|
}, [
|
|
3292
3292
|
Y(e.$slots, "default")
|
|
3293
3293
|
], 2);
|
|
3294
3294
|
}
|
|
3295
|
-
const vo = /* @__PURE__ */
|
|
3295
|
+
const vo = /* @__PURE__ */ Ne(si, [["render", ii]]), Nt = /* @__PURE__ */ K({
|
|
3296
3296
|
__name: "BaseCounter",
|
|
3297
3297
|
props: {
|
|
3298
3298
|
count: {
|
|
@@ -3600,14 +3600,14 @@ Use "options.replacer" or "options.ignoreUnknown"
|
|
|
3600
3600
|
return P;
|
|
3601
3601
|
}
|
|
3602
3602
|
function E(c, k, B, F) {
|
|
3603
|
-
return w._charsWritten =
|
|
3603
|
+
return w._charsWritten = qe(function(P) {
|
|
3604
3604
|
for (var G = [], ae = 0; ae < P.length; ae++)
|
|
3605
3605
|
G.push(255 & P.charCodeAt(ae));
|
|
3606
3606
|
return G;
|
|
3607
3607
|
}(k), c, B, F);
|
|
3608
3608
|
}
|
|
3609
3609
|
function t(c, k, B, F) {
|
|
3610
|
-
return w._charsWritten =
|
|
3610
|
+
return w._charsWritten = qe(function(P) {
|
|
3611
3611
|
for (var G, ae, ye = [], $e = 0; $e < P.length; $e++)
|
|
3612
3612
|
ae = P.charCodeAt($e), G = ae >> 8, ae = ae % 256, ye.push(ae), ye.push(G);
|
|
3613
3613
|
return ye;
|
|
@@ -3756,14 +3756,14 @@ list should be an Array.`), c.length === 0)
|
|
|
3756
3756
|
break;
|
|
3757
3757
|
case "utf8":
|
|
3758
3758
|
case "utf-8":
|
|
3759
|
-
G = this, ae = k, ye = B, P = w._charsWritten =
|
|
3759
|
+
G = this, ae = k, ye = B, P = w._charsWritten = qe(Be(c), G, ae, ye);
|
|
3760
3760
|
break;
|
|
3761
3761
|
case "ascii":
|
|
3762
3762
|
case "binary":
|
|
3763
3763
|
P = E(this, c, k, B);
|
|
3764
3764
|
break;
|
|
3765
3765
|
case "base64":
|
|
3766
|
-
G = this, ae = k, ye = B, P = w._charsWritten =
|
|
3766
|
+
G = this, ae = k, ye = B, P = w._charsWritten = qe(Ce(c), G, ae, ye);
|
|
3767
3767
|
break;
|
|
3768
3768
|
case "ucs2":
|
|
3769
3769
|
case "ucs-2":
|
|
@@ -3952,7 +3952,7 @@ list should be an Array.`), c.length === 0)
|
|
|
3952
3952
|
function Ce(c) {
|
|
3953
3953
|
return S.toByteArray(c);
|
|
3954
3954
|
}
|
|
3955
|
-
function
|
|
3955
|
+
function qe(c, k, B, F) {
|
|
3956
3956
|
for (var P = 0; P < F && !(P + B >= k.length || P >= c.length); P++)
|
|
3957
3957
|
k[P + B] = c[P];
|
|
3958
3958
|
return P;
|
|
@@ -4190,7 +4190,7 @@ function Qe(e, r, ...n) {
|
|
|
4190
4190
|
var _t = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(_t || {}), mt = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(mt || {});
|
|
4191
4191
|
function Me({ visible: e = !0, features: r = 0, ourProps: n, theirProps: l, ...o }) {
|
|
4192
4192
|
var a;
|
|
4193
|
-
let s =
|
|
4193
|
+
let s = ui(l, n), i = Object.assign(o, { props: s });
|
|
4194
4194
|
if (e || r & 2 && s.static)
|
|
4195
4195
|
return _n(i);
|
|
4196
4196
|
if (r & 1) {
|
|
@@ -4215,7 +4215,7 @@ function _n({ props: e, attrs: r, slots: n, slot: l, name: o }) {
|
|
|
4215
4215
|
if (s === "template") {
|
|
4216
4216
|
if (p = yo(p != null ? p : []), Object.keys(i).length > 0 || Object.keys(r).length > 0) {
|
|
4217
4217
|
let [y, ...g] = p != null ? p : [];
|
|
4218
|
-
if (!
|
|
4218
|
+
if (!di(y) || g.length > 0)
|
|
4219
4219
|
throw new Error(['Passing props on "template"!', "", `The current component <${o} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(i).concat(Object.keys(r)).sort((I, T) => I.localeCompare(T)).map((I) => ` - ${I}`).join(`
|
|
4220
4220
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((I) => ` - ${I}`).join(`
|
|
4221
4221
|
`)].join(`
|
|
@@ -4229,7 +4229,7 @@ function _n({ props: e, attrs: r, slots: n, slot: l, name: o }) {
|
|
|
4229
4229
|
function yo(e) {
|
|
4230
4230
|
return e.flatMap((r) => r.type === fe ? yo(r.children) : [r]);
|
|
4231
4231
|
}
|
|
4232
|
-
function
|
|
4232
|
+
function ui(...e) {
|
|
4233
4233
|
if (e.length === 0)
|
|
4234
4234
|
return {};
|
|
4235
4235
|
if (e.length === 1)
|
|
@@ -4251,7 +4251,7 @@ function ii(...e) {
|
|
|
4251
4251
|
} });
|
|
4252
4252
|
return r;
|
|
4253
4253
|
}
|
|
4254
|
-
function
|
|
4254
|
+
function ci(e) {
|
|
4255
4255
|
let r = Object.assign({}, e);
|
|
4256
4256
|
for (let n in r)
|
|
4257
4257
|
r[n] === void 0 && delete r[n];
|
|
@@ -4263,22 +4263,22 @@ function ur(e, r = []) {
|
|
|
4263
4263
|
l in n && delete n[l];
|
|
4264
4264
|
return n;
|
|
4265
4265
|
}
|
|
4266
|
-
function
|
|
4266
|
+
function di(e) {
|
|
4267
4267
|
return e == null ? !1 : typeof e.type == "string" || typeof e.type == "object" || typeof e.type == "function";
|
|
4268
4268
|
}
|
|
4269
|
-
let
|
|
4270
|
-
function
|
|
4271
|
-
return ++
|
|
4269
|
+
let fi = 0;
|
|
4270
|
+
function mi() {
|
|
4271
|
+
return ++fi;
|
|
4272
4272
|
}
|
|
4273
4273
|
function Ye() {
|
|
4274
|
-
return
|
|
4274
|
+
return mi();
|
|
4275
4275
|
}
|
|
4276
4276
|
var Le = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Le || {});
|
|
4277
|
-
function
|
|
4277
|
+
function pi(e) {
|
|
4278
4278
|
throw new Error("Unexpected object: " + e);
|
|
4279
4279
|
}
|
|
4280
4280
|
var Ke = ((e) => (e[e.First = 0] = "First", e[e.Previous = 1] = "Previous", e[e.Next = 2] = "Next", e[e.Last = 3] = "Last", e[e.Specific = 4] = "Specific", e[e.Nothing = 5] = "Nothing", e))(Ke || {});
|
|
4281
|
-
function
|
|
4281
|
+
function hi(e, r) {
|
|
4282
4282
|
let n = r.resolveItems();
|
|
4283
4283
|
if (n.length <= 0)
|
|
4284
4284
|
return null;
|
|
@@ -4301,7 +4301,7 @@ function pi(e, r) {
|
|
|
4301
4301
|
case 5:
|
|
4302
4302
|
return null;
|
|
4303
4303
|
default:
|
|
4304
|
-
|
|
4304
|
+
pi(e);
|
|
4305
4305
|
}
|
|
4306
4306
|
})();
|
|
4307
4307
|
return a === -1 ? l : a;
|
|
@@ -4312,7 +4312,7 @@ function we(e) {
|
|
|
4312
4312
|
}
|
|
4313
4313
|
let bo = Symbol("Context");
|
|
4314
4314
|
var tt = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(tt || {});
|
|
4315
|
-
function
|
|
4315
|
+
function vi() {
|
|
4316
4316
|
return gn() !== null;
|
|
4317
4317
|
}
|
|
4318
4318
|
function gn() {
|
|
@@ -4350,7 +4350,7 @@ function pt(e) {
|
|
|
4350
4350
|
}
|
|
4351
4351
|
return document;
|
|
4352
4352
|
}
|
|
4353
|
-
function
|
|
4353
|
+
function gi({ container: e, accept: r, walk: n, enabled: l }) {
|
|
4354
4354
|
Ue(() => {
|
|
4355
4355
|
let o = e.value;
|
|
4356
4356
|
if (!o || l !== void 0 && !l.value)
|
|
@@ -4364,7 +4364,7 @@ function vi({ container: e, accept: r, walk: n, enabled: l }) {
|
|
|
4364
4364
|
});
|
|
4365
4365
|
}
|
|
4366
4366
|
let Nn = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
|
4367
|
-
var wt = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(wt || {}), ko = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(ko || {}),
|
|
4367
|
+
var wt = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(wt || {}), ko = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(ko || {}), yi = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(yi || {});
|
|
4368
4368
|
function So(e = document.body) {
|
|
4369
4369
|
return e == null ? [] : Array.from(e.querySelectorAll(Nn));
|
|
4370
4370
|
}
|
|
@@ -4385,17 +4385,17 @@ function dr(e, r = 0) {
|
|
|
4385
4385
|
}
|
|
4386
4386
|
function $o(e) {
|
|
4387
4387
|
let r = pt(e);
|
|
4388
|
-
|
|
4388
|
+
Ve(() => {
|
|
4389
4389
|
r && !dr(r.activeElement, 0) && $t(e);
|
|
4390
4390
|
});
|
|
4391
4391
|
}
|
|
4392
4392
|
function $t(e) {
|
|
4393
4393
|
e == null || e.focus({ preventScroll: !0 });
|
|
4394
4394
|
}
|
|
4395
|
-
let
|
|
4396
|
-
function
|
|
4395
|
+
let bi = ["textarea", "input"].join(",");
|
|
4396
|
+
function wi(e) {
|
|
4397
4397
|
var r, n;
|
|
4398
|
-
return (n = (r = e == null ? void 0 : e.matches) == null ? void 0 : r.call(e,
|
|
4398
|
+
return (n = (r = e == null ? void 0 : e.matches) == null ? void 0 : r.call(e, bi)) != null ? n : !1;
|
|
4399
4399
|
}
|
|
4400
4400
|
function Bo(e, r = (n) => n) {
|
|
4401
4401
|
return e.slice().sort((n, l) => {
|
|
@@ -4406,7 +4406,7 @@ function Bo(e, r = (n) => n) {
|
|
|
4406
4406
|
return s & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : s & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
|
|
4407
4407
|
});
|
|
4408
4408
|
}
|
|
4409
|
-
function
|
|
4409
|
+
function xi(e, r) {
|
|
4410
4410
|
return an(So(), r, !0, e);
|
|
4411
4411
|
}
|
|
4412
4412
|
function an(e, r, n = !0, l = null) {
|
|
@@ -4444,7 +4444,7 @@ function an(e, r, n = !0, l = null) {
|
|
|
4444
4444
|
}
|
|
4445
4445
|
I = s[T], I == null || I.focus(f), y += i;
|
|
4446
4446
|
} while (I !== a.activeElement);
|
|
4447
|
-
return r & 6 &&
|
|
4447
|
+
return r & 6 && wi(I) && I.select(), I.hasAttribute("tabindex") || I.setAttribute("tabindex", "0"), 2;
|
|
4448
4448
|
}
|
|
4449
4449
|
function Cn(e, r, n) {
|
|
4450
4450
|
yn || Ue((l) => {
|
|
@@ -4485,7 +4485,7 @@ let sn = K({ name: "Hidden", props: { as: { type: [Object, String], default: "di
|
|
|
4485
4485
|
return Me({ ourProps: a, theirProps: o, slot: {}, attrs: n, slots: r, name: "Hidden" });
|
|
4486
4486
|
};
|
|
4487
4487
|
} });
|
|
4488
|
-
function
|
|
4488
|
+
function ki(e) {
|
|
4489
4489
|
var r;
|
|
4490
4490
|
let n = (r = e == null ? void 0 : e.form) != null ? r : e.closest("form");
|
|
4491
4491
|
if (n) {
|
|
@@ -4496,21 +4496,21 @@ function xi(e) {
|
|
|
4496
4496
|
}
|
|
4497
4497
|
}
|
|
4498
4498
|
}
|
|
4499
|
-
function
|
|
4499
|
+
function Si(e, r, n) {
|
|
4500
4500
|
let l = N(n == null ? void 0 : n.value), o = A(() => e.value !== void 0);
|
|
4501
4501
|
return [A(() => o.value ? e.value : l.value), function(a) {
|
|
4502
4502
|
return o.value || (l.value = a), r == null ? void 0 : r(a);
|
|
4503
4503
|
}];
|
|
4504
4504
|
}
|
|
4505
|
-
function
|
|
4505
|
+
function $i(e, r, n) {
|
|
4506
4506
|
yn || Ue((l) => {
|
|
4507
4507
|
window.addEventListener(e, r, n), l(() => window.removeEventListener(e, r, n));
|
|
4508
4508
|
});
|
|
4509
4509
|
}
|
|
4510
4510
|
var qn = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(qn || {});
|
|
4511
|
-
function
|
|
4511
|
+
function Bi() {
|
|
4512
4512
|
let e = N(0);
|
|
4513
|
-
return
|
|
4513
|
+
return $i("keydown", (r) => {
|
|
4514
4514
|
r.key === "Tab" && (e.value = r.shiftKey ? 1 : 0);
|
|
4515
4515
|
}), e;
|
|
4516
4516
|
}
|
|
@@ -4519,7 +4519,7 @@ function Co(e, r, n, l) {
|
|
|
4519
4519
|
e = e != null ? e : window, e.addEventListener(r, n, l), o(() => e.removeEventListener(r, n, l));
|
|
4520
4520
|
});
|
|
4521
4521
|
}
|
|
4522
|
-
function
|
|
4522
|
+
function _i(e) {
|
|
4523
4523
|
typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((r) => setTimeout(() => {
|
|
4524
4524
|
throw r;
|
|
4525
4525
|
}));
|
|
@@ -4529,10 +4529,10 @@ let At = Object.assign(K({ name: "FocusTrap", props: { as: { type: [Object, Stri
|
|
|
4529
4529
|
let o = N(null);
|
|
4530
4530
|
l({ el: o, $el: o });
|
|
4531
4531
|
let a = A(() => pt(o));
|
|
4532
|
-
|
|
4533
|
-
let s =
|
|
4534
|
-
|
|
4535
|
-
let i =
|
|
4532
|
+
Ci({ ownerDocument: a }, A(() => Boolean(e.features & 16)));
|
|
4533
|
+
let s = Ii({ ownerDocument: a, container: o, initialFocus: A(() => e.initialFocus) }, A(() => Boolean(e.features & 2)));
|
|
4534
|
+
Ei({ ownerDocument: a, container: o, containers: e.containers, previousActiveElement: s }, A(() => Boolean(e.features & 8)));
|
|
4535
|
+
let i = Bi();
|
|
4536
4536
|
function p() {
|
|
4537
4537
|
let f = we(o);
|
|
4538
4538
|
!f || Qe(i.value, { [qn.Forwards]: () => an(f, wt.First), [qn.Backwards]: () => an(f, wt.Last) });
|
|
@@ -4542,7 +4542,7 @@ let At = Object.assign(K({ name: "FocusTrap", props: { as: { type: [Object, Stri
|
|
|
4542
4542
|
return Ee(fe, [Boolean(g & 4) && Ee(sn, { as: "button", type: "button", onFocus: p, features: Dt.Focusable }), Me({ ourProps: y, theirProps: { ...r, ...S }, slot: f, attrs: r, slots: n, name: "FocusTrap" }), Boolean(g & 4) && Ee(sn, { as: "button", type: "button", onFocus: p, features: Dt.Focusable })]);
|
|
4543
4543
|
};
|
|
4544
4544
|
} }), { features: Io });
|
|
4545
|
-
function
|
|
4545
|
+
function Ci({ ownerDocument: e }, r) {
|
|
4546
4546
|
let n = N(null);
|
|
4547
4547
|
function l() {
|
|
4548
4548
|
var a;
|
|
@@ -4557,14 +4557,14 @@ function _i({ ownerDocument: e }, r) {
|
|
|
4557
4557
|
}, { immediate: !0 });
|
|
4558
4558
|
}), nt(o);
|
|
4559
4559
|
}
|
|
4560
|
-
function
|
|
4560
|
+
function Ii({ ownerDocument: e, container: r, initialFocus: n }, l) {
|
|
4561
4561
|
let o = N(null), a = N(!1);
|
|
4562
4562
|
return ge(() => a.value = !0), nt(() => a.value = !1), ge(() => {
|
|
4563
4563
|
Ae([r, n, l], (s, i) => {
|
|
4564
4564
|
if (s.every((f, y) => (i == null ? void 0 : i[y]) === f) || !l.value)
|
|
4565
4565
|
return;
|
|
4566
4566
|
let p = we(r);
|
|
4567
|
-
!p ||
|
|
4567
|
+
!p || _i(() => {
|
|
4568
4568
|
var f, y;
|
|
4569
4569
|
if (!a.value)
|
|
4570
4570
|
return;
|
|
@@ -4583,7 +4583,7 @@ function Ci({ ownerDocument: e, container: r, initialFocus: n }, l) {
|
|
|
4583
4583
|
}, { immediate: !0, flush: "post" });
|
|
4584
4584
|
}), o;
|
|
4585
4585
|
}
|
|
4586
|
-
function
|
|
4586
|
+
function Ei({ ownerDocument: e, container: r, containers: n, previousActiveElement: l }, o) {
|
|
4587
4587
|
var a;
|
|
4588
4588
|
Co((a = e.value) == null ? void 0 : a.defaultView, "focus", (s) => {
|
|
4589
4589
|
if (!o.value)
|
|
@@ -4594,10 +4594,10 @@ function Ii({ ownerDocument: e, container: r, containers: n, previousActiveEleme
|
|
|
4594
4594
|
if (!p)
|
|
4595
4595
|
return;
|
|
4596
4596
|
let f = s.target;
|
|
4597
|
-
f && f instanceof HTMLElement ?
|
|
4597
|
+
f && f instanceof HTMLElement ? Ai(i, f) ? (l.value = f, $t(f)) : (s.preventDefault(), s.stopPropagation(), $t(p)) : $t(l.value);
|
|
4598
4598
|
}, !0);
|
|
4599
4599
|
}
|
|
4600
|
-
function
|
|
4600
|
+
function Ai(e, r) {
|
|
4601
4601
|
var n;
|
|
4602
4602
|
for (let l of e)
|
|
4603
4603
|
if ((n = l.value) != null && n.contains(r))
|
|
@@ -4612,7 +4612,7 @@ function Pr(e) {
|
|
|
4612
4612
|
let r = ct.get(e);
|
|
4613
4613
|
!r || (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert);
|
|
4614
4614
|
}
|
|
4615
|
-
function
|
|
4615
|
+
function Ti(e, r = N(!0)) {
|
|
4616
4616
|
Ue((n) => {
|
|
4617
4617
|
if (!r.value || !e.value)
|
|
4618
4618
|
return;
|
|
@@ -4646,7 +4646,7 @@ function Ai(e, r = N(!0)) {
|
|
|
4646
4646
|
});
|
|
4647
4647
|
}
|
|
4648
4648
|
let Eo = Symbol("ForcePortalRootContext");
|
|
4649
|
-
function
|
|
4649
|
+
function Li() {
|
|
4650
4650
|
return be(Eo, !1);
|
|
4651
4651
|
}
|
|
4652
4652
|
let Rn = K({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: r, attrs: n }) {
|
|
@@ -4655,7 +4655,7 @@ let Rn = K({ name: "ForcePortalRoot", props: { as: { type: [Object, String], def
|
|
|
4655
4655
|
return Me({ theirProps: o, ourProps: {}, slot: {}, slots: r, attrs: n, name: "ForcePortalRoot" });
|
|
4656
4656
|
};
|
|
4657
4657
|
} });
|
|
4658
|
-
function
|
|
4658
|
+
function Mi(e) {
|
|
4659
4659
|
let r = pt(e);
|
|
4660
4660
|
if (!r) {
|
|
4661
4661
|
if (e === null)
|
|
@@ -4669,7 +4669,7 @@ function Li(e) {
|
|
|
4669
4669
|
return l.setAttribute("id", "headlessui-portal-root"), r.body.appendChild(l);
|
|
4670
4670
|
}
|
|
4671
4671
|
let Ao = K({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: r, attrs: n }) {
|
|
4672
|
-
let l = N(null), o = A(() => pt(l)), a =
|
|
4672
|
+
let l = N(null), o = A(() => pt(l)), a = Li(), s = be(To, null), i = N(a === !0 || s == null ? Mi(l.value) : s.resolveTarget());
|
|
4673
4673
|
return Ue(() => {
|
|
4674
4674
|
a || s != null && (i.value = s.resolveTarget());
|
|
4675
4675
|
}), nt(() => {
|
|
@@ -4682,7 +4682,7 @@ let Ao = K({ name: "Portal", props: { as: { type: [Object, String], default: "di
|
|
|
4682
4682
|
let p = { ref: l, "data-headlessui-portal": "" };
|
|
4683
4683
|
return Ee(Pt, { to: i.value }, Me({ ourProps: p, theirProps: e, slot: {}, attrs: n, slots: r, name: "Portal" }));
|
|
4684
4684
|
};
|
|
4685
|
-
} }), To = Symbol("PortalGroupContext"),
|
|
4685
|
+
} }), To = Symbol("PortalGroupContext"), Oi = K({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(e, { attrs: r, slots: n }) {
|
|
4686
4686
|
let l = $l({ resolveTarget() {
|
|
4687
4687
|
return e.target;
|
|
4688
4688
|
} });
|
|
@@ -4692,12 +4692,12 @@ let Ao = K({ name: "Portal", props: { as: { type: [Object, String], default: "di
|
|
|
4692
4692
|
};
|
|
4693
4693
|
} }), Lo = Symbol("StackContext");
|
|
4694
4694
|
var Un = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(Un || {});
|
|
4695
|
-
function
|
|
4695
|
+
function ji() {
|
|
4696
4696
|
return be(Lo, () => {
|
|
4697
4697
|
});
|
|
4698
4698
|
}
|
|
4699
|
-
function
|
|
4700
|
-
let o =
|
|
4699
|
+
function Fi({ type: e, enabled: r, element: n, onUpdate: l }) {
|
|
4700
|
+
let o = ji();
|
|
4701
4701
|
function a(...s) {
|
|
4702
4702
|
l == null || l(...s), o(...s);
|
|
4703
4703
|
}
|
|
@@ -4710,7 +4710,7 @@ function ji({ type: e, enabled: r, element: n, onUpdate: l }) {
|
|
|
4710
4710
|
}), pe(Lo, a);
|
|
4711
4711
|
}
|
|
4712
4712
|
let Mo = Symbol("DescriptionContext");
|
|
4713
|
-
function
|
|
4713
|
+
function Di() {
|
|
4714
4714
|
let e = be(Mo, null);
|
|
4715
4715
|
if (e === null)
|
|
4716
4716
|
throw new Error("Missing parent");
|
|
@@ -4726,8 +4726,8 @@ function Oo({ slot: e = N({}), name: r = "Description", props: n = {} } = {}) {
|
|
|
4726
4726
|
}
|
|
4727
4727
|
return pe(Mo, { register: o, slot: e, name: r, props: n }), A(() => l.value.length > 0 ? l.value.join(" ") : void 0);
|
|
4728
4728
|
}
|
|
4729
|
-
let
|
|
4730
|
-
let l =
|
|
4729
|
+
let xh = K({ name: "Description", props: { as: { type: [Object, String], default: "p" } }, setup(e, { attrs: r, slots: n }) {
|
|
4730
|
+
let l = Di(), o = `headlessui-description-${Ye()}`;
|
|
4731
4731
|
return ge(() => nt(l.register(o))), () => {
|
|
4732
4732
|
let { name: a = "Description", slot: s = N({}), props: i = {} } = l, p = e, f = { ...Object.entries(i).reduce((y, [g, I]) => Object.assign(y, { [g]: h(I) }), {}), id: o };
|
|
4733
4733
|
return Me({ ourProps: f, theirProps: p, slot: s.value, attrs: r, slots: n, name: a });
|
|
@@ -4759,10 +4759,10 @@ function fr() {
|
|
|
4759
4759
|
} };
|
|
4760
4760
|
return n;
|
|
4761
4761
|
}
|
|
4762
|
-
function
|
|
4762
|
+
function Pi() {
|
|
4763
4763
|
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
4764
4764
|
}
|
|
4765
|
-
var
|
|
4765
|
+
var Vi = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Vi || {});
|
|
4766
4766
|
let zn = Symbol("DialogContext");
|
|
4767
4767
|
function qt(e) {
|
|
4768
4768
|
let r = be(zn, null);
|
|
@@ -4772,7 +4772,7 @@ function qt(e) {
|
|
|
4772
4772
|
}
|
|
4773
4773
|
return r;
|
|
4774
4774
|
}
|
|
4775
|
-
let Gt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4",
|
|
4775
|
+
let Gt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ni = K({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: Gt }, initialFocus: { type: Object, default: null } }, emits: { close: (e) => !0 }, setup(e, { emit: r, attrs: n, slots: l, expose: o }) {
|
|
4776
4776
|
var a;
|
|
4777
4777
|
let s = N(!1);
|
|
4778
4778
|
ge(() => {
|
|
@@ -4784,7 +4784,7 @@ let Gt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Vi = K({ name: "Dialog", inheri
|
|
|
4784
4784
|
if (typeof f.value != "boolean")
|
|
4785
4785
|
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${f.value === Gt ? void 0 : e.open}`);
|
|
4786
4786
|
let S = A(() => s.value && f.value ? 0 : 1), M = A(() => S.value === 0), w = A(() => i.value > 1), E = be(zn, null) !== null, t = A(() => w.value ? "parent" : "leaf");
|
|
4787
|
-
|
|
4787
|
+
Ti(g, A(() => w.value ? M.value : !1)), Fi({ type: "Dialog", enabled: A(() => S.value === 0), element: g, onUpdate: ($, u, m) => {
|
|
4788
4788
|
if (u === "Dialog")
|
|
4789
4789
|
return Qe($, { [Un.Add]() {
|
|
4790
4790
|
y.value.add(m), i.value += 1;
|
|
@@ -4801,7 +4801,7 @@ let Gt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Vi = K({ name: "Dialog", inheri
|
|
|
4801
4801
|
var $, u, m;
|
|
4802
4802
|
return [...Array.from((u = ($ = T.value) == null ? void 0 : $.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? u : []).filter((d) => !(!(d instanceof HTMLElement) || d.contains(we(I)) || x.panelRef.value && d.contains(x.panelRef.value))), (m = x.panelRef.value) != null ? m : g.value];
|
|
4803
4803
|
}, ($, u) => {
|
|
4804
|
-
x.close(),
|
|
4804
|
+
x.close(), Ve(() => u == null ? void 0 : u.focus());
|
|
4805
4805
|
}, A(() => S.value === 0 && !w.value)), Co((a = T.value) == null ? void 0 : a.defaultView, "keydown", ($) => {
|
|
4806
4806
|
$.defaultPrevented || $.key === Le.Escape && S.value === 0 && (w.value || ($.preventDefault(), $.stopPropagation(), x.close()));
|
|
4807
4807
|
}), Ue(($) => {
|
|
@@ -4823,7 +4823,7 @@ let Gt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Vi = K({ name: "Dialog", inheri
|
|
|
4823
4823
|
let J = j.clientWidth - j.offsetWidth, te = re - J;
|
|
4824
4824
|
C(j, "paddingRight", `${te}px`);
|
|
4825
4825
|
}
|
|
4826
|
-
if (
|
|
4826
|
+
if (Pi()) {
|
|
4827
4827
|
let J = window.pageYOffset;
|
|
4828
4828
|
C(j, "position", "fixed"), C(j, "marginTop", `-${J}px`), C(j, "width", "100%"), d.add(() => window.scrollTo(0, J));
|
|
4829
4829
|
}
|
|
@@ -4841,7 +4841,7 @@ let Gt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Vi = K({ name: "Dialog", inheri
|
|
|
4841
4841
|
m.observe(u), $(() => m.disconnect());
|
|
4842
4842
|
}), () => {
|
|
4843
4843
|
let $ = { ...n, ref: g, id: D, role: "dialog", "aria-modal": S.value === 0 ? !0 : void 0, "aria-labelledby": U.value, "aria-describedby": O.value }, { open: u, initialFocus: m, ...d } = e, C = { open: S.value === 0 };
|
|
4844
|
-
return Ee(Rn, { force: !0 }, () => [Ee(Ao, () => Ee(
|
|
4844
|
+
return Ee(Rn, { force: !0 }, () => [Ee(Ao, () => Ee(Oi, { target: g.value }, () => Ee(Rn, { force: !1 }, () => Ee(At, { initialFocus: m, containers: y, features: M.value ? Qe(t.value, { parent: At.features.RestoreFocus, leaf: At.features.All & ~At.features.FocusLock }) : At.features.None }, () => Me({ ourProps: $, theirProps: d, slot: C, attrs: n, slots: l, visible: S.value === 0, features: _t.RenderStrategy | _t.Static, name: "Dialog" }))))), Ee(sn, { features: Dt.Hidden, ref: I })]);
|
|
4845
4845
|
};
|
|
4846
4846
|
} });
|
|
4847
4847
|
K({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: r, slots: n }) {
|
|
@@ -4861,7 +4861,7 @@ K({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div
|
|
|
4861
4861
|
return Ee(Rn, { force: !0 }, () => Ee(Ao, () => Me({ ourProps: p, theirProps: { ...r, ...i }, slot: { open: o.dialogState.value === 0 }, attrs: r, slots: n, name: "DialogBackdrop" })));
|
|
4862
4862
|
};
|
|
4863
4863
|
} });
|
|
4864
|
-
let
|
|
4864
|
+
let qi = K({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: r, slots: n, expose: l }) {
|
|
4865
4865
|
let o = qt("DialogPanel"), a = `headlessui-dialog-panel-${Ye()}`;
|
|
4866
4866
|
l({ el: o.panelRef, $el: o.panelRef });
|
|
4867
4867
|
function s(i) {
|
|
@@ -4878,8 +4878,8 @@ K({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }
|
|
|
4878
4878
|
l.setTitleId(o), nt(() => l.setTitleId(null));
|
|
4879
4879
|
}), () => Me({ ourProps: { id: o }, theirProps: e, slot: { open: l.dialogState.value === 0 }, attrs: r, slots: n, name: "DialogTitle" });
|
|
4880
4880
|
} });
|
|
4881
|
-
var
|
|
4882
|
-
function
|
|
4881
|
+
var Ri = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Ri || {}), Ui = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(Ui || {});
|
|
4882
|
+
function zi(e) {
|
|
4883
4883
|
requestAnimationFrame(() => requestAnimationFrame(e));
|
|
4884
4884
|
}
|
|
4885
4885
|
let jo = Symbol("MenuContext");
|
|
@@ -4891,7 +4891,7 @@ function bn(e) {
|
|
|
4891
4891
|
}
|
|
4892
4892
|
return r;
|
|
4893
4893
|
}
|
|
4894
|
-
let
|
|
4894
|
+
let Hi = K({ name: "Menu", props: { as: { type: [Object, String], default: "template" } }, setup(e, { slots: r, attrs: n }) {
|
|
4895
4895
|
let l = N(1), o = N(null), a = N(null), s = N([]), i = N(""), p = N(null), f = N(1);
|
|
4896
4896
|
function y(I = (T) => T) {
|
|
4897
4897
|
let T = p.value !== null ? s.value[p.value] : null, S = Bo(I(s.value.slice()), (w) => we(w.dataRef.domRef)), M = T ? S.indexOf(T) : null;
|
|
@@ -4900,7 +4900,7 @@ let zi = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
|
|
|
4900
4900
|
let g = { menuState: l, buttonRef: o, itemsRef: a, items: s, searchQuery: i, activeItemIndex: p, activationTrigger: f, closeMenu: () => {
|
|
4901
4901
|
l.value = 1, p.value = null;
|
|
4902
4902
|
}, openMenu: () => l.value = 0, goToItem(I, T, S) {
|
|
4903
|
-
let M = y(), w =
|
|
4903
|
+
let M = y(), w = hi(I === Ke.Specific ? { focus: Ke.Specific, id: T } : { focus: I }, { resolveItems: () => M.items, resolveActiveIndex: () => M.activeItemIndex, resolveId: (E) => E.id, resolveDisabled: (E) => E.dataRef.disabled });
|
|
4904
4904
|
i.value = "", p.value = w, f.value = S != null ? S : 1, s.value = M.items;
|
|
4905
4905
|
}, search(I) {
|
|
4906
4906
|
let T = i.value !== "" ? 0 : 1;
|
|
@@ -4926,7 +4926,7 @@ let zi = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
|
|
|
4926
4926
|
let I = { open: l.value === 0, close: g.closeMenu };
|
|
4927
4927
|
return Me({ ourProps: {}, theirProps: e, slot: I, slots: r, attrs: n, name: "Menu" });
|
|
4928
4928
|
};
|
|
4929
|
-
} }),
|
|
4929
|
+
} }), Ki = K({ name: "MenuButton", props: { disabled: { type: Boolean, default: !1 }, as: { type: [Object, String], default: "button" } }, setup(e, { attrs: r, slots: n, expose: l }) {
|
|
4930
4930
|
let o = bn("MenuButton"), a = `headlessui-menu-button-${Ye()}`;
|
|
4931
4931
|
l({ el: o.buttonRef, $el: o.buttonRef });
|
|
4932
4932
|
function s(y) {
|
|
@@ -4934,13 +4934,13 @@ let zi = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
|
|
|
4934
4934
|
case Le.Space:
|
|
4935
4935
|
case Le.Enter:
|
|
4936
4936
|
case Le.ArrowDown:
|
|
4937
|
-
y.preventDefault(), y.stopPropagation(), o.openMenu(),
|
|
4937
|
+
y.preventDefault(), y.stopPropagation(), o.openMenu(), Ve(() => {
|
|
4938
4938
|
var g;
|
|
4939
4939
|
(g = we(o.itemsRef)) == null || g.focus({ preventScroll: !0 }), o.goToItem(Ke.First);
|
|
4940
4940
|
});
|
|
4941
4941
|
break;
|
|
4942
4942
|
case Le.ArrowUp:
|
|
4943
|
-
y.preventDefault(), y.stopPropagation(), o.openMenu(),
|
|
4943
|
+
y.preventDefault(), y.stopPropagation(), o.openMenu(), Ve(() => {
|
|
4944
4944
|
var g;
|
|
4945
4945
|
(g = we(o.itemsRef)) == null || g.focus({ preventScroll: !0 }), o.goToItem(Ke.Last);
|
|
4946
4946
|
});
|
|
@@ -4955,10 +4955,10 @@ let zi = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
|
|
|
4955
4955
|
}
|
|
4956
4956
|
}
|
|
4957
4957
|
function p(y) {
|
|
4958
|
-
e.disabled || (o.menuState.value === 0 ? (o.closeMenu(),
|
|
4958
|
+
e.disabled || (o.menuState.value === 0 ? (o.closeMenu(), Ve(() => {
|
|
4959
4959
|
var g;
|
|
4960
4960
|
return (g = we(o.buttonRef)) == null ? void 0 : g.focus({ preventScroll: !0 });
|
|
4961
|
-
})) : (y.preventDefault(), o.openMenu(),
|
|
4961
|
+
})) : (y.preventDefault(), o.openMenu(), zi(() => {
|
|
4962
4962
|
var g;
|
|
4963
4963
|
return (g = we(o.itemsRef)) == null ? void 0 : g.focus({ preventScroll: !0 });
|
|
4964
4964
|
})));
|
|
@@ -4969,9 +4969,9 @@ let zi = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
|
|
|
4969
4969
|
let g = { open: o.menuState.value === 0 }, I = { ref: o.buttonRef, id: a, type: f.value, "aria-haspopup": !0, "aria-controls": (y = we(o.itemsRef)) == null ? void 0 : y.id, "aria-expanded": e.disabled ? void 0 : o.menuState.value === 0, onKeydown: s, onKeyup: i, onClick: p };
|
|
4970
4970
|
return Me({ ourProps: I, theirProps: e, slot: g, attrs: r, slots: n, name: "MenuButton" });
|
|
4971
4971
|
};
|
|
4972
|
-
} }),
|
|
4972
|
+
} }), Gi = K({ name: "MenuItems", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 } }, setup(e, { attrs: r, slots: n, expose: l }) {
|
|
4973
4973
|
let o = bn("MenuItems"), a = `headlessui-menu-items-${Ye()}`, s = N(null);
|
|
4974
|
-
l({ el: o.itemsRef, $el: o.itemsRef }),
|
|
4974
|
+
l({ el: o.itemsRef, $el: o.itemsRef }), gi({ container: A(() => we(o.itemsRef)), enabled: A(() => o.menuState.value === 0), accept(g) {
|
|
4975
4975
|
return g.getAttribute("role") === "menuitem" ? NodeFilter.FILTER_REJECT : g.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
|
4976
4976
|
}, walk(g) {
|
|
4977
4977
|
g.setAttribute("role", "none");
|
|
@@ -5000,13 +5000,13 @@ let zi = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
|
|
|
5000
5000
|
case Le.PageDown:
|
|
5001
5001
|
return g.preventDefault(), g.stopPropagation(), o.goToItem(Ke.Last);
|
|
5002
5002
|
case Le.Escape:
|
|
5003
|
-
g.preventDefault(), g.stopPropagation(), o.closeMenu(),
|
|
5003
|
+
g.preventDefault(), g.stopPropagation(), o.closeMenu(), Ve(() => {
|
|
5004
5004
|
var T;
|
|
5005
5005
|
return (T = we(o.buttonRef)) == null ? void 0 : T.focus({ preventScroll: !0 });
|
|
5006
5006
|
});
|
|
5007
5007
|
break;
|
|
5008
5008
|
case Le.Tab:
|
|
5009
|
-
g.preventDefault(), g.stopPropagation(), o.closeMenu(),
|
|
5009
|
+
g.preventDefault(), g.stopPropagation(), o.closeMenu(), Ve(() => xi(we(o.buttonRef), g.shiftKey ? wt.Previous : wt.Next));
|
|
5010
5010
|
break;
|
|
5011
5011
|
default:
|
|
5012
5012
|
g.key.length === 1 && (o.search(g.key), s.value = setTimeout(() => o.clearSearch(), 350));
|
|
@@ -5035,7 +5035,7 @@ let zi = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
|
|
|
5035
5035
|
let M = (S = (T = we(s)) == null ? void 0 : T.textContent) == null ? void 0 : S.toLowerCase().trim();
|
|
5036
5036
|
M !== void 0 && (p.value.textValue = M);
|
|
5037
5037
|
}), ge(() => o.registerItem(a, p)), nt(() => o.unregisterItem(a)), Ue(() => {
|
|
5038
|
-
o.menuState.value === 0 && (!i.value || o.activationTrigger.value !== 0 &&
|
|
5038
|
+
o.menuState.value === 0 && (!i.value || o.activationTrigger.value !== 0 && Ve(() => {
|
|
5039
5039
|
var T, S;
|
|
5040
5040
|
return (S = (T = we(s)) == null ? void 0 : T.scrollIntoView) == null ? void 0 : S.call(T, { block: "nearest" });
|
|
5041
5041
|
}));
|
|
@@ -5069,7 +5069,7 @@ function Do() {
|
|
|
5069
5069
|
}
|
|
5070
5070
|
return e;
|
|
5071
5071
|
}
|
|
5072
|
-
function
|
|
5072
|
+
function Wi({ slot: e = {}, name: r = "Label", props: n = {} } = {}) {
|
|
5073
5073
|
let l = N([]);
|
|
5074
5074
|
function o(a) {
|
|
5075
5075
|
return l.value.push(a), () => {
|
|
@@ -5079,19 +5079,19 @@ function Gi({ slot: e = {}, name: r = "Label", props: n = {} } = {}) {
|
|
|
5079
5079
|
}
|
|
5080
5080
|
return pe(Fo, { register: o, slot: e, name: r, props: n }), A(() => l.value.length > 0 ? l.value.join(" ") : void 0);
|
|
5081
5081
|
}
|
|
5082
|
-
let
|
|
5082
|
+
let Qi = K({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: !1 } }, setup(e, { slots: r, attrs: n }) {
|
|
5083
5083
|
let l = Do(), o = `headlessui-label-${Ye()}`;
|
|
5084
5084
|
return ge(() => nt(l.register(o))), () => {
|
|
5085
5085
|
let { name: a = "Label", slot: s = {}, props: i = {} } = l, { passive: p, ...f } = e, y = { ...Object.entries(i).reduce((g, [I, T]) => Object.assign(g, { [I]: h(T) }), {}), id: o };
|
|
5086
5086
|
return p && (delete y.onClick, delete f.onClick), Me({ ourProps: y, theirProps: f, slot: s, attrs: n, slots: r, name: a });
|
|
5087
5087
|
};
|
|
5088
|
-
} }), Po = Symbol("GroupContext"),
|
|
5089
|
-
let l = N(null), o =
|
|
5088
|
+
} }), Po = Symbol("GroupContext"), Yi = K({ name: "SwitchGroup", props: { as: { type: [Object, String], default: "template" } }, setup(e, { slots: r, attrs: n }) {
|
|
5089
|
+
let l = N(null), o = Wi({ name: "SwitchLabel", props: { onClick() {
|
|
5090
5090
|
!l.value || (l.value.click(), l.value.focus({ preventScroll: !0 }));
|
|
5091
5091
|
} } }), a = Oo({ name: "SwitchDescription" });
|
|
5092
5092
|
return pe(Po, { switchRef: l, labelledby: o, describedby: a }), () => Me({ theirProps: e, ourProps: {}, slot: {}, slots: r, attrs: n, name: "SwitchGroup" });
|
|
5093
|
-
} }),
|
|
5094
|
-
let a = be(Po, null), s = `headlessui-switch-${Ye()}`, [i, p] =
|
|
5093
|
+
} }), Ji = K({ name: "Switch", emits: { "update:modelValue": (e) => !0 }, props: { as: { type: [Object, String], default: "button" }, modelValue: { type: Boolean, default: void 0 }, defaultChecked: { type: Boolean, default: !1 }, name: { type: String, optional: !0 }, value: { type: String, optional: !0 } }, inheritAttrs: !1, setup(e, { emit: r, attrs: n, slots: l, expose: o }) {
|
|
5094
|
+
let a = be(Po, null), s = `headlessui-switch-${Ye()}`, [i, p] = Si(A(() => e.modelValue), (w) => r("update:modelValue", w), A(() => e.defaultChecked));
|
|
5095
5095
|
function f() {
|
|
5096
5096
|
p(!i.value);
|
|
5097
5097
|
}
|
|
@@ -5101,17 +5101,17 @@ let Wi = K({ name: "Label", props: { as: { type: [Object, String], default: "lab
|
|
|
5101
5101
|
w.preventDefault(), f();
|
|
5102
5102
|
}
|
|
5103
5103
|
function S(w) {
|
|
5104
|
-
w.key === Le.Space ? (w.preventDefault(), f()) : w.key === Le.Enter &&
|
|
5104
|
+
w.key === Le.Space ? (w.preventDefault(), f()) : w.key === Le.Enter && ki(w.currentTarget);
|
|
5105
5105
|
}
|
|
5106
5106
|
function M(w) {
|
|
5107
5107
|
w.preventDefault();
|
|
5108
5108
|
}
|
|
5109
5109
|
return () => {
|
|
5110
5110
|
let { name: w, value: E, ...t } = e, O = { checked: i.value }, D = { id: s, ref: g, role: "switch", type: I.value, tabIndex: 0, "aria-checked": i.value, "aria-labelledby": a == null ? void 0 : a.labelledby.value, "aria-describedby": a == null ? void 0 : a.describedby.value, onClick: T, onKeyup: S, onKeypress: M };
|
|
5111
|
-
return Ee(fe, [w != null && i.value != null ? Ee(sn,
|
|
5111
|
+
return Ee(fe, [w != null && i.value != null ? Ee(sn, ci({ features: Dt.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: i.value, name: w, value: E })) : null, Me({ ourProps: D, theirProps: { ...n, ...ur(t, ["modelValue", "defaultChecked"]) }, slot: O, attrs: n, slots: l, name: "Switch" })]);
|
|
5112
5112
|
};
|
|
5113
|
-
} }),
|
|
5114
|
-
function
|
|
5113
|
+
} }), Zi = Qi;
|
|
5114
|
+
function Xi(e) {
|
|
5115
5115
|
let r = { called: !1 };
|
|
5116
5116
|
return (...n) => {
|
|
5117
5117
|
if (!r.called)
|
|
@@ -5125,7 +5125,7 @@ function Wt(e, ...r) {
|
|
|
5125
5125
|
e && r.length > 0 && e.classList.remove(...r);
|
|
5126
5126
|
}
|
|
5127
5127
|
var Hn = ((e) => (e.Finished = "finished", e.Cancelled = "cancelled", e))(Hn || {});
|
|
5128
|
-
function
|
|
5128
|
+
function eu(e, r) {
|
|
5129
5129
|
let n = fr();
|
|
5130
5130
|
if (!e)
|
|
5131
5131
|
return n.dispose;
|
|
@@ -5136,27 +5136,27 @@ function Xi(e, r) {
|
|
|
5136
5136
|
return a !== 0 ? n.setTimeout(() => r("finished"), a + s) : r("finished"), n.add(() => r("cancelled")), n.dispose;
|
|
5137
5137
|
}
|
|
5138
5138
|
function Vr(e, r, n, l, o, a) {
|
|
5139
|
-
let s = fr(), i = a !== void 0 ?
|
|
5139
|
+
let s = fr(), i = a !== void 0 ? Xi(a) : () => {
|
|
5140
5140
|
};
|
|
5141
5141
|
return Wt(e, ...o), In(e, ...r, ...n), s.nextFrame(() => {
|
|
5142
|
-
Wt(e, ...n), In(e, ...l), s.add(
|
|
5142
|
+
Wt(e, ...n), In(e, ...l), s.add(eu(e, (p) => (Wt(e, ...l, ...r), In(e, ...o), i(p))));
|
|
5143
5143
|
}), s.add(() => Wt(e, ...r, ...n, ...l, ...o)), s.add(() => i("cancelled")), s.dispose;
|
|
5144
5144
|
}
|
|
5145
5145
|
function vt(e = "") {
|
|
5146
5146
|
return e.split(" ").filter((r) => r.trim().length > 1);
|
|
5147
5147
|
}
|
|
5148
5148
|
let mr = Symbol("TransitionContext");
|
|
5149
|
-
var
|
|
5150
|
-
function
|
|
5149
|
+
var tu = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(tu || {});
|
|
5150
|
+
function nu() {
|
|
5151
5151
|
return be(mr, null) !== null;
|
|
5152
5152
|
}
|
|
5153
|
-
function
|
|
5153
|
+
function ru() {
|
|
5154
5154
|
let e = be(mr, null);
|
|
5155
5155
|
if (e === null)
|
|
5156
5156
|
throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
|
|
5157
5157
|
return e;
|
|
5158
5158
|
}
|
|
5159
|
-
function
|
|
5159
|
+
function ou() {
|
|
5160
5160
|
let e = be(pr, null);
|
|
5161
5161
|
if (e === null)
|
|
5162
5162
|
throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
|
|
@@ -5184,11 +5184,11 @@ function Vo(e) {
|
|
|
5184
5184
|
return { children: r, register: o, unregister: l };
|
|
5185
5185
|
}
|
|
5186
5186
|
let No = _t.RenderStrategy, en = K({ props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: r, attrs: n, slots: l, expose: o }) {
|
|
5187
|
-
if (!
|
|
5187
|
+
if (!nu() && vi())
|
|
5188
5188
|
return () => Ee(qo, { ...e, onBeforeEnter: () => r("beforeEnter"), onAfterEnter: () => r("afterEnter"), onBeforeLeave: () => r("beforeLeave"), onAfterLeave: () => r("afterLeave") }, l);
|
|
5189
5189
|
let a = N(null), s = N("visible"), i = A(() => e.unmount ? mt.Unmount : mt.Hidden);
|
|
5190
5190
|
o({ el: a, $el: a });
|
|
5191
|
-
let { show: p, appear: f } =
|
|
5191
|
+
let { show: p, appear: f } = ru(), { register: y, unregister: g } = ou(), I = { value: !0 }, T = Ye(), S = { value: !1 }, M = Vo(() => {
|
|
5192
5192
|
S.value || (s.value = "hidden", g(T), r("afterLeave"));
|
|
5193
5193
|
});
|
|
5194
5194
|
ge(() => {
|
|
@@ -5229,7 +5229,7 @@ let No = _t.RenderStrategy, en = K({ props: { as: { type: [Object, String], defa
|
|
|
5229
5229
|
let { appear: u, show: m, enter: d, enterFrom: C, enterTo: j, entered: re, leave: J, leaveFrom: te, leaveTo: q, ...X } = e;
|
|
5230
5230
|
return Me({ theirProps: X, ourProps: { ref: a }, slot: {}, slots: l, attrs: n, features: No, visible: s.value === "visible", name: "TransitionChild" });
|
|
5231
5231
|
};
|
|
5232
|
-
} }),
|
|
5232
|
+
} }), lu = en, qo = K({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: r, attrs: n, slots: l }) {
|
|
5233
5233
|
let o = gn(), a = A(() => e.show === null && o !== null ? Qe(o.value, { [tt.Open]: !0, [tt.Closed]: !1 }) : e.show);
|
|
5234
5234
|
Ue(() => {
|
|
5235
5235
|
if (![!0, !1].includes(a.value))
|
|
@@ -5244,10 +5244,10 @@ let No = _t.RenderStrategy, en = K({ props: { as: { type: [Object, String], defa
|
|
|
5244
5244
|
});
|
|
5245
5245
|
}), pe(pr, i), pe(mr, f), () => {
|
|
5246
5246
|
let y = ur(e, ["show", "appear", "unmount", "onBeforeEnter", "onBeforeLeave", "onAfterEnter", "onAfterLeave"]), g = { unmount: e.unmount };
|
|
5247
|
-
return Me({ ourProps: { ...g, as: "template" }, theirProps: {}, slot: {}, slots: { ...l, default: () => [Ee(
|
|
5247
|
+
return Me({ ourProps: { ...g, as: "template" }, theirProps: {}, slot: {}, slots: { ...l, default: () => [Ee(lu, { onBeforeEnter: () => r("beforeEnter"), onAfterEnter: () => r("afterEnter"), onBeforeLeave: () => r("beforeLeave"), onAfterLeave: () => r("afterLeave"), ...n, ...g, ...y }, l.default)] }, attrs: {}, features: No, visible: s.value === "visible", name: "Transition" });
|
|
5248
5248
|
};
|
|
5249
5249
|
} });
|
|
5250
|
-
const
|
|
5250
|
+
const au = { class: "flex items-center" }, su = {
|
|
5251
5251
|
key: 0,
|
|
5252
5252
|
class: "relative -top-px ml-[5px]"
|
|
5253
5253
|
}, tn = /* @__PURE__ */ K({
|
|
@@ -5287,7 +5287,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5287
5287
|
return b(), L("div", {
|
|
5288
5288
|
class: R(h(l))
|
|
5289
5289
|
}, [
|
|
5290
|
-
v("div",
|
|
5290
|
+
v("div", au, [
|
|
5291
5291
|
e.icon ? (b(), ee(i, {
|
|
5292
5292
|
key: 0,
|
|
5293
5293
|
icon: e.icon,
|
|
@@ -5295,7 +5295,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5295
5295
|
}, null, 8, ["icon", "class"])) : Q("", !0),
|
|
5296
5296
|
We(" " + W(e.label), 1)
|
|
5297
5297
|
]),
|
|
5298
|
-
e.count ? (b(), L("div",
|
|
5298
|
+
e.count ? (b(), L("div", su, [
|
|
5299
5299
|
z(Nt, {
|
|
5300
5300
|
count: e.count,
|
|
5301
5301
|
"max-digit": 2,
|
|
@@ -5305,7 +5305,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5305
5305
|
], 2);
|
|
5306
5306
|
};
|
|
5307
5307
|
}
|
|
5308
|
-
}),
|
|
5308
|
+
}), iu = {
|
|
5309
5309
|
key: 0,
|
|
5310
5310
|
class: "my-1 -mx-1 flex h-px bg-slate-200"
|
|
5311
5311
|
}, Ct = /* @__PURE__ */ K({
|
|
@@ -5335,13 +5335,13 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5335
5335
|
});
|
|
5336
5336
|
return (l, o) => {
|
|
5337
5337
|
const a = Se("router-link");
|
|
5338
|
-
return b(), ee(h(
|
|
5338
|
+
return b(), ee(h(Hi), {
|
|
5339
5339
|
as: "div",
|
|
5340
5340
|
class: R(["text-left", [e.position == "custom" ? "static" : "relative"]])
|
|
5341
5341
|
}, {
|
|
5342
5342
|
default: H(({ open: s }) => [
|
|
5343
5343
|
v("div", null, [
|
|
5344
|
-
z(h(
|
|
5344
|
+
z(h(Ki), { class: "flex" }, {
|
|
5345
5345
|
default: H(() => [
|
|
5346
5346
|
Y(l.$slots, "button", { open: s })
|
|
5347
5347
|
]),
|
|
@@ -5357,7 +5357,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5357
5357
|
"leave-to-class": "transform scale-95 opacity-0"
|
|
5358
5358
|
}, {
|
|
5359
5359
|
default: H(() => [
|
|
5360
|
-
z(h(
|
|
5360
|
+
z(h(Gi), {
|
|
5361
5361
|
class: R([[e.menuClass, h(n)], "absolute z-menu mt-2 rounded-md bg-white p-1 shadow-lg ring-1 ring-black ring-opacity-10 focus:outline-none"])
|
|
5362
5362
|
}, {
|
|
5363
5363
|
default: H(() => [
|
|
@@ -5365,7 +5365,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5365
5365
|
(b(!0), L(fe, null, ve(e.items, (i) => (b(), L(fe, {
|
|
5366
5366
|
key: i.label + "link"
|
|
5367
5367
|
}, [
|
|
5368
|
-
i.line ? (b(), L("div",
|
|
5368
|
+
i.line ? (b(), L("div", iu)) : i.to ? (b(), ee(a, {
|
|
5369
5369
|
key: 1,
|
|
5370
5370
|
custom: "",
|
|
5371
5371
|
to: i.to
|
|
@@ -5435,13 +5435,13 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5435
5435
|
}, 8, ["class"]);
|
|
5436
5436
|
};
|
|
5437
5437
|
}
|
|
5438
|
-
}),
|
|
5438
|
+
}), uu = { class: "flex grow items-center justify-between" }, cu = { class: "-mt-px flex flex-1" }, du = ["disabled"], fu = ["onClick"], mu = {
|
|
5439
5439
|
key: 0,
|
|
5440
5440
|
class: "mx-3 flex shrink-0 items-center justify-end"
|
|
5441
|
-
},
|
|
5441
|
+
}, pu = { class: "mr-2 text-sm font-normal text-slate-500" }, hu = ["max", "onKeydown"], vu = { class: "ml-2 text-sm font-normal text-slate-500" }, gu = { class: "-mt-px flex flex-1 justify-end" }, yu = ["disabled"], bu = {
|
|
5442
5442
|
key: 0,
|
|
5443
5443
|
class: "mt-3 ml-4 flex shrink-0 items-center justify-end"
|
|
5444
|
-
},
|
|
5444
|
+
}, wu = { class: "mr-3 text-sm font-medium text-slate-500" }, xu = ["max", "onKeydown"], Ro = /* @__PURE__ */ K({
|
|
5445
5445
|
__name: "BasePagination",
|
|
5446
5446
|
props: {
|
|
5447
5447
|
modelValue: {
|
|
@@ -5515,7 +5515,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5515
5515
|
$.preventDefault(), E();
|
|
5516
5516
|
}
|
|
5517
5517
|
function E() {
|
|
5518
|
-
U(l.value),
|
|
5518
|
+
U(l.value), Ve(() => {
|
|
5519
5519
|
l.value = null;
|
|
5520
5520
|
});
|
|
5521
5521
|
}
|
|
@@ -5526,7 +5526,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5526
5526
|
$.preventDefault(), D();
|
|
5527
5527
|
}
|
|
5528
5528
|
function D() {
|
|
5529
|
-
U(o.value), x(o.value) ||
|
|
5529
|
+
U(o.value), x(o.value) || Ve(() => {
|
|
5530
5530
|
o.value = n.modelValue;
|
|
5531
5531
|
});
|
|
5532
5532
|
}
|
|
@@ -5534,17 +5534,17 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5534
5534
|
x($) && r("update:model-value", $);
|
|
5535
5535
|
}
|
|
5536
5536
|
function x($) {
|
|
5537
|
-
return !!(
|
|
5537
|
+
return !!(Ll($) && $ >= 1 && $ <= n.lastPage);
|
|
5538
5538
|
}
|
|
5539
5539
|
return ($, u) => {
|
|
5540
5540
|
const m = Se("BaseIcon");
|
|
5541
|
-
return
|
|
5541
|
+
return Re((b(), L("nav", {
|
|
5542
5542
|
ref_key: "paginationNode",
|
|
5543
5543
|
ref: i,
|
|
5544
5544
|
class: "flex items-start border-t border-slate-200"
|
|
5545
5545
|
}, [
|
|
5546
|
-
v("div",
|
|
5547
|
-
v("div",
|
|
5546
|
+
v("div", uu, [
|
|
5547
|
+
v("div", cu, [
|
|
5548
5548
|
v("button", {
|
|
5549
5549
|
type: "button",
|
|
5550
5550
|
disabled: e.modelValue == 1,
|
|
@@ -5555,7 +5555,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5555
5555
|
class: "mx-2 h-5 w-5 text-slate-400",
|
|
5556
5556
|
icon: "heroicons-solid:chevron-left"
|
|
5557
5557
|
})
|
|
5558
|
-
], 8,
|
|
5558
|
+
], 8, du)
|
|
5559
5559
|
]),
|
|
5560
5560
|
v("div", {
|
|
5561
5561
|
class: R([h(f) ? "hidden" : "-mt-px flex"])
|
|
@@ -5569,11 +5569,11 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5569
5569
|
d != e.modelValue && T(d) ? "hover:border-slate-300 hover:text-slate-700" : ""
|
|
5570
5570
|
]]),
|
|
5571
5571
|
onClick: (j) => S(d)
|
|
5572
|
-
}, W(d), 11,
|
|
5572
|
+
}, W(d), 11, fu))), 128))
|
|
5573
5573
|
], 2),
|
|
5574
|
-
h(f) ? (b(), L("div",
|
|
5575
|
-
v("span",
|
|
5576
|
-
|
|
5574
|
+
h(f) ? (b(), L("div", mu, [
|
|
5575
|
+
v("span", pu, W($.$t("sui.page")), 1),
|
|
5576
|
+
Re(v("input", {
|
|
5577
5577
|
"onUpdate:modelValue": u[1] || (u[1] = (d) => Mt(o) ? o.value = d : null),
|
|
5578
5578
|
type: "number",
|
|
5579
5579
|
min: 1,
|
|
@@ -5583,12 +5583,12 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5583
5583
|
onKeydown: En(O, ["enter"]),
|
|
5584
5584
|
onInput: u[2] || (u[2] = (...d) => h(t) && h(t)(...d)),
|
|
5585
5585
|
onBlur: D
|
|
5586
|
-
}, null, 40,
|
|
5586
|
+
}, null, 40, hu), [
|
|
5587
5587
|
[An, h(o)]
|
|
5588
5588
|
]),
|
|
5589
|
-
v("span",
|
|
5589
|
+
v("span", vu, W($.$t("sui.of")) + " " + W(e.lastPage), 1)
|
|
5590
5590
|
])) : Q("", !0),
|
|
5591
|
-
v("div",
|
|
5591
|
+
v("div", gu, [
|
|
5592
5592
|
v("button", {
|
|
5593
5593
|
disabled: e.modelValue >= e.lastPage,
|
|
5594
5594
|
class: "inline-flex items-center border-t-2 border-transparent px-1 py-4 text-sm font-medium text-slate-500 hover:enabled:border-slate-300 hover:enabled:text-slate-700 disabled:cursor-not-allowed disabled:opacity-60",
|
|
@@ -5598,12 +5598,12 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5598
5598
|
class: "mx-2 h-5 w-5 text-slate-400",
|
|
5599
5599
|
icon: "heroicons-solid:chevron-right"
|
|
5600
5600
|
})
|
|
5601
|
-
], 8,
|
|
5601
|
+
], 8, yu)
|
|
5602
5602
|
])
|
|
5603
5603
|
]),
|
|
5604
|
-
h(f) ? Q("", !0) : (b(), L("div",
|
|
5605
|
-
v("span",
|
|
5606
|
-
|
|
5604
|
+
h(f) ? Q("", !0) : (b(), L("div", bu, [
|
|
5605
|
+
v("span", wu, W($.$t("sui.go_to_page")), 1),
|
|
5606
|
+
Re(v("input", {
|
|
5607
5607
|
"onUpdate:modelValue": u[4] || (u[4] = (d) => Mt(l) ? l.value = d : null),
|
|
5608
5608
|
type: "number",
|
|
5609
5609
|
min: 1,
|
|
@@ -5613,7 +5613,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5613
5613
|
onKeydown: En(w, ["enter"]),
|
|
5614
5614
|
onInput: u[5] || (u[5] = (...d) => h(M) && h(M)(...d)),
|
|
5615
5615
|
onBlur: E
|
|
5616
|
-
}, null, 40,
|
|
5616
|
+
}, null, 40, xu), [
|
|
5617
5617
|
[An, h(l)]
|
|
5618
5618
|
])
|
|
5619
5619
|
]))
|
|
@@ -5623,7 +5623,7 @@ const lu = { class: "flex items-center" }, au = {
|
|
|
5623
5623
|
};
|
|
5624
5624
|
}
|
|
5625
5625
|
});
|
|
5626
|
-
function
|
|
5626
|
+
function ku(e, r) {
|
|
5627
5627
|
let n = "";
|
|
5628
5628
|
r = r || xe.i18n.global.t("sui.and");
|
|
5629
5629
|
for (let l = 0; l < e.length; l++) {
|
|
@@ -5682,18 +5682,18 @@ function Uo(e, r, n) {
|
|
|
5682
5682
|
animationClasses: p
|
|
5683
5683
|
};
|
|
5684
5684
|
}
|
|
5685
|
-
const
|
|
5686
|
-
xs:
|
|
5687
|
-
sm:
|
|
5688
|
-
md:
|
|
5689
|
-
lg:
|
|
5690
|
-
xl:
|
|
5685
|
+
const Su = 411, $u = 640, Bu = 768, _u = 1024, Cu = 1280, zo = {
|
|
5686
|
+
xs: Su,
|
|
5687
|
+
sm: $u,
|
|
5688
|
+
md: Bu,
|
|
5689
|
+
lg: _u,
|
|
5690
|
+
xl: Cu,
|
|
5691
5691
|
"2xl": 1600
|
|
5692
5692
|
};
|
|
5693
5693
|
function Ho() {
|
|
5694
|
-
return
|
|
5694
|
+
return jl(zo);
|
|
5695
5695
|
}
|
|
5696
|
-
const
|
|
5696
|
+
const Iu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Eu = { class: "min-h-full grow" }, Ko = /* @__PURE__ */ K({
|
|
5697
5697
|
__name: "BaseModalSide",
|
|
5698
5698
|
props: {
|
|
5699
5699
|
modelValue: {
|
|
@@ -5729,15 +5729,15 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
5729
5729
|
"leave-active-class": "duration-200"
|
|
5730
5730
|
}, {
|
|
5731
5731
|
default: H(() => [
|
|
5732
|
-
|
|
5732
|
+
Re(v("div", null, [
|
|
5733
5733
|
v("div", {
|
|
5734
5734
|
ref_key: "allow",
|
|
5735
5735
|
ref: l,
|
|
5736
5736
|
class: "fixed inset-0 z-modal w-full overflow-y-auto overflow-x-hidden",
|
|
5737
5737
|
"scroll-lock-target": ""
|
|
5738
5738
|
}, [
|
|
5739
|
-
v("div",
|
|
5740
|
-
v("div",
|
|
5739
|
+
v("div", Iu, [
|
|
5740
|
+
v("div", Eu, [
|
|
5741
5741
|
z(Ge, {
|
|
5742
5742
|
appear: "",
|
|
5743
5743
|
"enter-active-class": "duration-300 ease-out",
|
|
@@ -5748,7 +5748,7 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
5748
5748
|
"leave-to-class": "opacity-0"
|
|
5749
5749
|
}, {
|
|
5750
5750
|
default: H(() => [
|
|
5751
|
-
|
|
5751
|
+
Re(v("div", {
|
|
5752
5752
|
class: R([e.backdropClass, "fixed inset-0 transition-opacity"]),
|
|
5753
5753
|
onClick: p[0] || (p[0] = (y) => e.closeOnOutsideClick ? h(o).close() : h(o).refuseAnimation())
|
|
5754
5754
|
}, null, 2), [
|
|
@@ -5767,7 +5767,7 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
5767
5767
|
"leave-to-class": "translate-x-20 opacity-0"
|
|
5768
5768
|
}, {
|
|
5769
5769
|
default: H(() => [
|
|
5770
|
-
|
|
5770
|
+
Re(v("div", {
|
|
5771
5771
|
style: Pe({
|
|
5772
5772
|
maxWidth: h(s)
|
|
5773
5773
|
}),
|
|
@@ -5804,16 +5804,16 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
5804
5804
|
]);
|
|
5805
5805
|
};
|
|
5806
5806
|
}
|
|
5807
|
-
}),
|
|
5807
|
+
}), Au = { class: "mb-4 flex space-x-2 empty:mb-0" }, Tu = {
|
|
5808
5808
|
key: 0,
|
|
5809
5809
|
class: "grow"
|
|
5810
|
-
},
|
|
5810
|
+
}, Lu = { class: "relative h-11" }, Mu = { class: "pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center pl-2.5" }, Ou = ["placeholder"], ju = {
|
|
5811
5811
|
key: 0,
|
|
5812
5812
|
class: "absolute top-0 right-0 flex h-full items-center justify-center p-1"
|
|
5813
|
-
},
|
|
5813
|
+
}, Fu = { class: "hidden xs:block" }, Du = { class: "mt-5" }, Pu = { class: "text-center text-xs text-slate-400 sm:text-right" }, Vu = { class: "mt-4" }, Nu = {
|
|
5814
5814
|
key: 0,
|
|
5815
5815
|
class: "mb-4"
|
|
5816
|
-
},
|
|
5816
|
+
}, qu = { class: "space-y-3" }, Ru = { class: "px-4 py-5" }, Uu = { class: "mb-4 font-semibold" }, zu = { class: "space-y-3" }, Hu = {
|
|
5817
5817
|
page: 1,
|
|
5818
5818
|
search: "",
|
|
5819
5819
|
sort: "",
|
|
@@ -5831,7 +5831,7 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
5831
5831
|
},
|
|
5832
5832
|
defaultQuery: {
|
|
5833
5833
|
default: function() {
|
|
5834
|
-
return
|
|
5834
|
+
return Hu;
|
|
5835
5835
|
},
|
|
5836
5836
|
type: Object
|
|
5837
5837
|
},
|
|
@@ -5857,7 +5857,7 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
5857
5857
|
"update:query"
|
|
5858
5858
|
],
|
|
5859
5859
|
setup(e, { expose: r }) {
|
|
5860
|
-
const n = e, l = xe.http, o = N(null), a = N(null), s =
|
|
5860
|
+
const n = e, l = xe.http, o = N(null), a = N(null), s = Dl(), i = Pl(), p = s.name, f = N(800);
|
|
5861
5861
|
fn(o, () => {
|
|
5862
5862
|
var F, P;
|
|
5863
5863
|
f.value = (P = (F = o.value) == null ? void 0 : F.clientWidth) != null ? P : 800;
|
|
@@ -5878,7 +5878,7 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
5878
5878
|
}), Ae(
|
|
5879
5879
|
() => O.value,
|
|
5880
5880
|
() => {
|
|
5881
|
-
|
|
5881
|
+
Ve(() => {
|
|
5882
5882
|
$();
|
|
5883
5883
|
});
|
|
5884
5884
|
}
|
|
@@ -5968,7 +5968,7 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
5968
5968
|
per_page: ce.value.per_page,
|
|
5969
5969
|
total: ce.value.total
|
|
5970
5970
|
};
|
|
5971
|
-
}),
|
|
5971
|
+
}), qe = A(() => E.value.page && parseInt(E.value.page + "") ? parseInt(E.value.page + "") : 1), le = A(() => Ce.value.last_page), de = A(() => {
|
|
5972
5972
|
var F, P;
|
|
5973
5973
|
return (P = (F = E.value.sort) == null ? void 0 : F.trim().replace(/^(-)/, "")) != null ? P : "";
|
|
5974
5974
|
}), me = A(() => E.value.sort && E.value.sort.length && E.value.sort[0] == "-" ? "desc" : "asc"), je = A(() => {
|
|
@@ -6004,16 +6004,16 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
6004
6004
|
v("div", {
|
|
6005
6005
|
class: R(["min-w-0", { "col-span-1": !h(O), "col-span-2": h(O) }])
|
|
6006
6006
|
}, [
|
|
6007
|
-
v("div",
|
|
6008
|
-
e.searchable ? (b(), L("div",
|
|
6009
|
-
v("div",
|
|
6010
|
-
v("div",
|
|
6007
|
+
v("div", Au, [
|
|
6008
|
+
e.searchable ? (b(), L("div", Tu, [
|
|
6009
|
+
v("div", Lu, [
|
|
6010
|
+
v("div", Mu, [
|
|
6011
6011
|
z(G, {
|
|
6012
6012
|
class: "h-6 w-6 text-slate-400",
|
|
6013
6013
|
icon: "heroicons:magnifying-glass"
|
|
6014
6014
|
})
|
|
6015
6015
|
]),
|
|
6016
|
-
|
|
6016
|
+
Re(v("input", {
|
|
6017
6017
|
ref_key: "searchInput",
|
|
6018
6018
|
ref: a,
|
|
6019
6019
|
"onUpdate:modelValue": P[0] || (P[0] = (ae) => Mt(S) ? S.value = ae : null),
|
|
@@ -6021,10 +6021,10 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
6021
6021
|
class: "h-11 w-full overflow-hidden rounded-md border border-slate-300 bg-white pl-10 pr-9 shadow-sm",
|
|
6022
6022
|
placeholder: F.$t("sui.autocomplete_placeholder"),
|
|
6023
6023
|
onInput: P[1] || (P[1] = (...ae) => h(q) && h(q)(...ae))
|
|
6024
|
-
}, null, 40,
|
|
6024
|
+
}, null, 40, Ou), [
|
|
6025
6025
|
[An, h(S)]
|
|
6026
6026
|
]),
|
|
6027
|
-
h(S) ? (b(), L("div",
|
|
6027
|
+
h(S) ? (b(), L("div", ju, [
|
|
6028
6028
|
v("button", {
|
|
6029
6029
|
type: "button",
|
|
6030
6030
|
class: "flex appearance-none items-center rounded p-1 hover:bg-slate-100",
|
|
@@ -6050,7 +6050,7 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
6050
6050
|
class: "h-6 w-6 text-slate-500 xs:mr-2",
|
|
6051
6051
|
icon: "heroicons:adjustments-horizontal-solid"
|
|
6052
6052
|
}),
|
|
6053
|
-
v("span",
|
|
6053
|
+
v("span", Fu, W(F.$t("sui.filters")), 1)
|
|
6054
6054
|
])) : Q("", !0),
|
|
6055
6055
|
e.actions && e.actions.length ? (b(), ee(Ct, {
|
|
6056
6056
|
key: 2,
|
|
@@ -6074,14 +6074,14 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
6074
6074
|
loading: h(g),
|
|
6075
6075
|
error: h(I),
|
|
6076
6076
|
firstLoad: h(y),
|
|
6077
|
-
page: h(
|
|
6077
|
+
page: h(qe),
|
|
6078
6078
|
sortField: h(de),
|
|
6079
6079
|
sortDirection: h(me),
|
|
6080
6080
|
onSortChange: te,
|
|
6081
6081
|
onPageChange: J
|
|
6082
6082
|
}),
|
|
6083
|
-
v("div",
|
|
6084
|
-
v("p",
|
|
6083
|
+
v("div", Du, [
|
|
6084
|
+
v("p", Pu, W((h(Ce).current_page - 1) * h(Ce).per_page + 1) + " - " + W(F.$t("sui.pagination_detail", {
|
|
6085
6085
|
page: Math.min(
|
|
6086
6086
|
h(Ce).current_page * h(Ce).per_page,
|
|
6087
6087
|
h(Ce).total
|
|
@@ -6089,9 +6089,9 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
6089
6089
|
total: h(Ce).total
|
|
6090
6090
|
})), 1)
|
|
6091
6091
|
]),
|
|
6092
|
-
v("div",
|
|
6092
|
+
v("div", Vu, [
|
|
6093
6093
|
z(Ro, {
|
|
6094
|
-
"model-value": h(
|
|
6094
|
+
"model-value": h(qe),
|
|
6095
6095
|
"last-page": h(le),
|
|
6096
6096
|
"onUpdate:modelValue": J
|
|
6097
6097
|
}, null, 8, ["model-value", "last-page"])
|
|
@@ -6103,12 +6103,12 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
6103
6103
|
ref: x
|
|
6104
6104
|
}, [
|
|
6105
6105
|
Y(F.$slots, "sidebarTop", { paginationMetadata: h(Ce) }),
|
|
6106
|
-
h(D) ? (b(), L("div",
|
|
6106
|
+
h(D) ? (b(), L("div", Nu, [
|
|
6107
6107
|
z(Bt, null, {
|
|
6108
6108
|
default: H(() => [
|
|
6109
6109
|
z(ir, { size: "sm" }, {
|
|
6110
6110
|
default: H(() => [
|
|
6111
|
-
v("div",
|
|
6111
|
+
v("div", qu, [
|
|
6112
6112
|
Y(F.$slots, "filters", {
|
|
6113
6113
|
query: h(E),
|
|
6114
6114
|
updateQuery: d,
|
|
@@ -6131,9 +6131,9 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
6131
6131
|
"onUpdate:modelValue": P[5] || (P[5] = (ae) => Mt(T) ? T.value = ae : null)
|
|
6132
6132
|
}, {
|
|
6133
6133
|
default: H(() => [
|
|
6134
|
-
v("div",
|
|
6135
|
-
v("h2",
|
|
6136
|
-
v("div",
|
|
6134
|
+
v("div", Ru, [
|
|
6135
|
+
v("h2", Uu, W(F.$t("sui.filters")), 1),
|
|
6136
|
+
v("div", zu, [
|
|
6137
6137
|
Y(F.$slots, "filters", {
|
|
6138
6138
|
query: h(E),
|
|
6139
6139
|
updateQuery: d,
|
|
@@ -6186,7 +6186,7 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
6186
6186
|
}), this.timeouts = [];
|
|
6187
6187
|
}
|
|
6188
6188
|
}
|
|
6189
|
-
}),
|
|
6189
|
+
}), Ku = K({
|
|
6190
6190
|
name: "SlotComponent",
|
|
6191
6191
|
props: {
|
|
6192
6192
|
component: {
|
|
@@ -6212,36 +6212,36 @@ const Cu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Iu = { class: "min
|
|
|
6212
6212
|
const r = e[this.name](this.props);
|
|
6213
6213
|
return Ee(this.tag, {}, r);
|
|
6214
6214
|
}
|
|
6215
|
-
}),
|
|
6216
|
-
const
|
|
6215
|
+
}), Gu = K({});
|
|
6216
|
+
const Wu = {
|
|
6217
6217
|
class: "spinner h-20 w-20",
|
|
6218
6218
|
viewBox: "0 0 66 66",
|
|
6219
6219
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6220
|
-
},
|
|
6221
|
-
|
|
6220
|
+
}, Qu = /* @__PURE__ */ Ur('<circle class="path" fill="transparent" stroke-width="2" cx="33" cy="33" r="30" stroke="url(#gradient)" data-v-945515f9></circle><linearGradient id="gradient" data-v-945515f9><stop offset="50%" stop-color="#2563eb" stop-opacity="1" data-v-945515f9></stop><stop offset="65%" stop-color="#2563eb" stop-opacity=".5" data-v-945515f9></stop><stop offset="100%" stop-color="#2563eb" stop-opacity="0" data-v-945515f9></stop></linearGradient>', 2), Yu = [
|
|
6221
|
+
Qu
|
|
6222
6222
|
];
|
|
6223
|
-
function
|
|
6224
|
-
return b(), L("svg",
|
|
6223
|
+
function Ju(e, r, n, l, o, a) {
|
|
6224
|
+
return b(), L("svg", Wu, Yu);
|
|
6225
6225
|
}
|
|
6226
|
-
const Wo = /* @__PURE__ */
|
|
6226
|
+
const Wo = /* @__PURE__ */ Ne(Gu, [["render", Ju], ["__scopeId", "data-v-945515f9"]]), Zu = (e) => (Cl("data-v-756da018"), e = e(), Il(), e), Xu = { class: "relative w-full overflow-hidden" }, ec = { class: "flex flex-col" }, tc = { class: "inline-block min-w-full align-middle" }, nc = { class: "relative min-h-[300px]" }, rc = { class: "min-w-full border-separate border-spacing-0" }, oc = {
|
|
6227
6227
|
key: 0,
|
|
6228
6228
|
class: "th"
|
|
6229
|
-
},
|
|
6229
|
+
}, lc = {
|
|
6230
6230
|
key: 1,
|
|
6231
6231
|
class: "th py-0 pl-3",
|
|
6232
6232
|
align: "left"
|
|
6233
|
-
},
|
|
6233
|
+
}, ac = { class: "flex items-center" }, sc = ["checked", "disabled"], ic = ["onClick"], uc = { class: "mr-1 whitespace-nowrap" }, cc = {
|
|
6234
6234
|
key: 2,
|
|
6235
6235
|
class: "th pr-3",
|
|
6236
6236
|
align: "right"
|
|
6237
|
-
},
|
|
6237
|
+
}, dc = ["checked", "disabled"], fc = { class: "bg-white" }, mc = { key: 0 }, pc = ["colspan"], hc = { class: "flex items-center justify-between bg-slate-100 py-2 pl-3 pr-2 text-sm" }, vc = { class: "mr-3 text-slate-500" }, gc = ["onClick"], yc = { class: "flex items-center" }, bc = ["disabled", "checked", "onClick"], wc = ["disabled", "checked", "onClick"], xc = ["colspan"], kc = { key: 1 }, Sc = ["colspan"], $c = {
|
|
6238
6238
|
key: 0,
|
|
6239
6239
|
class: "absolute inset-0 flex h-full w-full items-start justify-center"
|
|
6240
|
-
},
|
|
6240
|
+
}, Bc = /* @__PURE__ */ Zu(() => /* @__PURE__ */ v("div", { class: "absolute h-full w-full bg-white bg-opacity-60" }, null, -1)), _c = { class: "pt-20" }, Cc = {
|
|
6241
6241
|
name: "BaseTable",
|
|
6242
6242
|
inheritAttrs: !1
|
|
6243
|
-
},
|
|
6244
|
-
...
|
|
6243
|
+
}, Ic = /* @__PURE__ */ K({
|
|
6244
|
+
...Cc,
|
|
6245
6245
|
props: {
|
|
6246
6246
|
data: {
|
|
6247
6247
|
type: Array,
|
|
@@ -6346,7 +6346,7 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6346
6346
|
Be();
|
|
6347
6347
|
}
|
|
6348
6348
|
), ge(() => {
|
|
6349
|
-
|
|
6349
|
+
Ve(() => {
|
|
6350
6350
|
Be();
|
|
6351
6351
|
});
|
|
6352
6352
|
});
|
|
@@ -6428,14 +6428,14 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6428
6428
|
function Ce(V) {
|
|
6429
6429
|
y.value.push(V);
|
|
6430
6430
|
const c = I.value;
|
|
6431
|
-
c && c.children &&
|
|
6431
|
+
c && c.children && Ve(() => {
|
|
6432
6432
|
const k = y.value.map((F) => `[data-id="${F.newKey}"]`).join(","), B = Array.from(c.querySelectorAll(k)).map(
|
|
6433
6433
|
(F) => F.getAttribute("data-id")
|
|
6434
6434
|
);
|
|
6435
6435
|
y.value = y.value.sort((F, P) => B.indexOf(`${F.newKey}`) - B.indexOf(`${P.newKey}`));
|
|
6436
6436
|
});
|
|
6437
6437
|
}
|
|
6438
|
-
function
|
|
6438
|
+
function qe(V) {
|
|
6439
6439
|
y.value = y.value.filter(
|
|
6440
6440
|
(c) => c.newKey !== V.newKey
|
|
6441
6441
|
);
|
|
@@ -6450,11 +6450,11 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6450
6450
|
function je() {
|
|
6451
6451
|
return g.value++;
|
|
6452
6452
|
}
|
|
6453
|
-
return pe("addColumn", Ce), pe("removeColumn",
|
|
6453
|
+
return pe("addColumn", Ce), pe("removeColumn", qe), pe("nextSequence", je), r({
|
|
6454
6454
|
newColumns: E
|
|
6455
6455
|
}), (V, c) => {
|
|
6456
6456
|
const k = Se("BaseIcon");
|
|
6457
|
-
return b(), L("div",
|
|
6457
|
+
return b(), L("div", Xu, [
|
|
6458
6458
|
v("div", {
|
|
6459
6459
|
ref_key: "slot",
|
|
6460
6460
|
ref: I,
|
|
@@ -6462,23 +6462,23 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6462
6462
|
}, [
|
|
6463
6463
|
Y(V.$slots, "default", {}, void 0, !0)
|
|
6464
6464
|
], 512),
|
|
6465
|
-
v("div",
|
|
6465
|
+
v("div", ec, [
|
|
6466
6466
|
v("div", {
|
|
6467
6467
|
class: "overflow-x-auto overflow-y-auto",
|
|
6468
6468
|
style: Pe({ maxHeight: e.maxHeight ? e.maxHeight + "px" : void 0 })
|
|
6469
6469
|
}, [
|
|
6470
|
-
v("div",
|
|
6471
|
-
v("div",
|
|
6472
|
-
v("table",
|
|
6470
|
+
v("div", tc, [
|
|
6471
|
+
v("div", nc, [
|
|
6472
|
+
v("table", rc, [
|
|
6473
6473
|
h(E).length ? (b(), L("thead", {
|
|
6474
6474
|
key: 0,
|
|
6475
6475
|
ref_key: "thead",
|
|
6476
6476
|
ref: T
|
|
6477
6477
|
}, [
|
|
6478
6478
|
v("tr", null, [
|
|
6479
|
-
h(D) ? (b(), L("th",
|
|
6480
|
-
e.checkable && e.checkboxPosition === "left" ? (b(), L("th",
|
|
6481
|
-
v("div",
|
|
6479
|
+
h(D) ? (b(), L("th", oc)) : Q("", !0),
|
|
6480
|
+
e.checkable && e.checkboxPosition === "left" ? (b(), L("th", lc, [
|
|
6481
|
+
v("div", ac, [
|
|
6482
6482
|
v("input", {
|
|
6483
6483
|
type: "checkbox",
|
|
6484
6484
|
autocomplete: "off",
|
|
@@ -6486,7 +6486,7 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6486
6486
|
disabled: h($),
|
|
6487
6487
|
class: R(o),
|
|
6488
6488
|
onChange: d
|
|
6489
|
-
}, null, 40,
|
|
6489
|
+
}, null, 40, sc)
|
|
6490
6490
|
])
|
|
6491
6491
|
])) : Q("", !0),
|
|
6492
6492
|
(b(!0), L(fe, null, ve(h(t), (B, F) => (b(), L("th", at({
|
|
@@ -6503,8 +6503,8 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6503
6503
|
"text-blue-600": B.sortable && h(p) === B
|
|
6504
6504
|
}])
|
|
6505
6505
|
}, [
|
|
6506
|
-
v("span",
|
|
6507
|
-
|
|
6506
|
+
v("span", uc, W(B.label), 1),
|
|
6507
|
+
Re(v("span", null, [
|
|
6508
6508
|
z(k, {
|
|
6509
6509
|
icon: "mdi:chevron-down",
|
|
6510
6510
|
class: R(["h-5 w-5 duration-300", {
|
|
@@ -6515,8 +6515,8 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6515
6515
|
[lt, B.sortable && h(p) === B]
|
|
6516
6516
|
])
|
|
6517
6517
|
], 2)
|
|
6518
|
-
], 16,
|
|
6519
|
-
e.checkable && e.checkboxPosition === "right" ? (b(), L("th",
|
|
6518
|
+
], 16, ic))), 128)),
|
|
6519
|
+
e.checkable && e.checkboxPosition === "right" ? (b(), L("th", cc, [
|
|
6520
6520
|
v("input", {
|
|
6521
6521
|
autocomplete: "off",
|
|
6522
6522
|
type: "checkbox",
|
|
@@ -6524,12 +6524,12 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6524
6524
|
disabled: h($),
|
|
6525
6525
|
class: R(o),
|
|
6526
6526
|
onChange: d
|
|
6527
|
-
}, null, 40,
|
|
6527
|
+
}, null, 40, dc)
|
|
6528
6528
|
])) : Q("", !0)
|
|
6529
6529
|
])
|
|
6530
6530
|
], 512)) : Q("", !0),
|
|
6531
|
-
v("tbody",
|
|
6532
|
-
h(s).length ? (b(), L("tr",
|
|
6531
|
+
v("tbody", fc, [
|
|
6532
|
+
h(s).length ? (b(), L("tr", mc, [
|
|
6533
6533
|
v("td", {
|
|
6534
6534
|
colspan: h(O),
|
|
6535
6535
|
class: R(["sticky z-[1] p-0", [le]]),
|
|
@@ -6544,9 +6544,9 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6544
6544
|
}, () => {
|
|
6545
6545
|
var B;
|
|
6546
6546
|
return [
|
|
6547
|
-
v("div",
|
|
6547
|
+
v("div", hc, [
|
|
6548
6548
|
v("div", null, [
|
|
6549
|
-
v("span",
|
|
6549
|
+
v("span", vc, W(V.$t("sui.x_rows_selected", {
|
|
6550
6550
|
count: h(s).length
|
|
6551
6551
|
})) + ".", 1),
|
|
6552
6552
|
v("button", {
|
|
@@ -6574,7 +6574,7 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6574
6574
|
])
|
|
6575
6575
|
];
|
|
6576
6576
|
}, !0)
|
|
6577
|
-
], 14,
|
|
6577
|
+
], 14, pc)
|
|
6578
6578
|
])) : Q("", !0),
|
|
6579
6579
|
(b(!0), L(fe, null, ve(e.data, (B, F) => (b(), L(fe, { key: F }, [
|
|
6580
6580
|
v("tr", null, [
|
|
@@ -6595,13 +6595,13 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6595
6595
|
icon: "mdi:chevron-down",
|
|
6596
6596
|
class: "h-5 w-5"
|
|
6597
6597
|
})) : Q("", !0)
|
|
6598
|
-
], 10,
|
|
6598
|
+
], 10, gc)
|
|
6599
6599
|
], 2)) : Q("", !0),
|
|
6600
6600
|
e.checkable && e.checkboxPosition === "left" ? (b(), L("td", {
|
|
6601
6601
|
key: 1,
|
|
6602
6602
|
class: R(["pl-3", de(F, B)])
|
|
6603
6603
|
}, [
|
|
6604
|
-
v("div",
|
|
6604
|
+
v("div", yc, [
|
|
6605
6605
|
v("input", {
|
|
6606
6606
|
type: "checkbox",
|
|
6607
6607
|
autocomplete: "off",
|
|
@@ -6609,10 +6609,10 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6609
6609
|
checked: x(B),
|
|
6610
6610
|
class: R(o),
|
|
6611
6611
|
onClick: (P) => re(B, F, P)
|
|
6612
|
-
}, null, 8,
|
|
6612
|
+
}, null, 8, bc)
|
|
6613
6613
|
])
|
|
6614
6614
|
], 2)) : Q("", !0),
|
|
6615
|
-
(b(!0), L(fe, null, ve(h(t), (P, G) => (b(), ee(h(
|
|
6615
|
+
(b(!0), L(fe, null, ve(h(t), (P, G) => (b(), ee(h(Ku), at({
|
|
6616
6616
|
key: P.newKey + F + ":" + G
|
|
6617
6617
|
}, P.tdAttrs && P.tdAttrs(B, P), {
|
|
6618
6618
|
component: P,
|
|
@@ -6643,7 +6643,7 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6643
6643
|
checked: x(B),
|
|
6644
6644
|
class: R(o),
|
|
6645
6645
|
onClick: (P) => re(B, F, P)
|
|
6646
|
-
}, null, 8,
|
|
6646
|
+
}, null, 8, wc)
|
|
6647
6647
|
], 2)) : Q("", !0)
|
|
6648
6648
|
]),
|
|
6649
6649
|
z(Ge, { name: e.detailTransition }, {
|
|
@@ -6659,16 +6659,16 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6659
6659
|
row: B,
|
|
6660
6660
|
index: F
|
|
6661
6661
|
}, void 0, !0)
|
|
6662
|
-
], 10,
|
|
6662
|
+
], 10, xc)
|
|
6663
6663
|
])) : Q("", !0)
|
|
6664
6664
|
]),
|
|
6665
6665
|
_: 2
|
|
6666
6666
|
}, 1032, ["name"])
|
|
6667
6667
|
], 64))), 128)),
|
|
6668
|
-
e.data.length == 0 ? (b(), L("tr",
|
|
6668
|
+
e.data.length == 0 ? (b(), L("tr", kc, [
|
|
6669
6669
|
v("td", { colspan: h(O) }, [
|
|
6670
6670
|
Y(V.$slots, "empty", {}, void 0, !0)
|
|
6671
|
-
], 8,
|
|
6671
|
+
], 8, Sc)
|
|
6672
6672
|
])) : Q("", !0)
|
|
6673
6673
|
])
|
|
6674
6674
|
]),
|
|
@@ -6682,9 +6682,9 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6682
6682
|
"leave-to-class": "opacity-0"
|
|
6683
6683
|
}, {
|
|
6684
6684
|
default: H(() => [
|
|
6685
|
-
e.loading ? (b(), L("div",
|
|
6686
|
-
|
|
6687
|
-
v("div",
|
|
6685
|
+
e.loading ? (b(), L("div", $c, [
|
|
6686
|
+
Bc,
|
|
6687
|
+
v("div", _c, [
|
|
6688
6688
|
z(Wo, { class: "h-10 w-10 text-blue-500" })
|
|
6689
6689
|
])
|
|
6690
6690
|
])) : Q("", !0)
|
|
@@ -6700,7 +6700,7 @@ const Wo = /* @__PURE__ */ Ve(Ku, [["render", Yu], ["__scopeId", "data-v-945515f
|
|
|
6700
6700
|
};
|
|
6701
6701
|
}
|
|
6702
6702
|
});
|
|
6703
|
-
const Qo = /* @__PURE__ */
|
|
6703
|
+
const Qo = /* @__PURE__ */ Ne(Ic, [["__scopeId", "data-v-756da018"]]), Yo = K({
|
|
6704
6704
|
name: "BaseTableColumn",
|
|
6705
6705
|
props: {
|
|
6706
6706
|
label: {
|
|
@@ -6797,7 +6797,7 @@ const Qo = /* @__PURE__ */ Ve(Cc, [["__scopeId", "data-v-756da018"]]), Yo = K({
|
|
|
6797
6797
|
render() {
|
|
6798
6798
|
return Ee("span", { "data-id": this.newKey }, this.label);
|
|
6799
6799
|
}
|
|
6800
|
-
}),
|
|
6800
|
+
}), Ec = ["checked", "value", "onChange"], Ac = { class: "text-xs text-slate-600" }, Tc = /* @__PURE__ */ K({
|
|
6801
6801
|
__name: "BaseDataTableToggleColumns",
|
|
6802
6802
|
props: {
|
|
6803
6803
|
table: {
|
|
@@ -6831,29 +6831,29 @@ const Qo = /* @__PURE__ */ Ve(Cc, [["__scopeId", "data-v-756da018"]]), Yo = K({
|
|
|
6831
6831
|
class: "mr-1.5 h-3.5 w-3.5 rounded focus:ring-1 focus:ring-primary-300 focus:ring-offset-1",
|
|
6832
6832
|
value: i.newKey,
|
|
6833
6833
|
onChange: (p) => o(p, i.newKey)
|
|
6834
|
-
}, null, 40,
|
|
6835
|
-
v("span",
|
|
6834
|
+
}, null, 40, Ec),
|
|
6835
|
+
v("span", Ac, W(i.label), 1)
|
|
6836
6836
|
])
|
|
6837
6837
|
]))), 128))
|
|
6838
6838
|
]));
|
|
6839
6839
|
}
|
|
6840
|
-
}),
|
|
6840
|
+
}), Lc = {}, Mc = {
|
|
6841
6841
|
viewBox: "0 0 150 150",
|
|
6842
6842
|
fill: "none",
|
|
6843
6843
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6844
|
-
},
|
|
6845
|
-
|
|
6844
|
+
}, Oc = /* @__PURE__ */ Ur('<path class="text-slate-100" d="M75 150C116.421 150 150 116.421 150 75C150 33.5786 116.421 0 75 0C33.5786 0 0 33.5786 0 75C0 116.421 33.5786 150 75 150Z" fill="currentColor"></path><path class="text-white" d="M120 150H30V53C34.242 52.9952 38.3089 51.308 41.3084 48.3085C44.308 45.3089 45.9952 41.242 46 37H104C103.996 39.1014 104.408 41.1828 105.213 43.1238C106.018 45.0648 107.2 46.8268 108.691 48.308C110.172 49.7991 111.934 50.9816 113.875 51.787C115.817 52.5924 117.898 53.0047 120 53V150Z" fill="currentColor"></path><path class="text-slate-300" d="M75 102C88.2548 102 99 91.2548 99 78C99 64.7452 88.2548 54 75 54C61.7452 54 51 64.7452 51 78C51 91.2548 61.7452 102 75 102Z" fill="currentColor"></path><path class="text-white" d="M83.4853 89.3138L75 80.8286L66.5147 89.3138L63.6863 86.4854L72.1716 78.0001L63.6863 69.5148L66.5147 66.6864L75 75.1717L83.4853 66.6864L86.3137 69.5148L77.8284 78.0001L86.3137 86.4854L83.4853 89.3138Z" fill="currentColor"></path><path class="text-slate-200" d="M88 108H62C60.3431 108 59 109.343 59 111C59 112.657 60.3431 114 62 114H88C89.6569 114 91 112.657 91 111C91 109.343 89.6569 108 88 108Z" fill="currentColor"></path><path class="text-slate-200" d="M97 120H53C51.3431 120 50 121.343 50 123C50 124.657 51.3431 126 53 126H97C98.6569 126 100 124.657 100 123C100 121.343 98.6569 120 97 120Z" fill="currentColor"></path>', 6), jc = [
|
|
6845
|
+
Oc
|
|
6846
6846
|
];
|
|
6847
|
-
function
|
|
6848
|
-
return b(), L("svg",
|
|
6847
|
+
function Fc(e, r) {
|
|
6848
|
+
return b(), L("svg", Mc, jc);
|
|
6849
6849
|
}
|
|
6850
|
-
const
|
|
6850
|
+
const Dc = /* @__PURE__ */ Ne(Lc, [["render", Fc]]), Pc = { class: "flex justify-end text-right" }, Vc = { class: "btn btn-white bg-transparent p-2" }, Nc = ["disabled", "onClick"], qc = {
|
|
6851
6851
|
key: 0,
|
|
6852
6852
|
class: "flex items-center justify-center py-16"
|
|
6853
|
-
},
|
|
6853
|
+
}, Rc = { class: "flex flex-col items-center justify-center" }, Uc = { class: "mt-3 text-center text-sm text-slate-600" }, zc = {
|
|
6854
6854
|
key: 1,
|
|
6855
6855
|
class: "flex items-center justify-center py-16"
|
|
6856
|
-
},
|
|
6856
|
+
}, Hc = { class: "flex flex-col items-center" }, Kc = { class: "mt-3 text-center text-sm text-slate-600" }, Gc = { class: "mb-3" }, Wc = { class: "mb-1 text-xs font-semibold uppercase tracking-wider text-slate-500" }, Qc = /* @__PURE__ */ K({
|
|
6857
6857
|
__name: "BaseDataTable",
|
|
6858
6858
|
props: {
|
|
6859
6859
|
url: {
|
|
@@ -7054,7 +7054,7 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7054
7054
|
toggle: !1
|
|
7055
7055
|
}, {
|
|
7056
7056
|
default: H(({ row: se }) => [
|
|
7057
|
-
v("div",
|
|
7057
|
+
v("div", Pc, [
|
|
7058
7058
|
Y(u.$slots, "rowActions", { row: se }),
|
|
7059
7059
|
e.editButton && e.editUrl ? (b(), ee(C, {
|
|
7060
7060
|
key: 0,
|
|
@@ -7062,7 +7062,7 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7062
7062
|
disabled: !I(se)
|
|
7063
7063
|
}, {
|
|
7064
7064
|
default: H(() => [
|
|
7065
|
-
v("button",
|
|
7065
|
+
v("button", Vc, [
|
|
7066
7066
|
z(d, {
|
|
7067
7067
|
icon: "heroicons:cog-6-tooth-solid",
|
|
7068
7068
|
class: "text-slate-500"
|
|
@@ -7082,7 +7082,7 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7082
7082
|
icon: "heroicons:trash-solid",
|
|
7083
7083
|
class: "text-slate-500"
|
|
7084
7084
|
})
|
|
7085
|
-
], 8,
|
|
7085
|
+
], 8, Nc)) : Q("", !0)
|
|
7086
7086
|
])
|
|
7087
7087
|
]),
|
|
7088
7088
|
_: 3
|
|
@@ -7095,18 +7095,18 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7095
7095
|
Y(u.$slots, "checkedHeader", Je(Ze(se)))
|
|
7096
7096
|
]),
|
|
7097
7097
|
empty: H(() => [
|
|
7098
|
-
X ? (b(), L("div",
|
|
7099
|
-
v("div",
|
|
7098
|
+
X ? (b(), L("div", qc, [
|
|
7099
|
+
v("div", Rc, [
|
|
7100
7100
|
z(d, {
|
|
7101
7101
|
icon: "heroicons:x-circle",
|
|
7102
7102
|
class: "h-10 w-10 text-red-600"
|
|
7103
7103
|
}),
|
|
7104
|
-
v("p",
|
|
7104
|
+
v("p", Uc, W(u.$t("sui.whoops")), 1)
|
|
7105
7105
|
])
|
|
7106
|
-
])) : ue ? (b(), L("div",
|
|
7107
|
-
v("div",
|
|
7108
|
-
z(
|
|
7109
|
-
v("p",
|
|
7106
|
+
])) : ue ? (b(), L("div", zc, [
|
|
7107
|
+
v("div", Hc, [
|
|
7108
|
+
z(Dc, { class: "w-32" }),
|
|
7109
|
+
v("p", Kc, W(u.$t("sui.nothing_found")), 1)
|
|
7110
7110
|
])
|
|
7111
7111
|
])) : Q("", !0)
|
|
7112
7112
|
]),
|
|
@@ -7135,13 +7135,13 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7135
7135
|
e.toggleable ? {
|
|
7136
7136
|
name: "sidebarBottom",
|
|
7137
7137
|
fn: H(() => [
|
|
7138
|
-
v("div",
|
|
7139
|
-
v("h3",
|
|
7138
|
+
v("div", Gc, [
|
|
7139
|
+
v("h3", Wc, W(u.$t("sui.columns")), 1),
|
|
7140
7140
|
z(Bt, null, {
|
|
7141
7141
|
default: H(() => [
|
|
7142
7142
|
z(ir, { size: "sm" }, {
|
|
7143
7143
|
default: H(() => [
|
|
7144
|
-
z(
|
|
7144
|
+
z(Tc, {
|
|
7145
7145
|
visibleColumns: h(w),
|
|
7146
7146
|
"onUpdate:visibleColumns": [
|
|
7147
7147
|
m[3] || (m[3] = (j) => Mt(w) ? w.value = j : null),
|
|
@@ -7162,10 +7162,10 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7162
7162
|
]), 1032, ["url", "url-query", "default-query", "searchable", "actions", "history-mode"]);
|
|
7163
7163
|
};
|
|
7164
7164
|
}
|
|
7165
|
-
}),
|
|
7165
|
+
}), Yc = { class: "relative" }, Jc = { class: "pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center pl-2.5" }, Zc = ["value", "disabled", "placeholder"], Xc = {
|
|
7166
7166
|
key: 0,
|
|
7167
7167
|
class: "absolute top-0 right-0 flex h-full items-center justify-center p-1"
|
|
7168
|
-
},
|
|
7168
|
+
}, ed = /* @__PURE__ */ K({
|
|
7169
7169
|
__name: "BaseDatePicker",
|
|
7170
7170
|
props: {
|
|
7171
7171
|
modelValue: {
|
|
@@ -7233,7 +7233,7 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7233
7233
|
);
|
|
7234
7234
|
let g = null;
|
|
7235
7235
|
ge(() => {
|
|
7236
|
-
!s.value || (g = new
|
|
7236
|
+
!s.value || (g = new Vl({
|
|
7237
7237
|
theme: "pikaday-white",
|
|
7238
7238
|
field: s.value,
|
|
7239
7239
|
yearRange: n.yearRange,
|
|
@@ -7278,8 +7278,8 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7278
7278
|
function T(S, M = !1) {
|
|
7279
7279
|
return M ? S.unshift(S.pop()) : S.push(S.shift()), S;
|
|
7280
7280
|
}
|
|
7281
|
-
return (S, M) => (b(), L("div",
|
|
7282
|
-
v("div",
|
|
7281
|
+
return (S, M) => (b(), L("div", Yc, [
|
|
7282
|
+
v("div", Jc, [
|
|
7283
7283
|
z(h(he), {
|
|
7284
7284
|
class: "relative -top-px h-5 w-5 text-slate-400",
|
|
7285
7285
|
icon: "heroicons:calendar"
|
|
@@ -7294,8 +7294,8 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7294
7294
|
disabled: e.disabled,
|
|
7295
7295
|
class: R(["w-full rounded pl-10 pr-16 disabled:cursor-not-allowed disabled:text-slate-300", [h(l) ? "border-red-500" : "border-slate-300"]]),
|
|
7296
7296
|
placeholder: S.$t("sui.click_or_select_date")
|
|
7297
|
-
}, null, 10,
|
|
7298
|
-
h(y) && !e.disabled ? (b(), L("div",
|
|
7297
|
+
}, null, 10, Zc),
|
|
7298
|
+
h(y) && !e.disabled ? (b(), L("div", Xc, [
|
|
7299
7299
|
v("button", {
|
|
7300
7300
|
type: "button",
|
|
7301
7301
|
class: "flex h-8 items-center rounded p-1 hover:bg-slate-200",
|
|
@@ -7309,22 +7309,22 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7309
7309
|
])) : Q("", !0)
|
|
7310
7310
|
]));
|
|
7311
7311
|
}
|
|
7312
|
-
}),
|
|
7312
|
+
}), td = { class: "-m-0.5 flex" }, nd = { class: "w-auto p-0.5" }, rd = ["disabled", "required", "placeholder"], od = {
|
|
7313
7313
|
disabled: "",
|
|
7314
7314
|
selected: "",
|
|
7315
7315
|
hidden: "",
|
|
7316
7316
|
value: null
|
|
7317
|
-
},
|
|
7317
|
+
}, ld = ["value"], ad = { class: "w-auto p-0.5" }, sd = ["disabled", "required", "placeholder"], id = {
|
|
7318
7318
|
disabled: "",
|
|
7319
7319
|
selected: "",
|
|
7320
7320
|
hidden: "",
|
|
7321
7321
|
value: null
|
|
7322
|
-
},
|
|
7322
|
+
}, ud = ["value"], cd = { class: "w-auto p-0.5" }, dd = ["disabled", "required", "placeholder"], fd = {
|
|
7323
7323
|
disabled: "",
|
|
7324
7324
|
selected: "",
|
|
7325
7325
|
hidden: "",
|
|
7326
7326
|
value: null
|
|
7327
|
-
},
|
|
7327
|
+
}, md = ["value"], pd = ["disabled"], hd = /* @__PURE__ */ K({
|
|
7328
7328
|
__name: "BaseDateSelect",
|
|
7329
7329
|
props: {
|
|
7330
7330
|
modelValue: {
|
|
@@ -7400,9 +7400,9 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7400
7400
|
}
|
|
7401
7401
|
const T = A(() => p.value.length == 0 || n.disabled);
|
|
7402
7402
|
return (S, M) => (b(), L("div", null, [
|
|
7403
|
-
v("div",
|
|
7404
|
-
v("div",
|
|
7405
|
-
|
|
7403
|
+
v("div", td, [
|
|
7404
|
+
v("div", nd, [
|
|
7405
|
+
Re(v("select", {
|
|
7406
7406
|
"onUpdate:modelValue": M[0] || (M[0] = (w) => h(f).year = w),
|
|
7407
7407
|
disabled: e.disabled,
|
|
7408
7408
|
required: e.required,
|
|
@@ -7416,17 +7416,17 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7416
7416
|
placeholder: S.$t("sui.year"),
|
|
7417
7417
|
onChange: M[1] || (M[1] = (w) => y())
|
|
7418
7418
|
}, [
|
|
7419
|
-
v("option",
|
|
7419
|
+
v("option", od, W(S.$t("sui.year")), 1),
|
|
7420
7420
|
(b(!0), L(fe, null, ve(h(s), (w) => (b(), L("option", {
|
|
7421
7421
|
key: w,
|
|
7422
7422
|
value: w
|
|
7423
|
-
}, W(w), 9,
|
|
7424
|
-
], 42,
|
|
7423
|
+
}, W(w), 9, ld))), 128))
|
|
7424
|
+
], 42, rd), [
|
|
7425
7425
|
[kn, h(f).year]
|
|
7426
7426
|
])
|
|
7427
7427
|
]),
|
|
7428
|
-
v("div",
|
|
7429
|
-
|
|
7428
|
+
v("div", ad, [
|
|
7429
|
+
Re(v("select", {
|
|
7430
7430
|
"onUpdate:modelValue": M[2] || (M[2] = (w) => h(f).month = w),
|
|
7431
7431
|
disabled: e.disabled,
|
|
7432
7432
|
required: e.required,
|
|
@@ -7440,17 +7440,17 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7440
7440
|
placeholder: S.$t("sui.month"),
|
|
7441
7441
|
onChange: M[3] || (M[3] = (w) => y())
|
|
7442
7442
|
}, [
|
|
7443
|
-
v("option",
|
|
7443
|
+
v("option", id, W(S.$t("sui.month")), 1),
|
|
7444
7444
|
(b(!0), L(fe, null, ve(h(i), (w, E) => (b(), L("option", {
|
|
7445
7445
|
key: w,
|
|
7446
7446
|
value: E + 1
|
|
7447
|
-
}, W(w), 9,
|
|
7448
|
-
], 42,
|
|
7447
|
+
}, W(w), 9, ud))), 128))
|
|
7448
|
+
], 42, sd), [
|
|
7449
7449
|
[kn, h(f).month]
|
|
7450
7450
|
])
|
|
7451
7451
|
]),
|
|
7452
|
-
v("div",
|
|
7453
|
-
|
|
7452
|
+
v("div", cd, [
|
|
7453
|
+
Re(v("select", {
|
|
7454
7454
|
"onUpdate:modelValue": M[4] || (M[4] = (w) => h(f).day = w),
|
|
7455
7455
|
disabled: h(T),
|
|
7456
7456
|
required: e.required,
|
|
@@ -7464,12 +7464,12 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7464
7464
|
placeholder: S.$t("sui.day"),
|
|
7465
7465
|
onChange: M[5] || (M[5] = (w) => y())
|
|
7466
7466
|
}, [
|
|
7467
|
-
v("option",
|
|
7467
|
+
v("option", fd, W(S.$t("sui.day")), 1),
|
|
7468
7468
|
(b(!0), L(fe, null, ve(h(p), (w) => (b(), L("option", {
|
|
7469
7469
|
key: w,
|
|
7470
7470
|
value: w
|
|
7471
|
-
}, W(w), 9,
|
|
7472
|
-
], 42,
|
|
7471
|
+
}, W(w), 9, md))), 128))
|
|
7472
|
+
], 42, dd), [
|
|
7473
7473
|
[kn, h(f).day]
|
|
7474
7474
|
])
|
|
7475
7475
|
])
|
|
@@ -7481,16 +7481,16 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7481
7481
|
onClick: M[6] || (M[6] = (w) => g())
|
|
7482
7482
|
}, [
|
|
7483
7483
|
v("span", null, W(S.$t("sui.clear")), 1)
|
|
7484
|
-
], 8,
|
|
7484
|
+
], 8, pd)
|
|
7485
7485
|
]));
|
|
7486
7486
|
}
|
|
7487
|
-
}),
|
|
7487
|
+
}), vd = { class: "" }, gd = { class: "divide-y divide-slate-200" }, yd = /* @__PURE__ */ K({
|
|
7488
7488
|
__name: "BaseDescriptionList",
|
|
7489
7489
|
setup(e) {
|
|
7490
7490
|
return (r, n) => (b(), ee(Bt, null, {
|
|
7491
7491
|
default: H(() => [
|
|
7492
|
-
v("div",
|
|
7493
|
-
v("dl",
|
|
7492
|
+
v("div", vd, [
|
|
7493
|
+
v("dl", gd, [
|
|
7494
7494
|
Y(r.$slots, "default")
|
|
7495
7495
|
])
|
|
7496
7496
|
])
|
|
@@ -7498,7 +7498,7 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7498
7498
|
_: 3
|
|
7499
7499
|
}));
|
|
7500
7500
|
}
|
|
7501
|
-
}),
|
|
7501
|
+
}), bd = { class: "text-sm font-medium leading-tight text-slate-500" }, wd = /* @__PURE__ */ K({
|
|
7502
7502
|
__name: "BaseDescriptionListItem",
|
|
7503
7503
|
setup(e) {
|
|
7504
7504
|
const n = N(null), l = N(800), o = A(() => l.value < zo.sm);
|
|
@@ -7516,7 +7516,7 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7516
7516
|
"grid grid-cols-3 gap-4 py-5 px-6": !h(o)
|
|
7517
7517
|
})
|
|
7518
7518
|
}, [
|
|
7519
|
-
v("dt",
|
|
7519
|
+
v("dt", bd, [
|
|
7520
7520
|
Y(s.$slots, "left")
|
|
7521
7521
|
]),
|
|
7522
7522
|
v("dd", {
|
|
@@ -7529,13 +7529,13 @@ const Fc = /* @__PURE__ */ Ve(Tc, [["render", jc]]), Dc = { class: "flex justify
|
|
|
7529
7529
|
], 2)
|
|
7530
7530
|
], 2));
|
|
7531
7531
|
}
|
|
7532
|
-
}),
|
|
7533
|
-
function
|
|
7534
|
-
return b(), L("p",
|
|
7532
|
+
}), xd = {}, kd = { class: "block text-sm font-medium leading-tight text-red-600" };
|
|
7533
|
+
function Sd(e, r) {
|
|
7534
|
+
return b(), L("p", kd, [
|
|
7535
7535
|
Y(e.$slots, "default")
|
|
7536
7536
|
]);
|
|
7537
7537
|
}
|
|
7538
|
-
const
|
|
7538
|
+
const $d = /* @__PURE__ */ Ne(xd, [["render", Sd]]), Bd = K({
|
|
7539
7539
|
props: {
|
|
7540
7540
|
required: {
|
|
7541
7541
|
default: !1,
|
|
@@ -7550,19 +7550,19 @@ const Sd = /* @__PURE__ */ Ve(wd, [["render", kd]]), $d = K({
|
|
|
7550
7550
|
type: String
|
|
7551
7551
|
}
|
|
7552
7552
|
}
|
|
7553
|
-
}),
|
|
7553
|
+
}), _d = {
|
|
7554
7554
|
key: 0,
|
|
7555
7555
|
class: "text-red-600"
|
|
7556
7556
|
};
|
|
7557
|
-
function
|
|
7557
|
+
function Cd(e, r, n, l, o, a) {
|
|
7558
7558
|
return b(), L("label", {
|
|
7559
7559
|
class: R(e.classes)
|
|
7560
7560
|
}, [
|
|
7561
7561
|
We(W(e.label), 1),
|
|
7562
|
-
e.required ? (b(), L("span",
|
|
7562
|
+
e.required ? (b(), L("span", _d, " *")) : Q("", !0)
|
|
7563
7563
|
], 2);
|
|
7564
7564
|
}
|
|
7565
|
-
const Jo = /* @__PURE__ */
|
|
7565
|
+
const Jo = /* @__PURE__ */ Ne(Bd, [["render", Cd]]), Id = ["data-name"], Zo = /* @__PURE__ */ K({
|
|
7566
7566
|
__name: "BaseField",
|
|
7567
7567
|
props: {
|
|
7568
7568
|
name: {
|
|
@@ -7613,7 +7613,7 @@ const Jo = /* @__PURE__ */ Ve($d, [["render", _d]]), Cd = ["data-name"], Zo = /*
|
|
|
7613
7613
|
}, null, 8, ["label", "required", "class"])) : Q("", !0),
|
|
7614
7614
|
Y(g.$slots, "default"),
|
|
7615
7615
|
h(y) ? (b(), L(fe, { key: 1 }, [
|
|
7616
|
-
h(n) == "default" ? (b(), ee(
|
|
7616
|
+
h(n) == "default" ? (b(), ee($d, {
|
|
7617
7617
|
key: 0,
|
|
7618
7618
|
class: "mt-1"
|
|
7619
7619
|
}, {
|
|
@@ -7633,9 +7633,9 @@ const Jo = /* @__PURE__ */ Ve($d, [["render", _d]]), Cd = ["data-name"], Zo = /*
|
|
|
7633
7633
|
_: 1
|
|
7634
7634
|
})) : Q("", !0)
|
|
7635
7635
|
], 64)) : Q("", !0)
|
|
7636
|
-
], 8,
|
|
7636
|
+
], 8, Id));
|
|
7637
7637
|
}
|
|
7638
|
-
}),
|
|
7638
|
+
}), Ed = ["value", "type", "name", "step", "min", "max", "disabled", "placeholder", "required", "autocomplete", "onKeydown"], Kn = /* @__PURE__ */ K({
|
|
7639
7639
|
__name: "BaseInput",
|
|
7640
7640
|
props: {
|
|
7641
7641
|
modelValue: {
|
|
@@ -7762,7 +7762,7 @@ const Jo = /* @__PURE__ */ Ve($d, [["render", _d]]), Cd = ["data-name"], Zo = /*
|
|
|
7762
7762
|
onInput: T[0] || (T[0] = (S) => h(s)(i(S))),
|
|
7763
7763
|
onFocus: T[1] || (T[1] = (S) => I.$emit("focus", S)),
|
|
7764
7764
|
onBlur: T[2] || (T[2] = (S) => I.$emit("blur", S))
|
|
7765
|
-
}, null, 42,
|
|
7765
|
+
}, null, 42, Ed),
|
|
7766
7766
|
e.suffix ? (b(), L("div", {
|
|
7767
7767
|
key: 2,
|
|
7768
7768
|
class: R(["flex shrink-0 items-center justify-center border-l px-4 transition-colors", [
|
|
@@ -7780,7 +7780,7 @@ const Jo = /* @__PURE__ */ Ve($d, [["render", _d]]), Cd = ["data-name"], Zo = /*
|
|
|
7780
7780
|
], 2)) : Q("", !0)
|
|
7781
7781
|
], 2));
|
|
7782
7782
|
}
|
|
7783
|
-
}),
|
|
7783
|
+
}), Ad = ["value", "type", "name", "placeholder", "disabled", "required", "rows"], Gn = /* @__PURE__ */ K({
|
|
7784
7784
|
__name: "BaseTextarea",
|
|
7785
7785
|
props: {
|
|
7786
7786
|
modelValue: {
|
|
@@ -7850,10 +7850,10 @@ const Jo = /* @__PURE__ */ Ve($d, [["render", _d]]), Cd = ["data-name"], Zo = /*
|
|
|
7850
7850
|
rows: e.rows,
|
|
7851
7851
|
class: R([[h(a) ? "border-red-500" : "border-slate-300"], "mb-0 block rounded disabled:cursor-not-allowed disabled:text-slate-300"]),
|
|
7852
7852
|
onInput: f[0] || (f[0] = (g) => h(s)(i(g)))
|
|
7853
|
-
}, null, 42,
|
|
7853
|
+
}, null, 42, Ad);
|
|
7854
7854
|
};
|
|
7855
7855
|
}
|
|
7856
|
-
}),
|
|
7856
|
+
}), Td = ["data-name"], Ld = { class: "space-y-2" }, Md = /* @__PURE__ */ K({
|
|
7857
7857
|
__name: "BaseFieldI18n",
|
|
7858
7858
|
props: {
|
|
7859
7859
|
modelValue: {
|
|
@@ -7914,7 +7914,7 @@ const Jo = /* @__PURE__ */ Ve($d, [["render", _d]]), Cd = ["data-name"], Zo = /*
|
|
|
7914
7914
|
N(["#10b981", "#06b6d4", "#a855f7"]);
|
|
7915
7915
|
const s = A(() => n.locales ? n.locales : xe.locales), i = A(() => {
|
|
7916
7916
|
let g = {};
|
|
7917
|
-
return n.modelValue &&
|
|
7917
|
+
return n.modelValue && Ml(n.modelValue) && (g = n.modelValue), Object.keys(s.value).forEach((I) => {
|
|
7918
7918
|
xt(n.modelValue, I) || (g[I] = n.defaultValue);
|
|
7919
7919
|
}), g;
|
|
7920
7920
|
});
|
|
@@ -7932,7 +7932,7 @@ const Jo = /* @__PURE__ */ Ve($d, [["render", _d]]), Cd = ["data-name"], Zo = /*
|
|
|
7932
7932
|
}
|
|
7933
7933
|
const y = A(() => a(l.value));
|
|
7934
7934
|
return (g, I) => (b(), L("div", { "data-name": h(l) }, [
|
|
7935
|
-
v("div",
|
|
7935
|
+
v("div", Ld, [
|
|
7936
7936
|
(b(!0), L(fe, null, ve(h(s), (T, S) => (b(), L("div", { key: S }, [
|
|
7937
7937
|
z(Zo, {
|
|
7938
7938
|
name: `${h(l)}.${S}`,
|
|
@@ -7971,9 +7971,9 @@ const Jo = /* @__PURE__ */ Ve($d, [["render", _d]]), Cd = ["data-name"], Zo = /*
|
|
|
7971
7971
|
]),
|
|
7972
7972
|
_: 1
|
|
7973
7973
|
})) : Q("", !0)
|
|
7974
|
-
], 8,
|
|
7974
|
+
], 8, Td));
|
|
7975
7975
|
}
|
|
7976
|
-
}),
|
|
7976
|
+
}), Od = K({
|
|
7977
7977
|
props: {
|
|
7978
7978
|
disabled: {
|
|
7979
7979
|
default: !1,
|
|
@@ -8029,8 +8029,8 @@ const Jo = /* @__PURE__ */ Ve($d, [["render", _d]]), Cd = ["data-name"], Zo = /*
|
|
|
8029
8029
|
}
|
|
8030
8030
|
}
|
|
8031
8031
|
}
|
|
8032
|
-
}),
|
|
8033
|
-
function
|
|
8032
|
+
}), jd = ["disabled"], Fd = ["accept"];
|
|
8033
|
+
function Dd(e, r, n, l, o, a) {
|
|
8034
8034
|
return b(), L(fe, null, [
|
|
8035
8035
|
v("button", {
|
|
8036
8036
|
type: "button",
|
|
@@ -8049,29 +8049,29 @@ function Fd(e, r, n, l, o, a) {
|
|
|
8049
8049
|
dragging: e.dragging,
|
|
8050
8050
|
disabled: e.disabled
|
|
8051
8051
|
})
|
|
8052
|
-
], 42,
|
|
8052
|
+
], 42, jd),
|
|
8053
8053
|
v("input", {
|
|
8054
8054
|
ref: "input",
|
|
8055
8055
|
type: "file",
|
|
8056
8056
|
accept: e.accept,
|
|
8057
8057
|
hidden: "true",
|
|
8058
8058
|
onChange: r[5] || (r[5] = (...s) => e.onInputChange && e.onInputChange(...s))
|
|
8059
|
-
}, null, 40,
|
|
8059
|
+
}, null, 40, Fd)
|
|
8060
8060
|
], 64);
|
|
8061
8061
|
}
|
|
8062
|
-
const Xo = /* @__PURE__ */
|
|
8062
|
+
const Xo = /* @__PURE__ */ Ne(Od, [["render", Dd]]), Pd = {}, Vd = {
|
|
8063
8063
|
class: "animate-spin",
|
|
8064
8064
|
viewBox: "0 0 24 24"
|
|
8065
|
-
},
|
|
8065
|
+
}, Nd = /* @__PURE__ */ v("path", {
|
|
8066
8066
|
fill: "currentColor",
|
|
8067
8067
|
d: "M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"
|
|
8068
|
-
}, null, -1),
|
|
8069
|
-
|
|
8068
|
+
}, null, -1), qd = [
|
|
8069
|
+
Nd
|
|
8070
8070
|
];
|
|
8071
|
-
function
|
|
8072
|
-
return b(), L("svg",
|
|
8071
|
+
function Rd(e, r) {
|
|
8072
|
+
return b(), L("svg", Vd, qd);
|
|
8073
8073
|
}
|
|
8074
|
-
const
|
|
8074
|
+
const Ud = /* @__PURE__ */ Ne(Pd, [["render", Rd]]), zd = {
|
|
8075
8075
|
key: 0,
|
|
8076
8076
|
class: "absolute inset-0 flex h-full w-full items-center justify-center"
|
|
8077
8077
|
}, el = /* @__PURE__ */ K({
|
|
@@ -8125,11 +8125,11 @@ const Rd = /* @__PURE__ */ Ve(Dd, [["render", qd]]), Ud = {
|
|
|
8125
8125
|
"leave-to-class": "opacity-0"
|
|
8126
8126
|
}, {
|
|
8127
8127
|
default: H(() => [
|
|
8128
|
-
h(l) ? (b(), L("div",
|
|
8128
|
+
h(l) ? (b(), L("div", zd, [
|
|
8129
8129
|
v("div", {
|
|
8130
8130
|
class: R(["absolute h-full w-full", e.backdropClass])
|
|
8131
8131
|
}, null, 2),
|
|
8132
|
-
e.size == "sm" ? (b(), ee(
|
|
8132
|
+
e.size == "sm" ? (b(), ee(Ud, {
|
|
8133
8133
|
key: 0,
|
|
8134
8134
|
class: R(e.iconClass)
|
|
8135
8135
|
}, null, 8, ["class"])) : e.size == "lg" ? (b(), ee(Wo, {
|
|
@@ -8141,7 +8141,7 @@ const Rd = /* @__PURE__ */ Ve(Dd, [["render", qd]]), Ud = {
|
|
|
8141
8141
|
_: 1
|
|
8142
8142
|
}, 8, ["enter-active-class", "leave-active-class"]));
|
|
8143
8143
|
}
|
|
8144
|
-
}),
|
|
8144
|
+
}), Hd = { class: "relative" }, tl = /* @__PURE__ */ K({
|
|
8145
8145
|
__name: "BaseFileUploader",
|
|
8146
8146
|
props: {
|
|
8147
8147
|
url: {
|
|
@@ -8208,7 +8208,7 @@ const Rd = /* @__PURE__ */ Ve(Dd, [["render", qd]]), Ud = {
|
|
|
8208
8208
|
a.push({
|
|
8209
8209
|
color: "danger",
|
|
8210
8210
|
title: o.t("sui.error"),
|
|
8211
|
-
text: o.t("sui.the_file_type_is_invalid") + " " + o.t("sui.file_must_be_of_type") + " " +
|
|
8211
|
+
text: o.t("sui.the_file_type_is_invalid") + " " + o.t("sui.file_must_be_of_type") + " " + ku(n.acceptedExtensions, o.t("sui.or")) + "."
|
|
8212
8212
|
}), s.value = !1;
|
|
8213
8213
|
return;
|
|
8214
8214
|
}
|
|
@@ -8236,7 +8236,7 @@ const Rd = /* @__PURE__ */ Ve(Dd, [["render", qd]]), Ud = {
|
|
|
8236
8236
|
function p(f) {
|
|
8237
8237
|
r("upload:success", f);
|
|
8238
8238
|
}
|
|
8239
|
-
return (f, y) => (b(), L("div",
|
|
8239
|
+
return (f, y) => (b(), L("div", Hd, [
|
|
8240
8240
|
z(Xo, {
|
|
8241
8241
|
"button-class": e.buttonClass,
|
|
8242
8242
|
disabled: h(s) || e.disabled,
|
|
@@ -8271,10 +8271,10 @@ const Rd = /* @__PURE__ */ Ve(Dd, [["render", qd]]), Ud = {
|
|
|
8271
8271
|
function vr(e) {
|
|
8272
8272
|
return e === void 0;
|
|
8273
8273
|
}
|
|
8274
|
-
function
|
|
8274
|
+
function Kd(e) {
|
|
8275
8275
|
return e === null;
|
|
8276
8276
|
}
|
|
8277
|
-
function
|
|
8277
|
+
function Gd(e) {
|
|
8278
8278
|
return typeof e == "boolean";
|
|
8279
8279
|
}
|
|
8280
8280
|
function un(e) {
|
|
@@ -8283,13 +8283,13 @@ function un(e) {
|
|
|
8283
8283
|
function Nr(e) {
|
|
8284
8284
|
return Array.isArray(e);
|
|
8285
8285
|
}
|
|
8286
|
-
function
|
|
8286
|
+
function Wd(e) {
|
|
8287
8287
|
return e instanceof Date;
|
|
8288
8288
|
}
|
|
8289
8289
|
function nl(e, r) {
|
|
8290
8290
|
return r ? un(e) && !vr(e.uri) : un(e) && typeof e.size == "number" && typeof e.type == "string" && typeof e.slice == "function";
|
|
8291
8291
|
}
|
|
8292
|
-
function
|
|
8292
|
+
function Qd(e, r) {
|
|
8293
8293
|
return nl(e, r) && typeof e.name == "string" && (un(e.lastModifiedDate) || typeof e.lastModified == "number");
|
|
8294
8294
|
}
|
|
8295
8295
|
function St(e) {
|
|
@@ -8298,10 +8298,10 @@ function St(e) {
|
|
|
8298
8298
|
function Wn(e, r, n, l) {
|
|
8299
8299
|
r = r || {}, n = n || new FormData(), r.indices = St(r.indices), r.nullsAsUndefineds = St(r.nullsAsUndefineds), r.booleansAsIntegers = St(r.booleansAsIntegers), r.allowEmptyArrays = St(r.allowEmptyArrays), r.noFilesWithArrayNotation = St(r.noFilesWithArrayNotation), r.dotsForObjectNotation = St(r.dotsForObjectNotation);
|
|
8300
8300
|
const o = typeof n.getParts == "function";
|
|
8301
|
-
return vr(e) || (
|
|
8301
|
+
return vr(e) || (Kd(e) ? r.nullsAsUndefineds || n.append(l, "") : Gd(e) ? r.booleansAsIntegers ? n.append(l, e ? 1 : 0) : n.append(l, e) : Nr(e) ? e.length ? e.forEach((a, s) => {
|
|
8302
8302
|
let i = l + "[" + (r.indices ? s : "") + "]";
|
|
8303
|
-
r.noFilesWithArrayNotation &&
|
|
8304
|
-
}) : r.allowEmptyArrays && n.append(l + "[]", "") :
|
|
8303
|
+
r.noFilesWithArrayNotation && Qd(a, o) && (i = l), Wn(a, r, n, i);
|
|
8304
|
+
}) : r.allowEmptyArrays && n.append(l + "[]", "") : Wd(e) ? n.append(l, e.toISOString()) : un(e) && !nl(e, o) ? Object.keys(e).forEach((a) => {
|
|
8305
8305
|
const s = e[a];
|
|
8306
8306
|
if (Nr(s))
|
|
8307
8307
|
for (; a.length > 2 && a.lastIndexOf("[]") === a.length - 2; )
|
|
@@ -8310,10 +8310,10 @@ function Wn(e, r, n, l) {
|
|
|
8310
8310
|
Wn(s, r, n, i);
|
|
8311
8311
|
}) : n.append(l, e)), n;
|
|
8312
8312
|
}
|
|
8313
|
-
var
|
|
8313
|
+
var Yd = {
|
|
8314
8314
|
serialize: Wn
|
|
8315
8315
|
}, nn = /* @__PURE__ */ ((e) => (e.post = "post", e.patch = "patch", e))(nn || {}), Qn = /* @__PURE__ */ ((e) => (e.json = "json", e.formData = "formData", e))(Qn || {});
|
|
8316
|
-
const
|
|
8316
|
+
const Jd = { class: "absolute inset-0 flex h-full w-full items-center justify-center" }, Zd = /* @__PURE__ */ v("svg", {
|
|
8317
8317
|
class: "relative h-6 w-6 animate-spin text-blue-600",
|
|
8318
8318
|
viewBox: "0 0 24 24"
|
|
8319
8319
|
}, [
|
|
@@ -8321,7 +8321,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8321
8321
|
fill: "currentColor",
|
|
8322
8322
|
d: "M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"
|
|
8323
8323
|
})
|
|
8324
|
-
], -1),
|
|
8324
|
+
], -1), Xd = /* @__PURE__ */ K({
|
|
8325
8325
|
__name: "BaseForm",
|
|
8326
8326
|
props: {
|
|
8327
8327
|
url: {
|
|
@@ -8396,7 +8396,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8396
8396
|
return;
|
|
8397
8397
|
i.value = !0;
|
|
8398
8398
|
let $ = l.method, u = l.data, m = { "Content-Type": "application/json" };
|
|
8399
|
-
l.format == "formData" && ($ = nn.post, u =
|
|
8399
|
+
l.format == "formData" && ($ = nn.post, u = Yd.serialize(l.data, {
|
|
8400
8400
|
nullsAsUndefineds: !1,
|
|
8401
8401
|
booleansAsIntegers: !0,
|
|
8402
8402
|
allowEmptyArrays: !0
|
|
@@ -8477,11 +8477,11 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8477
8477
|
}, {
|
|
8478
8478
|
default: H(() => [
|
|
8479
8479
|
h(i) ? Y($.$slots, "loading", { key: 0 }, () => [
|
|
8480
|
-
v("div",
|
|
8480
|
+
v("div", Jd, [
|
|
8481
8481
|
v("div", {
|
|
8482
8482
|
class: R(["absolute inset-0 h-full w-full opacity-80", e.loadingMaskClass])
|
|
8483
8483
|
}, null, 2),
|
|
8484
|
-
|
|
8484
|
+
Zd
|
|
8485
8485
|
])
|
|
8486
8486
|
]) : Q("", !0)
|
|
8487
8487
|
]),
|
|
@@ -8489,16 +8489,16 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8489
8489
|
})
|
|
8490
8490
|
], 544));
|
|
8491
8491
|
}
|
|
8492
|
-
}),
|
|
8492
|
+
}), ef = { class: "-m-0.5 flex flex-wrap" }, tf = ["onClick"], nf = { class: "grow p-0.5" }, rf = ["disabled", "value", "placeholder"], of = { class: "relative" }, lf = { class: "absolute top-1 z-menu min-h-[110px] w-full overflow-hidden rounded border border-slate-300 bg-white shadow-md" }, af = { class: "flex items-center justify-center px-5 py-10 text-center text-slate-600" }, sf = {
|
|
8493
8493
|
key: 1,
|
|
8494
8494
|
class: "p-1"
|
|
8495
|
-
},
|
|
8495
|
+
}, uf = ["onClick", "onMousedown"], cf = {
|
|
8496
8496
|
key: 0,
|
|
8497
8497
|
class: "bg-white"
|
|
8498
|
-
},
|
|
8498
|
+
}, df = {
|
|
8499
8499
|
key: 0,
|
|
8500
8500
|
class: "absolute inset-0 h-full w-full space-y-1 bg-white p-2"
|
|
8501
|
-
},
|
|
8501
|
+
}, ff = { class: "space-y-1" }, rl = /* @__PURE__ */ K({
|
|
8502
8502
|
__name: "BaseTagAutocomplete",
|
|
8503
8503
|
props: {
|
|
8504
8504
|
modelValue: {
|
|
@@ -8666,7 +8666,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8666
8666
|
}, se = () => {
|
|
8667
8667
|
Be("");
|
|
8668
8668
|
}, ce = () => {
|
|
8669
|
-
|
|
8669
|
+
Ve(() => {
|
|
8670
8670
|
I.value = Math.max(
|
|
8671
8671
|
0,
|
|
8672
8672
|
Math.min(I.value, O.value.length - 1)
|
|
@@ -8675,24 +8675,24 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8675
8675
|
}, Be = (le) => {
|
|
8676
8676
|
p.value = le, r("typing", le);
|
|
8677
8677
|
}, Ce = N(null);
|
|
8678
|
-
function
|
|
8678
|
+
function qe() {
|
|
8679
8679
|
var de, me;
|
|
8680
8680
|
const le = (me = (de = Ce.value) == null ? void 0 : de.querySelectorAll("button, a")) != null ? me : [];
|
|
8681
8681
|
D(le);
|
|
8682
8682
|
}
|
|
8683
8683
|
return ge(() => {
|
|
8684
|
-
|
|
8684
|
+
qe();
|
|
8685
8685
|
}), dn(
|
|
8686
8686
|
Ce,
|
|
8687
8687
|
() => {
|
|
8688
|
-
|
|
8688
|
+
qe();
|
|
8689
8689
|
},
|
|
8690
8690
|
{ attributes: !1, childList: !0 }
|
|
8691
8691
|
), (le, de) => (b(), L("div", null, [
|
|
8692
8692
|
v("div", {
|
|
8693
8693
|
class: R(["min-h-[42px] rounded border p-1", [h(l) ? "border-red-600" : "border-slate-300"]])
|
|
8694
8694
|
}, [
|
|
8695
|
-
v("div",
|
|
8695
|
+
v("div", ef, [
|
|
8696
8696
|
(b(!0), L(fe, null, ve(h(E), (me) => (b(), L("div", {
|
|
8697
8697
|
key: me.value,
|
|
8698
8698
|
class: "p-0.5"
|
|
@@ -8712,10 +8712,10 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8712
8712
|
class: "flex shrink-0 appearance-none items-center justify-center border-0 bg-transparent pl-1 pr-3 text-xs outline-none",
|
|
8713
8713
|
onClick: (je) => U(je, () => te(me)),
|
|
8714
8714
|
onMousedown: U
|
|
8715
|
-
}, " \u2715 ", 40,
|
|
8715
|
+
}, " \u2715 ", 40, tf))
|
|
8716
8716
|
], 2)
|
|
8717
8717
|
]))), 128)),
|
|
8718
|
-
v("div",
|
|
8718
|
+
v("div", nf, [
|
|
8719
8719
|
v("input", {
|
|
8720
8720
|
ref: "input",
|
|
8721
8721
|
disabled: e.disabled,
|
|
@@ -8727,20 +8727,20 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8727
8727
|
onBlur: $,
|
|
8728
8728
|
onInput: u,
|
|
8729
8729
|
onKeydown: m
|
|
8730
|
-
}, null, 40,
|
|
8730
|
+
}, null, 40, rf)
|
|
8731
8731
|
])
|
|
8732
8732
|
])
|
|
8733
8733
|
], 2),
|
|
8734
|
-
v("div",
|
|
8735
|
-
|
|
8734
|
+
v("div", of, [
|
|
8735
|
+
Re(v("div", lf, [
|
|
8736
8736
|
v("div", {
|
|
8737
8737
|
ref_key: "dropdown",
|
|
8738
8738
|
ref: g,
|
|
8739
8739
|
class: "max-h-[214px] min-h-[75px] w-full overflow-y-auto"
|
|
8740
8740
|
}, [
|
|
8741
8741
|
h(O).length == 0 ? Y(le.$slots, "empty", { key: 0 }, () => [
|
|
8742
|
-
v("div",
|
|
8743
|
-
]) : (b(), L("ul",
|
|
8742
|
+
v("div", af, W(le.$t("sui.nothing_found")), 1)
|
|
8743
|
+
]) : (b(), L("ul", sf, [
|
|
8744
8744
|
(b(!0), L(fe, null, ve(h(O), (me) => (b(), L("li", {
|
|
8745
8745
|
key: me.value,
|
|
8746
8746
|
class: "block"
|
|
@@ -8760,7 +8760,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8760
8760
|
class: R(["rounded px-2 py-1 text-sm", d(me)])
|
|
8761
8761
|
}, W(me.label), 3)
|
|
8762
8762
|
])
|
|
8763
|
-
], 40,
|
|
8763
|
+
], 40, uf)
|
|
8764
8764
|
]))), 128))
|
|
8765
8765
|
]))
|
|
8766
8766
|
], 512),
|
|
@@ -8768,12 +8768,12 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8768
8768
|
ref_key: "footer",
|
|
8769
8769
|
ref: Ce
|
|
8770
8770
|
}, [
|
|
8771
|
-
le.$slots.footer ? (b(), L("div",
|
|
8771
|
+
le.$slots.footer ? (b(), L("div", cf, [
|
|
8772
8772
|
Y(le.$slots, "footer", { options: h(O) })
|
|
8773
8773
|
])) : Q("", !0)
|
|
8774
8774
|
], 512),
|
|
8775
|
-
e.loading ? (b(), L("div",
|
|
8776
|
-
v("div",
|
|
8775
|
+
e.loading ? (b(), L("div", df, [
|
|
8776
|
+
v("div", ff, [
|
|
8777
8777
|
z(yt, {
|
|
8778
8778
|
class: "h-7 w-full",
|
|
8779
8779
|
delay: "0ms"
|
|
@@ -8794,7 +8794,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8794
8794
|
])
|
|
8795
8795
|
]));
|
|
8796
8796
|
}
|
|
8797
|
-
}),
|
|
8797
|
+
}), mf = {
|
|
8798
8798
|
key: 0,
|
|
8799
8799
|
class: "flex h-[80px] items-center justify-center px-3 text-center text-base leading-tight text-slate-600"
|
|
8800
8800
|
}, ol = /* @__PURE__ */ K({
|
|
@@ -8888,13 +8888,13 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8888
8888
|
]),
|
|
8889
8889
|
empty: H((E) => [
|
|
8890
8890
|
Y(M.$slots, "empty", at(E, { firstSearch: h(a) }), () => [
|
|
8891
|
-
h(a) ? (b(), L("div",
|
|
8891
|
+
h(a) ? (b(), L("div", mf, W(M.$t("sui.nothing_found")), 1)) : Q("", !0)
|
|
8892
8892
|
])
|
|
8893
8893
|
]),
|
|
8894
8894
|
_: 3
|
|
8895
8895
|
}, 8, ["loading", "model-value", "disabled", "placeholder", "options", "value-key", "label-key", "has-error", "max", "filter"]));
|
|
8896
8896
|
}
|
|
8897
|
-
}),
|
|
8897
|
+
}), pf = /* @__PURE__ */ K({
|
|
8898
8898
|
__name: "BaseHasMany",
|
|
8899
8899
|
props: {
|
|
8900
8900
|
modelValue: {
|
|
@@ -8985,10 +8985,10 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
8985
8985
|
_: 3
|
|
8986
8986
|
}, 8, ["model-value", "url", "disabled", "placeholder", "required", "value-key", "label-key", "has-error", "query-key", "max"]));
|
|
8987
8987
|
}
|
|
8988
|
-
}),
|
|
8988
|
+
}), hf = ["src", "alt"], vf = ["src", "alt"], gf = {
|
|
8989
8989
|
key: 2,
|
|
8990
8990
|
class: "flex h-full w-full items-center justify-center bg-slate-100"
|
|
8991
|
-
},
|
|
8991
|
+
}, yf = {
|
|
8992
8992
|
key: 3,
|
|
8993
8993
|
class: "text-xs font-semibold uppercase leading-tight text-slate-600"
|
|
8994
8994
|
}, ll = /* @__PURE__ */ K({
|
|
@@ -9020,12 +9020,12 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9020
9020
|
src: h(a),
|
|
9021
9021
|
class: "h-full w-full bg-black object-contain object-center",
|
|
9022
9022
|
alt: h(n)
|
|
9023
|
-
}, null, 8,
|
|
9023
|
+
}, null, 8, hf)) : h(l) == "image" && "data_url" in e.media ? (b(), L("img", {
|
|
9024
9024
|
key: 1,
|
|
9025
9025
|
src: e.media.data_url,
|
|
9026
9026
|
class: "h-full w-full bg-black object-contain object-center",
|
|
9027
9027
|
alt: h(n)
|
|
9028
|
-
}, null, 8,
|
|
9028
|
+
}, null, 8, vf)) : (b(), L("div", gf, [
|
|
9029
9029
|
h(o) == "pdf" ? (b(), ee(h(he), {
|
|
9030
9030
|
key: 0,
|
|
9031
9031
|
class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
|
|
@@ -9038,13 +9038,13 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9038
9038
|
key: 2,
|
|
9039
9039
|
class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
|
|
9040
9040
|
icon: "mdi:music"
|
|
9041
|
-
})) : (b(), L("span",
|
|
9041
|
+
})) : (b(), L("span", yf, W(h(o)), 1))
|
|
9042
9042
|
]))
|
|
9043
9043
|
]),
|
|
9044
9044
|
_: 1
|
|
9045
9045
|
}, 8, ["href", "class"]));
|
|
9046
9046
|
}
|
|
9047
|
-
}),
|
|
9047
|
+
}), bf = { class: "rounded bg-white shadow" }, wf = { class: "relative flex" }, xf = { class: "shrink-0" }, kf = { class: "text-left leading-tight" }, Sf = { class: "mb-px grow truncate text-[13px] font-medium" }, $f = { class: "shrink-0 text-[10px] text-slate-400" }, Bf = {
|
|
9048
9048
|
key: 0,
|
|
9049
9049
|
class: "shrink-0 p-0.5"
|
|
9050
9050
|
}, Yn = /* @__PURE__ */ K({
|
|
@@ -9062,9 +9062,9 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9062
9062
|
emits: ["remove"],
|
|
9063
9063
|
setup(e) {
|
|
9064
9064
|
const r = e, n = A(() => r.media.file_name), l = A(() => hr(r.media.size)), o = A(() => "url" in r.media ? r.media.url : null);
|
|
9065
|
-
return (a, s) => (b(), L("div",
|
|
9066
|
-
v("div",
|
|
9067
|
-
v("div",
|
|
9065
|
+
return (a, s) => (b(), L("div", bf, [
|
|
9066
|
+
v("div", wf, [
|
|
9067
|
+
v("div", xf, [
|
|
9068
9068
|
z(ll, {
|
|
9069
9069
|
class: "h-12 w-12 rounded-l",
|
|
9070
9070
|
media: e.media
|
|
@@ -9076,14 +9076,14 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9076
9076
|
class: "flex grow items-center overflow-hidden px-3"
|
|
9077
9077
|
}, {
|
|
9078
9078
|
default: H(() => [
|
|
9079
|
-
v("div",
|
|
9080
|
-
v("p",
|
|
9081
|
-
v("p",
|
|
9079
|
+
v("div", kf, [
|
|
9080
|
+
v("p", Sf, W(h(n)), 1),
|
|
9081
|
+
v("p", $f, W(h(l)), 1)
|
|
9082
9082
|
])
|
|
9083
9083
|
]),
|
|
9084
9084
|
_: 1
|
|
9085
9085
|
}, 8, ["href"])),
|
|
9086
|
-
e.showRemove ? (b(), L("div",
|
|
9086
|
+
e.showRemove ? (b(), L("div", Bf, [
|
|
9087
9087
|
v("button", {
|
|
9088
9088
|
type: "button",
|
|
9089
9089
|
class: "rounded-full bg-white p-1 text-slate-400 hover:bg-slate-100",
|
|
@@ -9098,10 +9098,10 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9098
9098
|
])
|
|
9099
9099
|
]));
|
|
9100
9100
|
}
|
|
9101
|
-
}),
|
|
9101
|
+
}), _f = { class: "text-center" }, Cf = { class: "mb-0 text-sm font-medium leading-tight" }, If = { class: "mt-1 text-xs leading-tight text-slate-500" }, Ef = { key: 0 }, Af = {
|
|
9102
9102
|
key: 0,
|
|
9103
9103
|
class: "mt-5"
|
|
9104
|
-
},
|
|
9104
|
+
}, Tf = { class: "-m-1 flex flex-wrap" }, Lf = /* @__PURE__ */ K({
|
|
9105
9105
|
__name: "BaseMediaLibrary",
|
|
9106
9106
|
props: {
|
|
9107
9107
|
modelValue: {
|
|
@@ -9264,10 +9264,10 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9264
9264
|
icon: "heroicons:arrow-up-on-square",
|
|
9265
9265
|
class: "mx-auto mb-3 h-6 w-6 text-slate-500"
|
|
9266
9266
|
}),
|
|
9267
|
-
v("div",
|
|
9268
|
-
v("p",
|
|
9269
|
-
v("div",
|
|
9270
|
-
h(t) ? (b(), L("p",
|
|
9267
|
+
v("div", _f, [
|
|
9268
|
+
v("p", Cf, W(x.$t("sui.drop_or_click_to_upload")), 1),
|
|
9269
|
+
v("div", If, [
|
|
9270
|
+
h(t) ? (b(), L("p", Ef, W(h(t)), 1)) : Q("", !0),
|
|
9271
9271
|
v("p", null, W(h(O)), 1)
|
|
9272
9272
|
])
|
|
9273
9273
|
])
|
|
@@ -9277,8 +9277,8 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9277
9277
|
]),
|
|
9278
9278
|
_: 3
|
|
9279
9279
|
}, 8, ["max-size", "disabled", "accept", "accepted-extensions", "url"]),
|
|
9280
|
-
h(f).length + h(y).to_add.length ? (b(), L("div",
|
|
9281
|
-
v("div",
|
|
9280
|
+
h(f).length + h(y).to_add.length ? (b(), L("div", Af, [
|
|
9281
|
+
v("div", Tf, [
|
|
9282
9282
|
(b(!0), L(fe, null, ve(h(f), (m, d) => (b(), L("div", {
|
|
9283
9283
|
key: m.id,
|
|
9284
9284
|
class: "min-w-[220px] flex-1 p-1"
|
|
@@ -9314,7 +9314,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9314
9314
|
]);
|
|
9315
9315
|
};
|
|
9316
9316
|
}
|
|
9317
|
-
}),
|
|
9317
|
+
}), Mf = { class: "pt-safe grow" }, Of = /* @__PURE__ */ K({
|
|
9318
9318
|
__name: "BaseModalCenter",
|
|
9319
9319
|
props: {
|
|
9320
9320
|
modelValue: {
|
|
@@ -9350,7 +9350,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9350
9350
|
"leave-active-class": "duration-200"
|
|
9351
9351
|
}, {
|
|
9352
9352
|
default: H(() => [
|
|
9353
|
-
|
|
9353
|
+
Re(v("div", null, [
|
|
9354
9354
|
v("div", {
|
|
9355
9355
|
ref_key: "allow",
|
|
9356
9356
|
ref: l,
|
|
@@ -9363,7 +9363,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9363
9363
|
"sm:items-start": e.verticalAlign == "top"
|
|
9364
9364
|
}])
|
|
9365
9365
|
}, [
|
|
9366
|
-
v("div",
|
|
9366
|
+
v("div", Mf, [
|
|
9367
9367
|
z(Ge, {
|
|
9368
9368
|
appear: "",
|
|
9369
9369
|
"enter-active-class": "duration-300 ease-out",
|
|
@@ -9425,7 +9425,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9425
9425
|
]);
|
|
9426
9426
|
};
|
|
9427
9427
|
}
|
|
9428
|
-
}),
|
|
9428
|
+
}), jf = { class: "flex h-16 justify-between" }, Ff = { class: "grow" }, Df = { class: "-mr-2 flex items-center md:hidden" }, Pf = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open main menu", -1), al = /* @__PURE__ */ K({
|
|
9429
9429
|
__name: "BaseNavbar",
|
|
9430
9430
|
props: {
|
|
9431
9431
|
size: {
|
|
@@ -9453,11 +9453,11 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9453
9453
|
}, [
|
|
9454
9454
|
z(vo, { size: e.size }, {
|
|
9455
9455
|
default: H(() => [
|
|
9456
|
-
v("div",
|
|
9457
|
-
v("div",
|
|
9456
|
+
v("div", jf, [
|
|
9457
|
+
v("div", Ff, [
|
|
9458
9458
|
Y(a.$slots, "navbar")
|
|
9459
9459
|
]),
|
|
9460
|
-
v("div",
|
|
9460
|
+
v("div", Df, [
|
|
9461
9461
|
v("button", {
|
|
9462
9462
|
type: "button",
|
|
9463
9463
|
class: R(["inline-flex items-center justify-center rounded-md p-2 focus:outline-none focus:ring-2 focus:ring-offset-2", [
|
|
@@ -9465,7 +9465,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9465
9465
|
]]),
|
|
9466
9466
|
onClick: s[0] || (s[0] = (i) => n())
|
|
9467
9467
|
}, [
|
|
9468
|
-
|
|
9468
|
+
Pf,
|
|
9469
9469
|
h(r) ? (b(), ee(h(he), {
|
|
9470
9470
|
key: 1,
|
|
9471
9471
|
icon: "heroicons:x-mark",
|
|
@@ -9495,7 +9495,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9495
9495
|
], 2)) : Q("", !0)
|
|
9496
9496
|
], 2));
|
|
9497
9497
|
}
|
|
9498
|
-
}),
|
|
9498
|
+
}), Vf = { class: "group flex grow items-center" }, Nf = {
|
|
9499
9499
|
key: 0,
|
|
9500
9500
|
class: "relative -top-px ml-[5px]"
|
|
9501
9501
|
}, sl = /* @__PURE__ */ K({
|
|
@@ -9537,7 +9537,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9537
9537
|
return (o, a) => (b(), L("div", {
|
|
9538
9538
|
class: R(h(n))
|
|
9539
9539
|
}, [
|
|
9540
|
-
v("div",
|
|
9540
|
+
v("div", Vf, [
|
|
9541
9541
|
e.icon ? (b(), ee(h(he), {
|
|
9542
9542
|
key: 0,
|
|
9543
9543
|
icon: e.icon,
|
|
@@ -9545,7 +9545,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9545
9545
|
}, null, 8, ["icon", "class"])) : Q("", !0),
|
|
9546
9546
|
We(" " + W(e.label), 1)
|
|
9547
9547
|
]),
|
|
9548
|
-
e.count ? (b(), L("div",
|
|
9548
|
+
e.count ? (b(), L("div", Nf, [
|
|
9549
9549
|
z(Nt, {
|
|
9550
9550
|
count: e.count,
|
|
9551
9551
|
"max-digit": 2,
|
|
@@ -9554,7 +9554,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9554
9554
|
])) : Q("", !0)
|
|
9555
9555
|
], 2));
|
|
9556
9556
|
}
|
|
9557
|
-
}),
|
|
9557
|
+
}), qf = { class: "flex" }, il = /* @__PURE__ */ K({
|
|
9558
9558
|
__name: "BaseNavbarItem",
|
|
9559
9559
|
props: {
|
|
9560
9560
|
item: {
|
|
@@ -9572,7 +9572,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9572
9572
|
async function l() {
|
|
9573
9573
|
r("click"), n();
|
|
9574
9574
|
}
|
|
9575
|
-
return (o, a) => (b(), L("div",
|
|
9575
|
+
return (o, a) => (b(), L("div", qf, [
|
|
9576
9576
|
z(Xn, {
|
|
9577
9577
|
item: e.item,
|
|
9578
9578
|
dark: e.dark,
|
|
@@ -9592,7 +9592,7 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9592
9592
|
}, 8, ["item", "dark"])
|
|
9593
9593
|
]));
|
|
9594
9594
|
}
|
|
9595
|
-
}),
|
|
9595
|
+
}), Rf = K({
|
|
9596
9596
|
props: {
|
|
9597
9597
|
title: {
|
|
9598
9598
|
required: !0,
|
|
@@ -9607,24 +9607,24 @@ const Yd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
9607
9607
|
type: Boolean
|
|
9608
9608
|
}
|
|
9609
9609
|
}
|
|
9610
|
-
}),
|
|
9610
|
+
}), Uf = { class: "px-4 md:col-span-1 md:px-0" }, zf = { class: "text-lg font-medium leading-tight text-slate-900" }, Hf = {
|
|
9611
9611
|
key: 0,
|
|
9612
9612
|
class: "mt-2 text-sm leading-tight text-slate-500"
|
|
9613
|
-
},
|
|
9614
|
-
function
|
|
9613
|
+
}, Kf = { class: "mt-5 md:col-span-2 md:mt-0" };
|
|
9614
|
+
function Gf(e, r, n, l, o, a) {
|
|
9615
9615
|
return b(), L("div", {
|
|
9616
9616
|
class: R(["pb-8 md:grid md:grid-cols-3 md:gap-8", [e.bordered ? "mb-8 border-b border-slate-300" : ""]])
|
|
9617
9617
|
}, [
|
|
9618
|
-
v("div",
|
|
9619
|
-
v("h3",
|
|
9620
|
-
e.description ? (b(), L("p",
|
|
9618
|
+
v("div", Uf, [
|
|
9619
|
+
v("h3", zf, W(e.title), 1),
|
|
9620
|
+
e.description ? (b(), L("p", Hf, W(e.description), 1)) : Q("", !0)
|
|
9621
9621
|
]),
|
|
9622
|
-
v("div",
|
|
9622
|
+
v("div", Kf, [
|
|
9623
9623
|
Y(e.$slots, "default")
|
|
9624
9624
|
])
|
|
9625
9625
|
], 2);
|
|
9626
9626
|
}
|
|
9627
|
-
const
|
|
9627
|
+
const Wf = /* @__PURE__ */ Ne(Rf, [["render", Gf]]), Qf = ["value", "type", "name", "disabled", "placeholder", "required"], Yf = { class: "flex shrink-0 pl-3" }, Jf = ["disabled"], Zf = /* @__PURE__ */ K({
|
|
9628
9628
|
__name: "BasePassword",
|
|
9629
9629
|
props: {
|
|
9630
9630
|
modelValue: {
|
|
@@ -9680,8 +9680,8 @@ const Gf = /* @__PURE__ */ Ve(qf, [["render", Kf]]), Wf = ["value", "type", "nam
|
|
|
9680
9680
|
required: h(o),
|
|
9681
9681
|
class: "grow rounded-l rounded-r-none border-none focus:ring-2 focus:ring-primary-500 disabled:cursor-not-allowed",
|
|
9682
9682
|
onInput: p
|
|
9683
|
-
}, null, 40,
|
|
9684
|
-
v("div",
|
|
9683
|
+
}, null, 40, Qf),
|
|
9684
|
+
v("div", Yf, [
|
|
9685
9685
|
v("button", {
|
|
9686
9686
|
tabindex: "-1",
|
|
9687
9687
|
type: "button",
|
|
@@ -9698,11 +9698,11 @@ const Gf = /* @__PURE__ */ Ve(qf, [["render", Kf]]), Wf = ["value", "type", "nam
|
|
|
9698
9698
|
icon: "heroicons:eye-slash-20-solid",
|
|
9699
9699
|
class: "h-5 w-5"
|
|
9700
9700
|
}))
|
|
9701
|
-
], 8,
|
|
9701
|
+
], 8, Jf)
|
|
9702
9702
|
])
|
|
9703
9703
|
], 2));
|
|
9704
9704
|
}
|
|
9705
|
-
}),
|
|
9705
|
+
}), Xf = K({
|
|
9706
9706
|
props: {
|
|
9707
9707
|
radius: {
|
|
9708
9708
|
default: 10,
|
|
@@ -9732,8 +9732,8 @@ const Gf = /* @__PURE__ */ Ve(qf, [["render", Kf]]), Wf = ["value", "type", "nam
|
|
|
9732
9732
|
}
|
|
9733
9733
|
}
|
|
9734
9734
|
});
|
|
9735
|
-
const
|
|
9736
|
-
function
|
|
9735
|
+
const em = ["height", "width"], tm = ["stroke-width", "r", "cx", "cy"], nm = ["stroke-dasharray", "stroke-width", "r", "cx", "cy"], rm = ["x", "y"];
|
|
9736
|
+
function om(e, r, n, l, o, a) {
|
|
9737
9737
|
return b(), L("svg", {
|
|
9738
9738
|
height: e.radius * 2,
|
|
9739
9739
|
width: e.radius * 2
|
|
@@ -9746,7 +9746,7 @@ function rm(e, r, n, l, o, a) {
|
|
|
9746
9746
|
r: e.normalizedRadius,
|
|
9747
9747
|
cx: e.radius,
|
|
9748
9748
|
cy: e.radius
|
|
9749
|
-
}, null, 8,
|
|
9749
|
+
}, null, 8, tm),
|
|
9750
9750
|
v("circle", {
|
|
9751
9751
|
stroke: "currentColor",
|
|
9752
9752
|
"stroke-dasharray": `${e.circumference} ${e.circumference}`,
|
|
@@ -9756,17 +9756,17 @@ function rm(e, r, n, l, o, a) {
|
|
|
9756
9756
|
r: e.normalizedRadius,
|
|
9757
9757
|
cx: e.radius,
|
|
9758
9758
|
cy: e.radius
|
|
9759
|
-
}, null, 12,
|
|
9759
|
+
}, null, 12, nm),
|
|
9760
9760
|
v("text", {
|
|
9761
9761
|
"text-anchor": "middle",
|
|
9762
9762
|
"alignment-baseline": "middle",
|
|
9763
9763
|
x: e.radius,
|
|
9764
9764
|
y: e.radius + e.fontSize / 10,
|
|
9765
9765
|
style: Pe({ fontSize: e.fontSize + "px", fontWeight: 600 })
|
|
9766
|
-
}, W(Math.round(e.progress * 100)) + "% ", 13,
|
|
9767
|
-
], 8,
|
|
9766
|
+
}, W(Math.round(e.progress * 100)) + "% ", 13, rm)
|
|
9767
|
+
], 8, em);
|
|
9768
9768
|
}
|
|
9769
|
-
const
|
|
9769
|
+
const lm = /* @__PURE__ */ Ne(Xf, [["render", om], ["__scopeId", "data-v-e5ae83e3"]]), am = { class: "space-y-3" }, sm = ["for"], im = ["id", "name", "checked", "required", "disabled", "value", "onInput"], um = { class: "text-sm" }, cm = /* @__PURE__ */ K({
|
|
9770
9770
|
__name: "BaseRadioGroup",
|
|
9771
9771
|
props: {
|
|
9772
9772
|
modelValue: {
|
|
@@ -9827,7 +9827,7 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
9827
9827
|
A(() => !1)
|
|
9828
9828
|
);
|
|
9829
9829
|
return (p, f) => (b(), L("div", null, [
|
|
9830
|
-
v("ul",
|
|
9830
|
+
v("ul", am, [
|
|
9831
9831
|
(b(!0), L(fe, null, ve(h(s), (y) => (b(), L("li", {
|
|
9832
9832
|
key: y.value
|
|
9833
9833
|
}, [
|
|
@@ -9845,16 +9845,16 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
9845
9845
|
value: y.value,
|
|
9846
9846
|
class: R(e.inputClass),
|
|
9847
9847
|
onInput: (g) => h(a)(y.option)
|
|
9848
|
-
}, null, 42,
|
|
9848
|
+
}, null, 42, im),
|
|
9849
9849
|
Y(p.$slots, "option", { option: y }, () => [
|
|
9850
|
-
v("span",
|
|
9850
|
+
v("span", um, W(y.label), 1)
|
|
9851
9851
|
])
|
|
9852
|
-
], 10,
|
|
9852
|
+
], 10, sm)
|
|
9853
9853
|
]))), 128))
|
|
9854
9854
|
])
|
|
9855
9855
|
]));
|
|
9856
9856
|
}
|
|
9857
|
-
}),
|
|
9857
|
+
}), dm = { class: "text-base font-medium" }, fm = /* @__PURE__ */ K({
|
|
9858
9858
|
__name: "BaseReadMore",
|
|
9859
9859
|
props: {
|
|
9860
9860
|
maxLines: {
|
|
@@ -9872,7 +9872,7 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
9872
9872
|
s(), dn(
|
|
9873
9873
|
n.value,
|
|
9874
9874
|
() => {
|
|
9875
|
-
l.value = !1,
|
|
9875
|
+
l.value = !1, Ve(() => {
|
|
9876
9876
|
s();
|
|
9877
9877
|
});
|
|
9878
9878
|
},
|
|
@@ -9901,11 +9901,11 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
9901
9901
|
class: "mt-1 inline appearance-none border-b border-dashed border-slate-400 bg-transparent px-0.5 py-0 text-slate-900 hover:text-slate-600",
|
|
9902
9902
|
onClick: p[0] || (p[0] = (f) => l.value = !0)
|
|
9903
9903
|
}, [
|
|
9904
|
-
v("span",
|
|
9904
|
+
v("span", dm, W(i.$t("sui.read_more")), 1)
|
|
9905
9905
|
])) : Q("", !0)
|
|
9906
9906
|
]));
|
|
9907
9907
|
}
|
|
9908
|
-
}),
|
|
9908
|
+
}), mm = ["value", "name", "disabled", "required"], pm = /* @__PURE__ */ K({
|
|
9909
9909
|
__name: "BaseSelect",
|
|
9910
9910
|
props: {
|
|
9911
9911
|
modelValue: {
|
|
@@ -9935,7 +9935,7 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
9935
9935
|
},
|
|
9936
9936
|
emits: ["update:modelValue"],
|
|
9937
9937
|
setup(e, { emit: r }) {
|
|
9938
|
-
const n = e, l = "", o = null, a =
|
|
9938
|
+
const n = e, l = "", o = null, a = Fl(), s = N(null), { nameInternal: i, requiredInternal: p, hasErrorInternal: f, emitUpdate: y } = ze({
|
|
9939
9939
|
name: A(() => n.name),
|
|
9940
9940
|
required: A(() => n.required),
|
|
9941
9941
|
hasError: A(() => n.hasError),
|
|
@@ -9950,11 +9950,15 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
9950
9950
|
const T = A(() => g(n.modelValue) || !S() ? l : n.modelValue);
|
|
9951
9951
|
function S() {
|
|
9952
9952
|
var t, O;
|
|
9953
|
-
return n.modelValue === o ? !0 : [...(O = (t = s.value) == null ? void 0 : t.options) != null ? O : []].findIndex((D) =>
|
|
9953
|
+
return n.modelValue === o ? !0 : [...(O = (t = s.value) == null ? void 0 : t.options) != null ? O : []].findIndex((D) => Ol(D.value, n.modelValue)) != -1;
|
|
9954
9954
|
}
|
|
9955
9955
|
Ae(
|
|
9956
9956
|
() => n.modelValue,
|
|
9957
|
-
() =>
|
|
9957
|
+
() => {
|
|
9958
|
+
Ve(() => {
|
|
9959
|
+
M();
|
|
9960
|
+
});
|
|
9961
|
+
}
|
|
9958
9962
|
), ge(() => {
|
|
9959
9963
|
M();
|
|
9960
9964
|
});
|
|
@@ -9993,15 +9997,15 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
9993
9997
|
value: l
|
|
9994
9998
|
}, W(e.placeholder ? e.placeholder : E.$t("sui.select_an_option")), 1)),
|
|
9995
9999
|
Y(E.$slots, "default")
|
|
9996
|
-
], 42,
|
|
10000
|
+
], 42, mm));
|
|
9997
10001
|
}
|
|
9998
|
-
}),
|
|
10002
|
+
}), hm = { class: "whitespace-pre-line p-4" }, vm = { class: "text-md font-semibold" }, gm = {
|
|
9999
10003
|
key: 0,
|
|
10000
10004
|
class: "mt-1 mb-3 whitespace-pre-line text-sm text-slate-500 line-clamp-2"
|
|
10001
|
-
},
|
|
10005
|
+
}, ym = {
|
|
10002
10006
|
key: 1,
|
|
10003
10007
|
class: "flex items-center justify-start text-sm font-medium"
|
|
10004
|
-
},
|
|
10008
|
+
}, bm = { class: "mr-1 leading-none" }, wm = /* @__PURE__ */ K({
|
|
10005
10009
|
__name: "BaseShortcut",
|
|
10006
10010
|
props: {
|
|
10007
10011
|
to: {
|
|
@@ -10041,7 +10045,7 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
10041
10045
|
default: H(() => [
|
|
10042
10046
|
z(s, { to: e.to }, {
|
|
10043
10047
|
default: H(() => [
|
|
10044
|
-
v("section",
|
|
10048
|
+
v("section", hm, [
|
|
10045
10049
|
v("div", {
|
|
10046
10050
|
class: R(["mb-2.5 inline-flex items-center rounded p-2", [h(n)]])
|
|
10047
10051
|
}, [
|
|
@@ -10051,10 +10055,10 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
10051
10055
|
class: R(h(l))
|
|
10052
10056
|
}, null, 8, ["icon", "class"])) : Q("", !0)
|
|
10053
10057
|
], 2),
|
|
10054
|
-
v("div",
|
|
10055
|
-
e.description ? (b(), L("div",
|
|
10056
|
-
e.linkText ? (b(), L("div",
|
|
10057
|
-
v("div",
|
|
10058
|
+
v("div", vm, W(e.title), 1),
|
|
10059
|
+
e.description ? (b(), L("div", gm, W(e.description), 1)) : Q("", !0),
|
|
10060
|
+
e.linkText ? (b(), L("div", ym, [
|
|
10061
|
+
v("div", bm, W(e.linkText), 1),
|
|
10058
10062
|
v("div", null, [
|
|
10059
10063
|
z(h(he), {
|
|
10060
10064
|
icon: "heroicons:arrow-right-20-solid",
|
|
@@ -10071,21 +10075,21 @@ const om = /* @__PURE__ */ Ve(Zf, [["render", rm], ["__scopeId", "data-v-e5ae83e
|
|
|
10071
10075
|
});
|
|
10072
10076
|
};
|
|
10073
10077
|
}
|
|
10074
|
-
}),
|
|
10078
|
+
}), xm = {}, km = {
|
|
10075
10079
|
"aria-label": "Sidebar",
|
|
10076
10080
|
class: "relative"
|
|
10077
|
-
},
|
|
10078
|
-
function
|
|
10079
|
-
return b(), L("nav",
|
|
10080
|
-
|
|
10081
|
-
v("div",
|
|
10082
|
-
v("div",
|
|
10081
|
+
}, Sm = /* @__PURE__ */ v("div", { class: "absolute bottom-0 left-0 h-full w-px bg-slate-300" }, null, -1), $m = { class: "relative overflow-x-auto overflow-y-hidden" }, Bm = { class: "space-y-2" };
|
|
10082
|
+
function _m(e, r) {
|
|
10083
|
+
return b(), L("nav", km, [
|
|
10084
|
+
Sm,
|
|
10085
|
+
v("div", $m, [
|
|
10086
|
+
v("div", Bm, [
|
|
10083
10087
|
Y(e.$slots, "default")
|
|
10084
10088
|
])
|
|
10085
10089
|
])
|
|
10086
10090
|
]);
|
|
10087
10091
|
}
|
|
10088
|
-
const
|
|
10092
|
+
const Cm = /* @__PURE__ */ Ne(xm, [["render", _m]]), Im = ["href", "disabled", "onClick"], Em = /* @__PURE__ */ K({
|
|
10089
10093
|
__name: "BaseSideNavigationItem",
|
|
10090
10094
|
props: {
|
|
10091
10095
|
to: {
|
|
@@ -10127,13 +10131,13 @@ const _m = /* @__PURE__ */ Ve(wm, [["render", Bm]]), Cm = ["href", "disabled", "
|
|
|
10127
10131
|
]])
|
|
10128
10132
|
}, null, 2),
|
|
10129
10133
|
Y(l.$slots, "default")
|
|
10130
|
-
], 10,
|
|
10134
|
+
], 10, Im)
|
|
10131
10135
|
]),
|
|
10132
10136
|
_: 3
|
|
10133
10137
|
}, 8, ["to"]);
|
|
10134
10138
|
};
|
|
10135
10139
|
}
|
|
10136
|
-
}),
|
|
10140
|
+
}), Am = K({
|
|
10137
10141
|
components: { BaseIcon: he },
|
|
10138
10142
|
props: {
|
|
10139
10143
|
label: {
|
|
@@ -10174,36 +10178,36 @@ const _m = /* @__PURE__ */ Ve(wm, [["render", Bm]]), Cm = ["href", "disabled", "
|
|
|
10174
10178
|
return "items-center justify-center";
|
|
10175
10179
|
}
|
|
10176
10180
|
}
|
|
10177
|
-
}),
|
|
10178
|
-
function
|
|
10181
|
+
}), Tm = { class: "mb-0.5 text-base font-medium" }, Lm = { class: "text-3xl font-bold leading-tight" }, Mm = { key: 0 }, Om = { class: "text-lg" }, jm = { class: "text-base text-slate-500" };
|
|
10182
|
+
function Fm(e, r, n, l, o, a) {
|
|
10179
10183
|
const s = Se("BaseIcon");
|
|
10180
10184
|
return b(), L("div", {
|
|
10181
10185
|
class: R(["inline-flex rounded-xl p-4", [e.centerClass]])
|
|
10182
10186
|
}, [
|
|
10183
10187
|
v("section", null, [
|
|
10184
|
-
v("header",
|
|
10188
|
+
v("header", Tm, W(e.label), 1),
|
|
10185
10189
|
v("div", {
|
|
10186
10190
|
class: R(["flex", [e.centerClass]])
|
|
10187
10191
|
}, [
|
|
10188
|
-
v("div",
|
|
10192
|
+
v("div", Lm, W(e.primaryValue), 1),
|
|
10189
10193
|
e.secondaryValue ? (b(), L("div", {
|
|
10190
10194
|
key: 0,
|
|
10191
10195
|
class: R(["ml-1 flex rounded-md px-1 text-lg font-bold", [e.backgroundClass, e.textClass, e.centerClass]])
|
|
10192
10196
|
}, [
|
|
10193
|
-
e.trend ? (b(), L("div",
|
|
10197
|
+
e.trend ? (b(), L("div", Mm, [
|
|
10194
10198
|
z(s, {
|
|
10195
10199
|
icon: e.icon,
|
|
10196
10200
|
class: R(e.iconClass)
|
|
10197
10201
|
}, null, 8, ["icon", "class"])
|
|
10198
10202
|
])) : Q("", !0),
|
|
10199
|
-
v("div",
|
|
10203
|
+
v("div", Om, W(e.secondaryValue), 1)
|
|
10200
10204
|
], 2)) : Q("", !0)
|
|
10201
10205
|
], 2),
|
|
10202
|
-
v("footer",
|
|
10206
|
+
v("footer", jm, W(e.caption), 1)
|
|
10203
10207
|
])
|
|
10204
10208
|
], 2);
|
|
10205
10209
|
}
|
|
10206
|
-
const
|
|
10210
|
+
const Dm = /* @__PURE__ */ Ne(Am, [["render", Fm]]), Pm = { class: "inline-flex items-center space-x-3" }, Vm = /* @__PURE__ */ K({
|
|
10207
10211
|
__name: "BaseSwitch",
|
|
10208
10212
|
props: {
|
|
10209
10213
|
modelValue: {
|
|
@@ -10242,10 +10246,10 @@ const Fm = /* @__PURE__ */ Ve(Em, [["render", jm]]), Dm = { class: "inline-flex
|
|
|
10242
10246
|
function I(T) {
|
|
10243
10247
|
l(T);
|
|
10244
10248
|
}
|
|
10245
|
-
return (T, S) => (b(), ee(h(
|
|
10249
|
+
return (T, S) => (b(), ee(h(Yi), null, {
|
|
10246
10250
|
default: H(() => [
|
|
10247
|
-
v("div",
|
|
10248
|
-
z(h(
|
|
10251
|
+
v("div", Pm, [
|
|
10252
|
+
z(h(Ji), {
|
|
10249
10253
|
"model-value": e.modelValue,
|
|
10250
10254
|
class: R([
|
|
10251
10255
|
e.modelValue ? h(o) : "bg-slate-200",
|
|
@@ -10271,7 +10275,7 @@ const Fm = /* @__PURE__ */ Ve(Em, [["render", jm]]), Dm = { class: "inline-flex
|
|
|
10271
10275
|
]),
|
|
10272
10276
|
_: 1
|
|
10273
10277
|
}, 8, ["model-value", "class", "style"]),
|
|
10274
|
-
T.$slots.default ? (b(), ee(h(
|
|
10278
|
+
T.$slots.default ? (b(), ee(h(Zi), {
|
|
10275
10279
|
key: 0,
|
|
10276
10280
|
class: "cursor-pointer"
|
|
10277
10281
|
}, {
|
|
@@ -10285,7 +10289,7 @@ const Fm = /* @__PURE__ */ Ve(Em, [["render", jm]]), Dm = { class: "inline-flex
|
|
|
10285
10289
|
_: 3
|
|
10286
10290
|
}));
|
|
10287
10291
|
}
|
|
10288
|
-
}),
|
|
10292
|
+
}), Nm = { class: "relative" }, qm = { class: "max-w-4xl" }, Rm = {
|
|
10289
10293
|
key: 0,
|
|
10290
10294
|
class: "absolute top-0 right-0 p-3"
|
|
10291
10295
|
}, gr = /* @__PURE__ */ K({
|
|
@@ -10317,7 +10321,7 @@ const Fm = /* @__PURE__ */ Ve(Em, [["render", jm]]), Dm = { class: "inline-flex
|
|
|
10317
10321
|
const o = A(() => n.to ? "RouterLink" : n.action ? "button" : "div"), a = A(() => n.color == "info" ? "bg-blue-500 text-white" : n.color == "success" ? "bg-green-600 text-white" : n.color == "danger" ? "bg-red-600 text-white" : n.color == "warning" ? "bg-yellow-400 text-yellow-900" : "bg-slate-900 text-white");
|
|
10318
10322
|
return (s, i) => {
|
|
10319
10323
|
const p = Se("BaseIcon");
|
|
10320
|
-
return b(), L("div",
|
|
10324
|
+
return b(), L("div", Nm, [
|
|
10321
10325
|
(b(), ee(Vt(h(o)), {
|
|
10322
10326
|
type: h(o) == "button" ? "button" : void 0,
|
|
10323
10327
|
to: h(o) == "RouterLink" ? e.to : void 0,
|
|
@@ -10328,14 +10332,14 @@ const Fm = /* @__PURE__ */ Ve(Em, [["render", jm]]), Dm = { class: "inline-flex
|
|
|
10328
10332
|
v("div", {
|
|
10329
10333
|
class: R(["py-4 text-sm leading-tight", [e.closable ? "pr-10 pl-3" : "px-3"]])
|
|
10330
10334
|
}, [
|
|
10331
|
-
v("div",
|
|
10335
|
+
v("div", qm, [
|
|
10332
10336
|
Y(s.$slots, "default")
|
|
10333
10337
|
])
|
|
10334
10338
|
], 2)
|
|
10335
10339
|
]),
|
|
10336
10340
|
_: 3
|
|
10337
10341
|
}, 8, ["type", "to", "class"])),
|
|
10338
|
-
e.closable ? (b(), L("div",
|
|
10342
|
+
e.closable ? (b(), L("div", Rm, [
|
|
10339
10343
|
v("button", {
|
|
10340
10344
|
type: "button",
|
|
10341
10345
|
class: "rounded-full bg-black bg-opacity-50 p-1 text-white",
|
|
@@ -10347,18 +10351,18 @@ const Fm = /* @__PURE__ */ Ve(Em, [["render", jm]]), Dm = { class: "inline-flex
|
|
|
10347
10351
|
]);
|
|
10348
10352
|
};
|
|
10349
10353
|
}
|
|
10350
|
-
}),
|
|
10351
|
-
function
|
|
10352
|
-
return b(), L("div",
|
|
10353
|
-
|
|
10354
|
-
v("div",
|
|
10355
|
-
v("ul",
|
|
10354
|
+
}), Um = {}, zm = { class: "relative" }, Hm = /* @__PURE__ */ v("div", { class: "absolute bottom-0 left-0 h-px w-full bg-slate-300" }, null, -1), Km = { class: "relative overflow-x-auto overflow-y-hidden" }, Gm = { class: "flex space-x-4 text-center" };
|
|
10355
|
+
function Wm(e, r) {
|
|
10356
|
+
return b(), L("div", zm, [
|
|
10357
|
+
Hm,
|
|
10358
|
+
v("div", Km, [
|
|
10359
|
+
v("ul", Gm, [
|
|
10356
10360
|
Y(e.$slots, "default")
|
|
10357
10361
|
])
|
|
10358
10362
|
])
|
|
10359
10363
|
]);
|
|
10360
10364
|
}
|
|
10361
|
-
const
|
|
10365
|
+
const Qm = /* @__PURE__ */ Ne(Um, [["render", Wm]]), Ym = { role: "presentation" }, Jm = ["href", "onClick"], Zm = { class: "whitespace-nowrap" }, Xm = /* @__PURE__ */ K({
|
|
10362
10366
|
__name: "BaseTabItem",
|
|
10363
10367
|
props: {
|
|
10364
10368
|
to: {
|
|
@@ -10377,7 +10381,7 @@ const Wm = /* @__PURE__ */ Ve(Rm, [["render", Gm]]), Qm = { role: "presentation"
|
|
|
10377
10381
|
setup(e) {
|
|
10378
10382
|
return (r, n) => {
|
|
10379
10383
|
const l = Se("router-link");
|
|
10380
|
-
return b(), L("li",
|
|
10384
|
+
return b(), L("li", Ym, [
|
|
10381
10385
|
z(l, {
|
|
10382
10386
|
to: e.to,
|
|
10383
10387
|
custom: ""
|
|
@@ -10396,17 +10400,17 @@ const Wm = /* @__PURE__ */ Ve(Rm, [["render", Gm]]), Qm = { role: "presentation"
|
|
|
10396
10400
|
(e.activeStrategy == "default" ? s : i) ? "h-[2px] bg-primary-600" : "group-hover:h-px group-hover:bg-slate-700"
|
|
10397
10401
|
]])
|
|
10398
10402
|
}, null, 2),
|
|
10399
|
-
v("div",
|
|
10403
|
+
v("div", Zm, [
|
|
10400
10404
|
Y(r.$slots, "default")
|
|
10401
10405
|
])
|
|
10402
|
-
], 10,
|
|
10406
|
+
], 10, Jm)
|
|
10403
10407
|
]),
|
|
10404
10408
|
_: 3
|
|
10405
10409
|
}, 8, ["to"])
|
|
10406
10410
|
]);
|
|
10407
10411
|
};
|
|
10408
10412
|
}
|
|
10409
|
-
}),
|
|
10413
|
+
}), ep = ["value", "name", "placeholder", "disabled", "required"], tp = /* @__PURE__ */ K({
|
|
10410
10414
|
__name: "BaseTextareaAutoresize",
|
|
10411
10415
|
props: {
|
|
10412
10416
|
modelValue: {
|
|
@@ -10486,7 +10490,7 @@ const Wm = /* @__PURE__ */ Ve(Rm, [["render", Gm]]), Qm = { role: "presentation"
|
|
|
10486
10490
|
onKeyup: S,
|
|
10487
10491
|
onKeydown: T,
|
|
10488
10492
|
onFocus: M
|
|
10489
|
-
}, null, 46,
|
|
10493
|
+
}, null, 46, ep),
|
|
10490
10494
|
v("div", {
|
|
10491
10495
|
class: R(["invisible whitespace-pre-wrap", [
|
|
10492
10496
|
l,
|
|
@@ -10502,13 +10506,13 @@ const Wm = /* @__PURE__ */ Ve(Rm, [["render", Gm]]), Qm = { role: "presentation"
|
|
|
10502
10506
|
}
|
|
10503
10507
|
});
|
|
10504
10508
|
var dt = /* @__PURE__ */ ((e) => (e.primary = "primary", e.danger = "danger", e.warning = "warning", e.info = "info", e.grey = "grey", e.black = "black", e.success = "success", e))(dt || {});
|
|
10505
|
-
const
|
|
10509
|
+
const np = { class: "relative flex space-x-3" }, rp = { class: "text-sm leading-tight text-slate-600" }, op = {
|
|
10506
10510
|
key: 0,
|
|
10507
10511
|
class: "mt-1 text-xs leading-tight text-slate-500"
|
|
10508
|
-
},
|
|
10512
|
+
}, lp = {
|
|
10509
10513
|
key: 0,
|
|
10510
10514
|
class: "whitespace-nowrap text-right text-sm text-slate-500"
|
|
10511
|
-
},
|
|
10515
|
+
}, ap = ["datetime"], ul = /* @__PURE__ */ K({
|
|
10512
10516
|
__name: "BaseTimelineItem",
|
|
10513
10517
|
props: {
|
|
10514
10518
|
item: {
|
|
@@ -10518,7 +10522,7 @@ const tp = { class: "relative flex space-x-3" }, np = { class: "text-sm leading-
|
|
|
10518
10522
|
},
|
|
10519
10523
|
setup(e) {
|
|
10520
10524
|
const r = e, n = A(() => r.item.color == dt.primary ? "bg-primary-600" : r.item.color == dt.danger ? "bg-red-600" : r.item.color == dt.warning ? "bg-yellow-600" : r.item.color == dt.info ? "bg-blue-500" : r.item.color == dt.grey ? "bg-slate-500" : r.item.color == dt.black ? "bg-slate-900" : r.item.color == dt.success ? "bg-green-500" : "bg-slate-500");
|
|
10521
|
-
return (l, o) => (b(), L("div",
|
|
10525
|
+
return (l, o) => (b(), L("div", np, [
|
|
10522
10526
|
v("div", null, [
|
|
10523
10527
|
v("span", {
|
|
10524
10528
|
class: R([
|
|
@@ -10537,25 +10541,25 @@ const tp = { class: "relative flex space-x-3" }, np = { class: "text-sm leading-
|
|
|
10537
10541
|
class: R(["flex min-w-0 flex-1 justify-between space-x-4", { "pt-1.5": !e.item.description }])
|
|
10538
10542
|
}, [
|
|
10539
10543
|
v("div", null, [
|
|
10540
|
-
v("p",
|
|
10541
|
-
e.item.description ? (b(), L("p",
|
|
10544
|
+
v("p", rp, W(e.item.title), 1),
|
|
10545
|
+
e.item.description ? (b(), L("p", op, W(e.item.description), 1)) : Q("", !0)
|
|
10542
10546
|
]),
|
|
10543
|
-
e.item.date ? (b(), L("div",
|
|
10547
|
+
e.item.date ? (b(), L("div", lp, [
|
|
10544
10548
|
v("time", {
|
|
10545
10549
|
datetime: e.item.date
|
|
10546
|
-
}, W(e.item.date), 9,
|
|
10550
|
+
}, W(e.item.date), 9, ap)
|
|
10547
10551
|
])) : Q("", !0)
|
|
10548
10552
|
], 2)
|
|
10549
10553
|
]));
|
|
10550
10554
|
}
|
|
10551
|
-
}),
|
|
10555
|
+
}), sp = { class: "flow-root" }, ip = {
|
|
10552
10556
|
role: "list",
|
|
10553
10557
|
class: "-mb-8"
|
|
10554
|
-
},
|
|
10558
|
+
}, up = { class: "relative pb-8" }, cp = {
|
|
10555
10559
|
key: 0,
|
|
10556
10560
|
class: "absolute top-4 left-4 -ml-px h-full w-0.5 bg-slate-200",
|
|
10557
10561
|
"aria-hidden": "true"
|
|
10558
|
-
},
|
|
10562
|
+
}, dp = /* @__PURE__ */ K({
|
|
10559
10563
|
__name: "BaseTimeline",
|
|
10560
10564
|
props: {
|
|
10561
10565
|
items: {
|
|
@@ -10564,11 +10568,11 @@ const tp = { class: "relative flex space-x-3" }, np = { class: "text-sm leading-
|
|
|
10564
10568
|
}
|
|
10565
10569
|
},
|
|
10566
10570
|
setup(e) {
|
|
10567
|
-
return (r, n) => (b(), L("div",
|
|
10568
|
-
v("ul",
|
|
10571
|
+
return (r, n) => (b(), L("div", sp, [
|
|
10572
|
+
v("ul", ip, [
|
|
10569
10573
|
(b(!0), L(fe, null, ve(e.items, (l, o) => (b(), L("li", { key: o }, [
|
|
10570
|
-
v("div",
|
|
10571
|
-
o != e.items.length - 1 ? (b(), L("span",
|
|
10574
|
+
v("div", up, [
|
|
10575
|
+
o != e.items.length - 1 ? (b(), L("span", cp)) : Q("", !0),
|
|
10572
10576
|
z(ul, { item: l }, null, 8, ["item"])
|
|
10573
10577
|
])
|
|
10574
10578
|
]))), 128))
|
|
@@ -10602,7 +10606,7 @@ const tp = { class: "relative flex space-x-3" }, np = { class: "text-sm leading-
|
|
|
10602
10606
|
this.systemAlerts = [];
|
|
10603
10607
|
}
|
|
10604
10608
|
}
|
|
10605
|
-
}),
|
|
10609
|
+
}), fp = { class: "sticky top-0 z-20 w-full shadow-sm" }, dl = /* @__PURE__ */ K({
|
|
10606
10610
|
__name: "BaseLayoutStacked",
|
|
10607
10611
|
props: {
|
|
10608
10612
|
dark: {
|
|
@@ -10613,7 +10617,7 @@ const tp = { class: "relative flex space-x-3" }, np = { class: "text-sm leading-
|
|
|
10613
10617
|
setup(e) {
|
|
10614
10618
|
const r = cl(), n = A(() => r.systemAlerts);
|
|
10615
10619
|
return (l, o) => (b(), L(fe, null, [
|
|
10616
|
-
v("div",
|
|
10620
|
+
v("div", fp, [
|
|
10617
10621
|
(b(!0), L(fe, null, ve(h(n), (a) => (b(), ee(gr, {
|
|
10618
10622
|
key: a.id,
|
|
10619
10623
|
color: a.color,
|
|
@@ -10642,10 +10646,10 @@ const tp = { class: "relative flex space-x-3" }, np = { class: "text-sm leading-
|
|
|
10642
10646
|
])
|
|
10643
10647
|
], 64));
|
|
10644
10648
|
}
|
|
10645
|
-
}),
|
|
10649
|
+
}), mp = { class: "group flex grow items-center" }, pp = {
|
|
10646
10650
|
key: 0,
|
|
10647
10651
|
class: "relative -top-px ml-[5px]"
|
|
10648
|
-
},
|
|
10652
|
+
}, hp = /* @__PURE__ */ K({
|
|
10649
10653
|
__name: "BaseNavbarSideItemContent",
|
|
10650
10654
|
props: {
|
|
10651
10655
|
label: {
|
|
@@ -10682,7 +10686,7 @@ const tp = { class: "relative flex space-x-3" }, np = { class: "text-sm leading-
|
|
|
10682
10686
|
return (o, a) => (b(), L("div", {
|
|
10683
10687
|
class: R(h(n))
|
|
10684
10688
|
}, [
|
|
10685
|
-
v("div",
|
|
10689
|
+
v("div", mp, [
|
|
10686
10690
|
e.icon ? (b(), ee(h(he), {
|
|
10687
10691
|
key: 0,
|
|
10688
10692
|
icon: e.icon,
|
|
@@ -10690,7 +10694,7 @@ const tp = { class: "relative flex space-x-3" }, np = { class: "text-sm leading-
|
|
|
10690
10694
|
}, null, 8, ["icon", "class"])) : Q("", !0),
|
|
10691
10695
|
We(" " + W(e.label), 1)
|
|
10692
10696
|
]),
|
|
10693
|
-
e.count ? (b(), L("div",
|
|
10697
|
+
e.count ? (b(), L("div", pp, [
|
|
10694
10698
|
z(Nt, {
|
|
10695
10699
|
count: e.count,
|
|
10696
10700
|
"max-digit": 2,
|
|
@@ -10723,7 +10727,7 @@ const tp = { class: "relative flex space-x-3" }, np = { class: "text-sm leading-
|
|
|
10723
10727
|
onClick: n
|
|
10724
10728
|
}, {
|
|
10725
10729
|
default: H(({ active: a }) => [
|
|
10726
|
-
z(
|
|
10730
|
+
z(hp, {
|
|
10727
10731
|
label: e.item.label,
|
|
10728
10732
|
icon: e.item.icon,
|
|
10729
10733
|
active: a,
|
|
@@ -12121,10 +12125,10 @@ var fl = { exports: {} };
|
|
|
12121
12125
|
}, a.humanizer = o, e.exports ? e.exports = a : this.humanizeDuration = a;
|
|
12122
12126
|
})();
|
|
12123
12127
|
})(fl);
|
|
12124
|
-
const
|
|
12128
|
+
const vp = fl.exports, gp = ["innerHTML"], yp = {
|
|
12125
12129
|
key: 0,
|
|
12126
12130
|
class: "mt-1 text-xs text-slate-400"
|
|
12127
|
-
},
|
|
12131
|
+
}, bp = /* @__PURE__ */ K({
|
|
12128
12132
|
__name: "BaseLayoutNotificationItem",
|
|
12129
12133
|
props: {
|
|
12130
12134
|
notification: {
|
|
@@ -12140,7 +12144,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12140
12144
|
if (n.notification.created_at) {
|
|
12141
12145
|
const p = ot.fromISO(n.notification.created_at, {
|
|
12142
12146
|
zone: "utc"
|
|
12143
|
-
}).diff(o.value).milliseconds, f =
|
|
12147
|
+
}).diff(o.value).milliseconds, f = vp(p, {
|
|
12144
12148
|
language: l.locale.value,
|
|
12145
12149
|
round: !0,
|
|
12146
12150
|
largest: 1
|
|
@@ -12173,8 +12177,8 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12173
12177
|
v("div", {
|
|
12174
12178
|
class: "text-sm leading-tight text-slate-800",
|
|
12175
12179
|
innerHTML: e.notification.text
|
|
12176
|
-
}, null, 8,
|
|
12177
|
-
h(s) ? (b(), L("p",
|
|
12180
|
+
}, null, 8, gp),
|
|
12181
|
+
h(s) ? (b(), L("p", yp, W(h(s)), 1)) : Q("", !0)
|
|
12178
12182
|
], 2)
|
|
12179
12183
|
]),
|
|
12180
12184
|
_: 2
|
|
@@ -12184,13 +12188,13 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12184
12188
|
}, 8, ["to"]);
|
|
12185
12189
|
};
|
|
12186
12190
|
}
|
|
12187
|
-
}),
|
|
12191
|
+
}), wp = {
|
|
12188
12192
|
key: 0,
|
|
12189
12193
|
class: "flex items-center justify-center p-6"
|
|
12190
|
-
},
|
|
12194
|
+
}, xp = { class: "" }, kp = { class: "text-center text-sm text-slate-700" }, Sp = {
|
|
12191
12195
|
key: 1,
|
|
12192
12196
|
class: "mt-1 border-t border-slate-200 pt-1"
|
|
12193
|
-
},
|
|
12197
|
+
}, $p = { class: "hover block px-3 py-2 text-center text-sm font-medium text-primary-600 hover:bg-slate-100" }, ml = /* @__PURE__ */ K({
|
|
12194
12198
|
__name: "BaseLayoutNotificationDropdown",
|
|
12195
12199
|
props: {
|
|
12196
12200
|
notificationsConfig: {
|
|
@@ -12235,21 +12239,21 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12235
12239
|
], 2)
|
|
12236
12240
|
]),
|
|
12237
12241
|
items: H(() => [
|
|
12238
|
-
(b(!0), L(fe, null, ve(e.notificationsConfig.items, (f) => (b(), ee(
|
|
12242
|
+
(b(!0), L(fe, null, ve(e.notificationsConfig.items, (f) => (b(), ee(bp, {
|
|
12239
12243
|
key: f.id + "link",
|
|
12240
12244
|
notification: f,
|
|
12241
12245
|
onClick: o
|
|
12242
12246
|
}, null, 8, ["notification"]))), 128)),
|
|
12243
|
-
e.notificationsConfig.items.length == 0 ? (b(), L("div",
|
|
12244
|
-
v("div",
|
|
12247
|
+
e.notificationsConfig.items.length == 0 ? (b(), L("div", wp, [
|
|
12248
|
+
v("div", xp, [
|
|
12245
12249
|
z(h(he), {
|
|
12246
12250
|
icon: "heroicons:inbox-stack",
|
|
12247
12251
|
class: "mx-auto mb-2 h-8 w-8 text-slate-400"
|
|
12248
12252
|
}),
|
|
12249
|
-
v("p",
|
|
12253
|
+
v("p", kp, W(s.$t("sui.notifications_empty")), 1)
|
|
12250
12254
|
])
|
|
12251
12255
|
])) : Q("", !0),
|
|
12252
|
-
e.notificationsConfig.footerTo ? (b(), L("div",
|
|
12256
|
+
e.notificationsConfig.footerTo ? (b(), L("div", Sp, [
|
|
12253
12257
|
z(p, {
|
|
12254
12258
|
custom: "",
|
|
12255
12259
|
to: e.notificationsConfig.footerTo
|
|
@@ -12261,7 +12265,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12261
12265
|
onClick: y
|
|
12262
12266
|
}, {
|
|
12263
12267
|
default: H(() => [
|
|
12264
|
-
v("div",
|
|
12268
|
+
v("div", $p, W(e.notificationsConfig.footerLabel ? e.notificationsConfig.footerLabel : s.$t("sui.see_all_notifications")), 1)
|
|
12265
12269
|
]),
|
|
12266
12270
|
_: 2
|
|
12267
12271
|
}, 1032, ["href", "onClick"])
|
|
@@ -12274,7 +12278,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12274
12278
|
}, 8, ["position", "menu-class"]);
|
|
12275
12279
|
};
|
|
12276
12280
|
}
|
|
12277
|
-
}),
|
|
12281
|
+
}), Bp = { class: "flex h-16 justify-between" }, _p = { class: "flex justify-center" }, Cp = ["src", "alt"], Ip = { class: "ml-10 hidden space-x-4 md:flex" }, Ep = { class: "flex items-center md:ml-6" }, Ap = { class: "space-y-1 p-2 pt-0" }, Tp = { class: "p-2 pb-6" }, Lp = { class: "mt-4 space-y-1" }, Mp = /* @__PURE__ */ K({
|
|
12278
12282
|
__name: "BaseLayoutStackedConfigurable",
|
|
12279
12283
|
props: {
|
|
12280
12284
|
appName: {
|
|
@@ -12318,8 +12322,8 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12318
12322
|
const s = Se("router-link");
|
|
12319
12323
|
return b(), ee(dl, { dark: e.dark }, {
|
|
12320
12324
|
navbar: H(() => [
|
|
12321
|
-
v("div",
|
|
12322
|
-
v("div",
|
|
12325
|
+
v("div", Bp, [
|
|
12326
|
+
v("div", _p, [
|
|
12323
12327
|
z(s, {
|
|
12324
12328
|
to: "/",
|
|
12325
12329
|
class: "flex flex-shrink-0 items-center p-2 pl-0"
|
|
@@ -12329,11 +12333,11 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12329
12333
|
class: "block h-8 w-auto",
|
|
12330
12334
|
src: e.logoUrl,
|
|
12331
12335
|
alt: e.appName
|
|
12332
|
-
}, null, 8,
|
|
12336
|
+
}, null, 8, Cp)
|
|
12333
12337
|
]),
|
|
12334
12338
|
_: 1
|
|
12335
12339
|
}),
|
|
12336
|
-
v("div",
|
|
12340
|
+
v("div", Ip, [
|
|
12337
12341
|
(b(!0), L(fe, null, ve(e.menu, (i) => (b(), ee(il, {
|
|
12338
12342
|
key: i.label,
|
|
12339
12343
|
item: i,
|
|
@@ -12341,7 +12345,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12341
12345
|
}, null, 8, ["item", "dark"]))), 128))
|
|
12342
12346
|
])
|
|
12343
12347
|
]),
|
|
12344
|
-
v("div",
|
|
12348
|
+
v("div", Ep, [
|
|
12345
12349
|
e.notifications ? (b(), ee(ml, {
|
|
12346
12350
|
key: 0,
|
|
12347
12351
|
class: "mr-4 md:mr-5",
|
|
@@ -12371,7 +12375,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12371
12375
|
])
|
|
12372
12376
|
]),
|
|
12373
12377
|
mobile: H(() => [
|
|
12374
|
-
v("div",
|
|
12378
|
+
v("div", Ap, [
|
|
12375
12379
|
(b(!0), L(fe, null, ve(e.menu, (i) => (b(), ee(Jn, {
|
|
12376
12380
|
key: i.label,
|
|
12377
12381
|
item: i,
|
|
@@ -12381,14 +12385,14 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12381
12385
|
v("hr", {
|
|
12382
12386
|
class: R(["mb-4 mt-2", [e.dark ? "border-slate-700" : "border-slate-200"]])
|
|
12383
12387
|
}, null, 2),
|
|
12384
|
-
v("div",
|
|
12388
|
+
v("div", Tp, [
|
|
12385
12389
|
z(Ft, {
|
|
12386
12390
|
user: e.user,
|
|
12387
12391
|
"show-details": "",
|
|
12388
12392
|
size: "base",
|
|
12389
12393
|
class: R(["px-3", e.dark ? "text-white" : ""])
|
|
12390
12394
|
}, null, 8, ["user", "class"]),
|
|
12391
|
-
v("div",
|
|
12395
|
+
v("div", Lp, [
|
|
12392
12396
|
(b(!0), L(fe, null, ve(e.userMenu, (i) => (b(), ee(Jn, {
|
|
12393
12397
|
key: i.label,
|
|
12394
12398
|
item: i,
|
|
@@ -12404,10 +12408,10 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12404
12408
|
}, 8, ["dark"]);
|
|
12405
12409
|
};
|
|
12406
12410
|
}
|
|
12407
|
-
}),
|
|
12411
|
+
}), Op = { class: "min-h-full" }, jp = /* @__PURE__ */ v("div", { class: "fixed inset-0 bg-slate-600 bg-opacity-75" }, null, -1), Fp = { class: "fixed inset-0 z-40 flex" }, Dp = { class: "absolute top-0 right-0 -mr-12 pt-2" }, Pp = /* @__PURE__ */ v("span", { class: "sr-only" }, "Close sidebar", -1), Vp = { class: "flex flex-shrink-0 items-center px-4" }, Np = ["src", "alt"], qp = { class: "mt-5 h-0 flex-1 overflow-y-auto" }, Rp = /* @__PURE__ */ v("div", {
|
|
12408
12412
|
class: "w-14 flex-shrink-0",
|
|
12409
12413
|
"aria-hidden": "true"
|
|
12410
|
-
}, null, -1),
|
|
12414
|
+
}, null, -1), Up = { class: "flex min-h-full flex-col xl:pl-64" }, zp = { class: "sticky top-0 left-0 z-10 shrink-0 shadow" }, Hp = { class: "flex h-16 bg-white" }, Kp = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open sidebar", -1), Gp = { class: "flex flex-1" }, Wp = { class: "relative min-h-full flex-1" }, Qp = { class: "z-10 hidden xl:fixed xl:inset-y-0 xl:flex xl:w-64 xl:flex-col" }, Yp = ["src", "alt"], Jp = { class: "flex flex-1" }, Zp = { class: "flex-1" }, pl = /* @__PURE__ */ K({
|
|
12411
12415
|
__name: "BaseLayoutSidebar",
|
|
12412
12416
|
props: {
|
|
12413
12417
|
appName: {
|
|
@@ -12434,13 +12438,13 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12434
12438
|
function s() {
|
|
12435
12439
|
l.value = !1;
|
|
12436
12440
|
}
|
|
12437
|
-
return pe("toggleMenu", o), pe("openMenu", a), pe("closeMenu", s), (i, p) => (b(), L("div",
|
|
12441
|
+
return pe("toggleMenu", o), pe("openMenu", a), pe("closeMenu", s), (i, p) => (b(), L("div", Op, [
|
|
12438
12442
|
z(h(qo), {
|
|
12439
12443
|
as: "template",
|
|
12440
12444
|
show: l.value
|
|
12441
12445
|
}, {
|
|
12442
12446
|
default: H(() => [
|
|
12443
|
-
z(h(
|
|
12447
|
+
z(h(Ni), {
|
|
12444
12448
|
as: "div",
|
|
12445
12449
|
class: "relative z-40 xl:hidden",
|
|
12446
12450
|
onClose: p[1] || (p[1] = (f) => l.value = !1)
|
|
@@ -12456,11 +12460,11 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12456
12460
|
"leave-to": "opacity-0"
|
|
12457
12461
|
}, {
|
|
12458
12462
|
default: H(() => [
|
|
12459
|
-
|
|
12463
|
+
jp
|
|
12460
12464
|
]),
|
|
12461
12465
|
_: 1
|
|
12462
12466
|
}),
|
|
12463
|
-
v("div",
|
|
12467
|
+
v("div", Fp, [
|
|
12464
12468
|
z(h(en), {
|
|
12465
12469
|
as: "template",
|
|
12466
12470
|
enter: "transition ease-in-out duration-300 transform",
|
|
@@ -12471,7 +12475,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12471
12475
|
"leave-to": "-translate-x-full"
|
|
12472
12476
|
}, {
|
|
12473
12477
|
default: H(() => [
|
|
12474
|
-
z(h(
|
|
12478
|
+
z(h(qi), {
|
|
12475
12479
|
class: R(["relative flex w-full max-w-xs flex-1 flex-col pt-5 pb-4", [e.dark ? "bg-slate-800" : "bg-white"]])
|
|
12476
12480
|
}, {
|
|
12477
12481
|
default: H(() => [
|
|
@@ -12485,13 +12489,13 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12485
12489
|
"leave-to": "opacity-0"
|
|
12486
12490
|
}, {
|
|
12487
12491
|
default: H(() => [
|
|
12488
|
-
v("div",
|
|
12492
|
+
v("div", Dp, [
|
|
12489
12493
|
v("button", {
|
|
12490
12494
|
type: "button",
|
|
12491
12495
|
class: "ml-1 flex h-10 w-10 items-center justify-center rounded-full",
|
|
12492
12496
|
onClick: p[0] || (p[0] = (f) => l.value = !1)
|
|
12493
12497
|
}, [
|
|
12494
|
-
|
|
12498
|
+
Pp,
|
|
12495
12499
|
z(h(he), {
|
|
12496
12500
|
icon: "heroicons:x-mark",
|
|
12497
12501
|
class: "h-6 w-6 text-white",
|
|
@@ -12502,14 +12506,14 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12502
12506
|
]),
|
|
12503
12507
|
_: 1
|
|
12504
12508
|
}),
|
|
12505
|
-
v("div",
|
|
12509
|
+
v("div", Vp, [
|
|
12506
12510
|
v("img", {
|
|
12507
12511
|
class: "block h-8 w-auto",
|
|
12508
12512
|
src: e.logoUrl,
|
|
12509
12513
|
alt: e.appName
|
|
12510
|
-
}, null, 8,
|
|
12514
|
+
}, null, 8, Np)
|
|
12511
12515
|
]),
|
|
12512
|
-
v("div",
|
|
12516
|
+
v("div", qp, [
|
|
12513
12517
|
v("nav", null, [
|
|
12514
12518
|
Y(i.$slots, "menu")
|
|
12515
12519
|
])
|
|
@@ -12520,7 +12524,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12520
12524
|
]),
|
|
12521
12525
|
_: 3
|
|
12522
12526
|
}),
|
|
12523
|
-
|
|
12527
|
+
Rp
|
|
12524
12528
|
])
|
|
12525
12529
|
]),
|
|
12526
12530
|
_: 3
|
|
@@ -12528,8 +12532,8 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12528
12532
|
]),
|
|
12529
12533
|
_: 3
|
|
12530
12534
|
}, 8, ["show"]),
|
|
12531
|
-
v("div",
|
|
12532
|
-
v("div",
|
|
12535
|
+
v("div", Up, [
|
|
12536
|
+
v("div", zp, [
|
|
12533
12537
|
(b(!0), L(fe, null, ve(h(n), (f) => (b(), ee(gr, {
|
|
12534
12538
|
key: f.id,
|
|
12535
12539
|
color: f.color,
|
|
@@ -12543,29 +12547,29 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12543
12547
|
]),
|
|
12544
12548
|
_: 2
|
|
12545
12549
|
}, 1032, ["color", "to", "action", "closable", "onClose"]))), 128)),
|
|
12546
|
-
v("div",
|
|
12550
|
+
v("div", Hp, [
|
|
12547
12551
|
v("button", {
|
|
12548
12552
|
type: "button",
|
|
12549
12553
|
class: "border-r border-slate-200 px-4 text-slate-500 xl:hidden",
|
|
12550
12554
|
onClick: p[2] || (p[2] = (f) => l.value = !0)
|
|
12551
12555
|
}, [
|
|
12552
|
-
|
|
12556
|
+
Kp,
|
|
12553
12557
|
z(h(he), {
|
|
12554
12558
|
icon: "heroicons:bars-3-bottom-left",
|
|
12555
12559
|
class: "h-6 w-6",
|
|
12556
12560
|
"aria-hidden": "true"
|
|
12557
12561
|
})
|
|
12558
12562
|
]),
|
|
12559
|
-
v("div",
|
|
12563
|
+
v("div", Gp, [
|
|
12560
12564
|
Y(i.$slots, "navbar")
|
|
12561
12565
|
])
|
|
12562
12566
|
])
|
|
12563
12567
|
]),
|
|
12564
|
-
v("main",
|
|
12568
|
+
v("main", Wp, [
|
|
12565
12569
|
Y(i.$slots, "default")
|
|
12566
12570
|
])
|
|
12567
12571
|
]),
|
|
12568
|
-
v("div",
|
|
12572
|
+
v("div", Qp, [
|
|
12569
12573
|
v("div", {
|
|
12570
12574
|
class: R(["flex min-h-0 flex-1 flex-col", [e.dark ? "bg-slate-800" : "bg-white shadow"]])
|
|
12571
12575
|
}, [
|
|
@@ -12576,10 +12580,10 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12576
12580
|
class: "block h-8 w-auto",
|
|
12577
12581
|
src: e.logoUrl,
|
|
12578
12582
|
alt: e.appName
|
|
12579
|
-
}, null, 8,
|
|
12583
|
+
}, null, 8, Yp)
|
|
12580
12584
|
], 2),
|
|
12581
|
-
v("div",
|
|
12582
|
-
v("nav",
|
|
12585
|
+
v("div", Jp, [
|
|
12586
|
+
v("nav", Zp, [
|
|
12583
12587
|
Y(i.$slots, "menu")
|
|
12584
12588
|
])
|
|
12585
12589
|
])
|
|
@@ -12587,7 +12591,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12587
12591
|
])
|
|
12588
12592
|
]));
|
|
12589
12593
|
}
|
|
12590
|
-
}),
|
|
12594
|
+
}), Xp = { class: "px-3 py-6" }, eh = { class: "space-y-8" }, th = { class: "space-y-1" }, nh = { class: "flex flex-1 justify-between px-4" }, rh = /* @__PURE__ */ v("div", { class: "flex flex-1" }, null, -1), oh = { class: "ml-4 flex items-center md:ml-6" }, lh = { class: "relative ml-3 mr-3" }, ah = /* @__PURE__ */ K({
|
|
12591
12595
|
__name: "BaseLayoutSidebarConfigurable",
|
|
12592
12596
|
props: {
|
|
12593
12597
|
appName: {
|
|
@@ -12639,8 +12643,8 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12639
12643
|
dark: e.dark
|
|
12640
12644
|
}, {
|
|
12641
12645
|
menu: H(() => [
|
|
12642
|
-
v("div",
|
|
12643
|
-
v("div",
|
|
12646
|
+
v("div", Xp, [
|
|
12647
|
+
v("div", eh, [
|
|
12644
12648
|
(b(!0), L(fe, null, ve(h(l), (p) => (b(), L("div", {
|
|
12645
12649
|
key: p.title
|
|
12646
12650
|
}, [
|
|
@@ -12649,7 +12653,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12649
12653
|
class: R(["mb-3 pl-3 text-xs font-semibold uppercase tracking-widest", e.dark ? "text-slate-400" : "text-slate-500"])
|
|
12650
12654
|
}, W(p.title), 3)) : Q("", !0),
|
|
12651
12655
|
v("div", null, [
|
|
12652
|
-
v("div",
|
|
12656
|
+
v("div", th, [
|
|
12653
12657
|
(b(!0), L(fe, null, ve(p.actions, (f) => (b(), ee(Jn, {
|
|
12654
12658
|
key: f.label,
|
|
12655
12659
|
item: f,
|
|
@@ -12662,9 +12666,9 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12662
12666
|
])
|
|
12663
12667
|
]),
|
|
12664
12668
|
navbar: H(() => [
|
|
12665
|
-
v("div",
|
|
12666
|
-
|
|
12667
|
-
v("div",
|
|
12669
|
+
v("div", nh, [
|
|
12670
|
+
rh,
|
|
12671
|
+
v("div", oh, [
|
|
12668
12672
|
e.notifications ? (b(), ee(ml, {
|
|
12669
12673
|
key: 0,
|
|
12670
12674
|
"notifications-config": e.notifications,
|
|
@@ -12672,7 +12676,7 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12672
12676
|
onClick: o,
|
|
12673
12677
|
onOpen: a
|
|
12674
12678
|
}, null, 8, ["notifications-config"])) : Q("", !0),
|
|
12675
|
-
v("div",
|
|
12679
|
+
v("div", lh, [
|
|
12676
12680
|
z(Ct, { items: e.userMenu }, {
|
|
12677
12681
|
button: H(({ open: p }) => [
|
|
12678
12682
|
v("div", {
|
|
@@ -12700,81 +12704,81 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12700
12704
|
__proto__: null,
|
|
12701
12705
|
BaseActionItem: Xn,
|
|
12702
12706
|
BaseAlert: er,
|
|
12703
|
-
BaseApp:
|
|
12707
|
+
BaseApp: is,
|
|
12704
12708
|
BaseAppDialogs: fo,
|
|
12705
12709
|
BaseAppNotifications: mo,
|
|
12706
12710
|
BaseAutocomplete: po,
|
|
12707
12711
|
BaseAutocompleteFetch: ho,
|
|
12708
12712
|
BaseAvatar: Ft,
|
|
12709
|
-
BaseAvatarGroup:
|
|
12710
|
-
BaseBadge:
|
|
12711
|
-
BaseBelongsTo:
|
|
12712
|
-
BaseBoolean:
|
|
12713
|
-
BaseBreadcrumbs:
|
|
12714
|
-
BaseButton:
|
|
12715
|
-
BaseButtonGroup:
|
|
12713
|
+
BaseAvatarGroup: Es,
|
|
12714
|
+
BaseBadge: As,
|
|
12715
|
+
BaseBelongsTo: Ts,
|
|
12716
|
+
BaseBoolean: Os,
|
|
12717
|
+
BaseBreadcrumbs: Rs,
|
|
12718
|
+
BaseButton: Ws,
|
|
12719
|
+
BaseButtonGroup: Ys,
|
|
12716
12720
|
BaseCard: Bt,
|
|
12717
12721
|
BaseCardRow: ir,
|
|
12718
|
-
BaseCharacterCounter:
|
|
12719
|
-
BaseClipboard:
|
|
12722
|
+
BaseCharacterCounter: ti,
|
|
12723
|
+
BaseClipboard: ai,
|
|
12720
12724
|
BaseContainer: vo,
|
|
12721
12725
|
BaseCounter: Nt,
|
|
12722
12726
|
BaseDataIterator: Go,
|
|
12723
|
-
BaseDataTable:
|
|
12724
|
-
BaseDatePicker:
|
|
12725
|
-
BaseDateSelect:
|
|
12726
|
-
BaseDescriptionList:
|
|
12727
|
-
BaseDescriptionListItem:
|
|
12727
|
+
BaseDataTable: Qc,
|
|
12728
|
+
BaseDatePicker: ed,
|
|
12729
|
+
BaseDateSelect: hd,
|
|
12730
|
+
BaseDescriptionList: yd,
|
|
12731
|
+
BaseDescriptionListItem: wd,
|
|
12728
12732
|
BaseDialog: io,
|
|
12729
12733
|
BaseField: Zo,
|
|
12730
|
-
BaseFieldI18n:
|
|
12734
|
+
BaseFieldI18n: Md,
|
|
12731
12735
|
BaseFilePicker: Xo,
|
|
12732
12736
|
BaseFileUploader: tl,
|
|
12733
|
-
BaseForm:
|
|
12734
|
-
BaseHasMany:
|
|
12737
|
+
BaseForm: Xd,
|
|
12738
|
+
BaseHasMany: pf,
|
|
12735
12739
|
BaseIcon: he,
|
|
12736
12740
|
BaseInput: Kn,
|
|
12737
12741
|
BaseInputLabel: Jo,
|
|
12738
12742
|
BaseLoadingCover: el,
|
|
12739
12743
|
BaseMediaItem: Yn,
|
|
12740
|
-
BaseMediaLibrary:
|
|
12744
|
+
BaseMediaLibrary: Lf,
|
|
12741
12745
|
BaseMediaPreview: ll,
|
|
12742
12746
|
BaseMenu: Ct,
|
|
12743
12747
|
BaseMenuItem: tn,
|
|
12744
|
-
BaseModalCenter:
|
|
12748
|
+
BaseModalCenter: Of,
|
|
12745
12749
|
BaseModalSide: Ko,
|
|
12746
12750
|
BaseNavbar: al,
|
|
12747
12751
|
BaseNavbarItem: il,
|
|
12748
12752
|
BaseNavbarItemContent: sl,
|
|
12749
12753
|
BasePagination: Ro,
|
|
12750
|
-
BasePanel:
|
|
12751
|
-
BasePassword:
|
|
12752
|
-
BaseProgressCircle:
|
|
12753
|
-
BaseRadioGroup:
|
|
12754
|
-
BaseReadMore:
|
|
12755
|
-
BaseSelect:
|
|
12756
|
-
BaseShortcut:
|
|
12757
|
-
BaseSideNavigation:
|
|
12758
|
-
BaseSideNavigationItem:
|
|
12754
|
+
BasePanel: Wf,
|
|
12755
|
+
BasePassword: Zf,
|
|
12756
|
+
BaseProgressCircle: lm,
|
|
12757
|
+
BaseRadioGroup: cm,
|
|
12758
|
+
BaseReadMore: fm,
|
|
12759
|
+
BaseSelect: pm,
|
|
12760
|
+
BaseShortcut: wm,
|
|
12761
|
+
BaseSideNavigation: Cm,
|
|
12762
|
+
BaseSideNavigationItem: Em,
|
|
12759
12763
|
BaseSkeleton: yt,
|
|
12760
|
-
BaseStatistic:
|
|
12761
|
-
BaseSwitch:
|
|
12764
|
+
BaseStatistic: Dm,
|
|
12765
|
+
BaseSwitch: Vm,
|
|
12762
12766
|
BaseSystemAlert: gr,
|
|
12763
|
-
BaseTabs:
|
|
12764
|
-
BaseTabItem:
|
|
12767
|
+
BaseTabs: Qm,
|
|
12768
|
+
BaseTabItem: Xm,
|
|
12765
12769
|
BaseTagAutocomplete: rl,
|
|
12766
12770
|
BaseTagAutocompleteFetch: ol,
|
|
12767
12771
|
BaseTable: Qo,
|
|
12768
12772
|
BaseTableColumn: Yo,
|
|
12769
12773
|
BaseTextarea: Gn,
|
|
12770
|
-
BaseTextareaAutoresize:
|
|
12771
|
-
BaseTimeline:
|
|
12774
|
+
BaseTextareaAutoresize: tp,
|
|
12775
|
+
BaseTimeline: dp,
|
|
12772
12776
|
BaseTimelineItem: ul,
|
|
12773
12777
|
BaseLayoutStacked: dl,
|
|
12774
|
-
BaseLayoutStackedConfigurable:
|
|
12778
|
+
BaseLayoutStackedConfigurable: Mp,
|
|
12775
12779
|
BaseLayoutSidebar: pl,
|
|
12776
|
-
BaseLayoutSidebarConfigurable:
|
|
12777
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12780
|
+
BaseLayoutSidebarConfigurable: ah
|
|
12781
|
+
}, Symbol.toStringTag, { value: "Module" })), sh = {
|
|
12778
12782
|
and: "and",
|
|
12779
12783
|
apply_filters: "Apply filters",
|
|
12780
12784
|
autocomplete_placeholder: "Type to start your search",
|
|
@@ -12836,8 +12840,8 @@ const hp = fl.exports, vp = ["innerHTML"], gp = {
|
|
|
12836
12840
|
you_can_upload_up_to_n_files: "You can upload one file at most|You can upload up to {count} files",
|
|
12837
12841
|
you_cannot_select_more_than_x_items: "You can't select more than one item|You can't select more than {count} items"
|
|
12838
12842
|
}, hl = {
|
|
12839
|
-
sui:
|
|
12840
|
-
},
|
|
12843
|
+
sui: sh
|
|
12844
|
+
}, ih = {
|
|
12841
12845
|
and: "et",
|
|
12842
12846
|
apply_filters: "Appliquer les filtres",
|
|
12843
12847
|
autocomplete_placeholder: "Tapez pour lancer votre recherche",
|
|
@@ -12902,12 +12906,12 @@ Cette action est irr\xE9versible.`,
|
|
|
12902
12906
|
you_can_upload_up_to_n_files: "Vous pouvez t\xE9l\xE9charger un fichier au maximum|Vous pouvez t\xE9l\xE9charger jusqu'\xE0 {count}\xA0fichiers",
|
|
12903
12907
|
you_cannot_select_more_than_x_items: "Vous ne pouvez pas s\xE9lectionner plus de un \xE9l\xE9ment|Vous ne pouvez pas s\xE9lectionner plus de {count} \xE9l\xE9ments"
|
|
12904
12908
|
}, vl = {
|
|
12905
|
-
sui:
|
|
12909
|
+
sui: ih
|
|
12906
12910
|
};
|
|
12907
|
-
const
|
|
12911
|
+
const uh = 100, kh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12908
12912
|
__proto__: null,
|
|
12909
|
-
MAGIC_NUM:
|
|
12910
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12913
|
+
MAGIC_NUM: uh
|
|
12914
|
+
}, Symbol.toStringTag, { value: "Module" })), Sh = { en: hl, fr: vl }, xe = {
|
|
12911
12915
|
i18n: Al({
|
|
12912
12916
|
locale: "en",
|
|
12913
12917
|
fallbackLocale: "en",
|
|
@@ -12929,97 +12933,97 @@ const ih = 100, xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
|
|
|
12929
12933
|
return br.parse(e);
|
|
12930
12934
|
}
|
|
12931
12935
|
};
|
|
12932
|
-
function
|
|
12936
|
+
function ch(e, r) {
|
|
12933
12937
|
for (const n in qr)
|
|
12934
12938
|
e.component(n, qr[n]);
|
|
12935
12939
|
r != null && r.i18n && (xe.i18n = r.i18n), r != null && r.http && (xe.http = r.http), r != null && r.locales && (xe.locales = r.locales), r != null && r.upload_url && (xe.upload_url = r.upload_url), r != null && r.formatQueryString && (xe.formatQueryString = r.formatQueryString), r != null && r.parseQueryString && (xe.parseQueryString = r.parseQueryString);
|
|
12936
12940
|
}
|
|
12937
|
-
const
|
|
12941
|
+
const $h = { install: ch };
|
|
12938
12942
|
export {
|
|
12939
12943
|
Xn as BaseActionItem,
|
|
12940
12944
|
er as BaseAlert,
|
|
12941
|
-
|
|
12945
|
+
is as BaseApp,
|
|
12942
12946
|
fo as BaseAppDialogs,
|
|
12943
12947
|
mo as BaseAppNotifications,
|
|
12944
12948
|
po as BaseAutocomplete,
|
|
12945
12949
|
ho as BaseAutocompleteFetch,
|
|
12946
12950
|
Ft as BaseAvatar,
|
|
12947
|
-
|
|
12948
|
-
|
|
12949
|
-
|
|
12950
|
-
|
|
12951
|
-
|
|
12952
|
-
|
|
12953
|
-
|
|
12951
|
+
Es as BaseAvatarGroup,
|
|
12952
|
+
As as BaseBadge,
|
|
12953
|
+
Ts as BaseBelongsTo,
|
|
12954
|
+
Os as BaseBoolean,
|
|
12955
|
+
Rs as BaseBreadcrumbs,
|
|
12956
|
+
Ws as BaseButton,
|
|
12957
|
+
Ys as BaseButtonGroup,
|
|
12954
12958
|
Bt as BaseCard,
|
|
12955
12959
|
ir as BaseCardRow,
|
|
12956
|
-
|
|
12957
|
-
|
|
12960
|
+
ti as BaseCharacterCounter,
|
|
12961
|
+
ai as BaseClipboard,
|
|
12958
12962
|
vo as BaseContainer,
|
|
12959
12963
|
Nt as BaseCounter,
|
|
12960
12964
|
Go as BaseDataIterator,
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
|
|
12965
|
+
Qc as BaseDataTable,
|
|
12966
|
+
ed as BaseDatePicker,
|
|
12967
|
+
hd as BaseDateSelect,
|
|
12968
|
+
yd as BaseDescriptionList,
|
|
12969
|
+
wd as BaseDescriptionListItem,
|
|
12966
12970
|
io as BaseDialog,
|
|
12967
12971
|
Zo as BaseField,
|
|
12968
|
-
|
|
12972
|
+
Md as BaseFieldI18n,
|
|
12969
12973
|
Xo as BaseFilePicker,
|
|
12970
12974
|
tl as BaseFileUploader,
|
|
12971
|
-
|
|
12972
|
-
|
|
12975
|
+
Xd as BaseForm,
|
|
12976
|
+
pf as BaseHasMany,
|
|
12973
12977
|
he as BaseIcon,
|
|
12974
12978
|
Kn as BaseInput,
|
|
12975
12979
|
Jo as BaseInputLabel,
|
|
12976
12980
|
pl as BaseLayoutSidebar,
|
|
12977
|
-
|
|
12981
|
+
ah as BaseLayoutSidebarConfigurable,
|
|
12978
12982
|
dl as BaseLayoutStacked,
|
|
12979
|
-
|
|
12983
|
+
Mp as BaseLayoutStackedConfigurable,
|
|
12980
12984
|
el as BaseLoadingCover,
|
|
12981
12985
|
Yn as BaseMediaItem,
|
|
12982
|
-
|
|
12986
|
+
Lf as BaseMediaLibrary,
|
|
12983
12987
|
ll as BaseMediaPreview,
|
|
12984
12988
|
Ct as BaseMenu,
|
|
12985
12989
|
tn as BaseMenuItem,
|
|
12986
|
-
|
|
12990
|
+
Of as BaseModalCenter,
|
|
12987
12991
|
Ko as BaseModalSide,
|
|
12988
12992
|
al as BaseNavbar,
|
|
12989
12993
|
il as BaseNavbarItem,
|
|
12990
12994
|
sl as BaseNavbarItemContent,
|
|
12991
12995
|
Ro as BasePagination,
|
|
12992
|
-
|
|
12993
|
-
|
|
12994
|
-
|
|
12995
|
-
|
|
12996
|
-
|
|
12997
|
-
|
|
12998
|
-
|
|
12999
|
-
|
|
13000
|
-
|
|
12996
|
+
Wf as BasePanel,
|
|
12997
|
+
Zf as BasePassword,
|
|
12998
|
+
lm as BaseProgressCircle,
|
|
12999
|
+
cm as BaseRadioGroup,
|
|
13000
|
+
fm as BaseReadMore,
|
|
13001
|
+
pm as BaseSelect,
|
|
13002
|
+
wm as BaseShortcut,
|
|
13003
|
+
Cm as BaseSideNavigation,
|
|
13004
|
+
Em as BaseSideNavigationItem,
|
|
13001
13005
|
yt as BaseSkeleton,
|
|
13002
|
-
|
|
13003
|
-
|
|
13006
|
+
Dm as BaseStatistic,
|
|
13007
|
+
Vm as BaseSwitch,
|
|
13004
13008
|
gr as BaseSystemAlert,
|
|
13005
|
-
|
|
13009
|
+
Xm as BaseTabItem,
|
|
13006
13010
|
Qo as BaseTable,
|
|
13007
13011
|
Yo as BaseTableColumn,
|
|
13008
|
-
|
|
13012
|
+
Qm as BaseTabs,
|
|
13009
13013
|
rl as BaseTagAutocomplete,
|
|
13010
13014
|
ol as BaseTagAutocompleteFetch,
|
|
13011
13015
|
Gn as BaseTextarea,
|
|
13012
|
-
|
|
13013
|
-
|
|
13016
|
+
tp as BaseTextareaAutoresize,
|
|
13017
|
+
dp as BaseTimeline,
|
|
13014
13018
|
ul as BaseTimelineItem,
|
|
13015
|
-
|
|
13019
|
+
kh as MyConstants,
|
|
13016
13020
|
xe as config,
|
|
13017
|
-
|
|
13021
|
+
$h as default,
|
|
13018
13022
|
uo as disableScroll,
|
|
13019
13023
|
co as enableScroll,
|
|
13020
13024
|
hr as fileSizeFormat,
|
|
13021
|
-
|
|
13022
|
-
|
|
13025
|
+
Sh as messages,
|
|
13026
|
+
ku as toHumanList,
|
|
13023
13027
|
sr as useDialogsStore,
|
|
13024
13028
|
It as useNotificationsStore,
|
|
13025
13029
|
cl as useSystemAlertStore
|