@stlhorizon/vue-ui 3.4.2 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js
CHANGED
|
@@ -4830,6 +4830,10 @@ const Q = {
|
|
|
4830
4830
|
type: Boolean,
|
|
4831
4831
|
default: !1
|
|
4832
4832
|
},
|
|
4833
|
+
dynamicColor: {
|
|
4834
|
+
type: Boolean,
|
|
4835
|
+
default: !0
|
|
4836
|
+
},
|
|
4833
4837
|
strokeLinecap: {
|
|
4834
4838
|
type: String,
|
|
4835
4839
|
default: "round",
|
|
@@ -4853,6 +4857,10 @@ const Q = {
|
|
|
4853
4857
|
lg: 6,
|
|
4854
4858
|
xl: 7
|
|
4855
4859
|
})[a.size] || 5), c = b(() => o.value / 2), f = b(() => c.value - l.value / 2), y = b(() => 2 * Math.PI * f.value), w = b(() => y.value - r.value / 100 * y.value), k = b(() => {
|
|
4860
|
+
if (a.dynamicColor) {
|
|
4861
|
+
const x = r.value;
|
|
4862
|
+
return x >= 80 ? "#ef4444" : x >= 60 ? "#f59e0b" : x >= 40 ? "#eab308" : x >= 20 ? "#22c55e" : "#6b7280";
|
|
4863
|
+
}
|
|
4856
4864
|
const S = {
|
|
4857
4865
|
default: "#3b82f6",
|
|
4858
4866
|
success: "#10b981",
|
|
@@ -4861,6 +4869,10 @@ const Q = {
|
|
|
4861
4869
|
};
|
|
4862
4870
|
return S[a.variant] || S.default;
|
|
4863
4871
|
}), I = b(() => "#e5e7eb"), $ = b(() => {
|
|
4872
|
+
if (a.dynamicColor) {
|
|
4873
|
+
const x = r.value;
|
|
4874
|
+
return x >= 80 ? "text-red-600" : x >= 60 ? "text-orange-600" : x >= 40 ? "text-yellow-600" : x >= 20 ? "text-green-600" : "text-gray-600";
|
|
4875
|
+
}
|
|
4864
4876
|
const S = {
|
|
4865
4877
|
default: "text-blue-600",
|
|
4866
4878
|
success: "text-green-600",
|
|
@@ -12031,13 +12043,13 @@ const Bd = {
|
|
|
12031
12043
|
}, Wg = {
|
|
12032
12044
|
key: 0,
|
|
12033
12045
|
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"
|
|
12034
|
-
}, Yg = { class: "max-h-96 overflow-y-auto" }, Hg = { class: "flex items-start space-x-3" }, Gg = { class: "flex-1" }, Kg = { class: "text-sm text-gray-900" }, Xg = { class: "text-xs text-gray-500 mt-1" }, Jg = { class: "relative" }, Qg = { 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" }, Zg = { class: "text-blue-700 text-sm font-medium" },
|
|
12046
|
+
}, Yg = { class: "max-h-96 overflow-y-auto" }, Hg = { class: "flex items-start space-x-3" }, Gg = { class: "flex-1" }, Kg = { class: "text-sm text-gray-900" }, Xg = { class: "text-xs text-gray-500 mt-1" }, Jg = { class: "relative" }, Qg = { 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" }, Zg = { class: "text-blue-700 text-sm font-medium" }, e0 = { class: "hidden md:block text-left max-w-[160px] truncate" }, t0 = { class: "text-sm font-medium text-gray-900 truncate" }, a0 = { class: "text-xs text-gray-500 truncate leading-tight" }, n0 = {
|
|
12035
12047
|
key: 0,
|
|
12036
12048
|
class: "absolute right-0 mt-2 w-58 bg-white rounded-lg shadow-lg border border-gray-200 z-50"
|
|
12037
|
-
},
|
|
12049
|
+
}, r0 = { class: "p-4 border-b border-gray-200" }, s0 = { class: "text-sm font-medium text-gray-900" }, l0 = { class: "text-xs text-gray-500" }, o0 = { class: "py-2" }, i0 = {
|
|
12038
12050
|
key: 0,
|
|
12039
12051
|
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"
|
|
12040
|
-
},
|
|
12052
|
+
}, u0 = ["onClick"], d0 = { 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" }, c0 = { class: "flex-1 truncate font-semibold text-gray-700" }, f0 = {
|
|
12041
12053
|
__name: "Header",
|
|
12042
12054
|
props: {
|
|
12043
12055
|
sidebarWidth: { type: Number, default: 256 },
|
|
@@ -12239,9 +12251,9 @@ const Bd = {
|
|
|
12239
12251
|
i("div", Qg, [
|
|
12240
12252
|
i("span", Zg, p(w.value), 1)
|
|
12241
12253
|
]),
|
|
12242
|
-
i("div",
|
|
12243
|
-
i("p",
|
|
12244
|
-
i("p",
|
|
12254
|
+
i("div", e0, [
|
|
12255
|
+
i("p", t0, p(e.user.name), 1),
|
|
12256
|
+
i("p", a0, p(k.value), 1)
|
|
12245
12257
|
]),
|
|
12246
12258
|
V[12] || (V[12] = i("svg", {
|
|
12247
12259
|
class: "w-4 h-4 text-gray-400",
|
|
@@ -12266,12 +12278,12 @@ const Bd = {
|
|
|
12266
12278
|
"leave-to-class": "opacity-0 translate-y-2 scale-95"
|
|
12267
12279
|
}, {
|
|
12268
12280
|
default: R(() => [
|
|
12269
|
-
l.value ? (s(), u("div",
|
|
12270
|
-
i("div",
|
|
12271
|
-
i("p",
|
|
12272
|
-
i("p",
|
|
12281
|
+
l.value ? (s(), u("div", n0, [
|
|
12282
|
+
i("div", r0, [
|
|
12283
|
+
i("p", s0, p(e.user.name), 1),
|
|
12284
|
+
i("p", l0, p(e.user.email), 1)
|
|
12273
12285
|
]),
|
|
12274
|
-
i("div",
|
|
12286
|
+
i("div", o0, [
|
|
12275
12287
|
(s(!0), u(K, null, X(e.profileMenuItems, (G) => (s(), u(K, {
|
|
12276
12288
|
key: G.name
|
|
12277
12289
|
}, [
|
|
@@ -12285,7 +12297,7 @@ const Bd = {
|
|
|
12285
12297
|
onClick: (le) => S(G)
|
|
12286
12298
|
}, {
|
|
12287
12299
|
default: R(() => [
|
|
12288
|
-
x(G) ? (s(), u("div",
|
|
12300
|
+
x(G) ? (s(), u("div", i0)) : h("", !0),
|
|
12289
12301
|
i("div", {
|
|
12290
12302
|
class: v(N(C)(
|
|
12291
12303
|
"flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2",
|
|
@@ -12311,15 +12323,15 @@ const Bd = {
|
|
|
12311
12323
|
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",
|
|
12312
12324
|
onClick: (le) => m(G)
|
|
12313
12325
|
}, [
|
|
12314
|
-
i("div",
|
|
12326
|
+
i("div", d0, [
|
|
12315
12327
|
G.icon ? (s(), _(Q, {
|
|
12316
12328
|
key: 0,
|
|
12317
12329
|
icon: G.icon,
|
|
12318
12330
|
class: "w-4 h-4"
|
|
12319
12331
|
}, null, 8, ["icon"])) : h("", !0)
|
|
12320
12332
|
]),
|
|
12321
|
-
i("span",
|
|
12322
|
-
], 8,
|
|
12333
|
+
i("span", c0, p(G.label), 1)
|
|
12334
|
+
], 8, u0))
|
|
12323
12335
|
], 64))), 128))
|
|
12324
12336
|
]),
|
|
12325
12337
|
i("div", { class: "border-t border-gray-200 py-2" }, [
|
|
@@ -12355,28 +12367,28 @@ const Bd = {
|
|
|
12355
12367
|
], 2);
|
|
12356
12368
|
};
|
|
12357
12369
|
}
|
|
12358
|
-
},
|
|
12370
|
+
}, m0 = { class: "mb-4" }, g0 = { class: "text-lg font-semibold text-gray-900" }, v0 = { class: "text-sm text-gray-600" }, b0 = ["onUpdate:modelValue"], h0 = {
|
|
12359
12371
|
value: "",
|
|
12360
12372
|
disabled: ""
|
|
12361
|
-
},
|
|
12373
|
+
}, y0 = ["value"], p0 = {
|
|
12362
12374
|
key: 3,
|
|
12363
12375
|
class: "flex items-center"
|
|
12364
|
-
},
|
|
12376
|
+
}, x0 = {
|
|
12365
12377
|
key: 4,
|
|
12366
12378
|
class: "flex items-center"
|
|
12367
|
-
},
|
|
12379
|
+
}, w0 = ["id", "aria-checked", "disabled", "onClick"], k0 = {
|
|
12368
12380
|
key: 5,
|
|
12369
12381
|
class: "space-y-2"
|
|
12370
|
-
}, $
|
|
12382
|
+
}, $0 = {
|
|
12371
12383
|
key: 6,
|
|
12372
12384
|
class: "space-y-2"
|
|
12373
|
-
},
|
|
12385
|
+
}, S0 = {
|
|
12374
12386
|
key: 0,
|
|
12375
12387
|
class: "text-xs text-gray-500"
|
|
12376
|
-
},
|
|
12388
|
+
}, C0 = {
|
|
12377
12389
|
key: 8,
|
|
12378
12390
|
class: "space-y-2"
|
|
12379
|
-
},
|
|
12391
|
+
}, z0 = { class: "flex items-center gap-4" }, A0 = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, B0 = { class: "flex justify-end gap-3 pt-4" }, P0 = {
|
|
12380
12392
|
__name: "ReusableFormModal",
|
|
12381
12393
|
props: {
|
|
12382
12394
|
modelValue: {
|
|
@@ -12575,9 +12587,9 @@ const Bd = {
|
|
|
12575
12587
|
onClose: x
|
|
12576
12588
|
}, {
|
|
12577
12589
|
default: R(() => [
|
|
12578
|
-
i("div",
|
|
12579
|
-
i("h2",
|
|
12580
|
-
i("p",
|
|
12590
|
+
i("div", m0, [
|
|
12591
|
+
i("h2", g0, p(e.modalType === "create" ? `Add New ${e.entityName}` : `Edit ${e.entityName}`), 1),
|
|
12592
|
+
i("p", v0, p(e.modalType === "create" ? `Fill in the details to create a new ${e.entityName.toLowerCase()}.` : `Update the ${e.entityName.toLowerCase()} information below.`), 1)
|
|
12581
12593
|
]),
|
|
12582
12594
|
i("form", {
|
|
12583
12595
|
class: "space-y-4",
|
|
@@ -12590,7 +12602,7 @@ const Bd = {
|
|
|
12590
12602
|
key: 0,
|
|
12591
12603
|
"onUpdate:modelValue": (z) => l.value[d.name] = z,
|
|
12592
12604
|
type: "hidden"
|
|
12593
|
-
}, null, 8,
|
|
12605
|
+
}, null, 8, b0)), [
|
|
12594
12606
|
[wt, l.value[d.name]]
|
|
12595
12607
|
]) : (s(), _(xr, {
|
|
12596
12608
|
key: 1,
|
|
@@ -12638,14 +12650,14 @@ const Bd = {
|
|
|
12638
12650
|
"onUpdate:modelValue": (Y) => k(d, Y)
|
|
12639
12651
|
}, {
|
|
12640
12652
|
default: R(() => [
|
|
12641
|
-
i("option",
|
|
12653
|
+
i("option", h0, p(d.placeholder || "Select an option"), 1),
|
|
12642
12654
|
(s(!0), u(K, null, X(d.options, (Y) => (s(), u("option", {
|
|
12643
12655
|
key: Y.value,
|
|
12644
12656
|
value: Y.value
|
|
12645
|
-
}, p(Y.label), 9,
|
|
12657
|
+
}, p(Y.label), 9, y0))), 128))
|
|
12646
12658
|
]),
|
|
12647
12659
|
_: 2
|
|
12648
|
-
}, 1032, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : d.type === "checkbox" ? (s(), u("div",
|
|
12660
|
+
}, 1032, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : d.type === "checkbox" ? (s(), u("div", p0, [
|
|
12649
12661
|
B(Be, {
|
|
12650
12662
|
id: z,
|
|
12651
12663
|
modelValue: l.value[d.name],
|
|
@@ -12664,7 +12676,7 @@ const Bd = {
|
|
|
12664
12676
|
]),
|
|
12665
12677
|
_: 2
|
|
12666
12678
|
}, 1032, ["for"])
|
|
12667
|
-
])) : d.type === "switch" ? (s(), u("div",
|
|
12679
|
+
])) : d.type === "switch" ? (s(), u("div", x0, [
|
|
12668
12680
|
i("button", {
|
|
12669
12681
|
id: z,
|
|
12670
12682
|
type: "button",
|
|
@@ -12684,7 +12696,7 @@ const Bd = {
|
|
|
12684
12696
|
l.value[d.name] ? "translate-x-6" : "translate-x-1"
|
|
12685
12697
|
])
|
|
12686
12698
|
}, null, 2)
|
|
12687
|
-
], 10,
|
|
12699
|
+
], 10, w0),
|
|
12688
12700
|
B(ot, {
|
|
12689
12701
|
for: z,
|
|
12690
12702
|
class: "ml-3 text-sm text-gray-700"
|
|
@@ -12694,7 +12706,7 @@ const Bd = {
|
|
|
12694
12706
|
]),
|
|
12695
12707
|
_: 2
|
|
12696
12708
|
}, 1032, ["for"])
|
|
12697
|
-
])) : d.type === "radio" ? (s(), u("div",
|
|
12709
|
+
])) : d.type === "radio" ? (s(), u("div", k0, [
|
|
12698
12710
|
(s(!0), u(K, null, X(d.options, (Y) => (s(), u("div", {
|
|
12699
12711
|
key: Y.value,
|
|
12700
12712
|
class: "flex items-center"
|
|
@@ -12719,7 +12731,7 @@ const Bd = {
|
|
|
12719
12731
|
_: 2
|
|
12720
12732
|
}, 1032, ["for"])
|
|
12721
12733
|
]))), 128))
|
|
12722
|
-
])) : d.type === "file" ? (s(), u("div", $
|
|
12734
|
+
])) : d.type === "file" ? (s(), u("div", $0, [
|
|
12723
12735
|
B(Be, {
|
|
12724
12736
|
id: z,
|
|
12725
12737
|
type: "file",
|
|
@@ -12732,7 +12744,7 @@ const Bd = {
|
|
|
12732
12744
|
"aria-describedby": V,
|
|
12733
12745
|
onChange: (Y) => $(d, Y)
|
|
12734
12746
|
}, null, 8, ["id", "accept", "disabled", "class", "aria-describedby", "onChange"]),
|
|
12735
|
-
d.helpText ? (s(), u("p",
|
|
12747
|
+
d.helpText ? (s(), u("p", S0, p(d.helpText), 1)) : h("", !0)
|
|
12736
12748
|
])) : d.type === "slider" ? (s(), _($r, {
|
|
12737
12749
|
key: 7,
|
|
12738
12750
|
"model-value": l.value[d.name],
|
|
@@ -12741,8 +12753,8 @@ const Bd = {
|
|
|
12741
12753
|
step: d.step,
|
|
12742
12754
|
disabled: o.value || d.disabled,
|
|
12743
12755
|
"onUpdate:modelValue": (Y) => I(d, Y)
|
|
12744
|
-
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : d.type === "range" ? (s(), u("div",
|
|
12745
|
-
i("div",
|
|
12756
|
+
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : d.type === "range" ? (s(), u("div", C0, [
|
|
12757
|
+
i("div", z0, [
|
|
12746
12758
|
B(Be, {
|
|
12747
12759
|
id: z,
|
|
12748
12760
|
modelValue: l.value[d.name],
|
|
@@ -12755,7 +12767,7 @@ const Bd = {
|
|
|
12755
12767
|
class: "flex-1",
|
|
12756
12768
|
"aria-describedby": V
|
|
12757
12769
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "min", "max", "step", "disabled", "aria-describedby"]),
|
|
12758
|
-
i("span",
|
|
12770
|
+
i("span", A0, p(l.value[d.name]), 1)
|
|
12759
12771
|
])
|
|
12760
12772
|
])) : d.type === "date" ? (s(), _(Aa, {
|
|
12761
12773
|
key: 9,
|
|
@@ -12813,7 +12825,7 @@ const Bd = {
|
|
|
12813
12825
|
_: 2
|
|
12814
12826
|
}, 1032, ["id", "label", "required", "error", "error-message"]))
|
|
12815
12827
|
]))), 128)),
|
|
12816
|
-
i("div",
|
|
12828
|
+
i("div", B0, [
|
|
12817
12829
|
B(xe, {
|
|
12818
12830
|
type: "button",
|
|
12819
12831
|
variant: "outline",
|
|
@@ -12842,37 +12854,37 @@ const Bd = {
|
|
|
12842
12854
|
_: 1
|
|
12843
12855
|
}, 8, ["modelValue", "size", "resizable"]));
|
|
12844
12856
|
}
|
|
12845
|
-
},
|
|
12857
|
+
}, T0 = {
|
|
12846
12858
|
key: 0,
|
|
12847
12859
|
class: "flex items-center justify-between p-4 border-b border-gray-200 flex-shrink-0 lg:hidden"
|
|
12848
|
-
},
|
|
12860
|
+
}, I0 = { class: "text-lg font-bold text-gray-900" }, j0 = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, V0 = { class: "space-y-2" }, O0 = { key: 0 }, F0 = {
|
|
12849
12861
|
key: 0,
|
|
12850
12862
|
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"
|
|
12851
|
-
},
|
|
12863
|
+
}, M0 = ["onClick"], D0 = {
|
|
12852
12864
|
key: 0,
|
|
12853
12865
|
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"
|
|
12854
|
-
},
|
|
12866
|
+
}, E0 = {
|
|
12855
12867
|
key: 1,
|
|
12856
12868
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
12857
|
-
},
|
|
12869
|
+
}, L0 = {
|
|
12858
12870
|
key: 1,
|
|
12859
12871
|
class: "border-t border-gray-200 p-4 flex-shrink-0"
|
|
12860
|
-
},
|
|
12872
|
+
}, N0 = {
|
|
12861
12873
|
key: 0,
|
|
12862
12874
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
12863
|
-
},
|
|
12875
|
+
}, R0 = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, _0 = { class: "flex items-center justify-between p-4" }, q0 = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, U0 = { class: "p-3" }, W0 = { class: "space-y-1" }, Y0 = {
|
|
12864
12876
|
key: 0,
|
|
12865
12877
|
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"
|
|
12866
|
-
},
|
|
12878
|
+
}, H0 = {
|
|
12867
12879
|
key: 1,
|
|
12868
12880
|
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"
|
|
12869
|
-
},
|
|
12881
|
+
}, G0 = { class: "p-3" }, K0 = { class: "space-y-1" }, X0 = {
|
|
12870
12882
|
key: 0,
|
|
12871
12883
|
class: "px-3 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
|
|
12872
|
-
},
|
|
12884
|
+
}, J0 = {
|
|
12873
12885
|
key: 0,
|
|
12874
12886
|
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"
|
|
12875
|
-
},
|
|
12887
|
+
}, Q0 = {
|
|
12876
12888
|
__name: "Sidebar",
|
|
12877
12889
|
props: {
|
|
12878
12890
|
sidebarWidth: {
|
|
@@ -12995,8 +13007,8 @@ const Bd = {
|
|
|
12995
13007
|
)),
|
|
12996
13008
|
style: me({ width: e.sidebarWidth + "px", top: o.value ? "0px" : "4rem" })
|
|
12997
13009
|
}, [
|
|
12998
|
-
o.value ? (s(), u("div",
|
|
12999
|
-
i("h2",
|
|
13010
|
+
o.value ? (s(), u("div", T0, [
|
|
13011
|
+
i("h2", I0, p(e.header?.title), 1),
|
|
13000
13012
|
i("button", {
|
|
13001
13013
|
class: "p-2 rounded-lg text-gray-500 hover:text-gray-900 hover:bg-gray-100 transition-colors",
|
|
13002
13014
|
"aria-label": "Close sidebar",
|
|
@@ -13017,12 +13029,12 @@ const Bd = {
|
|
|
13017
13029
|
], -1)
|
|
13018
13030
|
])])
|
|
13019
13031
|
])) : h("", !0),
|
|
13020
|
-
i("nav",
|
|
13021
|
-
i("div",
|
|
13032
|
+
i("nav", j0, [
|
|
13033
|
+
i("div", V0, [
|
|
13022
13034
|
(s(!0), u(K, null, X(e.navigationItems, (A) => (s(), u(K, {
|
|
13023
13035
|
key: A.name || A.label
|
|
13024
13036
|
}, [
|
|
13025
|
-
A.type === "link" ? (s(), u("div",
|
|
13037
|
+
A.type === "link" ? (s(), u("div", O0, [
|
|
13026
13038
|
x(A) ? (s(), u("div", {
|
|
13027
13039
|
key: 1,
|
|
13028
13040
|
class: v(N(C)(
|
|
@@ -13049,9 +13061,9 @@ const Bd = {
|
|
|
13049
13061
|
G(A) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
13050
13062
|
))
|
|
13051
13063
|
}, p(A.label), 3),
|
|
13052
|
-
A.badge ? (s(), u("span",
|
|
13053
|
-
G(A) && x(A) ? (s(), u("div",
|
|
13054
|
-
], 10,
|
|
13064
|
+
A.badge ? (s(), u("span", D0, p(A.badge), 1)) : h("", !0),
|
|
13065
|
+
G(A) && x(A) ? (s(), u("div", E0)) : h("", !0)
|
|
13066
|
+
], 10, M0)) : (s(), _(J, {
|
|
13055
13067
|
key: 0,
|
|
13056
13068
|
to: A.route,
|
|
13057
13069
|
class: v(N(C)(
|
|
@@ -13079,7 +13091,7 @@ const Bd = {
|
|
|
13079
13091
|
G(A) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
13080
13092
|
))
|
|
13081
13093
|
}, p(A.label), 3),
|
|
13082
|
-
A.badge ? (s(), u("span",
|
|
13094
|
+
A.badge ? (s(), u("span", F0, p(A.badge), 1)) : h("", !0)
|
|
13083
13095
|
]),
|
|
13084
13096
|
_: 2
|
|
13085
13097
|
}, 1032, ["to", "class", "onClick"]))
|
|
@@ -13087,7 +13099,7 @@ const Bd = {
|
|
|
13087
13099
|
], 64))), 128))
|
|
13088
13100
|
])
|
|
13089
13101
|
]),
|
|
13090
|
-
e.showManagementSettings ? (s(), u("div",
|
|
13102
|
+
e.showManagementSettings ? (s(), u("div", L0, [
|
|
13091
13103
|
i("div", {
|
|
13092
13104
|
class: v(N(C)(
|
|
13093
13105
|
"flex flex-col items-center justify-center rounded-xl transition-all duration-200 cursor-pointer group relative py-4 px-3",
|
|
@@ -13113,7 +13125,7 @@ const Bd = {
|
|
|
13113
13125
|
e.isManagementSettingsActive ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
13114
13126
|
))
|
|
13115
13127
|
}, " Settings ", 2),
|
|
13116
|
-
e.isManagementSettingsActive ? (s(), u("div",
|
|
13128
|
+
e.isManagementSettingsActive ? (s(), u("div", N0)) : h("", !0)
|
|
13117
13129
|
], 2)
|
|
13118
13130
|
])) : h("", !0)
|
|
13119
13131
|
], 6),
|
|
@@ -13136,8 +13148,8 @@ const Bd = {
|
|
|
13136
13148
|
),
|
|
13137
13149
|
style: me(w.value)
|
|
13138
13150
|
}, [
|
|
13139
|
-
i("div",
|
|
13140
|
-
i("div",
|
|
13151
|
+
i("div", R0, [
|
|
13152
|
+
i("div", _0, [
|
|
13141
13153
|
i("button", {
|
|
13142
13154
|
class: "p-2 -ml-2 rounded-lg text-gray-500 hover:text-gray-700 hover:bg-gray-100 transition-colors",
|
|
13143
13155
|
"aria-label": "Close submenu",
|
|
@@ -13157,11 +13169,11 @@ const Bd = {
|
|
|
13157
13169
|
})
|
|
13158
13170
|
], -1)
|
|
13159
13171
|
])]),
|
|
13160
|
-
i("h3",
|
|
13172
|
+
i("h3", q0, p(c.value?.label), 1)
|
|
13161
13173
|
])
|
|
13162
13174
|
]),
|
|
13163
|
-
i("nav",
|
|
13164
|
-
i("div",
|
|
13175
|
+
i("nav", U0, [
|
|
13176
|
+
i("div", W0, [
|
|
13165
13177
|
(s(!0), u(K, null, X(c.value?.subItems, (A) => (s(), _(J, {
|
|
13166
13178
|
key: A.name,
|
|
13167
13179
|
to: A.route,
|
|
@@ -13174,7 +13186,7 @@ const Bd = {
|
|
|
13174
13186
|
onClick: (M) => V(A)
|
|
13175
13187
|
}, {
|
|
13176
13188
|
default: R(() => [
|
|
13177
|
-
G(A) ? (s(), u("div",
|
|
13189
|
+
G(A) ? (s(), u("div", Y0)) : h("", !0),
|
|
13178
13190
|
i("div", {
|
|
13179
13191
|
class: v(
|
|
13180
13192
|
N(C)(
|
|
@@ -13195,7 +13207,7 @@ const Bd = {
|
|
|
13195
13207
|
G(A) ? "text-blue-700" : "text-gray-700"
|
|
13196
13208
|
))
|
|
13197
13209
|
}, p(A.label), 3),
|
|
13198
|
-
A.badge ? (s(), u("span",
|
|
13210
|
+
A.badge ? (s(), u("span", H0, p(A.badge), 1)) : h("", !0)
|
|
13199
13211
|
]),
|
|
13200
13212
|
_: 2
|
|
13201
13213
|
}, 1032, ["to", "class", "onClick"]))), 128))
|
|
@@ -13248,12 +13260,12 @@ const Bd = {
|
|
|
13248
13260
|
Z[3] || (Z[3] = i("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, " Management Settings ", -1))
|
|
13249
13261
|
])
|
|
13250
13262
|
]),
|
|
13251
|
-
i("nav",
|
|
13252
|
-
i("div",
|
|
13263
|
+
i("nav", G0, [
|
|
13264
|
+
i("div", K0, [
|
|
13253
13265
|
(s(!0), u(K, null, X(e.managementSettings, (A) => (s(), u(K, {
|
|
13254
13266
|
key: A.name
|
|
13255
13267
|
}, [
|
|
13256
|
-
A.type === "section" ? (s(), u("div",
|
|
13268
|
+
A.type === "section" ? (s(), u("div", X0, p(A.label), 1)) : A.route ? (s(), _(J, {
|
|
13257
13269
|
key: 1,
|
|
13258
13270
|
to: A.route,
|
|
13259
13271
|
class: v(
|
|
@@ -13265,7 +13277,7 @@ const Bd = {
|
|
|
13265
13277
|
onClick: (M) => Y(A)
|
|
13266
13278
|
}, {
|
|
13267
13279
|
default: R(() => [
|
|
13268
|
-
G(A) ? (s(), u("div",
|
|
13280
|
+
G(A) ? (s(), u("div", J0)) : h("", !0),
|
|
13269
13281
|
i("div", {
|
|
13270
13282
|
class: v(
|
|
13271
13283
|
N(C)(
|
|
@@ -13316,7 +13328,7 @@ const Bd = {
|
|
|
13316
13328
|
]);
|
|
13317
13329
|
};
|
|
13318
13330
|
}
|
|
13319
|
-
},
|
|
13331
|
+
}, Z0 = {
|
|
13320
13332
|
__name: "Timeline",
|
|
13321
13333
|
props: {
|
|
13322
13334
|
orientation: {
|
|
@@ -13335,13 +13347,13 @@ const Bd = {
|
|
|
13335
13347
|
O(a.$slots, "default")
|
|
13336
13348
|
], 2));
|
|
13337
13349
|
}
|
|
13338
|
-
},
|
|
13350
|
+
}, ev = {
|
|
13339
13351
|
key: 0,
|
|
13340
13352
|
class: "absolute left-3 top-0 w-0.5 h-full bg-slate-200"
|
|
13341
|
-
},
|
|
13353
|
+
}, tv = { class: "z-10 flex items-center justify-center w-6 h-6 rounded-full border-2 border-blue-500 bg-white text-blue-500" }, av = { class: "text-slate-900 font-medium" }, nv = {
|
|
13342
13354
|
key: 0,
|
|
13343
13355
|
class: "text-slate-500 text-sm"
|
|
13344
|
-
},
|
|
13356
|
+
}, rv = { class: "mt-2 text-slate-600 text-sm" }, sv = {
|
|
13345
13357
|
__name: "TimelineItem",
|
|
13346
13358
|
props: {
|
|
13347
13359
|
title: {
|
|
@@ -13365,8 +13377,8 @@ const Bd = {
|
|
|
13365
13377
|
e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
|
|
13366
13378
|
])
|
|
13367
13379
|
}, [
|
|
13368
|
-
e.orientation === "vertical" ? (s(), u("div",
|
|
13369
|
-
i("div",
|
|
13380
|
+
e.orientation === "vertical" ? (s(), u("div", ev)) : h("", !0),
|
|
13381
|
+
i("div", tv, [
|
|
13370
13382
|
O(a.$slots, "icon", {}, () => [
|
|
13371
13383
|
t[0] || (t[0] = i("div", { class: "w-2 h-2 rounded-full bg-blue-500" }, null, -1))
|
|
13372
13384
|
])
|
|
@@ -13377,23 +13389,23 @@ const Bd = {
|
|
|
13377
13389
|
e.orientation === "horizontal" ? "mt-2 text-center" : ""
|
|
13378
13390
|
])
|
|
13379
13391
|
}, [
|
|
13380
|
-
i("h3",
|
|
13392
|
+
i("h3", av, [
|
|
13381
13393
|
O(a.$slots, "title", {}, () => [
|
|
13382
13394
|
te(p(e.title), 1)
|
|
13383
13395
|
])
|
|
13384
13396
|
]),
|
|
13385
|
-
e.subtitle ? (s(), u("p",
|
|
13397
|
+
e.subtitle ? (s(), u("p", nv, [
|
|
13386
13398
|
O(a.$slots, "subtitle", {}, () => [
|
|
13387
13399
|
te(p(e.subtitle), 1)
|
|
13388
13400
|
])
|
|
13389
13401
|
])) : h("", !0),
|
|
13390
|
-
i("div",
|
|
13402
|
+
i("div", rv, [
|
|
13391
13403
|
O(a.$slots, "default")
|
|
13392
13404
|
])
|
|
13393
13405
|
], 2)
|
|
13394
13406
|
], 2));
|
|
13395
13407
|
}
|
|
13396
|
-
},
|
|
13408
|
+
}, lv = {
|
|
13397
13409
|
name: "AuthLayout",
|
|
13398
13410
|
props: {
|
|
13399
13411
|
title: {
|
|
@@ -13482,20 +13494,20 @@ const Bd = {
|
|
|
13482
13494
|
currentYear: b(() => (/* @__PURE__ */ new Date()).getFullYear())
|
|
13483
13495
|
};
|
|
13484
13496
|
}
|
|
13485
|
-
},
|
|
13497
|
+
}, ov = { class: "container mx-auto px-4 relative z-10" }, iv = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, uv = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, dv = { class: "mb-6" }, cv = { class: "text-4xl lg:text-6xl font-bold mb-2" }, fv = { class: "text-white" }, mv = { class: "flex items-center justify-center lg:justify-start mb-6" }, gv = { class: "text-3xl lg:text-4xl font-bold text-white" }, vv = { class: "lg:col-span-4" }, bv = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, hv = {
|
|
13486
13498
|
key: 0,
|
|
13487
13499
|
class: "mb-6"
|
|
13488
|
-
},
|
|
13500
|
+
}, yv = { class: "text-center" }, pv = { class: "text-2xl font-bold text-gray-900" }, xv = {
|
|
13489
13501
|
key: 0,
|
|
13490
13502
|
class: "text-gray-600 mt-2"
|
|
13491
|
-
},
|
|
13503
|
+
}, wv = { class: "space-y-6" }, kv = {
|
|
13492
13504
|
key: 1,
|
|
13493
13505
|
class: "mt-6"
|
|
13494
|
-
}, $
|
|
13506
|
+
}, $v = {
|
|
13495
13507
|
key: 0,
|
|
13496
13508
|
class: "mt-6 text-center"
|
|
13497
|
-
},
|
|
13498
|
-
function
|
|
13509
|
+
}, Sv = { class: "absolute bottom-4 right-4 text-right" }, Cv = { class: "flex items-end justify-end mb-2" }, zv = { class: "text-right mr-3" }, Av = { class: "text-red-500 font-bold text-xs" }, Bv = { class: "text-white text-xs" }, Pv = { class: "text-white/70 text-xs" }, Tv = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, Iv = { class: "text-white/70 text-xs" }, jv = { class: "absolute bottom-4 left-4 flex gap-2" }, Vv = ["href"];
|
|
13510
|
+
function Ov(e, a, t, n, r, o) {
|
|
13499
13511
|
const l = fe("router-view"), c = fe("font-awesome-icon");
|
|
13500
13512
|
return s(), u("div", {
|
|
13501
13513
|
class: "min-h-screen relative flex items-center justify-center",
|
|
@@ -13508,70 +13520,70 @@ function O0(e, a, t, n, r, o) {
|
|
|
13508
13520
|
opacity: t.backgroundOpacity
|
|
13509
13521
|
})
|
|
13510
13522
|
}, null, 4),
|
|
13511
|
-
i("div",
|
|
13512
|
-
i("div",
|
|
13513
|
-
i("div",
|
|
13514
|
-
i("div",
|
|
13515
|
-
i("div",
|
|
13523
|
+
i("div", ov, [
|
|
13524
|
+
i("div", iv, [
|
|
13525
|
+
i("div", uv, [
|
|
13526
|
+
i("div", dv, [
|
|
13527
|
+
i("div", cv, [
|
|
13516
13528
|
i("span", {
|
|
13517
13529
|
style: me({ color: t.primaryColor })
|
|
13518
13530
|
}, p(t.primaryLogoPrefix), 5),
|
|
13519
|
-
i("span",
|
|
13531
|
+
i("span", fv, p(t.primaryLogoText), 1)
|
|
13520
13532
|
]),
|
|
13521
13533
|
i("div", {
|
|
13522
13534
|
class: "h-0.5 w-30 mx-auto lg:mx-0",
|
|
13523
13535
|
style: me({ backgroundColor: t.primaryColor })
|
|
13524
13536
|
}, null, 4)
|
|
13525
13537
|
]),
|
|
13526
|
-
i("div",
|
|
13538
|
+
i("div", mv, [
|
|
13527
13539
|
i("div", {
|
|
13528
13540
|
class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
|
|
13529
13541
|
style: me({ backgroundColor: t.primaryColor })
|
|
13530
13542
|
}, p(t.secondaryLogoPrefix), 5),
|
|
13531
|
-
i("span",
|
|
13543
|
+
i("span", gv, p(t.secondaryLogoText), 1)
|
|
13532
13544
|
]),
|
|
13533
13545
|
a[0] || (a[0] = i("div", { class: "max-w-md mx-auto lg:mx-0" }, [
|
|
13534
13546
|
i("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
|
|
13535
13547
|
], -1))
|
|
13536
13548
|
]),
|
|
13537
|
-
i("div",
|
|
13538
|
-
i("div",
|
|
13539
|
-
e.$slots["card-header"] || t.title ? (s(), u("div",
|
|
13549
|
+
i("div", vv, [
|
|
13550
|
+
i("div", bv, [
|
|
13551
|
+
e.$slots["card-header"] || t.title ? (s(), u("div", hv, [
|
|
13540
13552
|
O(e.$slots, "card-header", {}, () => [
|
|
13541
|
-
i("div",
|
|
13542
|
-
i("h1",
|
|
13543
|
-
t.subtitle ? (s(), u("p",
|
|
13553
|
+
i("div", yv, [
|
|
13554
|
+
i("h1", pv, p(t.title), 1),
|
|
13555
|
+
t.subtitle ? (s(), u("p", xv, p(t.subtitle), 1)) : h("", !0)
|
|
13544
13556
|
])
|
|
13545
13557
|
])
|
|
13546
13558
|
])) : h("", !0),
|
|
13547
|
-
i("div",
|
|
13559
|
+
i("div", wv, [
|
|
13548
13560
|
B(l)
|
|
13549
13561
|
]),
|
|
13550
|
-
e.$slots["card-footer"] ? (s(), u("div",
|
|
13562
|
+
e.$slots["card-footer"] ? (s(), u("div", kv, [
|
|
13551
13563
|
O(e.$slots, "card-footer")
|
|
13552
13564
|
])) : h("", !0)
|
|
13553
13565
|
]),
|
|
13554
|
-
e.$slots.links ? (s(), u("div", $
|
|
13566
|
+
e.$slots.links ? (s(), u("div", $v, [
|
|
13555
13567
|
O(e.$slots, "links")
|
|
13556
13568
|
])) : h("", !0)
|
|
13557
13569
|
])
|
|
13558
13570
|
])
|
|
13559
13571
|
]),
|
|
13560
|
-
i("div",
|
|
13561
|
-
i("div",
|
|
13562
|
-
i("div",
|
|
13563
|
-
i("div",
|
|
13564
|
-
i("div",
|
|
13565
|
-
i("div",
|
|
13572
|
+
i("div", Sv, [
|
|
13573
|
+
i("div", Cv, [
|
|
13574
|
+
i("div", zv, [
|
|
13575
|
+
i("div", Av, p(t.companyName), 1),
|
|
13576
|
+
i("div", Bv, p(t.companyType), 1),
|
|
13577
|
+
i("div", Pv, p(t.companyTagline), 1)
|
|
13566
13578
|
]),
|
|
13567
|
-
i("div",
|
|
13579
|
+
i("div", Tv, p(t.companyInitials), 1)
|
|
13568
13580
|
]),
|
|
13569
|
-
i("div",
|
|
13581
|
+
i("div", Iv, [
|
|
13570
13582
|
i("div", null, p(t.appName) + " (" + p(t.appVersion) + ")", 1),
|
|
13571
13583
|
i("div", null, p(t.copyright), 1)
|
|
13572
13584
|
])
|
|
13573
13585
|
]),
|
|
13574
|
-
i("div",
|
|
13586
|
+
i("div", jv, [
|
|
13575
13587
|
(s(!0), u(K, null, X(t.socialLinks, (f) => (s(), u("a", {
|
|
13576
13588
|
key: f.name,
|
|
13577
13589
|
href: f.url,
|
|
@@ -13583,14 +13595,14 @@ function O0(e, a, t, n, r, o) {
|
|
|
13583
13595
|
B(c, {
|
|
13584
13596
|
icon: ["fab", f.icon]
|
|
13585
13597
|
}, null, 8, ["icon"])
|
|
13586
|
-
], 10,
|
|
13598
|
+
], 10, Vv))), 128))
|
|
13587
13599
|
])
|
|
13588
13600
|
], 4);
|
|
13589
13601
|
}
|
|
13590
|
-
const
|
|
13602
|
+
const Fv = /* @__PURE__ */ jt(lv, [["render", Ov]]), Mv = { class: "min-h-screen bg-gray-50" }, Dv = { class: "flex-1" }, Ev = {
|
|
13591
13603
|
key: 0,
|
|
13592
13604
|
class: "bg-white border-b border-gray-200"
|
|
13593
|
-
},
|
|
13605
|
+
}, Lv = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, Nv = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, Rv = {
|
|
13594
13606
|
__name: "DefaultLayout",
|
|
13595
13607
|
props: {
|
|
13596
13608
|
navigationItems: {
|
|
@@ -13614,7 +13626,7 @@ const F0 = /* @__PURE__ */ jt(l0, [["render", O0]]), M0 = { class: "min-h-screen
|
|
|
13614
13626
|
setup(e) {
|
|
13615
13627
|
return (a, t) => {
|
|
13616
13628
|
const n = fe("Logo"), r = fe("MainNavigation"), o = fe("Button"), l = fe("Header"), c = fe("Breadcrumb"), f = fe("Text"), y = fe("Footer");
|
|
13617
|
-
return s(), u("div",
|
|
13629
|
+
return s(), u("div", Mv, [
|
|
13618
13630
|
B(l, null, {
|
|
13619
13631
|
logo: R(() => [
|
|
13620
13632
|
O(a.$slots, "logo", {}, () => [
|
|
@@ -13647,15 +13659,15 @@ const F0 = /* @__PURE__ */ jt(l0, [["render", O0]]), M0 = { class: "min-h-screen
|
|
|
13647
13659
|
]),
|
|
13648
13660
|
_: 3
|
|
13649
13661
|
}),
|
|
13650
|
-
i("main",
|
|
13651
|
-
e.showBreadcrumb ? (s(), u("div",
|
|
13652
|
-
i("div",
|
|
13662
|
+
i("main", Dv, [
|
|
13663
|
+
e.showBreadcrumb ? (s(), u("div", Ev, [
|
|
13664
|
+
i("div", Lv, [
|
|
13653
13665
|
O(a.$slots, "breadcrumb", {}, () => [
|
|
13654
13666
|
B(c, { items: e.breadcrumbItems }, null, 8, ["items"])
|
|
13655
13667
|
])
|
|
13656
13668
|
])
|
|
13657
13669
|
])) : h("", !0),
|
|
13658
|
-
i("div",
|
|
13670
|
+
i("div", Nv, [
|
|
13659
13671
|
O(a.$slots, "default")
|
|
13660
13672
|
])
|
|
13661
13673
|
]),
|
|
@@ -13676,7 +13688,7 @@ const F0 = /* @__PURE__ */ jt(l0, [["render", O0]]), M0 = { class: "min-h-screen
|
|
|
13676
13688
|
]);
|
|
13677
13689
|
};
|
|
13678
13690
|
}
|
|
13679
|
-
},
|
|
13691
|
+
}, _v = {
|
|
13680
13692
|
name: "ErrorLayout",
|
|
13681
13693
|
props: {
|
|
13682
13694
|
errorType: {
|
|
@@ -13942,13 +13954,13 @@ const F0 = /* @__PURE__ */ jt(l0, [["render", O0]]), M0 = { class: "min-h-screen
|
|
|
13942
13954
|
helpClasses: oe
|
|
13943
13955
|
};
|
|
13944
13956
|
}
|
|
13945
|
-
},
|
|
13957
|
+
}, qv = { class: "flex justify-center" }, Uv = { class: "flex items-center gap-3" }, Wv = { class: "text-2xl font-bold text-slate-900" }, Yv = {
|
|
13946
13958
|
key: 1,
|
|
13947
13959
|
class: "bg-red-100 border border-red-200 rounded-lg p-4 mx-auto max-w-md mb-6"
|
|
13948
|
-
},
|
|
13960
|
+
}, Hv = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, Gv = ["disabled"], Kv = {
|
|
13949
13961
|
key: 0,
|
|
13950
13962
|
class: "animate-spin"
|
|
13951
|
-
},
|
|
13963
|
+
}, Xv = { key: 1 }, Jv = ["disabled"], Qv = { key: 0 }, Zv = { key: 1 }, eb = {
|
|
13952
13964
|
key: 0,
|
|
13953
13965
|
class: "mt-8 max-w-md mx-auto"
|
|
13954
13966
|
}, tb = { class: "bg-white rounded-lg border border-slate-200 shadow-sm p-6" }, ab = { class: "text-lg font-semibold text-slate-900 mb-4" }, nb = { class: "space-y-3" }, rb = { class: "text-sm text-slate-600" }, sb = ["href"], lb = {
|
|
@@ -13975,13 +13987,13 @@ function ob(e, a, t, n, r, o) {
|
|
|
13975
13987
|
class: v(n.headerClasses)
|
|
13976
13988
|
}, [
|
|
13977
13989
|
O(e.$slots, "header", {}, () => [
|
|
13978
|
-
i("div",
|
|
13990
|
+
i("div", qv, [
|
|
13979
13991
|
O(e.$slots, "logo", {}, () => [
|
|
13980
|
-
i("div",
|
|
13992
|
+
i("div", Uv, [
|
|
13981
13993
|
a[5] || (a[5] = i("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
|
|
13982
13994
|
i("span", { class: "text-white font-bold text-lg" }, "STL")
|
|
13983
13995
|
], -1)),
|
|
13984
|
-
i("span",
|
|
13996
|
+
i("span", Wv, p(t.brandName), 1)
|
|
13985
13997
|
])
|
|
13986
13998
|
])
|
|
13987
13999
|
])
|
|
@@ -14027,7 +14039,7 @@ function ob(e, a, t, n, r, o) {
|
|
|
14027
14039
|
])
|
|
14028
14040
|
], 2)
|
|
14029
14041
|
], 2),
|
|
14030
|
-
n.isOnline ? h("", !0) : (s(), u("div",
|
|
14042
|
+
n.isOnline ? h("", !0) : (s(), u("div", Yv, [...a[6] || (a[6] = [
|
|
14031
14043
|
i("div", { class: "flex items-center justify-center gap-2 text-red-700" }, [
|
|
14032
14044
|
i("span", { class: "w-3 h-3 bg-red-500 rounded-full animate-pulse" }),
|
|
14033
14045
|
i("span", { class: "font-medium" }, "No Internet Connection")
|
|
@@ -14038,7 +14050,7 @@ function ob(e, a, t, n, r, o) {
|
|
|
14038
14050
|
class: v(n.actionsClasses)
|
|
14039
14051
|
}, [
|
|
14040
14052
|
O(e.$slots, "actions", {}, () => [
|
|
14041
|
-
i("div",
|
|
14053
|
+
i("div", Hv, [
|
|
14042
14054
|
t.showHomeButton ? (s(), u("button", {
|
|
14043
14055
|
key: 0,
|
|
14044
14056
|
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",
|
|
@@ -14061,18 +14073,18 @@ function ob(e, a, t, n, r, o) {
|
|
|
14061
14073
|
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",
|
|
14062
14074
|
onClick: a[2] || (a[2] = (...l) => n.retry && n.retry(...l))
|
|
14063
14075
|
}, [
|
|
14064
|
-
n.isRetrying ? (s(), u("span",
|
|
14076
|
+
n.isRetrying ? (s(), u("span", Kv, "↻")) : (s(), u("span", Xv, "🔄")),
|
|
14065
14077
|
te(" " + p(n.isRetrying ? "Retrying..." : t.retryButtonText), 1)
|
|
14066
|
-
], 8,
|
|
14078
|
+
], 8, Gv)) : h("", !0),
|
|
14067
14079
|
t.showSupportButton ? (s(), u("button", {
|
|
14068
14080
|
key: 3,
|
|
14069
14081
|
disabled: n.reportSent,
|
|
14070
14082
|
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",
|
|
14071
14083
|
onClick: a[3] || (a[3] = (l) => e.$emit("contact-support"))
|
|
14072
14084
|
}, [
|
|
14073
|
-
n.reportSent ? (s(), u("span",
|
|
14085
|
+
n.reportSent ? (s(), u("span", Qv, "✓")) : (s(), u("span", Zv, "📝")),
|
|
14074
14086
|
te(" " + p(n.reportSent ? "Report Sent" : "Contact Support"), 1)
|
|
14075
|
-
], 8,
|
|
14087
|
+
], 8, Jv)) : h("", !0)
|
|
14076
14088
|
])
|
|
14077
14089
|
])
|
|
14078
14090
|
], 2)) : h("", !0),
|
|
@@ -14122,7 +14134,7 @@ function ob(e, a, t, n, r, o) {
|
|
|
14122
14134
|
], 2)
|
|
14123
14135
|
], 2);
|
|
14124
14136
|
}
|
|
14125
|
-
const ib = /* @__PURE__ */ jt(
|
|
14137
|
+
const ib = /* @__PURE__ */ jt(_v, [["render", ob]]), un = {
|
|
14126
14138
|
mounted(e, a) {
|
|
14127
14139
|
if (!a.value) return;
|
|
14128
14140
|
const t = Object.keys(a.modifiers)[0] || "top", n = document.createElement("div");
|
|
@@ -14302,13 +14314,13 @@ const ib = /* @__PURE__ */ jt(_0, [["render", ob]]), un = {
|
|
|
14302
14314
|
DataTableFilters: ug,
|
|
14303
14315
|
DataTableToolBar: Cg,
|
|
14304
14316
|
Footer: Vg,
|
|
14305
|
-
Header:
|
|
14306
|
-
ReusableFormModal:
|
|
14307
|
-
Sidebar:
|
|
14308
|
-
Timeline:
|
|
14309
|
-
TimelineItem:
|
|
14310
|
-
AuthLayout:
|
|
14311
|
-
DefaultLayout:
|
|
14317
|
+
Header: f0,
|
|
14318
|
+
ReusableFormModal: P0,
|
|
14319
|
+
Sidebar: Q0,
|
|
14320
|
+
Timeline: Z0,
|
|
14321
|
+
TimelineItem: sv,
|
|
14322
|
+
AuthLayout: Fv,
|
|
14323
|
+
DefaultLayout: Rv,
|
|
14312
14324
|
ErrorLayout: ib
|
|
14313
14325
|
}, fb = {
|
|
14314
14326
|
install(e, a = {}) {
|
|
@@ -14323,7 +14335,7 @@ export {
|
|
|
14323
14335
|
$c as Accordion,
|
|
14324
14336
|
Sc as AccordionItem,
|
|
14325
14337
|
au as Alert,
|
|
14326
|
-
|
|
14338
|
+
Fv as AuthLayout,
|
|
14327
14339
|
si as Avatar,
|
|
14328
14340
|
oi as Badge,
|
|
14329
14341
|
Zc as BarChart,
|
|
@@ -14347,7 +14359,7 @@ export {
|
|
|
14347
14359
|
Cr as DataTableRow,
|
|
14348
14360
|
Cg as DataTableToolBar,
|
|
14349
14361
|
Aa as DatePicker,
|
|
14350
|
-
|
|
14362
|
+
Rv as DefaultLayout,
|
|
14351
14363
|
hi as Divider,
|
|
14352
14364
|
Eu as Dropdown,
|
|
14353
14365
|
Nu as DropdownItem,
|
|
@@ -14357,7 +14369,7 @@ export {
|
|
|
14357
14369
|
xr as FormField,
|
|
14358
14370
|
Nc as Graph,
|
|
14359
14371
|
Tf as GraphFilters,
|
|
14360
|
-
|
|
14372
|
+
f0 as Header,
|
|
14361
14373
|
Q as Icon,
|
|
14362
14374
|
wi as Image,
|
|
14363
14375
|
Be as Input,
|
|
@@ -14378,10 +14390,10 @@ export {
|
|
|
14378
14390
|
Vi as Progress,
|
|
14379
14391
|
Fi as ProgressBar,
|
|
14380
14392
|
qi as Radio,
|
|
14381
|
-
|
|
14393
|
+
P0 as ReusableFormModal,
|
|
14382
14394
|
Zd as Search,
|
|
14383
14395
|
Me as Select,
|
|
14384
|
-
|
|
14396
|
+
Q0 as Sidebar,
|
|
14385
14397
|
$r as Slider,
|
|
14386
14398
|
za as Spinner,
|
|
14387
14399
|
rc as Stepper,
|
|
@@ -14391,8 +14403,8 @@ export {
|
|
|
14391
14403
|
hc as TabPanel,
|
|
14392
14404
|
Hi as Text,
|
|
14393
14405
|
yr as Textarea,
|
|
14394
|
-
|
|
14395
|
-
|
|
14406
|
+
Z0 as Timeline,
|
|
14407
|
+
sv as TimelineItem,
|
|
14396
14408
|
Ed as Toast,
|
|
14397
14409
|
pr as Tooltip,
|
|
14398
14410
|
ia as Typography,
|