@aerogel/core 0.1.1-next.bad775a386a94fedbee1d575ee1f4fb99d1f5bab → 0.1.1-next.c3c3c32e9b674ba4ae2d33973d4659e37c863c35
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 +3 -1
- package/dist/aerogel-core.js +133 -123
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AppLayout.vue +1 -1
- package/src/components/ui/Details.vue +16 -6
- package/src/components/ui/ProgressBar.vue +1 -1
- package/src/index.css +1 -0
package/dist/aerogel-core.js
CHANGED
|
@@ -8,7 +8,7 @@ import { createPinia as ds, setActivePinia as ps, defineStore as fs } from "pini
|
|
|
8
8
|
import ms from "dompurify";
|
|
9
9
|
import { marked as hs, Renderer as We } from "marked";
|
|
10
10
|
import { injectModal as ct, useModal as gs, createModal as vs, showModal as Ke, closeModal as Qe, modals as le, ModalComponent as bs, ModalsPortal as ys } from "@noeldemartin/vue-modals";
|
|
11
|
-
import { ModalComponent as
|
|
11
|
+
import { ModalComponent as ui, ModalsPortal as ci, closeModal as di, createModal as pi, injectModal as fi, modals as mi, showModal as hi } from "@noeldemartin/vue-modals";
|
|
12
12
|
import ws from "clsx";
|
|
13
13
|
import { cva as $s } from "class-variance-authority";
|
|
14
14
|
import { twMerge as _s } from "tailwind-merge";
|
|
@@ -191,7 +191,7 @@ let Se = (Ee = class extends lt {
|
|
|
191
191
|
return this._store ? this._store : W(`Failed getting '${this._name}' store`);
|
|
192
192
|
}
|
|
193
193
|
}, C(Ee, "persist", []), Ee);
|
|
194
|
-
const
|
|
194
|
+
const _l = {
|
|
195
195
|
Low: -256,
|
|
196
196
|
Default: 0,
|
|
197
197
|
High: 256
|
|
@@ -250,7 +250,7 @@ class er extends Se {
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
const F = re(er);
|
|
253
|
-
function
|
|
253
|
+
function Cl(t) {
|
|
254
254
|
return t;
|
|
255
255
|
}
|
|
256
256
|
const tr = xe({
|
|
@@ -313,7 +313,7 @@ class sr extends tr {
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
const R = re(sr);
|
|
316
|
-
function
|
|
316
|
+
function xl(t) {
|
|
317
317
|
return t;
|
|
318
318
|
}
|
|
319
319
|
async function rr(t, ...s) {
|
|
@@ -328,7 +328,7 @@ async function rr(t, ...s) {
|
|
|
328
328
|
function nr(t) {
|
|
329
329
|
return Object.entries(t.props ?? {}).reduce((s, [e, r]) => s + `${e}="${j(r)}"`, "");
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Sl(t) {
|
|
332
332
|
return t;
|
|
333
333
|
}
|
|
334
334
|
function ar(t) {
|
|
@@ -366,7 +366,7 @@ function ft(t, s) {
|
|
|
366
366
|
function T(...t) {
|
|
367
367
|
return _s(ws(t));
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function kl(t, s) {
|
|
370
370
|
const e = F.on(t, s);
|
|
371
371
|
$e(() => e());
|
|
372
372
|
}
|
|
@@ -393,7 +393,7 @@ function ur(t, s) {
|
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
const ge = { ...or };
|
|
396
|
-
function
|
|
396
|
+
function Tl(t, s) {
|
|
397
397
|
ge[t] = s;
|
|
398
398
|
}
|
|
399
399
|
function cr(t, s) {
|
|
@@ -404,7 +404,7 @@ function dr(t, s) {
|
|
|
404
404
|
const e = (r = ge[s]) == null ? void 0 : r.call(ge, t);
|
|
405
405
|
return e ? it(e) : [];
|
|
406
406
|
}
|
|
407
|
-
const
|
|
407
|
+
const Ml = Symbol(), Ze = /* @__PURE__ */ new WeakMap();
|
|
408
408
|
class pr extends lt {
|
|
409
409
|
constructor(e) {
|
|
410
410
|
super();
|
|
@@ -523,11 +523,11 @@ function Pe() {
|
|
|
523
523
|
const t = st(), s = c(() => t.class);
|
|
524
524
|
return [c(() => ss(t, "class")), s];
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function El(t) {
|
|
527
527
|
let s = rs;
|
|
528
528
|
rt(() => s = t()), $e(() => s());
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Hl(t, s) {
|
|
531
531
|
const e = ve(U.get(t) ?? s);
|
|
532
532
|
return Le(e, () => U.set(t, Ut(e))), e;
|
|
533
533
|
}
|
|
@@ -558,11 +558,11 @@ function fr(t) {
|
|
|
558
558
|
}
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function Vl(t) {
|
|
562
562
|
const s = N(), e = c(t);
|
|
563
563
|
return Le(e, async () => s.value = await e.value, { immediate: !0 }), s;
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function Ll(t, s) {
|
|
566
566
|
const e = s ? t : {}, r = s ?? t, n = N(e.initial ?? null), a = ns((u) => n.value = u, e.delay ?? 300);
|
|
567
567
|
return G(() => a(r())), n;
|
|
568
568
|
}
|
|
@@ -592,7 +592,7 @@ function gr(t) {
|
|
|
592
592
|
function vr() {
|
|
593
593
|
return oe;
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Il(t) {
|
|
596
596
|
oe = t;
|
|
597
597
|
}
|
|
598
598
|
function br(t) {
|
|
@@ -640,14 +640,14 @@ class Cr extends Se {
|
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
|
-
const
|
|
643
|
+
const zl = re(Cr);
|
|
644
644
|
class xr extends Se {
|
|
645
645
|
async purge() {
|
|
646
646
|
await F.emit("purge-storage");
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
const vt = re(xr);
|
|
650
|
-
function
|
|
650
|
+
function Rl(t, s) {
|
|
651
651
|
return {
|
|
652
652
|
...t,
|
|
653
653
|
...ae(s, Object.keys(t))
|
|
@@ -1772,7 +1772,7 @@ const Ar = V({ name: "zondicons-cheveron-down", render: Pr }), Et = /* @__PURE__
|
|
|
1772
1772
|
component: Gr
|
|
1773
1773
|
}
|
|
1774
1774
|
], Ht = [];
|
|
1775
|
-
function
|
|
1775
|
+
function ql(t) {
|
|
1776
1776
|
Ht.push(t);
|
|
1777
1777
|
}
|
|
1778
1778
|
function Vt(t) {
|
|
@@ -1973,7 +1973,7 @@ const un = V({ name: "zondicons-close", render: on }), cn = /* @__PURE__ */ g({
|
|
|
1973
1973
|
y("button", {
|
|
1974
1974
|
type: "button",
|
|
1975
1975
|
class: "clickable z-10 rounded-full p-2.5 text-gray-400 hover:text-gray-500",
|
|
1976
|
-
onClick: (
|
|
1976
|
+
onClick: (ol) => fe()
|
|
1977
1977
|
}, [
|
|
1978
1978
|
y("span", gn, x(M.$td("ui.close", "Close")), 1),
|
|
1979
1979
|
d(l(un), { class: "size-4" })
|
|
@@ -2461,7 +2461,7 @@ const sa = V({ name: "svg-spinners-90-ring-with-bg", render: ta }), ra = { class
|
|
|
2461
2461
|
setup(t) {
|
|
2462
2462
|
let s;
|
|
2463
2463
|
const e = N(0), r = c(() => T("size-full transition-transform duration-500 rounded-r-full ease-linear bg-primary-600", t.filledClass)), n = c(() => T(
|
|
2464
|
-
"absolute inset-y-0 right-0 size-full rounded-r-full
|
|
2464
|
+
"absolute inset-y-0 right-0 size-full rounded-r-full",
|
|
2465
2465
|
"bg-primary-900 transition-[width] duration-500 ease-linear",
|
|
2466
2466
|
t.overflowClass
|
|
2467
2467
|
)), a = c(() => typeof t.progress == "number" ? t.progress : e.value), u = c(() => a.value > 1 ? 100 * ((a.value - 1) / a.value) : null);
|
|
@@ -2721,21 +2721,21 @@ const ia = /* @__PURE__ */ g({
|
|
|
2721
2721
|
}, 16, ["label", "class"]));
|
|
2722
2722
|
}
|
|
2723
2723
|
});
|
|
2724
|
-
function
|
|
2724
|
+
function Pl(t, s = {}) {
|
|
2725
2725
|
return {
|
|
2726
2726
|
default: t,
|
|
2727
2727
|
type: "boolean",
|
|
2728
2728
|
rules: s.rules
|
|
2729
2729
|
};
|
|
2730
2730
|
}
|
|
2731
|
-
function
|
|
2731
|
+
function Al(t, s = {}) {
|
|
2732
2732
|
return {
|
|
2733
2733
|
default: t,
|
|
2734
2734
|
type: "date",
|
|
2735
2735
|
rules: s.rules
|
|
2736
2736
|
};
|
|
2737
2737
|
}
|
|
2738
|
-
function
|
|
2738
|
+
function Dl(t, s, e = {}) {
|
|
2739
2739
|
return {
|
|
2740
2740
|
default: s,
|
|
2741
2741
|
type: "enum",
|
|
@@ -2743,21 +2743,21 @@ function Bl(t, s, e = {}) {
|
|
|
2743
2743
|
values: t
|
|
2744
2744
|
};
|
|
2745
2745
|
}
|
|
2746
|
-
function
|
|
2746
|
+
function Bl(t) {
|
|
2747
2747
|
return {
|
|
2748
2748
|
default: t,
|
|
2749
2749
|
type: "boolean",
|
|
2750
2750
|
rules: "required"
|
|
2751
2751
|
};
|
|
2752
2752
|
}
|
|
2753
|
-
function
|
|
2753
|
+
function jl(t) {
|
|
2754
2754
|
return {
|
|
2755
2755
|
default: t,
|
|
2756
2756
|
type: "date",
|
|
2757
2757
|
rules: "required"
|
|
2758
2758
|
};
|
|
2759
2759
|
}
|
|
2760
|
-
function
|
|
2760
|
+
function Fl(t, s) {
|
|
2761
2761
|
return {
|
|
2762
2762
|
default: s,
|
|
2763
2763
|
type: "enum",
|
|
@@ -2765,14 +2765,14 @@ function Ol(t, s) {
|
|
|
2765
2765
|
values: t
|
|
2766
2766
|
};
|
|
2767
2767
|
}
|
|
2768
|
-
function
|
|
2768
|
+
function Ol(t) {
|
|
2769
2769
|
return {
|
|
2770
2770
|
default: t,
|
|
2771
2771
|
type: "number",
|
|
2772
2772
|
rules: "required"
|
|
2773
2773
|
};
|
|
2774
2774
|
}
|
|
2775
|
-
function
|
|
2775
|
+
function Ul(t) {
|
|
2776
2776
|
return {
|
|
2777
2777
|
default: t,
|
|
2778
2778
|
type: "object",
|
|
@@ -2786,21 +2786,21 @@ function fa(t) {
|
|
|
2786
2786
|
rules: "required"
|
|
2787
2787
|
};
|
|
2788
2788
|
}
|
|
2789
|
-
function
|
|
2789
|
+
function Nl(t, s = {}) {
|
|
2790
2790
|
return {
|
|
2791
2791
|
default: t,
|
|
2792
2792
|
type: "number",
|
|
2793
2793
|
rules: s.rules
|
|
2794
2794
|
};
|
|
2795
2795
|
}
|
|
2796
|
-
function
|
|
2796
|
+
function Wl(t, s = {}) {
|
|
2797
2797
|
return {
|
|
2798
2798
|
default: t,
|
|
2799
2799
|
type: "object",
|
|
2800
2800
|
rules: s.rules
|
|
2801
2801
|
};
|
|
2802
2802
|
}
|
|
2803
|
-
function
|
|
2803
|
+
function Kl(t, s = {}) {
|
|
2804
2804
|
return {
|
|
2805
2805
|
default: t,
|
|
2806
2806
|
type: "string",
|
|
@@ -3108,7 +3108,7 @@ async function Da(t, s = {}) {
|
|
|
3108
3108
|
const e = [an, _r, nn, Ur, kr, Aa, ...s.plugins ?? []];
|
|
3109
3109
|
R.instance = t, await rr(e, t, s), await ((r = s.install) == null ? void 0 : r.call(s, t)), await F.emit("application-ready");
|
|
3110
3110
|
}
|
|
3111
|
-
async function
|
|
3111
|
+
async function Ql(t, s = {}) {
|
|
3112
3112
|
var r;
|
|
3113
3113
|
const e = Jt(t);
|
|
3114
3114
|
Z() && (window.$aerogel = e), await Da(e, s), e.mount("#app"), (r = e._container) == null || r.classList.remove("loading"), await F.emit("application-mounted");
|
|
@@ -3135,7 +3135,7 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3135
3135
|
d(Ba)
|
|
3136
3136
|
], 64));
|
|
3137
3137
|
}
|
|
3138
|
-
}), Fa = { class: "flex min-h-full flex-col text-base leading-tight font-normal
|
|
3138
|
+
}), Fa = { class: "text-primary-text flex min-h-full flex-col text-base leading-tight font-normal antialiased" }, Jl = /* @__PURE__ */ g({
|
|
3139
3139
|
__name: "AppLayout",
|
|
3140
3140
|
setup(t) {
|
|
3141
3141
|
return (s, e) => (i(), b("div", Fa, [
|
|
@@ -3169,30 +3169,40 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3169
3169
|
onInput: a
|
|
3170
3170
|
}, null, 40, Oa));
|
|
3171
3171
|
}
|
|
3172
|
-
}), Na = { class: "group" }, Wa =
|
|
3172
|
+
}), Na = { class: "group" }, Wa = /* @__PURE__ */ g({
|
|
3173
3173
|
__name: "Details",
|
|
3174
3174
|
props: {
|
|
3175
|
-
label: {
|
|
3176
|
-
|
|
3175
|
+
label: { default: () => {
|
|
3176
|
+
} },
|
|
3177
|
+
contentClass: {},
|
|
3178
|
+
summaryClass: {}
|
|
3177
3179
|
},
|
|
3178
3180
|
setup(t) {
|
|
3179
|
-
const s = c(() => T("pt-2 pl-4", t.contentClass))
|
|
3180
|
-
|
|
3181
|
-
|
|
3181
|
+
const s = c(() => T("pt-2 pl-4", t.contentClass)), e = c(() => T(
|
|
3182
|
+
"-ml-2 flex w-[max-content] items-center rounded-lg py-2 pr-3 pl-1",
|
|
3183
|
+
"hover:bg-gray-100 focus-visible:outline focus-visible:outline-gray-700",
|
|
3184
|
+
t.summaryClass
|
|
3185
|
+
));
|
|
3186
|
+
return (r, n) => (i(), b("details", Na, [
|
|
3187
|
+
y("summary", {
|
|
3188
|
+
class: _(e.value)
|
|
3189
|
+
}, [
|
|
3182
3190
|
d(l(It), { class: "size-6 transition-transform group-open:rotate-90" }),
|
|
3183
|
-
|
|
3184
|
-
|
|
3191
|
+
$(r.$slots, "label", {}, () => [
|
|
3192
|
+
y("span", null, x(r.label ?? r.$td("ui.details", "Details")), 1)
|
|
3193
|
+
])
|
|
3194
|
+
], 2),
|
|
3185
3195
|
y("div", {
|
|
3186
3196
|
class: _(s.value)
|
|
3187
3197
|
}, [
|
|
3188
|
-
$(
|
|
3198
|
+
$(r.$slots, "default")
|
|
3189
3199
|
], 2)
|
|
3190
3200
|
]));
|
|
3191
3201
|
}
|
|
3192
|
-
}),
|
|
3202
|
+
}), Zl = /* @__PURE__ */ g({
|
|
3193
3203
|
__name: "AdvancedOptions",
|
|
3194
3204
|
setup(t) {
|
|
3195
|
-
return (s, e) => (i(), m(
|
|
3205
|
+
return (s, e) => (i(), m(Wa, {
|
|
3196
3206
|
label: s.$td("ui.advancedOptions", "Advanced options")
|
|
3197
3207
|
}, {
|
|
3198
3208
|
default: f(() => [
|
|
@@ -3201,7 +3211,7 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3201
3211
|
_: 3
|
|
3202
3212
|
}, 8, ["label"]));
|
|
3203
3213
|
}
|
|
3204
|
-
}),
|
|
3214
|
+
}), Ka = { class: "flex h-6 items-center" }, Xl = /* @__PURE__ */ g({
|
|
3205
3215
|
inheritAttrs: !1,
|
|
3206
3216
|
__name: "Checkbox",
|
|
3207
3217
|
props: {
|
|
@@ -3232,7 +3242,7 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3232
3242
|
"onUpdate:modelValue": v[0] || (v[0] = (w) => p.$emit("update:modelValue", w))
|
|
3233
3243
|
}), {
|
|
3234
3244
|
default: f(() => [
|
|
3235
|
-
y("div",
|
|
3245
|
+
y("div", Ka, [
|
|
3236
3246
|
d(zt, H(l(r), {
|
|
3237
3247
|
type: "checkbox",
|
|
3238
3248
|
class: u.value
|
|
@@ -3260,7 +3270,7 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3260
3270
|
_: 3
|
|
3261
3271
|
}, 16, ["class"]));
|
|
3262
3272
|
}
|
|
3263
|
-
}),
|
|
3273
|
+
}), Qa = /* @__PURE__ */ g({
|
|
3264
3274
|
__name: "DropdownMenuOption",
|
|
3265
3275
|
props: {
|
|
3266
3276
|
class: {},
|
|
@@ -3282,7 +3292,7 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3282
3292
|
_: 3
|
|
3283
3293
|
}, 16, ["class"]));
|
|
3284
3294
|
}
|
|
3285
|
-
}),
|
|
3295
|
+
}), Ja = /* @__PURE__ */ g({
|
|
3286
3296
|
__name: "DropdownMenuOptions",
|
|
3287
3297
|
setup(t) {
|
|
3288
3298
|
const s = q(
|
|
@@ -3296,7 +3306,7 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3296
3306
|
}, {
|
|
3297
3307
|
default: f(() => [
|
|
3298
3308
|
$(e.$slots, "default", {}, () => [
|
|
3299
|
-
(i(!0), b(D, null, O(l(s).options, (n, a) => (i(), m(
|
|
3309
|
+
(i(!0), b(D, null, O(l(s).options, (n, a) => (i(), m(Qa, H(
|
|
3300
3310
|
{
|
|
3301
3311
|
key: a,
|
|
3302
3312
|
as: n.route || n.href ? _t : void 0,
|
|
@@ -3326,7 +3336,7 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3326
3336
|
_: 3
|
|
3327
3337
|
}, 8, ["align", "side"]));
|
|
3328
3338
|
}
|
|
3329
|
-
}),
|
|
3339
|
+
}), Yl = /* @__PURE__ */ g({
|
|
3330
3340
|
__name: "DropdownMenu",
|
|
3331
3341
|
props: {
|
|
3332
3342
|
align: {},
|
|
@@ -3353,7 +3363,7 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3353
3363
|
d(l(Js), null, {
|
|
3354
3364
|
default: f(() => [
|
|
3355
3365
|
$(r.$slots, "options", {}, () => [
|
|
3356
|
-
d(
|
|
3366
|
+
d(Ja)
|
|
3357
3367
|
])
|
|
3358
3368
|
]),
|
|
3359
3369
|
_: 3
|
|
@@ -3362,7 +3372,7 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3362
3372
|
_: 3
|
|
3363
3373
|
}));
|
|
3364
3374
|
}
|
|
3365
|
-
}),
|
|
3375
|
+
}), Za = ["aria-hidden"], Xa = ["tabindex", "aria-label", "type"], Gl = /* @__PURE__ */ g({
|
|
3366
3376
|
__name: "EditableContent",
|
|
3367
3377
|
props: {
|
|
3368
3378
|
type: { default: "text" },
|
|
@@ -3419,39 +3429,39 @@ const Ba = /* @__PURE__ */ g({
|
|
|
3419
3429
|
onKeyup: k[1] || (k[1] = (P) => h.$emit("update", a.value)),
|
|
3420
3430
|
onFocus: k[2] || (k[2] = (P) => v()),
|
|
3421
3431
|
onBlur: k[3] || (k[3] = (P) => w())
|
|
3422
|
-
}, null, 42,
|
|
3432
|
+
}, null, 42, Xa), [
|
|
3423
3433
|
[Zt, a.value]
|
|
3424
3434
|
])
|
|
3425
|
-
], 40,
|
|
3435
|
+
], 40, Za)
|
|
3426
3436
|
], 2));
|
|
3427
3437
|
}
|
|
3428
|
-
}),
|
|
3438
|
+
}), Ya = {
|
|
3429
3439
|
viewBox: "0 0 512 512",
|
|
3430
3440
|
width: "1.2em",
|
|
3431
3441
|
height: "1.2em"
|
|
3432
3442
|
};
|
|
3433
|
-
function
|
|
3434
|
-
return i(), b("svg",
|
|
3443
|
+
function Ga(t, s) {
|
|
3444
|
+
return i(), b("svg", Ya, s[0] || (s[0] = [
|
|
3435
3445
|
y("path", {
|
|
3436
3446
|
fill: "currentColor",
|
|
3437
3447
|
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"
|
|
3438
3448
|
}, null, -1)
|
|
3439
3449
|
]));
|
|
3440
3450
|
}
|
|
3441
|
-
const
|
|
3451
|
+
const el = V({ name: "ion-warning", render: Ga }), tl = {
|
|
3442
3452
|
viewBox: "0 0 20 20",
|
|
3443
3453
|
width: "1.2em",
|
|
3444
3454
|
height: "1.2em"
|
|
3445
3455
|
};
|
|
3446
|
-
function
|
|
3447
|
-
return i(), b("svg",
|
|
3456
|
+
function sl(t, s) {
|
|
3457
|
+
return i(), b("svg", tl, s[0] || (s[0] = [
|
|
3448
3458
|
y("path", {
|
|
3449
3459
|
fill: "currentColor",
|
|
3450
3460
|
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"
|
|
3451
3461
|
}, null, -1)
|
|
3452
3462
|
]));
|
|
3453
3463
|
}
|
|
3454
|
-
const
|
|
3464
|
+
const rl = V({ name: "zondicons-view-show", render: sl }), nl = { class: "font-medium" }, al = ["datetime"], ll = /* @__PURE__ */ g({
|
|
3455
3465
|
__name: "ErrorLogsModal",
|
|
3456
3466
|
setup(t) {
|
|
3457
3467
|
return (s, e) => (i(), m(ne, {
|
|
@@ -3464,11 +3474,11 @@ const nl = V({ name: "zondicons-view-show", render: rl }), al = { class: "font-m
|
|
|
3464
3474
|
class: "mb-2 flex max-w-prose min-w-56 justify-between py-2 last:mb-0"
|
|
3465
3475
|
}, [
|
|
3466
3476
|
y("div", null, [
|
|
3467
|
-
y("h3",
|
|
3477
|
+
y("h3", nl, x(r.report.title), 1),
|
|
3468
3478
|
y("time", {
|
|
3469
3479
|
datetime: r.date.toISOString(),
|
|
3470
3480
|
class: "text-xs text-gray-700"
|
|
3471
|
-
}, x(r.date.toLocaleTimeString()), 9,
|
|
3481
|
+
}, x(r.date.toLocaleTimeString()), 9, al),
|
|
3472
3482
|
d(z, {
|
|
3473
3483
|
class: "text-sm text-gray-500",
|
|
3474
3484
|
text: r.report.description ?? l(Vt)(r.report)
|
|
@@ -3486,7 +3496,7 @@ const nl = V({ name: "zondicons-view-show", render: rl }), al = { class: "font-m
|
|
|
3486
3496
|
)
|
|
3487
3497
|
}, {
|
|
3488
3498
|
default: f(() => [
|
|
3489
|
-
d(l(
|
|
3499
|
+
d(l(rl), {
|
|
3490
3500
|
class: "size-4",
|
|
3491
3501
|
"aria-hidden": "true"
|
|
3492
3502
|
})
|
|
@@ -3499,7 +3509,7 @@ const nl = V({ name: "zondicons-view-show", render: rl }), al = { class: "font-m
|
|
|
3499
3509
|
_: 1
|
|
3500
3510
|
}, 8, ["title"]));
|
|
3501
3511
|
}
|
|
3502
|
-
}),
|
|
3512
|
+
}), ei = /* @__PURE__ */ g({
|
|
3503
3513
|
__name: "ErrorLogs",
|
|
3504
3514
|
setup(t) {
|
|
3505
3515
|
return (s, e) => s.$errors.logs.length > 0 ? (i(), m(I, {
|
|
@@ -3508,15 +3518,15 @@ const nl = V({ name: "zondicons-view-show", render: rl }), al = { class: "font-m
|
|
|
3508
3518
|
variant: "ghost",
|
|
3509
3519
|
title: s.$td("errors.viewLogs", "View error logs"),
|
|
3510
3520
|
"aria-label": s.$td("errors.viewLogs", "View error logs"),
|
|
3511
|
-
onClick: e[0] || (e[0] = (r) => s.$ui.modal(
|
|
3521
|
+
onClick: e[0] || (e[0] = (r) => s.$ui.modal(ll))
|
|
3512
3522
|
}, {
|
|
3513
3523
|
default: f(() => [
|
|
3514
|
-
d(l(
|
|
3524
|
+
d(l(el), { class: "size-6 text-red-500" })
|
|
3515
3525
|
]),
|
|
3516
3526
|
_: 1
|
|
3517
3527
|
}, 8, ["title", "aria-label"])) : E("", !0);
|
|
3518
3528
|
}
|
|
3519
|
-
}),
|
|
3529
|
+
}), ti = /* @__PURE__ */ g({
|
|
3520
3530
|
__name: "ErrorMessage",
|
|
3521
3531
|
props: {
|
|
3522
3532
|
error: {}
|
|
@@ -3528,7 +3538,7 @@ const nl = V({ name: "zondicons-view-show", render: rl }), al = { class: "font-m
|
|
|
3528
3538
|
inline: ""
|
|
3529
3539
|
}, null, 8, ["text"]));
|
|
3530
3540
|
}
|
|
3531
|
-
}),
|
|
3541
|
+
}), si = /* @__PURE__ */ g({
|
|
3532
3542
|
__name: "Link",
|
|
3533
3543
|
props: {
|
|
3534
3544
|
class: {},
|
|
@@ -3550,7 +3560,7 @@ const nl = V({ name: "zondicons-view-show", render: rl }), al = { class: "font-m
|
|
|
3550
3560
|
_: 3
|
|
3551
3561
|
}, 16));
|
|
3552
3562
|
}
|
|
3553
|
-
}),
|
|
3563
|
+
}), ri = /* @__PURE__ */ g({
|
|
3554
3564
|
__name: "SettingsModal",
|
|
3555
3565
|
setup(t) {
|
|
3556
3566
|
const s = c(() => is(R.settings, "priority", "desc"));
|
|
@@ -3564,10 +3574,10 @@ const nl = V({ name: "zondicons-view-show", render: rl }), al = { class: "font-m
|
|
|
3564
3574
|
_: 1
|
|
3565
3575
|
}, 8, ["title", "fullscreen-on-mobile"]));
|
|
3566
3576
|
}
|
|
3567
|
-
}),
|
|
3577
|
+
}), il = {
|
|
3568
3578
|
key: 0,
|
|
3569
3579
|
class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"
|
|
3570
|
-
},
|
|
3580
|
+
}, ni = /* @__PURE__ */ g({
|
|
3571
3581
|
inheritAttrs: !1,
|
|
3572
3582
|
__name: "TextArea",
|
|
3573
3583
|
props: {
|
|
@@ -3608,7 +3618,7 @@ const nl = V({ name: "zondicons-view-show", render: rl }), al = { class: "font-m
|
|
|
3608
3618
|
class: _(a.value)
|
|
3609
3619
|
}, [
|
|
3610
3620
|
d(Ua, H(l(r), { class: u.value }), null, 16, ["class"]),
|
|
3611
|
-
(v = e.value) != null && v.errors ? (i(), b("div",
|
|
3621
|
+
(v = e.value) != null && v.errors ? (i(), b("div", il, [
|
|
3612
3622
|
d(l(De), { class: "size-5 text-red-500" })
|
|
3613
3623
|
])) : E("", !0)
|
|
3614
3624
|
], 2),
|
|
@@ -3620,7 +3630,7 @@ const nl = V({ name: "zondicons-view-show", render: rl }), al = { class: "font-m
|
|
|
3620
3630
|
}, 16, ["label", "class"]));
|
|
3621
3631
|
}
|
|
3622
3632
|
});
|
|
3623
|
-
class
|
|
3633
|
+
class ai {
|
|
3624
3634
|
constructor() {
|
|
3625
3635
|
C(this, "status");
|
|
3626
3636
|
C(this, "_listeners");
|
|
@@ -3695,35 +3705,35 @@ class li {
|
|
|
3695
3705
|
return { ...s };
|
|
3696
3706
|
}
|
|
3697
3707
|
}
|
|
3698
|
-
async function
|
|
3708
|
+
async function li(t) {
|
|
3699
3709
|
await t.start();
|
|
3700
3710
|
}
|
|
3701
3711
|
export {
|
|
3702
|
-
|
|
3712
|
+
Zl as AdvancedOptions,
|
|
3703
3713
|
bn as AlertModal,
|
|
3704
3714
|
R as App,
|
|
3705
|
-
|
|
3715
|
+
Jl as AppLayout,
|
|
3706
3716
|
ja as AppOverlays,
|
|
3707
3717
|
sr as AppService,
|
|
3708
3718
|
Ba as AppToasts,
|
|
3709
3719
|
I as Button,
|
|
3710
|
-
|
|
3720
|
+
zl as Cache,
|
|
3711
3721
|
Cr as CacheService,
|
|
3712
|
-
|
|
3722
|
+
Xl as Checkbox,
|
|
3713
3723
|
Sn as ConfirmModal,
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3724
|
+
Wa as Details,
|
|
3725
|
+
Yl as DropdownMenu,
|
|
3726
|
+
Qa as DropdownMenuOption,
|
|
3727
|
+
Ja as DropdownMenuOptions,
|
|
3728
|
+
Gl as EditableContent,
|
|
3729
|
+
ei as ErrorLogs,
|
|
3730
|
+
ll as ErrorLogsModal,
|
|
3731
|
+
ti as ErrorMessage,
|
|
3722
3732
|
Gn as ErrorReportModal,
|
|
3723
3733
|
Un as ErrorReportModalButtons,
|
|
3724
3734
|
Nn as ErrorReportModalTitle,
|
|
3725
3735
|
$t as Errors,
|
|
3726
|
-
|
|
3736
|
+
_l as EventListenerPriorities,
|
|
3727
3737
|
F as Events,
|
|
3728
3738
|
er as EventsService,
|
|
3729
3739
|
Lt as Form,
|
|
@@ -3749,19 +3759,19 @@ export {
|
|
|
3749
3759
|
Xr as HeadlessSwitch,
|
|
3750
3760
|
Ra as HeadlessToast,
|
|
3751
3761
|
pa as Input,
|
|
3752
|
-
|
|
3762
|
+
ai as Job,
|
|
3753
3763
|
tt as JobCancelledError,
|
|
3754
3764
|
Xe as LOCAL_TIMEZONE_OFFSET,
|
|
3755
3765
|
X as Lang,
|
|
3756
3766
|
be as Layouts,
|
|
3757
|
-
|
|
3767
|
+
si as Link,
|
|
3758
3768
|
ia as LoadingModal,
|
|
3759
3769
|
yr as MINUTE_MILLISECONDS,
|
|
3760
3770
|
bt as MOBILE_BREAKPOINT,
|
|
3761
3771
|
z as Markdown,
|
|
3762
3772
|
ne as Modal,
|
|
3763
|
-
|
|
3764
|
-
|
|
3773
|
+
ui as ModalComponent,
|
|
3774
|
+
ci as ModalsPortal,
|
|
3765
3775
|
aa as ProgressBar,
|
|
3766
3776
|
ga as PromptModal,
|
|
3767
3777
|
Dr as Select,
|
|
@@ -3772,73 +3782,73 @@ export {
|
|
|
3772
3782
|
Se as Service,
|
|
3773
3783
|
Ve as ServiceBootError,
|
|
3774
3784
|
Jr as Setting,
|
|
3775
|
-
|
|
3785
|
+
ri as SettingsModal,
|
|
3776
3786
|
Ia as StartupCrash,
|
|
3777
3787
|
vt as Storage,
|
|
3778
3788
|
Yr as Switch,
|
|
3779
|
-
|
|
3789
|
+
ni as TextArea,
|
|
3780
3790
|
qa as Toast,
|
|
3781
3791
|
A as UI,
|
|
3782
3792
|
Mr as UIService,
|
|
3783
|
-
|
|
3793
|
+
Ml as __valueType,
|
|
3784
3794
|
$r as aerogelDirectives,
|
|
3785
3795
|
Zs as appNamespace,
|
|
3786
|
-
|
|
3796
|
+
Pl as booleanInput,
|
|
3787
3797
|
ke as bootServices,
|
|
3788
|
-
|
|
3798
|
+
Ql as bootstrap,
|
|
3789
3799
|
Da as bootstrapApplication,
|
|
3790
3800
|
T as classes,
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3801
|
+
di as closeModal,
|
|
3802
|
+
Vl as computedAsync,
|
|
3803
|
+
Ll as computedDebounce,
|
|
3804
|
+
pi as createModal,
|
|
3805
|
+
Al as dateInput,
|
|
3806
|
+
Sl as defineDirective,
|
|
3807
|
+
Tl as defineFormValidationRule,
|
|
3808
|
+
xl as definePlugin,
|
|
3799
3809
|
xe as defineServiceState,
|
|
3800
3810
|
Gs as defineServiceStore,
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3811
|
+
Cl as defineSettings,
|
|
3812
|
+
li as dispatch,
|
|
3813
|
+
Dl as enumInput,
|
|
3804
3814
|
yt as getCurrentLayout,
|
|
3805
3815
|
Vt as getErrorMessage,
|
|
3806
3816
|
vr as getMarkdownRouter,
|
|
3807
3817
|
Ys as getPiniaStore,
|
|
3808
3818
|
zr as hasSelectOptionLabel,
|
|
3809
|
-
|
|
3819
|
+
fi as injectModal,
|
|
3810
3820
|
lr as injectOrFail,
|
|
3811
3821
|
ar as injectReactive,
|
|
3812
3822
|
q as injectReactiveOrFail,
|
|
3813
3823
|
rr as installPlugins,
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3824
|
+
mi as modals,
|
|
3825
|
+
Nl as numberInput,
|
|
3826
|
+
Wl as objectInput,
|
|
3827
|
+
El as onCleanMounted,
|
|
3818
3828
|
mt as onFormFocus,
|
|
3819
|
-
|
|
3829
|
+
Hl as persistent,
|
|
3820
3830
|
fr as reactiveSet,
|
|
3821
|
-
|
|
3831
|
+
ql as registerErrorHandler,
|
|
3822
3832
|
br as renderMarkdown,
|
|
3823
3833
|
pt as renderVNode,
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3834
|
+
Rl as replaceExisting,
|
|
3835
|
+
Bl as requiredBooleanInput,
|
|
3836
|
+
jl as requiredDateInput,
|
|
3837
|
+
Fl as requiredEnumInput,
|
|
3838
|
+
Ol as requiredNumberInput,
|
|
3839
|
+
Ul as requiredObjectInput,
|
|
3830
3840
|
fa as requiredStringInput,
|
|
3831
3841
|
Xs as resetPiniaStore,
|
|
3832
3842
|
gt as safeHtml,
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3843
|
+
Il as setMarkdownRouter,
|
|
3844
|
+
hi as showModal,
|
|
3845
|
+
Kl as stringInput,
|
|
3836
3846
|
wt as translate,
|
|
3837
3847
|
S as translateWithDefault,
|
|
3838
3848
|
vn as useAlertModal,
|
|
3839
3849
|
yn as useConfirmModal,
|
|
3840
3850
|
Wn as useErrorReportModal,
|
|
3841
|
-
|
|
3851
|
+
kl as useEvent,
|
|
3842
3852
|
ht as useForm,
|
|
3843
3853
|
Pe as useInputAttrs,
|
|
3844
3854
|
la as useLoadingModal,
|