golden-logic-ui 1.0.115 → 1.0.116
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 +406 -346
- 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 Ce, watch as Y, effectScope as Qe, computed as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as r, createCommentVNode as f, createStaticVNode as Je, inject as Ce, watch as Y, effectScope as Qe, computed as L, reactive as Se, resolveComponent as X, Fragment as x, createVNode as z, normalizeClass as b, toDisplayString as g, withModifiers as N, withDirectives as O, vModelText as V, renderList as C, normalizeStyle as et, renderSlot as T, createTextVNode as v, vShow as Z, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as $, onMounted as F, vModelDynamic as tt, provide as rt, pushScopeId as st, popScopeId as at, vModelCheckbox as nt, nextTick as ot, toHandlers as ae, TransitionGroup as lt, unref as it, resolveDirective as De, markRaw as dt } from "vue";
|
|
2
2
|
const k = (e, t) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
@@ -27,7 +27,7 @@ const k = (e, t) => {
|
|
|
27
27
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
28
28
|
"aria-hidden": "true"
|
|
29
29
|
}, "", -1), mt = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, bt = /* @__PURE__ */ Je('<div class="px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6 text-gray-900" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm text-gray-500"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), pt = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
30
|
-
function
|
|
30
|
+
function _t(e, t, s, n, o, a) {
|
|
31
31
|
return s.isOpen ? (d(), u("div", ct, [
|
|
32
32
|
r("div", ft, [
|
|
33
33
|
gt,
|
|
@@ -50,8 +50,8 @@ function yt(e, t, s, n, o, a) {
|
|
|
50
50
|
])
|
|
51
51
|
])) : f("", !0);
|
|
52
52
|
}
|
|
53
|
-
const ue = /* @__PURE__ */ k(ut, [["render",
|
|
54
|
-
function
|
|
53
|
+
const ue = /* @__PURE__ */ k(ut, [["render", _t]]);
|
|
54
|
+
function yt() {
|
|
55
55
|
return Oe().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
56
56
|
}
|
|
57
57
|
function Oe() {
|
|
@@ -129,7 +129,7 @@ class Ct {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
function St(e, t) {
|
|
132
|
-
const s = e, n = Oe(), o =
|
|
132
|
+
const s = e, n = Oe(), o = yt(), a = vt && s.enableEarlyProxy;
|
|
133
133
|
if (o && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
|
|
134
134
|
o.emit(xt, e, t);
|
|
135
135
|
else {
|
|
@@ -187,7 +187,7 @@ function ce(e, t, s) {
|
|
|
187
187
|
var a = e._wrappedGetters, i = {}, l = {}, c = Qe(!0);
|
|
188
188
|
c.run(function() {
|
|
189
189
|
R(a, function(h, m) {
|
|
190
|
-
i[m] = Ot(h, e), l[m] =
|
|
190
|
+
i[m] = Ot(h, e), l[m] = L(function() {
|
|
191
191
|
return i[m]();
|
|
192
192
|
}), Object.defineProperty(e.getters, m, {
|
|
193
193
|
get: function() {
|
|
@@ -215,14 +215,14 @@ function ee(e, t, s, n, o) {
|
|
|
215
215
|
}
|
|
216
216
|
var h = n.context = Pt(e, i, s);
|
|
217
217
|
n.forEachMutation(function(m, y) {
|
|
218
|
-
var
|
|
219
|
-
Et(e,
|
|
218
|
+
var w = i + y;
|
|
219
|
+
Et(e, w, m, h);
|
|
220
220
|
}), n.forEachAction(function(m, y) {
|
|
221
|
-
var
|
|
222
|
-
jt(e,
|
|
221
|
+
var w = m.root ? y : i + y, S = m.handler || m;
|
|
222
|
+
jt(e, w, S, h);
|
|
223
223
|
}), n.forEachGetter(function(m, y) {
|
|
224
|
-
var
|
|
225
|
-
At(e,
|
|
224
|
+
var w = i + y;
|
|
225
|
+
At(e, w, m, h);
|
|
226
226
|
}), n.forEachChild(function(m, y) {
|
|
227
227
|
ee(e, t, s.concat(y), m, o);
|
|
228
228
|
});
|
|
@@ -334,7 +334,7 @@ function Q(e, t, s) {
|
|
|
334
334
|
return je(e) && e.type && (s = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && I(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: s };
|
|
335
335
|
}
|
|
336
336
|
var It = "vuex bindings", ve = "vuex:mutations", ne = "vuex:actions", H = "vuex", Mt = 0;
|
|
337
|
-
function
|
|
337
|
+
function Lt(e, t) {
|
|
338
338
|
St(
|
|
339
339
|
{
|
|
340
340
|
id: "org.vuejs.vuex",
|
|
@@ -363,10 +363,10 @@ function Nt(e, t) {
|
|
|
363
363
|
if (n.app === e && n.inspectorId === H)
|
|
364
364
|
if (n.filter) {
|
|
365
365
|
var o = [];
|
|
366
|
-
|
|
366
|
+
Ve(o, t._modules.root, n.filter, ""), n.rootNodes = o;
|
|
367
367
|
} else
|
|
368
368
|
n.rootNodes = [
|
|
369
|
-
|
|
369
|
+
Ne(t._modules.root, "")
|
|
370
370
|
];
|
|
371
371
|
}), s.on.getInspectorState(function(n) {
|
|
372
372
|
if (n.app === e && n.inspectorId === H) {
|
|
@@ -432,25 +432,25 @@ function Nt(e, t) {
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
-
var xe = 8702998,
|
|
435
|
+
var xe = 8702998, Nt = 6710886, Vt = 16777215, Me = {
|
|
436
436
|
label: "namespaced",
|
|
437
|
-
textColor:
|
|
438
|
-
backgroundColor:
|
|
437
|
+
textColor: Vt,
|
|
438
|
+
backgroundColor: Nt
|
|
439
439
|
};
|
|
440
|
-
function
|
|
440
|
+
function Le(e) {
|
|
441
441
|
return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function Ne(e, t) {
|
|
444
444
|
return {
|
|
445
445
|
id: t || "root",
|
|
446
446
|
// all modules end with a `/`, we want the last segment only
|
|
447
447
|
// cart/ -> cart
|
|
448
448
|
// nested/cart/ -> cart
|
|
449
|
-
label:
|
|
449
|
+
label: Le(t),
|
|
450
450
|
tags: e.namespaced ? [Me] : [],
|
|
451
451
|
children: Object.keys(e._children).map(
|
|
452
452
|
function(s) {
|
|
453
|
-
return
|
|
453
|
+
return Ne(
|
|
454
454
|
e._children[s],
|
|
455
455
|
t + s + "/"
|
|
456
456
|
);
|
|
@@ -458,13 +458,13 @@ function Ve(e, t) {
|
|
|
458
458
|
)
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function Ve(e, t, s, n) {
|
|
462
462
|
n.includes(s) && e.push({
|
|
463
463
|
id: n || "root",
|
|
464
464
|
label: n.endsWith("/") ? n.slice(0, n.length - 1) : n || "Root",
|
|
465
465
|
tags: t.namespaced ? [Me] : []
|
|
466
466
|
}), Object.keys(t._children).forEach(function(o) {
|
|
467
|
-
|
|
467
|
+
Ve(e, t._children[o], s, n + o + "/");
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
function Bt(e, t, s) {
|
|
@@ -482,7 +482,7 @@ function Bt(e, t, s) {
|
|
|
482
482
|
var a = Gt(t);
|
|
483
483
|
o.getters = Object.keys(a).map(function(i) {
|
|
484
484
|
return {
|
|
485
|
-
key: i.endsWith("/") ?
|
|
485
|
+
key: i.endsWith("/") ? Le(i) : i,
|
|
486
486
|
editable: !1,
|
|
487
487
|
value: ie(function() {
|
|
488
488
|
return a[i];
|
|
@@ -676,10 +676,10 @@ var j = function e(t) {
|
|
|
676
676
|
var a = t.devtools;
|
|
677
677
|
this._committing = !1, this._actions = /* @__PURE__ */ Object.create(null), this._actionSubscribers = [], this._mutations = /* @__PURE__ */ Object.create(null), this._wrappedGetters = /* @__PURE__ */ Object.create(null), this._modules = new U(t), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null), this._scope = null, this._devtools = a;
|
|
678
678
|
var i = this, l = this, c = l.dispatch, h = l.commit;
|
|
679
|
-
this.dispatch = function(
|
|
680
|
-
return c.call(i,
|
|
681
|
-
}, this.commit = function(
|
|
682
|
-
return h.call(i,
|
|
679
|
+
this.dispatch = function(w, S) {
|
|
680
|
+
return c.call(i, w, S);
|
|
681
|
+
}, this.commit = function(w, S, B) {
|
|
682
|
+
return h.call(i, w, S, B);
|
|
683
683
|
}, this.strict = o;
|
|
684
684
|
var m = this._modules.root.state;
|
|
685
685
|
ee(this, m, [], this._modules.root), ce(this, m), n.forEach(function(y) {
|
|
@@ -689,7 +689,7 @@ var j = function e(t) {
|
|
|
689
689
|
j.prototype.install = function(t, s) {
|
|
690
690
|
t.provide(s || Pe, this), t.config.globalProperties.$store = this;
|
|
691
691
|
var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
|
|
692
|
-
n &&
|
|
692
|
+
n && Lt(t, this);
|
|
693
693
|
};
|
|
694
694
|
ge.state.get = function() {
|
|
695
695
|
return this._state.data;
|
|
@@ -704,8 +704,8 @@ j.prototype.commit = function(t, s, n) {
|
|
|
704
704
|
return;
|
|
705
705
|
}
|
|
706
706
|
this._withCommit(function() {
|
|
707
|
-
m.forEach(function(
|
|
708
|
-
|
|
707
|
+
m.forEach(function(w) {
|
|
708
|
+
w(l);
|
|
709
709
|
});
|
|
710
710
|
}), this._subscribers.slice().forEach(function(y) {
|
|
711
711
|
return y(h, o.state);
|
|
@@ -732,7 +732,7 @@ j.prototype.dispatch = function(t, s) {
|
|
|
732
732
|
return m(i);
|
|
733
733
|
})) : c[0](i);
|
|
734
734
|
return new Promise(function(m, y) {
|
|
735
|
-
h.then(function(
|
|
735
|
+
h.then(function(w) {
|
|
736
736
|
try {
|
|
737
737
|
n._actionSubscribers.filter(function(S) {
|
|
738
738
|
return S.after;
|
|
@@ -742,18 +742,18 @@ j.prototype.dispatch = function(t, s) {
|
|
|
742
742
|
} catch (S) {
|
|
743
743
|
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(S));
|
|
744
744
|
}
|
|
745
|
-
m(
|
|
746
|
-
}, function(
|
|
745
|
+
m(w);
|
|
746
|
+
}, function(w) {
|
|
747
747
|
try {
|
|
748
748
|
n._actionSubscribers.filter(function(S) {
|
|
749
749
|
return S.error;
|
|
750
750
|
}).forEach(function(S) {
|
|
751
|
-
return S.error(l, n.state,
|
|
751
|
+
return S.error(l, n.state, w);
|
|
752
752
|
});
|
|
753
753
|
} catch (S) {
|
|
754
754
|
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(S));
|
|
755
755
|
}
|
|
756
|
-
y(
|
|
756
|
+
y(w);
|
|
757
757
|
});
|
|
758
758
|
});
|
|
759
759
|
};
|
|
@@ -1024,10 +1024,10 @@ const zt = {
|
|
|
1024
1024
|
}, nr = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, or = /* @__PURE__ */ r("i", { class: "text-3xl fas fa-file-alt" }, null, -1), lr = { class: "w-full ml-3" }, ir = { class: "flex items-center justify-between mb-1" }, dr = { class: "text-xs text-black dark:text-white" }, ur = { class: "text-xs text-black dark:text-white" }, cr = { class: "w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800" }, fr = { class: "overflow-x-scroll max-h-56" }, gr = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, hr = { class: "flex items-center" }, mr = /* @__PURE__ */ r("i", {
|
|
1025
1025
|
class: "text-3xl fas fa-file-alt",
|
|
1026
1026
|
"aria-hidden": "true"
|
|
1027
|
-
}, null, -1), br = { class: "flex flex-col ml-3" }, pr = { class: "text-xs" },
|
|
1027
|
+
}, null, -1), br = { class: "flex flex-col ml-3" }, pr = { class: "text-xs" }, _r = { class: "text-xs" }, yr = { class: "flex gap-2" }, vr = ["href"], xr = ["onClick"];
|
|
1028
1028
|
function wr(e, t, s, n, o, a) {
|
|
1029
1029
|
const i = X("DeleteConfirmationModal");
|
|
1030
|
-
return d(), u(
|
|
1030
|
+
return d(), u(x, null, [
|
|
1031
1031
|
z(i, {
|
|
1032
1032
|
isOpen: o.open_delete_modal,
|
|
1033
1033
|
onConfirmDelete: a.deleteAction,
|
|
@@ -1047,9 +1047,9 @@ function wr(e, t, s, n, o, a) {
|
|
|
1047
1047
|
})
|
|
1048
1048
|
}, g(s.label_name), 3),
|
|
1049
1049
|
r("div", {
|
|
1050
|
-
onDragover: t[3] || (t[3] =
|
|
1051
|
-
onDragleave: t[4] || (t[4] =
|
|
1052
|
-
onDrop: t[5] || (t[5] =
|
|
1050
|
+
onDragover: t[3] || (t[3] = N((...l) => a.onDragOver && a.onDragOver(...l), ["prevent"])),
|
|
1051
|
+
onDragleave: t[4] || (t[4] = N((...l) => a.onDragLeave && a.onDragLeave(...l), ["prevent"])),
|
|
1052
|
+
onDrop: t[5] || (t[5] = N((...l) => a.onDrop && a.onDrop(...l), ["prevent"])),
|
|
1053
1053
|
class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
|
|
1054
1054
|
}, [
|
|
1055
1055
|
r("div", Zt, [
|
|
@@ -1065,7 +1065,7 @@ function wr(e, t, s, n, o, a) {
|
|
|
1065
1065
|
name: s.field_name,
|
|
1066
1066
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => a.uploadedFileIds = l)
|
|
1067
1067
|
}, null, 8, Wt), [
|
|
1068
|
-
[
|
|
1068
|
+
[V, a.uploadedFileIds]
|
|
1069
1069
|
]),
|
|
1070
1070
|
o.isDragging ? (d(), u("div", Qt, tr)) : (d(), u("div", {
|
|
1071
1071
|
key: 0,
|
|
@@ -1077,7 +1077,7 @@ function wr(e, t, s, n, o, a) {
|
|
|
1077
1077
|
r("span", rr, g(o.error_message_data), 1),
|
|
1078
1078
|
r("small", sr, g(s.description), 1),
|
|
1079
1079
|
o.files.length > 0 ? (d(), u("section", ar, [
|
|
1080
|
-
(d(!0), u(
|
|
1080
|
+
(d(!0), u(x, null, C(o.files, (l, c) => (d(), u("li", nr, [
|
|
1081
1081
|
or,
|
|
1082
1082
|
r("div", lr, [
|
|
1083
1083
|
r("div", ir, [
|
|
@@ -1094,15 +1094,15 @@ function wr(e, t, s, n, o, a) {
|
|
|
1094
1094
|
]))), 256))
|
|
1095
1095
|
])) : f("", !0),
|
|
1096
1096
|
r("section", fr, [
|
|
1097
|
-
(d(!0), u(
|
|
1097
|
+
(d(!0), u(x, null, C(o.uploadFileList, (l, c) => (d(), u("li", gr, [
|
|
1098
1098
|
r("div", hr, [
|
|
1099
1099
|
mr,
|
|
1100
1100
|
r("div", br, [
|
|
1101
1101
|
r("span", pr, g(a.getFileName(l.file_name)), 1),
|
|
1102
|
-
r("span",
|
|
1102
|
+
r("span", _r, g(a.formatFileSize(l.size)), 1)
|
|
1103
1103
|
])
|
|
1104
1104
|
]),
|
|
1105
|
-
r("div",
|
|
1105
|
+
r("div", yr, [
|
|
1106
1106
|
r("a", {
|
|
1107
1107
|
href: l.url,
|
|
1108
1108
|
target: "_blank",
|
|
@@ -1121,7 +1121,7 @@ function wr(e, t, s, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Tu = /* @__PURE__ */ k(zt, [["render", wr]]), kr = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...qt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1213,7 +1213,7 @@ function Er(e, t, s, n, o, a) {
|
|
|
1213
1213
|
}, Pr, 2)
|
|
1214
1214
|
], 2)) : f("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const Iu = /* @__PURE__ */ k(kr, [["render", Er]]), jr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1251,7 +1251,7 @@ const xu = /* @__PURE__ */ k(kr, [["render", Er]]), jr = {
|
|
|
1251
1251
|
}, Ar = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Tr = ["name", "value", "id", "checked"], Ir = ["for"];
|
|
1252
1252
|
function Mr(e, t, s, n, o, a) {
|
|
1253
1253
|
return d(), u("ul", Ar, [
|
|
1254
|
-
(d(!0), u(
|
|
1254
|
+
(d(!0), u(x, null, C(o.locals, (i, l) => (d(), u("li", null, [
|
|
1255
1255
|
r("input", {
|
|
1256
1256
|
type: "radio",
|
|
1257
1257
|
name: s.trans_selector_name,
|
|
@@ -1272,10 +1272,10 @@ function Mr(e, t, s, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const Mu = /* @__PURE__ */ k(jr, [["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" }, Vr = { class: "font-semibold text-black dark:text-white" }, Br = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
|
-
},
|
|
1278
|
+
}, Lu = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1284,13 +1284,13 @@ const wu = /* @__PURE__ */ k(jr, [["render", Mr]]), Nr = { class: "bg-white bord
|
|
|
1284
1284
|
}
|
|
1285
1285
|
},
|
|
1286
1286
|
setup(e) {
|
|
1287
|
-
const t = e, s =
|
|
1287
|
+
const t = e, s = L(() => t.class);
|
|
1288
1288
|
return (n, o) => (d(), u("div", {
|
|
1289
1289
|
class: b(["flex flex-col gap-9", s.value])
|
|
1290
1290
|
}, [
|
|
1291
|
-
r("div",
|
|
1292
|
-
r("div",
|
|
1293
|
-
r("h3",
|
|
1291
|
+
r("div", Lr, [
|
|
1292
|
+
r("div", Nr, [
|
|
1293
|
+
r("h3", Vr, [
|
|
1294
1294
|
T(n.$slots, "header")
|
|
1295
1295
|
])
|
|
1296
1296
|
]),
|
|
@@ -1484,14 +1484,14 @@ const wu = /* @__PURE__ */ k(jr, [["render", Mr]]), Nr = { class: "bg-white bord
|
|
|
1484
1484
|
])
|
|
1485
1485
|
], -1), rs = ["id"], ss = { class: "overflow-y-auto max-h-64" }, as = ["onClick", "onMousedown", "id"];
|
|
1486
1486
|
function ns(e, t, s, n, o, a) {
|
|
1487
|
-
return d(), u(
|
|
1487
|
+
return d(), u(x, null, [
|
|
1488
1488
|
s.show ? (d(), u("div", {
|
|
1489
1489
|
key: 0,
|
|
1490
1490
|
class: b(s.field_name)
|
|
1491
1491
|
}, [
|
|
1492
1492
|
r("h3", Fr, g(s.label_name), 1),
|
|
1493
1493
|
r("p", Rr, [
|
|
1494
|
-
(d(!0), u(
|
|
1494
|
+
(d(!0), u(x, null, C(o.selected, (i, l) => (d(), u("span", Ur, g(i.name), 1))), 256))
|
|
1495
1495
|
]),
|
|
1496
1496
|
qr
|
|
1497
1497
|
], 2)) : f("", !0),
|
|
@@ -1499,7 +1499,7 @@ function ns(e, t, s, n, o, a) {
|
|
|
1499
1499
|
key: 1,
|
|
1500
1500
|
class: b(["mb-4", s.field_name])
|
|
1501
1501
|
}, [
|
|
1502
|
-
(d(!0), u(
|
|
1502
|
+
(d(!0), u(x, null, C(o.selectedIds, (i, l) => (d(), u("input", {
|
|
1503
1503
|
type: "hidden",
|
|
1504
1504
|
name: s.field_name + "[]",
|
|
1505
1505
|
key: l,
|
|
@@ -1531,13 +1531,13 @@ function ns(e, t, s, n, o, a) {
|
|
|
1531
1531
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1532
1532
|
onClick: t[2] || (t[2] = (i) => a.showOptions())
|
|
1533
1533
|
}, [
|
|
1534
|
-
(d(!0), u(
|
|
1534
|
+
(d(!0), u(x, null, C(o.selected, (i, l) => (d(), u("span", {
|
|
1535
1535
|
key: l,
|
|
1536
1536
|
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"
|
|
1537
1537
|
}, [
|
|
1538
|
-
|
|
1538
|
+
v(g(i.name) + " ", 1),
|
|
1539
1539
|
r("i", {
|
|
1540
|
-
onClick:
|
|
1540
|
+
onClick: N((c) => a.clearOption(i), ["stop"]),
|
|
1541
1541
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
1542
1542
|
}, null, 8, Yr)
|
|
1543
1543
|
]))), 128))
|
|
@@ -1562,12 +1562,12 @@ function ns(e, t, s, n, o, a) {
|
|
|
1562
1562
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
1563
1563
|
placeholder: "Search ..."
|
|
1564
1564
|
}, null, 40, rs), [
|
|
1565
|
-
[
|
|
1565
|
+
[V, o.searchFilter]
|
|
1566
1566
|
])
|
|
1567
1567
|
])
|
|
1568
1568
|
]),
|
|
1569
1569
|
r("div", ss, [
|
|
1570
|
-
(d(!0), u(
|
|
1570
|
+
(d(!0), u(x, null, C(a.filteredOptions, (i, l) => (d(), u("div", {
|
|
1571
1571
|
class: b([
|
|
1572
1572
|
"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",
|
|
1573
1573
|
l + 1 == o.count || a.isOptionSelected(i.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
@@ -1586,7 +1586,7 @@ function ns(e, t, s, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const Nu = /* @__PURE__ */ k(Gr, [["render", ns]]), os = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1667,7 +1667,7 @@ function is(e, t, s, n, o, a) {
|
|
|
1667
1667
|
}, {
|
|
1668
1668
|
default: J(() => [
|
|
1669
1669
|
ls,
|
|
1670
|
-
|
|
1670
|
+
v(" Loading... ")
|
|
1671
1671
|
]),
|
|
1672
1672
|
_: 1
|
|
1673
1673
|
}, 8, ["class"])) : (d(), K(oe(s.tag), W({
|
|
@@ -1688,7 +1688,7 @@ function is(e, t, s, n, o, a) {
|
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const Vu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold ptext-lg dark:text-white" }, us = ["name", "id"], cs = ["id"], fs = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), gs = ["for"], hs = /* @__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), ms = ["name", "id"], bs = ["required", "name", "id", "type"], ps = { class: "gl-span-form-error" }, _s = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Bu = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1757,7 +1757,7 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1757
1757
|
}).catch((l) => {
|
|
1758
1758
|
console.log(l);
|
|
1759
1759
|
});
|
|
1760
|
-
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(
|
|
1760
|
+
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(x, null, [
|
|
1761
1761
|
e.show ? (d(), u("div", {
|
|
1762
1762
|
key: 0,
|
|
1763
1763
|
class: b(e.field_name)
|
|
@@ -1772,7 +1772,7 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1772
1772
|
ref: i,
|
|
1773
1773
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
1774
1774
|
}, null, 8, us), [
|
|
1775
|
-
[
|
|
1775
|
+
[V, l.inputTranslateValue]
|
|
1776
1776
|
]),
|
|
1777
1777
|
r("p", {
|
|
1778
1778
|
id: e.field_name,
|
|
@@ -1820,11 +1820,11 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1820
1820
|
}, `
|
|
1821
1821
|
`, 42, bs),
|
|
1822
1822
|
r("span", ps, g(e.error_message), 1),
|
|
1823
|
-
r("small",
|
|
1823
|
+
r("small", _s, g(e.description), 1)
|
|
1824
1824
|
], 2))
|
|
1825
1825
|
], 64));
|
|
1826
1826
|
}
|
|
1827
|
-
},
|
|
1827
|
+
}, ys = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__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), Cs = ["name", "id"], Ss = ["name", "id", "type"], Ds = { class: "gl-span-form-error" }, Os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Gu = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1897,12 +1897,12 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1897
1897
|
}).catch((l) => {
|
|
1898
1898
|
console.log(l);
|
|
1899
1899
|
});
|
|
1900
|
-
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(
|
|
1900
|
+
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(x, null, [
|
|
1901
1901
|
e.show ? (d(), u("div", {
|
|
1902
1902
|
key: 0,
|
|
1903
1903
|
class: b(e.field_name)
|
|
1904
1904
|
}, [
|
|
1905
|
-
r("h3",
|
|
1905
|
+
r("h3", ys, g(e.label_name), 1),
|
|
1906
1906
|
O(r("input", {
|
|
1907
1907
|
type: "hidden",
|
|
1908
1908
|
"data-i18n": "true",
|
|
@@ -1912,7 +1912,7 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1912
1912
|
ref: i,
|
|
1913
1913
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
1914
1914
|
}, null, 8, vs), [
|
|
1915
|
-
[
|
|
1915
|
+
[V, l.inputTranslateValue]
|
|
1916
1916
|
]),
|
|
1917
1917
|
r("p", {
|
|
1918
1918
|
id: e.field_name,
|
|
@@ -1963,7 +1963,7 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1963
1963
|
], 2))
|
|
1964
1964
|
], 64));
|
|
1965
1965
|
}
|
|
1966
|
-
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__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), Ms = ["name", "id"],
|
|
1966
|
+
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__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), Ms = ["name", "id"], Ls = ["required", "name", "id", "type"], Ns = { class: "gl-span-form-error" }, Vs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Fu = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2032,7 +2032,7 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2032
2032
|
}).catch((l) => {
|
|
2033
2033
|
console.log(l);
|
|
2034
2034
|
});
|
|
2035
|
-
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(
|
|
2035
|
+
}), t({ focus: () => a.value.focus() }), (l, c) => (d(), u(x, null, [
|
|
2036
2036
|
e.show ? (d(), u("div", {
|
|
2037
2037
|
key: 0,
|
|
2038
2038
|
class: b(e.field_name)
|
|
@@ -2046,7 +2046,7 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2046
2046
|
ref: "input_translate_s",
|
|
2047
2047
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
2048
2048
|
}, null, 8, Es), [
|
|
2049
|
-
[
|
|
2049
|
+
[V, l.inputTranslateValue]
|
|
2050
2050
|
]),
|
|
2051
2051
|
r("p", {
|
|
2052
2052
|
id: e.field_name,
|
|
@@ -2090,13 +2090,13 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2090
2090
|
onKeydown: c[3] || (c[3] = (h) => l.$emit("keydown", h)),
|
|
2091
2091
|
ref_key: "input",
|
|
2092
2092
|
ref: a
|
|
2093
|
-
}, null, 42,
|
|
2094
|
-
r("span",
|
|
2095
|
-
r("small",
|
|
2093
|
+
}, null, 42, Ls),
|
|
2094
|
+
r("span", Ns, g(e.error_message), 1),
|
|
2095
|
+
r("small", Vs, g(e.description), 1)
|
|
2096
2096
|
], 2))
|
|
2097
2097
|
], 64));
|
|
2098
2098
|
}
|
|
2099
|
-
}, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], qs = { class: "gl-span-form-error" }, Hs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2099
|
+
}, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], qs = { class: "gl-span-form-error" }, Hs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ru = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2146,7 +2146,7 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2146
2146
|
F(() => {
|
|
2147
2147
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
|
|
2148
2148
|
});
|
|
2149
|
-
const i =
|
|
2149
|
+
const i = L({
|
|
2150
2150
|
get() {
|
|
2151
2151
|
return n.modelValue;
|
|
2152
2152
|
},
|
|
@@ -2154,7 +2154,7 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2154
2154
|
o("update:modelValue", l);
|
|
2155
2155
|
}
|
|
2156
2156
|
});
|
|
2157
|
-
return t({ focus: () => a.value.focus() }), (l, c) => (d(), u(
|
|
2157
|
+
return t({ focus: () => a.value.focus() }), (l, c) => (d(), u(x, null, [
|
|
2158
2158
|
e.show ? (d(), u("div", {
|
|
2159
2159
|
key: 0,
|
|
2160
2160
|
class: b(e.field_name)
|
|
@@ -2207,11 +2207,11 @@ const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2207
2207
|
}
|
|
2208
2208
|
}, Zs = { class: "flex flex-wrap" }, Ks = { class: "w-full" }, Ws = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, Ys = ["onClick"], Xs = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, Js = { class: "flex-auto px-4 py-5" }, Qs = { class: "tab-content tab-space" };
|
|
2209
2209
|
function ea(e, t, s, n, o, a) {
|
|
2210
|
-
return d(), u(
|
|
2210
|
+
return d(), u(x, null, [
|
|
2211
2211
|
r("div", Zs, [
|
|
2212
2212
|
r("div", Ks, [
|
|
2213
2213
|
r("ul", Ws, [
|
|
2214
|
-
(d(!0), u(
|
|
2214
|
+
(d(!0), u(x, null, C(n.tabs, (i) => (d(), u("li", {
|
|
2215
2215
|
key: i.title,
|
|
2216
2216
|
onClick: (l) => n.selectedTitle = i.title,
|
|
2217
2217
|
class: "flex-auto -mb-px text-center"
|
|
@@ -2222,7 +2222,7 @@ function ea(e, t, s, n, o, a) {
|
|
|
2222
2222
|
r("i", {
|
|
2223
2223
|
class: b([i.icon, "mr-1 text-base"])
|
|
2224
2224
|
}, null, 2),
|
|
2225
|
-
|
|
2225
|
+
v(" " + g(i.title), 1)
|
|
2226
2226
|
], 2)
|
|
2227
2227
|
], 8, Ys))), 128))
|
|
2228
2228
|
])
|
|
@@ -2237,7 +2237,7 @@ function ea(e, t, s, n, o, a) {
|
|
|
2237
2237
|
])
|
|
2238
2238
|
], 64);
|
|
2239
2239
|
}
|
|
2240
|
-
const
|
|
2240
|
+
const Uu = /* @__PURE__ */ k(zs, [["render", ea]]), ta = {
|
|
2241
2241
|
props: ["title"],
|
|
2242
2242
|
setup() {
|
|
2243
2243
|
return {
|
|
@@ -2253,7 +2253,7 @@ function sa(e, t, s, n, o, a) {
|
|
|
2253
2253
|
T(e.$slots, "default")
|
|
2254
2254
|
])) : f("", !0);
|
|
2255
2255
|
}
|
|
2256
|
-
const
|
|
2256
|
+
const qu = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
|
|
2257
2257
|
props: {
|
|
2258
2258
|
elements_to_show_prop: {
|
|
2259
2259
|
type: Number,
|
|
@@ -2391,12 +2391,12 @@ const ju = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
|
|
|
2391
2391
|
viewBox: "0 0 24 24",
|
|
2392
2392
|
stroke: "currentColor",
|
|
2393
2393
|
"stroke-width": "2"
|
|
2394
|
-
},
|
|
2394
|
+
}, _a = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2395
2395
|
"stroke-linecap": "round",
|
|
2396
2396
|
"stroke-linejoin": "round",
|
|
2397
2397
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2398
|
-
}, null, -1)),
|
|
2399
|
-
|
|
2398
|
+
}, null, -1)), ya = [
|
|
2399
|
+
_a
|
|
2400
2400
|
], va = {
|
|
2401
2401
|
key: 1,
|
|
2402
2402
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2444,12 +2444,12 @@ const ju = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
|
|
|
2444
2444
|
], Ta = {
|
|
2445
2445
|
key: 1,
|
|
2446
2446
|
class: "flex justify-between pl-5 pr-5"
|
|
2447
|
-
}, Ia = ["onClick"], Ma = /* @__PURE__ */ P(() => /* @__PURE__ */ r("span", null, null, -1)),
|
|
2447
|
+
}, Ia = ["onClick"], Ma = /* @__PURE__ */ P(() => /* @__PURE__ */ r("span", null, null, -1)), La = [
|
|
2448
2448
|
Ma
|
|
2449
|
-
],
|
|
2449
|
+
], Na = {
|
|
2450
2450
|
key: 0,
|
|
2451
2451
|
class: "flex"
|
|
2452
|
-
},
|
|
2452
|
+
}, Va = { class: "flex items-center" }, Ba = { class: "w-full" }, Ga = {
|
|
2453
2453
|
key: 0,
|
|
2454
2454
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2455
2455
|
class: "w-6 h-6",
|
|
@@ -2569,9 +2569,9 @@ function dn(e, t, s, n, o, a) {
|
|
|
2569
2569
|
r("div", ba, [
|
|
2570
2570
|
r("button", {
|
|
2571
2571
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2572
|
-
onClick: t[1] || (t[1] =
|
|
2572
|
+
onClick: t[1] || (t[1] = N((i) => a.prev(), ["stop"]))
|
|
2573
2573
|
}, [
|
|
2574
|
-
s.direction_property == "ltr" ? (d(), u("svg", pa,
|
|
2574
|
+
s.direction_property == "ltr" ? (d(), u("svg", pa, ya)) : f("", !0),
|
|
2575
2575
|
s.direction_property == "rtl" ? (d(), u("svg", va, wa)) : f("", !0)
|
|
2576
2576
|
])
|
|
2577
2577
|
])
|
|
@@ -2584,7 +2584,7 @@ function dn(e, t, s, n, o, a) {
|
|
|
2584
2584
|
r("div", ka, [
|
|
2585
2585
|
r("button", {
|
|
2586
2586
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2587
|
-
onClick: t[2] || (t[2] =
|
|
2587
|
+
onClick: t[2] || (t[2] = N((i) => a.next(), ["stop"]))
|
|
2588
2588
|
}, [
|
|
2589
2589
|
s.direction_property == "ltr" ? (d(), u("svg", $a, Sa)) : f("", !0),
|
|
2590
2590
|
s.direction_property == "rtl" ? (d(), u("svg", Da, Pa)) : f("", !0)
|
|
@@ -2596,7 +2596,7 @@ function dn(e, t, s, n, o, a) {
|
|
|
2596
2596
|
key: 0,
|
|
2597
2597
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2598
2598
|
}, [
|
|
2599
|
-
(d(!0), u(
|
|
2599
|
+
(d(!0), u(x, null, C(e.dotsNum, (i) => (d(), u("button", {
|
|
2600
2600
|
role: "button",
|
|
2601
2601
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2602
2602
|
key: i,
|
|
@@ -2607,15 +2607,15 @@ function dn(e, t, s, n, o, a) {
|
|
|
2607
2607
|
r("div", {
|
|
2608
2608
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2609
2609
|
}, [
|
|
2610
|
-
(d(!0), u(
|
|
2610
|
+
(d(!0), u(x, null, C(e.dotsNum, (i) => (d(), u("button", {
|
|
2611
2611
|
role: "button",
|
|
2612
2612
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2613
2613
|
key: i,
|
|
2614
2614
|
onClick: (l) => a.setDot(i)
|
|
2615
|
-
},
|
|
2615
|
+
}, La, 10, Ia))), 128))
|
|
2616
2616
|
], 2),
|
|
2617
|
-
e.dotsNum > 0 ? (d(), u("div",
|
|
2618
|
-
r("div",
|
|
2617
|
+
e.dotsNum > 0 ? (d(), u("div", Na, [
|
|
2618
|
+
r("div", Va, [
|
|
2619
2619
|
r("div", Ba, [
|
|
2620
2620
|
r("button", {
|
|
2621
2621
|
class: b(["p-3 rounded-full arrow_button_styles", s.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
@@ -2654,7 +2654,7 @@ function dn(e, t, s, n, o, a) {
|
|
|
2654
2654
|
], 10, na)
|
|
2655
2655
|
]);
|
|
2656
2656
|
}
|
|
2657
|
-
const
|
|
2657
|
+
const Hu = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
|
|
2658
2658
|
class: "fixed left-0 top-13 z-[1055] h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80",
|
|
2659
2659
|
tabindex: "-1",
|
|
2660
2660
|
"aria-hidden": "true"
|
|
@@ -2674,7 +2674,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2674
2674
|
])
|
|
2675
2675
|
], -1), mn = [
|
|
2676
2676
|
hn
|
|
2677
|
-
], bn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" },
|
|
2677
|
+
], bn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, zu = {
|
|
2678
2678
|
__name: "GlModal",
|
|
2679
2679
|
props: {
|
|
2680
2680
|
is_open: {
|
|
@@ -2742,10 +2742,10 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2742
2742
|
[Z, e.is_open]
|
|
2743
2743
|
]);
|
|
2744
2744
|
}
|
|
2745
|
-
}, pn = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" },
|
|
2745
|
+
}, pn = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, _n = { class: "relative inline-flex items-center cursor-pointer" }, yn = ["name", "id", "checked"], vn = /* @__PURE__ */ r("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), xn = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), wn = {
|
|
2746
2746
|
key: 0,
|
|
2747
2747
|
class: "flex justify-between items-center"
|
|
2748
|
-
}, kn = { class: "gl-label-form" }, $n = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, Cn = { class: "relative inline-flex items-center cursor-pointer" }, Sn = ["name", "id"], Dn = /* @__PURE__ */ r("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), On = { class: "gl-span-form-error" }, Pn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2748
|
+
}, kn = { class: "gl-label-form" }, $n = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, Cn = { class: "relative inline-flex items-center cursor-pointer" }, Sn = ["name", "id"], Dn = /* @__PURE__ */ r("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), On = { class: "gl-span-form-error" }, Pn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Zu = {
|
|
2749
2749
|
__name: "GlToggleBox",
|
|
2750
2750
|
props: {
|
|
2751
2751
|
is_required: {
|
|
@@ -2791,7 +2791,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2791
2791
|
},
|
|
2792
2792
|
emits: ["update:modelValue"],
|
|
2793
2793
|
setup(e, { emit: t }) {
|
|
2794
|
-
const s = e, n = t, o = $(null), a =
|
|
2794
|
+
const s = e, n = t, o = $(null), a = L({
|
|
2795
2795
|
get() {
|
|
2796
2796
|
return s.modelValue;
|
|
2797
2797
|
},
|
|
@@ -2799,15 +2799,15 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2799
2799
|
n("update:modelValue", i);
|
|
2800
2800
|
}
|
|
2801
2801
|
});
|
|
2802
|
-
return (i, l) => (d(), u(
|
|
2802
|
+
return (i, l) => (d(), u(x, null, [
|
|
2803
2803
|
e.show ? (d(), u("div", {
|
|
2804
2804
|
key: 0,
|
|
2805
2805
|
class: b(e.field_name)
|
|
2806
2806
|
}, [
|
|
2807
2807
|
r("div", null, [
|
|
2808
2808
|
r("li", pn, [
|
|
2809
|
-
|
|
2810
|
-
r("label",
|
|
2809
|
+
v(g(e.label_name) + " ", 1),
|
|
2810
|
+
r("label", _n, [
|
|
2811
2811
|
r("input", {
|
|
2812
2812
|
type: "checkbox",
|
|
2813
2813
|
class: "sr-only peer",
|
|
@@ -2819,7 +2819,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2819
2819
|
ref_key: "input",
|
|
2820
2820
|
ref: o,
|
|
2821
2821
|
disabled: ""
|
|
2822
|
-
}, null, 8,
|
|
2822
|
+
}, null, 8, yn),
|
|
2823
2823
|
vn
|
|
2824
2824
|
])
|
|
2825
2825
|
])
|
|
@@ -2834,7 +2834,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2834
2834
|
r("label", kn, g(e.label_name), 1)
|
|
2835
2835
|
])) : f("", !0),
|
|
2836
2836
|
r("li", $n, [
|
|
2837
|
-
|
|
2837
|
+
v(g(e.label_name) + " ", 1),
|
|
2838
2838
|
r("label", Cn, [
|
|
2839
2839
|
O(r("input", {
|
|
2840
2840
|
type: "checkbox",
|
|
@@ -2860,7 +2860,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2860
2860
|
}, En = { class: "font-bold ptext-lg dark:text-white" }, jn = { class: "mt-3 mb-4" }, An = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, Tn = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), In = ["name", "id", "value"], Mn = {
|
|
2861
2861
|
key: 0,
|
|
2862
2862
|
class: "dropdown"
|
|
2863
|
-
},
|
|
2863
|
+
}, Ln = { class: "focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Nn = { class: "relative showOptions" }, Vn = ["value", "placeholder"], Bn = { 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]" }, Gn = { class: "p-1" }, Fn = /* @__PURE__ */ r("label", {
|
|
2864
2864
|
for: "default-search",
|
|
2865
2865
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2866
2866
|
}, "Search", -1), Rn = { class: "relative" }, Un = /* @__PURE__ */ r("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
@@ -2894,7 +2894,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2894
2894
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2895
2895
|
}, null, -1), Yn = [
|
|
2896
2896
|
Wn
|
|
2897
|
-
], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Jn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2897
|
+
], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Jn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ku = {
|
|
2898
2898
|
__name: "GlDropdown",
|
|
2899
2899
|
props: {
|
|
2900
2900
|
modelValue: {
|
|
@@ -2962,7 +2962,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2962
2962
|
p.key === "Enter" && p.target.form && p.preventDefault();
|
|
2963
2963
|
}));
|
|
2964
2964
|
});
|
|
2965
|
-
const m =
|
|
2965
|
+
const m = L(() => Ke()), y = L(() => We()), w = L(() => {
|
|
2966
2966
|
const p = [], D = new RegExp(c.value, "ig");
|
|
2967
2967
|
for (const E of m.value) {
|
|
2968
2968
|
const G = String(E.name);
|
|
@@ -3008,7 +3008,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3008
3008
|
E && E.click();
|
|
3009
3009
|
}
|
|
3010
3010
|
function Ze(p) {
|
|
3011
|
-
p === "ArrowDown" && i.value <
|
|
3011
|
+
p === "ArrowDown" && i.value < w.value.length && (i.value++, me(i.value)), p === "ArrowUp" && i.value > 1 && (i.value--, me(i.value)), p === "Enter" && ze(i.value);
|
|
3012
3012
|
}
|
|
3013
3013
|
function Ke() {
|
|
3014
3014
|
return s.options.map((p, D) => typeof p == "object" ? p : { id: p, name: p });
|
|
@@ -3045,12 +3045,12 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3045
3045
|
a.value.id || (a.value = {}, c.value = ""), n("selected", a.value), l.value = !1;
|
|
3046
3046
|
}
|
|
3047
3047
|
return Y(c, () => {
|
|
3048
|
-
|
|
3048
|
+
w.value.length === 0 && (a.value = {});
|
|
3049
3049
|
}), Y(a, (p) => {
|
|
3050
3050
|
te(p) && n("update:modelValue", p.id);
|
|
3051
3051
|
}), (p, D) => {
|
|
3052
|
-
var E, G,
|
|
3053
|
-
return d(), u(
|
|
3052
|
+
var E, G, _e;
|
|
3053
|
+
return d(), u(x, null, [
|
|
3054
3054
|
e.show ? (d(), u("div", {
|
|
3055
3055
|
key: 0,
|
|
3056
3056
|
class: b(e.field_name)
|
|
@@ -3080,8 +3080,8 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3080
3080
|
required: e.is_required
|
|
3081
3081
|
})
|
|
3082
3082
|
}, g(e.label_name), 3)) : f("", !0),
|
|
3083
|
-
r("div",
|
|
3084
|
-
r("div",
|
|
3083
|
+
r("div", Ln, [
|
|
3084
|
+
r("div", Nn, [
|
|
3085
3085
|
r("input", {
|
|
3086
3086
|
class: b([{
|
|
3087
3087
|
"gl-input-form": e.error_message == "",
|
|
@@ -3089,13 +3089,13 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3089
3089
|
}, "pl-8 pr-2 showOptions"]),
|
|
3090
3090
|
ref: e.field_name,
|
|
3091
3091
|
onClick: D[0] || (D[0] = (A) => re()),
|
|
3092
|
-
value: (
|
|
3092
|
+
value: (_e = y.value) == null ? void 0 : _e.name,
|
|
3093
3093
|
placeholder: e.placeholder,
|
|
3094
3094
|
autocomplete: "off",
|
|
3095
3095
|
readonly: ""
|
|
3096
|
-
}, null, 10,
|
|
3096
|
+
}, null, 10, Vn),
|
|
3097
3097
|
O(r("i", {
|
|
3098
|
-
onClick: D[1] || (D[1] =
|
|
3098
|
+
onClick: D[1] || (D[1] = N((A) => Ye(), ["stop"])),
|
|
3099
3099
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3100
3100
|
style: { top: "13px" }
|
|
3101
3101
|
}, null, 512), [
|
|
@@ -3123,13 +3123,13 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3123
3123
|
class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",
|
|
3124
3124
|
placeholder: "Search ..."
|
|
3125
3125
|
}, null, 40, qn), [
|
|
3126
|
-
[
|
|
3126
|
+
[V, c.value]
|
|
3127
3127
|
])
|
|
3128
3128
|
])
|
|
3129
3129
|
]),
|
|
3130
3130
|
r("div", Hn, [
|
|
3131
|
-
(d(!0), u(
|
|
3132
|
-
var
|
|
3131
|
+
(d(!0), u(x, null, C(w.value, (A, se) => {
|
|
3132
|
+
var ye;
|
|
3133
3133
|
return d(), u("div", {
|
|
3134
3134
|
class: b(["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", se + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
3135
3135
|
onClick: (Xe) => be(A),
|
|
@@ -3138,7 +3138,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3138
3138
|
id: `${se + 1}${h.value}`
|
|
3139
3139
|
}, [
|
|
3140
3140
|
r("div", Zn, [
|
|
3141
|
-
((
|
|
3141
|
+
((ye = y.value) == null ? void 0 : ye.id) === A.id ? (d(), u("svg", Kn, Yn)) : f("", !0),
|
|
3142
3142
|
r("span", null, g(A.name || A.id || "-"), 1)
|
|
3143
3143
|
])
|
|
3144
3144
|
], 42, zn);
|
|
@@ -3155,7 +3155,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3155
3155
|
], 64);
|
|
3156
3156
|
};
|
|
3157
3157
|
}
|
|
3158
|
-
}, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ro = ["for"], so = ["required", "name", "id", "type", "placeholder"], ao = { class: "gl-span-form-error" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3158
|
+
}, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ro = ["for"], so = ["required", "name", "id", "type", "placeholder"], ao = { class: "gl-span-form-error" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Wu = {
|
|
3159
3159
|
__name: "GlTextarea",
|
|
3160
3160
|
props: {
|
|
3161
3161
|
is_required: {
|
|
@@ -3205,7 +3205,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3205
3205
|
F(() => {
|
|
3206
3206
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
|
|
3207
3207
|
});
|
|
3208
|
-
const i =
|
|
3208
|
+
const i = L({
|
|
3209
3209
|
get() {
|
|
3210
3210
|
return n.modelValue;
|
|
3211
3211
|
},
|
|
@@ -3213,7 +3213,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3213
3213
|
o("update:modelValue", l);
|
|
3214
3214
|
}
|
|
3215
3215
|
});
|
|
3216
|
-
return t({ focus: () => a.value.focus() }), (l, c) => (d(), u(
|
|
3216
|
+
return t({ focus: () => a.value.focus() }), (l, c) => (d(), u(x, null, [
|
|
3217
3217
|
e.show ? (d(), u("div", {
|
|
3218
3218
|
key: 0,
|
|
3219
3219
|
class: b(e.field_name)
|
|
@@ -3253,7 +3253,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3253
3253
|
rows: "4",
|
|
3254
3254
|
placeholder: e.placeholder
|
|
3255
3255
|
}, null, 42, so), [
|
|
3256
|
-
[
|
|
3256
|
+
[V, i.value]
|
|
3257
3257
|
]),
|
|
3258
3258
|
r("span", ao, g(e.error_message), 1),
|
|
3259
3259
|
r("small", no, g(e.description), 1)
|
|
@@ -3423,7 +3423,7 @@ const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3423
3423
|
"stroke-width": "2",
|
|
3424
3424
|
d: "M5 1 1 5l4 4"
|
|
3425
3425
|
})
|
|
3426
|
-
], -1), po = ["aria-current"],
|
|
3426
|
+
], -1), po = ["aria-current"], _o = ["tabindex"], yo = /* @__PURE__ */ r("span", { class: "sr-only" }, "Next", -1), vo = /* @__PURE__ */ r("svg", {
|
|
3427
3427
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3428
3428
|
"aria-hidden": "true",
|
|
3429
3429
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3448,13 +3448,13 @@ function xo(e, t, s, n, o, a) {
|
|
|
3448
3448
|
default: J((l) => [
|
|
3449
3449
|
r("div", io, [
|
|
3450
3450
|
l.computed.total > l.computed.perPage ? (d(), u("span", uo, [
|
|
3451
|
-
|
|
3451
|
+
v(" Showing "),
|
|
3452
3452
|
r("span", co, g(l.computed.from), 1),
|
|
3453
|
-
|
|
3453
|
+
v(" to "),
|
|
3454
3454
|
r("span", fo, g(l.computed.to), 1),
|
|
3455
|
-
|
|
3455
|
+
v(" of "),
|
|
3456
3456
|
r("span", go, g(l.computed.total), 1),
|
|
3457
|
-
|
|
3457
|
+
v(" Entries ")
|
|
3458
3458
|
])) : f("", !0),
|
|
3459
3459
|
l.computed.total > l.computed.perPage ? (d(), u("ul", W({ key: 1 }, e.$attrs, {
|
|
3460
3460
|
class: ["flex items-center h-8 -space-x-px text-sm", {
|
|
@@ -3480,7 +3480,7 @@ function xo(e, t, s, n, o, a) {
|
|
|
3480
3480
|
])
|
|
3481
3481
|
], 16, ho)
|
|
3482
3482
|
], 2)) : f("", !0),
|
|
3483
|
-
(d(!0), u(
|
|
3483
|
+
(d(!0), u(x, null, C(l.computed.pageRange, (c, h) => (d(), u("li", {
|
|
3484
3484
|
class: b(["", { active: c == l.computed.currentPage }]),
|
|
3485
3485
|
key: h
|
|
3486
3486
|
}, [
|
|
@@ -3503,10 +3503,10 @@ function xo(e, t, s, n, o, a) {
|
|
|
3503
3503
|
tabindex: !l.computed.nextPageUrl && -1
|
|
3504
3504
|
}, ae(l.nextButtonEvents, !0)), [
|
|
3505
3505
|
T(e.$slots, "next-nav", {}, () => [
|
|
3506
|
-
|
|
3506
|
+
yo,
|
|
3507
3507
|
vo
|
|
3508
3508
|
])
|
|
3509
|
-
], 16,
|
|
3509
|
+
], 16, _o)
|
|
3510
3510
|
], 2)) : f("", !0)
|
|
3511
3511
|
], 16)) : f("", !0)
|
|
3512
3512
|
])
|
|
@@ -3611,10 +3611,10 @@ const wo = /* @__PURE__ */ k(lo, [["render", xo]]), ko = {
|
|
|
3611
3611
|
"clip-rule": "evenodd"
|
|
3612
3612
|
})
|
|
3613
3613
|
])
|
|
3614
|
-
], -1), To = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Io = { 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" }, Mo = { 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" },
|
|
3614
|
+
], -1), To = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Io = { 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" }, Mo = { 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" }, Lo = ["onClick"], No = {
|
|
3615
3615
|
key: 0,
|
|
3616
3616
|
class: "ml-2"
|
|
3617
|
-
},
|
|
3617
|
+
}, Vo = {
|
|
3618
3618
|
key: 0,
|
|
3619
3619
|
class: "fa fa-arrow-up"
|
|
3620
3620
|
}, Bo = {
|
|
@@ -3695,7 +3695,7 @@ function Zo(e, t, s, n, o, a) {
|
|
|
3695
3695
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
3696
3696
|
placeholder: "Search ..."
|
|
3697
3697
|
}, null, 544), [
|
|
3698
|
-
[
|
|
3698
|
+
[V, o.search]
|
|
3699
3699
|
])
|
|
3700
3700
|
])
|
|
3701
3701
|
]),
|
|
@@ -3703,16 +3703,16 @@ function Zo(e, t, s, n, o, a) {
|
|
|
3703
3703
|
r("table", Io, [
|
|
3704
3704
|
r("thead", Mo, [
|
|
3705
3705
|
r("tr", null, [
|
|
3706
|
-
(d(!0), u(
|
|
3706
|
+
(d(!0), u(x, null, C(s.columns, (c, h) => (d(), u("th", {
|
|
3707
3707
|
key: h,
|
|
3708
3708
|
onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
|
|
3709
3709
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3710
3710
|
}, [
|
|
3711
|
-
|
|
3712
|
-
o.sortField === c.field_name ? (d(), u("span",
|
|
3713
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
3711
|
+
v(g(c.field_label) + " ", 1),
|
|
3712
|
+
o.sortField === c.field_name ? (d(), u("span", No, [
|
|
3713
|
+
o.sortOrder === "asc" ? (d(), u("i", Vo)) : (d(), u("i", Bo))
|
|
3714
3714
|
])) : f("", !0)
|
|
3715
|
-
], 8,
|
|
3715
|
+
], 8, Lo))), 128))
|
|
3716
3716
|
])
|
|
3717
3717
|
]),
|
|
3718
3718
|
r("tbody", null, [
|
|
@@ -3721,11 +3721,11 @@ function Zo(e, t, s, n, o, a) {
|
|
|
3721
3721
|
colspan: s.columns.length
|
|
3722
3722
|
}, Uo, 8, Fo)
|
|
3723
3723
|
])) : f("", !0),
|
|
3724
|
-
o.isLoading ? f("", !0) : (d(!0), u(
|
|
3724
|
+
o.isLoading ? f("", !0) : (d(!0), u(x, { key: 1 }, C(o.itemLists.data, (c, h) => (d(), u("tr", {
|
|
3725
3725
|
key: h,
|
|
3726
3726
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
3727
3727
|
}, [
|
|
3728
|
-
(d(!0), u(
|
|
3728
|
+
(d(!0), u(x, null, C(s.columns, (m, y) => (d(), u("td", {
|
|
3729
3729
|
key: y,
|
|
3730
3730
|
"data-label": m.field_label,
|
|
3731
3731
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
|
|
@@ -3737,10 +3737,10 @@ function Zo(e, t, s, n, o, a) {
|
|
|
3737
3737
|
field: m.field_name,
|
|
3738
3738
|
xprops: s.xprops,
|
|
3739
3739
|
tdProps: m.tdProps,
|
|
3740
|
-
onDeleteAction: t[3] || (t[3] = (
|
|
3741
|
-
onEditAction: (
|
|
3742
|
-
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(
|
|
3743
|
-
|
|
3740
|
+
onDeleteAction: t[3] || (t[3] = (w) => a.GetItemLists()),
|
|
3741
|
+
onEditAction: (w) => a.editAction(c)
|
|
3742
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(x, { key: 1 }, [
|
|
3743
|
+
v(g(c[m.field_name]), 1)
|
|
3744
3744
|
], 64))
|
|
3745
3745
|
])
|
|
3746
3746
|
], 8, qo))), 128))
|
|
@@ -3760,7 +3760,7 @@ function Zo(e, t, s, n, o, a) {
|
|
|
3760
3760
|
])
|
|
3761
3761
|
]);
|
|
3762
3762
|
}
|
|
3763
|
-
const
|
|
3763
|
+
const Yu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
|
|
3764
3764
|
components: {},
|
|
3765
3765
|
props: {
|
|
3766
3766
|
data: Array,
|
|
@@ -3869,7 +3869,7 @@ const Vu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
|
|
|
3869
3869
|
}, cl = ["data-label"], fl = ["innerHTML"], gl = {
|
|
3870
3870
|
key: 0,
|
|
3871
3871
|
class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"
|
|
3872
|
-
}, hl = { class: "flex justify-between flex-1 sm:hidden" }, ml = ["disabled"], bl = ["disabled"], pl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" },
|
|
3872
|
+
}, hl = { class: "flex justify-between flex-1 sm:hidden" }, ml = ["disabled"], bl = ["disabled"], pl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, _l = { class: "text-sm text-gray-700 dark:text-gray-400" }, yl = { class: "font-medium" }, vl = { class: "font-medium" }, xl = { class: "font-medium" }, wl = { "aria-label": "Page navigation" }, kl = { class: "flex items-center h-8 -space-x-px text-sm" }, $l = ["disabled"], Cl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Previous", -1), Sl = /* @__PURE__ */ r("svg", {
|
|
3873
3873
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3874
3874
|
"aria-hidden": "true",
|
|
3875
3875
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3935,7 +3935,7 @@ function Il(e, t, s, n, o, a) {
|
|
|
3935
3935
|
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",
|
|
3936
3936
|
placeholder: "Search ..."
|
|
3937
3937
|
}, null, 512), [
|
|
3938
|
-
[
|
|
3938
|
+
[V, o.search]
|
|
3939
3939
|
])
|
|
3940
3940
|
])
|
|
3941
3941
|
]),
|
|
@@ -3943,12 +3943,12 @@ function Il(e, t, s, n, o, a) {
|
|
|
3943
3943
|
r("table", nl, [
|
|
3944
3944
|
r("thead", ol, [
|
|
3945
3945
|
r("tr", null, [
|
|
3946
|
-
(d(!0), u(
|
|
3946
|
+
(d(!0), u(x, null, C(s.columns, (l, c) => (d(), u("th", {
|
|
3947
3947
|
key: c,
|
|
3948
3948
|
onClick: (h) => a.sort(l),
|
|
3949
3949
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3950
3950
|
}, [
|
|
3951
|
-
|
|
3951
|
+
v(g(l) + " ", 1),
|
|
3952
3952
|
o.sortKey === l ? (d(), u("span", il, [
|
|
3953
3953
|
o.sortOrder === "asc" ? (d(), u("i", dl)) : (d(), u("i", ul))
|
|
3954
3954
|
])) : f("", !0)
|
|
@@ -3956,11 +3956,11 @@ function Il(e, t, s, n, o, a) {
|
|
|
3956
3956
|
])
|
|
3957
3957
|
]),
|
|
3958
3958
|
r("tbody", null, [
|
|
3959
|
-
(d(!0), u(
|
|
3959
|
+
(d(!0), u(x, null, C(a.paginatedData, (l, c) => (d(), u("tr", {
|
|
3960
3960
|
key: c,
|
|
3961
3961
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
3962
3962
|
}, [
|
|
3963
|
-
(d(!0), u(
|
|
3963
|
+
(d(!0), u(x, null, C(s.columns, (h, m) => (d(), u("td", {
|
|
3964
3964
|
key: m,
|
|
3965
3965
|
"data-label": h,
|
|
3966
3966
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
|
|
@@ -3991,14 +3991,14 @@ function Il(e, t, s, n, o, a) {
|
|
|
3991
3991
|
]),
|
|
3992
3992
|
r("div", pl, [
|
|
3993
3993
|
r("div", null, [
|
|
3994
|
-
r("p",
|
|
3995
|
-
|
|
3996
|
-
r("span",
|
|
3997
|
-
|
|
3994
|
+
r("p", _l, [
|
|
3995
|
+
v(" Showing "),
|
|
3996
|
+
r("span", yl, g(a.firstItemIndex), 1),
|
|
3997
|
+
v(" to "),
|
|
3998
3998
|
r("span", vl, g(a.lastItemIndex), 1),
|
|
3999
|
-
|
|
3999
|
+
v(" of "),
|
|
4000
4000
|
r("span", xl, g(a.filteredData.length), 1),
|
|
4001
|
-
|
|
4001
|
+
v(" entries ")
|
|
4002
4002
|
])
|
|
4003
4003
|
]),
|
|
4004
4004
|
r("div", null, [
|
|
@@ -4012,7 +4012,7 @@ function Il(e, t, s, n, o, a) {
|
|
|
4012
4012
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
4013
4013
|
}, Dl, 8, $l)
|
|
4014
4014
|
]),
|
|
4015
|
-
(d(!0), u(
|
|
4015
|
+
(d(!0), u(x, null, C(a.displayedPageNumbers, (l) => (d(), u(x, { key: l }, [
|
|
4016
4016
|
r("li", null, [
|
|
4017
4017
|
o.currentPage !== l ? (d(), u("a", {
|
|
4018
4018
|
key: 0,
|
|
@@ -4046,13 +4046,13 @@ function Il(e, t, s, n, o, a) {
|
|
|
4046
4046
|
])) : f("", !0)
|
|
4047
4047
|
]);
|
|
4048
4048
|
}
|
|
4049
|
-
const
|
|
4049
|
+
const Xu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
4050
4050
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4051
4051
|
role: "alert"
|
|
4052
|
-
},
|
|
4052
|
+
}, Ll = {
|
|
4053
4053
|
key: 0,
|
|
4054
4054
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"
|
|
4055
|
-
},
|
|
4055
|
+
}, Nl = /* @__PURE__ */ r("svg", {
|
|
4056
4056
|
class: "w-5 h-5",
|
|
4057
4057
|
"aria-hidden": "true",
|
|
4058
4058
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4060,9 +4060,9 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4060
4060
|
viewBox: "0 0 20 20"
|
|
4061
4061
|
}, [
|
|
4062
4062
|
/* @__PURE__ */ r("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z" })
|
|
4063
|
-
], -1),
|
|
4064
|
-
|
|
4065
|
-
|
|
4063
|
+
], -1), Vl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Check icon", -1), Bl = [
|
|
4064
|
+
Nl,
|
|
4065
|
+
Vl
|
|
4066
4066
|
], Gl = {
|
|
4067
4067
|
key: 1,
|
|
4068
4068
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"
|
|
@@ -4127,7 +4127,7 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4127
4127
|
});
|
|
4128
4128
|
const n = t;
|
|
4129
4129
|
return (o, a) => (d(), u("div", Ml, [
|
|
4130
|
-
s.type === "success" ? (d(), u("div",
|
|
4130
|
+
s.type === "success" ? (d(), u("div", Ll, Bl)) : f("", !0),
|
|
4131
4131
|
s.type === "error" ? (d(), u("div", Gl, Ul)) : f("", !0),
|
|
4132
4132
|
s.type === "warning" ? (d(), u("div", ql, Zl)) : f("", !0),
|
|
4133
4133
|
r("div", Kl, g(s.message), 1),
|
|
@@ -4157,7 +4157,7 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4157
4157
|
}, $e = {
|
|
4158
4158
|
state: de,
|
|
4159
4159
|
methods: Ql
|
|
4160
|
-
},
|
|
4160
|
+
}, Ju = {
|
|
4161
4161
|
__name: "GlToastList",
|
|
4162
4162
|
setup(e) {
|
|
4163
4163
|
function t(s) {
|
|
@@ -4172,7 +4172,7 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4172
4172
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4173
4173
|
}, {
|
|
4174
4174
|
default: J(() => [
|
|
4175
|
-
(d(!0), u(
|
|
4175
|
+
(d(!0), u(x, null, C(it($e).state.items, (o, a) => (d(), K(Jl, {
|
|
4176
4176
|
key: o.key,
|
|
4177
4177
|
message: o.message,
|
|
4178
4178
|
type: o.type,
|
|
@@ -4199,7 +4199,7 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4199
4199
|
], si = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ai = {
|
|
4200
4200
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4201
4201
|
"aria-labelledby": "dropdownDividerButton"
|
|
4202
|
-
}, ni = { key: 0 }, oi = ["href"], li = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ii = { key: 1 }, di = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4202
|
+
}, ni = { key: 0 }, oi = ["href"], li = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ii = { key: 1 }, di = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Qu = {
|
|
4203
4203
|
__name: "DatatableAction",
|
|
4204
4204
|
props: {
|
|
4205
4205
|
field: {
|
|
@@ -4240,19 +4240,19 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4240
4240
|
type: "success",
|
|
4241
4241
|
duration: 5e3
|
|
4242
4242
|
});
|
|
4243
|
-
}).catch((
|
|
4244
|
-
console.log(
|
|
4243
|
+
}).catch((w) => {
|
|
4244
|
+
console.log(w);
|
|
4245
4245
|
});
|
|
4246
4246
|
};
|
|
4247
|
-
return (
|
|
4247
|
+
return (w, S) => {
|
|
4248
4248
|
const B = De("click-outside");
|
|
4249
|
-
return d(), u(
|
|
4249
|
+
return d(), u(x, null, [
|
|
4250
4250
|
z(ue, {
|
|
4251
4251
|
isOpen: a.value,
|
|
4252
4252
|
onConfirmDelete: y,
|
|
4253
4253
|
onCancelDelete: c
|
|
4254
4254
|
}, null, 8, ["isOpen"]),
|
|
4255
|
-
e.row &&
|
|
4255
|
+
e.row && w.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div", ei, [
|
|
4256
4256
|
r("button", {
|
|
4257
4257
|
onClick: l,
|
|
4258
4258
|
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",
|
|
@@ -4260,23 +4260,23 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4260
4260
|
}, ri),
|
|
4261
4261
|
O(r("div", si, [
|
|
4262
4262
|
r("ul", ai, [
|
|
4263
|
-
|
|
4263
|
+
w.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ni, [
|
|
4264
4264
|
r("a", {
|
|
4265
4265
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4266
4266
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4267
4267
|
}, [
|
|
4268
4268
|
li,
|
|
4269
|
-
|
|
4269
|
+
v(" Edit")
|
|
4270
4270
|
], 8, oi)
|
|
4271
4271
|
])) : f("", !0),
|
|
4272
|
-
|
|
4272
|
+
w.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ii, [
|
|
4273
4273
|
r("a", {
|
|
4274
4274
|
href: "#",
|
|
4275
|
-
onClick:
|
|
4275
|
+
onClick: N(h, ["prevent"]),
|
|
4276
4276
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4277
4277
|
}, [
|
|
4278
4278
|
di,
|
|
4279
|
-
|
|
4279
|
+
v(" Remove")
|
|
4280
4280
|
])
|
|
4281
4281
|
])) : f("", !0)
|
|
4282
4282
|
])
|
|
@@ -4305,7 +4305,7 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4305
4305
|
], gi = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, hi = {
|
|
4306
4306
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4307
4307
|
"aria-labelledby": "dropdownDividerButton"
|
|
4308
|
-
}, mi = { key: 0 }, bi = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4308
|
+
}, mi = { key: 0 }, bi = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), ec = {
|
|
4309
4309
|
__name: "DatatableDeleteAction",
|
|
4310
4310
|
props: {
|
|
4311
4311
|
field: {
|
|
@@ -4346,19 +4346,19 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4346
4346
|
type: "success",
|
|
4347
4347
|
duration: 5e3
|
|
4348
4348
|
});
|
|
4349
|
-
}).catch((
|
|
4350
|
-
console.log(
|
|
4349
|
+
}).catch((w) => {
|
|
4350
|
+
console.log(w);
|
|
4351
4351
|
});
|
|
4352
4352
|
};
|
|
4353
|
-
return (
|
|
4353
|
+
return (w, S) => {
|
|
4354
4354
|
const B = De("click-outside");
|
|
4355
|
-
return d(), u(
|
|
4355
|
+
return d(), u(x, null, [
|
|
4356
4356
|
z(ue, {
|
|
4357
4357
|
isOpen: a.value,
|
|
4358
4358
|
onConfirmDelete: y,
|
|
4359
4359
|
onCancelDelete: c
|
|
4360
4360
|
}, null, 8, ["isOpen"]),
|
|
4361
|
-
e.row &&
|
|
4361
|
+
e.row && w.can(`delete_${e.xprops.permission}`) ? O((d(), u("div", ui, [
|
|
4362
4362
|
r("button", {
|
|
4363
4363
|
onClick: l,
|
|
4364
4364
|
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",
|
|
@@ -4366,14 +4366,14 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4366
4366
|
}, fi),
|
|
4367
4367
|
O(r("div", gi, [
|
|
4368
4368
|
r("ul", hi, [
|
|
4369
|
-
|
|
4369
|
+
w.can(`delete_${e.xprops.permission}`) ? (d(), u("li", mi, [
|
|
4370
4370
|
r("a", {
|
|
4371
4371
|
href: "#",
|
|
4372
|
-
onClick:
|
|
4372
|
+
onClick: N(h, ["prevent"]),
|
|
4373
4373
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4374
4374
|
}, [
|
|
4375
4375
|
bi,
|
|
4376
|
-
|
|
4376
|
+
v(" Remove")
|
|
4377
4377
|
])
|
|
4378
4378
|
])) : f("", !0)
|
|
4379
4379
|
])
|
|
@@ -4401,7 +4401,7 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4401
4401
|
},
|
|
4402
4402
|
mounted() {
|
|
4403
4403
|
}
|
|
4404
|
-
},
|
|
4404
|
+
}, _i = ["href", "title"], yi = /* @__PURE__ */ r("svg", {
|
|
4405
4405
|
class: "w-3 h-3 text-white me-2",
|
|
4406
4406
|
"aria-hidden": "true",
|
|
4407
4407
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4441,7 +4441,7 @@ const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4441
4441
|
], -1);
|
|
4442
4442
|
function ki(e, t, s, n, o, a) {
|
|
4443
4443
|
return d(), u("div", null, [
|
|
4444
|
-
a.isArray ? (d(!0), u(
|
|
4444
|
+
a.isArray ? (d(!0), u(x, { key: 0 }, C(s.row, (i, l) => (d(), u("div", {
|
|
4445
4445
|
key: l,
|
|
4446
4446
|
class: "m-1 d-inline-block"
|
|
4447
4447
|
}, [
|
|
@@ -4451,9 +4451,9 @@ function ki(e, t, s, n, o, a) {
|
|
|
4451
4451
|
target: "_blank",
|
|
4452
4452
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4453
4453
|
}, [
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
], 8,
|
|
4454
|
+
yi,
|
|
4455
|
+
v(" Download ")
|
|
4456
|
+
], 8, _i)
|
|
4457
4457
|
]))), 128)) : a.isString ? (d(), u("div", vi, [
|
|
4458
4458
|
r("a", {
|
|
4459
4459
|
href: s.row,
|
|
@@ -4462,12 +4462,12 @@ function ki(e, t, s, n, o, a) {
|
|
|
4462
4462
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4463
4463
|
}, [
|
|
4464
4464
|
wi,
|
|
4465
|
-
|
|
4465
|
+
v(" Download ")
|
|
4466
4466
|
], 8, xi)
|
|
4467
4467
|
])) : f("", !0)
|
|
4468
4468
|
]);
|
|
4469
4469
|
}
|
|
4470
|
-
const
|
|
4470
|
+
const tc = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
|
|
4471
4471
|
props: ["field", "row"],
|
|
4472
4472
|
computed: {
|
|
4473
4473
|
isArray() {
|
|
@@ -4517,7 +4517,7 @@ const Ru = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
|
|
|
4517
4517
|
], -1);
|
|
4518
4518
|
function Ei(e, t, s, n, o, a) {
|
|
4519
4519
|
return d(), u("div", null, [
|
|
4520
|
-
a.isArray ? (d(!0), u(
|
|
4520
|
+
a.isArray ? (d(!0), u(x, { key: 0 }, C(s.row[s.field], (i) => (d(), u("div", {
|
|
4521
4521
|
key: i.id,
|
|
4522
4522
|
class: "m-1 d-inline-block"
|
|
4523
4523
|
}, [
|
|
@@ -4528,7 +4528,7 @@ function Ei(e, t, s, n, o, a) {
|
|
|
4528
4528
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4529
4529
|
}, [
|
|
4530
4530
|
Si,
|
|
4531
|
-
|
|
4531
|
+
v(" Download ")
|
|
4532
4532
|
], 8, Ci)
|
|
4533
4533
|
]))), 128)) : a.isObject ? (d(), u("div", Di, [
|
|
4534
4534
|
r("a", {
|
|
@@ -4538,12 +4538,12 @@ function Ei(e, t, s, n, o, a) {
|
|
|
4538
4538
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4539
4539
|
}, [
|
|
4540
4540
|
Pi,
|
|
4541
|
-
|
|
4541
|
+
v(" Download ")
|
|
4542
4542
|
], 8, Oi)
|
|
4543
4543
|
])) : f("", !0)
|
|
4544
4544
|
]);
|
|
4545
4545
|
}
|
|
4546
|
-
const
|
|
4546
|
+
const rc = /* @__PURE__ */ k($i, [["render", Ei]]), ji = {
|
|
4547
4547
|
props: ["field", "row", "tdProps"]
|
|
4548
4548
|
}, Ai = { key: 0 }, Ti = ["innerHTML"];
|
|
4549
4549
|
function Ii(e, t, s, n, o, a) {
|
|
@@ -4554,7 +4554,7 @@ function Ii(e, t, s, n, o, a) {
|
|
|
4554
4554
|
}, null, 8, Ti)
|
|
4555
4555
|
])) : f("", !0);
|
|
4556
4556
|
}
|
|
4557
|
-
const
|
|
4557
|
+
const sc = /* @__PURE__ */ k(ji, [["render", Ii]]), Mi = {
|
|
4558
4558
|
props: ["field", "row", "tdProps"],
|
|
4559
4559
|
computed: {
|
|
4560
4560
|
entry() {
|
|
@@ -4568,19 +4568,19 @@ const qu = /* @__PURE__ */ k(ji, [["render", Ii]]), Mi = {
|
|
|
4568
4568
|
return typeof this.row[this.entry.key] == "object";
|
|
4569
4569
|
}
|
|
4570
4570
|
}
|
|
4571
|
-
},
|
|
4571
|
+
}, Li = { class: "flex flex-wrap gap-2" }, Ni = {
|
|
4572
4572
|
key: 1,
|
|
4573
4573
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4574
4574
|
};
|
|
4575
|
-
function
|
|
4576
|
-
return d(), u("div",
|
|
4577
|
-
a.isArray ? (d(!0), u(
|
|
4575
|
+
function Vi(e, t, s, n, o, a) {
|
|
4576
|
+
return d(), u("div", Li, [
|
|
4577
|
+
a.isArray ? (d(!0), u(x, { key: 0 }, C(s.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4578
4578
|
key: l,
|
|
4579
4579
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4580
|
-
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span",
|
|
4580
|
+
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Ni, g(s.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
|
|
4581
4581
|
]);
|
|
4582
4582
|
}
|
|
4583
|
-
const
|
|
4583
|
+
const ac = /* @__PURE__ */ k(Mi, [["render", Vi]]), Bi = {
|
|
4584
4584
|
props: ["field", "row", "tdProps"]
|
|
4585
4585
|
}, Gi = { key: 0 }, Fi = { class: "m-1 d-inline-block" }, Ri = ["href", "title"], Ui = ["src", "alt", "title"];
|
|
4586
4586
|
function qi(e, t, s, n, o, a) {
|
|
@@ -4600,7 +4600,7 @@ function qi(e, t, s, n, o, a) {
|
|
|
4600
4600
|
])
|
|
4601
4601
|
])) : f("", !0);
|
|
4602
4602
|
}
|
|
4603
|
-
const
|
|
4603
|
+
const nc = /* @__PURE__ */ k(Bi, [["render", qi], ["__scopeId", "data-v-3a28c02c"]]), Hi = {
|
|
4604
4604
|
props: ["field", "row", "tdProps"],
|
|
4605
4605
|
computed: {
|
|
4606
4606
|
isActive() {
|
|
@@ -4618,14 +4618,14 @@ function Xi(e, t, s, n, o, a) {
|
|
|
4618
4618
|
return d(), u("div", zi, [
|
|
4619
4619
|
a.isActive ? (d(), u("span", Zi, [
|
|
4620
4620
|
Ki,
|
|
4621
|
-
|
|
4621
|
+
v(" Active ")
|
|
4622
4622
|
])) : a.isActive ? f("", !0) : (d(), u("span", Wi, [
|
|
4623
4623
|
Yi,
|
|
4624
|
-
|
|
4624
|
+
v(" Inactive ")
|
|
4625
4625
|
]))
|
|
4626
4626
|
]);
|
|
4627
4627
|
}
|
|
4628
|
-
const
|
|
4628
|
+
const oc = /* @__PURE__ */ k(Hi, [["render", Xi]]), Ji = {
|
|
4629
4629
|
props: ["field", "row", "tdProps"],
|
|
4630
4630
|
computed: {
|
|
4631
4631
|
hasLabelColor(e) {
|
|
@@ -4658,27 +4658,27 @@ function ud(e, t, s, n, o, a) {
|
|
|
4658
4658
|
return d(), u("div", Qi, [
|
|
4659
4659
|
a.hasLabelColor == "green" ? (d(), u("span", ed, [
|
|
4660
4660
|
td,
|
|
4661
|
-
|
|
4661
|
+
v(" " + g(this.row[this.field]), 1)
|
|
4662
4662
|
])) : f("", !0),
|
|
4663
4663
|
a.hasLabelColor == "red" ? (d(), u("span", rd, [
|
|
4664
4664
|
sd,
|
|
4665
|
-
|
|
4665
|
+
v(" " + g(this.row[this.field]), 1)
|
|
4666
4666
|
])) : f("", !0),
|
|
4667
4667
|
a.hasLabelColor == "yellow" ? (d(), u("span", ad, [
|
|
4668
4668
|
nd,
|
|
4669
|
-
|
|
4669
|
+
v(" " + g(this.row[this.field]), 1)
|
|
4670
4670
|
])) : f("", !0),
|
|
4671
4671
|
a.hasLabelColor == "default" ? (d(), u("span", od, [
|
|
4672
4672
|
ld,
|
|
4673
|
-
|
|
4673
|
+
v(" " + g(this.row[this.field]), 1)
|
|
4674
4674
|
])) : f("", !0),
|
|
4675
4675
|
a.hasLabelColor == "animate" ? (d(), u("span", id, [
|
|
4676
4676
|
dd,
|
|
4677
|
-
|
|
4677
|
+
v(" " + g(this.row[this.field]), 1)
|
|
4678
4678
|
])) : f("", !0)
|
|
4679
4679
|
]);
|
|
4680
4680
|
}
|
|
4681
|
-
const
|
|
4681
|
+
const lc = /* @__PURE__ */ k(Ji, [["render", ud]]), cd = {
|
|
4682
4682
|
props: ["field", "row", "tdProps"],
|
|
4683
4683
|
computed: {
|
|
4684
4684
|
hasLabelColor() {
|
|
@@ -4736,7 +4736,66 @@ function gd(e, t, s, n, o, a) {
|
|
|
4736
4736
|
}, g(this.row[this.field]), 3)) : f("", !0)
|
|
4737
4737
|
]);
|
|
4738
4738
|
}
|
|
4739
|
-
const
|
|
4739
|
+
const ic = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
|
|
4740
|
+
props: ["field", "row", "tdProps"],
|
|
4741
|
+
computed: {
|
|
4742
|
+
hasLabelColor(e) {
|
|
4743
|
+
const t = this.tdProps.status_general_labels_color.find(
|
|
4744
|
+
(s) => s.text === this.row[this.field]
|
|
4745
|
+
);
|
|
4746
|
+
return t ? t.class : "";
|
|
4747
|
+
},
|
|
4748
|
+
getLabel() {
|
|
4749
|
+
const e = this.tdProps.status_general_labels_color.find(
|
|
4750
|
+
(t) => t.text === this.row[this.field]
|
|
4751
|
+
);
|
|
4752
|
+
return e ? e.label : "";
|
|
4753
|
+
}
|
|
4754
|
+
}
|
|
4755
|
+
}, md = { class: "flex flex-wrap gap-2 text-nowrap" }, bd = {
|
|
4756
|
+
key: 0,
|
|
4757
|
+
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"
|
|
4758
|
+
}, pd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), _d = {
|
|
4759
|
+
key: 1,
|
|
4760
|
+
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
4761
|
+
}, yd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), vd = {
|
|
4762
|
+
key: 2,
|
|
4763
|
+
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"
|
|
4764
|
+
}, xd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), wd = {
|
|
4765
|
+
key: 3,
|
|
4766
|
+
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"
|
|
4767
|
+
}, kd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), $d = {
|
|
4768
|
+
key: 4,
|
|
4769
|
+
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
4770
|
+
}, Cd = /* @__PURE__ */ r("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4771
|
+
/* @__PURE__ */ r("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4772
|
+
/* @__PURE__ */ r("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4773
|
+
], -1);
|
|
4774
|
+
function Sd(e, t, s, n, o, a) {
|
|
4775
|
+
return d(), u("div", md, [
|
|
4776
|
+
a.hasLabelColor == "green" ? (d(), u("span", bd, [
|
|
4777
|
+
pd,
|
|
4778
|
+
v(" " + g(a.getLabel()), 1)
|
|
4779
|
+
])) : f("", !0),
|
|
4780
|
+
a.hasLabelColor == "red" ? (d(), u("span", _d, [
|
|
4781
|
+
yd,
|
|
4782
|
+
v(" " + g(a.getLabel()), 1)
|
|
4783
|
+
])) : f("", !0),
|
|
4784
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", vd, [
|
|
4785
|
+
xd,
|
|
4786
|
+
v(" " + g(a.getLabel()), 1)
|
|
4787
|
+
])) : f("", !0),
|
|
4788
|
+
a.hasLabelColor == "default" ? (d(), u("span", wd, [
|
|
4789
|
+
kd,
|
|
4790
|
+
v(" " + g(a.getLabel()), 1)
|
|
4791
|
+
])) : f("", !0),
|
|
4792
|
+
a.hasLabelColor == "animate" ? (d(), u("span", $d, [
|
|
4793
|
+
Cd,
|
|
4794
|
+
v(" " + g(a.getLabel()), 1)
|
|
4795
|
+
])) : f("", !0)
|
|
4796
|
+
]);
|
|
4797
|
+
}
|
|
4798
|
+
const dc = /* @__PURE__ */ k(hd, [["render", Sd]]), Dd = {
|
|
4740
4799
|
props: ["field", "row", "tdProps"],
|
|
4741
4800
|
computed: {
|
|
4742
4801
|
formattedDate() {
|
|
@@ -4751,54 +4810,54 @@ const Wu = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
|
|
|
4751
4810
|
return this.row[this.field] === 1;
|
|
4752
4811
|
}
|
|
4753
4812
|
}
|
|
4754
|
-
},
|
|
4755
|
-
function
|
|
4756
|
-
return d(), u("div",
|
|
4813
|
+
}, Od = { class: "w-full" };
|
|
4814
|
+
function Pd(e, t, s, n, o, a) {
|
|
4815
|
+
return d(), u("div", Od, g(a.formattedDate), 1);
|
|
4757
4816
|
}
|
|
4758
|
-
const
|
|
4817
|
+
const uc = /* @__PURE__ */ k(Dd, [["render", Pd]]), Ed = {
|
|
4759
4818
|
props: ["field", "row", "tdProps"]
|
|
4760
|
-
},
|
|
4819
|
+
}, jd = { class: "flex flex-wrap gap-2 text-nowrap" }, Ad = {
|
|
4761
4820
|
key: 0,
|
|
4762
4821
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
4763
|
-
},
|
|
4822
|
+
}, Td = /* @__PURE__ */ r("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4764
4823
|
/* @__PURE__ */ r("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4765
4824
|
/* @__PURE__ */ r("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4766
|
-
], -1),
|
|
4825
|
+
], -1), Id = {
|
|
4767
4826
|
key: 1,
|
|
4768
4827
|
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"
|
|
4769
|
-
},
|
|
4828
|
+
}, Md = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), Ld = {
|
|
4770
4829
|
key: 2,
|
|
4771
4830
|
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"
|
|
4772
|
-
},
|
|
4773
|
-
function
|
|
4774
|
-
return d(), u("div",
|
|
4775
|
-
s.row[s.field] === 0 ? (d(), u("span",
|
|
4776
|
-
|
|
4777
|
-
|
|
4831
|
+
}, Nd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
4832
|
+
function Vd(e, t, s, n, o, a) {
|
|
4833
|
+
return d(), u("div", jd, [
|
|
4834
|
+
s.row[s.field] === 0 ? (d(), u("span", Ad, [
|
|
4835
|
+
Td,
|
|
4836
|
+
v(" Provisioning")
|
|
4778
4837
|
])) : f("", !0),
|
|
4779
|
-
s.row[s.field] === 2 ? (d(), u("span",
|
|
4780
|
-
|
|
4781
|
-
|
|
4838
|
+
s.row[s.field] === 2 ? (d(), u("span", Id, [
|
|
4839
|
+
Md,
|
|
4840
|
+
v(" Paused ")
|
|
4782
4841
|
])) : f("", !0),
|
|
4783
|
-
s.row[s.field] === 1 ? (d(), u("span",
|
|
4784
|
-
|
|
4785
|
-
|
|
4842
|
+
s.row[s.field] === 1 ? (d(), u("span", Ld, [
|
|
4843
|
+
Nd,
|
|
4844
|
+
v(" Active ")
|
|
4786
4845
|
])) : f("", !0)
|
|
4787
4846
|
]);
|
|
4788
4847
|
}
|
|
4789
|
-
const
|
|
4848
|
+
const cc = /* @__PURE__ */ k(Ed, [["render", Vd]]), Bd = {
|
|
4790
4849
|
props: ["field", "row", "tdProps"]
|
|
4791
|
-
},
|
|
4850
|
+
}, Gd = {
|
|
4792
4851
|
key: 0,
|
|
4793
4852
|
class: "text-nowrap"
|
|
4794
|
-
},
|
|
4795
|
-
function
|
|
4796
|
-
return s.row[s.field] ? (d(), u("div",
|
|
4797
|
-
r("pre",
|
|
4853
|
+
}, Fd = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left text-white break-words rounded cursor-default whitespace-nowrap bg-zinc-700" };
|
|
4854
|
+
function Rd(e, t, s, n, o, a) {
|
|
4855
|
+
return s.row[s.field] ? (d(), u("div", Gd, [
|
|
4856
|
+
r("pre", Fd, " " + g(s.row[s.field]) + `
|
|
4798
4857
|
`, 1)
|
|
4799
4858
|
])) : f("", !0);
|
|
4800
4859
|
}
|
|
4801
|
-
const
|
|
4860
|
+
const fc = /* @__PURE__ */ k(Bd, [["render", Rd]]), Ud = {
|
|
4802
4861
|
props: ["isOpen", "title", "button_text"],
|
|
4803
4862
|
methods: {
|
|
4804
4863
|
confirmAction() {
|
|
@@ -4808,35 +4867,35 @@ const Ju = /* @__PURE__ */ k(Sd, [["render", Pd]]), Ed = {
|
|
|
4808
4867
|
this.$emit("cancel-action");
|
|
4809
4868
|
}
|
|
4810
4869
|
}
|
|
4811
|
-
},
|
|
4870
|
+
}, qd = {
|
|
4812
4871
|
key: 0,
|
|
4813
4872
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4814
4873
|
role: "dialog",
|
|
4815
4874
|
"aria-modal": "true"
|
|
4816
|
-
},
|
|
4875
|
+
}, Hd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, zd = /* @__PURE__ */ r("div", {
|
|
4817
4876
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4818
4877
|
"aria-hidden": "true"
|
|
4819
|
-
}, null, -1),
|
|
4878
|
+
}, null, -1), Zd = /* @__PURE__ */ r("span", {
|
|
4820
4879
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4821
4880
|
"aria-hidden": "true"
|
|
4822
|
-
}, "", -1),
|
|
4823
|
-
function
|
|
4824
|
-
return s.isOpen ? (d(), u("div",
|
|
4825
|
-
r("div",
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
r("div",
|
|
4829
|
-
r("div",
|
|
4830
|
-
r("div",
|
|
4831
|
-
r("div",
|
|
4832
|
-
r("h3",
|
|
4833
|
-
r("div",
|
|
4881
|
+
}, "", -1), Kd = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Wd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Yd = { class: "sm:flex sm:items-start" }, Xd = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Jd = { class: "text-lg font-medium leading-6 text-gray-900" }, Qd = { class: "mt-2" }, eu = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4882
|
+
function tu(e, t, s, n, o, a) {
|
|
4883
|
+
return s.isOpen ? (d(), u("div", qd, [
|
|
4884
|
+
r("div", Hd, [
|
|
4885
|
+
zd,
|
|
4886
|
+
Zd,
|
|
4887
|
+
r("div", Kd, [
|
|
4888
|
+
r("div", Wd, [
|
|
4889
|
+
r("div", Yd, [
|
|
4890
|
+
r("div", Xd, [
|
|
4891
|
+
r("h3", Jd, g(s.title), 1),
|
|
4892
|
+
r("div", Qd, [
|
|
4834
4893
|
T(e.$slots, "default")
|
|
4835
4894
|
])
|
|
4836
4895
|
])
|
|
4837
4896
|
])
|
|
4838
4897
|
]),
|
|
4839
|
-
r("div",
|
|
4898
|
+
r("div", eu, [
|
|
4840
4899
|
r("button", {
|
|
4841
4900
|
onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
4842
4901
|
type: "button",
|
|
@@ -4852,10 +4911,10 @@ function Rd(e, t, s, n, o, a) {
|
|
|
4852
4911
|
])
|
|
4853
4912
|
])) : f("", !0);
|
|
4854
4913
|
}
|
|
4855
|
-
const
|
|
4914
|
+
const gc = /* @__PURE__ */ k(Ud, [["render", tu]]), ru = { class: "w-full" }, su = { class: "mb-2 flex justify-between items-center" }, au = { class: "text-sm font-medium text-gray-900 dark:text-white" }, nu = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, ou = { class: "overflow-auto max-h-32" }, lu = { class: "text-sm text-gray-500 dark:text-gray-400" }, iu = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, du = {
|
|
4856
4915
|
key: 0,
|
|
4857
4916
|
class: "inline-flex items-center"
|
|
4858
|
-
},
|
|
4917
|
+
}, uu = /* @__PURE__ */ r("svg", {
|
|
4859
4918
|
class: "w-3 h-3 me-2",
|
|
4860
4919
|
"aria-hidden": "true",
|
|
4861
4920
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4863,13 +4922,13 @@ const Qu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full" }, qd
|
|
|
4863
4922
|
viewBox: "0 0 18 20"
|
|
4864
4923
|
}, [
|
|
4865
4924
|
/* @__PURE__ */ r("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
4866
|
-
], -1),
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
],
|
|
4925
|
+
], -1), cu = /* @__PURE__ */ r("span", { class: "text-xs font-semibold" }, "Copy", -1), fu = [
|
|
4926
|
+
uu,
|
|
4927
|
+
cu
|
|
4928
|
+
], gu = {
|
|
4870
4929
|
key: 1,
|
|
4871
4930
|
class: "inline-flex items-center"
|
|
4872
|
-
},
|
|
4931
|
+
}, hu = /* @__PURE__ */ r("svg", {
|
|
4873
4932
|
class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-2",
|
|
4874
4933
|
"aria-hidden": "true",
|
|
4875
4934
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4883,10 +4942,10 @@ const Qu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full" }, qd
|
|
|
4883
4942
|
"stroke-width": "2",
|
|
4884
4943
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
4885
4944
|
})
|
|
4886
|
-
], -1),
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
],
|
|
4945
|
+
], -1), mu = /* @__PURE__ */ r("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), bu = [
|
|
4946
|
+
hu,
|
|
4947
|
+
mu
|
|
4948
|
+
], pu = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, hc = {
|
|
4890
4949
|
__name: "GlCodeCopy",
|
|
4891
4950
|
props: {
|
|
4892
4951
|
label_name: {
|
|
@@ -4911,29 +4970,29 @@ const Qu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full" }, qd
|
|
|
4911
4970
|
}).catch(function(i) {
|
|
4912
4971
|
console.error("Error copying to clipboard: ", i);
|
|
4913
4972
|
});
|
|
4914
|
-
}, o =
|
|
4915
|
-
return (a, i) => (d(), u("div",
|
|
4916
|
-
r("div",
|
|
4917
|
-
r("p",
|
|
4973
|
+
}, o = L(() => t.code);
|
|
4974
|
+
return (a, i) => (d(), u("div", ru, [
|
|
4975
|
+
r("div", su, [
|
|
4976
|
+
r("p", au, g(e.label_name), 1)
|
|
4918
4977
|
]),
|
|
4919
|
-
r("div",
|
|
4920
|
-
r("div",
|
|
4921
|
-
r("code",
|
|
4978
|
+
r("div", nu, [
|
|
4979
|
+
r("div", ou, [
|
|
4980
|
+
r("code", lu, g(o.value), 1)
|
|
4922
4981
|
]),
|
|
4923
|
-
r("div",
|
|
4982
|
+
r("div", iu, [
|
|
4924
4983
|
r("button", {
|
|
4925
4984
|
onClick: i[0] || (i[0] = (l) => n(o.value)),
|
|
4926
4985
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
4927
4986
|
}, [
|
|
4928
|
-
s.value ? f("", !0) : (d(), u("span",
|
|
4929
|
-
s.value ? (d(), u("span",
|
|
4987
|
+
s.value ? f("", !0) : (d(), u("span", du, fu)),
|
|
4988
|
+
s.value ? (d(), u("span", gu, bu)) : f("", !0)
|
|
4930
4989
|
])
|
|
4931
4990
|
])
|
|
4932
4991
|
]),
|
|
4933
|
-
r("p",
|
|
4992
|
+
r("p", pu, g(e.description), 1)
|
|
4934
4993
|
]));
|
|
4935
4994
|
}
|
|
4936
|
-
},
|
|
4995
|
+
}, _u = { class: "w-full" }, yu = { class: "flex justify-between items-center" }, vu = { class: "gl-label-form" }, xu = { class: "flex items-center" }, wu = { class: "flex-shrink-0 z-10 inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600" }, ku = { class: "relative w-full" }, $u = ["value"], Cu = { key: 0 }, Su = /* @__PURE__ */ r("svg", {
|
|
4937
4996
|
class: "w-4 h-4",
|
|
4938
4997
|
"aria-hidden": "true",
|
|
4939
4998
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4941,12 +5000,12 @@ const Qu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full" }, qd
|
|
|
4941
5000
|
viewBox: "0 0 18 20"
|
|
4942
5001
|
}, [
|
|
4943
5002
|
/* @__PURE__ */ r("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
4944
|
-
], -1),
|
|
4945
|
-
|
|
4946
|
-
],
|
|
5003
|
+
], -1), Du = [
|
|
5004
|
+
Su
|
|
5005
|
+
], Ou = {
|
|
4947
5006
|
key: 1,
|
|
4948
5007
|
class: "inline-flex items-center"
|
|
4949
|
-
},
|
|
5008
|
+
}, Pu = /* @__PURE__ */ r("svg", {
|
|
4950
5009
|
class: "w-4 h-4",
|
|
4951
5010
|
"aria-hidden": "true",
|
|
4952
5011
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4960,9 +5019,9 @@ const Qu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full" }, qd
|
|
|
4960
5019
|
"stroke-width": "2",
|
|
4961
5020
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
4962
5021
|
})
|
|
4963
|
-
], -1),
|
|
4964
|
-
|
|
4965
|
-
],
|
|
5022
|
+
], -1), Eu = [
|
|
5023
|
+
Pu
|
|
5024
|
+
], ju = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, mc = {
|
|
4966
5025
|
__name: "GlTextCopy",
|
|
4967
5026
|
props: {
|
|
4968
5027
|
label_name: {
|
|
@@ -4991,14 +5050,14 @@ const Qu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full" }, qd
|
|
|
4991
5050
|
}).catch(function(i) {
|
|
4992
5051
|
console.error("Error copying to clipboard: ", i);
|
|
4993
5052
|
});
|
|
4994
|
-
}, o =
|
|
4995
|
-
return (a, i) => (d(), u("div",
|
|
4996
|
-
r("div",
|
|
4997
|
-
r("label",
|
|
5053
|
+
}, o = L(() => t.code);
|
|
5054
|
+
return (a, i) => (d(), u("div", _u, [
|
|
5055
|
+
r("div", yu, [
|
|
5056
|
+
r("label", vu, g(e.label_name), 1)
|
|
4998
5057
|
]),
|
|
4999
|
-
r("div",
|
|
5000
|
-
r("span",
|
|
5001
|
-
r("div",
|
|
5058
|
+
r("div", xu, [
|
|
5059
|
+
r("span", wu, g(e.text_name), 1),
|
|
5060
|
+
r("div", ku, [
|
|
5002
5061
|
r("input", {
|
|
5003
5062
|
type: "text",
|
|
5004
5063
|
"aria-describedby": "helper-text-explanation",
|
|
@@ -5006,7 +5065,7 @@ const Qu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full" }, qd
|
|
|
5006
5065
|
value: o.value,
|
|
5007
5066
|
readonly: "",
|
|
5008
5067
|
disabled: ""
|
|
5009
|
-
}, null, 8,
|
|
5068
|
+
}, null, 8, $u)
|
|
5010
5069
|
]),
|
|
5011
5070
|
r("button", {
|
|
5012
5071
|
style: { padding: ".61rem" },
|
|
@@ -5014,52 +5073,53 @@ const Qu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full" }, qd
|
|
|
5014
5073
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
5015
5074
|
type: "button"
|
|
5016
5075
|
}, [
|
|
5017
|
-
s.value ? f("", !0) : (d(), u("span",
|
|
5018
|
-
s.value ? (d(), u("span",
|
|
5076
|
+
s.value ? f("", !0) : (d(), u("span", Cu, Du)),
|
|
5077
|
+
s.value ? (d(), u("span", Ou, Eu)) : f("", !0)
|
|
5019
5078
|
])
|
|
5020
5079
|
]),
|
|
5021
|
-
r("p",
|
|
5080
|
+
r("p", ju, g(e.description), 1)
|
|
5022
5081
|
]));
|
|
5023
5082
|
}
|
|
5024
5083
|
};
|
|
5025
5084
|
export {
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5085
|
+
dc as DatatableStatusTextLabelGeneral,
|
|
5086
|
+
fc as GLDatatableCommand,
|
|
5087
|
+
uc as GLDatatableDateTime,
|
|
5088
|
+
cc as GLDatatableStatusServer,
|
|
5089
|
+
Vu as GlButton,
|
|
5090
|
+
Lu as GlCard,
|
|
5091
|
+
hc as GlCodeCopy,
|
|
5092
|
+
gc as GlConfirmationModal,
|
|
5093
|
+
Xu as GlDataTable,
|
|
5094
|
+
Yu as GlDataTableServerSide,
|
|
5095
|
+
Qu as GlDatatableAction,
|
|
5096
|
+
ec as GlDatatableDeleteAction,
|
|
5097
|
+
tc as GlDatatableFileDownload,
|
|
5098
|
+
rc as GlDatatableFiles,
|
|
5099
|
+
sc as GlDatatableHtml,
|
|
5100
|
+
ac as GlDatatableList,
|
|
5101
|
+
nc as GlDatatablePicture,
|
|
5102
|
+
oc as GlDatatableStatus,
|
|
5103
|
+
lc as GlDatatableStatusGeneral,
|
|
5104
|
+
ic as GlDatatableStatusSpecficColor,
|
|
5045
5105
|
ue as GlDeleteConfirmationModal,
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5106
|
+
Ku as GlDropdown,
|
|
5107
|
+
Tu as GlFilesUpload,
|
|
5108
|
+
Mu as GlLanguageSelector,
|
|
5109
|
+
zu as GlModal,
|
|
5110
|
+
Hu as GlMultiItemSlide,
|
|
5111
|
+
Nu as GlMultiSelectDropdown,
|
|
5112
|
+
Iu as GlNotify,
|
|
5113
|
+
qu as GlTab,
|
|
5114
|
+
Uu as GlTabsWrapper,
|
|
5055
5115
|
wo as GlTailwindPagination,
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5116
|
+
mc as GlTextCopy,
|
|
5117
|
+
Ru as GlTextInput,
|
|
5118
|
+
Fu as GlTextTranslate,
|
|
5119
|
+
Wu as GlTextarea,
|
|
5120
|
+
Bu as GlTextareaTranslate,
|
|
5121
|
+
Gu as GlTinymceTranslate,
|
|
5062
5122
|
$e as GlToast,
|
|
5063
|
-
|
|
5064
|
-
|
|
5123
|
+
Ju as GlToastList,
|
|
5124
|
+
Zu as GlToggleBox
|
|
5065
5125
|
};
|