@wishbone-media/spark 0.15.3 → 0.16.0

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,12 +1,12 @@
1
- import { computed as k, resolveComponent as L, createElementBlock as g, openBlock as f, normalizeClass as _, createElementVNode as c, createVNode as b, unref as y, renderSlot as T, reactive as z, Fragment as M, renderList as B, createCommentVNode as x, toDisplayString as S, createBlock as V, resolveDynamicComponent as W, ref as $, inject as ge, provide as Ve, markRaw as he, withCtx as w, mergeProps as Y, toHandlers as ye, createTextVNode as P, withModifiers as j, useSlots as be, watch as E, onMounted as ve, h as le } from "vue";
1
+ import { computed as k, resolveComponent as L, createElementBlock as g, openBlock as f, normalizeClass as _, createElementVNode as c, createVNode as v, unref as y, renderSlot as T, reactive as z, Fragment as B, renderList as A, createCommentVNode as x, toDisplayString as S, createBlock as V, resolveDynamicComponent as W, ref as $, inject as ge, provide as Ve, markRaw as he, withCtx as w, mergeProps as Y, toHandlers as ye, createTextVNode as P, withModifiers as j, useSlots as ve, watch as E, onMounted as be, h as le } from "vue";
2
2
  import { library as xe, icon as ee } from "@fortawesome/fontawesome-svg-core";
3
3
  import { FontAwesomeIcon as Pe } from "@fortawesome/vue-fontawesome";
4
- import { faUndo as Re, faEye as Me, faSignOut as Fe, faXmark as Ae, faTrash as Be, faTimes as Ee, faStreetView as ze, faSortUp as je, faSortDown as Oe, faSort as Ie, faScaleBalanced as Ne, faSatelliteDish as De, faLayerPlus as Ze, faLaptopMobile as qe, faInfoCircle as Ge, faGripDotsVertical as Ke, faGearComplex as Ue, faFlag as We, faFaceSmileWink as Ye, faFaceSmileRelaxed as Xe, faExclamationTriangle as Je, faEllipsisVertical as Qe, faEllipsis as et, faEdit as tt, faComments as st, faCircleXmark as at, faCircleUser as ot, faChevronUp as rt, faChevronRight as nt, faChevronLeft as lt, faChevronDown as it, faCheckCircle as ct, faCheck as dt, faBullhorn as ut, faBellRing as pt, faBarsSort as ft, faArrowRightToLine as mt, faArrowLeftToLine as gt } from "@fortawesome/pro-regular-svg-icons";
4
+ import { faUndo as Re, faEye as Be, faSignOut as Me, faXmark as Fe, faTrash as Ae, faTimes as Ee, faStreetView as ze, faSortUp as je, faSortDown as Ie, faSort as Oe, faScaleBalanced as Ne, faSatelliteDish as De, faLayerPlus as Ze, faLaptopMobile as qe, faInfoCircle as Ge, faGripDotsVertical as Ke, faGearComplex as Ue, faFlag as We, faFaceSmileWink as Ye, faFaceSmileRelaxed as Xe, faExclamationTriangle as Je, faEllipsisVertical as Qe, faEllipsis as et, faEdit as tt, faComments as st, faCircleXmark as at, faCircleUser as ot, faChevronUp as rt, faChevronRight as nt, faChevronLeft as lt, faChevronDown as it, faCheckCircle as ct, faCheck as dt, faBullhorn as ut, faBellRing as pt, faBarsSort as ft, faArrowRightToLine as mt, faArrowLeftToLine as gt } from "@fortawesome/pro-regular-svg-icons";
5
5
  import { defineStore as X } from "pinia";
6
6
  import { TransitionRoot as ke, Dialog as _e, TransitionChild as te, DialogPanel as we } from "@headlessui/vue";
7
7
  import ae from "nprogress";
8
- import { range as ht, get as q, find as yt, has as bt } from "lodash";
9
- import { HotTable as vt } from "@handsontable/vue3";
8
+ import { range as ht, get as q, find as yt, has as vt } from "lodash";
9
+ import { HotTable as bt } from "@handsontable/vue3";
10
10
  import "handsontable/styles/handsontable.css";
11
11
  import "handsontable/styles/ht-theme-classic.css";
12
12
  import { registerPlugin as Q, AutoColumnSize as xt, CopyPaste as kt, StretchColumns as _t, NestedHeaders as wt } from "handsontable/plugins";
@@ -14,7 +14,20 @@ import { registerAllCellTypes as Ct } from "handsontable/cellTypes";
14
14
  import { useDebounceFn as Ce, watchDebounced as ie } from "@vueuse/core";
15
15
  import { registerRenderer as St, baseRenderer as $t } from "handsontable/renderers";
16
16
  import K from "axios";
