@stlhorizon/vue-ui 2.5.6 → 2.5.7
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 +656 -656
- package/dist/index.js +5 -5
- 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
@@ -5397,158 +5397,16 @@ const ae = {
|
|
5397
5397
|
_: 3
|
5398
5398
|
}, 16, ["class"]));
|
5399
5399
|
}
|
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 = {
|
5400
|
+
}, Ai = { class: "flex items-start gap-3" }, Ii = {
|
5543
5401
|
key: 0,
|
5544
5402
|
class: "flex-shrink-0 mt-0.5"
|
5545
|
-
},
|
5403
|
+
}, Pi = { class: "flex-1 min-w-0" }, Ti = {
|
5546
5404
|
key: 0,
|
5547
5405
|
class: "font-medium text-sm mb-1"
|
5548
|
-
},
|
5406
|
+
}, ji = {
|
5549
5407
|
key: 1,
|
5550
5408
|
class: "mt-3 flex gap-2"
|
5551
|
-
},
|
5409
|
+
}, Bi = ["aria-label"], Oi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
5552
5410
|
__name: "Alert",
|
5553
5411
|
props: {
|
5554
5412
|
variant: {
|
@@ -5663,14 +5521,14 @@ const ae = {
|
|
5663
5521
|
class: m(N(S)(N($)({ variant: e.variant }), b.$attrs.class)),
|
5664
5522
|
role: "alert"
|
5665
5523
|
}, [
|
5666
|
-
i("div",
|
5667
|
-
e.showIcon ? (o(), d("div",
|
5524
|
+
i("div", Ai, [
|
5525
|
+
e.showIcon ? (o(), d("div", Ii, [
|
5668
5526
|
(o(), R(ve(D.value), {
|
5669
5527
|
class: m(z.value)
|
5670
5528
|
}, null, 8, ["class"]))
|
5671
5529
|
])) : h("", !0),
|
5672
|
-
i("div",
|
5673
|
-
e.title ? (o(), d("h4",
|
5530
|
+
i("div", Pi, [
|
5531
|
+
e.title ? (o(), d("h4", Ti, x(e.title), 1)) : h("", !0),
|
5674
5532
|
i("div", {
|
5675
5533
|
class: m(["text-sm", { "mt-0": !e.title, "mt-1": e.title }])
|
5676
5534
|
}, [
|
@@ -5678,7 +5536,7 @@ const ae = {
|
|
5678
5536
|
G(x(e.message), 1)
|
5679
5537
|
])
|
5680
5538
|
], 2),
|
5681
|
-
b.$slots.actions || e.actions.length > 0 ? (o(), d("div",
|
5539
|
+
b.$slots.actions || e.actions.length > 0 ? (o(), d("div", ji, [
|
5682
5540
|
B(b.$slots, "actions", {}, () => [
|
5683
5541
|
(o(!0), d(K, null, J(e.actions, (p) => (o(), R(Ce, {
|
5684
5542
|
key: p.label,
|
@@ -5701,14 +5559,14 @@ const ae = {
|
|
5701
5559
|
onClick: l
|
5702
5560
|
}, [
|
5703
5561
|
P(C, { class: "w-4 h-4" })
|
5704
|
-
], 10,
|
5562
|
+
], 10, Bi)) : h("", !0)
|
5705
5563
|
])
|
5706
5564
|
], 2)) : h("", !0)
|
5707
5565
|
]),
|
5708
5566
|
_: 3
|
5709
5567
|
}));
|
5710
5568
|
}
|
5711
|
-
}),
|
5569
|
+
}), Vi = ["aria-label"], Di = { class: "flex items-center space-x-1" }, Mi = {
|
5712
5570
|
__name: "Breadcrumb",
|
5713
5571
|
props: {
|
5714
5572
|
items: {
|
@@ -5745,7 +5603,7 @@ const ae = {
|
|
5745
5603
|
"aria-label": e.ariaLabel,
|
5746
5604
|
class: m(["flex", n.value])
|
5747
5605
|
}, [
|
5748
|
-
i("ol",
|
5606
|
+
i("ol", Di, [
|
5749
5607
|
(o(!0), d(K, null, J(e.items, (s, u) => (o(), d("li", {
|
5750
5608
|
key: u,
|
5751
5609
|
class: "flex items-center"
|
@@ -5770,9 +5628,9 @@ const ae = {
|
|
5770
5628
|
}, null, 8, ["name"])) : h("", !0)
|
5771
5629
|
]))), 128))
|
5772
5630
|
])
|
5773
|
-
], 10,
|
5631
|
+
], 10, Vi));
|
5774
5632
|
}
|
5775
|
-
},
|
5633
|
+
}, Fi = ["aria-label"], Ni = {
|
5776
5634
|
__name: "ButtonGroup",
|
5777
5635
|
props: {
|
5778
5636
|
orientation: {
|
@@ -5809,12 +5667,12 @@ const ae = {
|
|
5809
5667
|
"aria-label": e.ariaLabel
|
5810
5668
|
}, [
|
5811
5669
|
B(r.$slots, "default")
|
5812
|
-
], 10,
|
5670
|
+
], 10, Fi));
|
5813
5671
|
}
|
5814
|
-
},
|
5672
|
+
}, Ei = { class: "flex items-start justify-between" }, Li = { class: "flex-1 min-w-0" }, _i = {
|
5815
5673
|
key: 0,
|
5816
5674
|
class: "flex-shrink-0 ml-4"
|
5817
|
-
},
|
5675
|
+
}, 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
5676
|
__name: "Card",
|
5819
5677
|
props: {
|
5820
5678
|
variant: {
|
@@ -5930,18 +5788,18 @@ const ae = {
|
|
5930
5788
|
class: m(N(S)(N(s)({ padding: e.padding })))
|
5931
5789
|
}, [
|
5932
5790
|
B(w.$slots, "header", {}, () => [
|
5933
|
-
i("div",
|
5934
|
-
i("div",
|
5791
|
+
i("div", Ei, [
|
5792
|
+
i("div", Li, [
|
5935
5793
|
e.title ? (o(), d("h3", {
|
5936
5794
|
key: 0,
|
5937
|
-
class: m(
|
5795
|
+
class: m(Yi)
|
5938
5796
|
}, x(e.title), 1)) : h("", !0),
|
5939
5797
|
e.subtitle ? (o(), d("p", {
|
5940
5798
|
key: 1,
|
5941
|
-
class: m(
|
5799
|
+
class: m(Ui)
|
5942
5800
|
}, x(e.subtitle), 1)) : h("", !0)
|
5943
5801
|
]),
|
5944
|
-
w.$slots.actions ? (o(), d("div",
|
5802
|
+
w.$slots.actions ? (o(), d("div", _i, [
|
5945
5803
|
B(w.$slots, "actions")
|
5946
5804
|
])) : h("", !0)
|
5947
5805
|
])
|
@@ -5956,8 +5814,8 @@ const ae = {
|
|
5956
5814
|
key: 0,
|
5957
5815
|
src: e.image,
|
5958
5816
|
alt: e.imageAlt,
|
5959
|
-
class: m(
|
5960
|
-
}, null, 8,
|
5817
|
+
class: m(qi)
|
5818
|
+
}, null, 8, Ri)) : h("", !0)
|
5961
5819
|
])
|
5962
5820
|
], 2)) : h("", !0),
|
5963
5821
|
w.$slots.default ? (o(), d("div", {
|
@@ -5974,7 +5832,7 @@ const ae = {
|
|
5974
5832
|
], 2)) : h("", !0)
|
5975
5833
|
], 2));
|
5976
5834
|
}
|
5977
|
-
},
|
5835
|
+
}, Hi = /* @__PURE__ */ Object.assign({
|
5978
5836
|
inheritAttrs: !1
|
5979
5837
|
}, {
|
5980
5838
|
__name: "CardHeader",
|
@@ -5985,7 +5843,7 @@ const ae = {
|
|
5985
5843
|
B(a.$slots, "default")
|
5986
5844
|
], 2));
|
5987
5845
|
}
|
5988
|
-
}),
|
5846
|
+
}), Gi = {
|
5989
5847
|
__name: "CardBody",
|
5990
5848
|
props: {
|
5991
5849
|
variant: {
|
@@ -6012,7 +5870,7 @@ const ae = {
|
|
6012
5870
|
B(r.$slots, "default")
|
6013
5871
|
], 2));
|
6014
5872
|
}
|
6015
|
-
},
|
5873
|
+
}, Ki = {
|
6016
5874
|
__name: "CardFooter",
|
6017
5875
|
props: {
|
6018
5876
|
variant: {
|
@@ -6039,7 +5897,7 @@ const ae = {
|
|
6039
5897
|
B(r.$slots, "default")
|
6040
5898
|
], 2));
|
6041
5899
|
}
|
6042
|
-
},
|
5900
|
+
}, Xi = /* @__PURE__ */ Object.assign({
|
6043
5901
|
inheritAttrs: !1
|
6044
5902
|
}, {
|
6045
5903
|
__name: "CardContent",
|
@@ -6050,7 +5908,7 @@ const ae = {
|
|
6050
5908
|
B(a.$slots, "default")
|
6051
5909
|
], 2));
|
6052
5910
|
}
|
6053
|
-
}),
|
5911
|
+
}), Ji = /* @__PURE__ */ Object.assign({
|
6054
5912
|
inheritAttrs: !1
|
6055
5913
|
}, {
|
6056
5914
|
__name: "CardTitle",
|
@@ -6061,7 +5919,7 @@ const ae = {
|
|
6061
5919
|
B(a.$slots, "default")
|
6062
5920
|
], 2));
|
6063
5921
|
}
|
6064
|
-
}),
|
5922
|
+
}), 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
5923
|
key: 0,
|
6066
5924
|
class: "mt-4 pt-3 border-t border-slate-200"
|
6067
5925
|
}, ca = {
|
@@ -6187,8 +6045,8 @@ const ae = {
|
|
6187
6045
|
document.addEventListener("keydown", W);
|
6188
6046
|
}), Ha(() => {
|
6189
6047
|
document.removeEventListener("keydown", W);
|
6190
|
-
}), (k, T) => (o(), d("div",
|
6191
|
-
i("div",
|
6048
|
+
}), (k, T) => (o(), d("div", Qi, [
|
6049
|
+
i("div", Zi, [
|
6192
6050
|
i("input", {
|
6193
6051
|
id: e.id,
|
6194
6052
|
type: "text",
|
@@ -6200,7 +6058,7 @@ const ae = {
|
|
6200
6058
|
"aria-describedby": e.ariaDescribedby,
|
6201
6059
|
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
6060
|
onClick: A
|
6203
|
-
}, null, 8,
|
6061
|
+
}, null, 8, eu),
|
6204
6062
|
T[2] || (T[2] = i("div", { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" }, [
|
6205
6063
|
i("svg", {
|
6206
6064
|
class: "w-5 h-5 text-slate-400",
|
@@ -6253,7 +6111,7 @@ const ae = {
|
|
6253
6111
|
onClick: T[0] || (T[0] = Ve(() => {
|
6254
6112
|
}, ["stop"]))
|
6255
6113
|
}, [
|
6256
|
-
i("div",
|
6114
|
+
i("div", tu, [
|
6257
6115
|
i("button", {
|
6258
6116
|
type: "button",
|
6259
6117
|
class: "p-2 rounded-lg hover:bg-slate-100 transition-colors",
|
@@ -6274,7 +6132,7 @@ const ae = {
|
|
6274
6132
|
})
|
6275
6133
|
], -1)
|
6276
6134
|
])]),
|
6277
|
-
i("div",
|
6135
|
+
i("div", au, x(w.value) + " " + x(u.value), 1),
|
6278
6136
|
i("button", {
|
6279
6137
|
type: "button",
|
6280
6138
|
class: "p-2 rounded-lg hover:bg-slate-100 transition-colors",
|
@@ -6296,13 +6154,13 @@ const ae = {
|
|
6296
6154
|
], -1)
|
6297
6155
|
])])
|
6298
6156
|
]),
|
6299
|
-
i("div",
|
6157
|
+
i("div", nu, [
|
6300
6158
|
(o(), d(K, null, J(y, (_) => i("div", {
|
6301
6159
|
key: _,
|
6302
6160
|
class: "text-center text-xs font-medium text-slate-600 py-1"
|
6303
6161
|
}, x(_), 1)), 64))
|
6304
6162
|
]),
|
6305
|
-
i("div",
|
6163
|
+
i("div", ru, [
|
6306
6164
|
(o(!0), d(K, null, J($.value, (_, re) => (o(), d("div", {
|
6307
6165
|
key: "prev-" + re,
|
6308
6166
|
class: "text-center text-sm text-slate-300 py-2"
|
@@ -6318,13 +6176,13 @@ const ae = {
|
|
6318
6176
|
j(_) ? "text-slate-300 cursor-not-allowed hover:bg-transparent" : "cursor-pointer"
|
6319
6177
|
]),
|
6320
6178
|
onClick: (re) => oe(_)
|
6321
|
-
}, x(_), 11,
|
6179
|
+
}, x(_), 11, su))), 128)),
|
6322
6180
|
(o(!0), d(K, null, J(z.value, (_, re) => (o(), d("div", {
|
6323
6181
|
key: "next-" + re,
|
6324
6182
|
class: "text-center text-sm text-slate-300 py-2"
|
6325
6183
|
}, x(_), 1))), 128))
|
6326
6184
|
]),
|
6327
|
-
e.showToday ? (o(), d("div",
|
6185
|
+
e.showToday ? (o(), d("div", lu, [
|
6328
6186
|
i("button", {
|
6329
6187
|
type: "button",
|
6330
6188
|
class: "w-full px-3 py-2 text-sm font-medium text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",
|
@@ -6342,7 +6200,7 @@ const ae = {
|
|
6342
6200
|
})) : h("", !0)
|
6343
6201
|
]));
|
6344
6202
|
}
|
6345
|
-
},
|
6203
|
+
}, ou = ["aria-expanded"], iu = {
|
6346
6204
|
__name: "Dropdown",
|
6347
6205
|
props: {
|
6348
6206
|
triggerText: {
|
@@ -6415,7 +6273,7 @@ const ae = {
|
|
6415
6273
|
class: "ml-2 h-4 w-4"
|
6416
6274
|
})
|
6417
6275
|
])
|
6418
|
-
], 10,
|
6276
|
+
], 10, ou),
|
6419
6277
|
P(ue, {
|
6420
6278
|
"enter-active-class": "transition ease-out duration-100",
|
6421
6279
|
"enter-from-class": "transform opacity-0 scale-95",
|
@@ -6438,10 +6296,10 @@ const ae = {
|
|
6438
6296
|
})
|
6439
6297
|
], 512));
|
6440
6298
|
}
|
6441
|
-
},
|
6299
|
+
}, uu = {
|
6442
6300
|
key: 1,
|
6443
6301
|
class: "ml-auto text-xs tracking-widest opacity-60"
|
6444
|
-
},
|
6302
|
+
}, du = {
|
6445
6303
|
__name: "DropdownItem",
|
6446
6304
|
props: {
|
6447
6305
|
href: String,
|
@@ -6485,18 +6343,18 @@ const ae = {
|
|
6485
6343
|
class: "mr-2 h-4 w-4"
|
6486
6344
|
}, null, 8, ["name"])) : h("", !0),
|
6487
6345
|
B(u.$slots, "default"),
|
6488
|
-
e.shortcut ? (o(), d("span",
|
6346
|
+
e.shortcut ? (o(), d("span", uu, x(e.shortcut), 1)) : h("", !0)
|
6489
6347
|
]),
|
6490
6348
|
_: 3
|
6491
6349
|
}, 8, ["href", "class", "disabled"]));
|
6492
6350
|
}
|
6493
|
-
},
|
6351
|
+
}, cu = { class: "w-full" }, fu = ["multiple", "accept"], mu = { class: "flex flex-col items-center justify-center py-6" }, gu = {
|
6494
6352
|
key: 0,
|
6495
6353
|
class: "text-xs text-muted-foreground mt-1"
|
6496
|
-
},
|
6354
|
+
}, vu = {
|
6497
6355
|
key: 0,
|
6498
6356
|
class: "mt-4 space-y-2"
|
6499
|
-
},
|
6357
|
+
}, bu = { class: "flex items-center space-x-2" }, hu = { class: "text-sm" }, yu = { class: "text-xs text-muted-foreground" }, pu = ["onClick"], xu = {
|
6500
6358
|
__name: "FileUpload",
|
6501
6359
|
props: {
|
6502
6360
|
multiple: Boolean,
|
@@ -6551,7 +6409,7 @@ const ae = {
|
|
6551
6409
|
const V = 1024, j = ["Bytes", "KB", "MB", "GB"], A = Math.floor(Math.log(p) / Math.log(V));
|
6552
6410
|
return parseFloat((p / Math.pow(V, A)).toFixed(2)) + " " + j[A];
|
6553
6411
|
};
|
6554
|
-
return (p, V) => (o(), d("div",
|
6412
|
+
return (p, V) => (o(), d("div", cu, [
|
6555
6413
|
i("div", {
|
6556
6414
|
class: m(c.value),
|
6557
6415
|
onDrop: y,
|
@@ -6568,8 +6426,8 @@ const ae = {
|
|
6568
6426
|
accept: e.accept,
|
6569
6427
|
class: "hidden",
|
6570
6428
|
onChange: z
|
6571
|
-
}, null, 40,
|
6572
|
-
i("div",
|
6429
|
+
}, null, 40, fu),
|
6430
|
+
i("div", mu, [
|
6573
6431
|
P(ae, {
|
6574
6432
|
name: "upload",
|
6575
6433
|
class: "h-8 w-8 text-muted-foreground mb-2"
|
@@ -6578,21 +6436,21 @@ const ae = {
|
|
6578
6436
|
i("span", { class: "font-semibold" }, "Click to upload"),
|
6579
6437
|
G(" or drag and drop ")
|
6580
6438
|
], -1)),
|
6581
|
-
e.accept ? (o(), d("p",
|
6439
|
+
e.accept ? (o(), d("p", gu, x(e.accept), 1)) : h("", !0)
|
6582
6440
|
])
|
6583
6441
|
], 34),
|
6584
|
-
r.value.length > 0 ? (o(), d("div",
|
6442
|
+
r.value.length > 0 ? (o(), d("div", vu, [
|
6585
6443
|
(o(!0), d(K, null, J(r.value, (j, A) => (o(), d("div", {
|
6586
6444
|
key: A,
|
6587
6445
|
class: "flex items-center justify-between p-2 bg-muted rounded-md"
|
6588
6446
|
}, [
|
6589
|
-
i("div",
|
6447
|
+
i("div", bu, [
|
6590
6448
|
P(ae, {
|
6591
6449
|
name: "file",
|
6592
6450
|
class: "h-4 w-4 text-muted-foreground"
|
6593
6451
|
}),
|
6594
|
-
i("span",
|
6595
|
-
i("span",
|
6452
|
+
i("span", hu, x(j.name), 1),
|
6453
|
+
i("span", yu, "(" + x(f(j.size)) + ")", 1)
|
6596
6454
|
]),
|
6597
6455
|
i("button", {
|
6598
6456
|
class: "text-muted-foreground hover:text-foreground",
|
@@ -6602,16 +6460,16 @@ const ae = {
|
|
6602
6460
|
name: "x",
|
6603
6461
|
class: "h-4 w-4"
|
6604
6462
|
})
|
6605
|
-
], 8,
|
6463
|
+
], 8, pu)
|
6606
6464
|
]))), 128))
|
6607
6465
|
])) : h("", !0)
|
6608
6466
|
]));
|
6609
6467
|
}
|
6610
|
-
},
|
6468
|
+
}, wu = ["for"], ku = {
|
6611
6469
|
key: 0,
|
6612
6470
|
class: "text-red-500 ml-1",
|
6613
6471
|
"aria-label": "required"
|
6614
|
-
},
|
6472
|
+
}, Su = { class: "relative" }, Cu = ["aria-label"], $u = ["id"], zu = ["id"], ar = {
|
6615
6473
|
__name: "FormField",
|
6616
6474
|
props: {
|
6617
6475
|
label: String,
|
@@ -6698,13 +6556,13 @@ const ae = {
|
|
6698
6556
|
class: m(N(S)(N(C)({ size: e.size })))
|
6699
6557
|
}, [
|
6700
6558
|
G(x(e.label) + " ", 1),
|
6701
|
-
e.required ? (o(), d("span",
|
6702
|
-
], 10,
|
6559
|
+
e.required ? (o(), d("span", ku, "*")) : h("", !0)
|
6560
|
+
], 10, wu)) : h("", !0),
|
6703
6561
|
e.description ? (o(), d("p", {
|
6704
6562
|
key: 1,
|
6705
6563
|
class: m(N(S)(N(D)({ size: e.size })))
|
6706
6564
|
}, x(e.description), 3)) : h("", !0),
|
6707
|
-
i("div",
|
6565
|
+
i("div", Su, [
|
6708
6566
|
e.type === "date" ? (o(), R(ca, {
|
6709
6567
|
key: 0,
|
6710
6568
|
id: l.value,
|
@@ -6732,7 +6590,7 @@ const ae = {
|
|
6732
6590
|
icon: u.value ? "eye-slash" : "eye",
|
6733
6591
|
class: "w-4 h-4"
|
6734
6592
|
}, null, 8, ["icon"])
|
6735
|
-
], 8,
|
6593
|
+
], 8, Cu)) : h("", !0)
|
6736
6594
|
]),
|
6737
6595
|
P(ue, {
|
6738
6596
|
"enter-active-class": "transition-all duration-200",
|
@@ -6755,7 +6613,7 @@ const ae = {
|
|
6755
6613
|
class: "w-4 h-4 flex-shrink-0 mt-0.5"
|
6756
6614
|
}),
|
6757
6615
|
i("span", null, x(e.error), 1)
|
6758
|
-
], 10,
|
6616
|
+
], 10, $u)) : h("", !0)
|
6759
6617
|
]),
|
6760
6618
|
_: 1
|
6761
6619
|
}),
|
@@ -6763,7 +6621,7 @@ const ae = {
|
|
6763
6621
|
key: 2,
|
6764
6622
|
id: `${l.value}-help`,
|
6765
6623
|
class: m(N(S)(N(z)({ size: e.size })))
|
6766
|
-
}, x(e.helpText), 11,
|
6624
|
+
}, x(e.helpText), 11, zu)) : h("", !0),
|
6767
6625
|
P(ue, {
|
6768
6626
|
"enter-active-class": "transition-all duration-200",
|
6769
6627
|
"enter-from-class": "opacity-0 -translate-y-1",
|
@@ -6789,13 +6647,13 @@ const ae = {
|
|
6789
6647
|
], 2);
|
6790
6648
|
};
|
6791
6649
|
}
|
6792
|
-
},
|
6650
|
+
}, Au = {
|
6793
6651
|
key: 0,
|
6794
6652
|
class: "flex items-center px-3 bg-muted border border-r-0 rounded-l-md"
|
6795
|
-
},
|
6653
|
+
}, Iu = {
|
6796
6654
|
key: 1,
|
6797
6655
|
class: "flex items-center px-3 bg-muted border border-l-0 rounded-r-md"
|
6798
|
-
},
|
6656
|
+
}, Pu = {
|
6799
6657
|
__name: "InputGroup",
|
6800
6658
|
props: {
|
6801
6659
|
variant: {
|
@@ -6818,28 +6676,28 @@ const ae = {
|
|
6818
6676
|
return (r, l) => (o(), d("div", {
|
6819
6677
|
class: m(n.value)
|
6820
6678
|
}, [
|
6821
|
-
r.$slots.prefix ? (o(), d("div",
|
6679
|
+
r.$slots.prefix ? (o(), d("div", Au, [
|
6822
6680
|
B(r.$slots, "prefix")
|
6823
6681
|
])) : h("", !0),
|
6824
6682
|
B(r.$slots, "default"),
|
6825
|
-
r.$slots.suffix ? (o(), d("div",
|
6683
|
+
r.$slots.suffix ? (o(), d("div", Iu, [
|
6826
6684
|
B(r.$slots, "suffix")
|
6827
6685
|
])) : h("", !0)
|
6828
6686
|
], 2));
|
6829
6687
|
}
|
6830
|
-
},
|
6688
|
+
}, Tu = ["role"], ju = {
|
6831
6689
|
key: 0,
|
6832
6690
|
class: "flex-shrink-0"
|
6833
|
-
},
|
6691
|
+
}, Bu = { class: "flex-1 min-w-0" }, Ou = {
|
6834
6692
|
key: 0,
|
6835
6693
|
class: "text-sm font-medium text-foreground"
|
6836
|
-
},
|
6694
|
+
}, Vu = {
|
6837
6695
|
key: 1,
|
6838
6696
|
class: "text-sm text-muted-foreground"
|
6839
|
-
},
|
6697
|
+
}, Du = {
|
6840
6698
|
key: 1,
|
6841
6699
|
class: "flex-shrink-0"
|
6842
|
-
},
|
6700
|
+
}, Mu = {
|
6843
6701
|
__name: "ListItem",
|
6844
6702
|
props: {
|
6845
6703
|
title: String,
|
@@ -6886,7 +6744,7 @@ const ae = {
|
|
6886
6744
|
onClick: c
|
6887
6745
|
}, {
|
6888
6746
|
default: E(() => [
|
6889
|
-
y.$slots.icon || e.icon ? (o(), d("div",
|
6747
|
+
y.$slots.icon || e.icon ? (o(), d("div", ju, [
|
6890
6748
|
B(y.$slots, "icon", {}, () => [
|
6891
6749
|
e.icon ? (o(), R(ae, {
|
6892
6750
|
key: 0,
|
@@ -6895,23 +6753,23 @@ const ae = {
|
|
6895
6753
|
}, null, 8, ["name"])) : h("", !0)
|
6896
6754
|
])
|
6897
6755
|
])) : h("", !0),
|
6898
|
-
i("div",
|
6899
|
-
e.title ? (o(), d("div",
|
6900
|
-
e.description ? (o(), d("div",
|
6756
|
+
i("div", Bu, [
|
6757
|
+
e.title ? (o(), d("div", Ou, x(e.title), 1)) : h("", !0),
|
6758
|
+
e.description ? (o(), d("div", Vu, x(e.description), 1)) : h("", !0),
|
6901
6759
|
B(y.$slots, "default")
|
6902
6760
|
]),
|
6903
|
-
y.$slots.action ? (o(), d("div",
|
6761
|
+
y.$slots.action ? (o(), d("div", Du, [
|
6904
6762
|
B(y.$slots, "action")
|
6905
6763
|
])) : h("", !0)
|
6906
6764
|
]),
|
6907
6765
|
_: 3
|
6908
6766
|
}, 8, ["href", "class"]))
|
6909
|
-
], 10,
|
6767
|
+
], 10, Tu));
|
6910
6768
|
}
|
6911
|
-
},
|
6769
|
+
}, Fu = {
|
6912
6770
|
key: 1,
|
6913
6771
|
class: "ml-auto text-xs tracking-widest opacity-60"
|
6914
|
-
},
|
6772
|
+
}, Nu = {
|
6915
6773
|
__name: "MenuItem",
|
6916
6774
|
props: {
|
6917
6775
|
href: String,
|
@@ -6956,7 +6814,7 @@ const ae = {
|
|
6956
6814
|
class: "mr-2 h-4 w-4"
|
6957
6815
|
}, null, 8, ["name"])) : h("", !0),
|
6958
6816
|
B(u.$slots, "default"),
|
6959
|
-
e.shortcut ? (o(), d("span",
|
6817
|
+
e.shortcut ? (o(), d("span", Fu, x(e.shortcut), 1)) : h("", !0),
|
6960
6818
|
e.hasSubmenu ? (o(), R(ae, {
|
6961
6819
|
key: 2,
|
6962
6820
|
name: "chevron-right",
|
@@ -7063,26 +6921,26 @@ const ae = {
|
|
7063
6921
|
})
|
7064
6922
|
]));
|
7065
6923
|
}
|
7066
|
-
},
|
6924
|
+
}, Eu = { class: "flex flex-col space-y-1.5 text-center sm:text-left" }, Lu = {
|
7067
6925
|
key: 0,
|
7068
6926
|
class: "text-lg font-semibold leading-none tracking-tight"
|
7069
|
-
},
|
6927
|
+
}, _u = {
|
7070
6928
|
key: 1,
|
7071
6929
|
class: "text-sm text-muted-foreground"
|
7072
|
-
},
|
6930
|
+
}, Ru = {
|
7073
6931
|
__name: "ModalHeader",
|
7074
6932
|
props: {
|
7075
6933
|
title: String,
|
7076
6934
|
description: String
|
7077
6935
|
},
|
7078
6936
|
setup(e) {
|
7079
|
-
return (a, t) => (o(), d("div",
|
7080
|
-
e.title ? (o(), d("h2",
|
7081
|
-
e.description ? (o(), d("p",
|
6937
|
+
return (a, t) => (o(), d("div", Eu, [
|
6938
|
+
e.title ? (o(), d("h2", Lu, x(e.title), 1)) : h("", !0),
|
6939
|
+
e.description ? (o(), d("p", _u, x(e.description), 1)) : h("", !0),
|
7082
6940
|
B(a.$slots, "default")
|
7083
6941
|
]));
|
7084
6942
|
}
|
7085
|
-
},
|
6943
|
+
}, qu = {
|
7086
6944
|
__name: "ModalBody",
|
7087
6945
|
props: {
|
7088
6946
|
variant: {
|
@@ -7108,7 +6966,7 @@ const ae = {
|
|
7108
6966
|
B(r.$slots, "default")
|
7109
6967
|
], 2));
|
7110
6968
|
}
|
7111
|
-
},
|
6969
|
+
}, Yu = {
|
7112
6970
|
__name: "ModalFooter",
|
7113
6971
|
props: {
|
7114
6972
|
variant: {
|
@@ -7134,13 +6992,13 @@ const ae = {
|
|
7134
6992
|
B(r.$slots, "default")
|
7135
6993
|
], 2));
|
7136
6994
|
}
|
7137
|
-
},
|
6995
|
+
}, Uu = ["aria-live"], Wu = { class: "flex items-start space-x-3" }, Hu = {
|
7138
6996
|
key: 0,
|
7139
6997
|
class: "flex-shrink-0"
|
7140
|
-
},
|
6998
|
+
}, Gu = { class: "flex-1 min-w-0" }, Ku = {
|
7141
6999
|
key: 0,
|
7142
7000
|
class: "text-sm font-medium"
|
7143
|
-
},
|
7001
|
+
}, Xu = {
|
7144
7002
|
__name: "Notification",
|
7145
7003
|
props: {
|
7146
7004
|
title: String,
|
@@ -7216,15 +7074,15 @@ const ae = {
|
|
7216
7074
|
role: "alert",
|
7217
7075
|
"aria-live": e.variant === "destructive" ? "assertive" : "polite"
|
7218
7076
|
}, [
|
7219
|
-
i("div",
|
7220
|
-
e.showIcon ? (o(), d("div",
|
7077
|
+
i("div", Wu, [
|
7078
|
+
e.showIcon ? (o(), d("div", Hu, [
|
7221
7079
|
P(ae, {
|
7222
7080
|
name: y.value,
|
7223
7081
|
class: m(w.value)
|
7224
7082
|
}, null, 8, ["name", "class"])
|
7225
7083
|
])) : h("", !0),
|
7226
|
-
i("div",
|
7227
|
-
e.title ? (o(), d("div",
|
7084
|
+
i("div", Gu, [
|
7085
|
+
e.title ? (o(), d("div", Ku, x(e.title), 1)) : h("", !0),
|
7228
7086
|
e.message ? (o(), d("div", {
|
7229
7087
|
key: 1,
|
7230
7088
|
class: m(["text-sm", { "mt-1": e.title }])
|
@@ -7242,23 +7100,23 @@ const ae = {
|
|
7242
7100
|
})
|
7243
7101
|
])) : h("", !0)
|
7244
7102
|
])
|
7245
|
-
], 10,
|
7103
|
+
], 10, Uu)) : h("", !0)
|
7246
7104
|
]),
|
7247
7105
|
_: 3
|
7248
7106
|
}));
|
7249
7107
|
}
|
7250
7108
|
}, Xe = U([]);
|
7251
|
-
let
|
7252
|
-
const
|
7109
|
+
let Ju = 0;
|
7110
|
+
const Qu = {
|
7253
7111
|
duration: 3e3,
|
7254
7112
|
position: "top-center",
|
7255
7113
|
dismissible: !0,
|
7256
7114
|
closeButton: !1
|
7257
|
-
},
|
7258
|
-
const t =
|
7115
|
+
}, Zu = () => `toast-${++Ju}-${Date.now()}`, Se = (e, a = {}) => {
|
7116
|
+
const t = Zu(), n = {
|
7259
7117
|
id: t,
|
7260
7118
|
message: e,
|
7261
|
-
...
|
7119
|
+
...Qu,
|
7262
7120
|
...a,
|
7263
7121
|
createdAt: Date.now()
|
7264
7122
|
};
|
@@ -7318,20 +7176,20 @@ const cd = {
|
|
7318
7176
|
component: Ka(e)
|
7319
7177
|
})
|
7320
7178
|
}
|
7321
|
-
),
|
7179
|
+
), ed = () => ({
|
7322
7180
|
toasts: Xe,
|
7323
7181
|
dismiss: Ge,
|
7324
7182
|
dismissAll: rr
|
7325
|
-
}),
|
7183
|
+
}), td = ["aria-live"], ad = { class: "flex-1 grid gap-1" }, nd = {
|
7326
7184
|
key: 0,
|
7327
7185
|
class: "text-lg font-extrabold"
|
7328
|
-
},
|
7186
|
+
}, rd = {
|
7329
7187
|
key: 1,
|
7330
7188
|
class: "text-md opacity-90"
|
7331
|
-
},
|
7189
|
+
}, sd = {
|
7332
7190
|
key: 2,
|
7333
7191
|
class: "text-md opacity-90"
|
7334
|
-
},
|
7192
|
+
}, ld = ["onClick"], od = ["onClick"], id = {
|
7335
7193
|
__name: "Toast",
|
7336
7194
|
props: {
|
7337
7195
|
position: {
|
@@ -7368,7 +7226,7 @@ const cd = {
|
|
7368
7226
|
}
|
7369
7227
|
},
|
7370
7228
|
setup(e) {
|
7371
|
-
const a = e, { toasts: t, dismiss: n } =
|
7229
|
+
const a = e, { toasts: t, dismiss: n } = ed(), r = {
|
7372
7230
|
"top-left": "top-0 left-0 flex-col",
|
7373
7231
|
"top-center": "top-0 left-1/2 -translate-x-1/2 flex-col",
|
7374
7232
|
"top-right": "top-0 right-0 flex-col",
|
@@ -7440,10 +7298,10 @@ const cd = {
|
|
7440
7298
|
icon: w(b),
|
7441
7299
|
class: m([C(b), "h-4 w-4 shrink-0"])
|
7442
7300
|
}, 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",
|
7301
|
+
i("div", ad, [
|
7302
|
+
b.title ? (o(), d("div", nd, x(b.title), 1)) : h("", !0),
|
7303
|
+
b.message ? (o(), d("div", rd, x(b.message), 1)) : h("", !0),
|
7304
|
+
b.description ? (o(), d("div", sd, x(b.description), 1)) : h("", !0),
|
7447
7305
|
b.component ? (o(), R(ve(b.component), Le({
|
7448
7306
|
key: 3,
|
7449
7307
|
ref_for: !0
|
@@ -7453,7 +7311,7 @@ const cd = {
|
|
7453
7311
|
key: 1,
|
7454
7312
|
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
7313
|
onClick: b.action.onClick
|
7456
|
-
}, x(b.action.label), 9,
|
7314
|
+
}, x(b.action.label), 9, ld)) : h("", !0),
|
7457
7315
|
$(b) ? (o(), d("button", {
|
7458
7316
|
key: 2,
|
7459
7317
|
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 +7321,36 @@ const cd = {
|
|
7463
7321
|
icon: "x",
|
7464
7322
|
class: "h-4 w-4"
|
7465
7323
|
})
|
7466
|
-
], 8,
|
7467
|
-
], 10,
|
7324
|
+
], 8, od)) : h("", !0)
|
7325
|
+
], 10, td))), 128))
|
7468
7326
|
]),
|
7469
7327
|
_: 1
|
7470
7328
|
})
|
7471
7329
|
], 2)
|
7472
7330
|
]));
|
7473
7331
|
}
|
7474
|
-
},
|
7332
|
+
}, 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
7333
|
key: 0,
|
7476
7334
|
class: "absolute right-3 top-1/2 transform -translate-y-1/2"
|
7477
|
-
},
|
7335
|
+
}, md = ["aria-label"], gd = {
|
7478
7336
|
key: 1,
|
7479
7337
|
class: "animate-spin"
|
7480
|
-
},
|
7338
|
+
}, vd = {
|
7481
7339
|
key: 0,
|
7482
7340
|
class: "max-h-64 overflow-y-auto"
|
7483
|
-
},
|
7341
|
+
}, bd = ["onClick", "onMouseenter"], hd = { class: "flex-1 text-left" }, yd = { class: "font-medium text-slate-900" }, pd = {
|
7484
7342
|
key: 0,
|
7485
7343
|
class: "text-sm text-slate-500 truncate"
|
7486
|
-
},
|
7344
|
+
}, xd = {
|
7487
7345
|
key: 1,
|
7488
7346
|
class: "text-xs text-slate-400 ml-3"
|
7489
|
-
},
|
7347
|
+
}, wd = {
|
7490
7348
|
key: 1,
|
7491
7349
|
class: "px-4 py-3 text-sm text-slate-500 text-center"
|
7492
|
-
},
|
7350
|
+
}, kd = {
|
7493
7351
|
key: 2,
|
7494
7352
|
class: "border-t border-slate-200 p-2"
|
7495
|
-
},
|
7353
|
+
}, Sd = {
|
7496
7354
|
__name: "Search",
|
7497
7355
|
props: {
|
7498
7356
|
modelValue: { type: String, default: "" },
|
@@ -7606,8 +7464,8 @@ const cd = {
|
|
7606
7464
|
ref: u,
|
7607
7465
|
class: "relative"
|
7608
7466
|
}, [
|
7609
|
-
i("div",
|
7610
|
-
i("div",
|
7467
|
+
i("div", ud, [
|
7468
|
+
i("div", dd, [
|
7611
7469
|
P(t, {
|
7612
7470
|
class: m(ne.value)
|
7613
7471
|
}, null, 8, ["class"])
|
@@ -7623,8 +7481,8 @@ const cd = {
|
|
7623
7481
|
onFocus: $,
|
7624
7482
|
onBlur: z,
|
7625
7483
|
onKeydown: f
|
7626
|
-
}, null, 42,
|
7627
|
-
e.modelValue || e.loading ? (o(), d("div",
|
7484
|
+
}, null, 42, cd),
|
7485
|
+
e.modelValue || e.loading ? (o(), d("div", fd, [
|
7628
7486
|
!e.loading && e.clearable ? (o(), d("button", {
|
7629
7487
|
key: 0,
|
7630
7488
|
class: "text-slate-400 hover:text-slate-600 transition-colors p-1 rounded-full hover:bg-slate-100",
|
@@ -7632,7 +7490,7 @@ const cd = {
|
|
7632
7490
|
onClick: g
|
7633
7491
|
}, [
|
7634
7492
|
P(n, { class: "w-4 h-4" })
|
7635
|
-
], 8,
|
7493
|
+
], 8, md)) : e.loading ? (o(), d("div", gd, [
|
7636
7494
|
P(r, { class: "w-4 h-4 text-slate-400" })
|
7637
7495
|
])) : h("", !0)
|
7638
7496
|
])) : h("", !0)
|
@@ -7650,7 +7508,7 @@ const cd = {
|
|
7650
7508
|
key: 0,
|
7651
7509
|
class: m(q.value)
|
7652
7510
|
}, [
|
7653
|
-
e.results.length > 0 ? (o(), d("div",
|
7511
|
+
e.results.length > 0 ? (o(), d("div", vd, [
|
7654
7512
|
(o(!0), d(K, null, J(e.results, (W, k) => (o(), d("button", {
|
7655
7513
|
key: W.id || k,
|
7656
7514
|
class: m(se(k)),
|
@@ -7661,14 +7519,14 @@ const cd = {
|
|
7661
7519
|
key: 0,
|
7662
7520
|
class: "w-4 h-4 mr-3 flex-shrink-0"
|
7663
7521
|
})) : h("", !0),
|
7664
|
-
i("div",
|
7665
|
-
i("div",
|
7666
|
-
W.description ? (o(), d("div",
|
7522
|
+
i("div", hd, [
|
7523
|
+
i("div", yd, x(p(W.title)), 1),
|
7524
|
+
W.description ? (o(), d("div", pd, x(p(W.description)), 1)) : h("", !0)
|
7667
7525
|
]),
|
7668
|
-
W.category ? (o(), d("div",
|
7669
|
-
], 42,
|
7670
|
-
])) : e.showNoResults ? (o(), d("div",
|
7671
|
-
L.$slots.footer ? (o(), d("div",
|
7526
|
+
W.category ? (o(), d("div", xd, x(W.category), 1)) : h("", !0)
|
7527
|
+
], 42, bd))), 128))
|
7528
|
+
])) : e.showNoResults ? (o(), d("div", wd, x(e.noResultsText), 1)) : h("", !0),
|
7529
|
+
L.$slots.footer ? (o(), d("div", kd, [
|
7672
7530
|
B(L.$slots, "footer")
|
7673
7531
|
])) : h("", !0)
|
7674
7532
|
], 2)) : h("", !0)
|
@@ -7677,7 +7535,7 @@ const cd = {
|
|
7677
7535
|
})
|
7678
7536
|
], 512));
|
7679
7537
|
}
|
7680
|
-
},
|
7538
|
+
}, Cd = { class: "w-full" }, $d = ["min", "max", "step", "value"], zd = { class: "flex justify-between text-xs text-slate-500 mt-1" }, sr = {
|
7681
7539
|
__name: "Slider",
|
7682
7540
|
props: {
|
7683
7541
|
modelValue: { type: [Number, String], default: 0 },
|
@@ -7690,7 +7548,7 @@ const cd = {
|
|
7690
7548
|
const t = a, n = (r) => {
|
7691
7549
|
t("update:modelValue", Number(r.target.value));
|
7692
7550
|
};
|
7693
|
-
return (r, l) => (o(), d("div",
|
7551
|
+
return (r, l) => (o(), d("div", Cd, [
|
7694
7552
|
i("input", {
|
7695
7553
|
type: "range",
|
7696
7554
|
min: e.min,
|
@@ -7699,25 +7557,25 @@ const cd = {
|
|
7699
7557
|
value: e.modelValue,
|
7700
7558
|
class: "w-full accent-blue-500 cursor-pointer",
|
7701
7559
|
onInput: n
|
7702
|
-
}, null, 40,
|
7703
|
-
i("div",
|
7560
|
+
}, null, 40, $d),
|
7561
|
+
i("div", zd, [
|
7704
7562
|
i("span", null, x(e.min), 1),
|
7705
7563
|
i("span", null, x(e.modelValue), 1),
|
7706
7564
|
i("span", null, x(e.max), 1)
|
7707
7565
|
])
|
7708
7566
|
]));
|
7709
7567
|
}
|
7710
|
-
},
|
7568
|
+
}, Ad = { class: "flex items-center space-x-4" }, Id = {
|
7711
7569
|
__name: "Stepper",
|
7712
7570
|
setup(e) {
|
7713
|
-
return (a, t) => (o(), d("div",
|
7571
|
+
return (a, t) => (o(), d("div", Ad, [
|
7714
7572
|
B(a.$slots, "default")
|
7715
7573
|
]));
|
7716
7574
|
}
|
7717
|
-
},
|
7575
|
+
}, Pd = { class: "flex items-center" }, Td = { class: "ml-2" }, jd = { class: "font-medium" }, Bd = {
|
7718
7576
|
key: 0,
|
7719
7577
|
class: "text-sm text-slate-400"
|
7720
|
-
},
|
7578
|
+
}, Od = {
|
7721
7579
|
__name: "StepperItem",
|
7722
7580
|
props: {
|
7723
7581
|
step: { type: Number, required: !0 },
|
@@ -7727,7 +7585,7 @@ const cd = {
|
|
7727
7585
|
completed: { type: Boolean, default: !1 }
|
7728
7586
|
},
|
7729
7587
|
setup(e) {
|
7730
|
-
return (a, t) => (o(), d("div",
|
7588
|
+
return (a, t) => (o(), d("div", Pd, [
|
7731
7589
|
i("div", {
|
7732
7590
|
class: m([
|
7733
7591
|
"flex items-center justify-center w-8 h-8 rounded-full border-2",
|
@@ -7736,16 +7594,16 @@ const cd = {
|
|
7736
7594
|
}, [
|
7737
7595
|
i("span", null, x(e.step), 1)
|
7738
7596
|
], 2),
|
7739
|
-
i("div",
|
7740
|
-
i("div",
|
7741
|
-
e.description ? (o(), d("div",
|
7597
|
+
i("div", Td, [
|
7598
|
+
i("div", jd, x(e.title), 1),
|
7599
|
+
e.description ? (o(), d("div", Bd, x(e.description), 1)) : h("", !0)
|
7742
7600
|
])
|
7743
7601
|
]));
|
7744
7602
|
}
|
7745
|
-
},
|
7603
|
+
}, Vd = { class: "w-full" }, Dd = {
|
7746
7604
|
class: "flex space-x-1 border-b border-slate-200",
|
7747
7605
|
role: "tablist"
|
7748
|
-
},
|
7606
|
+
}, Md = ["id", "disabled", "aria-selected", "aria-controls", "onClick"], Fd = { class: "mt-4" }, Nd = {
|
7749
7607
|
__name: "Tab",
|
7750
7608
|
props: {
|
7751
7609
|
defaultIndex: { type: Number, default: 0 },
|
@@ -7783,8 +7641,8 @@ const cd = {
|
|
7783
7641
|
unregisterTab: (c) => {
|
7784
7642
|
l.value.splice(c, 1);
|
7785
7643
|
}
|
7786
|
-
}), (c, y) => (o(), d("div",
|
7787
|
-
i("div",
|
7644
|
+
}), (c, y) => (o(), d("div", Vd, [
|
7645
|
+
i("div", Dd, [
|
7788
7646
|
(o(!0), d(K, null, J(l.value, (w, C) => (o(), d("button", {
|
7789
7647
|
id: `tab-${C}`,
|
7790
7648
|
key: C,
|
@@ -7798,17 +7656,17 @@ const cd = {
|
|
7798
7656
|
"aria-controls": `panel-${C}`,
|
7799
7657
|
role: "tab",
|
7800
7658
|
onClick: (D) => !t.loading && s(C)
|
7801
|
-
}, x(w.label), 11,
|
7659
|
+
}, x(w.label), 11, Md))), 128))
|
7802
7660
|
]),
|
7803
|
-
i("div",
|
7661
|
+
i("div", Fd, [
|
7804
7662
|
B(c.$slots, "default")
|
7805
7663
|
])
|
7806
7664
|
]));
|
7807
7665
|
}
|
7808
|
-
},
|
7666
|
+
}, Ed = ["id", "aria-labelledby"], Ld = {
|
7809
7667
|
key: 0,
|
7810
7668
|
class: "flex items-center justify-center p-8"
|
7811
|
-
},
|
7669
|
+
}, _d = {
|
7812
7670
|
__name: "TabPanel",
|
7813
7671
|
props: {
|
7814
7672
|
label: { type: String, required: !0 },
|
@@ -7830,17 +7688,17 @@ const cd = {
|
|
7830
7688
|
role: "tabpanel",
|
7831
7689
|
"aria-labelledby": `tab-${n.value}`
|
7832
7690
|
}, [
|
7833
|
-
e.loading ? (o(), d("div",
|
7691
|
+
e.loading ? (o(), d("div", Ld, [
|
7834
7692
|
P(ua, {
|
7835
7693
|
size: "lg",
|
7836
7694
|
label: `Loading ${a.label}`
|
7837
7695
|
}, null, 8, ["label"])
|
7838
7696
|
])) : B(l.$slots, "default", { key: 1 })
|
7839
|
-
], 8,
|
7697
|
+
], 8, Ed)), [
|
7840
7698
|
[Ja, r.value]
|
7841
7699
|
]);
|
7842
7700
|
}
|
7843
|
-
},
|
7701
|
+
}, 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
7702
|
__name: "Accordion",
|
7845
7703
|
props: {
|
7846
7704
|
items: {
|
@@ -7967,13 +7825,13 @@ const cd = {
|
|
7967
7825
|
"aria-controls": `panel-${j.id || A}`,
|
7968
7826
|
onClick: (ne) => s(A)
|
7969
7827
|
}, [
|
7970
|
-
i("div",
|
7828
|
+
i("div", qd, [
|
7971
7829
|
B(p.$slots, `header-${A}`, {
|
7972
7830
|
item: j,
|
7973
7831
|
index: A,
|
7974
7832
|
isExpanded: u(A)
|
7975
7833
|
}, () => [
|
7976
|
-
j.title ? (o(), d("div",
|
7834
|
+
j.title ? (o(), d("div", Yd, x(j.title), 1)) : h("", !0)
|
7977
7835
|
])
|
7978
7836
|
]),
|
7979
7837
|
i("div", {
|
@@ -7981,7 +7839,7 @@ const cd = {
|
|
7981
7839
|
}, [
|
7982
7840
|
P(t, { class: "w-5 h-5 transition-transform duration-200" })
|
7983
7841
|
], 2)
|
7984
|
-
], 10,
|
7842
|
+
], 10, Rd),
|
7985
7843
|
P(ue, {
|
7986
7844
|
"enter-active-class": "transition-all duration-300 ease-out",
|
7987
7845
|
"enter-from-class": "opacity-0 max-h-0",
|
@@ -8006,17 +7864,17 @@ const cd = {
|
|
8006
7864
|
item: j,
|
8007
7865
|
index: A
|
8008
7866
|
}, () => [
|
8009
|
-
j.content ? (o(), d("div",
|
7867
|
+
j.content ? (o(), d("div", Wd, x(j.content), 1)) : h("", !0)
|
8010
7868
|
])
|
8011
7869
|
])
|
8012
|
-
], 10,
|
7870
|
+
], 10, Ud)) : h("", !0)
|
8013
7871
|
]),
|
8014
7872
|
_: 2
|
8015
7873
|
}, 1024)
|
8016
7874
|
], 2))), 128))
|
8017
7875
|
], 2));
|
8018
7876
|
}
|
8019
|
-
},
|
7877
|
+
}, Gd = {
|
8020
7878
|
__name: "AccordionItem",
|
8021
7879
|
props: {
|
8022
7880
|
variant: {
|
@@ -8108,10 +7966,10 @@ const cd = {
|
|
8108
7966
|
})
|
8109
7967
|
], 2));
|
8110
7968
|
}
|
8111
|
-
},
|
7969
|
+
}, 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
7970
|
key: 0,
|
8113
7971
|
class: "mt-4 pt-3 border-t border-slate-200"
|
8114
|
-
},
|
7972
|
+
}, rc = {
|
8115
7973
|
__name: "Calendar",
|
8116
7974
|
props: {
|
8117
7975
|
id: String,
|
@@ -8220,8 +8078,8 @@ const cd = {
|
|
8220
8078
|
document.addEventListener("keydown", Z);
|
8221
8079
|
}), Ha(() => {
|
8222
8080
|
document.removeEventListener("keydown", Z);
|
8223
|
-
}), (W, k) => (o(), d("div",
|
8224
|
-
i("div",
|
8081
|
+
}), (W, k) => (o(), d("div", Kd, [
|
8082
|
+
i("div", Xd, [
|
8225
8083
|
i("input", {
|
8226
8084
|
id: e.id,
|
8227
8085
|
type: "text",
|
@@ -8233,7 +8091,7 @@ const cd = {
|
|
8233
8091
|
"aria-describedby": e.ariaDescribedby,
|
8234
8092
|
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
8093
|
onClick: j
|
8236
|
-
}, null, 8,
|
8094
|
+
}, null, 8, Jd),
|
8237
8095
|
k[2] || (k[2] = i("div", { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" }, [
|
8238
8096
|
i("svg", {
|
8239
8097
|
class: "w-5 h-5 text-slate-400",
|
@@ -8286,7 +8144,7 @@ const cd = {
|
|
8286
8144
|
onClick: k[0] || (k[0] = Ve(() => {
|
8287
8145
|
}, ["stop"]))
|
8288
8146
|
}, [
|
8289
|
-
i("div",
|
8147
|
+
i("div", Qd, [
|
8290
8148
|
i("button", {
|
8291
8149
|
type: "button",
|
8292
8150
|
class: "p-1 hover:bg-gray-100 rounded",
|
@@ -8307,7 +8165,7 @@ const cd = {
|
|
8307
8165
|
})
|
8308
8166
|
], -1)
|
8309
8167
|
])]),
|
8310
|
-
i("div",
|
8168
|
+
i("div", Zd, x(w.value) + " " + x(u.value), 1),
|
8311
8169
|
i("button", {
|
8312
8170
|
type: "button",
|
8313
8171
|
class: "p-1 hover:bg-gray-100 rounded",
|
@@ -8329,13 +8187,13 @@ const cd = {
|
|
8329
8187
|
], -1)
|
8330
8188
|
])])
|
8331
8189
|
]),
|
8332
|
-
i("div",
|
8190
|
+
i("div", ec, [
|
8333
8191
|
(o(), d(K, null, J(y, (T) => i("div", {
|
8334
8192
|
key: T,
|
8335
8193
|
class: "text-center text-xs font-medium text-slate-600 py-1"
|
8336
8194
|
}, x(T), 1)), 64))
|
8337
8195
|
]),
|
8338
|
-
i("div",
|
8196
|
+
i("div", tc, [
|
8339
8197
|
(o(!0), d(K, null, J($.value, (T, _) => (o(), d("div", {
|
8340
8198
|
key: "prev-" + _,
|
8341
8199
|
class: "text-center text-sm text-slate-300 py-2"
|
@@ -8350,13 +8208,13 @@ const cd = {
|
|
8350
8208
|
V(T) ? "text-gray-300 cursor-not-allowed" : ""
|
8351
8209
|
]),
|
8352
8210
|
onClick: (_) => se(T)
|
8353
|
-
}, x(T), 11,
|
8211
|
+
}, x(T), 11, ac))), 128)),
|
8354
8212
|
(o(!0), d(K, null, J(z.value, (T, _) => (o(), d("div", {
|
8355
8213
|
key: "next-" + _,
|
8356
8214
|
class: "text-center text-sm text-slate-300 py-2"
|
8357
8215
|
}, x(T), 1))), 128))
|
8358
8216
|
]),
|
8359
|
-
e.showToday ? (o(), d("div",
|
8217
|
+
e.showToday ? (o(), d("div", nc, [
|
8360
8218
|
i("button", {
|
8361
8219
|
type: "button",
|
8362
8220
|
class: "w-full px-3 py-2 text-sm font-medium text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",
|
@@ -8374,7 +8232,7 @@ const cd = {
|
|
8374
8232
|
})) : h("", !0)
|
8375
8233
|
]));
|
8376
8234
|
}
|
8377
|
-
},
|
8235
|
+
}, sc = { class: "flex items-start justify-between" }, lc = {
|
8378
8236
|
key: 0,
|
8379
8237
|
class: "flex items-center gap-2"
|
8380
8238
|
}, lr = {
|
@@ -8454,7 +8312,7 @@ const cd = {
|
|
8454
8312
|
class: m(l.value)
|
8455
8313
|
}, [
|
8456
8314
|
B(c.$slots, "header", {}, () => [
|
8457
|
-
i("div",
|
8315
|
+
i("div", sc, [
|
8458
8316
|
i("div", null, [
|
8459
8317
|
e.title ? (o(), R(Yt, {
|
8460
8318
|
key: 0,
|
@@ -8475,7 +8333,7 @@ const cd = {
|
|
8475
8333
|
_: 1
|
8476
8334
|
}, 8, ["class"])) : h("", !0)
|
8477
8335
|
]),
|
8478
|
-
c.$slots.filters ? (o(), d("div",
|
8336
|
+
c.$slots.filters ? (o(), d("div", lc, [
|
8479
8337
|
B(c.$slots, "filters")
|
8480
8338
|
])) : h("", !0)
|
8481
8339
|
])
|
@@ -8661,19 +8519,19 @@ const cd = {
|
|
8661
8519
|
], 2)) : h("", !0)
|
8662
8520
|
], 2));
|
8663
8521
|
}
|
8664
|
-
},
|
8522
|
+
}, oc = { class: "flex items-center justify-between" }, ic = {
|
8665
8523
|
key: 0,
|
8666
8524
|
class: "text-sm text-slate-600"
|
8667
|
-
},
|
8525
|
+
}, uc = {
|
8668
8526
|
key: 1,
|
8669
8527
|
class: "text-sm text-slate-600"
|
8670
|
-
},
|
8528
|
+
}, dc = {
|
8671
8529
|
key: 2,
|
8672
8530
|
class: "flex items-center gap-4"
|
8673
|
-
},
|
8531
|
+
}, cc = {
|
8674
8532
|
key: 3,
|
8675
8533
|
class: "flex items-center gap-4"
|
8676
|
-
},
|
8534
|
+
}, 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
8535
|
__name: "DataTablePagination",
|
8678
8536
|
props: {
|
8679
8537
|
currentPage: {
|
@@ -8814,13 +8672,13 @@ const cd = {
|
|
8814
8672
|
key: 0,
|
8815
8673
|
class: m(y.value)
|
8816
8674
|
}, [
|
8817
|
-
i("div",
|
8818
|
-
e.selectable && e.selectedCount > 0 ? (o(), d("div",
|
8819
|
-
$.$slots.footer ? (o(), d("div",
|
8675
|
+
i("div", oc, [
|
8676
|
+
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)),
|
8677
|
+
$.$slots.footer ? (o(), d("div", dc, [
|
8820
8678
|
B($.$slots, "footer")
|
8821
8679
|
])) : h("", !0),
|
8822
|
-
e.showPagination ? (o(), d("div",
|
8823
|
-
i("div",
|
8680
|
+
e.showPagination ? (o(), d("div", cc, [
|
8681
|
+
i("div", fc, [
|
8824
8682
|
P(da, {
|
8825
8683
|
for: "pageSize",
|
8826
8684
|
class: m(w.value),
|
@@ -8847,7 +8705,7 @@ const cd = {
|
|
8847
8705
|
_: 1
|
8848
8706
|
}, 8, ["model-value", "class"])
|
8849
8707
|
]),
|
8850
|
-
i("div",
|
8708
|
+
i("div", mc, [
|
8851
8709
|
i("button", {
|
8852
8710
|
disabled: e.currentPage === 1,
|
8853
8711
|
class: m(D(!1, e.currentPage === 1)),
|
@@ -8867,7 +8725,7 @@ const cd = {
|
|
8867
8725
|
d: "m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"
|
8868
8726
|
})
|
8869
8727
|
], -1)
|
8870
|
-
])], 10,
|
8728
|
+
])], 10, gc),
|
8871
8729
|
i("button", {
|
8872
8730
|
disabled: e.currentPage === 1,
|
8873
8731
|
class: m(D(!1, e.currentPage === 1)),
|
@@ -8887,13 +8745,13 @@ const cd = {
|
|
8887
8745
|
d: "M15.75 19.5L8.25 12l7.5-7.5"
|
8888
8746
|
})
|
8889
8747
|
], -1)
|
8890
|
-
])], 10,
|
8891
|
-
i("div",
|
8748
|
+
])], 10, vc),
|
8749
|
+
i("div", bc, [
|
8892
8750
|
(o(!0), d(K, null, J(c.value, (g) => (o(), d("button", {
|
8893
8751
|
key: g,
|
8894
8752
|
class: m(D(g === e.currentPage, !1)),
|
8895
8753
|
onClick: (b) => $.$emit("update:currentPage", g)
|
8896
|
-
}, x(g), 11,
|
8754
|
+
}, x(g), 11, hc))), 128))
|
8897
8755
|
]),
|
8898
8756
|
i("button", {
|
8899
8757
|
disabled: e.currentPage === e.totalPages,
|
@@ -8914,7 +8772,7 @@ const cd = {
|
|
8914
8772
|
d: "m8.25 4.5 7.5 7.5-7.5 7.5"
|
8915
8773
|
})
|
8916
8774
|
], -1)
|
8917
|
-
])], 10,
|
8775
|
+
])], 10, yc),
|
8918
8776
|
i("button", {
|
8919
8777
|
disabled: e.currentPage === e.totalPages,
|
8920
8778
|
class: m(D(!1, e.currentPage === e.totalPages)),
|
@@ -8934,17 +8792,22 @@ const cd = {
|
|
8934
8792
|
d: "m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"
|
8935
8793
|
})
|
8936
8794
|
], -1)
|
8937
|
-
])], 10,
|
8795
|
+
])], 10, pc)
|
8938
8796
|
]),
|
8939
|
-
i("div",
|
8797
|
+
i("div", xc, " Page " + x(e.currentPage) + " of " + x(e.totalPages), 1)
|
8940
8798
|
])) : h("", !0)
|
8941
8799
|
])
|
8942
8800
|
], 2)) : h("", !0);
|
8943
8801
|
}
|
8944
|
-
},
|
8802
|
+
}, yt = (e, a) => {
|
8803
|
+
const t = e.__vccOpts || e;
|
8804
|
+
for (const [n, r] of a)
|
8805
|
+
t[n] = r;
|
8806
|
+
return t;
|
8807
|
+
}, wc = { class: "relative" }, kc = { class: "flex items-center justify-center" }, Sc = ["onClick"], Cc = { class: "flex items-center gap-2" }, $c = {
|
8945
8808
|
key: 1,
|
8946
8809
|
class: "flex flex-col"
|
8947
|
-
},
|
8810
|
+
}, 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
8811
|
__name: "DataTable",
|
8949
8812
|
props: {
|
8950
8813
|
data: {
|
@@ -9274,8 +9137,8 @@ const cd = {
|
|
9274
9137
|
]),
|
9275
9138
|
_: 3
|
9276
9139
|
}, 8, ["title", "description", "variant", "padding"])) : h("", !0),
|
9277
|
-
i("div",
|
9278
|
-
e.loading ? (o(), R(Ye, {
|
9140
|
+
i("div", wc, [
|
9141
|
+
e.loading ? (o(), R(N(Ye), {
|
9279
9142
|
key: 0,
|
9280
9143
|
loading: !0,
|
9281
9144
|
type: e.loadingType,
|
@@ -9301,8 +9164,8 @@ const cd = {
|
|
9301
9164
|
key: 0,
|
9302
9165
|
class: m(he.value)
|
9303
9166
|
}, [
|
9304
|
-
i("div",
|
9305
|
-
e.bulkLoading ? (o(), R(Ye, {
|
9167
|
+
i("div", kc, [
|
9168
|
+
e.bulkLoading ? (o(), R(N(Ye), {
|
9306
9169
|
key: 0,
|
9307
9170
|
loading: !0,
|
9308
9171
|
type: "spin",
|
@@ -9322,15 +9185,15 @@ const cd = {
|
|
9322
9185
|
class: m(re(Q)),
|
9323
9186
|
onClick: (ge) => se(Q)
|
9324
9187
|
}, [
|
9325
|
-
i("div",
|
9188
|
+
i("div", Cc, [
|
9326
9189
|
i("span", null, x(Q.label), 1),
|
9327
|
-
e.sortLoading && u.value === Q.key ? (o(), R(Ye, {
|
9190
|
+
e.sortLoading && u.value === Q.key ? (o(), R(N(Ye), {
|
9328
9191
|
key: 0,
|
9329
9192
|
loading: !0,
|
9330
9193
|
type: "spin",
|
9331
9194
|
size: "small",
|
9332
9195
|
color: e.loadingColor
|
9333
|
-
}, null, 8, ["color"])) : Q.sortable ? (o(), d("div",
|
9196
|
+
}, null, 8, ["color"])) : Q.sortable ? (o(), d("div", $c, [
|
9334
9197
|
(o(), d("svg", {
|
9335
9198
|
class: m([Y(Q, "asc"), "w-3 h-3 transition-colors"]),
|
9336
9199
|
fill: "none",
|
@@ -9359,7 +9222,7 @@ const cd = {
|
|
9359
9222
|
])], 2))
|
9360
9223
|
])) : h("", !0)
|
9361
9224
|
])
|
9362
|
-
], 10,
|
9225
|
+
], 10, Sc))), 128)),
|
9363
9226
|
I.$slots.actions ? (o(), d("th", {
|
9364
9227
|
key: 1,
|
9365
9228
|
class: m(et.value)
|
@@ -9369,20 +9232,20 @@ const cd = {
|
|
9369
9232
|
i("tbody", {
|
9370
9233
|
class: m(_.value)
|
9371
9234
|
}, [
|
9372
|
-
e.dataLoading && !e.loading ? (o(), d("tr",
|
9235
|
+
e.dataLoading && !e.loading ? (o(), d("tr", zc, [
|
9373
9236
|
i("td", {
|
9374
9237
|
colspan: b.value,
|
9375
9238
|
class: m(X.value)
|
9376
9239
|
}, [
|
9377
|
-
i("div",
|
9378
|
-
P(Ye, {
|
9240
|
+
i("div", Ic, [
|
9241
|
+
P(N(Ye), {
|
9379
9242
|
loading: !0,
|
9380
9243
|
type: "dots",
|
9381
9244
|
size: "medium",
|
9382
9245
|
color: e.loadingColor
|
9383
9246
|
}, null, 8, ["color"])
|
9384
9247
|
])
|
9385
|
-
], 10,
|
9248
|
+
], 10, Ac)
|
9386
9249
|
])) : g.value.length > 0 && !e.loading ? (o(!0), d(K, { key: 1 }, J(g.value, (Q, ge) => (o(), R(or, {
|
9387
9250
|
key: j(Q, ge),
|
9388
9251
|
item: Q,
|
@@ -9410,24 +9273,24 @@ const cd = {
|
|
9410
9273
|
B(I.$slots, `cell-${Be.key}`, Le({ ref_for: !0 }, tt), void 0, !0)
|
9411
9274
|
])
|
9412
9275
|
}))
|
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",
|
9276
|
+
]), 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
9277
|
i("td", {
|
9415
9278
|
colspan: b.value,
|
9416
9279
|
class: m(X.value)
|
9417
9280
|
}, [
|
9418
9281
|
B(I.$slots, "empty", {}, () => [
|
9419
|
-
i("div",
|
9420
|
-
i("div",
|
9282
|
+
i("div", jc, [
|
9283
|
+
i("div", Bc, [
|
9421
9284
|
P(ae, {
|
9422
9285
|
name: "search",
|
9423
9286
|
class: "w-12 h-12"
|
9424
9287
|
})
|
9425
9288
|
]),
|
9426
|
-
i("p",
|
9289
|
+
i("p", Oc, x(e.emptyText), 1),
|
9427
9290
|
F[2] || (F[2] = i("p", { class: "text-slate-500 text-sm" }, " Try adjusting your search or filter criteria ", -1))
|
9428
9291
|
])
|
9429
9292
|
], !0)
|
9430
|
-
], 10,
|
9293
|
+
], 10, Tc)
|
9431
9294
|
])) : h("", !0),
|
9432
9295
|
e.showSkeleton && (e.loading || e.dataLoading) ? (o(!0), d(K, { key: 3 }, J(e.skeletonRows, (Q) => (o(), d("tr", {
|
9433
9296
|
key: `skeleton-${Q}`,
|
@@ -9482,7 +9345,7 @@ const cd = {
|
|
9482
9345
|
}, 8, ["current-page", "total-pages", "total", "page-size", "show-pagination", "selectable", "selected-count", "variant", "padding", "loading", "disabled"])) : h("", !0)
|
9483
9346
|
], 2));
|
9484
9347
|
}
|
9485
|
-
},
|
9348
|
+
}, Dc = /* @__PURE__ */ yt(Vc, [["__scopeId", "data-v-1d159ea7"]]), Mc = {
|
9486
9349
|
__name: "DataTableCell",
|
9487
9350
|
props: {
|
9488
9351
|
item: {
|
@@ -9570,16 +9433,16 @@ const cd = {
|
|
9570
9433
|
])
|
9571
9434
|
], 2));
|
9572
9435
|
}
|
9573
|
-
},
|
9436
|
+
}, 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
9437
|
key: 0,
|
9575
9438
|
class: "min-w-36"
|
9576
|
-
},
|
9439
|
+
}, Rc = { class: "relative" }, qc = ["value"], Yc = {
|
9577
9440
|
key: 1,
|
9578
9441
|
class: "flex items-center gap-2"
|
9579
|
-
},
|
9442
|
+
}, 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
9443
|
key: 2,
|
9581
9444
|
class: "px-6 py-3 bg-gray-50 border-t border-gray-200"
|
9582
|
-
},
|
9445
|
+
}, 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
9446
|
__name: "DataTableFilters",
|
9584
9447
|
props: {
|
9585
9448
|
searchQuery: {
|
@@ -9847,12 +9710,12 @@ const cd = {
|
|
9847
9710
|
};
|
9848
9711
|
return (X, Y) => {
|
9849
9712
|
const I = ie("font-awesome-icon");
|
9850
|
-
return o(), d("div",
|
9713
|
+
return o(), d("div", Fc, [
|
9851
9714
|
i("div", {
|
9852
9715
|
class: m(b.value)
|
9853
9716
|
}, [
|
9854
|
-
i("div",
|
9855
|
-
i("div",
|
9717
|
+
i("div", Nc, [
|
9718
|
+
i("div", Ec, [
|
9856
9719
|
P(I, {
|
9857
9720
|
icon: "magnifying-glass",
|
9858
9721
|
class: m(f.value)
|
@@ -9862,7 +9725,7 @@ const cd = {
|
|
9862
9725
|
placeholder: e.searchPlaceholder,
|
9863
9726
|
class: m(p.value),
|
9864
9727
|
onInput: Y[0] || (Y[0] = (F) => X.$emit("update:searchQuery", F.target.value))
|
9865
|
-
}, null, 42,
|
9728
|
+
}, null, 42, Lc),
|
9866
9729
|
e.searchQuery ? (o(), d("button", {
|
9867
9730
|
key: 0,
|
9868
9731
|
class: m(V.value),
|
@@ -9875,8 +9738,8 @@ const cd = {
|
|
9875
9738
|
], 2)) : h("", !0)
|
9876
9739
|
])
|
9877
9740
|
]),
|
9878
|
-
e.statusOptions.length > 0 ? (o(), d("div",
|
9879
|
-
i("div",
|
9741
|
+
e.statusOptions.length > 0 ? (o(), d("div", _c, [
|
9742
|
+
i("div", Rc, [
|
9880
9743
|
P(ht, {
|
9881
9744
|
"model-value": e.selectedStatus,
|
9882
9745
|
class: m(j.value),
|
@@ -9887,7 +9750,7 @@ const cd = {
|
|
9887
9750
|
(o(!0), d(K, null, J(e.statusOptions, (F) => (o(), d("option", {
|
9888
9751
|
key: F.value,
|
9889
9752
|
value: F.value
|
9890
|
-
}, x(F.label), 9,
|
9753
|
+
}, x(F.label), 9, qc))), 128))
|
9891
9754
|
]),
|
9892
9755
|
_: 1
|
9893
9756
|
}, 8, ["model-value", "class"]),
|
@@ -9915,10 +9778,10 @@ const cd = {
|
|
9915
9778
|
class: "w-4 h-4 ml-1"
|
9916
9779
|
}, null, 8, ["icon"])
|
9917
9780
|
], 2),
|
9918
|
-
X.$slots.filters ? (o(), d("div",
|
9781
|
+
X.$slots.filters ? (o(), d("div", Yc, [
|
9919
9782
|
B(X.$slots, "filters")
|
9920
9783
|
])) : h("", !0),
|
9921
|
-
i("div",
|
9784
|
+
i("div", Uc, [
|
9922
9785
|
$.value ? (o(), R(Ce, {
|
9923
9786
|
key: 0,
|
9924
9787
|
class: m(W.value),
|
@@ -9970,12 +9833,12 @@ const cd = {
|
|
9970
9833
|
key: 0,
|
9971
9834
|
class: m(q.value)
|
9972
9835
|
}, [
|
9973
|
-
i("div",
|
9836
|
+
i("div", Wc, [
|
9974
9837
|
(o(!0), d(K, null, J(e.dateFilters, (F) => (o(), d("div", {
|
9975
9838
|
key: F.key,
|
9976
9839
|
class: "space-y-3"
|
9977
9840
|
}, [
|
9978
|
-
i("div",
|
9841
|
+
i("div", Hc, [
|
9979
9842
|
i("label", {
|
9980
9843
|
class: m(oe.value)
|
9981
9844
|
}, x(F.label), 3),
|
@@ -9983,8 +9846,8 @@ const cd = {
|
|
9983
9846
|
class: m(w(F))
|
9984
9847
|
}, x(c(F) ? "Active" : "Inactive"), 3)
|
9985
9848
|
]),
|
9986
|
-
i("div",
|
9987
|
-
i("div",
|
9849
|
+
i("div", Gc, [
|
9850
|
+
i("div", Kc, [
|
9988
9851
|
P(I, {
|
9989
9852
|
icon: "calendar",
|
9990
9853
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
@@ -9995,12 +9858,12 @@ const cd = {
|
|
9995
9858
|
class: m(se.value),
|
9996
9859
|
placeholder: `From ${F.label}`,
|
9997
9860
|
onInput: (Q) => D(F.key, "from", Q.target.value)
|
9998
|
-
}, null, 42,
|
9861
|
+
}, null, 42, Xc)
|
9999
9862
|
]),
|
10000
9863
|
i("span", {
|
10001
9864
|
class: m(L.value)
|
10002
9865
|
}, "to", 2),
|
10003
|
-
i("div",
|
9866
|
+
i("div", Jc, [
|
10004
9867
|
P(I, {
|
10005
9868
|
icon: "calendar",
|
10006
9869
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
@@ -10011,7 +9874,7 @@ const cd = {
|
|
10011
9874
|
class: m(se.value),
|
10012
9875
|
placeholder: `To ${F.label}`,
|
10013
9876
|
onInput: (Q) => D(F.key, "to", Q.target.value)
|
10014
|
-
}, null, 42,
|
9877
|
+
}, null, 42, Qc)
|
10015
9878
|
]),
|
10016
9879
|
c(F) ? (o(), d("button", {
|
10017
9880
|
key: 0,
|
@@ -10023,7 +9886,7 @@ const cd = {
|
|
10023
9886
|
icon: "xmark",
|
10024
9887
|
class: "w-4 h-4"
|
10025
9888
|
})
|
10026
|
-
], 10,
|
9889
|
+
], 10, Zc)) : h("", !0)
|
10027
9890
|
])
|
10028
9891
|
]))), 128))
|
10029
9892
|
])
|
@@ -10032,7 +9895,7 @@ const cd = {
|
|
10032
9895
|
key: 1,
|
10033
9896
|
class: m(T.value)
|
10034
9897
|
}, [
|
10035
|
-
i("div",
|
9898
|
+
i("div", ef, [
|
10036
9899
|
i("span", {
|
10037
9900
|
class: m(_.value)
|
10038
9901
|
}, "Active filters:", 2),
|
@@ -10053,15 +9916,15 @@ const cd = {
|
|
10053
9916
|
icon: "xmark",
|
10054
9917
|
class: "w-3 h-3"
|
10055
9918
|
})
|
10056
|
-
], 10,
|
9919
|
+
], 10, tf)
|
10057
9920
|
], 2))), 128))
|
10058
9921
|
])
|
10059
9922
|
], 2)) : h("", !0),
|
10060
|
-
e.showTableInfo ? (o(), d("div",
|
10061
|
-
i("div",
|
10062
|
-
i("div",
|
10063
|
-
i("span",
|
10064
|
-
i("span",
|
9923
|
+
e.showTableInfo ? (o(), d("div", af, [
|
9924
|
+
i("div", nf, [
|
9925
|
+
i("div", rf, [
|
9926
|
+
i("span", sf, [
|
9927
|
+
i("span", lf, x(e.totalItems || 0), 1),
|
10065
9928
|
G(" " + x(e.itemLabel || "items") + " found ", 1)
|
10066
9929
|
])
|
10067
9930
|
])
|
@@ -10070,16 +9933,16 @@ const cd = {
|
|
10070
9933
|
]);
|
10071
9934
|
};
|
10072
9935
|
}
|
10073
|
-
},
|
9936
|
+
}, uf = { class: "flex items-center gap-3" }, df = {
|
10074
9937
|
key: 0,
|
10075
9938
|
class: "flex items-center gap-3"
|
10076
|
-
},
|
9939
|
+
}, 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
9940
|
key: 1,
|
10078
9941
|
class: "relative"
|
10079
|
-
},
|
9942
|
+
}, 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
9943
|
key: 3,
|
10081
9944
|
class: "flex items-center gap-2"
|
10082
|
-
},
|
9945
|
+
}, kf = [
|
10083
9946
|
{
|
10084
9947
|
key: "delete",
|
10085
9948
|
label: "Delete",
|
@@ -10096,13 +9959,13 @@ const cd = {
|
|
10096
9959
|
},
|
10097
9960
|
variant: "primary"
|
10098
9961
|
}
|
10099
|
-
],
|
9962
|
+
], Sf = {
|
10100
9963
|
name: "DataTableToolBar"
|
10101
|
-
},
|
9964
|
+
}, Cf = /* @__PURE__ */ Object.assign(Sf, {
|
10102
9965
|
props: {
|
10103
9966
|
selectedItems: { type: Array, default: () => [] },
|
10104
9967
|
totalItems: { type: Number, default: 0 },
|
10105
|
-
bulkActions: { type: Array, default: () =>
|
9968
|
+
bulkActions: { type: Array, default: () => kf },
|
10106
9969
|
showDensityToggle: { type: Boolean, default: !0 },
|
10107
9970
|
showColumnToggle: { type: Boolean, default: !0 },
|
10108
9971
|
showRefresh: { type: Boolean, default: !0 },
|
@@ -10228,10 +10091,10 @@ const cd = {
|
|
10228
10091
|
return o(), d("div", {
|
10229
10092
|
class: m($.value)
|
10230
10093
|
}, [
|
10231
|
-
i("div",
|
10232
|
-
u.value > 0 ? (o(), d("div",
|
10233
|
-
i("span",
|
10234
|
-
i("div",
|
10094
|
+
i("div", uf, [
|
10095
|
+
u.value > 0 ? (o(), d("div", df, [
|
10096
|
+
i("span", cf, x(u.value) + " selected ", 1),
|
10097
|
+
i("div", ff, [
|
10235
10098
|
(o(!0), d(K, null, J(e.bulkActions, (ee) => (o(), R(Ce, {
|
10236
10099
|
key: ee.key,
|
10237
10100
|
class: m(se(ee)),
|
@@ -10253,7 +10116,7 @@ const cd = {
|
|
10253
10116
|
class: m(z.value)
|
10254
10117
|
}, x(e.totalItems) + " " + x(e.totalItems === 1 ? "item" : "items"), 3)) : h("", !0)
|
10255
10118
|
]),
|
10256
|
-
i("div",
|
10119
|
+
i("div", mf, [
|
10257
10120
|
e.showDensityToggle ? (o(), d("div", {
|
10258
10121
|
key: 0,
|
10259
10122
|
class: m(g.value)
|
@@ -10269,9 +10132,9 @@ const cd = {
|
|
10269
10132
|
icon: ee.icon,
|
10270
10133
|
class: "w-4 h-4"
|
10271
10134
|
}, null, 8, ["icon"])
|
10272
|
-
], 10,
|
10135
|
+
], 10, gf)), 64))
|
10273
10136
|
], 2)) : h("", !0),
|
10274
|
-
e.showColumnToggle ? (o(), d("div",
|
10137
|
+
e.showColumnToggle ? (o(), d("div", vf, [
|
10275
10138
|
i("button", {
|
10276
10139
|
ref_key: "columnToggleButton",
|
10277
10140
|
ref: l,
|
@@ -10292,22 +10155,22 @@ const cd = {
|
|
10292
10155
|
onClick: _[0] || (_[0] = Ve(() => {
|
10293
10156
|
}, ["stop"]))
|
10294
10157
|
}, [
|
10295
|
-
i("div",
|
10158
|
+
i("div", bf, [
|
10296
10159
|
i("div", {
|
10297
10160
|
class: m(p.value)
|
10298
10161
|
}, " Show Columns ", 2),
|
10299
|
-
i("div",
|
10162
|
+
i("div", hf, [
|
10300
10163
|
(o(!0), d(K, null, J(e.toggleableColumns, (ee) => (o(), d("div", {
|
10301
10164
|
key: ee.key,
|
10302
10165
|
class: m(V.value)
|
10303
10166
|
}, [
|
10304
|
-
i("label",
|
10167
|
+
i("label", yf, [
|
10305
10168
|
i("input", {
|
10306
10169
|
type: "checkbox",
|
10307
10170
|
checked: W(ee.key),
|
10308
10171
|
class: m(j.value),
|
10309
10172
|
onChange: (he) => k(ee.key, he.target.checked)
|
10310
|
-
}, null, 42,
|
10173
|
+
}, null, 42, pf),
|
10311
10174
|
i("span", {
|
10312
10175
|
class: m(A.value)
|
10313
10176
|
}, x(ee.label), 3)
|
@@ -10331,15 +10194,15 @@ const cd = {
|
|
10331
10194
|
class: m(Z())
|
10332
10195
|
}, null, 8, ["class"]),
|
10333
10196
|
_[3] || (_[3] = i("span", null, "Refresh", -1))
|
10334
|
-
], 10,
|
10335
|
-
T.$slots.actions ? (o(), d("div",
|
10197
|
+
], 10, xf)) : h("", !0),
|
10198
|
+
T.$slots.actions ? (o(), d("div", wf, [
|
10336
10199
|
B(T.$slots, "actions")
|
10337
10200
|
])) : h("", !0)
|
10338
10201
|
])
|
10339
10202
|
], 2);
|
10340
10203
|
};
|
10341
10204
|
}
|
10342
|
-
}),
|
10205
|
+
}), $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
10206
|
__name: "Footer",
|
10344
10207
|
props: {
|
10345
10208
|
className: {
|
@@ -10353,9 +10216,9 @@ const cd = {
|
|
10353
10216
|
return o(), d("footer", {
|
10354
10217
|
class: m(N(S)("bg-gray-50 border-t border-gray-200", e.className))
|
10355
10218
|
}, [
|
10356
|
-
i("div",
|
10357
|
-
i("div",
|
10358
|
-
i("div",
|
10219
|
+
i("div", $f, [
|
10220
|
+
i("div", zf, [
|
10221
|
+
i("div", Af, [
|
10359
10222
|
B(a.$slots, "brand", {}, () => [
|
10360
10223
|
P(n, { class: "mb-4" }),
|
10361
10224
|
P(r, { class: "text-gray-600 max-w-md" }, {
|
@@ -10377,7 +10240,7 @@ const cd = {
|
|
10377
10240
|
])]),
|
10378
10241
|
_: 1
|
10379
10242
|
}),
|
10380
|
-
i("div",
|
10243
|
+
i("div", If, [
|
10381
10244
|
P(s, {
|
10382
10245
|
href: "#",
|
10383
10246
|
class: "block text-gray-600 hover:text-gray-900"
|
@@ -10419,7 +10282,7 @@ const cd = {
|
|
10419
10282
|
])]),
|
10420
10283
|
_: 1
|
10421
10284
|
}),
|
10422
|
-
i("div",
|
10285
|
+
i("div", Pf, [
|
10423
10286
|
P(s, {
|
10424
10287
|
href: "#",
|
10425
10288
|
class: "text-gray-600 hover:text-gray-900"
|
@@ -10449,7 +10312,7 @@ const cd = {
|
|
10449
10312
|
])
|
10450
10313
|
]),
|
10451
10314
|
P(c, { class: "my-8" }),
|
10452
|
-
i("div",
|
10315
|
+
i("div", Tf, [
|
10453
10316
|
B(a.$slots, "copyright", {}, () => [
|
10454
10317
|
P(r, { class: "text-gray-600" }, {
|
10455
10318
|
default: E(() => [
|
@@ -10459,7 +10322,7 @@ const cd = {
|
|
10459
10322
|
})
|
10460
10323
|
]),
|
10461
10324
|
B(a.$slots, "legal", {}, () => [
|
10462
|
-
i("div",
|
10325
|
+
i("div", jf, [
|
10463
10326
|
P(s, {
|
10464
10327
|
href: "#",
|
10465
10328
|
class: "text-gray-600 hover:text-gray-900"
|
@@ -10485,28 +10348,28 @@ const cd = {
|
|
10485
10348
|
], 2);
|
10486
10349
|
};
|
10487
10350
|
}
|
10488
|
-
},
|
10351
|
+
}, Of = { class: "flex items-center justify-between h-16 px-4 md:px-6" }, Vf = { class: "flex items-center" }, Df = {
|
10489
10352
|
key: 0,
|
10490
10353
|
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
|
-
},
|
10354
|
+
}, Mf = { class: "text-lg font-bold text-blue-900 truncate max-w-[200px]" }, Ff = {
|
10492
10355
|
key: 0,
|
10493
10356
|
class: "text-xs text-blue-600 truncate font-medium"
|
10494
|
-
},
|
10357
|
+
}, 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
10358
|
key: 1,
|
10496
10359
|
class: "relative"
|
10497
|
-
},
|
10360
|
+
}, qf = {
|
10498
10361
|
key: 0,
|
10499
10362
|
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
|
-
},
|
10363
|
+
}, Yf = {
|
10501
10364
|
key: 0,
|
10502
10365
|
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
|
-
},
|
10366
|
+
}, 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
10367
|
key: 0,
|
10505
10368
|
class: "absolute right-0 mt-2 w-58 bg-white rounded-lg shadow-lg border border-gray-200 z-50"
|
10506
|
-
},
|
10369
|
+
}, 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
10370
|
key: 0,
|
10508
10371
|
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
|
-
},
|
10372
|
+
}, 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
10373
|
__name: "Header",
|
10511
10374
|
props: {
|
10512
10375
|
sidebarWidth: { type: Number, default: 256 },
|
@@ -10549,14 +10412,14 @@ const cd = {
|
|
10549
10412
|
)),
|
10550
10413
|
style: { left: "0" }
|
10551
10414
|
}, [
|
10552
|
-
i("div",
|
10553
|
-
i("div",
|
10554
|
-
e.organisationName ? (o(), d("div",
|
10555
|
-
i("p",
|
10556
|
-
e.user.organisation?.role ? (o(), d("p",
|
10415
|
+
i("div", Of, [
|
10416
|
+
i("div", Vf, [
|
10417
|
+
e.organisationName ? (o(), d("div", Df, [
|
10418
|
+
i("p", Mf, x(e.organisationName), 1),
|
10419
|
+
e.user.organisation?.role ? (o(), d("p", Ff, x(e.user.organisation.role), 1)) : h("", !0)
|
10557
10420
|
])) : h("", !0),
|
10558
|
-
i("nav",
|
10559
|
-
i("span",
|
10421
|
+
i("nav", Nf, [
|
10422
|
+
i("span", Ef, x(e.currentSection), 1),
|
10560
10423
|
A[4] || (A[4] = i("svg", {
|
10561
10424
|
class: "w-4 h-4 text-gray-400 flex-shrink-0",
|
10562
10425
|
fill: "none",
|
@@ -10570,10 +10433,10 @@ const cd = {
|
|
10570
10433
|
d: "M9 5l7 7-7 7"
|
10571
10434
|
})
|
10572
10435
|
], -1)),
|
10573
|
-
i("span",
|
10436
|
+
i("span", Lf, x(e.currentPage), 1)
|
10574
10437
|
])
|
10575
10438
|
]),
|
10576
|
-
i("div",
|
10439
|
+
i("div", _f, [
|
10577
10440
|
y.value ? (o(), d("button", {
|
10578
10441
|
key: 0,
|
10579
10442
|
class: "p-2 text-gray-400 hover:text-gray-600 rounded-lg hover:bg-gray-50 transition-colors",
|
@@ -10593,7 +10456,7 @@ const cd = {
|
|
10593
10456
|
})
|
10594
10457
|
], -1)
|
10595
10458
|
])])) : h("", !0),
|
10596
|
-
!y.value || c.value ? (o(), d("div",
|
10459
|
+
!y.value || c.value ? (o(), d("div", Rf, [
|
10597
10460
|
A[6] || (A[6] = i("div", { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" }, [
|
10598
10461
|
i("svg", {
|
10599
10462
|
class: "w-4 h-4 text-gray-400",
|
@@ -10664,7 +10527,7 @@ const cd = {
|
|
10664
10527
|
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
10528
|
})
|
10666
10529
|
], -1)),
|
10667
|
-
u.value > 0 ? (o(), d("span",
|
10530
|
+
u.value > 0 ? (o(), d("span", qf, x(u.value), 1)) : h("", !0)
|
10668
10531
|
]),
|
10669
10532
|
P(ue, {
|
10670
10533
|
"enter-active-class": "transition-all duration-300 ease-out",
|
@@ -10675,20 +10538,20 @@ const cd = {
|
|
10675
10538
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
10676
10539
|
}, {
|
10677
10540
|
default: E(() => [
|
10678
|
-
l.value ? (o(), d("div",
|
10541
|
+
l.value ? (o(), d("div", Yf, [
|
10679
10542
|
A[10] || (A[10] = i("div", { class: "p-4 border-b border-gray-200" }, [
|
10680
10543
|
i("h3", { class: "text-lg font-semibold text-gray-900" }, " Notifications ")
|
10681
10544
|
], -1)),
|
10682
|
-
i("div",
|
10545
|
+
i("div", Uf, [
|
10683
10546
|
(o(!0), d(K, null, J(e.notifications, (q) => (o(), d("div", {
|
10684
10547
|
key: q.id,
|
10685
10548
|
class: "p-4 border-b border-gray-100 hover:bg-gray-50 cursor-pointer"
|
10686
10549
|
}, [
|
10687
|
-
i("div",
|
10550
|
+
i("div", Wf, [
|
10688
10551
|
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",
|
10552
|
+
i("div", Hf, [
|
10553
|
+
i("p", Gf, x(q.title), 1),
|
10554
|
+
i("p", Kf, x(q.time), 1)
|
10692
10555
|
])
|
10693
10556
|
])
|
10694
10557
|
]))), 128))
|
@@ -10700,17 +10563,17 @@ const cd = {
|
|
10700
10563
|
]),
|
10701
10564
|
_: 1
|
10702
10565
|
}),
|
10703
|
-
i("div",
|
10566
|
+
i("div", Xf, [
|
10704
10567
|
i("button", {
|
10705
10568
|
class: "flex items-center space-x-2 md:space-x-3 p-2 rounded-lg hover:bg-gray-50 transition-colors",
|
10706
10569
|
onClick: $
|
10707
10570
|
}, [
|
10708
|
-
i("div",
|
10709
|
-
i("span",
|
10571
|
+
i("div", Jf, [
|
10572
|
+
i("span", Qf, x(w.value), 1)
|
10710
10573
|
]),
|
10711
|
-
i("div",
|
10712
|
-
i("p",
|
10713
|
-
i("p",
|
10574
|
+
i("div", Zf, [
|
10575
|
+
i("p", em, x(e.user.name), 1),
|
10576
|
+
i("p", tm, x(C.value), 1)
|
10714
10577
|
]),
|
10715
10578
|
A[12] || (A[12] = i("svg", {
|
10716
10579
|
class: "w-4 h-4 text-gray-400",
|
@@ -10735,12 +10598,12 @@ const cd = {
|
|
10735
10598
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
10736
10599
|
}, {
|
10737
10600
|
default: E(() => [
|
10738
|
-
s.value ? (o(), d("div",
|
10739
|
-
i("div",
|
10740
|
-
i("p",
|
10741
|
-
i("p",
|
10601
|
+
s.value ? (o(), d("div", am, [
|
10602
|
+
i("div", nm, [
|
10603
|
+
i("p", rm, x(e.user.name), 1),
|
10604
|
+
i("p", sm, x(e.user.email), 1)
|
10742
10605
|
]),
|
10743
|
-
i("div",
|
10606
|
+
i("div", lm, [
|
10744
10607
|
(o(!0), d(K, null, J(e.profileMenuItems, (q) => (o(), d(K, {
|
10745
10608
|
key: q.name
|
10746
10609
|
}, [
|
@@ -10754,7 +10617,7 @@ const cd = {
|
|
10754
10617
|
onClick: (se) => z(q)
|
10755
10618
|
}, {
|
10756
10619
|
default: E(() => [
|
10757
|
-
g(q) ? (o(), d("div",
|
10620
|
+
g(q) ? (o(), d("div", om)) : h("", !0),
|
10758
10621
|
i("div", {
|
10759
10622
|
class: m(N(S)(
|
10760
10623
|
"flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2",
|
@@ -10780,15 +10643,15 @@ const cd = {
|
|
10780
10643
|
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
10644
|
onClick: (se) => b(q)
|
10782
10645
|
}, [
|
10783
|
-
i("div",
|
10646
|
+
i("div", um, [
|
10784
10647
|
q.icon ? (o(), R(ae, {
|
10785
10648
|
key: 0,
|
10786
10649
|
icon: q.icon,
|
10787
10650
|
class: "w-4 h-4"
|
10788
10651
|
}, null, 8, ["icon"])) : h("", !0)
|
10789
10652
|
]),
|
10790
|
-
i("span",
|
10791
|
-
], 8,
|
10653
|
+
i("span", dm, x(q.label), 1)
|
10654
|
+
], 8, im))
|
10792
10655
|
], 64))), 128))
|
10793
10656
|
]),
|
10794
10657
|
i("div", { class: "border-t border-gray-200 py-2" }, [
|
@@ -10824,13 +10687,13 @@ const cd = {
|
|
10824
10687
|
], 2);
|
10825
10688
|
};
|
10826
10689
|
}
|
10827
|
-
},
|
10690
|
+
}, fm = { class: "mb-4" }, mm = { class: "text-lg font-semibold text-gray-900" }, gm = { class: "text-sm text-gray-600" }, vm = {
|
10828
10691
|
value: "",
|
10829
10692
|
disabled: ""
|
10830
|
-
},
|
10693
|
+
}, bm = ["value"], hm = {
|
10831
10694
|
key: 3,
|
10832
10695
|
class: "flex items-center"
|
10833
|
-
},
|
10696
|
+
}, ym = { class: "flex justify-end gap-3 pt-4" }, pm = {
|
10834
10697
|
__name: "ReusableFormModal",
|
10835
10698
|
props: {
|
10836
10699
|
modelValue: {
|
@@ -10971,9 +10834,9 @@ const cd = {
|
|
10971
10834
|
onClose: z
|
10972
10835
|
}, {
|
10973
10836
|
default: E(() => [
|
10974
|
-
i("div",
|
10975
|
-
i("h2",
|
10976
|
-
i("p",
|
10837
|
+
i("div", fm, [
|
10838
|
+
i("h2", mm, x(e.modalType === "create" ? `Add New ${e.entityName}` : `Edit ${e.entityName}`), 1),
|
10839
|
+
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
10840
|
]),
|
10978
10841
|
i("form", {
|
10979
10842
|
class: "space-y-4",
|
@@ -11027,14 +10890,14 @@ const cd = {
|
|
11027
10890
|
"onUpdate:modelValue": (A) => C(f, A)
|
11028
10891
|
}, {
|
11029
10892
|
default: E(() => [
|
11030
|
-
i("option",
|
10893
|
+
i("option", vm, x(f.placeholder || "Select an option"), 1),
|
11031
10894
|
(o(!0), d(K, null, J(f.options, (A) => (o(), d("option", {
|
11032
10895
|
key: A.value,
|
11033
10896
|
value: A.value
|
11034
|
-
}, x(A.label), 9,
|
10897
|
+
}, x(A.label), 9, bm))), 128))
|
11035
10898
|
]),
|
11036
10899
|
_: 2
|
11037
|
-
}, 1032, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : f.type === "checkbox" ? (o(), d("div",
|
10900
|
+
}, 1032, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : f.type === "checkbox" ? (o(), d("div", hm, [
|
11038
10901
|
P(qt, {
|
11039
10902
|
id: p,
|
11040
10903
|
modelValue: s.value[f.name],
|
@@ -11081,7 +10944,7 @@ const cd = {
|
|
11081
10944
|
_: 2
|
11082
10945
|
}, 1032, ["id", "label", "required", "error", "error-message"])
|
11083
10946
|
]))), 128)),
|
11084
|
-
i("div",
|
10947
|
+
i("div", ym, [
|
11085
10948
|
P(Ce, {
|
11086
10949
|
type: "button",
|
11087
10950
|
variant: "outline",
|
@@ -11110,37 +10973,37 @@ const cd = {
|
|
11110
10973
|
_: 1
|
11111
10974
|
}, 8, ["modelValue", "size", "resizable"]));
|
11112
10975
|
}
|
11113
|
-
},
|
10976
|
+
}, xm = {
|
11114
10977
|
key: 0,
|
11115
10978
|
class: "flex items-center justify-between p-4 border-b border-gray-200 flex-shrink-0 lg:hidden"
|
11116
|
-
},
|
10979
|
+
}, 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
10980
|
key: 0,
|
11118
10981
|
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
|
-
},
|
10982
|
+
}, zm = ["onClick"], Am = {
|
11120
10983
|
key: 0,
|
11121
10984
|
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
|
-
},
|
10985
|
+
}, Im = {
|
11123
10986
|
key: 1,
|
11124
10987
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
11125
|
-
},
|
10988
|
+
}, Pm = {
|
11126
10989
|
key: 1,
|
11127
10990
|
class: "border-t border-gray-200 p-4 flex-shrink-0"
|
11128
|
-
},
|
10991
|
+
}, Tm = {
|
11129
10992
|
key: 0,
|
11130
10993
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
11131
|
-
},
|
10994
|
+
}, 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
10995
|
key: 0,
|
11133
10996
|
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
|
-
},
|
10997
|
+
}, Fm = {
|
11135
10998
|
key: 1,
|
11136
10999
|
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
|
-
},
|
11000
|
+
}, Nm = { class: "p-3" }, Em = { class: "space-y-1" }, Lm = {
|
11138
11001
|
key: 0,
|
11139
11002
|
class: "px-3 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
|
11140
|
-
},
|
11003
|
+
}, _m = {
|
11141
11004
|
key: 0,
|
11142
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"
|
11143
|
-
},
|
11006
|
+
}, Rm = {
|
11144
11007
|
__name: "Sidebar",
|
11145
11008
|
props: {
|
11146
11009
|
sidebarWidth: {
|
@@ -11263,8 +11126,8 @@ const cd = {
|
|
11263
11126
|
)),
|
11264
11127
|
style: de({ width: e.sidebarWidth + "px", top: l.value ? "0px" : "4rem" })
|
11265
11128
|
}, [
|
11266
|
-
l.value ? (o(), d("div",
|
11267
|
-
i("h2",
|
11129
|
+
l.value ? (o(), d("div", xm, [
|
11130
|
+
i("h2", wm, x(e.header?.title), 1),
|
11268
11131
|
i("button", {
|
11269
11132
|
class: "p-2 rounded-lg text-gray-500 hover:text-gray-900 hover:bg-gray-100 transition-colors",
|
11270
11133
|
"aria-label": "Close sidebar",
|
@@ -11285,12 +11148,12 @@ const cd = {
|
|
11285
11148
|
], -1)
|
11286
11149
|
])])
|
11287
11150
|
])) : h("", !0),
|
11288
|
-
i("nav",
|
11289
|
-
i("div",
|
11151
|
+
i("nav", km, [
|
11152
|
+
i("div", Sm, [
|
11290
11153
|
(o(!0), d(K, null, J(e.navigationItems, (k) => (o(), d(K, {
|
11291
11154
|
key: k.name || k.label
|
11292
11155
|
}, [
|
11293
|
-
k.type === "link" ? (o(), d("div",
|
11156
|
+
k.type === "link" ? (o(), d("div", Cm, [
|
11294
11157
|
g(k) ? (o(), d("div", {
|
11295
11158
|
key: 1,
|
11296
11159
|
class: m(N(S)(
|
@@ -11317,9 +11180,9 @@ const cd = {
|
|
11317
11180
|
q(k) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
11318
11181
|
))
|
11319
11182
|
}, x(k.label), 3),
|
11320
|
-
k.badge ? (o(), d("span",
|
11321
|
-
q(k) && g(k) ? (o(), d("div",
|
11322
|
-
], 10,
|
11183
|
+
k.badge ? (o(), d("span", Am, x(k.badge), 1)) : h("", !0),
|
11184
|
+
q(k) && g(k) ? (o(), d("div", Im)) : h("", !0)
|
11185
|
+
], 10, zm)) : (o(), R(W, {
|
11323
11186
|
key: 0,
|
11324
11187
|
to: k.route,
|
11325
11188
|
class: m(N(S)(
|
@@ -11347,7 +11210,7 @@ const cd = {
|
|
11347
11210
|
q(k) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
11348
11211
|
))
|
11349
11212
|
}, x(k.label), 3),
|
11350
|
-
k.badge ? (o(), d("span",
|
11213
|
+
k.badge ? (o(), d("span", $m, x(k.badge), 1)) : h("", !0)
|
11351
11214
|
]),
|
11352
11215
|
_: 2
|
11353
11216
|
}, 1032, ["to", "class", "onClick"]))
|
@@ -11355,7 +11218,7 @@ const cd = {
|
|
11355
11218
|
], 64))), 128))
|
11356
11219
|
])
|
11357
11220
|
]),
|
11358
|
-
e.showManagementSettings ? (o(), d("div",
|
11221
|
+
e.showManagementSettings ? (o(), d("div", Pm, [
|
11359
11222
|
i("div", {
|
11360
11223
|
class: m(N(S)(
|
11361
11224
|
"flex flex-col items-center justify-center rounded-xl transition-all duration-200 cursor-pointer group relative py-4 px-3",
|
@@ -11381,7 +11244,7 @@ const cd = {
|
|
11381
11244
|
e.isManagementSettingsActive ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
11382
11245
|
))
|
11383
11246
|
}, " Settings ", 2),
|
11384
|
-
e.isManagementSettingsActive ? (o(), d("div",
|
11247
|
+
e.isManagementSettingsActive ? (o(), d("div", Tm)) : h("", !0)
|
11385
11248
|
], 2)
|
11386
11249
|
])) : h("", !0)
|
11387
11250
|
], 6),
|
@@ -11404,8 +11267,8 @@ const cd = {
|
|
11404
11267
|
),
|
11405
11268
|
style: de(w.value)
|
11406
11269
|
}, [
|
11407
|
-
i("div",
|
11408
|
-
i("div",
|
11270
|
+
i("div", jm, [
|
11271
|
+
i("div", Bm, [
|
11409
11272
|
i("button", {
|
11410
11273
|
class: "p-2 -ml-2 rounded-lg text-gray-500 hover:text-gray-700 hover:bg-gray-100 transition-colors",
|
11411
11274
|
"aria-label": "Close submenu",
|
@@ -11425,11 +11288,11 @@ const cd = {
|
|
11425
11288
|
})
|
11426
11289
|
], -1)
|
11427
11290
|
])]),
|
11428
|
-
i("h3",
|
11291
|
+
i("h3", Om, x(u.value?.label), 1)
|
11429
11292
|
])
|
11430
11293
|
]),
|
11431
|
-
i("nav",
|
11432
|
-
i("div",
|
11294
|
+
i("nav", Vm, [
|
11295
|
+
i("div", Dm, [
|
11433
11296
|
(o(!0), d(K, null, J(u.value?.subItems, (k) => (o(), R(W, {
|
11434
11297
|
key: k.name,
|
11435
11298
|
to: k.route,
|
@@ -11442,7 +11305,7 @@ const cd = {
|
|
11442
11305
|
onClick: (T) => A(k)
|
11443
11306
|
}, {
|
11444
11307
|
default: E(() => [
|
11445
|
-
q(k) ? (o(), d("div",
|
11308
|
+
q(k) ? (o(), d("div", Mm)) : h("", !0),
|
11446
11309
|
i("div", {
|
11447
11310
|
class: m(
|
11448
11311
|
N(S)(
|
@@ -11463,7 +11326,7 @@ const cd = {
|
|
11463
11326
|
q(k) ? "text-blue-700" : "text-gray-700"
|
11464
11327
|
))
|
11465
11328
|
}, x(k.label), 3),
|
11466
|
-
k.badge ? (o(), d("span",
|
11329
|
+
k.badge ? (o(), d("span", Fm, x(k.badge), 1)) : h("", !0)
|
11467
11330
|
]),
|
11468
11331
|
_: 2
|
11469
11332
|
}, 1032, ["to", "class", "onClick"]))), 128))
|
@@ -11516,12 +11379,12 @@ const cd = {
|
|
11516
11379
|
Z[3] || (Z[3] = i("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, " Management Settings ", -1))
|
11517
11380
|
])
|
11518
11381
|
]),
|
11519
|
-
i("nav",
|
11520
|
-
i("div",
|
11382
|
+
i("nav", Nm, [
|
11383
|
+
i("div", Em, [
|
11521
11384
|
(o(!0), d(K, null, J(e.managementSettings, (k) => (o(), d(K, {
|
11522
11385
|
key: k.name
|
11523
11386
|
}, [
|
11524
|
-
k.type === "section" ? (o(), d("div",
|
11387
|
+
k.type === "section" ? (o(), d("div", Lm, x(k.label), 1)) : k.route ? (o(), R(W, {
|
11525
11388
|
key: 1,
|
11526
11389
|
to: k.route,
|
11527
11390
|
class: m(
|
@@ -11533,7 +11396,7 @@ const cd = {
|
|
11533
11396
|
onClick: (T) => ne(k)
|
11534
11397
|
}, {
|
11535
11398
|
default: E(() => [
|
11536
|
-
q(k) ? (o(), d("div",
|
11399
|
+
q(k) ? (o(), d("div", _m)) : h("", !0),
|
11537
11400
|
i("div", {
|
11538
11401
|
class: m(
|
11539
11402
|
N(S)(
|
@@ -11584,7 +11447,7 @@ const cd = {
|
|
11584
11447
|
]);
|
11585
11448
|
};
|
11586
11449
|
}
|
11587
|
-
},
|
11450
|
+
}, qm = {
|
11588
11451
|
__name: "Timeline",
|
11589
11452
|
props: {
|
11590
11453
|
orientation: {
|
@@ -11603,13 +11466,13 @@ const cd = {
|
|
11603
11466
|
B(a.$slots, "default")
|
11604
11467
|
], 2));
|
11605
11468
|
}
|
11606
|
-
},
|
11469
|
+
}, Ym = {
|
11607
11470
|
key: 0,
|
11608
11471
|
class: "absolute left-3 top-0 w-0.5 h-full bg-slate-200"
|
11609
|
-
},
|
11472
|
+
}, 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
11473
|
key: 0,
|
11611
11474
|
class: "text-slate-500 text-sm"
|
11612
|
-
},
|
11475
|
+
}, Gm = { class: "mt-2 text-slate-600 text-sm" }, Km = {
|
11613
11476
|
__name: "TimelineItem",
|
11614
11477
|
props: {
|
11615
11478
|
title: {
|
@@ -11633,8 +11496,8 @@ const cd = {
|
|
11633
11496
|
e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
|
11634
11497
|
])
|
11635
11498
|
}, [
|
11636
|
-
e.orientation === "vertical" ? (o(), d("div",
|
11637
|
-
i("div",
|
11499
|
+
e.orientation === "vertical" ? (o(), d("div", Ym)) : h("", !0),
|
11500
|
+
i("div", Um, [
|
11638
11501
|
B(a.$slots, "icon", {}, () => [
|
11639
11502
|
t[0] || (t[0] = i("div", { class: "w-2 h-2 rounded-full bg-blue-500" }, null, -1))
|
11640
11503
|
])
|
@@ -11645,23 +11508,23 @@ const cd = {
|
|
11645
11508
|
e.orientation === "horizontal" ? "mt-2 text-center" : ""
|
11646
11509
|
])
|
11647
11510
|
}, [
|
11648
|
-
i("h3",
|
11511
|
+
i("h3", Wm, [
|
11649
11512
|
B(a.$slots, "title", {}, () => [
|
11650
11513
|
G(x(e.title), 1)
|
11651
11514
|
])
|
11652
11515
|
]),
|
11653
|
-
e.subtitle ? (o(), d("p",
|
11516
|
+
e.subtitle ? (o(), d("p", Hm, [
|
11654
11517
|
B(a.$slots, "subtitle", {}, () => [
|
11655
11518
|
G(x(e.subtitle), 1)
|
11656
11519
|
])
|
11657
11520
|
])) : h("", !0),
|
11658
|
-
i("div",
|
11521
|
+
i("div", Gm, [
|
11659
11522
|
B(a.$slots, "default")
|
11660
11523
|
])
|
11661
11524
|
], 2)
|
11662
11525
|
], 2));
|
11663
11526
|
}
|
11664
|
-
},
|
11527
|
+
}, Xm = {
|
11665
11528
|
name: "AuthLayout",
|
11666
11529
|
props: {
|
11667
11530
|
title: {
|
@@ -11750,20 +11613,20 @@ const cd = {
|
|
11750
11613
|
currentYear: v(() => (/* @__PURE__ */ new Date()).getFullYear())
|
11751
11614
|
};
|
11752
11615
|
}
|
11753
|
-
},
|
11616
|
+
}, 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
11617
|
key: 0,
|
11755
11618
|
class: "mb-6"
|
11756
|
-
},
|
11619
|
+
}, ig = { class: "text-center" }, ug = { class: "text-2xl font-bold text-gray-900" }, dg = {
|
11757
11620
|
key: 0,
|
11758
11621
|
class: "text-gray-600 mt-2"
|
11759
|
-
},
|
11622
|
+
}, cg = { class: "space-y-6" }, fg = {
|
11760
11623
|
key: 1,
|
11761
11624
|
class: "mt-6"
|
11762
|
-
},
|
11625
|
+
}, mg = {
|
11763
11626
|
key: 0,
|
11764
11627
|
class: "mt-6 text-center"
|
11765
|
-
},
|
11766
|
-
function
|
11628
|
+
}, 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"];
|
11629
|
+
function Cg(e, a, t, n, r, l) {
|
11767
11630
|
const s = ie("router-view"), u = ie("font-awesome-icon");
|
11768
11631
|
return o(), d("div", {
|
11769
11632
|
class: "min-h-screen relative flex items-center justify-center",
|
@@ -11776,70 +11639,70 @@ function Fg(e, a, t, n, r, l) {
|
|
11776
11639
|
opacity: t.backgroundOpacity
|
11777
11640
|
})
|
11778
11641
|
}, null, 4),
|
11779
|
-
i("div",
|
11780
|
-
i("div",
|
11781
|
-
i("div",
|
11782
|
-
i("div",
|
11783
|
-
i("div",
|
11642
|
+
i("div", Jm, [
|
11643
|
+
i("div", Qm, [
|
11644
|
+
i("div", Zm, [
|
11645
|
+
i("div", eg, [
|
11646
|
+
i("div", tg, [
|
11784
11647
|
i("span", {
|
11785
11648
|
style: de({ color: t.primaryColor })
|
11786
11649
|
}, x(t.primaryLogoPrefix), 5),
|
11787
|
-
i("span",
|
11650
|
+
i("span", ag, x(t.primaryLogoText), 1)
|
11788
11651
|
]),
|
11789
11652
|
i("div", {
|
11790
11653
|
class: "h-0.5 w-30 mx-auto lg:mx-0",
|
11791
11654
|
style: de({ backgroundColor: t.primaryColor })
|
11792
11655
|
}, null, 4)
|
11793
11656
|
]),
|
11794
|
-
i("div",
|
11657
|
+
i("div", ng, [
|
11795
11658
|
i("div", {
|
11796
11659
|
class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
|
11797
11660
|
style: de({ backgroundColor: t.primaryColor })
|
11798
11661
|
}, x(t.secondaryLogoPrefix), 5),
|
11799
|
-
i("span",
|
11662
|
+
i("span", rg, x(t.secondaryLogoText), 1)
|
11800
11663
|
]),
|
11801
11664
|
a[0] || (a[0] = i("div", { class: "max-w-md mx-auto lg:mx-0" }, [
|
11802
11665
|
i("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
|
11803
11666
|
], -1))
|
11804
11667
|
]),
|
11805
|
-
i("div",
|
11806
|
-
i("div",
|
11807
|
-
e.$slots["card-header"] || t.title ? (o(), d("div",
|
11668
|
+
i("div", sg, [
|
11669
|
+
i("div", lg, [
|
11670
|
+
e.$slots["card-header"] || t.title ? (o(), d("div", og, [
|
11808
11671
|
B(e.$slots, "card-header", {}, () => [
|
11809
|
-
i("div",
|
11810
|
-
i("h1",
|
11811
|
-
t.subtitle ? (o(), d("p",
|
11672
|
+
i("div", ig, [
|
11673
|
+
i("h1", ug, x(t.title), 1),
|
11674
|
+
t.subtitle ? (o(), d("p", dg, x(t.subtitle), 1)) : h("", !0)
|
11812
11675
|
])
|
11813
11676
|
])
|
11814
11677
|
])) : h("", !0),
|
11815
|
-
i("div",
|
11678
|
+
i("div", cg, [
|
11816
11679
|
P(s)
|
11817
11680
|
]),
|
11818
|
-
e.$slots["card-footer"] ? (o(), d("div",
|
11681
|
+
e.$slots["card-footer"] ? (o(), d("div", fg, [
|
11819
11682
|
B(e.$slots, "card-footer")
|
11820
11683
|
])) : h("", !0)
|
11821
11684
|
]),
|
11822
|
-
e.$slots.links ? (o(), d("div",
|
11685
|
+
e.$slots.links ? (o(), d("div", mg, [
|
11823
11686
|
B(e.$slots, "links")
|
11824
11687
|
])) : h("", !0)
|
11825
11688
|
])
|
11826
11689
|
])
|
11827
11690
|
]),
|
11828
|
-
i("div",
|
11829
|
-
i("div",
|
11830
|
-
i("div",
|
11831
|
-
i("div",
|
11832
|
-
i("div",
|
11833
|
-
i("div",
|
11691
|
+
i("div", gg, [
|
11692
|
+
i("div", vg, [
|
11693
|
+
i("div", bg, [
|
11694
|
+
i("div", hg, x(t.companyName), 1),
|
11695
|
+
i("div", yg, x(t.companyType), 1),
|
11696
|
+
i("div", pg, x(t.companyTagline), 1)
|
11834
11697
|
]),
|
11835
|
-
i("div",
|
11698
|
+
i("div", xg, x(t.companyInitials), 1)
|
11836
11699
|
]),
|
11837
|
-
i("div",
|
11700
|
+
i("div", wg, [
|
11838
11701
|
i("div", null, x(t.appName) + " (" + x(t.appVersion) + ")", 1),
|
11839
11702
|
i("div", null, x(t.copyright), 1)
|
11840
11703
|
])
|
11841
11704
|
]),
|
11842
|
-
i("div",
|
11705
|
+
i("div", kg, [
|
11843
11706
|
(o(!0), d(K, null, J(t.socialLinks, (c) => (o(), d("a", {
|
11844
11707
|
key: c.name,
|
11845
11708
|
href: c.url,
|
@@ -11851,14 +11714,14 @@ function Fg(e, a, t, n, r, l) {
|
|
11851
11714
|
P(u, {
|
11852
11715
|
icon: ["fab", c.icon]
|
11853
11716
|
}, null, 8, ["icon"])
|
11854
|
-
], 10,
|
11717
|
+
], 10, Sg))), 128))
|
11855
11718
|
])
|
11856
11719
|
], 4);
|
11857
11720
|
}
|
11858
|
-
const
|
11721
|
+
const $g = /* @__PURE__ */ yt(Xm, [["render", Cg]]), zg = { class: "min-h-screen bg-gray-50" }, Ag = { class: "flex-1" }, Ig = {
|
11859
11722
|
key: 0,
|
11860
11723
|
class: "bg-white border-b border-gray-200"
|
11861
|
-
},
|
11724
|
+
}, 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
11725
|
__name: "DefaultLayout",
|
11863
11726
|
props: {
|
11864
11727
|
navigationItems: {
|
@@ -11882,7 +11745,7 @@ const Ng = /* @__PURE__ */ yt(ug, [["render", Fg]]), Eg = { class: "min-h-screen
|
|
11882
11745
|
setup(e) {
|
11883
11746
|
return (a, t) => {
|
11884
11747
|
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",
|
11748
|
+
return o(), d("div", zg, [
|
11886
11749
|
P(s, null, {
|
11887
11750
|
logo: E(() => [
|
11888
11751
|
B(a.$slots, "logo", {}, () => [
|
@@ -11915,15 +11778,15 @@ const Ng = /* @__PURE__ */ yt(ug, [["render", Fg]]), Eg = { class: "min-h-screen
|
|
11915
11778
|
]),
|
11916
11779
|
_: 3
|
11917
11780
|
}),
|
11918
|
-
i("main",
|
11919
|
-
e.showBreadcrumb ? (o(), d("div",
|
11920
|
-
i("div",
|
11781
|
+
i("main", Ag, [
|
11782
|
+
e.showBreadcrumb ? (o(), d("div", Ig, [
|
11783
|
+
i("div", Pg, [
|
11921
11784
|
B(a.$slots, "breadcrumb", {}, () => [
|
11922
11785
|
P(u, { items: e.breadcrumbItems }, null, 8, ["items"])
|
11923
11786
|
])
|
11924
11787
|
])
|
11925
11788
|
])) : h("", !0),
|
11926
|
-
i("div",
|
11789
|
+
i("div", Tg, [
|
11927
11790
|
B(a.$slots, "default")
|
11928
11791
|
])
|
11929
11792
|
]),
|
@@ -11944,7 +11807,7 @@ const Ng = /* @__PURE__ */ yt(ug, [["render", Fg]]), Eg = { class: "min-h-screen
|
|
11944
11807
|
]);
|
11945
11808
|
};
|
11946
11809
|
}
|
11947
|
-
},
|
11810
|
+
}, Bg = {
|
11948
11811
|
name: "ErrorLayout",
|
11949
11812
|
props: {
|
11950
11813
|
errorType: {
|
@@ -12210,20 +12073,20 @@ const Ng = /* @__PURE__ */ yt(ug, [["render", Fg]]), Eg = { class: "min-h-screen
|
|
12210
12073
|
helpClasses: re
|
12211
12074
|
};
|
12212
12075
|
}
|
12213
|
-
},
|
12076
|
+
}, Og = { class: "flex justify-center" }, Vg = { class: "flex items-center gap-3" }, Dg = { class: "text-2xl font-bold text-slate-900" }, Mg = {
|
12214
12077
|
key: 1,
|
12215
12078
|
class: "bg-red-100 border border-red-200 rounded-lg p-4 mx-auto max-w-md mb-6"
|
12216
|
-
},
|
12079
|
+
}, Fg = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, Ng = ["disabled"], Eg = {
|
12217
12080
|
key: 0,
|
12218
12081
|
class: "animate-spin"
|
12219
|
-
},
|
12082
|
+
}, Lg = { key: 1 }, _g = ["disabled"], Rg = { key: 0 }, qg = { key: 1 }, Yg = {
|
12220
12083
|
key: 0,
|
12221
12084
|
class: "mt-8 max-w-md mx-auto"
|
12222
|
-
},
|
12085
|
+
}, 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
12086
|
key: 5,
|
12224
12087
|
class: "text-xs text-slate-400 font-mono mt-4"
|
12225
12088
|
};
|
12226
|
-
function
|
12089
|
+
function Jg(e, a, t, n, r, l) {
|
12227
12090
|
return o(), d("div", {
|
12228
12091
|
class: m(n.layoutClasses)
|
12229
12092
|
}, [
|
@@ -12243,13 +12106,13 @@ function dv(e, a, t, n, r, l) {
|
|
12243
12106
|
class: m(n.headerClasses)
|
12244
12107
|
}, [
|
12245
12108
|
B(e.$slots, "header", {}, () => [
|
12246
|
-
i("div",
|
12109
|
+
i("div", Og, [
|
12247
12110
|
B(e.$slots, "logo", {}, () => [
|
12248
|
-
i("div",
|
12111
|
+
i("div", Vg, [
|
12249
12112
|
a[5] || (a[5] = i("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
|
12250
12113
|
i("span", { class: "text-white font-bold text-lg" }, "STL")
|
12251
12114
|
], -1)),
|
12252
|
-
i("span",
|
12115
|
+
i("span", Dg, x(t.brandName), 1)
|
12253
12116
|
])
|
12254
12117
|
])
|
12255
12118
|
])
|
@@ -12295,7 +12158,7 @@ function dv(e, a, t, n, r, l) {
|
|
12295
12158
|
])
|
12296
12159
|
], 2)
|
12297
12160
|
], 2),
|
12298
|
-
n.isOnline ? h("", !0) : (o(), d("div",
|
12161
|
+
n.isOnline ? h("", !0) : (o(), d("div", Mg, [...a[6] || (a[6] = [
|
12299
12162
|
i("div", { class: "flex items-center justify-center gap-2 text-red-700" }, [
|
12300
12163
|
i("span", { class: "w-3 h-3 bg-red-500 rounded-full animate-pulse" }),
|
12301
12164
|
i("span", { class: "font-medium" }, "No Internet Connection")
|
@@ -12306,7 +12169,7 @@ function dv(e, a, t, n, r, l) {
|
|
12306
12169
|
class: m(n.actionsClasses)
|
12307
12170
|
}, [
|
12308
12171
|
B(e.$slots, "actions", {}, () => [
|
12309
|
-
i("div",
|
12172
|
+
i("div", Fg, [
|
12310
12173
|
t.showHomeButton ? (o(), d("button", {
|
12311
12174
|
key: 0,
|
12312
12175
|
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 +12192,18 @@ function dv(e, a, t, n, r, l) {
|
|
12329
12192
|
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
12193
|
onClick: a[2] || (a[2] = (...s) => n.retry && n.retry(...s))
|
12331
12194
|
}, [
|
12332
|
-
n.isRetrying ? (o(), d("span",
|
12195
|
+
n.isRetrying ? (o(), d("span", Eg, "↻")) : (o(), d("span", Lg, "🔄")),
|
12333
12196
|
G(" " + x(n.isRetrying ? "Retrying..." : t.retryButtonText), 1)
|
12334
|
-
], 8,
|
12197
|
+
], 8, Ng)) : h("", !0),
|
12335
12198
|
t.showSupportButton ? (o(), d("button", {
|
12336
12199
|
key: 3,
|
12337
12200
|
disabled: n.reportSent,
|
12338
12201
|
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
12202
|
onClick: a[3] || (a[3] = (s) => e.$emit("contact-support"))
|
12340
12203
|
}, [
|
12341
|
-
n.reportSent ? (o(), d("span",
|
12204
|
+
n.reportSent ? (o(), d("span", Rg, "✓")) : (o(), d("span", qg, "📝")),
|
12342
12205
|
G(" " + x(n.reportSent ? "Report Sent" : "Contact Support"), 1)
|
12343
|
-
], 8,
|
12206
|
+
], 8, _g)) : h("", !0)
|
12344
12207
|
])
|
12345
12208
|
])
|
12346
12209
|
], 2)) : h("", !0),
|
@@ -12349,10 +12212,10 @@ function dv(e, a, t, n, r, l) {
|
|
12349
12212
|
class: m(n.additionalInfoClasses)
|
12350
12213
|
}, [
|
12351
12214
|
B(e.$slots, "additional-info", {}, () => [
|
12352
|
-
n.additionalInfoConfig ? (o(), d("div",
|
12353
|
-
i("div",
|
12354
|
-
i("h3",
|
12355
|
-
i("ul",
|
12215
|
+
n.additionalInfoConfig ? (o(), d("div", Yg, [
|
12216
|
+
i("div", Ug, [
|
12217
|
+
i("h3", Wg, x(n.additionalInfoConfig.title), 1),
|
12218
|
+
i("ul", Hg, [
|
12356
12219
|
(o(!0), d(K, null, J(n.additionalInfoConfig.items, (s, u) => (o(), d("li", {
|
12357
12220
|
key: u,
|
12358
12221
|
class: "flex items-start gap-3 text-sm text-slate-600"
|
@@ -12372,7 +12235,7 @@ function dv(e, a, t, n, r, l) {
|
|
12372
12235
|
class: m(n.helpClasses)
|
12373
12236
|
}, [
|
12374
12237
|
B(e.$slots, "help", {}, () => [
|
12375
|
-
i("p",
|
12238
|
+
i("p", Gg, [
|
12376
12239
|
G(x(t.helpText) + " ", 1),
|
12377
12240
|
t.supportUrl ? (o(), d("a", {
|
12378
12241
|
key: 0,
|
@@ -12381,16 +12244,153 @@ function dv(e, a, t, n, r, l) {
|
|
12381
12244
|
}, [...a[8] || (a[8] = [
|
12382
12245
|
i("span", { class: "inline-block w-4 h-4 mr-1" }, "❓", -1),
|
12383
12246
|
G(" Get Help ", -1)
|
12384
|
-
])], 8,
|
12247
|
+
])], 8, Kg)) : h("", !0)
|
12385
12248
|
])
|
12386
12249
|
])
|
12387
12250
|
], 2)) : h("", !0),
|
12388
|
-
n.isDev ? (o(), d("div",
|
12251
|
+
n.isDev ? (o(), d("div", Xg, " Error ID: " + x(n.errorId), 1)) : h("", !0)
|
12389
12252
|
], 2)
|
12390
12253
|
], 2)
|
12391
12254
|
], 2);
|
12392
12255
|
}
|
12393
|
-
const
|
12256
|
+
const Qg = /* @__PURE__ */ yt(Bg, [["render", Jg]]), Zg = {
|
12257
|
+
key: 0,
|
12258
|
+
class: "stl-loader__backdrop"
|
12259
|
+
}, ev = { class: "stl-loader__container" }, tv = {
|
12260
|
+
key: 0,
|
12261
|
+
class: "stl-loader__text stl-loader__text--top"
|
12262
|
+
}, av = {
|
12263
|
+
key: 1,
|
12264
|
+
class: "stl-loader__spin"
|
12265
|
+
}, nv = {
|
12266
|
+
key: 2,
|
12267
|
+
class: "stl-loader__pulse"
|
12268
|
+
}, rv = {
|
12269
|
+
key: 3,
|
12270
|
+
class: "stl-loader__bounce"
|
12271
|
+
}, sv = {
|
12272
|
+
key: 4,
|
12273
|
+
class: "stl-loader__ripple"
|
12274
|
+
}, lv = {
|
12275
|
+
key: 5,
|
12276
|
+
class: "stl-loader__bars"
|
12277
|
+
}, ov = {
|
12278
|
+
key: 6,
|
12279
|
+
class: "stl-loader__dots"
|
12280
|
+
}, iv = {
|
12281
|
+
key: 7,
|
12282
|
+
class: "stl-loader__ring"
|
12283
|
+
}, uv = {
|
12284
|
+
key: 8,
|
12285
|
+
class: "stl-loader__spinner-text"
|
12286
|
+
}, dv = {
|
12287
|
+
key: 9,
|
12288
|
+
class: "stl-loader__text stl-loader__text--bottom"
|
12289
|
+
}, cv = {
|
12290
|
+
__name: "StlLoader",
|
12291
|
+
props: {
|
12292
|
+
loading: {
|
12293
|
+
type: Boolean,
|
12294
|
+
default: !0
|
12295
|
+
},
|
12296
|
+
type: {
|
12297
|
+
type: String,
|
12298
|
+
default: "spin",
|
12299
|
+
validator: (e) => [
|
12300
|
+
"spin",
|
12301
|
+
"pulse",
|
12302
|
+
"bounce",
|
12303
|
+
"ripple",
|
12304
|
+
"bars",
|
12305
|
+
"dots",
|
12306
|
+
"ring",
|
12307
|
+
"spinner-text"
|
12308
|
+
].includes(e)
|
12309
|
+
},
|
12310
|
+
size: {
|
12311
|
+
type: String,
|
12312
|
+
default: "medium",
|
12313
|
+
validator: (e) => ["small", "medium", "large", "xl"].includes(e)
|
12314
|
+
},
|
12315
|
+
color: {
|
12316
|
+
type: String,
|
12317
|
+
default: "#3b82f6"
|
12318
|
+
},
|
12319
|
+
backgroundColor: {
|
12320
|
+
type: String,
|
12321
|
+
default: "rgba(255, 255, 255, 0.9)"
|
12322
|
+
},
|
12323
|
+
text: {
|
12324
|
+
type: String,
|
12325
|
+
default: ""
|
12326
|
+
},
|
12327
|
+
textPosition: {
|
12328
|
+
type: String,
|
12329
|
+
default: "bottom",
|
12330
|
+
validator: (e) => ["top", "bottom"].includes(e)
|
12331
|
+
},
|
12332
|
+
overlay: {
|
12333
|
+
type: Boolean,
|
12334
|
+
default: !1
|
12335
|
+
},
|
12336
|
+
fullscreen: {
|
12337
|
+
type: Boolean,
|
12338
|
+
default: !1
|
12339
|
+
}
|
12340
|
+
},
|
12341
|
+
setup(e) {
|
12342
|
+
return (a, t) => e.loading ? (o(), d("div", {
|
12343
|
+
key: 0,
|
12344
|
+
class: m([
|
12345
|
+
"stl-loader",
|
12346
|
+
`stl-loader--${e.type}`,
|
12347
|
+
`stl-loader--${e.size}`,
|
12348
|
+
e.overlay ? "stl-loader--overlay" : "",
|
12349
|
+
e.fullscreen ? "stl-loader--fullscreen" : ""
|
12350
|
+
]),
|
12351
|
+
style: de({
|
12352
|
+
"--loader-color": e.color,
|
12353
|
+
"--loader-bg": e.backgroundColor
|
12354
|
+
})
|
12355
|
+
}, [
|
12356
|
+
e.overlay ? (o(), d("div", Zg)) : h("", !0),
|
12357
|
+
i("div", ev, [
|
12358
|
+
e.text && e.textPosition === "top" ? (o(), d("div", tv, x(e.text), 1)) : h("", !0),
|
12359
|
+
e.type === "spin" ? (o(), d("div", av)) : e.type === "pulse" ? (o(), d("div", nv)) : e.type === "bounce" ? (o(), d("div", rv, [
|
12360
|
+
(o(), d(K, null, J(3, (n) => i("div", {
|
12361
|
+
key: n,
|
12362
|
+
class: "stl-loader__bounce-dot",
|
12363
|
+
style: de({ animationDelay: `${(n - 1) * 0.1}s` })
|
12364
|
+
}, null, 4)), 64))
|
12365
|
+
])) : e.type === "ripple" ? (o(), d("div", sv, [
|
12366
|
+
(o(), d(K, null, J(2, (n) => i("div", {
|
12367
|
+
key: n,
|
12368
|
+
class: "stl-loader__ripple-ring",
|
12369
|
+
style: de({ animationDelay: `${(n - 1) * 0.5}s` })
|
12370
|
+
}, null, 4)), 64))
|
12371
|
+
])) : e.type === "bars" ? (o(), d("div", lv, [
|
12372
|
+
(o(), d(K, null, J(5, (n) => i("div", {
|
12373
|
+
key: n,
|
12374
|
+
class: "stl-loader__bar",
|
12375
|
+
style: de({ animationDelay: `${(n - 1) * 0.1}s` })
|
12376
|
+
}, null, 4)), 64))
|
12377
|
+
])) : e.type === "dots" ? (o(), d("div", ov, [
|
12378
|
+
(o(), d(K, null, J(3, (n) => i("div", {
|
12379
|
+
key: n,
|
12380
|
+
class: "stl-loader__dot",
|
12381
|
+
style: de({ animationDelay: `${(n - 1) * 0.16}s` })
|
12382
|
+
}, null, 4)), 64))
|
12383
|
+
])) : e.type === "ring" ? (o(), d("div", iv, [...t[0] || (t[0] = [
|
12384
|
+
i("div", { class: "stl-loader__ring-track" }, null, -1),
|
12385
|
+
i("div", { class: "stl-loader__ring-fill" }, null, -1)
|
12386
|
+
])])) : e.type === "spinner-text" ? (o(), d("div", uv, [...t[1] || (t[1] = [
|
12387
|
+
i("div", { class: "stl-loader__spinner" }, null, -1)
|
12388
|
+
])])) : h("", !0),
|
12389
|
+
e.text && e.textPosition === "bottom" ? (o(), d("div", dv, x(e.text), 1)) : h("", !0)
|
12390
|
+
])
|
12391
|
+
], 6)) : h("", !0);
|
12392
|
+
}
|
12393
|
+
}, Ye = /* @__PURE__ */ yt(cv, [["__scopeId", "data-v-671e75e9"]]), Ua = {
|
12394
12394
|
Avatar: Lo,
|
12395
12395
|
Badge: Ro,
|
12396
12396
|
Button: Ce,
|
@@ -12414,54 +12414,54 @@ const cv = /* @__PURE__ */ yt(Ug, [["render", dv]]), Ua = {
|
|
12414
12414
|
Tooltip: $i,
|
12415
12415
|
Typography: Yt,
|
12416
12416
|
STLLoader: Ye,
|
12417
|
-
Alert:
|
12418
|
-
Breadcrumb:
|
12419
|
-
ButtonGroup:
|
12420
|
-
Card:
|
12421
|
-
CardHeader:
|
12422
|
-
CardBody:
|
12423
|
-
CardFooter:
|
12424
|
-
CardContent:
|
12425
|
-
CardTitle:
|
12417
|
+
Alert: Oi,
|
12418
|
+
Breadcrumb: Mi,
|
12419
|
+
ButtonGroup: Ni,
|
12420
|
+
Card: Wi,
|
12421
|
+
CardHeader: Hi,
|
12422
|
+
CardBody: Gi,
|
12423
|
+
CardFooter: Ki,
|
12424
|
+
CardContent: Xi,
|
12425
|
+
CardTitle: Ji,
|
12426
12426
|
DatePicker: ca,
|
12427
|
-
Dropdown:
|
12428
|
-
DropdownItem:
|
12429
|
-
FileUpload:
|
12427
|
+
Dropdown: iu,
|
12428
|
+
DropdownItem: du,
|
12429
|
+
FileUpload: xu,
|
12430
12430
|
FormField: ar,
|
12431
|
-
InputGroup:
|
12432
|
-
ListItem:
|
12433
|
-
MenuItem:
|
12431
|
+
InputGroup: Pu,
|
12432
|
+
ListItem: Mu,
|
12433
|
+
MenuItem: Nu,
|
12434
12434
|
Modal: nr,
|
12435
|
-
ModalHeader:
|
12436
|
-
ModalBody:
|
12437
|
-
ModalFooter:
|
12438
|
-
Notification:
|
12439
|
-
Toast:
|
12440
|
-
Search:
|
12435
|
+
ModalHeader: Ru,
|
12436
|
+
ModalBody: qu,
|
12437
|
+
ModalFooter: Yu,
|
12438
|
+
Notification: Xu,
|
12439
|
+
Toast: id,
|
12440
|
+
Search: Sd,
|
12441
12441
|
Slider: sr,
|
12442
|
-
Stepper:
|
12443
|
-
StepperItem:
|
12444
|
-
Tab:
|
12445
|
-
TabPanel:
|
12446
|
-
Accordion:
|
12447
|
-
AccordionItem:
|
12448
|
-
Calendar:
|
12449
|
-
DataTable:
|
12442
|
+
Stepper: Id,
|
12443
|
+
StepperItem: Od,
|
12444
|
+
Tab: Nd,
|
12445
|
+
TabPanel: _d,
|
12446
|
+
Accordion: Hd,
|
12447
|
+
AccordionItem: Gd,
|
12448
|
+
Calendar: rc,
|
12449
|
+
DataTable: Dc,
|
12450
12450
|
DataTableHeader: lr,
|
12451
12451
|
DataTableRow: or,
|
12452
|
-
DataTableCell:
|
12452
|
+
DataTableCell: Mc,
|
12453
12453
|
DataTablePagination: ir,
|
12454
|
-
DataTableFilters:
|
12455
|
-
DataTableToolBar:
|
12456
|
-
Footer:
|
12457
|
-
Header:
|
12458
|
-
ReusableFormModal:
|
12459
|
-
Sidebar:
|
12460
|
-
Timeline:
|
12461
|
-
TimelineItem:
|
12462
|
-
AuthLayout:
|
12463
|
-
DefaultLayout:
|
12464
|
-
ErrorLayout:
|
12454
|
+
DataTableFilters: of,
|
12455
|
+
DataTableToolBar: Cf,
|
12456
|
+
Footer: Bf,
|
12457
|
+
Header: cm,
|
12458
|
+
ReusableFormModal: pm,
|
12459
|
+
Sidebar: Rm,
|
12460
|
+
Timeline: qm,
|
12461
|
+
TimelineItem: Km,
|
12462
|
+
AuthLayout: $g,
|
12463
|
+
DefaultLayout: jg,
|
12464
|
+
ErrorLayout: Qg
|
12465
12465
|
}, vv = {
|
12466
12466
|
install(e, a = {}) {
|
12467
12467
|
const { prefix: t = "" } = a;
|
@@ -12472,79 +12472,79 @@ const cv = /* @__PURE__ */ yt(Ug, [["render", dv]]), Ua = {
|
|
12472
12472
|
}
|
12473
12473
|
};
|
12474
12474
|
export {
|
12475
|
-
|
12476
|
-
|
12477
|
-
|
12478
|
-
|
12475
|
+
Hd as Accordion,
|
12476
|
+
Gd as AccordionItem,
|
12477
|
+
Oi as Alert,
|
12478
|
+
$g as AuthLayout,
|
12479
12479
|
Lo as Avatar,
|
12480
12480
|
Ro as Badge,
|
12481
|
-
|
12481
|
+
Mi as Breadcrumb,
|
12482
12482
|
Ce as Button,
|
12483
|
-
|
12484
|
-
|
12485
|
-
|
12486
|
-
|
12487
|
-
|
12488
|
-
|
12489
|
-
|
12490
|
-
|
12483
|
+
Ni as ButtonGroup,
|
12484
|
+
rc as Calendar,
|
12485
|
+
Wi as Card,
|
12486
|
+
Gi as CardBody,
|
12487
|
+
Xi as CardContent,
|
12488
|
+
Ki as CardFooter,
|
12489
|
+
Hi as CardHeader,
|
12490
|
+
Ji as CardTitle,
|
12491
12491
|
ia as Checkbox,
|
12492
|
-
|
12493
|
-
|
12494
|
-
|
12492
|
+
Dc as DataTable,
|
12493
|
+
Mc as DataTableCell,
|
12494
|
+
of as DataTableFilters,
|
12495
12495
|
lr as DataTableHeader,
|
12496
12496
|
ir as DataTablePagination,
|
12497
12497
|
or as DataTableRow,
|
12498
|
-
|
12498
|
+
Cf as DataTableToolBar,
|
12499
12499
|
ca as DatePicker,
|
12500
|
-
|
12500
|
+
jg as DefaultLayout,
|
12501
12501
|
Qo as Divider,
|
12502
|
-
|
12503
|
-
|
12504
|
-
|
12505
|
-
|
12506
|
-
|
12502
|
+
iu as Dropdown,
|
12503
|
+
du as DropdownItem,
|
12504
|
+
Qg as ErrorLayout,
|
12505
|
+
xu as FileUpload,
|
12506
|
+
Bf as Footer,
|
12507
12507
|
ar as FormField,
|
12508
|
-
|
12508
|
+
cm as Header,
|
12509
12509
|
ae as Icon,
|
12510
12510
|
ai as Image,
|
12511
12511
|
qt as Input,
|
12512
|
-
|
12512
|
+
Pu as InputGroup,
|
12513
12513
|
da as Label,
|
12514
12514
|
ui as Link,
|
12515
|
-
|
12515
|
+
Mu as ListItem,
|
12516
12516
|
ci as Logo,
|
12517
|
-
|
12517
|
+
Nu as MenuItem,
|
12518
12518
|
nr as Modal,
|
12519
|
-
|
12520
|
-
|
12521
|
-
|
12522
|
-
|
12519
|
+
qu as ModalBody,
|
12520
|
+
Yu as ModalFooter,
|
12521
|
+
Ru as ModalHeader,
|
12522
|
+
Xu as Notification,
|
12523
12523
|
er as Option,
|
12524
12524
|
gi as Progress,
|
12525
12525
|
bi as ProgressBar,
|
12526
12526
|
pi as Radio,
|
12527
|
-
|
12527
|
+
pm as ReusableFormModal,
|
12528
12528
|
Ye as STLLoader,
|
12529
|
-
|
12529
|
+
Sd as Search,
|
12530
12530
|
ht as Select,
|
12531
|
-
|
12531
|
+
Rm as Sidebar,
|
12532
12532
|
sr as Slider,
|
12533
12533
|
ua as Spinner,
|
12534
|
-
|
12535
|
-
|
12534
|
+
Id as Stepper,
|
12535
|
+
Od as StepperItem,
|
12536
12536
|
ki as Switch,
|
12537
|
-
|
12538
|
-
|
12537
|
+
Nd as Tab,
|
12538
|
+
_d as TabPanel,
|
12539
12539
|
Si as Text,
|
12540
12540
|
tr as Textarea,
|
12541
|
-
|
12542
|
-
|
12543
|
-
|
12541
|
+
qm as Timeline,
|
12542
|
+
Km as TimelineItem,
|
12543
|
+
id as Toast,
|
12544
12544
|
$i as Tooltip,
|
12545
12545
|
Yt as Typography,
|
12546
12546
|
S as cn,
|
12547
12547
|
vv as default,
|
12548
12548
|
Ut as toast,
|
12549
|
-
|
12549
|
+
ed as useToaster
|
12550
12550
|
};
|