@stlhorizon/vue-ui 2.5.6 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +682 -673
- package/dist/index.js +14 -18
- package/dist/src/components/Badge.vue.d.ts.map +1 -1
- package/dist/src/components/DataTable.vue.d.ts.map +1 -1
- package/dist/src/components/{STLLoader.vue.d.ts → StlLoader.vue.d.ts} +1 -1
- package/dist/src/components/StlLoader.vue.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/layouts/AuthLayout.vue.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/STLLoader.vue.d.ts.map +0 -1
package/dist/index.esm.js
CHANGED
@@ -3602,7 +3602,7 @@ const ae = {
|
|
3602
3602
|
variant: {
|
3603
3603
|
type: String,
|
3604
3604
|
default: "default",
|
3605
|
-
validator: (e) => ["default", "secondary", "destructive", "outline"].includes(e)
|
3605
|
+
validator: (e) => ["default", "secondary", "destructive", "outline", "success", "warning", "info", "ghost", "link", "subtle", "dark", "light", "primaryOutline", "destructiveOutline", "successOutline", "gradient"].includes(e)
|
3606
3606
|
},
|
3607
3607
|
size: {
|
3608
3608
|
type: String,
|
@@ -3629,13 +3629,7 @@ const ae = {
|
|
3629
3629
|
},
|
3630
3630
|
emits: ["dismiss"],
|
3631
3631
|
setup(e, { emit: a }) {
|
3632
|
-
const t =
|
3633
|
-
template: `
|
3634
|
-
<svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
|
3635
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />
|
3636
|
-
</svg>
|
3637
|
-
`
|
3638
|
-
}, n = e, r = a, l = () => r("dismiss"), s = M(
|
3632
|
+
const t = e, n = a, r = () => n("dismiss"), l = M(
|
3639
3633
|
"inline-flex items-center font-medium border transition-all duration-200",
|
3640
3634
|
{
|
3641
3635
|
variants: {
|
@@ -3643,7 +3637,19 @@ const ae = {
|
|
3643
3637
|
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
3644
3638
|
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
3645
3639
|
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
|
3646
|
-
outline: "text-foreground border"
|
3640
|
+
outline: "text-foreground border",
|
3641
|
+
success: "border-transparent bg-green-600 text-white hover:bg-green-700",
|
3642
|
+
warning: "border-transparent bg-yellow-500 text-black hover:bg-yellow-600",
|
3643
|
+
info: "border-transparent bg-cyan-600 text-white hover:bg-cyan-700",
|
3644
|
+
ghost: "bg-transparent text-gray-700 hover:bg-gray-100",
|
3645
|
+
link: "text-blue-600 hover:underline",
|
3646
|
+
subtle: "bg-gray-100 text-gray-800 hover:bg-gray-200",
|
3647
|
+
dark: "bg-gray-900 text-white hover:bg-black",
|
3648
|
+
light: "bg-gray-50 text-gray-800 border border-gray-200 hover:bg-gray-100",
|
3649
|
+
primaryOutline: "border border-blue-600 text-blue-600 bg-transparent hover:bg-blue-50",
|
3650
|
+
destructiveOutline: "border border-red-600 text-red-600 bg-transparent hover:bg-red-50",
|
3651
|
+
successOutline: "border border-green-600 text-green-600 bg-transparent hover:bg-green-50",
|
3652
|
+
gradient: "bg-gradient-to-r from-blue-500 to-purple-600 text-white hover:from-blue-600 hover:to-purple-700"
|
3647
3653
|
},
|
3648
3654
|
size: {
|
3649
3655
|
sm: "px-2 py-0.5 text-xs",
|
@@ -3662,26 +3668,29 @@ const ae = {
|
|
3662
3668
|
shape: "rounded"
|
3663
3669
|
}
|
3664
3670
|
}
|
3665
|
-
),
|
3671
|
+
), s = v(() => ["mr-1", {
|
3666
3672
|
sm: "w-3 h-3",
|
3667
3673
|
md: "w-4 h-4",
|
3668
3674
|
lg: "w-5 h-5"
|
3669
|
-
}[
|
3670
|
-
return (
|
3671
|
-
class: m(N(S)(N(
|
3675
|
+
}[t.size]]);
|
3676
|
+
return (u, c) => (o(), d("span", {
|
3677
|
+
class: m(N(S)(N(l)({ variant: e.variant, size: e.size, shape: e.shape }), u.$attrs.class))
|
3672
3678
|
}, [
|
3673
3679
|
e.icon ? (o(), R(ve(e.icon), {
|
3674
3680
|
key: 0,
|
3675
|
-
class: m(
|
3681
|
+
class: m(s.value)
|
3676
3682
|
}, null, 8, ["class"])) : h("", !0),
|
3677
|
-
B(
|
3683
|
+
B(u.$slots, "default"),
|
3678
3684
|
e.dismissible ? (o(), d("button", {
|
3679
3685
|
key: 1,
|
3680
3686
|
class: "ml-1 hover:bg-black/10 rounded-full p-0.5 transition-colors",
|
3681
3687
|
"aria-label": e.dismissLabel,
|
3682
|
-
onClick:
|
3688
|
+
onClick: r
|
3683
3689
|
}, [
|
3684
|
-
P(
|
3690
|
+
P(ae, {
|
3691
|
+
icon: "xmark",
|
3692
|
+
class: "w-3 h-3"
|
3693
|
+
})
|
3685
3694
|
], 8, _o)) : h("", !0)
|
3686
3695
|
], 2));
|
3687
3696
|
}
|
@@ -5397,158 +5406,16 @@ const ae = {
|
|
5397
5406
|
_: 3
|
5398
5407
|
}, 16, ["class"]));
|
5399
5408
|
}
|
5400
|
-
},
|
5401
|
-
const t = e.__vccOpts || e;
|
5402
|
-
for (const [n, r] of a)
|
5403
|
-
t[n] = r;
|
5404
|
-
return t;
|
5405
|
-
}, Ai = {
|
5406
|
-
key: 0,
|
5407
|
-
class: "stl-loader__backdrop"
|
5408
|
-
}, Ii = { class: "stl-loader__container" }, Pi = {
|
5409
|
-
key: 0,
|
5410
|
-
class: "stl-loader__text stl-loader__text--top"
|
5411
|
-
}, Ti = {
|
5412
|
-
key: 1,
|
5413
|
-
class: "stl-loader__spin"
|
5414
|
-
}, ji = {
|
5415
|
-
key: 2,
|
5416
|
-
class: "stl-loader__pulse"
|
5417
|
-
}, Bi = {
|
5418
|
-
key: 3,
|
5419
|
-
class: "stl-loader__bounce"
|
5420
|
-
}, Oi = {
|
5421
|
-
key: 4,
|
5422
|
-
class: "stl-loader__ripple"
|
5423
|
-
}, Vi = {
|
5424
|
-
key: 5,
|
5425
|
-
class: "stl-loader__bars"
|
5426
|
-
}, Di = {
|
5427
|
-
key: 6,
|
5428
|
-
class: "stl-loader__dots"
|
5429
|
-
}, Mi = {
|
5430
|
-
key: 7,
|
5431
|
-
class: "stl-loader__ring"
|
5432
|
-
}, Fi = {
|
5433
|
-
key: 8,
|
5434
|
-
class: "stl-loader__spinner-text"
|
5435
|
-
}, Ni = {
|
5436
|
-
key: 9,
|
5437
|
-
class: "stl-loader__text stl-loader__text--bottom"
|
5438
|
-
}, Ei = {
|
5439
|
-
__name: "STLLoader",
|
5440
|
-
props: {
|
5441
|
-
loading: {
|
5442
|
-
type: Boolean,
|
5443
|
-
default: !0
|
5444
|
-
},
|
5445
|
-
type: {
|
5446
|
-
type: String,
|
5447
|
-
default: "spin",
|
5448
|
-
validator: (e) => [
|
5449
|
-
"spin",
|
5450
|
-
"pulse",
|
5451
|
-
"bounce",
|
5452
|
-
"ripple",
|
5453
|
-
"bars",
|
5454
|
-
"dots",
|
5455
|
-
"ring",
|
5456
|
-
"spinner-text"
|
5457
|
-
].includes(e)
|
5458
|
-
},
|
5459
|
-
size: {
|
5460
|
-
type: String,
|
5461
|
-
default: "medium",
|
5462
|
-
validator: (e) => ["small", "medium", "large", "xl"].includes(e)
|
5463
|
-
},
|
5464
|
-
color: {
|
5465
|
-
type: String,
|
5466
|
-
default: "#3b82f6"
|
5467
|
-
},
|
5468
|
-
backgroundColor: {
|
5469
|
-
type: String,
|
5470
|
-
default: "rgba(255, 255, 255, 0.9)"
|
5471
|
-
},
|
5472
|
-
text: {
|
5473
|
-
type: String,
|
5474
|
-
default: ""
|
5475
|
-
},
|
5476
|
-
textPosition: {
|
5477
|
-
type: String,
|
5478
|
-
default: "bottom",
|
5479
|
-
validator: (e) => ["top", "bottom"].includes(e)
|
5480
|
-
},
|
5481
|
-
overlay: {
|
5482
|
-
type: Boolean,
|
5483
|
-
default: !1
|
5484
|
-
},
|
5485
|
-
fullscreen: {
|
5486
|
-
type: Boolean,
|
5487
|
-
default: !1
|
5488
|
-
}
|
5489
|
-
},
|
5490
|
-
setup(e) {
|
5491
|
-
return (a, t) => e.loading ? (o(), d("div", {
|
5492
|
-
key: 0,
|
5493
|
-
class: m([
|
5494
|
-
"stl-loader",
|
5495
|
-
`stl-loader--${e.type}`,
|
5496
|
-
`stl-loader--${e.size}`,
|
5497
|
-
e.overlay ? "stl-loader--overlay" : "",
|
5498
|
-
e.fullscreen ? "stl-loader--fullscreen" : ""
|
5499
|
-
]),
|
5500
|
-
style: de({
|
5501
|
-
"--loader-color": e.color,
|
5502
|
-
"--loader-bg": e.backgroundColor
|
5503
|
-
})
|
5504
|
-
}, [
|
5505
|
-
e.overlay ? (o(), d("div", Ai)) : h("", !0),
|
5506
|
-
i("div", Ii, [
|
5507
|
-
e.text && e.textPosition === "top" ? (o(), d("div", Pi, x(e.text), 1)) : h("", !0),
|
5508
|
-
e.type === "spin" ? (o(), d("div", Ti)) : e.type === "pulse" ? (o(), d("div", ji)) : e.type === "bounce" ? (o(), d("div", Bi, [
|
5509
|
-
(o(), d(K, null, J(3, (n) => i("div", {
|
5510
|
-
key: n,
|
5511
|
-
class: "stl-loader__bounce-dot",
|
5512
|
-
style: de({ animationDelay: `${(n - 1) * 0.1}s` })
|
5513
|
-
}, null, 4)), 64))
|
5514
|
-
])) : e.type === "ripple" ? (o(), d("div", Oi, [
|
5515
|
-
(o(), d(K, null, J(2, (n) => i("div", {
|
5516
|
-
key: n,
|
5517
|
-
class: "stl-loader__ripple-ring",
|
5518
|
-
style: de({ animationDelay: `${(n - 1) * 0.5}s` })
|
5519
|
-
}, null, 4)), 64))
|
5520
|
-
])) : e.type === "bars" ? (o(), d("div", Vi, [
|
5521
|
-
(o(), d(K, null, J(5, (n) => i("div", {
|
5522
|
-
key: n,
|
5523
|
-
class: "stl-loader__bar",
|
5524
|
-
style: de({ animationDelay: `${(n - 1) * 0.1}s` })
|
5525
|
-
}, null, 4)), 64))
|
5526
|
-
])) : e.type === "dots" ? (o(), d("div", Di, [
|
5527
|
-
(o(), d(K, null, J(3, (n) => i("div", {
|
5528
|
-
key: n,
|
5529
|
-
class: "stl-loader__dot",
|
5530
|
-
style: de({ animationDelay: `${(n - 1) * 0.16}s` })
|
5531
|
-
}, null, 4)), 64))
|
5532
|
-
])) : e.type === "ring" ? (o(), d("div", Mi, [...t[0] || (t[0] = [
|
5533
|
-
i("div", { class: "stl-loader__ring-track" }, null, -1),
|
5534
|
-
i("div", { class: "stl-loader__ring-fill" }, null, -1)
|
5535
|
-
])])) : e.type === "spinner-text" ? (o(), d("div", Fi, [...t[1] || (t[1] = [
|
5536
|
-
i("div", { class: "stl-loader__spinner" }, null, -1)
|
5537
|
-
])])) : h("", !0),
|
5538
|
-
e.text && e.textPosition === "bottom" ? (o(), d("div", Ni, x(e.text), 1)) : h("", !0)
|
5539
|
-
])
|
5540
|
-
], 6)) : h("", !0);
|
5541
|
-
}
|
5542
|
-
}, Ye = /* @__PURE__ */ yt(Ei, [["__scopeId", "data-v-6df9f0a0"]]), Li = { class: "flex items-start gap-3" }, _i = {
|
5409
|
+
}, Ai = { class: "flex items-start gap-3" }, Ii = {
|
5543
5410
|
key: 0,
|
5544
5411
|
class: "flex-shrink-0 mt-0.5"
|
5545
|
-
},
|
5412
|
+
}, Pi = { class: "flex-1 min-w-0" }, Ti = {
|
5546
5413
|
key: 0,
|
5547
5414
|
class: "font-medium text-sm mb-1"
|
5548
|
-
},
|
5415
|
+
}, ji = {
|
5549
5416
|
key: 1,
|
5550
5417
|
class: "mt-3 flex gap-2"
|
5551
|
-
},
|
5418
|
+
}, Bi = ["aria-label"], Oi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
5552
5419
|
__name: "Alert",
|
5553
5420
|
props: {
|
5554
5421
|
variant: {
|
@@ -5663,14 +5530,14 @@ const ae = {
|
|
5663
5530
|
class: m(N(S)(N($)({ variant: e.variant }), b.$attrs.class)),
|
5664
5531
|
role: "alert"
|
5665
5532
|
}, [
|
5666
|
-
i("div",
|
5667
|
-
e.showIcon ? (o(), d("div",
|
5533
|
+
i("div", Ai, [
|
5534
|
+
e.showIcon ? (o(), d("div", Ii, [
|
5668
5535
|
(o(), R(ve(D.value), {
|
5669
5536
|
class: m(z.value)
|
5670
5537
|
}, null, 8, ["class"]))
|
5671
5538
|
])) : h("", !0),
|
5672
|
-
i("div",
|
5673
|
-
e.title ? (o(), d("h4",
|
5539
|
+
i("div", Pi, [
|
5540
|
+
e.title ? (o(), d("h4", Ti, x(e.title), 1)) : h("", !0),
|
5674
5541
|
i("div", {
|
5675
5542
|
class: m(["text-sm", { "mt-0": !e.title, "mt-1": e.title }])
|
5676
5543
|
}, [
|
@@ -5678,7 +5545,7 @@ const ae = {
|
|
5678
5545
|
G(x(e.message), 1)
|
5679
5546
|
])
|
5680
5547
|
], 2),
|
5681
|
-
b.$slots.actions || e.actions.length > 0 ? (o(), d("div",
|
5548
|
+
b.$slots.actions || e.actions.length > 0 ? (o(), d("div", ji, [
|
5682
5549
|
B(b.$slots, "actions", {}, () => [
|
5683
5550
|
(o(!0), d(K, null, J(e.actions, (p) => (o(), R(Ce, {
|
5684
5551
|
key: p.label,
|
@@ -5701,14 +5568,14 @@ const ae = {
|
|
5701
5568
|
onClick: l
|
5702
5569
|
}, [
|
5703
5570
|
P(C, { class: "w-4 h-4" })
|
5704
|
-
], 10,
|
5571
|
+
], 10, Bi)) : h("", !0)
|
5705
5572
|
])
|
5706
5573
|
], 2)) : h("", !0)
|
5707
5574
|
]),
|
5708
5575
|
_: 3
|
5709
5576
|
}));
|
5710
5577
|
}
|
5711
|
-
}),
|
5578
|
+
}), Vi = ["aria-label"], Di = { class: "flex items-center space-x-1" }, Mi = {
|
5712
5579
|
__name: "Breadcrumb",
|
5713
5580
|
props: {
|
5714
5581
|
items: {
|
@@ -5745,7 +5612,7 @@ const ae = {
|
|
5745
5612
|
"aria-label": e.ariaLabel,
|
5746
5613
|
class: m(["flex", n.value])
|
5747
5614
|
}, [
|
5748
|
-
i("ol",
|
5615
|
+
i("ol", Di, [
|
5749
5616
|
(o(!0), d(K, null, J(e.items, (s, u) => (o(), d("li", {
|
5750
5617
|
key: u,
|
5751
5618
|
class: "flex items-center"
|
@@ -5770,9 +5637,9 @@ const ae = {
|
|
5770
5637
|
}, null, 8, ["name"])) : h("", !0)
|
5771
5638
|
]))), 128))
|
5772
5639
|
])
|
5773
|
-
], 10,
|
5640
|
+
], 10, Vi));
|
5774
5641
|
}
|
5775
|
-
},
|
5642
|
+
}, Fi = ["aria-label"], Ni = {
|
5776
5643
|
__name: "ButtonGroup",
|
5777
5644
|
props: {
|
5778
5645
|
orientation: {
|
@@ -5809,12 +5676,12 @@ const ae = {
|
|
5809
5676
|
"aria-label": e.ariaLabel
|
5810
5677
|
}, [
|
5811
5678
|
B(r.$slots, "default")
|
5812
|
-
], 10,
|
5679
|
+
], 10, Fi));
|
5813
5680
|
}
|
5814
|
-
},
|
5681
|
+
}, Ei = { class: "flex items-start justify-between" }, Li = { class: "flex-1 min-w-0" }, _i = {
|
5815
5682
|
key: 0,
|
5816
5683
|
class: "flex-shrink-0 ml-4"
|
5817
|
-
},
|
5684
|
+
}, Ri = ["src", "alt"], qi = "w-full h-auto object-cover", Yi = "text-lg font-semibold text-slate-900 truncate", Ui = "text-sm text-slate-600 mt-1", Wi = {
|
5818
5685
|
__name: "Card",
|
5819
5686
|
props: {
|
5820
5687
|
variant: {
|
@@ -5930,18 +5797,18 @@ const ae = {
|
|
5930
5797
|
class: m(N(S)(N(s)({ padding: e.padding })))
|
5931
5798
|
}, [
|
5932
5799
|
B(w.$slots, "header", {}, () => [
|
5933
|
-
i("div",
|
5934
|
-
i("div",
|
5800
|
+
i("div", Ei, [
|
5801
|
+
i("div", Li, [
|
5935
5802
|
e.title ? (o(), d("h3", {
|
5936
5803
|
key: 0,
|
5937
|
-
class: m(
|
5804
|
+
class: m(Yi)
|
5938
5805
|
}, x(e.title), 1)) : h("", !0),
|
5939
5806
|
e.subtitle ? (o(), d("p", {
|
5940
5807
|
key: 1,
|
5941
|
-
class: m(
|
5808
|
+
class: m(Ui)
|
5942
5809
|
}, x(e.subtitle), 1)) : h("", !0)
|
5943
5810
|
]),
|
5944
|
-
w.$slots.actions ? (o(), d("div",
|
5811
|
+
w.$slots.actions ? (o(), d("div", _i, [
|
5945
5812
|
B(w.$slots, "actions")
|
5946
5813
|
])) : h("", !0)
|
5947
5814
|
])
|
@@ -5956,8 +5823,8 @@ const ae = {
|
|
5956
5823
|
key: 0,
|
5957
5824
|
src: e.image,
|
5958
5825
|
alt: e.imageAlt,
|
5959
|
-
class: m(
|
5960
|
-
}, null, 8,
|
5826
|
+
class: m(qi)
|
5827
|
+
}, null, 8, Ri)) : h("", !0)
|
5961
5828
|
])
|
5962
5829
|
], 2)) : h("", !0),
|
5963
5830
|
w.$slots.default ? (o(), d("div", {
|
@@ -5974,7 +5841,7 @@ const ae = {
|
|
5974
5841
|
], 2)) : h("", !0)
|
5975
5842
|
], 2));
|
5976
5843
|
}
|
5977
|
-
},
|
5844
|
+
}, Hi = /* @__PURE__ */ Object.assign({
|
5978
5845
|
inheritAttrs: !1
|
5979
5846
|
}, {
|
5980
5847
|
__name: "CardHeader",
|
@@ -5985,7 +5852,7 @@ const ae = {
|
|
5985
5852
|
B(a.$slots, "default")
|
5986
5853
|
], 2));
|
5987
5854
|
}
|
5988
|
-
}),
|
5855
|
+
}), Gi = {
|
5989
5856
|
__name: "CardBody",
|
5990
5857
|
props: {
|
5991
5858
|
variant: {
|
@@ -6012,7 +5879,7 @@ const ae = {
|
|
6012
5879
|
B(r.$slots, "default")
|
6013
5880
|
], 2));
|
6014
5881
|
}
|
6015
|
-
},
|
5882
|
+
}, Ki = {
|
6016
5883
|
__name: "CardFooter",
|
6017
5884
|
props: {
|
6018
5885
|
variant: {
|
@@ -6039,7 +5906,7 @@ const ae = {
|
|
6039
5906
|
B(r.$slots, "default")
|
6040
5907
|
], 2));
|
6041
5908
|
}
|
6042
|
-
},
|
5909
|
+
}, Xi = /* @__PURE__ */ Object.assign({
|
6043
5910
|
inheritAttrs: !1
|
6044
5911
|
}, {
|
6045
5912
|
__name: "CardContent",
|
@@ -6050,7 +5917,7 @@ const ae = {
|
|
6050
5917
|
B(a.$slots, "default")
|
6051
5918
|
], 2));
|
6052
5919
|
}
|
6053
|
-
}),
|
5920
|
+
}), Ji = /* @__PURE__ */ Object.assign({
|
6054
5921
|
inheritAttrs: !1
|
6055
5922
|
}, {
|
6056
5923
|
__name: "CardTitle",
|
@@ -6061,7 +5928,7 @@ const ae = {
|
|
6061
5928
|
B(a.$slots, "default")
|
6062
5929
|
], 2));
|
6063
5930
|
}
|
6064
|
-
}),
|
5931
|
+
}), Qi = { class: "relative w-full" }, Zi = { class: "relative" }, eu = ["id", "value", "disabled", "placeholder", "required", "aria-describedby"], tu = { class: "flex items-center justify-between mb-4" }, au = { class: "text-base font-semibold text-slate-900" }, nu = { class: "grid grid-cols-7 gap-1 mb-2" }, ru = { class: "grid grid-cols-7 gap-1" }, su = ["disabled", "onClick"], lu = {
|
6065
5932
|
key: 0,
|
6066
5933
|
class: "mt-4 pt-3 border-t border-slate-200"
|
6067
5934
|
}, ca = {
|
@@ -6187,8 +6054,8 @@ const ae = {
|
|
6187
6054
|
document.addEventListener("keydown", W);
|
6188
6055
|
}), Ha(() => {
|
6189
6056
|
document.removeEventListener("keydown", W);
|
6190
|
-
}), (k, T) => (o(), d("div",
|
6191
|
-
i("div",
|
6057
|
+
}), (k, T) => (o(), d("div", Qi, [
|
6058
|
+
i("div", Zi, [
|
6192
6059
|
i("input", {
|
6193
6060
|
id: e.id,
|
6194
6061
|
type: "text",
|
@@ -6200,7 +6067,7 @@ const ae = {
|
|
6200
6067
|
"aria-describedby": e.ariaDescribedby,
|
6201
6068
|
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",
|
6202
6069
|
onClick: A
|
6203
|
-
}, null, 8,
|
6070
|
+
}, null, 8, eu),
|
6204
6071
|
T[2] || (T[2] = i("div", { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" }, [
|
6205
6072
|
i("svg", {
|
6206
6073
|
class: "w-5 h-5 text-slate-400",
|
@@ -6253,7 +6120,7 @@ const ae = {
|
|
6253
6120
|
onClick: T[0] || (T[0] = Ve(() => {
|
6254
6121
|
}, ["stop"]))
|
6255
6122
|
}, [
|
6256
|
-
i("div",
|
6123
|
+
i("div", tu, [
|
6257
6124
|
i("button", {
|
6258
6125
|
type: "button",
|
6259
6126
|
class: "p-2 rounded-lg hover:bg-slate-100 transition-colors",
|
@@ -6274,7 +6141,7 @@ const ae = {
|
|
6274
6141
|
})
|
6275
6142
|
], -1)
|
6276
6143
|
])]),
|
6277
|
-
i("div",
|
6144
|
+
i("div", au, x(w.value) + " " + x(u.value), 1),
|
6278
6145
|
i("button", {
|
6279
6146
|
type: "button",
|
6280
6147
|
class: "p-2 rounded-lg hover:bg-slate-100 transition-colors",
|
@@ -6296,13 +6163,13 @@ const ae = {
|
|
6296
6163
|
], -1)
|
6297
6164
|
])])
|
6298
6165
|
]),
|
6299
|
-
i("div",
|
6166
|
+
i("div", nu, [
|
6300
6167
|
(o(), d(K, null, J(y, (_) => i("div", {
|
6301
6168
|
key: _,
|
6302
6169
|
class: "text-center text-xs font-medium text-slate-600 py-1"
|
6303
6170
|
}, x(_), 1)), 64))
|
6304
6171
|
]),
|
6305
|
-
i("div",
|
6172
|
+
i("div", ru, [
|
6306
6173
|
(o(!0), d(K, null, J($.value, (_, re) => (o(), d("div", {
|
6307
6174
|
key: "prev-" + re,
|
6308
6175
|
class: "text-center text-sm text-slate-300 py-2"
|
@@ -6318,13 +6185,13 @@ const ae = {
|
|
6318
6185
|
j(_) ? "text-slate-300 cursor-not-allowed hover:bg-transparent" : "cursor-pointer"
|
6319
6186
|
]),
|
6320
6187
|
onClick: (re) => oe(_)
|
6321
|
-
}, x(_), 11,
|
6188
|
+
}, x(_), 11, su))), 128)),
|
6322
6189
|
(o(!0), d(K, null, J(z.value, (_, re) => (o(), d("div", {
|
6323
6190
|
key: "next-" + re,
|
6324
6191
|
class: "text-center text-sm text-slate-300 py-2"
|
6325
6192
|
}, x(_), 1))), 128))
|
6326
6193
|
]),
|
6327
|
-
e.showToday ? (o(), d("div",
|
6194
|
+
e.showToday ? (o(), d("div", lu, [
|
6328
6195
|
i("button", {
|
6329
6196
|
type: "button",
|
6330
6197
|
class: "w-full px-3 py-2 text-sm font-medium text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",
|
@@ -6342,7 +6209,7 @@ const ae = {
|
|
6342
6209
|
})) : h("", !0)
|
6343
6210
|
]));
|
6344
6211
|
}
|
6345
|
-
},
|
6212
|
+
}, ou = ["aria-expanded"], iu = {
|
6346
6213
|
__name: "Dropdown",
|
6347
6214
|
props: {
|
6348
6215
|
triggerText: {
|
@@ -6415,7 +6282,7 @@ const ae = {
|
|
6415
6282
|
class: "ml-2 h-4 w-4"
|
6416
6283
|
})
|
6417
6284
|
])
|
6418
|
-
], 10,
|
6285
|
+
], 10, ou),
|
6419
6286
|
P(ue, {
|
6420
6287
|
"enter-active-class": "transition ease-out duration-100",
|
6421
6288
|
"enter-from-class": "transform opacity-0 scale-95",
|
@@ -6438,10 +6305,10 @@ const ae = {
|
|
6438
6305
|
})
|
6439
6306
|
], 512));
|
6440
6307
|
}
|
6441
|
-
},
|
6308
|
+
}, uu = {
|
6442
6309
|
key: 1,
|
6443
6310
|
class: "ml-auto text-xs tracking-widest opacity-60"
|
6444
|
-
},
|
6311
|
+
}, du = {
|
6445
6312
|
__name: "DropdownItem",
|
6446
6313
|
props: {
|
6447
6314
|
href: String,
|
@@ -6485,18 +6352,18 @@ const ae = {
|
|
6485
6352
|
class: "mr-2 h-4 w-4"
|
6486
6353
|
}, null, 8, ["name"])) : h("", !0),
|
6487
6354
|
B(u.$slots, "default"),
|
6488
|
-
e.shortcut ? (o(), d("span",
|
6355
|
+
e.shortcut ? (o(), d("span", uu, x(e.shortcut), 1)) : h("", !0)
|
6489
6356
|
]),
|
6490
6357
|
_: 3
|
6491
6358
|
}, 8, ["href", "class", "disabled"]));
|
6492
6359
|
}
|
6493
|
-
},
|
6360
|
+
}, cu = { class: "w-full" }, fu = ["multiple", "accept"], mu = { class: "flex flex-col items-center justify-center py-6" }, gu = {
|
6494
6361
|
key: 0,
|
6495
6362
|
class: "text-xs text-muted-foreground mt-1"
|
6496
|
-
},
|
6363
|
+
}, vu = {
|
6497
6364
|
key: 0,
|
6498
6365
|
class: "mt-4 space-y-2"
|
6499
|
-
},
|
6366
|
+
}, bu = { class: "flex items-center space-x-2" }, hu = { class: "text-sm" }, yu = { class: "text-xs text-muted-foreground" }, pu = ["onClick"], xu = {
|
6500
6367
|
__name: "FileUpload",
|
6501
6368
|
props: {
|
6502
6369
|
multiple: Boolean,
|
@@ -6551,7 +6418,7 @@ const ae = {
|
|
6551
6418
|
const V = 1024, j = ["Bytes", "KB", "MB", "GB"], A = Math.floor(Math.log(p) / Math.log(V));
|
6552
6419
|
return parseFloat((p / Math.pow(V, A)).toFixed(2)) + " " + j[A];
|
6553
6420
|
};
|
6554
|
-
return (p, V) => (o(), d("div",
|
6421
|
+
return (p, V) => (o(), d("div", cu, [
|
6555
6422
|
i("div", {
|
6556
6423
|
class: m(c.value),
|
6557
6424
|
onDrop: y,
|
@@ -6568,8 +6435,8 @@ const ae = {
|
|
6568
6435
|
accept: e.accept,
|
6569
6436
|
class: "hidden",
|
6570
6437
|
onChange: z
|
6571
|
-
}, null, 40,
|
6572
|
-
i("div",
|
6438
|
+
}, null, 40, fu),
|
6439
|
+
i("div", mu, [
|
6573
6440
|
P(ae, {
|
6574
6441
|
name: "upload",
|
6575
6442
|
class: "h-8 w-8 text-muted-foreground mb-2"
|
@@ -6578,21 +6445,21 @@ const ae = {
|
|
6578
6445
|
i("span", { class: "font-semibold" }, "Click to upload"),
|
6579
6446
|
G(" or drag and drop ")
|
6580
6447
|
], -1)),
|
6581
|
-
e.accept ? (o(), d("p",
|
6448
|
+
e.accept ? (o(), d("p", gu, x(e.accept), 1)) : h("", !0)
|
6582
6449
|
])
|
6583
6450
|
], 34),
|
6584
|
-
r.value.length > 0 ? (o(), d("div",
|
6451
|
+
r.value.length > 0 ? (o(), d("div", vu, [
|
6585
6452
|
(o(!0), d(K, null, J(r.value, (j, A) => (o(), d("div", {
|
6586
6453
|
key: A,
|
6587
6454
|
class: "flex items-center justify-between p-2 bg-muted rounded-md"
|
6588
6455
|
}, [
|
6589
|
-
i("div",
|
6456
|
+
i("div", bu, [
|
6590
6457
|
P(ae, {
|
6591
6458
|
name: "file",
|
6592
6459
|
class: "h-4 w-4 text-muted-foreground"
|
6593
6460
|
}),
|
6594
|
-
i("span",
|
6595
|
-
i("span",
|
6461
|
+
i("span", hu, x(j.name), 1),
|
6462
|
+
i("span", yu, "(" + x(f(j.size)) + ")", 1)
|
6596
6463
|
]),
|
6597
6464
|
i("button", {
|
6598
6465
|
class: "text-muted-foreground hover:text-foreground",
|
@@ -6602,16 +6469,16 @@ const ae = {
|
|
6602
6469
|
name: "x",
|
6603
6470
|
class: "h-4 w-4"
|
6604
6471
|
})
|
6605
|
-
], 8,
|
6472
|
+
], 8, pu)
|
6606
6473
|
]))), 128))
|
6607
6474
|
])) : h("", !0)
|
6608
6475
|
]));
|
6609
6476
|
}
|
6610
|
-
},
|
6477
|
+
}, wu = ["for"], ku = {
|
6611
6478
|
key: 0,
|
6612
6479
|
class: "text-red-500 ml-1",
|
6613
6480
|
"aria-label": "required"
|
6614
|
-
},
|
6481
|
+
}, Su = { class: "relative" }, Cu = ["aria-label"], $u = ["id"], zu = ["id"], ar = {
|
6615
6482
|
__name: "FormField",
|
6616
6483
|
props: {
|
6617
6484
|
label: String,
|
@@ -6698,13 +6565,13 @@ const ae = {
|
|
6698
6565
|
class: m(N(S)(N(C)({ size: e.size })))
|
6699
6566
|
}, [
|
6700
6567
|
G(x(e.label) + " ", 1),
|
6701
|
-
e.required ? (o(), d("span",
|
6702
|
-
], 10,
|
6568
|
+
e.required ? (o(), d("span", ku, "*")) : h("", !0)
|
6569
|
+
], 10, wu)) : h("", !0),
|
6703
6570
|
e.description ? (o(), d("p", {
|
6704
6571
|
key: 1,
|
6705
6572
|
class: m(N(S)(N(D)({ size: e.size })))
|
6706
6573
|
}, x(e.description), 3)) : h("", !0),
|
6707
|
-
i("div",
|
6574
|
+
i("div", Su, [
|
6708
6575
|
e.type === "date" ? (o(), R(ca, {
|
6709
6576
|
key: 0,
|
6710
6577
|
id: l.value,
|
@@ -6732,7 +6599,7 @@ const ae = {
|
|
6732
6599
|
icon: u.value ? "eye-slash" : "eye",
|
6733
6600
|
class: "w-4 h-4"
|
6734
6601
|
}, null, 8, ["icon"])
|
6735
|
-
], 8,
|
6602
|
+
], 8, Cu)) : h("", !0)
|
6736
6603
|
]),
|
6737
6604
|
P(ue, {
|
6738
6605
|
"enter-active-class": "transition-all duration-200",
|
@@ -6755,7 +6622,7 @@ const ae = {
|
|
6755
6622
|
class: "w-4 h-4 flex-shrink-0 mt-0.5"
|
6756
6623
|
}),
|
6757
6624
|
i("span", null, x(e.error), 1)
|
6758
|
-
], 10,
|
6625
|
+
], 10, $u)) : h("", !0)
|
6759
6626
|
]),
|
6760
6627
|
_: 1
|
6761
6628
|
}),
|
@@ -6763,7 +6630,7 @@ const ae = {
|
|
6763
6630
|
key: 2,
|
6764
6631
|
id: `${l.value}-help`,
|
6765
6632
|
class: m(N(S)(N(z)({ size: e.size })))
|
6766
|
-
}, x(e.helpText), 11,
|
6633
|
+
}, x(e.helpText), 11, zu)) : h("", !0),
|
6767
6634
|
P(ue, {
|
6768
6635
|
"enter-active-class": "transition-all duration-200",
|
6769
6636
|
"enter-from-class": "opacity-0 -translate-y-1",
|
@@ -6789,13 +6656,13 @@ const ae = {
|
|
6789
6656
|
], 2);
|
6790
6657
|
};
|
6791
6658
|
}
|
6792
|
-
},
|
6659
|
+
}, Au = {
|
6793
6660
|
key: 0,
|
6794
6661
|
class: "flex items-center px-3 bg-muted border border-r-0 rounded-l-md"
|
6795
|
-
},
|
6662
|
+
}, Iu = {
|
6796
6663
|
key: 1,
|
6797
6664
|
class: "flex items-center px-3 bg-muted border border-l-0 rounded-r-md"
|
6798
|
-
},
|
6665
|
+
}, Pu = {
|
6799
6666
|
__name: "InputGroup",
|
6800
6667
|
props: {
|
6801
6668
|
variant: {
|
@@ -6818,28 +6685,28 @@ const ae = {
|
|
6818
6685
|
return (r, l) => (o(), d("div", {
|
6819
6686
|
class: m(n.value)
|
6820
6687
|
}, [
|
6821
|
-
r.$slots.prefix ? (o(), d("div",
|
6688
|
+
r.$slots.prefix ? (o(), d("div", Au, [
|
6822
6689
|
B(r.$slots, "prefix")
|
6823
6690
|
])) : h("", !0),
|
6824
6691
|
B(r.$slots, "default"),
|
6825
|
-
r.$slots.suffix ? (o(), d("div",
|
6692
|
+
r.$slots.suffix ? (o(), d("div", Iu, [
|
6826
6693
|
B(r.$slots, "suffix")
|
6827
6694
|
])) : h("", !0)
|
6828
6695
|
], 2));
|
6829
6696
|
}
|
6830
|
-
},
|
6697
|
+
}, Tu = ["role"], ju = {
|
6831
6698
|
key: 0,
|
6832
6699
|
class: "flex-shrink-0"
|
6833
|
-
},
|
6700
|
+
}, Bu = { class: "flex-1 min-w-0" }, Ou = {
|
6834
6701
|
key: 0,
|
6835
6702
|
class: "text-sm font-medium text-foreground"
|
6836
|
-
},
|
6703
|
+
}, Vu = {
|
6837
6704
|
key: 1,
|
6838
6705
|
class: "text-sm text-muted-foreground"
|
6839
|
-
},
|
6706
|
+
}, Du = {
|
6840
6707
|
key: 1,
|
6841
6708
|
class: "flex-shrink-0"
|
6842
|
-
},
|
6709
|
+
}, Mu = {
|
6843
6710
|
__name: "ListItem",
|
6844
6711
|
props: {
|
6845
6712
|
title: String,
|
@@ -6886,7 +6753,7 @@ const ae = {
|
|
6886
6753
|
onClick: c
|
6887
6754
|
}, {
|
6888
6755
|
default: E(() => [
|
6889
|
-
y.$slots.icon || e.icon ? (o(), d("div",
|
6756
|
+
y.$slots.icon || e.icon ? (o(), d("div", ju, [
|
6890
6757
|
B(y.$slots, "icon", {}, () => [
|
6891
6758
|
e.icon ? (o(), R(ae, {
|
6892
6759
|
key: 0,
|
@@ -6895,23 +6762,23 @@ const ae = {
|
|
6895
6762
|
}, null, 8, ["name"])) : h("", !0)
|
6896
6763
|
])
|
6897
6764
|
])) : h("", !0),
|
6898
|
-
i("div",
|
6899
|
-
e.title ? (o(), d("div",
|
6900
|
-
e.description ? (o(), d("div",
|
6765
|
+
i("div", Bu, [
|
6766
|
+
e.title ? (o(), d("div", Ou, x(e.title), 1)) : h("", !0),
|
6767
|
+
e.description ? (o(), d("div", Vu, x(e.description), 1)) : h("", !0),
|
6901
6768
|
B(y.$slots, "default")
|
6902
6769
|
]),
|
6903
|
-
y.$slots.action ? (o(), d("div",
|
6770
|
+
y.$slots.action ? (o(), d("div", Du, [
|
6904
6771
|
B(y.$slots, "action")
|
6905
6772
|
])) : h("", !0)
|
6906
6773
|
]),
|
6907
6774
|
_: 3
|
6908
6775
|
}, 8, ["href", "class"]))
|
6909
|
-
], 10,
|
6776
|
+
], 10, Tu));
|
6910
6777
|
}
|
6911
|
-
},
|
6778
|
+
}, Fu = {
|
6912
6779
|
key: 1,
|
6913
6780
|
class: "ml-auto text-xs tracking-widest opacity-60"
|
6914
|
-
},
|
6781
|
+
}, Nu = {
|
6915
6782
|
__name: "MenuItem",
|
6916
6783
|
props: {
|
6917
6784
|
href: String,
|
@@ -6956,7 +6823,7 @@ const ae = {
|
|
6956
6823
|
class: "mr-2 h-4 w-4"
|
6957
6824
|
}, null, 8, ["name"])) : h("", !0),
|
6958
6825
|
B(u.$slots, "default"),
|
6959
|
-
e.shortcut ? (o(), d("span",
|
6826
|
+
e.shortcut ? (o(), d("span", Fu, x(e.shortcut), 1)) : h("", !0),
|
6960
6827
|
e.hasSubmenu ? (o(), R(ae, {
|
6961
6828
|
key: 2,
|
6962
6829
|
name: "chevron-right",
|
@@ -7063,26 +6930,26 @@ const ae = {
|
|
7063
6930
|
})
|
7064
6931
|
]));
|
7065
6932
|
}
|
7066
|
-
},
|
6933
|
+
}, Eu = { class: "flex flex-col space-y-1.5 text-center sm:text-left" }, Lu = {
|
7067
6934
|
key: 0,
|
7068
6935
|
class: "text-lg font-semibold leading-none tracking-tight"
|
7069
|
-
},
|
6936
|
+
}, _u = {
|
7070
6937
|
key: 1,
|
7071
6938
|
class: "text-sm text-muted-foreground"
|
7072
|
-
},
|
6939
|
+
}, Ru = {
|
7073
6940
|
__name: "ModalHeader",
|
7074
6941
|
props: {
|
7075
6942
|
title: String,
|
7076
6943
|
description: String
|
7077
6944
|
},
|
7078
6945
|
setup(e) {
|
7079
|
-
return (a, t) => (o(), d("div",
|
7080
|
-
e.title ? (o(), d("h2",
|
7081
|
-
e.description ? (o(), d("p",
|
6946
|
+
return (a, t) => (o(), d("div", Eu, [
|
6947
|
+
e.title ? (o(), d("h2", Lu, x(e.title), 1)) : h("", !0),
|
6948
|
+
e.description ? (o(), d("p", _u, x(e.description), 1)) : h("", !0),
|
7082
6949
|
B(a.$slots, "default")
|
7083
6950
|
]));
|
7084
6951
|
}
|
7085
|
-
},
|
6952
|
+
}, qu = {
|
7086
6953
|
__name: "ModalBody",
|
7087
6954
|
props: {
|
7088
6955
|
variant: {
|
@@ -7108,7 +6975,7 @@ const ae = {
|
|
7108
6975
|
B(r.$slots, "default")
|
7109
6976
|
], 2));
|
7110
6977
|
}
|
7111
|
-
},
|
6978
|
+
}, Yu = {
|
7112
6979
|
__name: "ModalFooter",
|
7113
6980
|
props: {
|
7114
6981
|
variant: {
|
@@ -7134,13 +7001,13 @@ const ae = {
|
|
7134
7001
|
B(r.$slots, "default")
|
7135
7002
|
], 2));
|
7136
7003
|
}
|
7137
|
-
},
|
7004
|
+
}, Uu = ["aria-live"], Wu = { class: "flex items-start space-x-3" }, Hu = {
|
7138
7005
|
key: 0,
|
7139
7006
|
class: "flex-shrink-0"
|
7140
|
-
},
|
7007
|
+
}, Gu = { class: "flex-1 min-w-0" }, Ku = {
|
7141
7008
|
key: 0,
|
7142
7009
|
class: "text-sm font-medium"
|
7143
|
-
},
|
7010
|
+
}, Xu = {
|
7144
7011
|
__name: "Notification",
|
7145
7012
|
props: {
|
7146
7013
|
title: String,
|
@@ -7216,15 +7083,15 @@ const ae = {
|
|
7216
7083
|
role: "alert",
|
7217
7084
|
"aria-live": e.variant === "destructive" ? "assertive" : "polite"
|
7218
7085
|
}, [
|
7219
|
-
i("div",
|
7220
|
-
e.showIcon ? (o(), d("div",
|
7086
|
+
i("div", Wu, [
|
7087
|
+
e.showIcon ? (o(), d("div", Hu, [
|
7221
7088
|
P(ae, {
|
7222
7089
|
name: y.value,
|
7223
7090
|
class: m(w.value)
|
7224
7091
|
}, null, 8, ["name", "class"])
|
7225
7092
|
])) : h("", !0),
|
7226
|
-
i("div",
|
7227
|
-
e.title ? (o(), d("div",
|
7093
|
+
i("div", Gu, [
|
7094
|
+
e.title ? (o(), d("div", Ku, x(e.title), 1)) : h("", !0),
|
7228
7095
|
e.message ? (o(), d("div", {
|
7229
7096
|
key: 1,
|
7230
7097
|
class: m(["text-sm", { "mt-1": e.title }])
|
@@ -7242,23 +7109,23 @@ const ae = {
|
|
7242
7109
|
})
|
7243
7110
|
])) : h("", !0)
|
7244
7111
|
])
|
7245
|
-
], 10,
|
7112
|
+
], 10, Uu)) : h("", !0)
|
7246
7113
|
]),
|
7247
7114
|
_: 3
|
7248
7115
|
}));
|
7249
7116
|
}
|
7250
7117
|
}, Xe = U([]);
|
7251
|
-
let
|
7252
|
-
const
|
7118
|
+
let Ju = 0;
|
7119
|
+
const Qu = {
|
7253
7120
|
duration: 3e3,
|
7254
7121
|
position: "top-center",
|
7255
7122
|
dismissible: !0,
|
7256
7123
|
closeButton: !1
|
7257
|
-
},
|
7258
|
-
const t =
|
7124
|
+
}, Zu = () => `toast-${++Ju}-${Date.now()}`, Se = (e, a = {}) => {
|
7125
|
+
const t = Zu(), n = {
|
7259
7126
|
id: t,
|
7260
7127
|
message: e,
|
7261
|
-
...
|
7128
|
+
...Qu,
|
7262
7129
|
...a,
|
7263
7130
|
createdAt: Date.now()
|
7264
7131
|
};
|
@@ -7318,20 +7185,20 @@ const cd = {
|
|
7318
7185
|
component: Ka(e)
|
7319
7186
|
})
|
7320
7187
|
}
|
7321
|
-
),
|
7188
|
+
), ed = () => ({
|
7322
7189
|
toasts: Xe,
|
7323
7190
|
dismiss: Ge,
|
7324
7191
|
dismissAll: rr
|
7325
|
-
}),
|
7192
|
+
}), td = ["aria-live"], ad = { class: "flex-1 grid gap-1" }, nd = {
|
7326
7193
|
key: 0,
|
7327
7194
|
class: "text-lg font-extrabold"
|
7328
|
-
},
|
7195
|
+
}, rd = {
|
7329
7196
|
key: 1,
|
7330
7197
|
class: "text-md opacity-90"
|
7331
|
-
},
|
7198
|
+
}, sd = {
|
7332
7199
|
key: 2,
|
7333
7200
|
class: "text-md opacity-90"
|
7334
|
-
},
|
7201
|
+
}, ld = ["onClick"], od = ["onClick"], id = {
|
7335
7202
|
__name: "Toast",
|
7336
7203
|
props: {
|
7337
7204
|
position: {
|
@@ -7368,7 +7235,7 @@ const cd = {
|
|
7368
7235
|
}
|
7369
7236
|
},
|
7370
7237
|
setup(e) {
|
7371
|
-
const a = e, { toasts: t, dismiss: n } =
|
7238
|
+
const a = e, { toasts: t, dismiss: n } = ed(), r = {
|
7372
7239
|
"top-left": "top-0 left-0 flex-col",
|
7373
7240
|
"top-center": "top-0 left-1/2 -translate-x-1/2 flex-col",
|
7374
7241
|
"top-right": "top-0 right-0 flex-col",
|
@@ -7440,10 +7307,10 @@ const cd = {
|
|
7440
7307
|
icon: w(b),
|
7441
7308
|
class: m([C(b), "h-4 w-4 shrink-0"])
|
7442
7309
|
}, null, 8, ["icon", "class"])) : h("", !0),
|
7443
|
-
i("div",
|
7444
|
-
b.title ? (o(), d("div",
|
7445
|
-
b.message ? (o(), d("div",
|
7446
|
-
b.description ? (o(), d("div",
|
7310
|
+
i("div", ad, [
|
7311
|
+
b.title ? (o(), d("div", nd, x(b.title), 1)) : h("", !0),
|
7312
|
+
b.message ? (o(), d("div", rd, x(b.message), 1)) : h("", !0),
|
7313
|
+
b.description ? (o(), d("div", sd, x(b.description), 1)) : h("", !0),
|
7447
7314
|
b.component ? (o(), R(ve(b.component), Le({
|
7448
7315
|
key: 3,
|
7449
7316
|
ref_for: !0
|
@@ -7453,7 +7320,7 @@ const cd = {
|
|
7453
7320
|
key: 1,
|
7454
7321
|
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",
|
7455
7322
|
onClick: b.action.onClick
|
7456
|
-
}, x(b.action.label), 9,
|
7323
|
+
}, x(b.action.label), 9, ld)) : h("", !0),
|
7457
7324
|
$(b) ? (o(), d("button", {
|
7458
7325
|
key: 2,
|
7459
7326
|
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",
|
@@ -7463,36 +7330,36 @@ const cd = {
|
|
7463
7330
|
icon: "x",
|
7464
7331
|
class: "h-4 w-4"
|
7465
7332
|
})
|
7466
|
-
], 8,
|
7467
|
-
], 10,
|
7333
|
+
], 8, od)) : h("", !0)
|
7334
|
+
], 10, td))), 128))
|
7468
7335
|
]),
|
7469
7336
|
_: 1
|
7470
7337
|
})
|
7471
7338
|
], 2)
|
7472
7339
|
]));
|
7473
7340
|
}
|
7474
|
-
},
|
7341
|
+
}, ud = { class: "relative" }, dd = { class: "absolute left-3 top-1/2 transform -translate-y-1/2 pointer-events-none" }, cd = ["value", "placeholder", "disabled"], fd = {
|
7475
7342
|
key: 0,
|
7476
7343
|
class: "absolute right-3 top-1/2 transform -translate-y-1/2"
|
7477
|
-
},
|
7344
|
+
}, md = ["aria-label"], gd = {
|
7478
7345
|
key: 1,
|
7479
7346
|
class: "animate-spin"
|
7480
|
-
},
|
7347
|
+
}, vd = {
|
7481
7348
|
key: 0,
|
7482
7349
|
class: "max-h-64 overflow-y-auto"
|
7483
|
-
},
|
7350
|
+
}, bd = ["onClick", "onMouseenter"], hd = { class: "flex-1 text-left" }, yd = { class: "font-medium text-slate-900" }, pd = {
|
7484
7351
|
key: 0,
|
7485
7352
|
class: "text-sm text-slate-500 truncate"
|
7486
|
-
},
|
7353
|
+
}, xd = {
|
7487
7354
|
key: 1,
|
7488
7355
|
class: "text-xs text-slate-400 ml-3"
|
7489
|
-
},
|
7356
|
+
}, wd = {
|
7490
7357
|
key: 1,
|
7491
7358
|
class: "px-4 py-3 text-sm text-slate-500 text-center"
|
7492
|
-
},
|
7359
|
+
}, kd = {
|
7493
7360
|
key: 2,
|
7494
7361
|
class: "border-t border-slate-200 p-2"
|
7495
|
-
},
|
7362
|
+
}, Sd = {
|
7496
7363
|
__name: "Search",
|
7497
7364
|
props: {
|
7498
7365
|
modelValue: { type: String, default: "" },
|
@@ -7606,8 +7473,8 @@ const cd = {
|
|
7606
7473
|
ref: u,
|
7607
7474
|
class: "relative"
|
7608
7475
|
}, [
|
7609
|
-
i("div",
|
7610
|
-
i("div",
|
7476
|
+
i("div", ud, [
|
7477
|
+
i("div", dd, [
|
7611
7478
|
P(t, {
|
7612
7479
|
class: m(ne.value)
|
7613
7480
|
}, null, 8, ["class"])
|
@@ -7623,8 +7490,8 @@ const cd = {
|
|
7623
7490
|
onFocus: $,
|
7624
7491
|
onBlur: z,
|
7625
7492
|
onKeydown: f
|
7626
|
-
}, null, 42,
|
7627
|
-
e.modelValue || e.loading ? (o(), d("div",
|
7493
|
+
}, null, 42, cd),
|
7494
|
+
e.modelValue || e.loading ? (o(), d("div", fd, [
|
7628
7495
|
!e.loading && e.clearable ? (o(), d("button", {
|
7629
7496
|
key: 0,
|
7630
7497
|
class: "text-slate-400 hover:text-slate-600 transition-colors p-1 rounded-full hover:bg-slate-100",
|
@@ -7632,7 +7499,7 @@ const cd = {
|
|
7632
7499
|
onClick: g
|
7633
7500
|
}, [
|
7634
7501
|
P(n, { class: "w-4 h-4" })
|
7635
|
-
], 8,
|
7502
|
+
], 8, md)) : e.loading ? (o(), d("div", gd, [
|
7636
7503
|
P(r, { class: "w-4 h-4 text-slate-400" })
|
7637
7504
|
])) : h("", !0)
|
7638
7505
|
])) : h("", !0)
|
@@ -7650,7 +7517,7 @@ const cd = {
|
|
7650
7517
|
key: 0,
|
7651
7518
|
class: m(q.value)
|
7652
7519
|
}, [
|
7653
|
-
e.results.length > 0 ? (o(), d("div",
|
7520
|
+
e.results.length > 0 ? (o(), d("div", vd, [
|
7654
7521
|
(o(!0), d(K, null, J(e.results, (W, k) => (o(), d("button", {
|
7655
7522
|
key: W.id || k,
|
7656
7523
|
class: m(se(k)),
|
@@ -7661,14 +7528,14 @@ const cd = {
|
|
7661
7528
|
key: 0,
|
7662
7529
|
class: "w-4 h-4 mr-3 flex-shrink-0"
|
7663
7530
|
})) : h("", !0),
|
7664
|
-
i("div",
|
7665
|
-
i("div",
|
7666
|
-
W.description ? (o(), d("div",
|
7531
|
+
i("div", hd, [
|
7532
|
+
i("div", yd, x(p(W.title)), 1),
|
7533
|
+
W.description ? (o(), d("div", pd, x(p(W.description)), 1)) : h("", !0)
|
7667
7534
|
]),
|
7668
|
-
W.category ? (o(), d("div",
|
7669
|
-
], 42,
|
7670
|
-
])) : e.showNoResults ? (o(), d("div",
|
7671
|
-
L.$slots.footer ? (o(), d("div",
|
7535
|
+
W.category ? (o(), d("div", xd, x(W.category), 1)) : h("", !0)
|
7536
|
+
], 42, bd))), 128))
|
7537
|
+
])) : e.showNoResults ? (o(), d("div", wd, x(e.noResultsText), 1)) : h("", !0),
|
7538
|
+
L.$slots.footer ? (o(), d("div", kd, [
|
7672
7539
|
B(L.$slots, "footer")
|
7673
7540
|
])) : h("", !0)
|
7674
7541
|
], 2)) : h("", !0)
|
@@ -7677,7 +7544,7 @@ const cd = {
|
|
7677
7544
|
})
|
7678
7545
|
], 512));
|
7679
7546
|
}
|
7680
|
-
},
|
7547
|
+
}, Cd = { class: "w-full" }, $d = ["min", "max", "step", "value"], zd = { class: "flex justify-between text-xs text-slate-500 mt-1" }, sr = {
|
7681
7548
|
__name: "Slider",
|
7682
7549
|
props: {
|
7683
7550
|
modelValue: { type: [Number, String], default: 0 },
|
@@ -7690,7 +7557,7 @@ const cd = {
|
|
7690
7557
|
const t = a, n = (r) => {
|
7691
7558
|
t("update:modelValue", Number(r.target.value));
|
7692
7559
|
};
|
7693
|
-
return (r, l) => (o(), d("div",
|
7560
|
+
return (r, l) => (o(), d("div", Cd, [
|
7694
7561
|
i("input", {
|
7695
7562
|
type: "range",
|
7696
7563
|
min: e.min,
|
@@ -7699,25 +7566,25 @@ const cd = {
|
|
7699
7566
|
value: e.modelValue,
|
7700
7567
|
class: "w-full accent-blue-500 cursor-pointer",
|
7701
7568
|
onInput: n
|
7702
|
-
}, null, 40,
|
7703
|
-
i("div",
|
7569
|
+
}, null, 40, $d),
|
7570
|
+
i("div", zd, [
|
7704
7571
|
i("span", null, x(e.min), 1),
|
7705
7572
|
i("span", null, x(e.modelValue), 1),
|
7706
7573
|
i("span", null, x(e.max), 1)
|
7707
7574
|
])
|
7708
7575
|
]));
|
7709
7576
|
}
|
7710
|
-
},
|
7577
|
+
}, Ad = { class: "flex items-center space-x-4" }, Id = {
|
7711
7578
|
__name: "Stepper",
|
7712
7579
|
setup(e) {
|
7713
|
-
return (a, t) => (o(), d("div",
|
7580
|
+
return (a, t) => (o(), d("div", Ad, [
|
7714
7581
|
B(a.$slots, "default")
|
7715
7582
|
]));
|
7716
7583
|
}
|
7717
|
-
},
|
7584
|
+
}, Pd = { class: "flex items-center" }, Td = { class: "ml-2" }, jd = { class: "font-medium" }, Bd = {
|
7718
7585
|
key: 0,
|
7719
7586
|
class: "text-sm text-slate-400"
|
7720
|
-
},
|
7587
|
+
}, Od = {
|
7721
7588
|
__name: "StepperItem",
|
7722
7589
|
props: {
|
7723
7590
|
step: { type: Number, required: !0 },
|
@@ -7727,7 +7594,7 @@ const cd = {
|
|
7727
7594
|
completed: { type: Boolean, default: !1 }
|
7728
7595
|
},
|
7729
7596
|
setup(e) {
|
7730
|
-
return (a, t) => (o(), d("div",
|
7597
|
+
return (a, t) => (o(), d("div", Pd, [
|
7731
7598
|
i("div", {
|
7732
7599
|
class: m([
|
7733
7600
|
"flex items-center justify-center w-8 h-8 rounded-full border-2",
|
@@ -7736,16 +7603,16 @@ const cd = {
|
|
7736
7603
|
}, [
|
7737
7604
|
i("span", null, x(e.step), 1)
|
7738
7605
|
], 2),
|
7739
|
-
i("div",
|
7740
|
-
i("div",
|
7741
|
-
e.description ? (o(), d("div",
|
7606
|
+
i("div", Td, [
|
7607
|
+
i("div", jd, x(e.title), 1),
|
7608
|
+
e.description ? (o(), d("div", Bd, x(e.description), 1)) : h("", !0)
|
7742
7609
|
])
|
7743
7610
|
]));
|
7744
7611
|
}
|
7745
|
-
},
|
7612
|
+
}, Vd = { class: "w-full" }, Dd = {
|
7746
7613
|
class: "flex space-x-1 border-b border-slate-200",
|
7747
7614
|
role: "tablist"
|
7748
|
-
},
|
7615
|
+
}, Md = ["id", "disabled", "aria-selected", "aria-controls", "onClick"], Fd = { class: "mt-4" }, Nd = {
|
7749
7616
|
__name: "Tab",
|
7750
7617
|
props: {
|
7751
7618
|
defaultIndex: { type: Number, default: 0 },
|
@@ -7783,8 +7650,8 @@ const cd = {
|
|
7783
7650
|
unregisterTab: (c) => {
|
7784
7651
|
l.value.splice(c, 1);
|
7785
7652
|
}
|
7786
|
-
}), (c, y) => (o(), d("div",
|
7787
|
-
i("div",
|
7653
|
+
}), (c, y) => (o(), d("div", Vd, [
|
7654
|
+
i("div", Dd, [
|
7788
7655
|
(o(!0), d(K, null, J(l.value, (w, C) => (o(), d("button", {
|
7789
7656
|
id: `tab-${C}`,
|
7790
7657
|
key: C,
|
@@ -7798,17 +7665,17 @@ const cd = {
|
|
7798
7665
|
"aria-controls": `panel-${C}`,
|
7799
7666
|
role: "tab",
|
7800
7667
|
onClick: (D) => !t.loading && s(C)
|
7801
|
-
}, x(w.label), 11,
|
7668
|
+
}, x(w.label), 11, Md))), 128))
|
7802
7669
|
]),
|
7803
|
-
i("div",
|
7670
|
+
i("div", Fd, [
|
7804
7671
|
B(c.$slots, "default")
|
7805
7672
|
])
|
7806
7673
|
]));
|
7807
7674
|
}
|
7808
|
-
},
|
7675
|
+
}, Ed = ["id", "aria-labelledby"], Ld = {
|
7809
7676
|
key: 0,
|
7810
7677
|
class: "flex items-center justify-center p-8"
|
7811
|
-
},
|
7678
|
+
}, _d = {
|
7812
7679
|
__name: "TabPanel",
|
7813
7680
|
props: {
|
7814
7681
|
label: { type: String, required: !0 },
|
@@ -7830,17 +7697,17 @@ const cd = {
|
|
7830
7697
|
role: "tabpanel",
|
7831
7698
|
"aria-labelledby": `tab-${n.value}`
|
7832
7699
|
}, [
|
7833
|
-
e.loading ? (o(), d("div",
|
7700
|
+
e.loading ? (o(), d("div", Ld, [
|
7834
7701
|
P(ua, {
|
7835
7702
|
size: "lg",
|
7836
7703
|
label: `Loading ${a.label}`
|
7837
7704
|
}, null, 8, ["label"])
|
7838
7705
|
])) : B(l.$slots, "default", { key: 1 })
|
7839
|
-
], 8,
|
7706
|
+
], 8, Ed)), [
|
7840
7707
|
[Ja, r.value]
|
7841
7708
|
]);
|
7842
7709
|
}
|
7843
|
-
},
|
7710
|
+
}, Rd = ["id", "aria-expanded", "aria-controls", "onClick"], qd = { class: "flex items-center flex-1 min-w-0" }, Yd = { key: 0 }, Ud = ["id", "aria-labelledby"], Wd = { key: 0 }, Hd = {
|
7844
7711
|
__name: "Accordion",
|
7845
7712
|
props: {
|
7846
7713
|
items: {
|
@@ -7967,13 +7834,13 @@ const cd = {
|
|
7967
7834
|
"aria-controls": `panel-${j.id || A}`,
|
7968
7835
|
onClick: (ne) => s(A)
|
7969
7836
|
}, [
|
7970
|
-
i("div",
|
7837
|
+
i("div", qd, [
|
7971
7838
|
B(p.$slots, `header-${A}`, {
|
7972
7839
|
item: j,
|
7973
7840
|
index: A,
|
7974
7841
|
isExpanded: u(A)
|
7975
7842
|
}, () => [
|
7976
|
-
j.title ? (o(), d("div",
|
7843
|
+
j.title ? (o(), d("div", Yd, x(j.title), 1)) : h("", !0)
|
7977
7844
|
])
|
7978
7845
|
]),
|
7979
7846
|
i("div", {
|
@@ -7981,7 +7848,7 @@ const cd = {
|
|
7981
7848
|
}, [
|
7982
7849
|
P(t, { class: "w-5 h-5 transition-transform duration-200" })
|
7983
7850
|
], 2)
|
7984
|
-
], 10,
|
7851
|
+
], 10, Rd),
|
7985
7852
|
P(ue, {
|
7986
7853
|
"enter-active-class": "transition-all duration-300 ease-out",
|
7987
7854
|
"enter-from-class": "opacity-0 max-h-0",
|
@@ -8006,17 +7873,17 @@ const cd = {
|
|
8006
7873
|
item: j,
|
8007
7874
|
index: A
|
8008
7875
|
}, () => [
|
8009
|
-
j.content ? (o(), d("div",
|
7876
|
+
j.content ? (o(), d("div", Wd, x(j.content), 1)) : h("", !0)
|
8010
7877
|
])
|
8011
7878
|
])
|
8012
|
-
], 10,
|
7879
|
+
], 10, Ud)) : h("", !0)
|
8013
7880
|
]),
|
8014
7881
|
_: 2
|
8015
7882
|
}, 1024)
|
8016
7883
|
], 2))), 128))
|
8017
7884
|
], 2));
|
8018
7885
|
}
|
8019
|
-
},
|
7886
|
+
}, Gd = {
|
8020
7887
|
__name: "AccordionItem",
|
8021
7888
|
props: {
|
8022
7889
|
variant: {
|
@@ -8108,10 +7975,10 @@ const cd = {
|
|
8108
7975
|
})
|
8109
7976
|
], 2));
|
8110
7977
|
}
|
8111
|
-
},
|
7978
|
+
}, Kd = { class: "relative w-full" }, Xd = { class: "relative" }, Jd = ["id", "value", "disabled", "placeholder", "required", "aria-describedby"], Qd = { class: "flex items-center justify-between mb-3" }, Zd = { class: "text-sm font-medium" }, ec = { class: "grid grid-cols-7 gap-1 mb-2" }, tc = { class: "grid grid-cols-7 gap-1" }, ac = ["disabled", "onClick"], nc = {
|
8112
7979
|
key: 0,
|
8113
7980
|
class: "mt-4 pt-3 border-t border-slate-200"
|
8114
|
-
},
|
7981
|
+
}, rc = {
|
8115
7982
|
__name: "Calendar",
|
8116
7983
|
props: {
|
8117
7984
|
id: String,
|
@@ -8220,8 +8087,8 @@ const cd = {
|
|
8220
8087
|
document.addEventListener("keydown", Z);
|
8221
8088
|
}), Ha(() => {
|
8222
8089
|
document.removeEventListener("keydown", Z);
|
8223
|
-
}), (W, k) => (o(), d("div",
|
8224
|
-
i("div",
|
8090
|
+
}), (W, k) => (o(), d("div", Kd, [
|
8091
|
+
i("div", Xd, [
|
8225
8092
|
i("input", {
|
8226
8093
|
id: e.id,
|
8227
8094
|
type: "text",
|
@@ -8233,7 +8100,7 @@ const cd = {
|
|
8233
8100
|
"aria-describedby": e.ariaDescribedby,
|
8234
8101
|
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",
|
8235
8102
|
onClick: j
|
8236
|
-
}, null, 8,
|
8103
|
+
}, null, 8, Jd),
|
8237
8104
|
k[2] || (k[2] = i("div", { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" }, [
|
8238
8105
|
i("svg", {
|
8239
8106
|
class: "w-5 h-5 text-slate-400",
|
@@ -8286,7 +8153,7 @@ const cd = {
|
|
8286
8153
|
onClick: k[0] || (k[0] = Ve(() => {
|
8287
8154
|
}, ["stop"]))
|
8288
8155
|
}, [
|
8289
|
-
i("div",
|
8156
|
+
i("div", Qd, [
|
8290
8157
|
i("button", {
|
8291
8158
|
type: "button",
|
8292
8159
|
class: "p-1 hover:bg-gray-100 rounded",
|
@@ -8307,7 +8174,7 @@ const cd = {
|
|
8307
8174
|
})
|
8308
8175
|
], -1)
|
8309
8176
|
])]),
|
8310
|
-
i("div",
|
8177
|
+
i("div", Zd, x(w.value) + " " + x(u.value), 1),
|
8311
8178
|
i("button", {
|
8312
8179
|
type: "button",
|
8313
8180
|
class: "p-1 hover:bg-gray-100 rounded",
|
@@ -8329,13 +8196,13 @@ const cd = {
|
|
8329
8196
|
], -1)
|
8330
8197
|
])])
|
8331
8198
|
]),
|
8332
|
-
i("div",
|
8199
|
+
i("div", ec, [
|
8333
8200
|
(o(), d(K, null, J(y, (T) => i("div", {
|
8334
8201
|
key: T,
|
8335
8202
|
class: "text-center text-xs font-medium text-slate-600 py-1"
|
8336
8203
|
}, x(T), 1)), 64))
|
8337
8204
|
]),
|
8338
|
-
i("div",
|
8205
|
+
i("div", tc, [
|
8339
8206
|
(o(!0), d(K, null, J($.value, (T, _) => (o(), d("div", {
|
8340
8207
|
key: "prev-" + _,
|
8341
8208
|
class: "text-center text-sm text-slate-300 py-2"
|
@@ -8350,13 +8217,13 @@ const cd = {
|
|
8350
8217
|
V(T) ? "text-gray-300 cursor-not-allowed" : ""
|
8351
8218
|
]),
|
8352
8219
|
onClick: (_) => se(T)
|
8353
|
-
}, x(T), 11,
|
8220
|
+
}, x(T), 11, ac))), 128)),
|
8354
8221
|
(o(!0), d(K, null, J(z.value, (T, _) => (o(), d("div", {
|
8355
8222
|
key: "next-" + _,
|
8356
8223
|
class: "text-center text-sm text-slate-300 py-2"
|
8357
8224
|
}, x(T), 1))), 128))
|
8358
8225
|
]),
|
8359
|
-
e.showToday ? (o(), d("div",
|
8226
|
+
e.showToday ? (o(), d("div", nc, [
|
8360
8227
|
i("button", {
|
8361
8228
|
type: "button",
|
8362
8229
|
class: "w-full px-3 py-2 text-sm font-medium text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",
|
@@ -8374,7 +8241,7 @@ const cd = {
|
|
8374
8241
|
})) : h("", !0)
|
8375
8242
|
]));
|
8376
8243
|
}
|
8377
|
-
},
|
8244
|
+
}, sc = { class: "flex items-start justify-between" }, lc = {
|
8378
8245
|
key: 0,
|
8379
8246
|
class: "flex items-center gap-2"
|
8380
8247
|
}, lr = {
|
@@ -8454,7 +8321,7 @@ const cd = {
|
|
8454
8321
|
class: m(l.value)
|
8455
8322
|
}, [
|
8456
8323
|
B(c.$slots, "header", {}, () => [
|
8457
|
-
i("div",
|
8324
|
+
i("div", sc, [
|
8458
8325
|
i("div", null, [
|
8459
8326
|
e.title ? (o(), R(Yt, {
|
8460
8327
|
key: 0,
|
@@ -8475,7 +8342,7 @@ const cd = {
|
|
8475
8342
|
_: 1
|
8476
8343
|
}, 8, ["class"])) : h("", !0)
|
8477
8344
|
]),
|
8478
|
-
c.$slots.filters ? (o(), d("div",
|
8345
|
+
c.$slots.filters ? (o(), d("div", lc, [
|
8479
8346
|
B(c.$slots, "filters")
|
8480
8347
|
])) : h("", !0)
|
8481
8348
|
])
|
@@ -8661,19 +8528,19 @@ const cd = {
|
|
8661
8528
|
], 2)) : h("", !0)
|
8662
8529
|
], 2));
|
8663
8530
|
}
|
8664
|
-
},
|
8531
|
+
}, oc = { class: "flex items-center justify-between" }, ic = {
|
8665
8532
|
key: 0,
|
8666
8533
|
class: "text-sm text-slate-600"
|
8667
|
-
},
|
8534
|
+
}, uc = {
|
8668
8535
|
key: 1,
|
8669
8536
|
class: "text-sm text-slate-600"
|
8670
|
-
},
|
8537
|
+
}, dc = {
|
8671
8538
|
key: 2,
|
8672
8539
|
class: "flex items-center gap-4"
|
8673
|
-
},
|
8540
|
+
}, cc = {
|
8674
8541
|
key: 3,
|
8675
8542
|
class: "flex items-center gap-4"
|
8676
|
-
},
|
8543
|
+
}, fc = { class: "flex items-center gap-2" }, mc = { class: "flex items-center gap-1" }, gc = ["disabled"], vc = ["disabled"], bc = { class: "flex items-center gap-1" }, hc = ["onClick"], yc = ["disabled"], pc = ["disabled"], xc = { class: "text-sm text-slate-600 ml-4" }, ir = {
|
8677
8544
|
__name: "DataTablePagination",
|
8678
8545
|
props: {
|
8679
8546
|
currentPage: {
|
@@ -8814,13 +8681,13 @@ const cd = {
|
|
8814
8681
|
key: 0,
|
8815
8682
|
class: m(y.value)
|
8816
8683
|
}, [
|
8817
|
-
i("div",
|
8818
|
-
e.selectable && e.selectedCount > 0 ? (o(), d("div",
|
8819
|
-
$.$slots.footer ? (o(), d("div",
|
8684
|
+
i("div", oc, [
|
8685
|
+
e.selectable && e.selectedCount > 0 ? (o(), d("div", ic, x(e.selectedCount) + " of " + x(e.total) + " selected ", 1)) : (o(), d("div", uc, " Showing " + x(s.value) + " to " + x(u.value) + " of " + x(e.total) + " entries ", 1)),
|
8686
|
+
$.$slots.footer ? (o(), d("div", dc, [
|
8820
8687
|
B($.$slots, "footer")
|
8821
8688
|
])) : h("", !0),
|
8822
|
-
e.showPagination ? (o(), d("div",
|
8823
|
-
i("div",
|
8689
|
+
e.showPagination ? (o(), d("div", cc, [
|
8690
|
+
i("div", fc, [
|
8824
8691
|
P(da, {
|
8825
8692
|
for: "pageSize",
|
8826
8693
|
class: m(w.value),
|
@@ -8847,7 +8714,7 @@ const cd = {
|
|
8847
8714
|
_: 1
|
8848
8715
|
}, 8, ["model-value", "class"])
|
8849
8716
|
]),
|
8850
|
-
i("div",
|
8717
|
+
i("div", mc, [
|
8851
8718
|
i("button", {
|
8852
8719
|
disabled: e.currentPage === 1,
|
8853
8720
|
class: m(D(!1, e.currentPage === 1)),
|
@@ -8867,7 +8734,7 @@ const cd = {
|
|
8867
8734
|
d: "m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"
|
8868
8735
|
})
|
8869
8736
|
], -1)
|
8870
|
-
])], 10,
|
8737
|
+
])], 10, gc),
|
8871
8738
|
i("button", {
|
8872
8739
|
disabled: e.currentPage === 1,
|
8873
8740
|
class: m(D(!1, e.currentPage === 1)),
|
@@ -8887,13 +8754,13 @@ const cd = {
|
|
8887
8754
|
d: "M15.75 19.5L8.25 12l7.5-7.5"
|
8888
8755
|
})
|
8889
8756
|
], -1)
|
8890
|
-
])], 10,
|
8891
|
-
i("div",
|
8757
|
+
])], 10, vc),
|
8758
|
+
i("div", bc, [
|
8892
8759
|
(o(!0), d(K, null, J(c.value, (g) => (o(), d("button", {
|
8893
8760
|
key: g,
|
8894
8761
|
class: m(D(g === e.currentPage, !1)),
|
8895
8762
|
onClick: (b) => $.$emit("update:currentPage", g)
|
8896
|
-
}, x(g), 11,
|
8763
|
+
}, x(g), 11, hc))), 128))
|
8897
8764
|
]),
|
8898
8765
|
i("button", {
|
8899
8766
|
disabled: e.currentPage === e.totalPages,
|
@@ -8914,7 +8781,7 @@ const cd = {
|
|
8914
8781
|
d: "m8.25 4.5 7.5 7.5-7.5 7.5"
|
8915
8782
|
})
|
8916
8783
|
], -1)
|
8917
|
-
])], 10,
|
8784
|
+
])], 10, yc),
|
8918
8785
|
i("button", {
|
8919
8786
|
disabled: e.currentPage === e.totalPages,
|
8920
8787
|
class: m(D(!1, e.currentPage === e.totalPages)),
|
@@ -8934,17 +8801,22 @@ const cd = {
|
|
8934
8801
|
d: "m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"
|
8935
8802
|
})
|
8936
8803
|
], -1)
|
8937
|
-
])], 10,
|
8804
|
+
])], 10, pc)
|
8938
8805
|
]),
|
8939
|
-
i("div",
|
8806
|
+
i("div", xc, " Page " + x(e.currentPage) + " of " + x(e.totalPages), 1)
|
8940
8807
|
])) : h("", !0)
|
8941
8808
|
])
|
8942
8809
|
], 2)) : h("", !0);
|
8943
8810
|
}
|
8944
|
-
},
|
8811
|
+
}, yt = (e, a) => {
|
8812
|
+
const t = e.__vccOpts || e;
|
8813
|
+
for (const [n, r] of a)
|
8814
|
+
t[n] = r;
|
8815
|
+
return t;
|
8816
|
+
}, wc = { class: "relative" }, kc = { class: "flex items-center justify-center" }, Sc = ["onClick"], Cc = { class: "flex items-center gap-2" }, $c = {
|
8945
8817
|
key: 1,
|
8946
8818
|
class: "flex flex-col"
|
8947
|
-
},
|
8819
|
+
}, zc = { key: 0 }, Ac = ["colspan"], Ic = { class: "flex justify-center items-center" }, Pc = { key: 2 }, Tc = ["colspan"], jc = { class: "text-center" }, Bc = { class: "text-slate-400 mb-4" }, Oc = { class: "text-slate-600 text-lg font-medium mb-2" }, Vc = {
|
8948
8820
|
__name: "DataTable",
|
8949
8821
|
props: {
|
8950
8822
|
data: {
|
@@ -9274,8 +9146,8 @@ const cd = {
|
|
9274
9146
|
]),
|
9275
9147
|
_: 3
|
9276
9148
|
}, 8, ["title", "description", "variant", "padding"])) : h("", !0),
|
9277
|
-
i("div",
|
9278
|
-
e.loading ? (o(), R(Ye, {
|
9149
|
+
i("div", wc, [
|
9150
|
+
e.loading ? (o(), R(N(Ye), {
|
9279
9151
|
key: 0,
|
9280
9152
|
loading: !0,
|
9281
9153
|
type: e.loadingType,
|
@@ -9301,8 +9173,8 @@ const cd = {
|
|
9301
9173
|
key: 0,
|
9302
9174
|
class: m(he.value)
|
9303
9175
|
}, [
|
9304
|
-
i("div",
|
9305
|
-
e.bulkLoading ? (o(), R(Ye, {
|
9176
|
+
i("div", kc, [
|
9177
|
+
e.bulkLoading ? (o(), R(N(Ye), {
|
9306
9178
|
key: 0,
|
9307
9179
|
loading: !0,
|
9308
9180
|
type: "spin",
|
@@ -9322,15 +9194,15 @@ const cd = {
|
|
9322
9194
|
class: m(re(Q)),
|
9323
9195
|
onClick: (ge) => se(Q)
|
9324
9196
|
}, [
|
9325
|
-
i("div",
|
9197
|
+
i("div", Cc, [
|
9326
9198
|
i("span", null, x(Q.label), 1),
|
9327
|
-
e.sortLoading && u.value === Q.key ? (o(), R(Ye, {
|
9199
|
+
e.sortLoading && u.value === Q.key ? (o(), R(N(Ye), {
|
9328
9200
|
key: 0,
|
9329
9201
|
loading: !0,
|
9330
9202
|
type: "spin",
|
9331
9203
|
size: "small",
|
9332
9204
|
color: e.loadingColor
|
9333
|
-
}, null, 8, ["color"])) : Q.sortable ? (o(), d("div",
|
9205
|
+
}, null, 8, ["color"])) : Q.sortable ? (o(), d("div", $c, [
|
9334
9206
|
(o(), d("svg", {
|
9335
9207
|
class: m([Y(Q, "asc"), "w-3 h-3 transition-colors"]),
|
9336
9208
|
fill: "none",
|
@@ -9359,7 +9231,7 @@ const cd = {
|
|
9359
9231
|
])], 2))
|
9360
9232
|
])) : h("", !0)
|
9361
9233
|
])
|
9362
|
-
], 10,
|
9234
|
+
], 10, Sc))), 128)),
|
9363
9235
|
I.$slots.actions ? (o(), d("th", {
|
9364
9236
|
key: 1,
|
9365
9237
|
class: m(et.value)
|
@@ -9369,20 +9241,20 @@ const cd = {
|
|
9369
9241
|
i("tbody", {
|
9370
9242
|
class: m(_.value)
|
9371
9243
|
}, [
|
9372
|
-
e.dataLoading && !e.loading ? (o(), d("tr",
|
9244
|
+
e.dataLoading && !e.loading ? (o(), d("tr", zc, [
|
9373
9245
|
i("td", {
|
9374
9246
|
colspan: b.value,
|
9375
9247
|
class: m(X.value)
|
9376
9248
|
}, [
|
9377
|
-
i("div",
|
9378
|
-
P(Ye, {
|
9249
|
+
i("div", Ic, [
|
9250
|
+
P(N(Ye), {
|
9379
9251
|
loading: !0,
|
9380
9252
|
type: "dots",
|
9381
9253
|
size: "medium",
|
9382
9254
|
color: e.loadingColor
|
9383
9255
|
}, null, 8, ["color"])
|
9384
9256
|
])
|
9385
|
-
], 10,
|
9257
|
+
], 10, Ac)
|
9386
9258
|
])) : g.value.length > 0 && !e.loading ? (o(!0), d(K, { key: 1 }, J(g.value, (Q, ge) => (o(), R(or, {
|
9387
9259
|
key: j(Q, ge),
|
9388
9260
|
item: Q,
|
@@ -9410,24 +9282,24 @@ const cd = {
|
|
9410
9282
|
B(I.$slots, `cell-${Be.key}`, Le({ ref_for: !0 }, tt), void 0, !0)
|
9411
9283
|
])
|
9412
9284
|
}))
|
9413
|
-
]), 1032, ["item", "columns", "index", "selectable", "is-selected", "striped", "hoverable", "clickable-rows", "density", "row-loading", "loading-color"]))), 128)) : !e.loading && !e.dataLoading && e.hasLoaded ? (o(), d("tr",
|
9285
|
+
]), 1032, ["item", "columns", "index", "selectable", "is-selected", "striped", "hoverable", "clickable-rows", "density", "row-loading", "loading-color"]))), 128)) : !e.loading && !e.dataLoading && e.hasLoaded ? (o(), d("tr", Pc, [
|
9414
9286
|
i("td", {
|
9415
9287
|
colspan: b.value,
|
9416
9288
|
class: m(X.value)
|
9417
9289
|
}, [
|
9418
9290
|
B(I.$slots, "empty", {}, () => [
|
9419
|
-
i("div",
|
9420
|
-
i("div",
|
9291
|
+
i("div", jc, [
|
9292
|
+
i("div", Bc, [
|
9421
9293
|
P(ae, {
|
9422
9294
|
name: "search",
|
9423
9295
|
class: "w-12 h-12"
|
9424
9296
|
})
|
9425
9297
|
]),
|
9426
|
-
i("p",
|
9298
|
+
i("p", Oc, x(e.emptyText), 1),
|
9427
9299
|
F[2] || (F[2] = i("p", { class: "text-slate-500 text-sm" }, " Try adjusting your search or filter criteria ", -1))
|
9428
9300
|
])
|
9429
9301
|
], !0)
|
9430
|
-
], 10,
|
9302
|
+
], 10, Tc)
|
9431
9303
|
])) : h("", !0),
|
9432
9304
|
e.showSkeleton && (e.loading || e.dataLoading) ? (o(!0), d(K, { key: 3 }, J(e.skeletonRows, (Q) => (o(), d("tr", {
|
9433
9305
|
key: `skeleton-${Q}`,
|
@@ -9482,7 +9354,7 @@ const cd = {
|
|
9482
9354
|
}, 8, ["current-page", "total-pages", "total", "page-size", "show-pagination", "selectable", "selected-count", "variant", "padding", "loading", "disabled"])) : h("", !0)
|
9483
9355
|
], 2));
|
9484
9356
|
}
|
9485
|
-
},
|
9357
|
+
}, Dc = /* @__PURE__ */ yt(Vc, [["__scopeId", "data-v-1d159ea7"]]), Mc = {
|
9486
9358
|
__name: "DataTableCell",
|
9487
9359
|
props: {
|
9488
9360
|
item: {
|
@@ -9570,16 +9442,16 @@ const cd = {
|
|
9570
9442
|
])
|
9571
9443
|
], 2));
|
9572
9444
|
}
|
9573
|
-
},
|
9445
|
+
}, Fc = { class: "bg-white border-b border-gray-200" }, Nc = { class: "flex-1 min-w-80 max-w-md" }, Ec = { class: "relative group" }, Lc = ["model-value", "placeholder"], _c = {
|
9574
9446
|
key: 0,
|
9575
9447
|
class: "min-w-36"
|
9576
|
-
},
|
9448
|
+
}, Rc = { class: "relative" }, qc = ["value"], Yc = {
|
9577
9449
|
key: 1,
|
9578
9450
|
class: "flex items-center gap-2"
|
9579
|
-
},
|
9451
|
+
}, Uc = { class: "flex items-center gap-3 ml-auto" }, Wc = { class: "grid grid-cols-1 lg:grid-cols-3 gap-6" }, Hc = { class: "flex items-center justify-between" }, Gc = { class: "flex items-center gap-3" }, Kc = { class: "relative flex-1" }, Xc = ["model-value", "placeholder", "onInput"], Jc = { class: "relative flex-1" }, Qc = ["model-value", "placeholder", "onInput"], Zc = ["onClick"], ef = { class: "flex items-center gap-3 flex-wrap" }, tf = ["onClick"], af = {
|
9580
9452
|
key: 2,
|
9581
9453
|
class: "px-6 py-3 bg-gray-50 border-t border-gray-200"
|
9582
|
-
},
|
9454
|
+
}, nf = { class: "flex items-center justify-between" }, rf = { class: "flex items-center gap-4" }, sf = { class: "text-sm text-gray-600" }, lf = { class: "font-medium" }, of = {
|
9583
9455
|
__name: "DataTableFilters",
|
9584
9456
|
props: {
|
9585
9457
|
searchQuery: {
|
@@ -9847,12 +9719,12 @@ const cd = {
|
|
9847
9719
|
};
|
9848
9720
|
return (X, Y) => {
|
9849
9721
|
const I = ie("font-awesome-icon");
|
9850
|
-
return o(), d("div",
|
9722
|
+
return o(), d("div", Fc, [
|
9851
9723
|
i("div", {
|
9852
9724
|
class: m(b.value)
|
9853
9725
|
}, [
|
9854
|
-
i("div",
|
9855
|
-
i("div",
|
9726
|
+
i("div", Nc, [
|
9727
|
+
i("div", Ec, [
|
9856
9728
|
P(I, {
|
9857
9729
|
icon: "magnifying-glass",
|
9858
9730
|
class: m(f.value)
|
@@ -9862,7 +9734,7 @@ const cd = {
|
|
9862
9734
|
placeholder: e.searchPlaceholder,
|
9863
9735
|
class: m(p.value),
|
9864
9736
|
onInput: Y[0] || (Y[0] = (F) => X.$emit("update:searchQuery", F.target.value))
|
9865
|
-
}, null, 42,
|
9737
|
+
}, null, 42, Lc),
|
9866
9738
|
e.searchQuery ? (o(), d("button", {
|
9867
9739
|
key: 0,
|
9868
9740
|
class: m(V.value),
|
@@ -9875,8 +9747,8 @@ const cd = {
|
|
9875
9747
|
], 2)) : h("", !0)
|
9876
9748
|
])
|
9877
9749
|
]),
|
9878
|
-
e.statusOptions.length > 0 ? (o(), d("div",
|
9879
|
-
i("div",
|
9750
|
+
e.statusOptions.length > 0 ? (o(), d("div", _c, [
|
9751
|
+
i("div", Rc, [
|
9880
9752
|
P(ht, {
|
9881
9753
|
"model-value": e.selectedStatus,
|
9882
9754
|
class: m(j.value),
|
@@ -9887,7 +9759,7 @@ const cd = {
|
|
9887
9759
|
(o(!0), d(K, null, J(e.statusOptions, (F) => (o(), d("option", {
|
9888
9760
|
key: F.value,
|
9889
9761
|
value: F.value
|
9890
|
-
}, x(F.label), 9,
|
9762
|
+
}, x(F.label), 9, qc))), 128))
|
9891
9763
|
]),
|
9892
9764
|
_: 1
|
9893
9765
|
}, 8, ["model-value", "class"]),
|
@@ -9915,10 +9787,10 @@ const cd = {
|
|
9915
9787
|
class: "w-4 h-4 ml-1"
|
9916
9788
|
}, null, 8, ["icon"])
|
9917
9789
|
], 2),
|
9918
|
-
X.$slots.filters ? (o(), d("div",
|
9790
|
+
X.$slots.filters ? (o(), d("div", Yc, [
|
9919
9791
|
B(X.$slots, "filters")
|
9920
9792
|
])) : h("", !0),
|
9921
|
-
i("div",
|
9793
|
+
i("div", Uc, [
|
9922
9794
|
$.value ? (o(), R(Ce, {
|
9923
9795
|
key: 0,
|
9924
9796
|
class: m(W.value),
|
@@ -9970,12 +9842,12 @@ const cd = {
|
|
9970
9842
|
key: 0,
|
9971
9843
|
class: m(q.value)
|
9972
9844
|
}, [
|
9973
|
-
i("div",
|
9845
|
+
i("div", Wc, [
|
9974
9846
|
(o(!0), d(K, null, J(e.dateFilters, (F) => (o(), d("div", {
|
9975
9847
|
key: F.key,
|
9976
9848
|
class: "space-y-3"
|
9977
9849
|
}, [
|
9978
|
-
i("div",
|
9850
|
+
i("div", Hc, [
|
9979
9851
|
i("label", {
|
9980
9852
|
class: m(oe.value)
|
9981
9853
|
}, x(F.label), 3),
|
@@ -9983,8 +9855,8 @@ const cd = {
|
|
9983
9855
|
class: m(w(F))
|
9984
9856
|
}, x(c(F) ? "Active" : "Inactive"), 3)
|
9985
9857
|
]),
|
9986
|
-
i("div",
|
9987
|
-
i("div",
|
9858
|
+
i("div", Gc, [
|
9859
|
+
i("div", Kc, [
|
9988
9860
|
P(I, {
|
9989
9861
|
icon: "calendar",
|
9990
9862
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
@@ -9995,12 +9867,12 @@ const cd = {
|
|
9995
9867
|
class: m(se.value),
|
9996
9868
|
placeholder: `From ${F.label}`,
|
9997
9869
|
onInput: (Q) => D(F.key, "from", Q.target.value)
|
9998
|
-
}, null, 42,
|
9870
|
+
}, null, 42, Xc)
|
9999
9871
|
]),
|
10000
9872
|
i("span", {
|
10001
9873
|
class: m(L.value)
|
10002
9874
|
}, "to", 2),
|
10003
|
-
i("div",
|
9875
|
+
i("div", Jc, [
|
10004
9876
|
P(I, {
|
10005
9877
|
icon: "calendar",
|
10006
9878
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
@@ -10011,7 +9883,7 @@ const cd = {
|
|
10011
9883
|
class: m(se.value),
|
10012
9884
|
placeholder: `To ${F.label}`,
|
10013
9885
|
onInput: (Q) => D(F.key, "to", Q.target.value)
|
10014
|
-
}, null, 42,
|
9886
|
+
}, null, 42, Qc)
|
10015
9887
|
]),
|
10016
9888
|
c(F) ? (o(), d("button", {
|
10017
9889
|
key: 0,
|
@@ -10023,7 +9895,7 @@ const cd = {
|
|
10023
9895
|
icon: "xmark",
|
10024
9896
|
class: "w-4 h-4"
|
10025
9897
|
})
|
10026
|
-
], 10,
|
9898
|
+
], 10, Zc)) : h("", !0)
|
10027
9899
|
])
|
10028
9900
|
]))), 128))
|
10029
9901
|
])
|
@@ -10032,7 +9904,7 @@ const cd = {
|
|
10032
9904
|
key: 1,
|
10033
9905
|
class: m(T.value)
|
10034
9906
|
}, [
|
10035
|
-
i("div",
|
9907
|
+
i("div", ef, [
|
10036
9908
|
i("span", {
|
10037
9909
|
class: m(_.value)
|
10038
9910
|
}, "Active filters:", 2),
|
@@ -10053,15 +9925,15 @@ const cd = {
|
|
10053
9925
|
icon: "xmark",
|
10054
9926
|
class: "w-3 h-3"
|
10055
9927
|
})
|
10056
|
-
], 10,
|
9928
|
+
], 10, tf)
|
10057
9929
|
], 2))), 128))
|
10058
9930
|
])
|
10059
9931
|
], 2)) : h("", !0),
|
10060
|
-
e.showTableInfo ? (o(), d("div",
|
10061
|
-
i("div",
|
10062
|
-
i("div",
|
10063
|
-
i("span",
|
10064
|
-
i("span",
|
9932
|
+
e.showTableInfo ? (o(), d("div", af, [
|
9933
|
+
i("div", nf, [
|
9934
|
+
i("div", rf, [
|
9935
|
+
i("span", sf, [
|
9936
|
+
i("span", lf, x(e.totalItems || 0), 1),
|
10065
9937
|
G(" " + x(e.itemLabel || "items") + " found ", 1)
|
10066
9938
|
])
|
10067
9939
|
])
|
@@ -10070,16 +9942,16 @@ const cd = {
|
|
10070
9942
|
]);
|
10071
9943
|
};
|
10072
9944
|
}
|
10073
|
-
},
|
9945
|
+
}, uf = { class: "flex items-center gap-3" }, df = {
|
10074
9946
|
key: 0,
|
10075
9947
|
class: "flex items-center gap-3"
|
10076
|
-
},
|
9948
|
+
}, cf = { class: "text-sm text-slate-600" }, ff = { class: "flex items-center gap-2" }, mf = { class: "flex items-center gap-3" }, gf = ["title", "onClick"], vf = {
|
10077
9949
|
key: 1,
|
10078
9950
|
class: "relative"
|
10079
|
-
},
|
9951
|
+
}, bf = { class: "p-3" }, hf = { class: "space-y-1" }, yf = { class: "flex items-center gap-2 cursor-pointer w-full" }, pf = ["checked", "onChange"], xf = ["disabled"], wf = {
|
10080
9952
|
key: 3,
|
10081
9953
|
class: "flex items-center gap-2"
|
10082
|
-
},
|
9954
|
+
}, kf = [
|
10083
9955
|
{
|
10084
9956
|
key: "delete",
|
10085
9957
|
label: "Delete",
|
@@ -10096,13 +9968,13 @@ const cd = {
|
|
10096
9968
|
},
|
10097
9969
|
variant: "primary"
|
10098
9970
|
}
|
10099
|
-
],
|
9971
|
+
], Sf = {
|
10100
9972
|
name: "DataTableToolBar"
|
10101
|
-
},
|
9973
|
+
}, Cf = /* @__PURE__ */ Object.assign(Sf, {
|
10102
9974
|
props: {
|
10103
9975
|
selectedItems: { type: Array, default: () => [] },
|
10104
9976
|
totalItems: { type: Number, default: 0 },
|
10105
|
-
bulkActions: { type: Array, default: () =>
|
9977
|
+
bulkActions: { type: Array, default: () => kf },
|
10106
9978
|
showDensityToggle: { type: Boolean, default: !0 },
|
10107
9979
|
showColumnToggle: { type: Boolean, default: !0 },
|
10108
9980
|
showRefresh: { type: Boolean, default: !0 },
|
@@ -10228,10 +10100,10 @@ const cd = {
|
|
10228
10100
|
return o(), d("div", {
|
10229
10101
|
class: m($.value)
|
10230
10102
|
}, [
|
10231
|
-
i("div",
|
10232
|
-
u.value > 0 ? (o(), d("div",
|
10233
|
-
i("span",
|
10234
|
-
i("div",
|
10103
|
+
i("div", uf, [
|
10104
|
+
u.value > 0 ? (o(), d("div", df, [
|
10105
|
+
i("span", cf, x(u.value) + " selected ", 1),
|
10106
|
+
i("div", ff, [
|
10235
10107
|
(o(!0), d(K, null, J(e.bulkActions, (ee) => (o(), R(Ce, {
|
10236
10108
|
key: ee.key,
|
10237
10109
|
class: m(se(ee)),
|
@@ -10253,7 +10125,7 @@ const cd = {
|
|
10253
10125
|
class: m(z.value)
|
10254
10126
|
}, x(e.totalItems) + " " + x(e.totalItems === 1 ? "item" : "items"), 3)) : h("", !0)
|
10255
10127
|
]),
|
10256
|
-
i("div",
|
10128
|
+
i("div", mf, [
|
10257
10129
|
e.showDensityToggle ? (o(), d("div", {
|
10258
10130
|
key: 0,
|
10259
10131
|
class: m(g.value)
|
@@ -10269,9 +10141,9 @@ const cd = {
|
|
10269
10141
|
icon: ee.icon,
|
10270
10142
|
class: "w-4 h-4"
|
10271
10143
|
}, null, 8, ["icon"])
|
10272
|
-
], 10,
|
10144
|
+
], 10, gf)), 64))
|
10273
10145
|
], 2)) : h("", !0),
|
10274
|
-
e.showColumnToggle ? (o(), d("div",
|
10146
|
+
e.showColumnToggle ? (o(), d("div", vf, [
|
10275
10147
|
i("button", {
|
10276
10148
|
ref_key: "columnToggleButton",
|
10277
10149
|
ref: l,
|
@@ -10292,22 +10164,22 @@ const cd = {
|
|
10292
10164
|
onClick: _[0] || (_[0] = Ve(() => {
|
10293
10165
|
}, ["stop"]))
|
10294
10166
|
}, [
|
10295
|
-
i("div",
|
10167
|
+
i("div", bf, [
|
10296
10168
|
i("div", {
|
10297
10169
|
class: m(p.value)
|
10298
10170
|
}, " Show Columns ", 2),
|
10299
|
-
i("div",
|
10171
|
+
i("div", hf, [
|
10300
10172
|
(o(!0), d(K, null, J(e.toggleableColumns, (ee) => (o(), d("div", {
|
10301
10173
|
key: ee.key,
|
10302
10174
|
class: m(V.value)
|
10303
10175
|
}, [
|
10304
|
-
i("label",
|
10176
|
+
i("label", yf, [
|
10305
10177
|
i("input", {
|
10306
10178
|
type: "checkbox",
|
10307
10179
|
checked: W(ee.key),
|
10308
10180
|
class: m(j.value),
|
10309
10181
|
onChange: (he) => k(ee.key, he.target.checked)
|
10310
|
-
}, null, 42,
|
10182
|
+
}, null, 42, pf),
|
10311
10183
|
i("span", {
|
10312
10184
|
class: m(A.value)
|
10313
10185
|
}, x(ee.label), 3)
|
@@ -10331,15 +10203,15 @@ const cd = {
|
|
10331
10203
|
class: m(Z())
|
10332
10204
|
}, null, 8, ["class"]),
|
10333
10205
|
_[3] || (_[3] = i("span", null, "Refresh", -1))
|
10334
|
-
], 10,
|
10335
|
-
T.$slots.actions ? (o(), d("div",
|
10206
|
+
], 10, xf)) : h("", !0),
|
10207
|
+
T.$slots.actions ? (o(), d("div", wf, [
|
10336
10208
|
B(T.$slots, "actions")
|
10337
10209
|
])) : h("", !0)
|
10338
10210
|
])
|
10339
10211
|
], 2);
|
10340
10212
|
};
|
10341
10213
|
}
|
10342
|
-
}),
|
10214
|
+
}), $f = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12" }, zf = { class: "grid grid-cols-1 md:grid-cols-4 gap-8" }, Af = { class: "col-span-1 md:col-span-2" }, If = { class: "space-y-2" }, Pf = { class: "flex space-x-4" }, Tf = { class: "flex flex-col md:flex-row justify-between items-center" }, jf = { class: "flex space-x-6 mt-4 md:mt-0" }, Bf = {
|
10343
10215
|
__name: "Footer",
|
10344
10216
|
props: {
|
10345
10217
|
className: {
|
@@ -10353,9 +10225,9 @@ const cd = {
|
|
10353
10225
|
return o(), d("footer", {
|
10354
10226
|
class: m(N(S)("bg-gray-50 border-t border-gray-200", e.className))
|
10355
10227
|
}, [
|
10356
|
-
i("div",
|
10357
|
-
i("div",
|
10358
|
-
i("div",
|
10228
|
+
i("div", $f, [
|
10229
|
+
i("div", zf, [
|
10230
|
+
i("div", Af, [
|
10359
10231
|
B(a.$slots, "brand", {}, () => [
|
10360
10232
|
P(n, { class: "mb-4" }),
|
10361
10233
|
P(r, { class: "text-gray-600 max-w-md" }, {
|
@@ -10377,7 +10249,7 @@ const cd = {
|
|
10377
10249
|
])]),
|
10378
10250
|
_: 1
|
10379
10251
|
}),
|
10380
|
-
i("div",
|
10252
|
+
i("div", If, [
|
10381
10253
|
P(s, {
|
10382
10254
|
href: "#",
|
10383
10255
|
class: "block text-gray-600 hover:text-gray-900"
|
@@ -10419,7 +10291,7 @@ const cd = {
|
|
10419
10291
|
])]),
|
10420
10292
|
_: 1
|
10421
10293
|
}),
|
10422
|
-
i("div",
|
10294
|
+
i("div", Pf, [
|
10423
10295
|
P(s, {
|
10424
10296
|
href: "#",
|
10425
10297
|
class: "text-gray-600 hover:text-gray-900"
|
@@ -10449,7 +10321,7 @@ const cd = {
|
|
10449
10321
|
])
|
10450
10322
|
]),
|
10451
10323
|
P(c, { class: "my-8" }),
|
10452
|
-
i("div",
|
10324
|
+
i("div", Tf, [
|
10453
10325
|
B(a.$slots, "copyright", {}, () => [
|
10454
10326
|
P(r, { class: "text-gray-600" }, {
|
10455
10327
|
default: E(() => [
|
@@ -10459,7 +10331,7 @@ const cd = {
|
|
10459
10331
|
})
|
10460
10332
|
]),
|
10461
10333
|
B(a.$slots, "legal", {}, () => [
|
10462
|
-
i("div",
|
10334
|
+
i("div", jf, [
|
10463
10335
|
P(s, {
|
10464
10336
|
href: "#",
|
10465
10337
|
class: "text-gray-600 hover:text-gray-900"
|
@@ -10485,28 +10357,28 @@ const cd = {
|
|
10485
10357
|
], 2);
|
10486
10358
|
};
|
10487
10359
|
}
|
10488
|
-
},
|
10360
|
+
}, Of = { class: "flex items-center justify-between h-16 px-4 md:px-6" }, Vf = { class: "flex items-center" }, Df = {
|
10489
10361
|
key: 0,
|
10490
10362
|
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"
|
10491
|
-
},
|
10363
|
+
}, Mf = { class: "text-lg font-bold text-blue-900 truncate max-w-[200px]" }, Ff = {
|
10492
10364
|
key: 0,
|
10493
10365
|
class: "text-xs text-blue-600 truncate font-medium"
|
10494
|
-
},
|
10366
|
+
}, Nf = { class: "hidden md:flex items-center space-x-2 text-sm truncate" }, Ef = { class: "text-gray-500 truncate" }, Lf = { class: "text-gray-900 font-medium truncate" }, _f = { class: "flex items-center space-x-3 md:space-x-4" }, Rf = {
|
10495
10367
|
key: 1,
|
10496
10368
|
class: "relative"
|
10497
|
-
},
|
10369
|
+
}, qf = {
|
10498
10370
|
key: 0,
|
10499
10371
|
class: "absolute -top-1 -right-1 w-4 h-4 bg-red-500 text-white text-xs rounded-full flex items-center justify-center"
|
10500
|
-
},
|
10372
|
+
}, Yf = {
|
10501
10373
|
key: 0,
|
10502
10374
|
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"
|
10503
|
-
},
|
10375
|
+
}, Uf = { class: "max-h-96 overflow-y-auto" }, Wf = { class: "flex items-start space-x-3" }, Hf = { class: "flex-1" }, Gf = { class: "text-sm text-gray-900" }, Kf = { class: "text-xs text-gray-500 mt-1" }, Xf = { class: "relative" }, Jf = { 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" }, Qf = { class: "text-blue-700 text-sm font-medium" }, Zf = { class: "hidden md:block text-left max-w-[160px] truncate" }, em = { class: "text-sm font-medium text-gray-900 truncate" }, tm = { class: "text-xs text-gray-500 truncate leading-tight" }, am = {
|
10504
10376
|
key: 0,
|
10505
10377
|
class: "absolute right-0 mt-2 w-58 bg-white rounded-lg shadow-lg border border-gray-200 z-50"
|
10506
|
-
},
|
10378
|
+
}, nm = { class: "p-4 border-b border-gray-200" }, rm = { class: "text-sm font-medium text-gray-900" }, sm = { class: "text-xs text-gray-500" }, lm = { class: "py-2" }, om = {
|
10507
10379
|
key: 0,
|
10508
10380
|
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"
|
10509
|
-
},
|
10381
|
+
}, im = ["onClick"], um = { 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" }, dm = { class: "flex-1 truncate font-semibold text-gray-700" }, cm = {
|
10510
10382
|
__name: "Header",
|
10511
10383
|
props: {
|
10512
10384
|
sidebarWidth: { type: Number, default: 256 },
|
@@ -10549,14 +10421,14 @@ const cd = {
|
|
10549
10421
|
)),
|
10550
10422
|
style: { left: "0" }
|
10551
10423
|
}, [
|
10552
|
-
i("div",
|
10553
|
-
i("div",
|
10554
|
-
e.organisationName ? (o(), d("div",
|
10555
|
-
i("p",
|
10556
|
-
e.user.organisation?.role ? (o(), d("p",
|
10424
|
+
i("div", Of, [
|
10425
|
+
i("div", Vf, [
|
10426
|
+
e.organisationName ? (o(), d("div", Df, [
|
10427
|
+
i("p", Mf, x(e.organisationName), 1),
|
10428
|
+
e.user.organisation?.role ? (o(), d("p", Ff, x(e.user.organisation.role), 1)) : h("", !0)
|
10557
10429
|
])) : h("", !0),
|
10558
|
-
i("nav",
|
10559
|
-
i("span",
|
10430
|
+
i("nav", Nf, [
|
10431
|
+
i("span", Ef, x(e.currentSection), 1),
|
10560
10432
|
A[4] || (A[4] = i("svg", {
|
10561
10433
|
class: "w-4 h-4 text-gray-400 flex-shrink-0",
|
10562
10434
|
fill: "none",
|
@@ -10570,10 +10442,10 @@ const cd = {
|
|
10570
10442
|
d: "M9 5l7 7-7 7"
|
10571
10443
|
})
|
10572
10444
|
], -1)),
|
10573
|
-
i("span",
|
10445
|
+
i("span", Lf, x(e.currentPage), 1)
|
10574
10446
|
])
|
10575
10447
|
]),
|
10576
|
-
i("div",
|
10448
|
+
i("div", _f, [
|
10577
10449
|
y.value ? (o(), d("button", {
|
10578
10450
|
key: 0,
|
10579
10451
|
class: "p-2 text-gray-400 hover:text-gray-600 rounded-lg hover:bg-gray-50 transition-colors",
|
@@ -10593,7 +10465,7 @@ const cd = {
|
|
10593
10465
|
})
|
10594
10466
|
], -1)
|
10595
10467
|
])])) : h("", !0),
|
10596
|
-
!y.value || c.value ? (o(), d("div",
|
10468
|
+
!y.value || c.value ? (o(), d("div", Rf, [
|
10597
10469
|
A[6] || (A[6] = i("div", { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" }, [
|
10598
10470
|
i("svg", {
|
10599
10471
|
class: "w-4 h-4 text-gray-400",
|
@@ -10664,7 +10536,7 @@ const cd = {
|
|
10664
10536
|
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"
|
10665
10537
|
})
|
10666
10538
|
], -1)),
|
10667
|
-
u.value > 0 ? (o(), d("span",
|
10539
|
+
u.value > 0 ? (o(), d("span", qf, x(u.value), 1)) : h("", !0)
|
10668
10540
|
]),
|
10669
10541
|
P(ue, {
|
10670
10542
|
"enter-active-class": "transition-all duration-300 ease-out",
|
@@ -10675,20 +10547,20 @@ const cd = {
|
|
10675
10547
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
10676
10548
|
}, {
|
10677
10549
|
default: E(() => [
|
10678
|
-
l.value ? (o(), d("div",
|
10550
|
+
l.value ? (o(), d("div", Yf, [
|
10679
10551
|
A[10] || (A[10] = i("div", { class: "p-4 border-b border-gray-200" }, [
|
10680
10552
|
i("h3", { class: "text-lg font-semibold text-gray-900" }, " Notifications ")
|
10681
10553
|
], -1)),
|
10682
|
-
i("div",
|
10554
|
+
i("div", Uf, [
|
10683
10555
|
(o(!0), d(K, null, J(e.notifications, (q) => (o(), d("div", {
|
10684
10556
|
key: q.id,
|
10685
10557
|
class: "p-4 border-b border-gray-100 hover:bg-gray-50 cursor-pointer"
|
10686
10558
|
}, [
|
10687
|
-
i("div",
|
10559
|
+
i("div", Wf, [
|
10688
10560
|
A[9] || (A[9] = i("div", { class: "flex-shrink-0 w-2 h-2 mt-2 bg-blue-500 rounded-full" }, null, -1)),
|
10689
|
-
i("div",
|
10690
|
-
i("p",
|
10691
|
-
i("p",
|
10561
|
+
i("div", Hf, [
|
10562
|
+
i("p", Gf, x(q.title), 1),
|
10563
|
+
i("p", Kf, x(q.time), 1)
|
10692
10564
|
])
|
10693
10565
|
])
|
10694
10566
|
]))), 128))
|
@@ -10700,17 +10572,17 @@ const cd = {
|
|
10700
10572
|
]),
|
10701
10573
|
_: 1
|
10702
10574
|
}),
|
10703
|
-
i("div",
|
10575
|
+
i("div", Xf, [
|
10704
10576
|
i("button", {
|
10705
10577
|
class: "flex items-center space-x-2 md:space-x-3 p-2 rounded-lg hover:bg-gray-50 transition-colors",
|
10706
10578
|
onClick: $
|
10707
10579
|
}, [
|
10708
|
-
i("div",
|
10709
|
-
i("span",
|
10580
|
+
i("div", Jf, [
|
10581
|
+
i("span", Qf, x(w.value), 1)
|
10710
10582
|
]),
|
10711
|
-
i("div",
|
10712
|
-
i("p",
|
10713
|
-
i("p",
|
10583
|
+
i("div", Zf, [
|
10584
|
+
i("p", em, x(e.user.name), 1),
|
10585
|
+
i("p", tm, x(C.value), 1)
|
10714
10586
|
]),
|
10715
10587
|
A[12] || (A[12] = i("svg", {
|
10716
10588
|
class: "w-4 h-4 text-gray-400",
|
@@ -10735,12 +10607,12 @@ const cd = {
|
|
10735
10607
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
10736
10608
|
}, {
|
10737
10609
|
default: E(() => [
|
10738
|
-
s.value ? (o(), d("div",
|
10739
|
-
i("div",
|
10740
|
-
i("p",
|
10741
|
-
i("p",
|
10610
|
+
s.value ? (o(), d("div", am, [
|
10611
|
+
i("div", nm, [
|
10612
|
+
i("p", rm, x(e.user.name), 1),
|
10613
|
+
i("p", sm, x(e.user.email), 1)
|
10742
10614
|
]),
|
10743
|
-
i("div",
|
10615
|
+
i("div", lm, [
|
10744
10616
|
(o(!0), d(K, null, J(e.profileMenuItems, (q) => (o(), d(K, {
|
10745
10617
|
key: q.name
|
10746
10618
|
}, [
|
@@ -10754,7 +10626,7 @@ const cd = {
|
|
10754
10626
|
onClick: (se) => z(q)
|
10755
10627
|
}, {
|
10756
10628
|
default: E(() => [
|
10757
|
-
g(q) ? (o(), d("div",
|
10629
|
+
g(q) ? (o(), d("div", om)) : h("", !0),
|
10758
10630
|
i("div", {
|
10759
10631
|
class: m(N(S)(
|
10760
10632
|
"flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2",
|
@@ -10780,15 +10652,15 @@ const cd = {
|
|
10780
10652
|
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",
|
10781
10653
|
onClick: (se) => b(q)
|
10782
10654
|
}, [
|
10783
|
-
i("div",
|
10655
|
+
i("div", um, [
|
10784
10656
|
q.icon ? (o(), R(ae, {
|
10785
10657
|
key: 0,
|
10786
10658
|
icon: q.icon,
|
10787
10659
|
class: "w-4 h-4"
|
10788
10660
|
}, null, 8, ["icon"])) : h("", !0)
|
10789
10661
|
]),
|
10790
|
-
i("span",
|
10791
|
-
], 8,
|
10662
|
+
i("span", dm, x(q.label), 1)
|
10663
|
+
], 8, im))
|
10792
10664
|
], 64))), 128))
|
10793
10665
|
]),
|
10794
10666
|
i("div", { class: "border-t border-gray-200 py-2" }, [
|
@@ -10824,13 +10696,13 @@ const cd = {
|
|
10824
10696
|
], 2);
|
10825
10697
|
};
|
10826
10698
|
}
|
10827
|
-
},
|
10699
|
+
}, fm = { class: "mb-4" }, mm = { class: "text-lg font-semibold text-gray-900" }, gm = { class: "text-sm text-gray-600" }, vm = {
|
10828
10700
|
value: "",
|
10829
10701
|
disabled: ""
|
10830
|
-
},
|
10702
|
+
}, bm = ["value"], hm = {
|
10831
10703
|
key: 3,
|
10832
10704
|
class: "flex items-center"
|
10833
|
-
},
|
10705
|
+
}, ym = { class: "flex justify-end gap-3 pt-4" }, pm = {
|
10834
10706
|
__name: "ReusableFormModal",
|
10835
10707
|
props: {
|
10836
10708
|
modelValue: {
|
@@ -10971,9 +10843,9 @@ const cd = {
|
|
10971
10843
|
onClose: z
|
10972
10844
|
}, {
|
10973
10845
|
default: E(() => [
|
10974
|
-
i("div",
|
10975
|
-
i("h2",
|
10976
|
-
i("p",
|
10846
|
+
i("div", fm, [
|
10847
|
+
i("h2", mm, x(e.modalType === "create" ? `Add New ${e.entityName}` : `Edit ${e.entityName}`), 1),
|
10848
|
+
i("p", gm, x(e.modalType === "create" ? `Fill in the details to create a new ${e.entityName.toLowerCase()}.` : `Update the ${e.entityName.toLowerCase()} information below.`), 1)
|
10977
10849
|
]),
|
10978
10850
|
i("form", {
|
10979
10851
|
class: "space-y-4",
|
@@ -11027,14 +10899,14 @@ const cd = {
|
|
11027
10899
|
"onUpdate:modelValue": (A) => C(f, A)
|
11028
10900
|
}, {
|
11029
10901
|
default: E(() => [
|
11030
|
-
i("option",
|
10902
|
+
i("option", vm, x(f.placeholder || "Select an option"), 1),
|
11031
10903
|
(o(!0), d(K, null, J(f.options, (A) => (o(), d("option", {
|
11032
10904
|
key: A.value,
|
11033
10905
|
value: A.value
|
11034
|
-
}, x(A.label), 9,
|
10906
|
+
}, x(A.label), 9, bm))), 128))
|
11035
10907
|
]),
|
11036
10908
|
_: 2
|
11037
|
-
}, 1032, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : f.type === "checkbox" ? (o(), d("div",
|
10909
|
+
}, 1032, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : f.type === "checkbox" ? (o(), d("div", hm, [
|
11038
10910
|
P(qt, {
|
11039
10911
|
id: p,
|
11040
10912
|
modelValue: s.value[f.name],
|
@@ -11081,7 +10953,7 @@ const cd = {
|
|
11081
10953
|
_: 2
|
11082
10954
|
}, 1032, ["id", "label", "required", "error", "error-message"])
|
11083
10955
|
]))), 128)),
|
11084
|
-
i("div",
|
10956
|
+
i("div", ym, [
|
11085
10957
|
P(Ce, {
|
11086
10958
|
type: "button",
|
11087
10959
|
variant: "outline",
|
@@ -11110,37 +10982,37 @@ const cd = {
|
|
11110
10982
|
_: 1
|
11111
10983
|
}, 8, ["modelValue", "size", "resizable"]));
|
11112
10984
|
}
|
11113
|
-
},
|
10985
|
+
}, xm = {
|
11114
10986
|
key: 0,
|
11115
10987
|
class: "flex items-center justify-between p-4 border-b border-gray-200 flex-shrink-0 lg:hidden"
|
11116
|
-
},
|
10988
|
+
}, wm = { class: "text-lg font-bold text-gray-900" }, km = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, Sm = { class: "space-y-2" }, Cm = { key: 0 }, $m = {
|
11117
10989
|
key: 0,
|
11118
10990
|
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"
|
11119
|
-
},
|
10991
|
+
}, zm = ["onClick"], Am = {
|
11120
10992
|
key: 0,
|
11121
10993
|
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"
|
11122
|
-
},
|
10994
|
+
}, Im = {
|
11123
10995
|
key: 1,
|
11124
10996
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
11125
|
-
},
|
10997
|
+
}, Pm = {
|
11126
10998
|
key: 1,
|
11127
10999
|
class: "border-t border-gray-200 p-4 flex-shrink-0"
|
11128
|
-
},
|
11000
|
+
}, Tm = {
|
11129
11001
|
key: 0,
|
11130
11002
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
11131
|
-
},
|
11003
|
+
}, jm = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, Bm = { class: "flex items-center justify-between p-4" }, Om = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, Vm = { class: "p-3" }, Dm = { class: "space-y-1" }, Mm = {
|
11132
11004
|
key: 0,
|
11133
11005
|
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"
|
11134
|
-
},
|
11006
|
+
}, Fm = {
|
11135
11007
|
key: 1,
|
11136
11008
|
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"
|
11137
|
-
},
|
11009
|
+
}, Nm = { class: "p-3" }, Em = { class: "space-y-1" }, Lm = {
|
11138
11010
|
key: 0,
|
11139
11011
|
class: "px-3 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
|
11140
|
-
},
|
11012
|
+
}, _m = {
|
11141
11013
|
key: 0,
|
11142
11014
|
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"
|
11143
|
-
},
|
11015
|
+
}, Rm = {
|
11144
11016
|
__name: "Sidebar",
|
11145
11017
|
props: {
|
11146
11018
|
sidebarWidth: {
|
@@ -11263,8 +11135,8 @@ const cd = {
|
|
11263
11135
|
)),
|
11264
11136
|
style: de({ width: e.sidebarWidth + "px", top: l.value ? "0px" : "4rem" })
|
11265
11137
|
}, [
|
11266
|
-
l.value ? (o(), d("div",
|
11267
|
-
i("h2",
|
11138
|
+
l.value ? (o(), d("div", xm, [
|
11139
|
+
i("h2", wm, x(e.header?.title), 1),
|
11268
11140
|
i("button", {
|
11269
11141
|
class: "p-2 rounded-lg text-gray-500 hover:text-gray-900 hover:bg-gray-100 transition-colors",
|
11270
11142
|
"aria-label": "Close sidebar",
|
@@ -11285,12 +11157,12 @@ const cd = {
|
|
11285
11157
|
], -1)
|
11286
11158
|
])])
|
11287
11159
|
])) : h("", !0),
|
11288
|
-
i("nav",
|
11289
|
-
i("div",
|
11160
|
+
i("nav", km, [
|
11161
|
+
i("div", Sm, [
|
11290
11162
|
(o(!0), d(K, null, J(e.navigationItems, (k) => (o(), d(K, {
|
11291
11163
|
key: k.name || k.label
|
11292
11164
|
}, [
|
11293
|
-
k.type === "link" ? (o(), d("div",
|
11165
|
+
k.type === "link" ? (o(), d("div", Cm, [
|
11294
11166
|
g(k) ? (o(), d("div", {
|
11295
11167
|
key: 1,
|
11296
11168
|
class: m(N(S)(
|
@@ -11317,9 +11189,9 @@ const cd = {
|
|
11317
11189
|
q(k) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
11318
11190
|
))
|
11319
11191
|
}, x(k.label), 3),
|
11320
|
-
k.badge ? (o(), d("span",
|
11321
|
-
q(k) && g(k) ? (o(), d("div",
|
11322
|
-
], 10,
|
11192
|
+
k.badge ? (o(), d("span", Am, x(k.badge), 1)) : h("", !0),
|
11193
|
+
q(k) && g(k) ? (o(), d("div", Im)) : h("", !0)
|
11194
|
+
], 10, zm)) : (o(), R(W, {
|
11323
11195
|
key: 0,
|
11324
11196
|
to: k.route,
|
11325
11197
|
class: m(N(S)(
|
@@ -11347,7 +11219,7 @@ const cd = {
|
|
11347
11219
|
q(k) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
11348
11220
|
))
|
11349
11221
|
}, x(k.label), 3),
|
11350
|
-
k.badge ? (o(), d("span",
|
11222
|
+
k.badge ? (o(), d("span", $m, x(k.badge), 1)) : h("", !0)
|
11351
11223
|
]),
|
11352
11224
|
_: 2
|
11353
11225
|
}, 1032, ["to", "class", "onClick"]))
|
@@ -11355,7 +11227,7 @@ const cd = {
|
|
11355
11227
|
], 64))), 128))
|
11356
11228
|
])
|
11357
11229
|
]),
|
11358
|
-
e.showManagementSettings ? (o(), d("div",
|
11230
|
+
e.showManagementSettings ? (o(), d("div", Pm, [
|
11359
11231
|
i("div", {
|
11360
11232
|
class: m(N(S)(
|
11361
11233
|
"flex flex-col items-center justify-center rounded-xl transition-all duration-200 cursor-pointer group relative py-4 px-3",
|
@@ -11381,7 +11253,7 @@ const cd = {
|
|
11381
11253
|
e.isManagementSettingsActive ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
11382
11254
|
))
|
11383
11255
|
}, " Settings ", 2),
|
11384
|
-
e.isManagementSettingsActive ? (o(), d("div",
|
11256
|
+
e.isManagementSettingsActive ? (o(), d("div", Tm)) : h("", !0)
|
11385
11257
|
], 2)
|
11386
11258
|
])) : h("", !0)
|
11387
11259
|
], 6),
|
@@ -11404,8 +11276,8 @@ const cd = {
|
|
11404
11276
|
),
|
11405
11277
|
style: de(w.value)
|
11406
11278
|
}, [
|
11407
|
-
i("div",
|
11408
|
-
i("div",
|
11279
|
+
i("div", jm, [
|
11280
|
+
i("div", Bm, [
|
11409
11281
|
i("button", {
|
11410
11282
|
class: "p-2 -ml-2 rounded-lg text-gray-500 hover:text-gray-700 hover:bg-gray-100 transition-colors",
|
11411
11283
|
"aria-label": "Close submenu",
|
@@ -11425,11 +11297,11 @@ const cd = {
|
|
11425
11297
|
})
|
11426
11298
|
], -1)
|
11427
11299
|
])]),
|
11428
|
-
i("h3",
|
11300
|
+
i("h3", Om, x(u.value?.label), 1)
|
11429
11301
|
])
|
11430
11302
|
]),
|
11431
|
-
i("nav",
|
11432
|
-
i("div",
|
11303
|
+
i("nav", Vm, [
|
11304
|
+
i("div", Dm, [
|
11433
11305
|
(o(!0), d(K, null, J(u.value?.subItems, (k) => (o(), R(W, {
|
11434
11306
|
key: k.name,
|
11435
11307
|
to: k.route,
|
@@ -11442,7 +11314,7 @@ const cd = {
|
|
11442
11314
|
onClick: (T) => A(k)
|
11443
11315
|
}, {
|
11444
11316
|
default: E(() => [
|
11445
|
-
q(k) ? (o(), d("div",
|
11317
|
+
q(k) ? (o(), d("div", Mm)) : h("", !0),
|
11446
11318
|
i("div", {
|
11447
11319
|
class: m(
|
11448
11320
|
N(S)(
|
@@ -11463,7 +11335,7 @@ const cd = {
|
|
11463
11335
|
q(k) ? "text-blue-700" : "text-gray-700"
|
11464
11336
|
))
|
11465
11337
|
}, x(k.label), 3),
|
11466
|
-
k.badge ? (o(), d("span",
|
11338
|
+
k.badge ? (o(), d("span", Fm, x(k.badge), 1)) : h("", !0)
|
11467
11339
|
]),
|
11468
11340
|
_: 2
|
11469
11341
|
}, 1032, ["to", "class", "onClick"]))), 128))
|
@@ -11516,12 +11388,12 @@ const cd = {
|
|
11516
11388
|
Z[3] || (Z[3] = i("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, " Management Settings ", -1))
|
11517
11389
|
])
|
11518
11390
|
]),
|
11519
|
-
i("nav",
|
11520
|
-
i("div",
|
11391
|
+
i("nav", Nm, [
|
11392
|
+
i("div", Em, [
|
11521
11393
|
(o(!0), d(K, null, J(e.managementSettings, (k) => (o(), d(K, {
|
11522
11394
|
key: k.name
|
11523
11395
|
}, [
|
11524
|
-
k.type === "section" ? (o(), d("div",
|
11396
|
+
k.type === "section" ? (o(), d("div", Lm, x(k.label), 1)) : k.route ? (o(), R(W, {
|
11525
11397
|
key: 1,
|
11526
11398
|
to: k.route,
|
11527
11399
|
class: m(
|
@@ -11533,7 +11405,7 @@ const cd = {
|
|
11533
11405
|
onClick: (T) => ne(k)
|
11534
11406
|
}, {
|
11535
11407
|
default: E(() => [
|
11536
|
-
q(k) ? (o(), d("div",
|
11408
|
+
q(k) ? (o(), d("div", _m)) : h("", !0),
|
11537
11409
|
i("div", {
|
11538
11410
|
class: m(
|
11539
11411
|
N(S)(
|
@@ -11584,7 +11456,7 @@ const cd = {
|
|
11584
11456
|
]);
|
11585
11457
|
};
|
11586
11458
|
}
|
11587
|
-
},
|
11459
|
+
}, qm = {
|
11588
11460
|
__name: "Timeline",
|
11589
11461
|
props: {
|
11590
11462
|
orientation: {
|
@@ -11603,13 +11475,13 @@ const cd = {
|
|
11603
11475
|
B(a.$slots, "default")
|
11604
11476
|
], 2));
|
11605
11477
|
}
|
11606
|
-
},
|
11478
|
+
}, Ym = {
|
11607
11479
|
key: 0,
|
11608
11480
|
class: "absolute left-3 top-0 w-0.5 h-full bg-slate-200"
|
11609
|
-
},
|
11481
|
+
}, Um = { class: "z-10 flex items-center justify-center w-6 h-6 rounded-full border-2 border-blue-500 bg-white text-blue-500" }, Wm = { class: "text-slate-900 font-medium" }, Hm = {
|
11610
11482
|
key: 0,
|
11611
11483
|
class: "text-slate-500 text-sm"
|
11612
|
-
},
|
11484
|
+
}, Gm = { class: "mt-2 text-slate-600 text-sm" }, Km = {
|
11613
11485
|
__name: "TimelineItem",
|
11614
11486
|
props: {
|
11615
11487
|
title: {
|
@@ -11633,8 +11505,8 @@ const cd = {
|
|
11633
11505
|
e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
|
11634
11506
|
])
|
11635
11507
|
}, [
|
11636
|
-
e.orientation === "vertical" ? (o(), d("div",
|
11637
|
-
i("div",
|
11508
|
+
e.orientation === "vertical" ? (o(), d("div", Ym)) : h("", !0),
|
11509
|
+
i("div", Um, [
|
11638
11510
|
B(a.$slots, "icon", {}, () => [
|
11639
11511
|
t[0] || (t[0] = i("div", { class: "w-2 h-2 rounded-full bg-blue-500" }, null, -1))
|
11640
11512
|
])
|
@@ -11645,23 +11517,23 @@ const cd = {
|
|
11645
11517
|
e.orientation === "horizontal" ? "mt-2 text-center" : ""
|
11646
11518
|
])
|
11647
11519
|
}, [
|
11648
|
-
i("h3",
|
11520
|
+
i("h3", Wm, [
|
11649
11521
|
B(a.$slots, "title", {}, () => [
|
11650
11522
|
G(x(e.title), 1)
|
11651
11523
|
])
|
11652
11524
|
]),
|
11653
|
-
e.subtitle ? (o(), d("p",
|
11525
|
+
e.subtitle ? (o(), d("p", Hm, [
|
11654
11526
|
B(a.$slots, "subtitle", {}, () => [
|
11655
11527
|
G(x(e.subtitle), 1)
|
11656
11528
|
])
|
11657
11529
|
])) : h("", !0),
|
11658
|
-
i("div",
|
11530
|
+
i("div", Gm, [
|
11659
11531
|
B(a.$slots, "default")
|
11660
11532
|
])
|
11661
11533
|
], 2)
|
11662
11534
|
], 2));
|
11663
11535
|
}
|
11664
|
-
},
|
11536
|
+
}, Xm = {
|
11665
11537
|
name: "AuthLayout",
|
11666
11538
|
props: {
|
11667
11539
|
title: {
|
@@ -11750,20 +11622,20 @@ const cd = {
|
|
11750
11622
|
currentYear: v(() => (/* @__PURE__ */ new Date()).getFullYear())
|
11751
11623
|
};
|
11752
11624
|
}
|
11753
|
-
},
|
11625
|
+
}, Jm = { class: "container mx-auto px-4 relative z-10" }, Qm = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, Zm = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, eg = { class: "mb-6" }, tg = { class: "text-4xl lg:text-6xl font-bold mb-2" }, ag = { class: "text-white" }, ng = { class: "flex items-center justify-center lg:justify-start mb-6" }, rg = { class: "text-3xl lg:text-4xl font-bold text-white" }, sg = { class: "lg:col-span-4" }, lg = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, og = {
|
11754
11626
|
key: 0,
|
11755
11627
|
class: "mb-6"
|
11756
|
-
},
|
11628
|
+
}, ig = { class: "text-center" }, ug = { class: "text-2xl font-bold text-gray-900" }, dg = {
|
11757
11629
|
key: 0,
|
11758
11630
|
class: "text-gray-600 mt-2"
|
11759
|
-
},
|
11631
|
+
}, cg = { class: "space-y-6" }, fg = {
|
11760
11632
|
key: 1,
|
11761
11633
|
class: "mt-6"
|
11762
|
-
},
|
11634
|
+
}, mg = {
|
11763
11635
|
key: 0,
|
11764
11636
|
class: "mt-6 text-center"
|
11765
|
-
},
|
11766
|
-
function
|
11637
|
+
}, gg = { class: "absolute bottom-4 right-4 text-right" }, vg = { class: "flex items-end justify-end mb-2" }, bg = { class: "text-right mr-3" }, hg = { class: "text-red-500 font-bold text-xs" }, yg = { class: "text-white text-xs" }, pg = { class: "text-white/70 text-xs" }, xg = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, wg = { class: "text-white/70 text-xs" }, kg = { class: "absolute bottom-4 left-4 flex gap-2" }, Sg = ["href"];
|
11638
|
+
function Cg(e, a, t, n, r, l) {
|
11767
11639
|
const s = ie("router-view"), u = ie("font-awesome-icon");
|
11768
11640
|
return o(), d("div", {
|
11769
11641
|
class: "min-h-screen relative flex items-center justify-center",
|
@@ -11776,70 +11648,70 @@ function Fg(e, a, t, n, r, l) {
|
|
11776
11648
|
opacity: t.backgroundOpacity
|
11777
11649
|
})
|
11778
11650
|
}, null, 4),
|
11779
|
-
i("div",
|
11780
|
-
i("div",
|
11781
|
-
i("div",
|
11782
|
-
i("div",
|
11783
|
-
i("div",
|
11651
|
+
i("div", Jm, [
|
11652
|
+
i("div", Qm, [
|
11653
|
+
i("div", Zm, [
|
11654
|
+
i("div", eg, [
|
11655
|
+
i("div", tg, [
|
11784
11656
|
i("span", {
|
11785
11657
|
style: de({ color: t.primaryColor })
|
11786
11658
|
}, x(t.primaryLogoPrefix), 5),
|
11787
|
-
i("span",
|
11659
|
+
i("span", ag, x(t.primaryLogoText), 1)
|
11788
11660
|
]),
|
11789
11661
|
i("div", {
|
11790
11662
|
class: "h-0.5 w-30 mx-auto lg:mx-0",
|
11791
11663
|
style: de({ backgroundColor: t.primaryColor })
|
11792
11664
|
}, null, 4)
|
11793
11665
|
]),
|
11794
|
-
i("div",
|
11666
|
+
i("div", ng, [
|
11795
11667
|
i("div", {
|
11796
11668
|
class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
|
11797
11669
|
style: de({ backgroundColor: t.primaryColor })
|
11798
11670
|
}, x(t.secondaryLogoPrefix), 5),
|
11799
|
-
i("span",
|
11671
|
+
i("span", rg, x(t.secondaryLogoText), 1)
|
11800
11672
|
]),
|
11801
11673
|
a[0] || (a[0] = i("div", { class: "max-w-md mx-auto lg:mx-0" }, [
|
11802
11674
|
i("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
|
11803
11675
|
], -1))
|
11804
11676
|
]),
|
11805
|
-
i("div",
|
11806
|
-
i("div",
|
11807
|
-
e.$slots["card-header"] || t.title ? (o(), d("div",
|
11677
|
+
i("div", sg, [
|
11678
|
+
i("div", lg, [
|
11679
|
+
e.$slots["card-header"] || t.title ? (o(), d("div", og, [
|
11808
11680
|
B(e.$slots, "card-header", {}, () => [
|
11809
|
-
i("div",
|
11810
|
-
i("h1",
|
11811
|
-
t.subtitle ? (o(), d("p",
|
11681
|
+
i("div", ig, [
|
11682
|
+
i("h1", ug, x(t.title), 1),
|
11683
|
+
t.subtitle ? (o(), d("p", dg, x(t.subtitle), 1)) : h("", !0)
|
11812
11684
|
])
|
11813
11685
|
])
|
11814
11686
|
])) : h("", !0),
|
11815
|
-
i("div",
|
11687
|
+
i("div", cg, [
|
11816
11688
|
P(s)
|
11817
11689
|
]),
|
11818
|
-
e.$slots["card-footer"] ? (o(), d("div",
|
11690
|
+
e.$slots["card-footer"] ? (o(), d("div", fg, [
|
11819
11691
|
B(e.$slots, "card-footer")
|
11820
11692
|
])) : h("", !0)
|
11821
11693
|
]),
|
11822
|
-
e.$slots.links ? (o(), d("div",
|
11694
|
+
e.$slots.links ? (o(), d("div", mg, [
|
11823
11695
|
B(e.$slots, "links")
|
11824
11696
|
])) : h("", !0)
|
11825
11697
|
])
|
11826
11698
|
])
|
11827
11699
|
]),
|
11828
|
-
i("div",
|
11829
|
-
i("div",
|
11830
|
-
i("div",
|
11831
|
-
i("div",
|
11832
|
-
i("div",
|
11833
|
-
i("div",
|
11700
|
+
i("div", gg, [
|
11701
|
+
i("div", vg, [
|
11702
|
+
i("div", bg, [
|
11703
|
+
i("div", hg, x(t.companyName), 1),
|
11704
|
+
i("div", yg, x(t.companyType), 1),
|
11705
|
+
i("div", pg, x(t.companyTagline), 1)
|
11834
11706
|
]),
|
11835
|
-
i("div",
|
11707
|
+
i("div", xg, x(t.companyInitials), 1)
|
11836
11708
|
]),
|
11837
|
-
i("div",
|
11709
|
+
i("div", wg, [
|
11838
11710
|
i("div", null, x(t.appName) + " (" + x(t.appVersion) + ")", 1),
|
11839
11711
|
i("div", null, x(t.copyright), 1)
|
11840
11712
|
])
|
11841
11713
|
]),
|
11842
|
-
i("div",
|
11714
|
+
i("div", kg, [
|
11843
11715
|
(o(!0), d(K, null, J(t.socialLinks, (c) => (o(), d("a", {
|
11844
11716
|
key: c.name,
|
11845
11717
|
href: c.url,
|
@@ -11851,14 +11723,14 @@ function Fg(e, a, t, n, r, l) {
|
|
11851
11723
|
P(u, {
|
11852
11724
|
icon: ["fab", c.icon]
|
11853
11725
|
}, null, 8, ["icon"])
|
11854
|
-
], 10,
|
11726
|
+
], 10, Sg))), 128))
|
11855
11727
|
])
|
11856
11728
|
], 4);
|
11857
11729
|
}
|
11858
|
-
const
|
11730
|
+
const $g = /* @__PURE__ */ yt(Xm, [["render", Cg]]), zg = { class: "min-h-screen bg-gray-50" }, Ag = { class: "flex-1" }, Ig = {
|
11859
11731
|
key: 0,
|
11860
11732
|
class: "bg-white border-b border-gray-200"
|
11861
|
-
},
|
11733
|
+
}, Pg = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, Tg = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, jg = {
|
11862
11734
|
__name: "DefaultLayout",
|
11863
11735
|
props: {
|
11864
11736
|
navigationItems: {
|
@@ -11882,7 +11754,7 @@ const Ng = /* @__PURE__ */ yt(ug, [["render", Fg]]), Eg = { class: "min-h-screen
|
|
11882
11754
|
setup(e) {
|
11883
11755
|
return (a, t) => {
|
11884
11756
|
const n = ie("Logo"), r = ie("MainNavigation"), l = ie("Button"), s = ie("Header"), u = ie("Breadcrumb"), c = ie("Text"), y = ie("Footer");
|
11885
|
-
return o(), d("div",
|
11757
|
+
return o(), d("div", zg, [
|
11886
11758
|
P(s, null, {
|
11887
11759
|
logo: E(() => [
|
11888
11760
|
B(a.$slots, "logo", {}, () => [
|
@@ -11915,15 +11787,15 @@ const Ng = /* @__PURE__ */ yt(ug, [["render", Fg]]), Eg = { class: "min-h-screen
|
|
11915
11787
|
]),
|
11916
11788
|
_: 3
|
11917
11789
|
}),
|
11918
|
-
i("main",
|
11919
|
-
e.showBreadcrumb ? (o(), d("div",
|
11920
|
-
i("div",
|
11790
|
+
i("main", Ag, [
|
11791
|
+
e.showBreadcrumb ? (o(), d("div", Ig, [
|
11792
|
+
i("div", Pg, [
|
11921
11793
|
B(a.$slots, "breadcrumb", {}, () => [
|
11922
11794
|
P(u, { items: e.breadcrumbItems }, null, 8, ["items"])
|
11923
11795
|
])
|
11924
11796
|
])
|
11925
11797
|
])) : h("", !0),
|
11926
|
-
i("div",
|
11798
|
+
i("div", Tg, [
|
11927
11799
|
B(a.$slots, "default")
|
11928
11800
|
])
|
11929
11801
|
]),
|
@@ -11944,7 +11816,7 @@ const Ng = /* @__PURE__ */ yt(ug, [["render", Fg]]), Eg = { class: "min-h-screen
|
|
11944
11816
|
]);
|
11945
11817
|
};
|
11946
11818
|
}
|
11947
|
-
},
|
11819
|
+
}, Bg = {
|
11948
11820
|
name: "ErrorLayout",
|
11949
11821
|
props: {
|
11950
11822
|
errorType: {
|
@@ -12210,20 +12082,20 @@ const Ng = /* @__PURE__ */ yt(ug, [["render", Fg]]), Eg = { class: "min-h-screen
|
|
12210
12082
|
helpClasses: re
|
12211
12083
|
};
|
12212
12084
|
}
|
12213
|
-
},
|
12085
|
+
}, Og = { class: "flex justify-center" }, Vg = { class: "flex items-center gap-3" }, Dg = { class: "text-2xl font-bold text-slate-900" }, Mg = {
|
12214
12086
|
key: 1,
|
12215
12087
|
class: "bg-red-100 border border-red-200 rounded-lg p-4 mx-auto max-w-md mb-6"
|
12216
|
-
},
|
12088
|
+
}, Fg = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, Ng = ["disabled"], Eg = {
|
12217
12089
|
key: 0,
|
12218
12090
|
class: "animate-spin"
|
12219
|
-
},
|
12091
|
+
}, Lg = { key: 1 }, _g = ["disabled"], Rg = { key: 0 }, qg = { key: 1 }, Yg = {
|
12220
12092
|
key: 0,
|
12221
12093
|
class: "mt-8 max-w-md mx-auto"
|
12222
|
-
},
|
12094
|
+
}, Ug = { class: "bg-white rounded-lg border border-slate-200 shadow-sm p-6" }, Wg = { class: "text-lg font-semibold text-slate-900 mb-4" }, Hg = { class: "space-y-3" }, Gg = { class: "text-sm text-slate-600" }, Kg = ["href"], Xg = {
|
12223
12095
|
key: 5,
|
12224
12096
|
class: "text-xs text-slate-400 font-mono mt-4"
|
12225
12097
|
};
|
12226
|
-
function
|
12098
|
+
function Jg(e, a, t, n, r, l) {
|
12227
12099
|
return o(), d("div", {
|
12228
12100
|
class: m(n.layoutClasses)
|
12229
12101
|
}, [
|
@@ -12243,13 +12115,13 @@ function dv(e, a, t, n, r, l) {
|
|
12243
12115
|
class: m(n.headerClasses)
|
12244
12116
|
}, [
|
12245
12117
|
B(e.$slots, "header", {}, () => [
|
12246
|
-
i("div",
|
12118
|
+
i("div", Og, [
|
12247
12119
|
B(e.$slots, "logo", {}, () => [
|
12248
|
-
i("div",
|
12120
|
+
i("div", Vg, [
|
12249
12121
|
a[5] || (a[5] = i("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
|
12250
12122
|
i("span", { class: "text-white font-bold text-lg" }, "STL")
|
12251
12123
|
], -1)),
|
12252
|
-
i("span",
|
12124
|
+
i("span", Dg, x(t.brandName), 1)
|
12253
12125
|
])
|
12254
12126
|
])
|
12255
12127
|
])
|
@@ -12295,7 +12167,7 @@ function dv(e, a, t, n, r, l) {
|
|
12295
12167
|
])
|
12296
12168
|
], 2)
|
12297
12169
|
], 2),
|
12298
|
-
n.isOnline ? h("", !0) : (o(), d("div",
|
12170
|
+
n.isOnline ? h("", !0) : (o(), d("div", Mg, [...a[6] || (a[6] = [
|
12299
12171
|
i("div", { class: "flex items-center justify-center gap-2 text-red-700" }, [
|
12300
12172
|
i("span", { class: "w-3 h-3 bg-red-500 rounded-full animate-pulse" }),
|
12301
12173
|
i("span", { class: "font-medium" }, "No Internet Connection")
|
@@ -12306,7 +12178,7 @@ function dv(e, a, t, n, r, l) {
|
|
12306
12178
|
class: m(n.actionsClasses)
|
12307
12179
|
}, [
|
12308
12180
|
B(e.$slots, "actions", {}, () => [
|
12309
|
-
i("div",
|
12181
|
+
i("div", Fg, [
|
12310
12182
|
t.showHomeButton ? (o(), d("button", {
|
12311
12183
|
key: 0,
|
12312
12184
|
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",
|
@@ -12329,18 +12201,18 @@ function dv(e, a, t, n, r, l) {
|
|
12329
12201
|
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",
|
12330
12202
|
onClick: a[2] || (a[2] = (...s) => n.retry && n.retry(...s))
|
12331
12203
|
}, [
|
12332
|
-
n.isRetrying ? (o(), d("span",
|
12204
|
+
n.isRetrying ? (o(), d("span", Eg, "↻")) : (o(), d("span", Lg, "🔄")),
|
12333
12205
|
G(" " + x(n.isRetrying ? "Retrying..." : t.retryButtonText), 1)
|
12334
|
-
], 8,
|
12206
|
+
], 8, Ng)) : h("", !0),
|
12335
12207
|
t.showSupportButton ? (o(), d("button", {
|
12336
12208
|
key: 3,
|
12337
12209
|
disabled: n.reportSent,
|
12338
12210
|
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",
|
12339
12211
|
onClick: a[3] || (a[3] = (s) => e.$emit("contact-support"))
|
12340
12212
|
}, [
|
12341
|
-
n.reportSent ? (o(), d("span",
|
12213
|
+
n.reportSent ? (o(), d("span", Rg, "✓")) : (o(), d("span", qg, "📝")),
|
12342
12214
|
G(" " + x(n.reportSent ? "Report Sent" : "Contact Support"), 1)
|
12343
|
-
], 8,
|
12215
|
+
], 8, _g)) : h("", !0)
|
12344
12216
|
])
|
12345
12217
|
])
|
12346
12218
|
], 2)) : h("", !0),
|
@@ -12349,10 +12221,10 @@ function dv(e, a, t, n, r, l) {
|
|
12349
12221
|
class: m(n.additionalInfoClasses)
|
12350
12222
|
}, [
|
12351
12223
|
B(e.$slots, "additional-info", {}, () => [
|
12352
|
-
n.additionalInfoConfig ? (o(), d("div",
|
12353
|
-
i("div",
|
12354
|
-
i("h3",
|
12355
|
-
i("ul",
|
12224
|
+
n.additionalInfoConfig ? (o(), d("div", Yg, [
|
12225
|
+
i("div", Ug, [
|
12226
|
+
i("h3", Wg, x(n.additionalInfoConfig.title), 1),
|
12227
|
+
i("ul", Hg, [
|
12356
12228
|
(o(!0), d(K, null, J(n.additionalInfoConfig.items, (s, u) => (o(), d("li", {
|
12357
12229
|
key: u,
|
12358
12230
|
class: "flex items-start gap-3 text-sm text-slate-600"
|
@@ -12372,7 +12244,7 @@ function dv(e, a, t, n, r, l) {
|
|
12372
12244
|
class: m(n.helpClasses)
|
12373
12245
|
}, [
|
12374
12246
|
B(e.$slots, "help", {}, () => [
|
12375
|
-
i("p",
|
12247
|
+
i("p", Gg, [
|
12376
12248
|
G(x(t.helpText) + " ", 1),
|
12377
12249
|
t.supportUrl ? (o(), d("a", {
|
12378
12250
|
key: 0,
|
@@ -12381,16 +12253,153 @@ function dv(e, a, t, n, r, l) {
|
|
12381
12253
|
}, [...a[8] || (a[8] = [
|
12382
12254
|
i("span", { class: "inline-block w-4 h-4 mr-1" }, "❓", -1),
|
12383
12255
|
G(" Get Help ", -1)
|
12384
|
-
])], 8,
|
12256
|
+
])], 8, Kg)) : h("", !0)
|
12385
12257
|
])
|
12386
12258
|
])
|
12387
12259
|
], 2)) : h("", !0),
|
12388
|
-
n.isDev ? (o(), d("div",
|
12260
|
+
n.isDev ? (o(), d("div", Xg, " Error ID: " + x(n.errorId), 1)) : h("", !0)
|
12389
12261
|
], 2)
|
12390
12262
|
], 2)
|
12391
12263
|
], 2);
|
12392
12264
|
}
|
12393
|
-
const
|
12265
|
+
const Qg = /* @__PURE__ */ yt(Bg, [["render", Jg]]), Zg = {
|
12266
|
+
key: 0,
|
12267
|
+
class: "stl-loader__backdrop"
|
12268
|
+
}, ev = { class: "stl-loader__container" }, tv = {
|
12269
|
+
key: 0,
|
12270
|
+
class: "stl-loader__text stl-loader__text--top"
|
12271
|
+
}, av = {
|
12272
|
+
key: 1,
|
12273
|
+
class: "stl-loader__spin"
|
12274
|
+
}, nv = {
|
12275
|
+
key: 2,
|
12276
|
+
class: "stl-loader__pulse"
|
12277
|
+
}, rv = {
|
12278
|
+
key: 3,
|
12279
|
+
class: "stl-loader__bounce"
|
12280
|
+
}, sv = {
|
12281
|
+
key: 4,
|
12282
|
+
class: "stl-loader__ripple"
|
12283
|
+
}, lv = {
|
12284
|
+
key: 5,
|
12285
|
+
class: "stl-loader__bars"
|
12286
|
+
}, ov = {
|
12287
|
+
key: 6,
|
12288
|
+
class: "stl-loader__dots"
|
12289
|
+
}, iv = {
|
12290
|
+
key: 7,
|
12291
|
+
class: "stl-loader__ring"
|
12292
|
+
}, uv = {
|
12293
|
+
key: 8,
|
12294
|
+
class: "stl-loader__spinner-text"
|
12295
|
+
}, dv = {
|
12296
|
+
key: 9,
|
12297
|
+
class: "stl-loader__text stl-loader__text--bottom"
|
12298
|
+
}, cv = {
|
12299
|
+
__name: "StlLoader",
|
12300
|
+
props: {
|
12301
|
+
loading: {
|
12302
|
+
type: Boolean,
|
12303
|
+
default: !0
|
12304
|
+
},
|
12305
|
+
type: {
|
12306
|
+
type: String,
|
12307
|
+
default: "spin",
|
12308
|
+
validator: (e) => [
|
12309
|
+
"spin",
|
12310
|
+
"pulse",
|
12311
|
+
"bounce",
|
12312
|
+
"ripple",
|
12313
|
+
"bars",
|
12314
|
+
"dots",
|
12315
|
+
"ring",
|
12316
|
+
"spinner-text"
|
12317
|
+
].includes(e)
|
12318
|
+
},
|
12319
|
+
size: {
|
12320
|
+
type: String,
|
12321
|
+
default: "medium",
|
12322
|
+
validator: (e) => ["small", "medium", "large", "xl"].includes(e)
|
12323
|
+
},
|
12324
|
+
color: {
|
12325
|
+
type: String,
|
12326
|
+
default: "#3b82f6"
|
12327
|
+
},
|
12328
|
+
backgroundColor: {
|
12329
|
+
type: String,
|
12330
|
+
default: "rgba(255, 255, 255, 0.9)"
|
12331
|
+
},
|
12332
|
+
text: {
|
12333
|
+
type: String,
|
12334
|
+
default: ""
|
12335
|
+
},
|
12336
|
+
textPosition: {
|
12337
|
+
type: String,
|
12338
|
+
default: "bottom",
|
12339
|
+
validator: (e) => ["top", "bottom"].includes(e)
|
12340
|
+
},
|
12341
|
+
overlay: {
|
12342
|
+
type: Boolean,
|
12343
|
+
default: !1
|
12344
|
+
},
|
12345
|
+
fullscreen: {
|
12346
|
+
type: Boolean,
|
12347
|
+
default: !1
|
12348
|
+
}
|
12349
|
+
},
|
12350
|
+
setup(e) {
|
12351
|
+
return (a, t) => e.loading ? (o(), d("div", {
|
12352
|
+
key: 0,
|
12353
|
+
class: m([
|
12354
|
+
"stl-loader",
|
12355
|
+
`stl-loader--${e.type}`,
|
12356
|
+
`stl-loader--${e.size}`,
|
12357
|
+
e.overlay ? "stl-loader--overlay" : "",
|
12358
|
+
e.fullscreen ? "stl-loader--fullscreen" : ""
|
12359
|
+
]),
|
12360
|
+
style: de({
|
12361
|
+
"--loader-color": e.color,
|
12362
|
+
"--loader-bg": e.backgroundColor
|
12363
|
+
})
|
12364
|
+
}, [
|
12365
|
+
e.overlay ? (o(), d("div", Zg)) : h("", !0),
|
12366
|
+
i("div", ev, [
|
12367
|
+
e.text && e.textPosition === "top" ? (o(), d("div", tv, x(e.text), 1)) : h("", !0),
|
12368
|
+
e.type === "spin" ? (o(), d("div", av)) : e.type === "pulse" ? (o(), d("div", nv)) : e.type === "bounce" ? (o(), d("div", rv, [
|
12369
|
+
(o(), d(K, null, J(3, (n) => i("div", {
|
12370
|
+
key: n,
|
12371
|
+
class: "stl-loader__bounce-dot",
|
12372
|
+
style: de({ animationDelay: `${(n - 1) * 0.1}s` })
|
12373
|
+
}, null, 4)), 64))
|
12374
|
+
])) : e.type === "ripple" ? (o(), d("div", sv, [
|
12375
|
+
(o(), d(K, null, J(2, (n) => i("div", {
|
12376
|
+
key: n,
|
12377
|
+
class: "stl-loader__ripple-ring",
|
12378
|
+
style: de({ animationDelay: `${(n - 1) * 0.5}s` })
|
12379
|
+
}, null, 4)), 64))
|
12380
|
+
])) : e.type === "bars" ? (o(), d("div", lv, [
|
12381
|
+
(o(), d(K, null, J(5, (n) => i("div", {
|
12382
|
+
key: n,
|
12383
|
+
class: "stl-loader__bar",
|
12384
|
+
style: de({ animationDelay: `${(n - 1) * 0.1}s` })
|
12385
|
+
}, null, 4)), 64))
|
12386
|
+
])) : e.type === "dots" ? (o(), d("div", ov, [
|
12387
|
+
(o(), d(K, null, J(3, (n) => i("div", {
|
12388
|
+
key: n,
|
12389
|
+
class: "stl-loader__dot",
|
12390
|
+
style: de({ animationDelay: `${(n - 1) * 0.16}s` })
|
12391
|
+
}, null, 4)), 64))
|
12392
|
+
])) : e.type === "ring" ? (o(), d("div", iv, [...t[0] || (t[0] = [
|
12393
|
+
i("div", { class: "stl-loader__ring-track" }, null, -1),
|
12394
|
+
i("div", { class: "stl-loader__ring-fill" }, null, -1)
|
12395
|
+
])])) : e.type === "spinner-text" ? (o(), d("div", uv, [...t[1] || (t[1] = [
|
12396
|
+
i("div", { class: "stl-loader__spinner" }, null, -1)
|
12397
|
+
])])) : h("", !0),
|
12398
|
+
e.text && e.textPosition === "bottom" ? (o(), d("div", dv, x(e.text), 1)) : h("", !0)
|
12399
|
+
])
|
12400
|
+
], 6)) : h("", !0);
|
12401
|
+
}
|
12402
|
+
}, Ye = /* @__PURE__ */ yt(cv, [["__scopeId", "data-v-671e75e9"]]), Ua = {
|
12394
12403
|
Avatar: Lo,
|
12395
12404
|
Badge: Ro,
|
12396
12405
|
Button: Ce,
|
@@ -12414,54 +12423,54 @@ const cv = /* @__PURE__ */ yt(Ug, [["render", dv]]), Ua = {
|
|
12414
12423
|
Tooltip: $i,
|
12415
12424
|
Typography: Yt,
|
12416
12425
|
STLLoader: Ye,
|
12417
|
-
Alert:
|
12418
|
-
Breadcrumb:
|
12419
|
-
ButtonGroup:
|
12420
|
-
Card:
|
12421
|
-
CardHeader:
|
12422
|
-
CardBody:
|
12423
|
-
CardFooter:
|
12424
|
-
CardContent:
|
12425
|
-
CardTitle:
|
12426
|
+
Alert: Oi,
|
12427
|
+
Breadcrumb: Mi,
|
12428
|
+
ButtonGroup: Ni,
|
12429
|
+
Card: Wi,
|
12430
|
+
CardHeader: Hi,
|
12431
|
+
CardBody: Gi,
|
12432
|
+
CardFooter: Ki,
|
12433
|
+
CardContent: Xi,
|
12434
|
+
CardTitle: Ji,
|
12426
12435
|
DatePicker: ca,
|
12427
|
-
Dropdown:
|
12428
|
-
DropdownItem:
|
12429
|
-
FileUpload:
|
12436
|
+
Dropdown: iu,
|
12437
|
+
DropdownItem: du,
|
12438
|
+
FileUpload: xu,
|
12430
12439
|
FormField: ar,
|
12431
|
-
InputGroup:
|
12432
|
-
ListItem:
|
12433
|
-
MenuItem:
|
12440
|
+
InputGroup: Pu,
|
12441
|
+
ListItem: Mu,
|
12442
|
+
MenuItem: Nu,
|
12434
12443
|
Modal: nr,
|
12435
|
-
ModalHeader:
|
12436
|
-
ModalBody:
|
12437
|
-
ModalFooter:
|
12438
|
-
Notification:
|
12439
|
-
Toast:
|
12440
|
-
Search:
|
12444
|
+
ModalHeader: Ru,
|
12445
|
+
ModalBody: qu,
|
12446
|
+
ModalFooter: Yu,
|
12447
|
+
Notification: Xu,
|
12448
|
+
Toast: id,
|
12449
|
+
Search: Sd,
|
12441
12450
|
Slider: sr,
|
12442
|
-
Stepper:
|
12443
|
-
StepperItem:
|
12444
|
-
Tab:
|
12445
|
-
TabPanel:
|
12446
|
-
Accordion:
|
12447
|
-
AccordionItem:
|
12448
|
-
Calendar:
|
12449
|
-
DataTable:
|
12451
|
+
Stepper: Id,
|
12452
|
+
StepperItem: Od,
|
12453
|
+
Tab: Nd,
|
12454
|
+
TabPanel: _d,
|
12455
|
+
Accordion: Hd,
|
12456
|
+
AccordionItem: Gd,
|
12457
|
+
Calendar: rc,
|
12458
|
+
DataTable: Dc,
|
12450
12459
|
DataTableHeader: lr,
|
12451
12460
|
DataTableRow: or,
|
12452
|
-
DataTableCell:
|
12461
|
+
DataTableCell: Mc,
|
12453
12462
|
DataTablePagination: ir,
|
12454
|
-
DataTableFilters:
|
12455
|
-
DataTableToolBar:
|
12456
|
-
Footer:
|
12457
|
-
Header:
|
12458
|
-
ReusableFormModal:
|
12459
|
-
Sidebar:
|
12460
|
-
Timeline:
|
12461
|
-
TimelineItem:
|
12462
|
-
AuthLayout:
|
12463
|
-
DefaultLayout:
|
12464
|
-
ErrorLayout:
|
12463
|
+
DataTableFilters: of,
|
12464
|
+
DataTableToolBar: Cf,
|
12465
|
+
Footer: Bf,
|
12466
|
+
Header: cm,
|
12467
|
+
ReusableFormModal: pm,
|
12468
|
+
Sidebar: Rm,
|
12469
|
+
Timeline: qm,
|
12470
|
+
TimelineItem: Km,
|
12471
|
+
AuthLayout: $g,
|
12472
|
+
DefaultLayout: jg,
|
12473
|
+
ErrorLayout: Qg
|
12465
12474
|
}, vv = {
|
12466
12475
|
install(e, a = {}) {
|
12467
12476
|
const { prefix: t = "" } = a;
|
@@ -12472,79 +12481,79 @@ const cv = /* @__PURE__ */ yt(Ug, [["render", dv]]), Ua = {
|
|
12472
12481
|
}
|
12473
12482
|
};
|
12474
12483
|
export {
|
12475
|
-
|
12476
|
-
|
12477
|
-
|
12478
|
-
|
12484
|
+
Hd as Accordion,
|
12485
|
+
Gd as AccordionItem,
|
12486
|
+
Oi as Alert,
|
12487
|
+
$g as AuthLayout,
|
12479
12488
|
Lo as Avatar,
|
12480
12489
|
Ro as Badge,
|
12481
|
-
|
12490
|
+
Mi as Breadcrumb,
|
12482
12491
|
Ce as Button,
|
12483
|
-
|
12484
|
-
|
12485
|
-
|
12486
|
-
|
12487
|
-
|
12488
|
-
|
12489
|
-
|
12490
|
-
|
12492
|
+
Ni as ButtonGroup,
|
12493
|
+
rc as Calendar,
|
12494
|
+
Wi as Card,
|
12495
|
+
Gi as CardBody,
|
12496
|
+
Xi as CardContent,
|
12497
|
+
Ki as CardFooter,
|
12498
|
+
Hi as CardHeader,
|
12499
|
+
Ji as CardTitle,
|
12491
12500
|
ia as Checkbox,
|
12492
|
-
|
12493
|
-
|
12494
|
-
|
12501
|
+
Dc as DataTable,
|
12502
|
+
Mc as DataTableCell,
|
12503
|
+
of as DataTableFilters,
|
12495
12504
|
lr as DataTableHeader,
|
12496
12505
|
ir as DataTablePagination,
|
12497
12506
|
or as DataTableRow,
|
12498
|
-
|
12507
|
+
Cf as DataTableToolBar,
|
12499
12508
|
ca as DatePicker,
|
12500
|
-
|
12509
|
+
jg as DefaultLayout,
|
12501
12510
|
Qo as Divider,
|
12502
|
-
|
12503
|
-
|
12504
|
-
|
12505
|
-
|
12506
|
-
|
12511
|
+
iu as Dropdown,
|
12512
|
+
du as DropdownItem,
|
12513
|
+
Qg as ErrorLayout,
|
12514
|
+
xu as FileUpload,
|
12515
|
+
Bf as Footer,
|
12507
12516
|
ar as FormField,
|
12508
|
-
|
12517
|
+
cm as Header,
|
12509
12518
|
ae as Icon,
|
12510
12519
|
ai as Image,
|
12511
12520
|
qt as Input,
|
12512
|
-
|
12521
|
+
Pu as InputGroup,
|
12513
12522
|
da as Label,
|
12514
12523
|
ui as Link,
|
12515
|
-
|
12524
|
+
Mu as ListItem,
|
12516
12525
|
ci as Logo,
|
12517
|
-
|
12526
|
+
Nu as MenuItem,
|
12518
12527
|
nr as Modal,
|
12519
|
-
|
12520
|
-
|
12521
|
-
|
12522
|
-
|
12528
|
+
qu as ModalBody,
|
12529
|
+
Yu as ModalFooter,
|
12530
|
+
Ru as ModalHeader,
|
12531
|
+
Xu as Notification,
|
12523
12532
|
er as Option,
|
12524
12533
|
gi as Progress,
|
12525
12534
|
bi as ProgressBar,
|
12526
12535
|
pi as Radio,
|
12527
|
-
|
12536
|
+
pm as ReusableFormModal,
|
12528
12537
|
Ye as STLLoader,
|
12529
|
-
|
12538
|
+
Sd as Search,
|
12530
12539
|
ht as Select,
|
12531
|
-
|
12540
|
+
Rm as Sidebar,
|
12532
12541
|
sr as Slider,
|
12533
12542
|
ua as Spinner,
|
12534
|
-
|
12535
|
-
|
12543
|
+
Id as Stepper,
|
12544
|
+
Od as StepperItem,
|
12536
12545
|
ki as Switch,
|
12537
|
-
|
12538
|
-
|
12546
|
+
Nd as Tab,
|
12547
|
+
_d as TabPanel,
|
12539
12548
|
Si as Text,
|
12540
12549
|
tr as Textarea,
|
12541
|
-
|
12542
|
-
|
12543
|
-
|
12550
|
+
qm as Timeline,
|
12551
|
+
Km as TimelineItem,
|
12552
|
+
id as Toast,
|
12544
12553
|
$i as Tooltip,
|
12545
12554
|
Yt as Typography,
|
12546
12555
|
S as cn,
|
12547
12556
|
vv as default,
|
12548
12557
|
Ut as toast,
|
12549
|
-
|
12558
|
+
ed as useToaster
|
12550
12559
|
};
|