@stlhorizon/vue-ui 3.7.1 → 3.7.2
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 +552 -568
- package/dist/index.js +5 -5
- package/dist/src/components/Modal.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -7291,9 +7291,6 @@ const Z = {
|
|
|
7291
7291
|
_: 3
|
|
7292
7292
|
}, 8, ["href", "class", "disabled"]));
|
|
7293
7293
|
}
|
|
7294
|
-
}, zd = {
|
|
7295
|
-
key: 1,
|
|
7296
|
-
class: "absolute bottom-0 right-0 w-8 h-8 cursor-se-resize bg-gray-200 hover:bg-gray-300 border border-gray-300 rounded-tl-lg flex items-end justify-end transition-colors"
|
|
7297
7294
|
}, $r = {
|
|
7298
7295
|
__name: "Modal",
|
|
7299
7296
|
props: {
|
|
@@ -7408,19 +7405,6 @@ const Z = {
|
|
|
7408
7405
|
}),
|
|
7409
7406
|
y[0] || (y[0] = d("span", { class: "sr-only" }, "Close", -1))
|
|
7410
7407
|
])) : p("", !0),
|
|
7411
|
-
e.resizable ? (s(), c("div", zd, [...y[1] || (y[1] = [
|
|
7412
|
-
d("svg", {
|
|
7413
|
-
class: "w-5 h-5 text-gray-600 mb-1 mr-1",
|
|
7414
|
-
fill: "currentColor",
|
|
7415
|
-
viewBox: "0 0 20 20"
|
|
7416
|
-
}, [
|
|
7417
|
-
d("path", {
|
|
7418
|
-
"fill-rule": "evenodd",
|
|
7419
|
-
d: "M14.707 12.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414l.293-.293L9 15.586V3a1 1 0 012 0v12.586l3.414-3.293a1 1 0 011.293-.001z",
|
|
7420
|
-
"clip-rule": "evenodd"
|
|
7421
|
-
})
|
|
7422
|
-
], -1)
|
|
7423
|
-
])])) : p("", !0),
|
|
7424
7408
|
M(g.$slots, "default")
|
|
7425
7409
|
], 6)
|
|
7426
7410
|
], 2)) : p("", !0)
|
|
@@ -7429,26 +7413,26 @@ const Z = {
|
|
|
7429
7413
|
})
|
|
7430
7414
|
]));
|
|
7431
7415
|
}
|
|
7432
|
-
},
|
|
7416
|
+
}, zd = { class: "flex flex-col space-y-1.5 text-center sm:text-left" }, Ad = {
|
|
7433
7417
|
key: 0,
|
|
7434
7418
|
class: "text-lg font-semibold leading-none tracking-tight"
|
|
7435
|
-
},
|
|
7419
|
+
}, Vd = {
|
|
7436
7420
|
key: 1,
|
|
7437
7421
|
class: "text-sm text-muted-foreground"
|
|
7438
|
-
},
|
|
7422
|
+
}, Bd = {
|
|
7439
7423
|
__name: "ModalHeader",
|
|
7440
7424
|
props: {
|
|
7441
7425
|
title: String,
|
|
7442
7426
|
description: String
|
|
7443
7427
|
},
|
|
7444
7428
|
setup(e) {
|
|
7445
|
-
return (a, t) => (s(), c("div",
|
|
7446
|
-
e.title ? (s(), c("h2",
|
|
7447
|
-
e.description ? (s(), c("p",
|
|
7429
|
+
return (a, t) => (s(), c("div", zd, [
|
|
7430
|
+
e.title ? (s(), c("h2", Ad, x(e.title), 1)) : p("", !0),
|
|
7431
|
+
e.description ? (s(), c("p", Vd, x(e.description), 1)) : p("", !0),
|
|
7448
7432
|
M(a.$slots, "default")
|
|
7449
7433
|
]));
|
|
7450
7434
|
}
|
|
7451
|
-
},
|
|
7435
|
+
}, Pd = {
|
|
7452
7436
|
__name: "ModalBody",
|
|
7453
7437
|
props: {
|
|
7454
7438
|
variant: {
|
|
@@ -7474,7 +7458,7 @@ const Z = {
|
|
|
7474
7458
|
M(r.$slots, "default")
|
|
7475
7459
|
], 2));
|
|
7476
7460
|
}
|
|
7477
|
-
},
|
|
7461
|
+
}, Td = {
|
|
7478
7462
|
__name: "ModalFooter",
|
|
7479
7463
|
props: {
|
|
7480
7464
|
variant: {
|
|
@@ -7500,13 +7484,13 @@ const Z = {
|
|
|
7500
7484
|
M(r.$slots, "default")
|
|
7501
7485
|
], 2));
|
|
7502
7486
|
}
|
|
7503
|
-
},
|
|
7487
|
+
}, jd = ["aria-live"], Id = { class: "flex items-start space-x-3" }, Od = {
|
|
7504
7488
|
key: 0,
|
|
7505
7489
|
class: "flex-shrink-0"
|
|
7506
|
-
},
|
|
7490
|
+
}, Md = { class: "flex-1 min-w-0" }, Fd = {
|
|
7507
7491
|
key: 0,
|
|
7508
7492
|
class: "text-sm font-medium"
|
|
7509
|
-
},
|
|
7493
|
+
}, Ld = {
|
|
7510
7494
|
__name: "Notification",
|
|
7511
7495
|
props: {
|
|
7512
7496
|
title: String,
|
|
@@ -7582,15 +7566,15 @@ const Z = {
|
|
|
7582
7566
|
role: "alert",
|
|
7583
7567
|
"aria-live": e.variant === "danger" ? "assertive" : "polite"
|
|
7584
7568
|
}, [
|
|
7585
|
-
d("div",
|
|
7586
|
-
e.showIcon ? (s(), c("div",
|
|
7569
|
+
d("div", Id, [
|
|
7570
|
+
e.showIcon ? (s(), c("div", Od, [
|
|
7587
7571
|
P(Z, {
|
|
7588
7572
|
name: y.value,
|
|
7589
7573
|
class: b(k.value)
|
|
7590
7574
|
}, null, 8, ["name", "class"])
|
|
7591
7575
|
])) : p("", !0),
|
|
7592
|
-
d("div",
|
|
7593
|
-
e.title ? (s(), c("div",
|
|
7576
|
+
d("div", Md, [
|
|
7577
|
+
e.title ? (s(), c("div", Fd, x(e.title), 1)) : p("", !0),
|
|
7594
7578
|
e.message ? (s(), c("div", {
|
|
7595
7579
|
key: 1,
|
|
7596
7580
|
class: b(["text-sm", { "mt-1": e.title }])
|
|
@@ -7608,23 +7592,23 @@ const Z = {
|
|
|
7608
7592
|
})
|
|
7609
7593
|
])) : p("", !0)
|
|
7610
7594
|
])
|
|
7611
|
-
], 10,
|
|
7595
|
+
], 10, jd)) : p("", !0)
|
|
7612
7596
|
]),
|
|
7613
7597
|
_: 3
|
|
7614
7598
|
}));
|
|
7615
7599
|
}
|
|
7616
7600
|
}, ft = U([]);
|
|
7617
|
-
let
|
|
7618
|
-
const
|
|
7601
|
+
let Ed = 0;
|
|
7602
|
+
const Nd = {
|
|
7619
7603
|
duration: 3e3,
|
|
7620
7604
|
position: "top-center",
|
|
7621
7605
|
dismissible: !0,
|
|
7622
7606
|
closeButton: !1
|
|
7623
|
-
},
|
|
7624
|
-
const t =
|
|
7607
|
+
}, Dd = () => `toast-${++Ed}-${Date.now()}`, Oe = (e, a = {}) => {
|
|
7608
|
+
const t = Dd(), n = {
|
|
7625
7609
|
id: t,
|
|
7626
7610
|
message: e,
|
|
7627
|
-
...
|
|
7611
|
+
...Nd,
|
|
7628
7612
|
...a,
|
|
7629
7613
|
createdAt: Date.now()
|
|
7630
7614
|
};
|
|
@@ -7684,20 +7668,20 @@ const Dd = {
|
|
|
7684
7668
|
component: bn(e)
|
|
7685
7669
|
})
|
|
7686
7670
|
}
|
|
7687
|
-
),
|
|
7671
|
+
), Rd = () => ({
|
|
7688
7672
|
toasts: ft,
|
|
7689
7673
|
dismiss: ut,
|
|
7690
7674
|
dismissAll: Sr
|
|
7691
|
-
}),
|
|
7675
|
+
}), _d = ["aria-live"], Ud = { class: "flex-1 grid gap-1" }, qd = {
|
|
7692
7676
|
key: 0,
|
|
7693
7677
|
class: "text-lg font-extrabold"
|
|
7694
|
-
},
|
|
7678
|
+
}, Hd = {
|
|
7695
7679
|
key: 1,
|
|
7696
7680
|
class: "text-md opacity-90"
|
|
7697
|
-
},
|
|
7681
|
+
}, Wd = {
|
|
7698
7682
|
key: 2,
|
|
7699
7683
|
class: "text-md opacity-90"
|
|
7700
|
-
},
|
|
7684
|
+
}, Yd = ["onClick"], Gd = ["onClick"], Kd = {
|
|
7701
7685
|
__name: "Toast",
|
|
7702
7686
|
props: {
|
|
7703
7687
|
position: {
|
|
@@ -7734,7 +7718,7 @@ const Dd = {
|
|
|
7734
7718
|
}
|
|
7735
7719
|
},
|
|
7736
7720
|
setup(e) {
|
|
7737
|
-
const a = e, { toasts: t, dismiss: n } =
|
|
7721
|
+
const a = e, { toasts: t, dismiss: n } = Rd(), r = {
|
|
7738
7722
|
"top-left": "top-0 left-0 flex-col",
|
|
7739
7723
|
"top-center": "top-0 left-1/2 -translate-x-1/2 flex-col",
|
|
7740
7724
|
"top-right": "top-0 right-0 flex-col",
|
|
@@ -7806,10 +7790,10 @@ const Dd = {
|
|
|
7806
7790
|
icon: k(f),
|
|
7807
7791
|
class: b([$(f), "h-4 w-4 shrink-0"])
|
|
7808
7792
|
}, null, 8, ["icon", "class"])) : p("", !0),
|
|
7809
|
-
d("div",
|
|
7810
|
-
f.title ? (s(), c("div",
|
|
7811
|
-
f.message ? (s(), c("div",
|
|
7812
|
-
f.description ? (s(), c("div",
|
|
7793
|
+
d("div", Ud, [
|
|
7794
|
+
f.title ? (s(), c("div", qd, x(f.title), 1)) : p("", !0),
|
|
7795
|
+
f.message ? (s(), c("div", Hd, x(f.message), 1)) : p("", !0),
|
|
7796
|
+
f.description ? (s(), c("div", Wd, x(f.description), 1)) : p("", !0),
|
|
7813
7797
|
f.component ? (s(), L(xe(f.component), Je({
|
|
7814
7798
|
key: 3,
|
|
7815
7799
|
ref_for: !0
|
|
@@ -7819,7 +7803,7 @@ const Dd = {
|
|
|
7819
7803
|
key: 1,
|
|
7820
7804
|
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",
|
|
7821
7805
|
onClick: f.action.onClick
|
|
7822
|
-
}, x(f.action.label), 9,
|
|
7806
|
+
}, x(f.action.label), 9, Yd)) : p("", !0),
|
|
7823
7807
|
S(f) ? (s(), c("button", {
|
|
7824
7808
|
key: 2,
|
|
7825
7809
|
class: "absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100",
|
|
@@ -7829,36 +7813,36 @@ const Dd = {
|
|
|
7829
7813
|
icon: "x",
|
|
7830
7814
|
class: "h-4 w-4"
|
|
7831
7815
|
})
|
|
7832
|
-
], 8,
|
|
7833
|
-
], 10,
|
|
7816
|
+
], 8, Gd)) : p("", !0)
|
|
7817
|
+
], 10, _d))), 128))
|
|
7834
7818
|
]),
|
|
7835
7819
|
_: 1
|
|
7836
7820
|
})
|
|
7837
7821
|
], 2)
|
|
7838
7822
|
]));
|
|
7839
7823
|
}
|
|
7840
|
-
},
|
|
7824
|
+
}, Xd = { class: "relative" }, Qd = { class: "absolute left-3 top-1/2 transform -translate-y-1/2 pointer-events-none" }, Jd = ["value", "placeholder", "disabled"], Zd = {
|
|
7841
7825
|
key: 0,
|
|
7842
7826
|
class: "absolute right-3 top-1/2 transform -translate-y-1/2"
|
|
7843
|
-
},
|
|
7827
|
+
}, ec = ["aria-label"], tc = {
|
|
7844
7828
|
key: 1,
|
|
7845
7829
|
class: "animate-spin"
|
|
7846
|
-
},
|
|
7830
|
+
}, ac = {
|
|
7847
7831
|
key: 0,
|
|
7848
7832
|
class: "max-h-64 overflow-y-auto"
|
|
7849
|
-
},
|
|
7833
|
+
}, nc = ["onClick", "onMouseenter"], rc = { class: "flex-1 text-left" }, sc = { class: "font-medium text-slate-900" }, lc = {
|
|
7850
7834
|
key: 0,
|
|
7851
7835
|
class: "text-sm text-slate-500 truncate"
|
|
7852
|
-
},
|
|
7836
|
+
}, oc = {
|
|
7853
7837
|
key: 1,
|
|
7854
7838
|
class: "text-xs text-slate-400 ml-3"
|
|
7855
|
-
},
|
|
7839
|
+
}, ic = {
|
|
7856
7840
|
key: 1,
|
|
7857
7841
|
class: "px-4 py-3 text-sm text-slate-500 text-center"
|
|
7858
|
-
},
|
|
7842
|
+
}, uc = {
|
|
7859
7843
|
key: 2,
|
|
7860
7844
|
class: "border-t border-slate-200 p-2"
|
|
7861
|
-
},
|
|
7845
|
+
}, dc = {
|
|
7862
7846
|
__name: "Search",
|
|
7863
7847
|
props: {
|
|
7864
7848
|
modelValue: { type: String, default: "" },
|
|
@@ -7972,8 +7956,8 @@ const Dd = {
|
|
|
7972
7956
|
ref: m,
|
|
7973
7957
|
class: "relative"
|
|
7974
7958
|
}, [
|
|
7975
|
-
d("div",
|
|
7976
|
-
d("div",
|
|
7959
|
+
d("div", Xd, [
|
|
7960
|
+
d("div", Qd, [
|
|
7977
7961
|
P(t, {
|
|
7978
7962
|
class: b(W.value)
|
|
7979
7963
|
}, null, 8, ["class"])
|
|
@@ -7989,8 +7973,8 @@ const Dd = {
|
|
|
7989
7973
|
onFocus: S,
|
|
7990
7974
|
onBlur: C,
|
|
7991
7975
|
onKeydown: i
|
|
7992
|
-
}, null, 42,
|
|
7993
|
-
e.modelValue || e.loading ? (s(), c("div",
|
|
7976
|
+
}, null, 42, Jd),
|
|
7977
|
+
e.modelValue || e.loading ? (s(), c("div", Zd, [
|
|
7994
7978
|
!e.loading && e.clearable ? (s(), c("button", {
|
|
7995
7979
|
key: 0,
|
|
7996
7980
|
class: "text-slate-400 hover:text-slate-600 transition-colors p-1 rounded-full hover:bg-slate-100",
|
|
@@ -7998,7 +7982,7 @@ const Dd = {
|
|
|
7998
7982
|
onClick: v
|
|
7999
7983
|
}, [
|
|
8000
7984
|
P(n, { class: "w-4 h-4" })
|
|
8001
|
-
], 8,
|
|
7985
|
+
], 8, ec)) : e.loading ? (s(), c("div", tc, [
|
|
8002
7986
|
P(r, { class: "w-4 h-4 text-slate-400" })
|
|
8003
7987
|
])) : p("", !0)
|
|
8004
7988
|
])) : p("", !0)
|
|
@@ -8016,7 +8000,7 @@ const Dd = {
|
|
|
8016
8000
|
key: 0,
|
|
8017
8001
|
class: b(K.value)
|
|
8018
8002
|
}, [
|
|
8019
|
-
e.results.length > 0 ? (s(), c("div",
|
|
8003
|
+
e.results.length > 0 ? (s(), c("div", ac, [
|
|
8020
8004
|
(s(!0), c(G, null, X(e.results, (J, B) => (s(), c("button", {
|
|
8021
8005
|
key: J.id || B,
|
|
8022
8006
|
class: b(le(B)),
|
|
@@ -8027,14 +8011,14 @@ const Dd = {
|
|
|
8027
8011
|
key: 0,
|
|
8028
8012
|
class: "w-4 h-4 mr-3 flex-shrink-0"
|
|
8029
8013
|
})) : p("", !0),
|
|
8030
|
-
d("div",
|
|
8031
|
-
d("div",
|
|
8032
|
-
J.description ? (s(), c("div",
|
|
8014
|
+
d("div", rc, [
|
|
8015
|
+
d("div", sc, x(u(J.title)), 1),
|
|
8016
|
+
J.description ? (s(), c("div", lc, x(u(J.description)), 1)) : p("", !0)
|
|
8033
8017
|
]),
|
|
8034
|
-
J.category ? (s(), c("div",
|
|
8035
|
-
], 42,
|
|
8036
|
-
])) : e.showNoResults ? (s(), c("div",
|
|
8037
|
-
O.$slots.footer ? (s(), c("div",
|
|
8018
|
+
J.category ? (s(), c("div", oc, x(J.category), 1)) : p("", !0)
|
|
8019
|
+
], 42, nc))), 128))
|
|
8020
|
+
])) : e.showNoResults ? (s(), c("div", ic, x(e.noResultsText), 1)) : p("", !0),
|
|
8021
|
+
O.$slots.footer ? (s(), c("div", uc, [
|
|
8038
8022
|
M(O.$slots, "footer")
|
|
8039
8023
|
])) : p("", !0)
|
|
8040
8024
|
], 2)) : p("", !0)
|
|
@@ -8043,7 +8027,7 @@ const Dd = {
|
|
|
8043
8027
|
})
|
|
8044
8028
|
], 512));
|
|
8045
8029
|
}
|
|
8046
|
-
},
|
|
8030
|
+
}, cc = { class: "w-full" }, fc = ["min", "max", "step", "value"], mc = { class: "flex justify-between text-xs text-slate-500 mt-1" }, Pa = {
|
|
8047
8031
|
__name: "Slider",
|
|
8048
8032
|
props: {
|
|
8049
8033
|
modelValue: { type: [Number, String], default: 0 },
|
|
@@ -8056,7 +8040,7 @@ const Dd = {
|
|
|
8056
8040
|
const t = a, n = (r) => {
|
|
8057
8041
|
t("update:modelValue", Number(r.target.value));
|
|
8058
8042
|
};
|
|
8059
|
-
return (r, l) => (s(), c("div",
|
|
8043
|
+
return (r, l) => (s(), c("div", cc, [
|
|
8060
8044
|
d("input", {
|
|
8061
8045
|
type: "range",
|
|
8062
8046
|
min: e.min,
|
|
@@ -8065,25 +8049,25 @@ const Dd = {
|
|
|
8065
8049
|
value: e.modelValue,
|
|
8066
8050
|
class: "w-full accent-blue-500 cursor-pointer",
|
|
8067
8051
|
onInput: n
|
|
8068
|
-
}, null, 40,
|
|
8069
|
-
d("div",
|
|
8052
|
+
}, null, 40, fc),
|
|
8053
|
+
d("div", mc, [
|
|
8070
8054
|
d("span", null, x(e.min), 1),
|
|
8071
8055
|
d("span", null, x(e.modelValue), 1),
|
|
8072
8056
|
d("span", null, x(e.max), 1)
|
|
8073
8057
|
])
|
|
8074
8058
|
]));
|
|
8075
8059
|
}
|
|
8076
|
-
},
|
|
8060
|
+
}, gc = { class: "flex items-center space-x-4" }, vc = {
|
|
8077
8061
|
__name: "Stepper",
|
|
8078
8062
|
setup(e) {
|
|
8079
|
-
return (a, t) => (s(), c("div",
|
|
8063
|
+
return (a, t) => (s(), c("div", gc, [
|
|
8080
8064
|
M(a.$slots, "default")
|
|
8081
8065
|
]));
|
|
8082
8066
|
}
|
|
8083
|
-
},
|
|
8067
|
+
}, bc = { class: "flex items-center" }, hc = { class: "ml-2" }, pc = { class: "font-medium" }, yc = {
|
|
8084
8068
|
key: 0,
|
|
8085
8069
|
class: "text-sm text-slate-400"
|
|
8086
|
-
},
|
|
8070
|
+
}, xc = {
|
|
8087
8071
|
__name: "StepperItem",
|
|
8088
8072
|
props: {
|
|
8089
8073
|
step: { type: Number, required: !0 },
|
|
@@ -8093,7 +8077,7 @@ const Dd = {
|
|
|
8093
8077
|
completed: { type: Boolean, default: !1 }
|
|
8094
8078
|
},
|
|
8095
8079
|
setup(e) {
|
|
8096
|
-
return (a, t) => (s(), c("div",
|
|
8080
|
+
return (a, t) => (s(), c("div", bc, [
|
|
8097
8081
|
d("div", {
|
|
8098
8082
|
class: b([
|
|
8099
8083
|
"flex items-center justify-center w-8 h-8 rounded-full border-2",
|
|
@@ -8102,16 +8086,16 @@ const Dd = {
|
|
|
8102
8086
|
}, [
|
|
8103
8087
|
d("span", null, x(e.step), 1)
|
|
8104
8088
|
], 2),
|
|
8105
|
-
d("div",
|
|
8106
|
-
d("div",
|
|
8107
|
-
e.description ? (s(), c("div",
|
|
8089
|
+
d("div", hc, [
|
|
8090
|
+
d("div", pc, x(e.title), 1),
|
|
8091
|
+
e.description ? (s(), c("div", yc, x(e.description), 1)) : p("", !0)
|
|
8108
8092
|
])
|
|
8109
8093
|
]));
|
|
8110
8094
|
}
|
|
8111
|
-
},
|
|
8095
|
+
}, wc = { class: "w-full" }, kc = {
|
|
8112
8096
|
class: "flex space-x-1 border-b border-slate-200",
|
|
8113
8097
|
role: "tablist"
|
|
8114
|
-
},
|
|
8098
|
+
}, $c = ["id", "disabled", "aria-selected", "aria-controls", "onClick"], Sc = { class: "mt-4" }, Cc = {
|
|
8115
8099
|
__name: "Tab",
|
|
8116
8100
|
props: {
|
|
8117
8101
|
defaultIndex: { type: Number, default: 0 },
|
|
@@ -8149,8 +8133,8 @@ const Dd = {
|
|
|
8149
8133
|
unregisterTab: (g) => {
|
|
8150
8134
|
l.value.splice(g, 1);
|
|
8151
8135
|
}
|
|
8152
|
-
}), (g, y) => (s(), c("div",
|
|
8153
|
-
d("div",
|
|
8136
|
+
}), (g, y) => (s(), c("div", wc, [
|
|
8137
|
+
d("div", kc, [
|
|
8154
8138
|
(s(!0), c(G, null, X(l.value, (k, $) => (s(), c("button", {
|
|
8155
8139
|
id: `tab-${$}`,
|
|
8156
8140
|
key: $,
|
|
@@ -8164,17 +8148,17 @@ const Dd = {
|
|
|
8164
8148
|
"aria-controls": `panel-${$}`,
|
|
8165
8149
|
role: "tab",
|
|
8166
8150
|
onClick: (I) => !t.loading && o($)
|
|
8167
|
-
}, x(k.label), 11,
|
|
8151
|
+
}, x(k.label), 11, $c))), 128))
|
|
8168
8152
|
]),
|
|
8169
|
-
d("div",
|
|
8153
|
+
d("div", Sc, [
|
|
8170
8154
|
M(g.$slots, "default")
|
|
8171
8155
|
])
|
|
8172
8156
|
]));
|
|
8173
8157
|
}
|
|
8174
|
-
},
|
|
8158
|
+
}, zc = ["id", "aria-labelledby"], Ac = {
|
|
8175
8159
|
key: 0,
|
|
8176
8160
|
class: "flex items-center justify-center p-8"
|
|
8177
|
-
},
|
|
8161
|
+
}, Vc = {
|
|
8178
8162
|
__name: "TabPanel",
|
|
8179
8163
|
props: {
|
|
8180
8164
|
label: { type: String, required: !0 },
|
|
@@ -8196,17 +8180,17 @@ const Dd = {
|
|
|
8196
8180
|
role: "tabpanel",
|
|
8197
8181
|
"aria-labelledby": `tab-${n.value}`
|
|
8198
8182
|
}, [
|
|
8199
|
-
e.loading ? (s(), c("div",
|
|
8183
|
+
e.loading ? (s(), c("div", Ac, [
|
|
8200
8184
|
P(Aa, {
|
|
8201
8185
|
size: "lg",
|
|
8202
8186
|
label: `Loading ${a.label}`
|
|
8203
8187
|
}, null, 8, ["label"])
|
|
8204
8188
|
])) : M(l.$slots, "default", { key: 1 })
|
|
8205
|
-
], 8,
|
|
8189
|
+
], 8, zc)), [
|
|
8206
8190
|
[pn, r.value]
|
|
8207
8191
|
]);
|
|
8208
8192
|
}
|
|
8209
|
-
},
|
|
8193
|
+
}, Bc = ["id", "aria-expanded", "aria-controls", "onClick"], Pc = { class: "flex items-center flex-1 min-w-0" }, Tc = { key: 0 }, jc = ["id", "aria-labelledby"], Ic = { key: 0 }, Oc = {
|
|
8210
8194
|
__name: "Accordion",
|
|
8211
8195
|
props: {
|
|
8212
8196
|
items: {
|
|
@@ -8333,13 +8317,13 @@ const Dd = {
|
|
|
8333
8317
|
"aria-controls": `panel-${V.id || z}`,
|
|
8334
8318
|
onClick: (W) => o(z)
|
|
8335
8319
|
}, [
|
|
8336
|
-
d("div",
|
|
8320
|
+
d("div", Pc, [
|
|
8337
8321
|
M(u.$slots, `header-${z}`, {
|
|
8338
8322
|
item: V,
|
|
8339
8323
|
index: z,
|
|
8340
8324
|
isExpanded: m(z)
|
|
8341
8325
|
}, () => [
|
|
8342
|
-
V.title ? (s(), c("div",
|
|
8326
|
+
V.title ? (s(), c("div", Tc, x(V.title), 1)) : p("", !0)
|
|
8343
8327
|
])
|
|
8344
8328
|
]),
|
|
8345
8329
|
d("div", {
|
|
@@ -8347,7 +8331,7 @@ const Dd = {
|
|
|
8347
8331
|
}, [
|
|
8348
8332
|
P(t, { class: "w-5 h-5 transition-transform duration-200" })
|
|
8349
8333
|
], 2)
|
|
8350
|
-
], 10,
|
|
8334
|
+
], 10, Bc),
|
|
8351
8335
|
P(be, {
|
|
8352
8336
|
"enter-active-class": "transition-all duration-300 ease-out",
|
|
8353
8337
|
"enter-from-class": "opacity-0 max-h-0",
|
|
@@ -8372,17 +8356,17 @@ const Dd = {
|
|
|
8372
8356
|
item: V,
|
|
8373
8357
|
index: z
|
|
8374
8358
|
}, () => [
|
|
8375
|
-
V.content ? (s(), c("div",
|
|
8359
|
+
V.content ? (s(), c("div", Ic, x(V.content), 1)) : p("", !0)
|
|
8376
8360
|
])
|
|
8377
8361
|
])
|
|
8378
|
-
], 10,
|
|
8362
|
+
], 10, jc)) : p("", !0)
|
|
8379
8363
|
]),
|
|
8380
8364
|
_: 2
|
|
8381
8365
|
}, 1024)
|
|
8382
8366
|
], 2))), 128))
|
|
8383
8367
|
], 2));
|
|
8384
8368
|
}
|
|
8385
|
-
},
|
|
8369
|
+
}, Mc = {
|
|
8386
8370
|
__name: "AccordionItem",
|
|
8387
8371
|
props: {
|
|
8388
8372
|
variant: {
|
|
@@ -8474,10 +8458,10 @@ const Dd = {
|
|
|
8474
8458
|
})
|
|
8475
8459
|
], 2));
|
|
8476
8460
|
}
|
|
8477
|
-
},
|
|
8461
|
+
}, Fc = { class: "relative w-full" }, Lc = { class: "relative" }, Ec = ["id", "value", "disabled", "placeholder", "required", "aria-describedby"], Nc = { class: "flex items-center justify-between mb-3" }, Dc = { class: "text-sm font-medium" }, Rc = { class: "grid grid-cols-7 gap-1 mb-2" }, _c = { class: "grid grid-cols-7 gap-1" }, Uc = ["disabled", "onClick"], qc = {
|
|
8478
8462
|
key: 0,
|
|
8479
8463
|
class: "mt-4 pt-3 border-t border-slate-200"
|
|
8480
|
-
},
|
|
8464
|
+
}, Hc = {
|
|
8481
8465
|
__name: "Calendar",
|
|
8482
8466
|
props: {
|
|
8483
8467
|
id: String,
|
|
@@ -8586,8 +8570,8 @@ const Dd = {
|
|
|
8586
8570
|
document.addEventListener("keydown", ee);
|
|
8587
8571
|
}), vn(() => {
|
|
8588
8572
|
document.removeEventListener("keydown", ee);
|
|
8589
|
-
}), (J, B) => (s(), c("div",
|
|
8590
|
-
d("div",
|
|
8573
|
+
}), (J, B) => (s(), c("div", Fc, [
|
|
8574
|
+
d("div", Lc, [
|
|
8591
8575
|
d("input", {
|
|
8592
8576
|
id: e.id,
|
|
8593
8577
|
type: "text",
|
|
@@ -8599,7 +8583,7 @@ const Dd = {
|
|
|
8599
8583
|
"aria-describedby": e.ariaDescribedby,
|
|
8600
8584
|
class: "w-full px-3 py-2 pr-10 border border-slate-300 rounded-md bg-white text-slate-900 placeholder-slate-400 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 cursor-pointer disabled:bg-slate-50 disabled:text-slate-500 disabled:cursor-not-allowed",
|
|
8601
8585
|
onClick: V
|
|
8602
|
-
}, null, 8,
|
|
8586
|
+
}, null, 8, Ec),
|
|
8603
8587
|
B[2] || (B[2] = d("div", { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" }, [
|
|
8604
8588
|
d("svg", {
|
|
8605
8589
|
class: "w-5 h-5 text-slate-400",
|
|
@@ -8652,7 +8636,7 @@ const Dd = {
|
|
|
8652
8636
|
onClick: B[0] || (B[0] = Ce(() => {
|
|
8653
8637
|
}, ["stop"]))
|
|
8654
8638
|
}, [
|
|
8655
|
-
d("div",
|
|
8639
|
+
d("div", Nc, [
|
|
8656
8640
|
d("button", {
|
|
8657
8641
|
type: "button",
|
|
8658
8642
|
class: "p-1 hover:bg-gray-100 rounded",
|
|
@@ -8673,7 +8657,7 @@ const Dd = {
|
|
|
8673
8657
|
})
|
|
8674
8658
|
], -1)
|
|
8675
8659
|
])]),
|
|
8676
|
-
d("div",
|
|
8660
|
+
d("div", Dc, x(k.value) + " " + x(m.value), 1),
|
|
8677
8661
|
d("button", {
|
|
8678
8662
|
type: "button",
|
|
8679
8663
|
class: "p-1 hover:bg-gray-100 rounded",
|
|
@@ -8695,13 +8679,13 @@ const Dd = {
|
|
|
8695
8679
|
], -1)
|
|
8696
8680
|
])])
|
|
8697
8681
|
]),
|
|
8698
|
-
d("div",
|
|
8682
|
+
d("div", Rc, [
|
|
8699
8683
|
(s(), c(G, null, X(y, (F) => d("div", {
|
|
8700
8684
|
key: F,
|
|
8701
8685
|
class: "text-center text-xs font-medium text-slate-600 py-1"
|
|
8702
8686
|
}, x(F), 1)), 64))
|
|
8703
8687
|
]),
|
|
8704
|
-
d("div",
|
|
8688
|
+
d("div", _c, [
|
|
8705
8689
|
(s(!0), c(G, null, X(S.value, (F, Y) => (s(), c("div", {
|
|
8706
8690
|
key: "prev-" + Y,
|
|
8707
8691
|
class: "text-center text-sm text-slate-300 py-2"
|
|
@@ -8716,13 +8700,13 @@ const Dd = {
|
|
|
8716
8700
|
w(F) ? "text-gray-300 cursor-not-allowed" : ""
|
|
8717
8701
|
]),
|
|
8718
8702
|
onClick: (Y) => le(F)
|
|
8719
|
-
}, x(F), 11,
|
|
8703
|
+
}, x(F), 11, Uc))), 128)),
|
|
8720
8704
|
(s(!0), c(G, null, X(C.value, (F, Y) => (s(), c("div", {
|
|
8721
8705
|
key: "next-" + Y,
|
|
8722
8706
|
class: "text-center text-sm text-slate-300 py-2"
|
|
8723
8707
|
}, x(F), 1))), 128))
|
|
8724
8708
|
]),
|
|
8725
|
-
e.showToday ? (s(), c("div",
|
|
8709
|
+
e.showToday ? (s(), c("div", qc, [
|
|
8726
8710
|
d("button", {
|
|
8727
8711
|
type: "button",
|
|
8728
8712
|
class: "w-full px-3 py-2 text-sm font-medium text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",
|
|
@@ -8740,10 +8724,10 @@ const Dd = {
|
|
|
8740
8724
|
})) : p("", !0)
|
|
8741
8725
|
]));
|
|
8742
8726
|
}
|
|
8743
|
-
},
|
|
8727
|
+
}, Wc = { class: "flex items-start justify-between" }, Yc = { class: "flex-1 min-w-0" }, Gc = {
|
|
8744
8728
|
key: 0,
|
|
8745
8729
|
class: "flex-shrink-0 ml-4"
|
|
8746
|
-
},
|
|
8730
|
+
}, Kc = "text-lg font-semibold text-slate-900 truncate", Xc = "text-sm text-slate-600 mt-1", Qc = {
|
|
8747
8731
|
__name: "Graph",
|
|
8748
8732
|
props: {
|
|
8749
8733
|
variant: {
|
|
@@ -8854,18 +8838,18 @@ const Dd = {
|
|
|
8854
8838
|
class: b(_(A)(_(t)({ padding: e.padding })))
|
|
8855
8839
|
}, [
|
|
8856
8840
|
M(m.$slots, "header", {}, () => [
|
|
8857
|
-
d("div",
|
|
8858
|
-
d("div",
|
|
8841
|
+
d("div", Wc, [
|
|
8842
|
+
d("div", Yc, [
|
|
8859
8843
|
e.title ? (s(), c("h3", {
|
|
8860
8844
|
key: 0,
|
|
8861
|
-
class: b(
|
|
8845
|
+
class: b(Kc)
|
|
8862
8846
|
}, x(e.title), 1)) : p("", !0),
|
|
8863
8847
|
e.description ? (s(), c("p", {
|
|
8864
8848
|
key: 1,
|
|
8865
|
-
class: b(
|
|
8849
|
+
class: b(Xc)
|
|
8866
8850
|
}, x(e.description), 1)) : p("", !0)
|
|
8867
8851
|
]),
|
|
8868
|
-
m.$slots.actions ? (s(), c("div",
|
|
8852
|
+
m.$slots.actions ? (s(), c("div", Gc, [
|
|
8869
8853
|
M(m.$slots, "actions")
|
|
8870
8854
|
])) : p("", !0)
|
|
8871
8855
|
])
|
|
@@ -8897,7 +8881,7 @@ const Dd = {
|
|
|
8897
8881
|
], 2)) : p("", !0)
|
|
8898
8882
|
], 2));
|
|
8899
8883
|
}
|
|
8900
|
-
},
|
|
8884
|
+
}, Jc = { class: "w-full h-full" }, Zc = ["width", "height", "viewBox"], ef = { key: 0 }, tf = ["x1", "y1", "x2", "y2", "stroke"], af = ["x", "y", "width", "height", "fill", "onMouseenter"], nf = { key: 1 }, rf = ["x", "y"], sf = { key: 2 }, lf = ["x", "y"], of = { key: 3 }, uf = ["x", "y", "width", "height", "fill", "stroke"], df = ["x", "y"], cf = {
|
|
8901
8885
|
__name: "BarChart",
|
|
8902
8886
|
props: {
|
|
8903
8887
|
data: {
|
|
@@ -9003,14 +8987,14 @@ const Dd = {
|
|
|
9003
8987
|
}, v = () => {
|
|
9004
8988
|
r.value.visible = !1;
|
|
9005
8989
|
};
|
|
9006
|
-
return (f, i) => (s(), c("div",
|
|
8990
|
+
return (f, i) => (s(), c("div", Jc, [
|
|
9007
8991
|
(s(), c("svg", {
|
|
9008
8992
|
width: e.width,
|
|
9009
8993
|
height: e.height,
|
|
9010
8994
|
viewBox: `0 0 ${e.width} ${e.height}`,
|
|
9011
8995
|
class: "overflow-visible"
|
|
9012
8996
|
}, [
|
|
9013
|
-
e.showGrid ? (s(), c("g",
|
|
8997
|
+
e.showGrid ? (s(), c("g", ef, [
|
|
9014
8998
|
(s(!0), c(G, null, X(g.value, (u) => (s(), c("line", {
|
|
9015
8999
|
key: `grid-${u}`,
|
|
9016
9000
|
x1: e.padding.left,
|
|
@@ -9020,7 +9004,7 @@ const Dd = {
|
|
|
9020
9004
|
stroke: e.gridColor,
|
|
9021
9005
|
"stroke-width": "1",
|
|
9022
9006
|
"stroke-dasharray": "2,2"
|
|
9023
|
-
}, null, 8,
|
|
9007
|
+
}, null, 8, tf))), 128))
|
|
9024
9008
|
])) : p("", !0),
|
|
9025
9009
|
d("g", null, [
|
|
9026
9010
|
(s(!0), c(G, null, X(e.data, (u, w) => (s(), c("rect", {
|
|
@@ -9033,27 +9017,27 @@ const Dd = {
|
|
|
9033
9017
|
class: b(e.barClasses),
|
|
9034
9018
|
onMouseenter: (V) => C(V, u, w),
|
|
9035
9019
|
onMouseleave: v
|
|
9036
|
-
}, null, 42,
|
|
9020
|
+
}, null, 42, af))), 128))
|
|
9037
9021
|
]),
|
|
9038
|
-
e.showXAxis ? (s(), c("g",
|
|
9022
|
+
e.showXAxis ? (s(), c("g", nf, [
|
|
9039
9023
|
(s(!0), c(G, null, X(e.labels, (u, w) => (s(), c("text", {
|
|
9040
9024
|
key: `xlabel-${w}`,
|
|
9041
9025
|
x: y(w) + o.value / 2,
|
|
9042
9026
|
y: e.height - e.padding.bottom + 20,
|
|
9043
9027
|
class: b(e.axisLabelClasses),
|
|
9044
9028
|
"text-anchor": "middle"
|
|
9045
|
-
}, x(u), 11,
|
|
9029
|
+
}, x(u), 11, rf))), 128))
|
|
9046
9030
|
])) : p("", !0),
|
|
9047
|
-
e.showYAxis ? (s(), c("g",
|
|
9031
|
+
e.showYAxis ? (s(), c("g", sf, [
|
|
9048
9032
|
(s(!0), c(G, null, X(g.value, (u) => (s(), c("text", {
|
|
9049
9033
|
key: `ylabel-${u}`,
|
|
9050
9034
|
x: e.padding.left - 10,
|
|
9051
9035
|
y: u + 4,
|
|
9052
9036
|
class: b(e.axisLabelClasses),
|
|
9053
9037
|
"text-anchor": "end"
|
|
9054
|
-
}, x(S(u)), 11,
|
|
9038
|
+
}, x(S(u)), 11, lf))), 128))
|
|
9055
9039
|
])) : p("", !0),
|
|
9056
|
-
r.value.visible ? (s(), c("g",
|
|
9040
|
+
r.value.visible ? (s(), c("g", of, [
|
|
9057
9041
|
d("rect", {
|
|
9058
9042
|
x: r.value.x - r.value.width / 2,
|
|
9059
9043
|
y: r.value.y - r.value.height - 10,
|
|
@@ -9063,18 +9047,18 @@ const Dd = {
|
|
|
9063
9047
|
stroke: e.tooltipBorder,
|
|
9064
9048
|
"stroke-width": "1",
|
|
9065
9049
|
rx: "4"
|
|
9066
|
-
}, null, 8,
|
|
9050
|
+
}, null, 8, uf),
|
|
9067
9051
|
d("text", {
|
|
9068
9052
|
x: r.value.x,
|
|
9069
9053
|
y: r.value.y - r.value.height / 2 - 2,
|
|
9070
9054
|
class: b(e.tooltipTextClasses),
|
|
9071
9055
|
"text-anchor": "middle"
|
|
9072
|
-
}, x(r.value.content), 11,
|
|
9056
|
+
}, x(r.value.content), 11, df)
|
|
9073
9057
|
])) : p("", !0)
|
|
9074
|
-
], 8,
|
|
9058
|
+
], 8, Zc))
|
|
9075
9059
|
]));
|
|
9076
9060
|
}
|
|
9077
|
-
},
|
|
9061
|
+
}, ff = { class: "w-full h-full" }, mf = ["width", "height", "viewBox"], gf = { key: 0 }, vf = ["x1", "y1", "x2", "y2", "stroke"], bf = ["d", "stroke", "stroke-width"], hf = { key: 1 }, pf = ["cx", "cy", "r", "fill", "stroke", "onMouseenter"], yf = ["d", "fill", "fill-opacity"], xf = { key: 3 }, wf = ["x", "y"], kf = { key: 4 }, $f = ["x", "y"], Sf = { key: 5 }, Cf = ["x", "y", "width", "height", "fill", "stroke"], zf = ["x", "y"], Af = {
|
|
9078
9062
|
__name: "LineChart",
|
|
9079
9063
|
props: {
|
|
9080
9064
|
data: {
|
|
@@ -9220,14 +9204,14 @@ const Dd = {
|
|
|
9220
9204
|
}, C = () => {
|
|
9221
9205
|
r.value.visible = !1;
|
|
9222
9206
|
};
|
|
9223
|
-
return (v, f) => (s(), c("div",
|
|
9207
|
+
return (v, f) => (s(), c("div", ff, [
|
|
9224
9208
|
(s(), c("svg", {
|
|
9225
9209
|
width: e.width,
|
|
9226
9210
|
height: e.height,
|
|
9227
9211
|
viewBox: `0 0 ${e.width} ${e.height}`,
|
|
9228
9212
|
class: "overflow-visible"
|
|
9229
9213
|
}, [
|
|
9230
|
-
e.showGrid ? (s(), c("g",
|
|
9214
|
+
e.showGrid ? (s(), c("g", gf, [
|
|
9231
9215
|
(s(!0), c(G, null, X(y.value, (i) => (s(), c("line", {
|
|
9232
9216
|
key: `grid-${i}`,
|
|
9233
9217
|
x1: e.padding.left,
|
|
@@ -9237,7 +9221,7 @@ const Dd = {
|
|
|
9237
9221
|
stroke: e.gridColor,
|
|
9238
9222
|
"stroke-width": "1",
|
|
9239
9223
|
"stroke-dasharray": "2,2"
|
|
9240
|
-
}, null, 8,
|
|
9224
|
+
}, null, 8, vf))), 128))
|
|
9241
9225
|
])) : p("", !0),
|
|
9242
9226
|
d("path", {
|
|
9243
9227
|
d: m.value,
|
|
@@ -9245,8 +9229,8 @@ const Dd = {
|
|
|
9245
9229
|
"stroke-width": e.strokeWidth,
|
|
9246
9230
|
fill: "none",
|
|
9247
9231
|
class: b(e.lineClasses)
|
|
9248
|
-
}, null, 10,
|
|
9249
|
-
e.showPoints ? (s(), c("g",
|
|
9232
|
+
}, null, 10, bf),
|
|
9233
|
+
e.showPoints ? (s(), c("g", hf, [
|
|
9250
9234
|
(s(!0), c(G, null, X(o.value, (i, u) => (s(), c("circle", {
|
|
9251
9235
|
key: `point-${u}`,
|
|
9252
9236
|
cx: i.x,
|
|
@@ -9258,33 +9242,33 @@ const Dd = {
|
|
|
9258
9242
|
class: b(e.pointClasses),
|
|
9259
9243
|
onMouseenter: (w) => S(w, i.value, u),
|
|
9260
9244
|
onMouseleave: C
|
|
9261
|
-
}, null, 42,
|
|
9245
|
+
}, null, 42, pf))), 128))
|
|
9262
9246
|
])) : p("", !0),
|
|
9263
9247
|
e.fillArea ? (s(), c("path", {
|
|
9264
9248
|
key: 2,
|
|
9265
9249
|
d: g.value,
|
|
9266
9250
|
fill: e.fillColor,
|
|
9267
9251
|
"fill-opacity": e.fillOpacity
|
|
9268
|
-
}, null, 8,
|
|
9269
|
-
e.showXAxis ? (s(), c("g",
|
|
9252
|
+
}, null, 8, yf)) : p("", !0),
|
|
9253
|
+
e.showXAxis ? (s(), c("g", xf, [
|
|
9270
9254
|
(s(!0), c(G, null, X(e.labels, (i, u) => (s(), c("text", {
|
|
9271
9255
|
key: `xlabel-${u}`,
|
|
9272
9256
|
x: k(u),
|
|
9273
9257
|
y: e.height - e.padding.bottom + 20,
|
|
9274
9258
|
class: b(e.axisLabelClasses),
|
|
9275
9259
|
"text-anchor": "middle"
|
|
9276
|
-
}, x(i), 11,
|
|
9260
|
+
}, x(i), 11, wf))), 128))
|
|
9277
9261
|
])) : p("", !0),
|
|
9278
|
-
e.showYAxis ? (s(), c("g",
|
|
9262
|
+
e.showYAxis ? (s(), c("g", kf, [
|
|
9279
9263
|
(s(!0), c(G, null, X(y.value, (i) => (s(), c("text", {
|
|
9280
9264
|
key: `ylabel-${i}`,
|
|
9281
9265
|
x: e.padding.left - 10,
|
|
9282
9266
|
y: i + 4,
|
|
9283
9267
|
class: b(e.axisLabelClasses),
|
|
9284
9268
|
"text-anchor": "end"
|
|
9285
|
-
}, x(I(i)), 11,
|
|
9269
|
+
}, x(I(i)), 11, $f))), 128))
|
|
9286
9270
|
])) : p("", !0),
|
|
9287
|
-
r.value.visible ? (s(), c("g",
|
|
9271
|
+
r.value.visible ? (s(), c("g", Sf, [
|
|
9288
9272
|
d("rect", {
|
|
9289
9273
|
x: r.value.x - r.value.width / 2,
|
|
9290
9274
|
y: r.value.y - r.value.height - 10,
|
|
@@ -9294,30 +9278,30 @@ const Dd = {
|
|
|
9294
9278
|
stroke: e.tooltipBorder,
|
|
9295
9279
|
"stroke-width": "1",
|
|
9296
9280
|
rx: "4"
|
|
9297
|
-
}, null, 8,
|
|
9281
|
+
}, null, 8, Cf),
|
|
9298
9282
|
d("text", {
|
|
9299
9283
|
x: r.value.x,
|
|
9300
9284
|
y: r.value.y - r.value.height / 2 - 2,
|
|
9301
9285
|
class: b(e.tooltipTextClasses),
|
|
9302
9286
|
"text-anchor": "middle"
|
|
9303
|
-
}, x(r.value.content), 11,
|
|
9287
|
+
}, x(r.value.content), 11, zf)
|
|
9304
9288
|
])) : p("", !0)
|
|
9305
|
-
], 8,
|
|
9289
|
+
], 8, mf))
|
|
9306
9290
|
]));
|
|
9307
9291
|
}
|
|
9308
|
-
},
|
|
9292
|
+
}, Vf = { class: "bg-white border-b border-gray-200" }, Bf = {
|
|
9309
9293
|
key: 0,
|
|
9310
9294
|
class: "flex items-center gap-3 min-w-64"
|
|
9311
|
-
},
|
|
9295
|
+
}, Pf = { class: "relative flex-1" }, Tf = { class: "relative flex-1" }, jf = {
|
|
9312
9296
|
key: 1,
|
|
9313
9297
|
class: "min-w-40"
|
|
9314
|
-
},
|
|
9298
|
+
}, If = { class: "relative" }, Of = {
|
|
9315
9299
|
key: 2,
|
|
9316
9300
|
class: "min-w-40"
|
|
9317
|
-
},
|
|
9301
|
+
}, Mf = { class: "relative" }, Ff = ["value"], Lf = {
|
|
9318
9302
|
key: 3,
|
|
9319
9303
|
class: "flex items-center gap-2"
|
|
9320
|
-
},
|
|
9304
|
+
}, Ef = { class: "flex items-center gap-3 ml-auto" }, Nf = { class: "flex items-center gap-3 flex-wrap" }, Df = ["onClick"], Rf = {
|
|
9321
9305
|
__name: "GraphFilters",
|
|
9322
9306
|
props: {
|
|
9323
9307
|
showDateFilter: {
|
|
@@ -9442,12 +9426,12 @@ const Dd = {
|
|
|
9442
9426
|
n("update:dateFrom", ne);
|
|
9443
9427
|
}), ce(() => l.value, (ne) => {
|
|
9444
9428
|
n("update:dateTo", ne);
|
|
9445
|
-
}), (ne, O) => (s(), c("div",
|
|
9429
|
+
}), (ne, O) => (s(), c("div", Vf, [
|
|
9446
9430
|
d("div", {
|
|
9447
9431
|
class: b($.value)
|
|
9448
9432
|
}, [
|
|
9449
|
-
e.showDateFilter ? (s(), c("div",
|
|
9450
|
-
d("div",
|
|
9433
|
+
e.showDateFilter ? (s(), c("div", Bf, [
|
|
9434
|
+
d("div", Pf, [
|
|
9451
9435
|
P(Z, {
|
|
9452
9436
|
icon: "calendar",
|
|
9453
9437
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -9462,7 +9446,7 @@ const Dd = {
|
|
|
9462
9446
|
])
|
|
9463
9447
|
]),
|
|
9464
9448
|
O[6] || (O[6] = d("span", { class: "text-gray-500 text-sm" }, "to", -1)),
|
|
9465
|
-
d("div",
|
|
9449
|
+
d("div", Tf, [
|
|
9466
9450
|
P(Z, {
|
|
9467
9451
|
icon: "calendar",
|
|
9468
9452
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -9477,8 +9461,8 @@ const Dd = {
|
|
|
9477
9461
|
])
|
|
9478
9462
|
])
|
|
9479
9463
|
])) : p("", !0),
|
|
9480
|
-
e.showChartTypeFilter ? (s(), c("div",
|
|
9481
|
-
d("div",
|
|
9464
|
+
e.showChartTypeFilter ? (s(), c("div", jf, [
|
|
9465
|
+
d("div", If, [
|
|
9482
9466
|
P(Me, {
|
|
9483
9467
|
modelValue: o.value,
|
|
9484
9468
|
"onUpdate:modelValue": O[2] || (O[2] = (ee) => o.value = ee),
|
|
@@ -9498,8 +9482,8 @@ const Dd = {
|
|
|
9498
9482
|
})
|
|
9499
9483
|
])
|
|
9500
9484
|
])) : p("", !0),
|
|
9501
|
-
e.dataSources.length > 0 ? (s(), c("div",
|
|
9502
|
-
d("div",
|
|
9485
|
+
e.dataSources.length > 0 ? (s(), c("div", Of, [
|
|
9486
|
+
d("div", Mf, [
|
|
9503
9487
|
P(Me, {
|
|
9504
9488
|
modelValue: m.value,
|
|
9505
9489
|
"onUpdate:modelValue": O[3] || (O[3] = (ee) => m.value = ee),
|
|
@@ -9511,7 +9495,7 @@ const Dd = {
|
|
|
9511
9495
|
(s(!0), c(G, null, X(e.dataSources, (ee) => (s(), c("option", {
|
|
9512
9496
|
key: ee.value,
|
|
9513
9497
|
value: ee.value
|
|
9514
|
-
}, x(ee.label), 9,
|
|
9498
|
+
}, x(ee.label), 9, Ff))), 128))
|
|
9515
9499
|
]),
|
|
9516
9500
|
_: 1
|
|
9517
9501
|
}, 8, ["modelValue", "class"]),
|
|
@@ -9521,10 +9505,10 @@ const Dd = {
|
|
|
9521
9505
|
})
|
|
9522
9506
|
])
|
|
9523
9507
|
])) : p("", !0),
|
|
9524
|
-
ne.$slots.filters ? (s(), c("div",
|
|
9508
|
+
ne.$slots.filters ? (s(), c("div", Lf, [
|
|
9525
9509
|
M(ne.$slots, "filters")
|
|
9526
9510
|
])) : p("", !0),
|
|
9527
|
-
d("div",
|
|
9511
|
+
d("div", Ef, [
|
|
9528
9512
|
y.value ? (s(), L(ye, {
|
|
9529
9513
|
key: 0,
|
|
9530
9514
|
class: b(C.value),
|
|
@@ -9573,7 +9557,7 @@ const Dd = {
|
|
|
9573
9557
|
key: 0,
|
|
9574
9558
|
class: b(i.value)
|
|
9575
9559
|
}, [
|
|
9576
|
-
d("div",
|
|
9560
|
+
d("div", Nf, [
|
|
9577
9561
|
d("span", {
|
|
9578
9562
|
class: b(u.value)
|
|
9579
9563
|
}, "Active filters:", 2),
|
|
@@ -9594,13 +9578,13 @@ const Dd = {
|
|
|
9594
9578
|
icon: "xmark",
|
|
9595
9579
|
class: "w-3 h-3"
|
|
9596
9580
|
})
|
|
9597
|
-
], 10,
|
|
9581
|
+
], 10, Df)
|
|
9598
9582
|
], 2))), 128))
|
|
9599
9583
|
])
|
|
9600
9584
|
], 2)) : p("", !0)
|
|
9601
9585
|
]));
|
|
9602
9586
|
}
|
|
9603
|
-
},
|
|
9587
|
+
}, _f = { class: "flex items-start justify-between" }, Uf = {
|
|
9604
9588
|
key: 0,
|
|
9605
9589
|
class: "flex items-center gap-2"
|
|
9606
9590
|
}, Cr = {
|
|
@@ -9680,7 +9664,7 @@ const Dd = {
|
|
|
9680
9664
|
class: b(l.value)
|
|
9681
9665
|
}, [
|
|
9682
9666
|
M(g.$slots, "header", {}, () => [
|
|
9683
|
-
d("div",
|
|
9667
|
+
d("div", _f, [
|
|
9684
9668
|
d("div", null, [
|
|
9685
9669
|
e.title ? (s(), L(da, {
|
|
9686
9670
|
key: 0,
|
|
@@ -9701,7 +9685,7 @@ const Dd = {
|
|
|
9701
9685
|
_: 1
|
|
9702
9686
|
}, 8, ["class"])) : p("", !0)
|
|
9703
9687
|
]),
|
|
9704
|
-
g.$slots.filters ? (s(), c("div",
|
|
9688
|
+
g.$slots.filters ? (s(), c("div", Uf, [
|
|
9705
9689
|
M(g.$slots, "filters")
|
|
9706
9690
|
])) : p("", !0)
|
|
9707
9691
|
])
|
|
@@ -9887,19 +9871,19 @@ const Dd = {
|
|
|
9887
9871
|
], 2)) : p("", !0)
|
|
9888
9872
|
], 2));
|
|
9889
9873
|
}
|
|
9890
|
-
},
|
|
9874
|
+
}, qf = { class: "flex items-center justify-between" }, Hf = {
|
|
9891
9875
|
key: 0,
|
|
9892
9876
|
class: "text-sm text-slate-600"
|
|
9893
|
-
},
|
|
9877
|
+
}, Wf = {
|
|
9894
9878
|
key: 1,
|
|
9895
9879
|
class: "text-sm text-slate-600"
|
|
9896
|
-
},
|
|
9880
|
+
}, Yf = {
|
|
9897
9881
|
key: 2,
|
|
9898
9882
|
class: "flex items-center gap-4"
|
|
9899
|
-
},
|
|
9883
|
+
}, Gf = {
|
|
9900
9884
|
key: 3,
|
|
9901
9885
|
class: "flex items-center gap-4"
|
|
9902
|
-
},
|
|
9886
|
+
}, Kf = { class: "flex items-center gap-2" }, Xf = { class: "flex items-center gap-1" }, Qf = ["disabled"], Jf = ["disabled"], Zf = { class: "flex items-center gap-1" }, em = ["onClick"], tm = ["disabled"], am = ["disabled"], nm = { class: "text-sm text-slate-600 ml-4" }, Ar = {
|
|
9903
9887
|
__name: "DataTablePagination",
|
|
9904
9888
|
props: {
|
|
9905
9889
|
currentPage: {
|
|
@@ -10040,13 +10024,13 @@ const Dd = {
|
|
|
10040
10024
|
key: 0,
|
|
10041
10025
|
class: b(y.value)
|
|
10042
10026
|
}, [
|
|
10043
|
-
d("div",
|
|
10044
|
-
e.selectable && e.selectedCount > 0 ? (s(), c("div",
|
|
10045
|
-
S.$slots.footer ? (s(), c("div",
|
|
10027
|
+
d("div", qf, [
|
|
10028
|
+
e.selectable && e.selectedCount > 0 ? (s(), c("div", Hf, x(e.selectedCount) + " of " + x(e.total) + " selected ", 1)) : (s(), c("div", Wf, " Showing " + x(o.value) + " to " + x(m.value) + " of " + x(e.total) + " entries ", 1)),
|
|
10029
|
+
S.$slots.footer ? (s(), c("div", Yf, [
|
|
10046
10030
|
M(S.$slots, "footer")
|
|
10047
10031
|
])) : p("", !0),
|
|
10048
|
-
e.showPagination ? (s(), c("div",
|
|
10049
|
-
d("div",
|
|
10032
|
+
e.showPagination ? (s(), c("div", Gf, [
|
|
10033
|
+
d("div", Kf, [
|
|
10050
10034
|
P(De, {
|
|
10051
10035
|
for: "pageSize",
|
|
10052
10036
|
class: b(k.value),
|
|
@@ -10073,7 +10057,7 @@ const Dd = {
|
|
|
10073
10057
|
_: 1
|
|
10074
10058
|
}, 8, ["model-value", "class"])
|
|
10075
10059
|
]),
|
|
10076
|
-
d("div",
|
|
10060
|
+
d("div", Xf, [
|
|
10077
10061
|
d("button", {
|
|
10078
10062
|
disabled: e.currentPage === 1,
|
|
10079
10063
|
class: b(I(!1, e.currentPage === 1)),
|
|
@@ -10093,7 +10077,7 @@ const Dd = {
|
|
|
10093
10077
|
d: "m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"
|
|
10094
10078
|
})
|
|
10095
10079
|
], -1)
|
|
10096
|
-
])], 10,
|
|
10080
|
+
])], 10, Qf),
|
|
10097
10081
|
d("button", {
|
|
10098
10082
|
disabled: e.currentPage === 1,
|
|
10099
10083
|
class: b(I(!1, e.currentPage === 1)),
|
|
@@ -10113,13 +10097,13 @@ const Dd = {
|
|
|
10113
10097
|
d: "M15.75 19.5L8.25 12l7.5-7.5"
|
|
10114
10098
|
})
|
|
10115
10099
|
], -1)
|
|
10116
|
-
])], 10,
|
|
10117
|
-
d("div",
|
|
10100
|
+
])], 10, Jf),
|
|
10101
|
+
d("div", Zf, [
|
|
10118
10102
|
(s(!0), c(G, null, X(g.value, (v) => (s(), c("button", {
|
|
10119
10103
|
key: v,
|
|
10120
10104
|
class: b(I(v === e.currentPage, !1)),
|
|
10121
10105
|
onClick: (f) => S.$emit("update:currentPage", v)
|
|
10122
|
-
}, x(v), 11,
|
|
10106
|
+
}, x(v), 11, em))), 128))
|
|
10123
10107
|
]),
|
|
10124
10108
|
d("button", {
|
|
10125
10109
|
disabled: e.currentPage === e.totalPages,
|
|
@@ -10140,7 +10124,7 @@ const Dd = {
|
|
|
10140
10124
|
d: "m8.25 4.5 7.5 7.5-7.5 7.5"
|
|
10141
10125
|
})
|
|
10142
10126
|
], -1)
|
|
10143
|
-
])], 10,
|
|
10127
|
+
])], 10, tm),
|
|
10144
10128
|
d("button", {
|
|
10145
10129
|
disabled: e.currentPage === e.totalPages,
|
|
10146
10130
|
class: b(I(!1, e.currentPage === e.totalPages)),
|
|
@@ -10160,9 +10144,9 @@ const Dd = {
|
|
|
10160
10144
|
d: "m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"
|
|
10161
10145
|
})
|
|
10162
10146
|
], -1)
|
|
10163
|
-
])], 10,
|
|
10147
|
+
])], 10, am)
|
|
10164
10148
|
]),
|
|
10165
|
-
d("div",
|
|
10149
|
+
d("div", nm, " Page " + x(e.currentPage) + " of " + x(e.totalPages), 1)
|
|
10166
10150
|
])) : p("", !0)
|
|
10167
10151
|
])
|
|
10168
10152
|
], 2)) : p("", !0);
|
|
@@ -10172,40 +10156,40 @@ const Dd = {
|
|
|
10172
10156
|
for (const [n, r] of a)
|
|
10173
10157
|
t[n] = r;
|
|
10174
10158
|
return t;
|
|
10175
|
-
},
|
|
10159
|
+
}, rm = {
|
|
10176
10160
|
key: 0,
|
|
10177
10161
|
class: "loader__backdrop"
|
|
10178
|
-
},
|
|
10162
|
+
}, sm = { class: "loader__container" }, lm = {
|
|
10179
10163
|
key: 0,
|
|
10180
10164
|
class: "loader__text loader__text--top"
|
|
10181
|
-
},
|
|
10165
|
+
}, om = {
|
|
10182
10166
|
key: 1,
|
|
10183
10167
|
class: "loader__spin"
|
|
10184
|
-
},
|
|
10168
|
+
}, im = {
|
|
10185
10169
|
key: 2,
|
|
10186
10170
|
class: "loader__pulse"
|
|
10187
|
-
},
|
|
10171
|
+
}, um = {
|
|
10188
10172
|
key: 3,
|
|
10189
10173
|
class: "loader__bounce"
|
|
10190
|
-
},
|
|
10174
|
+
}, dm = {
|
|
10191
10175
|
key: 4,
|
|
10192
10176
|
class: "loader__ripple"
|
|
10193
|
-
},
|
|
10177
|
+
}, cm = {
|
|
10194
10178
|
key: 5,
|
|
10195
10179
|
class: "loader__bars"
|
|
10196
|
-
},
|
|
10180
|
+
}, fm = {
|
|
10197
10181
|
key: 6,
|
|
10198
10182
|
class: "loader__dots"
|
|
10199
|
-
},
|
|
10183
|
+
}, mm = {
|
|
10200
10184
|
key: 7,
|
|
10201
10185
|
class: "loader__ring"
|
|
10202
|
-
},
|
|
10186
|
+
}, gm = {
|
|
10203
10187
|
key: 8,
|
|
10204
10188
|
class: "loader__spinner-text"
|
|
10205
|
-
},
|
|
10189
|
+
}, vm = {
|
|
10206
10190
|
key: 9,
|
|
10207
10191
|
class: "loader__text loader__text--bottom"
|
|
10208
|
-
},
|
|
10192
|
+
}, bm = {
|
|
10209
10193
|
__name: "Loader",
|
|
10210
10194
|
props: {
|
|
10211
10195
|
loading: {
|
|
@@ -10272,53 +10256,53 @@ const Dd = {
|
|
|
10272
10256
|
"--loader-bg": e.backgroundColor
|
|
10273
10257
|
})
|
|
10274
10258
|
}, [
|
|
10275
|
-
e.overlay ? (s(), c("div",
|
|
10276
|
-
d("div",
|
|
10277
|
-
e.text && e.textPosition === "top" ? (s(), c("div",
|
|
10278
|
-
e.type === "spin" ? (s(), c("div",
|
|
10259
|
+
e.overlay ? (s(), c("div", rm)) : p("", !0),
|
|
10260
|
+
d("div", sm, [
|
|
10261
|
+
e.text && e.textPosition === "top" ? (s(), c("div", lm, x(e.text), 1)) : p("", !0),
|
|
10262
|
+
e.type === "spin" ? (s(), c("div", om)) : e.type === "pulse" ? (s(), c("div", im)) : e.type === "bounce" ? (s(), c("div", um, [
|
|
10279
10263
|
(s(), c(G, null, X(3, (n) => d("div", {
|
|
10280
10264
|
key: n,
|
|
10281
10265
|
class: "loader__bounce-dot",
|
|
10282
10266
|
style: fe({ animationDelay: `${(n - 1) * 0.1}s` })
|
|
10283
10267
|
}, null, 4)), 64))
|
|
10284
|
-
])) : e.type === "ripple" ? (s(), c("div",
|
|
10268
|
+
])) : e.type === "ripple" ? (s(), c("div", dm, [
|
|
10285
10269
|
(s(), c(G, null, X(2, (n) => d("div", {
|
|
10286
10270
|
key: n,
|
|
10287
10271
|
class: "loader__ripple-ring",
|
|
10288
10272
|
style: fe({ animationDelay: `${(n - 1) * 0.5}s` })
|
|
10289
10273
|
}, null, 4)), 64))
|
|
10290
|
-
])) : e.type === "bars" ? (s(), c("div",
|
|
10274
|
+
])) : e.type === "bars" ? (s(), c("div", cm, [
|
|
10291
10275
|
(s(), c(G, null, X(5, (n) => d("div", {
|
|
10292
10276
|
key: n,
|
|
10293
10277
|
class: "loader__bar",
|
|
10294
10278
|
style: fe({ animationDelay: `${(n - 1) * 0.1}s` })
|
|
10295
10279
|
}, null, 4)), 64))
|
|
10296
|
-
])) : e.type === "dots" ? (s(), c("div",
|
|
10280
|
+
])) : e.type === "dots" ? (s(), c("div", fm, [
|
|
10297
10281
|
(s(), c(G, null, X(3, (n) => d("div", {
|
|
10298
10282
|
key: n,
|
|
10299
10283
|
class: "loader__dot",
|
|
10300
10284
|
style: fe({ animationDelay: `${(n - 1) * 0.16}s` })
|
|
10301
10285
|
}, null, 4)), 64))
|
|
10302
|
-
])) : e.type === "ring" ? (s(), c("div",
|
|
10286
|
+
])) : e.type === "ring" ? (s(), c("div", mm, [...t[0] || (t[0] = [
|
|
10303
10287
|
d("div", { class: "loader__ring-track" }, null, -1),
|
|
10304
10288
|
d("div", { class: "loader__ring-fill" }, null, -1)
|
|
10305
|
-
])])) : e.type === "spinner-text" ? (s(), c("div",
|
|
10289
|
+
])])) : e.type === "spinner-text" ? (s(), c("div", gm, [...t[1] || (t[1] = [
|
|
10306
10290
|
d("div", { class: "loader__spinner" }, null, -1)
|
|
10307
10291
|
])])) : p("", !0),
|
|
10308
|
-
e.text && e.textPosition === "bottom" ? (s(), c("div",
|
|
10292
|
+
e.text && e.textPosition === "bottom" ? (s(), c("div", vm, x(e.text), 1)) : p("", !0)
|
|
10309
10293
|
])
|
|
10310
10294
|
], 6)) : p("", !0);
|
|
10311
10295
|
}
|
|
10312
|
-
}, $t = /* @__PURE__ */ Mt(
|
|
10296
|
+
}, $t = /* @__PURE__ */ Mt(bm, [["__scopeId", "data-v-68532350"]]), hm = { class: "relative" }, pm = { class: "flex items-center justify-center" }, ym = ["onClick"], xm = { class: "flex items-center gap-2" }, wm = {
|
|
10313
10297
|
key: 1,
|
|
10314
10298
|
class: "flex flex-col"
|
|
10315
|
-
},
|
|
10299
|
+
}, km = {
|
|
10316
10300
|
key: 1,
|
|
10317
10301
|
class: "flex items-center gap-1 justify-center"
|
|
10318
|
-
},
|
|
10302
|
+
}, $m = {
|
|
10319
10303
|
key: 1,
|
|
10320
10304
|
class: "text-xs"
|
|
10321
|
-
},
|
|
10305
|
+
}, Sm = { key: 2 }, Cm = ["colspan"], zm = { class: "flex flex-col items-center justify-center py-12" }, Am = { class: "text-slate-400 mb-4 flex justify-center" }, Vm = { class: "text-slate-600 text-lg font-medium mb-2" }, Bm = { class: "text-slate-500 text-sm" }, Pm = {
|
|
10322
10306
|
__name: "DataTable",
|
|
10323
10307
|
props: {
|
|
10324
10308
|
data: {
|
|
@@ -10690,7 +10674,7 @@ const Dd = {
|
|
|
10690
10674
|
]),
|
|
10691
10675
|
_: 3
|
|
10692
10676
|
}, 8, ["title", "description", "variant", "padding"])) : p("", !0),
|
|
10693
|
-
d("div",
|
|
10677
|
+
d("div", hm, [
|
|
10694
10678
|
e.loading ? (s(), L($t, {
|
|
10695
10679
|
key: 0,
|
|
10696
10680
|
loading: !0,
|
|
@@ -10717,7 +10701,7 @@ const Dd = {
|
|
|
10717
10701
|
key: 0,
|
|
10718
10702
|
class: b(ht.value)
|
|
10719
10703
|
}, [
|
|
10720
|
-
d("div",
|
|
10704
|
+
d("div", pm, [
|
|
10721
10705
|
e.bulkLoading ? (s(), L($t, {
|
|
10722
10706
|
key: 0,
|
|
10723
10707
|
loading: !0,
|
|
@@ -10738,7 +10722,7 @@ const Dd = {
|
|
|
10738
10722
|
class: b(Lt(ue)),
|
|
10739
10723
|
onClick: (we) => B(ue)
|
|
10740
10724
|
}, [
|
|
10741
|
-
d("div",
|
|
10725
|
+
d("div", xm, [
|
|
10742
10726
|
d("span", null, x(ue.label), 1),
|
|
10743
10727
|
e.sortLoading && m.value === ue.key ? (s(), L($t, {
|
|
10744
10728
|
key: 0,
|
|
@@ -10746,7 +10730,7 @@ const Dd = {
|
|
|
10746
10730
|
type: "spin",
|
|
10747
10731
|
size: "small",
|
|
10748
10732
|
color: e.loadingColor
|
|
10749
|
-
}, null, 8, ["color"])) : ue.sortable ? (s(), c("div",
|
|
10733
|
+
}, null, 8, ["color"])) : ue.sortable ? (s(), c("div", wm, [
|
|
10750
10734
|
(s(), c("svg", {
|
|
10751
10735
|
class: b([nt(ue, "asc"), "w-3 h-3 transition-colors"]),
|
|
10752
10736
|
fill: "none",
|
|
@@ -10775,7 +10759,7 @@ const Dd = {
|
|
|
10775
10759
|
])], 2))
|
|
10776
10760
|
])) : p("", !0)
|
|
10777
10761
|
])
|
|
10778
|
-
], 10,
|
|
10762
|
+
], 10, ym))), 128)),
|
|
10779
10763
|
R.$slots.actions || e.actions.length > 0 && e.showActionsColumn ? (s(), c("th", {
|
|
10780
10764
|
key: 1,
|
|
10781
10765
|
class: b(qe.value)
|
|
@@ -10830,7 +10814,7 @@ const Dd = {
|
|
|
10830
10814
|
R.$slots.actions ? M(R.$slots, "actions", Je({
|
|
10831
10815
|
key: 0,
|
|
10832
10816
|
ref_for: !0
|
|
10833
|
-
}, ke), void 0, !0) : e.actions.length > 0 && e.showActionsColumn ? (s(), c("div",
|
|
10817
|
+
}, ke), void 0, !0) : e.actions.length > 0 && e.showActionsColumn ? (s(), c("div", km, [
|
|
10834
10818
|
(s(!0), c(G, null, X(i(ke.item), (me) => (s(), L(kr, {
|
|
10835
10819
|
key: me.key,
|
|
10836
10820
|
content: me.tooltip || me.label || me.key,
|
|
@@ -10849,7 +10833,7 @@ const Dd = {
|
|
|
10849
10833
|
key: 0,
|
|
10850
10834
|
icon: me.icon,
|
|
10851
10835
|
class: "w-4 h-4"
|
|
10852
|
-
}, null, 8, ["icon"])) : me.label ? (s(), c("span",
|
|
10836
|
+
}, null, 8, ["icon"])) : me.label ? (s(), c("span", $m, x(me.label), 1)) : p("", !0)
|
|
10853
10837
|
]),
|
|
10854
10838
|
_: 2
|
|
10855
10839
|
}, 1032, ["variant", "disabled", "onClick"])
|
|
@@ -10866,24 +10850,24 @@ const Dd = {
|
|
|
10866
10850
|
M(R.$slots, `cell-${ke.key}`, Je({ ref_for: !0 }, me), void 0, !0)
|
|
10867
10851
|
])
|
|
10868
10852
|
}))
|
|
10869
|
-
]), 1032, ["item", "columns", "index", "selectable", "is-selected", "striped", "hoverable", "clickable-rows", "density", "row-loading", "loading-color"]))), 128)) : (s(), c("tr",
|
|
10853
|
+
]), 1032, ["item", "columns", "index", "selectable", "is-selected", "striped", "hoverable", "clickable-rows", "density", "row-loading", "loading-color"]))), 128)) : (s(), c("tr", Sm, [
|
|
10870
10854
|
d("td", {
|
|
10871
10855
|
colspan: f.value,
|
|
10872
10856
|
class: b(at.value)
|
|
10873
10857
|
}, [
|
|
10874
10858
|
M(R.$slots, "empty", {}, () => [
|
|
10875
|
-
d("div",
|
|
10876
|
-
d("div",
|
|
10859
|
+
d("div", zm, [
|
|
10860
|
+
d("div", Am, [
|
|
10877
10861
|
P(Z, {
|
|
10878
10862
|
icon: "search",
|
|
10879
10863
|
class: "w-16 h-16"
|
|
10880
10864
|
})
|
|
10881
10865
|
]),
|
|
10882
|
-
d("p",
|
|
10883
|
-
d("p",
|
|
10866
|
+
d("p", Vm, x(e.emptyText), 1),
|
|
10867
|
+
d("p", Bm, x(e.emptySubtitle), 1)
|
|
10884
10868
|
])
|
|
10885
10869
|
], !0)
|
|
10886
|
-
], 10,
|
|
10870
|
+
], 10, Cm)
|
|
10887
10871
|
]))
|
|
10888
10872
|
], 2)
|
|
10889
10873
|
], 2)
|
|
@@ -10912,7 +10896,7 @@ const Dd = {
|
|
|
10912
10896
|
}, 8, ["current-page", "total-pages", "total", "page-size", "show-pagination", "selectable", "selected-count", "variant", "padding", "loading", "disabled"])) : p("", !0)
|
|
10913
10897
|
], 2));
|
|
10914
10898
|
}
|
|
10915
|
-
},
|
|
10899
|
+
}, Tm = /* @__PURE__ */ Mt(Pm, [["__scopeId", "data-v-32089b8f"]]), jm = {
|
|
10916
10900
|
__name: "DataTableCell",
|
|
10917
10901
|
props: {
|
|
10918
10902
|
item: {
|
|
@@ -11000,22 +10984,22 @@ const Dd = {
|
|
|
11000
10984
|
])
|
|
11001
10985
|
], 2));
|
|
11002
10986
|
}
|
|
11003
|
-
},
|
|
10987
|
+
}, Im = { class: "bg-white border-b border-gray-200" }, Om = {
|
|
11004
10988
|
key: 0,
|
|
11005
10989
|
class: "flex-1 min-w-80 max-w-md"
|
|
11006
|
-
},
|
|
10990
|
+
}, Mm = { class: "relative group" }, Fm = ["model-value", "placeholder"], Lm = { class: "relative" }, Em = { value: "" }, Nm = ["value"], Dm = {
|
|
11007
10991
|
key: 1,
|
|
11008
10992
|
class: "min-w-36"
|
|
11009
|
-
},
|
|
10993
|
+
}, Rm = { class: "relative" }, _m = ["value"], Um = {
|
|
11010
10994
|
key: 3,
|
|
11011
10995
|
class: "flex items-center gap-2"
|
|
11012
|
-
},
|
|
10996
|
+
}, qm = { class: "flex items-center gap-3 ml-auto" }, Hm = { key: 2 }, Wm = { class: "grid grid-cols-1 lg:grid-cols-3 gap-6" }, Ym = { class: "flex items-center justify-between" }, Gm = { class: "flex items-center gap-3" }, Km = { class: "relative flex-1" }, Xm = ["model-value", "placeholder", "onInput"], Qm = { class: "relative flex-1" }, Jm = ["model-value", "placeholder", "onInput"], Zm = ["onClick"], eg = { class: "flex items-center justify-between" }, tg = { class: "flex items-center gap-3" }, ag = { class: "relative flex-1" }, ng = ["model-value", "placeholder", "step", "onInput"], rg = { class: "relative flex-1" }, sg = ["model-value", "placeholder", "step", "onInput"], lg = ["onClick"], og = { class: "flex items-center justify-between" }, ig = { class: "relative" }, ug = { value: "" }, dg = ["value"], cg = {
|
|
11013
10997
|
key: 0,
|
|
11014
10998
|
class: "flex flex-wrap gap-2 mt-2"
|
|
11015
|
-
},
|
|
10999
|
+
}, fg = ["onClick"], mg = { class: "flex items-center gap-3 flex-wrap" }, gg = ["onClick"], vg = {
|
|
11016
11000
|
key: 2,
|
|
11017
11001
|
class: "px-6 py-3 bg-gray-50 border-t border-gray-200"
|
|
11018
|
-
},
|
|
11002
|
+
}, bg = { class: "flex items-center justify-between" }, hg = { class: "flex items-center gap-4" }, pg = { class: "text-sm text-gray-600" }, yg = { class: "font-medium" }, xg = {
|
|
11019
11003
|
__name: "DataTableFilters",
|
|
11020
11004
|
props: {
|
|
11021
11005
|
searchQuery: {
|
|
@@ -11433,12 +11417,12 @@ const Dd = {
|
|
|
11433
11417
|
break;
|
|
11434
11418
|
}
|
|
11435
11419
|
};
|
|
11436
|
-
return (q, j) => (s(), c("div",
|
|
11420
|
+
return (q, j) => (s(), c("div", Im, [
|
|
11437
11421
|
d("div", {
|
|
11438
11422
|
class: b(oe.value)
|
|
11439
11423
|
}, [
|
|
11440
|
-
e.showSearch ? (s(), c("div",
|
|
11441
|
-
d("div",
|
|
11424
|
+
e.showSearch ? (s(), c("div", Om, [
|
|
11425
|
+
d("div", Mm, [
|
|
11442
11426
|
P(Z, {
|
|
11443
11427
|
icon: "magnifying-glass",
|
|
11444
11428
|
class: b(re.value)
|
|
@@ -11448,7 +11432,7 @@ const Dd = {
|
|
|
11448
11432
|
placeholder: e.searchPlaceholder,
|
|
11449
11433
|
class: b(Ae.value),
|
|
11450
11434
|
onInput: j[0] || (j[0] = (T) => q.$emit("update:searchQuery", T.target.value))
|
|
11451
|
-
}, null, 42,
|
|
11435
|
+
}, null, 42, Fm),
|
|
11452
11436
|
e.searchQuery ? (s(), c("button", {
|
|
11453
11437
|
key: 0,
|
|
11454
11438
|
class: b(Ft.value),
|
|
@@ -11465,18 +11449,18 @@ const Dd = {
|
|
|
11465
11449
|
key: T.key,
|
|
11466
11450
|
class: "min-w-36"
|
|
11467
11451
|
}, [
|
|
11468
|
-
d("div",
|
|
11452
|
+
d("div", Lm, [
|
|
11469
11453
|
P(Me, {
|
|
11470
11454
|
"model-value": T.value,
|
|
11471
11455
|
class: b(tt.value),
|
|
11472
11456
|
onChange: (H) => S(T.key, H.target.value)
|
|
11473
11457
|
}, {
|
|
11474
11458
|
default: E(() => [
|
|
11475
|
-
d("option",
|
|
11459
|
+
d("option", Em, x(T.placeholder || `All ${T.label}`), 1),
|
|
11476
11460
|
(s(!0), c(G, null, X(T.options, (H) => (s(), c("option", {
|
|
11477
11461
|
key: H.value,
|
|
11478
11462
|
value: H.value
|
|
11479
|
-
}, x(H.label), 9,
|
|
11463
|
+
}, x(H.label), 9, Nm))), 128))
|
|
11480
11464
|
]),
|
|
11481
11465
|
_: 2
|
|
11482
11466
|
}, 1032, ["model-value", "class", "onChange"]),
|
|
@@ -11486,8 +11470,8 @@ const Dd = {
|
|
|
11486
11470
|
})
|
|
11487
11471
|
])
|
|
11488
11472
|
]))), 128)),
|
|
11489
|
-
e.showFilters && e.statusOptions.length > 0 ? (s(), c("div",
|
|
11490
|
-
d("div",
|
|
11473
|
+
e.showFilters && e.statusOptions.length > 0 ? (s(), c("div", Dm, [
|
|
11474
|
+
d("div", Rm, [
|
|
11491
11475
|
P(Me, {
|
|
11492
11476
|
"model-value": e.selectedStatus,
|
|
11493
11477
|
class: b(tt.value),
|
|
@@ -11498,7 +11482,7 @@ const Dd = {
|
|
|
11498
11482
|
(s(!0), c(G, null, X(e.statusOptions, (T) => (s(), c("option", {
|
|
11499
11483
|
key: T.value,
|
|
11500
11484
|
value: T.value
|
|
11501
|
-
}, x(T.label), 9,
|
|
11485
|
+
}, x(T.label), 9, _m))), 128))
|
|
11502
11486
|
]),
|
|
11503
11487
|
_: 1
|
|
11504
11488
|
}, 8, ["model-value", "class"]),
|
|
@@ -11527,10 +11511,10 @@ const Dd = {
|
|
|
11527
11511
|
class: "w-4 h-4 ml-1"
|
|
11528
11512
|
}, null, 8, ["icon"])
|
|
11529
11513
|
], 2)) : p("", !0),
|
|
11530
|
-
q.$slots.filters ? (s(), c("div",
|
|
11514
|
+
q.$slots.filters ? (s(), c("div", Um, [
|
|
11531
11515
|
M(q.$slots, "filters")
|
|
11532
11516
|
])) : p("", !0),
|
|
11533
|
-
d("div",
|
|
11517
|
+
d("div", qm, [
|
|
11534
11518
|
B.value ? (s(), L(ye, {
|
|
11535
11519
|
key: 0,
|
|
11536
11520
|
class: b(ae.value),
|
|
@@ -11559,7 +11543,7 @@ const Dd = {
|
|
|
11559
11543
|
]),
|
|
11560
11544
|
_: 1
|
|
11561
11545
|
}, 8, ["class"])) : p("", !0),
|
|
11562
|
-
e.showAdd && o.value ? (s(), c("div",
|
|
11546
|
+
e.showAdd && o.value ? (s(), c("div", Hm, [
|
|
11563
11547
|
l.value ? (s(), L(ye, {
|
|
11564
11548
|
key: 0,
|
|
11565
11549
|
variant: e.addButton.variant || "success",
|
|
@@ -11600,12 +11584,12 @@ const Dd = {
|
|
|
11600
11584
|
key: 0,
|
|
11601
11585
|
class: b(ht.value)
|
|
11602
11586
|
}, [
|
|
11603
|
-
d("div",
|
|
11587
|
+
d("div", Wm, [
|
|
11604
11588
|
(s(!0), c(G, null, X(e.dateFilters, (T) => (s(), c("div", {
|
|
11605
11589
|
key: T.key,
|
|
11606
11590
|
class: "space-y-3"
|
|
11607
11591
|
}, [
|
|
11608
|
-
d("div",
|
|
11592
|
+
d("div", Ym, [
|
|
11609
11593
|
d("label", {
|
|
11610
11594
|
class: b(at.value)
|
|
11611
11595
|
}, x(T.label), 3),
|
|
@@ -11613,8 +11597,8 @@ const Dd = {
|
|
|
11613
11597
|
class: b(f(T))
|
|
11614
11598
|
}, x(C(T) ? "Active" : "Inactive"), 3)
|
|
11615
11599
|
]),
|
|
11616
|
-
d("div",
|
|
11617
|
-
d("div",
|
|
11600
|
+
d("div", Gm, [
|
|
11601
|
+
d("div", Km, [
|
|
11618
11602
|
P(Z, {
|
|
11619
11603
|
icon: "calendar",
|
|
11620
11604
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -11625,12 +11609,12 @@ const Dd = {
|
|
|
11625
11609
|
class: b(qe.value),
|
|
11626
11610
|
placeholder: `From ${T.label}`,
|
|
11627
11611
|
onInput: (H) => i(T.key, "from", H.target.value)
|
|
11628
|
-
}, null, 42,
|
|
11612
|
+
}, null, 42, Xm)
|
|
11629
11613
|
]),
|
|
11630
11614
|
d("span", {
|
|
11631
11615
|
class: b(nt.value)
|
|
11632
11616
|
}, "to", 2),
|
|
11633
|
-
d("div",
|
|
11617
|
+
d("div", Qm, [
|
|
11634
11618
|
P(Z, {
|
|
11635
11619
|
icon: "calendar",
|
|
11636
11620
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -11641,7 +11625,7 @@ const Dd = {
|
|
|
11641
11625
|
class: b(qe.value),
|
|
11642
11626
|
placeholder: `To ${T.label}`,
|
|
11643
11627
|
onInput: (H) => i(T.key, "to", H.target.value)
|
|
11644
|
-
}, null, 42,
|
|
11628
|
+
}, null, 42, Jm)
|
|
11645
11629
|
]),
|
|
11646
11630
|
C(T) ? (s(), c("button", {
|
|
11647
11631
|
key: 0,
|
|
@@ -11653,14 +11637,14 @@ const Dd = {
|
|
|
11653
11637
|
icon: "xmark",
|
|
11654
11638
|
class: "w-4 h-4"
|
|
11655
11639
|
})
|
|
11656
|
-
], 10,
|
|
11640
|
+
], 10, Zm)) : p("", !0)
|
|
11657
11641
|
])
|
|
11658
11642
|
]))), 128)),
|
|
11659
11643
|
(s(!0), c(G, null, X(e.numberFilters, (T) => (s(), c("div", {
|
|
11660
11644
|
key: T.key,
|
|
11661
11645
|
class: "space-y-3"
|
|
11662
11646
|
}, [
|
|
11663
|
-
d("div",
|
|
11647
|
+
d("div", eg, [
|
|
11664
11648
|
d("label", {
|
|
11665
11649
|
class: b(at.value)
|
|
11666
11650
|
}, x(T.label), 3),
|
|
@@ -11668,8 +11652,8 @@ const Dd = {
|
|
|
11668
11652
|
class: b(V(T))
|
|
11669
11653
|
}, x(u(T) ? "Active" : "Inactive"), 3)
|
|
11670
11654
|
]),
|
|
11671
|
-
d("div",
|
|
11672
|
-
d("div",
|
|
11655
|
+
d("div", tg, [
|
|
11656
|
+
d("div", ag, [
|
|
11673
11657
|
d("input", {
|
|
11674
11658
|
type: "number",
|
|
11675
11659
|
"model-value": T.min,
|
|
@@ -11677,12 +11661,12 @@ const Dd = {
|
|
|
11677
11661
|
placeholder: `Min ${T.label}`,
|
|
11678
11662
|
step: T.step || 1,
|
|
11679
11663
|
onInput: (H) => z(T.key, "min", H.target.value)
|
|
11680
|
-
}, null, 42,
|
|
11664
|
+
}, null, 42, ng)
|
|
11681
11665
|
]),
|
|
11682
11666
|
d("span", {
|
|
11683
11667
|
class: b(nt.value)
|
|
11684
11668
|
}, "to", 2),
|
|
11685
|
-
d("div",
|
|
11669
|
+
d("div", rg, [
|
|
11686
11670
|
d("input", {
|
|
11687
11671
|
type: "number",
|
|
11688
11672
|
"model-value": T.max,
|
|
@@ -11690,7 +11674,7 @@ const Dd = {
|
|
|
11690
11674
|
placeholder: `Max ${T.label}`,
|
|
11691
11675
|
step: T.step || 1,
|
|
11692
11676
|
onInput: (H) => z(T.key, "max", H.target.value)
|
|
11693
|
-
}, null, 42,
|
|
11677
|
+
}, null, 42, sg)
|
|
11694
11678
|
]),
|
|
11695
11679
|
u(T) ? (s(), c("button", {
|
|
11696
11680
|
key: 0,
|
|
@@ -11702,14 +11686,14 @@ const Dd = {
|
|
|
11702
11686
|
icon: "xmark",
|
|
11703
11687
|
class: "w-4 h-4"
|
|
11704
11688
|
})
|
|
11705
|
-
], 10,
|
|
11689
|
+
], 10, lg)) : p("", !0)
|
|
11706
11690
|
])
|
|
11707
11691
|
]))), 128)),
|
|
11708
11692
|
(s(!0), c(G, null, X(e.multiSelectFilters, (T) => (s(), c("div", {
|
|
11709
11693
|
key: T.key,
|
|
11710
11694
|
class: "space-y-3"
|
|
11711
11695
|
}, [
|
|
11712
|
-
d("div",
|
|
11696
|
+
d("div", og, [
|
|
11713
11697
|
d("label", {
|
|
11714
11698
|
class: b(at.value)
|
|
11715
11699
|
}, x(T.label), 3),
|
|
@@ -11717,18 +11701,18 @@ const Dd = {
|
|
|
11717
11701
|
class: b(K(T))
|
|
11718
11702
|
}, x(W(T) ? `${T.selected.length} selected` : "None"), 3)
|
|
11719
11703
|
]),
|
|
11720
|
-
d("div",
|
|
11704
|
+
d("div", ig, [
|
|
11721
11705
|
P(Me, {
|
|
11722
11706
|
"model-value": "",
|
|
11723
11707
|
class: b(tt.value),
|
|
11724
11708
|
onChange: (H) => le(T.key, H.target.value)
|
|
11725
11709
|
}, {
|
|
11726
11710
|
default: E(() => [
|
|
11727
|
-
d("option",
|
|
11711
|
+
d("option", ug, " Select " + x(T.label), 1),
|
|
11728
11712
|
(s(!0), c(G, null, X(T.options, (H) => (s(), c("option", {
|
|
11729
11713
|
key: H.value,
|
|
11730
11714
|
value: H.value
|
|
11731
|
-
}, x(H.label), 9,
|
|
11715
|
+
}, x(H.label), 9, dg))), 128))
|
|
11732
11716
|
]),
|
|
11733
11717
|
_: 2
|
|
11734
11718
|
}, 1032, ["class", "onChange"]),
|
|
@@ -11737,7 +11721,7 @@ const Dd = {
|
|
|
11737
11721
|
class: "absolute right-2 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400 pointer-events-none"
|
|
11738
11722
|
})
|
|
11739
11723
|
]),
|
|
11740
|
-
T.selected.length > 0 ? (s(), c("div",
|
|
11724
|
+
T.selected.length > 0 ? (s(), c("div", cg, [
|
|
11741
11725
|
(s(!0), c(G, null, X(T.selected, (H) => (s(), c("span", {
|
|
11742
11726
|
key: H,
|
|
11743
11727
|
class: "inline-flex items-center gap-1 bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full"
|
|
@@ -11751,7 +11735,7 @@ const Dd = {
|
|
|
11751
11735
|
icon: "xmark",
|
|
11752
11736
|
class: "w-3 h-3"
|
|
11753
11737
|
})
|
|
11754
|
-
], 8,
|
|
11738
|
+
], 8, fg)
|
|
11755
11739
|
]))), 128))
|
|
11756
11740
|
])) : p("", !0)
|
|
11757
11741
|
]))), 128))
|
|
@@ -11761,7 +11745,7 @@ const Dd = {
|
|
|
11761
11745
|
key: 1,
|
|
11762
11746
|
class: b(we.value)
|
|
11763
11747
|
}, [
|
|
11764
|
-
d("div",
|
|
11748
|
+
d("div", mg, [
|
|
11765
11749
|
d("span", {
|
|
11766
11750
|
class: b(ke.value)
|
|
11767
11751
|
}, "Active filters:", 2),
|
|
@@ -11782,15 +11766,15 @@ const Dd = {
|
|
|
11782
11766
|
icon: "xmark",
|
|
11783
11767
|
class: "w-3 h-3"
|
|
11784
11768
|
})
|
|
11785
|
-
], 10,
|
|
11769
|
+
], 10, gg)
|
|
11786
11770
|
], 2))), 128))
|
|
11787
11771
|
])
|
|
11788
11772
|
], 2)) : p("", !0),
|
|
11789
|
-
e.showTableInfo ? (s(), c("div",
|
|
11790
|
-
d("div",
|
|
11791
|
-
d("div",
|
|
11792
|
-
d("span",
|
|
11793
|
-
d("span",
|
|
11773
|
+
e.showTableInfo ? (s(), c("div", vg, [
|
|
11774
|
+
d("div", bg, [
|
|
11775
|
+
d("div", hg, [
|
|
11776
|
+
d("span", pg, [
|
|
11777
|
+
d("span", yg, x(e.totalItems || 0), 1),
|
|
11794
11778
|
Q(" " + x(e.itemLabel || "items") + " found ", 1)
|
|
11795
11779
|
])
|
|
11796
11780
|
])
|
|
@@ -11798,16 +11782,16 @@ const Dd = {
|
|
|
11798
11782
|
])) : p("", !0)
|
|
11799
11783
|
]));
|
|
11800
11784
|
}
|
|
11801
|
-
},
|
|
11785
|
+
}, wg = { class: "flex items-center gap-3" }, kg = {
|
|
11802
11786
|
key: 0,
|
|
11803
11787
|
class: "flex items-center gap-3"
|
|
11804
|
-
},
|
|
11788
|
+
}, $g = { class: "text-sm text-slate-600" }, Sg = { class: "flex items-center gap-2" }, Cg = { class: "flex items-center gap-3" }, zg = ["title", "onClick"], Ag = {
|
|
11805
11789
|
key: 1,
|
|
11806
11790
|
class: "relative"
|
|
11807
|
-
},
|
|
11791
|
+
}, Vg = { class: "p-3" }, Bg = { class: "space-y-1" }, Pg = { class: "flex items-center gap-2 cursor-pointer w-full" }, Tg = ["checked", "onChange"], jg = ["disabled"], Ig = {
|
|
11808
11792
|
key: 3,
|
|
11809
11793
|
class: "flex items-center gap-2"
|
|
11810
|
-
},
|
|
11794
|
+
}, Og = [
|
|
11811
11795
|
{
|
|
11812
11796
|
key: "delete",
|
|
11813
11797
|
label: "Delete",
|
|
@@ -11824,13 +11808,13 @@ const Dd = {
|
|
|
11824
11808
|
},
|
|
11825
11809
|
variant: "primary"
|
|
11826
11810
|
}
|
|
11827
|
-
],
|
|
11811
|
+
], Mg = {
|
|
11828
11812
|
name: "DataTableToolBar"
|
|
11829
|
-
},
|
|
11813
|
+
}, Fg = /* @__PURE__ */ Object.assign(Mg, {
|
|
11830
11814
|
props: {
|
|
11831
11815
|
selectedItems: { type: Array, default: () => [] },
|
|
11832
11816
|
totalItems: { type: Number, default: 0 },
|
|
11833
|
-
bulkActions: { type: Array, default: () =>
|
|
11817
|
+
bulkActions: { type: Array, default: () => Og },
|
|
11834
11818
|
showDensityToggle: { type: Boolean, default: !0 },
|
|
11835
11819
|
showColumnToggle: { type: Boolean, default: !0 },
|
|
11836
11820
|
showRefresh: { type: Boolean, default: !0 },
|
|
@@ -11956,10 +11940,10 @@ const Dd = {
|
|
|
11956
11940
|
return s(), c("div", {
|
|
11957
11941
|
class: b(S.value)
|
|
11958
11942
|
}, [
|
|
11959
|
-
d("div",
|
|
11960
|
-
m.value > 0 ? (s(), c("div",
|
|
11961
|
-
d("span",
|
|
11962
|
-
d("div",
|
|
11943
|
+
d("div", wg, [
|
|
11944
|
+
m.value > 0 ? (s(), c("div", kg, [
|
|
11945
|
+
d("span", $g, x(m.value) + " selected ", 1),
|
|
11946
|
+
d("div", Sg, [
|
|
11963
11947
|
(s(!0), c(G, null, X(e.bulkActions, (re) => (s(), L(ye, {
|
|
11964
11948
|
key: re.key,
|
|
11965
11949
|
class: b(le(re)),
|
|
@@ -11981,7 +11965,7 @@ const Dd = {
|
|
|
11981
11965
|
class: b(C.value)
|
|
11982
11966
|
}, x(e.totalItems) + " " + x(e.totalItems === 1 ? "item" : "items"), 3)) : p("", !0)
|
|
11983
11967
|
]),
|
|
11984
|
-
d("div",
|
|
11968
|
+
d("div", Cg, [
|
|
11985
11969
|
e.showDensityToggle ? (s(), c("div", {
|
|
11986
11970
|
key: 0,
|
|
11987
11971
|
class: b(v.value)
|
|
@@ -11997,9 +11981,9 @@ const Dd = {
|
|
|
11997
11981
|
icon: re.icon,
|
|
11998
11982
|
class: "w-4 h-4"
|
|
11999
11983
|
}, null, 8, ["icon"])
|
|
12000
|
-
], 10,
|
|
11984
|
+
], 10, zg)), 64))
|
|
12001
11985
|
], 2)) : p("", !0),
|
|
12002
|
-
e.showColumnToggle ? (s(), c("div",
|
|
11986
|
+
e.showColumnToggle ? (s(), c("div", Ag, [
|
|
12003
11987
|
d("button", {
|
|
12004
11988
|
ref_key: "columnToggleButton",
|
|
12005
11989
|
ref: l,
|
|
@@ -12020,22 +12004,22 @@ const Dd = {
|
|
|
12020
12004
|
onClick: Y[0] || (Y[0] = Ce(() => {
|
|
12021
12005
|
}, ["stop"]))
|
|
12022
12006
|
}, [
|
|
12023
|
-
d("div",
|
|
12007
|
+
d("div", Vg, [
|
|
12024
12008
|
d("div", {
|
|
12025
12009
|
class: b(u.value)
|
|
12026
12010
|
}, " Show Columns ", 2),
|
|
12027
|
-
d("div",
|
|
12011
|
+
d("div", Bg, [
|
|
12028
12012
|
(s(!0), c(G, null, X(e.toggleableColumns, (re) => (s(), c("div", {
|
|
12029
12013
|
key: re.key,
|
|
12030
12014
|
class: b(w.value)
|
|
12031
12015
|
}, [
|
|
12032
|
-
d("label",
|
|
12016
|
+
d("label", Pg, [
|
|
12033
12017
|
d("input", {
|
|
12034
12018
|
type: "checkbox",
|
|
12035
12019
|
checked: J(re.key),
|
|
12036
12020
|
class: b(V.value),
|
|
12037
12021
|
onChange: (Ae) => B(re.key, Ae.target.checked)
|
|
12038
|
-
}, null, 42,
|
|
12022
|
+
}, null, 42, Tg),
|
|
12039
12023
|
d("span", {
|
|
12040
12024
|
class: b(z.value)
|
|
12041
12025
|
}, x(re.label), 3)
|
|
@@ -12059,15 +12043,15 @@ const Dd = {
|
|
|
12059
12043
|
class: b(ee())
|
|
12060
12044
|
}, null, 8, ["class"]),
|
|
12061
12045
|
Y[3] || (Y[3] = d("span", null, "Refresh", -1))
|
|
12062
|
-
], 10,
|
|
12063
|
-
F.$slots.actions ? (s(), c("div",
|
|
12046
|
+
], 10, jg)) : p("", !0),
|
|
12047
|
+
F.$slots.actions ? (s(), c("div", Ig, [
|
|
12064
12048
|
M(F.$slots, "actions")
|
|
12065
12049
|
])) : p("", !0)
|
|
12066
12050
|
])
|
|
12067
12051
|
], 2);
|
|
12068
12052
|
};
|
|
12069
12053
|
}
|
|
12070
|
-
}),
|
|
12054
|
+
}), Lg = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12" }, Eg = { class: "grid grid-cols-1 md:grid-cols-4 gap-8" }, Ng = { class: "col-span-1 md:col-span-2" }, Dg = { class: "space-y-2" }, Rg = { class: "flex space-x-4" }, _g = { class: "flex flex-col md:flex-row justify-between items-center" }, Ug = { class: "flex space-x-6 mt-4 md:mt-0" }, qg = {
|
|
12071
12055
|
__name: "Footer",
|
|
12072
12056
|
props: {
|
|
12073
12057
|
className: {
|
|
@@ -12081,9 +12065,9 @@ const Dd = {
|
|
|
12081
12065
|
return s(), c("footer", {
|
|
12082
12066
|
class: b(_(A)("bg-gray-50 border-t border-gray-200", e.className))
|
|
12083
12067
|
}, [
|
|
12084
|
-
d("div",
|
|
12085
|
-
d("div",
|
|
12086
|
-
d("div",
|
|
12068
|
+
d("div", Lg, [
|
|
12069
|
+
d("div", Eg, [
|
|
12070
|
+
d("div", Ng, [
|
|
12087
12071
|
M(a.$slots, "brand", {}, () => [
|
|
12088
12072
|
P(n, { class: "mb-4" }),
|
|
12089
12073
|
P(r, { class: "text-gray-600 max-w-md" }, {
|
|
@@ -12105,7 +12089,7 @@ const Dd = {
|
|
|
12105
12089
|
])]),
|
|
12106
12090
|
_: 1
|
|
12107
12091
|
}),
|
|
12108
|
-
d("div",
|
|
12092
|
+
d("div", Dg, [
|
|
12109
12093
|
P(o, {
|
|
12110
12094
|
href: "#",
|
|
12111
12095
|
class: "block text-gray-600 hover:text-gray-900"
|
|
@@ -12147,7 +12131,7 @@ const Dd = {
|
|
|
12147
12131
|
])]),
|
|
12148
12132
|
_: 1
|
|
12149
12133
|
}),
|
|
12150
|
-
d("div",
|
|
12134
|
+
d("div", Rg, [
|
|
12151
12135
|
P(o, {
|
|
12152
12136
|
href: "#",
|
|
12153
12137
|
class: "text-gray-600 hover:text-gray-900"
|
|
@@ -12177,7 +12161,7 @@ const Dd = {
|
|
|
12177
12161
|
])
|
|
12178
12162
|
]),
|
|
12179
12163
|
P(g, { class: "my-8" }),
|
|
12180
|
-
d("div",
|
|
12164
|
+
d("div", _g, [
|
|
12181
12165
|
M(a.$slots, "copyright", {}, () => [
|
|
12182
12166
|
P(r, { class: "text-gray-600" }, {
|
|
12183
12167
|
default: E(() => [
|
|
@@ -12187,7 +12171,7 @@ const Dd = {
|
|
|
12187
12171
|
})
|
|
12188
12172
|
]),
|
|
12189
12173
|
M(a.$slots, "legal", {}, () => [
|
|
12190
|
-
d("div",
|
|
12174
|
+
d("div", Ug, [
|
|
12191
12175
|
P(o, {
|
|
12192
12176
|
href: "#",
|
|
12193
12177
|
class: "text-gray-600 hover:text-gray-900"
|
|
@@ -12213,28 +12197,28 @@ const Dd = {
|
|
|
12213
12197
|
], 2);
|
|
12214
12198
|
};
|
|
12215
12199
|
}
|
|
12216
|
-
},
|
|
12200
|
+
}, Hg = { class: "flex items-center justify-between h-16 px-4 md:px-6" }, Wg = { class: "flex items-center" }, Yg = {
|
|
12217
12201
|
key: 0,
|
|
12218
12202
|
class: "mr-4 flex-shrink-0 bg-gradient-to-r from-blue-50 to-indigo-50 px-3 py-2 rounded-lg border border-blue-100"
|
|
12219
|
-
},
|
|
12203
|
+
}, Gg = { class: "text-lg font-bold text-blue-900 truncate max-w-[200px]" }, Kg = {
|
|
12220
12204
|
key: 0,
|
|
12221
12205
|
class: "text-xs text-blue-600 truncate font-medium"
|
|
12222
|
-
},
|
|
12206
|
+
}, Xg = { class: "hidden md:flex items-center space-x-2 text-sm truncate" }, Qg = { class: "text-gray-500 truncate" }, Jg = { class: "text-gray-900 font-medium truncate" }, Zg = { class: "flex items-center space-x-3 md:space-x-4" }, ev = {
|
|
12223
12207
|
key: 1,
|
|
12224
12208
|
class: "relative"
|
|
12225
|
-
},
|
|
12209
|
+
}, tv = {
|
|
12226
12210
|
key: 0,
|
|
12227
12211
|
class: "absolute -top-1 -right-1 w-4 h-4 bg-red-500 text-white text-xs rounded-full flex items-center justify-center"
|
|
12228
|
-
},
|
|
12212
|
+
}, av = {
|
|
12229
12213
|
key: 0,
|
|
12230
12214
|
class: "absolute right-4 md:right-6 top-16 mt-2 w-72 md:w-80 bg-white rounded-lg shadow-lg border border-gray-200 z-50"
|
|
12231
|
-
},
|
|
12215
|
+
}, nv = { class: "max-h-96 overflow-y-auto" }, rv = { class: "flex items-start space-x-3" }, sv = { class: "flex-1" }, lv = { class: "text-sm text-gray-900" }, ov = { class: "text-xs text-gray-500 mt-1" }, iv = { class: "relative" }, uv = { class: "w-8 h-8 bg-gradient-to-br from-blue-100 to-indigo-100 rounded-full flex items-center justify-center transition-colors shadow-sm" }, dv = { class: "text-blue-700 text-sm font-medium" }, cv = { class: "hidden md:block text-left max-w-[160px] truncate" }, fv = { class: "text-sm font-medium text-gray-900 truncate" }, mv = { class: "text-xs text-gray-500 truncate leading-tight" }, gv = {
|
|
12232
12216
|
key: 0,
|
|
12233
12217
|
class: "absolute right-0 mt-2 w-58 bg-white rounded-lg shadow-lg border border-gray-200 z-50"
|
|
12234
|
-
},
|
|
12218
|
+
}, vv = { class: "p-4 border-b border-gray-200" }, bv = { class: "text-sm font-medium text-gray-900" }, hv = { class: "text-xs text-gray-500" }, pv = { class: "py-2" }, yv = {
|
|
12235
12219
|
key: 0,
|
|
12236
12220
|
class: "absolute left-0 top-1/2 transform -translate-y-1/2 w-1 h-8 bg-gradient-to-b from-blue-500 to-blue-600 rounded-r-full"
|
|
12237
|
-
},
|
|
12221
|
+
}, xv = ["onClick"], wv = { class: "flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2 bg-gray-100 text-gray-600 group-hover:bg-gray-200" }, kv = { class: "flex-1 truncate font-semibold text-gray-700" }, $v = {
|
|
12238
12222
|
__name: "Header",
|
|
12239
12223
|
props: {
|
|
12240
12224
|
sidebarWidth: { type: Number, default: 256 },
|
|
@@ -12277,14 +12261,14 @@ const Dd = {
|
|
|
12277
12261
|
)),
|
|
12278
12262
|
style: { left: "0" }
|
|
12279
12263
|
}, [
|
|
12280
|
-
d("div",
|
|
12281
|
-
d("div",
|
|
12282
|
-
e.currentOrganisation ? (s(), c("div",
|
|
12283
|
-
d("p",
|
|
12284
|
-
e.currentOrganisation.role ? (s(), c("p",
|
|
12264
|
+
d("div", Hg, [
|
|
12265
|
+
d("div", Wg, [
|
|
12266
|
+
e.currentOrganisation ? (s(), c("div", Yg, [
|
|
12267
|
+
d("p", Gg, x(e.currentOrganisation.organisation_name), 1),
|
|
12268
|
+
e.currentOrganisation.role ? (s(), c("p", Kg, x(e.currentOrganisation.role), 1)) : p("", !0)
|
|
12285
12269
|
])) : p("", !0),
|
|
12286
|
-
d("nav",
|
|
12287
|
-
d("span",
|
|
12270
|
+
d("nav", Xg, [
|
|
12271
|
+
d("span", Qg, x(e.currentSection), 1),
|
|
12288
12272
|
z[4] || (z[4] = d("svg", {
|
|
12289
12273
|
class: "w-4 h-4 text-gray-400 flex-shrink-0",
|
|
12290
12274
|
fill: "none",
|
|
@@ -12298,10 +12282,10 @@ const Dd = {
|
|
|
12298
12282
|
d: "M9 5l7 7-7 7"
|
|
12299
12283
|
})
|
|
12300
12284
|
], -1)),
|
|
12301
|
-
d("span",
|
|
12285
|
+
d("span", Jg, x(e.currentPage), 1)
|
|
12302
12286
|
])
|
|
12303
12287
|
]),
|
|
12304
|
-
d("div",
|
|
12288
|
+
d("div", Zg, [
|
|
12305
12289
|
y.value ? (s(), c("button", {
|
|
12306
12290
|
key: 0,
|
|
12307
12291
|
class: "p-2 text-gray-400 hover:text-gray-600 rounded-lg hover:bg-gray-50 transition-colors",
|
|
@@ -12321,7 +12305,7 @@ const Dd = {
|
|
|
12321
12305
|
})
|
|
12322
12306
|
], -1)
|
|
12323
12307
|
])])) : p("", !0),
|
|
12324
|
-
!y.value || g.value ? (s(), c("div",
|
|
12308
|
+
!y.value || g.value ? (s(), c("div", ev, [
|
|
12325
12309
|
z[6] || (z[6] = d("div", { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" }, [
|
|
12326
12310
|
d("svg", {
|
|
12327
12311
|
class: "w-4 h-4 text-gray-400",
|
|
@@ -12392,7 +12376,7 @@ const Dd = {
|
|
|
12392
12376
|
d: "M13 3h2.586a1 1 0 01.707.293l6.414 6.414a1 1 0 01.293.707V19a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h4L13 3z"
|
|
12393
12377
|
})
|
|
12394
12378
|
], -1)),
|
|
12395
|
-
m.value > 0 ? (s(), c("span",
|
|
12379
|
+
m.value > 0 ? (s(), c("span", tv, x(m.value), 1)) : p("", !0)
|
|
12396
12380
|
]),
|
|
12397
12381
|
P(be, {
|
|
12398
12382
|
"enter-active-class": "transition-all duration-300 ease-out",
|
|
@@ -12403,20 +12387,20 @@ const Dd = {
|
|
|
12403
12387
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
|
12404
12388
|
}, {
|
|
12405
12389
|
default: E(() => [
|
|
12406
|
-
l.value ? (s(), c("div",
|
|
12390
|
+
l.value ? (s(), c("div", av, [
|
|
12407
12391
|
z[10] || (z[10] = d("div", { class: "p-4 border-b border-gray-200" }, [
|
|
12408
12392
|
d("h3", { class: "text-lg font-semibold text-gray-900" }, " Notifications ")
|
|
12409
12393
|
], -1)),
|
|
12410
|
-
d("div",
|
|
12394
|
+
d("div", nv, [
|
|
12411
12395
|
(s(!0), c(G, null, X(e.notifications, (K) => (s(), c("div", {
|
|
12412
12396
|
key: K.id,
|
|
12413
12397
|
class: "p-4 border-b border-gray-100 hover:bg-gray-50 cursor-pointer"
|
|
12414
12398
|
}, [
|
|
12415
|
-
d("div",
|
|
12399
|
+
d("div", rv, [
|
|
12416
12400
|
z[9] || (z[9] = d("div", { class: "flex-shrink-0 w-2 h-2 mt-2 bg-blue-500 rounded-full" }, null, -1)),
|
|
12417
|
-
d("div",
|
|
12418
|
-
d("p",
|
|
12419
|
-
d("p",
|
|
12401
|
+
d("div", sv, [
|
|
12402
|
+
d("p", lv, x(K.title), 1),
|
|
12403
|
+
d("p", ov, x(K.time), 1)
|
|
12420
12404
|
])
|
|
12421
12405
|
])
|
|
12422
12406
|
]))), 128))
|
|
@@ -12428,17 +12412,17 @@ const Dd = {
|
|
|
12428
12412
|
]),
|
|
12429
12413
|
_: 1
|
|
12430
12414
|
}),
|
|
12431
|
-
d("div",
|
|
12415
|
+
d("div", iv, [
|
|
12432
12416
|
d("button", {
|
|
12433
12417
|
class: "flex items-center space-x-2 md:space-x-3 p-2 rounded-lg hover:bg-gray-50 transition-colors",
|
|
12434
12418
|
onClick: S
|
|
12435
12419
|
}, [
|
|
12436
|
-
d("div",
|
|
12437
|
-
d("span",
|
|
12420
|
+
d("div", uv, [
|
|
12421
|
+
d("span", dv, x(k.value), 1)
|
|
12438
12422
|
]),
|
|
12439
|
-
d("div",
|
|
12440
|
-
d("p",
|
|
12441
|
-
d("p",
|
|
12423
|
+
d("div", cv, [
|
|
12424
|
+
d("p", fv, x(e.user.name), 1),
|
|
12425
|
+
d("p", mv, x($.value), 1)
|
|
12442
12426
|
]),
|
|
12443
12427
|
z[12] || (z[12] = d("svg", {
|
|
12444
12428
|
class: "w-4 h-4 text-gray-400",
|
|
@@ -12463,12 +12447,12 @@ const Dd = {
|
|
|
12463
12447
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
|
12464
12448
|
}, {
|
|
12465
12449
|
default: E(() => [
|
|
12466
|
-
o.value ? (s(), c("div",
|
|
12467
|
-
d("div",
|
|
12468
|
-
d("p",
|
|
12469
|
-
d("p",
|
|
12450
|
+
o.value ? (s(), c("div", gv, [
|
|
12451
|
+
d("div", vv, [
|
|
12452
|
+
d("p", bv, x(e.user.name), 1),
|
|
12453
|
+
d("p", hv, x(e.user.email), 1)
|
|
12470
12454
|
]),
|
|
12471
|
-
d("div",
|
|
12455
|
+
d("div", pv, [
|
|
12472
12456
|
(s(!0), c(G, null, X(e.profileMenuItems, (K) => (s(), c(G, {
|
|
12473
12457
|
key: K.name
|
|
12474
12458
|
}, [
|
|
@@ -12482,7 +12466,7 @@ const Dd = {
|
|
|
12482
12466
|
onClick: (le) => C(K)
|
|
12483
12467
|
}, {
|
|
12484
12468
|
default: E(() => [
|
|
12485
|
-
v(K) ? (s(), c("div",
|
|
12469
|
+
v(K) ? (s(), c("div", yv)) : p("", !0),
|
|
12486
12470
|
d("div", {
|
|
12487
12471
|
class: b(_(A)(
|
|
12488
12472
|
"flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2",
|
|
@@ -12508,15 +12492,15 @@ const Dd = {
|
|
|
12508
12492
|
class: "flex items-center w-full px-3 py-2.5 rounded-lg text-sm font-medium transition-all duration-200 group relative text-gray-700 hover:bg-gray-50 hover:text-gray-900 border border-transparent",
|
|
12509
12493
|
onClick: (le) => f(K)
|
|
12510
12494
|
}, [
|
|
12511
|
-
d("div",
|
|
12495
|
+
d("div", wv, [
|
|
12512
12496
|
K.icon ? (s(), L(Z, {
|
|
12513
12497
|
key: 0,
|
|
12514
12498
|
icon: K.icon,
|
|
12515
12499
|
class: "w-4 h-4"
|
|
12516
12500
|
}, null, 8, ["icon"])) : p("", !0)
|
|
12517
12501
|
]),
|
|
12518
|
-
d("span",
|
|
12519
|
-
], 8,
|
|
12502
|
+
d("span", kv, x(K.label), 1)
|
|
12503
|
+
], 8, xv))
|
|
12520
12504
|
], 64))), 128))
|
|
12521
12505
|
]),
|
|
12522
12506
|
d("div", { class: "border-t border-gray-200 py-2" }, [
|
|
@@ -12552,16 +12536,16 @@ const Dd = {
|
|
|
12552
12536
|
], 2);
|
|
12553
12537
|
};
|
|
12554
12538
|
}
|
|
12555
|
-
},
|
|
12539
|
+
}, Sv = { class: "relative" }, Cv = ["id", "disabled"], zv = {
|
|
12556
12540
|
key: 0,
|
|
12557
12541
|
class: "text-gray-500"
|
|
12558
|
-
},
|
|
12542
|
+
}, Av = {
|
|
12559
12543
|
key: 1,
|
|
12560
12544
|
class: "flex flex-wrap gap-1.5"
|
|
12561
|
-
},
|
|
12545
|
+
}, Vv = { class: "px-3 py-2.5 border-b border-gray-200 bg-gray-50" }, Bv = {
|
|
12562
12546
|
key: 0,
|
|
12563
12547
|
class: "max-h-52 overflow-y-auto py-1"
|
|
12564
|
-
},
|
|
12548
|
+
}, Pv = ["onClick"], Tv = { class: "flex items-center gap-3" }, jv = ["checked"], Iv = {
|
|
12565
12549
|
key: 1,
|
|
12566
12550
|
class: "px-4 py-6 text-sm text-gray-500 text-center"
|
|
12567
12551
|
}, Vr = {
|
|
@@ -12642,7 +12626,7 @@ const Dd = {
|
|
|
12642
12626
|
m.value = [...i];
|
|
12643
12627
|
}, { immediate: !0 }), ce(r, (i) => {
|
|
12644
12628
|
i && $();
|
|
12645
|
-
}), (i, u) => (s(), c("div",
|
|
12629
|
+
}), (i, u) => (s(), c("div", Sv, [
|
|
12646
12630
|
d("button", {
|
|
12647
12631
|
ref_key: "buttonRef",
|
|
12648
12632
|
ref: g,
|
|
@@ -12657,7 +12641,7 @@ const Dd = {
|
|
|
12657
12641
|
onClick: I,
|
|
12658
12642
|
onKeydown: v
|
|
12659
12643
|
}, [
|
|
12660
|
-
k.value.length === 0 ? (s(), c("div",
|
|
12644
|
+
k.value.length === 0 ? (s(), c("div", zv, x(e.placeholder || "Select options"), 1)) : (s(), c("div", Av, [
|
|
12661
12645
|
(s(!0), c(G, null, X(k.value, (w) => (s(), L(xr, {
|
|
12662
12646
|
key: w,
|
|
12663
12647
|
variant: "primary",
|
|
@@ -12680,7 +12664,7 @@ const Dd = {
|
|
|
12680
12664
|
"clip-rule": "evenodd"
|
|
12681
12665
|
}, null, -1)
|
|
12682
12666
|
])], 2))
|
|
12683
|
-
], 42,
|
|
12667
|
+
], 42, Cv),
|
|
12684
12668
|
(s(), L(mt, { to: "body" }, [
|
|
12685
12669
|
P(be, {
|
|
12686
12670
|
"enter-active-class": "transition ease-out duration-100",
|
|
@@ -12697,7 +12681,7 @@ const Dd = {
|
|
|
12697
12681
|
"data-multiselect-dropdown": "",
|
|
12698
12682
|
class: "bg-white shadow-lg max-h-72 rounded-md text-base ring-1 ring-black ring-opacity-5 overflow-hidden focus:outline-none"
|
|
12699
12683
|
}, [
|
|
12700
|
-
d("div",
|
|
12684
|
+
d("div", Vv, [
|
|
12701
12685
|
Fe(d("input", {
|
|
12702
12686
|
ref_key: "searchInput",
|
|
12703
12687
|
ref: o,
|
|
@@ -12712,27 +12696,27 @@ const Dd = {
|
|
|
12712
12696
|
[We, l.value]
|
|
12713
12697
|
])
|
|
12714
12698
|
]),
|
|
12715
|
-
m.value.length > 0 ? (s(), c("div",
|
|
12699
|
+
m.value.length > 0 ? (s(), c("div", Bv, [
|
|
12716
12700
|
(s(!0), c(G, null, X(m.value, (w) => (s(), c("button", {
|
|
12717
12701
|
key: w.value,
|
|
12718
12702
|
type: "button",
|
|
12719
12703
|
class: b(["cursor-pointer select-none relative py-2.5 pl-3 pr-9 w-full text-left hover:bg-blue-50 focus:bg-blue-50 focus:outline-none transition-colors duration-150", { "bg-blue-50": e.modelValue.includes(w.value) }]),
|
|
12720
12704
|
onClick: (V) => S(w.value)
|
|
12721
12705
|
}, [
|
|
12722
|
-
d("div",
|
|
12706
|
+
d("div", Tv, [
|
|
12723
12707
|
d("input", {
|
|
12724
12708
|
type: "checkbox",
|
|
12725
12709
|
checked: e.modelValue.includes(w.value),
|
|
12726
12710
|
class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded cursor-pointer pointer-events-none",
|
|
12727
12711
|
readonly: "",
|
|
12728
12712
|
tabindex: "-1"
|
|
12729
|
-
}, null, 8,
|
|
12713
|
+
}, null, 8, jv),
|
|
12730
12714
|
d("span", {
|
|
12731
12715
|
class: b(["block font-normal truncate", { "text-blue-900 font-medium": e.modelValue.includes(w.value) }])
|
|
12732
12716
|
}, x(w.label), 3)
|
|
12733
12717
|
])
|
|
12734
|
-
], 10,
|
|
12735
|
-
])) : (s(), c("div",
|
|
12718
|
+
], 10, Pv))), 128))
|
|
12719
|
+
])) : (s(), c("div", Iv, " No options found "))
|
|
12736
12720
|
], 4)) : p("", !0)
|
|
12737
12721
|
]),
|
|
12738
12722
|
_: 1
|
|
@@ -12740,25 +12724,25 @@ const Dd = {
|
|
|
12740
12724
|
]))
|
|
12741
12725
|
]));
|
|
12742
12726
|
}
|
|
12743
|
-
},
|
|
12727
|
+
}, Ov = { class: "mb-6" }, Mv = { class: "text-xl font-semibold text-gray-900" }, Fv = { class: "text-sm text-gray-600 mt-1" }, Lv = ["onUpdate:modelValue"], Ev = {
|
|
12744
12728
|
key: 4,
|
|
12745
12729
|
class: "flex items-center"
|
|
12746
|
-
},
|
|
12730
|
+
}, Nv = {
|
|
12747
12731
|
key: 5,
|
|
12748
12732
|
class: "flex items-center"
|
|
12749
|
-
},
|
|
12733
|
+
}, Dv = ["id", "aria-checked", "disabled", "onClick"], Rv = {
|
|
12750
12734
|
key: 6,
|
|
12751
12735
|
class: "space-y-2"
|
|
12752
|
-
},
|
|
12736
|
+
}, _v = {
|
|
12753
12737
|
key: 7,
|
|
12754
12738
|
class: "space-y-2"
|
|
12755
|
-
},
|
|
12739
|
+
}, Uv = {
|
|
12756
12740
|
key: 0,
|
|
12757
12741
|
class: "text-xs text-gray-500"
|
|
12758
|
-
},
|
|
12742
|
+
}, qv = {
|
|
12759
12743
|
key: 9,
|
|
12760
12744
|
class: "space-y-2"
|
|
12761
|
-
},
|
|
12745
|
+
}, Hv = { class: "flex items-center gap-4" }, Wv = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, Yv = { class: "flex justify-end gap-3 pt-6" }, Gv = {
|
|
12762
12746
|
__name: "ReusableFormModal",
|
|
12763
12747
|
props: {
|
|
12764
12748
|
modelValue: {
|
|
@@ -12964,9 +12948,9 @@ const Dd = {
|
|
|
12964
12948
|
onClose: v
|
|
12965
12949
|
}, {
|
|
12966
12950
|
default: E(() => [
|
|
12967
|
-
d("div",
|
|
12968
|
-
d("h2",
|
|
12969
|
-
d("p",
|
|
12951
|
+
d("div", Ov, [
|
|
12952
|
+
d("h2", Mv, x(e.modalType === "create" ? `Add New ${e.entityName}` : `Edit ${e.entityName}`), 1),
|
|
12953
|
+
d("p", Fv, x(e.modalType === "create" ? `Fill in the details to create a new ${e.entityName.toLowerCase()}.` : `Update the ${e.entityName.toLowerCase()} information below.`), 1)
|
|
12970
12954
|
]),
|
|
12971
12955
|
d("form", {
|
|
12972
12956
|
class: "space-y-6 overflow-y-auto",
|
|
@@ -12979,7 +12963,7 @@ const Dd = {
|
|
|
12979
12963
|
key: 0,
|
|
12980
12964
|
"onUpdate:modelValue": (w) => o.value[u.name] = w,
|
|
12981
12965
|
type: "hidden"
|
|
12982
|
-
}, null, 8,
|
|
12966
|
+
}, null, 8, Lv)), [
|
|
12983
12967
|
[We, o.value[u.name]]
|
|
12984
12968
|
]) : (s(), L(Ba, {
|
|
12985
12969
|
key: 1,
|
|
@@ -13034,7 +13018,7 @@ const Dd = {
|
|
|
13034
13018
|
"has-error": V,
|
|
13035
13019
|
"aria-describedby": z,
|
|
13036
13020
|
"onUpdate:modelValue": (W) => o.value[u.name] = W
|
|
13037
|
-
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : u.type === "checkbox" ? (s(), c("div",
|
|
13021
|
+
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : u.type === "checkbox" ? (s(), c("div", Ev, [
|
|
13038
13022
|
P(ge, {
|
|
13039
13023
|
id: w,
|
|
13040
13024
|
modelValue: o.value[u.name],
|
|
@@ -13053,7 +13037,7 @@ const Dd = {
|
|
|
13053
13037
|
]),
|
|
13054
13038
|
_: 2
|
|
13055
13039
|
}, 1032, ["for"])
|
|
13056
|
-
])) : u.type === "switch" ? (s(), c("div",
|
|
13040
|
+
])) : u.type === "switch" ? (s(), c("div", Nv, [
|
|
13057
13041
|
d("button", {
|
|
13058
13042
|
id: w,
|
|
13059
13043
|
type: "button",
|
|
@@ -13073,7 +13057,7 @@ const Dd = {
|
|
|
13073
13057
|
o.value[u.name] ? "translate-x-6" : "translate-x-1"
|
|
13074
13058
|
])
|
|
13075
13059
|
}, null, 2)
|
|
13076
|
-
], 10,
|
|
13060
|
+
], 10, Dv),
|
|
13077
13061
|
P(De, {
|
|
13078
13062
|
for: w,
|
|
13079
13063
|
class: "ml-3 text-sm text-gray-700"
|
|
@@ -13083,7 +13067,7 @@ const Dd = {
|
|
|
13083
13067
|
]),
|
|
13084
13068
|
_: 2
|
|
13085
13069
|
}, 1032, ["for"])
|
|
13086
|
-
])) : u.type === "radio" ? (s(), c("div",
|
|
13070
|
+
])) : u.type === "radio" ? (s(), c("div", Rv, [
|
|
13087
13071
|
(s(!0), c(G, null, X(u.options, (W) => (s(), c("div", {
|
|
13088
13072
|
key: W.value,
|
|
13089
13073
|
class: "flex items-center"
|
|
@@ -13108,7 +13092,7 @@ const Dd = {
|
|
|
13108
13092
|
_: 2
|
|
13109
13093
|
}, 1032, ["for"])
|
|
13110
13094
|
]))), 128))
|
|
13111
|
-
])) : u.type === "file" ? (s(), c("div",
|
|
13095
|
+
])) : u.type === "file" ? (s(), c("div", _v, [
|
|
13112
13096
|
P(ge, {
|
|
13113
13097
|
id: w,
|
|
13114
13098
|
type: "file",
|
|
@@ -13121,7 +13105,7 @@ const Dd = {
|
|
|
13121
13105
|
"aria-describedby": z,
|
|
13122
13106
|
onChange: (W) => S(u, W)
|
|
13123
13107
|
}, null, 8, ["id", "accept", "disabled", "class", "aria-describedby", "onChange"]),
|
|
13124
|
-
u.helpText ? (s(), c("p",
|
|
13108
|
+
u.helpText ? (s(), c("p", Uv, x(u.helpText), 1)) : p("", !0)
|
|
13125
13109
|
])) : u.type === "slider" ? (s(), L(Pa, {
|
|
13126
13110
|
key: 8,
|
|
13127
13111
|
"model-value": o.value[u.name],
|
|
@@ -13130,8 +13114,8 @@ const Dd = {
|
|
|
13130
13114
|
step: u.step,
|
|
13131
13115
|
disabled: l.value || u.disabled,
|
|
13132
13116
|
"onUpdate:modelValue": (W) => I(u, W)
|
|
13133
|
-
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : u.type === "range" ? (s(), c("div",
|
|
13134
|
-
d("div",
|
|
13117
|
+
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : u.type === "range" ? (s(), c("div", qv, [
|
|
13118
|
+
d("div", Hv, [
|
|
13135
13119
|
P(ge, {
|
|
13136
13120
|
id: w,
|
|
13137
13121
|
modelValue: o.value[u.name],
|
|
@@ -13144,7 +13128,7 @@ const Dd = {
|
|
|
13144
13128
|
class: "flex-1",
|
|
13145
13129
|
"aria-describedby": z
|
|
13146
13130
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "min", "max", "step", "disabled", "aria-describedby"]),
|
|
13147
|
-
d("span",
|
|
13131
|
+
d("span", Wv, x(o.value[u.name]), 1)
|
|
13148
13132
|
])
|
|
13149
13133
|
])) : u.type === "date" ? (s(), L(Ot, {
|
|
13150
13134
|
key: 10,
|
|
@@ -13202,7 +13186,7 @@ const Dd = {
|
|
|
13202
13186
|
_: 2
|
|
13203
13187
|
}, 1032, ["id", "label", "required", "error", "error-message"]))
|
|
13204
13188
|
]))), 128)),
|
|
13205
|
-
d("div",
|
|
13189
|
+
d("div", Yv, [
|
|
13206
13190
|
P(ye, {
|
|
13207
13191
|
type: "button",
|
|
13208
13192
|
variant: "outline",
|
|
@@ -13231,28 +13215,28 @@ const Dd = {
|
|
|
13231
13215
|
_: 1
|
|
13232
13216
|
}, 8, ["modelValue", "size", "class", "resizable"]));
|
|
13233
13217
|
}
|
|
13234
|
-
},
|
|
13218
|
+
}, Kv = { class: "w-full p-6" }, Xv = {
|
|
13235
13219
|
key: 0,
|
|
13236
13220
|
class: "mb-6"
|
|
13237
|
-
},
|
|
13221
|
+
}, Qv = { class: "text-xl font-semibold text-gray-900" }, Jv = ["onUpdate:modelValue"], Zv = {
|
|
13238
13222
|
key: 4,
|
|
13239
13223
|
class: "flex items-center"
|
|
13240
|
-
},
|
|
13224
|
+
}, e0 = {
|
|
13241
13225
|
key: 5,
|
|
13242
13226
|
class: "flex items-center"
|
|
13243
|
-
},
|
|
13227
|
+
}, t0 = ["id", "aria-checked", "disabled", "onClick"], a0 = {
|
|
13244
13228
|
key: 6,
|
|
13245
13229
|
class: "space-y-2"
|
|
13246
|
-
},
|
|
13230
|
+
}, n0 = {
|
|
13247
13231
|
key: 7,
|
|
13248
13232
|
class: "space-y-2"
|
|
13249
|
-
},
|
|
13233
|
+
}, r0 = {
|
|
13250
13234
|
key: 0,
|
|
13251
13235
|
class: "text-xs text-gray-500"
|
|
13252
|
-
},
|
|
13236
|
+
}, s0 = {
|
|
13253
13237
|
key: 9,
|
|
13254
13238
|
class: "space-y-2"
|
|
13255
|
-
},
|
|
13239
|
+
}, l0 = { class: "flex items-center gap-4" }, o0 = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, i0 = { class: "flex justify-end gap-3 pt-6" }, u0 = {
|
|
13256
13240
|
__name: "ReusableForm",
|
|
13257
13241
|
props: {
|
|
13258
13242
|
title: {
|
|
@@ -13407,9 +13391,9 @@ const Dd = {
|
|
|
13407
13391
|
}, C = () => {
|
|
13408
13392
|
l.value = g(), o.value = {}, m.value = !1, n("reset");
|
|
13409
13393
|
};
|
|
13410
|
-
return (v, f) => (s(), c("div",
|
|
13411
|
-
e.title ? (s(), c("div",
|
|
13412
|
-
d("h2",
|
|
13394
|
+
return (v, f) => (s(), c("div", Kv, [
|
|
13395
|
+
e.title ? (s(), c("div", Xv, [
|
|
13396
|
+
d("h2", Qv, x(e.title), 1)
|
|
13413
13397
|
])) : p("", !0),
|
|
13414
13398
|
d("form", {
|
|
13415
13399
|
class: "space-y-8",
|
|
@@ -13422,7 +13406,7 @@ const Dd = {
|
|
|
13422
13406
|
key: 0,
|
|
13423
13407
|
"onUpdate:modelValue": (u) => l.value[i.name] = u,
|
|
13424
13408
|
type: "hidden"
|
|
13425
|
-
}, null, 8,
|
|
13409
|
+
}, null, 8, Jv)), [
|
|
13426
13410
|
[We, l.value[i.name]]
|
|
13427
13411
|
]) : (s(), L(Ba, {
|
|
13428
13412
|
key: 1,
|
|
@@ -13477,7 +13461,7 @@ const Dd = {
|
|
|
13477
13461
|
"has-error": w,
|
|
13478
13462
|
"aria-describedby": V,
|
|
13479
13463
|
"onUpdate:modelValue": (z) => l.value[i.name] = z
|
|
13480
|
-
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : i.type === "checkbox" ? (s(), c("div",
|
|
13464
|
+
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : i.type === "checkbox" ? (s(), c("div", Zv, [
|
|
13481
13465
|
P(ge, {
|
|
13482
13466
|
id: u,
|
|
13483
13467
|
modelValue: l.value[i.name],
|
|
@@ -13496,7 +13480,7 @@ const Dd = {
|
|
|
13496
13480
|
]),
|
|
13497
13481
|
_: 2
|
|
13498
13482
|
}, 1032, ["for"])
|
|
13499
|
-
])) : i.type === "switch" ? (s(), c("div",
|
|
13483
|
+
])) : i.type === "switch" ? (s(), c("div", e0, [
|
|
13500
13484
|
d("button", {
|
|
13501
13485
|
id: u,
|
|
13502
13486
|
type: "button",
|
|
@@ -13516,7 +13500,7 @@ const Dd = {
|
|
|
13516
13500
|
l.value[i.name] ? "translate-x-6" : "translate-x-1"
|
|
13517
13501
|
])
|
|
13518
13502
|
}, null, 2)
|
|
13519
|
-
], 10,
|
|
13503
|
+
], 10, t0),
|
|
13520
13504
|
P(De, {
|
|
13521
13505
|
for: u,
|
|
13522
13506
|
class: "ml-3 text-sm text-gray-700"
|
|
@@ -13526,7 +13510,7 @@ const Dd = {
|
|
|
13526
13510
|
]),
|
|
13527
13511
|
_: 2
|
|
13528
13512
|
}, 1032, ["for"])
|
|
13529
|
-
])) : i.type === "radio" ? (s(), c("div",
|
|
13513
|
+
])) : i.type === "radio" ? (s(), c("div", a0, [
|
|
13530
13514
|
(s(!0), c(G, null, X(i.options, (z) => (s(), c("div", {
|
|
13531
13515
|
key: z.value,
|
|
13532
13516
|
class: "flex items-center"
|
|
@@ -13551,7 +13535,7 @@ const Dd = {
|
|
|
13551
13535
|
_: 2
|
|
13552
13536
|
}, 1032, ["for"])
|
|
13553
13537
|
]))), 128))
|
|
13554
|
-
])) : i.type === "file" ? (s(), c("div",
|
|
13538
|
+
])) : i.type === "file" ? (s(), c("div", n0, [
|
|
13555
13539
|
P(ge, {
|
|
13556
13540
|
id: u,
|
|
13557
13541
|
type: "file",
|
|
@@ -13564,7 +13548,7 @@ const Dd = {
|
|
|
13564
13548
|
"aria-describedby": V,
|
|
13565
13549
|
onChange: (z) => I(i, z)
|
|
13566
13550
|
}, null, 8, ["id", "accept", "disabled", "class", "aria-describedby", "onChange"]),
|
|
13567
|
-
i.helpText ? (s(), c("p",
|
|
13551
|
+
i.helpText ? (s(), c("p", r0, x(i.helpText), 1)) : p("", !0)
|
|
13568
13552
|
])) : i.type === "slider" ? (s(), L(Pa, {
|
|
13569
13553
|
key: 8,
|
|
13570
13554
|
"model-value": l.value[i.name],
|
|
@@ -13573,8 +13557,8 @@ const Dd = {
|
|
|
13573
13557
|
step: i.step,
|
|
13574
13558
|
disabled: r.value || i.disabled,
|
|
13575
13559
|
"onUpdate:modelValue": (z) => $(i, z)
|
|
13576
|
-
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : i.type === "range" ? (s(), c("div",
|
|
13577
|
-
d("div",
|
|
13560
|
+
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : i.type === "range" ? (s(), c("div", s0, [
|
|
13561
|
+
d("div", l0, [
|
|
13578
13562
|
P(ge, {
|
|
13579
13563
|
id: u,
|
|
13580
13564
|
modelValue: l.value[i.name],
|
|
@@ -13587,7 +13571,7 @@ const Dd = {
|
|
|
13587
13571
|
class: "flex-1",
|
|
13588
13572
|
"aria-describedby": V
|
|
13589
13573
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "min", "max", "step", "disabled", "aria-describedby"]),
|
|
13590
|
-
d("span",
|
|
13574
|
+
d("span", o0, x(l.value[i.name]), 1)
|
|
13591
13575
|
])
|
|
13592
13576
|
])) : i.type === "date" ? (s(), L(Ot, {
|
|
13593
13577
|
key: 10,
|
|
@@ -13645,7 +13629,7 @@ const Dd = {
|
|
|
13645
13629
|
_: 2
|
|
13646
13630
|
}, 1032, ["id", "label", "required", "error", "error-message"]))
|
|
13647
13631
|
]))), 128)),
|
|
13648
|
-
d("div",
|
|
13632
|
+
d("div", i0, [
|
|
13649
13633
|
P(ye, {
|
|
13650
13634
|
type: "button",
|
|
13651
13635
|
variant: "outline",
|
|
@@ -13672,37 +13656,37 @@ const Dd = {
|
|
|
13672
13656
|
], 32)
|
|
13673
13657
|
]));
|
|
13674
13658
|
}
|
|
13675
|
-
},
|
|
13659
|
+
}, d0 = {
|
|
13676
13660
|
key: 0,
|
|
13677
13661
|
class: "flex items-center justify-between p-4 border-b border-gray-200 flex-shrink-0 lg:hidden"
|
|
13678
|
-
},
|
|
13662
|
+
}, c0 = { class: "text-lg font-bold text-gray-900" }, f0 = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, m0 = { class: "space-y-2" }, g0 = { key: 0 }, v0 = {
|
|
13679
13663
|
key: 0,
|
|
13680
13664
|
class: "absolute top-2 right-2 inline-flex items-center justify-center w-5 h-5 text-xs font-bold rounded-full bg-red-500 text-white"
|
|
13681
|
-
},
|
|
13665
|
+
}, b0 = ["onClick"], h0 = {
|
|
13682
13666
|
key: 0,
|
|
13683
13667
|
class: "absolute top-2 right-2 inline-flex items-center justify-center w-5 h-5 text-xs font-bold rounded-full bg-red-500 text-white"
|
|
13684
|
-
},
|
|
13668
|
+
}, p0 = {
|
|
13685
13669
|
key: 1,
|
|
13686
13670
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
13687
|
-
},
|
|
13671
|
+
}, y0 = {
|
|
13688
13672
|
key: 1,
|
|
13689
13673
|
class: "border-t border-gray-200 p-4 flex-shrink-0"
|
|
13690
|
-
},
|
|
13674
|
+
}, x0 = {
|
|
13691
13675
|
key: 0,
|
|
13692
13676
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
13693
|
-
},
|
|
13677
|
+
}, w0 = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, k0 = { class: "flex items-center justify-between p-4" }, $0 = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, S0 = { class: "p-3" }, C0 = { class: "space-y-1" }, z0 = {
|
|
13694
13678
|
key: 0,
|
|
13695
13679
|
class: "absolute left-0 top-1/2 transform -translate-y-1/2 w-1 h-8 bg-gradient-to-b from-blue-500 to-blue-600 rounded-r-full"
|
|
13696
|
-
},
|
|
13680
|
+
}, A0 = {
|
|
13697
13681
|
key: 1,
|
|
13698
13682
|
class: "ml-2 inline-flex items-center justify-center px-2 py-0.5 text-xs font-bold rounded-full bg-red-500 text-white"
|
|
13699
|
-
},
|
|
13683
|
+
}, V0 = { class: "p-3" }, B0 = { class: "space-y-1" }, P0 = {
|
|
13700
13684
|
key: 0,
|
|
13701
13685
|
class: "px-3 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
|
|
13702
|
-
},
|
|
13686
|
+
}, T0 = {
|
|
13703
13687
|
key: 0,
|
|
13704
13688
|
class: "absolute left-0 top-1/2 transform -translate-y-1/2 w-1 h-8 bg-gradient-to-b from-blue-500 to-blue-600 rounded-r-full"
|
|
13705
|
-
},
|
|
13689
|
+
}, j0 = {
|
|
13706
13690
|
__name: "Sidebar",
|
|
13707
13691
|
props: {
|
|
13708
13692
|
sidebarWidth: {
|
|
@@ -13825,8 +13809,8 @@ const Dd = {
|
|
|
13825
13809
|
)),
|
|
13826
13810
|
style: fe({ width: e.sidebarWidth + "px", top: l.value ? "0px" : "4rem" })
|
|
13827
13811
|
}, [
|
|
13828
|
-
l.value ? (s(), c("div",
|
|
13829
|
-
d("h2",
|
|
13812
|
+
l.value ? (s(), c("div", d0, [
|
|
13813
|
+
d("h2", c0, x(e.header?.title), 1),
|
|
13830
13814
|
d("button", {
|
|
13831
13815
|
class: "p-2 rounded-lg text-gray-500 hover:text-gray-900 hover:bg-gray-100 transition-colors",
|
|
13832
13816
|
"aria-label": "Close sidebar",
|
|
@@ -13847,12 +13831,12 @@ const Dd = {
|
|
|
13847
13831
|
], -1)
|
|
13848
13832
|
])])
|
|
13849
13833
|
])) : p("", !0),
|
|
13850
|
-
d("nav",
|
|
13851
|
-
d("div",
|
|
13834
|
+
d("nav", f0, [
|
|
13835
|
+
d("div", m0, [
|
|
13852
13836
|
(s(!0), c(G, null, X(e.navigationItems, (B) => (s(), c(G, {
|
|
13853
13837
|
key: B.name || B.label
|
|
13854
13838
|
}, [
|
|
13855
|
-
B.type === "link" ? (s(), c("div",
|
|
13839
|
+
B.type === "link" ? (s(), c("div", g0, [
|
|
13856
13840
|
v(B) ? (s(), c("div", {
|
|
13857
13841
|
key: 1,
|
|
13858
13842
|
class: b(_(A)(
|
|
@@ -13879,9 +13863,9 @@ const Dd = {
|
|
|
13879
13863
|
K(B) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
13880
13864
|
))
|
|
13881
13865
|
}, x(B.label), 3),
|
|
13882
|
-
B.badge ? (s(), c("span",
|
|
13883
|
-
K(B) && v(B) ? (s(), c("div",
|
|
13884
|
-
], 10,
|
|
13866
|
+
B.badge ? (s(), c("span", h0, x(B.badge), 1)) : p("", !0),
|
|
13867
|
+
K(B) && v(B) ? (s(), c("div", p0)) : p("", !0)
|
|
13868
|
+
], 10, b0)) : (s(), L(J, {
|
|
13885
13869
|
key: 0,
|
|
13886
13870
|
to: B.route,
|
|
13887
13871
|
class: b(_(A)(
|
|
@@ -13909,7 +13893,7 @@ const Dd = {
|
|
|
13909
13893
|
K(B) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
13910
13894
|
))
|
|
13911
13895
|
}, x(B.label), 3),
|
|
13912
|
-
B.badge ? (s(), c("span",
|
|
13896
|
+
B.badge ? (s(), c("span", v0, x(B.badge), 1)) : p("", !0)
|
|
13913
13897
|
]),
|
|
13914
13898
|
_: 2
|
|
13915
13899
|
}, 1032, ["to", "class", "onClick"]))
|
|
@@ -13917,7 +13901,7 @@ const Dd = {
|
|
|
13917
13901
|
], 64))), 128))
|
|
13918
13902
|
])
|
|
13919
13903
|
]),
|
|
13920
|
-
e.showManagementSettings ? (s(), c("div",
|
|
13904
|
+
e.showManagementSettings ? (s(), c("div", y0, [
|
|
13921
13905
|
d("div", {
|
|
13922
13906
|
class: b(_(A)(
|
|
13923
13907
|
"flex flex-col items-center justify-center rounded-xl transition-all duration-200 cursor-pointer group relative py-4 px-3",
|
|
@@ -13943,7 +13927,7 @@ const Dd = {
|
|
|
13943
13927
|
e.isManagementSettingsActive ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
13944
13928
|
))
|
|
13945
13929
|
}, " Settings ", 2),
|
|
13946
|
-
e.isManagementSettingsActive ? (s(), c("div",
|
|
13930
|
+
e.isManagementSettingsActive ? (s(), c("div", x0)) : p("", !0)
|
|
13947
13931
|
], 2)
|
|
13948
13932
|
])) : p("", !0)
|
|
13949
13933
|
], 6),
|
|
@@ -13966,8 +13950,8 @@ const Dd = {
|
|
|
13966
13950
|
),
|
|
13967
13951
|
style: fe(k.value)
|
|
13968
13952
|
}, [
|
|
13969
|
-
d("div",
|
|
13970
|
-
d("div",
|
|
13953
|
+
d("div", w0, [
|
|
13954
|
+
d("div", k0, [
|
|
13971
13955
|
d("button", {
|
|
13972
13956
|
class: "p-2 -ml-2 rounded-lg text-gray-500 hover:text-gray-700 hover:bg-gray-100 transition-colors",
|
|
13973
13957
|
"aria-label": "Close submenu",
|
|
@@ -13987,11 +13971,11 @@ const Dd = {
|
|
|
13987
13971
|
})
|
|
13988
13972
|
], -1)
|
|
13989
13973
|
])]),
|
|
13990
|
-
d("h3",
|
|
13974
|
+
d("h3", $0, x(m.value?.label), 1)
|
|
13991
13975
|
])
|
|
13992
13976
|
]),
|
|
13993
|
-
d("nav",
|
|
13994
|
-
d("div",
|
|
13977
|
+
d("nav", S0, [
|
|
13978
|
+
d("div", C0, [
|
|
13995
13979
|
(s(!0), c(G, null, X(m.value?.subItems, (B) => (s(), L(J, {
|
|
13996
13980
|
key: B.name,
|
|
13997
13981
|
to: B.route,
|
|
@@ -14004,7 +13988,7 @@ const Dd = {
|
|
|
14004
13988
|
onClick: (F) => z(B)
|
|
14005
13989
|
}, {
|
|
14006
13990
|
default: E(() => [
|
|
14007
|
-
K(B) ? (s(), c("div",
|
|
13991
|
+
K(B) ? (s(), c("div", z0)) : p("", !0),
|
|
14008
13992
|
d("div", {
|
|
14009
13993
|
class: b(
|
|
14010
13994
|
_(A)(
|
|
@@ -14025,7 +14009,7 @@ const Dd = {
|
|
|
14025
14009
|
K(B) ? "text-blue-700" : "text-gray-700"
|
|
14026
14010
|
))
|
|
14027
14011
|
}, x(B.label), 3),
|
|
14028
|
-
B.badge ? (s(), c("span",
|
|
14012
|
+
B.badge ? (s(), c("span", A0, x(B.badge), 1)) : p("", !0)
|
|
14029
14013
|
]),
|
|
14030
14014
|
_: 2
|
|
14031
14015
|
}, 1032, ["to", "class", "onClick"]))), 128))
|
|
@@ -14078,12 +14062,12 @@ const Dd = {
|
|
|
14078
14062
|
ee[3] || (ee[3] = d("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, " Management Settings ", -1))
|
|
14079
14063
|
])
|
|
14080
14064
|
]),
|
|
14081
|
-
d("nav",
|
|
14082
|
-
d("div",
|
|
14065
|
+
d("nav", V0, [
|
|
14066
|
+
d("div", B0, [
|
|
14083
14067
|
(s(!0), c(G, null, X(e.managementSettings, (B) => (s(), c(G, {
|
|
14084
14068
|
key: B.name
|
|
14085
14069
|
}, [
|
|
14086
|
-
B.type === "section" ? (s(), c("div",
|
|
14070
|
+
B.type === "section" ? (s(), c("div", P0, x(B.label), 1)) : B.route ? (s(), L(J, {
|
|
14087
14071
|
key: 1,
|
|
14088
14072
|
to: B.route,
|
|
14089
14073
|
class: b(
|
|
@@ -14095,7 +14079,7 @@ const Dd = {
|
|
|
14095
14079
|
onClick: (F) => W(B)
|
|
14096
14080
|
}, {
|
|
14097
14081
|
default: E(() => [
|
|
14098
|
-
K(B) ? (s(), c("div",
|
|
14082
|
+
K(B) ? (s(), c("div", T0)) : p("", !0),
|
|
14099
14083
|
d("div", {
|
|
14100
14084
|
class: b(
|
|
14101
14085
|
_(A)(
|
|
@@ -14146,7 +14130,7 @@ const Dd = {
|
|
|
14146
14130
|
]);
|
|
14147
14131
|
};
|
|
14148
14132
|
}
|
|
14149
|
-
},
|
|
14133
|
+
}, I0 = {
|
|
14150
14134
|
__name: "Timeline",
|
|
14151
14135
|
props: {
|
|
14152
14136
|
orientation: {
|
|
@@ -14165,13 +14149,13 @@ const Dd = {
|
|
|
14165
14149
|
M(a.$slots, "default")
|
|
14166
14150
|
], 2));
|
|
14167
14151
|
}
|
|
14168
|
-
},
|
|
14152
|
+
}, O0 = {
|
|
14169
14153
|
key: 0,
|
|
14170
14154
|
class: "absolute left-3 top-0 w-0.5 h-full bg-slate-200"
|
|
14171
|
-
},
|
|
14155
|
+
}, M0 = { class: "z-10 flex items-center justify-center w-6 h-6 rounded-full border-2 border-blue-500 bg-white text-blue-500" }, F0 = { class: "text-slate-900 font-medium" }, L0 = {
|
|
14172
14156
|
key: 0,
|
|
14173
14157
|
class: "text-slate-500 text-sm"
|
|
14174
|
-
},
|
|
14158
|
+
}, E0 = { class: "mt-2 text-slate-600 text-sm" }, N0 = {
|
|
14175
14159
|
__name: "TimelineItem",
|
|
14176
14160
|
props: {
|
|
14177
14161
|
title: {
|
|
@@ -14195,8 +14179,8 @@ const Dd = {
|
|
|
14195
14179
|
e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
|
|
14196
14180
|
])
|
|
14197
14181
|
}, [
|
|
14198
|
-
e.orientation === "vertical" ? (s(), c("div",
|
|
14199
|
-
d("div",
|
|
14182
|
+
e.orientation === "vertical" ? (s(), c("div", O0)) : p("", !0),
|
|
14183
|
+
d("div", M0, [
|
|
14200
14184
|
M(a.$slots, "icon", {}, () => [
|
|
14201
14185
|
t[0] || (t[0] = d("div", { class: "w-2 h-2 rounded-full bg-blue-500" }, null, -1))
|
|
14202
14186
|
])
|
|
@@ -14207,23 +14191,23 @@ const Dd = {
|
|
|
14207
14191
|
e.orientation === "horizontal" ? "mt-2 text-center" : ""
|
|
14208
14192
|
])
|
|
14209
14193
|
}, [
|
|
14210
|
-
d("h3",
|
|
14194
|
+
d("h3", F0, [
|
|
14211
14195
|
M(a.$slots, "title", {}, () => [
|
|
14212
14196
|
Q(x(e.title), 1)
|
|
14213
14197
|
])
|
|
14214
14198
|
]),
|
|
14215
|
-
e.subtitle ? (s(), c("p",
|
|
14199
|
+
e.subtitle ? (s(), c("p", L0, [
|
|
14216
14200
|
M(a.$slots, "subtitle", {}, () => [
|
|
14217
14201
|
Q(x(e.subtitle), 1)
|
|
14218
14202
|
])
|
|
14219
14203
|
])) : p("", !0),
|
|
14220
|
-
d("div",
|
|
14204
|
+
d("div", E0, [
|
|
14221
14205
|
M(a.$slots, "default")
|
|
14222
14206
|
])
|
|
14223
14207
|
], 2)
|
|
14224
14208
|
], 2));
|
|
14225
14209
|
}
|
|
14226
|
-
},
|
|
14210
|
+
}, D0 = {
|
|
14227
14211
|
name: "AuthLayout",
|
|
14228
14212
|
props: {
|
|
14229
14213
|
title: {
|
|
@@ -14312,20 +14296,20 @@ const Dd = {
|
|
|
14312
14296
|
currentYear: h(() => (/* @__PURE__ */ new Date()).getFullYear())
|
|
14313
14297
|
};
|
|
14314
14298
|
}
|
|
14315
|
-
},
|
|
14299
|
+
}, R0 = { class: "container mx-auto px-4 relative z-10" }, _0 = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, U0 = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, q0 = { class: "mb-6" }, H0 = { class: "text-4xl lg:text-6xl font-bold mb-2" }, W0 = { class: "text-white" }, Y0 = { class: "flex items-center justify-center lg:justify-start mb-6" }, G0 = { class: "text-3xl lg:text-4xl font-bold text-white" }, K0 = { class: "lg:col-span-4" }, X0 = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, Q0 = {
|
|
14316
14300
|
key: 0,
|
|
14317
14301
|
class: "mb-6"
|
|
14318
|
-
},
|
|
14302
|
+
}, J0 = { class: "text-center" }, Z0 = { class: "text-2xl font-bold text-gray-900" }, eb = {
|
|
14319
14303
|
key: 0,
|
|
14320
14304
|
class: "text-gray-600 mt-2"
|
|
14321
|
-
},
|
|
14305
|
+
}, tb = { class: "space-y-6" }, ab = {
|
|
14322
14306
|
key: 1,
|
|
14323
14307
|
class: "mt-6"
|
|
14324
|
-
},
|
|
14308
|
+
}, nb = {
|
|
14325
14309
|
key: 0,
|
|
14326
14310
|
class: "mt-6 text-center"
|
|
14327
|
-
},
|
|
14328
|
-
function
|
|
14311
|
+
}, rb = { class: "absolute bottom-4 right-4 text-right" }, sb = { class: "flex items-end justify-end mb-2" }, lb = { class: "text-right mr-3" }, ob = { class: "text-red-500 font-bold text-xs" }, ib = { class: "text-white text-xs" }, ub = { class: "text-white/70 text-xs" }, db = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, cb = { class: "text-white/70 text-xs" }, fb = { class: "absolute bottom-4 left-4 flex gap-2" }, mb = ["href"];
|
|
14312
|
+
function gb(e, a, t, n, r, l) {
|
|
14329
14313
|
const o = ve("router-view"), m = ve("font-awesome-icon");
|
|
14330
14314
|
return s(), c("div", {
|
|
14331
14315
|
class: "min-h-screen relative flex items-center justify-center",
|
|
@@ -14338,70 +14322,70 @@ function vb(e, a, t, n, r, l) {
|
|
|
14338
14322
|
opacity: t.backgroundOpacity
|
|
14339
14323
|
})
|
|
14340
14324
|
}, null, 4),
|
|
14341
|
-
d("div",
|
|
14342
|
-
d("div",
|
|
14343
|
-
d("div",
|
|
14344
|
-
d("div",
|
|
14345
|
-
d("div",
|
|
14325
|
+
d("div", R0, [
|
|
14326
|
+
d("div", _0, [
|
|
14327
|
+
d("div", U0, [
|
|
14328
|
+
d("div", q0, [
|
|
14329
|
+
d("div", H0, [
|
|
14346
14330
|
d("span", {
|
|
14347
14331
|
style: fe({ color: t.primaryColor })
|
|
14348
14332
|
}, x(t.primaryLogoPrefix), 5),
|
|
14349
|
-
d("span",
|
|
14333
|
+
d("span", W0, x(t.primaryLogoText), 1)
|
|
14350
14334
|
]),
|
|
14351
14335
|
d("div", {
|
|
14352
14336
|
class: "h-0.5 w-30 mx-auto lg:mx-0",
|
|
14353
14337
|
style: fe({ backgroundColor: t.primaryColor })
|
|
14354
14338
|
}, null, 4)
|
|
14355
14339
|
]),
|
|
14356
|
-
d("div",
|
|
14340
|
+
d("div", Y0, [
|
|
14357
14341
|
d("div", {
|
|
14358
14342
|
class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
|
|
14359
14343
|
style: fe({ backgroundColor: t.primaryColor })
|
|
14360
14344
|
}, x(t.secondaryLogoPrefix), 5),
|
|
14361
|
-
d("span",
|
|
14345
|
+
d("span", G0, x(t.secondaryLogoText), 1)
|
|
14362
14346
|
]),
|
|
14363
14347
|
a[0] || (a[0] = d("div", { class: "max-w-md mx-auto lg:mx-0" }, [
|
|
14364
14348
|
d("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
|
|
14365
14349
|
], -1))
|
|
14366
14350
|
]),
|
|
14367
|
-
d("div",
|
|
14368
|
-
d("div",
|
|
14369
|
-
e.$slots["card-header"] || t.title ? (s(), c("div",
|
|
14351
|
+
d("div", K0, [
|
|
14352
|
+
d("div", X0, [
|
|
14353
|
+
e.$slots["card-header"] || t.title ? (s(), c("div", Q0, [
|
|
14370
14354
|
M(e.$slots, "card-header", {}, () => [
|
|
14371
|
-
d("div",
|
|
14372
|
-
d("h1",
|
|
14373
|
-
t.subtitle ? (s(), c("p",
|
|
14355
|
+
d("div", J0, [
|
|
14356
|
+
d("h1", Z0, x(t.title), 1),
|
|
14357
|
+
t.subtitle ? (s(), c("p", eb, x(t.subtitle), 1)) : p("", !0)
|
|
14374
14358
|
])
|
|
14375
14359
|
])
|
|
14376
14360
|
])) : p("", !0),
|
|
14377
|
-
d("div",
|
|
14361
|
+
d("div", tb, [
|
|
14378
14362
|
P(o)
|
|
14379
14363
|
]),
|
|
14380
|
-
e.$slots["card-footer"] ? (s(), c("div",
|
|
14364
|
+
e.$slots["card-footer"] ? (s(), c("div", ab, [
|
|
14381
14365
|
M(e.$slots, "card-footer")
|
|
14382
14366
|
])) : p("", !0)
|
|
14383
14367
|
]),
|
|
14384
|
-
e.$slots.links ? (s(), c("div",
|
|
14368
|
+
e.$slots.links ? (s(), c("div", nb, [
|
|
14385
14369
|
M(e.$slots, "links")
|
|
14386
14370
|
])) : p("", !0)
|
|
14387
14371
|
])
|
|
14388
14372
|
])
|
|
14389
14373
|
]),
|
|
14390
|
-
d("div",
|
|
14391
|
-
d("div",
|
|
14392
|
-
d("div",
|
|
14393
|
-
d("div",
|
|
14394
|
-
d("div",
|
|
14395
|
-
d("div",
|
|
14374
|
+
d("div", rb, [
|
|
14375
|
+
d("div", sb, [
|
|
14376
|
+
d("div", lb, [
|
|
14377
|
+
d("div", ob, x(t.companyName), 1),
|
|
14378
|
+
d("div", ib, x(t.companyType), 1),
|
|
14379
|
+
d("div", ub, x(t.companyTagline), 1)
|
|
14396
14380
|
]),
|
|
14397
|
-
d("div",
|
|
14381
|
+
d("div", db, x(t.companyInitials), 1)
|
|
14398
14382
|
]),
|
|
14399
|
-
d("div",
|
|
14383
|
+
d("div", cb, [
|
|
14400
14384
|
d("div", null, x(t.appName) + " (" + x(t.appVersion) + ")", 1),
|
|
14401
14385
|
d("div", null, x(t.copyright), 1)
|
|
14402
14386
|
])
|
|
14403
14387
|
]),
|
|
14404
|
-
d("div",
|
|
14388
|
+
d("div", fb, [
|
|
14405
14389
|
(s(!0), c(G, null, X(t.socialLinks, (g) => (s(), c("a", {
|
|
14406
14390
|
key: g.name,
|
|
14407
14391
|
href: g.url,
|
|
@@ -14413,14 +14397,14 @@ function vb(e, a, t, n, r, l) {
|
|
|
14413
14397
|
P(m, {
|
|
14414
14398
|
icon: ["fab", g.icon]
|
|
14415
14399
|
}, null, 8, ["icon"])
|
|
14416
|
-
], 10,
|
|
14400
|
+
], 10, mb))), 128))
|
|
14417
14401
|
])
|
|
14418
14402
|
], 4);
|
|
14419
14403
|
}
|
|
14420
|
-
const
|
|
14404
|
+
const vb = /* @__PURE__ */ Mt(D0, [["render", gb]]), bb = { class: "min-h-screen bg-gray-50" }, hb = { class: "flex-1" }, pb = {
|
|
14421
14405
|
key: 0,
|
|
14422
14406
|
class: "bg-white border-b border-gray-200"
|
|
14423
|
-
},
|
|
14407
|
+
}, yb = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, xb = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, wb = {
|
|
14424
14408
|
__name: "DefaultLayout",
|
|
14425
14409
|
props: {
|
|
14426
14410
|
navigationItems: {
|
|
@@ -14444,7 +14428,7 @@ const bb = /* @__PURE__ */ Mt(R0, [["render", vb]]), hb = { class: "min-h-screen
|
|
|
14444
14428
|
setup(e) {
|
|
14445
14429
|
return (a, t) => {
|
|
14446
14430
|
const n = ve("Logo"), r = ve("MainNavigation"), l = ve("Button"), o = ve("Header"), m = ve("Breadcrumb"), g = ve("Text"), y = ve("Footer");
|
|
14447
|
-
return s(), c("div",
|
|
14431
|
+
return s(), c("div", bb, [
|
|
14448
14432
|
P(o, null, {
|
|
14449
14433
|
logo: E(() => [
|
|
14450
14434
|
M(a.$slots, "logo", {}, () => [
|
|
@@ -14477,15 +14461,15 @@ const bb = /* @__PURE__ */ Mt(R0, [["render", vb]]), hb = { class: "min-h-screen
|
|
|
14477
14461
|
]),
|
|
14478
14462
|
_: 3
|
|
14479
14463
|
}),
|
|
14480
|
-
d("main",
|
|
14481
|
-
e.showBreadcrumb ? (s(), c("div",
|
|
14482
|
-
d("div",
|
|
14464
|
+
d("main", hb, [
|
|
14465
|
+
e.showBreadcrumb ? (s(), c("div", pb, [
|
|
14466
|
+
d("div", yb, [
|
|
14483
14467
|
M(a.$slots, "breadcrumb", {}, () => [
|
|
14484
14468
|
P(m, { items: e.breadcrumbItems }, null, 8, ["items"])
|
|
14485
14469
|
])
|
|
14486
14470
|
])
|
|
14487
14471
|
])) : p("", !0),
|
|
14488
|
-
d("div",
|
|
14472
|
+
d("div", xb, [
|
|
14489
14473
|
M(a.$slots, "default")
|
|
14490
14474
|
])
|
|
14491
14475
|
]),
|
|
@@ -14506,7 +14490,7 @@ const bb = /* @__PURE__ */ Mt(R0, [["render", vb]]), hb = { class: "min-h-screen
|
|
|
14506
14490
|
]);
|
|
14507
14491
|
};
|
|
14508
14492
|
}
|
|
14509
|
-
},
|
|
14493
|
+
}, kb = {
|
|
14510
14494
|
name: "ErrorLayout",
|
|
14511
14495
|
props: {
|
|
14512
14496
|
errorType: {
|
|
@@ -14772,20 +14756,20 @@ const bb = /* @__PURE__ */ Mt(R0, [["render", vb]]), hb = { class: "min-h-screen
|
|
|
14772
14756
|
helpClasses: oe
|
|
14773
14757
|
};
|
|
14774
14758
|
}
|
|
14775
|
-
},
|
|
14759
|
+
}, $b = { class: "flex justify-center" }, Sb = { class: "flex items-center gap-3" }, Cb = { class: "text-2xl font-bold text-slate-900" }, zb = {
|
|
14776
14760
|
key: 1,
|
|
14777
14761
|
class: "bg-red-100 border border-red-200 rounded-lg p-4 mx-auto max-w-md mb-6"
|
|
14778
|
-
},
|
|
14762
|
+
}, Ab = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, Vb = ["disabled"], Bb = {
|
|
14779
14763
|
key: 0,
|
|
14780
14764
|
class: "animate-spin"
|
|
14781
|
-
},
|
|
14765
|
+
}, Pb = { key: 1 }, Tb = ["disabled"], jb = { key: 0 }, Ib = { key: 1 }, Ob = {
|
|
14782
14766
|
key: 0,
|
|
14783
14767
|
class: "mt-8 max-w-md mx-auto"
|
|
14784
|
-
},
|
|
14768
|
+
}, Mb = { class: "bg-white rounded-lg border border-slate-200 shadow-sm p-6" }, Fb = { class: "text-lg font-semibold text-slate-900 mb-4" }, Lb = { class: "space-y-3" }, Eb = { class: "text-sm text-slate-600" }, Nb = ["href"], Db = {
|
|
14785
14769
|
key: 5,
|
|
14786
14770
|
class: "text-xs text-slate-400 font-mono mt-4"
|
|
14787
14771
|
};
|
|
14788
|
-
function
|
|
14772
|
+
function Rb(e, a, t, n, r, l) {
|
|
14789
14773
|
return s(), c("div", {
|
|
14790
14774
|
class: b(n.layoutClasses)
|
|
14791
14775
|
}, [
|
|
@@ -14805,13 +14789,13 @@ function _b(e, a, t, n, r, l) {
|
|
|
14805
14789
|
class: b(n.headerClasses)
|
|
14806
14790
|
}, [
|
|
14807
14791
|
M(e.$slots, "header", {}, () => [
|
|
14808
|
-
d("div",
|
|
14792
|
+
d("div", $b, [
|
|
14809
14793
|
M(e.$slots, "logo", {}, () => [
|
|
14810
|
-
d("div",
|
|
14794
|
+
d("div", Sb, [
|
|
14811
14795
|
a[5] || (a[5] = d("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
|
|
14812
14796
|
d("span", { class: "text-white font-bold text-lg" }, "STL")
|
|
14813
14797
|
], -1)),
|
|
14814
|
-
d("span",
|
|
14798
|
+
d("span", Cb, x(t.brandName), 1)
|
|
14815
14799
|
])
|
|
14816
14800
|
])
|
|
14817
14801
|
])
|
|
@@ -14857,7 +14841,7 @@ function _b(e, a, t, n, r, l) {
|
|
|
14857
14841
|
])
|
|
14858
14842
|
], 2)
|
|
14859
14843
|
], 2),
|
|
14860
|
-
n.isOnline ? p("", !0) : (s(), c("div",
|
|
14844
|
+
n.isOnline ? p("", !0) : (s(), c("div", zb, [...a[6] || (a[6] = [
|
|
14861
14845
|
d("div", { class: "flex items-center justify-center gap-2 text-red-700" }, [
|
|
14862
14846
|
d("span", { class: "w-3 h-3 bg-red-500 rounded-full animate-pulse" }),
|
|
14863
14847
|
d("span", { class: "font-medium" }, "No Internet Connection")
|
|
@@ -14868,7 +14852,7 @@ function _b(e, a, t, n, r, l) {
|
|
|
14868
14852
|
class: b(n.actionsClasses)
|
|
14869
14853
|
}, [
|
|
14870
14854
|
M(e.$slots, "actions", {}, () => [
|
|
14871
|
-
d("div",
|
|
14855
|
+
d("div", Ab, [
|
|
14872
14856
|
t.showHomeButton ? (s(), c("button", {
|
|
14873
14857
|
key: 0,
|
|
14874
14858
|
class: "bg-blue-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-700 transition-colors flex items-center justify-center gap-2",
|
|
@@ -14891,18 +14875,18 @@ function _b(e, a, t, n, r, l) {
|
|
|
14891
14875
|
class: "border border-slate-300 text-slate-700 px-6 py-3 rounded-lg font-medium hover:bg-slate-50 transition-colors flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
14892
14876
|
onClick: a[2] || (a[2] = (...o) => n.retry && n.retry(...o))
|
|
14893
14877
|
}, [
|
|
14894
|
-
n.isRetrying ? (s(), c("span",
|
|
14878
|
+
n.isRetrying ? (s(), c("span", Bb, "↻")) : (s(), c("span", Pb, "🔄")),
|
|
14895
14879
|
Q(" " + x(n.isRetrying ? "Retrying..." : t.retryButtonText), 1)
|
|
14896
|
-
], 8,
|
|
14880
|
+
], 8, Vb)) : p("", !0),
|
|
14897
14881
|
t.showSupportButton ? (s(), c("button", {
|
|
14898
14882
|
key: 3,
|
|
14899
14883
|
disabled: n.reportSent,
|
|
14900
14884
|
class: "bg-slate-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-slate-700 transition-colors flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
14901
14885
|
onClick: a[3] || (a[3] = (o) => e.$emit("contact-support"))
|
|
14902
14886
|
}, [
|
|
14903
|
-
n.reportSent ? (s(), c("span",
|
|
14887
|
+
n.reportSent ? (s(), c("span", jb, "✓")) : (s(), c("span", Ib, "📝")),
|
|
14904
14888
|
Q(" " + x(n.reportSent ? "Report Sent" : "Contact Support"), 1)
|
|
14905
|
-
], 8,
|
|
14889
|
+
], 8, Tb)) : p("", !0)
|
|
14906
14890
|
])
|
|
14907
14891
|
])
|
|
14908
14892
|
], 2)) : p("", !0),
|
|
@@ -14911,10 +14895,10 @@ function _b(e, a, t, n, r, l) {
|
|
|
14911
14895
|
class: b(n.additionalInfoClasses)
|
|
14912
14896
|
}, [
|
|
14913
14897
|
M(e.$slots, "additional-info", {}, () => [
|
|
14914
|
-
n.additionalInfoConfig ? (s(), c("div",
|
|
14915
|
-
d("div",
|
|
14916
|
-
d("h3",
|
|
14917
|
-
d("ul",
|
|
14898
|
+
n.additionalInfoConfig ? (s(), c("div", Ob, [
|
|
14899
|
+
d("div", Mb, [
|
|
14900
|
+
d("h3", Fb, x(n.additionalInfoConfig.title), 1),
|
|
14901
|
+
d("ul", Lb, [
|
|
14918
14902
|
(s(!0), c(G, null, X(n.additionalInfoConfig.items, (o, m) => (s(), c("li", {
|
|
14919
14903
|
key: m,
|
|
14920
14904
|
class: "flex items-start gap-3 text-sm text-slate-600"
|
|
@@ -14934,7 +14918,7 @@ function _b(e, a, t, n, r, l) {
|
|
|
14934
14918
|
class: b(n.helpClasses)
|
|
14935
14919
|
}, [
|
|
14936
14920
|
M(e.$slots, "help", {}, () => [
|
|
14937
|
-
d("p",
|
|
14921
|
+
d("p", Eb, [
|
|
14938
14922
|
Q(x(t.helpText) + " ", 1),
|
|
14939
14923
|
t.supportUrl ? (s(), c("a", {
|
|
14940
14924
|
key: 0,
|
|
@@ -14943,16 +14927,16 @@ function _b(e, a, t, n, r, l) {
|
|
|
14943
14927
|
}, [...a[8] || (a[8] = [
|
|
14944
14928
|
d("span", { class: "inline-block w-4 h-4 mr-1" }, "❓", -1),
|
|
14945
14929
|
Q(" Get Help ", -1)
|
|
14946
|
-
])], 8,
|
|
14930
|
+
])], 8, Nb)) : p("", !0)
|
|
14947
14931
|
])
|
|
14948
14932
|
])
|
|
14949
14933
|
], 2)) : p("", !0),
|
|
14950
|
-
n.isDev ? (s(), c("div",
|
|
14934
|
+
n.isDev ? (s(), c("div", Db, " Error ID: " + x(n.errorId), 1)) : p("", !0)
|
|
14951
14935
|
], 2)
|
|
14952
14936
|
], 2)
|
|
14953
14937
|
], 2);
|
|
14954
14938
|
}
|
|
14955
|
-
const
|
|
14939
|
+
const _b = /* @__PURE__ */ Mt(kb, [["render", Rb]]), fn = {
|
|
14956
14940
|
mounted(e, a) {
|
|
14957
14941
|
if (!a.value) return;
|
|
14958
14942
|
const t = Object.keys(a.modifiers)[0] || "top", n = document.createElement("div");
|
|
@@ -15106,42 +15090,42 @@ const Ub = /* @__PURE__ */ Mt($b, [["render", _b]]), fn = {
|
|
|
15106
15090
|
ListItem: $d,
|
|
15107
15091
|
MenuItem: Cd,
|
|
15108
15092
|
Modal: $r,
|
|
15109
|
-
ModalHeader:
|
|
15110
|
-
ModalBody:
|
|
15111
|
-
ModalFooter:
|
|
15112
|
-
Notification:
|
|
15113
|
-
Toast:
|
|
15114
|
-
Search:
|
|
15093
|
+
ModalHeader: Bd,
|
|
15094
|
+
ModalBody: Pd,
|
|
15095
|
+
ModalFooter: Td,
|
|
15096
|
+
Notification: Ld,
|
|
15097
|
+
Toast: Kd,
|
|
15098
|
+
Search: dc,
|
|
15115
15099
|
Slider: Pa,
|
|
15116
|
-
Stepper:
|
|
15117
|
-
StepperItem:
|
|
15118
|
-
Tab:
|
|
15119
|
-
TabPanel:
|
|
15120
|
-
BarChart:
|
|
15121
|
-
LineChart:
|
|
15122
|
-
GraphFilters:
|
|
15123
|
-
Accordion:
|
|
15124
|
-
AccordionItem:
|
|
15125
|
-
Graph:
|
|
15126
|
-
Calendar:
|
|
15127
|
-
DataTable:
|
|
15100
|
+
Stepper: vc,
|
|
15101
|
+
StepperItem: xc,
|
|
15102
|
+
Tab: Cc,
|
|
15103
|
+
TabPanel: Vc,
|
|
15104
|
+
BarChart: cf,
|
|
15105
|
+
LineChart: Af,
|
|
15106
|
+
GraphFilters: Rf,
|
|
15107
|
+
Accordion: Oc,
|
|
15108
|
+
AccordionItem: Mc,
|
|
15109
|
+
Graph: Qc,
|
|
15110
|
+
Calendar: Hc,
|
|
15111
|
+
DataTable: Tm,
|
|
15128
15112
|
DataTableHeader: Cr,
|
|
15129
15113
|
DataTableRow: zr,
|
|
15130
|
-
DataTableCell:
|
|
15114
|
+
DataTableCell: jm,
|
|
15131
15115
|
DataTablePagination: Ar,
|
|
15132
|
-
DataTableFilters:
|
|
15133
|
-
DataTableToolBar:
|
|
15134
|
-
Footer:
|
|
15135
|
-
Header:
|
|
15136
|
-
ReusableFormModal:
|
|
15137
|
-
ReusableForm:
|
|
15138
|
-
Sidebar:
|
|
15139
|
-
Timeline:
|
|
15140
|
-
TimelineItem:
|
|
15141
|
-
AuthLayout:
|
|
15142
|
-
DefaultLayout:
|
|
15143
|
-
ErrorLayout:
|
|
15144
|
-
},
|
|
15116
|
+
DataTableFilters: xg,
|
|
15117
|
+
DataTableToolBar: Fg,
|
|
15118
|
+
Footer: qg,
|
|
15119
|
+
Header: $v,
|
|
15120
|
+
ReusableFormModal: Gv,
|
|
15121
|
+
ReusableForm: u0,
|
|
15122
|
+
Sidebar: j0,
|
|
15123
|
+
Timeline: I0,
|
|
15124
|
+
TimelineItem: N0,
|
|
15125
|
+
AuthLayout: vb,
|
|
15126
|
+
DefaultLayout: wb,
|
|
15127
|
+
ErrorLayout: _b
|
|
15128
|
+
}, Wb = {
|
|
15145
15129
|
install(e, a = {}) {
|
|
15146
15130
|
const { prefix: t = "" } = a;
|
|
15147
15131
|
Object.keys(mn).forEach((n) => {
|
|
@@ -15151,17 +15135,17 @@ const Ub = /* @__PURE__ */ Mt($b, [["render", _b]]), fn = {
|
|
|
15151
15135
|
}
|
|
15152
15136
|
};
|
|
15153
15137
|
export {
|
|
15154
|
-
|
|
15155
|
-
|
|
15138
|
+
Oc as Accordion,
|
|
15139
|
+
Mc as AccordionItem,
|
|
15156
15140
|
mu as Alert,
|
|
15157
|
-
|
|
15141
|
+
vb as AuthLayout,
|
|
15158
15142
|
oi as Avatar,
|
|
15159
15143
|
xr as Badge,
|
|
15160
|
-
|
|
15144
|
+
cf as BarChart,
|
|
15161
15145
|
bu as Breadcrumb,
|
|
15162
15146
|
ye as Button,
|
|
15163
15147
|
pu as ButtonGroup,
|
|
15164
|
-
|
|
15148
|
+
Hc as Calendar,
|
|
15165
15149
|
Bu as Card,
|
|
15166
15150
|
Mu as CardBody,
|
|
15167
15151
|
Lu as CardContent,
|
|
@@ -15170,67 +15154,67 @@ export {
|
|
|
15170
15154
|
Eu as CardTitle,
|
|
15171
15155
|
za as Checkbox,
|
|
15172
15156
|
Ri as CircularProgress,
|
|
15173
|
-
|
|
15174
|
-
|
|
15175
|
-
|
|
15157
|
+
Tm as DataTable,
|
|
15158
|
+
jm as DataTableCell,
|
|
15159
|
+
xg as DataTableFilters,
|
|
15176
15160
|
Cr as DataTableHeader,
|
|
15177
15161
|
Ar as DataTablePagination,
|
|
15178
15162
|
zr as DataTableRow,
|
|
15179
|
-
|
|
15163
|
+
Fg as DataTableToolBar,
|
|
15180
15164
|
Ot as DatePicker,
|
|
15181
|
-
|
|
15165
|
+
wb as DefaultLayout,
|
|
15182
15166
|
pi as Divider,
|
|
15183
15167
|
Ku as Dropdown,
|
|
15184
15168
|
Qu as DropdownItem,
|
|
15185
|
-
|
|
15169
|
+
_b as ErrorLayout,
|
|
15186
15170
|
od as FileUpload,
|
|
15187
|
-
|
|
15171
|
+
qg as Footer,
|
|
15188
15172
|
Ba as FormField,
|
|
15189
|
-
|
|
15190
|
-
|
|
15191
|
-
|
|
15173
|
+
Qc as Graph,
|
|
15174
|
+
Rf as GraphFilters,
|
|
15175
|
+
$v as Header,
|
|
15192
15176
|
Z as Icon,
|
|
15193
15177
|
ki as Image,
|
|
15194
15178
|
ge as Input,
|
|
15195
15179
|
bd as InputGroup,
|
|
15196
15180
|
De as Label,
|
|
15197
|
-
|
|
15181
|
+
Af as LineChart,
|
|
15198
15182
|
Bi as Link,
|
|
15199
15183
|
$d as ListItem,
|
|
15200
15184
|
$t as Loader,
|
|
15201
15185
|
Ti as Logo,
|
|
15202
15186
|
Cd as MenuItem,
|
|
15203
15187
|
$r as Modal,
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15207
|
-
|
|
15188
|
+
Pd as ModalBody,
|
|
15189
|
+
Td as ModalFooter,
|
|
15190
|
+
Bd as ModalHeader,
|
|
15191
|
+
Ld as Notification,
|
|
15208
15192
|
wr as Option,
|
|
15209
15193
|
Oi as Progress,
|
|
15210
15194
|
Fi as ProgressBar,
|
|
15211
15195
|
qi as Radio,
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15196
|
+
u0 as ReusableForm,
|
|
15197
|
+
Gv as ReusableFormModal,
|
|
15198
|
+
dc as Search,
|
|
15215
15199
|
Me as Select,
|
|
15216
|
-
|
|
15200
|
+
j0 as Sidebar,
|
|
15217
15201
|
Pa as Slider,
|
|
15218
15202
|
Aa as Spinner,
|
|
15219
|
-
|
|
15220
|
-
|
|
15203
|
+
vc as Stepper,
|
|
15204
|
+
xc as StepperItem,
|
|
15221
15205
|
nu as Switch,
|
|
15222
|
-
|
|
15223
|
-
|
|
15206
|
+
Cc as Tab,
|
|
15207
|
+
Vc as TabPanel,
|
|
15224
15208
|
ru as Text,
|
|
15225
15209
|
Va as Textarea,
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15210
|
+
I0 as Timeline,
|
|
15211
|
+
N0 as TimelineItem,
|
|
15212
|
+
Kd as Toast,
|
|
15229
15213
|
kr as Tooltip,
|
|
15230
15214
|
da as Typography,
|
|
15231
15215
|
A as cn,
|
|
15232
|
-
|
|
15216
|
+
Wb as default,
|
|
15233
15217
|
Se as toast,
|
|
15234
15218
|
fn as tooltip,
|
|
15235
|
-
|
|
15219
|
+
Rd as useToaster
|
|
15236
15220
|
};
|