golden-logic-ui 1.0.123 → 1.0.125
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 +185 -185
- 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,89 +1436,89 @@ 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
|
-
console.log("selectOption",
|
|
1480
|
-
let v = a.value.findIndex((x) => x.id ===
|
|
1481
|
-
v !== -1 ? a.value.splice(v, 1) : a.value.push(
|
|
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);
|
|
1482
1482
|
}
|
|
1483
1483
|
function j() {
|
|
1484
1484
|
s.show || (h.value = "", c.value = !0, Te(() => {
|
|
1485
|
-
var
|
|
1485
|
+
var b = document.getElementById(
|
|
1486
1486
|
`${s.field_name}search${m.value}`
|
|
1487
1487
|
);
|
|
1488
|
-
|
|
1488
|
+
b && b.focus();
|
|
1489
1489
|
}));
|
|
1490
1490
|
}
|
|
1491
1491
|
function B() {
|
|
1492
|
-
|
|
1492
|
+
h.value = "", n("selected", a.value), c.value = !1;
|
|
1493
1493
|
}
|
|
1494
1494
|
return q(h, () => {
|
|
1495
1495
|
S.value.length === 0 && (a.value = []);
|
|
1496
|
-
}), q(a, (
|
|
1496
|
+
}), q(a, (b) => {
|
|
1497
1497
|
Q(a.value) && (i.value = a.value.map((v) => v.id), n("update:modelValue", i.value));
|
|
1498
|
-
}), (
|
|
1498
|
+
}), (b, v) => (d(), u(k, null, [
|
|
1499
1499
|
e.show ? (d(), u("div", {
|
|
1500
1500
|
key: 0,
|
|
1501
|
-
class:
|
|
1501
|
+
class: p(e.field_name)
|
|
1502
1502
|
}, [
|
|
1503
1503
|
r("h3", Br, g(e.label_name), 1),
|
|
1504
1504
|
r("p", Gr, [
|
|
1505
|
-
(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))
|
|
1506
1506
|
]),
|
|
1507
1507
|
Rr
|
|
1508
1508
|
], 2)) : f("", !0),
|
|
1509
1509
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1510
1510
|
key: 1,
|
|
1511
|
-
class:
|
|
1511
|
+
class: p(["mb-4", e.field_name])
|
|
1512
1512
|
}, [
|
|
1513
|
-
(d(!0), u(k, null, O(i.value, (x,
|
|
1513
|
+
(d(!0), u(k, null, O(i.value, (x, E) => (d(), u("input", {
|
|
1514
1514
|
type: "hidden",
|
|
1515
1515
|
name: e.field_name + "[]",
|
|
1516
|
-
key:
|
|
1516
|
+
key: E,
|
|
1517
1517
|
value: x
|
|
1518
1518
|
}, null, 8, Fr))), 128)),
|
|
1519
1519
|
e.options ? (d(), u("div", qr, [
|
|
1520
1520
|
r("label", {
|
|
1521
|
-
class:
|
|
1521
|
+
class: p({
|
|
1522
1522
|
"gl-label-form": e.error_message == "",
|
|
1523
1523
|
"gl-label-form-invalid": e.error_message !== "",
|
|
1524
1524
|
required: e.is_required
|
|
@@ -1545,28 +1545,28 @@ const Au = /* @__PURE__ */ D(Er, [["render", Mr]]), Lr = { class: "bg-white bord
|
|
|
1545
1545
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1546
1546
|
onClick: v[0] || (v[0] = (x) => j())
|
|
1547
1547
|
}, [
|
|
1548
|
-
(d(!0), u(k, null, O($.value, (x,
|
|
1549
|
-
key:
|
|
1548
|
+
(d(!0), u(k, null, O($.value, (x, E) => (d(), u("span", {
|
|
1549
|
+
key: E,
|
|
1550
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"
|
|
1551
1551
|
}, [
|
|
1552
1552
|
w(g(x == null ? void 0 : x.name) + " ", 1),
|
|
1553
1553
|
r("i", {
|
|
1554
|
-
onClick: U((oe) =>
|
|
1554
|
+
onClick: U((oe) => b.clearOption(x), ["stop"]),
|
|
1555
1555
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
1556
1556
|
}, null, 8, Zr)
|
|
1557
1557
|
]))), 128))
|
|
1558
1558
|
]),
|
|
1559
1559
|
r("i", {
|
|
1560
|
-
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"]),
|
|
1561
1561
|
style: { top: "11px" }
|
|
1562
1562
|
}, null, 2)
|
|
1563
1563
|
]),
|
|
1564
|
-
|
|
1564
|
+
A(r("div", Kr, [
|
|
1565
1565
|
r("div", Wr, [
|
|
1566
1566
|
Yr,
|
|
1567
1567
|
r("div", Xr, [
|
|
1568
1568
|
Jr,
|
|
1569
|
-
|
|
1569
|
+
A(r("input", {
|
|
1570
1570
|
type: "search",
|
|
1571
1571
|
"onUpdate:modelValue": v[1] || (v[1] = (x) => h.value = x),
|
|
1572
1572
|
ref: o.value,
|
|
@@ -1582,15 +1582,15 @@ const Au = /* @__PURE__ */ D(Er, [["render", Mr]]), Lr = { class: "bg-white bord
|
|
|
1582
1582
|
])
|
|
1583
1583
|
]),
|
|
1584
1584
|
r("div", es, [
|
|
1585
|
-
(d(!0), u(k, null, O(S.value, (x,
|
|
1586
|
-
class:
|
|
1585
|
+
(d(!0), u(k, null, O(S.value, (x, E) => (d(), u("div", {
|
|
1586
|
+
class: p([
|
|
1587
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",
|
|
1588
|
-
|
|
1588
|
+
E + 1 == l.value || ue(x.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
1589
1589
|
]),
|
|
1590
1590
|
onClick: (oe) => P(x),
|
|
1591
1591
|
onMousedown: (oe) => P(x),
|
|
1592
|
-
key:
|
|
1593
|
-
id:
|
|
1592
|
+
key: E,
|
|
1593
|
+
id: E + 1
|
|
1594
1594
|
}, g(x.name || x.id || "-"), 43, ts))), 128))
|
|
1595
1595
|
])
|
|
1596
1596
|
], 512), [
|
|
@@ -1678,7 +1678,7 @@ function as(e, t, s, n, o, a) {
|
|
|
1678
1678
|
return s.is_loading ? (d(), X(pe("button"), {
|
|
1679
1679
|
key: 1,
|
|
1680
1680
|
disabled: "",
|
|
1681
|
-
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}`)
|
|
1682
1682
|
}, {
|
|
1683
1683
|
default: le(() => [
|
|
1684
1684
|
ss,
|
|
@@ -1696,7 +1696,7 @@ function as(e, t, s, n, o, a) {
|
|
|
1696
1696
|
default: le(() => [
|
|
1697
1697
|
s.icon ? (d(), u("i", {
|
|
1698
1698
|
key: 0,
|
|
1699
|
-
class:
|
|
1699
|
+
class: p([s.icon, "text-base"])
|
|
1700
1700
|
}, null, 2)) : f("", !0),
|
|
1701
1701
|
N(e.$slots, "default")
|
|
1702
1702
|
]),
|
|
@@ -1775,10 +1775,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1775
1775
|
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
1776
1776
|
e.show ? (d(), u("div", {
|
|
1777
1777
|
key: 0,
|
|
1778
|
-
class:
|
|
1778
|
+
class: p(e.field_name)
|
|
1779
1779
|
}, [
|
|
1780
1780
|
r("h3", ns, g(e.label_name), 1),
|
|
1781
|
-
|
|
1781
|
+
A(r("input", {
|
|
1782
1782
|
type: "hidden",
|
|
1783
1783
|
"data-i18n": "true",
|
|
1784
1784
|
name: e.field_name + "_i18n",
|
|
@@ -1797,10 +1797,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1797
1797
|
], 2)) : f("", !0),
|
|
1798
1798
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1799
1799
|
key: 1,
|
|
1800
|
-
class:
|
|
1800
|
+
class: p(["mb-4", e.field_name])
|
|
1801
1801
|
}, [
|
|
1802
1802
|
r("label", {
|
|
1803
|
-
class:
|
|
1803
|
+
class: p({
|
|
1804
1804
|
"gl-label-translation-form": e.error_message == "",
|
|
1805
1805
|
"gl-label-translation-form-invalid": e.error_message !== "",
|
|
1806
1806
|
required: e.is_required
|
|
@@ -1822,7 +1822,7 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1822
1822
|
required: e.is_required,
|
|
1823
1823
|
name: e.field_name,
|
|
1824
1824
|
id: e.field_name,
|
|
1825
|
-
class:
|
|
1825
|
+
class: p({
|
|
1826
1826
|
" gl-textarea-form form-input-translation mt-4 ": e.error_message == "",
|
|
1827
1827
|
" gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
|
|
1828
1828
|
}),
|
|
@@ -1915,10 +1915,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1915
1915
|
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
1916
1916
|
e.show ? (d(), u("div", {
|
|
1917
1917
|
key: 0,
|
|
1918
|
-
class:
|
|
1918
|
+
class: p(e.field_name)
|
|
1919
1919
|
}, [
|
|
1920
1920
|
r("h3", ms, g(e.label_name), 1),
|
|
1921
|
-
|
|
1921
|
+
A(r("input", {
|
|
1922
1922
|
type: "hidden",
|
|
1923
1923
|
"data-i18n": "true",
|
|
1924
1924
|
name: e.field_name + "_i18n",
|
|
@@ -1937,10 +1937,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1937
1937
|
], 2)) : f("", !0),
|
|
1938
1938
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1939
1939
|
key: 1,
|
|
1940
|
-
class:
|
|
1940
|
+
class: p(["mb-4", e.field_name])
|
|
1941
1941
|
}, [
|
|
1942
1942
|
r("label", {
|
|
1943
|
-
class:
|
|
1943
|
+
class: p({
|
|
1944
1944
|
"gl-label-translation-form": e.error_message == "",
|
|
1945
1945
|
"gl-label-translation-form-invalid": e.error_message !== "",
|
|
1946
1946
|
required: e.is_required
|
|
@@ -1961,7 +1961,7 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1961
1961
|
r("textarea", {
|
|
1962
1962
|
name: e.field_name,
|
|
1963
1963
|
id: e.field_name,
|
|
1964
|
-
class:
|
|
1964
|
+
class: p(["tiny", {
|
|
1965
1965
|
" gl-textarea-form form-input-translation mt-4 ": e.error_message == "",
|
|
1966
1966
|
" gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
|
|
1967
1967
|
}]),
|
|
@@ -1978,7 +1978,7 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
1978
1978
|
], 2))
|
|
1979
1979
|
], 64));
|
|
1980
1980
|
}
|
|
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"],
|
|
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 = {
|
|
1982
1982
|
__name: "GlTextTranslate",
|
|
1983
1983
|
props: {
|
|
1984
1984
|
is_required: {
|
|
@@ -2050,10 +2050,10 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2050
2050
|
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
2051
2051
|
e.show ? (d(), u("div", {
|
|
2052
2052
|
key: 0,
|
|
2053
|
-
class:
|
|
2053
|
+
class: p(e.field_name)
|
|
2054
2054
|
}, [
|
|
2055
2055
|
r("h3", Cs, g(e.label_name), 1),
|
|
2056
|
-
|
|
2056
|
+
A(r("input", {
|
|
2057
2057
|
type: "hidden",
|
|
2058
2058
|
"data-i18n": "true",
|
|
2059
2059
|
name: e.field_name + "_i18n",
|
|
@@ -2071,17 +2071,17 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2071
2071
|
], 2)) : f("", !0),
|
|
2072
2072
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2073
2073
|
key: 1,
|
|
2074
|
-
class:
|
|
2074
|
+
class: p(["mb-4", e.field_name])
|
|
2075
2075
|
}, [
|
|
2076
2076
|
r("label", {
|
|
2077
|
-
class:
|
|
2077
|
+
class: p({
|
|
2078
2078
|
"gl-label-translation-form": e.error_message == "",
|
|
2079
2079
|
"gl-label-translation-form-invalid": e.error_message !== "",
|
|
2080
2080
|
required: e.is_required
|
|
2081
2081
|
}),
|
|
2082
2082
|
for: e.field_name
|
|
2083
2083
|
}, g(e.label_name), 11, Ps),
|
|
2084
|
-
|
|
2084
|
+
As,
|
|
2085
2085
|
r("input", {
|
|
2086
2086
|
class: "mb-4",
|
|
2087
2087
|
type: "hidden",
|
|
@@ -2091,12 +2091,12 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2091
2091
|
onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
|
|
2092
2092
|
ref_key: "input_translate",
|
|
2093
2093
|
ref: i
|
|
2094
|
-
}, null, 40,
|
|
2094
|
+
}, null, 40, Es),
|
|
2095
2095
|
r("input", {
|
|
2096
2096
|
required: e.is_required,
|
|
2097
2097
|
name: e.field_name,
|
|
2098
2098
|
id: e.field_name,
|
|
2099
|
-
class:
|
|
2099
|
+
class: p({
|
|
2100
2100
|
" gl-input-form form-input-translation mt-2 ": e.error_message == "",
|
|
2101
2101
|
" gl-input-form-invalid form-input-translation mt-2 ": e.error_message !== ""
|
|
2102
2102
|
}),
|
|
@@ -2172,7 +2172,7 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2172
2172
|
return t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
2173
2173
|
e.show ? (d(), u("div", {
|
|
2174
2174
|
key: 0,
|
|
2175
|
-
class:
|
|
2175
|
+
class: p(e.field_name)
|
|
2176
2176
|
}, [
|
|
2177
2177
|
r("h3", Ls, g(e.label_name), 1),
|
|
2178
2178
|
r("p", Ns, g(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
|
|
@@ -2180,21 +2180,21 @@ const Mu = /* @__PURE__ */ D(rs, [["render", as]]), ns = { class: "font-bold pte
|
|
|
2180
2180
|
], 2)) : f("", !0),
|
|
2181
2181
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2182
2182
|
key: 1,
|
|
2183
|
-
class:
|
|
2183
|
+
class: p(["mb-4", e.field_name])
|
|
2184
2184
|
}, [
|
|
2185
2185
|
r("label", {
|
|
2186
|
-
class:
|
|
2186
|
+
class: p({
|
|
2187
2187
|
"gl-label-form": e.error_message == "",
|
|
2188
2188
|
"gl-label-form-invalid": e.error_message !== "",
|
|
2189
2189
|
required: e.is_required
|
|
2190
2190
|
}),
|
|
2191
2191
|
for: e.field_name
|
|
2192
2192
|
}, g(e.label_name), 11, Vs),
|
|
2193
|
-
|
|
2193
|
+
A(r("input", {
|
|
2194
2194
|
required: e.is_required,
|
|
2195
2195
|
name: e.field_name,
|
|
2196
2196
|
id: e.field_name,
|
|
2197
|
-
class:
|
|
2197
|
+
class: p({
|
|
2198
2198
|
"gl-input-form": e.error_message == "",
|
|
2199
2199
|
"gl-input-form-invalid": e.error_message !== ""
|
|
2200
2200
|
}),
|
|
@@ -2232,10 +2232,10 @@ function Ys(e, t, s, n, o, a) {
|
|
|
2232
2232
|
class: "flex-auto -mb-px text-center"
|
|
2233
2233
|
}, [
|
|
2234
2234
|
r("a", {
|
|
2235
|
-
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"])
|
|
2236
2236
|
}, [
|
|
2237
2237
|
r("i", {
|
|
2238
|
-
class:
|
|
2238
|
+
class: p([i.icon, "mr-1 text-base"])
|
|
2239
2239
|
}, null, 2),
|
|
2240
2240
|
w(" " + g(i.title), 1)
|
|
2241
2241
|
], 2)
|
|
@@ -2256,7 +2256,7 @@ const Bu = /* @__PURE__ */ D(Rs, [["render", Ys]]), Xs = {
|
|
|
2256
2256
|
props: ["title"],
|
|
2257
2257
|
setup() {
|
|
2258
2258
|
return {
|
|
2259
|
-
selectedTitle:
|
|
2259
|
+
selectedTitle: Ee("selectedTitle")
|
|
2260
2260
|
};
|
|
2261
2261
|
}
|
|
2262
2262
|
}, Js = {
|
|
@@ -2459,8 +2459,8 @@ const Gu = /* @__PURE__ */ D(Xs, [["render", Qs]]), ea = {
|
|
|
2459
2459
|
], Pa = {
|
|
2460
2460
|
key: 1,
|
|
2461
2461
|
class: "flex justify-between pl-5 pr-5"
|
|
2462
|
-
},
|
|
2463
|
-
|
|
2462
|
+
}, Aa = ["onClick"], Ea = /* @__PURE__ */ T(() => /* @__PURE__ */ r("span", null, null, -1)), ja = [
|
|
2463
|
+
Ea
|
|
2464
2464
|
], Ta = {
|
|
2465
2465
|
key: 0,
|
|
2466
2466
|
class: "flex"
|
|
@@ -2555,7 +2555,7 @@ const Gu = /* @__PURE__ */ D(Xs, [["render", Qs]]), ea = {
|
|
|
2555
2555
|
function an(e, t, s, n, o, a) {
|
|
2556
2556
|
return d(), u("div", null, [
|
|
2557
2557
|
r("div", {
|
|
2558
|
-
class:
|
|
2558
|
+
class: p(["", !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
2559
2559
|
id: "mainSliderContainer_" + e.Random_string
|
|
2560
2560
|
}, [
|
|
2561
2561
|
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", ra, [
|
|
@@ -2570,7 +2570,7 @@ function an(e, t, s, n, o, a) {
|
|
|
2570
2570
|
])
|
|
2571
2571
|
])) : f("", !0),
|
|
2572
2572
|
r("div", {
|
|
2573
|
-
class:
|
|
2573
|
+
class: p(["overflow-hidden", a.sliderContainerAction()]),
|
|
2574
2574
|
id: "sliderContainer_" + e.Random_string
|
|
2575
2575
|
}, [
|
|
2576
2576
|
r("ul", {
|
|
@@ -2579,7 +2579,7 @@ function an(e, t, s, n, o, a) {
|
|
|
2579
2579
|
}, [
|
|
2580
2580
|
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
|
|
2581
2581
|
key: 0,
|
|
2582
|
-
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"])
|
|
2583
2583
|
}, [
|
|
2584
2584
|
r("div", fa, [
|
|
2585
2585
|
r("button", {
|
|
@@ -2594,7 +2594,7 @@ function an(e, t, s, n, o, a) {
|
|
|
2594
2594
|
N(e.$slots, "default", {}, void 0, !0),
|
|
2595
2595
|
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
|
|
2596
2596
|
key: 1,
|
|
2597
|
-
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"])
|
|
2598
2598
|
}, [
|
|
2599
2599
|
r("div", _a, [
|
|
2600
2600
|
r("button", {
|
|
@@ -2609,31 +2609,31 @@ function an(e, t, s, n, o, a) {
|
|
|
2609
2609
|
], 8, ca),
|
|
2610
2610
|
s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
|
|
2611
2611
|
key: 0,
|
|
2612
|
-
class:
|
|
2612
|
+
class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2613
2613
|
}, [
|
|
2614
2614
|
(d(!0), u(k, null, O(e.dotsNum, (i) => (d(), u("button", {
|
|
2615
2615
|
role: "button",
|
|
2616
|
-
class:
|
|
2616
|
+
class: p(["gl-dot", { active: e.currentDot == i }]),
|
|
2617
2617
|
key: i,
|
|
2618
2618
|
onClick: (l) => a.setDot(i)
|
|
2619
2619
|
}, Oa, 10, Sa))), 128))
|
|
2620
2620
|
], 2)) : f("", !0),
|
|
2621
2621
|
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Pa, [
|
|
2622
2622
|
r("div", {
|
|
2623
|
-
class:
|
|
2623
|
+
class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2624
2624
|
}, [
|
|
2625
2625
|
(d(!0), u(k, null, O(e.dotsNum, (i) => (d(), u("button", {
|
|
2626
2626
|
role: "button",
|
|
2627
|
-
class:
|
|
2627
|
+
class: p(["gl-dot", { active: e.currentDot == i }]),
|
|
2628
2628
|
key: i,
|
|
2629
2629
|
onClick: (l) => a.setDot(i)
|
|
2630
|
-
}, ja, 10,
|
|
2630
|
+
}, ja, 10, Aa))), 128))
|
|
2631
2631
|
], 2),
|
|
2632
2632
|
e.dotsNum > 0 ? (d(), u("div", Ta, [
|
|
2633
2633
|
r("div", Ma, [
|
|
2634
2634
|
r("div", La, [
|
|
2635
2635
|
r("button", {
|
|
2636
|
-
class:
|
|
2636
|
+
class: p(["p-3 rounded-full arrow_button_styles", s.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2637
2637
|
onClick: t[3] || (t[3] = (i) => a.prev())
|
|
2638
2638
|
}, [
|
|
2639
2639
|
s.direction_property == "ltr" ? (d(), u("svg", Na, Va)) : f("", !0),
|
|
@@ -2724,9 +2724,9 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2724
2724
|
l ? o() : a();
|
|
2725
2725
|
},
|
|
2726
2726
|
{ immediate: !0, deep: !0 }
|
|
2727
|
-
), (l, c) =>
|
|
2727
|
+
), (l, c) => A((d(), u("div", nn, [
|
|
2728
2728
|
r("div", {
|
|
2729
|
-
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])
|
|
2730
2730
|
}, [
|
|
2731
2731
|
r("div", on, [
|
|
2732
2732
|
r("div", ln, [
|
|
@@ -2739,7 +2739,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2739
2739
|
}, cn)
|
|
2740
2740
|
]),
|
|
2741
2741
|
r("div", {
|
|
2742
|
-
class:
|
|
2742
|
+
class: p(["relative overflow-y-auto", e.bodyClass])
|
|
2743
2743
|
}, [
|
|
2744
2744
|
N(l.$slots, "body")
|
|
2745
2745
|
], 2),
|
|
@@ -2817,7 +2817,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2817
2817
|
return (i, l) => (d(), u(k, null, [
|
|
2818
2818
|
e.show ? (d(), u("div", {
|
|
2819
2819
|
key: 0,
|
|
2820
|
-
class:
|
|
2820
|
+
class: p(e.field_name)
|
|
2821
2821
|
}, [
|
|
2822
2822
|
r("div", null, [
|
|
2823
2823
|
r("li", gn, [
|
|
@@ -2843,7 +2843,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2843
2843
|
], 2)) : f("", !0),
|
|
2844
2844
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2845
2845
|
key: 1,
|
|
2846
|
-
class:
|
|
2846
|
+
class: p(e.field_name)
|
|
2847
2847
|
}, [
|
|
2848
2848
|
e.has_label_up ? (d(), u("div", yn, [
|
|
2849
2849
|
r("label", _n, g(e.label_name), 1)
|
|
@@ -2851,7 +2851,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2851
2851
|
r("li", vn, [
|
|
2852
2852
|
w(g(e.label_name) + " ", 1),
|
|
2853
2853
|
r("label", xn, [
|
|
2854
|
-
|
|
2854
|
+
A(r("input", {
|
|
2855
2855
|
type: "checkbox",
|
|
2856
2856
|
class: "sr-only peer",
|
|
2857
2857
|
name: e.field_name,
|
|
@@ -2872,7 +2872,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
2872
2872
|
], 2))
|
|
2873
2873
|
], 64));
|
|
2874
2874
|
}
|
|
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),
|
|
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 = {
|
|
2876
2876
|
key: 0,
|
|
2877
2877
|
class: "dropdown"
|
|
2878
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", {
|
|
@@ -3064,11 +3064,11 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3064
3064
|
}), q(a, (y) => {
|
|
3065
3065
|
J(y) && n("update:modelValue", y.id);
|
|
3066
3066
|
}), (y, P) => {
|
|
3067
|
-
var j, B,
|
|
3067
|
+
var j, B, b;
|
|
3068
3068
|
return d(), u(k, null, [
|
|
3069
3069
|
e.show ? (d(), u("div", {
|
|
3070
3070
|
key: 0,
|
|
3071
|
-
class:
|
|
3071
|
+
class: p(e.field_name)
|
|
3072
3072
|
}, [
|
|
3073
3073
|
r("h3", Sn, g(e.label_name), 1),
|
|
3074
3074
|
r("p", Dn, [
|
|
@@ -3078,18 +3078,18 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3078
3078
|
], 2)) : f("", !0),
|
|
3079
3079
|
e.show ? f("", !0) : (d(), u("div", {
|
|
3080
3080
|
key: 1,
|
|
3081
|
-
class:
|
|
3081
|
+
class: p(["mb-4", e.field_name])
|
|
3082
3082
|
}, [
|
|
3083
3083
|
r("input", {
|
|
3084
3084
|
type: "hidden",
|
|
3085
3085
|
name: e.field_name,
|
|
3086
3086
|
id: e.field_name,
|
|
3087
3087
|
value: (B = _.value) == null ? void 0 : B.id
|
|
3088
|
-
}, null, 8,
|
|
3089
|
-
e.options ? (d(), u("div",
|
|
3088
|
+
}, null, 8, An),
|
|
3089
|
+
e.options ? (d(), u("div", En, [
|
|
3090
3090
|
e.label_name ? (d(), u("label", {
|
|
3091
3091
|
key: 0,
|
|
3092
|
-
class:
|
|
3092
|
+
class: p({
|
|
3093
3093
|
"gl-label-form": e.error_message == "",
|
|
3094
3094
|
"gl-label-form-invalid": e.error_message !== "",
|
|
3095
3095
|
required: e.is_required
|
|
@@ -3098,18 +3098,18 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3098
3098
|
r("div", jn, [
|
|
3099
3099
|
r("div", Tn, [
|
|
3100
3100
|
r("input", {
|
|
3101
|
-
class:
|
|
3101
|
+
class: p([{
|
|
3102
3102
|
"gl-input-form": e.error_message == "",
|
|
3103
3103
|
"gl-input-form-invalid": e.error_message !== ""
|
|
3104
3104
|
}, "pl-8 pr-2 showOptions"]),
|
|
3105
3105
|
ref: e.field_name,
|
|
3106
3106
|
onClick: P[0] || (P[0] = (v) => re()),
|
|
3107
|
-
value: (
|
|
3107
|
+
value: (b = _.value) == null ? void 0 : b.name,
|
|
3108
3108
|
placeholder: e.placeholder,
|
|
3109
3109
|
autocomplete: "off",
|
|
3110
3110
|
readonly: ""
|
|
3111
3111
|
}, null, 10, Mn),
|
|
3112
|
-
|
|
3112
|
+
A(r("i", {
|
|
3113
3113
|
onClick: P[1] || (P[1] = U((v) => he(), ["stop"])),
|
|
3114
3114
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3115
3115
|
style: { top: "13px" }
|
|
@@ -3118,16 +3118,16 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3118
3118
|
]),
|
|
3119
3119
|
r("i", {
|
|
3120
3120
|
onClick: P[2] || (P[2] = (v) => !l.value && re()),
|
|
3121
|
-
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"]),
|
|
3122
3122
|
style: { top: "11px" }
|
|
3123
3123
|
}, null, 2)
|
|
3124
3124
|
]),
|
|
3125
|
-
|
|
3125
|
+
A(r("div", Ln, [
|
|
3126
3126
|
r("div", Nn, [
|
|
3127
3127
|
In,
|
|
3128
3128
|
r("div", Vn, [
|
|
3129
3129
|
Bn,
|
|
3130
|
-
|
|
3130
|
+
A(r("input", {
|
|
3131
3131
|
type: "search",
|
|
3132
3132
|
"onUpdate:modelValue": P[3] || (P[3] = (v) => c.value = v),
|
|
3133
3133
|
ref: o.value,
|
|
@@ -3144,16 +3144,16 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3144
3144
|
]),
|
|
3145
3145
|
r("div", Un, [
|
|
3146
3146
|
(d(!0), u(k, null, O($.value, (v, x) => {
|
|
3147
|
-
var
|
|
3147
|
+
var E;
|
|
3148
3148
|
return d(), u("div", {
|
|
3149
|
-
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" : ""]),
|
|
3150
3150
|
onClick: (oe) => te(v),
|
|
3151
3151
|
onMousedown: (oe) => te(v),
|
|
3152
3152
|
key: x,
|
|
3153
3153
|
id: `${x + 1}${h.value}`
|
|
3154
3154
|
}, [
|
|
3155
3155
|
r("div", Fn, [
|
|
3156
|
-
((
|
|
3156
|
+
((E = _.value) == null ? void 0 : E.id) === v.id ? (d(), u("svg", qn, zn)) : f("", !0),
|
|
3157
3157
|
r("span", null, g(v.name || v.id || "-"), 1)
|
|
3158
3158
|
])
|
|
3159
3159
|
], 42, Rn);
|
|
@@ -3231,7 +3231,7 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3231
3231
|
return t({ focus: () => a.value.focus() }), (l, c) => (d(), u(k, null, [
|
|
3232
3232
|
e.show ? (d(), u("div", {
|
|
3233
3233
|
key: 0,
|
|
3234
|
-
class:
|
|
3234
|
+
class: p(e.field_name)
|
|
3235
3235
|
}, [
|
|
3236
3236
|
r("h3", Wn, g(e.label_name), 1),
|
|
3237
3237
|
r("p", {
|
|
@@ -3242,21 +3242,21 @@ const Uu = /* @__PURE__ */ D(ea, [["render", an], ["__scopeId", "data-v-a94f16a9
|
|
|
3242
3242
|
], 2)) : f("", !0),
|
|
3243
3243
|
e.show ? f("", !0) : (d(), u("div", {
|
|
3244
3244
|
key: 1,
|
|
3245
|
-
class:
|
|
3245
|
+
class: p(["mb-4", e.field_name])
|
|
3246
3246
|
}, [
|
|
3247
3247
|
r("label", {
|
|
3248
|
-
class:
|
|
3248
|
+
class: p({
|
|
3249
3249
|
"gl-label-form": e.error_message == "",
|
|
3250
3250
|
"gl-label-form-invalid": e.error_message !== "",
|
|
3251
3251
|
required: e.is_required
|
|
3252
3252
|
}),
|
|
3253
3253
|
for: e.field_name
|
|
3254
3254
|
}, g(e.label_name), 11, Jn),
|
|
3255
|
-
|
|
3255
|
+
A(r("textarea", {
|
|
3256
3256
|
required: e.is_required,
|
|
3257
3257
|
name: e.field_name,
|
|
3258
3258
|
id: e.field_name,
|
|
3259
|
-
class:
|
|
3259
|
+
class: p({
|
|
3260
3260
|
" gl-textarea-form mt-4 ": e.error_message == "",
|
|
3261
3261
|
" gl-textarea-form-invalid mt-4 ": e.error_message !== ""
|
|
3262
3262
|
}),
|
|
@@ -3481,7 +3481,7 @@ function po(e, t, s, n, o, a) {
|
|
|
3481
3481
|
}), [
|
|
3482
3482
|
l.computed.prevPageUrl || s.showDisabled ? (d(), u("li", {
|
|
3483
3483
|
key: 0,
|
|
3484
|
-
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 }])
|
|
3485
3485
|
}, [
|
|
3486
3486
|
r("a", ae({
|
|
3487
3487
|
class: "page-link",
|
|
@@ -3496,7 +3496,7 @@ function po(e, t, s, n, o, a) {
|
|
|
3496
3496
|
], 16, uo)
|
|
3497
3497
|
], 2)) : f("", !0),
|
|
3498
3498
|
(d(!0), u(k, null, O(l.computed.pageRange, (c, h) => (d(), u("li", {
|
|
3499
|
-
class:
|
|
3499
|
+
class: p(["", { active: c == l.computed.currentPage }]),
|
|
3500
3500
|
key: h
|
|
3501
3501
|
}, [
|
|
3502
3502
|
r("a", ae({
|
|
@@ -3509,7 +3509,7 @@ function po(e, t, s, n, o, a) {
|
|
|
3509
3509
|
], 2))), 128)),
|
|
3510
3510
|
l.computed.nextPageUrl || s.showDisabled ? (d(), u("li", {
|
|
3511
3511
|
key: 1,
|
|
3512
|
-
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 }])
|
|
3513
3513
|
}, [
|
|
3514
3514
|
r("a", ae({
|
|
3515
3515
|
class: "",
|
|
@@ -3626,7 +3626,7 @@ const yo = /* @__PURE__ */ D(so, [["render", po]]), _o = {
|
|
|
3626
3626
|
"clip-rule": "evenodd"
|
|
3627
3627
|
})
|
|
3628
3628
|
])
|
|
3629
|
-
], -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 = {
|
|
3630
3630
|
key: 0,
|
|
3631
3631
|
class: "ml-2"
|
|
3632
3632
|
}, Mo = {
|
|
@@ -3703,7 +3703,7 @@ function Fo(e, t, s, n, o, a) {
|
|
|
3703
3703
|
So,
|
|
3704
3704
|
r("div", Do, [
|
|
3705
3705
|
Oo,
|
|
3706
|
-
|
|
3706
|
+
A(r("input", {
|
|
3707
3707
|
type: "text",
|
|
3708
3708
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => o.search = c),
|
|
3709
3709
|
onInput: t[2] || (t[2] = (c) => a.handleSearch()),
|
|
@@ -3715,8 +3715,8 @@ function Fo(e, t, s, n, o, a) {
|
|
|
3715
3715
|
])
|
|
3716
3716
|
]),
|
|
3717
3717
|
r("div", Po, [
|
|
3718
|
-
r("table",
|
|
3719
|
-
r("thead",
|
|
3718
|
+
r("table", Ao, [
|
|
3719
|
+
r("thead", Eo, [
|
|
3720
3720
|
r("tr", null, [
|
|
3721
3721
|
(d(!0), u(k, null, O(s.columns, (c, h) => (d(), u("th", {
|
|
3722
3722
|
key: h,
|
|
@@ -3919,7 +3919,7 @@ const zu = /* @__PURE__ */ D(_o, [["render", Fo]]), qo = {
|
|
|
3919
3919
|
Dl,
|
|
3920
3920
|
Ol
|
|
3921
3921
|
];
|
|
3922
|
-
function
|
|
3922
|
+
function Al(e, t, s, n, o, a) {
|
|
3923
3923
|
const i = ne("dropdown");
|
|
3924
3924
|
return d(), u("div", Ho, [
|
|
3925
3925
|
r("div", zo, [
|
|
@@ -3944,7 +3944,7 @@ function El(e, t, s, n, o, a) {
|
|
|
3944
3944
|
Xo,
|
|
3945
3945
|
r("div", Jo, [
|
|
3946
3946
|
Qo,
|
|
3947
|
-
|
|
3947
|
+
A(r("input", {
|
|
3948
3948
|
type: "text",
|
|
3949
3949
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => o.search = l),
|
|
3950
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",
|
|
@@ -4061,7 +4061,7 @@ function El(e, t, s, n, o, a) {
|
|
|
4061
4061
|
])) : f("", !0)
|
|
4062
4062
|
]);
|
|
4063
4063
|
}
|
|
4064
|
-
const Zu = /* @__PURE__ */ D(qo, [["render",
|
|
4064
|
+
const Zu = /* @__PURE__ */ D(qo, [["render", Al]]), El = {
|
|
4065
4065
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4066
4066
|
role: "alert"
|
|
4067
4067
|
}, jl = {
|
|
@@ -4141,7 +4141,7 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4141
4141
|
setTimeout(() => n("remove"), s.duration);
|
|
4142
4142
|
});
|
|
4143
4143
|
const n = t;
|
|
4144
|
-
return (o, a) => (d(), u("div",
|
|
4144
|
+
return (o, a) => (d(), u("div", El, [
|
|
4145
4145
|
s.type === "success" ? (d(), u("div", jl, Ll)) : f("", !0),
|
|
4146
4146
|
s.type === "error" ? (d(), u("div", Nl, Bl)) : f("", !0),
|
|
4147
4147
|
s.type === "warning" ? (d(), u("div", Gl, Fl)) : f("", !0),
|
|
@@ -4169,14 +4169,14 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4169
4169
|
remove(e) {
|
|
4170
4170
|
ve.items.splice(e, 1);
|
|
4171
4171
|
}
|
|
4172
|
-
},
|
|
4172
|
+
}, Ae = {
|
|
4173
4173
|
state: ve,
|
|
4174
4174
|
methods: Wl
|
|
4175
4175
|
}, Ku = {
|
|
4176
4176
|
__name: "GlToastList",
|
|
4177
4177
|
setup(e) {
|
|
4178
4178
|
function t(s) {
|
|
4179
|
-
|
|
4179
|
+
Ae.methods.remove(s);
|
|
4180
4180
|
}
|
|
4181
4181
|
return (s, n) => (d(), X(ot, {
|
|
4182
4182
|
tag: "div",
|
|
@@ -4187,7 +4187,7 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4187
4187
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4188
4188
|
}, {
|
|
4189
4189
|
default: le(() => [
|
|
4190
|
-
(d(!0), u(k, null, O(lt(
|
|
4190
|
+
(d(!0), u(k, null, O(lt(Ae).state.items, (o, a) => (d(), X(Kl, {
|
|
4191
4191
|
key: o.key,
|
|
4192
4192
|
message: o.message,
|
|
4193
4193
|
type: o.type,
|
|
@@ -4267,13 +4267,13 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4267
4267
|
onConfirmDelete: _,
|
|
4268
4268
|
onCancelDelete: c
|
|
4269
4269
|
}, null, 8, ["isOpen"]),
|
|
4270
|
-
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, [
|
|
4271
4271
|
r("button", {
|
|
4272
4272
|
onClick: l,
|
|
4273
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",
|
|
4274
4274
|
type: "button"
|
|
4275
4275
|
}, Jl),
|
|
4276
|
-
|
|
4276
|
+
A(r("div", Ql, [
|
|
4277
4277
|
r("ul", ei, [
|
|
4278
4278
|
$.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ti, [
|
|
4279
4279
|
r("a", {
|
|
@@ -4373,13 +4373,13 @@ const Zu = /* @__PURE__ */ D(qo, [["render", El]]), Al = {
|
|
|
4373
4373
|
onConfirmDelete: _,
|
|
4374
4374
|
onCancelDelete: c
|
|
4375
4375
|
}, null, 8, ["isOpen"]),
|
|
4376
|
-
e.row && $.can(`delete_${e.xprops.permission}`) ?
|
|
4376
|
+
e.row && $.can(`delete_${e.xprops.permission}`) ? A((d(), u("div", oi, [
|
|
4377
4377
|
r("button", {
|
|
4378
4378
|
onClick: l,
|
|
4379
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",
|
|
4380
4380
|
type: "button"
|
|
4381
4381
|
}, ii),
|
|
4382
|
-
|
|
4382
|
+
A(r("div", di, [
|
|
4383
4383
|
r("ul", ui, [
|
|
4384
4384
|
$.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ci, [
|
|
4385
4385
|
r("a", {
|
|
@@ -4561,7 +4561,7 @@ function Si(e, t, s, n, o, a) {
|
|
|
4561
4561
|
const Ju = /* @__PURE__ */ D(vi, [["render", Si]]), Di = {
|
|
4562
4562
|
props: ["field", "row", "tdProps"]
|
|
4563
4563
|
}, Oi = { key: 0 }, Pi = ["innerHTML"];
|
|
4564
|
-
function
|
|
4564
|
+
function Ai(e, t, s, n, o, a) {
|
|
4565
4565
|
return s.row[s.field] ? (d(), u("div", Oi, [
|
|
4566
4566
|
r("div", {
|
|
4567
4567
|
class: "w-full",
|
|
@@ -4569,7 +4569,7 @@ function Ei(e, t, s, n, o, a) {
|
|
|
4569
4569
|
}, null, 8, Pi)
|
|
4570
4570
|
])) : f("", !0);
|
|
4571
4571
|
}
|
|
4572
|
-
const Qu = /* @__PURE__ */ D(Di, [["render",
|
|
4572
|
+
const Qu = /* @__PURE__ */ D(Di, [["render", Ai]]), Ei = {
|
|
4573
4573
|
props: ["field", "row", "tdProps"],
|
|
4574
4574
|
computed: {
|
|
4575
4575
|
entry() {
|
|
@@ -4595,7 +4595,7 @@ function Mi(e, t, s, n, o, a) {
|
|
|
4595
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)
|
|
4596
4596
|
]);
|
|
4597
4597
|
}
|
|
4598
|
-
const ec = /* @__PURE__ */ D(
|
|
4598
|
+
const ec = /* @__PURE__ */ D(Ei, [["render", Mi]]), Li = {
|
|
4599
4599
|
props: ["field", "row", "tdProps"]
|
|
4600
4600
|
}, Ni = { key: 0 }, Ii = { class: "m-1 d-inline-block" }, Vi = ["href", "title"], Bi = ["src", "alt", "title"];
|
|
4601
4601
|
function Gi(e, t, s, n, o, a) {
|
|
@@ -4719,35 +4719,35 @@ function dd(e, t, s, n, o, a) {
|
|
|
4719
4719
|
return d(), u("div", id, [
|
|
4720
4720
|
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
4721
4721
|
key: 0,
|
|
4722
|
-
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])
|
|
4723
4723
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4724
4724
|
a.hasLabelColor == "Dark" ? (d(), u("span", {
|
|
4725
4725
|
key: 1,
|
|
4726
|
-
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])
|
|
4727
4727
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4728
4728
|
a.hasLabelColor == "Red" ? (d(), u("span", {
|
|
4729
4729
|
key: 2,
|
|
4730
|
-
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])
|
|
4731
4731
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4732
4732
|
a.hasLabelColor == "Green" ? (d(), u("span", {
|
|
4733
4733
|
key: 3,
|
|
4734
|
-
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])
|
|
4735
4735
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4736
4736
|
a.hasLabelColor == "Yellow" ? (d(), u("span", {
|
|
4737
4737
|
key: 4,
|
|
4738
|
-
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])
|
|
4739
4739
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4740
4740
|
a.hasLabelColor == "Indigo" ? (d(), u("span", {
|
|
4741
4741
|
key: 5,
|
|
4742
|
-
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])
|
|
4743
4743
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4744
4744
|
a.hasLabelColor == "Purple" ? (d(), u("span", {
|
|
4745
4745
|
key: 6,
|
|
4746
|
-
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])
|
|
4747
4747
|
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4748
4748
|
a.hasLabelColor == "Pink" ? (d(), u("span", {
|
|
4749
4749
|
key: 7,
|
|
4750
|
-
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])
|
|
4751
4751
|
}, g(this.row[this.field]), 3)) : f("", !0)
|
|
4752
4752
|
]);
|
|
4753
4753
|
}
|
|
@@ -4837,10 +4837,10 @@ const oc = /* @__PURE__ */ D(kd, [["render", Cd]]), Sd = {
|
|
|
4837
4837
|
}, Pd = /* @__PURE__ */ r("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4838
4838
|
/* @__PURE__ */ r("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4839
4839
|
/* @__PURE__ */ r("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4840
|
-
], -1),
|
|
4840
|
+
], -1), Ad = {
|
|
4841
4841
|
key: 1,
|
|
4842
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"
|
|
4843
|
-
},
|
|
4843
|
+
}, Ed = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), jd = {
|
|
4844
4844
|
key: 2,
|
|
4845
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"
|
|
4846
4846
|
}, Td = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
@@ -4850,8 +4850,8 @@ function Md(e, t, s, n, o, a) {
|
|
|
4850
4850
|
Pd,
|
|
4851
4851
|
w(" Provisioning")
|
|
4852
4852
|
])) : f("", !0),
|
|
4853
|
-
s.row[s.field] === 2 ? (d(), u("span",
|
|
4854
|
-
|
|
4853
|
+
s.row[s.field] === 2 ? (d(), u("span", Ad, [
|
|
4854
|
+
Ed,
|
|
4855
4855
|
w(" Paused ")
|
|
4856
4856
|
])) : f("", !0),
|
|
4857
4857
|
s.row[s.field] === 1 ? (d(), u("span", jd, [
|
|
@@ -5120,11 +5120,11 @@ export {
|
|
|
5120
5120
|
xe as GlDeleteConfirmationModal,
|
|
5121
5121
|
qu as GlDropdown,
|
|
5122
5122
|
Pu as GlFilesUpload,
|
|
5123
|
-
|
|
5123
|
+
Eu as GlLanguageSelector,
|
|
5124
5124
|
Ru as GlModal,
|
|
5125
5125
|
Uu as GlMultiItemSlide,
|
|
5126
5126
|
Tu as GlMultiSelectDropdown,
|
|
5127
|
-
|
|
5127
|
+
Au as GlNotify,
|
|
5128
5128
|
Gu as GlTab,
|
|
5129
5129
|
Bu as GlTabsWrapper,
|
|
5130
5130
|
yo as GlTailwindPagination,
|
|
@@ -5134,7 +5134,7 @@ export {
|
|
|
5134
5134
|
Hu as GlTextarea,
|
|
5135
5135
|
Lu as GlTextareaTranslate,
|
|
5136
5136
|
Nu as GlTinymceTranslate,
|
|
5137
|
-
|
|
5137
|
+
Ae as GlToast,
|
|
5138
5138
|
Ku as GlToastList,
|
|
5139
5139
|
Fu as GlToggleBox
|
|
5140
5140
|
};
|