golden-logic-ui 1.2.287 → 1.2.288
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 +452 -491
- package/dist/golden-logic-ui.umd.cjs +8 -8
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -550,7 +550,7 @@ function Sme(r, t, s, a, c, f) {
|
|
|
550
550
|
], 2)
|
|
551
551
|
], 64);
|
|
552
552
|
}
|
|
553
|
-
const
|
|
553
|
+
const j8e = /* @__PURE__ */ Ii(eme, [["render", Sme]]), Cme = {
|
|
554
554
|
components: {},
|
|
555
555
|
props: {
|
|
556
556
|
field_name: {
|
|
@@ -616,7 +616,7 @@ function Eme(r, t, s, a, c, f) {
|
|
|
616
616
|
]))), 256))
|
|
617
617
|
], 512);
|
|
618
618
|
}
|
|
619
|
-
const
|
|
619
|
+
const G8e = /* @__PURE__ */ Ii(Cme, [["render", Eme]]), Ame = { class: "bg-white border rounded-lg shadow-default dark:bg-gray-900 dark:border-gray-700" }, Pme = { class: "px-3 py-4 border-b dark:border-gray-700" }, Dme = { class: "font-semibold text-black dark:text-white" }, Y8e = {
|
|
620
620
|
__name: "GlCard",
|
|
621
621
|
props: {
|
|
622
622
|
class: {
|
|
@@ -661,7 +661,7 @@ const Y8e = /* @__PURE__ */ Ii(Cme, [["render", Eme]]), Ame = { class: "bg-white
|
|
|
661
661
|
xmlns: "http://www.w3.org/2000/svg",
|
|
662
662
|
fill: "none",
|
|
663
663
|
viewBox: "0 0 16 12"
|
|
664
|
-
}, qme = ["innerHTML"],
|
|
664
|
+
}, qme = ["innerHTML"], K8e = {
|
|
665
665
|
__name: "GlMultiSelectDropdown",
|
|
666
666
|
props: {
|
|
667
667
|
language: {
|
|
@@ -1032,7 +1032,7 @@ const Y8e = /* @__PURE__ */ Ii(Cme, [["render", Eme]]), Ame = { class: "bg-white
|
|
|
1032
1032
|
], 2))
|
|
1033
1033
|
], 64));
|
|
1034
1034
|
}
|
|
1035
|
-
}, jme = { class: "font-bold ptext-lg dark:text-white" }, Gme = ["name", "id"], Yme = ["id"], Kme = ["for"], Jme = ["name", "id"], ege = ["required", "name", "id", "type"], tge = { class: "gl-span-form-error" }, nge = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1035
|
+
}, jme = { class: "font-bold ptext-lg dark:text-white" }, Gme = ["name", "id"], Yme = ["id"], Kme = ["for"], Jme = ["name", "id"], ege = ["required", "name", "id", "type"], tge = { class: "gl-span-form-error" }, nge = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, J8e = {
|
|
1036
1036
|
__name: "GlTextareaTranslate",
|
|
1037
1037
|
props: {
|
|
1038
1038
|
is_required: {
|
|
@@ -1152,7 +1152,7 @@ const Y8e = /* @__PURE__ */ Ii(Cme, [["render", Eme]]), Ame = { class: "bg-white
|
|
|
1152
1152
|
], 2))
|
|
1153
1153
|
], 64));
|
|
1154
1154
|
}
|
|
1155
|
-
}, sge = { class: "font-bold ptext-lg dark:text-white" }, oge = ["name", "id"], rge = ["id"], ige = ["for"], age = ["name", "id"], lge = ["required", "name", "id", "type"], cge = { class: "gl-span-form-error" }, uge = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1155
|
+
}, sge = { class: "font-bold ptext-lg dark:text-white" }, oge = ["name", "id"], rge = ["id"], ige = ["for"], age = ["name", "id"], lge = ["required", "name", "id", "type"], cge = { class: "gl-span-form-error" }, uge = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, eRe = {
|
|
1156
1156
|
__name: "GlTextTranslate",
|
|
1157
1157
|
props: {
|
|
1158
1158
|
is_required: {
|
|
@@ -2167,7 +2167,7 @@ const Y8e = /* @__PURE__ */ Ii(Cme, [["render", Eme]]), Ame = { class: "bg-white
|
|
|
2167
2167
|
], 2))
|
|
2168
2168
|
], 64));
|
|
2169
2169
|
}
|
|
2170
|
-
}, e0e = { class: "font-bold ptext-lg dark:text-white" }, t0e = { class: "mb-4 text-base text-gray-900 dark:text-white" }, n0e = ["for"], s0e = ["required", "name", "id", "placeholder"], o0e = { class: "gl-span-form-error" }, r0e = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2170
|
+
}, e0e = { class: "font-bold ptext-lg dark:text-white" }, t0e = { class: "mb-4 text-base text-gray-900 dark:text-white" }, n0e = ["for"], s0e = ["required", "name", "id", "placeholder"], o0e = { class: "gl-span-form-error" }, r0e = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, tRe = {
|
|
2171
2171
|
__name: "GlTextInputFile",
|
|
2172
2172
|
props: {
|
|
2173
2173
|
is_required: {
|
|
@@ -2257,7 +2257,7 @@ const Y8e = /* @__PURE__ */ Ii(Cme, [["render", Eme]]), Ame = { class: "bg-white
|
|
|
2257
2257
|
], 2))
|
|
2258
2258
|
], 64));
|
|
2259
2259
|
}
|
|
2260
|
-
}, i0e = ["onClick"], a0e = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words rounded-[20px] border border-gray-200 dark:border-gray-800" }, l0e = { class: "flex-auto px-4 py-5" }, c0e = { class: "tab-content tab-space" },
|
|
2260
|
+
}, i0e = ["onClick"], a0e = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words rounded-[20px] border border-gray-200 dark:border-gray-800" }, l0e = { class: "flex-auto px-4 py-5" }, c0e = { class: "tab-content tab-space" }, nRe = {
|
|
2261
2261
|
__name: "GlTabsWrapper",
|
|
2262
2262
|
props: {
|
|
2263
2263
|
autoFlexTabs: {
|
|
@@ -2344,7 +2344,7 @@ function f0e(r, t, s, a, c, f) {
|
|
|
2344
2344
|
Ru(r.$slots, "default")
|
|
2345
2345
|
])) : Rt("", !0);
|
|
2346
2346
|
}
|
|
2347
|
-
const
|
|
2347
|
+
const sRe = /* @__PURE__ */ Ii(u0e, [["render", f0e]]), h0e = {
|
|
2348
2348
|
props: ["title"],
|
|
2349
2349
|
setup() {
|
|
2350
2350
|
return {
|
|
@@ -2359,7 +2359,7 @@ function g0e(r, t, s, a, c, f) {
|
|
|
2359
2359
|
[Ld, s.title == a.selectedTitle]
|
|
2360
2360
|
]);
|
|
2361
2361
|
}
|
|
2362
|
-
const
|
|
2362
|
+
const oRe = /* @__PURE__ */ Ii(h0e, [["render", g0e]]), p0e = {
|
|
2363
2363
|
props: {
|
|
2364
2364
|
elements_to_show_prop: {
|
|
2365
2365
|
type: Number,
|
|
@@ -2785,7 +2785,7 @@ function W0e(r, t, s, a, c, f) {
|
|
|
2785
2785
|
], 10, b0e)
|
|
2786
2786
|
]);
|
|
2787
2787
|
}
|
|
2788
|
-
const
|
|
2788
|
+
const rRe = /* @__PURE__ */ Ii(p0e, [["render", W0e], ["__scopeId", "data-v-f05f6689"]]), X0e = {
|
|
2789
2789
|
props: {
|
|
2790
2790
|
elements_to_show_prop: {
|
|
2791
2791
|
type: Number,
|
|
@@ -3213,11 +3213,11 @@ function Spe(r, t, s, a, c, f) {
|
|
|
3213
3213
|
], 10, q0e)
|
|
3214
3214
|
]);
|
|
3215
3215
|
}
|
|
3216
|
-
const
|
|
3216
|
+
const iRe = /* @__PURE__ */ Ii(X0e, [["render", Spe], ["__scopeId", "data-v-4c7f63bd"]]), Cpe = { class: "w-full bg-white rounded-[20px] shadow-sm dark:border md:mt-0 p-2 dark:bg-gray-900 dark:border-gray-800" }, kpe = { class: "pointer-events-auto relative flex max-h-full w-full flex-col text-current shadow-4 outline-hidden bg-white border rounded-xl dark:bg-gray-900 dark:border-gray-800" }, _pe = { class: "flex items-center justify-between shrink-0 pt-3 pb-3 pl-3 pr-3" }, Tpe = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, Epe = {
|
|
3217
3217
|
key: 0,
|
|
3218
3218
|
role: "status",
|
|
3219
3219
|
class: "max-w-full p-4 border border-gray-200 rounded-sm shadow-sm animate-pulse md:p-6 dark:border-gray-700"
|
|
3220
|
-
}, Ape = { class: "flex flex-wrap items-center justify-end shrink-0 p-4 rounded-b-md gap-2" },
|
|
3220
|
+
}, Ape = { class: "flex flex-wrap items-center justify-end shrink-0 p-4 rounded-b-md gap-2" }, aRe = {
|
|
3221
3221
|
__name: "GlModal",
|
|
3222
3222
|
props: {
|
|
3223
3223
|
language: {
|
|
@@ -3340,7 +3340,7 @@ const aRe = /* @__PURE__ */ Ii(X0e, [["render", Spe], ["__scopeId", "data-v-4c7f
|
|
|
3340
3340
|
}, Npe = {
|
|
3341
3341
|
key: 2,
|
|
3342
3342
|
class: "flex flex-wrap items-center justify-end shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600 gap-2"
|
|
3343
|
-
},
|
|
3343
|
+
}, lRe = {
|
|
3344
3344
|
__name: "GlModalWithoutOverflow",
|
|
3345
3345
|
props: {
|
|
3346
3346
|
is_open: {
|
|
@@ -3458,7 +3458,7 @@ const aRe = /* @__PURE__ */ Ii(X0e, [["render", Spe], ["__scopeId", "data-v-4c7f
|
|
|
3458
3458
|
key: 0,
|
|
3459
3459
|
role: "status",
|
|
3460
3460
|
class: "max-w-full p-4 border border-gray-200 rounded-sm shadow-sm animate-pulse md:p-6 dark:border-gray-700"
|
|
3461
|
-
}, Vpe = { class: "flex flex-wrap items-center justify-end shrink-0 p-4 rounded-b-md gap-2" },
|
|
3461
|
+
}, Vpe = { class: "flex flex-wrap items-center justify-end shrink-0 p-4 rounded-b-md gap-2" }, cRe = {
|
|
3462
3462
|
__name: "GlModalShow",
|
|
3463
3463
|
props: {
|
|
3464
3464
|
language: {
|
|
@@ -3571,7 +3571,7 @@ const aRe = /* @__PURE__ */ Ii(X0e, [["render", Spe], ["__scopeId", "data-v-4c7f
|
|
|
3571
3571
|
}, Hpe = { class: "flex justify-between p-2 h-10 -mb-px border rounded-lg no-underlin bg-gray-50 focus:border-primary dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:focus:border-primaryDark border-gray-200" }, zpe = { class: "relative inline-flex items-center cursor-pointer" }, Zpe = ["name", "id", "checked"], Upe = {
|
|
3572
3572
|
key: 0,
|
|
3573
3573
|
class: "flex justify-between items-center"
|
|
3574
|
-
}, Wpe = { class: "gl-label-form" }, Xpe = { class: "relative inline-flex items-center cursor-pointer" }, qpe = ["name", "id"], jpe = { class: "gl-span-form-error" }, Gpe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3574
|
+
}, Wpe = { class: "gl-label-form" }, Xpe = { class: "relative inline-flex items-center cursor-pointer" }, qpe = ["name", "id"], jpe = { class: "gl-span-form-error" }, Gpe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, uRe = {
|
|
3575
3575
|
__name: "GlToggleBox",
|
|
3576
3576
|
props: {
|
|
3577
3577
|
is_required: {
|
|
@@ -3688,7 +3688,7 @@ const aRe = /* @__PURE__ */ Ii(X0e, [["render", Spe], ["__scopeId", "data-v-4c7f
|
|
|
3688
3688
|
}, Ype = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, Kpe = { class: "relative inline-flex items-center cursor-pointer" }, Jpe = ["name", "id", "checked"], e1e = {
|
|
3689
3689
|
key: 0,
|
|
3690
3690
|
class: "flex justify-between items-center"
|
|
3691
|
-
}, t1e = { class: "gl-label-form" }, n1e = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-primaryDark" }, s1e = { class: "relative inline-flex items-center cursor-pointer" }, o1e = ["name", "id"], r1e = { class: "gl-span-form-error" }, i1e = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3691
|
+
}, t1e = { class: "gl-label-form" }, n1e = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-primaryDark" }, s1e = { class: "relative inline-flex items-center cursor-pointer" }, o1e = ["name", "id"], r1e = { class: "gl-span-form-error" }, i1e = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, dRe = {
|
|
3692
3692
|
__name: "GlToggleBoxTrueFalse",
|
|
3693
3693
|
props: {
|
|
3694
3694
|
is_required: {
|
|
@@ -4230,7 +4230,7 @@ const aRe = /* @__PURE__ */ Ii(X0e, [["render", Spe], ["__scopeId", "data-v-4c7f
|
|
|
4230
4230
|
], 2))
|
|
4231
4231
|
], 64));
|
|
4232
4232
|
}
|
|
4233
|
-
}, A1e = { class: "font-bold ptext-lg dark:text-white" }, P1e = ["id"], D1e = ["for"], $1e = ["required", "name", "id", "type", "placeholder"], R1e = { class: "gl-span-form-error" }, M1e = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
4233
|
+
}, A1e = { class: "font-bold ptext-lg dark:text-white" }, P1e = ["id"], D1e = ["for"], $1e = ["required", "name", "id", "type", "placeholder"], R1e = { class: "gl-span-form-error" }, M1e = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, fRe = {
|
|
4234
4234
|
__name: "GLTextarea",
|
|
4235
4235
|
props: {
|
|
4236
4236
|
is_required: {
|
|
@@ -57539,7 +57539,7 @@ function tbe() {
|
|
|
57539
57539
|
})()), Qre;
|
|
57540
57540
|
}
|
|
57541
57541
|
tbe();
|
|
57542
|
-
const nbe = { class: "font-bold ptext-lg dark:text-white" }, sbe = ["id"], obe = ["for"], rbe = ["name", "id", "type"], ibe = { class: "gl-span-form-error" }, abe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
57542
|
+
const nbe = { class: "font-bold ptext-lg dark:text-white" }, sbe = ["id"], obe = ["for"], rbe = ["name", "id", "type"], ibe = { class: "gl-span-form-error" }, abe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, hRe = {
|
|
57543
57543
|
__name: "GlTinymce",
|
|
57544
57544
|
props: {
|
|
57545
57545
|
is_required: { type: Boolean, default: !1 },
|
|
@@ -73284,7 +73284,7 @@ const X2e = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(nav
|
|
|
73284
73284
|
tag: Pt.invalid,
|
|
73285
73285
|
color: Y2e
|
|
73286
73286
|
}
|
|
73287
|
-
]), YH = [swe, /* @__PURE__ */ lOe(owe)], rwe = { class: "font-bold ptext-lg dark:text-white" }, iwe = ["id"], awe = ["for"], lwe = { class: "gl-span-form-error" }, cwe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
73287
|
+
]), YH = [swe, /* @__PURE__ */ lOe(owe)], rwe = { class: "font-bold ptext-lg dark:text-white" }, iwe = ["id"], awe = ["for"], lwe = { class: "gl-span-form-error" }, cwe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, vRe = {
|
|
73288
73288
|
__name: "GlCodeMirror",
|
|
73289
73289
|
props: {
|
|
73290
73290
|
modelValue: {
|
|
@@ -75298,7 +75298,7 @@ const Wae = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
75298
75298
|
scrollIntoView: !0
|
|
75299
75299
|
})
|
|
75300
75300
|
]), !0);
|
|
75301
|
-
}), DSe = { class: "font-bold ptext-lg dark:text-white" }, $Se = ["id"], RSe = ["name", "id"], MSe = ["for"], NSe = ["name", "id"], BSe = ["name", "id"], FSe = { class: "gl-span-form-error" }, ISe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
75301
|
+
}), DSe = { class: "font-bold ptext-lg dark:text-white" }, $Se = ["id"], RSe = ["name", "id"], MSe = ["for"], NSe = ["name", "id"], BSe = ["name", "id"], FSe = { class: "gl-span-form-error" }, ISe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, yRe = {
|
|
75302
75302
|
__name: "GlCodeMirrorTranslate",
|
|
75303
75303
|
props: {
|
|
75304
75304
|
modelValue: {
|
|
@@ -75479,7 +75479,7 @@ const Wae = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
75479
75479
|
], 2))
|
|
75480
75480
|
], 64));
|
|
75481
75481
|
}
|
|
75482
|
-
}, LSe = { class: "font-bold ptext-lg dark:text-white" }, QSe = ["name", "id"], VSe = ["id"], HSe = ["for"], zSe = ["name", "id"], ZSe = ["name", "id", "type"], USe = { class: "gl-span-form-error" }, WSe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
75482
|
+
}, LSe = { class: "font-bold ptext-lg dark:text-white" }, QSe = ["name", "id"], VSe = ["id"], HSe = ["for"], zSe = ["name", "id"], ZSe = ["name", "id", "type"], USe = { class: "gl-span-form-error" }, WSe = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, ORe = {
|
|
75483
75483
|
__name: "GlTinymceTranslate",
|
|
75484
75484
|
props: {
|
|
75485
75485
|
is_required: {
|
|
@@ -91645,68 +91645,34 @@ class n5e {
|
|
|
91645
91645
|
}
|
|
91646
91646
|
}
|
|
91647
91647
|
print(t) {
|
|
91648
|
-
var s = this, a = document.getElementById(this.settings.id) || t.f, c = !1
|
|
91648
|
+
var s = this, a = document.getElementById(this.settings.id) || t.f, c = !1;
|
|
91649
|
+
function f() {
|
|
91650
|
+
var b = !!window.chrome, x = typeof InstallTrigger < "u", C = b || x ? "focus" : "mouseover", T = function() {
|
|
91651
|
+
window.removeEventListener(C, T), s.settings.closeCallback();
|
|
91652
|
+
try {
|
|
91653
|
+
a.remove();
|
|
91654
|
+
} catch {
|
|
91655
|
+
}
|
|
91656
|
+
s.removeCanvasImg();
|
|
91657
|
+
};
|
|
91658
|
+
window.addEventListener(C, T);
|
|
91659
|
+
}
|
|
91660
|
+
var h = function() {
|
|
91649
91661
|
if (!c) {
|
|
91650
91662
|
c = !0, s.settings.openCallback();
|
|
91651
|
-
var h = navigator.userAgent, b = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(h) || /Android/i.test(h) && !/Mobile/i.test(h);
|
|
91652
|
-
if (!b) {
|
|
91653
|
-
a.contentWindow.focus(), a.contentWindow.print();
|
|
91654
|
-
try {
|
|
91655
|
-
a.remove();
|
|
91656
|
-
} catch {
|
|
91657
|
-
}
|
|
91658
|
-
s.settings.closeCallback(), s.removeCanvasImg();
|
|
91659
|
-
return;
|
|
91660
|
-
}
|
|
91661
|
-
var x = s.settings.mobileWindow;
|
|
91662
|
-
if (!x || x.closed) {
|
|
91663
|
-
console.warn("Print: mobile window unavailable, falling back to iframe print"), a.contentWindow.focus(), a.contentWindow.print();
|
|
91664
|
-
try {
|
|
91665
|
-
a.remove();
|
|
91666
|
-
} catch {
|
|
91667
|
-
}
|
|
91668
|
-
s.settings.closeCallback(), s.removeCanvasImg();
|
|
91669
|
-
return;
|
|
91670
|
-
}
|
|
91671
91663
|
try {
|
|
91672
|
-
|
|
91673
|
-
|
|
91674
|
-
|
|
91675
|
-
|
|
91676
|
-
|
|
91677
|
-
|
|
91678
|
-
|
|
91679
|
-
try {
|
|
91680
|
-
a.remove();
|
|
91681
|
-
} catch {
|
|
91682
|
-
}
|
|
91683
|
-
s.settings.closeCallback(), s.removeCanvasImg();
|
|
91684
|
-
}
|
|
91685
|
-
}, q = function() {
|
|
91686
|
-
R || (R = !0, x.focus(), x.addEventListener("afterprint", L), M = setTimeout(L, 6e4), x.print());
|
|
91687
|
-
};
|
|
91688
|
-
var C = a.contentDocument || a.contentWindow.document, T = "<!DOCTYPE html><html>" + C.documentElement.innerHTML + "</html>", R = !1, M;
|
|
91689
|
-
x.onload = function() {
|
|
91690
|
-
x.onload = null, q();
|
|
91691
|
-
}, x.document.open(), x.document.write(T), x.document.close(), setTimeout(function() {
|
|
91692
|
-
q();
|
|
91693
|
-
}, 1500);
|
|
91694
|
-
} catch (L) {
|
|
91695
|
-
console.error("Print error:", L);
|
|
91696
|
-
try {
|
|
91697
|
-
x.close();
|
|
91698
|
-
} catch {
|
|
91699
|
-
}
|
|
91700
|
-
try {
|
|
91701
|
-
a.remove();
|
|
91702
|
-
} catch {
|
|
91703
|
-
}
|
|
91704
|
-
s.settings.closeCallback(), s.removeCanvasImg();
|
|
91664
|
+
a.focus(), setTimeout(function() {
|
|
91665
|
+
a.contentWindow.print();
|
|
91666
|
+
}, 1e3);
|
|
91667
|
+
} catch (b) {
|
|
91668
|
+
console.error("Print error:", b);
|
|
91669
|
+
} finally {
|
|
91670
|
+
f();
|
|
91705
91671
|
}
|
|
91706
91672
|
}
|
|
91707
91673
|
};
|
|
91708
91674
|
s.settings.beforeOpenCallback(), s.addEvent(a, "load", function() {
|
|
91709
|
-
|
|
91675
|
+
h();
|
|
91710
91676
|
});
|
|
91711
91677
|
}
|
|
91712
91678
|
print1(t) {
|
|
@@ -91822,12 +91788,10 @@ class n5e {
|
|
|
91822
91788
|
}
|
|
91823
91789
|
iframeBox(t, s) {
|
|
91824
91790
|
let a = document.createElement("iframe");
|
|
91825
|
-
return a.style.border = "0px", a.style.position = "absolute", a.style.width = "0px", a.style.height = "0px", a.style.right = "0px", a.style.top = "0px", a.setAttribute("id", t), a.setAttribute("src", s), a;
|
|
91791
|
+
return a.style.border = "0px", a.style.position = "absolute", a.style.width = "0px", a.style.height = "0px", a.style.right = "0px", a.style.top = "0px", a.setAttribute("id", t), s ? a.setAttribute("src", s) : a.setAttribute("srcdoc", "<!DOCTYPE html><html><head></head><body></body></html>"), a;
|
|
91826
91792
|
}
|
|
91827
91793
|
Iframe(t) {
|
|
91828
|
-
let s = this.settings.id;
|
|
91829
|
-
t = t || (/* @__PURE__ */ new Date()).getTime();
|
|
91830
|
-
let a = this, c = this.iframeBox(s, t);
|
|
91794
|
+
let s = this.settings.id, a = this, c = this.iframeBox(s, t);
|
|
91831
91795
|
try {
|
|
91832
91796
|
if (!this.settings.preview)
|
|
91833
91797
|
document.body.appendChild(c);
|
|
@@ -91849,7 +91813,7 @@ class n5e {
|
|
|
91849
91813
|
}
|
|
91850
91814
|
const s5e = (r, t, s) => {
|
|
91851
91815
|
r.addEventListener ? r.addEventListener(t, s, !1) : r.attachEvent ? r.attachEvent("on" + t, s) : r["on" + t] = s;
|
|
91852
|
-
}, o5e =
|
|
91816
|
+
}, o5e = {
|
|
91853
91817
|
directiveName: "print",
|
|
91854
91818
|
mounted(r, t, s) {
|
|
91855
91819
|
let a = t.instance, c = "";
|
|
@@ -91858,21 +91822,18 @@ const s5e = (r, t, s) => {
|
|
|
91858
91822
|
c = t.value;
|
|
91859
91823
|
else if (typeof t.value == "object" && t.value.id) {
|
|
91860
91824
|
c = t.value.id;
|
|
91861
|
-
let
|
|
91862
|
-
document.getElementById(
|
|
91825
|
+
let h = c.replace(new RegExp("#", "g"), "");
|
|
91826
|
+
document.getElementById(h) || (console.log("id in Error"), c = "");
|
|
91863
91827
|
} else {
|
|
91864
91828
|
window.print();
|
|
91865
91829
|
return;
|
|
91866
91830
|
}
|
|
91867
|
-
|
|
91868
|
-
o5e() && !t.value.preview && (h = window.open("", "_blank")), f(h);
|
|
91831
|
+
f();
|
|
91869
91832
|
});
|
|
91870
|
-
const f = (
|
|
91833
|
+
const f = () => {
|
|
91871
91834
|
new n5e({
|
|
91872
91835
|
ids: c,
|
|
91873
91836
|
vue: a,
|
|
91874
|
-
mobileWindow: h,
|
|
91875
|
-
// pre-opened window for mobile
|
|
91876
91837
|
url: t.value.url,
|
|
91877
91838
|
standard: "",
|
|
91878
91839
|
extraHead: t.value.extraHead,
|
|
@@ -91901,7 +91862,7 @@ const s5e = (r, t, s) => {
|
|
|
91901
91862
|
});
|
|
91902
91863
|
};
|
|
91903
91864
|
}
|
|
91904
|
-
},
|
|
91865
|
+
}, r5e = {
|
|
91905
91866
|
components: {
|
|
91906
91867
|
TailwindPagination: Pde,
|
|
91907
91868
|
GlTextInput: wge,
|
|
@@ -92122,34 +92083,34 @@ const s5e = (r, t, s) => {
|
|
|
92122
92083
|
}
|
|
92123
92084
|
},
|
|
92124
92085
|
directives: {
|
|
92125
|
-
print:
|
|
92086
|
+
print: o5e
|
|
92126
92087
|
}
|
|
92127
|
-
},
|
|
92088
|
+
}, i5e = {
|
|
92128
92089
|
ref: "hiddenPrintBtn",
|
|
92129
92090
|
style: { display: "none" }
|
|
92130
|
-
},
|
|
92091
|
+
}, a5e = { class: "p-0" }, l5e = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, c5e = { class: "flex items-center gap-2" }, u5e = { class: "font-medium" }, d5e = { class: "mt-[3px]" }, f5e = { class: "font-medium" }, h5e = { class: "relative" }, m5e = ["placeholder"], g5e = { class: "flex flex-wrap mb-3 gap-1 lg:gap-0!" }, p5e = ["id"], b5e = ["aria-labelledby"], v5e = { class: "flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600" }, y5e = ["id", "onUpdate:modelValue"], O5e = ["for"], x5e = ["id"], w5e = ["id"], S5e = { class: "hidden text-sm font-normal text-center text-gray-600 print:table-header-group! lg:table-header-group dark:border-gray-600 bg-gray-50 dark:bg-gray-800 dark:text-gray-400 print:border-[1px]!" }, C5e = {
|
|
92131
92092
|
key: 0,
|
|
92132
92093
|
class: "w-full px-4 py-2 lg:w-[3%]! print:hidden!"
|
|
92133
|
-
},
|
|
92094
|
+
}, k5e = ["onClick"], _5e = { class: "inline-flex items-center justify-center gap-1" }, T5e = {
|
|
92134
92095
|
key: 0,
|
|
92135
92096
|
class: "print:hidden!"
|
|
92136
|
-
},
|
|
92097
|
+
}, E5e = { class: "bg-white dark:bg-gray-900" }, A5e = { key: 0 }, P5e = ["colspan"], D5e = {
|
|
92137
92098
|
key: 0,
|
|
92138
92099
|
class: "print:hidden! text-center rounded-t-lg lg:rounded-t-none! print:rounded-t-none! text-pretty before:content-[attr(data-label)] before:font-bold dark:before:text-gray-400 lg:before:content-[''] print:before:content-['']! flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 print:py-3! print:px-4! border! dark:border-gray-700",
|
|
92139
92100
|
"data-label": ""
|
|
92140
|
-
},
|
|
92141
|
-
function
|
|
92101
|
+
}, $5e = ["checked", "onChange"], R5e = ["data-label"], M5e = { class: "flex items-center justify-between bg-white border-gray-200 dark:text-gray-400 dark:bg-gray-800" };
|
|
92102
|
+
function N5e(r, t, s, a, c, f) {
|
|
92142
92103
|
const h = id("DynamicConfirmation"), b = id("dropdown"), x = id("GlDropdown"), C = id("GlTextInput"), T = id("GlDateRangePicker"), R = id("gl-button"), M = id("TailwindPagination"), L = Ik("print"), q = Ik("click-outside");
|
|
92143
92104
|
return Fe(), He(so, null, [
|
|
92144
92105
|
Ql(h, { ref: "ConfirmationDelete" }, null, 512),
|
|
92145
|
-
zr(U("button",
|
|
92106
|
+
zr(U("button", i5e, null, 512), [
|
|
92146
92107
|
[L, c.printObj]
|
|
92147
92108
|
]),
|
|
92148
|
-
U("div",
|
|
92149
|
-
U("div",
|
|
92150
|
-
U("div",
|
|
92151
|
-
U("span",
|
|
92152
|
-
U("div",
|
|
92109
|
+
U("div", a5e, [
|
|
92110
|
+
U("div", l5e, [
|
|
92111
|
+
U("div", c5e, [
|
|
92112
|
+
U("span", u5e, Vt(s.language?.show ?? "Show"), 1),
|
|
92113
|
+
U("div", d5e, [
|
|
92153
92114
|
Ql(b, {
|
|
92154
92115
|
options_top_size: 0,
|
|
92155
92116
|
has_cancel: !1,
|
|
@@ -92164,13 +92125,13 @@ function B5e(r, t, s, a, c, f) {
|
|
|
92164
92125
|
placeholder: "Please select an option"
|
|
92165
92126
|
}, null, 8, ["options", "modelValue"])
|
|
92166
92127
|
]),
|
|
92167
|
-
U("span",
|
|
92128
|
+
U("span", f5e, Vt(s.language?.entries ?? "Entries"), 1)
|
|
92168
92129
|
]),
|
|
92169
92130
|
t[6] || (t[6] = U("label", {
|
|
92170
92131
|
for: "table-search",
|
|
92171
92132
|
class: "sr-only"
|
|
92172
92133
|
}, "Search", -1)),
|
|
92173
|
-
U("div",
|
|
92134
|
+
U("div", h5e, [
|
|
92174
92135
|
t[5] || (t[5] = U("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, null, -1)),
|
|
92175
92136
|
zr(U("input", {
|
|
92176
92137
|
type: "text",
|
|
@@ -92178,7 +92139,7 @@ function B5e(r, t, s, a, c, f) {
|
|
|
92178
92139
|
onInput: t[2] || (t[2] = (Z) => f.handleSearch()),
|
|
92179
92140
|
class: "gl-input-form",
|
|
92180
92141
|
placeholder: s.language?.search ? s.language?.search + " ..." : "Search ..."
|
|
92181
|
-
}, null, 40,
|
|
92142
|
+
}, null, 40, m5e), [
|
|
92182
92143
|
[Cp, c.search]
|
|
92183
92144
|
])
|
|
92184
92145
|
])
|
|
@@ -92266,7 +92227,7 @@ function B5e(r, t, s, a, c, f) {
|
|
|
92266
92227
|
], 64)) : Rt("", !0)
|
|
92267
92228
|
], 64))), 128))
|
|
92268
92229
|
], 2),
|
|
92269
|
-
U("div",
|
|
92230
|
+
U("div", g5e, [
|
|
92270
92231
|
Ql(R, {
|
|
92271
92232
|
onClick: f.delayedPrint,
|
|
92272
92233
|
tag: "button",
|
|
@@ -92341,23 +92302,23 @@ function B5e(r, t, s, a, c, f) {
|
|
|
92341
92302
|
"aria-labelledby": "db_" + c.Random_string
|
|
92342
92303
|
}, [
|
|
92343
92304
|
(Fe(!0), He(so, null, Nr(s.columns, (Z, Y) => (Fe(), He("li", null, [
|
|
92344
|
-
U("div",
|
|
92305
|
+
U("div", v5e, [
|
|
92345
92306
|
zr(U("input", {
|
|
92346
92307
|
id: "cb_" + Z.field_name,
|
|
92347
92308
|
type: "checkbox",
|
|
92348
92309
|
"onUpdate:modelValue": (ue) => c.columnVisibility[Z.field_name] = ue,
|
|
92349
92310
|
class: "w-4 h-4 rounded-sm"
|
|
92350
|
-
}, null, 8,
|
|
92311
|
+
}, null, 8, y5e), [
|
|
92351
92312
|
[pne, c.columnVisibility[Z.field_name]]
|
|
92352
92313
|
]),
|
|
92353
92314
|
U("label", {
|
|
92354
92315
|
for: "cb_" + Z.field_name,
|
|
92355
92316
|
class: "w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300"
|
|
92356
|
-
}, Vt(Z.field_name), 9,
|
|
92317
|
+
}, Vt(Z.field_name), 9, O5e)
|
|
92357
92318
|
])
|
|
92358
92319
|
]))), 256))
|
|
92359
|
-
], 8,
|
|
92360
|
-
], 8,
|
|
92320
|
+
], 8, b5e)
|
|
92321
|
+
], 8, p5e), [
|
|
92361
92322
|
[Ld, c.isOpenColumnVisibility]
|
|
92362
92323
|
])
|
|
92363
92324
|
])), [
|
|
@@ -92389,17 +92350,17 @@ function B5e(r, t, s, a, c, f) {
|
|
|
92389
92350
|
id: "table" + c.Random_string,
|
|
92390
92351
|
class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse print:border-collapse! border-spacing-y-5 lg:border-spacing-y-0 print:border-spacing-y-0! dark:border-gray-800 dark:bg-gray-900"
|
|
92391
92352
|
}, [
|
|
92392
|
-
U("thead",
|
|
92353
|
+
U("thead", S5e, [
|
|
92393
92354
|
U("tr", null, [
|
|
92394
|
-
s.enable_select_deselect_delete ? (Fe(), He("th",
|
|
92355
|
+
s.enable_select_deselect_delete ? (Fe(), He("th", C5e)) : Rt("", !0),
|
|
92395
92356
|
(Fe(!0), He(so, null, Nr(f.visibleColumns, (Z, Y) => (Fe(), He("th", {
|
|
92396
92357
|
key: Y,
|
|
92397
92358
|
onClick: (ue) => f.updateSortColumn(Z.field_name, Z.sortable),
|
|
92398
92359
|
class: "w-full px-4 py-2 lg:w-2/12 print:w-2/12! print:border!"
|
|
92399
92360
|
}, [
|
|
92400
|
-
U("div",
|
|
92361
|
+
U("div", _5e, [
|
|
92401
92362
|
U("span", null, Vt(Z.field_label), 1),
|
|
92402
|
-
c.sortField === Z.field_name ? (Fe(), He("span",
|
|
92363
|
+
c.sortField === Z.field_name ? (Fe(), He("span", T5e, t[8] || (t[8] = [
|
|
92403
92364
|
U("svg", {
|
|
92404
92365
|
class: "w-4 h-4",
|
|
92405
92366
|
"aria-hidden": "true",
|
|
@@ -92417,11 +92378,11 @@ function B5e(r, t, s, a, c, f) {
|
|
|
92417
92378
|
], -1)
|
|
92418
92379
|
]))) : Rt("", !0)
|
|
92419
92380
|
])
|
|
92420
|
-
], 8,
|
|
92381
|
+
], 8, k5e))), 128))
|
|
92421
92382
|
])
|
|
92422
92383
|
]),
|
|
92423
|
-
U("tbody",
|
|
92424
|
-
c.isLoading ? (Fe(), He("tr",
|
|
92384
|
+
U("tbody", E5e, [
|
|
92385
|
+
c.isLoading ? (Fe(), He("tr", A5e, [
|
|
92425
92386
|
U("td", {
|
|
92426
92387
|
colspan: s.columns.length + (s.enable_select_deselect_delete ? 1 : 0)
|
|
92427
92388
|
}, t[9] || (t[9] = [
|
|
@@ -92466,20 +92427,20 @@ function B5e(r, t, s, a, c, f) {
|
|
|
92466
92427
|
]),
|
|
92467
92428
|
U("span", { class: "sr-only" }, "Loading...")
|
|
92468
92429
|
], -1)
|
|
92469
|
-
]), 8,
|
|
92430
|
+
]), 8, P5e)
|
|
92470
92431
|
])) : Rt("", !0),
|
|
92471
92432
|
c.isLoading ? Rt("", !0) : (Fe(!0), He(so, { key: 1 }, Nr(c.itemLists.data, (Z, Y) => (Fe(), He("tr", {
|
|
92472
92433
|
key: Y,
|
|
92473
92434
|
class: "text-gray-500 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-200"
|
|
92474
92435
|
}, [
|
|
92475
|
-
s.enable_select_deselect_delete ? (Fe(), He("td",
|
|
92436
|
+
s.enable_select_deselect_delete ? (Fe(), He("td", D5e, [
|
|
92476
92437
|
U("input", {
|
|
92477
92438
|
checked: c.checkedIds.includes(Z.id),
|
|
92478
92439
|
onChange: (ue) => f.toggleCheck(Z.id),
|
|
92479
92440
|
type: "checkbox",
|
|
92480
92441
|
value: "",
|
|
92481
92442
|
class: "w-4 h-4 rounded-sm"
|
|
92482
|
-
}, null, 40,
|
|
92443
|
+
}, null, 40, $5e)
|
|
92483
92444
|
])) : Rt("", !0),
|
|
92484
92445
|
(Fe(!0), He(so, null, Nr(f.visibleColumns, (ue, Ce) => (Fe(), He("td", {
|
|
92485
92446
|
style: Rle(ue?.style),
|
|
@@ -92509,12 +92470,12 @@ function B5e(r, t, s, a, c, f) {
|
|
|
92509
92470
|
fo(Vt(Z[ue.field_name]), 1)
|
|
92510
92471
|
], 64))
|
|
92511
92472
|
], 2)
|
|
92512
|
-
], 14,
|
|
92473
|
+
], 14, R5e))), 128))
|
|
92513
92474
|
]))), 128))
|
|
92514
92475
|
])
|
|
92515
|
-
], 8,
|
|
92516
|
-
], 8,
|
|
92517
|
-
U("div",
|
|
92476
|
+
], 8, w5e)
|
|
92477
|
+
], 8, x5e),
|
|
92478
|
+
U("div", M5e, [
|
|
92518
92479
|
Ql(M, {
|
|
92519
92480
|
class: "mt-3 mb-0",
|
|
92520
92481
|
classes: "px-4 py-3 sm:px-6",
|
|
@@ -92528,8 +92489,8 @@ function B5e(r, t, s, a, c, f) {
|
|
|
92528
92489
|
])
|
|
92529
92490
|
], 64);
|
|
92530
92491
|
}
|
|
92531
|
-
const
|
|
92532
|
-
class
|
|
92492
|
+
const xRe = /* @__PURE__ */ Ii(r5e, [["render", N5e], ["__scopeId", "data-v-acd048d8"]]);
|
|
92493
|
+
class B5e {
|
|
92533
92494
|
constructor(t) {
|
|
92534
92495
|
this.standards = { strict: "strict", loose: "loose", html5: "html5" }, this.previewBody = null, this.close = null, this.previewBodyUtilPrintBtn = null, this.selectArray = [], this.counter = 0, this.settings = { standard: this.standards.html5 }, Object.assign(this.settings, t), this.init();
|
|
92535
92496
|
}
|
|
@@ -92707,7 +92668,7 @@ var Ose = { directiveName: "print", mounted(r, t, s) {
|
|
|
92707
92668
|
x();
|
|
92708
92669
|
}, (f = r).addEventListener ? f.addEventListener(h, b, !1) : f.attachEvent ? f.attachEvent("on" + h, b) : f["on" + h] = b;
|
|
92709
92670
|
const x = () => {
|
|
92710
|
-
new
|
|
92671
|
+
new B5e({ ids: c, vue: a, url: t.value.url, standard: "", extraHead: t.value.extraHead, extraCss: t.value.extraCss, zIndex: t.value.zIndex || 20002, previewTitle: t.value.previewTitle || "打印预览", previewPrintBtnLabel: t.value.previewPrintBtnLabel || "打印", popTitle: t.value.popTitle, preview: t.value.preview || !1, asyncUrl: t.value.asyncUrl, previewBeforeOpenCallback() {
|
|
92711
92672
|
t.value.previewBeforeOpenCallback && t.value.previewBeforeOpenCallback(a);
|
|
92712
92673
|
}, previewOpenCallback() {
|
|
92713
92674
|
t.value.previewOpenCallback && t.value.previewOpenCallback(a);
|
|
@@ -92722,7 +92683,7 @@ var Ose = { directiveName: "print", mounted(r, t, s) {
|
|
|
92722
92683
|
}, install: function(r) {
|
|
92723
92684
|
r.directive("print", Ose);
|
|
92724
92685
|
} };
|
|
92725
|
-
const
|
|
92686
|
+
const F5e = {
|
|
92726
92687
|
components: {},
|
|
92727
92688
|
props: {
|
|
92728
92689
|
data: Array,
|
|
@@ -92875,26 +92836,26 @@ const I5e = {
|
|
|
92875
92836
|
directives: {
|
|
92876
92837
|
print: Ose
|
|
92877
92838
|
}
|
|
92878
|
-
},
|
|
92839
|
+
}, I5e = { class: "p-0" }, L5e = {
|
|
92879
92840
|
ref: "hiddenPrintBtn",
|
|
92880
92841
|
style: { display: "none" }
|
|
92881
|
-
},
|
|
92842
|
+
}, Q5e = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, V5e = { class: "flex items-center gap-2" }, H5e = { class: "mt-[9px]" }, z5e = { class: "relative" }, Z5e = { class: "flex flex-wrap mb-3" }, U5e = ["id"], W5e = ["id"], X5e = { class: "hidden text-sm font-normal text-center text-gray-600 print:table-header-group! lg:table-header-group dark:border-gray-600 bg-gray-50 dark:bg-gray-800 dark:text-gray-400 print:border-[1px]!" }, q5e = ["onClick"], j5e = { class: "inline-flex items-center justify-center gap-1" }, G5e = {
|
|
92882
92843
|
key: 0,
|
|
92883
92844
|
class: "print:hidden!"
|
|
92884
|
-
},
|
|
92845
|
+
}, Y5e = { class: "bg-white dark:bg-gray-900" }, K5e = { key: 0 }, J5e = ["colspan"], ePe = ["data-label"], tPe = ["innerHTML"], nPe = {
|
|
92885
92846
|
key: 0,
|
|
92886
92847
|
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"
|
|
92887
|
-
},
|
|
92888
|
-
function
|
|
92848
|
+
}, sPe = { class: "flex flex-col items-center w-full gap-2" }, oPe = { class: "text-sm text-gray-700 dark:text-gray-400" }, rPe = { class: "font-semibold text-gray-900 dark:text-white" }, iPe = { class: "font-semibold text-gray-900 dark:text-white" }, aPe = { class: "font-semibold text-gray-900 dark:text-white" }, lPe = { "aria-label": "Page navigation" }, cPe = { class: "flex items-center h-8 -space-x-px text-sm" }, uPe = ["onClick", "aria-current"];
|
|
92849
|
+
function dPe(r, t, s, a, c, f) {
|
|
92889
92850
|
const h = id("dropdown"), b = id("gl-button"), x = Ik("print");
|
|
92890
|
-
return Fe(), He("div",
|
|
92891
|
-
zr(U("button",
|
|
92851
|
+
return Fe(), He("div", I5e, [
|
|
92852
|
+
zr(U("button", L5e, null, 512), [
|
|
92892
92853
|
[x, c.printObj]
|
|
92893
92854
|
]),
|
|
92894
|
-
U("div",
|
|
92895
|
-
U("div",
|
|
92855
|
+
U("div", Q5e, [
|
|
92856
|
+
U("div", V5e, [
|
|
92896
92857
|
t[4] || (t[4] = U("span", { class: "font-medium" }, " Show ", -1)),
|
|
92897
|
-
U("div",
|
|
92858
|
+
U("div", H5e, [
|
|
92898
92859
|
Ql(h, {
|
|
92899
92860
|
has_cancel: !1,
|
|
92900
92861
|
options: c.showNoOfEntries,
|
|
@@ -92914,7 +92875,7 @@ function fPe(r, t, s, a, c, f) {
|
|
|
92914
92875
|
for: "table-search",
|
|
92915
92876
|
class: "sr-only"
|
|
92916
92877
|
}, "Search", -1)),
|
|
92917
|
-
U("div",
|
|
92878
|
+
U("div", z5e, [
|
|
92918
92879
|
t[6] || (t[6] = U("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, null, -1)),
|
|
92919
92880
|
zr(U("input", {
|
|
92920
92881
|
type: "text",
|
|
@@ -92926,7 +92887,7 @@ function fPe(r, t, s, a, c, f) {
|
|
|
92926
92887
|
])
|
|
92927
92888
|
])
|
|
92928
92889
|
]),
|
|
92929
|
-
U("div",
|
|
92890
|
+
U("div", Z5e, [
|
|
92930
92891
|
Ql(b, {
|
|
92931
92892
|
onClick: f.delayedPrint,
|
|
92932
92893
|
tag: "button",
|
|
@@ -92968,16 +92929,16 @@ function fPe(r, t, s, a, c, f) {
|
|
|
92968
92929
|
id: "table" + c.Random_string,
|
|
92969
92930
|
class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse print:border-collapse! border-spacing-y-5 lg:border-spacing-y-0 print:border-spacing-y-0! dark:border-gray-800 dark:bg-gray-900"
|
|
92970
92931
|
}, [
|
|
92971
|
-
U("thead",
|
|
92932
|
+
U("thead", X5e, [
|
|
92972
92933
|
U("tr", null, [
|
|
92973
92934
|
(Fe(!0), He(so, null, Nr(s.columns, (C, T) => (Fe(), He("th", {
|
|
92974
92935
|
key: T,
|
|
92975
92936
|
onClick: (R) => f.sort(C.field_name, C.sortable),
|
|
92976
92937
|
class: "w-full px-4 py-2 lg:w-2/12 print:w-2/12! print:border!"
|
|
92977
92938
|
}, [
|
|
92978
|
-
U("div",
|
|
92939
|
+
U("div", j5e, [
|
|
92979
92940
|
U("span", null, Vt(C.field_label), 1),
|
|
92980
|
-
c.sortKey === C.field_name ? (Fe(), He("span",
|
|
92941
|
+
c.sortKey === C.field_name ? (Fe(), He("span", G5e, t[10] || (t[10] = [
|
|
92981
92942
|
U("svg", {
|
|
92982
92943
|
class: "w-4 h-4",
|
|
92983
92944
|
"aria-hidden": "true",
|
|
@@ -92995,11 +92956,11 @@ function fPe(r, t, s, a, c, f) {
|
|
|
92995
92956
|
], -1)
|
|
92996
92957
|
]))) : Rt("", !0)
|
|
92997
92958
|
])
|
|
92998
|
-
], 8,
|
|
92959
|
+
], 8, q5e))), 128))
|
|
92999
92960
|
])
|
|
93000
92961
|
]),
|
|
93001
|
-
U("tbody",
|
|
93002
|
-
c.isLoading ? (Fe(), He("tr",
|
|
92962
|
+
U("tbody", Y5e, [
|
|
92963
|
+
c.isLoading ? (Fe(), He("tr", K5e, [
|
|
93003
92964
|
U("td", {
|
|
93004
92965
|
colspan: s.columns.length
|
|
93005
92966
|
}, t[11] || (t[11] = [
|
|
@@ -93044,7 +93005,7 @@ function fPe(r, t, s, a, c, f) {
|
|
|
93044
93005
|
]),
|
|
93045
93006
|
U("span", { class: "sr-only" }, "Loading...")
|
|
93046
93007
|
], -1)
|
|
93047
|
-
]), 8,
|
|
93008
|
+
]), 8, J5e)
|
|
93048
93009
|
])) : Rt("", !0),
|
|
93049
93010
|
c.isLoading ? Rt("", !0) : (Fe(!0), He(so, { key: 1 }, Nr(f.paginatedData, (C, T) => (Fe(), He("tr", {
|
|
93050
93011
|
key: T,
|
|
@@ -93073,26 +93034,26 @@ function fPe(r, t, s, a, c, f) {
|
|
|
93073
93034
|
key: 1,
|
|
93074
93035
|
class: "text-pretty",
|
|
93075
93036
|
innerHTML: C[R.field_name]
|
|
93076
|
-
}, null, 8,
|
|
93037
|
+
}, null, 8, tPe))
|
|
93077
93038
|
], 2)
|
|
93078
|
-
], 10,
|
|
93039
|
+
], 10, ePe))), 128))
|
|
93079
93040
|
]))), 128))
|
|
93080
93041
|
])
|
|
93081
|
-
], 8,
|
|
93082
|
-
], 8,
|
|
93083
|
-
f.paginatedData.length > 0 ? (Fe(), He("div",
|
|
93084
|
-
U("div",
|
|
93085
|
-
U("p",
|
|
93042
|
+
], 8, W5e)
|
|
93043
|
+
], 8, U5e),
|
|
93044
|
+
f.paginatedData.length > 0 ? (Fe(), He("div", nPe, [
|
|
93045
|
+
U("div", sPe, [
|
|
93046
|
+
U("p", oPe, [
|
|
93086
93047
|
t[12] || (t[12] = fo(" Showing ")),
|
|
93087
|
-
U("span",
|
|
93048
|
+
U("span", rPe, Vt(f.firstItemIndex), 1),
|
|
93088
93049
|
t[13] || (t[13] = fo(" to ")),
|
|
93089
|
-
U("span",
|
|
93050
|
+
U("span", iPe, Vt(f.lastItemIndex), 1),
|
|
93090
93051
|
t[14] || (t[14] = fo(" of ")),
|
|
93091
|
-
U("span",
|
|
93052
|
+
U("span", aPe, Vt(f.filteredData.length), 1),
|
|
93092
93053
|
t[15] || (t[15] = fo(" entries "))
|
|
93093
93054
|
]),
|
|
93094
|
-
U("nav",
|
|
93095
|
-
U("ul",
|
|
93055
|
+
U("nav", lPe, [
|
|
93056
|
+
U("ul", cPe, [
|
|
93096
93057
|
U("li", null, [
|
|
93097
93058
|
U("a", {
|
|
93098
93059
|
href: "#",
|
|
@@ -93123,7 +93084,7 @@ function fPe(r, t, s, a, c, f) {
|
|
|
93123
93084
|
onClick: gc((T) => f.goToPage(C), ["prevent"]),
|
|
93124
93085
|
class: Cn(c.currentPage === C ? "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" : "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"),
|
|
93125
93086
|
"aria-current": c.currentPage === C ? "page" : void 0
|
|
93126
|
-
}, Vt(C), 11,
|
|
93087
|
+
}, Vt(C), 11, uPe)
|
|
93127
93088
|
]))), 128)),
|
|
93128
93089
|
U("li", null, [
|
|
93129
93090
|
U("a", {
|
|
@@ -93155,7 +93116,7 @@ function fPe(r, t, s, a, c, f) {
|
|
|
93155
93116
|
])) : Rt("", !0)
|
|
93156
93117
|
]);
|
|
93157
93118
|
}
|
|
93158
|
-
const
|
|
93119
|
+
const wRe = /* @__PURE__ */ Ii(F5e, [["render", dPe], ["__scopeId", "data-v-d6f7cd11"]]), fPe = {
|
|
93159
93120
|
components: { TailwindPagination: Pde },
|
|
93160
93121
|
props: {
|
|
93161
93122
|
data: Array,
|
|
@@ -93247,17 +93208,17 @@ const SRe = /* @__PURE__ */ Ii(I5e, [["render", fPe], ["__scopeId", "data-v-d6f7
|
|
|
93247
93208
|
this.isMounted && r !== t && this.GetItemLists();
|
|
93248
93209
|
}
|
|
93249
93210
|
}
|
|
93250
|
-
},
|
|
93211
|
+
}, hPe = { class: "p-0" }, mPe = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, gPe = { class: "flex items-center gap-2" }, pPe = { class: "font-medium" }, bPe = { class: "mt-[3px]" }, vPe = { class: "font-medium" }, yPe = { class: "relative" }, OPe = ["placeholder"], xPe = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, wPe = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse print:border-collapse! border-spacing-y-5 lg:border-spacing-y-0 print:border-spacing-y-0! dark:border-gray-800 dark:bg-gray-900" }, SPe = { class: "hidden text-sm font-normal text-center text-gray-600 print:table-header-group! lg:table-header-group dark:border-gray-600 bg-gray-50 dark:bg-gray-800 dark:text-gray-400 print:border-[1px]!" }, CPe = ["onClick"], kPe = { class: "inline-flex items-center justify-center gap-1" }, _Pe = {
|
|
93251
93212
|
key: 0,
|
|
93252
93213
|
class: "print:hidden!"
|
|
93253
|
-
},
|
|
93254
|
-
function
|
|
93214
|
+
}, TPe = { class: "bg-white dark:bg-gray-900" }, EPe = { key: 0 }, APe = ["colspan"], PPe = { class: "text-gray-500 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-200" }, DPe = ["colspan"], $Pe = ["data-label"], RPe = { 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" };
|
|
93215
|
+
function MPe(r, t, s, a, c, f) {
|
|
93255
93216
|
const h = id("dropdown"), b = id("TailwindPagination");
|
|
93256
|
-
return Fe(), He("div",
|
|
93257
|
-
U("div",
|
|
93258
|
-
U("div",
|
|
93259
|
-
U("span",
|
|
93260
|
-
U("div",
|
|
93217
|
+
return Fe(), He("div", hPe, [
|
|
93218
|
+
U("div", mPe, [
|
|
93219
|
+
U("div", gPe, [
|
|
93220
|
+
U("span", pPe, Vt(r.language?.show ?? "Show"), 1),
|
|
93221
|
+
U("div", bPe, [
|
|
93261
93222
|
Ql(h, {
|
|
93262
93223
|
options_top_size: 0,
|
|
93263
93224
|
has_cancel: !1,
|
|
@@ -93272,13 +93233,13 @@ function NPe(r, t, s, a, c, f) {
|
|
|
93272
93233
|
placeholder: "Please select an option"
|
|
93273
93234
|
}, null, 8, ["options", "modelValue"])
|
|
93274
93235
|
]),
|
|
93275
|
-
U("span",
|
|
93236
|
+
U("span", vPe, Vt(r.language?.entries ?? "Entries"), 1)
|
|
93276
93237
|
]),
|
|
93277
93238
|
t[5] || (t[5] = U("label", {
|
|
93278
93239
|
for: "table-search",
|
|
93279
93240
|
class: "sr-only"
|
|
93280
93241
|
}, "Search", -1)),
|
|
93281
|
-
U("div",
|
|
93242
|
+
U("div", yPe, [
|
|
93282
93243
|
t[4] || (t[4] = U("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, null, -1)),
|
|
93283
93244
|
zr(U("input", {
|
|
93284
93245
|
type: "text",
|
|
@@ -93286,23 +93247,23 @@ function NPe(r, t, s, a, c, f) {
|
|
|
93286
93247
|
onInput: t[2] || (t[2] = (x) => f.handleSearch()),
|
|
93287
93248
|
class: "gl-input-form",
|
|
93288
93249
|
placeholder: r.language?.search ? r.language?.search + " ..." : "Search ..."
|
|
93289
|
-
}, null, 40,
|
|
93250
|
+
}, null, 40, OPe), [
|
|
93290
93251
|
[Cp, c.search]
|
|
93291
93252
|
])
|
|
93292
93253
|
])
|
|
93293
93254
|
]),
|
|
93294
|
-
U("div",
|
|
93295
|
-
U("table",
|
|
93296
|
-
U("thead",
|
|
93255
|
+
U("div", xPe, [
|
|
93256
|
+
U("table", wPe, [
|
|
93257
|
+
U("thead", SPe, [
|
|
93297
93258
|
U("tr", null, [
|
|
93298
93259
|
(Fe(!0), He(so, null, Nr(s.columns, (x, C) => (Fe(), He("th", {
|
|
93299
93260
|
key: C,
|
|
93300
93261
|
onClick: (T) => f.updateSortColumn(x.field_name, x.sortable),
|
|
93301
93262
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
93302
93263
|
}, [
|
|
93303
|
-
U("div",
|
|
93264
|
+
U("div", kPe, [
|
|
93304
93265
|
U("span", null, Vt(x.field_label), 1),
|
|
93305
|
-
c.sortField === x.field_name ? (Fe(), He("span",
|
|
93266
|
+
c.sortField === x.field_name ? (Fe(), He("span", _Pe, t[6] || (t[6] = [
|
|
93306
93267
|
U("svg", {
|
|
93307
93268
|
class: "w-4 h-4",
|
|
93308
93269
|
"aria-hidden": "true",
|
|
@@ -93320,11 +93281,11 @@ function NPe(r, t, s, a, c, f) {
|
|
|
93320
93281
|
], -1)
|
|
93321
93282
|
]))) : Rt("", !0)
|
|
93322
93283
|
])
|
|
93323
|
-
], 8,
|
|
93284
|
+
], 8, CPe))), 128))
|
|
93324
93285
|
])
|
|
93325
93286
|
]),
|
|
93326
|
-
U("tbody",
|
|
93327
|
-
c.isLoading ? (Fe(), He("tr",
|
|
93287
|
+
U("tbody", TPe, [
|
|
93288
|
+
c.isLoading ? (Fe(), He("tr", EPe, [
|
|
93328
93289
|
U("td", {
|
|
93329
93290
|
colspan: s.columns.length
|
|
93330
93291
|
}, t[7] || (t[7] = [
|
|
@@ -93369,14 +93330,14 @@ function NPe(r, t, s, a, c, f) {
|
|
|
93369
93330
|
]),
|
|
93370
93331
|
U("span", { class: "sr-only" }, "Loading...")
|
|
93371
93332
|
], -1)
|
|
93372
|
-
]), 8,
|
|
93333
|
+
]), 8, APe)
|
|
93373
93334
|
])) : Rt("", !0),
|
|
93374
93335
|
c.isLoading ? Rt("", !0) : (Fe(!0), He(so, { key: 1 }, Nr(f.groupedItems, (x, C) => (Fe(), He(so, null, [
|
|
93375
|
-
U("tr",
|
|
93336
|
+
U("tr", PPe, [
|
|
93376
93337
|
U("td", {
|
|
93377
93338
|
colspan: s.columns.length,
|
|
93378
93339
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
93379
|
-
}, Vt(C), 9,
|
|
93340
|
+
}, Vt(C), 9, DPe)
|
|
93380
93341
|
]),
|
|
93381
93342
|
(Fe(!0), He(so, null, Nr(x, (T, R) => (Fe(), He("tr", {
|
|
93382
93343
|
key: R,
|
|
@@ -93402,13 +93363,13 @@ function NPe(r, t, s, a, c, f) {
|
|
|
93402
93363
|
fo(Vt(T[M.field_name]), 1)
|
|
93403
93364
|
], 64))
|
|
93404
93365
|
], 2)
|
|
93405
|
-
], 8,
|
|
93366
|
+
], 8, $Pe))), 128))
|
|
93406
93367
|
]))), 128))
|
|
93407
93368
|
], 64))), 256))
|
|
93408
93369
|
])
|
|
93409
93370
|
])
|
|
93410
93371
|
]),
|
|
93411
|
-
U("div",
|
|
93372
|
+
U("div", RPe, [
|
|
93412
93373
|
Ql(b, {
|
|
93413
93374
|
class: "mt-3 mb-0",
|
|
93414
93375
|
data: c.itemLists,
|
|
@@ -93420,7 +93381,7 @@ function NPe(r, t, s, a, c, f) {
|
|
|
93420
93381
|
])
|
|
93421
93382
|
]);
|
|
93422
93383
|
}
|
|
93423
|
-
const
|
|
93384
|
+
const SRe = /* @__PURE__ */ Ii(fPe, [["render", MPe], ["__scopeId", "data-v-1995ac95"]]), NPe = {
|
|
93424
93385
|
components: {},
|
|
93425
93386
|
props: {
|
|
93426
93387
|
data: Array,
|
|
@@ -93543,26 +93504,26 @@ const CRe = /* @__PURE__ */ Ii(hPe, [["render", NPe], ["__scopeId", "data-v-1995
|
|
|
93543
93504
|
directives: {
|
|
93544
93505
|
print: Ose
|
|
93545
93506
|
}
|
|
93546
|
-
},
|
|
93507
|
+
}, BPe = { class: "p-0" }, FPe = {
|
|
93547
93508
|
ref: "hiddenPrintBtn",
|
|
93548
93509
|
style: { display: "none" }
|
|
93549
|
-
},
|
|
93510
|
+
}, IPe = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, LPe = { class: "flex items-center gap-2" }, QPe = { class: "mt-[9px]" }, VPe = { class: "relative" }, HPe = { class: "flex flex-wrap mb-3" }, zPe = ["id"], ZPe = ["id"], UPe = { class: "hidden text-sm font-normal text-center text-gray-600 print:table-header-group! lg:table-header-group dark:border-gray-600 bg-gray-50 dark:bg-gray-800 dark:text-gray-400 print:border-[1px]!" }, WPe = ["onClick"], XPe = { class: "inline-flex items-center justify-center gap-1" }, qPe = {
|
|
93550
93511
|
key: 0,
|
|
93551
93512
|
class: "print:hidden!"
|
|
93552
|
-
},
|
|
93513
|
+
}, jPe = { class: "bg-white dark:bg-gray-900" }, GPe = ["data-label"], YPe = ["innerHTML"], KPe = {
|
|
93553
93514
|
key: 0,
|
|
93554
93515
|
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"
|
|
93555
|
-
},
|
|
93556
|
-
function
|
|
93516
|
+
}, JPe = { class: "flex flex-col items-center w-full gap-2" }, eDe = { class: "text-sm text-gray-700 dark:text-gray-400" }, tDe = { class: "font-semibold text-gray-900 dark:text-white" }, nDe = { class: "font-semibold text-gray-900 dark:text-white" }, sDe = { class: "font-semibold text-gray-900 dark:text-white" }, oDe = { "aria-label": "Page navigation" }, rDe = { class: "flex items-center h-8 -space-x-px text-sm" }, iDe = ["onClick", "aria-current"];
|
|
93517
|
+
function aDe(r, t, s, a, c, f) {
|
|
93557
93518
|
const h = id("dropdown"), b = id("gl-button"), x = Ik("print");
|
|
93558
|
-
return Fe(), He("div",
|
|
93559
|
-
zr(U("button",
|
|
93519
|
+
return Fe(), He("div", BPe, [
|
|
93520
|
+
zr(U("button", FPe, null, 512), [
|
|
93560
93521
|
[x, c.printObj]
|
|
93561
93522
|
]),
|
|
93562
|
-
U("div",
|
|
93563
|
-
U("div",
|
|
93523
|
+
U("div", IPe, [
|
|
93524
|
+
U("div", LPe, [
|
|
93564
93525
|
t[4] || (t[4] = U("span", { class: "font-medium" }, " Show ", -1)),
|
|
93565
|
-
U("div",
|
|
93526
|
+
U("div", QPe, [
|
|
93566
93527
|
Ql(h, {
|
|
93567
93528
|
has_cancel: !1,
|
|
93568
93529
|
options: c.showNoOfEntries,
|
|
@@ -93582,7 +93543,7 @@ function lDe(r, t, s, a, c, f) {
|
|
|
93582
93543
|
for: "table-search",
|
|
93583
93544
|
class: "sr-only"
|
|
93584
93545
|
}, "Search", -1)),
|
|
93585
|
-
U("div",
|
|
93546
|
+
U("div", VPe, [
|
|
93586
93547
|
t[6] || (t[6] = U("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, null, -1)),
|
|
93587
93548
|
zr(U("input", {
|
|
93588
93549
|
type: "text",
|
|
@@ -93594,7 +93555,7 @@ function lDe(r, t, s, a, c, f) {
|
|
|
93594
93555
|
])
|
|
93595
93556
|
])
|
|
93596
93557
|
]),
|
|
93597
|
-
U("div",
|
|
93558
|
+
U("div", HPe, [
|
|
93598
93559
|
Ql(b, {
|
|
93599
93560
|
onClick: f.delayedPrint,
|
|
93600
93561
|
tag: "button",
|
|
@@ -93636,16 +93597,16 @@ function lDe(r, t, s, a, c, f) {
|
|
|
93636
93597
|
id: "table" + c.Random_string,
|
|
93637
93598
|
class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse print:border-collapse! border-spacing-y-5 lg:border-spacing-y-0 print:border-spacing-y-0! dark:border-gray-800 dark:bg-gray-900"
|
|
93638
93599
|
}, [
|
|
93639
|
-
U("thead",
|
|
93600
|
+
U("thead", UPe, [
|
|
93640
93601
|
U("tr", null, [
|
|
93641
93602
|
(Fe(!0), He(so, null, Nr(s.columns, (C, T) => (Fe(), He("th", {
|
|
93642
93603
|
key: T,
|
|
93643
93604
|
onClick: gc((R) => f.sort(C), ["prevent"]),
|
|
93644
93605
|
class: "w-full px-4 py-2 lg:w-2/12 print:w-2/12! print:border!"
|
|
93645
93606
|
}, [
|
|
93646
|
-
U("div",
|
|
93607
|
+
U("div", XPe, [
|
|
93647
93608
|
U("span", null, Vt(C), 1),
|
|
93648
|
-
c.sortKey === C ? (Fe(), He("span",
|
|
93609
|
+
c.sortKey === C ? (Fe(), He("span", qPe, t[10] || (t[10] = [
|
|
93649
93610
|
U("svg", {
|
|
93650
93611
|
class: "w-4 h-4",
|
|
93651
93612
|
"aria-hidden": "true",
|
|
@@ -93663,10 +93624,10 @@ function lDe(r, t, s, a, c, f) {
|
|
|
93663
93624
|
], -1)
|
|
93664
93625
|
]))) : Rt("", !0)
|
|
93665
93626
|
])
|
|
93666
|
-
], 8,
|
|
93627
|
+
], 8, WPe))), 128))
|
|
93667
93628
|
])
|
|
93668
93629
|
]),
|
|
93669
|
-
U("tbody",
|
|
93630
|
+
U("tbody", jPe, [
|
|
93670
93631
|
(Fe(!0), He(so, null, Nr(f.paginatedData, (C, T) => (Fe(), He("tr", {
|
|
93671
93632
|
key: T,
|
|
93672
93633
|
class: "text-gray-500 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-200"
|
|
@@ -93682,25 +93643,25 @@ function lDe(r, t, s, a, c, f) {
|
|
|
93682
93643
|
U("p", {
|
|
93683
93644
|
class: "text-pretty",
|
|
93684
93645
|
innerHTML: C[M]
|
|
93685
|
-
}, null, 8,
|
|
93686
|
-
], 10,
|
|
93646
|
+
}, null, 8, YPe)
|
|
93647
|
+
], 10, GPe))), 128))
|
|
93687
93648
|
]))), 128))
|
|
93688
93649
|
])
|
|
93689
|
-
], 8,
|
|
93690
|
-
], 8,
|
|
93691
|
-
f.paginatedData.length > 0 ? (Fe(), He("div",
|
|
93692
|
-
U("div",
|
|
93693
|
-
U("p",
|
|
93650
|
+
], 8, ZPe)
|
|
93651
|
+
], 8, zPe),
|
|
93652
|
+
f.paginatedData.length > 0 ? (Fe(), He("div", KPe, [
|
|
93653
|
+
U("div", JPe, [
|
|
93654
|
+
U("p", eDe, [
|
|
93694
93655
|
t[11] || (t[11] = fo(" Showing ")),
|
|
93695
|
-
U("span",
|
|
93656
|
+
U("span", tDe, Vt(f.firstItemIndex), 1),
|
|
93696
93657
|
t[12] || (t[12] = fo(" to ")),
|
|
93697
|
-
U("span",
|
|
93658
|
+
U("span", nDe, Vt(f.lastItemIndex), 1),
|
|
93698
93659
|
t[13] || (t[13] = fo(" of ")),
|
|
93699
|
-
U("span",
|
|
93660
|
+
U("span", sDe, Vt(f.filteredData.length), 1),
|
|
93700
93661
|
t[14] || (t[14] = fo(" entries "))
|
|
93701
93662
|
]),
|
|
93702
|
-
U("nav",
|
|
93703
|
-
U("ul",
|
|
93663
|
+
U("nav", oDe, [
|
|
93664
|
+
U("ul", rDe, [
|
|
93704
93665
|
U("li", null, [
|
|
93705
93666
|
U("a", {
|
|
93706
93667
|
href: "#",
|
|
@@ -93731,7 +93692,7 @@ function lDe(r, t, s, a, c, f) {
|
|
|
93731
93692
|
onClick: gc((T) => f.goToPage(C), ["prevent"]),
|
|
93732
93693
|
class: Cn(c.currentPage === C ? "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" : "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"),
|
|
93733
93694
|
"aria-current": c.currentPage === C ? "page" : void 0
|
|
93734
|
-
}, Vt(C), 11,
|
|
93695
|
+
}, Vt(C), 11, iDe)
|
|
93735
93696
|
]))), 128)),
|
|
93736
93697
|
U("li", null, [
|
|
93737
93698
|
U("a", {
|
|
@@ -93763,7 +93724,7 @@ function lDe(r, t, s, a, c, f) {
|
|
|
93763
93724
|
])) : Rt("", !0)
|
|
93764
93725
|
]);
|
|
93765
93726
|
}
|
|
93766
|
-
const
|
|
93727
|
+
const CRe = /* @__PURE__ */ Ii(NPe, [["render", aDe], ["__scopeId", "data-v-9b04f1ec"]]), lDe = {
|
|
93767
93728
|
props: ["field", "row", "tdProps"],
|
|
93768
93729
|
methods: {
|
|
93769
93730
|
convertCronToHuman(r) {
|
|
@@ -93830,16 +93791,16 @@ const kRe = /* @__PURE__ */ Ii(BPe, [["render", lDe], ["__scopeId", "data-v-9b04
|
|
|
93830
93791
|
return `${(t % 12 || 12).toString().padStart(2, "0")}:00 ${s}`;
|
|
93831
93792
|
}
|
|
93832
93793
|
}
|
|
93833
|
-
},
|
|
93794
|
+
}, cDe = {
|
|
93834
93795
|
key: 0,
|
|
93835
93796
|
class: "flex flex-wrap gap-2"
|
|
93836
|
-
},
|
|
93837
|
-
function
|
|
93838
|
-
return s.row[s.field] ? (Fe(), He("div",
|
|
93839
|
-
U("span",
|
|
93797
|
+
}, uDe = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300" };
|
|
93798
|
+
function dDe(r, t, s, a, c, f) {
|
|
93799
|
+
return s.row[s.field] ? (Fe(), He("div", cDe, [
|
|
93800
|
+
U("span", uDe, Vt(f.convertCronToHuman(s.row[s.field])), 1)
|
|
93840
93801
|
])) : Rt("", !0);
|
|
93841
93802
|
}
|
|
93842
|
-
const
|
|
93803
|
+
const kRe = /* @__PURE__ */ Ii(lDe, [["render", dDe]]), fDe = {
|
|
93843
93804
|
setup() {
|
|
93844
93805
|
const r = Ys([]);
|
|
93845
93806
|
return Mle("accordionsWrapper", {
|
|
@@ -93859,12 +93820,12 @@ const _Re = /* @__PURE__ */ Ii(cDe, [["render", fDe]]), hDe = {
|
|
|
93859
93820
|
}), {};
|
|
93860
93821
|
}
|
|
93861
93822
|
};
|
|
93862
|
-
function
|
|
93823
|
+
function hDe(r, t, s, a, c, f) {
|
|
93863
93824
|
return Fe(), He("div", null, [
|
|
93864
93825
|
Ru(r.$slots, "default")
|
|
93865
93826
|
]);
|
|
93866
93827
|
}
|
|
93867
|
-
const
|
|
93828
|
+
const _Re = /* @__PURE__ */ Ii(fDe, [["render", hDe]]), mDe = {
|
|
93868
93829
|
props: {
|
|
93869
93830
|
title: {
|
|
93870
93831
|
type: String,
|
|
@@ -93889,14 +93850,14 @@ const TRe = /* @__PURE__ */ Ii(hDe, [["render", mDe]]), gDe = {
|
|
|
93889
93850
|
t.toggleAccordion(c);
|
|
93890
93851
|
} };
|
|
93891
93852
|
}
|
|
93892
|
-
},
|
|
93853
|
+
}, gDe = { class: "flex items-center" }, pDe = {
|
|
93893
93854
|
key: 0,
|
|
93894
93855
|
class: "w-3 h-3 rotate-180 shrink-0",
|
|
93895
93856
|
"aria-hidden": "true",
|
|
93896
93857
|
xmlns: "http://www.w3.org/2000/svg",
|
|
93897
93858
|
fill: "none",
|
|
93898
93859
|
viewBox: "0 0 10 6"
|
|
93899
|
-
},
|
|
93860
|
+
}, bDe = {
|
|
93900
93861
|
key: 1,
|
|
93901
93862
|
class: "w-3 h-3 shrink-0",
|
|
93902
93863
|
"aria-hidden": "true",
|
|
@@ -93904,7 +93865,7 @@ const TRe = /* @__PURE__ */ Ii(hDe, [["render", mDe]]), gDe = {
|
|
|
93904
93865
|
fill: "none",
|
|
93905
93866
|
viewBox: "0 0 10 6"
|
|
93906
93867
|
};
|
|
93907
|
-
function
|
|
93868
|
+
function vDe(r, t, s, a, c, f) {
|
|
93908
93869
|
return Fe(), He("div", null, [
|
|
93909
93870
|
U("h2", null, [
|
|
93910
93871
|
U("button", {
|
|
@@ -93917,8 +93878,8 @@ function yDe(r, t, s, a, c, f) {
|
|
|
93917
93878
|
}]),
|
|
93918
93879
|
"aria-expanded": "true"
|
|
93919
93880
|
}, [
|
|
93920
|
-
U("span",
|
|
93921
|
-
a.isOpen ? Rt("", !0) : (Fe(), He("svg",
|
|
93881
|
+
U("span", gDe, Vt(s.title), 1),
|
|
93882
|
+
a.isOpen ? Rt("", !0) : (Fe(), He("svg", pDe, t[1] || (t[1] = [
|
|
93922
93883
|
U("path", {
|
|
93923
93884
|
stroke: "currentColor",
|
|
93924
93885
|
"stroke-linecap": "round",
|
|
@@ -93927,7 +93888,7 @@ function yDe(r, t, s, a, c, f) {
|
|
|
93927
93888
|
d: "M9 5 5 1 1 5"
|
|
93928
93889
|
}, null, -1)
|
|
93929
93890
|
]))),
|
|
93930
|
-
a.isOpen ? (Fe(), He("svg",
|
|
93891
|
+
a.isOpen ? (Fe(), He("svg", bDe, t[2] || (t[2] = [
|
|
93931
93892
|
U("path", {
|
|
93932
93893
|
stroke: "currentColor",
|
|
93933
93894
|
"stroke-linecap": "round",
|
|
@@ -93949,22 +93910,22 @@ function yDe(r, t, s, a, c, f) {
|
|
|
93949
93910
|
], 2)) : Rt("", !0)
|
|
93950
93911
|
]);
|
|
93951
93912
|
}
|
|
93952
|
-
const
|
|
93913
|
+
const TRe = /* @__PURE__ */ Ii(mDe, [["render", vDe]]), yDe = {
|
|
93953
93914
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow-sm dark:bg-gray-800 dark:text-gray-400",
|
|
93954
93915
|
role: "alert"
|
|
93955
|
-
},
|
|
93916
|
+
}, ODe = {
|
|
93956
93917
|
key: 0,
|
|
93957
93918
|
class: "inline-flex items-center justify-center shrink-0 w-8 h-8 text-blue-500 bg-blue-100 rounded-lg dark:bg-blue-800 dark:text-blue-200"
|
|
93958
|
-
},
|
|
93919
|
+
}, xDe = {
|
|
93959
93920
|
key: 1,
|
|
93960
93921
|
class: "inline-flex items-center justify-center shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"
|
|
93961
|
-
},
|
|
93922
|
+
}, wDe = {
|
|
93962
93923
|
key: 2,
|
|
93963
93924
|
class: "inline-flex items-center justify-center shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"
|
|
93964
|
-
},
|
|
93925
|
+
}, SDe = {
|
|
93965
93926
|
key: 3,
|
|
93966
93927
|
class: "inline-flex items-center justify-center shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200"
|
|
93967
|
-
},
|
|
93928
|
+
}, CDe = { class: "ml-3 text-sm font-normal" }, kDe = {
|
|
93968
93929
|
__name: "ToastListItem",
|
|
93969
93930
|
props: {
|
|
93970
93931
|
message: String,
|
|
@@ -93984,8 +93945,8 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
93984
93945
|
setTimeout(() => a("remove"), s.duration);
|
|
93985
93946
|
});
|
|
93986
93947
|
const a = t;
|
|
93987
|
-
return (c, f) => (Fe(), He("div",
|
|
93988
|
-
s.type === "info" ? (Fe(), He("div",
|
|
93948
|
+
return (c, f) => (Fe(), He("div", yDe, [
|
|
93949
|
+
s.type === "info" ? (Fe(), He("div", ODe, f[1] || (f[1] = [
|
|
93989
93950
|
U("svg", {
|
|
93990
93951
|
class: "w-5 h-5",
|
|
93991
93952
|
"aria-hidden": "true",
|
|
@@ -93997,7 +93958,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
93997
93958
|
], -1),
|
|
93998
93959
|
U("span", { class: "sr-only" }, "info icon", -1)
|
|
93999
93960
|
]))) : Rt("", !0),
|
|
94000
|
-
s.type === "success" ? (Fe(), He("div",
|
|
93961
|
+
s.type === "success" ? (Fe(), He("div", xDe, f[2] || (f[2] = [
|
|
94001
93962
|
U("svg", {
|
|
94002
93963
|
class: "w-5 h-5",
|
|
94003
93964
|
"aria-hidden": "true",
|
|
@@ -94009,7 +93970,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94009
93970
|
], -1),
|
|
94010
93971
|
U("span", { class: "sr-only" }, "success icon", -1)
|
|
94011
93972
|
]))) : Rt("", !0),
|
|
94012
|
-
s.type === "error" ? (Fe(), He("div",
|
|
93973
|
+
s.type === "error" ? (Fe(), He("div", wDe, f[3] || (f[3] = [
|
|
94013
93974
|
U("svg", {
|
|
94014
93975
|
class: "w-5 h-5",
|
|
94015
93976
|
"aria-hidden": "true",
|
|
@@ -94021,7 +93982,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94021
93982
|
], -1),
|
|
94022
93983
|
U("span", { class: "sr-only" }, "Error icon", -1)
|
|
94023
93984
|
]))) : Rt("", !0),
|
|
94024
|
-
s.type === "warning" ? (Fe(), He("div",
|
|
93985
|
+
s.type === "warning" ? (Fe(), He("div", SDe, f[4] || (f[4] = [
|
|
94025
93986
|
U("svg", {
|
|
94026
93987
|
class: "w-5 h-5",
|
|
94027
93988
|
"aria-hidden": "true",
|
|
@@ -94033,7 +93994,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94033
93994
|
], -1),
|
|
94034
93995
|
U("span", { class: "sr-only" }, "Warning icon", -1)
|
|
94035
93996
|
]))) : Rt("", !0),
|
|
94036
|
-
U("div",
|
|
93997
|
+
U("div", CDe, Vt(s.message), 1),
|
|
94037
93998
|
U("button", {
|
|
94038
93999
|
onClick: f[0] || (f[0] = (h) => a("remove")),
|
|
94039
94000
|
type: "button",
|
|
@@ -94058,7 +94019,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94058
94019
|
]))
|
|
94059
94020
|
]));
|
|
94060
94021
|
}
|
|
94061
|
-
},
|
|
94022
|
+
}, ERe = {
|
|
94062
94023
|
__name: "GlToastList",
|
|
94063
94024
|
setup(r) {
|
|
94064
94025
|
function t(s) {
|
|
@@ -94073,7 +94034,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94073
94034
|
class: "fixed z-1060 w-full max-w-xs space-y-4 top-4 right-4"
|
|
94074
94035
|
}, {
|
|
94075
94036
|
default: ou(() => [
|
|
94076
|
-
(Fe(!0), He(so, null, Nr(Bhe(x2).state.items, (c, f) => (Fe(), nu(
|
|
94037
|
+
(Fe(!0), He(so, null, Nr(Bhe(x2).state.items, (c, f) => (Fe(), nu(kDe, {
|
|
94077
94038
|
key: c.key,
|
|
94078
94039
|
message: c.message,
|
|
94079
94040
|
type: c.type,
|
|
@@ -94084,13 +94045,13 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94084
94045
|
_: 1
|
|
94085
94046
|
}));
|
|
94086
94047
|
}
|
|
94087
|
-
},
|
|
94048
|
+
}, _De = {
|
|
94088
94049
|
key: 0,
|
|
94089
94050
|
class: "flex lg:justify-center"
|
|
94090
|
-
},
|
|
94051
|
+
}, TDe = { class: "xs:right-[unset] ltr:lg:right-[30px] rtl:lg:left-[30px] absolute z-10 mt-11 origin-top-right bg-white rounded-lg w-44 dark:bg-gray-800 shadow-lg border dark:border-gray-700" }, EDe = {
|
|
94091
94052
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
94092
94053
|
"aria-labelledby": "dropdownDividerButton"
|
|
94093
|
-
},
|
|
94054
|
+
}, ADe = { key: 0 }, PDe = ["href"], DDe = { key: 1 }, ARe = {
|
|
94094
94055
|
__name: "DatatableAction",
|
|
94095
94056
|
props: {
|
|
94096
94057
|
field: {
|
|
@@ -94143,7 +94104,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94143
94104
|
onConfirmDelete: T,
|
|
94144
94105
|
onCancelDelete: b
|
|
94145
94106
|
}, null, 8, ["isOpen"]),
|
|
94146
|
-
r.row && R.can(`edit_${r.xprops.permission} || delete_${r.xprops.permission}`) ? zr((Fe(), He("div",
|
|
94107
|
+
r.row && R.can(`edit_${r.xprops.permission} || delete_${r.xprops.permission}`) ? zr((Fe(), He("div", _De, [
|
|
94147
94108
|
U("button", {
|
|
94148
94109
|
onClick: h,
|
|
94149
94110
|
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-hidden dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -94159,18 +94120,18 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94159
94120
|
U("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" })
|
|
94160
94121
|
], -1)
|
|
94161
94122
|
])),
|
|
94162
|
-
zr(U("div",
|
|
94163
|
-
U("ul",
|
|
94164
|
-
R.can(`edit_${r.xprops.permission}`) ? (Fe(), He("li",
|
|
94123
|
+
zr(U("div", TDe, [
|
|
94124
|
+
U("ul", EDe, [
|
|
94125
|
+
R.can(`edit_${r.xprops.permission}`) ? (Fe(), He("li", ADe, [
|
|
94165
94126
|
U("a", {
|
|
94166
94127
|
href: r.xprops.route + "/" + r.row.id + "/edit",
|
|
94167
94128
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
94168
94129
|
}, M[1] || (M[1] = [
|
|
94169
94130
|
U("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1),
|
|
94170
94131
|
fo(" Edit")
|
|
94171
|
-
]), 8,
|
|
94132
|
+
]), 8, PDe)
|
|
94172
94133
|
])) : Rt("", !0),
|
|
94173
|
-
R.can(`delete_${r.xprops.permission}`) ? (Fe(), He("li",
|
|
94134
|
+
R.can(`delete_${r.xprops.permission}`) ? (Fe(), He("li", DDe, [
|
|
94174
94135
|
U("a", {
|
|
94175
94136
|
href: "#",
|
|
94176
94137
|
onClick: gc(x, ["prevent"]),
|
|
@@ -94190,13 +94151,13 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94190
94151
|
], 64);
|
|
94191
94152
|
};
|
|
94192
94153
|
}
|
|
94193
|
-
},
|
|
94154
|
+
}, $De = {
|
|
94194
94155
|
key: 0,
|
|
94195
94156
|
class: "flex lg:justify-center"
|
|
94196
|
-
},
|
|
94157
|
+
}, RDe = { class: "absolute z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600" }, MDe = {
|
|
94197
94158
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
94198
94159
|
"aria-labelledby": "dropdownDividerButton"
|
|
94199
|
-
},
|
|
94160
|
+
}, NDe = { key: 0 }, PRe = {
|
|
94200
94161
|
__name: "DatatableDeleteAction",
|
|
94201
94162
|
props: {
|
|
94202
94163
|
field: {
|
|
@@ -94249,7 +94210,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94249
94210
|
onConfirmDelete: T,
|
|
94250
94211
|
onCancelDelete: b
|
|
94251
94212
|
}, null, 8, ["isOpen"]),
|
|
94252
|
-
r.row && R.can(`delete_${r.xprops.permission}`) ? zr((Fe(), He("div",
|
|
94213
|
+
r.row && R.can(`delete_${r.xprops.permission}`) ? zr((Fe(), He("div", $De, [
|
|
94253
94214
|
U("button", {
|
|
94254
94215
|
onClick: h,
|
|
94255
94216
|
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-hidden dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -94265,9 +94226,9 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94265
94226
|
U("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" })
|
|
94266
94227
|
], -1)
|
|
94267
94228
|
])),
|
|
94268
|
-
zr(U("div",
|
|
94269
|
-
U("ul",
|
|
94270
|
-
R.can(`delete_${r.xprops.permission}`) ? (Fe(), He("li",
|
|
94229
|
+
zr(U("div", RDe, [
|
|
94230
|
+
U("ul", MDe, [
|
|
94231
|
+
R.can(`delete_${r.xprops.permission}`) ? (Fe(), He("li", NDe, [
|
|
94271
94232
|
U("a", {
|
|
94272
94233
|
href: "#",
|
|
94273
94234
|
onClick: gc(x, ["prevent"]),
|
|
@@ -94287,13 +94248,13 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94287
94248
|
], 64);
|
|
94288
94249
|
};
|
|
94289
94250
|
}
|
|
94290
|
-
},
|
|
94251
|
+
}, BDe = {
|
|
94291
94252
|
key: 0,
|
|
94292
94253
|
class: "flex lg:justify-center"
|
|
94293
|
-
},
|
|
94254
|
+
}, FDe = { class: "xs:right-[unset] ltr:lg:right-[30px] rtl:lg:left-[30px] absolute z-10 mt-11 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600" }, IDe = {
|
|
94294
94255
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
94295
94256
|
"aria-labelledby": "dropdownDividerButton"
|
|
94296
|
-
},
|
|
94257
|
+
}, LDe = { key: 0 }, QDe = { key: 1 }, DRe = {
|
|
94297
94258
|
__name: "DatatableDeleteEditAction",
|
|
94298
94259
|
props: {
|
|
94299
94260
|
language: {
|
|
@@ -94355,7 +94316,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94355
94316
|
onConfirmDelete: R,
|
|
94356
94317
|
onCancelDelete: f
|
|
94357
94318
|
}, null, 8, ["language", "isOpen"]),
|
|
94358
|
-
r.row && (M.can(`delete_${r.xprops.permission}`) || M.can(`access_${r.xprops.permission}`)) ? zr((Fe(), He("div",
|
|
94319
|
+
r.row && (M.can(`delete_${r.xprops.permission}`) || M.can(`access_${r.xprops.permission}`)) ? zr((Fe(), He("div", BDe, [
|
|
94359
94320
|
U("button", {
|
|
94360
94321
|
onClick: x,
|
|
94361
94322
|
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-hidden dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -94371,9 +94332,9 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94371
94332
|
U("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" })
|
|
94372
94333
|
], -1)
|
|
94373
94334
|
])),
|
|
94374
|
-
zr(U("div",
|
|
94375
|
-
U("ul",
|
|
94376
|
-
M.can(`access_${r.xprops.permission}`) ? (Fe(), He("li",
|
|
94335
|
+
zr(U("div", FDe, [
|
|
94336
|
+
U("ul", IDe, [
|
|
94337
|
+
M.can(`access_${r.xprops.permission}`) ? (Fe(), He("li", LDe, [
|
|
94377
94338
|
U("a", {
|
|
94378
94339
|
href: "#",
|
|
94379
94340
|
onClick: L[0] || (L[0] = gc((Z) => T(r.row), ["prevent"])),
|
|
@@ -94383,7 +94344,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94383
94344
|
fo(" " + Vt(r.language?.edit ?? "Edit"), 1)
|
|
94384
94345
|
])
|
|
94385
94346
|
])) : Rt("", !0),
|
|
94386
|
-
M.can(`delete_${r.xprops.permission}`) ? (Fe(), He("li",
|
|
94347
|
+
M.can(`delete_${r.xprops.permission}`) ? (Fe(), He("li", QDe, [
|
|
94387
94348
|
U("a", {
|
|
94388
94349
|
href: "#",
|
|
94389
94350
|
onClick: gc(h, ["prevent"]),
|
|
@@ -94403,7 +94364,7 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94403
94364
|
], 64);
|
|
94404
94365
|
};
|
|
94405
94366
|
}
|
|
94406
|
-
},
|
|
94367
|
+
}, VDe = {
|
|
94407
94368
|
props: ["field", "row"],
|
|
94408
94369
|
computed: {
|
|
94409
94370
|
isArray() {
|
|
@@ -94418,11 +94379,11 @@ const ERe = /* @__PURE__ */ Ii(gDe, [["render", yDe]]), ODe = {
|
|
|
94418
94379
|
},
|
|
94419
94380
|
mounted() {
|
|
94420
94381
|
}
|
|
94421
|
-
},
|
|
94382
|
+
}, HDe = ["href", "title"], zDe = {
|
|
94422
94383
|
key: 1,
|
|
94423
94384
|
class: "m-1 d-inline-block"
|
|
94424
|
-
},
|
|
94425
|
-
function
|
|
94385
|
+
}, ZDe = ["href", "title"];
|
|
94386
|
+
function UDe(r, t, s, a, c, f) {
|
|
94426
94387
|
return Fe(), He("div", null, [
|
|
94427
94388
|
f.isArray ? (Fe(!0), He(so, { key: 0 }, Nr(s.row, (h, b) => (Fe(), He("div", {
|
|
94428
94389
|
key: b,
|
|
@@ -94453,8 +94414,8 @@ function WDe(r, t, s, a, c, f) {
|
|
|
94453
94414
|
})
|
|
94454
94415
|
], -1),
|
|
94455
94416
|
fo(" Download ")
|
|
94456
|
-
]), 8,
|
|
94457
|
-
]))), 128)) : f.isString ? (Fe(), He("div",
|
|
94417
|
+
]), 8, HDe)
|
|
94418
|
+
]))), 128)) : f.isString ? (Fe(), He("div", zDe, [
|
|
94458
94419
|
U("a", {
|
|
94459
94420
|
href: s.row,
|
|
94460
94421
|
title: s.row,
|
|
@@ -94480,11 +94441,11 @@ function WDe(r, t, s, a, c, f) {
|
|
|
94480
94441
|
})
|
|
94481
94442
|
], -1),
|
|
94482
94443
|
fo(" Download ")
|
|
94483
|
-
]), 8,
|
|
94444
|
+
]), 8, ZDe)
|
|
94484
94445
|
])) : Rt("", !0)
|
|
94485
94446
|
]);
|
|
94486
94447
|
}
|
|
94487
|
-
const
|
|
94448
|
+
const $Re = /* @__PURE__ */ Ii(VDe, [["render", UDe]]), WDe = {
|
|
94488
94449
|
props: ["field", "row"],
|
|
94489
94450
|
computed: {
|
|
94490
94451
|
isArray() {
|
|
@@ -94494,11 +94455,11 @@ const RRe = /* @__PURE__ */ Ii(HDe, [["render", WDe]]), XDe = {
|
|
|
94494
94455
|
return typeof this.row[this.field] == "object";
|
|
94495
94456
|
}
|
|
94496
94457
|
}
|
|
94497
|
-
},
|
|
94458
|
+
}, XDe = ["href", "title"], qDe = {
|
|
94498
94459
|
key: 1,
|
|
94499
94460
|
class: "m-1 d-inline-block"
|
|
94500
|
-
},
|
|
94501
|
-
function
|
|
94461
|
+
}, jDe = ["href", "title"];
|
|
94462
|
+
function GDe(r, t, s, a, c, f) {
|
|
94502
94463
|
return f.isArray ? (Fe(!0), He(so, { key: 0 }, Nr(s.row[s.field], (h) => (Fe(), He("div", {
|
|
94503
94464
|
key: h.id,
|
|
94504
94465
|
class: "m-1 d-inline-block"
|
|
@@ -94528,8 +94489,8 @@ function YDe(r, t, s, a, c, f) {
|
|
|
94528
94489
|
})
|
|
94529
94490
|
], -1),
|
|
94530
94491
|
fo(" Download ")
|
|
94531
|
-
]), 8,
|
|
94532
|
-
]))), 128)) : f.isObject ? (Fe(), He("div",
|
|
94492
|
+
]), 8, XDe)
|
|
94493
|
+
]))), 128)) : f.isObject ? (Fe(), He("div", qDe, [
|
|
94533
94494
|
U("a", {
|
|
94534
94495
|
href: s.row[s.field].url,
|
|
94535
94496
|
title: s.row[s.field].name,
|
|
@@ -94555,21 +94516,21 @@ function YDe(r, t, s, a, c, f) {
|
|
|
94555
94516
|
})
|
|
94556
94517
|
], -1),
|
|
94557
94518
|
fo(" Download ")
|
|
94558
|
-
]), 8,
|
|
94519
|
+
]), 8, jDe)
|
|
94559
94520
|
])) : Rt("", !0);
|
|
94560
94521
|
}
|
|
94561
|
-
const
|
|
94522
|
+
const RRe = /* @__PURE__ */ Ii(WDe, [["render", GDe]]), YDe = {
|
|
94562
94523
|
props: ["field", "row", "tdProps"]
|
|
94563
|
-
},
|
|
94564
|
-
function
|
|
94565
|
-
return s.row[s.field] ? (Fe(), He("div",
|
|
94524
|
+
}, KDe = { key: 0 }, JDe = ["innerHTML"];
|
|
94525
|
+
function e$e(r, t, s, a, c, f) {
|
|
94526
|
+
return s.row[s.field] ? (Fe(), He("div", KDe, [
|
|
94566
94527
|
U("div", {
|
|
94567
94528
|
class: "w-full",
|
|
94568
94529
|
innerHTML: s.row[s.field]
|
|
94569
|
-
}, null, 8,
|
|
94530
|
+
}, null, 8, JDe)
|
|
94570
94531
|
])) : Rt("", !0);
|
|
94571
94532
|
}
|
|
94572
|
-
const
|
|
94533
|
+
const MRe = /* @__PURE__ */ Ii(YDe, [["render", e$e]]), t$e = {
|
|
94573
94534
|
props: ["field", "row", "tdProps"],
|
|
94574
94535
|
computed: {
|
|
94575
94536
|
entry() {
|
|
@@ -94583,22 +94544,22 @@ const NRe = /* @__PURE__ */ Ii(KDe, [["render", t$e]]), n$e = {
|
|
|
94583
94544
|
return typeof this.row[this.entry.key] == "object";
|
|
94584
94545
|
}
|
|
94585
94546
|
}
|
|
94586
|
-
},
|
|
94547
|
+
}, n$e = {
|
|
94587
94548
|
key: 0,
|
|
94588
94549
|
class: "flex flex-wrap gap-2"
|
|
94589
|
-
},
|
|
94550
|
+
}, s$e = {
|
|
94590
94551
|
key: 1,
|
|
94591
94552
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300"
|
|
94592
94553
|
};
|
|
94593
|
-
function
|
|
94594
|
-
return this.row[this.entry.key] ? (Fe(), He("div",
|
|
94554
|
+
function o$e(r, t, s, a, c, f) {
|
|
94555
|
+
return this.row[this.entry.key] ? (Fe(), He("div", n$e, [
|
|
94595
94556
|
f.isArray ? (Fe(!0), He(so, { key: 0 }, Nr(s.row[f.entry.key], (h, b) => (Fe(), He("span", {
|
|
94596
94557
|
key: b,
|
|
94597
94558
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300"
|
|
94598
|
-
}, Vt(h[f.entry.field]), 1))), 128)) : f.isObject ? (Fe(), He("span",
|
|
94559
|
+
}, Vt(h[f.entry.field]), 1))), 128)) : f.isObject ? (Fe(), He("span", s$e, Vt(s.row[f.entry.key][f.entry.field]), 1)) : Rt("", !0)
|
|
94599
94560
|
])) : Rt("", !0);
|
|
94600
94561
|
}
|
|
94601
|
-
const
|
|
94562
|
+
const NRe = /* @__PURE__ */ Ii(t$e, [["render", o$e]]), r$e = {
|
|
94602
94563
|
props: ["field", "row", "tdProps"],
|
|
94603
94564
|
computed: {
|
|
94604
94565
|
entry() {
|
|
@@ -94617,24 +94578,24 @@ const BRe = /* @__PURE__ */ Ii(n$e, [["render", r$e]]), i$e = {
|
|
|
94617
94578
|
return t.reduce((s, a) => (s || {})[a], r);
|
|
94618
94579
|
}
|
|
94619
94580
|
}
|
|
94620
|
-
},
|
|
94581
|
+
}, i$e = { class: "flex flex-wrap gap-2" }, a$e = {
|
|
94621
94582
|
key: 1,
|
|
94622
94583
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300"
|
|
94623
94584
|
};
|
|
94624
|
-
function
|
|
94625
|
-
return Fe(), He("div",
|
|
94585
|
+
function l$e(r, t, s, a, c, f) {
|
|
94586
|
+
return Fe(), He("div", i$e, [
|
|
94626
94587
|
f.isArray ? (Fe(!0), He(so, { key: 0 }, Nr(f.getNestedValue(s.row, f.entry.keys), (h, b) => (Fe(), He("span", {
|
|
94627
94588
|
key: b,
|
|
94628
94589
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300"
|
|
94629
|
-
}, Vt(h[f.entry.field]), 1))), 128)) : f.isObject ? (Fe(), He("span",
|
|
94590
|
+
}, Vt(h[f.entry.field]), 1))), 128)) : f.isObject ? (Fe(), He("span", a$e, Vt(f.getNestedValue(s.row, f.entry.keys)[f.entry.field]), 1)) : Rt("", !0)
|
|
94630
94591
|
]);
|
|
94631
94592
|
}
|
|
94632
|
-
const
|
|
94593
|
+
const BRe = /* @__PURE__ */ Ii(r$e, [["render", l$e]]), c$e = {
|
|
94633
94594
|
props: ["field", "row", "tdProps"]
|
|
94634
|
-
},
|
|
94635
|
-
function
|
|
94636
|
-
return s.row[s.field] ? (Fe(), He("div",
|
|
94637
|
-
U("div",
|
|
94595
|
+
}, u$e = { key: 0 }, d$e = { class: "m-1 d-inline-block" }, f$e = ["href", "title"], h$e = ["src", "alt", "title"];
|
|
94596
|
+
function m$e(r, t, s, a, c, f) {
|
|
94597
|
+
return s.row[s.field] ? (Fe(), He("div", u$e, [
|
|
94598
|
+
U("div", d$e, [
|
|
94638
94599
|
U("a", {
|
|
94639
94600
|
href: s.row[s.field].url,
|
|
94640
94601
|
title: s.row[s.field].name,
|
|
@@ -94644,12 +94605,12 @@ function g$e(r, t, s, a, c, f) {
|
|
|
94644
94605
|
src: s.row[s.field].thumbnail,
|
|
94645
94606
|
alt: s.row[s.field].name,
|
|
94646
94607
|
title: s.row[s.field].name
|
|
94647
|
-
}, null, 8,
|
|
94648
|
-
], 8,
|
|
94608
|
+
}, null, 8, h$e)
|
|
94609
|
+
], 8, f$e)
|
|
94649
94610
|
])
|
|
94650
94611
|
])) : Rt("", !0);
|
|
94651
94612
|
}
|
|
94652
|
-
const
|
|
94613
|
+
const FRe = /* @__PURE__ */ Ii(c$e, [["render", m$e], ["__scopeId", "data-v-18c4893e"]]), g$e = {
|
|
94653
94614
|
props: ["field", "row", "tdProps"],
|
|
94654
94615
|
computed: {
|
|
94655
94616
|
isArray() {
|
|
@@ -94659,12 +94620,12 @@ const IRe = /* @__PURE__ */ Ii(u$e, [["render", g$e], ["__scopeId", "data-v-18c4
|
|
|
94659
94620
|
return typeof this.row[this.field] == "object";
|
|
94660
94621
|
}
|
|
94661
94622
|
}
|
|
94662
|
-
},
|
|
94623
|
+
}, p$e = {
|
|
94663
94624
|
key: 0,
|
|
94664
94625
|
class: "grid grid-cols-2 gap-4"
|
|
94665
|
-
},
|
|
94666
|
-
function
|
|
94667
|
-
return f.isArray ? (Fe(), He("div",
|
|
94626
|
+
}, b$e = ["src", "alt"], v$e = { key: 1 }, y$e = ["src", "alt"];
|
|
94627
|
+
function O$e(r, t, s, a, c, f) {
|
|
94628
|
+
return f.isArray ? (Fe(), He("div", p$e, [
|
|
94668
94629
|
(Fe(!0), He(so, null, Nr(s.row[s.field], (h) => (Fe(), He("div", {
|
|
94669
94630
|
key: h.id
|
|
94670
94631
|
}, [
|
|
@@ -94672,42 +94633,42 @@ function x$e(r, t, s, a, c, f) {
|
|
|
94672
94633
|
class: "h-auto max-w-full rounded-lg",
|
|
94673
94634
|
src: h.thumbnail,
|
|
94674
94635
|
alt: h.file_name
|
|
94675
|
-
}, null, 8,
|
|
94636
|
+
}, null, 8, b$e)
|
|
94676
94637
|
]))), 128))
|
|
94677
|
-
])) : f.isObject ? (Fe(), He("div",
|
|
94638
|
+
])) : f.isObject ? (Fe(), He("div", v$e, [
|
|
94678
94639
|
U("img", {
|
|
94679
94640
|
class: "h-auto max-w-full rounded-lg",
|
|
94680
94641
|
src: s.row[s.field].thumbnail,
|
|
94681
94642
|
alt: s.row[s.field].file_name
|
|
94682
|
-
}, null, 8,
|
|
94643
|
+
}, null, 8, y$e)
|
|
94683
94644
|
])) : Rt("", !0);
|
|
94684
94645
|
}
|
|
94685
|
-
const
|
|
94646
|
+
const IRe = /* @__PURE__ */ Ii(g$e, [["render", O$e]]), x$e = {
|
|
94686
94647
|
props: ["field", "row", "tdProps"],
|
|
94687
94648
|
computed: {
|
|
94688
94649
|
isActive() {
|
|
94689
94650
|
return this.row[this.field] === 1;
|
|
94690
94651
|
}
|
|
94691
94652
|
}
|
|
94692
|
-
},
|
|
94653
|
+
}, w$e = { class: "flex flex-wrap gap-2 text-nowrap" }, S$e = {
|
|
94693
94654
|
key: 0,
|
|
94694
94655
|
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"
|
|
94695
|
-
},
|
|
94656
|
+
}, C$e = {
|
|
94696
94657
|
key: 1,
|
|
94697
94658
|
class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
|
|
94698
94659
|
};
|
|
94699
|
-
function
|
|
94700
|
-
return Fe(), He("div",
|
|
94701
|
-
f.isActive ? (Fe(), He("span",
|
|
94660
|
+
function k$e(r, t, s, a, c, f) {
|
|
94661
|
+
return Fe(), He("div", w$e, [
|
|
94662
|
+
f.isActive ? (Fe(), He("span", S$e, t[0] || (t[0] = [
|
|
94702
94663
|
U("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1),
|
|
94703
94664
|
fo(" Active ")
|
|
94704
|
-
]))) : f.isActive ? Rt("", !0) : (Fe(), He("span",
|
|
94665
|
+
]))) : f.isActive ? Rt("", !0) : (Fe(), He("span", C$e, t[1] || (t[1] = [
|
|
94705
94666
|
U("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1),
|
|
94706
94667
|
fo(" Inactive ")
|
|
94707
94668
|
])))
|
|
94708
94669
|
]);
|
|
94709
94670
|
}
|
|
94710
|
-
const
|
|
94671
|
+
const LRe = /* @__PURE__ */ Ii(x$e, [["render", k$e]]), _$e = {
|
|
94711
94672
|
props: ["field", "row", "tdProps"],
|
|
94712
94673
|
computed: {
|
|
94713
94674
|
hasLabelColor(r) {
|
|
@@ -94717,41 +94678,41 @@ const QRe = /* @__PURE__ */ Ii(w$e, [["render", _$e]]), T$e = {
|
|
|
94717
94678
|
return t ? t.class : "";
|
|
94718
94679
|
}
|
|
94719
94680
|
}
|
|
94720
|
-
},
|
|
94681
|
+
}, T$e = { class: "flex flex-wrap gap-2 text-nowrap" }, E$e = {
|
|
94721
94682
|
key: 0,
|
|
94722
94683
|
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"
|
|
94723
|
-
},
|
|
94684
|
+
}, A$e = {
|
|
94724
94685
|
key: 1,
|
|
94725
94686
|
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"
|
|
94726
|
-
},
|
|
94687
|
+
}, P$e = {
|
|
94727
94688
|
key: 2,
|
|
94728
94689
|
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"
|
|
94729
|
-
},
|
|
94690
|
+
}, D$e = {
|
|
94730
94691
|
key: 3,
|
|
94731
94692
|
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"
|
|
94732
|
-
},
|
|
94693
|
+
}, $$e = {
|
|
94733
94694
|
key: 4,
|
|
94734
94695
|
class: "inline-flex items-center px-2 py-1 text-xs text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
94735
94696
|
};
|
|
94736
|
-
function
|
|
94737
|
-
return Fe(), He("div",
|
|
94738
|
-
f.hasLabelColor == "green" ? (Fe(), He("span",
|
|
94697
|
+
function R$e(r, t, s, a, c, f) {
|
|
94698
|
+
return Fe(), He("div", T$e, [
|
|
94699
|
+
f.hasLabelColor == "green" ? (Fe(), He("span", E$e, [
|
|
94739
94700
|
t[0] || (t[0] = U("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1)),
|
|
94740
94701
|
fo(" " + Vt(this.row[this.field]), 1)
|
|
94741
94702
|
])) : Rt("", !0),
|
|
94742
|
-
f.hasLabelColor == "red" ? (Fe(), He("span",
|
|
94703
|
+
f.hasLabelColor == "red" ? (Fe(), He("span", A$e, [
|
|
94743
94704
|
t[1] || (t[1] = U("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1)),
|
|
94744
94705
|
fo(" " + Vt(this.row[this.field]), 1)
|
|
94745
94706
|
])) : Rt("", !0),
|
|
94746
|
-
f.hasLabelColor == "yellow" ? (Fe(), He("span",
|
|
94707
|
+
f.hasLabelColor == "yellow" ? (Fe(), He("span", P$e, [
|
|
94747
94708
|
t[2] || (t[2] = U("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1)),
|
|
94748
94709
|
fo(" " + Vt(this.row[this.field]), 1)
|
|
94749
94710
|
])) : Rt("", !0),
|
|
94750
|
-
f.hasLabelColor == "default" ? (Fe(), He("span",
|
|
94711
|
+
f.hasLabelColor == "default" ? (Fe(), He("span", D$e, [
|
|
94751
94712
|
t[3] || (t[3] = U("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1)),
|
|
94752
94713
|
fo(" " + Vt(this.row[this.field]), 1)
|
|
94753
94714
|
])) : Rt("", !0),
|
|
94754
|
-
f.hasLabelColor == "animate" ? (Fe(), He("span",
|
|
94715
|
+
f.hasLabelColor == "animate" ? (Fe(), He("span", $$e, [
|
|
94755
94716
|
t[4] || (t[4] = U("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
94756
94717
|
U("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
94757
94718
|
U("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
@@ -94760,7 +94721,7 @@ function M$e(r, t, s, a, c, f) {
|
|
|
94760
94721
|
])) : Rt("", !0)
|
|
94761
94722
|
]);
|
|
94762
94723
|
}
|
|
94763
|
-
const
|
|
94724
|
+
const QRe = /* @__PURE__ */ Ii(_$e, [["render", R$e]]), M$e = {
|
|
94764
94725
|
props: ["field", "row", "tdProps"],
|
|
94765
94726
|
computed: {
|
|
94766
94727
|
hasLabelColor() {
|
|
@@ -94781,9 +94742,9 @@ const VRe = /* @__PURE__ */ Ii(T$e, [["render", M$e]]), N$e = {
|
|
|
94781
94742
|
}
|
|
94782
94743
|
}
|
|
94783
94744
|
}
|
|
94784
|
-
},
|
|
94785
|
-
function
|
|
94786
|
-
return Fe(), He("div",
|
|
94745
|
+
}, N$e = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
|
|
94746
|
+
function B$e(r, t, s, a, c, f) {
|
|
94747
|
+
return Fe(), He("div", N$e, [
|
|
94787
94748
|
f.hasLabelColor == "Default" ? (Fe(), He("span", {
|
|
94788
94749
|
key: 0,
|
|
94789
94750
|
class: Cn(["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", f.badgeType])
|
|
@@ -94818,7 +94779,7 @@ function F$e(r, t, s, a, c, f) {
|
|
|
94818
94779
|
}, Vt(this.row[this.field]), 3)) : Rt("", !0)
|
|
94819
94780
|
]);
|
|
94820
94781
|
}
|
|
94821
|
-
const
|
|
94782
|
+
const VRe = /* @__PURE__ */ Ii(M$e, [["render", B$e]]), F$e = {
|
|
94822
94783
|
props: ["field", "row", "tdProps"],
|
|
94823
94784
|
computed: {
|
|
94824
94785
|
entry() {
|
|
@@ -94852,41 +94813,41 @@ const HRe = /* @__PURE__ */ Ii(N$e, [["render", F$e]]), I$e = {
|
|
|
94852
94813
|
return t.reduce((s, a) => (s || {})[a], r);
|
|
94853
94814
|
}
|
|
94854
94815
|
}
|
|
94855
|
-
},
|
|
94816
|
+
}, I$e = { class: "flex flex-wrap gap-2 text-nowrap" }, L$e = {
|
|
94856
94817
|
key: 0,
|
|
94857
94818
|
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"
|
|
94858
|
-
},
|
|
94819
|
+
}, Q$e = {
|
|
94859
94820
|
key: 1,
|
|
94860
94821
|
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"
|
|
94861
|
-
},
|
|
94822
|
+
}, V$e = {
|
|
94862
94823
|
key: 2,
|
|
94863
94824
|
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"
|
|
94864
|
-
},
|
|
94825
|
+
}, H$e = {
|
|
94865
94826
|
key: 3,
|
|
94866
94827
|
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"
|
|
94867
|
-
},
|
|
94828
|
+
}, z$e = {
|
|
94868
94829
|
key: 4,
|
|
94869
94830
|
class: "inline-flex items-center px-2 py-1 text-xs text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
94870
94831
|
};
|
|
94871
|
-
function
|
|
94872
|
-
return Fe(), He("div",
|
|
94873
|
-
f.hasLabelColor == "green" ? (Fe(), He("span",
|
|
94832
|
+
function Z$e(r, t, s, a, c, f) {
|
|
94833
|
+
return Fe(), He("div", I$e, [
|
|
94834
|
+
f.hasLabelColor == "green" ? (Fe(), He("span", L$e, [
|
|
94874
94835
|
t[0] || (t[0] = U("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1)),
|
|
94875
94836
|
fo(" " + Vt(f.getLabel), 1)
|
|
94876
94837
|
])) : Rt("", !0),
|
|
94877
|
-
f.hasLabelColor == "red" ? (Fe(), He("span",
|
|
94838
|
+
f.hasLabelColor == "red" ? (Fe(), He("span", Q$e, [
|
|
94878
94839
|
t[1] || (t[1] = U("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1)),
|
|
94879
94840
|
fo(" " + Vt(f.getLabel), 1)
|
|
94880
94841
|
])) : Rt("", !0),
|
|
94881
|
-
f.hasLabelColor == "yellow" ? (Fe(), He("span",
|
|
94842
|
+
f.hasLabelColor == "yellow" ? (Fe(), He("span", V$e, [
|
|
94882
94843
|
t[2] || (t[2] = U("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1)),
|
|
94883
94844
|
fo(" " + Vt(f.getLabel), 1)
|
|
94884
94845
|
])) : Rt("", !0),
|
|
94885
|
-
f.hasLabelColor == "default" ? (Fe(), He("span",
|
|
94846
|
+
f.hasLabelColor == "default" ? (Fe(), He("span", H$e, [
|
|
94886
94847
|
t[3] || (t[3] = U("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1)),
|
|
94887
94848
|
fo(" " + Vt(f.getLabel), 1)
|
|
94888
94849
|
])) : Rt("", !0),
|
|
94889
|
-
f.hasLabelColor == "animate" ? (Fe(), He("span",
|
|
94850
|
+
f.hasLabelColor == "animate" ? (Fe(), He("span", z$e, [
|
|
94890
94851
|
t[4] || (t[4] = U("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
94891
94852
|
U("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
94892
94853
|
U("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
@@ -94895,7 +94856,7 @@ function U$e(r, t, s, a, c, f) {
|
|
|
94895
94856
|
])) : Rt("", !0)
|
|
94896
94857
|
]);
|
|
94897
94858
|
}
|
|
94898
|
-
const
|
|
94859
|
+
const HRe = /* @__PURE__ */ Ii(F$e, [["render", Z$e]]), U$e = {
|
|
94899
94860
|
props: ["field", "row", "tdProps"],
|
|
94900
94861
|
computed: {
|
|
94901
94862
|
formattedDate() {
|
|
@@ -94909,11 +94870,11 @@ const zRe = /* @__PURE__ */ Ii(I$e, [["render", U$e]]), W$e = {
|
|
|
94909
94870
|
return `${a}-${s}-${t}, ${x}:${f}:${h} ${b}`;
|
|
94910
94871
|
}
|
|
94911
94872
|
}
|
|
94912
|
-
},
|
|
94913
|
-
function
|
|
94914
|
-
return Fe(), He("div",
|
|
94873
|
+
}, W$e = { class: "w-full" };
|
|
94874
|
+
function X$e(r, t, s, a, c, f) {
|
|
94875
|
+
return Fe(), He("div", W$e, Vt(f.formattedDate), 1);
|
|
94915
94876
|
}
|
|
94916
|
-
const
|
|
94877
|
+
const zRe = /* @__PURE__ */ Ii(U$e, [["render", X$e]]), q$e = {
|
|
94917
94878
|
props: ["field", "row", "tdProps"],
|
|
94918
94879
|
computed: {
|
|
94919
94880
|
formattedDate() {
|
|
@@ -94923,54 +94884,54 @@ const ZRe = /* @__PURE__ */ Ii(W$e, [["render", q$e]]), j$e = {
|
|
|
94923
94884
|
return `${s} ${a}, ${t}`;
|
|
94924
94885
|
}
|
|
94925
94886
|
}
|
|
94926
|
-
},
|
|
94927
|
-
function
|
|
94928
|
-
return Fe(), He("div",
|
|
94887
|
+
}, j$e = { class: "w-full" };
|
|
94888
|
+
function G$e(r, t, s, a, c, f) {
|
|
94889
|
+
return Fe(), He("div", j$e, Vt(f.formattedDate), 1);
|
|
94929
94890
|
}
|
|
94930
|
-
const
|
|
94891
|
+
const ZRe = /* @__PURE__ */ Ii(q$e, [["render", G$e]]), Y$e = {
|
|
94931
94892
|
props: ["field", "row", "tdProps"]
|
|
94932
|
-
},
|
|
94893
|
+
}, K$e = { class: "flex flex-wrap gap-2 text-nowrap" }, J$e = {
|
|
94933
94894
|
key: 0,
|
|
94934
94895
|
class: "inline-flex items-center px-2 py-1 text-xs text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
94935
|
-
},
|
|
94896
|
+
}, e8e = {
|
|
94936
94897
|
key: 1,
|
|
94937
94898
|
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"
|
|
94938
|
-
},
|
|
94899
|
+
}, t8e = {
|
|
94939
94900
|
key: 2,
|
|
94940
94901
|
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"
|
|
94941
94902
|
};
|
|
94942
|
-
function
|
|
94943
|
-
return Fe(), He("div",
|
|
94944
|
-
s.row[s.field] === 0 ? (Fe(), He("span",
|
|
94903
|
+
function n8e(r, t, s, a, c, f) {
|
|
94904
|
+
return Fe(), He("div", K$e, [
|
|
94905
|
+
s.row[s.field] === 0 ? (Fe(), He("span", J$e, t[0] || (t[0] = [
|
|
94945
94906
|
U("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
94946
94907
|
U("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
94947
94908
|
U("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
94948
94909
|
], -1),
|
|
94949
94910
|
fo(" Provisioning")
|
|
94950
94911
|
]))) : Rt("", !0),
|
|
94951
|
-
s.row[s.field] === 2 ? (Fe(), He("span",
|
|
94912
|
+
s.row[s.field] === 2 ? (Fe(), He("span", e8e, t[1] || (t[1] = [
|
|
94952
94913
|
U("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1),
|
|
94953
94914
|
fo(" Paused ")
|
|
94954
94915
|
]))) : Rt("", !0),
|
|
94955
|
-
s.row[s.field] === 1 ? (Fe(), He("span",
|
|
94916
|
+
s.row[s.field] === 1 ? (Fe(), He("span", t8e, t[2] || (t[2] = [
|
|
94956
94917
|
U("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1),
|
|
94957
94918
|
fo(" Active ")
|
|
94958
94919
|
]))) : Rt("", !0)
|
|
94959
94920
|
]);
|
|
94960
94921
|
}
|
|
94961
|
-
const
|
|
94922
|
+
const URe = /* @__PURE__ */ Ii(Y$e, [["render", n8e]]), s8e = {
|
|
94962
94923
|
props: ["field", "row", "tdProps"]
|
|
94963
|
-
},
|
|
94924
|
+
}, o8e = {
|
|
94964
94925
|
key: 0,
|
|
94965
94926
|
class: "text-nowrap w-full"
|
|
94966
|
-
},
|
|
94967
|
-
function
|
|
94968
|
-
return s.row[s.field] ? (Fe(), He("div",
|
|
94969
|
-
U("pre",
|
|
94927
|
+
}, r8e = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded-sm cursor-default whitespace-nowrap console_styles" };
|
|
94928
|
+
function i8e(r, t, s, a, c, f) {
|
|
94929
|
+
return s.row[s.field] ? (Fe(), He("div", o8e, [
|
|
94930
|
+
U("pre", r8e, " " + Vt(s.row[s.field]) + `
|
|
94970
94931
|
`, 1)
|
|
94971
94932
|
])) : Rt("", !0);
|
|
94972
94933
|
}
|
|
94973
|
-
const
|
|
94934
|
+
const WRe = /* @__PURE__ */ Ii(s8e, [["render", i8e]]), a8e = {
|
|
94974
94935
|
components: {
|
|
94975
94936
|
GlButton: bne
|
|
94976
94937
|
},
|
|
@@ -94983,16 +94944,16 @@ const XRe = /* @__PURE__ */ Ii(o8e, [["render", a8e]]), l8e = {
|
|
|
94983
94944
|
this.$emit("cancel-action");
|
|
94984
94945
|
}
|
|
94985
94946
|
}
|
|
94986
|
-
},
|
|
94947
|
+
}, l8e = {
|
|
94987
94948
|
key: 0,
|
|
94988
94949
|
class: "fixed inset-0 z-99999 overflow-y-auto",
|
|
94989
94950
|
role: "dialog",
|
|
94990
94951
|
"aria-modal": "true"
|
|
94991
|
-
},
|
|
94992
|
-
function
|
|
94952
|
+
}, c8e = { class: "flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:p-0" }, u8e = { class: "inline-block relative overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, d8e = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, f8e = { class: "sm:flex sm:items-start" }, h8e = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, m8e = { class: "text-lg font-medium leading-6" }, g8e = { class: "mt-2" }, p8e = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 flex gap-2" };
|
|
94953
|
+
function b8e(r, t, s, a, c, f) {
|
|
94993
94954
|
const h = id("gl-button");
|
|
94994
|
-
return s.isOpen ? (Fe(), He("div",
|
|
94995
|
-
U("div",
|
|
94955
|
+
return s.isOpen ? (Fe(), He("div", l8e, [
|
|
94956
|
+
U("div", c8e, [
|
|
94996
94957
|
t[1] || (t[1] = U("div", {
|
|
94997
94958
|
class: "fixed inset-0 transition-opacity bg-gray-500/75",
|
|
94998
94959
|
"aria-hidden": "true"
|
|
@@ -95001,18 +94962,18 @@ function v8e(r, t, s, a, c, f) {
|
|
|
95001
94962
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
95002
94963
|
"aria-hidden": "true"
|
|
95003
94964
|
}, "", -1)),
|
|
95004
|
-
U("div",
|
|
95005
|
-
U("div",
|
|
95006
|
-
U("div",
|
|
95007
|
-
U("div",
|
|
95008
|
-
U("h3",
|
|
95009
|
-
U("div",
|
|
94965
|
+
U("div", u8e, [
|
|
94966
|
+
U("div", d8e, [
|
|
94967
|
+
U("div", f8e, [
|
|
94968
|
+
U("div", h8e, [
|
|
94969
|
+
U("h3", m8e, Vt(s.title), 1),
|
|
94970
|
+
U("div", g8e, [
|
|
95010
94971
|
Ru(r.$slots, "default")
|
|
95011
94972
|
])
|
|
95012
94973
|
])
|
|
95013
94974
|
])
|
|
95014
94975
|
]),
|
|
95015
|
-
U("div",
|
|
94976
|
+
U("div", p8e, [
|
|
95016
94977
|
Ql(h, {
|
|
95017
94978
|
onClick: f.confirmAction,
|
|
95018
94979
|
tag: "button",
|
|
@@ -95038,16 +94999,16 @@ function v8e(r, t, s, a, c, f) {
|
|
|
95038
94999
|
])
|
|
95039
95000
|
])) : Rt("", !0);
|
|
95040
95001
|
}
|
|
95041
|
-
const
|
|
95002
|
+
const XRe = /* @__PURE__ */ Ii(a8e, [["render", b8e]]), v8e = { class: "w-full" }, y8e = { class: "mb-2 flex justify-between items-center" }, O8e = { class: "text-sm font-medium text-gray-900 dark:text-white" }, x8e = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, w8e = { class: "overflow-auto max-h-32" }, S8e = ["innerHTML"], C8e = {
|
|
95042
95003
|
key: 1,
|
|
95043
95004
|
class: "text-sm text-gray-500 dark:text-gray-400"
|
|
95044
|
-
},
|
|
95005
|
+
}, k8e = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, _8e = {
|
|
95045
95006
|
key: 0,
|
|
95046
95007
|
class: "inline-flex items-center"
|
|
95047
|
-
},
|
|
95008
|
+
}, T8e = {
|
|
95048
95009
|
key: 1,
|
|
95049
95010
|
class: "inline-flex items-center"
|
|
95050
|
-
},
|
|
95011
|
+
}, E8e = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, qRe = {
|
|
95051
95012
|
__name: "GlCodeCopy",
|
|
95052
95013
|
props: {
|
|
95053
95014
|
label_name: {
|
|
@@ -95077,24 +95038,24 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95077
95038
|
console.error("Error copying to clipboard: ", h);
|
|
95078
95039
|
});
|
|
95079
95040
|
}, c = pc(() => t.code);
|
|
95080
|
-
return (f, h) => (Fe(), He("div",
|
|
95081
|
-
U("div",
|
|
95082
|
-
U("p",
|
|
95041
|
+
return (f, h) => (Fe(), He("div", v8e, [
|
|
95042
|
+
U("div", y8e, [
|
|
95043
|
+
U("p", O8e, Vt(r.label_name), 1)
|
|
95083
95044
|
]),
|
|
95084
|
-
U("div",
|
|
95085
|
-
U("div",
|
|
95045
|
+
U("div", x8e, [
|
|
95046
|
+
U("div", w8e, [
|
|
95086
95047
|
r.isPre ? (Fe(), He("pre", {
|
|
95087
95048
|
key: 0,
|
|
95088
95049
|
class: "text-sm text-gray-500 dark:text-gray-400",
|
|
95089
95050
|
innerHTML: c.value
|
|
95090
|
-
}, null, 8,
|
|
95051
|
+
}, null, 8, S8e)) : (Fe(), He("code", C8e, Vt(c.value), 1))
|
|
95091
95052
|
]),
|
|
95092
|
-
U("div",
|
|
95053
|
+
U("div", k8e, [
|
|
95093
95054
|
U("button", {
|
|
95094
95055
|
onClick: h[0] || (h[0] = (b) => a(c.value)),
|
|
95095
95056
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
95096
95057
|
}, [
|
|
95097
|
-
s.value ? Rt("", !0) : (Fe(), He("span",
|
|
95058
|
+
s.value ? Rt("", !0) : (Fe(), He("span", _8e, h[1] || (h[1] = [
|
|
95098
95059
|
U("svg", {
|
|
95099
95060
|
class: "w-3 h-3 me-2",
|
|
95100
95061
|
"aria-hidden": "true",
|
|
@@ -95106,7 +95067,7 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95106
95067
|
], -1),
|
|
95107
95068
|
U("span", { class: "text-xs font-semibold" }, "Copy", -1)
|
|
95108
95069
|
]))),
|
|
95109
|
-
s.value ? (Fe(), He("span",
|
|
95070
|
+
s.value ? (Fe(), He("span", T8e, h[2] || (h[2] = [
|
|
95110
95071
|
U("svg", {
|
|
95111
95072
|
class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-2",
|
|
95112
95073
|
"aria-hidden": "true",
|
|
@@ -95127,13 +95088,13 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95127
95088
|
])
|
|
95128
95089
|
])
|
|
95129
95090
|
]),
|
|
95130
|
-
U("p",
|
|
95091
|
+
U("p", E8e, Vt(r.description), 1)
|
|
95131
95092
|
]));
|
|
95132
95093
|
}
|
|
95133
|
-
},
|
|
95094
|
+
}, A8e = { class: "w-full" }, P8e = { class: "flex justify-between items-center" }, D8e = { class: "gl-label-form" }, $8e = { class: "flex items-center" }, R8e = { class: "shrink-0 z-10 inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600" }, M8e = { class: "relative w-full" }, N8e = ["value"], B8e = { key: 0 }, F8e = {
|
|
95134
95095
|
key: 1,
|
|
95135
95096
|
class: "inline-flex items-center"
|
|
95136
|
-
},
|
|
95097
|
+
}, I8e = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, jRe = {
|
|
95137
95098
|
__name: "GlTextCopy",
|
|
95138
95099
|
props: {
|
|
95139
95100
|
label_name: {
|
|
@@ -95163,13 +95124,13 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95163
95124
|
console.error("Error copying to clipboard: ", h);
|
|
95164
95125
|
});
|
|
95165
95126
|
}, c = pc(() => t.code);
|
|
95166
|
-
return (f, h) => (Fe(), He("div",
|
|
95167
|
-
U("div",
|
|
95168
|
-
U("label",
|
|
95127
|
+
return (f, h) => (Fe(), He("div", A8e, [
|
|
95128
|
+
U("div", P8e, [
|
|
95129
|
+
U("label", D8e, Vt(r.label_name), 1)
|
|
95169
95130
|
]),
|
|
95170
|
-
U("div",
|
|
95171
|
-
U("span",
|
|
95172
|
-
U("div",
|
|
95131
|
+
U("div", $8e, [
|
|
95132
|
+
U("span", R8e, Vt(r.text_name), 1),
|
|
95133
|
+
U("div", M8e, [
|
|
95173
95134
|
U("input", {
|
|
95174
95135
|
type: "text",
|
|
95175
95136
|
"aria-describedby": "helper-text-explanation",
|
|
@@ -95177,7 +95138,7 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95177
95138
|
value: c.value,
|
|
95178
95139
|
readonly: "",
|
|
95179
95140
|
disabled: ""
|
|
95180
|
-
}, null, 8,
|
|
95141
|
+
}, null, 8, N8e)
|
|
95181
95142
|
]),
|
|
95182
95143
|
U("button", {
|
|
95183
95144
|
style: { padding: ".61rem" },
|
|
@@ -95185,7 +95146,7 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95185
95146
|
class: "shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-hidden focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
95186
95147
|
type: "button"
|
|
95187
95148
|
}, [
|
|
95188
|
-
s.value ? Rt("", !0) : (Fe(), He("span",
|
|
95149
|
+
s.value ? Rt("", !0) : (Fe(), He("span", B8e, h[1] || (h[1] = [
|
|
95189
95150
|
U("svg", {
|
|
95190
95151
|
class: "w-4 h-4",
|
|
95191
95152
|
"aria-hidden": "true",
|
|
@@ -95196,7 +95157,7 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95196
95157
|
U("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
95197
95158
|
], -1)
|
|
95198
95159
|
]))),
|
|
95199
|
-
s.value ? (Fe(), He("span",
|
|
95160
|
+
s.value ? (Fe(), He("span", F8e, h[2] || (h[2] = [
|
|
95200
95161
|
U("svg", {
|
|
95201
95162
|
class: "w-4 h-4",
|
|
95202
95163
|
"aria-hidden": "true",
|
|
@@ -95215,19 +95176,19 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95215
95176
|
]))) : Rt("", !0)
|
|
95216
95177
|
])
|
|
95217
95178
|
]),
|
|
95218
|
-
U("p",
|
|
95179
|
+
U("p", I8e, Vt(r.description), 1)
|
|
95219
95180
|
]));
|
|
95220
95181
|
}
|
|
95221
|
-
},
|
|
95182
|
+
}, L8e = { class: "flex flex-wrap gap-2 text-nowrap" }, Q8e = {
|
|
95222
95183
|
key: 0,
|
|
95223
95184
|
class: "inline-flex items-center px-2 py-1 text-xs text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
95224
|
-
},
|
|
95185
|
+
}, V8e = {
|
|
95225
95186
|
key: 1,
|
|
95226
95187
|
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"
|
|
95227
|
-
},
|
|
95188
|
+
}, H8e = {
|
|
95228
95189
|
key: 2,
|
|
95229
95190
|
class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
|
|
95230
|
-
},
|
|
95191
|
+
}, GRe = {
|
|
95231
95192
|
__name: "StatusRunningSuccessFailed",
|
|
95232
95193
|
props: {
|
|
95233
95194
|
status: {
|
|
@@ -95236,34 +95197,34 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95236
95197
|
}
|
|
95237
95198
|
},
|
|
95238
95199
|
setup(r) {
|
|
95239
|
-
return (t, s) => (Fe(), He("div",
|
|
95240
|
-
r.status === 0 ? (Fe(), He("span",
|
|
95200
|
+
return (t, s) => (Fe(), He("div", L8e, [
|
|
95201
|
+
r.status === 0 ? (Fe(), He("span", Q8e, s[0] || (s[0] = [
|
|
95241
95202
|
U("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
95242
95203
|
U("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
95243
95204
|
U("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
95244
95205
|
], -1),
|
|
95245
95206
|
fo(" Running")
|
|
95246
95207
|
]))) : Rt("", !0),
|
|
95247
|
-
r.status === 1 ? (Fe(), He("span",
|
|
95208
|
+
r.status === 1 ? (Fe(), He("span", V8e, s[1] || (s[1] = [
|
|
95248
95209
|
U("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1),
|
|
95249
95210
|
fo(" Success ")
|
|
95250
95211
|
]))) : Rt("", !0),
|
|
95251
|
-
r.status === 2 ? (Fe(), He("span",
|
|
95212
|
+
r.status === 2 ? (Fe(), He("span", H8e, s[2] || (s[2] = [
|
|
95252
95213
|
U("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1),
|
|
95253
95214
|
fo(" Failed ")
|
|
95254
95215
|
]))) : Rt("", !0)
|
|
95255
95216
|
]));
|
|
95256
95217
|
}
|
|
95257
|
-
},
|
|
95218
|
+
}, z8e = { class: "flex flex-wrap text-nowrap" }, Z8e = {
|
|
95258
95219
|
key: 0,
|
|
95259
95220
|
class: "inline-flex items-center px-2 py-1 text-xs text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
95260
|
-
},
|
|
95221
|
+
}, U8e = {
|
|
95261
95222
|
key: 1,
|
|
95262
95223
|
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"
|
|
95263
|
-
},
|
|
95224
|
+
}, W8e = {
|
|
95264
95225
|
key: 2,
|
|
95265
95226
|
class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
|
|
95266
|
-
},
|
|
95227
|
+
}, YRe = {
|
|
95267
95228
|
__name: "StatusConnectingConnectedDisconnected",
|
|
95268
95229
|
props: {
|
|
95269
95230
|
status: {
|
|
@@ -95276,19 +95237,19 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95276
95237
|
const s = t, a = () => {
|
|
95277
95238
|
s("reconnect");
|
|
95278
95239
|
};
|
|
95279
|
-
return (c, f) => (Fe(), He("div",
|
|
95280
|
-
r.status === 0 ? (Fe(), He("span",
|
|
95240
|
+
return (c, f) => (Fe(), He("div", z8e, [
|
|
95241
|
+
r.status === 0 ? (Fe(), He("span", Z8e, f[0] || (f[0] = [
|
|
95281
95242
|
U("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
95282
95243
|
U("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
95283
95244
|
U("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
95284
95245
|
], -1),
|
|
95285
95246
|
fo(" Connecting")
|
|
95286
95247
|
]))) : Rt("", !0),
|
|
95287
|
-
r.status === 1 ? (Fe(), He("span",
|
|
95248
|
+
r.status === 1 ? (Fe(), He("span", U8e, f[1] || (f[1] = [
|
|
95288
95249
|
U("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1),
|
|
95289
95250
|
fo(" Connected ")
|
|
95290
95251
|
]))) : Rt("", !0),
|
|
95291
|
-
r.status === 2 ? (Fe(), He("span",
|
|
95252
|
+
r.status === 2 ? (Fe(), He("span", W8e, f[2] || (f[2] = [
|
|
95292
95253
|
U("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1),
|
|
95293
95254
|
fo(" Disconnected ")
|
|
95294
95255
|
]))) : Rt("", !0),
|
|
@@ -95311,7 +95272,7 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95311
95272
|
])
|
|
95312
95273
|
]));
|
|
95313
95274
|
}
|
|
95314
|
-
},
|
|
95275
|
+
}, KRe = {
|
|
95315
95276
|
beforeMount: (r, t) => {
|
|
95316
95277
|
r.clickOutsideEvent = (s) => {
|
|
95317
95278
|
r == s.target || r.contains(s.target) || t.value(s, r);
|
|
@@ -95321,7 +95282,7 @@ const qRe = /* @__PURE__ */ Ii(l8e, [["render", v8e]]), y8e = { class: "w-full"
|
|
|
95321
95282
|
document.removeEventListener("click", r.clickOutsideEvent);
|
|
95322
95283
|
}
|
|
95323
95284
|
};
|
|
95324
|
-
class
|
|
95285
|
+
class X8e {
|
|
95325
95286
|
/**
|
|
95326
95287
|
* Create a new Errors instance.
|
|
95327
95288
|
*/
|
|
@@ -95376,7 +95337,7 @@ class q8e {
|
|
|
95376
95337
|
this.errors = {};
|
|
95377
95338
|
}
|
|
95378
95339
|
}
|
|
95379
|
-
class
|
|
95340
|
+
class JRe {
|
|
95380
95341
|
/**
|
|
95381
95342
|
* Create a new Form instance.
|
|
95382
95343
|
*
|
|
@@ -95386,7 +95347,7 @@ class e6e {
|
|
|
95386
95347
|
this.originalData = t;
|
|
95387
95348
|
for (let s in t)
|
|
95388
95349
|
this[s] = t[s];
|
|
95389
|
-
this.errors = new
|
|
95350
|
+
this.errors = new X8e();
|
|
95390
95351
|
}
|
|
95391
95352
|
/**
|
|
95392
95353
|
* Fetch all relevant data for the form.
|
|
@@ -95600,71 +95561,71 @@ class e6e {
|
|
|
95600
95561
|
}
|
|
95601
95562
|
}), r.multilingual = c;
|
|
95602
95563
|
})(window, document);
|
|
95603
|
-
const
|
|
95564
|
+
const e6e = window.multilingual;
|
|
95604
95565
|
export {
|
|
95605
|
-
|
|
95606
|
-
|
|
95607
|
-
|
|
95608
|
-
|
|
95609
|
-
|
|
95610
|
-
|
|
95611
|
-
|
|
95612
|
-
|
|
95613
|
-
|
|
95566
|
+
KRe as ClickOutsideDirective,
|
|
95567
|
+
HRe as DatatableStatusTextLabelGeneral,
|
|
95568
|
+
JRe as Form,
|
|
95569
|
+
WRe as GLDatatableCommand,
|
|
95570
|
+
ZRe as GLDatatableDate,
|
|
95571
|
+
zRe as GLDatatableDateTime,
|
|
95572
|
+
URe as GLDatatableStatusServer,
|
|
95573
|
+
TRe as GlAccordion,
|
|
95574
|
+
_Re as GlAccordionsWrapper,
|
|
95614
95575
|
bne as GlButton,
|
|
95615
|
-
|
|
95616
|
-
|
|
95617
|
-
|
|
95618
|
-
|
|
95619
|
-
|
|
95620
|
-
|
|
95621
|
-
|
|
95622
|
-
|
|
95623
|
-
|
|
95624
|
-
|
|
95625
|
-
|
|
95626
|
-
|
|
95627
|
-
|
|
95628
|
-
|
|
95629
|
-
|
|
95630
|
-
|
|
95631
|
-
|
|
95632
|
-
|
|
95633
|
-
|
|
95634
|
-
|
|
95635
|
-
|
|
95636
|
-
|
|
95637
|
-
|
|
95576
|
+
Y8e as GlCard,
|
|
95577
|
+
qRe as GlCodeCopy,
|
|
95578
|
+
vRe as GlCodeMirror,
|
|
95579
|
+
yRe as GlCodeMirrorTranslate,
|
|
95580
|
+
XRe as GlConfirmationModal,
|
|
95581
|
+
CRe as GlDataTable,
|
|
95582
|
+
wRe as GlDataTableComponent,
|
|
95583
|
+
xRe as GlDataTableServerSide,
|
|
95584
|
+
SRe as GlDataTableServerSideGroupBy,
|
|
95585
|
+
ARe as GlDatatableAction,
|
|
95586
|
+
kRe as GlDatatableConvertCronToHuman,
|
|
95587
|
+
PRe as GlDatatableDeleteAction,
|
|
95588
|
+
DRe as GlDatatableDeleteEditAction,
|
|
95589
|
+
$Re as GlDatatableFileDownload,
|
|
95590
|
+
RRe as GlDatatableFiles,
|
|
95591
|
+
MRe as GlDatatableHtml,
|
|
95592
|
+
NRe as GlDatatableList,
|
|
95593
|
+
BRe as GlDatatableListNested,
|
|
95594
|
+
FRe as GlDatatablePicture,
|
|
95595
|
+
IRe as GlDatatablePictures,
|
|
95596
|
+
LRe as GlDatatableStatus,
|
|
95597
|
+
QRe as GlDatatableStatusGeneral,
|
|
95598
|
+
VRe as GlDatatableStatusSpecficColor,
|
|
95638
95599
|
ore as GlDatePicker,
|
|
95639
95600
|
Jge as GlDateRangePicker,
|
|
95640
95601
|
Oz as GlDeleteConfirmationModal,
|
|
95641
95602
|
E1e as GlDropdown,
|
|
95642
95603
|
hCe as GlDynamicConfirmation,
|
|
95643
|
-
|
|
95644
|
-
|
|
95645
|
-
|
|
95646
|
-
|
|
95647
|
-
|
|
95648
|
-
|
|
95649
|
-
|
|
95650
|
-
|
|
95651
|
-
|
|
95652
|
-
|
|
95653
|
-
|
|
95654
|
-
|
|
95655
|
-
|
|
95604
|
+
j8e as GlFilesUpload,
|
|
95605
|
+
G8e as GlLanguageSelector,
|
|
95606
|
+
aRe as GlModal,
|
|
95607
|
+
cRe as GlModalShow,
|
|
95608
|
+
lRe as GlModalWithoutOverflow,
|
|
95609
|
+
rRe as GlMultiItemSlide,
|
|
95610
|
+
iRe as GlMultiItemSlideDynamic,
|
|
95611
|
+
K8e as GlMultiSelectDropdown,
|
|
95612
|
+
YRe as GlStatusConnectingConnectedDisconnected,
|
|
95613
|
+
GRe as GlStatusRunningSuccessFailed,
|
|
95614
|
+
sRe as GlTab,
|
|
95615
|
+
oRe as GlTabShow,
|
|
95616
|
+
nRe as GlTabsWrapper,
|
|
95656
95617
|
Pde as GlTailwindPagination,
|
|
95657
|
-
|
|
95618
|
+
jRe as GlTextCopy,
|
|
95658
95619
|
wge as GlTextInput,
|
|
95659
|
-
|
|
95660
|
-
|
|
95661
|
-
|
|
95662
|
-
|
|
95663
|
-
|
|
95664
|
-
|
|
95620
|
+
tRe as GlTextInputFile,
|
|
95621
|
+
eRe as GlTextTranslate,
|
|
95622
|
+
fRe as GlTextarea,
|
|
95623
|
+
J8e as GlTextareaTranslate,
|
|
95624
|
+
hRe as GlTinymce,
|
|
95625
|
+
ORe as GlTinymceTranslate,
|
|
95665
95626
|
x2 as GlToast,
|
|
95666
|
-
|
|
95667
|
-
|
|
95668
|
-
|
|
95669
|
-
|
|
95627
|
+
ERe as GlToastList,
|
|
95628
|
+
uRe as GlToggleBox,
|
|
95629
|
+
dRe as GlToggleBoxTrueFalse,
|
|
95630
|
+
e6e as multilingual
|
|
95670
95631
|
};
|