@point-hub/papp 0.0.30 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Ki = Object.defineProperty;
2
2
  var Gi = (e, t, n) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Sa = (e, t, n) => (Gi(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { defineComponent as H, ref as T, provide as Me, openBlock as k, createElementBlock as R, renderSlot as ie, normalizeClass as Z, createCommentVNode as ae, inject as Ee, watch as me, createBlock as X, resolveDynamicComponent as ue, withCtx as q, createElementVNode as E, toDisplayString as de, normalizeStyle as sn, createTextVNode as wt, resolveComponent as Ne, createVNode as te, Fragment as Ce, renderList as Ze, computed as D, unref as Y, shallowRef as Xr, triggerRef as Oa, onScopeDispose as Ji, nextTick as xe, watchEffect as Be, onMounted as le, cloneVNode as io, h as pe, reactive as tr, onUnmounted as _e, toRaw as we, getCurrentInstance as lo, Teleport as Zi, Transition as Qr, useCssVars as el, useSlots as tl, toRefs as so, withKeys as nl, withDirectives as mt, vShow as rl, onBeforeUnmount as nr, isRef as rt, mergeProps as al, normalizeProps as ol, guardReactiveProps as il, isReactive as ka, isVNode as ll, createApp as Ca, createSlots as sl, vModelCheckbox as uo, resolveDirective as co, vModelText as Gt, vModelDynamic as ul, pushScopeId as po, popScopeId as fo } from "vue";
4
+ import { defineComponent as H, ref as T, provide as Me, openBlock as k, createElementBlock as R, renderSlot as ie, normalizeClass as Z, createCommentVNode as ae, inject as Ee, watch as me, createBlock as X, resolveDynamicComponent as ue, withCtx as q, createElementVNode as C, toDisplayString as de, normalizeStyle as sn, createTextVNode as wt, resolveComponent as Ne, createVNode as te, Fragment as Ce, renderList as Ze, computed as D, unref as Y, shallowRef as Xr, triggerRef as Oa, onScopeDispose as Ji, nextTick as xe, watchEffect as Be, onMounted as le, cloneVNode as io, h as pe, reactive as tr, onUnmounted as _e, toRaw as we, getCurrentInstance as lo, Teleport as Zi, Transition as Qr, useCssVars as el, useSlots as tl, toRefs as so, withKeys as nl, withDirectives as mt, vShow as rl, onBeforeUnmount as nr, isRef as rt, mergeProps as al, normalizeProps as ol, guardReactiveProps as il, isReactive as ka, isVNode as ll, createApp as Ca, createSlots as sl, vModelCheckbox as uo, resolveDirective as co, vModelText as Gt, vModelDynamic as ul, pushScopeId as po, popScopeId as fo } from "vue";
5
5
  import { defineStore as Kr } from "pinia";
6
6
  import { useRoute as vo } from "vue-router";
7
7
  const dl = { class: "accordion-container" }, cl = /* @__PURE__ */ H({
@@ -79,9 +79,9 @@ const dl = { class: "accordion-container" }, cl = /* @__PURE__ */ H({
79
79
  }, {
80
80
  default: q(() => [
81
81
  ie(d.$slots, "title", {}, () => [
82
- E("span", null, de(s.title), 1)
82
+ C("span", null, de(s.title), 1)
83
83
  ], !0),
84
- E("i", {
84
+ C("i", {
85
85
  class: Z(["accordion-collapse-item-icon i-fas-angle-down", {
86
86
  "accordiont-collapse-item-icon-active": i.value
87
87
  }])
@@ -89,7 +89,7 @@ const dl = { class: "accordion-container" }, cl = /* @__PURE__ */ H({
89
89
  ]),
90
90
  _: 3
91
91
  })),
92
- E("div", {
92
+ C("div", {
93
93
  ref_key: "contentRef",
94
94
  ref: r,
95
95
  class: Z(["accordion-content", {
@@ -135,7 +135,7 @@ const dl = { class: "accordion-container" }, cl = /* @__PURE__ */ H({
135
135
  key: 0,
136
136
  class: Z(n)
137
137
  }, [
138
- E("div", wl, [
138
+ C("div", wl, [
139
139
  o.icon ? (k(), R("div", xl, [
140
140
  o.icon === "success" ? (k(), R("i", Sl)) : ae("", !0),
141
141
  o.icon === "info" ? (k(), X(s, {
@@ -155,13 +155,13 @@ const dl = { class: "accordion-container" }, cl = /* @__PURE__ */ H({
155
155
  icon: "i-far-triangle-exclamation"
156
156
  })) : ae("", !0)
157
157
  ])) : ae("", !0),
158
- E("div", Ol, [
159
- E("div", null, [
158
+ C("div", Ol, [
159
+ C("div", null, [
160
160
  ie(o.$slots, "title", {}, () => [
161
- E("span", kl, de(t.title), 1)
161
+ C("span", kl, de(t.title), 1)
162
162
  ], !0)
163
163
  ]),
164
- E("div", null, [
164
+ C("div", null, [
165
165
  ie(o.$slots, "default", {}, void 0, !0)
166
166
  ])
167
167
  ])
@@ -262,10 +262,14 @@ const $l = /* @__PURE__ */ fe(Tl, [["render", Pl], ["__scopeId", "data-v-85c79e7
262
262
  key: i,
263
263
  class: "breadcrumb-li"
264
264
  }, [
265
- ie(n.$slots, "default", {
266
- index: i,
267
- item: a
268
- }, void 0, !0),
265
+ C("span", {
266
+ class: Z(["whitespace-nowrap", { "breadcrumb-link": a.path }])
267
+ }, [
268
+ ie(n.$slots, "default", {
269
+ index: i,
270
+ item: a
271
+ }, void 0, !0)
272
+ ], 2),
269
273
  i + 1 < t.items.length ? (k(), R("i", {
270
274
  key: 0,
271
275
  class: Z(["block breadcrumb-separator", {
@@ -277,7 +281,7 @@ const $l = /* @__PURE__ */ fe(Tl, [["render", Pl], ["__scopeId", "data-v-85c79e7
277
281
  ]))), 128))
278
282
  ]));
279
283
  }
280
- }), Vl = /* @__PURE__ */ fe(Fl, [["__scopeId", "data-v-e3cd2672"]]), Nl = { class: "card-header" }, jl = { class: "card-body" }, Hl = /* @__PURE__ */ H({
284
+ }), Vl = /* @__PURE__ */ fe(Fl, [["__scopeId", "data-v-4a156e0d"]]), Nl = { class: "card-header" }, jl = { class: "card-body" }, Hl = /* @__PURE__ */ H({
281
285
  __name: "base-card",
282
286
  props: {
283
287
  shadow: { type: Boolean, default: !0 },
@@ -287,12 +291,12 @@ const $l = /* @__PURE__ */ fe(Tl, [["render", Pl], ["__scopeId", "data-v-85c79e7
287
291
  return (t, n) => (k(), R("div", {
288
292
  class: Z(["card", { "card-shadow ": t.shadow, "card-sharp": t.shape === "sharp" }])
289
293
  }, [
290
- E("div", Nl, [
291
- E("h1", null, [
294
+ C("div", Nl, [
295
+ C("h1", null, [
292
296
  ie(t.$slots, "header", {}, void 0, !0)
293
297
  ])
294
298
  ]),
295
- E("div", jl, [
299
+ C("div", jl, [
296
300
  ie(t.$slots, "default", {}, void 0, !0)
297
301
  ])
298
302
  ], 2));
@@ -314,7 +318,7 @@ const $l = /* @__PURE__ */ fe(Tl, [["render", Pl], ["__scopeId", "data-v-85c79e7
314
318
  "divider-vertical": t.orientation === "vertical"
315
319
  })
316
320
  }, [
317
- E("div", {
321
+ C("div", {
318
322
  class: Z({
319
323
  "divider-horizontal-line": t.orientation === "horizontal",
320
324
  "divider-vertical-line": t.orientation === "vertical"
@@ -1288,37 +1292,37 @@ let Eo = Symbol("VirtualContext"), Ss = H({ name: "VirtualProvider", setup(e, {
1288
1292
  } }, a.value.getVirtualItems().map((l) => io(t.default({ option: n.virtual.value.options[l.index], open: n.comboboxState.value === 0 })[0], { key: `${o.value}-${l.index}`, "data-index": l.index, "aria-setsize": n.virtual.value.options.length, "aria-posinset": l.index + 1, style: { position: "absolute", top: 0, left: 0, transform: `translateY(${l.start}px)`, overflowAnchor: "none" } })))];
1289
1293
  } }), Os = H({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props: { as: { type: [Object, String], default: "template" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], nullable: !0, default: null }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, nullable: { type: Boolean, default: !1 }, multiple: { type: [Boolean], default: !1 }, immediate: { type: [Boolean], default: !1 }, virtual: { type: Object, default: null } }, inheritAttrs: !1, setup(e, { slots: t, attrs: n, emit: r }) {
1290
1294
  let a = T(1), i = T(null), o = T(null), l = T(null), s = T(null), d = T({ static: !1, hold: !1 }), u = T([]), p = T(null), v = T(2), h = T(!1);
1291
- function m(C = (I) => I) {
1292
- let I = p.value !== null ? u.value[p.value] : null, j = C(u.value.slice()), V = j.length > 0 && j[0].dataRef.order.value !== null ? j.sort((P, B) => P.dataRef.order.value - B.dataRef.order.value) : pt(j, (P) => L(P.dataRef.domRef)), _ = I ? V.indexOf(I) : null;
1295
+ function m(E = (I) => I) {
1296
+ let I = p.value !== null ? u.value[p.value] : null, j = E(u.value.slice()), V = j.length > 0 && j[0].dataRef.order.value !== null ? j.sort((P, B) => P.dataRef.order.value - B.dataRef.order.value) : pt(j, (P) => L(P.dataRef.domRef)), _ = I ? V.indexOf(I) : null;
1293
1297
  return _ === -1 && (_ = null), { options: V, activeOptionIndex: _ };
1294
1298
  }
1295
- let f = D(() => e.multiple ? 1 : 0), g = D(() => e.nullable), [b, A] = Gr(D(() => e.modelValue), (C) => r("update:modelValue", C), D(() => e.defaultValue)), w = D(() => b.value === void 0 ? Ae(f.value, { 1: [], 0: void 0 }) : b.value), c = null, S = null;
1296
- function y(C) {
1299
+ let f = D(() => e.multiple ? 1 : 0), g = D(() => e.nullable), [b, A] = Gr(D(() => e.modelValue), (E) => r("update:modelValue", E), D(() => e.defaultValue)), w = D(() => b.value === void 0 ? Ae(f.value, { 1: [], 0: void 0 }) : b.value), c = null, S = null;
1300
+ function y(E) {
1297
1301
  return Ae(f.value, { 0() {
1298
- return A == null ? void 0 : A(C);
1302
+ return A == null ? void 0 : A(E);
1299
1303
  }, 1: () => {
1300
- let I = we(x.value.value).slice(), j = we(C), V = I.findIndex((_) => x.compare(j, we(_)));
1304
+ let I = we(x.value.value).slice(), j = we(E), V = I.findIndex((_) => x.compare(j, we(_)));
1301
1305
  return V === -1 ? I.push(j) : I.splice(V, 1), A == null ? void 0 : A(I);
1302
1306
  } });
1303
1307
  }
1304
1308
  let O = D(() => {
1305
1309
  });
1306
- me([O], ([C], [I]) => {
1307
- if (x.virtual.value && C && I && p.value !== null) {
1308
- let j = C.indexOf(I[p.value]);
1310
+ me([O], ([E], [I]) => {
1311
+ if (x.virtual.value && E && I && p.value !== null) {
1312
+ let j = E.indexOf(I[p.value]);
1309
1313
  j !== -1 ? p.value = j : p.value = null;
1310
1314
  }
1311
1315
  });
1312
- let x = { comboboxState: a, value: w, mode: f, compare(C, I) {
1316
+ let x = { comboboxState: a, value: w, mode: f, compare(E, I) {
1313
1317
  if (typeof e.by == "string") {
1314
1318
  let j = e.by;
1315
- return (C == null ? void 0 : C[j]) === (I == null ? void 0 : I[j]);
1319
+ return (E == null ? void 0 : E[j]) === (I == null ? void 0 : I[j]);
1316
1320
  }
1317
- return e.by === null ? As(C, I) : e.by(C, I);
1318
- }, calculateIndex(C) {
1319
- return x.virtual.value ? e.by === null ? x.virtual.value.options.indexOf(C) : x.virtual.value.options.findIndex((I) => x.compare(I, C)) : u.value.findIndex((I) => x.compare(I.dataRef.value, C));
1320
- }, defaultValue: D(() => e.defaultValue), nullable: g, immediate: D(() => !1), virtual: D(() => null), inputRef: o, labelRef: i, buttonRef: l, optionsRef: s, disabled: D(() => e.disabled), options: u, change(C) {
1321
- A(C);
1321
+ return e.by === null ? As(E, I) : e.by(E, I);
1322
+ }, calculateIndex(E) {
1323
+ return x.virtual.value ? e.by === null ? x.virtual.value.options.indexOf(E) : x.virtual.value.options.findIndex((I) => x.compare(I, E)) : u.value.findIndex((I) => x.compare(I.dataRef.value, E));
1324
+ }, defaultValue: D(() => e.defaultValue), nullable: g, immediate: D(() => !1), virtual: D(() => null), inputRef: o, labelRef: i, buttonRef: l, optionsRef: s, disabled: D(() => e.disabled), options: u, change(E) {
1325
+ A(E);
1322
1326
  }, activeOptionIndex: D(() => {
1323
1327
  if (h.value && p.value === null && (x.virtual.value ? x.virtual.value.options.length > 0 : u.value.length > 0)) {
1324
1328
  if (x.virtual.value) {
@@ -1329,9 +1333,9 @@ let Eo = Symbol("VirtualContext"), Ss = H({ name: "VirtualProvider", setup(e, {
1329
1333
  if (I !== -1)
1330
1334
  return I;
1331
1335
  }
1332
- let C = u.value.findIndex((I) => !I.dataRef.disabled);
1333
- if (C !== -1)
1334
- return C;
1336
+ let E = u.value.findIndex((I) => !I.dataRef.disabled);
1337
+ if (E !== -1)
1338
+ return E;
1335
1339
  }
1336
1340
  return p.value;
1337
1341
  }), activationTrigger: v, optionsPropsRef: d, closeCombobox() {
@@ -1339,19 +1343,19 @@ let Eo = Symbol("VirtualContext"), Ss = H({ name: "VirtualProvider", setup(e, {
1339
1343
  }, openCombobox() {
1340
1344
  if (h.value = !0, !e.disabled && a.value !== 0) {
1341
1345
  if (x.value.value) {
1342
- let C = x.calculateIndex(x.value.value);
1343
- C !== -1 && (p.value = C);
1346
+ let E = x.calculateIndex(x.value.value);
1347
+ E !== -1 && (p.value = E);
1344
1348
  }
1345
1349
  a.value = 0;
1346
1350
  }
1347
- }, setActivationTrigger(C) {
1348
- v.value = C;
1349
- }, goToOption(C, I, j) {
1351
+ }, setActivationTrigger(E) {
1352
+ v.value = E;
1353
+ }, goToOption(E, I, j) {
1350
1354
  h.value = !1, c !== null && cancelAnimationFrame(c), c = requestAnimationFrame(() => {
1351
1355
  if (e.disabled || s.value && !d.value.static && a.value === 1)
1352
1356
  return;
1353
1357
  if (x.virtual.value) {
1354
- p.value = C === oe.Specific ? I : Jn({ focus: C }, { resolveItems: () => x.virtual.value.options, resolveActiveIndex: () => {
1358
+ p.value = E === oe.Specific ? I : Jn({ focus: E }, { resolveItems: () => x.virtual.value.options, resolveActiveIndex: () => {
1355
1359
  var P, B;
1356
1360
  return (B = (P = x.activeOptionIndex.value) != null ? P : x.virtual.value.options.findIndex((F) => {
1357
1361
  var M;
@@ -1367,11 +1371,11 @@ let Eo = Symbol("VirtualContext"), Ss = H({ name: "VirtualProvider", setup(e, {
1367
1371
  let P = V.options.findIndex((B) => !B.dataRef.disabled);
1368
1372
  P !== -1 && (V.activeOptionIndex = P);
1369
1373
  }
1370
- let _ = C === oe.Specific ? I : Jn({ focus: C }, { resolveItems: () => V.options, resolveActiveIndex: () => V.activeOptionIndex, resolveId: (P) => P.id, resolveDisabled: (P) => P.dataRef.disabled });
1374
+ let _ = E === oe.Specific ? I : Jn({ focus: E }, { resolveItems: () => V.options, resolveActiveIndex: () => V.activeOptionIndex, resolveId: (P) => P.id, resolveDisabled: (P) => P.dataRef.disabled });
1371
1375
  p.value = _, v.value = j ?? 2, u.value = V.options;
1372
1376
  });
1373
- }, selectOption(C) {
1374
- let I = u.value.find((V) => V.id === C);
1377
+ }, selectOption(E) {
1378
+ let I = u.value.find((V) => V.id === E);
1375
1379
  if (!I)
1376
1380
  return;
1377
1381
  let { dataRef: j } = I;
@@ -1381,13 +1385,13 @@ let Eo = Symbol("VirtualContext"), Ss = H({ name: "VirtualProvider", setup(e, {
1381
1385
  if (x.virtual.value)
1382
1386
  y(x.virtual.value.options[x.activeOptionIndex.value]);
1383
1387
  else {
1384
- let { dataRef: C } = u.value[x.activeOptionIndex.value];
1385
- y(C.value);
1388
+ let { dataRef: E } = u.value[x.activeOptionIndex.value];
1389
+ y(E.value);
1386
1390
  }
1387
1391
  x.goToOption(oe.Specific, x.activeOptionIndex.value);
1388
1392
  }
1389
- }, registerOption(C, I) {
1390
- let j = tr({ id: C, dataRef: I });
1393
+ }, registerOption(E, I) {
1394
+ let j = tr({ id: E, dataRef: I });
1391
1395
  if (x.virtual.value) {
1392
1396
  u.value.push(j);
1393
1397
  return;
@@ -1398,41 +1402,41 @@ let Eo = Symbol("VirtualContext"), Ss = H({ name: "VirtualProvider", setup(e, {
1398
1402
  let _ = m();
1399
1403
  u.value = _.options, p.value = _.activeOptionIndex;
1400
1404
  }));
1401
- }, unregisterOption(C, I) {
1405
+ }, unregisterOption(E, I) {
1402
1406
  if (c !== null && cancelAnimationFrame(c), I && (h.value = !0), x.virtual.value) {
1403
- u.value = u.value.filter((V) => V.id !== C);
1407
+ u.value = u.value.filter((V) => V.id !== E);
1404
1408
  return;
1405
1409
  }
1406
1410
  let j = m((V) => {
1407
- let _ = V.findIndex((P) => P.id === C);
1411
+ let _ = V.findIndex((P) => P.id === E);
1408
1412
  return _ !== -1 && V.splice(_, 1), V;
1409
1413
  });
1410
1414
  u.value = j.options, p.value = j.activeOptionIndex, v.value = 2;
1411
- }, isSelected(C) {
1412
- return Ae(f.value, { 0: () => x.compare(we(x.value.value), we(C)), 1: () => we(x.value.value).some((I) => x.compare(we(I), we(C))) });
1413
- }, isActive(C) {
1414
- return p.value === x.calculateIndex(C);
1415
+ }, isSelected(E) {
1416
+ return Ae(f.value, { 0: () => x.compare(we(x.value.value), we(E)), 1: () => we(x.value.value).some((I) => x.compare(we(I), we(E))) });
1417
+ }, isActive(E) {
1418
+ return p.value === x.calculateIndex(E);
1415
1419
  } };
1416
1420
  or([o, l, s], () => x.closeCombobox(), D(() => a.value === 0)), Me(Co, x), lr(D(() => Ae(a.value, { 0: Oe.Open, 1: Oe.Closed })));
1417
1421
  let N = D(() => {
1418
- var C;
1419
- return (C = L(o)) == null ? void 0 : C.closest("form");
1422
+ var E;
1423
+ return (E = L(o)) == null ? void 0 : E.closest("form");
1420
1424
  });
1421
1425
  return le(() => {
1422
1426
  me([N], () => {
1423
1427
  if (!N.value || e.defaultValue === void 0)
1424
1428
  return;
1425
- function C() {
1429
+ function E() {
1426
1430
  x.change(e.defaultValue);
1427
1431
  }
1428
- return N.value.addEventListener("reset", C), () => {
1432
+ return N.value.addEventListener("reset", E), () => {
1429
1433
  var I;
1430
- (I = N.value) == null || I.removeEventListener("reset", C);
1434
+ (I = N.value) == null || I.removeEventListener("reset", E);
1431
1435
  };
1432
1436
  }, { immediate: !0 });
1433
1437
  }), () => {
1434
- var C, I, j;
1435
- let { name: V, disabled: _, form: P, ...B } = e, F = { open: a.value === 0, disabled: _, activeIndex: x.activeOptionIndex.value, activeOption: x.activeOptionIndex.value === null ? null : x.virtual.value ? x.virtual.value.options[(C = x.activeOptionIndex.value) != null ? C : 0] : (j = (I = x.options.value[x.activeOptionIndex.value]) == null ? void 0 : I.dataRef.value) != null ? j : null, value: w.value };
1438
+ var E, I, j;
1439
+ let { name: V, disabled: _, form: P, ...B } = e, F = { open: a.value === 0, disabled: _, activeIndex: x.activeOptionIndex.value, activeOption: x.activeOptionIndex.value === null ? null : x.virtual.value ? x.virtual.value.options[(E = x.activeOptionIndex.value) != null ? E : 0] : (j = (I = x.options.value[x.activeOptionIndex.value]) == null ? void 0 : I.dataRef.value) != null ? j : null, value: w.value };
1436
1440
  return pe(Ce, [...V != null && w.value != null ? ur({ [V]: w.value }).map(([M, U]) => pe(Tt, ea({ features: It.Hidden, key: M, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: P, name: M, value: U }))) : [], ce({ theirProps: { ...n, ...Bt(B, ["by", "defaultValue", "immediate", "modelValue", "multiple", "nullable", "onUpdate:modelValue", "virtual"]) }, ourProps: {}, slot: F, slots: t, attrs: n, name: "Combobox" })]);
1437
1441
  };
1438
1442
  } });
@@ -1513,8 +1517,8 @@ let ks = H({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1513
1517
  var N;
1514
1518
  if (d.value || !x || ((N = s.value) == null ? void 0 : N.activeElement) !== x)
1515
1519
  return;
1516
- let { selectionStart: C, selectionEnd: I } = x;
1517
- Math.abs((I ?? 0) - (C ?? 0)) === 0 && C === 0 && x.setSelectionRange(x.value.length, x.value.length);
1520
+ let { selectionStart: E, selectionEnd: I } = x;
1521
+ Math.abs((I ?? 0) - (E ?? 0)) === 0 && E === 0 && x.setSelectionRange(x.value.length, x.value.length);
1518
1522
  }));
1519
1523
  }, { immediate: !0 }), me([l.comboboxState], ([c], [S]) => {
1520
1524
  if (c === 0 && S === 1) {
@@ -1523,8 +1527,8 @@ let ks = H({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1523
1527
  let y = L(l.inputRef);
1524
1528
  if (!y)
1525
1529
  return;
1526
- let O = y.value, { selectionStart: x, selectionEnd: N, selectionDirection: C } = y;
1527
- y.value = "", y.value = O, C !== null ? y.setSelectionRange(x, N, C) : y.setSelectionRange(x, N);
1530
+ let O = y.value, { selectionStart: x, selectionEnd: N, selectionDirection: E } = y;
1531
+ y.value = "", y.value = O, E !== null ? y.setSelectionRange(x, N, E) : y.setSelectionRange(x, N);
1528
1532
  }
1529
1533
  });
1530
1534
  });
@@ -1601,8 +1605,8 @@ let ks = H({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1601
1605
  return (O = (y = (S = e.defaultValue) != null ? S : l.defaultValue.value !== void 0 ? (c = e.displayValue) == null ? void 0 : c.call(e, l.defaultValue.value) : null) != null ? y : l.defaultValue.value) != null ? O : "";
1602
1606
  });
1603
1607
  return () => {
1604
- var c, S, y, O, x, N, C;
1605
- let I = { open: l.comboboxState.value === 0 }, { displayValue: j, onChange: V, ..._ } = e, P = { "aria-controls": (c = l.optionsRef.value) == null ? void 0 : c.id, "aria-expanded": l.comboboxState.value === 0, "aria-activedescendant": l.activeOptionIndex.value === null ? void 0 : l.virtual.value ? (S = l.options.value.find((B) => !l.virtual.value.disabled(B.dataRef.value) && l.compare(B.dataRef.value, l.virtual.value.options[l.activeOptionIndex.value]))) == null ? void 0 : S.id : (y = l.options.value[l.activeOptionIndex.value]) == null ? void 0 : y.id, "aria-labelledby": (N = (O = L(l.labelRef)) == null ? void 0 : O.id) != null ? N : (x = L(l.buttonRef)) == null ? void 0 : x.id, "aria-autocomplete": "list", id: o, onCompositionstart: h, onCompositionend: m, onKeydown: f, onInput: g, onFocus: A, onBlur: b, role: "combobox", type: (C = n.type) != null ? C : "text", tabIndex: 0, ref: l.inputRef, defaultValue: w.value, disabled: l.disabled.value === !0 ? !0 : void 0 };
1608
+ var c, S, y, O, x, N, E;
1609
+ let I = { open: l.comboboxState.value === 0 }, { displayValue: j, onChange: V, ..._ } = e, P = { "aria-controls": (c = l.optionsRef.value) == null ? void 0 : c.id, "aria-expanded": l.comboboxState.value === 0, "aria-activedescendant": l.activeOptionIndex.value === null ? void 0 : l.virtual.value ? (S = l.options.value.find((B) => !l.virtual.value.disabled(B.dataRef.value) && l.compare(B.dataRef.value, l.virtual.value.options[l.activeOptionIndex.value]))) == null ? void 0 : S.id : (y = l.options.value[l.activeOptionIndex.value]) == null ? void 0 : y.id, "aria-labelledby": (N = (O = L(l.labelRef)) == null ? void 0 : O.id) != null ? N : (x = L(l.buttonRef)) == null ? void 0 : x.id, "aria-autocomplete": "list", id: o, onCompositionstart: h, onCompositionend: m, onKeydown: f, onInput: g, onFocus: A, onBlur: b, role: "combobox", type: (E = n.type) != null ? E : "text", tabIndex: 0, ref: l.inputRef, defaultValue: w.value, disabled: l.disabled.value === !0 ? !0 : void 0 };
1606
1610
  return ce({ ourProps: P, theirProps: _, slot: I, attrs: n, slots: r, features: Ue.RenderStrategy | Ue.Static, name: "ComboboxInput" });
1607
1611
  };
1608
1612
  } }), Es = H({ name: "ComboboxOptions", props: { as: { type: [Object, String], default: "ul" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, hold: { type: [Boolean], default: !1 } }, setup(e, { attrs: t, slots: n, expose: r }) {
@@ -2113,7 +2117,7 @@ let jn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ks = H({ name: "Dialog", inheri
2113
2117
  let g = D(() => s.value && h.value ? 0 : 1), b = D(() => g.value === 0), A = D(() => p.value > 1), w = Ee(_r, null) !== null, [c, S] = Ys(), { resolveContainers: y, mainTreeNodeRef: O, MainTreeNode: x } = js({ portals: c, defaultContainers: [D(() => {
2114
2118
  var W;
2115
2119
  return (W = F.panelRef.value) != null ? W : m.value;
2116
- })] }), N = D(() => A.value ? "parent" : "leaf"), C = D(() => v !== null ? (v.value & Oe.Closing) === Oe.Closing : !1), I = D(() => w || C.value ? !1 : b.value), j = D(() => {
2120
+ })] }), N = D(() => A.value ? "parent" : "leaf"), E = D(() => v !== null ? (v.value & Oe.Closing) === Oe.Closing : !1), I = D(() => w || E.value ? !1 : b.value), j = D(() => {
2117
2121
  var W, Q, ne;
2118
2122
  return (ne = Array.from((Q = (W = f.value) == null ? void 0 : W.querySelectorAll("body > *")) != null ? Q : []).find((ee) => ee.id === "headlessui-portal-root" ? !1 : ee.contains(L(O)) && ee instanceof HTMLElement)) != null ? ne : null;
2119
2123
  });
@@ -2140,7 +2144,7 @@ let jn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ks = H({ name: "Dialog", inheri
2140
2144
  Do((o = f.value) == null ? void 0 : o.defaultView, "keydown", (W) => {
2141
2145
  U.value && (W.defaultPrevented || W.key === K.Escape && (W.preventDefault(), W.stopPropagation(), F.close()));
2142
2146
  });
2143
- let z = D(() => !(C.value || g.value !== 0 || w));
2147
+ let z = D(() => !(E.value || g.value !== 0 || w));
2144
2148
  return Ns(f, z, (W) => {
2145
2149
  var Q;
2146
2150
  return { containers: [...(Q = W.containers) != null ? Q : [], y] };
@@ -2335,7 +2339,7 @@ let au = H({ name: "Listbox", emits: { "update:modelValue": (e) => !0 }, props:
2335
2339
  }, { immediate: !0 });
2336
2340
  }), () => {
2337
2341
  let { name: w, modelValue: c, disabled: S, form: y, ...O } = e, x = { open: a.value === 0, disabled: S, value: g.value };
2338
- return pe(Ce, [...w != null && g.value != null ? ur({ [w]: g.value }).map(([N, C]) => pe(Tt, ea({ features: It.Hidden, key: N, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: y, name: N, value: C }))) : [], ce({ ourProps: {}, theirProps: { ...n, ...Bt(O, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: x, slots: t, attrs: n, name: "Listbox" })]);
2342
+ return pe(Ce, [...w != null && g.value != null ? ur({ [w]: g.value }).map(([N, E]) => pe(Tt, ea({ features: It.Hidden, key: N, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: y, name: N, value: E }))) : [], ce({ ourProps: {}, theirProps: { ...n, ...Bt(O, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: x, slots: t, attrs: n, name: "Listbox" })]);
2339
2343
  };
2340
2344
  } });
2341
2345
  H({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: n }) {
@@ -3131,7 +3135,7 @@ let Yo = Ue.RenderStrategy, Lr = H({ props: { as: { type: [Object, String], defa
3131
3135
  Ae(g.value, { hidden: () => f(A), visible: () => m(A) });
3132
3136
  }
3133
3137
  });
3134
- let S = Ft(e.enter), y = Ft(e.enterFrom), O = Ft(e.enterTo), x = Ft(e.entered), N = Ft(e.leave), C = Ft(e.leaveFrom), I = Ft(e.leaveTo);
3138
+ let S = Ft(e.enter), y = Ft(e.enterFrom), O = Ft(e.enterTo), x = Ft(e.entered), N = Ft(e.leave), E = Ft(e.leaveFrom), I = Ft(e.leaveTo);
3135
3139
  le(() => {
3136
3140
  Be(() => {
3137
3141
  if (g.value === "visible") {
@@ -3145,7 +3149,7 @@ let Yo = Ue.RenderStrategy, Lr = H({ props: { as: { type: [Object, String], defa
3145
3149
  let _ = b.value && !h.value, P = L(u);
3146
3150
  !P || !(P instanceof HTMLElement) || _ || (w.value = !0, v.value && o(), v.value || s(), V(v.value ? $a(P, S, y, O, x, (B) => {
3147
3151
  w.value = !1, B === Rr.Finished && l();
3148
- }) : $a(P, N, C, I, x, (B) => {
3152
+ }) : $a(P, N, E, I, x, (B) => {
3149
3153
  w.value = !1, B === Rr.Finished && (cr(c) || (g.value = "hidden", f(A), d()));
3150
3154
  })));
3151
3155
  }
@@ -3193,8 +3197,8 @@ const Mu = { class: "dropdown-trigger-button" }, _u = /* @__PURE__ */ H({
3193
3197
  te(Y(pu), null, {
3194
3198
  default: q(() => [
3195
3199
  ie(n.$slots, "trigger", {}, () => [
3196
- E("div", Mu, [
3197
- E("span", null, de(n.text), 1),
3200
+ C("div", Mu, [
3201
+ C("span", null, de(n.text), 1),
3198
3202
  te(a, { icon: "i-far-angle-down" })
3199
3203
  ])
3200
3204
  ], !0)
@@ -3228,7 +3232,7 @@ const Mu = { class: "dropdown-trigger-button" }, _u = /* @__PURE__ */ H({
3228
3232
  return (t, n) => (k(), X(Y(vu), null, {
3229
3233
  default: q(({ active: r }) => [
3230
3234
  ie(t.$slots, "default", { active: r }, () => [
3231
- E("div", {
3235
+ C("div", {
3232
3236
  class: Z([{ "dropdown-item-active": r }, "dropdown-item"])
3233
3237
  }, de(t.text), 3)
3234
3238
  ], !0)
@@ -3247,11 +3251,10 @@ const Mu = { class: "dropdown-trigger-button" }, _u = /* @__PURE__ */ H({
3247
3251
  class: Z([t.icon, "inline-block", { "w-1.2em": t.fixedWidth }])
3248
3252
  }, null, 2));
3249
3253
  }
3250
- }), Vu = ["href", "type"], Nu = /* @__PURE__ */ H({
3254
+ }), Vu = ["href"], Nu = /* @__PURE__ */ H({
3251
3255
  __name: "base-link",
3252
3256
  props: {
3253
3257
  href: {},
3254
- type: { default: "button" },
3255
3258
  size: { default: "md" },
3256
3259
  color: { default: "none" },
3257
3260
  variant: { default: "filled" },
@@ -3265,13 +3268,12 @@ const Mu = { class: "dropdown-trigger-button" }, _u = /* @__PURE__ */ H({
3265
3268
  let a = "";
3266
3269
  return t.shape === "sharp" && (a = "rounded-none"), t.shape === "rounded" && (a = "rounded-lg"), t.shape === "pill" && (a = "rounded-full"), n.push(`${a}`), t.isBlock && n.push("btn-block"), t.size !== "none" && n.push(`btn-${t.size}`), (i, o) => (k(), R("a", {
3267
3270
  href: t.href,
3268
- class: Z(["btn", n]),
3269
- type: i.type
3271
+ class: Z(["btn", n])
3270
3272
  }, [
3271
3273
  ie(i.$slots, "default", {}, void 0, !0)
3272
3274
  ], 8, Vu));
3273
3275
  }
3274
- }), ju = /* @__PURE__ */ fe(Nu, [["__scopeId", "data-v-03499751"]]), Hu = ["src"], Uu = /* @__PURE__ */ H({
3276
+ }), ju = /* @__PURE__ */ fe(Nu, [["__scopeId", "data-v-f88c0ca7"]]), Hu = ["src"], Uu = /* @__PURE__ */ H({
3275
3277
  __name: "base-mask",
3276
3278
  props: {
3277
3279
  shape: {},
@@ -3293,10 +3295,10 @@ const Mu = { class: "dropdown-trigger-button" }, _u = /* @__PURE__ */ H({
3293
3295
  src: t.src
3294
3296
  }, null, 10, Hu));
3295
3297
  }
3296
- }), zu = /* @__PURE__ */ fe(Uu, [["__scopeId", "data-v-9a6dbd27"]]), qu = /* @__PURE__ */ E("div", {
3298
+ }), zu = /* @__PURE__ */ fe(Uu, [["__scopeId", "data-v-9a6dbd27"]]), qu = /* @__PURE__ */ C("div", {
3297
3299
  class: "fixed inset-0 bg-black/40",
3298
3300
  "aria-hidden": "true"
3299
- }, null, -1), Wu = /* @__PURE__ */ E("div", { class: "fixed inset-0 bg-black bg-opacity-25" }, null, -1), Yu = { class: "fixed inset-0 overflow-y-auto" }, Xu = { class: "min-h-full flex items-center justify-center text-center" }, Qu = /* @__PURE__ */ H({
3301
+ }, null, -1), Wu = /* @__PURE__ */ C("div", { class: "fixed inset-0 bg-black bg-opacity-25" }, null, -1), Yu = { class: "fixed inset-0 overflow-y-auto" }, Xu = { class: "min-h-full flex items-center justify-center text-center" }, Qu = /* @__PURE__ */ H({
3300
3302
  __name: "base-modal",
3301
3303
  props: {
3302
3304
  isOpen: { type: Boolean },
@@ -3340,8 +3342,8 @@ const Mu = { class: "dropdown-trigger-button" }, _u = /* @__PURE__ */ H({
3340
3342
  ]),
3341
3343
  _: 1
3342
3344
  }),
3343
- E("div", Yu, [
3344
- E("div", Xu, [
3345
+ C("div", Yu, [
3346
+ C("div", Xu, [
3345
3347
  te(Y(Lr), {
3346
3348
  as: "template",
3347
3349
  enter: "duration-300 ease-out",
@@ -3433,10 +3435,10 @@ const Mu = { class: "dropdown-trigger-button" }, _u = /* @__PURE__ */ H({
3433
3435
  return (v, h) => {
3434
3436
  const m = Ne("base-icon");
3435
3437
  return i.value > 1 ? (k(), R("div", Ku, [
3436
- E("div", null, [
3437
- E("p", Gu, " Showing " + de(1 + (a.value - 1) * v.pageSize) + " to " + de(a.value * v.pageSize > v.totalDocument ? v.totalDocument : a.value * v.pageSize) + " of " + de(v.totalDocument) + " entries ", 1)
3438
+ C("div", null, [
3439
+ C("p", Gu, " Showing " + de(1 + (a.value - 1) * v.pageSize) + " to " + de(a.value * v.pageSize > v.totalDocument ? v.totalDocument : a.value * v.pageSize) + " of " + de(v.totalDocument) + " entries ", 1)
3438
3440
  ]),
3439
- E("div", Ju, [
3441
+ C("div", Ju, [
3440
3442
  (k(), X(ue($e), {
3441
3443
  variant: "text",
3442
3444
  size: "xs",
@@ -3909,10 +3911,10 @@ function pa(e, t) {
3909
3911
  right: O.right - w.right + f.right
3910
3912
  }, N = e.modifiersData.offset;
3911
3913
  if (u === vn && N) {
3912
- var C = N[a];
3914
+ var E = N[a];
3913
3915
  Object.keys(x).forEach(function(I) {
3914
3916
  var j = [it, ot].indexOf(I) >= 0 ? 1 : -1, V = [Ke, ot].indexOf(I) >= 0 ? "y" : "x";
3915
- x[I] += C[V] * j;
3917
+ x[I] += E[V] * j;
3916
3918
  });
3917
3919
  }
3918
3920
  return x;
@@ -3970,8 +3972,8 @@ function Td(e) {
3970
3972
  u.rects = {
3971
3973
  reference: id(A, Tn(w), u.options.strategy === "fixed"),
3972
3974
  popper: ua(w)
3973
- }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(C) {
3974
- return u.modifiersData[C.name] = Object.assign({}, C.data);
3975
+ }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(E) {
3976
+ return u.modifiersData[E.name] = Object.assign({}, E.data);
3975
3977
  });
3976
3978
  for (var c = 0; c < u.orderedModifiers.length; c++) {
3977
3979
  if (u.reset === !0) {
@@ -4180,7 +4182,7 @@ function qd(e) {
4180
4182
  altBoundary: u
4181
4183
  }), b = ft(t.placement), A = en(t.placement), w = !A, c = ca(b), S = zd(c), y = t.modifiersData.popperOffsets, O = t.rects.reference, x = t.rects.popper, N = typeof f == "function" ? f(Object.assign({}, t.rects, {
4182
4184
  placement: t.placement
4183
- })) : f, C = {
4185
+ })) : f, E = {
4184
4186
  x: 0,
4185
4187
  y: 0
4186
4188
  };
@@ -4192,14 +4194,14 @@ function qd(e) {
4192
4194
  }, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ti(), ne = Q[I], ee = Q[j], se = Qn(0, O[V], W[V]), ye = w ? O[V] / 2 - F - se - ne - N : M - se - ne - N, Pe = w ? -O[V] / 2 + F + se + ee + N : U + se + ee + N, Se = t.elements.arrow && Tn(t.elements.arrow), Te = Se ? c === "y" ? Se.clientTop || 0 : Se.clientLeft || 0 : 0, he = t.modifiersData.offset ? t.modifiersData.offset[t.placement][c] : 0, Ie = y[c] + ye - he - Te, Re = y[c] + Pe - he;
4193
4195
  if (i) {
4194
4196
  var Le = Qn(h ? xn(P, Ie) : P, _, h ? Dt(B, Re) : B);
4195
- y[c] = Le, C[c] = Le - _;
4197
+ y[c] = Le, E[c] = Le - _;
4196
4198
  }
4197
4199
  if (l) {
4198
4200
  var ut = c === "x" ? Ke : Ge, dt = c === "x" ? ot : it, nt = y[S], St = nt + g[ut], Mt = nt - g[dt], _t = Qn(h ? xn(St, Ie) : St, nt, h ? Dt(Mt, Re) : Mt);
4199
- y[S] = _t, C[S] = _t - nt;
4201
+ y[S] = _t, E[S] = _t - nt;
4200
4202
  }
4201
4203
  }
4202
- t.modifiersData[r] = C;
4204
+ t.modifiersData[r] = E;
4203
4205
  }
4204
4206
  }
4205
4207
  var Wd = {
@@ -4266,8 +4268,8 @@ function Gd(e) {
4266
4268
  flipVariations: m,
4267
4269
  allowedAutoPlacements: f
4268
4270
  }) : se);
4269
- }, []), S = t.rects.reference, y = t.rects.popper, O = /* @__PURE__ */ new Map(), x = !0, N = c[0], C = 0; C < c.length; C++) {
4270
- var I = c[C], j = ft(I), V = en(I) === Zt, _ = [Ke, ot].indexOf(j) >= 0, P = _ ? "width" : "height", B = pa(t, {
4271
+ }, []), S = t.rects.reference, y = t.rects.popper, O = /* @__PURE__ */ new Map(), x = !0, N = c[0], E = 0; E < c.length; E++) {
4272
+ var I = c[E], j = ft(I), V = en(I) === Zt, _ = [Ke, ot].indexOf(j) >= 0, P = _ ? "width" : "height", B = pa(t, {
4271
4273
  placement: I,
4272
4274
  boundary: u,
4273
4275
  rootBoundary: p,
@@ -4652,7 +4654,7 @@ var oi = {
4652
4654
  triggerNode: o
4653
4655
  }), {
4654
4656
  hasContent: O
4655
- } = nd(r, i, u), x = D(() => w.value !== null), N = D(() => v.value || !O.value), C = D(() => c.value && !N.value), I = D(() => !p.value && !x.value), j = D(() => h.value ? `border: ${f.value}px solid transparent; margin: -${f.value}px;` : null), V = xr.debounce(S, b.value), _ = xr.debounce(y, d.value), P = async () => {
4657
+ } = nd(r, i, u), x = D(() => w.value !== null), N = D(() => v.value || !O.value), E = D(() => c.value && !N.value), I = D(() => !p.value && !x.value), j = D(() => h.value ? `border: ${f.value}px solid transparent; margin: -${f.value}px;` : null), V = xr.debounce(S, b.value), _ = xr.debounce(y, d.value), P = async () => {
4656
4658
  N.value || x.value || (_.clear(), V());
4657
4659
  }, B = async () => {
4658
4660
  x.value || (V.clear(), _());
@@ -4676,7 +4678,7 @@ var oi = {
4676
4678
  ref: (z, W) => {
4677
4679
  W.popperContainerNode = z, a.value = z;
4678
4680
  }
4679
- }, [E("div", {
4681
+ }, [C("div", {
4680
4682
  ref: (z, W) => {
4681
4683
  W.triggerNode = z, o.value = z;
4682
4684
  },
@@ -4687,7 +4689,7 @@ var oi = {
4687
4689
  }, [ie(M.$slots, "default")], 40, cc), te(Qr, {
4688
4690
  name: "fade"
4689
4691
  }, {
4690
- default: q(() => [mt(E("div", {
4692
+ default: q(() => [mt(C("div", {
4691
4693
  onClick: U[1] || (U[1] = (z) => !Y(h) && B()),
4692
4694
  class: "popper",
4693
4695
  ref: (z, W) => {
@@ -4698,7 +4700,7 @@ var oi = {
4698
4700
  isOpen: l.value
4699
4701
  }, () => [wt(de(Y(u)), 1)]), e.arrow ? (k(), X(dc, {
4700
4702
  key: 0
4701
- })) : ae("", !0)], 512), [[rl, Y(C)]])]),
4703
+ })) : ae("", !0)], 512), [[rl, Y(E)]])]),
4702
4704
  _: 3
4703
4705
  })], 36));
4704
4706
  }
@@ -4787,7 +4789,7 @@ const Nr = /* @__PURE__ */ H({
4787
4789
  "progress-2xl": n.size === "2xl"
4788
4790
  }])
4789
4791
  }, [
4790
- E("div", {
4792
+ C("div", {
4791
4793
  class: Z(["progress-bar", {
4792
4794
  "progress-primary": n.color === "primary",
4793
4795
  "progress-secondary": n.color === "secondary",
@@ -4843,11 +4845,11 @@ const Nr = /* @__PURE__ */ H({
4843
4845
  const s = Ne("base-icon");
4844
4846
  return k(), R("div", bc, [
4845
4847
  (k(!0), R(Ce, null, Ze(a.value, (d, u) => (k(), R(Ce, { key: u }, [
4846
- E("div", {
4848
+ C("div", {
4847
4849
  class: "step-body",
4848
4850
  onClick: (p) => i(d)
4849
4851
  }, [
4850
- E("div", {
4852
+ C("div", {
4851
4853
  class: Z(["step-icon-container", { active: d.active }])
4852
4854
  }, [
4853
4855
  d.icon ? (k(), X(s, {
@@ -4919,7 +4921,7 @@ const Nr = /* @__PURE__ */ H({
4919
4921
  }), Oc = {}, kc = { class: "table-container" }, Cc = { class: "table basic-table" };
4920
4922
  function Ec(e, t) {
4921
4923
  return k(), R("div", kc, [
4922
- E("table", Cc, [
4924
+ C("table", Cc, [
4923
4925
  ie(e.$slots, "default", {}, void 0, !0)
4924
4926
  ])
4925
4927
  ]);
@@ -4933,10 +4935,10 @@ function Bc(e, t) {
4933
4935
  const Pc = /* @__PURE__ */ fe(Ic, [["render", Bc], ["__scopeId", "data-v-cd7a6f00"]]), $c = {}, Mc = { class: "timeline-body" }, _c = { class: "timeline-point" }, Rc = { class: "timeline-content" };
4934
4936
  function Lc(e, t) {
4935
4937
  return k(), R("div", Mc, [
4936
- E("div", _c, [
4938
+ C("div", _c, [
4937
4939
  ie(e.$slots, "point", {}, void 0, !0)
4938
4940
  ]),
4939
- E("div", Rc, [
4941
+ C("div", Rc, [
4940
4942
  ie(e.$slots, "content", {}, void 0, !0)
4941
4943
  ])
4942
4944
  ]);
@@ -5012,7 +5014,7 @@ const Uc = { class: "toast-container" }, zc = { class: "self-start mt-0.5" }, qc
5012
5014
  key: s,
5013
5015
  data: s
5014
5016
  }, () => [
5015
- E("div", {
5017
+ C("div", {
5016
5018
  class: Z(["toast", {
5017
5019
  "toast-primary": s.color === "primary",
5018
5020
  "toast-secondary": s.color === "secondary",
@@ -5022,14 +5024,14 @@ const Uc = { class: "toast-container" }, zc = { class: "self-start mt-0.5" }, qc
5022
5024
  "toast-danger": s.color === "danger"
5023
5025
  }])
5024
5026
  }, [
5025
- E("div", zc, [
5027
+ C("div", zc, [
5026
5028
  s.color === "primary" ? (k(), R("i", qc)) : ae("", !0),
5027
5029
  s.color === "info" ? (k(), R("i", Wc)) : ae("", !0),
5028
5030
  s.color === "success" ? (k(), R("i", Yc)) : ae("", !0),
5029
5031
  s.color === "warning" ? (k(), R("i", Xc)) : ae("", !0),
5030
5032
  s.color === "danger" ? (k(), R("i", Qc)) : ae("", !0)
5031
5033
  ]),
5032
- E("div", Kc, de(s.message), 1),
5034
+ C("div", Kc, de(s.message), 1),
5033
5035
  (k(), X(ue($e), {
5034
5036
  type: "button",
5035
5037
  onClick: (d) => a(s.id),
@@ -5302,11 +5304,11 @@ function za(e) {
5302
5304
  }
5303
5305
  if (a === He || (a === je || a === et) && i === Sn) {
5304
5306
  w = tt;
5305
- var C = p && S.visualViewport ? S.visualViewport.width : (
5307
+ var E = p && S.visualViewport ? S.visualViewport.width : (
5306
5308
  // $FlowFixMe[prop-missing]
5307
5309
  y[x]
5308
5310
  );
5309
- m -= C - r.width, m *= s ? 1 : -1;
5311
+ m -= E - r.width, m *= s ? 1 : -1;
5310
5312
  }
5311
5313
  }
5312
5314
  var I = Object.assign({
@@ -5521,10 +5523,10 @@ function On(e, t) {
5521
5523
  right: O.right - w.right + f.right
5522
5524
  }, N = e.modifiersData.offset;
5523
5525
  if (u === mn && N) {
5524
- var C = N[a];
5526
+ var E = N[a];
5525
5527
  Object.keys(x).forEach(function(I) {
5526
5528
  var j = [tt, et].indexOf(I) >= 0 ? 1 : -1, V = [je, et].indexOf(I) >= 0 ? "y" : "x";
5527
- x[I] += C[V] * j;
5529
+ x[I] += E[V] * j;
5528
5530
  });
5529
5531
  }
5530
5532
  return x;
@@ -5567,8 +5569,8 @@ function _p(e) {
5567
5569
  flipVariations: m,
5568
5570
  allowedAutoPlacements: f
5569
5571
  }) : se);
5570
- }, []), S = t.rects.reference, y = t.rects.popper, O = /* @__PURE__ */ new Map(), x = !0, N = c[0], C = 0; C < c.length; C++) {
5571
- var I = c[C], j = vt(I), V = on(I) === tn, _ = [je, et].indexOf(j) >= 0, P = _ ? "width" : "height", B = On(t, {
5572
+ }, []), S = t.rects.reference, y = t.rects.popper, O = /* @__PURE__ */ new Map(), x = !0, N = c[0], E = 0; E < c.length; E++) {
5573
+ var I = c[E], j = vt(I), V = on(I) === tn, _ = [je, et].indexOf(j) >= 0, P = _ ? "width" : "height", B = On(t, {
5572
5574
  placement: I,
5573
5575
  boundary: u,
5574
5576
  rootBoundary: p,
@@ -5705,7 +5707,7 @@ function qp(e) {
5705
5707
  altBoundary: u
5706
5708
  }), b = vt(t.placement), A = on(t.placement), w = !A, c = ha(b), S = zp(c), y = t.modifiersData.popperOffsets, O = t.rects.reference, x = t.rects.popper, N = typeof f == "function" ? f(Object.assign({}, t.rects, {
5707
5709
  placement: t.placement
5708
- })) : f, C = typeof N == "number" ? {
5710
+ })) : f, E = typeof N == "number" ? {
5709
5711
  mainAxis: N,
5710
5712
  altAxis: N
5711
5713
  } : Object.assign({
@@ -5720,11 +5722,11 @@ function qp(e) {
5720
5722
  var V, _ = c === "y" ? je : He, P = c === "y" ? et : tt, B = c === "y" ? "height" : "width", F = y[c], M = F + g[_], U = F - g[P], z = h ? -x[B] / 2 : 0, W = A === tn ? O[B] : x[B], Q = A === tn ? -x[B] : -O[B], ne = t.elements.arrow, ee = h && ne ? ma(ne) : {
5721
5723
  width: 0,
5722
5724
  height: 0
5723
- }, se = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : mi(), ye = se[_], Pe = se[P], Se = bn(0, O[B], ee[B]), Te = w ? O[B] / 2 - z - Se - ye - C.mainAxis : W - Se - ye - C.mainAxis, he = w ? -O[B] / 2 + z + Se + Pe + C.mainAxis : Q + Se + Pe + C.mainAxis, Ie = t.elements.arrow && $n(t.elements.arrow), Re = Ie ? c === "y" ? Ie.clientTop || 0 : Ie.clientLeft || 0 : 0, Le = (V = I == null ? void 0 : I[c]) != null ? V : 0, ut = F + Te - Le - Re, dt = F + he - Le, nt = bn(h ? Zn(M, ut) : M, F, h ? Ut(U, dt) : U);
5725
+ }, se = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : mi(), ye = se[_], Pe = se[P], Se = bn(0, O[B], ee[B]), Te = w ? O[B] / 2 - z - Se - ye - E.mainAxis : W - Se - ye - E.mainAxis, he = w ? -O[B] / 2 + z + Se + Pe + E.mainAxis : Q + Se + Pe + E.mainAxis, Ie = t.elements.arrow && $n(t.elements.arrow), Re = Ie ? c === "y" ? Ie.clientTop || 0 : Ie.clientLeft || 0 : 0, Le = (V = I == null ? void 0 : I[c]) != null ? V : 0, ut = F + Te - Le - Re, dt = F + he - Le, nt = bn(h ? Zn(M, ut) : M, F, h ? Ut(U, dt) : U);
5724
5726
  y[c] = nt, j[c] = nt - F;
5725
5727
  }
5726
5728
  if (l) {
5727
- var St, Mt = c === "x" ? je : He, _t = c === "x" ? et : tt, At = y[S], Ot = S === "y" ? "height" : "width", dn = At + g[Mt], Rt = At - g[_t], cn = [je, He].indexOf(b) !== -1, Mn = (St = I == null ? void 0 : I[S]) != null ? St : 0, _n = cn ? dn : At - O[Ot] - x[Ot] - Mn + C.altAxis, Rn = cn ? At + O[Ot] + x[Ot] - Mn - C.altAxis : Rt, Ln = h && cn ? mp(_n, At, Rn) : bn(h ? _n : dn, At, h ? Rn : Rt);
5729
+ var St, Mt = c === "x" ? je : He, _t = c === "x" ? et : tt, At = y[S], Ot = S === "y" ? "height" : "width", dn = At + g[Mt], Rt = At - g[_t], cn = [je, He].indexOf(b) !== -1, Mn = (St = I == null ? void 0 : I[S]) != null ? St : 0, _n = cn ? dn : At - O[Ot] - x[Ot] - Mn + E.altAxis, Rn = cn ? At + O[Ot] + x[Ot] - Mn - E.altAxis : Rt, Ln = h && cn ? mp(_n, At, Rn) : bn(h ? _n : dn, At, h ? Rn : Rt);
5728
5730
  y[S] = Ln, j[S] = Ln - At;
5729
5731
  }
5730
5732
  t.modifiersData[r] = j;
@@ -5869,8 +5871,8 @@ function tf(e) {
5869
5871
  u.rects = {
5870
5872
  reference: Kp(A, $n(w), u.options.strategy === "fixed"),
5871
5873
  popper: ma(w)
5872
- }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(C) {
5873
- return u.modifiersData[C.name] = Object.assign({}, C.data);
5874
+ }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(E) {
5875
+ return u.modifiersData[E.name] = Object.assign({}, E.data);
5874
5876
  });
5875
5877
  for (var c = 0; c < u.orderedModifiers.length; c++) {
5876
5878
  if (u.reset === !0) {
@@ -6269,12 +6271,12 @@ function kf(e, t) {
6269
6271
  }), y.addEventListener("mouseleave", function() {
6270
6272
  c.props.interactive && c.props.trigger.indexOf("mouseenter") >= 0 && _().addEventListener("mousemove", m);
6271
6273
  }), c;
6272
- function C() {
6274
+ function E() {
6273
6275
  var $ = c.props.touch;
6274
6276
  return Array.isArray($) ? $ : [$, 0];
6275
6277
  }
6276
6278
  function I() {
6277
- return C()[0] === "hold";
6279
+ return E()[0] === "hold";
6278
6280
  }
6279
6281
  function j() {
6280
6282
  var $;
@@ -6526,7 +6528,7 @@ function kf(e, t) {
6526
6528
  }
6527
6529
  function dn($) {
6528
6530
  c.clearDelayTimeouts(), $ && M("onTrigger", [c, $]), se();
6529
- var G = B(!0), re = C(), ge = re[0], ve = re[1];
6531
+ var G = B(!0), re = E(), ge = re[0], ve = re[1];
6530
6532
  ct.isTouch && ge === "hold" && ve && (G = ve), G ? r = setTimeout(function() {
6531
6533
  c.show();
6532
6534
  }, G) : c.show();
@@ -6833,9 +6835,9 @@ var Pf = {
6833
6835
  (g || !t.props.interactive) && t.setProps({
6834
6836
  // @ts-ignore - unneeded DOMRect properties
6835
6837
  getReferenceClientRect: function() {
6836
- var x = n.getBoundingClientRect(), N = A, C = w;
6837
- b === "initial" && (N = x.left + S, C = x.top + y);
6838
- var I = b === "horizontal" ? x.top : C, j = b === "vertical" ? x.right : N, V = b === "horizontal" ? x.bottom : C, _ = b === "vertical" ? x.left : N;
6838
+ var x = n.getBoundingClientRect(), N = A, E = w;
6839
+ b === "initial" && (N = x.left + S, E = x.top + y);
6840
+ var I = b === "horizontal" ? x.top : E, j = b === "vertical" ? x.right : N, V = b === "horizontal" ? x.bottom : E, _ = b === "vertical" ? x.left : N;
6839
6841
  return {
6840
6842
  width: j - _,
6841
6843
  height: V - I,
@@ -7394,12 +7396,12 @@ const qf = /* @__PURE__ */ H({
7394
7396
  }, {
7395
7397
  default: q(() => [
7396
7398
  ie(i.$slots, "header", { isOpen: t.value }, () => [
7397
- E("i", {
7399
+ C("i", {
7398
7400
  class: Z(["i-fas-angle-right transform-gpu transition-all duration-200", {
7399
7401
  "rotate-90": t.value
7400
7402
  }])
7401
7403
  }, null, 2),
7402
- E("p", Yf, de(a.title), 1)
7404
+ C("p", Yf, de(a.title), 1)
7403
7405
  ])
7404
7406
  ]),
7405
7407
  _: 3
@@ -7458,8 +7460,8 @@ const qf = /* @__PURE__ */ H({
7458
7460
  t.required ? (k(), R("span", Kf, "(required)")) : ae("", !0),
7459
7461
  t.description ? (k(), R("span", Gf, de(t.description), 1)) : ae("", !0)
7460
7462
  ], 10, Qf)) : ae("", !0),
7461
- E("div", Jf, [
7462
- E("div", Zf, [
7463
+ C("div", Jf, [
7464
+ C("div", Zf, [
7463
7465
  ie(n.$slots, "default", {}, void 0, !0)
7464
7466
  ]),
7465
7467
  n.helpers ? (k(), R("div", ev, [
@@ -7468,7 +7470,7 @@ const qf = /* @__PURE__ */ H({
7468
7470
  class: "flex items-center gap-1",
7469
7471
  key: o
7470
7472
  }, [
7471
- E("p", tv, de(i), 1)
7473
+ C("p", tv, de(i), 1)
7472
7474
  ]))), 128))
7473
7475
  ], !0)
7474
7476
  ])) : ae("", !0),
@@ -7482,7 +7484,7 @@ const qf = /* @__PURE__ */ H({
7482
7484
  icon: "i-far-triangle-exclamation",
7483
7485
  class: "text-danger"
7484
7486
  }),
7485
- E("p", rv, de(i), 1)
7487
+ C("p", rv, de(i), 1)
7486
7488
  ]))), 128))
7487
7489
  ], !0)
7488
7490
  ])) : ae("", !0)
@@ -7523,7 +7525,7 @@ const qf = /* @__PURE__ */ H({
7523
7525
  )
7524
7526
  );
7525
7527
  const l = () => {
7526
- n.disabled || (a.value = null);
7528
+ n.disabled || (a.value = { label: "" });
7527
7529
  };
7528
7530
  return (s, d) => {
7529
7531
  const u = Ne("base-icon");
@@ -7540,82 +7542,86 @@ const qf = /* @__PURE__ */ H({
7540
7542
  modelValue: a.value,
7541
7543
  "onUpdate:modelValue": d[3] || (d[3] = (p) => a.value = p)
7542
7544
  }, {
7543
- default: q(() => [
7544
- E("div", ov, [
7545
- E("div", iv, [
7546
- te(Y(Cs), {
7547
- class: Z(["form-input", {
7548
- "border-simple": s.border === "simple",
7549
- "border-full": s.border === "full",
7550
- "border-none": s.border === "none",
7551
- "input-disabled": s.disabled
7552
- }]),
7553
- autocomplete: "off",
7554
- required: n.required,
7555
- disabled: n.disabled,
7556
- placeholder: s.placeholder,
7557
- displayValue: (p) => p.label,
7558
- onChange: d[0] || (d[0] = (p) => rt(i) ? i.value = p.target.value : i = p.target.value)
7559
- }, null, 8, ["required", "disabled", "placeholder", "class", "displayValue"]),
7560
- Object.keys(a.value ?? {}).length === 0 ? (k(), X(Y(ks), {
7561
- key: 0,
7562
- class: "absolute inset-y-0 right-0 flex items-center pr-2"
7563
- }, {
7564
- default: q(() => [
7565
- te(u, { icon: "i-far-angle-down" })
7566
- ]),
7567
- _: 1
7568
- })) : ae("", !0),
7569
- Object.keys(a.value ?? {}).length > 0 ? (k(), X(ue($e), {
7570
- key: 1,
7571
- variant: "text",
7572
- type: "button",
7573
- class: "absolute inset-y-0 right-0 flex items-center pr-2",
7574
- onClick: d[1] || (d[1] = (p) => l())
7575
- }, {
7576
- default: q(() => [
7577
- te(u, { icon: "i-far-xmark" })
7578
- ]),
7579
- _: 1
7580
- })) : ae("", !0)
7581
- ]),
7582
- te(Y(oa), {
7583
- leave: "transition ease-in duration-100",
7584
- leaveFrom: "opacity-100",
7585
- leaveTo: "opacity-0",
7586
- onAfterLeave: d[2] || (d[2] = (p) => rt(i) ? i.value = "" : i = "")
7587
- }, {
7588
- default: q(() => [
7589
- te(Y(Es), { class: "options" }, {
7545
+ default: q(() => {
7546
+ var p, v;
7547
+ return [
7548
+ C("div", ov, [
7549
+ C("div", iv, [
7550
+ te(Y(Cs), {
7551
+ class: Z(["form-input", {
7552
+ "border-simple": s.border === "simple",
7553
+ "border-full": s.border === "full",
7554
+ "border-none": s.border === "none",
7555
+ "input-disabled": s.disabled
7556
+ }]),
7557
+ autocomplete: "off",
7558
+ required: n.required,
7559
+ disabled: n.disabled,
7560
+ placeholder: s.placeholder,
7561
+ displayValue: (h) => h.label,
7562
+ onChange: d[0] || (d[0] = (h) => rt(i) ? i.value = h.target.value : i = h.target.value)
7563
+ }, null, 8, ["required", "disabled", "placeholder", "class", "displayValue"]),
7564
+ ((p = a.value) == null ? void 0 : p.label) === "" ? (k(), X(Y(ks), {
7565
+ key: 0,
7566
+ class: "absolute inset-y-0 right-0 flex items-center"
7567
+ }, {
7590
7568
  default: q(() => [
7591
- Y(o).length === 0 && Y(i) !== "" ? (k(), R("div", lv, " Nothing found. ")) : ae("", !0),
7592
- (k(!0), R(Ce, null, Ze(Y(o), (p) => (k(), X(Y(Ds), {
7593
- as: "template",
7594
- key: p.id,
7595
- value: p
7596
- }, {
7597
- default: q(({ selected: v, active: h }) => [
7598
- E("li", {
7599
- class: Z(["option", {
7600
- "option-active": h,
7601
- "option-inactive": !h
7602
- }])
7603
- }, [
7604
- E("span", {
7605
- class: Z(["block", { "font-medium": v, "font-normal": !v }])
7606
- }, de(p.label), 3)
7607
- ], 2)
7608
- ]),
7609
- _: 2
7610
- }, 1032, ["value"]))), 128))
7569
+ te(u, { icon: "i-far-angle-down" })
7611
7570
  ]),
7612
7571
  _: 1
7613
- })
7572
+ })) : ae("", !0),
7573
+ ((v = a.value) == null ? void 0 : v.label) !== "" ? (k(), X(ue($e), {
7574
+ key: 1,
7575
+ size: "none",
7576
+ variant: "text",
7577
+ type: "button",
7578
+ class: "absolute inset-y-0 right-0 flex items-center",
7579
+ onClick: d[1] || (d[1] = (h) => l())
7580
+ }, {
7581
+ default: q(() => [
7582
+ te(u, { icon: "i-far-xmark" })
7583
+ ]),
7584
+ _: 1
7585
+ })) : ae("", !0)
7614
7586
  ]),
7615
- _: 1
7616
- })
7617
- ])
7618
- ]),
7587
+ te(Y(oa), {
7588
+ leave: "transition ease-in duration-100",
7589
+ leaveFrom: "opacity-100",
7590
+ leaveTo: "opacity-0",
7591
+ onAfterLeave: d[2] || (d[2] = (h) => rt(i) ? i.value = "" : i = "")
7592
+ }, {
7593
+ default: q(() => [
7594
+ te(Y(Es), { class: "options" }, {
7595
+ default: q(() => [
7596
+ Y(o).length === 0 && Y(i) !== "" ? (k(), R("div", lv, " Nothing found. ")) : ae("", !0),
7597
+ (k(!0), R(Ce, null, Ze(Y(o), (h) => (k(), X(Y(Ds), {
7598
+ as: "template",
7599
+ key: h.id,
7600
+ value: h
7601
+ }, {
7602
+ default: q(({ selected: m, active: f }) => [
7603
+ C("li", {
7604
+ class: Z(["option", {
7605
+ "option-active": f,
7606
+ "option-inactive": !f
7607
+ }])
7608
+ }, [
7609
+ C("span", {
7610
+ class: Z(["block", { "font-medium": m, "font-normal": !m }])
7611
+ }, de(h.label), 3)
7612
+ ], 2)
7613
+ ]),
7614
+ _: 2
7615
+ }, 1032, ["value"]))), 128))
7616
+ ]),
7617
+ _: 1
7618
+ })
7619
+ ]),
7620
+ _: 1
7621
+ })
7622
+ ])
7623
+ ];
7624
+ }),
7619
7625
  _: 1
7620
7626
  }, 8, ["modelValue"])
7621
7627
  ]),
@@ -7623,7 +7629,7 @@ const qf = /* @__PURE__ */ H({
7623
7629
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
7624
7630
  };
7625
7631
  }
7626
- }), uv = /* @__PURE__ */ fe(sv, [["__scopeId", "data-v-08417460"]]), dv = { class: "flex gap-2 items-center" }, cv = ["id", "required", "disabled"], pv = ["for"], fv = { key: 0 }, vv = /* @__PURE__ */ H({
7632
+ }), uv = /* @__PURE__ */ fe(sv, [["__scopeId", "data-v-dbc1c98c"]]), dv = { class: "flex gap-2 items-center" }, cv = ["id", "required", "disabled"], pv = ["for"], fv = { key: 0 }, vv = /* @__PURE__ */ H({
7627
7633
  __name: "base-checkbox",
7628
7634
  props: {
7629
7635
  modelValue: { type: Boolean, default: !1 },
@@ -7656,8 +7662,8 @@ const qf = /* @__PURE__ */ H({
7656
7662
  errors: n.errors
7657
7663
  }, {
7658
7664
  default: q(() => [
7659
- E("div", dv, [
7660
- mt(E("input", {
7665
+ C("div", dv, [
7666
+ mt(C("input", {
7661
7667
  id: Y(i),
7662
7668
  "onUpdate:modelValue": l[0] || (l[0] = (s) => a.value = s),
7663
7669
  required: o.required,
@@ -7677,7 +7683,7 @@ const qf = /* @__PURE__ */ H({
7677
7683
  }, null, 10, cv), [
7678
7684
  [uo, a.value]
7679
7685
  ]),
7680
- E("label", {
7686
+ C("label", {
7681
7687
  for: Y(i),
7682
7688
  class: "cursor-pointer"
7683
7689
  }, [
@@ -7737,14 +7743,14 @@ var Ri = { exports: {} };
7737
7743
  y[W] = P, M = W;
7738
7744
  }
7739
7745
  return !F && M && (S = M), M || !F && S;
7740
- }, C = function(_, P) {
7746
+ }, E = function(_, P) {
7741
7747
  if (x(_))
7742
7748
  return _.clone();
7743
7749
  var B = typeof P == "object" ? P : {};
7744
7750
  return B.date = _, B.args = arguments, new j(B);
7745
7751
  }, I = c;
7746
7752
  I.l = N, I.i = x, I.w = function(_, P) {
7747
- return C(_, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
7753
+ return E(_, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
7748
7754
  };
7749
7755
  var j = function() {
7750
7756
  function _(B) {
@@ -7777,12 +7783,12 @@ var Ri = { exports: {} };
7777
7783
  }, P.isValid = function() {
7778
7784
  return this.$d.toString() !== f;
7779
7785
  }, P.isSame = function(B, F) {
7780
- var M = C(B);
7786
+ var M = E(B);
7781
7787
  return this.startOf(F) <= M && M <= this.endOf(F);
7782
7788
  }, P.isAfter = function(B, F) {
7783
- return C(B) < this.startOf(F);
7789
+ return E(B) < this.startOf(F);
7784
7790
  }, P.isBefore = function(B, F) {
7785
- return this.endOf(F) < C(B);
7791
+ return this.endOf(F) < E(B);
7786
7792
  }, P.$g = function(B, F, M) {
7787
7793
  return I.u(B) ? this[F] : this.set(M, B);
7788
7794
  }, P.unix = function() {
@@ -7834,7 +7840,7 @@ var Ri = { exports: {} };
7834
7840
  var M, U = this;
7835
7841
  B = Number(B);
7836
7842
  var z = I.p(F), W = function(ee) {
7837
- var se = C(U);
7843
+ var se = E(U);
7838
7844
  return I.w(se.date(se.date() + Math.round(ee * B)), U);
7839
7845
  };
7840
7846
  if (z === p)
@@ -7919,7 +7925,7 @@ var Ri = { exports: {} };
7919
7925
  }, P.utcOffset = function() {
7920
7926
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
7921
7927
  }, P.diff = function(B, F, M) {
7922
- var U, z = this, W = I.p(F), Q = C(B), ne = (Q.utcOffset() - this.utcOffset()) * r, ee = this - Q, se = function() {
7928
+ var U, z = this, W = I.p(F), Q = E(B), ne = (Q.utcOffset() - this.utcOffset()) * r, ee = this - Q, se = function() {
7923
7929
  return I.m(z, Q);
7924
7930
  };
7925
7931
  switch (W) {
@@ -7972,15 +7978,15 @@ var Ri = { exports: {} };
7972
7978
  return this.$d.toUTCString();
7973
7979
  }, _;
7974
7980
  }(), V = j.prototype;
7975
- return C.prototype = V, [["$ms", i], ["$s", o], ["$m", l], ["$H", s], ["$W", d], ["$M", p], ["$y", h], ["$D", m]].forEach(function(_) {
7981
+ return E.prototype = V, [["$ms", i], ["$s", o], ["$m", l], ["$H", s], ["$W", d], ["$M", p], ["$y", h], ["$D", m]].forEach(function(_) {
7976
7982
  V[_[1]] = function(P) {
7977
7983
  return this.$g(P, _[0], _[1]);
7978
7984
  };
7979
- }), C.extend = function(_, P) {
7980
- return _.$i || (_(P, j, C), _.$i = !0), C;
7981
- }, C.locale = N, C.isDayjs = x, C.unix = function(_) {
7982
- return C(1e3 * _);
7983
- }, C.en = y[S], C.Ls = y, C.p = {}, C;
7985
+ }), E.extend = function(_, P) {
7986
+ return _.$i || (_(P, j, E), _.$i = !0), E;
7987
+ }, E.locale = N, E.isDayjs = x, E.unix = function(_) {
7988
+ return E(1e3 * _);
7989
+ }, E.en = y[S], E.Ls = y, E.p = {}, E;
7984
7990
  });
7985
7991
  })(Ri);
7986
7992
  var hv = Ri.exports;
@@ -8050,9 +8056,9 @@ var Li = { exports: {} };
8050
8056
  function m(f) {
8051
8057
  var g, b;
8052
8058
  g = f, b = l && l.formats;
8053
- for (var A = (f = g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(N, C, I) {
8059
+ for (var A = (f = g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(N, E, I) {
8054
8060
  var j = I && I.toUpperCase();
8055
- return C || b[I] || n[I] || b[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(V, _, P) {
8061
+ return E || b[I] || n[I] || b[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(V, _, P) {
8056
8062
  return _ || P.slice(1);
8057
8063
  });
8058
8064
  })).match(r), w = A.length, c = 0; c < w; c += 1) {
@@ -8060,13 +8066,13 @@ var Li = { exports: {} };
8060
8066
  A[c] = x ? { regex: O, parser: x } : S.replace(/^\[|\]$/g, "");
8061
8067
  }
8062
8068
  return function(N) {
8063
- for (var C = {}, I = 0, j = 0; I < w; I += 1) {
8069
+ for (var E = {}, I = 0, j = 0; I < w; I += 1) {
8064
8070
  var V = A[I];
8065
8071
  if (typeof V == "string")
8066
8072
  j += V.length;
8067
8073
  else {
8068
8074
  var _ = V.regex, P = V.parser, B = N.slice(j), F = _.exec(B)[0];
8069
- P.call(C, F), N = N.replace(F, "");
8075
+ P.call(E, F), N = N.replace(F, "");
8070
8076
  }
8071
8077
  }
8072
8078
  return function(M) {
@@ -8075,7 +8081,7 @@ var Li = { exports: {} };
8075
8081
  var z = M.hours;
8076
8082
  U ? z < 12 && (M.hours += 12) : z === 12 && (M.hours = 0), delete M.afternoon;
8077
8083
  }
8078
- }(C), C;
8084
+ }(E), E;
8079
8085
  };
8080
8086
  }
8081
8087
  return function(f, g, b) {
@@ -8086,8 +8092,8 @@ var Li = { exports: {} };
8086
8092
  this.$u = y;
8087
8093
  var x = O[1];
8088
8094
  if (typeof x == "string") {
8089
- var N = O[2] === !0, C = O[3] === !0, I = N || C, j = O[2];
8090
- C && (j = O[2]), l = this.$locale(), !N && j && (l = b.Ls[j]), this.$d = function(B, F, M) {
8095
+ var N = O[2] === !0, E = O[3] === !0, I = N || E, j = O[2];
8096
+ E && (j = O[2]), l = this.$locale(), !N && j && (l = b.Ls[j]), this.$d = function(B, F, M) {
8091
8097
  try {
8092
8098
  if (["x", "X"].indexOf(F) > -1)
8093
8099
  return new Date((F === "X" ? 1e3 : 1) * B);
@@ -8154,7 +8160,7 @@ const bv = /* @__PURE__ */ _i(gv), Av = ["required", "disabled"], yv = /* @__PUR
8154
8160
  errors: n.errors
8155
8161
  }, {
8156
8162
  default: q(() => [
8157
- mt(E("input", {
8163
+ mt(C("input", {
8158
8164
  ref_key: "dateRef",
8159
8165
  ref: i,
8160
8166
  "onUpdate:modelValue": d[0] || (d[0] = (v) => l.value = v),
@@ -8174,7 +8180,7 @@ const bv = /* @__PURE__ */ _i(gv), Av = ["required", "disabled"], yv = /* @__PUR
8174
8180
  ]),
8175
8181
  _: 1
8176
8182
  })),
8177
- mt(E("input", {
8183
+ mt(C("input", {
8178
8184
  "onUpdate:modelValue": d[2] || (d[2] = (v) => a.value = v),
8179
8185
  type: "text",
8180
8186
  class: Z(["form-input bg-inherit", {
@@ -8230,7 +8236,7 @@ const bv = /* @__PURE__ */ _i(gv), Av = ["required", "disabled"], yv = /* @__PUR
8230
8236
  }, {
8231
8237
  default: q(() => [
8232
8238
  ie(o.$slots, "default", { fileRef: i.value }, () => [
8233
- E("input", {
8239
+ C("input", {
8234
8240
  class: Z(["form-input", {
8235
8241
  "border-simple": o.border === "simple",
8236
8242
  "border-full": o.border === "full",
@@ -8244,7 +8250,7 @@ const bv = /* @__PURE__ */ _i(gv), Av = ["required", "disabled"], yv = /* @__PUR
8244
8250
  disabled: n.disabled
8245
8251
  }, null, 42, xv)
8246
8252
  ], !0),
8247
- E("input", {
8253
+ C("input", {
8248
8254
  ref_key: "fileRef",
8249
8255
  ref: i,
8250
8256
  class: "hidden",
@@ -8295,7 +8301,7 @@ const bv = /* @__PURE__ */ _i(gv), Av = ["required", "disabled"], yv = /* @__PUR
8295
8301
  errors: n.errors
8296
8302
  }, {
8297
8303
  default: q(() => [
8298
- mt(E("input", {
8304
+ mt(C("input", {
8299
8305
  class: Z(["form-input", {
8300
8306
  "border-simple": d.border === "simple",
8301
8307
  "border-full": d.border === "full",
@@ -8319,14 +8325,14 @@ const bv = /* @__PURE__ */ _i(gv), Av = ["required", "disabled"], yv = /* @__PUR
8319
8325
  { trim: !0 }
8320
8326
  ]
8321
8327
  ]),
8322
- E("div", {
8328
+ C("div", {
8323
8329
  ref_key: "suffixRef",
8324
8330
  ref: o,
8325
8331
  class: "absolute right-0 h-full flex items-center justify-center text-slate-400 dark:text-slate-300"
8326
8332
  }, [
8327
8333
  ie(d.$slots, "suffix", {}, void 0, !0)
8328
8334
  ], 512),
8329
- E("div", {
8335
+ C("div", {
8330
8336
  ref_key: "prefixRef",
8331
8337
  ref: i,
8332
8338
  class: "absolute h-full flex items-center justify-center text-slate-400 dark:text-slate-300"
@@ -8372,7 +8378,7 @@ const bv = /* @__PURE__ */ _i(gv), Av = ["required", "disabled"], yv = /* @__PUR
8372
8378
  errors: n.errors
8373
8379
  }, {
8374
8380
  default: q(() => [
8375
- mt(E("input", {
8381
+ mt(C("input", {
8376
8382
  class: Z(["form-input", {
8377
8383
  "border-simple": i.border === "simple",
8378
8384
  "border-full": i.border === "full",
@@ -9049,7 +9055,7 @@ const jv = ["placeholder", "required", "disabled"], Hv = /* @__PURE__ */ H({
9049
9055
  errors: n.errors
9050
9056
  }, {
9051
9057
  default: q(() => [
9052
- mt(E("input", {
9058
+ mt(C("input", {
9053
9059
  ref_key: "inputRef",
9054
9060
  ref: r,
9055
9061
  class: Z(["form-input", {
@@ -9114,7 +9120,7 @@ const jv = ["placeholder", "required", "disabled"], Hv = /* @__PURE__ */ H({
9114
9120
  "onUpdate:modelValue": o[0] || (o[0] = (s) => a.value = s)
9115
9121
  }, {
9116
9122
  default: q(() => [
9117
- E("div", {
9123
+ C("div", {
9118
9124
  class: Z(["flex gap-2", { "flex-col": n.optionsLayout === "vertical" }])
9119
9125
  }, [
9120
9126
  (k(!0), R(Ce, null, Ze(i.options, (s) => (k(), X(Y(bu), {
@@ -9129,18 +9135,18 @@ const jv = ["placeholder", "required", "disabled"], Hv = /* @__PURE__ */ H({
9129
9135
  checked: u,
9130
9136
  option: s
9131
9137
  }, () => [
9132
- E("div", zv, [
9133
- E("div", {
9138
+ C("div", zv, [
9139
+ C("div", {
9134
9140
  class: Z([[u ? "bg-primary text-white " : "bg-white text-slate-900"], "border rounded p-2"])
9135
9141
  }, [
9136
- E("div", qv, [
9142
+ C("div", qv, [
9137
9143
  u ? (k(), R("div", Wv, [
9138
9144
  te(l, { icon: "i-fas-circle-check" })
9139
9145
  ])) : (k(), R("div", Yv, [
9140
9146
  te(l, { icon: "i-far-circle" })
9141
9147
  ])),
9142
- E("div", Xv, [
9143
- E("div", Qv, de(s.label), 1)
9148
+ C("div", Xv, [
9149
+ C("div", Qv, de(s.label), 1)
9144
9150
  ])
9145
9151
  ])
9146
9152
  ], 2)
@@ -9187,8 +9193,8 @@ const jv = ["placeholder", "required", "disabled"], Hv = /* @__PURE__ */ H({
9187
9193
  errors: n.errors
9188
9194
  }, {
9189
9195
  default: q(() => [
9190
- E("div", Gv, [
9191
- mt(E("input", {
9196
+ C("div", Gv, [
9197
+ mt(C("input", {
9192
9198
  type: "range",
9193
9199
  class: "w-full",
9194
9200
  min: "0",
@@ -9254,7 +9260,7 @@ const jv = ["placeholder", "required", "disabled"], Hv = /* @__PURE__ */ H({
9254
9260
  disabled: n.disabled
9255
9261
  }, {
9256
9262
  default: q(() => [
9257
- E("div", tm, [
9263
+ C("div", tm, [
9258
9264
  te(Y(ou), {
9259
9265
  class: Z(["list-box-button", {
9260
9266
  "border-simple": o.border === "simple",
@@ -9267,7 +9273,7 @@ const jv = ["placeholder", "required", "disabled"], Hv = /* @__PURE__ */ H({
9267
9273
  var s, d, u;
9268
9274
  return [
9269
9275
  (s = a.value) != null && s.label ? (k(), R("span", rm, de((d = a.value) == null ? void 0 : d.label), 1)) : (k(), R("span", nm, de(n.placeholder), 1)),
9270
- E("span", am, [
9276
+ C("span", am, [
9271
9277
  (u = a.value) != null && u.label ? (k(), R("i", {
9272
9278
  key: 1,
9273
9279
  class: "i-fas-xmark block h-5 w-5 text-gray-400",
@@ -9288,13 +9294,13 @@ const jv = ["placeholder", "required", "disabled"], Hv = /* @__PURE__ */ H({
9288
9294
  as: "template"
9289
9295
  }, {
9290
9296
  default: q(({ active: u, selected: p }) => [
9291
- E("li", {
9297
+ C("li", {
9292
9298
  class: Z([
9293
9299
  u ? "list-box-option-active" : "list-box-option-inactive",
9294
9300
  "list-box-option"
9295
9301
  ])
9296
9302
  }, [
9297
- E("span", {
9303
+ C("span", {
9298
9304
  class: Z([p ? "font-extrabold" : "font-normal", "block "])
9299
9305
  }, de(s.label), 3)
9300
9306
  ], 2)
@@ -9349,14 +9355,14 @@ const jv = ["placeholder", "required", "disabled"], Hv = /* @__PURE__ */ H({
9349
9355
  errors: n.errors
9350
9356
  }, {
9351
9357
  default: q(() => [
9352
- E("label", null, [
9353
- E("span", {
9358
+ C("label", null, [
9359
+ C("span", {
9354
9360
  class: Z(["inline-flex cursor-pointer select-none items-center gap-2", { "flex-row-reverse ": i.textPosition === "right" }])
9355
9361
  }, [
9356
9362
  ie(i.$slots, "label", {}, () => [
9357
9363
  wt(de(i.text), 1)
9358
9364
  ]),
9359
- mt(E("input", {
9365
+ mt(C("input", {
9360
9366
  "onUpdate:modelValue": o[0] || (o[0] = (l) => a.value = l),
9361
9367
  class: Z(["switch", [
9362
9368
  {
@@ -9421,7 +9427,7 @@ const jv = ["placeholder", "required", "disabled"], Hv = /* @__PURE__ */ H({
9421
9427
  errors: n.errors
9422
9428
  }, {
9423
9429
  default: q(() => [
9424
- mt(E("textarea", {
9430
+ mt(C("textarea", {
9425
9431
  ref_key: "textareaRef",
9426
9432
  ref: o,
9427
9433
  placeholder: s.placeholder,
@@ -9655,7 +9661,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9655
9661
  isOpen: l,
9656
9662
  isClosed: s
9657
9663
  };
9658
- }), bm = { class: "flex justify-between px-4" }, Am = /* @__PURE__ */ E("p", null, "Pointhub © 2023-2024", -1), ym = { class: "self-end" }, zh = /* @__PURE__ */ H({
9664
+ }), bm = { class: "flex justify-between px-4" }, Am = /* @__PURE__ */ C("p", null, "Pointhub © 2023-2024", -1), ym = { class: "self-end" }, zh = /* @__PURE__ */ H({
9659
9665
  __name: "app-footer",
9660
9666
  props: {
9661
9667
  version: {}
@@ -9663,7 +9669,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9663
9669
  setup(e) {
9664
9670
  return (t, n) => (k(), R("div", bm, [
9665
9671
  Am,
9666
- E("p", ym, "v" + de(t.version), 1)
9672
+ C("p", ym, "v" + de(t.version), 1)
9667
9673
  ]));
9668
9674
  }
9669
9675
  }), Ye = (e) => (po("data-v-b9a9f820"), e = e(), fo(), e), wm = { class: "header" }, xm = { class: "header-container" }, Sm = { class: "flex items-center gap-4" }, Om = {
@@ -9672,51 +9678,51 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9672
9678
  }, km = {
9673
9679
  key: 1,
9674
9680
  class: "block w-6 h-6 i-far-xmark"
9675
- }, Cm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("div", null, [
9676
- /* @__PURE__ */ E("p", { class: "line-clamp-2" }, "App Name")
9677
- ], -1)), Em = { class: "flex items-center" }, Dm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("span", { class: "absolute -mt-6 -mr-6 h-2 w-2 flex items-center justify-center" }, [
9678
- /* @__PURE__ */ E("span", { class: "absolute h-full w-full inline-flex animate-ping rounded-full bg-red-400 opacity-80" }),
9679
- /* @__PURE__ */ E("span", { class: "h-2 w-2 inline-flex rounded-full bg-red-400" })
9680
- ], -1)), Im = { class: "popper-root" }, Tm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("p", null, "Notifications", -1)), Bm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("p", null, "Logs", -1)), Pm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("div", { class: "mt-8 pb-8 text-center" }, [
9681
- /* @__PURE__ */ E("div", { class: "mt-5" }, [
9682
- /* @__PURE__ */ E("p", { class: "text-base font-semibold text-slate-700 dark:text-slate-100" }, " Empty Notification "),
9683
- /* @__PURE__ */ E("p", { class: "text-slate-400 dark:text-slate-300" }, " There are no new notifications ")
9681
+ }, Cm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("div", null, [
9682
+ /* @__PURE__ */ C("p", { class: "line-clamp-2" }, "App Name")
9683
+ ], -1)), Em = { class: "flex items-center" }, Dm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("span", { class: "absolute -mt-6 -mr-6 h-2 w-2 flex items-center justify-center" }, [
9684
+ /* @__PURE__ */ C("span", { class: "absolute h-full w-full inline-flex animate-ping rounded-full bg-red-400 opacity-80" }),
9685
+ /* @__PURE__ */ C("span", { class: "h-2 w-2 inline-flex rounded-full bg-red-400" })
9686
+ ], -1)), Im = { class: "popper-root" }, Tm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("p", null, "Notifications", -1)), Bm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("p", null, "Logs", -1)), Pm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("div", { class: "mt-8 pb-8 text-center" }, [
9687
+ /* @__PURE__ */ C("div", { class: "mt-5" }, [
9688
+ /* @__PURE__ */ C("p", { class: "text-base font-semibold text-slate-700 dark:text-slate-100" }, " Empty Notification "),
9689
+ /* @__PURE__ */ C("p", { class: "text-slate-400 dark:text-slate-300" }, " There are no new notifications ")
9684
9690
  ])
9685
- ], -1)), $m = { class: "overflow-y-auto flex flex-col gap-4" }, Mm = { class: "flex items-center space-x-3" }, _m = { class: "bg-info/10 dark:bg-info/15 h-10 w-10 flex shrink-0 items-center justify-center rounded-lg" }, Rm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("div", null, [
9686
- /* @__PURE__ */ E("p", { class: "font-medium text-slate-600 dark:text-slate-100" }, [
9691
+ ], -1)), $m = { class: "overflow-y-auto flex flex-col gap-4" }, Mm = { class: "flex items-center space-x-3" }, _m = { class: "bg-info/10 dark:bg-info/15 h-10 w-10 flex shrink-0 items-center justify-center rounded-lg" }, Rm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("div", null, [
9692
+ /* @__PURE__ */ C("p", { class: "font-medium text-slate-600 dark:text-slate-100" }, [
9687
9693
  /* @__PURE__ */ wt(" 01 Jan 2024 "),
9688
- /* @__PURE__ */ E("span", { class: "text-xs font-light" }, "08:10")
9694
+ /* @__PURE__ */ C("span", { class: "text-xs font-light" }, "08:10")
9689
9695
  ]),
9690
- /* @__PURE__ */ E("div", { class: "flex text-sm text-slate-400 dark:text-slate-300" }, [
9691
- /* @__PURE__ */ E("span", { class: "line-clamp-1" }, "Create new invoice #0002")
9696
+ /* @__PURE__ */ C("div", { class: "flex text-sm text-slate-400 dark:text-slate-300" }, [
9697
+ /* @__PURE__ */ C("span", { class: "line-clamp-1" }, "Create new invoice #0002")
9692
9698
  ])
9693
- ], -1)), Lm = { class: "flex items-center space-x-3" }, Fm = { class: "bg-info/10 dark:bg-info/15 h-10 w-10 flex shrink-0 items-center justify-center rounded-lg" }, Vm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("div", null, [
9694
- /* @__PURE__ */ E("p", { class: "font-medium text-slate-600 dark:text-slate-100" }, [
9699
+ ], -1)), Lm = { class: "flex items-center space-x-3" }, Fm = { class: "bg-info/10 dark:bg-info/15 h-10 w-10 flex shrink-0 items-center justify-center rounded-lg" }, Vm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("div", null, [
9700
+ /* @__PURE__ */ C("p", { class: "font-medium text-slate-600 dark:text-slate-100" }, [
9695
9701
  /* @__PURE__ */ wt(" 01 Jan 2024 "),
9696
- /* @__PURE__ */ E("span", { class: "text-xs font-light" }, "08:00")
9702
+ /* @__PURE__ */ C("span", { class: "text-xs font-light" }, "08:00")
9697
9703
  ]),
9698
- /* @__PURE__ */ E("div", { class: "flex text-sm text-slate-400 dark:text-slate-300" }, [
9699
- /* @__PURE__ */ E("span", { class: "line-clamp-1" }, "Create new invoice #0001")
9704
+ /* @__PURE__ */ C("div", { class: "flex text-sm text-slate-400 dark:text-slate-300" }, [
9705
+ /* @__PURE__ */ C("span", { class: "line-clamp-1" }, "Create new invoice #0001")
9700
9706
  ])
9701
- ], -1)), Nm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("button", { class: "btn btn-info btn-sm" }, "See all logs", -1)), jm = {
9707
+ ], -1)), Nm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("button", { class: "btn btn-info btn-sm" }, "See all logs", -1)), jm = {
9702
9708
  type: "button",
9703
9709
  class: "flex gap-2"
9704
- }, Hm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("div", { class: "hidden lg:flex flex-col justify-center items-end" }, [
9705
- /* @__PURE__ */ E("p", { class: "text-sm truncate font-semibold" }, "Organization Name"),
9706
- /* @__PURE__ */ E("p", { class: "text-sm truncate" }, "Username")
9707
- ], -1)), Um = { class: "popper-root p-2" }, zm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("div", { class: "flex flex-col justify-center items-start text-left text-sm" }, [
9708
- /* @__PURE__ */ E("p", { class: "font-semibold line-clamp-2" }, "Organization Name"),
9709
- /* @__PURE__ */ E("p", { class: "line-clamp-2" }, "Username")
9710
- ], -1)), qm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("p", null, "Switch Organization", -1)), Wm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("p", null, "Dark Mode", -1)), Ym = /* @__PURE__ */ Ye(() => /* @__PURE__ */ E("p", null, "Sign Out", -1)), Xm = /* @__PURE__ */ H({
9710
+ }, Hm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("div", { class: "hidden lg:flex flex-col justify-center items-end" }, [
9711
+ /* @__PURE__ */ C("p", { class: "text-sm truncate font-semibold" }, "Organization Name"),
9712
+ /* @__PURE__ */ C("p", { class: "text-sm truncate" }, "Username")
9713
+ ], -1)), Um = { class: "popper-root p-2" }, zm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("div", { class: "flex flex-col justify-center items-start text-left text-sm" }, [
9714
+ /* @__PURE__ */ C("p", { class: "font-semibold line-clamp-2" }, "Organization Name"),
9715
+ /* @__PURE__ */ C("p", { class: "line-clamp-2" }, "Username")
9716
+ ], -1)), qm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("p", null, "Switch Organization", -1)), Wm = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("p", null, "Dark Mode", -1)), Ym = /* @__PURE__ */ Ye(() => /* @__PURE__ */ C("p", null, "Sign Out", -1)), Xm = /* @__PURE__ */ H({
9711
9717
  __name: "app-header",
9712
9718
  setup(e) {
9713
9719
  const { isDarkMode: t, toggleDarkMode: n } = pm(), r = mr();
9714
9720
  return (a, i) => {
9715
9721
  const o = Ne("BaseIcon"), l = Ne("base-icon");
9716
9722
  return k(), R("nav", wm, [
9717
- E("div", xm, [
9718
- E("div", Sm, [
9719
- E("a", {
9723
+ C("div", xm, [
9724
+ C("div", Sm, [
9725
+ C("a", {
9720
9726
  href: "javascript:void(0)",
9721
9727
  onClick: i[0] || (i[0] = (s) => Y(r).toggleSidebar())
9722
9728
  }, [
@@ -9724,7 +9730,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9724
9730
  ]),
9725
9731
  Cm
9726
9732
  ]),
9727
- E("div", Em, [
9733
+ C("div", Em, [
9728
9734
  (k(), X(ue(Y($e)), {
9729
9735
  type: "button",
9730
9736
  size: "xs"
@@ -9739,7 +9745,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9739
9745
  })),
9740
9746
  (k(), X(ue(Y(Nr)), { placement: "bottom" }, {
9741
9747
  content: q(() => [
9742
- E("div", Im, [
9748
+ C("div", Im, [
9743
9749
  te(Y(ii), {
9744
9750
  as: "div",
9745
9751
  class: "bg-slate-100 dark:bg-slate-800"
@@ -9749,7 +9755,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9749
9755
  default: q(() => [
9750
9756
  te(Y(jr), { as: "template" }, {
9751
9757
  default: q(({ selected: s }) => [
9752
- E("a", {
9758
+ C("a", {
9753
9759
  href: "javascript:void(0);",
9754
9760
  class: Z(["flex pb-1 px-2 gap-1 items-center !outline-none", { "border-b-2 !border-slate-500": s }])
9755
9761
  }, [
@@ -9761,7 +9767,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9761
9767
  }),
9762
9768
  te(Y(jr), { as: "template" }, {
9763
9769
  default: q(({ selected: s }) => [
9764
- E("a", {
9770
+ C("a", {
9765
9771
  href: "javascript:void(0);",
9766
9772
  class: Z(["flex pb-1 px-2 gap-1 items-center !outline-none", { "border-b-2 !border-slate-500": s }])
9767
9773
  }, [
@@ -9784,15 +9790,15 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9784
9790
  }),
9785
9791
  te(Y(Hr), null, {
9786
9792
  default: q(() => [
9787
- E("div", $m, [
9788
- E("div", Mm, [
9789
- E("div", _m, [
9793
+ C("div", $m, [
9794
+ C("div", Mm, [
9795
+ C("div", _m, [
9790
9796
  te(l, { icon: "i-far-pencil" })
9791
9797
  ]),
9792
9798
  Rm
9793
9799
  ]),
9794
- E("div", Lm, [
9795
- E("div", Fm, [
9800
+ C("div", Lm, [
9801
+ C("div", Fm, [
9796
9802
  te(l, { icon: "i-far-pencil" })
9797
9803
  ]),
9798
9804
  Vm
@@ -9834,7 +9840,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9834
9840
  })),
9835
9841
  (k(), X(ue(Y(Nr)), { placement: "bottom-end" }, {
9836
9842
  content: q(() => [
9837
- E("div", Um, [
9843
+ C("div", Um, [
9838
9844
  (k(), X(ue(Y($e)), {
9839
9845
  variant: "text",
9840
9846
  color: "primary",
@@ -9907,7 +9913,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9907
9913
  ])
9908
9914
  ]),
9909
9915
  default: q(() => [
9910
- E("button", jm, [
9916
+ C("button", jm, [
9911
9917
  Hm,
9912
9918
  (k(), X(ue(Y(Ir)), {
9913
9919
  size: "xs",
@@ -9950,10 +9956,10 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9950
9956
  ref: r,
9951
9957
  class: "preloader"
9952
9958
  }, [
9953
- E("div", Qm, [
9954
- E("div", Km, de(n.value), 1),
9955
- E("div", Gm, [
9956
- E("div", {
9959
+ C("div", Qm, [
9960
+ C("div", Km, de(n.value), 1),
9961
+ C("div", Gm, [
9962
+ C("div", {
9957
9963
  class: "preloader-status-bar",
9958
9964
  style: sn({ width: t.value + "%" })
9959
9965
  }, null, 4)
@@ -9961,7 +9967,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9961
9967
  ])
9962
9968
  ], 512));
9963
9969
  }
9964
- }), Wh = /* @__PURE__ */ fe(Jm, [["__scopeId", "data-v-26c13000"]]), Zm = (e) => (po("data-v-e2179f9e"), e = e(), fo(), e), eh = { class: "sidebar-menu" }, th = { class: "sidebar-menu-container" }, nh = { class: "sidebar-menu-header" }, rh = { class: "text-base font-extrabold tracking-wider text-slate-100" }, ah = { key: 0 }, oh = { class: "sidebar-menu-body" }, ih = { class: "flex flex-1 flex-col px-4" }, lh = ["onClick"], sh = { class: "flex items-center space-x-2" }, uh = /* @__PURE__ */ Zm(() => /* @__PURE__ */ E("div", { class: "bullet-list" }, null, -1)), dh = {
9970
+ }), Wh = /* @__PURE__ */ fe(Jm, [["__scopeId", "data-v-26c13000"]]), Zm = (e) => (po("data-v-e2179f9e"), e = e(), fo(), e), eh = { class: "sidebar-menu" }, th = { class: "sidebar-menu-container" }, nh = { class: "sidebar-menu-header" }, rh = { class: "text-base font-extrabold tracking-wider text-slate-100" }, ah = { key: 0 }, oh = { class: "sidebar-menu-body" }, ih = { class: "flex flex-1 flex-col px-4" }, lh = ["onClick"], sh = { class: "flex items-center space-x-2" }, uh = /* @__PURE__ */ Zm(() => /* @__PURE__ */ C("div", { class: "bullet-list" }, null, -1)), dh = {
9965
9971
  key: 0,
9966
9972
  class: "submenu-separator"
9967
9973
  }, ch = ["href"], ph = {
@@ -9990,9 +9996,9 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
9990
9996
  return (u, p) => {
9991
9997
  const v = Ne("base-icon"), h = Ne("router-link");
9992
9998
  return k(), R("div", eh, [
9993
- E("div", th, [
9994
- E("div", nh, [
9995
- E("p", rh, de(u.title), 1),
9999
+ C("div", th, [
10000
+ C("div", nh, [
10001
+ C("p", rh, de(u.title), 1),
9996
10002
  n.value ? (k(), X(ue(Y($e)), {
9997
10003
  key: 0,
9998
10004
  onClick: p[0] || (p[0] = (m) => Y(i).closeSidebar()),
@@ -10009,8 +10015,8 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10009
10015
  _: 1
10010
10016
  })) : ae("", !0)
10011
10017
  ]),
10012
- E("div", oh, [
10013
- E("ul", ih, [
10018
+ C("div", oh, [
10019
+ C("ul", ih, [
10014
10020
  (k(!0), R(Ce, null, Ze(r.value, (m) => (k(), R("li", {
10015
10021
  key: m.name
10016
10022
  }, [
@@ -10022,7 +10028,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10022
10028
  onClick: (f) => l(m.name)
10023
10029
  }, {
10024
10030
  default: q(() => [
10025
- E("p", null, de(m.name), 1),
10031
+ C("p", null, de(m.name), 1),
10026
10032
  m.submenu ? (k(), R("i", {
10027
10033
  key: 0,
10028
10034
  class: Z(["i-fas-angle-right", {
@@ -10036,7 +10042,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10036
10042
  class: Z(["menu-link-button", { "font-extrabold": o.value === m.name }]),
10037
10043
  onClick: (f) => l(m.name)
10038
10044
  }, [
10039
- E("p", null, de(m.name), 1),
10045
+ C("p", null, de(m.name), 1),
10040
10046
  m.submenu ? (k(), R("i", {
10041
10047
  key: 0,
10042
10048
  class: Z(["i-fas-angle-right", {
@@ -10044,7 +10050,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10044
10050
  }])
10045
10051
  }, null, 2)) : ae("", !0)
10046
10052
  ], 10, lh)),
10047
- E("ul", {
10053
+ C("ul", {
10048
10054
  class: Z(["submenu", {
10049
10055
  "max-h-[1000px]! overflow-auto bg-slate-700 p-1 rounded-lg": o.value === m.name
10050
10056
  }])
@@ -10058,9 +10064,9 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10058
10064
  class: "submenu-link"
10059
10065
  }, {
10060
10066
  default: q(() => [
10061
- E("div", sh, [
10067
+ C("div", sh, [
10062
10068
  uh,
10063
- E("p", null, de(f.name), 1)
10069
+ C("p", null, de(f.name), 1)
10064
10070
  ])
10065
10071
  ]),
10066
10072
  _: 2
@@ -10123,8 +10129,8 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10123
10129
  return (l, s) => {
10124
10130
  const d = Ne("router-link");
10125
10131
  return k(), R("div", mh, [
10126
- E("div", hh, [
10127
- E("div", gh, [
10132
+ C("div", hh, [
10133
+ C("div", gh, [
10128
10134
  (k(!0), R(Ce, null, Ze(n.apps, (u, p) => (k(), R(Ce, null, [
10129
10135
  a(u.path) === "internal" ? (k(), X(d, {
10130
10136
  key: `internal-${p}`,
@@ -10133,13 +10139,13 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10133
10139
  class: "sidebar-panel-link"
10134
10140
  }, {
10135
10141
  default: q(() => [
10136
- E("div", bh, [
10142
+ C("div", bh, [
10137
10143
  u.icon && i(u.icon) === "img" ? (k(), R("img", {
10138
10144
  key: 0,
10139
10145
  src: u.icon,
10140
10146
  class: "pt-2 px-1 max-w-12 max-h-12"
10141
10147
  }, null, 8, Ah)) : (k(), R("img", yh)),
10142
- E("div", wh, de(u.name), 1)
10148
+ C("div", wh, de(u.name), 1)
10143
10149
  ])
10144
10150
  ]),
10145
10151
  _: 2
@@ -10148,13 +10154,13 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10148
10154
  href: u.path,
10149
10155
  class: "sidebar-panel-link"
10150
10156
  }, [
10151
- E("div", Sh, [
10157
+ C("div", Sh, [
10152
10158
  u.icon && i(u.icon) === "img" ? (k(), R("img", {
10153
10159
  key: 0,
10154
10160
  src: u.icon,
10155
10161
  class: "pt-2 px-1 max-w-12 max-h-12"
10156
10162
  }, null, 8, Oh)) : (k(), R("img", kh)),
10157
- E("div", Ch, de(u.name), 1)
10163
+ C("div", Ch, de(u.name), 1)
10158
10164
  ])
10159
10165
  ], 8, xh)) : ae("", !0)
10160
10166
  ], 64))), 256))
@@ -10178,7 +10184,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10178
10184
  a("choose", u);
10179
10185
  };
10180
10186
  return (u, p) => (k(), R(Ce, null, [
10181
- E("div", Ih, [
10187
+ C("div", Ih, [
10182
10188
  (k(), X(ue(Dh), {
10183
10189
  apps: u.apps,
10184
10190
  onChoose: d
@@ -10190,7 +10196,7 @@ const hm = (e) => typeof e == "string" ? JSON.parse(e) : e, gm = (e) => typeof e
10190
10196
  "is-mobile": o.value
10191
10197
  }, null, 8, ["title", "menus", "is-sidebar-open", "is-mobile"]))
10192
10198
  ]),
10193
- E("div", {
10199
+ C("div", {
10194
10200
  class: "sidebar-backdrop",
10195
10201
  onClick: p[0] || (p[0] = (v) => Y(n).closeSidebar())
10196
10202
  })