golden-logic-ui 1.0.63 → 1.0.65
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 +332 -326
- 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 wr(e, t, r, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const _d = /* @__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 pd = /* @__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 bd = /* @__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
|
+
}, yd = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1586,7 +1586,7 @@ function as(e, t, r, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const vd = /* @__PURE__ */ S(Gr, [["render", as]]), os = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1676,7 +1676,7 @@ function ls(e, t, r, n, o, a) {
|
|
|
1676
1676
|
disabled: r.is_disabled
|
|
1677
1677
|
}, { type: r.is_submit ? "submit" : void 0 }, {
|
|
1678
1678
|
href: r.tag === "a" ? r.href : void 0,
|
|
1679
|
-
class: ` ${r.is_disabled ? "cursor-not-allowed" : ""} flex items-center gap-2 focus:outline-none text-sm px-5 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`
|
|
1679
|
+
class: ` ${r.is_disabled ? "cursor-not-allowed opacity-50" : ""} flex items-center gap-2 focus:outline-none text-sm px-5 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`
|
|
1680
1680
|
}), {
|
|
1681
1681
|
default: J(() => [
|
|
1682
1682
|
r.icon ? (d(), u("i", {
|
|
@@ -1688,7 +1688,7 @@ function ls(e, t, r, n, o, a) {
|
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const xd = /* @__PURE__ */ S(os, [["render", ls]]), 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), hs = ["for"], gs = /* @__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"], _s = ["required", "name", "id", "type"], ps = { class: "gl-span-form-error" }, bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, wd = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1824,7 +1824,7 @@ const wd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
1824
1824
|
], 2))
|
|
1825
1825
|
], 64));
|
|
1826
1826
|
}
|
|
1827
|
-
}, ys = { 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"], Os = { class: "gl-span-form-error" }, Ds = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1827
|
+
}, ys = { 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"], Os = { class: "gl-span-form-error" }, Ds = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, kd = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1963,7 +1963,7 @@ const wd = /* @__PURE__ */ S(os, [["render", ls]]), 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), Is = ["for"], Ts = /* @__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), Is = ["for"], Ts = /* @__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" }, $d = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2096,7 +2096,7 @@ const wd = /* @__PURE__ */ S(os, [["render", ls]]), 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" }, Cd = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2232,7 +2232,7 @@ function en(e, t, r, n, o, a) {
|
|
|
2232
2232
|
])
|
|
2233
2233
|
], 64);
|
|
2234
2234
|
}
|
|
2235
|
-
const
|
|
2235
|
+
const Sd = /* @__PURE__ */ S(Hs, [["render", en]]), tn = {
|
|
2236
2236
|
props: ["title"],
|
|
2237
2237
|
setup() {
|
|
2238
2238
|
return {
|
|
@@ -2247,7 +2247,7 @@ function sn(e, t, r, n, o, a) {
|
|
|
2247
2247
|
[F, r.title == n.selectedTitle]
|
|
2248
2248
|
]);
|
|
2249
2249
|
}
|
|
2250
|
-
const
|
|
2250
|
+
const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
2251
2251
|
props: {
|
|
2252
2252
|
elements_to_show_prop: {
|
|
2253
2253
|
type: Number,
|
|
@@ -2648,7 +2648,7 @@ function da(e, t, r, n, o, a) {
|
|
|
2648
2648
|
], 10, an)
|
|
2649
2649
|
]);
|
|
2650
2650
|
}
|
|
2651
|
-
const
|
|
2651
|
+
const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9"]]), ua = {
|
|
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 Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2668
2668
|
])
|
|
2669
2669
|
], -1), ma = [
|
|
2670
2670
|
ga
|
|
2671
|
-
], _a = { class: "
|
|
2671
|
+
], _a = { 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" }, Pd = {
|
|
2672
2672
|
__name: "GlModal",
|
|
2673
2673
|
props: {
|
|
2674
2674
|
is_open: {
|
|
@@ -2682,6 +2682,10 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2682
2682
|
max_width: {
|
|
2683
2683
|
type: String,
|
|
2684
2684
|
default: "max-w-2xl"
|
|
2685
|
+
},
|
|
2686
|
+
bodyClass: {
|
|
2687
|
+
type: String,
|
|
2688
|
+
default: "p-4"
|
|
2685
2689
|
}
|
|
2686
2690
|
},
|
|
2687
2691
|
emits: ["closeModal"],
|
|
@@ -2713,10 +2717,12 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2713
2717
|
"aria-label": "Close"
|
|
2714
2718
|
}, ma)
|
|
2715
2719
|
]),
|
|
2716
|
-
s("div",
|
|
2720
|
+
s("div", {
|
|
2721
|
+
class: b(["relative overflow-y-auto", e.bodyClass])
|
|
2722
|
+
}, [
|
|
2717
2723
|
I(i.$slots, "body")
|
|
2718
|
-
]),
|
|
2719
|
-
s("div",
|
|
2724
|
+
], 2),
|
|
2725
|
+
s("div", _a, [
|
|
2720
2726
|
I(i.$slots, "buttons"),
|
|
2721
2727
|
s("button", {
|
|
2722
2728
|
onClick: l,
|
|
@@ -2730,7 +2736,7 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2730
2736
|
[F, e.is_open]
|
|
2731
2737
|
]);
|
|
2732
2738
|
}
|
|
2733
|
-
},
|
|
2739
|
+
}, pa = { class: "mb-4" }, ba = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, ya = { class: "relative inline-flex items-center cursor-pointer" }, va = ["name", "id", "checked"], xa = /* @__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), wa = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ka = { 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" }, $a = { class: "relative inline-flex items-center cursor-pointer" }, Ca = ["name", "id"], Sa = /* @__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), Oa = { class: "gl-span-form-error" }, Da = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ed = {
|
|
2734
2740
|
__name: "GlToggleBox",
|
|
2735
2741
|
props: {
|
|
2736
2742
|
is_required: {
|
|
@@ -2785,10 +2791,10 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2785
2791
|
key: 0,
|
|
2786
2792
|
class: b(e.field_name)
|
|
2787
2793
|
}, [
|
|
2788
|
-
s("div",
|
|
2789
|
-
s("li",
|
|
2794
|
+
s("div", pa, [
|
|
2795
|
+
s("li", ba, [
|
|
2790
2796
|
w(h(e.label_name) + " ", 1),
|
|
2791
|
-
s("label",
|
|
2797
|
+
s("label", ya, [
|
|
2792
2798
|
s("input", {
|
|
2793
2799
|
type: "checkbox",
|
|
2794
2800
|
class: "sr-only peer",
|
|
@@ -2800,20 +2806,20 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2800
2806
|
ref_key: "input",
|
|
2801
2807
|
ref: o,
|
|
2802
2808
|
disabled: ""
|
|
2803
|
-
}, null, 8,
|
|
2804
|
-
|
|
2809
|
+
}, null, 8, va),
|
|
2810
|
+
xa
|
|
2805
2811
|
])
|
|
2806
2812
|
])
|
|
2807
2813
|
]),
|
|
2808
|
-
|
|
2814
|
+
wa
|
|
2809
2815
|
], 2)) : g("", !0),
|
|
2810
2816
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2811
2817
|
key: 1,
|
|
2812
2818
|
class: b(["mb-4", e.field_name])
|
|
2813
2819
|
}, [
|
|
2814
|
-
s("li",
|
|
2820
|
+
s("li", ka, [
|
|
2815
2821
|
w(h(e.label_name) + " ", 1),
|
|
2816
|
-
s("label",
|
|
2822
|
+
s("label", $a, [
|
|
2817
2823
|
D(s("input", {
|
|
2818
2824
|
type: "checkbox",
|
|
2819
2825
|
class: "sr-only peer",
|
|
@@ -2824,24 +2830,24 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2824
2830
|
ref_key: "input",
|
|
2825
2831
|
ref: o,
|
|
2826
2832
|
"onUpdate:modelValue": i[0] || (i[0] = (c) => a.value = c)
|
|
2827
|
-
}, null, 8,
|
|
2833
|
+
}, null, 8, Ca), [
|
|
2828
2834
|
[at, a.value]
|
|
2829
2835
|
]),
|
|
2830
|
-
|
|
2836
|
+
Sa
|
|
2831
2837
|
])
|
|
2832
2838
|
]),
|
|
2833
|
-
s("span",
|
|
2834
|
-
s("small",
|
|
2839
|
+
s("span", Oa, h(e.error_message), 1),
|
|
2840
|
+
s("small", Da, h(e.description), 1)
|
|
2835
2841
|
], 2))
|
|
2836
2842
|
], 64));
|
|
2837
2843
|
}
|
|
2838
|
-
},
|
|
2844
|
+
}, Pa = { class: "font-bold ptext-lg dark:text-white" }, Ea = { class: "mt-3 mb-4" }, ja = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, Aa = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ia = ["name", "id", "value"], Ta = {
|
|
2839
2845
|
key: 0,
|
|
2840
2846
|
class: "dropdown"
|
|
2841
|
-
},
|
|
2847
|
+
}, Ma = { class: "border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Na = { class: "relative showOptions" }, Va = ["value", "placeholder"], La = { class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]" }, Ba = { class: "p-1" }, Ga = /* @__PURE__ */ s("label", {
|
|
2842
2848
|
for: "default-search",
|
|
2843
2849
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2844
|
-
}, "Search", -1),
|
|
2850
|
+
}, "Search", -1), Fa = { class: "relative" }, Ra = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
2845
2851
|
/* @__PURE__ */ s("svg", {
|
|
2846
2852
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
2847
2853
|
"aria-hidden": "true",
|
|
@@ -2857,22 +2863,22 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2857
2863
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
2858
2864
|
})
|
|
2859
2865
|
])
|
|
2860
|
-
], -1),
|
|
2866
|
+
], -1), Ua = ["id"], qa = { class: "overflow-y-auto max-h-64" }, za = ["onClick", "onMousedown", "id"], Ha = { class: "flex items-center py-2 pl-10 pr-4" }, Za = {
|
|
2861
2867
|
key: 0,
|
|
2862
2868
|
class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
|
|
2863
2869
|
"aria-hidden": "true",
|
|
2864
2870
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2865
2871
|
fill: "none",
|
|
2866
2872
|
viewBox: "0 0 16 12"
|
|
2867
|
-
},
|
|
2873
|
+
}, Ka = /* @__PURE__ */ s("path", {
|
|
2868
2874
|
stroke: "currentColor",
|
|
2869
2875
|
"stroke-linecap": "round",
|
|
2870
2876
|
"stroke-linejoin": "round",
|
|
2871
2877
|
"stroke-width": "2",
|
|
2872
2878
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2873
|
-
}, null, -1),
|
|
2874
|
-
|
|
2875
|
-
],
|
|
2879
|
+
}, null, -1), Wa = [
|
|
2880
|
+
Ka
|
|
2881
|
+
], Xa = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Ya = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, jd = {
|
|
2876
2882
|
__name: "GlDropdown",
|
|
2877
2883
|
props: {
|
|
2878
2884
|
modelValue: {
|
|
@@ -3033,11 +3039,11 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3033
3039
|
key: 0,
|
|
3034
3040
|
class: b(e.field_name)
|
|
3035
3041
|
}, [
|
|
3036
|
-
s("h3",
|
|
3037
|
-
s("p",
|
|
3038
|
-
s("span",
|
|
3042
|
+
s("h3", Pa, h(e.label_name), 1),
|
|
3043
|
+
s("p", Ea, [
|
|
3044
|
+
s("span", ja, h((E = y.value) == null ? void 0 : E.name), 1)
|
|
3039
3045
|
]),
|
|
3040
|
-
|
|
3046
|
+
Aa
|
|
3041
3047
|
], 2)) : g("", !0),
|
|
3042
3048
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3043
3049
|
key: 1,
|
|
@@ -3048,8 +3054,8 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3048
3054
|
name: e.field_name,
|
|
3049
3055
|
id: e.field_name,
|
|
3050
3056
|
value: (B = y.value) == null ? void 0 : B.id
|
|
3051
|
-
}, null, 8,
|
|
3052
|
-
e.options ? (d(), u("div",
|
|
3057
|
+
}, null, 8, Ia),
|
|
3058
|
+
e.options ? (d(), u("div", Ta, [
|
|
3053
3059
|
e.label_name ? (d(), u("label", {
|
|
3054
3060
|
key: 0,
|
|
3055
3061
|
class: b({
|
|
@@ -3058,8 +3064,8 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3058
3064
|
required: e.is_required
|
|
3059
3065
|
})
|
|
3060
3066
|
}, h(e.label_name), 3)) : g("", !0),
|
|
3061
|
-
s("div",
|
|
3062
|
-
s("div",
|
|
3067
|
+
s("div", Ma, [
|
|
3068
|
+
s("div", Na, [
|
|
3063
3069
|
s("input", {
|
|
3064
3070
|
class: b([{
|
|
3065
3071
|
"gl-input-form": e.error_message == "",
|
|
@@ -3071,7 +3077,7 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3071
3077
|
placeholder: e.placeholder,
|
|
3072
3078
|
autocomplete: "off",
|
|
3073
3079
|
readonly: ""
|
|
3074
|
-
}, null, 10,
|
|
3080
|
+
}, null, 10, Va),
|
|
3075
3081
|
D(s("i", {
|
|
3076
3082
|
onClick: O[1] || (O[1] = N((A) => Xe(), ["stop"])),
|
|
3077
3083
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
@@ -3085,11 +3091,11 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3085
3091
|
style: { top: "11px" }
|
|
3086
3092
|
}, null, 2)
|
|
3087
3093
|
]),
|
|
3088
|
-
D(s("div",
|
|
3089
|
-
s("div",
|
|
3090
|
-
|
|
3091
|
-
s("div",
|
|
3092
|
-
|
|
3094
|
+
D(s("div", La, [
|
|
3095
|
+
s("div", Ba, [
|
|
3096
|
+
Ga,
|
|
3097
|
+
s("div", Fa, [
|
|
3098
|
+
Ra,
|
|
3093
3099
|
D(s("input", {
|
|
3094
3100
|
type: "search",
|
|
3095
3101
|
"onUpdate:modelValue": O[3] || (O[3] = (A) => c.value = A),
|
|
@@ -3100,12 +3106,12 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3100
3106
|
autocomplete: "off",
|
|
3101
3107
|
class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",
|
|
3102
3108
|
placeholder: "Search ..."
|
|
3103
|
-
}, null, 40,
|
|
3109
|
+
}, null, 40, Ua), [
|
|
3104
3110
|
[V, c.value]
|
|
3105
3111
|
])
|
|
3106
3112
|
])
|
|
3107
3113
|
]),
|
|
3108
|
-
s("div",
|
|
3114
|
+
s("div", qa, [
|
|
3109
3115
|
(d(!0), u(v, null, k(x.value, (A, se) => {
|
|
3110
3116
|
var ye;
|
|
3111
3117
|
return d(), u("div", {
|
|
@@ -3115,11 +3121,11 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3115
3121
|
key: se,
|
|
3116
3122
|
id: `${se + 1}${f.value}`
|
|
3117
3123
|
}, [
|
|
3118
|
-
s("div",
|
|
3119
|
-
((ye = y.value) == null ? void 0 : ye.id) === A.id ? (d(), u("svg",
|
|
3124
|
+
s("div", Ha, [
|
|
3125
|
+
((ye = y.value) == null ? void 0 : ye.id) === A.id ? (d(), u("svg", Za, Wa)) : g("", !0),
|
|
3120
3126
|
s("span", null, h(A.name || A.id || "-"), 1)
|
|
3121
3127
|
])
|
|
3122
|
-
], 42,
|
|
3128
|
+
], 42, za);
|
|
3123
3129
|
}), 128))
|
|
3124
3130
|
])
|
|
3125
3131
|
], 512), [
|
|
@@ -3127,13 +3133,13 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3127
3133
|
])
|
|
3128
3134
|
])
|
|
3129
3135
|
])) : g("", !0),
|
|
3130
|
-
s("span",
|
|
3131
|
-
s("small",
|
|
3136
|
+
s("span", Xa, h(e.error_message), 1),
|
|
3137
|
+
s("small", Ya, h(e.description), 1)
|
|
3132
3138
|
], 2))
|
|
3133
3139
|
], 64);
|
|
3134
3140
|
};
|
|
3135
3141
|
}
|
|
3136
|
-
},
|
|
3142
|
+
}, Ja = { class: "font-bold ptext-lg dark:text-white" }, Qa = ["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" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ad = {
|
|
3137
3143
|
__name: "GlTextarea",
|
|
3138
3144
|
props: {
|
|
3139
3145
|
is_required: {
|
|
@@ -3187,12 +3193,12 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3187
3193
|
key: 0,
|
|
3188
3194
|
class: b(e.field_name)
|
|
3189
3195
|
}, [
|
|
3190
|
-
s("h3",
|
|
3196
|
+
s("h3", Ja, h(e.label_name), 1),
|
|
3191
3197
|
s("p", {
|
|
3192
3198
|
id: e.field_name,
|
|
3193
3199
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3194
|
-
}, h(e.model_value), 9,
|
|
3195
|
-
|
|
3200
|
+
}, h(e.model_value), 9, Qa),
|
|
3201
|
+
eo
|
|
3196
3202
|
], 2)) : g("", !0),
|
|
3197
3203
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3198
3204
|
key: 1,
|
|
@@ -3205,7 +3211,7 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3205
3211
|
required: e.is_required
|
|
3206
3212
|
}),
|
|
3207
3213
|
for: e.field_name
|
|
3208
|
-
}, h(e.label_name), 11,
|
|
3214
|
+
}, h(e.label_name), 11, to),
|
|
3209
3215
|
s("textarea", {
|
|
3210
3216
|
required: e.is_required,
|
|
3211
3217
|
name: e.field_name,
|
|
@@ -3220,13 +3226,13 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3220
3226
|
ref: a,
|
|
3221
3227
|
rows: "4",
|
|
3222
3228
|
placeholder: e.place_holder
|
|
3223
|
-
}, null, 42,
|
|
3224
|
-
s("span",
|
|
3225
|
-
s("small",
|
|
3229
|
+
}, null, 42, ro),
|
|
3230
|
+
s("span", so, h(e.error_message), 1),
|
|
3231
|
+
s("small", no, h(e.description), 1)
|
|
3226
3232
|
], 2))
|
|
3227
3233
|
], 64));
|
|
3228
3234
|
}
|
|
3229
|
-
},
|
|
3235
|
+
}, ao = {
|
|
3230
3236
|
emits: ["pagination-change-page"],
|
|
3231
3237
|
props: {
|
|
3232
3238
|
data: {
|
|
@@ -3331,14 +3337,14 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3331
3337
|
})
|
|
3332
3338
|
});
|
|
3333
3339
|
}
|
|
3334
|
-
},
|
|
3340
|
+
}, oo = {
|
|
3335
3341
|
compatConfig: {
|
|
3336
3342
|
MODE: 3
|
|
3337
3343
|
},
|
|
3338
3344
|
inheritAttrs: !1,
|
|
3339
3345
|
emits: ["pagination-change-page"],
|
|
3340
3346
|
components: {
|
|
3341
|
-
RenderlessPagination:
|
|
3347
|
+
RenderlessPagination: ao
|
|
3342
3348
|
},
|
|
3343
3349
|
props: {
|
|
3344
3350
|
data: {
|
|
@@ -3372,10 +3378,10 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3372
3378
|
},
|
|
3373
3379
|
mounted() {
|
|
3374
3380
|
}
|
|
3375
|
-
},
|
|
3381
|
+
}, io = { class: "flex flex-col items-center" }, lo = {
|
|
3376
3382
|
key: 0,
|
|
3377
3383
|
class: "text-sm text-gray-700 dark:text-gray-400"
|
|
3378
|
-
},
|
|
3384
|
+
}, uo = { class: "font-semibold text-gray-900 dark:text-white" }, co = { class: "font-semibold text-gray-900 dark:text-white" }, fo = { class: "font-semibold text-gray-900 dark:text-white" }, ho = ["tabindex"], go = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), mo = /* @__PURE__ */ s("svg", {
|
|
3379
3385
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3380
3386
|
"aria-hidden": "true",
|
|
3381
3387
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3389,7 +3395,7 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3389
3395
|
"stroke-width": "2",
|
|
3390
3396
|
d: "M5 1 1 5l4 4"
|
|
3391
3397
|
})
|
|
3392
|
-
], -1),
|
|
3398
|
+
], -1), _o = ["aria-current"], po = ["tabindex"], bo = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), yo = /* @__PURE__ */ s("svg", {
|
|
3393
3399
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3394
3400
|
"aria-hidden": "true",
|
|
3395
3401
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3404,7 +3410,7 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3404
3410
|
d: "m1 9 4-4-4-4"
|
|
3405
3411
|
})
|
|
3406
3412
|
], -1);
|
|
3407
|
-
function
|
|
3413
|
+
function vo(e, t, r, n, o, a) {
|
|
3408
3414
|
const l = Y("RenderlessPagination");
|
|
3409
3415
|
return d(), K(l, {
|
|
3410
3416
|
data: r.data,
|
|
@@ -3412,14 +3418,14 @@ function xo(e, t, r, n, o, a) {
|
|
|
3412
3418
|
onPaginationChangePage: a.onPaginationChangePage
|
|
3413
3419
|
}, {
|
|
3414
3420
|
default: J((i) => [
|
|
3415
|
-
s("div",
|
|
3416
|
-
i.computed.total > i.computed.perPage ? (d(), u("span",
|
|
3421
|
+
s("div", io, [
|
|
3422
|
+
i.computed.total > i.computed.perPage ? (d(), u("span", lo, [
|
|
3417
3423
|
w(" Showing "),
|
|
3418
|
-
s("span",
|
|
3424
|
+
s("span", uo, h(i.computed.from), 1),
|
|
3419
3425
|
w(" to "),
|
|
3420
|
-
s("span",
|
|
3426
|
+
s("span", co, h(i.computed.to), 1),
|
|
3421
3427
|
w(" of "),
|
|
3422
|
-
s("span",
|
|
3428
|
+
s("span", fo, h(i.computed.total), 1),
|
|
3423
3429
|
w(" Entries ")
|
|
3424
3430
|
])) : g("", !0),
|
|
3425
3431
|
i.computed.total > i.computed.perPage ? (d(), u("ul", W({ key: 1 }, e.$attrs, {
|
|
@@ -3441,10 +3447,10 @@ function xo(e, t, r, n, o, a) {
|
|
|
3441
3447
|
tabindex: !i.computed.prevPageUrl && -1
|
|
3442
3448
|
}, ne(i.prevButtonEvents, !0)), [
|
|
3443
3449
|
I(e.$slots, "prev-nav", {}, () => [
|
|
3444
|
-
|
|
3445
|
-
|
|
3450
|
+
go,
|
|
3451
|
+
mo
|
|
3446
3452
|
])
|
|
3447
|
-
], 16,
|
|
3453
|
+
], 16, ho)
|
|
3448
3454
|
], 2)) : g("", !0),
|
|
3449
3455
|
(d(!0), u(v, null, k(i.computed.pageRange, (c, f) => (d(), u("li", {
|
|
3450
3456
|
class: b(["", { active: c == i.computed.currentPage }]),
|
|
@@ -3456,7 +3462,7 @@ function xo(e, t, r, n, o, a) {
|
|
|
3456
3462
|
}, ne(i.pageButtonEvents(c), !0), {
|
|
3457
3463
|
"aria-current": c == i.computed.currentPage ? "page" : null,
|
|
3458
3464
|
class: c == i.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 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" : "flex items-center justify-center px-3 h-8 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"
|
|
3459
|
-
}), h(c), 17,
|
|
3465
|
+
}), h(c), 17, _o)
|
|
3460
3466
|
], 2))), 128)),
|
|
3461
3467
|
i.computed.nextPageUrl || r.showDisabled ? (d(), u("li", {
|
|
3462
3468
|
key: 1,
|
|
@@ -3469,10 +3475,10 @@ function xo(e, t, r, n, o, a) {
|
|
|
3469
3475
|
tabindex: !i.computed.nextPageUrl && -1
|
|
3470
3476
|
}, ne(i.nextButtonEvents, !0)), [
|
|
3471
3477
|
I(e.$slots, "next-nav", {}, () => [
|
|
3472
|
-
|
|
3473
|
-
|
|
3478
|
+
bo,
|
|
3479
|
+
yo
|
|
3474
3480
|
])
|
|
3475
|
-
], 16,
|
|
3481
|
+
], 16, po)
|
|
3476
3482
|
], 2)) : g("", !0)
|
|
3477
3483
|
], 16)) : g("", !0)
|
|
3478
3484
|
])
|
|
@@ -3480,8 +3486,8 @@ function xo(e, t, r, n, o, a) {
|
|
|
3480
3486
|
_: 3
|
|
3481
3487
|
}, 8, ["data", "limit", "onPaginationChangePage"]);
|
|
3482
3488
|
}
|
|
3483
|
-
const
|
|
3484
|
-
components: { TailwindPagination:
|
|
3489
|
+
const xo = /* @__PURE__ */ S(oo, [["render", vo]]), wo = {
|
|
3490
|
+
components: { TailwindPagination: xo },
|
|
3485
3491
|
props: {
|
|
3486
3492
|
data: Array,
|
|
3487
3493
|
columns: Array,
|
|
@@ -3557,10 +3563,10 @@ const wo = /* @__PURE__ */ S(io, [["render", xo]]), ko = {
|
|
|
3557
3563
|
this.isMounted && e !== t && this.GetItemLists();
|
|
3558
3564
|
}
|
|
3559
3565
|
}
|
|
3560
|
-
},
|
|
3566
|
+
}, ko = { class: "p-2" }, $o = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Co = { class: "flex items-center gap-2" }, So = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Oo = { style: { "margin-top": "9px" } }, Do = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), Po = /* @__PURE__ */ s("label", {
|
|
3561
3567
|
for: "table-search",
|
|
3562
3568
|
class: "sr-only"
|
|
3563
|
-
}, "Search", -1),
|
|
3569
|
+
}, "Search", -1), Eo = { class: "relative" }, jo = /* @__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" }, [
|
|
3564
3570
|
/* @__PURE__ */ s("svg", {
|
|
3565
3571
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3566
3572
|
"aria-hidden": "true",
|
|
@@ -3574,23 +3580,23 @@ const wo = /* @__PURE__ */ S(io, [["render", xo]]), ko = {
|
|
|
3574
3580
|
"clip-rule": "evenodd"
|
|
3575
3581
|
})
|
|
3576
3582
|
])
|
|
3577
|
-
], -1),
|
|
3583
|
+
], -1), Ao = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Io = { 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" }, To = { 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" }, Mo = ["onClick"], No = {
|
|
3578
3584
|
key: 0,
|
|
3579
3585
|
class: "ml-2"
|
|
3580
|
-
},
|
|
3586
|
+
}, Vo = {
|
|
3581
3587
|
key: 0,
|
|
3582
3588
|
class: "fa fa-arrow-up"
|
|
3583
|
-
},
|
|
3589
|
+
}, Lo = {
|
|
3584
3590
|
key: 1,
|
|
3585
3591
|
class: "fa fa-arrow-down"
|
|
3586
|
-
},
|
|
3587
|
-
function
|
|
3592
|
+
}, Bo = ["data-label"], Go = { class: "overflow-auto max-h-40" }, Fo = { 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" };
|
|
3593
|
+
function Ro(e, t, r, n, o, a) {
|
|
3588
3594
|
const l = Y("dropdown"), i = Y("TailwindPagination");
|
|
3589
|
-
return d(), u("div",
|
|
3590
|
-
s("div",
|
|
3591
|
-
s("div",
|
|
3592
|
-
|
|
3593
|
-
s("div",
|
|
3595
|
+
return d(), u("div", ko, [
|
|
3596
|
+
s("div", $o, [
|
|
3597
|
+
s("div", Co, [
|
|
3598
|
+
So,
|
|
3599
|
+
s("div", Oo, [
|
|
3594
3600
|
Z(l, {
|
|
3595
3601
|
has_cancel: !1,
|
|
3596
3602
|
options: o.pageOptions,
|
|
@@ -3604,11 +3610,11 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3604
3610
|
placeholder: "Please select an option"
|
|
3605
3611
|
}, null, 8, ["options", "modelValue"])
|
|
3606
3612
|
]),
|
|
3607
|
-
|
|
3613
|
+
Do
|
|
3608
3614
|
]),
|
|
3609
|
-
|
|
3610
|
-
s("div",
|
|
3611
|
-
|
|
3615
|
+
Po,
|
|
3616
|
+
s("div", Eo, [
|
|
3617
|
+
jo,
|
|
3612
3618
|
D(s("input", {
|
|
3613
3619
|
type: "text",
|
|
3614
3620
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => o.search = c),
|
|
@@ -3620,9 +3626,9 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3620
3626
|
])
|
|
3621
3627
|
])
|
|
3622
3628
|
]),
|
|
3623
|
-
s("div",
|
|
3624
|
-
s("table",
|
|
3625
|
-
s("thead",
|
|
3629
|
+
s("div", Ao, [
|
|
3630
|
+
s("table", Io, [
|
|
3631
|
+
s("thead", To, [
|
|
3626
3632
|
s("tr", null, [
|
|
3627
3633
|
(d(!0), u(v, null, k(r.columns, (c, f) => (d(), u("th", {
|
|
3628
3634
|
key: f,
|
|
@@ -3630,10 +3636,10 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3630
3636
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3631
3637
|
}, [
|
|
3632
3638
|
w(h(c.field_label) + " ", 1),
|
|
3633
|
-
o.sortField === c.field_name ? (d(), u("span",
|
|
3634
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
3639
|
+
o.sortField === c.field_name ? (d(), u("span", No, [
|
|
3640
|
+
o.sortOrder === "asc" ? (d(), u("i", Vo)) : (d(), u("i", Lo))
|
|
3635
3641
|
])) : g("", !0)
|
|
3636
|
-
], 8,
|
|
3642
|
+
], 8, Mo))), 128))
|
|
3637
3643
|
])
|
|
3638
3644
|
]),
|
|
3639
3645
|
s("tbody", null, [
|
|
@@ -3646,7 +3652,7 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3646
3652
|
"data-label": m.field_label,
|
|
3647
3653
|
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"
|
|
3648
3654
|
}, [
|
|
3649
|
-
s("div",
|
|
3655
|
+
s("div", Go, [
|
|
3650
3656
|
m.tdComp ? (d(), K(oe(a.forDynCompIs(m.tdComp)), {
|
|
3651
3657
|
key: 0,
|
|
3652
3658
|
row: c,
|
|
@@ -3658,12 +3664,12 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3658
3664
|
w(h(c[m.field_name]), 1)
|
|
3659
3665
|
], 64))
|
|
3660
3666
|
])
|
|
3661
|
-
], 8,
|
|
3667
|
+
], 8, Bo))), 128))
|
|
3662
3668
|
]))), 128))
|
|
3663
3669
|
])
|
|
3664
3670
|
])
|
|
3665
3671
|
]),
|
|
3666
|
-
s("div",
|
|
3672
|
+
s("div", Fo, [
|
|
3667
3673
|
Z(i, {
|
|
3668
3674
|
class: "mt-3 mb-0",
|
|
3669
3675
|
data: o.itemLists,
|
|
@@ -3675,7 +3681,7 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3675
3681
|
])
|
|
3676
3682
|
]);
|
|
3677
3683
|
}
|
|
3678
|
-
const
|
|
3684
|
+
const Id = /* @__PURE__ */ S(wo, [["render", Ro]]), Uo = {
|
|
3679
3685
|
components: {},
|
|
3680
3686
|
props: {
|
|
3681
3687
|
data: Array,
|
|
@@ -3772,10 +3778,10 @@ const Td = /* @__PURE__ */ S(ko, [["render", Uo]]), qo = {
|
|
|
3772
3778
|
mounted() {
|
|
3773
3779
|
document.body.addEventListener("click", this.closeBoxOnbodyClick);
|
|
3774
3780
|
}
|
|
3775
|
-
},
|
|
3781
|
+
}, qo = { class: "p-2" }, zo = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Ho = { class: "flex items-center gap-2" }, Zo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Ko = { style: { "margin-top": "9px" } }, Wo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), Xo = /* @__PURE__ */ s("label", {
|
|
3776
3782
|
for: "table-search",
|
|
3777
3783
|
class: "sr-only"
|
|
3778
|
-
}, "Search", -1),
|
|
3784
|
+
}, "Search", -1), Yo = { class: "relative" }, Jo = /* @__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" }, [
|
|
3779
3785
|
/* @__PURE__ */ s("svg", {
|
|
3780
3786
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3781
3787
|
"aria-hidden": "true",
|
|
@@ -3789,10 +3795,10 @@ const Td = /* @__PURE__ */ S(ko, [["render", Uo]]), qo = {
|
|
|
3789
3795
|
"clip-rule": "evenodd"
|
|
3790
3796
|
})
|
|
3791
3797
|
])
|
|
3792
|
-
], -1),
|
|
3798
|
+
], -1), Qo = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, ei = { 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" }, ti = { 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" }, ri = ["onClick"], si = {
|
|
3793
3799
|
key: 0,
|
|
3794
3800
|
class: "ml-2"
|
|
3795
|
-
},
|
|
3801
|
+
}, ni = ["data-label"], ai = ["innerHTML"], oi = { 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" }, ii = { class: "flex justify-between flex-1 sm:hidden" }, li = ["disabled"], di = ["disabled"], ui = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, ci = { class: "text-sm text-gray-700 dark:text-gray-400" }, fi = { class: "font-medium" }, hi = { class: "font-medium" }, gi = { class: "font-medium" }, mi = { "aria-label": "Page navigation" }, _i = { class: "flex items-center h-8 -space-x-px text-sm" }, pi = ["disabled"], bi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), yi = /* @__PURE__ */ s("svg", {
|
|
3796
3802
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3797
3803
|
"aria-hidden": "true",
|
|
3798
3804
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3806,10 +3812,10 @@ const Td = /* @__PURE__ */ S(ko, [["render", Uo]]), qo = {
|
|
|
3806
3812
|
"stroke-width": "2",
|
|
3807
3813
|
d: "M5 1 1 5l4 4"
|
|
3808
3814
|
})
|
|
3809
|
-
], -1),
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
],
|
|
3815
|
+
], -1), vi = [
|
|
3816
|
+
bi,
|
|
3817
|
+
yi
|
|
3818
|
+
], xi = ["onClick"], wi = ["onClick"], ki = ["disabled"], $i = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), Ci = /* @__PURE__ */ s("svg", {
|
|
3813
3819
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3814
3820
|
"aria-hidden": "true",
|
|
3815
3821
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3823,17 +3829,17 @@ const Td = /* @__PURE__ */ S(ko, [["render", Uo]]), qo = {
|
|
|
3823
3829
|
"stroke-width": "2",
|
|
3824
3830
|
d: "m1 9 4-4-4-4"
|
|
3825
3831
|
})
|
|
3826
|
-
], -1),
|
|
3827
|
-
|
|
3828
|
-
|
|
3832
|
+
], -1), Si = [
|
|
3833
|
+
$i,
|
|
3834
|
+
Ci
|
|
3829
3835
|
];
|
|
3830
|
-
function
|
|
3836
|
+
function Oi(e, t, r, n, o, a) {
|
|
3831
3837
|
const l = Y("dropdown");
|
|
3832
|
-
return d(), u("div",
|
|
3833
|
-
s("div",
|
|
3834
|
-
s("div",
|
|
3835
|
-
|
|
3836
|
-
s("div",
|
|
3838
|
+
return d(), u("div", qo, [
|
|
3839
|
+
s("div", zo, [
|
|
3840
|
+
s("div", Ho, [
|
|
3841
|
+
Zo,
|
|
3842
|
+
s("div", Ko, [
|
|
3837
3843
|
Z(l, {
|
|
3838
3844
|
has_cancel: !1,
|
|
3839
3845
|
options: o.showNoOfEntries,
|
|
@@ -3847,11 +3853,11 @@ function Di(e, t, r, n, o, a) {
|
|
|
3847
3853
|
placeholder: "Please select an option"
|
|
3848
3854
|
}, null, 8, ["options", "modelValue"])
|
|
3849
3855
|
]),
|
|
3850
|
-
|
|
3856
|
+
Wo
|
|
3851
3857
|
]),
|
|
3852
|
-
|
|
3853
|
-
s("div",
|
|
3854
|
-
|
|
3858
|
+
Xo,
|
|
3859
|
+
s("div", Yo, [
|
|
3860
|
+
Jo,
|
|
3855
3861
|
D(s("input", {
|
|
3856
3862
|
type: "text",
|
|
3857
3863
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => o.search = i),
|
|
@@ -3862,9 +3868,9 @@ function Di(e, t, r, n, o, a) {
|
|
|
3862
3868
|
])
|
|
3863
3869
|
])
|
|
3864
3870
|
]),
|
|
3865
|
-
s("div",
|
|
3866
|
-
s("table",
|
|
3867
|
-
s("thead",
|
|
3871
|
+
s("div", Qo, [
|
|
3872
|
+
s("table", ei, [
|
|
3873
|
+
s("thead", ti, [
|
|
3868
3874
|
s("tr", null, [
|
|
3869
3875
|
(d(!0), u(v, null, k(r.columns, (i, c) => (d(), u("th", {
|
|
3870
3876
|
key: c,
|
|
@@ -3872,8 +3878,8 @@ function Di(e, t, r, n, o, a) {
|
|
|
3872
3878
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3873
3879
|
}, [
|
|
3874
3880
|
w(h(i) + " ", 1),
|
|
3875
|
-
o.sortKey === i ? (d(), u("span",
|
|
3876
|
-
], 8,
|
|
3881
|
+
o.sortKey === i ? (d(), u("span", si, h(o.sortOrder === 1 ? "▲" : "▼"), 1)) : g("", !0)
|
|
3882
|
+
], 8, ri))), 128))
|
|
3877
3883
|
])
|
|
3878
3884
|
]),
|
|
3879
3885
|
s("tbody", null, [
|
|
@@ -3889,49 +3895,49 @@ function Di(e, t, r, n, o, a) {
|
|
|
3889
3895
|
s("p", {
|
|
3890
3896
|
class: "text-pretty",
|
|
3891
3897
|
innerHTML: i[m]
|
|
3892
|
-
}, null, 8,
|
|
3893
|
-
], 8,
|
|
3898
|
+
}, null, 8, ai)
|
|
3899
|
+
], 8, ni))), 128))
|
|
3894
3900
|
]))), 128))
|
|
3895
3901
|
])
|
|
3896
3902
|
])
|
|
3897
3903
|
]),
|
|
3898
|
-
s("div",
|
|
3899
|
-
s("div",
|
|
3904
|
+
s("div", oi, [
|
|
3905
|
+
s("div", ii, [
|
|
3900
3906
|
s("a", {
|
|
3901
3907
|
href: "#",
|
|
3902
3908
|
onClick: t[2] || (t[2] = (...i) => a.previousPage && a.previousPage(...i)),
|
|
3903
3909
|
disabled: o.currentPage === 1,
|
|
3904
3910
|
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"
|
|
3905
|
-
}, "Previous", 8,
|
|
3911
|
+
}, "Previous", 8, li),
|
|
3906
3912
|
s("a", {
|
|
3907
3913
|
href: "#",
|
|
3908
3914
|
onClick: t[3] || (t[3] = (...i) => a.nextPage && a.nextPage(...i)),
|
|
3909
3915
|
disabled: o.currentPage === a.totalPages,
|
|
3910
3916
|
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"
|
|
3911
|
-
}, "Next", 8,
|
|
3917
|
+
}, "Next", 8, di)
|
|
3912
3918
|
]),
|
|
3913
|
-
s("div",
|
|
3919
|
+
s("div", ui, [
|
|
3914
3920
|
s("div", null, [
|
|
3915
|
-
s("p",
|
|
3921
|
+
s("p", ci, [
|
|
3916
3922
|
w(" Showing "),
|
|
3917
|
-
s("span",
|
|
3923
|
+
s("span", fi, h(a.firstItemIndex), 1),
|
|
3918
3924
|
w(" to "),
|
|
3919
|
-
s("span",
|
|
3925
|
+
s("span", hi, h(a.lastItemIndex), 1),
|
|
3920
3926
|
w(" of "),
|
|
3921
|
-
s("span",
|
|
3927
|
+
s("span", gi, h(a.filteredData.length), 1),
|
|
3922
3928
|
w(" entries ")
|
|
3923
3929
|
])
|
|
3924
3930
|
]),
|
|
3925
3931
|
s("div", null, [
|
|
3926
|
-
s("nav",
|
|
3927
|
-
s("ul",
|
|
3932
|
+
s("nav", mi, [
|
|
3933
|
+
s("ul", _i, [
|
|
3928
3934
|
s("li", null, [
|
|
3929
3935
|
s("a", {
|
|
3930
3936
|
href: "#",
|
|
3931
3937
|
onClick: t[4] || (t[4] = (...i) => a.previousPage && a.previousPage(...i)),
|
|
3932
3938
|
disabled: o.currentPage === 1,
|
|
3933
3939
|
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"
|
|
3934
|
-
},
|
|
3940
|
+
}, vi, 8, pi)
|
|
3935
3941
|
]),
|
|
3936
3942
|
(d(!0), u(v, null, k(a.displayedPageNumbers, (i) => (d(), u(v, { key: i }, [
|
|
3937
3943
|
s("li", null, [
|
|
@@ -3940,7 +3946,7 @@ function Di(e, t, r, n, o, a) {
|
|
|
3940
3946
|
href: "#",
|
|
3941
3947
|
onClick: (c) => a.goToPage(i),
|
|
3942
3948
|
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"
|
|
3943
|
-
}, h(i), 9,
|
|
3949
|
+
}, h(i), 9, xi)) : g("", !0)
|
|
3944
3950
|
]),
|
|
3945
3951
|
s("li", null, [
|
|
3946
3952
|
o.currentPage === i ? (d(), u("a", {
|
|
@@ -3949,7 +3955,7 @@ function Di(e, t, r, n, o, a) {
|
|
|
3949
3955
|
onClick: (c) => a.goToPage(i),
|
|
3950
3956
|
"aria-current": "page",
|
|
3951
3957
|
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"
|
|
3952
|
-
}, h(i), 9,
|
|
3958
|
+
}, h(i), 9, wi)) : g("", !0)
|
|
3953
3959
|
])
|
|
3954
3960
|
], 64))), 128)),
|
|
3955
3961
|
s("li", null, [
|
|
@@ -3958,7 +3964,7 @@ function Di(e, t, r, n, o, a) {
|
|
|
3958
3964
|
onClick: t[5] || (t[5] = (...i) => a.nextPage && a.nextPage(...i)),
|
|
3959
3965
|
disabled: o.currentPage === a.totalPages,
|
|
3960
3966
|
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"
|
|
3961
|
-
},
|
|
3967
|
+
}, Si, 8, ki)
|
|
3962
3968
|
])
|
|
3963
3969
|
])
|
|
3964
3970
|
])
|
|
@@ -3967,13 +3973,13 @@ function Di(e, t, r, n, o, a) {
|
|
|
3967
3973
|
])
|
|
3968
3974
|
]);
|
|
3969
3975
|
}
|
|
3970
|
-
const
|
|
3976
|
+
const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
3971
3977
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
3972
3978
|
role: "alert"
|
|
3973
|
-
},
|
|
3979
|
+
}, Pi = {
|
|
3974
3980
|
key: 0,
|
|
3975
3981
|
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"
|
|
3976
|
-
},
|
|
3982
|
+
}, Ei = /* @__PURE__ */ s("svg", {
|
|
3977
3983
|
class: "w-5 h-5",
|
|
3978
3984
|
"aria-hidden": "true",
|
|
3979
3985
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3981,13 +3987,13 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
3981
3987
|
viewBox: "0 0 20 20"
|
|
3982
3988
|
}, [
|
|
3983
3989
|
/* @__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" })
|
|
3984
|
-
], -1),
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
],
|
|
3990
|
+
], -1), ji = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Ai = [
|
|
3991
|
+
Ei,
|
|
3992
|
+
ji
|
|
3993
|
+
], Ii = {
|
|
3988
3994
|
key: 1,
|
|
3989
3995
|
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"
|
|
3990
|
-
},
|
|
3996
|
+
}, Ti = /* @__PURE__ */ s("svg", {
|
|
3991
3997
|
class: "w-5 h-5",
|
|
3992
3998
|
"aria-hidden": "true",
|
|
3993
3999
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3995,13 +4001,13 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
3995
4001
|
viewBox: "0 0 20 20"
|
|
3996
4002
|
}, [
|
|
3997
4003
|
/* @__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" })
|
|
3998
|
-
], -1),
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
],
|
|
4004
|
+
], -1), Mi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Ni = [
|
|
4005
|
+
Ti,
|
|
4006
|
+
Mi
|
|
4007
|
+
], Vi = {
|
|
4002
4008
|
key: 2,
|
|
4003
4009
|
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"
|
|
4004
|
-
},
|
|
4010
|
+
}, Li = /* @__PURE__ */ s("svg", {
|
|
4005
4011
|
class: "w-5 h-5",
|
|
4006
4012
|
"aria-hidden": "true",
|
|
4007
4013
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4009,10 +4015,10 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4009
4015
|
viewBox: "0 0 20 20"
|
|
4010
4016
|
}, [
|
|
4011
4017
|
/* @__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" })
|
|
4012
|
-
], -1),
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
],
|
|
4018
|
+
], -1), Bi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), Gi = [
|
|
4019
|
+
Li,
|
|
4020
|
+
Bi
|
|
4021
|
+
], Fi = { class: "ml-3 text-sm font-normal" }, Ri = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Ui = /* @__PURE__ */ s("svg", {
|
|
4016
4022
|
"aria-hidden": "true",
|
|
4017
4023
|
class: "w-5 h-5",
|
|
4018
4024
|
fill: "currentColor",
|
|
@@ -4024,10 +4030,10 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4024
4030
|
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",
|
|
4025
4031
|
"clip-rule": "evenodd"
|
|
4026
4032
|
})
|
|
4027
|
-
], -1),
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
],
|
|
4033
|
+
], -1), qi = [
|
|
4034
|
+
Ri,
|
|
4035
|
+
Ui
|
|
4036
|
+
], zi = {
|
|
4031
4037
|
__name: "ToastListItem",
|
|
4032
4038
|
props: {
|
|
4033
4039
|
message: String,
|
|
@@ -4047,23 +4053,23 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4047
4053
|
setTimeout(() => n("remove"), r.duration);
|
|
4048
4054
|
});
|
|
4049
4055
|
const n = t;
|
|
4050
|
-
return (o, a) => (d(), u("div",
|
|
4051
|
-
r.type === "success" ? (d(), u("div",
|
|
4052
|
-
r.type === "error" ? (d(), u("div",
|
|
4053
|
-
r.type === "warning" ? (d(), u("div",
|
|
4054
|
-
s("div",
|
|
4056
|
+
return (o, a) => (d(), u("div", Di, [
|
|
4057
|
+
r.type === "success" ? (d(), u("div", Pi, Ai)) : g("", !0),
|
|
4058
|
+
r.type === "error" ? (d(), u("div", Ii, Ni)) : g("", !0),
|
|
4059
|
+
r.type === "warning" ? (d(), u("div", Vi, Gi)) : g("", !0),
|
|
4060
|
+
s("div", Fi, h(r.message), 1),
|
|
4055
4061
|
s("button", {
|
|
4056
4062
|
onClick: a[0] || (a[0] = (l) => n("remove")),
|
|
4057
4063
|
type: "button",
|
|
4058
4064
|
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",
|
|
4059
4065
|
"data-dismiss-target": "#toast-default",
|
|
4060
4066
|
"aria-label": "Close"
|
|
4061
|
-
},
|
|
4067
|
+
}, qi)
|
|
4062
4068
|
]));
|
|
4063
4069
|
}
|
|
4064
4070
|
}, de = Se({
|
|
4065
4071
|
items: []
|
|
4066
|
-
}),
|
|
4072
|
+
}), Hi = {
|
|
4067
4073
|
add(e) {
|
|
4068
4074
|
de.items.unshift({
|
|
4069
4075
|
key: Symbol(),
|
|
@@ -4077,8 +4083,8 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4077
4083
|
}
|
|
4078
4084
|
}, $e = {
|
|
4079
4085
|
state: de,
|
|
4080
|
-
methods:
|
|
4081
|
-
},
|
|
4086
|
+
methods: Hi
|
|
4087
|
+
}, Md = {
|
|
4082
4088
|
__name: "GlToastList",
|
|
4083
4089
|
setup(e) {
|
|
4084
4090
|
function t(r) {
|
|
@@ -4093,7 +4099,7 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4093
4099
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4094
4100
|
}, {
|
|
4095
4101
|
default: J(() => [
|
|
4096
|
-
(d(!0), u(v, null, k(lt($e).state.items, (o, a) => (d(), K(
|
|
4102
|
+
(d(!0), u(v, null, k(lt($e).state.items, (o, a) => (d(), K(zi, {
|
|
4097
4103
|
key: o.key,
|
|
4098
4104
|
message: o.message,
|
|
4099
4105
|
type: o.type,
|
|
@@ -4104,10 +4110,10 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4104
4110
|
_: 1
|
|
4105
4111
|
}));
|
|
4106
4112
|
}
|
|
4107
|
-
},
|
|
4113
|
+
}, Zi = {
|
|
4108
4114
|
key: 0,
|
|
4109
4115
|
class: "flex justify-center"
|
|
4110
|
-
},
|
|
4116
|
+
}, Ki = /* @__PURE__ */ s("svg", {
|
|
4111
4117
|
class: "w-5 h-5",
|
|
4112
4118
|
"aria-hidden": "true",
|
|
4113
4119
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4115,12 +4121,12 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4115
4121
|
viewBox: "0 0 4 15"
|
|
4116
4122
|
}, [
|
|
4117
4123
|
/* @__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" })
|
|
4118
|
-
], -1),
|
|
4119
|
-
|
|
4120
|
-
],
|
|
4124
|
+
], -1), Wi = [
|
|
4125
|
+
Ki
|
|
4126
|
+
], Xi = { class: "absolute 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" }, Yi = {
|
|
4121
4127
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4122
4128
|
"aria-labelledby": "dropdownDividerButton"
|
|
4123
|
-
},
|
|
4129
|
+
}, Ji = { key: 0 }, Qi = ["href"], el = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), tl = { key: 1 }, rl = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Nd = {
|
|
4124
4130
|
__name: "DatatableAction",
|
|
4125
4131
|
props: {
|
|
4126
4132
|
field: {
|
|
@@ -4173,30 +4179,30 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4173
4179
|
onConfirmDelete: y,
|
|
4174
4180
|
onCancelDelete: c
|
|
4175
4181
|
}, null, 8, ["isOpen"]),
|
|
4176
|
-
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? D((d(), u("div",
|
|
4182
|
+
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? D((d(), u("div", Zi, [
|
|
4177
4183
|
s("button", {
|
|
4178
4184
|
onClick: i,
|
|
4179
4185
|
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",
|
|
4180
4186
|
type: "button"
|
|
4181
|
-
},
|
|
4182
|
-
D(s("div",
|
|
4183
|
-
s("ul",
|
|
4184
|
-
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4187
|
+
}, Wi),
|
|
4188
|
+
D(s("div", Xi, [
|
|
4189
|
+
s("ul", Yi, [
|
|
4190
|
+
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Ji, [
|
|
4185
4191
|
s("a", {
|
|
4186
4192
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4187
4193
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4188
4194
|
}, [
|
|
4189
|
-
|
|
4195
|
+
el,
|
|
4190
4196
|
w(" Edit")
|
|
4191
|
-
], 8,
|
|
4197
|
+
], 8, Qi)
|
|
4192
4198
|
])) : g("", !0),
|
|
4193
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4199
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", tl, [
|
|
4194
4200
|
s("a", {
|
|
4195
4201
|
href: "#",
|
|
4196
4202
|
onClick: N(f, ["prevent"]),
|
|
4197
4203
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4198
4204
|
}, [
|
|
4199
|
-
|
|
4205
|
+
rl,
|
|
4200
4206
|
w(" Remove")
|
|
4201
4207
|
])
|
|
4202
4208
|
])) : g("", !0)
|
|
@@ -4210,10 +4216,10 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4210
4216
|
], 64);
|
|
4211
4217
|
};
|
|
4212
4218
|
}
|
|
4213
|
-
},
|
|
4219
|
+
}, sl = {
|
|
4214
4220
|
key: 0,
|
|
4215
4221
|
class: "flex justify-center"
|
|
4216
|
-
},
|
|
4222
|
+
}, nl = /* @__PURE__ */ s("svg", {
|
|
4217
4223
|
class: "w-5 h-5",
|
|
4218
4224
|
"aria-hidden": "true",
|
|
4219
4225
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4221,12 +4227,12 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4221
4227
|
viewBox: "0 0 4 15"
|
|
4222
4228
|
}, [
|
|
4223
4229
|
/* @__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" })
|
|
4224
|
-
], -1),
|
|
4225
|
-
|
|
4226
|
-
],
|
|
4230
|
+
], -1), al = [
|
|
4231
|
+
nl
|
|
4232
|
+
], ol = { class: "absolute 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" }, il = {
|
|
4227
4233
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4228
4234
|
"aria-labelledby": "dropdownDividerButton"
|
|
4229
|
-
},
|
|
4235
|
+
}, ll = { key: 0 }, dl = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Vd = {
|
|
4230
4236
|
__name: "DatatableDeleteAction",
|
|
4231
4237
|
props: {
|
|
4232
4238
|
field: {
|
|
@@ -4279,21 +4285,21 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4279
4285
|
onConfirmDelete: y,
|
|
4280
4286
|
onCancelDelete: c
|
|
4281
4287
|
}, null, 8, ["isOpen"]),
|
|
4282
|
-
e.row && x.can(`delete_${e.xprops.permission}`) ? D((d(), u("div",
|
|
4288
|
+
e.row && x.can(`delete_${e.xprops.permission}`) ? D((d(), u("div", sl, [
|
|
4283
4289
|
s("button", {
|
|
4284
4290
|
onClick: i,
|
|
4285
4291
|
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",
|
|
4286
4292
|
type: "button"
|
|
4287
|
-
},
|
|
4288
|
-
D(s("div",
|
|
4289
|
-
s("ul",
|
|
4290
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4293
|
+
}, al),
|
|
4294
|
+
D(s("div", ol, [
|
|
4295
|
+
s("ul", il, [
|
|
4296
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ll, [
|
|
4291
4297
|
s("a", {
|
|
4292
4298
|
href: "#",
|
|
4293
4299
|
onClick: N(f, ["prevent"]),
|
|
4294
4300
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4295
4301
|
}, [
|
|
4296
|
-
|
|
4302
|
+
dl,
|
|
4297
4303
|
w(" Remove")
|
|
4298
4304
|
])
|
|
4299
4305
|
])) : g("", !0)
|
|
@@ -4307,7 +4313,7 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4307
4313
|
], 64);
|
|
4308
4314
|
};
|
|
4309
4315
|
}
|
|
4310
|
-
},
|
|
4316
|
+
}, ul = {
|
|
4311
4317
|
props: ["field", "row"],
|
|
4312
4318
|
computed: {
|
|
4313
4319
|
isArray() {
|
|
@@ -4323,7 +4329,7 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4323
4329
|
mounted() {
|
|
4324
4330
|
console.log("row : ", this.row);
|
|
4325
4331
|
}
|
|
4326
|
-
},
|
|
4332
|
+
}, cl = ["href", "title"], fl = /* @__PURE__ */ s("svg", {
|
|
4327
4333
|
class: "w-3 h-3 text-white me-2",
|
|
4328
4334
|
"aria-hidden": "true",
|
|
4329
4335
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4340,10 +4346,10 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4340
4346
|
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",
|
|
4341
4347
|
"clip-rule": "evenodd"
|
|
4342
4348
|
})
|
|
4343
|
-
], -1),
|
|
4349
|
+
], -1), hl = {
|
|
4344
4350
|
key: 1,
|
|
4345
4351
|
class: "m-1 d-inline-block"
|
|
4346
|
-
},
|
|
4352
|
+
}, gl = ["href", "title"], ml = /* @__PURE__ */ s("svg", {
|
|
4347
4353
|
class: "w-3 h-3 text-white me-2",
|
|
4348
4354
|
"aria-hidden": "true",
|
|
4349
4355
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4361,7 +4367,7 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4361
4367
|
"clip-rule": "evenodd"
|
|
4362
4368
|
})
|
|
4363
4369
|
], -1);
|
|
4364
|
-
function
|
|
4370
|
+
function _l(e, t, r, n, o, a) {
|
|
4365
4371
|
return d(), u("div", null, [
|
|
4366
4372
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row, (l, i) => (d(), u("div", {
|
|
4367
4373
|
key: i,
|
|
@@ -4373,23 +4379,23 @@ function pl(e, t, r, n, o, a) {
|
|
|
4373
4379
|
target: "_blank",
|
|
4374
4380
|
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"
|
|
4375
4381
|
}, [
|
|
4376
|
-
|
|
4382
|
+
fl,
|
|
4377
4383
|
w(" Download ")
|
|
4378
|
-
], 8,
|
|
4379
|
-
]))), 128)) : a.isString ? (d(), u("div",
|
|
4384
|
+
], 8, cl)
|
|
4385
|
+
]))), 128)) : a.isString ? (d(), u("div", hl, [
|
|
4380
4386
|
s("a", {
|
|
4381
4387
|
href: r.row,
|
|
4382
4388
|
title: r.row,
|
|
4383
4389
|
target: "_blank",
|
|
4384
4390
|
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"
|
|
4385
4391
|
}, [
|
|
4386
|
-
|
|
4392
|
+
ml,
|
|
4387
4393
|
w(" Download ")
|
|
4388
|
-
], 8,
|
|
4394
|
+
], 8, gl)
|
|
4389
4395
|
])) : g("", !0)
|
|
4390
4396
|
]);
|
|
4391
4397
|
}
|
|
4392
|
-
const
|
|
4398
|
+
const Ld = /* @__PURE__ */ S(ul, [["render", _l]]), pl = {
|
|
4393
4399
|
props: ["field", "row"],
|
|
4394
4400
|
computed: {
|
|
4395
4401
|
isArray() {
|
|
@@ -4399,7 +4405,7 @@ const Bd = /* @__PURE__ */ S(cl, [["render", pl]]), bl = {
|
|
|
4399
4405
|
return typeof this.row[this.field] == "object";
|
|
4400
4406
|
}
|
|
4401
4407
|
}
|
|
4402
|
-
},
|
|
4408
|
+
}, bl = ["href", "title"], yl = /* @__PURE__ */ s("svg", {
|
|
4403
4409
|
class: "w-3 h-3 text-white me-2",
|
|
4404
4410
|
"aria-hidden": "true",
|
|
4405
4411
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4416,10 +4422,10 @@ const Bd = /* @__PURE__ */ S(cl, [["render", pl]]), bl = {
|
|
|
4416
4422
|
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",
|
|
4417
4423
|
"clip-rule": "evenodd"
|
|
4418
4424
|
})
|
|
4419
|
-
], -1),
|
|
4425
|
+
], -1), vl = {
|
|
4420
4426
|
key: 1,
|
|
4421
4427
|
class: "m-1 d-inline-block"
|
|
4422
|
-
},
|
|
4428
|
+
}, xl = ["href", "title"], wl = /* @__PURE__ */ s("svg", {
|
|
4423
4429
|
class: "w-3 h-3 text-white me-2",
|
|
4424
4430
|
"aria-hidden": "true",
|
|
4425
4431
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4437,7 +4443,7 @@ const Bd = /* @__PURE__ */ S(cl, [["render", pl]]), bl = {
|
|
|
4437
4443
|
"clip-rule": "evenodd"
|
|
4438
4444
|
})
|
|
4439
4445
|
], -1);
|
|
4440
|
-
function
|
|
4446
|
+
function kl(e, t, r, n, o, a) {
|
|
4441
4447
|
return d(), u("div", null, [
|
|
4442
4448
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row[r.field], (l) => (d(), u("div", {
|
|
4443
4449
|
key: l.id,
|
|
@@ -4449,34 +4455,34 @@ function $l(e, t, r, n, o, a) {
|
|
|
4449
4455
|
target: "_blank",
|
|
4450
4456
|
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"
|
|
4451
4457
|
}, [
|
|
4452
|
-
|
|
4458
|
+
yl,
|
|
4453
4459
|
w(" Download ")
|
|
4454
|
-
], 8,
|
|
4455
|
-
]))), 128)) : a.isObject ? (d(), u("div",
|
|
4460
|
+
], 8, bl)
|
|
4461
|
+
]))), 128)) : a.isObject ? (d(), u("div", vl, [
|
|
4456
4462
|
s("a", {
|
|
4457
4463
|
href: r.row[r.field].url,
|
|
4458
4464
|
title: r.row[r.field].name,
|
|
4459
4465
|
target: "_blank",
|
|
4460
4466
|
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"
|
|
4461
4467
|
}, [
|
|
4462
|
-
|
|
4468
|
+
wl,
|
|
4463
4469
|
w(" Download ")
|
|
4464
|
-
], 8,
|
|
4470
|
+
], 8, xl)
|
|
4465
4471
|
])) : g("", !0)
|
|
4466
4472
|
]);
|
|
4467
4473
|
}
|
|
4468
|
-
const
|
|
4474
|
+
const Bd = /* @__PURE__ */ S(pl, [["render", kl]]), $l = {
|
|
4469
4475
|
props: ["field", "row", "tdProps"]
|
|
4470
|
-
},
|
|
4471
|
-
function
|
|
4472
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4476
|
+
}, Cl = { key: 0 }, Sl = ["innerHTML"];
|
|
4477
|
+
function Ol(e, t, r, n, o, a) {
|
|
4478
|
+
return r.row[r.field] ? (d(), u("div", Cl, [
|
|
4473
4479
|
s("div", {
|
|
4474
4480
|
class: "w-full",
|
|
4475
4481
|
innerHTML: r.row[r.field]
|
|
4476
|
-
}, null, 8,
|
|
4482
|
+
}, null, 8, Sl)
|
|
4477
4483
|
])) : g("", !0);
|
|
4478
4484
|
}
|
|
4479
|
-
const
|
|
4485
|
+
const Gd = /* @__PURE__ */ S($l, [["render", Ol]]), Dl = {
|
|
4480
4486
|
props: ["field", "row", "tdProps"],
|
|
4481
4487
|
computed: {
|
|
4482
4488
|
entry() {
|
|
@@ -4490,24 +4496,24 @@ const Fd = /* @__PURE__ */ S(Cl, [["render", Dl]]), Pl = {
|
|
|
4490
4496
|
return typeof this.row[this.entry.key] == "object";
|
|
4491
4497
|
}
|
|
4492
4498
|
}
|
|
4493
|
-
},
|
|
4499
|
+
}, Pl = { class: "flex flex-wrap gap-2" }, El = {
|
|
4494
4500
|
key: 1,
|
|
4495
4501
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4496
4502
|
};
|
|
4497
|
-
function
|
|
4498
|
-
return d(), u("div",
|
|
4503
|
+
function jl(e, t, r, n, o, a) {
|
|
4504
|
+
return d(), u("div", Pl, [
|
|
4499
4505
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row[a.entry.key], (l, i) => (d(), u("span", {
|
|
4500
4506
|
key: i,
|
|
4501
4507
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4502
|
-
}, h(l[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span",
|
|
4508
|
+
}, h(l[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", El, h(r.row[a.entry.key][a.entry.field]), 1)) : g("", !0)
|
|
4503
4509
|
]);
|
|
4504
4510
|
}
|
|
4505
|
-
const
|
|
4511
|
+
const Fd = /* @__PURE__ */ S(Dl, [["render", jl]]), Al = {
|
|
4506
4512
|
props: ["field", "row", "tdProps"]
|
|
4507
|
-
},
|
|
4508
|
-
function
|
|
4509
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4510
|
-
s("div",
|
|
4513
|
+
}, Il = { key: 0 }, Tl = { class: "m-1 d-inline-block" }, Ml = ["href", "title"], Nl = ["src", "alt", "title"];
|
|
4514
|
+
function Vl(e, t, r, n, o, a) {
|
|
4515
|
+
return r.row[r.field] ? (d(), u("div", Il, [
|
|
4516
|
+
s("div", Tl, [
|
|
4511
4517
|
s("a", {
|
|
4512
4518
|
href: r.row[r.field].url,
|
|
4513
4519
|
title: r.row[r.field].name,
|
|
@@ -4517,37 +4523,37 @@ function Ll(e, t, r, n, o, a) {
|
|
|
4517
4523
|
src: r.row[r.field].thumbnail,
|
|
4518
4524
|
alt: r.row[r.field].name,
|
|
4519
4525
|
title: r.row[r.field].name
|
|
4520
|
-
}, null, 8,
|
|
4521
|
-
], 8,
|
|
4526
|
+
}, null, 8, Nl)
|
|
4527
|
+
], 8, Ml)
|
|
4522
4528
|
])
|
|
4523
4529
|
])) : g("", !0);
|
|
4524
4530
|
}
|
|
4525
|
-
const
|
|
4531
|
+
const Rd = /* @__PURE__ */ S(Al, [["render", Vl], ["__scopeId", "data-v-3a28c02c"]]), Ll = {
|
|
4526
4532
|
props: ["field", "row", "tdProps"],
|
|
4527
4533
|
computed: {
|
|
4528
4534
|
isActive() {
|
|
4529
4535
|
return this.row[this.field] === 1;
|
|
4530
4536
|
}
|
|
4531
4537
|
}
|
|
4532
|
-
},
|
|
4538
|
+
}, Bl = { class: "flex flex-wrap gap-2" }, Gl = {
|
|
4533
4539
|
key: 0,
|
|
4534
4540
|
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"
|
|
4535
|
-
},
|
|
4541
|
+
}, Fl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Rl = {
|
|
4536
4542
|
key: 1,
|
|
4537
4543
|
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"
|
|
4538
|
-
},
|
|
4539
|
-
function
|
|
4540
|
-
return d(), u("div",
|
|
4541
|
-
a.isActive ? (d(), u("span",
|
|
4542
|
-
|
|
4544
|
+
}, Ul = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
4545
|
+
function ql(e, t, r, n, o, a) {
|
|
4546
|
+
return d(), u("div", Bl, [
|
|
4547
|
+
a.isActive ? (d(), u("span", Gl, [
|
|
4548
|
+
Fl,
|
|
4543
4549
|
w(" Active ")
|
|
4544
|
-
])) : a.isActive ? g("", !0) : (d(), u("span",
|
|
4545
|
-
|
|
4550
|
+
])) : a.isActive ? g("", !0) : (d(), u("span", Rl, [
|
|
4551
|
+
Ul,
|
|
4546
4552
|
w(" Inactive ")
|
|
4547
4553
|
]))
|
|
4548
4554
|
]);
|
|
4549
4555
|
}
|
|
4550
|
-
const
|
|
4556
|
+
const Ud = /* @__PURE__ */ S(Ll, [["render", ql]]), zl = {
|
|
4551
4557
|
props: ["field", "row", "tdProps"],
|
|
4552
4558
|
computed: {
|
|
4553
4559
|
hasLabelColor(e) {
|
|
@@ -4555,40 +4561,40 @@ const qd = /* @__PURE__ */ S(Bl, [["render", zl]]), Hl = {
|
|
|
4555
4561
|
return t ? t.class : "";
|
|
4556
4562
|
}
|
|
4557
4563
|
}
|
|
4558
|
-
},
|
|
4564
|
+
}, Hl = { class: "flex flex-wrap gap-2" }, Zl = {
|
|
4559
4565
|
key: 0,
|
|
4560
4566
|
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"
|
|
4561
|
-
},
|
|
4567
|
+
}, Kl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Wl = {
|
|
4562
4568
|
key: 1,
|
|
4563
4569
|
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"
|
|
4564
|
-
},
|
|
4570
|
+
}, Xl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), Yl = {
|
|
4565
4571
|
key: 2,
|
|
4566
4572
|
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"
|
|
4567
|
-
},
|
|
4573
|
+
}, Jl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), Ql = {
|
|
4568
4574
|
key: 3,
|
|
4569
4575
|
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"
|
|
4570
|
-
},
|
|
4571
|
-
function
|
|
4572
|
-
return d(), u("div",
|
|
4573
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
4574
|
-
|
|
4576
|
+
}, ed = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1);
|
|
4577
|
+
function td(e, t, r, n, o, a) {
|
|
4578
|
+
return d(), u("div", Hl, [
|
|
4579
|
+
a.hasLabelColor == "green" ? (d(), u("span", Zl, [
|
|
4580
|
+
Kl,
|
|
4575
4581
|
w(" " + h(this.row[this.field]), 1)
|
|
4576
4582
|
])) : g("", !0),
|
|
4577
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
4578
|
-
|
|
4583
|
+
a.hasLabelColor == "red" ? (d(), u("span", Wl, [
|
|
4584
|
+
Xl,
|
|
4579
4585
|
w(" " + h(this.row[this.field]), 1)
|
|
4580
4586
|
])) : g("", !0),
|
|
4581
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
4582
|
-
|
|
4587
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", Yl, [
|
|
4588
|
+
Jl,
|
|
4583
4589
|
w(" " + h(this.row[this.field]), 1)
|
|
4584
4590
|
])) : g("", !0),
|
|
4585
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
4586
|
-
|
|
4591
|
+
a.hasLabelColor == "default" ? (d(), u("span", Ql, [
|
|
4592
|
+
ed,
|
|
4587
4593
|
w(" " + h(this.row[this.field]), 1)
|
|
4588
4594
|
])) : g("", !0)
|
|
4589
4595
|
]);
|
|
4590
4596
|
}
|
|
4591
|
-
const
|
|
4597
|
+
const qd = /* @__PURE__ */ S(zl, [["render", td]]), rd = {
|
|
4592
4598
|
props: ["isOpen", "title", "button_text"],
|
|
4593
4599
|
methods: {
|
|
4594
4600
|
confirmAction() {
|
|
@@ -4598,35 +4604,35 @@ const zd = /* @__PURE__ */ S(Hl, [["render", rd]]), sd = {
|
|
|
4598
4604
|
this.$emit("cancel-action");
|
|
4599
4605
|
}
|
|
4600
4606
|
}
|
|
4601
|
-
},
|
|
4607
|
+
}, sd = {
|
|
4602
4608
|
key: 0,
|
|
4603
4609
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4604
4610
|
role: "dialog",
|
|
4605
4611
|
"aria-modal": "true"
|
|
4606
|
-
},
|
|
4612
|
+
}, nd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, ad = /* @__PURE__ */ s("div", {
|
|
4607
4613
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4608
4614
|
"aria-hidden": "true"
|
|
4609
|
-
}, null, -1),
|
|
4615
|
+
}, null, -1), od = /* @__PURE__ */ s("span", {
|
|
4610
4616
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4611
4617
|
"aria-hidden": "true"
|
|
4612
|
-
}, "", -1),
|
|
4613
|
-
function
|
|
4614
|
-
return r.isOpen ? (d(), u("div",
|
|
4615
|
-
s("div",
|
|
4618
|
+
}, "", -1), id = { 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" }, ld = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, dd = { class: "sm:flex sm:items-start" }, ud = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, cd = { class: "text-lg font-medium leading-6 text-gray-900" }, fd = { class: "mt-2" }, hd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4619
|
+
function gd(e, t, r, n, o, a) {
|
|
4620
|
+
return r.isOpen ? (d(), u("div", sd, [
|
|
4621
|
+
s("div", nd, [
|
|
4622
|
+
ad,
|
|
4616
4623
|
od,
|
|
4617
|
-
id,
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
s("
|
|
4623
|
-
s("div", hd, [
|
|
4624
|
+
s("div", id, [
|
|
4625
|
+
s("div", ld, [
|
|
4626
|
+
s("div", dd, [
|
|
4627
|
+
s("div", ud, [
|
|
4628
|
+
s("h3", cd, h(r.title), 1),
|
|
4629
|
+
s("div", fd, [
|
|
4624
4630
|
I(e.$slots, "default")
|
|
4625
4631
|
])
|
|
4626
4632
|
])
|
|
4627
4633
|
])
|
|
4628
4634
|
]),
|
|
4629
|
-
s("div",
|
|
4635
|
+
s("div", hd, [
|
|
4630
4636
|
s("button", {
|
|
4631
4637
|
onClick: t[0] || (t[0] = (...l) => a.confirmAction && a.confirmAction(...l)),
|
|
4632
4638
|
type: "button",
|
|
@@ -4642,39 +4648,39 @@ function md(e, t, r, n, o, a) {
|
|
|
4642
4648
|
])
|
|
4643
4649
|
])) : g("", !0);
|
|
4644
4650
|
}
|
|
4645
|
-
const
|
|
4651
|
+
const zd = /* @__PURE__ */ S(rd, [["render", gd]]);
|
|
4646
4652
|
export {
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4653
|
+
xd as GlButton,
|
|
4654
|
+
yd as GlCard,
|
|
4655
|
+
zd as GlConfirmationModal,
|
|
4656
|
+
Td as GlDataTable,
|
|
4657
|
+
Id as GlDataTableServerSide,
|
|
4658
|
+
Nd as GlDatatableAction,
|
|
4659
|
+
Vd as GlDatatableDeleteAction,
|
|
4660
|
+
Ld as GlDatatableFileDownload,
|
|
4661
|
+
Bd as GlDatatableFiles,
|
|
4662
|
+
Gd as GlDatatableHtml,
|
|
4663
|
+
Fd as GlDatatableList,
|
|
4664
|
+
Rd as GlDatatablePicture,
|
|
4665
|
+
Ud as GlDatatableStatus,
|
|
4666
|
+
qd as GlDatatableStatusGeneral,
|
|
4661
4667
|
ue as GlDeleteConfirmationModal,
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4668
|
+
jd as GlDropdown,
|
|
4669
|
+
_d as GlFilesUpload,
|
|
4670
|
+
bd as GlLanguageSelector,
|
|
4671
|
+
Pd as GlModal,
|
|
4672
|
+
Dd as GlMultiItemSlide,
|
|
4673
|
+
vd as GlMultiSelectDropdown,
|
|
4674
|
+
pd as GlNotify,
|
|
4675
|
+
Od as GlTab,
|
|
4676
|
+
Sd as GlTabsWrapper,
|
|
4677
|
+
xo as GlTailwindPagination,
|
|
4678
|
+
Cd as GlTextInput,
|
|
4679
|
+
$d as GlTextTranslate,
|
|
4680
|
+
Ad as GlTextarea,
|
|
4681
|
+
wd as GlTextareaTranslate,
|
|
4682
|
+
kd as GlTinymceTranslate,
|
|
4677
4683
|
$e as GlToast,
|
|
4678
|
-
|
|
4679
|
-
|
|
4684
|
+
Md as GlToastList,
|
|
4685
|
+
Ed as GlToggleBox
|
|
4680
4686
|
};
|