golden-logic-ui 1.0.86 → 1.0.88
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 +308 -314
- package/dist/golden-logic-ui.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -155,7 +155,7 @@ function U(e, t) {
|
|
|
155
155
|
return t(e[r], r);
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Ae(e) {
|
|
159
159
|
return e !== null && typeof e == "object";
|
|
160
160
|
}
|
|
161
161
|
function Dt(e) {
|
|
@@ -170,7 +170,7 @@ function Ot(e, t) {
|
|
|
170
170
|
return e(t);
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function je(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);
|
|
@@ -219,10 +219,10 @@ function ee(e, t, r, n, o) {
|
|
|
219
219
|
Et(e, x, m, h);
|
|
220
220
|
}), n.forEachAction(function(m, y) {
|
|
221
221
|
var x = m.root ? y : i + y, C = m.handler || m;
|
|
222
|
-
|
|
222
|
+
At(e, x, C, h);
|
|
223
223
|
}), n.forEachGetter(function(m, y) {
|
|
224
224
|
var x = i + y;
|
|
225
|
-
|
|
225
|
+
jt(e, x, m, h);
|
|
226
226
|
}), n.forEachChild(function(m, y) {
|
|
227
227
|
ee(e, t, r.concat(y), m, o);
|
|
228
228
|
});
|
|
@@ -284,7 +284,7 @@ function Et(e, t, r, n) {
|
|
|
284
284
|
r.call(e, n.state, i);
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function At(e, t, r, n) {
|
|
288
288
|
var o = e._actions[t] || (e._actions[t] = []);
|
|
289
289
|
o.push(function(i) {
|
|
290
290
|
var l = r.call(e, {
|
|
@@ -300,7 +300,7 @@ function jt(e, t, r, n) {
|
|
|
300
300
|
}) : l;
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function jt(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;
|
|
@@ -331,7 +331,7 @@ function fe(e, t) {
|
|
|
331
331
|
}, e);
|
|
332
332
|
}
|
|
333
333
|
function Q(e, t, r) {
|
|
334
|
-
return
|
|
334
|
+
return Ae(e) && e.type && (r = 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: r };
|
|
335
335
|
}
|
|
336
336
|
var It = "vuex bindings", ve = "vuex:mutations", ne = "vuex:actions", H = "vuex", Mt = 0;
|
|
337
337
|
function Nt(e, t) {
|
|
@@ -666,7 +666,7 @@ function Ut(e, t, r, n, o) {
|
|
|
666
666
|
var a = t + " should be " + o + ' but "' + t + "." + r + '"';
|
|
667
667
|
return e.length > 0 && (a += ' in module "' + e.join(".") + '"'), a += " is " + JSON.stringify(n) + ".", a;
|
|
668
668
|
}
|
|
669
|
-
var
|
|
669
|
+
var A = function e(t) {
|
|
670
670
|
var r = this;
|
|
671
671
|
t === void 0 && (t = {}), process.env.NODE_ENV !== "production" && (I(typeof Promise < "u", "vuex requires a Promise polyfill in this browser."), I(this instanceof e, "store must be called with the new operator."));
|
|
672
672
|
var n = t.plugins;
|
|
@@ -686,7 +686,7 @@ var j = function e(t) {
|
|
|
686
686
|
return y(r);
|
|
687
687
|
});
|
|
688
688
|
}, ge = { state: { configurable: !0 } };
|
|
689
|
-
|
|
689
|
+
A.prototype.install = function(t, r) {
|
|
690
690
|
t.provide(r || Pe, this), t.config.globalProperties.$store = this;
|
|
691
691
|
var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
|
|
692
692
|
n && Nt(t, this);
|
|
@@ -697,7 +697,7 @@ ge.state.get = function() {
|
|
|
697
697
|
ge.state.set = function(e) {
|
|
698
698
|
process.env.NODE_ENV !== "production" && I(!1, "use store.replaceState() to explicit replace store state.");
|
|
699
699
|
};
|
|
700
|
-
|
|
700
|
+
A.prototype.commit = function(t, r, n) {
|
|
701
701
|
var o = this, a = Q(t, r, n), i = a.type, l = a.payload, c = a.options, h = { type: i, payload: l }, m = this._mutations[i];
|
|
702
702
|
if (!m) {
|
|
703
703
|
process.env.NODE_ENV !== "production" && console.error("[vuex] unknown mutation type: " + i);
|
|
@@ -713,7 +713,7 @@ j.prototype.commit = function(t, r, n) {
|
|
|
713
713
|
"[vuex] mutation type: " + i + ". Silent option has been removed. Use the filter functionality in the vue-devtools"
|
|
714
714
|
);
|
|
715
715
|
};
|
|
716
|
-
|
|
716
|
+
A.prototype.dispatch = function(t, r) {
|
|
717
717
|
var n = this, o = Q(t, r), a = o.type, i = o.payload, l = { type: a, payload: i }, c = this._actions[a];
|
|
718
718
|
if (!c) {
|
|
719
719
|
process.env.NODE_ENV !== "production" && console.error("[vuex] unknown action type: " + a);
|
|
@@ -757,46 +757,46 @@ j.prototype.dispatch = function(t, r) {
|
|
|
757
757
|
});
|
|
758
758
|
});
|
|
759
759
|
};
|
|
760
|
-
|
|
761
|
-
return
|
|
760
|
+
A.prototype.subscribe = function(t, r) {
|
|
761
|
+
return je(t, this._subscribers, r);
|
|
762
762
|
};
|
|
763
|
-
|
|
763
|
+
A.prototype.subscribeAction = function(t, r) {
|
|
764
764
|
var n = typeof t == "function" ? { before: t } : t;
|
|
765
|
-
return
|
|
765
|
+
return je(n, this._actionSubscribers, r);
|
|
766
766
|
};
|
|
767
|
-
|
|
767
|
+
A.prototype.watch = function(t, r, n) {
|
|
768
768
|
var o = this;
|
|
769
769
|
return process.env.NODE_ENV !== "production" && I(typeof t == "function", "store.watch only accepts a function."), Y(function() {
|
|
770
770
|
return t(o.state, o.getters);
|
|
771
771
|
}, r, Object.assign({}, n));
|
|
772
772
|
};
|
|
773
|
-
|
|
773
|
+
A.prototype.replaceState = function(t) {
|
|
774
774
|
var r = this;
|
|
775
775
|
this._withCommit(function() {
|
|
776
776
|
r._state.data = t;
|
|
777
777
|
});
|
|
778
778
|
};
|
|
779
|
-
|
|
779
|
+
A.prototype.registerModule = function(t, r, n) {
|
|
780
780
|
n === void 0 && (n = {}), typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && (I(Array.isArray(t), "module path must be a string or an Array."), I(t.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(t, r), ee(this, this.state, t, this._modules.get(t), n.preserveState), ce(this, this.state);
|
|
781
781
|
};
|
|
782
|
-
|
|
782
|
+
A.prototype.unregisterModule = function(t) {
|
|
783
783
|
var r = this;
|
|
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
|
+
A.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
|
+
A.prototype.hotUpdate = function(t) {
|
|
793
793
|
this._modules.update(t), Te(this, !0);
|
|
794
794
|
};
|
|
795
|
-
|
|
795
|
+
A.prototype._withCommit = function(t) {
|
|
796
796
|
var r = this._committing;
|
|
797
797
|
this._committing = !0, t(), this._committing = r;
|
|
798
798
|
};
|
|
799
|
-
Object.defineProperties(
|
|
799
|
+
Object.defineProperties(A.prototype, ge);
|
|
800
800
|
var qt = Ue(function(e, t) {
|
|
801
801
|
var r = {};
|
|
802
802
|
return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Re(t).forEach(function(n) {
|
|
@@ -838,7 +838,7 @@ function Re(e) {
|
|
|
838
838
|
}) : [];
|
|
839
839
|
}
|
|
840
840
|
function he(e) {
|
|
841
|
-
return Array.isArray(e) ||
|
|
841
|
+
return Array.isArray(e) || Ae(e);
|
|
842
842
|
}
|
|
843
843
|
function Ue(e) {
|
|
844
844
|
return function(t, r) {
|
|
@@ -1121,7 +1121,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Ud = /* @__PURE__ */ k(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 qd = /* @__PURE__ */ k(kr, [["render", Er]]), Ar = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1248,9 +1248,9 @@ const Rd = /* @__PURE__ */ k(kr, [["render", Er]]), jr = {
|
|
|
1248
1248
|
},
|
|
1249
1249
|
mounted() {
|
|
1250
1250
|
}
|
|
1251
|
-
},
|
|
1251
|
+
}, jr = { 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", jr, [
|
|
1254
1254
|
(d(!0), u(v, null, $(o.locals, (i, l) => (d(), u("li", null, [
|
|
1255
1255
|
s("input", {
|
|
1256
1256
|
type: "radio",
|
|
@@ -1272,10 +1272,10 @@ function Mr(e, t, r, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const zd = /* @__PURE__ */ k(Ar, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Lr = { 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
|
+
}, Hd = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1586,7 +1586,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const Zd = /* @__PURE__ */ k(Gr, [["render", ns]]), os = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1688,7 +1688,7 @@ function is(e, t, r, n, o, a) {
|
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const Kd = /* @__PURE__ */ k(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" }, Wd = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1824,7 +1824,7 @@ const Hd = /* @__PURE__ */ k(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" }, Yd = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1963,7 +1963,7 @@ const Hd = /* @__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"],
|
|
1966
|
+
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], As = ["id"], js = /* @__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"], Ls = { class: "gl-span-form-error" }, Vs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Xd = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2051,8 +2051,8 @@ const Hd = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2051
2051
|
s("p", {
|
|
2052
2052
|
id: e.field_name,
|
|
2053
2053
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2054
|
-
}, g(e.model_value), 9,
|
|
2055
|
-
|
|
2054
|
+
}, g(e.model_value), 9, As),
|
|
2055
|
+
js
|
|
2056
2056
|
], 2)) : f("", !0),
|
|
2057
2057
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2058
2058
|
key: 1,
|
|
@@ -2096,7 +2096,7 @@ const Hd = /* @__PURE__ */ k(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", "placeholder"], 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", "placeholder"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Jd = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2237,7 +2237,7 @@ function ea(e, t, r, n, o, a) {
|
|
|
2237
2237
|
])
|
|
2238
2238
|
], 64);
|
|
2239
2239
|
}
|
|
2240
|
-
const
|
|
2240
|
+
const Qd = /* @__PURE__ */ k(Hs, [["render", ea]]), ta = {
|
|
2241
2241
|
props: ["title"],
|
|
2242
2242
|
setup() {
|
|
2243
2243
|
return {
|
|
@@ -2252,7 +2252,7 @@ function sa(e, t, r, n, o, a) {
|
|
|
2252
2252
|
[F, r.title == n.selectedTitle]
|
|
2253
2253
|
]);
|
|
2254
2254
|
}
|
|
2255
|
-
const
|
|
2255
|
+
const eu = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
|
|
2256
2256
|
props: {
|
|
2257
2257
|
elements_to_show_prop: {
|
|
2258
2258
|
type: Number,
|
|
@@ -2438,8 +2438,8 @@ const Jd = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
|
|
|
2438
2438
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2439
2439
|
}, null, -1)), Pa = [
|
|
2440
2440
|
Oa
|
|
2441
|
-
], Ea = ["onClick"],
|
|
2442
|
-
|
|
2441
|
+
], Ea = ["onClick"], Aa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), ja = [
|
|
2442
|
+
Aa
|
|
2443
2443
|
], Ta = {
|
|
2444
2444
|
key: 1,
|
|
2445
2445
|
class: "flex justify-between pl-5 pr-5"
|
|
@@ -2600,7 +2600,7 @@ function dn(e, t, r, n, o, a) {
|
|
|
2600
2600
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2601
2601
|
key: i,
|
|
2602
2602
|
onClick: (l) => a.setDot(i)
|
|
2603
|
-
},
|
|
2603
|
+
}, ja, 10, Ea))), 128))
|
|
2604
2604
|
], 2)) : f("", !0),
|
|
2605
2605
|
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ta, [
|
|
2606
2606
|
s("div", {
|
|
@@ -2653,7 +2653,7 @@ function dn(e, t, r, n, o, a) {
|
|
|
2653
2653
|
], 10, na)
|
|
2654
2654
|
]);
|
|
2655
2655
|
}
|
|
2656
|
-
const
|
|
2656
|
+
const tu = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
|
|
2657
2657
|
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",
|
|
2658
2658
|
tabindex: "-1",
|
|
2659
2659
|
"aria-hidden": "true"
|
|
@@ -2673,7 +2673,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2673
2673
|
])
|
|
2674
2674
|
], -1), mn = [
|
|
2675
2675
|
hn
|
|
2676
|
-
], 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" },
|
|
2676
|
+
], 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" }, ru = {
|
|
2677
2677
|
__name: "GlModal",
|
|
2678
2678
|
props: {
|
|
2679
2679
|
is_open: {
|
|
@@ -2741,7 +2741,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2741
2741
|
[F, e.is_open]
|
|
2742
2742
|
]);
|
|
2743
2743
|
}
|
|
2744
|
-
}, 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" },
|
|
2744
|
+
}, 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" }, su = {
|
|
2745
2745
|
__name: "GlToggleBox",
|
|
2746
2746
|
props: {
|
|
2747
2747
|
is_required: {
|
|
@@ -2846,7 +2846,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2846
2846
|
], 2))
|
|
2847
2847
|
], 64));
|
|
2848
2848
|
}
|
|
2849
|
-
}, Pn = { class: "font-bold ptext-lg dark:text-white" }, En = { class: "mt-3 mb-4" },
|
|
2849
|
+
}, Pn = { class: "font-bold ptext-lg dark:text-white" }, En = { 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" }, jn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Tn = ["name", "id", "value"], In = {
|
|
2850
2850
|
key: 0,
|
|
2851
2851
|
class: "dropdown"
|
|
2852
2852
|
}, 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" }, Ln = ["value", "placeholder"], Vn = { 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", {
|
|
@@ -2883,7 +2883,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2883
2883
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2884
2884
|
}, null, -1), Wn = [
|
|
2885
2885
|
Kn
|
|
2886
|
-
], 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" },
|
|
2886
|
+
], 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" }, au = {
|
|
2887
2887
|
__name: "GlDropdown",
|
|
2888
2888
|
props: {
|
|
2889
2889
|
modelValue: {
|
|
@@ -3046,9 +3046,9 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3046
3046
|
}, [
|
|
3047
3047
|
s("h3", Pn, g(e.label_name), 1),
|
|
3048
3048
|
s("p", En, [
|
|
3049
|
-
s("span",
|
|
3049
|
+
s("span", An, g((E = y.value) == null ? void 0 : E.name), 1)
|
|
3050
3050
|
]),
|
|
3051
|
-
|
|
3051
|
+
jn
|
|
3052
3052
|
], 2)) : f("", !0),
|
|
3053
3053
|
e.show ? f("", !0) : (d(), u("div", {
|
|
3054
3054
|
key: 1,
|
|
@@ -3077,21 +3077,21 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3077
3077
|
"gl-input-form-invalid": e.error_message !== ""
|
|
3078
3078
|
}, "pl-8 pr-2 showOptions"]),
|
|
3079
3079
|
ref: e.field_name,
|
|
3080
|
-
onClick: D[0] || (D[0] = (
|
|
3080
|
+
onClick: D[0] || (D[0] = (j) => re()),
|
|
3081
3081
|
value: (ye = y.value) == null ? void 0 : ye.name,
|
|
3082
3082
|
placeholder: e.placeholder,
|
|
3083
3083
|
autocomplete: "off",
|
|
3084
3084
|
readonly: ""
|
|
3085
3085
|
}, null, 10, Ln),
|
|
3086
3086
|
O(s("i", {
|
|
3087
|
-
onClick: D[1] || (D[1] = N((
|
|
3087
|
+
onClick: D[1] || (D[1] = N((j) => Ye(), ["stop"])),
|
|
3088
3088
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3089
3089
|
style: { top: "13px" }
|
|
3090
3090
|
}, null, 512), [
|
|
3091
3091
|
[F, te(y.value) && e.has_cancel]
|
|
3092
3092
|
]),
|
|
3093
3093
|
s("i", {
|
|
3094
|
-
onClick: D[2] || (D[2] = (
|
|
3094
|
+
onClick: D[2] || (D[2] = (j) => !l.value && re()),
|
|
3095
3095
|
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"]),
|
|
3096
3096
|
style: { top: "11px" }
|
|
3097
3097
|
}, null, 2)
|
|
@@ -3103,11 +3103,11 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3103
3103
|
Rn,
|
|
3104
3104
|
O(s("input", {
|
|
3105
3105
|
type: "search",
|
|
3106
|
-
"onUpdate:modelValue": D[3] || (D[3] = (
|
|
3106
|
+
"onUpdate:modelValue": D[3] || (D[3] = (j) => c.value = j),
|
|
3107
3107
|
ref: o.value,
|
|
3108
3108
|
id: `${e.field_name}search${h.value}`,
|
|
3109
3109
|
onKeydown: C,
|
|
3110
|
-
onBlur: D[4] || (D[4] = (
|
|
3110
|
+
onBlur: D[4] || (D[4] = (j) => pe()),
|
|
3111
3111
|
autocomplete: "off",
|
|
3112
3112
|
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",
|
|
3113
3113
|
placeholder: "Search ..."
|
|
@@ -3117,18 +3117,18 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3117
3117
|
])
|
|
3118
3118
|
]),
|
|
3119
3119
|
s("div", qn, [
|
|
3120
|
-
(d(!0), u(v, null, $(x.value, (
|
|
3120
|
+
(d(!0), u(v, null, $(x.value, (j, se) => {
|
|
3121
3121
|
var _e;
|
|
3122
3122
|
return d(), u("div", {
|
|
3123
3123
|
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" : ""]),
|
|
3124
|
-
onClick: (Xe) => be(
|
|
3125
|
-
onMousedown: (Xe) => be(
|
|
3124
|
+
onClick: (Xe) => be(j),
|
|
3125
|
+
onMousedown: (Xe) => be(j),
|
|
3126
3126
|
key: se,
|
|
3127
3127
|
id: `${se + 1}${h.value}`
|
|
3128
3128
|
}, [
|
|
3129
3129
|
s("div", Hn, [
|
|
3130
|
-
((_e = y.value) == null ? void 0 : _e.id) ===
|
|
3131
|
-
s("span", null, g(
|
|
3130
|
+
((_e = y.value) == null ? void 0 : _e.id) === j.id ? (d(), u("svg", Zn, Wn)) : f("", !0),
|
|
3131
|
+
s("span", null, g(j.name || j.id || "-"), 1)
|
|
3132
3132
|
])
|
|
3133
3133
|
], 42, zn);
|
|
3134
3134
|
}), 128))
|
|
@@ -3144,7 +3144,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3144
3144
|
], 64);
|
|
3145
3145
|
};
|
|
3146
3146
|
}
|
|
3147
|
-
}, 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" },
|
|
3147
|
+
}, 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" }, nu = {
|
|
3148
3148
|
__name: "GlTextarea",
|
|
3149
3149
|
props: {
|
|
3150
3150
|
is_required: {
|
|
@@ -3574,7 +3574,7 @@ const xo = /* @__PURE__ */ k(oo, [["render", vo]]), wo = {
|
|
|
3574
3574
|
}, ko = { class: "p-2" }, $o = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Co = { class: "flex items-center gap-2" }, So = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Do = { style: { "margin-top": "9px" } }, Oo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), Po = /* @__PURE__ */ s("label", {
|
|
3575
3575
|
for: "table-search",
|
|
3576
3576
|
class: "sr-only"
|
|
3577
|
-
}, "Search", -1), Eo = { class: "relative" },
|
|
3577
|
+
}, "Search", -1), Eo = { class: "relative" }, Ao = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
|
|
3578
3578
|
/* @__PURE__ */ s("svg", {
|
|
3579
3579
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3580
3580
|
"aria-hidden": "true",
|
|
@@ -3588,7 +3588,7 @@ const xo = /* @__PURE__ */ k(oo, [["render", vo]]), wo = {
|
|
|
3588
3588
|
"clip-rule": "evenodd"
|
|
3589
3589
|
})
|
|
3590
3590
|
])
|
|
3591
|
-
], -1),
|
|
3591
|
+
], -1), jo = { 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-400" }, Mo = ["onClick"], No = {
|
|
3592
3592
|
key: 0,
|
|
3593
3593
|
class: "ml-2"
|
|
3594
3594
|
}, Lo = {
|
|
@@ -3664,7 +3664,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3664
3664
|
]),
|
|
3665
3665
|
Po,
|
|
3666
3666
|
s("div", Eo, [
|
|
3667
|
-
|
|
3667
|
+
Ao,
|
|
3668
3668
|
O(s("input", {
|
|
3669
3669
|
type: "text",
|
|
3670
3670
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => o.search = c),
|
|
@@ -3676,7 +3676,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3676
3676
|
])
|
|
3677
3677
|
])
|
|
3678
3678
|
]),
|
|
3679
|
-
s("div",
|
|
3679
|
+
s("div", jo, [
|
|
3680
3680
|
s("table", To, [
|
|
3681
3681
|
s("thead", Io, [
|
|
3682
3682
|
s("tr", null, [
|
|
@@ -3737,7 +3737,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3737
3737
|
])
|
|
3738
3738
|
]);
|
|
3739
3739
|
}
|
|
3740
|
-
const
|
|
3740
|
+
const ou = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
|
|
3741
3741
|
components: {},
|
|
3742
3742
|
props: {
|
|
3743
3743
|
data: Array,
|
|
@@ -3747,7 +3747,6 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
|
|
|
3747
3747
|
return {
|
|
3748
3748
|
showNoOfEntries: [1, 2, 3, 10, 20, 30, 40],
|
|
3749
3749
|
search: "",
|
|
3750
|
-
isDropdownOpen: !1,
|
|
3751
3750
|
sortKey: "",
|
|
3752
3751
|
sortOrder: 1,
|
|
3753
3752
|
currentPage: 1,
|
|
@@ -3816,23 +3815,7 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
|
|
|
3816
3815
|
},
|
|
3817
3816
|
goToPage(e) {
|
|
3818
3817
|
e >= 1 && e <= this.totalPages && (this.currentPage = e);
|
|
3819
|
-
},
|
|
3820
|
-
onJumpToPageChange() {
|
|
3821
|
-
const e = parseInt(this.jumpToPage);
|
|
3822
|
-
e >= 1 && e <= this.totalPages && (this.jumpToPage = e);
|
|
3823
|
-
},
|
|
3824
|
-
jumpToPageButton() {
|
|
3825
|
-
this.jumpToPage >= 1 && this.jumpToPage <= this.totalPages && (this.currentPage = this.jumpToPage);
|
|
3826
|
-
},
|
|
3827
|
-
closeBoxOnbodyClick() {
|
|
3828
|
-
event.target.closest(".main_box_close") || (this.isDropdownOpen = !1);
|
|
3829
3818
|
}
|
|
3830
|
-
},
|
|
3831
|
-
beforeDestroy() {
|
|
3832
|
-
document.body.removeEventListener("click", this.closeBoxOnbodyClick);
|
|
3833
|
-
},
|
|
3834
|
-
mounted() {
|
|
3835
|
-
document.body.addEventListener("click", this.closeBoxOnbodyClick);
|
|
3836
3819
|
}
|
|
3837
3820
|
}, Ko = { class: "p-2" }, Wo = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Yo = { class: "flex items-center gap-2" }, Xo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Jo = { style: { "margin-top": "9px" } }, Qo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), el = /* @__PURE__ */ s("label", {
|
|
3838
3821
|
for: "table-search",
|
|
@@ -3851,10 +3834,19 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
|
|
|
3851
3834
|
"clip-rule": "evenodd"
|
|
3852
3835
|
})
|
|
3853
3836
|
])
|
|
3854
|
-
], -1), sl = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, al = { 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" }, nl = { class: "hidden text-sm font-normal text-center text-gray-700
|
|
3837
|
+
], -1), sl = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, al = { 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" }, nl = { class: "hidden text-sm font-normal text-center text-gray-700 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, ol = ["onClick"], ll = {
|
|
3855
3838
|
key: 0,
|
|
3856
3839
|
class: "ml-2"
|
|
3857
|
-
}, il =
|
|
3840
|
+
}, il = {
|
|
3841
|
+
key: 0,
|
|
3842
|
+
class: "fa fa-arrow-up"
|
|
3843
|
+
}, dl = {
|
|
3844
|
+
key: 1,
|
|
3845
|
+
class: "fa fa-arrow-down"
|
|
3846
|
+
}, ul = ["data-label"], cl = ["innerHTML"], fl = {
|
|
3847
|
+
key: 0,
|
|
3848
|
+
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"
|
|
3849
|
+
}, gl = { class: "flex justify-between flex-1 sm:hidden" }, hl = ["disabled"], ml = ["disabled"], bl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, pl = { class: "text-sm text-gray-700 dark:text-gray-400" }, yl = { class: "font-medium" }, _l = { class: "font-medium" }, vl = { class: "font-medium" }, xl = { "aria-label": "Page navigation" }, wl = { class: "flex items-center h-8 -space-x-px text-sm" }, kl = ["disabled"], $l = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), Cl = /* @__PURE__ */ s("svg", {
|
|
3858
3850
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3859
3851
|
"aria-hidden": "true",
|
|
3860
3852
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3868,10 +3860,10 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
|
|
|
3868
3860
|
"stroke-width": "2",
|
|
3869
3861
|
d: "M5 1 1 5l4 4"
|
|
3870
3862
|
})
|
|
3871
|
-
], -1),
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
],
|
|
3863
|
+
], -1), Sl = [
|
|
3864
|
+
$l,
|
|
3865
|
+
Cl
|
|
3866
|
+
], Dl = ["onClick"], Ol = ["onClick"], Pl = ["disabled"], El = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), Al = /* @__PURE__ */ s("svg", {
|
|
3875
3867
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3876
3868
|
"aria-hidden": "true",
|
|
3877
3869
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3885,11 +3877,11 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
|
|
|
3885
3877
|
"stroke-width": "2",
|
|
3886
3878
|
d: "m1 9 4-4-4-4"
|
|
3887
3879
|
})
|
|
3888
|
-
], -1),
|
|
3889
|
-
|
|
3890
|
-
|
|
3880
|
+
], -1), jl = [
|
|
3881
|
+
El,
|
|
3882
|
+
Al
|
|
3891
3883
|
];
|
|
3892
|
-
function
|
|
3884
|
+
function Tl(e, t, r, n, o, a) {
|
|
3893
3885
|
const i = X("dropdown");
|
|
3894
3886
|
return d(), u("div", Ko, [
|
|
3895
3887
|
s("div", Wo, [
|
|
@@ -3904,7 +3896,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
3904
3896
|
is_required: !1,
|
|
3905
3897
|
field_name: "NoOfEntries",
|
|
3906
3898
|
label_name: "",
|
|
3907
|
-
default_value:
|
|
3899
|
+
default_value: 10,
|
|
3908
3900
|
show: !1,
|
|
3909
3901
|
placeholder: "Please select an option"
|
|
3910
3902
|
}, null, 8, ["options", "modelValue"])
|
|
@@ -3934,14 +3926,16 @@ function jl(e, t, r, n, o, a) {
|
|
|
3934
3926
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3935
3927
|
}, [
|
|
3936
3928
|
w(g(l) + " ", 1),
|
|
3937
|
-
o.sortKey === l ? (d(), u("span", ll,
|
|
3929
|
+
o.sortKey === l ? (d(), u("span", ll, [
|
|
3930
|
+
o.sortOrder === "asc" ? (d(), u("i", il)) : (d(), u("i", dl))
|
|
3931
|
+
])) : f("", !0)
|
|
3938
3932
|
], 8, ol))), 128))
|
|
3939
3933
|
])
|
|
3940
3934
|
]),
|
|
3941
3935
|
s("tbody", null, [
|
|
3942
3936
|
(d(!0), u(v, null, $(a.paginatedData, (l, c) => (d(), u("tr", {
|
|
3943
3937
|
key: c,
|
|
3944
|
-
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"
|
|
3938
|
+
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"
|
|
3945
3939
|
}, [
|
|
3946
3940
|
(d(!0), u(v, null, $(r.columns, (h, m) => (d(), u("td", {
|
|
3947
3941
|
key: m,
|
|
@@ -3951,49 +3945,49 @@ function jl(e, t, r, n, o, a) {
|
|
|
3951
3945
|
s("p", {
|
|
3952
3946
|
class: "text-pretty",
|
|
3953
3947
|
innerHTML: l[m]
|
|
3954
|
-
}, null, 8,
|
|
3955
|
-
], 8,
|
|
3948
|
+
}, null, 8, cl)
|
|
3949
|
+
], 8, ul))), 128))
|
|
3956
3950
|
]))), 128))
|
|
3957
3951
|
])
|
|
3958
3952
|
])
|
|
3959
3953
|
]),
|
|
3960
|
-
|
|
3961
|
-
s("div",
|
|
3954
|
+
a.paginatedData.length > 0 ? (d(), u("div", fl, [
|
|
3955
|
+
s("div", gl, [
|
|
3962
3956
|
s("a", {
|
|
3963
3957
|
href: "#",
|
|
3964
3958
|
onClick: t[2] || (t[2] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
3965
3959
|
disabled: o.currentPage === 1,
|
|
3966
3960
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
3967
|
-
}, "Previous", 8,
|
|
3961
|
+
}, "Previous", 8, hl),
|
|
3968
3962
|
s("a", {
|
|
3969
3963
|
href: "#",
|
|
3970
3964
|
onClick: t[3] || (t[3] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
3971
3965
|
disabled: o.currentPage === a.totalPages,
|
|
3972
3966
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
3973
|
-
}, "Next", 8,
|
|
3967
|
+
}, "Next", 8, ml)
|
|
3974
3968
|
]),
|
|
3975
|
-
s("div",
|
|
3969
|
+
s("div", bl, [
|
|
3976
3970
|
s("div", null, [
|
|
3977
|
-
s("p",
|
|
3971
|
+
s("p", pl, [
|
|
3978
3972
|
w(" Showing "),
|
|
3979
|
-
s("span",
|
|
3973
|
+
s("span", yl, g(a.firstItemIndex), 1),
|
|
3980
3974
|
w(" to "),
|
|
3981
|
-
s("span",
|
|
3975
|
+
s("span", _l, g(a.lastItemIndex), 1),
|
|
3982
3976
|
w(" of "),
|
|
3983
|
-
s("span",
|
|
3977
|
+
s("span", vl, g(a.filteredData.length), 1),
|
|
3984
3978
|
w(" entries ")
|
|
3985
3979
|
])
|
|
3986
3980
|
]),
|
|
3987
3981
|
s("div", null, [
|
|
3988
|
-
s("nav",
|
|
3989
|
-
s("ul",
|
|
3982
|
+
s("nav", xl, [
|
|
3983
|
+
s("ul", wl, [
|
|
3990
3984
|
s("li", null, [
|
|
3991
3985
|
s("a", {
|
|
3992
3986
|
href: "#",
|
|
3993
3987
|
onClick: t[4] || (t[4] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
3994
3988
|
disabled: o.currentPage === 1,
|
|
3995
3989
|
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"
|
|
3996
|
-
},
|
|
3990
|
+
}, Sl, 8, kl)
|
|
3997
3991
|
]),
|
|
3998
3992
|
(d(!0), u(v, null, $(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
|
|
3999
3993
|
s("li", null, [
|
|
@@ -4002,7 +3996,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
4002
3996
|
href: "#",
|
|
4003
3997
|
onClick: (c) => a.goToPage(l),
|
|
4004
3998
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
4005
|
-
}, g(l), 9,
|
|
3999
|
+
}, g(l), 9, Dl)) : f("", !0)
|
|
4006
4000
|
]),
|
|
4007
4001
|
s("li", null, [
|
|
4008
4002
|
o.currentPage === l ? (d(), u("a", {
|
|
@@ -4011,7 +4005,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
4011
4005
|
onClick: (c) => a.goToPage(l),
|
|
4012
4006
|
"aria-current": "page",
|
|
4013
4007
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
4014
|
-
}, g(l), 9,
|
|
4008
|
+
}, g(l), 9, Ol)) : f("", !0)
|
|
4015
4009
|
])
|
|
4016
4010
|
], 64))), 128)),
|
|
4017
4011
|
s("li", null, [
|
|
@@ -4020,22 +4014,22 @@ function jl(e, t, r, n, o, a) {
|
|
|
4020
4014
|
onClick: t[5] || (t[5] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
4021
4015
|
disabled: o.currentPage === a.totalPages,
|
|
4022
4016
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
4023
|
-
},
|
|
4017
|
+
}, jl, 8, Pl)
|
|
4024
4018
|
])
|
|
4025
4019
|
])
|
|
4026
4020
|
])
|
|
4027
4021
|
])
|
|
4028
4022
|
])
|
|
4029
|
-
])
|
|
4023
|
+
])) : f("", !0)
|
|
4030
4024
|
]);
|
|
4031
4025
|
}
|
|
4032
|
-
const
|
|
4026
|
+
const lu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
4033
4027
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4034
4028
|
role: "alert"
|
|
4035
|
-
},
|
|
4029
|
+
}, Ml = {
|
|
4036
4030
|
key: 0,
|
|
4037
4031
|
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"
|
|
4038
|
-
},
|
|
4032
|
+
}, Nl = /* @__PURE__ */ s("svg", {
|
|
4039
4033
|
class: "w-5 h-5",
|
|
4040
4034
|
"aria-hidden": "true",
|
|
4041
4035
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4043,13 +4037,13 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4043
4037
|
viewBox: "0 0 20 20"
|
|
4044
4038
|
}, [
|
|
4045
4039
|
/* @__PURE__ */ s("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" })
|
|
4046
|
-
], -1),
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
],
|
|
4040
|
+
], -1), Ll = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Vl = [
|
|
4041
|
+
Nl,
|
|
4042
|
+
Ll
|
|
4043
|
+
], Bl = {
|
|
4050
4044
|
key: 1,
|
|
4051
4045
|
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"
|
|
4052
|
-
},
|
|
4046
|
+
}, Gl = /* @__PURE__ */ s("svg", {
|
|
4053
4047
|
class: "w-5 h-5",
|
|
4054
4048
|
"aria-hidden": "true",
|
|
4055
4049
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4057,13 +4051,13 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4057
4051
|
viewBox: "0 0 20 20"
|
|
4058
4052
|
}, [
|
|
4059
4053
|
/* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z" })
|
|
4060
|
-
], -1),
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
],
|
|
4054
|
+
], -1), Fl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Rl = [
|
|
4055
|
+
Gl,
|
|
4056
|
+
Fl
|
|
4057
|
+
], Ul = {
|
|
4064
4058
|
key: 2,
|
|
4065
4059
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200"
|
|
4066
|
-
},
|
|
4060
|
+
}, ql = /* @__PURE__ */ s("svg", {
|
|
4067
4061
|
class: "w-5 h-5",
|
|
4068
4062
|
"aria-hidden": "true",
|
|
4069
4063
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4071,10 +4065,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4071
4065
|
viewBox: "0 0 20 20"
|
|
4072
4066
|
}, [
|
|
4073
4067
|
/* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z" })
|
|
4074
|
-
], -1),
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
],
|
|
4068
|
+
], -1), zl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), Hl = [
|
|
4069
|
+
ql,
|
|
4070
|
+
zl
|
|
4071
|
+
], Zl = { class: "ml-3 text-sm font-normal" }, Kl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Wl = /* @__PURE__ */ s("svg", {
|
|
4078
4072
|
"aria-hidden": "true",
|
|
4079
4073
|
class: "w-5 h-5",
|
|
4080
4074
|
fill: "currentColor",
|
|
@@ -4086,10 +4080,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4086
4080
|
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
4087
4081
|
"clip-rule": "evenodd"
|
|
4088
4082
|
})
|
|
4089
|
-
], -1),
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
],
|
|
4083
|
+
], -1), Yl = [
|
|
4084
|
+
Kl,
|
|
4085
|
+
Wl
|
|
4086
|
+
], Xl = {
|
|
4093
4087
|
__name: "ToastListItem",
|
|
4094
4088
|
props: {
|
|
4095
4089
|
message: String,
|
|
@@ -4109,23 +4103,23 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4109
4103
|
setTimeout(() => n("remove"), r.duration);
|
|
4110
4104
|
});
|
|
4111
4105
|
const n = t;
|
|
4112
|
-
return (o, a) => (d(), u("div",
|
|
4113
|
-
r.type === "success" ? (d(), u("div",
|
|
4114
|
-
r.type === "error" ? (d(), u("div",
|
|
4115
|
-
r.type === "warning" ? (d(), u("div",
|
|
4116
|
-
s("div",
|
|
4106
|
+
return (o, a) => (d(), u("div", Il, [
|
|
4107
|
+
r.type === "success" ? (d(), u("div", Ml, Vl)) : f("", !0),
|
|
4108
|
+
r.type === "error" ? (d(), u("div", Bl, Rl)) : f("", !0),
|
|
4109
|
+
r.type === "warning" ? (d(), u("div", Ul, Hl)) : f("", !0),
|
|
4110
|
+
s("div", Zl, g(r.message), 1),
|
|
4117
4111
|
s("button", {
|
|
4118
4112
|
onClick: a[0] || (a[0] = (i) => n("remove")),
|
|
4119
4113
|
type: "button",
|
|
4120
4114
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
4121
4115
|
"data-dismiss-target": "#toast-default",
|
|
4122
4116
|
"aria-label": "Close"
|
|
4123
|
-
},
|
|
4117
|
+
}, Yl)
|
|
4124
4118
|
]));
|
|
4125
4119
|
}
|
|
4126
4120
|
}, de = Se({
|
|
4127
4121
|
items: []
|
|
4128
|
-
}),
|
|
4122
|
+
}), Jl = {
|
|
4129
4123
|
add(e) {
|
|
4130
4124
|
de.items.unshift({
|
|
4131
4125
|
key: Symbol(),
|
|
@@ -4139,8 +4133,8 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4139
4133
|
}
|
|
4140
4134
|
}, $e = {
|
|
4141
4135
|
state: de,
|
|
4142
|
-
methods:
|
|
4143
|
-
},
|
|
4136
|
+
methods: Jl
|
|
4137
|
+
}, iu = {
|
|
4144
4138
|
__name: "GlToastList",
|
|
4145
4139
|
setup(e) {
|
|
4146
4140
|
function t(r) {
|
|
@@ -4155,7 +4149,7 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4155
4149
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4156
4150
|
}, {
|
|
4157
4151
|
default: J(() => [
|
|
4158
|
-
(d(!0), u(v, null, $(it($e).state.items, (o, a) => (d(), K(
|
|
4152
|
+
(d(!0), u(v, null, $(it($e).state.items, (o, a) => (d(), K(Xl, {
|
|
4159
4153
|
key: o.key,
|
|
4160
4154
|
message: o.message,
|
|
4161
4155
|
type: o.type,
|
|
@@ -4166,10 +4160,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4166
4160
|
_: 1
|
|
4167
4161
|
}));
|
|
4168
4162
|
}
|
|
4169
|
-
},
|
|
4163
|
+
}, Ql = {
|
|
4170
4164
|
key: 0,
|
|
4171
4165
|
class: "flex justify-center"
|
|
4172
|
-
},
|
|
4166
|
+
}, ei = /* @__PURE__ */ s("svg", {
|
|
4173
4167
|
class: "w-5 h-5",
|
|
4174
4168
|
"aria-hidden": "true",
|
|
4175
4169
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4177,12 +4171,12 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4177
4171
|
viewBox: "0 0 4 15"
|
|
4178
4172
|
}, [
|
|
4179
4173
|
/* @__PURE__ */ s("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
|
|
4180
|
-
], -1),
|
|
4181
|
-
|
|
4182
|
-
],
|
|
4174
|
+
], -1), ti = [
|
|
4175
|
+
ei
|
|
4176
|
+
], ri = { 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" }, si = {
|
|
4183
4177
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4184
4178
|
"aria-labelledby": "dropdownDividerButton"
|
|
4185
|
-
},
|
|
4179
|
+
}, ai = { key: 0 }, ni = ["href"], oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), li = { key: 1 }, ii = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), du = {
|
|
4186
4180
|
__name: "DatatableAction",
|
|
4187
4181
|
props: {
|
|
4188
4182
|
field: {
|
|
@@ -4235,30 +4229,30 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4235
4229
|
onConfirmDelete: y,
|
|
4236
4230
|
onCancelDelete: c
|
|
4237
4231
|
}, null, 8, ["isOpen"]),
|
|
4238
|
-
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div",
|
|
4232
|
+
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div", Ql, [
|
|
4239
4233
|
s("button", {
|
|
4240
4234
|
onClick: l,
|
|
4241
4235
|
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",
|
|
4242
4236
|
type: "button"
|
|
4243
|
-
},
|
|
4244
|
-
O(s("div",
|
|
4245
|
-
s("ul",
|
|
4246
|
-
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4237
|
+
}, ti),
|
|
4238
|
+
O(s("div", ri, [
|
|
4239
|
+
s("ul", si, [
|
|
4240
|
+
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ai, [
|
|
4247
4241
|
s("a", {
|
|
4248
4242
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4249
4243
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4250
4244
|
}, [
|
|
4251
|
-
|
|
4245
|
+
oi,
|
|
4252
4246
|
w(" Edit")
|
|
4253
|
-
], 8,
|
|
4247
|
+
], 8, ni)
|
|
4254
4248
|
])) : f("", !0),
|
|
4255
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4249
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", li, [
|
|
4256
4250
|
s("a", {
|
|
4257
4251
|
href: "#",
|
|
4258
4252
|
onClick: N(h, ["prevent"]),
|
|
4259
4253
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4260
4254
|
}, [
|
|
4261
|
-
|
|
4255
|
+
ii,
|
|
4262
4256
|
w(" Remove")
|
|
4263
4257
|
])
|
|
4264
4258
|
])) : f("", !0)
|
|
@@ -4272,10 +4266,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4272
4266
|
], 64);
|
|
4273
4267
|
};
|
|
4274
4268
|
}
|
|
4275
|
-
},
|
|
4269
|
+
}, di = {
|
|
4276
4270
|
key: 0,
|
|
4277
4271
|
class: "flex justify-center"
|
|
4278
|
-
},
|
|
4272
|
+
}, ui = /* @__PURE__ */ s("svg", {
|
|
4279
4273
|
class: "w-5 h-5",
|
|
4280
4274
|
"aria-hidden": "true",
|
|
4281
4275
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4283,12 +4277,12 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4283
4277
|
viewBox: "0 0 4 15"
|
|
4284
4278
|
}, [
|
|
4285
4279
|
/* @__PURE__ */ s("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
|
|
4286
|
-
], -1),
|
|
4287
|
-
|
|
4288
|
-
],
|
|
4280
|
+
], -1), ci = [
|
|
4281
|
+
ui
|
|
4282
|
+
], fi = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, gi = {
|
|
4289
4283
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4290
4284
|
"aria-labelledby": "dropdownDividerButton"
|
|
4291
|
-
},
|
|
4285
|
+
}, hi = { key: 0 }, mi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), uu = {
|
|
4292
4286
|
__name: "DatatableDeleteAction",
|
|
4293
4287
|
props: {
|
|
4294
4288
|
field: {
|
|
@@ -4341,21 +4335,21 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4341
4335
|
onConfirmDelete: y,
|
|
4342
4336
|
onCancelDelete: c
|
|
4343
4337
|
}, null, 8, ["isOpen"]),
|
|
4344
|
-
e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div",
|
|
4338
|
+
e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div", di, [
|
|
4345
4339
|
s("button", {
|
|
4346
4340
|
onClick: l,
|
|
4347
4341
|
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",
|
|
4348
4342
|
type: "button"
|
|
4349
|
-
},
|
|
4350
|
-
O(s("div",
|
|
4351
|
-
s("ul",
|
|
4352
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4343
|
+
}, ci),
|
|
4344
|
+
O(s("div", fi, [
|
|
4345
|
+
s("ul", gi, [
|
|
4346
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", hi, [
|
|
4353
4347
|
s("a", {
|
|
4354
4348
|
href: "#",
|
|
4355
4349
|
onClick: N(h, ["prevent"]),
|
|
4356
4350
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4357
4351
|
}, [
|
|
4358
|
-
|
|
4352
|
+
mi,
|
|
4359
4353
|
w(" Remove")
|
|
4360
4354
|
])
|
|
4361
4355
|
])) : f("", !0)
|
|
@@ -4369,7 +4363,7 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4369
4363
|
], 64);
|
|
4370
4364
|
};
|
|
4371
4365
|
}
|
|
4372
|
-
},
|
|
4366
|
+
}, bi = {
|
|
4373
4367
|
props: ["field", "row"],
|
|
4374
4368
|
computed: {
|
|
4375
4369
|
isArray() {
|
|
@@ -4384,7 +4378,7 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4384
4378
|
},
|
|
4385
4379
|
mounted() {
|
|
4386
4380
|
}
|
|
4387
|
-
},
|
|
4381
|
+
}, pi = ["href", "title"], yi = /* @__PURE__ */ s("svg", {
|
|
4388
4382
|
class: "w-3 h-3 text-white me-2",
|
|
4389
4383
|
"aria-hidden": "true",
|
|
4390
4384
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4401,10 +4395,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4401
4395
|
d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
|
|
4402
4396
|
"clip-rule": "evenodd"
|
|
4403
4397
|
})
|
|
4404
|
-
], -1),
|
|
4398
|
+
], -1), _i = {
|
|
4405
4399
|
key: 1,
|
|
4406
4400
|
class: "m-1 d-inline-block"
|
|
4407
|
-
},
|
|
4401
|
+
}, vi = ["href", "title"], xi = /* @__PURE__ */ s("svg", {
|
|
4408
4402
|
class: "w-3 h-3 text-white me-2",
|
|
4409
4403
|
"aria-hidden": "true",
|
|
4410
4404
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4422,7 +4416,7 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
|
4422
4416
|
"clip-rule": "evenodd"
|
|
4423
4417
|
})
|
|
4424
4418
|
], -1);
|
|
4425
|
-
function
|
|
4419
|
+
function wi(e, t, r, n, o, a) {
|
|
4426
4420
|
return d(), u("div", null, [
|
|
4427
4421
|
a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row, (i, l) => (d(), u("div", {
|
|
4428
4422
|
key: l,
|
|
@@ -4434,23 +4428,23 @@ function vi(e, t, r, n, o, a) {
|
|
|
4434
4428
|
target: "_blank",
|
|
4435
4429
|
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"
|
|
4436
4430
|
}, [
|
|
4437
|
-
|
|
4431
|
+
yi,
|
|
4438
4432
|
w(" Download ")
|
|
4439
|
-
], 8,
|
|
4440
|
-
]))), 128)) : a.isString ? (d(), u("div",
|
|
4433
|
+
], 8, pi)
|
|
4434
|
+
]))), 128)) : a.isString ? (d(), u("div", _i, [
|
|
4441
4435
|
s("a", {
|
|
4442
4436
|
href: r.row,
|
|
4443
4437
|
title: r.row,
|
|
4444
4438
|
target: "_blank",
|
|
4445
4439
|
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"
|
|
4446
4440
|
}, [
|
|
4447
|
-
|
|
4441
|
+
xi,
|
|
4448
4442
|
w(" Download ")
|
|
4449
|
-
], 8,
|
|
4443
|
+
], 8, vi)
|
|
4450
4444
|
])) : f("", !0)
|
|
4451
4445
|
]);
|
|
4452
4446
|
}
|
|
4453
|
-
const
|
|
4447
|
+
const cu = /* @__PURE__ */ k(bi, [["render", wi]]), ki = {
|
|
4454
4448
|
props: ["field", "row"],
|
|
4455
4449
|
computed: {
|
|
4456
4450
|
isArray() {
|
|
@@ -4460,7 +4454,7 @@ const du = /* @__PURE__ */ k(hi, [["render", vi]]), xi = {
|
|
|
4460
4454
|
return typeof this.row[this.field] == "object";
|
|
4461
4455
|
}
|
|
4462
4456
|
}
|
|
4463
|
-
},
|
|
4457
|
+
}, $i = ["href", "title"], Ci = /* @__PURE__ */ s("svg", {
|
|
4464
4458
|
class: "w-3 h-3 text-white me-2",
|
|
4465
4459
|
"aria-hidden": "true",
|
|
4466
4460
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4477,10 +4471,10 @@ const du = /* @__PURE__ */ k(hi, [["render", vi]]), xi = {
|
|
|
4477
4471
|
d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
|
|
4478
4472
|
"clip-rule": "evenodd"
|
|
4479
4473
|
})
|
|
4480
|
-
], -1),
|
|
4474
|
+
], -1), Si = {
|
|
4481
4475
|
key: 1,
|
|
4482
4476
|
class: "m-1 d-inline-block"
|
|
4483
|
-
},
|
|
4477
|
+
}, Di = ["href", "title"], Oi = /* @__PURE__ */ s("svg", {
|
|
4484
4478
|
class: "w-3 h-3 text-white me-2",
|
|
4485
4479
|
"aria-hidden": "true",
|
|
4486
4480
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4498,7 +4492,7 @@ const du = /* @__PURE__ */ k(hi, [["render", vi]]), xi = {
|
|
|
4498
4492
|
"clip-rule": "evenodd"
|
|
4499
4493
|
})
|
|
4500
4494
|
], -1);
|
|
4501
|
-
function
|
|
4495
|
+
function Pi(e, t, r, n, o, a) {
|
|
4502
4496
|
return d(), u("div", null, [
|
|
4503
4497
|
a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[r.field], (i) => (d(), u("div", {
|
|
4504
4498
|
key: i.id,
|
|
@@ -4510,34 +4504,34 @@ function Di(e, t, r, n, o, a) {
|
|
|
4510
4504
|
target: "_blank",
|
|
4511
4505
|
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"
|
|
4512
4506
|
}, [
|
|
4513
|
-
|
|
4507
|
+
Ci,
|
|
4514
4508
|
w(" Download ")
|
|
4515
|
-
], 8,
|
|
4516
|
-
]))), 128)) : a.isObject ? (d(), u("div",
|
|
4509
|
+
], 8, $i)
|
|
4510
|
+
]))), 128)) : a.isObject ? (d(), u("div", Si, [
|
|
4517
4511
|
s("a", {
|
|
4518
4512
|
href: r.row[r.field].url,
|
|
4519
4513
|
title: r.row[r.field].name,
|
|
4520
4514
|
target: "_blank",
|
|
4521
4515
|
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"
|
|
4522
4516
|
}, [
|
|
4523
|
-
|
|
4517
|
+
Oi,
|
|
4524
4518
|
w(" Download ")
|
|
4525
|
-
], 8,
|
|
4519
|
+
], 8, Di)
|
|
4526
4520
|
])) : f("", !0)
|
|
4527
4521
|
]);
|
|
4528
4522
|
}
|
|
4529
|
-
const
|
|
4523
|
+
const fu = /* @__PURE__ */ k(ki, [["render", Pi]]), Ei = {
|
|
4530
4524
|
props: ["field", "row", "tdProps"]
|
|
4531
|
-
},
|
|
4532
|
-
function
|
|
4533
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4525
|
+
}, Ai = { key: 0 }, ji = ["innerHTML"];
|
|
4526
|
+
function Ti(e, t, r, n, o, a) {
|
|
4527
|
+
return r.row[r.field] ? (d(), u("div", Ai, [
|
|
4534
4528
|
s("div", {
|
|
4535
4529
|
class: "w-full",
|
|
4536
4530
|
innerHTML: r.row[r.field]
|
|
4537
|
-
}, null, 8,
|
|
4531
|
+
}, null, 8, ji)
|
|
4538
4532
|
])) : f("", !0);
|
|
4539
4533
|
}
|
|
4540
|
-
const
|
|
4534
|
+
const gu = /* @__PURE__ */ k(Ei, [["render", Ti]]), Ii = {
|
|
4541
4535
|
props: ["field", "row", "tdProps"],
|
|
4542
4536
|
computed: {
|
|
4543
4537
|
entry() {
|
|
@@ -4551,24 +4545,24 @@ const cu = /* @__PURE__ */ k(Oi, [["render", ji]]), Ai = {
|
|
|
4551
4545
|
return typeof this.row[this.entry.key] == "object";
|
|
4552
4546
|
}
|
|
4553
4547
|
}
|
|
4554
|
-
},
|
|
4548
|
+
}, Mi = { class: "flex flex-wrap gap-2" }, Ni = {
|
|
4555
4549
|
key: 1,
|
|
4556
4550
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4557
4551
|
};
|
|
4558
|
-
function
|
|
4559
|
-
return d(), u("div",
|
|
4552
|
+
function Li(e, t, r, n, o, a) {
|
|
4553
|
+
return d(), u("div", Mi, [
|
|
4560
4554
|
a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4561
4555
|
key: l,
|
|
4562
4556
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4563
|
-
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span",
|
|
4557
|
+
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Ni, g(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
|
|
4564
4558
|
]);
|
|
4565
4559
|
}
|
|
4566
|
-
const
|
|
4560
|
+
const hu = /* @__PURE__ */ k(Ii, [["render", Li]]), Vi = {
|
|
4567
4561
|
props: ["field", "row", "tdProps"]
|
|
4568
|
-
},
|
|
4569
|
-
function
|
|
4570
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4571
|
-
s("div",
|
|
4562
|
+
}, Bi = { key: 0 }, Gi = { class: "m-1 d-inline-block" }, Fi = ["href", "title"], Ri = ["src", "alt", "title"];
|
|
4563
|
+
function Ui(e, t, r, n, o, a) {
|
|
4564
|
+
return r.row[r.field] ? (d(), u("div", Bi, [
|
|
4565
|
+
s("div", Gi, [
|
|
4572
4566
|
s("a", {
|
|
4573
4567
|
href: r.row[r.field].url,
|
|
4574
4568
|
title: r.row[r.field].name,
|
|
@@ -4578,37 +4572,37 @@ function Fi(e, t, r, n, o, a) {
|
|
|
4578
4572
|
src: r.row[r.field].thumbnail,
|
|
4579
4573
|
alt: r.row[r.field].name,
|
|
4580
4574
|
title: r.row[r.field].name
|
|
4581
|
-
}, null, 8,
|
|
4582
|
-
], 8,
|
|
4575
|
+
}, null, 8, Ri)
|
|
4576
|
+
], 8, Fi)
|
|
4583
4577
|
])
|
|
4584
4578
|
])) : f("", !0);
|
|
4585
4579
|
}
|
|
4586
|
-
const
|
|
4580
|
+
const mu = /* @__PURE__ */ k(Vi, [["render", Ui], ["__scopeId", "data-v-3a28c02c"]]), qi = {
|
|
4587
4581
|
props: ["field", "row", "tdProps"],
|
|
4588
4582
|
computed: {
|
|
4589
4583
|
isActive() {
|
|
4590
4584
|
return this.row[this.field] === 1;
|
|
4591
4585
|
}
|
|
4592
4586
|
}
|
|
4593
|
-
},
|
|
4587
|
+
}, zi = { class: "flex flex-wrap gap-2 text-nowrap" }, Hi = {
|
|
4594
4588
|
key: 0,
|
|
4595
4589
|
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"
|
|
4596
|
-
},
|
|
4590
|
+
}, Zi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Ki = {
|
|
4597
4591
|
key: 1,
|
|
4598
4592
|
class: "inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
4599
|
-
},
|
|
4600
|
-
function
|
|
4601
|
-
return d(), u("div",
|
|
4602
|
-
a.isActive ? (d(), u("span",
|
|
4603
|
-
zi,
|
|
4604
|
-
w(" Active ")
|
|
4605
|
-
])) : a.isActive ? f("", !0) : (d(), u("span", Hi, [
|
|
4593
|
+
}, Wi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
4594
|
+
function Yi(e, t, r, n, o, a) {
|
|
4595
|
+
return d(), u("div", zi, [
|
|
4596
|
+
a.isActive ? (d(), u("span", Hi, [
|
|
4606
4597
|
Zi,
|
|
4598
|
+
w(" Active ")
|
|
4599
|
+
])) : a.isActive ? f("", !0) : (d(), u("span", Ki, [
|
|
4600
|
+
Wi,
|
|
4607
4601
|
w(" Inactive ")
|
|
4608
4602
|
]))
|
|
4609
4603
|
]);
|
|
4610
4604
|
}
|
|
4611
|
-
const
|
|
4605
|
+
const bu = /* @__PURE__ */ k(qi, [["render", Yi]]), Xi = {
|
|
4612
4606
|
props: ["field", "row", "tdProps"],
|
|
4613
4607
|
computed: {
|
|
4614
4608
|
hasLabelColor(e) {
|
|
@@ -4618,50 +4612,50 @@ const hu = /* @__PURE__ */ k(Ri, [["render", Ki]]), Wi = {
|
|
|
4618
4612
|
return t ? t.class : "";
|
|
4619
4613
|
}
|
|
4620
4614
|
}
|
|
4621
|
-
},
|
|
4615
|
+
}, Ji = { class: "flex flex-wrap gap-2 text-nowrap" }, Qi = {
|
|
4622
4616
|
key: 0,
|
|
4623
4617
|
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"
|
|
4624
|
-
},
|
|
4618
|
+
}, ed = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), td = {
|
|
4625
4619
|
key: 1,
|
|
4626
4620
|
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"
|
|
4627
|
-
},
|
|
4621
|
+
}, rd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), sd = {
|
|
4628
4622
|
key: 2,
|
|
4629
4623
|
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"
|
|
4630
|
-
},
|
|
4624
|
+
}, ad = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), nd = {
|
|
4631
4625
|
key: 3,
|
|
4632
4626
|
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"
|
|
4633
|
-
},
|
|
4627
|
+
}, od = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), ld = {
|
|
4634
4628
|
key: 4,
|
|
4635
4629
|
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"
|
|
4636
|
-
},
|
|
4630
|
+
}, id = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4637
4631
|
/* @__PURE__ */ s("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4638
4632
|
/* @__PURE__ */ s("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4639
4633
|
], -1);
|
|
4640
|
-
function
|
|
4641
|
-
return d(), u("div",
|
|
4642
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
4643
|
-
Ji,
|
|
4644
|
-
w(" " + g(this.row[this.field]), 1)
|
|
4645
|
-
])) : f("", !0),
|
|
4646
|
-
a.hasLabelColor == "red" ? (d(), u("span", Qi, [
|
|
4634
|
+
function dd(e, t, r, n, o, a) {
|
|
4635
|
+
return d(), u("div", Ji, [
|
|
4636
|
+
a.hasLabelColor == "green" ? (d(), u("span", Qi, [
|
|
4647
4637
|
ed,
|
|
4648
4638
|
w(" " + g(this.row[this.field]), 1)
|
|
4649
4639
|
])) : f("", !0),
|
|
4650
|
-
a.hasLabelColor == "
|
|
4640
|
+
a.hasLabelColor == "red" ? (d(), u("span", td, [
|
|
4651
4641
|
rd,
|
|
4652
4642
|
w(" " + g(this.row[this.field]), 1)
|
|
4653
4643
|
])) : f("", !0),
|
|
4654
|
-
a.hasLabelColor == "
|
|
4644
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", sd, [
|
|
4655
4645
|
ad,
|
|
4656
4646
|
w(" " + g(this.row[this.field]), 1)
|
|
4657
4647
|
])) : f("", !0),
|
|
4658
|
-
a.hasLabelColor == "
|
|
4648
|
+
a.hasLabelColor == "default" ? (d(), u("span", nd, [
|
|
4659
4649
|
od,
|
|
4660
4650
|
w(" " + g(this.row[this.field]), 1)
|
|
4651
|
+
])) : f("", !0),
|
|
4652
|
+
a.hasLabelColor == "animate" ? (d(), u("span", ld, [
|
|
4653
|
+
id,
|
|
4654
|
+
w(" " + g(this.row[this.field]), 1)
|
|
4661
4655
|
])) : f("", !0)
|
|
4662
4656
|
]);
|
|
4663
4657
|
}
|
|
4664
|
-
const
|
|
4658
|
+
const pu = /* @__PURE__ */ k(Xi, [["render", dd]]), ud = {
|
|
4665
4659
|
props: ["field", "row", "tdProps"],
|
|
4666
4660
|
computed: {
|
|
4667
4661
|
hasLabelColor() {
|
|
@@ -4682,9 +4676,9 @@ const mu = /* @__PURE__ */ k(Wi, [["render", ld]]), id = {
|
|
|
4682
4676
|
}
|
|
4683
4677
|
}
|
|
4684
4678
|
}
|
|
4685
|
-
},
|
|
4686
|
-
function
|
|
4687
|
-
return d(), u("div",
|
|
4679
|
+
}, cd = { class: "flex flex-wrap gap-2 text-nowrap" };
|
|
4680
|
+
function fd(e, t, r, n, o, a) {
|
|
4681
|
+
return d(), u("div", cd, [
|
|
4688
4682
|
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
4689
4683
|
key: 0,
|
|
4690
4684
|
class: b(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", a.badgeType])
|
|
@@ -4719,7 +4713,7 @@ function ud(e, t, r, n, o, a) {
|
|
|
4719
4713
|
}, g(this.row[this.field]), 3)) : f("", !0)
|
|
4720
4714
|
]);
|
|
4721
4715
|
}
|
|
4722
|
-
const
|
|
4716
|
+
const yu = /* @__PURE__ */ k(ud, [["render", fd]]), gd = {
|
|
4723
4717
|
props: ["field", "row", "tdProps"],
|
|
4724
4718
|
computed: {
|
|
4725
4719
|
formattedDate() {
|
|
@@ -4734,54 +4728,54 @@ const bu = /* @__PURE__ */ k(id, [["render", ud]]), cd = {
|
|
|
4734
4728
|
return this.row[this.field] === 1;
|
|
4735
4729
|
}
|
|
4736
4730
|
}
|
|
4737
|
-
},
|
|
4738
|
-
function
|
|
4739
|
-
return d(), u("div",
|
|
4731
|
+
}, hd = { class: "w-full" };
|
|
4732
|
+
function md(e, t, r, n, o, a) {
|
|
4733
|
+
return d(), u("div", hd, g(a.formattedDate), 1);
|
|
4740
4734
|
}
|
|
4741
|
-
const
|
|
4735
|
+
const _u = /* @__PURE__ */ k(gd, [["render", md]]), bd = {
|
|
4742
4736
|
props: ["field", "row", "tdProps"]
|
|
4743
|
-
},
|
|
4737
|
+
}, pd = { class: "flex flex-wrap gap-2 text-nowrap" }, yd = {
|
|
4744
4738
|
key: 0,
|
|
4745
4739
|
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"
|
|
4746
|
-
},
|
|
4740
|
+
}, _d = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4747
4741
|
/* @__PURE__ */ s("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4748
4742
|
/* @__PURE__ */ s("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4749
|
-
], -1),
|
|
4743
|
+
], -1), vd = {
|
|
4750
4744
|
key: 1,
|
|
4751
4745
|
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"
|
|
4752
|
-
},
|
|
4746
|
+
}, xd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), wd = {
|
|
4753
4747
|
key: 2,
|
|
4754
4748
|
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"
|
|
4755
|
-
},
|
|
4756
|
-
function
|
|
4757
|
-
return d(), u("div",
|
|
4758
|
-
r.row[r.field] === 0 ? (d(), u("span",
|
|
4759
|
-
|
|
4749
|
+
}, kd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
4750
|
+
function $d(e, t, r, n, o, a) {
|
|
4751
|
+
return d(), u("div", pd, [
|
|
4752
|
+
r.row[r.field] === 0 ? (d(), u("span", yd, [
|
|
4753
|
+
_d,
|
|
4760
4754
|
w(" Provisioning")
|
|
4761
4755
|
])) : f("", !0),
|
|
4762
|
-
r.row[r.field] === 2 ? (d(), u("span",
|
|
4763
|
-
|
|
4756
|
+
r.row[r.field] === 2 ? (d(), u("span", vd, [
|
|
4757
|
+
xd,
|
|
4764
4758
|
w(" Paused ")
|
|
4765
4759
|
])) : f("", !0),
|
|
4766
|
-
r.row[r.field] === 1 ? (d(), u("span",
|
|
4767
|
-
|
|
4760
|
+
r.row[r.field] === 1 ? (d(), u("span", wd, [
|
|
4761
|
+
kd,
|
|
4768
4762
|
w(" Active ")
|
|
4769
4763
|
])) : f("", !0)
|
|
4770
4764
|
]);
|
|
4771
4765
|
}
|
|
4772
|
-
const
|
|
4766
|
+
const vu = /* @__PURE__ */ k(bd, [["render", $d]]), Cd = {
|
|
4773
4767
|
props: ["field", "row", "tdProps"]
|
|
4774
|
-
},
|
|
4768
|
+
}, Sd = {
|
|
4775
4769
|
key: 0,
|
|
4776
4770
|
class: "text-nowrap"
|
|
4777
|
-
},
|
|
4778
|
-
function
|
|
4779
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4780
|
-
s("pre",
|
|
4771
|
+
}, Dd = { 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" };
|
|
4772
|
+
function Od(e, t, r, n, o, a) {
|
|
4773
|
+
return r.row[r.field] ? (d(), u("div", Sd, [
|
|
4774
|
+
s("pre", Dd, " " + g(r.row[r.field]) + `
|
|
4781
4775
|
`, 1)
|
|
4782
4776
|
])) : f("", !0);
|
|
4783
4777
|
}
|
|
4784
|
-
const
|
|
4778
|
+
const xu = /* @__PURE__ */ k(Cd, [["render", Od]]), Pd = {
|
|
4785
4779
|
props: ["isOpen", "title", "button_text"],
|
|
4786
4780
|
methods: {
|
|
4787
4781
|
confirmAction() {
|
|
@@ -4791,35 +4785,35 @@ const _u = /* @__PURE__ */ k(kd, [["render", Sd]]), Dd = {
|
|
|
4791
4785
|
this.$emit("cancel-action");
|
|
4792
4786
|
}
|
|
4793
4787
|
}
|
|
4794
|
-
},
|
|
4788
|
+
}, Ed = {
|
|
4795
4789
|
key: 0,
|
|
4796
4790
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4797
4791
|
role: "dialog",
|
|
4798
4792
|
"aria-modal": "true"
|
|
4799
|
-
},
|
|
4793
|
+
}, Ad = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, jd = /* @__PURE__ */ s("div", {
|
|
4800
4794
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4801
4795
|
"aria-hidden": "true"
|
|
4802
|
-
}, null, -1),
|
|
4796
|
+
}, null, -1), Td = /* @__PURE__ */ s("span", {
|
|
4803
4797
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4804
4798
|
"aria-hidden": "true"
|
|
4805
|
-
}, "", -1),
|
|
4806
|
-
function
|
|
4807
|
-
return r.isOpen ? (d(), u("div",
|
|
4808
|
-
s("div",
|
|
4809
|
-
Ed,
|
|
4799
|
+
}, "", -1), Id = { 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" }, Md = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Nd = { class: "sm:flex sm:items-start" }, Ld = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Vd = { class: "text-lg font-medium leading-6 text-gray-900" }, Bd = { class: "mt-2" }, Gd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4800
|
+
function Fd(e, t, r, n, o, a) {
|
|
4801
|
+
return r.isOpen ? (d(), u("div", Ed, [
|
|
4802
|
+
s("div", Ad, [
|
|
4810
4803
|
jd,
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
s("
|
|
4804
|
+
Td,
|
|
4805
|
+
s("div", Id, [
|
|
4806
|
+
s("div", Md, [
|
|
4807
|
+
s("div", Nd, [
|
|
4808
|
+
s("div", Ld, [
|
|
4809
|
+
s("h3", Vd, g(r.title), 1),
|
|
4810
|
+
s("div", Bd, [
|
|
4817
4811
|
T(e.$slots, "default")
|
|
4818
4812
|
])
|
|
4819
4813
|
])
|
|
4820
4814
|
])
|
|
4821
4815
|
]),
|
|
4822
|
-
s("div",
|
|
4816
|
+
s("div", Gd, [
|
|
4823
4817
|
s("button", {
|
|
4824
4818
|
onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
4825
4819
|
type: "button",
|
|
@@ -4835,43 +4829,43 @@ function Bd(e, t, r, n, o, a) {
|
|
|
4835
4829
|
])
|
|
4836
4830
|
])) : f("", !0);
|
|
4837
4831
|
}
|
|
4838
|
-
const
|
|
4832
|
+
const wu = /* @__PURE__ */ k(Pd, [["render", Fd]]);
|
|
4839
4833
|
export {
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4834
|
+
xu as GLDatatableCommand,
|
|
4835
|
+
_u as GLDatatableDateTime,
|
|
4836
|
+
vu as GLDatatableStatusServer,
|
|
4837
|
+
Kd as GlButton,
|
|
4838
|
+
Hd as GlCard,
|
|
4839
|
+
wu as GlConfirmationModal,
|
|
4840
|
+
lu as GlDataTable,
|
|
4841
|
+
ou as GlDataTableServerSide,
|
|
4842
|
+
du as GlDatatableAction,
|
|
4843
|
+
uu as GlDatatableDeleteAction,
|
|
4844
|
+
cu as GlDatatableFileDownload,
|
|
4845
|
+
fu as GlDatatableFiles,
|
|
4846
|
+
gu as GlDatatableHtml,
|
|
4847
|
+
hu as GlDatatableList,
|
|
4848
|
+
mu as GlDatatablePicture,
|
|
4849
|
+
bu as GlDatatableStatus,
|
|
4850
|
+
pu as GlDatatableStatusGeneral,
|
|
4851
|
+
yu as GlDatatableStatusSpecficColor,
|
|
4858
4852
|
ue as GlDeleteConfirmationModal,
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4853
|
+
au as GlDropdown,
|
|
4854
|
+
Ud as GlFilesUpload,
|
|
4855
|
+
zd as GlLanguageSelector,
|
|
4856
|
+
ru as GlModal,
|
|
4857
|
+
tu as GlMultiItemSlide,
|
|
4858
|
+
Zd as GlMultiSelectDropdown,
|
|
4859
|
+
qd as GlNotify,
|
|
4860
|
+
eu as GlTab,
|
|
4861
|
+
Qd as GlTabsWrapper,
|
|
4868
4862
|
xo as GlTailwindPagination,
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4863
|
+
Jd as GlTextInput,
|
|
4864
|
+
Xd as GlTextTranslate,
|
|
4865
|
+
nu as GlTextarea,
|
|
4866
|
+
Wd as GlTextareaTranslate,
|
|
4867
|
+
Yd as GlTinymceTranslate,
|
|
4874
4868
|
$e as GlToast,
|
|
4875
|
-
|
|
4876
|
-
|
|
4869
|
+
iu as GlToastList,
|
|
4870
|
+
su as GlToggleBox
|
|
4877
4871
|
};
|