@stlhorizon/vue-ui 3.25.10 → 3.25.12
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 +610 -607
- package/dist/index.js +2 -2
- package/dist/src/components/ReusableFormModal.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -13669,31 +13669,31 @@ const dc = {
|
|
|
13669
13669
|
]))
|
|
13670
13670
|
]));
|
|
13671
13671
|
}
|
|
13672
|
-
}, gh = { class: "mb-6" }, vh = { class: "text-xl font-semibold text-gray-900" }, hh = { class: "text-sm text-gray-600 mt-1" }, bh = ["value"],
|
|
13672
|
+
}, gh = { class: "mb-6" }, vh = { class: "text-xl font-semibold text-gray-900" }, hh = { class: "text-sm text-gray-600 mt-1" }, bh = { class: "grid grid-cols-12 gap-6" }, ph = ["value"], yh = {
|
|
13673
13673
|
key: 5,
|
|
13674
13674
|
class: "flex items-center"
|
|
13675
|
-
},
|
|
13675
|
+
}, xh = {
|
|
13676
13676
|
key: 6,
|
|
13677
13677
|
class: "flex items-center"
|
|
13678
|
-
},
|
|
13678
|
+
}, wh = ["id", "aria-checked", "disabled", "onClick"], kh = {
|
|
13679
13679
|
key: 7,
|
|
13680
13680
|
class: "space-y-2"
|
|
13681
|
-
},
|
|
13681
|
+
}, $h = {
|
|
13682
13682
|
key: 8,
|
|
13683
13683
|
class: "w-full"
|
|
13684
|
-
},
|
|
13684
|
+
}, Ch = {
|
|
13685
13685
|
key: 0,
|
|
13686
13686
|
class: "mt-2 text-xs text-gray-500"
|
|
13687
|
-
},
|
|
13687
|
+
}, Sh = {
|
|
13688
13688
|
key: 9,
|
|
13689
13689
|
class: "w-full"
|
|
13690
|
-
},
|
|
13690
|
+
}, zh = {
|
|
13691
13691
|
key: 0,
|
|
13692
13692
|
class: "mt-2 text-xs text-gray-500"
|
|
13693
|
-
},
|
|
13693
|
+
}, Ah = {
|
|
13694
13694
|
key: 11,
|
|
13695
13695
|
class: "space-y-2"
|
|
13696
|
-
},
|
|
13696
|
+
}, Dh = { class: "flex items-center gap-4" }, Mh = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, Vh = { class: "flex justify-end gap-3 pt-6" }, Fh = {
|
|
13697
13697
|
__name: "ReusableFormModal",
|
|
13698
13698
|
props: {
|
|
13699
13699
|
modelValue: {
|
|
@@ -13943,256 +13943,259 @@ const dc = {
|
|
|
13943
13943
|
l("p", hh, w(e.modalType === "create" ? `Fill in the details to create a new ${e.entityName.toLowerCase()}.` : `Update the ${e.entityName.toLowerCase()} information below.`), 1)
|
|
13944
13944
|
]),
|
|
13945
13945
|
l("form", {
|
|
13946
|
-
class: "
|
|
13946
|
+
class: "overflow-y-auto",
|
|
13947
13947
|
onSubmit: $e(D, ["prevent"])
|
|
13948
13948
|
}, [
|
|
13949
|
-
(
|
|
13950
|
-
|
|
13951
|
-
|
|
13952
|
-
|
|
13953
|
-
|
|
13954
|
-
|
|
13955
|
-
|
|
13956
|
-
|
|
13957
|
-
|
|
13958
|
-
|
|
13959
|
-
|
|
13960
|
-
|
|
13961
|
-
|
|
13962
|
-
|
|
13963
|
-
|
|
13964
|
-
|
|
13965
|
-
|
|
13966
|
-
|
|
13967
|
-
|
|
13968
|
-
|
|
13969
|
-
type: h.type,
|
|
13970
|
-
placeholder: h.placeholder,
|
|
13971
|
-
disabled: o.value || h.disabled,
|
|
13972
|
-
readonly: h.disabled,
|
|
13973
|
-
class: m(g ? "border-red-500" : "border-slate-300"),
|
|
13974
|
-
"aria-describedby": p,
|
|
13975
|
-
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
13976
|
-
}, null, 8, ["id", "model-value", "type", "placeholder", "disabled", "readonly", "class", "aria-describedby", "onUpdate:modelValue"])) : h.type === "textarea" ? (s(), W(Ua, {
|
|
13977
|
-
key: 1,
|
|
13978
|
-
id: B,
|
|
13979
|
-
"model-value": F(h.name),
|
|
13980
|
-
placeholder: h.placeholder,
|
|
13981
|
-
disabled: o.value || h.disabled,
|
|
13982
|
-
rows: h.rows || 3,
|
|
13983
|
-
class: m([
|
|
13984
|
-
"w-full px-3 py-2 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",
|
|
13985
|
-
g ? "border-red-500" : "border-slate-300"
|
|
13986
|
-
]),
|
|
13987
|
-
"aria-describedby": p,
|
|
13988
|
-
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
13989
|
-
}, null, 8, ["id", "model-value", "placeholder", "disabled", "rows", "class", "aria-describedby", "onUpdate:modelValue"])) : h.type === "select" ? (s(), W(Ye, {
|
|
13990
|
-
key: 2,
|
|
13991
|
-
id: B,
|
|
13992
|
-
"model-value": F(h.name),
|
|
13993
|
-
options: h.options,
|
|
13994
|
-
placeholder: h.placeholder || "Select an option",
|
|
13995
|
-
disabled: o.value || h.disabled,
|
|
13996
|
-
"has-error": g,
|
|
13997
|
-
"aria-describedby": p,
|
|
13998
|
-
"onUpdate:modelValue": (f) => k(h, f)
|
|
13999
|
-
}, null, 8, ["id", "model-value", "options", "placeholder", "disabled", "has-error", "aria-describedby", "onUpdate:modelValue"])) : h.type === "multiselect" ? (s(), W(Ws, {
|
|
14000
|
-
key: 3,
|
|
14001
|
-
id: B,
|
|
14002
|
-
"model-value": F(h.name),
|
|
14003
|
-
options: h.options,
|
|
14004
|
-
disabled: o.value || h.disabled,
|
|
14005
|
-
placeholder: h.placeholder || "Select options",
|
|
14006
|
-
"has-error": g,
|
|
14007
|
-
"aria-describedby": p,
|
|
14008
|
-
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14009
|
-
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : h.type === "combobox" ? (s(), W(Ye, {
|
|
14010
|
-
key: 4,
|
|
14011
|
-
id: B,
|
|
14012
|
-
"model-value": F(h.name),
|
|
14013
|
-
options: h.options,
|
|
14014
|
-
placeholder: h.placeholder || "Select or type to add new",
|
|
14015
|
-
disabled: o.value || h.disabled,
|
|
14016
|
-
"has-error": g,
|
|
14017
|
-
"aria-describedby": p,
|
|
14018
|
-
"allow-create": h.allowCreate,
|
|
14019
|
-
"onUpdate:modelValue": (f) => k(h, f)
|
|
14020
|
-
}, null, 8, ["id", "model-value", "options", "placeholder", "disabled", "has-error", "aria-describedby", "allow-create", "onUpdate:modelValue"])) : h.type === "checkbox" ? (s(), i("div", ph, [
|
|
14021
|
-
P(Ae, {
|
|
13949
|
+
l("div", bh, [
|
|
13950
|
+
(s(!0), i(H, null, X(e.fields, (h) => (s(), i("div", {
|
|
13951
|
+
key: h.name,
|
|
13952
|
+
class: m(h.wrapperClass || "col-span-12")
|
|
13953
|
+
}, [
|
|
13954
|
+
h.type === "hidden" ? (s(), i("input", {
|
|
13955
|
+
key: 0,
|
|
13956
|
+
value: F(h.name),
|
|
13957
|
+
type: "hidden"
|
|
13958
|
+
}, null, 8, ph)) : (s(), W(qa, {
|
|
13959
|
+
key: 1,
|
|
13960
|
+
id: `form-${e.entityName}-${h.name}-${Math.random().toString(36).slice(2, 5)}`,
|
|
13961
|
+
label: h.label,
|
|
13962
|
+
required: h.required && !h.disabled,
|
|
13963
|
+
error: d.value[h.name],
|
|
13964
|
+
"error-message": d.value[h.name]
|
|
13965
|
+
}, {
|
|
13966
|
+
default: J(({ fieldId: B, hasError: g, ariaDescribedBy: p }) => [
|
|
13967
|
+
["text", "number", "password", "color", "email", "tel", "url", "search"].includes(h.type) ? (s(), W(Ae, {
|
|
13968
|
+
key: 0,
|
|
14022
13969
|
id: B,
|
|
14023
13970
|
"model-value": F(h.name),
|
|
14024
|
-
type:
|
|
13971
|
+
type: h.type,
|
|
13972
|
+
placeholder: h.placeholder,
|
|
14025
13973
|
disabled: o.value || h.disabled,
|
|
14026
|
-
|
|
13974
|
+
readonly: h.disabled,
|
|
13975
|
+
class: m(g ? "border-red-500" : "border-slate-300"),
|
|
14027
13976
|
"aria-describedby": p,
|
|
14028
13977
|
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14029
|
-
}, null, 8, ["id", "model-value", "disabled", "aria-describedby", "onUpdate:modelValue"]),
|
|
14030
|
-
|
|
14031
|
-
for: B,
|
|
14032
|
-
class: "ml-2 text-sm text-gray-700"
|
|
14033
|
-
}, {
|
|
14034
|
-
default: J(() => [
|
|
14035
|
-
oe(w(h.checkboxLabel || h.label), 1)
|
|
14036
|
-
]),
|
|
14037
|
-
_: 2
|
|
14038
|
-
}, 1032, ["for"])
|
|
14039
|
-
])) : h.type === "switch" ? (s(), i("div", yh, [
|
|
14040
|
-
l("button", {
|
|
13978
|
+
}, null, 8, ["id", "model-value", "type", "placeholder", "disabled", "readonly", "class", "aria-describedby", "onUpdate:modelValue"])) : h.type === "textarea" ? (s(), W(Ua, {
|
|
13979
|
+
key: 1,
|
|
14041
13980
|
id: B,
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
"aria-checked": F(h.name),
|
|
13981
|
+
"model-value": F(h.name),
|
|
13982
|
+
placeholder: h.placeholder,
|
|
14045
13983
|
disabled: o.value || h.disabled,
|
|
13984
|
+
rows: h.rows || 3,
|
|
14046
13985
|
class: m([
|
|
14047
|
-
"
|
|
14048
|
-
|
|
14049
|
-
o.value || h.disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"
|
|
14050
|
-
]),
|
|
14051
|
-
onClick: (f) => R(h.name, !F(h.name))
|
|
14052
|
-
}, [
|
|
14053
|
-
l("span", {
|
|
14054
|
-
class: m([
|
|
14055
|
-
"inline-block h-4 w-4 transform rounded-full bg-white transition-transform",
|
|
14056
|
-
F(h.name) ? "translate-x-6" : "translate-x-1"
|
|
14057
|
-
])
|
|
14058
|
-
}, null, 2)
|
|
14059
|
-
], 10, xh),
|
|
14060
|
-
P(Qe, {
|
|
14061
|
-
for: B,
|
|
14062
|
-
class: "ml-3 text-sm text-gray-700"
|
|
14063
|
-
}, {
|
|
14064
|
-
default: J(() => [
|
|
14065
|
-
oe(w(h.checkboxLabel || h.label), 1)
|
|
13986
|
+
"w-full px-3 py-2 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",
|
|
13987
|
+
g ? "border-red-500" : "border-slate-300"
|
|
14066
13988
|
]),
|
|
14067
|
-
|
|
14068
|
-
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14073
|
-
|
|
13989
|
+
"aria-describedby": p,
|
|
13990
|
+
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
13991
|
+
}, null, 8, ["id", "model-value", "placeholder", "disabled", "rows", "class", "aria-describedby", "onUpdate:modelValue"])) : h.type === "select" ? (s(), W(Ye, {
|
|
13992
|
+
key: 2,
|
|
13993
|
+
id: B,
|
|
13994
|
+
"model-value": F(h.name),
|
|
13995
|
+
options: h.options,
|
|
13996
|
+
placeholder: h.placeholder || "Select an option",
|
|
13997
|
+
disabled: o.value || h.disabled,
|
|
13998
|
+
"has-error": g,
|
|
13999
|
+
"aria-describedby": p,
|
|
14000
|
+
"onUpdate:modelValue": (f) => k(h, f)
|
|
14001
|
+
}, null, 8, ["id", "model-value", "options", "placeholder", "disabled", "has-error", "aria-describedby", "onUpdate:modelValue"])) : h.type === "multiselect" ? (s(), W(Ws, {
|
|
14002
|
+
key: 3,
|
|
14003
|
+
id: B,
|
|
14004
|
+
"model-value": F(h.name),
|
|
14005
|
+
options: h.options,
|
|
14006
|
+
disabled: o.value || h.disabled,
|
|
14007
|
+
placeholder: h.placeholder || "Select options",
|
|
14008
|
+
"has-error": g,
|
|
14009
|
+
"aria-describedby": p,
|
|
14010
|
+
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14011
|
+
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : h.type === "combobox" ? (s(), W(Ye, {
|
|
14012
|
+
key: 4,
|
|
14013
|
+
id: B,
|
|
14014
|
+
"model-value": F(h.name),
|
|
14015
|
+
options: h.options,
|
|
14016
|
+
placeholder: h.placeholder || "Select or type to add new",
|
|
14017
|
+
disabled: o.value || h.disabled,
|
|
14018
|
+
"has-error": g,
|
|
14019
|
+
"aria-describedby": p,
|
|
14020
|
+
"allow-create": h.allowCreate,
|
|
14021
|
+
"onUpdate:modelValue": (f) => k(h, f)
|
|
14022
|
+
}, null, 8, ["id", "model-value", "options", "placeholder", "disabled", "has-error", "aria-describedby", "allow-create", "onUpdate:modelValue"])) : h.type === "checkbox" ? (s(), i("div", yh, [
|
|
14074
14023
|
P(Ae, {
|
|
14075
|
-
id:
|
|
14024
|
+
id: B,
|
|
14076
14025
|
"model-value": F(h.name),
|
|
14077
|
-
type: "
|
|
14078
|
-
value: f.value,
|
|
14026
|
+
type: "checkbox",
|
|
14079
14027
|
disabled: o.value || h.disabled,
|
|
14080
|
-
class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300",
|
|
14028
|
+
class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded",
|
|
14081
14029
|
"aria-describedby": p,
|
|
14082
|
-
"onUpdate:modelValue": (
|
|
14083
|
-
}, null, 8, ["id", "model-value", "
|
|
14030
|
+
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14031
|
+
}, null, 8, ["id", "model-value", "disabled", "aria-describedby", "onUpdate:modelValue"]),
|
|
14084
14032
|
P(Qe, {
|
|
14085
|
-
for:
|
|
14033
|
+
for: B,
|
|
14086
14034
|
class: "ml-2 text-sm text-gray-700"
|
|
14087
14035
|
}, {
|
|
14088
14036
|
default: J(() => [
|
|
14089
|
-
oe(w(
|
|
14037
|
+
oe(w(h.checkboxLabel || h.label), 1)
|
|
14090
14038
|
]),
|
|
14091
14039
|
_: 2
|
|
14092
14040
|
}, 1032, ["for"])
|
|
14093
|
-
]))),
|
|
14094
|
-
|
|
14095
|
-
P(qt, {
|
|
14096
|
-
multiple: !1,
|
|
14097
|
-
accept: h.accept,
|
|
14098
|
-
"max-size": h.maxSize,
|
|
14099
|
-
variant: h.variant || "default",
|
|
14100
|
-
onFilesSelected: (f) => re(h, f),
|
|
14101
|
-
onFileRemoved: (f) => ne(h, f)
|
|
14102
|
-
}, null, 8, ["accept", "max-size", "variant", "onFilesSelected", "onFileRemoved"]),
|
|
14103
|
-
h.helpText ? (s(), i("p", $h, w(h.helpText), 1)) : v("", !0)
|
|
14104
|
-
])) : h.type === "multifile" ? (s(), i("div", Ch, [
|
|
14105
|
-
P(qt, {
|
|
14106
|
-
multiple: h.multiple !== !1,
|
|
14107
|
-
accept: h.accept,
|
|
14108
|
-
"max-size": h.maxSize,
|
|
14109
|
-
"max-files": h.maxFiles,
|
|
14110
|
-
variant: h.variant || "default",
|
|
14111
|
-
onFilesSelected: (f) => E(h, f),
|
|
14112
|
-
onFileRemoved: (f) => Y(h, f)
|
|
14113
|
-
}, null, 8, ["multiple", "accept", "max-size", "max-files", "variant", "onFilesSelected", "onFileRemoved"]),
|
|
14114
|
-
h.helpText ? (s(), i("p", Sh, w(h.helpText), 1)) : v("", !0)
|
|
14115
|
-
])) : h.type === "slider" ? (s(), W(Ha, {
|
|
14116
|
-
key: 10,
|
|
14117
|
-
"model-value": F(h.name),
|
|
14118
|
-
min: h.min,
|
|
14119
|
-
max: h.max,
|
|
14120
|
-
step: h.step,
|
|
14121
|
-
disabled: o.value || h.disabled,
|
|
14122
|
-
"onUpdate:modelValue": (f) => z(h, f)
|
|
14123
|
-
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : h.type === "range" ? (s(), i("div", zh, [
|
|
14124
|
-
l("div", Ah, [
|
|
14125
|
-
P(Ae, {
|
|
14041
|
+
])) : h.type === "switch" ? (s(), i("div", xh, [
|
|
14042
|
+
l("button", {
|
|
14126
14043
|
id: B,
|
|
14127
|
-
"
|
|
14128
|
-
|
|
14129
|
-
|
|
14130
|
-
max: h.max,
|
|
14131
|
-
step: h.step || 1,
|
|
14044
|
+
type: "button",
|
|
14045
|
+
role: "switch",
|
|
14046
|
+
"aria-checked": F(h.name),
|
|
14132
14047
|
disabled: o.value || h.disabled,
|
|
14133
|
-
class:
|
|
14134
|
-
|
|
14135
|
-
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
|
|
14139
|
-
|
|
14140
|
-
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
|
|
14152
|
-
|
|
14153
|
-
|
|
14154
|
-
|
|
14155
|
-
|
|
14156
|
-
|
|
14157
|
-
|
|
14158
|
-
|
|
14159
|
-
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
|
|
14171
|
-
|
|
14172
|
-
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
|
|
14182
|
-
|
|
14183
|
-
|
|
14184
|
-
|
|
14185
|
-
|
|
14186
|
-
|
|
14187
|
-
|
|
14188
|
-
|
|
14189
|
-
|
|
14190
|
-
|
|
14191
|
-
|
|
14192
|
-
|
|
14193
|
-
|
|
14194
|
-
|
|
14195
|
-
|
|
14048
|
+
class: m([
|
|
14049
|
+
"relative inline-flex h-6 w-11 items-center rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",
|
|
14050
|
+
F(h.name) ? "bg-blue-600" : "bg-gray-200",
|
|
14051
|
+
o.value || h.disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"
|
|
14052
|
+
]),
|
|
14053
|
+
onClick: (f) => R(h.name, !F(h.name))
|
|
14054
|
+
}, [
|
|
14055
|
+
l("span", {
|
|
14056
|
+
class: m([
|
|
14057
|
+
"inline-block h-4 w-4 transform rounded-full bg-white transition-transform",
|
|
14058
|
+
F(h.name) ? "translate-x-6" : "translate-x-1"
|
|
14059
|
+
])
|
|
14060
|
+
}, null, 2)
|
|
14061
|
+
], 10, wh),
|
|
14062
|
+
P(Qe, {
|
|
14063
|
+
for: B,
|
|
14064
|
+
class: "ml-3 text-sm text-gray-700"
|
|
14065
|
+
}, {
|
|
14066
|
+
default: J(() => [
|
|
14067
|
+
oe(w(h.checkboxLabel || h.label), 1)
|
|
14068
|
+
]),
|
|
14069
|
+
_: 2
|
|
14070
|
+
}, 1032, ["for"])
|
|
14071
|
+
])) : h.type === "radio" ? (s(), i("div", kh, [
|
|
14072
|
+
(s(!0), i(H, null, X(h.options, (f) => (s(), i("div", {
|
|
14073
|
+
key: f.value,
|
|
14074
|
+
class: "flex items-center"
|
|
14075
|
+
}, [
|
|
14076
|
+
P(Ae, {
|
|
14077
|
+
id: `${B}-${f.value}`,
|
|
14078
|
+
"model-value": F(h.name),
|
|
14079
|
+
type: "radio",
|
|
14080
|
+
value: f.value,
|
|
14081
|
+
disabled: o.value || h.disabled,
|
|
14082
|
+
class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300",
|
|
14083
|
+
"aria-describedby": p,
|
|
14084
|
+
"onUpdate:modelValue": (K) => R(h.name, K)
|
|
14085
|
+
}, null, 8, ["id", "model-value", "value", "disabled", "aria-describedby", "onUpdate:modelValue"]),
|
|
14086
|
+
P(Qe, {
|
|
14087
|
+
for: `${B}-${f.value}`,
|
|
14088
|
+
class: "ml-2 text-sm text-gray-700"
|
|
14089
|
+
}, {
|
|
14090
|
+
default: J(() => [
|
|
14091
|
+
oe(w(f.label), 1)
|
|
14092
|
+
]),
|
|
14093
|
+
_: 2
|
|
14094
|
+
}, 1032, ["for"])
|
|
14095
|
+
]))), 128))
|
|
14096
|
+
])) : h.type === "file" ? (s(), i("div", $h, [
|
|
14097
|
+
P(qt, {
|
|
14098
|
+
multiple: !1,
|
|
14099
|
+
accept: h.accept,
|
|
14100
|
+
"max-size": h.maxSize,
|
|
14101
|
+
variant: h.variant || "default",
|
|
14102
|
+
onFilesSelected: (f) => re(h, f),
|
|
14103
|
+
onFileRemoved: (f) => ne(h, f)
|
|
14104
|
+
}, null, 8, ["accept", "max-size", "variant", "onFilesSelected", "onFileRemoved"]),
|
|
14105
|
+
h.helpText ? (s(), i("p", Ch, w(h.helpText), 1)) : v("", !0)
|
|
14106
|
+
])) : h.type === "multifile" ? (s(), i("div", Sh, [
|
|
14107
|
+
P(qt, {
|
|
14108
|
+
multiple: h.multiple !== !1,
|
|
14109
|
+
accept: h.accept,
|
|
14110
|
+
"max-size": h.maxSize,
|
|
14111
|
+
"max-files": h.maxFiles,
|
|
14112
|
+
variant: h.variant || "default",
|
|
14113
|
+
onFilesSelected: (f) => E(h, f),
|
|
14114
|
+
onFileRemoved: (f) => Y(h, f)
|
|
14115
|
+
}, null, 8, ["multiple", "accept", "max-size", "max-files", "variant", "onFilesSelected", "onFileRemoved"]),
|
|
14116
|
+
h.helpText ? (s(), i("p", zh, w(h.helpText), 1)) : v("", !0)
|
|
14117
|
+
])) : h.type === "slider" ? (s(), W(Ha, {
|
|
14118
|
+
key: 10,
|
|
14119
|
+
"model-value": F(h.name),
|
|
14120
|
+
min: h.min,
|
|
14121
|
+
max: h.max,
|
|
14122
|
+
step: h.step,
|
|
14123
|
+
disabled: o.value || h.disabled,
|
|
14124
|
+
"onUpdate:modelValue": (f) => z(h, f)
|
|
14125
|
+
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : h.type === "range" ? (s(), i("div", Ah, [
|
|
14126
|
+
l("div", Dh, [
|
|
14127
|
+
P(Ae, {
|
|
14128
|
+
id: B,
|
|
14129
|
+
"model-value": F(h.name),
|
|
14130
|
+
type: "range",
|
|
14131
|
+
min: h.min,
|
|
14132
|
+
max: h.max,
|
|
14133
|
+
step: h.step || 1,
|
|
14134
|
+
disabled: o.value || h.disabled,
|
|
14135
|
+
class: "flex-1",
|
|
14136
|
+
"aria-describedby": p,
|
|
14137
|
+
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14138
|
+
}, null, 8, ["id", "model-value", "min", "max", "step", "disabled", "aria-describedby", "onUpdate:modelValue"]),
|
|
14139
|
+
l("span", Mh, w(F(h.name)), 1)
|
|
14140
|
+
])
|
|
14141
|
+
])) : h.type === "date" ? (s(), W(Xt, {
|
|
14142
|
+
key: 12,
|
|
14143
|
+
id: B,
|
|
14144
|
+
"model-value": F(h.name),
|
|
14145
|
+
disabled: o.value || h.disabled,
|
|
14146
|
+
required: h.required,
|
|
14147
|
+
min: h.min,
|
|
14148
|
+
max: h.max,
|
|
14149
|
+
placeholder: h.placeholder || "Select date",
|
|
14150
|
+
format: h.format || "MM/DD/YYYY",
|
|
14151
|
+
clearable: h.clearable !== !1,
|
|
14152
|
+
"show-today": h.showToday !== !1,
|
|
14153
|
+
"calendar-position": h.calendarPosition || "left-0 bottom-full",
|
|
14154
|
+
"aria-describedby": p,
|
|
14155
|
+
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14156
|
+
}, null, 8, ["id", "model-value", "disabled", "required", "min", "max", "placeholder", "format", "clearable", "show-today", "calendar-position", "aria-describedby", "onUpdate:modelValue"])) : h.type === "time" ? (s(), W(Ae, {
|
|
14157
|
+
key: 13,
|
|
14158
|
+
id: B,
|
|
14159
|
+
"model-value": F(h.name),
|
|
14160
|
+
type: "time",
|
|
14161
|
+
disabled: o.value || h.disabled,
|
|
14162
|
+
class: m(g ? "border-red-500" : "border-slate-300"),
|
|
14163
|
+
"aria-describedby": p,
|
|
14164
|
+
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14165
|
+
}, null, 8, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : h.type === "datetime-local" ? (s(), W(Ae, {
|
|
14166
|
+
key: 14,
|
|
14167
|
+
id: B,
|
|
14168
|
+
"model-value": F(h.name),
|
|
14169
|
+
type: "datetime-local",
|
|
14170
|
+
disabled: o.value || h.disabled,
|
|
14171
|
+
class: m(g ? "border-red-500" : "border-slate-300"),
|
|
14172
|
+
"aria-describedby": p,
|
|
14173
|
+
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14174
|
+
}, null, 8, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : h.type === "month" ? (s(), W(Ae, {
|
|
14175
|
+
key: 15,
|
|
14176
|
+
id: B,
|
|
14177
|
+
"model-value": F(h.name),
|
|
14178
|
+
type: "month",
|
|
14179
|
+
disabled: o.value || h.disabled,
|
|
14180
|
+
class: m(g ? "border-red-500" : "border-slate-300"),
|
|
14181
|
+
"aria-describedby": p,
|
|
14182
|
+
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14183
|
+
}, null, 8, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : h.type === "week" ? (s(), W(Ae, {
|
|
14184
|
+
key: 16,
|
|
14185
|
+
id: B,
|
|
14186
|
+
"model-value": F(h.name),
|
|
14187
|
+
type: "week",
|
|
14188
|
+
disabled: o.value || h.disabled,
|
|
14189
|
+
class: m(g ? "border-red-500" : "border-slate-300"),
|
|
14190
|
+
"aria-describedby": p,
|
|
14191
|
+
"onUpdate:modelValue": (f) => R(h.name, f)
|
|
14192
|
+
}, null, 8, ["id", "model-value", "disabled", "class", "aria-describedby", "onUpdate:modelValue"])) : v("", !0)
|
|
14193
|
+
]),
|
|
14194
|
+
_: 2
|
|
14195
|
+
}, 1032, ["id", "label", "required", "error", "error-message"]))
|
|
14196
|
+
], 2))), 128))
|
|
14197
|
+
]),
|
|
14198
|
+
l("div", Vh, [
|
|
14196
14199
|
P(Se, {
|
|
14197
14200
|
type: "button",
|
|
14198
14201
|
variant: "outline",
|
|
@@ -14221,72 +14224,72 @@ const dc = {
|
|
|
14221
14224
|
_: 1
|
|
14222
14225
|
}, 8, ["modelValue", "size", "class", "resizable"]));
|
|
14223
14226
|
}
|
|
14224
|
-
},
|
|
14227
|
+
}, Th = { class: "w-full p-2" }, Bh = {
|
|
14225
14228
|
key: 0,
|
|
14226
14229
|
class: "mb-6"
|
|
14227
|
-
},
|
|
14230
|
+
}, jh = { class: "text-xl font-semibold text-gray-900" }, Ph = {
|
|
14228
14231
|
key: 0,
|
|
14229
14232
|
class: "text-sm text-gray-600 mt-1"
|
|
14230
|
-
},
|
|
14233
|
+
}, Oh = ["onUpdate:modelValue"], _h = {
|
|
14231
14234
|
key: 4,
|
|
14232
14235
|
class: "flex items-center"
|
|
14233
|
-
},
|
|
14236
|
+
}, Lh = {
|
|
14234
14237
|
key: 5,
|
|
14235
14238
|
class: "flex items-center"
|
|
14236
|
-
},
|
|
14239
|
+
}, Eh = ["id", "aria-checked", "disabled", "onClick"], Ih = {
|
|
14237
14240
|
key: 6,
|
|
14238
14241
|
class: "space-y-2"
|
|
14239
|
-
},
|
|
14242
|
+
}, Nh = {
|
|
14240
14243
|
key: 7,
|
|
14241
14244
|
class: "space-y-2"
|
|
14242
|
-
},
|
|
14245
|
+
}, Rh = {
|
|
14243
14246
|
key: 0,
|
|
14244
14247
|
class: "text-xs text-gray-500"
|
|
14245
|
-
},
|
|
14248
|
+
}, Uh = {
|
|
14246
14249
|
key: 8,
|
|
14247
14250
|
class: "space-y-3"
|
|
14248
|
-
},
|
|
14251
|
+
}, qh = ["onDrop", "onDragenter", "onDragleave", "onClick"], Yh = ["multiple", "accept", "disabled", "onChange"], Hh = { class: "flex items-center justify-center px-4 py-4" }, Wh = { class: "flex flex-col" }, Gh = { class: "text-xs text-gray-500" }, Kh = {
|
|
14249
14252
|
key: 0,
|
|
14250
14253
|
class: "ml-1"
|
|
14251
|
-
},
|
|
14254
|
+
}, Xh = {
|
|
14252
14255
|
key: 1,
|
|
14253
14256
|
class: "ml-1"
|
|
14254
|
-
},
|
|
14257
|
+
}, Jh = {
|
|
14255
14258
|
key: 0,
|
|
14256
14259
|
class: "text-xs text-gray-500"
|
|
14257
|
-
},
|
|
14260
|
+
}, Qh = {
|
|
14258
14261
|
key: 1,
|
|
14259
14262
|
class: "space-y-2"
|
|
14260
|
-
},
|
|
14263
|
+
}, Zh = { class: "flex items-center space-x-3 flex-1 min-w-0" }, eb = { class: "relative h-10 w-10 shrink-0" }, tb = {
|
|
14261
14264
|
class: "h-10 w-10 text-gray-300",
|
|
14262
14265
|
viewBox: "0 0 36 36"
|
|
14263
|
-
},
|
|
14266
|
+
}, ab = ["stroke-dasharray"], nb = { class: "absolute inset-0 flex items-center justify-center text-xs font-medium text-gray-700" }, sb = { class: "flex flex-col min-w-0" }, rb = { class: "text-sm font-medium text-gray-900 truncate" }, lb = ["onClick"], ob = {
|
|
14264
14267
|
key: 2,
|
|
14265
14268
|
class: "space-y-2"
|
|
14266
|
-
},
|
|
14269
|
+
}, ib = { class: "flex items-center space-x-3 flex-1 min-w-0" }, ub = {
|
|
14267
14270
|
class: "h-5 w-5",
|
|
14268
14271
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14269
14272
|
fill: "none",
|
|
14270
14273
|
viewBox: "0 0 24 24",
|
|
14271
14274
|
"stroke-width": "1.5",
|
|
14272
14275
|
stroke: "currentColor"
|
|
14273
|
-
},
|
|
14276
|
+
}, db = {
|
|
14274
14277
|
key: 0,
|
|
14275
14278
|
"stroke-linecap": "round",
|
|
14276
14279
|
"stroke-linejoin": "round",
|
|
14277
14280
|
d: "M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"
|
|
14278
|
-
},
|
|
14281
|
+
}, cb = {
|
|
14279
14282
|
key: 1,
|
|
14280
14283
|
"stroke-linecap": "round",
|
|
14281
14284
|
"stroke-linejoin": "round",
|
|
14282
14285
|
d: "M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"
|
|
14283
|
-
},
|
|
14286
|
+
}, fb = { class: "flex flex-col min-w-0" }, mb = { class: "text-sm font-medium text-gray-900 truncate" }, gb = { class: "text-xs text-gray-500" }, vb = ["disabled", "onClick"], hb = {
|
|
14284
14287
|
key: 3,
|
|
14285
14288
|
class: "text-xs text-blue-600 font-medium"
|
|
14286
|
-
},
|
|
14289
|
+
}, bb = { key: 0 }, pb = {
|
|
14287
14290
|
key: 10,
|
|
14288
14291
|
class: "space-y-2"
|
|
14289
|
-
},
|
|
14292
|
+
}, yb = { class: "flex items-center gap-4" }, xb = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, wb = { class: "flex justify-end gap-3 pt-6" }, kb = {
|
|
14290
14293
|
__name: "ReusableForm",
|
|
14291
14294
|
props: {
|
|
14292
14295
|
title: {
|
|
@@ -14525,10 +14528,10 @@ const dc = {
|
|
|
14525
14528
|
}, B = () => {
|
|
14526
14529
|
n("cancel");
|
|
14527
14530
|
};
|
|
14528
|
-
return (g, p) => (s(), i("div",
|
|
14529
|
-
e.title ? (s(), i("div",
|
|
14530
|
-
l("h2",
|
|
14531
|
-
e.description ? (s(), i("p",
|
|
14531
|
+
return (g, p) => (s(), i("div", Th, [
|
|
14532
|
+
e.title ? (s(), i("div", Bh, [
|
|
14533
|
+
l("h2", jh, w(e.title), 1),
|
|
14534
|
+
e.description ? (s(), i("p", Ph, w(e.description), 1)) : v("", !0)
|
|
14532
14535
|
])) : v("", !0),
|
|
14533
14536
|
l("form", {
|
|
14534
14537
|
class: "space-y-6",
|
|
@@ -14541,7 +14544,7 @@ const dc = {
|
|
|
14541
14544
|
key: 0,
|
|
14542
14545
|
"onUpdate:modelValue": (K) => o.value[f.name] = K,
|
|
14543
14546
|
type: "hidden"
|
|
14544
|
-
}, null, 8,
|
|
14547
|
+
}, null, 8, Oh)), [
|
|
14545
14548
|
[rt, o.value[f.name]]
|
|
14546
14549
|
]) : (s(), W(qa, {
|
|
14547
14550
|
key: 1,
|
|
@@ -14596,7 +14599,7 @@ const dc = {
|
|
|
14596
14599
|
"has-error": ie,
|
|
14597
14600
|
"aria-describedby": ce,
|
|
14598
14601
|
"onUpdate:modelValue": (ae) => o.value[f.name] = ae
|
|
14599
|
-
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : f.type === "checkbox" ? (s(), i("div",
|
|
14602
|
+
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : f.type === "checkbox" ? (s(), i("div", _h, [
|
|
14600
14603
|
P(Ae, {
|
|
14601
14604
|
id: K,
|
|
14602
14605
|
modelValue: o.value[f.name],
|
|
@@ -14615,7 +14618,7 @@ const dc = {
|
|
|
14615
14618
|
]),
|
|
14616
14619
|
_: 2
|
|
14617
14620
|
}, 1032, ["for"])
|
|
14618
|
-
])) : f.type === "switch" ? (s(), i("div",
|
|
14621
|
+
])) : f.type === "switch" ? (s(), i("div", Lh, [
|
|
14619
14622
|
l("button", {
|
|
14620
14623
|
id: K,
|
|
14621
14624
|
type: "button",
|
|
@@ -14635,7 +14638,7 @@ const dc = {
|
|
|
14635
14638
|
o.value[f.name] ? "translate-x-6" : "translate-x-1"
|
|
14636
14639
|
])
|
|
14637
14640
|
}, null, 2)
|
|
14638
|
-
], 10,
|
|
14641
|
+
], 10, Eh),
|
|
14639
14642
|
P(Qe, {
|
|
14640
14643
|
for: K,
|
|
14641
14644
|
class: "ml-3 text-sm text-gray-700"
|
|
@@ -14645,7 +14648,7 @@ const dc = {
|
|
|
14645
14648
|
]),
|
|
14646
14649
|
_: 2
|
|
14647
14650
|
}, 1032, ["for"])
|
|
14648
|
-
])) : f.type === "radio" ? (s(), i("div",
|
|
14651
|
+
])) : f.type === "radio" ? (s(), i("div", Ih, [
|
|
14649
14652
|
(s(!0), i(H, null, X(f.options, (ae) => (s(), i("div", {
|
|
14650
14653
|
key: ae.value,
|
|
14651
14654
|
class: "flex items-center"
|
|
@@ -14670,7 +14673,7 @@ const dc = {
|
|
|
14670
14673
|
_: 2
|
|
14671
14674
|
}, 1032, ["for"])
|
|
14672
14675
|
]))), 128))
|
|
14673
|
-
])) : f.type === "file" ? (s(), i("div",
|
|
14676
|
+
])) : f.type === "file" ? (s(), i("div", Nh, [
|
|
14674
14677
|
P(Ae, {
|
|
14675
14678
|
id: K,
|
|
14676
14679
|
type: "file",
|
|
@@ -14683,8 +14686,8 @@ const dc = {
|
|
|
14683
14686
|
"aria-describedby": ce,
|
|
14684
14687
|
onChange: (ae) => k(f, ae)
|
|
14685
14688
|
}, null, 8, ["id", "accept", "disabled", "class", "aria-describedby", "onChange"]),
|
|
14686
|
-
f.helpText ? (s(), i("p",
|
|
14687
|
-
])) : f.type === "multifile" ? (s(), i("div",
|
|
14689
|
+
f.helpText ? (s(), i("p", Rh, w(f.helpText), 1)) : v("", !0)
|
|
14690
|
+
])) : f.type === "multifile" ? (s(), i("div", Uh, [
|
|
14688
14691
|
l("div", {
|
|
14689
14692
|
class: m([
|
|
14690
14693
|
"border-2 border-dashed rounded-xl cursor-pointer transition-all duration-200",
|
|
@@ -14706,8 +14709,8 @@ const dc = {
|
|
|
14706
14709
|
class: "hidden",
|
|
14707
14710
|
disabled: r.value || f.disabled,
|
|
14708
14711
|
onChange: (ae) => F(f, ae)
|
|
14709
|
-
}, null, 40,
|
|
14710
|
-
l("div",
|
|
14712
|
+
}, null, 40, Yh),
|
|
14713
|
+
l("div", Hh, [
|
|
14711
14714
|
p[1] || (p[1] = l("div", { class: "bg-gray-100 rounded-full p-2.5 mr-3" }, [
|
|
14712
14715
|
l("svg", {
|
|
14713
14716
|
class: "h-6 w-6 text-gray-600",
|
|
@@ -14724,28 +14727,28 @@ const dc = {
|
|
|
14724
14727
|
})
|
|
14725
14728
|
])
|
|
14726
14729
|
], -1)),
|
|
14727
|
-
l("div",
|
|
14730
|
+
l("div", Wh, [
|
|
14728
14731
|
p[0] || (p[0] = l("p", { class: "text-sm font-medium text-gray-700" }, [
|
|
14729
14732
|
l("span", { class: "text-blue-600 font-semibold" }, "Click to upload"),
|
|
14730
14733
|
oe(" or drag and drop ")
|
|
14731
14734
|
], -1)),
|
|
14732
|
-
l("p",
|
|
14735
|
+
l("p", Gh, [
|
|
14733
14736
|
oe(w(f.maxSize ? `Up to ${E(f.maxSize)}` : "No size limit") + " ", 1),
|
|
14734
|
-
f.accept ? (s(), i("span",
|
|
14735
|
-
f.maxFiles ? (s(), i("span",
|
|
14737
|
+
f.accept ? (s(), i("span", Kh, "• " + w(f.accept), 1)) : v("", !0),
|
|
14738
|
+
f.maxFiles ? (s(), i("span", Xh, "• Max " + w(f.maxFiles) + " files", 1)) : v("", !0)
|
|
14736
14739
|
])
|
|
14737
14740
|
])
|
|
14738
14741
|
])
|
|
14739
|
-
], 42,
|
|
14740
|
-
f.helpText ? (s(), i("p",
|
|
14741
|
-
c.value[f.name]?.length > 0 ? (s(), i("div",
|
|
14742
|
+
], 42, qh),
|
|
14743
|
+
f.helpText ? (s(), i("p", Jh, w(f.helpText), 1)) : v("", !0),
|
|
14744
|
+
c.value[f.name]?.length > 0 ? (s(), i("div", Qh, [
|
|
14742
14745
|
(s(!0), i(H, null, X(c.value[f.name], (ae) => (s(), i("div", {
|
|
14743
14746
|
key: ae.id,
|
|
14744
14747
|
class: "flex items-center justify-between p-3 bg-white border border-gray-200 rounded-lg"
|
|
14745
14748
|
}, [
|
|
14746
|
-
l("div",
|
|
14747
|
-
l("div",
|
|
14748
|
-
(s(), i("svg",
|
|
14749
|
+
l("div", Zh, [
|
|
14750
|
+
l("div", eb, [
|
|
14751
|
+
(s(), i("svg", tb, [
|
|
14749
14752
|
p[2] || (p[2] = l("circle", {
|
|
14750
14753
|
cx: "18",
|
|
14751
14754
|
cy: "18",
|
|
@@ -14764,12 +14767,12 @@ const dc = {
|
|
|
14764
14767
|
"stroke-linecap": "round",
|
|
14765
14768
|
"stroke-dasharray": `${ae.progress} 100`,
|
|
14766
14769
|
transform: "rotate(-90 18 18)"
|
|
14767
|
-
}, null, 8,
|
|
14770
|
+
}, null, 8, ab)
|
|
14768
14771
|
])),
|
|
14769
|
-
l("span",
|
|
14772
|
+
l("span", nb, w(Math.round(ae.progress)) + "% ", 1)
|
|
14770
14773
|
]),
|
|
14771
|
-
l("div",
|
|
14772
|
-
l("span",
|
|
14774
|
+
l("div", sb, [
|
|
14775
|
+
l("span", rb, w(ae.file.name), 1),
|
|
14773
14776
|
p[3] || (p[3] = l("span", { class: "text-xs text-gray-500" }, "Uploading...", -1))
|
|
14774
14777
|
])
|
|
14775
14778
|
]),
|
|
@@ -14792,28 +14795,28 @@ const dc = {
|
|
|
14792
14795
|
d: "M6 18L18 6M6 6l12 12"
|
|
14793
14796
|
})
|
|
14794
14797
|
], -1)
|
|
14795
|
-
])], 8,
|
|
14798
|
+
])], 8, lb)
|
|
14796
14799
|
]))), 128))
|
|
14797
14800
|
])) : v("", !0),
|
|
14798
|
-
o.value[f.name]?.length > 0 ? (s(), i("div",
|
|
14801
|
+
o.value[f.name]?.length > 0 ? (s(), i("div", ob, [
|
|
14799
14802
|
(s(!0), i(H, null, X(o.value[f.name], (ae, xe) => (s(), i("div", {
|
|
14800
14803
|
key: `uploaded-${xe}`,
|
|
14801
14804
|
class: "flex items-center justify-between p-3 bg-white border border-gray-200 rounded-lg hover:shadow-sm transition-shadow"
|
|
14802
14805
|
}, [
|
|
14803
|
-
l("div",
|
|
14806
|
+
l("div", ib, [
|
|
14804
14807
|
l("div", {
|
|
14805
14808
|
class: m([
|
|
14806
14809
|
"rounded-lg p-2 shrink-0",
|
|
14807
14810
|
b(ae)
|
|
14808
14811
|
])
|
|
14809
14812
|
}, [
|
|
14810
|
-
(s(), i("svg",
|
|
14811
|
-
Y(ae) === "image" ? (s(), i("path",
|
|
14813
|
+
(s(), i("svg", ub, [
|
|
14814
|
+
Y(ae) === "image" ? (s(), i("path", db)) : (s(), i("path", cb))
|
|
14812
14815
|
]))
|
|
14813
14816
|
], 2),
|
|
14814
|
-
l("div",
|
|
14815
|
-
l("span",
|
|
14816
|
-
l("span",
|
|
14817
|
+
l("div", fb, [
|
|
14818
|
+
l("span", mb, w(ae.name), 1),
|
|
14819
|
+
l("span", gb, w(E(ae.size)), 1)
|
|
14817
14820
|
])
|
|
14818
14821
|
]),
|
|
14819
14822
|
l("button", {
|
|
@@ -14836,12 +14839,12 @@ const dc = {
|
|
|
14836
14839
|
d: "M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"
|
|
14837
14840
|
})
|
|
14838
14841
|
], -1)
|
|
14839
|
-
])], 8,
|
|
14842
|
+
])], 8, vb)
|
|
14840
14843
|
]))), 128))
|
|
14841
14844
|
])) : v("", !0),
|
|
14842
|
-
o.value[f.name]?.length > 0 ? (s(), i("p",
|
|
14845
|
+
o.value[f.name]?.length > 0 ? (s(), i("p", hb, [
|
|
14843
14846
|
oe(w(o.value[f.name].length) + " file(s) uploaded ", 1),
|
|
14844
|
-
f.maxFiles ? (s(), i("span",
|
|
14847
|
+
f.maxFiles ? (s(), i("span", bb, " of " + w(f.maxFiles) + " max", 1)) : v("", !0)
|
|
14845
14848
|
])) : v("", !0)
|
|
14846
14849
|
])) : f.type === "slider" ? (s(), W(Ha, {
|
|
14847
14850
|
key: 9,
|
|
@@ -14851,8 +14854,8 @@ const dc = {
|
|
|
14851
14854
|
step: f.step,
|
|
14852
14855
|
disabled: r.value || f.disabled,
|
|
14853
14856
|
"onUpdate:modelValue": (ae) => S(f, ae)
|
|
14854
|
-
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : f.type === "range" ? (s(), i("div",
|
|
14855
|
-
l("div",
|
|
14857
|
+
}, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : f.type === "range" ? (s(), i("div", pb, [
|
|
14858
|
+
l("div", yb, [
|
|
14856
14859
|
P(Ae, {
|
|
14857
14860
|
id: K,
|
|
14858
14861
|
modelValue: o.value[f.name],
|
|
@@ -14865,7 +14868,7 @@ const dc = {
|
|
|
14865
14868
|
class: "flex-1",
|
|
14866
14869
|
"aria-describedby": ce
|
|
14867
14870
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "min", "max", "step", "disabled", "aria-describedby"]),
|
|
14868
|
-
l("span",
|
|
14871
|
+
l("span", xb, w(o.value[f.name]), 1)
|
|
14869
14872
|
])
|
|
14870
14873
|
])) : f.type === "date" ? (s(), W(Xt, {
|
|
14871
14874
|
key: 11,
|
|
@@ -14923,7 +14926,7 @@ const dc = {
|
|
|
14923
14926
|
_: 2
|
|
14924
14927
|
}, 1032, ["id", "label", "required", "error", "error-message"]))
|
|
14925
14928
|
]))), 128)),
|
|
14926
|
-
l("div",
|
|
14929
|
+
l("div", wb, [
|
|
14927
14930
|
e.showReset ? (s(), W(Se, {
|
|
14928
14931
|
key: 0,
|
|
14929
14932
|
type: "button",
|
|
@@ -14963,49 +14966,49 @@ const dc = {
|
|
|
14963
14966
|
], 32)
|
|
14964
14967
|
]));
|
|
14965
14968
|
}
|
|
14966
|
-
},
|
|
14969
|
+
}, $b = {
|
|
14967
14970
|
key: 0,
|
|
14968
14971
|
class: "flex items-center justify-between p-4 border-b border-gray-200 shrink-0 lg:hidden"
|
|
14969
|
-
},
|
|
14972
|
+
}, Cb = { class: "text-lg font-bold text-gray-900" }, Sb = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, zb = { class: "space-y-2" }, Ab = { key: 0 }, Db = {
|
|
14970
14973
|
key: 0,
|
|
14971
14974
|
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"
|
|
14972
|
-
},
|
|
14975
|
+
}, Mb = ["onClick"], Vb = {
|
|
14973
14976
|
key: 0,
|
|
14974
14977
|
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"
|
|
14975
|
-
},
|
|
14978
|
+
}, Fb = {
|
|
14976
14979
|
key: 1,
|
|
14977
14980
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
14978
|
-
},
|
|
14981
|
+
}, Tb = {
|
|
14979
14982
|
key: 1,
|
|
14980
14983
|
class: "border-t border-gray-200 p-4 shrink-0"
|
|
14981
|
-
},
|
|
14984
|
+
}, Bb = {
|
|
14982
14985
|
key: 0,
|
|
14983
14986
|
class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
|
|
14984
|
-
},
|
|
14987
|
+
}, jb = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, Pb = { class: "flex items-center justify-between p-4" }, Ob = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, _b = {
|
|
14985
14988
|
key: 0,
|
|
14986
14989
|
class: "px-4 pb-3"
|
|
14987
|
-
},
|
|
14990
|
+
}, Lb = { class: "relative" }, Eb = ["placeholder"], Ib = { class: "absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400" }, Nb = {
|
|
14988
14991
|
key: 0,
|
|
14989
14992
|
class: "mt-2 text-xs text-gray-500 px-1"
|
|
14990
|
-
},
|
|
14993
|
+
}, Rb = { class: "p-3" }, Ub = {
|
|
14991
14994
|
key: 0,
|
|
14992
14995
|
class: "px-3 py-8 text-center"
|
|
14993
|
-
},
|
|
14996
|
+
}, qb = {
|
|
14994
14997
|
key: 1,
|
|
14995
14998
|
class: "space-y-1"
|
|
14996
|
-
},
|
|
14999
|
+
}, Yb = {
|
|
14997
15000
|
key: 0,
|
|
14998
15001
|
class: "absolute left-0 top-1/2 transform -translate-y-1/2 w-1 h-8 bg-linear-to-b from-blue-500 to-blue-600 rounded-r-full"
|
|
14999
|
-
},
|
|
15002
|
+
}, Hb = {
|
|
15000
15003
|
key: 1,
|
|
15001
15004
|
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"
|
|
15002
|
-
},
|
|
15005
|
+
}, Wb = { class: "p-3" }, Gb = { class: "space-y-1" }, Kb = {
|
|
15003
15006
|
key: 0,
|
|
15004
15007
|
class: "px-3 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
|
|
15005
|
-
},
|
|
15008
|
+
}, Xb = {
|
|
15006
15009
|
key: 0,
|
|
15007
15010
|
class: "absolute left-0 top-1/2 transform -translate-y-1/2 w-1 h-8 bg-linear-to-b from-blue-500 to-blue-600 rounded-r-full"
|
|
15008
|
-
},
|
|
15011
|
+
}, Jb = {
|
|
15009
15012
|
__name: "Sidebar",
|
|
15010
15013
|
props: {
|
|
15011
15014
|
sidebarWidth: {
|
|
@@ -15162,8 +15165,8 @@ const dc = {
|
|
|
15162
15165
|
)),
|
|
15163
15166
|
style: be({ width: e.sidebarWidth + "px", top: o.value ? "0px" : "4rem" })
|
|
15164
15167
|
}, [
|
|
15165
|
-
o.value ? (s(), i("div",
|
|
15166
|
-
l("h2",
|
|
15168
|
+
o.value ? (s(), i("div", $b, [
|
|
15169
|
+
l("h2", Cb, w(e.header?.title), 1),
|
|
15167
15170
|
l("button", {
|
|
15168
15171
|
class: "p-2 rounded-lg text-gray-500 hover:text-gray-900 hover:bg-gray-100 transition-colors",
|
|
15169
15172
|
"aria-label": "Close sidebar",
|
|
@@ -15184,12 +15187,12 @@ const dc = {
|
|
|
15184
15187
|
], -1)
|
|
15185
15188
|
])])
|
|
15186
15189
|
])) : v("", !0),
|
|
15187
|
-
l("nav",
|
|
15188
|
-
l("div",
|
|
15190
|
+
l("nav", Sb, [
|
|
15191
|
+
l("div", zb, [
|
|
15189
15192
|
(s(!0), i(H, null, X(e.navigationItems, (f) => (s(), i(H, {
|
|
15190
15193
|
key: f.name || f.label
|
|
15191
15194
|
}, [
|
|
15192
|
-
f.type === "link" ? (s(), i("div",
|
|
15195
|
+
f.type === "link" ? (s(), i("div", Ab, [
|
|
15193
15196
|
z(f) ? (s(), i("div", {
|
|
15194
15197
|
key: 1,
|
|
15195
15198
|
class: m(Z(O)(
|
|
@@ -15216,9 +15219,9 @@ const dc = {
|
|
|
15216
15219
|
b(f) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
15217
15220
|
))
|
|
15218
15221
|
}, w(f.label), 3),
|
|
15219
|
-
f.badge ? (s(), i("span",
|
|
15220
|
-
b(f) && z(f) ? (s(), i("div",
|
|
15221
|
-
], 10,
|
|
15222
|
+
f.badge ? (s(), i("span", Vb, w(f.badge), 1)) : v("", !0),
|
|
15223
|
+
b(f) && z(f) ? (s(), i("div", Fb)) : v("", !0)
|
|
15224
|
+
], 10, Mb)) : (s(), W(p, {
|
|
15222
15225
|
key: 0,
|
|
15223
15226
|
to: f.route,
|
|
15224
15227
|
class: m(Z(O)(
|
|
@@ -15246,7 +15249,7 @@ const dc = {
|
|
|
15246
15249
|
b(f) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
15247
15250
|
))
|
|
15248
15251
|
}, w(f.label), 3),
|
|
15249
|
-
f.badge ? (s(), i("span",
|
|
15252
|
+
f.badge ? (s(), i("span", Db, w(f.badge), 1)) : v("", !0)
|
|
15250
15253
|
]),
|
|
15251
15254
|
_: 2
|
|
15252
15255
|
}, 1032, ["to", "class", "onClick"]))
|
|
@@ -15254,7 +15257,7 @@ const dc = {
|
|
|
15254
15257
|
], 64))), 128))
|
|
15255
15258
|
])
|
|
15256
15259
|
]),
|
|
15257
|
-
e.showManagementSettings ? (s(), i("div",
|
|
15260
|
+
e.showManagementSettings ? (s(), i("div", Tb, [
|
|
15258
15261
|
l("div", {
|
|
15259
15262
|
class: m(Z(O)(
|
|
15260
15263
|
"flex flex-col items-center justify-center rounded-xl transition-all duration-200 cursor-pointer group relative py-4 px-3",
|
|
@@ -15280,7 +15283,7 @@ const dc = {
|
|
|
15280
15283
|
e.isManagementSettingsActive ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
|
|
15281
15284
|
))
|
|
15282
15285
|
}, " Settings ", 2),
|
|
15283
|
-
e.isManagementSettingsActive ? (s(), i("div",
|
|
15286
|
+
e.isManagementSettingsActive ? (s(), i("div", Bb)) : v("", !0)
|
|
15284
15287
|
], 2)
|
|
15285
15288
|
])) : v("", !0)
|
|
15286
15289
|
], 6),
|
|
@@ -15303,8 +15306,8 @@ const dc = {
|
|
|
15303
15306
|
),
|
|
15304
15307
|
style: be(A.value)
|
|
15305
15308
|
}, [
|
|
15306
|
-
l("div",
|
|
15307
|
-
l("div",
|
|
15309
|
+
l("div", jb, [
|
|
15310
|
+
l("div", Pb, [
|
|
15308
15311
|
l("button", {
|
|
15309
15312
|
class: "p-2 -ml-2 rounded-lg text-gray-500 hover:text-gray-700 hover:bg-gray-100 transition-colors",
|
|
15310
15313
|
"aria-label": "Close submenu",
|
|
@@ -15324,20 +15327,20 @@ const dc = {
|
|
|
15324
15327
|
})
|
|
15325
15328
|
], -1)
|
|
15326
15329
|
])]),
|
|
15327
|
-
l("h3",
|
|
15330
|
+
l("h3", Ob, w(d.value?.label), 1)
|
|
15328
15331
|
]),
|
|
15329
|
-
T.value ? (s(), i("div",
|
|
15330
|
-
l("div",
|
|
15332
|
+
T.value ? (s(), i("div", _b, [
|
|
15333
|
+
l("div", Lb, [
|
|
15331
15334
|
Ge(l("input", {
|
|
15332
15335
|
"onUpdate:modelValue": g[0] || (g[0] = (f) => x.value = f),
|
|
15333
15336
|
type: "text",
|
|
15334
15337
|
placeholder: e.searchPlaceholder,
|
|
15335
15338
|
class: "w-full px-3 py-2 pl-9 pr-9 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all",
|
|
15336
15339
|
onInput: g[1] || (g[1] = (f) => E(x.value))
|
|
15337
|
-
}, null, 40,
|
|
15340
|
+
}, null, 40, Eb), [
|
|
15338
15341
|
[rt, x.value]
|
|
15339
15342
|
]),
|
|
15340
|
-
l("div",
|
|
15343
|
+
l("div", Ib, [
|
|
15341
15344
|
P(Q, {
|
|
15342
15345
|
icon: "search",
|
|
15343
15346
|
class: "w-4 h-4"
|
|
@@ -15354,18 +15357,18 @@ const dc = {
|
|
|
15354
15357
|
})
|
|
15355
15358
|
])) : v("", !0)
|
|
15356
15359
|
]),
|
|
15357
|
-
x.value ? (s(), i("div",
|
|
15360
|
+
x.value ? (s(), i("div", Nb, w(j.value.length) + " result" + w(j.value.length !== 1 ? "s" : "") + " found ", 1)) : v("", !0)
|
|
15358
15361
|
])) : v("", !0)
|
|
15359
15362
|
]),
|
|
15360
|
-
l("nav",
|
|
15361
|
-
T.value && x.value && j.value.length === 0 ? (s(), i("div",
|
|
15363
|
+
l("nav", Rb, [
|
|
15364
|
+
T.value && x.value && j.value.length === 0 ? (s(), i("div", Ub, [
|
|
15362
15365
|
P(Q, {
|
|
15363
15366
|
icon: "search",
|
|
15364
15367
|
class: "w-12 h-12 mx-auto text-gray-300 mb-3"
|
|
15365
15368
|
}),
|
|
15366
15369
|
g[4] || (g[4] = l("p", { class: "text-sm text-gray-500 mb-1" }, " No results found ", -1)),
|
|
15367
15370
|
g[5] || (g[5] = l("p", { class: "text-xs text-gray-400" }, " Try a different search term ", -1))
|
|
15368
|
-
])) : (s(), i("div",
|
|
15371
|
+
])) : (s(), i("div", qb, [
|
|
15369
15372
|
(s(!0), i(H, null, X(j.value, (f) => (s(), W(p, {
|
|
15370
15373
|
key: f.name,
|
|
15371
15374
|
to: f.route,
|
|
@@ -15378,7 +15381,7 @@ const dc = {
|
|
|
15378
15381
|
onClick: (K) => re(f)
|
|
15379
15382
|
}, {
|
|
15380
15383
|
default: J(() => [
|
|
15381
|
-
b(f) ? (s(), i("div",
|
|
15384
|
+
b(f) ? (s(), i("div", Yb)) : v("", !0),
|
|
15382
15385
|
l("div", {
|
|
15383
15386
|
class: m(
|
|
15384
15387
|
Z(O)(
|
|
@@ -15399,7 +15402,7 @@ const dc = {
|
|
|
15399
15402
|
b(f) ? "text-blue-700" : "text-gray-700"
|
|
15400
15403
|
))
|
|
15401
15404
|
}, w(f.label), 3),
|
|
15402
|
-
f.badge ? (s(), i("span",
|
|
15405
|
+
f.badge ? (s(), i("span", Hb, w(f.badge), 1)) : v("", !0)
|
|
15403
15406
|
]),
|
|
15404
15407
|
_: 2
|
|
15405
15408
|
}, 1032, ["to", "class", "onClick"]))), 128))
|
|
@@ -15452,12 +15455,12 @@ const dc = {
|
|
|
15452
15455
|
g[7] || (g[7] = l("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, " Management Settings ", -1))
|
|
15453
15456
|
])
|
|
15454
15457
|
]),
|
|
15455
|
-
l("nav",
|
|
15456
|
-
l("div",
|
|
15458
|
+
l("nav", Wb, [
|
|
15459
|
+
l("div", Gb, [
|
|
15457
15460
|
(s(!0), i(H, null, X(e.managementSettings, (f) => (s(), i(H, {
|
|
15458
15461
|
key: f.name
|
|
15459
15462
|
}, [
|
|
15460
|
-
f.type === "section" ? (s(), i("div",
|
|
15463
|
+
f.type === "section" ? (s(), i("div", Kb, w(f.label), 1)) : f.route ? (s(), W(p, {
|
|
15461
15464
|
key: 1,
|
|
15462
15465
|
to: f.route,
|
|
15463
15466
|
class: m(
|
|
@@ -15469,7 +15472,7 @@ const dc = {
|
|
|
15469
15472
|
onClick: (K) => ne(f)
|
|
15470
15473
|
}, {
|
|
15471
15474
|
default: J(() => [
|
|
15472
|
-
b(f) ? (s(), i("div",
|
|
15475
|
+
b(f) ? (s(), i("div", Xb)) : v("", !0),
|
|
15473
15476
|
l("div", {
|
|
15474
15477
|
class: m(
|
|
15475
15478
|
Z(O)(
|
|
@@ -15520,7 +15523,7 @@ const dc = {
|
|
|
15520
15523
|
]);
|
|
15521
15524
|
};
|
|
15522
15525
|
}
|
|
15523
|
-
},
|
|
15526
|
+
}, Qb = {
|
|
15524
15527
|
__name: "Timeline",
|
|
15525
15528
|
props: {
|
|
15526
15529
|
orientation: {
|
|
@@ -15539,13 +15542,13 @@ const dc = {
|
|
|
15539
15542
|
q(a.$slots, "default")
|
|
15540
15543
|
], 2));
|
|
15541
15544
|
}
|
|
15542
|
-
},
|
|
15545
|
+
}, Zb = {
|
|
15543
15546
|
key: 0,
|
|
15544
15547
|
class: "absolute left-3 top-0 w-0.5 h-full bg-slate-200"
|
|
15545
|
-
},
|
|
15548
|
+
}, ep = { class: "z-10 flex items-center justify-center w-6 h-6 rounded-full border-2 border-blue-500 bg-white text-blue-500" }, tp = { class: "text-slate-900 font-medium" }, ap = {
|
|
15546
15549
|
key: 0,
|
|
15547
15550
|
class: "text-slate-500 text-sm"
|
|
15548
|
-
},
|
|
15551
|
+
}, np = { class: "mt-2 text-slate-600 text-sm" }, sp = {
|
|
15549
15552
|
__name: "TimelineItem",
|
|
15550
15553
|
props: {
|
|
15551
15554
|
title: {
|
|
@@ -15569,8 +15572,8 @@ const dc = {
|
|
|
15569
15572
|
e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
|
|
15570
15573
|
])
|
|
15571
15574
|
}, [
|
|
15572
|
-
e.orientation === "vertical" ? (s(), i("div",
|
|
15573
|
-
l("div",
|
|
15575
|
+
e.orientation === "vertical" ? (s(), i("div", Zb)) : v("", !0),
|
|
15576
|
+
l("div", ep, [
|
|
15574
15577
|
q(a.$slots, "icon", {}, () => [
|
|
15575
15578
|
t[0] || (t[0] = l("div", { class: "w-2 h-2 rounded-full bg-blue-500" }, null, -1))
|
|
15576
15579
|
])
|
|
@@ -15581,23 +15584,23 @@ const dc = {
|
|
|
15581
15584
|
e.orientation === "horizontal" ? "mt-2 text-center" : ""
|
|
15582
15585
|
])
|
|
15583
15586
|
}, [
|
|
15584
|
-
l("h3",
|
|
15587
|
+
l("h3", tp, [
|
|
15585
15588
|
q(a.$slots, "title", {}, () => [
|
|
15586
15589
|
oe(w(e.title), 1)
|
|
15587
15590
|
])
|
|
15588
15591
|
]),
|
|
15589
|
-
e.subtitle ? (s(), i("p",
|
|
15592
|
+
e.subtitle ? (s(), i("p", ap, [
|
|
15590
15593
|
q(a.$slots, "subtitle", {}, () => [
|
|
15591
15594
|
oe(w(e.subtitle), 1)
|
|
15592
15595
|
])
|
|
15593
15596
|
])) : v("", !0),
|
|
15594
|
-
l("div",
|
|
15597
|
+
l("div", np, [
|
|
15595
15598
|
q(a.$slots, "default")
|
|
15596
15599
|
])
|
|
15597
15600
|
], 2)
|
|
15598
15601
|
], 2));
|
|
15599
15602
|
}
|
|
15600
|
-
},
|
|
15603
|
+
}, rp = {
|
|
15601
15604
|
name: "AuthLayout",
|
|
15602
15605
|
props: {
|
|
15603
15606
|
title: {
|
|
@@ -15663,26 +15666,26 @@ const dc = {
|
|
|
15663
15666
|
currentYear: y(() => (/* @__PURE__ */ new Date()).getFullYear())
|
|
15664
15667
|
};
|
|
15665
15668
|
}
|
|
15666
|
-
},
|
|
15669
|
+
}, lp = { class: "container mx-auto px-4 py-10 lg:py-0 relative z-10 w-full" }, op = { class: "grid lg:grid-cols-10 gap-6 lg:gap-8 items-center min-h-screen" }, ip = { class: "hidden lg:block lg:col-span-6 text-white text-center lg:text-left space-y-6" }, up = { class: "mb-6 flex justify-center lg:justify-start" }, dp = ["src"], cp = {
|
|
15667
15670
|
key: 0,
|
|
15668
15671
|
class: "max-w-md mx-auto lg:mx-0"
|
|
15669
|
-
},
|
|
15672
|
+
}, fp = { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" }, mp = { class: "lg:col-span-4 w-full" }, gp = { class: "lg:hidden mb-6 flex justify-center" }, vp = ["src"], hp = { class: "bg-white rounded-lg shadow-xl p-4 sm:p-6 lg:p-8 max-w-md mx-auto w-full" }, bp = {
|
|
15670
15673
|
key: 0,
|
|
15671
15674
|
class: "mb-4 sm:mb-6"
|
|
15672
|
-
},
|
|
15675
|
+
}, pp = { class: "text-center" }, yp = { class: "text-xl sm:text-2xl font-bold text-gray-900" }, xp = {
|
|
15673
15676
|
key: 0,
|
|
15674
15677
|
class: "text-sm sm:text-base text-gray-600 mt-2"
|
|
15675
|
-
},
|
|
15678
|
+
}, wp = { class: "space-y-4 sm:space-y-6" }, kp = {
|
|
15676
15679
|
key: 1,
|
|
15677
15680
|
class: "mt-4 sm:mt-6"
|
|
15678
|
-
},
|
|
15681
|
+
}, $p = {
|
|
15679
15682
|
key: 0,
|
|
15680
15683
|
class: "mt-4 sm:mt-6 text-center"
|
|
15681
|
-
},
|
|
15684
|
+
}, Cp = {
|
|
15682
15685
|
key: 0,
|
|
15683
15686
|
class: "absolute bottom-2 right-2 sm:bottom-4 sm:right-4 text-right"
|
|
15684
|
-
},
|
|
15685
|
-
function
|
|
15687
|
+
}, Sp = ["src"], zp = { class: "text-white/90 text-[10px] sm:text-xs bg-black/30 sm:bg-transparent px-2 py-1 sm:p-0 rounded" }, Ap = { class: "font-medium" }, Dp = { class: "hidden sm:block" }, Mp = { class: "hidden sm:block" }, Vp = { class: "absolute bottom-2 left-2 sm:bottom-4 sm:left-4 flex gap-1.5 sm:gap-2" }, Fp = ["href"];
|
|
15688
|
+
function Tp(e, a, t, n, r, o) {
|
|
15686
15689
|
const u = Ce("router-view"), d = Ce("font-awesome-icon");
|
|
15687
15690
|
return s(), i("div", {
|
|
15688
15691
|
class: "min-h-screen relative flex items-center justify-center overflow-x-hidden",
|
|
@@ -15695,63 +15698,63 @@ function Fp(e, a, t, n, r, o) {
|
|
|
15695
15698
|
opacity: t.backgroundOpacity
|
|
15696
15699
|
})
|
|
15697
15700
|
}, null, 4),
|
|
15698
|
-
l("div",
|
|
15699
|
-
l("div",
|
|
15700
|
-
l("div",
|
|
15701
|
-
l("div",
|
|
15701
|
+
l("div", lp, [
|
|
15702
|
+
l("div", op, [
|
|
15703
|
+
l("div", ip, [
|
|
15704
|
+
l("div", up, [
|
|
15702
15705
|
l("img", {
|
|
15703
15706
|
src: t.logoUrl,
|
|
15704
15707
|
alt: "Company Logo",
|
|
15705
15708
|
class: "h-52 lg:h-72 w-auto object-contain"
|
|
15706
|
-
}, null, 8,
|
|
15709
|
+
}, null, 8, dp)
|
|
15707
15710
|
]),
|
|
15708
|
-
t.quote ? (s(), i("div",
|
|
15709
|
-
l("p",
|
|
15711
|
+
t.quote ? (s(), i("div", cp, [
|
|
15712
|
+
l("p", fp, ' "' + w(t.quote) + '" ', 1)
|
|
15710
15713
|
])) : v("", !0)
|
|
15711
15714
|
]),
|
|
15712
|
-
l("div",
|
|
15713
|
-
l("div",
|
|
15715
|
+
l("div", mp, [
|
|
15716
|
+
l("div", gp, [
|
|
15714
15717
|
l("img", {
|
|
15715
15718
|
src: t.logoUrl,
|
|
15716
15719
|
alt: "Company Logo",
|
|
15717
15720
|
class: "h-24 w-auto object-contain"
|
|
15718
|
-
}, null, 8,
|
|
15721
|
+
}, null, 8, vp)
|
|
15719
15722
|
]),
|
|
15720
|
-
l("div",
|
|
15721
|
-
e.$slots["card-header"] || t.title ? (s(), i("div",
|
|
15723
|
+
l("div", hp, [
|
|
15724
|
+
e.$slots["card-header"] || t.title ? (s(), i("div", bp, [
|
|
15722
15725
|
q(e.$slots, "card-header", {}, () => [
|
|
15723
|
-
l("div",
|
|
15724
|
-
l("h1",
|
|
15725
|
-
t.subtitle ? (s(), i("p",
|
|
15726
|
+
l("div", pp, [
|
|
15727
|
+
l("h1", yp, w(t.title), 1),
|
|
15728
|
+
t.subtitle ? (s(), i("p", xp, w(t.subtitle), 1)) : v("", !0)
|
|
15726
15729
|
])
|
|
15727
15730
|
])
|
|
15728
15731
|
])) : v("", !0),
|
|
15729
|
-
l("div",
|
|
15732
|
+
l("div", wp, [
|
|
15730
15733
|
P(u)
|
|
15731
15734
|
]),
|
|
15732
|
-
e.$slots["card-footer"] ? (s(), i("div",
|
|
15735
|
+
e.$slots["card-footer"] ? (s(), i("div", kp, [
|
|
15733
15736
|
q(e.$slots, "card-footer")
|
|
15734
15737
|
])) : v("", !0)
|
|
15735
15738
|
]),
|
|
15736
|
-
e.$slots.links ? (s(), i("div",
|
|
15739
|
+
e.$slots.links ? (s(), i("div", $p, [
|
|
15737
15740
|
q(e.$slots, "links")
|
|
15738
15741
|
])) : v("", !0)
|
|
15739
15742
|
])
|
|
15740
15743
|
])
|
|
15741
15744
|
]),
|
|
15742
|
-
t.showFooter ? (s(), i("div",
|
|
15745
|
+
t.showFooter ? (s(), i("div", Cp, [
|
|
15743
15746
|
l("img", {
|
|
15744
15747
|
src: t.logoUrl,
|
|
15745
15748
|
alt: "Company Logo",
|
|
15746
15749
|
class: "hidden sm:block h-20 sm:h-32 lg:h-40 w-auto object-contain ml-auto mb-2"
|
|
15747
|
-
}, null, 8,
|
|
15748
|
-
l("div",
|
|
15749
|
-
l("div",
|
|
15750
|
-
l("div",
|
|
15751
|
-
l("div",
|
|
15750
|
+
}, null, 8, Sp),
|
|
15751
|
+
l("div", zp, [
|
|
15752
|
+
l("div", Ap, w(t.appName), 1),
|
|
15753
|
+
l("div", Dp, "(" + w(t.appVersion) + ")", 1),
|
|
15754
|
+
l("div", Mp, w(t.copyright), 1)
|
|
15752
15755
|
])
|
|
15753
15756
|
])) : v("", !0),
|
|
15754
|
-
l("div",
|
|
15757
|
+
l("div", Vp, [
|
|
15755
15758
|
(s(!0), i(H, null, X(t.socialLinks, (c) => (s(), i("a", {
|
|
15756
15759
|
key: c.name,
|
|
15757
15760
|
href: c.url,
|
|
@@ -15763,14 +15766,14 @@ function Fp(e, a, t, n, r, o) {
|
|
|
15763
15766
|
P(d, {
|
|
15764
15767
|
icon: ["fab", c.icon]
|
|
15765
15768
|
}, null, 8, ["icon"])
|
|
15766
|
-
], 10,
|
|
15769
|
+
], 10, Fp))), 128))
|
|
15767
15770
|
])
|
|
15768
15771
|
], 4);
|
|
15769
15772
|
}
|
|
15770
|
-
const
|
|
15773
|
+
const Bp = /* @__PURE__ */ Vt(rp, [["render", Tp]]), jp = { class: "min-h-screen bg-gray-50" }, Pp = { class: "flex-1" }, Op = {
|
|
15771
15774
|
key: 0,
|
|
15772
15775
|
class: "bg-white border-b border-gray-200"
|
|
15773
|
-
},
|
|
15776
|
+
}, _p = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, Lp = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, Ep = {
|
|
15774
15777
|
__name: "DefaultLayout",
|
|
15775
15778
|
props: {
|
|
15776
15779
|
navigationItems: {
|
|
@@ -15794,7 +15797,7 @@ const Tp = /* @__PURE__ */ Vt(sp, [["render", Fp]]), Bp = { class: "min-h-screen
|
|
|
15794
15797
|
setup(e) {
|
|
15795
15798
|
return (a, t) => {
|
|
15796
15799
|
const n = Ce("Logo"), r = Ce("MainNavigation"), o = Ce("Button"), u = Ce("Header"), d = Ce("Breadcrumb"), c = Ce("Text"), x = Ce("Footer");
|
|
15797
|
-
return s(), i("div",
|
|
15800
|
+
return s(), i("div", jp, [
|
|
15798
15801
|
P(u, null, {
|
|
15799
15802
|
logo: J(() => [
|
|
15800
15803
|
q(a.$slots, "logo", {}, () => [
|
|
@@ -15827,15 +15830,15 @@ const Tp = /* @__PURE__ */ Vt(sp, [["render", Fp]]), Bp = { class: "min-h-screen
|
|
|
15827
15830
|
]),
|
|
15828
15831
|
_: 3
|
|
15829
15832
|
}),
|
|
15830
|
-
l("main",
|
|
15831
|
-
e.showBreadcrumb ? (s(), i("div",
|
|
15832
|
-
l("div",
|
|
15833
|
+
l("main", Pp, [
|
|
15834
|
+
e.showBreadcrumb ? (s(), i("div", Op, [
|
|
15835
|
+
l("div", _p, [
|
|
15833
15836
|
q(a.$slots, "breadcrumb", {}, () => [
|
|
15834
15837
|
P(d, { items: e.breadcrumbItems }, null, 8, ["items"])
|
|
15835
15838
|
])
|
|
15836
15839
|
])
|
|
15837
15840
|
])) : v("", !0),
|
|
15838
|
-
l("div",
|
|
15841
|
+
l("div", Lp, [
|
|
15839
15842
|
q(a.$slots, "default")
|
|
15840
15843
|
])
|
|
15841
15844
|
]),
|
|
@@ -15856,7 +15859,7 @@ const Tp = /* @__PURE__ */ Vt(sp, [["render", Fp]]), Bp = { class: "min-h-screen
|
|
|
15856
15859
|
]);
|
|
15857
15860
|
};
|
|
15858
15861
|
}
|
|
15859
|
-
},
|
|
15862
|
+
}, Ip = {
|
|
15860
15863
|
name: "ErrorLayout",
|
|
15861
15864
|
props: {
|
|
15862
15865
|
errorType: {
|
|
@@ -16122,20 +16125,20 @@ const Tp = /* @__PURE__ */ Vt(sp, [["render", Fp]]), Bp = { class: "min-h-screen
|
|
|
16122
16125
|
helpClasses: g
|
|
16123
16126
|
};
|
|
16124
16127
|
}
|
|
16125
|
-
},
|
|
16128
|
+
}, Np = { class: "flex justify-center" }, Rp = { class: "flex items-center gap-3" }, Up = { class: "text-2xl font-bold text-slate-900" }, qp = {
|
|
16126
16129
|
key: 1,
|
|
16127
16130
|
class: "bg-red-100 border border-red-200 rounded-lg p-4 mx-auto max-w-md mb-6"
|
|
16128
|
-
},
|
|
16131
|
+
}, Yp = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, Hp = ["disabled"], Wp = {
|
|
16129
16132
|
key: 0,
|
|
16130
16133
|
class: "animate-spin"
|
|
16131
|
-
},
|
|
16134
|
+
}, Gp = { key: 1 }, Kp = ["disabled"], Xp = { key: 0 }, Jp = { key: 1 }, Qp = {
|
|
16132
16135
|
key: 0,
|
|
16133
16136
|
class: "mt-8 max-w-md mx-auto"
|
|
16134
|
-
},
|
|
16137
|
+
}, Zp = { class: "bg-white rounded-lg border border-slate-200 shadow-sm p-6" }, ey = { class: "text-lg font-semibold text-slate-900 mb-4" }, ty = { class: "space-y-3" }, ay = { class: "text-sm text-slate-600" }, ny = ["href"], sy = {
|
|
16135
16138
|
key: 5,
|
|
16136
16139
|
class: "text-xs text-slate-400 font-mono mt-4"
|
|
16137
16140
|
};
|
|
16138
|
-
function
|
|
16141
|
+
function ry(e, a, t, n, r, o) {
|
|
16139
16142
|
return s(), i("div", {
|
|
16140
16143
|
class: m(n.layoutClasses)
|
|
16141
16144
|
}, [
|
|
@@ -16155,13 +16158,13 @@ function sy(e, a, t, n, r, o) {
|
|
|
16155
16158
|
class: m(n.headerClasses)
|
|
16156
16159
|
}, [
|
|
16157
16160
|
q(e.$slots, "header", {}, () => [
|
|
16158
|
-
l("div",
|
|
16161
|
+
l("div", Np, [
|
|
16159
16162
|
q(e.$slots, "logo", {}, () => [
|
|
16160
|
-
l("div",
|
|
16163
|
+
l("div", Rp, [
|
|
16161
16164
|
a[5] || (a[5] = l("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
|
|
16162
16165
|
l("span", { class: "text-white font-bold text-lg" }, "STL")
|
|
16163
16166
|
], -1)),
|
|
16164
|
-
l("span",
|
|
16167
|
+
l("span", Up, w(t.brandName), 1)
|
|
16165
16168
|
])
|
|
16166
16169
|
])
|
|
16167
16170
|
])
|
|
@@ -16207,7 +16210,7 @@ function sy(e, a, t, n, r, o) {
|
|
|
16207
16210
|
])
|
|
16208
16211
|
], 2)
|
|
16209
16212
|
], 2),
|
|
16210
|
-
n.isOnline ? v("", !0) : (s(), i("div",
|
|
16213
|
+
n.isOnline ? v("", !0) : (s(), i("div", qp, [...a[6] || (a[6] = [
|
|
16211
16214
|
l("div", { class: "flex items-center justify-center gap-2 text-red-700" }, [
|
|
16212
16215
|
l("span", { class: "w-3 h-3 bg-red-500 rounded-full animate-pulse" }),
|
|
16213
16216
|
l("span", { class: "font-medium" }, "No Internet Connection")
|
|
@@ -16218,7 +16221,7 @@ function sy(e, a, t, n, r, o) {
|
|
|
16218
16221
|
class: m(n.actionsClasses)
|
|
16219
16222
|
}, [
|
|
16220
16223
|
q(e.$slots, "actions", {}, () => [
|
|
16221
|
-
l("div",
|
|
16224
|
+
l("div", Yp, [
|
|
16222
16225
|
t.showHomeButton ? (s(), i("button", {
|
|
16223
16226
|
key: 0,
|
|
16224
16227
|
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",
|
|
@@ -16241,18 +16244,18 @@ function sy(e, a, t, n, r, o) {
|
|
|
16241
16244
|
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",
|
|
16242
16245
|
onClick: a[2] || (a[2] = (...u) => n.retry && n.retry(...u))
|
|
16243
16246
|
}, [
|
|
16244
|
-
n.isRetrying ? (s(), i("span",
|
|
16247
|
+
n.isRetrying ? (s(), i("span", Wp, "↻")) : (s(), i("span", Gp, "🔄")),
|
|
16245
16248
|
oe(" " + w(n.isRetrying ? "Retrying..." : t.retryButtonText), 1)
|
|
16246
|
-
], 8,
|
|
16249
|
+
], 8, Hp)) : v("", !0),
|
|
16247
16250
|
t.showSupportButton ? (s(), i("button", {
|
|
16248
16251
|
key: 3,
|
|
16249
16252
|
disabled: n.reportSent,
|
|
16250
16253
|
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",
|
|
16251
16254
|
onClick: a[3] || (a[3] = (u) => e.$emit("contact-support"))
|
|
16252
16255
|
}, [
|
|
16253
|
-
n.reportSent ? (s(), i("span",
|
|
16256
|
+
n.reportSent ? (s(), i("span", Xp, "✓")) : (s(), i("span", Jp, "📝")),
|
|
16254
16257
|
oe(" " + w(n.reportSent ? "Report Sent" : "Contact Support"), 1)
|
|
16255
|
-
], 8,
|
|
16258
|
+
], 8, Kp)) : v("", !0)
|
|
16256
16259
|
])
|
|
16257
16260
|
])
|
|
16258
16261
|
], 2)) : v("", !0),
|
|
@@ -16261,10 +16264,10 @@ function sy(e, a, t, n, r, o) {
|
|
|
16261
16264
|
class: m(n.additionalInfoClasses)
|
|
16262
16265
|
}, [
|
|
16263
16266
|
q(e.$slots, "additional-info", {}, () => [
|
|
16264
|
-
n.additionalInfoConfig ? (s(), i("div",
|
|
16265
|
-
l("div",
|
|
16266
|
-
l("h3",
|
|
16267
|
-
l("ul",
|
|
16267
|
+
n.additionalInfoConfig ? (s(), i("div", Qp, [
|
|
16268
|
+
l("div", Zp, [
|
|
16269
|
+
l("h3", ey, w(n.additionalInfoConfig.title), 1),
|
|
16270
|
+
l("ul", ty, [
|
|
16268
16271
|
(s(!0), i(H, null, X(n.additionalInfoConfig.items, (u, d) => (s(), i("li", {
|
|
16269
16272
|
key: d,
|
|
16270
16273
|
class: "flex items-start gap-3 text-sm text-slate-600"
|
|
@@ -16284,7 +16287,7 @@ function sy(e, a, t, n, r, o) {
|
|
|
16284
16287
|
class: m(n.helpClasses)
|
|
16285
16288
|
}, [
|
|
16286
16289
|
q(e.$slots, "help", {}, () => [
|
|
16287
|
-
l("p",
|
|
16290
|
+
l("p", ay, [
|
|
16288
16291
|
oe(w(t.helpText) + " ", 1),
|
|
16289
16292
|
t.supportUrl ? (s(), i("a", {
|
|
16290
16293
|
key: 0,
|
|
@@ -16293,19 +16296,19 @@ function sy(e, a, t, n, r, o) {
|
|
|
16293
16296
|
}, [...a[8] || (a[8] = [
|
|
16294
16297
|
l("span", { class: "inline-block w-4 h-4 mr-1" }, "❓", -1),
|
|
16295
16298
|
oe(" Get Help ", -1)
|
|
16296
|
-
])], 8,
|
|
16299
|
+
])], 8, ny)) : v("", !0)
|
|
16297
16300
|
])
|
|
16298
16301
|
])
|
|
16299
16302
|
], 2)) : v("", !0),
|
|
16300
|
-
n.isDev ? (s(), i("div",
|
|
16303
|
+
n.isDev ? (s(), i("div", sy, " Error ID: " + w(n.errorId), 1)) : v("", !0)
|
|
16301
16304
|
], 2)
|
|
16302
16305
|
], 2)
|
|
16303
16306
|
], 2);
|
|
16304
16307
|
}
|
|
16305
|
-
const
|
|
16308
|
+
const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-full relative" }, iy = {
|
|
16306
16309
|
key: 0,
|
|
16307
16310
|
class: "w-full h-full flex items-center justify-center"
|
|
16308
|
-
},
|
|
16311
|
+
}, uy = ["width", "height", "viewBox"], dy = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], cy = ["cx", "cy", "r", "fill"], fy = { key: 1 }, my = ["x", "y"], gy = ["x", "y"], vy = { key: 2 }, hy = ["x", "y"], by = { key: 3 }, py = ["transform"], yy = ["fill"], xy = { class: "bg-slate-900 text-white px-4 py-3 rounded-lg shadow-2xl border border-slate-700 min-w-[180px]" }, wy = { class: "flex items-center gap-2 mb-1.5" }, ky = { class: "font-semibold text-sm" }, $y = { class: "flex items-baseline gap-2 ml-5" }, Cy = { class: "text-2xl font-bold" }, Sy = { class: "mt-1 ml-5" }, zy = { class: "text-xs text-slate-300" }, zn = {
|
|
16309
16312
|
__name: "PieChart",
|
|
16310
16313
|
props: {
|
|
16311
16314
|
data: {
|
|
@@ -16473,7 +16476,7 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16473
16476
|
percentage: D.percentage
|
|
16474
16477
|
});
|
|
16475
16478
|
};
|
|
16476
|
-
return (D, L) => (s(), i("div",
|
|
16479
|
+
return (D, L) => (s(), i("div", oy, [
|
|
16477
16480
|
u.value ? (s(), i("svg", {
|
|
16478
16481
|
key: 1,
|
|
16479
16482
|
width: e.width,
|
|
@@ -16492,7 +16495,7 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16492
16495
|
onMouseenter: (R) => S(R, V, F),
|
|
16493
16496
|
onMouseleave: k,
|
|
16494
16497
|
onClick: (R) => z(V, F)
|
|
16495
|
-
}, null, 42,
|
|
16498
|
+
}, null, 42, dy))), 128))
|
|
16496
16499
|
]),
|
|
16497
16500
|
e.doughnut ? (s(), i("circle", {
|
|
16498
16501
|
key: 0,
|
|
@@ -16500,24 +16503,24 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16500
16503
|
cy: c.value,
|
|
16501
16504
|
r: C.value,
|
|
16502
16505
|
fill: e.centerFill
|
|
16503
|
-
}, null, 8,
|
|
16504
|
-
e.doughnut && e.showCenterText ? (s(), i("g",
|
|
16506
|
+
}, null, 8, cy)) : v("", !0),
|
|
16507
|
+
e.doughnut && e.showCenterText ? (s(), i("g", fy, [
|
|
16505
16508
|
l("text", {
|
|
16506
16509
|
x: d.value,
|
|
16507
16510
|
y: c.value - 5,
|
|
16508
16511
|
class: m(e.centerTextClasses),
|
|
16509
16512
|
"text-anchor": "middle",
|
|
16510
16513
|
"dominant-baseline": "middle"
|
|
16511
|
-
}, w(o.value), 11,
|
|
16514
|
+
}, w(o.value), 11, my),
|
|
16512
16515
|
l("text", {
|
|
16513
16516
|
x: d.value,
|
|
16514
16517
|
y: c.value + 15,
|
|
16515
16518
|
class: m(e.centerLabelClasses),
|
|
16516
16519
|
"text-anchor": "middle",
|
|
16517
16520
|
"dominant-baseline": "middle"
|
|
16518
|
-
}, " Total ", 10,
|
|
16521
|
+
}, " Total ", 10, gy)
|
|
16519
16522
|
])) : v("", !0),
|
|
16520
|
-
e.showValues ? (s(), i("g",
|
|
16523
|
+
e.showValues ? (s(), i("g", vy, [
|
|
16521
16524
|
(s(!0), i(H, null, X(A.value, (V, F) => (s(), i("text", {
|
|
16522
16525
|
key: `value-${F}`,
|
|
16523
16526
|
x: V.labelX,
|
|
@@ -16525,9 +16528,9 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16525
16528
|
class: m(e.valueLabelClasses),
|
|
16526
16529
|
"text-anchor": "middle",
|
|
16527
16530
|
"dominant-baseline": "middle"
|
|
16528
|
-
}, w(e.showPercentages ? `${V.percentage}%` : V.value), 11,
|
|
16531
|
+
}, w(e.showPercentages ? `${V.percentage}%` : V.value), 11, hy))), 128))
|
|
16529
16532
|
])) : v("", !0),
|
|
16530
|
-
e.showLegend ? (s(), i("g",
|
|
16533
|
+
e.showLegend ? (s(), i("g", by, [
|
|
16531
16534
|
(s(!0), i(H, null, X(A.value, (V, F) => (s(), i("g", {
|
|
16532
16535
|
key: `legend-${F}`,
|
|
16533
16536
|
transform: `translate(${j(F)}, ${M(F)})`
|
|
@@ -16537,15 +16540,15 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16537
16540
|
height: 12,
|
|
16538
16541
|
fill: T(F),
|
|
16539
16542
|
rx: "2"
|
|
16540
|
-
}, null, 8,
|
|
16543
|
+
}, null, 8, yy),
|
|
16541
16544
|
l("text", {
|
|
16542
16545
|
x: 18,
|
|
16543
16546
|
y: 10,
|
|
16544
16547
|
class: m(e.legendTextClasses)
|
|
16545
16548
|
}, w(V.label), 3)
|
|
16546
|
-
], 8,
|
|
16549
|
+
], 8, py))), 128))
|
|
16547
16550
|
])) : v("", !0)
|
|
16548
|
-
], 8,
|
|
16551
|
+
], 8, uy)) : (s(), i("div", iy, [...L[0] || (L[0] = [
|
|
16549
16552
|
Qs('<div class="text-center"><div class="text-slate-300 mb-2"><svg class="w-16 h-16 mx-auto" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path></svg></div><p class="text-sm text-slate-500"> No data available </p></div>', 1)
|
|
16550
16553
|
])])),
|
|
16551
16554
|
r.value.visible ? (s(), i("div", {
|
|
@@ -16560,42 +16563,42 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16560
16563
|
}),
|
|
16561
16564
|
class: "animate-in fade-in duration-200"
|
|
16562
16565
|
}, [
|
|
16563
|
-
l("div",
|
|
16564
|
-
l("div",
|
|
16566
|
+
l("div", xy, [
|
|
16567
|
+
l("div", wy, [
|
|
16565
16568
|
l("div", {
|
|
16566
16569
|
style: be({ backgroundColor: r.value.color }),
|
|
16567
16570
|
class: "w-3 h-3 rounded-full shadow-sm"
|
|
16568
16571
|
}, null, 4),
|
|
16569
|
-
l("p",
|
|
16572
|
+
l("p", ky, w(r.value.label), 1)
|
|
16570
16573
|
]),
|
|
16571
|
-
l("div",
|
|
16572
|
-
l("span",
|
|
16574
|
+
l("div", $y, [
|
|
16575
|
+
l("span", Cy, w(r.value.value), 1),
|
|
16573
16576
|
L[1] || (L[1] = l("span", { class: "text-xs text-slate-400" }, "tasks", -1))
|
|
16574
16577
|
]),
|
|
16575
|
-
l("div",
|
|
16576
|
-
l("span",
|
|
16578
|
+
l("div", Sy, [
|
|
16579
|
+
l("span", zy, w(r.value.percentage) + "% of total", 1)
|
|
16577
16580
|
]),
|
|
16578
16581
|
L[2] || (L[2] = l("div", { class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 translate-y-1/2 rotate-45 w-2 h-2 bg-slate-900 border-r border-b border-slate-700" }, null, -1))
|
|
16579
16582
|
])
|
|
16580
16583
|
], 4)) : v("", !0)
|
|
16581
16584
|
]));
|
|
16582
16585
|
}
|
|
16583
|
-
},
|
|
16586
|
+
}, Ay = {
|
|
16584
16587
|
key: 0,
|
|
16585
16588
|
class: "flex items-center justify-between px-6 py-4 border-b border-slate-200 bg-linear-to-r from-slate-50 to-slate-100 shrink-0"
|
|
16586
|
-
},
|
|
16589
|
+
}, Dy = { class: "flex items-center gap-3" }, My = { class: "font-semibold text-lg text-slate-900" }, Vy = { class: "flex items-center gap-2" }, Fy = ["disabled"], Ty = {
|
|
16587
16590
|
key: 1,
|
|
16588
16591
|
class: "absolute top-16 right-4 z-20 bg-white rounded-lg shadow-xl border border-slate-200 p-4 min-w-[250px]"
|
|
16589
|
-
},
|
|
16592
|
+
}, By = { class: "flex items-center justify-between mb-3" }, jy = { class: "space-y-3" }, Py = ["for"], Oy = ["id", "onClick"], _y = {
|
|
16590
16593
|
key: 2,
|
|
16591
16594
|
class: "absolute top-16 right-4 z-20 bg-white rounded-lg shadow-xl border border-slate-200 p-4 min-w-[280px]"
|
|
16592
|
-
},
|
|
16595
|
+
}, Ly = { class: "flex items-center justify-between mb-3" }, Ey = { class: "space-y-2" }, Iy = { class: "text-slate-700" }, Ny = { class: "px-2 py-1 bg-slate-100 border border-slate-300 rounded text-xs font-mono" }, Ry = { class: "relative flex-1 overflow-hidden" }, Uy = {
|
|
16593
16596
|
key: 0,
|
|
16594
16597
|
class: "absolute inset-0 bg-white/90 backdrop-blur-sm z-10 flex items-center justify-center"
|
|
16595
|
-
},
|
|
16598
|
+
}, qy = { class: "w-full h-full flex items-center justify-center" }, Yy = {
|
|
16596
16599
|
key: 3,
|
|
16597
16600
|
class: "border-t border-slate-200 px-6 py-3 bg-slate-50 shrink-0"
|
|
16598
|
-
},
|
|
16601
|
+
}, Hy = {
|
|
16599
16602
|
__name: "DashboardWidget",
|
|
16600
16603
|
props: {
|
|
16601
16604
|
id: { type: String, required: !0 },
|
|
@@ -16737,16 +16740,16 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16737
16740
|
onFocus: j,
|
|
16738
16741
|
onBlur: M
|
|
16739
16742
|
}, [
|
|
16740
|
-
e.showHeader ? (s(), i("div",
|
|
16741
|
-
l("div",
|
|
16743
|
+
e.showHeader ? (s(), i("div", Ay, [
|
|
16744
|
+
l("div", Dy, [
|
|
16742
16745
|
e.icon ? (s(), W(Q, {
|
|
16743
16746
|
key: 0,
|
|
16744
16747
|
icon: e.icon,
|
|
16745
16748
|
class: "w-5 h-5 text-slate-700"
|
|
16746
16749
|
}, null, 8, ["icon"])) : v("", !0),
|
|
16747
|
-
l("h3",
|
|
16750
|
+
l("h3", My, w(e.title), 1)
|
|
16748
16751
|
]),
|
|
16749
|
-
l("div",
|
|
16752
|
+
l("div", Vy, [
|
|
16750
16753
|
q(E.$slots, "header-actions"),
|
|
16751
16754
|
l("button", {
|
|
16752
16755
|
class: "p-2 rounded-lg hover:bg-white/80 transition-all duration-200 hover:scale-105 active:scale-95",
|
|
@@ -16783,11 +16786,11 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16783
16786
|
{ "animate-spin": e.loading }
|
|
16784
16787
|
])
|
|
16785
16788
|
}, null, 8, ["class"])
|
|
16786
|
-
], 8,
|
|
16789
|
+
], 8, Fy)) : v("", !0)
|
|
16787
16790
|
])
|
|
16788
16791
|
])) : v("", !0),
|
|
16789
|
-
d.value ? (s(), i("div",
|
|
16790
|
-
l("div",
|
|
16792
|
+
d.value ? (s(), i("div", Ty, [
|
|
16793
|
+
l("div", By, [
|
|
16791
16794
|
Y[4] || (Y[4] = l("h4", { class: "font-semibold text-sm text-slate-900" }, " Customize Widget ", -1)),
|
|
16792
16795
|
l("button", {
|
|
16793
16796
|
class: "p-1 rounded hover:bg-slate-100",
|
|
@@ -16799,7 +16802,7 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16799
16802
|
})
|
|
16800
16803
|
])
|
|
16801
16804
|
]),
|
|
16802
|
-
l("div",
|
|
16805
|
+
l("div", jy, [
|
|
16803
16806
|
(s(!0), i(H, null, X(e.customizationOptions, (b) => (s(), i("div", {
|
|
16804
16807
|
key: b.id,
|
|
16805
16808
|
class: "flex items-center justify-between"
|
|
@@ -16807,7 +16810,7 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16807
16810
|
l("label", {
|
|
16808
16811
|
for: `setting-${b.id}`,
|
|
16809
16812
|
class: "text-sm text-slate-700 cursor-pointer"
|
|
16810
|
-
}, w(b.label), 9,
|
|
16813
|
+
}, w(b.label), 9, Py),
|
|
16811
16814
|
l("button", {
|
|
16812
16815
|
id: `setting-${b.id}`,
|
|
16813
16816
|
class: m([
|
|
@@ -16822,12 +16825,12 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16822
16825
|
c.value[b.id] ? "translate-x-6" : "translate-x-1"
|
|
16823
16826
|
])
|
|
16824
16827
|
}, null, 2)
|
|
16825
|
-
], 10,
|
|
16828
|
+
], 10, Oy)
|
|
16826
16829
|
]))), 128))
|
|
16827
16830
|
])
|
|
16828
16831
|
])) : v("", !0),
|
|
16829
|
-
S.value ? (s(), i("div",
|
|
16830
|
-
l("div",
|
|
16832
|
+
S.value ? (s(), i("div", _y, [
|
|
16833
|
+
l("div", Ly, [
|
|
16831
16834
|
Y[5] || (Y[5] = l("h4", { class: "font-semibold text-sm text-slate-900" }, " Keyboard Shortcuts ", -1)),
|
|
16832
16835
|
l("button", {
|
|
16833
16836
|
class: "p-1 rounded hover:bg-slate-100",
|
|
@@ -16839,18 +16842,18 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16839
16842
|
})
|
|
16840
16843
|
])
|
|
16841
16844
|
]),
|
|
16842
|
-
l("div",
|
|
16845
|
+
l("div", Ey, [
|
|
16843
16846
|
(s(), i(H, null, X(k, (b) => l("div", {
|
|
16844
16847
|
key: b.key,
|
|
16845
16848
|
class: "flex items-center justify-between text-sm"
|
|
16846
16849
|
}, [
|
|
16847
|
-
l("span",
|
|
16848
|
-
l("kbd",
|
|
16850
|
+
l("span", Iy, w(b.description), 1),
|
|
16851
|
+
l("kbd", Ny, w(b.key), 1)
|
|
16849
16852
|
])), 64))
|
|
16850
16853
|
])
|
|
16851
16854
|
])) : v("", !0),
|
|
16852
|
-
l("div",
|
|
16853
|
-
e.loading ? (s(), i("div",
|
|
16855
|
+
l("div", Ry, [
|
|
16856
|
+
e.loading ? (s(), i("div", Uy, [
|
|
16854
16857
|
P($t, {
|
|
16855
16858
|
type: "spin",
|
|
16856
16859
|
size: "medium",
|
|
@@ -16861,7 +16864,7 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16861
16864
|
key: 1,
|
|
16862
16865
|
class: m(["w-full h-full flex items-center justify-center p-4", u[e.padding]])
|
|
16863
16866
|
}, [
|
|
16864
|
-
l("div",
|
|
16867
|
+
l("div", qy, [
|
|
16865
16868
|
(s(), W(Be(re.value), zt(R.value, { doughnut: ne.value }), null, 16, ["doughnut"]))
|
|
16866
16869
|
])
|
|
16867
16870
|
], 2)) : (s(), i("div", {
|
|
@@ -16871,7 +16874,7 @@ const ry = /* @__PURE__ */ Vt(Ep, [["render", sy]]), ly = { class: "w-full h-ful
|
|
|
16871
16874
|
q(E.$slots, "default")
|
|
16872
16875
|
], 2))
|
|
16873
16876
|
]),
|
|
16874
|
-
E.$slots.footer ? (s(), i("div",
|
|
16877
|
+
E.$slots.footer ? (s(), i("div", Yy, [
|
|
16875
16878
|
q(E.$slots, "footer")
|
|
16876
16879
|
])) : v("", !0)
|
|
16877
16880
|
], 38)) : v("", !0);
|
|
@@ -16997,7 +17000,7 @@ function Ze(e) {
|
|
|
16997
17000
|
}
|
|
16998
17001
|
return null;
|
|
16999
17002
|
}
|
|
17000
|
-
function
|
|
17003
|
+
function Wy(e) {
|
|
17001
17004
|
if (!e) return null;
|
|
17002
17005
|
if (/^\d{4}-\d{2}-\d{2}$/.test(e)) {
|
|
17003
17006
|
const [a, t, n] = e.split("-").map(Number);
|
|
@@ -17014,7 +17017,7 @@ function Gs(e) {
|
|
|
17014
17017
|
const n = new Date(t);
|
|
17015
17018
|
return n.setDate(t.getDate() + 6), { startDate: t, endDate: n };
|
|
17016
17019
|
}
|
|
17017
|
-
function
|
|
17020
|
+
function Gy(e) {
|
|
17018
17021
|
const { startDate: a } = Gs(e), t = [];
|
|
17019
17022
|
for (let n = 0; n < 7; n++) {
|
|
17020
17023
|
const r = new Date(a);
|
|
@@ -17059,7 +17062,7 @@ function Dn(e) {
|
|
|
17059
17062
|
}
|
|
17060
17063
|
function Mn(e, a = "full") {
|
|
17061
17064
|
if (!e) return "";
|
|
17062
|
-
const t =
|
|
17065
|
+
const t = Wy(e);
|
|
17063
17066
|
if (!t) return String(e);
|
|
17064
17067
|
const n = {
|
|
17065
17068
|
full: {
|
|
@@ -17080,7 +17083,7 @@ function Mn(e, a = "full") {
|
|
|
17080
17083
|
};
|
|
17081
17084
|
return t.toLocaleDateString("en-US", n[a] || n.full);
|
|
17082
17085
|
}
|
|
17083
|
-
function
|
|
17086
|
+
function Ky(e = 0, a = 23, t = 60) {
|
|
17084
17087
|
const n = [];
|
|
17085
17088
|
for (let r = e; r <= a; r++)
|
|
17086
17089
|
for (let o = 0; o < 60; o += t) {
|
|
@@ -17099,7 +17102,7 @@ function la(e, a = "long") {
|
|
|
17099
17102
|
function oa(e) {
|
|
17100
17103
|
return e.getFullYear();
|
|
17101
17104
|
}
|
|
17102
|
-
const
|
|
17105
|
+
const Xy = {
|
|
17103
17106
|
name: "EventsCalendar",
|
|
17104
17107
|
props: {
|
|
17105
17108
|
events: {
|
|
@@ -17120,7 +17123,7 @@ const Ky = {
|
|
|
17120
17123
|
selectedEvent: null,
|
|
17121
17124
|
weekDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
17122
17125
|
weekDaysShort: ["S", "M", "T", "W", "T", "F", "S"],
|
|
17123
|
-
timeSlots:
|
|
17126
|
+
timeSlots: Ky(0, 23, 60),
|
|
17124
17127
|
monthNames: [
|
|
17125
17128
|
"January",
|
|
17126
17129
|
"February",
|
|
@@ -17156,7 +17159,7 @@ const Ky = {
|
|
|
17156
17159
|
}));
|
|
17157
17160
|
},
|
|
17158
17161
|
weekViewDays() {
|
|
17159
|
-
return
|
|
17162
|
+
return Gy(this.currentDate).map((a) => {
|
|
17160
17163
|
const t = Ze(a);
|
|
17161
17164
|
return {
|
|
17162
17165
|
dateObj: a,
|
|
@@ -17273,66 +17276,66 @@ const Ky = {
|
|
|
17273
17276
|
this.currentDate = new Date(this.currentDate.getFullYear(), e, 1), this.viewMode = "month";
|
|
17274
17277
|
}
|
|
17275
17278
|
}
|
|
17276
|
-
},
|
|
17279
|
+
}, Jy = { class: "flex gap-0 h-full bg-white rounded-lg shadow-sm border border-gray-200" }, Qy = { class: "flex-1 flex flex-col" }, Zy = { class: "flex items-center justify-between px-6 py-4 border-b border-gray-200" }, e1 = { class: "flex items-center gap-3" }, t1 = { class: "flex items-center gap-1" }, a1 = { class: "text-xl font-semibold text-gray-900 ml-2" }, n1 = { class: "flex items-center gap-2" }, s1 = { class: "flex-1 flex flex-col p-4" }, r1 = {
|
|
17277
17280
|
key: 0,
|
|
17278
17281
|
class: "flex-1 overflow-y-auto"
|
|
17279
|
-
},
|
|
17282
|
+
}, l1 = { class: "grid grid-cols-3 gap-6 pb-6" }, o1 = ["onClick"], i1 = { class: "bg-linear-to-r from-blue-500 to-blue-600 px-3 py-3" }, u1 = { class: "text-sm font-bold text-white text-center" }, d1 = { class: "p-3" }, c1 = { class: "grid grid-cols-7 mb-2" }, f1 = { class: "grid grid-cols-7 gap-1" }, m1 = {
|
|
17280
17283
|
key: 1,
|
|
17281
17284
|
class: "flex-1 flex flex-col"
|
|
17282
|
-
},
|
|
17285
|
+
}, g1 = { class: "grid grid-cols-7 border-b border-gray-200" }, v1 = { class: "grid grid-cols-7 flex-1 border-l border-t border-gray-200" }, h1 = ["onClick"], b1 = { class: "flex items-center justify-between mb-1 px-1" }, p1 = { class: "space-y-1" }, y1 = ["onClick"], x1 = {
|
|
17283
17286
|
key: 0,
|
|
17284
17287
|
class: "text-xs px-2 py-1 text-gray-600 font-medium cursor-pointer hover:text-gray-900"
|
|
17285
|
-
},
|
|
17288
|
+
}, w1 = {
|
|
17286
17289
|
key: 2,
|
|
17287
17290
|
class: "flex-1 flex flex-col overflow-hidden"
|
|
17288
|
-
},
|
|
17291
|
+
}, k1 = { class: "grid grid-cols-8 border-b border-gray-200 bg-gray-50" }, $1 = { class: "text-xs font-semibold text-gray-600 uppercase" }, C1 = { class: "grid grid-cols-8 border-b border-gray-200 bg-gray-50 min-h-[60px]" }, S1 = ["onClick"], z1 = { class: "font-semibold truncate" }, A1 = { class: "flex-1 overflow-y-auto" }, D1 = { class: "grid grid-cols-8" }, M1 = { class: "border-r border-gray-200 bg-gray-50" }, V1 = ["onClick"], F1 = { class: "font-semibold truncate" }, T1 = { class: "text-xs opacity-90 truncate" }, B1 = {
|
|
17289
17292
|
key: 3,
|
|
17290
17293
|
class: "flex-1 flex flex-col overflow-hidden"
|
|
17291
|
-
},
|
|
17294
|
+
}, j1 = { class: "border-b border-gray-200 bg-gray-50 p-4" }, P1 = { class: "text-center" }, O1 = { class: "text-sm font-semibold text-gray-600 uppercase" }, _1 = {
|
|
17292
17295
|
key: 0,
|
|
17293
17296
|
class: "border-b border-gray-200 bg-gray-50 p-4"
|
|
17294
|
-
},
|
|
17297
|
+
}, L1 = { class: "space-y-2" }, E1 = ["onClick"], I1 = { class: "font-semibold" }, N1 = {
|
|
17295
17298
|
key: 0,
|
|
17296
17299
|
class: "text-xs opacity-80 mt-1"
|
|
17297
|
-
},
|
|
17300
|
+
}, R1 = { class: "flex-1 overflow-y-auto" }, U1 = { class: "flex" }, q1 = { class: "w-24 border-r border-gray-200 bg-gray-50 shrink-0" }, Y1 = { class: "flex-1 relative" }, H1 = ["onClick"], W1 = { class: "font-semibold" }, G1 = { class: "text-xs opacity-90 mt-1" }, K1 = {
|
|
17298
17301
|
key: 0,
|
|
17299
17302
|
class: "text-xs opacity-80 mt-1 line-clamp-2"
|
|
17300
|
-
},
|
|
17303
|
+
}, X1 = {
|
|
17301
17304
|
key: 0,
|
|
17302
17305
|
class: "w-80 border-l border-gray-200 bg-white flex flex-col"
|
|
17303
|
-
},
|
|
17306
|
+
}, J1 = { class: "px-6 py-4 border-b border-gray-200 flex items-start justify-between" }, Q1 = { class: "flex-1 overflow-y-auto px-6 py-4 space-y-4" }, Z1 = { class: "text-xl font-bold text-gray-900" }, ex = { key: 0 }, tx = {
|
|
17304
17307
|
key: 0,
|
|
17305
17308
|
class: "w-4 h-4 mr-1.5",
|
|
17306
17309
|
fill: "currentColor",
|
|
17307
17310
|
viewBox: "0 0 20 20"
|
|
17308
|
-
},
|
|
17311
|
+
}, ax = {
|
|
17309
17312
|
key: 1,
|
|
17310
17313
|
class: "w-4 h-4 mr-1.5",
|
|
17311
17314
|
fill: "currentColor",
|
|
17312
17315
|
viewBox: "0 0 20 20"
|
|
17313
|
-
},
|
|
17316
|
+
}, nx = { class: "space-y-3 pt-2" }, sx = { class: "flex items-start gap-3" }, rx = { class: "text-sm font-medium text-gray-900" }, lx = { class: "flex items-start gap-3" }, ox = { class: "text-sm text-gray-600" }, ix = {
|
|
17314
17317
|
key: 1,
|
|
17315
17318
|
class: "pt-4 border-t border-gray-200"
|
|
17316
|
-
},
|
|
17319
|
+
}, ux = { class: "text-sm text-gray-600 leading-relaxed" }, dx = {
|
|
17317
17320
|
key: 2,
|
|
17318
17321
|
class: "pt-4 border-t border-gray-200 space-y-3"
|
|
17319
|
-
},
|
|
17322
|
+
}, cx = {
|
|
17320
17323
|
key: 0,
|
|
17321
17324
|
class: "text-sm"
|
|
17322
|
-
},
|
|
17325
|
+
}, fx = { class: "text-gray-600 mt-1" }, mx = {
|
|
17323
17326
|
key: 1,
|
|
17324
17327
|
class: "text-sm"
|
|
17325
|
-
},
|
|
17326
|
-
function
|
|
17327
|
-
return s(), i("div",
|
|
17328
|
-
l("div",
|
|
17329
|
-
l("div",
|
|
17330
|
-
l("div",
|
|
17328
|
+
}, gx = { class: "text-gray-600 mt-1" };
|
|
17329
|
+
function vx(e, a, t, n, r, o) {
|
|
17330
|
+
return s(), i("div", Jy, [
|
|
17331
|
+
l("div", Qy, [
|
|
17332
|
+
l("div", Zy, [
|
|
17333
|
+
l("div", e1, [
|
|
17331
17334
|
l("button", {
|
|
17332
17335
|
class: "px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded hover:bg-gray-50 transition-colors",
|
|
17333
17336
|
onClick: a[0] || (a[0] = (...u) => o.goToToday && o.goToToday(...u))
|
|
17334
17337
|
}, " Today "),
|
|
17335
|
-
l("div",
|
|
17338
|
+
l("div", t1, [
|
|
17336
17339
|
l("button", {
|
|
17337
17340
|
class: "p-2 text-gray-600 hover:bg-gray-100 rounded transition-colors",
|
|
17338
17341
|
onClick: a[1] || (a[1] = (...u) => o.previousPeriod && o.previousPeriod(...u))
|
|
@@ -17370,9 +17373,9 @@ function gx(e, a, t, n, r, o) {
|
|
|
17370
17373
|
], -1)
|
|
17371
17374
|
])])
|
|
17372
17375
|
]),
|
|
17373
|
-
l("h2",
|
|
17376
|
+
l("h2", a1, w(o.displayTitle), 1)
|
|
17374
17377
|
]),
|
|
17375
|
-
l("div",
|
|
17378
|
+
l("div", n1, [
|
|
17376
17379
|
l("button", {
|
|
17377
17380
|
class: m(["px-3 py-2 text-sm font-medium rounded transition-colors", r.viewMode === "year" ? "bg-blue-100 text-blue-700" : "text-gray-700 hover:bg-gray-100"]),
|
|
17378
17381
|
onClick: a[3] || (a[3] = (u) => r.viewMode = "year")
|
|
@@ -17391,25 +17394,25 @@ function gx(e, a, t, n, r, o) {
|
|
|
17391
17394
|
}, " Day ", 2)
|
|
17392
17395
|
])
|
|
17393
17396
|
]),
|
|
17394
|
-
l("div",
|
|
17395
|
-
r.viewMode === "year" ? (s(), i("div",
|
|
17396
|
-
l("div",
|
|
17397
|
+
l("div", s1, [
|
|
17398
|
+
r.viewMode === "year" ? (s(), i("div", r1, [
|
|
17399
|
+
l("div", l1, [
|
|
17397
17400
|
(s(!0), i(H, null, X(o.yearViewMonths, (u) => (s(), i("div", {
|
|
17398
17401
|
key: u.index,
|
|
17399
17402
|
class: "bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow cursor-pointer",
|
|
17400
17403
|
onClick: (d) => o.selectMonthFromYear(u.index)
|
|
17401
17404
|
}, [
|
|
17402
|
-
l("div",
|
|
17403
|
-
l("h3",
|
|
17405
|
+
l("div", i1, [
|
|
17406
|
+
l("h3", u1, w(u.name), 1)
|
|
17404
17407
|
]),
|
|
17405
|
-
l("div",
|
|
17406
|
-
l("div",
|
|
17408
|
+
l("div", d1, [
|
|
17409
|
+
l("div", c1, [
|
|
17407
17410
|
(s(!0), i(H, null, X(r.weekDaysShort, (d) => (s(), i("div", {
|
|
17408
17411
|
key: d,
|
|
17409
17412
|
class: "text-center text-[10px] font-bold text-gray-600"
|
|
17410
17413
|
}, w(d), 1))), 128))
|
|
17411
17414
|
]),
|
|
17412
|
-
l("div",
|
|
17415
|
+
l("div", f1, [
|
|
17413
17416
|
(s(!0), i(H, null, X(u.days, (d, c) => (s(), i("div", {
|
|
17414
17417
|
key: c,
|
|
17415
17418
|
class: m(["aspect-square flex items-center justify-center text-xs rounded-md relative transition-all hover:scale-110", [
|
|
@@ -17431,17 +17434,17 @@ function gx(e, a, t, n, r, o) {
|
|
|
17431
17434
|
], 2))), 128))
|
|
17432
17435
|
])
|
|
17433
17436
|
])
|
|
17434
|
-
], 8,
|
|
17437
|
+
], 8, o1))), 128))
|
|
17435
17438
|
])
|
|
17436
17439
|
])) : v("", !0),
|
|
17437
|
-
r.viewMode === "month" ? (s(), i("div",
|
|
17438
|
-
l("div",
|
|
17440
|
+
r.viewMode === "month" ? (s(), i("div", m1, [
|
|
17441
|
+
l("div", g1, [
|
|
17439
17442
|
(s(!0), i(H, null, X(r.weekDays, (u) => (s(), i("div", {
|
|
17440
17443
|
key: u,
|
|
17441
17444
|
class: "text-center text-xs font-semibold text-gray-600 py-3 uppercase tracking-wider"
|
|
17442
17445
|
}, w(u), 1))), 128))
|
|
17443
17446
|
]),
|
|
17444
|
-
l("div",
|
|
17447
|
+
l("div", v1, [
|
|
17445
17448
|
(s(!0), i(H, null, X(o.calendarDays, (u, d) => (s(), i("div", {
|
|
17446
17449
|
key: d,
|
|
17447
17450
|
class: m(["border-r border-b border-gray-200 p-1 min-h-[120px] relative cursor-pointer hover:bg-gray-50 transition-colors", [
|
|
@@ -17451,7 +17454,7 @@ function gx(e, a, t, n, r, o) {
|
|
|
17451
17454
|
]]),
|
|
17452
17455
|
onClick: (c) => o.selectDay(u)
|
|
17453
17456
|
}, [
|
|
17454
|
-
l("div",
|
|
17457
|
+
l("div", b1, [
|
|
17455
17458
|
l("span", {
|
|
17456
17459
|
class: m(["text-sm font-medium", [
|
|
17457
17460
|
u.isCurrentMonth ? "text-gray-900" : "text-gray-400",
|
|
@@ -17459,24 +17462,24 @@ function gx(e, a, t, n, r, o) {
|
|
|
17459
17462
|
]])
|
|
17460
17463
|
}, w(u.dayNumber), 3)
|
|
17461
17464
|
]),
|
|
17462
|
-
l("div",
|
|
17465
|
+
l("div", p1, [
|
|
17463
17466
|
(s(!0), i(H, null, X(u.events.slice(0, 3), (c, x) => (s(), i("div", {
|
|
17464
17467
|
key: x,
|
|
17465
17468
|
class: m(["text-xs px-2 py-1 rounded cursor-pointer truncate border-l-2 text-white font-medium hover:opacity-90 transition-opacity", o.getEventColorClass(c.color)]),
|
|
17466
17469
|
onClick: $e((C) => o.selectEvent(c, u), ["stop"])
|
|
17467
|
-
}, w(c.title), 11,
|
|
17468
|
-
u.events.length > 3 ? (s(), i("div",
|
|
17470
|
+
}, w(c.title), 11, y1))), 128)),
|
|
17471
|
+
u.events.length > 3 ? (s(), i("div", x1, " +" + w(u.events.length - 3) + " more ", 1)) : v("", !0)
|
|
17469
17472
|
])
|
|
17470
|
-
], 10,
|
|
17473
|
+
], 10, h1))), 128))
|
|
17471
17474
|
])
|
|
17472
|
-
])) : r.viewMode === "week" ? (s(), i("div",
|
|
17473
|
-
l("div",
|
|
17475
|
+
])) : r.viewMode === "week" ? (s(), i("div", w1, [
|
|
17476
|
+
l("div", k1, [
|
|
17474
17477
|
a[10] || (a[10] = l("div", { class: "border-r border-gray-200 p-2" }, null, -1)),
|
|
17475
17478
|
(s(!0), i(H, null, X(o.weekViewDays, (u) => (s(), i("div", {
|
|
17476
17479
|
key: u.date,
|
|
17477
17480
|
class: m(["text-center p-2 border-r border-gray-200", u.isToday ? "bg-blue-50" : ""])
|
|
17478
17481
|
}, [
|
|
17479
|
-
l("div",
|
|
17482
|
+
l("div", $1, w(u.dayName), 1),
|
|
17480
17483
|
l("div", {
|
|
17481
17484
|
class: m(["text-lg font-bold mt-1", [
|
|
17482
17485
|
u.isToday ? "bg-blue-600 text-white w-8 h-8 flex items-center justify-center rounded-full mx-auto" : "text-gray-900"
|
|
@@ -17484,7 +17487,7 @@ function gx(e, a, t, n, r, o) {
|
|
|
17484
17487
|
}, w(u.dayNumber), 3)
|
|
17485
17488
|
], 2))), 128))
|
|
17486
17489
|
]),
|
|
17487
|
-
l("div",
|
|
17490
|
+
l("div", C1, [
|
|
17488
17491
|
a[11] || (a[11] = l("div", { class: "border-r border-gray-200 px-2 py-1 text-xs text-gray-600 text-right flex items-center justify-end" }, " All Day ", -1)),
|
|
17489
17492
|
(s(!0), i(H, null, X(o.weekViewDays, (u) => (s(), i("div", {
|
|
17490
17493
|
key: "allday-" + u.date,
|
|
@@ -17495,13 +17498,13 @@ function gx(e, a, t, n, r, o) {
|
|
|
17495
17498
|
class: m(["rounded border-l-2 p-1 text-xs font-medium text-white cursor-pointer hover:opacity-90 transition-opacity", o.getEventColorClass(d.color)]),
|
|
17496
17499
|
onClick: (c) => o.selectEvent(d, u)
|
|
17497
17500
|
}, [
|
|
17498
|
-
l("div",
|
|
17499
|
-
], 10,
|
|
17501
|
+
l("div", z1, w(d.title), 1)
|
|
17502
|
+
], 10, S1))), 128))
|
|
17500
17503
|
], 2))), 128))
|
|
17501
17504
|
]),
|
|
17502
|
-
l("div",
|
|
17503
|
-
l("div",
|
|
17504
|
-
l("div",
|
|
17505
|
+
l("div", A1, [
|
|
17506
|
+
l("div", D1, [
|
|
17507
|
+
l("div", M1, [
|
|
17505
17508
|
(s(!0), i(H, null, X(r.timeSlots, (u) => (s(), i("div", {
|
|
17506
17509
|
key: u.time,
|
|
17507
17510
|
class: "h-16 border-b border-gray-200 px-2 py-1 text-xs text-gray-600 text-right"
|
|
@@ -17520,17 +17523,17 @@ function gx(e, a, t, n, r, o) {
|
|
|
17520
17523
|
class: m(["absolute inset-x-1 top-1 bottom-1 rounded border-l-2 p-1 text-xs font-medium text-white cursor-pointer hover:opacity-90 transition-opacity overflow-hidden", o.getEventColorClass(c.color)]),
|
|
17521
17524
|
onClick: (x) => o.selectEvent(c, u)
|
|
17522
17525
|
}, [
|
|
17523
|
-
l("div",
|
|
17524
|
-
l("div",
|
|
17525
|
-
], 10,
|
|
17526
|
+
l("div", F1, w(c.title), 1),
|
|
17527
|
+
l("div", T1, w(c.time), 1)
|
|
17528
|
+
], 10, V1))), 128))
|
|
17526
17529
|
], 2))), 128))
|
|
17527
17530
|
]))), 128))
|
|
17528
17531
|
])
|
|
17529
17532
|
])
|
|
17530
|
-
])) : r.viewMode === "day" ? (s(), i("div",
|
|
17531
|
-
l("div",
|
|
17532
|
-
l("div",
|
|
17533
|
-
l("div",
|
|
17533
|
+
])) : r.viewMode === "day" ? (s(), i("div", B1, [
|
|
17534
|
+
l("div", j1, [
|
|
17535
|
+
l("div", P1, [
|
|
17536
|
+
l("div", O1, w(o.dayViewDate.dayName), 1),
|
|
17534
17537
|
l("div", {
|
|
17535
17538
|
class: m(["text-3xl font-bold mt-2", [
|
|
17536
17539
|
o.dayViewDate.isToday ? "text-blue-600" : "text-gray-900"
|
|
@@ -17538,28 +17541,28 @@ function gx(e, a, t, n, r, o) {
|
|
|
17538
17541
|
}, w(o.dayViewDate.dayNumber), 3)
|
|
17539
17542
|
])
|
|
17540
17543
|
]),
|
|
17541
|
-
o.getAllDayEvents(o.dayViewDate.events).length > 0 ? (s(), i("div",
|
|
17544
|
+
o.getAllDayEvents(o.dayViewDate.events).length > 0 ? (s(), i("div", _1, [
|
|
17542
17545
|
a[12] || (a[12] = l("h4", { class: "text-xs font-semibold text-gray-600 uppercase tracking-wide mb-2" }, " All Day Events ", -1)),
|
|
17543
|
-
l("div",
|
|
17546
|
+
l("div", L1, [
|
|
17544
17547
|
(s(!0), i(H, null, X(o.getAllDayEvents(o.dayViewDate.events), (u) => (s(), i("div", {
|
|
17545
17548
|
key: u.id,
|
|
17546
17549
|
class: m(["rounded border-l-4 p-3 text-sm font-medium text-white cursor-pointer hover:opacity-90 transition-opacity shadow-sm", o.getEventColorClass(u.color)]),
|
|
17547
17550
|
onClick: (d) => o.selectEvent(u, o.dayViewDate)
|
|
17548
17551
|
}, [
|
|
17549
|
-
l("div",
|
|
17550
|
-
u.description ? (s(), i("div",
|
|
17551
|
-
], 10,
|
|
17552
|
+
l("div", I1, w(u.title), 1),
|
|
17553
|
+
u.description ? (s(), i("div", N1, w(u.description), 1)) : v("", !0)
|
|
17554
|
+
], 10, E1))), 128))
|
|
17552
17555
|
])
|
|
17553
17556
|
])) : v("", !0),
|
|
17554
|
-
l("div",
|
|
17555
|
-
l("div",
|
|
17556
|
-
l("div",
|
|
17557
|
+
l("div", R1, [
|
|
17558
|
+
l("div", U1, [
|
|
17559
|
+
l("div", q1, [
|
|
17557
17560
|
(s(!0), i(H, null, X(r.timeSlots, (u) => (s(), i("div", {
|
|
17558
17561
|
key: u.time,
|
|
17559
17562
|
class: "h-16 border-b border-gray-200 px-2 py-1 text-xs text-gray-600 text-right"
|
|
17560
17563
|
}, w(u.display), 1))), 128))
|
|
17561
17564
|
]),
|
|
17562
|
-
l("div",
|
|
17565
|
+
l("div", Y1, [
|
|
17563
17566
|
(s(!0), i(H, null, X(r.timeSlots, (u) => (s(), i("div", {
|
|
17564
17567
|
key: u.time,
|
|
17565
17568
|
class: m(["h-16 border-b border-gray-200 hover:bg-gray-50 transition-colors cursor-pointer relative", o.dayViewDate.isToday ? "bg-blue-50 bg-opacity-30" : ""])
|
|
@@ -17569,10 +17572,10 @@ function gx(e, a, t, n, r, o) {
|
|
|
17569
17572
|
class: m(["absolute inset-x-2 top-1 bottom-1 rounded border-l-4 p-2 text-sm font-medium text-white cursor-pointer hover:opacity-90 transition-opacity shadow-sm", o.getEventColorClass(d.color)]),
|
|
17570
17573
|
onClick: (c) => o.selectEvent(d, o.dayViewDate)
|
|
17571
17574
|
}, [
|
|
17572
|
-
l("div",
|
|
17573
|
-
l("div",
|
|
17574
|
-
d.description ? (s(), i("div",
|
|
17575
|
-
], 10,
|
|
17575
|
+
l("div", W1, w(d.title), 1),
|
|
17576
|
+
l("div", G1, w(d.time), 1),
|
|
17577
|
+
d.description ? (s(), i("div", K1, w(d.description), 1)) : v("", !0)
|
|
17578
|
+
], 10, H1))), 128))
|
|
17576
17579
|
], 2))), 128))
|
|
17577
17580
|
])
|
|
17578
17581
|
])
|
|
@@ -17591,8 +17594,8 @@ function gx(e, a, t, n, r, o) {
|
|
|
17591
17594
|
"leave-to-class": "opacity-0 translate-x-4"
|
|
17592
17595
|
}, {
|
|
17593
17596
|
default: J(() => [
|
|
17594
|
-
r.selectedEvent ? (s(), i("div",
|
|
17595
|
-
l("div",
|
|
17597
|
+
r.selectedEvent ? (s(), i("div", X1, [
|
|
17598
|
+
l("div", J1, [
|
|
17596
17599
|
a[14] || (a[14] = l("h3", { class: "text-lg font-semibold text-gray-900" }, " Event Details ", -1)),
|
|
17597
17600
|
l("button", {
|
|
17598
17601
|
class: "text-gray-400 hover:text-gray-600 transition-colors",
|
|
@@ -17613,24 +17616,24 @@ function gx(e, a, t, n, r, o) {
|
|
|
17613
17616
|
], -1)
|
|
17614
17617
|
])])
|
|
17615
17618
|
]),
|
|
17616
|
-
l("div",
|
|
17619
|
+
l("div", Q1, [
|
|
17617
17620
|
l("div", {
|
|
17618
17621
|
class: m(["h-1 w-full rounded-full", o.getEventColorClass(r.selectedEvent.color)])
|
|
17619
17622
|
}, null, 2),
|
|
17620
17623
|
l("div", null, [
|
|
17621
|
-
l("h4",
|
|
17624
|
+
l("h4", Z1, w(r.selectedEvent.title), 1)
|
|
17622
17625
|
]),
|
|
17623
|
-
r.selectedEvent.status ? (s(), i("div",
|
|
17626
|
+
r.selectedEvent.status ? (s(), i("div", ex, [
|
|
17624
17627
|
l("span", {
|
|
17625
17628
|
class: m(["inline-flex items-center px-3 py-1.5 rounded-full text-sm font-medium", r.selectedEvent.status === "complied" ? "bg-green-100 text-green-800 border border-green-200" : "bg-orange-100 text-orange-800 border border-orange-200"])
|
|
17626
17629
|
}, [
|
|
17627
|
-
r.selectedEvent.status === "complied" ? (s(), i("svg",
|
|
17630
|
+
r.selectedEvent.status === "complied" ? (s(), i("svg", tx, [...a[15] || (a[15] = [
|
|
17628
17631
|
l("path", {
|
|
17629
17632
|
"fill-rule": "evenodd",
|
|
17630
17633
|
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
|
|
17631
17634
|
"clip-rule": "evenodd"
|
|
17632
17635
|
}, null, -1)
|
|
17633
|
-
])])) : (s(), i("svg",
|
|
17636
|
+
])])) : (s(), i("svg", ax, [...a[16] || (a[16] = [
|
|
17634
17637
|
l("path", {
|
|
17635
17638
|
"fill-rule": "evenodd",
|
|
17636
17639
|
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z",
|
|
@@ -17640,8 +17643,8 @@ function gx(e, a, t, n, r, o) {
|
|
|
17640
17643
|
oe(" " + w(r.selectedEvent.status === "complied" ? "Complied" : "Pending"), 1)
|
|
17641
17644
|
], 2)
|
|
17642
17645
|
])) : v("", !0),
|
|
17643
|
-
l("div",
|
|
17644
|
-
l("div",
|
|
17646
|
+
l("div", nx, [
|
|
17647
|
+
l("div", sx, [
|
|
17645
17648
|
a[17] || (a[17] = l("svg", {
|
|
17646
17649
|
class: "w-5 h-5 text-gray-400 mt-0.5",
|
|
17647
17650
|
fill: "none",
|
|
@@ -17656,10 +17659,10 @@ function gx(e, a, t, n, r, o) {
|
|
|
17656
17659
|
})
|
|
17657
17660
|
], -1)),
|
|
17658
17661
|
l("div", null, [
|
|
17659
|
-
l("p",
|
|
17662
|
+
l("p", rx, w(o.formatEventDate(r.selectedEvent.date, "full")), 1)
|
|
17660
17663
|
])
|
|
17661
17664
|
]),
|
|
17662
|
-
l("div",
|
|
17665
|
+
l("div", lx, [
|
|
17663
17666
|
a[18] || (a[18] = l("svg", {
|
|
17664
17667
|
class: "w-5 h-5 text-gray-400 mt-0.5",
|
|
17665
17668
|
fill: "none",
|
|
@@ -17673,22 +17676,22 @@ function gx(e, a, t, n, r, o) {
|
|
|
17673
17676
|
d: "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
|
|
17674
17677
|
})
|
|
17675
17678
|
], -1)),
|
|
17676
|
-
l("p",
|
|
17679
|
+
l("p", ox, w(r.selectedEvent.time), 1)
|
|
17677
17680
|
])
|
|
17678
17681
|
]),
|
|
17679
|
-
r.selectedEvent.description ? (s(), i("div",
|
|
17682
|
+
r.selectedEvent.description ? (s(), i("div", ix, [
|
|
17680
17683
|
a[19] || (a[19] = l("h5", { class: "text-sm font-semibold text-gray-900 mb-2" }, " Description ", -1)),
|
|
17681
|
-
l("p",
|
|
17684
|
+
l("p", ux, w(r.selectedEvent.description), 1)
|
|
17682
17685
|
])) : v("", !0),
|
|
17683
|
-
r.selectedEvent.compliance ? (s(), i("div",
|
|
17686
|
+
r.selectedEvent.compliance ? (s(), i("div", dx, [
|
|
17684
17687
|
a[22] || (a[22] = l("h5", { class: "text-sm font-semibold text-gray-900 mb-2" }, " Compliance Details ", -1)),
|
|
17685
|
-
r.selectedEvent.compliance.remarks ? (s(), i("div",
|
|
17688
|
+
r.selectedEvent.compliance.remarks ? (s(), i("div", cx, [
|
|
17686
17689
|
a[20] || (a[20] = l("span", { class: "font-medium text-gray-700" }, "Remarks:", -1)),
|
|
17687
|
-
l("p",
|
|
17690
|
+
l("p", fx, w(r.selectedEvent.compliance.remarks), 1)
|
|
17688
17691
|
])) : v("", !0),
|
|
17689
|
-
r.selectedEvent.compliance.compliance_documents?.length ? (s(), i("div",
|
|
17692
|
+
r.selectedEvent.compliance.compliance_documents?.length ? (s(), i("div", mx, [
|
|
17690
17693
|
a[21] || (a[21] = l("span", { class: "font-medium text-gray-700" }, "Documents:", -1)),
|
|
17691
|
-
l("p",
|
|
17694
|
+
l("p", gx, w(r.selectedEvent.compliance.compliance_documents.length) + " document(s) attached ", 1)
|
|
17692
17695
|
])) : v("", !0)
|
|
17693
17696
|
])) : v("", !0)
|
|
17694
17697
|
])
|
|
@@ -17699,7 +17702,7 @@ function gx(e, a, t, n, r, o) {
|
|
|
17699
17702
|
], !0)
|
|
17700
17703
|
]);
|
|
17701
17704
|
}
|
|
17702
|
-
const
|
|
17705
|
+
const hx = /* @__PURE__ */ Vt(Xy, [["render", vx], ["__scopeId", "data-v-6e1ab614"]]), bx = { class: "w-full h-full relative" }, px = ["width", "height", "viewBox"], yx = { key: 0 }, xx = ["x1", "y1", "x2", "y2", "stroke"], wx = ["id"], kx = ["stop-color"], $x = ["stop-color"], Cx = ["x", "y", "width", "height", "fill", "onMouseenter", "onClick"], Sx = ["to", "begin"], zx = ["from", "to", "begin"], Ax = { key: 1 }, Dx = ["x", "y"], Mx = { key: 2 }, Vx = ["x", "y"], Fx = { key: 3 }, Tx = ["x", "y"], Bx = { key: 4 }, jx = ["x", "y"], Px = ["x1", "y1", "x2", "y2"], Ox = ["x1", "y1", "x2", "y2"], _x = { class: "bg-slate-900 text-white px-4 py-3 rounded-lg shadow-2xl border border-slate-700 min-w-[180px]" }, Lx = { class: "flex items-center gap-2 mb-2" }, Ex = { class: "font-semibold text-sm" }, Ix = { class: "ml-5" }, Nx = { class: "text-xs text-slate-300 mb-1" }, Rx = { class: "text-2xl font-bold" }, Ux = {
|
|
17703
17706
|
__name: "StackedBarChart",
|
|
17704
17707
|
props: {
|
|
17705
17708
|
data: {
|
|
@@ -17814,14 +17817,14 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
17814
17817
|
const re = t.data[F], ne = t.groupKeys[R], E = re[ne] || 0, Y = t.labels[F] || `Item ${F + 1}`;
|
|
17815
17818
|
n("bar-click", { dataIndex: F, barIndex: R, key: ne, value: E, label: Y });
|
|
17816
17819
|
};
|
|
17817
|
-
return (F, R) => (s(), i("div",
|
|
17820
|
+
return (F, R) => (s(), i("div", bx, [
|
|
17818
17821
|
(s(), i("svg", {
|
|
17819
17822
|
width: e.width,
|
|
17820
17823
|
height: e.height,
|
|
17821
17824
|
viewBox: `0 0 ${e.width} ${e.height}`,
|
|
17822
17825
|
class: "overflow-visible"
|
|
17823
17826
|
}, [
|
|
17824
|
-
e.showGrid ? (s(), i("g",
|
|
17827
|
+
e.showGrid ? (s(), i("g", yx, [
|
|
17825
17828
|
(s(!0), i(H, null, X(A.value, (re) => (s(), i("line", {
|
|
17826
17829
|
key: `grid-${re}`,
|
|
17827
17830
|
x1: e.padding.left,
|
|
@@ -17832,7 +17835,7 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
17832
17835
|
"stroke-width": "1",
|
|
17833
17836
|
"stroke-dasharray": "4,4",
|
|
17834
17837
|
opacity: "0.3"
|
|
17835
|
-
}, null, 8,
|
|
17838
|
+
}, null, 8, xx))), 128))
|
|
17836
17839
|
])) : v("", !0),
|
|
17837
17840
|
l("defs", null, [
|
|
17838
17841
|
(s(!0), i(H, null, X(e.groupKeys, (re, ne) => (s(), i("linearGradient", {
|
|
@@ -17847,13 +17850,13 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
17847
17850
|
offset: "0%",
|
|
17848
17851
|
"stop-color": S(ne),
|
|
17849
17852
|
"stop-opacity": "0.95"
|
|
17850
|
-
}, null, 8,
|
|
17853
|
+
}, null, 8, kx),
|
|
17851
17854
|
l("stop", {
|
|
17852
17855
|
offset: "100%",
|
|
17853
17856
|
"stop-color": S(ne),
|
|
17854
17857
|
"stop-opacity": "0.85"
|
|
17855
|
-
}, null, 8,
|
|
17856
|
-
], 8,
|
|
17858
|
+
}, null, 8, $x)
|
|
17859
|
+
], 8, wx))), 128))
|
|
17857
17860
|
]),
|
|
17858
17861
|
l("g", null, [
|
|
17859
17862
|
(s(!0), i(H, null, X(e.data, (re, ne) => (s(), i("g", {
|
|
@@ -17879,7 +17882,7 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
17879
17882
|
dur: "0.6s",
|
|
17880
17883
|
begin: `${Y * 0.1}s`,
|
|
17881
17884
|
fill: "freeze"
|
|
17882
|
-
}, null, 8,
|
|
17885
|
+
}, null, 8, Sx),
|
|
17883
17886
|
l("animate", {
|
|
17884
17887
|
attributeName: "y",
|
|
17885
17888
|
from: e.padding.top + o.value,
|
|
@@ -17887,44 +17890,44 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
17887
17890
|
dur: "0.6s",
|
|
17888
17891
|
begin: `${Y * 0.1}s`,
|
|
17889
17892
|
fill: "freeze"
|
|
17890
|
-
}, null, 8,
|
|
17891
|
-
], 42,
|
|
17893
|
+
}, null, 8, zx)
|
|
17894
|
+
], 42, Cx))), 128))
|
|
17892
17895
|
]))), 128))
|
|
17893
17896
|
]),
|
|
17894
|
-
e.showXAxis ? (s(), i("g",
|
|
17897
|
+
e.showXAxis ? (s(), i("g", Ax, [
|
|
17895
17898
|
(s(!0), i(H, null, X(e.labels, (re, ne) => (s(), i("text", {
|
|
17896
17899
|
key: `xlabel-${ne}`,
|
|
17897
17900
|
x: _(ne) + d.value / 2,
|
|
17898
17901
|
y: e.height - e.padding.bottom + 20,
|
|
17899
17902
|
class: m(e.axisLabelClasses),
|
|
17900
17903
|
"text-anchor": "middle"
|
|
17901
|
-
}, w(re), 11,
|
|
17904
|
+
}, w(re), 11, Dx))), 128))
|
|
17902
17905
|
])) : v("", !0),
|
|
17903
|
-
e.xAxisLabel ? (s(), i("g",
|
|
17906
|
+
e.xAxisLabel ? (s(), i("g", Mx, [
|
|
17904
17907
|
l("text", {
|
|
17905
17908
|
x: e.padding.left + u.value / 2,
|
|
17906
17909
|
y: e.height - 10,
|
|
17907
17910
|
class: "fill-slate-700 text-sm font-semibold",
|
|
17908
17911
|
"text-anchor": "middle"
|
|
17909
|
-
}, w(e.xAxisLabel), 9,
|
|
17912
|
+
}, w(e.xAxisLabel), 9, Vx)
|
|
17910
17913
|
])) : v("", !0),
|
|
17911
|
-
e.showYAxis ? (s(), i("g",
|
|
17914
|
+
e.showYAxis ? (s(), i("g", Fx, [
|
|
17912
17915
|
(s(!0), i(H, null, X(A.value, (re) => (s(), i("text", {
|
|
17913
17916
|
key: `ylabel-${re}`,
|
|
17914
17917
|
x: e.padding.left - 10,
|
|
17915
17918
|
y: re + 4,
|
|
17916
17919
|
class: m(e.axisLabelClasses),
|
|
17917
17920
|
"text-anchor": "end"
|
|
17918
|
-
}, w(k(re)), 11,
|
|
17921
|
+
}, w(k(re)), 11, Tx))), 128))
|
|
17919
17922
|
])) : v("", !0),
|
|
17920
|
-
e.yAxisLabel ? (s(), i("g",
|
|
17923
|
+
e.yAxisLabel ? (s(), i("g", Bx, [
|
|
17921
17924
|
l("text", {
|
|
17922
17925
|
x: -(e.padding.top + o.value / 2),
|
|
17923
17926
|
y: e.padding.left - 40,
|
|
17924
17927
|
class: "fill-slate-700 text-sm font-semibold",
|
|
17925
17928
|
"text-anchor": "middle",
|
|
17926
17929
|
transform: "rotate(-90)"
|
|
17927
|
-
}, w(e.yAxisLabel), 9,
|
|
17930
|
+
}, w(e.yAxisLabel), 9, jx)
|
|
17928
17931
|
])) : v("", !0),
|
|
17929
17932
|
l("line", {
|
|
17930
17933
|
x1: e.padding.left,
|
|
@@ -17933,7 +17936,7 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
17933
17936
|
y2: e.height - e.padding.bottom,
|
|
17934
17937
|
stroke: "#cbd5e1",
|
|
17935
17938
|
"stroke-width": "2"
|
|
17936
|
-
}, null, 8,
|
|
17939
|
+
}, null, 8, Px),
|
|
17937
17940
|
l("line", {
|
|
17938
17941
|
x1: e.padding.left,
|
|
17939
17942
|
y1: e.height - e.padding.bottom,
|
|
@@ -17941,8 +17944,8 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
17941
17944
|
y2: e.height - e.padding.bottom,
|
|
17942
17945
|
stroke: "#cbd5e1",
|
|
17943
17946
|
"stroke-width": "2"
|
|
17944
|
-
}, null, 8,
|
|
17945
|
-
], 8,
|
|
17947
|
+
}, null, 8, Ox)
|
|
17948
|
+
], 8, px)),
|
|
17946
17949
|
r.value.visible ? (s(), i("div", {
|
|
17947
17950
|
key: 0,
|
|
17948
17951
|
style: be({
|
|
@@ -17955,17 +17958,17 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
17955
17958
|
}),
|
|
17956
17959
|
class: "animate-in fade-in duration-200"
|
|
17957
17960
|
}, [
|
|
17958
|
-
l("div",
|
|
17959
|
-
l("div",
|
|
17961
|
+
l("div", _x, [
|
|
17962
|
+
l("div", Lx, [
|
|
17960
17963
|
l("div", {
|
|
17961
17964
|
style: be({ backgroundColor: r.value.color }),
|
|
17962
17965
|
class: "w-3 h-3 rounded shadow-sm"
|
|
17963
17966
|
}, null, 4),
|
|
17964
|
-
l("p",
|
|
17967
|
+
l("p", Ex, w(r.value.label), 1)
|
|
17965
17968
|
]),
|
|
17966
|
-
l("div",
|
|
17967
|
-
l("p",
|
|
17968
|
-
l("span",
|
|
17969
|
+
l("div", Ix, [
|
|
17970
|
+
l("p", Nx, w(r.value.barLabel), 1),
|
|
17971
|
+
l("span", Rx, w(r.value.value) + "%", 1)
|
|
17969
17972
|
]),
|
|
17970
17973
|
R[0] || (R[0] = l("div", { class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 translate-y-1/2 rotate-45 w-2 h-2 bg-slate-900 border-r border-b border-slate-700" }, null, -1))
|
|
17971
17974
|
])
|
|
@@ -18028,13 +18031,13 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
18028
18031
|
TabPanel: Zc,
|
|
18029
18032
|
BarChart: Us,
|
|
18030
18033
|
LineChart: qs,
|
|
18031
|
-
StackedBarChart:
|
|
18034
|
+
StackedBarChart: Ux,
|
|
18032
18035
|
GraphFilters: $m,
|
|
18033
18036
|
Accordion: rf,
|
|
18034
18037
|
AccordionItem: lf,
|
|
18035
18038
|
Graph: $f,
|
|
18036
18039
|
Calendar: bf,
|
|
18037
|
-
EventsCalendar:
|
|
18040
|
+
EventsCalendar: hx,
|
|
18038
18041
|
DataTable: p0,
|
|
18039
18042
|
DataTableHeader: Ys,
|
|
18040
18043
|
DataTableRow: y0,
|
|
@@ -18044,16 +18047,16 @@ const vx = /* @__PURE__ */ Vt(Ky, [["render", gx], ["__scopeId", "data-v-6e1ab61
|
|
|
18044
18047
|
DataTableToolBar: Dg,
|
|
18045
18048
|
Footer: Og,
|
|
18046
18049
|
Header: nh,
|
|
18047
|
-
ReusableFormModal:
|
|
18048
|
-
ReusableForm:
|
|
18049
|
-
Sidebar:
|
|
18050
|
-
Timeline:
|
|
18051
|
-
TimelineItem:
|
|
18052
|
-
AuthLayout:
|
|
18053
|
-
DefaultLayout:
|
|
18054
|
-
ErrorLayout:
|
|
18055
|
-
DashboardWidget:
|
|
18056
|
-
},
|
|
18050
|
+
ReusableFormModal: Fh,
|
|
18051
|
+
ReusableForm: kb,
|
|
18052
|
+
Sidebar: Jb,
|
|
18053
|
+
Timeline: Qb,
|
|
18054
|
+
TimelineItem: sp,
|
|
18055
|
+
AuthLayout: Bp,
|
|
18056
|
+
DefaultLayout: Ep,
|
|
18057
|
+
ErrorLayout: ly,
|
|
18058
|
+
DashboardWidget: Hy
|
|
18059
|
+
}, Wx = {
|
|
18057
18060
|
install(e, a = {}) {
|
|
18058
18061
|
const { prefix: t = "" } = a;
|
|
18059
18062
|
Object.keys(Fn).forEach((n) => {
|
|
@@ -18066,7 +18069,7 @@ export {
|
|
|
18066
18069
|
rf as Accordion,
|
|
18067
18070
|
lf as AccordionItem,
|
|
18068
18071
|
Fu as Alert,
|
|
18069
|
-
|
|
18072
|
+
Bp as AuthLayout,
|
|
18070
18073
|
Si as Avatar,
|
|
18071
18074
|
Ls as Badge,
|
|
18072
18075
|
Us as BarChart,
|
|
@@ -18082,7 +18085,7 @@ export {
|
|
|
18082
18085
|
td as CardTitle,
|
|
18083
18086
|
Ut as Checkbox,
|
|
18084
18087
|
Is as CircularProgress,
|
|
18085
|
-
|
|
18088
|
+
Hy as DashboardWidget,
|
|
18086
18089
|
p0 as DataTable,
|
|
18087
18090
|
x0 as DataTableCell,
|
|
18088
18091
|
fg as DataTableFilters,
|
|
@@ -18091,12 +18094,12 @@ export {
|
|
|
18091
18094
|
y0 as DataTableRow,
|
|
18092
18095
|
Dg as DataTableToolBar,
|
|
18093
18096
|
Xt as DatePicker,
|
|
18094
|
-
|
|
18097
|
+
Ep as DefaultLayout,
|
|
18095
18098
|
Pi as Divider,
|
|
18096
18099
|
fd as Dropdown,
|
|
18097
18100
|
gd as DropdownItem,
|
|
18098
|
-
|
|
18099
|
-
|
|
18101
|
+
ly as ErrorLayout,
|
|
18102
|
+
hx as EventsCalendar,
|
|
18100
18103
|
qt as FileUpload,
|
|
18101
18104
|
Og as Footer,
|
|
18102
18105
|
qa as FormField,
|
|
@@ -18123,14 +18126,14 @@ export {
|
|
|
18123
18126
|
Ji as Progress,
|
|
18124
18127
|
Zi as ProgressBar,
|
|
18125
18128
|
lu as Radio,
|
|
18126
|
-
|
|
18127
|
-
|
|
18129
|
+
kb as ReusableForm,
|
|
18130
|
+
Fh as ReusableFormModal,
|
|
18128
18131
|
Pc as Search,
|
|
18129
18132
|
Ye as Select,
|
|
18130
|
-
|
|
18133
|
+
Jb as Sidebar,
|
|
18131
18134
|
Ha as Slider,
|
|
18132
18135
|
Ra as Spinner,
|
|
18133
|
-
|
|
18136
|
+
Ux as StackedBarChart,
|
|
18134
18137
|
Ic as Stepper,
|
|
18135
18138
|
Yc as StepperItem,
|
|
18136
18139
|
wu as Switch,
|
|
@@ -18138,13 +18141,13 @@ export {
|
|
|
18138
18141
|
Zc as TabPanel,
|
|
18139
18142
|
ku as Text,
|
|
18140
18143
|
Ua as Textarea,
|
|
18141
|
-
|
|
18142
|
-
|
|
18144
|
+
Qb as Timeline,
|
|
18145
|
+
sp as TimelineItem,
|
|
18143
18146
|
xc as Toast,
|
|
18144
18147
|
Ns as Tooltip,
|
|
18145
18148
|
za as Typography,
|
|
18146
18149
|
O as cn,
|
|
18147
|
-
|
|
18150
|
+
Wx as default,
|
|
18148
18151
|
De as toast,
|
|
18149
18152
|
An as tooltip,
|
|
18150
18153
|
fc as useToaster
|