@stlhorizon/vue-ui 1.2.3 → 1.2.4
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.esm.js +291 -273
- package/dist/index.js +13 -13
- package/dist/src/components/Alert.vue.d.ts +2 -2
- package/dist/src/components/Badge.vue.d.ts +2 -2
- package/dist/src/components/Breadcrumb.vue.d.ts +2 -2
- package/dist/src/components/Button.vue.d.ts +2 -2
- package/dist/src/components/Checkbox.vue.d.ts +6 -6
- package/dist/src/components/DataTable.vue.d.ts +2 -2
- package/dist/src/components/DataTableCell.vue.d.ts +2 -2
- package/dist/src/components/DatePicker.vue.d.ts +4 -4
- package/dist/src/components/FormField.vue.d.ts +8 -8
- package/dist/src/components/Icon.vue.d.ts +2 -2
- package/dist/src/components/Image.vue.d.ts +2 -2
- package/dist/src/components/Input.vue.d.ts +9 -9
- package/dist/src/components/Label.vue.d.ts +2 -2
- package/dist/src/components/Link.vue.d.ts +4 -4
- package/dist/src/components/ProgressBar.vue.d.ts +2 -2
- package/dist/src/components/Radio.vue.d.ts +2 -2
- package/dist/src/components/Search.vue.d.ts +5 -5
- package/dist/src/components/Spinner.vue.d.ts +2 -2
- package/dist/src/components/Textarea.vue.d.ts +6 -6
- package/dist/src/components/Typography.vue.d.ts +2 -2
- package/dist/src/layouts/ErrorLayout.vue.d.ts +6 -6
- package/dist/src/router/AuthRoutes.d.ts +15 -0
- package/dist/src/router/AuthRoutes.d.ts.map +1 -0
- package/dist/src/router/index.d.ts +1 -1
- package/dist/src/router/index.d.ts.map +1 -1
- package/dist/src/views/authentication/ForgotPasswordPage.vue.d.ts +3 -0
- package/dist/src/views/authentication/ForgotPasswordPage.vue.d.ts.map +1 -0
- package/dist/src/views/authentication/LoginPage.vue.d.ts +3 -0
- package/dist/src/views/authentication/LoginPage.vue.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +2 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as u, createElementBlock as r, openBlock as a, normalizeClass as d, ref as H, createBlock as M, toDisplayString as
|
|
1
|
+
import { computed as u, createElementBlock as r, openBlock as a, normalizeClass as d, ref as H, createBlock as M, toDisplayString as b, unref as D, createCommentVNode as f, renderSlot as h, resolveDynamicComponent as X, createVNode as y, mergeProps as me, createElementVNode as o, useId as be, watch as oe, createTextVNode as N, withCtx as S, normalizeStyle as ce, nextTick as Ce, Transition as ae, Fragment as Q, renderList as K, onMounted as ve, onUnmounted as ye, Teleport as Ve, markRaw as Te, TransitionGroup as Re, withDirectives as xe, vModelText as _e, provide as He, inject as Oe, vShow as Me, createSlots as qe, withModifiers as $e, resolveComponent as G } from "vue";
|
|
2
2
|
import { cva as x } from "class-variance-authority";
|
|
3
3
|
import { clsx as Ee } from "clsx";
|
|
4
4
|
function v(...e) {
|
|
@@ -220,7 +220,7 @@ const Ue = {
|
|
|
220
220
|
"h-5 w-5": s.size === "lg",
|
|
221
221
|
"h-6 w-6": s.size === "xl"
|
|
222
222
|
})
|
|
223
|
-
),
|
|
223
|
+
), p = () => {
|
|
224
224
|
t.value = !0;
|
|
225
225
|
};
|
|
226
226
|
return (w, C) => (a(), r("div", {
|
|
@@ -231,11 +231,11 @@ const Ue = {
|
|
|
231
231
|
src: e.src,
|
|
232
232
|
alt: e.alt,
|
|
233
233
|
class: d(i.value),
|
|
234
|
-
onError:
|
|
234
|
+
onError: p
|
|
235
235
|
}, null, 42, Ge)) : e.initials ? (a(), r("span", {
|
|
236
236
|
key: 1,
|
|
237
237
|
class: d(c.value)
|
|
238
|
-
},
|
|
238
|
+
}, b(e.initials), 3)) : (a(), M(Y, {
|
|
239
239
|
key: 2,
|
|
240
240
|
name: "User",
|
|
241
241
|
class: d(m.value)
|
|
@@ -315,14 +315,14 @@ const Ue = {
|
|
|
315
315
|
md: "w-4 h-4",
|
|
316
316
|
lg: "w-5 h-5"
|
|
317
317
|
}[l.size]]);
|
|
318
|
-
return (
|
|
319
|
-
class: d(D(v)(D(c)({ variant: e.variant, size: e.size, shape: e.shape }),
|
|
318
|
+
return (p, w) => (a(), r("span", {
|
|
319
|
+
class: d(D(v)(D(c)({ variant: e.variant, size: e.size, shape: e.shape }), p.$attrs.class))
|
|
320
320
|
}, [
|
|
321
321
|
e.icon ? (a(), M(X(e.icon), {
|
|
322
322
|
key: 0,
|
|
323
323
|
class: d(m.value)
|
|
324
324
|
}, null, 8, ["class"])) : f("", !0),
|
|
325
|
-
h(
|
|
325
|
+
h(p.$slots, "default"),
|
|
326
326
|
e.dismissible ? (a(), r("button", {
|
|
327
327
|
key: 1,
|
|
328
328
|
onClick: i,
|
|
@@ -415,7 +415,7 @@ const Ue = {
|
|
|
415
415
|
}, null, -1)
|
|
416
416
|
])])) : f("", !0),
|
|
417
417
|
e.loading ? f("", !0) : h(t.$slots, "icon", { key: 1 }),
|
|
418
|
-
e.loading && e.loadingText ? (a(), r("span", Je,
|
|
418
|
+
e.loading && e.loadingText ? (a(), r("span", Je, b(e.loadingText), 1)) : h(t.$slots, "default", { key: 3 })
|
|
419
419
|
], 16, Xe));
|
|
420
420
|
}
|
|
421
421
|
}), et = { class: "flex items-center gap-3" }, tt = { class: "relative" }, at = ["id", "checked", "indeterminate", "disabled", "required", "aria-describedby"], st = { class: "flex-1" }, lt = ["for"], ke = {
|
|
@@ -482,7 +482,7 @@ const Ue = {
|
|
|
482
482
|
<path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14" />
|
|
483
483
|
</svg>
|
|
484
484
|
`
|
|
485
|
-
}, n = e, i = s, c = H(null), m = u(() => n.id || be()),
|
|
485
|
+
}, n = e, i = s, c = H(null), m = u(() => n.id || be()), p = u(() => Array.isArray(n.modelValue) ? n.modelValue.includes(n.value) : n.modelValue), w = (B) => {
|
|
486
486
|
const $ = B.target.checked;
|
|
487
487
|
if (Array.isArray(n.modelValue)) {
|
|
488
488
|
const I = [...n.modelValue];
|
|
@@ -519,12 +519,12 @@ const Ue = {
|
|
|
519
519
|
"cursor-pointer select-none",
|
|
520
520
|
T.value,
|
|
521
521
|
{
|
|
522
|
-
"bg-blue-600 border-blue-600 text-white":
|
|
523
|
-
"bg-red-600 border-red-600 text-white":
|
|
524
|
-
"bg-slate-200 border-slate-300 text-slate-400":
|
|
525
|
-
"bg-white border-slate-300 hover:border-slate-400": !
|
|
526
|
-
"bg-white border-red-300 hover:border-red-400": !
|
|
527
|
-
"bg-slate-50 border-slate-200": !
|
|
522
|
+
"bg-blue-600 border-blue-600 text-white": p.value && !n.disabled && n.variant === "default",
|
|
523
|
+
"bg-red-600 border-red-600 text-white": p.value && !n.disabled && n.variant === "error",
|
|
524
|
+
"bg-slate-200 border-slate-300 text-slate-400": p.value && n.disabled,
|
|
525
|
+
"bg-white border-slate-300 hover:border-slate-400": !p.value && !n.disabled && n.variant === "default",
|
|
526
|
+
"bg-white border-red-300 hover:border-red-400": !p.value && !n.disabled && n.variant === "error",
|
|
527
|
+
"bg-slate-50 border-slate-200": !p.value && n.disabled,
|
|
528
528
|
"cursor-not-allowed": n.disabled,
|
|
529
529
|
"focus-within:ring-2 focus-within:ring-offset-2": !n.disabled,
|
|
530
530
|
"focus-within:ring-blue-500": !n.disabled && n.variant === "default",
|
|
@@ -548,7 +548,7 @@ const Ue = {
|
|
|
548
548
|
ref_key: "checkboxRef",
|
|
549
549
|
ref: c,
|
|
550
550
|
type: "checkbox",
|
|
551
|
-
checked:
|
|
551
|
+
checked: p.value,
|
|
552
552
|
indeterminate: e.indeterminate,
|
|
553
553
|
disabled: e.disabled,
|
|
554
554
|
required: e.required,
|
|
@@ -560,7 +560,7 @@ const Ue = {
|
|
|
560
560
|
class: d(z.value),
|
|
561
561
|
onClick: C
|
|
562
562
|
}, [
|
|
563
|
-
|
|
563
|
+
p.value && !e.indeterminate ? (a(), M(t, {
|
|
564
564
|
key: 0,
|
|
565
565
|
class: "w-3 h-3"
|
|
566
566
|
})) : e.indeterminate ? (a(), M(l, {
|
|
@@ -575,13 +575,13 @@ const Ue = {
|
|
|
575
575
|
class: d(k.value)
|
|
576
576
|
}, [
|
|
577
577
|
h(B.$slots, "default", {}, () => [
|
|
578
|
-
N(
|
|
578
|
+
N(b(e.label), 1)
|
|
579
579
|
])
|
|
580
580
|
], 10, lt),
|
|
581
581
|
e.description ? (a(), r("p", {
|
|
582
582
|
key: 0,
|
|
583
583
|
class: d(g.value)
|
|
584
|
-
},
|
|
584
|
+
}, b(e.description), 3)) : f("", !0)
|
|
585
585
|
])
|
|
586
586
|
]));
|
|
587
587
|
}
|
|
@@ -678,7 +678,7 @@ const Ue = {
|
|
|
678
678
|
return (n, i) => (a(), r("div", {
|
|
679
679
|
class: d(D(v)(D(t)({ orientation: e.orientation, size: e.size, color: e.color }), { "opacity-50": e.faded }, l.value))
|
|
680
680
|
}, [
|
|
681
|
-
e.label && e.orientation === "horizontal" ? (a(), r("span", nt,
|
|
681
|
+
e.label && e.orientation === "horizontal" ? (a(), r("span", nt, b(e.label), 1)) : f("", !0)
|
|
682
682
|
], 2));
|
|
683
683
|
}
|
|
684
684
|
}, ot = ["aria-label"], it = {
|
|
@@ -758,7 +758,7 @@ const Ue = {
|
|
|
758
758
|
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
759
759
|
}, null, -1)
|
|
760
760
|
])], 2)),
|
|
761
|
-
e.label ? (a(), r("span", it,
|
|
761
|
+
e.label ? (a(), r("span", it, b(e.label), 1)) : f("", !0)
|
|
762
762
|
], 10, ot));
|
|
763
763
|
}
|
|
764
764
|
}, dt = ["src", "alt", "loading"], ct = {
|
|
@@ -810,7 +810,7 @@ const Ue = {
|
|
|
810
810
|
}
|
|
811
811
|
), m = u(
|
|
812
812
|
() => v(c({ aspectRatio: t.aspectRatio }), t.class)
|
|
813
|
-
),
|
|
813
|
+
), p = u(
|
|
814
814
|
() => v(
|
|
815
815
|
"h-full w-full transition-opacity duration-300",
|
|
816
816
|
{
|
|
@@ -838,7 +838,7 @@ const Ue = {
|
|
|
838
838
|
o("img", {
|
|
839
839
|
src: e.src,
|
|
840
840
|
alt: e.alt,
|
|
841
|
-
class: d(
|
|
841
|
+
class: d(p.value),
|
|
842
842
|
loading: e.loading,
|
|
843
843
|
onLoad: j,
|
|
844
844
|
onError: T
|
|
@@ -941,7 +941,7 @@ const Ue = {
|
|
|
941
941
|
setup(e, { expose: s, emit: t }) {
|
|
942
942
|
const l = e, n = t, i = H(null), c = u(() => l.id || be()), m = ($) => {
|
|
943
943
|
n("update:modelValue", $.target.value);
|
|
944
|
-
},
|
|
944
|
+
}, p = ($) => {
|
|
945
945
|
n("blur", $);
|
|
946
946
|
}, w = ($) => {
|
|
947
947
|
n("focus", $);
|
|
@@ -1000,7 +1000,7 @@ const Ue = {
|
|
|
1000
1000
|
"aria-describedby": R.value,
|
|
1001
1001
|
"aria-invalid": T.value,
|
|
1002
1002
|
onInput: m,
|
|
1003
|
-
onBlur:
|
|
1003
|
+
onBlur: p,
|
|
1004
1004
|
onFocus: w,
|
|
1005
1005
|
onKeydown: C
|
|
1006
1006
|
}, null, 42, ft),
|
|
@@ -1137,19 +1137,19 @@ const Ue = {
|
|
|
1137
1137
|
disabled: !1
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
|
-
), c = (
|
|
1140
|
+
), c = (p) => {
|
|
1141
1141
|
if (t.disabled) {
|
|
1142
|
-
|
|
1142
|
+
p.preventDefault();
|
|
1143
1143
|
return;
|
|
1144
1144
|
}
|
|
1145
|
-
m("click",
|
|
1145
|
+
m("click", p);
|
|
1146
1146
|
}, m = s;
|
|
1147
|
-
return (
|
|
1147
|
+
return (p, w) => (a(), M(X(l.value), {
|
|
1148
1148
|
href: l.value === "a" ? e.href : void 0,
|
|
1149
1149
|
to: l.value === "router-link" ? e.to : void 0,
|
|
1150
1150
|
target: e.external ? "_blank" : e.target,
|
|
1151
1151
|
rel: e.external ? "noopener noreferrer" : e.rel,
|
|
1152
|
-
class: d(D(v)(D(i)({ variant: e.variant, size: e.size, underline: e.underline, block: e.block, disabled: e.disabled }),
|
|
1152
|
+
class: d(D(v)(D(i)({ variant: e.variant, size: e.size, underline: e.underline, block: e.block, disabled: e.disabled }), p.$attrs.class)),
|
|
1153
1153
|
onClick: c
|
|
1154
1154
|
}, {
|
|
1155
1155
|
default: S(() => [
|
|
@@ -1158,7 +1158,7 @@ const Ue = {
|
|
|
1158
1158
|
name: e.icon,
|
|
1159
1159
|
class: d(n.value)
|
|
1160
1160
|
}, null, 8, ["name", "class"])) : f("", !0),
|
|
1161
|
-
h(
|
|
1161
|
+
h(p.$slots, "default"),
|
|
1162
1162
|
e.icon && e.iconPosition === "right" ? (a(), M(Y, {
|
|
1163
1163
|
key: 1,
|
|
1164
1164
|
name: e.icon,
|
|
@@ -1230,7 +1230,7 @@ const Ue = {
|
|
|
1230
1230
|
}, null, 10, ht)) : (a(), r("div", {
|
|
1231
1231
|
key: 1,
|
|
1232
1232
|
class: d(i.value)
|
|
1233
|
-
},
|
|
1233
|
+
}, b(e.text || "Logo"), 3))
|
|
1234
1234
|
], 2));
|
|
1235
1235
|
}
|
|
1236
1236
|
}, xt = ["value", "disabled", "selected"], Le = {
|
|
@@ -1260,7 +1260,7 @@ const Ue = {
|
|
|
1260
1260
|
selected: e.selected
|
|
1261
1261
|
}, [
|
|
1262
1262
|
h(s.$slots, "default", {}, () => [
|
|
1263
|
-
N(
|
|
1263
|
+
N(b(e.label), 1)
|
|
1264
1264
|
])
|
|
1265
1265
|
], 8, xt));
|
|
1266
1266
|
}
|
|
@@ -1290,8 +1290,8 @@ const Ue = {
|
|
|
1290
1290
|
},
|
|
1291
1291
|
setup(e) {
|
|
1292
1292
|
const s = e, t = u(() => {
|
|
1293
|
-
const
|
|
1294
|
-
return Math.min(Math.max(
|
|
1293
|
+
const p = s.value / s.max * 100;
|
|
1294
|
+
return Math.min(Math.max(p, 0), 100);
|
|
1295
1295
|
}), l = x(
|
|
1296
1296
|
"relative w-full overflow-hidden rounded-full bg-secondary",
|
|
1297
1297
|
{
|
|
@@ -1322,7 +1322,7 @@ const Ue = {
|
|
|
1322
1322
|
), m = u(
|
|
1323
1323
|
() => "absolute inset-0 flex items-center justify-center text-xs font-medium text-primary-foreground"
|
|
1324
1324
|
);
|
|
1325
|
-
return (
|
|
1325
|
+
return (p, w) => (a(), r("div", {
|
|
1326
1326
|
class: d(i.value)
|
|
1327
1327
|
}, [
|
|
1328
1328
|
o("div", {
|
|
@@ -1336,7 +1336,7 @@ const Ue = {
|
|
|
1336
1336
|
e.showLabel ? (a(), r("span", {
|
|
1337
1337
|
key: 0,
|
|
1338
1338
|
class: d(m.value)
|
|
1339
|
-
},
|
|
1339
|
+
}, b(t.value) + "% ", 3)) : f("", !0)
|
|
1340
1340
|
], 2));
|
|
1341
1341
|
}
|
|
1342
1342
|
}, Ct = { class: "flex items-center space-x-2" }, $t = ["aria-checked", "disabled"], St = {
|
|
@@ -1383,7 +1383,7 @@ const Ue = {
|
|
|
1383
1383
|
"h-3 w-3": t.size === "lg"
|
|
1384
1384
|
}
|
|
1385
1385
|
)
|
|
1386
|
-
),
|
|
1386
|
+
), p = u(
|
|
1387
1387
|
() => v(
|
|
1388
1388
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
1389
1389
|
!t.disabled && "cursor-pointer"
|
|
@@ -1407,9 +1407,9 @@ const Ue = {
|
|
|
1407
1407
|
], 10, $t),
|
|
1408
1408
|
e.label ? (a(), r("label", {
|
|
1409
1409
|
key: 0,
|
|
1410
|
-
class: d(
|
|
1410
|
+
class: d(p.value),
|
|
1411
1411
|
onClick: w
|
|
1412
|
-
},
|
|
1412
|
+
}, b(e.label), 3)) : f("", !0)
|
|
1413
1413
|
]));
|
|
1414
1414
|
}
|
|
1415
1415
|
}, zt = ["value", "disabled"], we = {
|
|
@@ -1542,7 +1542,7 @@ const Ue = {
|
|
|
1542
1542
|
size: t.size,
|
|
1543
1543
|
checked: t.modelValue
|
|
1544
1544
|
})
|
|
1545
|
-
),
|
|
1545
|
+
), p = () => {
|
|
1546
1546
|
t.disabled || l("update:modelValue", !t.modelValue);
|
|
1547
1547
|
};
|
|
1548
1548
|
return (w, C) => (a(), r("button", {
|
|
@@ -1551,7 +1551,7 @@ const Ue = {
|
|
|
1551
1551
|
"aria-checked": e.modelValue,
|
|
1552
1552
|
disabled: e.disabled,
|
|
1553
1553
|
class: d(c.value),
|
|
1554
|
-
onClick:
|
|
1554
|
+
onClick: p
|
|
1555
1555
|
}, [
|
|
1556
1556
|
o("span", {
|
|
1557
1557
|
class: d(m.value)
|
|
@@ -1668,7 +1668,7 @@ const Ue = {
|
|
|
1668
1668
|
setup(e, { expose: s, emit: t }) {
|
|
1669
1669
|
const l = e, n = t, i = H(null), c = u(() => l.id || be()), m = (g) => {
|
|
1670
1670
|
n("update:modelValue", g.target.value), l.autoResize && Ce(() => k());
|
|
1671
|
-
},
|
|
1671
|
+
}, p = (g) => n("blur", g), w = (g) => n("focus", g), C = (g) => n("keydown", g), j = u(() => !!l.error || l.variant === "error"), T = u(
|
|
1672
1672
|
() => l.error ? `${c.value}-error` : void 0
|
|
1673
1673
|
), R = x(
|
|
1674
1674
|
"block w-full rounded-lg border transition-colors duration-200 placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-offset-0 disabled:bg-slate-50 disabled:text-slate-500 disabled:cursor-not-allowed",
|
|
@@ -1725,7 +1725,7 @@ const Ue = {
|
|
|
1725
1725
|
"aria-describedby": T.value,
|
|
1726
1726
|
"aria-invalid": j.value,
|
|
1727
1727
|
onInput: m,
|
|
1728
|
-
onBlur:
|
|
1728
|
+
onBlur: p,
|
|
1729
1729
|
onFocus: w,
|
|
1730
1730
|
onKeydown: C
|
|
1731
1731
|
}, null, 42, Mt));
|
|
@@ -1779,7 +1779,7 @@ const Ue = {
|
|
|
1779
1779
|
() => v(n({ placement: s.placement }), s.class)
|
|
1780
1780
|
), m = u(
|
|
1781
1781
|
() => i({ placement: s.placement })
|
|
1782
|
-
),
|
|
1782
|
+
), p = () => {
|
|
1783
1783
|
l && clearTimeout(l), l = setTimeout(() => {
|
|
1784
1784
|
t.value = !0;
|
|
1785
1785
|
}, s.delay);
|
|
@@ -1788,7 +1788,7 @@ const Ue = {
|
|
|
1788
1788
|
};
|
|
1789
1789
|
return (C, j) => (a(), r("div", {
|
|
1790
1790
|
class: "relative inline-block",
|
|
1791
|
-
onMouseenter:
|
|
1791
|
+
onMouseenter: p,
|
|
1792
1792
|
onMouseleave: w
|
|
1793
1793
|
}, [
|
|
1794
1794
|
h(C.$slots, "default"),
|
|
@@ -1806,7 +1806,7 @@ const Ue = {
|
|
|
1806
1806
|
class: d(c.value),
|
|
1807
1807
|
role: "tooltip"
|
|
1808
1808
|
}, [
|
|
1809
|
-
N(
|
|
1809
|
+
N(b(e.content) + " ", 1),
|
|
1810
1810
|
o("div", {
|
|
1811
1811
|
class: d(m.value)
|
|
1812
1812
|
}, null, 2)
|
|
@@ -1921,7 +1921,7 @@ const Ue = {
|
|
|
1921
1921
|
"whitespace-nowrap": s.noWrap
|
|
1922
1922
|
}
|
|
1923
1923
|
]);
|
|
1924
|
-
return (m,
|
|
1924
|
+
return (m, p) => (a(), M(X(t.value), {
|
|
1925
1925
|
class: d(c.value)
|
|
1926
1926
|
}, {
|
|
1927
1927
|
default: S(() => [
|
|
@@ -1975,7 +1975,7 @@ const Ue = {
|
|
|
1975
1975
|
d="M12 9v2m0 4h.01M21 12A9 9 0 1112 3a9 9 0 019 9z" />
|
|
1976
1976
|
</svg>
|
|
1977
1977
|
`
|
|
1978
|
-
},
|
|
1978
|
+
}, p = {
|
|
1979
1979
|
template: `
|
|
1980
1980
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
1981
1981
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
@@ -2005,7 +2005,7 @@ const Ue = {
|
|
|
2005
2005
|
`
|
|
2006
2006
|
}, T = u(() => ({
|
|
2007
2007
|
info: m,
|
|
2008
|
-
success:
|
|
2008
|
+
success: p,
|
|
2009
2009
|
warning: w,
|
|
2010
2010
|
error: C,
|
|
2011
2011
|
default: m,
|
|
@@ -2061,12 +2061,12 @@ const Ue = {
|
|
|
2061
2061
|
}, null, 8, ["class"]))
|
|
2062
2062
|
])) : f("", !0),
|
|
2063
2063
|
o("div", At, [
|
|
2064
|
-
e.title ? (a(), r("h4", Pt,
|
|
2064
|
+
e.title ? (a(), r("h4", Pt, b(e.title), 1)) : f("", !0),
|
|
2065
2065
|
o("div", {
|
|
2066
2066
|
class: d(["text-sm", { "mt-0": !e.title, "mt-1": e.title }])
|
|
2067
2067
|
}, [
|
|
2068
2068
|
h(g.$slots, "default", {}, () => [
|
|
2069
|
-
N(
|
|
2069
|
+
N(b(e.message), 1)
|
|
2070
2070
|
])
|
|
2071
2071
|
], 2),
|
|
2072
2072
|
g.$slots.actions || e.actions.length > 0 ? (a(), r("div", Ft, [
|
|
@@ -2078,7 +2078,7 @@ const Ue = {
|
|
|
2078
2078
|
onClick: (I) => c($)
|
|
2079
2079
|
}, {
|
|
2080
2080
|
default: S(() => [
|
|
2081
|
-
N(
|
|
2081
|
+
N(b($.label), 1)
|
|
2082
2082
|
]),
|
|
2083
2083
|
_: 2
|
|
2084
2084
|
}, 1032, ["variant", "size", "onClick"]))), 128))
|
|
@@ -2150,7 +2150,7 @@ const Ue = {
|
|
|
2150
2150
|
"aria-current": m === e.items.length - 1 ? "page" : void 0
|
|
2151
2151
|
}, {
|
|
2152
2152
|
default: S(() => [
|
|
2153
|
-
N(
|
|
2153
|
+
N(b(c.label), 1)
|
|
2154
2154
|
]),
|
|
2155
2155
|
_: 2
|
|
2156
2156
|
}, 1032, ["href", "class", "aria-current"])),
|
|
@@ -2288,7 +2288,7 @@ const Ue = {
|
|
|
2288
2288
|
xl: "p-8"
|
|
2289
2289
|
}
|
|
2290
2290
|
}
|
|
2291
|
-
}),
|
|
2291
|
+
}), p = x(
|
|
2292
2292
|
"border-t border-slate-100 bg-slate-50/50",
|
|
2293
2293
|
{
|
|
2294
2294
|
variants: {
|
|
@@ -2326,11 +2326,11 @@ const Ue = {
|
|
|
2326
2326
|
e.title ? (a(), r("h3", {
|
|
2327
2327
|
key: 0,
|
|
2328
2328
|
class: d(Yt)
|
|
2329
|
-
},
|
|
2329
|
+
}, b(e.title), 1)) : f("", !0),
|
|
2330
2330
|
e.subtitle ? (a(), r("p", {
|
|
2331
2331
|
key: 1,
|
|
2332
2332
|
class: d(Xt)
|
|
2333
|
-
},
|
|
2333
|
+
}, b(e.subtitle), 1)) : f("", !0)
|
|
2334
2334
|
]),
|
|
2335
2335
|
C.$slots.actions ? (a(), r("div", Gt, [
|
|
2336
2336
|
h(C.$slots, "actions")
|
|
@@ -2359,7 +2359,7 @@ const Ue = {
|
|
|
2359
2359
|
], 2)) : f("", !0),
|
|
2360
2360
|
C.$slots.footer ? (a(), r("div", {
|
|
2361
2361
|
key: 3,
|
|
2362
|
-
class: d(D(v)(D(
|
|
2362
|
+
class: d(D(v)(D(p)({ padding: e.padding })))
|
|
2363
2363
|
}, [
|
|
2364
2364
|
h(C.$slots, "footer")
|
|
2365
2365
|
], 2)) : f("", !0)
|
|
@@ -2557,7 +2557,7 @@ const Ue = {
|
|
|
2557
2557
|
() => v(n({ variant: s.variant }), "h-10 px-4 py-2")
|
|
2558
2558
|
), m = u(
|
|
2559
2559
|
() => v(i({ placement: s.placement }))
|
|
2560
|
-
),
|
|
2560
|
+
), p = () => {
|
|
2561
2561
|
t.value = !t.value;
|
|
2562
2562
|
}, w = (C) => {
|
|
2563
2563
|
l.value && !l.value.contains(C.target) && (t.value = !1);
|
|
@@ -2573,12 +2573,12 @@ const Ue = {
|
|
|
2573
2573
|
}, [
|
|
2574
2574
|
o("button", {
|
|
2575
2575
|
class: d(c.value),
|
|
2576
|
-
onClick:
|
|
2576
|
+
onClick: p,
|
|
2577
2577
|
"aria-expanded": t.value,
|
|
2578
2578
|
"aria-haspopup": !0
|
|
2579
2579
|
}, [
|
|
2580
2580
|
h(C.$slots, "trigger", {}, () => [
|
|
2581
|
-
o("span", null,
|
|
2581
|
+
o("span", null, b(e.triggerText), 1),
|
|
2582
2582
|
y(Y, {
|
|
2583
2583
|
name: "chevron-down",
|
|
2584
2584
|
class: "ml-2 h-4 w-4"
|
|
@@ -2640,7 +2640,7 @@ const Ue = {
|
|
|
2640
2640
|
), c = (m) => {
|
|
2641
2641
|
t.disabled || l("click", m);
|
|
2642
2642
|
};
|
|
2643
|
-
return (m,
|
|
2643
|
+
return (m, p) => (a(), M(X(e.href ? "a" : "button"), {
|
|
2644
2644
|
href: e.href,
|
|
2645
2645
|
class: d(i.value),
|
|
2646
2646
|
disabled: e.disabled,
|
|
@@ -2654,7 +2654,7 @@ const Ue = {
|
|
|
2654
2654
|
class: "mr-2 h-4 w-4"
|
|
2655
2655
|
}, null, 8, ["name"])) : f("", !0),
|
|
2656
2656
|
h(m.$slots, "default"),
|
|
2657
|
-
e.shortcut ? (a(), r("span", da,
|
|
2657
|
+
e.shortcut ? (a(), r("span", da, b(e.shortcut), 1)) : f("", !0)
|
|
2658
2658
|
]),
|
|
2659
2659
|
_: 3
|
|
2660
2660
|
}, 8, ["href", "class", "disabled"]));
|
|
@@ -2690,7 +2690,7 @@ const Ue = {
|
|
|
2690
2690
|
}
|
|
2691
2691
|
}
|
|
2692
2692
|
}
|
|
2693
|
-
),
|
|
2693
|
+
), p = u(
|
|
2694
2694
|
() => v(
|
|
2695
2695
|
m({ variant: t.variant }),
|
|
2696
2696
|
i.value && "border-primary bg-primary/5"
|
|
@@ -2722,7 +2722,7 @@ const Ue = {
|
|
|
2722
2722
|
};
|
|
2723
2723
|
return ($, I) => (a(), r("div", ua, [
|
|
2724
2724
|
o("div", {
|
|
2725
|
-
class: d(
|
|
2725
|
+
class: d(p.value),
|
|
2726
2726
|
onDrop: w,
|
|
2727
2727
|
onDragover: C,
|
|
2728
2728
|
onDragenter: j,
|
|
@@ -2747,7 +2747,7 @@ const Ue = {
|
|
|
2747
2747
|
o("span", { class: "font-semibold" }, "Click to upload"),
|
|
2748
2748
|
N(" or drag and drop ")
|
|
2749
2749
|
], -1)),
|
|
2750
|
-
e.accept ? (a(), r("p", va,
|
|
2750
|
+
e.accept ? (a(), r("p", va, b(e.accept), 1)) : f("", !0)
|
|
2751
2751
|
])
|
|
2752
2752
|
], 34),
|
|
2753
2753
|
n.value.length > 0 ? (a(), r("div", ga, [
|
|
@@ -2760,8 +2760,8 @@ const Ue = {
|
|
|
2760
2760
|
name: "file",
|
|
2761
2761
|
class: "h-4 w-4 text-muted-foreground"
|
|
2762
2762
|
}),
|
|
2763
|
-
o("span", ba,
|
|
2764
|
-
o("span", ha, "(" +
|
|
2763
|
+
o("span", ba, b(P.name), 1),
|
|
2764
|
+
o("span", ha, "(" + b(B(P.size)) + ")", 1)
|
|
2765
2765
|
]),
|
|
2766
2766
|
o("button", {
|
|
2767
2767
|
onClick: (te) => g(E),
|
|
@@ -2821,7 +2821,7 @@ const Ue = {
|
|
|
2821
2821
|
}
|
|
2822
2822
|
},
|
|
2823
2823
|
defaultVariants: { size: "md" }
|
|
2824
|
-
}),
|
|
2824
|
+
}), p = x("block text-slate-900", {
|
|
2825
2825
|
variants: {
|
|
2826
2826
|
size: {
|
|
2827
2827
|
sm: "text-xs font-medium",
|
|
@@ -2869,15 +2869,15 @@ const Ue = {
|
|
|
2869
2869
|
e.label ? (a(), r("label", {
|
|
2870
2870
|
key: 0,
|
|
2871
2871
|
for: D(n),
|
|
2872
|
-
class: d(D(v)(D(
|
|
2872
|
+
class: d(D(v)(D(p)({ size: e.size })))
|
|
2873
2873
|
}, [
|
|
2874
|
-
N(
|
|
2874
|
+
N(b(e.label) + " ", 1),
|
|
2875
2875
|
e.required ? (a(), r("span", wa, "*")) : f("", !0)
|
|
2876
2876
|
], 10, ka)) : f("", !0),
|
|
2877
2877
|
e.description ? (a(), r("p", {
|
|
2878
2878
|
key: 1,
|
|
2879
2879
|
class: d(D(v)(D(w)({ size: e.size })))
|
|
2880
|
-
},
|
|
2880
|
+
}, b(e.description), 3)) : f("", !0),
|
|
2881
2881
|
o("div", Ca, [
|
|
2882
2882
|
h(T.$slots, "default", {
|
|
2883
2883
|
fieldId: D(n),
|
|
@@ -2902,7 +2902,7 @@ const Ue = {
|
|
|
2902
2902
|
"aria-live": "polite"
|
|
2903
2903
|
}, [
|
|
2904
2904
|
y(s, { class: "w-4 h-4 flex-shrink-0 mt-0.5" }),
|
|
2905
|
-
o("span", null,
|
|
2905
|
+
o("span", null, b(e.error), 1)
|
|
2906
2906
|
], 10, $a)) : f("", !0)
|
|
2907
2907
|
]),
|
|
2908
2908
|
_: 1
|
|
@@ -2911,7 +2911,7 @@ const Ue = {
|
|
|
2911
2911
|
key: 2,
|
|
2912
2912
|
id: `${D(n)}-help`,
|
|
2913
2913
|
class: d(D(v)(D(j)({ size: e.size })))
|
|
2914
|
-
},
|
|
2914
|
+
}, b(e.helpText), 11, Sa)) : f("", !0),
|
|
2915
2915
|
y(ae, {
|
|
2916
2916
|
"enter-active-class": "transition-all duration-200",
|
|
2917
2917
|
"enter-from-class": "opacity-0 -translate-y-1",
|
|
@@ -2926,7 +2926,7 @@ const Ue = {
|
|
|
2926
2926
|
class: d(D(v)(D(C)({ size: e.size, intent: "success" })))
|
|
2927
2927
|
}, [
|
|
2928
2928
|
y(t, { class: "w-4 h-4 flex-shrink-0 mt-0.5" }),
|
|
2929
|
-
o("span", null,
|
|
2929
|
+
o("span", null, b(e.success), 1)
|
|
2930
2930
|
], 2)) : f("", !0)
|
|
2931
2931
|
]),
|
|
2932
2932
|
_: 1
|
|
@@ -3017,7 +3017,7 @@ const Ue = {
|
|
|
3017
3017
|
() => v(n({ variant: t.variant }))
|
|
3018
3018
|
), m = u(
|
|
3019
3019
|
() => v(i({ variant: t.variant }))
|
|
3020
|
-
),
|
|
3020
|
+
), p = (w) => {
|
|
3021
3021
|
l("click", w);
|
|
3022
3022
|
};
|
|
3023
3023
|
return (w, C) => (a(), r("li", {
|
|
@@ -3027,7 +3027,7 @@ const Ue = {
|
|
|
3027
3027
|
(a(), M(X(e.href ? "a" : "div"), {
|
|
3028
3028
|
href: e.href,
|
|
3029
3029
|
class: d(m.value),
|
|
3030
|
-
onClick:
|
|
3030
|
+
onClick: p
|
|
3031
3031
|
}, {
|
|
3032
3032
|
default: S(() => [
|
|
3033
3033
|
w.$slots.icon || e.icon ? (a(), r("div", ja, [
|
|
@@ -3040,8 +3040,8 @@ const Ue = {
|
|
|
3040
3040
|
])
|
|
3041
3041
|
])) : f("", !0),
|
|
3042
3042
|
o("div", Ia, [
|
|
3043
|
-
e.title ? (a(), r("div", La,
|
|
3044
|
-
e.description ? (a(), r("div", Da,
|
|
3043
|
+
e.title ? (a(), r("div", La, b(e.title), 1)) : f("", !0),
|
|
3044
|
+
e.description ? (a(), r("div", Da, b(e.description), 1)) : f("", !0),
|
|
3045
3045
|
h(w.$slots, "default")
|
|
3046
3046
|
]),
|
|
3047
3047
|
w.$slots.action ? (a(), r("div", Aa, [
|
|
@@ -3086,7 +3086,7 @@ const Ue = {
|
|
|
3086
3086
|
), c = (m) => {
|
|
3087
3087
|
t.disabled || l("click", m);
|
|
3088
3088
|
};
|
|
3089
|
-
return (m,
|
|
3089
|
+
return (m, p) => (a(), M(X(e.href ? "a" : "button"), {
|
|
3090
3090
|
href: e.href,
|
|
3091
3091
|
class: d(i.value),
|
|
3092
3092
|
disabled: e.disabled,
|
|
@@ -3100,7 +3100,7 @@ const Ue = {
|
|
|
3100
3100
|
class: "mr-2 h-4 w-4"
|
|
3101
3101
|
}, null, 8, ["name"])) : f("", !0),
|
|
3102
3102
|
h(m.$slots, "default"),
|
|
3103
|
-
e.shortcut ? (a(), r("span", Fa,
|
|
3103
|
+
e.shortcut ? (a(), r("span", Fa, b(e.shortcut), 1)) : f("", !0),
|
|
3104
3104
|
e.hasSubmenu ? (a(), M(Y, {
|
|
3105
3105
|
key: 2,
|
|
3106
3106
|
name: "chevron-right",
|
|
@@ -3132,8 +3132,8 @@ const Ue = {
|
|
|
3132
3132
|
};
|
|
3133
3133
|
return oe(() => t.modelValue, (c) => {
|
|
3134
3134
|
if (c) {
|
|
3135
|
-
const m = (
|
|
3136
|
-
|
|
3135
|
+
const m = (p) => {
|
|
3136
|
+
p.key === "Escape" && n();
|
|
3137
3137
|
};
|
|
3138
3138
|
return document.addEventListener("keydown", m), () => {
|
|
3139
3139
|
document.removeEventListener("keydown", m);
|
|
@@ -3188,8 +3188,8 @@ const Ue = {
|
|
|
3188
3188
|
},
|
|
3189
3189
|
setup(e) {
|
|
3190
3190
|
return (s, t) => (a(), r("div", Ha, [
|
|
3191
|
-
e.title ? (a(), r("h2", Oa,
|
|
3192
|
-
e.description ? (a(), r("p", qa,
|
|
3191
|
+
e.title ? (a(), r("h2", Oa, b(e.title), 1)) : f("", !0),
|
|
3192
|
+
e.description ? (a(), r("p", qa, b(e.description), 1)) : f("", !0),
|
|
3193
3193
|
h(s.$slots, "default")
|
|
3194
3194
|
]));
|
|
3195
3195
|
}
|
|
@@ -3303,7 +3303,7 @@ const Ue = {
|
|
|
3303
3303
|
destructive: "text-destructive"
|
|
3304
3304
|
}
|
|
3305
3305
|
}
|
|
3306
|
-
}),
|
|
3306
|
+
}), p = u(
|
|
3307
3307
|
() => v(i({ variant: t.variant }), "p-4")
|
|
3308
3308
|
), w = u(() => c[t.variant]), C = u(() => m({ variant: t.variant })), j = () => {
|
|
3309
3309
|
n.value = !1, l("dismiss");
|
|
@@ -3323,7 +3323,7 @@ const Ue = {
|
|
|
3323
3323
|
default: S(() => [
|
|
3324
3324
|
n.value ? (a(), r("div", {
|
|
3325
3325
|
key: 0,
|
|
3326
|
-
class: d(
|
|
3326
|
+
class: d(p.value),
|
|
3327
3327
|
role: "alert",
|
|
3328
3328
|
"aria-live": e.variant === "destructive" ? "assertive" : "polite"
|
|
3329
3329
|
}, [
|
|
@@ -3335,11 +3335,11 @@ const Ue = {
|
|
|
3335
3335
|
}, null, 8, ["name", "class"])
|
|
3336
3336
|
])) : f("", !0),
|
|
3337
3337
|
o("div", Ya, [
|
|
3338
|
-
e.title ? (a(), r("div", Xa,
|
|
3338
|
+
e.title ? (a(), r("div", Xa, b(e.title), 1)) : f("", !0),
|
|
3339
3339
|
e.message ? (a(), r("div", {
|
|
3340
3340
|
key: 1,
|
|
3341
3341
|
class: d(["text-sm", { "mt-1": e.title }])
|
|
3342
|
-
},
|
|
3342
|
+
}, b(e.message), 3)) : f("", !0),
|
|
3343
3343
|
h(T.$slots, "default")
|
|
3344
3344
|
]),
|
|
3345
3345
|
e.dismissible ? (a(), r("button", {
|
|
@@ -3406,15 +3406,15 @@ const es = {
|
|
|
3406
3406
|
});
|
|
3407
3407
|
return e.then((m) => {
|
|
3408
3408
|
ue(c);
|
|
3409
|
-
const
|
|
3410
|
-
return re(
|
|
3409
|
+
const p = typeof l == "function" ? l(m) : l;
|
|
3410
|
+
return re(p, {
|
|
3411
3411
|
...i,
|
|
3412
3412
|
variant: "success"
|
|
3413
3413
|
}), m;
|
|
3414
3414
|
}).catch((m) => {
|
|
3415
3415
|
ue(c);
|
|
3416
|
-
const
|
|
3417
|
-
throw re(
|
|
3416
|
+
const p = typeof n == "function" ? n(m) : n;
|
|
3417
|
+
throw re(p, {
|
|
3418
3418
|
...i,
|
|
3419
3419
|
variant: "error"
|
|
3420
3420
|
}), m;
|
|
@@ -3503,7 +3503,7 @@ const es = {
|
|
|
3503
3503
|
},
|
|
3504
3504
|
defaultVariants: { variant: "default" }
|
|
3505
3505
|
}
|
|
3506
|
-
), m = (z) => v(c({ variant: z.variant })),
|
|
3506
|
+
), m = (z) => v(c({ variant: z.variant })), p = {
|
|
3507
3507
|
default: "bell",
|
|
3508
3508
|
info: "info",
|
|
3509
3509
|
success: "check-circle",
|
|
@@ -3517,7 +3517,7 @@ const es = {
|
|
|
3517
3517
|
warning: "text-yellow-600 dark:text-yellow-400",
|
|
3518
3518
|
error: "text-red-600 dark:text-red-400",
|
|
3519
3519
|
loading: "text-muted-foreground animate-spin"
|
|
3520
|
-
}, C = (z) => z.icon ||
|
|
3520
|
+
}, C = (z) => z.icon || p[z.variant] || p.default, j = (z) => {
|
|
3521
3521
|
const k = w[z.variant] || w.default;
|
|
3522
3522
|
return z.variant === "loading" ? `${k} animate-spin` : k;
|
|
3523
3523
|
}, T = (z) => z.icon !== !1, R = (z) => z.dismissible !== !1 && (z.closeButton || s.closeButton || z.dismissible);
|
|
@@ -3552,9 +3552,9 @@ const es = {
|
|
|
3552
3552
|
class: d([j(g), "h-4 w-4 shrink-0"])
|
|
3553
3553
|
}, null, 8, ["name", "class"])) : f("", !0),
|
|
3554
3554
|
o("div", ls, [
|
|
3555
|
-
g.title ? (a(), r("div", ns,
|
|
3556
|
-
g.message ? (a(), r("div", rs,
|
|
3557
|
-
g.description ? (a(), r("div", os,
|
|
3555
|
+
g.title ? (a(), r("div", ns, b(g.title), 1)) : f("", !0),
|
|
3556
|
+
g.message ? (a(), r("div", rs, b(g.message), 1)) : f("", !0),
|
|
3557
|
+
g.description ? (a(), r("div", os, b(g.description), 1)) : f("", !0),
|
|
3558
3558
|
g.component ? (a(), M(X(g.component), me({
|
|
3559
3559
|
key: 3,
|
|
3560
3560
|
ref_for: !0
|
|
@@ -3564,7 +3564,7 @@ const es = {
|
|
|
3564
3564
|
key: 1,
|
|
3565
3565
|
onClick: g.action.onClick,
|
|
3566
3566
|
class: "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-xs font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
|
|
3567
|
-
},
|
|
3567
|
+
}, b(g.action.label), 9, is)) : f("", !0),
|
|
3568
3568
|
R(g) ? (a(), r("button", {
|
|
3569
3569
|
key: 2,
|
|
3570
3570
|
onClick: (B) => D(l)(g.id),
|
|
@@ -3643,7 +3643,7 @@ const es = {
|
|
|
3643
3643
|
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"/>
|
|
3644
3644
|
<path class="opacity-75" fill="currentColor" d="m4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"/>
|
|
3645
3645
|
</svg>`
|
|
3646
|
-
}, i = e, c = s, m = H(null),
|
|
3646
|
+
}, i = e, c = s, m = H(null), p = H(null), w = H(!1), C = H(-1), j = H(null), T = (A) => {
|
|
3647
3647
|
const U = A.target.value;
|
|
3648
3648
|
c("update:modelValue", U), j.value && clearTimeout(j.value), j.value = setTimeout(() => {
|
|
3649
3649
|
U.length >= i.minLength ? (c("search", U), w.value = !0) : w.value = !1;
|
|
@@ -3655,7 +3655,7 @@ const es = {
|
|
|
3655
3655
|
w.value = !1, C.value = -1;
|
|
3656
3656
|
}, 150);
|
|
3657
3657
|
}, k = () => {
|
|
3658
|
-
c("update:modelValue", ""), c("clear"), w.value = !1,
|
|
3658
|
+
c("update:modelValue", ""), c("clear"), w.value = !1, p.value?.focus();
|
|
3659
3659
|
}, g = (A) => {
|
|
3660
3660
|
c("select", A), w.value = !1, C.value = -1;
|
|
3661
3661
|
}, B = (A) => {
|
|
@@ -3722,7 +3722,7 @@ const es = {
|
|
|
3722
3722
|
]),
|
|
3723
3723
|
o("input", {
|
|
3724
3724
|
ref_key: "inputRef",
|
|
3725
|
-
ref:
|
|
3725
|
+
ref: p,
|
|
3726
3726
|
value: e.modelValue,
|
|
3727
3727
|
placeholder: e.placeholder,
|
|
3728
3728
|
disabled: e.disabled,
|
|
@@ -3780,9 +3780,9 @@ const es = {
|
|
|
3780
3780
|
innerHTML: $(J.description)
|
|
3781
3781
|
}, null, 8, ks)) : f("", !0)
|
|
3782
3782
|
]),
|
|
3783
|
-
J.category ? (a(), r("div", ws,
|
|
3783
|
+
J.category ? (a(), r("div", ws, b(J.category), 1)) : f("", !0)
|
|
3784
3784
|
], 42, hs))), 128))
|
|
3785
|
-
])) : e.showNoResults ? (a(), r("div", Cs,
|
|
3785
|
+
])) : e.showNoResults ? (a(), r("div", Cs, b(e.noResultsText), 1)) : f("", !0),
|
|
3786
3786
|
A.$slots.footer ? (a(), r("div", $s, [
|
|
3787
3787
|
h(A.$slots, "footer")
|
|
3788
3788
|
])) : f("", !0)
|
|
@@ -3815,16 +3815,16 @@ const es = {
|
|
|
3815
3815
|
min: e.min,
|
|
3816
3816
|
max: e.max,
|
|
3817
3817
|
step: e.step,
|
|
3818
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
3818
|
+
"onUpdate:modelValue": m[0] || (m[0] = (p) => n.value = p),
|
|
3819
3819
|
onInput: i,
|
|
3820
3820
|
class: "w-full accent-blue-500 cursor-pointer"
|
|
3821
3821
|
}, null, 40, Bs), [
|
|
3822
3822
|
[_e, n.value]
|
|
3823
3823
|
]),
|
|
3824
3824
|
o("div", Vs, [
|
|
3825
|
-
o("span", null,
|
|
3826
|
-
o("span", null,
|
|
3827
|
-
o("span", null,
|
|
3825
|
+
o("span", null, b(e.min), 1),
|
|
3826
|
+
o("span", null, b(n.value), 1),
|
|
3827
|
+
o("span", null, b(e.max), 1)
|
|
3828
3828
|
])
|
|
3829
3829
|
]));
|
|
3830
3830
|
}
|
|
@@ -3855,11 +3855,11 @@ const es = {
|
|
|
3855
3855
|
e.active ? "bg-blue-500 border-blue-500 text-white" : e.completed ? "bg-green-500 border-green-500 text-white" : "border-slate-300 text-slate-500"
|
|
3856
3856
|
])
|
|
3857
3857
|
}, [
|
|
3858
|
-
o("span", null,
|
|
3858
|
+
o("span", null, b(e.step), 1)
|
|
3859
3859
|
], 2),
|
|
3860
3860
|
o("div", Ls, [
|
|
3861
|
-
o("div", Ds,
|
|
3862
|
-
e.description ? (a(), r("div", As,
|
|
3861
|
+
o("div", Ds, b(e.title), 1),
|
|
3862
|
+
e.description ? (a(), r("div", As, b(e.description), 1)) : f("", !0)
|
|
3863
3863
|
])
|
|
3864
3864
|
]));
|
|
3865
3865
|
}
|
|
@@ -3878,14 +3878,14 @@ const es = {
|
|
|
3878
3878
|
registerTab: (i) => (l.value.push({ label: i }), l.value.length - 1)
|
|
3879
3879
|
}), (i, c) => (a(), r("div", null, [
|
|
3880
3880
|
o("div", Fs, [
|
|
3881
|
-
(a(!0), r(Q, null, K(l.value, (m,
|
|
3882
|
-
key:
|
|
3883
|
-
onClick: (w) => n(
|
|
3881
|
+
(a(!0), r(Q, null, K(l.value, (m, p) => (a(), r("button", {
|
|
3882
|
+
key: p,
|
|
3883
|
+
onClick: (w) => n(p),
|
|
3884
3884
|
class: d([
|
|
3885
3885
|
"px-4 py-2 -mb-px border-b-2 font-medium text-sm transition-colors",
|
|
3886
|
-
t.value ===
|
|
3886
|
+
t.value === p ? "border-blue-500 text-blue-600" : "border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300"
|
|
3887
3887
|
])
|
|
3888
|
-
},
|
|
3888
|
+
}, b(m.label), 11, Ns))), 128))
|
|
3889
3889
|
]),
|
|
3890
3890
|
o("div", Rs, [
|
|
3891
3891
|
h(i.$slots, "default")
|
|
@@ -3954,7 +3954,7 @@ const es = {
|
|
|
3954
3954
|
}
|
|
3955
3955
|
n("change", { index: q, expanded: i.value.includes(q) });
|
|
3956
3956
|
}
|
|
3957
|
-
}, m = (q) => i.value.includes(q),
|
|
3957
|
+
}, m = (q) => i.value.includes(q), p = x("w-full", {
|
|
3958
3958
|
variants: {
|
|
3959
3959
|
variant: {
|
|
3960
3960
|
default: "divide-y divide-slate-200",
|
|
@@ -4029,7 +4029,7 @@ const es = {
|
|
|
4029
4029
|
}
|
|
4030
4030
|
}
|
|
4031
4031
|
}), g = u(
|
|
4032
|
-
() => v(
|
|
4032
|
+
() => v(p({ variant: l.variant }))
|
|
4033
4033
|
), B = u(
|
|
4034
4034
|
() => v(w({ variant: l.variant }))
|
|
4035
4035
|
), $ = (q) => v(
|
|
@@ -4073,11 +4073,11 @@ const es = {
|
|
|
4073
4073
|
o("div", Es, [
|
|
4074
4074
|
o("h3", {
|
|
4075
4075
|
class: d(I.value)
|
|
4076
|
-
},
|
|
4076
|
+
}, b(A.title), 3),
|
|
4077
4077
|
A.subtitle ? (a(), r("p", {
|
|
4078
4078
|
key: 0,
|
|
4079
4079
|
class: d(P.value)
|
|
4080
|
-
},
|
|
4080
|
+
}, b(A.subtitle), 3)) : f("", !0)
|
|
4081
4081
|
])
|
|
4082
4082
|
]),
|
|
4083
4083
|
o("div", {
|
|
@@ -4167,7 +4167,7 @@ const es = {
|
|
|
4167
4167
|
lg: "p-6 text-lg"
|
|
4168
4168
|
}
|
|
4169
4169
|
}
|
|
4170
|
-
}),
|
|
4170
|
+
}), p = u(
|
|
4171
4171
|
() => v(i({ variant: t.variant }))
|
|
4172
4172
|
), w = u(
|
|
4173
4173
|
() => v(c({ size: t.size }))
|
|
@@ -4175,7 +4175,7 @@ const es = {
|
|
|
4175
4175
|
() => v(m({ size: t.size }))
|
|
4176
4176
|
);
|
|
4177
4177
|
return (j, T) => (a(), r("div", {
|
|
4178
|
-
class: d(
|
|
4178
|
+
class: d(p.value)
|
|
4179
4179
|
}, [
|
|
4180
4180
|
y(ee, {
|
|
4181
4181
|
class: d(w.value),
|
|
@@ -4222,7 +4222,7 @@ const es = {
|
|
|
4222
4222
|
template: `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
4223
4223
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
|
|
4224
4224
|
</svg>`
|
|
4225
|
-
}, l = /* @__PURE__ */ new Date(), n = H(l.getMonth()), i = H(l.getFullYear()), c = H(null), m = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
4225
|
+
}, l = /* @__PURE__ */ new Date(), n = H(l.getMonth()), i = H(l.getFullYear()), c = H(null), m = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], p = u(
|
|
4226
4226
|
() => new Date(i.value, n.value).toLocaleString("default", {
|
|
4227
4227
|
month: "long"
|
|
4228
4228
|
})
|
|
@@ -4260,7 +4260,7 @@ const es = {
|
|
|
4260
4260
|
]),
|
|
4261
4261
|
_: 1
|
|
4262
4262
|
}),
|
|
4263
|
-
o("div", Xs, p
|
|
4263
|
+
o("div", Xs, b(p.value) + " " + b(i.value), 1),
|
|
4264
4264
|
y(ee, {
|
|
4265
4265
|
class: "p-2 rounded-lg hover:bg-slate-100",
|
|
4266
4266
|
onClick: z,
|
|
@@ -4273,13 +4273,13 @@ const es = {
|
|
|
4273
4273
|
})
|
|
4274
4274
|
]),
|
|
4275
4275
|
o("div", Ws, [
|
|
4276
|
-
(a(), r(Q, null, K(m, (P) => o("div", { key: P },
|
|
4276
|
+
(a(), r(Q, null, K(m, (P) => o("div", { key: P }, b(P), 1)), 64))
|
|
4277
4277
|
]),
|
|
4278
4278
|
o("div", Js, [
|
|
4279
4279
|
(a(!0), r(Q, null, K(j.value, (P) => (a(), r("div", {
|
|
4280
4280
|
key: "prev-" + P,
|
|
4281
4281
|
class: "text-slate-400 text-sm"
|
|
4282
|
-
},
|
|
4282
|
+
}, b(P), 1))), 128)),
|
|
4283
4283
|
(a(!0), r(Q, null, K(w.value, (P) => (a(), M(ee, {
|
|
4284
4284
|
key: P,
|
|
4285
4285
|
onClick: (E) => B(P),
|
|
@@ -4290,14 +4290,14 @@ const es = {
|
|
|
4290
4290
|
])
|
|
4291
4291
|
}, {
|
|
4292
4292
|
default: S(() => [
|
|
4293
|
-
N(
|
|
4293
|
+
N(b(P), 1)
|
|
4294
4294
|
]),
|
|
4295
4295
|
_: 2
|
|
4296
4296
|
}, 1032, ["onClick", "class"]))), 128)),
|
|
4297
4297
|
(a(!0), r(Q, null, K(T.value, (P) => (a(), r("div", {
|
|
4298
4298
|
key: "next-" + P,
|
|
4299
4299
|
class: "text-slate-400 text-sm"
|
|
4300
|
-
},
|
|
4300
|
+
}, b(P), 1))), 128))
|
|
4301
4301
|
])
|
|
4302
4302
|
]));
|
|
4303
4303
|
}
|
|
@@ -4376,11 +4376,11 @@ const es = {
|
|
|
4376
4376
|
), m = u(
|
|
4377
4377
|
() => v(n({ size: "md" }))
|
|
4378
4378
|
);
|
|
4379
|
-
return (
|
|
4379
|
+
return (p, w) => e.title || e.description || p.$slots.header ? (a(), r("div", {
|
|
4380
4380
|
key: 0,
|
|
4381
4381
|
class: d(i.value)
|
|
4382
4382
|
}, [
|
|
4383
|
-
h(
|
|
4383
|
+
h(p.$slots, "header", {}, () => [
|
|
4384
4384
|
o("div", tl, [
|
|
4385
4385
|
o("div", null, [
|
|
4386
4386
|
e.title ? (a(), M(he, {
|
|
@@ -4388,7 +4388,7 @@ const es = {
|
|
|
4388
4388
|
class: d(c.value)
|
|
4389
4389
|
}, {
|
|
4390
4390
|
default: S(() => [
|
|
4391
|
-
N(
|
|
4391
|
+
N(b(e.title), 1)
|
|
4392
4392
|
]),
|
|
4393
4393
|
_: 1
|
|
4394
4394
|
}, 8, ["class"])) : f("", !0),
|
|
@@ -4397,13 +4397,13 @@ const es = {
|
|
|
4397
4397
|
class: d(m.value)
|
|
4398
4398
|
}, {
|
|
4399
4399
|
default: S(() => [
|
|
4400
|
-
N(
|
|
4400
|
+
N(b(e.description), 1)
|
|
4401
4401
|
]),
|
|
4402
4402
|
_: 1
|
|
4403
4403
|
}, 8, ["class"])) : f("", !0)
|
|
4404
4404
|
]),
|
|
4405
|
-
|
|
4406
|
-
h(
|
|
4405
|
+
p.$slots.filters ? (a(), r("div", al, [
|
|
4406
|
+
h(p.$slots, "filters")
|
|
4407
4407
|
])) : f("", !0)
|
|
4408
4408
|
])
|
|
4409
4409
|
])
|
|
@@ -4515,7 +4515,7 @@ const es = {
|
|
|
4515
4515
|
}), c = (k) => typeof k == "string" ? k : k?.key || k?.field || "unknown", m = (k, g) => {
|
|
4516
4516
|
const B = c(g);
|
|
4517
4517
|
return typeof g == "object" && g.accessor ? g.accessor(k) : B && B.includes(".") ? B.split(".").reduce(($, I) => $?.[I], k) : k?.[B];
|
|
4518
|
-
},
|
|
4518
|
+
}, p = (k, g) => {
|
|
4519
4519
|
const B = m(k, g);
|
|
4520
4520
|
return typeof g == "object" && g.formatter ? g.formatter(B, k) : B == null ? "" : B instanceof Date ? B.toLocaleDateString() : Array.isArray(B) ? B.join(", ") : B;
|
|
4521
4521
|
}, w = () => {
|
|
@@ -4574,7 +4574,7 @@ const es = {
|
|
|
4574
4574
|
column: B,
|
|
4575
4575
|
index: e.index
|
|
4576
4576
|
}, () => [
|
|
4577
|
-
N(p(
|
|
4577
|
+
N(b(p(e.item, B)), 1)
|
|
4578
4578
|
])
|
|
4579
4579
|
], 2))), 128)),
|
|
4580
4580
|
k.$slots.actions ? (a(), r("td", {
|
|
@@ -4708,7 +4708,7 @@ const es = {
|
|
|
4708
4708
|
defaultVariants: {
|
|
4709
4709
|
size: "sm"
|
|
4710
4710
|
}
|
|
4711
|
-
}), m = u(() => (t.currentPage - 1) * t.pageSize + 1),
|
|
4711
|
+
}), m = u(() => (t.currentPage - 1) * t.pageSize + 1), p = u(() => Math.min(t.currentPage * t.pageSize, t.total)), w = u(() => {
|
|
4712
4712
|
const z = [], k = t.totalPages, g = t.currentPage, B = t.maxVisiblePages;
|
|
4713
4713
|
if (k <= B)
|
|
4714
4714
|
for (let $ = 1; $ <= k; $++)
|
|
@@ -4742,7 +4742,7 @@ const es = {
|
|
|
4742
4742
|
class: d(C.value)
|
|
4743
4743
|
}, [
|
|
4744
4744
|
o("div", sl, [
|
|
4745
|
-
e.selectable && e.selectedCount > 0 ? (a(), r("div", ll,
|
|
4745
|
+
e.selectable && e.selectedCount > 0 ? (a(), r("div", ll, b(e.selectedCount) + " of " + b(e.total) + " selected ", 1)) : (a(), r("div", nl, " Showing " + b(m.value) + " to " + b(p.value) + " of " + b(e.total) + " entries ", 1)),
|
|
4746
4746
|
z.$slots.footer ? (a(), r("div", rl, [
|
|
4747
4747
|
h(z.$slots, "footer")
|
|
4748
4748
|
])) : f("", !0),
|
|
@@ -4820,7 +4820,7 @@ const es = {
|
|
|
4820
4820
|
key: g,
|
|
4821
4821
|
onClick: (B) => z.$emit("update:currentPage", g),
|
|
4822
4822
|
class: d(R(g === e.currentPage, !1))
|
|
4823
|
-
},
|
|
4823
|
+
}, b(g), 11, fl))), 128))
|
|
4824
4824
|
]),
|
|
4825
4825
|
o("button", {
|
|
4826
4826
|
disabled: e.currentPage === e.totalPages,
|
|
@@ -4863,7 +4863,7 @@ const es = {
|
|
|
4863
4863
|
], -1)
|
|
4864
4864
|
])], 10, gl)
|
|
4865
4865
|
]),
|
|
4866
|
-
o("div", pl, " Page " +
|
|
4866
|
+
o("div", pl, " Page " + b(e.currentPage) + " of " + b(e.totalPages), 1)
|
|
4867
4867
|
])) : f("", !0)
|
|
4868
4868
|
])
|
|
4869
4869
|
], 2)) : f("", !0);
|
|
@@ -4964,7 +4964,7 @@ const es = {
|
|
|
4964
4964
|
},
|
|
4965
4965
|
emits: ["selection-change", "sort-change", "row-click"],
|
|
4966
4966
|
setup(e, { emit: s }) {
|
|
4967
|
-
const t = e, l = s, n = H(1), i = H(t.pageSize), c = H(t.sortBy), m = H(t.sortOrder),
|
|
4967
|
+
const t = e, l = s, n = H(1), i = H(t.pageSize), c = H(t.sortBy), m = H(t.sortOrder), p = x("bg-white border border-slate-200 rounded-lg overflow-hidden", {
|
|
4968
4968
|
variants: {
|
|
4969
4969
|
variant: {
|
|
4970
4970
|
default: "shadow-sm",
|
|
@@ -5043,7 +5043,7 @@ const es = {
|
|
|
5043
5043
|
}, q = (V) => {
|
|
5044
5044
|
l("row-click", V);
|
|
5045
5045
|
}, W = u(
|
|
5046
|
-
() => v(
|
|
5046
|
+
() => v(p({ variant: t.variant }))
|
|
5047
5047
|
), A = u(
|
|
5048
5048
|
() => v(w({ variant: t.variant }))
|
|
5049
5049
|
), U = u(
|
|
@@ -5132,7 +5132,7 @@ const es = {
|
|
|
5132
5132
|
onClick: (ne) => se(Z)
|
|
5133
5133
|
}, [
|
|
5134
5134
|
o("div", yl, [
|
|
5135
|
-
o("span", null,
|
|
5135
|
+
o("span", null, b(Z.label), 1),
|
|
5136
5136
|
Z.sortable ? (a(), r("div", xl, [
|
|
5137
5137
|
(a(), r("svg", {
|
|
5138
5138
|
class: d([ie(Z, "asc"), "w-3 h-3 transition-colors"]),
|
|
@@ -5220,7 +5220,7 @@ const es = {
|
|
|
5220
5220
|
})
|
|
5221
5221
|
])
|
|
5222
5222
|
], -1)),
|
|
5223
|
-
o("p", $l,
|
|
5223
|
+
o("p", $l, b(e.emptyText), 1)
|
|
5224
5224
|
])
|
|
5225
5225
|
])
|
|
5226
5226
|
], 10, wl)
|
|
@@ -5317,7 +5317,7 @@ const es = {
|
|
|
5317
5317
|
textSize: "sm"
|
|
5318
5318
|
}
|
|
5319
5319
|
}), i = u(() => {
|
|
5320
|
-
const c = s.align || s.column.align || "left", m = `text-${s.textColor}`,
|
|
5320
|
+
const c = s.align || s.column.align || "left", m = `text-${s.textColor}`, p = s.width ? `w-${s.width}` : "";
|
|
5321
5321
|
return v(
|
|
5322
5322
|
n({
|
|
5323
5323
|
align: c,
|
|
@@ -5325,7 +5325,7 @@ const es = {
|
|
|
5325
5325
|
textSize: s.textSize
|
|
5326
5326
|
}),
|
|
5327
5327
|
m,
|
|
5328
|
-
|
|
5328
|
+
p,
|
|
5329
5329
|
s.column.cellClasses
|
|
5330
5330
|
);
|
|
5331
5331
|
});
|
|
@@ -5333,7 +5333,7 @@ const es = {
|
|
|
5333
5333
|
class: d(i.value)
|
|
5334
5334
|
}, [
|
|
5335
5335
|
h(c.$slots, "default", {}, () => [
|
|
5336
|
-
N(
|
|
5336
|
+
N(b(t.value), 1)
|
|
5337
5337
|
])
|
|
5338
5338
|
], 2));
|
|
5339
5339
|
}
|
|
@@ -5414,7 +5414,7 @@ const es = {
|
|
|
5414
5414
|
template: '<svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3" /></svg>'
|
|
5415
5415
|
}, i = {
|
|
5416
5416
|
template: '<svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15" /></svg>'
|
|
5417
|
-
}, c = e, m = s,
|
|
5417
|
+
}, c = e, m = s, p = x("flex flex-wrap items-center gap-4 border-b border-slate-200", {
|
|
5418
5418
|
variants: {
|
|
5419
5419
|
variant: {
|
|
5420
5420
|
default: "bg-slate-50",
|
|
@@ -5495,7 +5495,7 @@ const es = {
|
|
|
5495
5495
|
}
|
|
5496
5496
|
return _;
|
|
5497
5497
|
}), z = u(
|
|
5498
|
-
() => v(
|
|
5498
|
+
() => v(p({
|
|
5499
5499
|
variant: c.variant,
|
|
5500
5500
|
padding: c.padding
|
|
5501
5501
|
}))
|
|
@@ -5584,7 +5584,7 @@ const es = {
|
|
|
5584
5584
|
(a(!0), r(Q, null, K(e.statusOptions, (F) => (a(), r("option", {
|
|
5585
5585
|
key: F.value,
|
|
5586
5586
|
value: F.value
|
|
5587
|
-
},
|
|
5587
|
+
}, b(F.label), 9, Ml))), 128))
|
|
5588
5588
|
]),
|
|
5589
5589
|
_: 1
|
|
5590
5590
|
}, 8, ["model-value", "class"])
|
|
@@ -5656,7 +5656,7 @@ const es = {
|
|
|
5656
5656
|
key: F.key,
|
|
5657
5657
|
class: d(A.value)
|
|
5658
5658
|
}, [
|
|
5659
|
-
o("span", null,
|
|
5659
|
+
o("span", null, b(F.label) + ": " + b(F.value), 1),
|
|
5660
5660
|
y(ee, {
|
|
5661
5661
|
onClick: (ie) => le(F.key),
|
|
5662
5662
|
class: d(U.value)
|
|
@@ -5738,7 +5738,7 @@ const es = {
|
|
|
5738
5738
|
},
|
|
5739
5739
|
emits: ["bulk-action", "update:density", "toggle-column", "refresh"],
|
|
5740
5740
|
setup(e, { emit: s }) {
|
|
5741
|
-
const t = e, l = s, n = H(!1), i = H(null), c = H(null), m = u(() => t.selectedItems.length),
|
|
5741
|
+
const t = e, l = s, n = H(!1), i = H(null), c = H(null), m = u(() => t.selectedItems.length), p = [
|
|
5742
5742
|
{ value: "compact", label: "Compact", icon: Jl },
|
|
5743
5743
|
{ value: "normal", label: "Normal", icon: Wl },
|
|
5744
5744
|
{ value: "comfortable", label: "Comfortable", icon: Xl }
|
|
@@ -5839,7 +5839,7 @@ const es = {
|
|
|
5839
5839
|
}, [
|
|
5840
5840
|
o("div", Pl, [
|
|
5841
5841
|
m.value > 0 ? (a(), r("div", Fl, [
|
|
5842
|
-
o("span", Nl,
|
|
5842
|
+
o("span", Nl, b(m.value) + " selected ", 1),
|
|
5843
5843
|
o("div", Rl, [
|
|
5844
5844
|
(a(!0), r(Q, null, K(e.bulkActions, (F) => (a(), M(ee, {
|
|
5845
5845
|
key: F.key,
|
|
@@ -5851,7 +5851,7 @@ const es = {
|
|
|
5851
5851
|
key: 0,
|
|
5852
5852
|
class: "w-4 h-4"
|
|
5853
5853
|
})) : f("", !0),
|
|
5854
|
-
N(" " +
|
|
5854
|
+
N(" " + b(F.label), 1)
|
|
5855
5855
|
]),
|
|
5856
5856
|
_: 2
|
|
5857
5857
|
}, 1032, ["onClick", "class"]))), 128))
|
|
@@ -5859,14 +5859,14 @@ const es = {
|
|
|
5859
5859
|
])) : e.totalItems > 0 ? (a(), r("div", {
|
|
5860
5860
|
key: 1,
|
|
5861
5861
|
class: d(z.value)
|
|
5862
|
-
},
|
|
5862
|
+
}, b(e.totalItems) + " " + b(e.totalItems === 1 ? "item" : "items"), 3)) : f("", !0)
|
|
5863
5863
|
]),
|
|
5864
5864
|
o("div", _l, [
|
|
5865
5865
|
e.showDensityToggle ? (a(), r("div", {
|
|
5866
5866
|
key: 0,
|
|
5867
5867
|
class: d(k.value)
|
|
5868
5868
|
}, [
|
|
5869
|
-
(a(), r(Q, null, K(
|
|
5869
|
+
(a(), r(Q, null, K(p, (F) => o("button", {
|
|
5870
5870
|
key: F.value,
|
|
5871
5871
|
onClick: (ie) => _.$emit("update:density", F.value),
|
|
5872
5872
|
class: d(W(F.value)),
|
|
@@ -5912,7 +5912,7 @@ const es = {
|
|
|
5912
5912
|
}, null, 42, Zl),
|
|
5913
5913
|
o("span", {
|
|
5914
5914
|
class: d(E.value)
|
|
5915
|
-
},
|
|
5915
|
+
}, b(F.label), 3)
|
|
5916
5916
|
])
|
|
5917
5917
|
], 2))), 128))
|
|
5918
5918
|
])
|
|
@@ -5949,7 +5949,7 @@ const es = {
|
|
|
5949
5949
|
},
|
|
5950
5950
|
setup(e) {
|
|
5951
5951
|
return (s, t) => {
|
|
5952
|
-
const l = G("Logo"), n = G("Text"), i = G("Typography"), c = G("Link"), m = G("Icon"),
|
|
5952
|
+
const l = G("Logo"), n = G("Text"), i = G("Typography"), c = G("Link"), m = G("Icon"), p = G("Divider");
|
|
5953
5953
|
return a(), r("footer", {
|
|
5954
5954
|
class: d(D(v)("bg-gray-50 border-t border-gray-200", e.className))
|
|
5955
5955
|
}, [
|
|
@@ -6048,12 +6048,12 @@ const es = {
|
|
|
6048
6048
|
])
|
|
6049
6049
|
])
|
|
6050
6050
|
]),
|
|
6051
|
-
y(
|
|
6051
|
+
y(p, { class: "my-8" }),
|
|
6052
6052
|
o("div", dn, [
|
|
6053
6053
|
h(s.$slots, "copyright", {}, () => [
|
|
6054
6054
|
y(n, { class: "text-gray-600" }, {
|
|
6055
6055
|
default: S(() => [
|
|
6056
|
-
N(" © " +
|
|
6056
|
+
N(" © " + b((/* @__PURE__ */ new Date()).getFullYear()) + " Your Company. All rights reserved. ", 1)
|
|
6057
6057
|
]),
|
|
6058
6058
|
_: 1
|
|
6059
6059
|
})
|
|
@@ -6275,12 +6275,12 @@ const es = {
|
|
|
6275
6275
|
}, [
|
|
6276
6276
|
o("h3", Vn, [
|
|
6277
6277
|
h(s.$slots, "title", {}, () => [
|
|
6278
|
-
N(
|
|
6278
|
+
N(b(e.title), 1)
|
|
6279
6279
|
])
|
|
6280
6280
|
]),
|
|
6281
6281
|
e.subtitle ? (a(), r("p", Tn, [
|
|
6282
6282
|
h(s.$slots, "subtitle", {}, () => [
|
|
6283
|
-
N(
|
|
6283
|
+
N(b(e.subtitle), 1)
|
|
6284
6284
|
])
|
|
6285
6285
|
])) : f("", !0),
|
|
6286
6286
|
o("div", Mn, [
|
|
@@ -6297,26 +6297,74 @@ const es = {
|
|
|
6297
6297
|
}, In = {
|
|
6298
6298
|
name: "AuthLayout",
|
|
6299
6299
|
props: {
|
|
6300
|
-
title: {
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6300
|
+
title: {
|
|
6301
|
+
type: String,
|
|
6302
|
+
default: null
|
|
6303
|
+
},
|
|
6304
|
+
subtitle: {
|
|
6305
|
+
type: String,
|
|
6306
|
+
default: null
|
|
6307
|
+
},
|
|
6308
|
+
primaryLogoPrefix: {
|
|
6309
|
+
type: String,
|
|
6310
|
+
default: "e"
|
|
6311
|
+
},
|
|
6312
|
+
primaryLogoText: {
|
|
6313
|
+
type: String,
|
|
6314
|
+
default: "HORIZON"
|
|
6315
|
+
},
|
|
6316
|
+
secondaryLogoPrefix: {
|
|
6317
|
+
type: String,
|
|
6318
|
+
default: "e"
|
|
6319
|
+
},
|
|
6320
|
+
secondaryLogoText: {
|
|
6321
|
+
type: String,
|
|
6322
|
+
default: "Risk & Compliance"
|
|
6323
|
+
},
|
|
6324
|
+
quote: {
|
|
6325
|
+
type: String,
|
|
6326
|
+
default: ""
|
|
6327
|
+
},
|
|
6328
|
+
primaryColor: {
|
|
6329
|
+
type: String,
|
|
6330
|
+
default: "#e74c3c"
|
|
6331
|
+
},
|
|
6332
|
+
backgroundColor: {
|
|
6333
|
+
type: String,
|
|
6334
|
+
default: "#2c2c2c"
|
|
6335
|
+
},
|
|
6309
6336
|
backgroundImage: {
|
|
6310
6337
|
type: String,
|
|
6311
6338
|
default: "https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80"
|
|
6312
6339
|
},
|
|
6313
|
-
backgroundOpacity: {
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6340
|
+
backgroundOpacity: {
|
|
6341
|
+
type: Number,
|
|
6342
|
+
default: 0.4
|
|
6343
|
+
},
|
|
6344
|
+
companyName: {
|
|
6345
|
+
type: String,
|
|
6346
|
+
default: "SOFTWARE"
|
|
6347
|
+
},
|
|
6348
|
+
companyType: {
|
|
6349
|
+
type: String,
|
|
6350
|
+
default: "TECHNOLOGIES"
|
|
6351
|
+
},
|
|
6352
|
+
companyTagline: {
|
|
6353
|
+
type: String,
|
|
6354
|
+
default: "People | Processes | Governance"
|
|
6355
|
+
},
|
|
6356
|
+
companyInitials: {
|
|
6357
|
+
type: String,
|
|
6358
|
+
default: "ST"
|
|
6359
|
+
},
|
|
6360
|
+
appName: {
|
|
6361
|
+
type: String,
|
|
6362
|
+
default: "eHorizon eBoard X"
|
|
6363
|
+
},
|
|
6364
|
+
appVersion: {
|
|
6365
|
+
type: String,
|
|
6366
|
+
default: "Version 2.0"
|
|
6367
|
+
},
|
|
6320
6368
|
copyright: {
|
|
6321
6369
|
type: String,
|
|
6322
6370
|
default: "Copyright © 2025 Software Technologies Limited"
|
|
@@ -6330,23 +6378,13 @@ const es = {
|
|
|
6330
6378
|
]
|
|
6331
6379
|
}
|
|
6332
6380
|
},
|
|
6333
|
-
setup() {
|
|
6334
|
-
return {
|
|
6381
|
+
setup(e) {
|
|
6382
|
+
return {
|
|
6383
|
+
currentYear: u(() => (/* @__PURE__ */ new Date()).getFullYear())
|
|
6384
|
+
};
|
|
6335
6385
|
}
|
|
6336
|
-
}, Ln = { class: "container mx-auto px-4 relative z-10" }, Dn = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, An = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, Pn = { class: "mb-6" }, Fn = { class: "text-4xl lg:text-6xl font-bold mb-2" }, Nn = { class: "text-white" }, Rn = { class: "flex items-center justify-center lg:justify-start mb-6" }, _n = { class: "text-3xl lg:text-4xl font-bold text-white" }, Hn = { class: "lg:col-span-4" }, On = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, qn = {
|
|
6337
|
-
|
|
6338
|
-
class: "mb-6"
|
|
6339
|
-
}, En = { class: "text-center" }, Un = { class: "text-2xl font-bold text-gray-900" }, Zn = {
|
|
6340
|
-
key: 0,
|
|
6341
|
-
class: "text-gray-600 mt-2"
|
|
6342
|
-
}, Gn = { class: "space-y-6" }, Kn = {
|
|
6343
|
-
key: 1,
|
|
6344
|
-
class: "mt-6"
|
|
6345
|
-
}, Qn = {
|
|
6346
|
-
key: 0,
|
|
6347
|
-
class: "mt-6 text-center"
|
|
6348
|
-
}, Yn = { class: "absolute bottom-4 right-4 text-right" }, Xn = { class: "flex items-end justify-end mb-2" }, Wn = { class: "text-right mr-3" }, Jn = { class: "text-red-500 font-bold text-xs" }, er = { class: "text-white text-xs" }, tr = { class: "text-white/70 text-xs" }, ar = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, sr = { class: "text-white/70 text-xs" }, lr = { class: "absolute bottom-4 left-4 flex gap-2" }, nr = ["href"];
|
|
6349
|
-
function rr(e, s, t, l, n, i) {
|
|
6386
|
+
}, Ln = { class: "container mx-auto px-4 relative z-10" }, Dn = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, An = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, Pn = { class: "mb-6" }, Fn = { class: "text-4xl lg:text-6xl font-bold mb-2" }, Nn = { class: "text-white" }, Rn = { class: "flex items-center justify-center lg:justify-start mb-6" }, _n = { class: "text-3xl lg:text-4xl font-bold text-white" }, Hn = { class: "lg:col-span-4" }, On = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, qn = { class: "absolute bottom-4 right-4 text-right" }, En = { class: "flex items-end justify-end mb-2" }, Un = { class: "text-right mr-3" }, Zn = { class: "text-red-500 font-bold text-xs" }, Gn = { class: "text-white text-xs" }, Kn = { class: "text-white/70 text-xs" }, Qn = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, Yn = { class: "text-white/70 text-xs" }, Xn = { class: "absolute bottom-4 left-4 flex gap-2" }, Wn = ["href"];
|
|
6387
|
+
function Jn(e, s, t, l, n, i) {
|
|
6350
6388
|
const c = G("router-view");
|
|
6351
6389
|
return a(), r("div", {
|
|
6352
6390
|
class: "min-h-screen relative flex items-center justify-center",
|
|
@@ -6366,8 +6404,8 @@ function rr(e, s, t, l, n, i) {
|
|
|
6366
6404
|
o("div", Fn, [
|
|
6367
6405
|
o("span", {
|
|
6368
6406
|
style: ce({ color: t.primaryColor })
|
|
6369
|
-
},
|
|
6370
|
-
o("span", Nn,
|
|
6407
|
+
}, b(t.primaryLogoPrefix), 5),
|
|
6408
|
+
o("span", Nn, b(t.primaryLogoText), 1)
|
|
6371
6409
|
]),
|
|
6372
6410
|
o("div", {
|
|
6373
6411
|
class: "h-0.5 w-30 mx-auto lg:mx-0",
|
|
@@ -6378,52 +6416,32 @@ function rr(e, s, t, l, n, i) {
|
|
|
6378
6416
|
o("div", {
|
|
6379
6417
|
class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
|
|
6380
6418
|
style: ce({ backgroundColor: t.primaryColor })
|
|
6381
|
-
},
|
|
6382
|
-
o("span", _n,
|
|
6383
|
-
])
|
|
6384
|
-
s[0] || (s[0] = o("div", { class: "max-w-md mx-auto lg:mx-0" }, [
|
|
6385
|
-
o("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
|
|
6386
|
-
], -1))
|
|
6419
|
+
}, b(t.secondaryLogoPrefix), 5),
|
|
6420
|
+
o("span", _n, b(t.secondaryLogoText), 1)
|
|
6421
|
+
])
|
|
6387
6422
|
]),
|
|
6388
6423
|
o("div", Hn, [
|
|
6389
6424
|
o("div", On, [
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
o("div", En, [
|
|
6393
|
-
o("h1", Un, p(t.title), 1),
|
|
6394
|
-
t.subtitle ? (a(), r("p", Zn, p(t.subtitle), 1)) : f("", !0)
|
|
6395
|
-
])
|
|
6396
|
-
])
|
|
6397
|
-
])) : f("", !0),
|
|
6398
|
-
o("div", Gn, [
|
|
6399
|
-
h(e.$slots, "default"),
|
|
6400
|
-
y(c)
|
|
6401
|
-
]),
|
|
6402
|
-
e.$slots["card-footer"] ? (a(), r("div", Kn, [
|
|
6403
|
-
h(e.$slots, "card-footer")
|
|
6404
|
-
])) : f("", !0)
|
|
6405
|
-
]),
|
|
6406
|
-
e.$slots.links ? (a(), r("div", Qn, [
|
|
6407
|
-
h(e.$slots, "links")
|
|
6408
|
-
])) : f("", !0)
|
|
6425
|
+
y(c)
|
|
6426
|
+
])
|
|
6409
6427
|
])
|
|
6410
6428
|
])
|
|
6411
6429
|
]),
|
|
6412
|
-
o("div",
|
|
6413
|
-
o("div",
|
|
6414
|
-
o("div",
|
|
6415
|
-
o("div",
|
|
6416
|
-
o("div",
|
|
6417
|
-
o("div",
|
|
6430
|
+
o("div", qn, [
|
|
6431
|
+
o("div", En, [
|
|
6432
|
+
o("div", Un, [
|
|
6433
|
+
o("div", Zn, b(t.companyName), 1),
|
|
6434
|
+
o("div", Gn, b(t.companyType), 1),
|
|
6435
|
+
o("div", Kn, b(t.companyTagline), 1)
|
|
6418
6436
|
]),
|
|
6419
|
-
o("div",
|
|
6437
|
+
o("div", Qn, b(t.companyInitials), 1)
|
|
6420
6438
|
]),
|
|
6421
|
-
o("div",
|
|
6422
|
-
o("div", null,
|
|
6423
|
-
o("div", null,
|
|
6439
|
+
o("div", Yn, [
|
|
6440
|
+
o("div", null, b(t.appName) + " (" + b(t.appVersion) + ")", 1),
|
|
6441
|
+
o("div", null, b(t.copyright), 1)
|
|
6424
6442
|
])
|
|
6425
6443
|
]),
|
|
6426
|
-
o("div",
|
|
6444
|
+
o("div", Xn, [
|
|
6427
6445
|
(a(!0), r(Q, null, K(t.socialLinks, (m) => (a(), r("a", {
|
|
6428
6446
|
key: m.name,
|
|
6429
6447
|
href: m.url,
|
|
@@ -6435,14 +6453,14 @@ function rr(e, s, t, l, n, i) {
|
|
|
6435
6453
|
o("i", {
|
|
6436
6454
|
class: d(m.icon)
|
|
6437
6455
|
}, null, 2)
|
|
6438
|
-
], 10,
|
|
6456
|
+
], 10, Wn))), 128))
|
|
6439
6457
|
])
|
|
6440
6458
|
], 4);
|
|
6441
6459
|
}
|
|
6442
|
-
const
|
|
6460
|
+
const er = /* @__PURE__ */ Ne(In, [["render", Jn]]), tr = { class: "min-h-screen bg-gray-50" }, ar = { class: "flex-1" }, sr = {
|
|
6443
6461
|
key: 0,
|
|
6444
6462
|
class: "bg-white border-b border-gray-200"
|
|
6445
|
-
},
|
|
6463
|
+
}, lr = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, nr = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, rr = {
|
|
6446
6464
|
__name: "DefaultLayout",
|
|
6447
6465
|
props: {
|
|
6448
6466
|
navigationItems: {
|
|
@@ -6465,8 +6483,8 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
|
|
|
6465
6483
|
},
|
|
6466
6484
|
setup(e) {
|
|
6467
6485
|
return (s, t) => {
|
|
6468
|
-
const l = G("Logo"), n = G("MainNavigation"), i = G("Button"), c = G("Header"), m = G("Breadcrumb"),
|
|
6469
|
-
return a(), r("div",
|
|
6486
|
+
const l = G("Logo"), n = G("MainNavigation"), i = G("Button"), c = G("Header"), m = G("Breadcrumb"), p = G("Text"), w = G("Footer");
|
|
6487
|
+
return a(), r("div", tr, [
|
|
6470
6488
|
y(c, null, {
|
|
6471
6489
|
logo: S(() => [
|
|
6472
6490
|
h(s.$slots, "logo", {}, () => [
|
|
@@ -6499,15 +6517,15 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
|
|
|
6499
6517
|
]),
|
|
6500
6518
|
_: 3
|
|
6501
6519
|
}),
|
|
6502
|
-
o("main",
|
|
6503
|
-
e.showBreadcrumb ? (a(), r("div",
|
|
6504
|
-
o("div",
|
|
6520
|
+
o("main", ar, [
|
|
6521
|
+
e.showBreadcrumb ? (a(), r("div", sr, [
|
|
6522
|
+
o("div", lr, [
|
|
6505
6523
|
h(s.$slots, "breadcrumb", {}, () => [
|
|
6506
6524
|
y(m, { items: e.breadcrumbItems }, null, 8, ["items"])
|
|
6507
6525
|
])
|
|
6508
6526
|
])
|
|
6509
6527
|
])) : f("", !0),
|
|
6510
|
-
o("div",
|
|
6528
|
+
o("div", nr, [
|
|
6511
6529
|
h(s.$slots, "default")
|
|
6512
6530
|
])
|
|
6513
6531
|
]),
|
|
@@ -6515,7 +6533,7 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
|
|
|
6515
6533
|
brand: S(() => [
|
|
6516
6534
|
h(s.$slots, "footer-brand", {}, () => [
|
|
6517
6535
|
y(l, { class: "mb-4" }),
|
|
6518
|
-
y(
|
|
6536
|
+
y(p, { class: "text-gray-600 max-w-md" }, {
|
|
6519
6537
|
default: S(() => [...t[2] || (t[2] = [
|
|
6520
6538
|
N(" Your application description goes here. ", -1)
|
|
6521
6539
|
])]),
|
|
@@ -6528,14 +6546,14 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
|
|
|
6528
6546
|
]);
|
|
6529
6547
|
};
|
|
6530
6548
|
}
|
|
6531
|
-
},
|
|
6549
|
+
}, or = {
|
|
6532
6550
|
template: `
|
|
6533
6551
|
<svg viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6534
6552
|
<circle cx="100" cy="100" r="80" fill="#f1f5f9" stroke="#cbd5e1" stroke-width="2"/>
|
|
6535
6553
|
<text x="100" y="110" text-anchor="middle" font-size="48" font-weight="bold" fill="#64748b">404</text>
|
|
6536
6554
|
</svg>
|
|
6537
6555
|
`
|
|
6538
|
-
},
|
|
6556
|
+
}, ir = {
|
|
6539
6557
|
template: `
|
|
6540
6558
|
<svg viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6541
6559
|
<circle cx="100" cy="100" r="80" fill="#fef2f2" stroke="#fecaca" stroke-width="2"/>
|
|
@@ -6548,7 +6566,7 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
|
|
|
6548
6566
|
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z" />
|
|
6549
6567
|
</svg>
|
|
6550
6568
|
`
|
|
6551
|
-
},
|
|
6569
|
+
}, dr = {
|
|
6552
6570
|
name: "ErrorPage",
|
|
6553
6571
|
components: {
|
|
6554
6572
|
Button: ee
|
|
@@ -6635,12 +6653,12 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
|
|
|
6635
6653
|
404: {
|
|
6636
6654
|
title: "Page Not Found",
|
|
6637
6655
|
message: "Sorry, we couldn't find the page you're looking for.",
|
|
6638
|
-
icon:
|
|
6656
|
+
icon: or
|
|
6639
6657
|
},
|
|
6640
6658
|
500: {
|
|
6641
6659
|
title: "Server Error",
|
|
6642
6660
|
message: "Something went wrong on our end. Please try again later.",
|
|
6643
|
-
icon:
|
|
6661
|
+
icon: ir
|
|
6644
6662
|
},
|
|
6645
6663
|
403: {
|
|
6646
6664
|
title: "Access Denied",
|
|
@@ -6658,7 +6676,7 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
|
|
|
6658
6676
|
window.history.length > 1 ? window.history.back() : window.location.href = e.homeUrl, s("back");
|
|
6659
6677
|
}, m = () => {
|
|
6660
6678
|
window.location.reload(), s("retry");
|
|
6661
|
-
},
|
|
6679
|
+
}, p = u(() => [
|
|
6662
6680
|
"min-h-screen relative flex items-center justify-center",
|
|
6663
6681
|
"px-4 sm:px-6 lg:px-8"
|
|
6664
6682
|
]), w = u(() => [
|
|
@@ -6692,7 +6710,7 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
|
|
|
6692
6710
|
errorMessage: i,
|
|
6693
6711
|
goBack: c,
|
|
6694
6712
|
retry: m,
|
|
6695
|
-
layoutClasses:
|
|
6713
|
+
layoutClasses: p,
|
|
6696
6714
|
backgroundClasses: w,
|
|
6697
6715
|
contentClasses: C,
|
|
6698
6716
|
headerClasses: j,
|
|
@@ -6707,8 +6725,8 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
|
|
|
6707
6725
|
helpClasses: P
|
|
6708
6726
|
};
|
|
6709
6727
|
}
|
|
6710
|
-
},
|
|
6711
|
-
function
|
|
6728
|
+
}, cr = { class: "flex justify-center" }, ur = { class: "flex items-center gap-3" }, mr = { class: "text-2xl font-bold text-slate-900" }, fr = { class: "flex flex-col sm:flex-row gap-3 justify-center" }, vr = { class: "text-sm text-slate-600" }, gr = ["href"];
|
|
6729
|
+
function pr(e, s, t, l, n, i) {
|
|
6712
6730
|
const c = G("Button");
|
|
6713
6731
|
return a(), r("div", {
|
|
6714
6732
|
class: d(l.layoutClasses)
|
|
@@ -6729,13 +6747,13 @@ function Cr(e, s, t, l, n, i) {
|
|
|
6729
6747
|
class: d(l.headerClasses)
|
|
6730
6748
|
}, [
|
|
6731
6749
|
h(e.$slots, "header", {}, () => [
|
|
6732
|
-
o("div",
|
|
6750
|
+
o("div", cr, [
|
|
6733
6751
|
h(e.$slots, "logo", {}, () => [
|
|
6734
|
-
o("div",
|
|
6752
|
+
o("div", ur, [
|
|
6735
6753
|
s[1] || (s[1] = o("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
|
|
6736
6754
|
o("span", { class: "text-white font-bold text-lg" }, "STL")
|
|
6737
6755
|
], -1)),
|
|
6738
|
-
o("span",
|
|
6756
|
+
o("span", mr, b(t.brandName), 1)
|
|
6739
6757
|
])
|
|
6740
6758
|
])
|
|
6741
6759
|
])
|
|
@@ -6761,27 +6779,27 @@ function Cr(e, s, t, l, n, i) {
|
|
|
6761
6779
|
class: d(l.titleClasses)
|
|
6762
6780
|
}, [
|
|
6763
6781
|
h(e.$slots, "title", {}, () => [
|
|
6764
|
-
N(
|
|
6782
|
+
N(b(l.errorTitle), 1)
|
|
6765
6783
|
])
|
|
6766
6784
|
], 2),
|
|
6767
6785
|
o("p", {
|
|
6768
6786
|
class: d(l.messageClasses)
|
|
6769
6787
|
}, [
|
|
6770
6788
|
h(e.$slots, "message", {}, () => [
|
|
6771
|
-
N(
|
|
6789
|
+
N(b(l.errorMessage), 1)
|
|
6772
6790
|
])
|
|
6773
6791
|
], 2),
|
|
6774
6792
|
t.errorCode ? (a(), r("div", {
|
|
6775
6793
|
key: 0,
|
|
6776
6794
|
class: d(l.codeClasses)
|
|
6777
|
-
}, " Error Code: " +
|
|
6795
|
+
}, " Error Code: " + b(t.errorCode), 3)) : f("", !0)
|
|
6778
6796
|
], 2),
|
|
6779
6797
|
e.$slots.actions || t.showDefaultActions ? (a(), r("div", {
|
|
6780
6798
|
key: 1,
|
|
6781
6799
|
class: d(l.actionsClasses)
|
|
6782
6800
|
}, [
|
|
6783
6801
|
h(e.$slots, "actions", {}, () => [
|
|
6784
|
-
o("div",
|
|
6802
|
+
o("div", fr, [
|
|
6785
6803
|
t.showHomeButton ? (a(), M(c, {
|
|
6786
6804
|
key: 0,
|
|
6787
6805
|
href: t.homeUrl,
|
|
@@ -6789,7 +6807,7 @@ function Cr(e, s, t, l, n, i) {
|
|
|
6789
6807
|
size: "lg"
|
|
6790
6808
|
}, {
|
|
6791
6809
|
default: S(() => [
|
|
6792
|
-
N(
|
|
6810
|
+
N(b(t.homeButtonText), 1)
|
|
6793
6811
|
]),
|
|
6794
6812
|
_: 1
|
|
6795
6813
|
}, 8, ["href"])) : f("", !0),
|
|
@@ -6800,7 +6818,7 @@ function Cr(e, s, t, l, n, i) {
|
|
|
6800
6818
|
onClick: l.goBack
|
|
6801
6819
|
}, {
|
|
6802
6820
|
default: S(() => [
|
|
6803
|
-
N(
|
|
6821
|
+
N(b(t.backButtonText), 1)
|
|
6804
6822
|
]),
|
|
6805
6823
|
_: 1
|
|
6806
6824
|
}, 8, ["onClick"])) : f("", !0),
|
|
@@ -6811,7 +6829,7 @@ function Cr(e, s, t, l, n, i) {
|
|
|
6811
6829
|
onClick: l.retry
|
|
6812
6830
|
}, {
|
|
6813
6831
|
default: S(() => [
|
|
6814
|
-
N(
|
|
6832
|
+
N(b(t.retryButtonText), 1)
|
|
6815
6833
|
]),
|
|
6816
6834
|
_: 1
|
|
6817
6835
|
}, 8, ["onClick"])) : f("", !0)
|
|
@@ -6823,13 +6841,13 @@ function Cr(e, s, t, l, n, i) {
|
|
|
6823
6841
|
class: d(l.helpClasses)
|
|
6824
6842
|
}, [
|
|
6825
6843
|
h(e.$slots, "help", {}, () => [
|
|
6826
|
-
o("p",
|
|
6827
|
-
N(
|
|
6844
|
+
o("p", vr, [
|
|
6845
|
+
N(b(t.helpText) + " ", 1),
|
|
6828
6846
|
t.supportUrl ? (a(), r("a", {
|
|
6829
6847
|
key: 0,
|
|
6830
6848
|
href: t.supportUrl,
|
|
6831
6849
|
class: "text-blue-600 hover:text-blue-700 underline ml-1"
|
|
6832
|
-
}, " Contact Support ", 8,
|
|
6850
|
+
}, " Contact Support ", 8, gr)) : f("", !0)
|
|
6833
6851
|
])
|
|
6834
6852
|
])
|
|
6835
6853
|
], 2)) : f("", !0)
|
|
@@ -6837,7 +6855,7 @@ function Cr(e, s, t, l, n, i) {
|
|
|
6837
6855
|
], 2)
|
|
6838
6856
|
], 2);
|
|
6839
6857
|
}
|
|
6840
|
-
const
|
|
6858
|
+
const br = /* @__PURE__ */ Ne(dr, [["render", pr]]), Be = {
|
|
6841
6859
|
Avatar: Ke,
|
|
6842
6860
|
Badge: Ye,
|
|
6843
6861
|
Button: ee,
|
|
@@ -6903,10 +6921,10 @@ const $r = /* @__PURE__ */ Ne(pr, [["render", Cr]]), Be = {
|
|
|
6903
6921
|
Sidebar: $n,
|
|
6904
6922
|
Timeline: Sn,
|
|
6905
6923
|
TimelineItem: jn,
|
|
6906
|
-
AuthLayout:
|
|
6907
|
-
DefaultLayout:
|
|
6908
|
-
ErrorLayout:
|
|
6909
|
-
},
|
|
6924
|
+
AuthLayout: er,
|
|
6925
|
+
DefaultLayout: rr,
|
|
6926
|
+
ErrorLayout: br
|
|
6927
|
+
}, kr = {
|
|
6910
6928
|
install(e, s = {}) {
|
|
6911
6929
|
const { prefix: t = "" } = s;
|
|
6912
6930
|
Object.keys(Be).forEach((l) => {
|
|
@@ -6919,7 +6937,7 @@ export {
|
|
|
6919
6937
|
Gs as Accordion,
|
|
6920
6938
|
Ks as AccordionItem,
|
|
6921
6939
|
Rt as Alert,
|
|
6922
|
-
|
|
6940
|
+
er as AuthLayout,
|
|
6923
6941
|
Ke as Avatar,
|
|
6924
6942
|
Ye as Badge,
|
|
6925
6943
|
Ot as Breadcrumb,
|
|
@@ -6941,11 +6959,11 @@ export {
|
|
|
6941
6959
|
Pe as DataTableRow,
|
|
6942
6960
|
an as DataTableToolBar,
|
|
6943
6961
|
ra as DatePicker,
|
|
6944
|
-
|
|
6962
|
+
rr as DefaultLayout,
|
|
6945
6963
|
rt as Divider,
|
|
6946
6964
|
ia as Dropdown,
|
|
6947
6965
|
ca as DropdownItem,
|
|
6948
|
-
|
|
6966
|
+
br as ErrorLayout,
|
|
6949
6967
|
xa as FileUpload,
|
|
6950
6968
|
un as Footer,
|
|
6951
6969
|
za as FormField,
|
|
@@ -6985,7 +7003,7 @@ export {
|
|
|
6985
7003
|
It as Tooltip,
|
|
6986
7004
|
he as Typography,
|
|
6987
7005
|
v as cn,
|
|
6988
|
-
|
|
7006
|
+
kr as default,
|
|
6989
7007
|
Se as toast,
|
|
6990
7008
|
as as useToaster
|
|
6991
7009
|
};
|