@wishbone-media/spark 0.25.0 → 0.26.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,89 +1,131 @@
1
- import { computed as C, resolveComponent as A, createElementBlock as h, openBlock as m, normalizeClass as H, createElementVNode as f, createCommentVNode as L, createVNode as b, unref as x, renderSlot as O, reactive as q, Fragment as R, renderList as D, toDisplayString as P, createBlock as V, resolveDynamicComponent as N, markRaw as me, ref as B, watch as I, Transition as Ue, withCtx as T, normalizeProps as Ke, mergeProps as Z, createTextVNode as E, Teleport as Ge, TransitionGroup as le, inject as Ve, provide as We, toHandlers as Re, onMounted as xe, withModifiers as Q, useSlots as Ee, onUnmounted as Ye, withDirectives as Xe, vShow as Je, h as ke } from "vue";
2
- import { library as Be, icon as ce } from "@fortawesome/fontawesome-svg-core";
3
- import { FontAwesomeIcon as Qe } from "@fortawesome/vue-fontawesome";
4
- import { faInbox as et, faCloudDownload as tt, faBolt as st, faUndo as ot, faEye as at, faSignOut as rt, faXmark as nt, faTrash as lt, faTimes as it, faStreetView as ct, faSortUp as ut, faSortDown as dt, faSort as pt, faScaleBalanced as ft, faSatelliteDish as mt, faLayerPlus as ht, faLaptopMobile as gt, faInfoCircle as yt, faGripDotsVertical as vt, faGearComplex as bt, faFlag as xt, faFaceSmileWink as kt, faFaceSmileRelaxed as wt, faExclamationTriangle as _t, faEllipsisVertical as St, faEllipsis as Ct, faEdit as $t, faComments as Tt, faCircleXmark as Lt, faCircleUser as Pt, faChevronUp as Mt, faChevronRight as Ht, faChevronLeft as Vt, faChevronDown as Rt, faCheckCircle as Et, faCheck as Bt, faBullhorn as At, faBellRing as Ft, faBarsSort as Ot, faArrowRightToLine as zt, faArrowLeftToLine as Dt } from "@fortawesome/pro-regular-svg-icons";
1
+ import { computed as C, resolveComponent as O, createElementBlock as h, openBlock as m, normalizeClass as H, createElementVNode as f, createCommentVNode as P, createVNode as b, unref as x, renderSlot as B, reactive as q, Fragment as R, renderList as z, toDisplayString as L, createBlock as V, resolveDynamicComponent as N, markRaw as me, ref as F, watch as I, Transition as ut, withCtx as T, normalizeProps as dt, mergeProps as Z, createTextVNode as E, Teleport as pt, TransitionGroup as ie, inject as Ee, provide as ft, toHandlers as Fe, onMounted as _e, withModifiers as ee, useSlots as Oe, onUnmounted as mt, withDirectives as ht, vShow as gt, h as Se } from "vue";
2
+ import { icon as J, library as Be } from "@fortawesome/fontawesome-svg-core";
3
+ import { FontAwesomeIcon as yt } from "@fortawesome/vue-fontawesome";
4
+ import { faCircleDot as De, faEyeDropper as ze, faAnglesLeft as je, faAnglesRight as Ie, faStar as Ne, faSpinnerThird as Ze, faCircle as vt, faFile as be, faCalendar as qe, faArrowUp as Ue, faArrowDown as Ke, faPlus as Ge, faInbox as bt, faCloudDownload as xt, faBolt as kt, faUndo as wt, faEye as _t, faSignOut as St, faXmark as xe, faTrash as We, faTimes as Ct, faStreetView as $t, faSortUp as Tt, faSortDown as Pt, faSort as Lt, faScaleBalanced as Mt, faSatelliteDish as Ht, faLayerPlus as Vt, faLaptopMobile as Rt, faInfoCircle as At, faGripDotsVertical as Ye, faGearComplex as Et, faFlag as Ft, faFaceSmileWink as Ot, faFaceSmileRelaxed as Bt, faExclamationTriangle as Dt, faEllipsisVertical as zt, faEllipsis as jt, faEdit as It, faComments as Nt, faCircleXmark as Zt, faCircleUser as qt, faChevronUp as Ut, faChevronRight as Xe, faChevronLeft as Je, faChevronDown as Qe, faCheckCircle as Kt, faCheck as ke, faBullhorn as Gt, faBellRing as Wt, faBarsSort as Yt, faArrowRightToLine as Xt, faArrowLeftToLine as Jt } from "@fortawesome/pro-regular-svg-icons";
5
+ import { faSortUp as Qt, faSortDown as es, faSort as ts } from "@fortawesome/pro-duotone-svg-icons";
5
6
  import { defineStore as ue } from "pinia";
6
- import { TransitionRoot as Ae, Dialog as Fe, TransitionChild as fe, DialogPanel as Oe } from "@headlessui/vue";
7
+ import { TransitionRoot as et, Dialog as tt, TransitionChild as fe, DialogPanel as st } from "@headlessui/vue";
7
8
  import he from "nprogress";
8
- import { range as jt, get as Y, find as It, has as Nt } from "lodash";
9
- import { HotTable as Zt } from "@handsontable/vue3";
9
+ import { range as ss, get as Y, find as os, has as as } from "lodash";
10
+ import { HotTable as rs } from "@handsontable/vue3";
10
11
  import "handsontable/styles/handsontable.css";
11
12
  import "handsontable/styles/ht-theme-classic.css";
