@aerogel/core 0.1.1-next.3efa6858f5942a7048392e08e88f511c6c5ca343 → 0.1.1-next.47ee6e5e3485291a8763a804016f87a051476893

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.
@@ -1,19 +1,19 @@
1
1
  var At = Object.defineProperty;
2
- var Pt = (t, s, e) => s in t ? At(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
3
- var _ = (t, s, e) => Pt(t, typeof s != "symbol" ? s + "" : s, e);
4
- import { markRaw as V, Comment as Dt, Text as Bt, Static as jt, inject as Y, reactive as ve, unref as l, onUnmounted as $e, ref as N, computed as c, readonly as _e, nextTick as Ft, useAttrs as tt, onMounted as st, watch as Le, toRaw as Ut, customRef as Ot, watchEffect as G, defineComponent as h, createBlock as f, openBlock as o, mergeProps as H, withCtx as m, renderSlot as $, createPropsRestProxy as K, createVNode as d, normalizeProps as ce, guardReactiveProps as de, createTextVNode as L, toDisplayString as x, normalizeClass as C, createElementBlock as y, Fragment as D, renderList as U, provide as pe, resolveDynamicComponent as ee, useSlots as Ie, createCommentVNode as M, createElementVNode as b, h as Nt, useTemplateRef as te, withModifiers as rt, withDirectives as nt, vModelCheckbox as Wt, normalizeStyle as Kt, resolveComponent as Qt, createApp as Jt, vModelText as Zt } from "vue";
5
- import { JSError as xe, stringToSlug as Xt, tap as se, MagicObject as at, PromisedValue as J, Storage as O, objectOnly as ae, arrayFrom as lt, isEmpty as Te, objectDeepClone as Yt, fail as W, facade as re, arrayRemove as He, getEnv as Gt, updateLocationQueryParameters as es, forever as ts, toString as j, objectWithout as ss, noop as rs, debounce as ns, stringMatchAll as ot, isDevelopment as Z, isTesting as ze, after as oe, uuid as ue, isObject as he, objectWithoutEmpty as it, value as as, isInstanceOf as Oe, stringExcerpt as ls, arraySorted as os, ListenersManager as is, toError as us, round as cs } from "@noeldemartin/utils";
2
+ var Dt = (t, s, e) => s in t ? At(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
3
+ var C = (t, s, e) => Dt(t, typeof s != "symbol" ? s + "" : s, e);
4
+ import { markRaw as V, Comment as Bt, Text as jt, Static as Ft, inject as Y, reactive as ve, unref as l, onUnmounted as $e, ref as N, computed as c, readonly as _e, nextTick as Ot, useAttrs as st, onMounted as rt, watch as Le, toRaw as Ut, customRef as Nt, watchEffect as G, defineComponent as g, createBlock as m, openBlock as i, mergeProps as H, withCtx as f, renderSlot as $, createPropsRestProxy as K, createVNode as d, normalizeProps as ce, guardReactiveProps as de, createTextVNode as L, toDisplayString as x, normalizeClass as _, createElementBlock as b, Fragment as D, renderList as O, provide as pe, resolveDynamicComponent as ee, useSlots as Ie, createCommentVNode as E, createElementVNode as y, h as Wt, useTemplateRef as te, withModifiers as nt, withDirectives as at, vModelCheckbox as Kt, normalizeStyle as Ue, resolveComponent as Qt, createApp as Jt, vModelText as Zt } from "vue";
5
+ import { JSError as Ce, stringToSlug as Xt, tap as se, MagicObject as lt, PromisedValue as J, Storage as U, objectOnly as ae, arrayFrom as it, isEmpty as Te, objectDeepClone as Yt, fail as W, facade as re, arrayRemove as He, getEnv as Gt, updateLocationQueryParameters as es, forever as ts, toString as j, objectWithout as ss, noop as rs, debounce as ns, stringMatchAll as ot, isDevelopment as Z, isTesting as ze, after as ie, uuid as ue, isObject as he, objectWithoutEmpty as ut, value as as, isInstanceOf as Ne, stringExcerpt as ls, arraySorted as is, ListenersManager as os, toError as us, round as cs } from "@noeldemartin/utils";
6
6
  import B from "virtual:aerogel";
7
- import { createPinia as ds, setActivePinia as ps, defineStore as ms } from "pinia";
8
- import fs from "dompurify";
9
- import { marked as hs, Renderer as Ne } from "marked";
10
- import { injectModal as ut, useModal as gs, createModal as vs, showModal as We, closeModal as Ke, modals as le, ModalComponent as bs, ModalsPortal as ys } from "@noeldemartin/vue-modals";
11
- import { ModalComponent as po, ModalsPortal as mo, closeModal as fo, createModal as ho, injectModal as go, modals as vo, showModal as bo } from "@noeldemartin/vue-modals";
7
+ import { createPinia as ds, setActivePinia as ps, defineStore as fs } from "pinia";
8
+ import ms from "dompurify";
9
+ import { marked as hs, Renderer as We } from "marked";
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 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";
15
- import { Primitive as xs, SelectValue as Qe, SelectTrigger as Cs, SelectIcon as Ss, SelectItem as ks, SelectItemText as Ts, SelectPortal as Ms, SelectContent as Es, SelectViewport as Hs, SelectRoot as Vs, Label as Ls, useForwardExpose as Re, SwitchRoot as Is, SwitchThumb as zs, DialogRoot as Rs, DialogPortal as qs, DialogContent as As, DialogDescription as Ps, DialogOverlay as Ds, DialogTitle as Bs, ToastClose as js, ToastRoot as Fs, ToastProvider as Us, ToastViewport as Os, DropdownMenuItem as Ns, DropdownMenuContent as Ws, DropdownMenuRoot as Ks, DropdownMenuTrigger as Qs, DropdownMenuPortal as Js } from "reka-ui";
16
- class Ve extends xe {
15
+ import { Primitive as Cs, SelectValue as Je, SelectTrigger as xs, SelectIcon as Ss, SelectItem as ks, SelectItemText as Ts, SelectPortal as Ms, SelectContent as Es, SelectViewport as Hs, SelectRoot as Vs, Label as Ls, useForwardExpose as Re, SwitchRoot as Is, SwitchThumb as zs, DialogRoot as Rs, DialogPortal as qs, DialogContent as Ps, DialogDescription as As, DialogOverlay as Ds, DialogTitle as Bs, ToastClose as js, ToastRoot as Fs, ToastProvider as Os, ToastViewport as Us, DropdownMenuItem as Ns, DropdownMenuContent as Ws, DropdownMenuRoot as Ks, DropdownMenuTrigger as Qs, DropdownMenuPortal as Js } from "reka-ui";
16
+ class Ve extends Ce {
17
17
  constructor(s, e) {
18
18
  super(`Service '${s}' failed booting`, { cause: e });
19
19
  }
@@ -22,7 +22,7 @@ function Zs() {
22
22
  return B.namespace ?? Xt(B.name);
23
23
  }
24
24
  let qe = null;
25
- function ct() {
25
+ function dt() {
26
26
  return qe ?? Xs();
27
27
  }
28
28
  function Xs() {
@@ -31,12 +31,12 @@ function Xs() {
31
31
  });
32
32
  }
33
33
  function Ys() {
34
- return qe ?? ct();
34
+ return qe ?? dt();
35
35
  }
36
36
  function Gs(t, s) {
37
- return ct(), ms(t, s)();
37
+ return dt(), fs(t, s)();
38
38
  }
39
- function Ce(t) {
39
+ function xe(t) {
40
40
  var s;
41
41
  return s = class extends Se {
42
42
  usesStore() {
@@ -72,17 +72,17 @@ To fix this problem, declare your initialState as a function instead.`
72
72
  var r;
73
73
  return ((r = t.restore) == null ? void 0 : r.call(t, e)) ?? e;
74
74
  }
75
- }, _(s, "persist", t.persist ?? []), s;
75
+ }, C(s, "persist", t.persist ?? []), s;
76
76
  }
77
77
  var Ee;
78
- let Se = (Ee = class extends at {
78
+ let Se = (Ee = class extends lt {
79
79
  constructor() {
80
80
  super();
81
- _(this, "_name");
82
- _(this, "_booted");
83
- _(this, "_computedStateKeys");
84
- _(this, "_watchers");
85
- _(this, "_store");
81
+ C(this, "_name");
82
+ C(this, "_booted");
83
+ C(this, "_computedStateKeys");
84
+ C(this, "_watchers");
85
+ C(this, "_store");
86
86
  const e = this.getComputedStateDefinition();
87
87
  this._name = this.getName() ?? new.target.name, this._booted = new J(), this._computedStateKeys = new Set(Object.keys(e)), this._watchers = this.getStateWatchers(), this._store = this.usesStore() && Gs(this._name, {
88
88
  state: () => this.getInitialState(),
@@ -106,7 +106,7 @@ let Se = (Ee = class extends at {
106
106
  return this._booted;
107
107
  }
108
108
  hasPersistedState() {
109
- return O.has(this.storageKey);
109
+ return U.has(this.storageKey);
110
110
  }
111
111
  hasState(e) {
112
112
  return this._store ? e in this._store.$state || this._computedStateKeys.has(e) : !1;
@@ -124,7 +124,7 @@ let Se = (Ee = class extends at {
124
124
  updatePersistedState(e) {
125
125
  if (!this._store)
126
126
  return;
127
- const r = lt(e), n = ae(this._store.$state, r);
127
+ const r = it(e), n = ae(this._store.$state, r);
128
128
  Te(n) || this.onPersistentStateUpdated(n);
129
129
  }
130
130
  __get(e) {
@@ -145,8 +145,8 @@ let Se = (Ee = class extends at {
145
145
  }
146
146
  }
147
147
  onPersistentStateUpdated(e) {
148
- const r = O.get(this.storageKey);
149
- r && O.set(this.storageKey, {
148
+ const r = U.get(this.storageKey);
149
+ r && U.set(this.storageKey, {
150
150
  ...r,
151
151
  ...this.serializePersistedState(Yt(e))
152
152
  });
@@ -179,19 +179,19 @@ let Se = (Ee = class extends at {
179
179
  }
180
180
  restorePersistedState() {
181
181
  if (!(!this.usesStore() || Te(this.static("persist")))) {
182
- if (O.has(this.storageKey)) {
183
- const e = O.require(this.storageKey);
182
+ if (U.has(this.storageKey)) {
183
+ const e = U.require(this.storageKey);
184
184
  this.setState(this.deserializePersistedState(e));
185
185
  return;
186
186
  }
187
- O.set(this.storageKey, ae(this.getState(), this.static("persist")));
187
+ U.set(this.storageKey, ae(this.getState(), this.static("persist")));
188
188
  }
189
189
  }
190
190
  requireStore() {
191
191
  return this._store ? this._store : W(`Failed getting '${this._name}' store`);
192
192
  }
193
- }, _(Ee, "persist", []), Ee);
194
- const Cl = {
193
+ }, C(Ee, "persist", []), Ee);
194
+ const _l = {
195
195
  Low: -256,
196
196
  Default: 0,
197
197
  High: 256
@@ -199,7 +199,7 @@ const Cl = {
199
199
  class er extends Se {
200
200
  constructor() {
201
201
  super(...arguments);
202
- _(this, "listeners", {});
202
+ C(this, "listeners", {});
203
203
  }
204
204
  async boot() {
205
205
  Object.entries(globalThis.__aerogelEvents__ ?? {}).forEach(([e, r]) => (
@@ -211,7 +211,7 @@ class er extends Se {
211
211
  var a;
212
212
  const n = this.listeners[e] ?? { priorities: [], handlers: {} };
213
213
  for (const u of n.priorities)
214
- await Promise.all(((a = n.handlers[u]) == null ? void 0 : a.map((i) => i(r))) ?? []);
214
+ await Promise.all(((a = n.handlers[u]) == null ? void 0 : a.map((o) => o(r))) ?? []);
215
215
  }
216
216
  // prettier-ignore
217
217
  /* eslint-enable max-len */
@@ -223,11 +223,11 @@ class er extends Se {
223
223
  /* eslint-enable max-len */
224
224
  once(e, r, n) {
225
225
  let a = null;
226
- const u = typeof r == "function" ? {} : r, i = typeof r == "function" ? r : n;
226
+ const u = typeof r == "function" ? {} : r, o = typeof r == "function" ? r : n;
227
227
  return se(
228
228
  () => a && this.off(e, a),
229
229
  (p) => {
230
- a = (...g) => (p(), i(...g)), this.registerListener(e, u, i);
230
+ a = (...v) => (p(), o(...v)), this.registerListener(e, u, o);
231
231
  }
232
232
  );
233
233
  }
@@ -237,23 +237,23 @@ class er extends Se {
237
237
  if (!n)
238
238
  return;
239
239
  const a = [...n.priorities];
240
- for (const i of a)
241
- He(n.handlers[i] ?? [], r), ((u = n.handlers[i]) == null ? void 0 : u.length) === 0 && (delete n.handlers[i], He(n.priorities, i));
240
+ for (const o of a)
241
+ He(n.handlers[o] ?? [], r), ((u = n.handlers[o]) == null ? void 0 : u.length) === 0 && (delete n.handlers[o], He(n.priorities, o));
242
242
  n.priorities.length === 0 && delete this.listeners[e];
243
243
  }
244
244
  registerListener(e, r, n) {
245
- var p, g, w;
245
+ var p, v, w;
246
246
  const a = r.priority ?? 0;
247
247
  e in this.listeners || (this.listeners[e] = { priorities: [], handlers: {} });
248
- const u = ((p = this.listeners[e]) == null ? void 0 : p.priorities) ?? W(`priorities missing for event '${e}'`), i = ((g = this.listeners[e]) == null ? void 0 : g.handlers) ?? W(`handlers missing for event '${e}'`);
249
- u.includes(a) || (u.push(a), u.sort((v, k) => k - v), i[a] = []), (w = i[a]) == null || w.push(n);
248
+ const u = ((p = this.listeners[e]) == null ? void 0 : p.priorities) ?? W(`priorities missing for event '${e}'`), o = ((v = this.listeners[e]) == null ? void 0 : v.handlers) ?? W(`handlers missing for event '${e}'`);
249
+ u.includes(a) || (u.push(a), u.sort((h, k) => k - h), o[a] = []), (w = o[a]) == null || w.push(n);
250
250
  }
251
251
  }
252
252
  const F = re(er);
253
- function Sl(t) {
253
+ function Cl(t) {
254
254
  return t;
255
255
  }
256
- const tr = Ce({
256
+ const tr = xe({
257
257
  name: "app",
258
258
  initialState: {
259
259
  plugins: {},
@@ -261,7 +261,8 @@ const tr = Ce({
261
261
  environment: Gt() ?? "development",
262
262
  version: B.version,
263
263
  sourceUrl: B.sourceUrl,
264
- settings: []
264
+ settings: [],
265
+ settingsFullscreenOnMobile: !1
265
266
  },
266
267
  computed: {
267
268
  development: (t) => t.environment === "development",
@@ -278,9 +279,9 @@ const tr = Ce({
278
279
  class sr extends tr {
279
280
  constructor() {
280
281
  super(...arguments);
281
- _(this, "name", B.name);
282
- _(this, "ready", new J());
283
- _(this, "mounted", new J());
282
+ C(this, "name", B.name);
283
+ C(this, "ready", new J());
284
+ C(this, "mounted", new J());
284
285
  }
285
286
  isReady() {
286
287
  return this.ready.isResolved();
@@ -291,6 +292,9 @@ class sr extends tr {
291
292
  addSetting(e) {
292
293
  this.settings.push(V(e));
293
294
  }
295
+ setSettingsFullscreenOnMobile(e) {
296
+ this.settingsFullscreenOnMobile = e;
297
+ }
294
298
  async whenReady(e) {
295
299
  return await this.ready.then(e);
296
300
  }
@@ -308,12 +312,12 @@ class sr extends tr {
308
312
  F.once("application-ready", () => this.ready.resolve()), F.once("application-mounted", () => this.mounted.resolve());
309
313
  }
310
314
  }
311
- const P = re(sr);
312
- function kl(t) {
315
+ const R = re(sr);
316
+ function xl(t) {
313
317
  return t;
314
318
  }
315
319
  async function rr(t, ...s) {
316
- P.setState(
320
+ R.setState(
317
321
  "plugins",
318
322
  t.reduce(
319
323
  (e, r) => (r.name && (e[r.name] = r), e),
@@ -324,25 +328,25 @@ async function rr(t, ...s) {
324
328
  function nr(t) {
325
329
  return Object.entries(t.props ?? {}).reduce((s, [e, r]) => s + `${e}="${j(r)}"`, "");
326
330
  }
327
- function Tl(t) {
331
+ function Sl(t) {
328
332
  return t;
329
333
  }
330
334
  function ar(t) {
331
335
  const s = Y(t);
332
336
  return s ? ve(s) : void 0;
333
337
  }
334
- function R(t, s) {
338
+ function q(t, s) {
335
339
  return ar(t) ?? W(s ?? `Could not resolve '${j(t)}' injection key`);
336
340
  }
337
341
  function lr(t, s) {
338
342
  return Y(t) ?? W(s ?? `Could not resolve '${j(t)}' injection key`);
339
343
  }
340
- function dt(t) {
341
- return typeof t == "string" ? t : t.type === Dt ? "" : t.type === Bt || t.type === jt ? t.children : t.type === "br" ? `
344
+ function pt(t) {
345
+ return typeof t == "string" ? t : t.type === Bt ? "" : t.type === jt || t.type === Ft ? t.children : t.type === "br" ? `
342
346
 
343
- ` : `<${t.type} ${nr(t)}>${Array.from(t.children).map(dt).join("")}</${t.type}>`;
347
+ ` : `<${t.type} ${nr(t)}>${Array.from(t.children).map(pt).join("")}</${t.type}>`;
344
348
  }
345
- const Me = /* @__PURE__ */ new WeakMap(), or = {
349
+ const Me = /* @__PURE__ */ new WeakMap(), ir = {
346
350
  mounted(t, { value: s, modifiers: e }) {
347
351
  const r = typeof s == "function" ? s : null, n = () => {
348
352
  const a = t.getBoundingClientRect();
@@ -355,18 +359,18 @@ const Me = /* @__PURE__ */ new WeakMap(), or = {
355
359
  (s = Me.get(t)) == null || s.unobserve(t), Me.delete(t);
356
360
  }
357
361
  };
358
- function pt(t, s) {
362
+ function ft(t, s) {
359
363
  const { baseClasses: e, ...r } = t, { baseClasses: n, ...a } = s, u = $s(n, a);
360
- return E(u(r), l(e));
364
+ return T(u(r), l(e));
361
365
  }
362
- function E(...t) {
366
+ function T(...t) {
363
367
  return _s(ws(t));
364
368
  }
365
- function Ml(t, s) {
369
+ function kl(t, s) {
366
370
  const e = F.on(t, s);
367
371
  $e(() => e());
368
372
  }
369
- const ir = {
373
+ const or = {
370
374
  required: (t) => t ? void 0 : "required"
371
375
  };
372
376
  function ur(t, s) {
@@ -388,8 +392,8 @@ function ur(t, s) {
388
392
  return typeof t == "object";
389
393
  }
390
394
  }
391
- const ge = { ...ir };
392
- function El(t, s) {
395
+ const ge = { ...or };
396
+ function Tl(t, s) {
393
397
  ge[t] = s;
394
398
  }
395
399
  function cr(t, s) {
@@ -398,26 +402,26 @@ function cr(t, s) {
398
402
  function dr(t, s) {
399
403
  var r;
400
404
  const e = (r = ge[s]) == null ? void 0 : r.call(ge, t);
401
- return e ? lt(e) : [];
405
+ return e ? it(e) : [];
402
406
  }
403
- const Hl = Symbol(), Je = /* @__PURE__ */ new WeakMap();
404
- class pr extends at {
407
+ const Ml = Symbol(), Ze = /* @__PURE__ */ new WeakMap();
408
+ class pr extends lt {
405
409
  constructor(e) {
406
410
  super();
407
- _(this, "errors");
408
- _(this, "_fields");
409
- _(this, "_data");
410
- _(this, "_submitted");
411
- _(this, "_errors");
412
- _(this, "_listeners", {});
413
- this._fields = e, this._submitted = N(!1), this._data = this.getInitialData(e), this._errors = this.getInitialErrors(e), Je.set(
411
+ C(this, "errors");
412
+ C(this, "_fields");
413
+ C(this, "_data");
414
+ C(this, "_submitted");
415
+ C(this, "_errors");
416
+ C(this, "_listeners", {});
417
+ this._fields = e, this._submitted = N(!1), this._data = this.getInitialData(e), this._errors = this.getInitialErrors(e), Ze.set(
414
418
  this,
415
419
  c(() => !Object.values(this._errors).some((r) => r !== null))
416
420
  ), this.errors = _e(this._errors);
417
421
  }
418
422
  get valid() {
419
423
  var e;
420
- return !!((e = Je.get(this)) != null && e.value);
424
+ return !!((e = Ze.get(this)) != null && e.value);
421
425
  }
422
426
  get submitted() {
423
427
  return this._submitted.value;
@@ -468,7 +472,7 @@ class pr extends at {
468
472
  }
469
473
  async focus(e) {
470
474
  var r;
471
- await Ft(), (r = this._listeners.focus) == null || r.forEach((n) => n(e));
475
+ await Ot(), (r = this._listeners.focus) == null || r.forEach((n) => n(e));
472
476
  }
473
477
  __get(e) {
474
478
  return e in this._fields ? this.getFieldValue(e) : super.__get(e);
@@ -481,8 +485,8 @@ class pr extends at {
481
485
  this.setFieldValue(e, r);
482
486
  }
483
487
  getFieldErrors(e, r) {
484
- var i;
485
- const n = [], a = this._data[e], u = ((i = r.rules) == null ? void 0 : i.split("|")) ?? [];
488
+ var o;
489
+ const n = [], a = this._data[e], u = ((o = r.rules) == null ? void 0 : o.split("|")) ?? [];
486
490
  n.push(...cr(a, r));
487
491
  for (const p of u)
488
492
  p !== "required" && a == null || n.push(...dr(a, p));
@@ -512,24 +516,24 @@ function mt(t, s) {
512
516
  const e = Y("form", null), r = e == null ? void 0 : e.on("focus", (n) => t.name === n && s());
513
517
  $e(() => r == null ? void 0 : r());
514
518
  }
515
- function ft(t) {
519
+ function ht(t) {
516
520
  return new pr(t);
517
521
  }
518
- function Ae() {
519
- const t = tt(), s = c(() => t.class);
522
+ function Pe() {
523
+ const t = st(), s = c(() => t.class);
520
524
  return [c(() => ss(t, "class")), s];
521
525
  }
522
- function Vl(t) {
526
+ function El(t) {
523
527
  let s = rs;
524
- st(() => s = t()), $e(() => s());
528
+ rt(() => s = t()), $e(() => s());
525
529
  }
526
- function Ll(t, s) {
527
- const e = ve(O.get(t) ?? s);
528
- return Le(e, () => O.set(t, Ut(e))), e;
530
+ function Hl(t, s) {
531
+ const e = ve(U.get(t) ?? s);
532
+ return Le(e, () => U.set(t, Ut(e))), e;
529
533
  }
530
- function mr(t) {
534
+ function fr(t) {
531
535
  let s = new Set(t), e, r;
532
- const n = Ot((a, u) => (r = a, e = u, {
536
+ const n = Nt((a, u) => (r = a, e = u, {
533
537
  get: () => s,
534
538
  set: () => W("Attempted to write read-only reactive set")
535
539
  }));
@@ -554,19 +558,19 @@ function mr(t) {
554
558
  }
555
559
  };
556
560
  }
557
- function Il(t) {
561
+ function Vl(t) {
558
562
  const s = N(), e = c(t);
559
563
  return Le(e, async () => s.value = await e.value, { immediate: !0 }), s;
560
564
  }
561
- function zl(t, s) {
565
+ function Ll(t, s) {
562
566
  const e = s ? t : {}, r = s ?? t, n = N(e.initial ?? null), a = ns((u) => n.value = u, e.delay ?? 300);
563
567
  return G(() => a(r())), n;
564
568
  }
565
- let ie = null;
566
- function fr() {
567
- return se(new Ne(), (t) => {
569
+ let oe = null;
570
+ function mr() {
571
+ return se(new We(), (t) => {
568
572
  t.link = function(s) {
569
- const e = Ne.prototype.link.apply(this, [s]);
573
+ const e = We.prototype.link.apply(this, [s]);
570
574
  return s.href.startsWith("#") ? e : e.replace("<a", '<a target="_blank"');
571
575
  };
572
576
  });
@@ -580,30 +584,30 @@ function hr(t) {
580
584
  function gr(t) {
581
585
  const s = ot(t, /<a[^>]*href="#route:([^"]+)"[^>]*>([^<]+)<\/a>/g);
582
586
  for (const [e, r, n] of s) {
583
- const a = (ie == null ? void 0 : ie.resolve(r)) ?? r;
587
+ const a = (oe == null ? void 0 : oe.resolve(r)) ?? r;
584
588
  t = t.replace(e, `<a data-markdown-route="${r}" href="${a}">${n}</a>`);
585
589
  }
586
590
  return t;
587
591
  }
588
592
  function vr() {
589
- return ie;
593
+ return oe;
590
594
  }
591
- function Rl(t) {
592
- ie = t;
595
+ function Il(t) {
596
+ oe = t;
593
597
  }
594
598
  function br(t) {
595
- let s = hs(t, { renderer: fr(), async: !1 });
596
- return s = ht(s), s = hr(s), s = gr(s), s;
599
+ let s = hs(t, { renderer: mr(), async: !1 });
600
+ return s = gt(s), s = hr(s), s = gr(s), s;
597
601
  }
598
- function ht(t) {
599
- return fs.sanitize(t, { ADD_ATTR: ["target"] });
602
+ function gt(t) {
603
+ return ms.sanitize(t, { ADD_ATTR: ["target"] });
600
604
  }
601
- const yr = 6e4, Ze = -(/* @__PURE__ */ new Date()).getTimezoneOffset() * -yr, wr = {
605
+ const yr = 6e4, Xe = -(/* @__PURE__ */ new Date()).getTimezoneOffset() * -yr, wr = {
602
606
  mounted(t, { value: s }) {
603
- t.innerHTML = ht(s);
607
+ t.innerHTML = gt(s);
604
608
  }
605
609
  }, $r = {
606
- measure: or,
610
+ measure: ir,
607
611
  "safe-html": wr
608
612
  }, _r = {
609
613
  install(t, s) {
@@ -615,10 +619,10 @@ const yr = 6e4, Ze = -(/* @__PURE__ */ new Date()).getTimezoneOffset() * -yr, wr
615
619
  t.directive(r, n);
616
620
  }
617
621
  };
618
- class xr extends Se {
622
+ class Cr extends Se {
619
623
  constructor() {
620
624
  super(...arguments);
621
- _(this, "cache");
625
+ C(this, "cache");
622
626
  }
623
627
  async get(e) {
624
628
  return await (await this.open()).match(e) ?? null;
@@ -636,23 +640,23 @@ class xr extends Se {
636
640
  });
637
641
  }
638
642
  }
639
- const ql = re(xr);
640
- class Cr extends Se {
643
+ const zl = re(Cr);
644
+ class xr extends Se {
641
645
  async purge() {
642
646
  await F.emit("purge-storage");
643
647
  }
644
648
  }
645
- const gt = re(Cr);
646
- function Al(t, s) {
649
+ const vt = re(xr);
650
+ function Rl(t, s) {
647
651
  return {
648
652
  ...t,
649
653
  ...ae(s, Object.keys(t))
650
654
  };
651
655
  }
652
656
  const Sr = {
653
- $app: P,
657
+ $app: R,
654
658
  $events: F,
655
- $storage: gt
659
+ $storage: vt
656
660
  };
657
661
  async function ke(t, s) {
658
662
  await Promise.all(
@@ -671,30 +675,30 @@ const kr = {
671
675
  ...Sr,
672
676
  ...s.services
673
677
  };
674
- t.use(Ys()), (r = s.settings) == null || r.forEach((n) => P.addSetting(n)), await ke(t, e);
678
+ t.use(Ys()), (r = s.settings) == null || r.forEach((n) => R.addSetting(n)), s.settingsFullscreenOnMobile !== void 0 && R.setSettingsFullscreenOnMobile(s.settingsFullscreenOnMobile), await ke(t, e);
675
679
  }
676
- }, Xe = /* @__PURE__ */ new WeakSet();
677
- function Pe() {
678
- const t = ut(), { close: s, remove: e, ...r } = gs(Xe.has(t) ? {} : { removeOnClose: !1 });
679
- return Xe.add(t), {
680
+ }, Ye = /* @__PURE__ */ new WeakSet();
681
+ function Ae() {
682
+ const t = ct(), { close: s, remove: e, ...r } = gs(Ye.has(t) ? {} : { removeOnClose: !1 });
683
+ return Ye.add(t), {
680
684
  ...r,
681
685
  async close(n) {
682
- s(n), await oe(1e3), e();
686
+ s(n), await ie(1e3), e();
683
687
  }
684
688
  };
685
689
  }
686
- const vt = 768, be = {
690
+ const bt = 768, be = {
687
691
  Mobile: "mobile",
688
692
  Desktop: "desktop"
689
693
  };
690
- function bt() {
691
- return globalThis.innerWidth > vt ? be.Desktop : be.Mobile;
694
+ function yt() {
695
+ return globalThis.innerWidth > bt ? be.Desktop : be.Mobile;
692
696
  }
693
- const Tr = Ce({
697
+ const Tr = xe({
694
698
  name: "ui",
695
699
  initialState: {
696
700
  toasts: [],
697
- layout: bt()
701
+ layout: yt()
698
702
  },
699
703
  computed: {
700
704
  desktop: ({ layout: t }) => t === be.Desktop,
@@ -704,7 +708,7 @@ const Tr = Ce({
704
708
  class Mr extends Tr {
705
709
  constructor() {
706
710
  super(...arguments);
707
- _(this, "components", {});
711
+ C(this, "components", {});
708
712
  }
709
713
  registerComponent(e, r) {
710
714
  this.components[e] = r;
@@ -734,17 +738,17 @@ class Mr extends Tr {
734
738
  title: e,
735
739
  message: r,
736
740
  required: !!(n != null && n.required)
737
- }, { response: i } = await this.modal(this.requireComponent("confirm-modal"), u), p = typeof i == "object" ? i[0] : i ?? !1, g = typeof i == "object" ? i[1] : Object.entries(u.checkboxes ?? {}).reduce(
738
- (w, [v, { default: k }]) => ({
739
- [v]: k ?? !1,
741
+ }, { response: o } = await this.modal(this.requireComponent("confirm-modal"), u), p = typeof o == "object" ? o[0] : o ?? !1, v = typeof o == "object" ? o[1] : Object.entries(u.checkboxes ?? {}).reduce(
742
+ (w, [h, { default: k }]) => ({
743
+ [h]: k ?? !1,
740
744
  ...w
741
745
  }),
742
746
  {}
743
747
  );
744
- for (const [w, v] of Object.entries(u.checkboxes ?? {}))
745
- if (!(!v.required || g[w]))
746
- return p && Z() && console.warn(`Confirmed confirm modal was suppressed because required '${w}' checkbox was missing`), [!1, g];
747
- return "checkboxes" in u ? [p, g] : p;
748
+ for (const [w, h] of Object.entries(u.checkboxes ?? {}))
749
+ if (!(!h.required || v[w]))
750
+ return p && Z() && console.warn(`Confirmed confirm modal was suppressed because required '${w}' checkbox was missing`), [!1, v];
751
+ return "checkboxes" in u ? [p, v] : p;
748
752
  }
749
753
  async prompt(e, r, n) {
750
754
  const a = (n == null ? void 0 : n.trim) ?? !0, u = () => typeof r != "string" ? {
@@ -754,11 +758,11 @@ class Mr extends Tr {
754
758
  title: e,
755
759
  message: r,
756
760
  ...n ?? {}
757
- }, { response: i } = await this.modal(this.requireComponent("prompt-modal"), u());
758
- return (a && typeof i == "string" ? i == null ? void 0 : i.trim() : i) ?? null;
761
+ }, { response: o } = await this.modal(this.requireComponent("prompt-modal"), u());
762
+ return (a && typeof o == "string" ? o == null ? void 0 : o.trim() : o) ?? null;
759
763
  }
760
764
  async loading(e, r) {
761
- const n = (v) => typeof v == "function" ? Promise.resolve(v()) : v, a = () => {
765
+ const n = (h) => typeof h == "function" ? Promise.resolve(h()) : h, a = () => {
762
766
  if (typeof e == "string")
763
767
  return {
764
768
  props: { message: e },
@@ -766,24 +770,24 @@ class Mr extends Tr {
766
770
  };
767
771
  if (typeof e == "function" || e instanceof Promise)
768
772
  return { operationPromise: n(e) };
769
- const { delay: v, ...k } = e;
773
+ const { delay: h, ...k } = e;
770
774
  return {
771
775
  props: k,
772
- delay: l(v),
776
+ delay: l(h),
773
777
  operationPromise: n(r)
774
778
  };
775
779
  };
776
780
  let u = !1;
777
- const { operationPromise: i, props: p, delay: g } = a();
778
- if (g && await Promise.race([oe({ ms: g }).then(() => u = !0), i]), g && !u)
779
- return i;
781
+ const { operationPromise: o, props: p, delay: v } = a();
782
+ if (v && await Promise.race([ie({ ms: v }).then(() => u = !0), o]), v && !u)
783
+ return o;
780
784
  const w = vs(this.requireComponent("loading-modal"), p);
781
- We(w);
785
+ Ke(w);
782
786
  try {
783
- const v = await i;
784
- return await oe({ ms: 500 }), v;
787
+ const h = await o;
788
+ return await ie({ ms: 500 }), h;
785
789
  } finally {
786
- await Ke(w.id, { removeAfter: 1e3 });
790
+ await Qe(w.id, { removeAfter: 1e3 });
787
791
  }
788
792
  }
789
793
  toast(e, r = {}) {
@@ -795,10 +799,10 @@ class Mr extends Tr {
795
799
  this.setState("toasts", this.toasts.concat(u));
796
800
  }
797
801
  modal(e, r) {
798
- return We(e, r ?? {});
802
+ return Ke(e, r ?? {});
799
803
  }
800
804
  async closeAllModals() {
801
- await Promise.all(le.value.map(({ id: e }) => Ke(e, { removeAfter: 1e3 })));
805
+ await Promise.all(le.value.map(({ id: e }) => Qe(e, { removeAfter: 1e3 })));
802
806
  }
803
807
  async boot() {
804
808
  this.watchMountedEvent(), this.watchViewportBreakpoints();
@@ -808,13 +812,13 @@ class Mr extends Tr {
808
812
  if (!globalThis.document || !globalThis.getComputedStyle)
809
813
  return;
810
814
  const e = globalThis.document.getElementById("splash");
811
- e && (globalThis.getComputedStyle(e).opacity !== "0" && (e.style.opacity = "0", await oe({ ms: 600 })), e.remove());
815
+ e && (globalThis.getComputedStyle(e).opacity !== "0" && (e.style.opacity = "0", await ie({ ms: 600 })), e.remove());
812
816
  });
813
817
  }
814
818
  watchViewportBreakpoints() {
815
819
  if (!globalThis.matchMedia)
816
820
  return;
817
- globalThis.matchMedia(`(min-width: ${vt}px)`).addEventListener("change", () => this.setState({ layout: bt() }));
821
+ globalThis.matchMedia(`(min-width: ${bt}px)`).addEventListener("change", () => this.setState({ layout: yt() }));
818
822
  }
819
823
  }
820
824
  const A = re(Mr);
@@ -844,7 +848,7 @@ class Er {
844
848
  return Z() && console.warn("Lang provider is missing"), e;
845
849
  }
846
850
  }
847
- const Hr = Ce({
851
+ const Hr = xe({
848
852
  name: "lang",
849
853
  persist: ["locale", "fallbackLocale"],
850
854
  initialState: {
@@ -856,7 +860,7 @@ const Hr = Ce({
856
860
  class Vr extends Hr {
857
861
  constructor() {
858
862
  super();
859
- _(this, "provider");
863
+ C(this, "provider");
860
864
  this.provider = new Er(
861
865
  this.getState("locale") ?? this.getBrowserLocale(),
862
866
  this.getState("fallbackLocale")
@@ -885,7 +889,7 @@ class Vr extends Hr {
885
889
  );
886
890
  }
887
891
  }
888
- const X = re(Vr), yt = X.translate.bind(X), S = X.translateWithDefault.bind(X), Lr = Ce({
892
+ const X = re(Vr), wt = X.translate.bind(X), S = X.translateWithDefault.bind(X), Lr = xe({
889
893
  name: "errors",
890
894
  initialState: {
891
895
  logs: [],
@@ -901,9 +905,10 @@ const X = re(Vr), yt = X.translate.bind(X), S = X.translateWithDefault.bind(X),
901
905
  class Ir extends Lr {
902
906
  constructor() {
903
907
  super(...arguments);
904
- _(this, "forceReporting", !1);
905
- _(this, "enabled", !0);
906
- _(this, "eruda", null);
908
+ C(this, "forceReporting", !1);
909
+ C(this, "enabled", !0);
910
+ C(this, "eruda", null);
911
+ C(this, "erudaPlugins", null);
907
912
  }
908
913
  enable() {
909
914
  this.enabled = !0;
@@ -922,7 +927,7 @@ class Ir extends Lr {
922
927
  async report(e, r) {
923
928
  if (await F.emit("error", { error: e, message: r }), ze("unit") || (Z() && this.logError(e), !this.enabled))
924
929
  throw e;
925
- if (!P.isMounted()) {
930
+ if (!R.isMounted()) {
926
931
  const u = await this.createStartupErrorReport(e);
927
932
  u && this.setState({ startupErrors: this.startupErrors.concat(u) });
928
933
  return;
@@ -964,7 +969,10 @@ class Ir extends Lr {
964
969
  (e = this.eruda) == null || e.destroy();
965
970
  return;
966
971
  }
967
- this.eruda ?? (this.eruda = (await import("eruda")).default), this.eruda.init();
972
+ this.eruda ?? (this.eruda = (await import("eruda")).default), this.erudaPlugins ?? (this.erudaPlugins = [(await import("eruda-indexeddb")).default]), this.eruda.init(), this.erudaPlugins.forEach((r) => {
973
+ var n;
974
+ return (n = this.eruda) == null ? void 0 : n.add(r);
975
+ });
968
976
  });
969
977
  }
970
978
  logError(e) {
@@ -974,7 +982,7 @@ class Ir extends Lr {
974
982
  return he(e) && "title" in e;
975
983
  }
976
984
  async createErrorReport(e) {
977
- return typeof e == "string" ? { title: e } : e instanceof Error || e instanceof xe ? this.createErrorReportFromError(e) : he(e) ? it({
985
+ return typeof e == "string" ? { title: e } : e instanceof Error || e instanceof Ce ? this.createErrorReportFromError(e) : he(e) ? ut({
978
986
  title: j(
979
987
  e.name ?? e.title ?? S("errors.unknown", "Unknown Error")
980
988
  ),
@@ -1000,7 +1008,7 @@ class Ir extends Lr {
1000
1008
  };
1001
1009
  }
1002
1010
  }
1003
- const wt = re(Ir), $t = /* @__PURE__ */ h({
1011
+ const $t = re(Ir), _t = /* @__PURE__ */ g({
1004
1012
  __name: "HeadlessButton",
1005
1013
  props: {
1006
1014
  class: {},
@@ -1018,7 +1026,7 @@ const wt = re(Ir), $t = /* @__PURE__ */ h({
1018
1026
  setup(t) {
1019
1027
  const s = c(() => t.as ? { as: t.as } : t.route ? {
1020
1028
  as: A.resolveComponent("router-link") ?? "a",
1021
- to: it({
1029
+ to: ut({
1022
1030
  name: t.route,
1023
1031
  params: t.routeParams,
1024
1032
  query: t.routeQuery
@@ -1031,18 +1039,18 @@ const wt = re(Ir), $t = /* @__PURE__ */ h({
1031
1039
  as: "button",
1032
1040
  type: t.submit ? "submit" : "button"
1033
1041
  });
1034
- return (e, r) => (o(), f(l(xs), H({
1042
+ return (e, r) => (i(), m(l(Cs), H({
1035
1043
  class: t.class,
1036
1044
  "as-child": e.asChild,
1037
1045
  disabled: e.disabled
1038
1046
  }, s.value), {
1039
- default: m(() => [
1047
+ default: f(() => [
1040
1048
  $(e.$slots, "default")
1041
1049
  ]),
1042
1050
  _: 3
1043
1051
  }, 16, ["class", "as-child", "disabled"]));
1044
1052
  }
1045
- }), I = /* @__PURE__ */ h({
1053
+ }), I = /* @__PURE__ */ g({
1046
1054
  __name: "Button",
1047
1055
  props: {
1048
1056
  class: {},
@@ -1058,7 +1066,7 @@ const wt = re(Ir), $t = /* @__PURE__ */ h({
1058
1066
  as: {}
1059
1067
  },
1060
1068
  setup(t) {
1061
- const s = K(t, ["class", "size", "variant", "disabled"]), e = c(() => pt(
1069
+ const s = K(t, ["class", "size", "variant", "disabled"]), e = c(() => ft(
1062
1070
  { baseClasses: t.class, variant: t.variant, size: t.size, disabled: t.disabled },
1063
1071
  {
1064
1072
  baseClasses: "focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",
@@ -1154,11 +1162,11 @@ const wt = re(Ir), $t = /* @__PURE__ */ h({
1154
1162
  }
1155
1163
  }
1156
1164
  ));
1157
- return (r, n) => (o(), f($t, H({
1165
+ return (r, n) => (i(), m(_t, H({
1158
1166
  class: e.value,
1159
1167
  disabled: r.disabled
1160
1168
  }, s), {
1161
- default: m(() => [
1169
+ default: f(() => [
1162
1170
  $(r.$slots, "default")
1163
1171
  ]),
1164
1172
  _: 3
@@ -1168,39 +1176,39 @@ const wt = re(Ir), $t = /* @__PURE__ */ h({
1168
1176
  function zr(t) {
1169
1177
  return typeof t == "object" && t !== null && "label" in t;
1170
1178
  }
1171
- const _t = /* @__PURE__ */ h({
1179
+ const Ct = /* @__PURE__ */ g({
1172
1180
  __name: "HeadlessSelectValue",
1173
1181
  setup(t) {
1174
- const s = R(
1182
+ const s = q(
1175
1183
  "select",
1176
1184
  "<HeadlessSelectValue> must be a child of a <HeadlessSelect>"
1177
1185
  );
1178
- return (e, r) => e.$slots.default ? (o(), f(l(Qe), {
1186
+ return (e, r) => e.$slots.default ? (i(), m(l(Je), {
1179
1187
  key: 0,
1180
1188
  placeholder: l(s).placeholder
1181
1189
  }, {
1182
- default: m(() => [
1190
+ default: f(() => [
1183
1191
  $(e.$slots, "default")
1184
1192
  ]),
1185
1193
  _: 3
1186
- }, 8, ["placeholder"])) : (o(), f(l(Qe), {
1194
+ }, 8, ["placeholder"])) : (i(), m(l(Je), {
1187
1195
  key: 1,
1188
1196
  placeholder: l(s).placeholder
1189
1197
  }, null, 8, ["placeholder"]));
1190
1198
  }
1191
- }), xt = /* @__PURE__ */ h({
1199
+ }), xt = /* @__PURE__ */ g({
1192
1200
  __name: "HeadlessSelectTrigger",
1193
1201
  setup(t) {
1194
- const s = R(
1202
+ const s = q(
1195
1203
  "select",
1196
1204
  "<HeadlessSelectTrigger> must be a child of a <HeadlessSelect>"
1197
1205
  );
1198
- return (e, r) => (o(), f(l(Cs), {
1206
+ return (e, r) => (i(), m(l(xs), {
1199
1207
  id: l(s).id
1200
1208
  }, {
1201
- default: m(() => [
1209
+ default: f(() => [
1202
1210
  $(e.$slots, "default", {}, () => [
1203
- d(_t, {
1211
+ d(Ct, {
1204
1212
  placeholder: l(s).placeholder
1205
1213
  }, null, 8, ["placeholder"]),
1206
1214
  d(l(Ss))
@@ -1209,7 +1217,7 @@ const _t = /* @__PURE__ */ h({
1209
1217
  _: 3
1210
1218
  }, 8, ["id"]));
1211
1219
  }
1212
- }), Ct = /* @__PURE__ */ h({
1220
+ }), St = /* @__PURE__ */ g({
1213
1221
  __name: "HeadlessSelectOption",
1214
1222
  props: {
1215
1223
  value: {},
@@ -1219,7 +1227,7 @@ const _t = /* @__PURE__ */ h({
1219
1227
  as: {}
1220
1228
  },
1221
1229
  setup(t) {
1222
- const s = R(
1230
+ const s = q(
1223
1231
  "select",
1224
1232
  "<HeadlessSelectOption> must be a child of a <HeadlessSelect>"
1225
1233
  ), e = c(() => {
@@ -1227,10 +1235,10 @@ const _t = /* @__PURE__ */ h({
1227
1235
  const r = (n = s.options) == null ? void 0 : n.find((a) => a.value === t.value);
1228
1236
  return r ? r.label : j(t.value);
1229
1237
  });
1230
- return (r, n) => (o(), f(l(ks), ce(de(r.$props)), {
1231
- default: m(() => [
1238
+ return (r, n) => (i(), m(l(ks), ce(de(r.$props)), {
1239
+ default: f(() => [
1232
1240
  d(l(Ts), null, {
1233
- default: m(() => [
1241
+ default: f(() => [
1234
1242
  $(r.$slots, "default", {}, () => [
1235
1243
  L(x(e.value), 1)
1236
1244
  ])
@@ -1241,33 +1249,33 @@ const _t = /* @__PURE__ */ h({
1241
1249
  _: 3
1242
1250
  }, 16));
1243
1251
  }
1244
- }), St = /* @__PURE__ */ h({
1252
+ }), kt = /* @__PURE__ */ g({
1245
1253
  __name: "HeadlessSelectOptions",
1246
1254
  props: {
1247
1255
  class: {},
1248
1256
  innerClass: {}
1249
1257
  },
1250
1258
  setup(t) {
1251
- const s = R(
1259
+ const s = q(
1252
1260
  "select",
1253
1261
  "<HeadlessSelectOptions> must be a child of a <HeadlessSelect>"
1254
- ), e = c(() => E("min-w-(--reka-select-trigger-width) max-h-(--reka-select-content-available-height)", t.class));
1255
- return (r, n) => (o(), f(l(Ms), null, {
1256
- default: m(() => [
1262
+ ), e = c(() => T("min-w-(--reka-select-trigger-width) max-h-(--reka-select-content-available-height)", t.class));
1263
+ return (r, n) => (i(), m(l(Ms), null, {
1264
+ default: f(() => [
1257
1265
  d(l(Es), {
1258
1266
  position: "popper",
1259
- class: C(e.value),
1267
+ class: _(e.value),
1260
1268
  align: l(s).align,
1261
1269
  side: l(s).side,
1262
1270
  "side-offset": 4
1263
1271
  }, {
1264
- default: m(() => [
1272
+ default: f(() => [
1265
1273
  d(l(Hs), {
1266
- class: C(r.innerClass)
1274
+ class: _(r.innerClass)
1267
1275
  }, {
1268
- default: m(() => [
1276
+ default: f(() => [
1269
1277
  $(r.$slots, "default", {}, () => [
1270
- (o(!0), y(D, null, U(l(s).options ?? [], (a) => (o(), f(Ct, {
1278
+ (i(!0), b(D, null, O(l(s).options ?? [], (a) => (i(), m(St, {
1271
1279
  key: a.key,
1272
1280
  value: a.value
1273
1281
  }, null, 8, ["value"]))), 128))
@@ -1282,7 +1290,7 @@ const _t = /* @__PURE__ */ h({
1282
1290
  _: 3
1283
1291
  }));
1284
1292
  }
1285
- }), Rr = /* @__PURE__ */ h({
1293
+ }), Rr = /* @__PURE__ */ g({
1286
1294
  inheritAttrs: !1,
1287
1295
  __name: "HeadlessSelect",
1288
1296
  props: {
@@ -1302,11 +1310,11 @@ const _t = /* @__PURE__ */ h({
1302
1310
  },
1303
1311
  emits: ["update:modelValue"],
1304
1312
  setup(t, { expose: s, emit: e }) {
1305
- const r = e, n = Y("form", null), a = c(() => n && t.name ? n.getFieldValue(t.name) : t.modelValue), u = c(() => a.value), i = c(() => !n || !t.name ? null : n.errors[t.name] ?? null), p = c(() => t.options ? t.options.map((v) => ({
1313
+ const r = e, n = Y("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((h) => ({
1306
1314
  key: ue(),
1307
- label: t.renderOption ? t.renderOption(v) : zr(v) ? as(v.label) : j(v),
1308
- value: v
1309
- })) : null), g = {
1315
+ label: t.renderOption ? t.renderOption(h) : zr(h) ? as(h.label) : j(h),
1316
+ value: h
1317
+ })) : null), v = {
1310
1318
  labelClass: t.labelClass,
1311
1319
  optionsClass: t.optionsClass,
1312
1320
  align: t.align,
@@ -1319,39 +1327,39 @@ const _t = /* @__PURE__ */ h({
1319
1327
  placeholder: c(() => t.placeholder ?? S("ui.select", "Select an option")),
1320
1328
  options: p,
1321
1329
  selectedOption: c(() => {
1322
- var v;
1323
- return (v = p.value) == null ? void 0 : v.find((k) => k.value === t.modelValue);
1330
+ var h;
1331
+ return (h = p.value) == null ? void 0 : h.find((k) => k.value === t.modelValue);
1324
1332
  }),
1325
- errors: _e(i),
1333
+ errors: _e(o),
1326
1334
  required: c(() => {
1327
1335
  if (!(!t.name || !n))
1328
1336
  return n.getFieldRules(t.name).includes("required");
1329
1337
  }),
1330
- update(v) {
1338
+ update(h) {
1331
1339
  if (n && t.name) {
1332
- n.setFieldValue(t.name, v);
1340
+ n.setFieldValue(t.name, h);
1333
1341
  return;
1334
1342
  }
1335
- r("update:modelValue", v);
1343
+ r("update:modelValue", h);
1336
1344
  }
1337
1345
  };
1338
- function w(v) {
1339
- g.update(v);
1346
+ function w(h) {
1347
+ v.update(h);
1340
1348
  }
1341
- return pe("select", g), s(g), (v, k) => (o(), f(l(Vs), {
1349
+ return pe("select", v), s(v), (h, k) => (i(), m(l(Vs), {
1342
1350
  "model-value": u.value,
1343
- by: v.compareOptions,
1344
- "onUpdate:modelValue": k[0] || (k[0] = (q) => w(q))
1351
+ by: h.compareOptions,
1352
+ "onUpdate:modelValue": k[0] || (k[0] = (P) => w(P))
1345
1353
  }, {
1346
- default: m(({ open: q }) => [
1347
- (o(), f(ee(v.as), ce(de(v.$attrs)), {
1348
- default: m(() => [
1349
- $(v.$slots, "default", {
1350
- modelValue: v.modelValue,
1351
- open: q
1354
+ default: f(({ open: P }) => [
1355
+ (i(), m(ee(h.as), ce(de(h.$attrs)), {
1356
+ default: f(() => [
1357
+ $(h.$slots, "default", {
1358
+ modelValue: h.modelValue,
1359
+ open: P
1352
1360
  }, () => [
1353
1361
  d(xt),
1354
- d(St)
1362
+ d(kt)
1355
1363
  ])
1356
1364
  ]),
1357
1365
  _: 2
@@ -1360,50 +1368,50 @@ const _t = /* @__PURE__ */ h({
1360
1368
  _: 3
1361
1369
  }, 8, ["model-value", "by"]));
1362
1370
  }
1363
- }), Ye = /* @__PURE__ */ h({
1371
+ }), Ge = /* @__PURE__ */ g({
1364
1372
  __name: "HeadlessSelectLabel",
1365
1373
  props: {
1366
1374
  asChild: { type: Boolean },
1367
1375
  as: {}
1368
1376
  },
1369
1377
  setup(t) {
1370
- const s = R(
1378
+ const s = q(
1371
1379
  "select",
1372
1380
  "<HeadlessSelectLabel> must be a child of a <HeadlessSelect>"
1373
1381
  ), e = Ie(), r = c(() => !!(s.label || e.default));
1374
- return (n, a) => r.value ? (o(), f(l(Ls), H({
1382
+ return (n, a) => r.value ? (i(), m(l(Ls), H({
1375
1383
  key: 0,
1376
1384
  for: l(s).id
1377
1385
  }, n.$props), {
1378
- default: m(() => [
1386
+ default: f(() => [
1379
1387
  $(n.$slots, "default", {}, () => [
1380
1388
  L(x(l(s).label), 1)
1381
1389
  ])
1382
1390
  ]),
1383
1391
  _: 3
1384
- }, 16, ["for"])) : M("", !0);
1392
+ }, 16, ["for"])) : E("", !0);
1385
1393
  }
1386
- }), kt = /* @__PURE__ */ h({
1394
+ }), Tt = /* @__PURE__ */ g({
1387
1395
  __name: "SelectLabel",
1388
1396
  props: {
1389
1397
  class: {}
1390
1398
  },
1391
1399
  setup(t) {
1392
- const s = R("select", "<SelectLabel> must be a child of a <Select>"), e = c(() => E("block text-sm leading-6 font-medium text-gray-900", s.labelClass, t.class));
1393
- return (r, n) => r.$slots.default ? (o(), f(Ye, {
1400
+ const s = q("select", "<SelectLabel> must be a child of a <Select>"), e = c(() => T("block text-sm leading-6 font-medium text-gray-900", s.labelClass, t.class));
1401
+ return (r, n) => r.$slots.default ? (i(), m(Ge, {
1394
1402
  key: 0,
1395
- class: C(e.value)
1403
+ class: _(e.value)
1396
1404
  }, {
1397
- default: m(() => [
1405
+ default: f(() => [
1398
1406
  $(r.$slots, "default")
1399
1407
  ]),
1400
1408
  _: 3
1401
- }, 8, ["class"])) : (o(), f(Ye, {
1409
+ }, 8, ["class"])) : (i(), m(Ge, {
1402
1410
  key: 1,
1403
- class: C(e.value)
1411
+ class: _(e.value)
1404
1412
  }, null, 8, ["class"]));
1405
1413
  }
1406
- }), Ge = /* @__PURE__ */ h({
1414
+ }), et = /* @__PURE__ */ g({
1407
1415
  __name: "SelectOption",
1408
1416
  props: {
1409
1417
  value: {},
@@ -1411,18 +1419,18 @@ const _t = /* @__PURE__ */ h({
1411
1419
  innerClass: {}
1412
1420
  },
1413
1421
  setup(t) {
1414
- const s = c(() => E("group p-1 outline-none", t.class)), e = c(() => E(
1422
+ const s = c(() => T("group p-1 outline-none", t.class)), e = c(() => T(
1415
1423
  // eslint-disable-next-line vue/max-len
1416
1424
  "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",
1417
1425
  t.innerClass
1418
1426
  ));
1419
- return (r, n) => (o(), f(Ct, {
1420
- class: C(s.value),
1427
+ return (r, n) => (i(), m(St, {
1428
+ class: _(s.value),
1421
1429
  value: r.value
1422
1430
  }, {
1423
- default: m(() => [
1424
- b("div", {
1425
- class: C(e.value)
1431
+ default: f(() => [
1432
+ y("div", {
1433
+ class: _(e.value)
1426
1434
  }, [
1427
1435
  $(r.$slots, "default")
1428
1436
  ], 2)
@@ -1430,42 +1438,42 @@ const _t = /* @__PURE__ */ h({
1430
1438
  _: 3
1431
1439
  }, 8, ["class", "value"]));
1432
1440
  }
1433
- }), Tt = /* @__PURE__ */ h({
1441
+ }), Mt = /* @__PURE__ */ g({
1434
1442
  __name: "SelectOptions",
1435
1443
  props: {
1436
1444
  class: {}
1437
1445
  },
1438
1446
  setup(t) {
1439
- const s = R("select", "<SelectOptions> must be a child of a <Select>"), e = c(() => E(
1447
+ const s = q("select", "<SelectOptions> must be a child of a <Select>"), e = c(() => T(
1440
1448
  "z-50 overflow-auto rounded-lg bg-white text-base shadow-lg ring-1 ring-black/5 focus:outline-hidden",
1441
1449
  s.optionsClass,
1442
1450
  t.class
1443
1451
  ));
1444
- return (r, n) => (o(), f(St, {
1445
- class: C(e.value)
1452
+ return (r, n) => (i(), m(kt, {
1453
+ class: _(e.value)
1446
1454
  }, {
1447
- default: m(() => {
1455
+ default: f(() => {
1448
1456
  var a;
1449
1457
  return [
1450
1458
  (a = l(s).options) != null && a.length ? $(r.$slots, "default", { key: 0 }, () => {
1451
1459
  var u;
1452
1460
  return [
1453
- (o(!0), y(D, null, U(((u = l(s)) == null ? void 0 : u.options) ?? [], (i) => (o(), f(Ge, {
1454
- key: i.key,
1455
- value: i.value
1461
+ (i(!0), b(D, null, O(((u = l(s)) == null ? void 0 : u.options) ?? [], (o) => (i(), m(et, {
1462
+ key: o.key,
1463
+ value: o.value
1456
1464
  }, {
1457
- default: m(() => [
1458
- L(x(i.label), 1)
1465
+ default: f(() => [
1466
+ L(x(o.label), 1)
1459
1467
  ]),
1460
1468
  _: 2
1461
1469
  }, 1032, ["value"]))), 128))
1462
1470
  ];
1463
1471
  }) : $(r.$slots, "default", { key: 1 }, () => [
1464
- d(Ge, {
1472
+ d(et, {
1465
1473
  disabled: "",
1466
1474
  value: null
1467
1475
  }, {
1468
- default: m(() => [
1476
+ default: f(() => [
1469
1477
  L(x(r.$td("ui.selectEmpty", "No options available")), 1)
1470
1478
  ]),
1471
1479
  _: 1
@@ -1481,37 +1489,37 @@ const _t = /* @__PURE__ */ h({
1481
1489
  width: "1.2em",
1482
1490
  height: "1.2em"
1483
1491
  };
1484
- function Ar(t, s) {
1485
- return o(), y("svg", qr, s[0] || (s[0] = [
1486
- b("path", {
1492
+ function Pr(t, s) {
1493
+ return i(), b("svg", qr, s[0] || (s[0] = [
1494
+ y("path", {
1487
1495
  fill: "currentColor",
1488
1496
  d: "m9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828L5.757 6.586L4.343 8z"
1489
1497
  }, null, -1)
1490
1498
  ]));
1491
1499
  }
1492
- const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__ */ h({
1500
+ const Ar = V({ name: "zondicons-cheveron-down", render: Pr }), Et = /* @__PURE__ */ g({
1493
1501
  __name: "SelectTrigger",
1494
1502
  props: {
1495
1503
  class: {}
1496
1504
  },
1497
1505
  setup(t) {
1498
- const s = R("select", "<SelectTrigger> must be a child of a <Select>"), e = c(() => E(
1506
+ const s = q("select", "<SelectTrigger> must be a child of a <Select>"), e = c(() => T(
1499
1507
  // eslint-disable-next-line vue/max-len
1500
1508
  "focus:outline-primary-600 data-[state=open]:outline-primary-600 grid w-full cursor-default grid-cols-1 rounded-md bg-white py-1.5 pr-2 pl-3 text-left text-gray-900 outline-1 -outline-offset-1 outline-gray-300 focus:outline-2 focus:-outline-offset-2 sm:text-sm/6",
1501
1509
  { "mt-1": s.label },
1502
1510
  t.class
1503
1511
  ));
1504
- return (r, n) => (o(), f(xt, {
1505
- class: C(e.value)
1512
+ return (r, n) => (i(), m(xt, {
1513
+ class: _(e.value)
1506
1514
  }, {
1507
- default: m(() => [
1508
- d(_t, { class: "col-start-1 row-start-1 truncate pr-6" }),
1509
- d(l(Pr), { class: "col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4" })
1515
+ default: f(() => [
1516
+ d(Ct, { class: "col-start-1 row-start-1 truncate pr-6" }),
1517
+ d(l(Ar), { class: "col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4" })
1510
1518
  ]),
1511
1519
  _: 1
1512
1520
  }, 8, ["class"]));
1513
1521
  }
1514
- }), Dr = /* @__PURE__ */ h({
1522
+ }), Dr = /* @__PURE__ */ g({
1515
1523
  __name: "Select",
1516
1524
  props: {
1517
1525
  as: {},
@@ -1531,20 +1539,20 @@ const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__
1531
1539
  emits: ["update:modelValue"],
1532
1540
  setup(t) {
1533
1541
  const { forwardRef: s } = Re();
1534
- return (e, r) => (o(), f(Rr, H({ ref: l(s) }, e.$props, {
1542
+ return (e, r) => (i(), m(Rr, H({ ref: l(s) }, e.$props, {
1535
1543
  "onUpdate:modelValue": r[0] || (r[0] = (n) => e.$emit("update:modelValue", n))
1536
1544
  }), {
1537
- default: m(() => [
1538
- d(kt),
1545
+ default: f(() => [
1546
+ d(Tt),
1539
1547
  $(e.$slots, "default", {}, () => [
1540
- d(Mt),
1541
- d(Tt)
1548
+ d(Et),
1549
+ d(Mt)
1542
1550
  ])
1543
1551
  ]),
1544
1552
  _: 3
1545
1553
  }, 16));
1546
1554
  }
1547
- }), Br = { class: "grow" }, jr = /* @__PURE__ */ h({
1555
+ }), Br = { class: "grow" }, jr = /* @__PURE__ */ g({
1548
1556
  __name: "Language",
1549
1557
  setup(t) {
1550
1558
  const s = X.getBrowserLocale(), e = c(() => [null, ...X.locales]);
@@ -1553,7 +1561,7 @@ const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__
1553
1561
  locale: B.locales[s] ?? s
1554
1562
  });
1555
1563
  }
1556
- return (n, a) => (o(), f(Dr, {
1564
+ return (n, a) => (i(), m(Dr, {
1557
1565
  modelValue: n.$lang.locale,
1558
1566
  "onUpdate:modelValue": a[0] || (a[0] = (u) => n.$lang.locale = u),
1559
1567
  class: "flex flex-col items-start md:flex-row",
@@ -1561,10 +1569,10 @@ const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__
1561
1569
  options: e.value,
1562
1570
  "render-option": r
1563
1571
  }, {
1564
- default: m(() => [
1565
- b("div", Br, [
1566
- d(kt, { class: "text-base font-semibold" }, {
1567
- default: m(() => [
1572
+ default: f(() => [
1573
+ y("div", Br, [
1574
+ d(Tt, { class: "text-base font-semibold" }, {
1575
+ default: f(() => [
1568
1576
  L(x(n.$td("settings.locale", "Language")), 1)
1569
1577
  ]),
1570
1578
  _: 1
@@ -1577,10 +1585,10 @@ const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__
1577
1585
  ]),
1578
1586
  d(I, {
1579
1587
  variant: "ghost",
1580
- as: Mt,
1588
+ as: Et,
1581
1589
  class: "grid w-auto outline-none"
1582
1590
  }),
1583
- d(Tt)
1591
+ d(Mt)
1584
1592
  ]),
1585
1593
  _: 1
1586
1594
  }, 8, ["modelValue", "options"]));
@@ -1590,12 +1598,12 @@ const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__
1590
1598
  priority: 100,
1591
1599
  component: jr
1592
1600
  }
1593
- ], Ur = { $lang: X }, Or = {
1601
+ ], Or = { $lang: X }, Ur = {
1594
1602
  async install(t) {
1595
1603
  var s;
1596
- (s = t.config.globalProperties).$t ?? (s.$t = yt), t.config.globalProperties.$td = S, Fr.forEach((e) => P.addSetting(e)), await ke(t, Ur);
1604
+ (s = t.config.globalProperties).$t ?? (s.$t = wt), t.config.globalProperties.$td = S, Fr.forEach((e) => R.addSetting(e)), await ke(t, Or);
1597
1605
  }
1598
- }, Nr = /* @__PURE__ */ h({
1606
+ }, Nr = /* @__PURE__ */ g({
1599
1607
  __name: "Markdown",
1600
1608
  props: {
1601
1609
  as: {},
@@ -1607,38 +1615,38 @@ const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__
1607
1615
  actions: {}
1608
1616
  },
1609
1617
  setup(t) {
1610
- const s = tt(), e = Ie(), r = c(() => e.default ? e.default().map(dt).join("") : t.text ?? (t.langKey && (t.langDefault ? S(t.langKey, t.langDefault, t.langParams ?? {}) : yt(t.langKey, t.langParams ?? {})))), n = c(() => {
1618
+ const s = st(), e = Ie(), r = c(() => e.default ? e.default().map(pt).join("") : t.text ?? (t.langKey && (t.langDefault ? S(t.langKey, t.langDefault, t.langParams ?? {}) : wt(t.langKey, t.langParams ?? {})))), n = c(() => {
1611
1619
  if (!r.value)
1612
1620
  return null;
1613
- let i = br(r.value);
1614
- return t.inline && (i = i.replace("<p>", "<span>").replace("</p>", "</span>")), i;
1615
- }), a = () => Nt(t.as ?? (t.inline ? "span" : "div"), {
1621
+ let o = br(r.value);
1622
+ return t.inline && (o = o.replace("<p>", "<span>").replace("</p>", "</span>")), o;
1623
+ }), a = () => Wt(t.as ?? (t.inline ? "span" : "div"), {
1616
1624
  innerHTML: n.value,
1617
1625
  onClick: u,
1618
1626
  ...s,
1619
1627
  class: `${s.class ?? ""} ${t.inline ? "" : "prose"}`
1620
1628
  });
1621
- async function u(i) {
1622
- var g, w;
1623
- const { target: p } = i;
1624
- if (Oe(p, HTMLElement) && p.dataset.markdownAction) {
1625
- (w = (g = t.actions) == null ? void 0 : g[p.dataset.markdownAction]) == null || w.call(g);
1629
+ async function u(o) {
1630
+ var v, w;
1631
+ const { target: p } = o;
1632
+ if (Ne(p, HTMLElement) && p.dataset.markdownAction) {
1633
+ (w = (v = t.actions) == null ? void 0 : v[p.dataset.markdownAction]) == null || w.call(v);
1626
1634
  return;
1627
1635
  }
1628
- if (Oe(p, HTMLAnchorElement) && p.dataset.markdownRoute) {
1629
- const v = vr();
1630
- v && (i.preventDefault(), v.visit(p.dataset.markdownRoute));
1636
+ if (Ne(p, HTMLAnchorElement) && p.dataset.markdownRoute) {
1637
+ const h = vr();
1638
+ h && (o.preventDefault(), h.visit(p.dataset.markdownRoute));
1631
1639
  return;
1632
1640
  }
1633
1641
  }
1634
- return (i, p) => (o(), f(a));
1642
+ return (o, p) => (i(), m(a));
1635
1643
  }
1636
1644
  }), Wr = (t, s) => {
1637
1645
  const e = t.__vccOpts || t;
1638
1646
  for (const [r, n] of s)
1639
1647
  e[r] = n;
1640
1648
  return e;
1641
- }, z = /* @__PURE__ */ Wr(Nr, [["__scopeId", "data-v-8b211cfb"]]), Kr = { class: "flex-grow" }, Qr = ["id"], Jr = /* @__PURE__ */ h({
1649
+ }, z = /* @__PURE__ */ Wr(Nr, [["__scopeId", "data-v-8b211cfb"]]), Kr = { class: "flex-grow" }, Qr = ["id"], Jr = /* @__PURE__ */ g({
1642
1650
  __name: "Setting",
1643
1651
  props: {
1644
1652
  title: {},
@@ -1648,29 +1656,29 @@ const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__
1648
1656
  layout: { default: "horizontal" }
1649
1657
  },
1650
1658
  setup(t) {
1651
- const s = c(() => E(t.class, "flex flex-col justify-center gap-1"));
1652
- return (e, r) => (o(), y("div", {
1653
- class: C(["mt-4 flex", { "flex-col": e.layout === "vertical" }])
1659
+ const s = c(() => T(t.class, "flex flex-col justify-center gap-1"));
1660
+ return (e, r) => (i(), b("div", {
1661
+ class: _(["mt-4 flex", { "flex-col": e.layout === "vertical" }])
1654
1662
  }, [
1655
- b("div", Kr, [
1656
- b("h3", {
1663
+ y("div", Kr, [
1664
+ y("h3", {
1657
1665
  id: e.titleId,
1658
1666
  class: "text-base font-semibold"
1659
1667
  }, x(e.title), 9, Qr),
1660
- e.description ? (o(), f(z, {
1668
+ e.description ? (i(), m(z, {
1661
1669
  key: 0,
1662
1670
  text: e.description,
1663
1671
  class: "mt-1 text-sm text-gray-500"
1664
- }, null, 8, ["text"])) : M("", !0)
1672
+ }, null, 8, ["text"])) : E("", !0)
1665
1673
  ]),
1666
- b("div", {
1667
- class: C(s.value)
1674
+ y("div", {
1675
+ class: _(s.value)
1668
1676
  }, [
1669
1677
  $(e.$slots, "default")
1670
1678
  ], 2)
1671
1679
  ], 2));
1672
1680
  }
1673
- }), Zr = ["for"], Xr = /* @__PURE__ */ h({
1681
+ }), Zr = ["for"], Xr = /* @__PURE__ */ g({
1674
1682
  inheritAttrs: !1,
1675
1683
  __name: "HeadlessSwitch",
1676
1684
  props: {
@@ -1696,59 +1704,59 @@ const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__
1696
1704
  if (!(!t.name || !n))
1697
1705
  return n.getFieldRules(t.name).includes("required");
1698
1706
  }),
1699
- update(i) {
1707
+ update(o) {
1700
1708
  if (n && t.name) {
1701
- n.setFieldValue(t.name, i);
1709
+ n.setFieldValue(t.name, o);
1702
1710
  return;
1703
1711
  }
1704
- r("update:modelValue", i);
1712
+ r("update:modelValue", o);
1705
1713
  }
1706
1714
  };
1707
1715
  return s(u), G(() => {
1708
1716
  !t.description && !a.value || console.warn("Errors and description not implemented in <HeadlessSwitch>");
1709
- }), (i, p) => (o(), y("div", {
1710
- class: C(t.class)
1717
+ }), (o, p) => (i(), b("div", {
1718
+ class: _(t.class)
1711
1719
  }, [
1712
- i.label ? (o(), y("label", {
1720
+ o.label ? (i(), b("label", {
1713
1721
  key: 0,
1714
1722
  for: u.id,
1715
- class: C(i.labelClass)
1716
- }, x(i.label), 11, Zr)) : M("", !0),
1723
+ class: _(o.labelClass)
1724
+ }, x(o.label), 11, Zr)) : E("", !0),
1717
1725
  d(l(Is), H({
1718
1726
  id: u.id,
1719
- name: i.name,
1727
+ name: o.name,
1720
1728
  "model-value": u.value.value
1721
- }, i.$attrs, {
1722
- class: i.inputClass,
1723
- "onUpdate:modelValue": p[0] || (p[0] = (g) => i.$emit("update:modelValue", g))
1729
+ }, o.$attrs, {
1730
+ class: o.inputClass,
1731
+ "onUpdate:modelValue": p[0] || (p[0] = (v) => o.$emit("update:modelValue", v))
1724
1732
  }), {
1725
- default: m(() => [
1733
+ default: f(() => [
1726
1734
  d(l(zs), {
1727
- class: C(i.thumbClass)
1735
+ class: _(o.thumbClass)
1728
1736
  }, null, 8, ["class"])
1729
1737
  ]),
1730
1738
  _: 1
1731
1739
  }, 16, ["id", "name", "model-value", "class"])
1732
1740
  ], 2));
1733
1741
  }
1734
- }), Yr = /* @__PURE__ */ h({
1742
+ }), Yr = /* @__PURE__ */ g({
1735
1743
  __name: "Switch",
1736
1744
  setup(t) {
1737
- return (s, e) => (o(), f(Xr, {
1745
+ return (s, e) => (i(), m(Xr, {
1738
1746
  class: "flex flex-row items-center gap-1",
1739
1747
  "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",
1740
1748
  "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"
1741
1749
  }));
1742
1750
  }
1743
- }), Gr = /* @__PURE__ */ h({
1751
+ }), Gr = /* @__PURE__ */ g({
1744
1752
  __name: "Debug",
1745
1753
  setup(t) {
1746
- return (s, e) => (o(), f(Jr, {
1754
+ return (s, e) => (i(), m(Jr, {
1747
1755
  "title-id": "debug-setting",
1748
1756
  title: s.$td("settings.debug", "Debugging"),
1749
1757
  description: s.$td("settings.debugDescription", "Enable debugging with [Eruda](https://eruda.liriliri.io/).")
1750
1758
  }, {
1751
- default: m(() => [
1759
+ default: f(() => [
1752
1760
  d(Yr, {
1753
1761
  modelValue: s.$errors.debug,
1754
1762
  "onUpdate:modelValue": e[0] || (e[0] = (r) => s.$errors.debug = r),
@@ -1763,34 +1771,34 @@ const Pr = V({ name: "zondicons-cheveron-down", render: Ar }), Mt = /* @__PURE__
1763
1771
  priority: 10,
1764
1772
  component: Gr
1765
1773
  }
1766
- ], Et = [];
1767
- function Pl(t) {
1768
- Et.push(t);
1774
+ ], Ht = [];
1775
+ function ql(t) {
1776
+ Ht.push(t);
1769
1777
  }
1770
- function Ht(t) {
1771
- for (const s of Et) {
1778
+ function Vt(t) {
1779
+ for (const s of Ht) {
1772
1780
  const e = s(t);
1773
1781
  if (e)
1774
1782
  return e;
1775
1783
  }
1776
- return typeof t == "string" ? t : t instanceof Error || t instanceof xe ? t.message : he(t) ? j(t.message ?? t.description ?? "Unknown error object") : S("errors.unknown", "Unknown Error");
1784
+ return typeof t == "string" ? t : t instanceof Error || t instanceof Ce ? t.message : he(t) ? j(t.message ?? t.description ?? "Unknown error object") : S("errors.unknown", "Unknown Error");
1777
1785
  }
1778
- class et extends xe {
1786
+ class tt extends Ce {
1779
1787
  }
1780
- const tn = { $errors: wt }, sn = (t) => (wt.report(t), !0);
1788
+ const tn = { $errors: $t }, sn = (t) => ($t.report(t), !0);
1781
1789
  function rn(t, s = () => !1) {
1782
1790
  const e = (r) => s(r) || sn(r);
1783
- t.config.errorHandler = e, globalThis.onerror = (r, n, a, u, i) => e(i ?? r), globalThis.onunhandledrejection = (r) => e(r.reason);
1791
+ t.config.errorHandler = e, globalThis.onerror = (r, n, a, u, o) => e(o ?? r), globalThis.onunhandledrejection = (r) => e(r.reason);
1784
1792
  }
1785
1793
  const nn = {
1786
1794
  async install(t, s) {
1787
- rn(t, s.handleError), en.forEach((e) => P.addSetting(e)), await ke(t, tn);
1795
+ rn(t, s.handleError), en.forEach((e) => R.addSetting(e)), await ke(t, tn);
1788
1796
  }
1789
1797
  }, an = {
1790
1798
  async install() {
1791
1799
  ze() && (globalThis.testingRuntime = {
1792
1800
  on: (...t) => F.on(...t),
1793
- service: (t) => P.service(t)
1801
+ service: (t) => R.service(t)
1794
1802
  });
1795
1803
  }
1796
1804
  }, ln = {
@@ -1799,36 +1807,36 @@ const nn = {
1799
1807
  height: "1.2em"
1800
1808
  };
1801
1809
  function on(t, s) {
1802
- return o(), y("svg", ln, s[0] || (s[0] = [
1803
- b("path", {
1810
+ return i(), b("svg", ln, s[0] || (s[0] = [
1811
+ y("path", {
1804
1812
  fill: "currentColor",
1805
1813
  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"
1806
1814
  }, null, -1)
1807
1815
  ]));
1808
1816
  }
1809
- const un = V({ name: "zondicons-close", render: on }), cn = /* @__PURE__ */ h({
1817
+ const un = V({ name: "zondicons-close", render: on }), cn = /* @__PURE__ */ g({
1810
1818
  __name: "HeadlessModal",
1811
1819
  props: {
1812
1820
  persistent: { type: Boolean },
1813
1821
  fullscreen: { type: Boolean },
1814
- fullscreenMobile: { type: Boolean },
1822
+ fullscreenOnMobile: { type: Boolean },
1815
1823
  title: {},
1816
1824
  titleHidden: { type: Boolean },
1817
1825
  description: {},
1818
1826
  descriptionHidden: { type: Boolean }
1819
1827
  },
1820
1828
  setup(t, { expose: s }) {
1821
- const e = N(null), { close: r } = Pe();
1829
+ const e = N(null), { close: r } = Ae();
1822
1830
  s({ $content: e });
1823
1831
  const { forwardRef: n } = Re();
1824
- return pe("$modalContentRef", e), (a, u) => (o(), f(l(Rs), {
1832
+ return pe("$modalContentRef", e), (a, u) => (i(), m(l(Rs), {
1825
1833
  ref: l(n),
1826
1834
  open: "",
1827
- "onUpdate:open": u[0] || (u[0] = (i) => a.persistent || i || l(r)())
1835
+ "onUpdate:open": u[0] || (u[0] = (o) => a.persistent || o || l(r)())
1828
1836
  }, {
1829
- default: m(() => [
1837
+ default: f(() => [
1830
1838
  d(l(qs), null, {
1831
- default: m(() => [
1839
+ default: f(() => [
1832
1840
  $(a.$slots, "default", { close: l(r) })
1833
1841
  ]),
1834
1842
  _: 3
@@ -1837,36 +1845,36 @@ const un = V({ name: "zondicons-close", render: on }), cn = /* @__PURE__ */ h({
1837
1845
  _: 3
1838
1846
  }, 512));
1839
1847
  }
1840
- }), dn = /* @__PURE__ */ h({
1848
+ }), dn = /* @__PURE__ */ g({
1841
1849
  __name: "HeadlessModalContent",
1842
1850
  setup(t) {
1843
- const { child: s } = Pe(), e = lr("$modalContentRef"), r = te("$contentRef");
1844
- return G(() => e.value = r.value), (n, a) => (o(), f(l(As), { ref: "$contentRef" }, {
1845
- default: m(() => [
1851
+ const { child: s } = Ae(), e = lr("$modalContentRef"), r = te("$contentRef");
1852
+ return G(() => e.value = r.value), (n, a) => (i(), m(l(Ps), { ref: "$contentRef" }, {
1853
+ default: f(() => [
1846
1854
  $(n.$slots, "default"),
1847
- l(s) ? (o(), f(l(bs), {
1855
+ l(s) ? (i(), m(l(bs), {
1848
1856
  key: 0,
1849
1857
  is: l(s)
1850
- }, null, 8, ["is"])) : M("", !0)
1858
+ }, null, 8, ["is"])) : E("", !0)
1851
1859
  ]),
1852
1860
  _: 3
1853
1861
  }, 512));
1854
1862
  }
1855
- }), pn = /* @__PURE__ */ h({
1863
+ }), pn = /* @__PURE__ */ g({
1856
1864
  __name: "HeadlessModalDescription",
1857
1865
  props: {
1858
1866
  asChild: { type: Boolean },
1859
1867
  as: {}
1860
1868
  },
1861
1869
  setup(t) {
1862
- return (s, e) => (o(), f(l(Ps), ce(de(s.$props)), {
1863
- default: m(() => [
1870
+ return (s, e) => (i(), m(l(As), ce(de(s.$props)), {
1871
+ default: f(() => [
1864
1872
  $(s.$slots, "default")
1865
1873
  ]),
1866
1874
  _: 3
1867
1875
  }, 16));
1868
1876
  }
1869
- }), mn = /* @__PURE__ */ h({
1877
+ }), fn = /* @__PURE__ */ g({
1870
1878
  __name: "HeadlessModalOverlay",
1871
1879
  props: {
1872
1880
  forceMount: { type: Boolean },
@@ -1874,33 +1882,33 @@ const un = V({ name: "zondicons-close", render: on }), cn = /* @__PURE__ */ h({
1874
1882
  as: {}
1875
1883
  },
1876
1884
  setup(t) {
1877
- return (s, e) => (o(), f(l(Ds), ce(de(s.$props)), {
1878
- default: m(() => [
1885
+ return (s, e) => (i(), m(l(Ds), ce(de(s.$props)), {
1886
+ default: f(() => [
1879
1887
  $(s.$slots, "default")
1880
1888
  ]),
1881
1889
  _: 3
1882
1890
  }, 16));
1883
1891
  }
1884
- }), fn = /* @__PURE__ */ h({
1892
+ }), mn = /* @__PURE__ */ g({
1885
1893
  __name: "HeadlessModalTitle",
1886
1894
  props: {
1887
1895
  asChild: { type: Boolean },
1888
1896
  as: {}
1889
1897
  },
1890
1898
  setup(t) {
1891
- return (s, e) => (o(), f(l(Bs), ce(de(s.$props)), {
1892
- default: m(() => [
1899
+ return (s, e) => (i(), m(l(Bs), ce(de(s.$props)), {
1900
+ default: f(() => [
1893
1901
  $(s.$slots, "default")
1894
1902
  ]),
1895
1903
  _: 3
1896
1904
  }, 16));
1897
1905
  }
1898
- }), hn = ["onClick"], gn = { class: "sr-only" }, fe = mr(), ne = /* @__PURE__ */ h({
1906
+ }), hn = ["onClick"], gn = { class: "sr-only" }, me = fr(), ne = /* @__PURE__ */ g({
1899
1907
  __name: "Modal",
1900
1908
  props: {
1901
1909
  persistent: { type: Boolean },
1902
1910
  fullscreen: { type: Boolean },
1903
- fullscreenMobile: { type: Boolean },
1911
+ fullscreenOnMobile: { type: Boolean },
1904
1912
  title: {},
1905
1913
  titleHidden: { type: Boolean },
1906
1914
  description: {},
@@ -1910,99 +1918,99 @@ const un = V({ name: "zondicons-close", render: on }), cn = /* @__PURE__ */ h({
1910
1918
  closeHidden: { type: Boolean }
1911
1919
  },
1912
1920
  setup(t, { expose: s }) {
1913
- const e = K(t, ["class", "wrapperClass", "title", "titleHidden", "description", "persistent", "closeHidden", "fullscreen", "fullscreenMobile"]);
1921
+ const e = K(t, ["class", "wrapperClass", "title", "titleHidden", "description", "persistent", "closeHidden", "fullscreen", "fullscreenOnMobile"]);
1914
1922
  s({
1915
1923
  $content: c(() => {
1916
- var T;
1917
- return (T = i.value) == null ? void 0 : T.$content;
1924
+ var M;
1925
+ return (M = o.value) == null ? void 0 : M.$content;
1918
1926
  })
1919
1927
  });
1920
- const { forwardRef: r, currentRef: n } = Re(), { id: a, visible: u } = Pe(), i = n, p = ut(), g = c(
1928
+ const { forwardRef: r, currentRef: n } = Re(), { id: a, visible: u } = Ae(), o = n, p = ct(), v = c(
1921
1929
  () => {
1922
- var T;
1923
- return u.value && ((T = le.value.toReversed().find((je) => je.visible.value)) == null ? void 0 : T.id) === a.value;
1930
+ var M;
1931
+ return u.value && ((M = le.value.toReversed().find((je) => je.visible.value)) == null ? void 0 : M.id) === a.value;
1924
1932
  }
1925
- ), w = c(() => le.value.find((T) => T.visible.value)), v = c(() => le.value.some((T) => fe.has(T))), k = c(() => t.description ? {} : { "aria-describedby": void 0 }), q = c(() => E(
1926
- "overflow-auto px-4 pb-4",
1933
+ ), w = c(() => le.value.find((M) => M.visible.value)), h = c(() => le.value.some((M) => me.has(M))), k = c(() => t.description ? {} : { "aria-describedby": void 0 }), P = c(() => T(
1934
+ "overflow-auto px-4 pb-4 flex flex-col flex-1",
1927
1935
  { "pt-4": !t.title || t.titleHidden, "max-h-[90vh]": !Q.value },
1928
1936
  t.class
1929
- )), Q = c(() => t.fullscreen || t.fullscreenMobile && A.mobile), qt = c(() => E(
1937
+ )), Q = c(() => t.fullscreen || t.fullscreenOnMobile && A.mobile), Pt = c(() => T(
1930
1938
  "isolate fixed z-50 flex flex-col overflow-hidden bg-white text-left duration-300",
1931
1939
  Q.value ? [
1932
1940
  "inset-0 transition-[transform,translate] will-change-[transform,translate]",
1933
- fe.has(p.value) || "animate-[slide-in_var(--tw-duration)_ease-in-out]",
1934
- g.value ? "translate-y-0" : "translate-y-full"
1941
+ me.has(p.value) || "animate-[slide-in_var(--tw-duration)_ease-in-out]",
1942
+ v.value ? "translate-y-0" : "translate-y-full"
1935
1943
  ] : [
1936
1944
  "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full",
1937
1945
  "max-w-[calc(100%-2rem)] rounded-lg shadow-xl sm:max-w-lg",
1938
1946
  "transition-[scale,opacity] will-change-[scale,opacity]",
1939
- fe.has(p.value) || "animate-[fade-in_var(--tw-duration)_ease-in-out,grow_var(--tw-duration)_ease-in-out]",
1940
- g.value ? "scale-100 opacity-100" : "scale-50 opacity-0"
1947
+ me.has(p.value) || "animate-[fade-in_var(--tw-duration)_ease-in-out,grow_var(--tw-duration)_ease-in-out]",
1948
+ v.value ? "scale-100 opacity-100" : "scale-50 opacity-0"
1941
1949
  ],
1942
1950
  t.wrapperClass
1943
1951
  ));
1944
- return st(() => oe(500).then(() => fe.add(p.value))), (T, je) => (o(), f(cn, H(e, {
1945
- ref: (me) => l(r)(me),
1946
- persistent: T.persistent
1952
+ return rt(() => ie(500).then(() => me.add(p.value))), (M, je) => (i(), m(cn, H(e, {
1953
+ ref: (fe) => l(r)(fe),
1954
+ persistent: M.persistent
1947
1955
  }), {
1948
- default: m(({ close: me }) => {
1949
- var Fe, Ue;
1956
+ default: f(({ close: fe }) => {
1957
+ var Fe, Oe;
1950
1958
  return [
1951
- d(mn, {
1952
- class: C(["fixed inset-0 transition-opacity duration-300 will-change-[opacity]", {
1953
- "animate-[fade-in_var(--tw-duration)_ease-in-out]": !v.value,
1954
- "bg-black/30": ((Fe = w.value) == null ? void 0 : Fe.id) === l(a) || !w.value && ((Ue = l(le)[0]) == null ? void 0 : Ue.id) === l(a),
1959
+ d(fn, {
1960
+ class: _(["fixed inset-0 transition-opacity duration-300 will-change-[opacity]", {
1961
+ "animate-[fade-in_var(--tw-duration)_ease-in-out]": !h.value,
1962
+ "bg-black/30": ((Fe = w.value) == null ? void 0 : Fe.id) === l(a) || !w.value && ((Oe = l(le)[0]) == null ? void 0 : Oe.id) === l(a),
1955
1963
  "opacity-0": !w.value,
1956
1964
  hidden: Q.value
1957
1965
  }])
1958
1966
  }, null, 8, ["class"]),
1959
- d(dn, H(k.value, { class: qt.value }), {
1960
- default: m(() => [
1961
- !T.persistent && !T.closeHidden ? (o(), y("div", {
1967
+ d(dn, H(k.value, { class: Pt.value }), {
1968
+ default: f(() => [
1969
+ !M.persistent && !M.closeHidden ? (i(), b("div", {
1962
1970
  key: 0,
1963
- class: C(["absolute top-0 right-0 pt-3.5 pr-2.5", { "hidden sm:block": !Q.value }])
1971
+ class: _(["absolute top-0 right-0 pt-3.5 pr-2.5", { "hidden sm:block": !Q.value }])
1964
1972
  }, [
1965
- b("button", {
1973
+ y("button", {
1966
1974
  type: "button",
1967
1975
  class: "clickable z-10 rounded-full p-2.5 text-gray-400 hover:text-gray-500",
1968
- onClick: (cl) => me()
1976
+ onClick: (ol) => fe()
1969
1977
  }, [
1970
- b("span", gn, x(T.$td("ui.close", "Close")), 1),
1978
+ y("span", gn, x(M.$td("ui.close", "Close")), 1),
1971
1979
  d(l(un), { class: "size-4" })
1972
1980
  ], 8, hn)
1973
- ], 2)) : M("", !0),
1974
- T.title ? (o(), f(fn, {
1981
+ ], 2)) : E("", !0),
1982
+ M.title ? (i(), m(mn, {
1975
1983
  key: 1,
1976
- class: C(["px-4 pt-5 text-base font-semibold text-gray-900", {
1977
- "sr-only": T.titleHidden,
1978
- "pb-0": T.description && !T.descriptionHidden,
1979
- "pb-2": !T.description || T.descriptionHidden
1984
+ class: _(["px-4 pt-5 text-base font-semibold text-gray-900", {
1985
+ "sr-only": M.titleHidden,
1986
+ "pb-0": M.description && !M.descriptionHidden,
1987
+ "pb-2": !M.description || M.descriptionHidden
1980
1988
  }])
1981
1989
  }, {
1982
- default: m(() => [
1990
+ default: f(() => [
1983
1991
  d(z, {
1984
- text: T.title,
1992
+ text: M.title,
1985
1993
  inline: ""
1986
1994
  }, null, 8, ["text"])
1987
1995
  ]),
1988
1996
  _: 1
1989
- }, 8, ["class"])) : M("", !0),
1990
- T.description ? (o(), f(pn, {
1997
+ }, 8, ["class"])) : E("", !0),
1998
+ M.description ? (i(), m(pn, {
1991
1999
  key: 2,
1992
- class: C(["px-4 pt-1 pb-2", { "sr-only": T.descriptionHidden }])
2000
+ class: _(["px-4 pt-1 pb-2", { "sr-only": M.descriptionHidden }])
1993
2001
  }, {
1994
- default: m(() => [
2002
+ default: f(() => [
1995
2003
  d(z, {
1996
- text: T.description,
2004
+ text: M.description,
1997
2005
  class: "text-sm leading-6 text-gray-500"
1998
2006
  }, null, 8, ["text"])
1999
2007
  ]),
2000
2008
  _: 1
2001
- }, 8, ["class"])) : M("", !0),
2002
- b("div", {
2003
- class: C(q.value)
2009
+ }, 8, ["class"])) : E("", !0),
2010
+ y("div", {
2011
+ class: _(P.value)
2004
2012
  }, [
2005
- $(T.$slots, "default", { close: me })
2013
+ $(M.$slots, "default", { close: fe })
2006
2014
  ], 2)
2007
2015
  ]),
2008
2016
  _: 2
@@ -2017,7 +2025,7 @@ function vn(t) {
2017
2025
  const s = c(() => t.title ?? S("ui.alert", "Alert")), e = c(() => !t.title);
2018
2026
  return { renderedTitle: s, titleHidden: e };
2019
2027
  }
2020
- const bn = /* @__PURE__ */ h({
2028
+ const bn = /* @__PURE__ */ g({
2021
2029
  __name: "AlertModal",
2022
2030
  props: {
2023
2031
  title: {},
@@ -2025,17 +2033,17 @@ const bn = /* @__PURE__ */ h({
2025
2033
  },
2026
2034
  setup(t, { expose: s }) {
2027
2035
  const e = t, { renderedTitle: r, titleHidden: n } = vn(e);
2028
- return s(), (a, u) => (o(), f(ne, {
2036
+ return s(), (a, u) => (i(), m(ne, {
2029
2037
  title: l(r),
2030
2038
  "title-hidden": l(n)
2031
2039
  }, {
2032
- default: m(() => [
2040
+ default: f(() => [
2033
2041
  d(z, { text: a.message }, null, 8, ["text"])
2034
2042
  ]),
2035
2043
  _: 1
2036
2044
  }, 8, ["title", "title-hidden"]));
2037
2045
  }
2038
- }), Vt = /* @__PURE__ */ h({
2046
+ }), Lt = /* @__PURE__ */ g({
2039
2047
  __name: "Form",
2040
2048
  props: {
2041
2049
  form: {}
@@ -2047,18 +2055,18 @@ const bn = /* @__PURE__ */ h({
2047
2055
  return G((n) => {
2048
2056
  var a;
2049
2057
  e == null || e(), e = (a = t.form) == null ? void 0 : a.on("submit", () => r("submit")), n(() => e == null ? void 0 : e());
2050
- }), pe("form", t.form), (n, a) => (o(), y("form", {
2051
- onSubmit: a[0] || (a[0] = rt((u) => n.form ? n.form.submit() : n.$emit("submit"), ["prevent"]))
2058
+ }), pe("form", t.form), (n, a) => (i(), b("form", {
2059
+ onSubmit: a[0] || (a[0] = nt((u) => n.form ? n.form.submit() : n.$emit("submit"), ["prevent"]))
2052
2060
  }, [
2053
2061
  $(n.$slots, "default")
2054
2062
  ], 32));
2055
2063
  }
2056
2064
  });
2057
2065
  function yn(t) {
2058
- const s = ft(
2066
+ const s = ht(
2059
2067
  Object.entries(t.checkboxes ?? {}).reduce(
2060
- (u, [i, p]) => ({
2061
- [i]: {
2068
+ (u, [o, p]) => ({
2069
+ [o]: {
2062
2070
  type: "boolean",
2063
2071
  default: p.default,
2064
2072
  required: p.required ? "required" : void 0
@@ -2073,7 +2081,7 @@ function yn(t) {
2073
2081
  const wn = {
2074
2082
  key: 0,
2075
2083
  class: "mt-4 flex flex-col text-sm text-gray-600"
2076
- }, $n = { class: "flex items-center" }, _n = ["onUpdate:modelValue", "required"], xn = { class: "ml-1.5" }, Cn = { class: "mt-4 flex flex-row-reverse gap-2" }, Sn = /* @__PURE__ */ h({
2084
+ }, $n = { class: "flex items-center" }, _n = ["onUpdate:modelValue", "required"], Cn = { class: "ml-1.5" }, xn = { class: "mt-4 flex flex-row-reverse gap-2" }, Sn = /* @__PURE__ */ g({
2077
2085
  __name: "ConfirmModal",
2078
2086
  props: {
2079
2087
  title: {},
@@ -2088,54 +2096,54 @@ const wn = {
2088
2096
  },
2089
2097
  emits: ["close"],
2090
2098
  setup(t, { expose: s }) {
2091
- const e = K(t, ["cancelVariant"]), { form: r, renderedTitle: n, titleHidden: a, renderedAcceptText: u, renderedCancelText: i } = yn(e);
2092
- return s(), (p, g) => (o(), f(ne, {
2099
+ const e = K(t, ["cancelVariant"]), { form: r, renderedTitle: n, titleHidden: a, renderedAcceptText: u, renderedCancelText: o } = yn(e);
2100
+ return s(), (p, v) => (i(), m(ne, {
2093
2101
  title: l(n),
2094
2102
  "title-hidden": l(a),
2095
2103
  persistent: ""
2096
2104
  }, {
2097
- default: m(({ close: w }) => [
2098
- d(Vt, {
2105
+ default: f(({ close: w }) => [
2106
+ d(Lt, {
2099
2107
  form: l(r),
2100
- onSubmit: (v) => w([!0, l(r).data()])
2108
+ onSubmit: (h) => w([!0, l(r).data()])
2101
2109
  }, {
2102
- default: m(() => [
2110
+ default: f(() => [
2103
2111
  d(z, {
2104
2112
  text: p.message,
2105
2113
  actions: p.actions
2106
2114
  }, null, 8, ["text", "actions"]),
2107
- p.checkboxes ? (o(), y("ul", wn, [
2108
- (o(!0), y(D, null, U(p.checkboxes, (v, k) => (o(), y("li", { key: k }, [
2109
- b("label", $n, [
2110
- nt(b("input", {
2111
- "onUpdate:modelValue": (q) => l(r)[k] = q,
2115
+ p.checkboxes ? (i(), b("ul", wn, [
2116
+ (i(!0), b(D, null, O(p.checkboxes, (h, k) => (i(), b("li", { key: k }, [
2117
+ y("label", $n, [
2118
+ at(y("input", {
2119
+ "onUpdate:modelValue": (P) => l(r)[k] = P,
2112
2120
  type: "checkbox",
2113
- required: v.required,
2121
+ required: h.required,
2114
2122
  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"
2115
2123
  }, null, 8, _n), [
2116
- [Wt, l(r)[k]]
2124
+ [Kt, l(r)[k]]
2117
2125
  ]),
2118
- b("span", xn, x(v.label), 1)
2126
+ y("span", Cn, x(h.label), 1)
2119
2127
  ])
2120
2128
  ]))), 128))
2121
- ])) : M("", !0),
2122
- b("div", Cn, [
2129
+ ])) : E("", !0),
2130
+ y("div", xn, [
2123
2131
  d(I, {
2124
2132
  variant: p.acceptVariant,
2125
2133
  submit: ""
2126
2134
  }, {
2127
- default: m(() => [
2135
+ default: f(() => [
2128
2136
  L(x(l(u)), 1)
2129
2137
  ]),
2130
2138
  _: 1
2131
2139
  }, 8, ["variant"]),
2132
- p.required ? M("", !0) : (o(), f(I, {
2140
+ p.required ? E("", !0) : (i(), m(I, {
2133
2141
  key: 0,
2134
2142
  variant: p.cancelVariant,
2135
- onClick: (v) => w(!1)
2143
+ onClick: (h) => w(!1)
2136
2144
  }, {
2137
- default: m(() => [
2138
- L(x(l(i)), 1)
2145
+ default: f(() => [
2146
+ L(x(l(o)), 1)
2139
2147
  ]),
2140
2148
  _: 2
2141
2149
  }, 1032, ["variant", "onClick"]))
@@ -2153,8 +2161,8 @@ const wn = {
2153
2161
  height: "1.2em"
2154
2162
  };
2155
2163
  function Tn(t, s) {
2156
- return o(), y("svg", kn, s[0] || (s[0] = [
2157
- b("path", {
2164
+ return i(), b("svg", kn, s[0] || (s[0] = [
2165
+ y("path", {
2158
2166
  fill: "currentColor",
2159
2167
  d: "M7.05 9.293L6.343 10L12 15.657l1.414-1.414L9.172 10l4.242-4.243L12 4.343z"
2160
2168
  }, null, -1)
@@ -2166,21 +2174,21 @@ const Mn = V({ name: "zondicons-cheveron-left", render: Tn }), En = {
2166
2174
  height: "1.2em"
2167
2175
  };
2168
2176
  function Hn(t, s) {
2169
- return o(), y("svg", En, s[0] || (s[0] = [
2170
- b("path", {
2177
+ return i(), b("svg", En, s[0] || (s[0] = [
2178
+ y("path", {
2171
2179
  fill: "currentColor",
2172
2180
  d: "m12.95 10.707l.707-.707L8 4.343L6.586 5.757L10.828 10l-4.242 4.243L8 15.657z"
2173
2181
  }, null, -1)
2174
2182
  ]));
2175
2183
  }
2176
- const Lt = V({ name: "zondicons-cheveron-right", render: Hn }), Vn = {
2184
+ const It = V({ name: "zondicons-cheveron-right", render: Hn }), Vn = {
2177
2185
  viewBox: "0 0 20 20",
2178
2186
  width: "1.2em",
2179
2187
  height: "1.2em"
2180
2188
  };
2181
2189
  function Ln(t, s) {
2182
- return o(), y("svg", Vn, s[0] || (s[0] = [
2183
- b("path", {
2190
+ return i(), b("svg", Vn, s[0] || (s[0] = [
2191
+ y("path", {
2184
2192
  fill: "currentColor",
2185
2193
  d: "M2.93 17.07A10 10 0 1 1 17.07 2.93A10 10 0 0 1 2.93 17.07M9 5v6h2V5zm0 8v2h2v-2z"
2186
2194
  }, null, -1)
@@ -2192,8 +2200,8 @@ const De = V({ name: "zondicons-exclamation-solid", render: Ln }), In = {
2192
2200
  height: "1.2em"
2193
2201
  };
2194
2202
  function zn(t, s) {
2195
- return o(), y("svg", In, s[0] || (s[0] = [
2196
- b("path", {
2203
+ return i(), b("svg", In, s[0] || (s[0] = [
2204
+ y("path", {
2197
2205
  fill: "currentColor",
2198
2206
  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"
2199
2207
  }, null, -1)
@@ -2204,35 +2212,35 @@ const Rn = V({ name: "mdi-console", render: zn }), qn = {
2204
2212
  width: "1.2em",
2205
2213
  height: "1.2em"
2206
2214
  };
2207
- function An(t, s) {
2208
- return o(), y("svg", qn, s[0] || (s[0] = [
2209
- b("path", {
2215
+ function Pn(t, s) {
2216
+ return i(), b("svg", qn, s[0] || (s[0] = [
2217
+ y("path", {
2210
2218
  fill: "currentColor",
2211
2219
  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"
2212
2220
  }, null, -1)
2213
2221
  ]));
2214
2222
  }
2215
- const Pn = V({ name: "zondicons-copy", render: An }), Dn = {
2223
+ const An = V({ name: "zondicons-copy", render: Pn }), Dn = {
2216
2224
  viewBox: "0 0 24 24",
2217
2225
  width: "1.2em",
2218
2226
  height: "1.2em"
2219
2227
  };
2220
2228
  function Bn(t, s) {
2221
- return o(), y("svg", Dn, s[0] || (s[0] = [
2222
- b("path", {
2229
+ return i(), b("svg", Dn, s[0] || (s[0] = [
2230
+ y("path", {
2223
2231
  fill: "currentColor",
2224
2232
  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"
2225
2233
  }, null, -1)
2226
2234
  ]));
2227
2235
  }
2228
- const jn = V({ name: "mdi-github", render: Bn }), Fn = { class: "flex" }, Un = { class: "sr-only" }, On = /* @__PURE__ */ h({
2236
+ const jn = V({ name: "mdi-github", render: Bn }), Fn = { class: "flex" }, On = { class: "sr-only" }, Un = /* @__PURE__ */ g({
2229
2237
  __name: "ErrorReportModalButtons",
2230
2238
  props: {
2231
2239
  report: {}
2232
2240
  },
2233
2241
  setup(t) {
2234
2242
  const s = t, e = c(() => s.report.description ? `${s.report.title}: ${s.report.description}` : s.report.title), r = c(() => {
2235
- if (!P.sourceUrl)
2243
+ if (!R.sourceUrl)
2236
2244
  return !1;
2237
2245
  const a = encodeURIComponent(e.value), u = encodeURIComponent(
2238
2246
  [
@@ -2242,19 +2250,19 @@ const jn = V({ name: "mdi-github", render: Bn }), Fn = { class: "flex" }, Un = {
2242
2250
  "```",
2243
2251
  ls(
2244
2252
  s.report.details ?? "Details missing from report",
2245
- 1800 - a.length - P.sourceUrl.length
2253
+ 1800 - a.length - R.sourceUrl.length
2246
2254
  ).trim(),
2247
2255
  "```"
2248
2256
  ].join(`
2249
2257
  `)
2250
2258
  );
2251
- return `${P.sourceUrl}/issues/new?title=${a}&body=${u}`;
2259
+ return `${R.sourceUrl}/issues/new?title=${a}&body=${u}`;
2252
2260
  }), n = c(() => se(
2253
2261
  [
2254
2262
  {
2255
2263
  id: "clipboard",
2256
2264
  description: "Copy to clipboard",
2257
- iconComponent: Pn,
2265
+ iconComponent: An,
2258
2266
  async click() {
2259
2267
  await navigator.clipboard.writeText(`${e.value}
2260
2268
 
@@ -2285,19 +2293,19 @@ ${s.report.details}`), A.toast(S("errors.copiedToClipboard", "Debug information
2285
2293
  });
2286
2294
  }
2287
2295
  ));
2288
- return (a, u) => (o(), y("div", Fn, [
2289
- (o(!0), y(D, null, U(n.value, (i) => $(a.$slots, "default", H({ ref_for: !0 }, i), () => [
2296
+ return (a, u) => (i(), b("div", Fn, [
2297
+ (i(!0), b(D, null, O(n.value, (o) => $(a.$slots, "default", H({ ref_for: !0 }, o), () => [
2290
2298
  d(I, {
2291
2299
  size: "icon",
2292
2300
  variant: "ghost",
2293
2301
  class: "group whitespace-nowrap",
2294
- href: i.url,
2295
- title: a.$td(`errors.report_${i.id}`, i.description),
2296
- onClick: i.click
2302
+ href: o.url,
2303
+ title: a.$td(`errors.report_${o.id}`, o.description),
2304
+ onClick: o.click
2297
2305
  }, {
2298
- default: m(() => [
2299
- b("span", Un, x(a.$td(`errors.report_${i.id}`, i.description)), 1),
2300
- (o(), f(ee(i.iconComponent), {
2306
+ default: f(() => [
2307
+ y("span", On, x(a.$td(`errors.report_${o.id}`, o.description)), 1),
2308
+ (i(), m(ee(o.iconComponent), {
2301
2309
  class: "size-4",
2302
2310
  "aria-hidden": "true"
2303
2311
  }))
@@ -2307,7 +2315,7 @@ ${s.report.details}`), A.toast(S("errors.copiedToClipboard", "Debug information
2307
2315
  ])), 256))
2308
2316
  ]));
2309
2317
  }
2310
- }), Nn = /* @__PURE__ */ h({
2318
+ }), Nn = /* @__PURE__ */ g({
2311
2319
  __name: "ErrorReportModalTitle",
2312
2320
  props: {
2313
2321
  report: {},
@@ -2316,7 +2324,7 @@ ${s.report.details}`), A.toast(S("errors.copiedToClipboard", "Debug information
2316
2324
  },
2317
2325
  setup(t) {
2318
2326
  const s = c(() => !t.totalReports || t.totalReports <= 1 ? t.report.title : `${t.report.title} (${t.currentReport}/${t.totalReports})`);
2319
- return (e, r) => (o(), f(z, {
2327
+ return (e, r) => (i(), m(z, {
2320
2328
  text: s.value,
2321
2329
  inline: ""
2322
2330
  }, null, 8, ["text"]));
@@ -2340,42 +2348,42 @@ function Wn(t) {
2340
2348
  const Kn = { class: "px-4 pt-5 pb-4" }, Qn = { class: "flex justify-between gap-4" }, Jn = { class: "flex items-center gap-2" }, Zn = {
2341
2349
  key: 0,
2342
2350
  class: "flex gap-0.5"
2343
- }, Xn = { class: "-mt-2 max-h-[75vh] overflow-auto bg-red-800/10" }, Yn = ["textContent"], Gn = /* @__PURE__ */ h({
2351
+ }, Xn = { class: "-mt-2 max-h-[75vh] overflow-auto bg-red-800/10" }, Yn = ["textContent"], Gn = /* @__PURE__ */ g({
2344
2352
  __name: "ErrorReportModal",
2345
2353
  props: {
2346
2354
  report: {},
2347
2355
  reports: {}
2348
2356
  },
2349
2357
  setup(t, { expose: s }) {
2350
- const e = t, { activeReportIndex: r, details: n, nextReportText: a, previousReportText: u, activeReport: i } = Wn(e);
2351
- return s(), (p, g) => (o(), f(ne, {
2358
+ const e = t, { activeReportIndex: r, details: n, nextReportText: a, previousReportText: u, activeReport: o } = Wn(e);
2359
+ return s(), (p, v) => (i(), m(ne, {
2352
2360
  title: p.$td("errors.report", "Error report"),
2353
2361
  "title-hidden": "",
2354
2362
  "close-hidden": "",
2355
2363
  class: "p-0",
2356
2364
  "wrapper-class": "sm:w-auto sm:min-w-lg sm:max-w-[80vw]"
2357
2365
  }, {
2358
- default: m(() => [
2359
- b("div", Kn, [
2360
- b("h2", Qn, [
2361
- b("div", Jn, [
2366
+ default: f(() => [
2367
+ y("div", Kn, [
2368
+ y("h2", Qn, [
2369
+ y("div", Jn, [
2362
2370
  d(l(De), { class: "size-5 text-red-600" }),
2363
2371
  d(Nn, {
2364
2372
  class: "text-lg leading-6 font-semibold text-gray-900",
2365
- report: l(i),
2373
+ report: l(o),
2366
2374
  "current-report": l(r) + 1,
2367
2375
  "total-reports": p.reports.length
2368
2376
  }, null, 8, ["report", "current-report", "total-reports"]),
2369
- p.reports.length > 1 ? (o(), y("span", Zn, [
2377
+ p.reports.length > 1 ? (i(), b("span", Zn, [
2370
2378
  d(I, {
2371
2379
  size: "icon",
2372
2380
  variant: "ghost",
2373
2381
  disabled: l(r) === 0,
2374
2382
  "aria-label": l(u),
2375
2383
  title: l(u),
2376
- onClick: g[0] || (g[0] = (w) => r.value--)
2384
+ onClick: v[0] || (v[0] = (w) => r.value--)
2377
2385
  }, {
2378
- default: m(() => [
2386
+ default: f(() => [
2379
2387
  d(l(Mn), { class: "size-4" })
2380
2388
  ]),
2381
2389
  _: 1
@@ -2386,28 +2394,28 @@ const Kn = { class: "px-4 pt-5 pb-4" }, Qn = { class: "flex justify-between gap-
2386
2394
  disabled: l(r) === p.reports.length - 1,
2387
2395
  "aria-label": l(a),
2388
2396
  title: l(a),
2389
- onClick: g[1] || (g[1] = (w) => r.value++)
2397
+ onClick: v[1] || (v[1] = (w) => r.value++)
2390
2398
  }, {
2391
- default: m(() => [
2392
- d(l(Lt), { class: "size-4" })
2399
+ default: f(() => [
2400
+ d(l(It), { class: "size-4" })
2393
2401
  ]),
2394
2402
  _: 1
2395
2403
  }, 8, ["disabled", "aria-label", "title"])
2396
- ])) : M("", !0)
2404
+ ])) : E("", !0)
2397
2405
  ]),
2398
- d(On, {
2399
- report: l(i),
2406
+ d(Un, {
2407
+ report: l(o),
2400
2408
  class: "gap-0.5"
2401
2409
  }, null, 8, ["report"])
2402
2410
  ]),
2403
- l(i).description ? (o(), f(z, {
2411
+ l(o).description ? (i(), m(z, {
2404
2412
  key: 0,
2405
- text: l(i).description,
2413
+ text: l(o).description,
2406
2414
  class: "text-gray-600"
2407
- }, null, 8, ["text"])) : M("", !0)
2415
+ }, null, 8, ["text"])) : E("", !0)
2408
2416
  ]),
2409
- b("div", Xn, [
2410
- b("pre", {
2417
+ y("div", Xn, [
2418
+ y("pre", {
2411
2419
  class: "p-4 text-xs text-red-800",
2412
2420
  textContent: x(l(n))
2413
2421
  }, null, 8, Yn)
@@ -2422,17 +2430,17 @@ const Kn = { class: "px-4 pt-5 pb-4" }, Qn = { class: "flex justify-between gap-
2422
2430
  height: "1.2em"
2423
2431
  };
2424
2432
  function ta(t, s) {
2425
- return o(), y("svg", ea, s[0] || (s[0] = [
2426
- b("path", {
2433
+ return i(), b("svg", ea, s[0] || (s[0] = [
2434
+ y("path", {
2427
2435
  fill: "currentColor",
2428
2436
  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",
2429
2437
  opacity: ".25"
2430
2438
  }, null, -1),
2431
- b("path", {
2439
+ y("path", {
2432
2440
  fill: "currentColor",
2433
2441
  d: "M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"
2434
2442
  }, [
2435
- b("animateTransform", {
2443
+ y("animateTransform", {
2436
2444
  attributeName: "transform",
2437
2445
  dur: "0.75s",
2438
2446
  repeatCount: "indefinite",
@@ -2442,29 +2450,39 @@ function ta(t, s) {
2442
2450
  ], -1)
2443
2451
  ]));
2444
2452
  }
2445
- const sa = V({ name: "svg-spinners-90-ring-with-bg", render: ta }), ra = { class: "mt-1 h-2 w-full overflow-hidden rounded-full bg-gray-200" }, na = { class: "sr-only" }, aa = /* @__PURE__ */ h({
2453
+ const sa = V({ name: "svg-spinners-90-ring-with-bg", render: ta }), ra = { class: "relative mt-1 h-2 w-full overflow-hidden rounded-full bg-gray-200" }, na = { class: "sr-only" }, aa = /* @__PURE__ */ g({
2446
2454
  __name: "ProgressBar",
2447
2455
  props: {
2448
2456
  filledClass: {},
2457
+ overflowClass: {},
2449
2458
  progress: {},
2450
2459
  job: {}
2451
2460
  },
2452
2461
  setup(t) {
2453
2462
  let s;
2454
- const e = N(0), r = c(() => E("size-full transition-transform duration-500 rounded-r-full ease-linear bg-primary-600", t.filledClass)), n = c(() => typeof t.progress == "number" ? t.progress : e.value);
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 border-l-3 border-gray-200",
2465
+ "bg-primary-900 transition-[width] duration-500 ease-linear",
2466
+ t.overflowClass
2467
+ )), a = c(() => typeof t.progress == "number" ? t.progress : e.value), u = c(() => a.value > 1 ? 100 * ((a.value - 1) / a.value) : null);
2455
2468
  return Le(
2456
2469
  () => t.job,
2457
2470
  () => {
2458
- s && s(), e.value = t.job ? t.job.progress : 0, s = t.job && t.job.listeners.add({ onUpdated: (a) => e.value = a });
2471
+ s && s(), e.value = t.job ? t.job.progress : 0, s = t.job && t.job.listeners.add({ onUpdated: (o) => e.value = o });
2459
2472
  },
2460
2473
  { immediate: !0 }
2461
- ), $e(() => s && s()), (a, u) => (o(), y("div", ra, [
2462
- b("div", {
2463
- class: C(r.value),
2464
- style: Kt(`transform:translateX(-${(1 - n.value) * 100}%)`)
2474
+ ), $e(() => s && s()), (o, p) => (i(), b("div", ra, [
2475
+ y("div", {
2476
+ class: _(r.value),
2477
+ style: Ue(`transform:translateX(-${(1 - a.value) * 100}%)`)
2465
2478
  }, null, 6),
2466
- b("span", na, x(a.$td("ui.progress", "{progress}% complete", {
2467
- progress: n.value * 100
2479
+ u.value ? (i(), b("div", {
2480
+ key: 0,
2481
+ class: _(n.value),
2482
+ style: Ue({ width: `${u.value}%` })
2483
+ }, null, 6)) : E("", !0),
2484
+ y("span", na, x(o.$td("ui.progress", "{progress}% complete", {
2485
+ progress: a.value * 100
2468
2486
  })), 1)
2469
2487
  ]));
2470
2488
  }
@@ -2475,7 +2493,7 @@ function la(t) {
2475
2493
  ), r = c(() => typeof t.progress == "number" || !!t.job), n = c(() => !t.title);
2476
2494
  return { renderedTitle: s, renderedMessage: e, titleHidden: n, showProgress: r };
2477
2495
  }
2478
- const oa = /* @__PURE__ */ h({
2496
+ const ia = /* @__PURE__ */ g({
2479
2497
  __name: "LoadingModal",
2480
2498
  props: {
2481
2499
  title: {},
@@ -2485,20 +2503,20 @@ const oa = /* @__PURE__ */ h({
2485
2503
  },
2486
2504
  setup(t, { expose: s }) {
2487
2505
  const e = t, { renderedTitle: r, renderedMessage: n, titleHidden: a, showProgress: u } = la(e);
2488
- return s(), (i, p) => (o(), f(ne, {
2506
+ return s(), (o, p) => (i(), m(ne, {
2489
2507
  persistent: "",
2490
- class: C(["flex", { "flex-col-reverse": l(u), "items-center justify-center gap-2": !l(u) }]),
2491
2508
  "wrapper-class": "w-auto",
2492
2509
  title: l(r),
2493
- "title-hidden": l(a)
2510
+ "title-hidden": l(a),
2511
+ class: _({ "flex-col-reverse": l(u), "flex-row items-center justify-center gap-2": !l(u) })
2494
2512
  }, {
2495
- default: m(() => [
2496
- l(u) ? (o(), f(aa, {
2513
+ default: f(() => [
2514
+ l(u) ? (i(), m(aa, {
2497
2515
  key: 0,
2498
- progress: i.progress,
2499
- job: i.job,
2516
+ progress: o.progress,
2517
+ job: o.job,
2500
2518
  class: "min-w-[min(400px,80vw)]"
2501
- }, null, 8, ["progress", "job"])) : (o(), f(l(sa), {
2519
+ }, null, 8, ["progress", "job"])) : (i(), m(l(sa), {
2502
2520
  key: 1,
2503
2521
  class: "text-primary-600 mr-1 size-6"
2504
2522
  })),
@@ -2507,7 +2525,7 @@ const oa = /* @__PURE__ */ h({
2507
2525
  _: 1
2508
2526
  }, 8, ["title", "title-hidden", "class"]));
2509
2527
  }
2510
- }), Be = /* @__PURE__ */ h({
2528
+ }), Be = /* @__PURE__ */ g({
2511
2529
  __name: "HeadlessInput",
2512
2530
  props: {
2513
2531
  name: {},
@@ -2529,53 +2547,53 @@ const oa = /* @__PURE__ */ h({
2529
2547
  if (!(!t.name || !n))
2530
2548
  return n.getFieldRules(t.name).includes("required");
2531
2549
  }),
2532
- update(i) {
2550
+ update(o) {
2533
2551
  if (n && t.name) {
2534
- n.setFieldValue(t.name, i);
2552
+ n.setFieldValue(t.name, o);
2535
2553
  return;
2536
2554
  }
2537
- r("update:modelValue", i);
2555
+ r("update:modelValue", o);
2538
2556
  }
2539
2557
  };
2540
- return pe("input", u), s(u), (i, p) => (o(), f(ee(i.as), null, {
2541
- default: m(() => [
2542
- $(i.$slots, "default")
2558
+ return pe("input", u), s(u), (o, p) => (i(), m(ee(o.as), null, {
2559
+ default: f(() => [
2560
+ $(o.$slots, "default")
2543
2561
  ]),
2544
2562
  _: 3
2545
2563
  }));
2546
2564
  }
2547
- }), ia = ["for"], ye = /* @__PURE__ */ h({
2565
+ }), oa = ["for"], ye = /* @__PURE__ */ g({
2548
2566
  __name: "HeadlessInputLabel",
2549
2567
  setup(t) {
2550
- const s = R("input", "<HeadlessInputLabel> must be a child of a <HeadlessInput>"), e = Ie(), r = c(() => !!(s.label || e.default));
2551
- return (n, a) => r.value ? (o(), y("label", {
2568
+ const s = q("input", "<HeadlessInputLabel> must be a child of a <HeadlessInput>"), e = Ie(), r = c(() => !!(s.label || e.default));
2569
+ return (n, a) => r.value ? (i(), b("label", {
2552
2570
  key: 0,
2553
2571
  for: l(s).id
2554
2572
  }, [
2555
2573
  $(n.$slots, "default", {}, () => [
2556
2574
  L(x(l(s).label), 1)
2557
2575
  ])
2558
- ], 8, ia)) : M("", !0);
2576
+ ], 8, oa)) : E("", !0);
2559
2577
  }
2560
- }), ua = ["id", "name", "checked", "type", "required", "aria-invalid", "aria-describedby"], It = /* @__PURE__ */ h({
2578
+ }), ua = ["id", "name", "checked", "type", "required", "aria-invalid", "aria-describedby"], zt = /* @__PURE__ */ g({
2561
2579
  __name: "HeadlessInputInput",
2562
2580
  props: {
2563
2581
  type: {}
2564
2582
  },
2565
2583
  setup(t) {
2566
- const s = te("$inputRef"), e = R("input", "<HeadlessInputInput> must be a child of a <HeadlessInput>"), r = Y("form", null), n = c(() => e.name ?? void 0), a = c(() => e.value), u = c(() => {
2584
+ const s = te("$inputRef"), e = q("input", "<HeadlessInputInput> must be a child of a <HeadlessInput>"), r = Y("form", null), n = c(() => e.name ?? void 0), a = c(() => e.value), u = c(() => {
2567
2585
  if (t.type)
2568
2586
  return t.type;
2569
2587
  const w = (n.value && (r == null ? void 0 : r.getFieldType(n.value))) ?? "";
2570
2588
  return ["text", "email", "number", "tel", "url"].includes(w) ? w : "text";
2571
- }), i = c(() => {
2589
+ }), o = c(() => {
2572
2590
  if (u.value === "checkbox")
2573
2591
  return !!a.value;
2574
2592
  });
2575
2593
  function p() {
2576
- s.value && e.update(g());
2594
+ s.value && e.update(v());
2577
2595
  }
2578
- function g() {
2596
+ function v() {
2579
2597
  if (!s.value)
2580
2598
  return null;
2581
2599
  switch (u.value) {
@@ -2584,7 +2602,7 @@ const oa = /* @__PURE__ */ h({
2584
2602
  case "date":
2585
2603
  case "time":
2586
2604
  case "datetime-local":
2587
- return new Date(Math.round(s.value.valueAsNumber / 6e4) * 6e4 + Ze);
2605
+ return new Date(Math.round(s.value.valueAsNumber / 6e4) * 6e4 + Xe);
2588
2606
  case "number":
2589
2607
  return s.value.valueAsNumber;
2590
2608
  default:
@@ -2598,16 +2616,16 @@ const oa = /* @__PURE__ */ h({
2598
2616
  if (s.value) {
2599
2617
  if (["date", "time", "datetime-local"].includes(u.value) && a.value instanceof Date) {
2600
2618
  const w = Math.round(a.value.getTime() / 6e4) * 6e4;
2601
- s.value.valueAsNumber = w - Ze, e.update(new Date(w));
2619
+ s.value.valueAsNumber = w - Xe, e.update(new Date(w));
2602
2620
  return;
2603
2621
  }
2604
2622
  s.value.value = a.value ?? null;
2605
2623
  }
2606
- }), (w, v) => (o(), y("input", {
2624
+ }), (w, h) => (i(), b("input", {
2607
2625
  id: l(e).id,
2608
2626
  ref: "$inputRef",
2609
2627
  name: n.value,
2610
- checked: i.value,
2628
+ checked: o.value,
2611
2629
  type: u.value,
2612
2630
  required: l(e).required ?? void 0,
2613
2631
  "aria-invalid": l(e).errors ? "true" : "false",
@@ -2615,36 +2633,36 @@ const oa = /* @__PURE__ */ h({
2615
2633
  onInput: p
2616
2634
  }, null, 40, ua));
2617
2635
  }
2618
- }), zt = /* @__PURE__ */ h({
2636
+ }), Rt = /* @__PURE__ */ g({
2619
2637
  inheritAttrs: !1,
2620
2638
  __name: "HeadlessInputDescription",
2621
2639
  setup(t) {
2622
- const s = R(
2640
+ const s = q(
2623
2641
  "input",
2624
2642
  "<HeadlessInputDescription> must be a child of a <HeadlessInput>"
2625
2643
  ), e = c(() => typeof s.description == "string" ? s.description : ""), r = c(() => !!s.description);
2626
2644
  return (n, a) => $(n.$slots, "default", {
2627
2645
  id: `${l(s).id}-description`
2628
2646
  }, () => [
2629
- r.value ? (o(), f(z, H({ key: 0 }, n.$attrs, {
2647
+ r.value ? (i(), m(z, H({ key: 0 }, n.$attrs, {
2630
2648
  id: `${l(s).id}-description`,
2631
2649
  text: e.value
2632
- }), null, 16, ["id", "text"])) : M("", !0)
2650
+ }), null, 16, ["id", "text"])) : E("", !0)
2633
2651
  ]);
2634
2652
  }
2635
- }), ca = ["id"], we = /* @__PURE__ */ h({
2653
+ }), ca = ["id"], we = /* @__PURE__ */ g({
2636
2654
  __name: "HeadlessInputError",
2637
2655
  setup(t) {
2638
- const s = R("input", "<HeadlessInputError> must be a child of a <HeadlessInput>"), e = c(() => s.errors ? S(`errors.${s.errors[0]}`, `Error: ${s.errors[0]}`) : null);
2639
- return (r, n) => e.value ? (o(), y("p", {
2656
+ const s = q("input", "<HeadlessInputError> must be a child of a <HeadlessInput>"), e = c(() => s.errors ? S(`errors.${s.errors[0]}`, `Error: ${s.errors[0]}`) : null);
2657
+ return (r, n) => e.value ? (i(), b("p", {
2640
2658
  key: 0,
2641
2659
  id: `${l(s).id}-error`
2642
- }, x(e.value), 9, ca)) : M("", !0);
2660
+ }, x(e.value), 9, ca)) : E("", !0);
2643
2661
  }
2644
2662
  }), da = {
2645
2663
  key: 0,
2646
2664
  class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"
2647
- }, pa = /* @__PURE__ */ h({
2665
+ }, pa = /* @__PURE__ */ g({
2648
2666
  inheritAttrs: !1,
2649
2667
  __name: "Input",
2650
2668
  props: {
@@ -2653,65 +2671,71 @@ const oa = /* @__PURE__ */ h({
2653
2671
  description: {},
2654
2672
  modelValue: {},
2655
2673
  inputClass: {},
2656
- wrapperClass: {}
2674
+ wrapperClass: {},
2675
+ descriptionClass: {},
2676
+ errorClass: {}
2657
2677
  },
2658
2678
  emits: ["update:modelValue"],
2659
2679
  setup(t) {
2660
- const s = K(t, ["label", "inputClass", "wrapperClass"]), e = te("$inputRef"), [r, n] = Ae(), a = c(() => E("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = c(() => {
2661
- var i, p, g;
2662
- return E(
2680
+ const s = K(t, ["label", "inputClass", "wrapperClass", "descriptionClass", "errorClass"]), e = te("$inputRef"), [r, n] = Pe(), a = c(() => T("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = c(() => T("mt-2 text-sm text-gray-600", t.descriptionClass)), o = c(() => T("mt-2 text-sm text-red-600", t.errorClass)), p = c(() => {
2681
+ var v, w, h;
2682
+ return T(
2663
2683
  // eslint-disable-next-line vue/max-len
2664
2684
  "block w-full rounded-md border-0 py-1.5 ring-1 ring-inset focus:ring-2 focus:ring-inset sm:text-sm sm:leading-6",
2665
2685
  {
2666
- "focus:ring-primary-600": !((i = e.value) != null && i.errors),
2667
- "text-gray-900 shadow-2xs ring-gray-900/10 placeholder:text-gray-400": !((p = e.value) != null && p.errors),
2668
- "pr-10 text-red-900 ring-red-900/10 placeholder:text-red-300 focus:ring-red-500": (g = e.value) == null ? void 0 : g.errors
2686
+ "focus:ring-primary-600": !((v = e.value) != null && v.errors),
2687
+ "text-gray-900 shadow-2xs ring-gray-900/10 placeholder:text-gray-400": !((w = e.value) != null && w.errors),
2688
+ "pr-10 text-red-900 ring-red-900/10 placeholder:text-red-300 focus:ring-red-500": (h = e.value) == null ? void 0 : h.errors
2669
2689
  },
2670
2690
  t.inputClass
2671
2691
  );
2672
2692
  });
2673
- return (i, p) => (o(), f(Be, H({
2693
+ return (v, w) => (i(), m(Be, H({
2674
2694
  ref: "$inputRef",
2675
- label: i.label,
2695
+ label: v.label,
2676
2696
  class: l(n)
2677
2697
  }, s, {
2678
- "onUpdate:modelValue": p[0] || (p[0] = (g) => i.$emit("update:modelValue", g))
2698
+ "onUpdate:modelValue": w[0] || (w[0] = (h) => v.$emit("update:modelValue", h))
2679
2699
  }), {
2680
- default: m(() => {
2681
- var g;
2700
+ default: f(() => {
2701
+ var h;
2682
2702
  return [
2683
2703
  d(ye, { class: "block text-sm leading-6 font-medium text-gray-900" }),
2684
- b("div", {
2685
- class: C(a.value)
2704
+ y("div", {
2705
+ class: _(a.value)
2686
2706
  }, [
2687
- d(It, H(l(r), { class: u.value }), null, 16, ["class"]),
2688
- (g = e.value) != null && g.errors ? (o(), y("div", da, [
2707
+ d(zt, H(l(r), { class: p.value }), null, 16, ["class"]),
2708
+ (h = e.value) != null && h.errors ? (i(), b("div", da, [
2689
2709
  d(l(De), { class: "size-5 text-red-500" })
2690
- ])) : M("", !0)
2710
+ ])) : E("", !0)
2691
2711
  ], 2),
2692
- d(zt, { class: "mt-2 text-sm text-gray-600" }),
2693
- d(we, { class: "mt-2 text-sm text-red-600" })
2712
+ d(Rt, {
2713
+ class: _(u.value)
2714
+ }, null, 8, ["class"]),
2715
+ d(we, {
2716
+ class: _(o.value)
2717
+ }, null, 8, ["class"])
2694
2718
  ];
2695
2719
  }),
2696
2720
  _: 1
2697
2721
  }, 16, ["label", "class"]));
2698
2722
  }
2699
2723
  });
2700
- function Dl(t, s = {}) {
2724
+ function Pl(t, s = {}) {
2701
2725
  return {
2702
2726
  default: t,
2703
2727
  type: "boolean",
2704
2728
  rules: s.rules
2705
2729
  };
2706
2730
  }
2707
- function Bl(t, s = {}) {
2731
+ function Al(t, s = {}) {
2708
2732
  return {
2709
2733
  default: t,
2710
2734
  type: "date",
2711
2735
  rules: s.rules
2712
2736
  };
2713
2737
  }
2714
- function jl(t, s, e = {}) {
2738
+ function Dl(t, s, e = {}) {
2715
2739
  return {
2716
2740
  default: s,
2717
2741
  type: "enum",
@@ -2719,21 +2743,21 @@ function jl(t, s, e = {}) {
2719
2743
  values: t
2720
2744
  };
2721
2745
  }
2722
- function Fl(t) {
2746
+ function Bl(t) {
2723
2747
  return {
2724
2748
  default: t,
2725
2749
  type: "boolean",
2726
2750
  rules: "required"
2727
2751
  };
2728
2752
  }
2729
- function Ul(t) {
2753
+ function jl(t) {
2730
2754
  return {
2731
2755
  default: t,
2732
2756
  type: "date",
2733
2757
  rules: "required"
2734
2758
  };
2735
2759
  }
2736
- function Ol(t, s) {
2760
+ function Fl(t, s) {
2737
2761
  return {
2738
2762
  default: s,
2739
2763
  type: "enum",
@@ -2741,55 +2765,55 @@ function Ol(t, s) {
2741
2765
  values: t
2742
2766
  };
2743
2767
  }
2744
- function Nl(t) {
2768
+ function Ol(t) {
2745
2769
  return {
2746
2770
  default: t,
2747
2771
  type: "number",
2748
2772
  rules: "required"
2749
2773
  };
2750
2774
  }
2751
- function Wl(t) {
2775
+ function Ul(t) {
2752
2776
  return {
2753
2777
  default: t,
2754
2778
  type: "object",
2755
2779
  rules: "required"
2756
2780
  };
2757
2781
  }
2758
- function ma(t) {
2782
+ function fa(t) {
2759
2783
  return {
2760
2784
  default: t,
2761
2785
  type: "string",
2762
2786
  rules: "required"
2763
2787
  };
2764
2788
  }
2765
- function Kl(t, s = {}) {
2789
+ function Nl(t, s = {}) {
2766
2790
  return {
2767
2791
  default: t,
2768
2792
  type: "number",
2769
2793
  rules: s.rules
2770
2794
  };
2771
2795
  }
2772
- function Ql(t, s = {}) {
2796
+ function Wl(t, s = {}) {
2773
2797
  return {
2774
2798
  default: t,
2775
2799
  type: "object",
2776
2800
  rules: s.rules
2777
2801
  };
2778
2802
  }
2779
- function Jl(t, s = {}) {
2803
+ function Kl(t, s = {}) {
2780
2804
  return {
2781
2805
  default: t,
2782
2806
  type: "string",
2783
2807
  rules: s.rules
2784
2808
  };
2785
2809
  }
2786
- function fa(t) {
2787
- const s = ft({
2788
- draft: ma(t.defaultValue ?? "")
2810
+ function ma(t) {
2811
+ const s = ht({
2812
+ draft: fa(t.defaultValue ?? "")
2789
2813
  }), e = c(() => t.title ?? t.message), r = c(() => t.title ? t.message : null), n = c(() => t.acceptText ?? S("ui.accept", "Ok")), a = c(() => t.cancelText ?? S("ui.cancel", "Cancel"));
2790
2814
  return { form: s, renderedTitle: e, renderedMessage: r, renderedAcceptText: n, renderedCancelText: a };
2791
2815
  }
2792
- const ha = { class: "mt-4 flex flex-row-reverse gap-2" }, ga = /* @__PURE__ */ h({
2816
+ const ha = { class: "mt-4 flex flex-row-reverse gap-2" }, ga = /* @__PURE__ */ g({
2793
2817
  __name: "PromptModal",
2794
2818
  props: {
2795
2819
  title: {},
@@ -2804,43 +2828,43 @@ const ha = { class: "mt-4 flex flex-row-reverse gap-2" }, ga = /* @__PURE__ */ h
2804
2828
  },
2805
2829
  emits: ["close"],
2806
2830
  setup(t, { expose: s }) {
2807
- const e = K(t, ["cancelVariant"]), { form: r, renderedTitle: n, renderedMessage: a, renderedAcceptText: u, renderedCancelText: i } = fa(e);
2808
- return s(), (p, g) => (o(), f(ne, {
2831
+ const e = K(t, ["cancelVariant"]), { form: r, renderedTitle: n, renderedMessage: a, renderedAcceptText: u, renderedCancelText: o } = ma(e);
2832
+ return s(), (p, v) => (i(), m(ne, {
2809
2833
  title: l(n),
2810
2834
  persistent: ""
2811
2835
  }, {
2812
- default: m(({ close: w }) => [
2813
- d(Vt, {
2836
+ default: f(({ close: w }) => [
2837
+ d(Lt, {
2814
2838
  form: l(r),
2815
- onSubmit: (v) => w(l(r).draft)
2839
+ onSubmit: (h) => w(l(r).draft)
2816
2840
  }, {
2817
- default: m(() => [
2818
- l(a) ? (o(), f(z, {
2841
+ default: f(() => [
2842
+ l(a) ? (i(), m(z, {
2819
2843
  key: 0,
2820
2844
  text: l(a)
2821
- }, null, 8, ["text"])) : M("", !0),
2845
+ }, null, 8, ["text"])) : E("", !0),
2822
2846
  d(pa, {
2823
2847
  name: "draft",
2824
2848
  class: "mt-2",
2825
2849
  placeholder: p.placeholder,
2826
2850
  label: p.label
2827
2851
  }, null, 8, ["placeholder", "label"]),
2828
- b("div", ha, [
2852
+ y("div", ha, [
2829
2853
  d(I, {
2830
2854
  variant: p.acceptVariant,
2831
2855
  submit: ""
2832
2856
  }, {
2833
- default: m(() => [
2857
+ default: f(() => [
2834
2858
  L(x(l(u)), 1)
2835
2859
  ]),
2836
2860
  _: 1
2837
2861
  }, 8, ["variant"]),
2838
2862
  d(I, {
2839
2863
  variant: p.cancelVariant,
2840
- onClick: (v) => w()
2864
+ onClick: (h) => w()
2841
2865
  }, {
2842
- default: m(() => [
2843
- L(x(l(i)), 1)
2866
+ default: f(() => [
2867
+ L(x(l(o)), 1)
2844
2868
  ]),
2845
2869
  _: 2
2846
2870
  }, 1032, ["variant", "onClick"])
@@ -2858,8 +2882,8 @@ const ha = { class: "mt-4 flex flex-row-reverse gap-2" }, ga = /* @__PURE__ */ h
2858
2882
  height: "1.2em"
2859
2883
  };
2860
2884
  function ba(t, s) {
2861
- return o(), y("svg", va, s[0] || (s[0] = [
2862
- b("path", {
2885
+ return i(), b("svg", va, s[0] || (s[0] = [
2886
+ y("path", {
2863
2887
  fill: "currentColor",
2864
2888
  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"
2865
2889
  }, null, -1)
@@ -2871,40 +2895,40 @@ const ya = V({ name: "material-symbols-bug-report", render: ba }), wa = {
2871
2895
  height: "1.2em"
2872
2896
  };
2873
2897
  function $a(t, s) {
2874
- return o(), y("svg", wa, s[0] || (s[0] = [
2875
- b("path", {
2898
+ return i(), b("svg", wa, s[0] || (s[0] = [
2899
+ y("path", {
2876
2900
  fill: "currentColor",
2877
2901
  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"
2878
2902
  }, null, -1)
2879
2903
  ]));
2880
2904
  }
2881
- const _a = V({ name: "material-symbols-delete-forever-rounded", render: $a }), xa = {
2905
+ const _a = V({ name: "material-symbols-delete-forever-rounded", render: $a }), Ca = {
2882
2906
  viewBox: "0 0 24 24",
2883
2907
  width: "1.2em",
2884
2908
  height: "1.2em"
2885
2909
  };
2886
- function Ca(t, s) {
2887
- return o(), y("svg", xa, s[0] || (s[0] = [
2888
- b("path", {
2910
+ function xa(t, s) {
2911
+ return i(), b("svg", Ca, s[0] || (s[0] = [
2912
+ y("path", {
2889
2913
  fill: "currentColor",
2890
2914
  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"
2891
2915
  }, null, -1)
2892
2916
  ]));
2893
2917
  }
2894
- const Sa = V({ name: "material-symbols-frame-inspect", render: Ca }), ka = {
2918
+ const Sa = V({ name: "material-symbols-frame-inspect", render: xa }), ka = {
2895
2919
  viewBox: "0 0 24 24",
2896
2920
  width: "1.2em",
2897
2921
  height: "1.2em"
2898
2922
  };
2899
2923
  function Ta(t, s) {
2900
- return o(), y("svg", ka, s[0] || (s[0] = [
2901
- b("path", {
2924
+ return i(), b("svg", ka, s[0] || (s[0] = [
2925
+ y("path", {
2902
2926
  fill: "currentColor",
2903
2927
  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"
2904
2928
  }, null, -1)
2905
2929
  ]));
2906
2930
  }
2907
- const Ma = V({ name: "material-symbols-refresh-rounded", render: Ta }), Ea = { class: "grid grow place-items-center" }, Ha = { class: "flex flex-col items-center p-8" }, Va = { class: "mt-0 mb-0 text-center text-4xl font-medium text-red-600" }, La = { 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" }, Ia = /* @__PURE__ */ h({
2931
+ const Ma = V({ name: "material-symbols-refresh-rounded", render: Ta }), Ea = { class: "grid grow place-items-center" }, Ha = { class: "flex flex-col items-center p-8" }, Va = { class: "mt-0 mb-0 text-center text-4xl font-medium text-red-600" }, La = { 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" }, Ia = /* @__PURE__ */ g({
2908
2932
  __name: "StartupCrash",
2909
2933
  setup(t) {
2910
2934
  async function s() {
@@ -2920,14 +2944,14 @@ Do you still want to proceed?`
2920
2944
  acceptVariant: "danger",
2921
2945
  acceptText: S("startupCrash.purgeConfirmAccept", "Purge device")
2922
2946
  }
2923
- ) && (await gt.purge(), await P.reload());
2947
+ ) && (await vt.purge(), await R.reload());
2924
2948
  }
2925
2949
  return (e, r) => {
2926
2950
  const n = Qt("i-majesticons-exclamation");
2927
- return o(), y("div", Ea, [
2928
- b("div", Ha, [
2951
+ return i(), b("div", Ea, [
2952
+ y("div", Ha, [
2929
2953
  d(n, { class: "size-20 text-red-600" }),
2930
- b("h1", Va, x(e.$td("startupCrash.title", "Oops, something went wrong!")), 1),
2954
+ y("h1", Va, x(e.$td("startupCrash.title", "Oops, something went wrong!")), 1),
2931
2955
  d(z, {
2932
2956
  text: e.$td(
2933
2957
  "startupCrash.message",
@@ -2935,12 +2959,12 @@ Do you still want to proceed?`
2935
2959
  ),
2936
2960
  class: "mt-4 text-center"
2937
2961
  }, null, 8, ["text"]),
2938
- b("div", La, [
2962
+ y("div", La, [
2939
2963
  d(I, {
2940
2964
  variant: "danger",
2941
2965
  onClick: r[0] || (r[0] = (a) => e.$app.reload())
2942
2966
  }, {
2943
- default: m(() => [
2967
+ default: f(() => [
2944
2968
  d(l(Ma)),
2945
2969
  L(" " + x(e.$td("startupCrash.reload", "Try again")), 1)
2946
2970
  ]),
@@ -2950,7 +2974,7 @@ Do you still want to proceed?`
2950
2974
  variant: "danger",
2951
2975
  onClick: r[1] || (r[1] = (a) => e.$errors.inspect(e.$errors.startupErrors))
2952
2976
  }, {
2953
- default: m(() => [
2977
+ default: f(() => [
2954
2978
  d(l(ya)),
2955
2979
  L(" " + x(e.$td("startupCrash.inspect", "View error details")), 1)
2956
2980
  ]),
@@ -2960,7 +2984,7 @@ Do you still want to proceed?`
2960
2984
  variant: "danger",
2961
2985
  onClick: r[2] || (r[2] = (a) => s())
2962
2986
  }, {
2963
- default: m(() => [
2987
+ default: f(() => [
2964
2988
  d(l(_a)),
2965
2989
  L(" " + x(e.$td("startupCrash.purge", "Purge device")), 1)
2966
2990
  ]),
@@ -2970,7 +2994,7 @@ Do you still want to proceed?`
2970
2994
  variant: "danger",
2971
2995
  onClick: r[3] || (r[3] = (a) => e.$errors.debug = !e.$errors.debug)
2972
2996
  }, {
2973
- default: m(() => [
2997
+ default: f(() => [
2974
2998
  d(l(Sa)),
2975
2999
  L(" " + x(e.$td("startupCrash.debug", "Toggle debugging")), 1)
2976
3000
  ]),
@@ -2981,23 +3005,23 @@ Do you still want to proceed?`
2981
3005
  ]);
2982
3006
  };
2983
3007
  }
2984
- }), Rt = /* @__PURE__ */ h({
3008
+ }), qt = /* @__PURE__ */ g({
2985
3009
  __name: "HeadlessToastAction",
2986
3010
  props: {
2987
3011
  action: {}
2988
3012
  },
2989
3013
  setup(t) {
2990
- return (s, e) => (o(), f(ee(s.action.dismiss ? l(js) : "button"), {
3014
+ return (s, e) => (i(), m(ee(s.action.dismiss ? l(js) : "button"), {
2991
3015
  type: "button",
2992
3016
  onClick: s.action.click
2993
3017
  }, {
2994
- default: m(() => [
3018
+ default: f(() => [
2995
3019
  L(x(s.action.label), 1)
2996
3020
  ]),
2997
3021
  _: 1
2998
3022
  }, 8, ["onClick"]));
2999
3023
  }
3000
- }), za = { key: 0 }, Ra = /* @__PURE__ */ h({
3024
+ }), za = { key: 0 }, Ra = /* @__PURE__ */ g({
3001
3025
  __name: "HeadlessToast",
3002
3026
  props: {
3003
3027
  message: {},
@@ -3005,11 +3029,11 @@ Do you still want to proceed?`
3005
3029
  variant: {}
3006
3030
  },
3007
3031
  setup(t) {
3008
- return (s, e) => (o(), f(l(Fs), null, {
3009
- default: m(() => [
3032
+ return (s, e) => (i(), m(l(Fs), null, {
3033
+ default: f(() => [
3010
3034
  $(s.$slots, "default", {}, () => [
3011
- s.message ? (o(), y("span", za, x(s.message), 1)) : M("", !0),
3012
- (o(!0), y(D, null, U(s.actions, (r, n) => (o(), f(Rt, {
3035
+ s.message ? (i(), b("span", za, x(s.message), 1)) : E("", !0),
3036
+ (i(!0), b(D, null, O(s.actions, (r, n) => (i(), m(qt, {
3013
3037
  key: n,
3014
3038
  action: r
3015
3039
  }, null, 8, ["action"]))), 128))
@@ -3018,7 +3042,7 @@ Do you still want to proceed?`
3018
3042
  _: 3
3019
3043
  }));
3020
3044
  }
3021
- }), qa = /* @__PURE__ */ h({
3045
+ }), qa = /* @__PURE__ */ g({
3022
3046
  __name: "Toast",
3023
3047
  props: {
3024
3048
  message: {},
@@ -3027,7 +3051,7 @@ Do you still want to proceed?`
3027
3051
  class: {}
3028
3052
  },
3029
3053
  setup(t, { expose: s }) {
3030
- const e = c(() => pt(
3054
+ const e = c(() => ft(
3031
3055
  { baseClasses: t.class, variant: t.variant },
3032
3056
  {
3033
3057
  baseClasses: "flex items-center gap-2 rounded-md p-2 ring-1 shadow-lg border-gray-200",
@@ -3043,32 +3067,32 @@ Do you still want to proceed?`
3043
3067
  }
3044
3068
  }
3045
3069
  ));
3046
- return s(), (r, n) => (o(), f(Ra, {
3047
- class: C(e.value)
3070
+ return s(), (r, n) => (i(), m(Ra, {
3071
+ class: _(e.value)
3048
3072
  }, {
3049
- default: m(() => [
3050
- r.message ? (o(), f(z, {
3073
+ default: f(() => [
3074
+ r.message ? (i(), m(z, {
3051
3075
  key: 0,
3052
3076
  text: r.message,
3053
3077
  inline: ""
3054
- }, null, 8, ["text"])) : M("", !0),
3055
- (o(!0), y(D, null, U(r.actions, (a, u) => (o(), f(I, {
3078
+ }, null, 8, ["text"])) : E("", !0),
3079
+ (i(!0), b(D, null, O(r.actions, (a, u) => (i(), m(I, {
3056
3080
  key: u,
3057
3081
  action: a,
3058
3082
  variant: r.variant,
3059
- as: Rt
3083
+ as: qt
3060
3084
  }, null, 8, ["action", "variant"]))), 128))
3061
3085
  ]),
3062
3086
  _: 1
3063
3087
  }, 8, ["class"]));
3064
3088
  }
3065
- }), Aa = { $ui: A }, Pa = {
3089
+ }), Pa = { $ui: A }, Aa = {
3066
3090
  async install(t, s) {
3067
3091
  const e = {
3068
3092
  "alert-modal": bn,
3069
3093
  "confirm-modal": Sn,
3070
3094
  "error-report-modal": Gn,
3071
- "loading-modal": oa,
3095
+ "loading-modal": ia,
3072
3096
  "prompt-modal": ga,
3073
3097
  "startup-crash": Ia,
3074
3098
  toast: qa,
@@ -3076,55 +3100,55 @@ Do you still want to proceed?`
3076
3100
  };
3077
3101
  for (const [r, n] of Object.entries(e))
3078
3102
  A.registerComponent(r, n);
3079
- await ke(t, Aa);
3103
+ await ke(t, Pa);
3080
3104
  }
3081
3105
  };
3082
3106
  async function Da(t, s = {}) {
3083
3107
  var r;
3084
- const e = [an, _r, nn, Or, kr, Pa, ...s.plugins ?? []];
3085
- P.instance = t, await rr(e, t, s), await ((r = s.install) == null ? void 0 : r.call(s, t)), await F.emit("application-ready");
3108
+ const e = [an, _r, nn, Ur, kr, Aa, ...s.plugins ?? []];
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");
3086
3110
  }
3087
- async function Zl(t, s = {}) {
3111
+ async function Ql(t, s = {}) {
3088
3112
  var r;
3089
3113
  const e = Jt(t);
3090
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");
3091
3115
  }
3092
- const Ba = /* @__PURE__ */ h({
3116
+ const Ba = /* @__PURE__ */ g({
3093
3117
  __name: "AppToasts",
3094
3118
  setup(t) {
3095
- return (s, e) => (o(), f(l(Us), null, {
3096
- default: m(() => [
3097
- (o(!0), y(D, null, U(s.$ui.toasts, (r) => (o(), f(ee(r.component), H({
3119
+ return (s, e) => (i(), m(l(Os), null, {
3120
+ default: f(() => [
3121
+ (i(!0), b(D, null, O(s.$ui.toasts, (r) => (i(), m(ee(r.component), H({
3098
3122
  id: r.id,
3099
3123
  key: r.id
3100
3124
  }, { ref_for: !0 }, r.properties), null, 16, ["id"]))), 128)),
3101
- d(l(Os), { class: "fixed right-0 bottom-0 z-50 flex flex-col items-end space-y-4 px-4 py-6 sm:p-6" })
3125
+ d(l(Us), { class: "fixed right-0 bottom-0 z-50 flex flex-col items-end space-y-4 px-4 py-6 sm:p-6" })
3102
3126
  ]),
3103
3127
  _: 1
3104
3128
  }));
3105
3129
  }
3106
- }), ja = /* @__PURE__ */ h({
3130
+ }), ja = /* @__PURE__ */ g({
3107
3131
  __name: "AppOverlays",
3108
3132
  setup(t) {
3109
- return (s, e) => (o(), y(D, null, [
3133
+ return (s, e) => (i(), b(D, null, [
3110
3134
  d(l(ys), { nested: "" }),
3111
3135
  d(Ba)
3112
3136
  ], 64));
3113
3137
  }
3114
- }), Fa = { class: "flex min-h-full flex-col text-base leading-tight font-normal text-gray-900 antialiased" }, Xl = /* @__PURE__ */ h({
3138
+ }), Fa = { class: "text-primary-text flex min-h-full flex-col text-base leading-tight font-normal antialiased" }, Jl = /* @__PURE__ */ g({
3115
3139
  __name: "AppLayout",
3116
3140
  setup(t) {
3117
- return (s, e) => (o(), y("div", Fa, [
3141
+ return (s, e) => (i(), b("div", Fa, [
3118
3142
  s.$errors.hasStartupErrors ? $(s.$slots, "startup-crash", { key: 0 }, () => [
3119
- (o(), f(ee(s.$ui.requireComponent("startup-crash"))))
3143
+ (i(), m(ee(s.$ui.requireComponent("startup-crash"))))
3120
3144
  ]) : $(s.$slots, "default", { key: 1 }),
3121
3145
  d(ja)
3122
3146
  ]));
3123
3147
  }
3124
- }), Ua = ["id", "name", "value", "required", "aria-invalid", "aria-describedby"], Oa = /* @__PURE__ */ h({
3148
+ }), Oa = ["id", "name", "value", "required", "aria-invalid", "aria-describedby"], Ua = /* @__PURE__ */ g({
3125
3149
  __name: "HeadlessInputTextArea",
3126
3150
  setup(t) {
3127
- const s = te("$textAreaRef"), e = R(
3151
+ const s = te("$textAreaRef"), e = q(
3128
3152
  "input",
3129
3153
  "<HeadlessInputTextArea> must be a child of a <HeadlessInput>"
3130
3154
  ), r = c(() => e.name ?? void 0), n = c(() => e.value);
@@ -3134,7 +3158,7 @@ const Ba = /* @__PURE__ */ h({
3134
3158
  return mt(e, () => {
3135
3159
  var u;
3136
3160
  return (u = s.value) == null ? void 0 : u.focus();
3137
- }), (u, i) => (o(), y("textarea", {
3161
+ }), (u, o) => (i(), b("textarea", {
3138
3162
  id: l(e).id,
3139
3163
  ref: "$textAreaRef",
3140
3164
  name: r.value,
@@ -3143,37 +3167,51 @@ const Ba = /* @__PURE__ */ h({
3143
3167
  "aria-invalid": l(e).errors ? "true" : "false",
3144
3168
  "aria-describedby": l(e).errors ? `${l(e).id}-error` : l(e).description ? `${l(e).id}-description` : void 0,
3145
3169
  onInput: a
3146
- }, null, 40, Ua));
3170
+ }, null, 40, Oa));
3147
3171
  }
3148
- }), Na = { class: "group" }, Wa = { 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" }, Ka = { class: "pt-2 pl-4" }, Qa = /* @__PURE__ */ h({
3172
+ }), Na = { class: "group" }, Wa = /* @__PURE__ */ g({
3149
3173
  __name: "Details",
3150
3174
  props: {
3151
- label: {}
3175
+ label: { default: () => {
3176
+ } },
3177
+ contentClass: {},
3178
+ summaryClass: {}
3152
3179
  },
3153
3180
  setup(t) {
3154
- return (s, e) => (o(), y("details", Na, [
3155
- b("summary", Wa, [
3156
- d(l(Lt), { class: "size-6 transition-transform group-open:rotate-90" }),
3157
- b("span", null, x(s.label), 1)
3158
- ]),
3159
- b("div", Ka, [
3160
- $(s.$slots, "default")
3161
- ])
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
+ }, [
3190
+ d(l(It), { class: "size-6 transition-transform group-open:rotate-90" }),
3191
+ $(r.$slots, "label", {}, () => [
3192
+ y("span", null, x(r.label ?? r.$td("ui.details", "Details")), 1)
3193
+ ])
3194
+ ], 2),
3195
+ y("div", {
3196
+ class: _(s.value)
3197
+ }, [
3198
+ $(r.$slots, "default")
3199
+ ], 2)
3162
3200
  ]));
3163
3201
  }
3164
- }), Yl = /* @__PURE__ */ h({
3202
+ }), Zl = /* @__PURE__ */ g({
3165
3203
  __name: "AdvancedOptions",
3166
3204
  setup(t) {
3167
- return (s, e) => (o(), f(Qa, {
3205
+ return (s, e) => (i(), m(Wa, {
3168
3206
  label: s.$td("ui.advancedOptions", "Advanced options")
3169
3207
  }, {
3170
- default: m(() => [
3208
+ default: f(() => [
3171
3209
  $(s.$slots, "default")
3172
3210
  ]),
3173
3211
  _: 3
3174
3212
  }, 8, ["label"]));
3175
3213
  }
3176
- }), Ja = { class: "flex h-6 items-center" }, Gl = /* @__PURE__ */ h({
3214
+ }), Ka = { class: "flex h-6 items-center" }, Xl = /* @__PURE__ */ g({
3177
3215
  inheritAttrs: !1,
3178
3216
  __name: "Checkbox",
3179
3217
  props: {
@@ -3186,53 +3224,53 @@ const Ba = /* @__PURE__ */ h({
3186
3224
  },
3187
3225
  emits: ["update:modelValue"],
3188
3226
  setup(t) {
3189
- const s = K(t, ["inputClass", "labelClass"]), e = te("$inputRef"), [r, n] = Ae(), a = c(() => E("relative flex items-start", n.value)), u = c(() => {
3190
- var p, g;
3191
- return E(
3227
+ const s = K(t, ["inputClass", "labelClass"]), e = te("$inputRef"), [r, n] = Pe(), a = c(() => T("relative flex items-start", n.value)), u = c(() => {
3228
+ var p, v;
3229
+ return T(
3192
3230
  "size-4 rounded text-primary-600 not-checked:hover:bg-gray-200 checked:hover:text-primary-500 checked:border-0",
3193
3231
  {
3194
3232
  "border-gray-300 focus:ring-primary-600": !((p = e.value) != null && p.errors),
3195
- "border-red-400 border-2 focus:ring-red-600": (g = e.value) == null ? void 0 : g.errors
3233
+ "border-red-400 border-2 focus:ring-red-600": (v = e.value) == null ? void 0 : v.errors
3196
3234
  },
3197
3235
  t.inputClass
3198
3236
  );
3199
- }), i = c(() => E("ml-2 text-sm leading-6", t.labelClass));
3200
- return (p, g) => (o(), f(Be, H({
3237
+ }), o = c(() => T("ml-2 text-sm leading-6", t.labelClass));
3238
+ return (p, v) => (i(), m(Be, H({
3201
3239
  ref: "$inputRef",
3202
3240
  class: a.value
3203
3241
  }, s, {
3204
- "onUpdate:modelValue": g[0] || (g[0] = (w) => p.$emit("update:modelValue", w))
3242
+ "onUpdate:modelValue": v[0] || (v[0] = (w) => p.$emit("update:modelValue", w))
3205
3243
  }), {
3206
- default: m(() => [
3207
- b("div", Ja, [
3208
- d(It, H(l(r), {
3244
+ default: f(() => [
3245
+ y("div", Ka, [
3246
+ d(zt, H(l(r), {
3209
3247
  type: "checkbox",
3210
3248
  class: u.value
3211
3249
  }), null, 16, ["class"])
3212
3250
  ]),
3213
- p.$slots.default ? (o(), y("div", {
3251
+ p.$slots.default ? (i(), b("div", {
3214
3252
  key: 0,
3215
- class: C(i.value)
3253
+ class: _(o.value)
3216
3254
  }, [
3217
3255
  d(ye, { class: "text-gray-900" }, {
3218
- default: m(() => [
3256
+ default: f(() => [
3219
3257
  $(p.$slots, "default")
3220
3258
  ]),
3221
3259
  _: 3
3222
3260
  }),
3223
3261
  d(we, { class: "text-red-600" })
3224
- ], 2)) : p.label ? (o(), y("div", {
3262
+ ], 2)) : p.label ? (i(), b("div", {
3225
3263
  key: 1,
3226
- class: C(i.value)
3264
+ class: _(o.value)
3227
3265
  }, [
3228
3266
  d(ye, { class: "text-gray-900" }),
3229
3267
  d(we, { class: "text-red-600" })
3230
- ], 2)) : M("", !0)
3268
+ ], 2)) : E("", !0)
3231
3269
  ]),
3232
3270
  _: 3
3233
3271
  }, 16, ["class"]));
3234
3272
  }
3235
- }), Za = /* @__PURE__ */ h({
3273
+ }), Qa = /* @__PURE__ */ g({
3236
3274
  __name: "DropdownMenuOption",
3237
3275
  props: {
3238
3276
  class: {},
@@ -3241,37 +3279,37 @@ const Ba = /* @__PURE__ */ h({
3241
3279
  },
3242
3280
  emits: ["select"],
3243
3281
  setup(t) {
3244
- const s = K(t, ["class"]), e = c(() => E(
3282
+ const s = K(t, ["class"]), e = c(() => T(
3245
3283
  "flex w-full items-center gap-2 rounded-lg px-2 py-2 text-sm text-gray-900 data-[highlighted]:bg-gray-100",
3246
3284
  t.class
3247
3285
  ));
3248
- return (r, n) => (o(), f(l(Ns), H({ class: e.value }, s, {
3286
+ return (r, n) => (i(), m(l(Ns), H({ class: e.value }, s, {
3249
3287
  onSelect: n[0] || (n[0] = (a) => r.$emit("select"))
3250
3288
  }), {
3251
- default: m(() => [
3289
+ default: f(() => [
3252
3290
  $(r.$slots, "default")
3253
3291
  ]),
3254
3292
  _: 3
3255
3293
  }, 16, ["class"]));
3256
3294
  }
3257
- }), Xa = /* @__PURE__ */ h({
3295
+ }), Ja = /* @__PURE__ */ g({
3258
3296
  __name: "DropdownMenuOptions",
3259
3297
  setup(t) {
3260
- const s = R(
3298
+ const s = q(
3261
3299
  "dropdown-menu",
3262
3300
  "<DropdownMenuOptions> must be a child of a <DropdownMenu>"
3263
3301
  );
3264
- return (e, r) => (o(), f(l(Ws), {
3302
+ return (e, r) => (i(), m(l(Ws), {
3265
3303
  class: "gap-y-0.5 rounded-lg bg-white p-1.5 shadow-lg ring-1 ring-black/5",
3266
3304
  align: l(s).align,
3267
3305
  side: l(s).side
3268
3306
  }, {
3269
- default: m(() => [
3307
+ default: f(() => [
3270
3308
  $(e.$slots, "default", {}, () => [
3271
- (o(!0), y(D, null, U(l(s).options, (n, a) => (o(), f(Za, H(
3309
+ (i(!0), b(D, null, O(l(s).options, (n, a) => (i(), m(Qa, H(
3272
3310
  {
3273
3311
  key: a,
3274
- as: n.route || n.href ? $t : void 0,
3312
+ as: n.route || n.href ? _t : void 0,
3275
3313
  class: n.class
3276
3314
  },
3277
3315
  { ref_for: !0 },
@@ -3283,12 +3321,12 @@ const Ba = /* @__PURE__ */ h({
3283
3321
  } : {},
3284
3322
  {
3285
3323
  onSelect: (u) => {
3286
- var i;
3287
- return (i = n.click) == null ? void 0 : i.call(n);
3324
+ var o;
3325
+ return (o = n.click) == null ? void 0 : o.call(n);
3288
3326
  }
3289
3327
  }
3290
3328
  ), {
3291
- default: m(() => [
3329
+ default: f(() => [
3292
3330
  L(x(n.label), 1)
3293
3331
  ]),
3294
3332
  _: 2
@@ -3298,7 +3336,7 @@ const Ba = /* @__PURE__ */ h({
3298
3336
  _: 3
3299
3337
  }, 8, ["align", "side"]));
3300
3338
  }
3301
- }), eo = /* @__PURE__ */ h({
3339
+ }), Yl = /* @__PURE__ */ g({
3302
3340
  __name: "DropdownMenu",
3303
3341
  props: {
3304
3342
  align: {},
@@ -3314,18 +3352,18 @@ const Ba = /* @__PURE__ */ h({
3314
3352
  return (r = t.options) == null ? void 0 : r.filter(Boolean);
3315
3353
  })
3316
3354
  };
3317
- return pe("dropdown-menu", e), s(e), (r, n) => (o(), f(l(Ks), null, {
3318
- default: m(() => [
3355
+ return pe("dropdown-menu", e), s(e), (r, n) => (i(), m(l(Ks), null, {
3356
+ default: f(() => [
3319
3357
  d(l(Qs), null, {
3320
- default: m(() => [
3358
+ default: f(() => [
3321
3359
  $(r.$slots, "default")
3322
3360
  ]),
3323
3361
  _: 3
3324
3362
  }),
3325
3363
  d(l(Js), null, {
3326
- default: m(() => [
3364
+ default: f(() => [
3327
3365
  $(r.$slots, "options", {}, () => [
3328
- d(Xa)
3366
+ d(Ja)
3329
3367
  ])
3330
3368
  ]),
3331
3369
  _: 3
@@ -3334,7 +3372,7 @@ const Ba = /* @__PURE__ */ h({
3334
3372
  _: 3
3335
3373
  }));
3336
3374
  }
3337
- }), Ya = ["aria-hidden"], Ga = ["tabindex", "aria-label", "type"], to = /* @__PURE__ */ h({
3375
+ }), Za = ["aria-hidden"], Xa = ["tabindex", "aria-label", "type"], Gl = /* @__PURE__ */ g({
3338
3376
  __name: "EditableContent",
3339
3377
  props: {
3340
3378
  type: { default: "text" },
@@ -3347,103 +3385,103 @@ const Ba = /* @__PURE__ */ h({
3347
3385
  },
3348
3386
  emits: ["update", "save"],
3349
3387
  setup(t, { emit: s }) {
3350
- const e = s, r = te("$inputRef"), n = N(null), a = N(t.text), u = c(() => E("inline whitespace-pre", t.contentClass)), i = c(() => E("invisible whitespace-pre", t.contentClass)), p = c(() => E("absolute inset-0 h-full w-full resize-none border-0 bg-transparent p-0 focus:ring-0", t.contentClass));
3351
- function g() {
3388
+ const e = s, r = te("$inputRef"), n = N(null), a = N(t.text), u = c(() => T("inline whitespace-pre", t.contentClass)), o = c(() => T("invisible whitespace-pre", t.contentClass)), p = c(() => T("absolute inset-0 h-full w-full resize-none border-0 bg-transparent p-0 focus:ring-0", t.contentClass));
3389
+ function v() {
3352
3390
  n.value = t.text;
3353
3391
  }
3354
3392
  function w() {
3355
3393
  n.value && (t.type !== "number" && a.value.trim().length === 0 && (a.value = n.value, e("update", a.value)), n.value = null, e("save"));
3356
3394
  }
3357
- return G(() => a.value = t.text), (v, k) => (o(), y("div", {
3358
- class: C(["relative", { "pointer-events-none!": v.disabled && !n.value }])
3395
+ return G(() => a.value = t.text), (h, k) => (i(), b("div", {
3396
+ class: _(["relative", { "pointer-events-none!": h.disabled && !n.value }])
3359
3397
  }, [
3360
- n.value ? (o(), y("span", {
3398
+ n.value ? (i(), b("span", {
3361
3399
  key: 1,
3362
- class: C(i.value)
3363
- }, x(a.value), 3)) : (o(), y("div", {
3400
+ class: _(o.value)
3401
+ }, x(a.value), 3)) : (i(), b("div", {
3364
3402
  key: 0,
3365
- class: C(u.value)
3403
+ class: _(u.value)
3366
3404
  }, [
3367
- $(v.$slots, "default")
3405
+ $(h.$slots, "default")
3368
3406
  ], 2)),
3369
- v.type === "number" ? (o(), y("span", {
3407
+ h.type === "number" ? (i(), b("span", {
3370
3408
  key: 2,
3371
- class: C(["inline-block transition-[width]", n.value ? "w-5" : "w-0"])
3372
- }, null, 2)) : M("", !0),
3373
- b("form", {
3409
+ class: _(["inline-block transition-[width]", n.value ? "w-5" : "w-0"])
3410
+ }, null, 2)) : E("", !0),
3411
+ y("form", {
3374
3412
  class: "w-full",
3375
- "aria-hidden": v.formAriaHidden,
3376
- onSubmit: k[4] || (k[4] = rt((q) => {
3413
+ "aria-hidden": h.formAriaHidden,
3414
+ onSubmit: k[4] || (k[4] = nt((P) => {
3377
3415
  var Q;
3378
3416
  return (Q = r.value) == null ? void 0 : Q.blur();
3379
3417
  }, ["prevent"]))
3380
3418
  }, [
3381
- nt(b("input", {
3419
+ at(y("input", {
3382
3420
  ref: "$inputRef",
3383
- "onUpdate:modelValue": k[0] || (k[0] = (q) => a.value = q),
3384
- tabindex: v.tabindex ?? void 0,
3385
- "aria-label": v.ariaLabel ?? void 0,
3386
- type: v.type,
3387
- class: C([
3421
+ "onUpdate:modelValue": k[0] || (k[0] = (P) => a.value = P),
3422
+ tabindex: h.tabindex ?? void 0,
3423
+ "aria-label": h.ariaLabel ?? void 0,
3424
+ type: h.type,
3425
+ class: _([
3388
3426
  p.value,
3389
- { "opacity-0": !n.value, "appearance-textfield": !n.value && v.type === "number" }
3427
+ { "opacity-0": !n.value, "appearance-textfield": !n.value && h.type === "number" }
3390
3428
  ]),
3391
- onKeyup: k[1] || (k[1] = (q) => v.$emit("update", a.value)),
3392
- onFocus: k[2] || (k[2] = (q) => g()),
3393
- onBlur: k[3] || (k[3] = (q) => w())
3394
- }, null, 42, Ga), [
3429
+ onKeyup: k[1] || (k[1] = (P) => h.$emit("update", a.value)),
3430
+ onFocus: k[2] || (k[2] = (P) => v()),
3431
+ onBlur: k[3] || (k[3] = (P) => w())
3432
+ }, null, 42, Xa), [
3395
3433
  [Zt, a.value]
3396
3434
  ])
3397
- ], 40, Ya)
3435
+ ], 40, Za)
3398
3436
  ], 2));
3399
3437
  }
3400
- }), el = {
3438
+ }), Ya = {
3401
3439
  viewBox: "0 0 512 512",
3402
3440
  width: "1.2em",
3403
3441
  height: "1.2em"
3404
3442
  };
3405
- function tl(t, s) {
3406
- return o(), y("svg", el, s[0] || (s[0] = [
3407
- b("path", {
3443
+ function Ga(t, s) {
3444
+ return i(), b("svg", Ya, s[0] || (s[0] = [
3445
+ y("path", {
3408
3446
  fill: "currentColor",
3409
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"
3410
3448
  }, null, -1)
3411
3449
  ]));
3412
3450
  }
3413
- const sl = V({ name: "ion-warning", render: tl }), rl = {
3451
+ const el = V({ name: "ion-warning", render: Ga }), tl = {
3414
3452
  viewBox: "0 0 20 20",
3415
3453
  width: "1.2em",
3416
3454
  height: "1.2em"
3417
3455
  };
3418
- function nl(t, s) {
3419
- return o(), y("svg", rl, s[0] || (s[0] = [
3420
- b("path", {
3456
+ function sl(t, s) {
3457
+ return i(), b("svg", tl, s[0] || (s[0] = [
3458
+ y("path", {
3421
3459
  fill: "currentColor",
3422
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"
3423
3461
  }, null, -1)
3424
3462
  ]));
3425
3463
  }
3426
- const al = V({ name: "zondicons-view-show", render: nl }), ll = { class: "font-medium" }, ol = ["datetime"], il = /* @__PURE__ */ h({
3464
+ const rl = V({ name: "zondicons-view-show", render: sl }), nl = { class: "font-medium" }, al = ["datetime"], ll = /* @__PURE__ */ g({
3427
3465
  __name: "ErrorLogsModal",
3428
3466
  setup(t) {
3429
- return (s, e) => (o(), f(ne, {
3467
+ return (s, e) => (i(), m(ne, {
3430
3468
  title: s.$td("errors.report", "Errors ({count})", { count: s.$errors.logs.length })
3431
3469
  }, {
3432
- default: m(() => [
3433
- b("ol", null, [
3434
- (o(!0), y(D, null, U(s.$errors.logs, (r, n) => (o(), y("li", {
3470
+ default: f(() => [
3471
+ y("ol", null, [
3472
+ (i(!0), b(D, null, O(s.$errors.logs, (r, n) => (i(), b("li", {
3435
3473
  key: n,
3436
3474
  class: "mb-2 flex max-w-prose min-w-56 justify-between py-2 last:mb-0"
3437
3475
  }, [
3438
- b("div", null, [
3439
- b("h3", ll, x(r.report.title), 1),
3440
- b("time", {
3476
+ y("div", null, [
3477
+ y("h3", nl, x(r.report.title), 1),
3478
+ y("time", {
3441
3479
  datetime: r.date.toISOString(),
3442
3480
  class: "text-xs text-gray-700"
3443
- }, x(r.date.toLocaleTimeString()), 9, ol),
3481
+ }, x(r.date.toLocaleTimeString()), 9, al),
3444
3482
  d(z, {
3445
3483
  class: "text-sm text-gray-500",
3446
- text: r.report.description ?? l(Ht)(r.report)
3484
+ text: r.report.description ?? l(Vt)(r.report)
3447
3485
  }, null, 8, ["text"])
3448
3486
  ]),
3449
3487
  d(I, {
@@ -3457,8 +3495,8 @@ const al = V({ name: "zondicons-view-show", render: nl }), ll = { class: "font-m
3457
3495
  s.$errors.logs.map(({ report: u }) => u)
3458
3496
  )
3459
3497
  }, {
3460
- default: m(() => [
3461
- d(l(al), {
3498
+ default: f(() => [
3499
+ d(l(rl), {
3462
3500
  class: "size-4",
3463
3501
  "aria-hidden": "true"
3464
3502
  })
@@ -3471,36 +3509,36 @@ const al = V({ name: "zondicons-view-show", render: nl }), ll = { class: "font-m
3471
3509
  _: 1
3472
3510
  }, 8, ["title"]));
3473
3511
  }
3474
- }), so = /* @__PURE__ */ h({
3512
+ }), ei = /* @__PURE__ */ g({
3475
3513
  __name: "ErrorLogs",
3476
3514
  setup(t) {
3477
- return (s, e) => s.$errors.logs.length > 0 ? (o(), f(I, {
3515
+ return (s, e) => s.$errors.logs.length > 0 ? (i(), m(I, {
3478
3516
  key: 0,
3479
3517
  size: "icon",
3480
3518
  variant: "ghost",
3481
3519
  title: s.$td("errors.viewLogs", "View error logs"),
3482
3520
  "aria-label": s.$td("errors.viewLogs", "View error logs"),
3483
- onClick: e[0] || (e[0] = (r) => s.$ui.modal(il))
3521
+ onClick: e[0] || (e[0] = (r) => s.$ui.modal(ll))
3484
3522
  }, {
3485
- default: m(() => [
3486
- d(l(sl), { class: "size-6 text-red-500" })
3523
+ default: f(() => [
3524
+ d(l(el), { class: "size-6 text-red-500" })
3487
3525
  ]),
3488
3526
  _: 1
3489
- }, 8, ["title", "aria-label"])) : M("", !0);
3527
+ }, 8, ["title", "aria-label"])) : E("", !0);
3490
3528
  }
3491
- }), ro = /* @__PURE__ */ h({
3529
+ }), ti = /* @__PURE__ */ g({
3492
3530
  __name: "ErrorMessage",
3493
3531
  props: {
3494
3532
  error: {}
3495
3533
  },
3496
3534
  setup(t) {
3497
- const s = c(() => Ht(t.error));
3498
- return (e, r) => (o(), f(z, {
3535
+ const s = c(() => Vt(t.error));
3536
+ return (e, r) => (i(), m(z, {
3499
3537
  text: s.value,
3500
3538
  inline: ""
3501
3539
  }, null, 8, ["text"]));
3502
3540
  }
3503
- }), no = /* @__PURE__ */ h({
3541
+ }), si = /* @__PURE__ */ g({
3504
3542
  __name: "Link",
3505
3543
  props: {
3506
3544
  class: {},
@@ -3515,30 +3553,31 @@ const al = V({ name: "zondicons-view-show", render: nl }), ll = { class: "font-m
3515
3553
  as: {}
3516
3554
  },
3517
3555
  setup(t) {
3518
- return (s, e) => (o(), f(I, H({ variant: "link" }, s.$props), {
3519
- default: m(() => [
3556
+ return (s, e) => (i(), m(I, H({ variant: "link" }, s.$props), {
3557
+ default: f(() => [
3520
3558
  $(s.$slots, "default")
3521
3559
  ]),
3522
3560
  _: 3
3523
3561
  }, 16));
3524
3562
  }
3525
- }), ao = /* @__PURE__ */ h({
3563
+ }), ri = /* @__PURE__ */ g({
3526
3564
  __name: "SettingsModal",
3527
3565
  setup(t) {
3528
- const s = c(() => os(P.settings, "priority", "desc"));
3529
- return (e, r) => (o(), f(ne, {
3530
- title: e.$td("settings.title", "Settings")
3566
+ const s = c(() => is(R.settings, "priority", "desc"));
3567
+ return (e, r) => (i(), m(ne, {
3568
+ title: e.$td("settings.title", "Settings"),
3569
+ "fullscreen-on-mobile": e.$app.settingsFullscreenOnMobile
3531
3570
  }, {
3532
- default: m(() => [
3533
- (o(!0), y(D, null, U(s.value, (n, a) => (o(), f(ee(n.component), { key: a }))), 128))
3571
+ default: f(() => [
3572
+ (i(!0), b(D, null, O(s.value, (n, a) => (i(), m(ee(n.component), { key: a }))), 128))
3534
3573
  ]),
3535
3574
  _: 1
3536
- }, 8, ["title"]));
3575
+ }, 8, ["title", "fullscreen-on-mobile"]));
3537
3576
  }
3538
- }), ul = {
3577
+ }), il = {
3539
3578
  key: 0,
3540
3579
  class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"
3541
- }, lo = /* @__PURE__ */ h({
3580
+ }, ni = /* @__PURE__ */ g({
3542
3581
  inheritAttrs: !1,
3543
3582
  __name: "TextArea",
3544
3583
  props: {
@@ -3551,39 +3590,39 @@ const al = V({ name: "zondicons-view-show", render: nl }), ll = { class: "font-m
3551
3590
  },
3552
3591
  emits: ["update:modelValue"],
3553
3592
  setup(t) {
3554
- const s = K(t, ["label", "inputClass", "wrapperClass"]), e = te("$inputRef"), [r, n] = Ae(), a = c(() => E("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = c(() => {
3555
- var i, p, g;
3556
- return E(
3593
+ const s = K(t, ["label", "inputClass", "wrapperClass"]), e = te("$inputRef"), [r, n] = Pe(), a = c(() => T("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = c(() => {
3594
+ var o, p, v;
3595
+ return T(
3557
3596
  // eslint-disable-next-line vue/max-len
3558
3597
  "block w-full rounded-md border-0 py-1.5 ring-1 ring-inset focus:ring-2 focus:ring-inset sm:text-sm sm:leading-6",
3559
3598
  {
3560
- "focus:ring-primary-600": !((i = e.value) != null && i.errors),
3599
+ "focus:ring-primary-600": !((o = e.value) != null && o.errors),
3561
3600
  "text-gray-900 shadow-2xs ring-gray-900/10 placeholder:text-gray-400": !((p = e.value) != null && p.errors),
3562
- "pr-10 text-red-900 ring-red-900/10 placeholder:text-red-300 focus:ring-red-500": (g = e.value) == null ? void 0 : g.errors
3601
+ "pr-10 text-red-900 ring-red-900/10 placeholder:text-red-300 focus:ring-red-500": (v = e.value) == null ? void 0 : v.errors
3563
3602
  },
3564
3603
  t.inputClass
3565
3604
  );
3566
3605
  });
3567
- return (i, p) => (o(), f(Be, H({
3606
+ return (o, p) => (i(), m(Be, H({
3568
3607
  ref: "$inputRef",
3569
- label: i.label,
3608
+ label: o.label,
3570
3609
  class: l(n)
3571
3610
  }, s, {
3572
- "onUpdate:modelValue": p[0] || (p[0] = (g) => i.$emit("update:modelValue", g))
3611
+ "onUpdate:modelValue": p[0] || (p[0] = (v) => o.$emit("update:modelValue", v))
3573
3612
  }), {
3574
- default: m(() => {
3575
- var g;
3613
+ default: f(() => {
3614
+ var v;
3576
3615
  return [
3577
3616
  d(ye, { class: "block text-sm leading-6 font-medium text-gray-900" }),
3578
- b("div", {
3579
- class: C(a.value)
3617
+ y("div", {
3618
+ class: _(a.value)
3580
3619
  }, [
3581
- d(Oa, H(l(r), { class: u.value }), null, 16, ["class"]),
3582
- (g = e.value) != null && g.errors ? (o(), y("div", ul, [
3620
+ d(Ua, H(l(r), { class: u.value }), null, 16, ["class"]),
3621
+ (v = e.value) != null && v.errors ? (i(), b("div", il, [
3583
3622
  d(l(De), { class: "size-5 text-red-500" })
3584
- ])) : M("", !0)
3623
+ ])) : E("", !0)
3585
3624
  ], 2),
3586
- d(zt, { class: "mt-2 text-sm text-gray-600" }),
3625
+ d(Rt, { class: "mt-2 text-sm text-gray-600" }),
3587
3626
  d(we, { class: "mt-2 text-sm text-red-600" })
3588
3627
  ];
3589
3628
  }),
@@ -3591,22 +3630,22 @@ const al = V({ name: "zondicons-view-show", render: nl }), ll = { class: "font-m
3591
3630
  }, 16, ["label", "class"]));
3592
3631
  }
3593
3632
  });
3594
- class oo {
3633
+ class ai {
3595
3634
  constructor() {
3596
- _(this, "status");
3597
- _(this, "_listeners");
3598
- _(this, "_progress");
3599
- _(this, "_cancelled");
3600
- _(this, "_started");
3601
- _(this, "_completed");
3602
- this.status = this.getInitialStatus(), this._listeners = new is(), this._started = new J(), this._completed = new J();
3635
+ C(this, "status");
3636
+ C(this, "_listeners");
3637
+ C(this, "_progress");
3638
+ C(this, "_cancelled");
3639
+ C(this, "_started");
3640
+ C(this, "_completed");
3641
+ this.status = this.getInitialStatus(), this._listeners = new os(), this._started = new J(), this._completed = new J();
3603
3642
  }
3604
3643
  async start() {
3605
3644
  this.beforeStart(), this._started.resolve();
3606
3645
  try {
3607
3646
  await this.updateProgress(), await this.run(), await this.updateProgress(), this._completed.resolve();
3608
3647
  } catch (s) {
3609
- if (s instanceof et)
3648
+ if (s instanceof tt)
3610
3649
  return;
3611
3650
  throw se(us(s), (e) => {
3612
3651
  this._completed.reject(e);
@@ -3649,7 +3688,7 @@ class oo {
3649
3688
  }
3650
3689
  assertNotCancelled() {
3651
3690
  if (this._cancelled)
3652
- throw this._cancelled.resolve(), new et();
3691
+ throw this._cancelled.resolve(), new tt();
3653
3692
  }
3654
3693
  calculateCurrentProgress(s) {
3655
3694
  return s ?? (s = this.status), s.completed ? 1 : s.children ? cs(
@@ -3666,158 +3705,158 @@ class oo {
3666
3705
  return { ...s };
3667
3706
  }
3668
3707
  }
3669
- async function io(t) {
3708
+ async function li(t) {
3670
3709
  await t.start();
3671
3710
  }
3672
3711
  export {
3673
- Yl as AdvancedOptions,
3712
+ Zl as AdvancedOptions,
3674
3713
  bn as AlertModal,
3675
- P as App,
3676
- Xl as AppLayout,
3714
+ R as App,
3715
+ Jl as AppLayout,
3677
3716
  ja as AppOverlays,
3678
3717
  sr as AppService,
3679
3718
  Ba as AppToasts,
3680
3719
  I as Button,
3681
- ql as Cache,
3682
- xr as CacheService,
3683
- Gl as Checkbox,
3720
+ zl as Cache,
3721
+ Cr as CacheService,
3722
+ Xl as Checkbox,
3684
3723
  Sn as ConfirmModal,
3685
- Qa as Details,
3686
- eo as DropdownMenu,
3687
- Za as DropdownMenuOption,
3688
- Xa as DropdownMenuOptions,
3689
- to as EditableContent,
3690
- so as ErrorLogs,
3691
- il as ErrorLogsModal,
3692
- ro as ErrorMessage,
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,
3693
3732
  Gn as ErrorReportModal,
3694
- On as ErrorReportModalButtons,
3733
+ Un as ErrorReportModalButtons,
3695
3734
  Nn as ErrorReportModalTitle,
3696
- wt as Errors,
3697
- Cl as EventListenerPriorities,
3735
+ $t as Errors,
3736
+ _l as EventListenerPriorities,
3698
3737
  F as Events,
3699
3738
  er as EventsService,
3700
- Vt as Form,
3739
+ Lt as Form,
3701
3740
  pr as FormController,
3702
- $t as HeadlessButton,
3741
+ _t as HeadlessButton,
3703
3742
  Be as HeadlessInput,
3704
- zt as HeadlessInputDescription,
3743
+ Rt as HeadlessInputDescription,
3705
3744
  we as HeadlessInputError,
3706
- It as HeadlessInputInput,
3745
+ zt as HeadlessInputInput,
3707
3746
  ye as HeadlessInputLabel,
3708
- Oa as HeadlessInputTextArea,
3747
+ Ua as HeadlessInputTextArea,
3709
3748
  cn as HeadlessModal,
3710
3749
  dn as HeadlessModalContent,
3711
3750
  pn as HeadlessModalDescription,
3712
- mn as HeadlessModalOverlay,
3713
- fn as HeadlessModalTitle,
3751
+ fn as HeadlessModalOverlay,
3752
+ mn as HeadlessModalTitle,
3714
3753
  Rr as HeadlessSelect,
3715
- Ye as HeadlessSelectLabel,
3716
- Ct as HeadlessSelectOption,
3717
- St as HeadlessSelectOptions,
3754
+ Ge as HeadlessSelectLabel,
3755
+ St as HeadlessSelectOption,
3756
+ kt as HeadlessSelectOptions,
3718
3757
  xt as HeadlessSelectTrigger,
3719
- _t as HeadlessSelectValue,
3758
+ Ct as HeadlessSelectValue,
3720
3759
  Xr as HeadlessSwitch,
3721
3760
  Ra as HeadlessToast,
3722
3761
  pa as Input,
3723
- oo as Job,
3724
- et as JobCancelledError,
3725
- Ze as LOCAL_TIMEZONE_OFFSET,
3762
+ ai as Job,
3763
+ tt as JobCancelledError,
3764
+ Xe as LOCAL_TIMEZONE_OFFSET,
3726
3765
  X as Lang,
3727
3766
  be as Layouts,
3728
- no as Link,
3729
- oa as LoadingModal,
3767
+ si as Link,
3768
+ ia as LoadingModal,
3730
3769
  yr as MINUTE_MILLISECONDS,
3731
- vt as MOBILE_BREAKPOINT,
3770
+ bt as MOBILE_BREAKPOINT,
3732
3771
  z as Markdown,
3733
3772
  ne as Modal,
3734
- po as ModalComponent,
3735
- mo as ModalsPortal,
3773
+ ui as ModalComponent,
3774
+ ci as ModalsPortal,
3736
3775
  aa as ProgressBar,
3737
3776
  ga as PromptModal,
3738
3777
  Dr as Select,
3739
- kt as SelectLabel,
3740
- Ge as SelectOption,
3741
- Tt as SelectOptions,
3742
- Mt as SelectTrigger,
3778
+ Tt as SelectLabel,
3779
+ et as SelectOption,
3780
+ Mt as SelectOptions,
3781
+ Et as SelectTrigger,
3743
3782
  Se as Service,
3744
3783
  Ve as ServiceBootError,
3745
3784
  Jr as Setting,
3746
- ao as SettingsModal,
3785
+ ri as SettingsModal,
3747
3786
  Ia as StartupCrash,
3748
- gt as Storage,
3787
+ vt as Storage,
3749
3788
  Yr as Switch,
3750
- lo as TextArea,
3789
+ ni as TextArea,
3751
3790
  qa as Toast,
3752
3791
  A as UI,
3753
3792
  Mr as UIService,
3754
- Hl as __valueType,
3793
+ Ml as __valueType,
3755
3794
  $r as aerogelDirectives,
3756
3795
  Zs as appNamespace,
3757
- Dl as booleanInput,
3796
+ Pl as booleanInput,
3758
3797
  ke as bootServices,
3759
- Zl as bootstrap,
3798
+ Ql as bootstrap,
3760
3799
  Da as bootstrapApplication,
3761
- E as classes,
3762
- fo as closeModal,
3763
- Il as computedAsync,
3764
- zl as computedDebounce,
3765
- ho as createModal,
3766
- Bl as dateInput,
3767
- Tl as defineDirective,
3768
- El as defineFormValidationRule,
3769
- kl as definePlugin,
3770
- Ce as defineServiceState,
3800
+ T as classes,
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,
3809
+ xe as defineServiceState,
3771
3810
  Gs as defineServiceStore,
3772
- Sl as defineSettings,
3773
- io as dispatch,
3774
- jl as enumInput,
3775
- bt as getCurrentLayout,
3776
- Ht as getErrorMessage,
3811
+ Cl as defineSettings,
3812
+ li as dispatch,
3813
+ Dl as enumInput,
3814
+ yt as getCurrentLayout,
3815
+ Vt as getErrorMessage,
3777
3816
  vr as getMarkdownRouter,
3778
3817
  Ys as getPiniaStore,
3779
3818
  zr as hasSelectOptionLabel,
3780
- go as injectModal,
3819
+ fi as injectModal,
3781
3820
  lr as injectOrFail,
3782
3821
  ar as injectReactive,
3783
- R as injectReactiveOrFail,
3822
+ q as injectReactiveOrFail,
3784
3823
  rr as installPlugins,
3785
- vo as modals,
3786
- Kl as numberInput,
3787
- Ql as objectInput,
3788
- Vl as onCleanMounted,
3824
+ mi as modals,
3825
+ Nl as numberInput,
3826
+ Wl as objectInput,
3827
+ El as onCleanMounted,
3789
3828
  mt as onFormFocus,
3790
- Ll as persistent,
3791
- mr as reactiveSet,
3792
- Pl as registerErrorHandler,
3829
+ Hl as persistent,
3830
+ fr as reactiveSet,
3831
+ ql as registerErrorHandler,
3793
3832
  br as renderMarkdown,
3794
- dt as renderVNode,
3795
- Al as replaceExisting,
3796
- Fl as requiredBooleanInput,
3797
- Ul as requiredDateInput,
3798
- Ol as requiredEnumInput,
3799
- Nl as requiredNumberInput,
3800
- Wl as requiredObjectInput,
3801
- ma as requiredStringInput,
3833
+ pt as renderVNode,
3834
+ Rl as replaceExisting,
3835
+ Bl as requiredBooleanInput,
3836
+ jl as requiredDateInput,
3837
+ Fl as requiredEnumInput,
3838
+ Ol as requiredNumberInput,
3839
+ Ul as requiredObjectInput,
3840
+ fa as requiredStringInput,
3802
3841
  Xs as resetPiniaStore,
3803
- ht as safeHtml,
3804
- Rl as setMarkdownRouter,
3805
- bo as showModal,
3806
- Jl as stringInput,
3807
- yt as translate,
3842
+ gt as safeHtml,
3843
+ Il as setMarkdownRouter,
3844
+ hi as showModal,
3845
+ Kl as stringInput,
3846
+ wt as translate,
3808
3847
  S as translateWithDefault,
3809
3848
  vn as useAlertModal,
3810
3849
  yn as useConfirmModal,
3811
3850
  Wn as useErrorReportModal,
3812
- Ml as useEvent,
3813
- ft as useForm,
3814
- Ae as useInputAttrs,
3851
+ kl as useEvent,
3852
+ ht as useForm,
3853
+ Pe as useInputAttrs,
3815
3854
  la as useLoadingModal,
3816
- Pe as useModal,
3817
- fa as usePromptModal,
3855
+ Ae as useModal,
3856
+ ma as usePromptModal,
3818
3857
  dr as validate,
3819
3858
  cr as validateType,
3820
3859
  ge as validators,
3821
- pt as variantClasses
3860
+ ft as variantClasses
3822
3861
  };
3823
3862
  //# sourceMappingURL=aerogel-core.js.map