@aerogel/core 0.1.1-next.97f5cf5c97f16ab8a0ef63b82aaab049a0f9e15b → 0.1.1-next.9bd06e629f34098543a54bdb87e8996767876d42
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/aerogel-core.d.ts +2 -12
- package/dist/aerogel-core.js +604 -611
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AppOverlays.vue +1 -1
- package/src/components/headless/HeadlessModal.vue +12 -3
- package/src/components/headless/HeadlessModalContent.vue +1 -1
- package/src/components/ui/Modal.vue +2 -2
- package/src/ui/UI.ts +2 -2
- package/src/ui/index.ts +11 -1
- package/src/ui/modals.ts +0 -36
package/dist/aerogel-core.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var _ = (t, s, e) =>
|
|
4
|
-
import { markRaw as E, Comment as
|
|
5
|
-
import { JSError as _e, stringToSlug as
|
|
1
|
+
var Rt = Object.defineProperty;
|
|
2
|
+
var zt = (t, s, e) => s in t ? Rt(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
|
|
3
|
+
var _ = (t, s, e) => zt(t, typeof s != "symbol" ? s + "" : s, e);
|
|
4
|
+
import { markRaw as E, Comment as It, Text as qt, Static as At, inject as X, reactive as ge, unref as l, onUnmounted as $e, ref as N, computed as c, readonly as we, nextTick as Pt, useAttrs as Ye, onMounted as et, watch as Le, toRaw as Dt, customRef as jt, watchEffect as G, defineComponent as h, createBlock as f, openBlock as i, mergeProps as V, withCtx as m, renderSlot as w, createPropsRestProxy as K, createVNode as d, normalizeProps as ue, guardReactiveProps as ce, createTextVNode as L, toDisplayString as C, normalizeClass as x, createElementBlock as y, Fragment as D, renderList as U, provide as de, resolveDynamicComponent as Y, useSlots as Re, createCommentVNode as M, createElementVNode as b, h as Bt, useTemplateRef as ee, withModifiers as tt, withDirectives as st, vModelCheckbox as Ft, normalizeStyle as Ut, resolveComponent as Ot, createApp as Nt, vModelText as Wt } from "vue";
|
|
5
|
+
import { JSError as _e, stringToSlug as Kt, tap as te, MagicObject as rt, PromisedValue as Q, Storage as O, objectOnly as ne, arrayFrom as nt, isEmpty as Se, objectDeepClone as Qt, fail as W, facade as se, arrayRemove as Ve, getEnv as Jt, updateLocationQueryParameters as Zt, forever as Xt, toString as B, objectWithout as Gt, noop as Yt, debounce as es, stringMatchAll as at, isDevelopment as J, isTesting as ze, after as le, uuid as oe, isObject as fe, objectWithoutEmpty as lt, value as ts, isInstanceOf as Oe, stringExcerpt as ss, arraySorted as rs, ListenersManager as ns, toError as as, round as ls } from "@noeldemartin/utils";
|
|
6
6
|
import j from "virtual:aerogel";
|
|
7
|
-
import { createPinia as
|
|
8
|
-
import
|
|
9
|
-
import { marked as
|
|
10
|
-
import {
|
|
11
|
-
import { ModalComponent as
|
|
12
|
-
import
|
|
13
|
-
import { cva as
|
|
14
|
-
import { twMerge as
|
|
15
|
-
import { Primitive as
|
|
7
|
+
import { createPinia as is, setActivePinia as os, defineStore as us } from "pinia";
|
|
8
|
+
import cs from "dompurify";
|
|
9
|
+
import { marked as ds, Renderer as Ne } from "marked";
|
|
10
|
+
import { createModal as ps, showModal as We, closeModal as Ke, modals as ae, useModal as Ie, ModalComponent as ms, injectModal as fs, ModalsPortal as hs } from "@noeldemartin/vue-modals";
|
|
11
|
+
import { ModalComponent as li, ModalsPortal as ii, closeModal as oi, createModal as ui, modals as ci, showModal as di, useModal as pi } from "@noeldemartin/vue-modals";
|
|
12
|
+
import gs from "clsx";
|
|
13
|
+
import { cva as vs } from "class-variance-authority";
|
|
14
|
+
import { twMerge as bs } from "tailwind-merge";
|
|
15
|
+
import { Primitive as ys, SelectValue as Qe, SelectTrigger as $s, SelectIcon as ws, SelectItem as _s, SelectItemText as Cs, SelectPortal as xs, SelectContent as ks, SelectViewport as Ss, SelectRoot as Ts, Label as Ms, useForwardExpose as qe, SwitchRoot as Hs, SwitchThumb as Vs, DialogRoot as Es, DialogPortal as Ls, DialogContent as Rs, DialogDescription as zs, DialogOverlay as Is, DialogTitle as qs, ToastClose as As, ToastRoot as Ps, ToastProvider as Ds, ToastViewport as js, DropdownMenuItem as Bs, DropdownMenuContent as Fs, DropdownMenuRoot as Us, DropdownMenuTrigger as Os, DropdownMenuPortal as Ns } from "reka-ui";
|
|
16
16
|
class Ee extends _e {
|
|
17
17
|
constructor(s, e) {
|
|
18
18
|
super(`Service '${s}' failed booting`, { cause: e });
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
return j.namespace ??
|
|
21
|
+
function Ws() {
|
|
22
|
+
return j.namespace ?? Kt(j.name);
|
|
23
23
|
}
|
|
24
|
-
let
|
|
25
|
-
function
|
|
26
|
-
return
|
|
24
|
+
let Ae = null;
|
|
25
|
+
function it() {
|
|
26
|
+
return Ae ?? Ks();
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
return te(
|
|
30
|
-
|
|
28
|
+
function Ks() {
|
|
29
|
+
return te(is(), (t) => {
|
|
30
|
+
Ae = t, os(t);
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function Qs() {
|
|
34
|
+
return Ae ?? it();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
return
|
|
36
|
+
function Js(t, s) {
|
|
37
|
+
return it(), us(t, s)();
|
|
38
38
|
}
|
|
39
39
|
function Ce(t) {
|
|
40
40
|
var s;
|
|
@@ -75,7 +75,7 @@ To fix this problem, declare your initialState as a function instead.`
|
|
|
75
75
|
}, _(s, "persist", t.persist ?? []), s;
|
|
76
76
|
}
|
|
77
77
|
var He;
|
|
78
|
-
let xe = (He = class extends
|
|
78
|
+
let xe = (He = class extends rt {
|
|
79
79
|
constructor() {
|
|
80
80
|
super();
|
|
81
81
|
_(this, "_name");
|
|
@@ -84,7 +84,7 @@ let xe = (He = class extends nt {
|
|
|
84
84
|
_(this, "_watchers");
|
|
85
85
|
_(this, "_store");
|
|
86
86
|
const e = this.getComputedStateDefinition();
|
|
87
|
-
this._name = this.getName() ?? new.target.name, this._booted = new Q(), this._computedStateKeys = new Set(Object.keys(e)), this._watchers = this.getStateWatchers(), this._store = this.usesStore() &&
|
|
87
|
+
this._name = this.getName() ?? new.target.name, this._booted = new Q(), this._computedStateKeys = new Set(Object.keys(e)), this._watchers = this.getStateWatchers(), this._store = this.usesStore() && Js(this._name, {
|
|
88
88
|
state: () => this.getInitialState(),
|
|
89
89
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
90
90
|
getters: e
|
|
@@ -124,7 +124,7 @@ let xe = (He = class extends nt {
|
|
|
124
124
|
updatePersistedState(e) {
|
|
125
125
|
if (!this._store)
|
|
126
126
|
return;
|
|
127
|
-
const r =
|
|
127
|
+
const r = nt(e), n = ne(this._store.$state, r);
|
|
128
128
|
Se(n) || this.onPersistentStateUpdated(n);
|
|
129
129
|
}
|
|
130
130
|
__get(e) {
|
|
@@ -134,7 +134,7 @@ let xe = (He = class extends nt {
|
|
|
134
134
|
this.setState({ [e]: r });
|
|
135
135
|
}
|
|
136
136
|
get storageKey() {
|
|
137
|
-
return `${
|
|
137
|
+
return `${Ws()}:${this._name}`;
|
|
138
138
|
}
|
|
139
139
|
onStateUpdated(e, r) {
|
|
140
140
|
const n = ne(e, this.static("persist"));
|
|
@@ -148,7 +148,7 @@ let xe = (He = class extends nt {
|
|
|
148
148
|
const r = O.get(this.storageKey);
|
|
149
149
|
r && O.set(this.storageKey, {
|
|
150
150
|
...r,
|
|
151
|
-
...this.serializePersistedState(
|
|
151
|
+
...this.serializePersistedState(Qt(e))
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
usesStore() {
|
|
@@ -191,12 +191,12 @@ let xe = (He = class extends nt {
|
|
|
191
191
|
return this._store ? this._store : W(`Failed getting '${this._name}' store`);
|
|
192
192
|
}
|
|
193
193
|
}, _(He, "persist", []), He);
|
|
194
|
-
const
|
|
194
|
+
const yl = {
|
|
195
195
|
Low: -256,
|
|
196
196
|
Default: 0,
|
|
197
197
|
High: 256
|
|
198
198
|
};
|
|
199
|
-
class
|
|
199
|
+
class Zs extends xe {
|
|
200
200
|
constructor() {
|
|
201
201
|
super(...arguments);
|
|
202
202
|
_(this, "listeners", {});
|
|
@@ -249,16 +249,16 @@ class Gs extends xe {
|
|
|
249
249
|
u.includes(a) || (u.push(a), u.sort((v, S) => S - v), o[a] = []), ($ = o[a]) == null || $.push(n);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
const F = se(
|
|
253
|
-
function
|
|
252
|
+
const F = se(Zs);
|
|
253
|
+
function $l(t) {
|
|
254
254
|
return t;
|
|
255
255
|
}
|
|
256
|
-
const
|
|
256
|
+
const Xs = Ce({
|
|
257
257
|
name: "app",
|
|
258
258
|
initialState: {
|
|
259
259
|
plugins: {},
|
|
260
260
|
instance: null,
|
|
261
|
-
environment:
|
|
261
|
+
environment: Jt() ?? "development",
|
|
262
262
|
version: j.version,
|
|
263
263
|
sourceUrl: j.sourceUrl,
|
|
264
264
|
settings: []
|
|
@@ -275,7 +275,7 @@ const Ys = Ce({
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
|
-
class
|
|
278
|
+
class Gs extends Xs {
|
|
279
279
|
constructor() {
|
|
280
280
|
super(...arguments);
|
|
281
281
|
_(this, "name", j.name);
|
|
@@ -295,7 +295,7 @@ class er extends Ys {
|
|
|
295
295
|
return await this.ready.then(e);
|
|
296
296
|
}
|
|
297
297
|
async reload(e) {
|
|
298
|
-
e &&
|
|
298
|
+
e && Zt(e), location.reload(), await Xt();
|
|
299
299
|
}
|
|
300
300
|
plugin(e) {
|
|
301
301
|
return this.plugins[e] ?? null;
|
|
@@ -308,11 +308,11 @@ class er extends Ys {
|
|
|
308
308
|
F.once("application-ready", () => this.ready.resolve()), F.once("application-mounted", () => this.mounted.resolve());
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
const A = se(
|
|
312
|
-
function
|
|
311
|
+
const A = se(Gs);
|
|
312
|
+
function wl(t) {
|
|
313
313
|
return t;
|
|
314
314
|
}
|
|
315
|
-
async function
|
|
315
|
+
async function Ys(t, ...s) {
|
|
316
316
|
A.setState(
|
|
317
317
|
"plugins",
|
|
318
318
|
t.reduce(
|
|
@@ -321,28 +321,28 @@ async function tr(t, ...s) {
|
|
|
321
321
|
)
|
|
322
322
|
), await Promise.all(t.map((e) => e.install(...s)) ?? []);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function er(t) {
|
|
325
325
|
return Object.entries(t.props ?? {}).reduce((s, [e, r]) => s + `${e}="${B(r)}"`, "");
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function _l(t) {
|
|
328
328
|
return t;
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function tr(t) {
|
|
331
331
|
const s = X(t);
|
|
332
332
|
return s ? ge(s) : void 0;
|
|
333
333
|
}
|
|
334
334
|
function I(t, s) {
|
|
335
|
-
return
|
|
335
|
+
return tr(t) ?? W(s ?? `Could not resolve '${B(t)}' injection key`);
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function sr(t, s) {
|
|
338
338
|
return X(t) ?? W(s ?? `Could not resolve '${B(t)}' injection key`);
|
|
339
339
|
}
|
|
340
|
-
function
|
|
341
|
-
return typeof t == "string" ? t : t.type ===
|
|
340
|
+
function ot(t) {
|
|
341
|
+
return typeof t == "string" ? t : t.type === It ? "" : t.type === qt || t.type === At ? t.children : t.type === "br" ? `
|
|
342
342
|
|
|
343
|
-
` : `<${t.type} ${
|
|
343
|
+
` : `<${t.type} ${er(t)}>${Array.from(t.children).map(ot).join("")}</${t.type}>`;
|
|
344
344
|
}
|
|
345
|
-
const Te = /* @__PURE__ */ new WeakMap(),
|
|
345
|
+
const Te = /* @__PURE__ */ new WeakMap(), rr = {
|
|
346
346
|
mounted(t, { value: s, modifiers: e }) {
|
|
347
347
|
const r = typeof s == "function" ? s : null, n = () => {
|
|
348
348
|
const a = t.getBoundingClientRect();
|
|
@@ -355,21 +355,21 @@ const Te = /* @__PURE__ */ new WeakMap(), ar = {
|
|
|
355
355
|
(s = Te.get(t)) == null || s.unobserve(t), Te.delete(t);
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
|
-
function
|
|
359
|
-
const { baseClasses: e, ...r } = t, { baseClasses: n, ...a } = s, u =
|
|
358
|
+
function ut(t, s) {
|
|
359
|
+
const { baseClasses: e, ...r } = t, { baseClasses: n, ...a } = s, u = vs(n, a);
|
|
360
360
|
return H(u(r), l(e));
|
|
361
361
|
}
|
|
362
362
|
function H(...t) {
|
|
363
|
-
return
|
|
363
|
+
return bs(gs(t));
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Cl(t, s) {
|
|
366
366
|
const e = F.on(t, s);
|
|
367
367
|
$e(() => e());
|
|
368
368
|
}
|
|
369
|
-
const
|
|
369
|
+
const nr = {
|
|
370
370
|
required: (t) => t ? void 0 : "required"
|
|
371
371
|
};
|
|
372
|
-
function
|
|
372
|
+
function ar(t, s) {
|
|
373
373
|
var e;
|
|
374
374
|
if (t == null)
|
|
375
375
|
return !0;
|
|
@@ -388,20 +388,20 @@ function ir(t, s) {
|
|
|
388
388
|
return typeof t == "object";
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
const he = { ...
|
|
392
|
-
function
|
|
391
|
+
const he = { ...nr };
|
|
392
|
+
function xl(t, s) {
|
|
393
393
|
he[t] = s;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
return
|
|
395
|
+
function lr(t, s) {
|
|
396
|
+
return ar(t, s) ? [] : ["invalid_value"];
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function ir(t, s) {
|
|
399
399
|
var r;
|
|
400
400
|
const e = (r = he[s]) == null ? void 0 : r.call(he, t);
|
|
401
|
-
return e ?
|
|
401
|
+
return e ? nt(e) : [];
|
|
402
402
|
}
|
|
403
|
-
const
|
|
404
|
-
class
|
|
403
|
+
const kl = Symbol(), Je = /* @__PURE__ */ new WeakMap();
|
|
404
|
+
class or extends rt {
|
|
405
405
|
constructor(e) {
|
|
406
406
|
super();
|
|
407
407
|
_(this, "errors");
|
|
@@ -465,7 +465,7 @@ class cr extends nt {
|
|
|
465
465
|
}
|
|
466
466
|
async focus(e) {
|
|
467
467
|
var r;
|
|
468
|
-
await
|
|
468
|
+
await Pt(), (r = this._listeners.focus) == null || r.forEach((n) => n(e));
|
|
469
469
|
}
|
|
470
470
|
__get(e) {
|
|
471
471
|
return e in this._fields ? this.getFieldValue(e) : super.__get(e);
|
|
@@ -480,9 +480,9 @@ class cr extends nt {
|
|
|
480
480
|
getFieldErrors(e, r) {
|
|
481
481
|
var o;
|
|
482
482
|
const n = [], a = this._data[e], u = ((o = r.rules) == null ? void 0 : o.split("|")) ?? [];
|
|
483
|
-
n.push(...
|
|
483
|
+
n.push(...lr(a, r));
|
|
484
484
|
for (const p of u)
|
|
485
|
-
p !== "required" && a == null || n.push(...
|
|
485
|
+
p !== "required" && a == null || n.push(...ir(a, p));
|
|
486
486
|
return n.length > 0 ? n : null;
|
|
487
487
|
}
|
|
488
488
|
getInitialData(e) {
|
|
@@ -505,28 +505,28 @@ class cr extends nt {
|
|
|
505
505
|
Object.keys(this._errors).forEach((r) => delete this._errors[r]), e && Object.assign(this._errors, e);
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
function
|
|
508
|
+
function ct(t, s) {
|
|
509
509
|
const e = X("form", null), r = e == null ? void 0 : e.on("focus", (n) => t.name === n && s());
|
|
510
510
|
$e(() => r == null ? void 0 : r());
|
|
511
511
|
}
|
|
512
|
-
function
|
|
513
|
-
return new
|
|
512
|
+
function dt(t) {
|
|
513
|
+
return new or(t);
|
|
514
514
|
}
|
|
515
|
-
function
|
|
516
|
-
const t =
|
|
517
|
-
return [c(() =>
|
|
515
|
+
function Pe() {
|
|
516
|
+
const t = Ye(), s = c(() => t.class);
|
|
517
|
+
return [c(() => Gt(t, "class")), s];
|
|
518
518
|
}
|
|
519
|
-
function
|
|
520
|
-
let s =
|
|
521
|
-
|
|
519
|
+
function Sl(t) {
|
|
520
|
+
let s = Yt;
|
|
521
|
+
et(() => s = t()), $e(() => s());
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Tl(t, s) {
|
|
524
524
|
const e = ge(O.get(t) ?? s);
|
|
525
|
-
return Le(e, () => O.set(t,
|
|
525
|
+
return Le(e, () => O.set(t, Dt(e))), e;
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function ur(t) {
|
|
528
528
|
let s = new Set(t), e, r;
|
|
529
|
-
const n =
|
|
529
|
+
const n = jt((a, u) => (r = a, e = u, {
|
|
530
530
|
get: () => s,
|
|
531
531
|
set: () => W("Attempted to write read-only reactive set")
|
|
532
532
|
}));
|
|
@@ -551,16 +551,16 @@ function dr(t) {
|
|
|
551
551
|
}
|
|
552
552
|
};
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Ml(t) {
|
|
555
555
|
const s = N(), e = c(t);
|
|
556
556
|
return Le(e, async () => s.value = await e.value, { immediate: !0 }), s;
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
const e = s ? t : {}, r = s ?? t, n = N(e.initial ?? null), a =
|
|
558
|
+
function Hl(t, s) {
|
|
559
|
+
const e = s ? t : {}, r = s ?? t, n = N(e.initial ?? null), a = es((u) => n.value = u, e.delay ?? 300);
|
|
560
560
|
return G(() => a(r())), n;
|
|
561
561
|
}
|
|
562
562
|
let ie = null;
|
|
563
|
-
function
|
|
563
|
+
function cr() {
|
|
564
564
|
return te(new Ne(), (t) => {
|
|
565
565
|
t.link = function(s) {
|
|
566
566
|
const e = Ne.prototype.link.apply(this, [s]);
|
|
@@ -568,51 +568,51 @@ function pr() {
|
|
|
568
568
|
};
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
|
-
function
|
|
572
|
-
const s =
|
|
571
|
+
function dr(t) {
|
|
572
|
+
const s = at(t, /<a[^>]*href="#action:([^"]+)"[^>]*>([^<]+)<\/a>/g);
|
|
573
573
|
for (const [e, r, n] of s)
|
|
574
574
|
t = t.replace(e, `<button type="button" data-markdown-action="${r}">${n}</button>`);
|
|
575
575
|
return t;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
578
|
-
const s =
|
|
577
|
+
function pr(t) {
|
|
578
|
+
const s = at(t, /<a[^>]*href="#route:([^"]+)"[^>]*>([^<]+)<\/a>/g);
|
|
579
579
|
for (const [e, r, n] of s) {
|
|
580
580
|
const a = (ie == null ? void 0 : ie.resolve(r)) ?? r;
|
|
581
581
|
t = t.replace(e, `<a data-markdown-route="${r}" href="${a}">${n}</a>`);
|
|
582
582
|
}
|
|
583
583
|
return t;
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function mr() {
|
|
586
586
|
return ie;
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function Vl(t) {
|
|
589
589
|
ie = t;
|
|
590
590
|
}
|
|
591
|
-
function
|
|
592
|
-
let s =
|
|
593
|
-
return s =
|
|
591
|
+
function fr(t) {
|
|
592
|
+
let s = ds(t, { renderer: cr(), async: !1 });
|
|
593
|
+
return s = pt(s), s = dr(s), s = pr(s), s;
|
|
594
594
|
}
|
|
595
|
-
function
|
|
596
|
-
return
|
|
595
|
+
function pt(t) {
|
|
596
|
+
return cs.sanitize(t, { ADD_ATTR: ["target"] });
|
|
597
597
|
}
|
|
598
|
-
const
|
|
598
|
+
const hr = {
|
|
599
599
|
mounted(t, { value: s }) {
|
|
600
|
-
t.innerHTML =
|
|
600
|
+
t.innerHTML = pt(s);
|
|
601
601
|
}
|
|
602
|
-
},
|
|
603
|
-
measure:
|
|
604
|
-
"safe-html":
|
|
605
|
-
},
|
|
602
|
+
}, gr = {
|
|
603
|
+
measure: rr,
|
|
604
|
+
"safe-html": hr
|
|
605
|
+
}, vr = {
|
|
606
606
|
install(t, s) {
|
|
607
607
|
const e = {
|
|
608
|
-
...
|
|
608
|
+
...gr,
|
|
609
609
|
...s.directives
|
|
610
610
|
};
|
|
611
611
|
for (const [r, n] of Object.entries(e))
|
|
612
612
|
t.directive(r, n);
|
|
613
613
|
}
|
|
614
614
|
};
|
|
615
|
-
class
|
|
615
|
+
class br extends xe {
|
|
616
616
|
constructor() {
|
|
617
617
|
super(...arguments);
|
|
618
618
|
_(this, "cache");
|
|
@@ -633,23 +633,23 @@ class $r extends xe {
|
|
|
633
633
|
});
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
const
|
|
637
|
-
class
|
|
636
|
+
const El = se(br);
|
|
637
|
+
class yr extends xe {
|
|
638
638
|
async purge() {
|
|
639
639
|
await F.emit("purge-storage");
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
|
-
const
|
|
643
|
-
function
|
|
642
|
+
const mt = se(yr);
|
|
643
|
+
function Ll(t, s) {
|
|
644
644
|
return {
|
|
645
645
|
...t,
|
|
646
646
|
...ne(s, Object.keys(t))
|
|
647
647
|
};
|
|
648
648
|
}
|
|
649
|
-
const
|
|
649
|
+
const $r = {
|
|
650
650
|
$app: A,
|
|
651
651
|
$events: F,
|
|
652
|
-
$storage:
|
|
652
|
+
$storage: mt
|
|
653
653
|
};
|
|
654
654
|
async function ke(t, s) {
|
|
655
655
|
await Promise.all(
|
|
@@ -661,44 +661,34 @@ async function ke(t, s) {
|
|
|
661
661
|
})
|
|
662
662
|
), Object.assign(t.config.globalProperties, s), (J() || ze()) && Object.assign(globalThis, s);
|
|
663
663
|
}
|
|
664
|
-
const
|
|
664
|
+
const wr = {
|
|
665
665
|
async install(t, s) {
|
|
666
666
|
var r;
|
|
667
667
|
const e = {
|
|
668
|
-
|
|
668
|
+
...$r,
|
|
669
669
|
...s.services
|
|
670
670
|
};
|
|
671
|
-
t.use(
|
|
671
|
+
t.use(Qs()), (r = s.settings) == null || r.forEach((n) => A.addSetting(n)), await ke(t, e);
|
|
672
672
|
}
|
|
673
|
-
},
|
|
674
|
-
function Pe() {
|
|
675
|
-
const t = ot(), { close: s, remove: e, ...r } = fs(Ze.has(t) ? {} : { removeOnClose: !1 });
|
|
676
|
-
return Ze.add(t), {
|
|
677
|
-
...r,
|
|
678
|
-
async close(n) {
|
|
679
|
-
s(n), await le(1e3), e();
|
|
680
|
-
}
|
|
681
|
-
};
|
|
682
|
-
}
|
|
683
|
-
const gt = 768, ve = {
|
|
673
|
+
}, ft = 768, ve = {
|
|
684
674
|
Mobile: "mobile",
|
|
685
675
|
Desktop: "desktop"
|
|
686
676
|
};
|
|
687
|
-
function
|
|
688
|
-
return globalThis.innerWidth >
|
|
677
|
+
function ht() {
|
|
678
|
+
return globalThis.innerWidth > ft ? ve.Desktop : ve.Mobile;
|
|
689
679
|
}
|
|
690
|
-
const
|
|
680
|
+
const _r = Ce({
|
|
691
681
|
name: "ui",
|
|
692
682
|
initialState: {
|
|
693
683
|
toasts: [],
|
|
694
|
-
layout:
|
|
684
|
+
layout: ht()
|
|
695
685
|
},
|
|
696
686
|
computed: {
|
|
697
687
|
desktop: ({ layout: t }) => t === ve.Desktop,
|
|
698
688
|
mobile: ({ layout: t }) => t === ve.Mobile
|
|
699
689
|
}
|
|
700
690
|
});
|
|
701
|
-
class
|
|
691
|
+
class Cr extends _r {
|
|
702
692
|
constructor() {
|
|
703
693
|
super(...arguments);
|
|
704
694
|
_(this, "components", {});
|
|
@@ -774,7 +764,7 @@ class kr extends xr {
|
|
|
774
764
|
const { operationPromise: o, props: p, delay: g } = a();
|
|
775
765
|
if (g && await Promise.race([le({ ms: g }).then(() => u = !0), o]), g && !u)
|
|
776
766
|
return o;
|
|
777
|
-
const $ =
|
|
767
|
+
const $ = ps(this.requireComponent("loading-modal"), p);
|
|
778
768
|
We($);
|
|
779
769
|
try {
|
|
780
770
|
const v = await o;
|
|
@@ -811,11 +801,11 @@ class kr extends xr {
|
|
|
811
801
|
watchViewportBreakpoints() {
|
|
812
802
|
if (!globalThis.matchMedia)
|
|
813
803
|
return;
|
|
814
|
-
globalThis.matchMedia(`(min-width: ${
|
|
804
|
+
globalThis.matchMedia(`(min-width: ${ft}px)`).addEventListener("change", () => this.setState({ layout: ht() }));
|
|
815
805
|
}
|
|
816
806
|
}
|
|
817
|
-
const P = se(
|
|
818
|
-
class
|
|
807
|
+
const P = se(Cr);
|
|
808
|
+
class xr {
|
|
819
809
|
constructor(s, e) {
|
|
820
810
|
this.locale = s, this.fallbackLocale = e;
|
|
821
811
|
}
|
|
@@ -841,7 +831,7 @@ class Sr {
|
|
|
841
831
|
return J() && console.warn("Lang provider is missing"), e;
|
|
842
832
|
}
|
|
843
833
|
}
|
|
844
|
-
const
|
|
834
|
+
const kr = Ce({
|
|
845
835
|
name: "lang",
|
|
846
836
|
persist: ["locale", "fallbackLocale"],
|
|
847
837
|
initialState: {
|
|
@@ -850,11 +840,11 @@ const Tr = Ce({
|
|
|
850
840
|
fallbackLocale: "en"
|
|
851
841
|
}
|
|
852
842
|
});
|
|
853
|
-
class
|
|
843
|
+
class Sr extends kr {
|
|
854
844
|
constructor() {
|
|
855
845
|
super();
|
|
856
846
|
_(this, "provider");
|
|
857
|
-
this.provider = new
|
|
847
|
+
this.provider = new xr(
|
|
858
848
|
this.getState("locale") ?? this.getBrowserLocale(),
|
|
859
849
|
this.getState("fallbackLocale")
|
|
860
850
|
);
|
|
@@ -882,7 +872,7 @@ class Mr extends Tr {
|
|
|
882
872
|
);
|
|
883
873
|
}
|
|
884
874
|
}
|
|
885
|
-
const Z = se(
|
|
875
|
+
const Z = se(Sr), gt = Z.translate.bind(Z), k = Z.translateWithDefault.bind(Z), Tr = Ce({
|
|
886
876
|
name: "errors",
|
|
887
877
|
initialState: {
|
|
888
878
|
logs: [],
|
|
@@ -895,7 +885,7 @@ const Z = se(Mr), bt = Z.translate.bind(Z), k = Z.translateWithDefault.bind(Z),
|
|
|
895
885
|
hasStartupErrors: ({ startupErrors: t }) => t.length > 0
|
|
896
886
|
}
|
|
897
887
|
});
|
|
898
|
-
class
|
|
888
|
+
class Mr extends Tr {
|
|
899
889
|
constructor() {
|
|
900
890
|
super(...arguments);
|
|
901
891
|
_(this, "forceReporting", !1);
|
|
@@ -971,7 +961,7 @@ class Vr extends Hr {
|
|
|
971
961
|
return fe(e) && "title" in e;
|
|
972
962
|
}
|
|
973
963
|
async createErrorReport(e) {
|
|
974
|
-
return typeof e == "string" ? { title: e } : e instanceof Error || e instanceof _e ? this.createErrorReportFromError(e) : fe(e) ?
|
|
964
|
+
return typeof e == "string" ? { title: e } : e instanceof Error || e instanceof _e ? this.createErrorReportFromError(e) : fe(e) ? lt({
|
|
975
965
|
title: B(
|
|
976
966
|
e.name ?? e.title ?? k("errors.unknown", "Unknown Error")
|
|
977
967
|
),
|
|
@@ -997,7 +987,7 @@ class Vr extends Hr {
|
|
|
997
987
|
};
|
|
998
988
|
}
|
|
999
989
|
}
|
|
1000
|
-
const
|
|
990
|
+
const vt = se(Mr), bt = /* @__PURE__ */ h({
|
|
1001
991
|
__name: "HeadlessButton",
|
|
1002
992
|
props: {
|
|
1003
993
|
class: {},
|
|
@@ -1015,7 +1005,7 @@ const yt = se(Vr), $t = /* @__PURE__ */ h({
|
|
|
1015
1005
|
setup(t) {
|
|
1016
1006
|
const s = c(() => t.as ? { as: t.as } : t.route ? {
|
|
1017
1007
|
as: P.resolveComponent("router-link") ?? "a",
|
|
1018
|
-
to:
|
|
1008
|
+
to: lt({
|
|
1019
1009
|
name: t.route,
|
|
1020
1010
|
params: t.routeParams,
|
|
1021
1011
|
query: t.routeQuery
|
|
@@ -1028,7 +1018,7 @@ const yt = se(Vr), $t = /* @__PURE__ */ h({
|
|
|
1028
1018
|
as: "button",
|
|
1029
1019
|
type: t.submit ? "submit" : "button"
|
|
1030
1020
|
});
|
|
1031
|
-
return (e, r) => (i(), f(l(
|
|
1021
|
+
return (e, r) => (i(), f(l(ys), V({
|
|
1032
1022
|
class: t.class,
|
|
1033
1023
|
"as-child": e.asChild,
|
|
1034
1024
|
disabled: e.disabled
|
|
@@ -1055,7 +1045,7 @@ const yt = se(Vr), $t = /* @__PURE__ */ h({
|
|
|
1055
1045
|
as: {}
|
|
1056
1046
|
},
|
|
1057
1047
|
setup(t) {
|
|
1058
|
-
const s = K(t, ["class", "size", "variant", "disabled"]), e = c(() =>
|
|
1048
|
+
const s = K(t, ["class", "size", "variant", "disabled"]), e = c(() => ut(
|
|
1059
1049
|
{ baseClasses: t.class, variant: t.variant, size: t.size, disabled: t.disabled },
|
|
1060
1050
|
{
|
|
1061
1051
|
baseClasses: "focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
@@ -1150,7 +1140,7 @@ const yt = se(Vr), $t = /* @__PURE__ */ h({
|
|
|
1150
1140
|
}
|
|
1151
1141
|
}
|
|
1152
1142
|
));
|
|
1153
|
-
return (r, n) => (i(), f(
|
|
1143
|
+
return (r, n) => (i(), f(bt, V({
|
|
1154
1144
|
class: e.value,
|
|
1155
1145
|
disabled: r.disabled
|
|
1156
1146
|
}, s), {
|
|
@@ -1161,10 +1151,10 @@ const yt = se(Vr), $t = /* @__PURE__ */ h({
|
|
|
1161
1151
|
}, 16, ["class", "disabled"]));
|
|
1162
1152
|
}
|
|
1163
1153
|
});
|
|
1164
|
-
function
|
|
1154
|
+
function Hr(t) {
|
|
1165
1155
|
return typeof t == "object" && t !== null && "label" in t;
|
|
1166
1156
|
}
|
|
1167
|
-
const
|
|
1157
|
+
const yt = /* @__PURE__ */ h({
|
|
1168
1158
|
__name: "HeadlessSelectValue",
|
|
1169
1159
|
setup(t) {
|
|
1170
1160
|
const s = I(
|
|
@@ -1184,28 +1174,28 @@ const wt = /* @__PURE__ */ h({
|
|
|
1184
1174
|
placeholder: l(s).placeholder
|
|
1185
1175
|
}, null, 8, ["placeholder"]));
|
|
1186
1176
|
}
|
|
1187
|
-
}),
|
|
1177
|
+
}), $t = /* @__PURE__ */ h({
|
|
1188
1178
|
__name: "HeadlessSelectTrigger",
|
|
1189
1179
|
setup(t) {
|
|
1190
1180
|
const s = I(
|
|
1191
1181
|
"select",
|
|
1192
1182
|
"<HeadlessSelectTrigger> must be a child of a <HeadlessSelect>"
|
|
1193
1183
|
);
|
|
1194
|
-
return (e, r) => (i(), f(l(
|
|
1184
|
+
return (e, r) => (i(), f(l($s), {
|
|
1195
1185
|
id: l(s).id
|
|
1196
1186
|
}, {
|
|
1197
1187
|
default: m(() => [
|
|
1198
1188
|
w(e.$slots, "default", {}, () => [
|
|
1199
|
-
d(
|
|
1189
|
+
d(yt, {
|
|
1200
1190
|
placeholder: l(s).placeholder
|
|
1201
1191
|
}, null, 8, ["placeholder"]),
|
|
1202
|
-
d(l(
|
|
1192
|
+
d(l(ws))
|
|
1203
1193
|
])
|
|
1204
1194
|
]),
|
|
1205
1195
|
_: 3
|
|
1206
1196
|
}, 8, ["id"]));
|
|
1207
1197
|
}
|
|
1208
|
-
}),
|
|
1198
|
+
}), wt = /* @__PURE__ */ h({
|
|
1209
1199
|
__name: "HeadlessSelectOption",
|
|
1210
1200
|
props: {
|
|
1211
1201
|
value: {},
|
|
@@ -1223,9 +1213,9 @@ const wt = /* @__PURE__ */ h({
|
|
|
1223
1213
|
const r = (n = s.options) == null ? void 0 : n.find((a) => a.value === t.value);
|
|
1224
1214
|
return r ? r.label : B(t.value);
|
|
1225
1215
|
});
|
|
1226
|
-
return (r, n) => (i(), f(l(
|
|
1216
|
+
return (r, n) => (i(), f(l(_s), ue(ce(r.$props)), {
|
|
1227
1217
|
default: m(() => [
|
|
1228
|
-
d(l(
|
|
1218
|
+
d(l(Cs), null, {
|
|
1229
1219
|
default: m(() => [
|
|
1230
1220
|
w(r.$slots, "default", {}, () => [
|
|
1231
1221
|
L(C(e.value), 1)
|
|
@@ -1237,7 +1227,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1237
1227
|
_: 3
|
|
1238
1228
|
}, 16));
|
|
1239
1229
|
}
|
|
1240
|
-
}),
|
|
1230
|
+
}), _t = /* @__PURE__ */ h({
|
|
1241
1231
|
__name: "HeadlessSelectOptions",
|
|
1242
1232
|
props: {
|
|
1243
1233
|
class: {},
|
|
@@ -1248,9 +1238,9 @@ const wt = /* @__PURE__ */ h({
|
|
|
1248
1238
|
"select",
|
|
1249
1239
|
"<HeadlessSelectOptions> must be a child of a <HeadlessSelect>"
|
|
1250
1240
|
), e = c(() => H("min-w-(--reka-select-trigger-width) max-h-(--reka-select-content-available-height)", t.class));
|
|
1251
|
-
return (r, n) => (i(), f(l(
|
|
1241
|
+
return (r, n) => (i(), f(l(xs), null, {
|
|
1252
1242
|
default: m(() => [
|
|
1253
|
-
d(l(
|
|
1243
|
+
d(l(ks), {
|
|
1254
1244
|
position: "popper",
|
|
1255
1245
|
class: x(e.value),
|
|
1256
1246
|
align: l(s).align,
|
|
@@ -1258,12 +1248,12 @@ const wt = /* @__PURE__ */ h({
|
|
|
1258
1248
|
"side-offset": 4
|
|
1259
1249
|
}, {
|
|
1260
1250
|
default: m(() => [
|
|
1261
|
-
d(l(
|
|
1251
|
+
d(l(Ss), {
|
|
1262
1252
|
class: x(r.innerClass)
|
|
1263
1253
|
}, {
|
|
1264
1254
|
default: m(() => [
|
|
1265
1255
|
w(r.$slots, "default", {}, () => [
|
|
1266
|
-
(i(!0), y(D, null, U(l(s).options ?? [], (a) => (i(), f(
|
|
1256
|
+
(i(!0), y(D, null, U(l(s).options ?? [], (a) => (i(), f(wt, {
|
|
1267
1257
|
key: a.key,
|
|
1268
1258
|
value: a.value
|
|
1269
1259
|
}, null, 8, ["value"]))), 128))
|
|
@@ -1278,7 +1268,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1278
1268
|
_: 3
|
|
1279
1269
|
}));
|
|
1280
1270
|
}
|
|
1281
|
-
}),
|
|
1271
|
+
}), Vr = /* @__PURE__ */ h({
|
|
1282
1272
|
inheritAttrs: !1,
|
|
1283
1273
|
__name: "HeadlessSelect",
|
|
1284
1274
|
props: {
|
|
@@ -1300,7 +1290,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1300
1290
|
setup(t, { expose: s, emit: e }) {
|
|
1301
1291
|
const r = e, n = X("form", null), a = c(() => n && t.name ? n.getFieldValue(t.name) : t.modelValue), u = c(() => a.value), o = c(() => !n || !t.name ? null : n.errors[t.name] ?? null), p = c(() => t.options ? t.options.map((v) => ({
|
|
1302
1292
|
key: oe(),
|
|
1303
|
-
label: t.renderOption ? t.renderOption(v) :
|
|
1293
|
+
label: t.renderOption ? t.renderOption(v) : Hr(v) ? ts(v.label) : B(v),
|
|
1304
1294
|
value: v
|
|
1305
1295
|
})) : null), g = {
|
|
1306
1296
|
labelClass: t.labelClass,
|
|
@@ -1334,7 +1324,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1334
1324
|
function $(v) {
|
|
1335
1325
|
g.update(v);
|
|
1336
1326
|
}
|
|
1337
|
-
return de("select", g), s(g), (v, S) => (i(), f(l(
|
|
1327
|
+
return de("select", g), s(g), (v, S) => (i(), f(l(Ts), {
|
|
1338
1328
|
"model-value": u.value,
|
|
1339
1329
|
by: v.compareOptions,
|
|
1340
1330
|
"onUpdate:modelValue": S[0] || (S[0] = (q) => $(q))
|
|
@@ -1346,8 +1336,8 @@ const wt = /* @__PURE__ */ h({
|
|
|
1346
1336
|
modelValue: v.modelValue,
|
|
1347
1337
|
open: q
|
|
1348
1338
|
}, () => [
|
|
1349
|
-
d(
|
|
1350
|
-
d(
|
|
1339
|
+
d($t),
|
|
1340
|
+
d(_t)
|
|
1351
1341
|
])
|
|
1352
1342
|
]),
|
|
1353
1343
|
_: 2
|
|
@@ -1356,7 +1346,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1356
1346
|
_: 3
|
|
1357
1347
|
}, 8, ["model-value", "by"]));
|
|
1358
1348
|
}
|
|
1359
|
-
}),
|
|
1349
|
+
}), Ze = /* @__PURE__ */ h({
|
|
1360
1350
|
__name: "HeadlessSelectLabel",
|
|
1361
1351
|
props: {
|
|
1362
1352
|
asChild: { type: Boolean },
|
|
@@ -1367,7 +1357,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1367
1357
|
"select",
|
|
1368
1358
|
"<HeadlessSelectLabel> must be a child of a <HeadlessSelect>"
|
|
1369
1359
|
), e = Re(), r = c(() => !!(s.label || e.default));
|
|
1370
|
-
return (n, a) => r.value ? (i(), f(l(
|
|
1360
|
+
return (n, a) => r.value ? (i(), f(l(Ms), V({
|
|
1371
1361
|
key: 0,
|
|
1372
1362
|
for: l(s).id
|
|
1373
1363
|
}, n.$props), {
|
|
@@ -1379,14 +1369,14 @@ const wt = /* @__PURE__ */ h({
|
|
|
1379
1369
|
_: 3
|
|
1380
1370
|
}, 16, ["for"])) : M("", !0);
|
|
1381
1371
|
}
|
|
1382
|
-
}),
|
|
1372
|
+
}), Ct = /* @__PURE__ */ h({
|
|
1383
1373
|
__name: "SelectLabel",
|
|
1384
1374
|
props: {
|
|
1385
1375
|
class: {}
|
|
1386
1376
|
},
|
|
1387
1377
|
setup(t) {
|
|
1388
1378
|
const s = I("select", "<SelectLabel> must be a child of a <Select>"), e = c(() => H("block text-sm leading-6 font-medium text-gray-900", s.labelClass, t.class));
|
|
1389
|
-
return (r, n) => r.$slots.default ? (i(), f(
|
|
1379
|
+
return (r, n) => r.$slots.default ? (i(), f(Ze, {
|
|
1390
1380
|
key: 0,
|
|
1391
1381
|
class: x(e.value)
|
|
1392
1382
|
}, {
|
|
@@ -1394,12 +1384,12 @@ const wt = /* @__PURE__ */ h({
|
|
|
1394
1384
|
w(r.$slots, "default")
|
|
1395
1385
|
]),
|
|
1396
1386
|
_: 3
|
|
1397
|
-
}, 8, ["class"])) : (i(), f(
|
|
1387
|
+
}, 8, ["class"])) : (i(), f(Ze, {
|
|
1398
1388
|
key: 1,
|
|
1399
1389
|
class: x(e.value)
|
|
1400
1390
|
}, null, 8, ["class"]));
|
|
1401
1391
|
}
|
|
1402
|
-
}),
|
|
1392
|
+
}), Xe = /* @__PURE__ */ h({
|
|
1403
1393
|
__name: "SelectOption",
|
|
1404
1394
|
props: {
|
|
1405
1395
|
value: {},
|
|
@@ -1412,7 +1402,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1412
1402
|
"relative flex max-w-[calc(100vw-2rem)] cursor-pointer items-center truncate rounded-md gap-2 px-2 py-1 text-sm select-none *:truncate group-data-[highlighted]:bg-gray-100 group-data-[state=checked]:font-semibold group-data-[state=unchecked]:opacity-50",
|
|
1413
1403
|
t.innerClass
|
|
1414
1404
|
));
|
|
1415
|
-
return (r, n) => (i(), f(
|
|
1405
|
+
return (r, n) => (i(), f(wt, {
|
|
1416
1406
|
class: x(s.value),
|
|
1417
1407
|
value: r.value
|
|
1418
1408
|
}, {
|
|
@@ -1426,7 +1416,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1426
1416
|
_: 3
|
|
1427
1417
|
}, 8, ["class", "value"]));
|
|
1428
1418
|
}
|
|
1429
|
-
}),
|
|
1419
|
+
}), xt = /* @__PURE__ */ h({
|
|
1430
1420
|
__name: "SelectOptions",
|
|
1431
1421
|
props: {
|
|
1432
1422
|
class: {}
|
|
@@ -1437,7 +1427,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1437
1427
|
s.optionsClass,
|
|
1438
1428
|
t.class
|
|
1439
1429
|
));
|
|
1440
|
-
return (r, n) => (i(), f(
|
|
1430
|
+
return (r, n) => (i(), f(_t, {
|
|
1441
1431
|
class: x(e.value)
|
|
1442
1432
|
}, {
|
|
1443
1433
|
default: m(() => {
|
|
@@ -1446,7 +1436,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1446
1436
|
(a = l(s).options) != null && a.length ? w(r.$slots, "default", { key: 0 }, () => {
|
|
1447
1437
|
var u;
|
|
1448
1438
|
return [
|
|
1449
|
-
(i(!0), y(D, null, U(((u = l(s)) == null ? void 0 : u.options) ?? [], (o) => (i(), f(
|
|
1439
|
+
(i(!0), y(D, null, U(((u = l(s)) == null ? void 0 : u.options) ?? [], (o) => (i(), f(Xe, {
|
|
1450
1440
|
key: o.key,
|
|
1451
1441
|
value: o.value
|
|
1452
1442
|
}, {
|
|
@@ -1457,7 +1447,7 @@ const wt = /* @__PURE__ */ h({
|
|
|
1457
1447
|
}, 1032, ["value"]))), 128))
|
|
1458
1448
|
];
|
|
1459
1449
|
}) : w(r.$slots, "default", { key: 1 }, () => [
|
|
1460
|
-
d(
|
|
1450
|
+
d(Xe, {
|
|
1461
1451
|
disabled: "",
|
|
1462
1452
|
value: null
|
|
1463
1453
|
}, {
|
|
@@ -1472,20 +1462,20 @@ const wt = /* @__PURE__ */ h({
|
|
|
1472
1462
|
_: 3
|
|
1473
1463
|
}, 8, ["class"]));
|
|
1474
1464
|
}
|
|
1475
|
-
}),
|
|
1465
|
+
}), Er = {
|
|
1476
1466
|
viewBox: "0 0 20 20",
|
|
1477
1467
|
width: "1.2em",
|
|
1478
1468
|
height: "1.2em"
|
|
1479
1469
|
};
|
|
1480
|
-
function
|
|
1481
|
-
return i(), y("svg",
|
|
1470
|
+
function Lr(t, s) {
|
|
1471
|
+
return i(), y("svg", Er, s[0] || (s[0] = [
|
|
1482
1472
|
b("path", {
|
|
1483
1473
|
fill: "currentColor",
|
|
1484
1474
|
d: "m9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828L5.757 6.586L4.343 8z"
|
|
1485
1475
|
}, null, -1)
|
|
1486
1476
|
]));
|
|
1487
1477
|
}
|
|
1488
|
-
const
|
|
1478
|
+
const Rr = E({ name: "zondicons-cheveron-down", render: Lr }), kt = /* @__PURE__ */ h({
|
|
1489
1479
|
__name: "SelectTrigger",
|
|
1490
1480
|
props: {
|
|
1491
1481
|
class: {}
|
|
@@ -1497,17 +1487,17 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1497
1487
|
{ "mt-1": s.label },
|
|
1498
1488
|
t.class
|
|
1499
1489
|
));
|
|
1500
|
-
return (r, n) => (i(), f(
|
|
1490
|
+
return (r, n) => (i(), f($t, {
|
|
1501
1491
|
class: x(e.value)
|
|
1502
1492
|
}, {
|
|
1503
1493
|
default: m(() => [
|
|
1504
|
-
d(
|
|
1505
|
-
d(l(
|
|
1494
|
+
d(yt, { class: "col-start-1 row-start-1 truncate pr-6" }),
|
|
1495
|
+
d(l(Rr), { class: "col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4" })
|
|
1506
1496
|
]),
|
|
1507
1497
|
_: 1
|
|
1508
1498
|
}, 8, ["class"]));
|
|
1509
1499
|
}
|
|
1510
|
-
}),
|
|
1500
|
+
}), zr = /* @__PURE__ */ h({
|
|
1511
1501
|
__name: "Select",
|
|
1512
1502
|
props: {
|
|
1513
1503
|
as: {},
|
|
@@ -1526,21 +1516,21 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1526
1516
|
},
|
|
1527
1517
|
emits: ["update:modelValue"],
|
|
1528
1518
|
setup(t) {
|
|
1529
|
-
const { forwardRef: s } =
|
|
1530
|
-
return (e, r) => (i(), f(
|
|
1519
|
+
const { forwardRef: s } = qe();
|
|
1520
|
+
return (e, r) => (i(), f(Vr, V({ ref: l(s) }, e.$props, {
|
|
1531
1521
|
"onUpdate:modelValue": r[0] || (r[0] = (n) => e.$emit("update:modelValue", n))
|
|
1532
1522
|
}), {
|
|
1533
1523
|
default: m(() => [
|
|
1534
|
-
d(
|
|
1524
|
+
d(Ct),
|
|
1535
1525
|
w(e.$slots, "default", {}, () => [
|
|
1536
|
-
d(
|
|
1537
|
-
d(
|
|
1526
|
+
d(kt),
|
|
1527
|
+
d(xt)
|
|
1538
1528
|
])
|
|
1539
1529
|
]),
|
|
1540
1530
|
_: 3
|
|
1541
1531
|
}, 16));
|
|
1542
1532
|
}
|
|
1543
|
-
}),
|
|
1533
|
+
}), Ir = { class: "grow" }, qr = /* @__PURE__ */ h({
|
|
1544
1534
|
__name: "Language",
|
|
1545
1535
|
setup(t) {
|
|
1546
1536
|
const s = Z.getBrowserLocale(), e = c(() => [null, ...Z.locales]);
|
|
@@ -1549,7 +1539,7 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1549
1539
|
locale: j.locales[s] ?? s
|
|
1550
1540
|
});
|
|
1551
1541
|
}
|
|
1552
|
-
return (n, a) => (i(), f(
|
|
1542
|
+
return (n, a) => (i(), f(zr, {
|
|
1553
1543
|
modelValue: n.$lang.locale,
|
|
1554
1544
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => n.$lang.locale = u),
|
|
1555
1545
|
class: "flex flex-col items-start md:flex-row",
|
|
@@ -1558,8 +1548,8 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1558
1548
|
"render-option": r
|
|
1559
1549
|
}, {
|
|
1560
1550
|
default: m(() => [
|
|
1561
|
-
b("div",
|
|
1562
|
-
d(
|
|
1551
|
+
b("div", Ir, [
|
|
1552
|
+
d(Ct, { class: "text-base font-semibold" }, {
|
|
1563
1553
|
default: m(() => [
|
|
1564
1554
|
L(C(n.$td("settings.locale", "Language")), 1)
|
|
1565
1555
|
]),
|
|
@@ -1573,25 +1563,25 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1573
1563
|
]),
|
|
1574
1564
|
d(R, {
|
|
1575
1565
|
variant: "ghost",
|
|
1576
|
-
as:
|
|
1566
|
+
as: kt,
|
|
1577
1567
|
class: "grid w-auto outline-none"
|
|
1578
1568
|
}),
|
|
1579
|
-
d(
|
|
1569
|
+
d(xt)
|
|
1580
1570
|
]),
|
|
1581
1571
|
_: 1
|
|
1582
1572
|
}, 8, ["modelValue", "options"]));
|
|
1583
1573
|
}
|
|
1584
|
-
}),
|
|
1574
|
+
}), Ar = [
|
|
1585
1575
|
{
|
|
1586
1576
|
priority: 100,
|
|
1587
|
-
component:
|
|
1577
|
+
component: qr
|
|
1588
1578
|
}
|
|
1589
|
-
],
|
|
1579
|
+
], Pr = { $lang: Z }, Dr = {
|
|
1590
1580
|
async install(t) {
|
|
1591
1581
|
var s;
|
|
1592
|
-
(s = t.config.globalProperties).$t ?? (s.$t =
|
|
1582
|
+
(s = t.config.globalProperties).$t ?? (s.$t = gt), t.config.globalProperties.$td = k, Ar.forEach((e) => A.addSetting(e)), await ke(t, Pr);
|
|
1593
1583
|
}
|
|
1594
|
-
},
|
|
1584
|
+
}, jr = /* @__PURE__ */ h({
|
|
1595
1585
|
__name: "Markdown",
|
|
1596
1586
|
props: {
|
|
1597
1587
|
as: {},
|
|
@@ -1603,12 +1593,12 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1603
1593
|
actions: {}
|
|
1604
1594
|
},
|
|
1605
1595
|
setup(t) {
|
|
1606
|
-
const s =
|
|
1596
|
+
const s = Ye(), e = Re(), r = c(() => e.default ? e.default().map(ot).join("") : t.text ?? (t.langKey && (t.langDefault ? k(t.langKey, t.langDefault, t.langParams ?? {}) : gt(t.langKey, t.langParams ?? {})))), n = c(() => {
|
|
1607
1597
|
if (!r.value)
|
|
1608
1598
|
return null;
|
|
1609
|
-
let o =
|
|
1599
|
+
let o = fr(r.value);
|
|
1610
1600
|
return t.inline && (o = o.replace("<p>", "<span>").replace("</p>", "</span>")), o;
|
|
1611
|
-
}), a = () =>
|
|
1601
|
+
}), a = () => Bt(t.as ?? (t.inline ? "span" : "div"), {
|
|
1612
1602
|
innerHTML: n.value,
|
|
1613
1603
|
onClick: u,
|
|
1614
1604
|
...s,
|
|
@@ -1622,19 +1612,19 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1622
1612
|
return;
|
|
1623
1613
|
}
|
|
1624
1614
|
if (Oe(p, HTMLAnchorElement) && p.dataset.markdownRoute) {
|
|
1625
|
-
const v =
|
|
1615
|
+
const v = mr();
|
|
1626
1616
|
v && (o.preventDefault(), v.visit(p.dataset.markdownRoute));
|
|
1627
1617
|
return;
|
|
1628
1618
|
}
|
|
1629
1619
|
}
|
|
1630
1620
|
return (o, p) => (i(), f(a));
|
|
1631
1621
|
}
|
|
1632
|
-
}),
|
|
1622
|
+
}), Br = (t, s) => {
|
|
1633
1623
|
const e = t.__vccOpts || t;
|
|
1634
1624
|
for (const [r, n] of s)
|
|
1635
1625
|
e[r] = n;
|
|
1636
1626
|
return e;
|
|
1637
|
-
}, z = /* @__PURE__ */
|
|
1627
|
+
}, z = /* @__PURE__ */ Br(jr, [["__scopeId", "data-v-8b211cfb"]]), Fr = { class: "flex-grow" }, Ur = ["id"], Or = /* @__PURE__ */ h({
|
|
1638
1628
|
__name: "Setting",
|
|
1639
1629
|
props: {
|
|
1640
1630
|
title: {},
|
|
@@ -1648,11 +1638,11 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1648
1638
|
return (e, r) => (i(), y("div", {
|
|
1649
1639
|
class: x(["mt-4 flex", { "flex-col": e.layout === "vertical" }])
|
|
1650
1640
|
}, [
|
|
1651
|
-
b("div",
|
|
1641
|
+
b("div", Fr, [
|
|
1652
1642
|
b("h3", {
|
|
1653
1643
|
id: e.titleId,
|
|
1654
1644
|
class: "text-base font-semibold"
|
|
1655
|
-
}, C(e.title), 9,
|
|
1645
|
+
}, C(e.title), 9, Ur),
|
|
1656
1646
|
e.description ? (i(), f(z, {
|
|
1657
1647
|
key: 0,
|
|
1658
1648
|
text: e.description,
|
|
@@ -1666,7 +1656,7 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1666
1656
|
], 2)
|
|
1667
1657
|
], 2));
|
|
1668
1658
|
}
|
|
1669
|
-
}),
|
|
1659
|
+
}), Nr = ["for"], Wr = /* @__PURE__ */ h({
|
|
1670
1660
|
inheritAttrs: !1,
|
|
1671
1661
|
__name: "HeadlessSwitch",
|
|
1672
1662
|
props: {
|
|
@@ -1709,8 +1699,8 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1709
1699
|
key: 0,
|
|
1710
1700
|
for: u.id,
|
|
1711
1701
|
class: x(o.labelClass)
|
|
1712
|
-
}, C(o.label), 11,
|
|
1713
|
-
d(l(
|
|
1702
|
+
}, C(o.label), 11, Nr)) : M("", !0),
|
|
1703
|
+
d(l(Hs), V({
|
|
1714
1704
|
id: u.id,
|
|
1715
1705
|
name: o.name,
|
|
1716
1706
|
"model-value": u.value.value
|
|
@@ -1719,7 +1709,7 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1719
1709
|
"onUpdate:modelValue": p[0] || (p[0] = (g) => o.$emit("update:modelValue", g))
|
|
1720
1710
|
}), {
|
|
1721
1711
|
default: m(() => [
|
|
1722
|
-
d(l(
|
|
1712
|
+
d(l(Vs), {
|
|
1723
1713
|
class: x(o.thumbClass)
|
|
1724
1714
|
}, null, 8, ["class"])
|
|
1725
1715
|
]),
|
|
@@ -1727,25 +1717,25 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1727
1717
|
}, 16, ["id", "name", "model-value", "class"])
|
|
1728
1718
|
], 2));
|
|
1729
1719
|
}
|
|
1730
|
-
}),
|
|
1720
|
+
}), Kr = /* @__PURE__ */ h({
|
|
1731
1721
|
__name: "Switch",
|
|
1732
1722
|
setup(t) {
|
|
1733
|
-
return (s, e) => (i(), f(
|
|
1723
|
+
return (s, e) => (i(), f(Wr, {
|
|
1734
1724
|
class: "flex flex-row items-center gap-1",
|
|
1735
1725
|
"input-class": "disabled:opacity-50 disabled:cursor-not-allowed data-[state=checked]:bg-primary-600 data-[state=unchecked]:bg-gray-200 relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focusdisabled:opacity-50 disabled:cursor-not-allowed :ring-2 focus:ring-primary-600 focus:ring-offset-2 focus:outline-hidden",
|
|
1736
1726
|
"thumb-class": "data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 pointer-events-none inline-block size-5 transform rounded-full bg-white shadow-sm ring-0 transition duration-200 ease-in-out"
|
|
1737
1727
|
}));
|
|
1738
1728
|
}
|
|
1739
|
-
}),
|
|
1729
|
+
}), Qr = /* @__PURE__ */ h({
|
|
1740
1730
|
__name: "Debug",
|
|
1741
1731
|
setup(t) {
|
|
1742
|
-
return (s, e) => (i(), f(
|
|
1732
|
+
return (s, e) => (i(), f(Or, {
|
|
1743
1733
|
"title-id": "debug-setting",
|
|
1744
1734
|
title: s.$td("settings.debug", "Debugging"),
|
|
1745
1735
|
description: s.$td("settings.debugDescription", "Enable debugging with [Eruda](https://eruda.liriliri.io/).")
|
|
1746
1736
|
}, {
|
|
1747
1737
|
default: m(() => [
|
|
1748
|
-
d(
|
|
1738
|
+
d(Kr, {
|
|
1749
1739
|
modelValue: s.$errors.debug,
|
|
1750
1740
|
"onUpdate:modelValue": e[0] || (e[0] = (r) => s.$errors.debug = r),
|
|
1751
1741
|
"aria-labelledby": "debug-setting"
|
|
@@ -1754,55 +1744,55 @@ const Ir = E({ name: "zondicons-cheveron-down", render: zr }), Tt = /* @__PURE__
|
|
|
1754
1744
|
_: 1
|
|
1755
1745
|
}, 8, ["title", "description"]));
|
|
1756
1746
|
}
|
|
1757
|
-
}),
|
|
1747
|
+
}), Jr = [
|
|
1758
1748
|
{
|
|
1759
1749
|
priority: 10,
|
|
1760
|
-
component:
|
|
1750
|
+
component: Qr
|
|
1761
1751
|
}
|
|
1762
|
-
],
|
|
1763
|
-
function
|
|
1764
|
-
|
|
1752
|
+
], St = [];
|
|
1753
|
+
function Rl(t) {
|
|
1754
|
+
St.push(t);
|
|
1765
1755
|
}
|
|
1766
|
-
function
|
|
1767
|
-
for (const s of
|
|
1756
|
+
function Tt(t) {
|
|
1757
|
+
for (const s of St) {
|
|
1768
1758
|
const e = s(t);
|
|
1769
1759
|
if (e)
|
|
1770
1760
|
return e;
|
|
1771
1761
|
}
|
|
1772
1762
|
return typeof t == "string" ? t : t instanceof Error || t instanceof _e ? t.message : fe(t) ? B(t.message ?? t.description ?? "Unknown error object") : k("errors.unknown", "Unknown Error");
|
|
1773
1763
|
}
|
|
1774
|
-
class
|
|
1764
|
+
class Ge extends _e {
|
|
1775
1765
|
}
|
|
1776
|
-
const
|
|
1777
|
-
function
|
|
1778
|
-
const e = (r) => s(r) ||
|
|
1766
|
+
const Zr = { $errors: vt }, Xr = (t) => (vt.report(t), !0);
|
|
1767
|
+
function Gr(t, s = () => !1) {
|
|
1768
|
+
const e = (r) => s(r) || Xr(r);
|
|
1779
1769
|
t.config.errorHandler = e, globalThis.onerror = (r, n, a, u, o) => e(o ?? r), globalThis.onunhandledrejection = (r) => e(r.reason);
|
|
1780
1770
|
}
|
|
1781
|
-
const
|
|
1771
|
+
const Yr = {
|
|
1782
1772
|
async install(t, s) {
|
|
1783
|
-
|
|
1773
|
+
Gr(t, s.handleError), Jr.forEach((e) => A.addSetting(e)), await ke(t, Zr);
|
|
1784
1774
|
}
|
|
1785
|
-
},
|
|
1775
|
+
}, en = {
|
|
1786
1776
|
async install() {
|
|
1787
1777
|
ze() && (globalThis.testingRuntime = {
|
|
1788
1778
|
on: (...t) => F.on(...t),
|
|
1789
1779
|
service: (t) => A.service(t)
|
|
1790
1780
|
});
|
|
1791
1781
|
}
|
|
1792
|
-
},
|
|
1782
|
+
}, tn = {
|
|
1793
1783
|
viewBox: "0 0 20 20",
|
|
1794
1784
|
width: "1.2em",
|
|
1795
1785
|
height: "1.2em"
|
|
1796
1786
|
};
|
|
1797
|
-
function
|
|
1798
|
-
return i(), y("svg",
|
|
1787
|
+
function sn(t, s) {
|
|
1788
|
+
return i(), y("svg", tn, s[0] || (s[0] = [
|
|
1799
1789
|
b("path", {
|
|
1800
1790
|
fill: "currentColor",
|
|
1801
1791
|
d: "M10 8.586L2.929 1.515L1.515 2.929L8.586 10l-7.071 7.071l1.414 1.414L10 11.414l7.071 7.071l1.414-1.414L11.414 10l7.071-7.071l-1.414-1.414z"
|
|
1802
1792
|
}, null, -1)
|
|
1803
1793
|
]));
|
|
1804
1794
|
}
|
|
1805
|
-
const
|
|
1795
|
+
const rn = E({ name: "zondicons-close", render: sn }), nn = /* @__PURE__ */ h({
|
|
1806
1796
|
__name: "HeadlessModal",
|
|
1807
1797
|
props: {
|
|
1808
1798
|
persistent: { type: Boolean },
|
|
@@ -1812,18 +1802,22 @@ const an = E({ name: "zondicons-close", render: nn }), ln = /* @__PURE__ */ h({
|
|
|
1812
1802
|
descriptionHidden: { type: Boolean }
|
|
1813
1803
|
},
|
|
1814
1804
|
setup(t, { expose: s }) {
|
|
1815
|
-
const e = N(null), {
|
|
1805
|
+
const e = N(null), r = Ie({ removeOnClose: !1 });
|
|
1816
1806
|
s({ $content: e });
|
|
1817
|
-
const { forwardRef: n } =
|
|
1818
|
-
|
|
1807
|
+
const { forwardRef: n } = qe();
|
|
1808
|
+
de("$modalContentRef", e);
|
|
1809
|
+
async function a(u) {
|
|
1810
|
+
r.close(u), await le(1e3), r.remove();
|
|
1811
|
+
}
|
|
1812
|
+
return (u, o) => (i(), f(l(Es), {
|
|
1819
1813
|
ref: l(n),
|
|
1820
1814
|
open: "",
|
|
1821
|
-
"onUpdate:open":
|
|
1815
|
+
"onUpdate:open": o[0] || (o[0] = (p) => u.persistent || a())
|
|
1822
1816
|
}, {
|
|
1823
1817
|
default: m(() => [
|
|
1824
|
-
d(l(
|
|
1818
|
+
d(l(Ls), null, {
|
|
1825
1819
|
default: m(() => [
|
|
1826
|
-
w(
|
|
1820
|
+
w(u.$slots, "default", { close: a })
|
|
1827
1821
|
]),
|
|
1828
1822
|
_: 3
|
|
1829
1823
|
})
|
|
@@ -1831,14 +1825,14 @@ const an = E({ name: "zondicons-close", render: nn }), ln = /* @__PURE__ */ h({
|
|
|
1831
1825
|
_: 3
|
|
1832
1826
|
}, 512));
|
|
1833
1827
|
}
|
|
1834
|
-
}),
|
|
1828
|
+
}), an = /* @__PURE__ */ h({
|
|
1835
1829
|
__name: "HeadlessModalContent",
|
|
1836
1830
|
setup(t) {
|
|
1837
|
-
const { child: s } =
|
|
1838
|
-
return G(() => e.value = r.value), (n, a) => (i(), f(l(
|
|
1831
|
+
const { child: s } = Ie(), e = sr("$modalContentRef"), r = ee("$contentRef");
|
|
1832
|
+
return G(() => e.value = r.value), (n, a) => (i(), f(l(Rs), { ref: "$contentRef" }, {
|
|
1839
1833
|
default: m(() => [
|
|
1840
1834
|
w(n.$slots, "default"),
|
|
1841
|
-
l(s) ? (i(), f(l(
|
|
1835
|
+
l(s) ? (i(), f(l(ms), {
|
|
1842
1836
|
key: 0,
|
|
1843
1837
|
is: l(s)
|
|
1844
1838
|
}, null, 8, ["is"])) : M("", !0)
|
|
@@ -1846,21 +1840,21 @@ const an = E({ name: "zondicons-close", render: nn }), ln = /* @__PURE__ */ h({
|
|
|
1846
1840
|
_: 3
|
|
1847
1841
|
}, 512));
|
|
1848
1842
|
}
|
|
1849
|
-
}),
|
|
1843
|
+
}), ln = /* @__PURE__ */ h({
|
|
1850
1844
|
__name: "HeadlessModalDescription",
|
|
1851
1845
|
props: {
|
|
1852
1846
|
asChild: { type: Boolean },
|
|
1853
1847
|
as: {}
|
|
1854
1848
|
},
|
|
1855
1849
|
setup(t) {
|
|
1856
|
-
return (s, e) => (i(), f(l(
|
|
1850
|
+
return (s, e) => (i(), f(l(zs), ue(ce(s.$props)), {
|
|
1857
1851
|
default: m(() => [
|
|
1858
1852
|
w(s.$slots, "default")
|
|
1859
1853
|
]),
|
|
1860
1854
|
_: 3
|
|
1861
1855
|
}, 16));
|
|
1862
1856
|
}
|
|
1863
|
-
}),
|
|
1857
|
+
}), on = /* @__PURE__ */ h({
|
|
1864
1858
|
__name: "HeadlessModalOverlay",
|
|
1865
1859
|
props: {
|
|
1866
1860
|
forceMount: { type: Boolean },
|
|
@@ -1868,31 +1862,31 @@ const an = E({ name: "zondicons-close", render: nn }), ln = /* @__PURE__ */ h({
|
|
|
1868
1862
|
as: {}
|
|
1869
1863
|
},
|
|
1870
1864
|
setup(t) {
|
|
1871
|
-
return (s, e) => (i(), f(l(
|
|
1865
|
+
return (s, e) => (i(), f(l(Is), ue(ce(s.$props)), {
|
|
1872
1866
|
default: m(() => [
|
|
1873
1867
|
w(s.$slots, "default")
|
|
1874
1868
|
]),
|
|
1875
1869
|
_: 3
|
|
1876
1870
|
}, 16));
|
|
1877
1871
|
}
|
|
1878
|
-
}),
|
|
1872
|
+
}), un = /* @__PURE__ */ h({
|
|
1879
1873
|
__name: "HeadlessModalTitle",
|
|
1880
1874
|
props: {
|
|
1881
1875
|
asChild: { type: Boolean },
|
|
1882
1876
|
as: {}
|
|
1883
1877
|
},
|
|
1884
1878
|
setup(t) {
|
|
1885
|
-
return (s, e) => (i(), f(l(
|
|
1879
|
+
return (s, e) => (i(), f(l(qs), ue(ce(s.$props)), {
|
|
1886
1880
|
default: m(() => [
|
|
1887
1881
|
w(s.$slots, "default")
|
|
1888
1882
|
]),
|
|
1889
1883
|
_: 3
|
|
1890
1884
|
}, 16));
|
|
1891
1885
|
}
|
|
1892
|
-
}),
|
|
1886
|
+
}), cn = {
|
|
1893
1887
|
key: 0,
|
|
1894
1888
|
class: "absolute top-0 right-0 hidden pt-3.5 pr-2.5 sm:block"
|
|
1895
|
-
},
|
|
1889
|
+
}, dn = ["onClick"], pn = { class: "sr-only" }, Me = ur(), re = /* @__PURE__ */ h({
|
|
1896
1890
|
__name: "Modal",
|
|
1897
1891
|
props: {
|
|
1898
1892
|
persistent: { type: Boolean },
|
|
@@ -1912,7 +1906,7 @@ const an = E({ name: "zondicons-close", render: nn }), ln = /* @__PURE__ */ h({
|
|
|
1912
1906
|
return (T = o.value) == null ? void 0 : T.$content;
|
|
1913
1907
|
})
|
|
1914
1908
|
});
|
|
1915
|
-
const { forwardRef: r, currentRef: n } =
|
|
1909
|
+
const { forwardRef: r, currentRef: n } = qe(), { id: a, visible: u } = Ie(), o = n, p = fs(), g = c(
|
|
1916
1910
|
() => {
|
|
1917
1911
|
var T;
|
|
1918
1912
|
return u.value && ((T = ae.value.toReversed().find((Be) => Be.visible.value)) == null ? void 0 : T.id) === a.value;
|
|
@@ -1928,33 +1922,33 @@ const an = E({ name: "zondicons-close", render: nn }), ln = /* @__PURE__ */ h({
|
|
|
1928
1922
|
},
|
|
1929
1923
|
t.wrapperClass
|
|
1930
1924
|
));
|
|
1931
|
-
return
|
|
1925
|
+
return et(() => le(500).then(() => Me.add(p.value))), (T, Be) => (i(), f(nn, V(e, {
|
|
1932
1926
|
ref: (me) => l(r)(me),
|
|
1933
1927
|
persistent: T.persistent
|
|
1934
1928
|
}), {
|
|
1935
1929
|
default: m(({ close: me }) => {
|
|
1936
1930
|
var Fe, Ue;
|
|
1937
1931
|
return [
|
|
1938
|
-
d(
|
|
1932
|
+
d(on, {
|
|
1939
1933
|
class: x(["fixed inset-0 transition-opacity duration-300 will-change-[opacity]", {
|
|
1940
1934
|
"animate-[fade-in_var(--tw-duration)_ease-in-out]": !v.value,
|
|
1941
1935
|
"bg-black/30": ((Fe = $.value) == null ? void 0 : Fe.id) === l(a) || !$.value && ((Ue = l(ae)[0]) == null ? void 0 : Ue.id) === l(a),
|
|
1942
1936
|
"opacity-0": !$.value
|
|
1943
1937
|
}])
|
|
1944
1938
|
}, null, 8, ["class"]),
|
|
1945
|
-
d(
|
|
1939
|
+
d(an, V(S.value, { class: pe.value }), {
|
|
1946
1940
|
default: m(() => [
|
|
1947
|
-
!T.persistent && !T.closeHidden ? (i(), y("div",
|
|
1941
|
+
!T.persistent && !T.closeHidden ? (i(), y("div", cn, [
|
|
1948
1942
|
b("button", {
|
|
1949
1943
|
type: "button",
|
|
1950
1944
|
class: "clickable z-10 rounded-full p-2.5 text-gray-400 hover:text-gray-500",
|
|
1951
|
-
onClick: (
|
|
1945
|
+
onClick: (al) => me()
|
|
1952
1946
|
}, [
|
|
1953
|
-
b("span",
|
|
1954
|
-
d(l(
|
|
1955
|
-
], 8,
|
|
1947
|
+
b("span", pn, C(T.$td("ui.close", "Close")), 1),
|
|
1948
|
+
d(l(rn), { class: "size-4" })
|
|
1949
|
+
], 8, dn)
|
|
1956
1950
|
])) : M("", !0),
|
|
1957
|
-
T.title ? (i(), f(
|
|
1951
|
+
T.title ? (i(), f(un, {
|
|
1958
1952
|
key: 1,
|
|
1959
1953
|
class: x(["px-4 pt-5 text-base font-semibold text-gray-900", {
|
|
1960
1954
|
"sr-only": T.titleHidden,
|
|
@@ -1970,7 +1964,7 @@ const an = E({ name: "zondicons-close", render: nn }), ln = /* @__PURE__ */ h({
|
|
|
1970
1964
|
]),
|
|
1971
1965
|
_: 1
|
|
1972
1966
|
}, 8, ["class"])) : M("", !0),
|
|
1973
|
-
T.description ? (i(), f(
|
|
1967
|
+
T.description ? (i(), f(ln, {
|
|
1974
1968
|
key: 2,
|
|
1975
1969
|
class: x(["px-4 pt-1 pb-2", { "sr-only": T.descriptionHidden }])
|
|
1976
1970
|
}, {
|
|
@@ -1996,18 +1990,18 @@ const an = E({ name: "zondicons-close", render: nn }), ln = /* @__PURE__ */ h({
|
|
|
1996
1990
|
}, 16, ["persistent"]));
|
|
1997
1991
|
}
|
|
1998
1992
|
});
|
|
1999
|
-
function
|
|
1993
|
+
function mn(t) {
|
|
2000
1994
|
const s = c(() => t.title ?? k("ui.alert", "Alert")), e = c(() => !t.title);
|
|
2001
1995
|
return { renderedTitle: s, titleHidden: e };
|
|
2002
1996
|
}
|
|
2003
|
-
const
|
|
1997
|
+
const fn = /* @__PURE__ */ h({
|
|
2004
1998
|
__name: "AlertModal",
|
|
2005
1999
|
props: {
|
|
2006
2000
|
title: {},
|
|
2007
2001
|
message: {}
|
|
2008
2002
|
},
|
|
2009
2003
|
setup(t, { expose: s }) {
|
|
2010
|
-
const e = t, { renderedTitle: r, titleHidden: n } =
|
|
2004
|
+
const e = t, { renderedTitle: r, titleHidden: n } = mn(e);
|
|
2011
2005
|
return s(), (a, u) => (i(), f(re, {
|
|
2012
2006
|
title: l(r),
|
|
2013
2007
|
"title-hidden": l(n)
|
|
@@ -2018,7 +2012,7 @@ const gn = /* @__PURE__ */ h({
|
|
|
2018
2012
|
_: 1
|
|
2019
2013
|
}, 8, ["title", "title-hidden"]));
|
|
2020
2014
|
}
|
|
2021
|
-
}),
|
|
2015
|
+
}), Mt = /* @__PURE__ */ h({
|
|
2022
2016
|
__name: "Form",
|
|
2023
2017
|
props: {
|
|
2024
2018
|
form: {}
|
|
@@ -2031,14 +2025,14 @@ const gn = /* @__PURE__ */ h({
|
|
|
2031
2025
|
var a;
|
|
2032
2026
|
e == null || e(), e = (a = t.form) == null ? void 0 : a.on("submit", () => r("submit")), n(() => e == null ? void 0 : e());
|
|
2033
2027
|
}), de("form", t.form), (n, a) => (i(), y("form", {
|
|
2034
|
-
onSubmit: a[0] || (a[0] =
|
|
2028
|
+
onSubmit: a[0] || (a[0] = tt((u) => n.form ? n.form.submit() : n.$emit("submit"), ["prevent"]))
|
|
2035
2029
|
}, [
|
|
2036
2030
|
w(n.$slots, "default")
|
|
2037
2031
|
], 32));
|
|
2038
2032
|
}
|
|
2039
2033
|
});
|
|
2040
|
-
function
|
|
2041
|
-
const s =
|
|
2034
|
+
function hn(t) {
|
|
2035
|
+
const s = dt(
|
|
2042
2036
|
Object.entries(t.checkboxes ?? {}).reduce(
|
|
2043
2037
|
(u, [o, p]) => ({
|
|
2044
2038
|
[o]: {
|
|
@@ -2053,10 +2047,10 @@ function vn(t) {
|
|
|
2053
2047
|
), e = c(() => t.title ?? k("ui.confirm", "Confirm")), r = c(() => !t.title), n = c(() => t.acceptText ?? k("ui.accept", "Ok")), a = c(() => t.cancelText ?? k("ui.cancel", "Cancel"));
|
|
2054
2048
|
return { form: s, renderedTitle: e, titleHidden: r, renderedAcceptText: n, renderedCancelText: a };
|
|
2055
2049
|
}
|
|
2056
|
-
const
|
|
2050
|
+
const gn = {
|
|
2057
2051
|
key: 0,
|
|
2058
2052
|
class: "mt-4 flex flex-col text-sm text-gray-600"
|
|
2059
|
-
},
|
|
2053
|
+
}, vn = { class: "flex items-center" }, bn = ["onUpdate:modelValue", "required"], yn = { class: "ml-1.5" }, $n = { class: "mt-4 flex flex-row-reverse gap-2" }, wn = /* @__PURE__ */ h({
|
|
2060
2054
|
__name: "ConfirmModal",
|
|
2061
2055
|
props: {
|
|
2062
2056
|
title: {},
|
|
@@ -2071,14 +2065,14 @@ const bn = {
|
|
|
2071
2065
|
},
|
|
2072
2066
|
emits: ["close"],
|
|
2073
2067
|
setup(t, { expose: s }) {
|
|
2074
|
-
const e = K(t, ["cancelVariant"]), { form: r, renderedTitle: n, titleHidden: a, renderedAcceptText: u, renderedCancelText: o } =
|
|
2068
|
+
const e = K(t, ["cancelVariant"]), { form: r, renderedTitle: n, titleHidden: a, renderedAcceptText: u, renderedCancelText: o } = hn(e);
|
|
2075
2069
|
return s(), (p, g) => (i(), f(re, {
|
|
2076
2070
|
title: l(n),
|
|
2077
2071
|
"title-hidden": l(a),
|
|
2078
2072
|
persistent: ""
|
|
2079
2073
|
}, {
|
|
2080
2074
|
default: m(({ close: $ }) => [
|
|
2081
|
-
d(
|
|
2075
|
+
d(Mt, {
|
|
2082
2076
|
form: l(r),
|
|
2083
2077
|
onSubmit: (v) => $([!0, l(r).data()])
|
|
2084
2078
|
}, {
|
|
@@ -2087,22 +2081,22 @@ const bn = {
|
|
|
2087
2081
|
text: p.message,
|
|
2088
2082
|
actions: p.actions
|
|
2089
2083
|
}, null, 8, ["text", "actions"]),
|
|
2090
|
-
p.checkboxes ? (i(), y("ul",
|
|
2084
|
+
p.checkboxes ? (i(), y("ul", gn, [
|
|
2091
2085
|
(i(!0), y(D, null, U(p.checkboxes, (v, S) => (i(), y("li", { key: S }, [
|
|
2092
|
-
b("label",
|
|
2093
|
-
|
|
2086
|
+
b("label", vn, [
|
|
2087
|
+
st(b("input", {
|
|
2094
2088
|
"onUpdate:modelValue": (q) => l(r)[S] = q,
|
|
2095
2089
|
type: "checkbox",
|
|
2096
2090
|
required: v.required,
|
|
2097
2091
|
class: "border-primary-600 text-primary-600 hover:bg-primary-50 hover:checked:bg-primary-500 focus:ring-primary-600 focus-visible:ring-primary-600 rounded border-2"
|
|
2098
|
-
}, null, 8,
|
|
2099
|
-
[
|
|
2092
|
+
}, null, 8, bn), [
|
|
2093
|
+
[Ft, l(r)[S]]
|
|
2100
2094
|
]),
|
|
2101
|
-
b("span",
|
|
2095
|
+
b("span", yn, C(v.label), 1)
|
|
2102
2096
|
])
|
|
2103
2097
|
]))), 128))
|
|
2104
2098
|
])) : M("", !0),
|
|
2105
|
-
b("div",
|
|
2099
|
+
b("div", $n, [
|
|
2106
2100
|
d(R, {
|
|
2107
2101
|
variant: p.acceptVariant,
|
|
2108
2102
|
submit: ""
|
|
@@ -2130,85 +2124,85 @@ const bn = {
|
|
|
2130
2124
|
_: 1
|
|
2131
2125
|
}, 8, ["title", "title-hidden"]));
|
|
2132
2126
|
}
|
|
2133
|
-
}),
|
|
2127
|
+
}), _n = {
|
|
2134
2128
|
viewBox: "0 0 20 20",
|
|
2135
2129
|
width: "1.2em",
|
|
2136
2130
|
height: "1.2em"
|
|
2137
2131
|
};
|
|
2138
|
-
function
|
|
2139
|
-
return i(), y("svg",
|
|
2132
|
+
function Cn(t, s) {
|
|
2133
|
+
return i(), y("svg", _n, s[0] || (s[0] = [
|
|
2140
2134
|
b("path", {
|
|
2141
2135
|
fill: "currentColor",
|
|
2142
2136
|
d: "M7.05 9.293L6.343 10L12 15.657l1.414-1.414L9.172 10l4.242-4.243L12 4.343z"
|
|
2143
2137
|
}, null, -1)
|
|
2144
2138
|
]));
|
|
2145
2139
|
}
|
|
2146
|
-
const
|
|
2140
|
+
const xn = E({ name: "zondicons-cheveron-left", render: Cn }), kn = {
|
|
2147
2141
|
viewBox: "0 0 20 20",
|
|
2148
2142
|
width: "1.2em",
|
|
2149
2143
|
height: "1.2em"
|
|
2150
2144
|
};
|
|
2151
|
-
function
|
|
2152
|
-
return i(), y("svg",
|
|
2145
|
+
function Sn(t, s) {
|
|
2146
|
+
return i(), y("svg", kn, s[0] || (s[0] = [
|
|
2153
2147
|
b("path", {
|
|
2154
2148
|
fill: "currentColor",
|
|
2155
2149
|
d: "m12.95 10.707l.707-.707L8 4.343L6.586 5.757L10.828 10l-4.242 4.243L8 15.657z"
|
|
2156
2150
|
}, null, -1)
|
|
2157
2151
|
]));
|
|
2158
2152
|
}
|
|
2159
|
-
const
|
|
2153
|
+
const Ht = E({ name: "zondicons-cheveron-right", render: Sn }), Tn = {
|
|
2160
2154
|
viewBox: "0 0 20 20",
|
|
2161
2155
|
width: "1.2em",
|
|
2162
2156
|
height: "1.2em"
|
|
2163
2157
|
};
|
|
2164
|
-
function
|
|
2165
|
-
return i(), y("svg",
|
|
2158
|
+
function Mn(t, s) {
|
|
2159
|
+
return i(), y("svg", Tn, s[0] || (s[0] = [
|
|
2166
2160
|
b("path", {
|
|
2167
2161
|
fill: "currentColor",
|
|
2168
2162
|
d: "M2.93 17.07A10 10 0 1 1 17.07 2.93A10 10 0 0 1 2.93 17.07M9 5v6h2V5zm0 8v2h2v-2z"
|
|
2169
2163
|
}, null, -1)
|
|
2170
2164
|
]));
|
|
2171
2165
|
}
|
|
2172
|
-
const De = E({ name: "zondicons-exclamation-solid", render:
|
|
2166
|
+
const De = E({ name: "zondicons-exclamation-solid", render: Mn }), Hn = {
|
|
2173
2167
|
viewBox: "0 0 24 24",
|
|
2174
2168
|
width: "1.2em",
|
|
2175
2169
|
height: "1.2em"
|
|
2176
2170
|
};
|
|
2177
|
-
function
|
|
2178
|
-
return i(), y("svg",
|
|
2171
|
+
function Vn(t, s) {
|
|
2172
|
+
return i(), y("svg", Hn, s[0] || (s[0] = [
|
|
2179
2173
|
b("path", {
|
|
2180
2174
|
fill: "currentColor",
|
|
2181
2175
|
d: "M20 19V7H4v12zm0-16a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm-7 14v-2h5v2zm-3.42-4L5.57 9H8.4l3.3 3.3c.39.39.39 1.03 0 1.42L8.42 17H5.59z"
|
|
2182
2176
|
}, null, -1)
|
|
2183
2177
|
]));
|
|
2184
2178
|
}
|
|
2185
|
-
const
|
|
2179
|
+
const En = E({ name: "mdi-console", render: Vn }), Ln = {
|
|
2186
2180
|
viewBox: "0 0 20 20",
|
|
2187
2181
|
width: "1.2em",
|
|
2188
2182
|
height: "1.2em"
|
|
2189
2183
|
};
|
|
2190
|
-
function
|
|
2191
|
-
return i(), y("svg",
|
|
2184
|
+
function Rn(t, s) {
|
|
2185
|
+
return i(), y("svg", Ln, s[0] || (s[0] = [
|
|
2192
2186
|
b("path", {
|
|
2193
2187
|
fill: "currentColor",
|
|
2194
2188
|
d: "M6 6V2c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4v4a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V8c0-1.1.9-2 2-2zm2 0h4a2 2 0 0 1 2 2v4h4V2H8zM2 8v10h10V8z"
|
|
2195
2189
|
}, null, -1)
|
|
2196
2190
|
]));
|
|
2197
2191
|
}
|
|
2198
|
-
const
|
|
2192
|
+
const zn = E({ name: "zondicons-copy", render: Rn }), In = {
|
|
2199
2193
|
viewBox: "0 0 24 24",
|
|
2200
2194
|
width: "1.2em",
|
|
2201
2195
|
height: "1.2em"
|
|
2202
2196
|
};
|
|
2203
|
-
function
|
|
2204
|
-
return i(), y("svg",
|
|
2197
|
+
function qn(t, s) {
|
|
2198
|
+
return i(), y("svg", In, s[0] || (s[0] = [
|
|
2205
2199
|
b("path", {
|
|
2206
2200
|
fill: "currentColor",
|
|
2207
2201
|
d: "M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2"
|
|
2208
2202
|
}, null, -1)
|
|
2209
2203
|
]));
|
|
2210
2204
|
}
|
|
2211
|
-
const
|
|
2205
|
+
const An = E({ name: "mdi-github", render: qn }), Pn = { class: "flex" }, Dn = { class: "sr-only" }, jn = /* @__PURE__ */ h({
|
|
2212
2206
|
__name: "ErrorReportModalButtons",
|
|
2213
2207
|
props: {
|
|
2214
2208
|
report: {}
|
|
@@ -2223,7 +2217,7 @@ const Dn = E({ name: "mdi-github", render: Pn }), jn = { class: "flex" }, Bn = {
|
|
|
2223
2217
|
"",
|
|
2224
2218
|
"Error details:",
|
|
2225
2219
|
"```",
|
|
2226
|
-
|
|
2220
|
+
ss(
|
|
2227
2221
|
s.report.details ?? "Details missing from report",
|
|
2228
2222
|
1800 - a.length - A.sourceUrl.length
|
|
2229
2223
|
).trim(),
|
|
@@ -2237,7 +2231,7 @@ const Dn = E({ name: "mdi-github", render: Pn }), jn = { class: "flex" }, Bn = {
|
|
|
2237
2231
|
{
|
|
2238
2232
|
id: "clipboard",
|
|
2239
2233
|
description: "Copy to clipboard",
|
|
2240
|
-
iconComponent:
|
|
2234
|
+
iconComponent: zn,
|
|
2241
2235
|
async click() {
|
|
2242
2236
|
await navigator.clipboard.writeText(`${e.value}
|
|
2243
2237
|
|
|
@@ -2247,7 +2241,7 @@ ${s.report.details}`), P.toast(k("errors.copiedToClipboard", "Debug information
|
|
|
2247
2241
|
{
|
|
2248
2242
|
id: "console",
|
|
2249
2243
|
description: "Log to console",
|
|
2250
|
-
iconComponent:
|
|
2244
|
+
iconComponent: En,
|
|
2251
2245
|
click() {
|
|
2252
2246
|
const a = s.report.error ?? s.report;
|
|
2253
2247
|
window.error = a, console.error(a), P.toast(
|
|
@@ -2263,12 +2257,12 @@ ${s.report.details}`), P.toast(k("errors.copiedToClipboard", "Debug information
|
|
|
2263
2257
|
r.value && a.push({
|
|
2264
2258
|
id: "github",
|
|
2265
2259
|
description: "Report in GitHub",
|
|
2266
|
-
iconComponent:
|
|
2260
|
+
iconComponent: An,
|
|
2267
2261
|
url: r.value
|
|
2268
2262
|
});
|
|
2269
2263
|
}
|
|
2270
2264
|
));
|
|
2271
|
-
return (a, u) => (i(), y("div",
|
|
2265
|
+
return (a, u) => (i(), y("div", Pn, [
|
|
2272
2266
|
(i(!0), y(D, null, U(n.value, (o) => w(a.$slots, "default", V({ ref_for: !0 }, o), () => [
|
|
2273
2267
|
d(R, {
|
|
2274
2268
|
size: "icon",
|
|
@@ -2279,7 +2273,7 @@ ${s.report.details}`), P.toast(k("errors.copiedToClipboard", "Debug information
|
|
|
2279
2273
|
onClick: o.click
|
|
2280
2274
|
}, {
|
|
2281
2275
|
default: m(() => [
|
|
2282
|
-
b("span",
|
|
2276
|
+
b("span", Dn, C(a.$td(`errors.report_${o.id}`, o.description)), 1),
|
|
2283
2277
|
(i(), f(Y(o.iconComponent), {
|
|
2284
2278
|
class: "size-4",
|
|
2285
2279
|
"aria-hidden": "true"
|
|
@@ -2290,7 +2284,7 @@ ${s.report.details}`), P.toast(k("errors.copiedToClipboard", "Debug information
|
|
|
2290
2284
|
])), 256))
|
|
2291
2285
|
]));
|
|
2292
2286
|
}
|
|
2293
|
-
}),
|
|
2287
|
+
}), Bn = /* @__PURE__ */ h({
|
|
2294
2288
|
__name: "ErrorReportModalTitle",
|
|
2295
2289
|
props: {
|
|
2296
2290
|
report: {},
|
|
@@ -2305,7 +2299,7 @@ ${s.report.details}`), P.toast(k("errors.copiedToClipboard", "Debug information
|
|
|
2305
2299
|
}, null, 8, ["text"]));
|
|
2306
2300
|
}
|
|
2307
2301
|
});
|
|
2308
|
-
function
|
|
2302
|
+
function Fn(t) {
|
|
2309
2303
|
const s = N(t.reports.includes(t.report) ? t.reports.indexOf(t.report) : 0), e = c(() => t.reports[s.value]), r = c(
|
|
2310
2304
|
() => {
|
|
2311
2305
|
var u;
|
|
@@ -2320,17 +2314,17 @@ function On(t) {
|
|
|
2320
2314
|
activeReport: e
|
|
2321
2315
|
};
|
|
2322
2316
|
}
|
|
2323
|
-
const
|
|
2317
|
+
const Un = { class: "px-4 pt-5 pb-4" }, On = { class: "flex justify-between gap-4" }, Nn = { class: "flex items-center gap-2" }, Wn = {
|
|
2324
2318
|
key: 0,
|
|
2325
2319
|
class: "flex gap-0.5"
|
|
2326
|
-
},
|
|
2320
|
+
}, Kn = { class: "-mt-2 max-h-[75vh] overflow-auto bg-red-800/10" }, Qn = ["textContent"], Jn = /* @__PURE__ */ h({
|
|
2327
2321
|
__name: "ErrorReportModal",
|
|
2328
2322
|
props: {
|
|
2329
2323
|
report: {},
|
|
2330
2324
|
reports: {}
|
|
2331
2325
|
},
|
|
2332
2326
|
setup(t, { expose: s }) {
|
|
2333
|
-
const e = t, { activeReportIndex: r, details: n, nextReportText: a, previousReportText: u, activeReport: o } =
|
|
2327
|
+
const e = t, { activeReportIndex: r, details: n, nextReportText: a, previousReportText: u, activeReport: o } = Fn(e);
|
|
2334
2328
|
return s(), (p, g) => (i(), f(re, {
|
|
2335
2329
|
title: p.$td("errors.report", "Error report"),
|
|
2336
2330
|
"title-hidden": "",
|
|
@@ -2339,17 +2333,17 @@ const Nn = { class: "px-4 pt-5 pb-4" }, Wn = { class: "flex justify-between gap-
|
|
|
2339
2333
|
"wrapper-class": "sm:w-auto sm:min-w-lg sm:max-w-[80vw]"
|
|
2340
2334
|
}, {
|
|
2341
2335
|
default: m(() => [
|
|
2342
|
-
b("div",
|
|
2343
|
-
b("h2",
|
|
2344
|
-
b("div",
|
|
2336
|
+
b("div", Un, [
|
|
2337
|
+
b("h2", On, [
|
|
2338
|
+
b("div", Nn, [
|
|
2345
2339
|
d(l(De), { class: "size-5 text-red-600" }),
|
|
2346
|
-
d(
|
|
2340
|
+
d(Bn, {
|
|
2347
2341
|
class: "text-lg leading-6 font-semibold text-gray-900",
|
|
2348
2342
|
report: l(o),
|
|
2349
2343
|
"current-report": l(r) + 1,
|
|
2350
2344
|
"total-reports": p.reports.length
|
|
2351
2345
|
}, null, 8, ["report", "current-report", "total-reports"]),
|
|
2352
|
-
p.reports.length > 1 ? (i(), y("span",
|
|
2346
|
+
p.reports.length > 1 ? (i(), y("span", Wn, [
|
|
2353
2347
|
d(R, {
|
|
2354
2348
|
size: "icon",
|
|
2355
2349
|
variant: "ghost",
|
|
@@ -2359,7 +2353,7 @@ const Nn = { class: "px-4 pt-5 pb-4" }, Wn = { class: "flex justify-between gap-
|
|
|
2359
2353
|
onClick: g[0] || (g[0] = ($) => r.value--)
|
|
2360
2354
|
}, {
|
|
2361
2355
|
default: m(() => [
|
|
2362
|
-
d(l(
|
|
2356
|
+
d(l(xn), { class: "size-4" })
|
|
2363
2357
|
]),
|
|
2364
2358
|
_: 1
|
|
2365
2359
|
}, 8, ["disabled", "aria-label", "title"]),
|
|
@@ -2372,13 +2366,13 @@ const Nn = { class: "px-4 pt-5 pb-4" }, Wn = { class: "flex justify-between gap-
|
|
|
2372
2366
|
onClick: g[1] || (g[1] = ($) => r.value++)
|
|
2373
2367
|
}, {
|
|
2374
2368
|
default: m(() => [
|
|
2375
|
-
d(l(
|
|
2369
|
+
d(l(Ht), { class: "size-4" })
|
|
2376
2370
|
]),
|
|
2377
2371
|
_: 1
|
|
2378
2372
|
}, 8, ["disabled", "aria-label", "title"])
|
|
2379
2373
|
])) : M("", !0)
|
|
2380
2374
|
]),
|
|
2381
|
-
d(
|
|
2375
|
+
d(jn, {
|
|
2382
2376
|
report: l(o),
|
|
2383
2377
|
class: "gap-0.5"
|
|
2384
2378
|
}, null, 8, ["report"])
|
|
@@ -2389,23 +2383,23 @@ const Nn = { class: "px-4 pt-5 pb-4" }, Wn = { class: "flex justify-between gap-
|
|
|
2389
2383
|
class: "text-gray-600"
|
|
2390
2384
|
}, null, 8, ["text"])) : M("", !0)
|
|
2391
2385
|
]),
|
|
2392
|
-
b("div",
|
|
2386
|
+
b("div", Kn, [
|
|
2393
2387
|
b("pre", {
|
|
2394
2388
|
class: "p-4 text-xs text-red-800",
|
|
2395
2389
|
textContent: C(l(n))
|
|
2396
|
-
}, null, 8,
|
|
2390
|
+
}, null, 8, Qn)
|
|
2397
2391
|
])
|
|
2398
2392
|
]),
|
|
2399
2393
|
_: 1
|
|
2400
2394
|
}, 8, ["title"]));
|
|
2401
2395
|
}
|
|
2402
|
-
}),
|
|
2396
|
+
}), Zn = {
|
|
2403
2397
|
viewBox: "0 0 24 24",
|
|
2404
2398
|
width: "1.2em",
|
|
2405
2399
|
height: "1.2em"
|
|
2406
2400
|
};
|
|
2407
|
-
function
|
|
2408
|
-
return i(), y("svg",
|
|
2401
|
+
function Xn(t, s) {
|
|
2402
|
+
return i(), y("svg", Zn, s[0] || (s[0] = [
|
|
2409
2403
|
b("path", {
|
|
2410
2404
|
fill: "currentColor",
|
|
2411
2405
|
d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",
|
|
@@ -2425,7 +2419,7 @@ function Yn(t, s) {
|
|
|
2425
2419
|
], -1)
|
|
2426
2420
|
]));
|
|
2427
2421
|
}
|
|
2428
|
-
const
|
|
2422
|
+
const Gn = E({ name: "svg-spinners-90-ring-with-bg", render: Xn }), Yn = { class: "mt-1 h-2 w-full overflow-hidden rounded-full bg-gray-200" }, ea = { class: "sr-only" }, ta = /* @__PURE__ */ h({
|
|
2429
2423
|
__name: "ProgressBar",
|
|
2430
2424
|
props: {
|
|
2431
2425
|
filledClass: {},
|
|
@@ -2441,24 +2435,24 @@ const ea = E({ name: "svg-spinners-90-ring-with-bg", render: Yn }), ta = { class
|
|
|
2441
2435
|
s && s(), e.value = t.job ? t.job.progress : 0, s = t.job && t.job.listeners.add({ onUpdated: (a) => e.value = a });
|
|
2442
2436
|
},
|
|
2443
2437
|
{ immediate: !0 }
|
|
2444
|
-
), $e(() => s && s()), (a, u) => (i(), y("div",
|
|
2438
|
+
), $e(() => s && s()), (a, u) => (i(), y("div", Yn, [
|
|
2445
2439
|
b("div", {
|
|
2446
2440
|
class: x(r.value),
|
|
2447
|
-
style:
|
|
2441
|
+
style: Ut(`transform:translateX(-${(1 - n.value) * 100}%)`)
|
|
2448
2442
|
}, null, 6),
|
|
2449
|
-
b("span",
|
|
2443
|
+
b("span", ea, C(a.$td("ui.progress", "{progress}% complete", {
|
|
2450
2444
|
progress: n.value * 100
|
|
2451
2445
|
})), 1)
|
|
2452
2446
|
]));
|
|
2453
2447
|
}
|
|
2454
2448
|
});
|
|
2455
|
-
function
|
|
2449
|
+
function sa(t) {
|
|
2456
2450
|
const s = c(() => t.title ?? k("ui.loading", "Loading")), e = c(
|
|
2457
2451
|
() => t.message ?? k("ui.loadingInProgress", "Loading in progress...")
|
|
2458
2452
|
), r = c(() => typeof t.progress == "number" || !!t.job), n = c(() => !t.title);
|
|
2459
2453
|
return { renderedTitle: s, renderedMessage: e, titleHidden: n, showProgress: r };
|
|
2460
2454
|
}
|
|
2461
|
-
const
|
|
2455
|
+
const ra = /* @__PURE__ */ h({
|
|
2462
2456
|
__name: "LoadingModal",
|
|
2463
2457
|
props: {
|
|
2464
2458
|
title: {},
|
|
@@ -2467,7 +2461,7 @@ const aa = /* @__PURE__ */ h({
|
|
|
2467
2461
|
job: {}
|
|
2468
2462
|
},
|
|
2469
2463
|
setup(t, { expose: s }) {
|
|
2470
|
-
const e = t, { renderedTitle: r, renderedMessage: n, titleHidden: a, showProgress: u } =
|
|
2464
|
+
const e = t, { renderedTitle: r, renderedMessage: n, titleHidden: a, showProgress: u } = sa(e);
|
|
2471
2465
|
return s(), (o, p) => (i(), f(re, {
|
|
2472
2466
|
persistent: "",
|
|
2473
2467
|
class: x(["flex", { "flex-col-reverse": l(u), "items-center justify-center gap-2": !l(u) }]),
|
|
@@ -2476,12 +2470,12 @@ const aa = /* @__PURE__ */ h({
|
|
|
2476
2470
|
"title-hidden": l(a)
|
|
2477
2471
|
}, {
|
|
2478
2472
|
default: m(() => [
|
|
2479
|
-
l(u) ? (i(), f(
|
|
2473
|
+
l(u) ? (i(), f(ta, {
|
|
2480
2474
|
key: 0,
|
|
2481
2475
|
progress: o.progress,
|
|
2482
2476
|
job: o.job,
|
|
2483
2477
|
class: "min-w-[min(400px,80vw)]"
|
|
2484
|
-
}, null, 8, ["progress", "job"])) : (i(), f(l(
|
|
2478
|
+
}, null, 8, ["progress", "job"])) : (i(), f(l(Gn), {
|
|
2485
2479
|
key: 1,
|
|
2486
2480
|
class: "text-primary-600 mr-1 size-6"
|
|
2487
2481
|
})),
|
|
@@ -2527,7 +2521,7 @@ const aa = /* @__PURE__ */ h({
|
|
|
2527
2521
|
_: 3
|
|
2528
2522
|
}));
|
|
2529
2523
|
}
|
|
2530
|
-
}),
|
|
2524
|
+
}), na = ["for"], be = /* @__PURE__ */ h({
|
|
2531
2525
|
__name: "HeadlessInputLabel",
|
|
2532
2526
|
setup(t) {
|
|
2533
2527
|
const s = I("input", "<HeadlessInputLabel> must be a child of a <HeadlessInput>"), e = Re(), r = c(() => !!(s.label || e.default));
|
|
@@ -2538,9 +2532,9 @@ const aa = /* @__PURE__ */ h({
|
|
|
2538
2532
|
w(n.$slots, "default", {}, () => [
|
|
2539
2533
|
L(C(l(s).label), 1)
|
|
2540
2534
|
])
|
|
2541
|
-
], 8,
|
|
2535
|
+
], 8, na)) : M("", !0);
|
|
2542
2536
|
}
|
|
2543
|
-
}),
|
|
2537
|
+
}), aa = ["id", "name", "checked", "type", "required", "aria-invalid", "aria-describedby"], Vt = /* @__PURE__ */ h({
|
|
2544
2538
|
__name: "HeadlessInputInput",
|
|
2545
2539
|
props: {
|
|
2546
2540
|
type: {}
|
|
@@ -2570,7 +2564,7 @@ const aa = /* @__PURE__ */ h({
|
|
|
2570
2564
|
return s.value.value;
|
|
2571
2565
|
}
|
|
2572
2566
|
}
|
|
2573
|
-
return
|
|
2567
|
+
return ct(e, () => {
|
|
2574
2568
|
var $;
|
|
2575
2569
|
return ($ = s.value) == null ? void 0 : $.focus();
|
|
2576
2570
|
}), G(() => {
|
|
@@ -2591,9 +2585,9 @@ const aa = /* @__PURE__ */ h({
|
|
|
2591
2585
|
"aria-invalid": l(e).errors ? "true" : "false",
|
|
2592
2586
|
"aria-describedby": l(e).errors ? `${l(e).id}-error` : l(e).description ? `${l(e).id}-description` : void 0,
|
|
2593
2587
|
onInput: p
|
|
2594
|
-
}, null, 40,
|
|
2588
|
+
}, null, 40, aa));
|
|
2595
2589
|
}
|
|
2596
|
-
}),
|
|
2590
|
+
}), Et = /* @__PURE__ */ h({
|
|
2597
2591
|
inheritAttrs: !1,
|
|
2598
2592
|
__name: "HeadlessInputDescription",
|
|
2599
2593
|
setup(t) {
|
|
@@ -2610,19 +2604,19 @@ const aa = /* @__PURE__ */ h({
|
|
|
2610
2604
|
}), null, 16, ["id", "text"])) : M("", !0)
|
|
2611
2605
|
]);
|
|
2612
2606
|
}
|
|
2613
|
-
}),
|
|
2607
|
+
}), la = ["id"], ye = /* @__PURE__ */ h({
|
|
2614
2608
|
__name: "HeadlessInputError",
|
|
2615
2609
|
setup(t) {
|
|
2616
2610
|
const s = I("input", "<HeadlessInputError> must be a child of a <HeadlessInput>"), e = c(() => s.errors ? k(`errors.${s.errors[0]}`, `Error: ${s.errors[0]}`) : null);
|
|
2617
2611
|
return (r, n) => e.value ? (i(), y("p", {
|
|
2618
2612
|
key: 0,
|
|
2619
2613
|
id: `${l(s).id}-error`
|
|
2620
|
-
}, C(e.value), 9,
|
|
2614
|
+
}, C(e.value), 9, la)) : M("", !0);
|
|
2621
2615
|
}
|
|
2622
|
-
}),
|
|
2616
|
+
}), ia = {
|
|
2623
2617
|
key: 0,
|
|
2624
2618
|
class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"
|
|
2625
|
-
},
|
|
2619
|
+
}, oa = /* @__PURE__ */ h({
|
|
2626
2620
|
inheritAttrs: !1,
|
|
2627
2621
|
__name: "Input",
|
|
2628
2622
|
props: {
|
|
@@ -2635,7 +2629,7 @@ const aa = /* @__PURE__ */ h({
|
|
|
2635
2629
|
},
|
|
2636
2630
|
emits: ["update:modelValue"],
|
|
2637
2631
|
setup(t) {
|
|
2638
|
-
const s = K(t, ["label", "inputClass", "wrapperClass"]), e = ee("$inputRef"), [r, n] =
|
|
2632
|
+
const s = K(t, ["label", "inputClass", "wrapperClass"]), e = ee("$inputRef"), [r, n] = Pe(), a = c(() => H("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = c(() => {
|
|
2639
2633
|
var o, p, g;
|
|
2640
2634
|
return H(
|
|
2641
2635
|
// eslint-disable-next-line vue/max-len
|
|
@@ -2662,12 +2656,12 @@ const aa = /* @__PURE__ */ h({
|
|
|
2662
2656
|
b("div", {
|
|
2663
2657
|
class: x(a.value)
|
|
2664
2658
|
}, [
|
|
2665
|
-
d(
|
|
2666
|
-
(g = e.value) != null && g.errors ? (i(), y("div",
|
|
2659
|
+
d(Vt, V(l(r), { class: u.value }), null, 16, ["class"]),
|
|
2660
|
+
(g = e.value) != null && g.errors ? (i(), y("div", ia, [
|
|
2667
2661
|
d(l(De), { class: "size-5 text-red-500" })
|
|
2668
2662
|
])) : M("", !0)
|
|
2669
2663
|
], 2),
|
|
2670
|
-
d(
|
|
2664
|
+
d(Et, { class: "mt-2 text-sm text-gray-600" }),
|
|
2671
2665
|
d(ye, { class: "mt-2 text-sm text-red-600" })
|
|
2672
2666
|
];
|
|
2673
2667
|
}),
|
|
@@ -2675,21 +2669,21 @@ const aa = /* @__PURE__ */ h({
|
|
|
2675
2669
|
}, 16, ["label", "class"]));
|
|
2676
2670
|
}
|
|
2677
2671
|
});
|
|
2678
|
-
function
|
|
2672
|
+
function zl(t, s = {}) {
|
|
2679
2673
|
return {
|
|
2680
2674
|
default: t,
|
|
2681
2675
|
type: "boolean",
|
|
2682
2676
|
rules: s.rules
|
|
2683
2677
|
};
|
|
2684
2678
|
}
|
|
2685
|
-
function
|
|
2679
|
+
function Il(t, s = {}) {
|
|
2686
2680
|
return {
|
|
2687
2681
|
default: t,
|
|
2688
2682
|
type: "date",
|
|
2689
2683
|
rules: s.rules
|
|
2690
2684
|
};
|
|
2691
2685
|
}
|
|
2692
|
-
function
|
|
2686
|
+
function ql(t, s, e = {}) {
|
|
2693
2687
|
return {
|
|
2694
2688
|
default: s,
|
|
2695
2689
|
type: "enum",
|
|
@@ -2697,21 +2691,21 @@ function Pl(t, s, e = {}) {
|
|
|
2697
2691
|
values: t
|
|
2698
2692
|
};
|
|
2699
2693
|
}
|
|
2700
|
-
function
|
|
2694
|
+
function Al(t) {
|
|
2701
2695
|
return {
|
|
2702
2696
|
default: t,
|
|
2703
2697
|
type: "boolean",
|
|
2704
2698
|
rules: "required"
|
|
2705
2699
|
};
|
|
2706
2700
|
}
|
|
2707
|
-
function
|
|
2701
|
+
function Pl(t) {
|
|
2708
2702
|
return {
|
|
2709
2703
|
default: t,
|
|
2710
2704
|
type: "date",
|
|
2711
2705
|
rules: "required"
|
|
2712
2706
|
};
|
|
2713
2707
|
}
|
|
2714
|
-
function
|
|
2708
|
+
function Dl(t, s) {
|
|
2715
2709
|
return {
|
|
2716
2710
|
default: s,
|
|
2717
2711
|
type: "enum",
|
|
@@ -2719,55 +2713,55 @@ function Bl(t, s) {
|
|
|
2719
2713
|
values: t
|
|
2720
2714
|
};
|
|
2721
2715
|
}
|
|
2722
|
-
function
|
|
2716
|
+
function jl(t) {
|
|
2723
2717
|
return {
|
|
2724
2718
|
default: t,
|
|
2725
2719
|
type: "number",
|
|
2726
2720
|
rules: "required"
|
|
2727
2721
|
};
|
|
2728
2722
|
}
|
|
2729
|
-
function
|
|
2723
|
+
function Bl(t) {
|
|
2730
2724
|
return {
|
|
2731
2725
|
default: t,
|
|
2732
2726
|
type: "object",
|
|
2733
2727
|
rules: "required"
|
|
2734
2728
|
};
|
|
2735
2729
|
}
|
|
2736
|
-
function
|
|
2730
|
+
function ua(t) {
|
|
2737
2731
|
return {
|
|
2738
2732
|
default: t,
|
|
2739
2733
|
type: "string",
|
|
2740
2734
|
rules: "required"
|
|
2741
2735
|
};
|
|
2742
2736
|
}
|
|
2743
|
-
function
|
|
2737
|
+
function Fl(t, s = {}) {
|
|
2744
2738
|
return {
|
|
2745
2739
|
default: t,
|
|
2746
2740
|
type: "number",
|
|
2747
2741
|
rules: s.rules
|
|
2748
2742
|
};
|
|
2749
2743
|
}
|
|
2750
|
-
function
|
|
2744
|
+
function Ul(t, s = {}) {
|
|
2751
2745
|
return {
|
|
2752
2746
|
default: t,
|
|
2753
2747
|
type: "object",
|
|
2754
2748
|
rules: s.rules
|
|
2755
2749
|
};
|
|
2756
2750
|
}
|
|
2757
|
-
function
|
|
2751
|
+
function Ol(t, s = {}) {
|
|
2758
2752
|
return {
|
|
2759
2753
|
default: t,
|
|
2760
2754
|
type: "string",
|
|
2761
2755
|
rules: s.rules
|
|
2762
2756
|
};
|
|
2763
2757
|
}
|
|
2764
|
-
function
|
|
2765
|
-
const s =
|
|
2766
|
-
draft:
|
|
2758
|
+
function ca(t) {
|
|
2759
|
+
const s = dt({
|
|
2760
|
+
draft: ua(t.defaultValue ?? "")
|
|
2767
2761
|
}), e = c(() => t.title ?? t.message), r = c(() => t.title ? t.message : null), n = c(() => t.acceptText ?? k("ui.accept", "Ok")), a = c(() => t.cancelText ?? k("ui.cancel", "Cancel"));
|
|
2768
2762
|
return { form: s, renderedTitle: e, renderedMessage: r, renderedAcceptText: n, renderedCancelText: a };
|
|
2769
2763
|
}
|
|
2770
|
-
const
|
|
2764
|
+
const da = { class: "mt-4 flex flex-row-reverse gap-2" }, pa = /* @__PURE__ */ h({
|
|
2771
2765
|
__name: "PromptModal",
|
|
2772
2766
|
props: {
|
|
2773
2767
|
title: {},
|
|
@@ -2782,13 +2776,13 @@ const ma = { class: "mt-4 flex flex-row-reverse gap-2" }, fa = /* @__PURE__ */ h
|
|
|
2782
2776
|
},
|
|
2783
2777
|
emits: ["close"],
|
|
2784
2778
|
setup(t, { expose: s }) {
|
|
2785
|
-
const e = K(t, ["cancelVariant"]), { form: r, renderedTitle: n, renderedMessage: a, renderedAcceptText: u, renderedCancelText: o } =
|
|
2779
|
+
const e = K(t, ["cancelVariant"]), { form: r, renderedTitle: n, renderedMessage: a, renderedAcceptText: u, renderedCancelText: o } = ca(e);
|
|
2786
2780
|
return s(), (p, g) => (i(), f(re, {
|
|
2787
2781
|
title: l(n),
|
|
2788
2782
|
persistent: ""
|
|
2789
2783
|
}, {
|
|
2790
2784
|
default: m(({ close: $ }) => [
|
|
2791
|
-
d(
|
|
2785
|
+
d(Mt, {
|
|
2792
2786
|
form: l(r),
|
|
2793
2787
|
onSubmit: (v) => $(l(r).draft)
|
|
2794
2788
|
}, {
|
|
@@ -2797,13 +2791,13 @@ const ma = { class: "mt-4 flex flex-row-reverse gap-2" }, fa = /* @__PURE__ */ h
|
|
|
2797
2791
|
key: 0,
|
|
2798
2792
|
text: l(a)
|
|
2799
2793
|
}, null, 8, ["text"])) : M("", !0),
|
|
2800
|
-
d(
|
|
2794
|
+
d(oa, {
|
|
2801
2795
|
name: "draft",
|
|
2802
2796
|
class: "mt-2",
|
|
2803
2797
|
placeholder: p.placeholder,
|
|
2804
2798
|
label: p.label
|
|
2805
2799
|
}, null, 8, ["placeholder", "label"]),
|
|
2806
|
-
b("div",
|
|
2800
|
+
b("div", da, [
|
|
2807
2801
|
d(R, {
|
|
2808
2802
|
variant: p.acceptVariant,
|
|
2809
2803
|
submit: ""
|
|
@@ -2830,59 +2824,59 @@ const ma = { class: "mt-4 flex flex-row-reverse gap-2" }, fa = /* @__PURE__ */ h
|
|
|
2830
2824
|
_: 1
|
|
2831
2825
|
}, 8, ["title"]));
|
|
2832
2826
|
}
|
|
2833
|
-
}),
|
|
2827
|
+
}), ma = {
|
|
2834
2828
|
viewBox: "0 0 24 24",
|
|
2835
2829
|
width: "1.2em",
|
|
2836
2830
|
height: "1.2em"
|
|
2837
2831
|
};
|
|
2838
|
-
function
|
|
2839
|
-
return i(), y("svg",
|
|
2832
|
+
function fa(t, s) {
|
|
2833
|
+
return i(), y("svg", ma, s[0] || (s[0] = [
|
|
2840
2834
|
b("path", {
|
|
2841
2835
|
fill: "currentColor",
|
|
2842
2836
|
d: "M12 21q-1.625 0-3.012-.8T6.8 18H4v-2h2.1q-.075-.5-.088-1T6 14H4v-2h2q0-.5.012-1t.088-1H4V8h2.8q.35-.575.788-1.075T8.6 6.05L7 4.4L8.4 3l2.15 2.15q.7-.225 1.425-.225t1.425.225L15.6 3L17 4.4l-1.65 1.65q.575.375 1.038.862T17.2 8H20v2h-2.1q.075.5.088 1T18 12h2v2h-2q0 .5-.013 1t-.087 1H20v2h-2.8q-.8 1.4-2.187 2.2T12 21m-2-5h4v-2h-4zm0-4h4v-2h-4z"
|
|
2843
2837
|
}, null, -1)
|
|
2844
2838
|
]));
|
|
2845
2839
|
}
|
|
2846
|
-
const
|
|
2840
|
+
const ha = E({ name: "material-symbols-bug-report", render: fa }), ga = {
|
|
2847
2841
|
viewBox: "0 0 24 24",
|
|
2848
2842
|
width: "1.2em",
|
|
2849
2843
|
height: "1.2em"
|
|
2850
2844
|
};
|
|
2851
|
-
function
|
|
2852
|
-
return i(), y("svg",
|
|
2845
|
+
function va(t, s) {
|
|
2846
|
+
return i(), y("svg", ga, s[0] || (s[0] = [
|
|
2853
2847
|
b("path", {
|
|
2854
2848
|
fill: "currentColor",
|
|
2855
2849
|
d: "M7 21q-.825 0-1.412-.587T5 19V6q-.425 0-.712-.288T4 5t.288-.712T5 4h4q0-.425.288-.712T10 3h4q.425 0 .713.288T15 4h4q.425 0 .713.288T20 5t-.288.713T19 6v13q0 .825-.587 1.413T17 21zm5-7.1l1.9 1.9q.275.275.7.275t.7-.275t.275-.7t-.275-.7l-1.9-1.9l1.9-1.9q.275-.275.275-.7t-.275-.7t-.7-.275t-.7.275L12 11.1l-1.9-1.9q-.275-.275-.7-.275t-.7.275t-.275.7t.275.7l1.9 1.9l-1.9 1.9q-.275.275-.275.7t.275.7t.7.275t.7-.275z"
|
|
2856
2850
|
}, null, -1)
|
|
2857
2851
|
]));
|
|
2858
2852
|
}
|
|
2859
|
-
const
|
|
2853
|
+
const ba = E({ name: "material-symbols-delete-forever-rounded", render: va }), ya = {
|
|
2860
2854
|
viewBox: "0 0 24 24",
|
|
2861
2855
|
width: "1.2em",
|
|
2862
2856
|
height: "1.2em"
|
|
2863
2857
|
};
|
|
2864
|
-
function
|
|
2865
|
-
return i(), y("svg",
|
|
2858
|
+
function $a(t, s) {
|
|
2859
|
+
return i(), y("svg", ya, s[0] || (s[0] = [
|
|
2866
2860
|
b("path", {
|
|
2867
2861
|
fill: "currentColor",
|
|
2868
2862
|
d: "M11.25 13.5q.95 0 1.6-.65t.65-1.6t-.65-1.6t-1.6-.65t-1.6.65t-.65 1.6t.65 1.6t1.6.65m4.825 4l-2.625-2.625q-.5.325-1.062.475t-1.138.15q-1.775 0-3.012-1.237T7 11.25t1.238-3.012T11.25 7t3.013 1.238T15.5 11.25q0 .575-.162 1.138t-.488 1.062l2.65 2.65zM5 21q-.825 0-1.412-.587T3 19v-4h2v4h4v2zm10 0v-2h4v-4h2v4q0 .825-.587 1.413T19 21zM3 9V5q0-.825.588-1.412T5 3h4v2H5v4zm16 0V5h-4V3h4q.825 0 1.413.588T21 5v4z"
|
|
2869
2863
|
}, null, -1)
|
|
2870
2864
|
]));
|
|
2871
2865
|
}
|
|
2872
|
-
const
|
|
2866
|
+
const wa = E({ name: "material-symbols-frame-inspect", render: $a }), _a = {
|
|
2873
2867
|
viewBox: "0 0 24 24",
|
|
2874
2868
|
width: "1.2em",
|
|
2875
2869
|
height: "1.2em"
|
|
2876
2870
|
};
|
|
2877
|
-
function
|
|
2878
|
-
return i(), y("svg",
|
|
2871
|
+
function Ca(t, s) {
|
|
2872
|
+
return i(), y("svg", _a, s[0] || (s[0] = [
|
|
2879
2873
|
b("path", {
|
|
2880
2874
|
fill: "currentColor",
|
|
2881
2875
|
d: "M12 20q-3.35 0-5.675-2.325T4 12t2.325-5.675T12 4q1.725 0 3.3.712T18 6.75V5q0-.425.288-.712T19 4t.713.288T20 5v5q0 .425-.288.713T19 11h-5q-.425 0-.712-.288T13 10t.288-.712T14 9h3.2q-.8-1.4-2.187-2.2T12 6Q9.5 6 7.75 7.75T6 12t1.75 4.25T12 18q1.7 0 3.113-.862t2.187-2.313q.2-.35.563-.487t.737-.013q.4.125.575.525t-.025.75q-1.025 2-2.925 3.2T12 20"
|
|
2882
2876
|
}, null, -1)
|
|
2883
2877
|
]));
|
|
2884
2878
|
}
|
|
2885
|
-
const
|
|
2879
|
+
const xa = E({ name: "material-symbols-refresh-rounded", render: Ca }), ka = { class: "grid grow place-items-center" }, Sa = { class: "flex flex-col items-center p-8" }, Ta = { class: "mt-0 mb-0 text-center text-4xl font-medium text-red-600" }, Ma = { class: "mt-4 grid grid-cols-1 gap-2 sm:grid-cols-2 [&_button]:justify-start sm:[&_button]:size-32 sm:[&_button]:flex-col sm:[&_button]:justify-center [&_svg]:size-6 sm:[&_svg]:size-8" }, Ha = /* @__PURE__ */ h({
|
|
2886
2880
|
__name: "StartupCrash",
|
|
2887
2881
|
setup(t) {
|
|
2888
2882
|
async function s() {
|
|
@@ -2898,14 +2892,14 @@ Do you still want to proceed?`
|
|
|
2898
2892
|
acceptVariant: "danger",
|
|
2899
2893
|
acceptText: k("startupCrash.purgeConfirmAccept", "Purge device")
|
|
2900
2894
|
}
|
|
2901
|
-
) && (await
|
|
2895
|
+
) && (await mt.purge(), await A.reload());
|
|
2902
2896
|
}
|
|
2903
2897
|
return (e, r) => {
|
|
2904
|
-
const n =
|
|
2905
|
-
return i(), y("div",
|
|
2906
|
-
b("div",
|
|
2898
|
+
const n = Ot("i-majesticons-exclamation");
|
|
2899
|
+
return i(), y("div", ka, [
|
|
2900
|
+
b("div", Sa, [
|
|
2907
2901
|
d(n, { class: "size-20 text-red-600" }),
|
|
2908
|
-
b("h1",
|
|
2902
|
+
b("h1", Ta, C(e.$td("startupCrash.title", "Oops, something went wrong!")), 1),
|
|
2909
2903
|
d(z, {
|
|
2910
2904
|
text: e.$td(
|
|
2911
2905
|
"startupCrash.message",
|
|
@@ -2913,13 +2907,13 @@ Do you still want to proceed?`
|
|
|
2913
2907
|
),
|
|
2914
2908
|
class: "mt-4 text-center"
|
|
2915
2909
|
}, null, 8, ["text"]),
|
|
2916
|
-
b("div",
|
|
2910
|
+
b("div", Ma, [
|
|
2917
2911
|
d(R, {
|
|
2918
2912
|
variant: "danger",
|
|
2919
2913
|
onClick: r[0] || (r[0] = (a) => e.$app.reload())
|
|
2920
2914
|
}, {
|
|
2921
2915
|
default: m(() => [
|
|
2922
|
-
d(l(
|
|
2916
|
+
d(l(xa)),
|
|
2923
2917
|
L(" " + C(e.$td("startupCrash.reload", "Try again")), 1)
|
|
2924
2918
|
]),
|
|
2925
2919
|
_: 1
|
|
@@ -2929,7 +2923,7 @@ Do you still want to proceed?`
|
|
|
2929
2923
|
onClick: r[1] || (r[1] = (a) => e.$errors.inspect(e.$errors.startupErrors))
|
|
2930
2924
|
}, {
|
|
2931
2925
|
default: m(() => [
|
|
2932
|
-
d(l(
|
|
2926
|
+
d(l(ha)),
|
|
2933
2927
|
L(" " + C(e.$td("startupCrash.inspect", "View error details")), 1)
|
|
2934
2928
|
]),
|
|
2935
2929
|
_: 1
|
|
@@ -2939,7 +2933,7 @@ Do you still want to proceed?`
|
|
|
2939
2933
|
onClick: r[2] || (r[2] = (a) => s())
|
|
2940
2934
|
}, {
|
|
2941
2935
|
default: m(() => [
|
|
2942
|
-
d(l(
|
|
2936
|
+
d(l(ba)),
|
|
2943
2937
|
L(" " + C(e.$td("startupCrash.purge", "Purge device")), 1)
|
|
2944
2938
|
]),
|
|
2945
2939
|
_: 1
|
|
@@ -2949,7 +2943,7 @@ Do you still want to proceed?`
|
|
|
2949
2943
|
onClick: r[3] || (r[3] = (a) => e.$errors.debug = !e.$errors.debug)
|
|
2950
2944
|
}, {
|
|
2951
2945
|
default: m(() => [
|
|
2952
|
-
d(l(
|
|
2946
|
+
d(l(wa)),
|
|
2953
2947
|
L(" " + C(e.$td("startupCrash.debug", "Toggle debugging")), 1)
|
|
2954
2948
|
]),
|
|
2955
2949
|
_: 1
|
|
@@ -2959,13 +2953,13 @@ Do you still want to proceed?`
|
|
|
2959
2953
|
]);
|
|
2960
2954
|
};
|
|
2961
2955
|
}
|
|
2962
|
-
}),
|
|
2956
|
+
}), Lt = /* @__PURE__ */ h({
|
|
2963
2957
|
__name: "HeadlessToastAction",
|
|
2964
2958
|
props: {
|
|
2965
2959
|
action: {}
|
|
2966
2960
|
},
|
|
2967
2961
|
setup(t) {
|
|
2968
|
-
return (s, e) => (i(), f(Y(s.action.dismiss ? l(
|
|
2962
|
+
return (s, e) => (i(), f(Y(s.action.dismiss ? l(As) : "button"), {
|
|
2969
2963
|
type: "button",
|
|
2970
2964
|
onClick: s.action.click
|
|
2971
2965
|
}, {
|
|
@@ -2975,7 +2969,7 @@ Do you still want to proceed?`
|
|
|
2975
2969
|
_: 1
|
|
2976
2970
|
}, 8, ["onClick"]));
|
|
2977
2971
|
}
|
|
2978
|
-
}),
|
|
2972
|
+
}), Va = { key: 0 }, Ea = /* @__PURE__ */ h({
|
|
2979
2973
|
__name: "HeadlessToast",
|
|
2980
2974
|
props: {
|
|
2981
2975
|
message: {},
|
|
@@ -2983,11 +2977,11 @@ Do you still want to proceed?`
|
|
|
2983
2977
|
variant: {}
|
|
2984
2978
|
},
|
|
2985
2979
|
setup(t) {
|
|
2986
|
-
return (s, e) => (i(), f(l(
|
|
2980
|
+
return (s, e) => (i(), f(l(Ps), null, {
|
|
2987
2981
|
default: m(() => [
|
|
2988
2982
|
w(s.$slots, "default", {}, () => [
|
|
2989
|
-
s.message ? (i(), y("span",
|
|
2990
|
-
(i(!0), y(D, null, U(s.actions, (r, n) => (i(), f(
|
|
2983
|
+
s.message ? (i(), y("span", Va, C(s.message), 1)) : M("", !0),
|
|
2984
|
+
(i(!0), y(D, null, U(s.actions, (r, n) => (i(), f(Lt, {
|
|
2991
2985
|
key: n,
|
|
2992
2986
|
action: r
|
|
2993
2987
|
}, null, 8, ["action"]))), 128))
|
|
@@ -2996,7 +2990,7 @@ Do you still want to proceed?`
|
|
|
2996
2990
|
_: 3
|
|
2997
2991
|
}));
|
|
2998
2992
|
}
|
|
2999
|
-
}),
|
|
2993
|
+
}), La = /* @__PURE__ */ h({
|
|
3000
2994
|
__name: "Toast",
|
|
3001
2995
|
props: {
|
|
3002
2996
|
message: {},
|
|
@@ -3005,7 +2999,7 @@ Do you still want to proceed?`
|
|
|
3005
2999
|
class: {}
|
|
3006
3000
|
},
|
|
3007
3001
|
setup(t, { expose: s }) {
|
|
3008
|
-
const e = c(() =>
|
|
3002
|
+
const e = c(() => ut(
|
|
3009
3003
|
{ baseClasses: t.class, variant: t.variant },
|
|
3010
3004
|
{
|
|
3011
3005
|
baseClasses: "flex items-center gap-2 rounded-md p-2 ring-1 shadow-lg border-gray-200",
|
|
@@ -3020,7 +3014,7 @@ Do you still want to proceed?`
|
|
|
3020
3014
|
}
|
|
3021
3015
|
}
|
|
3022
3016
|
));
|
|
3023
|
-
return s(), (r, n) => (i(), f(
|
|
3017
|
+
return s(), (r, n) => (i(), f(Ea, {
|
|
3024
3018
|
class: x(e.value)
|
|
3025
3019
|
}, {
|
|
3026
3020
|
default: m(() => [
|
|
@@ -3033,72 +3027,72 @@ Do you still want to proceed?`
|
|
|
3033
3027
|
key: u,
|
|
3034
3028
|
action: a,
|
|
3035
3029
|
variant: r.variant,
|
|
3036
|
-
as:
|
|
3030
|
+
as: Lt
|
|
3037
3031
|
}, null, 8, ["action", "variant"]))), 128))
|
|
3038
3032
|
]),
|
|
3039
3033
|
_: 1
|
|
3040
3034
|
}, 8, ["class"]));
|
|
3041
3035
|
}
|
|
3042
|
-
}),
|
|
3036
|
+
}), Ra = { $ui: P }, za = {
|
|
3043
3037
|
async install(t, s) {
|
|
3044
3038
|
const e = {
|
|
3045
|
-
"alert-modal":
|
|
3046
|
-
"confirm-modal":
|
|
3047
|
-
"error-report-modal":
|
|
3048
|
-
"loading-modal":
|
|
3049
|
-
"prompt-modal":
|
|
3050
|
-
"startup-crash":
|
|
3051
|
-
toast:
|
|
3039
|
+
"alert-modal": fn,
|
|
3040
|
+
"confirm-modal": wn,
|
|
3041
|
+
"error-report-modal": Jn,
|
|
3042
|
+
"loading-modal": ra,
|
|
3043
|
+
"prompt-modal": pa,
|
|
3044
|
+
"startup-crash": Ha,
|
|
3045
|
+
toast: La,
|
|
3052
3046
|
...s.components
|
|
3053
3047
|
};
|
|
3054
3048
|
for (const [r, n] of Object.entries(e))
|
|
3055
3049
|
P.registerComponent(r, n);
|
|
3056
|
-
await ke(t,
|
|
3050
|
+
await ke(t, Ra);
|
|
3057
3051
|
}
|
|
3058
3052
|
};
|
|
3059
|
-
async function
|
|
3053
|
+
async function Ia(t, s = {}) {
|
|
3060
3054
|
var r;
|
|
3061
|
-
const e = [
|
|
3062
|
-
A.instance = t, await
|
|
3055
|
+
const e = [en, vr, Yr, Dr, wr, za, ...s.plugins ?? []];
|
|
3056
|
+
A.instance = t, await Ys(e, t, s), await ((r = s.install) == null ? void 0 : r.call(s, t)), await F.emit("application-ready");
|
|
3063
3057
|
}
|
|
3064
|
-
async function
|
|
3058
|
+
async function Nl(t, s = {}) {
|
|
3065
3059
|
var r;
|
|
3066
|
-
const e =
|
|
3067
|
-
J() && (window.$aerogel = e), await
|
|
3060
|
+
const e = Nt(t);
|
|
3061
|
+
J() && (window.$aerogel = e), await Ia(e, s), e.mount("#app"), (r = e._container) == null || r.classList.remove("loading"), await F.emit("application-mounted");
|
|
3068
3062
|
}
|
|
3069
|
-
const
|
|
3063
|
+
const qa = /* @__PURE__ */ h({
|
|
3070
3064
|
__name: "AppToasts",
|
|
3071
3065
|
setup(t) {
|
|
3072
|
-
return (s, e) => (i(), f(l(
|
|
3066
|
+
return (s, e) => (i(), f(l(Ds), null, {
|
|
3073
3067
|
default: m(() => [
|
|
3074
3068
|
(i(!0), y(D, null, U(s.$ui.toasts, (r) => (i(), f(Y(r.component), V({
|
|
3075
3069
|
id: r.id,
|
|
3076
3070
|
key: r.id
|
|
3077
3071
|
}, { ref_for: !0 }, r.properties), null, 16, ["id"]))), 128)),
|
|
3078
|
-
d(l(
|
|
3072
|
+
d(l(js), { class: "fixed right-0 bottom-0 z-50 flex flex-col items-end space-y-4 px-4 py-6 sm:p-6" })
|
|
3079
3073
|
]),
|
|
3080
3074
|
_: 1
|
|
3081
3075
|
}));
|
|
3082
3076
|
}
|
|
3083
|
-
}),
|
|
3077
|
+
}), Aa = /* @__PURE__ */ h({
|
|
3084
3078
|
__name: "AppOverlays",
|
|
3085
3079
|
setup(t) {
|
|
3086
3080
|
return (s, e) => (i(), y(D, null, [
|
|
3087
|
-
d(l(
|
|
3088
|
-
d(
|
|
3081
|
+
d(l(hs), { nested: "" }),
|
|
3082
|
+
d(qa)
|
|
3089
3083
|
], 64));
|
|
3090
3084
|
}
|
|
3091
|
-
}),
|
|
3085
|
+
}), Pa = { class: "flex min-h-full flex-col text-base leading-tight font-normal text-gray-900 antialiased" }, Wl = /* @__PURE__ */ h({
|
|
3092
3086
|
__name: "AppLayout",
|
|
3093
3087
|
setup(t) {
|
|
3094
|
-
return (s, e) => (i(), y("div",
|
|
3088
|
+
return (s, e) => (i(), y("div", Pa, [
|
|
3095
3089
|
s.$errors.hasStartupErrors ? w(s.$slots, "startup-crash", { key: 0 }, () => [
|
|
3096
3090
|
(i(), f(Y(s.$ui.requireComponent("startup-crash"))))
|
|
3097
3091
|
]) : w(s.$slots, "default", { key: 1 }),
|
|
3098
|
-
d(
|
|
3092
|
+
d(Aa)
|
|
3099
3093
|
]));
|
|
3100
3094
|
}
|
|
3101
|
-
}),
|
|
3095
|
+
}), Da = ["id", "name", "value", "required", "aria-invalid", "aria-describedby"], ja = /* @__PURE__ */ h({
|
|
3102
3096
|
__name: "HeadlessInputTextArea",
|
|
3103
3097
|
setup(t) {
|
|
3104
3098
|
const s = ee("$textAreaRef"), e = I(
|
|
@@ -3108,7 +3102,7 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3108
3102
|
function a() {
|
|
3109
3103
|
s.value && e.update(s.value.value);
|
|
3110
3104
|
}
|
|
3111
|
-
return
|
|
3105
|
+
return ct(e, () => {
|
|
3112
3106
|
var u;
|
|
3113
3107
|
return (u = s.value) == null ? void 0 : u.focus();
|
|
3114
3108
|
}), (u, o) => (i(), y("textarea", {
|
|
@@ -3120,22 +3114,22 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3120
3114
|
"aria-invalid": l(e).errors ? "true" : "false",
|
|
3121
3115
|
"aria-describedby": l(e).errors ? `${l(e).id}-error` : l(e).description ? `${l(e).id}-description` : void 0,
|
|
3122
3116
|
onInput: a
|
|
3123
|
-
}, null, 40,
|
|
3117
|
+
}, null, 40, Da));
|
|
3124
3118
|
}
|
|
3125
|
-
}),
|
|
3119
|
+
}), Ba = { class: "group" }, Fa = { class: "-ml-2 flex w-[max-content] items-center rounded-lg py-2 pr-3 pl-1 hover:bg-gray-100 focus-visible:outline focus-visible:outline-gray-700" }, Ua = { class: "pt-2 pl-4" }, Kl = /* @__PURE__ */ h({
|
|
3126
3120
|
__name: "AdvancedOptions",
|
|
3127
3121
|
setup(t) {
|
|
3128
|
-
return (s, e) => (i(), y("details",
|
|
3129
|
-
b("summary",
|
|
3130
|
-
d(l(
|
|
3122
|
+
return (s, e) => (i(), y("details", Ba, [
|
|
3123
|
+
b("summary", Fa, [
|
|
3124
|
+
d(l(Ht), { class: "size-6 transition-transform group-open:rotate-90" }),
|
|
3131
3125
|
b("span", null, C(s.$td("ui.advancedOptions", "Advanced options")), 1)
|
|
3132
3126
|
]),
|
|
3133
|
-
b("div",
|
|
3127
|
+
b("div", Ua, [
|
|
3134
3128
|
w(s.$slots, "default")
|
|
3135
3129
|
])
|
|
3136
3130
|
]));
|
|
3137
3131
|
}
|
|
3138
|
-
}),
|
|
3132
|
+
}), Oa = { class: "flex h-6 items-center" }, Ql = /* @__PURE__ */ h({
|
|
3139
3133
|
inheritAttrs: !1,
|
|
3140
3134
|
__name: "Checkbox",
|
|
3141
3135
|
props: {
|
|
@@ -3148,7 +3142,7 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3148
3142
|
},
|
|
3149
3143
|
emits: ["update:modelValue"],
|
|
3150
3144
|
setup(t) {
|
|
3151
|
-
const s = K(t, ["inputClass", "labelClass"]), e = ee("$inputRef"), [r, n] =
|
|
3145
|
+
const s = K(t, ["inputClass", "labelClass"]), e = ee("$inputRef"), [r, n] = Pe(), a = c(() => H("relative flex items-start", n.value)), u = c(() => {
|
|
3152
3146
|
var p, g;
|
|
3153
3147
|
return H(
|
|
3154
3148
|
"size-4 rounded text-primary-600 not-checked:hover:bg-gray-200 checked:hover:text-primary-500 checked:border-0",
|
|
@@ -3166,8 +3160,8 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3166
3160
|
"onUpdate:modelValue": g[0] || (g[0] = ($) => p.$emit("update:modelValue", $))
|
|
3167
3161
|
}), {
|
|
3168
3162
|
default: m(() => [
|
|
3169
|
-
b("div",
|
|
3170
|
-
d(
|
|
3163
|
+
b("div", Oa, [
|
|
3164
|
+
d(Vt, V(l(r), {
|
|
3171
3165
|
type: "checkbox",
|
|
3172
3166
|
class: u.value
|
|
3173
3167
|
}), null, 16, ["class"])
|
|
@@ -3194,7 +3188,7 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3194
3188
|
_: 3
|
|
3195
3189
|
}, 16, ["class"]));
|
|
3196
3190
|
}
|
|
3197
|
-
}),
|
|
3191
|
+
}), Na = /* @__PURE__ */ h({
|
|
3198
3192
|
__name: "DropdownMenuOption",
|
|
3199
3193
|
props: {
|
|
3200
3194
|
class: {},
|
|
@@ -3207,7 +3201,7 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3207
3201
|
"flex w-full items-center gap-2 rounded-lg px-2 py-2 text-sm text-gray-900 data-[highlighted]:bg-gray-100",
|
|
3208
3202
|
t.class
|
|
3209
3203
|
));
|
|
3210
|
-
return (r, n) => (i(), f(l(
|
|
3204
|
+
return (r, n) => (i(), f(l(Bs), V({ class: e.value }, s, {
|
|
3211
3205
|
onSelect: n[0] || (n[0] = (a) => r.$emit("select"))
|
|
3212
3206
|
}), {
|
|
3213
3207
|
default: m(() => [
|
|
@@ -3216,24 +3210,24 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3216
3210
|
_: 3
|
|
3217
3211
|
}, 16, ["class"]));
|
|
3218
3212
|
}
|
|
3219
|
-
}),
|
|
3213
|
+
}), Wa = /* @__PURE__ */ h({
|
|
3220
3214
|
__name: "DropdownMenuOptions",
|
|
3221
3215
|
setup(t) {
|
|
3222
3216
|
const s = I(
|
|
3223
3217
|
"dropdown-menu",
|
|
3224
3218
|
"<DropdownMenuOptions> must be a child of a <DropdownMenu>"
|
|
3225
3219
|
);
|
|
3226
|
-
return (e, r) => (i(), f(l(
|
|
3220
|
+
return (e, r) => (i(), f(l(Fs), {
|
|
3227
3221
|
class: "gap-y-0.5 rounded-lg bg-white p-1.5 shadow-lg ring-1 ring-black/5",
|
|
3228
3222
|
align: l(s).align,
|
|
3229
3223
|
side: l(s).side
|
|
3230
3224
|
}, {
|
|
3231
3225
|
default: m(() => [
|
|
3232
3226
|
w(e.$slots, "default", {}, () => [
|
|
3233
|
-
(i(!0), y(D, null, U(l(s).options, (n, a) => (i(), f(
|
|
3227
|
+
(i(!0), y(D, null, U(l(s).options, (n, a) => (i(), f(Na, V(
|
|
3234
3228
|
{
|
|
3235
3229
|
key: a,
|
|
3236
|
-
as: n.route || n.href ?
|
|
3230
|
+
as: n.route || n.href ? bt : void 0,
|
|
3237
3231
|
class: n.class
|
|
3238
3232
|
},
|
|
3239
3233
|
{ ref_for: !0 },
|
|
@@ -3260,7 +3254,7 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3260
3254
|
_: 3
|
|
3261
3255
|
}, 8, ["align", "side"]));
|
|
3262
3256
|
}
|
|
3263
|
-
}),
|
|
3257
|
+
}), Jl = /* @__PURE__ */ h({
|
|
3264
3258
|
__name: "DropdownMenu",
|
|
3265
3259
|
props: {
|
|
3266
3260
|
align: {},
|
|
@@ -3276,18 +3270,18 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3276
3270
|
return (r = t.options) == null ? void 0 : r.filter(Boolean);
|
|
3277
3271
|
})
|
|
3278
3272
|
};
|
|
3279
|
-
return de("dropdown-menu", e), s(e), (r, n) => (i(), f(l(
|
|
3273
|
+
return de("dropdown-menu", e), s(e), (r, n) => (i(), f(l(Us), null, {
|
|
3280
3274
|
default: m(() => [
|
|
3281
|
-
d(l(
|
|
3275
|
+
d(l(Os), null, {
|
|
3282
3276
|
default: m(() => [
|
|
3283
3277
|
w(r.$slots, "default")
|
|
3284
3278
|
]),
|
|
3285
3279
|
_: 3
|
|
3286
3280
|
}),
|
|
3287
|
-
d(l(
|
|
3281
|
+
d(l(Ns), null, {
|
|
3288
3282
|
default: m(() => [
|
|
3289
3283
|
w(r.$slots, "options", {}, () => [
|
|
3290
|
-
d(
|
|
3284
|
+
d(Wa)
|
|
3291
3285
|
])
|
|
3292
3286
|
]),
|
|
3293
3287
|
_: 3
|
|
@@ -3296,7 +3290,7 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3296
3290
|
_: 3
|
|
3297
3291
|
}));
|
|
3298
3292
|
}
|
|
3299
|
-
}),
|
|
3293
|
+
}), Ka = ["aria-hidden"], Qa = ["tabindex", "aria-label", "type"], Zl = /* @__PURE__ */ h({
|
|
3300
3294
|
__name: "EditableContent",
|
|
3301
3295
|
props: {
|
|
3302
3296
|
type: { default: "text" },
|
|
@@ -3335,12 +3329,12 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3335
3329
|
b("form", {
|
|
3336
3330
|
class: "w-full",
|
|
3337
3331
|
"aria-hidden": v.formAriaHidden,
|
|
3338
|
-
onSubmit: S[4] || (S[4] =
|
|
3332
|
+
onSubmit: S[4] || (S[4] = tt((q) => {
|
|
3339
3333
|
var pe;
|
|
3340
3334
|
return (pe = r.value) == null ? void 0 : pe.blur();
|
|
3341
3335
|
}, ["prevent"]))
|
|
3342
3336
|
}, [
|
|
3343
|
-
|
|
3337
|
+
st(b("input", {
|
|
3344
3338
|
ref: "$inputRef",
|
|
3345
3339
|
"onUpdate:modelValue": S[0] || (S[0] = (q) => a.value = q),
|
|
3346
3340
|
tabindex: v.tabindex ?? void 0,
|
|
@@ -3353,39 +3347,39 @@ const Pa = /* @__PURE__ */ h({
|
|
|
3353
3347
|
onKeyup: S[1] || (S[1] = (q) => v.$emit("update", a.value)),
|
|
3354
3348
|
onFocus: S[2] || (S[2] = (q) => g()),
|
|
3355
3349
|
onBlur: S[3] || (S[3] = (q) => $())
|
|
3356
|
-
}, null, 42,
|
|
3357
|
-
[
|
|
3350
|
+
}, null, 42, Qa), [
|
|
3351
|
+
[Wt, a.value]
|
|
3358
3352
|
])
|
|
3359
|
-
], 40,
|
|
3353
|
+
], 40, Ka)
|
|
3360
3354
|
], 2));
|
|
3361
3355
|
}
|
|
3362
|
-
}),
|
|
3356
|
+
}), Ja = {
|
|
3363
3357
|
viewBox: "0 0 512 512",
|
|
3364
3358
|
width: "1.2em",
|
|
3365
3359
|
height: "1.2em"
|
|
3366
3360
|
};
|
|
3367
|
-
function
|
|
3368
|
-
return i(), y("svg",
|
|
3361
|
+
function Za(t, s) {
|
|
3362
|
+
return i(), y("svg", Ja, s[0] || (s[0] = [
|
|
3369
3363
|
b("path", {
|
|
3370
3364
|
fill: "currentColor",
|
|
3371
3365
|
d: "M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17m-198.6-1.83a20 20 0 1 1 20-20a20 20 0 0 1-20 20m21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7Z"
|
|
3372
3366
|
}, null, -1)
|
|
3373
3367
|
]));
|
|
3374
3368
|
}
|
|
3375
|
-
const
|
|
3369
|
+
const Xa = E({ name: "ion-warning", render: Za }), Ga = {
|
|
3376
3370
|
viewBox: "0 0 20 20",
|
|
3377
3371
|
width: "1.2em",
|
|
3378
3372
|
height: "1.2em"
|
|
3379
3373
|
};
|
|
3380
|
-
function
|
|
3381
|
-
return i(), y("svg",
|
|
3374
|
+
function Ya(t, s) {
|
|
3375
|
+
return i(), y("svg", Ga, s[0] || (s[0] = [
|
|
3382
3376
|
b("path", {
|
|
3383
3377
|
fill: "currentColor",
|
|
3384
3378
|
d: "M.2 10a11 11 0 0 1 19.6 0A11 11 0 0 1 .2 10m9.8 4a4 4 0 1 0 0-8a4 4 0 0 0 0 8m0-2a2 2 0 1 1 0-4a2 2 0 0 1 0 4"
|
|
3385
3379
|
}, null, -1)
|
|
3386
3380
|
]));
|
|
3387
3381
|
}
|
|
3388
|
-
const
|
|
3382
|
+
const el = E({ name: "zondicons-view-show", render: Ya }), tl = { class: "font-medium" }, sl = ["datetime"], rl = /* @__PURE__ */ h({
|
|
3389
3383
|
__name: "ErrorLogsModal",
|
|
3390
3384
|
setup(t) {
|
|
3391
3385
|
return (s, e) => (i(), f(re, {
|
|
@@ -3398,14 +3392,14 @@ const sl = E({ name: "zondicons-view-show", render: tl }), rl = { class: "font-m
|
|
|
3398
3392
|
class: "mb-2 flex max-w-prose min-w-56 justify-between py-2 last:mb-0"
|
|
3399
3393
|
}, [
|
|
3400
3394
|
b("div", null, [
|
|
3401
|
-
b("h3",
|
|
3395
|
+
b("h3", tl, C(r.report.title), 1),
|
|
3402
3396
|
b("time", {
|
|
3403
3397
|
datetime: r.date.toISOString(),
|
|
3404
3398
|
class: "text-xs text-gray-700"
|
|
3405
|
-
}, C(r.date.toLocaleTimeString()), 9,
|
|
3399
|
+
}, C(r.date.toLocaleTimeString()), 9, sl),
|
|
3406
3400
|
d(z, {
|
|
3407
3401
|
class: "text-sm text-gray-500",
|
|
3408
|
-
text: r.report.description ?? l(
|
|
3402
|
+
text: r.report.description ?? l(Tt)(r.report)
|
|
3409
3403
|
}, null, 8, ["text"])
|
|
3410
3404
|
]),
|
|
3411
3405
|
d(R, {
|
|
@@ -3420,7 +3414,7 @@ const sl = E({ name: "zondicons-view-show", render: tl }), rl = { class: "font-m
|
|
|
3420
3414
|
)
|
|
3421
3415
|
}, {
|
|
3422
3416
|
default: m(() => [
|
|
3423
|
-
d(l(
|
|
3417
|
+
d(l(el), {
|
|
3424
3418
|
class: "size-4",
|
|
3425
3419
|
"aria-hidden": "true"
|
|
3426
3420
|
})
|
|
@@ -3433,7 +3427,7 @@ const sl = E({ name: "zondicons-view-show", render: tl }), rl = { class: "font-m
|
|
|
3433
3427
|
_: 1
|
|
3434
3428
|
}, 8, ["title"]));
|
|
3435
3429
|
}
|
|
3436
|
-
}),
|
|
3430
|
+
}), Xl = /* @__PURE__ */ h({
|
|
3437
3431
|
__name: "ErrorLogs",
|
|
3438
3432
|
setup(t) {
|
|
3439
3433
|
return (s, e) => s.$errors.logs.length > 0 ? (i(), f(R, {
|
|
@@ -3442,27 +3436,27 @@ const sl = E({ name: "zondicons-view-show", render: tl }), rl = { class: "font-m
|
|
|
3442
3436
|
variant: "ghost",
|
|
3443
3437
|
title: s.$td("errors.viewLogs", "View error logs"),
|
|
3444
3438
|
"aria-label": s.$td("errors.viewLogs", "View error logs"),
|
|
3445
|
-
onClick: e[0] || (e[0] = (r) => s.$ui.modal(
|
|
3439
|
+
onClick: e[0] || (e[0] = (r) => s.$ui.modal(rl))
|
|
3446
3440
|
}, {
|
|
3447
3441
|
default: m(() => [
|
|
3448
|
-
d(l(
|
|
3442
|
+
d(l(Xa), { class: "size-6 text-red-500" })
|
|
3449
3443
|
]),
|
|
3450
3444
|
_: 1
|
|
3451
3445
|
}, 8, ["title", "aria-label"])) : M("", !0);
|
|
3452
3446
|
}
|
|
3453
|
-
}),
|
|
3447
|
+
}), Gl = /* @__PURE__ */ h({
|
|
3454
3448
|
__name: "ErrorMessage",
|
|
3455
3449
|
props: {
|
|
3456
3450
|
error: {}
|
|
3457
3451
|
},
|
|
3458
3452
|
setup(t) {
|
|
3459
|
-
const s = c(() =>
|
|
3453
|
+
const s = c(() => Tt(t.error));
|
|
3460
3454
|
return (e, r) => (i(), f(z, {
|
|
3461
3455
|
text: s.value,
|
|
3462
3456
|
inline: ""
|
|
3463
3457
|
}, null, 8, ["text"]));
|
|
3464
3458
|
}
|
|
3465
|
-
}),
|
|
3459
|
+
}), Yl = /* @__PURE__ */ h({
|
|
3466
3460
|
__name: "Link",
|
|
3467
3461
|
props: {
|
|
3468
3462
|
class: {},
|
|
@@ -3484,10 +3478,10 @@ const sl = E({ name: "zondicons-view-show", render: tl }), rl = { class: "font-m
|
|
|
3484
3478
|
_: 3
|
|
3485
3479
|
}, 16));
|
|
3486
3480
|
}
|
|
3487
|
-
}),
|
|
3481
|
+
}), ei = /* @__PURE__ */ h({
|
|
3488
3482
|
__name: "SettingsModal",
|
|
3489
3483
|
setup(t) {
|
|
3490
|
-
const s = c(() =>
|
|
3484
|
+
const s = c(() => rs(A.settings, "priority", "desc"));
|
|
3491
3485
|
return (e, r) => (i(), f(re, {
|
|
3492
3486
|
title: e.$td("settings.title", "Settings")
|
|
3493
3487
|
}, {
|
|
@@ -3497,10 +3491,10 @@ const sl = E({ name: "zondicons-view-show", render: tl }), rl = { class: "font-m
|
|
|
3497
3491
|
_: 1
|
|
3498
3492
|
}, 8, ["title"]));
|
|
3499
3493
|
}
|
|
3500
|
-
}),
|
|
3494
|
+
}), nl = {
|
|
3501
3495
|
key: 0,
|
|
3502
3496
|
class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"
|
|
3503
|
-
},
|
|
3497
|
+
}, ti = /* @__PURE__ */ h({
|
|
3504
3498
|
inheritAttrs: !1,
|
|
3505
3499
|
__name: "TextArea",
|
|
3506
3500
|
props: {
|
|
@@ -3513,7 +3507,7 @@ const sl = E({ name: "zondicons-view-show", render: tl }), rl = { class: "font-m
|
|
|
3513
3507
|
},
|
|
3514
3508
|
emits: ["update:modelValue"],
|
|
3515
3509
|
setup(t) {
|
|
3516
|
-
const s = K(t, ["label", "inputClass", "wrapperClass"]), e = ee("$inputRef"), [r, n] =
|
|
3510
|
+
const s = K(t, ["label", "inputClass", "wrapperClass"]), e = ee("$inputRef"), [r, n] = Pe(), a = c(() => H("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = c(() => {
|
|
3517
3511
|
var o, p, g;
|
|
3518
3512
|
return H(
|
|
3519
3513
|
// eslint-disable-next-line vue/max-len
|
|
@@ -3540,12 +3534,12 @@ const sl = E({ name: "zondicons-view-show", render: tl }), rl = { class: "font-m
|
|
|
3540
3534
|
b("div", {
|
|
3541
3535
|
class: x(a.value)
|
|
3542
3536
|
}, [
|
|
3543
|
-
d(
|
|
3544
|
-
(g = e.value) != null && g.errors ? (i(), y("div",
|
|
3537
|
+
d(ja, V(l(r), { class: u.value }), null, 16, ["class"]),
|
|
3538
|
+
(g = e.value) != null && g.errors ? (i(), y("div", nl, [
|
|
3545
3539
|
d(l(De), { class: "size-5 text-red-500" })
|
|
3546
3540
|
])) : M("", !0)
|
|
3547
3541
|
], 2),
|
|
3548
|
-
d(
|
|
3542
|
+
d(Et, { class: "mt-2 text-sm text-gray-600" }),
|
|
3549
3543
|
d(ye, { class: "mt-2 text-sm text-red-600" })
|
|
3550
3544
|
];
|
|
3551
3545
|
}),
|
|
@@ -3553,7 +3547,7 @@ const sl = E({ name: "zondicons-view-show", render: tl }), rl = { class: "font-m
|
|
|
3553
3547
|
}, 16, ["label", "class"]));
|
|
3554
3548
|
}
|
|
3555
3549
|
});
|
|
3556
|
-
class
|
|
3550
|
+
class si {
|
|
3557
3551
|
constructor() {
|
|
3558
3552
|
_(this, "status");
|
|
3559
3553
|
_(this, "_listeners");
|
|
@@ -3561,16 +3555,16 @@ class ni {
|
|
|
3561
3555
|
_(this, "_cancelled");
|
|
3562
3556
|
_(this, "_started");
|
|
3563
3557
|
_(this, "_completed");
|
|
3564
|
-
this.status = this.getInitialStatus(), this._listeners = new
|
|
3558
|
+
this.status = this.getInitialStatus(), this._listeners = new ns(), this._started = new Q(), this._completed = new Q();
|
|
3565
3559
|
}
|
|
3566
3560
|
async start() {
|
|
3567
3561
|
this.beforeStart(), this._started.resolve();
|
|
3568
3562
|
try {
|
|
3569
3563
|
await this.updateProgress(), await this.run(), await this.updateProgress(), this._completed.resolve();
|
|
3570
3564
|
} catch (s) {
|
|
3571
|
-
if (s instanceof
|
|
3565
|
+
if (s instanceof Ge)
|
|
3572
3566
|
return;
|
|
3573
|
-
throw te(
|
|
3567
|
+
throw te(as(s), (e) => {
|
|
3574
3568
|
this._completed.reject(e);
|
|
3575
3569
|
});
|
|
3576
3570
|
}
|
|
@@ -3611,10 +3605,10 @@ class ni {
|
|
|
3611
3605
|
}
|
|
3612
3606
|
assertNotCancelled() {
|
|
3613
3607
|
if (this._cancelled)
|
|
3614
|
-
throw this._cancelled.resolve(), new
|
|
3608
|
+
throw this._cancelled.resolve(), new Ge();
|
|
3615
3609
|
}
|
|
3616
3610
|
calculateCurrentProgress(s) {
|
|
3617
|
-
return s ?? (s = this.status), s.completed ? 1 : s.children ?
|
|
3611
|
+
return s ?? (s = this.status), s.completed ? 1 : s.children ? ls(
|
|
3618
3612
|
s.children.reduce((e, r) => e + this.calculateCurrentProgress(r), 0) / s.children.length,
|
|
3619
3613
|
2
|
|
3620
3614
|
) : 0;
|
|
@@ -3628,155 +3622,154 @@ class ni {
|
|
|
3628
3622
|
return { ...s };
|
|
3629
3623
|
}
|
|
3630
3624
|
}
|
|
3631
|
-
async function
|
|
3625
|
+
async function ri(t) {
|
|
3632
3626
|
await t.start();
|
|
3633
3627
|
}
|
|
3634
3628
|
export {
|
|
3635
|
-
|
|
3636
|
-
|
|
3629
|
+
Kl as AdvancedOptions,
|
|
3630
|
+
fn as AlertModal,
|
|
3637
3631
|
A as App,
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3632
|
+
Wl as AppLayout,
|
|
3633
|
+
Aa as AppOverlays,
|
|
3634
|
+
Gs as AppService,
|
|
3635
|
+
qa as AppToasts,
|
|
3642
3636
|
R as Button,
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3637
|
+
El as Cache,
|
|
3638
|
+
br as CacheService,
|
|
3639
|
+
Ql as Checkbox,
|
|
3640
|
+
wn as ConfirmModal,
|
|
3641
|
+
Jl as DropdownMenu,
|
|
3642
|
+
Na as DropdownMenuOption,
|
|
3643
|
+
Wa as DropdownMenuOptions,
|
|
3644
|
+
Zl as EditableContent,
|
|
3645
|
+
Xl as ErrorLogs,
|
|
3646
|
+
rl as ErrorLogsModal,
|
|
3647
|
+
Gl as ErrorMessage,
|
|
3648
|
+
Jn as ErrorReportModal,
|
|
3649
|
+
jn as ErrorReportModalButtons,
|
|
3650
|
+
Bn as ErrorReportModalTitle,
|
|
3651
|
+
vt as Errors,
|
|
3652
|
+
yl as EventListenerPriorities,
|
|
3659
3653
|
F as Events,
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3654
|
+
Zs as EventsService,
|
|
3655
|
+
Mt as Form,
|
|
3656
|
+
or as FormController,
|
|
3657
|
+
bt as HeadlessButton,
|
|
3664
3658
|
je as HeadlessInput,
|
|
3665
|
-
|
|
3659
|
+
Et as HeadlessInputDescription,
|
|
3666
3660
|
ye as HeadlessInputError,
|
|
3667
|
-
|
|
3661
|
+
Vt as HeadlessInputInput,
|
|
3668
3662
|
be as HeadlessInputLabel,
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3663
|
+
ja as HeadlessInputTextArea,
|
|
3664
|
+
nn as HeadlessModal,
|
|
3665
|
+
an as HeadlessModalContent,
|
|
3666
|
+
ln as HeadlessModalDescription,
|
|
3667
|
+
on as HeadlessModalOverlay,
|
|
3668
|
+
un as HeadlessModalTitle,
|
|
3669
|
+
Vr as HeadlessSelect,
|
|
3670
|
+
Ze as HeadlessSelectLabel,
|
|
3671
|
+
wt as HeadlessSelectOption,
|
|
3672
|
+
_t as HeadlessSelectOptions,
|
|
3673
|
+
$t as HeadlessSelectTrigger,
|
|
3674
|
+
yt as HeadlessSelectValue,
|
|
3675
|
+
Wr as HeadlessSwitch,
|
|
3676
|
+
Ea as HeadlessToast,
|
|
3677
|
+
oa as Input,
|
|
3678
|
+
si as Job,
|
|
3679
|
+
Ge as JobCancelledError,
|
|
3686
3680
|
Z as Lang,
|
|
3687
3681
|
ve as Layouts,
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3682
|
+
Yl as Link,
|
|
3683
|
+
ra as LoadingModal,
|
|
3684
|
+
ft as MOBILE_BREAKPOINT,
|
|
3691
3685
|
z as Markdown,
|
|
3692
3686
|
re as Modal,
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3687
|
+
li as ModalComponent,
|
|
3688
|
+
ii as ModalsPortal,
|
|
3689
|
+
ta as ProgressBar,
|
|
3690
|
+
pa as PromptModal,
|
|
3691
|
+
zr as Select,
|
|
3692
|
+
Ct as SelectLabel,
|
|
3693
|
+
Xe as SelectOption,
|
|
3694
|
+
xt as SelectOptions,
|
|
3695
|
+
kt as SelectTrigger,
|
|
3702
3696
|
xe as Service,
|
|
3703
3697
|
Ee as ServiceBootError,
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3698
|
+
Or as Setting,
|
|
3699
|
+
ei as SettingsModal,
|
|
3700
|
+
Ha as StartupCrash,
|
|
3701
|
+
mt as Storage,
|
|
3702
|
+
Kr as Switch,
|
|
3703
|
+
ti as TextArea,
|
|
3704
|
+
La as Toast,
|
|
3711
3705
|
P as UI,
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3706
|
+
Cr as UIService,
|
|
3707
|
+
kl as __valueType,
|
|
3708
|
+
gr as aerogelDirectives,
|
|
3709
|
+
Ws as appNamespace,
|
|
3710
|
+
zl as booleanInput,
|
|
3717
3711
|
ke as bootServices,
|
|
3718
|
-
|
|
3719
|
-
|
|
3712
|
+
Nl as bootstrap,
|
|
3713
|
+
Ia as bootstrapApplication,
|
|
3720
3714
|
H as classes,
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3715
|
+
oi as closeModal,
|
|
3716
|
+
Ml as computedAsync,
|
|
3717
|
+
Hl as computedDebounce,
|
|
3718
|
+
ui as createModal,
|
|
3719
|
+
Il as dateInput,
|
|
3720
|
+
_l as defineDirective,
|
|
3721
|
+
xl as defineFormValidationRule,
|
|
3722
|
+
wl as definePlugin,
|
|
3729
3723
|
Ce as defineServiceState,
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
rr as injectReactive,
|
|
3724
|
+
Js as defineServiceStore,
|
|
3725
|
+
$l as defineSettings,
|
|
3726
|
+
ri as dispatch,
|
|
3727
|
+
ql as enumInput,
|
|
3728
|
+
ht as getCurrentLayout,
|
|
3729
|
+
Tt as getErrorMessage,
|
|
3730
|
+
mr as getMarkdownRouter,
|
|
3731
|
+
Qs as getPiniaStore,
|
|
3732
|
+
Hr as hasSelectOptionLabel,
|
|
3733
|
+
sr as injectOrFail,
|
|
3734
|
+
tr as injectReactive,
|
|
3742
3735
|
I as injectReactiveOrFail,
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3736
|
+
Ys as installPlugins,
|
|
3737
|
+
ci as modals,
|
|
3738
|
+
Fl as numberInput,
|
|
3739
|
+
Ul as objectInput,
|
|
3740
|
+
Sl as onCleanMounted,
|
|
3741
|
+
ct as onFormFocus,
|
|
3742
|
+
Tl as persistent,
|
|
3743
|
+
ur as reactiveSet,
|
|
3744
|
+
Rl as registerErrorHandler,
|
|
3745
|
+
fr as renderMarkdown,
|
|
3746
|
+
ot as renderVNode,
|
|
3747
|
+
Ll as replaceExisting,
|
|
3748
|
+
Al as requiredBooleanInput,
|
|
3749
|
+
Pl as requiredDateInput,
|
|
3750
|
+
Dl as requiredEnumInput,
|
|
3751
|
+
jl as requiredNumberInput,
|
|
3752
|
+
Bl as requiredObjectInput,
|
|
3753
|
+
ua as requiredStringInput,
|
|
3754
|
+
Ks as resetPiniaStore,
|
|
3755
|
+
pt as safeHtml,
|
|
3756
|
+
Vl as setMarkdownRouter,
|
|
3757
|
+
di as showModal,
|
|
3758
|
+
Ol as stringInput,
|
|
3759
|
+
gt as translate,
|
|
3767
3760
|
k as translateWithDefault,
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3761
|
+
mn as useAlertModal,
|
|
3762
|
+
hn as useConfirmModal,
|
|
3763
|
+
Fn as useErrorReportModal,
|
|
3764
|
+
Cl as useEvent,
|
|
3765
|
+
dt as useForm,
|
|
3766
|
+
Pe as useInputAttrs,
|
|
3767
|
+
sa as useLoadingModal,
|
|
3768
|
+
pi as useModal,
|
|
3769
|
+
ca as usePromptModal,
|
|
3770
|
+
ir as validate,
|
|
3771
|
+
lr as validateType,
|
|
3779
3772
|
he as validators,
|
|
3780
|
-
|
|
3773
|
+
ut as variantClasses
|
|
3781
3774
|
};
|
|
3782
3775
|
//# sourceMappingURL=aerogel-core.js.map
|