12
- import { registerPlugin as pe, AutoColumnSize as qt, CopyPaste as Ut, StretchColumns as Kt, NestedHeaders as Gt } from "handsontable/plugins";
13
- import { registerAllCellTypes as Wt } from "handsontable/cellTypes";
14
- import { useDebounceFn as ze, watchDebounced as we } from "@vueuse/core";
15
- import { registerRenderer as Yt, baseRenderer as Xt } from "handsontable/renderers";
16
- import { useRouter as J, useRoute as ne } from "vue-router";
17
- import re from "axios";
18
- var Jt = {
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
- }, Qt = {
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
- }, es = {
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
- };
31
- const F = {
32
- farArrowLeftToLine: Dt,
33
- farArrowRightToLine: zt,
34
- farBarsSort: Ot,
35
- farBellRing: Ft,
36
- farBullhorn: At,
37
- farCheck: Bt,
38
- farCheckCircle: Et,
39
- farChevronDown: Rt,
40
- farChevronLeft: Vt,
41
- farChevronRight: Ht,
42
- farChevronUp: Mt,
43
- farCircleUser: Pt,
44
- farCircleXmark: Lt,
45
- farComments: Tt,
46
- farEdit: $t,
47
- farEllipsis: Ct,
48
- farEllipsisVertical: St,
49
- farExclamationTriangle: _t,
50
- farFaceSmileRelaxed: wt,
51
- farFaceSmileWink: kt,
52
- farFlag: xt,
53
- farGearComplex: bt,
54
- farGripDotsVertical: vt,
55
- farInfoCircle: yt,
56
- farLaptopMobile: gt,
57
- farLayerPlus: ht,
58
- farSatelliteDish: mt,
59
- farScaleBalanced: ft,
60
- farSort: pt,
61
- farSortDown: dt,
62
- farSortUp: ut,
63
- farStreetView: ct,
64
- farTimes: it,
65
- farTrash: lt,
66
- farXmark: nt,
67
- farSignOut: rt,
68
- farEye: at,
69
- farUndo: ot,
70
- farBolt: st,
71
- farCloudDownload: tt,
72
- farInbox: et,
73
- fadSort: Qt,
13
+ import { registerPlugin as pe, AutoColumnSize as ns, CopyPaste as ls, StretchColumns as is, NestedHeaders as cs } from "handsontable/plugins";
14
+ import { registerAllCellTypes as us } from "handsontable/cellTypes";
15
+ import { useDebounceFn as ot, watchDebounced as Ce } from "@vueuse/core";
16
+ import { registerRenderer as ds, baseRenderer as ps } from "handsontable/renderers";
17
+ import { useRouter as Q, useRoute as le } from "vue-router";
18
+ import ne from "axios";
19
+ const A = {
20
+ farArrowLeftToLine: Jt,
21
+ farArrowRightToLine: Xt,
22
+ farBarsSort: Yt,
23
+ farBellRing: Wt,
24
+ farBullhorn: Gt,
25
+ farCheck: ke,
26
+ farCheckCircle: Kt,
27
+ farChevronDown: Qe,
28
+ farChevronLeft: Je,
29
+ farChevronRight: Xe,
30
+ farChevronUp: Ut,
31
+ farCircleUser: qt,
32
+ farCircleXmark: Zt,
33
+ farComments: Nt,
34
+ farEdit: It,
35
+ farEllipsis: jt,
36
+ farEllipsisVertical: zt,
37
+ farExclamationTriangle: Dt,
38
+ farFaceSmileRelaxed: Bt,
39
+ farFaceSmileWink: Ot,
40
+ farFlag: Ft,
41
+ farGearComplex: Et,
42
+ farGripDotsVertical: Ye,
43
+ farInfoCircle: At,
44
+ farLaptopMobile: Rt,
45
+ farLayerPlus: Vt,
46
+ farSatelliteDish: Ht,
47
+ farScaleBalanced: Mt,
48
+ farSort: Lt,
49
+ farSortDown: Pt,
50
+ farSortUp: Tt,
51
+ farStreetView: $t,
52
+ farTimes: Ct,
53
+ farTrash: We,
54
+ farXmark: xe,
55
+ farSignOut: St,
56
+ farEye: _t,
57
+ farUndo: wt,
58
+ farBolt: kt,
59
+ farCloudDownload: xt,
60
+ farInbox: bt,
61
+ fadSort: ts,
74
62
  fadSortDown: es,
75
- fadSortUp: Jt
76
- };
77
- function dn(e) {
78
- Object.assign(F, e), Be.add(...Object.values(e));
63
+ fadSortUp: Qt,
64
+ // Additional icons for FormKit genesis replacement
65
+ farPlus: Ge,
66
+ farArrowDown: Ke,
67
+ farArrowUp: Ue,
68
+ farCalendar: qe,
69
+ farFile: be,
70
+ farCircle: vt,
71
+ farSpinner: Ze,
72
+ farStar: Ne,
73
+ farAnglesRight: Ie,
74
+ farAnglesLeft: je,
75
+ farEyeDropper: ze,
76
+ farCircleDot: De
77
+ }, Cn = Object.fromEntries(
78
+ Object.entries(A).map(([e, s]) => {
79
+ const t = J(s);
80
+ return [e, t?.html?.[0] || ""];
81
+ })
82
+ ), fs = {
83
+ add: Ge,
84
+ arrowDown: Ke,
85
+ arrowUp: Ue,
86
+ check: ke,
87
+ close: xe,
88
+ checkboxDecorator: ke,
89
+ date: qe,
90
+ dragHandle: Ye,
91
+ fileItem: be,
92
+ fileRemove: xe,
93
+ noFiles: be,
94
+ radioDecorator: De,
95
+ // Circle with dot for radio indicator
96
+ select: Qe,
97
+ spinner: Ze,
98
+ star: Ne,
99
+ trash: We,
100
+ fastForward: Ie,
101
+ right: Xe,
102
+ left: Je,
103
+ rewind: je,
104
+ color: ze
105
+ }, $n = Object.fromEntries(
106
+ Object.entries(fs).map(([e, s]) => {
107
+ const t = J(s);
108
+ return [e, t?.html?.[0] || ""];
109
+ })
110
+ );
111
+ function Tn(e) {
112
+ const s = A[e];
113
+ if (s) {
114
+ const t = J(s);
115
+ return Promise.resolve(t?.html?.[0] || void 0);
116
+ }
117
+ return Promise.resolve(void 0);
118
+ }
119
+ function Pn(e) {
120
+ Object.assign(A, e), Be.add(...Object.values(e));
79
121
  }
80
- function pn(e) {
81
- Be.add(...Object.values(F)), e.component("FontAwesomeIcon", Qe);
122
+ function Ln(e) {
123
+ Be.add(...Object.values(A)), e.component("FontAwesomeIcon", yt);
82
124
  }
83
- const ts = { class: "flex items-center" }, ss = { class: "shrink-0 self-start" }, os = { class: "ml-3" }, as = {
125
+ const ms = { class: "flex items-center" }, hs = { class: "shrink-0 self-start" }, gs = { class: "ml-3" }, ys = {
84
126
  key: 0,
85
127
  class: "ml-auto pl-3 pt-1 self-start"
86
- }, rs = { class: "-mx-1.5 -my-1.5" }, se = {
128
+ }, vs = { class: "-mx-1.5 -my-1.5" }, oe = {
87
129
  __name: "SparkAlert",
88
130
  props: {
89
131
  type: {
@@ -120,33 +162,33 @@ const ts = { class: "flex items-center" }, ss = { class: "shrink-0 self-start" }
120
162
  info: "text-blue-400 hover:bg-blue-100"
121
163
  })[s.type]);
122
164
  return (a, c) => {
123
- const r = A("font-awesome-icon");
165
+ const r = O("font-awesome-icon");
124
166
  return m(), h("div", {
125
167
  class: H(["rounded-md border p-4", t.value])
126
168
  }, [
127
- f("div", ts, [
128
- f("div", ss, [
169
+ f("div", ms, [
170
+ f("div", hs, [
129
171
  b(r, {
130
- icon: x(F)[l.value],
172
+ icon: x(A)[l.value],
131
173
  class: H(o.value)
132
174
  }, null, 8, ["icon", "class"])
133
175
  ]),
134
- f("div", os, [
135
- O(a.$slots, "default")
176
+ f("div", gs, [
177
+ B(a.$slots, "default")
136
178
  ]),
137
- e.closeable ? (m(), h("div", as, [
138
- f("div", rs, [
179
+ e.closeable ? (m(), h("div", ys, [
180
+ f("div", vs, [
139
181
  f("button", {
140
182
  type: "button",
141
183
  class: H(["inline-flex rounded-md px-2 py-1.5", n.value]),
142
184
  onClick: c[0] || (c[0] = (i) => a.$emit("close"))
143
185
  }, [
144
186
  b(r, {
145
- icon: x(F).farXmark
187
+ icon: x(A).farXmark
146
188
  }, null, 8, ["icon"])
147
189
  ], 2)
148
190
  ])
149
- ])) : L("", !0)
191
+ ])) : P("", !0)
150
192
  ])
151
193
  ], 2);
152
194
  };
@@ -200,7 +242,7 @@ const ts = { class: "flex items-center" }, ss = { class: "shrink-0 self-start" }
200
242
  href: "https://tabula.letsbolt.io",
201
243
  icon: "farCompass"
202
244
  }
203
- ], De = ue("sparkAppSelector", () => {
245
+ ], at = ue("sparkAppSelector", () => {
204
246
  const e = q({
205
247
  apps: [...ge]
206
248
  }), s = (n = {}) => {
@@ -246,7 +288,7 @@ const ts = { class: "flex items-center" }, ss = { class: "shrink-0 self-start" }
246
288
  return a ? a.icon : "";
247
289
  }
248
290
  };
249
- }), je = ue("sparkApp", () => {
291
+ }), rt = ue("sparkApp", () => {
250
292
  const e = q({
251
293
  app: "",
252
294
  homeRoute: "dashboard",
@@ -259,16 +301,16 @@ const ts = { class: "flex items-center" }, ss = { class: "shrink-0 self-start" }
259
301
  e.app = t.app || "", e.homeRoute = t.homeRoute ?? "dashboard", e.showBrandSelector = t.showBrandSelector ?? !0, e.showAppSelector = t.showAppSelector ?? !0;
260
302
  }
261
303
  };
262
- }), ns = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, ls = { class: "flex flex-1 flex-col" }, is = { class: "divide-y divide-gray-200" }, cs = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, us = { class: "ml-auto flex items-center" }, ds = ["href", "onClick"], ps = { class: "gap-y-1" }, fs = { class: "text-base text-gray-800 flex items-center" }, ms = { class: "font-medium" }, hs = {
304
+ }), bs = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, xs = { class: "flex flex-1 flex-col" }, ks = { class: "divide-y divide-gray-200" }, ws = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, _s = { class: "ml-auto flex items-center" }, Ss = ["href", "onClick"], Cs = { class: "gap-y-1" }, $s = { class: "text-base text-gray-800 flex items-center" }, Ts = { class: "font-medium" }, Ps = {
263
305
  key: 0,
264
306
  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"
265
- }, gs = { class: "text-sm text-gray-500" }, ys = { class: "ml-auto flex items-center" }, vs = { class: "mt-auto" }, bs = {
307
+ }, Ls = { class: "text-sm text-gray-500" }, Ms = { class: "ml-auto flex items-center" }, Hs = { class: "mt-auto" }, Vs = {
266
308
  key: 0,
267
309
  class: "p-6"
268
- }, xs = {
310
+ }, Rs = {
269
311
  key: 1,
270
312
  class: "bg-gray-50 p-6"
271
- }, ks = {
313
+ }, As = {
272
314
  __name: "SparkAppSelector",
273
315
  props: {
274
316
  bottomSlot: {
@@ -282,7 +324,7 @@ const ts = { class: "flex items-center" }, ss = { class: "shrink-0 self-start" }
282
324
  },
283
325
  emits: ["close", "select"],
284
326
  setup(e, { emit: s }) {
285
- const t = s, o = De(), l = je(), n = C(() => {
327
+ const t = s, o = at(), l = rt(), n = C(() => {
286
328
  const c = l.state.app;
287
329
  return o.state.apps.map((r) => ({
288
330
  ...r,
@@ -292,67 +334,67 @@ const ts = { class: "flex items-center" }, ss = { class: "shrink-0 self-start" }
292
334
  t("select", c);
293
335
  };
294
336
  return (c, r) => {
295
- const i = A("font-awesome-icon");
296
- return m(), h("div", ns, [
297
- f("div", ls, [
298
- f("div", is, [
299
- f("div", cs, [
337
+ const i = O("font-awesome-icon");
338
+ return m(), h("div", bs, [
339
+ f("div", xs, [
340
+ f("div", ks, [
341
+ f("div", ws, [
300
342
  r[1] || (r[1] = f("div", null, "Mr Group Network", -1)),
301
- f("div", us, [
343
+ f("div", _s, [
302
344
  b(i, {
303
- icon: x(F).farTimes,
345
+ icon: x(A).farTimes,
304
346
  class: "h-[15px] w-[15px] shrink-0 text-gray-400 cursor-pointer",
305
347
  onClick: r[0] || (r[0] = (u) => t("close"))
306
348
  }, null, 8, ["icon"])
307
349
  ])
308
350
  ]),
309
- (m(!0), h(R, null, D(n.value, (u) => (m(), h("a", {
351
+ (m(!0), h(R, null, z(n.value, (u) => (m(), h("a", {
310
352
  key: u.name,
311
353
  href: u.href,
312
354
  target: "_blank",
313
355
  class: H([u.current ? "bg-gray-50" : "hover:bg-gray-50", "flex px-[22px] py-[15px] cursor-pointer"]),
314
356
  onClick: (d) => u.current ? d.preventDefault() : a(u)
315
357
  }, [
316
- f("div", ps, [
317
- f("div", fs, [
318
- f("div", ms, P(u.name), 1),
319
- u.current ? (m(), h("span", hs, " Active ")) : L("", !0)
358
+ f("div", Cs, [
359
+ f("div", $s, [
360
+ f("div", Ts, L(u.name), 1),
361
+ u.current ? (m(), h("span", Ps, " Active ")) : P("", !0)
320
362
  ]),
321
- f("div", gs, P(u.description), 1)
363
+ f("div", Ls, L(u.description), 1)
322
364
  ]),
323
- f("div", ys, [
365
+ f("div", Ms, [
324
366
  b(i, {
325
367
  class: H([u.current ? "text-gray-700" : "text-gray-400", "h-5 w-5 shrink-0"]),
326
- icon: x(F)[u.icon]
368
+ icon: x(A)[u.icon]
327
369
  }, null, 8, ["class", "icon"])
328
370
  ])
329
- ], 10, ds))), 128)),
371
+ ], 10, Ss))), 128)),
330
372
  r[2] || (r[2] = f("div", null, null, -1))
331
373
  ]),
332
- f("div", vs, [
333
- c.$slots.bottom || e.bottomSlot ? (m(), h("div", bs, [
334
- O(c.$slots, "bottom", {}, () => [
335
- e.bottomSlot ? (m(), V(N(e.bottomSlot), { key: 0 })) : L("", !0)
374
+ f("div", Hs, [
375
+ c.$slots.bottom || e.bottomSlot ? (m(), h("div", Vs, [
376
+ B(c.$slots, "bottom", {}, () => [
377
+ e.bottomSlot ? (m(), V(N(e.bottomSlot), { key: 0 })) : P("", !0)
336
378
  ])
337
- ])) : L("", !0),
338
- c.$slots.footer || e.footerSlot ? (m(), h("div", xs, [
339
- O(c.$slots, "footer", {}, () => [
340
- e.footerSlot ? (m(), V(N(e.footerSlot), { key: 0 })) : L("", !0)
379
+ ])) : P("", !0),
380
+ c.$slots.footer || e.footerSlot ? (m(), h("div", Rs, [
381
+ B(c.$slots, "footer", {}, () => [
382
+ e.footerSlot ? (m(), V(N(e.footerSlot), { key: 0 })) : P("", !0)
341
383
  ])
342
- ])) : L("", !0)
384
+ ])) : P("", !0)
343
385
  ])
344
386
  ])
345
387
  ]);
346
388
  };
347
389
  }
348
- }, Ie = {
390
+ }, nt = {
349
391
  success: 5e3,
350
392
  info: 5e3,
351
393
  warning: 5e3,
352
394
  danger: 0
353
395
  // sticky by default
354
- }, _e = ["top-left", "top-right", "center", "bottom-left", "bottom-right"];
355
- function ws() {
396
+ }, $e = ["top-left", "top-right", "center", "bottom-left", "bottom-right"];
397
+ function Es() {
356
398
  const e = q({
357
399
  isVisible: !1,
358
400
  type: "info",
@@ -385,7 +427,7 @@ function ws() {
385
427
  duration: w = null
386
428
  } = p;
387
429
  e.type = v, e.message = k, e.component = $ ? me($) : null, e.props = g, e.closeable = _, e.isVisible = !0;
388
- const y = w !== null ? w : Ie[v];
430
+ const y = w !== null ? w : nt[v];
389
431
  e.duration = y, y > 0 && c(y);
390
432
  },
391
433
  hide: a,
@@ -405,7 +447,7 @@ function ws() {
405
447
  }
406
448
  };
407
449
  }
408
- class _s {
450
+ class Fs {
409
451
  constructor() {
410
452
  this.outlets = /* @__PURE__ */ new Map(), this.toastState = q({
411
453
  toasts: [],
@@ -423,7 +465,7 @@ class _s {
423
465
  * @returns {Object} Notification outlet instance
424
466
  */
425
467
  getOutlet(s = "default") {
426
- return this.outlets.has(s) || this.outlets.set(s, ws()), this.outlets.get(s);
468
+ return this.outlets.has(s) || this.outlets.set(s, Es()), this.outlets.get(s);
427
469
  }
428
470
  /**
429
471
  * Show a banner notification in the specified outlet
@@ -494,7 +536,7 @@ class _s {
494
536
  * @param {boolean} options.newestOnTop - Whether newest toasts appear on top (default: true)
495
537
  */
496
538
  configureToasts(s = {}) {
497
- s.maxToasts !== void 0 && (this.toastState.maxToasts = s.maxToasts), s.defaultPosition !== void 0 && _e.includes(s.defaultPosition) && (this.toastState.defaultPosition = s.defaultPosition), s.newestOnTop !== void 0 && (this.toastState.newestOnTop = s.newestOnTop);
539
+ s.maxToasts !== void 0 && (this.toastState.maxToasts = s.maxToasts), s.defaultPosition !== void 0 && $e.includes(s.defaultPosition) && (this.toastState.defaultPosition = s.defaultPosition), s.newestOnTop !== void 0 && (this.toastState.newestOnTop = s.newestOnTop);
498
540
  }
499
541
  /**
500
542
  * Show a toast notification
@@ -517,7 +559,7 @@ class _s {
517
559
  closeable: a = !0,
518
560
  duration: c = null,
519
561
  position: r = null
520
- } = s, i = ++this._toastIdCounter, u = r && _e.includes(r) ? r : this.toastState.defaultPosition, d = c !== null ? c : Ie[t], p = {
562
+ } = s, i = ++this._toastIdCounter, u = r && $e.includes(r) ? r : this.toastState.defaultPosition, d = c !== null ? c : nt[t], p = {
521
563
  id: i,
522
564
  type: t,
523
565
  message: o,
@@ -610,7 +652,7 @@ class _s {
610
652
  t && (t.timeout && clearTimeout(t.timeout), this._toastTimers.delete(s));
611
653
  }
612
654
  }
613
- const X = new _s(), fn = {
655
+ const X = new Fs(), Mn = {
614
656
  __name: "SparkNotificationOutlet",
615
657
  props: {
616
658
  name: {
@@ -619,7 +661,7 @@ const X = new _s(), fn = {
619
661
  }
620
662
  },
621
663
  setup(e) {
622
- const s = e, t = C(() => X.getOutlet(s.name)), o = B(0);
664
+ const s = e, t = C(() => X.getOutlet(s.name)), o = F(0);
623
665
  I(
624
666
  () => [t.value.state.message, t.value.state.component, t.value.state.type],
625
667
  () => {
@@ -633,7 +675,7 @@ const X = new _s(), fn = {
633
675
  }, a = () => {
634
676
  X.resume(s.name);
635
677
  };
636
- return (c, r) => (m(), V(Ue, {
678
+ return (c, r) => (m(), V(ut, {
637
679
  "enter-active-class": "transition-all duration-300 ease-out",
638
680
  "enter-from-class": "opacity-0 -translate-y-2",
639
681
  "enter-to-class": "opacity-100 translate-y-0",
@@ -643,7 +685,7 @@ const X = new _s(), fn = {
643
685
  mode: "out-in"
644
686
  }, {
645
687
  default: T(() => [
646
- t.value.state.isVisible ? (m(), V(se, {
688
+ t.value.state.isVisible ? (m(), V(oe, {
647
689
  key: o.value,
648
690
  type: t.value.state.type,
649
691
  closeable: t.value.state.closeable,
@@ -652,17 +694,17 @@ const X = new _s(), fn = {
652
694
  onMouseleave: a
653
695
  }, {
654
696
  default: T(() => [
655
- t.value.state.component ? (m(), V(N(t.value.state.component), Ke(Z({ key: 0 }, t.value.state.props)), null, 16)) : (m(), h(R, { key: 1 }, [
656
- E(P(t.value.state.message), 1)
697
+ t.value.state.component ? (m(), V(N(t.value.state.component), dt(Z({ key: 0 }, t.value.state.props)), null, 16)) : (m(), h(R, { key: 1 }, [
698
+ E(L(t.value.state.message), 1)
657
699
  ], 64))
658
700
  ]),
659
701
  _: 1
660
- }, 8, ["type", "closeable"])) : L("", !0)
702
+ }, 8, ["type", "closeable"])) : P("", !0)
661
703
  ]),
662
704
  _: 1
663
705
  }));
664
706
  }
665
- }, Ss = { class: "fixed top-4 left-4 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, Cs = { class: "fixed top-4 right-4 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, $s = { class: "fixed top-[40%] left-1/2 -translate-x-1/2 -translate-y-1/2 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, Ts = { class: "fixed bottom-4 left-4 z-[2000] flex flex-col-reverse gap-3 max-w-sm w-full pointer-events-none" }, Ls = { class: "fixed bottom-4 right-4 z-[2000] flex flex-col-reverse gap-3 max-w-sm w-full pointer-events-none" }, mn = {
707
+ }, Os = { class: "fixed top-4 left-4 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, Bs = { class: "fixed top-4 right-4 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, Ds = { class: "fixed top-[40%] left-1/2 -translate-x-1/2 -translate-y-1/2 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, zs = { class: "fixed bottom-4 left-4 z-[2000] flex flex-col-reverse gap-3 max-w-sm w-full pointer-events-none" }, js = { class: "fixed bottom-4 right-4 z-[2000] flex flex-col-reverse gap-3 max-w-sm w-full pointer-events-none" }, Hn = {
666
708
  __name: "SparkToastContainer",
667
709
  setup(e) {
668
710
  const s = X.toastState, t = C(
@@ -682,9 +724,9 @@ const X = new _s(), fn = {
682
724
  }, i = (u) => {
683
725
  X.resumeToast(u);
684
726
  };
685
- return (u, d) => (m(), V(Ge, { to: "body" }, [
686
- f("div", Ss, [
687
- b(le, {
727
+ return (u, d) => (m(), V(pt, { to: "body" }, [
728
+ f("div", Os, [
729
+ b(ie, {
688
730
  "enter-active-class": "transition-all duration-300 ease-out",
689
731
  "enter-from-class": "opacity-0 -translate-x-4",
690
732
  "enter-to-class": "opacity-100 translate-x-0",
@@ -693,11 +735,11 @@ const X = new _s(), fn = {
693
735
  "leave-to-class": "opacity-0 -translate-x-4"
694
736
  }, {
695
737
  default: T(() => [
696
- (m(!0), h(R, null, D(t.value, (p) => (m(), h("div", {
738
+ (m(!0), h(R, null, z(t.value, (p) => (m(), h("div", {
697
739
  key: p.id,
698
740
  class: "pointer-events-auto"
699
741
  }, [
700
- b(se, {
742
+ b(oe, {
701
743
  type: p.type,
702
744
  closeable: p.closeable,
703
745
  onClose: (v) => c(p.id),
@@ -709,7 +751,7 @@ const X = new _s(), fn = {
709
751
  key: 0,
710
752
  ref_for: !0
711
753
  }, p.props), null, 16)) : (m(), h(R, { key: 1 }, [
712
- E(P(p.message), 1)
754
+ E(L(p.message), 1)
713
755
  ], 64))
714
756
  ]),
715
757
  _: 2
@@ -719,8 +761,8 @@ const X = new _s(), fn = {
719
761
  _: 1
720
762
  })
721
763
  ]),
722
- f("div", Cs, [
723
- b(le, {
764
+ f("div", Bs, [
765
+ b(ie, {
724
766
  "enter-active-class": "transition-all duration-300 ease-out",
725
767
  "enter-from-class": "opacity-0 translate-x-4",
726
768
  "enter-to-class": "opacity-100 translate-x-0",
@@ -729,11 +771,11 @@ const X = new _s(), fn = {
729
771
  "leave-to-class": "opacity-0 translate-x-4"
730
772
  }, {
731
773
  default: T(() => [
732
- (m(!0), h(R, null, D(o.value, (p) => (m(), h("div", {
774
+ (m(!0), h(R, null, z(o.value, (p) => (m(), h("div", {
733
775
  key: p.id,
734
776
  class: "pointer-events-auto"
735
777
  }, [
736
- b(se, {
778
+ b(oe, {
737
779
  type: p.type,
738
780
  closeable: p.closeable,
739
781
  onClose: (v) => c(p.id),
@@ -745,7 +787,7 @@ const X = new _s(), fn = {
745
787
  key: 0,
746
788
  ref_for: !0
747
789
  }, p.props), null, 16)) : (m(), h(R, { key: 1 }, [
748
- E(P(p.message), 1)
790
+ E(L(p.message), 1)
749
791
  ], 64))
750
792
  ]),
751
793
  _: 2
@@ -755,8 +797,8 @@ const X = new _s(), fn = {
755
797
  _: 1
756
798
  })
757
799
  ]),
758
- f("div", $s, [
759
- b(le, {
800
+ f("div", Ds, [
801
+ b(ie, {
760
802
  "enter-active-class": "transition-all duration-300 ease-out",
761
803
  "enter-from-class": "opacity-0 scale-95",
762
804
  "enter-to-class": "opacity-100 scale-100",
@@ -765,11 +807,11 @@ const X = new _s(), fn = {
765
807
  "leave-to-class": "opacity-0 scale-95"
766
808
  }, {
767
809
  default: T(() => [
768
- (m(!0), h(R, null, D(l.value, (p) => (m(), h("div", {
810
+ (m(!0), h(R, null, z(l.value, (p) => (m(), h("div", {
769
811
  key: p.id,
770
812
  class: "pointer-events-auto"
771
813
  }, [
772
- b(se, {
814
+ b(oe, {
773
815
  type: p.type,
774
816
  closeable: p.closeable,
775
817
  onClose: (v) => c(p.id),
@@ -781,7 +823,7 @@ const X = new _s(), fn = {
781
823
  key: 0,
782
824
  ref_for: !0
783
825
  }, p.props), null, 16)) : (m(), h(R, { key: 1 }, [
784
- E(P(p.message), 1)
826
+ E(L(p.message), 1)
785
827
  ], 64))
786
828
  ]),
787
829
  _: 2
@@ -791,8 +833,8 @@ const X = new _s(), fn = {
791
833
  _: 1
792
834
  })
793
835
  ]),
794
- f("div", Ts, [
795
- b(le, {
836
+ f("div", zs, [
837
+ b(ie, {
796
838
  "enter-active-class": "transition-all duration-300 ease-out",
797
839
  "enter-from-class": "opacity-0 -translate-x-4",
798
840
  "enter-to-class": "opacity-100 translate-x-0",
@@ -801,11 +843,11 @@ const X = new _s(), fn = {
801
843
  "leave-to-class": "opacity-0 -translate-x-4"
802
844
  }, {
803
845
  default: T(() => [
804
- (m(!0), h(R, null, D(n.value, (p) => (m(), h("div", {
846
+ (m(!0), h(R, null, z(n.value, (p) => (m(), h("div", {
805
847
  key: p.id,
806
848
  class: "pointer-events-auto"
807
849
  }, [
808
- b(se, {
850
+ b(oe, {
809
851
  type: p.type,
810
852
  closeable: p.closeable,
811
853
  onClose: (v) => c(p.id),
@@ -817,7 +859,7 @@ const X = new _s(), fn = {
817
859
  key: 0,
818
860
  ref_for: !0
819
861
  }, p.props), null, 16)) : (m(), h(R, { key: 1 }, [
820
- E(P(p.message), 1)
862
+ E(L(p.message), 1)
821
863
  ], 64))
822
864
  ]),
823
865
  _: 2
@@ -827,8 +869,8 @@ const X = new _s(), fn = {
827
869
  _: 1
828
870
  })
829
871
  ]),
830
- f("div", Ls, [
831
- b(le, {
872
+ f("div", js, [
873
+ b(ie, {
832
874
  "enter-active-class": "transition-all duration-300 ease-out",
833
875
  "enter-from-class": "opacity-0 translate-x-4",
834
876
  "enter-to-class": "opacity-100 translate-x-0",
@@ -837,11 +879,11 @@ const X = new _s(), fn = {
837
879
  "leave-to-class": "opacity-0 translate-x-4"
838
880
  }, {
839
881
  default: T(() => [
840
- (m(!0), h(R, null, D(a.value, (p) => (m(), h("div", {
882
+ (m(!0), h(R, null, z(a.value, (p) => (m(), h("div", {
841
883
  key: p.id,
842
884
  class: "pointer-events-auto"
843
885
  }, [
844
- b(se, {
886
+ b(oe, {
845
887
  type: p.type,
846
888
  closeable: p.closeable,
847
889
  onClose: (v) => c(p.id),
@@ -853,7 +895,7 @@ const X = new _s(), fn = {
853
895
  key: 0,
854
896
  ref_for: !0
855
897
  }, p.props), null, 16)) : (m(), h(R, { key: 1 }, [
856
- E(P(p.message), 1)
898
+ E(L(p.message), 1)
857
899
  ], 64))
858
900
  ]),
859
901
  _: 2
@@ -865,7 +907,7 @@ const X = new _s(), fn = {
865
907
  ])
866
908
  ]));
867
909
  }
868
- }, Ne = ue(
910
+ }, lt = ue(
869
911
  "brandFilter",
870
912
  () => {
871
913
  const e = q({
@@ -909,57 +951,57 @@ const X = new _s(), fn = {
909
951
  paths: ["state.brands"]
910
952
  }
911
953
  }
912
- ), Ps = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, Ms = { class: "flex flex-1 flex-col" }, Hs = { class: "divide-y divide-gray-200" }, Vs = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, Rs = { class: "ml-auto flex items-center" }, Es = {
954
+ ), Is = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, Ns = { class: "flex flex-1 flex-col" }, Zs = { class: "divide-y divide-gray-200" }, qs = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, Us = { class: "ml-auto flex items-center" }, Ks = {
913
955
  key: 0,
914
956
  class: "flex px-[22px] py-[15px] text-gray-500 text-sm"
915
- }, Bs = ["onClick"], As = { class: "w-full gap-y-1 flex justify-between" }, Fs = { class: "flex flex-col" }, Os = { class: "flex items-center" }, zs = { class: "font-medium text-base text-gray-900" }, Ds = {
957
+ }, Gs = ["onClick"], Ws = { class: "w-full gap-y-1 flex justify-between" }, Ys = { class: "flex flex-col" }, Xs = { class: "flex items-center" }, Js = { class: "font-medium text-base text-gray-900" }, Qs = {
916
958
  key: 0,
917
959
  class: "inline-flex items-center rounded-full bg-green-100 px-1.5 py-0.5 text-xs font-medium text-green-800 ml-1"
918
- }, js = { class: "text-sm text-gray-500 font-normal" }, Is = { class: "flex items-center" }, Ns = ["src", "alt"], Zs = {
960
+ }, eo = { class: "text-sm text-gray-500 font-normal" }, to = { class: "flex items-center" }, so = ["src", "alt"], oo = {
919
961
  __name: "SparkBrandSelector",
920
962
  emits: ["close", "select"],
921
963
  setup(e, { emit: s }) {
922
- const t = s, o = Ne(), l = (n) => {
964
+ const t = s, o = lt(), l = (n) => {
923
965
  t("select", n);
924
966
  };
925
967
  return (n, a) => {
926
- const c = A("font-awesome-icon");
927
- return m(), h("div", Ps, [
928
- f("div", Ms, [
929
- f("div", Hs, [
930
- f("div", Vs, [
968
+ const c = O("font-awesome-icon");
969
+ return m(), h("div", Is, [
970
+ f("div", Ns, [
971
+ f("div", Zs, [
972
+ f("div", qs, [
931
973
  a[1] || (a[1] = f("div", null, "Filter by Brand", -1)),
932
- f("div", Rs, [
974
+ f("div", Us, [
933
975
  b(c, {
934
- icon: x(F).farTimes,
976
+ icon: x(A).farTimes,
935
977
  class: "size-4 text-gray-400 cursor-pointer",
936
978
  onClick: a[0] || (a[0] = (r) => t("close"))
937
979
  }, null, 8, ["icon"])
938
980
  ])
939
981
  ]),
940
- x(o).allBrands.length === 0 ? (m(), h("div", Es, " No brands configured ")) : L("", !0),
941
- (m(!0), h(R, null, D(x(o).allBrands, (r) => (m(), h("div", {
982
+ x(o).allBrands.length === 0 ? (m(), h("div", Ks, " No brands configured ")) : P("", !0),
983
+ (m(!0), h(R, null, z(x(o).allBrands, (r) => (m(), h("div", {
942
984
  key: r.id,
943
985
  class: H([r.current ? "bg-gray-50" : "hover:bg-gray-50", "flex px-[22px] py-[15px] cursor-pointer"]),
944
986
  onClick: (i) => l(r)
945
987
  }, [
946
- f("div", As, [
947
- f("div", Fs, [
948
- f("div", Os, [
949
- f("div", zs, P(r.name), 1),
950
- r.current ? (m(), h("span", Ds, " Current ")) : L("", !0)
988
+ f("div", Ws, [
989
+ f("div", Ys, [
990
+ f("div", Xs, [
991
+ f("div", Js, L(r.name), 1),
992
+ r.current ? (m(), h("span", Qs, " Current ")) : P("", !0)
951
993
  ]),
952
- f("div", js, P(r.current ? "Current Brand" : "Change to"), 1)
994
+ f("div", eo, L(r.current ? "Current Brand" : "Change to"), 1)
953
995
  ]),
954
- f("div", Is, [
996
+ f("div", to, [
955
997
  f("img", {
956
998
  src: r.logo,
957
999
  alt: `${r.name} logo`,
958
1000
  class: "h-8 w-auto"
959
- }, null, 8, Ns)
1001
+ }, null, 8, so)
960
1002
  ])
961
1003
  ])
962
- ], 10, Bs))), 128)),
1004
+ ], 10, Gs))), 128)),
963
1005
  a[2] || (a[2] = f("div", null, null, -1))
964
1006
  ]),
965
1007
  a[3] || (a[3] = f("div", { class: "mt-auto" }, null, -1))
@@ -967,7 +1009,7 @@ const X = new _s(), fn = {
967
1009
  ]);
968
1010
  };
969
1011
  }
970
- }, qs = ["disabled"], G = {
1012
+ }, ao = ["disabled"], G = {
971
1013
  __name: "SparkButton",
972
1014
  props: {
973
1015
  size: {
@@ -990,7 +1032,7 @@ const X = new _s(), fn = {
990
1032
  },
991
1033
  emits: ["click"],
992
1034
  setup(e) {
993
- const s = e, t = B(null), o = Ve("buttonGroup", null), l = C(() => {
1035
+ const s = e, t = F(null), o = Ee("buttonGroup", null), l = C(() => {
994
1036
  if (!o?.isInGroup || !t.value) return null;
995
1037
  const r = o.getButtonIndex(t.value), i = o.getButtonCount();
996
1038
  return {
@@ -1076,14 +1118,14 @@ const X = new _s(), fn = {
1076
1118
  disabled: e.disabled,
1077
1119
  onClick: i[0] || (i[0] = (u) => r.$emit("click"))
1078
1120
  }, [
1079
- O(r.$slots, "default")
1080
- ], 10, qs));
1121
+ B(r.$slots, "default")
1122
+ ], 10, ao));
1081
1123
  }
1082
- }, Us = {
1124
+ }, ro = {
1083
1125
  __name: "SparkButtonGroup",
1084
1126
  setup(e) {
1085
- const s = B(null);
1086
- return We("buttonGroup", {
1127
+ const s = F(null);
1128
+ return ft("buttonGroup", {
1087
1129
  isInGroup: !0,
1088
1130
  getButtonIndex: (l) => s.value ? Array.from(s.value.children).indexOf(l) : -1,
1089
1131
  getButtonCount: () => s.value?.children.length || 0
@@ -1092,16 +1134,16 @@ const X = new _s(), fn = {
1092
1134
  ref_key: "groupRef",
1093
1135
  ref: s
1094
1136
  }, [
1095
- O(l.$slots, "default")
1137
+ B(l.$slots, "default")
1096
1138
  ], 512));
1097
1139
  }
1098
- }, Ks = { class: "divide-y divide-gray-300 rounded-lg border border-gray-300 text-gray-700 bg-gray-100" }, Gs = {
1140
+ }, no = { class: "divide-y divide-gray-300 rounded-lg border border-gray-300 text-gray-700 bg-gray-100" }, lo = {
1099
1141
  key: 0,
1100
1142
  class: "px-[30px] py-5"
1101
- }, Ws = {
1143
+ }, io = {
1102
1144
  key: 1,
1103
1145
  class: "p-5"
1104
- }, hn = {
1146
+ }, Vn = {
1105
1147
  __name: "SparkCard",
1106
1148
  props: {
1107
1149
  padded: {
@@ -1115,24 +1157,24 @@ const X = new _s(), fn = {
1115
1157
  },
1116
1158
  setup(e) {
1117
1159
  const s = e;
1118
- return (t, o) => (m(), h("div", Ks, [
1119
- t.$slots.header ? (m(), h("div", Gs, [
1120
- O(t.$slots, "header")
1121
- ])) : L("", !0),
1160
+ return (t, o) => (m(), h("div", no, [
1161
+ t.$slots.header ? (m(), h("div", lo, [
1162
+ B(t.$slots, "header")
1163
+ ])) : P("", !0),
1122
1164
  f("div", {
1123
1165
  class: H([s.padded ? s.paddedClass : ""])
1124
1166
  }, [
1125
- O(t.$slots, "default")
1167
+ B(t.$slots, "default")
1126
1168
  ], 2),
1127
- t.$slots.footer ? (m(), h("div", Ws, [
1128
- O(t.$slots, "footer")
1129
- ])) : L("", !0)
1169
+ t.$slots.footer ? (m(), h("div", io, [
1170
+ B(t.$slots, "footer")
1171
+ ])) : P("", !0)
1130
1172
  ]));
1131
1173
  }
1132
- }, Ys = { class: "px-4 pt-5 pb-4 sm:p-6" }, Xs = {
1174
+ }, co = { class: "px-4 pt-5 pb-4 sm:p-6" }, uo = {
1133
1175
  key: 0,
1134
1176
  class: "text-lg font-medium text-gray-900"
1135
- }, Js = {
1177
+ }, po = {
1136
1178
  __name: "SparkModalDialog",
1137
1179
  props: {
1138
1180
  title: {
@@ -1210,36 +1252,36 @@ const X = new _s(), fn = {
1210
1252
  danger: "text-red-400"
1211
1253
  })[s.type]);
1212
1254
  return (r, i) => {
1213
- const u = A("font-awesome-icon");
1214
- return m(), h("div", Ys, [
1255
+ const u = O("font-awesome-icon");
1256
+ return m(), h("div", co, [
1215
1257
  n.value ? (m(), h("div", {
1216
1258
  key: 0,
1217
1259
  class: H(["mx-auto flex size-12 items-center justify-center rounded-full", a.value])
1218
1260
  }, [
1219
1261
  b(u, {
1220
- icon: x(F)[n.value],
1262
+ icon: x(A)[n.value],
1221
1263
  class: H(["h-5 w-5", c.value])
1222
1264
  }, null, 8, ["icon", "class"])
1223
- ], 2)) : L("", !0),
1265
+ ], 2)) : P("", !0),
1224
1266
  f("div", {
1225
1267
  class: H(["text-center", { "mt-3 sm:mt-5": n.value }])
1226
1268
  }, [
1227
- e.title ? (m(), h("h3", Xs, P(e.title), 1)) : L("", !0),
1269
+ e.title ? (m(), h("h3", uo, L(e.title), 1)) : P("", !0),
1228
1270
  e.message ? (m(), h("div", {
1229
1271
  key: 1,
1230
1272
  class: H([{ "mt-2": e.title }, "text-sm text-gray-500"])
1231
- }, P(e.message), 3)) : L("", !0)
1273
+ }, L(e.message), 3)) : P("", !0)
1232
1274
  ], 2),
1233
1275
  f("div", {
1234
1276
  class: H(["mt-5 sm:mt-6", o.value])
1235
1277
  }, [
1236
- (m(!0), h(R, null, D(t.value, (d, p) => (m(), V(x(G), {
1278
+ (m(!0), h(R, null, z(t.value, (d, p) => (m(), V(x(G), {
1237
1279
  key: p,
1238
1280
  variant: d.variant,
1239
1281
  onClick: (v) => r.$emit(d.event, d)
1240
1282
  }, {
1241
1283
  default: T(() => [
1242
- E(P(d.text), 1)
1284
+ E(L(d.text), 1)
1243
1285
  ]),
1244
1286
  _: 2
1245
1287
  }, 1032, ["variant", "onClick"]))), 128))
@@ -1248,7 +1290,7 @@ const X = new _s(), fn = {
1248
1290
  };
1249
1291
  }
1250
1292
  };
1251
- class Qs {
1293
+ class fo {
1252
1294
  constructor() {
1253
1295
  this.state = q({
1254
1296
  isVisible: !1,
@@ -1285,7 +1327,7 @@ class Qs {
1285
1327
  confirmVariant: r = "primary"
1286
1328
  } = s;
1287
1329
  this.show(
1288
- Js,
1330
+ po,
1289
1331
  {
1290
1332
  title: o,
1291
1333
  message: l,
@@ -1306,17 +1348,17 @@ class Qs {
1306
1348
  );
1307
1349
  });
1308
1350
  }
1309
- const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto" }, to = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, so = {
1351
+ const ae = new fo(), mo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto" }, ho = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, go = {
1310
1352
  __name: "SparkModalContainer",
1311
1353
  setup(e) {
1312
- return (s, t) => (m(), V(x(Ae), {
1354
+ return (s, t) => (m(), V(x(et), {
1313
1355
  as: "template",
1314
- show: x(oe).state.isVisible
1356
+ show: x(ae).state.isVisible
1315
1357
  }, {
1316
1358
  default: T(() => [
1317
- b(x(Fe), {
1359
+ b(x(tt), {
1318
1360
  class: "relative z-1000",
1319
- onClose: x(oe).hide
1361
+ onClose: x(ae).hide
1320
1362
  }, {
1321
1363
  default: T(() => [
1322
1364
  b(x(fe), {
@@ -1333,8 +1375,8 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1333
1375
  ])]),
1334
1376
  _: 1
1335
1377
  }),
1336
- f("div", eo, [
1337
- f("div", to, [
1378
+ f("div", mo, [
1379
+ f("div", ho, [
1338
1380
  b(x(fe), {
1339
1381
  as: "template",
1340
1382
  enter: "ease-out duration-300",
@@ -1345,9 +1387,9 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1345
1387
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
1346
1388
  }, {
1347
1389
  default: T(() => [
1348
- b(x(Oe), { 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" }, {
1390
+ b(x(st), { 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" }, {
1349
1391
  default: T(() => [
1350
- (m(), V(N(x(oe).state.content), Z(x(oe).state.props, Re(x(oe).state.eventHandlers)), null, 16))
1392
+ (m(), V(N(x(ae).state.content), Z(x(ae).state.props, Fe(x(ae).state.eventHandlers)), null, 16))
1351
1393
  ]),
1352
1394
  _: 1
1353
1395
  })
@@ -1363,7 +1405,7 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1363
1405
  _: 1
1364
1406
  }, 8, ["show"]));
1365
1407
  }
1366
- }, oo = { class: "fixed inset-0 flex" }, Se = {
1408
+ }, yo = { class: "fixed inset-0 flex" }, Te = {
1367
1409
  __name: "SparkOverlay",
1368
1410
  props: {
1369
1411
  position: {
@@ -1378,7 +1420,7 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1378
1420
  },
1379
1421
  emits: ["close"],
1380
1422
  setup(e, { emit: s }) {
1381
- const t = B(null), o = {
1423
+ const t = F(null), o = {
1382
1424
  xs: "w-[250px]",
1383
1425
  sm: "w-[300px]",
1384
1426
  md: "w-[450px]",
@@ -1387,12 +1429,12 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1387
1429
  }, l = e, n = s, a = C(() => o[l.overlayInstance.state.size] || o.md), c = () => {
1388
1430
  l.overlayInstance.close(), n("close");
1389
1431
  };
1390
- return (r, i) => (m(), V(x(Ae), {
1432
+ return (r, i) => (m(), V(x(et), {
1391
1433
  show: e.overlayInstance.state.isVisible,
1392
1434
  as: "template"
1393
1435
  }, {
1394
1436
  default: T(() => [
1395
- b(x(Fe), {
1437
+ b(x(tt), {
1396
1438
  initialFocus: t.value,
1397
1439
  class: "relative z-1000",
1398
1440
  onClose: c
@@ -1412,7 +1454,7 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1412
1454
  ])]),
1413
1455
  _: 1
1414
1456
  }),
1415
- f("div", oo, [
1457
+ f("div", yo, [
1416
1458
  b(x(fe), {
1417
1459
  as: "template",
1418
1460
  enter: "transition ease-in-out duration-150 transform",
@@ -1423,7 +1465,7 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1423
1465
  "leave-to": e.position === "left" ? "-translate-x-full opacity-0" : "translate-x-full opacity-0"
1424
1466
  }, {
1425
1467
  default: T(() => [
1426
- b(x(Oe), {
1468
+ b(x(st), {
1427
1469
  ref_key: "panelRef",
1428
1470
  ref: t,
1429
1471
  class: H([
@@ -1433,7 +1475,7 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1433
1475
  ])
1434
1476
  }, {
1435
1477
  default: T(() => [
1436
- (m(), V(N(e.overlayInstance.state.content), Z(e.overlayInstance.state.props, Re(e.overlayInstance.state.eventHandlers)), null, 16))
1478
+ (m(), V(N(e.overlayInstance.state.content), Z(e.overlayInstance.state.props, Fe(e.overlayInstance.state.eventHandlers)), null, 16))
1437
1479
  ]),
1438
1480
  _: 1
1439
1481
  }, 8, ["class"])
@@ -1448,18 +1490,18 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1448
1490
  _: 1
1449
1491
  }, 8, ["show"]));
1450
1492
  }
1451
- }, ao = (e) => {
1493
+ }, vo = (e) => {
1452
1494
  if (e.includes(".")) {
1453
1495
  const s = e.split(".");
1454
1496
  e = s[s.length - 1];
1455
1497
  }
1456
1498
  return e.replace(/_/g, " ");
1457
- }, ro = (e, s, t) => {
1499
+ }, bo = (e, s, t) => {
1458
1500
  const o = s.querySelector(".relative");
1459
1501
  if (!o || o.querySelector(".spark-table-head-sorting"))
1460
1502
  return;
1461
1503
  const l = document.createElement("span");
1462
- l.classList.add("spark-table-head-sorting"), l.innerHTML = ce({ prefix: "fad", iconName: "sort" }).html + ce({ prefix: "fad", iconName: "sort-up" }).html + ce({ prefix: "fad", iconName: "sort-down" }).html, o.appendChild(l), o.addEventListener("click", async () => {
1504
+ l.classList.add("spark-table-head-sorting"), l.innerHTML = J({ prefix: "fad", iconName: "sort" }).html + J({ prefix: "fad", iconName: "sort-up" }).html + J({ prefix: "fad", iconName: "sort-down" }).html, o.appendChild(l), o.addEventListener("click", async () => {
1463
1505
  const n = t.params.orderBy, a = t.params.sortedBy;
1464
1506
  return n === e && a === "asc" ? (o.classList.remove("asc"), o.classList.add("desc"), t.methods.applyParams({
1465
1507
  orderBy: e,
@@ -1469,12 +1511,12 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1469
1511
  sortedBy: "asc"
1470
1512
  }));
1471
1513
  });
1472
- }, no = (e, s, t) => {
1514
+ }, xo = (e, s, t) => {
1473
1515
  if (s.querySelector(".spark-table-head-filter"))
1474
1516
  return;
1475
1517
  const o = document.createElement("div"), l = document.createElement("input");
1476
1518
  l.type = "text", l.placeholder = "Filter...", o.className = "spark-table-head-filter", o.appendChild(l);
1477
- const n = ze(async (a, c) => {
1519
+ const n = ot(async (a, c) => {
1478
1520
  const r = c.target.value, i = `filter[${a}]`;
1479
1521
  if (r)
1480
1522
  return t.params[i] && t.params[i] === r ? void 0 : t.methods.applyParams({
@@ -1484,19 +1526,19 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1484
1526
  await t.methods.removeParam(i);
1485
1527
  }, 200);
1486
1528
  l.addEventListener("keyup", (a) => n(e, a)), s.appendChild(o);
1487
- }, lo = (e, s, t) => {
1529
+ }, ko = (e, s, t) => {
1488
1530
  e.classList.add("spark-table-head"), t && t.columnSort && e.classList.add("can-sort"), t && t.columnFilter && e.classList.add("can-filter"), e.querySelector(".relative").classList.add("spark-table-head-title-wrapper");
1489
1531
  const l = e.querySelector(".colHeader");
1490
- l.classList.add("spark-table-head-title"), l.innerHTML = ao(s);
1491
- }, io = (e, s, t) => {
1532
+ l.classList.add("spark-table-head-title"), l.innerHTML = vo(s);
1533
+ }, wo = (e, s, t) => {
1492
1534
  if (typeof e != "number")
1493
1535
  return e;
1494
1536
  if (e < 0)
1495
1537
  return;
1496
1538
  let o = 2;
1497
1539
  const l = t.methods.colToProp(e), n = t.methods.getSettingsForProp(l);
1498
- s.childElementCount === 1 && ((!n || !n.columnSort) && o--, (!n || !n.columnFilter) && o--, n && n.columnSort && ro(l, s, t), n && n.columnFilter && no(l, s, t)), (s.childElementCount === o || o === 0) && lo(s, l, n);
1499
- }, co = (e) => {
1540
+ s.childElementCount === 1 && ((!n || !n.columnSort) && o--, (!n || !n.columnFilter) && o--, n && n.columnSort && bo(l, s, t), n && n.columnFilter && xo(l, s, t)), (s.childElementCount === o || o === 0) && ko(s, l, n);
1541
+ }, _o = (e) => {
1500
1542
  if (!e.hotInstance || !e.hotInstance.rootElement)
1501
1543
  return;
1502
1544
  const s = e.params.orderBy, t = e.params.sortedBy, o = e.hotInstance.rootElement.querySelectorAll("thead th.can-sort .relative");
@@ -1506,7 +1548,7 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1506
1548
  const n = l.closest("th"), a = Array.from(n.parentElement.children).indexOf(n);
1507
1549
  e.methods.colToProp(a) === s && l.classList.add(t);
1508
1550
  });
1509
- }, uo = (e) => (s, t, o, l, n, a, c) => {
1551
+ }, So = (e) => (s, t, o, l, n, a, c) => {
1510
1552
  t.innerHTML = "", t.classList.add("spark-table-cell-actions");
1511
1553
  const i = (c.rendererConfig || {}).actions || [];
1512
1554
  if (i.length === 0)
@@ -1518,7 +1560,7 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1518
1560
  const v = document.createElement("button");
1519
1561
  if (v.type = "button", v.classList.add("spark-table-action-button"), p.icon) {
1520
1562
  const k = document.createElement("span");
1521
- k.innerHTML = ce({ prefix: "far", iconName: p.icon }).html, k.classList.add("size-4"), v.appendChild(k);
1563
+ k.innerHTML = J({ prefix: "far", iconName: p.icon }).html, k.classList.add("size-4"), v.appendChild(k);
1522
1564
  }
1523
1565
  if (p.label) {
1524
1566
  const k = document.createElement("span");
@@ -1527,7 +1569,7 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1527
1569
  v.addEventListener("click", async (k) => {
1528
1570
  if (k.preventDefault(), k.stopPropagation(), p.confirm) {
1529
1571
  const $ = typeof p.confirm == "string" ? p.confirm : `Are you sure you want to ${p.label?.toLowerCase() || "perform this action"}?`;
1530
- if (!await oe.confirm({
1572
+ if (!await ae.confirm({
1531
1573
  title: p.confirmTitle,
1532
1574
  message: $,
1533
1575
  type: p.confirmType,
@@ -1540,7 +1582,7 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1540
1582
  p.event && e.methods.fireEvent(p.event, u), p.handler && typeof p.handler == "function" && p.handler(u);
1541
1583
  }), d.appendChild(v);
1542
1584
  }), t.appendChild(d);
1543
- }, Ce = {
1585
+ }, Pe = {
1544
1586
  green: "bg-green-100 text-green-800",
1545
1587
  red: "bg-red-100 text-red-800",
1546
1588
  yellow: "bg-yellow-100 text-yellow-800",
@@ -1549,10 +1591,10 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1549
1591
  purple: "bg-purple-100 text-purple-800",
1550
1592
  pink: "bg-pink-100 text-pink-800",
1551
1593
  indigo: "bg-indigo-100 text-indigo-800"
1552
- }, po = (e) => (s, t, o, l, n, a, c) => {
1594
+ }, Co = (e) => (s, t, o, l, n, a, c) => {
1553
1595
  if (t.innerHTML = "", t.classList.add("spark-table-cell-badge"), !a)
1554
1596
  return;
1555
- const i = (c.rendererConfig || {}).colorMap || {}, u = i[a] || i[a?.toLowerCase()] || "gray", d = Ce[u] || Ce.gray, p = document.createElement("span");
1597
+ const i = (c.rendererConfig || {}).colorMap || {}, u = i[a] || i[a?.toLowerCase()] || "gray", d = Pe[u] || Pe.gray, p = document.createElement("span");
1556
1598
  p.classList.add(
1557
1599
  "inline-flex",
1558
1600
  "items-center",
@@ -1564,14 +1606,14 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1564
1606
  "capitalize",
1565
1607
  ...d.split(" ")
1566
1608
  ), p.textContent = a, t.appendChild(p);
1567
- }, $e = {
1609
+ }, Le = {
1568
1610
  green: { bg: "bg-green-100", text: "text-green-500" },
1569
1611
  red: { bg: "bg-red-100", text: "text-red-500" },
1570
1612
  yellow: { bg: "bg-yellow-100", text: "text-yellow-500" },
1571
1613
  blue: { bg: "bg-blue-100", text: "text-blue-500" },
1572
1614
  gray: { bg: "bg-gray-100", text: "text-gray-500" },
1573
1615
  purple: { bg: "bg-purple-100", text: "text-purple-500" }
1574
- }, fo = (e) => {
1616
+ }, $o = (e) => {
1575
1617
  if (e == null || e === "")
1576
1618
  return !1;
1577
1619
  if (typeof e == "boolean")
@@ -1583,9 +1625,9 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1583
1625
  return s === "1" || s === "yes" || s === "true";
1584
1626
  }
1585
1627
  return !1;
1586
- }, mo = (e) => (s, t, o, l, n, a, c) => {
1628
+ }, To = (e) => (s, t, o, l, n, a, c) => {
1587
1629
  t.innerHTML = "", t.classList.add("spark-table-cell-boolean");
1588
- const r = c.rendererConfig || {}, i = fo(a), u = i ? r.trueIcon || "check" : r.falseIcon || "xmark", d = i ? r.trueColor || "green" : r.falseColor || "red", p = r.size || 32, v = r.iconPrefix || "far", k = $e[d] || $e.gray;
1630
+ const r = c.rendererConfig || {}, i = $o(a), u = i ? r.trueIcon || "check" : r.falseIcon || "xmark", d = i ? r.trueColor || "green" : r.falseColor || "red", p = r.size || 32, v = r.iconPrefix || "far", k = Le[d] || Le.gray;
1589
1631
  t.dataset.copyValue = i ? "true" : "false";
1590
1632
  const $ = document.createElement("div");
1591
1633
  $.classList.add(
@@ -1597,10 +1639,10 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1597
1639
  k.text
1598
1640
  ), $.style.width = `${p}px`, $.style.height = `${p}px`;
1599
1641
  const g = document.createElement("span");
1600
- g.innerHTML = ce({ prefix: v, iconName: u }).html, g.classList.add("flex", "items-center", "justify-center");
1642
+ g.innerHTML = J({ prefix: v, iconName: u }).html, g.classList.add("flex", "items-center", "justify-center");
1601
1643
  const _ = Math.round(p * 0.5);
1602
1644
  g.style.fontSize = `${_}px`, $.appendChild(g), t.appendChild($);
1603
- }, ho = (e, s = 2) => {
1645
+ }, Po = (e, s = 2) => {
1604
1646
  const t = Number(e);
1605
1647
  if (isNaN(t)) return null;
1606
1648
  const o = t < 0, n = Math.abs(t).toLocaleString("en-AU", {
@@ -1608,21 +1650,21 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1608
1650
  maximumFractionDigits: s
1609
1651
  });
1610
1652
  return o ? `-$${n}` : `$${n}`;
1611
- }, go = (e) => (s, t, o, l, n, a, c) => {
1653
+ }, Lo = (e) => (s, t, o, l, n, a, c) => {
1612
1654
  t.innerHTML = "", t.classList.add("spark-table-cell-currency");
1613
1655
  const r = c.rendererConfig || {}, { decimals: i = 2, emptyText: u = "" } = r;
1614
1656
  if (a == null || a === "") {
1615
1657
  t.textContent = u;
1616
1658
  return;
1617
1659
  }
1618
- const d = ho(a, i);
1660
+ const d = Po(a, i);
1619
1661
  if (d === null) {
1620
1662
  t.textContent = u;
1621
1663
  return;
1622
1664
  }
1623
1665
  const p = document.createElement("span");
1624
1666
  p.textContent = d, t.appendChild(p);
1625
- }, yo = (e) => (s, t, o, l, n, a, c) => {
1667
+ }, Mo = (e) => (s, t, o, l, n, a, c) => {
1626
1668
  if (t.innerHTML = "", t.classList.add("spark-table-cell-link"), !a)
1627
1669
  return;
1628
1670
  const r = c.rendererConfig || {}, i = s.getSourceDataAtRow(s.toPhysicalRow(o));
@@ -1632,19 +1674,19 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1632
1674
  d.href = u, d.textContent = a, d.classList.add("text-primary-600", "hover:text-primary-900", "hover:underline"), r.target && (d.target = r.target), r.rel && (d.rel = r.rel), d.addEventListener("click", (p) => {
1633
1675
  p.stopPropagation();
1634
1676
  }), t.appendChild(d);
1635
- }, Te = {
1677
+ }, Me = {
1636
1678
  sm: "h-6 w-6",
1637
1679
  md: "h-8 w-8",
1638
1680
  lg: "h-12 w-12"
1639
- }, vo = (e) => (s, t, o, l, n, a, c) => {
1681
+ }, Ho = (e) => (s, t, o, l, n, a, c) => {
1640
1682
  if (t.innerHTML = "", t.classList.add("spark-table-cell-image"), !a)
1641
1683
  return;
1642
- const r = c.rendererConfig || {}, i = s.getSourceDataAtRow(s.toPhysicalRow(o)), u = r.size || "md", d = Te[u] || Te.md, p = r.rounded !== !1;
1684
+ const r = c.rendererConfig || {}, i = s.getSourceDataAtRow(s.toPhysicalRow(o)), u = r.size || "md", d = Me[u] || Me.md, p = r.rounded !== !1;
1643
1685
  let v = r.alt || "";
1644
1686
  typeof r.alt == "string" && i[r.alt] && (v = i[r.alt]);
1645
1687
  const k = document.createElement("img");
1646
1688
  k.src = a, k.alt = v, k.classList.add(...d.split(" "), "object-cover"), p ? k.classList.add("rounded-full") : k.classList.add("rounded"), t.appendChild(k);
1647
- }, bo = (e) => (s, t, o, l, n, a, c) => {
1689
+ }, Vo = (e) => (s, t, o, l, n, a, c) => {
1648
1690
  if (t.innerHTML = "", t.classList.add("spark-table-cell-date"), !a)
1649
1691
  return;
1650
1692
  const r = c.rendererConfig || {}, i = r.format || "short", u = r.locale || "en-US";
@@ -1655,27 +1697,27 @@ const oe = new Qs(), eo = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
1655
1697
  year: "numeric",
1656
1698
  month: "long",
1657
1699
  day: "numeric"
1658
- }) : i === "relative" ? d = xo(v) : i === "datetime" ? d = v.toLocaleString(u) : d = v.toLocaleDateString(u);
1700
+ }) : i === "relative" ? d = Ro(v) : i === "datetime" ? d = v.toLocaleString(u) : d = v.toLocaleDateString(u);
1659
1701
  } catch (v) {
1660
1702
  console.error("Error formatting date:", v), d = a;
1661
1703
  }
1662
1704
  const p = document.createElement("span");
1663
1705
  p.textContent = d, t.appendChild(p);
1664
1706
  };
1665
- function xo(e) {
1707
+ function Ro(e) {
1666
1708
  const t = /* @__PURE__ */ new Date() - e, o = Math.floor(Math.abs(t) / 1e3), l = Math.floor(o / 60), n = Math.floor(l / 60), a = Math.floor(n / 24), c = Math.floor(a / 30), r = Math.floor(a / 365), i = t > 0;
1667
1709
  return o < 60 ? i ? "just now" : "in a moment" : l < 60 ? i ? `${l} minute${l > 1 ? "s" : ""} ago` : `in ${l} minute${l > 1 ? "s" : ""}` : n < 24 ? i ? `${n} hour${n > 1 ? "s" : ""} ago` : `in ${n} hour${n > 1 ? "s" : ""}` : a < 30 ? i ? `${a} day${a > 1 ? "s" : ""} ago` : `in ${a} day${a > 1 ? "s" : ""}` : c < 12 ? i ? `${c} month${c > 1 ? "s" : ""} ago` : `in ${c} month${c > 1 ? "s" : ""}` : i ? `${r} year${r > 1 ? "s" : ""} ago` : `in ${r} year${r > 1 ? "s" : ""}`;
1668
1710
  }
1669
- const ko = (e) => {
1711
+ const Ao = (e) => {
1670
1712
  const s = ["th", "st", "nd", "rd"], t = e % 100;
1671
1713
  return e + (s[(t - 20) % 10] || s[t] || s[0]);
1672
- }, j = (e, s = 2) => String(e).padStart(s, "0"), ye = /* @__PURE__ */ new Map(), wo = (e, s) => {
1714
+ }, j = (e, s = 2) => String(e).padStart(s, "0"), ye = /* @__PURE__ */ new Map(), Eo = (e, s) => {
1673
1715
  const t = `${e}:${JSON.stringify(s)}`;
1674
1716
  return ye.has(t) || ye.set(t, new Intl.DateTimeFormat(e, s)), ye.get(t);
1675
- }, ie = (e, s, t, o) => {
1676
- const a = wo(s, t).formatToParts(e).find((c) => c.type === o);
1717
+ }, ce = (e, s, t, o) => {
1718
+ const a = Eo(s, t).formatToParts(e).find((c) => c.type === o);
1677
1719
  return a ? a.value : "";
1678
- }, _o = (e) => e.epochMilliseconds !== void 0 ? new Date(e.epochMilliseconds) : new Date(
1720
+ }, Fo = (e) => e.epochMilliseconds !== void 0 ? new Date(e.epochMilliseconds) : new Date(
1679
1721
  e.year,
1680
1722
  e.month - 1,
1681
1723
  e.day,
@@ -1683,7 +1725,7 @@ const ko = (e) => {
1683
1725
  e.minute || 0,
1684
1726
  e.second || 0,
1685
1727
  e.millisecond || 0
1686
- ), So = (e) => {
1728
+ ), Oo = (e) => {
1687
1729
  const s = e.hour || 0, t = s % 12 || 12, o = s >= 12;
1688
1730
  return {
1689
1731
  year: e.year,
@@ -1701,30 +1743,30 @@ const ko = (e) => {
1701
1743
  isPM: o,
1702
1744
  quarter: Math.ceil(e.month / 3)
1703
1745
  };
1704
- }, Le = (e, s = !0) => {
1746
+ }, He = (e, s = !0) => {
1705
1747
  if (!e.offsetNanoseconds && e.offsetNanoseconds !== 0)
1706
1748
  return "";
1707
1749
  const t = Math.round(e.offsetNanoseconds / 6e10), o = t >= 0 ? "+" : "-", l = Math.abs(t), n = Math.floor(l / 60), a = l % 60;
1708
1750
  return s ? `${o}${j(n)}:${j(a)}` : `${o}${j(n)}${j(a)}`;
1709
- }, Co = (e, s) => {
1710
- const t = So(e), o = _o(e), l = t.dayOfWeek === 7 ? 0 : t.dayOfWeek;
1751
+ }, Bo = (e, s) => {
1752
+ const t = Oo(e), o = Fo(e), l = t.dayOfWeek === 7 ? 0 : t.dayOfWeek;
1711
1753
  return [
1712
1754
  // Year
1713
1755
  ["YYYY", () => String(t.year)],
1714
1756
  ["YY", () => String(t.year).slice(-2)],
1715
1757
  // Month
1716
- ["MMMM", () => ie(o, s, { month: "long" }, "month")],
1717
- ["MMM", () => ie(o, s, { month: "short" }, "month")],
1758
+ ["MMMM", () => ce(o, s, { month: "long" }, "month")],
1759
+ ["MMM", () => ce(o, s, { month: "short" }, "month")],
1718
1760
  ["MM", () => j(t.month)],
1719
1761
  ["M", () => String(t.month)],
1720
1762
  // Day of month
1721
1763
  ["DD", () => j(t.day)],
1722
- ["Do", () => ko(t.day)],
1764
+ ["Do", () => Ao(t.day)],
1723
1765
  ["D", () => String(t.day)],
1724
1766
  // Day of week
1725
- ["dddd", () => ie(o, s, { weekday: "long" }, "weekday")],
1726
- ["ddd", () => ie(o, s, { weekday: "short" }, "weekday")],
1727
- ["dd", () => ie(o, s, { weekday: "short" }, "weekday").slice(0, 2)],
1767
+ ["dddd", () => ce(o, s, { weekday: "long" }, "weekday")],
1768
+ ["ddd", () => ce(o, s, { weekday: "short" }, "weekday")],
1769
+ ["dd", () => ce(o, s, { weekday: "short" }, "weekday").slice(0, 2)],
1728
1770
  ["d", () => String(l)],
1729
1771
  // Hour
1730
1772
  ["HH", () => j(t.hour24)],
@@ -1745,15 +1787,15 @@ const ko = (e) => {
1745
1787
  ["A", () => t.isPM ? "PM" : "AM"],
1746
1788
  ["a", () => t.isPM ? "pm" : "am"],
1747
1789
  // Timezone offset
1748
- ["ZZ", () => Le(e, !1)],
1749
- ["Z", () => Le(e, !0)],
1790
+ ["ZZ", () => He(e, !1)],
1791
+ ["Z", () => He(e, !0)],
1750
1792
  // Quarter
1751
1793
  ["Q", () => String(t.quarter)],
1752
1794
  // Unix timestamp
1753
1795
  ["x", () => String(e.epochMilliseconds ?? o.getTime())],
1754
1796
  ["X", () => String(Math.floor((e.epochMilliseconds ?? o.getTime()) / 1e3))]
1755
1797
  ];
1756
- }, $o = (e, s, t = {}) => {
1798
+ }, Do = (e, s, t = {}) => {
1757
1799
  const { locale: o = "en-US" } = t;
1758
1800
  if (!e)
1759
1801
  return "";
@@ -1769,20 +1811,20 @@ const ko = (e) => {
1769
1811
  } catch (r) {
1770
1812
  return console.error("Failed to parse date string:", e, r), e;
1771
1813
  }
1772
- const n = Co(l, o), a = n.map(([r]) => r).join("|"), c = new RegExp(`\\[([^\\]]+)\\]|(${a})`, "g");
1814
+ const n = Bo(l, o), a = n.map(([r]) => r).join("|"), c = new RegExp(`\\[([^\\]]+)\\]|(${a})`, "g");
1773
1815
  return s.replace(c, (r, i, u) => {
1774
1816
  if (i !== void 0)
1775
1817
  return i;
1776
1818
  const d = n.find(([p]) => p === u);
1777
1819
  return d ? d[1]() : r;
1778
1820
  });
1779
- }, To = (e, s = {}) => {
1821
+ }, zo = (e, s = {}) => {
1780
1822
  const { fromTimezone: t, toTimezone: o } = s;
1781
1823
  if (!e)
1782
1824
  return null;
1783
1825
  const l = e.replace(" ", "T");
1784
1826
  return t && o ? Temporal.PlainDateTime.from(l).toZonedDateTime(t).withTimeZone(o) : t ? Temporal.PlainDateTime.from(l).toZonedDateTime(t) : Temporal.PlainDateTime.from(l);
1785
- }, Lo = (e) => (s, t, o, l, n, a, c) => {
1827
+ }, jo = (e) => (s, t, o, l, n, a, c) => {
1786
1828
  t.innerHTML = "", t.classList.add("spark-table-cell-datetime");
1787
1829
  const r = c.rendererConfig || {}, {
1788
1830
  format: i = "DD MMM YYYY, HH:mm",
@@ -1796,22 +1838,22 @@ const ko = (e) => {
1796
1838
  return;
1797
1839
  }
1798
1840
  try {
1799
- const k = To(a, { fromTimezone: u, toTimezone: d });
1841
+ const k = zo(a, { fromTimezone: u, toTimezone: d });
1800
1842
  if (!k) {
1801
1843
  t.textContent = v;
1802
1844
  return;
1803
1845
  }
1804
- const $ = $o(k, i, { locale: p }), g = document.createElement("span");
1846
+ const $ = Do(k, i, { locale: p }), g = document.createElement("span");
1805
1847
  g.textContent = $, t.appendChild(g);
1806
1848
  } catch (k) {
1807
1849
  console.error("Error formatting datetime:", k, { value: a, format: i }), t.textContent = a;
1808
1850
  }
1809
- }, Po = /* @__PURE__ */ new Map(), U = (e, s) => {
1810
- Yt(e, (t, o, l, n, a, c, r) => {
1811
- Xt.apply(null, [t, o, l, n, a, c, r]), s(t, o, l, n, a, c, r);
1812
- }), Po.set(e, s);
1813
- }, Mo = (e) => {
1814
- U("spark.actions", uo(e)), U("spark.badge", po()), U("spark.boolean", mo()), U("spark.currency", go()), U("spark.link", yo()), U("spark.image", vo()), U("spark.date", bo()), U("spark.datetime", Lo()), U("style.capitalize", (s, t, o, l, n, a) => {
1851
+ }, Io = /* @__PURE__ */ new Map(), U = (e, s) => {
1852
+ ds(e, (t, o, l, n, a, c, r) => {
1853
+ ps.apply(null, [t, o, l, n, a, c, r]), s(t, o, l, n, a, c, r);
1854
+ }), Io.set(e, s);
1855
+ }, No = (e) => {
1856
+ U("spark.actions", So(e)), U("spark.badge", Co()), U("spark.boolean", To()), U("spark.currency", Lo()), U("spark.link", Mo()), U("spark.image", Ho()), U("spark.date", Vo()), U("spark.datetime", jo()), U("style.capitalize", (s, t, o, l, n, a) => {
1815
1857
  if (!a || a.length === 0) {
1816
1858
  t.innerText = "";
1817
1859
  return;
@@ -1819,12 +1861,12 @@ const ko = (e) => {
1819
1861
  const c = document.createElement("span");
1820
1862
  c.innerHTML = a, c.classList.add("capitalize"), t.replaceChildren(c);
1821
1863
  });
1822
- }, Ho = () => {
1823
- }, Vo = (e, s = {}) => {
1824
- const t = J(), o = ne(), l = s.namespace, n = l === null, a = s.syncToRoute !== !1, c = s.persistToStorage === !0, r = s.restoreOnMount !== !1, i = s.storageTTL || 7, u = n ? `spark-table:${o.path}` : `spark-table:${l}`, d = (y, S = "") => {
1864
+ }, Zo = () => {
1865
+ }, qo = (e, s = {}) => {
1866
+ const t = Q(), o = le(), l = s.namespace, n = l === null, a = s.syncToRoute !== !1, c = s.persistToStorage === !0, r = s.restoreOnMount !== !1, i = s.storageTTL || 7, u = n ? `spark-table:${o.path}` : `spark-table:${l}`, d = (y, S = "") => {
1825
1867
  const M = {};
1826
- return Object.keys(y).forEach((z) => {
1827
- const W = y[z], de = S ? `${S}[${z}]` : z;
1868
+ return Object.keys(y).forEach((D) => {
1869
+ const W = y[D], de = S ? `${S}[${D}]` : D;
1828
1870
  W != null && (typeof W == "object" && !Array.isArray(W) ? Object.assign(M, d(W, de)) : M[de] = String(W));
1829
1871
  }), M;
1830
1872
  }, p = () => {
@@ -1845,8 +1887,8 @@ const ko = (e) => {
1845
1887
  if (!y) return null;
1846
1888
  const S = JSON.parse(y);
1847
1889
  if (i > 0) {
1848
- const M = Date.now() - S.timestamp, z = i * 24 * 60 * 60 * 1e3;
1849
- if (M > z)
1890
+ const M = Date.now() - S.timestamp, D = i * 24 * 60 * 60 * 1e3;
1891
+ if (M > D)
1850
1892
  return localStorage.removeItem(u), null;
1851
1893
  }
1852
1894
  return S.params;
@@ -1878,8 +1920,8 @@ const ko = (e) => {
1878
1920
  t.replace({ query: y });
1879
1921
  }, g = (y) => !!(["page", "limit", "search", "orderBy", "sortedBy"].includes(y) || y.includes("[")), _ = (y, S) => {
1880
1922
  if (["page", "limit"].includes(y) && S !== null && S !== void 0) {
1881
- const z = parseInt(S, 10);
1882
- return isNaN(z) ? S : z;
1923
+ const D = parseInt(S, 10);
1924
+ return isNaN(D) ? S : D;
1883
1925
  }
1884
1926
  return S;
1885
1927
  }, w = () => {
@@ -1903,7 +1945,7 @@ const ko = (e) => {
1903
1945
  a && $(), c && p();
1904
1946
  },
1905
1947
  { deep: !0 }
1906
- ), r && xe(() => {
1948
+ ), r && _e(() => {
1907
1949
  let y = !1;
1908
1950
  if (a) {
1909
1951
  let S = !1;
@@ -1912,7 +1954,7 @@ const ko = (e) => {
1912
1954
  else {
1913
1955
  const M = `${l}[`;
1914
1956
  S = Object.keys(o.query).some(
1915
- (z) => z.startsWith(M)
1957
+ (D) => D.startsWith(M)
1916
1958
  );
1917
1959
  }
1918
1960
  S && (y = !0, w());
@@ -1930,7 +1972,7 @@ const ko = (e) => {
1930
1972
  loadFromStorage: v,
1931
1973
  clearStorage: k
1932
1974
  };
1933
- }, Ro = { class: "flex items-center gap-4 py-3" }, Eo = { class: "shrink-0" }, Bo = { class: "text-sm text-gray-700" }, Ao = { class: "font-medium" }, Fo = { class: "font-medium" }, Oo = { class: "font-medium" }, zo = {
1975
+ }, Uo = { class: "flex items-center gap-4 py-3" }, Ko = { class: "shrink-0" }, Go = { class: "text-sm text-gray-700" }, Wo = { class: "font-medium" }, Yo = { class: "font-medium" }, Xo = { class: "font-medium" }, Jo = {
1934
1976
  __name: "SparkTablePaginationDetails",
1935
1977
  props: {
1936
1978
  sparkTable: {
@@ -1941,28 +1983,28 @@ const ko = (e) => {
1941
1983
  setup(e) {
1942
1984
  const s = e;
1943
1985
  return (t, o) => (m(), h("div", null, [
1944
- f("div", Ro, [
1945
- f("div", Eo, [
1946
- f("div", Bo, [
1986
+ f("div", Uo, [
1987
+ f("div", Ko, [
1988
+ f("div", Go, [
1947
1989
  o[0] || (o[0] = E(" Showing ", -1)),
1948
- f("span", Ao, P(s.sparkTable.response.meta.from), 1),
1990
+ f("span", Wo, L(s.sparkTable.response.meta.from), 1),
1949
1991
  o[1] || (o[1] = E(" to ", -1)),
1950
- f("span", Fo, P(s.sparkTable.response.meta.to), 1),
1992
+ f("span", Yo, L(s.sparkTable.response.meta.to), 1),
1951
1993
  o[2] || (o[2] = E(" of ", -1)),
1952
- f("span", Oo, P(s.sparkTable.response.meta.total), 1),
1994
+ f("span", Xo, L(s.sparkTable.response.meta.total), 1),
1953
1995
  o[3] || (o[3] = E(" results ", -1))
1954
1996
  ])
1955
1997
  ])
1956
1998
  ])
1957
1999
  ]));
1958
2000
  }
1959
- }, Do = { class: "flex items-center gap-4 px-4 py-3" }, jo = {
2001
+ }, Qo = { class: "flex items-center gap-4 px-4 py-3" }, ea = {
1960
2002
  key: 0,
1961
2003
  class: "shrink-0 ml-auto"
1962
- }, Io = {
2004
+ }, ta = {
1963
2005
  class: "isolate inline-flex -space-x-px rounded-md shadow-xs bg-white",
1964
2006
  "aria-label": "Pagination"
1965
- }, No = ["onClick"], Zo = {
2007
+ }, sa = ["onClick"], oa = {
1966
2008
  __name: "SparkTablePaginationPaging",
1967
2009
  props: {
1968
2010
  sparkTable: {
@@ -1978,30 +2020,30 @@ const ko = (e) => {
1978
2020
  u < 1 || u > t.sparkTable.response.meta.last_page || o("paginate", {
1979
2021
  page: u
1980
2022
  });
1981
- }, a = C(() => t.sparkTable.params.page ? Math.ceil(t.sparkTable.params.page / 10) * 10 : 1), c = C(() => t.sparkTable.computed.ready ? jt(
2023
+ }, a = C(() => t.sparkTable.params.page ? Math.ceil(t.sparkTable.params.page / 10) * 10 : 1), c = C(() => t.sparkTable.computed.ready ? ss(
1982
2024
  Math.floor((a.value - 1) / 10) * 10 + 1,
1983
2025
  a.value > t.sparkTable.response.meta.last_page ? t.sparkTable.response.meta.last_page + 1 : a.value + 1
1984
2026
  ) : []), r = C(
1985
2027
  () => t.sparkTable.params.page < Y(t.sparkTable.response.meta, "last_page", 1)
1986
2028
  ), i = C(() => t.sparkTable.params.page > 1);
1987
2029
  return (u, d) => {
1988
- const p = A("font-awesome-icon");
2030
+ const p = O("font-awesome-icon");
1989
2031
  return m(), h("div", null, [
1990
- f("div", Do, [
1991
- c.value.length > 1 ? (m(), h("div", jo, [
2032
+ f("div", Qo, [
2033
+ c.value.length > 1 ? (m(), h("div", ea, [
1992
2034
  f("div", null, [
1993
- f("nav", Io, [
2035
+ f("nav", ta, [
1994
2036
  f("a", {
1995
2037
  class: H([i.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"]),
1996
2038
  href: "#",
1997
- onClick: d[0] || (d[0] = Q((v) => l(-1), ["prevent"]))
2039
+ onClick: d[0] || (d[0] = ee((v) => l(-1), ["prevent"]))
1998
2040
  }, [
1999
2041
  b(p, {
2000
- icon: x(F).farChevronLeft,
2042
+ icon: x(A).farChevronLeft,
2001
2043
  class: "size-5"
2002
2044
  }, null, 8, ["icon"])
2003
2045
  ], 2),
2004
- (m(!0), h(R, null, D(c.value, (v) => (m(), h("a", {
2046
+ (m(!0), h(R, null, z(c.value, (v) => (m(), h("a", {
2005
2047
  key: `page-${v}`,
2006
2048
  href: "#",
2007
2049
  class: H([
@@ -2009,30 +2051,30 @@ const ko = (e) => {
2009
2051
  e.sparkTable.params.page === v ? "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"
2010
2052
  ]),
2011
2053
  onClick: (k) => n(v)
2012
- }, P(v), 11, No))), 128)),
2054
+ }, L(v), 11, sa))), 128)),
2013
2055
  f("a", {
2014
2056
  class: H([r.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"]),
2015
- onClick: d[1] || (d[1] = Q((v) => l(1), ["prevent"])),
2057
+ onClick: d[1] || (d[1] = ee((v) => l(1), ["prevent"])),
2016
2058
  href: "#"
2017
2059
  }, [
2018
2060
  b(p, {
2019
- icon: x(F).farChevronRight,
2061
+ icon: x(A).farChevronRight,
2020
2062
  class: "size-5"
2021
2063
  }, null, 8, ["icon"])
2022
2064
  ], 2)
2023
2065
  ])
2024
2066
  ])
2025
- ])) : L("", !0)
2067
+ ])) : P("", !0)
2026
2068
  ])
2027
2069
  ]);
2028
2070
  };
2029
2071
  }
2030
- }, ee = (e, s) => {
2072
+ }, te = (e, s) => {
2031
2073
  const t = e.__vccOpts || e;
2032
2074
  for (const [o, l] of s)
2033
2075
  t[o] = l;
2034
2076
  return t;
2035
- }, qo = { class: "spark-table-pagination-per-page" }, Uo = {
2077
+ }, aa = { class: "spark-table-pagination-per-page" }, ra = {
2036
2078
  __name: "SparkTablePaginationPerPage",
2037
2079
  props: {
2038
2080
  sparkTable: {
@@ -2052,8 +2094,8 @@ const ko = (e) => {
2052
2094
  });
2053
2095
  };
2054
2096
  return (a, c) => {
2055
- const r = A("FormKit");
2056
- return m(), h("div", qo, [
2097
+ const r = O("FormKit");
2098
+ return m(), h("div", aa, [
2057
2099
  b(r, {
2058
2100
  "model-value": e.sparkTable.params.limit,
2059
2101
  type: "select",
@@ -2066,7 +2108,7 @@ const ko = (e) => {
2066
2108
  ]);
2067
2109
  };
2068
2110
  }
2069
- }, Ko = /* @__PURE__ */ ee(Uo, [["__scopeId", "data-v-9ef8544b"]]), Pe = {
2111
+ }, na = /* @__PURE__ */ te(ra, [["__scopeId", "data-v-9ef8544b"]]), Ve = {
2070
2112
  __name: "SparkTableToolbar",
2071
2113
  props: {
2072
2114
  position: {
@@ -2076,7 +2118,7 @@ const ko = (e) => {
2076
2118
  }
2077
2119
  },
2078
2120
  setup(e) {
2079
- const s = e, t = Ee(), o = C(() => !!t.default), l = C(() => {
2121
+ const s = e, t = Oe(), o = C(() => !!t.default), l = C(() => {
2080
2122
  const n = "spark-table-toolbar flex flex-wrap items-center gap-x-5 w-full";
2081
2123
  return s.position === "footer" ? `${n} spark-table-toolbar-footer justify-between` : `${n} spark-table-toolbar-header gap-y-5 py-5`;
2082
2124
  });
@@ -2084,10 +2126,10 @@ const ko = (e) => {
2084
2126
  key: 0,
2085
2127
  class: H(l.value)
2086
2128
  }, [
2087
- O(n.$slots, "default")
2088
- ], 2)) : L("", !0);
2129
+ B(n.$slots, "default")
2130
+ ], 2)) : P("", !0);
2089
2131
  }
2090
- }, Go = { class: "spark-table-search" }, Wo = {
2132
+ }, la = { class: "spark-table-search" }, ia = {
2091
2133
  __name: "SparkTableSearch",
2092
2134
  props: {
2093
2135
  /** SparkTable instance object */
@@ -2106,11 +2148,11 @@ const ko = (e) => {
2106
2148
  }
2107
2149
  },
2108
2150
  setup(e) {
2109
- const s = e, t = B(""), o = s.config.param || "search";
2151
+ const s = e, t = F(""), o = s.config.param || "search";
2110
2152
  s.sparkTable.params[o] ? t.value = s.sparkTable.params[o] : s.config.initialValue && (t.value = s.config.initialValue, s.sparkTable.methods.applyParams({
2111
2153
  [o]: s.config.initialValue
2112
2154
  }));
2113
- const l = ze((a) => {
2155
+ const l = ot((a) => {
2114
2156
  a ? s.sparkTable.methods.applyParams({
2115
2157
  page: 1,
2116
2158
  [o]: a
@@ -2126,8 +2168,8 @@ const ko = (e) => {
2126
2168
  a && a !== t.value ? t.value = a : !a && t.value && (t.value = "");
2127
2169
  }
2128
2170
  ), (a, c) => {
2129
- const r = A("FormKit");
2130
- return m(), h("div", Go, [
2171
+ const r = O("FormKit");
2172
+ return m(), h("div", la, [
2131
2173
  b(r, Z({
2132
2174
  modelValue: t.value,
2133
2175
  "onUpdate:modelValue": c[0] || (c[0] = (i) => t.value = i),
@@ -2141,7 +2183,7 @@ const ko = (e) => {
2141
2183
  ]);
2142
2184
  };
2143
2185
  }
2144
- }, Yo = /* @__PURE__ */ ee(Wo, [["__scopeId", "data-v-976170dc"]]), Xo = { class: "spark-table-filter-select" }, Jo = {
2186
+ }, ca = /* @__PURE__ */ te(ia, [["__scopeId", "data-v-976170dc"]]), ua = { class: "spark-table-filter-select" }, da = {
2145
2187
  __name: "SparkTableFilterSelect",
2146
2188
  props: {
2147
2189
  /** SparkTable instance object */
@@ -2157,7 +2199,7 @@ const ko = (e) => {
2157
2199
  }
2158
2200
  },
2159
2201
  setup(e) {
2160
- const s = e, t = B(""), o = s.config.param || `filter[${s.config.key}]`;
2202
+ const s = e, t = F(""), o = s.config.param || `filter[${s.config.key}]`;
2161
2203
  s.sparkTable.params[o] ? t.value = s.sparkTable.params[o] : s.config.initialValue !== void 0 && s.config.initialValue !== null && (t.value = s.config.initialValue, s.sparkTable.methods.applyParams({
2162
2204
  [o]: s.config.initialValue
2163
2205
  }));
@@ -2176,8 +2218,8 @@ const ko = (e) => {
2176
2218
  a != null && a !== "" ? t.value !== a && (t.value = a) : t.value && (t.value = "");
2177
2219
  }
2178
2220
  ), (a, c) => {
2179
- const r = A("FormKit");
2180
- return m(), h("div", Xo, [
2221
+ const r = O("FormKit");
2222
+ return m(), h("div", ua, [
2181
2223
  b(r, Z({
2182
2224
  modelValue: t.value,
2183
2225
  "onUpdate:modelValue": c[0] || (c[0] = (i) => t.value = i),
@@ -2191,10 +2233,10 @@ const ko = (e) => {
2191
2233
  ]);
2192
2234
  };
2193
2235
  }
2194
- }, Qo = /* @__PURE__ */ ee(Jo, [["__scopeId", "data-v-642dbc69"]]), ea = { class: "spark-table-filter-buttons" }, ta = {
2236
+ }, pa = /* @__PURE__ */ te(da, [["__scopeId", "data-v-642dbc69"]]), fa = { class: "spark-table-filter-buttons" }, ma = {
2195
2237
  key: 0,
2196
2238
  class: "spark-table-filter-buttons-label"
2197
- }, sa = {
2239
+ }, ha = {
2198
2240
  __name: "SparkTableFilterButtons",
2199
2241
  props: {
2200
2242
  /** SparkTable instance object */
@@ -2210,7 +2252,7 @@ const ko = (e) => {
2210
2252
  }
2211
2253
  },
2212
2254
  setup(e) {
2213
- const s = e, t = B(null), o = s.config.label || null, l = s.config.param || `filter[${s.config.key}]`;
2255
+ const s = e, t = F(null), o = s.config.label || null, l = s.config.param || `filter[${s.config.key}]`;
2214
2256
  s.sparkTable.params[l] !== void 0 ? t.value = s.sparkTable.params[l] : s.config.initialValue !== void 0 && (t.value = s.config.initialValue, s.config.initialValue !== null && s.sparkTable.methods.applyParams({
2215
2257
  [l]: s.config.initialValue
2216
2258
  }));
@@ -2225,11 +2267,11 @@ const ko = (e) => {
2225
2267
  (c) => {
2226
2268
  (c == null || c === "") && t.value ? t.value = null : c !== t.value && (t.value = c);
2227
2269
  }
2228
- ), (c, r) => (m(), h("div", ea, [
2229
- x(o) ? (m(), h("span", ta, P(x(o)), 1)) : L("", !0),
2230
- b(Us, { class: "isolate" }, {
2270
+ ), (c, r) => (m(), h("div", fa, [
2271
+ x(o) ? (m(), h("span", ma, L(x(o)), 1)) : P("", !0),
2272
+ b(ro, { class: "isolate" }, {
2231
2273
  default: T(() => [
2232
- (m(!0), h(R, null, D(e.config.options, (i) => (m(), V(G, {
2274
+ (m(!0), h(R, null, z(e.config.options, (i) => (m(), V(G, {
2233
2275
  key: i.value,
2234
2276
  size: "xl",
2235
2277
  "button-class": "px-3.5",
@@ -2237,7 +2279,7 @@ const ko = (e) => {
2237
2279
  onClick: (u) => a(i.value)
2238
2280
  }, {
2239
2281
  default: T(() => [
2240
- E(P(i.label), 1)
2282
+ E(L(i.label), 1)
2241
2283
  ]),
2242
2284
  _: 2
2243
2285
  }, 1032, ["variant", "onClick"]))), 128))
@@ -2246,7 +2288,7 @@ const ko = (e) => {
2246
2288
  })
2247
2289
  ]));
2248
2290
  }
2249
- }, oa = /* @__PURE__ */ ee(sa, [["__scopeId", "data-v-01a49899"]]), aa = { class: "spark-table-date-picker" }, ra = {
2291
+ }, ga = /* @__PURE__ */ te(ha, [["__scopeId", "data-v-01a49899"]]), ya = { class: "spark-table-date-picker" }, va = {
2250
2292
  __name: "SparkTableDatePicker",
2251
2293
  props: {
2252
2294
  /** SparkTable instance object */
@@ -2262,7 +2304,7 @@ const ko = (e) => {
2262
2304
  }
2263
2305
  },
2264
2306
  setup(e) {
2265
- const s = e, t = B(null), o = s.config.label || null, l = s.config.param || `filter[${s.config.key}]`, n = B(`${l}-0`);
2307
+ const s = e, t = F(null), o = s.config.label || null, l = s.config.param || `filter[${s.config.key}]`, n = F(`${l}-0`);
2266
2308
  return s.sparkTable.params[l] ? t.value = s.sparkTable.params[l] : s.config.initialValue ? (t.value = s.config.initialValue, s.sparkTable.methods.applyParams({
2267
2309
  [l]: s.config.initialValue
2268
2310
  })) : t.value = null, I(t, (a) => {
@@ -2280,8 +2322,8 @@ const ko = (e) => {
2280
2322
  } else a && a !== t.value && (t.value = a);
2281
2323
  }
2282
2324
  ), (a, c) => {
2283
- const r = A("FormKit");
2284
- return m(), h("div", aa, [
2325
+ const r = O("FormKit");
2326
+ return m(), h("div", ya, [
2285
2327
  (m(), V(r, Z({
2286
2328
  key: n.value,
2287
2329
  modelValue: t.value,
@@ -2299,7 +2341,7 @@ const ko = (e) => {
2299
2341
  ]);
2300
2342
  };
2301
2343
  }
2302
- }, na = /* @__PURE__ */ ee(ra, [["__scopeId", "data-v-44ef9cb8"]]), la = { class: "spark-table-reset" }, ia = { key: 1 }, ca = {
2344
+ }, ba = /* @__PURE__ */ te(va, [["__scopeId", "data-v-44ef9cb8"]]), xa = { class: "spark-table-reset" }, ka = { key: 1 }, wa = {
2303
2345
  __name: "SparkTableReset",
2304
2346
  props: {
2305
2347
  /** SparkTable instance object */
@@ -2336,8 +2378,8 @@ const ko = (e) => {
2336
2378
  s.sparkTable.methods.applyParams({ ...r, page: 1 });
2337
2379
  };
2338
2380
  return (o, l) => {
2339
- const n = A("font-awesome-icon");
2340
- return m(), h("div", la, [
2381
+ const n = O("font-awesome-icon");
2382
+ return m(), h("div", xa, [
2341
2383
  b(G, {
2342
2384
  onClick: t,
2343
2385
  variant: "secondary",
@@ -2349,27 +2391,27 @@ const ko = (e) => {
2349
2391
  key: 0,
2350
2392
  icon: ["far", e.config.icon],
2351
2393
  class: H({ "mr-1.5": e.config.label })
2352
- }, null, 8, ["icon", "class"])) : L("", !0),
2353
- e.config.label ? (m(), h("span", ia, P(e.config.label), 1)) : L("", !0)
2394
+ }, null, 8, ["icon", "class"])) : P("", !0),
2395
+ e.config.label ? (m(), h("span", ka, L(e.config.label), 1)) : P("", !0)
2354
2396
  ]),
2355
2397
  _: 1
2356
2398
  })
2357
2399
  ]);
2358
2400
  };
2359
2401
  }
2360
- }, ua = /* @__PURE__ */ ee(ca, [["__scopeId", "data-v-0894e3bf"]]), da = { class: "spark-table" }, pa = {
2402
+ }, _a = /* @__PURE__ */ te(wa, [["__scopeId", "data-v-0894e3bf"]]), Sa = { class: "spark-table" }, Ca = {
2361
2403
  key: 1,
2362
2404
  class: "pt-5"
2363
- }, fa = {
2405
+ }, $a = {
2364
2406
  key: 2,
2365
2407
  class: "flex flex-col items-center justify-center py-16 text-gray-500 rounded-md border border-gray-300 bg-white"
2366
- }, ma = { class: "flex items-center gap-x-3 ml-auto" }, be = {
2408
+ }, Ta = { class: "flex items-center gap-x-3 ml-auto" }, we = {
2367
2409
  perPages: [15, 30, 50, 100, 200, 500],
2368
2410
  limit: 15
2369
- }, ha = {
2411
+ }, Pa = {
2370
2412
  page: 1,
2371
- limit: be.limit
2372
- }, Me = {
2413
+ limit: we.limit
2414
+ }, Re = {
2373
2415
  colHeaders: !0,
2374
2416
  filters: !1,
2375
2417
  stretchH: "all",
@@ -2379,7 +2421,7 @@ const ko = (e) => {
2379
2421
  tableClassName: "spark-table-table",
2380
2422
  readOnlyCellClassName: "read-only",
2381
2423
  licenseKey: "non-commercial-and-evaluation"
2382
- }, gn = {
2424
+ }, Rn = {
2383
2425
  __name: "SparkTable",
2384
2426
  props: {
2385
2427
  url: {
@@ -2403,19 +2445,19 @@ const ko = (e) => {
2403
2445
  params: {
2404
2446
  type: Object,
2405
2447
  default() {
2406
- return ha;
2448
+ return Pa;
2407
2449
  }
2408
2450
  },
2409
2451
  options: {
2410
2452
  type: Object,
2411
2453
  default() {
2412
- return be;
2454
+ return we;
2413
2455
  }
2414
2456
  },
2415
2457
  settings: {
2416
2458
  type: Object,
2417
2459
  default() {
2418
- return Me;
2460
+ return Re;
2419
2461
  }
2420
2462
  },
2421
2463
  plugins: {
@@ -2444,15 +2486,15 @@ const ko = (e) => {
2444
2486
  ],
2445
2487
  setup(e, { expose: s, emit: t }) {
2446
2488
  const o = e;
2447
- Wt(), pe(qt), pe(Ut), pe(Kt), Y(o, "settings.nestedHeaders") && pe(Gt);
2448
- const l = t, n = Ve("axios"), a = B(null), c = B(!1), r = B(null);
2489
+ us(), pe(ns), pe(ls), pe(is), Y(o, "settings.nestedHeaders") && pe(cs);
2490
+ const l = t, n = Ee("axios"), a = F(null), c = F(!1), r = F(null);
2449
2491
  let i = !1;
2450
2492
  const u = {
2451
- search: Yo,
2452
- filterSelect: Qo,
2453
- filterButtons: oa,
2454
- datePicker: na,
2455
- reset: ua
2493
+ search: ca,
2494
+ filterSelect: pa,
2495
+ filterButtons: ga,
2496
+ datePicker: ba,
2497
+ reset: _a
2456
2498
  }, d = q({
2457
2499
  hotInstance: null,
2458
2500
  url: C(() => o.url),
@@ -2509,7 +2551,7 @@ const ko = (e) => {
2509
2551
  fireEvent: (g, _) => {
2510
2552
  l(g, _);
2511
2553
  },
2512
- getSettingsForProp: (g) => It(Y(d.tableSettings, "columns"), { data: g }),
2554
+ getSettingsForProp: (g) => os(Y(d.tableSettings, "columns"), { data: g }),
2513
2555
  // Helper methods for easier param access
2514
2556
  getParams: () => d.computed.params,
2515
2557
  getParam: (g) => d.computed.params[g],
@@ -2528,20 +2570,20 @@ const ko = (e) => {
2528
2570
  ...o.params,
2529
2571
  ...d.params
2530
2572
  })),
2531
- ready: C(() => Nt(d, "response.meta.last_page"))
2573
+ ready: C(() => as(d, "response.meta.last_page"))
2532
2574
  },
2533
2575
  options: C(() => ({
2534
- ...be,
2576
+ ...we,
2535
2577
  ...o.options
2536
2578
  })),
2537
2579
  tableSettings: C(() => ({
2538
- ...Me,
2580
+ ...Re,
2539
2581
  nestedHeaders: Y(o.settings, "nestedHeaders", []),
2540
2582
  ...!Y(o.settings, "nestedHeaders") && {
2541
- afterGetColHeader: (g, _) => io(g, _, d)
2583
+ afterGetColHeader: (g, _) => wo(g, _, d)
2542
2584
  },
2543
- afterChange: (g, _) => Ho(),
2544
- afterRender: () => co(d),
2585
+ afterChange: (g, _) => Zo(),
2586
+ afterRender: () => _o(d),
2545
2587
  /**
2546
2588
  * Prevent columns with explicit width from being stretched
2547
2589
  * This hook fires BEFORE stretchH is applied, allowing us to cap specific columns
@@ -2560,10 +2602,10 @@ const ko = (e) => {
2560
2602
  w && _.forEach((y) => {
2561
2603
  for (let S = y.startRow; S <= y.endRow; S++)
2562
2604
  for (let M = y.startCol; M <= y.endCol; M++) {
2563
- const z = w.getCell(S, M);
2564
- if (z) {
2605
+ const D = w.getCell(S, M);
2606
+ if (D) {
2565
2607
  const W = S - _[0].startRow, de = M - _[0].startCol;
2566
- g[W][de] = z.dataset.copyValue ?? z.textContent ?? "";
2608
+ g[W][de] = D.dataset.copyValue ?? D.textContent ?? "";
2567
2609
  }
2568
2610
  }
2569
2611
  });
@@ -2601,19 +2643,19 @@ const ko = (e) => {
2601
2643
  { deep: !0, flush: "sync" }
2602
2644
  ), o.syncToRoute || o.persistToStorage) {
2603
2645
  const g = typeof o.syncToRoute == "string";
2604
- Vo(d, {
2646
+ qo(d, {
2605
2647
  namespace: g ? o.syncToRoute : null,
2606
2648
  syncToRoute: !!o.syncToRoute,
2607
2649
  persistToStorage: o.persistToStorage
2608
2650
  });
2609
2651
  }
2610
- return we(
2652
+ return Ce(
2611
2653
  () => o.params,
2612
2654
  async () => {
2613
2655
  d.params.page = 1, await d.methods.loadTable();
2614
2656
  },
2615
2657
  { debounce: 50, maxWait: 1e3 }
2616
- ), we(
2658
+ ), Ce(
2617
2659
  () => d.params,
2618
2660
  async () => {
2619
2661
  await d.methods.loadTable();
@@ -2624,11 +2666,11 @@ const ko = (e) => {
2624
2666
  async (g, _) => {
2625
2667
  g !== _ && (d.params.page = 1, await d.methods.loadTable());
2626
2668
  }
2627
- ), xe(async () => {
2669
+ ), _e(async () => {
2628
2670
  await d.methods.loadTable(), l("ready");
2629
- }), Ye(() => {
2671
+ }), mt(() => {
2630
2672
  i = !0;
2631
- }), Mo(d), s({
2673
+ }), No(d), s({
2632
2674
  refresh: () => d.methods.loadTable(),
2633
2675
  getParams: () => d.methods.getParams(),
2634
2676
  getParam: (g) => d.methods.getParam(g),
@@ -2641,62 +2683,62 @@ const ko = (e) => {
2641
2683
  sparkTable: d,
2642
2684
  table: a
2643
2685
  }), (g, _) => {
2644
- const w = A("font-awesome-icon");
2645
- return m(), h("div", da, [
2646
- d.computed.ready && $.value && $.value.length ? (m(), V(Pe, {
2686
+ const w = O("font-awesome-icon");
2687
+ return m(), h("div", Sa, [
2688
+ d.computed.ready && $.value && $.value.length ? (m(), V(Ve, {
2647
2689
  key: 0,
2648
2690
  position: "header"
2649
2691
  }, {
2650
2692
  default: T(() => [
2651
- (m(!0), h(R, null, D($.value, (y) => (m(), V(N(u[y.config.type]), {
2693
+ (m(!0), h(R, null, z($.value, (y) => (m(), V(N(u[y.config.type]), {
2652
2694
  key: y.name,
2653
2695
  class: H(y.config.align ? `self-${y.config.align}` : ""),
2654
2696
  "spark-table": d,
2655
2697
  config: y.config
2656
2698
  }, null, 8, ["class", "spark-table", "config"]))), 128)),
2657
- O(g.$slots, "header", {
2699
+ B(g.$slots, "header", {
2658
2700
  sparkTable: d,
2659
2701
  loading: c.value,
2660
2702
  error: r.value
2661
2703
  })
2662
2704
  ]),
2663
2705
  _: 3
2664
- })) : (m(), h("div", pa)),
2665
- Xe(b(x(Zt), {
2706
+ })) : (m(), h("div", Ca)),
2707
+ ht(b(x(rs), {
2666
2708
  "theme-name": "ht-theme-classic",
2667
2709
  ref_key: "table",
2668
2710
  ref: a,
2669
2711
  settings: d.tableSettings
2670
2712
  }, null, 8, ["settings"]), [
2671
- [Je, !p.value]
2713
+ [gt, !p.value]
2672
2714
  ]),
2673
- p.value ? (m(), h("div", fa, [
2715
+ p.value ? (m(), h("div", $a, [
2674
2716
  b(w, {
2675
- icon: x(F).farInbox,
2717
+ icon: x(A).farInbox,
2676
2718
  class: "size-12 mb-4 text-gray-300"
2677
2719
  }, null, 8, ["icon"]),
2678
2720
  _[0] || (_[0] = f("p", { class: "text-sm" }, "No records found", -1))
2679
- ])) : L("", !0),
2680
- d.computed.ready ? (m(), V(Pe, {
2721
+ ])) : P("", !0),
2722
+ d.computed.ready ? (m(), V(Ve, {
2681
2723
  key: 3,
2682
2724
  position: "footer"
2683
2725
  }, {
2684
2726
  default: T(() => [
2685
- p.value ? L("", !0) : (m(), V(zo, {
2727
+ p.value ? P("", !0) : (m(), V(Jo, {
2686
2728
  key: 0,
2687
2729
  "spark-table": d
2688
2730
  }, null, 8, ["spark-table"])),
2689
- f("div", ma, [
2690
- p.value ? L("", !0) : (m(), V(Zo, {
2731
+ f("div", Ta, [
2732
+ p.value ? P("", !0) : (m(), V(oa, {
2691
2733
  key: 0,
2692
2734
  "spark-table": d,
2693
2735
  onPaginate: d.methods.applyParams
2694
2736
  }, null, 8, ["spark-table", "onPaginate"])),
2695
- b(Ko, {
2737
+ b(na, {
2696
2738
  "spark-table": d,
2697
2739
  onPaginate: d.methods.applyParams
2698
2740
  }, null, 8, ["spark-table", "onPaginate"]),
2699
- O(g.$slots, "footer", {
2741
+ B(g.$slots, "footer", {
2700
2742
  sparkTable: d,
2701
2743
  loading: c.value,
2702
2744
  error: r.value
@@ -2704,12 +2746,12 @@ const ko = (e) => {
2704
2746
  ])
2705
2747
  ]),
2706
2748
  _: 3
2707
- })) : L("", !0)
2749
+ })) : P("", !0)
2708
2750
  ]);
2709
2751
  };
2710
2752
  }
2711
2753
  };
2712
- function He() {
2754
+ function Ae() {
2713
2755
  const e = q({
2714
2756
  isVisible: !1,
2715
2757
  content: null,
@@ -2736,9 +2778,9 @@ function He() {
2736
2778
  }
2737
2779
  };
2738
2780
  }
2739
- class ga {
2781
+ class La {
2740
2782
  constructor() {
2741
- this.left = He(), this.right = He();
2783
+ this.left = Ae(), this.right = Ae();
2742
2784
  }
2743
2785
  showLeft = (s, t = {}, o = {}, l = {}) => {
2744
2786
  const n = {
@@ -2768,22 +2810,22 @@ class ga {
2768
2810
  this.left.close(), this.right.close();
2769
2811
  };
2770
2812
  }
2771
- const te = new ga(), ya = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va = { class: "flex flex-1 flex-col" }, ba = {
2813
+ const se = new La(), Ma = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Ha = { class: "flex flex-1 flex-col" }, Va = {
2772
2814
  class: "flex flex-1 flex-col gap-y-7",
2773
2815
  role: "list"
2774
- }, xa = { class: "flex flex-1 flex-col" }, ka = {
2816
+ }, Ra = { class: "flex flex-1 flex-col" }, Aa = {
2775
2817
  role: "list",
2776
2818
  class: "flex flex-1 flex-col"
2777
- }, wa = { class: "flex items-center pb-8" }, _a = ["href", "onClick"], Sa = {
2819
+ }, Ea = { class: "flex items-center pb-8" }, Fa = ["href", "onClick"], Oa = {
2778
2820
  key: 2,
2779
2821
  class: "w-full flex justify-center"
2780
- }, Ca = {
2822
+ }, Ba = {
2781
2823
  key: 0,
2782
2824
  class: "mt-[5px] flex flex-col gap-[5px]"
2783
- }, $a = ["href", "onClick"], Ta = {
2825
+ }, Da = ["href", "onClick"], za = {
2784
2826
  key: 1,
2785
2827
  class: "text-[13px]"
2786
- }, La = { class: "mt-auto" }, Pa = { class: "p-[10px] flex-shrink-0" }, Ma = { class: "flex flex-1 items-center gap-x-6" }, Ha = { class: "relative flex flex-1 items-center gap-4" }, Va = { class: "cursor-pointer" }, Ra = ["src"], Ea = { class: "ml-auto" }, Ba = { class: "mr-[10px] pb-[10px] flex-1 flex flex-col" }, yn = {
2828
+ }, ja = { class: "mt-auto" }, Ia = { class: "p-[10px] flex-shrink-0" }, Na = { class: "flex flex-1 items-center gap-x-6" }, Za = { class: "relative flex flex-1 items-center gap-4" }, qa = { class: "cursor-pointer" }, Ua = ["src"], Ka = { class: "ml-auto" }, Ga = { class: "mr-[10px] pb-[10px] flex-1 flex flex-col" }, An = {
2787
2829
  __name: "SparkDefaultContainer",
2788
2830
  props: {
2789
2831
  appStore: {
@@ -2801,52 +2843,52 @@ const te = new ga(), ya = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
2801
2843
  },
2802
2844
  emits: ["overlayClose"],
2803
2845
  setup(e, { emit: s }) {
2804
- const t = e, o = s, l = Ee(), n = ne(), a = Ne(), c = De(), r = C(() => c.getAppIcon(t.appStore.state.app)), i = C(() => n.meta.hideBrandSelector === !0 ? !1 : t.appStore.state.showBrandSelector), u = () => {
2846
+ const t = e, o = s, l = Oe(), n = le(), a = lt(), c = at(), r = C(() => c.getAppIcon(t.appStore.state.app)), i = C(() => n.meta.hideBrandSelector === !0 ? !1 : t.appStore.state.showBrandSelector), u = () => {
2805
2847
  const k = {};
2806
- l["app-selector-bottom"] ? k.bottomSlot = () => ke("div", {}, l["app-selector-bottom"]()) : t.appSelectorSlots.bottomSlot && (k.bottomSlot = t.appSelectorSlots.bottomSlot), l["app-selector-footer"] ? k.footerSlot = () => ke("div", {}, l["app-selector-footer"]()) : t.appSelectorSlots.footerSlot && (k.footerSlot = t.appSelectorSlots.footerSlot), te.showRight(ks, k, {
2848
+ l["app-selector-bottom"] ? k.bottomSlot = () => Se("div", {}, l["app-selector-bottom"]()) : t.appSelectorSlots.bottomSlot && (k.bottomSlot = t.appSelectorSlots.bottomSlot), l["app-selector-footer"] ? k.footerSlot = () => Se("div", {}, l["app-selector-footer"]()) : t.appSelectorSlots.footerSlot && (k.footerSlot = t.appSelectorSlots.footerSlot), se.showRight(As, k, {
2807
2849
  select: ($) => {
2808
- te.closeRight();
2850
+ se.closeRight();
2809
2851
  }
2810
2852
  });
2811
2853
  }, d = () => {
2812
- te.showLeft(
2813
- Zs,
2854
+ se.showLeft(
2855
+ oo,
2814
2856
  {},
2815
2857
  {
2816
2858
  select: (k) => {
2817
- a.toggleBrand(k), te.closeLeft();
2859
+ a.toggleBrand(k), se.closeLeft();
2818
2860
  }
2819
2861
  }
2820
2862
  );
2821
2863
  }, p = C(() => t.mainNavStore.state.hidden ? ["w-0 overflow-hidden"] : [t.mainNavStore.state.collapsed ? "w-[80px]" : "w-[240px]"]), v = C(() => t.mainNavStore.state.hidden ? ["pl-2.5"] : [t.mainNavStore.state.collapsed ? "pl-[80px]" : "pl-[240px]"]);
2822
2864
  return (k, $) => {
2823
- const g = A("font-awesome-icon"), _ = A("router-view");
2865
+ const g = O("font-awesome-icon"), _ = O("router-view");
2824
2866
  return m(), h(R, null, [
2825
2867
  f("div", {
2826
2868
  class: H([p.value, "fixed inset-y-0 flex transition-all z-100"])
2827
2869
  }, [
2828
- f("div", ya, [
2829
- f("nav", va, [
2830
- f("ul", ba, [
2831
- f("li", xa, [
2832
- f("ul", ka, [
2833
- f("li", wa, [
2870
+ f("div", Ma, [
2871
+ f("nav", Ha, [
2872
+ f("ul", Va, [
2873
+ f("li", Ra, [
2874
+ f("ul", Aa, [
2875
+ f("li", Ea, [
2834
2876
  f("a", {
2835
2877
  class: "grid w-[40px] h-[40px] place-items-center rounded-md bg-primary-600 text-white text-[13px] cursor-pointer",
2836
- onClick: $[0] || ($[0] = Q((w) => e.mainNavStore.goto(e.appStore.state.homeRoute), ["prevent"]))
2878
+ onClick: $[0] || ($[0] = ee((w) => e.mainNavStore.goto(e.appStore.state.homeRoute), ["prevent"]))
2837
2879
  }, [
2838
2880
  b(g, {
2839
- icon: x(F)[r.value],
2881
+ icon: x(A)[r.value],
2840
2882
  class: "size-5"
2841
2883
  }, null, 8, ["icon"])
2842
2884
  ]),
2843
- e.mainNavStore.state.collapsed ? L("", !0) : (m(), h("a", {
2885
+ e.mainNavStore.state.collapsed ? P("", !0) : (m(), h("a", {
2844
2886
  key: 0,
2845
- onClick: $[1] || ($[1] = Q((w) => e.mainNavStore.goto(e.appStore.state.homeRoute), ["prevent"])),
2887
+ onClick: $[1] || ($[1] = ee((w) => e.mainNavStore.goto(e.appStore.state.homeRoute), ["prevent"])),
2846
2888
  class: "font-medium text-gray-800 ml-[10px] cursor-pointer"
2847
- }, P(e.appStore.state.app), 1))
2889
+ }, L(e.appStore.state.app), 1))
2848
2890
  ]),
2849
- (m(!0), h(R, null, D(e.mainNavStore.state.menu, (w) => (m(), h("li", {
2891
+ (m(!0), h(R, null, z(e.mainNavStore.state.menu, (w) => (m(), h("li", {
2850
2892
  key: w.name,
2851
2893
  class: H({
2852
2894
  "mt-[10px]": w.children,
@@ -2859,16 +2901,16 @@ const te = new ga(), ya = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
2859
2901
  "hover:bg-gray-100": w?.href
2860
2902
  }, "h-[37px] sgroup flex items-center gap-x-2 rounded-md p-3 text-gray-800 leading-5 transition-all duration-300 ease-in-out"]),
2861
2903
  href: w?.href,
2862
- onClick: Q((y) => e.mainNavStore.goto(w.href), ["prevent"])
2904
+ onClick: ee((y) => e.mainNavStore.goto(w.href), ["prevent"])
2863
2905
  }, [
2864
2906
  w.icon ? (m(), V(g, {
2865
2907
  key: 0,
2866
- icon: x(F)[w.icon],
2908
+ icon: x(A)[w.icon],
2867
2909
  class: H([[(w.current, "text-gray-400")], "size-4"])
2868
- }, null, 8, ["icon", "class"])) : L("", !0),
2869
- e.mainNavStore.state.collapsed ? w?.children ? (m(), h("div", Sa, [...$[6] || ($[6] = [
2910
+ }, null, 8, ["icon", "class"])) : P("", !0),
2911
+ e.mainNavStore.state.collapsed ? w?.children ? (m(), h("div", Oa, [...$[6] || ($[6] = [
2870
2912
  f("div", { class: "w-[10px] h-px bg-gray-400" }, null, -1)
2871
- ])])) : L("", !0) : (m(), h("span", {
2913
+ ])])) : P("", !0) : (m(), h("span", {
2872
2914
  key: 1,
2873
2915
  class: H({
2874
2916
  "text-[11px]": w?.children,
@@ -2876,38 +2918,38 @@ const te = new ga(), ya = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
2876
2918
  "font-semibold": w?.children,
2877
2919
  "text-gray-500": w?.children
2878
2920
  })
2879
- }, P(w.name), 3))
2880
- ], 10, _a),
2881
- w.children ? (m(), h("ul", Ca, [
2882
- (m(!0), h(R, null, D(w.children, (y) => (m(), h("li", {
2921
+ }, L(w.name), 3))
2922
+ ], 10, Fa),
2923
+ w.children ? (m(), h("ul", Ba, [
2924
+ (m(!0), h(R, null, z(w.children, (y) => (m(), h("li", {
2883
2925
  key: y.name
2884
2926
  }, [
2885
2927
  f("a", {
2886
2928
  class: H([[y.current ? "bg-gray-100" : "", "hover:bg-gray-100"], "h-[37px] sgroup flex items-center gap-x-2 rounded-md p-3 text-gray-800 leading-5 transition-all duration-300 ease-in-out"]),
2887
2929
  href: y.href,
2888
- onClick: Q((S) => e.mainNavStore.goto(y.href), ["prevent"])
2930
+ onClick: ee((S) => e.mainNavStore.goto(y.href), ["prevent"])
2889
2931
  }, [
2890
2932
  y.icon ? (m(), V(g, {
2891
2933
  key: 0,
2892
- icon: x(F)[y.icon],
2934
+ icon: x(A)[y.icon],
2893
2935
  class: H([[(y.current, "text-gray-400")], "size-4"])
2894
- }, null, 8, ["icon", "class"])) : L("", !0),
2895
- e.mainNavStore.state.collapsed ? L("", !0) : (m(), h("span", Ta, P(y.name), 1))
2896
- ], 10, $a)
2936
+ }, null, 8, ["icon", "class"])) : P("", !0),
2937
+ e.mainNavStore.state.collapsed ? P("", !0) : (m(), h("span", za, L(y.name), 1))
2938
+ ], 10, Da)
2897
2939
  ]))), 128))
2898
- ])) : L("", !0)
2940
+ ])) : P("", !0)
2899
2941
  ], 2))), 128))
2900
2942
  ])
2901
2943
  ]),
2902
- f("li", La, [
2903
- O(k.$slots, "sidebar-footer"),
2944
+ f("li", ja, [
2945
+ B(k.$slots, "sidebar-footer"),
2904
2946
  f("a", {
2905
2947
  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",
2906
2948
  href: "#",
2907
- onClick: $[2] || ($[2] = Q((w) => e.mainNavStore.toggleCollapsed(), ["prevent"]))
2949
+ onClick: $[2] || ($[2] = ee((w) => e.mainNavStore.toggleCollapsed(), ["prevent"]))
2908
2950
  }, [
2909
2951
  b(g, {
2910
- icon: x(F)[e.mainNavStore.state.collapsed ? "farArrowRightToLine" : "farArrowLeftToLine"],
2952
+ icon: x(A)[e.mainNavStore.state.collapsed ? "farArrowRightToLine" : "farArrowLeftToLine"],
2911
2953
  class: "class-5"
2912
2954
  }, null, 8, ["icon"])
2913
2955
  ])
@@ -2919,19 +2961,19 @@ const te = new ga(), ya = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
2919
2961
  f("div", {
2920
2962
  class: H([v.value, "h-full transition-all flex flex-col"])
2921
2963
  }, [
2922
- f("div", Pa, [
2923
- f("div", Ma, [
2924
- f("div", Ha, [
2925
- O(k.$slots, "header-left", {}, () => [
2926
- f("div", Va, [
2964
+ f("div", Ia, [
2965
+ f("div", Na, [
2966
+ f("div", Za, [
2967
+ B(k.$slots, "header-left", {}, () => [
2968
+ f("div", qa, [
2927
2969
  b(g, {
2928
- icon: x(F).farBarsSort,
2970
+ icon: x(A).farBarsSort,
2929
2971
  class: "size-5",
2930
2972
  onClick: $[3] || ($[3] = (w) => e.mainNavStore.toggleHidden())
2931
2973
  }, null, 8, ["icon"])
2932
2974
  ])
2933
2975
  ]),
2934
- O(k.$slots, "header-center", {}, () => [
2976
+ B(k.$slots, "header-center", {}, () => [
2935
2977
  i.value ? (m(), h("div", {
2936
2978
  key: 0,
2937
2979
  class: "absolute left-1/2 -translate-x-1/2 cursor-pointer h-9 flex items-center",
@@ -2942,11 +2984,11 @@ const te = new ga(), ya = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
2942
2984
  src: x(a).currentBrand.logo,
2943
2985
  alt: "",
2944
2986
  class: "h-[30px] w-auto"
2945
- }, null, 8, Ra)) : L("", !0)
2946
- ])) : L("", !0)
2987
+ }, null, 8, Ua)) : P("", !0)
2988
+ ])) : P("", !0)
2947
2989
  ]),
2948
- f("div", Ea, [
2949
- O(k.$slots, "header-right", {}, () => [
2990
+ f("div", Ka, [
2991
+ B(k.$slots, "header-right", {}, () => [
2950
2992
  e.appStore.state.showAppSelector ? (m(), h("button", {
2951
2993
  key: 0,
2952
2994
  class: "rounded-sm bg-white w-[42px] h-[42px] ring-1 ring-inset ring-gray-300",
@@ -2954,71 +2996,71 @@ const te = new ga(), ya = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, va =
2954
2996
  onClick: u
2955
2997
  }, [
2956
2998
  b(g, {
2957
- icon: x(F).farGripDotsVertical,
2999
+ icon: x(A).farGripDotsVertical,
2958
3000
  class: "size-4 text-gray-400"
2959
3001
  }, null, 8, ["icon"])
2960
- ])) : L("", !0)
3002
+ ])) : P("", !0)
2961
3003
  ])
2962
3004
  ])
2963
3005
  ])
2964
3006
  ])
2965
3007
  ]),
2966
- f("main", Ba, [
3008
+ f("main", Ga, [
2967
3009
  b(_)
2968
3010
  ])
2969
3011
  ], 2),
2970
- b(x(Se), {
3012
+ b(x(Te), {
2971
3013
  position: "left",
2972
- "overlay-instance": x(te).left,
3014
+ "overlay-instance": x(se).left,
2973
3015
  onClose: $[4] || ($[4] = (w) => o("overlayClose", "left"))
2974
3016
  }, null, 8, ["overlay-instance"]),
2975
- b(x(Se), {
3017
+ b(x(Te), {
2976
3018
  position: "right",
2977
- "overlay-instance": x(te).right,
3019
+ "overlay-instance": x(se).right,
2978
3020
  onClose: $[5] || ($[5] = (w) => o("overlayClose", "right"))
2979
3021
  }, null, 8, ["overlay-instance"]),
2980
- b(x(so))
3022
+ b(x(go))
2981
3023
  ], 64);
2982
3024
  };
2983
3025
  }
2984
- }, Aa = {}, Fa = { class: "h-full" };
2985
- function Oa(e, s) {
2986
- const t = A("router-view");
2987
- return m(), h("main", Fa, [
3026
+ }, Wa = {}, Ya = { class: "h-full" };
3027
+ function Xa(e, s) {
3028
+ const t = O("router-view");
3029
+ return m(), h("main", Ya, [
2988
3030
  b(t)
2989
3031
  ]);
2990
3032
  }
2991
- const vn = /* @__PURE__ */ ee(Aa, [["render", Oa]]), za = (e) => {
3033
+ const En = /* @__PURE__ */ te(Wa, [["render", Xa]]), Ja = (e) => {
2992
3034
  const s = document.cookie.match(new RegExp(`(^| )${e}=([^;]+)`));
2993
3035
  return s ? s[2] : null;
2994
- }, Da = (e, s, t = {}) => {
3036
+ }, Qa = (e, s, t = {}) => {
2995
3037
  const {
2996
3038
  maxAge: o = 31536e3,
2997
3039
  // 365 days in seconds
2998
- domain: l = Ze(),
3040
+ domain: l = it(),
2999
3041
  secure: n = !0,
3000
3042
  sameSite: a = "Lax",
3001
3043
  path: c = "/"
3002
3044
  } = t;
3003
3045
  let r = `${e}=${s}; max-age=${o}; path=${c}; samesite=${a}`;
3004
3046
  l && (r += `; domain=${l}`), n && (r += "; secure"), document.cookie = r;
3005
- }, ja = (e, s = {}) => {
3006
- const { domain: t = Ze(), path: o = "/" } = s;
3047
+ }, er = (e, s = {}) => {
3048
+ const { domain: t = it(), path: o = "/" } = s;
3007
3049
  let l = `${e}=; max-age=0; path=${o}`;
3008
3050
  t && (l += `; domain=${t}`), document.cookie = l;
3009
- }, Ze = () => {
3051
+ }, it = () => {
3010
3052
  const e = window.location.hostname;
3011
3053
  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;
3012
- }, qe = [];
3013
- function Ia(e) {
3014
- qe.push(e);
3054
+ }, ct = [];
3055
+ function tr(e) {
3056
+ ct.push(e);
3015
3057
  }
3016
- function Na() {
3017
- qe.forEach((e) => e());
3058
+ function sr() {
3059
+ ct.forEach((e) => e());
3018
3060
  }
3019
- function bn(e) {
3061
+ function Fn(e) {
3020
3062
  let s = !1;
3021
- return Ia(() => {
3063
+ return tr(() => {
3022
3064
  s = !1;
3023
3065
  }), {
3024
3066
  bootstrapApp: async () => {
@@ -3067,15 +3109,15 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3067
3109
  }), s = (i = {}) => {
3068
3110
  i.endpoints && Object.assign(e.endpoints, i.endpoints), i.routes && Object.assign(e.routes, i.routes), i.devCredentials && Object.assign(e.devCredentials, i.devCredentials), i.callbacks && Object.assign(e.callbacks, i.callbacks), i.overrideToken && (e.overrideToken = i.overrideToken);
3069
3111
  }, t = (i) => {
3070
- Da(ve, i), e.token = i;
3112
+ Qa(ve, i), e.token = i;
3071
3113
  }, o = () => {
3072
- ja(ve), e.token = null;
3073
- }, l = () => za(ve), n = async (i) => {
3074
- const u = await re.post(e.endpoints.login, i), d = u.headers.authorization;
3114
+ er(ve), e.token = null;
3115
+ }, l = () => Ja(ve), n = async (i) => {
3116
+ const u = await ne.post(e.endpoints.login, i), d = u.headers.authorization;
3075
3117
  return t(d), e.user = u.data, e.callbacks.onLoginSuccess && await e.callbacks.onLoginSuccess(u.data), u.data;
3076
3118
  }, a = async () => {
3077
3119
  try {
3078
- await re.post(
3120
+ await ne.post(
3079
3121
  e.endpoints.logout,
3080
3122
  {},
3081
3123
  {
@@ -3087,14 +3129,14 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3087
3129
  } catch (i) {
3088
3130
  throw e.callbacks.onLogoutError && await e.callbacks.onLogoutError(i), i;
3089
3131
  } finally {
3090
- o(), e.user = null, Na();
3132
+ o(), e.user = null, sr();
3091
3133
  }
3092
3134
  }, c = async () => {
3093
3135
  const i = e.overrideToken || l();
3094
3136
  if (!i)
3095
3137
  return e.ready = !0, null;
3096
3138
  try {
3097
- const { data: u } = await re.get(e.endpoints.fetch, {
3139
+ const { data: u } = await ne.get(e.endpoints.fetch, {
3098
3140
  headers: {
3099
3141
  Authorization: `Bearer ${i}`
3100
3142
  }
@@ -3117,17 +3159,17 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3117
3159
  clearTokenCookie: o,
3118
3160
  getTokenCookie: l
3119
3161
  };
3120
- }), Za = { class: "h-full grid place-content-center relative" }, qa = { class: "absolute top-8 left-8" }, Ua = ["src"], Ka = {
3162
+ }), or = { class: "h-full grid place-content-center relative" }, ar = { class: "absolute top-8 left-8" }, rr = ["src"], nr = {
3121
3163
  key: 1,
3122
3164
  width: "59",
3123
3165
  height: "23",
3124
3166
  viewBox: "0 0 59 23",
3125
3167
  fill: "none",
3126
3168
  xmlns: "http://www.w3.org/2000/svg"
3127
- }, Ga = { class: "max-w-sm grid gap-y-1 -mt-8" }, Wa = { class: "mb-7" }, Ya = { class: "text-gray-600" }, Xa = { class: "grid grid-flow-col justify-between mt-1 mb-4" }, Ja = {
3169
+ }, lr = { class: "max-w-sm grid gap-y-1 -mt-8" }, ir = { class: "mb-7" }, cr = { class: "text-gray-600" }, ur = { class: "grid grid-flow-col justify-between mt-1 mb-4" }, dr = {
3128
3170
  key: 0,
3129
3171
  class: "text-red-600 text-sm mb-2"
3130
- }, Qa = { key: 0 }, er = { key: 1 }, tr = {
3172
+ }, pr = { key: 0 }, fr = { key: 1 }, mr = {
3131
3173
  __name: "SparkLoginView",
3132
3174
  props: {
3133
3175
  logo: {
@@ -3144,7 +3186,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3144
3186
  }
3145
3187
  },
3146
3188
  setup(e) {
3147
- const s = J(), t = ne(), o = je(), l = K(), n = e, a = B(!1), c = B(""), r = async (i) => {
3189
+ const s = Q(), t = le(), o = rt(), l = K(), n = e, a = F(!1), c = F(""), r = async (i) => {
3148
3190
  a.value = !0, c.value = "";
3149
3191
  try {
3150
3192
  await l.login(i);
@@ -3164,15 +3206,15 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3164
3206
  }
3165
3207
  };
3166
3208
  return (i, u) => {
3167
- const d = A("FormKit"), p = A("router-link");
3168
- return m(), h("div", Za, [
3169
- f("div", qa, [
3209
+ const d = O("FormKit"), p = O("router-link");
3210
+ return m(), h("div", or, [
3211
+ f("div", ar, [
3170
3212
  n.logo ? (m(), h("img", {
3171
3213
  key: 0,
3172
3214
  src: n.logo,
3173
3215
  alt: "Logo",
3174
3216
  class: "h-[23px] w-auto"
3175
- }, null, 8, Ua)) : (m(), h("svg", Ka, [...u[0] || (u[0] = [
3217
+ }, null, 8, rr)) : (m(), h("svg", nr, [...u[0] || (u[0] = [
3176
3218
  f("path", {
3177
3219
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3178
3220
  fill: "#1C64F2"
@@ -3191,10 +3233,10 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3191
3233
  }, null, -1)
3192
3234
  ])]))
3193
3235
  ]),
3194
- f("div", Ga, [
3195
- f("div", Wa, [
3236
+ f("div", lr, [
3237
+ f("div", ir, [
3196
3238
  u[1] || (u[1] = f("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Log in", -1)),
3197
- f("p", Ya, " Welcome back" + P(x(o).state.app ? ` to ${x(o).state.app}` : "") + "! Please enter your details. ", 1)
3239
+ f("p", cr, " Welcome back" + L(x(o).state.app ? ` to ${x(o).state.app}` : "") + "! Please enter your details. ", 1)
3198
3240
  ]),
3199
3241
  b(d, {
3200
3242
  type: "form",
@@ -3220,7 +3262,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3220
3262
  "outer-class": "max-w-full",
3221
3263
  value: x(l).state.devCredentials.password
3222
3264
  }, null, 8, ["value"]),
3223
- f("div", Xa, [
3265
+ f("div", ur, [
3224
3266
  u[3] || (u[3] = f("span", null, null, -1)),
3225
3267
  b(p, {
3226
3268
  to: n.forgotPasswordRoute,
@@ -3232,7 +3274,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3232
3274
  _: 1
3233
3275
  }, 8, ["to"])
3234
3276
  ]),
3235
- c.value ? (m(), h("div", Ja, P(c.value), 1)) : L("", !0),
3277
+ c.value ? (m(), h("div", dr, L(c.value), 1)) : P("", !0),
3236
3278
  b(x(G), {
3237
3279
  type: "submit",
3238
3280
  size: "xl",
@@ -3240,7 +3282,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3240
3282
  "button-class": "w-full mb-2"
3241
3283
  }, {
3242
3284
  default: T(() => [
3243
- a.value ? (m(), h("span", er, "Signing in...")) : (m(), h("span", Qa, "Sign in"))
3285
+ a.value ? (m(), h("span", fr, "Signing in...")) : (m(), h("span", pr, "Sign in"))
3244
3286
  ]),
3245
3287
  _: 1
3246
3288
  }, 8, ["disabled"])
@@ -3251,7 +3293,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3251
3293
  ]);
3252
3294
  };
3253
3295
  }
3254
- }, sr = {
3296
+ }, hr = {
3255
3297
  __name: "SparkLogoutView",
3256
3298
  props: {
3257
3299
  defaultRedirect: {
@@ -3260,27 +3302,27 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3260
3302
  }
3261
3303
  },
3262
3304
  setup(e) {
3263
- const s = J(), t = ne(), o = K(), l = e;
3264
- return xe(async () => {
3305
+ const s = Q(), t = le(), o = K(), l = e;
3306
+ return _e(async () => {
3265
3307
  await o.logout();
3266
3308
  const n = t.query.redirect;
3267
3309
  n && n.startsWith("http") ? window.location.href = n : await s.push(n || l.defaultRedirect);
3268
3310
  }), (n, a) => null;
3269
3311
  }
3270
- }, or = { class: "h-full grid place-content-center relative" }, ar = { class: "absolute top-8 left-8" }, rr = ["src"], nr = {
3312
+ }, gr = { class: "h-full grid place-content-center relative" }, yr = { class: "absolute top-8 left-8" }, vr = ["src"], br = {
3271
3313
  key: 1,
3272
3314
  width: "59",
3273
3315
  height: "23",
3274
3316
  viewBox: "0 0 59 23",
3275
3317
  fill: "none",
3276
3318
  xmlns: "http://www.w3.org/2000/svg"
3277
- }, lr = { class: "max-w-sm grid gap-y-1 -mt-8" }, ir = {
3319
+ }, xr = { class: "max-w-sm grid gap-y-1 -mt-8" }, kr = {
3278
3320
  key: 0,
3279
3321
  class: "text-red-600 text-sm mb-2"
3280
- }, cr = {
3322
+ }, wr = {
3281
3323
  key: 1,
3282
3324
  class: "text-green-600 text-sm mb-2"
3283
- }, ur = { key: 0 }, dr = { key: 1 }, pr = {
3325
+ }, _r = { key: 0 }, Sr = { key: 1 }, Cr = {
3284
3326
  __name: "SparkForgotPasswordView",
3285
3327
  props: {
3286
3328
  logo: {
@@ -3293,10 +3335,10 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3293
3335
  }
3294
3336
  },
3295
3337
  setup(e) {
3296
- const s = K(), t = e, o = B(!1), l = B(""), n = B(""), a = async ({ email: c }) => {
3338
+ const s = K(), t = e, o = F(!1), l = F(""), n = F(""), a = async ({ email: c }) => {
3297
3339
  o.value = !0, l.value = "", n.value = "";
3298
3340
  try {
3299
- await re.post(s.state.endpoints.passwordEmail, { email: c }), n.value = "Password reset link sent! Check your email.";
3341
+ await ne.post(s.state.endpoints.passwordEmail, { email: c }), n.value = "Password reset link sent! Check your email.";
3300
3342
  } catch (r) {
3301
3343
  l.value = r.response?.data?.message || "Failed to send reset link.";
3302
3344
  } finally {
@@ -3304,15 +3346,15 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3304
3346
  }
3305
3347
  };
3306
3348
  return (c, r) => {
3307
- const i = A("FormKit"), u = A("router-link");
3308
- return m(), h("div", or, [
3309
- f("div", ar, [
3349
+ const i = O("FormKit"), u = O("router-link");
3350
+ return m(), h("div", gr, [
3351
+ f("div", yr, [
3310
3352
  t.logo ? (m(), h("img", {
3311
3353
  key: 0,
3312
3354
  src: t.logo,
3313
3355
  alt: "Logo",
3314
3356
  class: "h-[23px] w-auto"
3315
- }, null, 8, rr)) : (m(), h("svg", nr, [...r[0] || (r[0] = [
3357
+ }, null, 8, vr)) : (m(), h("svg", br, [...r[0] || (r[0] = [
3316
3358
  f("path", {
3317
3359
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3318
3360
  fill: "#1C64F2"
@@ -3331,7 +3373,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3331
3373
  }, null, -1)
3332
3374
  ])]))
3333
3375
  ]),
3334
- f("div", lr, [
3376
+ f("div", xr, [
3335
3377
  r[2] || (r[2] = f("div", { class: "mb-7" }, [
3336
3378
  f("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Reset password"),
3337
3379
  f("p", { class: "text-gray-600" }, " Enter your email and we'll send you a link to reset your password. ")
@@ -3350,8 +3392,8 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3350
3392
  validation: "required|email",
3351
3393
  "outer-class": "max-w-full"
3352
3394
  }),
3353
- l.value ? (m(), h("div", ir, P(l.value), 1)) : L("", !0),
3354
- n.value ? (m(), h("div", cr, P(n.value), 1)) : L("", !0),
3395
+ l.value ? (m(), h("div", kr, L(l.value), 1)) : P("", !0),
3396
+ n.value ? (m(), h("div", wr, L(n.value), 1)) : P("", !0),
3355
3397
  b(x(G), {
3356
3398
  type: "submit",
3357
3399
  size: "xl",
@@ -3359,7 +3401,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3359
3401
  "button-class": "w-full mb-2"
3360
3402
  }, {
3361
3403
  default: T(() => [
3362
- o.value ? (m(), h("span", dr, "Sending...")) : (m(), h("span", ur, "Send reset link"))
3404
+ o.value ? (m(), h("span", Sr, "Sending...")) : (m(), h("span", _r, "Send reset link"))
3363
3405
  ]),
3364
3406
  _: 1
3365
3407
  }, 8, ["disabled"]),
@@ -3379,17 +3421,17 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3379
3421
  ]);
3380
3422
  };
3381
3423
  }
3382
- }, fr = { class: "h-full grid place-content-center relative" }, mr = { class: "absolute top-8 left-8" }, hr = ["src"], gr = {
3424
+ }, $r = { class: "h-full grid place-content-center relative" }, Tr = { class: "absolute top-8 left-8" }, Pr = ["src"], Lr = {
3383
3425
  key: 1,
3384
3426
  width: "59",
3385
3427
  height: "23",
3386
3428
  viewBox: "0 0 59 23",
3387
3429
  fill: "none",
3388
3430
  xmlns: "http://www.w3.org/2000/svg"
3389
- }, yr = { class: "max-w-sm grid gap-y-1 -mt-8" }, vr = {
3431
+ }, Mr = { class: "max-w-sm grid gap-y-1 -mt-8" }, Hr = {
3390
3432
  key: 0,
3391
3433
  class: "text-red-600 text-sm mb-2"
3392
- }, br = { key: 0 }, xr = { key: 1 }, kr = {
3434
+ }, Vr = { key: 0 }, Rr = { key: 1 }, Ar = {
3393
3435
  __name: "SparkResetPasswordView",
3394
3436
  props: {
3395
3437
  logo: {
@@ -3402,10 +3444,10 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3402
3444
  }
3403
3445
  },
3404
3446
  setup(e) {
3405
- const s = J(), t = ne(), o = K(), l = e, n = B(!1), a = B(""), c = async ({ password: r, password_confirmation: i }) => {
3447
+ const s = Q(), t = le(), o = K(), l = e, n = F(!1), a = F(""), c = async ({ password: r, password_confirmation: i }) => {
3406
3448
  n.value = !0, a.value = "";
3407
3449
  try {
3408
- await re.post(o.state.endpoints.passwordReset, {
3450
+ await ne.post(o.state.endpoints.passwordReset, {
3409
3451
  email: t.query.email,
3410
3452
  token: t.query.token,
3411
3453
  password: r,
@@ -3418,15 +3460,15 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3418
3460
  }
3419
3461
  };
3420
3462
  return (r, i) => {
3421
- const u = A("FormKit");
3422
- return m(), h("div", fr, [
3423
- f("div", mr, [
3463
+ const u = O("FormKit");
3464
+ return m(), h("div", $r, [
3465
+ f("div", Tr, [
3424
3466
  l.logo ? (m(), h("img", {
3425
3467
  key: 0,
3426
3468
  src: l.logo,
3427
3469
  alt: "Logo",
3428
3470
  class: "h-[23px] w-auto"
3429
- }, null, 8, hr)) : (m(), h("svg", gr, [...i[0] || (i[0] = [
3471
+ }, null, 8, Pr)) : (m(), h("svg", Lr, [...i[0] || (i[0] = [
3430
3472
  f("path", {
3431
3473
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3432
3474
  fill: "#1C64F2"
@@ -3445,7 +3487,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3445
3487
  }, null, -1)
3446
3488
  ])]))
3447
3489
  ]),
3448
- f("div", yr, [
3490
+ f("div", Mr, [
3449
3491
  i[1] || (i[1] = f("div", { class: "mb-7" }, [
3450
3492
  f("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Set new password"),
3451
3493
  f("p", { class: "text-gray-600" }, " Enter your new password below. ")
@@ -3472,7 +3514,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3472
3514
  validation: "required|confirm:password",
3473
3515
  "outer-class": "max-w-full"
3474
3516
  }),
3475
- a.value ? (m(), h("div", vr, P(a.value), 1)) : L("", !0),
3517
+ a.value ? (m(), h("div", Hr, L(a.value), 1)) : P("", !0),
3476
3518
  b(x(G), {
3477
3519
  type: "submit",
3478
3520
  size: "xl",
@@ -3480,7 +3522,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3480
3522
  "button-class": "w-full mb-2"
3481
3523
  }, {
3482
3524
  default: T(() => [
3483
- n.value ? (m(), h("span", xr, "Resetting...")) : (m(), h("span", br, "Reset password"))
3525
+ n.value ? (m(), h("span", Rr, "Resetting...")) : (m(), h("span", Vr, "Reset password"))
3484
3526
  ]),
3485
3527
  _: 1
3486
3528
  }, 8, ["disabled"])
@@ -3491,14 +3533,14 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3491
3533
  ]);
3492
3534
  };
3493
3535
  }
3494
- }, wr = { class: "h-full grid place-content-center relative" }, _r = { class: "absolute top-8 left-8" }, Sr = ["src"], Cr = {
3536
+ }, Er = { class: "h-full grid place-content-center relative" }, Fr = { class: "absolute top-8 left-8" }, Or = ["src"], Br = {
3495
3537
  key: 1,
3496
3538
  width: "59",
3497
3539
  height: "23",
3498
3540
  viewBox: "0 0 59 23",
3499
3541
  fill: "none",
3500
3542
  xmlns: "http://www.w3.org/2000/svg"
3501
- }, $r = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Tr = { class: "flex gap-4 justify-center" }, Lr = {
3543
+ }, Dr = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, zr = { class: "flex gap-4 justify-center" }, jr = {
3502
3544
  __name: "SparkError403View",
3503
3545
  props: {
3504
3546
  logo: {
@@ -3511,17 +3553,17 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3511
3553
  }
3512
3554
  },
3513
3555
  setup(e) {
3514
- const s = J(), t = e, o = () => {
3556
+ const s = Q(), t = e, o = () => {
3515
3557
  s.push(t.homeRoute);
3516
3558
  };
3517
- return (l, n) => (m(), h("div", wr, [
3518
- f("div", _r, [
3559
+ return (l, n) => (m(), h("div", Er, [
3560
+ f("div", Fr, [
3519
3561
  t.logo ? (m(), h("img", {
3520
3562
  key: 0,
3521
3563
  src: t.logo,
3522
3564
  alt: "Logo",
3523
3565
  class: "h-[23px] w-auto"
3524
- }, null, 8, Sr)) : (m(), h("svg", Cr, [...n[0] || (n[0] = [
3566
+ }, null, 8, Or)) : (m(), h("svg", Br, [...n[0] || (n[0] = [
3525
3567
  f("path", {
3526
3568
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3527
3569
  fill: "#1C64F2"
@@ -3540,7 +3582,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3540
3582
  }, null, -1)
3541
3583
  ])]))
3542
3584
  ]),
3543
- f("div", $r, [
3585
+ f("div", Dr, [
3544
3586
  n[2] || (n[2] = f("div", null, [
3545
3587
  f("div", { class: "text-primary-600 text-7xl font-bold mb-4" }, "403"),
3546
3588
  f("h1", { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, " Access Forbidden "),
@@ -3550,7 +3592,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3550
3592
  E(" If you believe this is an error, please contact your administrator. ")
3551
3593
  ])
3552
3594
  ], -1)),
3553
- f("div", Tr, [
3595
+ f("div", zr, [
3554
3596
  b(x(G), {
3555
3597
  onClick: o,
3556
3598
  size: "lg"
@@ -3564,14 +3606,14 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3564
3606
  ])
3565
3607
  ]));
3566
3608
  }
3567
- }, Pr = { class: "h-full grid place-content-center relative" }, Mr = { class: "absolute top-8 left-8" }, Hr = ["src"], Vr = {
3609
+ }, Ir = { class: "h-full grid place-content-center relative" }, Nr = { class: "absolute top-8 left-8" }, Zr = ["src"], qr = {
3568
3610
  key: 1,
3569
3611
  width: "59",
3570
3612
  height: "23",
3571
3613
  viewBox: "0 0 59 23",
3572
3614
  fill: "none",
3573
3615
  xmlns: "http://www.w3.org/2000/svg"
3574
- }, Rr = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Er = { class: "flex gap-4 justify-center" }, Br = {
3616
+ }, Ur = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Kr = { class: "flex gap-4 justify-center" }, Gr = {
3575
3617
  __name: "SparkError404View",
3576
3618
  props: {
3577
3619
  logo: {
@@ -3584,17 +3626,17 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3584
3626
  }
3585
3627
  },
3586
3628
  setup(e) {
3587
- const s = J(), t = e, o = () => {
3629
+ const s = Q(), t = e, o = () => {
3588
3630
  s.push(t.homeRoute);
3589
3631
  };
3590
- return (l, n) => (m(), h("div", Pr, [
3591
- f("div", Mr, [
3632
+ return (l, n) => (m(), h("div", Ir, [
3633
+ f("div", Nr, [
3592
3634
  t.logo ? (m(), h("img", {
3593
3635
  key: 0,
3594
3636
  src: t.logo,
3595
3637
  alt: "Logo",
3596
3638
  class: "h-[23px] w-auto"
3597
- }, null, 8, Hr)) : (m(), h("svg", Vr, [...n[0] || (n[0] = [
3639
+ }, null, 8, Zr)) : (m(), h("svg", qr, [...n[0] || (n[0] = [
3598
3640
  f("path", {
3599
3641
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3600
3642
  fill: "#1C64F2"
@@ -3613,13 +3655,13 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3613
3655
  }, null, -1)
3614
3656
  ])]))
3615
3657
  ]),
3616
- f("div", Rr, [
3658
+ f("div", Ur, [
3617
3659
  n[2] || (n[2] = f("div", null, [
3618
3660
  f("div", { class: "text-primary-600 text-7xl font-bold mb-4" }, "404"),
3619
3661
  f("h1", { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, " Page Not Found "),
3620
3662
  f("p", { class: "text-gray-600" }, " The page you're looking for doesn't exist or has been moved. ")
3621
3663
  ], -1)),
3622
- f("div", Er, [
3664
+ f("div", Kr, [
3623
3665
  b(x(G), {
3624
3666
  onClick: o,
3625
3667
  size: "lg"
@@ -3633,14 +3675,14 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3633
3675
  ])
3634
3676
  ]));
3635
3677
  }
3636
- }, Ar = { class: "h-full grid place-content-center relative" }, Fr = { class: "absolute top-8 left-8" }, Or = ["src"], zr = {
3678
+ }, Wr = { class: "h-full grid place-content-center relative" }, Yr = { class: "absolute top-8 left-8" }, Xr = ["src"], Jr = {
3637
3679
  key: 1,
3638
3680
  width: "59",
3639
3681
  height: "23",
3640
3682
  viewBox: "0 0 59 23",
3641
3683
  fill: "none",
3642
3684
  xmlns: "http://www.w3.org/2000/svg"
3643
- }, Dr = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, jr = { class: "text-primary-600 text-7xl font-bold mb-4" }, Ir = { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, Nr = { class: "text-gray-600" }, Zr = { class: "flex gap-4 justify-center" }, xn = {
3685
+ }, Qr = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, en = { class: "text-primary-600 text-7xl font-bold mb-4" }, tn = { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, sn = { class: "text-gray-600" }, on = { class: "flex gap-4 justify-center" }, On = {
3644
3686
  __name: "SparkErrorGeneralView",
3645
3687
  props: {
3646
3688
  logo: {
@@ -3665,17 +3707,17 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3665
3707
  }
3666
3708
  },
3667
3709
  setup(e) {
3668
- const s = J(), t = e, o = () => {
3710
+ const s = Q(), t = e, o = () => {
3669
3711
  s.push(t.homeRoute);
3670
3712
  };
3671
- return (l, n) => (m(), h("div", Ar, [
3672
- f("div", Fr, [
3713
+ return (l, n) => (m(), h("div", Wr, [
3714
+ f("div", Yr, [
3673
3715
  t.logo ? (m(), h("img", {
3674
3716
  key: 0,
3675
3717
  src: t.logo,
3676
3718
  alt: "Logo",
3677
3719
  class: "h-[23px] w-auto"
3678
- }, null, 8, Or)) : (m(), h("svg", zr, [...n[0] || (n[0] = [
3720
+ }, null, 8, Xr)) : (m(), h("svg", Jr, [...n[0] || (n[0] = [
3679
3721
  f("path", {
3680
3722
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3681
3723
  fill: "#1C64F2"
@@ -3694,13 +3736,13 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3694
3736
  }, null, -1)
3695
3737
  ])]))
3696
3738
  ]),
3697
- f("div", Dr, [
3739
+ f("div", Qr, [
3698
3740
  f("div", null, [
3699
- f("div", jr, P(t.errorCode || "Error"), 1),
3700
- f("h1", Ir, P(t.title || "Something went wrong"), 1),
3701
- f("p", Nr, P(t.message || "An unexpected error occurred. Please try again later."), 1)
3741
+ f("div", en, L(t.errorCode || "Error"), 1),
3742
+ f("h1", tn, L(t.title || "Something went wrong"), 1),
3743
+ f("p", sn, L(t.message || "An unexpected error occurred. Please try again later."), 1)
3702
3744
  ]),
3703
- f("div", Zr, [
3745
+ f("div", on, [
3704
3746
  b(x(G), {
3705
3747
  onClick: o,
3706
3748
  size: "lg"
@@ -3715,7 +3757,7 @@ const ve = "bolt-next-token", K = ue("auth", () => {
3715
3757
  ]));
3716
3758
  }
3717
3759
  };
3718
- function kn(e = {}) {
3760
+ function Bn(e = {}) {
3719
3761
  const {
3720
3762
  loginPath: s = "/login",
3721
3763
  logoutPath: t = "/logout",
@@ -3728,41 +3770,41 @@ function kn(e = {}) {
3728
3770
  {
3729
3771
  path: s,
3730
3772
  name: "login",
3731
- component: tr,
3773
+ component: mr,
3732
3774
  props: { logo: n, defaultRedirect: a },
3733
3775
  meta: { auth: !1 }
3734
3776
  },
3735
3777
  {
3736
3778
  path: t,
3737
3779
  name: "logout",
3738
- component: sr,
3780
+ component: hr,
3739
3781
  props: { defaultRedirect: s },
3740
3782
  meta: { auth: !1 }
3741
3783
  },
3742
3784
  {
3743
3785
  path: o,
3744
3786
  name: "forgot-password",
3745
- component: pr,
3787
+ component: Cr,
3746
3788
  props: { logo: n, loginRoute: s },
3747
3789
  meta: { auth: !1 }
3748
3790
  },
3749
3791
  {
3750
3792
  path: l,
3751
3793
  name: "password-reset",
3752
- component: kr,
3794
+ component: Ar,
3753
3795
  props: { logo: n, loginRoute: s },
3754
3796
  meta: { auth: !1 }
3755
3797
  }
3756
3798
  ];
3757
3799
  }
3758
- function wn(e, s = {}) {
3800
+ function Dn(e, s = {}) {
3759
3801
  const { defaultAuthenticatedRoute: t = "/dashboard" } = s;
3760
3802
  e.beforeEach(async (o, l, n) => {
3761
3803
  const a = K();
3762
- a.state.ready || await a.fetchUser(), qr(o, n, a, t);
3804
+ a.state.ready || await a.fetchUser(), an(o, n, a, t);
3763
3805
  });
3764
3806
  }
3765
- function qr(e, s, t, o) {
3807
+ function an(e, s, t, o) {
3766
3808
  const l = e.meta.auth !== !1, n = t.check;
3767
3809
  if (t.state.overrideToken && e.path === "/logout") {
3768
3810
  s({ path: o });
@@ -3800,7 +3842,7 @@ function qr(e, s, t, o) {
3800
3842
  s();
3801
3843
  }
3802
3844
  }
3803
- function _n(e = {}) {
3845
+ function zn(e = {}) {
3804
3846
  const {
3805
3847
  forbiddenPath: s = "/error/403",
3806
3848
  logo: t = "",
@@ -3809,12 +3851,12 @@ function _n(e = {}) {
3809
3851
  return {
3810
3852
  path: s,
3811
3853
  name: "error-403",
3812
- component: Lr,
3854
+ component: jr,
3813
3855
  props: { logo: t, homeRoute: o },
3814
3856
  meta: { auth: !1 }
3815
3857
  };
3816
3858
  }
3817
- function Sn(e = {}) {
3859
+ function jn(e = {}) {
3818
3860
  const {
3819
3861
  logo: s = "",
3820
3862
  homeRoute: t = "/dashboard"
@@ -3822,12 +3864,12 @@ function Sn(e = {}) {
3822
3864
  return {
3823
3865
  path: "/:pathMatch(.*)*",
3824
3866
  name: "error-404",
3825
- component: Br,
3867
+ component: Gr,
3826
3868
  props: { logo: s, homeRoute: t },
3827
3869
  meta: { auth: !1 }
3828
3870
  };
3829
3871
  }
3830
- function Cn(e, s) {
3872
+ function In(e, s) {
3831
3873
  e.beforeResolve(async (t) => {
3832
3874
  if (t.meta.auth !== !1) {
3833
3875
  const o = K();
@@ -3835,8 +3877,8 @@ function Cn(e, s) {
3835
3877
  }
3836
3878
  });
3837
3879
  }
3838
- function Ur(e = {}) {
3839
- const s = re.create({
3880
+ function rn(e = {}) {
3881
+ const s = ne.create({
3840
3882
  baseURL: e.baseURL || "",
3841
3883
  timeout: e.timeout || 3e4,
3842
3884
  headers: {
@@ -3875,21 +3917,21 @@ function Ur(e = {}) {
3875
3917
  }
3876
3918
  ), s;
3877
3919
  }
3878
- let ae = null;
3879
- function $n(e, s = {}) {
3880
- return ae = Ur(s), e.provide("axios", ae), e.config.globalProperties.$axios = ae, ae;
3920
+ let re = null;
3921
+ function Nn(e, s = {}) {
3922
+ return re = rn(s), e.provide("axios", re), e.config.globalProperties.$axios = re, re;
3881
3923
  }
3882
- function Tn() {
3883
- if (!ae)
3924
+ function Zn() {
3925
+ if (!re)
3884
3926
  throw new Error("Axios instance not initialized. Call setupAxios() first.");
3885
- return ae;
3927
+ return re;
3886
3928
  }
3887
- const Ln = ue("sparkNav", () => {
3929
+ const qn = ue("sparkNav", () => {
3888
3930
  const e = q({
3889
3931
  menu: [],
3890
3932
  collapsed: !1,
3891
3933
  hidden: !1
3892
- }), s = J(), t = ne(), o = (i = []) => {
3934
+ }), s = Q(), t = le(), o = (i = []) => {
3893
3935
  e.menu = i, r();
3894
3936
  }, l = (i, u) => {
3895
3937
  for (const d of i) {
@@ -3940,64 +3982,67 @@ const Ln = ue("sparkNav", () => {
3940
3982
  };
3941
3983
  });
3942
3984
  export {
3943
- F as Icons,
3944
- se as SparkAlert,
3945
- ks as SparkAppSelector,
3946
- Zs as SparkBrandSelector,
3985
+ A as Icons,
3986
+ oe as SparkAlert,
3987
+ As as SparkAppSelector,
3988
+ oo as SparkBrandSelector,
3947
3989
  G as SparkButton,
3948
- Us as SparkButtonGroup,
3949
- hn as SparkCard,
3950
- yn as SparkDefaultContainer,
3951
- Lr as SparkError403View,
3952
- Br as SparkError404View,
3953
- xn as SparkErrorGeneralView,
3954
- pr as SparkForgotPasswordView,
3955
- tr as SparkLoginView,
3956
- sr as SparkLogoutView,
3957
- so as SparkModalContainer,
3958
- Js as SparkModalDialog,
3959
- fn as SparkNotificationOutlet,
3960
- Se as SparkOverlay,
3961
- vn as SparkPublicContainer,
3962
- kr as SparkResetPasswordView,
3963
- gn as SparkTable,
3964
- na as SparkTableDatePicker,
3965
- oa as SparkTableFilterButtons,
3966
- Qo as SparkTableFilterSelect,
3967
- Zo as SparkTablePaginationPaging,
3968
- Ko as SparkTablePaginationPerPage,
3969
- ua as SparkTableReset,
3970
- Yo as SparkTableSearch,
3971
- Pe as SparkTableToolbar,
3972
- mn as SparkToastContainer,
3973
- dn as addIcons,
3974
- _n as create403Route,
3975
- Sn as create404Route,
3976
- kn as createAuthRoutes,
3977
- Ur as createAxiosInstance,
3978
- bn as createBootstrapService,
3979
- io as customiseHeader,
3980
- ja as deleteCookie,
3981
- $o as formatTemporal,
3982
- Tn as getAxiosInstance,
3983
- za as getCookie,
3984
- Ze as getDomain,
3985
- To as parseDatetime,
3986
- ao as renderHeaderTitle,
3987
- Da as setCookie,
3988
- wn as setupAuthGuards,
3989
- $n as setupAxios,
3990
- Cn as setupBootstrapGuard,
3991
- pn as setupFontAwesome,
3992
- oe as sparkModalService,
3990
+ ro as SparkButtonGroup,
3991
+ Vn as SparkCard,
3992
+ An as SparkDefaultContainer,
3993
+ jr as SparkError403View,
3994
+ Gr as SparkError404View,
3995
+ On as SparkErrorGeneralView,
3996
+ Cr as SparkForgotPasswordView,
3997
+ mr as SparkLoginView,
3998
+ hr as SparkLogoutView,
3999
+ go as SparkModalContainer,
4000
+ po as SparkModalDialog,
4001
+ Mn as SparkNotificationOutlet,
4002
+ Te as SparkOverlay,
4003
+ En as SparkPublicContainer,
4004
+ Ar as SparkResetPasswordView,
4005
+ Rn as SparkTable,
4006
+ ba as SparkTableDatePicker,
4007
+ ga as SparkTableFilterButtons,
4008
+ pa as SparkTableFilterSelect,
4009
+ oa as SparkTablePaginationPaging,
4010
+ na as SparkTablePaginationPerPage,
4011
+ _a as SparkTableReset,
4012
+ ca as SparkTableSearch,
4013
+ Ve as SparkTableToolbar,
4014
+ Hn as SparkToastContainer,
4015
+ Pn as addIcons,
4016
+ zn as create403Route,
4017
+ jn as create404Route,
4018
+ Bn as createAuthRoutes,
4019
+ rn as createAxiosInstance,
4020
+ Fn as createBootstrapService,
4021
+ wo as customiseHeader,
4022
+ er as deleteCookie,
4023
+ $n as formKitGenesisOverride,
4024
+ Tn as formKitIconLoader,
4025
+ Cn as formKitIcons,
4026
+ Do as formatTemporal,
4027
+ Zn as getAxiosInstance,
4028
+ Ja as getCookie,
4029
+ it as getDomain,
4030
+ zo as parseDatetime,
4031
+ vo as renderHeaderTitle,
4032
+ Qa as setCookie,
4033
+ Dn as setupAuthGuards,
4034
+ Nn as setupAxios,
4035
+ In as setupBootstrapGuard,
4036
+ Ln as setupFontAwesome,
4037
+ ae as sparkModalService,
3993
4038
  X as sparkNotificationService,
3994
- te as sparkOverlayService,
3995
- Ho as updateRow,
3996
- De as useSparkAppSelectorStore,
3997
- je as useSparkAppStore,
4039
+ se as sparkOverlayService,
4040
+ Zo as updateRow,
4041
+ at as useSparkAppSelectorStore,
4042
+ rt as useSparkAppStore,
3998
4043
  K as useSparkAuthStore,
3999
- Ne as useSparkBrandFilterStore,
4000
- Ln as useSparkNavStore,
4001
- He as useSparkOverlay,
4002
- Vo as useSparkTableRouteSync
4044
+ lt as useSparkBrandFilterStore,
4045
+ qn as useSparkNavStore,
4046
+ Ae as useSparkOverlay,
4047
+ qo as useSparkTableRouteSync
4003
4048
  };