17
- import { useRouter as O, useRoute as se } from "vue-router";
17
+ import { useRouter as I, useRoute as se } from "vue-router";
18
+ var Lt = {
19
+ prefix: "fad",
20
+ iconName: "sort-up",
21
+ icon: [384, 512, ["sort-asc"], "f0de", ["", "M32 224c-12.9 0-24.6-7.8-29.6-19.8S.2 178.5 9.4 169.4l160-160c12.5-12.5 32.8-12.5 45.3 0l160 160c9.2 9.2 11.9 22.9 6.9 34.9S364.9 224 352 224L32 224z"]]
22
+ }, Ht = {
23
+ prefix: "fad",
24
+ iconName: "sort",
25
+ icon: [384, 512, ["unsorted"], "f0dc", ["M2.4 307.8c-5 12-2.2 25.7 6.9 34.9l160 160c12.5 12.5 32.8 12.5 45.3 0l160-160c9.2-9.2 11.9-22.9 6.9-34.9S364.9 288 352 288L32 288c-12.9 0-24.6 7.8-29.6 19.8z", "M32 224c-12.9 0-24.6-7.8-29.6-19.8S.2 178.5 9.4 169.4l160-160c12.5-12.5 32.8-12.5 45.3 0l160 160c9.2 9.2 11.9 22.9 6.9 34.9S364.9 224 352 224L32 224z"]]
26
+ }, Tt = {
27
+ prefix: "fad",
28
+ iconName: "sort-down",
29
+ icon: [384, 512, ["sort-desc"], "f0dd", ["", "M32 288c-12.9 0-24.6 7.8-29.6 19.8S.2 333.5 9.4 342.6l160 160c12.5 12.5 32.8 12.5 45.3 0l160-160c9.2-9.2 11.9-22.9 6.9-34.9S364.9 288 352 288L32 288z"]]
30
+ };
18
31
  const H = {
19
32
  farArrowLeftToLine: gt,
20
33
  farArrowRightToLine: mt,
@@ -44,24 +57,27 @@ const H = {
44
57
  farLayerPlus: Ze,
45
58
  farSatelliteDish: De,
46
59
  farScaleBalanced: Ne,
47
- farSort: Ie,
48
- farSortDown: Oe,
60
+ farSort: Oe,
61
+ farSortDown: Ie,
49
62
  farSortUp: je,
50
63
  farStreetView: ze,
51
64
  farTimes: Ee,
52
- farTrash: Be,
53
- farXmark: Ae,
54
- farSignOut: Fe,
55
- farEye: Me,
56
- farUndo: Re
65
+ farTrash: Ae,
66
+ farXmark: Fe,
67
+ farSignOut: Me,
68
+ farEye: Be,
69
+ farUndo: Re,
70
+ fadSort: Ht,
71
+ fadSortDown: Tt,
72
+ fadSortUp: Lt
57
73
  };
58
- function pr(e) {
74
+ function hr(e) {
59
75
  Object.assign(H, e), xe.add(...Object.values(e));
60
76
  }
61
- function fr(e) {
77
+ function yr(e) {
62
78
  xe.add(...Object.values(H)), e.component("FontAwesomeIcon", Pe);
63
79
  }
64
- const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }, Tt = { class: "ml-3" }, Vt = { class: "ml-auto pl-3 pt-1 self-start" }, Pt = { class: "-mx-1.5 -my-1.5" }, mr = {
80
+ const Vt = { class: "flex items-center" }, Pt = { class: "shrink-0 self-start" }, Rt = { class: "ml-3" }, Bt = { class: "ml-auto pl-3 pt-1 self-start" }, Mt = { class: "-mx-1.5 -my-1.5" }, vr = {
65
81
  __name: "SparkAlert",
66
82
  props: {
67
83
  type: {
@@ -98,24 +114,24 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
98
114
  return f(), g("div", {
99
115
  class: _(["rounded-md border p-4", t.value])
100
116
  }, [
101
- c("div", Lt, [
102
- c("div", Ht, [
103
- b(n, {
117
+ c("div", Vt, [
118
+ c("div", Pt, [
119
+ v(n, {
104
120
  icon: y(H)[l.value],
105
121
  class: _(a.value)
106
122
  }, null, 8, ["icon", "class"])
107
123
  ]),
108
- c("div", Tt, [
124
+ c("div", Rt, [
109
125
  T(o.$slots, "default")
110
126
  ]),
111
- c("div", Vt, [
112
- c("div", Pt, [
127
+ c("div", Bt, [
128
+ c("div", Mt, [
113
129
  c("button", {
114
130
  type: "button",
115
131
  class: _(["inline-flex rounded-md px-2 py-1.5", r.value]),
116
132
  onClick: i[0] || (i[0] = (d) => o.$emit("close"))
117
133
  }, [
118
- b(n, {
134
+ v(n, {
119
135
  icon: y(H).farXmark
120
136
  }, null, 8, ["icon"])
121
137
  ], 2)
@@ -227,16 +243,16 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
227
243
  e.app = t.app || "", e.homeRoute = t.homeRoute ?? "dashboard", e.showBrandSelector = t.showBrandSelector ?? !0, e.showAppSelector = t.showAppSelector ?? !0;
228
244
  }
229
245
  };
230
- }), Rt = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, Mt = { class: "flex flex-1 flex-col" }, Ft = { class: "divide-y divide-gray-200" }, At = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, Bt = { class: "ml-auto flex items-center" }, Et = ["href", "onClick"], zt = { class: "gap-y-1" }, jt = { class: "text-base text-gray-800 flex items-center" }, Ot = { class: "font-medium" }, It = {
246
+ }), Ft = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, At = { class: "flex flex-1 flex-col" }, Et = { class: "divide-y divide-gray-200" }, zt = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, jt = { class: "ml-auto flex items-center" }, It = ["href", "onClick"], Ot = { class: "gap-y-1" }, Nt = { class: "text-base text-gray-800 flex items-center" }, Dt = { class: "font-medium" }, Zt = {
231
247
  key: 0,
232
248
  class: "inline-flex items-center rounded-full bg-green-100 px-1.5 py-0.5 text-xs font-medium text-green-700 ml-1"
233
- }, Nt = { class: "text-sm text-gray-500" }, Dt = { class: "ml-auto flex items-center" }, Zt = { class: "mt-auto" }, qt = {
249
+ }, qt = { class: "text-sm text-gray-500" }, Gt = { class: "ml-auto flex items-center" }, Kt = { class: "mt-auto" }, Ut = {
234
250
  key: 0,
235
251
  class: "p-6"
236
- }, Gt = {
252
+ }, Wt = {
237
253
  key: 1,
238
254
  class: "bg-gray-50 p-6"
239
- }, Kt = {
255
+ }, Yt = {
240
256
  __name: "SparkAppSelector",
241
257
  props: {
242
258
  bottomSlot: {
@@ -261,49 +277,49 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
261
277
  };
262
278
  return (i, n) => {
263
279
  const d = L("font-awesome-icon");
264
- return f(), g("div", Rt, [
265
- c("div", Mt, [
266
- c("div", Ft, [
267
- c("div", At, [
280
+ return f(), g("div", Ft, [
281
+ c("div", At, [
282
+ c("div", Et, [
283
+ c("div", zt, [
268
284
  n[1] || (n[1] = c("div", null, "Mr Group Network", -1)),
269
- c("div", Bt, [
270
- b(d, {
285
+ c("div", jt, [
286
+ v(d, {
271
287
  icon: y(H).farTimes,
272
288
  class: "h-[15px] w-[15px] shrink-0 text-gray-400 cursor-pointer",
273
289
  onClick: n[0] || (n[0] = (m) => t("close"))
274
290
  }, null, 8, ["icon"])
275
291
  ])
276
292
  ]),
277
- (f(!0), g(M, null, B(r.value, (m) => (f(), g("a", {
293
+ (f(!0), g(B, null, A(r.value, (m) => (f(), g("a", {
278
294
  key: m.name,
279
295
  href: m.href,
280
296
  target: "_blank",
281
297
  class: _([m.current ? "bg-gray-50" : "hover:bg-gray-50", "flex px-[22px] py-[15px] cursor-pointer"]),
282
298
  onClick: (u) => m.current ? u.preventDefault() : o(m)
283
299
  }, [
284
- c("div", zt, [
285
- c("div", jt, [
286
- c("div", Ot, S(m.name), 1),
287
- m.current ? (f(), g("span", It, " Active ")) : x("", !0)
300
+ c("div", Ot, [
301
+ c("div", Nt, [
302
+ c("div", Dt, S(m.name), 1),
303
+ m.current ? (f(), g("span", Zt, " Active ")) : x("", !0)
288
304
  ]),
289
- c("div", Nt, S(m.description), 1)
305
+ c("div", qt, S(m.description), 1)
290
306
  ]),
291
- c("div", Dt, [
292
- b(d, {
307
+ c("div", Gt, [
308
+ v(d, {
293
309
  class: _([m.current ? "text-gray-700" : "text-gray-400", "h-5 w-5 shrink-0"]),
294
310
  icon: y(H)[m.icon]
295
311
  }, null, 8, ["class", "icon"])
296
312
  ])
297
- ], 10, Et))), 128)),
313
+ ], 10, It))), 128)),
298
314
  n[2] || (n[2] = c("div", null, null, -1))
299
315
  ]),
300
- c("div", Zt, [
301
- i.$slots.bottom || e.bottomSlot ? (f(), g("div", qt, [
316
+ c("div", Kt, [
317
+ i.$slots.bottom || e.bottomSlot ? (f(), g("div", Ut, [
302
318
  T(i.$slots, "bottom", {}, () => [
303
319
  e.bottomSlot ? (f(), V(W(e.bottomSlot), { key: 0 })) : x("", !0)
304
320
  ])
305
321
  ])) : x("", !0),
306
- i.$slots.footer || e.footerSlot ? (f(), g("div", Gt, [
322
+ i.$slots.footer || e.footerSlot ? (f(), g("div", Wt, [
307
323
  T(i.$slots, "footer", {}, () => [
308
324
  e.footerSlot ? (f(), V(W(e.footerSlot), { key: 0 })) : x("", !0)
309
325
  ])
@@ -357,13 +373,13 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
357
373
  paths: ["state.brands"]
358
374
  }
359
375
  }
360
- ), Ut = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, Wt = { class: "flex flex-1 flex-col" }, Yt = { class: "divide-y divide-gray-200" }, Xt = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, Jt = { class: "ml-auto flex items-center" }, Qt = {
376
+ ), Xt = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, Jt = { class: "flex flex-1 flex-col" }, Qt = { class: "divide-y divide-gray-200" }, es = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, ts = { class: "ml-auto flex items-center" }, ss = {
361
377
  key: 0,
362
378
  class: "flex px-[22px] py-[15px] text-gray-500 text-sm"
363
- }, es = ["onClick"], ts = { class: "gap-y-1 flex" }, ss = { class: "flex items-center mr-4" }, as = ["src", "alt"], os = { class: "ml-auto flex flex-col" }, rs = { class: "text-base text-gray-800 flex items-center" }, ns = { class: "font-medium" }, ls = {
379
+ }, as = ["onClick"], os = { class: "gap-y-1 flex" }, rs = { class: "flex items-center mr-4" }, ns = ["src", "alt"], ls = { class: "ml-auto flex flex-col" }, is = { class: "text-base text-gray-800 flex items-center" }, cs = { class: "font-medium" }, ds = {
364
380
  key: 0,
365
381
  class: "inline-flex items-center rounded-full bg-green-100 px-1.5 py-0.5 text-xs font-medium text-green-700 ml-1"
366
- }, is = { class: "text-sm text-gray-500" }, cs = {
382
+ }, us = { class: "text-sm text-gray-500" }, ps = {
367
383
  __name: "SparkBrandSelector",
368
384
  emits: ["close", "select"],
369
385
  setup(e, { emit: s }) {
@@ -372,42 +388,42 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
372
388
  };
373
389
  return (r, o) => {
374
390
  const i = L("font-awesome-icon");
375
- return f(), g("div", Ut, [
376
- c("div", Wt, [
377
- c("div", Yt, [
378
- c("div", Xt, [
391
+ return f(), g("div", Xt, [
392
+ c("div", Jt, [
393
+ c("div", Qt, [
394
+ c("div", es, [
379
395
  o[1] || (o[1] = c("div", null, "Filter by Brand", -1)),
380
- c("div", Jt, [
381
- b(i, {
396
+ c("div", ts, [
397
+ v(i, {
382
398
  icon: y(H).farTimes,
383
399
  class: "size-4 text-gray-400 cursor-pointer",
384
400
  onClick: o[0] || (o[0] = (n) => t("close"))
385
401
  }, null, 8, ["icon"])
386
402
  ])
387
403
  ]),
388
- y(a).allBrands.length === 0 ? (f(), g("div", Qt, " No brands configured ")) : x("", !0),
389
- (f(!0), g(M, null, B(y(a).allBrands, (n) => (f(), g("div", {
404
+ y(a).allBrands.length === 0 ? (f(), g("div", ss, " No brands configured ")) : x("", !0),
405
+ (f(!0), g(B, null, A(y(a).allBrands, (n) => (f(), g("div", {
390
406
  key: n.id,
391
407
  class: _([n.current ? "bg-gray-50" : "hover:bg-gray-50", "flex px-[22px] py-[15px] cursor-pointer"]),
392
408
  onClick: (d) => l(n)
393
409
  }, [
394
- c("div", ts, [
395
- c("div", ss, [
410
+ c("div", os, [
411
+ c("div", rs, [
396
412
  c("img", {
397
413
  src: n.logo,
398
414
  alt: `${n.name} logo`,
399
415
  class: "h-8 w-auto"
400
- }, null, 8, as)
416
+ }, null, 8, ns)
401
417
  ]),
402
- c("div", os, [
403
- c("div", rs, [
404
- c("div", ns, S(n.name), 1),
405
- n.current ? (f(), g("span", ls, " Current ")) : x("", !0)
418
+ c("div", ls, [
419
+ c("div", is, [
420
+ c("div", cs, S(n.name), 1),
421
+ n.current ? (f(), g("span", ds, " Current ")) : x("", !0)
406
422
  ]),
407
- c("div", is, S(n.current ? "Current Brand" : "Change to"), 1)
423
+ c("div", us, S(n.current ? "Current Brand" : "Change to"), 1)
408
424
  ])
409
425
  ])
410
- ], 10, es))), 128)),
426
+ ], 10, as))), 128)),
411
427
  o[2] || (o[2] = c("div", null, null, -1))
412
428
  ]),
413
429
  o[3] || (o[3] = c("div", { class: "mt-auto" }, null, -1))
@@ -415,7 +431,7 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
415
431
  ]);
416
432
  };
417
433
  }
418
- }, ds = ["disabled"], A = {
434
+ }, fs = ["disabled"], F = {
419
435
  __name: "SparkButton",
420
436
  props: {
421
437
  size: {
@@ -459,11 +475,11 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
459
475
  }, o = (n, d) => {
460
476
  if (!d) return n;
461
477
  const m = n.split(" ").filter(Boolean), u = d.split(" ").filter(Boolean);
462
- return [...m.filter((h) => !u.some((v) => {
478
+ return [...m.filter((h) => !u.some((b) => {
463
479
  const N = Object.entries(r).find(
464
480
  ([R, J]) => J.test(h)
465
481
  )?.[0], C = Object.entries(r).find(
466
- ([R, J]) => J.test(v)
482
+ ([R, J]) => J.test(b)
467
483
  )?.[0];
468
484
  return N && N === C;
469
485
  })), ...u].join(" ");
@@ -524,9 +540,9 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
524
540
  onClick: d[0] || (d[0] = (m) => n.$emit("click"))
525
541
  }, [
526
542
  T(n.$slots, "default")
527
- ], 10, ds));
543
+ ], 10, fs));
528
544
  }
529
- }, us = {
545
+ }, ms = {
530
546
  __name: "SparkButtonGroup",
531
547
  setup(e) {
532
548
  const s = $(null);
@@ -542,13 +558,13 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
542
558
  T(l.$slots, "default")
543
559
  ], 512));
544
560
  }
545
- }, ps = { class: "divide-y divide-gray-300 rounded-lg border border-gray-300 text-gray-700 bg-gray-100" }, fs = {
561
+ }, gs = { class: "divide-y divide-gray-300 rounded-lg border border-gray-300 text-gray-700 bg-gray-100" }, hs = {
546
562
  key: 0,
547
563
  class: "p-5"
548
- }, ms = {
564
+ }, ys = {
549
565
  key: 1,
550
566
  class: "p-5"
551
- }, gr = {
567
+ }, br = {
552
568
  __name: "SparkCard",
553
569
  props: {
554
570
  padded: {
@@ -562,8 +578,8 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
562
578
  },
563
579
  setup(e) {
564
580
  const s = e;
565
- return (t, a) => (f(), g("div", ps, [
566
- t.$slots.header ? (f(), g("div", fs, [
581
+ return (t, a) => (f(), g("div", gs, [
582
+ t.$slots.header ? (f(), g("div", hs, [
567
583
  T(t.$slots, "header")
568
584
  ])) : x("", !0),
569
585
  c("div", {
@@ -571,13 +587,13 @@ const Lt = { class: "flex items-center" }, Ht = { class: "shrink-0 self-start" }
571
587
  }, [
572
588
  T(t.$slots, "default")
573
589
  ], 2),
574
- t.$slots.footer ? (f(), g("div", ms, [
590
+ t.$slots.footer ? (f(), g("div", ys, [
575
591
  T(t.$slots, "footer")
576
592
  ])) : x("", !0)
577
593
  ]));
578
594
  }
579
595
  };
580
- class gs {
596
+ class vs {
581
597
  constructor() {
582
598
  this.state = z({
583
599
  isVisible: !1,
@@ -593,7 +609,7 @@ class gs {
593
609
  this.state.isVisible = !1, this.state.eventHandlers = {};
594
610
  };
595
611
  }
596
- const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto" }, ys = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, bs = {
612
+ const U = new vs(), bs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto" }, xs = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, ks = {
597
613
  __name: "SparkModalContainer",
598
614
  setup(e) {
599
615
  return (s, t) => (f(), V(y(ke), {
@@ -601,12 +617,12 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
601
617
  show: y(U).state.isVisible
602
618
  }, {
603
619
  default: w(() => [
604
- b(y(_e), {
620
+ v(y(_e), {
605
621
  class: "relative z-200",
606
622
  onClose: y(U).hide
607
623
  }, {
608
624
  default: w(() => [
609
- b(y(te), {
625
+ v(y(te), {
610
626
  as: "template",
611
627
  enter: "ease-out duration-300",
612
628
  "enter-from": "opacity-0",
@@ -620,9 +636,9 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
620
636
  ])]),
621
637
  _: 1
622
638
  }),
623
- c("div", hs, [
624
- c("div", ys, [
625
- b(y(te), {
639
+ c("div", bs, [
640
+ c("div", xs, [
641
+ v(y(te), {
626
642
  as: "template",
627
643
  enter: "ease-out duration-300",
628
644
  "enter-from": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
@@ -632,7 +648,7 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
632
648
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
633
649
  }, {
634
650
  default: w(() => [
635
- b(y(we), { class: "relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:min-w-lg sm:max-w-max" }, {
651
+ v(y(we), { class: "relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:min-w-lg sm:max-w-max" }, {
636
652
  default: w(() => [
637
653
  (f(), V(W(y(U).state.content), Y(y(U).state.props, ye(y(U).state.eventHandlers)), null, 16))
638
654
  ]),
@@ -650,10 +666,10 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
650
666
  _: 1
651
667
  }, 8, ["show"]));
652
668
  }
653
- }, vs = { class: "px-4 pt-5 pb-4 sm:p-6" }, xs = {
669
+ }, _s = { class: "px-4 pt-5 pb-4 sm:p-6" }, ws = {
654
670
  key: 0,
655
671
  class: "text-lg font-medium text-gray-900"
656
- }, hr = {
672
+ }, xr = {
657
673
  __name: "SparkModalDialog",
658
674
  props: {
659
675
  title: {
@@ -732,12 +748,12 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
732
748
  })[s.type]);
733
749
  return (n, d) => {
734
750
  const m = L("font-awesome-icon");
735
- return f(), g("div", vs, [
751
+ return f(), g("div", _s, [
736
752
  r.value ? (f(), g("div", {
737
753
  key: 0,
738
754
  class: _(["mx-auto flex size-12 items-center justify-center rounded-full", o.value])
739
755
  }, [
740
- b(m, {
756
+ v(m, {
741
757
  icon: y(H)[r.value],
742
758
  class: _(["h-5 w-5", i.value])
743
759
  }, null, 8, ["icon", "class"])
@@ -745,7 +761,7 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
745
761
  c("div", {
746
762
  class: _(["text-center", { "mt-3 sm:mt-5": r.value }])
747
763
  }, [
748
- e.title ? (f(), g("h3", xs, S(e.title), 1)) : x("", !0),
764
+ e.title ? (f(), g("h3", ws, S(e.title), 1)) : x("", !0),
749
765
  e.message ? (f(), g("div", {
750
766
  key: 1,
751
767
  class: _([{ "mt-2": e.title }, "text-sm text-gray-500"])
@@ -754,7 +770,7 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
754
770
  c("div", {
755
771
  class: _(["mt-5 sm:mt-6", a.value])
756
772
  }, [
757
- (f(!0), g(M, null, B(t.value, (u, p) => (f(), V(y(A), {
773
+ (f(!0), g(B, null, A(t.value, (u, p) => (f(), V(y(F), {
758
774
  key: p,
759
775
  variant: u.variant,
760
776
  onClick: (h) => n.$emit(u.event, u)
@@ -768,7 +784,7 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
768
784
  ]);
769
785
  };
770
786
  }
771
- }, ks = { class: "fixed inset-0 flex" }, ce = {
787
+ }, Cs = { class: "fixed inset-0 flex" }, ce = {
772
788
  __name: "SparkOverlay",
773
789
  props: {
774
790
  position: {
@@ -791,13 +807,13 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
791
807
  as: "template"
792
808
  }, {
793
809
  default: w(() => [
794
- b(y(_e), {
810
+ v(y(_e), {
795
811
  initialFocus: t.value,
796
812
  class: "relative z-200",
797
813
  onClose: r
798
814
  }, {
799
815
  default: w(() => [
800
- b(y(te), {
816
+ v(y(te), {
801
817
  as: "template",
802
818
  enter: "transition-opacity ease-linear duration-150",
803
819
  "enter-from": "opacity-0",
@@ -811,8 +827,8 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
811
827
  ])]),
812
828
  _: 1
813
829
  }),
814
- c("div", ks, [
815
- b(y(te), {
830
+ c("div", Cs, [
831
+ v(y(te), {
816
832
  as: "template",
817
833
  enter: "transition ease-in-out duration-150 transform",
818
834
  "enter-from": e.position === "left" ? "-translate-x-full opacity-0" : "translate-x-full opacity-0",
@@ -822,7 +838,7 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
822
838
  "leave-to": e.position === "left" ? "-translate-x-full opacity-0" : "translate-x-full opacity-0"
823
839
  }, {
824
840
  default: w(() => [
825
- b(y(we), {
841
+ v(y(we), {
826
842
  ref_key: "panelRef",
827
843
  ref: t,
828
844
  class: _([
@@ -846,26 +862,28 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
846
862
  _: 1
847
863
  }, 8, ["show"]));
848
864
  }
849
- }, _s = (e) => {
865
+ }, Ss = (e) => {
850
866
  if (e.includes(".")) {
851
867
  const s = e.split(".");
852
868
  e = s[s.length - 1];
853
869
  }
854
870
  return e.replace(/_/g, " ");
855
- }, ws = (e, s, t) => {
871
+ }, $s = (e, s, t) => {
856
872
  const a = s.querySelector(".relative");
857
873
  if (!a || a.querySelector(".spark-table-head-sorting"))
858
874
  return;
859
875
  const l = document.createElement("span");
860
- l.classList.add("spark-table-head-sorting"), l.innerHTML = ee({ prefix: "far", iconName: "sort" }).html + ee({ prefix: "far", iconName: "sort-up" }).html + ee({ prefix: "far", iconName: "sort-down" }).html, a.appendChild(l), a.addEventListener("click", async () => {
861
- const r = t.params.sort;
862
- return r === e ? (a.classList.remove("asc"), a.classList.add("desc"), t.methods.applyParams({
863
- sort: `-${e}`
864
- })) : r === `-${e}` ? (a.classList.remove("desc"), await t.methods.removeParam("sort")) : (a.classList.add("asc"), t.methods.applyParams({
865
- sort: e
876
+ l.classList.add("spark-table-head-sorting"), l.innerHTML = ee({ prefix: "fad", iconName: "sort" }).html + ee({ prefix: "fad", iconName: "sort-up" }).html + ee({ prefix: "fad", iconName: "sort-down" }).html, a.appendChild(l), a.addEventListener("click", async () => {
877
+ const r = t.params.orderBy, o = t.params.sortedBy;
878
+ return r === e && o === "asc" ? (a.classList.remove("asc"), a.classList.add("desc"), t.methods.applyParams({
879
+ orderBy: e,
880
+ sortedBy: "desc"
881
+ })) : r === e ? (a.classList.remove("desc"), await t.methods.clearParams(["orderBy", "sortedBy"])) : (a.classList.add("asc"), t.methods.applyParams({
882
+ orderBy: e,
883
+ sortedBy: "asc"
866
884
  }));
867
885
  });
868
- }, Cs = (e, s, t) => {
886
+ }, Ls = (e, s, t) => {
869
887
  if (s.querySelector(".spark-table-head-filter"))
870
888
  return;
871
889
  const a = document.createElement("div"), l = document.createElement("input");
@@ -880,19 +898,29 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
880
898
  await t.methods.removeParam(d);
881
899
  }, 200);
882
900
  l.addEventListener("keyup", (o) => r(e, o)), s.appendChild(a);
883
- }, Ss = (e, s, t) => {
901
+ }, Hs = (e, s, t) => {
884
902
  e.classList.add("spark-table-head"), (!t || !t.hideSort) && e.classList.add("can-sort"), (!t || !t.hideFilter) && e.classList.add("can-filter"), e.querySelector(".relative").classList.add("spark-table-head-title-wrapper");
885
903
  const l = e.querySelector(".colHeader");
886
- l.classList.add("spark-table-head-title"), l.innerHTML = _s(s);
887
- }, $s = (e, s, t) => {
904
+ l.classList.add("spark-table-head-title"), l.innerHTML = Ss(s);
905
+ }, Ts = (e, s, t) => {
888
906
  if (typeof e != "number")
889
907
  return e;
890
908
  if (e < 0)
891
909
  return;
892
910
  let a = 2;
893
911
  const l = t.methods.colToProp(e), r = t.methods.getSettingsForProp(l);
894
- s.childElementCount === 1 && (r && r.hideSort && a--, r && r.hideFilter && a--, (!r || !r.hideSort) && ws(l, s, t), (!r || !r.hideFilter) && Cs(l, s, t)), (s.childElementCount === a || a === 0) && Ss(s, l, r);
895
- }, Ls = (e) => (s, t, a, l, r, o, i) => {
912
+ s.childElementCount === 1 && (r && r.hideSort && a--, r && r.hideFilter && a--, (!r || !r.hideSort) && $s(l, s, t), (!r || !r.hideFilter) && Ls(l, s, t)), (s.childElementCount === a || a === 0) && Hs(s, l, r);
913
+ }, Vs = (e) => {
914
+ if (!e.hotInstance || !e.hotInstance.rootElement)
915
+ return;
916
+ const s = e.params.orderBy, t = e.params.sortedBy, a = e.hotInstance.rootElement.querySelectorAll("thead th.can-sort .relative");
917
+ a.forEach((l) => {
918
+ l.classList.remove("asc", "desc");
919
+ }), s && t && a.forEach((l) => {
920
+ const r = l.closest("th"), o = Array.from(r.parentElement.children).indexOf(r);
921
+ e.methods.colToProp(o) === s && l.classList.add(t);
922
+ });
923
+ }, Ps = (e) => (s, t, a, l, r, o, i) => {
896
924
  t.innerHTML = "", t.classList.add("spark-table-cell-actions");
897
925
  const d = (i.rendererConfig || {}).actions || [];
898
926
  if (d.length === 0)
@@ -903,15 +931,15 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
903
931
  return;
904
932
  const h = document.createElement("button");
905
933
  if (h.type = "button", h.classList.add("spark-table-action-button"), p.icon) {
906
- const v = document.createElement("span");
907
- v.innerHTML = ee({ prefix: "far", iconName: p.icon }).html, v.classList.add("size-4"), h.appendChild(v);
934
+ const b = document.createElement("span");
935
+ b.innerHTML = ee({ prefix: "far", iconName: p.icon }).html, b.classList.add("size-4"), h.appendChild(b);
908
936
  }
909
937
  if (p.label) {
910
- const v = document.createElement("span");
911
- v.textContent = p.label, h.appendChild(v);
938
+ const b = document.createElement("span");
939
+ b.textContent = p.label, h.appendChild(b);
912
940
  }
913
- h.addEventListener("click", (v) => {
914
- if (v.preventDefault(), v.stopPropagation(), p.confirm) {
941
+ h.addEventListener("click", (b) => {
942
+ if (b.preventDefault(), b.stopPropagation(), p.confirm) {
915
943
  const N = typeof p.confirm == "string" ? p.confirm : `Are you sure you want to ${p.label?.toLowerCase() || "perform this action"}?`;
916
944
  if (!window.confirm(N))
917
945
  return;
@@ -928,7 +956,7 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
928
956
  purple: "bg-purple-100 text-purple-800",
929
957
  pink: "bg-pink-100 text-pink-800",
930
958
  indigo: "bg-indigo-100 text-indigo-800"
931
- }, Hs = (e) => (s, t, a, l, r, o, i) => {
959
+ }, Rs = (e) => (s, t, a, l, r, o, i) => {
932
960
  if (t.innerHTML = "", t.classList.add("spark-table-cell-badge"), !o)
933
961
  return;
934
962
  const d = (i.rendererConfig || {}).colorMap || {}, m = d[o] || d[o?.toLowerCase()] || "gray", u = de[m] || de.gray, p = document.createElement("span");
@@ -943,7 +971,7 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
943
971
  "capitalize",
944
972
  ...u.split(" ")
945
973
  ), p.textContent = o, t.appendChild(p);
946
- }, Ts = (e) => (s, t, a, l, r, o, i) => {
974
+ }, Bs = (e) => (s, t, a, l, r, o, i) => {
947
975
  if (t.innerHTML = "", t.classList.add("spark-table-cell-link"), !o)
948
976
  return;
949
977
  const n = i.rendererConfig || {}, d = s.getSourceDataAtRow(s.toPhysicalRow(a));
@@ -957,15 +985,15 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
957
985
  sm: "h-6 w-6",
958
986
  md: "h-8 w-8",
959
987
  lg: "h-12 w-12"
960
- }, Vs = (e) => (s, t, a, l, r, o, i) => {
988
+ }, Ms = (e) => (s, t, a, l, r, o, i) => {
961
989
  if (t.innerHTML = "", t.classList.add("spark-table-cell-image"), !o)
962
990
  return;
963
991
  const n = i.rendererConfig || {}, d = s.getSourceDataAtRow(s.toPhysicalRow(a)), m = n.size || "md", u = ue[m] || ue.md, p = n.rounded !== !1;
964
992
  let h = n.alt || "";
965
993
  typeof n.alt == "string" && d[n.alt] && (h = d[n.alt]);
966
- const v = document.createElement("img");
967
- v.src = o, v.alt = h, v.classList.add(...u.split(" "), "object-cover"), p ? v.classList.add("rounded-full") : v.classList.add("rounded"), t.appendChild(v);
968
- }, Ps = (e) => (s, t, a, l, r, o, i) => {
994
+ const b = document.createElement("img");
995
+ b.src = o, b.alt = h, b.classList.add(...u.split(" "), "object-cover"), p ? b.classList.add("rounded-full") : b.classList.add("rounded"), t.appendChild(b);
996
+ }, Fs = (e) => (s, t, a, l, r, o, i) => {
969
997
  if (t.innerHTML = "", t.classList.add("spark-table-cell-date"), !o)
970
998
  return;
971
999
  const n = i.rendererConfig || {}, d = n.format || "short", m = n.locale || "en-US";
@@ -976,23 +1004,23 @@ const U = new gs(), hs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
976
1004
  year: "numeric",
977
1005
  month: "long",
978
1006
  day: "numeric"
979
- }) : d === "relative" ? u = Rs(h) : d === "datetime" ? u = h.toLocaleString(m) : u = h.toLocaleDateString(m);
1007
+ }) : d === "relative" ? u = As(h) : d === "datetime" ? u = h.toLocaleString(m) : u = h.toLocaleDateString(m);
980
1008
  } catch (h) {
981
1009
  console.error("Error formatting date:", h), u = o;
982
1010
  }
983
1011
  const p = document.createElement("span");
984
1012
  p.textContent = u, t.appendChild(p);
985
1013
  };
986
- function Rs(e) {
1014
+ function As(e) {
987
1015
  const t = /* @__PURE__ */ new Date() - e, a = Math.floor(Math.abs(t) / 1e3), l = Math.floor(a / 60), r = Math.floor(l / 60), o = Math.floor(r / 24), i = Math.floor(o / 30), n = Math.floor(o / 365), d = t > 0;
988
1016
  return a < 60 ? d ? "just now" : "in a moment" : l < 60 ? d ? `${l} minute${l > 1 ? "s" : ""} ago` : `in ${l} minute${l > 1 ? "s" : ""}` : r < 24 ? d ? `${r} hour${r > 1 ? "s" : ""} ago` : `in ${r} hour${r > 1 ? "s" : ""}` : o < 30 ? d ? `${o} day${o > 1 ? "s" : ""} ago` : `in ${o} day${o > 1 ? "s" : ""}` : i < 12 ? d ? `${i} month${i > 1 ? "s" : ""} ago` : `in ${i} month${i > 1 ? "s" : ""}` : d ? `${n} year${n > 1 ? "s" : ""} ago` : `in ${n} year${n > 1 ? "s" : ""}`;
989
1017
  }
990
- const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1018
+ const Es = /* @__PURE__ */ new Map(), D = (e, s) => {
991
1019
  St(e, (t, a, l, r, o, i, n) => {
992
1020
  $t.apply(null, [t, a, l, r, o, i, n]), s(t, a, l, r, o, i, n);
993
- }), Ms.set(e, s);
994
- }, Fs = (e) => {
995
- D("spark.actions", Ls(e)), D("spark.badge", Hs()), D("spark.link", Ts()), D("spark.image", Vs()), D("spark.date", Ps()), D("style.capitalize", (s, t, a, l, r, o) => {
1021
+ }), Es.set(e, s);
1022
+ }, zs = (e) => {
1023
+ D("spark.actions", Ps(e)), D("spark.badge", Rs()), D("spark.link", Bs()), D("spark.image", Ms()), D("spark.date", Fs()), D("style.capitalize", (s, t, a, l, r, o) => {
996
1024
  if (!o || o.length === 0) {
997
1025
  t.innerText = "";
998
1026
  return;
@@ -1000,8 +1028,8 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1000
1028
  const i = document.createElement("span");
1001
1029
  i.innerHTML = o, i.classList.add("capitalize"), t.replaceChildren(i);
1002
1030
  });
1003
- }, As = () => {
1004
- }, Bs = { class: "flex items-center gap-4 px-4 py-3" }, Es = { class: "shrink-0" }, zs = { class: "text-sm text-gray-700" }, js = { class: "font-medium" }, Os = { class: "font-medium" }, Is = { class: "font-medium" }, Ns = {
1031
+ }, js = () => {
1032
+ }, Is = { class: "flex items-center gap-4 px-4 py-3" }, Os = { class: "shrink-0" }, Ns = { class: "text-sm text-gray-700" }, Ds = { class: "font-medium" }, Zs = { class: "font-medium" }, qs = { class: "font-medium" }, Gs = {
1005
1033
  __name: "SparkTablePaginationDetails",
1006
1034
  props: {
1007
1035
  sparkTable: {
@@ -1012,28 +1040,28 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1012
1040
  setup(e) {
1013
1041
  const s = e;
1014
1042
  return (t, a) => (f(), g("div", null, [
1015
- c("div", Bs, [
1016
- c("div", Es, [
1017
- c("div", zs, [
1043
+ c("div", Is, [
1044
+ c("div", Os, [
1045
+ c("div", Ns, [
1018
1046
  a[0] || (a[0] = P(" Showing ", -1)),
1019
- c("span", js, S(s.sparkTable.response.meta.from), 1),
1047
+ c("span", Ds, S(s.sparkTable.response.meta.from), 1),
1020
1048
  a[1] || (a[1] = P(" to ", -1)),
1021
- c("span", Os, S(s.sparkTable.response.meta.to), 1),
1049
+ c("span", Zs, S(s.sparkTable.response.meta.to), 1),
1022
1050
  a[2] || (a[2] = P(" of ", -1)),
1023
- c("span", Is, S(s.sparkTable.response.meta.total), 1),
1051
+ c("span", qs, S(s.sparkTable.response.meta.total), 1),
1024
1052
  a[3] || (a[3] = P(" results ", -1))
1025
1053
  ])
1026
1054
  ])
1027
1055
  ])
1028
1056
  ]));
1029
1057
  }
1030
- }, Ds = { class: "flex items-center gap-4 px-4 py-3" }, Zs = {
1058
+ }, Ks = { class: "flex items-center gap-4 px-4 py-3" }, Us = {
1031
1059
  key: 0,
1032
1060
  class: "shrink-0 ml-auto"
1033
- }, qs = {
1061
+ }, Ws = {
1034
1062
  class: "isolate inline-flex -space-x-px rounded-md shadow-xs bg-white",
1035
1063
  "aria-label": "Pagination"
1036
- }, Gs = ["onClick"], Ks = {
1064
+ }, Ys = ["onClick"], Xs = {
1037
1065
  __name: "SparkTablePaginationPaging",
1038
1066
  props: {
1039
1067
  sparkTable: {
@@ -1058,35 +1086,35 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1058
1086
  return (m, u) => {
1059
1087
  const p = L("font-awesome-icon");
1060
1088
  return f(), g("div", null, [
1061
- c("div", Ds, [
1062
- i.value.length > 1 ? (f(), g("div", Zs, [
1089
+ c("div", Ks, [
1090
+ i.value.length > 1 ? (f(), g("div", Us, [
1063
1091
  c("div", null, [
1064
- c("nav", qs, [
1092
+ c("nav", Ws, [
1065
1093
  c("a", {
1066
1094
  class: _([d.value ? "" : "disabled", "relative inline-flex items-center rounded-l-md px-2 py-[9px] text-gray-400 ring-1 ring-gray-300 ring-inset hover:bg-gray-50 focus:z-20 focus:outline-offset-0"]),
1067
1095
  href: "#",
1068
1096
  onClick: u[0] || (u[0] = j((h) => l(-1), ["prevent"]))
1069
1097
  }, [
1070
- b(p, {
1098
+ v(p, {
1071
1099
  icon: y(H).farChevronLeft,
1072
1100
  class: "size-5"
1073
1101
  }, null, 8, ["icon"])
1074
1102
  ], 2),
1075
- (f(!0), g(M, null, B(i.value, (h) => (f(), g("a", {
1103
+ (f(!0), g(B, null, A(i.value, (h) => (f(), g("a", {
1076
1104
  key: `page-${h}`,
1077
1105
  href: "#",
1078
1106
  class: _([
1079
1107
  "relative inline-flex items-center px-4 py-[9px] text-sm font-semibold ring-1 ring-inset",
1080
1108
  e.sparkTable.params.page === h ? "z-10 text-white bg-primary-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 hover:bg-primary-600" : "text-gray-900 hover:bg-gray-50 ring-gray-300 focus:z-20 focus:outline-offset-0"
1081
1109
  ]),
1082
- onClick: (v) => r(h)
1083
- }, S(h), 11, Gs))), 128)),
1110
+ onClick: (b) => r(h)
1111
+ }, S(h), 11, Ys))), 128)),
1084
1112
  c("a", {
1085
1113
  class: _([n.value ? "" : "disabled", "relative inline-flex items-center rounded-r-md px-2 py-[9px] text-gray-400 ring-1 ring-gray-300 ring-inset hover:bg-gray-50 focus:z-20 focus:outline-offset-0"]),
1086
1114
  onClick: u[1] || (u[1] = j((h) => l(1), ["prevent"])),
1087
1115
  href: "#"
1088
1116
  }, [
1089
- b(p, {
1117
+ v(p, {
1090
1118
  icon: y(H).farChevronRight,
1091
1119
  class: "size-5"
1092
1120
  }, null, 8, ["icon"])
@@ -1098,12 +1126,12 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1098
1126
  ]);
1099
1127
  };
1100
1128
  }
1101
- }, I = (e, s) => {
1129
+ }, O = (e, s) => {
1102
1130
  const t = e.__vccOpts || e;
1103
1131
  for (const [a, l] of s)
1104
1132
  t[a] = l;
1105
1133
  return t;
1106
- }, Us = { class: "spark-table-pagination-per-page" }, Ws = {
1134
+ }, Js = { class: "spark-table-pagination-per-page" }, Qs = {
1107
1135
  __name: "SparkTablePaginationPerPage",
1108
1136
  props: {
1109
1137
  sparkTable: {
@@ -1124,8 +1152,8 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1124
1152
  };
1125
1153
  return (o, i) => {
1126
1154
  const n = L("FormKit");
1127
- return f(), g("div", Us, [
1128
- b(n, {
1155
+ return f(), g("div", Js, [
1156
+ v(n, {
1129
1157
  "model-value": e.sparkTable.params.limit,
1130
1158
  type: "select",
1131
1159
  options: l.value,
@@ -1137,7 +1165,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1137
1165
  ]);
1138
1166
  };
1139
1167
  }
1140
- }, Ys = /* @__PURE__ */ I(Ws, [["__scopeId", "data-v-9ef8544b"]]), pe = {
1168
+ }, ea = /* @__PURE__ */ O(Qs, [["__scopeId", "data-v-9ef8544b"]]), pe = {
1141
1169
  __name: "SparkTableToolbar",
1142
1170
  props: {
1143
1171
  position: {
@@ -1147,7 +1175,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1147
1175
  }
1148
1176
  },
1149
1177
  setup(e) {
1150
- const s = e, t = be(), a = k(() => !!t.default), l = k(() => {
1178
+ const s = e, t = ve(), a = k(() => !!t.default), l = k(() => {
1151
1179
  const r = "spark-table-toolbar flex flex-wrap items-center gap-x-5 px-5 w-full";
1152
1180
  return s.position === "footer" ? `${r} spark-table-toolbar-footer justify-between` : `${r} spark-table-toolbar-header gap-y-5 py-5`;
1153
1181
  });
@@ -1158,7 +1186,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1158
1186
  T(r.$slots, "default")
1159
1187
  ], 2)) : x("", !0);
1160
1188
  }
1161
- }, Xs = { class: "spark-table-search" }, Js = {
1189
+ }, ta = { class: "spark-table-search" }, sa = {
1162
1190
  __name: "SparkTableSearch",
1163
1191
  props: {
1164
1192
  /** SparkTable instance object */
@@ -1196,8 +1224,8 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1196
1224
  }
1197
1225
  ), (r, o) => {
1198
1226
  const i = L("FormKit");
1199
- return f(), g("div", Xs, [
1200
- b(i, Y({
1227
+ return f(), g("div", ta, [
1228
+ v(i, Y({
1201
1229
  modelValue: t.value,
1202
1230
  "onUpdate:modelValue": o[0] || (o[0] = (n) => t.value = n),
1203
1231
  type: "text",
@@ -1209,7 +1237,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1209
1237
  ]);
1210
1238
  };
1211
1239
  }
1212
- }, Qs = /* @__PURE__ */ I(Js, [["__scopeId", "data-v-1dde9add"]]), ea = { class: "spark-table-filter-select" }, ta = {
1240
+ }, aa = /* @__PURE__ */ O(sa, [["__scopeId", "data-v-1dde9add"]]), oa = { class: "spark-table-filter-select" }, ra = {
1213
1241
  __name: "SparkTableFilterSelect",
1214
1242
  props: {
1215
1243
  /** SparkTable instance object */
@@ -1243,8 +1271,8 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1243
1271
  }
1244
1272
  ), (o, i) => {
1245
1273
  const n = L("FormKit");
1246
- return f(), g("div", ea, [
1247
- b(n, Y({
1274
+ return f(), g("div", oa, [
1275
+ v(n, Y({
1248
1276
  modelValue: t.value,
1249
1277
  "onUpdate:modelValue": i[0] || (i[0] = (d) => t.value = d),
1250
1278
  type: "select",
@@ -1257,10 +1285,10 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1257
1285
  ]);
1258
1286
  };
1259
1287
  }
1260
- }, sa = /* @__PURE__ */ I(ta, [["__scopeId", "data-v-2d4b75c0"]]), aa = { class: "spark-table-filter-buttons" }, oa = {
1288
+ }, na = /* @__PURE__ */ O(ra, [["__scopeId", "data-v-2d4b75c0"]]), la = { class: "spark-table-filter-buttons" }, ia = {
1261
1289
  key: 0,
1262
1290
  class: "spark-table-filter-buttons-label"
1263
- }, ra = {
1291
+ }, ca = {
1264
1292
  __name: "SparkTableFilterButtons",
1265
1293
  props: {
1266
1294
  /** SparkTable instance object */
@@ -1289,11 +1317,11 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1289
1317
  (i) => {
1290
1318
  (i == null || i === "") && t.value ? t.value = null : i !== t.value && (t.value = i);
1291
1319
  }
1292
- ), (i, n) => (f(), g("div", aa, [
1293
- y(a) ? (f(), g("span", oa, S(y(a)), 1)) : x("", !0),
1294
- b(us, { class: "isolate" }, {
1320
+ ), (i, n) => (f(), g("div", la, [
1321
+ y(a) ? (f(), g("span", ia, S(y(a)), 1)) : x("", !0),
1322
+ v(ms, { class: "isolate" }, {
1295
1323
  default: w(() => [
1296
- (f(!0), g(M, null, B(e.config.options, (d) => (f(), V(A, {
1324
+ (f(!0), g(B, null, A(e.config.options, (d) => (f(), V(F, {
1297
1325
  key: d.value,
1298
1326
  size: "xl",
1299
1327
  variant: r(d.value) ? "primary" : "secondary",
@@ -1309,7 +1337,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1309
1337
  })
1310
1338
  ]));
1311
1339
  }
1312
- }, na = /* @__PURE__ */ I(ra, [["__scopeId", "data-v-6de993cd"]]), la = { class: "spark-table-date-picker" }, ia = {
1340
+ }, da = /* @__PURE__ */ O(ca, [["__scopeId", "data-v-6de993cd"]]), ua = { class: "spark-table-date-picker" }, pa = {
1313
1341
  __name: "SparkTableDatePicker",
1314
1342
  props: {
1315
1343
  /** SparkTable instance object */
@@ -1342,7 +1370,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1342
1370
  }
1343
1371
  ), (o, i) => {
1344
1372
  const n = L("FormKit");
1345
- return f(), g("div", la, [
1373
+ return f(), g("div", ua, [
1346
1374
  (f(), V(n, Y({
1347
1375
  key: r.value,
1348
1376
  modelValue: t.value,
@@ -1360,7 +1388,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1360
1388
  ]);
1361
1389
  };
1362
1390
  }
1363
- }, ca = /* @__PURE__ */ I(ia, [["__scopeId", "data-v-f10ddb60"]]), da = { class: "spark-table-reset" }, ua = { key: 1 }, pa = {
1391
+ }, fa = /* @__PURE__ */ O(pa, [["__scopeId", "data-v-f10ddb60"]]), ma = { class: "spark-table-reset" }, ga = { key: 1 }, ha = {
1364
1392
  __name: "SparkTableReset",
1365
1393
  props: {
1366
1394
  /** SparkTable instance object */
@@ -1397,8 +1425,8 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1397
1425
  };
1398
1426
  return (a, l) => {
1399
1427
  const r = L("font-awesome-icon");
1400
- return f(), g("div", da, [
1401
- b(A, {
1428
+ return f(), g("div", ma, [
1429
+ v(F, {
1402
1430
  onClick: t,
1403
1431
  variant: "secondary",
1404
1432
  size: "xl"
@@ -1409,17 +1437,17 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1409
1437
  icon: ["far", e.config.icon],
1410
1438
  class: _({ "mr-1.5": e.config.label })
1411
1439
  }, null, 8, ["icon", "class"])) : x("", !0),
1412
- e.config.label ? (f(), g("span", ua, S(e.config.label), 1)) : x("", !0)
1440
+ e.config.label ? (f(), g("span", ga, S(e.config.label), 1)) : x("", !0)
1413
1441
  ]),
1414
1442
  _: 1
1415
1443
  })
1416
1444
  ]);
1417
1445
  };
1418
1446
  }
1419
- }, fa = /* @__PURE__ */ I(pa, [["__scopeId", "data-v-cbbeeb45"]]), ma = { class: "spark-table" }, ga = { class: "flex items-center gap-x-3" }, ne = {
1447
+ }, ya = /* @__PURE__ */ O(ha, [["__scopeId", "data-v-cbbeeb45"]]), va = { class: "spark-table" }, ba = { class: "flex items-center gap-x-3" }, ne = {
1420
1448
  perPages: [100, 200, 500],
1421
1449
  limit: 100
1422
- }, ha = {
1450
+ }, xa = {
1423
1451
  page: 1,
1424
1452
  limit: ne.limit
1425
1453
  }, fe = {
@@ -1432,7 +1460,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1432
1460
  tableClassName: "spark-table-table",
1433
1461
  readOnlyCellClassName: "read-only",
1434
1462
  licenseKey: "non-commercial-and-evaluation"
1435
- }, yr = {
1463
+ }, kr = {
1436
1464
  __name: "SparkTable",
1437
1465
  props: {
1438
1466
  url: {
@@ -1456,7 +1484,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1456
1484
  params: {
1457
1485
  type: Object,
1458
1486
  default() {
1459
- return ha;
1487
+ return xa;
1460
1488
  }
1461
1489
  },
1462
1490
  options: {
@@ -1490,11 +1518,11 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1490
1518
  const a = e;
1491
1519
  Ct(), Q(xt), Q(kt), Q(_t), q(a, "settings.nestedHeaders") && Q(wt);
1492
1520
  const l = t, r = ge("axios"), o = $(null), i = $(!1), n = $(null), d = {
1493
- search: Qs,
1494
- filterSelect: sa,
1495
- filterButtons: na,
1496
- datePicker: ca,
1497
- reset: fa
1521
+ search: aa,
1522
+ filterSelect: na,
1523
+ filterButtons: da,
1524
+ datePicker: fa,
1525
+ reset: ya
1498
1526
  }, m = k(() => Object.entries(a.plugins).filter(([p, h]) => h && h.enabled).map(([p, h]) => ({ name: p, config: h }))), u = z({
1499
1527
  hotInstance: null,
1500
1528
  url: a.url,
@@ -1519,13 +1547,13 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1519
1547
  i.value = !0, n.value = null, l("loading", !0), ae.start(), u.hotInstance = o.value.hotInstance;
1520
1548
  try {
1521
1549
  if (a.dataProvider) {
1522
- const v = await a.dataProvider(u.computed.params);
1523
- u.response = a.dataTransformer(v, a);
1550
+ const b = await a.dataProvider(u.computed.params);
1551
+ u.response = a.dataTransformer(b, a);
1524
1552
  } else if (a.url) {
1525
- const v = await r.get(a.url, {
1553
+ const b = await r.get(a.url, {
1526
1554
  params: u.computed.params
1527
1555
  });
1528
- u.response = a.dataTransformer(v, a);
1556
+ u.response = a.dataTransformer(b, a);
1529
1557
  } else {
1530
1558
  console.error("No data provider or URL provided"), i.value = !1, l("loading", !1), ae.done();
1531
1559
  return;
@@ -1555,8 +1583,8 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1555
1583
  },
1556
1584
  clearParam: (p) => u.methods.removeParam(p),
1557
1585
  clearParams: (p) => {
1558
- (Array.isArray(p) ? p : [p]).forEach((v) => {
1559
- u.params[v] !== void 0 && delete u.params[v];
1586
+ (Array.isArray(p) ? p : [p]).forEach((b) => {
1587
+ u.params[b] !== void 0 && delete u.params[b];
1560
1588
  }), u.methods.applyParams({ page: 1 });
1561
1589
  }
1562
1590
  },
@@ -1565,7 +1593,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1565
1593
  ...a.params,
1566
1594
  ...u.params
1567
1595
  })),
1568
- ready: k(() => bt(u, "response.meta.last_page"))
1596
+ ready: k(() => vt(u, "response.meta.last_page"))
1569
1597
  },
1570
1598
  options: k(() => ({
1571
1599
  ...ne,
@@ -1575,9 +1603,10 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1575
1603
  ...fe,
1576
1604
  nestedHeaders: q(a.settings, "nestedHeaders", []),
1577
1605
  ...!q(a.settings, "nestedHeaders") && {
1578
- afterGetColHeader: (p, h) => $s(p, h, u)
1606
+ afterGetColHeader: (p, h) => Ts(p, h, u)
1579
1607
  },
1580
- afterChange: (p, h) => As(),
1608
+ afterChange: (p, h) => js(),
1609
+ afterRender: () => Vs(u),
1581
1610
  ...a.settings
1582
1611
  }))
1583
1612
  });
@@ -1593,9 +1622,9 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1593
1622
  await u.methods.loadTable();
1594
1623
  },
1595
1624
  { debounce: 50, maxWait: 1e3 }
1596
- ), ve(async () => {
1625
+ ), be(async () => {
1597
1626
  await u.methods.loadTable(), l("ready");
1598
- }), Fs(u), s({
1627
+ }), zs(u), s({
1599
1628
  refresh: () => u.methods.loadTable(),
1600
1629
  getParams: () => u.methods.getParams(),
1601
1630
  getParam: (p) => u.methods.getParam(p),
@@ -1607,17 +1636,17 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1607
1636
  error: n,
1608
1637
  sparkTable: u,
1609
1638
  table: o
1610
- }), (p, h) => (f(), g("div", ma, [
1639
+ }), (p, h) => (f(), g("div", va, [
1611
1640
  u.computed.ready ? (f(), V(pe, {
1612
1641
  key: 0,
1613
1642
  position: "header"
1614
1643
  }, {
1615
1644
  default: w(() => [
1616
- (f(!0), g(M, null, B(m.value, (v) => (f(), V(W(d[v.config.type]), {
1617
- key: v.name,
1618
- class: _(v.config.align ? `self-${v.config.align}` : ""),
1645
+ (f(!0), g(B, null, A(m.value, (b) => (f(), V(W(d[b.config.type]), {
1646
+ key: b.name,
1647
+ class: _(b.config.align ? `self-${b.config.align}` : ""),
1619
1648
  "spark-table": u,
1620
- config: v.config
1649
+ config: b.config
1621
1650
  }, null, 8, ["class", "spark-table", "config"]))), 128)),
1622
1651
  T(p.$slots, "header", {
1623
1652
  sparkTable: u,
@@ -1627,7 +1656,7 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1627
1656
  ]),
1628
1657
  _: 3
1629
1658
  })) : x("", !0),
1630
- b(y(vt), {
1659
+ v(y(bt), {
1631
1660
  "theme-name": "ht-theme-classic",
1632
1661
  ref_key: "table",
1633
1662
  ref: o,
@@ -1638,13 +1667,13 @@ const Ms = /* @__PURE__ */ new Map(), D = (e, s) => {
1638
1667
  position: "footer"
1639
1668
  }, {
1640
1669
  default: w(() => [
1641
- b(Ns, { "spark-table": u }, null, 8, ["spark-table"]),
1642
- c("div", ga, [
1643
- b(Ks, {
1670
+ v(Gs, { "spark-table": u }, null, 8, ["spark-table"]),
1671
+ c("div", ba, [
1672
+ v(Xs, {
1644
1673
  "spark-table": u,
1645
1674
  onPaginate: u.methods.applyParams
1646
1675
  }, null, 8, ["spark-table", "onPaginate"]),
1647
- b(Ys, {
1676
+ v(ea, {
1648
1677
  "spark-table": u,
1649
1678
  onPaginate: u.methods.applyParams
1650
1679
  }, null, 8, ["spark-table", "onPaginate"]),
@@ -1686,7 +1715,7 @@ function me() {
1686
1715
  }
1687
1716
  };
1688
1717
  }
1689
- class ya {
1718
+ class ka {
1690
1719
  constructor() {
1691
1720
  this.left = me(), this.right = me();
1692
1721
  }
@@ -1718,22 +1747,22 @@ class ya {
1718
1747
  this.left.close(), this.right.close();
1719
1748
  };
1720
1749
  }
1721
- const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va = { class: "flex flex-1 flex-col" }, xa = {
1750
+ const Z = new ka(), _a = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, wa = { class: "flex flex-1 flex-col" }, Ca = {
1722
1751
  class: "flex flex-1 flex-col gap-y-7",
1723
1752
  role: "list"
1724
- }, ka = { class: "flex flex-1 flex-col" }, _a = {
1753
+ }, Sa = { class: "flex flex-1 flex-col" }, $a = {
1725
1754
  role: "list",
1726
1755
  class: "flex flex-1 flex-col"
1727
- }, wa = { class: "flex items-center pb-8" }, Ca = ["href", "onClick"], Sa = {
1756
+ }, La = { class: "flex items-center pb-8" }, Ha = ["href", "onClick"], Ta = {
1728
1757
  key: 2,
1729
1758
  class: "w-full flex justify-center"
1730
- }, $a = {
1759
+ }, Va = {
1731
1760
  key: 0,
1732
1761
  class: "mt-[5px] flex flex-col gap-[5px]"
1733
- }, La = ["href", "onClick"], Ha = {
1762
+ }, Pa = ["href", "onClick"], Ra = {
1734
1763
  key: 1,
1735
1764
  class: "text-[13px]"
1736
- }, Ta = { class: "mt-auto" }, Va = { class: "p-[10px] flex-shrink-0" }, Pa = { class: "flex flex-1 items-center gap-x-6" }, Ra = { class: "relative flex flex-1 items-center gap-4" }, Ma = { class: "cursor-pointer" }, Fa = ["src"], Aa = { class: "ml-auto" }, Ba = { class: "mr-[10px] pb-[10px] flex-1 flex flex-col" }, br = {
1765
+ }, Ba = { class: "mt-auto" }, Ma = { class: "p-[10px] flex-shrink-0" }, Fa = { class: "flex flex-1 items-center gap-x-6" }, Aa = { class: "relative flex flex-1 items-center gap-4" }, Ea = { class: "cursor-pointer" }, za = ["src"], ja = { class: "ml-auto" }, Ia = { class: "mr-[10px] pb-[10px] flex-1 flex flex-col" }, _r = {
1737
1766
  __name: "SparkDefaultContainer",
1738
1767
  props: {
1739
1768
  appStore: {
@@ -1751,16 +1780,16 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1751
1780
  },
1752
1781
  emits: ["overlayClose"],
1753
1782
  setup(e, { emit: s }) {
1754
- const t = e, a = s, l = be(), r = Le(), o = Se(), i = k(() => o.getAppIcon(t.appStore.state.app)), n = () => {
1783
+ const t = e, a = s, l = ve(), r = Le(), o = Se(), i = k(() => o.getAppIcon(t.appStore.state.app)), n = () => {
1755
1784
  const p = {};
1756
- l["app-selector-bottom"] ? p.bottomSlot = () => le("div", {}, l["app-selector-bottom"]()) : t.appSelectorSlots.bottomSlot && (p.bottomSlot = t.appSelectorSlots.bottomSlot), l["app-selector-footer"] ? p.footerSlot = () => le("div", {}, l["app-selector-footer"]()) : t.appSelectorSlots.footerSlot && (p.footerSlot = t.appSelectorSlots.footerSlot), Z.showRight(Kt, p, {
1785
+ l["app-selector-bottom"] ? p.bottomSlot = () => le("div", {}, l["app-selector-bottom"]()) : t.appSelectorSlots.bottomSlot && (p.bottomSlot = t.appSelectorSlots.bottomSlot), l["app-selector-footer"] ? p.footerSlot = () => le("div", {}, l["app-selector-footer"]()) : t.appSelectorSlots.footerSlot && (p.footerSlot = t.appSelectorSlots.footerSlot), Z.showRight(Yt, p, {
1757
1786
  select: (h) => {
1758
1787
  Z.closeRight();
1759
1788
  }
1760
1789
  });
1761
1790
  }, d = () => {
1762
1791
  Z.showLeft(
1763
- cs,
1792
+ ps,
1764
1793
  {},
1765
1794
  {
1766
1795
  select: (p) => {
@@ -1770,22 +1799,22 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1770
1799
  );
1771
1800
  }, m = k(() => t.mainNavStore.state.hidden ? ["w-0 overflow-hidden"] : [t.mainNavStore.state.collapsed ? "w-[80px]" : "w-[240px]"]), u = k(() => t.mainNavStore.state.hidden ? ["pl-2.5"] : [t.mainNavStore.state.collapsed ? "pl-[80px]" : "pl-[240px]"]);
1772
1801
  return (p, h) => {
1773
- const v = L("font-awesome-icon"), N = L("router-view");
1774
- return f(), g(M, null, [
1802
+ const b = L("font-awesome-icon"), N = L("router-view");
1803
+ return f(), g(B, null, [
1775
1804
  c("div", {
1776
1805
  class: _([m.value, "fixed inset-y-0 flex transition-all z-100"])
1777
1806
  }, [
1778
- c("div", ba, [
1779
- c("nav", va, [
1780
- c("ul", xa, [
1781
- c("li", ka, [
1782
- c("ul", _a, [
1783
- c("li", wa, [
1807
+ c("div", _a, [
1808
+ c("nav", wa, [
1809
+ c("ul", Ca, [
1810
+ c("li", Sa, [
1811
+ c("ul", $a, [
1812
+ c("li", La, [
1784
1813
  c("a", {
1785
1814
  class: "grid w-[40px] h-[40px] place-items-center rounded-md bg-primary-600 text-white text-[13px] cursor-pointer",
1786
1815
  onClick: h[0] || (h[0] = j((C) => e.mainNavStore.goto(e.appStore.state.homeRoute), ["prevent"]))
1787
1816
  }, [
1788
- b(v, {
1817
+ v(b, {
1789
1818
  icon: y(H)[i.value],
1790
1819
  class: "size-5"
1791
1820
  }, null, 8, ["icon"])
@@ -1796,7 +1825,7 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1796
1825
  class: "font-medium text-gray-800 ml-[10px] cursor-pointer"
1797
1826
  }, S(e.appStore.state.app), 1))
1798
1827
  ]),
1799
- (f(!0), g(M, null, B(e.mainNavStore.state.menu, (C) => (f(), g("li", {
1828
+ (f(!0), g(B, null, A(e.mainNavStore.state.menu, (C) => (f(), g("li", {
1800
1829
  key: C.name,
1801
1830
  class: _({
1802
1831
  "mt-[10px]": C.children,
@@ -1811,12 +1840,12 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1811
1840
  href: C?.href,
1812
1841
  onClick: j((R) => e.mainNavStore.goto(C.href), ["prevent"])
1813
1842
  }, [
1814
- C.icon ? (f(), V(v, {
1843
+ C.icon ? (f(), V(b, {
1815
1844
  key: 0,
1816
1845
  icon: y(H)[C.icon],
1817
1846
  class: _([[(C.current, "text-gray-400")], "size-4"])
1818
1847
  }, null, 8, ["icon", "class"])) : x("", !0),
1819
- e.mainNavStore.state.collapsed ? C?.children ? (f(), g("div", Sa, [...h[6] || (h[6] = [
1848
+ e.mainNavStore.state.collapsed ? C?.children ? (f(), g("div", Ta, [...h[6] || (h[6] = [
1820
1849
  c("div", { class: "w-[10px] h-px bg-gray-400" }, null, -1)
1821
1850
  ])])) : x("", !0) : (f(), g("span", {
1822
1851
  key: 1,
@@ -1827,9 +1856,9 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1827
1856
  "text-gray-500": C?.children
1828
1857
  })
1829
1858
  }, S(C.name), 3))
1830
- ], 10, Ca),
1831
- C.children ? (f(), g("ul", $a, [
1832
- (f(!0), g(M, null, B(C.children, (R) => (f(), g("li", {
1859
+ ], 10, Ha),
1860
+ C.children ? (f(), g("ul", Va, [
1861
+ (f(!0), g(B, null, A(C.children, (R) => (f(), g("li", {
1833
1862
  key: R.name
1834
1863
  }, [
1835
1864
  c("a", {
@@ -1837,26 +1866,26 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1837
1866
  href: R.href,
1838
1867
  onClick: j((J) => e.mainNavStore.goto(R.href), ["prevent"])
1839
1868
  }, [
1840
- R.icon ? (f(), V(v, {
1869
+ R.icon ? (f(), V(b, {
1841
1870
  key: 0,
1842
1871
  icon: y(H)[R.icon],
1843
1872
  class: _([[(R.current, "text-gray-400")], "size-4"])
1844
1873
  }, null, 8, ["icon", "class"])) : x("", !0),
1845
- e.mainNavStore.state.collapsed ? x("", !0) : (f(), g("span", Ha, S(R.name), 1))
1846
- ], 10, La)
1874
+ e.mainNavStore.state.collapsed ? x("", !0) : (f(), g("span", Ra, S(R.name), 1))
1875
+ ], 10, Pa)
1847
1876
  ]))), 128))
1848
1877
  ])) : x("", !0)
1849
1878
  ], 2))), 128))
1850
1879
  ])
1851
1880
  ]),
1852
- c("li", Ta, [
1881
+ c("li", Ba, [
1853
1882
  T(p.$slots, "sidebar-footer"),
1854
1883
  c("a", {
1855
1884
  class: "font-medium grid place-content-center gap-x-3 rounded-md h-10 p-2.5 text-gray-800 text-[13px] hover:bg-gray-100 transition-all duration-300 ease-in-out",
1856
1885
  href: "#",
1857
1886
  onClick: h[2] || (h[2] = j((C) => e.mainNavStore.toggleCollapsed(), ["prevent"]))
1858
1887
  }, [
1859
- b(v, {
1888
+ v(b, {
1860
1889
  icon: y(H)[e.mainNavStore.state.collapsed ? "farArrowRightToLine" : "farArrowLeftToLine"],
1861
1890
  class: "class-5"
1862
1891
  }, null, 8, ["icon"])
@@ -1869,12 +1898,12 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1869
1898
  c("div", {
1870
1899
  class: _([u.value, "h-full transition-all flex flex-col"])
1871
1900
  }, [
1872
- c("div", Va, [
1873
- c("div", Pa, [
1874
- c("div", Ra, [
1901
+ c("div", Ma, [
1902
+ c("div", Fa, [
1903
+ c("div", Aa, [
1875
1904
  T(p.$slots, "header-left", {}, () => [
1876
- c("div", Ma, [
1877
- b(v, {
1905
+ c("div", Ea, [
1906
+ v(b, {
1878
1907
  icon: y(H).farBarsSort,
1879
1908
  class: "size-5",
1880
1909
  onClick: h[3] || (h[3] = (C) => e.mainNavStore.toggleHidden())
@@ -1892,10 +1921,10 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1892
1921
  src: y(r).currentBrand.logo,
1893
1922
  alt: "",
1894
1923
  class: "h-[30px] w-auto"
1895
- }, null, 8, Fa)) : x("", !0)
1924
+ }, null, 8, za)) : x("", !0)
1896
1925
  ])) : x("", !0)
1897
1926
  ]),
1898
- c("div", Aa, [
1927
+ c("div", ja, [
1899
1928
  T(p.$slots, "header-right", {}, () => [
1900
1929
  e.appStore.state.showAppSelector ? (f(), g("button", {
1901
1930
  key: 0,
@@ -1903,7 +1932,7 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1903
1932
  type: "button",
1904
1933
  onClick: n
1905
1934
  }, [
1906
- b(v, {
1935
+ v(b, {
1907
1936
  icon: y(H).farGripDotsVertical,
1908
1937
  class: "size-4 text-gray-400"
1909
1938
  }, null, 8, ["icon"])
@@ -1913,35 +1942,35 @@ const Z = new ya(), ba = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
1913
1942
  ])
1914
1943
  ])
1915
1944
  ]),
1916
- c("main", Ba, [
1917
- b(N)
1945
+ c("main", Ia, [
1946
+ v(N)
1918
1947
  ])
1919
1948
  ], 2),
1920
- b(y(ce), {
1949
+ v(y(ce), {
1921
1950
  position: "left",
1922
1951
  "overlay-instance": y(Z).left,
1923
1952
  onClose: h[4] || (h[4] = (C) => a("overlayClose", "left"))
1924
1953
  }, null, 8, ["overlay-instance"]),
1925
- b(y(ce), {
1954
+ v(y(ce), {
1926
1955
  position: "right",
1927
1956
  "overlay-instance": y(Z).right,
1928
1957
  onClose: h[5] || (h[5] = (C) => a("overlayClose", "right"))
1929
1958
  }, null, 8, ["overlay-instance"]),
1930
- b(y(bs))
1959
+ v(y(ks))
1931
1960
  ], 64);
1932
1961
  };
1933
1962
  }
1934
- }, Ea = {}, za = { class: "h-full" };
1935
- function ja(e, s) {
1963
+ }, Oa = {}, Na = { class: "h-full" };
1964
+ function Da(e, s) {
1936
1965
  const t = L("router-view");
1937
- return f(), g("main", za, [
1938
- b(t)
1966
+ return f(), g("main", Na, [
1967
+ v(t)
1939
1968
  ]);
1940
1969
  }
1941
- const vr = /* @__PURE__ */ I(Ea, [["render", ja]]), Oa = (e) => {
1970
+ const wr = /* @__PURE__ */ O(Oa, [["render", Da]]), Za = (e) => {
1942
1971
  const s = document.cookie.match(new RegExp(`(^| )${e}=([^;]+)`));
1943
1972
  return s ? s[2] : null;
1944
- }, Ia = (e, s, t = {}) => {
1973
+ }, qa = (e, s, t = {}) => {
1945
1974
  const {
1946
1975
  maxAge: a = 31536e3,
1947
1976
  // 365 days in seconds
@@ -1952,7 +1981,7 @@ const vr = /* @__PURE__ */ I(Ea, [["render", ja]]), Oa = (e) => {
1952
1981
  } = t;
1953
1982
  let n = `${e}=${s}; max-age=${a}; path=${i}; samesite=${o}`;
1954
1983
  l && (n += `; domain=${l}`), r && (n += "; secure"), document.cookie = n;
1955
- }, Na = (e, s = {}) => {
1984
+ }, Ga = (e, s = {}) => {
1956
1985
  const { domain: t = He(), path: a = "/" } = s;
1957
1986
  let l = `${e}=; max-age=0; path=${a}`;
1958
1987
  t && (l += `; domain=${t}`), document.cookie = l;
@@ -1960,15 +1989,15 @@ const vr = /* @__PURE__ */ I(Ea, [["render", ja]]), Oa = (e) => {
1960
1989
  const e = window.location.hostname;
1961
1990
  return e === "localhost" ? "localhost" : e.endsWith(".test") || e.endsWith(".io") ? "." + e.split(".").slice(-2).join(".") : e.endsWith(".com.au") ? "." + e.split(".").slice(-3).join(".") : e;
1962
1991
  }, Te = [];
1963
- function Da(e) {
1992
+ function Ka(e) {
1964
1993
  Te.push(e);
1965
1994
  }
1966
- function Za() {
1995
+ function Ua() {
1967
1996
  Te.forEach((e) => e());
1968
1997
  }
1969
- function xr(e) {
1998
+ function Cr(e) {
1970
1999
  let s = !1;
1971
- return Da(() => {
2000
+ return Ka(() => {
1972
2001
  s = !1;
1973
2002
  }), {
1974
2003
  bootstrapApp: async () => {
@@ -1981,7 +2010,7 @@ function xr(e) {
1981
2010
  }
1982
2011
  };
1983
2012
  }
1984
- const re = "bolt-next-token", F = X("auth", () => {
2013
+ const re = "bolt-next-token", M = X("auth", () => {
1985
2014
  const e = z({
1986
2015
  user: null,
1987
2016
  token: null,
@@ -2017,10 +2046,10 @@ const re = "bolt-next-token", F = X("auth", () => {
2017
2046
  }), s = (d = {}) => {
2018
2047
  d.endpoints && Object.assign(e.endpoints, d.endpoints), d.routes && Object.assign(e.routes, d.routes), d.devCredentials && Object.assign(e.devCredentials, d.devCredentials), d.callbacks && Object.assign(e.callbacks, d.callbacks), d.overrideToken && (e.overrideToken = d.overrideToken);
2019
2048
  }, t = (d) => {
2020
- Ia(re, d), e.token = d;
2049
+ qa(re, d), e.token = d;
2021
2050
  }, a = () => {
2022
- Na(re), e.token = null;
2023
- }, l = () => Oa(re), r = async (d) => {
2051
+ Ga(re), e.token = null;
2052
+ }, l = () => Za(re), r = async (d) => {
2024
2053
  const m = await K.post(e.endpoints.login, d), u = m.headers.authorization;
2025
2054
  return t(u), e.user = m.data, e.callbacks.onLoginSuccess && await e.callbacks.onLoginSuccess(m.data), m.data;
2026
2055
  }, o = async () => {
@@ -2037,7 +2066,7 @@ const re = "bolt-next-token", F = X("auth", () => {
2037
2066
  } catch (d) {
2038
2067
  throw e.callbacks.onLogoutError && await e.callbacks.onLogoutError(d), d;
2039
2068
  } finally {
2040
- a(), e.user = null, Za();
2069
+ a(), e.user = null, Ua();
2041
2070
  }
2042
2071
  }, i = async () => {
2043
2072
  const d = e.overrideToken || l();
@@ -2067,17 +2096,17 @@ const re = "bolt-next-token", F = X("auth", () => {
2067
2096
  clearTokenCookie: a,
2068
2097
  getTokenCookie: l
2069
2098
  };
2070
- }), qa = { class: "h-full grid place-content-center relative" }, Ga = { class: "absolute top-8 left-8" }, Ka = ["src"], Ua = {
2099
+ }), Wa = { class: "h-full grid place-content-center relative" }, Ya = { class: "absolute top-8 left-8" }, Xa = ["src"], Ja = {
2071
2100
  key: 1,
2072
2101
  width: "59",
2073
2102
  height: "23",
2074
2103
  viewBox: "0 0 59 23",
2075
2104
  fill: "none",
2076
2105
  xmlns: "http://www.w3.org/2000/svg"
2077
- }, Wa = { class: "max-w-sm grid gap-y-1 -mt-8" }, Ya = { class: "mb-7" }, Xa = { class: "text-gray-600" }, Ja = { class: "grid grid-flow-col justify-between mt-1 mb-4" }, Qa = {
2106
+ }, Qa = { class: "max-w-sm grid gap-y-1 -mt-8" }, eo = { class: "mb-7" }, to = { class: "text-gray-600" }, so = { class: "grid grid-flow-col justify-between mt-1 mb-4" }, ao = {
2078
2107
  key: 0,
2079
2108
  class: "text-red-600 text-sm mb-2"
2080
- }, eo = { key: 0 }, to = { key: 1 }, so = {
2109
+ }, oo = { key: 0 }, ro = { key: 1 }, no = {
2081
2110
  __name: "SparkLoginView",
2082
2111
  props: {
2083
2112
  logo: {
@@ -2094,7 +2123,7 @@ const re = "bolt-next-token", F = X("auth", () => {
2094
2123
  }
2095
2124
  },
2096
2125
  setup(e) {
2097
- const s = O(), t = se(), a = $e(), l = F(), r = e, o = $(!1), i = $(""), n = async (d) => {
2126
+ const s = I(), t = se(), a = $e(), l = M(), r = e, o = $(!1), i = $(""), n = async (d) => {
2098
2127
  o.value = !0, i.value = "";
2099
2128
  try {
2100
2129
  await l.login(d);
@@ -2115,14 +2144,14 @@ const re = "bolt-next-token", F = X("auth", () => {
2115
2144
  };
2116
2145
  return (d, m) => {
2117
2146
  const u = L("FormKit"), p = L("router-link");
2118
- return f(), g("div", qa, [
2119
- c("div", Ga, [
2147
+ return f(), g("div", Wa, [
2148
+ c("div", Ya, [
2120
2149
  r.logo ? (f(), g("img", {
2121
2150
  key: 0,
2122
2151
  src: r.logo,
2123
2152
  alt: "Logo",
2124
2153
  class: "h-[23px] w-auto"
2125
- }, null, 8, Ka)) : (f(), g("svg", Ua, [...m[0] || (m[0] = [
2154
+ }, null, 8, Xa)) : (f(), g("svg", Ja, [...m[0] || (m[0] = [
2126
2155
  c("path", {
2127
2156
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
2128
2157
  fill: "#1C64F2"
@@ -2141,18 +2170,18 @@ const re = "bolt-next-token", F = X("auth", () => {
2141
2170
  }, null, -1)
2142
2171
  ])]))
2143
2172
  ]),
2144
- c("div", Wa, [
2145
- c("div", Ya, [
2173
+ c("div", Qa, [
2174
+ c("div", eo, [
2146
2175
  m[1] || (m[1] = c("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Log in", -1)),
2147
- c("p", Xa, " Welcome back" + S(y(a).state.app ? ` to ${y(a).state.app}` : "") + "! Please enter your details. ", 1)
2176
+ c("p", to, " Welcome back" + S(y(a).state.app ? ` to ${y(a).state.app}` : "") + "! Please enter your details. ", 1)
2148
2177
  ]),
2149
- b(u, {
2178
+ v(u, {
2150
2179
  type: "form",
2151
2180
  onSubmit: n,
2152
2181
  actions: !1
2153
2182
  }, {
2154
2183
  default: w(() => [
2155
- b(u, {
2184
+ v(u, {
2156
2185
  label: "Email",
2157
2186
  name: "email",
2158
2187
  placeholder: "Enter your email",
@@ -2161,7 +2190,7 @@ const re = "bolt-next-token", F = X("auth", () => {
2161
2190
  "outer-class": "max-w-full",
2162
2191
  value: y(l).state.devCredentials.username
2163
2192
  }, null, 8, ["value"]),
2164
- b(u, {
2193
+ v(u, {
2165
2194
  label: "Password",
2166
2195
  name: "password",
2167
2196
  placeholder: "••••••••",
@@ -2170,9 +2199,9 @@ const re = "bolt-next-token", F = X("auth", () => {
2170
2199
  "outer-class": "max-w-full",
2171
2200
  value: y(l).state.devCredentials.password
2172
2201
  }, null, 8, ["value"]),
2173
- c("div", Ja, [
2202
+ c("div", so, [
2174
2203
  m[3] || (m[3] = c("span", null, null, -1)),
2175
- b(p, {
2204
+ v(p, {
2176
2205
  to: r.forgotPasswordRoute,
2177
2206
  class: "text-sm text-primary-600 font-semibold"
2178
2207
  }, {
@@ -2182,15 +2211,15 @@ const re = "bolt-next-token", F = X("auth", () => {
2182
2211
  _: 1
2183
2212
  }, 8, ["to"])
2184
2213
  ]),
2185
- i.value ? (f(), g("div", Qa, S(i.value), 1)) : x("", !0),
2186
- b(y(A), {
2214
+ i.value ? (f(), g("div", ao, S(i.value), 1)) : x("", !0),
2215
+ v(y(F), {
2187
2216
  type: "submit",
2188
2217
  size: "xl",
2189
2218
  disabled: o.value,
2190
2219
  "button-class": "w-full mb-2"
2191
2220
  }, {
2192
2221
  default: w(() => [
2193
- o.value ? (f(), g("span", to, "Signing in...")) : (f(), g("span", eo, "Sign in"))
2222
+ o.value ? (f(), g("span", ro, "Signing in...")) : (f(), g("span", oo, "Sign in"))
2194
2223
  ]),
2195
2224
  _: 1
2196
2225
  }, 8, ["disabled"])
@@ -2201,7 +2230,7 @@ const re = "bolt-next-token", F = X("auth", () => {
2201
2230
  ]);
2202
2231
  };
2203
2232
  }
2204
- }, ao = {
2233
+ }, lo = {
2205
2234
  __name: "SparkLogoutView",
2206
2235
  props: {
2207
2236
  defaultRedirect: {
@@ -2210,27 +2239,27 @@ const re = "bolt-next-token", F = X("auth", () => {
2210
2239
  }
2211
2240
  },
2212
2241
  setup(e) {
2213
- const s = O(), t = se(), a = F(), l = e;
2214
- return ve(async () => {
2242
+ const s = I(), t = se(), a = M(), l = e;
2243
+ return be(async () => {
2215
2244
  await a.logout();
2216
2245
  const r = t.query.redirect;
2217
2246
  r && r.startsWith("http") ? window.location.href = r : await s.push(r || l.defaultRedirect);
2218
2247
  }), (r, o) => null;
2219
2248
  }
2220
- }, oo = { class: "h-full grid place-content-center relative" }, ro = { class: "absolute top-8 left-8" }, no = ["src"], lo = {
2249
+ }, io = { class: "h-full grid place-content-center relative" }, co = { class: "absolute top-8 left-8" }, uo = ["src"], po = {
2221
2250
  key: 1,
2222
2251
  width: "59",
2223
2252
  height: "23",
2224
2253
  viewBox: "0 0 59 23",
2225
2254
  fill: "none",
2226
2255
  xmlns: "http://www.w3.org/2000/svg"
2227
- }, io = { class: "max-w-sm grid gap-y-1 -mt-8" }, co = {
2256
+ }, fo = { class: "max-w-sm grid gap-y-1 -mt-8" }, mo = {
2228
2257
  key: 0,
2229
2258
  class: "text-red-600 text-sm mb-2"
2230
- }, uo = {
2259
+ }, go = {
2231
2260
  key: 1,
2232
2261
  class: "text-green-600 text-sm mb-2"
2233
- }, po = { key: 0 }, fo = { key: 1 }, mo = {
2262
+ }, ho = { key: 0 }, yo = { key: 1 }, vo = {
2234
2263
  __name: "SparkForgotPasswordView",
2235
2264
  props: {
2236
2265
  logo: {
@@ -2243,7 +2272,7 @@ const re = "bolt-next-token", F = X("auth", () => {
2243
2272
  }
2244
2273
  },
2245
2274
  setup(e) {
2246
- const s = F(), t = e, a = $(!1), l = $(""), r = $(""), o = async ({ email: i }) => {
2275
+ const s = M(), t = e, a = $(!1), l = $(""), r = $(""), o = async ({ email: i }) => {
2247
2276
  a.value = !0, l.value = "", r.value = "";
2248
2277
  try {
2249
2278
  await K.post(s.state.endpoints.passwordEmail, { email: i }), r.value = "Password reset link sent! Check your email.";
@@ -2255,14 +2284,14 @@ const re = "bolt-next-token", F = X("auth", () => {
2255
2284
  };
2256
2285
  return (i, n) => {
2257
2286
  const d = L("FormKit"), m = L("router-link");
2258
- return f(), g("div", oo, [
2259
- c("div", ro, [
2287
+ return f(), g("div", io, [
2288
+ c("div", co, [
2260
2289
  t.logo ? (f(), g("img", {
2261
2290
  key: 0,
2262
2291
  src: t.logo,
2263
2292
  alt: "Logo",
2264
2293
  class: "h-[23px] w-auto"
2265
- }, null, 8, no)) : (f(), g("svg", lo, [...n[0] || (n[0] = [
2294
+ }, null, 8, uo)) : (f(), g("svg", po, [...n[0] || (n[0] = [
2266
2295
  c("path", {
2267
2296
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
2268
2297
  fill: "#1C64F2"
@@ -2281,18 +2310,18 @@ const re = "bolt-next-token", F = X("auth", () => {
2281
2310
  }, null, -1)
2282
2311
  ])]))
2283
2312
  ]),
2284
- c("div", io, [
2313
+ c("div", fo, [
2285
2314
  n[2] || (n[2] = c("div", { class: "mb-7" }, [
2286
2315
  c("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Reset password"),
2287
2316
  c("p", { class: "text-gray-600" }, " Enter your email and we'll send you a link to reset your password. ")
2288
2317
  ], -1)),
2289
- b(d, {
2318
+ v(d, {
2290
2319
  type: "form",
2291
2320
  onSubmit: o,
2292
2321
  actions: !1
2293
2322
  }, {
2294
2323
  default: w(() => [
2295
- b(d, {
2324
+ v(d, {
2296
2325
  label: "Email",
2297
2326
  name: "email",
2298
2327
  placeholder: "Enter your email",
@@ -2300,20 +2329,20 @@ const re = "bolt-next-token", F = X("auth", () => {
2300
2329
  validation: "required|email",
2301
2330
  "outer-class": "max-w-full"
2302
2331
  }),
2303
- l.value ? (f(), g("div", co, S(l.value), 1)) : x("", !0),
2304
- r.value ? (f(), g("div", uo, S(r.value), 1)) : x("", !0),
2305
- b(y(A), {
2332
+ l.value ? (f(), g("div", mo, S(l.value), 1)) : x("", !0),
2333
+ r.value ? (f(), g("div", go, S(r.value), 1)) : x("", !0),
2334
+ v(y(F), {
2306
2335
  type: "submit",
2307
2336
  size: "xl",
2308
2337
  disabled: a.value,
2309
2338
  "button-class": "w-full mb-2"
2310
2339
  }, {
2311
2340
  default: w(() => [
2312
- a.value ? (f(), g("span", fo, "Sending...")) : (f(), g("span", po, "Send reset link"))
2341
+ a.value ? (f(), g("span", yo, "Sending...")) : (f(), g("span", ho, "Send reset link"))
2313
2342
  ]),
2314
2343
  _: 1
2315
2344
  }, 8, ["disabled"]),
2316
- b(m, {
2345
+ v(m, {
2317
2346
  to: t.loginRoute,
2318
2347
  class: "text-sm text-center text-primary-600 font-semibold block"
2319
2348
  }, {
@@ -2329,17 +2358,17 @@ const re = "bolt-next-token", F = X("auth", () => {
2329
2358
  ]);
2330
2359
  };
2331
2360
  }
2332
- }, go = { class: "h-full grid place-content-center relative" }, ho = { class: "absolute top-8 left-8" }, yo = ["src"], bo = {
2361
+ }, bo = { class: "h-full grid place-content-center relative" }, xo = { class: "absolute top-8 left-8" }, ko = ["src"], _o = {
2333
2362
  key: 1,
2334
2363
  width: "59",
2335
2364
  height: "23",
2336
2365
  viewBox: "0 0 59 23",
2337
2366
  fill: "none",
2338
2367
  xmlns: "http://www.w3.org/2000/svg"
2339
- }, vo = { class: "max-w-sm grid gap-y-1 -mt-8" }, xo = {
2368
+ }, wo = { class: "max-w-sm grid gap-y-1 -mt-8" }, Co = {
2340
2369
  key: 0,
2341
2370
  class: "text-red-600 text-sm mb-2"
2342
- }, ko = { key: 0 }, _o = { key: 1 }, wo = {
2371
+ }, So = { key: 0 }, $o = { key: 1 }, Lo = {
2343
2372
  __name: "SparkResetPasswordView",
2344
2373
  props: {
2345
2374
  logo: {
@@ -2352,7 +2381,7 @@ const re = "bolt-next-token", F = X("auth", () => {
2352
2381
  }
2353
2382
  },
2354
2383
  setup(e) {
2355
- const s = O(), t = se(), a = F(), l = e, r = $(!1), o = $(""), i = async ({ password: n, password_confirmation: d }) => {
2384
+ const s = I(), t = se(), a = M(), l = e, r = $(!1), o = $(""), i = async ({ password: n, password_confirmation: d }) => {
2356
2385
  r.value = !0, o.value = "";
2357
2386
  try {
2358
2387
  await K.post(a.state.endpoints.passwordReset, {
@@ -2369,14 +2398,14 @@ const re = "bolt-next-token", F = X("auth", () => {
2369
2398
  };
2370
2399
  return (n, d) => {
2371
2400
  const m = L("FormKit");
2372
- return f(), g("div", go, [
2373
- c("div", ho, [
2401
+ return f(), g("div", bo, [
2402
+ c("div", xo, [
2374
2403
  l.logo ? (f(), g("img", {
2375
2404
  key: 0,
2376
2405
  src: l.logo,
2377
2406
  alt: "Logo",
2378
2407
  class: "h-[23px] w-auto"
2379
- }, null, 8, yo)) : (f(), g("svg", bo, [...d[0] || (d[0] = [
2408
+ }, null, 8, ko)) : (f(), g("svg", _o, [...d[0] || (d[0] = [
2380
2409
  c("path", {
2381
2410
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
2382
2411
  fill: "#1C64F2"
@@ -2395,18 +2424,18 @@ const re = "bolt-next-token", F = X("auth", () => {
2395
2424
  }, null, -1)
2396
2425
  ])]))
2397
2426
  ]),
2398
- c("div", vo, [
2427
+ c("div", wo, [
2399
2428
  d[1] || (d[1] = c("div", { class: "mb-7" }, [
2400
2429
  c("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Set new password"),
2401
2430
  c("p", { class: "text-gray-600" }, " Enter your new password below. ")
2402
2431
  ], -1)),
2403
- b(m, {
2432
+ v(m, {
2404
2433
  type: "form",
2405
2434
  onSubmit: i,
2406
2435
  actions: !1
2407
2436
  }, {
2408
2437
  default: w(() => [
2409
- b(m, {
2438
+ v(m, {
2410
2439
  label: "New Password",
2411
2440
  name: "password",
2412
2441
  placeholder: "••••••••",
@@ -2414,7 +2443,7 @@ const re = "bolt-next-token", F = X("auth", () => {
2414
2443
  validation: "required|length:8",
2415
2444
  "outer-class": "max-w-full"
2416
2445
  }),
2417
- b(m, {
2446
+ v(m, {
2418
2447
  label: "Confirm Password",
2419
2448
  name: "password_confirmation",
2420
2449
  placeholder: "••••••••",
@@ -2422,15 +2451,15 @@ const re = "bolt-next-token", F = X("auth", () => {
2422
2451
  validation: "required|confirm:password",
2423
2452
  "outer-class": "max-w-full"
2424
2453
  }),
2425
- o.value ? (f(), g("div", xo, S(o.value), 1)) : x("", !0),
2426
- b(y(A), {
2454
+ o.value ? (f(), g("div", Co, S(o.value), 1)) : x("", !0),
2455
+ v(y(F), {
2427
2456
  type: "submit",
2428
2457
  size: "xl",
2429
2458
  disabled: r.value,
2430
2459
  "button-class": "w-full mb-2"
2431
2460
  }, {
2432
2461
  default: w(() => [
2433
- r.value ? (f(), g("span", _o, "Resetting...")) : (f(), g("span", ko, "Reset password"))
2462
+ r.value ? (f(), g("span", $o, "Resetting...")) : (f(), g("span", So, "Reset password"))
2434
2463
  ]),
2435
2464
  _: 1
2436
2465
  }, 8, ["disabled"])
@@ -2441,14 +2470,14 @@ const re = "bolt-next-token", F = X("auth", () => {
2441
2470
  ]);
2442
2471
  };
2443
2472
  }
2444
- }, Co = { class: "h-full grid place-content-center relative" }, So = { class: "absolute top-8 left-8" }, $o = ["src"], Lo = {
2473
+ }, Ho = { class: "h-full grid place-content-center relative" }, To = { class: "absolute top-8 left-8" }, Vo = ["src"], Po = {
2445
2474
  key: 1,
2446
2475
  width: "59",
2447
2476
  height: "23",
2448
2477
  viewBox: "0 0 59 23",
2449
2478
  fill: "none",
2450
2479
  xmlns: "http://www.w3.org/2000/svg"
2451
- }, Ho = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, To = { class: "flex gap-4 justify-center" }, Vo = {
2480
+ }, Ro = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Bo = { class: "flex gap-4 justify-center" }, Mo = {
2452
2481
  __name: "SparkError403View",
2453
2482
  props: {
2454
2483
  logo: {
@@ -2461,17 +2490,17 @@ const re = "bolt-next-token", F = X("auth", () => {
2461
2490
  }
2462
2491
  },
2463
2492
  setup(e) {
2464
- const s = O(), t = e, a = () => {
2493
+ const s = I(), t = e, a = () => {
2465
2494
  s.push(t.homeRoute);
2466
2495
  };
2467
- return (l, r) => (f(), g("div", Co, [
2468
- c("div", So, [
2496
+ return (l, r) => (f(), g("div", Ho, [
2497
+ c("div", To, [
2469
2498
  t.logo ? (f(), g("img", {
2470
2499
  key: 0,
2471
2500
  src: t.logo,
2472
2501
  alt: "Logo",
2473
2502
  class: "h-[23px] w-auto"
2474
- }, null, 8, $o)) : (f(), g("svg", Lo, [...r[0] || (r[0] = [
2503
+ }, null, 8, Vo)) : (f(), g("svg", Po, [...r[0] || (r[0] = [
2475
2504
  c("path", {
2476
2505
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
2477
2506
  fill: "#1C64F2"
@@ -2490,7 +2519,7 @@ const re = "bolt-next-token", F = X("auth", () => {
2490
2519
  }, null, -1)
2491
2520
  ])]))
2492
2521
  ]),
2493
- c("div", Ho, [
2522
+ c("div", Ro, [
2494
2523
  r[2] || (r[2] = c("div", null, [
2495
2524
  c("div", { class: "text-primary-600 text-7xl font-bold mb-4" }, "403"),
2496
2525
  c("h1", { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, " Access Forbidden "),
@@ -2500,8 +2529,8 @@ const re = "bolt-next-token", F = X("auth", () => {
2500
2529
  P(" If you believe this is an error, please contact your administrator. ")
2501
2530
  ])
2502
2531
  ], -1)),
2503
- c("div", To, [
2504
- b(y(A), {
2532
+ c("div", Bo, [
2533
+ v(y(F), {
2505
2534
  onClick: a,
2506
2535
  size: "lg"
2507
2536
  }, {
@@ -2514,14 +2543,14 @@ const re = "bolt-next-token", F = X("auth", () => {
2514
2543
  ])
2515
2544
  ]));
2516
2545
  }
2517
- }, Po = { class: "h-full grid place-content-center relative" }, Ro = { class: "absolute top-8 left-8" }, Mo = ["src"], Fo = {
2546
+ }, Fo = { class: "h-full grid place-content-center relative" }, Ao = { class: "absolute top-8 left-8" }, Eo = ["src"], zo = {
2518
2547
  key: 1,
2519
2548
  width: "59",
2520
2549
  height: "23",
2521
2550
  viewBox: "0 0 59 23",
2522
2551
  fill: "none",
2523
2552
  xmlns: "http://www.w3.org/2000/svg"
2524
- }, Ao = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Bo = { class: "flex gap-4 justify-center" }, Eo = {
2553
+ }, jo = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Io = { class: "flex gap-4 justify-center" }, Oo = {
2525
2554
  __name: "SparkError404View",
2526
2555
  props: {
2527
2556
  logo: {
@@ -2534,17 +2563,17 @@ const re = "bolt-next-token", F = X("auth", () => {
2534
2563
  }
2535
2564
  },
2536
2565
  setup(e) {
2537
- const s = O(), t = e, a = () => {
2566
+ const s = I(), t = e, a = () => {
2538
2567
  s.push(t.homeRoute);
2539
2568
  };
2540
- return (l, r) => (f(), g("div", Po, [
2541
- c("div", Ro, [
2569
+ return (l, r) => (f(), g("div", Fo, [
2570
+ c("div", Ao, [
2542
2571
  t.logo ? (f(), g("img", {
2543
2572
  key: 0,
2544
2573
  src: t.logo,
2545
2574
  alt: "Logo",
2546
2575
  class: "h-[23px] w-auto"
2547
- }, null, 8, Mo)) : (f(), g("svg", Fo, [...r[0] || (r[0] = [
2576
+ }, null, 8, Eo)) : (f(), g("svg", zo, [...r[0] || (r[0] = [
2548
2577
  c("path", {
2549
2578
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
2550
2579
  fill: "#1C64F2"
@@ -2563,14 +2592,14 @@ const re = "bolt-next-token", F = X("auth", () => {
2563
2592
  }, null, -1)
2564
2593
  ])]))
2565
2594
  ]),
2566
- c("div", Ao, [
2595
+ c("div", jo, [
2567
2596
  r[2] || (r[2] = c("div", null, [
2568
2597
  c("div", { class: "text-primary-600 text-7xl font-bold mb-4" }, "404"),
2569
2598
  c("h1", { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, " Page Not Found "),
2570
2599
  c("p", { class: "text-gray-600" }, " The page you're looking for doesn't exist or has been moved. ")
2571
2600
  ], -1)),
2572
- c("div", Bo, [
2573
- b(y(A), {
2601
+ c("div", Io, [
2602
+ v(y(F), {
2574
2603
  onClick: a,
2575
2604
  size: "lg"
2576
2605
  }, {
@@ -2583,14 +2612,14 @@ const re = "bolt-next-token", F = X("auth", () => {
2583
2612
  ])
2584
2613
  ]));
2585
2614
  }
2586
- }, zo = { class: "h-full grid place-content-center relative" }, jo = { class: "absolute top-8 left-8" }, Oo = ["src"], Io = {
2615
+ }, No = { class: "h-full grid place-content-center relative" }, Do = { class: "absolute top-8 left-8" }, Zo = ["src"], qo = {
2587
2616
  key: 1,
2588
2617
  width: "59",
2589
2618
  height: "23",
2590
2619
  viewBox: "0 0 59 23",
2591
2620
  fill: "none",
2592
2621
  xmlns: "http://www.w3.org/2000/svg"
2593
- }, No = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Do = { class: "text-primary-600 text-7xl font-bold mb-4" }, Zo = { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, qo = { class: "text-gray-600" }, Go = { class: "flex gap-4 justify-center" }, kr = {
2622
+ }, Go = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Ko = { class: "text-primary-600 text-7xl font-bold mb-4" }, Uo = { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, Wo = { class: "text-gray-600" }, Yo = { class: "flex gap-4 justify-center" }, Sr = {
2594
2623
  __name: "SparkErrorGeneralView",
2595
2624
  props: {
2596
2625
  logo: {
@@ -2615,17 +2644,17 @@ const re = "bolt-next-token", F = X("auth", () => {
2615
2644
  }
2616
2645
  },
2617
2646
  setup(e) {
2618
- const s = O(), t = e, a = () => {
2647
+ const s = I(), t = e, a = () => {
2619
2648
  s.push(t.homeRoute);
2620
2649
  };
2621
- return (l, r) => (f(), g("div", zo, [
2622
- c("div", jo, [
2650
+ return (l, r) => (f(), g("div", No, [
2651
+ c("div", Do, [
2623
2652
  t.logo ? (f(), g("img", {
2624
2653
  key: 0,
2625
2654
  src: t.logo,
2626
2655
  alt: "Logo",
2627
2656
  class: "h-[23px] w-auto"
2628
- }, null, 8, Oo)) : (f(), g("svg", Io, [...r[0] || (r[0] = [
2657
+ }, null, 8, Zo)) : (f(), g("svg", qo, [...r[0] || (r[0] = [
2629
2658
  c("path", {
2630
2659
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
2631
2660
  fill: "#1C64F2"
@@ -2644,14 +2673,14 @@ const re = "bolt-next-token", F = X("auth", () => {
2644
2673
  }, null, -1)
2645
2674
  ])]))
2646
2675
  ]),
2647
- c("div", No, [
2676
+ c("div", Go, [
2648
2677
  c("div", null, [
2649
- c("div", Do, S(t.errorCode || "Error"), 1),
2650
- c("h1", Zo, S(t.title || "Something went wrong"), 1),
2651
- c("p", qo, S(t.message || "An unexpected error occurred. Please try again later."), 1)
2678
+ c("div", Ko, S(t.errorCode || "Error"), 1),
2679
+ c("h1", Uo, S(t.title || "Something went wrong"), 1),
2680
+ c("p", Wo, S(t.message || "An unexpected error occurred. Please try again later."), 1)
2652
2681
  ]),
2653
- c("div", Go, [
2654
- b(y(A), {
2682
+ c("div", Yo, [
2683
+ v(y(F), {
2655
2684
  onClick: a,
2656
2685
  size: "lg"
2657
2686
  }, {
@@ -2665,7 +2694,7 @@ const re = "bolt-next-token", F = X("auth", () => {
2665
2694
  ]));
2666
2695
  }
2667
2696
  };
2668
- function _r(e = {}) {
2697
+ function $r(e = {}) {
2669
2698
  const {
2670
2699
  loginPath: s = "/login",
2671
2700
  logoutPath: t = "/logout",
@@ -2678,41 +2707,41 @@ function _r(e = {}) {
2678
2707
  {
2679
2708
  path: s,
2680
2709
  name: "login",
2681
- component: so,
2710
+ component: no,
2682
2711
  props: { logo: r, defaultRedirect: o },
2683
2712
  meta: { auth: !1 }
2684
2713
  },
2685
2714
  {
2686
2715
  path: t,
2687
2716
  name: "logout",
2688
- component: ao,
2717
+ component: lo,
2689
2718
  props: { defaultRedirect: s },
2690
2719
  meta: { auth: !1 }
2691
2720
  },
2692
2721
  {
2693
2722
  path: a,
2694
2723
  name: "forgot-password",
2695
- component: mo,
2724
+ component: vo,
2696
2725
  props: { logo: r, loginRoute: s },
2697
2726
  meta: { auth: !1 }
2698
2727
  },
2699
2728
  {
2700
2729
  path: l,
2701
2730
  name: "password-reset",
2702
- component: wo,
2731
+ component: Lo,
2703
2732
  props: { logo: r, loginRoute: s },
2704
2733
  meta: { auth: !1 }
2705
2734
  }
2706
2735
  ];
2707
2736
  }
2708
- function wr(e, s = {}) {
2737
+ function Lr(e, s = {}) {
2709
2738
  const { defaultAuthenticatedRoute: t = "/dashboard" } = s;
2710
2739
  e.beforeEach(async (a, l, r) => {
2711
- const o = F();
2712
- o.state.ready || await o.fetchUser(), Ko(a, r, o, t);
2740
+ const o = M();
2741
+ o.state.ready || await o.fetchUser(), Xo(a, r, o, t);
2713
2742
  });
2714
2743
  }
2715
- function Ko(e, s, t, a) {
2744
+ function Xo(e, s, t, a) {
2716
2745
  const l = e.meta.auth !== !1, r = t.check;
2717
2746
  if (t.state.overrideToken && e.path === "/logout") {
2718
2747
  s({ path: a });
@@ -2750,7 +2779,7 @@ function Ko(e, s, t, a) {
2750
2779
  s();
2751
2780
  }
2752
2781
  }
2753
- function Cr(e = {}) {
2782
+ function Hr(e = {}) {
2754
2783
  const {
2755
2784
  forbiddenPath: s = "/error/403",
2756
2785
  logo: t = "",
@@ -2759,12 +2788,12 @@ function Cr(e = {}) {
2759
2788
  return {
2760
2789
  path: s,
2761
2790
  name: "error-403",
2762
- component: Vo,
2791
+ component: Mo,
2763
2792
  props: { logo: t, homeRoute: a },
2764
2793
  meta: { auth: !1 }
2765
2794
  };
2766
2795
  }
2767
- function Sr(e = {}) {
2796
+ function Tr(e = {}) {
2768
2797
  const {
2769
2798
  logo: s = "",
2770
2799
  homeRoute: t = "/dashboard"
@@ -2772,20 +2801,20 @@ function Sr(e = {}) {
2772
2801
  return {
2773
2802
  path: "/:pathMatch(.*)*",
2774
2803
  name: "error-404",
2775
- component: Eo,
2804
+ component: Oo,
2776
2805
  props: { logo: s, homeRoute: t },
2777
2806
  meta: { auth: !1 }
2778
2807
  };
2779
2808
  }
2780
- function $r(e, s) {
2809
+ function Vr(e, s) {
2781
2810
  e.beforeResolve(async (t) => {
2782
2811
  if (t.meta.auth !== !1) {
2783
- const a = F();
2812
+ const a = M();
2784
2813
  a.state.ready && a.check && await s();
2785
2814
  }
2786
2815
  });
2787
2816
  }
2788
- function Uo(e = {}) {
2817
+ function Jo(e = {}) {
2789
2818
  const s = K.create({
2790
2819
  baseURL: e.baseURL || "",
2791
2820
  timeout: e.timeout || 3e4,
@@ -2797,7 +2826,7 @@ function Uo(e = {}) {
2797
2826
  return s.interceptors.request.use(
2798
2827
  (t) => {
2799
2828
  try {
2800
- const a = F();
2829
+ const a = M();
2801
2830
  a.state.overrideToken ? t.headers.Authorization = `Bearer ${a.state.overrideToken}` : a.state.token && (t.headers.Authorization = `Bearer ${a.state.token}`);
2802
2831
  } catch {
2803
2832
  }
@@ -2809,14 +2838,14 @@ function Uo(e = {}) {
2809
2838
  async (t) => {
2810
2839
  if (t.response?.status === 401)
2811
2840
  try {
2812
- const a = F();
2841
+ const a = M();
2813
2842
  await a.logout(), window.location.href = a.state.routes.auth;
2814
2843
  } catch (a) {
2815
2844
  console.error("Error during auto-logout:", a), window.location.href = "/login";
2816
2845
  }
2817
2846
  if (t.response?.status === 403)
2818
2847
  try {
2819
- const a = F();
2848
+ const a = M();
2820
2849
  window.location.href = a.state.routes.forbidden;
2821
2850
  } catch (a) {
2822
2851
  console.error("Error during 403 redirect:", a), window.location.href = "/error/403";
@@ -2826,20 +2855,20 @@ function Uo(e = {}) {
2826
2855
  ), s;
2827
2856
  }
2828
2857
  let G = null;
2829
- function Lr(e, s = {}) {
2830
- return G = Uo(s), e.provide("axios", G), e.config.globalProperties.$axios = G, G;
2858
+ function Pr(e, s = {}) {
2859
+ return G = Jo(s), e.provide("axios", G), e.config.globalProperties.$axios = G, G;
2831
2860
  }
2832
- function Hr() {
2861
+ function Rr() {
2833
2862
  if (!G)
2834
2863
  throw new Error("Axios instance not initialized. Call setupAxios() first.");
2835
2864
  return G;
2836
2865
  }
2837
- const Tr = X("sparkNav", () => {
2866
+ const Br = X("sparkNav", () => {
2838
2867
  const e = z({
2839
2868
  menu: [],
2840
2869
  collapsed: !1,
2841
2870
  hidden: !1
2842
- }), s = O(), t = se(), a = (d = []) => {
2871
+ }), s = I(), t = se(), a = (d = []) => {
2843
2872
  e.menu = d;
2844
2873
  }, l = (d, m) => {
2845
2874
  for (const u of d) {
@@ -2891,57 +2920,57 @@ const Tr = X("sparkNav", () => {
2891
2920
  });
2892
2921
  export {
2893
2922
  H as Icons,
2894
- mr as SparkAlert,
2895
- Kt as SparkAppSelector,
2896
- cs as SparkBrandSelector,
2897
- A as SparkButton,
2898
- us as SparkButtonGroup,
2899
- gr as SparkCard,
2900
- br as SparkDefaultContainer,
2901
- Vo as SparkError403View,
2902
- Eo as SparkError404View,
2903
- kr as SparkErrorGeneralView,
2904
- mo as SparkForgotPasswordView,
2905
- so as SparkLoginView,
2906
- ao as SparkLogoutView,
2907
- bs as SparkModalContainer,
2908
- hr as SparkModalDialog,
2923
+ vr as SparkAlert,
2924
+ Yt as SparkAppSelector,
2925
+ ps as SparkBrandSelector,
2926
+ F as SparkButton,
2927
+ ms as SparkButtonGroup,
2928
+ br as SparkCard,
2929
+ _r as SparkDefaultContainer,
2930
+ Mo as SparkError403View,
2931
+ Oo as SparkError404View,
2932
+ Sr as SparkErrorGeneralView,
2933
+ vo as SparkForgotPasswordView,
2934
+ no as SparkLoginView,
2935
+ lo as SparkLogoutView,
2936
+ ks as SparkModalContainer,
2937
+ xr as SparkModalDialog,
2909
2938
  ce as SparkOverlay,
2910
- vr as SparkPublicContainer,
2911
- wo as SparkResetPasswordView,
2912
- yr as SparkTable,
2913
- ca as SparkTableDatePicker,
2914
- na as SparkTableFilterButtons,
2915
- sa as SparkTableFilterSelect,
2916
- Ks as SparkTablePaginationPaging,
2917
- Ys as SparkTablePaginationPerPage,
2918
- fa as SparkTableReset,
2919
- Qs as SparkTableSearch,
2939
+ wr as SparkPublicContainer,
2940
+ Lo as SparkResetPasswordView,
2941
+ kr as SparkTable,
2942
+ fa as SparkTableDatePicker,
2943
+ da as SparkTableFilterButtons,
2944
+ na as SparkTableFilterSelect,
2945
+ Xs as SparkTablePaginationPaging,
2946
+ ea as SparkTablePaginationPerPage,
2947
+ ya as SparkTableReset,
2948
+ aa as SparkTableSearch,
2920
2949
  pe as SparkTableToolbar,
2921
- pr as addIcons,
2922
- Cr as create403Route,
2923
- Sr as create404Route,
2924
- _r as createAuthRoutes,
2925
- Uo as createAxiosInstance,
2926
- xr as createBootstrapService,
2927
- $s as customiseHeader,
2928
- Na as deleteCookie,
2929
- Hr as getAxiosInstance,
2930
- Oa as getCookie,
2950
+ hr as addIcons,
2951
+ Hr as create403Route,
2952
+ Tr as create404Route,
2953
+ $r as createAuthRoutes,
2954
+ Jo as createAxiosInstance,
2955
+ Cr as createBootstrapService,
2956
+ Ts as customiseHeader,
2957
+ Ga as deleteCookie,
2958
+ Rr as getAxiosInstance,
2959
+ Za as getCookie,
2931
2960
  He as getDomain,
2932
- _s as renderHeaderTitle,
2933
- Ia as setCookie,
2934
- wr as setupAuthGuards,
2935
- Lr as setupAxios,
2936
- $r as setupBootstrapGuard,
2937
- fr as setupFontAwesome,
2961
+ Ss as renderHeaderTitle,
2962
+ qa as setCookie,
2963
+ Lr as setupAuthGuards,
2964
+ Pr as setupAxios,
2965
+ Vr as setupBootstrapGuard,
2966
+ yr as setupFontAwesome,
2938
2967
  U as sparkModalService,
2939
2968
  Z as sparkOverlayService,
2940
- As as updateRow,
2969
+ js as updateRow,
2941
2970
  Se as useSparkAppSelectorStore,
2942
2971
  $e as useSparkAppStore,
2943
- F as useSparkAuthStore,
2972
+ M as useSparkAuthStore,
2944
2973
  Le as useSparkBrandFilterStore,
2945
- Tr as useSparkNavStore,
2974
+ Br as useSparkNavStore,
2946
2975
  me as useSparkOverlay
2947
2976
  };