golden-logic-ui 1.0.161 → 1.0.162
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 +698 -694
- package/dist/golden-logic-ui.umd.cjs +4 -4
- 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 j, reactive as Le, resolveComponent as z, Fragment as w, createVNode as q, normalizeClass as p, toDisplayString as h, withModifiers as L, withDirectives as P, vModelText as U, renderList as D, normalizeStyle as st, renderSlot as I, ref as C, onMounted as R, createTextVNode as $, vShow as Q, nextTick as Te, 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, onUnmounted as it, TransitionGroup as dt, unref as ut, resolveDirective as Ie, markRaw as ct } 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(f, m) {
|
|
190
|
-
i[m] = Pt(f, e), l[m] =
|
|
190
|
+
i[m] = Pt(f, e), l[m] = j(function() {
|
|
191
191
|
return i[m]();
|
|
192
192
|
}), Object.defineProperty(e.getters, m, {
|
|
193
193
|
get: function() {
|
|
@@ -1047,9 +1047,9 @@ function $r(e, r, s, n, o, a) {
|
|
|
1047
1047
|
})
|
|
1048
1048
|
}, h(s.label_name), 3),
|
|
1049
1049
|
t("div", {
|
|
1050
|
-
onDragover: r[3] || (r[3] =
|
|
1051
|
-
onDragleave: r[4] || (r[4] =
|
|
1052
|
-
onDrop: r[5] || (r[5] =
|
|
1050
|
+
onDragover: r[3] || (r[3] = L((...l) => a.onDragOver && a.onDragOver(...l), ["prevent"])),
|
|
1051
|
+
onDragleave: r[4] || (r[4] = L((...l) => a.onDragLeave && a.onDragLeave(...l), ["prevent"])),
|
|
1052
|
+
onDrop: r[5] || (r[5] = L((...l) => a.onDrop && a.onDrop(...l), ["prevent"])),
|
|
1053
1053
|
class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
|
|
1054
1054
|
}, [
|
|
1055
1055
|
t("div", Wt, [
|
|
@@ -1121,7 +1121,7 @@ function $r(e, r, s, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const mc = /* @__PURE__ */ O(Kt, [["render", $r]]), Cr = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...zt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1213,7 +1213,7 @@ function Er(e, r, s, n, o, a) {
|
|
|
1213
1213
|
}, jr, 2)
|
|
1214
1214
|
], 2)) : g("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const bc = /* @__PURE__ */ O(Cr, [["render", Er]]), Lr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1272,41 +1272,45 @@ function Nr(e, r, s, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1276
|
-
key: 0,
|
|
1277
|
-
class: "p-6"
|
|
1278
|
-
}, _c = {
|
|
1275
|
+
const pc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Br = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Gr = { class: "font-semibold text-black dark:text-white" }, yc = {
|
|
1279
1276
|
__name: "GlCard",
|
|
1280
1277
|
props: {
|
|
1281
1278
|
class: {
|
|
1282
1279
|
type: String,
|
|
1283
1280
|
default: ""
|
|
1281
|
+
},
|
|
1282
|
+
body_class: {
|
|
1283
|
+
type: String,
|
|
1284
|
+
default: ""
|
|
1284
1285
|
}
|
|
1285
1286
|
},
|
|
1286
1287
|
setup(e) {
|
|
1287
|
-
const r = e, s =
|
|
1288
|
-
return (
|
|
1288
|
+
const r = e, s = j(() => r.class), n = j(() => r.body_class);
|
|
1289
|
+
return (o, a) => (d(), u("div", {
|
|
1289
1290
|
class: p(["flex flex-col gap-9", s.value])
|
|
1290
1291
|
}, [
|
|
1291
1292
|
t("div", Vr, [
|
|
1292
1293
|
t("div", Br, [
|
|
1293
1294
|
t("h3", Gr, [
|
|
1294
|
-
I(
|
|
1295
|
+
I(o.$slots, "header")
|
|
1295
1296
|
])
|
|
1296
1297
|
]),
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1298
|
+
o.$slots.body ? (d(), u("div", {
|
|
1299
|
+
key: 0,
|
|
1300
|
+
class: p(["p-6", n.value])
|
|
1301
|
+
}, [
|
|
1302
|
+
I(o.$slots, "body")
|
|
1303
|
+
], 2)) : g("", !0)
|
|
1300
1304
|
])
|
|
1301
1305
|
], 2));
|
|
1302
1306
|
}
|
|
1303
|
-
},
|
|
1307
|
+
}, Ur = { class: "font-bold ptext-lg dark:text-white" }, Fr = { class: "mt-3 mb-4" }, Rr = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-3 py-1 rounded dark:bg-blue-900 dark:text-blue-300" }, qr = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Hr = ["name", "value"], zr = {
|
|
1304
1308
|
key: 0,
|
|
1305
1309
|
class: "dropdown"
|
|
1306
|
-
},
|
|
1310
|
+
}, Zr = { class: "border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Kr = { class: "relative" }, Wr = ["onClick"], Yr = { 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] showOptions" }, Xr = { class: "p-1" }, Jr = /* @__PURE__ */ t("label", {
|
|
1307
1311
|
for: "default-search",
|
|
1308
1312
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
1309
|
-
}, "Search", -1),
|
|
1313
|
+
}, "Search", -1), Qr = { class: "relative" }, es = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
1310
1314
|
/* @__PURE__ */ t("svg", {
|
|
1311
1315
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
1312
1316
|
"aria-hidden": "true",
|
|
@@ -1322,7 +1326,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1322
1326
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
1323
1327
|
})
|
|
1324
1328
|
])
|
|
1325
|
-
], -1),
|
|
1329
|
+
], -1), ts = ["id"], rs = { class: "overflow-y-auto max-h-64" }, ss = ["onClick", "onMousedown", "id"], _c = {
|
|
1326
1330
|
__name: "GlMultiSelectDropdown",
|
|
1327
1331
|
props: {
|
|
1328
1332
|
modelValue: {
|
|
@@ -1390,7 +1394,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1390
1394
|
b.key === "Enter" && b.target.form && b.preventDefault();
|
|
1391
1395
|
}));
|
|
1392
1396
|
});
|
|
1393
|
-
const _ =
|
|
1397
|
+
const _ = j(() => y()), v = j(() => A()), S = j(() => {
|
|
1394
1398
|
const b = [], x = new RegExp(f.value, "ig");
|
|
1395
1399
|
for (const k of _.value) {
|
|
1396
1400
|
const T = String(k.name);
|
|
@@ -1479,7 +1483,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1479
1483
|
)
|
|
1480
1484
|
) || [];
|
|
1481
1485
|
}
|
|
1482
|
-
function
|
|
1486
|
+
function E(b) {
|
|
1483
1487
|
console.log("selectOption", b);
|
|
1484
1488
|
let x = a.value.findIndex((k) => k.id === b.id);
|
|
1485
1489
|
x !== -1 ? a.value.splice(x, 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);
|
|
@@ -1504,11 +1508,11 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1504
1508
|
key: 0,
|
|
1505
1509
|
class: p(e.field_name)
|
|
1506
1510
|
}, [
|
|
1507
|
-
t("h3",
|
|
1508
|
-
t("p",
|
|
1509
|
-
(d(!0), u(w, null, D(v.value, (k, T) => (d(), u("span",
|
|
1511
|
+
t("h3", Ur, h(e.label_name), 1),
|
|
1512
|
+
t("p", Fr, [
|
|
1513
|
+
(d(!0), u(w, null, D(v.value, (k, T) => (d(), u("span", Rr, h(k == null ? void 0 : k.name), 1))), 256))
|
|
1510
1514
|
]),
|
|
1511
|
-
|
|
1515
|
+
qr
|
|
1512
1516
|
], 2)) : g("", !0),
|
|
1513
1517
|
e.show ? g("", !0) : (d(), u("div", {
|
|
1514
1518
|
key: 1,
|
|
@@ -1519,8 +1523,8 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1519
1523
|
name: e.field_name + "[]",
|
|
1520
1524
|
key: T,
|
|
1521
1525
|
value: k
|
|
1522
|
-
}, null, 8,
|
|
1523
|
-
e.options ? (d(), u("div",
|
|
1526
|
+
}, null, 8, Hr))), 128)),
|
|
1527
|
+
e.options ? (d(), u("div", zr, [
|
|
1524
1528
|
t("label", {
|
|
1525
1529
|
class: p({
|
|
1526
1530
|
"gl-label-form": e.error_message == "",
|
|
@@ -1543,8 +1547,8 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1543
1547
|
class: "px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-e-md hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"
|
|
1544
1548
|
}, " Deselect all ")
|
|
1545
1549
|
]),
|
|
1546
|
-
t("div",
|
|
1547
|
-
t("div",
|
|
1550
|
+
t("div", Zr, [
|
|
1551
|
+
t("div", Kr, [
|
|
1548
1552
|
t("div", {
|
|
1549
1553
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1550
1554
|
onClick: x[0] || (x[0] = (k) => F())
|
|
@@ -1555,9 +1559,9 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1555
1559
|
}, [
|
|
1556
1560
|
$(h(k == null ? void 0 : k.name) + " ", 1),
|
|
1557
1561
|
t("i", {
|
|
1558
|
-
onClick:
|
|
1562
|
+
onClick: L((De) => he(k), ["stop"]),
|
|
1559
1563
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
1560
|
-
}, null, 8,
|
|
1564
|
+
}, null, 8, Wr)
|
|
1561
1565
|
]))), 128))
|
|
1562
1566
|
]),
|
|
1563
1567
|
t("i", {
|
|
@@ -1565,11 +1569,11 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1565
1569
|
style: { top: "11px" }
|
|
1566
1570
|
}, null, 2)
|
|
1567
1571
|
]),
|
|
1568
|
-
P(t("div",
|
|
1569
|
-
t("div",
|
|
1570
|
-
|
|
1571
|
-
t("div",
|
|
1572
|
-
|
|
1572
|
+
P(t("div", Yr, [
|
|
1573
|
+
t("div", Xr, [
|
|
1574
|
+
Jr,
|
|
1575
|
+
t("div", Qr, [
|
|
1576
|
+
es,
|
|
1573
1577
|
P(t("input", {
|
|
1574
1578
|
type: "search",
|
|
1575
1579
|
"onUpdate:modelValue": x[1] || (x[1] = (k) => f.value = k),
|
|
@@ -1580,22 +1584,22 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1580
1584
|
autocomplete: "off",
|
|
1581
1585
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 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",
|
|
1582
1586
|
placeholder: "Search ..."
|
|
1583
|
-
}, null, 40,
|
|
1587
|
+
}, null, 40, ts), [
|
|
1584
1588
|
[U, f.value]
|
|
1585
1589
|
])
|
|
1586
1590
|
])
|
|
1587
1591
|
]),
|
|
1588
|
-
t("div",
|
|
1592
|
+
t("div", rs, [
|
|
1589
1593
|
(d(!0), u(w, null, D(S.value, (k, T) => (d(), u("div", {
|
|
1590
1594
|
class: p([
|
|
1591
1595
|
"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
1596
|
T + 1 == l.value || ce(k.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
1593
1597
|
]),
|
|
1594
|
-
onClick: (De) =>
|
|
1595
|
-
onMousedown: (De) =>
|
|
1598
|
+
onClick: (De) => E(k),
|
|
1599
|
+
onMousedown: (De) => E(k),
|
|
1596
1600
|
key: T,
|
|
1597
1601
|
id: `${T + 1}${m.value}`
|
|
1598
|
-
}, h(k.name || k.id || "-"), 43,
|
|
1602
|
+
}, h(k.name || k.id || "-"), 43, ss))), 128))
|
|
1599
1603
|
])
|
|
1600
1604
|
], 512), [
|
|
1601
1605
|
[Q, c.value]
|
|
@@ -1605,7 +1609,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1605
1609
|
], 2))
|
|
1606
1610
|
], 64));
|
|
1607
1611
|
}
|
|
1608
|
-
},
|
|
1612
|
+
}, as = {
|
|
1609
1613
|
props: {
|
|
1610
1614
|
button_type: {
|
|
1611
1615
|
type: String,
|
|
@@ -1661,7 +1665,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1661
1665
|
}
|
|
1662
1666
|
},
|
|
1663
1667
|
methods: {}
|
|
1664
|
-
},
|
|
1668
|
+
}, ns = /* @__PURE__ */ t("svg", {
|
|
1665
1669
|
"aria-hidden": "true",
|
|
1666
1670
|
role: "status",
|
|
1667
1671
|
class: "inline w-4 h-4 me-3 animate-spin",
|
|
@@ -1678,14 +1682,14 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1678
1682
|
fill: "#1C64F2"
|
|
1679
1683
|
})
|
|
1680
1684
|
], -1);
|
|
1681
|
-
function
|
|
1685
|
+
function os(e, r, s, n, o, a) {
|
|
1682
1686
|
return s.is_loading ? (d(), Z(le("button"), {
|
|
1683
1687
|
key: 1,
|
|
1684
1688
|
disabled: "",
|
|
1685
1689
|
class: p(`flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`)
|
|
1686
1690
|
}, {
|
|
1687
1691
|
default: ie(() => [
|
|
1688
|
-
|
|
1692
|
+
ns,
|
|
1689
1693
|
$(" Loading... ")
|
|
1690
1694
|
]),
|
|
1691
1695
|
_: 1
|
|
@@ -1707,7 +1711,7 @@ function ls(e, r, s, n, o, a) {
|
|
|
1707
1711
|
_: 3
|
|
1708
1712
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1709
1713
|
}
|
|
1710
|
-
const
|
|
1714
|
+
const vc = /* @__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" }, xc = {
|
|
1711
1715
|
__name: "GlTextareaTranslate",
|
|
1712
1716
|
props: {
|
|
1713
1717
|
is_required: {
|
|
@@ -1781,7 +1785,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1781
1785
|
key: 0,
|
|
1782
1786
|
class: p(e.field_name)
|
|
1783
1787
|
}, [
|
|
1784
|
-
t("h3",
|
|
1788
|
+
t("h3", ls, h(e.label_name), 1),
|
|
1785
1789
|
P(t("input", {
|
|
1786
1790
|
type: "hidden",
|
|
1787
1791
|
"data-i18n": "true",
|
|
@@ -1790,14 +1794,14 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1790
1794
|
ref_key: "input_translate",
|
|
1791
1795
|
ref: i,
|
|
1792
1796
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
|
|
1793
|
-
}, null, 8,
|
|
1797
|
+
}, null, 8, is), [
|
|
1794
1798
|
[U, l.inputTranslateValue]
|
|
1795
1799
|
]),
|
|
1796
1800
|
t("p", {
|
|
1797
1801
|
id: e.field_name,
|
|
1798
1802
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1799
|
-
}, h(e.model_value), 9,
|
|
1800
|
-
|
|
1803
|
+
}, h(e.model_value), 9, ds),
|
|
1804
|
+
us
|
|
1801
1805
|
], 2)) : g("", !0),
|
|
1802
1806
|
e.show ? g("", !0) : (d(), u("div", {
|
|
1803
1807
|
key: 1,
|
|
@@ -1810,8 +1814,8 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1810
1814
|
required: e.is_required
|
|
1811
1815
|
}),
|
|
1812
1816
|
for: e.field_name
|
|
1813
|
-
}, h(e.label_name), 11,
|
|
1814
|
-
|
|
1817
|
+
}, h(e.label_name), 11, cs),
|
|
1818
|
+
gs,
|
|
1815
1819
|
t("input", {
|
|
1816
1820
|
class: "mb-4",
|
|
1817
1821
|
type: "hidden",
|
|
@@ -1821,7 +1825,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1821
1825
|
onInput: c[1] || (c[1] = (f) => l.$emit("update:modelValueTranslate", f.target.value)),
|
|
1822
1826
|
ref_key: "input_translate",
|
|
1823
1827
|
ref: i
|
|
1824
|
-
}, null, 40,
|
|
1828
|
+
}, null, 40, fs),
|
|
1825
1829
|
t("textarea", {
|
|
1826
1830
|
required: e.is_required,
|
|
1827
1831
|
name: e.field_name,
|
|
@@ -1837,13 +1841,13 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1837
1841
|
ref: a,
|
|
1838
1842
|
rows: "4"
|
|
1839
1843
|
}, `
|
|
1840
|
-
`, 42,
|
|
1841
|
-
t("span",
|
|
1842
|
-
t("small",
|
|
1844
|
+
`, 42, hs),
|
|
1845
|
+
t("span", ms, h(e.error_message), 1),
|
|
1846
|
+
t("small", bs, h(e.description), 1)
|
|
1843
1847
|
], 2))
|
|
1844
1848
|
], 64));
|
|
1845
1849
|
}
|
|
1846
|
-
},
|
|
1850
|
+
}, 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" }, wc = {
|
|
1847
1851
|
__name: "GlTinymceTranslate",
|
|
1848
1852
|
props: {
|
|
1849
1853
|
is_required: {
|
|
@@ -1921,7 +1925,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1921
1925
|
key: 0,
|
|
1922
1926
|
class: p(e.field_name)
|
|
1923
1927
|
}, [
|
|
1924
|
-
t("h3",
|
|
1928
|
+
t("h3", ps, h(e.label_name), 1),
|
|
1925
1929
|
P(t("input", {
|
|
1926
1930
|
type: "hidden",
|
|
1927
1931
|
"data-i18n": "true",
|
|
@@ -1930,14 +1934,14 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1930
1934
|
ref_key: "input_translate",
|
|
1931
1935
|
ref: i,
|
|
1932
1936
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
|
|
1933
|
-
}, null, 8,
|
|
1937
|
+
}, null, 8, ys), [
|
|
1934
1938
|
[U, l.inputTranslateValue]
|
|
1935
1939
|
]),
|
|
1936
1940
|
t("p", {
|
|
1937
1941
|
id: e.field_name,
|
|
1938
1942
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1939
|
-
}, h(e.model_value), 9,
|
|
1940
|
-
|
|
1943
|
+
}, h(e.model_value), 9, _s),
|
|
1944
|
+
vs
|
|
1941
1945
|
], 2)) : g("", !0),
|
|
1942
1946
|
e.show ? g("", !0) : (d(), u("div", {
|
|
1943
1947
|
key: 1,
|
|
@@ -1950,8 +1954,8 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1950
1954
|
required: e.is_required
|
|
1951
1955
|
}),
|
|
1952
1956
|
for: e.field_name
|
|
1953
|
-
}, h(e.label_name), 11,
|
|
1954
|
-
|
|
1957
|
+
}, h(e.label_name), 11, xs),
|
|
1958
|
+
ws,
|
|
1955
1959
|
t("input", {
|
|
1956
1960
|
class: "mb-4",
|
|
1957
1961
|
type: "hidden",
|
|
@@ -1961,7 +1965,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1961
1965
|
onInput: c[1] || (c[1] = (f) => l.$emit("update:modelValueTranslate", f.target.value)),
|
|
1962
1966
|
ref_key: "input_translate",
|
|
1963
1967
|
ref: i
|
|
1964
|
-
}, null, 40,
|
|
1968
|
+
}, null, 40, ks),
|
|
1965
1969
|
t("textarea", {
|
|
1966
1970
|
name: e.field_name,
|
|
1967
1971
|
id: e.field_name,
|
|
@@ -1976,13 +1980,13 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1976
1980
|
ref: a,
|
|
1977
1981
|
rows: "4"
|
|
1978
1982
|
}, `
|
|
1979
|
-
`, 42,
|
|
1980
|
-
t("span",
|
|
1981
|
-
t("small",
|
|
1983
|
+
`, 42, $s),
|
|
1984
|
+
t("span", Cs, h(e.error_message), 1),
|
|
1985
|
+
t("small", Ss, h(e.description), 1)
|
|
1982
1986
|
], 2))
|
|
1983
1987
|
], 64));
|
|
1984
1988
|
}
|
|
1985
|
-
},
|
|
1989
|
+
}, Ds = { class: "font-bold ptext-lg dark:text-white" }, Os = ["name", "id"], As = ["id"], Ps = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), js = ["for"], Es = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ls = ["name", "id"], Ts = ["required", "name", "id", "type"], Ms = { class: "gl-span-form-error" }, Is = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, kc = {
|
|
1986
1990
|
__name: "GlTextTranslate",
|
|
1987
1991
|
props: {
|
|
1988
1992
|
is_required: {
|
|
@@ -2056,7 +2060,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2056
2060
|
key: 0,
|
|
2057
2061
|
class: p(e.field_name)
|
|
2058
2062
|
}, [
|
|
2059
|
-
t("h3",
|
|
2063
|
+
t("h3", Ds, h(e.label_name), 1),
|
|
2060
2064
|
P(t("input", {
|
|
2061
2065
|
type: "hidden",
|
|
2062
2066
|
"data-i18n": "true",
|
|
@@ -2064,14 +2068,14 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2064
2068
|
id: e.field_name + "_i18n",
|
|
2065
2069
|
ref: "input_translate_s",
|
|
2066
2070
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
|
|
2067
|
-
}, null, 8,
|
|
2071
|
+
}, null, 8, Os), [
|
|
2068
2072
|
[U, l.inputTranslateValue]
|
|
2069
2073
|
]),
|
|
2070
2074
|
t("p", {
|
|
2071
2075
|
id: e.field_name,
|
|
2072
2076
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2073
|
-
}, h(e.model_value), 9,
|
|
2074
|
-
|
|
2077
|
+
}, h(e.model_value), 9, As),
|
|
2078
|
+
Ps
|
|
2075
2079
|
], 2)) : g("", !0),
|
|
2076
2080
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2077
2081
|
key: 1,
|
|
@@ -2084,8 +2088,8 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2084
2088
|
required: e.is_required
|
|
2085
2089
|
}),
|
|
2086
2090
|
for: e.field_name
|
|
2087
|
-
}, h(e.label_name), 11,
|
|
2088
|
-
|
|
2091
|
+
}, h(e.label_name), 11, js),
|
|
2092
|
+
Es,
|
|
2089
2093
|
t("input", {
|
|
2090
2094
|
class: "mb-4",
|
|
2091
2095
|
type: "hidden",
|
|
@@ -2095,7 +2099,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2095
2099
|
onInput: c[1] || (c[1] = (f) => l.$emit("update:modelValueTranslate", f.target.value)),
|
|
2096
2100
|
ref_key: "input_translate",
|
|
2097
2101
|
ref: i
|
|
2098
|
-
}, null, 40,
|
|
2102
|
+
}, null, 40, Ls),
|
|
2099
2103
|
t("input", {
|
|
2100
2104
|
required: e.is_required,
|
|
2101
2105
|
name: e.field_name,
|
|
@@ -2109,13 +2113,13 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2109
2113
|
onKeydown: c[3] || (c[3] = (f) => l.$emit("keydown", f)),
|
|
2110
2114
|
ref_key: "input",
|
|
2111
2115
|
ref: a
|
|
2112
|
-
}, null, 42,
|
|
2113
|
-
t("span",
|
|
2114
|
-
t("small",
|
|
2116
|
+
}, null, 42, Ts),
|
|
2117
|
+
t("span", Ms, h(e.error_message), 1),
|
|
2118
|
+
t("small", Is, h(e.description), 1)
|
|
2115
2119
|
], 2))
|
|
2116
2120
|
], 64));
|
|
2117
2121
|
}
|
|
2118
|
-
},
|
|
2122
|
+
}, 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" }, $c = {
|
|
2119
2123
|
__name: "GlTextInput",
|
|
2120
2124
|
props: {
|
|
2121
2125
|
is_required: {
|
|
@@ -2165,7 +2169,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2165
2169
|
R(() => {
|
|
2166
2170
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
|
|
2167
2171
|
});
|
|
2168
|
-
const i =
|
|
2172
|
+
const i = j({
|
|
2169
2173
|
get() {
|
|
2170
2174
|
return n.modelValue;
|
|
2171
2175
|
},
|
|
@@ -2178,9 +2182,9 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2178
2182
|
key: 0,
|
|
2179
2183
|
class: p(e.field_name)
|
|
2180
2184
|
}, [
|
|
2181
|
-
t("h3",
|
|
2182
|
-
t("p",
|
|
2183
|
-
|
|
2185
|
+
t("h3", Ns, h(e.label_name), 1),
|
|
2186
|
+
t("p", Vs, h(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
|
|
2187
|
+
Bs
|
|
2184
2188
|
], 2)) : g("", !0),
|
|
2185
2189
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2186
2190
|
key: 1,
|
|
@@ -2193,7 +2197,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2193
2197
|
required: e.is_required
|
|
2194
2198
|
}),
|
|
2195
2199
|
for: e.field_name
|
|
2196
|
-
}, h(e.label_name), 11,
|
|
2200
|
+
}, h(e.label_name), 11, Gs),
|
|
2197
2201
|
P(t("input", {
|
|
2198
2202
|
required: e.is_required,
|
|
2199
2203
|
name: e.field_name,
|
|
@@ -2208,15 +2212,15 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2208
2212
|
ref_key: "input",
|
|
2209
2213
|
ref: a,
|
|
2210
2214
|
placeholder: e.placeholder
|
|
2211
|
-
}, null, 42,
|
|
2215
|
+
}, null, 42, Us), [
|
|
2212
2216
|
[at, i.value]
|
|
2213
2217
|
]),
|
|
2214
|
-
t("span",
|
|
2215
|
-
t("small",
|
|
2218
|
+
t("span", Fs, h(e.error_message), 1),
|
|
2219
|
+
t("small", Rs, h(e.description), 1)
|
|
2216
2220
|
], 2))
|
|
2217
2221
|
], 64));
|
|
2218
2222
|
}
|
|
2219
|
-
},
|
|
2223
|
+
}, qs = {
|
|
2220
2224
|
setup(e, { slots: r }) {
|
|
2221
2225
|
const s = C(r.default().map((o) => o.props));
|
|
2222
2226
|
console.log(r.default());
|
|
@@ -2226,12 +2230,12 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2226
2230
|
selectedTitle: n
|
|
2227
2231
|
};
|
|
2228
2232
|
}
|
|
2229
|
-
},
|
|
2230
|
-
function
|
|
2233
|
+
}, Hs = { class: "flex flex-wrap" }, zs = { class: "w-full" }, Zs = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, Ks = ["onClick"], Ws = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, Ys = { class: "flex-auto px-4 py-5" }, Xs = { class: "tab-content tab-space" };
|
|
2234
|
+
function Js(e, r, s, n, o, a) {
|
|
2231
2235
|
return d(), u(w, null, [
|
|
2232
|
-
t("div",
|
|
2233
|
-
t("div",
|
|
2234
|
-
t("ul",
|
|
2236
|
+
t("div", Hs, [
|
|
2237
|
+
t("div", zs, [
|
|
2238
|
+
t("ul", Zs, [
|
|
2235
2239
|
(d(!0), u(w, null, D(n.tabs, (i) => (d(), u("li", {
|
|
2236
2240
|
key: i.title,
|
|
2237
2241
|
onClick: (l) => n.selectedTitle = i.title,
|
|
@@ -2245,36 +2249,36 @@ function Qs(e, r, s, n, o, a) {
|
|
|
2245
2249
|
}, null, 2),
|
|
2246
2250
|
$(" " + h(i.title), 1)
|
|
2247
2251
|
], 2)
|
|
2248
|
-
], 8,
|
|
2252
|
+
], 8, Ks))), 128))
|
|
2249
2253
|
])
|
|
2250
2254
|
])
|
|
2251
2255
|
]),
|
|
2252
|
-
t("div",
|
|
2253
|
-
t("div",
|
|
2254
|
-
t("div",
|
|
2256
|
+
t("div", Ws, [
|
|
2257
|
+
t("div", Ys, [
|
|
2258
|
+
t("div", Xs, [
|
|
2255
2259
|
I(e.$slots, "default")
|
|
2256
2260
|
])
|
|
2257
2261
|
])
|
|
2258
2262
|
])
|
|
2259
2263
|
], 64);
|
|
2260
2264
|
}
|
|
2261
|
-
const
|
|
2265
|
+
const Cc = /* @__PURE__ */ O(qs, [["render", Js]]), Qs = {
|
|
2262
2266
|
props: ["title"],
|
|
2263
2267
|
setup() {
|
|
2264
2268
|
return {
|
|
2265
2269
|
selectedTitle: xe("selectedTitle")
|
|
2266
2270
|
};
|
|
2267
2271
|
}
|
|
2268
|
-
},
|
|
2272
|
+
}, ea = {
|
|
2269
2273
|
key: 0,
|
|
2270
2274
|
class: "block"
|
|
2271
2275
|
};
|
|
2272
|
-
function
|
|
2273
|
-
return s.title == n.selectedTitle ? (d(), u("div",
|
|
2276
|
+
function ta(e, r, s, n, o, a) {
|
|
2277
|
+
return s.title == n.selectedTitle ? (d(), u("div", ea, [
|
|
2274
2278
|
I(e.$slots, "default")
|
|
2275
2279
|
])) : g("", !0);
|
|
2276
2280
|
}
|
|
2277
|
-
const
|
|
2281
|
+
const Sc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
|
|
2278
2282
|
props: {
|
|
2279
2283
|
elements_to_show_prop: {
|
|
2280
2284
|
type: Number,
|
|
@@ -2373,10 +2377,10 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2373
2377
|
this.direction_property == "rtl" ? r.style.marginRight = -this.dotsNavigation[e - 1] + "px" : r.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
|
|
2374
2378
|
}
|
|
2375
2379
|
}
|
|
2376
|
-
}, M = (e) => (nt("data-v-a94f16a9"), e = e(), ot(), e),
|
|
2380
|
+
}, M = (e) => (nt("data-v-a94f16a9"), e = e(), ot(), e), sa = ["id"], aa = {
|
|
2377
2381
|
key: 0,
|
|
2378
2382
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2379
|
-
},
|
|
2383
|
+
}, na = { class: "w-full" }, oa = {
|
|
2380
2384
|
key: 0,
|
|
2381
2385
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2382
2386
|
class: "w-6 h-6",
|
|
@@ -2384,13 +2388,13 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2384
2388
|
viewBox: "0 0 24 24",
|
|
2385
2389
|
stroke: "currentColor",
|
|
2386
2390
|
"stroke-width": "2"
|
|
2387
|
-
},
|
|
2391
|
+
}, la = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2388
2392
|
"stroke-linecap": "round",
|
|
2389
2393
|
"stroke-linejoin": "round",
|
|
2390
2394
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2391
|
-
}, null, -1)),
|
|
2392
|
-
|
|
2393
|
-
],
|
|
2395
|
+
}, null, -1)), ia = [
|
|
2396
|
+
la
|
|
2397
|
+
], da = {
|
|
2394
2398
|
key: 1,
|
|
2395
2399
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2396
2400
|
class: "w-6 h-6",
|
|
@@ -2398,13 +2402,13 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2398
2402
|
viewBox: "0 0 24 24",
|
|
2399
2403
|
stroke: "currentColor",
|
|
2400
2404
|
"stroke-width": "2"
|
|
2401
|
-
},
|
|
2405
|
+
}, ua = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2402
2406
|
"stroke-linecap": "round",
|
|
2403
2407
|
"stroke-linejoin": "round",
|
|
2404
2408
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2405
|
-
}, null, -1)),
|
|
2406
|
-
|
|
2407
|
-
],
|
|
2409
|
+
}, null, -1)), ca = [
|
|
2410
|
+
ua
|
|
2411
|
+
], ga = ["id"], fa = ["id"], ha = { class: "w-full" }, ma = {
|
|
2408
2412
|
key: 0,
|
|
2409
2413
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2410
2414
|
class: "w-6 h-6",
|
|
@@ -2412,13 +2416,13 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2412
2416
|
viewBox: "0 0 24 24",
|
|
2413
2417
|
stroke: "currentColor",
|
|
2414
2418
|
"stroke-width": "2"
|
|
2415
|
-
},
|
|
2419
|
+
}, ba = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2416
2420
|
"stroke-linecap": "round",
|
|
2417
2421
|
"stroke-linejoin": "round",
|
|
2418
2422
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2419
|
-
}, null, -1)),
|
|
2420
|
-
|
|
2421
|
-
],
|
|
2423
|
+
}, null, -1)), pa = [
|
|
2424
|
+
ba
|
|
2425
|
+
], ya = {
|
|
2422
2426
|
key: 1,
|
|
2423
2427
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2424
2428
|
class: "w-6 h-6",
|
|
@@ -2426,13 +2430,13 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2426
2430
|
viewBox: "0 0 24 24",
|
|
2427
2431
|
stroke: "currentColor",
|
|
2428
2432
|
"stroke-width": "2"
|
|
2429
|
-
},
|
|
2433
|
+
}, _a = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2430
2434
|
"stroke-linecap": "round",
|
|
2431
2435
|
"stroke-linejoin": "round",
|
|
2432
2436
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2433
|
-
}, null, -1)),
|
|
2434
|
-
|
|
2435
|
-
],
|
|
2437
|
+
}, null, -1)), va = [
|
|
2438
|
+
_a
|
|
2439
|
+
], xa = { class: "w-full" }, wa = {
|
|
2436
2440
|
key: 0,
|
|
2437
2441
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2438
2442
|
class: "w-6 h-6",
|
|
@@ -2440,13 +2444,13 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2440
2444
|
viewBox: "0 0 24 24",
|
|
2441
2445
|
stroke: "currentColor",
|
|
2442
2446
|
"stroke-width": "2"
|
|
2443
|
-
},
|
|
2447
|
+
}, ka = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2444
2448
|
"stroke-linecap": "round",
|
|
2445
2449
|
"stroke-linejoin": "round",
|
|
2446
2450
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2447
|
-
}, null, -1)),
|
|
2448
|
-
|
|
2449
|
-
],
|
|
2451
|
+
}, null, -1)), $a = [
|
|
2452
|
+
ka
|
|
2453
|
+
], Ca = {
|
|
2450
2454
|
key: 1,
|
|
2451
2455
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2452
2456
|
class: "w-6 h-6",
|
|
@@ -2454,23 +2458,23 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2454
2458
|
viewBox: "0 0 24 24",
|
|
2455
2459
|
stroke: "currentColor",
|
|
2456
2460
|
"stroke-width": "2"
|
|
2457
|
-
},
|
|
2461
|
+
}, Sa = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2458
2462
|
"stroke-linecap": "round",
|
|
2459
2463
|
"stroke-linejoin": "round",
|
|
2460
2464
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2461
|
-
}, null, -1)),
|
|
2462
|
-
|
|
2463
|
-
],
|
|
2464
|
-
|
|
2465
|
-
],
|
|
2465
|
+
}, null, -1)), Da = [
|
|
2466
|
+
Sa
|
|
2467
|
+
], Oa = ["onClick"], Aa = /* @__PURE__ */ M(() => /* @__PURE__ */ t("span", null, null, -1)), Pa = [
|
|
2468
|
+
Aa
|
|
2469
|
+
], ja = {
|
|
2466
2470
|
key: 1,
|
|
2467
2471
|
class: "flex justify-between pl-5 pr-5"
|
|
2468
|
-
},
|
|
2469
|
-
|
|
2470
|
-
],
|
|
2472
|
+
}, Ea = ["onClick"], La = /* @__PURE__ */ M(() => /* @__PURE__ */ t("span", null, null, -1)), Ta = [
|
|
2473
|
+
La
|
|
2474
|
+
], Ma = {
|
|
2471
2475
|
key: 0,
|
|
2472
2476
|
class: "flex"
|
|
2473
|
-
},
|
|
2477
|
+
}, Ia = { class: "flex items-center" }, Na = { class: "w-full" }, Va = {
|
|
2474
2478
|
key: 0,
|
|
2475
2479
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2476
2480
|
class: "w-6 h-6",
|
|
@@ -2478,13 +2482,13 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2478
2482
|
viewBox: "0 0 24 24",
|
|
2479
2483
|
stroke: "currentColor",
|
|
2480
2484
|
"stroke-width": "2"
|
|
2481
|
-
},
|
|
2485
|
+
}, Ba = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2482
2486
|
"stroke-linecap": "round",
|
|
2483
2487
|
"stroke-linejoin": "round",
|
|
2484
2488
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2485
|
-
}, null, -1)),
|
|
2486
|
-
|
|
2487
|
-
],
|
|
2489
|
+
}, null, -1)), Ga = [
|
|
2490
|
+
Ba
|
|
2491
|
+
], Ua = {
|
|
2488
2492
|
key: 1,
|
|
2489
2493
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2490
2494
|
class: "w-6 h-6",
|
|
@@ -2492,13 +2496,13 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2492
2496
|
viewBox: "0 0 24 24",
|
|
2493
2497
|
stroke: "currentColor",
|
|
2494
2498
|
"stroke-width": "2"
|
|
2495
|
-
},
|
|
2499
|
+
}, Fa = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2496
2500
|
"stroke-linecap": "round",
|
|
2497
2501
|
"stroke-linejoin": "round",
|
|
2498
2502
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2499
|
-
}, null, -1)),
|
|
2500
|
-
|
|
2501
|
-
],
|
|
2503
|
+
}, null, -1)), Ra = [
|
|
2504
|
+
Fa
|
|
2505
|
+
], qa = { class: "flex items-center" }, Ha = { class: "w-full" }, za = {
|
|
2502
2506
|
key: 0,
|
|
2503
2507
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2504
2508
|
class: "w-6 h-6",
|
|
@@ -2506,13 +2510,13 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2506
2510
|
viewBox: "0 0 24 24",
|
|
2507
2511
|
stroke: "currentColor",
|
|
2508
2512
|
"stroke-width": "2"
|
|
2509
|
-
},
|
|
2513
|
+
}, Za = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2510
2514
|
"stroke-linecap": "round",
|
|
2511
2515
|
"stroke-linejoin": "round",
|
|
2512
2516
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2513
|
-
}, null, -1)),
|
|
2514
|
-
|
|
2515
|
-
],
|
|
2517
|
+
}, null, -1)), Ka = [
|
|
2518
|
+
Za
|
|
2519
|
+
], Wa = {
|
|
2516
2520
|
key: 1,
|
|
2517
2521
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2518
2522
|
class: "w-6 h-6",
|
|
@@ -2520,16 +2524,16 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2520
2524
|
viewBox: "0 0 24 24",
|
|
2521
2525
|
stroke: "currentColor",
|
|
2522
2526
|
"stroke-width": "2"
|
|
2523
|
-
},
|
|
2527
|
+
}, Ya = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2524
2528
|
"stroke-linecap": "round",
|
|
2525
2529
|
"stroke-linejoin": "round",
|
|
2526
2530
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2527
|
-
}, null, -1)),
|
|
2528
|
-
|
|
2529
|
-
],
|
|
2531
|
+
}, null, -1)), Xa = [
|
|
2532
|
+
Ya
|
|
2533
|
+
], Ja = {
|
|
2530
2534
|
key: 1,
|
|
2531
2535
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2532
|
-
},
|
|
2536
|
+
}, Qa = { class: "w-full" }, en = {
|
|
2533
2537
|
key: 0,
|
|
2534
2538
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2535
2539
|
class: "w-6 h-6",
|
|
@@ -2537,13 +2541,13 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2537
2541
|
viewBox: "0 0 24 24",
|
|
2538
2542
|
stroke: "currentColor",
|
|
2539
2543
|
"stroke-width": "2"
|
|
2540
|
-
},
|
|
2544
|
+
}, tn = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2541
2545
|
"stroke-linecap": "round",
|
|
2542
2546
|
"stroke-linejoin": "round",
|
|
2543
2547
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2544
|
-
}, null, -1)),
|
|
2545
|
-
|
|
2546
|
-
],
|
|
2548
|
+
}, null, -1)), rn = [
|
|
2549
|
+
tn
|
|
2550
|
+
], sn = {
|
|
2547
2551
|
key: 1,
|
|
2548
2552
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2549
2553
|
class: "w-6 h-6",
|
|
@@ -2551,27 +2555,27 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2551
2555
|
viewBox: "0 0 24 24",
|
|
2552
2556
|
stroke: "currentColor",
|
|
2553
2557
|
"stroke-width": "2"
|
|
2554
|
-
},
|
|
2558
|
+
}, an = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2555
2559
|
"stroke-linecap": "round",
|
|
2556
2560
|
"stroke-linejoin": "round",
|
|
2557
2561
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2558
|
-
}, null, -1)),
|
|
2559
|
-
|
|
2562
|
+
}, null, -1)), nn = [
|
|
2563
|
+
an
|
|
2560
2564
|
];
|
|
2561
|
-
function
|
|
2565
|
+
function on(e, r, s, n, o, a) {
|
|
2562
2566
|
return d(), u("div", null, [
|
|
2563
2567
|
t("div", {
|
|
2564
2568
|
class: p(["", !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
2565
2569
|
id: "mainSliderContainer_" + e.Random_string
|
|
2566
2570
|
}, [
|
|
2567
|
-
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2568
|
-
t("div",
|
|
2571
|
+
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", aa, [
|
|
2572
|
+
t("div", na, [
|
|
2569
2573
|
t("button", {
|
|
2570
2574
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2571
2575
|
onClick: r[0] || (r[0] = (i) => a.prev())
|
|
2572
2576
|
}, [
|
|
2573
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2574
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2577
|
+
s.direction_property == "ltr" ? (d(), u("svg", oa, ia)) : g("", !0),
|
|
2578
|
+
s.direction_property == "rtl" ? (d(), u("svg", da, ca)) : g("", !0)
|
|
2575
2579
|
])
|
|
2576
2580
|
])
|
|
2577
2581
|
])) : g("", !0),
|
|
@@ -2587,13 +2591,13 @@ function ln(e, r, s, n, o, a) {
|
|
|
2587
2591
|
key: 0,
|
|
2588
2592
|
class: p(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", s.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
2589
2593
|
}, [
|
|
2590
|
-
t("div",
|
|
2594
|
+
t("div", ha, [
|
|
2591
2595
|
t("button", {
|
|
2592
2596
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2593
|
-
onClick: r[1] || (r[1] =
|
|
2597
|
+
onClick: r[1] || (r[1] = L((i) => a.prev(), ["stop"]))
|
|
2594
2598
|
}, [
|
|
2595
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2596
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2599
|
+
s.direction_property == "ltr" ? (d(), u("svg", ma, pa)) : g("", !0),
|
|
2600
|
+
s.direction_property == "rtl" ? (d(), u("svg", ya, va)) : g("", !0)
|
|
2597
2601
|
])
|
|
2598
2602
|
])
|
|
2599
2603
|
], 2)) : g("", !0),
|
|
@@ -2602,17 +2606,17 @@ function ln(e, r, s, n, o, a) {
|
|
|
2602
2606
|
key: 1,
|
|
2603
2607
|
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"])
|
|
2604
2608
|
}, [
|
|
2605
|
-
t("div",
|
|
2609
|
+
t("div", xa, [
|
|
2606
2610
|
t("button", {
|
|
2607
2611
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2608
|
-
onClick: r[2] || (r[2] =
|
|
2612
|
+
onClick: r[2] || (r[2] = L((i) => a.next(), ["stop"]))
|
|
2609
2613
|
}, [
|
|
2610
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2611
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2614
|
+
s.direction_property == "ltr" ? (d(), u("svg", wa, $a)) : g("", !0),
|
|
2615
|
+
s.direction_property == "rtl" ? (d(), u("svg", Ca, Da)) : g("", !0)
|
|
2612
2616
|
])
|
|
2613
2617
|
])
|
|
2614
2618
|
], 2)) : g("", !0)
|
|
2615
|
-
], 8,
|
|
2619
|
+
], 8, fa),
|
|
2616
2620
|
s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
|
|
2617
2621
|
key: 0,
|
|
2618
2622
|
class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
@@ -2622,9 +2626,9 @@ function ln(e, r, s, n, o, a) {
|
|
|
2622
2626
|
class: p(["gl-dot", { active: e.currentDot == i }]),
|
|
2623
2627
|
key: i,
|
|
2624
2628
|
onClick: (l) => a.setDot(i)
|
|
2625
|
-
},
|
|
2629
|
+
}, Pa, 10, Oa))), 128))
|
|
2626
2630
|
], 2)) : g("", !0),
|
|
2627
|
-
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div",
|
|
2631
|
+
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", ja, [
|
|
2628
2632
|
t("div", {
|
|
2629
2633
|
class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2630
2634
|
}, [
|
|
@@ -2633,53 +2637,53 @@ function ln(e, r, s, n, o, a) {
|
|
|
2633
2637
|
class: p(["gl-dot", { active: e.currentDot == i }]),
|
|
2634
2638
|
key: i,
|
|
2635
2639
|
onClick: (l) => a.setDot(i)
|
|
2636
|
-
},
|
|
2640
|
+
}, Ta, 10, Ea))), 128))
|
|
2637
2641
|
], 2),
|
|
2638
|
-
e.dotsNum > 0 ? (d(), u("div",
|
|
2639
|
-
t("div",
|
|
2640
|
-
t("div",
|
|
2642
|
+
e.dotsNum > 0 ? (d(), u("div", Ma, [
|
|
2643
|
+
t("div", Ia, [
|
|
2644
|
+
t("div", Na, [
|
|
2641
2645
|
t("button", {
|
|
2642
2646
|
class: p(["p-3 rounded-full arrow_button_styles", s.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2643
2647
|
onClick: r[3] || (r[3] = (i) => a.prev())
|
|
2644
2648
|
}, [
|
|
2645
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2646
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2649
|
+
s.direction_property == "ltr" ? (d(), u("svg", Va, Ga)) : g("", !0),
|
|
2650
|
+
s.direction_property == "rtl" ? (d(), u("svg", Ua, Ra)) : g("", !0)
|
|
2647
2651
|
], 2)
|
|
2648
2652
|
])
|
|
2649
2653
|
]),
|
|
2650
|
-
t("div",
|
|
2651
|
-
t("div",
|
|
2654
|
+
t("div", qa, [
|
|
2655
|
+
t("div", Ha, [
|
|
2652
2656
|
t("button", {
|
|
2653
2657
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2654
2658
|
onClick: r[4] || (r[4] = (i) => a.next())
|
|
2655
2659
|
}, [
|
|
2656
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2657
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2660
|
+
s.direction_property == "ltr" ? (d(), u("svg", za, Ka)) : g("", !0),
|
|
2661
|
+
s.direction_property == "rtl" ? (d(), u("svg", Wa, Xa)) : g("", !0)
|
|
2658
2662
|
])
|
|
2659
2663
|
])
|
|
2660
2664
|
])
|
|
2661
2665
|
])) : g("", !0)
|
|
2662
2666
|
])) : g("", !0)
|
|
2663
|
-
], 10,
|
|
2664
|
-
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2665
|
-
t("div",
|
|
2667
|
+
], 10, ga),
|
|
2668
|
+
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", Ja, [
|
|
2669
|
+
t("div", Qa, [
|
|
2666
2670
|
t("button", {
|
|
2667
2671
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2668
2672
|
onClick: r[5] || (r[5] = (i) => a.next())
|
|
2669
2673
|
}, [
|
|
2670
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2671
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2674
|
+
s.direction_property == "ltr" ? (d(), u("svg", en, rn)) : g("", !0),
|
|
2675
|
+
s.direction_property == "rtl" ? (d(), u("svg", sn, nn)) : g("", !0)
|
|
2672
2676
|
])
|
|
2673
2677
|
])
|
|
2674
2678
|
])) : g("", !0)
|
|
2675
|
-
], 10,
|
|
2679
|
+
], 10, sa)
|
|
2676
2680
|
]);
|
|
2677
2681
|
}
|
|
2678
|
-
const
|
|
2682
|
+
const Dc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9"]]), ln = {
|
|
2679
2683
|
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",
|
|
2680
2684
|
tabindex: "-1",
|
|
2681
2685
|
"aria-hidden": "true"
|
|
2682
|
-
},
|
|
2686
|
+
}, dn = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, un = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, cn = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, gn = /* @__PURE__ */ t("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2683
2687
|
/* @__PURE__ */ t("svg", {
|
|
2684
2688
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2685
2689
|
fill: "currentColor",
|
|
@@ -2693,9 +2697,9 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2693
2697
|
d: "M6 18L18 6M6 6l12 12"
|
|
2694
2698
|
})
|
|
2695
2699
|
])
|
|
2696
|
-
], -1),
|
|
2697
|
-
|
|
2698
|
-
],
|
|
2700
|
+
], -1), fn = [
|
|
2701
|
+
gn
|
|
2702
|
+
], 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" }, Oc = {
|
|
2699
2703
|
__name: "GlModal",
|
|
2700
2704
|
props: {
|
|
2701
2705
|
is_open: {
|
|
@@ -2730,26 +2734,26 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2730
2734
|
l ? o() : a();
|
|
2731
2735
|
},
|
|
2732
2736
|
{ immediate: !0, deep: !0 }
|
|
2733
|
-
), (l, c) => P((d(), u("div",
|
|
2737
|
+
), (l, c) => P((d(), u("div", ln, [
|
|
2734
2738
|
t("div", {
|
|
2735
2739
|
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])
|
|
2736
2740
|
}, [
|
|
2737
|
-
t("div",
|
|
2738
|
-
t("div",
|
|
2739
|
-
t("h5",
|
|
2741
|
+
t("div", dn, [
|
|
2742
|
+
t("div", un, [
|
|
2743
|
+
t("h5", cn, h(e.title), 1),
|
|
2740
2744
|
t("button", {
|
|
2741
2745
|
type: "button",
|
|
2742
2746
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2743
2747
|
onClick: i,
|
|
2744
2748
|
"aria-label": "Close"
|
|
2745
|
-
},
|
|
2749
|
+
}, fn)
|
|
2746
2750
|
]),
|
|
2747
2751
|
t("div", {
|
|
2748
2752
|
class: p(["relative overflow-y-auto", e.bodyClass])
|
|
2749
2753
|
}, [
|
|
2750
2754
|
I(l.$slots, "body")
|
|
2751
2755
|
], 2),
|
|
2752
|
-
t("div",
|
|
2756
|
+
t("div", hn, [
|
|
2753
2757
|
I(l.$slots, "buttons"),
|
|
2754
2758
|
t("button", {
|
|
2755
2759
|
onClick: i,
|
|
@@ -2763,10 +2767,10 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2763
2767
|
[Q, e.is_open]
|
|
2764
2768
|
]);
|
|
2765
2769
|
}
|
|
2766
|
-
},
|
|
2770
|
+
}, 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 = {
|
|
2767
2771
|
key: 0,
|
|
2768
2772
|
class: "flex justify-between items-center"
|
|
2769
|
-
},
|
|
2773
|
+
}, 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" }, Ac = {
|
|
2770
2774
|
__name: "GlToggleBox",
|
|
2771
2775
|
props: {
|
|
2772
2776
|
is_required: {
|
|
@@ -2812,7 +2816,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2812
2816
|
},
|
|
2813
2817
|
emits: ["update:modelValue"],
|
|
2814
2818
|
setup(e, { emit: r }) {
|
|
2815
|
-
const s = e, n = r, o = C(null), a =
|
|
2819
|
+
const s = e, n = r, o = C(null), a = j({
|
|
2816
2820
|
get() {
|
|
2817
2821
|
return s.modelValue;
|
|
2818
2822
|
},
|
|
@@ -2826,9 +2830,9 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2826
2830
|
class: p(e.field_name)
|
|
2827
2831
|
}, [
|
|
2828
2832
|
t("div", null, [
|
|
2829
|
-
t("li",
|
|
2833
|
+
t("li", mn, [
|
|
2830
2834
|
$(h(e.label_name) + " ", 1),
|
|
2831
|
-
t("label",
|
|
2835
|
+
t("label", bn, [
|
|
2832
2836
|
t("input", {
|
|
2833
2837
|
type: "checkbox",
|
|
2834
2838
|
class: "sr-only peer",
|
|
@@ -2840,23 +2844,23 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2840
2844
|
ref_key: "input",
|
|
2841
2845
|
ref: o,
|
|
2842
2846
|
disabled: ""
|
|
2843
|
-
}, null, 8,
|
|
2844
|
-
|
|
2847
|
+
}, null, 8, pn),
|
|
2848
|
+
yn
|
|
2845
2849
|
])
|
|
2846
2850
|
])
|
|
2847
2851
|
]),
|
|
2848
|
-
|
|
2852
|
+
_n
|
|
2849
2853
|
], 2)) : g("", !0),
|
|
2850
2854
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2851
2855
|
key: 1,
|
|
2852
2856
|
class: p(e.field_name)
|
|
2853
2857
|
}, [
|
|
2854
|
-
e.has_label_up ? (d(), u("div",
|
|
2855
|
-
t("label",
|
|
2858
|
+
e.has_label_up ? (d(), u("div", vn, [
|
|
2859
|
+
t("label", xn, h(e.label_name), 1)
|
|
2856
2860
|
])) : g("", !0),
|
|
2857
|
-
t("li",
|
|
2861
|
+
t("li", wn, [
|
|
2858
2862
|
$(h(e.label_name) + " ", 1),
|
|
2859
|
-
t("label",
|
|
2863
|
+
t("label", kn, [
|
|
2860
2864
|
P(t("input", {
|
|
2861
2865
|
type: "checkbox",
|
|
2862
2866
|
class: "sr-only peer",
|
|
@@ -2867,24 +2871,24 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2867
2871
|
ref_key: "input",
|
|
2868
2872
|
ref: o,
|
|
2869
2873
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => a.value = c)
|
|
2870
|
-
}, null, 8,
|
|
2874
|
+
}, null, 8, $n), [
|
|
2871
2875
|
[lt, a.value]
|
|
2872
2876
|
]),
|
|
2873
|
-
|
|
2877
|
+
Cn
|
|
2874
2878
|
])
|
|
2875
2879
|
]),
|
|
2876
|
-
t("span",
|
|
2877
|
-
t("small",
|
|
2880
|
+
t("span", Sn, h(e.error_message), 1),
|
|
2881
|
+
t("small", Dn, h(e.description), 1)
|
|
2878
2882
|
], 2))
|
|
2879
2883
|
], 64));
|
|
2880
2884
|
}
|
|
2881
|
-
},
|
|
2885
|
+
}, On = { class: "font-bold ptext-lg dark:text-white" }, An = { class: "mt-3 mb-4" }, Pn = { 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"], Ln = {
|
|
2882
2886
|
key: 0,
|
|
2883
2887
|
class: "dropdown"
|
|
2884
|
-
},
|
|
2888
|
+
}, Tn = { 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", {
|
|
2885
2889
|
for: "default-search",
|
|
2886
2890
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2887
|
-
}, "Search", -1),
|
|
2891
|
+
}, "Search", -1), Gn = { class: "relative" }, Un = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
2888
2892
|
/* @__PURE__ */ t("svg", {
|
|
2889
2893
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
2890
2894
|
"aria-hidden": "true",
|
|
@@ -2900,22 +2904,22 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2900
2904
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
2901
2905
|
})
|
|
2902
2906
|
])
|
|
2903
|
-
], -1),
|
|
2907
|
+
], -1), Fn = ["id"], Rn = { class: "overflow-y-auto max-h-64" }, qn = ["onClick", "onMousedown", "id"], Hn = { class: "flex items-center py-2 pl-10 pr-4" }, zn = {
|
|
2904
2908
|
key: 0,
|
|
2905
2909
|
class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
|
|
2906
2910
|
"aria-hidden": "true",
|
|
2907
2911
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2908
2912
|
fill: "none",
|
|
2909
2913
|
viewBox: "0 0 16 12"
|
|
2910
|
-
},
|
|
2914
|
+
}, Zn = /* @__PURE__ */ t("path", {
|
|
2911
2915
|
stroke: "currentColor",
|
|
2912
2916
|
"stroke-linecap": "round",
|
|
2913
2917
|
"stroke-linejoin": "round",
|
|
2914
2918
|
"stroke-width": "2",
|
|
2915
2919
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2916
|
-
}, null, -1),
|
|
2917
|
-
|
|
2918
|
-
],
|
|
2920
|
+
}, null, -1), Kn = [
|
|
2921
|
+
Zn
|
|
2922
|
+
], Wn = ["innerHTML"], Yn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Xn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Pc = {
|
|
2919
2923
|
__name: "GlDropdown",
|
|
2920
2924
|
props: {
|
|
2921
2925
|
modelValue: {
|
|
@@ -2983,11 +2987,11 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2983
2987
|
y.key === "Enter" && y.target.form && y.preventDefault();
|
|
2984
2988
|
}));
|
|
2985
2989
|
});
|
|
2986
|
-
const m =
|
|
2990
|
+
const m = j(() => fe()), _ = j(() => he()), v = j(() => {
|
|
2987
2991
|
const y = [], A = new RegExp(c.value, "ig");
|
|
2988
|
-
for (const
|
|
2989
|
-
const F = String(
|
|
2990
|
-
(c.value.length < 1 || F.match(A)) && y.length < s.maxItem && y.push(
|
|
2992
|
+
for (const E of m.value) {
|
|
2993
|
+
const F = String(E.name);
|
|
2994
|
+
(c.value.length < 1 || F.match(A)) && y.length < s.maxItem && y.push(E);
|
|
2991
2995
|
}
|
|
2992
2996
|
return y;
|
|
2993
2997
|
});
|
|
@@ -3008,9 +3012,9 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3008
3012
|
let y = (/* @__PURE__ */ new Date()).getTime();
|
|
3009
3013
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
3010
3014
|
/[xy]/g,
|
|
3011
|
-
function(
|
|
3015
|
+
function(E) {
|
|
3012
3016
|
const F = (y + Math.random() * 16) % 16 | 0;
|
|
3013
|
-
return y = Math.floor(y / 16), (
|
|
3017
|
+
return y = Math.floor(y / 16), (E === "x" ? F : F & 3 | 8).toString(16);
|
|
3014
3018
|
}
|
|
3015
3019
|
);
|
|
3016
3020
|
}
|
|
@@ -3021,12 +3025,12 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3021
3025
|
y.target.id != s.field_name + "search" + f.value && y.target.id != s.field_name && !y.target.classList.contains("showOptions") && (oe(), i.value = 0);
|
|
3022
3026
|
}
|
|
3023
3027
|
function re(y) {
|
|
3024
|
-
const A = `${y}${f.value}`,
|
|
3025
|
-
|
|
3028
|
+
const A = `${y}${f.value}`, E = document.getElementById(A);
|
|
3029
|
+
E && E.scrollIntoView();
|
|
3026
3030
|
}
|
|
3027
3031
|
function ce(y) {
|
|
3028
|
-
const A = `${y}${f.value}`,
|
|
3029
|
-
|
|
3032
|
+
const A = `${y}${f.value}`, E = document.getElementById(A);
|
|
3033
|
+
E && E.click();
|
|
3030
3034
|
}
|
|
3031
3035
|
function ge(y) {
|
|
3032
3036
|
y === "ArrowDown" && i.value < v.value.length && (i.value++, re(i.value)), y === "ArrowUp" && i.value > 1 && (i.value--, re(i.value)), y === "Enter" && ce(i.value);
|
|
@@ -3070,17 +3074,17 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3070
3074
|
}), H(a, (y) => {
|
|
3071
3075
|
ee(y) && n("update:modelValue", y.id);
|
|
3072
3076
|
}), (y, A) => {
|
|
3073
|
-
var
|
|
3077
|
+
var E, F, se;
|
|
3074
3078
|
return d(), u(w, null, [
|
|
3075
3079
|
e.show ? (d(), u("div", {
|
|
3076
3080
|
key: 0,
|
|
3077
3081
|
class: p(e.field_name)
|
|
3078
3082
|
}, [
|
|
3079
|
-
t("h3",
|
|
3080
|
-
t("p",
|
|
3081
|
-
t("span",
|
|
3083
|
+
t("h3", On, h(e.label_name), 1),
|
|
3084
|
+
t("p", An, [
|
|
3085
|
+
t("span", Pn, h((E = _.value) == null ? void 0 : E.name), 1)
|
|
3082
3086
|
]),
|
|
3083
|
-
|
|
3087
|
+
jn
|
|
3084
3088
|
], 2)) : g("", !0),
|
|
3085
3089
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3086
3090
|
key: 1,
|
|
@@ -3091,8 +3095,8 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3091
3095
|
name: e.field_name,
|
|
3092
3096
|
id: e.field_name,
|
|
3093
3097
|
value: (F = _.value) == null ? void 0 : F.id
|
|
3094
|
-
}, null, 8,
|
|
3095
|
-
e.options ? (d(), u("div",
|
|
3098
|
+
}, null, 8, En),
|
|
3099
|
+
e.options ? (d(), u("div", Ln, [
|
|
3096
3100
|
e.label_name ? (d(), u("label", {
|
|
3097
3101
|
key: 0,
|
|
3098
3102
|
class: p({
|
|
@@ -3101,8 +3105,8 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3101
3105
|
required: e.is_required
|
|
3102
3106
|
})
|
|
3103
3107
|
}, h(e.label_name), 3)) : g("", !0),
|
|
3104
|
-
t("div",
|
|
3105
|
-
t("div",
|
|
3108
|
+
t("div", Tn, [
|
|
3109
|
+
t("div", Mn, [
|
|
3106
3110
|
t("input", {
|
|
3107
3111
|
class: p([{
|
|
3108
3112
|
"gl-input-form": e.error_message == "",
|
|
@@ -3114,9 +3118,9 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3114
3118
|
placeholder: e.placeholder,
|
|
3115
3119
|
autocomplete: "off",
|
|
3116
3120
|
readonly: ""
|
|
3117
|
-
}, null, 10,
|
|
3121
|
+
}, null, 10, In),
|
|
3118
3122
|
P(t("i", {
|
|
3119
|
-
onClick: A[1] || (A[1] =
|
|
3123
|
+
onClick: A[1] || (A[1] = L((b) => me(), ["stop"])),
|
|
3120
3124
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3121
3125
|
style: { top: "13px" }
|
|
3122
3126
|
}, null, 512), [
|
|
@@ -3128,11 +3132,11 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3128
3132
|
style: { top: "11px" }
|
|
3129
3133
|
}, null, 2)
|
|
3130
3134
|
]),
|
|
3131
|
-
P(t("div",
|
|
3132
|
-
t("div",
|
|
3133
|
-
|
|
3134
|
-
t("div",
|
|
3135
|
-
|
|
3135
|
+
P(t("div", Nn, [
|
|
3136
|
+
t("div", Vn, [
|
|
3137
|
+
Bn,
|
|
3138
|
+
t("div", Gn, [
|
|
3139
|
+
Un,
|
|
3136
3140
|
P(t("input", {
|
|
3137
3141
|
type: "search",
|
|
3138
3142
|
"onUpdate:modelValue": A[3] || (A[3] = (b) => c.value = b),
|
|
@@ -3143,12 +3147,12 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3143
3147
|
autocomplete: "off",
|
|
3144
3148
|
class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",
|
|
3145
3149
|
placeholder: "Search ..."
|
|
3146
|
-
}, null, 40,
|
|
3150
|
+
}, null, 40, Fn), [
|
|
3147
3151
|
[U, c.value]
|
|
3148
3152
|
])
|
|
3149
3153
|
])
|
|
3150
3154
|
]),
|
|
3151
|
-
t("div",
|
|
3155
|
+
t("div", Rn, [
|
|
3152
3156
|
(d(!0), u(w, null, D(v.value, (b, x) => {
|
|
3153
3157
|
var k;
|
|
3154
3158
|
return d(), u("div", {
|
|
@@ -3158,13 +3162,13 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3158
3162
|
key: x,
|
|
3159
3163
|
id: `${x + 1}${f.value}`
|
|
3160
3164
|
}, [
|
|
3161
|
-
t("div",
|
|
3162
|
-
((k = _.value) == null ? void 0 : k.id) === b.id ? (d(), u("svg",
|
|
3165
|
+
t("div", Hn, [
|
|
3166
|
+
((k = _.value) == null ? void 0 : k.id) === b.id ? (d(), u("svg", zn, Kn)) : g("", !0),
|
|
3163
3167
|
t("span", {
|
|
3164
3168
|
innerHTML: b.name || b.id || "-"
|
|
3165
|
-
}, null, 8,
|
|
3169
|
+
}, null, 8, Wn)
|
|
3166
3170
|
])
|
|
3167
|
-
], 42,
|
|
3171
|
+
], 42, qn);
|
|
3168
3172
|
}), 128))
|
|
3169
3173
|
])
|
|
3170
3174
|
], 512), [
|
|
@@ -3172,13 +3176,13 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3172
3176
|
])
|
|
3173
3177
|
])
|
|
3174
3178
|
])) : g("", !0),
|
|
3175
|
-
t("span",
|
|
3176
|
-
t("small",
|
|
3179
|
+
t("span", Yn, h(e.error_message), 1),
|
|
3180
|
+
t("small", Xn, h(e.description), 1)
|
|
3177
3181
|
], 2))
|
|
3178
3182
|
], 64);
|
|
3179
3183
|
};
|
|
3180
3184
|
}
|
|
3181
|
-
},
|
|
3185
|
+
}, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, jc = {
|
|
3182
3186
|
__name: "GlTextarea",
|
|
3183
3187
|
props: {
|
|
3184
3188
|
is_required: {
|
|
@@ -3228,7 +3232,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3228
3232
|
R(() => {
|
|
3229
3233
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
|
|
3230
3234
|
});
|
|
3231
|
-
const i =
|
|
3235
|
+
const i = j({
|
|
3232
3236
|
get() {
|
|
3233
3237
|
return n.modelValue;
|
|
3234
3238
|
},
|
|
@@ -3241,12 +3245,12 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3241
3245
|
key: 0,
|
|
3242
3246
|
class: p(e.field_name)
|
|
3243
3247
|
}, [
|
|
3244
|
-
t("h3",
|
|
3248
|
+
t("h3", Jn, h(e.label_name), 1),
|
|
3245
3249
|
t("p", {
|
|
3246
3250
|
id: e.field_name,
|
|
3247
3251
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3248
|
-
}, h(e.model_value), 9,
|
|
3249
|
-
|
|
3252
|
+
}, h(e.model_value), 9, Qn),
|
|
3253
|
+
eo
|
|
3250
3254
|
], 2)) : g("", !0),
|
|
3251
3255
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3252
3256
|
key: 1,
|
|
@@ -3259,7 +3263,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3259
3263
|
required: e.is_required
|
|
3260
3264
|
}),
|
|
3261
3265
|
for: e.field_name
|
|
3262
|
-
}, h(e.label_name), 11,
|
|
3266
|
+
}, h(e.label_name), 11, to),
|
|
3263
3267
|
P(t("textarea", {
|
|
3264
3268
|
required: e.is_required,
|
|
3265
3269
|
name: e.field_name,
|
|
@@ -3275,15 +3279,15 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3275
3279
|
ref: a,
|
|
3276
3280
|
rows: "4",
|
|
3277
3281
|
placeholder: e.placeholder
|
|
3278
|
-
}, null, 42,
|
|
3282
|
+
}, null, 42, ro), [
|
|
3279
3283
|
[U, i.value]
|
|
3280
3284
|
]),
|
|
3281
|
-
t("span",
|
|
3282
|
-
t("small",
|
|
3285
|
+
t("span", so, h(e.error_message), 1),
|
|
3286
|
+
t("small", ao, h(e.description), 1)
|
|
3283
3287
|
], 2))
|
|
3284
3288
|
], 64));
|
|
3285
3289
|
}
|
|
3286
|
-
},
|
|
3290
|
+
}, no = {
|
|
3287
3291
|
emits: ["pagination-change-page"],
|
|
3288
3292
|
props: {
|
|
3289
3293
|
data: {
|
|
@@ -3388,14 +3392,14 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3388
3392
|
})
|
|
3389
3393
|
});
|
|
3390
3394
|
}
|
|
3391
|
-
},
|
|
3395
|
+
}, oo = {
|
|
3392
3396
|
compatConfig: {
|
|
3393
3397
|
MODE: 3
|
|
3394
3398
|
},
|
|
3395
3399
|
inheritAttrs: !1,
|
|
3396
3400
|
emits: ["pagination-change-page"],
|
|
3397
3401
|
components: {
|
|
3398
|
-
RenderlessPagination:
|
|
3402
|
+
RenderlessPagination: no
|
|
3399
3403
|
},
|
|
3400
3404
|
props: {
|
|
3401
3405
|
data: {
|
|
@@ -3429,10 +3433,10 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3429
3433
|
},
|
|
3430
3434
|
mounted() {
|
|
3431
3435
|
}
|
|
3432
|
-
},
|
|
3436
|
+
}, lo = { class: "flex flex-col items-center" }, io = {
|
|
3433
3437
|
key: 0,
|
|
3434
3438
|
class: "text-sm text-gray-700 dark:text-gray-400"
|
|
3435
|
-
},
|
|
3439
|
+
}, uo = { class: "font-semibold text-gray-900 dark:text-white" }, co = { class: "font-semibold text-gray-900 dark:text-white" }, go = { class: "font-semibold text-gray-900 dark:text-white" }, fo = ["tabindex"], ho = /* @__PURE__ */ t("span", { class: "sr-only" }, "Previous", -1), mo = /* @__PURE__ */ t("svg", {
|
|
3436
3440
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3437
3441
|
"aria-hidden": "true",
|
|
3438
3442
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3446,7 +3450,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3446
3450
|
"stroke-width": "2",
|
|
3447
3451
|
d: "M5 1 1 5l4 4"
|
|
3448
3452
|
})
|
|
3449
|
-
], -1),
|
|
3453
|
+
], -1), bo = ["aria-current"], po = ["tabindex"], yo = /* @__PURE__ */ t("span", { class: "sr-only" }, "Next", -1), _o = /* @__PURE__ */ t("svg", {
|
|
3450
3454
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3451
3455
|
"aria-hidden": "true",
|
|
3452
3456
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3461,7 +3465,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3461
3465
|
d: "m1 9 4-4-4-4"
|
|
3462
3466
|
})
|
|
3463
3467
|
], -1);
|
|
3464
|
-
function
|
|
3468
|
+
function vo(e, r, s, n, o, a) {
|
|
3465
3469
|
const i = z("RenderlessPagination");
|
|
3466
3470
|
return d(), Z(i, {
|
|
3467
3471
|
data: s.data,
|
|
@@ -3469,14 +3473,14 @@ function xo(e, r, s, n, o, a) {
|
|
|
3469
3473
|
onPaginationChangePage: a.onPaginationChangePage
|
|
3470
3474
|
}, {
|
|
3471
3475
|
default: ie((l) => [
|
|
3472
|
-
t("div",
|
|
3473
|
-
l.computed.total > l.computed.perPage ? (d(), u("span",
|
|
3476
|
+
t("div", lo, [
|
|
3477
|
+
l.computed.total > l.computed.perPage ? (d(), u("span", io, [
|
|
3474
3478
|
$(" Showing "),
|
|
3475
|
-
t("span",
|
|
3479
|
+
t("span", uo, h(l.computed.from), 1),
|
|
3476
3480
|
$(" to "),
|
|
3477
|
-
t("span",
|
|
3481
|
+
t("span", co, h(l.computed.to), 1),
|
|
3478
3482
|
$(" of "),
|
|
3479
|
-
t("span",
|
|
3483
|
+
t("span", go, h(l.computed.total), 1),
|
|
3480
3484
|
$(" Entries ")
|
|
3481
3485
|
])) : g("", !0),
|
|
3482
3486
|
l.computed.total > l.computed.perPage ? (d(), u("ul", ae({ key: 1 }, e.$attrs, {
|
|
@@ -3498,10 +3502,10 @@ function xo(e, r, s, n, o, a) {
|
|
|
3498
3502
|
tabindex: !l.computed.prevPageUrl && -1
|
|
3499
3503
|
}, be(l.prevButtonEvents, !0)), [
|
|
3500
3504
|
I(e.$slots, "prev-nav", {}, () => [
|
|
3501
|
-
|
|
3502
|
-
|
|
3505
|
+
ho,
|
|
3506
|
+
mo
|
|
3503
3507
|
])
|
|
3504
|
-
], 16,
|
|
3508
|
+
], 16, fo)
|
|
3505
3509
|
], 2)) : g("", !0),
|
|
3506
3510
|
(d(!0), u(w, null, D(l.computed.pageRange, (c, f) => (d(), u("li", {
|
|
3507
3511
|
class: p(["", { active: c == l.computed.currentPage }]),
|
|
@@ -3513,7 +3517,7 @@ function xo(e, r, s, n, o, a) {
|
|
|
3513
3517
|
}, be(l.pageButtonEvents(c), !0), {
|
|
3514
3518
|
"aria-current": c == l.computed.currentPage ? "page" : null,
|
|
3515
3519
|
class: c == l.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
3516
|
-
}), h(c), 17,
|
|
3520
|
+
}), h(c), 17, bo)
|
|
3517
3521
|
], 2))), 128)),
|
|
3518
3522
|
l.computed.nextPageUrl || s.showDisabled ? (d(), u("li", {
|
|
3519
3523
|
key: 1,
|
|
@@ -3526,10 +3530,10 @@ function xo(e, r, s, n, o, a) {
|
|
|
3526
3530
|
tabindex: !l.computed.nextPageUrl && -1
|
|
3527
3531
|
}, be(l.nextButtonEvents, !0)), [
|
|
3528
3532
|
I(e.$slots, "next-nav", {}, () => [
|
|
3529
|
-
|
|
3530
|
-
|
|
3533
|
+
yo,
|
|
3534
|
+
_o
|
|
3531
3535
|
])
|
|
3532
|
-
], 16,
|
|
3536
|
+
], 16, po)
|
|
3533
3537
|
], 2)) : g("", !0)
|
|
3534
3538
|
], 16)) : g("", !0)
|
|
3535
3539
|
])
|
|
@@ -3537,7 +3541,7 @@ function xo(e, r, s, n, o, a) {
|
|
|
3537
3541
|
_: 3
|
|
3538
3542
|
}, 8, ["data", "limit", "onPaginationChangePage"]);
|
|
3539
3543
|
}
|
|
3540
|
-
const et = /* @__PURE__ */ O(
|
|
3544
|
+
const et = /* @__PURE__ */ O(oo, [["render", vo]]), xo = {
|
|
3541
3545
|
components: { TailwindPagination: et },
|
|
3542
3546
|
props: {
|
|
3543
3547
|
data: Array,
|
|
@@ -3620,10 +3624,10 @@ const et = /* @__PURE__ */ O(lo, [["render", xo]]), wo = {
|
|
|
3620
3624
|
this.isMounted && e !== r && this.GetItemLists();
|
|
3621
3625
|
}
|
|
3622
3626
|
}
|
|
3623
|
-
},
|
|
3627
|
+
}, wo = { class: "p-2" }, ko = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, $o = { class: "flex items-center gap-2" }, Co = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), So = { style: { "margin-top": "9px" } }, Do = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Oo = /* @__PURE__ */ t("label", {
|
|
3624
3628
|
for: "table-search",
|
|
3625
3629
|
class: "sr-only"
|
|
3626
|
-
}, "Search", -1),
|
|
3630
|
+
}, "Search", -1), Ao = { class: "relative" }, Po = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
|
|
3627
3631
|
/* @__PURE__ */ t("svg", {
|
|
3628
3632
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3629
3633
|
"aria-hidden": "true",
|
|
@@ -3637,16 +3641,16 @@ const et = /* @__PURE__ */ O(lo, [["render", xo]]), wo = {
|
|
|
3637
3641
|
"clip-rule": "evenodd"
|
|
3638
3642
|
})
|
|
3639
3643
|
])
|
|
3640
|
-
], -1),
|
|
3644
|
+
], -1), jo = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Eo = { 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" }, Lo = { 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"], Mo = {
|
|
3641
3645
|
key: 0,
|
|
3642
3646
|
class: "ml-2"
|
|
3643
|
-
},
|
|
3647
|
+
}, Io = {
|
|
3644
3648
|
key: 0,
|
|
3645
3649
|
class: "fa fa-arrow-up"
|
|
3646
|
-
},
|
|
3650
|
+
}, No = {
|
|
3647
3651
|
key: 1,
|
|
3648
3652
|
class: "fa fa-arrow-down"
|
|
3649
|
-
},
|
|
3653
|
+
}, Vo = { key: 0 }, Bo = ["colspan"], Go = /* @__PURE__ */ t("div", {
|
|
3650
3654
|
role: "status",
|
|
3651
3655
|
class: "p-4 space-y-4 border border-gray-200 divide-y divide-gray-200 rounded shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700"
|
|
3652
3656
|
}, [
|
|
@@ -3686,16 +3690,16 @@ const et = /* @__PURE__ */ O(lo, [["render", xo]]), wo = {
|
|
|
3686
3690
|
/* @__PURE__ */ t("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
|
|
3687
3691
|
]),
|
|
3688
3692
|
/* @__PURE__ */ t("span", { class: "sr-only" }, "Loading...")
|
|
3689
|
-
], -1),
|
|
3690
|
-
|
|
3691
|
-
],
|
|
3692
|
-
function
|
|
3693
|
+
], -1), Uo = [
|
|
3694
|
+
Go
|
|
3695
|
+
], Fo = ["data-label"], Ro = { class: "overflow-auto max-h-40" }, qo = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
3696
|
+
function Ho(e, r, s, n, o, a) {
|
|
3693
3697
|
const i = z("dropdown"), l = z("TailwindPagination");
|
|
3694
|
-
return d(), u("div",
|
|
3695
|
-
t("div",
|
|
3696
|
-
t("div",
|
|
3697
|
-
|
|
3698
|
-
t("div",
|
|
3698
|
+
return d(), u("div", wo, [
|
|
3699
|
+
t("div", ko, [
|
|
3700
|
+
t("div", $o, [
|
|
3701
|
+
Co,
|
|
3702
|
+
t("div", So, [
|
|
3699
3703
|
q(i, {
|
|
3700
3704
|
has_cancel: !1,
|
|
3701
3705
|
options: o.pageOptions,
|
|
@@ -3709,11 +3713,11 @@ function zo(e, r, s, n, o, a) {
|
|
|
3709
3713
|
placeholder: "Please select an option"
|
|
3710
3714
|
}, null, 8, ["options", "modelValue"])
|
|
3711
3715
|
]),
|
|
3712
|
-
|
|
3716
|
+
Do
|
|
3713
3717
|
]),
|
|
3714
|
-
|
|
3715
|
-
t("div",
|
|
3716
|
-
|
|
3718
|
+
Oo,
|
|
3719
|
+
t("div", Ao, [
|
|
3720
|
+
Po,
|
|
3717
3721
|
P(t("input", {
|
|
3718
3722
|
type: "text",
|
|
3719
3723
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => o.search = c),
|
|
@@ -3725,9 +3729,9 @@ function zo(e, r, s, n, o, a) {
|
|
|
3725
3729
|
])
|
|
3726
3730
|
])
|
|
3727
3731
|
]),
|
|
3728
|
-
t("div",
|
|
3729
|
-
t("table",
|
|
3730
|
-
t("thead",
|
|
3732
|
+
t("div", jo, [
|
|
3733
|
+
t("table", Eo, [
|
|
3734
|
+
t("thead", Lo, [
|
|
3731
3735
|
t("tr", null, [
|
|
3732
3736
|
(d(!0), u(w, null, D(s.columns, (c, f) => (d(), u("th", {
|
|
3733
3737
|
key: f,
|
|
@@ -3735,17 +3739,17 @@ function zo(e, r, s, n, o, a) {
|
|
|
3735
3739
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3736
3740
|
}, [
|
|
3737
3741
|
$(h(c.field_label) + " ", 1),
|
|
3738
|
-
o.sortField === c.field_name ? (d(), u("span",
|
|
3739
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
3742
|
+
o.sortField === c.field_name ? (d(), u("span", Mo, [
|
|
3743
|
+
o.sortOrder === "asc" ? (d(), u("i", Io)) : (d(), u("i", No))
|
|
3740
3744
|
])) : g("", !0)
|
|
3741
|
-
], 8,
|
|
3745
|
+
], 8, To))), 128))
|
|
3742
3746
|
])
|
|
3743
3747
|
]),
|
|
3744
3748
|
t("tbody", null, [
|
|
3745
|
-
o.isLoading ? (d(), u("tr",
|
|
3749
|
+
o.isLoading ? (d(), u("tr", Vo, [
|
|
3746
3750
|
t("td", {
|
|
3747
3751
|
colspan: s.columns.length
|
|
3748
|
-
},
|
|
3752
|
+
}, Uo, 8, Bo)
|
|
3749
3753
|
])) : g("", !0),
|
|
3750
3754
|
o.isLoading ? g("", !0) : (d(!0), u(w, { key: 1 }, D(o.itemLists.data, (c, f) => (d(), u("tr", {
|
|
3751
3755
|
key: f,
|
|
@@ -3756,7 +3760,7 @@ function zo(e, r, s, n, o, a) {
|
|
|
3756
3760
|
"data-label": m.field_label,
|
|
3757
3761
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
|
|
3758
3762
|
}, [
|
|
3759
|
-
t("div",
|
|
3763
|
+
t("div", Ro, [
|
|
3760
3764
|
m.tdComp ? (d(), Z(le(a.forDynCompIs(m.tdComp)), {
|
|
3761
3765
|
key: 0,
|
|
3762
3766
|
row: c,
|
|
@@ -3770,12 +3774,12 @@ function zo(e, r, s, n, o, a) {
|
|
|
3770
3774
|
$(h(c[m.field_name]), 1)
|
|
3771
3775
|
], 64))
|
|
3772
3776
|
])
|
|
3773
|
-
], 8,
|
|
3777
|
+
], 8, Fo))), 128))
|
|
3774
3778
|
]))), 128))
|
|
3775
3779
|
])
|
|
3776
3780
|
])
|
|
3777
3781
|
]),
|
|
3778
|
-
t("div",
|
|
3782
|
+
t("div", qo, [
|
|
3779
3783
|
q(l, {
|
|
3780
3784
|
class: "mt-3 mb-0",
|
|
3781
3785
|
data: o.itemLists,
|
|
@@ -3787,7 +3791,7 @@ function zo(e, r, s, n, o, a) {
|
|
|
3787
3791
|
])
|
|
3788
3792
|
]);
|
|
3789
3793
|
}
|
|
3790
|
-
const
|
|
3794
|
+
const Ec = /* @__PURE__ */ O(xo, [["render", Ho]]), zo = {
|
|
3791
3795
|
components: { TailwindPagination: et },
|
|
3792
3796
|
props: {
|
|
3793
3797
|
data: Array,
|
|
@@ -3879,10 +3883,10 @@ const Lc = /* @__PURE__ */ O(wo, [["render", zo]]), Zo = {
|
|
|
3879
3883
|
this.isMounted && e !== r && this.GetItemLists();
|
|
3880
3884
|
}
|
|
3881
3885
|
}
|
|
3882
|
-
},
|
|
3886
|
+
}, Zo = { class: "p-2" }, Ko = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Wo = { class: "flex items-center gap-2" }, Yo = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), Xo = { style: { "margin-top": "9px" } }, Jo = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Qo = /* @__PURE__ */ t("label", {
|
|
3883
3887
|
for: "table-search",
|
|
3884
3888
|
class: "sr-only"
|
|
3885
|
-
}, "Search", -1),
|
|
3889
|
+
}, "Search", -1), el = { class: "relative" }, tl = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
|
|
3886
3890
|
/* @__PURE__ */ t("svg", {
|
|
3887
3891
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3888
3892
|
"aria-hidden": "true",
|
|
@@ -3896,16 +3900,16 @@ const Lc = /* @__PURE__ */ O(wo, [["render", zo]]), Zo = {
|
|
|
3896
3900
|
"clip-rule": "evenodd"
|
|
3897
3901
|
})
|
|
3898
3902
|
])
|
|
3899
|
-
], -1),
|
|
3903
|
+
], -1), rl = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, sl = { 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-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, nl = ["onClick"], ol = {
|
|
3900
3904
|
key: 0,
|
|
3901
3905
|
class: "ml-2"
|
|
3902
|
-
},
|
|
3906
|
+
}, ll = {
|
|
3903
3907
|
key: 0,
|
|
3904
3908
|
class: "fa fa-arrow-up"
|
|
3905
|
-
},
|
|
3909
|
+
}, il = {
|
|
3906
3910
|
key: 1,
|
|
3907
3911
|
class: "fa fa-arrow-down"
|
|
3908
|
-
},
|
|
3912
|
+
}, dl = { key: 0 }, ul = ["colspan"], cl = /* @__PURE__ */ t("div", {
|
|
3909
3913
|
role: "status",
|
|
3910
3914
|
class: "p-4 space-y-4 border border-gray-200 divide-y divide-gray-200 rounded shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700"
|
|
3911
3915
|
}, [
|
|
@@ -3945,16 +3949,16 @@ const Lc = /* @__PURE__ */ O(wo, [["render", zo]]), Zo = {
|
|
|
3945
3949
|
/* @__PURE__ */ t("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
|
|
3946
3950
|
]),
|
|
3947
3951
|
/* @__PURE__ */ t("span", { class: "sr-only" }, "Loading...")
|
|
3948
|
-
], -1),
|
|
3949
|
-
|
|
3950
|
-
],
|
|
3951
|
-
function
|
|
3952
|
+
], -1), gl = [
|
|
3953
|
+
cl
|
|
3954
|
+
], fl = { class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500" }, hl = ["colspan"], ml = ["data-label"], bl = { class: "overflow-auto max-h-40" }, pl = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
3955
|
+
function yl(e, r, s, n, o, a) {
|
|
3952
3956
|
const i = z("dropdown"), l = z("TailwindPagination");
|
|
3953
|
-
return d(), u("div",
|
|
3954
|
-
t("div",
|
|
3955
|
-
t("div",
|
|
3956
|
-
|
|
3957
|
-
t("div",
|
|
3957
|
+
return d(), u("div", Zo, [
|
|
3958
|
+
t("div", Ko, [
|
|
3959
|
+
t("div", Wo, [
|
|
3960
|
+
Yo,
|
|
3961
|
+
t("div", Xo, [
|
|
3958
3962
|
q(i, {
|
|
3959
3963
|
has_cancel: !1,
|
|
3960
3964
|
options: o.pageOptions,
|
|
@@ -3968,11 +3972,11 @@ function _l(e, r, s, n, o, a) {
|
|
|
3968
3972
|
placeholder: "Please select an option"
|
|
3969
3973
|
}, null, 8, ["options", "modelValue"])
|
|
3970
3974
|
]),
|
|
3971
|
-
|
|
3975
|
+
Jo
|
|
3972
3976
|
]),
|
|
3973
|
-
|
|
3974
|
-
t("div",
|
|
3975
|
-
|
|
3977
|
+
Qo,
|
|
3978
|
+
t("div", el, [
|
|
3979
|
+
tl,
|
|
3976
3980
|
P(t("input", {
|
|
3977
3981
|
type: "text",
|
|
3978
3982
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => o.search = c),
|
|
@@ -3984,9 +3988,9 @@ function _l(e, r, s, n, o, a) {
|
|
|
3984
3988
|
])
|
|
3985
3989
|
])
|
|
3986
3990
|
]),
|
|
3987
|
-
t("div",
|
|
3988
|
-
t("table",
|
|
3989
|
-
t("thead",
|
|
3991
|
+
t("div", rl, [
|
|
3992
|
+
t("table", sl, [
|
|
3993
|
+
t("thead", al, [
|
|
3990
3994
|
t("tr", null, [
|
|
3991
3995
|
(d(!0), u(w, null, D(s.columns, (c, f) => (d(), u("th", {
|
|
3992
3996
|
key: f,
|
|
@@ -3994,24 +3998,24 @@ function _l(e, r, s, n, o, a) {
|
|
|
3994
3998
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3995
3999
|
}, [
|
|
3996
4000
|
$(h(c.field_label) + " ", 1),
|
|
3997
|
-
o.sortField === c.field_name ? (d(), u("span",
|
|
3998
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
4001
|
+
o.sortField === c.field_name ? (d(), u("span", ol, [
|
|
4002
|
+
o.sortOrder === "asc" ? (d(), u("i", ll)) : (d(), u("i", il))
|
|
3999
4003
|
])) : g("", !0)
|
|
4000
|
-
], 8,
|
|
4004
|
+
], 8, nl))), 128))
|
|
4001
4005
|
])
|
|
4002
4006
|
]),
|
|
4003
4007
|
t("tbody", null, [
|
|
4004
|
-
o.isLoading ? (d(), u("tr",
|
|
4008
|
+
o.isLoading ? (d(), u("tr", dl, [
|
|
4005
4009
|
t("td", {
|
|
4006
4010
|
colspan: s.columns.length
|
|
4007
|
-
},
|
|
4011
|
+
}, gl, 8, ul)
|
|
4008
4012
|
])) : g("", !0),
|
|
4009
4013
|
o.isLoading ? g("", !0) : (d(!0), u(w, { key: 1 }, D(a.groupedItems, (c, f) => (d(), u(w, null, [
|
|
4010
|
-
t("tr",
|
|
4014
|
+
t("tr", fl, [
|
|
4011
4015
|
t("td", {
|
|
4012
4016
|
colspan: s.columns.length,
|
|
4013
4017
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
4014
|
-
}, h(f), 9,
|
|
4018
|
+
}, h(f), 9, hl)
|
|
4015
4019
|
]),
|
|
4016
4020
|
(d(!0), u(w, null, D(c, (m, _) => (d(), u("tr", {
|
|
4017
4021
|
key: _,
|
|
@@ -4022,7 +4026,7 @@ function _l(e, r, s, n, o, a) {
|
|
|
4022
4026
|
"data-label": v.field_label,
|
|
4023
4027
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
4024
4028
|
}, [
|
|
4025
|
-
t("div",
|
|
4029
|
+
t("div", bl, [
|
|
4026
4030
|
v.tdComp ? (d(), Z(le(a.forDynCompIs(v.tdComp)), {
|
|
4027
4031
|
key: 0,
|
|
4028
4032
|
row: m,
|
|
@@ -4035,13 +4039,13 @@ function _l(e, r, s, n, o, a) {
|
|
|
4035
4039
|
$(h(m[v.field_name]), 1)
|
|
4036
4040
|
], 64))
|
|
4037
4041
|
])
|
|
4038
|
-
], 8,
|
|
4042
|
+
], 8, ml))), 128))
|
|
4039
4043
|
]))), 128))
|
|
4040
4044
|
], 64))), 256))
|
|
4041
4045
|
])
|
|
4042
4046
|
])
|
|
4043
4047
|
]),
|
|
4044
|
-
t("div",
|
|
4048
|
+
t("div", pl, [
|
|
4045
4049
|
q(l, {
|
|
4046
4050
|
class: "mt-3 mb-0",
|
|
4047
4051
|
data: o.itemLists,
|
|
@@ -4053,7 +4057,7 @@ function _l(e, r, s, n, o, a) {
|
|
|
4053
4057
|
])
|
|
4054
4058
|
]);
|
|
4055
4059
|
}
|
|
4056
|
-
const
|
|
4060
|
+
const Lc = /* @__PURE__ */ O(zo, [["render", yl]]), _l = {
|
|
4057
4061
|
components: {},
|
|
4058
4062
|
props: {
|
|
4059
4063
|
data: Array,
|
|
@@ -4133,10 +4137,10 @@ const Tc = /* @__PURE__ */ O(Zo, [["render", _l]]), vl = {
|
|
|
4133
4137
|
e >= 1 && e <= this.totalPages && (this.currentPage = e);
|
|
4134
4138
|
}
|
|
4135
4139
|
}
|
|
4136
|
-
},
|
|
4140
|
+
}, vl = { class: "p-2" }, xl = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, wl = { class: "flex items-center gap-2" }, kl = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), $l = { style: { "margin-top": "9px" } }, Cl = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Sl = /* @__PURE__ */ t("label", {
|
|
4137
4141
|
for: "table-search",
|
|
4138
4142
|
class: "sr-only"
|
|
4139
|
-
}, "Search", -1),
|
|
4143
|
+
}, "Search", -1), Dl = { class: "relative" }, Ol = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
|
|
4140
4144
|
/* @__PURE__ */ t("svg", {
|
|
4141
4145
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
4142
4146
|
"aria-hidden": "true",
|
|
@@ -4150,19 +4154,19 @@ const Tc = /* @__PURE__ */ O(Zo, [["render", _l]]), vl = {
|
|
|
4150
4154
|
"clip-rule": "evenodd"
|
|
4151
4155
|
})
|
|
4152
4156
|
])
|
|
4153
|
-
], -1),
|
|
4157
|
+
], -1), Al = { 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" }, jl = { 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" }, El = ["onClick"], Ll = {
|
|
4154
4158
|
key: 0,
|
|
4155
4159
|
class: "ml-2"
|
|
4156
|
-
},
|
|
4160
|
+
}, Tl = {
|
|
4157
4161
|
key: 0,
|
|
4158
4162
|
class: "fa fa-arrow-up"
|
|
4159
|
-
},
|
|
4163
|
+
}, Ml = {
|
|
4160
4164
|
key: 1,
|
|
4161
4165
|
class: "fa fa-arrow-down"
|
|
4162
|
-
},
|
|
4166
|
+
}, Il = ["data-label"], Nl = ["innerHTML"], Vl = {
|
|
4163
4167
|
key: 0,
|
|
4164
4168
|
class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"
|
|
4165
|
-
},
|
|
4169
|
+
}, Bl = { class: "flex justify-between flex-1 sm:hidden" }, Gl = ["disabled"], Ul = ["disabled"], Fl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, Rl = { class: "text-sm text-gray-700 dark:text-gray-400" }, ql = { class: "font-medium" }, Hl = { class: "font-medium" }, zl = { class: "font-medium" }, Zl = { "aria-label": "Page navigation" }, Kl = { class: "flex items-center h-8 -space-x-px text-sm" }, Wl = ["disabled"], Yl = /* @__PURE__ */ t("span", { class: "sr-only" }, "Previous", -1), Xl = /* @__PURE__ */ t("svg", {
|
|
4166
4170
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
4167
4171
|
"aria-hidden": "true",
|
|
4168
4172
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4176,10 +4180,10 @@ const Tc = /* @__PURE__ */ O(Zo, [["render", _l]]), vl = {
|
|
|
4176
4180
|
"stroke-width": "2",
|
|
4177
4181
|
d: "M5 1 1 5l4 4"
|
|
4178
4182
|
})
|
|
4179
|
-
], -1),
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
],
|
|
4183
|
+
], -1), Jl = [
|
|
4184
|
+
Yl,
|
|
4185
|
+
Xl
|
|
4186
|
+
], Ql = ["onClick"], ei = ["onClick"], ti = ["disabled"], ri = /* @__PURE__ */ t("span", { class: "sr-only" }, "Next", -1), si = /* @__PURE__ */ t("svg", {
|
|
4183
4187
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
4184
4188
|
"aria-hidden": "true",
|
|
4185
4189
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4193,17 +4197,17 @@ const Tc = /* @__PURE__ */ O(Zo, [["render", _l]]), vl = {
|
|
|
4193
4197
|
"stroke-width": "2",
|
|
4194
4198
|
d: "m1 9 4-4-4-4"
|
|
4195
4199
|
})
|
|
4196
|
-
], -1),
|
|
4197
|
-
|
|
4198
|
-
|
|
4200
|
+
], -1), ai = [
|
|
4201
|
+
ri,
|
|
4202
|
+
si
|
|
4199
4203
|
];
|
|
4200
|
-
function
|
|
4204
|
+
function ni(e, r, s, n, o, a) {
|
|
4201
4205
|
const i = z("dropdown");
|
|
4202
|
-
return d(), u("div",
|
|
4203
|
-
t("div",
|
|
4204
|
-
t("div",
|
|
4205
|
-
|
|
4206
|
-
t("div",
|
|
4206
|
+
return d(), u("div", vl, [
|
|
4207
|
+
t("div", xl, [
|
|
4208
|
+
t("div", wl, [
|
|
4209
|
+
kl,
|
|
4210
|
+
t("div", $l, [
|
|
4207
4211
|
q(i, {
|
|
4208
4212
|
has_cancel: !1,
|
|
4209
4213
|
options: o.showNoOfEntries,
|
|
@@ -4217,11 +4221,11 @@ function oi(e, r, s, n, o, a) {
|
|
|
4217
4221
|
placeholder: "Please select an option"
|
|
4218
4222
|
}, null, 8, ["options", "modelValue"])
|
|
4219
4223
|
]),
|
|
4220
|
-
|
|
4224
|
+
Cl
|
|
4221
4225
|
]),
|
|
4222
|
-
|
|
4223
|
-
t("div",
|
|
4224
|
-
|
|
4226
|
+
Sl,
|
|
4227
|
+
t("div", Dl, [
|
|
4228
|
+
Ol,
|
|
4225
4229
|
P(t("input", {
|
|
4226
4230
|
type: "text",
|
|
4227
4231
|
"onUpdate:modelValue": r[1] || (r[1] = (l) => o.search = l),
|
|
@@ -4232,20 +4236,20 @@ function oi(e, r, s, n, o, a) {
|
|
|
4232
4236
|
])
|
|
4233
4237
|
])
|
|
4234
4238
|
]),
|
|
4235
|
-
t("div",
|
|
4236
|
-
t("table",
|
|
4237
|
-
t("thead",
|
|
4239
|
+
t("div", Al, [
|
|
4240
|
+
t("table", Pl, [
|
|
4241
|
+
t("thead", jl, [
|
|
4238
4242
|
t("tr", null, [
|
|
4239
4243
|
(d(!0), u(w, null, D(s.columns, (l, c) => (d(), u("th", {
|
|
4240
4244
|
key: c,
|
|
4241
|
-
onClick:
|
|
4245
|
+
onClick: L((f) => a.sort(l), ["prevent"]),
|
|
4242
4246
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
4243
4247
|
}, [
|
|
4244
4248
|
$(h(l) + " ", 1),
|
|
4245
|
-
o.sortKey === l ? (d(), u("span",
|
|
4246
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
4249
|
+
o.sortKey === l ? (d(), u("span", Ll, [
|
|
4250
|
+
o.sortOrder === "asc" ? (d(), u("i", Tl)) : (d(), u("i", Ml))
|
|
4247
4251
|
])) : g("", !0)
|
|
4248
|
-
], 8,
|
|
4252
|
+
], 8, El))), 128))
|
|
4249
4253
|
])
|
|
4250
4254
|
]),
|
|
4251
4255
|
t("tbody", null, [
|
|
@@ -4261,76 +4265,76 @@ function oi(e, r, s, n, o, a) {
|
|
|
4261
4265
|
t("p", {
|
|
4262
4266
|
class: "text-pretty",
|
|
4263
4267
|
innerHTML: l[m]
|
|
4264
|
-
}, null, 8,
|
|
4265
|
-
], 8,
|
|
4268
|
+
}, null, 8, Nl)
|
|
4269
|
+
], 8, Il))), 128))
|
|
4266
4270
|
]))), 128))
|
|
4267
4271
|
])
|
|
4268
4272
|
])
|
|
4269
4273
|
]),
|
|
4270
|
-
a.paginatedData.length > 0 ? (d(), u("div",
|
|
4271
|
-
t("div",
|
|
4274
|
+
a.paginatedData.length > 0 ? (d(), u("div", Vl, [
|
|
4275
|
+
t("div", Bl, [
|
|
4272
4276
|
t("a", {
|
|
4273
4277
|
href: "#",
|
|
4274
|
-
onClick: r[2] || (r[2] =
|
|
4278
|
+
onClick: r[2] || (r[2] = L((...l) => a.previousPage && a.previousPage(...l), ["prevent"])),
|
|
4275
4279
|
disabled: o.currentPage === 1,
|
|
4276
4280
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
4277
|
-
}, "Previous", 8,
|
|
4281
|
+
}, "Previous", 8, Gl),
|
|
4278
4282
|
t("a", {
|
|
4279
4283
|
href: "#",
|
|
4280
|
-
onClick: r[3] || (r[3] =
|
|
4284
|
+
onClick: r[3] || (r[3] = L((...l) => a.nextPage && a.nextPage(...l), ["prevent"])),
|
|
4281
4285
|
disabled: o.currentPage === a.totalPages,
|
|
4282
4286
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
4283
|
-
}, "Next", 8,
|
|
4287
|
+
}, "Next", 8, Ul)
|
|
4284
4288
|
]),
|
|
4285
|
-
t("div",
|
|
4289
|
+
t("div", Fl, [
|
|
4286
4290
|
t("div", null, [
|
|
4287
|
-
t("p",
|
|
4291
|
+
t("p", Rl, [
|
|
4288
4292
|
$(" Showing "),
|
|
4289
|
-
t("span",
|
|
4293
|
+
t("span", ql, h(a.firstItemIndex), 1),
|
|
4290
4294
|
$(" to "),
|
|
4291
|
-
t("span",
|
|
4295
|
+
t("span", Hl, h(a.lastItemIndex), 1),
|
|
4292
4296
|
$(" of "),
|
|
4293
|
-
t("span",
|
|
4297
|
+
t("span", zl, h(a.filteredData.length), 1),
|
|
4294
4298
|
$(" entries ")
|
|
4295
4299
|
])
|
|
4296
4300
|
]),
|
|
4297
4301
|
t("div", null, [
|
|
4298
|
-
t("nav",
|
|
4299
|
-
t("ul",
|
|
4302
|
+
t("nav", Zl, [
|
|
4303
|
+
t("ul", Kl, [
|
|
4300
4304
|
t("li", null, [
|
|
4301
4305
|
t("a", {
|
|
4302
4306
|
href: "#",
|
|
4303
|
-
onClick: r[4] || (r[4] =
|
|
4307
|
+
onClick: r[4] || (r[4] = L((...l) => a.previousPage && a.previousPage(...l), ["prevent"])),
|
|
4304
4308
|
disabled: o.currentPage === 1,
|
|
4305
4309
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
4306
|
-
},
|
|
4310
|
+
}, Jl, 8, Wl)
|
|
4307
4311
|
]),
|
|
4308
4312
|
(d(!0), u(w, null, D(a.displayedPageNumbers, (l) => (d(), u(w, { key: l }, [
|
|
4309
4313
|
t("li", null, [
|
|
4310
4314
|
o.currentPage !== l ? (d(), u("a", {
|
|
4311
4315
|
key: 0,
|
|
4312
4316
|
href: "#",
|
|
4313
|
-
onClick:
|
|
4317
|
+
onClick: L((c) => a.goToPage(l), ["prevent"]),
|
|
4314
4318
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
4315
|
-
}, h(l), 9,
|
|
4319
|
+
}, h(l), 9, Ql)) : g("", !0)
|
|
4316
4320
|
]),
|
|
4317
4321
|
t("li", null, [
|
|
4318
4322
|
o.currentPage === l ? (d(), u("a", {
|
|
4319
4323
|
key: 0,
|
|
4320
4324
|
href: "#",
|
|
4321
|
-
onClick:
|
|
4325
|
+
onClick: L((c) => a.goToPage(l), ["prevent"]),
|
|
4322
4326
|
"aria-current": "page",
|
|
4323
4327
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
4324
|
-
}, h(l), 9,
|
|
4328
|
+
}, h(l), 9, ei)) : g("", !0)
|
|
4325
4329
|
])
|
|
4326
4330
|
], 64))), 128)),
|
|
4327
4331
|
t("li", null, [
|
|
4328
4332
|
t("a", {
|
|
4329
4333
|
href: "#",
|
|
4330
|
-
onClick: r[5] || (r[5] =
|
|
4334
|
+
onClick: r[5] || (r[5] = L((...l) => a.nextPage && a.nextPage(...l), ["prevent"])),
|
|
4331
4335
|
disabled: o.currentPage === a.totalPages,
|
|
4332
4336
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
4333
|
-
},
|
|
4337
|
+
}, ai, 8, ti)
|
|
4334
4338
|
])
|
|
4335
4339
|
])
|
|
4336
4340
|
])
|
|
@@ -4339,7 +4343,7 @@ function oi(e, r, s, n, o, a) {
|
|
|
4339
4343
|
])) : g("", !0)
|
|
4340
4344
|
]);
|
|
4341
4345
|
}
|
|
4342
|
-
const
|
|
4346
|
+
const Tc = /* @__PURE__ */ O(_l, [["render", ni]]), oi = {
|
|
4343
4347
|
setup() {
|
|
4344
4348
|
const e = C([]);
|
|
4345
4349
|
return Me("accordionsWrapper", {
|
|
@@ -4359,12 +4363,12 @@ const Mc = /* @__PURE__ */ O(vl, [["render", oi]]), li = {
|
|
|
4359
4363
|
}), {};
|
|
4360
4364
|
}
|
|
4361
4365
|
};
|
|
4362
|
-
function
|
|
4366
|
+
function li(e, r, s, n, o, a) {
|
|
4363
4367
|
return d(), u("div", null, [
|
|
4364
4368
|
I(e.$slots, "default")
|
|
4365
4369
|
]);
|
|
4366
4370
|
}
|
|
4367
|
-
const
|
|
4371
|
+
const Mc = /* @__PURE__ */ O(oi, [["render", li]]), ii = {
|
|
4368
4372
|
props: {
|
|
4369
4373
|
title: {
|
|
4370
4374
|
type: String,
|
|
@@ -4380,7 +4384,7 @@ const Ic = /* @__PURE__ */ O(li, [["render", ii]]), di = {
|
|
|
4380
4384
|
return f = Math.floor(f / 16), (_ === "x" ? v : v & 3 | 8).toString(16);
|
|
4381
4385
|
});
|
|
4382
4386
|
return m;
|
|
4383
|
-
})(), o = { isOpen: e, id: n }, a =
|
|
4387
|
+
})(), o = { isOpen: e, id: n }, a = j(() => r.accordions.value), i = j(() => a.value.length > 0 && a.value[0].id === n), l = j(() => a.value.length > 0 && a.value[a.value.length - 1].id === n);
|
|
4384
4388
|
return R(() => {
|
|
4385
4389
|
r.registerAccordion(o);
|
|
4386
4390
|
}), it(() => {
|
|
@@ -4389,38 +4393,38 @@ const Ic = /* @__PURE__ */ O(li, [["render", ii]]), di = {
|
|
|
4389
4393
|
r.toggleAccordion(o);
|
|
4390
4394
|
} };
|
|
4391
4395
|
}
|
|
4392
|
-
},
|
|
4396
|
+
}, di = { class: "flex items-center" }, ui = {
|
|
4393
4397
|
key: 0,
|
|
4394
4398
|
class: "w-3 h-3 rotate-180 shrink-0",
|
|
4395
4399
|
"aria-hidden": "true",
|
|
4396
4400
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4397
4401
|
fill: "none",
|
|
4398
4402
|
viewBox: "0 0 10 6"
|
|
4399
|
-
},
|
|
4403
|
+
}, ci = /* @__PURE__ */ t("path", {
|
|
4400
4404
|
stroke: "currentColor",
|
|
4401
4405
|
"stroke-linecap": "round",
|
|
4402
4406
|
"stroke-linejoin": "round",
|
|
4403
4407
|
"stroke-width": "2",
|
|
4404
4408
|
d: "M9 5 5 1 1 5"
|
|
4405
|
-
}, null, -1),
|
|
4406
|
-
|
|
4407
|
-
],
|
|
4409
|
+
}, null, -1), gi = [
|
|
4410
|
+
ci
|
|
4411
|
+
], fi = {
|
|
4408
4412
|
key: 1,
|
|
4409
4413
|
class: "w-3 h-3 shrink-0",
|
|
4410
4414
|
"aria-hidden": "true",
|
|
4411
4415
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4412
4416
|
fill: "none",
|
|
4413
4417
|
viewBox: "0 0 10 6"
|
|
4414
|
-
},
|
|
4418
|
+
}, hi = /* @__PURE__ */ t("path", {
|
|
4415
4419
|
stroke: "currentColor",
|
|
4416
4420
|
"stroke-linecap": "round",
|
|
4417
4421
|
"stroke-linejoin": "round",
|
|
4418
4422
|
"stroke-width": "2",
|
|
4419
4423
|
d: "M9 5 5 1 1 5"
|
|
4420
|
-
}, null, -1),
|
|
4421
|
-
|
|
4424
|
+
}, null, -1), mi = [
|
|
4425
|
+
hi
|
|
4422
4426
|
];
|
|
4423
|
-
function
|
|
4427
|
+
function bi(e, r, s, n, o, a) {
|
|
4424
4428
|
return d(), u("div", null, [
|
|
4425
4429
|
t("h2", null, [
|
|
4426
4430
|
t("button", {
|
|
@@ -4433,9 +4437,9 @@ function pi(e, r, s, n, o, a) {
|
|
|
4433
4437
|
}]),
|
|
4434
4438
|
"aria-expanded": "true"
|
|
4435
4439
|
}, [
|
|
4436
|
-
t("span",
|
|
4437
|
-
n.isOpen ? g("", !0) : (d(), u("svg",
|
|
4438
|
-
n.isOpen ? (d(), u("svg",
|
|
4440
|
+
t("span", di, h(s.title), 1),
|
|
4441
|
+
n.isOpen ? g("", !0) : (d(), u("svg", ui, gi)),
|
|
4442
|
+
n.isOpen ? (d(), u("svg", fi, mi)) : g("", !0)
|
|
4439
4443
|
], 2)
|
|
4440
4444
|
]),
|
|
4441
4445
|
n.isOpen ? (d(), u("div", {
|
|
@@ -4449,13 +4453,13 @@ function pi(e, r, s, n, o, a) {
|
|
|
4449
4453
|
], 2)) : g("", !0)
|
|
4450
4454
|
]);
|
|
4451
4455
|
}
|
|
4452
|
-
const
|
|
4456
|
+
const Ic = /* @__PURE__ */ O(ii, [["render", bi]]), pi = {
|
|
4453
4457
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4454
4458
|
role: "alert"
|
|
4455
|
-
},
|
|
4459
|
+
}, yi = {
|
|
4456
4460
|
key: 0,
|
|
4457
4461
|
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"
|
|
4458
|
-
},
|
|
4462
|
+
}, _i = /* @__PURE__ */ t("svg", {
|
|
4459
4463
|
class: "w-5 h-5",
|
|
4460
4464
|
"aria-hidden": "true",
|
|
4461
4465
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4463,13 +4467,13 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4463
4467
|
viewBox: "0 0 20 20"
|
|
4464
4468
|
}, [
|
|
4465
4469
|
/* @__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" })
|
|
4466
|
-
], -1),
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
],
|
|
4470
|
+
], -1), vi = /* @__PURE__ */ t("span", { class: "sr-only" }, "Check icon", -1), xi = [
|
|
4471
|
+
_i,
|
|
4472
|
+
vi
|
|
4473
|
+
], wi = {
|
|
4470
4474
|
key: 1,
|
|
4471
4475
|
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"
|
|
4472
|
-
},
|
|
4476
|
+
}, ki = /* @__PURE__ */ t("svg", {
|
|
4473
4477
|
class: "w-5 h-5",
|
|
4474
4478
|
"aria-hidden": "true",
|
|
4475
4479
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4477,13 +4481,13 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4477
4481
|
viewBox: "0 0 20 20"
|
|
4478
4482
|
}, [
|
|
4479
4483
|
/* @__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" })
|
|
4480
|
-
], -1),
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
],
|
|
4484
|
+
], -1), $i = /* @__PURE__ */ t("span", { class: "sr-only" }, "Error icon", -1), Ci = [
|
|
4485
|
+
ki,
|
|
4486
|
+
$i
|
|
4487
|
+
], Si = {
|
|
4484
4488
|
key: 2,
|
|
4485
4489
|
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"
|
|
4486
|
-
},
|
|
4490
|
+
}, Di = /* @__PURE__ */ t("svg", {
|
|
4487
4491
|
class: "w-5 h-5",
|
|
4488
4492
|
"aria-hidden": "true",
|
|
4489
4493
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4491,10 +4495,10 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4491
4495
|
viewBox: "0 0 20 20"
|
|
4492
4496
|
}, [
|
|
4493
4497
|
/* @__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" })
|
|
4494
|
-
], -1),
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
],
|
|
4498
|
+
], -1), Oi = /* @__PURE__ */ t("span", { class: "sr-only" }, "Warning icon", -1), Ai = [
|
|
4499
|
+
Di,
|
|
4500
|
+
Oi
|
|
4501
|
+
], Pi = { class: "ml-3 text-sm font-normal" }, ji = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), Ei = /* @__PURE__ */ t("svg", {
|
|
4498
4502
|
"aria-hidden": "true",
|
|
4499
4503
|
class: "w-5 h-5",
|
|
4500
4504
|
fill: "currentColor",
|
|
@@ -4506,10 +4510,10 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4506
4510
|
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",
|
|
4507
4511
|
"clip-rule": "evenodd"
|
|
4508
4512
|
})
|
|
4509
|
-
], -1),
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
],
|
|
4513
|
+
], -1), Li = [
|
|
4514
|
+
ji,
|
|
4515
|
+
Ei
|
|
4516
|
+
], Ti = {
|
|
4513
4517
|
__name: "ToastListItem",
|
|
4514
4518
|
props: {
|
|
4515
4519
|
message: String,
|
|
@@ -4529,23 +4533,23 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4529
4533
|
setTimeout(() => n("remove"), s.duration);
|
|
4530
4534
|
});
|
|
4531
4535
|
const n = r;
|
|
4532
|
-
return (o, a) => (d(), u("div",
|
|
4533
|
-
s.type === "success" ? (d(), u("div",
|
|
4534
|
-
s.type === "error" ? (d(), u("div",
|
|
4535
|
-
s.type === "warning" ? (d(), u("div",
|
|
4536
|
-
t("div",
|
|
4536
|
+
return (o, a) => (d(), u("div", pi, [
|
|
4537
|
+
s.type === "success" ? (d(), u("div", yi, xi)) : g("", !0),
|
|
4538
|
+
s.type === "error" ? (d(), u("div", wi, Ci)) : g("", !0),
|
|
4539
|
+
s.type === "warning" ? (d(), u("div", Si, Ai)) : g("", !0),
|
|
4540
|
+
t("div", Pi, h(s.message), 1),
|
|
4537
4541
|
t("button", {
|
|
4538
4542
|
onClick: a[0] || (a[0] = (i) => n("remove")),
|
|
4539
4543
|
type: "button",
|
|
4540
4544
|
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",
|
|
4541
4545
|
"data-dismiss-target": "#toast-default",
|
|
4542
4546
|
"aria-label": "Close"
|
|
4543
|
-
},
|
|
4547
|
+
}, Li)
|
|
4544
4548
|
]));
|
|
4545
4549
|
}
|
|
4546
4550
|
}, ve = Le({
|
|
4547
4551
|
items: []
|
|
4548
|
-
}),
|
|
4552
|
+
}), Mi = {
|
|
4549
4553
|
add(e) {
|
|
4550
4554
|
ve.items.unshift({
|
|
4551
4555
|
key: Symbol(),
|
|
@@ -4559,8 +4563,8 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4559
4563
|
}
|
|
4560
4564
|
}, Ee = {
|
|
4561
4565
|
state: ve,
|
|
4562
|
-
methods:
|
|
4563
|
-
},
|
|
4566
|
+
methods: Mi
|
|
4567
|
+
}, Nc = {
|
|
4564
4568
|
__name: "GlToastList",
|
|
4565
4569
|
setup(e) {
|
|
4566
4570
|
function r(s) {
|
|
@@ -4575,7 +4579,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4575
4579
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4576
4580
|
}, {
|
|
4577
4581
|
default: ie(() => [
|
|
4578
|
-
(d(!0), u(w, null, D(ut(Ee).state.items, (o, a) => (d(), Z(
|
|
4582
|
+
(d(!0), u(w, null, D(ut(Ee).state.items, (o, a) => (d(), Z(Ti, {
|
|
4579
4583
|
key: o.key,
|
|
4580
4584
|
message: o.message,
|
|
4581
4585
|
type: o.type,
|
|
@@ -4586,10 +4590,10 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4586
4590
|
_: 1
|
|
4587
4591
|
}));
|
|
4588
4592
|
}
|
|
4589
|
-
},
|
|
4593
|
+
}, Ii = {
|
|
4590
4594
|
key: 0,
|
|
4591
4595
|
class: "flex justify-center"
|
|
4592
|
-
},
|
|
4596
|
+
}, Ni = /* @__PURE__ */ t("svg", {
|
|
4593
4597
|
class: "w-5 h-5",
|
|
4594
4598
|
"aria-hidden": "true",
|
|
4595
4599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4597,12 +4601,12 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4597
4601
|
viewBox: "0 0 4 15"
|
|
4598
4602
|
}, [
|
|
4599
4603
|
/* @__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" })
|
|
4600
|
-
], -1),
|
|
4601
|
-
|
|
4602
|
-
],
|
|
4604
|
+
], -1), Vi = [
|
|
4605
|
+
Ni
|
|
4606
|
+
], Bi = { 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" }, Gi = {
|
|
4603
4607
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4604
4608
|
"aria-labelledby": "dropdownDividerButton"
|
|
4605
|
-
},
|
|
4609
|
+
}, Ui = { key: 0 }, Fi = ["href"], Ri = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), qi = { key: 1 }, Hi = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Vc = {
|
|
4606
4610
|
__name: "DatatableAction",
|
|
4607
4611
|
props: {
|
|
4608
4612
|
field: {
|
|
@@ -4655,30 +4659,30 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4655
4659
|
onConfirmDelete: _,
|
|
4656
4660
|
onCancelDelete: c
|
|
4657
4661
|
}, null, 8, ["isOpen"]),
|
|
4658
|
-
e.row && v.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? P((d(), u("div",
|
|
4662
|
+
e.row && v.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? P((d(), u("div", Ii, [
|
|
4659
4663
|
t("button", {
|
|
4660
4664
|
onClick: l,
|
|
4661
4665
|
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",
|
|
4662
4666
|
type: "button"
|
|
4663
|
-
},
|
|
4664
|
-
P(t("div",
|
|
4665
|
-
t("ul",
|
|
4666
|
-
v.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4667
|
+
}, Vi),
|
|
4668
|
+
P(t("div", Bi, [
|
|
4669
|
+
t("ul", Gi, [
|
|
4670
|
+
v.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Ui, [
|
|
4667
4671
|
t("a", {
|
|
4668
4672
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4669
4673
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4670
4674
|
}, [
|
|
4671
|
-
|
|
4675
|
+
Ri,
|
|
4672
4676
|
$(" Edit")
|
|
4673
|
-
], 8,
|
|
4677
|
+
], 8, Fi)
|
|
4674
4678
|
])) : g("", !0),
|
|
4675
|
-
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4679
|
+
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", qi, [
|
|
4676
4680
|
t("a", {
|
|
4677
4681
|
href: "#",
|
|
4678
|
-
onClick:
|
|
4682
|
+
onClick: L(f, ["prevent"]),
|
|
4679
4683
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4680
4684
|
}, [
|
|
4681
|
-
|
|
4685
|
+
Hi,
|
|
4682
4686
|
$(" Remove")
|
|
4683
4687
|
])
|
|
4684
4688
|
])) : g("", !0)
|
|
@@ -4692,10 +4696,10 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4692
4696
|
], 64);
|
|
4693
4697
|
};
|
|
4694
4698
|
}
|
|
4695
|
-
},
|
|
4699
|
+
}, zi = {
|
|
4696
4700
|
key: 0,
|
|
4697
4701
|
class: "flex justify-center"
|
|
4698
|
-
},
|
|
4702
|
+
}, Zi = /* @__PURE__ */ t("svg", {
|
|
4699
4703
|
class: "w-5 h-5",
|
|
4700
4704
|
"aria-hidden": "true",
|
|
4701
4705
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4703,12 +4707,12 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4703
4707
|
viewBox: "0 0 4 15"
|
|
4704
4708
|
}, [
|
|
4705
4709
|
/* @__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" })
|
|
4706
|
-
], -1),
|
|
4707
|
-
|
|
4708
|
-
],
|
|
4710
|
+
], -1), Ki = [
|
|
4711
|
+
Zi
|
|
4712
|
+
], Wi = { 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" }, Yi = {
|
|
4709
4713
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4710
4714
|
"aria-labelledby": "dropdownDividerButton"
|
|
4711
|
-
},
|
|
4715
|
+
}, Xi = { key: 0 }, Ji = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Bc = {
|
|
4712
4716
|
__name: "DatatableDeleteAction",
|
|
4713
4717
|
props: {
|
|
4714
4718
|
field: {
|
|
@@ -4761,21 +4765,21 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4761
4765
|
onConfirmDelete: _,
|
|
4762
4766
|
onCancelDelete: c
|
|
4763
4767
|
}, null, 8, ["isOpen"]),
|
|
4764
|
-
e.row && v.can(`delete_${e.xprops.permission}`) ? P((d(), u("div",
|
|
4768
|
+
e.row && v.can(`delete_${e.xprops.permission}`) ? P((d(), u("div", zi, [
|
|
4765
4769
|
t("button", {
|
|
4766
4770
|
onClick: l,
|
|
4767
4771
|
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",
|
|
4768
4772
|
type: "button"
|
|
4769
|
-
},
|
|
4770
|
-
P(t("div",
|
|
4771
|
-
t("ul",
|
|
4772
|
-
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4773
|
+
}, Ki),
|
|
4774
|
+
P(t("div", Wi, [
|
|
4775
|
+
t("ul", Yi, [
|
|
4776
|
+
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Xi, [
|
|
4773
4777
|
t("a", {
|
|
4774
4778
|
href: "#",
|
|
4775
|
-
onClick:
|
|
4779
|
+
onClick: L(f, ["prevent"]),
|
|
4776
4780
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4777
4781
|
}, [
|
|
4778
|
-
|
|
4782
|
+
Ji,
|
|
4779
4783
|
$(" Remove")
|
|
4780
4784
|
])
|
|
4781
4785
|
])) : g("", !0)
|
|
@@ -4789,7 +4793,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4789
4793
|
], 64);
|
|
4790
4794
|
};
|
|
4791
4795
|
}
|
|
4792
|
-
},
|
|
4796
|
+
}, Qi = {
|
|
4793
4797
|
props: ["field", "row"],
|
|
4794
4798
|
computed: {
|
|
4795
4799
|
isArray() {
|
|
@@ -4804,7 +4808,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4804
4808
|
},
|
|
4805
4809
|
mounted() {
|
|
4806
4810
|
}
|
|
4807
|
-
},
|
|
4811
|
+
}, ed = ["href", "title"], td = /* @__PURE__ */ t("svg", {
|
|
4808
4812
|
class: "w-3 h-3 text-white me-2",
|
|
4809
4813
|
"aria-hidden": "true",
|
|
4810
4814
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4821,10 +4825,10 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4821
4825
|
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",
|
|
4822
4826
|
"clip-rule": "evenodd"
|
|
4823
4827
|
})
|
|
4824
|
-
], -1),
|
|
4828
|
+
], -1), rd = {
|
|
4825
4829
|
key: 1,
|
|
4826
4830
|
class: "m-1 d-inline-block"
|
|
4827
|
-
},
|
|
4831
|
+
}, sd = ["href", "title"], ad = /* @__PURE__ */ t("svg", {
|
|
4828
4832
|
class: "w-3 h-3 text-white me-2",
|
|
4829
4833
|
"aria-hidden": "true",
|
|
4830
4834
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4842,7 +4846,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4842
4846
|
"clip-rule": "evenodd"
|
|
4843
4847
|
})
|
|
4844
4848
|
], -1);
|
|
4845
|
-
function
|
|
4849
|
+
function nd(e, r, s, n, o, a) {
|
|
4846
4850
|
return d(), u("div", null, [
|
|
4847
4851
|
a.isArray ? (d(!0), u(w, { key: 0 }, D(s.row, (i, l) => (d(), u("div", {
|
|
4848
4852
|
key: l,
|
|
@@ -4854,23 +4858,23 @@ function od(e, r, s, n, o, a) {
|
|
|
4854
4858
|
target: "_blank",
|
|
4855
4859
|
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"
|
|
4856
4860
|
}, [
|
|
4857
|
-
|
|
4861
|
+
td,
|
|
4858
4862
|
$(" Download ")
|
|
4859
|
-
], 8,
|
|
4860
|
-
]))), 128)) : a.isString ? (d(), u("div",
|
|
4863
|
+
], 8, ed)
|
|
4864
|
+
]))), 128)) : a.isString ? (d(), u("div", rd, [
|
|
4861
4865
|
t("a", {
|
|
4862
4866
|
href: s.row,
|
|
4863
4867
|
title: s.row,
|
|
4864
4868
|
target: "_blank",
|
|
4865
4869
|
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"
|
|
4866
4870
|
}, [
|
|
4867
|
-
|
|
4871
|
+
ad,
|
|
4868
4872
|
$(" Download ")
|
|
4869
|
-
], 8,
|
|
4873
|
+
], 8, sd)
|
|
4870
4874
|
])) : g("", !0)
|
|
4871
4875
|
]);
|
|
4872
4876
|
}
|
|
4873
|
-
const
|
|
4877
|
+
const Gc = /* @__PURE__ */ O(Qi, [["render", nd]]), od = {
|
|
4874
4878
|
props: ["field", "row"],
|
|
4875
4879
|
computed: {
|
|
4876
4880
|
isArray() {
|
|
@@ -4880,7 +4884,7 @@ const Uc = /* @__PURE__ */ O(ed, [["render", od]]), ld = {
|
|
|
4880
4884
|
return typeof this.row[this.field] == "object";
|
|
4881
4885
|
}
|
|
4882
4886
|
}
|
|
4883
|
-
},
|
|
4887
|
+
}, ld = ["href", "title"], id = /* @__PURE__ */ t("svg", {
|
|
4884
4888
|
class: "w-3 h-3 text-white me-2",
|
|
4885
4889
|
"aria-hidden": "true",
|
|
4886
4890
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4897,10 +4901,10 @@ const Uc = /* @__PURE__ */ O(ed, [["render", od]]), ld = {
|
|
|
4897
4901
|
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",
|
|
4898
4902
|
"clip-rule": "evenodd"
|
|
4899
4903
|
})
|
|
4900
|
-
], -1),
|
|
4904
|
+
], -1), dd = {
|
|
4901
4905
|
key: 1,
|
|
4902
4906
|
class: "m-1 d-inline-block"
|
|
4903
|
-
},
|
|
4907
|
+
}, ud = ["href", "title"], cd = /* @__PURE__ */ t("svg", {
|
|
4904
4908
|
class: "w-3 h-3 text-white me-2",
|
|
4905
4909
|
"aria-hidden": "true",
|
|
4906
4910
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4918,7 +4922,7 @@ const Uc = /* @__PURE__ */ O(ed, [["render", od]]), ld = {
|
|
|
4918
4922
|
"clip-rule": "evenodd"
|
|
4919
4923
|
})
|
|
4920
4924
|
], -1);
|
|
4921
|
-
function
|
|
4925
|
+
function gd(e, r, s, n, o, a) {
|
|
4922
4926
|
return d(), u("div", null, [
|
|
4923
4927
|
a.isArray ? (d(!0), u(w, { key: 0 }, D(s.row[s.field], (i) => (d(), u("div", {
|
|
4924
4928
|
key: i.id,
|
|
@@ -4930,34 +4934,34 @@ function fd(e, r, s, n, o, a) {
|
|
|
4930
4934
|
target: "_blank",
|
|
4931
4935
|
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"
|
|
4932
4936
|
}, [
|
|
4933
|
-
|
|
4937
|
+
id,
|
|
4934
4938
|
$(" Download ")
|
|
4935
|
-
], 8,
|
|
4936
|
-
]))), 128)) : a.isObject ? (d(), u("div",
|
|
4939
|
+
], 8, ld)
|
|
4940
|
+
]))), 128)) : a.isObject ? (d(), u("div", dd, [
|
|
4937
4941
|
t("a", {
|
|
4938
4942
|
href: s.row[s.field].url,
|
|
4939
4943
|
title: s.row[s.field].name,
|
|
4940
4944
|
target: "_blank",
|
|
4941
4945
|
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"
|
|
4942
4946
|
}, [
|
|
4943
|
-
|
|
4947
|
+
cd,
|
|
4944
4948
|
$(" Download ")
|
|
4945
|
-
], 8,
|
|
4949
|
+
], 8, ud)
|
|
4946
4950
|
])) : g("", !0)
|
|
4947
4951
|
]);
|
|
4948
4952
|
}
|
|
4949
|
-
const
|
|
4953
|
+
const Uc = /* @__PURE__ */ O(od, [["render", gd]]), fd = {
|
|
4950
4954
|
props: ["field", "row", "tdProps"]
|
|
4951
|
-
},
|
|
4952
|
-
function
|
|
4953
|
-
return s.row[s.field] ? (d(), u("div",
|
|
4955
|
+
}, hd = { key: 0 }, md = ["innerHTML"];
|
|
4956
|
+
function bd(e, r, s, n, o, a) {
|
|
4957
|
+
return s.row[s.field] ? (d(), u("div", hd, [
|
|
4954
4958
|
t("div", {
|
|
4955
4959
|
class: "w-full",
|
|
4956
4960
|
innerHTML: s.row[s.field]
|
|
4957
|
-
}, null, 8,
|
|
4961
|
+
}, null, 8, md)
|
|
4958
4962
|
])) : g("", !0);
|
|
4959
4963
|
}
|
|
4960
|
-
const
|
|
4964
|
+
const Fc = /* @__PURE__ */ O(fd, [["render", bd]]), pd = {
|
|
4961
4965
|
props: ["field", "row", "tdProps"],
|
|
4962
4966
|
computed: {
|
|
4963
4967
|
entry() {
|
|
@@ -4971,24 +4975,24 @@ const Rc = /* @__PURE__ */ O(hd, [["render", pd]]), yd = {
|
|
|
4971
4975
|
return typeof this.row[this.entry.key] == "object";
|
|
4972
4976
|
}
|
|
4973
4977
|
}
|
|
4974
|
-
},
|
|
4978
|
+
}, yd = { class: "flex flex-wrap gap-2" }, _d = {
|
|
4975
4979
|
key: 1,
|
|
4976
4980
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4977
4981
|
};
|
|
4978
|
-
function
|
|
4979
|
-
return d(), u("div",
|
|
4982
|
+
function vd(e, r, s, n, o, a) {
|
|
4983
|
+
return d(), u("div", yd, [
|
|
4980
4984
|
a.isArray ? (d(!0), u(w, { key: 0 }, D(s.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4981
4985
|
key: l,
|
|
4982
4986
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4983
|
-
}, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span",
|
|
4987
|
+
}, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", _d, h(s.row[a.entry.key][a.entry.field]), 1)) : g("", !0)
|
|
4984
4988
|
]);
|
|
4985
4989
|
}
|
|
4986
|
-
const
|
|
4990
|
+
const Rc = /* @__PURE__ */ O(pd, [["render", vd]]), xd = {
|
|
4987
4991
|
props: ["field", "row", "tdProps"]
|
|
4988
|
-
},
|
|
4989
|
-
function
|
|
4990
|
-
return s.row[s.field] ? (d(), u("div",
|
|
4991
|
-
t("div",
|
|
4992
|
+
}, wd = { key: 0 }, kd = { class: "m-1 d-inline-block" }, $d = ["href", "title"], Cd = ["src", "alt", "title"];
|
|
4993
|
+
function Sd(e, r, s, n, o, a) {
|
|
4994
|
+
return s.row[s.field] ? (d(), u("div", wd, [
|
|
4995
|
+
t("div", kd, [
|
|
4992
4996
|
t("a", {
|
|
4993
4997
|
href: s.row[s.field].url,
|
|
4994
4998
|
title: s.row[s.field].name,
|
|
@@ -4998,37 +5002,37 @@ function Dd(e, r, s, n, o, a) {
|
|
|
4998
5002
|
src: s.row[s.field].thumbnail,
|
|
4999
5003
|
alt: s.row[s.field].name,
|
|
5000
5004
|
title: s.row[s.field].name
|
|
5001
|
-
}, null, 8,
|
|
5002
|
-
], 8,
|
|
5005
|
+
}, null, 8, Cd)
|
|
5006
|
+
], 8, $d)
|
|
5003
5007
|
])
|
|
5004
5008
|
])) : g("", !0);
|
|
5005
5009
|
}
|
|
5006
|
-
const
|
|
5010
|
+
const qc = /* @__PURE__ */ O(xd, [["render", Sd], ["__scopeId", "data-v-3a28c02c"]]), Dd = {
|
|
5007
5011
|
props: ["field", "row", "tdProps"],
|
|
5008
5012
|
computed: {
|
|
5009
5013
|
isActive() {
|
|
5010
5014
|
return this.row[this.field] === 1;
|
|
5011
5015
|
}
|
|
5012
5016
|
}
|
|
5013
|
-
},
|
|
5017
|
+
}, Od = { class: "flex flex-wrap gap-2 text-nowrap" }, Ad = {
|
|
5014
5018
|
key: 0,
|
|
5015
5019
|
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"
|
|
5016
|
-
},
|
|
5020
|
+
}, Pd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), jd = {
|
|
5017
5021
|
key: 1,
|
|
5018
5022
|
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"
|
|
5019
|
-
},
|
|
5020
|
-
function
|
|
5021
|
-
return d(), u("div",
|
|
5022
|
-
a.isActive ? (d(), u("span",
|
|
5023
|
-
|
|
5023
|
+
}, Ed = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
5024
|
+
function Ld(e, r, s, n, o, a) {
|
|
5025
|
+
return d(), u("div", Od, [
|
|
5026
|
+
a.isActive ? (d(), u("span", Ad, [
|
|
5027
|
+
Pd,
|
|
5024
5028
|
$(" Active ")
|
|
5025
|
-
])) : a.isActive ? g("", !0) : (d(), u("span",
|
|
5026
|
-
|
|
5029
|
+
])) : a.isActive ? g("", !0) : (d(), u("span", jd, [
|
|
5030
|
+
Ed,
|
|
5027
5031
|
$(" Inactive ")
|
|
5028
5032
|
]))
|
|
5029
5033
|
]);
|
|
5030
5034
|
}
|
|
5031
|
-
const
|
|
5035
|
+
const Hc = /* @__PURE__ */ O(Dd, [["render", Ld]]), Td = {
|
|
5032
5036
|
props: ["field", "row", "tdProps"],
|
|
5033
5037
|
computed: {
|
|
5034
5038
|
hasLabelColor(e) {
|
|
@@ -5038,50 +5042,50 @@ const zc = /* @__PURE__ */ O(Od, [["render", Td]]), Md = {
|
|
|
5038
5042
|
return r ? r.class : "";
|
|
5039
5043
|
}
|
|
5040
5044
|
}
|
|
5041
|
-
},
|
|
5045
|
+
}, Md = { class: "flex flex-wrap gap-2 text-nowrap" }, Id = {
|
|
5042
5046
|
key: 0,
|
|
5043
5047
|
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"
|
|
5044
|
-
},
|
|
5048
|
+
}, Nd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Vd = {
|
|
5045
5049
|
key: 1,
|
|
5046
5050
|
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"
|
|
5047
|
-
},
|
|
5051
|
+
}, Bd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), Gd = {
|
|
5048
5052
|
key: 2,
|
|
5049
5053
|
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"
|
|
5050
|
-
},
|
|
5054
|
+
}, Ud = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), Fd = {
|
|
5051
5055
|
key: 3,
|
|
5052
5056
|
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"
|
|
5053
|
-
},
|
|
5057
|
+
}, Rd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), qd = {
|
|
5054
5058
|
key: 4,
|
|
5055
5059
|
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"
|
|
5056
|
-
},
|
|
5060
|
+
}, Hd = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
5057
5061
|
/* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
5058
5062
|
/* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
5059
5063
|
], -1);
|
|
5060
|
-
function
|
|
5061
|
-
return d(), u("div",
|
|
5062
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
5063
|
-
|
|
5064
|
+
function zd(e, r, s, n, o, a) {
|
|
5065
|
+
return d(), u("div", Md, [
|
|
5066
|
+
a.hasLabelColor == "green" ? (d(), u("span", Id, [
|
|
5067
|
+
Nd,
|
|
5064
5068
|
$(" " + h(this.row[this.field]), 1)
|
|
5065
5069
|
])) : g("", !0),
|
|
5066
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
5067
|
-
|
|
5070
|
+
a.hasLabelColor == "red" ? (d(), u("span", Vd, [
|
|
5071
|
+
Bd,
|
|
5068
5072
|
$(" " + h(this.row[this.field]), 1)
|
|
5069
5073
|
])) : g("", !0),
|
|
5070
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
5071
|
-
|
|
5074
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", Gd, [
|
|
5075
|
+
Ud,
|
|
5072
5076
|
$(" " + h(this.row[this.field]), 1)
|
|
5073
5077
|
])) : g("", !0),
|
|
5074
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
5075
|
-
|
|
5078
|
+
a.hasLabelColor == "default" ? (d(), u("span", Fd, [
|
|
5079
|
+
Rd,
|
|
5076
5080
|
$(" " + h(this.row[this.field]), 1)
|
|
5077
5081
|
])) : g("", !0),
|
|
5078
|
-
a.hasLabelColor == "animate" ? (d(), u("span",
|
|
5079
|
-
|
|
5082
|
+
a.hasLabelColor == "animate" ? (d(), u("span", qd, [
|
|
5083
|
+
Hd,
|
|
5080
5084
|
$(" " + h(this.row[this.field]), 1)
|
|
5081
5085
|
])) : g("", !0)
|
|
5082
5086
|
]);
|
|
5083
5087
|
}
|
|
5084
|
-
const
|
|
5088
|
+
const zc = /* @__PURE__ */ O(Td, [["render", zd]]), Zd = {
|
|
5085
5089
|
props: ["field", "row", "tdProps"],
|
|
5086
5090
|
computed: {
|
|
5087
5091
|
hasLabelColor() {
|
|
@@ -5102,9 +5106,9 @@ const Zc = /* @__PURE__ */ O(Md, [["render", Zd]]), Kd = {
|
|
|
5102
5106
|
}
|
|
5103
5107
|
}
|
|
5104
5108
|
}
|
|
5105
|
-
},
|
|
5106
|
-
function
|
|
5107
|
-
return d(), u("div",
|
|
5109
|
+
}, Kd = { class: "flex flex-wrap gap-2 text-nowrap justify-center" };
|
|
5110
|
+
function Wd(e, r, s, n, o, a) {
|
|
5111
|
+
return d(), u("div", Kd, [
|
|
5108
5112
|
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
5109
5113
|
key: 0,
|
|
5110
5114
|
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])
|
|
@@ -5139,7 +5143,7 @@ function Yd(e, r, s, n, o, a) {
|
|
|
5139
5143
|
}, h(this.row[this.field]), 3)) : g("", !0)
|
|
5140
5144
|
]);
|
|
5141
5145
|
}
|
|
5142
|
-
const
|
|
5146
|
+
const Zc = /* @__PURE__ */ O(Zd, [["render", Wd]]), Yd = {
|
|
5143
5147
|
props: ["field", "row", "tdProps"],
|
|
5144
5148
|
computed: {
|
|
5145
5149
|
hasLabelColor(e) {
|
|
@@ -5155,50 +5159,50 @@ const Kc = /* @__PURE__ */ O(Kd, [["render", Yd]]), Xd = {
|
|
|
5155
5159
|
return e ? e.label : "";
|
|
5156
5160
|
}
|
|
5157
5161
|
}
|
|
5158
|
-
},
|
|
5162
|
+
}, Xd = { class: "flex flex-wrap gap-2 text-nowrap" }, Jd = {
|
|
5159
5163
|
key: 0,
|
|
5160
5164
|
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"
|
|
5161
|
-
},
|
|
5165
|
+
}, Qd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), eu = {
|
|
5162
5166
|
key: 1,
|
|
5163
5167
|
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"
|
|
5164
|
-
},
|
|
5168
|
+
}, tu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), ru = {
|
|
5165
5169
|
key: 2,
|
|
5166
5170
|
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"
|
|
5167
|
-
},
|
|
5171
|
+
}, su = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), au = {
|
|
5168
5172
|
key: 3,
|
|
5169
5173
|
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"
|
|
5170
|
-
},
|
|
5174
|
+
}, nu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), ou = {
|
|
5171
5175
|
key: 4,
|
|
5172
5176
|
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"
|
|
5173
|
-
},
|
|
5177
|
+
}, lu = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
5174
5178
|
/* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
5175
5179
|
/* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
5176
5180
|
], -1);
|
|
5177
|
-
function
|
|
5178
|
-
return d(), u("div",
|
|
5179
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
5180
|
-
|
|
5181
|
+
function iu(e, r, s, n, o, a) {
|
|
5182
|
+
return d(), u("div", Xd, [
|
|
5183
|
+
a.hasLabelColor == "green" ? (d(), u("span", Jd, [
|
|
5184
|
+
Qd,
|
|
5181
5185
|
$(" " + h(a.getLabel), 1)
|
|
5182
5186
|
])) : g("", !0),
|
|
5183
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
5184
|
-
|
|
5187
|
+
a.hasLabelColor == "red" ? (d(), u("span", eu, [
|
|
5188
|
+
tu,
|
|
5185
5189
|
$(" " + h(a.getLabel), 1)
|
|
5186
5190
|
])) : g("", !0),
|
|
5187
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
5188
|
-
|
|
5191
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", ru, [
|
|
5192
|
+
su,
|
|
5189
5193
|
$(" " + h(a.getLabel), 1)
|
|
5190
5194
|
])) : g("", !0),
|
|
5191
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
5192
|
-
|
|
5195
|
+
a.hasLabelColor == "default" ? (d(), u("span", au, [
|
|
5196
|
+
nu,
|
|
5193
5197
|
$(" " + h(a.getLabel), 1)
|
|
5194
5198
|
])) : g("", !0),
|
|
5195
|
-
a.hasLabelColor == "animate" ? (d(), u("span",
|
|
5196
|
-
|
|
5199
|
+
a.hasLabelColor == "animate" ? (d(), u("span", ou, [
|
|
5200
|
+
lu,
|
|
5197
5201
|
$(" " + h(a.getLabel), 1)
|
|
5198
5202
|
])) : g("", !0)
|
|
5199
5203
|
]);
|
|
5200
5204
|
}
|
|
5201
|
-
const
|
|
5205
|
+
const Kc = /* @__PURE__ */ O(Yd, [["render", iu]]), du = {
|
|
5202
5206
|
props: ["field", "row", "tdProps"],
|
|
5203
5207
|
computed: {
|
|
5204
5208
|
formattedDate() {
|
|
@@ -5213,54 +5217,54 @@ const Wc = /* @__PURE__ */ O(Xd, [["render", du]]), uu = {
|
|
|
5213
5217
|
return this.row[this.field] === 1;
|
|
5214
5218
|
}
|
|
5215
5219
|
}
|
|
5216
|
-
},
|
|
5217
|
-
function
|
|
5218
|
-
return d(), u("div",
|
|
5220
|
+
}, uu = { class: "w-full" };
|
|
5221
|
+
function cu(e, r, s, n, o, a) {
|
|
5222
|
+
return d(), u("div", uu, h(a.formattedDate), 1);
|
|
5219
5223
|
}
|
|
5220
|
-
const
|
|
5224
|
+
const Wc = /* @__PURE__ */ O(du, [["render", cu]]), gu = {
|
|
5221
5225
|
props: ["field", "row", "tdProps"]
|
|
5222
|
-
},
|
|
5226
|
+
}, fu = { class: "flex flex-wrap gap-2 text-nowrap" }, hu = {
|
|
5223
5227
|
key: 0,
|
|
5224
5228
|
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"
|
|
5225
|
-
},
|
|
5229
|
+
}, mu = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
5226
5230
|
/* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
5227
5231
|
/* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
5228
|
-
], -1),
|
|
5232
|
+
], -1), bu = {
|
|
5229
5233
|
key: 1,
|
|
5230
5234
|
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"
|
|
5231
|
-
},
|
|
5235
|
+
}, pu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), yu = {
|
|
5232
5236
|
key: 2,
|
|
5233
5237
|
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"
|
|
5234
|
-
},
|
|
5235
|
-
function
|
|
5236
|
-
return d(), u("div",
|
|
5237
|
-
s.row[s.field] === 0 ? (d(), u("span",
|
|
5238
|
-
|
|
5238
|
+
}, _u = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
5239
|
+
function vu(e, r, s, n, o, a) {
|
|
5240
|
+
return d(), u("div", fu, [
|
|
5241
|
+
s.row[s.field] === 0 ? (d(), u("span", hu, [
|
|
5242
|
+
mu,
|
|
5239
5243
|
$(" Provisioning")
|
|
5240
5244
|
])) : g("", !0),
|
|
5241
|
-
s.row[s.field] === 2 ? (d(), u("span",
|
|
5242
|
-
|
|
5245
|
+
s.row[s.field] === 2 ? (d(), u("span", bu, [
|
|
5246
|
+
pu,
|
|
5243
5247
|
$(" Paused ")
|
|
5244
5248
|
])) : g("", !0),
|
|
5245
|
-
s.row[s.field] === 1 ? (d(), u("span",
|
|
5246
|
-
|
|
5249
|
+
s.row[s.field] === 1 ? (d(), u("span", yu, [
|
|
5250
|
+
_u,
|
|
5247
5251
|
$(" Active ")
|
|
5248
5252
|
])) : g("", !0)
|
|
5249
5253
|
]);
|
|
5250
5254
|
}
|
|
5251
|
-
const
|
|
5255
|
+
const Yc = /* @__PURE__ */ O(gu, [["render", vu]]), xu = {
|
|
5252
5256
|
props: ["field", "row", "tdProps"]
|
|
5253
|
-
},
|
|
5257
|
+
}, wu = {
|
|
5254
5258
|
key: 0,
|
|
5255
5259
|
class: "text-nowrap"
|
|
5256
|
-
},
|
|
5257
|
-
function
|
|
5258
|
-
return s.row[s.field] ? (d(), u("div",
|
|
5259
|
-
t("pre",
|
|
5260
|
+
}, ku = { 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" };
|
|
5261
|
+
function $u(e, r, s, n, o, a) {
|
|
5262
|
+
return s.row[s.field] ? (d(), u("div", wu, [
|
|
5263
|
+
t("pre", ku, " " + h(s.row[s.field]) + `
|
|
5260
5264
|
`, 1)
|
|
5261
5265
|
])) : g("", !0);
|
|
5262
5266
|
}
|
|
5263
|
-
const
|
|
5267
|
+
const Xc = /* @__PURE__ */ O(xu, [["render", $u]]), Cu = {
|
|
5264
5268
|
props: ["isOpen", "title", "button_text"],
|
|
5265
5269
|
methods: {
|
|
5266
5270
|
confirmAction() {
|
|
@@ -5270,35 +5274,35 @@ const Jc = /* @__PURE__ */ O(wu, [["render", Cu]]), Su = {
|
|
|
5270
5274
|
this.$emit("cancel-action");
|
|
5271
5275
|
}
|
|
5272
5276
|
}
|
|
5273
|
-
},
|
|
5277
|
+
}, Su = {
|
|
5274
5278
|
key: 0,
|
|
5275
5279
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
5276
5280
|
role: "dialog",
|
|
5277
5281
|
"aria-modal": "true"
|
|
5278
|
-
},
|
|
5282
|
+
}, Du = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Ou = /* @__PURE__ */ t("div", {
|
|
5279
5283
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
5280
5284
|
"aria-hidden": "true"
|
|
5281
|
-
}, null, -1),
|
|
5285
|
+
}, null, -1), Au = /* @__PURE__ */ t("span", {
|
|
5282
5286
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
5283
5287
|
"aria-hidden": "true"
|
|
5284
|
-
}, "", -1),
|
|
5285
|
-
function
|
|
5286
|
-
return s.isOpen ? (d(), u("div",
|
|
5287
|
-
t("div",
|
|
5288
|
+
}, "", -1), Pu = { 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" }, ju = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Eu = { class: "sm:flex sm:items-start" }, Lu = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Tu = { class: "text-lg font-medium leading-6 text-gray-900" }, Mu = { class: "mt-2" }, Iu = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
5289
|
+
function Nu(e, r, s, n, o, a) {
|
|
5290
|
+
return s.isOpen ? (d(), u("div", Su, [
|
|
5291
|
+
t("div", Du, [
|
|
5292
|
+
Ou,
|
|
5288
5293
|
Au,
|
|
5289
|
-
Pu,
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
t("
|
|
5295
|
-
t("div", Iu, [
|
|
5294
|
+
t("div", Pu, [
|
|
5295
|
+
t("div", ju, [
|
|
5296
|
+
t("div", Eu, [
|
|
5297
|
+
t("div", Lu, [
|
|
5298
|
+
t("h3", Tu, h(s.title), 1),
|
|
5299
|
+
t("div", Mu, [
|
|
5296
5300
|
I(e.$slots, "default")
|
|
5297
5301
|
])
|
|
5298
5302
|
])
|
|
5299
5303
|
])
|
|
5300
5304
|
]),
|
|
5301
|
-
t("div",
|
|
5305
|
+
t("div", Iu, [
|
|
5302
5306
|
t("button", {
|
|
5303
5307
|
onClick: r[0] || (r[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
5304
5308
|
type: "button",
|
|
@@ -5314,10 +5318,10 @@ function Vu(e, r, s, n, o, a) {
|
|
|
5314
5318
|
])
|
|
5315
5319
|
])) : g("", !0);
|
|
5316
5320
|
}
|
|
5317
|
-
const
|
|
5321
|
+
const Jc = /* @__PURE__ */ O(Cu, [["render", Nu]]), Vu = { class: "w-full" }, Bu = { class: "mb-2 flex justify-between items-center" }, Gu = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Uu = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, Fu = { class: "overflow-auto max-h-32" }, Ru = { class: "text-sm text-gray-500 dark:text-gray-400" }, qu = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Hu = {
|
|
5318
5322
|
key: 0,
|
|
5319
5323
|
class: "inline-flex items-center"
|
|
5320
|
-
},
|
|
5324
|
+
}, zu = /* @__PURE__ */ t("svg", {
|
|
5321
5325
|
class: "w-3 h-3 me-2",
|
|
5322
5326
|
"aria-hidden": "true",
|
|
5323
5327
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5325,13 +5329,13 @@ const Qc = /* @__PURE__ */ O(Su, [["render", Vu]]), Bu = { class: "w-full" }, Gu
|
|
|
5325
5329
|
viewBox: "0 0 18 20"
|
|
5326
5330
|
}, [
|
|
5327
5331
|
/* @__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" })
|
|
5328
|
-
], -1),
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
],
|
|
5332
|
+
], -1), Zu = /* @__PURE__ */ t("span", { class: "text-xs font-semibold" }, "Copy", -1), Ku = [
|
|
5333
|
+
zu,
|
|
5334
|
+
Zu
|
|
5335
|
+
], Wu = {
|
|
5332
5336
|
key: 1,
|
|
5333
5337
|
class: "inline-flex items-center"
|
|
5334
|
-
},
|
|
5338
|
+
}, Yu = /* @__PURE__ */ t("svg", {
|
|
5335
5339
|
class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-2",
|
|
5336
5340
|
"aria-hidden": "true",
|
|
5337
5341
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5345,10 +5349,10 @@ const Qc = /* @__PURE__ */ O(Su, [["render", Vu]]), Bu = { class: "w-full" }, Gu
|
|
|
5345
5349
|
"stroke-width": "2",
|
|
5346
5350
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
5347
5351
|
})
|
|
5348
|
-
], -1),
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
],
|
|
5352
|
+
], -1), Xu = /* @__PURE__ */ t("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), Ju = [
|
|
5353
|
+
Yu,
|
|
5354
|
+
Xu
|
|
5355
|
+
], Qu = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, Qc = {
|
|
5352
5356
|
__name: "GlCodeCopy",
|
|
5353
5357
|
props: {
|
|
5354
5358
|
label_name: {
|
|
@@ -5373,29 +5377,29 @@ const Qc = /* @__PURE__ */ O(Su, [["render", Vu]]), Bu = { class: "w-full" }, Gu
|
|
|
5373
5377
|
}).catch(function(i) {
|
|
5374
5378
|
console.error("Error copying to clipboard: ", i);
|
|
5375
5379
|
});
|
|
5376
|
-
}, o =
|
|
5377
|
-
return (a, i) => (d(), u("div",
|
|
5378
|
-
t("div",
|
|
5379
|
-
t("p",
|
|
5380
|
+
}, o = j(() => r.code);
|
|
5381
|
+
return (a, i) => (d(), u("div", Vu, [
|
|
5382
|
+
t("div", Bu, [
|
|
5383
|
+
t("p", Gu, h(e.label_name), 1)
|
|
5380
5384
|
]),
|
|
5381
|
-
t("div",
|
|
5382
|
-
t("div",
|
|
5383
|
-
t("code",
|
|
5385
|
+
t("div", Uu, [
|
|
5386
|
+
t("div", Fu, [
|
|
5387
|
+
t("code", Ru, h(o.value), 1)
|
|
5384
5388
|
]),
|
|
5385
|
-
t("div",
|
|
5389
|
+
t("div", qu, [
|
|
5386
5390
|
t("button", {
|
|
5387
5391
|
onClick: i[0] || (i[0] = (l) => n(o.value)),
|
|
5388
5392
|
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"
|
|
5389
5393
|
}, [
|
|
5390
|
-
s.value ? g("", !0) : (d(), u("span",
|
|
5391
|
-
s.value ? (d(), u("span",
|
|
5394
|
+
s.value ? g("", !0) : (d(), u("span", Hu, Ku)),
|
|
5395
|
+
s.value ? (d(), u("span", Wu, Ju)) : g("", !0)
|
|
5392
5396
|
])
|
|
5393
5397
|
])
|
|
5394
5398
|
]),
|
|
5395
|
-
t("p",
|
|
5399
|
+
t("p", Qu, h(e.description), 1)
|
|
5396
5400
|
]));
|
|
5397
5401
|
}
|
|
5398
|
-
},
|
|
5402
|
+
}, ec = { class: "w-full" }, tc = { class: "flex justify-between items-center" }, rc = { class: "gl-label-form" }, sc = { class: "flex items-center" }, ac = { 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" }, nc = { class: "relative w-full" }, oc = ["value"], lc = { key: 0 }, ic = /* @__PURE__ */ t("svg", {
|
|
5399
5403
|
class: "w-4 h-4",
|
|
5400
5404
|
"aria-hidden": "true",
|
|
5401
5405
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5403,12 +5407,12 @@ const Qc = /* @__PURE__ */ O(Su, [["render", Vu]]), Bu = { class: "w-full" }, Gu
|
|
|
5403
5407
|
viewBox: "0 0 18 20"
|
|
5404
5408
|
}, [
|
|
5405
5409
|
/* @__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" })
|
|
5406
|
-
], -1),
|
|
5407
|
-
|
|
5408
|
-
],
|
|
5410
|
+
], -1), dc = [
|
|
5411
|
+
ic
|
|
5412
|
+
], uc = {
|
|
5409
5413
|
key: 1,
|
|
5410
5414
|
class: "inline-flex items-center"
|
|
5411
|
-
},
|
|
5415
|
+
}, cc = /* @__PURE__ */ t("svg", {
|
|
5412
5416
|
class: "w-4 h-4",
|
|
5413
5417
|
"aria-hidden": "true",
|
|
5414
5418
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5422,9 +5426,9 @@ const Qc = /* @__PURE__ */ O(Su, [["render", Vu]]), Bu = { class: "w-full" }, Gu
|
|
|
5422
5426
|
"stroke-width": "2",
|
|
5423
5427
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
5424
5428
|
})
|
|
5425
|
-
], -1),
|
|
5426
|
-
|
|
5427
|
-
],
|
|
5429
|
+
], -1), gc = [
|
|
5430
|
+
cc
|
|
5431
|
+
], fc = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, e0 = {
|
|
5428
5432
|
__name: "GlTextCopy",
|
|
5429
5433
|
props: {
|
|
5430
5434
|
label_name: {
|
|
@@ -5453,14 +5457,14 @@ const Qc = /* @__PURE__ */ O(Su, [["render", Vu]]), Bu = { class: "w-full" }, Gu
|
|
|
5453
5457
|
}).catch(function(i) {
|
|
5454
5458
|
console.error("Error copying to clipboard: ", i);
|
|
5455
5459
|
});
|
|
5456
|
-
}, o =
|
|
5457
|
-
return (a, i) => (d(), u("div",
|
|
5458
|
-
t("div",
|
|
5459
|
-
t("label",
|
|
5460
|
+
}, o = j(() => r.code);
|
|
5461
|
+
return (a, i) => (d(), u("div", ec, [
|
|
5462
|
+
t("div", tc, [
|
|
5463
|
+
t("label", rc, h(e.label_name), 1)
|
|
5460
5464
|
]),
|
|
5461
|
-
t("div",
|
|
5462
|
-
t("span",
|
|
5463
|
-
t("div",
|
|
5465
|
+
t("div", sc, [
|
|
5466
|
+
t("span", ac, h(e.text_name), 1),
|
|
5467
|
+
t("div", nc, [
|
|
5464
5468
|
t("input", {
|
|
5465
5469
|
type: "text",
|
|
5466
5470
|
"aria-describedby": "helper-text-explanation",
|
|
@@ -5468,7 +5472,7 @@ const Qc = /* @__PURE__ */ O(Su, [["render", Vu]]), Bu = { class: "w-full" }, Gu
|
|
|
5468
5472
|
value: o.value,
|
|
5469
5473
|
readonly: "",
|
|
5470
5474
|
disabled: ""
|
|
5471
|
-
}, null, 8,
|
|
5475
|
+
}, null, 8, oc)
|
|
5472
5476
|
]),
|
|
5473
5477
|
t("button", {
|
|
5474
5478
|
style: { padding: ".61rem" },
|
|
@@ -5476,56 +5480,56 @@ const Qc = /* @__PURE__ */ O(Su, [["render", Vu]]), Bu = { class: "w-full" }, Gu
|
|
|
5476
5480
|
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",
|
|
5477
5481
|
type: "button"
|
|
5478
5482
|
}, [
|
|
5479
|
-
s.value ? g("", !0) : (d(), u("span",
|
|
5480
|
-
s.value ? (d(), u("span",
|
|
5483
|
+
s.value ? g("", !0) : (d(), u("span", lc, dc)),
|
|
5484
|
+
s.value ? (d(), u("span", uc, gc)) : g("", !0)
|
|
5481
5485
|
])
|
|
5482
5486
|
]),
|
|
5483
|
-
t("p",
|
|
5487
|
+
t("p", fc, h(e.description), 1)
|
|
5484
5488
|
]));
|
|
5485
5489
|
}
|
|
5486
5490
|
};
|
|
5487
5491
|
export {
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5492
|
+
Kc as DatatableStatusTextLabelGeneral,
|
|
5493
|
+
Xc as GLDatatableCommand,
|
|
5494
|
+
Wc as GLDatatableDateTime,
|
|
5495
|
+
Yc as GLDatatableStatusServer,
|
|
5496
|
+
Ic as GlAccordion,
|
|
5497
|
+
Mc as GlAccordionsWrapper,
|
|
5498
|
+
vc as GlButton,
|
|
5499
|
+
yc as GlCard,
|
|
5500
|
+
Qc as GlCodeCopy,
|
|
5501
|
+
Jc as GlConfirmationModal,
|
|
5502
|
+
Tc as GlDataTable,
|
|
5503
|
+
Ec as GlDataTableServerSide,
|
|
5504
|
+
Lc as GlDataTableServerSideGroupBy,
|
|
5505
|
+
Vc as GlDatatableAction,
|
|
5506
|
+
Bc as GlDatatableDeleteAction,
|
|
5507
|
+
Gc as GlDatatableFileDownload,
|
|
5508
|
+
Uc as GlDatatableFiles,
|
|
5509
|
+
Fc as GlDatatableHtml,
|
|
5510
|
+
Rc as GlDatatableList,
|
|
5511
|
+
qc as GlDatatablePicture,
|
|
5512
|
+
Hc as GlDatatableStatus,
|
|
5513
|
+
zc as GlDatatableStatusGeneral,
|
|
5514
|
+
Zc as GlDatatableStatusSpecficColor,
|
|
5511
5515
|
we as GlDeleteConfirmationModal,
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5516
|
+
Pc as GlDropdown,
|
|
5517
|
+
mc as GlFilesUpload,
|
|
5518
|
+
pc as GlLanguageSelector,
|
|
5519
|
+
Oc as GlModal,
|
|
5520
|
+
Dc as GlMultiItemSlide,
|
|
5521
|
+
_c as GlMultiSelectDropdown,
|
|
5522
|
+
bc as GlNotify,
|
|
5523
|
+
Sc as GlTab,
|
|
5524
|
+
Cc as GlTabsWrapper,
|
|
5521
5525
|
et as GlTailwindPagination,
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5526
|
+
e0 as GlTextCopy,
|
|
5527
|
+
$c as GlTextInput,
|
|
5528
|
+
kc as GlTextTranslate,
|
|
5529
|
+
jc as GlTextarea,
|
|
5530
|
+
xc as GlTextareaTranslate,
|
|
5531
|
+
wc as GlTinymceTranslate,
|
|
5528
5532
|
Ee as GlToast,
|
|
5529
|
-
|
|
5530
|
-
|
|
5533
|
+
Nc as GlToastList,
|
|
5534
|
+
Ac as GlToggleBox
|
|
5531
5535
|
};
|