golden-logic-ui 1.0.73 → 1.0.74
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 +246 -242
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1121,7 +1121,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const kd = /* @__PURE__ */ S(Ht, [["render", wr]]), kr = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...qt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1213,7 +1213,7 @@ function Er(e, t, r, n, o, a) {
|
|
|
1213
1213
|
}, Pr, 2)
|
|
1214
1214
|
], 2)) : g("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const $d = /* @__PURE__ */ S(kr, [["render", Er]]), jr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1272,10 +1272,10 @@ function Mr(e, t, r, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const Cd = /* @__PURE__ */ S(jr, [["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" }, Lr = { class: "font-semibold text-black dark:text-white" }, Br = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
|
-
},
|
|
1278
|
+
}, Sd = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1586,7 +1586,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const Dd = /* @__PURE__ */ S(Gr, [["render", ns]]), os = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1688,7 +1688,7 @@ function is(e, t, r, n, o, a) {
|
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const Od = /* @__PURE__ */ S(os, [["render", is]]), ds = { class: "font-bold ptext-lg dark:text-white" }, us = ["name", "id"], cs = ["id"], fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), gs = ["for"], hs = /* @__PURE__ */ s("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), ms = ["name", "id"], bs = ["required", "name", "id", "type"], ps = { class: "gl-span-form-error" }, ys = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Pd = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1824,7 +1824,7 @@ const Dd = /* @__PURE__ */ S(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1824
1824
|
], 2))
|
|
1825
1825
|
], 64));
|
|
1826
1826
|
}
|
|
1827
|
-
}, _s = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("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), Cs = ["name", "id"], Ss = ["name", "id", "type"], Ds = { class: "gl-span-form-error" }, Os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1827
|
+
}, _s = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("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), Cs = ["name", "id"], Ss = ["name", "id", "type"], Ds = { class: "gl-span-form-error" }, Os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ed = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1963,7 +1963,7 @@ const Dd = /* @__PURE__ */ S(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1963
1963
|
], 2))
|
|
1964
1964
|
], 64));
|
|
1965
1965
|
}
|
|
1966
|
-
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__PURE__ */ s("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), Ms = ["name", "id"], Ns = ["required", "name", "id", "type"], Vs = { class: "gl-span-form-error" }, Ls = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1966
|
+
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__PURE__ */ s("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), Ms = ["name", "id"], Ns = ["required", "name", "id", "type"], Vs = { class: "gl-span-form-error" }, Ls = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, jd = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2096,7 +2096,7 @@ const Dd = /* @__PURE__ */ S(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2096
2096
|
], 2))
|
|
2097
2097
|
], 64));
|
|
2098
2098
|
}
|
|
2099
|
-
}, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2099
|
+
}, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ad = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2232,7 +2232,7 @@ function ea(e, t, r, n, o, a) {
|
|
|
2232
2232
|
])
|
|
2233
2233
|
], 64);
|
|
2234
2234
|
}
|
|
2235
|
-
const
|
|
2235
|
+
const Td = /* @__PURE__ */ S(Hs, [["render", ea]]), ta = {
|
|
2236
2236
|
props: ["title"],
|
|
2237
2237
|
setup() {
|
|
2238
2238
|
return {
|
|
@@ -2247,7 +2247,7 @@ function sa(e, t, r, n, o, a) {
|
|
|
2247
2247
|
[F, r.title == n.selectedTitle]
|
|
2248
2248
|
]);
|
|
2249
2249
|
}
|
|
2250
|
-
const
|
|
2250
|
+
const Id = /* @__PURE__ */ S(ta, [["render", sa]]), aa = {
|
|
2251
2251
|
props: {
|
|
2252
2252
|
elements_to_show_prop: {
|
|
2253
2253
|
type: Number,
|
|
@@ -2648,7 +2648,7 @@ function dn(e, t, r, n, o, a) {
|
|
|
2648
2648
|
], 10, na)
|
|
2649
2649
|
]);
|
|
2650
2650
|
}
|
|
2651
|
-
const
|
|
2651
|
+
const Md = /* @__PURE__ */ S(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
|
|
2652
2652
|
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",
|
|
2653
2653
|
tabindex: "-1",
|
|
2654
2654
|
"aria-hidden": "true"
|
|
@@ -2668,7 +2668,7 @@ const Id = /* @__PURE__ */ S(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2668
2668
|
])
|
|
2669
2669
|
], -1), mn = [
|
|
2670
2670
|
hn
|
|
2671
|
-
], bn = { 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" },
|
|
2671
|
+
], bn = { 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" }, Nd = {
|
|
2672
2672
|
__name: "GlModal",
|
|
2673
2673
|
props: {
|
|
2674
2674
|
is_open: {
|
|
@@ -2736,7 +2736,7 @@ const Id = /* @__PURE__ */ S(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2736
2736
|
[F, e.is_open]
|
|
2737
2737
|
]);
|
|
2738
2738
|
}
|
|
2739
|
-
}, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { class: "relative inline-flex items-center cursor-pointer" }, vn = ["name", "id", "checked"], xn = /* @__PURE__ */ s("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), wn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ s("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), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2739
|
+
}, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { class: "relative inline-flex items-center cursor-pointer" }, vn = ["name", "id", "checked"], xn = /* @__PURE__ */ s("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), wn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ s("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), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Vd = {
|
|
2740
2740
|
__name: "GlToggleBox",
|
|
2741
2741
|
props: {
|
|
2742
2742
|
is_required: {
|
|
@@ -2878,7 +2878,7 @@ const Id = /* @__PURE__ */ S(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2878
2878
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2879
2879
|
}, null, -1), Wn = [
|
|
2880
2880
|
Kn
|
|
2881
|
-
], Xn = { 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" },
|
|
2881
|
+
], Xn = { 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" }, Ld = {
|
|
2882
2882
|
__name: "GlDropdown",
|
|
2883
2883
|
props: {
|
|
2884
2884
|
modelValue: {
|
|
@@ -3139,7 +3139,7 @@ const Id = /* @__PURE__ */ S(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3139
3139
|
], 64);
|
|
3140
3140
|
};
|
|
3141
3141
|
}
|
|
3142
|
-
}, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3142
|
+
}, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Bd = {
|
|
3143
3143
|
__name: "GlTextarea",
|
|
3144
3144
|
props: {
|
|
3145
3145
|
is_required: {
|
|
@@ -3588,7 +3588,7 @@ const xo = /* @__PURE__ */ S(oo, [["render", vo]]), wo = {
|
|
|
3588
3588
|
}, Lo = {
|
|
3589
3589
|
key: 1,
|
|
3590
3590
|
class: "fa fa-arrow-down"
|
|
3591
|
-
}, Bo = { key: 0 }, Go = /* @__PURE__ */ s("div", {
|
|
3591
|
+
}, Bo = { key: 0 }, Go = ["colspan"], Fo = /* @__PURE__ */ s("div", {
|
|
3592
3592
|
role: "status",
|
|
3593
3593
|
class: "max-w-md p-4 space-y-4 border border-gray-200 divide-y divide-gray-200 rounded shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700"
|
|
3594
3594
|
}, [
|
|
@@ -3628,10 +3628,10 @@ const xo = /* @__PURE__ */ S(oo, [["render", vo]]), wo = {
|
|
|
3628
3628
|
/* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
|
|
3629
3629
|
]),
|
|
3630
3630
|
/* @__PURE__ */ s("span", { class: "sr-only" }, "Loading...")
|
|
3631
|
-
], -1),
|
|
3632
|
-
|
|
3633
|
-
],
|
|
3634
|
-
function
|
|
3631
|
+
], -1), Ro = [
|
|
3632
|
+
Fo
|
|
3633
|
+
], Uo = ["data-label"], qo = { class: "overflow-auto max-h-40" }, zo = { 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" };
|
|
3634
|
+
function Ho(e, t, r, n, o, a) {
|
|
3635
3635
|
const i = Y("dropdown"), l = Y("TailwindPagination");
|
|
3636
3636
|
return d(), u("div", ko, [
|
|
3637
3637
|
s("div", $o, [
|
|
@@ -3684,7 +3684,11 @@ function zo(e, t, r, n, o, a) {
|
|
|
3684
3684
|
])
|
|
3685
3685
|
]),
|
|
3686
3686
|
s("tbody", null, [
|
|
3687
|
-
o.isLoading ? (d(), u("tr", Bo,
|
|
3687
|
+
o.isLoading ? (d(), u("tr", Bo, [
|
|
3688
|
+
s("td", {
|
|
3689
|
+
colspan: r.columns.length
|
|
3690
|
+
}, Ro, 8, Go)
|
|
3691
|
+
])) : g("", !0),
|
|
3688
3692
|
o.isLoading ? g("", !0) : (d(!0), u(v, { key: 1 }, k(o.itemLists.data, (c, f) => (d(), u("tr", {
|
|
3689
3693
|
key: f,
|
|
3690
3694
|
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"
|
|
@@ -3694,7 +3698,7 @@ function zo(e, t, r, n, o, a) {
|
|
|
3694
3698
|
"data-label": m.field_label,
|
|
3695
3699
|
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-2.5 lg:px-4 border dark:border-gray-700"
|
|
3696
3700
|
}, [
|
|
3697
|
-
s("div",
|
|
3701
|
+
s("div", qo, [
|
|
3698
3702
|
m.tdComp ? (d(), K(oe(a.forDynCompIs(m.tdComp)), {
|
|
3699
3703
|
key: 0,
|
|
3700
3704
|
row: c,
|
|
@@ -3706,12 +3710,12 @@ function zo(e, t, r, n, o, a) {
|
|
|
3706
3710
|
w(h(c[m.field_name]), 1)
|
|
3707
3711
|
], 64))
|
|
3708
3712
|
])
|
|
3709
|
-
], 8,
|
|
3713
|
+
], 8, Uo))), 128))
|
|
3710
3714
|
]))), 128))
|
|
3711
3715
|
])
|
|
3712
3716
|
])
|
|
3713
3717
|
]),
|
|
3714
|
-
s("div",
|
|
3718
|
+
s("div", zo, [
|
|
3715
3719
|
Z(l, {
|
|
3716
3720
|
class: "mt-3 mb-0",
|
|
3717
3721
|
data: o.itemLists,
|
|
@@ -3723,7 +3727,7 @@ function zo(e, t, r, n, o, a) {
|
|
|
3723
3727
|
])
|
|
3724
3728
|
]);
|
|
3725
3729
|
}
|
|
3726
|
-
const
|
|
3730
|
+
const Gd = /* @__PURE__ */ S(wo, [["render", Ho]]), Zo = {
|
|
3727
3731
|
components: {},
|
|
3728
3732
|
props: {
|
|
3729
3733
|
data: Array,
|
|
@@ -3820,10 +3824,10 @@ const Bd = /* @__PURE__ */ S(wo, [["render", zo]]), Ho = {
|
|
|
3820
3824
|
mounted() {
|
|
3821
3825
|
document.body.addEventListener("click", this.closeBoxOnbodyClick);
|
|
3822
3826
|
}
|
|
3823
|
-
},
|
|
3827
|
+
}, Ko = { class: "p-2" }, Wo = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Xo = { class: "flex items-center gap-2" }, Yo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Jo = { style: { "margin-top": "9px" } }, Qo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), el = /* @__PURE__ */ s("label", {
|
|
3824
3828
|
for: "table-search",
|
|
3825
3829
|
class: "sr-only"
|
|
3826
|
-
}, "Search", -1),
|
|
3830
|
+
}, "Search", -1), tl = { class: "relative" }, rl = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
|
|
3827
3831
|
/* @__PURE__ */ s("svg", {
|
|
3828
3832
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3829
3833
|
"aria-hidden": "true",
|
|
@@ -3837,10 +3841,10 @@ const Bd = /* @__PURE__ */ S(wo, [["render", zo]]), Ho = {
|
|
|
3837
3841
|
"clip-rule": "evenodd"
|
|
3838
3842
|
})
|
|
3839
3843
|
])
|
|
3840
|
-
], -1),
|
|
3844
|
+
], -1), sl = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, al = { 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" }, nl = { class: "hidden text-sm font-normal text-center text-gray-700 uppercase lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, ol = ["onClick"], ll = {
|
|
3841
3845
|
key: 0,
|
|
3842
3846
|
class: "ml-2"
|
|
3843
|
-
},
|
|
3847
|
+
}, il = ["data-label"], dl = ["innerHTML"], ul = { 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" }, cl = { class: "flex justify-between flex-1 sm:hidden" }, fl = ["disabled"], gl = ["disabled"], hl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, ml = { class: "text-sm text-gray-700 dark:text-gray-400" }, bl = { class: "font-medium" }, pl = { class: "font-medium" }, yl = { class: "font-medium" }, _l = { "aria-label": "Page navigation" }, vl = { class: "flex items-center h-8 -space-x-px text-sm" }, xl = ["disabled"], wl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), kl = /* @__PURE__ */ s("svg", {
|
|
3844
3848
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3845
3849
|
"aria-hidden": "true",
|
|
3846
3850
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3854,10 +3858,10 @@ const Bd = /* @__PURE__ */ S(wo, [["render", zo]]), Ho = {
|
|
|
3854
3858
|
"stroke-width": "2",
|
|
3855
3859
|
d: "M5 1 1 5l4 4"
|
|
3856
3860
|
})
|
|
3857
|
-
], -1),
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
],
|
|
3861
|
+
], -1), $l = [
|
|
3862
|
+
wl,
|
|
3863
|
+
kl
|
|
3864
|
+
], Cl = ["onClick"], Sl = ["onClick"], Dl = ["disabled"], Ol = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), Pl = /* @__PURE__ */ s("svg", {
|
|
3861
3865
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3862
3866
|
"aria-hidden": "true",
|
|
3863
3867
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3871,17 +3875,17 @@ const Bd = /* @__PURE__ */ S(wo, [["render", zo]]), Ho = {
|
|
|
3871
3875
|
"stroke-width": "2",
|
|
3872
3876
|
d: "m1 9 4-4-4-4"
|
|
3873
3877
|
})
|
|
3874
|
-
], -1),
|
|
3875
|
-
|
|
3876
|
-
|
|
3878
|
+
], -1), El = [
|
|
3879
|
+
Ol,
|
|
3880
|
+
Pl
|
|
3877
3881
|
];
|
|
3878
|
-
function
|
|
3882
|
+
function jl(e, t, r, n, o, a) {
|
|
3879
3883
|
const i = Y("dropdown");
|
|
3880
|
-
return d(), u("div",
|
|
3881
|
-
s("div",
|
|
3882
|
-
s("div",
|
|
3883
|
-
|
|
3884
|
-
s("div",
|
|
3884
|
+
return d(), u("div", Ko, [
|
|
3885
|
+
s("div", Wo, [
|
|
3886
|
+
s("div", Xo, [
|
|
3887
|
+
Yo,
|
|
3888
|
+
s("div", Jo, [
|
|
3885
3889
|
Z(i, {
|
|
3886
3890
|
has_cancel: !1,
|
|
3887
3891
|
options: o.showNoOfEntries,
|
|
@@ -3895,11 +3899,11 @@ function El(e, t, r, n, o, a) {
|
|
|
3895
3899
|
placeholder: "Please select an option"
|
|
3896
3900
|
}, null, 8, ["options", "modelValue"])
|
|
3897
3901
|
]),
|
|
3898
|
-
|
|
3902
|
+
Qo
|
|
3899
3903
|
]),
|
|
3900
|
-
|
|
3901
|
-
s("div",
|
|
3902
|
-
|
|
3904
|
+
el,
|
|
3905
|
+
s("div", tl, [
|
|
3906
|
+
rl,
|
|
3903
3907
|
O(s("input", {
|
|
3904
3908
|
type: "text",
|
|
3905
3909
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => o.search = l),
|
|
@@ -3910,9 +3914,9 @@ function El(e, t, r, n, o, a) {
|
|
|
3910
3914
|
])
|
|
3911
3915
|
])
|
|
3912
3916
|
]),
|
|
3913
|
-
s("div",
|
|
3914
|
-
s("table",
|
|
3915
|
-
s("thead",
|
|
3917
|
+
s("div", sl, [
|
|
3918
|
+
s("table", al, [
|
|
3919
|
+
s("thead", nl, [
|
|
3916
3920
|
s("tr", null, [
|
|
3917
3921
|
(d(!0), u(v, null, k(r.columns, (l, c) => (d(), u("th", {
|
|
3918
3922
|
key: c,
|
|
@@ -3920,8 +3924,8 @@ function El(e, t, r, n, o, a) {
|
|
|
3920
3924
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3921
3925
|
}, [
|
|
3922
3926
|
w(h(l) + " ", 1),
|
|
3923
|
-
o.sortKey === l ? (d(), u("span",
|
|
3924
|
-
], 8,
|
|
3927
|
+
o.sortKey === l ? (d(), u("span", ll, h(o.sortOrder === 1 ? "▲" : "▼"), 1)) : g("", !0)
|
|
3928
|
+
], 8, ol))), 128))
|
|
3925
3929
|
])
|
|
3926
3930
|
]),
|
|
3927
3931
|
s("tbody", null, [
|
|
@@ -3937,49 +3941,49 @@ function El(e, t, r, n, o, a) {
|
|
|
3937
3941
|
s("p", {
|
|
3938
3942
|
class: "text-pretty",
|
|
3939
3943
|
innerHTML: l[m]
|
|
3940
|
-
}, null, 8,
|
|
3941
|
-
], 8,
|
|
3944
|
+
}, null, 8, dl)
|
|
3945
|
+
], 8, il))), 128))
|
|
3942
3946
|
]))), 128))
|
|
3943
3947
|
])
|
|
3944
3948
|
])
|
|
3945
3949
|
]),
|
|
3946
|
-
s("div",
|
|
3947
|
-
s("div",
|
|
3950
|
+
s("div", ul, [
|
|
3951
|
+
s("div", cl, [
|
|
3948
3952
|
s("a", {
|
|
3949
3953
|
href: "#",
|
|
3950
3954
|
onClick: t[2] || (t[2] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
3951
3955
|
disabled: o.currentPage === 1,
|
|
3952
3956
|
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"
|
|
3953
|
-
}, "Previous", 8,
|
|
3957
|
+
}, "Previous", 8, fl),
|
|
3954
3958
|
s("a", {
|
|
3955
3959
|
href: "#",
|
|
3956
3960
|
onClick: t[3] || (t[3] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
3957
3961
|
disabled: o.currentPage === a.totalPages,
|
|
3958
3962
|
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"
|
|
3959
|
-
}, "Next", 8,
|
|
3963
|
+
}, "Next", 8, gl)
|
|
3960
3964
|
]),
|
|
3961
|
-
s("div",
|
|
3965
|
+
s("div", hl, [
|
|
3962
3966
|
s("div", null, [
|
|
3963
|
-
s("p",
|
|
3967
|
+
s("p", ml, [
|
|
3964
3968
|
w(" Showing "),
|
|
3965
|
-
s("span",
|
|
3969
|
+
s("span", bl, h(a.firstItemIndex), 1),
|
|
3966
3970
|
w(" to "),
|
|
3967
|
-
s("span",
|
|
3971
|
+
s("span", pl, h(a.lastItemIndex), 1),
|
|
3968
3972
|
w(" of "),
|
|
3969
|
-
s("span",
|
|
3973
|
+
s("span", yl, h(a.filteredData.length), 1),
|
|
3970
3974
|
w(" entries ")
|
|
3971
3975
|
])
|
|
3972
3976
|
]),
|
|
3973
3977
|
s("div", null, [
|
|
3974
|
-
s("nav",
|
|
3975
|
-
s("ul",
|
|
3978
|
+
s("nav", _l, [
|
|
3979
|
+
s("ul", vl, [
|
|
3976
3980
|
s("li", null, [
|
|
3977
3981
|
s("a", {
|
|
3978
3982
|
href: "#",
|
|
3979
3983
|
onClick: t[4] || (t[4] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
3980
3984
|
disabled: o.currentPage === 1,
|
|
3981
3985
|
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"
|
|
3982
|
-
},
|
|
3986
|
+
}, $l, 8, xl)
|
|
3983
3987
|
]),
|
|
3984
3988
|
(d(!0), u(v, null, k(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
|
|
3985
3989
|
s("li", null, [
|
|
@@ -3988,7 +3992,7 @@ function El(e, t, r, n, o, a) {
|
|
|
3988
3992
|
href: "#",
|
|
3989
3993
|
onClick: (c) => a.goToPage(l),
|
|
3990
3994
|
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"
|
|
3991
|
-
}, h(l), 9,
|
|
3995
|
+
}, h(l), 9, Cl)) : g("", !0)
|
|
3992
3996
|
]),
|
|
3993
3997
|
s("li", null, [
|
|
3994
3998
|
o.currentPage === l ? (d(), u("a", {
|
|
@@ -3997,7 +4001,7 @@ function El(e, t, r, n, o, a) {
|
|
|
3997
4001
|
onClick: (c) => a.goToPage(l),
|
|
3998
4002
|
"aria-current": "page",
|
|
3999
4003
|
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"
|
|
4000
|
-
}, h(l), 9,
|
|
4004
|
+
}, h(l), 9, Sl)) : g("", !0)
|
|
4001
4005
|
])
|
|
4002
4006
|
], 64))), 128)),
|
|
4003
4007
|
s("li", null, [
|
|
@@ -4006,7 +4010,7 @@ function El(e, t, r, n, o, a) {
|
|
|
4006
4010
|
onClick: t[5] || (t[5] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
4007
4011
|
disabled: o.currentPage === a.totalPages,
|
|
4008
4012
|
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"
|
|
4009
|
-
},
|
|
4013
|
+
}, El, 8, Dl)
|
|
4010
4014
|
])
|
|
4011
4015
|
])
|
|
4012
4016
|
])
|
|
@@ -4015,13 +4019,13 @@ function El(e, t, r, n, o, a) {
|
|
|
4015
4019
|
])
|
|
4016
4020
|
]);
|
|
4017
4021
|
}
|
|
4018
|
-
const
|
|
4022
|
+
const Fd = /* @__PURE__ */ S(Zo, [["render", jl]]), Al = {
|
|
4019
4023
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4020
4024
|
role: "alert"
|
|
4021
|
-
},
|
|
4025
|
+
}, Tl = {
|
|
4022
4026
|
key: 0,
|
|
4023
4027
|
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"
|
|
4024
|
-
},
|
|
4028
|
+
}, Il = /* @__PURE__ */ s("svg", {
|
|
4025
4029
|
class: "w-5 h-5",
|
|
4026
4030
|
"aria-hidden": "true",
|
|
4027
4031
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4029,13 +4033,13 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4029
4033
|
viewBox: "0 0 20 20"
|
|
4030
4034
|
}, [
|
|
4031
4035
|
/* @__PURE__ */ s("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" })
|
|
4032
|
-
], -1),
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
],
|
|
4036
|
+
], -1), Ml = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Nl = [
|
|
4037
|
+
Il,
|
|
4038
|
+
Ml
|
|
4039
|
+
], Vl = {
|
|
4036
4040
|
key: 1,
|
|
4037
4041
|
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"
|
|
4038
|
-
},
|
|
4042
|
+
}, Ll = /* @__PURE__ */ s("svg", {
|
|
4039
4043
|
class: "w-5 h-5",
|
|
4040
4044
|
"aria-hidden": "true",
|
|
4041
4045
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4043,13 +4047,13 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4043
4047
|
viewBox: "0 0 20 20"
|
|
4044
4048
|
}, [
|
|
4045
4049
|
/* @__PURE__ */ s("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" })
|
|
4046
|
-
], -1),
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
],
|
|
4050
|
+
], -1), Bl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Gl = [
|
|
4051
|
+
Ll,
|
|
4052
|
+
Bl
|
|
4053
|
+
], Fl = {
|
|
4050
4054
|
key: 2,
|
|
4051
4055
|
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"
|
|
4052
|
-
},
|
|
4056
|
+
}, Rl = /* @__PURE__ */ s("svg", {
|
|
4053
4057
|
class: "w-5 h-5",
|
|
4054
4058
|
"aria-hidden": "true",
|
|
4055
4059
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4057,10 +4061,10 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4057
4061
|
viewBox: "0 0 20 20"
|
|
4058
4062
|
}, [
|
|
4059
4063
|
/* @__PURE__ */ s("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" })
|
|
4060
|
-
], -1),
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
],
|
|
4064
|
+
], -1), Ul = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), ql = [
|
|
4065
|
+
Rl,
|
|
4066
|
+
Ul
|
|
4067
|
+
], zl = { class: "ml-3 text-sm font-normal" }, Hl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Zl = /* @__PURE__ */ s("svg", {
|
|
4064
4068
|
"aria-hidden": "true",
|
|
4065
4069
|
class: "w-5 h-5",
|
|
4066
4070
|
fill: "currentColor",
|
|
@@ -4072,10 +4076,10 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4072
4076
|
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",
|
|
4073
4077
|
"clip-rule": "evenodd"
|
|
4074
4078
|
})
|
|
4075
|
-
], -1),
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
],
|
|
4079
|
+
], -1), Kl = [
|
|
4080
|
+
Hl,
|
|
4081
|
+
Zl
|
|
4082
|
+
], Wl = {
|
|
4079
4083
|
__name: "ToastListItem",
|
|
4080
4084
|
props: {
|
|
4081
4085
|
message: String,
|
|
@@ -4095,23 +4099,23 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4095
4099
|
setTimeout(() => n("remove"), r.duration);
|
|
4096
4100
|
});
|
|
4097
4101
|
const n = t;
|
|
4098
|
-
return (o, a) => (d(), u("div",
|
|
4099
|
-
r.type === "success" ? (d(), u("div",
|
|
4100
|
-
r.type === "error" ? (d(), u("div",
|
|
4101
|
-
r.type === "warning" ? (d(), u("div",
|
|
4102
|
-
s("div",
|
|
4102
|
+
return (o, a) => (d(), u("div", Al, [
|
|
4103
|
+
r.type === "success" ? (d(), u("div", Tl, Nl)) : g("", !0),
|
|
4104
|
+
r.type === "error" ? (d(), u("div", Vl, Gl)) : g("", !0),
|
|
4105
|
+
r.type === "warning" ? (d(), u("div", Fl, ql)) : g("", !0),
|
|
4106
|
+
s("div", zl, h(r.message), 1),
|
|
4103
4107
|
s("button", {
|
|
4104
4108
|
onClick: a[0] || (a[0] = (i) => n("remove")),
|
|
4105
4109
|
type: "button",
|
|
4106
4110
|
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",
|
|
4107
4111
|
"data-dismiss-target": "#toast-default",
|
|
4108
4112
|
"aria-label": "Close"
|
|
4109
|
-
},
|
|
4113
|
+
}, Kl)
|
|
4110
4114
|
]));
|
|
4111
4115
|
}
|
|
4112
4116
|
}, de = Se({
|
|
4113
4117
|
items: []
|
|
4114
|
-
}),
|
|
4118
|
+
}), Xl = {
|
|
4115
4119
|
add(e) {
|
|
4116
4120
|
de.items.unshift({
|
|
4117
4121
|
key: Symbol(),
|
|
@@ -4125,8 +4129,8 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4125
4129
|
}
|
|
4126
4130
|
}, $e = {
|
|
4127
4131
|
state: de,
|
|
4128
|
-
methods:
|
|
4129
|
-
},
|
|
4132
|
+
methods: Xl
|
|
4133
|
+
}, Rd = {
|
|
4130
4134
|
__name: "GlToastList",
|
|
4131
4135
|
setup(e) {
|
|
4132
4136
|
function t(r) {
|
|
@@ -4141,7 +4145,7 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4141
4145
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4142
4146
|
}, {
|
|
4143
4147
|
default: J(() => [
|
|
4144
|
-
(d(!0), u(v, null, k(it($e).state.items, (o, a) => (d(), K(
|
|
4148
|
+
(d(!0), u(v, null, k(it($e).state.items, (o, a) => (d(), K(Wl, {
|
|
4145
4149
|
key: o.key,
|
|
4146
4150
|
message: o.message,
|
|
4147
4151
|
type: o.type,
|
|
@@ -4152,10 +4156,10 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4152
4156
|
_: 1
|
|
4153
4157
|
}));
|
|
4154
4158
|
}
|
|
4155
|
-
},
|
|
4159
|
+
}, Yl = {
|
|
4156
4160
|
key: 0,
|
|
4157
4161
|
class: "flex justify-center"
|
|
4158
|
-
},
|
|
4162
|
+
}, Jl = /* @__PURE__ */ s("svg", {
|
|
4159
4163
|
class: "w-5 h-5",
|
|
4160
4164
|
"aria-hidden": "true",
|
|
4161
4165
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4163,12 +4167,12 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4163
4167
|
viewBox: "0 0 4 15"
|
|
4164
4168
|
}, [
|
|
4165
4169
|
/* @__PURE__ */ s("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" })
|
|
4166
|
-
], -1),
|
|
4167
|
-
|
|
4168
|
-
],
|
|
4170
|
+
], -1), Ql = [
|
|
4171
|
+
Jl
|
|
4172
|
+
], ei = { 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" }, ti = {
|
|
4169
4173
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4170
4174
|
"aria-labelledby": "dropdownDividerButton"
|
|
4171
|
-
},
|
|
4175
|
+
}, ri = { key: 0 }, si = ["href"], ai = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ni = { key: 1 }, oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Ud = {
|
|
4172
4176
|
__name: "DatatableAction",
|
|
4173
4177
|
props: {
|
|
4174
4178
|
field: {
|
|
@@ -4221,30 +4225,30 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4221
4225
|
onConfirmDelete: y,
|
|
4222
4226
|
onCancelDelete: c
|
|
4223
4227
|
}, null, 8, ["isOpen"]),
|
|
4224
|
-
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div",
|
|
4228
|
+
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div", Yl, [
|
|
4225
4229
|
s("button", {
|
|
4226
4230
|
onClick: l,
|
|
4227
4231
|
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",
|
|
4228
4232
|
type: "button"
|
|
4229
|
-
},
|
|
4230
|
-
O(s("div",
|
|
4231
|
-
s("ul",
|
|
4232
|
-
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4233
|
+
}, Ql),
|
|
4234
|
+
O(s("div", ei, [
|
|
4235
|
+
s("ul", ti, [
|
|
4236
|
+
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ri, [
|
|
4233
4237
|
s("a", {
|
|
4234
4238
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4235
4239
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4236
4240
|
}, [
|
|
4237
|
-
|
|
4241
|
+
ai,
|
|
4238
4242
|
w(" Edit")
|
|
4239
|
-
], 8,
|
|
4243
|
+
], 8, si)
|
|
4240
4244
|
])) : g("", !0),
|
|
4241
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4245
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ni, [
|
|
4242
4246
|
s("a", {
|
|
4243
4247
|
href: "#",
|
|
4244
4248
|
onClick: N(f, ["prevent"]),
|
|
4245
4249
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4246
4250
|
}, [
|
|
4247
|
-
|
|
4251
|
+
oi,
|
|
4248
4252
|
w(" Remove")
|
|
4249
4253
|
])
|
|
4250
4254
|
])) : g("", !0)
|
|
@@ -4258,10 +4262,10 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4258
4262
|
], 64);
|
|
4259
4263
|
};
|
|
4260
4264
|
}
|
|
4261
|
-
},
|
|
4265
|
+
}, li = {
|
|
4262
4266
|
key: 0,
|
|
4263
4267
|
class: "flex justify-center"
|
|
4264
|
-
},
|
|
4268
|
+
}, ii = /* @__PURE__ */ s("svg", {
|
|
4265
4269
|
class: "w-5 h-5",
|
|
4266
4270
|
"aria-hidden": "true",
|
|
4267
4271
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4269,12 +4273,12 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4269
4273
|
viewBox: "0 0 4 15"
|
|
4270
4274
|
}, [
|
|
4271
4275
|
/* @__PURE__ */ s("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" })
|
|
4272
|
-
], -1),
|
|
4273
|
-
|
|
4274
|
-
],
|
|
4276
|
+
], -1), di = [
|
|
4277
|
+
ii
|
|
4278
|
+
], ui = { 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" }, ci = {
|
|
4275
4279
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4276
4280
|
"aria-labelledby": "dropdownDividerButton"
|
|
4277
|
-
},
|
|
4281
|
+
}, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), qd = {
|
|
4278
4282
|
__name: "DatatableDeleteAction",
|
|
4279
4283
|
props: {
|
|
4280
4284
|
field: {
|
|
@@ -4327,21 +4331,21 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4327
4331
|
onConfirmDelete: y,
|
|
4328
4332
|
onCancelDelete: c
|
|
4329
4333
|
}, null, 8, ["isOpen"]),
|
|
4330
|
-
e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div",
|
|
4334
|
+
e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div", li, [
|
|
4331
4335
|
s("button", {
|
|
4332
4336
|
onClick: l,
|
|
4333
4337
|
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",
|
|
4334
4338
|
type: "button"
|
|
4335
|
-
},
|
|
4336
|
-
O(s("div",
|
|
4337
|
-
s("ul",
|
|
4338
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4339
|
+
}, di),
|
|
4340
|
+
O(s("div", ui, [
|
|
4341
|
+
s("ul", ci, [
|
|
4342
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", fi, [
|
|
4339
4343
|
s("a", {
|
|
4340
4344
|
href: "#",
|
|
4341
4345
|
onClick: N(f, ["prevent"]),
|
|
4342
4346
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4343
4347
|
}, [
|
|
4344
|
-
|
|
4348
|
+
gi,
|
|
4345
4349
|
w(" Remove")
|
|
4346
4350
|
])
|
|
4347
4351
|
])) : g("", !0)
|
|
@@ -4355,7 +4359,7 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4355
4359
|
], 64);
|
|
4356
4360
|
};
|
|
4357
4361
|
}
|
|
4358
|
-
},
|
|
4362
|
+
}, hi = {
|
|
4359
4363
|
props: ["field", "row"],
|
|
4360
4364
|
computed: {
|
|
4361
4365
|
isArray() {
|
|
@@ -4371,7 +4375,7 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4371
4375
|
mounted() {
|
|
4372
4376
|
console.log("row : ", this.row);
|
|
4373
4377
|
}
|
|
4374
|
-
},
|
|
4378
|
+
}, mi = ["href", "title"], bi = /* @__PURE__ */ s("svg", {
|
|
4375
4379
|
class: "w-3 h-3 text-white me-2",
|
|
4376
4380
|
"aria-hidden": "true",
|
|
4377
4381
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4388,10 +4392,10 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4388
4392
|
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",
|
|
4389
4393
|
"clip-rule": "evenodd"
|
|
4390
4394
|
})
|
|
4391
|
-
], -1),
|
|
4395
|
+
], -1), pi = {
|
|
4392
4396
|
key: 1,
|
|
4393
4397
|
class: "m-1 d-inline-block"
|
|
4394
|
-
},
|
|
4398
|
+
}, yi = ["href", "title"], _i = /* @__PURE__ */ s("svg", {
|
|
4395
4399
|
class: "w-3 h-3 text-white me-2",
|
|
4396
4400
|
"aria-hidden": "true",
|
|
4397
4401
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4409,7 +4413,7 @@ const Gd = /* @__PURE__ */ S(Ho, [["render", El]]), jl = {
|
|
|
4409
4413
|
"clip-rule": "evenodd"
|
|
4410
4414
|
})
|
|
4411
4415
|
], -1);
|
|
4412
|
-
function
|
|
4416
|
+
function vi(e, t, r, n, o, a) {
|
|
4413
4417
|
return d(), u("div", null, [
|
|
4414
4418
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row, (i, l) => (d(), u("div", {
|
|
4415
4419
|
key: l,
|
|
@@ -4421,23 +4425,23 @@ function _i(e, t, r, n, o, a) {
|
|
|
4421
4425
|
target: "_blank",
|
|
4422
4426
|
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"
|
|
4423
4427
|
}, [
|
|
4424
|
-
|
|
4428
|
+
bi,
|
|
4425
4429
|
w(" Download ")
|
|
4426
|
-
], 8,
|
|
4427
|
-
]))), 128)) : a.isString ? (d(), u("div",
|
|
4430
|
+
], 8, mi)
|
|
4431
|
+
]))), 128)) : a.isString ? (d(), u("div", pi, [
|
|
4428
4432
|
s("a", {
|
|
4429
4433
|
href: r.row,
|
|
4430
4434
|
title: r.row,
|
|
4431
4435
|
target: "_blank",
|
|
4432
4436
|
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"
|
|
4433
4437
|
}, [
|
|
4434
|
-
|
|
4438
|
+
_i,
|
|
4435
4439
|
w(" Download ")
|
|
4436
|
-
], 8,
|
|
4440
|
+
], 8, yi)
|
|
4437
4441
|
])) : g("", !0)
|
|
4438
4442
|
]);
|
|
4439
4443
|
}
|
|
4440
|
-
const
|
|
4444
|
+
const zd = /* @__PURE__ */ S(hi, [["render", vi]]), xi = {
|
|
4441
4445
|
props: ["field", "row"],
|
|
4442
4446
|
computed: {
|
|
4443
4447
|
isArray() {
|
|
@@ -4447,7 +4451,7 @@ const qd = /* @__PURE__ */ S(gi, [["render", _i]]), vi = {
|
|
|
4447
4451
|
return typeof this.row[this.field] == "object";
|
|
4448
4452
|
}
|
|
4449
4453
|
}
|
|
4450
|
-
},
|
|
4454
|
+
}, wi = ["href", "title"], ki = /* @__PURE__ */ s("svg", {
|
|
4451
4455
|
class: "w-3 h-3 text-white me-2",
|
|
4452
4456
|
"aria-hidden": "true",
|
|
4453
4457
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4464,10 +4468,10 @@ const qd = /* @__PURE__ */ S(gi, [["render", _i]]), vi = {
|
|
|
4464
4468
|
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",
|
|
4465
4469
|
"clip-rule": "evenodd"
|
|
4466
4470
|
})
|
|
4467
|
-
], -1),
|
|
4471
|
+
], -1), $i = {
|
|
4468
4472
|
key: 1,
|
|
4469
4473
|
class: "m-1 d-inline-block"
|
|
4470
|
-
},
|
|
4474
|
+
}, Ci = ["href", "title"], Si = /* @__PURE__ */ s("svg", {
|
|
4471
4475
|
class: "w-3 h-3 text-white me-2",
|
|
4472
4476
|
"aria-hidden": "true",
|
|
4473
4477
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4485,7 +4489,7 @@ const qd = /* @__PURE__ */ S(gi, [["render", _i]]), vi = {
|
|
|
4485
4489
|
"clip-rule": "evenodd"
|
|
4486
4490
|
})
|
|
4487
4491
|
], -1);
|
|
4488
|
-
function
|
|
4492
|
+
function Di(e, t, r, n, o, a) {
|
|
4489
4493
|
return d(), u("div", null, [
|
|
4490
4494
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row[r.field], (i) => (d(), u("div", {
|
|
4491
4495
|
key: i.id,
|
|
@@ -4497,34 +4501,34 @@ function Si(e, t, r, n, o, a) {
|
|
|
4497
4501
|
target: "_blank",
|
|
4498
4502
|
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"
|
|
4499
4503
|
}, [
|
|
4500
|
-
|
|
4504
|
+
ki,
|
|
4501
4505
|
w(" Download ")
|
|
4502
|
-
], 8,
|
|
4503
|
-
]))), 128)) : a.isObject ? (d(), u("div",
|
|
4506
|
+
], 8, wi)
|
|
4507
|
+
]))), 128)) : a.isObject ? (d(), u("div", $i, [
|
|
4504
4508
|
s("a", {
|
|
4505
4509
|
href: r.row[r.field].url,
|
|
4506
4510
|
title: r.row[r.field].name,
|
|
4507
4511
|
target: "_blank",
|
|
4508
4512
|
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"
|
|
4509
4513
|
}, [
|
|
4510
|
-
|
|
4514
|
+
Si,
|
|
4511
4515
|
w(" Download ")
|
|
4512
|
-
], 8,
|
|
4516
|
+
], 8, Ci)
|
|
4513
4517
|
])) : g("", !0)
|
|
4514
4518
|
]);
|
|
4515
4519
|
}
|
|
4516
|
-
const
|
|
4520
|
+
const Hd = /* @__PURE__ */ S(xi, [["render", Di]]), Oi = {
|
|
4517
4521
|
props: ["field", "row", "tdProps"]
|
|
4518
|
-
},
|
|
4519
|
-
function
|
|
4520
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4522
|
+
}, Pi = { key: 0 }, Ei = ["innerHTML"];
|
|
4523
|
+
function ji(e, t, r, n, o, a) {
|
|
4524
|
+
return r.row[r.field] ? (d(), u("div", Pi, [
|
|
4521
4525
|
s("div", {
|
|
4522
4526
|
class: "w-full",
|
|
4523
4527
|
innerHTML: r.row[r.field]
|
|
4524
|
-
}, null, 8,
|
|
4528
|
+
}, null, 8, Ei)
|
|
4525
4529
|
])) : g("", !0);
|
|
4526
4530
|
}
|
|
4527
|
-
const
|
|
4531
|
+
const Zd = /* @__PURE__ */ S(Oi, [["render", ji]]), Ai = {
|
|
4528
4532
|
props: ["field", "row", "tdProps"],
|
|
4529
4533
|
computed: {
|
|
4530
4534
|
entry() {
|
|
@@ -4538,24 +4542,24 @@ const Hd = /* @__PURE__ */ S(Di, [["render", Ei]]), ji = {
|
|
|
4538
4542
|
return typeof this.row[this.entry.key] == "object";
|
|
4539
4543
|
}
|
|
4540
4544
|
}
|
|
4541
|
-
},
|
|
4545
|
+
}, Ti = { class: "flex flex-wrap gap-2" }, Ii = {
|
|
4542
4546
|
key: 1,
|
|
4543
4547
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4544
4548
|
};
|
|
4545
|
-
function
|
|
4546
|
-
return d(), u("div",
|
|
4549
|
+
function Mi(e, t, r, n, o, a) {
|
|
4550
|
+
return d(), u("div", Ti, [
|
|
4547
4551
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4548
4552
|
key: l,
|
|
4549
4553
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4550
|
-
}, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span",
|
|
4554
|
+
}, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Ii, h(r.row[a.entry.key][a.entry.field]), 1)) : g("", !0)
|
|
4551
4555
|
]);
|
|
4552
4556
|
}
|
|
4553
|
-
const
|
|
4557
|
+
const Kd = /* @__PURE__ */ S(Ai, [["render", Mi]]), Ni = {
|
|
4554
4558
|
props: ["field", "row", "tdProps"]
|
|
4555
|
-
},
|
|
4556
|
-
function
|
|
4557
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4558
|
-
s("div",
|
|
4559
|
+
}, Vi = { key: 0 }, Li = { class: "m-1 d-inline-block" }, Bi = ["href", "title"], Gi = ["src", "alt", "title"];
|
|
4560
|
+
function Fi(e, t, r, n, o, a) {
|
|
4561
|
+
return r.row[r.field] ? (d(), u("div", Vi, [
|
|
4562
|
+
s("div", Li, [
|
|
4559
4563
|
s("a", {
|
|
4560
4564
|
href: r.row[r.field].url,
|
|
4561
4565
|
title: r.row[r.field].name,
|
|
@@ -4565,37 +4569,37 @@ function Gi(e, t, r, n, o, a) {
|
|
|
4565
4569
|
src: r.row[r.field].thumbnail,
|
|
4566
4570
|
alt: r.row[r.field].name,
|
|
4567
4571
|
title: r.row[r.field].name
|
|
4568
|
-
}, null, 8,
|
|
4569
|
-
], 8,
|
|
4572
|
+
}, null, 8, Gi)
|
|
4573
|
+
], 8, Bi)
|
|
4570
4574
|
])
|
|
4571
4575
|
])) : g("", !0);
|
|
4572
4576
|
}
|
|
4573
|
-
const
|
|
4577
|
+
const Wd = /* @__PURE__ */ S(Ni, [["render", Fi], ["__scopeId", "data-v-3a28c02c"]]), Ri = {
|
|
4574
4578
|
props: ["field", "row", "tdProps"],
|
|
4575
4579
|
computed: {
|
|
4576
4580
|
isActive() {
|
|
4577
4581
|
return this.row[this.field] === 1;
|
|
4578
4582
|
}
|
|
4579
4583
|
}
|
|
4580
|
-
},
|
|
4584
|
+
}, Ui = { class: "flex flex-wrap gap-2 text-nowrap" }, qi = {
|
|
4581
4585
|
key: 0,
|
|
4582
4586
|
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"
|
|
4583
|
-
},
|
|
4587
|
+
}, zi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Hi = {
|
|
4584
4588
|
key: 1,
|
|
4585
4589
|
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"
|
|
4586
|
-
},
|
|
4587
|
-
function
|
|
4588
|
-
return d(), u("div",
|
|
4589
|
-
a.isActive ? (d(), u("span",
|
|
4590
|
-
|
|
4590
|
+
}, Zi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
4591
|
+
function Ki(e, t, r, n, o, a) {
|
|
4592
|
+
return d(), u("div", Ui, [
|
|
4593
|
+
a.isActive ? (d(), u("span", qi, [
|
|
4594
|
+
zi,
|
|
4591
4595
|
w(" Active ")
|
|
4592
|
-
])) : a.isActive ? g("", !0) : (d(), u("span",
|
|
4593
|
-
|
|
4596
|
+
])) : a.isActive ? g("", !0) : (d(), u("span", Hi, [
|
|
4597
|
+
Zi,
|
|
4594
4598
|
w(" Inactive ")
|
|
4595
4599
|
]))
|
|
4596
4600
|
]);
|
|
4597
4601
|
}
|
|
4598
|
-
const
|
|
4602
|
+
const Xd = /* @__PURE__ */ S(Ri, [["render", Ki]]), Wi = {
|
|
4599
4603
|
props: ["field", "row", "tdProps"],
|
|
4600
4604
|
computed: {
|
|
4601
4605
|
hasLabelColor(e) {
|
|
@@ -4603,40 +4607,40 @@ const Wd = /* @__PURE__ */ S(Fi, [["render", Zi]]), Ki = {
|
|
|
4603
4607
|
return t ? t.class : "";
|
|
4604
4608
|
}
|
|
4605
4609
|
}
|
|
4606
|
-
},
|
|
4610
|
+
}, Xi = { class: "flex flex-wrap gap-2 text-nowrap" }, Yi = {
|
|
4607
4611
|
key: 0,
|
|
4608
4612
|
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"
|
|
4609
|
-
},
|
|
4613
|
+
}, Ji = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Qi = {
|
|
4610
4614
|
key: 1,
|
|
4611
4615
|
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"
|
|
4612
|
-
},
|
|
4616
|
+
}, ed = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), td = {
|
|
4613
4617
|
key: 2,
|
|
4614
4618
|
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"
|
|
4615
|
-
},
|
|
4619
|
+
}, rd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), sd = {
|
|
4616
4620
|
key: 3,
|
|
4617
4621
|
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"
|
|
4618
|
-
},
|
|
4619
|
-
function
|
|
4620
|
-
return d(), u("div",
|
|
4621
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
4622
|
-
|
|
4622
|
+
}, ad = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1);
|
|
4623
|
+
function nd(e, t, r, n, o, a) {
|
|
4624
|
+
return d(), u("div", Xi, [
|
|
4625
|
+
a.hasLabelColor == "green" ? (d(), u("span", Yi, [
|
|
4626
|
+
Ji,
|
|
4623
4627
|
w(" " + h(this.row[this.field]), 1)
|
|
4624
4628
|
])) : g("", !0),
|
|
4625
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
4626
|
-
|
|
4629
|
+
a.hasLabelColor == "red" ? (d(), u("span", Qi, [
|
|
4630
|
+
ed,
|
|
4627
4631
|
w(" " + h(this.row[this.field]), 1)
|
|
4628
4632
|
])) : g("", !0),
|
|
4629
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
4630
|
-
|
|
4633
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", td, [
|
|
4634
|
+
rd,
|
|
4631
4635
|
w(" " + h(this.row[this.field]), 1)
|
|
4632
4636
|
])) : g("", !0),
|
|
4633
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
4634
|
-
|
|
4637
|
+
a.hasLabelColor == "default" ? (d(), u("span", sd, [
|
|
4638
|
+
ad,
|
|
4635
4639
|
w(" " + h(this.row[this.field]), 1)
|
|
4636
4640
|
])) : g("", !0)
|
|
4637
4641
|
]);
|
|
4638
4642
|
}
|
|
4639
|
-
const
|
|
4643
|
+
const Yd = /* @__PURE__ */ S(Wi, [["render", nd]]), od = {
|
|
4640
4644
|
props: ["field", "row", "tdProps"],
|
|
4641
4645
|
computed: {
|
|
4642
4646
|
hasLabelColor() {
|
|
@@ -4657,9 +4661,9 @@ const Xd = /* @__PURE__ */ S(Ki, [["render", ad]]), nd = {
|
|
|
4657
4661
|
}
|
|
4658
4662
|
}
|
|
4659
4663
|
}
|
|
4660
|
-
},
|
|
4661
|
-
function
|
|
4662
|
-
return d(), u("div",
|
|
4664
|
+
}, ld = { class: "flex flex-wrap gap-2 text-nowrap" };
|
|
4665
|
+
function id(e, t, r, n, o, a) {
|
|
4666
|
+
return d(), u("div", ld, [
|
|
4663
4667
|
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
4664
4668
|
key: 0,
|
|
4665
4669
|
class: b(["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])
|
|
@@ -4694,7 +4698,7 @@ function ld(e, t, r, n, o, a) {
|
|
|
4694
4698
|
}, h(this.row[this.field]), 3)) : g("", !0)
|
|
4695
4699
|
]);
|
|
4696
4700
|
}
|
|
4697
|
-
const
|
|
4701
|
+
const Jd = /* @__PURE__ */ S(od, [["render", id]]), dd = {
|
|
4698
4702
|
props: ["isOpen", "title", "button_text"],
|
|
4699
4703
|
methods: {
|
|
4700
4704
|
confirmAction() {
|
|
@@ -4704,35 +4708,35 @@ const Yd = /* @__PURE__ */ S(nd, [["render", ld]]), id = {
|
|
|
4704
4708
|
this.$emit("cancel-action");
|
|
4705
4709
|
}
|
|
4706
4710
|
}
|
|
4707
|
-
},
|
|
4711
|
+
}, ud = {
|
|
4708
4712
|
key: 0,
|
|
4709
4713
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4710
4714
|
role: "dialog",
|
|
4711
4715
|
"aria-modal": "true"
|
|
4712
|
-
},
|
|
4716
|
+
}, cd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, fd = /* @__PURE__ */ s("div", {
|
|
4713
4717
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4714
4718
|
"aria-hidden": "true"
|
|
4715
|
-
}, null, -1),
|
|
4719
|
+
}, null, -1), gd = /* @__PURE__ */ s("span", {
|
|
4716
4720
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4717
4721
|
"aria-hidden": "true"
|
|
4718
|
-
}, "", -1),
|
|
4719
|
-
function
|
|
4720
|
-
return r.isOpen ? (d(), u("div",
|
|
4721
|
-
s("div",
|
|
4722
|
-
cd,
|
|
4722
|
+
}, "", -1), hd = { 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" }, md = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, bd = { class: "sm:flex sm:items-start" }, pd = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, yd = { class: "text-lg font-medium leading-6 text-gray-900" }, _d = { class: "mt-2" }, vd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4723
|
+
function xd(e, t, r, n, o, a) {
|
|
4724
|
+
return r.isOpen ? (d(), u("div", ud, [
|
|
4725
|
+
s("div", cd, [
|
|
4723
4726
|
fd,
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
s("
|
|
4727
|
+
gd,
|
|
4728
|
+
s("div", hd, [
|
|
4729
|
+
s("div", md, [
|
|
4730
|
+
s("div", bd, [
|
|
4731
|
+
s("div", pd, [
|
|
4732
|
+
s("h3", yd, h(r.title), 1),
|
|
4733
|
+
s("div", _d, [
|
|
4730
4734
|
T(e.$slots, "default")
|
|
4731
4735
|
])
|
|
4732
4736
|
])
|
|
4733
4737
|
])
|
|
4734
4738
|
]),
|
|
4735
|
-
s("div",
|
|
4739
|
+
s("div", vd, [
|
|
4736
4740
|
s("button", {
|
|
4737
4741
|
onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
4738
4742
|
type: "button",
|
|
@@ -4748,40 +4752,40 @@ function vd(e, t, r, n, o, a) {
|
|
|
4748
4752
|
])
|
|
4749
4753
|
])) : g("", !0);
|
|
4750
4754
|
}
|
|
4751
|
-
const
|
|
4755
|
+
const Qd = /* @__PURE__ */ S(dd, [["render", xd]]);
|
|
4752
4756
|
export {
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4757
|
+
Od as GlButton,
|
|
4758
|
+
Sd as GlCard,
|
|
4759
|
+
Qd as GlConfirmationModal,
|
|
4760
|
+
Fd as GlDataTable,
|
|
4761
|
+
Gd as GlDataTableServerSide,
|
|
4762
|
+
Ud as GlDatatableAction,
|
|
4763
|
+
qd as GlDatatableDeleteAction,
|
|
4764
|
+
zd as GlDatatableFileDownload,
|
|
4765
|
+
Hd as GlDatatableFiles,
|
|
4766
|
+
Zd as GlDatatableHtml,
|
|
4767
|
+
Kd as GlDatatableList,
|
|
4768
|
+
Wd as GlDatatablePicture,
|
|
4769
|
+
Xd as GlDatatableStatus,
|
|
4770
|
+
Yd as GlDatatableStatusGeneral,
|
|
4771
|
+
Jd as GlDatatableStatusSpecficColor,
|
|
4768
4772
|
ue as GlDeleteConfirmationModal,
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4773
|
+
Ld as GlDropdown,
|
|
4774
|
+
kd as GlFilesUpload,
|
|
4775
|
+
Cd as GlLanguageSelector,
|
|
4776
|
+
Nd as GlModal,
|
|
4777
|
+
Md as GlMultiItemSlide,
|
|
4778
|
+
Dd as GlMultiSelectDropdown,
|
|
4779
|
+
$d as GlNotify,
|
|
4780
|
+
Id as GlTab,
|
|
4781
|
+
Td as GlTabsWrapper,
|
|
4778
4782
|
xo as GlTailwindPagination,
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4783
|
+
Ad as GlTextInput,
|
|
4784
|
+
jd as GlTextTranslate,
|
|
4785
|
+
Bd as GlTextarea,
|
|
4786
|
+
Pd as GlTextareaTranslate,
|
|
4787
|
+
Ed as GlTinymceTranslate,
|
|
4784
4788
|
$e as GlToast,
|
|
4785
|
-
|
|
4786
|
-
|
|
4789
|
+
Rd as GlToastList,
|
|
4790
|
+
Vd as GlToggleBox
|
|
4787
4791
|
};
|