golden-logic-ui 1.0.136 → 1.0.137
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 +413 -440
- package/dist/golden-logic-ui.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as u, createElementVNode as t, createCommentVNode as g, createStaticVNode as tt, inject as xe, watch as H, effectScope as rt, computed as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as t, createCommentVNode as g, createStaticVNode as tt, inject as xe, watch as H, effectScope as rt, computed as L, reactive as Te, resolveComponent as z, Fragment as v, createVNode as R, normalizeClass as p, toDisplayString as f, withModifiers as F, withDirectives as A, vModelText as G, renderList as S, normalizeStyle as st, renderSlot as M, ref as C, onMounted as q, createTextVNode as $, vShow as Q, nextTick as Le, createBlock as Z, resolveDynamicComponent as le, mergeProps as ae, withCtx as ie, vModelDynamic as at, provide as Me, pushScopeId as nt, popScopeId as ot, vModelCheckbox as lt, toHandlers as be, TransitionGroup as it, unref as dt, resolveDirective as Ie, markRaw as ut } from "vue";
|
|
2
2
|
const O = (e, r) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of r)
|
|
@@ -187,7 +187,7 @@ function ke(e, r, s) {
|
|
|
187
187
|
var a = e._wrappedGetters, i = {}, l = {}, c = rt(!0);
|
|
188
188
|
c.run(function() {
|
|
189
189
|
K(a, function(h, m) {
|
|
190
|
-
i[m] = Pt(h, e), l[m] =
|
|
190
|
+
i[m] = Pt(h, e), l[m] = L(function() {
|
|
191
191
|
return i[m]();
|
|
192
192
|
}), Object.defineProperty(e.getters, m, {
|
|
193
193
|
get: function() {
|
|
@@ -213,10 +213,10 @@ function ue(e, r, s, n, o) {
|
|
|
213
213
|
), l[c] = n.state;
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
var h = n.context =
|
|
216
|
+
var h = n.context = At(e, i, s);
|
|
217
217
|
n.forEachMutation(function(m, _) {
|
|
218
218
|
var x = i + _;
|
|
219
|
-
|
|
219
|
+
jt(e, x, m, h);
|
|
220
220
|
}), n.forEachAction(function(m, _) {
|
|
221
221
|
var x = m.root ? _ : i + _, D = m.handler || m;
|
|
222
222
|
Et(e, x, D, h);
|
|
@@ -227,7 +227,7 @@ function ue(e, r, s, n, o) {
|
|
|
227
227
|
ue(e, r, s.concat(_), m, o);
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function At(e, r, s) {
|
|
231
231
|
var n = r === "", o = {
|
|
232
232
|
dispatch: n ? e.dispatch : function(a, i, l) {
|
|
233
233
|
var c = de(a, i, l), h = c.payload, m = c.options, _ = c.type;
|
|
@@ -278,7 +278,7 @@ function Re(e, r) {
|
|
|
278
278
|
}
|
|
279
279
|
return e._makeLocalGettersCache[r];
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function jt(e, r, s, n) {
|
|
282
282
|
var o = e._mutations[r] || (e._mutations[r] = []);
|
|
283
283
|
o.push(function(i) {
|
|
284
284
|
s.call(e, n.state, i);
|
|
@@ -634,7 +634,7 @@ function We(e, r, s) {
|
|
|
634
634
|
);
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
|
-
var
|
|
637
|
+
var Ae = {
|
|
638
638
|
assert: function(e) {
|
|
639
639
|
return typeof e == "function";
|
|
640
640
|
},
|
|
@@ -644,15 +644,15 @@ var je = {
|
|
|
644
644
|
return typeof e == "function" || typeof e == "object" && typeof e.handler == "function";
|
|
645
645
|
},
|
|
646
646
|
expected: 'function or object with "handler" function'
|
|
647
|
-
},
|
|
648
|
-
getters:
|
|
649
|
-
mutations:
|
|
647
|
+
}, je = {
|
|
648
|
+
getters: Ae,
|
|
649
|
+
mutations: Ae,
|
|
650
650
|
actions: Rt
|
|
651
651
|
};
|
|
652
652
|
function Ye(e, r) {
|
|
653
|
-
Object.keys(
|
|
653
|
+
Object.keys(je).forEach(function(s) {
|
|
654
654
|
if (r[s]) {
|
|
655
|
-
var n =
|
|
655
|
+
var n = je[s];
|
|
656
656
|
K(r[s], function(o, a) {
|
|
657
657
|
V(
|
|
658
658
|
n.assert(o),
|
|
@@ -1060,7 +1060,7 @@ function kr(e, r, s, n, o, a) {
|
|
|
1060
1060
|
multiple: s.has_multiple_file,
|
|
1061
1061
|
onChange: r[0] || (r[0] = (...l) => a.uploadFiles && a.uploadFiles(...l))
|
|
1062
1062
|
}, null, 40, Wt),
|
|
1063
|
-
|
|
1063
|
+
A(t("input", {
|
|
1064
1064
|
type: "hidden",
|
|
1065
1065
|
name: s.field_name,
|
|
1066
1066
|
"onUpdate:modelValue": r[1] || (r[1] = (l) => a.uploadedFileIds = l)
|
|
@@ -1121,7 +1121,7 @@ function kr(e, r, s, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const pc = /* @__PURE__ */ O(Zt, [["render", kr]]), $r = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...Ht("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1192,11 +1192,11 @@ const $c = /* @__PURE__ */ O(Zt, [["render", kr]]), $r = {
|
|
|
1192
1192
|
"stroke-width": "2",
|
|
1193
1193
|
d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
|
|
1194
1194
|
})
|
|
1195
|
-
], -1),
|
|
1195
|
+
], -1), Ar = [
|
|
1196
1196
|
Or,
|
|
1197
1197
|
Pr
|
|
1198
1198
|
];
|
|
1199
|
-
function
|
|
1199
|
+
function jr(e, r, s, n, o, a) {
|
|
1200
1200
|
return e.notification.show ? (d(), u("div", {
|
|
1201
1201
|
key: 0,
|
|
1202
1202
|
class: p(["fixed right-0 z-50 flex items-center p-4 m-5 mb-4 rounded-lg shadow-lg", a.alertClasses]),
|
|
@@ -1210,10 +1210,10 @@ function Ar(e, r, s, n, o, a) {
|
|
|
1210
1210
|
onClick: r[0] || (r[0] = (...i) => a.dismiss && a.dismiss(...i)),
|
|
1211
1211
|
class: p(["inline-flex items-center justify-center w-6 h-6 p-1 -mx-1 -my-1 rounded-lg ms-auto focus:ring-2 hover:bg-opacity-50", a.buttonClasses]),
|
|
1212
1212
|
"aria-label": "Close"
|
|
1213
|
-
},
|
|
1213
|
+
}, Ar, 2)
|
|
1214
1214
|
], 2)) : g("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const yc = /* @__PURE__ */ O($r, [["render", jr]]), Er = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1272,10 +1272,10 @@ function Ir(e, r, s, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Vr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Br = { class: "font-semibold text-black dark:text-white" }, Gr = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
|
-
},
|
|
1278
|
+
}, vc = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1284,18 +1284,18 @@ const Sc = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
|
|
|
1284
1284
|
}
|
|
1285
1285
|
},
|
|
1286
1286
|
setup(e) {
|
|
1287
|
-
const r = e, s =
|
|
1287
|
+
const r = e, s = L(() => r.class);
|
|
1288
1288
|
return (n, o) => (d(), u("div", {
|
|
1289
1289
|
class: p(["flex flex-col gap-9", s.value])
|
|
1290
1290
|
}, [
|
|
1291
1291
|
t("div", Nr, [
|
|
1292
1292
|
t("div", Vr, [
|
|
1293
1293
|
t("h3", Br, [
|
|
1294
|
-
|
|
1294
|
+
M(n.$slots, "header")
|
|
1295
1295
|
])
|
|
1296
1296
|
]),
|
|
1297
1297
|
n.$slots.body ? (d(), u("div", Gr, [
|
|
1298
|
-
|
|
1298
|
+
M(n.$slots, "body")
|
|
1299
1299
|
])) : g("", !0)
|
|
1300
1300
|
])
|
|
1301
1301
|
], 2));
|
|
@@ -1322,7 +1322,7 @@ const Sc = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
|
|
|
1322
1322
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
1323
1323
|
})
|
|
1324
1324
|
])
|
|
1325
|
-
], -1), ts = ["id"], rs = { class: "overflow-y-auto max-h-64" }, ss = ["onClick", "onMousedown", "id"],
|
|
1325
|
+
], -1), ts = ["id"], rs = { class: "overflow-y-auto max-h-64" }, ss = ["onClick", "onMousedown", "id"], xc = {
|
|
1326
1326
|
__name: "GlMultiSelectDropdown",
|
|
1327
1327
|
props: {
|
|
1328
1328
|
modelValue: {
|
|
@@ -1390,7 +1390,7 @@ const Sc = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
|
|
|
1390
1390
|
b.key === "Enter" && b.target.form && b.preventDefault();
|
|
1391
1391
|
}));
|
|
1392
1392
|
});
|
|
1393
|
-
const _ =
|
|
1393
|
+
const _ = L(() => y()), x = L(() => P()), D = L(() => {
|
|
1394
1394
|
const b = [], w = new RegExp(h.value, "ig");
|
|
1395
1395
|
for (const k of _.value) {
|
|
1396
1396
|
const E = String(k.name);
|
|
@@ -1479,7 +1479,7 @@ const Sc = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
|
|
|
1479
1479
|
)
|
|
1480
1480
|
) || [];
|
|
1481
1481
|
}
|
|
1482
|
-
function
|
|
1482
|
+
function j(b) {
|
|
1483
1483
|
console.log("selectOption", b);
|
|
1484
1484
|
let w = a.value.findIndex((k) => k.id === b.id);
|
|
1485
1485
|
w !== -1 ? a.value.splice(w, 1) : a.value.push(b), console.log("selectOption selected", a.value), c.value = !1, i.value = a.value.map((k) => k.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
|
|
@@ -1565,12 +1565,12 @@ const Sc = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
|
|
|
1565
1565
|
style: { top: "11px" }
|
|
1566
1566
|
}, null, 2)
|
|
1567
1567
|
]),
|
|
1568
|
-
|
|
1568
|
+
A(t("div", Yr, [
|
|
1569
1569
|
t("div", Xr, [
|
|
1570
1570
|
Jr,
|
|
1571
1571
|
t("div", Qr, [
|
|
1572
1572
|
es,
|
|
1573
|
-
|
|
1573
|
+
A(t("input", {
|
|
1574
1574
|
type: "search",
|
|
1575
1575
|
"onUpdate:modelValue": w[1] || (w[1] = (k) => h.value = k),
|
|
1576
1576
|
ref: o.value,
|
|
@@ -1591,8 +1591,8 @@ const Sc = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
|
|
|
1591
1591
|
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
1592
1592
|
E + 1 == l.value || ce(k.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
1593
1593
|
]),
|
|
1594
|
-
onClick: (De) =>
|
|
1595
|
-
onMousedown: (De) =>
|
|
1594
|
+
onClick: (De) => j(k),
|
|
1595
|
+
onMousedown: (De) => j(k),
|
|
1596
1596
|
key: E,
|
|
1597
1597
|
id: `${E + 1}${m.value}`
|
|
1598
1598
|
}, f(k.name || k.id || "-"), 43, ss))), 128))
|
|
@@ -1702,12 +1702,12 @@ function os(e, r, s, n, o, a) {
|
|
|
1702
1702
|
key: 0,
|
|
1703
1703
|
class: p([s.icon, "text-base"])
|
|
1704
1704
|
}, null, 2)) : g("", !0),
|
|
1705
|
-
|
|
1705
|
+
M(e.$slots, "default")
|
|
1706
1706
|
]),
|
|
1707
1707
|
_: 3
|
|
1708
1708
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1709
1709
|
}
|
|
1710
|
-
const
|
|
1710
|
+
const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold ptext-lg dark:text-white" }, is = ["name", "id"], ds = ["id"], us = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), cs = ["for"], gs = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), fs = ["name", "id"], hs = ["required", "name", "id", "type"], ms = { class: "gl-span-form-error" }, bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, kc = {
|
|
1711
1711
|
__name: "GlTextareaTranslate",
|
|
1712
1712
|
props: {
|
|
1713
1713
|
is_required: {
|
|
@@ -1782,7 +1782,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
1782
1782
|
class: p(e.field_name)
|
|
1783
1783
|
}, [
|
|
1784
1784
|
t("h3", ls, f(e.label_name), 1),
|
|
1785
|
-
|
|
1785
|
+
A(t("input", {
|
|
1786
1786
|
type: "hidden",
|
|
1787
1787
|
"data-i18n": "true",
|
|
1788
1788
|
name: e.field_name + "_i18n",
|
|
@@ -1843,7 +1843,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
1843
1843
|
], 2))
|
|
1844
1844
|
], 64));
|
|
1845
1845
|
}
|
|
1846
|
-
}, ps = { class: "font-bold ptext-lg dark:text-white" }, ys = ["name", "id"], _s = ["id"], vs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), xs = ["for"], ws = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), ks = ["name", "id"], $s = ["name", "id", "type"], Cs = { class: "gl-span-form-error" }, Ss = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1846
|
+
}, ps = { class: "font-bold ptext-lg dark:text-white" }, ys = ["name", "id"], _s = ["id"], vs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), xs = ["for"], ws = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), ks = ["name", "id"], $s = ["name", "id", "type"], Cs = { class: "gl-span-form-error" }, Ss = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, $c = {
|
|
1847
1847
|
__name: "GlTinymceTranslate",
|
|
1848
1848
|
props: {
|
|
1849
1849
|
is_required: {
|
|
@@ -1922,7 +1922,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
1922
1922
|
class: p(e.field_name)
|
|
1923
1923
|
}, [
|
|
1924
1924
|
t("h3", ps, f(e.label_name), 1),
|
|
1925
|
-
|
|
1925
|
+
A(t("input", {
|
|
1926
1926
|
type: "hidden",
|
|
1927
1927
|
"data-i18n": "true",
|
|
1928
1928
|
name: e.field_name + "_i18n",
|
|
@@ -1982,7 +1982,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
1982
1982
|
], 2))
|
|
1983
1983
|
], 64));
|
|
1984
1984
|
}
|
|
1985
|
-
}, Ds = { class: "font-bold ptext-lg dark:text-white" }, Os = ["name", "id"], Ps = ["id"],
|
|
1985
|
+
}, Ds = { class: "font-bold ptext-lg dark:text-white" }, Os = ["name", "id"], Ps = ["id"], As = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), js = ["for"], Es = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ts = ["name", "id"], Ls = ["required", "name", "id", "type"], Ms = { class: "gl-span-form-error" }, Is = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Cc = {
|
|
1986
1986
|
__name: "GlTextTranslate",
|
|
1987
1987
|
props: {
|
|
1988
1988
|
is_required: {
|
|
@@ -2057,7 +2057,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
2057
2057
|
class: p(e.field_name)
|
|
2058
2058
|
}, [
|
|
2059
2059
|
t("h3", Ds, f(e.label_name), 1),
|
|
2060
|
-
|
|
2060
|
+
A(t("input", {
|
|
2061
2061
|
type: "hidden",
|
|
2062
2062
|
"data-i18n": "true",
|
|
2063
2063
|
name: e.field_name + "_i18n",
|
|
@@ -2071,7 +2071,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
2071
2071
|
id: e.field_name,
|
|
2072
2072
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2073
2073
|
}, f(e.model_value), 9, Ps),
|
|
2074
|
-
|
|
2074
|
+
As
|
|
2075
2075
|
], 2)) : g("", !0),
|
|
2076
2076
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2077
2077
|
key: 1,
|
|
@@ -2084,7 +2084,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
2084
2084
|
required: e.is_required
|
|
2085
2085
|
}),
|
|
2086
2086
|
for: e.field_name
|
|
2087
|
-
}, f(e.label_name), 11,
|
|
2087
|
+
}, f(e.label_name), 11, js),
|
|
2088
2088
|
Es,
|
|
2089
2089
|
t("input", {
|
|
2090
2090
|
class: "mb-4",
|
|
@@ -2115,7 +2115,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
2115
2115
|
], 2))
|
|
2116
2116
|
], 64));
|
|
2117
2117
|
}
|
|
2118
|
-
}, Ns = { class: "font-bold ptext-lg dark:text-white" }, Vs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Bs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Gs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], Fs = { class: "gl-span-form-error" }, Rs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2118
|
+
}, Ns = { class: "font-bold ptext-lg dark:text-white" }, Vs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Bs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Gs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], Fs = { class: "gl-span-form-error" }, Rs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Sc = {
|
|
2119
2119
|
__name: "GlTextInput",
|
|
2120
2120
|
props: {
|
|
2121
2121
|
is_required: {
|
|
@@ -2165,7 +2165,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
2165
2165
|
q(() => {
|
|
2166
2166
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
|
|
2167
2167
|
});
|
|
2168
|
-
const i =
|
|
2168
|
+
const i = L({
|
|
2169
2169
|
get() {
|
|
2170
2170
|
return n.modelValue;
|
|
2171
2171
|
},
|
|
@@ -2194,7 +2194,7 @@ const Pc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
|
|
|
2194
2194
|
}),
|
|
2195
2195
|
for: e.field_name
|
|
2196
2196
|
}, f(e.label_name), 11, Gs),
|
|
2197
|
-
|
|
2197
|
+
A(t("input", {
|
|
2198
2198
|
required: e.is_required,
|
|
2199
2199
|
name: e.field_name,
|
|
2200
2200
|
id: e.field_name,
|
|
@@ -2250,13 +2250,13 @@ function Js(e, r, s, n, o, a) {
|
|
|
2250
2250
|
t("div", Ws, [
|
|
2251
2251
|
t("div", Ys, [
|
|
2252
2252
|
t("div", Xs, [
|
|
2253
|
-
|
|
2253
|
+
M(e.$slots, "default")
|
|
2254
2254
|
])
|
|
2255
2255
|
])
|
|
2256
2256
|
])
|
|
2257
2257
|
], 64);
|
|
2258
2258
|
}
|
|
2259
|
-
const
|
|
2259
|
+
const Dc = /* @__PURE__ */ O(qs, [["render", Js]]), Qs = {
|
|
2260
2260
|
props: ["title"],
|
|
2261
2261
|
setup() {
|
|
2262
2262
|
return {
|
|
@@ -2269,10 +2269,10 @@ const Lc = /* @__PURE__ */ O(qs, [["render", Js]]), Qs = {
|
|
|
2269
2269
|
};
|
|
2270
2270
|
function ta(e, r, s, n, o, a) {
|
|
2271
2271
|
return s.title == n.selectedTitle ? (d(), u("div", ea, [
|
|
2272
|
-
|
|
2272
|
+
M(e.$slots, "default")
|
|
2273
2273
|
])) : g("", !0);
|
|
2274
2274
|
}
|
|
2275
|
-
const
|
|
2275
|
+
const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
2276
2276
|
props: {
|
|
2277
2277
|
elements_to_show_prop: {
|
|
2278
2278
|
type: Number,
|
|
@@ -2371,7 +2371,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2371
2371
|
this.direction_property == "rtl" ? r.style.marginRight = -this.dotsNavigation[e - 1] + "px" : r.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
|
|
2372
2372
|
}
|
|
2373
2373
|
}
|
|
2374
|
-
},
|
|
2374
|
+
}, T = (e) => (nt("data-v-a94f16a9"), e = e(), ot(), e), sa = ["id"], aa = {
|
|
2375
2375
|
key: 0,
|
|
2376
2376
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2377
2377
|
}, na = { class: "w-full" }, oa = {
|
|
@@ -2382,7 +2382,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2382
2382
|
viewBox: "0 0 24 24",
|
|
2383
2383
|
stroke: "currentColor",
|
|
2384
2384
|
"stroke-width": "2"
|
|
2385
|
-
}, la = /* @__PURE__ */
|
|
2385
|
+
}, la = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2386
2386
|
"stroke-linecap": "round",
|
|
2387
2387
|
"stroke-linejoin": "round",
|
|
2388
2388
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2396,7 +2396,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2396
2396
|
viewBox: "0 0 24 24",
|
|
2397
2397
|
stroke: "currentColor",
|
|
2398
2398
|
"stroke-width": "2"
|
|
2399
|
-
}, ua = /* @__PURE__ */
|
|
2399
|
+
}, ua = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2400
2400
|
"stroke-linecap": "round",
|
|
2401
2401
|
"stroke-linejoin": "round",
|
|
2402
2402
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2410,7 +2410,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2410
2410
|
viewBox: "0 0 24 24",
|
|
2411
2411
|
stroke: "currentColor",
|
|
2412
2412
|
"stroke-width": "2"
|
|
2413
|
-
}, ba = /* @__PURE__ */
|
|
2413
|
+
}, ba = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2414
2414
|
"stroke-linecap": "round",
|
|
2415
2415
|
"stroke-linejoin": "round",
|
|
2416
2416
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2424,7 +2424,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2424
2424
|
viewBox: "0 0 24 24",
|
|
2425
2425
|
stroke: "currentColor",
|
|
2426
2426
|
"stroke-width": "2"
|
|
2427
|
-
}, _a = /* @__PURE__ */
|
|
2427
|
+
}, _a = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2428
2428
|
"stroke-linecap": "round",
|
|
2429
2429
|
"stroke-linejoin": "round",
|
|
2430
2430
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2438,7 +2438,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2438
2438
|
viewBox: "0 0 24 24",
|
|
2439
2439
|
stroke: "currentColor",
|
|
2440
2440
|
"stroke-width": "2"
|
|
2441
|
-
}, ka = /* @__PURE__ */
|
|
2441
|
+
}, ka = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2442
2442
|
"stroke-linecap": "round",
|
|
2443
2443
|
"stroke-linejoin": "round",
|
|
2444
2444
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2452,18 +2452,18 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2452
2452
|
viewBox: "0 0 24 24",
|
|
2453
2453
|
stroke: "currentColor",
|
|
2454
2454
|
"stroke-width": "2"
|
|
2455
|
-
}, Sa = /* @__PURE__ */
|
|
2455
|
+
}, Sa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2456
2456
|
"stroke-linecap": "round",
|
|
2457
2457
|
"stroke-linejoin": "round",
|
|
2458
2458
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2459
2459
|
}, null, -1)), Da = [
|
|
2460
2460
|
Sa
|
|
2461
|
-
], Oa = ["onClick"], Pa = /* @__PURE__ */
|
|
2461
|
+
], Oa = ["onClick"], Pa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("span", null, null, -1)), Aa = [
|
|
2462
2462
|
Pa
|
|
2463
|
-
],
|
|
2463
|
+
], ja = {
|
|
2464
2464
|
key: 1,
|
|
2465
2465
|
class: "flex justify-between pl-5 pr-5"
|
|
2466
|
-
}, Ea = ["onClick"], Ta = /* @__PURE__ */
|
|
2466
|
+
}, Ea = ["onClick"], Ta = /* @__PURE__ */ T(() => /* @__PURE__ */ t("span", null, null, -1)), La = [
|
|
2467
2467
|
Ta
|
|
2468
2468
|
], Ma = {
|
|
2469
2469
|
key: 0,
|
|
@@ -2476,7 +2476,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2476
2476
|
viewBox: "0 0 24 24",
|
|
2477
2477
|
stroke: "currentColor",
|
|
2478
2478
|
"stroke-width": "2"
|
|
2479
|
-
}, Ba = /* @__PURE__ */
|
|
2479
|
+
}, Ba = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2480
2480
|
"stroke-linecap": "round",
|
|
2481
2481
|
"stroke-linejoin": "round",
|
|
2482
2482
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2490,7 +2490,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2490
2490
|
viewBox: "0 0 24 24",
|
|
2491
2491
|
stroke: "currentColor",
|
|
2492
2492
|
"stroke-width": "2"
|
|
2493
|
-
}, Fa = /* @__PURE__ */
|
|
2493
|
+
}, Fa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2494
2494
|
"stroke-linecap": "round",
|
|
2495
2495
|
"stroke-linejoin": "round",
|
|
2496
2496
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2504,7 +2504,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2504
2504
|
viewBox: "0 0 24 24",
|
|
2505
2505
|
stroke: "currentColor",
|
|
2506
2506
|
"stroke-width": "2"
|
|
2507
|
-
}, Za = /* @__PURE__ */
|
|
2507
|
+
}, Za = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2508
2508
|
"stroke-linecap": "round",
|
|
2509
2509
|
"stroke-linejoin": "round",
|
|
2510
2510
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2518,7 +2518,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2518
2518
|
viewBox: "0 0 24 24",
|
|
2519
2519
|
stroke: "currentColor",
|
|
2520
2520
|
"stroke-width": "2"
|
|
2521
|
-
}, Ya = /* @__PURE__ */
|
|
2521
|
+
}, Ya = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2522
2522
|
"stroke-linecap": "round",
|
|
2523
2523
|
"stroke-linejoin": "round",
|
|
2524
2524
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2535,7 +2535,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2535
2535
|
viewBox: "0 0 24 24",
|
|
2536
2536
|
stroke: "currentColor",
|
|
2537
2537
|
"stroke-width": "2"
|
|
2538
|
-
}, tn = /* @__PURE__ */
|
|
2538
|
+
}, tn = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2539
2539
|
"stroke-linecap": "round",
|
|
2540
2540
|
"stroke-linejoin": "round",
|
|
2541
2541
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2549,7 +2549,7 @@ const Mc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
|
2549
2549
|
viewBox: "0 0 24 24",
|
|
2550
2550
|
stroke: "currentColor",
|
|
2551
2551
|
"stroke-width": "2"
|
|
2552
|
-
}, an = /* @__PURE__ */
|
|
2552
|
+
}, an = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
|
|
2553
2553
|
"stroke-linecap": "round",
|
|
2554
2554
|
"stroke-linejoin": "round",
|
|
2555
2555
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2595,7 +2595,7 @@ function on(e, r, s, n, o, a) {
|
|
|
2595
2595
|
])
|
|
2596
2596
|
])
|
|
2597
2597
|
], 2)) : g("", !0),
|
|
2598
|
-
|
|
2598
|
+
M(e.$slots, "default", {}, void 0, !0),
|
|
2599
2599
|
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
|
|
2600
2600
|
key: 1,
|
|
2601
2601
|
class: p(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", s.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
@@ -2620,9 +2620,9 @@ function on(e, r, s, n, o, a) {
|
|
|
2620
2620
|
class: p(["gl-dot", { active: e.currentDot == i }]),
|
|
2621
2621
|
key: i,
|
|
2622
2622
|
onClick: (l) => a.setDot(i)
|
|
2623
|
-
},
|
|
2623
|
+
}, Aa, 10, Oa))), 128))
|
|
2624
2624
|
], 2)) : g("", !0),
|
|
2625
|
-
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div",
|
|
2625
|
+
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", ja, [
|
|
2626
2626
|
t("div", {
|
|
2627
2627
|
class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2628
2628
|
}, [
|
|
@@ -2673,7 +2673,7 @@ function on(e, r, s, n, o, a) {
|
|
|
2673
2673
|
], 10, sa)
|
|
2674
2674
|
]);
|
|
2675
2675
|
}
|
|
2676
|
-
const
|
|
2676
|
+
const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9"]]), ln = {
|
|
2677
2677
|
class: "fixed left-0 top-13 z-[1055] h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80",
|
|
2678
2678
|
tabindex: "-1",
|
|
2679
2679
|
"aria-hidden": "true"
|
|
@@ -2693,7 +2693,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2693
2693
|
])
|
|
2694
2694
|
], -1), fn = [
|
|
2695
2695
|
gn
|
|
2696
|
-
], hn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" },
|
|
2696
|
+
], hn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Ac = {
|
|
2697
2697
|
__name: "GlModal",
|
|
2698
2698
|
props: {
|
|
2699
2699
|
is_open: {
|
|
@@ -2728,7 +2728,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2728
2728
|
l ? o() : a();
|
|
2729
2729
|
},
|
|
2730
2730
|
{ immediate: !0, deep: !0 }
|
|
2731
|
-
), (l, c) =>
|
|
2731
|
+
), (l, c) => A((d(), u("div", ln, [
|
|
2732
2732
|
t("div", {
|
|
2733
2733
|
class: p(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:h-[calc(100%-3.5rem)]", e.max_width])
|
|
2734
2734
|
}, [
|
|
@@ -2745,10 +2745,10 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2745
2745
|
t("div", {
|
|
2746
2746
|
class: p(["relative overflow-y-auto", e.bodyClass])
|
|
2747
2747
|
}, [
|
|
2748
|
-
|
|
2748
|
+
M(l.$slots, "body")
|
|
2749
2749
|
], 2),
|
|
2750
2750
|
t("div", hn, [
|
|
2751
|
-
|
|
2751
|
+
M(l.$slots, "buttons"),
|
|
2752
2752
|
t("button", {
|
|
2753
2753
|
onClick: i,
|
|
2754
2754
|
type: "button",
|
|
@@ -2764,7 +2764,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2764
2764
|
}, mn = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, bn = { class: "relative inline-flex items-center cursor-pointer" }, pn = ["name", "id", "checked"], yn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), _n = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), vn = {
|
|
2765
2765
|
key: 0,
|
|
2766
2766
|
class: "flex justify-between items-center"
|
|
2767
|
-
}, xn = { class: "gl-label-form" }, wn = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, kn = { class: "relative inline-flex items-center cursor-pointer" }, $n = ["name", "id"], Cn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Sn = { class: "gl-span-form-error" }, Dn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2767
|
+
}, xn = { class: "gl-label-form" }, wn = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, kn = { class: "relative inline-flex items-center cursor-pointer" }, $n = ["name", "id"], Cn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Sn = { class: "gl-span-form-error" }, Dn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, jc = {
|
|
2768
2768
|
__name: "GlToggleBox",
|
|
2769
2769
|
props: {
|
|
2770
2770
|
is_required: {
|
|
@@ -2810,7 +2810,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2810
2810
|
},
|
|
2811
2811
|
emits: ["update:modelValue"],
|
|
2812
2812
|
setup(e, { emit: r }) {
|
|
2813
|
-
const s = e, n = r, o = C(null), a =
|
|
2813
|
+
const s = e, n = r, o = C(null), a = L({
|
|
2814
2814
|
get() {
|
|
2815
2815
|
return s.modelValue;
|
|
2816
2816
|
},
|
|
@@ -2855,7 +2855,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2855
2855
|
t("li", wn, [
|
|
2856
2856
|
$(f(e.label_name) + " ", 1),
|
|
2857
2857
|
t("label", kn, [
|
|
2858
|
-
|
|
2858
|
+
A(t("input", {
|
|
2859
2859
|
type: "checkbox",
|
|
2860
2860
|
class: "sr-only peer",
|
|
2861
2861
|
name: e.field_name,
|
|
@@ -2876,7 +2876,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2876
2876
|
], 2))
|
|
2877
2877
|
], 64));
|
|
2878
2878
|
}
|
|
2879
|
-
}, On = { class: "font-bold ptext-lg dark:text-white" }, Pn = { class: "mt-3 mb-4" },
|
|
2879
|
+
}, On = { class: "font-bold ptext-lg dark:text-white" }, Pn = { class: "mt-3 mb-4" }, An = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, jn = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), En = ["name", "id", "value"], Tn = {
|
|
2880
2880
|
key: 0,
|
|
2881
2881
|
class: "dropdown"
|
|
2882
2882
|
}, Ln = { class: "focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Mn = { class: "relative showOptions" }, In = ["value", "placeholder"], Nn = { class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]" }, Vn = { class: "p-1" }, Bn = /* @__PURE__ */ t("label", {
|
|
@@ -2913,7 +2913,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2913
2913
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2914
2914
|
}, null, -1), Kn = [
|
|
2915
2915
|
Zn
|
|
2916
|
-
], Wn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Yn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2916
|
+
], Wn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Yn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ec = {
|
|
2917
2917
|
__name: "GlDropdown",
|
|
2918
2918
|
props: {
|
|
2919
2919
|
modelValue: {
|
|
@@ -2981,11 +2981,11 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
2981
2981
|
y.key === "Enter" && y.target.form && y.preventDefault();
|
|
2982
2982
|
}));
|
|
2983
2983
|
});
|
|
2984
|
-
const m =
|
|
2984
|
+
const m = L(() => fe()), _ = L(() => he()), x = L(() => {
|
|
2985
2985
|
const y = [], P = new RegExp(c.value, "ig");
|
|
2986
|
-
for (const
|
|
2987
|
-
const U = String(
|
|
2988
|
-
(c.value.length < 1 || U.match(P)) && y.length < s.maxItem && y.push(
|
|
2986
|
+
for (const j of m.value) {
|
|
2987
|
+
const U = String(j.name);
|
|
2988
|
+
(c.value.length < 1 || U.match(P)) && y.length < s.maxItem && y.push(j);
|
|
2989
2989
|
}
|
|
2990
2990
|
return y;
|
|
2991
2991
|
});
|
|
@@ -3006,9 +3006,9 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3006
3006
|
let y = (/* @__PURE__ */ new Date()).getTime();
|
|
3007
3007
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
3008
3008
|
/[xy]/g,
|
|
3009
|
-
function(
|
|
3009
|
+
function(j) {
|
|
3010
3010
|
const U = (y + Math.random() * 16) % 16 | 0;
|
|
3011
|
-
return y = Math.floor(y / 16), (
|
|
3011
|
+
return y = Math.floor(y / 16), (j === "x" ? U : U & 3 | 8).toString(16);
|
|
3012
3012
|
}
|
|
3013
3013
|
);
|
|
3014
3014
|
}
|
|
@@ -3019,12 +3019,12 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3019
3019
|
y.target.id != s.field_name + "search" + h.value && y.target.id != s.field_name && !y.target.classList.contains("showOptions") && (oe(), i.value = 0);
|
|
3020
3020
|
}
|
|
3021
3021
|
function re(y) {
|
|
3022
|
-
const P = `${y}${h.value}`,
|
|
3023
|
-
|
|
3022
|
+
const P = `${y}${h.value}`, j = document.getElementById(P);
|
|
3023
|
+
j && j.scrollIntoView();
|
|
3024
3024
|
}
|
|
3025
3025
|
function ce(y) {
|
|
3026
|
-
const P = `${y}${h.value}`,
|
|
3027
|
-
|
|
3026
|
+
const P = `${y}${h.value}`, j = document.getElementById(P);
|
|
3027
|
+
j && j.click();
|
|
3028
3028
|
}
|
|
3029
3029
|
function ge(y) {
|
|
3030
3030
|
y === "ArrowDown" && i.value < x.value.length && (i.value++, re(i.value)), y === "ArrowUp" && i.value > 1 && (i.value--, re(i.value)), y === "Enter" && ce(i.value);
|
|
@@ -3068,7 +3068,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3068
3068
|
}), H(a, (y) => {
|
|
3069
3069
|
ee(y) && n("update:modelValue", y.id);
|
|
3070
3070
|
}), (y, P) => {
|
|
3071
|
-
var
|
|
3071
|
+
var j, U, se;
|
|
3072
3072
|
return d(), u(v, null, [
|
|
3073
3073
|
e.show ? (d(), u("div", {
|
|
3074
3074
|
key: 0,
|
|
@@ -3076,9 +3076,9 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3076
3076
|
}, [
|
|
3077
3077
|
t("h3", On, f(e.label_name), 1),
|
|
3078
3078
|
t("p", Pn, [
|
|
3079
|
-
t("span",
|
|
3079
|
+
t("span", An, f((j = _.value) == null ? void 0 : j.name), 1)
|
|
3080
3080
|
]),
|
|
3081
|
-
|
|
3081
|
+
jn
|
|
3082
3082
|
], 2)) : g("", !0),
|
|
3083
3083
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3084
3084
|
key: 1,
|
|
@@ -3113,7 +3113,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3113
3113
|
autocomplete: "off",
|
|
3114
3114
|
readonly: ""
|
|
3115
3115
|
}, null, 10, In),
|
|
3116
|
-
|
|
3116
|
+
A(t("i", {
|
|
3117
3117
|
onClick: P[1] || (P[1] = F((b) => me(), ["stop"])),
|
|
3118
3118
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3119
3119
|
style: { top: "13px" }
|
|
@@ -3126,12 +3126,12 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3126
3126
|
style: { top: "11px" }
|
|
3127
3127
|
}, null, 2)
|
|
3128
3128
|
]),
|
|
3129
|
-
|
|
3129
|
+
A(t("div", Nn, [
|
|
3130
3130
|
t("div", Vn, [
|
|
3131
3131
|
Bn,
|
|
3132
3132
|
t("div", Gn, [
|
|
3133
3133
|
Un,
|
|
3134
|
-
|
|
3134
|
+
A(t("input", {
|
|
3135
3135
|
type: "search",
|
|
3136
3136
|
"onUpdate:modelValue": P[3] || (P[3] = (b) => c.value = b),
|
|
3137
3137
|
ref: o.value,
|
|
@@ -3174,7 +3174,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3174
3174
|
], 64);
|
|
3175
3175
|
};
|
|
3176
3176
|
}
|
|
3177
|
-
}, Xn = { class: "font-bold ptext-lg dark:text-white" }, Jn = ["id"], Qn = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), eo = ["for"], to = ["required", "name", "id", "type", "placeholder"], ro = { class: "gl-span-form-error" }, so = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3177
|
+
}, Xn = { class: "font-bold ptext-lg dark:text-white" }, Jn = ["id"], Qn = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), eo = ["for"], to = ["required", "name", "id", "type", "placeholder"], ro = { class: "gl-span-form-error" }, so = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Tc = {
|
|
3178
3178
|
__name: "GlTextarea",
|
|
3179
3179
|
props: {
|
|
3180
3180
|
is_required: {
|
|
@@ -3224,7 +3224,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3224
3224
|
q(() => {
|
|
3225
3225
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
|
|
3226
3226
|
});
|
|
3227
|
-
const i =
|
|
3227
|
+
const i = L({
|
|
3228
3228
|
get() {
|
|
3229
3229
|
return n.modelValue;
|
|
3230
3230
|
},
|
|
@@ -3256,7 +3256,7 @@ const Ic = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
|
|
|
3256
3256
|
}),
|
|
3257
3257
|
for: e.field_name
|
|
3258
3258
|
}, f(e.label_name), 11, eo),
|
|
3259
|
-
|
|
3259
|
+
A(t("textarea", {
|
|
3260
3260
|
required: e.is_required,
|
|
3261
3261
|
name: e.field_name,
|
|
3262
3262
|
id: e.field_name,
|
|
@@ -3493,7 +3493,7 @@ function _o(e, r, s, n, o, a) {
|
|
|
3493
3493
|
"aria-label": "Previous",
|
|
3494
3494
|
tabindex: !l.computed.prevPageUrl && -1
|
|
3495
3495
|
}, be(l.prevButtonEvents, !0)), [
|
|
3496
|
-
|
|
3496
|
+
M(e.$slots, "prev-nav", {}, () => [
|
|
3497
3497
|
fo,
|
|
3498
3498
|
ho
|
|
3499
3499
|
])
|
|
@@ -3521,7 +3521,7 @@ function _o(e, r, s, n, o, a) {
|
|
|
3521
3521
|
"aria-label": "Next",
|
|
3522
3522
|
tabindex: !l.computed.nextPageUrl && -1
|
|
3523
3523
|
}, be(l.nextButtonEvents, !0)), [
|
|
3524
|
-
|
|
3524
|
+
M(e.$slots, "next-nav", {}, () => [
|
|
3525
3525
|
po,
|
|
3526
3526
|
yo
|
|
3527
3527
|
])
|
|
@@ -3630,7 +3630,7 @@ const et = /* @__PURE__ */ O(no, [["render", _o]]), vo = {
|
|
|
3630
3630
|
"clip-rule": "evenodd"
|
|
3631
3631
|
})
|
|
3632
3632
|
])
|
|
3633
|
-
], -1),
|
|
3633
|
+
], -1), Ao = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, jo = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, Eo = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, To = ["onClick"], Lo = {
|
|
3634
3634
|
key: 0,
|
|
3635
3635
|
class: "ml-2"
|
|
3636
3636
|
}, Mo = {
|
|
@@ -3707,7 +3707,7 @@ function qo(e, r, s, n, o, a) {
|
|
|
3707
3707
|
Do,
|
|
3708
3708
|
t("div", Oo, [
|
|
3709
3709
|
Po,
|
|
3710
|
-
|
|
3710
|
+
A(t("input", {
|
|
3711
3711
|
type: "text",
|
|
3712
3712
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => o.search = c),
|
|
3713
3713
|
onInput: r[2] || (r[2] = (c) => a.handleSearch()),
|
|
@@ -3718,8 +3718,8 @@ function qo(e, r, s, n, o, a) {
|
|
|
3718
3718
|
])
|
|
3719
3719
|
])
|
|
3720
3720
|
]),
|
|
3721
|
-
t("div",
|
|
3722
|
-
t("table",
|
|
3721
|
+
t("div", Ao, [
|
|
3722
|
+
t("table", jo, [
|
|
3723
3723
|
t("thead", Eo, [
|
|
3724
3724
|
t("tr", null, [
|
|
3725
3725
|
(d(!0), u(v, null, S(s.columns, (c, h) => (d(), u("th", {
|
|
@@ -3779,7 +3779,7 @@ function qo(e, r, s, n, o, a) {
|
|
|
3779
3779
|
])
|
|
3780
3780
|
]);
|
|
3781
3781
|
}
|
|
3782
|
-
const
|
|
3782
|
+
const Lc = /* @__PURE__ */ O(vo, [["render", qo]]), Ho = {
|
|
3783
3783
|
components: { TailwindPagination: et },
|
|
3784
3784
|
props: {
|
|
3785
3785
|
data: Array,
|
|
@@ -3965,7 +3965,7 @@ function pl(e, r, s, n, o, a) {
|
|
|
3965
3965
|
Jo,
|
|
3966
3966
|
t("div", Qo, [
|
|
3967
3967
|
el,
|
|
3968
|
-
|
|
3968
|
+
A(t("input", {
|
|
3969
3969
|
type: "text",
|
|
3970
3970
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => o.search = c),
|
|
3971
3971
|
onInput: r[2] || (r[2] = (c) => a.handleSearch()),
|
|
@@ -4045,7 +4045,7 @@ function pl(e, r, s, n, o, a) {
|
|
|
4045
4045
|
])
|
|
4046
4046
|
]);
|
|
4047
4047
|
}
|
|
4048
|
-
const
|
|
4048
|
+
const Mc = /* @__PURE__ */ O(Ho, [["render", pl]]), yl = {
|
|
4049
4049
|
components: {},
|
|
4050
4050
|
props: {
|
|
4051
4051
|
data: Array,
|
|
@@ -4142,7 +4142,7 @@ const Fc = /* @__PURE__ */ O(Ho, [["render", pl]]), yl = {
|
|
|
4142
4142
|
"clip-rule": "evenodd"
|
|
4143
4143
|
})
|
|
4144
4144
|
])
|
|
4145
|
-
], -1), Ol = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Pl = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" },
|
|
4145
|
+
], -1), Ol = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Pl = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, Al = { class: "hidden text-sm font-normal text-center text-gray-700 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, jl = ["onClick"], El = {
|
|
4146
4146
|
key: 0,
|
|
4147
4147
|
class: "ml-2"
|
|
4148
4148
|
}, Tl = {
|
|
@@ -4214,7 +4214,7 @@ function ai(e, r, s, n, o, a) {
|
|
|
4214
4214
|
Cl,
|
|
4215
4215
|
t("div", Sl, [
|
|
4216
4216
|
Dl,
|
|
4217
|
-
|
|
4217
|
+
A(t("input", {
|
|
4218
4218
|
type: "text",
|
|
4219
4219
|
"onUpdate:modelValue": r[1] || (r[1] = (l) => o.search = l),
|
|
4220
4220
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
@@ -4226,7 +4226,7 @@ function ai(e, r, s, n, o, a) {
|
|
|
4226
4226
|
]),
|
|
4227
4227
|
t("div", Ol, [
|
|
4228
4228
|
t("table", Pl, [
|
|
4229
|
-
t("thead",
|
|
4229
|
+
t("thead", Al, [
|
|
4230
4230
|
t("tr", null, [
|
|
4231
4231
|
(d(!0), u(v, null, S(s.columns, (l, c) => (d(), u("th", {
|
|
4232
4232
|
key: c,
|
|
@@ -4237,7 +4237,7 @@ function ai(e, r, s, n, o, a) {
|
|
|
4237
4237
|
o.sortKey === l ? (d(), u("span", El, [
|
|
4238
4238
|
o.sortOrder === "asc" ? (d(), u("i", Tl)) : (d(), u("i", Ll))
|
|
4239
4239
|
])) : g("", !0)
|
|
4240
|
-
], 8,
|
|
4240
|
+
], 8, jl))), 128))
|
|
4241
4241
|
])
|
|
4242
4242
|
]),
|
|
4243
4243
|
t("tbody", null, [
|
|
@@ -4331,10 +4331,15 @@ function ai(e, r, s, n, o, a) {
|
|
|
4331
4331
|
])) : g("", !0)
|
|
4332
4332
|
]);
|
|
4333
4333
|
}
|
|
4334
|
-
const
|
|
4334
|
+
const Ic = /* @__PURE__ */ O(yl, [["render", ai]]), ni = {
|
|
4335
4335
|
setup(e, { slots: r }) {
|
|
4336
|
-
const s = C(r.default().map((o) => o.props)), n = C(s.value[0].title);
|
|
4337
|
-
return Me("selectedTitle", n),
|
|
4336
|
+
const s = C(r.default().map((o) => o.props)), n = C(s.value.length > 0 ? s.value[0].title : "");
|
|
4337
|
+
return Me("selectedTitle", n), watch(
|
|
4338
|
+
() => r.default(),
|
|
4339
|
+
(o) => {
|
|
4340
|
+
s.value = o.map((a) => a.props), s.value.some((a) => a.title === n.value) || (n.value = s.value.length > 0 ? s.value[0].title : "");
|
|
4341
|
+
}
|
|
4342
|
+
), {
|
|
4338
4343
|
tabs: s,
|
|
4339
4344
|
selectedTitle: n
|
|
4340
4345
|
};
|
|
@@ -4369,85 +4374,53 @@ const Rc = /* @__PURE__ */ O(yl, [["render", ai]]), ni = {
|
|
|
4369
4374
|
d: "M9 5 5 1 1 5"
|
|
4370
4375
|
}, null, -1), fi = [
|
|
4371
4376
|
gi
|
|
4372
|
-
], hi = { key: 0 }
|
|
4373
|
-
function
|
|
4374
|
-
return d(), u(
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
t("
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
]),
|
|
4396
|
-
t("div", mi, [
|
|
4397
|
-
t("div", bi, [
|
|
4398
|
-
t("ul", pi, [
|
|
4399
|
-
(d(!0), u(v, null, S(n.tabs, (i) => (d(), u("li", {
|
|
4400
|
-
key: i.title,
|
|
4401
|
-
onClick: (l) => n.selectedTitle = i.title,
|
|
4402
|
-
class: "flex-auto -mb-px text-center"
|
|
4403
|
-
}, [
|
|
4404
|
-
t("a", {
|
|
4405
|
-
class: p([{
|
|
4406
|
-
"text-slate-600 bg-white dark:bg-meta-4": n.selectedTitle != i.title,
|
|
4407
|
-
"text-white bg-slate-600 dark:bg-primary": n.selectedTitle === i.title
|
|
4408
|
-
}, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
|
|
4409
|
-
}, [
|
|
4410
|
-
t("i", {
|
|
4411
|
-
class: p([i.icon, "mr-1 text-base"])
|
|
4412
|
-
}, null, 2),
|
|
4413
|
-
$(" " + f(i.title), 1)
|
|
4414
|
-
], 2)
|
|
4415
|
-
], 8, yi))), 128))
|
|
4416
|
-
])
|
|
4417
|
-
])
|
|
4418
|
-
]),
|
|
4419
|
-
t("div", _i, [
|
|
4420
|
-
t("div", vi, [
|
|
4421
|
-
t("div", xi, [
|
|
4422
|
-
T(e.$slots, "default")
|
|
4423
|
-
])
|
|
4424
|
-
])
|
|
4425
|
-
])
|
|
4426
|
-
], 64);
|
|
4377
|
+
], hi = { key: 0 };
|
|
4378
|
+
function mi(e, r, s, n, o, a) {
|
|
4379
|
+
return d(), u("div", null, [
|
|
4380
|
+
(d(!0), u(v, null, S(n.tabs, (i) => (d(), u("div", {
|
|
4381
|
+
key: i.title
|
|
4382
|
+
}, [
|
|
4383
|
+
t("h2", null, [
|
|
4384
|
+
t("button", {
|
|
4385
|
+
onClick: (l) => n.selectedTitle = i.title,
|
|
4386
|
+
type: "button",
|
|
4387
|
+
class: "flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",
|
|
4388
|
+
"aria-expanded": "true"
|
|
4389
|
+
}, [
|
|
4390
|
+
t("span", li, f(i.title), 1),
|
|
4391
|
+
n.selectedTitle != i.title ? (d(), u("svg", ii, ui)) : g("", !0),
|
|
4392
|
+
n.selectedTitle === i.title ? (d(), u("svg", ci, fi)) : g("", !0)
|
|
4393
|
+
], 8, oi)
|
|
4394
|
+
]),
|
|
4395
|
+
n.selectedTitle === i.title ? (d(), u("div", hi, [
|
|
4396
|
+
M(e.$slots, "default")
|
|
4397
|
+
])) : g("", !0)
|
|
4398
|
+
]))), 128))
|
|
4399
|
+
]);
|
|
4427
4400
|
}
|
|
4428
|
-
const
|
|
4401
|
+
const Nc = /* @__PURE__ */ O(ni, [["render", mi]]), bi = {
|
|
4429
4402
|
props: ["title"],
|
|
4430
4403
|
setup() {
|
|
4431
4404
|
return {
|
|
4432
4405
|
selectedTitle: xe("selectedTitle")
|
|
4433
4406
|
};
|
|
4434
4407
|
}
|
|
4435
|
-
},
|
|
4408
|
+
}, pi = {
|
|
4436
4409
|
key: 0,
|
|
4437
4410
|
class: "p-5 border border-b-0 border-gray-200 dark:border-gray-700 dark:bg-gray-900"
|
|
4438
4411
|
};
|
|
4439
|
-
function
|
|
4440
|
-
return s.title == n.selectedTitle ? (d(), u("div",
|
|
4441
|
-
|
|
4412
|
+
function yi(e, r, s, n, o, a) {
|
|
4413
|
+
return s.title == n.selectedTitle ? (d(), u("div", pi, [
|
|
4414
|
+
M(e.$slots, "default")
|
|
4442
4415
|
])) : g("", !0);
|
|
4443
4416
|
}
|
|
4444
|
-
const
|
|
4417
|
+
const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
|
|
4445
4418
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4446
4419
|
role: "alert"
|
|
4447
|
-
},
|
|
4420
|
+
}, vi = {
|
|
4448
4421
|
key: 0,
|
|
4449
4422
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"
|
|
4450
|
-
},
|
|
4423
|
+
}, xi = /* @__PURE__ */ t("svg", {
|
|
4451
4424
|
class: "w-5 h-5",
|
|
4452
4425
|
"aria-hidden": "true",
|
|
4453
4426
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4455,13 +4428,13 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4455
4428
|
viewBox: "0 0 20 20"
|
|
4456
4429
|
}, [
|
|
4457
4430
|
/* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z" })
|
|
4458
|
-
], -1),
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
],
|
|
4431
|
+
], -1), wi = /* @__PURE__ */ t("span", { class: "sr-only" }, "Check icon", -1), ki = [
|
|
4432
|
+
xi,
|
|
4433
|
+
wi
|
|
4434
|
+
], $i = {
|
|
4462
4435
|
key: 1,
|
|
4463
4436
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"
|
|
4464
|
-
},
|
|
4437
|
+
}, Ci = /* @__PURE__ */ t("svg", {
|
|
4465
4438
|
class: "w-5 h-5",
|
|
4466
4439
|
"aria-hidden": "true",
|
|
4467
4440
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4469,13 +4442,13 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4469
4442
|
viewBox: "0 0 20 20"
|
|
4470
4443
|
}, [
|
|
4471
4444
|
/* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z" })
|
|
4472
|
-
], -1),
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
],
|
|
4445
|
+
], -1), Si = /* @__PURE__ */ t("span", { class: "sr-only" }, "Error icon", -1), Di = [
|
|
4446
|
+
Ci,
|
|
4447
|
+
Si
|
|
4448
|
+
], Oi = {
|
|
4476
4449
|
key: 2,
|
|
4477
4450
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200"
|
|
4478
|
-
},
|
|
4451
|
+
}, Pi = /* @__PURE__ */ t("svg", {
|
|
4479
4452
|
class: "w-5 h-5",
|
|
4480
4453
|
"aria-hidden": "true",
|
|
4481
4454
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4483,10 +4456,10 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4483
4456
|
viewBox: "0 0 20 20"
|
|
4484
4457
|
}, [
|
|
4485
4458
|
/* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z" })
|
|
4486
|
-
], -1),
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
],
|
|
4459
|
+
], -1), Ai = /* @__PURE__ */ t("span", { class: "sr-only" }, "Warning icon", -1), ji = [
|
|
4460
|
+
Pi,
|
|
4461
|
+
Ai
|
|
4462
|
+
], Ei = { class: "ml-3 text-sm font-normal" }, Ti = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), Li = /* @__PURE__ */ t("svg", {
|
|
4490
4463
|
"aria-hidden": "true",
|
|
4491
4464
|
class: "w-5 h-5",
|
|
4492
4465
|
fill: "currentColor",
|
|
@@ -4498,10 +4471,10 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4498
4471
|
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
4499
4472
|
"clip-rule": "evenodd"
|
|
4500
4473
|
})
|
|
4501
|
-
], -1),
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
],
|
|
4474
|
+
], -1), Mi = [
|
|
4475
|
+
Ti,
|
|
4476
|
+
Li
|
|
4477
|
+
], Ii = {
|
|
4505
4478
|
__name: "ToastListItem",
|
|
4506
4479
|
props: {
|
|
4507
4480
|
message: String,
|
|
@@ -4521,23 +4494,23 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4521
4494
|
setTimeout(() => n("remove"), s.duration);
|
|
4522
4495
|
});
|
|
4523
4496
|
const n = r;
|
|
4524
|
-
return (o, a) => (d(), u("div",
|
|
4525
|
-
s.type === "success" ? (d(), u("div",
|
|
4526
|
-
s.type === "error" ? (d(), u("div",
|
|
4527
|
-
s.type === "warning" ? (d(), u("div",
|
|
4528
|
-
t("div",
|
|
4497
|
+
return (o, a) => (d(), u("div", _i, [
|
|
4498
|
+
s.type === "success" ? (d(), u("div", vi, ki)) : g("", !0),
|
|
4499
|
+
s.type === "error" ? (d(), u("div", $i, Di)) : g("", !0),
|
|
4500
|
+
s.type === "warning" ? (d(), u("div", Oi, ji)) : g("", !0),
|
|
4501
|
+
t("div", Ei, f(s.message), 1),
|
|
4529
4502
|
t("button", {
|
|
4530
4503
|
onClick: a[0] || (a[0] = (i) => n("remove")),
|
|
4531
4504
|
type: "button",
|
|
4532
4505
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
4533
4506
|
"data-dismiss-target": "#toast-default",
|
|
4534
4507
|
"aria-label": "Close"
|
|
4535
|
-
},
|
|
4508
|
+
}, Mi)
|
|
4536
4509
|
]));
|
|
4537
4510
|
}
|
|
4538
4511
|
}, ve = Te({
|
|
4539
4512
|
items: []
|
|
4540
|
-
}),
|
|
4513
|
+
}), Ni = {
|
|
4541
4514
|
add(e) {
|
|
4542
4515
|
ve.items.unshift({
|
|
4543
4516
|
key: Symbol(),
|
|
@@ -4551,8 +4524,8 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4551
4524
|
}
|
|
4552
4525
|
}, Ee = {
|
|
4553
4526
|
state: ve,
|
|
4554
|
-
methods:
|
|
4555
|
-
},
|
|
4527
|
+
methods: Ni
|
|
4528
|
+
}, Bc = {
|
|
4556
4529
|
__name: "GlToastList",
|
|
4557
4530
|
setup(e) {
|
|
4558
4531
|
function r(s) {
|
|
@@ -4567,7 +4540,7 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4567
4540
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4568
4541
|
}, {
|
|
4569
4542
|
default: ie(() => [
|
|
4570
|
-
(d(!0), u(v, null, S(dt(Ee).state.items, (o, a) => (d(), Z(
|
|
4543
|
+
(d(!0), u(v, null, S(dt(Ee).state.items, (o, a) => (d(), Z(Ii, {
|
|
4571
4544
|
key: o.key,
|
|
4572
4545
|
message: o.message,
|
|
4573
4546
|
type: o.type,
|
|
@@ -4578,10 +4551,10 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4578
4551
|
_: 1
|
|
4579
4552
|
}));
|
|
4580
4553
|
}
|
|
4581
|
-
},
|
|
4554
|
+
}, Vi = {
|
|
4582
4555
|
key: 0,
|
|
4583
4556
|
class: "flex justify-center"
|
|
4584
|
-
},
|
|
4557
|
+
}, Bi = /* @__PURE__ */ t("svg", {
|
|
4585
4558
|
class: "w-5 h-5",
|
|
4586
4559
|
"aria-hidden": "true",
|
|
4587
4560
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4589,12 +4562,12 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4589
4562
|
viewBox: "0 0 4 15"
|
|
4590
4563
|
}, [
|
|
4591
4564
|
/* @__PURE__ */ t("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
|
|
4592
|
-
], -1),
|
|
4593
|
-
|
|
4594
|
-
],
|
|
4565
|
+
], -1), Gi = [
|
|
4566
|
+
Bi
|
|
4567
|
+
], Ui = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, Fi = {
|
|
4595
4568
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4596
4569
|
"aria-labelledby": "dropdownDividerButton"
|
|
4597
|
-
},
|
|
4570
|
+
}, Ri = { key: 0 }, qi = ["href"], Hi = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), zi = { key: 1 }, Zi = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Gc = {
|
|
4598
4571
|
__name: "DatatableAction",
|
|
4599
4572
|
props: {
|
|
4600
4573
|
field: {
|
|
@@ -4647,30 +4620,30 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4647
4620
|
onConfirmDelete: _,
|
|
4648
4621
|
onCancelDelete: c
|
|
4649
4622
|
}, null, 8, ["isOpen"]),
|
|
4650
|
-
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ?
|
|
4623
|
+
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? A((d(), u("div", Vi, [
|
|
4651
4624
|
t("button", {
|
|
4652
4625
|
onClick: l,
|
|
4653
4626
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
4654
4627
|
type: "button"
|
|
4655
|
-
},
|
|
4656
|
-
|
|
4657
|
-
t("ul",
|
|
4658
|
-
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4628
|
+
}, Gi),
|
|
4629
|
+
A(t("div", Ui, [
|
|
4630
|
+
t("ul", Fi, [
|
|
4631
|
+
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Ri, [
|
|
4659
4632
|
t("a", {
|
|
4660
4633
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4661
4634
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4662
4635
|
}, [
|
|
4663
|
-
|
|
4636
|
+
Hi,
|
|
4664
4637
|
$(" Edit")
|
|
4665
|
-
], 8,
|
|
4638
|
+
], 8, qi)
|
|
4666
4639
|
])) : g("", !0),
|
|
4667
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4640
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", zi, [
|
|
4668
4641
|
t("a", {
|
|
4669
4642
|
href: "#",
|
|
4670
4643
|
onClick: F(h, ["prevent"]),
|
|
4671
4644
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4672
4645
|
}, [
|
|
4673
|
-
|
|
4646
|
+
Zi,
|
|
4674
4647
|
$(" Remove")
|
|
4675
4648
|
])
|
|
4676
4649
|
])) : g("", !0)
|
|
@@ -4684,10 +4657,10 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4684
4657
|
], 64);
|
|
4685
4658
|
};
|
|
4686
4659
|
}
|
|
4687
|
-
},
|
|
4660
|
+
}, Ki = {
|
|
4688
4661
|
key: 0,
|
|
4689
4662
|
class: "flex justify-center"
|
|
4690
|
-
},
|
|
4663
|
+
}, Wi = /* @__PURE__ */ t("svg", {
|
|
4691
4664
|
class: "w-5 h-5",
|
|
4692
4665
|
"aria-hidden": "true",
|
|
4693
4666
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4695,12 +4668,12 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4695
4668
|
viewBox: "0 0 4 15"
|
|
4696
4669
|
}, [
|
|
4697
4670
|
/* @__PURE__ */ t("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
|
|
4698
|
-
], -1),
|
|
4699
|
-
|
|
4700
|
-
],
|
|
4671
|
+
], -1), Yi = [
|
|
4672
|
+
Wi
|
|
4673
|
+
], Xi = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, Ji = {
|
|
4701
4674
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4702
4675
|
"aria-labelledby": "dropdownDividerButton"
|
|
4703
|
-
},
|
|
4676
|
+
}, Qi = { key: 0 }, ed = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Uc = {
|
|
4704
4677
|
__name: "DatatableDeleteAction",
|
|
4705
4678
|
props: {
|
|
4706
4679
|
field: {
|
|
@@ -4753,21 +4726,21 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4753
4726
|
onConfirmDelete: _,
|
|
4754
4727
|
onCancelDelete: c
|
|
4755
4728
|
}, null, 8, ["isOpen"]),
|
|
4756
|
-
e.row && x.can(`delete_${e.xprops.permission}`) ?
|
|
4729
|
+
e.row && x.can(`delete_${e.xprops.permission}`) ? A((d(), u("div", Ki, [
|
|
4757
4730
|
t("button", {
|
|
4758
4731
|
onClick: l,
|
|
4759
4732
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
4760
4733
|
type: "button"
|
|
4761
|
-
},
|
|
4762
|
-
|
|
4763
|
-
t("ul",
|
|
4764
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4734
|
+
}, Yi),
|
|
4735
|
+
A(t("div", Xi, [
|
|
4736
|
+
t("ul", Ji, [
|
|
4737
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Qi, [
|
|
4765
4738
|
t("a", {
|
|
4766
4739
|
href: "#",
|
|
4767
4740
|
onClick: F(h, ["prevent"]),
|
|
4768
4741
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4769
4742
|
}, [
|
|
4770
|
-
|
|
4743
|
+
ed,
|
|
4771
4744
|
$(" Remove")
|
|
4772
4745
|
])
|
|
4773
4746
|
])) : g("", !0)
|
|
@@ -4781,7 +4754,7 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4781
4754
|
], 64);
|
|
4782
4755
|
};
|
|
4783
4756
|
}
|
|
4784
|
-
},
|
|
4757
|
+
}, td = {
|
|
4785
4758
|
props: ["field", "row"],
|
|
4786
4759
|
computed: {
|
|
4787
4760
|
isArray() {
|
|
@@ -4796,7 +4769,7 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4796
4769
|
},
|
|
4797
4770
|
mounted() {
|
|
4798
4771
|
}
|
|
4799
|
-
},
|
|
4772
|
+
}, rd = ["href", "title"], sd = /* @__PURE__ */ t("svg", {
|
|
4800
4773
|
class: "w-3 h-3 text-white me-2",
|
|
4801
4774
|
"aria-hidden": "true",
|
|
4802
4775
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4813,10 +4786,10 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4813
4786
|
d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
|
|
4814
4787
|
"clip-rule": "evenodd"
|
|
4815
4788
|
})
|
|
4816
|
-
], -1),
|
|
4789
|
+
], -1), ad = {
|
|
4817
4790
|
key: 1,
|
|
4818
4791
|
class: "m-1 d-inline-block"
|
|
4819
|
-
},
|
|
4792
|
+
}, nd = ["href", "title"], od = /* @__PURE__ */ t("svg", {
|
|
4820
4793
|
class: "w-3 h-3 text-white me-2",
|
|
4821
4794
|
"aria-hidden": "true",
|
|
4822
4795
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4834,7 +4807,7 @@ const Hc = /* @__PURE__ */ O(ki, [["render", Ci]]), Si = {
|
|
|
4834
4807
|
"clip-rule": "evenodd"
|
|
4835
4808
|
})
|
|
4836
4809
|
], -1);
|
|
4837
|
-
function
|
|
4810
|
+
function ld(e, r, s, n, o, a) {
|
|
4838
4811
|
return d(), u("div", null, [
|
|
4839
4812
|
a.isArray ? (d(!0), u(v, { key: 0 }, S(s.row, (i, l) => (d(), u("div", {
|
|
4840
4813
|
key: l,
|
|
@@ -4846,23 +4819,23 @@ function hd(e, r, s, n, o, a) {
|
|
|
4846
4819
|
target: "_blank",
|
|
4847
4820
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4848
4821
|
}, [
|
|
4849
|
-
|
|
4822
|
+
sd,
|
|
4850
4823
|
$(" Download ")
|
|
4851
|
-
], 8,
|
|
4852
|
-
]))), 128)) : a.isString ? (d(), u("div",
|
|
4824
|
+
], 8, rd)
|
|
4825
|
+
]))), 128)) : a.isString ? (d(), u("div", ad, [
|
|
4853
4826
|
t("a", {
|
|
4854
4827
|
href: s.row,
|
|
4855
4828
|
title: s.row,
|
|
4856
4829
|
target: "_blank",
|
|
4857
4830
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4858
4831
|
}, [
|
|
4859
|
-
|
|
4832
|
+
od,
|
|
4860
4833
|
$(" Download ")
|
|
4861
|
-
], 8,
|
|
4834
|
+
], 8, nd)
|
|
4862
4835
|
])) : g("", !0)
|
|
4863
4836
|
]);
|
|
4864
4837
|
}
|
|
4865
|
-
const
|
|
4838
|
+
const Fc = /* @__PURE__ */ O(td, [["render", ld]]), id = {
|
|
4866
4839
|
props: ["field", "row"],
|
|
4867
4840
|
computed: {
|
|
4868
4841
|
isArray() {
|
|
@@ -4872,7 +4845,7 @@ const Wc = /* @__PURE__ */ O(id, [["render", hd]]), md = {
|
|
|
4872
4845
|
return typeof this.row[this.field] == "object";
|
|
4873
4846
|
}
|
|
4874
4847
|
}
|
|
4875
|
-
},
|
|
4848
|
+
}, dd = ["href", "title"], ud = /* @__PURE__ */ t("svg", {
|
|
4876
4849
|
class: "w-3 h-3 text-white me-2",
|
|
4877
4850
|
"aria-hidden": "true",
|
|
4878
4851
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4889,10 +4862,10 @@ const Wc = /* @__PURE__ */ O(id, [["render", hd]]), md = {
|
|
|
4889
4862
|
d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
|
|
4890
4863
|
"clip-rule": "evenodd"
|
|
4891
4864
|
})
|
|
4892
|
-
], -1),
|
|
4865
|
+
], -1), cd = {
|
|
4893
4866
|
key: 1,
|
|
4894
4867
|
class: "m-1 d-inline-block"
|
|
4895
|
-
},
|
|
4868
|
+
}, gd = ["href", "title"], fd = /* @__PURE__ */ t("svg", {
|
|
4896
4869
|
class: "w-3 h-3 text-white me-2",
|
|
4897
4870
|
"aria-hidden": "true",
|
|
4898
4871
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4910,7 +4883,7 @@ const Wc = /* @__PURE__ */ O(id, [["render", hd]]), md = {
|
|
|
4910
4883
|
"clip-rule": "evenodd"
|
|
4911
4884
|
})
|
|
4912
4885
|
], -1);
|
|
4913
|
-
function
|
|
4886
|
+
function hd(e, r, s, n, o, a) {
|
|
4914
4887
|
return d(), u("div", null, [
|
|
4915
4888
|
a.isArray ? (d(!0), u(v, { key: 0 }, S(s.row[s.field], (i) => (d(), u("div", {
|
|
4916
4889
|
key: i.id,
|
|
@@ -4922,34 +4895,34 @@ function xd(e, r, s, n, o, a) {
|
|
|
4922
4895
|
target: "_blank",
|
|
4923
4896
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4924
4897
|
}, [
|
|
4925
|
-
|
|
4898
|
+
ud,
|
|
4926
4899
|
$(" Download ")
|
|
4927
|
-
], 8,
|
|
4928
|
-
]))), 128)) : a.isObject ? (d(), u("div",
|
|
4900
|
+
], 8, dd)
|
|
4901
|
+
]))), 128)) : a.isObject ? (d(), u("div", cd, [
|
|
4929
4902
|
t("a", {
|
|
4930
4903
|
href: s.row[s.field].url,
|
|
4931
4904
|
title: s.row[s.field].name,
|
|
4932
4905
|
target: "_blank",
|
|
4933
4906
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4934
4907
|
}, [
|
|
4935
|
-
|
|
4908
|
+
fd,
|
|
4936
4909
|
$(" Download ")
|
|
4937
|
-
], 8,
|
|
4910
|
+
], 8, gd)
|
|
4938
4911
|
])) : g("", !0)
|
|
4939
4912
|
]);
|
|
4940
4913
|
}
|
|
4941
|
-
const
|
|
4914
|
+
const Rc = /* @__PURE__ */ O(id, [["render", hd]]), md = {
|
|
4942
4915
|
props: ["field", "row", "tdProps"]
|
|
4943
|
-
},
|
|
4944
|
-
function
|
|
4945
|
-
return s.row[s.field] ? (d(), u("div",
|
|
4916
|
+
}, bd = { key: 0 }, pd = ["innerHTML"];
|
|
4917
|
+
function yd(e, r, s, n, o, a) {
|
|
4918
|
+
return s.row[s.field] ? (d(), u("div", bd, [
|
|
4946
4919
|
t("div", {
|
|
4947
4920
|
class: "w-full",
|
|
4948
4921
|
innerHTML: s.row[s.field]
|
|
4949
|
-
}, null, 8,
|
|
4922
|
+
}, null, 8, pd)
|
|
4950
4923
|
])) : g("", !0);
|
|
4951
4924
|
}
|
|
4952
|
-
const
|
|
4925
|
+
const qc = /* @__PURE__ */ O(md, [["render", yd]]), _d = {
|
|
4953
4926
|
props: ["field", "row", "tdProps"],
|
|
4954
4927
|
computed: {
|
|
4955
4928
|
entry() {
|
|
@@ -4963,24 +4936,24 @@ const Xc = /* @__PURE__ */ O(wd, [["render", Cd]]), Sd = {
|
|
|
4963
4936
|
return typeof this.row[this.entry.key] == "object";
|
|
4964
4937
|
}
|
|
4965
4938
|
}
|
|
4966
|
-
},
|
|
4939
|
+
}, vd = { class: "flex flex-wrap gap-2" }, xd = {
|
|
4967
4940
|
key: 1,
|
|
4968
4941
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4969
4942
|
};
|
|
4970
|
-
function
|
|
4971
|
-
return d(), u("div",
|
|
4943
|
+
function wd(e, r, s, n, o, a) {
|
|
4944
|
+
return d(), u("div", vd, [
|
|
4972
4945
|
a.isArray ? (d(!0), u(v, { key: 0 }, S(s.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4973
4946
|
key: l,
|
|
4974
4947
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4975
|
-
}, f(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span",
|
|
4948
|
+
}, f(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", xd, f(s.row[a.entry.key][a.entry.field]), 1)) : g("", !0)
|
|
4976
4949
|
]);
|
|
4977
4950
|
}
|
|
4978
|
-
const
|
|
4951
|
+
const Hc = /* @__PURE__ */ O(_d, [["render", wd]]), kd = {
|
|
4979
4952
|
props: ["field", "row", "tdProps"]
|
|
4980
|
-
},
|
|
4981
|
-
function
|
|
4982
|
-
return s.row[s.field] ? (d(), u("div",
|
|
4983
|
-
t("div",
|
|
4953
|
+
}, $d = { key: 0 }, Cd = { class: "m-1 d-inline-block" }, Sd = ["href", "title"], Dd = ["src", "alt", "title"];
|
|
4954
|
+
function Od(e, r, s, n, o, a) {
|
|
4955
|
+
return s.row[s.field] ? (d(), u("div", $d, [
|
|
4956
|
+
t("div", Cd, [
|
|
4984
4957
|
t("a", {
|
|
4985
4958
|
href: s.row[s.field].url,
|
|
4986
4959
|
title: s.row[s.field].name,
|
|
@@ -4990,37 +4963,37 @@ function Md(e, r, s, n, o, a) {
|
|
|
4990
4963
|
src: s.row[s.field].thumbnail,
|
|
4991
4964
|
alt: s.row[s.field].name,
|
|
4992
4965
|
title: s.row[s.field].name
|
|
4993
|
-
}, null, 8,
|
|
4994
|
-
], 8,
|
|
4966
|
+
}, null, 8, Dd)
|
|
4967
|
+
], 8, Sd)
|
|
4995
4968
|
])
|
|
4996
4969
|
])) : g("", !0);
|
|
4997
4970
|
}
|
|
4998
|
-
const
|
|
4971
|
+
const zc = /* @__PURE__ */ O(kd, [["render", Od], ["__scopeId", "data-v-3a28c02c"]]), Pd = {
|
|
4999
4972
|
props: ["field", "row", "tdProps"],
|
|
5000
4973
|
computed: {
|
|
5001
4974
|
isActive() {
|
|
5002
4975
|
return this.row[this.field] === 1;
|
|
5003
4976
|
}
|
|
5004
4977
|
}
|
|
5005
|
-
},
|
|
4978
|
+
}, Ad = { class: "flex flex-wrap gap-2 text-nowrap" }, jd = {
|
|
5006
4979
|
key: 0,
|
|
5007
4980
|
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"
|
|
5008
|
-
},
|
|
4981
|
+
}, Ed = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Td = {
|
|
5009
4982
|
key: 1,
|
|
5010
4983
|
class: "inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
5011
|
-
},
|
|
5012
|
-
function
|
|
5013
|
-
return d(), u("div",
|
|
5014
|
-
a.isActive ? (d(), u("span",
|
|
5015
|
-
|
|
4984
|
+
}, Ld = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
4985
|
+
function Md(e, r, s, n, o, a) {
|
|
4986
|
+
return d(), u("div", Ad, [
|
|
4987
|
+
a.isActive ? (d(), u("span", jd, [
|
|
4988
|
+
Ed,
|
|
5016
4989
|
$(" Active ")
|
|
5017
|
-
])) : a.isActive ? g("", !0) : (d(), u("span",
|
|
5018
|
-
|
|
4990
|
+
])) : a.isActive ? g("", !0) : (d(), u("span", Td, [
|
|
4991
|
+
Ld,
|
|
5019
4992
|
$(" Inactive ")
|
|
5020
4993
|
]))
|
|
5021
4994
|
]);
|
|
5022
4995
|
}
|
|
5023
|
-
const
|
|
4996
|
+
const Zc = /* @__PURE__ */ O(Pd, [["render", Md]]), Id = {
|
|
5024
4997
|
props: ["field", "row", "tdProps"],
|
|
5025
4998
|
computed: {
|
|
5026
4999
|
hasLabelColor(e) {
|
|
@@ -5030,50 +5003,50 @@ const e0 = /* @__PURE__ */ O(Id, [["render", Fd]]), Rd = {
|
|
|
5030
5003
|
return r ? r.class : "";
|
|
5031
5004
|
}
|
|
5032
5005
|
}
|
|
5033
|
-
},
|
|
5006
|
+
}, Nd = { class: "flex flex-wrap gap-2 text-nowrap" }, Vd = {
|
|
5034
5007
|
key: 0,
|
|
5035
5008
|
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"
|
|
5036
|
-
},
|
|
5009
|
+
}, Bd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Gd = {
|
|
5037
5010
|
key: 1,
|
|
5038
5011
|
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"
|
|
5039
|
-
},
|
|
5012
|
+
}, Ud = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), Fd = {
|
|
5040
5013
|
key: 2,
|
|
5041
5014
|
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"
|
|
5042
|
-
},
|
|
5015
|
+
}, Rd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), qd = {
|
|
5043
5016
|
key: 3,
|
|
5044
5017
|
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"
|
|
5045
|
-
},
|
|
5018
|
+
}, Hd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), zd = {
|
|
5046
5019
|
key: 4,
|
|
5047
5020
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
5048
|
-
},
|
|
5021
|
+
}, Zd = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
5049
5022
|
/* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
5050
5023
|
/* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
5051
5024
|
], -1);
|
|
5052
|
-
function
|
|
5053
|
-
return d(), u("div",
|
|
5054
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
5055
|
-
|
|
5025
|
+
function Kd(e, r, s, n, o, a) {
|
|
5026
|
+
return d(), u("div", Nd, [
|
|
5027
|
+
a.hasLabelColor == "green" ? (d(), u("span", Vd, [
|
|
5028
|
+
Bd,
|
|
5056
5029
|
$(" " + f(this.row[this.field]), 1)
|
|
5057
5030
|
])) : g("", !0),
|
|
5058
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
5059
|
-
|
|
5031
|
+
a.hasLabelColor == "red" ? (d(), u("span", Gd, [
|
|
5032
|
+
Ud,
|
|
5060
5033
|
$(" " + f(this.row[this.field]), 1)
|
|
5061
5034
|
])) : g("", !0),
|
|
5062
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
5063
|
-
|
|
5035
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", Fd, [
|
|
5036
|
+
Rd,
|
|
5064
5037
|
$(" " + f(this.row[this.field]), 1)
|
|
5065
5038
|
])) : g("", !0),
|
|
5066
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
5067
|
-
|
|
5039
|
+
a.hasLabelColor == "default" ? (d(), u("span", qd, [
|
|
5040
|
+
Hd,
|
|
5068
5041
|
$(" " + f(this.row[this.field]), 1)
|
|
5069
5042
|
])) : g("", !0),
|
|
5070
|
-
a.hasLabelColor == "animate" ? (d(), u("span",
|
|
5071
|
-
|
|
5043
|
+
a.hasLabelColor == "animate" ? (d(), u("span", zd, [
|
|
5044
|
+
Zd,
|
|
5072
5045
|
$(" " + f(this.row[this.field]), 1)
|
|
5073
5046
|
])) : g("", !0)
|
|
5074
5047
|
]);
|
|
5075
5048
|
}
|
|
5076
|
-
const
|
|
5049
|
+
const Kc = /* @__PURE__ */ O(Id, [["render", Kd]]), Wd = {
|
|
5077
5050
|
props: ["field", "row", "tdProps"],
|
|
5078
5051
|
computed: {
|
|
5079
5052
|
hasLabelColor() {
|
|
@@ -5094,9 +5067,9 @@ const t0 = /* @__PURE__ */ O(Rd, [["render", tu]]), ru = {
|
|
|
5094
5067
|
}
|
|
5095
5068
|
}
|
|
5096
5069
|
}
|
|
5097
|
-
},
|
|
5098
|
-
function
|
|
5099
|
-
return d(), u("div",
|
|
5070
|
+
}, Yd = { class: "flex flex-wrap gap-2 text-nowrap justify-center" };
|
|
5071
|
+
function Xd(e, r, s, n, o, a) {
|
|
5072
|
+
return d(), u("div", Yd, [
|
|
5100
5073
|
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
5101
5074
|
key: 0,
|
|
5102
5075
|
class: p(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", a.badgeType])
|
|
@@ -5131,7 +5104,7 @@ function au(e, r, s, n, o, a) {
|
|
|
5131
5104
|
}, f(this.row[this.field]), 3)) : g("", !0)
|
|
5132
5105
|
]);
|
|
5133
5106
|
}
|
|
5134
|
-
const
|
|
5107
|
+
const Wc = /* @__PURE__ */ O(Wd, [["render", Xd]]), Jd = {
|
|
5135
5108
|
props: ["field", "row", "tdProps"],
|
|
5136
5109
|
computed: {
|
|
5137
5110
|
hasLabelColor(e) {
|
|
@@ -5147,50 +5120,50 @@ const r0 = /* @__PURE__ */ O(ru, [["render", au]]), nu = {
|
|
|
5147
5120
|
return e ? e.label : "";
|
|
5148
5121
|
}
|
|
5149
5122
|
}
|
|
5150
|
-
},
|
|
5123
|
+
}, Qd = { class: "flex flex-wrap gap-2 text-nowrap" }, eu = {
|
|
5151
5124
|
key: 0,
|
|
5152
5125
|
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"
|
|
5153
|
-
},
|
|
5126
|
+
}, tu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), ru = {
|
|
5154
5127
|
key: 1,
|
|
5155
5128
|
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"
|
|
5156
|
-
},
|
|
5129
|
+
}, su = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), au = {
|
|
5157
5130
|
key: 2,
|
|
5158
5131
|
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"
|
|
5159
|
-
},
|
|
5132
|
+
}, nu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), ou = {
|
|
5160
5133
|
key: 3,
|
|
5161
5134
|
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"
|
|
5162
|
-
},
|
|
5135
|
+
}, lu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), iu = {
|
|
5163
5136
|
key: 4,
|
|
5164
5137
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
5165
|
-
},
|
|
5138
|
+
}, du = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
5166
5139
|
/* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
5167
5140
|
/* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
5168
5141
|
], -1);
|
|
5169
|
-
function
|
|
5170
|
-
return d(), u("div",
|
|
5171
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
5172
|
-
|
|
5142
|
+
function uu(e, r, s, n, o, a) {
|
|
5143
|
+
return d(), u("div", Qd, [
|
|
5144
|
+
a.hasLabelColor == "green" ? (d(), u("span", eu, [
|
|
5145
|
+
tu,
|
|
5173
5146
|
$(" " + f(a.getLabel), 1)
|
|
5174
5147
|
])) : g("", !0),
|
|
5175
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
5176
|
-
|
|
5148
|
+
a.hasLabelColor == "red" ? (d(), u("span", ru, [
|
|
5149
|
+
su,
|
|
5177
5150
|
$(" " + f(a.getLabel), 1)
|
|
5178
5151
|
])) : g("", !0),
|
|
5179
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
5180
|
-
|
|
5152
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", au, [
|
|
5153
|
+
nu,
|
|
5181
5154
|
$(" " + f(a.getLabel), 1)
|
|
5182
5155
|
])) : g("", !0),
|
|
5183
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
5184
|
-
|
|
5156
|
+
a.hasLabelColor == "default" ? (d(), u("span", ou, [
|
|
5157
|
+
lu,
|
|
5185
5158
|
$(" " + f(a.getLabel), 1)
|
|
5186
5159
|
])) : g("", !0),
|
|
5187
|
-
a.hasLabelColor == "animate" ? (d(), u("span",
|
|
5188
|
-
|
|
5160
|
+
a.hasLabelColor == "animate" ? (d(), u("span", iu, [
|
|
5161
|
+
du,
|
|
5189
5162
|
$(" " + f(a.getLabel), 1)
|
|
5190
5163
|
])) : g("", !0)
|
|
5191
5164
|
]);
|
|
5192
5165
|
}
|
|
5193
|
-
const
|
|
5166
|
+
const Yc = /* @__PURE__ */ O(Jd, [["render", uu]]), cu = {
|
|
5194
5167
|
props: ["field", "row", "tdProps"],
|
|
5195
5168
|
computed: {
|
|
5196
5169
|
formattedDate() {
|
|
@@ -5205,54 +5178,54 @@ const s0 = /* @__PURE__ */ O(nu, [["render", pu]]), yu = {
|
|
|
5205
5178
|
return this.row[this.field] === 1;
|
|
5206
5179
|
}
|
|
5207
5180
|
}
|
|
5208
|
-
},
|
|
5209
|
-
function
|
|
5210
|
-
return d(), u("div",
|
|
5181
|
+
}, gu = { class: "w-full" };
|
|
5182
|
+
function fu(e, r, s, n, o, a) {
|
|
5183
|
+
return d(), u("div", gu, f(a.formattedDate), 1);
|
|
5211
5184
|
}
|
|
5212
|
-
const
|
|
5185
|
+
const Xc = /* @__PURE__ */ O(cu, [["render", fu]]), hu = {
|
|
5213
5186
|
props: ["field", "row", "tdProps"]
|
|
5214
|
-
},
|
|
5187
|
+
}, mu = { class: "flex flex-wrap gap-2 text-nowrap" }, bu = {
|
|
5215
5188
|
key: 0,
|
|
5216
5189
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
5217
|
-
},
|
|
5190
|
+
}, pu = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
5218
5191
|
/* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
5219
5192
|
/* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
5220
|
-
], -1),
|
|
5193
|
+
], -1), yu = {
|
|
5221
5194
|
key: 1,
|
|
5222
5195
|
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"
|
|
5223
|
-
},
|
|
5196
|
+
}, _u = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), vu = {
|
|
5224
5197
|
key: 2,
|
|
5225
5198
|
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"
|
|
5226
|
-
},
|
|
5227
|
-
function
|
|
5228
|
-
return d(), u("div",
|
|
5229
|
-
s.row[s.field] === 0 ? (d(), u("span",
|
|
5230
|
-
|
|
5199
|
+
}, xu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
5200
|
+
function wu(e, r, s, n, o, a) {
|
|
5201
|
+
return d(), u("div", mu, [
|
|
5202
|
+
s.row[s.field] === 0 ? (d(), u("span", bu, [
|
|
5203
|
+
pu,
|
|
5231
5204
|
$(" Provisioning")
|
|
5232
5205
|
])) : g("", !0),
|
|
5233
|
-
s.row[s.field] === 2 ? (d(), u("span",
|
|
5234
|
-
|
|
5206
|
+
s.row[s.field] === 2 ? (d(), u("span", yu, [
|
|
5207
|
+
_u,
|
|
5235
5208
|
$(" Paused ")
|
|
5236
5209
|
])) : g("", !0),
|
|
5237
|
-
s.row[s.field] === 1 ? (d(), u("span",
|
|
5238
|
-
|
|
5210
|
+
s.row[s.field] === 1 ? (d(), u("span", vu, [
|
|
5211
|
+
xu,
|
|
5239
5212
|
$(" Active ")
|
|
5240
5213
|
])) : g("", !0)
|
|
5241
5214
|
]);
|
|
5242
5215
|
}
|
|
5243
|
-
const
|
|
5216
|
+
const Jc = /* @__PURE__ */ O(hu, [["render", wu]]), ku = {
|
|
5244
5217
|
props: ["field", "row", "tdProps"]
|
|
5245
|
-
},
|
|
5218
|
+
}, $u = {
|
|
5246
5219
|
key: 0,
|
|
5247
5220
|
class: "text-nowrap"
|
|
5248
|
-
},
|
|
5249
|
-
function
|
|
5250
|
-
return s.row[s.field] ? (d(), u("div",
|
|
5251
|
-
t("pre",
|
|
5221
|
+
}, Cu = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
|
|
5222
|
+
function Su(e, r, s, n, o, a) {
|
|
5223
|
+
return s.row[s.field] ? (d(), u("div", $u, [
|
|
5224
|
+
t("pre", Cu, " " + f(s.row[s.field]) + `
|
|
5252
5225
|
`, 1)
|
|
5253
5226
|
])) : g("", !0);
|
|
5254
5227
|
}
|
|
5255
|
-
const
|
|
5228
|
+
const Qc = /* @__PURE__ */ O(ku, [["render", Su]]), Du = {
|
|
5256
5229
|
props: ["isOpen", "title", "button_text"],
|
|
5257
5230
|
methods: {
|
|
5258
5231
|
confirmAction() {
|
|
@@ -5262,35 +5235,35 @@ const o0 = /* @__PURE__ */ O(ju, [["render", Tu]]), Lu = {
|
|
|
5262
5235
|
this.$emit("cancel-action");
|
|
5263
5236
|
}
|
|
5264
5237
|
}
|
|
5265
|
-
},
|
|
5238
|
+
}, Ou = {
|
|
5266
5239
|
key: 0,
|
|
5267
5240
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
5268
5241
|
role: "dialog",
|
|
5269
5242
|
"aria-modal": "true"
|
|
5270
|
-
},
|
|
5243
|
+
}, Pu = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Au = /* @__PURE__ */ t("div", {
|
|
5271
5244
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
5272
5245
|
"aria-hidden": "true"
|
|
5273
|
-
}, null, -1),
|
|
5246
|
+
}, null, -1), ju = /* @__PURE__ */ t("span", {
|
|
5274
5247
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
5275
5248
|
"aria-hidden": "true"
|
|
5276
|
-
}, "", -1),
|
|
5277
|
-
function
|
|
5278
|
-
return s.isOpen ? (d(), u("div",
|
|
5279
|
-
t("div",
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
t("div",
|
|
5283
|
-
t("div",
|
|
5284
|
-
t("div",
|
|
5285
|
-
t("div",
|
|
5286
|
-
t("h3",
|
|
5287
|
-
t("div",
|
|
5288
|
-
|
|
5249
|
+
}, "", -1), Eu = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Tu = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Lu = { class: "sm:flex sm:items-start" }, Mu = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Iu = { class: "text-lg font-medium leading-6 text-gray-900" }, Nu = { class: "mt-2" }, Vu = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
5250
|
+
function Bu(e, r, s, n, o, a) {
|
|
5251
|
+
return s.isOpen ? (d(), u("div", Ou, [
|
|
5252
|
+
t("div", Pu, [
|
|
5253
|
+
Au,
|
|
5254
|
+
ju,
|
|
5255
|
+
t("div", Eu, [
|
|
5256
|
+
t("div", Tu, [
|
|
5257
|
+
t("div", Lu, [
|
|
5258
|
+
t("div", Mu, [
|
|
5259
|
+
t("h3", Iu, f(s.title), 1),
|
|
5260
|
+
t("div", Nu, [
|
|
5261
|
+
M(e.$slots, "default")
|
|
5289
5262
|
])
|
|
5290
5263
|
])
|
|
5291
5264
|
])
|
|
5292
5265
|
]),
|
|
5293
|
-
t("div",
|
|
5266
|
+
t("div", Vu, [
|
|
5294
5267
|
t("button", {
|
|
5295
5268
|
onClick: r[0] || (r[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
5296
5269
|
type: "button",
|
|
@@ -5306,10 +5279,10 @@ function zu(e, r, s, n, o, a) {
|
|
|
5306
5279
|
])
|
|
5307
5280
|
])) : g("", !0);
|
|
5308
5281
|
}
|
|
5309
|
-
const
|
|
5282
|
+
const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu = { class: "mb-2 flex justify-between items-center" }, Fu = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Ru = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, qu = { class: "overflow-auto max-h-32" }, Hu = { class: "text-sm text-gray-500 dark:text-gray-400" }, zu = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Zu = {
|
|
5310
5283
|
key: 0,
|
|
5311
5284
|
class: "inline-flex items-center"
|
|
5312
|
-
},
|
|
5285
|
+
}, Ku = /* @__PURE__ */ t("svg", {
|
|
5313
5286
|
class: "w-3 h-3 me-2",
|
|
5314
5287
|
"aria-hidden": "true",
|
|
5315
5288
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5317,13 +5290,13 @@ const l0 = /* @__PURE__ */ O(Lu, [["render", zu]]), Zu = { class: "w-full" }, Ku
|
|
|
5317
5290
|
viewBox: "0 0 18 20"
|
|
5318
5291
|
}, [
|
|
5319
5292
|
/* @__PURE__ */ t("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
5320
|
-
], -1),
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
],
|
|
5293
|
+
], -1), Wu = /* @__PURE__ */ t("span", { class: "text-xs font-semibold" }, "Copy", -1), Yu = [
|
|
5294
|
+
Ku,
|
|
5295
|
+
Wu
|
|
5296
|
+
], Xu = {
|
|
5324
5297
|
key: 1,
|
|
5325
5298
|
class: "inline-flex items-center"
|
|
5326
|
-
},
|
|
5299
|
+
}, Ju = /* @__PURE__ */ t("svg", {
|
|
5327
5300
|
class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-2",
|
|
5328
5301
|
"aria-hidden": "true",
|
|
5329
5302
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5337,10 +5310,10 @@ const l0 = /* @__PURE__ */ O(Lu, [["render", zu]]), Zu = { class: "w-full" }, Ku
|
|
|
5337
5310
|
"stroke-width": "2",
|
|
5338
5311
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
5339
5312
|
})
|
|
5340
|
-
], -1),
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
],
|
|
5313
|
+
], -1), Qu = /* @__PURE__ */ t("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), ec = [
|
|
5314
|
+
Ju,
|
|
5315
|
+
Qu
|
|
5316
|
+
], tc = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, t0 = {
|
|
5344
5317
|
__name: "GlCodeCopy",
|
|
5345
5318
|
props: {
|
|
5346
5319
|
label_name: {
|
|
@@ -5365,29 +5338,29 @@ const l0 = /* @__PURE__ */ O(Lu, [["render", zu]]), Zu = { class: "w-full" }, Ku
|
|
|
5365
5338
|
}).catch(function(i) {
|
|
5366
5339
|
console.error("Error copying to clipboard: ", i);
|
|
5367
5340
|
});
|
|
5368
|
-
}, o =
|
|
5369
|
-
return (a, i) => (d(), u("div",
|
|
5370
|
-
t("div",
|
|
5371
|
-
t("p",
|
|
5341
|
+
}, o = L(() => r.code);
|
|
5342
|
+
return (a, i) => (d(), u("div", Gu, [
|
|
5343
|
+
t("div", Uu, [
|
|
5344
|
+
t("p", Fu, f(e.label_name), 1)
|
|
5372
5345
|
]),
|
|
5373
|
-
t("div",
|
|
5374
|
-
t("div",
|
|
5375
|
-
t("code",
|
|
5346
|
+
t("div", Ru, [
|
|
5347
|
+
t("div", qu, [
|
|
5348
|
+
t("code", Hu, f(o.value), 1)
|
|
5376
5349
|
]),
|
|
5377
|
-
t("div",
|
|
5350
|
+
t("div", zu, [
|
|
5378
5351
|
t("button", {
|
|
5379
5352
|
onClick: i[0] || (i[0] = (l) => n(o.value)),
|
|
5380
5353
|
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"
|
|
5381
5354
|
}, [
|
|
5382
|
-
s.value ? g("", !0) : (d(), u("span",
|
|
5383
|
-
s.value ? (d(), u("span",
|
|
5355
|
+
s.value ? g("", !0) : (d(), u("span", Zu, Yu)),
|
|
5356
|
+
s.value ? (d(), u("span", Xu, ec)) : g("", !0)
|
|
5384
5357
|
])
|
|
5385
5358
|
])
|
|
5386
5359
|
]),
|
|
5387
|
-
t("p",
|
|
5360
|
+
t("p", tc, f(e.description), 1)
|
|
5388
5361
|
]));
|
|
5389
5362
|
}
|
|
5390
|
-
},
|
|
5363
|
+
}, rc = { class: "w-full" }, sc = { class: "flex justify-between items-center" }, ac = { class: "gl-label-form" }, nc = { class: "flex items-center" }, oc = { class: "flex-shrink-0 z-10 inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600" }, lc = { class: "relative w-full" }, ic = ["value"], dc = { key: 0 }, uc = /* @__PURE__ */ t("svg", {
|
|
5391
5364
|
class: "w-4 h-4",
|
|
5392
5365
|
"aria-hidden": "true",
|
|
5393
5366
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5395,12 +5368,12 @@ const l0 = /* @__PURE__ */ O(Lu, [["render", zu]]), Zu = { class: "w-full" }, Ku
|
|
|
5395
5368
|
viewBox: "0 0 18 20"
|
|
5396
5369
|
}, [
|
|
5397
5370
|
/* @__PURE__ */ t("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
5398
|
-
], -1),
|
|
5399
|
-
|
|
5400
|
-
],
|
|
5371
|
+
], -1), cc = [
|
|
5372
|
+
uc
|
|
5373
|
+
], gc = {
|
|
5401
5374
|
key: 1,
|
|
5402
5375
|
class: "inline-flex items-center"
|
|
5403
|
-
},
|
|
5376
|
+
}, fc = /* @__PURE__ */ t("svg", {
|
|
5404
5377
|
class: "w-4 h-4",
|
|
5405
5378
|
"aria-hidden": "true",
|
|
5406
5379
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5414,9 +5387,9 @@ const l0 = /* @__PURE__ */ O(Lu, [["render", zu]]), Zu = { class: "w-full" }, Ku
|
|
|
5414
5387
|
"stroke-width": "2",
|
|
5415
5388
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
5416
5389
|
})
|
|
5417
|
-
], -1),
|
|
5418
|
-
|
|
5419
|
-
],
|
|
5390
|
+
], -1), hc = [
|
|
5391
|
+
fc
|
|
5392
|
+
], mc = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, r0 = {
|
|
5420
5393
|
__name: "GlTextCopy",
|
|
5421
5394
|
props: {
|
|
5422
5395
|
label_name: {
|
|
@@ -5445,14 +5418,14 @@ const l0 = /* @__PURE__ */ O(Lu, [["render", zu]]), Zu = { class: "w-full" }, Ku
|
|
|
5445
5418
|
}).catch(function(i) {
|
|
5446
5419
|
console.error("Error copying to clipboard: ", i);
|
|
5447
5420
|
});
|
|
5448
|
-
}, o =
|
|
5449
|
-
return (a, i) => (d(), u("div",
|
|
5450
|
-
t("div",
|
|
5451
|
-
t("label",
|
|
5421
|
+
}, o = L(() => r.code);
|
|
5422
|
+
return (a, i) => (d(), u("div", rc, [
|
|
5423
|
+
t("div", sc, [
|
|
5424
|
+
t("label", ac, f(e.label_name), 1)
|
|
5452
5425
|
]),
|
|
5453
|
-
t("div",
|
|
5454
|
-
t("span",
|
|
5455
|
-
t("div",
|
|
5426
|
+
t("div", nc, [
|
|
5427
|
+
t("span", oc, f(e.text_name), 1),
|
|
5428
|
+
t("div", lc, [
|
|
5456
5429
|
t("input", {
|
|
5457
5430
|
type: "text",
|
|
5458
5431
|
"aria-describedby": "helper-text-explanation",
|
|
@@ -5460,7 +5433,7 @@ const l0 = /* @__PURE__ */ O(Lu, [["render", zu]]), Zu = { class: "w-full" }, Ku
|
|
|
5460
5433
|
value: o.value,
|
|
5461
5434
|
readonly: "",
|
|
5462
5435
|
disabled: ""
|
|
5463
|
-
}, null, 8,
|
|
5436
|
+
}, null, 8, ic)
|
|
5464
5437
|
]),
|
|
5465
5438
|
t("button", {
|
|
5466
5439
|
style: { padding: ".61rem" },
|
|
@@ -5468,56 +5441,56 @@ const l0 = /* @__PURE__ */ O(Lu, [["render", zu]]), Zu = { class: "w-full" }, Ku
|
|
|
5468
5441
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
5469
5442
|
type: "button"
|
|
5470
5443
|
}, [
|
|
5471
|
-
s.value ? g("", !0) : (d(), u("span",
|
|
5472
|
-
s.value ? (d(), u("span",
|
|
5444
|
+
s.value ? g("", !0) : (d(), u("span", dc, cc)),
|
|
5445
|
+
s.value ? (d(), u("span", gc, hc)) : g("", !0)
|
|
5473
5446
|
])
|
|
5474
5447
|
]),
|
|
5475
|
-
t("p",
|
|
5448
|
+
t("p", mc, f(e.description), 1)
|
|
5476
5449
|
]));
|
|
5477
5450
|
}
|
|
5478
5451
|
};
|
|
5479
5452
|
export {
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5453
|
+
Yc as DatatableStatusTextLabelGeneral,
|
|
5454
|
+
Qc as GLDatatableCommand,
|
|
5455
|
+
Xc as GLDatatableDateTime,
|
|
5456
|
+
Jc as GLDatatableStatusServer,
|
|
5457
|
+
Vc as GlAccordion,
|
|
5458
|
+
Nc as GlAccordionsWrapper,
|
|
5459
|
+
wc as GlButton,
|
|
5460
|
+
vc as GlCard,
|
|
5461
|
+
t0 as GlCodeCopy,
|
|
5462
|
+
e0 as GlConfirmationModal,
|
|
5463
|
+
Ic as GlDataTable,
|
|
5464
|
+
Lc as GlDataTableServerSide,
|
|
5465
|
+
Mc as GlDataTableServerSideGroupBy,
|
|
5466
|
+
Gc as GlDatatableAction,
|
|
5467
|
+
Uc as GlDatatableDeleteAction,
|
|
5468
|
+
Fc as GlDatatableFileDownload,
|
|
5469
|
+
Rc as GlDatatableFiles,
|
|
5470
|
+
qc as GlDatatableHtml,
|
|
5471
|
+
Hc as GlDatatableList,
|
|
5472
|
+
zc as GlDatatablePicture,
|
|
5473
|
+
Zc as GlDatatableStatus,
|
|
5474
|
+
Kc as GlDatatableStatusGeneral,
|
|
5475
|
+
Wc as GlDatatableStatusSpecficColor,
|
|
5503
5476
|
we as GlDeleteConfirmationModal,
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5477
|
+
Ec as GlDropdown,
|
|
5478
|
+
pc as GlFilesUpload,
|
|
5479
|
+
_c as GlLanguageSelector,
|
|
5480
|
+
Ac as GlModal,
|
|
5481
|
+
Pc as GlMultiItemSlide,
|
|
5482
|
+
xc as GlMultiSelectDropdown,
|
|
5483
|
+
yc as GlNotify,
|
|
5484
|
+
Oc as GlTab,
|
|
5485
|
+
Dc as GlTabsWrapper,
|
|
5513
5486
|
et as GlTailwindPagination,
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5487
|
+
r0 as GlTextCopy,
|
|
5488
|
+
Sc as GlTextInput,
|
|
5489
|
+
Cc as GlTextTranslate,
|
|
5490
|
+
Tc as GlTextarea,
|
|
5491
|
+
kc as GlTextareaTranslate,
|
|
5492
|
+
$c as GlTinymceTranslate,
|
|
5520
5493
|
Ee as GlToast,
|
|
5521
|
-
|
|
5522
|
-
|
|
5494
|
+
Bc as GlToastList,
|
|
5495
|
+
jc as GlToggleBox
|
|
5523
5496
|
};
|