golden-logic-ui 1.0.78 → 1.0.80
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 +224 -192
- package/dist/golden-logic-ui.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Je, inject as Ce, watch as Y, effectScope as Qe, computed as G, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as g, withModifiers as N, withDirectives as O, vModelText as V, renderList as k, normalizeStyle as et, renderSlot as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Je, inject as Ce, watch as Y, effectScope as Qe, computed as G, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as g, withModifiers as N, withDirectives as O, vModelText as V, renderList as k, normalizeStyle as et, renderSlot as T, createTextVNode as x, vShow as F, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as S, onMounted as R, 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 $ = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
@@ -170,13 +170,13 @@ function Ot(e, t) {
|
|
|
170
170
|
return e(t);
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Ae(e, t, r) {
|
|
174
174
|
return t.indexOf(e) < 0 && (r && r.prepend ? t.unshift(e) : t.push(e)), function() {
|
|
175
175
|
var n = t.indexOf(e);
|
|
176
176
|
n > -1 && t.splice(n, 1);
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Te(e, t) {
|
|
180
180
|
e._actions = /* @__PURE__ */ Object.create(null), e._mutations = /* @__PURE__ */ Object.create(null), e._wrappedGetters = /* @__PURE__ */ Object.create(null), e._modulesNamespaceMap = /* @__PURE__ */ Object.create(null);
|
|
181
181
|
var r = e.state;
|
|
182
182
|
ee(e, r, [], e._modules.root, !0), ce(e, r, t);
|
|
@@ -199,7 +199,7 @@ function ce(e, t, r) {
|
|
|
199
199
|
});
|
|
200
200
|
}), e._state = Se({
|
|
201
201
|
data: t
|
|
202
|
-
}), e._scope = c, e.strict &&
|
|
202
|
+
}), e._scope = c, e.strict && Tt(e), n && r && e._withCommit(function() {
|
|
203
203
|
n.data = null;
|
|
204
204
|
}), o && o.stop();
|
|
205
205
|
}
|
|
@@ -215,14 +215,14 @@ function ee(e, t, r, n, o) {
|
|
|
215
215
|
}
|
|
216
216
|
var h = n.context = Pt(e, i, r);
|
|
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, C = m.handler || m;
|
|
222
|
+
jt(e, w, C, h);
|
|
223
223
|
}), n.forEachGetter(function(m, y) {
|
|
224
|
-
var
|
|
225
|
-
|
|
224
|
+
var w = i + y;
|
|
225
|
+
At(e, w, m, h);
|
|
226
226
|
}), n.forEachChild(function(m, y) {
|
|
227
227
|
ee(e, t, r.concat(y), m, o);
|
|
228
228
|
});
|
|
@@ -300,7 +300,7 @@ function jt(e, t, r, n) {
|
|
|
300
300
|
}) : l;
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function At(e, t, r, n) {
|
|
304
304
|
if (e._wrappedGetters[t]) {
|
|
305
305
|
process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate getter key: " + t);
|
|
306
306
|
return;
|
|
@@ -318,7 +318,7 @@ function Tt(e, t, r, n) {
|
|
|
318
318
|
);
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Tt(e) {
|
|
322
322
|
Y(function() {
|
|
323
323
|
return e._state.data;
|
|
324
324
|
}, function() {
|
|
@@ -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 q(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, C) {
|
|
680
|
+
return c.call(i, w, C);
|
|
681
|
+
}, this.commit = function(w, C, L) {
|
|
682
|
+
return h.call(i, w, C, L);
|
|
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) {
|
|
@@ -704,8 +704,8 @@ j.prototype.commit = function(t, r, 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, r) {
|
|
|
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(C) {
|
|
738
738
|
return C.after;
|
|
@@ -742,27 +742,27 @@ j.prototype.dispatch = function(t, r) {
|
|
|
742
742
|
} catch (C) {
|
|
743
743
|
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(C));
|
|
744
744
|
}
|
|
745
|
-
m(
|
|
746
|
-
}, function(
|
|
745
|
+
m(w);
|
|
746
|
+
}, function(w) {
|
|
747
747
|
try {
|
|
748
748
|
n._actionSubscribers.filter(function(C) {
|
|
749
749
|
return C.error;
|
|
750
750
|
}).forEach(function(C) {
|
|
751
|
-
return C.error(l, n.state,
|
|
751
|
+
return C.error(l, n.state, w);
|
|
752
752
|
});
|
|
753
753
|
} catch (C) {
|
|
754
754
|
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(C));
|
|
755
755
|
}
|
|
756
|
-
y(
|
|
756
|
+
y(w);
|
|
757
757
|
});
|
|
758
758
|
});
|
|
759
759
|
};
|
|
760
760
|
j.prototype.subscribe = function(t, r) {
|
|
761
|
-
return
|
|
761
|
+
return Ae(t, this._subscribers, r);
|
|
762
762
|
};
|
|
763
763
|
j.prototype.subscribeAction = function(t, r) {
|
|
764
764
|
var n = typeof t == "function" ? { before: t } : t;
|
|
765
|
-
return
|
|
765
|
+
return Ae(n, this._actionSubscribers, r);
|
|
766
766
|
};
|
|
767
767
|
j.prototype.watch = function(t, r, n) {
|
|
768
768
|
var o = this;
|
|
@@ -784,13 +784,13 @@ j.prototype.unregisterModule = function(t) {
|
|
|
784
784
|
typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.unregister(t), this._withCommit(function() {
|
|
785
785
|
var n = fe(r.state, t.slice(0, -1));
|
|
786
786
|
delete n[t[t.length - 1]];
|
|
787
|
-
}),
|
|
787
|
+
}), Te(this);
|
|
788
788
|
};
|
|
789
789
|
j.prototype.hasModule = function(t) {
|
|
790
790
|
return typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.isRegistered(t);
|
|
791
791
|
};
|
|
792
792
|
j.prototype.hotUpdate = function(t) {
|
|
793
|
-
this._modules.update(t),
|
|
793
|
+
this._modules.update(t), Te(this, !0);
|
|
794
794
|
};
|
|
795
795
|
j.prototype._withCommit = function(t) {
|
|
796
796
|
var r = this._committing;
|
|
@@ -1121,7 +1121,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Vd = /* @__PURE__ */ $(Ht, [["render", wr]]), kr = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...qt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1213,7 +1213,7 @@ function Er(e, t, r, n, o, a) {
|
|
|
1213
1213
|
}, Pr, 2)
|
|
1214
1214
|
], 2)) : f("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const Ld = /* @__PURE__ */ $(kr, [["render", Er]]), jr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1248,9 +1248,9 @@ const Pd = /* @__PURE__ */ $(kr, [["render", Er]]), jr = {
|
|
|
1248
1248
|
},
|
|
1249
1249
|
mounted() {
|
|
1250
1250
|
}
|
|
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, r, n, o, a) {
|
|
1253
|
-
return d(), u("ul",
|
|
1253
|
+
return d(), u("ul", Ar, [
|
|
1254
1254
|
(d(!0), u(v, null, k(o.locals, (i, l) => (d(), u("li", null, [
|
|
1255
1255
|
s("input", {
|
|
1256
1256
|
type: "radio",
|
|
@@ -1260,7 +1260,7 @@ function Mr(e, t, r, n, o, a) {
|
|
|
1260
1260
|
id: i + "_" + r.field_name,
|
|
1261
1261
|
autocomplete: "off",
|
|
1262
1262
|
checked: i === o.default_language
|
|
1263
|
-
}, null, 8,
|
|
1263
|
+
}, null, 8, Tr),
|
|
1264
1264
|
s("label", {
|
|
1265
1265
|
for: i + "_" + r.field_name,
|
|
1266
1266
|
class: b([{
|
|
@@ -1272,10 +1272,10 @@ function Mr(e, t, r, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const Bd = /* @__PURE__ */ $(jr, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Vr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Lr = { class: "font-semibold text-black dark:text-white" }, Br = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
|
-
},
|
|
1278
|
+
}, Gd = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1291,11 +1291,11 @@ const Ed = /* @__PURE__ */ $(jr, [["render", Mr]]), Nr = { class: "bg-white bord
|
|
|
1291
1291
|
s("div", Nr, [
|
|
1292
1292
|
s("div", Vr, [
|
|
1293
1293
|
s("h3", Lr, [
|
|
1294
|
-
|
|
1294
|
+
T(n.$slots, "header")
|
|
1295
1295
|
])
|
|
1296
1296
|
]),
|
|
1297
1297
|
n.$slots.body ? (d(), u("div", Br, [
|
|
1298
|
-
|
|
1298
|
+
T(n.$slots, "body")
|
|
1299
1299
|
])) : f("", !0)
|
|
1300
1300
|
])
|
|
1301
1301
|
], 2));
|
|
@@ -1535,7 +1535,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
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
|
+
x(g(i.name) + " ", 1),
|
|
1539
1539
|
s("i", {
|
|
1540
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"
|
|
@@ -1586,7 +1586,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const Fd = /* @__PURE__ */ $(Gr, [["render", ns]]), os = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1667,7 +1667,7 @@ function is(e, t, r, n, o, a) {
|
|
|
1667
1667
|
}, {
|
|
1668
1668
|
default: J(() => [
|
|
1669
1669
|
ls,
|
|
1670
|
-
|
|
1670
|
+
x(" Loading... ")
|
|
1671
1671
|
]),
|
|
1672
1672
|
_: 1
|
|
1673
1673
|
}, 8, ["class"])) : (d(), K(oe(r.tag), W({
|
|
@@ -1683,12 +1683,12 @@ function is(e, t, r, n, o, a) {
|
|
|
1683
1683
|
key: 0,
|
|
1684
1684
|
class: b([r.icon, "text-base"])
|
|
1685
1685
|
}, null, 2)) : f("", !0),
|
|
1686
|
-
|
|
1686
|
+
T(e.$slots, "default")
|
|
1687
1687
|
]),
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold ptext-lg dark:text-white" }, us = ["name", "id"], cs = ["id"], fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), gs = ["for"], hs = /* @__PURE__ */ s("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" }, ys = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ud = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1824,7 +1824,7 @@ const Ad = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1824
1824
|
], 2))
|
|
1825
1825
|
], 64));
|
|
1826
1826
|
}
|
|
1827
|
-
}, _s = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("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" },
|
|
1827
|
+
}, _s = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("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" }, qd = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1963,7 +1963,7 @@ const Ad = /* @__PURE__ */ $(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"],
|
|
1966
|
+
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__PURE__ */ s("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"], Ns = ["required", "name", "id", "type"], Vs = { class: "gl-span-form-error" }, Ls = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, zd = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2052,7 +2052,7 @@ const Ad = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2052
2052
|
id: e.field_name,
|
|
2053
2053
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2054
2054
|
}, g(e.model_value), 9, js),
|
|
2055
|
-
|
|
2055
|
+
As
|
|
2056
2056
|
], 2)) : f("", !0),
|
|
2057
2057
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2058
2058
|
key: 1,
|
|
@@ -2065,7 +2065,7 @@ const Ad = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2065
2065
|
required: e.is_required
|
|
2066
2066
|
}),
|
|
2067
2067
|
for: e.field_name
|
|
2068
|
-
}, g(e.label_name), 11,
|
|
2068
|
+
}, g(e.label_name), 11, Ts),
|
|
2069
2069
|
Is,
|
|
2070
2070
|
s("input", {
|
|
2071
2071
|
class: "mb-4",
|
|
@@ -2096,7 +2096,7 @@ const Ad = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
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__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type"], qs = { class: "gl-span-form-error" }, zs = { 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__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Hd = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2217,7 +2217,7 @@ function ea(e, t, r, n, o, a) {
|
|
|
2217
2217
|
s("i", {
|
|
2218
2218
|
class: b([i.icon, "mr-1 text-base"])
|
|
2219
2219
|
}, null, 2),
|
|
2220
|
-
|
|
2220
|
+
x(" " + g(i.title), 1)
|
|
2221
2221
|
], 2)
|
|
2222
2222
|
], 8, Ys))), 128))
|
|
2223
2223
|
])
|
|
@@ -2226,13 +2226,13 @@ function ea(e, t, r, n, o, a) {
|
|
|
2226
2226
|
s("div", Xs, [
|
|
2227
2227
|
s("div", Js, [
|
|
2228
2228
|
s("div", Qs, [
|
|
2229
|
-
|
|
2229
|
+
T(e.$slots, "default")
|
|
2230
2230
|
])
|
|
2231
2231
|
])
|
|
2232
2232
|
])
|
|
2233
2233
|
], 64);
|
|
2234
2234
|
}
|
|
2235
|
-
const
|
|
2235
|
+
const Zd = /* @__PURE__ */ $(Hs, [["render", ea]]), ta = {
|
|
2236
2236
|
props: ["title"],
|
|
2237
2237
|
setup() {
|
|
2238
2238
|
return {
|
|
@@ -2242,12 +2242,12 @@ const Ld = /* @__PURE__ */ $(Hs, [["render", ea]]), ta = {
|
|
|
2242
2242
|
}, ra = { class: "block" };
|
|
2243
2243
|
function sa(e, t, r, n, o, a) {
|
|
2244
2244
|
return O((d(), u("div", ra, [
|
|
2245
|
-
|
|
2245
|
+
T(e.$slots, "default")
|
|
2246
2246
|
], 512)), [
|
|
2247
2247
|
[F, r.title == n.selectedTitle]
|
|
2248
2248
|
]);
|
|
2249
2249
|
}
|
|
2250
|
-
const
|
|
2250
|
+
const Kd = /* @__PURE__ */ $(ta, [["render", sa]]), aa = {
|
|
2251
2251
|
props: {
|
|
2252
2252
|
elements_to_show_prop: {
|
|
2253
2253
|
type: Number,
|
|
@@ -2433,9 +2433,9 @@ const Bd = /* @__PURE__ */ $(ta, [["render", sa]]), aa = {
|
|
|
2433
2433
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2434
2434
|
}, null, -1)), Pa = [
|
|
2435
2435
|
Oa
|
|
2436
|
-
], Ea = ["onClick"], ja = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)),
|
|
2436
|
+
], Ea = ["onClick"], ja = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Aa = [
|
|
2437
2437
|
ja
|
|
2438
|
-
],
|
|
2438
|
+
], Ta = {
|
|
2439
2439
|
key: 1,
|
|
2440
2440
|
class: "flex justify-between pl-5 pr-5"
|
|
2441
2441
|
}, Ia = ["onClick"], Ma = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Na = [
|
|
@@ -2570,7 +2570,7 @@ function dn(e, t, r, n, o, a) {
|
|
|
2570
2570
|
])
|
|
2571
2571
|
])
|
|
2572
2572
|
], 2)) : f("", !0),
|
|
2573
|
-
|
|
2573
|
+
T(e.$slots, "default", {}, void 0, !0),
|
|
2574
2574
|
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
|
|
2575
2575
|
key: 1,
|
|
2576
2576
|
class: b(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", r.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
@@ -2595,9 +2595,9 @@ function dn(e, t, r, n, o, a) {
|
|
|
2595
2595
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2596
2596
|
key: i,
|
|
2597
2597
|
onClick: (l) => a.setDot(i)
|
|
2598
|
-
},
|
|
2598
|
+
}, Aa, 10, Ea))), 128))
|
|
2599
2599
|
], 2)) : f("", !0),
|
|
2600
|
-
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div",
|
|
2600
|
+
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ta, [
|
|
2601
2601
|
s("div", {
|
|
2602
2602
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2603
2603
|
}, [
|
|
@@ -2648,7 +2648,7 @@ function dn(e, t, r, n, o, a) {
|
|
|
2648
2648
|
], 10, na)
|
|
2649
2649
|
]);
|
|
2650
2650
|
}
|
|
2651
|
-
const
|
|
2651
|
+
const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
|
|
2652
2652
|
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",
|
|
2653
2653
|
tabindex: "-1",
|
|
2654
2654
|
"aria-hidden": "true"
|
|
@@ -2668,7 +2668,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2668
2668
|
])
|
|
2669
2669
|
], -1), mn = [
|
|
2670
2670
|
hn
|
|
2671
|
-
], 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" },
|
|
2671
|
+
], 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" }, Yd = {
|
|
2672
2672
|
__name: "GlModal",
|
|
2673
2673
|
props: {
|
|
2674
2674
|
is_open: {
|
|
@@ -2720,10 +2720,10 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2720
2720
|
s("div", {
|
|
2721
2721
|
class: b(["relative overflow-y-auto", e.bodyClass])
|
|
2722
2722
|
}, [
|
|
2723
|
-
|
|
2723
|
+
T(l.$slots, "body")
|
|
2724
2724
|
], 2),
|
|
2725
2725
|
s("div", bn, [
|
|
2726
|
-
|
|
2726
|
+
T(l.$slots, "buttons"),
|
|
2727
2727
|
s("button", {
|
|
2728
2728
|
onClick: i,
|
|
2729
2729
|
type: "button",
|
|
@@ -2736,7 +2736,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2736
2736
|
[F, e.is_open]
|
|
2737
2737
|
]);
|
|
2738
2738
|
}
|
|
2739
|
-
}, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { class: "relative inline-flex items-center cursor-pointer" }, vn = ["name", "id", "checked"], xn = /* @__PURE__ */ s("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), wn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ s("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), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2739
|
+
}, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { class: "relative inline-flex items-center cursor-pointer" }, vn = ["name", "id", "checked"], xn = /* @__PURE__ */ s("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), wn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ s("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), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Xd = {
|
|
2740
2740
|
__name: "GlToggleBox",
|
|
2741
2741
|
props: {
|
|
2742
2742
|
is_required: {
|
|
@@ -2793,7 +2793,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2793
2793
|
}, [
|
|
2794
2794
|
s("div", pn, [
|
|
2795
2795
|
s("li", yn, [
|
|
2796
|
-
|
|
2796
|
+
x(g(e.label_name) + " ", 1),
|
|
2797
2797
|
s("label", _n, [
|
|
2798
2798
|
s("input", {
|
|
2799
2799
|
type: "checkbox",
|
|
@@ -2818,7 +2818,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2818
2818
|
class: b(["mb-4", e.field_name])
|
|
2819
2819
|
}, [
|
|
2820
2820
|
s("li", kn, [
|
|
2821
|
-
|
|
2821
|
+
x(g(e.label_name) + " ", 1),
|
|
2822
2822
|
s("label", $n, [
|
|
2823
2823
|
O(s("input", {
|
|
2824
2824
|
type: "checkbox",
|
|
@@ -2841,7 +2841,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2841
2841
|
], 2))
|
|
2842
2842
|
], 64));
|
|
2843
2843
|
}
|
|
2844
|
-
}, Pn = { class: "font-bold ptext-lg dark:text-white" }, En = { class: "mt-3 mb-4" }, jn = { 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" },
|
|
2844
|
+
}, Pn = { class: "font-bold ptext-lg dark:text-white" }, En = { class: "mt-3 mb-4" }, jn = { 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" }, An = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Tn = ["name", "id", "value"], In = {
|
|
2845
2845
|
key: 0,
|
|
2846
2846
|
class: "dropdown"
|
|
2847
2847
|
}, Mn = { class: "border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Nn = { class: "relative showOptions" }, Vn = ["value", "placeholder"], Ln = { class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]" }, Bn = { class: "p-1" }, Gn = /* @__PURE__ */ s("label", {
|
|
@@ -2878,7 +2878,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2878
2878
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2879
2879
|
}, null, -1), Wn = [
|
|
2880
2880
|
Kn
|
|
2881
|
-
], Yn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Xn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2881
|
+
], Yn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Xn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Jd = {
|
|
2882
2882
|
__name: "GlDropdown",
|
|
2883
2883
|
props: {
|
|
2884
2884
|
modelValue: {
|
|
@@ -2946,7 +2946,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2946
2946
|
p.key === "Enter" && p.target.form && p.preventDefault();
|
|
2947
2947
|
}));
|
|
2948
2948
|
});
|
|
2949
|
-
const m = G(() => Ke()), y = G(() => We()),
|
|
2949
|
+
const m = G(() => Ke()), y = G(() => We()), w = G(() => {
|
|
2950
2950
|
const p = [], D = new RegExp(c.value, "ig");
|
|
2951
2951
|
for (const E of m.value) {
|
|
2952
2952
|
const B = String(E.name);
|
|
@@ -2992,7 +2992,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2992
2992
|
E && E.click();
|
|
2993
2993
|
}
|
|
2994
2994
|
function Ze(p) {
|
|
2995
|
-
p === "ArrowDown" && i.value <
|
|
2995
|
+
p === "ArrowDown" && i.value < w.value.length && (i.value++, me(i.value)), p === "ArrowUp" && i.value > 1 && (i.value--, me(i.value)), p === "Enter" && He(i.value);
|
|
2996
2996
|
}
|
|
2997
2997
|
function Ke() {
|
|
2998
2998
|
return r.options.map((p, D) => typeof p == "object" ? p : { id: p, name: p });
|
|
@@ -3029,7 +3029,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3029
3029
|
a.value.id || (a.value = {}, c.value = ""), n("selected", a.value), l.value = !1;
|
|
3030
3030
|
}
|
|
3031
3031
|
return Y(c, () => {
|
|
3032
|
-
|
|
3032
|
+
w.value.length === 0 && (a.value = {});
|
|
3033
3033
|
}), Y(a, (p) => {
|
|
3034
3034
|
te(p) && n("update:modelValue", p.id);
|
|
3035
3035
|
}), (p, D) => {
|
|
@@ -3043,7 +3043,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3043
3043
|
s("p", En, [
|
|
3044
3044
|
s("span", jn, g((E = y.value) == null ? void 0 : E.name), 1)
|
|
3045
3045
|
]),
|
|
3046
|
-
|
|
3046
|
+
An
|
|
3047
3047
|
], 2)) : f("", !0),
|
|
3048
3048
|
e.show ? f("", !0) : (d(), u("div", {
|
|
3049
3049
|
key: 1,
|
|
@@ -3054,7 +3054,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3054
3054
|
name: e.field_name,
|
|
3055
3055
|
id: e.field_name,
|
|
3056
3056
|
value: (B = y.value) == null ? void 0 : B.id
|
|
3057
|
-
}, null, 8,
|
|
3057
|
+
}, null, 8, Tn),
|
|
3058
3058
|
e.options ? (d(), u("div", In, [
|
|
3059
3059
|
e.label_name ? (d(), u("label", {
|
|
3060
3060
|
key: 0,
|
|
@@ -3072,21 +3072,21 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3072
3072
|
"gl-input-form-invalid": e.error_message !== ""
|
|
3073
3073
|
}, "pl-8 pr-2 showOptions"]),
|
|
3074
3074
|
ref: e.field_name,
|
|
3075
|
-
onClick: D[0] || (D[0] = (
|
|
3075
|
+
onClick: D[0] || (D[0] = (A) => re()),
|
|
3076
3076
|
value: (ye = y.value) == null ? void 0 : ye.name,
|
|
3077
3077
|
placeholder: e.placeholder,
|
|
3078
3078
|
autocomplete: "off",
|
|
3079
3079
|
readonly: ""
|
|
3080
3080
|
}, null, 10, Vn),
|
|
3081
3081
|
O(s("i", {
|
|
3082
|
-
onClick: D[1] || (D[1] = N((
|
|
3082
|
+
onClick: D[1] || (D[1] = N((A) => Ye(), ["stop"])),
|
|
3083
3083
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3084
3084
|
style: { top: "13px" }
|
|
3085
3085
|
}, null, 512), [
|
|
3086
3086
|
[F, te(y.value) && e.has_cancel]
|
|
3087
3087
|
]),
|
|
3088
3088
|
s("i", {
|
|
3089
|
-
onClick: D[2] || (D[2] = (
|
|
3089
|
+
onClick: D[2] || (D[2] = (A) => !l.value && re()),
|
|
3090
3090
|
class: b([l.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
|
|
3091
3091
|
style: { top: "11px" }
|
|
3092
3092
|
}, null, 2)
|
|
@@ -3098,11 +3098,11 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3098
3098
|
Rn,
|
|
3099
3099
|
O(s("input", {
|
|
3100
3100
|
type: "search",
|
|
3101
|
-
"onUpdate:modelValue": D[3] || (D[3] = (
|
|
3101
|
+
"onUpdate:modelValue": D[3] || (D[3] = (A) => c.value = A),
|
|
3102
3102
|
ref: o.value,
|
|
3103
3103
|
id: `${e.field_name}search${h.value}`,
|
|
3104
3104
|
onKeydown: C,
|
|
3105
|
-
onBlur: D[4] || (D[4] = (
|
|
3105
|
+
onBlur: D[4] || (D[4] = (A) => pe()),
|
|
3106
3106
|
autocomplete: "off",
|
|
3107
3107
|
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",
|
|
3108
3108
|
placeholder: "Search ..."
|
|
@@ -3112,18 +3112,18 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3112
3112
|
])
|
|
3113
3113
|
]),
|
|
3114
3114
|
s("div", qn, [
|
|
3115
|
-
(d(!0), u(v, null, k(
|
|
3115
|
+
(d(!0), u(v, null, k(w.value, (A, se) => {
|
|
3116
3116
|
var _e;
|
|
3117
3117
|
return d(), u("div", {
|
|
3118
3118
|
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" : ""]),
|
|
3119
|
-
onClick: (Xe) => be(
|
|
3120
|
-
onMousedown: (Xe) => be(
|
|
3119
|
+
onClick: (Xe) => be(A),
|
|
3120
|
+
onMousedown: (Xe) => be(A),
|
|
3121
3121
|
key: se,
|
|
3122
3122
|
id: `${se + 1}${h.value}`
|
|
3123
3123
|
}, [
|
|
3124
3124
|
s("div", Hn, [
|
|
3125
|
-
((_e = y.value) == null ? void 0 : _e.id) ===
|
|
3126
|
-
s("span", null, g(
|
|
3125
|
+
((_e = y.value) == null ? void 0 : _e.id) === A.id ? (d(), u("svg", Zn, Wn)) : f("", !0),
|
|
3126
|
+
s("span", null, g(A.name || A.id || "-"), 1)
|
|
3127
3127
|
])
|
|
3128
3128
|
], 42, zn);
|
|
3129
3129
|
}), 128))
|
|
@@ -3139,7 +3139,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3139
3139
|
], 64);
|
|
3140
3140
|
};
|
|
3141
3141
|
}
|
|
3142
|
-
}, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3142
|
+
}, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Qd = {
|
|
3143
3143
|
__name: "GlTextarea",
|
|
3144
3144
|
props: {
|
|
3145
3145
|
is_required: {
|
|
@@ -3420,13 +3420,13 @@ function vo(e, t, r, n, o, a) {
|
|
|
3420
3420
|
default: J((l) => [
|
|
3421
3421
|
s("div", lo, [
|
|
3422
3422
|
l.computed.total > l.computed.perPage ? (d(), u("span", io, [
|
|
3423
|
-
|
|
3423
|
+
x(" Showing "),
|
|
3424
3424
|
s("span", uo, g(l.computed.from), 1),
|
|
3425
|
-
|
|
3425
|
+
x(" to "),
|
|
3426
3426
|
s("span", co, g(l.computed.to), 1),
|
|
3427
|
-
|
|
3427
|
+
x(" of "),
|
|
3428
3428
|
s("span", fo, g(l.computed.total), 1),
|
|
3429
|
-
|
|
3429
|
+
x(" Entries ")
|
|
3430
3430
|
])) : f("", !0),
|
|
3431
3431
|
l.computed.total > l.computed.perPage ? (d(), u("ul", W({ key: 1 }, e.$attrs, {
|
|
3432
3432
|
class: ["flex items-center h-8 -space-x-px text-sm", {
|
|
@@ -3446,7 +3446,7 @@ function vo(e, t, r, n, o, a) {
|
|
|
3446
3446
|
"aria-label": "Previous",
|
|
3447
3447
|
tabindex: !l.computed.prevPageUrl && -1
|
|
3448
3448
|
}, ae(l.prevButtonEvents, !0)), [
|
|
3449
|
-
|
|
3449
|
+
T(e.$slots, "prev-nav", {}, () => [
|
|
3450
3450
|
ho,
|
|
3451
3451
|
mo
|
|
3452
3452
|
])
|
|
@@ -3474,7 +3474,7 @@ function vo(e, t, r, n, o, a) {
|
|
|
3474
3474
|
"aria-label": "Next",
|
|
3475
3475
|
tabindex: !l.computed.nextPageUrl && -1
|
|
3476
3476
|
}, ae(l.nextButtonEvents, !0)), [
|
|
3477
|
-
|
|
3477
|
+
T(e.$slots, "next-nav", {}, () => [
|
|
3478
3478
|
yo,
|
|
3479
3479
|
_o
|
|
3480
3480
|
])
|
|
@@ -3579,7 +3579,7 @@ const xo = /* @__PURE__ */ $(oo, [["render", vo]]), wo = {
|
|
|
3579
3579
|
"clip-rule": "evenodd"
|
|
3580
3580
|
})
|
|
3581
3581
|
])
|
|
3582
|
-
], -1),
|
|
3582
|
+
], -1), Ao = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, To = { 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" }, Io = { 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-200" }, Mo = ["onClick"], No = {
|
|
3583
3583
|
key: 0,
|
|
3584
3584
|
class: "ml-2"
|
|
3585
3585
|
}, Vo = {
|
|
@@ -3667,8 +3667,8 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3667
3667
|
])
|
|
3668
3668
|
])
|
|
3669
3669
|
]),
|
|
3670
|
-
s("div",
|
|
3671
|
-
s("table",
|
|
3670
|
+
s("div", Ao, [
|
|
3671
|
+
s("table", To, [
|
|
3672
3672
|
s("thead", Io, [
|
|
3673
3673
|
s("tr", null, [
|
|
3674
3674
|
(d(!0), u(v, null, k(r.columns, (c, h) => (d(), u("th", {
|
|
@@ -3676,7 +3676,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3676
3676
|
onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
|
|
3677
3677
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3678
3678
|
}, [
|
|
3679
|
-
|
|
3679
|
+
x(g(c.field_label) + " ", 1),
|
|
3680
3680
|
o.sortField === c.field_name ? (d(), u("span", No, [
|
|
3681
3681
|
o.sortOrder === "asc" ? (d(), u("i", Vo)) : (d(), u("i", Lo))
|
|
3682
3682
|
])) : f("", !0)
|
|
@@ -3705,9 +3705,9 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3705
3705
|
field: m.field_name,
|
|
3706
3706
|
xprops: r.xprops,
|
|
3707
3707
|
tdProps: m.tdProps,
|
|
3708
|
-
onDeleteAction: t[3] || (t[3] = (
|
|
3708
|
+
onDeleteAction: t[3] || (t[3] = (w) => a.GetItemLists())
|
|
3709
3709
|
}, null, 40, ["row", "field", "xprops", "tdProps"])) : (d(), u(v, { key: 1 }, [
|
|
3710
|
-
|
|
3710
|
+
x(g(c[m.field_name]), 1)
|
|
3711
3711
|
], 64))
|
|
3712
3712
|
])
|
|
3713
3713
|
], 8, Uo))), 128))
|
|
@@ -3727,7 +3727,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3727
3727
|
])
|
|
3728
3728
|
]);
|
|
3729
3729
|
}
|
|
3730
|
-
const
|
|
3730
|
+
const eu = /* @__PURE__ */ $(wo, [["render", Ho]]), Zo = {
|
|
3731
3731
|
components: {},
|
|
3732
3732
|
props: {
|
|
3733
3733
|
data: Array,
|
|
@@ -3923,7 +3923,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
3923
3923
|
onClick: (h) => a.sort(l),
|
|
3924
3924
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3925
3925
|
}, [
|
|
3926
|
-
|
|
3926
|
+
x(g(l) + " ", 1),
|
|
3927
3927
|
o.sortKey === l ? (d(), u("span", ll, g(o.sortOrder === 1 ? "▲" : "▼"), 1)) : f("", !0)
|
|
3928
3928
|
], 8, ol))), 128))
|
|
3929
3929
|
])
|
|
@@ -3965,13 +3965,13 @@ function jl(e, t, r, n, o, a) {
|
|
|
3965
3965
|
s("div", hl, [
|
|
3966
3966
|
s("div", null, [
|
|
3967
3967
|
s("p", ml, [
|
|
3968
|
-
|
|
3968
|
+
x(" Showing "),
|
|
3969
3969
|
s("span", bl, g(a.firstItemIndex), 1),
|
|
3970
|
-
|
|
3970
|
+
x(" to "),
|
|
3971
3971
|
s("span", pl, g(a.lastItemIndex), 1),
|
|
3972
|
-
|
|
3972
|
+
x(" of "),
|
|
3973
3973
|
s("span", yl, g(a.filteredData.length), 1),
|
|
3974
|
-
|
|
3974
|
+
x(" entries ")
|
|
3975
3975
|
])
|
|
3976
3976
|
]),
|
|
3977
3977
|
s("div", null, [
|
|
@@ -4019,10 +4019,10 @@ function jl(e, t, r, n, o, a) {
|
|
|
4019
4019
|
])
|
|
4020
4020
|
]);
|
|
4021
4021
|
}
|
|
4022
|
-
const
|
|
4022
|
+
const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
4023
4023
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4024
4024
|
role: "alert"
|
|
4025
|
-
},
|
|
4025
|
+
}, Tl = {
|
|
4026
4026
|
key: 0,
|
|
4027
4027
|
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"
|
|
4028
4028
|
}, Il = /* @__PURE__ */ s("svg", {
|
|
@@ -4099,8 +4099,8 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4099
4099
|
setTimeout(() => n("remove"), r.duration);
|
|
4100
4100
|
});
|
|
4101
4101
|
const n = t;
|
|
4102
|
-
return (o, a) => (d(), u("div",
|
|
4103
|
-
r.type === "success" ? (d(), u("div",
|
|
4102
|
+
return (o, a) => (d(), u("div", Al, [
|
|
4103
|
+
r.type === "success" ? (d(), u("div", Tl, Nl)) : f("", !0),
|
|
4104
4104
|
r.type === "error" ? (d(), u("div", Vl, Gl)) : f("", !0),
|
|
4105
4105
|
r.type === "warning" ? (d(), u("div", Fl, ql)) : f("", !0),
|
|
4106
4106
|
s("div", zl, g(r.message), 1),
|
|
@@ -4130,7 +4130,7 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4130
4130
|
}, $e = {
|
|
4131
4131
|
state: de,
|
|
4132
4132
|
methods: Yl
|
|
4133
|
-
},
|
|
4133
|
+
}, ru = {
|
|
4134
4134
|
__name: "GlToastList",
|
|
4135
4135
|
setup(e) {
|
|
4136
4136
|
function t(r) {
|
|
@@ -4172,7 +4172,7 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4172
4172
|
], ei = { 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" }, ti = {
|
|
4173
4173
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4174
4174
|
"aria-labelledby": "dropdownDividerButton"
|
|
4175
|
-
}, ri = { key: 0 }, si = ["href"], ai = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ni = { key: 1 }, oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4175
|
+
}, ri = { key: 0 }, si = ["href"], ai = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ni = { key: 1 }, oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), su = {
|
|
4176
4176
|
__name: "DatatableAction",
|
|
4177
4177
|
props: {
|
|
4178
4178
|
field: {
|
|
@@ -4213,11 +4213,11 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4213
4213
|
type: "success",
|
|
4214
4214
|
duration: 5e3
|
|
4215
4215
|
});
|
|
4216
|
-
}).catch((
|
|
4217
|
-
console.log(
|
|
4216
|
+
}).catch((w) => {
|
|
4217
|
+
console.log(w);
|
|
4218
4218
|
});
|
|
4219
4219
|
};
|
|
4220
|
-
return (
|
|
4220
|
+
return (w, C) => {
|
|
4221
4221
|
const L = De("click-outside");
|
|
4222
4222
|
return d(), u(v, null, [
|
|
4223
4223
|
Z(ue, {
|
|
@@ -4225,7 +4225,7 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4225
4225
|
onConfirmDelete: y,
|
|
4226
4226
|
onCancelDelete: c
|
|
4227
4227
|
}, null, 8, ["isOpen"]),
|
|
4228
|
-
e.row &&
|
|
4228
|
+
e.row && w.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div", Xl, [
|
|
4229
4229
|
s("button", {
|
|
4230
4230
|
onClick: l,
|
|
4231
4231
|
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",
|
|
@@ -4233,23 +4233,23 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4233
4233
|
}, Ql),
|
|
4234
4234
|
O(s("div", ei, [
|
|
4235
4235
|
s("ul", ti, [
|
|
4236
|
-
|
|
4236
|
+
w.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ri, [
|
|
4237
4237
|
s("a", {
|
|
4238
4238
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4239
4239
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4240
4240
|
}, [
|
|
4241
4241
|
ai,
|
|
4242
|
-
|
|
4242
|
+
x(" Edit")
|
|
4243
4243
|
], 8, si)
|
|
4244
4244
|
])) : f("", !0),
|
|
4245
|
-
|
|
4245
|
+
w.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ni, [
|
|
4246
4246
|
s("a", {
|
|
4247
4247
|
href: "#",
|
|
4248
4248
|
onClick: N(h, ["prevent"]),
|
|
4249
4249
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4250
4250
|
}, [
|
|
4251
4251
|
oi,
|
|
4252
|
-
|
|
4252
|
+
x(" Remove")
|
|
4253
4253
|
])
|
|
4254
4254
|
])) : f("", !0)
|
|
4255
4255
|
])
|
|
@@ -4278,7 +4278,7 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4278
4278
|
], ui = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ci = {
|
|
4279
4279
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4280
4280
|
"aria-labelledby": "dropdownDividerButton"
|
|
4281
|
-
}, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4281
|
+
}, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), au = {
|
|
4282
4282
|
__name: "DatatableDeleteAction",
|
|
4283
4283
|
props: {
|
|
4284
4284
|
field: {
|
|
@@ -4319,11 +4319,11 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4319
4319
|
type: "success",
|
|
4320
4320
|
duration: 5e3
|
|
4321
4321
|
});
|
|
4322
|
-
}).catch((
|
|
4323
|
-
console.log(
|
|
4322
|
+
}).catch((w) => {
|
|
4323
|
+
console.log(w);
|
|
4324
4324
|
});
|
|
4325
4325
|
};
|
|
4326
|
-
return (
|
|
4326
|
+
return (w, C) => {
|
|
4327
4327
|
const L = De("click-outside");
|
|
4328
4328
|
return d(), u(v, null, [
|
|
4329
4329
|
Z(ue, {
|
|
@@ -4331,7 +4331,7 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4331
4331
|
onConfirmDelete: y,
|
|
4332
4332
|
onCancelDelete: c
|
|
4333
4333
|
}, null, 8, ["isOpen"]),
|
|
4334
|
-
e.row &&
|
|
4334
|
+
e.row && w.can(`delete_${e.xprops.permission}`) ? O((d(), u("div", li, [
|
|
4335
4335
|
s("button", {
|
|
4336
4336
|
onClick: l,
|
|
4337
4337
|
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",
|
|
@@ -4339,14 +4339,14 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4339
4339
|
}, di),
|
|
4340
4340
|
O(s("div", ui, [
|
|
4341
4341
|
s("ul", ci, [
|
|
4342
|
-
|
|
4342
|
+
w.can(`delete_${e.xprops.permission}`) ? (d(), u("li", fi, [
|
|
4343
4343
|
s("a", {
|
|
4344
4344
|
href: "#",
|
|
4345
4345
|
onClick: N(h, ["prevent"]),
|
|
4346
4346
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4347
4347
|
}, [
|
|
4348
4348
|
gi,
|
|
4349
|
-
|
|
4349
|
+
x(" Remove")
|
|
4350
4350
|
])
|
|
4351
4351
|
])) : f("", !0)
|
|
4352
4352
|
])
|
|
@@ -4426,7 +4426,7 @@ function vi(e, t, r, n, o, a) {
|
|
|
4426
4426
|
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"
|
|
4427
4427
|
}, [
|
|
4428
4428
|
bi,
|
|
4429
|
-
|
|
4429
|
+
x(" Download ")
|
|
4430
4430
|
], 8, mi)
|
|
4431
4431
|
]))), 128)) : a.isString ? (d(), u("div", pi, [
|
|
4432
4432
|
s("a", {
|
|
@@ -4436,12 +4436,12 @@ function vi(e, t, r, n, o, a) {
|
|
|
4436
4436
|
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"
|
|
4437
4437
|
}, [
|
|
4438
4438
|
_i,
|
|
4439
|
-
|
|
4439
|
+
x(" Download ")
|
|
4440
4440
|
], 8, yi)
|
|
4441
4441
|
])) : f("", !0)
|
|
4442
4442
|
]);
|
|
4443
4443
|
}
|
|
4444
|
-
const
|
|
4444
|
+
const nu = /* @__PURE__ */ $(hi, [["render", vi]]), xi = {
|
|
4445
4445
|
props: ["field", "row"],
|
|
4446
4446
|
computed: {
|
|
4447
4447
|
isArray() {
|
|
@@ -4502,7 +4502,7 @@ function Di(e, t, r, n, o, a) {
|
|
|
4502
4502
|
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"
|
|
4503
4503
|
}, [
|
|
4504
4504
|
ki,
|
|
4505
|
-
|
|
4505
|
+
x(" Download ")
|
|
4506
4506
|
], 8, wi)
|
|
4507
4507
|
]))), 128)) : a.isObject ? (d(), u("div", $i, [
|
|
4508
4508
|
s("a", {
|
|
@@ -4512,12 +4512,12 @@ function Di(e, t, r, n, o, a) {
|
|
|
4512
4512
|
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"
|
|
4513
4513
|
}, [
|
|
4514
4514
|
Si,
|
|
4515
|
-
|
|
4515
|
+
x(" Download ")
|
|
4516
4516
|
], 8, Ci)
|
|
4517
4517
|
])) : f("", !0)
|
|
4518
4518
|
]);
|
|
4519
4519
|
}
|
|
4520
|
-
const
|
|
4520
|
+
const ou = /* @__PURE__ */ $(xi, [["render", Di]]), Oi = {
|
|
4521
4521
|
props: ["field", "row", "tdProps"]
|
|
4522
4522
|
}, Pi = { key: 0 }, Ei = ["innerHTML"];
|
|
4523
4523
|
function ji(e, t, r, n, o, a) {
|
|
@@ -4528,7 +4528,7 @@ function ji(e, t, r, n, o, a) {
|
|
|
4528
4528
|
}, null, 8, Ei)
|
|
4529
4529
|
])) : f("", !0);
|
|
4530
4530
|
}
|
|
4531
|
-
const
|
|
4531
|
+
const lu = /* @__PURE__ */ $(Oi, [["render", ji]]), Ai = {
|
|
4532
4532
|
props: ["field", "row", "tdProps"],
|
|
4533
4533
|
computed: {
|
|
4534
4534
|
entry() {
|
|
@@ -4542,19 +4542,19 @@ const Jd = /* @__PURE__ */ $(Oi, [["render", ji]]), Ti = {
|
|
|
4542
4542
|
return typeof this.row[this.entry.key] == "object";
|
|
4543
4543
|
}
|
|
4544
4544
|
}
|
|
4545
|
-
},
|
|
4545
|
+
}, Ti = { class: "flex flex-wrap gap-2" }, Ii = {
|
|
4546
4546
|
key: 1,
|
|
4547
4547
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4548
4548
|
};
|
|
4549
4549
|
function Mi(e, t, r, n, o, a) {
|
|
4550
|
-
return d(), u("div",
|
|
4550
|
+
return d(), u("div", Ti, [
|
|
4551
4551
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4552
4552
|
key: l,
|
|
4553
4553
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4554
4554
|
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Ii, g(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
|
|
4555
4555
|
]);
|
|
4556
4556
|
}
|
|
4557
|
-
const
|
|
4557
|
+
const iu = /* @__PURE__ */ $(Ai, [["render", Mi]]), Ni = {
|
|
4558
4558
|
props: ["field", "row", "tdProps"]
|
|
4559
4559
|
}, Vi = { key: 0 }, Li = { class: "m-1 d-inline-block" }, Bi = ["href", "title"], Gi = ["src", "alt", "title"];
|
|
4560
4560
|
function Fi(e, t, r, n, o, a) {
|
|
@@ -4574,7 +4574,7 @@ function Fi(e, t, r, n, o, a) {
|
|
|
4574
4574
|
])
|
|
4575
4575
|
])) : f("", !0);
|
|
4576
4576
|
}
|
|
4577
|
-
const
|
|
4577
|
+
const du = /* @__PURE__ */ $(Ni, [["render", Fi], ["__scopeId", "data-v-3a28c02c"]]), Ri = {
|
|
4578
4578
|
props: ["field", "row", "tdProps"],
|
|
4579
4579
|
computed: {
|
|
4580
4580
|
isActive() {
|
|
@@ -4592,14 +4592,14 @@ function Ki(e, t, r, n, o, a) {
|
|
|
4592
4592
|
return d(), u("div", Ui, [
|
|
4593
4593
|
a.isActive ? (d(), u("span", qi, [
|
|
4594
4594
|
zi,
|
|
4595
|
-
|
|
4595
|
+
x(" Active ")
|
|
4596
4596
|
])) : a.isActive ? f("", !0) : (d(), u("span", Hi, [
|
|
4597
4597
|
Zi,
|
|
4598
|
-
|
|
4598
|
+
x(" Inactive ")
|
|
4599
4599
|
]))
|
|
4600
4600
|
]);
|
|
4601
4601
|
}
|
|
4602
|
-
const
|
|
4602
|
+
const uu = /* @__PURE__ */ $(Ri, [["render", Ki]]), Wi = {
|
|
4603
4603
|
props: ["field", "row", "tdProps"],
|
|
4604
4604
|
computed: {
|
|
4605
4605
|
hasLabelColor(e) {
|
|
@@ -4632,27 +4632,27 @@ function ld(e, t, r, n, o, a) {
|
|
|
4632
4632
|
return d(), u("div", Yi, [
|
|
4633
4633
|
a.hasLabelColor == "green" ? (d(), u("span", Xi, [
|
|
4634
4634
|
Ji,
|
|
4635
|
-
|
|
4635
|
+
x(" " + g(this.row[this.field]), 1)
|
|
4636
4636
|
])) : f("", !0),
|
|
4637
4637
|
a.hasLabelColor == "red" ? (d(), u("span", Qi, [
|
|
4638
4638
|
ed,
|
|
4639
|
-
|
|
4639
|
+
x(" " + g(this.row[this.field]), 1)
|
|
4640
4640
|
])) : f("", !0),
|
|
4641
4641
|
a.hasLabelColor == "yellow" ? (d(), u("span", td, [
|
|
4642
4642
|
rd,
|
|
4643
|
-
|
|
4643
|
+
x(" " + g(this.row[this.field]), 1)
|
|
4644
4644
|
])) : f("", !0),
|
|
4645
4645
|
a.hasLabelColor == "default" ? (d(), u("span", sd, [
|
|
4646
4646
|
ad,
|
|
4647
|
-
|
|
4647
|
+
x(" " + g(this.row[this.field]), 1)
|
|
4648
4648
|
])) : f("", !0),
|
|
4649
4649
|
a.hasLabelColor == "animate" ? (d(), u("span", nd, [
|
|
4650
4650
|
od,
|
|
4651
|
-
|
|
4651
|
+
x(" " + g(this.row[this.field]), 1)
|
|
4652
4652
|
])) : f("", !0)
|
|
4653
4653
|
]);
|
|
4654
4654
|
}
|
|
4655
|
-
const
|
|
4655
|
+
const cu = /* @__PURE__ */ $(Wi, [["render", ld]]), id = {
|
|
4656
4656
|
props: ["field", "row", "tdProps"],
|
|
4657
4657
|
computed: {
|
|
4658
4658
|
hasLabelColor() {
|
|
@@ -4710,7 +4710,7 @@ function ud(e, t, r, n, o, a) {
|
|
|
4710
4710
|
}, g(this.row[this.field]), 3)) : f("", !0)
|
|
4711
4711
|
]);
|
|
4712
4712
|
}
|
|
4713
|
-
const
|
|
4713
|
+
const fu = /* @__PURE__ */ $(id, [["render", ud]]), cd = {
|
|
4714
4714
|
props: ["field", "row", "tdProps"],
|
|
4715
4715
|
computed: {
|
|
4716
4716
|
formattedDate() {
|
|
@@ -4729,7 +4729,38 @@ const su = /* @__PURE__ */ $(id, [["render", ud]]), cd = {
|
|
|
4729
4729
|
function gd(e, t, r, n, o, a) {
|
|
4730
4730
|
return d(), u("div", fd, g(a.formattedDate), 1);
|
|
4731
4731
|
}
|
|
4732
|
-
const
|
|
4732
|
+
const gu = /* @__PURE__ */ $(cd, [["render", gd]]), hd = {
|
|
4733
|
+
props: ["field", "row", "tdProps"]
|
|
4734
|
+
}, md = { class: "flex flex-wrap gap-2 text-nowrap" }, bd = {
|
|
4735
|
+
key: 0,
|
|
4736
|
+
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"
|
|
4737
|
+
}, pd = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4738
|
+
/* @__PURE__ */ s("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4739
|
+
/* @__PURE__ */ s("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4740
|
+
], -1), yd = {
|
|
4741
|
+
key: 1,
|
|
4742
|
+
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"
|
|
4743
|
+
}, _d = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), vd = {
|
|
4744
|
+
key: 2,
|
|
4745
|
+
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"
|
|
4746
|
+
}, xd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
4747
|
+
function wd(e, t, r, n, o, a) {
|
|
4748
|
+
return d(), u("div", md, [
|
|
4749
|
+
r.row[r.field] === 0 ? (d(), u("span", bd, [
|
|
4750
|
+
pd,
|
|
4751
|
+
x(" Connecting")
|
|
4752
|
+
])) : f("", !0),
|
|
4753
|
+
r.row[r.field] === 2 ? (d(), u("span", yd, [
|
|
4754
|
+
_d,
|
|
4755
|
+
x(" Paused ")
|
|
4756
|
+
])) : f("", !0),
|
|
4757
|
+
r.row[r.field] === 1 ? (d(), u("span", vd, [
|
|
4758
|
+
xd,
|
|
4759
|
+
x(" Active ")
|
|
4760
|
+
])) : f("", !0)
|
|
4761
|
+
]);
|
|
4762
|
+
}
|
|
4763
|
+
const hu = /* @__PURE__ */ $(hd, [["render", wd]]), kd = {
|
|
4733
4764
|
props: ["isOpen", "title", "button_text"],
|
|
4734
4765
|
methods: {
|
|
4735
4766
|
confirmAction() {
|
|
@@ -4739,35 +4770,35 @@ const au = /* @__PURE__ */ $(cd, [["render", gd]]), hd = {
|
|
|
4739
4770
|
this.$emit("cancel-action");
|
|
4740
4771
|
}
|
|
4741
4772
|
}
|
|
4742
|
-
},
|
|
4773
|
+
}, $d = {
|
|
4743
4774
|
key: 0,
|
|
4744
4775
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4745
4776
|
role: "dialog",
|
|
4746
4777
|
"aria-modal": "true"
|
|
4747
|
-
},
|
|
4778
|
+
}, Cd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Sd = /* @__PURE__ */ s("div", {
|
|
4748
4779
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4749
4780
|
"aria-hidden": "true"
|
|
4750
|
-
}, null, -1),
|
|
4781
|
+
}, null, -1), Dd = /* @__PURE__ */ s("span", {
|
|
4751
4782
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4752
4783
|
"aria-hidden": "true"
|
|
4753
|
-
}, "", -1),
|
|
4754
|
-
function
|
|
4755
|
-
return r.isOpen ? (d(), u("div",
|
|
4756
|
-
s("div",
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
s("div",
|
|
4760
|
-
s("div",
|
|
4761
|
-
s("div",
|
|
4762
|
-
s("div",
|
|
4763
|
-
s("h3",
|
|
4764
|
-
s("div",
|
|
4765
|
-
|
|
4784
|
+
}, "", -1), Od = { 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" }, Pd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Ed = { class: "sm:flex sm:items-start" }, jd = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Ad = { class: "text-lg font-medium leading-6 text-gray-900" }, Td = { class: "mt-2" }, Id = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4785
|
+
function Md(e, t, r, n, o, a) {
|
|
4786
|
+
return r.isOpen ? (d(), u("div", $d, [
|
|
4787
|
+
s("div", Cd, [
|
|
4788
|
+
Sd,
|
|
4789
|
+
Dd,
|
|
4790
|
+
s("div", Od, [
|
|
4791
|
+
s("div", Pd, [
|
|
4792
|
+
s("div", Ed, [
|
|
4793
|
+
s("div", jd, [
|
|
4794
|
+
s("h3", Ad, g(r.title), 1),
|
|
4795
|
+
s("div", Td, [
|
|
4796
|
+
T(e.$slots, "default")
|
|
4766
4797
|
])
|
|
4767
4798
|
])
|
|
4768
4799
|
])
|
|
4769
4800
|
]),
|
|
4770
|
-
s("div",
|
|
4801
|
+
s("div", Id, [
|
|
4771
4802
|
s("button", {
|
|
4772
4803
|
onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
4773
4804
|
type: "button",
|
|
@@ -4783,41 +4814,42 @@ function Sd(e, t, r, n, o, a) {
|
|
|
4783
4814
|
])
|
|
4784
4815
|
])) : f("", !0);
|
|
4785
4816
|
}
|
|
4786
|
-
const
|
|
4817
|
+
const mu = /* @__PURE__ */ $(kd, [["render", Md]]);
|
|
4787
4818
|
export {
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4819
|
+
gu as GLDatatableDateTime,
|
|
4820
|
+
hu as GLDatatableStatusServer,
|
|
4821
|
+
Rd as GlButton,
|
|
4822
|
+
Gd as GlCard,
|
|
4823
|
+
mu as GlConfirmationModal,
|
|
4824
|
+
tu as GlDataTable,
|
|
4825
|
+
eu as GlDataTableServerSide,
|
|
4826
|
+
su as GlDatatableAction,
|
|
4827
|
+
au as GlDatatableDeleteAction,
|
|
4828
|
+
nu as GlDatatableFileDownload,
|
|
4829
|
+
ou as GlDatatableFiles,
|
|
4830
|
+
lu as GlDatatableHtml,
|
|
4831
|
+
iu as GlDatatableList,
|
|
4832
|
+
du as GlDatatablePicture,
|
|
4833
|
+
uu as GlDatatableStatus,
|
|
4834
|
+
cu as GlDatatableStatusGeneral,
|
|
4835
|
+
fu as GlDatatableStatusSpecficColor,
|
|
4804
4836
|
ue as GlDeleteConfirmationModal,
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4837
|
+
Jd as GlDropdown,
|
|
4838
|
+
Vd as GlFilesUpload,
|
|
4839
|
+
Bd as GlLanguageSelector,
|
|
4840
|
+
Yd as GlModal,
|
|
4841
|
+
Wd as GlMultiItemSlide,
|
|
4842
|
+
Fd as GlMultiSelectDropdown,
|
|
4843
|
+
Ld as GlNotify,
|
|
4844
|
+
Kd as GlTab,
|
|
4845
|
+
Zd as GlTabsWrapper,
|
|
4814
4846
|
xo as GlTailwindPagination,
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4847
|
+
Hd as GlTextInput,
|
|
4848
|
+
zd as GlTextTranslate,
|
|
4849
|
+
Qd as GlTextarea,
|
|
4850
|
+
Ud as GlTextareaTranslate,
|
|
4851
|
+
qd as GlTinymceTranslate,
|
|
4820
4852
|
$e as GlToast,
|
|
4821
|
-
|
|
4822
|
-
|
|
4853
|
+
ru as GlToastList,
|
|
4854
|
+
Xd as GlToggleBox
|
|
4823
4855
|
};
|