golden-logic-ui 1.0.132 → 1.0.134
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/golden-logic-ui.js +339 -338
- package/dist/golden-logic-ui.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1121,7 +1121,7 @@ function kr(e, r, s, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const sc = /* @__PURE__ */ O(Zt, [["render", kr]]), $r = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...zt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1213,7 +1213,7 @@ function jr(e, r, s, n, o, a) {
|
|
|
1213
1213
|
}, Ar, 2)
|
|
1214
1214
|
], 2)) : g("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const ac = /* @__PURE__ */ O($r, [["render", jr]]), Er = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1272,10 +1272,10 @@ function Mr(e, r, s, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const nc = /* @__PURE__ */ O(Er, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Vr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Br = { class: "font-semibold text-black dark:text-white" }, Gr = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
|
-
},
|
|
1278
|
+
}, oc = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1322,7 +1322,7 @@ const ac = /* @__PURE__ */ O(Er, [["render", Mr]]), Nr = { class: "bg-white bord
|
|
|
1322
1322
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
1323
1323
|
})
|
|
1324
1324
|
])
|
|
1325
|
-
], -1), ts = ["id"], rs = { class: "overflow-y-auto max-h-64" }, ss = ["onClick", "onMousedown", "id"],
|
|
1325
|
+
], -1), ts = ["id"], rs = { class: "overflow-y-auto max-h-64" }, ss = ["onClick", "onMousedown", "id"], lc = {
|
|
1326
1326
|
__name: "GlMultiSelectDropdown",
|
|
1327
1327
|
props: {
|
|
1328
1328
|
modelValue: {
|
|
@@ -1707,7 +1707,7 @@ function os(e, r, s, n, o, a) {
|
|
|
1707
1707
|
_: 3
|
|
1708
1708
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1709
1709
|
}
|
|
1710
|
-
const
|
|
1710
|
+
const ic = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold ptext-lg dark:text-white" }, is = ["name", "id"], ds = ["id"], us = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), cs = ["for"], gs = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), fs = ["name", "id"], hs = ["required", "name", "id", "type"], ms = { class: "gl-span-form-error" }, bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, dc = {
|
|
1711
1711
|
__name: "GlTextareaTranslate",
|
|
1712
1712
|
props: {
|
|
1713
1713
|
is_required: {
|
|
@@ -1843,7 +1843,7 @@ const lc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
1843
1843
|
], 2))
|
|
1844
1844
|
], 64));
|
|
1845
1845
|
}
|
|
1846
|
-
}, ps = { class: "font-bold ptext-lg dark:text-white" }, ys = ["name", "id"], _s = ["id"], vs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), xs = ["for"], ws = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), ks = ["name", "id"], $s = ["name", "id", "type"], Cs = { class: "gl-span-form-error" }, Ss = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1846
|
+
}, ps = { class: "font-bold ptext-lg dark:text-white" }, ys = ["name", "id"], _s = ["id"], vs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), xs = ["for"], ws = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), ks = ["name", "id"], $s = ["name", "id", "type"], Cs = { class: "gl-span-form-error" }, Ss = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, uc = {
|
|
1847
1847
|
__name: "GlTinymceTranslate",
|
|
1848
1848
|
props: {
|
|
1849
1849
|
is_required: {
|
|
@@ -1982,7 +1982,7 @@ const lc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
1982
1982
|
], 2))
|
|
1983
1983
|
], 64));
|
|
1984
1984
|
}
|
|
1985
|
-
}, Ds = { class: "font-bold ptext-lg dark:text-white" }, Os = ["name", "id"], Ps = ["id"], As = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), js = ["for"], Es = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ls = ["name", "id"], Ts = ["required", "name", "id", "type"], Is = { class: "gl-span-form-error" }, Ms = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1985
|
+
}, Ds = { class: "font-bold ptext-lg dark:text-white" }, Os = ["name", "id"], Ps = ["id"], As = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), js = ["for"], Es = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ls = ["name", "id"], Ts = ["required", "name", "id", "type"], Is = { class: "gl-span-form-error" }, Ms = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, cc = {
|
|
1986
1986
|
__name: "GlTextTranslate",
|
|
1987
1987
|
props: {
|
|
1988
1988
|
is_required: {
|
|
@@ -2115,7 +2115,7 @@ const lc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
2115
2115
|
], 2))
|
|
2116
2116
|
], 64));
|
|
2117
2117
|
}
|
|
2118
|
-
}, Ns = { class: "font-bold ptext-lg dark:text-white" }, Vs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Bs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Gs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], Fs = { class: "gl-span-form-error" }, Rs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2118
|
+
}, Ns = { class: "font-bold ptext-lg dark:text-white" }, Vs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Bs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Gs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], Fs = { class: "gl-span-form-error" }, Rs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, gc = {
|
|
2119
2119
|
__name: "GlTextInput",
|
|
2120
2120
|
props: {
|
|
2121
2121
|
is_required: {
|
|
@@ -2256,7 +2256,7 @@ function Js(e, r, s, n, o, a) {
|
|
|
2256
2256
|
])
|
|
2257
2257
|
], 64);
|
|
2258
2258
|
}
|
|
2259
|
-
const
|
|
2259
|
+
const fc = /* @__PURE__ */ O(qs, [["render", Js]]), Qs = {
|
|
2260
2260
|
props: ["title"],
|
|
2261
2261
|
setup() {
|
|
2262
2262
|
return {
|
|
@@ -2272,7 +2272,7 @@ function ta(e, r, s, n, o, a) {
|
|
|
2272
2272
|
N(e.$slots, "default")
|
|
2273
2273
|
])) : g("", !0);
|
|
2274
2274
|
}
|
|
2275
|
-
const
|
|
2275
|
+
const hc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
2276
2276
|
props: {
|
|
2277
2277
|
elements_to_show_prop: {
|
|
2278
2278
|
type: Number,
|
|
@@ -2673,7 +2673,7 @@ function on(e, r, s, n, o, a) {
|
|
|
2673
2673
|
], 10, sa)
|
|
2674
2674
|
]);
|
|
2675
2675
|
}
|
|
2676
|
-
const
|
|
2676
|
+
const mc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9"]]), ln = {
|
|
2677
2677
|
class: "fixed left-0 top-13 z-[1055] h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80",
|
|
2678
2678
|
tabindex: "-1",
|
|
2679
2679
|
"aria-hidden": "true"
|
|
@@ -2693,7 +2693,7 @@ const hc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2693
2693
|
])
|
|
2694
2694
|
], -1), fn = [
|
|
2695
2695
|
gn
|
|
2696
|
-
], hn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" },
|
|
2696
|
+
], hn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, bc = {
|
|
2697
2697
|
__name: "GlModal",
|
|
2698
2698
|
props: {
|
|
2699
2699
|
is_open: {
|
|
@@ -2764,7 +2764,7 @@ const hc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2764
2764
|
}, mn = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, bn = { class: "relative inline-flex items-center cursor-pointer" }, pn = ["name", "id", "checked"], yn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), _n = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), vn = {
|
|
2765
2765
|
key: 0,
|
|
2766
2766
|
class: "flex justify-between items-center"
|
|
2767
|
-
}, xn = { class: "gl-label-form" }, wn = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, kn = { class: "relative inline-flex items-center cursor-pointer" }, $n = ["name", "id"], Cn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Sn = { class: "gl-span-form-error" }, Dn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2767
|
+
}, xn = { class: "gl-label-form" }, wn = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, kn = { class: "relative inline-flex items-center cursor-pointer" }, $n = ["name", "id"], Cn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Sn = { class: "gl-span-form-error" }, Dn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, pc = {
|
|
2768
2768
|
__name: "GlToggleBox",
|
|
2769
2769
|
props: {
|
|
2770
2770
|
is_required: {
|
|
@@ -2913,7 +2913,7 @@ const hc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2913
2913
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2914
2914
|
}, null, -1), Kn = [
|
|
2915
2915
|
Zn
|
|
2916
|
-
], Wn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Yn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2916
|
+
], Wn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Yn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, yc = {
|
|
2917
2917
|
__name: "GlDropdown",
|
|
2918
2918
|
props: {
|
|
2919
2919
|
modelValue: {
|
|
@@ -3174,7 +3174,7 @@ const hc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3174
3174
|
], 64);
|
|
3175
3175
|
};
|
|
3176
3176
|
}
|
|
3177
|
-
}, Xn = { class: "font-bold ptext-lg dark:text-white" }, Jn = ["id"], Qn = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), eo = ["for"], to = ["required", "name", "id", "type", "placeholder"], ro = { class: "gl-span-form-error" }, so = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3177
|
+
}, Xn = { class: "font-bold ptext-lg dark:text-white" }, Jn = ["id"], Qn = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), eo = ["for"], to = ["required", "name", "id", "type", "placeholder"], ro = { class: "gl-span-form-error" }, so = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, _c = {
|
|
3178
3178
|
__name: "GlTextarea",
|
|
3179
3179
|
props: {
|
|
3180
3180
|
is_required: {
|
|
@@ -3779,7 +3779,7 @@ function qo(e, r, s, n, o, a) {
|
|
|
3779
3779
|
])
|
|
3780
3780
|
]);
|
|
3781
3781
|
}
|
|
3782
|
-
const
|
|
3782
|
+
const vc = /* @__PURE__ */ O(vo, [["render", qo]]), zo = {
|
|
3783
3783
|
components: { TailwindPagination: Qe },
|
|
3784
3784
|
props: {
|
|
3785
3785
|
data: Array,
|
|
@@ -3939,8 +3939,8 @@ const _c = /* @__PURE__ */ O(vo, [["render", qo]]), zo = {
|
|
|
3939
3939
|
/* @__PURE__ */ t("span", { class: "sr-only" }, "Loading...")
|
|
3940
3940
|
], -1), cl = [
|
|
3941
3941
|
ul
|
|
3942
|
-
], gl = ["colspan"],
|
|
3943
|
-
function
|
|
3942
|
+
], gl = { class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500" }, fl = ["colspan"], hl = ["data-label"], ml = { class: "overflow-auto max-h-40" }, bl = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
3943
|
+
function pl(e, r, s, n, o, a) {
|
|
3944
3944
|
const i = H("dropdown"), l = H("TailwindPagination");
|
|
3945
3945
|
return d(), u("div", Ho, [
|
|
3946
3946
|
t("div", Zo, [
|
|
@@ -3999,10 +3999,11 @@ function bl(e, r, s, n, o, a) {
|
|
|
3999
3999
|
}, cl, 8, dl)
|
|
4000
4000
|
])) : g("", !0),
|
|
4001
4001
|
o.isLoading ? g("", !0) : (d(!0), u(w, { key: 1 }, D(a.groupedItems, (c, f) => (d(), u(w, null, [
|
|
4002
|
-
t("tr",
|
|
4002
|
+
t("tr", gl, [
|
|
4003
4003
|
t("td", {
|
|
4004
|
-
colspan: s.columns.length
|
|
4005
|
-
|
|
4004
|
+
colspan: s.columns.length,
|
|
4005
|
+
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
4006
|
+
}, h(f), 9, fl)
|
|
4006
4007
|
]),
|
|
4007
4008
|
(d(!0), u(w, null, D(c, (m, _) => (d(), u("tr", {
|
|
4008
4009
|
key: _,
|
|
@@ -4011,9 +4012,9 @@ function bl(e, r, s, n, o, a) {
|
|
|
4011
4012
|
(d(!0), u(w, null, D(s.columns, (v, S) => (d(), u("td", {
|
|
4012
4013
|
key: S,
|
|
4013
4014
|
"data-label": v.field_label,
|
|
4014
|
-
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-
|
|
4015
|
+
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
4015
4016
|
}, [
|
|
4016
|
-
t("div",
|
|
4017
|
+
t("div", ml, [
|
|
4017
4018
|
v.tdComp ? (d(), Z(le(a.forDynCompIs(v.tdComp)), {
|
|
4018
4019
|
key: 0,
|
|
4019
4020
|
row: m,
|
|
@@ -4026,13 +4027,13 @@ function bl(e, r, s, n, o, a) {
|
|
|
4026
4027
|
$(h(m[v.field_name]), 1)
|
|
4027
4028
|
], 64))
|
|
4028
4029
|
])
|
|
4029
|
-
], 8,
|
|
4030
|
+
], 8, hl))), 128))
|
|
4030
4031
|
]))), 128))
|
|
4031
4032
|
], 64))), 256))
|
|
4032
4033
|
])
|
|
4033
4034
|
])
|
|
4034
4035
|
]),
|
|
4035
|
-
t("div",
|
|
4036
|
+
t("div", bl, [
|
|
4036
4037
|
R(l, {
|
|
4037
4038
|
class: "mt-3 mb-0",
|
|
4038
4039
|
data: o.itemLists,
|
|
@@ -4044,7 +4045,7 @@ function bl(e, r, s, n, o, a) {
|
|
|
4044
4045
|
])
|
|
4045
4046
|
]);
|
|
4046
4047
|
}
|
|
4047
|
-
const
|
|
4048
|
+
const xc = /* @__PURE__ */ O(zo, [["render", pl]]), yl = {
|
|
4048
4049
|
components: {},
|
|
4049
4050
|
props: {
|
|
4050
4051
|
data: Array,
|
|
@@ -4124,10 +4125,10 @@ const vc = /* @__PURE__ */ O(zo, [["render", bl]]), pl = {
|
|
|
4124
4125
|
e >= 1 && e <= this.totalPages && (this.currentPage = e);
|
|
4125
4126
|
}
|
|
4126
4127
|
}
|
|
4127
|
-
},
|
|
4128
|
+
}, _l = { class: "p-2" }, vl = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, xl = { class: "flex items-center gap-2" }, wl = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), kl = { style: { "margin-top": "9px" } }, $l = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Cl = /* @__PURE__ */ t("label", {
|
|
4128
4129
|
for: "table-search",
|
|
4129
4130
|
class: "sr-only"
|
|
4130
|
-
}, "Search", -1),
|
|
4131
|
+
}, "Search", -1), Sl = { class: "relative" }, Dl = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
|
|
4131
4132
|
/* @__PURE__ */ t("svg", {
|
|
4132
4133
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
4133
4134
|
"aria-hidden": "true",
|
|
@@ -4141,19 +4142,19 @@ const vc = /* @__PURE__ */ O(zo, [["render", bl]]), pl = {
|
|
|
4141
4142
|
"clip-rule": "evenodd"
|
|
4142
4143
|
})
|
|
4143
4144
|
])
|
|
4144
|
-
], -1),
|
|
4145
|
+
], -1), Ol = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Pl = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, Al = { class: "hidden text-sm font-normal text-center text-gray-700 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, jl = ["onClick"], El = {
|
|
4145
4146
|
key: 0,
|
|
4146
4147
|
class: "ml-2"
|
|
4147
|
-
},
|
|
4148
|
+
}, Ll = {
|
|
4148
4149
|
key: 0,
|
|
4149
4150
|
class: "fa fa-arrow-up"
|
|
4150
|
-
},
|
|
4151
|
+
}, Tl = {
|
|
4151
4152
|
key: 1,
|
|
4152
4153
|
class: "fa fa-arrow-down"
|
|
4153
|
-
},
|
|
4154
|
+
}, Il = ["data-label"], Ml = ["innerHTML"], Nl = {
|
|
4154
4155
|
key: 0,
|
|
4155
4156
|
class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"
|
|
4156
|
-
},
|
|
4157
|
+
}, Vl = { class: "flex justify-between flex-1 sm:hidden" }, Bl = ["disabled"], Gl = ["disabled"], Ul = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, Fl = { class: "text-sm text-gray-700 dark:text-gray-400" }, Rl = { class: "font-medium" }, ql = { class: "font-medium" }, zl = { class: "font-medium" }, Hl = { "aria-label": "Page navigation" }, Zl = { class: "flex items-center h-8 -space-x-px text-sm" }, Kl = ["disabled"], Wl = /* @__PURE__ */ t("span", { class: "sr-only" }, "Previous", -1), Yl = /* @__PURE__ */ t("svg", {
|
|
4157
4158
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
4158
4159
|
"aria-hidden": "true",
|
|
4159
4160
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4167,10 +4168,10 @@ const vc = /* @__PURE__ */ O(zo, [["render", bl]]), pl = {
|
|
|
4167
4168
|
"stroke-width": "2",
|
|
4168
4169
|
d: "M5 1 1 5l4 4"
|
|
4169
4170
|
})
|
|
4170
|
-
], -1),
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
],
|
|
4171
|
+
], -1), Xl = [
|
|
4172
|
+
Wl,
|
|
4173
|
+
Yl
|
|
4174
|
+
], Jl = ["onClick"], Ql = ["onClick"], ei = ["disabled"], ti = /* @__PURE__ */ t("span", { class: "sr-only" }, "Next", -1), ri = /* @__PURE__ */ t("svg", {
|
|
4174
4175
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
4175
4176
|
"aria-hidden": "true",
|
|
4176
4177
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4184,17 +4185,17 @@ const vc = /* @__PURE__ */ O(zo, [["render", bl]]), pl = {
|
|
|
4184
4185
|
"stroke-width": "2",
|
|
4185
4186
|
d: "m1 9 4-4-4-4"
|
|
4186
4187
|
})
|
|
4187
|
-
], -1),
|
|
4188
|
-
|
|
4189
|
-
|
|
4188
|
+
], -1), si = [
|
|
4189
|
+
ti,
|
|
4190
|
+
ri
|
|
4190
4191
|
];
|
|
4191
|
-
function
|
|
4192
|
+
function ai(e, r, s, n, o, a) {
|
|
4192
4193
|
const i = H("dropdown");
|
|
4193
|
-
return d(), u("div",
|
|
4194
|
-
t("div",
|
|
4195
|
-
t("div",
|
|
4196
|
-
|
|
4197
|
-
t("div",
|
|
4194
|
+
return d(), u("div", _l, [
|
|
4195
|
+
t("div", vl, [
|
|
4196
|
+
t("div", xl, [
|
|
4197
|
+
wl,
|
|
4198
|
+
t("div", kl, [
|
|
4198
4199
|
R(i, {
|
|
4199
4200
|
has_cancel: !1,
|
|
4200
4201
|
options: o.showNoOfEntries,
|
|
@@ -4208,11 +4209,11 @@ function si(e, r, s, n, o, a) {
|
|
|
4208
4209
|
placeholder: "Please select an option"
|
|
4209
4210
|
}, null, 8, ["options", "modelValue"])
|
|
4210
4211
|
]),
|
|
4211
|
-
|
|
4212
|
+
$l
|
|
4212
4213
|
]),
|
|
4213
|
-
|
|
4214
|
-
t("div",
|
|
4215
|
-
|
|
4214
|
+
Cl,
|
|
4215
|
+
t("div", Sl, [
|
|
4216
|
+
Dl,
|
|
4216
4217
|
A(t("input", {
|
|
4217
4218
|
type: "text",
|
|
4218
4219
|
"onUpdate:modelValue": r[1] || (r[1] = (l) => o.search = l),
|
|
@@ -4223,9 +4224,9 @@ function si(e, r, s, n, o, a) {
|
|
|
4223
4224
|
])
|
|
4224
4225
|
])
|
|
4225
4226
|
]),
|
|
4226
|
-
t("div",
|
|
4227
|
-
t("table",
|
|
4228
|
-
t("thead",
|
|
4227
|
+
t("div", Ol, [
|
|
4228
|
+
t("table", Pl, [
|
|
4229
|
+
t("thead", Al, [
|
|
4229
4230
|
t("tr", null, [
|
|
4230
4231
|
(d(!0), u(w, null, D(s.columns, (l, c) => (d(), u("th", {
|
|
4231
4232
|
key: c,
|
|
@@ -4233,10 +4234,10 @@ function si(e, r, s, n, o, a) {
|
|
|
4233
4234
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
4234
4235
|
}, [
|
|
4235
4236
|
$(h(l) + " ", 1),
|
|
4236
|
-
o.sortKey === l ? (d(), u("span",
|
|
4237
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
4237
|
+
o.sortKey === l ? (d(), u("span", El, [
|
|
4238
|
+
o.sortOrder === "asc" ? (d(), u("i", Ll)) : (d(), u("i", Tl))
|
|
4238
4239
|
])) : g("", !0)
|
|
4239
|
-
], 8,
|
|
4240
|
+
], 8, jl))), 128))
|
|
4240
4241
|
])
|
|
4241
4242
|
]),
|
|
4242
4243
|
t("tbody", null, [
|
|
@@ -4252,49 +4253,49 @@ function si(e, r, s, n, o, a) {
|
|
|
4252
4253
|
t("p", {
|
|
4253
4254
|
class: "text-pretty",
|
|
4254
4255
|
innerHTML: l[m]
|
|
4255
|
-
}, null, 8,
|
|
4256
|
-
], 8,
|
|
4256
|
+
}, null, 8, Ml)
|
|
4257
|
+
], 8, Il))), 128))
|
|
4257
4258
|
]))), 128))
|
|
4258
4259
|
])
|
|
4259
4260
|
])
|
|
4260
4261
|
]),
|
|
4261
|
-
a.paginatedData.length > 0 ? (d(), u("div",
|
|
4262
|
-
t("div",
|
|
4262
|
+
a.paginatedData.length > 0 ? (d(), u("div", Nl, [
|
|
4263
|
+
t("div", Vl, [
|
|
4263
4264
|
t("a", {
|
|
4264
4265
|
href: "#",
|
|
4265
4266
|
onClick: r[2] || (r[2] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
4266
4267
|
disabled: o.currentPage === 1,
|
|
4267
4268
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
4268
|
-
}, "Previous", 8,
|
|
4269
|
+
}, "Previous", 8, Bl),
|
|
4269
4270
|
t("a", {
|
|
4270
4271
|
href: "#",
|
|
4271
4272
|
onClick: r[3] || (r[3] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
4272
4273
|
disabled: o.currentPage === a.totalPages,
|
|
4273
4274
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
4274
|
-
}, "Next", 8,
|
|
4275
|
+
}, "Next", 8, Gl)
|
|
4275
4276
|
]),
|
|
4276
|
-
t("div",
|
|
4277
|
+
t("div", Ul, [
|
|
4277
4278
|
t("div", null, [
|
|
4278
|
-
t("p",
|
|
4279
|
+
t("p", Fl, [
|
|
4279
4280
|
$(" Showing "),
|
|
4280
|
-
t("span",
|
|
4281
|
+
t("span", Rl, h(a.firstItemIndex), 1),
|
|
4281
4282
|
$(" to "),
|
|
4282
|
-
t("span",
|
|
4283
|
+
t("span", ql, h(a.lastItemIndex), 1),
|
|
4283
4284
|
$(" of "),
|
|
4284
|
-
t("span",
|
|
4285
|
+
t("span", zl, h(a.filteredData.length), 1),
|
|
4285
4286
|
$(" entries ")
|
|
4286
4287
|
])
|
|
4287
4288
|
]),
|
|
4288
4289
|
t("div", null, [
|
|
4289
|
-
t("nav",
|
|
4290
|
-
t("ul",
|
|
4290
|
+
t("nav", Hl, [
|
|
4291
|
+
t("ul", Zl, [
|
|
4291
4292
|
t("li", null, [
|
|
4292
4293
|
t("a", {
|
|
4293
4294
|
href: "#",
|
|
4294
4295
|
onClick: r[4] || (r[4] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
4295
4296
|
disabled: o.currentPage === 1,
|
|
4296
4297
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
4297
|
-
},
|
|
4298
|
+
}, Xl, 8, Kl)
|
|
4298
4299
|
]),
|
|
4299
4300
|
(d(!0), u(w, null, D(a.displayedPageNumbers, (l) => (d(), u(w, { key: l }, [
|
|
4300
4301
|
t("li", null, [
|
|
@@ -4303,7 +4304,7 @@ function si(e, r, s, n, o, a) {
|
|
|
4303
4304
|
href: "#",
|
|
4304
4305
|
onClick: (c) => a.goToPage(l),
|
|
4305
4306
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
4306
|
-
}, h(l), 9,
|
|
4307
|
+
}, h(l), 9, Jl)) : g("", !0)
|
|
4307
4308
|
]),
|
|
4308
4309
|
t("li", null, [
|
|
4309
4310
|
o.currentPage === l ? (d(), u("a", {
|
|
@@ -4312,7 +4313,7 @@ function si(e, r, s, n, o, a) {
|
|
|
4312
4313
|
onClick: (c) => a.goToPage(l),
|
|
4313
4314
|
"aria-current": "page",
|
|
4314
4315
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
4315
|
-
}, h(l), 9,
|
|
4316
|
+
}, h(l), 9, Ql)) : g("", !0)
|
|
4316
4317
|
])
|
|
4317
4318
|
], 64))), 128)),
|
|
4318
4319
|
t("li", null, [
|
|
@@ -4321,7 +4322,7 @@ function si(e, r, s, n, o, a) {
|
|
|
4321
4322
|
onClick: r[5] || (r[5] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
4322
4323
|
disabled: o.currentPage === a.totalPages,
|
|
4323
4324
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
4324
|
-
},
|
|
4325
|
+
}, si, 8, ei)
|
|
4325
4326
|
])
|
|
4326
4327
|
])
|
|
4327
4328
|
])
|
|
@@ -4330,13 +4331,13 @@ function si(e, r, s, n, o, a) {
|
|
|
4330
4331
|
])) : g("", !0)
|
|
4331
4332
|
]);
|
|
4332
4333
|
}
|
|
4333
|
-
const
|
|
4334
|
+
const wc = /* @__PURE__ */ O(yl, [["render", ai]]), ni = {
|
|
4334
4335
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4335
4336
|
role: "alert"
|
|
4336
|
-
},
|
|
4337
|
+
}, oi = {
|
|
4337
4338
|
key: 0,
|
|
4338
4339
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"
|
|
4339
|
-
},
|
|
4340
|
+
}, li = /* @__PURE__ */ t("svg", {
|
|
4340
4341
|
class: "w-5 h-5",
|
|
4341
4342
|
"aria-hidden": "true",
|
|
4342
4343
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4344,13 +4345,13 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4344
4345
|
viewBox: "0 0 20 20"
|
|
4345
4346
|
}, [
|
|
4346
4347
|
/* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z" })
|
|
4347
|
-
], -1),
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
],
|
|
4348
|
+
], -1), ii = /* @__PURE__ */ t("span", { class: "sr-only" }, "Check icon", -1), di = [
|
|
4349
|
+
li,
|
|
4350
|
+
ii
|
|
4351
|
+
], ui = {
|
|
4351
4352
|
key: 1,
|
|
4352
4353
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"
|
|
4353
|
-
},
|
|
4354
|
+
}, ci = /* @__PURE__ */ t("svg", {
|
|
4354
4355
|
class: "w-5 h-5",
|
|
4355
4356
|
"aria-hidden": "true",
|
|
4356
4357
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4358,13 +4359,13 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4358
4359
|
viewBox: "0 0 20 20"
|
|
4359
4360
|
}, [
|
|
4360
4361
|
/* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z" })
|
|
4361
|
-
], -1),
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
],
|
|
4362
|
+
], -1), gi = /* @__PURE__ */ t("span", { class: "sr-only" }, "Error icon", -1), fi = [
|
|
4363
|
+
ci,
|
|
4364
|
+
gi
|
|
4365
|
+
], hi = {
|
|
4365
4366
|
key: 2,
|
|
4366
4367
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200"
|
|
4367
|
-
},
|
|
4368
|
+
}, mi = /* @__PURE__ */ t("svg", {
|
|
4368
4369
|
class: "w-5 h-5",
|
|
4369
4370
|
"aria-hidden": "true",
|
|
4370
4371
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4372,10 +4373,10 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4372
4373
|
viewBox: "0 0 20 20"
|
|
4373
4374
|
}, [
|
|
4374
4375
|
/* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z" })
|
|
4375
|
-
], -1),
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
],
|
|
4376
|
+
], -1), bi = /* @__PURE__ */ t("span", { class: "sr-only" }, "Warning icon", -1), pi = [
|
|
4377
|
+
mi,
|
|
4378
|
+
bi
|
|
4379
|
+
], yi = { class: "ml-3 text-sm font-normal" }, _i = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), vi = /* @__PURE__ */ t("svg", {
|
|
4379
4380
|
"aria-hidden": "true",
|
|
4380
4381
|
class: "w-5 h-5",
|
|
4381
4382
|
fill: "currentColor",
|
|
@@ -4387,10 +4388,10 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4387
4388
|
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
4388
4389
|
"clip-rule": "evenodd"
|
|
4389
4390
|
})
|
|
4390
|
-
], -1),
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
],
|
|
4391
|
+
], -1), xi = [
|
|
4392
|
+
_i,
|
|
4393
|
+
vi
|
|
4394
|
+
], wi = {
|
|
4394
4395
|
__name: "ToastListItem",
|
|
4395
4396
|
props: {
|
|
4396
4397
|
message: String,
|
|
@@ -4410,23 +4411,23 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4410
4411
|
setTimeout(() => n("remove"), s.duration);
|
|
4411
4412
|
});
|
|
4412
4413
|
const n = r;
|
|
4413
|
-
return (o, a) => (d(), u("div",
|
|
4414
|
-
s.type === "success" ? (d(), u("div",
|
|
4415
|
-
s.type === "error" ? (d(), u("div",
|
|
4416
|
-
s.type === "warning" ? (d(), u("div",
|
|
4417
|
-
t("div",
|
|
4414
|
+
return (o, a) => (d(), u("div", ni, [
|
|
4415
|
+
s.type === "success" ? (d(), u("div", oi, di)) : g("", !0),
|
|
4416
|
+
s.type === "error" ? (d(), u("div", ui, fi)) : g("", !0),
|
|
4417
|
+
s.type === "warning" ? (d(), u("div", hi, pi)) : g("", !0),
|
|
4418
|
+
t("div", yi, h(s.message), 1),
|
|
4418
4419
|
t("button", {
|
|
4419
4420
|
onClick: a[0] || (a[0] = (i) => n("remove")),
|
|
4420
4421
|
type: "button",
|
|
4421
4422
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
4422
4423
|
"data-dismiss-target": "#toast-default",
|
|
4423
4424
|
"aria-label": "Close"
|
|
4424
|
-
},
|
|
4425
|
+
}, xi)
|
|
4425
4426
|
]));
|
|
4426
4427
|
}
|
|
4427
4428
|
}, ve = Le({
|
|
4428
4429
|
items: []
|
|
4429
|
-
}),
|
|
4430
|
+
}), ki = {
|
|
4430
4431
|
add(e) {
|
|
4431
4432
|
ve.items.unshift({
|
|
4432
4433
|
key: Symbol(),
|
|
@@ -4440,8 +4441,8 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4440
4441
|
}
|
|
4441
4442
|
}, je = {
|
|
4442
4443
|
state: ve,
|
|
4443
|
-
methods:
|
|
4444
|
-
},
|
|
4444
|
+
methods: ki
|
|
4445
|
+
}, kc = {
|
|
4445
4446
|
__name: "GlToastList",
|
|
4446
4447
|
setup(e) {
|
|
4447
4448
|
function r(s) {
|
|
@@ -4456,7 +4457,7 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4456
4457
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4457
4458
|
}, {
|
|
4458
4459
|
default: ie(() => [
|
|
4459
|
-
(d(!0), u(w, null, D(dt(je).state.items, (o, a) => (d(), Z(
|
|
4460
|
+
(d(!0), u(w, null, D(dt(je).state.items, (o, a) => (d(), Z(wi, {
|
|
4460
4461
|
key: o.key,
|
|
4461
4462
|
message: o.message,
|
|
4462
4463
|
type: o.type,
|
|
@@ -4467,10 +4468,10 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4467
4468
|
_: 1
|
|
4468
4469
|
}));
|
|
4469
4470
|
}
|
|
4470
|
-
},
|
|
4471
|
+
}, $i = {
|
|
4471
4472
|
key: 0,
|
|
4472
4473
|
class: "flex justify-center"
|
|
4473
|
-
},
|
|
4474
|
+
}, Ci = /* @__PURE__ */ t("svg", {
|
|
4474
4475
|
class: "w-5 h-5",
|
|
4475
4476
|
"aria-hidden": "true",
|
|
4476
4477
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4478,12 +4479,12 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4478
4479
|
viewBox: "0 0 4 15"
|
|
4479
4480
|
}, [
|
|
4480
4481
|
/* @__PURE__ */ t("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
|
|
4481
|
-
], -1),
|
|
4482
|
-
|
|
4483
|
-
],
|
|
4482
|
+
], -1), Si = [
|
|
4483
|
+
Ci
|
|
4484
|
+
], Di = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, Oi = {
|
|
4484
4485
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4485
4486
|
"aria-labelledby": "dropdownDividerButton"
|
|
4486
|
-
},
|
|
4487
|
+
}, Pi = { key: 0 }, Ai = ["href"], ji = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), Ei = { key: 1 }, Li = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), $c = {
|
|
4487
4488
|
__name: "DatatableAction",
|
|
4488
4489
|
props: {
|
|
4489
4490
|
field: {
|
|
@@ -4536,30 +4537,30 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4536
4537
|
onConfirmDelete: _,
|
|
4537
4538
|
onCancelDelete: c
|
|
4538
4539
|
}, null, 8, ["isOpen"]),
|
|
4539
|
-
e.row && v.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? A((d(), u("div",
|
|
4540
|
+
e.row && v.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? A((d(), u("div", $i, [
|
|
4540
4541
|
t("button", {
|
|
4541
4542
|
onClick: l,
|
|
4542
4543
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
4543
4544
|
type: "button"
|
|
4544
|
-
},
|
|
4545
|
-
A(t("div",
|
|
4546
|
-
t("ul",
|
|
4547
|
-
v.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4545
|
+
}, Si),
|
|
4546
|
+
A(t("div", Di, [
|
|
4547
|
+
t("ul", Oi, [
|
|
4548
|
+
v.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Pi, [
|
|
4548
4549
|
t("a", {
|
|
4549
4550
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4550
4551
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4551
4552
|
}, [
|
|
4552
|
-
|
|
4553
|
+
ji,
|
|
4553
4554
|
$(" Edit")
|
|
4554
|
-
], 8,
|
|
4555
|
+
], 8, Ai)
|
|
4555
4556
|
])) : g("", !0),
|
|
4556
|
-
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4557
|
+
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Ei, [
|
|
4557
4558
|
t("a", {
|
|
4558
4559
|
href: "#",
|
|
4559
4560
|
onClick: F(f, ["prevent"]),
|
|
4560
4561
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4561
4562
|
}, [
|
|
4562
|
-
|
|
4563
|
+
Li,
|
|
4563
4564
|
$(" Remove")
|
|
4564
4565
|
])
|
|
4565
4566
|
])) : g("", !0)
|
|
@@ -4573,10 +4574,10 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4573
4574
|
], 64);
|
|
4574
4575
|
};
|
|
4575
4576
|
}
|
|
4576
|
-
},
|
|
4577
|
+
}, Ti = {
|
|
4577
4578
|
key: 0,
|
|
4578
4579
|
class: "flex justify-center"
|
|
4579
|
-
},
|
|
4580
|
+
}, Ii = /* @__PURE__ */ t("svg", {
|
|
4580
4581
|
class: "w-5 h-5",
|
|
4581
4582
|
"aria-hidden": "true",
|
|
4582
4583
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4584,12 +4585,12 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4584
4585
|
viewBox: "0 0 4 15"
|
|
4585
4586
|
}, [
|
|
4586
4587
|
/* @__PURE__ */ t("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
|
|
4587
|
-
], -1),
|
|
4588
|
-
|
|
4589
|
-
],
|
|
4588
|
+
], -1), Mi = [
|
|
4589
|
+
Ii
|
|
4590
|
+
], Ni = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, Vi = {
|
|
4590
4591
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4591
4592
|
"aria-labelledby": "dropdownDividerButton"
|
|
4592
|
-
},
|
|
4593
|
+
}, Bi = { key: 0 }, Gi = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Cc = {
|
|
4593
4594
|
__name: "DatatableDeleteAction",
|
|
4594
4595
|
props: {
|
|
4595
4596
|
field: {
|
|
@@ -4642,21 +4643,21 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4642
4643
|
onConfirmDelete: _,
|
|
4643
4644
|
onCancelDelete: c
|
|
4644
4645
|
}, null, 8, ["isOpen"]),
|
|
4645
|
-
e.row && v.can(`delete_${e.xprops.permission}`) ? A((d(), u("div",
|
|
4646
|
+
e.row && v.can(`delete_${e.xprops.permission}`) ? A((d(), u("div", Ti, [
|
|
4646
4647
|
t("button", {
|
|
4647
4648
|
onClick: l,
|
|
4648
4649
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
4649
4650
|
type: "button"
|
|
4650
|
-
},
|
|
4651
|
-
A(t("div",
|
|
4652
|
-
t("ul",
|
|
4653
|
-
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4651
|
+
}, Mi),
|
|
4652
|
+
A(t("div", Ni, [
|
|
4653
|
+
t("ul", Vi, [
|
|
4654
|
+
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Bi, [
|
|
4654
4655
|
t("a", {
|
|
4655
4656
|
href: "#",
|
|
4656
4657
|
onClick: F(f, ["prevent"]),
|
|
4657
4658
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4658
4659
|
}, [
|
|
4659
|
-
|
|
4660
|
+
Gi,
|
|
4660
4661
|
$(" Remove")
|
|
4661
4662
|
])
|
|
4662
4663
|
])) : g("", !0)
|
|
@@ -4670,7 +4671,7 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4670
4671
|
], 64);
|
|
4671
4672
|
};
|
|
4672
4673
|
}
|
|
4673
|
-
},
|
|
4674
|
+
}, Ui = {
|
|
4674
4675
|
props: ["field", "row"],
|
|
4675
4676
|
computed: {
|
|
4676
4677
|
isArray() {
|
|
@@ -4685,7 +4686,7 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4685
4686
|
},
|
|
4686
4687
|
mounted() {
|
|
4687
4688
|
}
|
|
4688
|
-
},
|
|
4689
|
+
}, Fi = ["href", "title"], Ri = /* @__PURE__ */ t("svg", {
|
|
4689
4690
|
class: "w-3 h-3 text-white me-2",
|
|
4690
4691
|
"aria-hidden": "true",
|
|
4691
4692
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4702,10 +4703,10 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4702
4703
|
d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
|
|
4703
4704
|
"clip-rule": "evenodd"
|
|
4704
4705
|
})
|
|
4705
|
-
], -1),
|
|
4706
|
+
], -1), qi = {
|
|
4706
4707
|
key: 1,
|
|
4707
4708
|
class: "m-1 d-inline-block"
|
|
4708
|
-
},
|
|
4709
|
+
}, zi = ["href", "title"], Hi = /* @__PURE__ */ t("svg", {
|
|
4709
4710
|
class: "w-3 h-3 text-white me-2",
|
|
4710
4711
|
"aria-hidden": "true",
|
|
4711
4712
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4723,7 +4724,7 @@ const xc = /* @__PURE__ */ O(pl, [["render", si]]), ai = {
|
|
|
4723
4724
|
"clip-rule": "evenodd"
|
|
4724
4725
|
})
|
|
4725
4726
|
], -1);
|
|
4726
|
-
function
|
|
4727
|
+
function Zi(e, r, s, n, o, a) {
|
|
4727
4728
|
return d(), u("div", null, [
|
|
4728
4729
|
a.isArray ? (d(!0), u(w, { key: 0 }, D(s.row, (i, l) => (d(), u("div", {
|
|
4729
4730
|
key: l,
|
|
@@ -4735,23 +4736,23 @@ function Hi(e, r, s, n, o, a) {
|
|
|
4735
4736
|
target: "_blank",
|
|
4736
4737
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4737
4738
|
}, [
|
|
4738
|
-
|
|
4739
|
+
Ri,
|
|
4739
4740
|
$(" Download ")
|
|
4740
|
-
], 8,
|
|
4741
|
-
]))), 128)) : a.isString ? (d(), u("div",
|
|
4741
|
+
], 8, Fi)
|
|
4742
|
+
]))), 128)) : a.isString ? (d(), u("div", qi, [
|
|
4742
4743
|
t("a", {
|
|
4743
4744
|
href: s.row,
|
|
4744
4745
|
title: s.row,
|
|
4745
4746
|
target: "_blank",
|
|
4746
4747
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4747
4748
|
}, [
|
|
4748
|
-
|
|
4749
|
+
Hi,
|
|
4749
4750
|
$(" Download ")
|
|
4750
|
-
], 8,
|
|
4751
|
+
], 8, zi)
|
|
4751
4752
|
])) : g("", !0)
|
|
4752
4753
|
]);
|
|
4753
4754
|
}
|
|
4754
|
-
const
|
|
4755
|
+
const Sc = /* @__PURE__ */ O(Ui, [["render", Zi]]), Ki = {
|
|
4755
4756
|
props: ["field", "row"],
|
|
4756
4757
|
computed: {
|
|
4757
4758
|
isArray() {
|
|
@@ -4761,7 +4762,7 @@ const Cc = /* @__PURE__ */ O(Gi, [["render", Hi]]), Zi = {
|
|
|
4761
4762
|
return typeof this.row[this.field] == "object";
|
|
4762
4763
|
}
|
|
4763
4764
|
}
|
|
4764
|
-
},
|
|
4765
|
+
}, Wi = ["href", "title"], Yi = /* @__PURE__ */ t("svg", {
|
|
4765
4766
|
class: "w-3 h-3 text-white me-2",
|
|
4766
4767
|
"aria-hidden": "true",
|
|
4767
4768
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4778,10 +4779,10 @@ const Cc = /* @__PURE__ */ O(Gi, [["render", Hi]]), Zi = {
|
|
|
4778
4779
|
d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
|
|
4779
4780
|
"clip-rule": "evenodd"
|
|
4780
4781
|
})
|
|
4781
|
-
], -1),
|
|
4782
|
+
], -1), Xi = {
|
|
4782
4783
|
key: 1,
|
|
4783
4784
|
class: "m-1 d-inline-block"
|
|
4784
|
-
},
|
|
4785
|
+
}, Ji = ["href", "title"], Qi = /* @__PURE__ */ t("svg", {
|
|
4785
4786
|
class: "w-3 h-3 text-white me-2",
|
|
4786
4787
|
"aria-hidden": "true",
|
|
4787
4788
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4799,7 +4800,7 @@ const Cc = /* @__PURE__ */ O(Gi, [["render", Hi]]), Zi = {
|
|
|
4799
4800
|
"clip-rule": "evenodd"
|
|
4800
4801
|
})
|
|
4801
4802
|
], -1);
|
|
4802
|
-
function
|
|
4803
|
+
function ed(e, r, s, n, o, a) {
|
|
4803
4804
|
return d(), u("div", null, [
|
|
4804
4805
|
a.isArray ? (d(!0), u(w, { key: 0 }, D(s.row[s.field], (i) => (d(), u("div", {
|
|
4805
4806
|
key: i.id,
|
|
@@ -4811,34 +4812,34 @@ function Qi(e, r, s, n, o, a) {
|
|
|
4811
4812
|
target: "_blank",
|
|
4812
4813
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4813
4814
|
}, [
|
|
4814
|
-
|
|
4815
|
+
Yi,
|
|
4815
4816
|
$(" Download ")
|
|
4816
|
-
], 8,
|
|
4817
|
-
]))), 128)) : a.isObject ? (d(), u("div",
|
|
4817
|
+
], 8, Wi)
|
|
4818
|
+
]))), 128)) : a.isObject ? (d(), u("div", Xi, [
|
|
4818
4819
|
t("a", {
|
|
4819
4820
|
href: s.row[s.field].url,
|
|
4820
4821
|
title: s.row[s.field].name,
|
|
4821
4822
|
target: "_blank",
|
|
4822
4823
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4823
4824
|
}, [
|
|
4824
|
-
|
|
4825
|
+
Qi,
|
|
4825
4826
|
$(" Download ")
|
|
4826
|
-
], 8,
|
|
4827
|
+
], 8, Ji)
|
|
4827
4828
|
])) : g("", !0)
|
|
4828
4829
|
]);
|
|
4829
4830
|
}
|
|
4830
|
-
const
|
|
4831
|
+
const Dc = /* @__PURE__ */ O(Ki, [["render", ed]]), td = {
|
|
4831
4832
|
props: ["field", "row", "tdProps"]
|
|
4832
|
-
},
|
|
4833
|
-
function
|
|
4834
|
-
return s.row[s.field] ? (d(), u("div",
|
|
4833
|
+
}, rd = { key: 0 }, sd = ["innerHTML"];
|
|
4834
|
+
function ad(e, r, s, n, o, a) {
|
|
4835
|
+
return s.row[s.field] ? (d(), u("div", rd, [
|
|
4835
4836
|
t("div", {
|
|
4836
4837
|
class: "w-full",
|
|
4837
4838
|
innerHTML: s.row[s.field]
|
|
4838
|
-
}, null, 8,
|
|
4839
|
+
}, null, 8, sd)
|
|
4839
4840
|
])) : g("", !0);
|
|
4840
4841
|
}
|
|
4841
|
-
const
|
|
4842
|
+
const Oc = /* @__PURE__ */ O(td, [["render", ad]]), nd = {
|
|
4842
4843
|
props: ["field", "row", "tdProps"],
|
|
4843
4844
|
computed: {
|
|
4844
4845
|
entry() {
|
|
@@ -4852,24 +4853,24 @@ const Dc = /* @__PURE__ */ O(ed, [["render", sd]]), ad = {
|
|
|
4852
4853
|
return typeof this.row[this.entry.key] == "object";
|
|
4853
4854
|
}
|
|
4854
4855
|
}
|
|
4855
|
-
},
|
|
4856
|
+
}, od = { class: "flex flex-wrap gap-2" }, ld = {
|
|
4856
4857
|
key: 1,
|
|
4857
4858
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4858
4859
|
};
|
|
4859
|
-
function
|
|
4860
|
-
return d(), u("div",
|
|
4860
|
+
function id(e, r, s, n, o, a) {
|
|
4861
|
+
return d(), u("div", od, [
|
|
4861
4862
|
a.isArray ? (d(!0), u(w, { key: 0 }, D(s.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4862
4863
|
key: l,
|
|
4863
4864
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4864
|
-
}, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span",
|
|
4865
|
+
}, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", ld, h(s.row[a.entry.key][a.entry.field]), 1)) : g("", !0)
|
|
4865
4866
|
]);
|
|
4866
4867
|
}
|
|
4867
|
-
const
|
|
4868
|
+
const Pc = /* @__PURE__ */ O(nd, [["render", id]]), dd = {
|
|
4868
4869
|
props: ["field", "row", "tdProps"]
|
|
4869
|
-
},
|
|
4870
|
-
function
|
|
4871
|
-
return s.row[s.field] ? (d(), u("div",
|
|
4872
|
-
t("div",
|
|
4870
|
+
}, ud = { key: 0 }, cd = { class: "m-1 d-inline-block" }, gd = ["href", "title"], fd = ["src", "alt", "title"];
|
|
4871
|
+
function hd(e, r, s, n, o, a) {
|
|
4872
|
+
return s.row[s.field] ? (d(), u("div", ud, [
|
|
4873
|
+
t("div", cd, [
|
|
4873
4874
|
t("a", {
|
|
4874
4875
|
href: s.row[s.field].url,
|
|
4875
4876
|
title: s.row[s.field].name,
|
|
@@ -4879,37 +4880,37 @@ function fd(e, r, s, n, o, a) {
|
|
|
4879
4880
|
src: s.row[s.field].thumbnail,
|
|
4880
4881
|
alt: s.row[s.field].name,
|
|
4881
4882
|
title: s.row[s.field].name
|
|
4882
|
-
}, null, 8,
|
|
4883
|
-
], 8,
|
|
4883
|
+
}, null, 8, fd)
|
|
4884
|
+
], 8, gd)
|
|
4884
4885
|
])
|
|
4885
4886
|
])) : g("", !0);
|
|
4886
4887
|
}
|
|
4887
|
-
const
|
|
4888
|
+
const Ac = /* @__PURE__ */ O(dd, [["render", hd], ["__scopeId", "data-v-3a28c02c"]]), md = {
|
|
4888
4889
|
props: ["field", "row", "tdProps"],
|
|
4889
4890
|
computed: {
|
|
4890
4891
|
isActive() {
|
|
4891
4892
|
return this.row[this.field] === 1;
|
|
4892
4893
|
}
|
|
4893
4894
|
}
|
|
4894
|
-
},
|
|
4895
|
+
}, bd = { class: "flex flex-wrap gap-2 text-nowrap" }, pd = {
|
|
4895
4896
|
key: 0,
|
|
4896
4897
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
4897
|
-
},
|
|
4898
|
+
}, yd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), _d = {
|
|
4898
4899
|
key: 1,
|
|
4899
4900
|
class: "inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
4900
|
-
},
|
|
4901
|
-
function
|
|
4902
|
-
return d(), u("div",
|
|
4903
|
-
a.isActive ? (d(), u("span",
|
|
4904
|
-
|
|
4901
|
+
}, vd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
4902
|
+
function xd(e, r, s, n, o, a) {
|
|
4903
|
+
return d(), u("div", bd, [
|
|
4904
|
+
a.isActive ? (d(), u("span", pd, [
|
|
4905
|
+
yd,
|
|
4905
4906
|
$(" Active ")
|
|
4906
|
-
])) : a.isActive ? g("", !0) : (d(), u("span",
|
|
4907
|
-
|
|
4907
|
+
])) : a.isActive ? g("", !0) : (d(), u("span", _d, [
|
|
4908
|
+
vd,
|
|
4908
4909
|
$(" Inactive ")
|
|
4909
4910
|
]))
|
|
4910
4911
|
]);
|
|
4911
4912
|
}
|
|
4912
|
-
const
|
|
4913
|
+
const jc = /* @__PURE__ */ O(md, [["render", xd]]), wd = {
|
|
4913
4914
|
props: ["field", "row", "tdProps"],
|
|
4914
4915
|
computed: {
|
|
4915
4916
|
hasLabelColor(e) {
|
|
@@ -4919,50 +4920,50 @@ const Ac = /* @__PURE__ */ O(hd, [["render", vd]]), xd = {
|
|
|
4919
4920
|
return r ? r.class : "";
|
|
4920
4921
|
}
|
|
4921
4922
|
}
|
|
4922
|
-
},
|
|
4923
|
+
}, kd = { class: "flex flex-wrap gap-2 text-nowrap" }, $d = {
|
|
4923
4924
|
key: 0,
|
|
4924
4925
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
4925
|
-
},
|
|
4926
|
+
}, Cd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Sd = {
|
|
4926
4927
|
key: 1,
|
|
4927
4928
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
4928
|
-
},
|
|
4929
|
+
}, Dd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), Od = {
|
|
4929
4930
|
key: 2,
|
|
4930
4931
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"
|
|
4931
|
-
},
|
|
4932
|
+
}, Pd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), Ad = {
|
|
4932
4933
|
key: 3,
|
|
4933
4934
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"
|
|
4934
|
-
},
|
|
4935
|
+
}, jd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), Ed = {
|
|
4935
4936
|
key: 4,
|
|
4936
4937
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
4937
|
-
},
|
|
4938
|
+
}, Ld = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4938
4939
|
/* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4939
4940
|
/* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4940
4941
|
], -1);
|
|
4941
|
-
function
|
|
4942
|
-
return d(), u("div",
|
|
4943
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
4944
|
-
|
|
4942
|
+
function Td(e, r, s, n, o, a) {
|
|
4943
|
+
return d(), u("div", kd, [
|
|
4944
|
+
a.hasLabelColor == "green" ? (d(), u("span", $d, [
|
|
4945
|
+
Cd,
|
|
4945
4946
|
$(" " + h(this.row[this.field]), 1)
|
|
4946
4947
|
])) : g("", !0),
|
|
4947
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
4948
|
-
|
|
4948
|
+
a.hasLabelColor == "red" ? (d(), u("span", Sd, [
|
|
4949
|
+
Dd,
|
|
4949
4950
|
$(" " + h(this.row[this.field]), 1)
|
|
4950
4951
|
])) : g("", !0),
|
|
4951
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
4952
|
-
|
|
4952
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", Od, [
|
|
4953
|
+
Pd,
|
|
4953
4954
|
$(" " + h(this.row[this.field]), 1)
|
|
4954
4955
|
])) : g("", !0),
|
|
4955
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
4956
|
-
|
|
4956
|
+
a.hasLabelColor == "default" ? (d(), u("span", Ad, [
|
|
4957
|
+
jd,
|
|
4957
4958
|
$(" " + h(this.row[this.field]), 1)
|
|
4958
4959
|
])) : g("", !0),
|
|
4959
|
-
a.hasLabelColor == "animate" ? (d(), u("span",
|
|
4960
|
-
|
|
4960
|
+
a.hasLabelColor == "animate" ? (d(), u("span", Ed, [
|
|
4961
|
+
Ld,
|
|
4961
4962
|
$(" " + h(this.row[this.field]), 1)
|
|
4962
4963
|
])) : g("", !0)
|
|
4963
4964
|
]);
|
|
4964
4965
|
}
|
|
4965
|
-
const
|
|
4966
|
+
const Ec = /* @__PURE__ */ O(wd, [["render", Td]]), Id = {
|
|
4966
4967
|
props: ["field", "row", "tdProps"],
|
|
4967
4968
|
computed: {
|
|
4968
4969
|
hasLabelColor() {
|
|
@@ -4983,9 +4984,9 @@ const jc = /* @__PURE__ */ O(xd, [["render", Ld]]), Td = {
|
|
|
4983
4984
|
}
|
|
4984
4985
|
}
|
|
4985
4986
|
}
|
|
4986
|
-
},
|
|
4987
|
-
function
|
|
4988
|
-
return d(), u("div",
|
|
4987
|
+
}, Md = { class: "flex flex-wrap gap-2 text-nowrap justify-center" };
|
|
4988
|
+
function Nd(e, r, s, n, o, a) {
|
|
4989
|
+
return d(), u("div", Md, [
|
|
4989
4990
|
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
4990
4991
|
key: 0,
|
|
4991
4992
|
class: p(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", a.badgeType])
|
|
@@ -5020,7 +5021,7 @@ function Md(e, r, s, n, o, a) {
|
|
|
5020
5021
|
}, h(this.row[this.field]), 3)) : g("", !0)
|
|
5021
5022
|
]);
|
|
5022
5023
|
}
|
|
5023
|
-
const
|
|
5024
|
+
const Lc = /* @__PURE__ */ O(Id, [["render", Nd]]), Vd = {
|
|
5024
5025
|
props: ["field", "row", "tdProps"],
|
|
5025
5026
|
computed: {
|
|
5026
5027
|
hasLabelColor(e) {
|
|
@@ -5036,50 +5037,50 @@ const Ec = /* @__PURE__ */ O(Td, [["render", Md]]), Nd = {
|
|
|
5036
5037
|
return e ? e.label : "";
|
|
5037
5038
|
}
|
|
5038
5039
|
}
|
|
5039
|
-
},
|
|
5040
|
+
}, Bd = { class: "flex flex-wrap gap-2 text-nowrap" }, Gd = {
|
|
5040
5041
|
key: 0,
|
|
5041
5042
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
5042
|
-
},
|
|
5043
|
+
}, Ud = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Fd = {
|
|
5043
5044
|
key: 1,
|
|
5044
5045
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
5045
|
-
},
|
|
5046
|
+
}, Rd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), qd = {
|
|
5046
5047
|
key: 2,
|
|
5047
5048
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"
|
|
5048
|
-
},
|
|
5049
|
+
}, zd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), Hd = {
|
|
5049
5050
|
key: 3,
|
|
5050
5051
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"
|
|
5051
|
-
},
|
|
5052
|
+
}, Zd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), Kd = {
|
|
5052
5053
|
key: 4,
|
|
5053
5054
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
5054
|
-
},
|
|
5055
|
+
}, Wd = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
5055
5056
|
/* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
5056
5057
|
/* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
5057
5058
|
], -1);
|
|
5058
|
-
function
|
|
5059
|
-
return d(), u("div",
|
|
5060
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
5061
|
-
|
|
5059
|
+
function Yd(e, r, s, n, o, a) {
|
|
5060
|
+
return d(), u("div", Bd, [
|
|
5061
|
+
a.hasLabelColor == "green" ? (d(), u("span", Gd, [
|
|
5062
|
+
Ud,
|
|
5062
5063
|
$(" " + h(a.getLabel), 1)
|
|
5063
5064
|
])) : g("", !0),
|
|
5064
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
5065
|
-
|
|
5065
|
+
a.hasLabelColor == "red" ? (d(), u("span", Fd, [
|
|
5066
|
+
Rd,
|
|
5066
5067
|
$(" " + h(a.getLabel), 1)
|
|
5067
5068
|
])) : g("", !0),
|
|
5068
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
5069
|
-
|
|
5069
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", qd, [
|
|
5070
|
+
zd,
|
|
5070
5071
|
$(" " + h(a.getLabel), 1)
|
|
5071
5072
|
])) : g("", !0),
|
|
5072
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
5073
|
-
|
|
5073
|
+
a.hasLabelColor == "default" ? (d(), u("span", Hd, [
|
|
5074
|
+
Zd,
|
|
5074
5075
|
$(" " + h(a.getLabel), 1)
|
|
5075
5076
|
])) : g("", !0),
|
|
5076
|
-
a.hasLabelColor == "animate" ? (d(), u("span",
|
|
5077
|
-
|
|
5077
|
+
a.hasLabelColor == "animate" ? (d(), u("span", Kd, [
|
|
5078
|
+
Wd,
|
|
5078
5079
|
$(" " + h(a.getLabel), 1)
|
|
5079
5080
|
])) : g("", !0)
|
|
5080
5081
|
]);
|
|
5081
5082
|
}
|
|
5082
|
-
const
|
|
5083
|
+
const Tc = /* @__PURE__ */ O(Vd, [["render", Yd]]), Xd = {
|
|
5083
5084
|
props: ["field", "row", "tdProps"],
|
|
5084
5085
|
computed: {
|
|
5085
5086
|
formattedDate() {
|
|
@@ -5094,54 +5095,54 @@ const Lc = /* @__PURE__ */ O(Nd, [["render", Wd]]), Yd = {
|
|
|
5094
5095
|
return this.row[this.field] === 1;
|
|
5095
5096
|
}
|
|
5096
5097
|
}
|
|
5097
|
-
},
|
|
5098
|
-
function
|
|
5099
|
-
return d(), u("div",
|
|
5098
|
+
}, Jd = { class: "w-full" };
|
|
5099
|
+
function Qd(e, r, s, n, o, a) {
|
|
5100
|
+
return d(), u("div", Jd, h(a.formattedDate), 1);
|
|
5100
5101
|
}
|
|
5101
|
-
const
|
|
5102
|
+
const Ic = /* @__PURE__ */ O(Xd, [["render", Qd]]), eu = {
|
|
5102
5103
|
props: ["field", "row", "tdProps"]
|
|
5103
|
-
},
|
|
5104
|
+
}, tu = { class: "flex flex-wrap gap-2 text-nowrap" }, ru = {
|
|
5104
5105
|
key: 0,
|
|
5105
5106
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
5106
|
-
},
|
|
5107
|
+
}, su = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
5107
5108
|
/* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
5108
5109
|
/* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
5109
|
-
], -1),
|
|
5110
|
+
], -1), au = {
|
|
5110
5111
|
key: 1,
|
|
5111
5112
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"
|
|
5112
|
-
},
|
|
5113
|
+
}, nu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), ou = {
|
|
5113
5114
|
key: 2,
|
|
5114
5115
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
5115
|
-
},
|
|
5116
|
-
function
|
|
5117
|
-
return d(), u("div",
|
|
5118
|
-
s.row[s.field] === 0 ? (d(), u("span",
|
|
5119
|
-
|
|
5116
|
+
}, lu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
5117
|
+
function iu(e, r, s, n, o, a) {
|
|
5118
|
+
return d(), u("div", tu, [
|
|
5119
|
+
s.row[s.field] === 0 ? (d(), u("span", ru, [
|
|
5120
|
+
su,
|
|
5120
5121
|
$(" Provisioning")
|
|
5121
5122
|
])) : g("", !0),
|
|
5122
|
-
s.row[s.field] === 2 ? (d(), u("span",
|
|
5123
|
-
|
|
5123
|
+
s.row[s.field] === 2 ? (d(), u("span", au, [
|
|
5124
|
+
nu,
|
|
5124
5125
|
$(" Paused ")
|
|
5125
5126
|
])) : g("", !0),
|
|
5126
|
-
s.row[s.field] === 1 ? (d(), u("span",
|
|
5127
|
-
|
|
5127
|
+
s.row[s.field] === 1 ? (d(), u("span", ou, [
|
|
5128
|
+
lu,
|
|
5128
5129
|
$(" Active ")
|
|
5129
5130
|
])) : g("", !0)
|
|
5130
5131
|
]);
|
|
5131
5132
|
}
|
|
5132
|
-
const
|
|
5133
|
+
const Mc = /* @__PURE__ */ O(eu, [["render", iu]]), du = {
|
|
5133
5134
|
props: ["field", "row", "tdProps"]
|
|
5134
|
-
},
|
|
5135
|
+
}, uu = {
|
|
5135
5136
|
key: 0,
|
|
5136
5137
|
class: "text-nowrap"
|
|
5137
|
-
},
|
|
5138
|
-
function
|
|
5139
|
-
return s.row[s.field] ? (d(), u("div",
|
|
5140
|
-
t("pre",
|
|
5138
|
+
}, cu = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
|
|
5139
|
+
function gu(e, r, s, n, o, a) {
|
|
5140
|
+
return s.row[s.field] ? (d(), u("div", uu, [
|
|
5141
|
+
t("pre", cu, " " + h(s.row[s.field]) + `
|
|
5141
5142
|
`, 1)
|
|
5142
5143
|
])) : g("", !0);
|
|
5143
5144
|
}
|
|
5144
|
-
const
|
|
5145
|
+
const Nc = /* @__PURE__ */ O(du, [["render", gu]]), fu = {
|
|
5145
5146
|
props: ["isOpen", "title", "button_text"],
|
|
5146
5147
|
methods: {
|
|
5147
5148
|
confirmAction() {
|
|
@@ -5151,35 +5152,35 @@ const Mc = /* @__PURE__ */ O(iu, [["render", cu]]), gu = {
|
|
|
5151
5152
|
this.$emit("cancel-action");
|
|
5152
5153
|
}
|
|
5153
5154
|
}
|
|
5154
|
-
},
|
|
5155
|
+
}, hu = {
|
|
5155
5156
|
key: 0,
|
|
5156
5157
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
5157
5158
|
role: "dialog",
|
|
5158
5159
|
"aria-modal": "true"
|
|
5159
|
-
},
|
|
5160
|
+
}, mu = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, bu = /* @__PURE__ */ t("div", {
|
|
5160
5161
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
5161
5162
|
"aria-hidden": "true"
|
|
5162
|
-
}, null, -1),
|
|
5163
|
+
}, null, -1), pu = /* @__PURE__ */ t("span", {
|
|
5163
5164
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
5164
5165
|
"aria-hidden": "true"
|
|
5165
|
-
}, "", -1),
|
|
5166
|
-
function
|
|
5167
|
-
return s.isOpen ? (d(), u("div",
|
|
5168
|
-
t("div",
|
|
5169
|
-
mu,
|
|
5166
|
+
}, "", -1), yu = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, _u = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, vu = { class: "sm:flex sm:items-start" }, xu = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, wu = { class: "text-lg font-medium leading-6 text-gray-900" }, ku = { class: "mt-2" }, $u = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
5167
|
+
function Cu(e, r, s, n, o, a) {
|
|
5168
|
+
return s.isOpen ? (d(), u("div", hu, [
|
|
5169
|
+
t("div", mu, [
|
|
5170
5170
|
bu,
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
t("
|
|
5171
|
+
pu,
|
|
5172
|
+
t("div", yu, [
|
|
5173
|
+
t("div", _u, [
|
|
5174
|
+
t("div", vu, [
|
|
5175
|
+
t("div", xu, [
|
|
5176
|
+
t("h3", wu, h(s.title), 1),
|
|
5177
|
+
t("div", ku, [
|
|
5177
5178
|
N(e.$slots, "default")
|
|
5178
5179
|
])
|
|
5179
5180
|
])
|
|
5180
5181
|
])
|
|
5181
5182
|
]),
|
|
5182
|
-
t("div",
|
|
5183
|
+
t("div", $u, [
|
|
5183
5184
|
t("button", {
|
|
5184
5185
|
onClick: r[0] || (r[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
5185
5186
|
type: "button",
|
|
@@ -5195,10 +5196,10 @@ function $u(e, r, s, n, o, a) {
|
|
|
5195
5196
|
])
|
|
5196
5197
|
])) : g("", !0);
|
|
5197
5198
|
}
|
|
5198
|
-
const
|
|
5199
|
+
const Vc = /* @__PURE__ */ O(fu, [["render", Cu]]), Su = { class: "w-full" }, Du = { class: "mb-2 flex justify-between items-center" }, Ou = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Pu = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, Au = { class: "overflow-auto max-h-32" }, ju = { class: "text-sm text-gray-500 dark:text-gray-400" }, Eu = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Lu = {
|
|
5199
5200
|
key: 0,
|
|
5200
5201
|
class: "inline-flex items-center"
|
|
5201
|
-
},
|
|
5202
|
+
}, Tu = /* @__PURE__ */ t("svg", {
|
|
5202
5203
|
class: "w-3 h-3 me-2",
|
|
5203
5204
|
"aria-hidden": "true",
|
|
5204
5205
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5206,13 +5207,13 @@ const Nc = /* @__PURE__ */ O(gu, [["render", $u]]), Cu = { class: "w-full" }, Su
|
|
|
5206
5207
|
viewBox: "0 0 18 20"
|
|
5207
5208
|
}, [
|
|
5208
5209
|
/* @__PURE__ */ t("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
5209
|
-
], -1),
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
],
|
|
5210
|
+
], -1), Iu = /* @__PURE__ */ t("span", { class: "text-xs font-semibold" }, "Copy", -1), Mu = [
|
|
5211
|
+
Tu,
|
|
5212
|
+
Iu
|
|
5213
|
+
], Nu = {
|
|
5213
5214
|
key: 1,
|
|
5214
5215
|
class: "inline-flex items-center"
|
|
5215
|
-
},
|
|
5216
|
+
}, Vu = /* @__PURE__ */ t("svg", {
|
|
5216
5217
|
class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-2",
|
|
5217
5218
|
"aria-hidden": "true",
|
|
5218
5219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5226,10 +5227,10 @@ const Nc = /* @__PURE__ */ O(gu, [["render", $u]]), Cu = { class: "w-full" }, Su
|
|
|
5226
5227
|
"stroke-width": "2",
|
|
5227
5228
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
5228
5229
|
})
|
|
5229
|
-
], -1),
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
],
|
|
5230
|
+
], -1), Bu = /* @__PURE__ */ t("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), Gu = [
|
|
5231
|
+
Vu,
|
|
5232
|
+
Bu
|
|
5233
|
+
], Uu = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, Bc = {
|
|
5233
5234
|
__name: "GlCodeCopy",
|
|
5234
5235
|
props: {
|
|
5235
5236
|
label_name: {
|
|
@@ -5255,28 +5256,28 @@ const Nc = /* @__PURE__ */ O(gu, [["render", $u]]), Cu = { class: "w-full" }, Su
|
|
|
5255
5256
|
console.error("Error copying to clipboard: ", i);
|
|
5256
5257
|
});
|
|
5257
5258
|
}, o = T(() => r.code);
|
|
5258
|
-
return (a, i) => (d(), u("div",
|
|
5259
|
-
t("div",
|
|
5260
|
-
t("p",
|
|
5259
|
+
return (a, i) => (d(), u("div", Su, [
|
|
5260
|
+
t("div", Du, [
|
|
5261
|
+
t("p", Ou, h(e.label_name), 1)
|
|
5261
5262
|
]),
|
|
5262
|
-
t("div",
|
|
5263
|
-
t("div",
|
|
5264
|
-
t("code",
|
|
5263
|
+
t("div", Pu, [
|
|
5264
|
+
t("div", Au, [
|
|
5265
|
+
t("code", ju, h(o.value), 1)
|
|
5265
5266
|
]),
|
|
5266
|
-
t("div",
|
|
5267
|
+
t("div", Eu, [
|
|
5267
5268
|
t("button", {
|
|
5268
5269
|
onClick: i[0] || (i[0] = (l) => n(o.value)),
|
|
5269
5270
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
5270
5271
|
}, [
|
|
5271
|
-
s.value ? g("", !0) : (d(), u("span",
|
|
5272
|
-
s.value ? (d(), u("span",
|
|
5272
|
+
s.value ? g("", !0) : (d(), u("span", Lu, Mu)),
|
|
5273
|
+
s.value ? (d(), u("span", Nu, Gu)) : g("", !0)
|
|
5273
5274
|
])
|
|
5274
5275
|
])
|
|
5275
5276
|
]),
|
|
5276
|
-
t("p",
|
|
5277
|
+
t("p", Uu, h(e.description), 1)
|
|
5277
5278
|
]));
|
|
5278
5279
|
}
|
|
5279
|
-
},
|
|
5280
|
+
}, Fu = { class: "w-full" }, Ru = { class: "flex justify-between items-center" }, qu = { class: "gl-label-form" }, zu = { class: "flex items-center" }, Hu = { class: "flex-shrink-0 z-10 inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600" }, Zu = { class: "relative w-full" }, Ku = ["value"], Wu = { key: 0 }, Yu = /* @__PURE__ */ t("svg", {
|
|
5280
5281
|
class: "w-4 h-4",
|
|
5281
5282
|
"aria-hidden": "true",
|
|
5282
5283
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5284,12 +5285,12 @@ const Nc = /* @__PURE__ */ O(gu, [["render", $u]]), Cu = { class: "w-full" }, Su
|
|
|
5284
5285
|
viewBox: "0 0 18 20"
|
|
5285
5286
|
}, [
|
|
5286
5287
|
/* @__PURE__ */ t("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
5287
|
-
], -1),
|
|
5288
|
-
|
|
5289
|
-
],
|
|
5288
|
+
], -1), Xu = [
|
|
5289
|
+
Yu
|
|
5290
|
+
], Ju = {
|
|
5290
5291
|
key: 1,
|
|
5291
5292
|
class: "inline-flex items-center"
|
|
5292
|
-
},
|
|
5293
|
+
}, Qu = /* @__PURE__ */ t("svg", {
|
|
5293
5294
|
class: "w-4 h-4",
|
|
5294
5295
|
"aria-hidden": "true",
|
|
5295
5296
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5303,9 +5304,9 @@ const Nc = /* @__PURE__ */ O(gu, [["render", $u]]), Cu = { class: "w-full" }, Su
|
|
|
5303
5304
|
"stroke-width": "2",
|
|
5304
5305
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
5305
5306
|
})
|
|
5306
|
-
], -1),
|
|
5307
|
-
|
|
5308
|
-
],
|
|
5307
|
+
], -1), ec = [
|
|
5308
|
+
Qu
|
|
5309
|
+
], tc = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, Gc = {
|
|
5309
5310
|
__name: "GlTextCopy",
|
|
5310
5311
|
props: {
|
|
5311
5312
|
label_name: {
|
|
@@ -5335,13 +5336,13 @@ const Nc = /* @__PURE__ */ O(gu, [["render", $u]]), Cu = { class: "w-full" }, Su
|
|
|
5335
5336
|
console.error("Error copying to clipboard: ", i);
|
|
5336
5337
|
});
|
|
5337
5338
|
}, o = T(() => r.code);
|
|
5338
|
-
return (a, i) => (d(), u("div",
|
|
5339
|
-
t("div",
|
|
5340
|
-
t("label",
|
|
5339
|
+
return (a, i) => (d(), u("div", Fu, [
|
|
5340
|
+
t("div", Ru, [
|
|
5341
|
+
t("label", qu, h(e.label_name), 1)
|
|
5341
5342
|
]),
|
|
5342
|
-
t("div",
|
|
5343
|
-
t("span",
|
|
5344
|
-
t("div",
|
|
5343
|
+
t("div", zu, [
|
|
5344
|
+
t("span", Hu, h(e.text_name), 1),
|
|
5345
|
+
t("div", Zu, [
|
|
5345
5346
|
t("input", {
|
|
5346
5347
|
type: "text",
|
|
5347
5348
|
"aria-describedby": "helper-text-explanation",
|
|
@@ -5349,7 +5350,7 @@ const Nc = /* @__PURE__ */ O(gu, [["render", $u]]), Cu = { class: "w-full" }, Su
|
|
|
5349
5350
|
value: o.value,
|
|
5350
5351
|
readonly: "",
|
|
5351
5352
|
disabled: ""
|
|
5352
|
-
}, null, 8,
|
|
5353
|
+
}, null, 8, Ku)
|
|
5353
5354
|
]),
|
|
5354
5355
|
t("button", {
|
|
5355
5356
|
style: { padding: ".61rem" },
|
|
@@ -5357,54 +5358,54 @@ const Nc = /* @__PURE__ */ O(gu, [["render", $u]]), Cu = { class: "w-full" }, Su
|
|
|
5357
5358
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
5358
5359
|
type: "button"
|
|
5359
5360
|
}, [
|
|
5360
|
-
s.value ? g("", !0) : (d(), u("span",
|
|
5361
|
-
s.value ? (d(), u("span",
|
|
5361
|
+
s.value ? g("", !0) : (d(), u("span", Wu, Xu)),
|
|
5362
|
+
s.value ? (d(), u("span", Ju, ec)) : g("", !0)
|
|
5362
5363
|
])
|
|
5363
5364
|
]),
|
|
5364
|
-
t("p",
|
|
5365
|
+
t("p", tc, h(e.description), 1)
|
|
5365
5366
|
]));
|
|
5366
5367
|
}
|
|
5367
5368
|
};
|
|
5368
5369
|
export {
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5370
|
+
Tc as DatatableStatusTextLabelGeneral,
|
|
5371
|
+
Nc as GLDatatableCommand,
|
|
5372
|
+
Ic as GLDatatableDateTime,
|
|
5373
|
+
Mc as GLDatatableStatusServer,
|
|
5374
|
+
ic as GlButton,
|
|
5375
|
+
oc as GlCard,
|
|
5376
|
+
Bc as GlCodeCopy,
|
|
5377
|
+
Vc as GlConfirmationModal,
|
|
5378
|
+
wc as GlDataTable,
|
|
5379
|
+
vc as GlDataTableServerSide,
|
|
5380
|
+
xc as GlDataTableServerSideGroupBy,
|
|
5381
|
+
$c as GlDatatableAction,
|
|
5382
|
+
Cc as GlDatatableDeleteAction,
|
|
5383
|
+
Sc as GlDatatableFileDownload,
|
|
5384
|
+
Dc as GlDatatableFiles,
|
|
5385
|
+
Oc as GlDatatableHtml,
|
|
5386
|
+
Pc as GlDatatableList,
|
|
5387
|
+
Ac as GlDatatablePicture,
|
|
5388
|
+
jc as GlDatatableStatus,
|
|
5389
|
+
Ec as GlDatatableStatusGeneral,
|
|
5390
|
+
Lc as GlDatatableStatusSpecficColor,
|
|
5390
5391
|
xe as GlDeleteConfirmationModal,
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5392
|
+
yc as GlDropdown,
|
|
5393
|
+
sc as GlFilesUpload,
|
|
5394
|
+
nc as GlLanguageSelector,
|
|
5395
|
+
bc as GlModal,
|
|
5396
|
+
mc as GlMultiItemSlide,
|
|
5397
|
+
lc as GlMultiSelectDropdown,
|
|
5398
|
+
ac as GlNotify,
|
|
5399
|
+
hc as GlTab,
|
|
5400
|
+
fc as GlTabsWrapper,
|
|
5400
5401
|
Qe as GlTailwindPagination,
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5402
|
+
Gc as GlTextCopy,
|
|
5403
|
+
gc as GlTextInput,
|
|
5404
|
+
cc as GlTextTranslate,
|
|
5405
|
+
_c as GlTextarea,
|
|
5406
|
+
dc as GlTextareaTranslate,
|
|
5407
|
+
uc as GlTinymceTranslate,
|
|
5407
5408
|
je as GlToast,
|
|
5408
|
-
|
|
5409
|
-
|
|
5409
|
+
kc as GlToastList,
|
|
5410
|
+
pc as GlToggleBox
|
|
5410
5411
|
};
|