golden-logic-ui 1.0.159 → 1.0.160
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 +110 -110
- package/dist/golden-logic-ui.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as u, createElementVNode as t, createCommentVNode as g, createStaticVNode as tt, inject as xe, watch as H, effectScope as rt, computed as E, reactive as Le, resolveComponent as z, Fragment as w, createVNode as q, normalizeClass as p, toDisplayString as h, withModifiers as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as t, createCommentVNode as g, createStaticVNode as tt, inject as xe, watch as H, effectScope as rt, computed as E, reactive as Le, resolveComponent as z, Fragment as w, createVNode as q, normalizeClass as p, toDisplayString as h, withModifiers as T, withDirectives as P, vModelText as U, renderList as D, normalizeStyle as st, renderSlot as I, ref as C, onMounted as R, createTextVNode as $, vShow as Q, nextTick as Te, createBlock as Z, resolveDynamicComponent as le, mergeProps as ae, withCtx as ie, vModelDynamic as at, provide as Me, pushScopeId as nt, popScopeId as ot, vModelCheckbox as lt, toHandlers as be, onUnmounted as it, TransitionGroup as dt, unref as ut, resolveDirective as Ie, markRaw as ct } from "vue";
|
|
2
2
|
const O = (e, r) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of r)
|
|
@@ -161,7 +161,7 @@ function Ge(e) {
|
|
|
161
161
|
function At(e) {
|
|
162
162
|
return e && typeof e.then == "function";
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function B(e, r) {
|
|
165
165
|
if (!e)
|
|
166
166
|
throw new Error("[vuex] " + r);
|
|
167
167
|
}
|
|
@@ -322,7 +322,7 @@ function Mt(e) {
|
|
|
322
322
|
H(function() {
|
|
323
323
|
return e._state.data;
|
|
324
324
|
}, function() {
|
|
325
|
-
process.env.NODE_ENV !== "production" &&
|
|
325
|
+
process.env.NODE_ENV !== "production" && B(e._committing, "do not mutate vuex store state outside mutation handlers.");
|
|
326
326
|
}, { deep: !0, flush: "sync" });
|
|
327
327
|
}
|
|
328
328
|
function $e(e, r) {
|
|
@@ -331,7 +331,7 @@ function $e(e, r) {
|
|
|
331
331
|
}, e);
|
|
332
332
|
}
|
|
333
333
|
function de(e, r, s) {
|
|
334
|
-
return Ge(e) && e.type && (s = r, r = e, e = e.type), process.env.NODE_ENV !== "production" &&
|
|
334
|
+
return Ge(e) && e.type && (s = r, r = e, e = e.type), process.env.NODE_ENV !== "production" && B(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: r, options: s };
|
|
335
335
|
}
|
|
336
336
|
var It = "vuex bindings", Oe = "vuex:mutations", pe = "vuex:actions", J = "vuex", Nt = 0;
|
|
337
337
|
function Vt(e, r) {
|
|
@@ -537,7 +537,7 @@ function _e(e) {
|
|
|
537
537
|
return r;
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var G = function(r, s) {
|
|
541
541
|
this.runtime = s, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = r;
|
|
542
542
|
var n = r.state;
|
|
543
543
|
this.state = (typeof n == "function" ? n() : n) || {};
|
|
@@ -545,34 +545,34 @@ var B = function(r, s) {
|
|
|
545
545
|
Ke.namespaced.get = function() {
|
|
546
546
|
return !!this._rawModule.namespaced;
|
|
547
547
|
};
|
|
548
|
-
|
|
548
|
+
G.prototype.addChild = function(r, s) {
|
|
549
549
|
this._children[r] = s;
|
|
550
550
|
};
|
|
551
|
-
|
|
551
|
+
G.prototype.removeChild = function(r) {
|
|
552
552
|
delete this._children[r];
|
|
553
553
|
};
|
|
554
|
-
|
|
554
|
+
G.prototype.getChild = function(r) {
|
|
555
555
|
return this._children[r];
|
|
556
556
|
};
|
|
557
|
-
|
|
557
|
+
G.prototype.hasChild = function(r) {
|
|
558
558
|
return r in this._children;
|
|
559
559
|
};
|
|
560
|
-
|
|
560
|
+
G.prototype.update = function(r) {
|
|
561
561
|
this._rawModule.namespaced = r.namespaced, r.actions && (this._rawModule.actions = r.actions), r.mutations && (this._rawModule.mutations = r.mutations), r.getters && (this._rawModule.getters = r.getters);
|
|
562
562
|
};
|
|
563
|
-
|
|
563
|
+
G.prototype.forEachChild = function(r) {
|
|
564
564
|
K(this._children, r);
|
|
565
565
|
};
|
|
566
|
-
|
|
566
|
+
G.prototype.forEachGetter = function(r) {
|
|
567
567
|
this._rawModule.getters && K(this._rawModule.getters, r);
|
|
568
568
|
};
|
|
569
|
-
|
|
569
|
+
G.prototype.forEachAction = function(r) {
|
|
570
570
|
this._rawModule.actions && K(this._rawModule.actions, r);
|
|
571
571
|
};
|
|
572
|
-
|
|
572
|
+
G.prototype.forEachMutation = function(r) {
|
|
573
573
|
this._rawModule.mutations && K(this._rawModule.mutations, r);
|
|
574
574
|
};
|
|
575
|
-
Object.defineProperties(
|
|
575
|
+
Object.defineProperties(G.prototype, Ke);
|
|
576
576
|
var W = function(r) {
|
|
577
577
|
this.register([], r, !1);
|
|
578
578
|
};
|
|
@@ -593,7 +593,7 @@ W.prototype.update = function(r) {
|
|
|
593
593
|
W.prototype.register = function(r, s, n) {
|
|
594
594
|
var o = this;
|
|
595
595
|
n === void 0 && (n = !0), process.env.NODE_ENV !== "production" && Ye(r, s);
|
|
596
|
-
var a = new
|
|
596
|
+
var a = new G(s, n);
|
|
597
597
|
if (r.length === 0)
|
|
598
598
|
this.root = a;
|
|
599
599
|
else {
|
|
@@ -654,7 +654,7 @@ function Ye(e, r) {
|
|
|
654
654
|
if (r[s]) {
|
|
655
655
|
var n = je[s];
|
|
656
656
|
K(r[s], function(o, a) {
|
|
657
|
-
|
|
657
|
+
B(
|
|
658
658
|
n.assert(o),
|
|
659
659
|
Ht(e, s, a, o, n.expected)
|
|
660
660
|
);
|
|
@@ -666,9 +666,9 @@ function Ht(e, r, s, n, o) {
|
|
|
666
666
|
var a = r + " should be " + o + ' but "' + r + "." + s + '"';
|
|
667
667
|
return e.length > 0 && (a += ' in module "' + e.join(".") + '"'), a += " is " + JSON.stringify(n) + ".", a;
|
|
668
668
|
}
|
|
669
|
-
var
|
|
669
|
+
var N = function e(r) {
|
|
670
670
|
var s = this;
|
|
671
|
-
r === void 0 && (r = {}), process.env.NODE_ENV !== "production" && (
|
|
671
|
+
r === void 0 && (r = {}), process.env.NODE_ENV !== "production" && (B(typeof Promise < "u", "vuex requires a Promise polyfill in this browser."), B(this instanceof e, "store must be called with the new operator."));
|
|
672
672
|
var n = r.plugins;
|
|
673
673
|
n === void 0 && (n = []);
|
|
674
674
|
var o = r.strict;
|
|
@@ -678,15 +678,15 @@ var I = function e(r) {
|
|
|
678
678
|
var i = this, l = this, c = l.dispatch, f = l.commit;
|
|
679
679
|
this.dispatch = function(v, S) {
|
|
680
680
|
return c.call(i, v, S);
|
|
681
|
-
}, this.commit = function(v, S,
|
|
682
|
-
return f.call(i, v, S,
|
|
681
|
+
}, this.commit = function(v, S, V) {
|
|
682
|
+
return f.call(i, v, S, V);
|
|
683
683
|
}, this.strict = o;
|
|
684
684
|
var m = this._modules.root.state;
|
|
685
685
|
ue(this, m, [], this._modules.root), ke(this, m), n.forEach(function(_) {
|
|
686
686
|
return _(s);
|
|
687
687
|
});
|
|
688
688
|
}, Ce = { state: { configurable: !0 } };
|
|
689
|
-
|
|
689
|
+
N.prototype.install = function(r, s) {
|
|
690
690
|
r.provide(s || Ve, this), r.config.globalProperties.$store = this;
|
|
691
691
|
var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
|
|
692
692
|
n && Vt(r, this);
|
|
@@ -695,9 +695,9 @@ Ce.state.get = function() {
|
|
|
695
695
|
return this._state.data;
|
|
696
696
|
};
|
|
697
697
|
Ce.state.set = function(e) {
|
|
698
|
-
process.env.NODE_ENV !== "production" &&
|
|
698
|
+
process.env.NODE_ENV !== "production" && B(!1, "use store.replaceState() to explicit replace store state.");
|
|
699
699
|
};
|
|
700
|
-
|
|
700
|
+
N.prototype.commit = function(r, s, n) {
|
|
701
701
|
var o = this, a = de(r, s, n), i = a.type, l = a.payload, c = a.options, f = { 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 @@ I.prototype.commit = function(r, s, 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
|
+
N.prototype.dispatch = function(r, s) {
|
|
717
717
|
var n = this, o = de(r, s), 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 @@ I.prototype.dispatch = function(r, s) {
|
|
|
757
757
|
});
|
|
758
758
|
});
|
|
759
759
|
};
|
|
760
|
-
|
|
760
|
+
N.prototype.subscribe = function(r, s) {
|
|
761
761
|
return Ue(r, this._subscribers, s);
|
|
762
762
|
};
|
|
763
|
-
|
|
763
|
+
N.prototype.subscribeAction = function(r, s) {
|
|
764
764
|
var n = typeof r == "function" ? { before: r } : r;
|
|
765
765
|
return Ue(n, this._actionSubscribers, s);
|
|
766
766
|
};
|
|
767
|
-
|
|
767
|
+
N.prototype.watch = function(r, s, n) {
|
|
768
768
|
var o = this;
|
|
769
|
-
return process.env.NODE_ENV !== "production" &&
|
|
769
|
+
return process.env.NODE_ENV !== "production" && B(typeof r == "function", "store.watch only accepts a function."), H(function() {
|
|
770
770
|
return r(o.state, o.getters);
|
|
771
771
|
}, s, Object.assign({}, n));
|
|
772
772
|
};
|
|
773
|
-
|
|
773
|
+
N.prototype.replaceState = function(r) {
|
|
774
774
|
var s = this;
|
|
775
775
|
this._withCommit(function() {
|
|
776
776
|
s._state.data = r;
|
|
777
777
|
});
|
|
778
778
|
};
|
|
779
|
-
|
|
780
|
-
n === void 0 && (n = {}), typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && (
|
|
779
|
+
N.prototype.registerModule = function(r, s, n) {
|
|
780
|
+
n === void 0 && (n = {}), typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && (B(Array.isArray(r), "module path must be a string or an Array."), B(r.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(r, s), ue(this, this.state, r, this._modules.get(r), n.preserveState), ke(this, this.state);
|
|
781
781
|
};
|
|
782
|
-
|
|
782
|
+
N.prototype.unregisterModule = function(r) {
|
|
783
783
|
var s = this;
|
|
784
|
-
typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" &&
|
|
784
|
+
typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && B(Array.isArray(r), "module path must be a string or an Array."), this._modules.unregister(r), this._withCommit(function() {
|
|
785
785
|
var n = $e(s.state, r.slice(0, -1));
|
|
786
786
|
delete n[r[r.length - 1]];
|
|
787
787
|
}), Fe(this);
|
|
788
788
|
};
|
|
789
|
-
|
|
790
|
-
return typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" &&
|
|
789
|
+
N.prototype.hasModule = function(r) {
|
|
790
|
+
return typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && B(Array.isArray(r), "module path must be a string or an Array."), this._modules.isRegistered(r);
|
|
791
791
|
};
|
|
792
|
-
|
|
792
|
+
N.prototype.hotUpdate = function(r) {
|
|
793
793
|
this._modules.update(r), Fe(this, !0);
|
|
794
794
|
};
|
|
795
|
-
|
|
795
|
+
N.prototype._withCommit = function(r) {
|
|
796
796
|
var s = this._committing;
|
|
797
797
|
this._committing = !0, r(), this._committing = s;
|
|
798
798
|
};
|
|
799
|
-
Object.defineProperties(
|
|
799
|
+
Object.defineProperties(N.prototype, Ce);
|
|
800
800
|
var zt = Je(function(e, r) {
|
|
801
801
|
var s = {};
|
|
802
802
|
return process.env.NODE_ENV !== "production" && !Se(r) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Xe(r).forEach(function(n) {
|
|
@@ -1047,9 +1047,9 @@ function $r(e, r, s, n, o, a) {
|
|
|
1047
1047
|
})
|
|
1048
1048
|
}, h(s.label_name), 3),
|
|
1049
1049
|
t("div", {
|
|
1050
|
-
onDragover: r[3] || (r[3] =
|
|
1051
|
-
onDragleave: r[4] || (r[4] =
|
|
1052
|
-
onDrop: r[5] || (r[5] =
|
|
1050
|
+
onDragover: r[3] || (r[3] = T((...l) => a.onDragOver && a.onDragOver(...l), ["prevent"])),
|
|
1051
|
+
onDragleave: r[4] || (r[4] = T((...l) => a.onDragLeave && a.onDragLeave(...l), ["prevent"])),
|
|
1052
|
+
onDrop: r[5] || (r[5] = T((...l) => a.onDrop && a.onDrop(...l), ["prevent"])),
|
|
1053
1053
|
class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
|
|
1054
1054
|
}, [
|
|
1055
1055
|
t("div", Wt, [
|
|
@@ -1065,7 +1065,7 @@ function $r(e, r, s, n, o, a) {
|
|
|
1065
1065
|
name: s.field_name,
|
|
1066
1066
|
"onUpdate:modelValue": r[1] || (r[1] = (l) => a.uploadedFileIds = l)
|
|
1067
1067
|
}, null, 8, Xt), [
|
|
1068
|
-
[
|
|
1068
|
+
[U, a.uploadedFileIds]
|
|
1069
1069
|
]),
|
|
1070
1070
|
o.isDragging ? (d(), u("div", tr, sr)) : (d(), u("div", {
|
|
1071
1071
|
key: 0,
|
|
@@ -1291,11 +1291,11 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1291
1291
|
t("div", Vr, [
|
|
1292
1292
|
t("div", Br, [
|
|
1293
1293
|
t("h3", Gr, [
|
|
1294
|
-
|
|
1294
|
+
I(n.$slots, "header")
|
|
1295
1295
|
])
|
|
1296
1296
|
]),
|
|
1297
1297
|
n.$slots.body ? (d(), u("div", Ur, [
|
|
1298
|
-
|
|
1298
|
+
I(n.$slots, "body")
|
|
1299
1299
|
])) : g("", !0)
|
|
1300
1300
|
])
|
|
1301
1301
|
], 2));
|
|
@@ -1398,7 +1398,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1398
1398
|
}
|
|
1399
1399
|
return b;
|
|
1400
1400
|
});
|
|
1401
|
-
function
|
|
1401
|
+
function V(b) {
|
|
1402
1402
|
if ([
|
|
1403
1403
|
"ArrowLeft",
|
|
1404
1404
|
"ArrowUp",
|
|
@@ -1484,7 +1484,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1484
1484
|
let x = a.value.findIndex((k) => k.id === b.id);
|
|
1485
1485
|
x !== -1 ? a.value.splice(x, 1) : a.value.push(b), console.log("selectOption selected", a.value), c.value = !1, i.value = a.value.map((k) => k.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function F() {
|
|
1488
1488
|
s.show || (f.value = "", c.value = !0, Te(() => {
|
|
1489
1489
|
var b = document.getElementById(
|
|
1490
1490
|
`${s.field_name}search${m.value}`
|
|
@@ -1547,7 +1547,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1547
1547
|
t("div", Wr, [
|
|
1548
1548
|
t("div", {
|
|
1549
1549
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1550
|
-
onClick: x[0] || (x[0] = (k) =>
|
|
1550
|
+
onClick: x[0] || (x[0] = (k) => F())
|
|
1551
1551
|
}, [
|
|
1552
1552
|
(d(!0), u(w, null, D(v.value, (k, L) => (d(), u("span", {
|
|
1553
1553
|
key: L,
|
|
@@ -1555,7 +1555,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1555
1555
|
}, [
|
|
1556
1556
|
$(h(k == null ? void 0 : k.name) + " ", 1),
|
|
1557
1557
|
t("i", {
|
|
1558
|
-
onClick:
|
|
1558
|
+
onClick: T((De) => he(k), ["stop"]),
|
|
1559
1559
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
1560
1560
|
}, null, 8, Yr)
|
|
1561
1561
|
]))), 128))
|
|
@@ -1575,13 +1575,13 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1575
1575
|
"onUpdate:modelValue": x[1] || (x[1] = (k) => f.value = k),
|
|
1576
1576
|
ref: o.value,
|
|
1577
1577
|
id: `${e.field_name}search${m.value}`,
|
|
1578
|
-
onKeydown:
|
|
1578
|
+
onKeydown: V,
|
|
1579
1579
|
onBlur: x[2] || (x[2] = (k) => se()),
|
|
1580
1580
|
autocomplete: "off",
|
|
1581
1581
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
1582
1582
|
placeholder: "Search ..."
|
|
1583
1583
|
}, null, 40, rs), [
|
|
1584
|
-
[
|
|
1584
|
+
[U, f.value]
|
|
1585
1585
|
])
|
|
1586
1586
|
])
|
|
1587
1587
|
]),
|
|
@@ -1702,7 +1702,7 @@ function ls(e, r, s, n, o, a) {
|
|
|
1702
1702
|
key: 0,
|
|
1703
1703
|
class: p([s.icon, "text-base"])
|
|
1704
1704
|
}, null, 2)) : g("", !0),
|
|
1705
|
-
|
|
1705
|
+
I(e.$slots, "default")
|
|
1706
1706
|
]),
|
|
1707
1707
|
_: 3
|
|
1708
1708
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
@@ -1791,7 +1791,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1791
1791
|
ref: i,
|
|
1792
1792
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
|
|
1793
1793
|
}, null, 8, ds), [
|
|
1794
|
-
[
|
|
1794
|
+
[U, l.inputTranslateValue]
|
|
1795
1795
|
]),
|
|
1796
1796
|
t("p", {
|
|
1797
1797
|
id: e.field_name,
|
|
@@ -1931,7 +1931,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
1931
1931
|
ref: i,
|
|
1932
1932
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
|
|
1933
1933
|
}, null, 8, _s), [
|
|
1934
|
-
[
|
|
1934
|
+
[U, l.inputTranslateValue]
|
|
1935
1935
|
]),
|
|
1936
1936
|
t("p", {
|
|
1937
1937
|
id: e.field_name,
|
|
@@ -2065,7 +2065,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
|
|
|
2065
2065
|
ref: "input_translate_s",
|
|
2066
2066
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
|
|
2067
2067
|
}, null, 8, As), [
|
|
2068
|
-
[
|
|
2068
|
+
[U, l.inputTranslateValue]
|
|
2069
2069
|
]),
|
|
2070
2070
|
t("p", {
|
|
2071
2071
|
id: e.field_name,
|
|
@@ -2252,7 +2252,7 @@ function Qs(e, r, s, n, o, a) {
|
|
|
2252
2252
|
t("div", Ys, [
|
|
2253
2253
|
t("div", Xs, [
|
|
2254
2254
|
t("div", Js, [
|
|
2255
|
-
|
|
2255
|
+
I(e.$slots, "default")
|
|
2256
2256
|
])
|
|
2257
2257
|
])
|
|
2258
2258
|
])
|
|
@@ -2271,7 +2271,7 @@ const Sc = /* @__PURE__ */ O(Hs, [["render", Qs]]), ea = {
|
|
|
2271
2271
|
};
|
|
2272
2272
|
function ra(e, r, s, n, o, a) {
|
|
2273
2273
|
return s.title == n.selectedTitle ? (d(), u("div", ta, [
|
|
2274
|
-
|
|
2274
|
+
I(e.$slots, "default")
|
|
2275
2275
|
])) : g("", !0);
|
|
2276
2276
|
}
|
|
2277
2277
|
const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
@@ -2373,7 +2373,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2373
2373
|
this.direction_property == "rtl" ? r.style.marginRight = -this.dotsNavigation[e - 1] + "px" : r.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
|
|
2374
2374
|
}
|
|
2375
2375
|
}
|
|
2376
|
-
},
|
|
2376
|
+
}, M = (e) => (nt("data-v-a94f16a9"), e = e(), ot(), e), aa = ["id"], na = {
|
|
2377
2377
|
key: 0,
|
|
2378
2378
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2379
2379
|
}, oa = { class: "w-full" }, la = {
|
|
@@ -2384,7 +2384,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2384
2384
|
viewBox: "0 0 24 24",
|
|
2385
2385
|
stroke: "currentColor",
|
|
2386
2386
|
"stroke-width": "2"
|
|
2387
|
-
}, ia = /* @__PURE__ */
|
|
2387
|
+
}, ia = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2388
2388
|
"stroke-linecap": "round",
|
|
2389
2389
|
"stroke-linejoin": "round",
|
|
2390
2390
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2398,7 +2398,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2398
2398
|
viewBox: "0 0 24 24",
|
|
2399
2399
|
stroke: "currentColor",
|
|
2400
2400
|
"stroke-width": "2"
|
|
2401
|
-
}, ca = /* @__PURE__ */
|
|
2401
|
+
}, ca = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2402
2402
|
"stroke-linecap": "round",
|
|
2403
2403
|
"stroke-linejoin": "round",
|
|
2404
2404
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2412,7 +2412,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2412
2412
|
viewBox: "0 0 24 24",
|
|
2413
2413
|
stroke: "currentColor",
|
|
2414
2414
|
"stroke-width": "2"
|
|
2415
|
-
}, pa = /* @__PURE__ */
|
|
2415
|
+
}, pa = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2416
2416
|
"stroke-linecap": "round",
|
|
2417
2417
|
"stroke-linejoin": "round",
|
|
2418
2418
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2426,7 +2426,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2426
2426
|
viewBox: "0 0 24 24",
|
|
2427
2427
|
stroke: "currentColor",
|
|
2428
2428
|
"stroke-width": "2"
|
|
2429
|
-
}, va = /* @__PURE__ */
|
|
2429
|
+
}, va = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2430
2430
|
"stroke-linecap": "round",
|
|
2431
2431
|
"stroke-linejoin": "round",
|
|
2432
2432
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2440,7 +2440,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2440
2440
|
viewBox: "0 0 24 24",
|
|
2441
2441
|
stroke: "currentColor",
|
|
2442
2442
|
"stroke-width": "2"
|
|
2443
|
-
}, $a = /* @__PURE__ */
|
|
2443
|
+
}, $a = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2444
2444
|
"stroke-linecap": "round",
|
|
2445
2445
|
"stroke-linejoin": "round",
|
|
2446
2446
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2454,18 +2454,18 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2454
2454
|
viewBox: "0 0 24 24",
|
|
2455
2455
|
stroke: "currentColor",
|
|
2456
2456
|
"stroke-width": "2"
|
|
2457
|
-
}, Da = /* @__PURE__ */
|
|
2457
|
+
}, Da = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2458
2458
|
"stroke-linecap": "round",
|
|
2459
2459
|
"stroke-linejoin": "round",
|
|
2460
2460
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2461
2461
|
}, null, -1)), Oa = [
|
|
2462
2462
|
Da
|
|
2463
|
-
], Aa = ["onClick"], Pa = /* @__PURE__ */
|
|
2463
|
+
], Aa = ["onClick"], Pa = /* @__PURE__ */ M(() => /* @__PURE__ */ t("span", null, null, -1)), ja = [
|
|
2464
2464
|
Pa
|
|
2465
2465
|
], Ea = {
|
|
2466
2466
|
key: 1,
|
|
2467
2467
|
class: "flex justify-between pl-5 pr-5"
|
|
2468
|
-
}, La = ["onClick"], Ta = /* @__PURE__ */
|
|
2468
|
+
}, La = ["onClick"], Ta = /* @__PURE__ */ M(() => /* @__PURE__ */ t("span", null, null, -1)), Ma = [
|
|
2469
2469
|
Ta
|
|
2470
2470
|
], Ia = {
|
|
2471
2471
|
key: 0,
|
|
@@ -2478,7 +2478,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2478
2478
|
viewBox: "0 0 24 24",
|
|
2479
2479
|
stroke: "currentColor",
|
|
2480
2480
|
"stroke-width": "2"
|
|
2481
|
-
}, Ga = /* @__PURE__ */
|
|
2481
|
+
}, Ga = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2482
2482
|
"stroke-linecap": "round",
|
|
2483
2483
|
"stroke-linejoin": "round",
|
|
2484
2484
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2492,7 +2492,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2492
2492
|
viewBox: "0 0 24 24",
|
|
2493
2493
|
stroke: "currentColor",
|
|
2494
2494
|
"stroke-width": "2"
|
|
2495
|
-
}, Ra = /* @__PURE__ */
|
|
2495
|
+
}, Ra = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2496
2496
|
"stroke-linecap": "round",
|
|
2497
2497
|
"stroke-linejoin": "round",
|
|
2498
2498
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2506,7 +2506,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2506
2506
|
viewBox: "0 0 24 24",
|
|
2507
2507
|
stroke: "currentColor",
|
|
2508
2508
|
"stroke-width": "2"
|
|
2509
|
-
}, Ka = /* @__PURE__ */
|
|
2509
|
+
}, Ka = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2510
2510
|
"stroke-linecap": "round",
|
|
2511
2511
|
"stroke-linejoin": "round",
|
|
2512
2512
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2520,7 +2520,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2520
2520
|
viewBox: "0 0 24 24",
|
|
2521
2521
|
stroke: "currentColor",
|
|
2522
2522
|
"stroke-width": "2"
|
|
2523
|
-
}, Xa = /* @__PURE__ */
|
|
2523
|
+
}, Xa = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2524
2524
|
"stroke-linecap": "round",
|
|
2525
2525
|
"stroke-linejoin": "round",
|
|
2526
2526
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2537,7 +2537,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2537
2537
|
viewBox: "0 0 24 24",
|
|
2538
2538
|
stroke: "currentColor",
|
|
2539
2539
|
"stroke-width": "2"
|
|
2540
|
-
}, rn = /* @__PURE__ */
|
|
2540
|
+
}, rn = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2541
2541
|
"stroke-linecap": "round",
|
|
2542
2542
|
"stroke-linejoin": "round",
|
|
2543
2543
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
@@ -2551,7 +2551,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
|
|
|
2551
2551
|
viewBox: "0 0 24 24",
|
|
2552
2552
|
stroke: "currentColor",
|
|
2553
2553
|
"stroke-width": "2"
|
|
2554
|
-
}, nn = /* @__PURE__ */
|
|
2554
|
+
}, nn = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
|
|
2555
2555
|
"stroke-linecap": "round",
|
|
2556
2556
|
"stroke-linejoin": "round",
|
|
2557
2557
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
@@ -2590,14 +2590,14 @@ function ln(e, r, s, n, o, a) {
|
|
|
2590
2590
|
t("div", ma, [
|
|
2591
2591
|
t("button", {
|
|
2592
2592
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2593
|
-
onClick: r[1] || (r[1] =
|
|
2593
|
+
onClick: r[1] || (r[1] = T((i) => a.prev(), ["stop"]))
|
|
2594
2594
|
}, [
|
|
2595
2595
|
s.direction_property == "ltr" ? (d(), u("svg", ba, ya)) : g("", !0),
|
|
2596
2596
|
s.direction_property == "rtl" ? (d(), u("svg", _a, xa)) : g("", !0)
|
|
2597
2597
|
])
|
|
2598
2598
|
])
|
|
2599
2599
|
], 2)) : g("", !0),
|
|
2600
|
-
|
|
2600
|
+
I(e.$slots, "default", {}, void 0, !0),
|
|
2601
2601
|
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
|
|
2602
2602
|
key: 1,
|
|
2603
2603
|
class: p(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", s.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
@@ -2605,7 +2605,7 @@ function ln(e, r, s, n, o, a) {
|
|
|
2605
2605
|
t("div", wa, [
|
|
2606
2606
|
t("button", {
|
|
2607
2607
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2608
|
-
onClick: r[2] || (r[2] =
|
|
2608
|
+
onClick: r[2] || (r[2] = T((i) => a.next(), ["stop"]))
|
|
2609
2609
|
}, [
|
|
2610
2610
|
s.direction_property == "ltr" ? (d(), u("svg", ka, Ca)) : g("", !0),
|
|
2611
2611
|
s.direction_property == "rtl" ? (d(), u("svg", Sa, Oa)) : g("", !0)
|
|
@@ -2747,10 +2747,10 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2747
2747
|
t("div", {
|
|
2748
2748
|
class: p(["relative overflow-y-auto", e.bodyClass])
|
|
2749
2749
|
}, [
|
|
2750
|
-
|
|
2750
|
+
I(l.$slots, "body")
|
|
2751
2751
|
], 2),
|
|
2752
2752
|
t("div", mn, [
|
|
2753
|
-
|
|
2753
|
+
I(l.$slots, "buttons"),
|
|
2754
2754
|
t("button", {
|
|
2755
2755
|
onClick: i,
|
|
2756
2756
|
type: "button",
|
|
@@ -2977,7 +2977,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2977
2977
|
setup(e, { emit: r }) {
|
|
2978
2978
|
const s = e, n = r, o = C(null), a = C({}), i = C(0), l = C(!1), c = C(""), f = C("");
|
|
2979
2979
|
R(() => {
|
|
2980
|
-
f.value =
|
|
2980
|
+
f.value = V(), s.show || (document.body.addEventListener("click", (y) => {
|
|
2981
2981
|
te(y);
|
|
2982
2982
|
}), document.addEventListener("keypress", (y) => {
|
|
2983
2983
|
y.key === "Enter" && y.target.form && y.preventDefault();
|
|
@@ -2986,8 +2986,8 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
2986
2986
|
const m = E(() => fe()), _ = E(() => he()), v = E(() => {
|
|
2987
2987
|
const y = [], A = new RegExp(c.value, "ig");
|
|
2988
2988
|
for (const j of m.value) {
|
|
2989
|
-
const
|
|
2990
|
-
(c.value.length < 1 ||
|
|
2989
|
+
const F = String(j.name);
|
|
2990
|
+
(c.value.length < 1 || F.match(A)) && y.length < s.maxItem && y.push(j);
|
|
2991
2991
|
}
|
|
2992
2992
|
return y;
|
|
2993
2993
|
});
|
|
@@ -3004,13 +3004,13 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3004
3004
|
ge(y.key);
|
|
3005
3005
|
}
|
|
3006
3006
|
}
|
|
3007
|
-
function
|
|
3007
|
+
function V() {
|
|
3008
3008
|
let y = (/* @__PURE__ */ new Date()).getTime();
|
|
3009
3009
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
3010
3010
|
/[xy]/g,
|
|
3011
3011
|
function(j) {
|
|
3012
|
-
const
|
|
3013
|
-
return y = Math.floor(y / 16), (j === "x" ?
|
|
3012
|
+
const F = (y + Math.random() * 16) % 16 | 0;
|
|
3013
|
+
return y = Math.floor(y / 16), (j === "x" ? F : F & 3 | 8).toString(16);
|
|
3014
3014
|
}
|
|
3015
3015
|
);
|
|
3016
3016
|
}
|
|
@@ -3070,7 +3070,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3070
3070
|
}), H(a, (y) => {
|
|
3071
3071
|
ee(y) && n("update:modelValue", y.id);
|
|
3072
3072
|
}), (y, A) => {
|
|
3073
|
-
var j,
|
|
3073
|
+
var j, F, se;
|
|
3074
3074
|
return d(), u(w, null, [
|
|
3075
3075
|
e.show ? (d(), u("div", {
|
|
3076
3076
|
key: 0,
|
|
@@ -3090,7 +3090,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3090
3090
|
type: "hidden",
|
|
3091
3091
|
name: e.field_name,
|
|
3092
3092
|
id: e.field_name,
|
|
3093
|
-
value: (
|
|
3093
|
+
value: (F = _.value) == null ? void 0 : F.id
|
|
3094
3094
|
}, null, 8, Ln),
|
|
3095
3095
|
e.options ? (d(), u("div", Tn, [
|
|
3096
3096
|
e.label_name ? (d(), u("label", {
|
|
@@ -3116,7 +3116,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3116
3116
|
readonly: ""
|
|
3117
3117
|
}, null, 10, Nn),
|
|
3118
3118
|
P(t("i", {
|
|
3119
|
-
onClick: A[1] || (A[1] =
|
|
3119
|
+
onClick: A[1] || (A[1] = T((b) => me(), ["stop"])),
|
|
3120
3120
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3121
3121
|
style: { top: "13px" }
|
|
3122
3122
|
}, null, 512), [
|
|
@@ -3144,7 +3144,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3144
3144
|
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",
|
|
3145
3145
|
placeholder: "Search ..."
|
|
3146
3146
|
}, null, 40, Rn), [
|
|
3147
|
-
[
|
|
3147
|
+
[U, c.value]
|
|
3148
3148
|
])
|
|
3149
3149
|
])
|
|
3150
3150
|
]),
|
|
@@ -3276,7 +3276,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
|
|
|
3276
3276
|
rows: "4",
|
|
3277
3277
|
placeholder: e.placeholder
|
|
3278
3278
|
}, null, 42, so), [
|
|
3279
|
-
[
|
|
3279
|
+
[U, i.value]
|
|
3280
3280
|
]),
|
|
3281
3281
|
t("span", ao, h(e.error_message), 1),
|
|
3282
3282
|
t("small", no, h(e.description), 1)
|
|
@@ -3497,7 +3497,7 @@ function xo(e, r, s, n, o, a) {
|
|
|
3497
3497
|
"aria-label": "Previous",
|
|
3498
3498
|
tabindex: !l.computed.prevPageUrl && -1
|
|
3499
3499
|
}, be(l.prevButtonEvents, !0)), [
|
|
3500
|
-
|
|
3500
|
+
I(e.$slots, "prev-nav", {}, () => [
|
|
3501
3501
|
mo,
|
|
3502
3502
|
bo
|
|
3503
3503
|
])
|
|
@@ -3525,7 +3525,7 @@ function xo(e, r, s, n, o, a) {
|
|
|
3525
3525
|
"aria-label": "Next",
|
|
3526
3526
|
tabindex: !l.computed.nextPageUrl && -1
|
|
3527
3527
|
}, be(l.nextButtonEvents, !0)), [
|
|
3528
|
-
|
|
3528
|
+
I(e.$slots, "next-nav", {}, () => [
|
|
3529
3529
|
_o,
|
|
3530
3530
|
vo
|
|
3531
3531
|
])
|
|
@@ -3721,7 +3721,7 @@ function zo(e, r, s, n, o, a) {
|
|
|
3721
3721
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
3722
3722
|
placeholder: "Search ..."
|
|
3723
3723
|
}, null, 544), [
|
|
3724
|
-
[
|
|
3724
|
+
[U, o.search]
|
|
3725
3725
|
])
|
|
3726
3726
|
])
|
|
3727
3727
|
]),
|
|
@@ -3980,7 +3980,7 @@ function _l(e, r, s, n, o, a) {
|
|
|
3980
3980
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
3981
3981
|
placeholder: "Search ..."
|
|
3982
3982
|
}, null, 544), [
|
|
3983
|
-
[
|
|
3983
|
+
[U, o.search]
|
|
3984
3984
|
])
|
|
3985
3985
|
])
|
|
3986
3986
|
]),
|
|
@@ -4029,8 +4029,8 @@ function _l(e, r, s, n, o, a) {
|
|
|
4029
4029
|
field: v.field_name,
|
|
4030
4030
|
xprops: s.xprops,
|
|
4031
4031
|
tdProps: v.tdProps,
|
|
4032
|
-
onDeleteAction: r[3] || (r[3] = (
|
|
4033
|
-
onEditAction: (
|
|
4032
|
+
onDeleteAction: r[3] || (r[3] = (V) => a.GetItemLists()),
|
|
4033
|
+
onEditAction: (V) => a.editAction(m)
|
|
4034
4034
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(w, { key: 1 }, [
|
|
4035
4035
|
$(h(m[v.field_name]), 1)
|
|
4036
4036
|
], 64))
|
|
@@ -4228,7 +4228,7 @@ function oi(e, r, s, n, o, a) {
|
|
|
4228
4228
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
4229
4229
|
placeholder: "Search ..."
|
|
4230
4230
|
}, null, 512), [
|
|
4231
|
-
[
|
|
4231
|
+
[U, o.search]
|
|
4232
4232
|
])
|
|
4233
4233
|
])
|
|
4234
4234
|
]),
|
|
@@ -4271,13 +4271,13 @@ function oi(e, r, s, n, o, a) {
|
|
|
4271
4271
|
t("div", Gl, [
|
|
4272
4272
|
t("a", {
|
|
4273
4273
|
href: "#",
|
|
4274
|
-
onClick: r[2] || (r[2] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
4274
|
+
onClick: r[2] || (r[2] = T((...l) => a.previousPage && a.previousPage(...l), ["prevent"])),
|
|
4275
4275
|
disabled: o.currentPage === 1,
|
|
4276
4276
|
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"
|
|
4277
4277
|
}, "Previous", 8, Ul),
|
|
4278
4278
|
t("a", {
|
|
4279
4279
|
href: "#",
|
|
4280
|
-
onClick: r[3] || (r[3] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
4280
|
+
onClick: r[3] || (r[3] = T((...l) => a.nextPage && a.nextPage(...l), ["prevent"])),
|
|
4281
4281
|
disabled: o.currentPage === a.totalPages,
|
|
4282
4282
|
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"
|
|
4283
4283
|
}, "Next", 8, Fl)
|
|
@@ -4300,7 +4300,7 @@ function oi(e, r, s, n, o, a) {
|
|
|
4300
4300
|
t("li", null, [
|
|
4301
4301
|
t("a", {
|
|
4302
4302
|
href: "#",
|
|
4303
|
-
onClick: r[4] || (r[4] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
4303
|
+
onClick: r[4] || (r[4] = T((...l) => a.previousPage && a.previousPage(...l), ["prevent"])),
|
|
4304
4304
|
disabled: o.currentPage === 1,
|
|
4305
4305
|
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"
|
|
4306
4306
|
}, Ql, 8, Yl)
|
|
@@ -4310,7 +4310,7 @@ function oi(e, r, s, n, o, a) {
|
|
|
4310
4310
|
o.currentPage !== l ? (d(), u("a", {
|
|
4311
4311
|
key: 0,
|
|
4312
4312
|
href: "#",
|
|
4313
|
-
onClick: (c) => a.goToPage(l),
|
|
4313
|
+
onClick: T((c) => a.goToPage(l), ["prevent"]),
|
|
4314
4314
|
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"
|
|
4315
4315
|
}, h(l), 9, ei)) : g("", !0)
|
|
4316
4316
|
]),
|
|
@@ -4318,7 +4318,7 @@ function oi(e, r, s, n, o, a) {
|
|
|
4318
4318
|
o.currentPage === l ? (d(), u("a", {
|
|
4319
4319
|
key: 0,
|
|
4320
4320
|
href: "#",
|
|
4321
|
-
onClick: (c) => a.goToPage(l),
|
|
4321
|
+
onClick: T((c) => a.goToPage(l), ["prevent"]),
|
|
4322
4322
|
"aria-current": "page",
|
|
4323
4323
|
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"
|
|
4324
4324
|
}, h(l), 9, ti)) : g("", !0)
|
|
@@ -4327,7 +4327,7 @@ function oi(e, r, s, n, o, a) {
|
|
|
4327
4327
|
t("li", null, [
|
|
4328
4328
|
t("a", {
|
|
4329
4329
|
href: "#",
|
|
4330
|
-
onClick: r[5] || (r[5] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
4330
|
+
onClick: r[5] || (r[5] = T((...l) => a.nextPage && a.nextPage(...l), ["prevent"])),
|
|
4331
4331
|
disabled: o.currentPage === a.totalPages,
|
|
4332
4332
|
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"
|
|
4333
4333
|
}, ni, 8, ri)
|
|
@@ -4361,7 +4361,7 @@ const Mc = /* @__PURE__ */ O(vl, [["render", oi]]), li = {
|
|
|
4361
4361
|
};
|
|
4362
4362
|
function ii(e, r, s, n, o, a) {
|
|
4363
4363
|
return d(), u("div", null, [
|
|
4364
|
-
|
|
4364
|
+
I(e.$slots, "default")
|
|
4365
4365
|
]);
|
|
4366
4366
|
}
|
|
4367
4367
|
const Ic = /* @__PURE__ */ O(li, [["render", ii]]), di = {
|
|
@@ -4445,7 +4445,7 @@ function pi(e, r, s, n, o, a) {
|
|
|
4445
4445
|
"border-t-0": n.isLastAccordion
|
|
4446
4446
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
4447
4447
|
}, [
|
|
4448
|
-
|
|
4448
|
+
I(e.$slots, "default")
|
|
4449
4449
|
], 2)) : g("", !0)
|
|
4450
4450
|
]);
|
|
4451
4451
|
}
|
|
@@ -4648,7 +4648,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4648
4648
|
});
|
|
4649
4649
|
};
|
|
4650
4650
|
return (v, S) => {
|
|
4651
|
-
const
|
|
4651
|
+
const V = Ie("click-outside");
|
|
4652
4652
|
return d(), u(w, null, [
|
|
4653
4653
|
q(we, {
|
|
4654
4654
|
isOpen: a.value,
|
|
@@ -4675,7 +4675,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4675
4675
|
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Hi, [
|
|
4676
4676
|
t("a", {
|
|
4677
4677
|
href: "#",
|
|
4678
|
-
onClick:
|
|
4678
|
+
onClick: T(f, ["prevent"]),
|
|
4679
4679
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4680
4680
|
}, [
|
|
4681
4681
|
zi,
|
|
@@ -4687,7 +4687,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4687
4687
|
[Q, o.value]
|
|
4688
4688
|
])
|
|
4689
4689
|
])), [
|
|
4690
|
-
[
|
|
4690
|
+
[V, i]
|
|
4691
4691
|
]) : g("", !0)
|
|
4692
4692
|
], 64);
|
|
4693
4693
|
};
|
|
@@ -4754,7 +4754,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4754
4754
|
});
|
|
4755
4755
|
};
|
|
4756
4756
|
return (v, S) => {
|
|
4757
|
-
const
|
|
4757
|
+
const V = Ie("click-outside");
|
|
4758
4758
|
return d(), u(w, null, [
|
|
4759
4759
|
q(we, {
|
|
4760
4760
|
isOpen: a.value,
|
|
@@ -4772,7 +4772,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4772
4772
|
v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Ji, [
|
|
4773
4773
|
t("a", {
|
|
4774
4774
|
href: "#",
|
|
4775
|
-
onClick:
|
|
4775
|
+
onClick: T(f, ["prevent"]),
|
|
4776
4776
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4777
4777
|
}, [
|
|
4778
4778
|
Qi,
|
|
@@ -4784,7 +4784,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
|
|
|
4784
4784
|
[Q, o.value]
|
|
4785
4785
|
])
|
|
4786
4786
|
])), [
|
|
4787
|
-
[
|
|
4787
|
+
[V, i]
|
|
4788
4788
|
]) : g("", !0)
|
|
4789
4789
|
], 64);
|
|
4790
4790
|
};
|
|
@@ -5293,7 +5293,7 @@ function Vu(e, r, s, n, o, a) {
|
|
|
5293
5293
|
t("div", Tu, [
|
|
5294
5294
|
t("h3", Mu, h(s.title), 1),
|
|
5295
5295
|
t("div", Iu, [
|
|
5296
|
-
|
|
5296
|
+
I(e.$slots, "default")
|
|
5297
5297
|
])
|
|
5298
5298
|
])
|
|
5299
5299
|
])
|