@stlhorizon/vue-ui 2.10.2 → 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,48 +5842,43 @@ const Q = {
|
|
|
5842
5842
|
], 2)) : h("", !0)
|
|
5843
5843
|
], 2));
|
|
5844
5844
|
}
|
|
5845
|
-
}, su = { class: "
|
|
5846
|
-
key: 0,
|
|
5847
|
-
class: "text-sm text-muted-foreground"
|
|
5848
|
-
}, ou = {
|
|
5849
|
-
key: 0,
|
|
5850
|
-
class: "flex items-center gap-2"
|
|
5851
|
-
}, iu = /* @__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 }, {
|
|
5852
5846
|
__name: "CardHeader",
|
|
5853
5847
|
props: {
|
|
5854
|
-
|
|
5848
|
+
title: {
|
|
5855
5849
|
type: String,
|
|
5856
|
-
default: "
|
|
5850
|
+
default: ""
|
|
5857
5851
|
},
|
|
5858
|
-
|
|
5852
|
+
subtitle: {
|
|
5859
5853
|
type: String,
|
|
5860
|
-
default: "
|
|
5854
|
+
default: ""
|
|
5861
5855
|
}
|
|
5862
5856
|
},
|
|
5863
5857
|
setup(e) {
|
|
5864
5858
|
return (a, t) => (s(), u("header", {
|
|
5865
5859
|
class: m(L(S)(
|
|
5866
|
-
"flex items-center justify-between
|
|
5867
|
-
e.padding,
|
|
5860
|
+
"flex items-center justify-between",
|
|
5868
5861
|
a.$attrs.class
|
|
5869
5862
|
))
|
|
5870
5863
|
}, [
|
|
5871
|
-
i("div",
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
]),
|
|
5877
|
-
a.$slots.description ? (s(), u("p",
|
|
5878
|
-
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
|
+
])
|
|
5879
5874
|
])) : h("", !0)
|
|
5880
|
-
]
|
|
5881
|
-
a.$slots.actions ? (s(), u("div",
|
|
5875
|
+
]),
|
|
5876
|
+
a.$slots.actions ? (s(), u("div", iu, [
|
|
5882
5877
|
F(a.$slots, "actions")
|
|
5883
5878
|
])) : h("", !0)
|
|
5884
5879
|
], 2));
|
|
5885
5880
|
}
|
|
5886
|
-
}),
|
|
5881
|
+
}), du = {
|
|
5887
5882
|
__name: "CardBody",
|
|
5888
5883
|
props: {
|
|
5889
5884
|
variant: {
|
|
@@ -5910,7 +5905,7 @@ const Q = {
|
|
|
5910
5905
|
F(r.$slots, "default")
|
|
5911
5906
|
], 2));
|
|
5912
5907
|
}
|
|
5913
|
-
},
|
|
5908
|
+
}, cu = {
|
|
5914
5909
|
__name: "CardFooter",
|
|
5915
5910
|
props: {
|
|
5916
5911
|
variant: {
|
|
@@ -5937,7 +5932,7 @@ const Q = {
|
|
|
5937
5932
|
F(r.$slots, "default")
|
|
5938
5933
|
], 2));
|
|
5939
5934
|
}
|
|
5940
|
-
},
|
|
5935
|
+
}, fu = /* @__PURE__ */ Object.assign({
|
|
5941
5936
|
inheritAttrs: !1
|
|
5942
5937
|
}, {
|
|
5943
5938
|
__name: "CardContent",
|
|
@@ -5948,7 +5943,7 @@ const Q = {
|
|
|
5948
5943
|
F(a.$slots, "default")
|
|
5949
5944
|
], 2));
|
|
5950
5945
|
}
|
|
5951
|
-
}),
|
|
5946
|
+
}), mu = /* @__PURE__ */ Object.assign({
|
|
5952
5947
|
inheritAttrs: !1
|
|
5953
5948
|
}, {
|
|
5954
5949
|
__name: "CardTitle",
|
|
@@ -5959,7 +5954,7 @@ const Q = {
|
|
|
5959
5954
|
F(a.$slots, "default")
|
|
5960
5955
|
], 2));
|
|
5961
5956
|
}
|
|
5962
|
-
}),
|
|
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 = {
|
|
5963
5958
|
key: 0,
|
|
5964
5959
|
class: "mt-4 pt-3 border-t border-slate-200"
|
|
5965
5960
|
}, xa = {
|
|
@@ -6085,8 +6080,8 @@ const Q = {
|
|
|
6085
6080
|
document.addEventListener("keydown", J);
|
|
6086
6081
|
}), nn(() => {
|
|
6087
6082
|
document.removeEventListener("keydown", J);
|
|
6088
|
-
}), ($, M) => (s(), u("div",
|
|
6089
|
-
i("div",
|
|
6083
|
+
}), ($, M) => (s(), u("div", gu, [
|
|
6084
|
+
i("div", vu, [
|
|
6090
6085
|
i("input", {
|
|
6091
6086
|
id: e.id,
|
|
6092
6087
|
type: "text",
|
|
@@ -6098,7 +6093,7 @@ const Q = {
|
|
|
6098
6093
|
"aria-describedby": e.ariaDescribedby,
|
|
6099
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",
|
|
6100
6095
|
onClick: j
|
|
6101
|
-
}, null, 8,
|
|
6096
|
+
}, null, 8, bu),
|
|
6102
6097
|
M[2] || (M[2] = i("div", { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" }, [
|
|
6103
6098
|
i("svg", {
|
|
6104
6099
|
class: "w-5 h-5 text-slate-400",
|
|
@@ -6151,7 +6146,7 @@ const Q = {
|
|
|
6151
6146
|
onClick: M[0] || (M[0] = Ne(() => {
|
|
6152
6147
|
}, ["stop"]))
|
|
6153
6148
|
}, [
|
|
6154
|
-
i("div",
|
|
6149
|
+
i("div", hu, [
|
|
6155
6150
|
i("button", {
|
|
6156
6151
|
type: "button",
|
|
6157
6152
|
class: "p-2 rounded-lg hover:bg-slate-100 transition-colors",
|
|
@@ -6172,7 +6167,7 @@ const Q = {
|
|
|
6172
6167
|
})
|
|
6173
6168
|
], -1)
|
|
6174
6169
|
])]),
|
|
6175
|
-
i("div",
|
|
6170
|
+
i("div", pu, x(w.value) + " " + x(d.value), 1),
|
|
6176
6171
|
i("button", {
|
|
6177
6172
|
type: "button",
|
|
6178
6173
|
class: "p-2 rounded-lg hover:bg-slate-100 transition-colors",
|
|
@@ -6194,13 +6189,13 @@ const Q = {
|
|
|
6194
6189
|
], -1)
|
|
6195
6190
|
])])
|
|
6196
6191
|
]),
|
|
6197
|
-
i("div",
|
|
6192
|
+
i("div", yu, [
|
|
6198
6193
|
(s(), u(G, null, X(p, (Y) => i("div", {
|
|
6199
6194
|
key: Y,
|
|
6200
6195
|
class: "text-center text-xs font-medium text-slate-600 py-1"
|
|
6201
6196
|
}, x(Y), 1)), 64))
|
|
6202
6197
|
]),
|
|
6203
|
-
i("div",
|
|
6198
|
+
i("div", xu, [
|
|
6204
6199
|
(s(!0), u(G, null, X(C.value, (Y, oe) => (s(), u("div", {
|
|
6205
6200
|
key: "prev-" + oe,
|
|
6206
6201
|
class: "text-center text-sm text-slate-300 py-2"
|
|
@@ -6216,13 +6211,13 @@ const Q = {
|
|
|
6216
6211
|
O(Y) ? "text-slate-300 cursor-not-allowed hover:bg-transparent" : "cursor-pointer"
|
|
6217
6212
|
]),
|
|
6218
6213
|
onClick: (oe) => te(Y)
|
|
6219
|
-
}, x(Y), 11,
|
|
6214
|
+
}, x(Y), 11, wu))), 128)),
|
|
6220
6215
|
(s(!0), u(G, null, X(z.value, (Y, oe) => (s(), u("div", {
|
|
6221
6216
|
key: "next-" + oe,
|
|
6222
6217
|
class: "text-center text-sm text-slate-300 py-2"
|
|
6223
6218
|
}, x(Y), 1))), 128))
|
|
6224
6219
|
]),
|
|
6225
|
-
e.showToday ? (s(), u("div",
|
|
6220
|
+
e.showToday ? (s(), u("div", ku, [
|
|
6226
6221
|
i("button", {
|
|
6227
6222
|
type: "button",
|
|
6228
6223
|
class: "w-full px-3 py-2 text-sm font-medium text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",
|
|
@@ -6240,7 +6235,7 @@ const Q = {
|
|
|
6240
6235
|
})) : h("", !0)
|
|
6241
6236
|
]));
|
|
6242
6237
|
}
|
|
6243
|
-
},
|
|
6238
|
+
}, Su = ["aria-expanded"], $u = {
|
|
6244
6239
|
__name: "Dropdown",
|
|
6245
6240
|
props: {
|
|
6246
6241
|
triggerText: {
|
|
@@ -6313,7 +6308,7 @@ const Q = {
|
|
|
6313
6308
|
class: "ml-2 h-4 w-4"
|
|
6314
6309
|
})
|
|
6315
6310
|
])
|
|
6316
|
-
], 10,
|
|
6311
|
+
], 10, Su),
|
|
6317
6312
|
P(fe, {
|
|
6318
6313
|
"enter-active-class": "transition ease-out duration-100",
|
|
6319
6314
|
"enter-from-class": "transform opacity-0 scale-95",
|
|
@@ -6336,10 +6331,10 @@ const Q = {
|
|
|
6336
6331
|
})
|
|
6337
6332
|
], 512));
|
|
6338
6333
|
}
|
|
6339
|
-
},
|
|
6334
|
+
}, Cu = {
|
|
6340
6335
|
key: 1,
|
|
6341
6336
|
class: "ml-auto text-xs tracking-widest opacity-60"
|
|
6342
|
-
},
|
|
6337
|
+
}, zu = {
|
|
6343
6338
|
__name: "DropdownItem",
|
|
6344
6339
|
props: {
|
|
6345
6340
|
href: String,
|
|
@@ -6383,18 +6378,18 @@ const Q = {
|
|
|
6383
6378
|
class: "mr-2 h-4 w-4"
|
|
6384
6379
|
}, null, 8, ["name"])) : h("", !0),
|
|
6385
6380
|
F(d.$slots, "default"),
|
|
6386
|
-
e.shortcut ? (s(), u("span",
|
|
6381
|
+
e.shortcut ? (s(), u("span", Cu, x(e.shortcut), 1)) : h("", !0)
|
|
6387
6382
|
]),
|
|
6388
6383
|
_: 3
|
|
6389
6384
|
}, 8, ["href", "class", "disabled"]));
|
|
6390
6385
|
}
|
|
6391
|
-
},
|
|
6386
|
+
}, Au = { class: "w-full" }, Iu = ["multiple", "accept"], Tu = { class: "flex flex-col items-center justify-center py-6" }, Pu = {
|
|
6392
6387
|
key: 0,
|
|
6393
6388
|
class: "text-xs text-muted-foreground mt-1"
|
|
6394
|
-
},
|
|
6389
|
+
}, ju = {
|
|
6395
6390
|
key: 0,
|
|
6396
6391
|
class: "mt-4 space-y-2"
|
|
6397
|
-
},
|
|
6392
|
+
}, Bu = { class: "flex items-center space-x-2" }, Ou = { class: "text-sm" }, Fu = { class: "text-xs text-muted-foreground" }, Vu = ["onClick"], Mu = {
|
|
6398
6393
|
__name: "FileUpload",
|
|
6399
6394
|
props: {
|
|
6400
6395
|
multiple: Boolean,
|
|
@@ -6453,7 +6448,7 @@ const Q = {
|
|
|
6453
6448
|
const A = 1024, O = ["Bytes", "KB", "MB", "GB"], j = Math.floor(Math.log(y) / Math.log(A));
|
|
6454
6449
|
return parseFloat((y / Math.pow(A, j)).toFixed(2)) + " " + O[j];
|
|
6455
6450
|
};
|
|
6456
|
-
return (y, A) => (s(), u("div",
|
|
6451
|
+
return (y, A) => (s(), u("div", Au, [
|
|
6457
6452
|
i("div", {
|
|
6458
6453
|
class: m(c.value),
|
|
6459
6454
|
onDrop: p,
|
|
@@ -6470,8 +6465,8 @@ const Q = {
|
|
|
6470
6465
|
accept: e.accept,
|
|
6471
6466
|
class: "hidden",
|
|
6472
6467
|
onChange: z
|
|
6473
|
-
}, null, 40,
|
|
6474
|
-
i("div",
|
|
6468
|
+
}, null, 40, Iu),
|
|
6469
|
+
i("div", Tu, [
|
|
6475
6470
|
P(Q, {
|
|
6476
6471
|
icon: "upload",
|
|
6477
6472
|
class: "h-8 w-8 text-muted-foreground mb-2"
|
|
@@ -6480,21 +6475,21 @@ const Q = {
|
|
|
6480
6475
|
i("span", { class: "font-semibold" }, "Click to upload"),
|
|
6481
6476
|
ee(" or drag and drop ")
|
|
6482
6477
|
], -1)),
|
|
6483
|
-
e.accept ? (s(), u("p",
|
|
6478
|
+
e.accept ? (s(), u("p", Pu, x(e.accept), 1)) : h("", !0)
|
|
6484
6479
|
])
|
|
6485
6480
|
], 34),
|
|
6486
|
-
r.value.length > 0 ? (s(), u("div",
|
|
6481
|
+
r.value.length > 0 ? (s(), u("div", ju, [
|
|
6487
6482
|
(s(!0), u(G, null, X(r.value, (O, j) => (s(), u("div", {
|
|
6488
6483
|
key: j,
|
|
6489
6484
|
class: "flex items-center justify-between p-2 bg-gray-300 rounded-md"
|
|
6490
6485
|
}, [
|
|
6491
|
-
i("div",
|
|
6486
|
+
i("div", Bu, [
|
|
6492
6487
|
P(Q, {
|
|
6493
6488
|
icon: "file",
|
|
6494
6489
|
class: "h-4 w-4 text-muted-foreground"
|
|
6495
6490
|
}),
|
|
6496
|
-
i("span",
|
|
6497
|
-
i("span",
|
|
6491
|
+
i("span", Ou, x(O.name), 1),
|
|
6492
|
+
i("span", Fu, "(" + x(f(O.size)) + ")", 1)
|
|
6498
6493
|
]),
|
|
6499
6494
|
i("button", {
|
|
6500
6495
|
class: "text-muted-foreground hover:text-foreground",
|
|
@@ -6504,16 +6499,16 @@ const Q = {
|
|
|
6504
6499
|
icon: "x",
|
|
6505
6500
|
class: "h-4 w-4"
|
|
6506
6501
|
})
|
|
6507
|
-
], 8,
|
|
6502
|
+
], 8, Vu)
|
|
6508
6503
|
]))), 128))
|
|
6509
6504
|
])) : h("", !0)
|
|
6510
6505
|
]));
|
|
6511
6506
|
}
|
|
6512
|
-
},
|
|
6507
|
+
}, Du = ["for"], Eu = {
|
|
6513
6508
|
key: 0,
|
|
6514
6509
|
class: "text-red-500 ml-1",
|
|
6515
6510
|
"aria-label": "required"
|
|
6516
|
-
},
|
|
6511
|
+
}, Lu = { class: "relative" }, Nu = ["aria-label"], Ru = ["id"], _u = ["id"], fr = {
|
|
6517
6512
|
__name: "FormField",
|
|
6518
6513
|
props: {
|
|
6519
6514
|
label: String,
|
|
@@ -6600,13 +6595,13 @@ const Q = {
|
|
|
6600
6595
|
class: m(L(S)(L(k)({ size: e.size })))
|
|
6601
6596
|
}, [
|
|
6602
6597
|
ee(x(e.label) + " ", 1),
|
|
6603
|
-
e.required ? (s(), u("span",
|
|
6604
|
-
], 10,
|
|
6598
|
+
e.required ? (s(), u("span", Eu, "*")) : h("", !0)
|
|
6599
|
+
], 10, Du)) : h("", !0),
|
|
6605
6600
|
e.description ? (s(), u("p", {
|
|
6606
6601
|
key: 1,
|
|
6607
6602
|
class: m(L(S)(L(V)({ size: e.size })))
|
|
6608
6603
|
}, x(e.description), 3)) : h("", !0),
|
|
6609
|
-
i("div",
|
|
6604
|
+
i("div", Lu, [
|
|
6610
6605
|
e.type === "date" ? (s(), U(xa, {
|
|
6611
6606
|
key: 0,
|
|
6612
6607
|
id: l.value,
|
|
@@ -6634,7 +6629,7 @@ const Q = {
|
|
|
6634
6629
|
icon: d.value ? "eye-slash" : "eye",
|
|
6635
6630
|
class: "w-4 h-4"
|
|
6636
6631
|
}, null, 8, ["icon"])
|
|
6637
|
-
], 8,
|
|
6632
|
+
], 8, Nu)) : h("", !0)
|
|
6638
6633
|
]),
|
|
6639
6634
|
P(fe, {
|
|
6640
6635
|
"enter-active-class": "transition-all duration-200",
|
|
@@ -6657,7 +6652,7 @@ const Q = {
|
|
|
6657
6652
|
class: "w-4 h-4 flex-shrink-0 mt-0.5"
|
|
6658
6653
|
}),
|
|
6659
6654
|
i("span", null, x(e.error), 1)
|
|
6660
|
-
], 10,
|
|
6655
|
+
], 10, Ru)) : h("", !0)
|
|
6661
6656
|
]),
|
|
6662
6657
|
_: 1
|
|
6663
6658
|
}),
|
|
@@ -6665,7 +6660,7 @@ const Q = {
|
|
|
6665
6660
|
key: 2,
|
|
6666
6661
|
id: `${l.value}-help`,
|
|
6667
6662
|
class: m(L(S)(L(z)({ size: e.size })))
|
|
6668
|
-
}, x(e.helpText), 11,
|
|
6663
|
+
}, x(e.helpText), 11, _u)) : h("", !0),
|
|
6669
6664
|
P(fe, {
|
|
6670
6665
|
"enter-active-class": "transition-all duration-200",
|
|
6671
6666
|
"enter-from-class": "opacity-0 -translate-y-1",
|
|
@@ -6691,13 +6686,13 @@ const Q = {
|
|
|
6691
6686
|
], 2);
|
|
6692
6687
|
};
|
|
6693
6688
|
}
|
|
6694
|
-
},
|
|
6689
|
+
}, qu = {
|
|
6695
6690
|
key: 0,
|
|
6696
6691
|
class: "flex items-center px-3 bg-muted border border-r-0 rounded-l-md"
|
|
6697
|
-
},
|
|
6692
|
+
}, Wu = {
|
|
6698
6693
|
key: 1,
|
|
6699
6694
|
class: "flex items-center px-3 bg-muted border border-l-0 rounded-r-md"
|
|
6700
|
-
},
|
|
6695
|
+
}, Yu = {
|
|
6701
6696
|
__name: "InputGroup",
|
|
6702
6697
|
props: {
|
|
6703
6698
|
variant: {
|
|
@@ -6720,28 +6715,28 @@ const Q = {
|
|
|
6720
6715
|
return (r, l) => (s(), u("div", {
|
|
6721
6716
|
class: m(n.value)
|
|
6722
6717
|
}, [
|
|
6723
|
-
r.$slots.prefix ? (s(), u("div",
|
|
6718
|
+
r.$slots.prefix ? (s(), u("div", qu, [
|
|
6724
6719
|
F(r.$slots, "prefix")
|
|
6725
6720
|
])) : h("", !0),
|
|
6726
6721
|
F(r.$slots, "default"),
|
|
6727
|
-
r.$slots.suffix ? (s(), u("div",
|
|
6722
|
+
r.$slots.suffix ? (s(), u("div", Wu, [
|
|
6728
6723
|
F(r.$slots, "suffix")
|
|
6729
6724
|
])) : h("", !0)
|
|
6730
6725
|
], 2));
|
|
6731
6726
|
}
|
|
6732
|
-
},
|
|
6727
|
+
}, Uu = ["role"], Hu = {
|
|
6733
6728
|
key: 0,
|
|
6734
6729
|
class: "flex-shrink-0"
|
|
6735
|
-
},
|
|
6730
|
+
}, Gu = { class: "flex-1 min-w-0" }, Xu = {
|
|
6736
6731
|
key: 0,
|
|
6737
6732
|
class: "text-sm font-medium text-foreground"
|
|
6738
|
-
},
|
|
6733
|
+
}, Ku = {
|
|
6739
6734
|
key: 1,
|
|
6740
6735
|
class: "text-sm text-muted-foreground"
|
|
6741
|
-
},
|
|
6736
|
+
}, Ju = {
|
|
6742
6737
|
key: 1,
|
|
6743
6738
|
class: "flex-shrink-0"
|
|
6744
|
-
},
|
|
6739
|
+
}, Qu = {
|
|
6745
6740
|
__name: "ListItem",
|
|
6746
6741
|
props: {
|
|
6747
6742
|
title: String,
|
|
@@ -6788,7 +6783,7 @@ const Q = {
|
|
|
6788
6783
|
onClick: c
|
|
6789
6784
|
}, {
|
|
6790
6785
|
default: N(() => [
|
|
6791
|
-
p.$slots.icon || e.icon ? (s(), u("div",
|
|
6786
|
+
p.$slots.icon || e.icon ? (s(), u("div", Hu, [
|
|
6792
6787
|
F(p.$slots, "icon", {}, () => [
|
|
6793
6788
|
e.icon ? (s(), U(Q, {
|
|
6794
6789
|
key: 0,
|
|
@@ -6797,23 +6792,23 @@ const Q = {
|
|
|
6797
6792
|
}, null, 8, ["name"])) : h("", !0)
|
|
6798
6793
|
])
|
|
6799
6794
|
])) : h("", !0),
|
|
6800
|
-
i("div",
|
|
6801
|
-
e.title ? (s(), u("div",
|
|
6802
|
-
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),
|
|
6803
6798
|
F(p.$slots, "default")
|
|
6804
6799
|
]),
|
|
6805
|
-
p.$slots.action ? (s(), u("div",
|
|
6800
|
+
p.$slots.action ? (s(), u("div", Ju, [
|
|
6806
6801
|
F(p.$slots, "action")
|
|
6807
6802
|
])) : h("", !0)
|
|
6808
6803
|
]),
|
|
6809
6804
|
_: 3
|
|
6810
6805
|
}, 8, ["href", "class"]))
|
|
6811
|
-
], 10,
|
|
6806
|
+
], 10, Uu));
|
|
6812
6807
|
}
|
|
6813
|
-
},
|
|
6808
|
+
}, Zu = {
|
|
6814
6809
|
key: 1,
|
|
6815
6810
|
class: "ml-auto text-xs tracking-widest opacity-60"
|
|
6816
|
-
},
|
|
6811
|
+
}, ed = {
|
|
6817
6812
|
__name: "MenuItem",
|
|
6818
6813
|
props: {
|
|
6819
6814
|
href: String,
|
|
@@ -6858,7 +6853,7 @@ const Q = {
|
|
|
6858
6853
|
class: "mr-2 h-4 w-4"
|
|
6859
6854
|
}, null, 8, ["name"])) : h("", !0),
|
|
6860
6855
|
F(d.$slots, "default"),
|
|
6861
|
-
e.shortcut ? (s(), u("span",
|
|
6856
|
+
e.shortcut ? (s(), u("span", Zu, x(e.shortcut), 1)) : h("", !0),
|
|
6862
6857
|
e.hasSubmenu ? (s(), U(Q, {
|
|
6863
6858
|
key: 2,
|
|
6864
6859
|
name: "chevron-right",
|
|
@@ -6965,26 +6960,26 @@ const Q = {
|
|
|
6965
6960
|
})
|
|
6966
6961
|
]));
|
|
6967
6962
|
}
|
|
6968
|
-
},
|
|
6963
|
+
}, td = { class: "flex flex-col space-y-1.5 text-center sm:text-left" }, ad = {
|
|
6969
6964
|
key: 0,
|
|
6970
6965
|
class: "text-lg font-semibold leading-none tracking-tight"
|
|
6971
|
-
},
|
|
6966
|
+
}, nd = {
|
|
6972
6967
|
key: 1,
|
|
6973
6968
|
class: "text-sm text-muted-foreground"
|
|
6974
|
-
},
|
|
6969
|
+
}, rd = {
|
|
6975
6970
|
__name: "ModalHeader",
|
|
6976
6971
|
props: {
|
|
6977
6972
|
title: String,
|
|
6978
6973
|
description: String
|
|
6979
6974
|
},
|
|
6980
6975
|
setup(e) {
|
|
6981
|
-
return (a, t) => (s(), u("div",
|
|
6982
|
-
e.title ? (s(), u("h2",
|
|
6983
|
-
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),
|
|
6984
6979
|
F(a.$slots, "default")
|
|
6985
6980
|
]));
|
|
6986
6981
|
}
|
|
6987
|
-
},
|
|
6982
|
+
}, sd = {
|
|
6988
6983
|
__name: "ModalBody",
|
|
6989
6984
|
props: {
|
|
6990
6985
|
variant: {
|
|
@@ -7010,7 +7005,7 @@ const Q = {
|
|
|
7010
7005
|
F(r.$slots, "default")
|
|
7011
7006
|
], 2));
|
|
7012
7007
|
}
|
|
7013
|
-
},
|
|
7008
|
+
}, ld = {
|
|
7014
7009
|
__name: "ModalFooter",
|
|
7015
7010
|
props: {
|
|
7016
7011
|
variant: {
|
|
@@ -7036,13 +7031,13 @@ const Q = {
|
|
|
7036
7031
|
F(r.$slots, "default")
|
|
7037
7032
|
], 2));
|
|
7038
7033
|
}
|
|
7039
|
-
},
|
|
7034
|
+
}, od = ["aria-live"], id = { class: "flex items-start space-x-3" }, ud = {
|
|
7040
7035
|
key: 0,
|
|
7041
7036
|
class: "flex-shrink-0"
|
|
7042
|
-
},
|
|
7037
|
+
}, dd = { class: "flex-1 min-w-0" }, cd = {
|
|
7043
7038
|
key: 0,
|
|
7044
7039
|
class: "text-sm font-medium"
|
|
7045
|
-
},
|
|
7040
|
+
}, fd = {
|
|
7046
7041
|
__name: "Notification",
|
|
7047
7042
|
props: {
|
|
7048
7043
|
title: String,
|
|
@@ -7118,15 +7113,15 @@ const Q = {
|
|
|
7118
7113
|
role: "alert",
|
|
7119
7114
|
"aria-live": e.variant === "destructive" ? "assertive" : "polite"
|
|
7120
7115
|
}, [
|
|
7121
|
-
i("div",
|
|
7122
|
-
e.showIcon ? (s(), u("div",
|
|
7116
|
+
i("div", id, [
|
|
7117
|
+
e.showIcon ? (s(), u("div", ud, [
|
|
7123
7118
|
P(Q, {
|
|
7124
7119
|
name: p.value,
|
|
7125
7120
|
class: m(w.value)
|
|
7126
7121
|
}, null, 8, ["name", "class"])
|
|
7127
7122
|
])) : h("", !0),
|
|
7128
|
-
i("div",
|
|
7129
|
-
e.title ? (s(), u("div",
|
|
7123
|
+
i("div", dd, [
|
|
7124
|
+
e.title ? (s(), u("div", cd, x(e.title), 1)) : h("", !0),
|
|
7130
7125
|
e.message ? (s(), u("div", {
|
|
7131
7126
|
key: 1,
|
|
7132
7127
|
class: m(["text-sm", { "mt-1": e.title }])
|
|
@@ -7144,23 +7139,23 @@ const Q = {
|
|
|
7144
7139
|
})
|
|
7145
7140
|
])) : h("", !0)
|
|
7146
7141
|
])
|
|
7147
|
-
], 10,
|
|
7142
|
+
], 10, od)) : h("", !0)
|
|
7148
7143
|
]),
|
|
7149
7144
|
_: 3
|
|
7150
7145
|
}));
|
|
7151
7146
|
}
|
|
7152
7147
|
}, it = W([]);
|
|
7153
|
-
let
|
|
7154
|
-
const
|
|
7148
|
+
let md = 0;
|
|
7149
|
+
const gd = {
|
|
7155
7150
|
duration: 3e3,
|
|
7156
7151
|
position: "top-center",
|
|
7157
7152
|
dismissible: !0,
|
|
7158
7153
|
closeButton: !1
|
|
7159
|
-
},
|
|
7160
|
-
const t =
|
|
7154
|
+
}, vd = () => `toast-${++md}-${Date.now()}`, Te = (e, a = {}) => {
|
|
7155
|
+
const t = vd(), n = {
|
|
7161
7156
|
id: t,
|
|
7162
7157
|
message: e,
|
|
7163
|
-
...
|
|
7158
|
+
...gd,
|
|
7164
7159
|
...a,
|
|
7165
7160
|
createdAt: Date.now()
|
|
7166
7161
|
};
|
|
@@ -7220,20 +7215,20 @@ const md = {
|
|
|
7220
7215
|
component: sn(e)
|
|
7221
7216
|
})
|
|
7222
7217
|
}
|
|
7223
|
-
),
|
|
7218
|
+
), bd = () => ({
|
|
7224
7219
|
toasts: it,
|
|
7225
7220
|
dismiss: st,
|
|
7226
7221
|
dismissAll: gr
|
|
7227
|
-
}),
|
|
7222
|
+
}), hd = ["aria-live"], pd = { class: "flex-1 grid gap-1" }, yd = {
|
|
7228
7223
|
key: 0,
|
|
7229
7224
|
class: "text-lg font-extrabold"
|
|
7230
|
-
},
|
|
7225
|
+
}, xd = {
|
|
7231
7226
|
key: 1,
|
|
7232
7227
|
class: "text-md opacity-90"
|
|
7233
|
-
},
|
|
7228
|
+
}, wd = {
|
|
7234
7229
|
key: 2,
|
|
7235
7230
|
class: "text-md opacity-90"
|
|
7236
|
-
},
|
|
7231
|
+
}, kd = ["onClick"], Sd = ["onClick"], $d = {
|
|
7237
7232
|
__name: "Toast",
|
|
7238
7233
|
props: {
|
|
7239
7234
|
position: {
|
|
@@ -7270,7 +7265,7 @@ const md = {
|
|
|
7270
7265
|
}
|
|
7271
7266
|
},
|
|
7272
7267
|
setup(e) {
|
|
7273
|
-
const a = e, { toasts: t, dismiss: n } =
|
|
7268
|
+
const a = e, { toasts: t, dismiss: n } = bd(), r = {
|
|
7274
7269
|
"top-left": "top-0 left-0 flex-col",
|
|
7275
7270
|
"top-center": "top-0 left-1/2 -translate-x-1/2 flex-col",
|
|
7276
7271
|
"top-right": "top-0 right-0 flex-col",
|
|
@@ -7342,10 +7337,10 @@ const md = {
|
|
|
7342
7337
|
icon: w(g),
|
|
7343
7338
|
class: m([k(g), "h-4 w-4 shrink-0"])
|
|
7344
7339
|
}, null, 8, ["icon", "class"])) : h("", !0),
|
|
7345
|
-
i("div",
|
|
7346
|
-
g.title ? (s(), u("div",
|
|
7347
|
-
g.message ? (s(), u("div",
|
|
7348
|
-
g.description ? (s(), u("div",
|
|
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),
|
|
7349
7344
|
g.component ? (s(), U(pe(g.component), Xe({
|
|
7350
7345
|
key: 3,
|
|
7351
7346
|
ref_for: !0
|
|
@@ -7355,7 +7350,7 @@ const md = {
|
|
|
7355
7350
|
key: 1,
|
|
7356
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",
|
|
7357
7352
|
onClick: g.action.onClick
|
|
7358
|
-
}, x(g.action.label), 9,
|
|
7353
|
+
}, x(g.action.label), 9, kd)) : h("", !0),
|
|
7359
7354
|
C(g) ? (s(), u("button", {
|
|
7360
7355
|
key: 2,
|
|
7361
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",
|
|
@@ -7365,36 +7360,36 @@ const md = {
|
|
|
7365
7360
|
icon: "x",
|
|
7366
7361
|
class: "h-4 w-4"
|
|
7367
7362
|
})
|
|
7368
|
-
], 8,
|
|
7369
|
-
], 10,
|
|
7363
|
+
], 8, Sd)) : h("", !0)
|
|
7364
|
+
], 10, hd))), 128))
|
|
7370
7365
|
]),
|
|
7371
7366
|
_: 1
|
|
7372
7367
|
})
|
|
7373
7368
|
], 2)
|
|
7374
7369
|
]));
|
|
7375
7370
|
}
|
|
7376
|
-
},
|
|
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 = {
|
|
7377
7372
|
key: 0,
|
|
7378
7373
|
class: "absolute right-3 top-1/2 transform -translate-y-1/2"
|
|
7379
|
-
},
|
|
7374
|
+
}, Td = ["aria-label"], Pd = {
|
|
7380
7375
|
key: 1,
|
|
7381
7376
|
class: "animate-spin"
|
|
7382
|
-
},
|
|
7377
|
+
}, jd = {
|
|
7383
7378
|
key: 0,
|
|
7384
7379
|
class: "max-h-64 overflow-y-auto"
|
|
7385
|
-
},
|
|
7380
|
+
}, Bd = ["onClick", "onMouseenter"], Od = { class: "flex-1 text-left" }, Fd = { class: "font-medium text-slate-900" }, Vd = {
|
|
7386
7381
|
key: 0,
|
|
7387
7382
|
class: "text-sm text-slate-500 truncate"
|
|
7388
|
-
},
|
|
7383
|
+
}, Md = {
|
|
7389
7384
|
key: 1,
|
|
7390
7385
|
class: "text-xs text-slate-400 ml-3"
|
|
7391
|
-
},
|
|
7386
|
+
}, Dd = {
|
|
7392
7387
|
key: 1,
|
|
7393
7388
|
class: "px-4 py-3 text-sm text-slate-500 text-center"
|
|
7394
|
-
},
|
|
7389
|
+
}, Ed = {
|
|
7395
7390
|
key: 2,
|
|
7396
7391
|
class: "border-t border-slate-200 p-2"
|
|
7397
|
-
},
|
|
7392
|
+
}, Ld = {
|
|
7398
7393
|
__name: "Search",
|
|
7399
7394
|
props: {
|
|
7400
7395
|
modelValue: { type: String, default: "" },
|
|
@@ -7508,8 +7503,8 @@ const md = {
|
|
|
7508
7503
|
ref: d,
|
|
7509
7504
|
class: "relative"
|
|
7510
7505
|
}, [
|
|
7511
|
-
i("div",
|
|
7512
|
-
i("div",
|
|
7506
|
+
i("div", Cd, [
|
|
7507
|
+
i("div", zd, [
|
|
7513
7508
|
P(t, {
|
|
7514
7509
|
class: m(se.value)
|
|
7515
7510
|
}, null, 8, ["class"])
|
|
@@ -7525,8 +7520,8 @@ const md = {
|
|
|
7525
7520
|
onFocus: C,
|
|
7526
7521
|
onBlur: z,
|
|
7527
7522
|
onKeydown: f
|
|
7528
|
-
}, null, 42,
|
|
7529
|
-
e.modelValue || e.loading ? (s(), u("div",
|
|
7523
|
+
}, null, 42, Ad),
|
|
7524
|
+
e.modelValue || e.loading ? (s(), u("div", Id, [
|
|
7530
7525
|
!e.loading && e.clearable ? (s(), u("button", {
|
|
7531
7526
|
key: 0,
|
|
7532
7527
|
class: "text-slate-400 hover:text-slate-600 transition-colors p-1 rounded-full hover:bg-slate-100",
|
|
@@ -7534,7 +7529,7 @@ const md = {
|
|
|
7534
7529
|
onClick: v
|
|
7535
7530
|
}, [
|
|
7536
7531
|
P(n, { class: "w-4 h-4" })
|
|
7537
|
-
], 8,
|
|
7532
|
+
], 8, Td)) : e.loading ? (s(), u("div", Pd, [
|
|
7538
7533
|
P(r, { class: "w-4 h-4 text-slate-400" })
|
|
7539
7534
|
])) : h("", !0)
|
|
7540
7535
|
])) : h("", !0)
|
|
@@ -7552,7 +7547,7 @@ const md = {
|
|
|
7552
7547
|
key: 0,
|
|
7553
7548
|
class: m(H.value)
|
|
7554
7549
|
}, [
|
|
7555
|
-
e.results.length > 0 ? (s(), u("div",
|
|
7550
|
+
e.results.length > 0 ? (s(), u("div", jd, [
|
|
7556
7551
|
(s(!0), u(G, null, X(e.results, (J, $) => (s(), u("button", {
|
|
7557
7552
|
key: J.id || $,
|
|
7558
7553
|
class: m(le($)),
|
|
@@ -7563,14 +7558,14 @@ const md = {
|
|
|
7563
7558
|
key: 0,
|
|
7564
7559
|
class: "w-4 h-4 mr-3 flex-shrink-0"
|
|
7565
7560
|
})) : h("", !0),
|
|
7566
|
-
i("div",
|
|
7567
|
-
i("div",
|
|
7568
|
-
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)
|
|
7569
7564
|
]),
|
|
7570
|
-
J.category ? (s(), u("div",
|
|
7571
|
-
], 42,
|
|
7572
|
-
])) : e.showNoResults ? (s(), u("div",
|
|
7573
|
-
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, [
|
|
7574
7569
|
F(B.$slots, "footer")
|
|
7575
7570
|
])) : h("", !0)
|
|
7576
7571
|
], 2)) : h("", !0)
|
|
@@ -7579,7 +7574,7 @@ const md = {
|
|
|
7579
7574
|
})
|
|
7580
7575
|
], 512));
|
|
7581
7576
|
}
|
|
7582
|
-
},
|
|
7577
|
+
}, Nd = { class: "w-full" }, Rd = ["min", "max", "step", "value"], _d = { class: "flex justify-between text-xs text-slate-500 mt-1" }, vr = {
|
|
7583
7578
|
__name: "Slider",
|
|
7584
7579
|
props: {
|
|
7585
7580
|
modelValue: { type: [Number, String], default: 0 },
|
|
@@ -7592,7 +7587,7 @@ const md = {
|
|
|
7592
7587
|
const t = a, n = (r) => {
|
|
7593
7588
|
t("update:modelValue", Number(r.target.value));
|
|
7594
7589
|
};
|
|
7595
|
-
return (r, l) => (s(), u("div",
|
|
7590
|
+
return (r, l) => (s(), u("div", Nd, [
|
|
7596
7591
|
i("input", {
|
|
7597
7592
|
type: "range",
|
|
7598
7593
|
min: e.min,
|
|
@@ -7601,25 +7596,25 @@ const md = {
|
|
|
7601
7596
|
value: e.modelValue,
|
|
7602
7597
|
class: "w-full accent-blue-500 cursor-pointer",
|
|
7603
7598
|
onInput: n
|
|
7604
|
-
}, null, 40,
|
|
7605
|
-
i("div",
|
|
7599
|
+
}, null, 40, Rd),
|
|
7600
|
+
i("div", _d, [
|
|
7606
7601
|
i("span", null, x(e.min), 1),
|
|
7607
7602
|
i("span", null, x(e.modelValue), 1),
|
|
7608
7603
|
i("span", null, x(e.max), 1)
|
|
7609
7604
|
])
|
|
7610
7605
|
]));
|
|
7611
7606
|
}
|
|
7612
|
-
},
|
|
7607
|
+
}, qd = { class: "flex items-center space-x-4" }, Wd = {
|
|
7613
7608
|
__name: "Stepper",
|
|
7614
7609
|
setup(e) {
|
|
7615
|
-
return (a, t) => (s(), u("div",
|
|
7610
|
+
return (a, t) => (s(), u("div", qd, [
|
|
7616
7611
|
F(a.$slots, "default")
|
|
7617
7612
|
]));
|
|
7618
7613
|
}
|
|
7619
|
-
},
|
|
7614
|
+
}, Yd = { class: "flex items-center" }, Ud = { class: "ml-2" }, Hd = { class: "font-medium" }, Gd = {
|
|
7620
7615
|
key: 0,
|
|
7621
7616
|
class: "text-sm text-slate-400"
|
|
7622
|
-
},
|
|
7617
|
+
}, Xd = {
|
|
7623
7618
|
__name: "StepperItem",
|
|
7624
7619
|
props: {
|
|
7625
7620
|
step: { type: Number, required: !0 },
|
|
@@ -7629,7 +7624,7 @@ const md = {
|
|
|
7629
7624
|
completed: { type: Boolean, default: !1 }
|
|
7630
7625
|
},
|
|
7631
7626
|
setup(e) {
|
|
7632
|
-
return (a, t) => (s(), u("div",
|
|
7627
|
+
return (a, t) => (s(), u("div", Yd, [
|
|
7633
7628
|
i("div", {
|
|
7634
7629
|
class: m([
|
|
7635
7630
|
"flex items-center justify-center w-8 h-8 rounded-full border-2",
|
|
@@ -7638,16 +7633,16 @@ const md = {
|
|
|
7638
7633
|
}, [
|
|
7639
7634
|
i("span", null, x(e.step), 1)
|
|
7640
7635
|
], 2),
|
|
7641
|
-
i("div",
|
|
7642
|
-
i("div",
|
|
7643
|
-
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)
|
|
7644
7639
|
])
|
|
7645
7640
|
]));
|
|
7646
7641
|
}
|
|
7647
|
-
},
|
|
7642
|
+
}, Kd = { class: "w-full" }, Jd = {
|
|
7648
7643
|
class: "flex space-x-1 border-b border-slate-200",
|
|
7649
7644
|
role: "tablist"
|
|
7650
|
-
},
|
|
7645
|
+
}, Qd = ["id", "disabled", "aria-selected", "aria-controls", "onClick"], Zd = { class: "mt-4" }, ec = {
|
|
7651
7646
|
__name: "Tab",
|
|
7652
7647
|
props: {
|
|
7653
7648
|
defaultIndex: { type: Number, default: 0 },
|
|
@@ -7685,8 +7680,8 @@ const md = {
|
|
|
7685
7680
|
unregisterTab: (c) => {
|
|
7686
7681
|
l.value.splice(c, 1);
|
|
7687
7682
|
}
|
|
7688
|
-
}), (c, p) => (s(), u("div",
|
|
7689
|
-
i("div",
|
|
7683
|
+
}), (c, p) => (s(), u("div", Kd, [
|
|
7684
|
+
i("div", Jd, [
|
|
7690
7685
|
(s(!0), u(G, null, X(l.value, (w, k) => (s(), u("button", {
|
|
7691
7686
|
id: `tab-${k}`,
|
|
7692
7687
|
key: k,
|
|
@@ -7700,17 +7695,17 @@ const md = {
|
|
|
7700
7695
|
"aria-controls": `panel-${k}`,
|
|
7701
7696
|
role: "tab",
|
|
7702
7697
|
onClick: (V) => !t.loading && o(k)
|
|
7703
|
-
}, x(w.label), 11,
|
|
7698
|
+
}, x(w.label), 11, Qd))), 128))
|
|
7704
7699
|
]),
|
|
7705
|
-
i("div",
|
|
7700
|
+
i("div", Zd, [
|
|
7706
7701
|
F(c.$slots, "default")
|
|
7707
7702
|
])
|
|
7708
7703
|
]));
|
|
7709
7704
|
}
|
|
7710
|
-
},
|
|
7705
|
+
}, tc = ["id", "aria-labelledby"], ac = {
|
|
7711
7706
|
key: 0,
|
|
7712
7707
|
class: "flex items-center justify-center p-8"
|
|
7713
|
-
},
|
|
7708
|
+
}, nc = {
|
|
7714
7709
|
__name: "TabPanel",
|
|
7715
7710
|
props: {
|
|
7716
7711
|
label: { type: String, required: !0 },
|
|
@@ -7732,17 +7727,17 @@ const md = {
|
|
|
7732
7727
|
role: "tabpanel",
|
|
7733
7728
|
"aria-labelledby": `tab-${n.value}`
|
|
7734
7729
|
}, [
|
|
7735
|
-
e.loading ? (s(), u("div",
|
|
7730
|
+
e.loading ? (s(), u("div", ac, [
|
|
7736
7731
|
P(pa, {
|
|
7737
7732
|
size: "lg",
|
|
7738
7733
|
label: `Loading ${a.label}`
|
|
7739
7734
|
}, null, 8, ["label"])
|
|
7740
7735
|
])) : F(l.$slots, "default", { key: 1 })
|
|
7741
|
-
], 8,
|
|
7736
|
+
], 8, tc)), [
|
|
7742
7737
|
[on, r.value]
|
|
7743
7738
|
]);
|
|
7744
7739
|
}
|
|
7745
|
-
},
|
|
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 = {
|
|
7746
7741
|
__name: "Accordion",
|
|
7747
7742
|
props: {
|
|
7748
7743
|
items: {
|
|
@@ -7869,13 +7864,13 @@ const md = {
|
|
|
7869
7864
|
"aria-controls": `panel-${O.id || j}`,
|
|
7870
7865
|
onClick: (se) => o(j)
|
|
7871
7866
|
}, [
|
|
7872
|
-
i("div",
|
|
7867
|
+
i("div", sc, [
|
|
7873
7868
|
F(y.$slots, `header-${j}`, {
|
|
7874
7869
|
item: O,
|
|
7875
7870
|
index: j,
|
|
7876
7871
|
isExpanded: d(j)
|
|
7877
7872
|
}, () => [
|
|
7878
|
-
O.title ? (s(), u("div",
|
|
7873
|
+
O.title ? (s(), u("div", lc, x(O.title), 1)) : h("", !0)
|
|
7879
7874
|
])
|
|
7880
7875
|
]),
|
|
7881
7876
|
i("div", {
|
|
@@ -7883,7 +7878,7 @@ const md = {
|
|
|
7883
7878
|
}, [
|
|
7884
7879
|
P(t, { class: "w-5 h-5 transition-transform duration-200" })
|
|
7885
7880
|
], 2)
|
|
7886
|
-
], 10,
|
|
7881
|
+
], 10, rc),
|
|
7887
7882
|
P(fe, {
|
|
7888
7883
|
"enter-active-class": "transition-all duration-300 ease-out",
|
|
7889
7884
|
"enter-from-class": "opacity-0 max-h-0",
|
|
@@ -7908,17 +7903,17 @@ const md = {
|
|
|
7908
7903
|
item: O,
|
|
7909
7904
|
index: j
|
|
7910
7905
|
}, () => [
|
|
7911
|
-
O.content ? (s(), u("div",
|
|
7906
|
+
O.content ? (s(), u("div", ic, x(O.content), 1)) : h("", !0)
|
|
7912
7907
|
])
|
|
7913
7908
|
])
|
|
7914
|
-
], 10,
|
|
7909
|
+
], 10, oc)) : h("", !0)
|
|
7915
7910
|
]),
|
|
7916
7911
|
_: 2
|
|
7917
7912
|
}, 1024)
|
|
7918
7913
|
], 2))), 128))
|
|
7919
7914
|
], 2));
|
|
7920
7915
|
}
|
|
7921
|
-
},
|
|
7916
|
+
}, dc = {
|
|
7922
7917
|
__name: "AccordionItem",
|
|
7923
7918
|
props: {
|
|
7924
7919
|
variant: {
|
|
@@ -8010,10 +8005,10 @@ const md = {
|
|
|
8010
8005
|
})
|
|
8011
8006
|
], 2));
|
|
8012
8007
|
}
|
|
8013
|
-
},
|
|
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 = {
|
|
8014
8009
|
key: 0,
|
|
8015
8010
|
class: "mt-4 pt-3 border-t border-slate-200"
|
|
8016
|
-
},
|
|
8011
|
+
}, xc = {
|
|
8017
8012
|
__name: "Calendar",
|
|
8018
8013
|
props: {
|
|
8019
8014
|
id: String,
|
|
@@ -8122,8 +8117,8 @@ const md = {
|
|
|
8122
8117
|
document.addEventListener("keydown", K);
|
|
8123
8118
|
}), nn(() => {
|
|
8124
8119
|
document.removeEventListener("keydown", K);
|
|
8125
|
-
}), (J, $) => (s(), u("div",
|
|
8126
|
-
i("div",
|
|
8120
|
+
}), (J, $) => (s(), u("div", cc, [
|
|
8121
|
+
i("div", fc, [
|
|
8127
8122
|
i("input", {
|
|
8128
8123
|
id: e.id,
|
|
8129
8124
|
type: "text",
|
|
@@ -8135,7 +8130,7 @@ const md = {
|
|
|
8135
8130
|
"aria-describedby": e.ariaDescribedby,
|
|
8136
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",
|
|
8137
8132
|
onClick: O
|
|
8138
|
-
}, null, 8,
|
|
8133
|
+
}, null, 8, mc),
|
|
8139
8134
|
$[2] || ($[2] = i("div", { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" }, [
|
|
8140
8135
|
i("svg", {
|
|
8141
8136
|
class: "w-5 h-5 text-slate-400",
|
|
@@ -8188,7 +8183,7 @@ const md = {
|
|
|
8188
8183
|
onClick: $[0] || ($[0] = Ne(() => {
|
|
8189
8184
|
}, ["stop"]))
|
|
8190
8185
|
}, [
|
|
8191
|
-
i("div",
|
|
8186
|
+
i("div", gc, [
|
|
8192
8187
|
i("button", {
|
|
8193
8188
|
type: "button",
|
|
8194
8189
|
class: "p-1 hover:bg-gray-100 rounded",
|
|
@@ -8209,7 +8204,7 @@ const md = {
|
|
|
8209
8204
|
})
|
|
8210
8205
|
], -1)
|
|
8211
8206
|
])]),
|
|
8212
|
-
i("div",
|
|
8207
|
+
i("div", vc, x(w.value) + " " + x(d.value), 1),
|
|
8213
8208
|
i("button", {
|
|
8214
8209
|
type: "button",
|
|
8215
8210
|
class: "p-1 hover:bg-gray-100 rounded",
|
|
@@ -8231,13 +8226,13 @@ const md = {
|
|
|
8231
8226
|
], -1)
|
|
8232
8227
|
])])
|
|
8233
8228
|
]),
|
|
8234
|
-
i("div",
|
|
8229
|
+
i("div", bc, [
|
|
8235
8230
|
(s(), u(G, null, X(p, (M) => i("div", {
|
|
8236
8231
|
key: M,
|
|
8237
8232
|
class: "text-center text-xs font-medium text-slate-600 py-1"
|
|
8238
8233
|
}, x(M), 1)), 64))
|
|
8239
8234
|
]),
|
|
8240
|
-
i("div",
|
|
8235
|
+
i("div", hc, [
|
|
8241
8236
|
(s(!0), u(G, null, X(C.value, (M, Y) => (s(), u("div", {
|
|
8242
8237
|
key: "prev-" + Y,
|
|
8243
8238
|
class: "text-center text-sm text-slate-300 py-2"
|
|
@@ -8252,13 +8247,13 @@ const md = {
|
|
|
8252
8247
|
A(M) ? "text-gray-300 cursor-not-allowed" : ""
|
|
8253
8248
|
]),
|
|
8254
8249
|
onClick: (Y) => le(M)
|
|
8255
|
-
}, x(M), 11,
|
|
8250
|
+
}, x(M), 11, pc))), 128)),
|
|
8256
8251
|
(s(!0), u(G, null, X(z.value, (M, Y) => (s(), u("div", {
|
|
8257
8252
|
key: "next-" + Y,
|
|
8258
8253
|
class: "text-center text-sm text-slate-300 py-2"
|
|
8259
8254
|
}, x(M), 1))), 128))
|
|
8260
8255
|
]),
|
|
8261
|
-
e.showToday ? (s(), u("div",
|
|
8256
|
+
e.showToday ? (s(), u("div", yc, [
|
|
8262
8257
|
i("button", {
|
|
8263
8258
|
type: "button",
|
|
8264
8259
|
class: "w-full px-3 py-2 text-sm font-medium text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",
|
|
@@ -8276,10 +8271,10 @@ const md = {
|
|
|
8276
8271
|
})) : h("", !0)
|
|
8277
8272
|
]));
|
|
8278
8273
|
}
|
|
8279
|
-
},
|
|
8274
|
+
}, wc = { class: "flex items-start justify-between" }, kc = { class: "flex-1 min-w-0" }, Sc = {
|
|
8280
8275
|
key: 0,
|
|
8281
8276
|
class: "flex-shrink-0 ml-4"
|
|
8282
|
-
},
|
|
8277
|
+
}, $c = "text-lg font-semibold text-slate-900 truncate", Cc = "text-sm text-slate-600 mt-1", zc = {
|
|
8283
8278
|
__name: "Graph",
|
|
8284
8279
|
props: {
|
|
8285
8280
|
variant: {
|
|
@@ -8390,18 +8385,18 @@ const md = {
|
|
|
8390
8385
|
class: m(L(S)(L(t)({ padding: e.padding })))
|
|
8391
8386
|
}, [
|
|
8392
8387
|
F(d.$slots, "header", {}, () => [
|
|
8393
|
-
i("div",
|
|
8394
|
-
i("div",
|
|
8388
|
+
i("div", wc, [
|
|
8389
|
+
i("div", kc, [
|
|
8395
8390
|
e.title ? (s(), u("h3", {
|
|
8396
8391
|
key: 0,
|
|
8397
|
-
class: m(
|
|
8392
|
+
class: m($c)
|
|
8398
8393
|
}, x(e.title), 1)) : h("", !0),
|
|
8399
8394
|
e.description ? (s(), u("p", {
|
|
8400
8395
|
key: 1,
|
|
8401
|
-
class: m(
|
|
8396
|
+
class: m(Cc)
|
|
8402
8397
|
}, x(e.description), 1)) : h("", !0)
|
|
8403
8398
|
]),
|
|
8404
|
-
d.$slots.actions ? (s(), u("div",
|
|
8399
|
+
d.$slots.actions ? (s(), u("div", Sc, [
|
|
8405
8400
|
F(d.$slots, "actions")
|
|
8406
8401
|
])) : h("", !0)
|
|
8407
8402
|
])
|
|
@@ -8433,7 +8428,7 @@ const md = {
|
|
|
8433
8428
|
], 2)) : h("", !0)
|
|
8434
8429
|
], 2));
|
|
8435
8430
|
}
|
|
8436
|
-
},
|
|
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 = {
|
|
8437
8432
|
__name: "BarChart",
|
|
8438
8433
|
props: {
|
|
8439
8434
|
data: {
|
|
@@ -8539,14 +8534,14 @@ const md = {
|
|
|
8539
8534
|
}, v = () => {
|
|
8540
8535
|
r.value.visible = !1;
|
|
8541
8536
|
};
|
|
8542
|
-
return (g, f) => (s(), u("div",
|
|
8537
|
+
return (g, f) => (s(), u("div", Ac, [
|
|
8543
8538
|
(s(), u("svg", {
|
|
8544
8539
|
width: e.width,
|
|
8545
8540
|
height: e.height,
|
|
8546
8541
|
viewBox: `0 0 ${e.width} ${e.height}`,
|
|
8547
8542
|
class: "overflow-visible"
|
|
8548
8543
|
}, [
|
|
8549
|
-
e.showGrid ? (s(), u("g",
|
|
8544
|
+
e.showGrid ? (s(), u("g", Tc, [
|
|
8550
8545
|
(s(!0), u(G, null, X(c.value, (y) => (s(), u("line", {
|
|
8551
8546
|
key: `grid-${y}`,
|
|
8552
8547
|
x1: e.padding.left,
|
|
@@ -8556,7 +8551,7 @@ const md = {
|
|
|
8556
8551
|
stroke: e.gridColor,
|
|
8557
8552
|
"stroke-width": "1",
|
|
8558
8553
|
"stroke-dasharray": "2,2"
|
|
8559
|
-
}, null, 8,
|
|
8554
|
+
}, null, 8, Pc))), 128))
|
|
8560
8555
|
])) : h("", !0),
|
|
8561
8556
|
i("g", null, [
|
|
8562
8557
|
(s(!0), u(G, null, X(e.data, (y, A) => (s(), u("rect", {
|
|
@@ -8569,27 +8564,27 @@ const md = {
|
|
|
8569
8564
|
class: m(e.barClasses),
|
|
8570
8565
|
onMouseenter: (O) => z(O, y, A),
|
|
8571
8566
|
onMouseleave: v
|
|
8572
|
-
}, null, 42,
|
|
8567
|
+
}, null, 42, jc))), 128))
|
|
8573
8568
|
]),
|
|
8574
|
-
e.showXAxis ? (s(), u("g",
|
|
8569
|
+
e.showXAxis ? (s(), u("g", Bc, [
|
|
8575
8570
|
(s(!0), u(G, null, X(e.labels, (y, A) => (s(), u("text", {
|
|
8576
8571
|
key: `xlabel-${A}`,
|
|
8577
8572
|
x: p(A) + o.value / 2,
|
|
8578
8573
|
y: e.height - e.padding.bottom + 20,
|
|
8579
8574
|
class: m(e.axisLabelClasses),
|
|
8580
8575
|
"text-anchor": "middle"
|
|
8581
|
-
}, x(y), 11,
|
|
8576
|
+
}, x(y), 11, Oc))), 128))
|
|
8582
8577
|
])) : h("", !0),
|
|
8583
|
-
e.showYAxis ? (s(), u("g",
|
|
8578
|
+
e.showYAxis ? (s(), u("g", Fc, [
|
|
8584
8579
|
(s(!0), u(G, null, X(c.value, (y) => (s(), u("text", {
|
|
8585
8580
|
key: `ylabel-${y}`,
|
|
8586
8581
|
x: e.padding.left - 10,
|
|
8587
8582
|
y: y + 4,
|
|
8588
8583
|
class: m(e.axisLabelClasses),
|
|
8589
8584
|
"text-anchor": "end"
|
|
8590
|
-
}, x(C(y)), 11,
|
|
8585
|
+
}, x(C(y)), 11, Vc))), 128))
|
|
8591
8586
|
])) : h("", !0),
|
|
8592
|
-
r.value.visible ? (s(), u("g",
|
|
8587
|
+
r.value.visible ? (s(), u("g", Mc, [
|
|
8593
8588
|
i("rect", {
|
|
8594
8589
|
x: r.value.x - r.value.width / 2,
|
|
8595
8590
|
y: r.value.y - r.value.height - 10,
|
|
@@ -8599,18 +8594,18 @@ const md = {
|
|
|
8599
8594
|
stroke: e.tooltipBorder,
|
|
8600
8595
|
"stroke-width": "1",
|
|
8601
8596
|
rx: "4"
|
|
8602
|
-
}, null, 8,
|
|
8597
|
+
}, null, 8, Dc),
|
|
8603
8598
|
i("text", {
|
|
8604
8599
|
x: r.value.x,
|
|
8605
8600
|
y: r.value.y - r.value.height / 2 - 2,
|
|
8606
8601
|
class: m(e.tooltipTextClasses),
|
|
8607
8602
|
"text-anchor": "middle"
|
|
8608
|
-
}, x(r.value.content), 11,
|
|
8603
|
+
}, x(r.value.content), 11, Ec)
|
|
8609
8604
|
])) : h("", !0)
|
|
8610
|
-
], 8,
|
|
8605
|
+
], 8, Ic))
|
|
8611
8606
|
]));
|
|
8612
8607
|
}
|
|
8613
|
-
},
|
|
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 = {
|
|
8614
8609
|
__name: "LineChart",
|
|
8615
8610
|
props: {
|
|
8616
8611
|
data: {
|
|
@@ -8756,14 +8751,14 @@ const md = {
|
|
|
8756
8751
|
}, z = () => {
|
|
8757
8752
|
r.value.visible = !1;
|
|
8758
8753
|
};
|
|
8759
|
-
return (v, g) => (s(), u("div",
|
|
8754
|
+
return (v, g) => (s(), u("div", Nc, [
|
|
8760
8755
|
(s(), u("svg", {
|
|
8761
8756
|
width: e.width,
|
|
8762
8757
|
height: e.height,
|
|
8763
8758
|
viewBox: `0 0 ${e.width} ${e.height}`,
|
|
8764
8759
|
class: "overflow-visible"
|
|
8765
8760
|
}, [
|
|
8766
|
-
e.showGrid ? (s(), u("g",
|
|
8761
|
+
e.showGrid ? (s(), u("g", _c, [
|
|
8767
8762
|
(s(!0), u(G, null, X(p.value, (f) => (s(), u("line", {
|
|
8768
8763
|
key: `grid-${f}`,
|
|
8769
8764
|
x1: e.padding.left,
|
|
@@ -8773,7 +8768,7 @@ const md = {
|
|
|
8773
8768
|
stroke: e.gridColor,
|
|
8774
8769
|
"stroke-width": "1",
|
|
8775
8770
|
"stroke-dasharray": "2,2"
|
|
8776
|
-
}, null, 8,
|
|
8771
|
+
}, null, 8, qc))), 128))
|
|
8777
8772
|
])) : h("", !0),
|
|
8778
8773
|
i("path", {
|
|
8779
8774
|
d: d.value,
|
|
@@ -8781,8 +8776,8 @@ const md = {
|
|
|
8781
8776
|
"stroke-width": e.strokeWidth,
|
|
8782
8777
|
fill: "none",
|
|
8783
8778
|
class: m(e.lineClasses)
|
|
8784
|
-
}, null, 10,
|
|
8785
|
-
e.showPoints ? (s(), u("g",
|
|
8779
|
+
}, null, 10, Wc),
|
|
8780
|
+
e.showPoints ? (s(), u("g", Yc, [
|
|
8786
8781
|
(s(!0), u(G, null, X(o.value, (f, y) => (s(), u("circle", {
|
|
8787
8782
|
key: `point-${y}`,
|
|
8788
8783
|
cx: f.x,
|
|
@@ -8794,33 +8789,33 @@ const md = {
|
|
|
8794
8789
|
class: m(e.pointClasses),
|
|
8795
8790
|
onMouseenter: (A) => C(A, f.value, y),
|
|
8796
8791
|
onMouseleave: z
|
|
8797
|
-
}, null, 42,
|
|
8792
|
+
}, null, 42, Uc))), 128))
|
|
8798
8793
|
])) : h("", !0),
|
|
8799
8794
|
e.fillArea ? (s(), u("path", {
|
|
8800
8795
|
key: 2,
|
|
8801
8796
|
d: c.value,
|
|
8802
8797
|
fill: e.fillColor,
|
|
8803
8798
|
"fill-opacity": e.fillOpacity
|
|
8804
|
-
}, null, 8,
|
|
8805
|
-
e.showXAxis ? (s(), u("g",
|
|
8799
|
+
}, null, 8, Hc)) : h("", !0),
|
|
8800
|
+
e.showXAxis ? (s(), u("g", Gc, [
|
|
8806
8801
|
(s(!0), u(G, null, X(e.labels, (f, y) => (s(), u("text", {
|
|
8807
8802
|
key: `xlabel-${y}`,
|
|
8808
8803
|
x: w(y),
|
|
8809
8804
|
y: e.height - e.padding.bottom + 20,
|
|
8810
8805
|
class: m(e.axisLabelClasses),
|
|
8811
8806
|
"text-anchor": "middle"
|
|
8812
|
-
}, x(f), 11,
|
|
8807
|
+
}, x(f), 11, Xc))), 128))
|
|
8813
8808
|
])) : h("", !0),
|
|
8814
|
-
e.showYAxis ? (s(), u("g",
|
|
8809
|
+
e.showYAxis ? (s(), u("g", Kc, [
|
|
8815
8810
|
(s(!0), u(G, null, X(p.value, (f) => (s(), u("text", {
|
|
8816
8811
|
key: `ylabel-${f}`,
|
|
8817
8812
|
x: e.padding.left - 10,
|
|
8818
8813
|
y: f + 4,
|
|
8819
8814
|
class: m(e.axisLabelClasses),
|
|
8820
8815
|
"text-anchor": "end"
|
|
8821
|
-
}, x(V(f)), 11,
|
|
8816
|
+
}, x(V(f)), 11, Jc))), 128))
|
|
8822
8817
|
])) : h("", !0),
|
|
8823
|
-
r.value.visible ? (s(), u("g",
|
|
8818
|
+
r.value.visible ? (s(), u("g", Qc, [
|
|
8824
8819
|
i("rect", {
|
|
8825
8820
|
x: r.value.x - r.value.width / 2,
|
|
8826
8821
|
y: r.value.y - r.value.height - 10,
|
|
@@ -8830,30 +8825,30 @@ const md = {
|
|
|
8830
8825
|
stroke: e.tooltipBorder,
|
|
8831
8826
|
"stroke-width": "1",
|
|
8832
8827
|
rx: "4"
|
|
8833
|
-
}, null, 8,
|
|
8828
|
+
}, null, 8, Zc),
|
|
8834
8829
|
i("text", {
|
|
8835
8830
|
x: r.value.x,
|
|
8836
8831
|
y: r.value.y - r.value.height / 2 - 2,
|
|
8837
8832
|
class: m(e.tooltipTextClasses),
|
|
8838
8833
|
"text-anchor": "middle"
|
|
8839
|
-
}, x(r.value.content), 11,
|
|
8834
|
+
}, x(r.value.content), 11, ef)
|
|
8840
8835
|
])) : h("", !0)
|
|
8841
|
-
], 8,
|
|
8836
|
+
], 8, Rc))
|
|
8842
8837
|
]));
|
|
8843
8838
|
}
|
|
8844
|
-
},
|
|
8839
|
+
}, af = { class: "bg-white border-b border-gray-200" }, nf = {
|
|
8845
8840
|
key: 0,
|
|
8846
8841
|
class: "flex items-center gap-3 min-w-64"
|
|
8847
|
-
},
|
|
8842
|
+
}, rf = { class: "relative flex-1" }, sf = { class: "relative flex-1" }, lf = {
|
|
8848
8843
|
key: 1,
|
|
8849
8844
|
class: "min-w-40"
|
|
8850
|
-
},
|
|
8845
|
+
}, of = { class: "relative" }, uf = {
|
|
8851
8846
|
key: 2,
|
|
8852
8847
|
class: "min-w-40"
|
|
8853
|
-
},
|
|
8848
|
+
}, df = { class: "relative" }, cf = ["value"], ff = {
|
|
8854
8849
|
key: 3,
|
|
8855
8850
|
class: "flex items-center gap-2"
|
|
8856
|
-
},
|
|
8851
|
+
}, mf = { class: "flex items-center gap-3 ml-auto" }, gf = { class: "flex items-center gap-3 flex-wrap" }, vf = ["onClick"], bf = {
|
|
8857
8852
|
__name: "GraphFilters",
|
|
8858
8853
|
props: {
|
|
8859
8854
|
showDateFilter: {
|
|
@@ -8978,12 +8973,12 @@ const md = {
|
|
|
8978
8973
|
n("update:dateFrom", te);
|
|
8979
8974
|
}), ge(() => l.value, (te) => {
|
|
8980
8975
|
n("update:dateTo", te);
|
|
8981
|
-
}), (te, B) => (s(), u("div",
|
|
8976
|
+
}), (te, B) => (s(), u("div", af, [
|
|
8982
8977
|
i("div", {
|
|
8983
8978
|
class: m(k.value)
|
|
8984
8979
|
}, [
|
|
8985
|
-
e.showDateFilter ? (s(), u("div",
|
|
8986
|
-
i("div",
|
|
8980
|
+
e.showDateFilter ? (s(), u("div", nf, [
|
|
8981
|
+
i("div", rf, [
|
|
8987
8982
|
P(Q, {
|
|
8988
8983
|
icon: "calendar",
|
|
8989
8984
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -8998,7 +8993,7 @@ const md = {
|
|
|
8998
8993
|
])
|
|
8999
8994
|
]),
|
|
9000
8995
|
B[6] || (B[6] = i("span", { class: "text-gray-500 text-sm" }, "to", -1)),
|
|
9001
|
-
i("div",
|
|
8996
|
+
i("div", sf, [
|
|
9002
8997
|
P(Q, {
|
|
9003
8998
|
icon: "calendar",
|
|
9004
8999
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -9013,8 +9008,8 @@ const md = {
|
|
|
9013
9008
|
])
|
|
9014
9009
|
])
|
|
9015
9010
|
])) : h("", !0),
|
|
9016
|
-
e.showChartTypeFilter ? (s(), u("div",
|
|
9017
|
-
i("div",
|
|
9011
|
+
e.showChartTypeFilter ? (s(), u("div", lf, [
|
|
9012
|
+
i("div", of, [
|
|
9018
9013
|
P(Oe, {
|
|
9019
9014
|
modelValue: o.value,
|
|
9020
9015
|
"onUpdate:modelValue": B[2] || (B[2] = (K) => o.value = K),
|
|
@@ -9034,8 +9029,8 @@ const md = {
|
|
|
9034
9029
|
})
|
|
9035
9030
|
])
|
|
9036
9031
|
])) : h("", !0),
|
|
9037
|
-
e.dataSources.length > 0 ? (s(), u("div",
|
|
9038
|
-
i("div",
|
|
9032
|
+
e.dataSources.length > 0 ? (s(), u("div", uf, [
|
|
9033
|
+
i("div", df, [
|
|
9039
9034
|
P(Oe, {
|
|
9040
9035
|
modelValue: d.value,
|
|
9041
9036
|
"onUpdate:modelValue": B[3] || (B[3] = (K) => d.value = K),
|
|
@@ -9047,7 +9042,7 @@ const md = {
|
|
|
9047
9042
|
(s(!0), u(G, null, X(e.dataSources, (K) => (s(), u("option", {
|
|
9048
9043
|
key: K.value,
|
|
9049
9044
|
value: K.value
|
|
9050
|
-
}, x(K.label), 9,
|
|
9045
|
+
}, x(K.label), 9, cf))), 128))
|
|
9051
9046
|
]),
|
|
9052
9047
|
_: 1
|
|
9053
9048
|
}, 8, ["modelValue", "class"]),
|
|
@@ -9057,10 +9052,10 @@ const md = {
|
|
|
9057
9052
|
})
|
|
9058
9053
|
])
|
|
9059
9054
|
])) : h("", !0),
|
|
9060
|
-
te.$slots.filters ? (s(), u("div",
|
|
9055
|
+
te.$slots.filters ? (s(), u("div", ff, [
|
|
9061
9056
|
F(te.$slots, "filters")
|
|
9062
9057
|
])) : h("", !0),
|
|
9063
|
-
i("div",
|
|
9058
|
+
i("div", mf, [
|
|
9064
9059
|
p.value ? (s(), U(we, {
|
|
9065
9060
|
key: 0,
|
|
9066
9061
|
class: m(z.value),
|
|
@@ -9109,7 +9104,7 @@ const md = {
|
|
|
9109
9104
|
key: 0,
|
|
9110
9105
|
class: m(f.value)
|
|
9111
9106
|
}, [
|
|
9112
|
-
i("div",
|
|
9107
|
+
i("div", gf, [
|
|
9113
9108
|
i("span", {
|
|
9114
9109
|
class: m(y.value)
|
|
9115
9110
|
}, "Active filters:", 2),
|
|
@@ -9130,13 +9125,13 @@ const md = {
|
|
|
9130
9125
|
icon: "xmark",
|
|
9131
9126
|
class: "w-3 h-3"
|
|
9132
9127
|
})
|
|
9133
|
-
], 10,
|
|
9128
|
+
], 10, vf)
|
|
9134
9129
|
], 2))), 128))
|
|
9135
9130
|
])
|
|
9136
9131
|
], 2)) : h("", !0)
|
|
9137
9132
|
]));
|
|
9138
9133
|
}
|
|
9139
|
-
},
|
|
9134
|
+
}, hf = { class: "flex items-start justify-between" }, pf = {
|
|
9140
9135
|
key: 0,
|
|
9141
9136
|
class: "flex items-center gap-2"
|
|
9142
9137
|
}, br = {
|
|
@@ -9216,7 +9211,7 @@ const md = {
|
|
|
9216
9211
|
class: m(l.value)
|
|
9217
9212
|
}, [
|
|
9218
9213
|
F(c.$slots, "header", {}, () => [
|
|
9219
|
-
i("div",
|
|
9214
|
+
i("div", hf, [
|
|
9220
9215
|
i("div", null, [
|
|
9221
9216
|
e.title ? (s(), U(ta, {
|
|
9222
9217
|
key: 0,
|
|
@@ -9237,7 +9232,7 @@ const md = {
|
|
|
9237
9232
|
_: 1
|
|
9238
9233
|
}, 8, ["class"])) : h("", !0)
|
|
9239
9234
|
]),
|
|
9240
|
-
c.$slots.filters ? (s(), u("div",
|
|
9235
|
+
c.$slots.filters ? (s(), u("div", pf, [
|
|
9241
9236
|
F(c.$slots, "filters")
|
|
9242
9237
|
])) : h("", !0)
|
|
9243
9238
|
])
|
|
@@ -9423,19 +9418,19 @@ const md = {
|
|
|
9423
9418
|
], 2)) : h("", !0)
|
|
9424
9419
|
], 2));
|
|
9425
9420
|
}
|
|
9426
|
-
},
|
|
9421
|
+
}, yf = { class: "flex items-center justify-between" }, xf = {
|
|
9427
9422
|
key: 0,
|
|
9428
9423
|
class: "text-sm text-slate-600"
|
|
9429
|
-
},
|
|
9424
|
+
}, wf = {
|
|
9430
9425
|
key: 1,
|
|
9431
9426
|
class: "text-sm text-slate-600"
|
|
9432
|
-
},
|
|
9427
|
+
}, kf = {
|
|
9433
9428
|
key: 2,
|
|
9434
9429
|
class: "flex items-center gap-4"
|
|
9435
|
-
},
|
|
9430
|
+
}, Sf = {
|
|
9436
9431
|
key: 3,
|
|
9437
9432
|
class: "flex items-center gap-4"
|
|
9438
|
-
},
|
|
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 = {
|
|
9439
9434
|
__name: "DataTablePagination",
|
|
9440
9435
|
props: {
|
|
9441
9436
|
currentPage: {
|
|
@@ -9576,13 +9571,13 @@ const md = {
|
|
|
9576
9571
|
key: 0,
|
|
9577
9572
|
class: m(p.value)
|
|
9578
9573
|
}, [
|
|
9579
|
-
i("div",
|
|
9580
|
-
e.selectable && e.selectedCount > 0 ? (s(), u("div",
|
|
9581
|
-
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, [
|
|
9582
9577
|
F(C.$slots, "footer")
|
|
9583
9578
|
])) : h("", !0),
|
|
9584
|
-
e.showPagination ? (s(), u("div",
|
|
9585
|
-
i("div",
|
|
9579
|
+
e.showPagination ? (s(), u("div", Sf, [
|
|
9580
|
+
i("div", $f, [
|
|
9586
9581
|
P(ya, {
|
|
9587
9582
|
for: "pageSize",
|
|
9588
9583
|
class: m(w.value),
|
|
@@ -9609,7 +9604,7 @@ const md = {
|
|
|
9609
9604
|
_: 1
|
|
9610
9605
|
}, 8, ["model-value", "class"])
|
|
9611
9606
|
]),
|
|
9612
|
-
i("div",
|
|
9607
|
+
i("div", Cf, [
|
|
9613
9608
|
i("button", {
|
|
9614
9609
|
disabled: e.currentPage === 1,
|
|
9615
9610
|
class: m(V(!1, e.currentPage === 1)),
|
|
@@ -9629,7 +9624,7 @@ const md = {
|
|
|
9629
9624
|
d: "m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"
|
|
9630
9625
|
})
|
|
9631
9626
|
], -1)
|
|
9632
|
-
])], 10,
|
|
9627
|
+
])], 10, zf),
|
|
9633
9628
|
i("button", {
|
|
9634
9629
|
disabled: e.currentPage === 1,
|
|
9635
9630
|
class: m(V(!1, e.currentPage === 1)),
|
|
@@ -9649,13 +9644,13 @@ const md = {
|
|
|
9649
9644
|
d: "M15.75 19.5L8.25 12l7.5-7.5"
|
|
9650
9645
|
})
|
|
9651
9646
|
], -1)
|
|
9652
|
-
])], 10,
|
|
9653
|
-
i("div",
|
|
9647
|
+
])], 10, Af),
|
|
9648
|
+
i("div", If, [
|
|
9654
9649
|
(s(!0), u(G, null, X(c.value, (v) => (s(), u("button", {
|
|
9655
9650
|
key: v,
|
|
9656
9651
|
class: m(V(v === e.currentPage, !1)),
|
|
9657
9652
|
onClick: (g) => C.$emit("update:currentPage", v)
|
|
9658
|
-
}, x(v), 11,
|
|
9653
|
+
}, x(v), 11, Tf))), 128))
|
|
9659
9654
|
]),
|
|
9660
9655
|
i("button", {
|
|
9661
9656
|
disabled: e.currentPage === e.totalPages,
|
|
@@ -9676,7 +9671,7 @@ const md = {
|
|
|
9676
9671
|
d: "m8.25 4.5 7.5 7.5-7.5 7.5"
|
|
9677
9672
|
})
|
|
9678
9673
|
], -1)
|
|
9679
|
-
])], 10,
|
|
9674
|
+
])], 10, Pf),
|
|
9680
9675
|
i("button", {
|
|
9681
9676
|
disabled: e.currentPage === e.totalPages,
|
|
9682
9677
|
class: m(V(!1, e.currentPage === e.totalPages)),
|
|
@@ -9696,9 +9691,9 @@ const md = {
|
|
|
9696
9691
|
d: "m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"
|
|
9697
9692
|
})
|
|
9698
9693
|
], -1)
|
|
9699
|
-
])], 10,
|
|
9694
|
+
])], 10, jf)
|
|
9700
9695
|
]),
|
|
9701
|
-
i("div",
|
|
9696
|
+
i("div", Bf, " Page " + x(e.currentPage) + " of " + x(e.totalPages), 1)
|
|
9702
9697
|
])) : h("", !0)
|
|
9703
9698
|
])
|
|
9704
9699
|
], 2)) : h("", !0);
|
|
@@ -9708,40 +9703,40 @@ const md = {
|
|
|
9708
9703
|
for (const [n, r] of a)
|
|
9709
9704
|
t[n] = r;
|
|
9710
9705
|
return t;
|
|
9711
|
-
},
|
|
9706
|
+
}, Of = {
|
|
9712
9707
|
key: 0,
|
|
9713
9708
|
class: "loader__backdrop"
|
|
9714
|
-
},
|
|
9709
|
+
}, Ff = { class: "loader__container" }, Vf = {
|
|
9715
9710
|
key: 0,
|
|
9716
9711
|
class: "loader__text loader__text--top"
|
|
9717
|
-
},
|
|
9712
|
+
}, Mf = {
|
|
9718
9713
|
key: 1,
|
|
9719
9714
|
class: "loader__spin"
|
|
9720
|
-
},
|
|
9715
|
+
}, Df = {
|
|
9721
9716
|
key: 2,
|
|
9722
9717
|
class: "loader__pulse"
|
|
9723
|
-
},
|
|
9718
|
+
}, Ef = {
|
|
9724
9719
|
key: 3,
|
|
9725
9720
|
class: "loader__bounce"
|
|
9726
|
-
},
|
|
9721
|
+
}, Lf = {
|
|
9727
9722
|
key: 4,
|
|
9728
9723
|
class: "loader__ripple"
|
|
9729
|
-
},
|
|
9724
|
+
}, Nf = {
|
|
9730
9725
|
key: 5,
|
|
9731
9726
|
class: "loader__bars"
|
|
9732
|
-
},
|
|
9727
|
+
}, Rf = {
|
|
9733
9728
|
key: 6,
|
|
9734
9729
|
class: "loader__dots"
|
|
9735
|
-
},
|
|
9730
|
+
}, _f = {
|
|
9736
9731
|
key: 7,
|
|
9737
9732
|
class: "loader__ring"
|
|
9738
|
-
},
|
|
9733
|
+
}, qf = {
|
|
9739
9734
|
key: 8,
|
|
9740
9735
|
class: "loader__spinner-text"
|
|
9741
|
-
},
|
|
9736
|
+
}, Wf = {
|
|
9742
9737
|
key: 9,
|
|
9743
9738
|
class: "loader__text loader__text--bottom"
|
|
9744
|
-
},
|
|
9739
|
+
}, Yf = {
|
|
9745
9740
|
__name: "Loader",
|
|
9746
9741
|
props: {
|
|
9747
9742
|
loading: {
|
|
@@ -9808,47 +9803,47 @@ const md = {
|
|
|
9808
9803
|
"--loader-bg": e.backgroundColor
|
|
9809
9804
|
})
|
|
9810
9805
|
}, [
|
|
9811
|
-
e.overlay ? (s(), u("div",
|
|
9812
|
-
i("div",
|
|
9813
|
-
e.text && e.textPosition === "top" ? (s(), u("div",
|
|
9814
|
-
e.type === "spin" ? (s(), u("div",
|
|
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, [
|
|
9815
9810
|
(s(), u(G, null, X(3, (n) => i("div", {
|
|
9816
9811
|
key: n,
|
|
9817
9812
|
class: "loader__bounce-dot",
|
|
9818
9813
|
style: me({ animationDelay: `${(n - 1) * 0.1}s` })
|
|
9819
9814
|
}, null, 4)), 64))
|
|
9820
|
-
])) : e.type === "ripple" ? (s(), u("div",
|
|
9815
|
+
])) : e.type === "ripple" ? (s(), u("div", Lf, [
|
|
9821
9816
|
(s(), u(G, null, X(2, (n) => i("div", {
|
|
9822
9817
|
key: n,
|
|
9823
9818
|
class: "loader__ripple-ring",
|
|
9824
9819
|
style: me({ animationDelay: `${(n - 1) * 0.5}s` })
|
|
9825
9820
|
}, null, 4)), 64))
|
|
9826
|
-
])) : e.type === "bars" ? (s(), u("div",
|
|
9821
|
+
])) : e.type === "bars" ? (s(), u("div", Nf, [
|
|
9827
9822
|
(s(), u(G, null, X(5, (n) => i("div", {
|
|
9828
9823
|
key: n,
|
|
9829
9824
|
class: "loader__bar",
|
|
9830
9825
|
style: me({ animationDelay: `${(n - 1) * 0.1}s` })
|
|
9831
9826
|
}, null, 4)), 64))
|
|
9832
|
-
])) : e.type === "dots" ? (s(), u("div",
|
|
9827
|
+
])) : e.type === "dots" ? (s(), u("div", Rf, [
|
|
9833
9828
|
(s(), u(G, null, X(3, (n) => i("div", {
|
|
9834
9829
|
key: n,
|
|
9835
9830
|
class: "loader__dot",
|
|
9836
9831
|
style: me({ animationDelay: `${(n - 1) * 0.16}s` })
|
|
9837
9832
|
}, null, 4)), 64))
|
|
9838
|
-
])) : e.type === "ring" ? (s(), u("div",
|
|
9833
|
+
])) : e.type === "ring" ? (s(), u("div", _f, [...t[0] || (t[0] = [
|
|
9839
9834
|
i("div", { class: "loader__ring-track" }, null, -1),
|
|
9840
9835
|
i("div", { class: "loader__ring-fill" }, null, -1)
|
|
9841
|
-
])])) : e.type === "spinner-text" ? (s(), u("div",
|
|
9836
|
+
])])) : e.type === "spinner-text" ? (s(), u("div", qf, [...t[1] || (t[1] = [
|
|
9842
9837
|
i("div", { class: "loader__spinner" }, null, -1)
|
|
9843
9838
|
])])) : h("", !0),
|
|
9844
|
-
e.text && e.textPosition === "bottom" ? (s(), u("div",
|
|
9839
|
+
e.text && e.textPosition === "bottom" ? (s(), u("div", Wf, x(e.text), 1)) : h("", !0)
|
|
9845
9840
|
])
|
|
9846
9841
|
], 6)) : h("", !0);
|
|
9847
9842
|
}
|
|
9848
|
-
}, 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 = {
|
|
9849
9844
|
key: 1,
|
|
9850
9845
|
class: "flex flex-col"
|
|
9851
|
-
},
|
|
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 = {
|
|
9852
9847
|
__name: "DataTable",
|
|
9853
9848
|
props: {
|
|
9854
9849
|
data: {
|
|
@@ -10182,7 +10177,7 @@ const md = {
|
|
|
10182
10177
|
]),
|
|
10183
10178
|
_: 3
|
|
10184
10179
|
}, 8, ["title", "description", "variant", "padding"])) : h("", !0),
|
|
10185
|
-
i("div",
|
|
10180
|
+
i("div", Uf, [
|
|
10186
10181
|
e.loading ? (s(), U(tt, {
|
|
10187
10182
|
key: 0,
|
|
10188
10183
|
loading: !0,
|
|
@@ -10209,7 +10204,7 @@ const md = {
|
|
|
10209
10204
|
key: 0,
|
|
10210
10205
|
class: m(xe.value)
|
|
10211
10206
|
}, [
|
|
10212
|
-
i("div",
|
|
10207
|
+
i("div", Hf, [
|
|
10213
10208
|
e.bulkLoading ? (s(), U(tt, {
|
|
10214
10209
|
key: 0,
|
|
10215
10210
|
loading: !0,
|
|
@@ -10230,7 +10225,7 @@ const md = {
|
|
|
10230
10225
|
class: m(oe(ue)),
|
|
10231
10226
|
onClick: (he) => le(ue)
|
|
10232
10227
|
}, [
|
|
10233
|
-
i("div",
|
|
10228
|
+
i("div", Xf, [
|
|
10234
10229
|
i("span", null, x(ue.label), 1),
|
|
10235
10230
|
e.sortLoading && d.value === ue.key ? (s(), U(tt, {
|
|
10236
10231
|
key: 0,
|
|
@@ -10238,7 +10233,7 @@ const md = {
|
|
|
10238
10233
|
type: "spin",
|
|
10239
10234
|
size: "small",
|
|
10240
10235
|
color: e.loadingColor
|
|
10241
|
-
}, null, 8, ["color"])) : ue.sortable ? (s(), u("div",
|
|
10236
|
+
}, null, 8, ["color"])) : ue.sortable ? (s(), u("div", Kf, [
|
|
10242
10237
|
(s(), u("svg", {
|
|
10243
10238
|
class: m([Qe(ue, "asc"), "w-3 h-3 transition-colors"]),
|
|
10244
10239
|
fill: "none",
|
|
@@ -10267,7 +10262,7 @@ const md = {
|
|
|
10267
10262
|
])], 2))
|
|
10268
10263
|
])) : h("", !0)
|
|
10269
10264
|
])
|
|
10270
|
-
], 10,
|
|
10265
|
+
], 10, Gf))), 128)),
|
|
10271
10266
|
q.$slots.actions ? (s(), u("th", {
|
|
10272
10267
|
key: 1,
|
|
10273
10268
|
class: m(Ee.value)
|
|
@@ -10277,12 +10272,12 @@ const md = {
|
|
|
10277
10272
|
i("tbody", {
|
|
10278
10273
|
class: m(Y.value)
|
|
10279
10274
|
}, [
|
|
10280
|
-
e.dataLoading && !e.loading ? (s(), u("tr",
|
|
10275
|
+
e.dataLoading && !e.loading ? (s(), u("tr", Jf, [
|
|
10281
10276
|
i("td", {
|
|
10282
10277
|
colspan: g.value,
|
|
10283
10278
|
class: m(qe.value)
|
|
10284
10279
|
}, [
|
|
10285
|
-
i("div",
|
|
10280
|
+
i("div", Zf, [
|
|
10286
10281
|
P(tt, {
|
|
10287
10282
|
loading: !0,
|
|
10288
10283
|
type: "dots",
|
|
@@ -10290,7 +10285,7 @@ const md = {
|
|
|
10290
10285
|
color: e.loadingColor
|
|
10291
10286
|
}, null, 8, ["color"])
|
|
10292
10287
|
])
|
|
10293
|
-
], 10,
|
|
10288
|
+
], 10, Qf)
|
|
10294
10289
|
])) : v.value.length > 0 && !e.loading ? (s(!0), u(G, { key: 1 }, X(v.value, (ue, he) => (s(), U(hr, {
|
|
10295
10290
|
key: O(ue, he),
|
|
10296
10291
|
item: ue,
|
|
@@ -10318,24 +10313,24 @@ const md = {
|
|
|
10318
10313
|
F(q.$slots, `cell-${Ie.key}`, Xe({ ref_for: !0 }, We), void 0, !0)
|
|
10319
10314
|
])
|
|
10320
10315
|
}))
|
|
10321
|
-
]), 1032, ["item", "columns", "index", "selectable", "is-selected", "striped", "hoverable", "clickable-rows", "density", "row-loading", "loading-color"]))), 128)) : !e.loading && !e.dataLoading && e.hasLoaded ? (s(), u("tr",
|
|
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, [
|
|
10322
10317
|
i("td", {
|
|
10323
10318
|
colspan: g.value,
|
|
10324
10319
|
class: m(qe.value)
|
|
10325
10320
|
}, [
|
|
10326
10321
|
F(q.$slots, "empty", {}, () => [
|
|
10327
|
-
i("div",
|
|
10328
|
-
i("div",
|
|
10322
|
+
i("div", am, [
|
|
10323
|
+
i("div", nm, [
|
|
10329
10324
|
P(Q, {
|
|
10330
10325
|
name: "search",
|
|
10331
10326
|
class: "w-12 h-12"
|
|
10332
10327
|
})
|
|
10333
10328
|
]),
|
|
10334
|
-
i("p",
|
|
10335
|
-
i("p",
|
|
10329
|
+
i("p", rm, x(e.emptyText), 1),
|
|
10330
|
+
i("p", sm, x(e.emptySubtitle), 1)
|
|
10336
10331
|
])
|
|
10337
10332
|
], !0)
|
|
10338
|
-
], 10,
|
|
10333
|
+
], 10, tm)
|
|
10339
10334
|
])) : h("", !0),
|
|
10340
10335
|
e.showSkeleton && (e.loading || e.dataLoading) ? (s(!0), u(G, { key: 3 }, X(e.skeletonRows, (ue) => (s(), u("tr", {
|
|
10341
10336
|
key: `skeleton-${ue}`,
|
|
@@ -10390,7 +10385,7 @@ const md = {
|
|
|
10390
10385
|
}, 8, ["current-page", "total-pages", "total", "page-size", "show-pagination", "selectable", "selected-count", "variant", "padding", "loading", "disabled"])) : h("", !0)
|
|
10391
10386
|
], 2));
|
|
10392
10387
|
}
|
|
10393
|
-
},
|
|
10388
|
+
}, om = /* @__PURE__ */ At(lm, [["__scopeId", "data-v-a9cdb37e"]]), im = {
|
|
10394
10389
|
__name: "DataTableCell",
|
|
10395
10390
|
props: {
|
|
10396
10391
|
item: {
|
|
@@ -10478,22 +10473,22 @@ const md = {
|
|
|
10478
10473
|
])
|
|
10479
10474
|
], 2));
|
|
10480
10475
|
}
|
|
10481
|
-
},
|
|
10476
|
+
}, um = { class: "bg-white border-b border-gray-200" }, dm = {
|
|
10482
10477
|
key: 0,
|
|
10483
10478
|
class: "flex-1 min-w-80 max-w-md"
|
|
10484
|
-
},
|
|
10479
|
+
}, cm = { class: "relative group" }, fm = ["model-value", "placeholder"], mm = { class: "relative" }, gm = { value: "" }, vm = ["value"], bm = {
|
|
10485
10480
|
key: 1,
|
|
10486
10481
|
class: "min-w-36"
|
|
10487
|
-
},
|
|
10482
|
+
}, hm = { class: "relative" }, pm = ["value"], ym = {
|
|
10488
10483
|
key: 3,
|
|
10489
10484
|
class: "flex items-center gap-2"
|
|
10490
|
-
},
|
|
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 = {
|
|
10491
10486
|
key: 0,
|
|
10492
10487
|
class: "flex flex-wrap gap-2 mt-2"
|
|
10493
|
-
},
|
|
10488
|
+
}, Rm = ["onClick"], _m = { class: "flex items-center gap-3 flex-wrap" }, qm = ["onClick"], Wm = {
|
|
10494
10489
|
key: 2,
|
|
10495
10490
|
class: "px-6 py-3 bg-gray-50 border-t border-gray-200"
|
|
10496
|
-
},
|
|
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 = {
|
|
10497
10492
|
__name: "DataTableFilters",
|
|
10498
10493
|
props: {
|
|
10499
10494
|
searchQuery: {
|
|
@@ -10892,12 +10887,12 @@ const md = {
|
|
|
10892
10887
|
break;
|
|
10893
10888
|
}
|
|
10894
10889
|
};
|
|
10895
|
-
return (R, T) => (s(), u("div",
|
|
10890
|
+
return (R, T) => (s(), u("div", um, [
|
|
10896
10891
|
i("div", {
|
|
10897
10892
|
class: m(K.value)
|
|
10898
10893
|
}, [
|
|
10899
|
-
e.showSearch ? (s(), u("div",
|
|
10900
|
-
i("div",
|
|
10894
|
+
e.showSearch ? (s(), u("div", dm, [
|
|
10895
|
+
i("div", cm, [
|
|
10901
10896
|
P(Q, {
|
|
10902
10897
|
icon: "magnifying-glass",
|
|
10903
10898
|
class: m(J.value)
|
|
@@ -10907,7 +10902,7 @@ const md = {
|
|
|
10907
10902
|
placeholder: e.searchPlaceholder,
|
|
10908
10903
|
class: m($.value),
|
|
10909
10904
|
onInput: T[0] || (T[0] = (I) => R.$emit("update:searchQuery", I.target.value))
|
|
10910
|
-
}, null, 42,
|
|
10905
|
+
}, null, 42, fm),
|
|
10911
10906
|
e.searchQuery ? (s(), u("button", {
|
|
10912
10907
|
key: 0,
|
|
10913
10908
|
class: m(M.value),
|
|
@@ -10924,18 +10919,18 @@ const md = {
|
|
|
10924
10919
|
key: I.key,
|
|
10925
10920
|
class: "min-w-36"
|
|
10926
10921
|
}, [
|
|
10927
|
-
i("div",
|
|
10922
|
+
i("div", mm, [
|
|
10928
10923
|
P(Oe, {
|
|
10929
10924
|
"model-value": I.value,
|
|
10930
10925
|
class: m(Y.value),
|
|
10931
10926
|
onChange: (_) => c(I.key, _.target.value)
|
|
10932
10927
|
}, {
|
|
10933
10928
|
default: N(() => [
|
|
10934
|
-
i("option",
|
|
10929
|
+
i("option", gm, x(I.placeholder || `All ${I.label}`), 1),
|
|
10935
10930
|
(s(!0), u(G, null, X(I.options, (_) => (s(), u("option", {
|
|
10936
10931
|
key: _.value,
|
|
10937
10932
|
value: _.value
|
|
10938
|
-
}, x(_.label), 9,
|
|
10933
|
+
}, x(_.label), 9, vm))), 128))
|
|
10939
10934
|
]),
|
|
10940
10935
|
_: 2
|
|
10941
10936
|
}, 1032, ["model-value", "class", "onChange"]),
|
|
@@ -10945,8 +10940,8 @@ const md = {
|
|
|
10945
10940
|
})
|
|
10946
10941
|
])
|
|
10947
10942
|
]))), 128)),
|
|
10948
|
-
e.showFilters && e.statusOptions.length > 0 ? (s(), u("div",
|
|
10949
|
-
i("div",
|
|
10943
|
+
e.showFilters && e.statusOptions.length > 0 ? (s(), u("div", bm, [
|
|
10944
|
+
i("div", hm, [
|
|
10950
10945
|
P(Oe, {
|
|
10951
10946
|
"model-value": e.selectedStatus,
|
|
10952
10947
|
class: m(Y.value),
|
|
@@ -10957,7 +10952,7 @@ const md = {
|
|
|
10957
10952
|
(s(!0), u(G, null, X(e.statusOptions, (I) => (s(), u("option", {
|
|
10958
10953
|
key: I.value,
|
|
10959
10954
|
value: I.value
|
|
10960
|
-
}, x(I.label), 9,
|
|
10955
|
+
}, x(I.label), 9, pm))), 128))
|
|
10961
10956
|
]),
|
|
10962
10957
|
_: 1
|
|
10963
10958
|
}, 8, ["model-value", "class"]),
|
|
@@ -10986,10 +10981,10 @@ const md = {
|
|
|
10986
10981
|
class: "w-4 h-4 ml-1"
|
|
10987
10982
|
}, null, 8, ["icon"])
|
|
10988
10983
|
], 2)) : h("", !0),
|
|
10989
|
-
R.$slots.filters ? (s(), u("div",
|
|
10984
|
+
R.$slots.filters ? (s(), u("div", ym, [
|
|
10990
10985
|
F(R.$slots, "filters")
|
|
10991
10986
|
])) : h("", !0),
|
|
10992
|
-
i("div",
|
|
10987
|
+
i("div", xm, [
|
|
10993
10988
|
le.value ? (s(), U(we, {
|
|
10994
10989
|
key: 0,
|
|
10995
10990
|
class: m(ae.value),
|
|
@@ -11041,12 +11036,12 @@ const md = {
|
|
|
11041
11036
|
key: 0,
|
|
11042
11037
|
class: m(xe.value)
|
|
11043
11038
|
}, [
|
|
11044
|
-
i("div",
|
|
11039
|
+
i("div", wm, [
|
|
11045
11040
|
(s(!0), u(G, null, X(e.dateFilters, (I) => (s(), u("div", {
|
|
11046
11041
|
key: I.key,
|
|
11047
11042
|
class: "space-y-3"
|
|
11048
11043
|
}, [
|
|
11049
|
-
i("div",
|
|
11044
|
+
i("div", km, [
|
|
11050
11045
|
i("label", {
|
|
11051
11046
|
class: m(qe.value)
|
|
11052
11047
|
}, x(I.label), 3),
|
|
@@ -11054,8 +11049,8 @@ const md = {
|
|
|
11054
11049
|
class: m(k(I))
|
|
11055
11050
|
}, x(p(I) ? "Active" : "Inactive"), 3)
|
|
11056
11051
|
]),
|
|
11057
|
-
i("div",
|
|
11058
|
-
i("div",
|
|
11052
|
+
i("div", Sm, [
|
|
11053
|
+
i("div", $m, [
|
|
11059
11054
|
P(Q, {
|
|
11060
11055
|
icon: "calendar",
|
|
11061
11056
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -11066,12 +11061,12 @@ const md = {
|
|
|
11066
11061
|
class: m(Ee.value),
|
|
11067
11062
|
placeholder: `From ${I.label}`,
|
|
11068
11063
|
onInput: (_) => V(I.key, "from", _.target.value)
|
|
11069
|
-
}, null, 42,
|
|
11064
|
+
}, null, 42, Cm)
|
|
11070
11065
|
]),
|
|
11071
11066
|
i("span", {
|
|
11072
11067
|
class: m(Qe.value)
|
|
11073
11068
|
}, "to", 2),
|
|
11074
|
-
i("div",
|
|
11069
|
+
i("div", zm, [
|
|
11075
11070
|
P(Q, {
|
|
11076
11071
|
icon: "calendar",
|
|
11077
11072
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
@@ -11082,7 +11077,7 @@ const md = {
|
|
|
11082
11077
|
class: m(Ee.value),
|
|
11083
11078
|
placeholder: `To ${I.label}`,
|
|
11084
11079
|
onInput: (_) => V(I.key, "to", _.target.value)
|
|
11085
|
-
}, null, 42,
|
|
11080
|
+
}, null, 42, Am)
|
|
11086
11081
|
]),
|
|
11087
11082
|
p(I) ? (s(), u("button", {
|
|
11088
11083
|
key: 0,
|
|
@@ -11094,14 +11089,14 @@ const md = {
|
|
|
11094
11089
|
icon: "xmark",
|
|
11095
11090
|
class: "w-4 h-4"
|
|
11096
11091
|
})
|
|
11097
|
-
], 10,
|
|
11092
|
+
], 10, Im)) : h("", !0)
|
|
11098
11093
|
])
|
|
11099
11094
|
]))), 128)),
|
|
11100
11095
|
(s(!0), u(G, null, X(e.numberFilters, (I) => (s(), u("div", {
|
|
11101
11096
|
key: I.key,
|
|
11102
11097
|
class: "space-y-3"
|
|
11103
11098
|
}, [
|
|
11104
|
-
i("div",
|
|
11099
|
+
i("div", Tm, [
|
|
11105
11100
|
i("label", {
|
|
11106
11101
|
class: m(qe.value)
|
|
11107
11102
|
}, x(I.label), 3),
|
|
@@ -11109,8 +11104,8 @@ const md = {
|
|
|
11109
11104
|
class: m(v(I))
|
|
11110
11105
|
}, x(C(I) ? "Active" : "Inactive"), 3)
|
|
11111
11106
|
]),
|
|
11112
|
-
i("div",
|
|
11113
|
-
i("div",
|
|
11107
|
+
i("div", Pm, [
|
|
11108
|
+
i("div", jm, [
|
|
11114
11109
|
i("input", {
|
|
11115
11110
|
type: "number",
|
|
11116
11111
|
"model-value": I.min,
|
|
@@ -11118,12 +11113,12 @@ const md = {
|
|
|
11118
11113
|
placeholder: `Min ${I.label}`,
|
|
11119
11114
|
step: I.step || 1,
|
|
11120
11115
|
onInput: (_) => g(I.key, "min", _.target.value)
|
|
11121
|
-
}, null, 42,
|
|
11116
|
+
}, null, 42, Bm)
|
|
11122
11117
|
]),
|
|
11123
11118
|
i("span", {
|
|
11124
11119
|
class: m(Qe.value)
|
|
11125
11120
|
}, "to", 2),
|
|
11126
|
-
i("div",
|
|
11121
|
+
i("div", Om, [
|
|
11127
11122
|
i("input", {
|
|
11128
11123
|
type: "number",
|
|
11129
11124
|
"model-value": I.max,
|
|
@@ -11131,7 +11126,7 @@ const md = {
|
|
|
11131
11126
|
placeholder: `Max ${I.label}`,
|
|
11132
11127
|
step: I.step || 1,
|
|
11133
11128
|
onInput: (_) => g(I.key, "max", _.target.value)
|
|
11134
|
-
}, null, 42,
|
|
11129
|
+
}, null, 42, Fm)
|
|
11135
11130
|
]),
|
|
11136
11131
|
C(I) ? (s(), u("button", {
|
|
11137
11132
|
key: 0,
|
|
@@ -11143,14 +11138,14 @@ const md = {
|
|
|
11143
11138
|
icon: "xmark",
|
|
11144
11139
|
class: "w-4 h-4"
|
|
11145
11140
|
})
|
|
11146
|
-
], 10,
|
|
11141
|
+
], 10, Vm)) : h("", !0)
|
|
11147
11142
|
])
|
|
11148
11143
|
]))), 128)),
|
|
11149
11144
|
(s(!0), u(G, null, X(e.multiSelectFilters, (I) => (s(), u("div", {
|
|
11150
11145
|
key: I.key,
|
|
11151
11146
|
class: "space-y-3"
|
|
11152
11147
|
}, [
|
|
11153
|
-
i("div",
|
|
11148
|
+
i("div", Mm, [
|
|
11154
11149
|
i("label", {
|
|
11155
11150
|
class: m(qe.value)
|
|
11156
11151
|
}, x(I.label), 3),
|
|
@@ -11158,18 +11153,18 @@ const md = {
|
|
|
11158
11153
|
class: m(y(I))
|
|
11159
11154
|
}, x(f(I) ? `${I.selected.length} selected` : "None"), 3)
|
|
11160
11155
|
]),
|
|
11161
|
-
i("div",
|
|
11156
|
+
i("div", Dm, [
|
|
11162
11157
|
P(Oe, {
|
|
11163
11158
|
"model-value": "",
|
|
11164
11159
|
class: m(Y.value),
|
|
11165
11160
|
onChange: (_) => A(I.key, _.target.value)
|
|
11166
11161
|
}, {
|
|
11167
11162
|
default: N(() => [
|
|
11168
|
-
i("option",
|
|
11163
|
+
i("option", Em, " Select " + x(I.label), 1),
|
|
11169
11164
|
(s(!0), u(G, null, X(I.options, (_) => (s(), u("option", {
|
|
11170
11165
|
key: _.value,
|
|
11171
11166
|
value: _.value
|
|
11172
|
-
}, x(_.label), 9,
|
|
11167
|
+
}, x(_.label), 9, Lm))), 128))
|
|
11173
11168
|
]),
|
|
11174
11169
|
_: 2
|
|
11175
11170
|
}, 1032, ["class", "onChange"]),
|
|
@@ -11178,7 +11173,7 @@ const md = {
|
|
|
11178
11173
|
class: "absolute right-2 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400 pointer-events-none"
|
|
11179
11174
|
})
|
|
11180
11175
|
]),
|
|
11181
|
-
I.selected.length > 0 ? (s(), u("div",
|
|
11176
|
+
I.selected.length > 0 ? (s(), u("div", Nm, [
|
|
11182
11177
|
(s(!0), u(G, null, X(I.selected, (_) => (s(), u("span", {
|
|
11183
11178
|
key: _,
|
|
11184
11179
|
class: "inline-flex items-center gap-1 bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full"
|
|
@@ -11192,7 +11187,7 @@ const md = {
|
|
|
11192
11187
|
icon: "xmark",
|
|
11193
11188
|
class: "w-3 h-3"
|
|
11194
11189
|
})
|
|
11195
|
-
], 8,
|
|
11190
|
+
], 8, Rm)
|
|
11196
11191
|
]))), 128))
|
|
11197
11192
|
])) : h("", !0)
|
|
11198
11193
|
]))), 128))
|
|
@@ -11202,7 +11197,7 @@ const md = {
|
|
|
11202
11197
|
key: 1,
|
|
11203
11198
|
class: m(he.value)
|
|
11204
11199
|
}, [
|
|
11205
|
-
i("div",
|
|
11200
|
+
i("div", _m, [
|
|
11206
11201
|
i("span", {
|
|
11207
11202
|
class: m(Ie.value)
|
|
11208
11203
|
}, "Active filters:", 2),
|
|
@@ -11223,15 +11218,15 @@ const md = {
|
|
|
11223
11218
|
icon: "xmark",
|
|
11224
11219
|
class: "w-3 h-3"
|
|
11225
11220
|
})
|
|
11226
|
-
], 10,
|
|
11221
|
+
], 10, qm)
|
|
11227
11222
|
], 2))), 128))
|
|
11228
11223
|
])
|
|
11229
11224
|
], 2)) : h("", !0),
|
|
11230
|
-
e.showTableInfo ? (s(), u("div",
|
|
11231
|
-
i("div",
|
|
11232
|
-
i("div",
|
|
11233
|
-
i("span",
|
|
11234
|
-
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),
|
|
11235
11230
|
ee(" " + x(e.itemLabel || "items") + " found ", 1)
|
|
11236
11231
|
])
|
|
11237
11232
|
])
|
|
@@ -11239,16 +11234,16 @@ const md = {
|
|
|
11239
11234
|
])) : h("", !0)
|
|
11240
11235
|
]));
|
|
11241
11236
|
}
|
|
11242
|
-
},
|
|
11237
|
+
}, Km = { class: "flex items-center gap-3" }, Jm = {
|
|
11243
11238
|
key: 0,
|
|
11244
11239
|
class: "flex items-center gap-3"
|
|
11245
|
-
},
|
|
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 = {
|
|
11246
11241
|
key: 1,
|
|
11247
11242
|
class: "relative"
|
|
11248
|
-
},
|
|
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 = {
|
|
11249
11244
|
key: 3,
|
|
11250
11245
|
class: "flex items-center gap-2"
|
|
11251
|
-
},
|
|
11246
|
+
}, ug = [
|
|
11252
11247
|
{
|
|
11253
11248
|
key: "delete",
|
|
11254
11249
|
label: "Delete",
|
|
@@ -11265,13 +11260,13 @@ const md = {
|
|
|
11265
11260
|
},
|
|
11266
11261
|
variant: "primary"
|
|
11267
11262
|
}
|
|
11268
|
-
],
|
|
11263
|
+
], dg = {
|
|
11269
11264
|
name: "DataTableToolBar"
|
|
11270
|
-
},
|
|
11265
|
+
}, cg = /* @__PURE__ */ Object.assign(dg, {
|
|
11271
11266
|
props: {
|
|
11272
11267
|
selectedItems: { type: Array, default: () => [] },
|
|
11273
11268
|
totalItems: { type: Number, default: 0 },
|
|
11274
|
-
bulkActions: { type: Array, default: () =>
|
|
11269
|
+
bulkActions: { type: Array, default: () => ug },
|
|
11275
11270
|
showDensityToggle: { type: Boolean, default: !0 },
|
|
11276
11271
|
showColumnToggle: { type: Boolean, default: !0 },
|
|
11277
11272
|
showRefresh: { type: Boolean, default: !0 },
|
|
@@ -11397,10 +11392,10 @@ const md = {
|
|
|
11397
11392
|
return s(), u("div", {
|
|
11398
11393
|
class: m(C.value)
|
|
11399
11394
|
}, [
|
|
11400
|
-
i("div",
|
|
11401
|
-
d.value > 0 ? (s(), u("div",
|
|
11402
|
-
i("span",
|
|
11403
|
-
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, [
|
|
11404
11399
|
(s(!0), u(G, null, X(e.bulkActions, (ne) => (s(), U(we, {
|
|
11405
11400
|
key: ne.key,
|
|
11406
11401
|
class: m(le(ne)),
|
|
@@ -11422,7 +11417,7 @@ const md = {
|
|
|
11422
11417
|
class: m(z.value)
|
|
11423
11418
|
}, x(e.totalItems) + " " + x(e.totalItems === 1 ? "item" : "items"), 3)) : h("", !0)
|
|
11424
11419
|
]),
|
|
11425
|
-
i("div",
|
|
11420
|
+
i("div", eg, [
|
|
11426
11421
|
e.showDensityToggle ? (s(), u("div", {
|
|
11427
11422
|
key: 0,
|
|
11428
11423
|
class: m(v.value)
|
|
@@ -11438,9 +11433,9 @@ const md = {
|
|
|
11438
11433
|
icon: ne.icon,
|
|
11439
11434
|
class: "w-4 h-4"
|
|
11440
11435
|
}, null, 8, ["icon"])
|
|
11441
|
-
], 10,
|
|
11436
|
+
], 10, tg)), 64))
|
|
11442
11437
|
], 2)) : h("", !0),
|
|
11443
|
-
e.showColumnToggle ? (s(), u("div",
|
|
11438
|
+
e.showColumnToggle ? (s(), u("div", ag, [
|
|
11444
11439
|
i("button", {
|
|
11445
11440
|
ref_key: "columnToggleButton",
|
|
11446
11441
|
ref: l,
|
|
@@ -11461,22 +11456,22 @@ const md = {
|
|
|
11461
11456
|
onClick: Y[0] || (Y[0] = Ne(() => {
|
|
11462
11457
|
}, ["stop"]))
|
|
11463
11458
|
}, [
|
|
11464
|
-
i("div",
|
|
11459
|
+
i("div", ng, [
|
|
11465
11460
|
i("div", {
|
|
11466
11461
|
class: m(y.value)
|
|
11467
11462
|
}, " Show Columns ", 2),
|
|
11468
|
-
i("div",
|
|
11463
|
+
i("div", rg, [
|
|
11469
11464
|
(s(!0), u(G, null, X(e.toggleableColumns, (ne) => (s(), u("div", {
|
|
11470
11465
|
key: ne.key,
|
|
11471
11466
|
class: m(A.value)
|
|
11472
11467
|
}, [
|
|
11473
|
-
i("label",
|
|
11468
|
+
i("label", sg, [
|
|
11474
11469
|
i("input", {
|
|
11475
11470
|
type: "checkbox",
|
|
11476
11471
|
checked: J(ne.key),
|
|
11477
11472
|
class: m(O.value),
|
|
11478
11473
|
onChange: (xe) => $(ne.key, xe.target.checked)
|
|
11479
|
-
}, null, 42,
|
|
11474
|
+
}, null, 42, lg),
|
|
11480
11475
|
i("span", {
|
|
11481
11476
|
class: m(j.value)
|
|
11482
11477
|
}, x(ne.label), 3)
|
|
@@ -11500,15 +11495,15 @@ const md = {
|
|
|
11500
11495
|
class: m(K())
|
|
11501
11496
|
}, null, 8, ["class"]),
|
|
11502
11497
|
Y[3] || (Y[3] = i("span", null, "Refresh", -1))
|
|
11503
|
-
], 10,
|
|
11504
|
-
M.$slots.actions ? (s(), u("div",
|
|
11498
|
+
], 10, og)) : h("", !0),
|
|
11499
|
+
M.$slots.actions ? (s(), u("div", ig, [
|
|
11505
11500
|
F(M.$slots, "actions")
|
|
11506
11501
|
])) : h("", !0)
|
|
11507
11502
|
])
|
|
11508
11503
|
], 2);
|
|
11509
11504
|
};
|
|
11510
11505
|
}
|
|
11511
|
-
}),
|
|
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 = {
|
|
11512
11507
|
__name: "Footer",
|
|
11513
11508
|
props: {
|
|
11514
11509
|
className: {
|
|
@@ -11522,9 +11517,9 @@ const md = {
|
|
|
11522
11517
|
return s(), u("footer", {
|
|
11523
11518
|
class: m(L(S)("bg-gray-50 border-t border-gray-200", e.className))
|
|
11524
11519
|
}, [
|
|
11525
|
-
i("div",
|
|
11526
|
-
i("div",
|
|
11527
|
-
i("div",
|
|
11520
|
+
i("div", fg, [
|
|
11521
|
+
i("div", mg, [
|
|
11522
|
+
i("div", gg, [
|
|
11528
11523
|
F(a.$slots, "brand", {}, () => [
|
|
11529
11524
|
P(n, { class: "mb-4" }),
|
|
11530
11525
|
P(r, { class: "text-gray-600 max-w-md" }, {
|
|
@@ -11546,7 +11541,7 @@ const md = {
|
|
|
11546
11541
|
])]),
|
|
11547
11542
|
_: 1
|
|
11548
11543
|
}),
|
|
11549
|
-
i("div",
|
|
11544
|
+
i("div", vg, [
|
|
11550
11545
|
P(o, {
|
|
11551
11546
|
href: "#",
|
|
11552
11547
|
class: "block text-gray-600 hover:text-gray-900"
|
|
@@ -11588,7 +11583,7 @@ const md = {
|
|
|
11588
11583
|
])]),
|
|
11589
11584
|
_: 1
|
|
11590
11585
|
}),
|
|
11591
|
-
i("div",
|
|
11586
|
+
i("div", bg, [
|
|
11592
11587
|
P(o, {
|
|
11593
11588
|
href: "#",
|
|
11594
11589
|
class: "text-gray-600 hover:text-gray-900"
|
|
@@ -11618,7 +11613,7 @@ const md = {
|
|
|
11618
11613
|
])
|
|
11619
11614
|
]),
|
|
11620
11615
|
P(c, { class: "my-8" }),
|
|
11621
|
-
i("div",
|
|
11616
|
+
i("div", hg, [
|
|
11622
11617
|
F(a.$slots, "copyright", {}, () => [
|
|
11623
11618
|
P(r, { class: "text-gray-600" }, {
|
|
11624
11619
|
default: N(() => [
|
|
@@ -11628,7 +11623,7 @@ const md = {
|
|
|
11628
11623
|
})
|
|
11629
11624
|
]),
|
|
11630
11625
|
F(a.$slots, "legal", {}, () => [
|
|
11631
|
-
i("div",
|
|
11626
|
+
i("div", pg, [
|
|
11632
11627
|
P(o, {
|
|
11633
11628
|
href: "#",
|
|
11634
11629
|
class: "text-gray-600 hover:text-gray-900"
|
|
@@ -11654,28 +11649,28 @@ const md = {
|
|
|
11654
11649
|
], 2);
|
|
11655
11650
|
};
|
|
11656
11651
|
}
|
|
11657
|
-
},
|
|
11652
|
+
}, xg = { class: "flex items-center justify-between h-16 px-4 md:px-6" }, wg = { class: "flex items-center" }, kg = {
|
|
11658
11653
|
key: 0,
|
|
11659
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"
|
|
11660
|
-
},
|
|
11655
|
+
}, Sg = { class: "text-lg font-bold text-blue-900 truncate max-w-[200px]" }, $g = {
|
|
11661
11656
|
key: 0,
|
|
11662
11657
|
class: "text-xs text-blue-600 truncate font-medium"
|
|
11663
|
-
},
|
|
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 = {
|
|
11664
11659
|
key: 1,
|
|
11665
11660
|
class: "relative"
|
|
11666
|
-
},
|
|
11661
|
+
}, Pg = {
|
|
11667
11662
|
key: 0,
|
|
11668
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"
|
|
11669
|
-
},
|
|
11664
|
+
}, jg = {
|
|
11670
11665
|
key: 0,
|
|
11671
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"
|
|
11672
|
-
},
|
|
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 = {
|
|
11673
11668
|
key: 0,
|
|
11674
11669
|
class: "absolute right-0 mt-2 w-58 bg-white rounded-lg shadow-lg border border-gray-200 z-50"
|
|
11675
|
-
},
|
|
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 = {
|
|
11676
11671
|
key: 0,
|
|
11677
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"
|
|
11678
|
-
},
|
|
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 = {
|
|
11679
11674
|
__name: "Header",
|
|
11680
11675
|
props: {
|
|
11681
11676
|
sidebarWidth: { type: Number, default: 256 },
|
|
@@ -11718,14 +11713,14 @@ const md = {
|
|
|
11718
11713
|
)),
|
|
11719
11714
|
style: { left: "0" }
|
|
11720
11715
|
}, [
|
|
11721
|
-
i("div",
|
|
11722
|
-
i("div",
|
|
11723
|
-
e.currentOrganisation ? (s(), u("div",
|
|
11724
|
-
i("p",
|
|
11725
|
-
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)
|
|
11726
11721
|
])) : h("", !0),
|
|
11727
|
-
i("nav",
|
|
11728
|
-
i("span",
|
|
11722
|
+
i("nav", Cg, [
|
|
11723
|
+
i("span", zg, x(e.currentSection), 1),
|
|
11729
11724
|
j[4] || (j[4] = i("svg", {
|
|
11730
11725
|
class: "w-4 h-4 text-gray-400 flex-shrink-0",
|
|
11731
11726
|
fill: "none",
|
|
@@ -11739,10 +11734,10 @@ const md = {
|
|
|
11739
11734
|
d: "M9 5l7 7-7 7"
|
|
11740
11735
|
})
|
|
11741
11736
|
], -1)),
|
|
11742
|
-
i("span",
|
|
11737
|
+
i("span", Ag, x(e.currentPage), 1)
|
|
11743
11738
|
])
|
|
11744
11739
|
]),
|
|
11745
|
-
i("div",
|
|
11740
|
+
i("div", Ig, [
|
|
11746
11741
|
p.value ? (s(), u("button", {
|
|
11747
11742
|
key: 0,
|
|
11748
11743
|
class: "p-2 text-gray-400 hover:text-gray-600 rounded-lg hover:bg-gray-50 transition-colors",
|
|
@@ -11762,7 +11757,7 @@ const md = {
|
|
|
11762
11757
|
})
|
|
11763
11758
|
], -1)
|
|
11764
11759
|
])])) : h("", !0),
|
|
11765
|
-
!p.value || c.value ? (s(), u("div",
|
|
11760
|
+
!p.value || c.value ? (s(), u("div", Tg, [
|
|
11766
11761
|
j[6] || (j[6] = i("div", { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" }, [
|
|
11767
11762
|
i("svg", {
|
|
11768
11763
|
class: "w-4 h-4 text-gray-400",
|
|
@@ -11833,7 +11828,7 @@ const md = {
|
|
|
11833
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"
|
|
11834
11829
|
})
|
|
11835
11830
|
], -1)),
|
|
11836
|
-
d.value > 0 ? (s(), u("span",
|
|
11831
|
+
d.value > 0 ? (s(), u("span", Pg, x(d.value), 1)) : h("", !0)
|
|
11837
11832
|
]),
|
|
11838
11833
|
P(fe, {
|
|
11839
11834
|
"enter-active-class": "transition-all duration-300 ease-out",
|
|
@@ -11844,20 +11839,20 @@ const md = {
|
|
|
11844
11839
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
|
11845
11840
|
}, {
|
|
11846
11841
|
default: N(() => [
|
|
11847
|
-
l.value ? (s(), u("div",
|
|
11842
|
+
l.value ? (s(), u("div", jg, [
|
|
11848
11843
|
j[10] || (j[10] = i("div", { class: "p-4 border-b border-gray-200" }, [
|
|
11849
11844
|
i("h3", { class: "text-lg font-semibold text-gray-900" }, " Notifications ")
|
|
11850
11845
|
], -1)),
|
|
11851
|
-
i("div",
|
|
11846
|
+
i("div", Bg, [
|
|
11852
11847
|
(s(!0), u(G, null, X(e.notifications, (H) => (s(), u("div", {
|
|
11853
11848
|
key: H.id,
|
|
11854
11849
|
class: "p-4 border-b border-gray-100 hover:bg-gray-50 cursor-pointer"
|
|
11855
11850
|
}, [
|
|
11856
|
-
i("div",
|
|
11851
|
+
i("div", Og, [
|
|
11857
11852
|
j[9] || (j[9] = i("div", { class: "flex-shrink-0 w-2 h-2 mt-2 bg-blue-500 rounded-full" }, null, -1)),
|
|
11858
|
-
i("div",
|
|
11859
|
-
i("p",
|
|
11860
|
-
i("p",
|
|
11853
|
+
i("div", Fg, [
|
|
11854
|
+
i("p", Vg, x(H.title), 1),
|
|
11855
|
+
i("p", Mg, x(H.time), 1)
|
|
11861
11856
|
])
|
|
11862
11857
|
])
|
|
11863
11858
|
]))), 128))
|
|
@@ -11869,17 +11864,17 @@ const md = {
|
|
|
11869
11864
|
]),
|
|
11870
11865
|
_: 1
|
|
11871
11866
|
}),
|
|
11872
|
-
i("div",
|
|
11867
|
+
i("div", Dg, [
|
|
11873
11868
|
i("button", {
|
|
11874
11869
|
class: "flex items-center space-x-2 md:space-x-3 p-2 rounded-lg hover:bg-gray-50 transition-colors",
|
|
11875
11870
|
onClick: C
|
|
11876
11871
|
}, [
|
|
11877
|
-
i("div",
|
|
11878
|
-
i("span",
|
|
11872
|
+
i("div", Eg, [
|
|
11873
|
+
i("span", Lg, x(w.value), 1)
|
|
11879
11874
|
]),
|
|
11880
|
-
i("div",
|
|
11881
|
-
i("p",
|
|
11882
|
-
i("p",
|
|
11875
|
+
i("div", Ng, [
|
|
11876
|
+
i("p", Rg, x(e.user.name), 1),
|
|
11877
|
+
i("p", _g, x(k.value), 1)
|
|
11883
11878
|
]),
|
|
11884
11879
|
j[12] || (j[12] = i("svg", {
|
|
11885
11880
|
class: "w-4 h-4 text-gray-400",
|
|
@@ -11904,12 +11899,12 @@ const md = {
|
|
|
11904
11899
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
|
11905
11900
|
}, {
|
|
11906
11901
|
default: N(() => [
|
|
11907
|
-
o.value ? (s(), u("div",
|
|
11908
|
-
i("div",
|
|
11909
|
-
i("p",
|
|
11910
|
-
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)
|
|
11911
11906
|
]),
|
|
11912
|
-
i("div",
|
|
11907
|
+
i("div", Hg, [
|
|
11913
11908
|
(s(!0), u(G, null, X(e.profileMenuItems, (H) => (s(), u(G, {
|
|
11914
11909
|
key: H.name
|
|
11915
11910
|
}, [
|
|
@@ -11923,7 +11918,7 @@ const md = {
|
|
|
11923
11918
|
onClick: (le) => z(H)
|
|
11924
11919
|
}, {
|
|
11925
11920
|
default: N(() => [
|
|
11926
|
-
v(H) ? (s(), u("div",
|
|
11921
|
+
v(H) ? (s(), u("div", Gg)) : h("", !0),
|
|
11927
11922
|
i("div", {
|
|
11928
11923
|
class: m(L(S)(
|
|
11929
11924
|
"flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2",
|
|
@@ -11949,15 +11944,15 @@ const md = {
|
|
|
11949
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",
|
|
11950
11945
|
onClick: (le) => g(H)
|
|
11951
11946
|
}, [
|
|
11952
|
-
i("div",
|
|
11947
|
+
i("div", Kg, [
|
|
11953
11948
|
H.icon ? (s(), U(Q, {
|
|
11954
11949
|
key: 0,
|
|
11955
11950
|
icon: H.icon,
|
|
11956
11951
|
class: "w-4 h-4"
|
|
11957
11952
|
}, null, 8, ["icon"])) : h("", !0)
|
|
11958
11953
|
]),
|
|
11959
|
-
i("span",
|
|
11960
|
-
], 8,
|
|
11954
|
+
i("span", Jg, x(H.label), 1)
|
|
11955
|
+
], 8, Xg))
|
|
11961
11956
|
], 64))), 128))
|
|
11962
11957
|
]),
|
|
11963
11958
|
i("div", { class: "border-t border-gray-200 py-2" }, [
|
|
@@ -11993,13 +11988,13 @@ const md = {
|
|
|
11993
11988
|
], 2);
|
|
11994
11989
|
};
|
|
11995
11990
|
}
|
|
11996
|
-
},
|
|
11991
|
+
}, Zg = { class: "mb-4" }, ev = { class: "text-lg font-semibold text-gray-900" }, tv = { class: "text-sm text-gray-600" }, av = {
|
|
11997
11992
|
value: "",
|
|
11998
11993
|
disabled: ""
|
|
11999
|
-
},
|
|
11994
|
+
}, nv = ["value"], rv = {
|
|
12000
11995
|
key: 3,
|
|
12001
11996
|
class: "flex items-center"
|
|
12002
|
-
},
|
|
11997
|
+
}, sv = { class: "flex justify-end gap-3 pt-4" }, lv = {
|
|
12003
11998
|
__name: "ReusableFormModal",
|
|
12004
11999
|
props: {
|
|
12005
12000
|
modelValue: {
|
|
@@ -12154,9 +12149,9 @@ const md = {
|
|
|
12154
12149
|
onClose: z
|
|
12155
12150
|
}, {
|
|
12156
12151
|
default: N(() => [
|
|
12157
|
-
i("div",
|
|
12158
|
-
i("h2",
|
|
12159
|
-
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)
|
|
12160
12155
|
]),
|
|
12161
12156
|
i("form", {
|
|
12162
12157
|
class: "space-y-4",
|
|
@@ -12210,14 +12205,14 @@ const md = {
|
|
|
12210
12205
|
"onUpdate:modelValue": (j) => k(f, j)
|
|
12211
12206
|
}, {
|
|
12212
12207
|
default: N(() => [
|
|
12213
|
-
i("option",
|
|
12208
|
+
i("option", av, x(f.placeholder || "Select an option"), 1),
|
|
12214
12209
|
(s(!0), u(G, null, X(f.options, (j) => (s(), u("option", {
|
|
12215
12210
|
key: j.value,
|
|
12216
12211
|
value: j.value
|
|
12217
|
-
}, x(j.label), 9,
|
|
12212
|
+
}, x(j.label), 9, nv))), 128))
|
|
12218
12213
|
]),
|
|
12219
12214
|
_: 2
|
|
12220
|
-
}, 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, [
|
|
12221
12216
|
P(ea, {
|
|
12222
12217
|
id: y,
|
|
12223
12218
|
modelValue: o.value[f.name],
|
|
@@ -12264,7 +12259,7 @@ const md = {
|
|
|
12264
12259
|
_: 2
|
|
12265
12260
|
}, 1032, ["id", "label", "required", "error", "error-message"])
|
|
12266
12261
|
]))), 128)),
|
|
12267
|
-
i("div",
|
|
12262
|
+
i("div", sv, [
|
|
12268
12263
|
P(we, {
|
|
12269
12264
|
type: "button",
|
|
12270
12265
|
variant: "outline",
|
|
@@ -12293,37 +12288,37 @@ const md = {
|
|
|
12293
12288
|
_: 1
|
|
12294
12289
|
}, 8, ["modelValue", "size", "resizable"]));
|
|
12295
12290
|
}
|
|
12296
|
-
},
|
|
12291
|
+
}, ov = {
|
|
12297
12292
|
key: 0,
|
|
12298
12293
|
class: "flex items-center justify-between p-4 border-b border-gray-200 flex-shrink-0 lg:hidden"
|
|
12299
|
-
},
|
|
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 = {
|
|
12300
12295
|
key: 0,
|
|
12301
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"
|
|
12302
|
-
},
|
|
12297
|
+
}, mv = ["onClick"], gv = {
|
|
12303
12298
|
key: 0,
|
|
12304
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"
|
|
12305
|
-
},
|
|
12300
|
+
}, vv = {
|
|
12306
12301
|
key: 1,
|
|
12307
12302
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
12308
|
-
},
|
|
12303
|
+
}, bv = {
|
|
12309
12304
|
key: 1,
|
|
12310
12305
|
class: "border-t border-gray-200 p-4 flex-shrink-0"
|
|
12311
|
-
},
|
|
12306
|
+
}, hv = {
|
|
12312
12307
|
key: 0,
|
|
12313
12308
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
12314
|
-
},
|
|
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 = {
|
|
12315
12310
|
key: 0,
|
|
12316
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"
|
|
12317
|
-
},
|
|
12312
|
+
}, $v = {
|
|
12318
12313
|
key: 1,
|
|
12319
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"
|
|
12320
|
-
},
|
|
12315
|
+
}, Cv = { class: "p-3" }, zv = { class: "space-y-1" }, Av = {
|
|
12321
12316
|
key: 0,
|
|
12322
12317
|
class: "px-3 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
|
|
12323
|
-
},
|
|
12318
|
+
}, Iv = {
|
|
12324
12319
|
key: 0,
|
|
12325
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"
|
|
12326
|
-
},
|
|
12321
|
+
}, Tv = {
|
|
12327
12322
|
__name: "Sidebar",
|
|
12328
12323
|
props: {
|
|
12329
12324
|
sidebarWidth: {
|
|
@@ -12446,8 +12441,8 @@ const md = {
|
|
|
12446
12441
|
)),
|
|
12447
12442
|
style: me({ width: e.sidebarWidth + "px", top: l.value ? "0px" : "4rem" })
|
|
12448
12443
|
}, [
|
|
12449
|
-
l.value ? (s(), u("div",
|
|
12450
|
-
i("h2",
|
|
12444
|
+
l.value ? (s(), u("div", ov, [
|
|
12445
|
+
i("h2", iv, x(e.header?.title), 1),
|
|
12451
12446
|
i("button", {
|
|
12452
12447
|
class: "p-2 rounded-lg text-gray-500 hover:text-gray-900 hover:bg-gray-100 transition-colors",
|
|
12453
12448
|
"aria-label": "Close sidebar",
|
|
@@ -12468,12 +12463,12 @@ const md = {
|
|
|
12468
12463
|
], -1)
|
|
12469
12464
|
])])
|
|
12470
12465
|
])) : h("", !0),
|
|
12471
|
-
i("nav",
|
|
12472
|
-
i("div",
|
|
12466
|
+
i("nav", uv, [
|
|
12467
|
+
i("div", dv, [
|
|
12473
12468
|
(s(!0), u(G, null, X(e.navigationItems, ($) => (s(), u(G, {
|
|
12474
12469
|
key: $.name || $.label
|
|
12475
12470
|
}, [
|
|
12476
|
-
$.type === "link" ? (s(), u("div",
|
|
12471
|
+
$.type === "link" ? (s(), u("div", cv, [
|
|
12477
12472
|
v($) ? (s(), u("div", {
|
|
12478
12473
|
key: 1,
|
|
12479
12474
|
class: m(L(S)(
|
|
@@ -12500,9 +12495,9 @@ const md = {
|
|
|
12500
12495
|
H($) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
12501
12496
|
))
|
|
12502
12497
|
}, x($.label), 3),
|
|
12503
|
-
$.badge ? (s(), u("span",
|
|
12504
|
-
H($) && v($) ? (s(), u("div",
|
|
12505
|
-
], 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, {
|
|
12506
12501
|
key: 0,
|
|
12507
12502
|
to: $.route,
|
|
12508
12503
|
class: m(L(S)(
|
|
@@ -12530,7 +12525,7 @@ const md = {
|
|
|
12530
12525
|
H($) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
12531
12526
|
))
|
|
12532
12527
|
}, x($.label), 3),
|
|
12533
|
-
$.badge ? (s(), u("span",
|
|
12528
|
+
$.badge ? (s(), u("span", fv, x($.badge), 1)) : h("", !0)
|
|
12534
12529
|
]),
|
|
12535
12530
|
_: 2
|
|
12536
12531
|
}, 1032, ["to", "class", "onClick"]))
|
|
@@ -12538,7 +12533,7 @@ const md = {
|
|
|
12538
12533
|
], 64))), 128))
|
|
12539
12534
|
])
|
|
12540
12535
|
]),
|
|
12541
|
-
e.showManagementSettings ? (s(), u("div",
|
|
12536
|
+
e.showManagementSettings ? (s(), u("div", bv, [
|
|
12542
12537
|
i("div", {
|
|
12543
12538
|
class: m(L(S)(
|
|
12544
12539
|
"flex flex-col items-center justify-center rounded-xl transition-all duration-200 cursor-pointer group relative py-4 px-3",
|
|
@@ -12564,7 +12559,7 @@ const md = {
|
|
|
12564
12559
|
e.isManagementSettingsActive ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
12565
12560
|
))
|
|
12566
12561
|
}, " Settings ", 2),
|
|
12567
|
-
e.isManagementSettingsActive ? (s(), u("div",
|
|
12562
|
+
e.isManagementSettingsActive ? (s(), u("div", hv)) : h("", !0)
|
|
12568
12563
|
], 2)
|
|
12569
12564
|
])) : h("", !0)
|
|
12570
12565
|
], 6),
|
|
@@ -12587,8 +12582,8 @@ const md = {
|
|
|
12587
12582
|
),
|
|
12588
12583
|
style: me(w.value)
|
|
12589
12584
|
}, [
|
|
12590
|
-
i("div",
|
|
12591
|
-
i("div",
|
|
12585
|
+
i("div", pv, [
|
|
12586
|
+
i("div", yv, [
|
|
12592
12587
|
i("button", {
|
|
12593
12588
|
class: "p-2 -ml-2 rounded-lg text-gray-500 hover:text-gray-700 hover:bg-gray-100 transition-colors",
|
|
12594
12589
|
"aria-label": "Close submenu",
|
|
@@ -12608,11 +12603,11 @@ const md = {
|
|
|
12608
12603
|
})
|
|
12609
12604
|
], -1)
|
|
12610
12605
|
])]),
|
|
12611
|
-
i("h3",
|
|
12606
|
+
i("h3", xv, x(d.value?.label), 1)
|
|
12612
12607
|
])
|
|
12613
12608
|
]),
|
|
12614
|
-
i("nav",
|
|
12615
|
-
i("div",
|
|
12609
|
+
i("nav", wv, [
|
|
12610
|
+
i("div", kv, [
|
|
12616
12611
|
(s(!0), u(G, null, X(d.value?.subItems, ($) => (s(), U(J, {
|
|
12617
12612
|
key: $.name,
|
|
12618
12613
|
to: $.route,
|
|
@@ -12625,7 +12620,7 @@ const md = {
|
|
|
12625
12620
|
onClick: (M) => j($)
|
|
12626
12621
|
}, {
|
|
12627
12622
|
default: N(() => [
|
|
12628
|
-
H($) ? (s(), u("div",
|
|
12623
|
+
H($) ? (s(), u("div", Sv)) : h("", !0),
|
|
12629
12624
|
i("div", {
|
|
12630
12625
|
class: m(
|
|
12631
12626
|
L(S)(
|
|
@@ -12646,7 +12641,7 @@ const md = {
|
|
|
12646
12641
|
H($) ? "text-blue-700" : "text-gray-700"
|
|
12647
12642
|
))
|
|
12648
12643
|
}, x($.label), 3),
|
|
12649
|
-
$.badge ? (s(), u("span",
|
|
12644
|
+
$.badge ? (s(), u("span", $v, x($.badge), 1)) : h("", !0)
|
|
12650
12645
|
]),
|
|
12651
12646
|
_: 2
|
|
12652
12647
|
}, 1032, ["to", "class", "onClick"]))), 128))
|
|
@@ -12699,12 +12694,12 @@ const md = {
|
|
|
12699
12694
|
K[3] || (K[3] = i("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, " Management Settings ", -1))
|
|
12700
12695
|
])
|
|
12701
12696
|
]),
|
|
12702
|
-
i("nav",
|
|
12703
|
-
i("div",
|
|
12697
|
+
i("nav", Cv, [
|
|
12698
|
+
i("div", zv, [
|
|
12704
12699
|
(s(!0), u(G, null, X(e.managementSettings, ($) => (s(), u(G, {
|
|
12705
12700
|
key: $.name
|
|
12706
12701
|
}, [
|
|
12707
|
-
$.type === "section" ? (s(), u("div",
|
|
12702
|
+
$.type === "section" ? (s(), u("div", Av, x($.label), 1)) : $.route ? (s(), U(J, {
|
|
12708
12703
|
key: 1,
|
|
12709
12704
|
to: $.route,
|
|
12710
12705
|
class: m(
|
|
@@ -12716,7 +12711,7 @@ const md = {
|
|
|
12716
12711
|
onClick: (M) => se($)
|
|
12717
12712
|
}, {
|
|
12718
12713
|
default: N(() => [
|
|
12719
|
-
H($) ? (s(), u("div",
|
|
12714
|
+
H($) ? (s(), u("div", Iv)) : h("", !0),
|
|
12720
12715
|
i("div", {
|
|
12721
12716
|
class: m(
|
|
12722
12717
|
L(S)(
|
|
@@ -12767,7 +12762,7 @@ const md = {
|
|
|
12767
12762
|
]);
|
|
12768
12763
|
};
|
|
12769
12764
|
}
|
|
12770
|
-
},
|
|
12765
|
+
}, Pv = {
|
|
12771
12766
|
__name: "Timeline",
|
|
12772
12767
|
props: {
|
|
12773
12768
|
orientation: {
|
|
@@ -12786,13 +12781,13 @@ const md = {
|
|
|
12786
12781
|
F(a.$slots, "default")
|
|
12787
12782
|
], 2));
|
|
12788
12783
|
}
|
|
12789
|
-
},
|
|
12784
|
+
}, jv = {
|
|
12790
12785
|
key: 0,
|
|
12791
12786
|
class: "absolute left-3 top-0 w-0.5 h-full bg-slate-200"
|
|
12792
|
-
},
|
|
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 = {
|
|
12793
12788
|
key: 0,
|
|
12794
12789
|
class: "text-slate-500 text-sm"
|
|
12795
|
-
},
|
|
12790
|
+
}, Vv = { class: "mt-2 text-slate-600 text-sm" }, Mv = {
|
|
12796
12791
|
__name: "TimelineItem",
|
|
12797
12792
|
props: {
|
|
12798
12793
|
title: {
|
|
@@ -12816,8 +12811,8 @@ const md = {
|
|
|
12816
12811
|
e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
|
|
12817
12812
|
])
|
|
12818
12813
|
}, [
|
|
12819
|
-
e.orientation === "vertical" ? (s(), u("div",
|
|
12820
|
-
i("div",
|
|
12814
|
+
e.orientation === "vertical" ? (s(), u("div", jv)) : h("", !0),
|
|
12815
|
+
i("div", Bv, [
|
|
12821
12816
|
F(a.$slots, "icon", {}, () => [
|
|
12822
12817
|
t[0] || (t[0] = i("div", { class: "w-2 h-2 rounded-full bg-blue-500" }, null, -1))
|
|
12823
12818
|
])
|
|
@@ -12828,23 +12823,23 @@ const md = {
|
|
|
12828
12823
|
e.orientation === "horizontal" ? "mt-2 text-center" : ""
|
|
12829
12824
|
])
|
|
12830
12825
|
}, [
|
|
12831
|
-
i("h3",
|
|
12826
|
+
i("h3", Ov, [
|
|
12832
12827
|
F(a.$slots, "title", {}, () => [
|
|
12833
12828
|
ee(x(e.title), 1)
|
|
12834
12829
|
])
|
|
12835
12830
|
]),
|
|
12836
|
-
e.subtitle ? (s(), u("p",
|
|
12831
|
+
e.subtitle ? (s(), u("p", Fv, [
|
|
12837
12832
|
F(a.$slots, "subtitle", {}, () => [
|
|
12838
12833
|
ee(x(e.subtitle), 1)
|
|
12839
12834
|
])
|
|
12840
12835
|
])) : h("", !0),
|
|
12841
|
-
i("div",
|
|
12836
|
+
i("div", Vv, [
|
|
12842
12837
|
F(a.$slots, "default")
|
|
12843
12838
|
])
|
|
12844
12839
|
], 2)
|
|
12845
12840
|
], 2));
|
|
12846
12841
|
}
|
|
12847
|
-
},
|
|
12842
|
+
}, Dv = {
|
|
12848
12843
|
name: "AuthLayout",
|
|
12849
12844
|
props: {
|
|
12850
12845
|
title: {
|
|
@@ -12933,20 +12928,20 @@ const md = {
|
|
|
12933
12928
|
currentYear: b(() => (/* @__PURE__ */ new Date()).getFullYear())
|
|
12934
12929
|
};
|
|
12935
12930
|
}
|
|
12936
|
-
},
|
|
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 = {
|
|
12937
12932
|
key: 0,
|
|
12938
12933
|
class: "mb-6"
|
|
12939
|
-
},
|
|
12934
|
+
}, Xv = { class: "text-center" }, Kv = { class: "text-2xl font-bold text-gray-900" }, Jv = {
|
|
12940
12935
|
key: 0,
|
|
12941
12936
|
class: "text-gray-600 mt-2"
|
|
12942
|
-
},
|
|
12937
|
+
}, Qv = { class: "space-y-6" }, Zv = {
|
|
12943
12938
|
key: 1,
|
|
12944
12939
|
class: "mt-6"
|
|
12945
|
-
},
|
|
12940
|
+
}, e0 = {
|
|
12946
12941
|
key: 0,
|
|
12947
12942
|
class: "mt-6 text-center"
|
|
12948
|
-
},
|
|
12949
|
-
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) {
|
|
12950
12945
|
const o = ce("router-view"), d = ce("font-awesome-icon");
|
|
12951
12946
|
return s(), u("div", {
|
|
12952
12947
|
class: "min-h-screen relative flex items-center justify-center",
|
|
@@ -12959,70 +12954,70 @@ function d0(e, a, t, n, r, l) {
|
|
|
12959
12954
|
opacity: t.backgroundOpacity
|
|
12960
12955
|
})
|
|
12961
12956
|
}, null, 4),
|
|
12962
|
-
i("div",
|
|
12963
|
-
i("div",
|
|
12964
|
-
i("div",
|
|
12965
|
-
i("div",
|
|
12966
|
-
i("div",
|
|
12957
|
+
i("div", Ev, [
|
|
12958
|
+
i("div", Lv, [
|
|
12959
|
+
i("div", Nv, [
|
|
12960
|
+
i("div", Rv, [
|
|
12961
|
+
i("div", _v, [
|
|
12967
12962
|
i("span", {
|
|
12968
12963
|
style: me({ color: t.primaryColor })
|
|
12969
12964
|
}, x(t.primaryLogoPrefix), 5),
|
|
12970
|
-
i("span",
|
|
12965
|
+
i("span", qv, x(t.primaryLogoText), 1)
|
|
12971
12966
|
]),
|
|
12972
12967
|
i("div", {
|
|
12973
12968
|
class: "h-0.5 w-30 mx-auto lg:mx-0",
|
|
12974
12969
|
style: me({ backgroundColor: t.primaryColor })
|
|
12975
12970
|
}, null, 4)
|
|
12976
12971
|
]),
|
|
12977
|
-
i("div",
|
|
12972
|
+
i("div", Wv, [
|
|
12978
12973
|
i("div", {
|
|
12979
12974
|
class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
|
|
12980
12975
|
style: me({ backgroundColor: t.primaryColor })
|
|
12981
12976
|
}, x(t.secondaryLogoPrefix), 5),
|
|
12982
|
-
i("span",
|
|
12977
|
+
i("span", Yv, x(t.secondaryLogoText), 1)
|
|
12983
12978
|
]),
|
|
12984
12979
|
a[0] || (a[0] = i("div", { class: "max-w-md mx-auto lg:mx-0" }, [
|
|
12985
12980
|
i("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
|
|
12986
12981
|
], -1))
|
|
12987
12982
|
]),
|
|
12988
|
-
i("div",
|
|
12989
|
-
i("div",
|
|
12990
|
-
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, [
|
|
12991
12986
|
F(e.$slots, "card-header", {}, () => [
|
|
12992
|
-
i("div",
|
|
12993
|
-
i("h1",
|
|
12994
|
-
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)
|
|
12995
12990
|
])
|
|
12996
12991
|
])
|
|
12997
12992
|
])) : h("", !0),
|
|
12998
|
-
i("div",
|
|
12993
|
+
i("div", Qv, [
|
|
12999
12994
|
P(o)
|
|
13000
12995
|
]),
|
|
13001
|
-
e.$slots["card-footer"] ? (s(), u("div",
|
|
12996
|
+
e.$slots["card-footer"] ? (s(), u("div", Zv, [
|
|
13002
12997
|
F(e.$slots, "card-footer")
|
|
13003
12998
|
])) : h("", !0)
|
|
13004
12999
|
]),
|
|
13005
|
-
e.$slots.links ? (s(), u("div",
|
|
13000
|
+
e.$slots.links ? (s(), u("div", e0, [
|
|
13006
13001
|
F(e.$slots, "links")
|
|
13007
13002
|
])) : h("", !0)
|
|
13008
13003
|
])
|
|
13009
13004
|
])
|
|
13010
13005
|
]),
|
|
13011
|
-
i("div",
|
|
13012
|
-
i("div",
|
|
13013
|
-
i("div",
|
|
13014
|
-
i("div",
|
|
13015
|
-
i("div",
|
|
13016
|
-
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)
|
|
13017
13012
|
]),
|
|
13018
|
-
i("div",
|
|
13013
|
+
i("div", o0, x(t.companyInitials), 1)
|
|
13019
13014
|
]),
|
|
13020
|
-
i("div",
|
|
13015
|
+
i("div", i0, [
|
|
13021
13016
|
i("div", null, x(t.appName) + " (" + x(t.appVersion) + ")", 1),
|
|
13022
13017
|
i("div", null, x(t.copyright), 1)
|
|
13023
13018
|
])
|
|
13024
13019
|
]),
|
|
13025
|
-
i("div",
|
|
13020
|
+
i("div", u0, [
|
|
13026
13021
|
(s(!0), u(G, null, X(t.socialLinks, (c) => (s(), u("a", {
|
|
13027
13022
|
key: c.name,
|
|
13028
13023
|
href: c.url,
|
|
@@ -13034,14 +13029,14 @@ function d0(e, a, t, n, r, l) {
|
|
|
13034
13029
|
P(d, {
|
|
13035
13030
|
icon: ["fab", c.icon]
|
|
13036
13031
|
}, null, 8, ["icon"])
|
|
13037
|
-
], 10,
|
|
13032
|
+
], 10, d0))), 128))
|
|
13038
13033
|
])
|
|
13039
13034
|
], 4);
|
|
13040
13035
|
}
|
|
13041
|
-
const
|
|
13036
|
+
const f0 = /* @__PURE__ */ At(Dv, [["render", c0]]), m0 = { class: "min-h-screen bg-gray-50" }, g0 = { class: "flex-1" }, v0 = {
|
|
13042
13037
|
key: 0,
|
|
13043
13038
|
class: "bg-white border-b border-gray-200"
|
|
13044
|
-
},
|
|
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 = {
|
|
13045
13040
|
__name: "DefaultLayout",
|
|
13046
13041
|
props: {
|
|
13047
13042
|
navigationItems: {
|
|
@@ -13065,7 +13060,7 @@ const c0 = /* @__PURE__ */ At(Mv, [["render", d0]]), f0 = { class: "min-h-screen
|
|
|
13065
13060
|
setup(e) {
|
|
13066
13061
|
return (a, t) => {
|
|
13067
13062
|
const n = ce("Logo"), r = ce("MainNavigation"), l = ce("Button"), o = ce("Header"), d = ce("Breadcrumb"), c = ce("Text"), p = ce("Footer");
|
|
13068
|
-
return s(), u("div",
|
|
13063
|
+
return s(), u("div", m0, [
|
|
13069
13064
|
P(o, null, {
|
|
13070
13065
|
logo: N(() => [
|
|
13071
13066
|
F(a.$slots, "logo", {}, () => [
|
|
@@ -13098,15 +13093,15 @@ const c0 = /* @__PURE__ */ At(Mv, [["render", d0]]), f0 = { class: "min-h-screen
|
|
|
13098
13093
|
]),
|
|
13099
13094
|
_: 3
|
|
13100
13095
|
}),
|
|
13101
|
-
i("main",
|
|
13102
|
-
e.showBreadcrumb ? (s(), u("div",
|
|
13103
|
-
i("div",
|
|
13096
|
+
i("main", g0, [
|
|
13097
|
+
e.showBreadcrumb ? (s(), u("div", v0, [
|
|
13098
|
+
i("div", b0, [
|
|
13104
13099
|
F(a.$slots, "breadcrumb", {}, () => [
|
|
13105
13100
|
P(d, { items: e.breadcrumbItems }, null, 8, ["items"])
|
|
13106
13101
|
])
|
|
13107
13102
|
])
|
|
13108
13103
|
])) : h("", !0),
|
|
13109
|
-
i("div",
|
|
13104
|
+
i("div", h0, [
|
|
13110
13105
|
F(a.$slots, "default")
|
|
13111
13106
|
])
|
|
13112
13107
|
]),
|
|
@@ -13127,7 +13122,7 @@ const c0 = /* @__PURE__ */ At(Mv, [["render", d0]]), f0 = { class: "min-h-screen
|
|
|
13127
13122
|
]);
|
|
13128
13123
|
};
|
|
13129
13124
|
}
|
|
13130
|
-
},
|
|
13125
|
+
}, y0 = {
|
|
13131
13126
|
name: "ErrorLayout",
|
|
13132
13127
|
props: {
|
|
13133
13128
|
errorType: {
|
|
@@ -13393,20 +13388,20 @@ const c0 = /* @__PURE__ */ At(Mv, [["render", d0]]), f0 = { class: "min-h-screen
|
|
|
13393
13388
|
helpClasses: oe
|
|
13394
13389
|
};
|
|
13395
13390
|
}
|
|
13396
|
-
},
|
|
13391
|
+
}, x0 = { class: "flex justify-center" }, w0 = { class: "flex items-center gap-3" }, k0 = { class: "text-2xl font-bold text-slate-900" }, S0 = {
|
|
13397
13392
|
key: 1,
|
|
13398
13393
|
class: "bg-red-100 border border-red-200 rounded-lg p-4 mx-auto max-w-md mb-6"
|
|
13399
|
-
},
|
|
13394
|
+
}, $0 = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, C0 = ["disabled"], z0 = {
|
|
13400
13395
|
key: 0,
|
|
13401
13396
|
class: "animate-spin"
|
|
13402
|
-
},
|
|
13397
|
+
}, A0 = { key: 1 }, I0 = ["disabled"], T0 = { key: 0 }, P0 = { key: 1 }, j0 = {
|
|
13403
13398
|
key: 0,
|
|
13404
13399
|
class: "mt-8 max-w-md mx-auto"
|
|
13405
|
-
},
|
|
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 = {
|
|
13406
13401
|
key: 5,
|
|
13407
13402
|
class: "text-xs text-slate-400 font-mono mt-4"
|
|
13408
13403
|
};
|
|
13409
|
-
function
|
|
13404
|
+
function E0(e, a, t, n, r, l) {
|
|
13410
13405
|
return s(), u("div", {
|
|
13411
13406
|
class: m(n.layoutClasses)
|
|
13412
13407
|
}, [
|
|
@@ -13426,13 +13421,13 @@ function D0(e, a, t, n, r, l) {
|
|
|
13426
13421
|
class: m(n.headerClasses)
|
|
13427
13422
|
}, [
|
|
13428
13423
|
F(e.$slots, "header", {}, () => [
|
|
13429
|
-
i("div",
|
|
13424
|
+
i("div", x0, [
|
|
13430
13425
|
F(e.$slots, "logo", {}, () => [
|
|
13431
|
-
i("div",
|
|
13426
|
+
i("div", w0, [
|
|
13432
13427
|
a[5] || (a[5] = i("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
|
|
13433
13428
|
i("span", { class: "text-white font-bold text-lg" }, "STL")
|
|
13434
13429
|
], -1)),
|
|
13435
|
-
i("span",
|
|
13430
|
+
i("span", k0, x(t.brandName), 1)
|
|
13436
13431
|
])
|
|
13437
13432
|
])
|
|
13438
13433
|
])
|
|
@@ -13478,7 +13473,7 @@ function D0(e, a, t, n, r, l) {
|
|
|
13478
13473
|
])
|
|
13479
13474
|
], 2)
|
|
13480
13475
|
], 2),
|
|
13481
|
-
n.isOnline ? h("", !0) : (s(), u("div",
|
|
13476
|
+
n.isOnline ? h("", !0) : (s(), u("div", S0, [...a[6] || (a[6] = [
|
|
13482
13477
|
i("div", { class: "flex items-center justify-center gap-2 text-red-700" }, [
|
|
13483
13478
|
i("span", { class: "w-3 h-3 bg-red-500 rounded-full animate-pulse" }),
|
|
13484
13479
|
i("span", { class: "font-medium" }, "No Internet Connection")
|
|
@@ -13489,7 +13484,7 @@ function D0(e, a, t, n, r, l) {
|
|
|
13489
13484
|
class: m(n.actionsClasses)
|
|
13490
13485
|
}, [
|
|
13491
13486
|
F(e.$slots, "actions", {}, () => [
|
|
13492
|
-
i("div",
|
|
13487
|
+
i("div", $0, [
|
|
13493
13488
|
t.showHomeButton ? (s(), u("button", {
|
|
13494
13489
|
key: 0,
|
|
13495
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",
|
|
@@ -13512,18 +13507,18 @@ function D0(e, a, t, n, r, l) {
|
|
|
13512
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",
|
|
13513
13508
|
onClick: a[2] || (a[2] = (...o) => n.retry && n.retry(...o))
|
|
13514
13509
|
}, [
|
|
13515
|
-
n.isRetrying ? (s(), u("span",
|
|
13510
|
+
n.isRetrying ? (s(), u("span", z0, "↻")) : (s(), u("span", A0, "🔄")),
|
|
13516
13511
|
ee(" " + x(n.isRetrying ? "Retrying..." : t.retryButtonText), 1)
|
|
13517
|
-
], 8,
|
|
13512
|
+
], 8, C0)) : h("", !0),
|
|
13518
13513
|
t.showSupportButton ? (s(), u("button", {
|
|
13519
13514
|
key: 3,
|
|
13520
13515
|
disabled: n.reportSent,
|
|
13521
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",
|
|
13522
13517
|
onClick: a[3] || (a[3] = (o) => e.$emit("contact-support"))
|
|
13523
13518
|
}, [
|
|
13524
|
-
n.reportSent ? (s(), u("span",
|
|
13519
|
+
n.reportSent ? (s(), u("span", T0, "✓")) : (s(), u("span", P0, "📝")),
|
|
13525
13520
|
ee(" " + x(n.reportSent ? "Report Sent" : "Contact Support"), 1)
|
|
13526
|
-
], 8,
|
|
13521
|
+
], 8, I0)) : h("", !0)
|
|
13527
13522
|
])
|
|
13528
13523
|
])
|
|
13529
13524
|
], 2)) : h("", !0),
|
|
@@ -13532,10 +13527,10 @@ function D0(e, a, t, n, r, l) {
|
|
|
13532
13527
|
class: m(n.additionalInfoClasses)
|
|
13533
13528
|
}, [
|
|
13534
13529
|
F(e.$slots, "additional-info", {}, () => [
|
|
13535
|
-
n.additionalInfoConfig ? (s(), u("div",
|
|
13536
|
-
i("div",
|
|
13537
|
-
i("h3",
|
|
13538
|
-
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, [
|
|
13539
13534
|
(s(!0), u(G, null, X(n.additionalInfoConfig.items, (o, d) => (s(), u("li", {
|
|
13540
13535
|
key: d,
|
|
13541
13536
|
class: "flex items-start gap-3 text-sm text-slate-600"
|
|
@@ -13555,7 +13550,7 @@ function D0(e, a, t, n, r, l) {
|
|
|
13555
13550
|
class: m(n.helpClasses)
|
|
13556
13551
|
}, [
|
|
13557
13552
|
F(e.$slots, "help", {}, () => [
|
|
13558
|
-
i("p",
|
|
13553
|
+
i("p", V0, [
|
|
13559
13554
|
ee(x(t.helpText) + " ", 1),
|
|
13560
13555
|
t.supportUrl ? (s(), u("a", {
|
|
13561
13556
|
key: 0,
|
|
@@ -13564,16 +13559,16 @@ function D0(e, a, t, n, r, l) {
|
|
|
13564
13559
|
}, [...a[8] || (a[8] = [
|
|
13565
13560
|
i("span", { class: "inline-block w-4 h-4 mr-1" }, "❓", -1),
|
|
13566
13561
|
ee(" Get Help ", -1)
|
|
13567
|
-
])], 8,
|
|
13562
|
+
])], 8, M0)) : h("", !0)
|
|
13568
13563
|
])
|
|
13569
13564
|
])
|
|
13570
13565
|
], 2)) : h("", !0),
|
|
13571
|
-
n.isDev ? (s(), u("div",
|
|
13566
|
+
n.isDev ? (s(), u("div", D0, " Error ID: " + x(n.errorId), 1)) : h("", !0)
|
|
13572
13567
|
], 2)
|
|
13573
13568
|
], 2)
|
|
13574
13569
|
], 2);
|
|
13575
13570
|
}
|
|
13576
|
-
const
|
|
13571
|
+
const L0 = /* @__PURE__ */ At(y0, [["render", E0]]), en = {
|
|
13577
13572
|
mounted(e, a) {
|
|
13578
13573
|
if (!a.value) return;
|
|
13579
13574
|
const t = Object.keys(a.modifiers)[0] || "top", n = document.createElement("div");
|
|
@@ -13712,55 +13707,55 @@ const E0 = /* @__PURE__ */ At(p0, [["render", D0]]), en = {
|
|
|
13712
13707
|
Breadcrumb: Gi,
|
|
13713
13708
|
ButtonGroup: Ki,
|
|
13714
13709
|
Card: ru,
|
|
13715
|
-
CardHeader:
|
|
13716
|
-
CardBody:
|
|
13717
|
-
CardFooter:
|
|
13718
|
-
CardContent:
|
|
13719
|
-
CardTitle:
|
|
13710
|
+
CardHeader: uu,
|
|
13711
|
+
CardBody: du,
|
|
13712
|
+
CardFooter: cu,
|
|
13713
|
+
CardContent: fu,
|
|
13714
|
+
CardTitle: mu,
|
|
13720
13715
|
DatePicker: xa,
|
|
13721
|
-
Dropdown:
|
|
13722
|
-
DropdownItem:
|
|
13723
|
-
FileUpload:
|
|
13716
|
+
Dropdown: $u,
|
|
13717
|
+
DropdownItem: zu,
|
|
13718
|
+
FileUpload: Mu,
|
|
13724
13719
|
FormField: fr,
|
|
13725
|
-
InputGroup:
|
|
13726
|
-
ListItem:
|
|
13727
|
-
MenuItem:
|
|
13720
|
+
InputGroup: Yu,
|
|
13721
|
+
ListItem: Qu,
|
|
13722
|
+
MenuItem: ed,
|
|
13728
13723
|
Modal: mr,
|
|
13729
|
-
ModalHeader:
|
|
13730
|
-
ModalBody:
|
|
13731
|
-
ModalFooter:
|
|
13732
|
-
Notification:
|
|
13733
|
-
Toast:
|
|
13734
|
-
Search:
|
|
13724
|
+
ModalHeader: rd,
|
|
13725
|
+
ModalBody: sd,
|
|
13726
|
+
ModalFooter: ld,
|
|
13727
|
+
Notification: fd,
|
|
13728
|
+
Toast: $d,
|
|
13729
|
+
Search: Ld,
|
|
13735
13730
|
Slider: vr,
|
|
13736
|
-
Stepper:
|
|
13737
|
-
StepperItem:
|
|
13738
|
-
Tab:
|
|
13739
|
-
TabPanel:
|
|
13740
|
-
BarChart:
|
|
13741
|
-
LineChart:
|
|
13742
|
-
GraphFilters:
|
|
13743
|
-
Accordion:
|
|
13744
|
-
AccordionItem:
|
|
13745
|
-
Graph:
|
|
13746
|
-
Calendar:
|
|
13747
|
-
DataTable:
|
|
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,
|
|
13748
13743
|
DataTableHeader: br,
|
|
13749
13744
|
DataTableRow: hr,
|
|
13750
|
-
DataTableCell:
|
|
13745
|
+
DataTableCell: im,
|
|
13751
13746
|
DataTablePagination: pr,
|
|
13752
|
-
DataTableFilters:
|
|
13753
|
-
DataTableToolBar:
|
|
13754
|
-
Footer:
|
|
13755
|
-
Header:
|
|
13756
|
-
ReusableFormModal:
|
|
13757
|
-
Sidebar:
|
|
13758
|
-
Timeline:
|
|
13759
|
-
TimelineItem:
|
|
13760
|
-
AuthLayout:
|
|
13761
|
-
DefaultLayout:
|
|
13762
|
-
ErrorLayout:
|
|
13763
|
-
},
|
|
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 = {
|
|
13764
13759
|
install(e, a = {}) {
|
|
13765
13760
|
const { prefix: t = "" } = a;
|
|
13766
13761
|
Object.keys(tn).forEach((n) => {
|
|
@@ -13770,84 +13765,84 @@ const E0 = /* @__PURE__ */ At(p0, [["render", D0]]), en = {
|
|
|
13770
13765
|
}
|
|
13771
13766
|
};
|
|
13772
13767
|
export {
|
|
13773
|
-
|
|
13774
|
-
|
|
13768
|
+
uc as Accordion,
|
|
13769
|
+
dc as AccordionItem,
|
|
13775
13770
|
Yi as Alert,
|
|
13776
|
-
|
|
13771
|
+
f0 as AuthLayout,
|
|
13777
13772
|
Qo as Avatar,
|
|
13778
13773
|
ei as Badge,
|
|
13779
|
-
|
|
13774
|
+
Lc as BarChart,
|
|
13780
13775
|
Gi as Breadcrumb,
|
|
13781
13776
|
we as Button,
|
|
13782
13777
|
Ki as ButtonGroup,
|
|
13783
|
-
|
|
13778
|
+
xc as Calendar,
|
|
13784
13779
|
ru as Card,
|
|
13785
|
-
|
|
13786
|
-
|
|
13787
|
-
|
|
13788
|
-
|
|
13789
|
-
|
|
13780
|
+
du as CardBody,
|
|
13781
|
+
fu as CardContent,
|
|
13782
|
+
cu as CardFooter,
|
|
13783
|
+
uu as CardHeader,
|
|
13784
|
+
mu as CardTitle,
|
|
13790
13785
|
ha as Checkbox,
|
|
13791
|
-
|
|
13792
|
-
|
|
13793
|
-
|
|
13786
|
+
om as DataTable,
|
|
13787
|
+
im as DataTableCell,
|
|
13788
|
+
Xm as DataTableFilters,
|
|
13794
13789
|
br as DataTableHeader,
|
|
13795
13790
|
pr as DataTablePagination,
|
|
13796
13791
|
hr as DataTableRow,
|
|
13797
|
-
|
|
13792
|
+
cg as DataTableToolBar,
|
|
13798
13793
|
xa as DatePicker,
|
|
13799
|
-
|
|
13794
|
+
p0 as DefaultLayout,
|
|
13800
13795
|
di as Divider,
|
|
13801
|
-
|
|
13802
|
-
|
|
13803
|
-
|
|
13804
|
-
|
|
13805
|
-
|
|
13796
|
+
$u as Dropdown,
|
|
13797
|
+
zu as DropdownItem,
|
|
13798
|
+
L0 as ErrorLayout,
|
|
13799
|
+
Mu as FileUpload,
|
|
13800
|
+
yg as Footer,
|
|
13806
13801
|
fr as FormField,
|
|
13807
|
-
|
|
13808
|
-
|
|
13809
|
-
|
|
13802
|
+
zc as Graph,
|
|
13803
|
+
bf as GraphFilters,
|
|
13804
|
+
Qg as Header,
|
|
13810
13805
|
Q as Icon,
|
|
13811
13806
|
gi as Image,
|
|
13812
13807
|
ea as Input,
|
|
13813
|
-
|
|
13808
|
+
Yu as InputGroup,
|
|
13814
13809
|
ya as Label,
|
|
13815
|
-
|
|
13810
|
+
tf as LineChart,
|
|
13816
13811
|
wi as Link,
|
|
13817
|
-
|
|
13812
|
+
Qu as ListItem,
|
|
13818
13813
|
tt as Loader,
|
|
13819
13814
|
Si as Logo,
|
|
13820
|
-
|
|
13815
|
+
ed as MenuItem,
|
|
13821
13816
|
mr as Modal,
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13817
|
+
sd as ModalBody,
|
|
13818
|
+
ld as ModalFooter,
|
|
13819
|
+
rd as ModalHeader,
|
|
13820
|
+
fd as Notification,
|
|
13826
13821
|
dr as Option,
|
|
13827
13822
|
zi as Progress,
|
|
13828
13823
|
Ii as ProgressBar,
|
|
13829
13824
|
ji as Radio,
|
|
13830
|
-
|
|
13831
|
-
|
|
13825
|
+
lv as ReusableFormModal,
|
|
13826
|
+
Ld as Search,
|
|
13832
13827
|
Oe as Select,
|
|
13833
|
-
|
|
13828
|
+
Tv as Sidebar,
|
|
13834
13829
|
vr as Slider,
|
|
13835
13830
|
pa as Spinner,
|
|
13836
|
-
|
|
13837
|
-
|
|
13831
|
+
Wd as Stepper,
|
|
13832
|
+
Xd as StepperItem,
|
|
13838
13833
|
Fi as Switch,
|
|
13839
|
-
|
|
13840
|
-
|
|
13834
|
+
ec as Tab,
|
|
13835
|
+
nc as TabPanel,
|
|
13841
13836
|
Vi as Text,
|
|
13842
13837
|
cr as Textarea,
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
|
|
13838
|
+
Pv as Timeline,
|
|
13839
|
+
Mv as TimelineItem,
|
|
13840
|
+
$d as Toast,
|
|
13846
13841
|
Di as Tooltip,
|
|
13847
13842
|
ta as Typography,
|
|
13848
13843
|
S as cn,
|
|
13849
|
-
|
|
13844
|
+
q0 as default,
|
|
13850
13845
|
He as toast,
|
|
13851
13846
|
en as tooltip,
|
|
13852
|
-
|
|
13847
|
+
bd as useToaster
|
|
13853
13848
|
};
|