@stlhorizon/vue-ui 2.10.2 → 2.10.3
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
CHANGED
|
@@ -5842,15 +5842,40 @@ const Q = {
|
|
|
5842
5842
|
], 2)) : h("", !0)
|
|
5843
5843
|
], 2));
|
|
5844
5844
|
}
|
|
5845
|
-
}, su = {
|
|
5845
|
+
}, su = {
|
|
5846
5846
|
key: 0,
|
|
5847
|
-
class: "text-
|
|
5847
|
+
class: "text-lg font-semibold leading-tight text-black"
|
|
5848
|
+
}, lu = {
|
|
5849
|
+
key: 1,
|
|
5850
|
+
class: "text-lg font-semibold leading-tight text-black"
|
|
5848
5851
|
}, ou = {
|
|
5852
|
+
key: 2,
|
|
5853
|
+
class: "text-sm text-gray-600"
|
|
5854
|
+
}, iu = {
|
|
5855
|
+
key: 3,
|
|
5856
|
+
class: "text-sm text-gray-600"
|
|
5857
|
+
}, uu = {
|
|
5849
5858
|
key: 0,
|
|
5850
5859
|
class: "flex items-center gap-2"
|
|
5851
|
-
},
|
|
5860
|
+
}, du = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5852
5861
|
__name: "CardHeader",
|
|
5853
5862
|
props: {
|
|
5863
|
+
title: {
|
|
5864
|
+
type: String,
|
|
5865
|
+
default: ""
|
|
5866
|
+
},
|
|
5867
|
+
subtitle: {
|
|
5868
|
+
type: String,
|
|
5869
|
+
default: ""
|
|
5870
|
+
},
|
|
5871
|
+
titleClass: {
|
|
5872
|
+
type: String,
|
|
5873
|
+
default: ""
|
|
5874
|
+
},
|
|
5875
|
+
subtitleClass: {
|
|
5876
|
+
type: String,
|
|
5877
|
+
default: ""
|
|
5878
|
+
},
|
|
5854
5879
|
padding: {
|
|
5855
5880
|
type: String,
|
|
5856
5881
|
default: "p-4 md:p-6"
|
|
@@ -5863,7 +5888,7 @@ const Q = {
|
|
|
5863
5888
|
setup(e) {
|
|
5864
5889
|
return (a, t) => (s(), u("header", {
|
|
5865
5890
|
class: m(L(S)(
|
|
5866
|
-
"flex items-center justify-between border-b border-border bg-
|
|
5891
|
+
"flex items-center justify-between border-b border-border bg-white text-black",
|
|
5867
5892
|
e.padding,
|
|
5868
5893
|
a.$attrs.class
|
|
5869
5894
|
))
|
|
@@ -5871,19 +5896,19 @@ const Q = {
|
|
|
5871
5896
|
i("div", {
|
|
5872
5897
|
class: m(L(S)("flex flex-col", e.textSpacing))
|
|
5873
5898
|
}, [
|
|
5874
|
-
|
|
5899
|
+
e.title ? (s(), u("h2", su, x(e.title), 1)) : (s(), u("h2", lu, [
|
|
5875
5900
|
F(a.$slots, "title")
|
|
5876
|
-
]),
|
|
5877
|
-
a.$slots.description ? (s(), u("p",
|
|
5901
|
+
])),
|
|
5902
|
+
e.subtitle ? (s(), u("p", ou, x(e.subtitle), 1)) : a.$slots.description ? (s(), u("p", iu, [
|
|
5878
5903
|
F(a.$slots, "description")
|
|
5879
5904
|
])) : h("", !0)
|
|
5880
5905
|
], 2),
|
|
5881
|
-
a.$slots.actions ? (s(), u("div",
|
|
5906
|
+
a.$slots.actions ? (s(), u("div", uu, [
|
|
5882
5907
|
F(a.$slots, "actions")
|
|
5883
5908
|
])) : h("", !0)
|
|
5884
5909
|
], 2));
|
|
5885
5910
|
}
|
|
5886
|
-
}),
|
|
5911
|
+
}), cu = {
|
|
5887
5912
|
__name: "CardBody",
|
|
5888
5913
|
props: {
|
|
5889
5914
|
variant: {
|
|
@@ -5910,7 +5935,7 @@ const Q = {
|
|
|
5910
5935
|
F(r.$slots, "default")
|
|
5911
5936
|
], 2));
|
|
5912
5937
|
}
|
|
5913
|
-
},
|
|
5938
|
+
}, fu = {
|
|
5914
5939
|
__name: "CardFooter",
|
|
5915
5940
|
props: {
|
|
5916
5941
|
variant: {
|
|
@@ -5937,7 +5962,7 @@ const Q = {
|
|
|
5937
5962
|
F(r.$slots, "default")
|
|
5938
5963
|
], 2));
|
|
5939
5964
|
}
|
|
5940
|
-
},
|
|
5965
|
+
}, mu = /* @__PURE__ */ Object.assign({
|
|
5941
5966
|
inheritAttrs: !1
|
|
5942
5967
|
}, {
|
|
5943
5968
|
__name: "CardContent",
|
|
@@ -5948,7 +5973,7 @@ const Q = {
|
|
|
5948
5973
|
F(a.$slots, "default")
|
|
5949
5974
|
], 2));
|
|
5950
5975
|
}
|
|
5951
|
-
}),
|
|
5976
|
+
}), gu = /* @__PURE__ */ Object.assign({
|
|
5952
5977
|
inheritAttrs: !1
|
|
5953
5978
|
}, {
|
|
5954
5979
|
__name: "CardTitle",
|
|
@@ -5959,7 +5984,7 @@ const Q = {
|
|
|
5959
5984
|
F(a.$slots, "default")
|
|
5960
5985
|
], 2));
|
|
5961
5986
|
}
|
|
5962
|
-
}),
|
|
5987
|
+
}), vu = { class: "relative w-full" }, bu = { class: "relative" }, hu = ["id", "value", "disabled", "placeholder", "required", "aria-describedby"], pu = { class: "flex items-center justify-between mb-4" }, yu = { class: "text-base font-semibold text-slate-900" }, xu = { class: "grid grid-cols-7 gap-1 mb-2" }, wu = { class: "grid grid-cols-7 gap-1" }, ku = ["disabled", "onClick"], Su = {
|
|
5963
5988
|
key: 0,
|
|
5964
5989
|
class: "mt-4 pt-3 border-t border-slate-200"
|
|
5965
5990
|
}, xa = {
|
|
@@ -6085,8 +6110,8 @@ const Q = {
|
|
|
6085
6110
|
document.addEventListener("keydown", J);
|
|
6086
6111
|
}), nn(() => {
|
|
6087
6112
|
document.removeEventListener("keydown", J);
|
|
6088
|
-
}), ($, M) => (s(), u("div",
|
|
6089
|
-
i("div",
|
|
6113
|
+
}), ($, M) => (s(), u("div", vu, [
|
|
6114
|
+
i("div", bu, [
|
|
6090
6115
|
i("input", {
|
|
6091
6116
|
id: e.id,
|
|
6092
6117
|
type: "text",
|
|
@@ -6098,7 +6123,7 @@ const Q = {
|
|
|
6098
6123
|
"aria-describedby": e.ariaDescribedby,
|
|
6099
6124
|
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",
|
|
6100
6125
|
onClick: j
|
|
6101
|
-
}, null, 8,
|
|
6126
|
+
}, null, 8, hu),
|
|
6102
6127
|
M[2] || (M[2] = i("div", { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" }, [
|
|
6103
6128
|
i("svg", {
|
|
6104
6129
|
class: "w-5 h-5 text-slate-400",
|
|
@@ -6151,7 +6176,7 @@ const Q = {
|
|
|
6151
6176
|
onClick: M[0] || (M[0] = Ne(() => {
|
|
6152
6177
|
}, ["stop"]))
|
|
6153
6178
|
}, [
|
|
6154
|
-
i("div",
|
|
6179
|
+
i("div", pu, [
|
|
6155
6180
|
i("button", {
|
|
6156
6181
|
type: "button",
|
|
6157
6182
|
class: "p-2 rounded-lg hover:bg-slate-100 transition-colors",
|
|
@@ -6172,7 +6197,7 @@ const Q = {
|
|
|
6172
6197
|
})
|
|
6173
6198
|
], -1)
|
|
6174
6199
|
])]),
|
|
6175
|
-
i("div",
|
|
6200
|
+
i("div", yu, x(w.value) + " " + x(d.value), 1),
|
|
6176
6201
|
i("button", {
|
|
6177
6202
|
type: "button",
|
|
6178
6203
|
class: "p-2 rounded-lg hover:bg-slate-100 transition-colors",
|
|
@@ -6194,13 +6219,13 @@ const Q = {
|
|
|
6194
6219
|
], -1)
|
|
6195
6220
|
])])
|
|
6196
6221
|
]),
|
|
6197
|
-
i("div",
|
|
6222
|
+
i("div", xu, [
|
|
6198
6223
|
(s(), u(G, null, X(p, (Y) => i("div", {
|
|
6199
6224
|
key: Y,
|
|
6200
6225
|
class: "text-center text-xs font-medium text-slate-600 py-1"
|
|
6201
6226
|
}, x(Y), 1)), 64))
|
|
6202
6227
|
]),
|
|
6203
|
-
i("div",
|
|
6228
|
+
i("div", wu, [
|
|
6204
6229
|
(s(!0), u(G, null, X(C.value, (Y, oe) => (s(), u("div", {
|
|
6205
6230
|
key: "prev-" + oe,
|
|
6206
6231
|
class: "text-center text-sm text-slate-300 py-2"
|
|
@@ -6216,13 +6241,13 @@ const Q = {
|
|
|
6216
6241
|
O(Y) ? "text-slate-300 cursor-not-allowed hover:bg-transparent" : "cursor-pointer"
|
|
6217
6242
|
]),
|
|
6218
6243
|
onClick: (oe) => te(Y)
|
|
6219
|
-
}, x(Y), 11,
|
|
6244
|
+
}, x(Y), 11, ku))), 128)),
|
|
6220
6245
|
(s(!0), u(G, null, X(z.value, (Y, oe) => (s(), u("div", {
|
|
6221
6246
|
key: "next-" + oe,
|
|
6222
6247
|
class: "text-center text-sm text-slate-300 py-2"
|
|
6223
6248
|
}, x(Y), 1))), 128))
|
|
6224
6249
|
]),
|
|
6225
|
-
e.showToday ? (s(), u("div",
|
|
6250
|
+
e.showToday ? (s(), u("div", Su, [
|
|
6226
6251
|
i("button", {
|
|
6227
6252
|
type: "button",
|
|
6228
6253
|
class: "w-full px-3 py-2 text-sm font-medium text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",
|
|
@@ -6240,7 +6265,7 @@ const Q = {
|
|
|
6240
6265
|
})) : h("", !0)
|
|
6241
6266
|
]));
|
|
6242
6267
|
}
|
|
6243
|
-
},
|
|
6268
|
+
}, $u = ["aria-expanded"], Cu = {
|
|
6244
6269
|
__name: "Dropdown",
|
|
6245
6270
|
props: {
|
|
6246
6271
|
triggerText: {
|
|
@@ -6313,7 +6338,7 @@ const Q = {
|
|
|
6313
6338
|
class: "ml-2 h-4 w-4"
|
|
6314
6339
|
})
|
|
6315
6340
|
])
|
|
6316
|
-
], 10,
|
|
6341
|
+
], 10, $u),
|
|
6317
6342
|
P(fe, {
|
|
6318
6343
|
"enter-active-class": "transition ease-out duration-100",
|
|
6319
6344
|
"enter-from-class": "transform opacity-0 scale-95",
|
|
@@ -6336,10 +6361,10 @@ const Q = {
|
|
|
6336
6361
|
})
|
|
6337
6362
|
], 512));
|
|
6338
6363
|
}
|
|
6339
|
-
},
|
|
6364
|
+
}, zu = {
|
|
6340
6365
|
key: 1,
|
|
6341
6366
|
class: "ml-auto text-xs tracking-widest opacity-60"
|
|
6342
|
-
},
|
|
6367
|
+
}, Au = {
|
|
6343
6368
|
__name: "DropdownItem",
|
|
6344
6369
|
props: {
|
|
6345
6370
|
href: String,
|
|
@@ -6383,18 +6408,18 @@ const Q = {
|
|
|
6383
6408
|
class: "mr-2 h-4 w-4"
|
|
6384
6409
|
}, null, 8, ["name"])) : h("", !0),
|
|
6385
6410
|
F(d.$slots, "default"),
|
|
6386
|
-
e.shortcut ? (s(), u("span",
|
|
6411
|
+
e.shortcut ? (s(), u("span", zu, x(e.shortcut), 1)) : h("", !0)
|
|
6387
6412
|
]),
|
|
6388
6413
|
_: 3
|
|
6389
6414
|
}, 8, ["href", "class", "disabled"]));
|
|
6390
6415
|
}
|
|
6391
|
-
},
|
|
6416
|
+
}, Iu = { class: "w-full" }, Tu = ["multiple", "accept"], Pu = { class: "flex flex-col items-center justify-center py-6" }, ju = {
|
|
6392
6417
|
key: 0,
|
|
6393
6418
|
class: "text-xs text-muted-foreground mt-1"
|
|
6394
|
-
},
|
|
6419
|
+
}, Bu = {
|
|
6395
6420
|
key: 0,
|
|
6396
6421
|
class: "mt-4 space-y-2"
|
|
6397
|
-
},
|
|
6422
|
+
}, Ou = { class: "flex items-center space-x-2" }, Fu = { class: "text-sm" }, Vu = { class: "text-xs text-muted-foreground" }, Mu = ["onClick"], Du = {
|
|
6398
6423
|
__name: "FileUpload",
|
|
6399
6424
|
props: {
|
|
6400
6425
|
multiple: Boolean,
|
|
@@ -6453,7 +6478,7 @@ const Q = {
|
|
|
6453
6478
|
const A = 1024, O = ["Bytes", "KB", "MB", "GB"], j = Math.floor(Math.log(y) / Math.log(A));
|
|
6454
6479
|
return parseFloat((y / Math.pow(A, j)).toFixed(2)) + " " + O[j];
|
|
6455
6480
|
};
|
|
6456
|
-
return (y, A) => (s(), u("div",
|
|
6481
|
+
return (y, A) => (s(), u("div", Iu, [
|
|
6457
6482
|
i("div", {
|
|
6458
6483
|
class: m(c.value),
|
|
6459
6484
|
onDrop: p,
|
|
@@ -6470,8 +6495,8 @@ const Q = {
|
|
|
6470
6495
|
accept: e.accept,
|
|
6471
6496
|
class: "hidden",
|
|
6472
6497
|
onChange: z
|
|
6473
|
-
}, null, 40,
|
|
6474
|
-
i("div",
|
|
6498
|
+
}, null, 40, Tu),
|
|
6499
|
+
i("div", Pu, [
|
|
6475
6500
|
P(Q, {
|
|
6476
6501
|
icon: "upload",
|
|
6477
6502
|
class: "h-8 w-8 text-muted-foreground mb-2"
|
|
@@ -6480,21 +6505,21 @@ const Q = {
|
|
|
6480
6505
|
i("span", { class: "font-semibold" }, "Click to upload"),
|
|
6481
6506
|
ee(" or drag and drop ")
|
|
6482
6507
|
], -1)),
|
|
6483
|
-
e.accept ? (s(), u("p",
|
|
6508
|
+
e.accept ? (s(), u("p", ju, x(e.accept), 1)) : h("", !0)
|
|
6484
6509
|
])
|
|
6485
6510
|
], 34),
|
|
6486
|
-
r.value.length > 0 ? (s(), u("div",
|
|
6511
|
+
r.value.length > 0 ? (s(), u("div", Bu, [
|
|
6487
6512
|
(s(!0), u(G, null, X(r.value, (O, j) => (s(), u("div", {
|
|
6488
6513
|
key: j,
|
|
6489
6514
|
class: "flex items-center justify-between p-2 bg-gray-300 rounded-md"
|
|
6490
6515
|
}, [
|
|
6491
|
-
i("div",
|
|
6516
|
+
i("div", Ou, [
|
|
6492
6517
|
P(Q, {
|
|
6493
6518
|
icon: "file",
|
|
6494
6519
|
class: "h-4 w-4 text-muted-foreground"
|
|
6495
6520
|
}),
|
|
6496
|
-
i("span",
|
|
6497
|
-
i("span",
|
|
6521
|
+
i("span", Fu, x(O.name), 1),
|
|
6522
|
+
i("span", Vu, "(" + x(f(O.size)) + ")", 1)
|
|
6498
6523
|
]),
|
|
6499
6524
|
i("button", {
|
|
6500
6525
|
class: "text-muted-foreground hover:text-foreground",
|
|
@@ -6504,16 +6529,16 @@ const Q = {
|
|
|
6504
6529
|
icon: "x",
|
|
6505
6530
|
class: "h-4 w-4"
|
|
6506
6531
|
})
|
|
6507
|
-
], 8,
|
|
6532
|
+
], 8, Mu)
|
|
6508
6533
|
]))), 128))
|
|
6509
6534
|
])) : h("", !0)
|
|
6510
6535
|
]));
|
|
6511
6536
|
}
|
|
6512
|
-
},
|
|
6537
|
+
}, Eu = ["for"], Lu = {
|
|
6513
6538
|
key: 0,
|
|
6514
6539
|
class: "text-red-500 ml-1",
|
|
6515
6540
|
"aria-label": "required"
|
|
6516
|
-
},
|
|
6541
|
+
}, Nu = { class: "relative" }, Ru = ["aria-label"], _u = ["id"], qu = ["id"], fr = {
|
|
6517
6542
|
__name: "FormField",
|
|
6518
6543
|
props: {
|
|
6519
6544
|
label: String,
|
|
@@ -6600,13 +6625,13 @@ const Q = {
|
|
|
6600
6625
|
class: m(L(S)(L(k)({ size: e.size })))
|
|
6601
6626
|
}, [
|
|
6602
6627
|
ee(x(e.label) + " ", 1),
|
|
6603
|
-
e.required ? (s(), u("span",
|
|
6604
|
-
], 10,
|
|
6628
|
+
e.required ? (s(), u("span", Lu, "*")) : h("", !0)
|
|
6629
|
+
], 10, Eu)) : h("", !0),
|
|
6605
6630
|
e.description ? (s(), u("p", {
|
|
6606
6631
|
key: 1,
|
|
6607
6632
|
class: m(L(S)(L(V)({ size: e.size })))
|
|
6608
6633
|
}, x(e.description), 3)) : h("", !0),
|
|
6609
|
-
i("div",
|
|
6634
|
+
i("div", Nu, [
|
|
6610
6635
|
e.type === "date" ? (s(), U(xa, {
|
|
6611
6636
|
key: 0,
|
|
6612
6637
|
id: l.value,
|
|
@@ -6634,7 +6659,7 @@ const Q = {
|
|
|
6634
6659
|
icon: d.value ? "eye-slash" : "eye",
|
|
6635
6660
|
class: "w-4 h-4"
|
|
6636
6661
|
}, null, 8, ["icon"])
|
|
6637
|
-
], 8,
|
|
6662
|
+
], 8, Ru)) : h("", !0)
|
|
6638
6663
|
]),
|
|
6639
6664
|
P(fe, {
|
|
6640
6665
|
"enter-active-class": "transition-all duration-200",
|
|
@@ -6657,7 +6682,7 @@ const Q = {
|
|
|
6657
6682
|
class: "w-4 h-4 flex-shrink-0 mt-0.5"
|
|
6658
6683
|
}),
|
|
6659
6684
|
i("span", null, x(e.error), 1)
|
|
6660
|
-
], 10,
|
|
6685
|
+
], 10, _u)) : h("", !0)
|
|
6661
6686
|
]),
|
|
6662
6687
|
_: 1
|
|
6663
6688
|
}),
|
|
@@ -6665,7 +6690,7 @@ const Q = {
|
|
|
6665
6690
|
key: 2,
|
|
6666
6691
|
id: `${l.value}-help`,
|
|
6667
6692
|
class: m(L(S)(L(z)({ size: e.size })))
|
|
6668
|
-
}, x(e.helpText), 11,
|
|
6693
|
+
}, x(e.helpText), 11, qu)) : h("", !0),
|
|
6669
6694
|
P(fe, {
|
|
6670
6695
|
"enter-active-class": "transition-all duration-200",
|
|
6671
6696
|
"enter-from-class": "opacity-0 -translate-y-1",
|
|
@@ -6691,13 +6716,13 @@ const Q = {
|
|
|
6691
6716
|
], 2);
|
|
6692
6717
|
};
|
|
6693
6718
|
}
|
|
6694
|
-
},
|
|
6719
|
+
}, Wu = {
|
|
6695
6720
|
key: 0,
|
|
6696
6721
|
class: "flex items-center px-3 bg-muted border border-r-0 rounded-l-md"
|
|
6697
|
-
},
|
|
6722
|
+
}, Yu = {
|
|
6698
6723
|
key: 1,
|
|
6699
6724
|
class: "flex items-center px-3 bg-muted border border-l-0 rounded-r-md"
|
|
6700
|
-
},
|
|
6725
|
+
}, Uu = {
|
|
6701
6726
|
__name: "InputGroup",
|
|
6702
6727
|
props: {
|
|
6703
6728
|
variant: {
|
|
@@ -6720,28 +6745,28 @@ const Q = {
|
|
|
6720
6745
|
return (r, l) => (s(), u("div", {
|
|
6721
6746
|
class: m(n.value)
|
|
6722
6747
|
}, [
|
|
6723
|
-
r.$slots.prefix ? (s(), u("div",
|
|
6748
|
+
r.$slots.prefix ? (s(), u("div", Wu, [
|
|
6724
6749
|
F(r.$slots, "prefix")
|
|
6725
6750
|
])) : h("", !0),
|
|
6726
6751
|
F(r.$slots, "default"),
|
|
6727
|
-
r.$slots.suffix ? (s(), u("div",
|
|
6752
|
+
r.$slots.suffix ? (s(), u("div", Yu, [
|
|
6728
6753
|
F(r.$slots, "suffix")
|
|
6729
6754
|
])) : h("", !0)
|
|
6730
6755
|
], 2));
|
|
6731
6756
|
}
|
|
6732
|
-
},
|
|
6757
|
+
}, Hu = ["role"], Gu = {
|
|
6733
6758
|
key: 0,
|
|
6734
6759
|
class: "flex-shrink-0"
|
|
6735
|
-
},
|
|
6760
|
+
}, Xu = { class: "flex-1 min-w-0" }, Ku = {
|
|
6736
6761
|
key: 0,
|
|
6737
6762
|
class: "text-sm font-medium text-foreground"
|
|
6738
|
-
},
|
|
6763
|
+
}, Ju = {
|
|
6739
6764
|
key: 1,
|
|
6740
6765
|
class: "text-sm text-muted-foreground"
|
|
6741
|
-
},
|
|
6766
|
+
}, Qu = {
|
|
6742
6767
|
key: 1,
|
|
6743
6768
|
class: "flex-shrink-0"
|
|
6744
|
-
},
|
|
6769
|
+
}, Zu = {
|
|
6745
6770
|
__name: "ListItem",
|
|
6746
6771
|
props: {
|
|
6747
6772
|
title: String,
|
|
@@ -6788,7 +6813,7 @@ const Q = {
|
|
|
6788
6813
|
onClick: c
|
|
6789
6814
|
}, {
|
|
6790
6815
|
default: N(() => [
|
|
6791
|
-
p.$slots.icon || e.icon ? (s(), u("div",
|
|
6816
|
+
p.$slots.icon || e.icon ? (s(), u("div", Gu, [
|
|
6792
6817
|
F(p.$slots, "icon", {}, () => [
|
|
6793
6818
|
e.icon ? (s(), U(Q, {
|
|
6794
6819
|
key: 0,
|
|
@@ -6797,23 +6822,23 @@ const Q = {
|
|
|
6797
6822
|
}, null, 8, ["name"])) : h("", !0)
|
|
6798
6823
|
])
|
|
6799
6824
|
])) : h("", !0),
|
|
6800
|
-
i("div",
|
|
6801
|
-
e.title ? (s(), u("div",
|
|
6802
|
-
e.description ? (s(), u("div",
|
|
6825
|
+
i("div", Xu, [
|
|
6826
|
+
e.title ? (s(), u("div", Ku, x(e.title), 1)) : h("", !0),
|
|
6827
|
+
e.description ? (s(), u("div", Ju, x(e.description), 1)) : h("", !0),
|
|
6803
6828
|
F(p.$slots, "default")
|
|
6804
6829
|
]),
|
|
6805
|
-
p.$slots.action ? (s(), u("div",
|
|
6830
|
+
p.$slots.action ? (s(), u("div", Qu, [
|
|
6806
6831
|
F(p.$slots, "action")
|
|
6807
6832
|
])) : h("", !0)
|
|
6808
6833
|
]),
|
|
6809
6834
|
_: 3
|
|
6810
6835
|
}, 8, ["href", "class"]))
|
|
6811
|
-
], 10,
|
|
6836
|
+
], 10, Hu));
|
|
6812
6837
|
}
|
|
6813
|
-
},
|
|
6838
|
+
}, ed = {
|
|
6814
6839
|
key: 1,
|
|
6815
6840
|
class: "ml-auto text-xs tracking-widest opacity-60"
|
|
6816
|
-
},
|
|
6841
|
+
}, td = {
|
|
6817
6842
|
__name: "MenuItem",
|
|
6818
6843
|
props: {
|
|
6819
6844
|
href: String,
|
|
@@ -6858,7 +6883,7 @@ const Q = {
|
|
|
6858
6883
|
class: "mr-2 h-4 w-4"
|
|
6859
6884
|
}, null, 8, ["name"])) : h("", !0),
|
|
6860
6885
|
F(d.$slots, "default"),
|
|
6861
|
-
e.shortcut ? (s(), u("span",
|
|
6886
|
+
e.shortcut ? (s(), u("span", ed, x(e.shortcut), 1)) : h("", !0),
|
|
6862
6887
|
e.hasSubmenu ? (s(), U(Q, {
|
|
6863
6888
|
key: 2,
|
|
6864
6889
|
name: "chevron-right",
|
|
@@ -6965,26 +6990,26 @@ const Q = {
|
|
|
6965
6990
|
})
|
|
6966
6991
|
]));
|
|
6967
6992
|
}
|
|
6968
|
-
},
|
|
6993
|
+
}, ad = { class: "flex flex-col space-y-1.5 text-center sm:text-left" }, nd = {
|
|
6969
6994
|
key: 0,
|
|
6970
6995
|
class: "text-lg font-semibold leading-none tracking-tight"
|
|
6971
|
-
},
|
|
6996
|
+
}, rd = {
|
|
6972
6997
|
key: 1,
|
|
6973
6998
|
class: "text-sm text-muted-foreground"
|
|
6974
|
-
},
|
|
6999
|
+
}, sd = {
|
|
6975
7000
|
__name: "ModalHeader",
|
|
6976
7001
|
props: {
|
|
6977
7002
|
title: String,
|
|
6978
7003
|
description: String
|
|
6979
7004
|
},
|
|
6980
7005
|
setup(e) {
|
|
6981
|
-
return (a, t) => (s(), u("div",
|
|
6982
|
-
e.title ? (s(), u("h2",
|
|
6983
|
-
e.description ? (s(), u("p",
|
|
7006
|
+
return (a, t) => (s(), u("div", ad, [
|
|
7007
|
+
e.title ? (s(), u("h2", nd, x(e.title), 1)) : h("", !0),
|
|
7008
|
+
e.description ? (s(), u("p", rd, x(e.description), 1)) : h("", !0),
|
|
6984
7009
|
F(a.$slots, "default")
|
|
6985
7010
|
]));
|
|
6986
7011
|
}
|
|
6987
|
-
},
|
|
7012
|
+
}, ld = {
|
|
6988
7013
|
__name: "ModalBody",
|
|
6989
7014
|
props: {
|
|
6990
7015
|
variant: {
|
|
@@ -7010,7 +7035,7 @@ const Q = {
|
|
|
7010
7035
|
F(r.$slots, "default")
|
|
7011
7036
|
], 2));
|
|
7012
7037
|
}
|
|
7013
|
-
},
|
|
7038
|
+
}, od = {
|
|
7014
7039
|
__name: "ModalFooter",
|
|
7015
7040
|
props: {
|
|
7016
7041
|
variant: {
|
|
@@ -7036,13 +7061,13 @@ const Q = {
|
|
|
7036
7061
|
F(r.$slots, "default")
|
|
7037
7062
|
], 2));
|
|
7038
7063
|
}
|
|
7039
|
-
},
|
|
7064
|
+
}, id = ["aria-live"], ud = { class: "flex items-start space-x-3" }, dd = {
|
|
7040
7065
|
key: 0,
|
|
7041
7066
|
class: "flex-shrink-0"
|
|
7042
|
-
},
|
|
7067
|
+
}, cd = { class: "flex-1 min-w-0" }, fd = {
|
|
7043
7068
|
key: 0,
|
|
7044
7069
|
class: "text-sm font-medium"
|
|
7045
|
-
},
|
|
7070
|
+
}, md = {
|
|
7046
7071
|
__name: "Notification",
|
|
7047
7072
|
props: {
|
|
7048
7073
|
title: String,
|
|
@@ -7118,15 +7143,15 @@ const Q = {
|
|
|
7118
7143
|
role: "alert",
|
|
7119
7144
|
"aria-live": e.variant === "destructive" ? "assertive" : "polite"
|
|
7120
7145
|
}, [
|
|
7121
|
-
i("div",
|
|
7122
|
-
e.showIcon ? (s(), u("div",
|
|
7146
|
+
i("div", ud, [
|
|
7147
|
+
e.showIcon ? (s(), u("div", dd, [
|
|
7123
7148
|
P(Q, {
|
|
7124
7149
|
name: p.value,
|
|
7125
7150
|
class: m(w.value)
|
|
7126
7151
|
}, null, 8, ["name", "class"])
|
|
7127
7152
|
])) : h("", !0),
|
|
7128
|
-
i("div",
|
|
7129
|
-
e.title ? (s(), u("div",
|
|
7153
|
+
i("div", cd, [
|
|
7154
|
+
e.title ? (s(), u("div", fd, x(e.title), 1)) : h("", !0),
|
|
7130
7155
|
e.message ? (s(), u("div", {
|
|
7131
7156
|
key: 1,
|
|
7132
7157
|
class: m(["text-sm", { "mt-1": e.title }])
|
|
@@ -7144,23 +7169,23 @@ const Q = {
|
|
|
7144
7169
|
})
|
|
7145
7170
|
])) : h("", !0)
|
|
7146
7171
|
])
|
|
7147
|
-
], 10,
|
|
7172
|
+
], 10, id)) : h("", !0)
|
|
7148
7173
|
]),
|
|
7149
7174
|
_: 3
|
|
7150
7175
|
}));
|
|
7151
7176
|
}
|
|
7152
7177
|
}, it = W([]);
|
|
7153
|
-
let
|
|
7154
|
-
const
|
|
7178
|
+
let gd = 0;
|
|
7179
|
+
const vd = {
|
|
7155
7180
|
duration: 3e3,
|
|
7156
7181
|
position: "top-center",
|
|
7157
7182
|
dismissible: !0,
|
|
7158
7183
|
closeButton: !1
|
|
7159
|
-
},
|
|
7160
|
-
const t =
|
|
7184
|
+
}, bd = () => `toast-${++gd}-${Date.now()}`, Te = (e, a = {}) => {
|
|
7185
|
+
const t = bd(), n = {
|
|
7161
7186
|
id: t,
|
|
7162
7187
|
message: e,
|
|
7163
|
-
...
|
|
7188
|
+
...vd,
|
|
7164
7189
|
...a,
|
|
7165
7190
|
createdAt: Date.now()
|
|
7166
7191
|
};
|
|
@@ -7220,20 +7245,20 @@ const md = {
|
|
|
7220
7245
|
component: sn(e)
|
|
7221
7246
|
})
|
|
7222
7247
|
}
|
|
7223
|
-
),
|
|
7248
|
+
), hd = () => ({
|
|
7224
7249
|
toasts: it,
|
|
7225
7250
|
dismiss: st,
|
|
7226
7251
|
dismissAll: gr
|
|
7227
|
-
}),
|
|
7252
|
+
}), pd = ["aria-live"], yd = { class: "flex-1 grid gap-1" }, xd = {
|
|
7228
7253
|
key: 0,
|
|
7229
7254
|
class: "text-lg font-extrabold"
|
|
7230
|
-
},
|
|
7255
|
+
}, wd = {
|
|
7231
7256
|
key: 1,
|
|
7232
7257
|
class: "text-md opacity-90"
|
|
7233
|
-
},
|
|
7258
|
+
}, kd = {
|
|
7234
7259
|
key: 2,
|
|
7235
7260
|
class: "text-md opacity-90"
|
|
7236
|
-
},
|
|
7261
|
+
}, Sd = ["onClick"], $d = ["onClick"], Cd = {
|
|
7237
7262
|
__name: "Toast",
|
|
7238
7263
|
props: {
|
|
7239
7264
|
position: {
|
|
@@ -7270,7 +7295,7 @@ const md = {
|
|
|
7270
7295
|
}
|
|
7271
7296
|
},
|
|
7272
7297
|
setup(e) {
|
|
7273
|
-
const a = e, { toasts: t, dismiss: n } =
|
|
7298
|
+
const a = e, { toasts: t, dismiss: n } = hd(), r = {
|
|
7274
7299
|
"top-left": "top-0 left-0 flex-col",
|
|
7275
7300
|
"top-center": "top-0 left-1/2 -translate-x-1/2 flex-col",
|
|
7276
7301
|
"top-right": "top-0 right-0 flex-col",
|
|
@@ -7342,10 +7367,10 @@ const md = {
|
|
|
7342
7367
|
icon: w(g),
|
|
7343
7368
|
class: m([k(g), "h-4 w-4 shrink-0"])
|
|
7344
7369
|
}, null, 8, ["icon", "class"])) : h("", !0),
|
|
7345
|
-
i("div",
|
|
7346
|
-
g.title ? (s(), u("div",
|
|
7347
|
-
g.message ? (s(), u("div",
|
|
7348
|
-
g.description ? (s(), u("div",
|
|
7370
|
+
i("div", yd, [
|
|
7371
|
+
g.title ? (s(), u("div", xd, x(g.title), 1)) : h("", !0),
|
|
7372
|
+
g.message ? (s(), u("div", wd, x(g.message), 1)) : h("", !0),
|
|
7373
|
+
g.description ? (s(), u("div", kd, x(g.description), 1)) : h("", !0),
|
|
7349
7374
|
g.component ? (s(), U(pe(g.component), Xe({
|
|
7350
7375
|
key: 3,
|
|
7351
7376
|
ref_for: !0
|
|
@@ -7355,7 +7380,7 @@ const md = {
|
|
|
7355
7380
|
key: 1,
|
|
7356
7381
|
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",
|
|
7357
7382
|
onClick: g.action.onClick
|
|
7358
|
-
}, x(g.action.label), 9,
|
|
7383
|
+
}, x(g.action.label), 9, Sd)) : h("", !0),
|
|
7359
7384
|
C(g) ? (s(), u("button", {
|
|
7360
7385
|
key: 2,
|
|
7361
7386
|
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",
|
|
@@ -7365,36 +7390,36 @@ const md = {
|
|
|
7365
7390
|
icon: "x",
|
|
7366
7391
|
class: "h-4 w-4"
|
|
7367
7392
|
})
|
|
7368
|
-
], 8,
|
|
7369
|
-
], 10,
|
|
7393
|
+
], 8, $d)) : h("", !0)
|
|
7394
|
+
], 10, pd))), 128))
|
|
7370
7395
|
]),
|
|
7371
7396
|
_: 1
|
|
7372
7397
|
})
|
|
7373
7398
|
], 2)
|
|
7374
7399
|
]));
|
|
7375
7400
|
}
|
|
7376
|
-
},
|
|
7401
|
+
}, zd = { class: "relative" }, Ad = { class: "absolute left-3 top-1/2 transform -translate-y-1/2 pointer-events-none" }, Id = ["value", "placeholder", "disabled"], Td = {
|
|
7377
7402
|
key: 0,
|
|
7378
7403
|
class: "absolute right-3 top-1/2 transform -translate-y-1/2"
|
|
7379
|
-
},
|
|
7404
|
+
}, Pd = ["aria-label"], jd = {
|
|
7380
7405
|
key: 1,
|
|
7381
7406
|
class: "animate-spin"
|
|
7382
|
-
},
|
|
7407
|
+
}, Bd = {
|
|
7383
7408
|
key: 0,
|
|
7384
7409
|
class: "max-h-64 overflow-y-auto"
|
|
7385
|
-
},
|
|
7410
|
+
}, Od = ["onClick", "onMouseenter"], Fd = { class: "flex-1 text-left" }, Vd = { class: "font-medium text-slate-900" }, Md = {
|
|
7386
7411
|
key: 0,
|
|
7387
7412
|
class: "text-sm text-slate-500 truncate"
|
|
7388
|
-
},
|
|
7413
|
+
}, Dd = {
|
|
7389
7414
|
key: 1,
|
|
7390
7415
|
class: "text-xs text-slate-400 ml-3"
|
|
7391
|
-
},
|
|
7416
|
+
}, Ed = {
|
|
7392
7417
|
key: 1,
|
|
7393
7418
|
class: "px-4 py-3 text-sm text-slate-500 text-center"
|
|
7394
|
-
},
|
|
7419
|
+
}, Ld = {
|
|
7395
7420
|
key: 2,
|
|
7396
7421
|
class: "border-t border-slate-200 p-2"
|
|
7397
|
-
},
|
|
7422
|
+
}, Nd = {
|
|
7398
7423
|
__name: "Search",
|
|
7399
7424
|
props: {
|
|
7400
7425
|
modelValue: { type: String, default: "" },
|
|
@@ -7508,8 +7533,8 @@ const md = {
|
|
|
7508
7533
|
ref: d,
|
|
7509
7534
|
class: "relative"
|
|
7510
7535
|
}, [
|
|
7511
|
-
i("div",
|
|
7512
|
-
i("div",
|
|
7536
|
+
i("div", zd, [
|
|
7537
|
+
i("div", Ad, [
|
|
7513
7538
|
P(t, {
|
|
7514
7539
|
class: m(se.value)
|
|
7515
7540
|
}, null, 8, ["class"])
|
|
@@ -7525,8 +7550,8 @@ const md = {
|
|
|
7525
7550
|
onFocus: C,
|
|
7526
7551
|
onBlur: z,
|
|
7527
7552
|
onKeydown: f
|
|
7528
|
-
}, null, 42,
|
|
7529
|
-
e.modelValue || e.loading ? (s(), u("div",
|
|
7553
|
+
}, null, 42, Id),
|
|
7554
|
+
e.modelValue || e.loading ? (s(), u("div", Td, [
|
|
7530
7555
|
!e.loading && e.clearable ? (s(), u("button", {
|
|
7531
7556
|
key: 0,
|
|
7532
7557
|
class: "text-slate-400 hover:text-slate-600 transition-colors p-1 rounded-full hover:bg-slate-100",
|
|
@@ -7534,7 +7559,7 @@ const md = {
|
|
|
7534
7559
|
onClick: v
|
|
7535
7560
|
}, [
|
|
7536
7561
|
P(n, { class: "w-4 h-4" })
|
|
7537
|
-
], 8,
|
|
7562
|
+
], 8, Pd)) : e.loading ? (s(), u("div", jd, [
|
|
7538
7563
|
P(r, { class: "w-4 h-4 text-slate-400" })
|
|
7539
7564
|
])) : h("", !0)
|
|
7540
7565
|
])) : h("", !0)
|
|
@@ -7552,7 +7577,7 @@ const md = {
|
|
|
7552
7577
|
key: 0,
|
|
7553
7578
|
class: m(H.value)
|
|
7554
7579
|
}, [
|
|
7555
|
-
e.results.length > 0 ? (s(), u("div",
|
|
7580
|
+
e.results.length > 0 ? (s(), u("div", Bd, [
|
|
7556
7581
|
(s(!0), u(G, null, X(e.results, (J, $) => (s(), u("button", {
|
|
7557
7582
|
key: J.id || $,
|
|
7558
7583
|
class: m(le($)),
|
|
@@ -7563,14 +7588,14 @@ const md = {
|
|
|
7563
7588
|
key: 0,
|
|
7564
7589
|
class: "w-4 h-4 mr-3 flex-shrink-0"
|
|
7565
7590
|
})) : h("", !0),
|
|
7566
|
-
i("div",
|
|
7567
|
-
i("div",
|
|
7568
|
-
J.description ? (s(), u("div",
|
|
7591
|
+
i("div", Fd, [
|
|
7592
|
+
i("div", Vd, x(y(J.title)), 1),
|
|
7593
|
+
J.description ? (s(), u("div", Md, x(y(J.description)), 1)) : h("", !0)
|
|
7569
7594
|
]),
|
|
7570
|
-
J.category ? (s(), u("div",
|
|
7571
|
-
], 42,
|
|
7572
|
-
])) : e.showNoResults ? (s(), u("div",
|
|
7573
|
-
B.$slots.footer ? (s(), u("div",
|
|
7595
|
+
J.category ? (s(), u("div", Dd, x(J.category), 1)) : h("", !0)
|
|
7596
|
+
], 42, Od))), 128))
|
|
7597
|
+
])) : e.showNoResults ? (s(), u("div", Ed, x(e.noResultsText), 1)) : h("", !0),
|
|
7598
|
+
B.$slots.footer ? (s(), u("div", Ld, [
|
|
7574
7599
|
F(B.$slots, "footer")
|
|
7575
7600
|
])) : h("", !0)
|
|
7576
7601
|
], 2)) : h("", !0)
|
|
@@ -7579,7 +7604,7 @@ const md = {
|
|
|
7579
7604
|
})
|
|
7580
7605
|
], 512));
|
|
7581
7606
|
}
|
|
7582
|
-
},
|
|
7607
|
+
}, Rd = { class: "w-full" }, _d = ["min", "max", "step", "value"], qd = { class: "flex justify-between text-xs text-slate-500 mt-1" }, vr = {
|
|
7583
7608
|
__name: "Slider",
|
|
7584
7609
|
props: {
|
|
7585
7610
|
modelValue: { type: [Number, String], default: 0 },
|
|
@@ -7592,7 +7617,7 @@ const md = {
|
|
|
7592
7617
|
const t = a, n = (r) => {
|
|
7593
7618
|
t("update:modelValue", Number(r.target.value));
|
|
7594
7619
|
};
|
|
7595
|
-
return (r, l) => (s(), u("div",
|
|
7620
|
+
return (r, l) => (s(), u("div", Rd, [
|
|
7596
7621
|
i("input", {
|
|
7597
7622
|
type: "range",
|
|
7598
7623
|
min: e.min,
|
|
@@ -7601,25 +7626,25 @@ const md = {
|
|
|
7601
7626
|
value: e.modelValue,
|
|
7602
7627
|
class: "w-full accent-blue-500 cursor-pointer",
|
|
7603
7628
|
onInput: n
|
|
7604
|
-
}, null, 40,
|
|
7605
|
-
i("div",
|
|
7629
|
+
}, null, 40, _d),
|
|
7630
|
+
i("div", qd, [
|
|
7606
7631
|
i("span", null, x(e.min), 1),
|
|
7607
7632
|
i("span", null, x(e.modelValue), 1),
|
|
7608
7633
|
i("span", null, x(e.max), 1)
|
|
7609
7634
|
])
|
|
7610
7635
|
]));
|
|
7611
7636
|
}
|
|
7612
|
-
},
|
|
7637
|
+
}, Wd = { class: "flex items-center space-x-4" }, Yd = {
|
|
7613
7638
|
__name: "Stepper",
|
|
7614
7639
|
setup(e) {
|
|
7615
|
-
return (a, t) => (s(), u("div",
|
|
7640
|
+
return (a, t) => (s(), u("div", Wd, [
|
|
7616
7641
|
F(a.$slots, "default")
|
|
7617
7642
|
]));
|
|
7618
7643
|
}
|
|
7619
|
-
},
|
|
7644
|
+
}, Ud = { class: "flex items-center" }, Hd = { class: "ml-2" }, Gd = { class: "font-medium" }, Xd = {
|
|
7620
7645
|
key: 0,
|
|
7621
7646
|
class: "text-sm text-slate-400"
|
|
7622
|
-
},
|
|
7647
|
+
}, Kd = {
|
|
7623
7648
|
__name: "StepperItem",
|
|
7624
7649
|
props: {
|
|
7625
7650
|
step: { type: Number, required: !0 },
|
|
@@ -7629,7 +7654,7 @@ const md = {
|
|
|
7629
7654
|
completed: { type: Boolean, default: !1 }
|
|
7630
7655
|
},
|
|
7631
7656
|
setup(e) {
|
|
7632
|
-
return (a, t) => (s(), u("div",
|
|
7657
|
+
return (a, t) => (s(), u("div", Ud, [
|
|
7633
7658
|
i("div", {
|
|
7634
7659
|
class: m([
|
|
7635
7660
|
"flex items-center justify-center w-8 h-8 rounded-full border-2",
|
|
@@ -7638,16 +7663,16 @@ const md = {
|
|
|
7638
7663
|
}, [
|
|
7639
7664
|
i("span", null, x(e.step), 1)
|
|
7640
7665
|
], 2),
|
|
7641
|
-
i("div",
|
|
7642
|
-
i("div",
|
|
7643
|
-
e.description ? (s(), u("div",
|
|
7666
|
+
i("div", Hd, [
|
|
7667
|
+
i("div", Gd, x(e.title), 1),
|
|
7668
|
+
e.description ? (s(), u("div", Xd, x(e.description), 1)) : h("", !0)
|
|
7644
7669
|
])
|
|
7645
7670
|
]));
|
|
7646
7671
|
}
|
|
7647
|
-
},
|
|
7672
|
+
}, Jd = { class: "w-full" }, Qd = {
|
|
7648
7673
|
class: "flex space-x-1 border-b border-slate-200",
|
|
7649
7674
|
role: "tablist"
|
|
7650
|
-
},
|
|
7675
|
+
}, Zd = ["id", "disabled", "aria-selected", "aria-controls", "onClick"], ec = { class: "mt-4" }, tc = {
|
|
7651
7676
|
__name: "Tab",
|
|
7652
7677
|
props: {
|
|
7653
7678
|
defaultIndex: { type: Number, default: 0 },
|
|
@@ -7685,8 +7710,8 @@ const md = {
|
|
|
7685
7710
|
unregisterTab: (c) => {
|
|
7686
7711
|
l.value.splice(c, 1);
|
|
7687
7712
|
}
|
|
7688
|
-
}), (c, p) => (s(), u("div",
|
|
7689
|
-
i("div",
|
|
7713
|
+
}), (c, p) => (s(), u("div", Jd, [
|
|
7714
|
+
i("div", Qd, [
|
|
7690
7715
|
(s(!0), u(G, null, X(l.value, (w, k) => (s(), u("button", {
|
|
7691
7716
|
id: `tab-${k}`,
|
|
7692
7717
|
key: k,
|
|
@@ -7700,17 +7725,17 @@ const md = {
|
|
|
7700
7725
|
"aria-controls": `panel-${k}`,
|
|
7701
7726
|
role: "tab",
|
|
7702
7727
|
onClick: (V) => !t.loading && o(k)
|
|
7703
|
-
}, x(w.label), 11,
|
|
7728
|
+
}, x(w.label), 11, Zd))), 128))
|
|
7704
7729
|
]),
|
|
7705
|
-
i("div",
|
|
7730
|
+
i("div", ec, [
|
|
7706
7731
|
F(c.$slots, "default")
|
|
7707
7732
|
])
|
|
7708
7733
|
]));
|
|
7709
7734
|
}
|
|
7710
|
-
},
|
|
7735
|
+
}, ac = ["id", "aria-labelledby"], nc = {
|
|
7711
7736
|
key: 0,
|
|
7712
7737
|
class: "flex items-center justify-center p-8"
|
|
7713
|
-
},
|
|
7738
|
+
}, rc = {
|
|
7714
7739
|
__name: "TabPanel",
|
|
7715
7740
|
props: {
|
|
7716
7741
|
label: { type: String, required: !0 },
|
|
@@ -7732,17 +7757,17 @@ const md = {
|
|
|
7732
7757
|
role: "tabpanel",
|
|
7733
7758
|
"aria-labelledby": `tab-${n.value}`
|
|
7734
7759
|
}, [
|
|
7735
|
-
e.loading ? (s(), u("div",
|
|
7760
|
+
e.loading ? (s(), u("div", nc, [
|
|
7736
7761
|
P(pa, {
|
|
7737
7762
|
size: "lg",
|
|
7738
7763
|
label: `Loading ${a.label}`
|
|
7739
7764
|
}, null, 8, ["label"])
|
|
7740
7765
|
])) : F(l.$slots, "default", { key: 1 })
|
|
7741
|
-
], 8,
|
|
7766
|
+
], 8, ac)), [
|
|
7742
7767
|
[on, r.value]
|
|
7743
7768
|
]);
|
|
7744
7769
|
}
|
|
7745
|
-
},
|
|
7770
|
+
}, sc = ["id", "aria-expanded", "aria-controls", "onClick"], lc = { class: "flex items-center flex-1 min-w-0" }, oc = { key: 0 }, ic = ["id", "aria-labelledby"], uc = { key: 0 }, dc = {
|
|
7746
7771
|
__name: "Accordion",
|
|
7747
7772
|
props: {
|
|
7748
7773
|
items: {
|
|
@@ -7869,13 +7894,13 @@ const md = {
|
|
|
7869
7894
|
"aria-controls": `panel-${O.id || j}`,
|
|
7870
7895
|
onClick: (se) => o(j)
|
|
7871
7896
|
}, [
|
|
7872
|
-
i("div",
|
|
7897
|
+
i("div", lc, [
|
|
7873
7898
|
F(y.$slots, `header-${j}`, {
|
|
7874
7899
|
item: O,
|
|
7875
7900
|
index: j,
|
|
7876
7901
|
isExpanded: d(j)
|
|
7877
7902
|
}, () => [
|
|
7878
|
-
O.title ? (s(), u("div",
|
|
7903
|
+
O.title ? (s(), u("div", oc, x(O.title), 1)) : h("", !0)
|
|
7879
7904
|
])
|
|
7880
7905
|
]),
|
|
7881
7906
|
i("div", {
|
|
@@ -7883,7 +7908,7 @@ const md = {
|
|
|
7883
7908
|
}, [
|
|
7884
7909
|
P(t, { class: "w-5 h-5 transition-transform duration-200" })
|
|
7885
7910
|
], 2)
|
|
7886
|
-
], 10,
|
|
7911
|
+
], 10, sc),
|
|
7887
7912
|
P(fe, {
|
|
7888
7913
|
"enter-active-class": "transition-all duration-300 ease-out",
|
|
7889
7914
|
"enter-from-class": "opacity-0 max-h-0",
|
|
@@ -7908,17 +7933,17 @@ const md = {
|
|
|
7908
7933
|
item: O,
|
|
7909
7934
|
index: j
|
|
7910
7935
|
}, () => [
|
|
7911
|
-
O.content ? (s(), u("div",
|
|
7936
|
+
O.content ? (s(), u("div", uc, x(O.content), 1)) : h("", !0)
|
|
7912
7937
|
])
|
|
7913
7938
|
])
|
|
7914
|
-
], 10,
|
|
7939
|
+
], 10, ic)) : h("", !0)
|
|
7915
7940
|
]),
|
|
7916
7941
|
_: 2
|
|
7917
7942
|
}, 1024)
|
|
7918
7943
|
], 2))), 128))
|
|
7919
7944
|
], 2));
|
|
7920
7945
|
}
|
|
7921
|
-
},
|
|
7946
|
+
}, cc = {
|
|
7922
7947
|
__name: "AccordionItem",
|
|
7923
7948
|
props: {
|
|
7924
7949
|
variant: {
|
|
@@ -8010,10 +8035,10 @@ const md = {
|
|
|
8010
8035
|
})
|
|
8011
8036
|
], 2));
|
|
8012
8037
|
}
|
|
8013
|
-
},
|
|
8038
|
+
}, fc = { class: "relative w-full" }, mc = { class: "relative" }, gc = ["id", "value", "disabled", "placeholder", "required", "aria-describedby"], vc = { class: "flex items-center justify-between mb-3" }, bc = { class: "text-sm font-medium" }, hc = { class: "grid grid-cols-7 gap-1 mb-2" }, pc = { class: "grid grid-cols-7 gap-1" }, yc = ["disabled", "onClick"], xc = {
|
|
8014
8039
|
key: 0,
|
|
8015
8040
|
class: "mt-4 pt-3 border-t border-slate-200"
|
|
8016
|
-
},
|
|
8041
|
+
}, wc = {
|
|
8017
8042
|
__name: "Calendar",
|
|
8018
8043
|
props: {
|
|
8019
8044
|
id: String,
|
|
@@ -8122,8 +8147,8 @@ const md = {
|
|
|
8122
8147
|
document.addEventListener("keydown", K);
|
|
8123
8148
|
}), nn(() => {
|
|
8124
8149
|
document.removeEventListener("keydown", K);
|
|
8125
|
-
}), (J, $) => (s(), u("div",
|
|
8126
|
-
i("div",
|
|
8150
|
+
}), (J, $) => (s(), u("div", fc, [
|
|
8151
|
+
i("div", mc, [
|
|
8127
8152
|
i("input", {
|
|
8128
8153
|
id: e.id,
|
|
8129
8154
|
type: "text",
|
|
@@ -8135,7 +8160,7 @@ const md = {
|
|
|
8135
8160
|
"aria-describedby": e.ariaDescribedby,
|
|
8136
8161
|
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",
|
|
8137
8162
|
onClick: O
|
|
8138
|
-
}, null, 8,
|
|
8163
|
+
}, null, 8, gc),
|
|
8139
8164
|
$[2] || ($[2] = i("div", { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" }, [
|
|
8140
8165
|
i("svg", {
|
|
8141
8166
|
class: "w-5 h-5 text-slate-400",
|
|
@@ -8188,7 +8213,7 @@ const md = {
|
|
|
8188
8213
|
onClick: $[0] || ($[0] = Ne(() => {
|
|
8189
8214
|
}, ["stop"]))
|
|
8190
8215
|
}, [
|
|
8191
|
-
i("div",
|
|
8216
|
+
i("div", vc, [
|
|
8192
8217
|
i("button", {
|
|
8193
8218
|
type: "button",
|
|
8194
8219
|
class: "p-1 hover:bg-gray-100 rounded",
|
|
@@ -8209,7 +8234,7 @@ const md = {
|
|
|
8209
8234
|
})
|
|
8210
8235
|
], -1)
|
|
8211
8236
|
])]),
|
|
8212
|
-
i("div",
|
|
8237
|
+
i("div", bc, x(w.value) + " " + x(d.value), 1),
|
|
8213
8238
|
i("button", {
|
|
8214
8239
|
type: "button",
|
|
8215
8240
|
class: "p-1 hover:bg-gray-100 rounded",
|
|
@@ -8231,13 +8256,13 @@ const md = {
|
|
|
8231
8256
|
], -1)
|
|
8232
8257
|
])])
|
|
8233
8258
|
]),
|
|
8234
|
-
i("div",
|
|
8259
|
+
i("div", hc, [
|
|
8235
8260
|
(s(), u(G, null, X(p, (M) => i("div", {
|
|
8236
8261
|
key: M,
|
|
8237
8262
|
class: "text-center text-xs font-medium text-slate-600 py-1"
|
|
8238
8263
|
}, x(M), 1)), 64))
|
|
8239
8264
|
]),
|
|
8240
|
-
i("div",
|
|
8265
|
+
i("div", pc, [
|
|
8241
8266
|
(s(!0), u(G, null, X(C.value, (M, Y) => (s(), u("div", {
|
|
8242
8267
|
key: "prev-" + Y,
|
|
8243
8268
|
class: "text-center text-sm text-slate-300 py-2"
|
|
@@ -8252,13 +8277,13 @@ const md = {
|
|
|
8252
8277
|
A(M) ? "text-gray-300 cursor-not-allowed" : ""
|
|
8253
8278
|
]),
|
|
8254
8279
|
onClick: (Y) => le(M)
|
|
8255
|
-
}, x(M), 11,
|
|
8280
|
+
}, x(M), 11, yc))), 128)),
|
|
8256
8281
|
(s(!0), u(G, null, X(z.value, (M, Y) => (s(), u("div", {
|
|
8257
8282
|
key: "next-" + Y,
|
|
8258
8283
|
class: "text-center text-sm text-slate-300 py-2"
|
|
8259
8284
|
}, x(M), 1))), 128))
|
|
8260
8285
|
]),
|
|
8261
|
-
e.showToday ? (s(), u("div",
|
|
8286
|
+
e.showToday ? (s(), u("div", xc, [
|
|
8262
8287
|
i("button", {
|
|
8263
8288
|
type: "button",
|
|
8264
8289
|
class: "w-full px-3 py-2 text-sm font-medium text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",
|
|
@@ -8276,10 +8301,10 @@ const md = {
|
|
|
8276
8301
|
})) : h("", !0)
|
|
8277
8302
|
]));
|
|
8278
8303
|
}
|
|
8279
|
-
},
|
|
8304
|
+
}, kc = { class: "flex items-start justify-between" }, Sc = { class: "flex-1 min-w-0" }, $c = {
|
|
8280
8305
|
key: 0,
|
|
8281
8306
|
class: "flex-shrink-0 ml-4"
|
|
8282
|
-
},
|
|
8307
|
+
}, Cc = "text-lg font-semibold text-slate-900 truncate", zc = "text-sm text-slate-600 mt-1", Ac = {
|
|
8283
8308
|
__name: "Graph",
|
|
8284
8309
|
props: {
|
|
8285
8310
|
variant: {
|
|
@@ -8390,18 +8415,18 @@ const md = {
|
|
|
8390
8415
|
class: m(L(S)(L(t)({ padding: e.padding })))
|
|
8391
8416
|
}, [
|
|
8392
8417
|
F(d.$slots, "header", {}, () => [
|
|
8393
|
-
i("div",
|
|
8394
|
-
i("div",
|
|
8418
|
+
i("div", kc, [
|
|
8419
|
+
i("div", Sc, [
|
|
8395
8420
|
e.title ? (s(), u("h3", {
|
|
8396
8421
|
key: 0,
|
|
8397
|
-
class: m(
|
|
8422
|
+
class: m(Cc)
|
|
8398
8423
|
}, x(e.title), 1)) : h("", !0),
|
|
8399
8424
|
e.description ? (s(), u("p", {
|
|
8400
8425
|
key: 1,
|
|
8401
|
-
class: m(
|
|
8426
|
+
class: m(zc)
|
|
8402
8427
|
}, x(e.description), 1)) : h("", !0)
|
|
8403
8428
|
]),
|
|
8404
|
-
d.$slots.actions ? (s(), u("div",
|
|
8429
|
+
d.$slots.actions ? (s(), u("div", $c, [
|
|
8405
8430
|
F(d.$slots, "actions")
|
|
8406
8431
|
])) : h("", !0)
|
|
8407
8432
|
])
|
|
@@ -8433,7 +8458,7 @@ const md = {
|
|
|
8433
8458
|
], 2)) : h("", !0)
|
|
8434
8459
|
], 2));
|
|
8435
8460
|
}
|
|
8436
|
-
},
|
|
8461
|
+
}, Ic = { class: "w-full h-full" }, Tc = ["width", "height", "viewBox"], Pc = { key: 0 }, jc = ["x1", "y1", "x2", "y2", "stroke"], Bc = ["x", "y", "width", "height", "fill", "onMouseenter"], Oc = { key: 1 }, Fc = ["x", "y"], Vc = { key: 2 }, Mc = ["x", "y"], Dc = { key: 3 }, Ec = ["x", "y", "width", "height", "fill", "stroke"], Lc = ["x", "y"], Nc = {
|
|
8437
8462
|
__name: "BarChart",
|
|
8438
8463
|
props: {
|
|
8439
8464
|
data: {
|
|
@@ -8539,14 +8564,14 @@ const md = {
|
|
|
8539
8564
|
}, v = () => {
|
|
8540
8565
|
r.value.visible = !1;
|
|
8541
8566
|
};
|
|
8542
|
-
return (g, f) => (s(), u("div",
|
|
8567
|
+
return (g, f) => (s(), u("div", Ic, [
|
|
8543
8568
|
(s(), u("svg", {
|
|
8544
8569
|
width: e.width,
|
|
8545
8570
|
height: e.height,
|
|
8546
8571
|
viewBox: `0 0 ${e.width} ${e.height}`,
|
|
8547
8572
|
class: "overflow-visible"
|
|
8548
8573
|
}, [
|
|
8549
|
-
e.showGrid ? (s(), u("g",
|
|
8574
|
+
e.showGrid ? (s(), u("g", Pc, [
|
|
8550
8575
|
(s(!0), u(G, null, X(c.value, (y) => (s(), u("line", {
|
|
8551
8576
|
key: `grid-${y}`,
|
|
8552
8577
|
x1: e.padding.left,
|
|
@@ -8556,7 +8581,7 @@ const md = {
|
|
|
8556
8581
|
stroke: e.gridColor,
|
|
8557
8582
|
"stroke-width": "1",
|
|
8558
8583
|
"stroke-dasharray": "2,2"
|
|
8559
|
-
}, null, 8,
|
|
8584
|
+
}, null, 8, jc))), 128))
|
|
8560
8585
|
])) : h("", !0),
|
|
8561
8586
|
i("g", null, [
|
|
8562
8587
|
(s(!0), u(G, null, X(e.data, (y, A) => (s(), u("rect", {
|
|
@@ -8569,27 +8594,27 @@ const md = {
|
|
|
8569
8594
|
class: m(e.barClasses),
|
|
8570
8595
|
onMouseenter: (O) => z(O, y, A),
|
|
8571
8596
|
onMouseleave: v
|
|
8572
|
-
}, null, 42,
|
|
8597
|
+
}, null, 42, Bc))), 128))
|
|
8573
8598
|
]),
|
|
8574
|
-
e.showXAxis ? (s(), u("g",
|
|
8599
|
+
e.showXAxis ? (s(), u("g", Oc, [
|
|
8575
8600
|
(s(!0), u(G, null, X(e.labels, (y, A) => (s(), u("text", {
|
|
8576
8601
|
key: `xlabel-${A}`,
|
|
8577
8602
|
x: p(A) + o.value / 2,
|
|
8578
8603
|
y: e.height - e.padding.bottom + 20,
|
|
8579
8604
|
class: m(e.axisLabelClasses),
|
|
8580
8605
|
"text-anchor": "middle"
|
|
8581
|
-
}, x(y), 11,
|
|
8606
|
+
}, x(y), 11, Fc))), 128))
|
|
8582
8607
|
])) : h("", !0),
|
|
8583
|
-
e.showYAxis ? (s(), u("g",
|
|
8608
|
+
e.showYAxis ? (s(), u("g", Vc, [
|
|
8584
8609
|
(s(!0), u(G, null, X(c.value, (y) => (s(), u("text", {
|
|
8585
8610
|
key: `ylabel-${y}`,
|
|
8586
8611
|
x: e.padding.left - 10,
|
|
8587
8612
|
y: y + 4,
|
|
8588
8613
|
class: m(e.axisLabelClasses),
|
|
8589
8614
|
"text-anchor": "end"
|
|
8590
|
-
}, x(C(y)), 11,
|
|
8615
|
+
}, x(C(y)), 11, Mc))), 128))
|
|
8591
8616
|
])) : h("", !0),
|
|
8592
|
-
r.value.visible ? (s(), u("g",
|
|
8617
|
+
r.value.visible ? (s(), u("g", Dc, [
|
|
8593
8618
|
i("rect", {
|
|
8594
8619
|
x: r.value.x - r.value.width / 2,
|
|
8595
8620
|
y: r.value.y - r.value.height - 10,
|
|
@@ -8599,18 +8624,18 @@ const md = {
|
|
|
8599
8624
|
stroke: e.tooltipBorder,
|
|
8600
8625
|
"stroke-width": "1",
|
|
8601
8626
|
rx: "4"
|
|
8602
|
-
}, null, 8,
|
|
8627
|
+
}, null, 8, Ec),
|
|
8603
8628
|
i("text", {
|
|
8604
8629
|
x: r.value.x,
|
|
8605
8630
|
y: r.value.y - r.value.height / 2 - 2,
|
|
8606
8631
|
class: m(e.tooltipTextClasses),
|
|
8607
8632
|
"text-anchor": "middle"
|
|
8608
|
-
}, x(r.value.content), 11,
|
|
8633
|
+
}, x(r.value.content), 11, Lc)
|
|
8609
8634
|
])) : h("", !0)
|
|
8610
|
-
], 8,
|
|
8635
|
+
], 8, Tc))
|
|
8611
8636
|
]));
|
|
8612
8637
|
}
|
|
8613
|
-
},
|
|
8638
|
+
}, Rc = { class: "w-full h-full" }, _c = ["width", "height", "viewBox"], qc = { key: 0 }, Wc = ["x1", "y1", "x2", "y2", "stroke"], Yc = ["d", "stroke", "stroke-width"], Uc = { key: 1 }, Hc = ["cx", "cy", "r", "fill", "stroke", "onMouseenter"], Gc = ["d", "fill", "fill-opacity"], Xc = { key: 3 }, Kc = ["x", "y"], Jc = { key: 4 }, Qc = ["x", "y"], Zc = { key: 5 }, ef = ["x", "y", "width", "height", "fill", "stroke"], tf = ["x", "y"], af = {
|
|
8614
8639
|
__name: "LineChart",
|
|
8615
8640
|
props: {
|
|
8616
8641
|
data: {
|
|
@@ -8756,14 +8781,14 @@ const md = {
|
|
|
8756
8781
|
}, z = () => {
|
|
8757
8782
|
r.value.visible = !1;
|
|
8758
8783
|
};
|
|
8759
|
-
return (v, g) => (s(), u("div",
|
|
8784
|
+
return (v, g) => (s(), u("div", Rc, [
|
|
8760
8785
|
(s(), u("svg", {
|
|
8761
8786
|
width: e.width,
|
|
8762
8787
|
height: e.height,
|
|
8763
8788
|
viewBox: `0 0 ${e.width} ${e.height}`,
|
|
8764
8789
|
class: "overflow-visible"
|
|
8765
8790
|
}, [
|
|
8766
|
-
e.showGrid ? (s(), u("g",
|
|
8791
|
+
e.showGrid ? (s(), u("g", qc, [
|
|
8767
8792
|
(s(!0), u(G, null, X(p.value, (f) => (s(), u("line", {
|
|
8768
8793
|
key: `grid-${f}`,
|
|
8769
8794
|
x1: e.padding.left,
|
|
@@ -8773,7 +8798,7 @@ const md = {
|
|
|
8773
8798
|
stroke: e.gridColor,
|
|
8774
8799
|
"stroke-width": "1",
|
|
8775
8800
|
"stroke-dasharray": "2,2"
|
|
8776
|
-
}, null, 8,
|
|
8801
|
+
}, null, 8, Wc))), 128))
|
|
8777
8802
|
])) : h("", !0),
|
|
8778
8803
|
i("path", {
|
|
8779
8804
|
d: d.value,
|
|
@@ -8781,8 +8806,8 @@ const md = {
|
|
|
8781
8806
|
"stroke-width": e.strokeWidth,
|
|
8782
8807
|
fill: "none",
|
|
8783
8808
|
class: m(e.lineClasses)
|
|
8784
|
-
}, null, 10,
|
|
8785
|
-
e.showPoints ? (s(), u("g",
|
|
8809
|
+
}, null, 10, Yc),
|
|
8810
|
+
e.showPoints ? (s(), u("g", Uc, [
|
|
8786
8811
|
(s(!0), u(G, null, X(o.value, (f, y) => (s(), u("circle", {
|
|
8787
8812
|
key: `point-${y}`,
|
|
8788
8813
|
cx: f.x,
|
|
@@ -8794,33 +8819,33 @@ const md = {
|
|
|
8794
8819
|
class: m(e.pointClasses),
|
|
8795
8820
|
onMouseenter: (A) => C(A, f.value, y),
|
|
8796
8821
|
onMouseleave: z
|
|
8797
|
-
}, null, 42,
|
|
8822
|
+
}, null, 42, Hc))), 128))
|
|
8798
8823
|
])) : h("", !0),
|
|
8799
8824
|
e.fillArea ? (s(), u("path", {
|
|
8800
8825
|
key: 2,
|
|
8801
8826
|
d: c.value,
|
|
8802
8827
|
fill: e.fillColor,
|
|
8803
8828
|
"fill-opacity": e.fillOpacity
|
|
8804
|
-
}, null, 8,
|
|
8805
|
-
e.showXAxis ? (s(), u("g",
|
|
8829
|
+
}, null, 8, Gc)) : h("", !0),
|
|
8830
|
+
e.showXAxis ? (s(), u("g", Xc, [
|
|
8806
8831
|
(s(!0), u(G, null, X(e.labels, (f, y) => (s(), u("text", {
|
|
8807
8832
|
key: `xlabel-${y}`,
|
|
8808
8833
|
x: w(y),
|
|
8809
8834
|
y: e.height - e.padding.bottom + 20,
|
|
8810
8835
|
class: m(e.axisLabelClasses),
|
|
8811
8836
|
"text-anchor": "middle"
|
|
8812
|
-
}, x(f), 11,
|
|
8837
|
+
}, x(f), 11, Kc))), 128))
|
|
8813
8838
|
])) : h("", !0),
|
|
8814
|
-
e.showYAxis ? (s(), u("g",
|
|
8839
|
+
e.showYAxis ? (s(), u("g", Jc, [
|
|
8815
8840
|
(s(!0), u(G, null, X(p.value, (f) => (s(), u("text", {
|
|
8816
8841
|
key: `ylabel-${f}`,
|
|
8817
8842
|
x: e.padding.left - 10,
|
|
8818
8843
|
y: f + 4,
|
|
8819
8844
|
class: m(e.axisLabelClasses),
|
|
8820
8845
|
"text-anchor": "end"
|
|
8821
|
-
}, x(V(f)), 11,
|
|
8846
|
+
}, x(V(f)), 11, Qc))), 128))
|
|
8822
8847
|
])) : h("", !0),
|
|
8823
|
-
r.value.visible ? (s(), u("g",
|
|
8848
|
+
r.value.visible ? (s(), u("g", Zc, [
|
|
8824
8849
|
i("rect", {
|
|
8825
8850
|
x: r.value.x - r.value.width / 2,
|
|
8826
8851
|
y: r.value.y - r.value.height - 10,
|
|
@@ -8830,30 +8855,30 @@ const md = {
|
|
|
8830
8855
|
stroke: e.tooltipBorder,
|
|
8831
8856
|
"stroke-width": "1",
|
|
8832
8857
|
rx: "4"
|
|
8833
|
-
}, null, 8,
|
|
8858
|
+
}, null, 8, ef),
|
|
8834
8859
|
i("text", {
|
|
8835
8860
|
x: r.value.x,
|
|
8836
8861
|
y: r.value.y - r.value.height / 2 - 2,
|
|
8837
8862
|
class: m(e.tooltipTextClasses),
|
|
8838
8863
|
"text-anchor": "middle"
|
|
8839
|
-
}, x(r.value.content), 11,
|
|
8864
|
+
}, x(r.value.content), 11, tf)
|
|
8840
8865
|
])) : h("", !0)
|
|
8841
|
-
], 8,
|
|
8866
|
+
], 8, _c))
|
|
8842
8867
|
]));
|
|
8843
8868
|
}
|
|
8844
|
-
},
|
|
8869
|
+
}, nf = { class: "bg-white border-b border-gray-200" }, rf = {
|
|
8845
8870
|
key: 0,
|
|
8846
8871
|
class: "flex items-center gap-3 min-w-64"
|
|
8847
|
-
},
|
|
8872
|
+
}, sf = { class: "relative flex-1" }, lf = { class: "relative flex-1" }, of = {
|
|
8848
8873
|
key: 1,
|
|
8849
8874
|
class: "min-w-40"
|
|
8850
|
-
},
|
|
8875
|
+
}, uf = { class: "relative" }, df = {
|
|
8851
8876
|
key: 2,
|
|
8852
8877
|
class: "min-w-40"
|
|
8853
|
-
},
|
|
8878
|
+
}, cf = { class: "relative" }, ff = ["value"], mf = {
|
|
8854
8879
|
key: 3,
|
|
8855
8880
|
class: "flex items-center gap-2"
|
|
8856
|
-
},
|
|
8881
|
+
}, gf = { class: "flex items-center gap-3 ml-auto" }, vf = { class: "flex items-center gap-3 flex-wrap" }, bf = ["onClick"], hf = {
|
|
8857
8882
|
__name: "GraphFilters",
|
|
8858
8883
|
props: {
|
|
8859
8884
|
showDateFilter: {
|
|
@@ -8978,12 +9003,12 @@ const md = {
|
|
|
8978
9003
|
n("update:dateFrom", te);
|
|
8979
9004
|
}), ge(() => l.value, (te) => {
|
|
8980
9005
|
n("update:dateTo", te);
|
|
8981
|
-
}), (te, B) => (s(), u("div",
|
|
9006
|
+
}), (te, B) => (s(), u("div", nf, [
|
|
8982
9007
|
i("div", {
|
|
8983
9008
|
class: m(k.value)
|
|
8984
9009
|
}, [
|
|
8985
|
-
e.showDateFilter ? (s(), u("div",
|
|
8986
|
-
i("div",
|
|
9010
|
+
e.showDateFilter ? (s(), u("div", rf, [
|
|
9011
|
+
i("div", sf, [
|
|
8987
9012
|
P(Q, {
|
|
8988
9013
|
icon: "calendar",
|
|
8989
9014
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -8998,7 +9023,7 @@ const md = {
|
|
|
8998
9023
|
])
|
|
8999
9024
|
]),
|
|
9000
9025
|
B[6] || (B[6] = i("span", { class: "text-gray-500 text-sm" }, "to", -1)),
|
|
9001
|
-
i("div",
|
|
9026
|
+
i("div", lf, [
|
|
9002
9027
|
P(Q, {
|
|
9003
9028
|
icon: "calendar",
|
|
9004
9029
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -9013,8 +9038,8 @@ const md = {
|
|
|
9013
9038
|
])
|
|
9014
9039
|
])
|
|
9015
9040
|
])) : h("", !0),
|
|
9016
|
-
e.showChartTypeFilter ? (s(), u("div",
|
|
9017
|
-
i("div",
|
|
9041
|
+
e.showChartTypeFilter ? (s(), u("div", of, [
|
|
9042
|
+
i("div", uf, [
|
|
9018
9043
|
P(Oe, {
|
|
9019
9044
|
modelValue: o.value,
|
|
9020
9045
|
"onUpdate:modelValue": B[2] || (B[2] = (K) => o.value = K),
|
|
@@ -9034,8 +9059,8 @@ const md = {
|
|
|
9034
9059
|
})
|
|
9035
9060
|
])
|
|
9036
9061
|
])) : h("", !0),
|
|
9037
|
-
e.dataSources.length > 0 ? (s(), u("div",
|
|
9038
|
-
i("div",
|
|
9062
|
+
e.dataSources.length > 0 ? (s(), u("div", df, [
|
|
9063
|
+
i("div", cf, [
|
|
9039
9064
|
P(Oe, {
|
|
9040
9065
|
modelValue: d.value,
|
|
9041
9066
|
"onUpdate:modelValue": B[3] || (B[3] = (K) => d.value = K),
|
|
@@ -9047,7 +9072,7 @@ const md = {
|
|
|
9047
9072
|
(s(!0), u(G, null, X(e.dataSources, (K) => (s(), u("option", {
|
|
9048
9073
|
key: K.value,
|
|
9049
9074
|
value: K.value
|
|
9050
|
-
}, x(K.label), 9,
|
|
9075
|
+
}, x(K.label), 9, ff))), 128))
|
|
9051
9076
|
]),
|
|
9052
9077
|
_: 1
|
|
9053
9078
|
}, 8, ["modelValue", "class"]),
|
|
@@ -9057,10 +9082,10 @@ const md = {
|
|
|
9057
9082
|
})
|
|
9058
9083
|
])
|
|
9059
9084
|
])) : h("", !0),
|
|
9060
|
-
te.$slots.filters ? (s(), u("div",
|
|
9085
|
+
te.$slots.filters ? (s(), u("div", mf, [
|
|
9061
9086
|
F(te.$slots, "filters")
|
|
9062
9087
|
])) : h("", !0),
|
|
9063
|
-
i("div",
|
|
9088
|
+
i("div", gf, [
|
|
9064
9089
|
p.value ? (s(), U(we, {
|
|
9065
9090
|
key: 0,
|
|
9066
9091
|
class: m(z.value),
|
|
@@ -9109,7 +9134,7 @@ const md = {
|
|
|
9109
9134
|
key: 0,
|
|
9110
9135
|
class: m(f.value)
|
|
9111
9136
|
}, [
|
|
9112
|
-
i("div",
|
|
9137
|
+
i("div", vf, [
|
|
9113
9138
|
i("span", {
|
|
9114
9139
|
class: m(y.value)
|
|
9115
9140
|
}, "Active filters:", 2),
|
|
@@ -9130,13 +9155,13 @@ const md = {
|
|
|
9130
9155
|
icon: "xmark",
|
|
9131
9156
|
class: "w-3 h-3"
|
|
9132
9157
|
})
|
|
9133
|
-
], 10,
|
|
9158
|
+
], 10, bf)
|
|
9134
9159
|
], 2))), 128))
|
|
9135
9160
|
])
|
|
9136
9161
|
], 2)) : h("", !0)
|
|
9137
9162
|
]));
|
|
9138
9163
|
}
|
|
9139
|
-
},
|
|
9164
|
+
}, pf = { class: "flex items-start justify-between" }, yf = {
|
|
9140
9165
|
key: 0,
|
|
9141
9166
|
class: "flex items-center gap-2"
|
|
9142
9167
|
}, br = {
|
|
@@ -9216,7 +9241,7 @@ const md = {
|
|
|
9216
9241
|
class: m(l.value)
|
|
9217
9242
|
}, [
|
|
9218
9243
|
F(c.$slots, "header", {}, () => [
|
|
9219
|
-
i("div",
|
|
9244
|
+
i("div", pf, [
|
|
9220
9245
|
i("div", null, [
|
|
9221
9246
|
e.title ? (s(), U(ta, {
|
|
9222
9247
|
key: 0,
|
|
@@ -9237,7 +9262,7 @@ const md = {
|
|
|
9237
9262
|
_: 1
|
|
9238
9263
|
}, 8, ["class"])) : h("", !0)
|
|
9239
9264
|
]),
|
|
9240
|
-
c.$slots.filters ? (s(), u("div",
|
|
9265
|
+
c.$slots.filters ? (s(), u("div", yf, [
|
|
9241
9266
|
F(c.$slots, "filters")
|
|
9242
9267
|
])) : h("", !0)
|
|
9243
9268
|
])
|
|
@@ -9423,19 +9448,19 @@ const md = {
|
|
|
9423
9448
|
], 2)) : h("", !0)
|
|
9424
9449
|
], 2));
|
|
9425
9450
|
}
|
|
9426
|
-
},
|
|
9451
|
+
}, xf = { class: "flex items-center justify-between" }, wf = {
|
|
9427
9452
|
key: 0,
|
|
9428
9453
|
class: "text-sm text-slate-600"
|
|
9429
|
-
},
|
|
9454
|
+
}, kf = {
|
|
9430
9455
|
key: 1,
|
|
9431
9456
|
class: "text-sm text-slate-600"
|
|
9432
|
-
},
|
|
9457
|
+
}, Sf = {
|
|
9433
9458
|
key: 2,
|
|
9434
9459
|
class: "flex items-center gap-4"
|
|
9435
|
-
},
|
|
9460
|
+
}, $f = {
|
|
9436
9461
|
key: 3,
|
|
9437
9462
|
class: "flex items-center gap-4"
|
|
9438
|
-
},
|
|
9463
|
+
}, Cf = { class: "flex items-center gap-2" }, zf = { class: "flex items-center gap-1" }, Af = ["disabled"], If = ["disabled"], Tf = { class: "flex items-center gap-1" }, Pf = ["onClick"], jf = ["disabled"], Bf = ["disabled"], Of = { class: "text-sm text-slate-600 ml-4" }, pr = {
|
|
9439
9464
|
__name: "DataTablePagination",
|
|
9440
9465
|
props: {
|
|
9441
9466
|
currentPage: {
|
|
@@ -9576,13 +9601,13 @@ const md = {
|
|
|
9576
9601
|
key: 0,
|
|
9577
9602
|
class: m(p.value)
|
|
9578
9603
|
}, [
|
|
9579
|
-
i("div",
|
|
9580
|
-
e.selectable && e.selectedCount > 0 ? (s(), u("div",
|
|
9581
|
-
C.$slots.footer ? (s(), u("div",
|
|
9604
|
+
i("div", xf, [
|
|
9605
|
+
e.selectable && e.selectedCount > 0 ? (s(), u("div", wf, x(e.selectedCount) + " of " + x(e.total) + " selected ", 1)) : (s(), u("div", kf, " Showing " + x(o.value) + " to " + x(d.value) + " of " + x(e.total) + " entries ", 1)),
|
|
9606
|
+
C.$slots.footer ? (s(), u("div", Sf, [
|
|
9582
9607
|
F(C.$slots, "footer")
|
|
9583
9608
|
])) : h("", !0),
|
|
9584
|
-
e.showPagination ? (s(), u("div",
|
|
9585
|
-
i("div",
|
|
9609
|
+
e.showPagination ? (s(), u("div", $f, [
|
|
9610
|
+
i("div", Cf, [
|
|
9586
9611
|
P(ya, {
|
|
9587
9612
|
for: "pageSize",
|
|
9588
9613
|
class: m(w.value),
|
|
@@ -9609,7 +9634,7 @@ const md = {
|
|
|
9609
9634
|
_: 1
|
|
9610
9635
|
}, 8, ["model-value", "class"])
|
|
9611
9636
|
]),
|
|
9612
|
-
i("div",
|
|
9637
|
+
i("div", zf, [
|
|
9613
9638
|
i("button", {
|
|
9614
9639
|
disabled: e.currentPage === 1,
|
|
9615
9640
|
class: m(V(!1, e.currentPage === 1)),
|
|
@@ -9629,7 +9654,7 @@ const md = {
|
|
|
9629
9654
|
d: "m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"
|
|
9630
9655
|
})
|
|
9631
9656
|
], -1)
|
|
9632
|
-
])], 10,
|
|
9657
|
+
])], 10, Af),
|
|
9633
9658
|
i("button", {
|
|
9634
9659
|
disabled: e.currentPage === 1,
|
|
9635
9660
|
class: m(V(!1, e.currentPage === 1)),
|
|
@@ -9649,13 +9674,13 @@ const md = {
|
|
|
9649
9674
|
d: "M15.75 19.5L8.25 12l7.5-7.5"
|
|
9650
9675
|
})
|
|
9651
9676
|
], -1)
|
|
9652
|
-
])], 10,
|
|
9653
|
-
i("div",
|
|
9677
|
+
])], 10, If),
|
|
9678
|
+
i("div", Tf, [
|
|
9654
9679
|
(s(!0), u(G, null, X(c.value, (v) => (s(), u("button", {
|
|
9655
9680
|
key: v,
|
|
9656
9681
|
class: m(V(v === e.currentPage, !1)),
|
|
9657
9682
|
onClick: (g) => C.$emit("update:currentPage", v)
|
|
9658
|
-
}, x(v), 11,
|
|
9683
|
+
}, x(v), 11, Pf))), 128))
|
|
9659
9684
|
]),
|
|
9660
9685
|
i("button", {
|
|
9661
9686
|
disabled: e.currentPage === e.totalPages,
|
|
@@ -9676,7 +9701,7 @@ const md = {
|
|
|
9676
9701
|
d: "m8.25 4.5 7.5 7.5-7.5 7.5"
|
|
9677
9702
|
})
|
|
9678
9703
|
], -1)
|
|
9679
|
-
])], 10,
|
|
9704
|
+
])], 10, jf),
|
|
9680
9705
|
i("button", {
|
|
9681
9706
|
disabled: e.currentPage === e.totalPages,
|
|
9682
9707
|
class: m(V(!1, e.currentPage === e.totalPages)),
|
|
@@ -9696,9 +9721,9 @@ const md = {
|
|
|
9696
9721
|
d: "m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"
|
|
9697
9722
|
})
|
|
9698
9723
|
], -1)
|
|
9699
|
-
])], 10,
|
|
9724
|
+
])], 10, Bf)
|
|
9700
9725
|
]),
|
|
9701
|
-
i("div",
|
|
9726
|
+
i("div", Of, " Page " + x(e.currentPage) + " of " + x(e.totalPages), 1)
|
|
9702
9727
|
])) : h("", !0)
|
|
9703
9728
|
])
|
|
9704
9729
|
], 2)) : h("", !0);
|
|
@@ -9708,40 +9733,40 @@ const md = {
|
|
|
9708
9733
|
for (const [n, r] of a)
|
|
9709
9734
|
t[n] = r;
|
|
9710
9735
|
return t;
|
|
9711
|
-
},
|
|
9736
|
+
}, Ff = {
|
|
9712
9737
|
key: 0,
|
|
9713
9738
|
class: "loader__backdrop"
|
|
9714
|
-
},
|
|
9739
|
+
}, Vf = { class: "loader__container" }, Mf = {
|
|
9715
9740
|
key: 0,
|
|
9716
9741
|
class: "loader__text loader__text--top"
|
|
9717
|
-
},
|
|
9742
|
+
}, Df = {
|
|
9718
9743
|
key: 1,
|
|
9719
9744
|
class: "loader__spin"
|
|
9720
|
-
},
|
|
9745
|
+
}, Ef = {
|
|
9721
9746
|
key: 2,
|
|
9722
9747
|
class: "loader__pulse"
|
|
9723
|
-
},
|
|
9748
|
+
}, Lf = {
|
|
9724
9749
|
key: 3,
|
|
9725
9750
|
class: "loader__bounce"
|
|
9726
|
-
},
|
|
9751
|
+
}, Nf = {
|
|
9727
9752
|
key: 4,
|
|
9728
9753
|
class: "loader__ripple"
|
|
9729
|
-
},
|
|
9754
|
+
}, Rf = {
|
|
9730
9755
|
key: 5,
|
|
9731
9756
|
class: "loader__bars"
|
|
9732
|
-
},
|
|
9757
|
+
}, _f = {
|
|
9733
9758
|
key: 6,
|
|
9734
9759
|
class: "loader__dots"
|
|
9735
|
-
},
|
|
9760
|
+
}, qf = {
|
|
9736
9761
|
key: 7,
|
|
9737
9762
|
class: "loader__ring"
|
|
9738
|
-
},
|
|
9763
|
+
}, Wf = {
|
|
9739
9764
|
key: 8,
|
|
9740
9765
|
class: "loader__spinner-text"
|
|
9741
|
-
},
|
|
9766
|
+
}, Yf = {
|
|
9742
9767
|
key: 9,
|
|
9743
9768
|
class: "loader__text loader__text--bottom"
|
|
9744
|
-
},
|
|
9769
|
+
}, Uf = {
|
|
9745
9770
|
__name: "Loader",
|
|
9746
9771
|
props: {
|
|
9747
9772
|
loading: {
|
|
@@ -9808,47 +9833,47 @@ const md = {
|
|
|
9808
9833
|
"--loader-bg": e.backgroundColor
|
|
9809
9834
|
})
|
|
9810
9835
|
}, [
|
|
9811
|
-
e.overlay ? (s(), u("div",
|
|
9812
|
-
i("div",
|
|
9813
|
-
e.text && e.textPosition === "top" ? (s(), u("div",
|
|
9814
|
-
e.type === "spin" ? (s(), u("div",
|
|
9836
|
+
e.overlay ? (s(), u("div", Ff)) : h("", !0),
|
|
9837
|
+
i("div", Vf, [
|
|
9838
|
+
e.text && e.textPosition === "top" ? (s(), u("div", Mf, x(e.text), 1)) : h("", !0),
|
|
9839
|
+
e.type === "spin" ? (s(), u("div", Df)) : e.type === "pulse" ? (s(), u("div", Ef)) : e.type === "bounce" ? (s(), u("div", Lf, [
|
|
9815
9840
|
(s(), u(G, null, X(3, (n) => i("div", {
|
|
9816
9841
|
key: n,
|
|
9817
9842
|
class: "loader__bounce-dot",
|
|
9818
9843
|
style: me({ animationDelay: `${(n - 1) * 0.1}s` })
|
|
9819
9844
|
}, null, 4)), 64))
|
|
9820
|
-
])) : e.type === "ripple" ? (s(), u("div",
|
|
9845
|
+
])) : e.type === "ripple" ? (s(), u("div", Nf, [
|
|
9821
9846
|
(s(), u(G, null, X(2, (n) => i("div", {
|
|
9822
9847
|
key: n,
|
|
9823
9848
|
class: "loader__ripple-ring",
|
|
9824
9849
|
style: me({ animationDelay: `${(n - 1) * 0.5}s` })
|
|
9825
9850
|
}, null, 4)), 64))
|
|
9826
|
-
])) : e.type === "bars" ? (s(), u("div",
|
|
9851
|
+
])) : e.type === "bars" ? (s(), u("div", Rf, [
|
|
9827
9852
|
(s(), u(G, null, X(5, (n) => i("div", {
|
|
9828
9853
|
key: n,
|
|
9829
9854
|
class: "loader__bar",
|
|
9830
9855
|
style: me({ animationDelay: `${(n - 1) * 0.1}s` })
|
|
9831
9856
|
}, null, 4)), 64))
|
|
9832
|
-
])) : e.type === "dots" ? (s(), u("div",
|
|
9857
|
+
])) : e.type === "dots" ? (s(), u("div", _f, [
|
|
9833
9858
|
(s(), u(G, null, X(3, (n) => i("div", {
|
|
9834
9859
|
key: n,
|
|
9835
9860
|
class: "loader__dot",
|
|
9836
9861
|
style: me({ animationDelay: `${(n - 1) * 0.16}s` })
|
|
9837
9862
|
}, null, 4)), 64))
|
|
9838
|
-
])) : e.type === "ring" ? (s(), u("div",
|
|
9863
|
+
])) : e.type === "ring" ? (s(), u("div", qf, [...t[0] || (t[0] = [
|
|
9839
9864
|
i("div", { class: "loader__ring-track" }, null, -1),
|
|
9840
9865
|
i("div", { class: "loader__ring-fill" }, null, -1)
|
|
9841
|
-
])])) : e.type === "spinner-text" ? (s(), u("div",
|
|
9866
|
+
])])) : e.type === "spinner-text" ? (s(), u("div", Wf, [...t[1] || (t[1] = [
|
|
9842
9867
|
i("div", { class: "loader__spinner" }, null, -1)
|
|
9843
9868
|
])])) : h("", !0),
|
|
9844
|
-
e.text && e.textPosition === "bottom" ? (s(), u("div",
|
|
9869
|
+
e.text && e.textPosition === "bottom" ? (s(), u("div", Yf, x(e.text), 1)) : h("", !0)
|
|
9845
9870
|
])
|
|
9846
9871
|
], 6)) : h("", !0);
|
|
9847
9872
|
}
|
|
9848
|
-
}, tt = /* @__PURE__ */ At(
|
|
9873
|
+
}, tt = /* @__PURE__ */ At(Uf, [["__scopeId", "data-v-68532350"]]), Hf = { class: "relative" }, Gf = { class: "flex items-center justify-center" }, Xf = ["onClick"], Kf = { class: "flex items-center gap-2" }, Jf = {
|
|
9849
9874
|
key: 1,
|
|
9850
9875
|
class: "flex flex-col"
|
|
9851
|
-
},
|
|
9876
|
+
}, Qf = { key: 0 }, Zf = ["colspan"], em = { class: "flex justify-center items-center" }, tm = { key: 2 }, am = ["colspan"], nm = { class: "text-center" }, rm = { class: "text-slate-400 mb-4" }, sm = { class: "text-slate-600 text-lg font-medium mb-2" }, lm = { class: "text-slate-500 text-sm" }, om = {
|
|
9852
9877
|
__name: "DataTable",
|
|
9853
9878
|
props: {
|
|
9854
9879
|
data: {
|
|
@@ -10182,7 +10207,7 @@ const md = {
|
|
|
10182
10207
|
]),
|
|
10183
10208
|
_: 3
|
|
10184
10209
|
}, 8, ["title", "description", "variant", "padding"])) : h("", !0),
|
|
10185
|
-
i("div",
|
|
10210
|
+
i("div", Hf, [
|
|
10186
10211
|
e.loading ? (s(), U(tt, {
|
|
10187
10212
|
key: 0,
|
|
10188
10213
|
loading: !0,
|
|
@@ -10209,7 +10234,7 @@ const md = {
|
|
|
10209
10234
|
key: 0,
|
|
10210
10235
|
class: m(xe.value)
|
|
10211
10236
|
}, [
|
|
10212
|
-
i("div",
|
|
10237
|
+
i("div", Gf, [
|
|
10213
10238
|
e.bulkLoading ? (s(), U(tt, {
|
|
10214
10239
|
key: 0,
|
|
10215
10240
|
loading: !0,
|
|
@@ -10230,7 +10255,7 @@ const md = {
|
|
|
10230
10255
|
class: m(oe(ue)),
|
|
10231
10256
|
onClick: (he) => le(ue)
|
|
10232
10257
|
}, [
|
|
10233
|
-
i("div",
|
|
10258
|
+
i("div", Kf, [
|
|
10234
10259
|
i("span", null, x(ue.label), 1),
|
|
10235
10260
|
e.sortLoading && d.value === ue.key ? (s(), U(tt, {
|
|
10236
10261
|
key: 0,
|
|
@@ -10238,7 +10263,7 @@ const md = {
|
|
|
10238
10263
|
type: "spin",
|
|
10239
10264
|
size: "small",
|
|
10240
10265
|
color: e.loadingColor
|
|
10241
|
-
}, null, 8, ["color"])) : ue.sortable ? (s(), u("div",
|
|
10266
|
+
}, null, 8, ["color"])) : ue.sortable ? (s(), u("div", Jf, [
|
|
10242
10267
|
(s(), u("svg", {
|
|
10243
10268
|
class: m([Qe(ue, "asc"), "w-3 h-3 transition-colors"]),
|
|
10244
10269
|
fill: "none",
|
|
@@ -10267,7 +10292,7 @@ const md = {
|
|
|
10267
10292
|
])], 2))
|
|
10268
10293
|
])) : h("", !0)
|
|
10269
10294
|
])
|
|
10270
|
-
], 10,
|
|
10295
|
+
], 10, Xf))), 128)),
|
|
10271
10296
|
q.$slots.actions ? (s(), u("th", {
|
|
10272
10297
|
key: 1,
|
|
10273
10298
|
class: m(Ee.value)
|
|
@@ -10277,12 +10302,12 @@ const md = {
|
|
|
10277
10302
|
i("tbody", {
|
|
10278
10303
|
class: m(Y.value)
|
|
10279
10304
|
}, [
|
|
10280
|
-
e.dataLoading && !e.loading ? (s(), u("tr",
|
|
10305
|
+
e.dataLoading && !e.loading ? (s(), u("tr", Qf, [
|
|
10281
10306
|
i("td", {
|
|
10282
10307
|
colspan: g.value,
|
|
10283
10308
|
class: m(qe.value)
|
|
10284
10309
|
}, [
|
|
10285
|
-
i("div",
|
|
10310
|
+
i("div", em, [
|
|
10286
10311
|
P(tt, {
|
|
10287
10312
|
loading: !0,
|
|
10288
10313
|
type: "dots",
|
|
@@ -10290,7 +10315,7 @@ const md = {
|
|
|
10290
10315
|
color: e.loadingColor
|
|
10291
10316
|
}, null, 8, ["color"])
|
|
10292
10317
|
])
|
|
10293
|
-
], 10,
|
|
10318
|
+
], 10, Zf)
|
|
10294
10319
|
])) : v.value.length > 0 && !e.loading ? (s(!0), u(G, { key: 1 }, X(v.value, (ue, he) => (s(), U(hr, {
|
|
10295
10320
|
key: O(ue, he),
|
|
10296
10321
|
item: ue,
|
|
@@ -10318,24 +10343,24 @@ const md = {
|
|
|
10318
10343
|
F(q.$slots, `cell-${Ie.key}`, Xe({ ref_for: !0 }, We), void 0, !0)
|
|
10319
10344
|
])
|
|
10320
10345
|
}))
|
|
10321
|
-
]), 1032, ["item", "columns", "index", "selectable", "is-selected", "striped", "hoverable", "clickable-rows", "density", "row-loading", "loading-color"]))), 128)) : !e.loading && !e.dataLoading && e.hasLoaded ? (s(), u("tr",
|
|
10346
|
+
]), 1032, ["item", "columns", "index", "selectable", "is-selected", "striped", "hoverable", "clickable-rows", "density", "row-loading", "loading-color"]))), 128)) : !e.loading && !e.dataLoading && e.hasLoaded ? (s(), u("tr", tm, [
|
|
10322
10347
|
i("td", {
|
|
10323
10348
|
colspan: g.value,
|
|
10324
10349
|
class: m(qe.value)
|
|
10325
10350
|
}, [
|
|
10326
10351
|
F(q.$slots, "empty", {}, () => [
|
|
10327
|
-
i("div",
|
|
10328
|
-
i("div",
|
|
10352
|
+
i("div", nm, [
|
|
10353
|
+
i("div", rm, [
|
|
10329
10354
|
P(Q, {
|
|
10330
10355
|
name: "search",
|
|
10331
10356
|
class: "w-12 h-12"
|
|
10332
10357
|
})
|
|
10333
10358
|
]),
|
|
10334
|
-
i("p",
|
|
10335
|
-
i("p",
|
|
10359
|
+
i("p", sm, x(e.emptyText), 1),
|
|
10360
|
+
i("p", lm, x(e.emptySubtitle), 1)
|
|
10336
10361
|
])
|
|
10337
10362
|
], !0)
|
|
10338
|
-
], 10,
|
|
10363
|
+
], 10, am)
|
|
10339
10364
|
])) : h("", !0),
|
|
10340
10365
|
e.showSkeleton && (e.loading || e.dataLoading) ? (s(!0), u(G, { key: 3 }, X(e.skeletonRows, (ue) => (s(), u("tr", {
|
|
10341
10366
|
key: `skeleton-${ue}`,
|
|
@@ -10390,7 +10415,7 @@ const md = {
|
|
|
10390
10415
|
}, 8, ["current-page", "total-pages", "total", "page-size", "show-pagination", "selectable", "selected-count", "variant", "padding", "loading", "disabled"])) : h("", !0)
|
|
10391
10416
|
], 2));
|
|
10392
10417
|
}
|
|
10393
|
-
},
|
|
10418
|
+
}, im = /* @__PURE__ */ At(om, [["__scopeId", "data-v-a9cdb37e"]]), um = {
|
|
10394
10419
|
__name: "DataTableCell",
|
|
10395
10420
|
props: {
|
|
10396
10421
|
item: {
|
|
@@ -10478,22 +10503,22 @@ const md = {
|
|
|
10478
10503
|
])
|
|
10479
10504
|
], 2));
|
|
10480
10505
|
}
|
|
10481
|
-
},
|
|
10506
|
+
}, dm = { class: "bg-white border-b border-gray-200" }, cm = {
|
|
10482
10507
|
key: 0,
|
|
10483
10508
|
class: "flex-1 min-w-80 max-w-md"
|
|
10484
|
-
},
|
|
10509
|
+
}, fm = { class: "relative group" }, mm = ["model-value", "placeholder"], gm = { class: "relative" }, vm = { value: "" }, bm = ["value"], hm = {
|
|
10485
10510
|
key: 1,
|
|
10486
10511
|
class: "min-w-36"
|
|
10487
|
-
},
|
|
10512
|
+
}, pm = { class: "relative" }, ym = ["value"], xm = {
|
|
10488
10513
|
key: 3,
|
|
10489
10514
|
class: "flex items-center gap-2"
|
|
10490
|
-
},
|
|
10515
|
+
}, wm = { class: "flex items-center gap-3 ml-auto" }, km = { class: "grid grid-cols-1 lg:grid-cols-3 gap-6" }, Sm = { class: "flex items-center justify-between" }, $m = { class: "flex items-center gap-3" }, Cm = { class: "relative flex-1" }, zm = ["model-value", "placeholder", "onInput"], Am = { class: "relative flex-1" }, Im = ["model-value", "placeholder", "onInput"], Tm = ["onClick"], Pm = { class: "flex items-center justify-between" }, jm = { class: "flex items-center gap-3" }, Bm = { class: "relative flex-1" }, Om = ["model-value", "placeholder", "step", "onInput"], Fm = { class: "relative flex-1" }, Vm = ["model-value", "placeholder", "step", "onInput"], Mm = ["onClick"], Dm = { class: "flex items-center justify-between" }, Em = { class: "relative" }, Lm = { value: "" }, Nm = ["value"], Rm = {
|
|
10491
10516
|
key: 0,
|
|
10492
10517
|
class: "flex flex-wrap gap-2 mt-2"
|
|
10493
|
-
},
|
|
10518
|
+
}, _m = ["onClick"], qm = { class: "flex items-center gap-3 flex-wrap" }, Wm = ["onClick"], Ym = {
|
|
10494
10519
|
key: 2,
|
|
10495
10520
|
class: "px-6 py-3 bg-gray-50 border-t border-gray-200"
|
|
10496
|
-
},
|
|
10521
|
+
}, Um = { class: "flex items-center justify-between" }, Hm = { class: "flex items-center gap-4" }, Gm = { class: "text-sm text-gray-600" }, Xm = { class: "font-medium" }, Km = {
|
|
10497
10522
|
__name: "DataTableFilters",
|
|
10498
10523
|
props: {
|
|
10499
10524
|
searchQuery: {
|
|
@@ -10892,12 +10917,12 @@ const md = {
|
|
|
10892
10917
|
break;
|
|
10893
10918
|
}
|
|
10894
10919
|
};
|
|
10895
|
-
return (R, T) => (s(), u("div",
|
|
10920
|
+
return (R, T) => (s(), u("div", dm, [
|
|
10896
10921
|
i("div", {
|
|
10897
10922
|
class: m(K.value)
|
|
10898
10923
|
}, [
|
|
10899
|
-
e.showSearch ? (s(), u("div",
|
|
10900
|
-
i("div",
|
|
10924
|
+
e.showSearch ? (s(), u("div", cm, [
|
|
10925
|
+
i("div", fm, [
|
|
10901
10926
|
P(Q, {
|
|
10902
10927
|
icon: "magnifying-glass",
|
|
10903
10928
|
class: m(J.value)
|
|
@@ -10907,7 +10932,7 @@ const md = {
|
|
|
10907
10932
|
placeholder: e.searchPlaceholder,
|
|
10908
10933
|
class: m($.value),
|
|
10909
10934
|
onInput: T[0] || (T[0] = (I) => R.$emit("update:searchQuery", I.target.value))
|
|
10910
|
-
}, null, 42,
|
|
10935
|
+
}, null, 42, mm),
|
|
10911
10936
|
e.searchQuery ? (s(), u("button", {
|
|
10912
10937
|
key: 0,
|
|
10913
10938
|
class: m(M.value),
|
|
@@ -10924,18 +10949,18 @@ const md = {
|
|
|
10924
10949
|
key: I.key,
|
|
10925
10950
|
class: "min-w-36"
|
|
10926
10951
|
}, [
|
|
10927
|
-
i("div",
|
|
10952
|
+
i("div", gm, [
|
|
10928
10953
|
P(Oe, {
|
|
10929
10954
|
"model-value": I.value,
|
|
10930
10955
|
class: m(Y.value),
|
|
10931
10956
|
onChange: (_) => c(I.key, _.target.value)
|
|
10932
10957
|
}, {
|
|
10933
10958
|
default: N(() => [
|
|
10934
|
-
i("option",
|
|
10959
|
+
i("option", vm, x(I.placeholder || `All ${I.label}`), 1),
|
|
10935
10960
|
(s(!0), u(G, null, X(I.options, (_) => (s(), u("option", {
|
|
10936
10961
|
key: _.value,
|
|
10937
10962
|
value: _.value
|
|
10938
|
-
}, x(_.label), 9,
|
|
10963
|
+
}, x(_.label), 9, bm))), 128))
|
|
10939
10964
|
]),
|
|
10940
10965
|
_: 2
|
|
10941
10966
|
}, 1032, ["model-value", "class", "onChange"]),
|
|
@@ -10945,8 +10970,8 @@ const md = {
|
|
|
10945
10970
|
})
|
|
10946
10971
|
])
|
|
10947
10972
|
]))), 128)),
|
|
10948
|
-
e.showFilters && e.statusOptions.length > 0 ? (s(), u("div",
|
|
10949
|
-
i("div",
|
|
10973
|
+
e.showFilters && e.statusOptions.length > 0 ? (s(), u("div", hm, [
|
|
10974
|
+
i("div", pm, [
|
|
10950
10975
|
P(Oe, {
|
|
10951
10976
|
"model-value": e.selectedStatus,
|
|
10952
10977
|
class: m(Y.value),
|
|
@@ -10957,7 +10982,7 @@ const md = {
|
|
|
10957
10982
|
(s(!0), u(G, null, X(e.statusOptions, (I) => (s(), u("option", {
|
|
10958
10983
|
key: I.value,
|
|
10959
10984
|
value: I.value
|
|
10960
|
-
}, x(I.label), 9,
|
|
10985
|
+
}, x(I.label), 9, ym))), 128))
|
|
10961
10986
|
]),
|
|
10962
10987
|
_: 1
|
|
10963
10988
|
}, 8, ["model-value", "class"]),
|
|
@@ -10986,10 +11011,10 @@ const md = {
|
|
|
10986
11011
|
class: "w-4 h-4 ml-1"
|
|
10987
11012
|
}, null, 8, ["icon"])
|
|
10988
11013
|
], 2)) : h("", !0),
|
|
10989
|
-
R.$slots.filters ? (s(), u("div",
|
|
11014
|
+
R.$slots.filters ? (s(), u("div", xm, [
|
|
10990
11015
|
F(R.$slots, "filters")
|
|
10991
11016
|
])) : h("", !0),
|
|
10992
|
-
i("div",
|
|
11017
|
+
i("div", wm, [
|
|
10993
11018
|
le.value ? (s(), U(we, {
|
|
10994
11019
|
key: 0,
|
|
10995
11020
|
class: m(ae.value),
|
|
@@ -11041,12 +11066,12 @@ const md = {
|
|
|
11041
11066
|
key: 0,
|
|
11042
11067
|
class: m(xe.value)
|
|
11043
11068
|
}, [
|
|
11044
|
-
i("div",
|
|
11069
|
+
i("div", km, [
|
|
11045
11070
|
(s(!0), u(G, null, X(e.dateFilters, (I) => (s(), u("div", {
|
|
11046
11071
|
key: I.key,
|
|
11047
11072
|
class: "space-y-3"
|
|
11048
11073
|
}, [
|
|
11049
|
-
i("div",
|
|
11074
|
+
i("div", Sm, [
|
|
11050
11075
|
i("label", {
|
|
11051
11076
|
class: m(qe.value)
|
|
11052
11077
|
}, x(I.label), 3),
|
|
@@ -11054,8 +11079,8 @@ const md = {
|
|
|
11054
11079
|
class: m(k(I))
|
|
11055
11080
|
}, x(p(I) ? "Active" : "Inactive"), 3)
|
|
11056
11081
|
]),
|
|
11057
|
-
i("div",
|
|
11058
|
-
i("div",
|
|
11082
|
+
i("div", $m, [
|
|
11083
|
+
i("div", Cm, [
|
|
11059
11084
|
P(Q, {
|
|
11060
11085
|
icon: "calendar",
|
|
11061
11086
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -11066,12 +11091,12 @@ const md = {
|
|
|
11066
11091
|
class: m(Ee.value),
|
|
11067
11092
|
placeholder: `From ${I.label}`,
|
|
11068
11093
|
onInput: (_) => V(I.key, "from", _.target.value)
|
|
11069
|
-
}, null, 42,
|
|
11094
|
+
}, null, 42, zm)
|
|
11070
11095
|
]),
|
|
11071
11096
|
i("span", {
|
|
11072
11097
|
class: m(Qe.value)
|
|
11073
11098
|
}, "to", 2),
|
|
11074
|
-
i("div",
|
|
11099
|
+
i("div", Am, [
|
|
11075
11100
|
P(Q, {
|
|
11076
11101
|
icon: "calendar",
|
|
11077
11102
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -11082,7 +11107,7 @@ const md = {
|
|
|
11082
11107
|
class: m(Ee.value),
|
|
11083
11108
|
placeholder: `To ${I.label}`,
|
|
11084
11109
|
onInput: (_) => V(I.key, "to", _.target.value)
|
|
11085
|
-
}, null, 42,
|
|
11110
|
+
}, null, 42, Im)
|
|
11086
11111
|
]),
|
|
11087
11112
|
p(I) ? (s(), u("button", {
|
|
11088
11113
|
key: 0,
|
|
@@ -11094,14 +11119,14 @@ const md = {
|
|
|
11094
11119
|
icon: "xmark",
|
|
11095
11120
|
class: "w-4 h-4"
|
|
11096
11121
|
})
|
|
11097
|
-
], 10,
|
|
11122
|
+
], 10, Tm)) : h("", !0)
|
|
11098
11123
|
])
|
|
11099
11124
|
]))), 128)),
|
|
11100
11125
|
(s(!0), u(G, null, X(e.numberFilters, (I) => (s(), u("div", {
|
|
11101
11126
|
key: I.key,
|
|
11102
11127
|
class: "space-y-3"
|
|
11103
11128
|
}, [
|
|
11104
|
-
i("div",
|
|
11129
|
+
i("div", Pm, [
|
|
11105
11130
|
i("label", {
|
|
11106
11131
|
class: m(qe.value)
|
|
11107
11132
|
}, x(I.label), 3),
|
|
@@ -11109,8 +11134,8 @@ const md = {
|
|
|
11109
11134
|
class: m(v(I))
|
|
11110
11135
|
}, x(C(I) ? "Active" : "Inactive"), 3)
|
|
11111
11136
|
]),
|
|
11112
|
-
i("div",
|
|
11113
|
-
i("div",
|
|
11137
|
+
i("div", jm, [
|
|
11138
|
+
i("div", Bm, [
|
|
11114
11139
|
i("input", {
|
|
11115
11140
|
type: "number",
|
|
11116
11141
|
"model-value": I.min,
|
|
@@ -11118,12 +11143,12 @@ const md = {
|
|
|
11118
11143
|
placeholder: `Min ${I.label}`,
|
|
11119
11144
|
step: I.step || 1,
|
|
11120
11145
|
onInput: (_) => g(I.key, "min", _.target.value)
|
|
11121
|
-
}, null, 42,
|
|
11146
|
+
}, null, 42, Om)
|
|
11122
11147
|
]),
|
|
11123
11148
|
i("span", {
|
|
11124
11149
|
class: m(Qe.value)
|
|
11125
11150
|
}, "to", 2),
|
|
11126
|
-
i("div",
|
|
11151
|
+
i("div", Fm, [
|
|
11127
11152
|
i("input", {
|
|
11128
11153
|
type: "number",
|
|
11129
11154
|
"model-value": I.max,
|
|
@@ -11131,7 +11156,7 @@ const md = {
|
|
|
11131
11156
|
placeholder: `Max ${I.label}`,
|
|
11132
11157
|
step: I.step || 1,
|
|
11133
11158
|
onInput: (_) => g(I.key, "max", _.target.value)
|
|
11134
|
-
}, null, 42,
|
|
11159
|
+
}, null, 42, Vm)
|
|
11135
11160
|
]),
|
|
11136
11161
|
C(I) ? (s(), u("button", {
|
|
11137
11162
|
key: 0,
|
|
@@ -11143,14 +11168,14 @@ const md = {
|
|
|
11143
11168
|
icon: "xmark",
|
|
11144
11169
|
class: "w-4 h-4"
|
|
11145
11170
|
})
|
|
11146
|
-
], 10,
|
|
11171
|
+
], 10, Mm)) : h("", !0)
|
|
11147
11172
|
])
|
|
11148
11173
|
]))), 128)),
|
|
11149
11174
|
(s(!0), u(G, null, X(e.multiSelectFilters, (I) => (s(), u("div", {
|
|
11150
11175
|
key: I.key,
|
|
11151
11176
|
class: "space-y-3"
|
|
11152
11177
|
}, [
|
|
11153
|
-
i("div",
|
|
11178
|
+
i("div", Dm, [
|
|
11154
11179
|
i("label", {
|
|
11155
11180
|
class: m(qe.value)
|
|
11156
11181
|
}, x(I.label), 3),
|
|
@@ -11158,18 +11183,18 @@ const md = {
|
|
|
11158
11183
|
class: m(y(I))
|
|
11159
11184
|
}, x(f(I) ? `${I.selected.length} selected` : "None"), 3)
|
|
11160
11185
|
]),
|
|
11161
|
-
i("div",
|
|
11186
|
+
i("div", Em, [
|
|
11162
11187
|
P(Oe, {
|
|
11163
11188
|
"model-value": "",
|
|
11164
11189
|
class: m(Y.value),
|
|
11165
11190
|
onChange: (_) => A(I.key, _.target.value)
|
|
11166
11191
|
}, {
|
|
11167
11192
|
default: N(() => [
|
|
11168
|
-
i("option",
|
|
11193
|
+
i("option", Lm, " Select " + x(I.label), 1),
|
|
11169
11194
|
(s(!0), u(G, null, X(I.options, (_) => (s(), u("option", {
|
|
11170
11195
|
key: _.value,
|
|
11171
11196
|
value: _.value
|
|
11172
|
-
}, x(_.label), 9,
|
|
11197
|
+
}, x(_.label), 9, Nm))), 128))
|
|
11173
11198
|
]),
|
|
11174
11199
|
_: 2
|
|
11175
11200
|
}, 1032, ["class", "onChange"]),
|
|
@@ -11178,7 +11203,7 @@ const md = {
|
|
|
11178
11203
|
class: "absolute right-2 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400 pointer-events-none"
|
|
11179
11204
|
})
|
|
11180
11205
|
]),
|
|
11181
|
-
I.selected.length > 0 ? (s(), u("div",
|
|
11206
|
+
I.selected.length > 0 ? (s(), u("div", Rm, [
|
|
11182
11207
|
(s(!0), u(G, null, X(I.selected, (_) => (s(), u("span", {
|
|
11183
11208
|
key: _,
|
|
11184
11209
|
class: "inline-flex items-center gap-1 bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full"
|
|
@@ -11192,7 +11217,7 @@ const md = {
|
|
|
11192
11217
|
icon: "xmark",
|
|
11193
11218
|
class: "w-3 h-3"
|
|
11194
11219
|
})
|
|
11195
|
-
], 8,
|
|
11220
|
+
], 8, _m)
|
|
11196
11221
|
]))), 128))
|
|
11197
11222
|
])) : h("", !0)
|
|
11198
11223
|
]))), 128))
|
|
@@ -11202,7 +11227,7 @@ const md = {
|
|
|
11202
11227
|
key: 1,
|
|
11203
11228
|
class: m(he.value)
|
|
11204
11229
|
}, [
|
|
11205
|
-
i("div",
|
|
11230
|
+
i("div", qm, [
|
|
11206
11231
|
i("span", {
|
|
11207
11232
|
class: m(Ie.value)
|
|
11208
11233
|
}, "Active filters:", 2),
|
|
@@ -11223,15 +11248,15 @@ const md = {
|
|
|
11223
11248
|
icon: "xmark",
|
|
11224
11249
|
class: "w-3 h-3"
|
|
11225
11250
|
})
|
|
11226
|
-
], 10,
|
|
11251
|
+
], 10, Wm)
|
|
11227
11252
|
], 2))), 128))
|
|
11228
11253
|
])
|
|
11229
11254
|
], 2)) : h("", !0),
|
|
11230
|
-
e.showTableInfo ? (s(), u("div",
|
|
11231
|
-
i("div",
|
|
11232
|
-
i("div",
|
|
11233
|
-
i("span",
|
|
11234
|
-
i("span",
|
|
11255
|
+
e.showTableInfo ? (s(), u("div", Ym, [
|
|
11256
|
+
i("div", Um, [
|
|
11257
|
+
i("div", Hm, [
|
|
11258
|
+
i("span", Gm, [
|
|
11259
|
+
i("span", Xm, x(e.totalItems || 0), 1),
|
|
11235
11260
|
ee(" " + x(e.itemLabel || "items") + " found ", 1)
|
|
11236
11261
|
])
|
|
11237
11262
|
])
|
|
@@ -11239,16 +11264,16 @@ const md = {
|
|
|
11239
11264
|
])) : h("", !0)
|
|
11240
11265
|
]));
|
|
11241
11266
|
}
|
|
11242
|
-
},
|
|
11267
|
+
}, Jm = { class: "flex items-center gap-3" }, Qm = {
|
|
11243
11268
|
key: 0,
|
|
11244
11269
|
class: "flex items-center gap-3"
|
|
11245
|
-
},
|
|
11270
|
+
}, Zm = { class: "text-sm text-slate-600" }, eg = { class: "flex items-center gap-2" }, tg = { class: "flex items-center gap-3" }, ag = ["title", "onClick"], ng = {
|
|
11246
11271
|
key: 1,
|
|
11247
11272
|
class: "relative"
|
|
11248
|
-
},
|
|
11273
|
+
}, rg = { class: "p-3" }, sg = { class: "space-y-1" }, lg = { class: "flex items-center gap-2 cursor-pointer w-full" }, og = ["checked", "onChange"], ig = ["disabled"], ug = {
|
|
11249
11274
|
key: 3,
|
|
11250
11275
|
class: "flex items-center gap-2"
|
|
11251
|
-
},
|
|
11276
|
+
}, dg = [
|
|
11252
11277
|
{
|
|
11253
11278
|
key: "delete",
|
|
11254
11279
|
label: "Delete",
|
|
@@ -11265,13 +11290,13 @@ const md = {
|
|
|
11265
11290
|
},
|
|
11266
11291
|
variant: "primary"
|
|
11267
11292
|
}
|
|
11268
|
-
],
|
|
11293
|
+
], cg = {
|
|
11269
11294
|
name: "DataTableToolBar"
|
|
11270
|
-
},
|
|
11295
|
+
}, fg = /* @__PURE__ */ Object.assign(cg, {
|
|
11271
11296
|
props: {
|
|
11272
11297
|
selectedItems: { type: Array, default: () => [] },
|
|
11273
11298
|
totalItems: { type: Number, default: 0 },
|
|
11274
|
-
bulkActions: { type: Array, default: () =>
|
|
11299
|
+
bulkActions: { type: Array, default: () => dg },
|
|
11275
11300
|
showDensityToggle: { type: Boolean, default: !0 },
|
|
11276
11301
|
showColumnToggle: { type: Boolean, default: !0 },
|
|
11277
11302
|
showRefresh: { type: Boolean, default: !0 },
|
|
@@ -11397,10 +11422,10 @@ const md = {
|
|
|
11397
11422
|
return s(), u("div", {
|
|
11398
11423
|
class: m(C.value)
|
|
11399
11424
|
}, [
|
|
11400
|
-
i("div",
|
|
11401
|
-
d.value > 0 ? (s(), u("div",
|
|
11402
|
-
i("span",
|
|
11403
|
-
i("div",
|
|
11425
|
+
i("div", Jm, [
|
|
11426
|
+
d.value > 0 ? (s(), u("div", Qm, [
|
|
11427
|
+
i("span", Zm, x(d.value) + " selected ", 1),
|
|
11428
|
+
i("div", eg, [
|
|
11404
11429
|
(s(!0), u(G, null, X(e.bulkActions, (ne) => (s(), U(we, {
|
|
11405
11430
|
key: ne.key,
|
|
11406
11431
|
class: m(le(ne)),
|
|
@@ -11422,7 +11447,7 @@ const md = {
|
|
|
11422
11447
|
class: m(z.value)
|
|
11423
11448
|
}, x(e.totalItems) + " " + x(e.totalItems === 1 ? "item" : "items"), 3)) : h("", !0)
|
|
11424
11449
|
]),
|
|
11425
|
-
i("div",
|
|
11450
|
+
i("div", tg, [
|
|
11426
11451
|
e.showDensityToggle ? (s(), u("div", {
|
|
11427
11452
|
key: 0,
|
|
11428
11453
|
class: m(v.value)
|
|
@@ -11438,9 +11463,9 @@ const md = {
|
|
|
11438
11463
|
icon: ne.icon,
|
|
11439
11464
|
class: "w-4 h-4"
|
|
11440
11465
|
}, null, 8, ["icon"])
|
|
11441
|
-
], 10,
|
|
11466
|
+
], 10, ag)), 64))
|
|
11442
11467
|
], 2)) : h("", !0),
|
|
11443
|
-
e.showColumnToggle ? (s(), u("div",
|
|
11468
|
+
e.showColumnToggle ? (s(), u("div", ng, [
|
|
11444
11469
|
i("button", {
|
|
11445
11470
|
ref_key: "columnToggleButton",
|
|
11446
11471
|
ref: l,
|
|
@@ -11461,22 +11486,22 @@ const md = {
|
|
|
11461
11486
|
onClick: Y[0] || (Y[0] = Ne(() => {
|
|
11462
11487
|
}, ["stop"]))
|
|
11463
11488
|
}, [
|
|
11464
|
-
i("div",
|
|
11489
|
+
i("div", rg, [
|
|
11465
11490
|
i("div", {
|
|
11466
11491
|
class: m(y.value)
|
|
11467
11492
|
}, " Show Columns ", 2),
|
|
11468
|
-
i("div",
|
|
11493
|
+
i("div", sg, [
|
|
11469
11494
|
(s(!0), u(G, null, X(e.toggleableColumns, (ne) => (s(), u("div", {
|
|
11470
11495
|
key: ne.key,
|
|
11471
11496
|
class: m(A.value)
|
|
11472
11497
|
}, [
|
|
11473
|
-
i("label",
|
|
11498
|
+
i("label", lg, [
|
|
11474
11499
|
i("input", {
|
|
11475
11500
|
type: "checkbox",
|
|
11476
11501
|
checked: J(ne.key),
|
|
11477
11502
|
class: m(O.value),
|
|
11478
11503
|
onChange: (xe) => $(ne.key, xe.target.checked)
|
|
11479
|
-
}, null, 42,
|
|
11504
|
+
}, null, 42, og),
|
|
11480
11505
|
i("span", {
|
|
11481
11506
|
class: m(j.value)
|
|
11482
11507
|
}, x(ne.label), 3)
|
|
@@ -11500,15 +11525,15 @@ const md = {
|
|
|
11500
11525
|
class: m(K())
|
|
11501
11526
|
}, null, 8, ["class"]),
|
|
11502
11527
|
Y[3] || (Y[3] = i("span", null, "Refresh", -1))
|
|
11503
|
-
], 10,
|
|
11504
|
-
M.$slots.actions ? (s(), u("div",
|
|
11528
|
+
], 10, ig)) : h("", !0),
|
|
11529
|
+
M.$slots.actions ? (s(), u("div", ug, [
|
|
11505
11530
|
F(M.$slots, "actions")
|
|
11506
11531
|
])) : h("", !0)
|
|
11507
11532
|
])
|
|
11508
11533
|
], 2);
|
|
11509
11534
|
};
|
|
11510
11535
|
}
|
|
11511
|
-
}),
|
|
11536
|
+
}), mg = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12" }, gg = { class: "grid grid-cols-1 md:grid-cols-4 gap-8" }, vg = { class: "col-span-1 md:col-span-2" }, bg = { class: "space-y-2" }, hg = { class: "flex space-x-4" }, pg = { class: "flex flex-col md:flex-row justify-between items-center" }, yg = { class: "flex space-x-6 mt-4 md:mt-0" }, xg = {
|
|
11512
11537
|
__name: "Footer",
|
|
11513
11538
|
props: {
|
|
11514
11539
|
className: {
|
|
@@ -11522,9 +11547,9 @@ const md = {
|
|
|
11522
11547
|
return s(), u("footer", {
|
|
11523
11548
|
class: m(L(S)("bg-gray-50 border-t border-gray-200", e.className))
|
|
11524
11549
|
}, [
|
|
11525
|
-
i("div",
|
|
11526
|
-
i("div",
|
|
11527
|
-
i("div",
|
|
11550
|
+
i("div", mg, [
|
|
11551
|
+
i("div", gg, [
|
|
11552
|
+
i("div", vg, [
|
|
11528
11553
|
F(a.$slots, "brand", {}, () => [
|
|
11529
11554
|
P(n, { class: "mb-4" }),
|
|
11530
11555
|
P(r, { class: "text-gray-600 max-w-md" }, {
|
|
@@ -11546,7 +11571,7 @@ const md = {
|
|
|
11546
11571
|
])]),
|
|
11547
11572
|
_: 1
|
|
11548
11573
|
}),
|
|
11549
|
-
i("div",
|
|
11574
|
+
i("div", bg, [
|
|
11550
11575
|
P(o, {
|
|
11551
11576
|
href: "#",
|
|
11552
11577
|
class: "block text-gray-600 hover:text-gray-900"
|
|
@@ -11588,7 +11613,7 @@ const md = {
|
|
|
11588
11613
|
])]),
|
|
11589
11614
|
_: 1
|
|
11590
11615
|
}),
|
|
11591
|
-
i("div",
|
|
11616
|
+
i("div", hg, [
|
|
11592
11617
|
P(o, {
|
|
11593
11618
|
href: "#",
|
|
11594
11619
|
class: "text-gray-600 hover:text-gray-900"
|
|
@@ -11618,7 +11643,7 @@ const md = {
|
|
|
11618
11643
|
])
|
|
11619
11644
|
]),
|
|
11620
11645
|
P(c, { class: "my-8" }),
|
|
11621
|
-
i("div",
|
|
11646
|
+
i("div", pg, [
|
|
11622
11647
|
F(a.$slots, "copyright", {}, () => [
|
|
11623
11648
|
P(r, { class: "text-gray-600" }, {
|
|
11624
11649
|
default: N(() => [
|
|
@@ -11628,7 +11653,7 @@ const md = {
|
|
|
11628
11653
|
})
|
|
11629
11654
|
]),
|
|
11630
11655
|
F(a.$slots, "legal", {}, () => [
|
|
11631
|
-
i("div",
|
|
11656
|
+
i("div", yg, [
|
|
11632
11657
|
P(o, {
|
|
11633
11658
|
href: "#",
|
|
11634
11659
|
class: "text-gray-600 hover:text-gray-900"
|
|
@@ -11654,28 +11679,28 @@ const md = {
|
|
|
11654
11679
|
], 2);
|
|
11655
11680
|
};
|
|
11656
11681
|
}
|
|
11657
|
-
},
|
|
11682
|
+
}, wg = { class: "flex items-center justify-between h-16 px-4 md:px-6" }, kg = { class: "flex items-center" }, Sg = {
|
|
11658
11683
|
key: 0,
|
|
11659
11684
|
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"
|
|
11660
|
-
},
|
|
11685
|
+
}, $g = { class: "text-lg font-bold text-blue-900 truncate max-w-[200px]" }, Cg = {
|
|
11661
11686
|
key: 0,
|
|
11662
11687
|
class: "text-xs text-blue-600 truncate font-medium"
|
|
11663
|
-
},
|
|
11688
|
+
}, zg = { class: "hidden md:flex items-center space-x-2 text-sm truncate" }, Ag = { class: "text-gray-500 truncate" }, Ig = { class: "text-gray-900 font-medium truncate" }, Tg = { class: "flex items-center space-x-3 md:space-x-4" }, Pg = {
|
|
11664
11689
|
key: 1,
|
|
11665
11690
|
class: "relative"
|
|
11666
|
-
},
|
|
11691
|
+
}, jg = {
|
|
11667
11692
|
key: 0,
|
|
11668
11693
|
class: "absolute -top-1 -right-1 w-4 h-4 bg-red-500 text-white text-xs rounded-full flex items-center justify-center"
|
|
11669
|
-
},
|
|
11694
|
+
}, Bg = {
|
|
11670
11695
|
key: 0,
|
|
11671
11696
|
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"
|
|
11672
|
-
},
|
|
11697
|
+
}, Og = { class: "max-h-96 overflow-y-auto" }, Fg = { class: "flex items-start space-x-3" }, Vg = { class: "flex-1" }, Mg = { class: "text-sm text-gray-900" }, Dg = { class: "text-xs text-gray-500 mt-1" }, Eg = { class: "relative" }, Lg = { 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" }, Ng = { class: "text-blue-700 text-sm font-medium" }, Rg = { class: "hidden md:block text-left max-w-[160px] truncate" }, _g = { class: "text-sm font-medium text-gray-900 truncate" }, qg = { class: "text-xs text-gray-500 truncate leading-tight" }, Wg = {
|
|
11673
11698
|
key: 0,
|
|
11674
11699
|
class: "absolute right-0 mt-2 w-58 bg-white rounded-lg shadow-lg border border-gray-200 z-50"
|
|
11675
|
-
},
|
|
11700
|
+
}, Yg = { class: "p-4 border-b border-gray-200" }, Ug = { class: "text-sm font-medium text-gray-900" }, Hg = { class: "text-xs text-gray-500" }, Gg = { class: "py-2" }, Xg = {
|
|
11676
11701
|
key: 0,
|
|
11677
11702
|
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"
|
|
11678
|
-
},
|
|
11703
|
+
}, Kg = ["onClick"], Jg = { 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" }, Qg = { class: "flex-1 truncate font-semibold text-gray-700" }, Zg = {
|
|
11679
11704
|
__name: "Header",
|
|
11680
11705
|
props: {
|
|
11681
11706
|
sidebarWidth: { type: Number, default: 256 },
|
|
@@ -11718,14 +11743,14 @@ const md = {
|
|
|
11718
11743
|
)),
|
|
11719
11744
|
style: { left: "0" }
|
|
11720
11745
|
}, [
|
|
11721
|
-
i("div",
|
|
11722
|
-
i("div",
|
|
11723
|
-
e.currentOrganisation ? (s(), u("div",
|
|
11724
|
-
i("p",
|
|
11725
|
-
e.currentOrganisation.role ? (s(), u("p",
|
|
11746
|
+
i("div", wg, [
|
|
11747
|
+
i("div", kg, [
|
|
11748
|
+
e.currentOrganisation ? (s(), u("div", Sg, [
|
|
11749
|
+
i("p", $g, x(e.currentOrganisation.organisation_name), 1),
|
|
11750
|
+
e.currentOrganisation.role ? (s(), u("p", Cg, x(e.currentOrganisation.role), 1)) : h("", !0)
|
|
11726
11751
|
])) : h("", !0),
|
|
11727
|
-
i("nav",
|
|
11728
|
-
i("span",
|
|
11752
|
+
i("nav", zg, [
|
|
11753
|
+
i("span", Ag, x(e.currentSection), 1),
|
|
11729
11754
|
j[4] || (j[4] = i("svg", {
|
|
11730
11755
|
class: "w-4 h-4 text-gray-400 flex-shrink-0",
|
|
11731
11756
|
fill: "none",
|
|
@@ -11739,10 +11764,10 @@ const md = {
|
|
|
11739
11764
|
d: "M9 5l7 7-7 7"
|
|
11740
11765
|
})
|
|
11741
11766
|
], -1)),
|
|
11742
|
-
i("span",
|
|
11767
|
+
i("span", Ig, x(e.currentPage), 1)
|
|
11743
11768
|
])
|
|
11744
11769
|
]),
|
|
11745
|
-
i("div",
|
|
11770
|
+
i("div", Tg, [
|
|
11746
11771
|
p.value ? (s(), u("button", {
|
|
11747
11772
|
key: 0,
|
|
11748
11773
|
class: "p-2 text-gray-400 hover:text-gray-600 rounded-lg hover:bg-gray-50 transition-colors",
|
|
@@ -11762,7 +11787,7 @@ const md = {
|
|
|
11762
11787
|
})
|
|
11763
11788
|
], -1)
|
|
11764
11789
|
])])) : h("", !0),
|
|
11765
|
-
!p.value || c.value ? (s(), u("div",
|
|
11790
|
+
!p.value || c.value ? (s(), u("div", Pg, [
|
|
11766
11791
|
j[6] || (j[6] = i("div", { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" }, [
|
|
11767
11792
|
i("svg", {
|
|
11768
11793
|
class: "w-4 h-4 text-gray-400",
|
|
@@ -11833,7 +11858,7 @@ const md = {
|
|
|
11833
11858
|
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"
|
|
11834
11859
|
})
|
|
11835
11860
|
], -1)),
|
|
11836
|
-
d.value > 0 ? (s(), u("span",
|
|
11861
|
+
d.value > 0 ? (s(), u("span", jg, x(d.value), 1)) : h("", !0)
|
|
11837
11862
|
]),
|
|
11838
11863
|
P(fe, {
|
|
11839
11864
|
"enter-active-class": "transition-all duration-300 ease-out",
|
|
@@ -11844,20 +11869,20 @@ const md = {
|
|
|
11844
11869
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
|
11845
11870
|
}, {
|
|
11846
11871
|
default: N(() => [
|
|
11847
|
-
l.value ? (s(), u("div",
|
|
11872
|
+
l.value ? (s(), u("div", Bg, [
|
|
11848
11873
|
j[10] || (j[10] = i("div", { class: "p-4 border-b border-gray-200" }, [
|
|
11849
11874
|
i("h3", { class: "text-lg font-semibold text-gray-900" }, " Notifications ")
|
|
11850
11875
|
], -1)),
|
|
11851
|
-
i("div",
|
|
11876
|
+
i("div", Og, [
|
|
11852
11877
|
(s(!0), u(G, null, X(e.notifications, (H) => (s(), u("div", {
|
|
11853
11878
|
key: H.id,
|
|
11854
11879
|
class: "p-4 border-b border-gray-100 hover:bg-gray-50 cursor-pointer"
|
|
11855
11880
|
}, [
|
|
11856
|
-
i("div",
|
|
11881
|
+
i("div", Fg, [
|
|
11857
11882
|
j[9] || (j[9] = i("div", { class: "flex-shrink-0 w-2 h-2 mt-2 bg-blue-500 rounded-full" }, null, -1)),
|
|
11858
|
-
i("div",
|
|
11859
|
-
i("p",
|
|
11860
|
-
i("p",
|
|
11883
|
+
i("div", Vg, [
|
|
11884
|
+
i("p", Mg, x(H.title), 1),
|
|
11885
|
+
i("p", Dg, x(H.time), 1)
|
|
11861
11886
|
])
|
|
11862
11887
|
])
|
|
11863
11888
|
]))), 128))
|
|
@@ -11869,17 +11894,17 @@ const md = {
|
|
|
11869
11894
|
]),
|
|
11870
11895
|
_: 1
|
|
11871
11896
|
}),
|
|
11872
|
-
i("div",
|
|
11897
|
+
i("div", Eg, [
|
|
11873
11898
|
i("button", {
|
|
11874
11899
|
class: "flex items-center space-x-2 md:space-x-3 p-2 rounded-lg hover:bg-gray-50 transition-colors",
|
|
11875
11900
|
onClick: C
|
|
11876
11901
|
}, [
|
|
11877
|
-
i("div", Dg, [
|
|
11878
|
-
i("span", Eg, x(w.value), 1)
|
|
11879
|
-
]),
|
|
11880
11902
|
i("div", Lg, [
|
|
11881
|
-
i("
|
|
11882
|
-
|
|
11903
|
+
i("span", Ng, x(w.value), 1)
|
|
11904
|
+
]),
|
|
11905
|
+
i("div", Rg, [
|
|
11906
|
+
i("p", _g, x(e.user.name), 1),
|
|
11907
|
+
i("p", qg, x(k.value), 1)
|
|
11883
11908
|
]),
|
|
11884
11909
|
j[12] || (j[12] = i("svg", {
|
|
11885
11910
|
class: "w-4 h-4 text-gray-400",
|
|
@@ -11904,12 +11929,12 @@ const md = {
|
|
|
11904
11929
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
|
11905
11930
|
}, {
|
|
11906
11931
|
default: N(() => [
|
|
11907
|
-
o.value ? (s(), u("div",
|
|
11908
|
-
i("div",
|
|
11909
|
-
i("p",
|
|
11910
|
-
i("p",
|
|
11932
|
+
o.value ? (s(), u("div", Wg, [
|
|
11933
|
+
i("div", Yg, [
|
|
11934
|
+
i("p", Ug, x(e.user.name), 1),
|
|
11935
|
+
i("p", Hg, x(e.user.email), 1)
|
|
11911
11936
|
]),
|
|
11912
|
-
i("div",
|
|
11937
|
+
i("div", Gg, [
|
|
11913
11938
|
(s(!0), u(G, null, X(e.profileMenuItems, (H) => (s(), u(G, {
|
|
11914
11939
|
key: H.name
|
|
11915
11940
|
}, [
|
|
@@ -11923,7 +11948,7 @@ const md = {
|
|
|
11923
11948
|
onClick: (le) => z(H)
|
|
11924
11949
|
}, {
|
|
11925
11950
|
default: N(() => [
|
|
11926
|
-
v(H) ? (s(), u("div",
|
|
11951
|
+
v(H) ? (s(), u("div", Xg)) : h("", !0),
|
|
11927
11952
|
i("div", {
|
|
11928
11953
|
class: m(L(S)(
|
|
11929
11954
|
"flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2",
|
|
@@ -11949,15 +11974,15 @@ const md = {
|
|
|
11949
11974
|
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",
|
|
11950
11975
|
onClick: (le) => g(H)
|
|
11951
11976
|
}, [
|
|
11952
|
-
i("div",
|
|
11977
|
+
i("div", Jg, [
|
|
11953
11978
|
H.icon ? (s(), U(Q, {
|
|
11954
11979
|
key: 0,
|
|
11955
11980
|
icon: H.icon,
|
|
11956
11981
|
class: "w-4 h-4"
|
|
11957
11982
|
}, null, 8, ["icon"])) : h("", !0)
|
|
11958
11983
|
]),
|
|
11959
|
-
i("span",
|
|
11960
|
-
], 8,
|
|
11984
|
+
i("span", Qg, x(H.label), 1)
|
|
11985
|
+
], 8, Kg))
|
|
11961
11986
|
], 64))), 128))
|
|
11962
11987
|
]),
|
|
11963
11988
|
i("div", { class: "border-t border-gray-200 py-2" }, [
|
|
@@ -11993,13 +12018,13 @@ const md = {
|
|
|
11993
12018
|
], 2);
|
|
11994
12019
|
};
|
|
11995
12020
|
}
|
|
11996
|
-
},
|
|
12021
|
+
}, ev = { class: "mb-4" }, tv = { class: "text-lg font-semibold text-gray-900" }, av = { class: "text-sm text-gray-600" }, nv = {
|
|
11997
12022
|
value: "",
|
|
11998
12023
|
disabled: ""
|
|
11999
|
-
},
|
|
12024
|
+
}, rv = ["value"], sv = {
|
|
12000
12025
|
key: 3,
|
|
12001
12026
|
class: "flex items-center"
|
|
12002
|
-
},
|
|
12027
|
+
}, lv = { class: "flex justify-end gap-3 pt-4" }, ov = {
|
|
12003
12028
|
__name: "ReusableFormModal",
|
|
12004
12029
|
props: {
|
|
12005
12030
|
modelValue: {
|
|
@@ -12154,9 +12179,9 @@ const md = {
|
|
|
12154
12179
|
onClose: z
|
|
12155
12180
|
}, {
|
|
12156
12181
|
default: N(() => [
|
|
12157
|
-
i("div",
|
|
12158
|
-
i("h2",
|
|
12159
|
-
i("p",
|
|
12182
|
+
i("div", ev, [
|
|
12183
|
+
i("h2", tv, x(e.modalType === "create" ? `Add New ${e.entityName}` : `Edit ${e.entityName}`), 1),
|
|
12184
|
+
i("p", av, x(e.modalType === "create" ? `Fill in the details to create a new ${e.entityName.toLowerCase()}.` : `Update the ${e.entityName.toLowerCase()} information below.`), 1)
|
|
12160
12185
|
]),
|
|
12161
12186
|
i("form", {
|
|
12162
12187
|
class: "space-y-4",
|
|
@@ -12210,14 +12235,14 @@ const md = {
|
|
|
12210
12235
|
"onUpdate:modelValue": (j) => k(f, j)
|
|
12211
12236
|
}, {
|
|
12212
12237
|
default: N(() => [
|
|
12213
|
-
i("option",
|
|
12238
|
+
i("option", nv, x(f.placeholder || "Select an option"), 1),
|
|
12214
12239
|
(s(!0), u(G, null, X(f.options, (j) => (s(), u("option", {
|
|
12215
12240
|
key: j.value,
|
|
12216
12241
|
value: j.value
|
|
12217
|
-
}, x(j.label), 9,
|
|
12242
|
+
}, x(j.label), 9, rv))), 128))
|
|
12218
12243
|
]),
|
|
12219
12244
|
_: 2
|
|
12220
|
-
}, 1032, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : f.type === "checkbox" ? (s(), u("div",
|
|
12245
|
+
}, 1032, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : f.type === "checkbox" ? (s(), u("div", sv, [
|
|
12221
12246
|
P(ea, {
|
|
12222
12247
|
id: y,
|
|
12223
12248
|
modelValue: o.value[f.name],
|
|
@@ -12264,7 +12289,7 @@ const md = {
|
|
|
12264
12289
|
_: 2
|
|
12265
12290
|
}, 1032, ["id", "label", "required", "error", "error-message"])
|
|
12266
12291
|
]))), 128)),
|
|
12267
|
-
i("div",
|
|
12292
|
+
i("div", lv, [
|
|
12268
12293
|
P(we, {
|
|
12269
12294
|
type: "button",
|
|
12270
12295
|
variant: "outline",
|
|
@@ -12293,37 +12318,37 @@ const md = {
|
|
|
12293
12318
|
_: 1
|
|
12294
12319
|
}, 8, ["modelValue", "size", "resizable"]));
|
|
12295
12320
|
}
|
|
12296
|
-
},
|
|
12321
|
+
}, iv = {
|
|
12297
12322
|
key: 0,
|
|
12298
12323
|
class: "flex items-center justify-between p-4 border-b border-gray-200 flex-shrink-0 lg:hidden"
|
|
12299
|
-
},
|
|
12324
|
+
}, uv = { class: "text-lg font-bold text-gray-900" }, dv = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, cv = { class: "space-y-2" }, fv = { key: 0 }, mv = {
|
|
12300
12325
|
key: 0,
|
|
12301
12326
|
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"
|
|
12302
|
-
},
|
|
12327
|
+
}, gv = ["onClick"], vv = {
|
|
12303
12328
|
key: 0,
|
|
12304
12329
|
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"
|
|
12305
|
-
},
|
|
12330
|
+
}, bv = {
|
|
12306
12331
|
key: 1,
|
|
12307
12332
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
12308
|
-
},
|
|
12333
|
+
}, hv = {
|
|
12309
12334
|
key: 1,
|
|
12310
12335
|
class: "border-t border-gray-200 p-4 flex-shrink-0"
|
|
12311
|
-
},
|
|
12336
|
+
}, pv = {
|
|
12312
12337
|
key: 0,
|
|
12313
12338
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
12314
|
-
},
|
|
12339
|
+
}, yv = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, xv = { class: "flex items-center justify-between p-4" }, wv = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, kv = { class: "p-3" }, Sv = { class: "space-y-1" }, $v = {
|
|
12315
12340
|
key: 0,
|
|
12316
12341
|
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"
|
|
12317
|
-
},
|
|
12342
|
+
}, Cv = {
|
|
12318
12343
|
key: 1,
|
|
12319
12344
|
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"
|
|
12320
|
-
},
|
|
12345
|
+
}, zv = { class: "p-3" }, Av = { class: "space-y-1" }, Iv = {
|
|
12321
12346
|
key: 0,
|
|
12322
12347
|
class: "px-3 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
|
|
12323
|
-
},
|
|
12348
|
+
}, Tv = {
|
|
12324
12349
|
key: 0,
|
|
12325
12350
|
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"
|
|
12326
|
-
},
|
|
12351
|
+
}, Pv = {
|
|
12327
12352
|
__name: "Sidebar",
|
|
12328
12353
|
props: {
|
|
12329
12354
|
sidebarWidth: {
|
|
@@ -12446,8 +12471,8 @@ const md = {
|
|
|
12446
12471
|
)),
|
|
12447
12472
|
style: me({ width: e.sidebarWidth + "px", top: l.value ? "0px" : "4rem" })
|
|
12448
12473
|
}, [
|
|
12449
|
-
l.value ? (s(), u("div",
|
|
12450
|
-
i("h2",
|
|
12474
|
+
l.value ? (s(), u("div", iv, [
|
|
12475
|
+
i("h2", uv, x(e.header?.title), 1),
|
|
12451
12476
|
i("button", {
|
|
12452
12477
|
class: "p-2 rounded-lg text-gray-500 hover:text-gray-900 hover:bg-gray-100 transition-colors",
|
|
12453
12478
|
"aria-label": "Close sidebar",
|
|
@@ -12468,12 +12493,12 @@ const md = {
|
|
|
12468
12493
|
], -1)
|
|
12469
12494
|
])])
|
|
12470
12495
|
])) : h("", !0),
|
|
12471
|
-
i("nav",
|
|
12472
|
-
i("div",
|
|
12496
|
+
i("nav", dv, [
|
|
12497
|
+
i("div", cv, [
|
|
12473
12498
|
(s(!0), u(G, null, X(e.navigationItems, ($) => (s(), u(G, {
|
|
12474
12499
|
key: $.name || $.label
|
|
12475
12500
|
}, [
|
|
12476
|
-
$.type === "link" ? (s(), u("div",
|
|
12501
|
+
$.type === "link" ? (s(), u("div", fv, [
|
|
12477
12502
|
v($) ? (s(), u("div", {
|
|
12478
12503
|
key: 1,
|
|
12479
12504
|
class: m(L(S)(
|
|
@@ -12500,9 +12525,9 @@ const md = {
|
|
|
12500
12525
|
H($) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
12501
12526
|
))
|
|
12502
12527
|
}, x($.label), 3),
|
|
12503
|
-
$.badge ? (s(), u("span",
|
|
12504
|
-
H($) && v($) ? (s(), u("div",
|
|
12505
|
-
], 10,
|
|
12528
|
+
$.badge ? (s(), u("span", vv, x($.badge), 1)) : h("", !0),
|
|
12529
|
+
H($) && v($) ? (s(), u("div", bv)) : h("", !0)
|
|
12530
|
+
], 10, gv)) : (s(), U(J, {
|
|
12506
12531
|
key: 0,
|
|
12507
12532
|
to: $.route,
|
|
12508
12533
|
class: m(L(S)(
|
|
@@ -12530,7 +12555,7 @@ const md = {
|
|
|
12530
12555
|
H($) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
12531
12556
|
))
|
|
12532
12557
|
}, x($.label), 3),
|
|
12533
|
-
$.badge ? (s(), u("span",
|
|
12558
|
+
$.badge ? (s(), u("span", mv, x($.badge), 1)) : h("", !0)
|
|
12534
12559
|
]),
|
|
12535
12560
|
_: 2
|
|
12536
12561
|
}, 1032, ["to", "class", "onClick"]))
|
|
@@ -12538,7 +12563,7 @@ const md = {
|
|
|
12538
12563
|
], 64))), 128))
|
|
12539
12564
|
])
|
|
12540
12565
|
]),
|
|
12541
|
-
e.showManagementSettings ? (s(), u("div",
|
|
12566
|
+
e.showManagementSettings ? (s(), u("div", hv, [
|
|
12542
12567
|
i("div", {
|
|
12543
12568
|
class: m(L(S)(
|
|
12544
12569
|
"flex flex-col items-center justify-center rounded-xl transition-all duration-200 cursor-pointer group relative py-4 px-3",
|
|
@@ -12564,7 +12589,7 @@ const md = {
|
|
|
12564
12589
|
e.isManagementSettingsActive ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
12565
12590
|
))
|
|
12566
12591
|
}, " Settings ", 2),
|
|
12567
|
-
e.isManagementSettingsActive ? (s(), u("div",
|
|
12592
|
+
e.isManagementSettingsActive ? (s(), u("div", pv)) : h("", !0)
|
|
12568
12593
|
], 2)
|
|
12569
12594
|
])) : h("", !0)
|
|
12570
12595
|
], 6),
|
|
@@ -12587,8 +12612,8 @@ const md = {
|
|
|
12587
12612
|
),
|
|
12588
12613
|
style: me(w.value)
|
|
12589
12614
|
}, [
|
|
12590
|
-
i("div",
|
|
12591
|
-
i("div",
|
|
12615
|
+
i("div", yv, [
|
|
12616
|
+
i("div", xv, [
|
|
12592
12617
|
i("button", {
|
|
12593
12618
|
class: "p-2 -ml-2 rounded-lg text-gray-500 hover:text-gray-700 hover:bg-gray-100 transition-colors",
|
|
12594
12619
|
"aria-label": "Close submenu",
|
|
@@ -12608,11 +12633,11 @@ const md = {
|
|
|
12608
12633
|
})
|
|
12609
12634
|
], -1)
|
|
12610
12635
|
])]),
|
|
12611
|
-
i("h3",
|
|
12636
|
+
i("h3", wv, x(d.value?.label), 1)
|
|
12612
12637
|
])
|
|
12613
12638
|
]),
|
|
12614
|
-
i("nav",
|
|
12615
|
-
i("div",
|
|
12639
|
+
i("nav", kv, [
|
|
12640
|
+
i("div", Sv, [
|
|
12616
12641
|
(s(!0), u(G, null, X(d.value?.subItems, ($) => (s(), U(J, {
|
|
12617
12642
|
key: $.name,
|
|
12618
12643
|
to: $.route,
|
|
@@ -12625,7 +12650,7 @@ const md = {
|
|
|
12625
12650
|
onClick: (M) => j($)
|
|
12626
12651
|
}, {
|
|
12627
12652
|
default: N(() => [
|
|
12628
|
-
H($) ? (s(), u("div",
|
|
12653
|
+
H($) ? (s(), u("div", $v)) : h("", !0),
|
|
12629
12654
|
i("div", {
|
|
12630
12655
|
class: m(
|
|
12631
12656
|
L(S)(
|
|
@@ -12646,7 +12671,7 @@ const md = {
|
|
|
12646
12671
|
H($) ? "text-blue-700" : "text-gray-700"
|
|
12647
12672
|
))
|
|
12648
12673
|
}, x($.label), 3),
|
|
12649
|
-
$.badge ? (s(), u("span",
|
|
12674
|
+
$.badge ? (s(), u("span", Cv, x($.badge), 1)) : h("", !0)
|
|
12650
12675
|
]),
|
|
12651
12676
|
_: 2
|
|
12652
12677
|
}, 1032, ["to", "class", "onClick"]))), 128))
|
|
@@ -12699,12 +12724,12 @@ const md = {
|
|
|
12699
12724
|
K[3] || (K[3] = i("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, " Management Settings ", -1))
|
|
12700
12725
|
])
|
|
12701
12726
|
]),
|
|
12702
|
-
i("nav",
|
|
12703
|
-
i("div",
|
|
12727
|
+
i("nav", zv, [
|
|
12728
|
+
i("div", Av, [
|
|
12704
12729
|
(s(!0), u(G, null, X(e.managementSettings, ($) => (s(), u(G, {
|
|
12705
12730
|
key: $.name
|
|
12706
12731
|
}, [
|
|
12707
|
-
$.type === "section" ? (s(), u("div",
|
|
12732
|
+
$.type === "section" ? (s(), u("div", Iv, x($.label), 1)) : $.route ? (s(), U(J, {
|
|
12708
12733
|
key: 1,
|
|
12709
12734
|
to: $.route,
|
|
12710
12735
|
class: m(
|
|
@@ -12716,7 +12741,7 @@ const md = {
|
|
|
12716
12741
|
onClick: (M) => se($)
|
|
12717
12742
|
}, {
|
|
12718
12743
|
default: N(() => [
|
|
12719
|
-
H($) ? (s(), u("div",
|
|
12744
|
+
H($) ? (s(), u("div", Tv)) : h("", !0),
|
|
12720
12745
|
i("div", {
|
|
12721
12746
|
class: m(
|
|
12722
12747
|
L(S)(
|
|
@@ -12767,7 +12792,7 @@ const md = {
|
|
|
12767
12792
|
]);
|
|
12768
12793
|
};
|
|
12769
12794
|
}
|
|
12770
|
-
},
|
|
12795
|
+
}, jv = {
|
|
12771
12796
|
__name: "Timeline",
|
|
12772
12797
|
props: {
|
|
12773
12798
|
orientation: {
|
|
@@ -12786,13 +12811,13 @@ const md = {
|
|
|
12786
12811
|
F(a.$slots, "default")
|
|
12787
12812
|
], 2));
|
|
12788
12813
|
}
|
|
12789
|
-
},
|
|
12814
|
+
}, Bv = {
|
|
12790
12815
|
key: 0,
|
|
12791
12816
|
class: "absolute left-3 top-0 w-0.5 h-full bg-slate-200"
|
|
12792
|
-
},
|
|
12817
|
+
}, Ov = { class: "z-10 flex items-center justify-center w-6 h-6 rounded-full border-2 border-blue-500 bg-white text-blue-500" }, Fv = { class: "text-slate-900 font-medium" }, Vv = {
|
|
12793
12818
|
key: 0,
|
|
12794
12819
|
class: "text-slate-500 text-sm"
|
|
12795
|
-
},
|
|
12820
|
+
}, Mv = { class: "mt-2 text-slate-600 text-sm" }, Dv = {
|
|
12796
12821
|
__name: "TimelineItem",
|
|
12797
12822
|
props: {
|
|
12798
12823
|
title: {
|
|
@@ -12816,8 +12841,8 @@ const md = {
|
|
|
12816
12841
|
e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
|
|
12817
12842
|
])
|
|
12818
12843
|
}, [
|
|
12819
|
-
e.orientation === "vertical" ? (s(), u("div",
|
|
12820
|
-
i("div",
|
|
12844
|
+
e.orientation === "vertical" ? (s(), u("div", Bv)) : h("", !0),
|
|
12845
|
+
i("div", Ov, [
|
|
12821
12846
|
F(a.$slots, "icon", {}, () => [
|
|
12822
12847
|
t[0] || (t[0] = i("div", { class: "w-2 h-2 rounded-full bg-blue-500" }, null, -1))
|
|
12823
12848
|
])
|
|
@@ -12828,23 +12853,23 @@ const md = {
|
|
|
12828
12853
|
e.orientation === "horizontal" ? "mt-2 text-center" : ""
|
|
12829
12854
|
])
|
|
12830
12855
|
}, [
|
|
12831
|
-
i("h3",
|
|
12856
|
+
i("h3", Fv, [
|
|
12832
12857
|
F(a.$slots, "title", {}, () => [
|
|
12833
12858
|
ee(x(e.title), 1)
|
|
12834
12859
|
])
|
|
12835
12860
|
]),
|
|
12836
|
-
e.subtitle ? (s(), u("p",
|
|
12861
|
+
e.subtitle ? (s(), u("p", Vv, [
|
|
12837
12862
|
F(a.$slots, "subtitle", {}, () => [
|
|
12838
12863
|
ee(x(e.subtitle), 1)
|
|
12839
12864
|
])
|
|
12840
12865
|
])) : h("", !0),
|
|
12841
|
-
i("div",
|
|
12866
|
+
i("div", Mv, [
|
|
12842
12867
|
F(a.$slots, "default")
|
|
12843
12868
|
])
|
|
12844
12869
|
], 2)
|
|
12845
12870
|
], 2));
|
|
12846
12871
|
}
|
|
12847
|
-
},
|
|
12872
|
+
}, Ev = {
|
|
12848
12873
|
name: "AuthLayout",
|
|
12849
12874
|
props: {
|
|
12850
12875
|
title: {
|
|
@@ -12933,20 +12958,20 @@ const md = {
|
|
|
12933
12958
|
currentYear: b(() => (/* @__PURE__ */ new Date()).getFullYear())
|
|
12934
12959
|
};
|
|
12935
12960
|
}
|
|
12936
|
-
},
|
|
12961
|
+
}, Lv = { class: "container mx-auto px-4 relative z-10" }, Nv = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, Rv = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, _v = { class: "mb-6" }, qv = { class: "text-4xl lg:text-6xl font-bold mb-2" }, Wv = { class: "text-white" }, Yv = { class: "flex items-center justify-center lg:justify-start mb-6" }, Uv = { class: "text-3xl lg:text-4xl font-bold text-white" }, Hv = { class: "lg:col-span-4" }, Gv = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, Xv = {
|
|
12937
12962
|
key: 0,
|
|
12938
12963
|
class: "mb-6"
|
|
12939
|
-
},
|
|
12964
|
+
}, Kv = { class: "text-center" }, Jv = { class: "text-2xl font-bold text-gray-900" }, Qv = {
|
|
12940
12965
|
key: 0,
|
|
12941
12966
|
class: "text-gray-600 mt-2"
|
|
12942
|
-
},
|
|
12967
|
+
}, Zv = { class: "space-y-6" }, e0 = {
|
|
12943
12968
|
key: 1,
|
|
12944
12969
|
class: "mt-6"
|
|
12945
|
-
},
|
|
12970
|
+
}, t0 = {
|
|
12946
12971
|
key: 0,
|
|
12947
12972
|
class: "mt-6 text-center"
|
|
12948
|
-
},
|
|
12949
|
-
function
|
|
12973
|
+
}, a0 = { class: "absolute bottom-4 right-4 text-right" }, n0 = { class: "flex items-end justify-end mb-2" }, r0 = { class: "text-right mr-3" }, s0 = { class: "text-red-500 font-bold text-xs" }, l0 = { class: "text-white text-xs" }, o0 = { class: "text-white/70 text-xs" }, i0 = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, u0 = { class: "text-white/70 text-xs" }, d0 = { class: "absolute bottom-4 left-4 flex gap-2" }, c0 = ["href"];
|
|
12974
|
+
function f0(e, a, t, n, r, l) {
|
|
12950
12975
|
const o = ce("router-view"), d = ce("font-awesome-icon");
|
|
12951
12976
|
return s(), u("div", {
|
|
12952
12977
|
class: "min-h-screen relative flex items-center justify-center",
|
|
@@ -12959,70 +12984,70 @@ function d0(e, a, t, n, r, l) {
|
|
|
12959
12984
|
opacity: t.backgroundOpacity
|
|
12960
12985
|
})
|
|
12961
12986
|
}, null, 4),
|
|
12962
|
-
i("div",
|
|
12963
|
-
i("div",
|
|
12964
|
-
i("div",
|
|
12965
|
-
i("div",
|
|
12966
|
-
i("div",
|
|
12987
|
+
i("div", Lv, [
|
|
12988
|
+
i("div", Nv, [
|
|
12989
|
+
i("div", Rv, [
|
|
12990
|
+
i("div", _v, [
|
|
12991
|
+
i("div", qv, [
|
|
12967
12992
|
i("span", {
|
|
12968
12993
|
style: me({ color: t.primaryColor })
|
|
12969
12994
|
}, x(t.primaryLogoPrefix), 5),
|
|
12970
|
-
i("span",
|
|
12995
|
+
i("span", Wv, x(t.primaryLogoText), 1)
|
|
12971
12996
|
]),
|
|
12972
12997
|
i("div", {
|
|
12973
12998
|
class: "h-0.5 w-30 mx-auto lg:mx-0",
|
|
12974
12999
|
style: me({ backgroundColor: t.primaryColor })
|
|
12975
13000
|
}, null, 4)
|
|
12976
13001
|
]),
|
|
12977
|
-
i("div",
|
|
13002
|
+
i("div", Yv, [
|
|
12978
13003
|
i("div", {
|
|
12979
13004
|
class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
|
|
12980
13005
|
style: me({ backgroundColor: t.primaryColor })
|
|
12981
13006
|
}, x(t.secondaryLogoPrefix), 5),
|
|
12982
|
-
i("span",
|
|
13007
|
+
i("span", Uv, x(t.secondaryLogoText), 1)
|
|
12983
13008
|
]),
|
|
12984
13009
|
a[0] || (a[0] = i("div", { class: "max-w-md mx-auto lg:mx-0" }, [
|
|
12985
13010
|
i("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
|
|
12986
13011
|
], -1))
|
|
12987
13012
|
]),
|
|
12988
|
-
i("div",
|
|
12989
|
-
i("div",
|
|
12990
|
-
e.$slots["card-header"] || t.title ? (s(), u("div",
|
|
13013
|
+
i("div", Hv, [
|
|
13014
|
+
i("div", Gv, [
|
|
13015
|
+
e.$slots["card-header"] || t.title ? (s(), u("div", Xv, [
|
|
12991
13016
|
F(e.$slots, "card-header", {}, () => [
|
|
12992
|
-
i("div",
|
|
12993
|
-
i("h1",
|
|
12994
|
-
t.subtitle ? (s(), u("p",
|
|
13017
|
+
i("div", Kv, [
|
|
13018
|
+
i("h1", Jv, x(t.title), 1),
|
|
13019
|
+
t.subtitle ? (s(), u("p", Qv, x(t.subtitle), 1)) : h("", !0)
|
|
12995
13020
|
])
|
|
12996
13021
|
])
|
|
12997
13022
|
])) : h("", !0),
|
|
12998
|
-
i("div",
|
|
13023
|
+
i("div", Zv, [
|
|
12999
13024
|
P(o)
|
|
13000
13025
|
]),
|
|
13001
|
-
e.$slots["card-footer"] ? (s(), u("div",
|
|
13026
|
+
e.$slots["card-footer"] ? (s(), u("div", e0, [
|
|
13002
13027
|
F(e.$slots, "card-footer")
|
|
13003
13028
|
])) : h("", !0)
|
|
13004
13029
|
]),
|
|
13005
|
-
e.$slots.links ? (s(), u("div",
|
|
13030
|
+
e.$slots.links ? (s(), u("div", t0, [
|
|
13006
13031
|
F(e.$slots, "links")
|
|
13007
13032
|
])) : h("", !0)
|
|
13008
13033
|
])
|
|
13009
13034
|
])
|
|
13010
13035
|
]),
|
|
13011
|
-
i("div",
|
|
13012
|
-
i("div",
|
|
13013
|
-
i("div",
|
|
13014
|
-
i("div",
|
|
13015
|
-
i("div",
|
|
13016
|
-
i("div",
|
|
13036
|
+
i("div", a0, [
|
|
13037
|
+
i("div", n0, [
|
|
13038
|
+
i("div", r0, [
|
|
13039
|
+
i("div", s0, x(t.companyName), 1),
|
|
13040
|
+
i("div", l0, x(t.companyType), 1),
|
|
13041
|
+
i("div", o0, x(t.companyTagline), 1)
|
|
13017
13042
|
]),
|
|
13018
|
-
i("div",
|
|
13043
|
+
i("div", i0, x(t.companyInitials), 1)
|
|
13019
13044
|
]),
|
|
13020
|
-
i("div",
|
|
13045
|
+
i("div", u0, [
|
|
13021
13046
|
i("div", null, x(t.appName) + " (" + x(t.appVersion) + ")", 1),
|
|
13022
13047
|
i("div", null, x(t.copyright), 1)
|
|
13023
13048
|
])
|
|
13024
13049
|
]),
|
|
13025
|
-
i("div",
|
|
13050
|
+
i("div", d0, [
|
|
13026
13051
|
(s(!0), u(G, null, X(t.socialLinks, (c) => (s(), u("a", {
|
|
13027
13052
|
key: c.name,
|
|
13028
13053
|
href: c.url,
|
|
@@ -13034,14 +13059,14 @@ function d0(e, a, t, n, r, l) {
|
|
|
13034
13059
|
P(d, {
|
|
13035
13060
|
icon: ["fab", c.icon]
|
|
13036
13061
|
}, null, 8, ["icon"])
|
|
13037
|
-
], 10,
|
|
13062
|
+
], 10, c0))), 128))
|
|
13038
13063
|
])
|
|
13039
13064
|
], 4);
|
|
13040
13065
|
}
|
|
13041
|
-
const
|
|
13066
|
+
const m0 = /* @__PURE__ */ At(Ev, [["render", f0]]), g0 = { class: "min-h-screen bg-gray-50" }, v0 = { class: "flex-1" }, b0 = {
|
|
13042
13067
|
key: 0,
|
|
13043
13068
|
class: "bg-white border-b border-gray-200"
|
|
13044
|
-
},
|
|
13069
|
+
}, h0 = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, p0 = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, y0 = {
|
|
13045
13070
|
__name: "DefaultLayout",
|
|
13046
13071
|
props: {
|
|
13047
13072
|
navigationItems: {
|
|
@@ -13065,7 +13090,7 @@ const c0 = /* @__PURE__ */ At(Mv, [["render", d0]]), f0 = { class: "min-h-screen
|
|
|
13065
13090
|
setup(e) {
|
|
13066
13091
|
return (a, t) => {
|
|
13067
13092
|
const n = ce("Logo"), r = ce("MainNavigation"), l = ce("Button"), o = ce("Header"), d = ce("Breadcrumb"), c = ce("Text"), p = ce("Footer");
|
|
13068
|
-
return s(), u("div",
|
|
13093
|
+
return s(), u("div", g0, [
|
|
13069
13094
|
P(o, null, {
|
|
13070
13095
|
logo: N(() => [
|
|
13071
13096
|
F(a.$slots, "logo", {}, () => [
|
|
@@ -13098,15 +13123,15 @@ const c0 = /* @__PURE__ */ At(Mv, [["render", d0]]), f0 = { class: "min-h-screen
|
|
|
13098
13123
|
]),
|
|
13099
13124
|
_: 3
|
|
13100
13125
|
}),
|
|
13101
|
-
i("main",
|
|
13102
|
-
e.showBreadcrumb ? (s(), u("div",
|
|
13103
|
-
i("div",
|
|
13126
|
+
i("main", v0, [
|
|
13127
|
+
e.showBreadcrumb ? (s(), u("div", b0, [
|
|
13128
|
+
i("div", h0, [
|
|
13104
13129
|
F(a.$slots, "breadcrumb", {}, () => [
|
|
13105
13130
|
P(d, { items: e.breadcrumbItems }, null, 8, ["items"])
|
|
13106
13131
|
])
|
|
13107
13132
|
])
|
|
13108
13133
|
])) : h("", !0),
|
|
13109
|
-
i("div",
|
|
13134
|
+
i("div", p0, [
|
|
13110
13135
|
F(a.$slots, "default")
|
|
13111
13136
|
])
|
|
13112
13137
|
]),
|
|
@@ -13127,7 +13152,7 @@ const c0 = /* @__PURE__ */ At(Mv, [["render", d0]]), f0 = { class: "min-h-screen
|
|
|
13127
13152
|
]);
|
|
13128
13153
|
};
|
|
13129
13154
|
}
|
|
13130
|
-
},
|
|
13155
|
+
}, x0 = {
|
|
13131
13156
|
name: "ErrorLayout",
|
|
13132
13157
|
props: {
|
|
13133
13158
|
errorType: {
|
|
@@ -13393,20 +13418,20 @@ const c0 = /* @__PURE__ */ At(Mv, [["render", d0]]), f0 = { class: "min-h-screen
|
|
|
13393
13418
|
helpClasses: oe
|
|
13394
13419
|
};
|
|
13395
13420
|
}
|
|
13396
|
-
},
|
|
13421
|
+
}, w0 = { class: "flex justify-center" }, k0 = { class: "flex items-center gap-3" }, S0 = { class: "text-2xl font-bold text-slate-900" }, $0 = {
|
|
13397
13422
|
key: 1,
|
|
13398
13423
|
class: "bg-red-100 border border-red-200 rounded-lg p-4 mx-auto max-w-md mb-6"
|
|
13399
|
-
},
|
|
13424
|
+
}, C0 = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, z0 = ["disabled"], A0 = {
|
|
13400
13425
|
key: 0,
|
|
13401
13426
|
class: "animate-spin"
|
|
13402
|
-
},
|
|
13427
|
+
}, I0 = { key: 1 }, T0 = ["disabled"], P0 = { key: 0 }, j0 = { key: 1 }, B0 = {
|
|
13403
13428
|
key: 0,
|
|
13404
13429
|
class: "mt-8 max-w-md mx-auto"
|
|
13405
|
-
},
|
|
13430
|
+
}, O0 = { class: "bg-white rounded-lg border border-slate-200 shadow-sm p-6" }, F0 = { class: "text-lg font-semibold text-slate-900 mb-4" }, V0 = { class: "space-y-3" }, M0 = { class: "text-sm text-slate-600" }, D0 = ["href"], E0 = {
|
|
13406
13431
|
key: 5,
|
|
13407
13432
|
class: "text-xs text-slate-400 font-mono mt-4"
|
|
13408
13433
|
};
|
|
13409
|
-
function
|
|
13434
|
+
function L0(e, a, t, n, r, l) {
|
|
13410
13435
|
return s(), u("div", {
|
|
13411
13436
|
class: m(n.layoutClasses)
|
|
13412
13437
|
}, [
|
|
@@ -13426,13 +13451,13 @@ function D0(e, a, t, n, r, l) {
|
|
|
13426
13451
|
class: m(n.headerClasses)
|
|
13427
13452
|
}, [
|
|
13428
13453
|
F(e.$slots, "header", {}, () => [
|
|
13429
|
-
i("div",
|
|
13454
|
+
i("div", w0, [
|
|
13430
13455
|
F(e.$slots, "logo", {}, () => [
|
|
13431
|
-
i("div",
|
|
13456
|
+
i("div", k0, [
|
|
13432
13457
|
a[5] || (a[5] = i("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
|
|
13433
13458
|
i("span", { class: "text-white font-bold text-lg" }, "STL")
|
|
13434
13459
|
], -1)),
|
|
13435
|
-
i("span",
|
|
13460
|
+
i("span", S0, x(t.brandName), 1)
|
|
13436
13461
|
])
|
|
13437
13462
|
])
|
|
13438
13463
|
])
|
|
@@ -13478,7 +13503,7 @@ function D0(e, a, t, n, r, l) {
|
|
|
13478
13503
|
])
|
|
13479
13504
|
], 2)
|
|
13480
13505
|
], 2),
|
|
13481
|
-
n.isOnline ? h("", !0) : (s(), u("div",
|
|
13506
|
+
n.isOnline ? h("", !0) : (s(), u("div", $0, [...a[6] || (a[6] = [
|
|
13482
13507
|
i("div", { class: "flex items-center justify-center gap-2 text-red-700" }, [
|
|
13483
13508
|
i("span", { class: "w-3 h-3 bg-red-500 rounded-full animate-pulse" }),
|
|
13484
13509
|
i("span", { class: "font-medium" }, "No Internet Connection")
|
|
@@ -13489,7 +13514,7 @@ function D0(e, a, t, n, r, l) {
|
|
|
13489
13514
|
class: m(n.actionsClasses)
|
|
13490
13515
|
}, [
|
|
13491
13516
|
F(e.$slots, "actions", {}, () => [
|
|
13492
|
-
i("div",
|
|
13517
|
+
i("div", C0, [
|
|
13493
13518
|
t.showHomeButton ? (s(), u("button", {
|
|
13494
13519
|
key: 0,
|
|
13495
13520
|
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",
|
|
@@ -13512,18 +13537,18 @@ function D0(e, a, t, n, r, l) {
|
|
|
13512
13537
|
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",
|
|
13513
13538
|
onClick: a[2] || (a[2] = (...o) => n.retry && n.retry(...o))
|
|
13514
13539
|
}, [
|
|
13515
|
-
n.isRetrying ? (s(), u("span",
|
|
13540
|
+
n.isRetrying ? (s(), u("span", A0, "↻")) : (s(), u("span", I0, "🔄")),
|
|
13516
13541
|
ee(" " + x(n.isRetrying ? "Retrying..." : t.retryButtonText), 1)
|
|
13517
|
-
], 8,
|
|
13542
|
+
], 8, z0)) : h("", !0),
|
|
13518
13543
|
t.showSupportButton ? (s(), u("button", {
|
|
13519
13544
|
key: 3,
|
|
13520
13545
|
disabled: n.reportSent,
|
|
13521
13546
|
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",
|
|
13522
13547
|
onClick: a[3] || (a[3] = (o) => e.$emit("contact-support"))
|
|
13523
13548
|
}, [
|
|
13524
|
-
n.reportSent ? (s(), u("span",
|
|
13549
|
+
n.reportSent ? (s(), u("span", P0, "✓")) : (s(), u("span", j0, "📝")),
|
|
13525
13550
|
ee(" " + x(n.reportSent ? "Report Sent" : "Contact Support"), 1)
|
|
13526
|
-
], 8,
|
|
13551
|
+
], 8, T0)) : h("", !0)
|
|
13527
13552
|
])
|
|
13528
13553
|
])
|
|
13529
13554
|
], 2)) : h("", !0),
|
|
@@ -13532,10 +13557,10 @@ function D0(e, a, t, n, r, l) {
|
|
|
13532
13557
|
class: m(n.additionalInfoClasses)
|
|
13533
13558
|
}, [
|
|
13534
13559
|
F(e.$slots, "additional-info", {}, () => [
|
|
13535
|
-
n.additionalInfoConfig ? (s(), u("div",
|
|
13536
|
-
i("div",
|
|
13537
|
-
i("h3",
|
|
13538
|
-
i("ul",
|
|
13560
|
+
n.additionalInfoConfig ? (s(), u("div", B0, [
|
|
13561
|
+
i("div", O0, [
|
|
13562
|
+
i("h3", F0, x(n.additionalInfoConfig.title), 1),
|
|
13563
|
+
i("ul", V0, [
|
|
13539
13564
|
(s(!0), u(G, null, X(n.additionalInfoConfig.items, (o, d) => (s(), u("li", {
|
|
13540
13565
|
key: d,
|
|
13541
13566
|
class: "flex items-start gap-3 text-sm text-slate-600"
|
|
@@ -13555,7 +13580,7 @@ function D0(e, a, t, n, r, l) {
|
|
|
13555
13580
|
class: m(n.helpClasses)
|
|
13556
13581
|
}, [
|
|
13557
13582
|
F(e.$slots, "help", {}, () => [
|
|
13558
|
-
i("p",
|
|
13583
|
+
i("p", M0, [
|
|
13559
13584
|
ee(x(t.helpText) + " ", 1),
|
|
13560
13585
|
t.supportUrl ? (s(), u("a", {
|
|
13561
13586
|
key: 0,
|
|
@@ -13564,16 +13589,16 @@ function D0(e, a, t, n, r, l) {
|
|
|
13564
13589
|
}, [...a[8] || (a[8] = [
|
|
13565
13590
|
i("span", { class: "inline-block w-4 h-4 mr-1" }, "❓", -1),
|
|
13566
13591
|
ee(" Get Help ", -1)
|
|
13567
|
-
])], 8,
|
|
13592
|
+
])], 8, D0)) : h("", !0)
|
|
13568
13593
|
])
|
|
13569
13594
|
])
|
|
13570
13595
|
], 2)) : h("", !0),
|
|
13571
|
-
n.isDev ? (s(), u("div",
|
|
13596
|
+
n.isDev ? (s(), u("div", E0, " Error ID: " + x(n.errorId), 1)) : h("", !0)
|
|
13572
13597
|
], 2)
|
|
13573
13598
|
], 2)
|
|
13574
13599
|
], 2);
|
|
13575
13600
|
}
|
|
13576
|
-
const
|
|
13601
|
+
const N0 = /* @__PURE__ */ At(x0, [["render", L0]]), en = {
|
|
13577
13602
|
mounted(e, a) {
|
|
13578
13603
|
if (!a.value) return;
|
|
13579
13604
|
const t = Object.keys(a.modifiers)[0] || "top", n = document.createElement("div");
|
|
@@ -13712,55 +13737,55 @@ const E0 = /* @__PURE__ */ At(p0, [["render", D0]]), en = {
|
|
|
13712
13737
|
Breadcrumb: Gi,
|
|
13713
13738
|
ButtonGroup: Ki,
|
|
13714
13739
|
Card: ru,
|
|
13715
|
-
CardHeader:
|
|
13716
|
-
CardBody:
|
|
13717
|
-
CardFooter:
|
|
13718
|
-
CardContent:
|
|
13719
|
-
CardTitle:
|
|
13740
|
+
CardHeader: du,
|
|
13741
|
+
CardBody: cu,
|
|
13742
|
+
CardFooter: fu,
|
|
13743
|
+
CardContent: mu,
|
|
13744
|
+
CardTitle: gu,
|
|
13720
13745
|
DatePicker: xa,
|
|
13721
|
-
Dropdown:
|
|
13722
|
-
DropdownItem:
|
|
13723
|
-
FileUpload:
|
|
13746
|
+
Dropdown: Cu,
|
|
13747
|
+
DropdownItem: Au,
|
|
13748
|
+
FileUpload: Du,
|
|
13724
13749
|
FormField: fr,
|
|
13725
|
-
InputGroup:
|
|
13726
|
-
ListItem:
|
|
13727
|
-
MenuItem:
|
|
13750
|
+
InputGroup: Uu,
|
|
13751
|
+
ListItem: Zu,
|
|
13752
|
+
MenuItem: td,
|
|
13728
13753
|
Modal: mr,
|
|
13729
|
-
ModalHeader:
|
|
13730
|
-
ModalBody:
|
|
13731
|
-
ModalFooter:
|
|
13732
|
-
Notification:
|
|
13733
|
-
Toast:
|
|
13734
|
-
Search:
|
|
13754
|
+
ModalHeader: sd,
|
|
13755
|
+
ModalBody: ld,
|
|
13756
|
+
ModalFooter: od,
|
|
13757
|
+
Notification: md,
|
|
13758
|
+
Toast: Cd,
|
|
13759
|
+
Search: Nd,
|
|
13735
13760
|
Slider: vr,
|
|
13736
|
-
Stepper:
|
|
13737
|
-
StepperItem:
|
|
13738
|
-
Tab:
|
|
13739
|
-
TabPanel:
|
|
13740
|
-
BarChart:
|
|
13741
|
-
LineChart:
|
|
13742
|
-
GraphFilters:
|
|
13743
|
-
Accordion:
|
|
13744
|
-
AccordionItem:
|
|
13745
|
-
Graph:
|
|
13746
|
-
Calendar:
|
|
13747
|
-
DataTable:
|
|
13761
|
+
Stepper: Yd,
|
|
13762
|
+
StepperItem: Kd,
|
|
13763
|
+
Tab: tc,
|
|
13764
|
+
TabPanel: rc,
|
|
13765
|
+
BarChart: Nc,
|
|
13766
|
+
LineChart: af,
|
|
13767
|
+
GraphFilters: hf,
|
|
13768
|
+
Accordion: dc,
|
|
13769
|
+
AccordionItem: cc,
|
|
13770
|
+
Graph: Ac,
|
|
13771
|
+
Calendar: wc,
|
|
13772
|
+
DataTable: im,
|
|
13748
13773
|
DataTableHeader: br,
|
|
13749
13774
|
DataTableRow: hr,
|
|
13750
|
-
DataTableCell:
|
|
13775
|
+
DataTableCell: um,
|
|
13751
13776
|
DataTablePagination: pr,
|
|
13752
|
-
DataTableFilters:
|
|
13753
|
-
DataTableToolBar:
|
|
13754
|
-
Footer:
|
|
13755
|
-
Header:
|
|
13756
|
-
ReusableFormModal:
|
|
13757
|
-
Sidebar:
|
|
13758
|
-
Timeline:
|
|
13759
|
-
TimelineItem:
|
|
13760
|
-
AuthLayout:
|
|
13761
|
-
DefaultLayout:
|
|
13762
|
-
ErrorLayout:
|
|
13763
|
-
},
|
|
13777
|
+
DataTableFilters: Km,
|
|
13778
|
+
DataTableToolBar: fg,
|
|
13779
|
+
Footer: xg,
|
|
13780
|
+
Header: Zg,
|
|
13781
|
+
ReusableFormModal: ov,
|
|
13782
|
+
Sidebar: Pv,
|
|
13783
|
+
Timeline: jv,
|
|
13784
|
+
TimelineItem: Dv,
|
|
13785
|
+
AuthLayout: m0,
|
|
13786
|
+
DefaultLayout: y0,
|
|
13787
|
+
ErrorLayout: N0
|
|
13788
|
+
}, W0 = {
|
|
13764
13789
|
install(e, a = {}) {
|
|
13765
13790
|
const { prefix: t = "" } = a;
|
|
13766
13791
|
Object.keys(tn).forEach((n) => {
|
|
@@ -13770,84 +13795,84 @@ const E0 = /* @__PURE__ */ At(p0, [["render", D0]]), en = {
|
|
|
13770
13795
|
}
|
|
13771
13796
|
};
|
|
13772
13797
|
export {
|
|
13773
|
-
|
|
13774
|
-
|
|
13798
|
+
dc as Accordion,
|
|
13799
|
+
cc as AccordionItem,
|
|
13775
13800
|
Yi as Alert,
|
|
13776
|
-
|
|
13801
|
+
m0 as AuthLayout,
|
|
13777
13802
|
Qo as Avatar,
|
|
13778
13803
|
ei as Badge,
|
|
13779
|
-
|
|
13804
|
+
Nc as BarChart,
|
|
13780
13805
|
Gi as Breadcrumb,
|
|
13781
13806
|
we as Button,
|
|
13782
13807
|
Ki as ButtonGroup,
|
|
13783
|
-
|
|
13808
|
+
wc as Calendar,
|
|
13784
13809
|
ru as Card,
|
|
13785
|
-
|
|
13786
|
-
|
|
13787
|
-
|
|
13788
|
-
|
|
13789
|
-
|
|
13810
|
+
cu as CardBody,
|
|
13811
|
+
mu as CardContent,
|
|
13812
|
+
fu as CardFooter,
|
|
13813
|
+
du as CardHeader,
|
|
13814
|
+
gu as CardTitle,
|
|
13790
13815
|
ha as Checkbox,
|
|
13791
|
-
|
|
13792
|
-
|
|
13793
|
-
|
|
13816
|
+
im as DataTable,
|
|
13817
|
+
um as DataTableCell,
|
|
13818
|
+
Km as DataTableFilters,
|
|
13794
13819
|
br as DataTableHeader,
|
|
13795
13820
|
pr as DataTablePagination,
|
|
13796
13821
|
hr as DataTableRow,
|
|
13797
|
-
|
|
13822
|
+
fg as DataTableToolBar,
|
|
13798
13823
|
xa as DatePicker,
|
|
13799
|
-
|
|
13824
|
+
y0 as DefaultLayout,
|
|
13800
13825
|
di as Divider,
|
|
13801
|
-
|
|
13802
|
-
|
|
13803
|
-
|
|
13804
|
-
|
|
13805
|
-
|
|
13826
|
+
Cu as Dropdown,
|
|
13827
|
+
Au as DropdownItem,
|
|
13828
|
+
N0 as ErrorLayout,
|
|
13829
|
+
Du as FileUpload,
|
|
13830
|
+
xg as Footer,
|
|
13806
13831
|
fr as FormField,
|
|
13807
|
-
|
|
13808
|
-
|
|
13809
|
-
|
|
13832
|
+
Ac as Graph,
|
|
13833
|
+
hf as GraphFilters,
|
|
13834
|
+
Zg as Header,
|
|
13810
13835
|
Q as Icon,
|
|
13811
13836
|
gi as Image,
|
|
13812
13837
|
ea as Input,
|
|
13813
|
-
|
|
13838
|
+
Uu as InputGroup,
|
|
13814
13839
|
ya as Label,
|
|
13815
|
-
|
|
13840
|
+
af as LineChart,
|
|
13816
13841
|
wi as Link,
|
|
13817
|
-
|
|
13842
|
+
Zu as ListItem,
|
|
13818
13843
|
tt as Loader,
|
|
13819
13844
|
Si as Logo,
|
|
13820
|
-
|
|
13845
|
+
td as MenuItem,
|
|
13821
13846
|
mr as Modal,
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13847
|
+
ld as ModalBody,
|
|
13848
|
+
od as ModalFooter,
|
|
13849
|
+
sd as ModalHeader,
|
|
13850
|
+
md as Notification,
|
|
13826
13851
|
dr as Option,
|
|
13827
13852
|
zi as Progress,
|
|
13828
13853
|
Ii as ProgressBar,
|
|
13829
13854
|
ji as Radio,
|
|
13830
|
-
|
|
13831
|
-
|
|
13855
|
+
ov as ReusableFormModal,
|
|
13856
|
+
Nd as Search,
|
|
13832
13857
|
Oe as Select,
|
|
13833
|
-
|
|
13858
|
+
Pv as Sidebar,
|
|
13834
13859
|
vr as Slider,
|
|
13835
13860
|
pa as Spinner,
|
|
13836
|
-
|
|
13837
|
-
|
|
13861
|
+
Yd as Stepper,
|
|
13862
|
+
Kd as StepperItem,
|
|
13838
13863
|
Fi as Switch,
|
|
13839
|
-
|
|
13840
|
-
|
|
13864
|
+
tc as Tab,
|
|
13865
|
+
rc as TabPanel,
|
|
13841
13866
|
Vi as Text,
|
|
13842
13867
|
cr as Textarea,
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
|
|
13868
|
+
jv as Timeline,
|
|
13869
|
+
Dv as TimelineItem,
|
|
13870
|
+
Cd as Toast,
|
|
13846
13871
|
Di as Tooltip,
|
|
13847
13872
|
ta as Typography,
|
|
13848
13873
|
S as cn,
|
|
13849
|
-
|
|
13874
|
+
W0 as default,
|
|
13850
13875
|
He as toast,
|
|
13851
13876
|
en as tooltip,
|
|
13852
|
-
|
|
13877
|
+
hd as useToaster
|
|
13853
13878
|
};
|