golden-logic-ui 1.0.122 → 1.0.124
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 +184 -183
- package/dist/golden-logic-ui.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as u, createElementVNode as r, createCommentVNode as f, createStaticVNode as Je, inject as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as r, createCommentVNode as f, createStaticVNode as Je, inject as Ee, watch as q, effectScope as Qe, computed as M, reactive as je, resolveComponent as ne, Fragment as k, createVNode as W, normalizeClass as p, toDisplayString as g, withModifiers as U, withDirectives as A, vModelText as R, renderList as O, normalizeStyle as et, renderSlot as N, ref as C, onMounted as F, createTextVNode as w, vShow as Y, nextTick as Te, createBlock as X, resolveDynamicComponent as pe, mergeProps as ae, withCtx as le, vModelDynamic as tt, provide as rt, pushScopeId as st, popScopeId as at, vModelCheckbox as nt, toHandlers as me, TransitionGroup as ot, unref as lt, resolveDirective as Me, markRaw as it } from "vue";
|
|
2
2
|
const D = (e, t) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
@@ -148,7 +148,7 @@ function Ct(e, t) {
|
|
|
148
148
|
*/
|
|
149
149
|
var Ne = "store";
|
|
150
150
|
function Ie(e) {
|
|
151
|
-
return e === void 0 && (e = null),
|
|
151
|
+
return e === void 0 && (e = null), Ee(e !== null ? e : Ne);
|
|
152
152
|
}
|
|
153
153
|
function H(e, t) {
|
|
154
154
|
Object.keys(e).forEach(function(s) {
|
|
@@ -219,10 +219,10 @@ function de(e, t, s, n, o) {
|
|
|
219
219
|
Pt(e, $, m, h);
|
|
220
220
|
}), n.forEachAction(function(m, _) {
|
|
221
221
|
var $ = m.root ? _ : i + _, S = m.handler || m;
|
|
222
|
-
|
|
222
|
+
At(e, $, S, h);
|
|
223
223
|
}), n.forEachGetter(function(m, _) {
|
|
224
224
|
var $ = i + _;
|
|
225
|
-
|
|
225
|
+
Et(e, $, m, h);
|
|
226
226
|
}), n.forEachChild(function(m, _) {
|
|
227
227
|
de(e, t, s.concat(_), m, o);
|
|
228
228
|
});
|
|
@@ -284,7 +284,7 @@ function Pt(e, t, s, n) {
|
|
|
284
284
|
s.call(e, n.state, i);
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function At(e, t, s, n) {
|
|
288
288
|
var o = e._actions[t] || (e._actions[t] = []);
|
|
289
289
|
o.push(function(i) {
|
|
290
290
|
var l = s.call(e, {
|
|
@@ -300,7 +300,7 @@ function Et(e, t, s, n) {
|
|
|
300
300
|
}) : l;
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function Et(e, t, s, n) {
|
|
304
304
|
if (e._wrappedGetters[t]) {
|
|
305
305
|
process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate getter key: " + t);
|
|
306
306
|
return;
|
|
@@ -1034,13 +1034,13 @@ function xr(e, t, s, n, o, a) {
|
|
|
1034
1034
|
onCancelDelete: a.closeDeleteModal
|
|
1035
1035
|
}, null, 8, ["isOpen", "onConfirmDelete", "onCancelDelete"]),
|
|
1036
1036
|
r("div", {
|
|
1037
|
-
class:
|
|
1037
|
+
class: p([{
|
|
1038
1038
|
"border-red-500 dark:border-red-500": o.error_message_data !== "",
|
|
1039
1039
|
"border-gray-200 dark:border-gray-700": o.error_message_data == ""
|
|
1040
1040
|
}, "w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])
|
|
1041
1041
|
}, [
|
|
1042
1042
|
r("label", {
|
|
1043
|
-
class:
|
|
1043
|
+
class: p({
|
|
1044
1044
|
"gl-label-form": o.error_message_data == "",
|
|
1045
1045
|
"gl-label-form-invalid": o.error_message_data !== "",
|
|
1046
1046
|
required: s.is_required
|
|
@@ -1060,7 +1060,7 @@ function xr(e, t, s, n, o, a) {
|
|
|
1060
1060
|
multiple: s.has_multiple_file,
|
|
1061
1061
|
onChange: t[0] || (t[0] = (...l) => a.uploadFiles && a.uploadFiles(...l))
|
|
1062
1062
|
}, null, 40, Zt),
|
|
1063
|
-
|
|
1063
|
+
A(r("input", {
|
|
1064
1064
|
type: "hidden",
|
|
1065
1065
|
name: s.field_name,
|
|
1066
1066
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => a.uploadedFileIds = l)
|
|
@@ -1199,7 +1199,7 @@ const Pu = /* @__PURE__ */ D(Ht, [["render", xr]]), wr = {
|
|
|
1199
1199
|
function Pr(e, t, s, n, o, a) {
|
|
1200
1200
|
return e.notification.show ? (d(), u("div", {
|
|
1201
1201
|
key: 0,
|
|
1202
|
-
class:
|
|
1202
|
+
class: p(["fixed right-0 z-50 flex items-center p-4 m-5 mb-4 rounded-lg shadow-lg", a.alertClasses]),
|
|
1203
1203
|
role: "alert"
|
|
1204
1204
|
}, [
|
|
1205
1205
|
kr,
|
|
@@ -1208,12 +1208,12 @@ function Pr(e, t, s, n, o, a) {
|
|
|
1208
1208
|
r("button", {
|
|
1209
1209
|
type: "button",
|
|
1210
1210
|
onClick: t[0] || (t[0] = (...i) => a.dismiss && a.dismiss(...i)),
|
|
1211
|
-
class:
|
|
1211
|
+
class: p(["inline-flex items-center justify-center w-6 h-6 p-1 -mx-1 -my-1 rounded-lg ms-auto focus:ring-2 hover:bg-opacity-50", a.buttonClasses]),
|
|
1212
1212
|
"aria-label": "Close"
|
|
1213
1213
|
}, Or, 2)
|
|
1214
1214
|
], 2)) : f("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const Au = /* @__PURE__ */ D(wr, [["render", Pr]]), Ar = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1248,9 +1248,9 @@ const Eu = /* @__PURE__ */ D(wr, [["render", Pr]]), Er = {
|
|
|
1248
1248
|
},
|
|
1249
1249
|
mounted() {
|
|
1250
1250
|
}
|
|
1251
|
-
},
|
|
1251
|
+
}, Er = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, jr = ["name", "value", "id", "checked"], Tr = ["for"];
|
|
1252
1252
|
function Mr(e, t, s, n, o, a) {
|
|
1253
|
-
return d(), u("ul",
|
|
1253
|
+
return d(), u("ul", Er, [
|
|
1254
1254
|
(d(!0), u(k, null, O(o.locals, (i, l) => (d(), u("li", null, [
|
|
1255
1255
|
r("input", {
|
|
1256
1256
|
type: "radio",
|
|
@@ -1263,7 +1263,7 @@ function Mr(e, t, s, n, o, a) {
|
|
|
1263
1263
|
}, null, 8, jr),
|
|
1264
1264
|
r("label", {
|
|
1265
1265
|
for: i + "_" + s.field_name,
|
|
1266
|
-
class:
|
|
1266
|
+
class: p([{
|
|
1267
1267
|
"border md:!rounded-s-lg": l === 0,
|
|
1268
1268
|
"border md:!rounded-e-lg": l === o.locals.length - 1,
|
|
1269
1269
|
"border-t border-b": l !== 0 && l !== o.locals.length - 1
|
|
@@ -1272,7 +1272,7 @@ function Mr(e, t, s, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const Eu = /* @__PURE__ */ D(Ar, [["render", Mr]]), Lr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Nr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Ir = { class: "font-semibold text-black dark:text-white" }, Vr = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
1278
|
}, ju = {
|
|
@@ -1286,7 +1286,7 @@ const Au = /* @__PURE__ */ D(Er, [["render", Mr]]), Lr = { class: "bg-white bord
|
|
|
1286
1286
|
setup(e) {
|
|
1287
1287
|
const t = e, s = M(() => t.class);
|
|
1288
1288
|
return (n, o) => (d(), u("div", {
|
|
1289
|
-
class:
|
|
1289
|
+
class: p(["flex flex-col gap-9", s.value])
|
|
1290
1290
|
}, [
|
|
1291
1291
|
r("div", Lr, [
|
|
1292
1292
|
r("div", Nr, [
|
|
@@ -1384,51 +1384,51 @@ const Au = /* @__PURE__ */ D(Er, [["render", Mr]]), Lr = { class: "bg-white bord
|
|
|
1384
1384
|
setup(e, { emit: t }) {
|
|
1385
1385
|
const s = e, n = t, o = C(null), a = C([]), i = C([]), l = C(0), c = C(!1), h = C(""), m = C("");
|
|
1386
1386
|
F(() => {
|
|
1387
|
-
m.value = J(), s.show || (document.body.addEventListener("click", (
|
|
1388
|
-
ge(
|
|
1389
|
-
}), document.addEventListener("keypress", (
|
|
1390
|
-
|
|
1387
|
+
m.value = J(), s.show || (document.body.addEventListener("click", (b) => {
|
|
1388
|
+
ge(b);
|
|
1389
|
+
}), document.addEventListener("keypress", (b) => {
|
|
1390
|
+
b.key === "Enter" && b.target.form && b.preventDefault();
|
|
1391
1391
|
}));
|
|
1392
1392
|
});
|
|
1393
1393
|
const _ = M(() => se()), $ = M(() => y()), S = M(() => {
|
|
1394
|
-
const
|
|
1394
|
+
const b = [], v = new RegExp(h.value, "ig");
|
|
1395
1395
|
for (const x of _.value) {
|
|
1396
|
-
const
|
|
1397
|
-
(h.value.length < 1 ||
|
|
1396
|
+
const E = String(x.name);
|
|
1397
|
+
(h.value.length < 1 || E.match(v)) && b.length < s.maxItem && b.push(x);
|
|
1398
1398
|
}
|
|
1399
|
-
return
|
|
1399
|
+
return b;
|
|
1400
1400
|
});
|
|
1401
|
-
function G(
|
|
1401
|
+
function G(b) {
|
|
1402
1402
|
if ([
|
|
1403
1403
|
"ArrowLeft",
|
|
1404
1404
|
"ArrowUp",
|
|
1405
1405
|
"ArrowRight",
|
|
1406
1406
|
"ArrowDown",
|
|
1407
1407
|
"Enter"
|
|
1408
|
-
].includes(
|
|
1409
|
-
if (["ArrowUp", "ArrowDown"].includes(
|
|
1408
|
+
].includes(b.key)) {
|
|
1409
|
+
if (["ArrowUp", "ArrowDown"].includes(b.key) && b.preventDefault(), b.key === "ArrowDown" && s.posts === "")
|
|
1410
1410
|
return;
|
|
1411
|
-
he(
|
|
1411
|
+
he(b.key);
|
|
1412
1412
|
}
|
|
1413
1413
|
}
|
|
1414
1414
|
function J() {
|
|
1415
|
-
let
|
|
1415
|
+
let b = (/* @__PURE__ */ new Date()).getTime();
|
|
1416
1416
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
1417
1417
|
/[xy]/g,
|
|
1418
1418
|
function(x) {
|
|
1419
|
-
const
|
|
1420
|
-
return
|
|
1419
|
+
const E = (b + Math.random() * 16) % 16 | 0;
|
|
1420
|
+
return b = Math.floor(b / 16), (x === "x" ? E : E & 3 | 8).toString(16);
|
|
1421
1421
|
}
|
|
1422
1422
|
);
|
|
1423
1423
|
}
|
|
1424
|
-
function Q(
|
|
1425
|
-
return
|
|
1424
|
+
function Q(b) {
|
|
1425
|
+
return Array.isArray(b) && b.length > 0 && b.every((v) => typeof v == "object" && v !== null);
|
|
1426
1426
|
}
|
|
1427
|
-
function ee(
|
|
1428
|
-
return
|
|
1427
|
+
function ee(b) {
|
|
1428
|
+
return b.every((v) => typeof v == "object" && v !== null);
|
|
1429
1429
|
}
|
|
1430
|
-
function ue(
|
|
1431
|
-
return a.value.findIndex((v) => v.id ===
|
|
1430
|
+
function ue(b) {
|
|
1431
|
+
return a.value.findIndex((v) => v.id === b) !== -1;
|
|
1432
1432
|
}
|
|
1433
1433
|
function ce() {
|
|
1434
1434
|
a.value = se();
|
|
@@ -1436,55 +1436,56 @@ const Au = /* @__PURE__ */ D(Er, [["render", Mr]]), Lr = { class: "bg-white bord
|
|
|
1436
1436
|
function fe() {
|
|
1437
1437
|
a.value = [];
|
|
1438
1438
|
}
|
|
1439
|
-
function ge(
|
|
1440
|
-
|
|
1439
|
+
function ge(b) {
|
|
1440
|
+
b.target.id != s.field_name + "search" + m.value && b.target.id != s.field_name && !b.target.classList.contains("showOptions") && (B(), l.value = 0);
|
|
1441
1441
|
}
|
|
1442
|
-
function te(
|
|
1443
|
-
const v = `${
|
|
1442
|
+
function te(b) {
|
|
1443
|
+
const v = `${b}${m.value}`, x = document.getElementById(v);
|
|
1444
1444
|
x && x.scrollIntoView();
|
|
1445
1445
|
}
|
|
1446
|
-
function re(
|
|
1447
|
-
const v = `${
|
|
1446
|
+
function re(b) {
|
|
1447
|
+
const v = `${b}${m.value}`, x = document.getElementById(v);
|
|
1448
1448
|
x && x.click();
|
|
1449
1449
|
}
|
|
1450
|
-
function he(
|
|
1451
|
-
|
|
1450
|
+
function he(b) {
|
|
1451
|
+
b === "ArrowDown" && l.value < S.value.length && (l.value++, te(l.value)), b === "ArrowUp" && l.value > 1 && (l.value--, te(l.value)), b === "Enter" && re(l.value);
|
|
1452
1452
|
}
|
|
1453
1453
|
function se() {
|
|
1454
|
-
return s.options.map((
|
|
1454
|
+
return s.options.map((b, v) => typeof b == "object" ? b : { id: b, name: b });
|
|
1455
1455
|
}
|
|
1456
1456
|
function y() {
|
|
1457
|
-
if (console.log("selected.value", a.value), console.log("
|
|
1457
|
+
if (console.log("selected.value", a.value), console.log("isArrayObjectNotEmpty", Q(a.value)), Q(a.value))
|
|
1458
1458
|
return ee(a.value) ? _.value.filter(
|
|
1459
|
-
(
|
|
1460
|
-
(v) => String(v.id) === String(
|
|
1459
|
+
(b) => a.value.some(
|
|
1460
|
+
(v) => String(v.id) === String(b.id)
|
|
1461
1461
|
)
|
|
1462
1462
|
) || [] : _.value.filter(
|
|
1463
|
-
(
|
|
1464
|
-
(v) => String(v) === String(
|
|
1463
|
+
(b) => a.value.some(
|
|
1464
|
+
(v) => String(v) === String(b.id)
|
|
1465
1465
|
)
|
|
1466
1466
|
) || [];
|
|
1467
1467
|
if (s.modelValue)
|
|
1468
1468
|
return ee(s.modelValue) ? _.value.filter(
|
|
1469
|
-
(
|
|
1470
|
-
(v) => String(v.id) === String(
|
|
1469
|
+
(b) => s.modelValue.some(
|
|
1470
|
+
(v) => String(v.id) === String(b.id)
|
|
1471
1471
|
)
|
|
1472
1472
|
) || [] : _.value.filter(
|
|
1473
|
-
(
|
|
1474
|
-
(v) => String(v) === String(
|
|
1473
|
+
(b) => s.modelValue.some(
|
|
1474
|
+
(v) => String(v) === String(b.id)
|
|
1475
1475
|
)
|
|
1476
1476
|
) || [];
|
|
1477
1477
|
}
|
|
1478
|
-
function P(
|
|
1479
|
-
|
|
1480
|
-
|
|
1478
|
+
function P(b) {
|
|
1479
|
+
console.log("selectOption", b);
|
|
1480
|
+
let v = a.value.findIndex((x) => x.id === b.id);
|
|
1481
|
+
v !== -1 ? a.value.splice(v, 1) : a.value.push(b), console.log("selectOption selected", a.value), c.value = !1, i.value = a.value.map((x) => x.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
|
|
1481
1482
|
}
|
|
1482
1483
|
function j() {
|
|
1483
1484
|
s.show || (h.value = "", c.value = !0, Te(() => {
|
|
1484
|
-
var
|
|
1485
|
+
var b = document.getElementById(
|
|
1485
1486
|
`${s.field_name}search${m.value}`
|
|
1486
1487
|
);
|
|
1487
|
-
|
|
1488
|
+
b && b.focus();
|
|
1488
1489
|
}));
|
|
1489
1490
|
}
|
|
1490
1491
|
function B() {
|
|
@@ -1492,32 +1493,32 @@ const Au = /* @__PURE__ */ D(Er, [["render", Mr]]), Lr = { class: "bg-white bord
|
|
|
1492
1493
|
}
|
|
1493
1494
|
return q(h, () => {
|
|
1494
1495
|
S.value.length === 0 && (a.value = []);
|
|
1495
|
-
}), q(a, (
|
|
1496
|
+
}), q(a, (b) => {
|
|
1496
1497
|
Q(a.value) && (i.value = a.value.map((v) => v.id), n("update:modelValue", i.value));
|
|
1497
|
-
}), (
|
|
1498
|
+
}), (b, v) => (d(), u(k, null, [
|
|
1498
1499
|
e.show ? (d(), u("div", {
|
|
1499
1500
|
key: 0,
|
|
1500
|
-
class:
|
|
1501
|
+
class: p(e.field_name)
|
|
1501
1502
|
}, [
|
|
1502
1503
|
r("h3", Br, g(e.label_name), 1),
|
|
1503
1504
|
r("p", Gr, [
|
|
1504
|
-
(d(!0), u(k, null, O($.value, (x,
|
|
1505
|
+
(d(!0), u(k, null, O($.value, (x, E) => (d(), u("span", Ur, g(x == null ? void 0 : x.name), 1))), 256))
|
|
1505
1506
|
]),
|
|
1506
1507
|
Rr
|
|
1507
1508
|
], 2)) : f("", !0),
|
|
1508
1509
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1509
1510
|
key: 1,
|
|
1510
|
-
class:
|
|
1511
|
+
class: p(["mb-4", e.field_name])
|
|
1511
1512
|
}, [
|
|
1512
|
-
(d(!0), u(k, null, O(i.value, (x,
|
|
1513
|
+
(d(!0), u(k, null, O(i.value, (x, E) => (d(), u("input", {
|
|
1513
1514
|
type: "hidden",
|
|
1514
1515
|
name: e.field_name + "[]",
|
|
1515
|
-
key:
|
|
1516
|
+
key: E,
|
|
1516
1517
|
value: x
|
|
1517
1518
|
}, null, 8, Fr))), 128)),
|
|
1518
1519
|
e.options ? (d(), u("div", qr, [
|
|
1519
1520
|
r("label", {
|
|
1520
|
-
class:
|
|
1521
|
+
class: p({
|
|
1521
1522
|
"gl-label-form": e.error_message == "",
|
|
1522
1523
|
"gl-label-form-invalid": e.error_message !== "",
|
|
1523
1524
|
required: e.is_required
|
|
@@ -1544,28 +1545,28 @@ const Au = /* @__PURE__ */ D(Er, [["render", Mr]]), Lr = { class: "bg-white bord
|
|
|
1544
1545
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1545
1546
|
onClick: v[0] || (v[0] = (x) => j())
|
|
1546
1547
|
}, [
|
|
1547
|
-
(d(!0), u(k, null, O($.value, (x,
|
|
1548
|
-
key:
|
|
1548
|
+
(d(!0), u(k, null, O($.value, (x, E) => (d(), u("span", {
|
|
1549
|
+
key: E,
|
|
1549
1550
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"
|
|
1550
1551
|
}, [
|
|
1551
1552
|
w(g(x == null ? void 0 : x.name) + " ", 1),
|
|
1552
1553
|
r("i", {
|
|
1553
|
-
onClick: U((oe) =>
|
|
1554
|
+
onClick: U((oe) => b.clearOption(x), ["stop"]),
|
|
1554
1555
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
1555
1556
|
}, null, 8, Zr)
|
|
1556
1557
|
]))), 128))
|
|
1557
1558
|
]),
|
|
1558
1559
|
r("i", {
|
|
1559
|
-
class:
|
|
1560
|
+
class: p([c.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700"]),
|
|
1560
1561
|
style: { top: "11px" }
|
|
1561
1562
|
}, null, 2)
|
|
1562
1563
|
]),
|
|
1563
|
-
|
|
1564
|
+
A(r("div", Kr, [
|
|
1564
1565
|
r("div", Wr, [
|
|
1565
1566
|
Yr,
|
|
1566
1567
|
r("div", Xr, [
|
|
1567
1568
|
Jr,
|
|
1568
|
-
|
|
1569
|
+
A(r("input", {
|
|
1569
1570
|
type: "search",
|
|
1570
1571
|
"onUpdate:modelValue": v[1] || (v[1] = (x) => h.value = x),
|
|
1571
1572
|
ref: o.value,
|
|
@@ -1581,15 +1582,15 @@ const Au = /* @__PURE__ */ D(Er, [["render", Mr]]), Lr = { class: "bg-white bord
|
|
|
1581
1582
|
])
|
|
1582
1583
|
]),
|
|
1583
1584
|
r("div", es, [
|
|
1584
|
-
(d(!0), u(k, null, O(S.value, (x,
|
|
1585
|
-
class:
|
|
1585
|
+
(d(!0), u(k, null, O(S.value, (x, E) => (d(), u("div", {
|
|
1586
|
+
class: p([
|
|
1586
1587
|
"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",
|
|
1587
|
-
|
|
1588
|
+
E + 1 == l.value || ue(x.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
1588
1589
|
]),
|
|
1589
1590
|
onClick: (oe) => P(x),
|
|
1590
1591
|
onMousedown: (oe) => P(x),
|
|
1591
|
-
key:
|
|
1592
|
-
id:
|
|
1592
|
+
key: E,
|
|
1593
|
+
id: E + 1
|
|
1593
1594
|
}, g(x.name || x.id || "-"), 43, ts))), 128))
|
|
1594
1595
|
])
|
|
1595
1596
|
], 512), [
|
|
@@ -1677,7 +1678,7 @@ function as(e, t, s, n, o, a) {
|
|
|
1677
1678
|
return s.is_loading ? (d(), X(pe("button"), {
|
|
1678
1679
|
key: 1,
|
|
1679
1680
|
disabled: "",
|
|
1680
|
-
class:
|
|
1681
|
+
class: p(`flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`)
|
|
1681
1682
|
}, {
|
|
1682
1683
|
default: le(() => [
|
|
1683
1684
|
ss,
|
|
@@ -1695,7 +1696,7 @@ function as(e, t, s, n, o, a) {
|
|
|
1695
1696
|
default: le(() => [
|
|
1696
1697
|
s.icon ? (d(), u("i", {
|
|
1697
1698
|
key: 0,
|
|
1698
|
-
class:
|
|
1699
|
+
class: p([s.icon, "text-base"])
|
|
1699
1700
|
}, null, 2)) : f("", !0),
|
|
1700
1701
|
N(e.$slots, "default")
|
|
1701
1702
|
]),
|
|
@@ -1774,10 +1775,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1774
1775
|
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
1775
1776
|
e.show ? (d(), u("div", {
|
|
1776
1777
|
key: 0,
|
|
1777
|
-
class:
|
|
1778
|
+
class: p(e.field_name)
|
|
1778
1779
|
}, [
|
|
1779
1780
|
r("h3", ns, g(e.label_name), 1),
|
|
1780
|
-
|
|
1781
|
+
A(r("input", {
|
|
1781
1782
|
type: "hidden",
|
|
1782
1783
|
"data-i18n": "true",
|
|
1783
1784
|
name: e.field_name + "_i18n",
|
|
@@ -1796,10 +1797,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1796
1797
|
], 2)) : f("", !0),
|
|
1797
1798
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1798
1799
|
key: 1,
|
|
1799
|
-
class:
|
|
1800
|
+
class: p(["mb-4", e.field_name])
|
|
1800
1801
|
}, [
|
|
1801
1802
|
r("label", {
|
|
1802
|
-
class:
|
|
1803
|
+
class: p({
|
|
1803
1804
|
"gl-label-translation-form": e.error_message == "",
|
|
1804
1805
|
"gl-label-translation-form-invalid": e.error_message !== "",
|
|
1805
1806
|
required: e.is_required
|
|
@@ -1821,7 +1822,7 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1821
1822
|
required: e.is_required,
|
|
1822
1823
|
name: e.field_name,
|
|
1823
1824
|
id: e.field_name,
|
|
1824
|
-
class:
|
|
1825
|
+
class: p({
|
|
1825
1826
|
" gl-textarea-form form-input-translation mt-4 ": e.error_message == "",
|
|
1826
1827
|
" gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
|
|
1827
1828
|
}),
|
|
@@ -1914,10 +1915,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1914
1915
|
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
1915
1916
|
e.show ? (d(), u("div", {
|
|
1916
1917
|
key: 0,
|
|
1917
|
-
class:
|
|
1918
|
+
class: p(e.field_name)
|
|
1918
1919
|
}, [
|
|
1919
1920
|
r("h3", ms, g(e.label_name), 1),
|
|
1920
|
-
|
|
1921
|
+
A(r("input", {
|
|
1921
1922
|
type: "hidden",
|
|
1922
1923
|
"data-i18n": "true",
|
|
1923
1924
|
name: e.field_name + "_i18n",
|
|
@@ -1936,10 +1937,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1936
1937
|
], 2)) : f("", !0),
|
|
1937
1938
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1938
1939
|
key: 1,
|
|
1939
|
-
class:
|
|
1940
|
+
class: p(["mb-4", e.field_name])
|
|
1940
1941
|
}, [
|
|
1941
1942
|
r("label", {
|
|
1942
|
-
class:
|
|
1943
|
+
class: p({
|
|
1943
1944
|
"gl-label-translation-form": e.error_message == "",
|
|
1944
1945
|
"gl-label-translation-form-invalid": e.error_message !== "",
|
|
1945
1946
|
required: e.is_required
|
|
@@ -1960,7 +1961,7 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1960
1961
|
r("textarea", {
|
|
1961
1962
|
name: e.field_name,
|
|
1962
1963
|
id: e.field_name,
|
|
1963
|
-
class:
|
|
1964
|
+
class: p(["tiny", {
|
|
1964
1965
|
" gl-textarea-form form-input-translation mt-4 ": e.error_message == "",
|
|
1965
1966
|
" gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
|
|
1966
1967
|
}]),
|
|
@@ -1977,7 +1978,7 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1977
1978
|
], 2))
|
|
1978
1979
|
], 64));
|
|
1979
1980
|
}
|
|
1980
|
-
}, Cs = { class: "font-bold ptext-lg dark:text-white" }, Ss = ["name", "id"], Ds = ["id"], Os = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ps = ["for"],
|
|
1981
|
+
}, Cs = { class: "font-bold ptext-lg dark:text-white" }, Ss = ["name", "id"], Ds = ["id"], Os = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ps = ["for"], As = /* @__PURE__ */ r("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), Es = ["name", "id"], js = ["required", "name", "id", "type"], Ts = { class: "gl-span-form-error" }, Ms = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Iu = {
|
|
1981
1982
|
__name: "GlTextTranslate",
|
|
1982
1983
|
props: {
|
|
1983
1984
|
is_required: {
|
|
@@ -2049,10 +2050,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2049
2050
|
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
2050
2051
|
e.show ? (d(), u("div", {
|
|
2051
2052
|
key: 0,
|
|
2052
|
-
class:
|
|
2053
|
+
class: p(e.field_name)
|
|
2053
2054
|
}, [
|
|
2054
2055
|
r("h3", Cs, g(e.label_name), 1),
|
|
2055
|
-
|
|
2056
|
+
A(r("input", {
|
|
2056
2057
|
type: "hidden",
|
|
2057
2058
|
"data-i18n": "true",
|
|
2058
2059
|
name: e.field_name + "_i18n",
|
|
@@ -2070,17 +2071,17 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2070
2071
|
], 2)) : f("", !0),
|
|
2071
2072
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2072
2073
|
key: 1,
|
|
2073
|
-
class:
|
|
2074
|
+
class: p(["mb-4", e.field_name])
|
|
2074
2075
|
}, [
|
|
2075
2076
|
r("label", {
|
|
2076
|
-
class:
|
|
2077
|
+
class: p({
|
|
2077
2078
|
"gl-label-translation-form": e.error_message == "",
|
|
2078
2079
|
"gl-label-translation-form-invalid": e.error_message !== "",
|
|
2079
2080
|
required: e.is_required
|
|
2080
2081
|
}),
|
|
2081
2082
|
for: e.field_name
|
|
2082
2083
|
}, g(e.label_name), 11, Ps),
|
|
2083
|
-
|
|
2084
|
+
As,
|
|
2084
2085
|
r("input", {
|
|
2085
2086
|
class: "mb-4",
|
|
2086
2087
|
type: "hidden",
|
|
@@ -2090,12 +2091,12 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2090
2091
|
onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
|
|
2091
2092
|
ref_key: "input_translate",
|
|
2092
2093
|
ref: i
|
|
2093
|
-
}, null, 40,
|
|
2094
|
+
}, null, 40, Es),
|
|
2094
2095
|
r("input", {
|
|
2095
2096
|
required: e.is_required,
|
|
2096
2097
|
name: e.field_name,
|
|
2097
2098
|
id: e.field_name,
|
|
2098
|
-
class:
|
|
2099
|
+
class: p({
|
|
2099
2100
|
" gl-input-form form-input-translation mt-2 ": e.error_message == "",
|
|
2100
2101
|
" gl-input-form-invalid form-input-translation mt-2 ": e.error_message !== ""
|
|
2101
2102
|
}),
|
|
@@ -2171,7 +2172,7 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2171
2172
|
return t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
2172
2173
|
e.show ? (d(), u("div", {
|
|
2173
2174
|
key: 0,
|
|
2174
|
-
class:
|
|
2175
|
+
class: p(e.field_name)
|
|
2175
2176
|
}, [
|
|
2176
2177
|
r("h3", Ls, g(e.label_name), 1),
|
|
2177
2178
|
r("p", Ns, g(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
|
|
@@ -2179,21 +2180,21 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2179
2180
|
], 2)) : f("", !0),
|
|
2180
2181
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2181
2182
|
key: 1,
|
|
2182
|
-
class:
|
|
2183
|
+
class: p(["mb-4", e.field_name])
|
|
2183
2184
|
}, [
|
|
2184
2185
|
r("label", {
|
|
2185
|
-
class:
|
|
2186
|
+
class: p({
|
|
2186
2187
|
"gl-label-form": e.error_message == "",
|
|
2187
2188
|
"gl-label-form-invalid": e.error_message !== "",
|
|
2188
2189
|
required: e.is_required
|
|
2189
2190
|
}),
|
|
2190
2191
|
for: e.field_name
|
|
2191
2192
|
}, g(e.label_name), 11, Vs),
|
|
2192
|
-
|
|
2193
|
+
A(r("input", {
|
|
2193
2194
|
required: e.is_required,
|
|
2194
2195
|
name: e.field_name,
|
|
2195
2196
|
id: e.field_name,
|
|
2196
|
-
class:
|
|
2197
|
+
class: p({
|
|
2197
2198
|
"gl-input-form": e.error_message == "",
|
|
2198
2199
|
"gl-input-form-invalid": e.error_message !== ""
|
|
2199
2200
|
}),
|
|
@@ -2231,10 +2232,10 @@ function Ys(e, t, s, n, o, a) {
|
|
|
2231
2232
|
class: "flex-auto -mb-px text-center"
|
|
2232
2233
|
}, [
|
|
2233
2234
|
r("a", {
|
|
2234
|
-
class:
|
|
2235
|
+
class: p([{ "text-slate-600 bg-white dark:bg-meta-4": n.selectedTitle != i.title, "text-white bg-slate-600 dark:bg-primary": n.selectedTitle === i.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
|
|
2235
2236
|
}, [
|
|
2236
2237
|
r("i", {
|
|
2237
|
-
class:
|
|
2238
|
+
class: p([i.icon, "mr-1 text-base"])
|
|
2238
2239
|
}, null, 2),
|
|
2239
2240
|
w(" " + g(i.title), 1)
|
|
2240
2241
|
], 2)
|
|
@@ -2255,7 +2256,7 @@ const Bu = /* @__PURE__ */ D(Rs, [["render", Ys]]), Xs = {
|
|
|
2255
2256
|
props: ["title"],
|
|
2256
2257
|
setup() {
|
|
2257
2258
|
return {
|
|
2258
|
-
selectedTitle:
|
|
2259
|
+
selectedTitle: Ee("selectedTitle")
|
|
2259
2260
|
};
|
|
2260
2261
|
}
|
|
2261
2262
|
}, Js = {
|
|
@@ -2458,8 +2459,8 @@ const Gu = /* @__PURE__ */ D(Xs, [["render", Qs]]), ea = {
|
|
|
2458
2459
|
], Pa = {
|
|
2459
2460
|
key: 1,
|
|
2460
2461
|
class: "flex justify-between pl-5 pr-5"
|
|
2461
|
-
},
|
|
2462
|
-
|
|
2462
|
+
}, Aa = ["onClick"], Ea = /* @__PURE__ */ T(() => /* @__PURE__ */ r("span", null, null, -1)), ja = [
|
|
2463
|
+
Ea
|
|
2463
2464
|
], Ta = {
|
|
2464
2465
|
key: 0,
|
|
2465
2466
|
class: "flex"
|
|
@@ -2554,7 +2555,7 @@ const Gu = /* @__PURE__ */ D(Xs, [["render", Qs]]), ea = {
|
|
|
2554
2555
|
function an(e, t, s, n, o, a) {
|
|
2555
2556
|
return d(), u("div", null, [
|
|
2556
2557
|
r("div", {
|
|
2557
|
-
class:
|
|
2558
|
+
class: p(["", !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
2558
2559
|
id: "mainSliderContainer_" + e.Random_string
|
|
2559
2560
|
}, [
|
|
2560
2561
|
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", ra, [
|
|
@@ -2569,7 +2570,7 @@ function an(e, t, s, n, o, a) {
|
|
|
2569
2570
|
])
|
|
2570
2571
|
])) : f("", !0),
|
|
2571
2572
|
r("div", {
|
|
2572
|
-
class:
|
|
2573
|
+
class: p(["overflow-hidden", a.sliderContainerAction()]),
|
|
2573
2574
|
id: "sliderContainer_" + e.Random_string
|
|
2574
2575
|
}, [
|
|
2575
2576
|
r("ul", {
|
|
@@ -2578,7 +2579,7 @@ function an(e, t, s, n, o, a) {
|
|
|
2578
2579
|
}, [
|
|
2579
2580
|
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
|
|
2580
2581
|
key: 0,
|
|
2581
|
-
class:
|
|
2582
|
+
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"])
|
|
2582
2583
|
}, [
|
|
2583
2584
|
r("div", fa, [
|
|
2584
2585
|
r("button", {
|
|
@@ -2593,7 +2594,7 @@ function an(e, t, s, n, o, a) {
|
|
|
2593
2594
|
N(e.$slots, "default", {}, void 0, !0),
|
|
2594
2595
|
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
|
|
2595
2596
|
key: 1,
|
|
2596
|
-
class:
|
|
2597
|
+
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"])
|
|
2597
2598
|
}, [
|
|
2598
2599
|
r("div", _a, [
|
|
2599
2600
|
r("button", {
|
|
@@ -2608,31 +2609,31 @@ function an(e, t, s, n, o, a) {
|
|
|
2608
2609
|
], 8, ca),
|
|
2609
2610
|
s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
|
|
2610
2611
|
key: 0,
|
|
2611
|
-
class:
|
|
2612
|
+
class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2612
2613
|
}, [
|
|
2613
2614
|
(d(!0), u(k, null, O(e.dotsNum, (i) => (d(), u("button", {
|
|
2614
2615
|
role: "button",
|
|
2615
|
-
class:
|
|
2616
|
+
class: p(["gl-dot", { active: e.currentDot == i }]),
|
|
2616
2617
|
key: i,
|
|
2617
2618
|
onClick: (l) => a.setDot(i)
|
|
2618
2619
|
}, Oa, 10, Sa))), 128))
|
|
2619
2620
|
], 2)) : f("", !0),
|
|
2620
2621
|
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Pa, [
|
|
2621
2622
|
r("div", {
|
|
2622
|
-
class:
|
|
2623
|
+
class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2623
2624
|
}, [
|
|
2624
2625
|
(d(!0), u(k, null, O(e.dotsNum, (i) => (d(), u("button", {
|
|
2625
2626
|
role: "button",
|
|
2626
|
-
class:
|
|
2627
|
+
class: p(["gl-dot", { active: e.currentDot == i }]),
|
|
2627
2628
|
key: i,
|
|
2628
2629
|
onClick: (l) => a.setDot(i)
|
|
2629
|
-
}, ja, 10,
|
|
2630
|
+
}, ja, 10, Aa))), 128))
|
|
2630
2631
|
], 2),
|
|
2631
2632
|
e.dotsNum > 0 ? (d(), u("div", Ta, [
|
|
2632
2633
|
r("div", Ma, [
|
|
2633
2634
|
r("div", La, [
|
|
2634
2635
|
r("button", {
|
|
2635
|
-
class:
|
|
2636
|
+
class: p(["p-3 rounded-full arrow_button_styles", s.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2636
2637
|
onClick: t[3] || (t[3] = (i) => a.prev())
|
|
2637
2638
|
}, [
|
|
2638
2639
|
s.direction_property == "ltr" ? (d(), u("svg", Na, Va)) : f("", !0),
|
|
@@ -2723,9 +2724,9 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2723
2724
|
l ? o() : a();
|
|
2724
2725
|
},
|
|
2725
2726
|
{ immediate: !0, deep: !0 }
|
|
2726
|
-
), (l, c) =>
|
|
2727
|
+
), (l, c) => A((d(), u("div", nn, [
|
|
2727
2728
|
r("div", {
|
|
2728
|
-
class:
|
|
2729
|
+
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])
|
|
2729
2730
|
}, [
|
|
2730
2731
|
r("div", on, [
|
|
2731
2732
|
r("div", ln, [
|
|
@@ -2738,7 +2739,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2738
2739
|
}, cn)
|
|
2739
2740
|
]),
|
|
2740
2741
|
r("div", {
|
|
2741
|
-
class:
|
|
2742
|
+
class: p(["relative overflow-y-auto", e.bodyClass])
|
|
2742
2743
|
}, [
|
|
2743
2744
|
N(l.$slots, "body")
|
|
2744
2745
|
], 2),
|
|
@@ -2816,7 +2817,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2816
2817
|
return (i, l) => (d(), u(k, null, [
|
|
2817
2818
|
e.show ? (d(), u("div", {
|
|
2818
2819
|
key: 0,
|
|
2819
|
-
class:
|
|
2820
|
+
class: p(e.field_name)
|
|
2820
2821
|
}, [
|
|
2821
2822
|
r("div", null, [
|
|
2822
2823
|
r("li", gn, [
|
|
@@ -2842,7 +2843,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2842
2843
|
], 2)) : f("", !0),
|
|
2843
2844
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2844
2845
|
key: 1,
|
|
2845
|
-
class:
|
|
2846
|
+
class: p(e.field_name)
|
|
2846
2847
|
}, [
|
|
2847
2848
|
e.has_label_up ? (d(), u("div", yn, [
|
|
2848
2849
|
r("label", _n, g(e.label_name), 1)
|
|
@@ -2850,7 +2851,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2850
2851
|
r("li", vn, [
|
|
2851
2852
|
w(g(e.label_name) + " ", 1),
|
|
2852
2853
|
r("label", xn, [
|
|
2853
|
-
|
|
2854
|
+
A(r("input", {
|
|
2854
2855
|
type: "checkbox",
|
|
2855
2856
|
class: "sr-only peer",
|
|
2856
2857
|
name: e.field_name,
|
|
@@ -2871,7 +2872,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2871
2872
|
], 2))
|
|
2872
2873
|
], 64));
|
|
2873
2874
|
}
|
|
2874
|
-
}, Sn = { class: "font-bold ptext-lg dark:text-white" }, Dn = { class: "mt-3 mb-4" }, On = { 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" }, Pn = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1),
|
|
2875
|
+
}, Sn = { class: "font-bold ptext-lg dark:text-white" }, Dn = { class: "mt-3 mb-4" }, On = { 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" }, Pn = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), An = ["name", "id", "value"], En = {
|
|
2875
2876
|
key: 0,
|
|
2876
2877
|
class: "dropdown"
|
|
2877
2878
|
}, jn = { class: "focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Tn = { class: "relative showOptions" }, Mn = ["value", "placeholder"], Ln = { 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]" }, Nn = { class: "p-1" }, In = /* @__PURE__ */ r("label", {
|
|
@@ -3063,11 +3064,11 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3063
3064
|
}), q(a, (y) => {
|
|
3064
3065
|
J(y) && n("update:modelValue", y.id);
|
|
3065
3066
|
}), (y, P) => {
|
|
3066
|
-
var j, B,
|
|
3067
|
+
var j, B, b;
|
|
3067
3068
|
return d(), u(k, null, [
|
|
3068
3069
|
e.show ? (d(), u("div", {
|
|
3069
3070
|
key: 0,
|
|
3070
|
-
class:
|
|
3071
|
+
class: p(e.field_name)
|
|
3071
3072
|
}, [
|
|
3072
3073
|
r("h3", Sn, g(e.label_name), 1),
|
|
3073
3074
|
r("p", Dn, [
|
|
@@ -3077,18 +3078,18 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3077
3078
|
], 2)) : f("", !0),
|
|
3078
3079
|
e.show ? f("", !0) : (d(), u("div", {
|
|
3079
3080
|
key: 1,
|
|
3080
|
-
class:
|
|
3081
|
+
class: p(["mb-4", e.field_name])
|
|
3081
3082
|
}, [
|
|
3082
3083
|
r("input", {
|
|
3083
3084
|
type: "hidden",
|
|
3084
3085
|
name: e.field_name,
|
|
3085
3086
|
id: e.field_name,
|
|
3086
3087
|
value: (B = _.value) == null ? void 0 : B.id
|
|
3087
|
-
}, null, 8,
|
|
3088
|
-
e.options ? (d(), u("div",
|
|
3088
|
+
}, null, 8, An),
|
|
3089
|
+
e.options ? (d(), u("div", En, [
|
|
3089
3090
|
e.label_name ? (d(), u("label", {
|
|
3090
3091
|
key: 0,
|
|
3091
|
-
class:
|
|
3092
|
+
class: p({
|
|
3092
3093
|
"gl-label-form": e.error_message == "",
|
|
3093
3094
|
"gl-label-form-invalid": e.error_message !== "",
|
|
3094
3095
|
required: e.is_required
|
|
@@ -3097,18 +3098,18 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3097
3098
|
r("div", jn, [
|
|
3098
3099
|
r("div", Tn, [
|
|
3099
3100
|
r("input", {
|
|
3100
|
-
class:
|
|
3101
|
+
class: p([{
|
|
3101
3102
|
"gl-input-form": e.error_message == "",
|
|
3102
3103
|
"gl-input-form-invalid": e.error_message !== ""
|
|
3103
3104
|
}, "pl-8 pr-2 showOptions"]),
|
|
3104
3105
|
ref: e.field_name,
|
|
3105
3106
|
onClick: P[0] || (P[0] = (v) => re()),
|
|
3106
|
-
value: (
|
|
3107
|
+
value: (b = _.value) == null ? void 0 : b.name,
|
|
3107
3108
|
placeholder: e.placeholder,
|
|
3108
3109
|
autocomplete: "off",
|
|
3109
3110
|
readonly: ""
|
|
3110
3111
|
}, null, 10, Mn),
|
|
3111
|
-
|
|
3112
|
+
A(r("i", {
|
|
3112
3113
|
onClick: P[1] || (P[1] = U((v) => he(), ["stop"])),
|
|
3113
3114
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3114
3115
|
style: { top: "13px" }
|
|
@@ -3117,16 +3118,16 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3117
3118
|
]),
|
|
3118
3119
|
r("i", {
|
|
3119
3120
|
onClick: P[2] || (P[2] = (v) => !l.value && re()),
|
|
3120
|
-
class:
|
|
3121
|
+
class: p([l.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
|
|
3121
3122
|
style: { top: "11px" }
|
|
3122
3123
|
}, null, 2)
|
|
3123
3124
|
]),
|
|
3124
|
-
|
|
3125
|
+
A(r("div", Ln, [
|
|
3125
3126
|
r("div", Nn, [
|
|
3126
3127
|
In,
|
|
3127
3128
|
r("div", Vn, [
|
|
3128
3129
|
Bn,
|
|
3129
|
-
|
|
3130
|
+
A(r("input", {
|
|
3130
3131
|
type: "search",
|
|
3131
3132
|
"onUpdate:modelValue": P[3] || (P[3] = (v) => c.value = v),
|
|
3132
3133
|
ref: o.value,
|
|
@@ -3143,16 +3144,16 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3143
3144
|
]),
|
|
3144
3145
|
r("div", Un, [
|
|
3145
3146
|
(d(!0), u(k, null, O($.value, (v, x) => {
|
|
3146
|
-
var
|
|
3147
|
+
var E;
|
|
3147
3148
|
return d(), u("div", {
|
|
3148
|
-
class:
|
|
3149
|
+
class: p(["relative 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", x + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
3149
3150
|
onClick: (oe) => te(v),
|
|
3150
3151
|
onMousedown: (oe) => te(v),
|
|
3151
3152
|
key: x,
|
|
3152
3153
|
id: `${x + 1}${h.value}`
|
|
3153
3154
|
}, [
|
|
3154
3155
|
r("div", Fn, [
|
|
3155
|
-
((
|
|
3156
|
+
((E = _.value) == null ? void 0 : E.id) === v.id ? (d(), u("svg", qn, zn)) : f("", !0),
|
|
3156
3157
|
r("span", null, g(v.name || v.id || "-"), 1)
|
|
3157
3158
|
])
|
|
3158
3159
|
], 42, Rn);
|
|
@@ -3230,7 +3231,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3230
3231
|
return t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
3231
3232
|
e.show ? (d(), u("div", {
|
|
3232
3233
|
key: 0,
|
|
3233
|
-
class:
|
|
3234
|
+
class: p(e.field_name)
|
|
3234
3235
|
}, [
|
|
3235
3236
|
r("h3", Wn, g(e.label_name), 1),
|
|
3236
3237
|
r("p", {
|
|
@@ -3241,21 +3242,21 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3241
3242
|
], 2)) : f("", !0),
|
|
3242
3243
|
e.show ? f("", !0) : (d(), u("div", {
|
|
3243
3244
|
key: 1,
|
|
3244
|
-
class:
|
|
3245
|
+
class: p(["mb-4", e.field_name])
|
|
3245
3246
|
}, [
|
|
3246
3247
|
r("label", {
|
|
3247
|
-
class:
|
|
3248
|
+
class: p({
|
|
3248
3249
|
"gl-label-form": e.error_message == "",
|
|
3249
3250
|
"gl-label-form-invalid": e.error_message !== "",
|
|
3250
3251
|
required: e.is_required
|
|
3251
3252
|
}),
|
|
3252
3253
|
for: e.field_name
|
|
3253
3254
|
}, g(e.label_name), 11, Jn),
|
|
3254
|
-
|
|
3255
|
+
A(r("textarea", {
|
|
3255
3256
|
required: e.is_required,
|
|
3256
3257
|
name: e.field_name,
|
|
3257
3258
|
id: e.field_name,
|
|
3258
|
-
class:
|
|
3259
|
+
class: p({
|
|
3259
3260
|
" gl-textarea-form mt-4 ": e.error_message == "",
|
|
3260
3261
|
" gl-textarea-form-invalid mt-4 ": e.error_message !== ""
|
|
3261
3262
|
}),
|
|
@@ -3480,7 +3481,7 @@ function po(e, t, s, n, o, a) {
|
|
|
3480
3481
|
}), [
|
|
3481
3482
|
l.computed.prevPageUrl || s.showDisabled ? (d(), u("li", {
|
|
3482
3483
|
key: 0,
|
|
3483
|
-
class:
|
|
3484
|
+
class: p(["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", { disabled: !l.computed.prevPageUrl }])
|
|
3484
3485
|
}, [
|
|
3485
3486
|
r("a", ae({
|
|
3486
3487
|
class: "page-link",
|
|
@@ -3495,7 +3496,7 @@ function po(e, t, s, n, o, a) {
|
|
|
3495
3496
|
], 16, uo)
|
|
3496
3497
|
], 2)) : f("", !0),
|
|
3497
3498
|
(d(!0), u(k, null, O(l.computed.pageRange, (c, h) => (d(), u("li", {
|
|
3498
|
-
class:
|
|
3499
|
+
class: p(["", { active: c == l.computed.currentPage }]),
|
|
3499
3500
|
key: h
|
|
3500
3501
|
}, [
|
|
3501
3502
|
r("a", ae({
|
|
@@ -3508,7 +3509,7 @@ function po(e, t, s, n, o, a) {
|
|
|
3508
3509
|
], 2))), 128)),
|
|
3509
3510
|
l.computed.nextPageUrl || s.showDisabled ? (d(), u("li", {
|
|
3510
3511
|
key: 1,
|
|
3511
|
-
class:
|
|
3512
|
+
class: p(["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", { disabled: !l.computed.nextPageUrl }])
|
|
3512
3513
|
}, [
|
|
3513
3514
|
r("a", ae({
|
|
3514
3515
|
class: "",
|
|
@@ -3625,7 +3626,7 @@ const yo = /* @__PURE__ */ D(so, [["render", po]]), _o = {
|
|
|
3625
3626
|
"clip-rule": "evenodd"
|
|
3626
3627
|
})
|
|
3627
3628
|
])
|
|
3628
|
-
], -1), Po = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" },
|
|
3629
|
+
], -1), Po = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Ao = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, Eo = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, jo = ["onClick"], To = {
|
|
3629
3630
|
key: 0,
|
|
3630
3631
|
class: "ml-2"
|
|
3631
3632
|
}, Mo = {
|
|
@@ -3702,7 +3703,7 @@ function Fo(e, t, s, n, o, a) {
|
|
|
3702
3703
|
So,
|
|
3703
3704
|
r("div", Do, [
|
|
3704
3705
|
Oo,
|
|
3705
|
-
|
|
3706
|
+
A(r("input", {
|
|
3706
3707
|
type: "text",
|
|
3707
3708
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => o.search = c),
|
|
3708
3709
|
onInput: t[2] || (t[2] = (c) => a.handleSearch()),
|
|
@@ -3714,8 +3715,8 @@ function Fo(e, t, s, n, o, a) {
|
|
|
3714
3715
|
])
|
|
3715
3716
|
]),
|
|
3716
3717
|
r("div", Po, [
|
|
3717
|
-
r("table",
|
|
3718
|
-
r("thead",
|
|
3718
|
+
r("table", Ao, [
|
|
3719
|
+
r("thead", Eo, [
|
|
3719
3720
|
r("tr", null, [
|
|
3720
3721
|
(d(!0), u(k, null, O(s.columns, (c, h) => (d(), u("th", {
|
|
3721
3722
|
key: h,
|
|
@@ -3918,7 +3919,7 @@ const zu = /* @__PURE__ */ D(_o, [["render", Fo]]), qo = {
|
|
|
3918
3919
|
Dl,
|
|
3919
3920
|
Ol
|
|
3920
3921
|
];
|
|
3921
|
-
function
|
|
3922
|
+
function Al(e, t, s, n, o, a) {
|
|
3922
3923
|
const i = ne("dropdown");
|
|
3923
3924
|
return d(), u("div", Ho, [
|
|
3924
3925
|
r("div", zo, [
|
|
@@ -3943,7 +3944,7 @@ function El(e, t, s, n, o, a) {
|
|
|
3943
3944
|
Xo,
|
|
3944
3945
|
r("div", Jo, [
|
|
3945
3946
|
Qo,
|
|
3946
|
-
|
|
3947
|
+
A(r("input", {
|
|
3947
3948
|
type: "text",
|
|
3948
3949
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => o.search = l),
|
|
3949
3950
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
@@ -4060,7 +4061,7 @@ function El(e, t, s, n, o, a) {
|
|
|
4060
4061
|
])) : f("", !0)
|
|
4061
4062
|
]);
|
|
4062
4063
|
}
|
|
4063
|
-
const Zu = /* @__PURE__ */ D(qo, [["render",
|
|
4064
|
+
const Zu = /* @__PURE__ */ D(qo, [["render", Al]]), El = {
|
|
4064
4065
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4065
4066
|
role: "alert"
|
|
4066
4067
|
}, jl = {
|
|
@@ -4140,7 +4141,7 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4140
4141
|
setTimeout(() => n("remove"), s.duration);
|
|
4141
4142
|
});
|
|
4142
4143
|
const n = t;
|
|
4143
|
-
return (o, a) => (d(), u("div",
|
|
4144
|
+
return (o, a) => (d(), u("div", El, [
|
|
4144
4145
|
s.type === "success" ? (d(), u("div", jl, Ll)) : f("", !0),
|
|
4145
4146
|
s.type === "error" ? (d(), u("div", Nl, Bl)) : f("", !0),
|
|
4146
4147
|
s.type === "warning" ? (d(), u("div", Gl, Fl)) : f("", !0),
|
|
@@ -4168,14 +4169,14 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4168
4169
|
remove(e) {
|
|
4169
4170
|
ve.items.splice(e, 1);
|
|
4170
4171
|
}
|
|
4171
|
-
},
|
|
4172
|
+
}, Ae = {
|
|
4172
4173
|
state: ve,
|
|
4173
4174
|
methods: Wl
|
|
4174
4175
|
}, Ku = {
|
|
4175
4176
|
__name: "GlToastList",
|
|
4176
4177
|
setup(e) {
|
|
4177
4178
|
function t(s) {
|
|
4178
|
-
|
|
4179
|
+
Ae.methods.remove(s);
|
|
4179
4180
|
}
|
|
4180
4181
|
return (s, n) => (d(), X(ot, {
|
|
4181
4182
|
tag: "div",
|
|
@@ -4186,7 +4187,7 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4186
4187
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4187
4188
|
}, {
|
|
4188
4189
|
default: le(() => [
|
|
4189
|
-
(d(!0), u(k, null, O(lt(
|
|
4190
|
+
(d(!0), u(k, null, O(lt(Ae).state.items, (o, a) => (d(), X(Kl, {
|
|
4190
4191
|
key: o.key,
|
|
4191
4192
|
message: o.message,
|
|
4192
4193
|
type: o.type,
|
|
@@ -4266,13 +4267,13 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4266
4267
|
onConfirmDelete: _,
|
|
4267
4268
|
onCancelDelete: c
|
|
4268
4269
|
}, null, 8, ["isOpen"]),
|
|
4269
|
-
e.row && $.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ?
|
|
4270
|
+
e.row && $.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? A((d(), u("div", Yl, [
|
|
4270
4271
|
r("button", {
|
|
4271
4272
|
onClick: l,
|
|
4272
4273
|
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",
|
|
4273
4274
|
type: "button"
|
|
4274
4275
|
}, Jl),
|
|
4275
|
-
|
|
4276
|
+
A(r("div", Ql, [
|
|
4276
4277
|
r("ul", ei, [
|
|
4277
4278
|
$.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ti, [
|
|
4278
4279
|
r("a", {
|
|
@@ -4372,13 +4373,13 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4372
4373
|
onConfirmDelete: _,
|
|
4373
4374
|
onCancelDelete: c
|
|
4374
4375
|
}, null, 8, ["isOpen"]),
|
|
4375
|
-
e.row && $.can(`delete_${e.xprops.permission}`) ?
|
|
4376
|
+
e.row && $.can(`delete_${e.xprops.permission}`) ? A((d(), u("div", oi, [
|
|
4376
4377
|
r("button", {
|
|
4377
4378
|
onClick: l,
|
|
4378
4379
|
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",
|
|
4379
4380
|
type: "button"
|
|
4380
4381
|
}, ii),
|
|
4381
|
-
|
|
4382
|
+
A(r("div", di, [
|
|
4382
4383
|
r("ul", ui, [
|
|
4383
4384
|
$.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ci, [
|
|
4384
4385
|
r("a", {
|
|
@@ -4560,7 +4561,7 @@ function Si(e, t, s, n, o, a) {
|
|
|
4560
4561
|
const Ju = /* @__PURE__ */ D(vi, [["render", Si]]), Di = {
|
|
4561
4562
|
props: ["field", "row", "tdProps"]
|
|
4562
4563
|
}, Oi = { key: 0 }, Pi = ["innerHTML"];
|
|
4563
|
-
function
|
|
4564
|
+
function Ai(e, t, s, n, o, a) {
|
|
4564
4565
|
return s.row[s.field] ? (d(), u("div", Oi, [
|
|
4565
4566
|
r("div", {
|
|
4566
4567
|
class: "w-full",
|
|
@@ -4568,7 +4569,7 @@ function Ei(e, t, s, n, o, a) {
|
|
|
4568
4569
|
}, null, 8, Pi)
|
|
4569
4570
|
])) : f("", !0);
|
|
4570
4571
|
}
|
|
4571
|
-
const Qu = /* @__PURE__ */ D(Di, [["render",
|
|
4572
|
+
const Qu = /* @__PURE__ */ D(Di, [["render", Ai]]), Ei = {
|
|
4572
4573
|
props: ["field", "row", "tdProps"],
|
|
4573
4574
|
computed: {
|
|
4574
4575
|
entry() {
|
|
@@ -4594,7 +4595,7 @@ function Mi(e, t, s, n, o, a) {
|
|
|
4594
4595
|
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Ti, g(s.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
|
|
4595
4596
|
]);
|
|
4596
4597
|
}
|
|
4597
|
-
const ec = /* @__PURE__ */ D(
|
|
4598
|
+
const ec = /* @__PURE__ */ D(Ei, [["render", Mi]]), Li = {
|
|
4598
4599
|
props: ["field", "row", "tdProps"]
|
|
4599
4600
|
}, Ni = { key: 0 }, Ii = { class: "m-1 d-inline-block" }, Vi = ["href", "title"], Bi = ["src", "alt", "title"];
|
|
4600
4601
|
function Gi(e, t, s, n, o, a) {
|
|
@@ -4718,35 +4719,35 @@ function dd(e, t, s, n, o, a) {
|
|
|
4718
4719
|
return d(), u("div", id, [
|
|
4719
4720
|
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
4720
4721
|
key: 0,
|
|
4721
|
-
class:
|
|
4722
|
+
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])
|
|
4722
4723
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4723
4724
|
a.hasLabelColor == "Dark" ? (d(), u("span", {
|
|
4724
4725
|
key: 1,
|
|
4725
|
-
class:
|
|
4726
|
+
class: p(["bg-gray-100 text-gray-800 font-medium me-2 px-2.5 py-0.5 dark:bg-gray-700 dark:text-gray-300 border-gray-500", a.badgeType])
|
|
4726
4727
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4727
4728
|
a.hasLabelColor == "Red" ? (d(), u("span", {
|
|
4728
4729
|
key: 2,
|
|
4729
|
-
class:
|
|
4730
|
+
class: p(["bg-red-100 text-red-800 font-medium me-2 px-2.5 py-0.5 dark:bg-red-900 dark:text-red-300 border-red-400", a.badgeType])
|
|
4730
4731
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4731
4732
|
a.hasLabelColor == "Green" ? (d(), u("span", {
|
|
4732
4733
|
key: 3,
|
|
4733
|
-
class:
|
|
4734
|
+
class: p(["bg-green-100 text-green-800 font-medium me-2 px-2.5 py-0.5 dark:bg-green-900 dark:text-green-300 border-green-400", a.badgeType])
|
|
4734
4735
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4735
4736
|
a.hasLabelColor == "Yellow" ? (d(), u("span", {
|
|
4736
4737
|
key: 4,
|
|
4737
|
-
class:
|
|
4738
|
+
class: p(["bg-yellow-100 text-yellow-800 font-medium me-2 px-2.5 py-0.5 dark:bg-yellow-900 dark:text-yellow-300 border-yellow-300", a.badgeType])
|
|
4738
4739
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4739
4740
|
a.hasLabelColor == "Indigo" ? (d(), u("span", {
|
|
4740
4741
|
key: 5,
|
|
4741
|
-
class:
|
|
4742
|
+
class: p(["bg-indigo-100 text-indigo-800 font-medium me-2 px-2.5 py-0.5 dark:bg-indigo-900 dark:text-indigo-300 border-indigo-400", a.badgeType])
|
|
4742
4743
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4743
4744
|
a.hasLabelColor == "Purple" ? (d(), u("span", {
|
|
4744
4745
|
key: 6,
|
|
4745
|
-
class:
|
|
4746
|
+
class: p(["bg-purple-100 text-purple-800 font-medium me-2 px-2.5 py-0.5 dark:bg-purple-900 dark:text-purple-300 border-purple-400", a.badgeType])
|
|
4746
4747
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4747
4748
|
a.hasLabelColor == "Pink" ? (d(), u("span", {
|
|
4748
4749
|
key: 7,
|
|
4749
|
-
class:
|
|
4750
|
+
class: p(["bg-pink-100 text-pink-800 font-medium me-2 px-2.5 py-0.5 dark:bg-pink-900 dark:text-pink-300 border-pink-400", a.badgeType])
|
|
4750
4751
|
}, g(this.row[this.field]), 3)) : f("", !0)
|
|
4751
4752
|
]);
|
|
4752
4753
|
}
|
|
@@ -4836,10 +4837,10 @@ const oc = /* @__PURE__ */ D(kd, [["render", Cd]]), Sd = {
|
|
|
4836
4837
|
}, Pd = /* @__PURE__ */ r("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4837
4838
|
/* @__PURE__ */ r("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4838
4839
|
/* @__PURE__ */ r("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4839
|
-
], -1),
|
|
4840
|
+
], -1), Ad = {
|
|
4840
4841
|
key: 1,
|
|
4841
4842
|
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"
|
|
4842
|
-
},
|
|
4843
|
+
}, Ed = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), jd = {
|
|
4843
4844
|
key: 2,
|
|
4844
4845
|
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"
|
|
4845
4846
|
}, Td = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
@@ -4849,8 +4850,8 @@ function Md(e, t, s, n, o, a) {
|
|
|
4849
4850
|
Pd,
|
|
4850
4851
|
w(" Provisioning")
|
|
4851
4852
|
])) : f("", !0),
|
|
4852
|
-
s.row[s.field] === 2 ? (d(), u("span",
|
|
4853
|
-
|
|
4853
|
+
s.row[s.field] === 2 ? (d(), u("span", Ad, [
|
|
4854
|
+
Ed,
|
|
4854
4855
|
w(" Paused ")
|
|
4855
4856
|
])) : f("", !0),
|
|
4856
4857
|
s.row[s.field] === 1 ? (d(), u("span", jd, [
|
|
@@ -5119,11 +5120,11 @@ export {
|
|
|
5119
5120
|
xe as GlDeleteConfirmationModal,
|
|
5120
5121
|
qu as GlDropdown,
|
|
5121
5122
|
Pu as GlFilesUpload,
|
|
5122
|
-
|
|
5123
|
+
Eu as GlLanguageSelector,
|
|
5123
5124
|
Ru as GlModal,
|
|
5124
5125
|
Uu as GlMultiItemSlide,
|
|
5125
5126
|
Tu as GlMultiSelectDropdown,
|
|
5126
|
-
|
|
5127
|
+
Au as GlNotify,
|
|
5127
5128
|
Gu as GlTab,
|
|
5128
5129
|
Bu as GlTabsWrapper,
|
|
5129
5130
|
yo as GlTailwindPagination,
|
|
@@ -5133,7 +5134,7 @@ export {
|
|
|
5133
5134
|
Hu as GlTextarea,
|
|
5134
5135
|
Lu as GlTextareaTranslate,
|
|
5135
5136
|
Nu as GlTinymceTranslate,
|
|
5136
|
-
|
|
5137
|
+
Ae as GlToast,
|
|
5137
5138
|
Ku as GlToastList,
|
|
5138
5139
|
Fu as GlToggleBox
|
|
5139
5140
|
};
|