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