golden-logic-ui 1.0.25 → 1.0.26
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 +582 -574
- package/dist/golden-logic-ui.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Ae, inject as ce, watch as ee, effectScope as Ie, computed as Te, reactive as he, resolveComponent as U, Fragment as y, createVNode as G, normalizeClass as p, toDisplayString as h, withModifiers as A, withDirectives as C, vModelText as I, renderList as w, normalizeStyle as Me, unref as fe, renderSlot as P, createTextVNode as v, vShow as T, createBlock as F, resolveDynamicComponent as X, mergeProps as q, withCtx as z, ref as S, onMounted as M, provide as Ne, pushScopeId as Ve, popScopeId as Le, toHandlers as K, TransitionGroup as Be, resolveDirective as ge, markRaw as Ge } from "vue";
|
|
2
2
|
const k = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [n, a] of t)
|
|
@@ -26,7 +26,7 @@ const k = (e, t) => {
|
|
|
26
26
|
}, null, -1), ze = /* @__PURE__ */ s("span", {
|
|
27
27
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
28
28
|
"aria-hidden": "true"
|
|
29
|
-
}, "", -1), He = { 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" }, Ze = /* @__PURE__ */
|
|
29
|
+
}, "", -1), He = { 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" }, Ze = /* @__PURE__ */ Ae('<div class="px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6 text-gray-900" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm text-gray-500"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), Ke = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
30
30
|
function We(e, t, r, n, a, o) {
|
|
31
31
|
return r.isOpen ? (d(), u("div", Re, [
|
|
32
32
|
s("div", qe, [
|
|
@@ -52,9 +52,9 @@ function We(e, t, r, n, a, o) {
|
|
|
52
52
|
}
|
|
53
53
|
const te = /* @__PURE__ */ k(Fe, [["render", We]]);
|
|
54
54
|
function Xe() {
|
|
55
|
-
return
|
|
55
|
+
return me().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function me() {
|
|
58
58
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
59
59
|
}
|
|
60
60
|
const Ye = typeof Proxy == "function", Je = "devtools-plugin:setup", Qe = "plugin:settings:set";
|
|
@@ -129,7 +129,7 @@ class rt {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
function st(e, t) {
|
|
132
|
-
const r = e, n =
|
|
132
|
+
const r = e, n = me(), a = Xe(), o = Ye && r.enableEarlyProxy;
|
|
133
133
|
if (a && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !o))
|
|
134
134
|
a.emit(Je, e, t);
|
|
135
135
|
else {
|
|
@@ -146,16 +146,16 @@ function st(e, t) {
|
|
|
146
146
|
* (c) 2022 Evan You
|
|
147
147
|
* @license MIT
|
|
148
148
|
*/
|
|
149
|
-
var
|
|
150
|
-
function
|
|
151
|
-
return e === void 0 && (e = null), ce(e !== null ? e :
|
|
149
|
+
var _e = "store";
|
|
150
|
+
function pe(e) {
|
|
151
|
+
return e === void 0 && (e = null), ce(e !== null ? e : _e);
|
|
152
152
|
}
|
|
153
153
|
function N(e, t) {
|
|
154
154
|
Object.keys(e).forEach(function(r) {
|
|
155
155
|
return t(e[r], r);
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function be(e) {
|
|
159
159
|
return e !== null && typeof e == "object";
|
|
160
160
|
}
|
|
161
161
|
function nt(e) {
|
|
@@ -170,13 +170,13 @@ function ot(e, t) {
|
|
|
170
170
|
return e(t);
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function ye(e, t, r) {
|
|
174
174
|
return t.indexOf(e) < 0 && (r && r.prepend ? t.unshift(e) : t.push(e)), function() {
|
|
175
175
|
var n = t.indexOf(e);
|
|
176
176
|
n > -1 && t.splice(n, 1);
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function ve(e, t) {
|
|
180
180
|
e._actions = /* @__PURE__ */ Object.create(null), e._mutations = /* @__PURE__ */ Object.create(null), e._wrappedGetters = /* @__PURE__ */ Object.create(null), e._modulesNamespaceMap = /* @__PURE__ */ Object.create(null);
|
|
181
181
|
var r = e.state;
|
|
182
182
|
Z(e, r, [], e._modules.root, !0), re(e, r, t);
|
|
@@ -184,10 +184,10 @@ function ye(e, t) {
|
|
|
184
184
|
function re(e, t, r) {
|
|
185
185
|
var n = e._state, a = e._scope;
|
|
186
186
|
e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
187
|
-
var o = e._wrappedGetters, l = {}, i = {}, c =
|
|
187
|
+
var o = e._wrappedGetters, l = {}, i = {}, c = Ie(!0);
|
|
188
188
|
c.run(function() {
|
|
189
189
|
N(o, function(g, m) {
|
|
190
|
-
l[m] = ot(g, e), i[m] =
|
|
190
|
+
l[m] = ot(g, e), i[m] = Te(function() {
|
|
191
191
|
return l[m]();
|
|
192
192
|
}), Object.defineProperty(e.getters, m, {
|
|
193
193
|
get: function() {
|
|
@@ -251,7 +251,7 @@ function at(e, t, r) {
|
|
|
251
251
|
get: n ? function() {
|
|
252
252
|
return e.getters;
|
|
253
253
|
} : function() {
|
|
254
|
-
return
|
|
254
|
+
return xe(e, t);
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
state: {
|
|
@@ -261,7 +261,7 @@ function at(e, t, r) {
|
|
|
261
261
|
}
|
|
262
262
|
}), a;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function xe(e, t) {
|
|
265
265
|
if (!e._makeLocalGettersCache[t]) {
|
|
266
266
|
var r = {}, n = t.length;
|
|
267
267
|
Object.keys(e.getters).forEach(function(a) {
|
|
@@ -331,7 +331,7 @@ function se(e, t) {
|
|
|
331
331
|
}, e);
|
|
332
332
|
}
|
|
333
333
|
function H(e, t, r) {
|
|
334
|
-
return
|
|
334
|
+
return be(e) && e.type && (r = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && E(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: r };
|
|
335
335
|
}
|
|
336
336
|
var ct = "vuex bindings", ae = "vuex:mutations", W = "vuex:actions", B = "vuex", ht = 0;
|
|
337
337
|
function ft(e, t) {
|
|
@@ -363,15 +363,15 @@ function ft(e, t) {
|
|
|
363
363
|
if (n.app === e && n.inspectorId === B)
|
|
364
364
|
if (n.filter) {
|
|
365
365
|
var a = [];
|
|
366
|
-
|
|
366
|
+
Ce(a, t._modules.root, n.filter, ""), n.rootNodes = a;
|
|
367
367
|
} else
|
|
368
368
|
n.rootNodes = [
|
|
369
|
-
|
|
369
|
+
$e(t._modules.root, "")
|
|
370
370
|
];
|
|
371
371
|
}), r.on.getInspectorState(function(n) {
|
|
372
372
|
if (n.app === e && n.inspectorId === B) {
|
|
373
373
|
var a = n.nodeId;
|
|
374
|
-
|
|
374
|
+
xe(t, a), n.state = _t(
|
|
375
375
|
bt(t._modules, a),
|
|
376
376
|
a === "root" ? t.getters : t._makeLocalGettersCache,
|
|
377
377
|
a
|
|
@@ -432,25 +432,25 @@ function ft(e, t) {
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
-
var ie = 8702998, gt = 6710886, mt = 16777215,
|
|
435
|
+
var ie = 8702998, gt = 6710886, mt = 16777215, we = {
|
|
436
436
|
label: "namespaced",
|
|
437
437
|
textColor: mt,
|
|
438
438
|
backgroundColor: gt
|
|
439
439
|
};
|
|
440
|
-
function
|
|
440
|
+
function ke(e) {
|
|
441
441
|
return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function $e(e, t) {
|
|
444
444
|
return {
|
|
445
445
|
id: t || "root",
|
|
446
446
|
// all modules end with a `/`, we want the last segment only
|
|
447
447
|
// cart/ -> cart
|
|
448
448
|
// nested/cart/ -> cart
|
|
449
|
-
label:
|
|
450
|
-
tags: e.namespaced ? [
|
|
449
|
+
label: ke(t),
|
|
450
|
+
tags: e.namespaced ? [we] : [],
|
|
451
451
|
children: Object.keys(e._children).map(
|
|
452
452
|
function(r) {
|
|
453
|
-
return
|
|
453
|
+
return $e(
|
|
454
454
|
e._children[r],
|
|
455
455
|
t + r + "/"
|
|
456
456
|
);
|
|
@@ -458,13 +458,13 @@ function ke(e, t) {
|
|
|
458
458
|
)
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function Ce(e, t, r, n) {
|
|
462
462
|
n.includes(r) && e.push({
|
|
463
463
|
id: n || "root",
|
|
464
464
|
label: n.endsWith("/") ? n.slice(0, n.length - 1) : n || "Root",
|
|
465
|
-
tags: t.namespaced ? [
|
|
465
|
+
tags: t.namespaced ? [we] : []
|
|
466
466
|
}), Object.keys(t._children).forEach(function(a) {
|
|
467
|
-
|
|
467
|
+
Ce(e, t._children[a], r, n + a + "/");
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
function _t(e, t, r) {
|
|
@@ -482,7 +482,7 @@ function _t(e, t, r) {
|
|
|
482
482
|
var o = pt(t);
|
|
483
483
|
a.getters = Object.keys(o).map(function(l) {
|
|
484
484
|
return {
|
|
485
|
-
key: l.endsWith("/") ?
|
|
485
|
+
key: l.endsWith("/") ? ke(l) : l,
|
|
486
486
|
editable: !1,
|
|
487
487
|
value: J(function() {
|
|
488
488
|
return o[l];
|
|
@@ -541,8 +541,8 @@ var j = function(t, r) {
|
|
|
541
541
|
this.runtime = r, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = t;
|
|
542
542
|
var n = t.state;
|
|
543
543
|
this.state = (typeof n == "function" ? n() : n) || {};
|
|
544
|
-
},
|
|
545
|
-
|
|
544
|
+
}, Se = { namespaced: { configurable: !0 } };
|
|
545
|
+
Se.namespaced.get = function() {
|
|
546
546
|
return !!this._rawModule.namespaced;
|
|
547
547
|
};
|
|
548
548
|
j.prototype.addChild = function(t, r) {
|
|
@@ -572,7 +572,7 @@ j.prototype.forEachAction = function(t) {
|
|
|
572
572
|
j.prototype.forEachMutation = function(t) {
|
|
573
573
|
this._rawModule.mutations && N(this._rawModule.mutations, t);
|
|
574
574
|
};
|
|
575
|
-
Object.defineProperties(j.prototype,
|
|
575
|
+
Object.defineProperties(j.prototype, Se);
|
|
576
576
|
var V = function(t) {
|
|
577
577
|
this.register([], t, !1);
|
|
578
578
|
};
|
|
@@ -588,11 +588,11 @@ V.prototype.getNamespace = function(t) {
|
|
|
588
588
|
}, "");
|
|
589
589
|
};
|
|
590
590
|
V.prototype.update = function(t) {
|
|
591
|
-
|
|
591
|
+
Oe([], this.root, t);
|
|
592
592
|
};
|
|
593
593
|
V.prototype.register = function(t, r, n) {
|
|
594
594
|
var a = this;
|
|
595
|
-
n === void 0 && (n = !0), process.env.NODE_ENV !== "production" &&
|
|
595
|
+
n === void 0 && (n = !0), process.env.NODE_ENV !== "production" && De(t, r);
|
|
596
596
|
var o = new j(r, n);
|
|
597
597
|
if (t.length === 0)
|
|
598
598
|
this.root = o;
|
|
@@ -618,8 +618,8 @@ V.prototype.isRegistered = function(t) {
|
|
|
618
618
|
var r = this.get(t.slice(0, -1)), n = t[t.length - 1];
|
|
619
619
|
return r ? r.hasChild(n) : !1;
|
|
620
620
|
};
|
|
621
|
-
function
|
|
622
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
621
|
+
function Oe(e, t, r) {
|
|
622
|
+
if (process.env.NODE_ENV !== "production" && De(e, r), t.update(r), r.modules)
|
|
623
623
|
for (var n in r.modules) {
|
|
624
624
|
if (!t.getChild(n)) {
|
|
625
625
|
process.env.NODE_ENV !== "production" && console.warn(
|
|
@@ -627,7 +627,7 @@ function Se(e, t, r) {
|
|
|
627
627
|
);
|
|
628
628
|
return;
|
|
629
629
|
}
|
|
630
|
-
|
|
630
|
+
Oe(
|
|
631
631
|
e.concat(n),
|
|
632
632
|
t.getChild(n),
|
|
633
633
|
r.modules[n]
|
|
@@ -649,7 +649,7 @@ var le = {
|
|
|
649
649
|
mutations: le,
|
|
650
650
|
actions: yt
|
|
651
651
|
};
|
|
652
|
-
function
|
|
652
|
+
function De(e, t) {
|
|
653
653
|
Object.keys(de).forEach(function(r) {
|
|
654
654
|
if (t[r]) {
|
|
655
655
|
var n = de[r];
|
|
@@ -687,7 +687,7 @@ var D = function e(t) {
|
|
|
687
687
|
});
|
|
688
688
|
}, ne = { state: { configurable: !0 } };
|
|
689
689
|
D.prototype.install = function(t, r) {
|
|
690
|
-
t.provide(r ||
|
|
690
|
+
t.provide(r || _e, 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 && ft(t, this);
|
|
693
693
|
};
|
|
@@ -758,11 +758,11 @@ D.prototype.dispatch = function(t, r) {
|
|
|
758
758
|
});
|
|
759
759
|
};
|
|
760
760
|
D.prototype.subscribe = function(t, r) {
|
|
761
|
-
return
|
|
761
|
+
return ye(t, this._subscribers, r);
|
|
762
762
|
};
|
|
763
763
|
D.prototype.subscribeAction = function(t, r) {
|
|
764
764
|
var n = typeof t == "function" ? { before: t } : t;
|
|
765
|
-
return
|
|
765
|
+
return ye(n, this._actionSubscribers, r);
|
|
766
766
|
};
|
|
767
767
|
D.prototype.watch = function(t, r, n) {
|
|
768
768
|
var a = this;
|
|
@@ -784,27 +784,27 @@ D.prototype.unregisterModule = function(t) {
|
|
|
784
784
|
typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && E(Array.isArray(t), "module path must be a string or an Array."), this._modules.unregister(t), this._withCommit(function() {
|
|
785
785
|
var n = se(r.state, t.slice(0, -1));
|
|
786
786
|
delete n[t[t.length - 1]];
|
|
787
|
-
}),
|
|
787
|
+
}), ve(this);
|
|
788
788
|
};
|
|
789
789
|
D.prototype.hasModule = function(t) {
|
|
790
790
|
return typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && E(Array.isArray(t), "module path must be a string or an Array."), this._modules.isRegistered(t);
|
|
791
791
|
};
|
|
792
792
|
D.prototype.hotUpdate = function(t) {
|
|
793
|
-
this._modules.update(t),
|
|
793
|
+
this._modules.update(t), ve(this, !0);
|
|
794
794
|
};
|
|
795
795
|
D.prototype._withCommit = function(t) {
|
|
796
796
|
var r = this._committing;
|
|
797
797
|
this._committing = !0, t(), this._committing = r;
|
|
798
798
|
};
|
|
799
799
|
Object.defineProperties(D.prototype, ne);
|
|
800
|
-
var xt =
|
|
800
|
+
var xt = Ee(function(e, t) {
|
|
801
801
|
var r = {};
|
|
802
|
-
return process.env.NODE_ENV !== "production" && !oe(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),
|
|
802
|
+
return process.env.NODE_ENV !== "production" && !oe(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Pe(t).forEach(function(n) {
|
|
803
803
|
var a = n.key, o = n.val;
|
|
804
804
|
r[a] = function() {
|
|
805
805
|
var i = this.$store.state, c = this.$store.getters;
|
|
806
806
|
if (e) {
|
|
807
|
-
var g =
|
|
807
|
+
var g = je(this.$store, "mapState", e);
|
|
808
808
|
if (!g)
|
|
809
809
|
return;
|
|
810
810
|
i = g.context.state, c = g.context.getters;
|
|
@@ -812,16 +812,16 @@ var xt = Pe(function(e, t) {
|
|
|
812
812
|
return typeof o == "function" ? o.call(this, i, c) : i[o];
|
|
813
813
|
}, r[a].vuex = !0;
|
|
814
814
|
}), r;
|
|
815
|
-
}), wt =
|
|
815
|
+
}), wt = Ee(function(e, t) {
|
|
816
816
|
var r = {};
|
|
817
|
-
return process.env.NODE_ENV !== "production" && !oe(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),
|
|
817
|
+
return process.env.NODE_ENV !== "production" && !oe(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Pe(t).forEach(function(n) {
|
|
818
818
|
var a = n.key, o = n.val;
|
|
819
819
|
r[a] = function() {
|
|
820
820
|
for (var i = [], c = arguments.length; c--; )
|
|
821
821
|
i[c] = arguments[c];
|
|
822
822
|
var g = this.$store.commit;
|
|
823
823
|
if (e) {
|
|
824
|
-
var m =
|
|
824
|
+
var m = je(this.$store, "mapMutations", e);
|
|
825
825
|
if (!m)
|
|
826
826
|
return;
|
|
827
827
|
g = m.context.commit;
|
|
@@ -830,7 +830,7 @@ var xt = Pe(function(e, t) {
|
|
|
830
830
|
};
|
|
831
831
|
}), r;
|
|
832
832
|
});
|
|
833
|
-
function
|
|
833
|
+
function Pe(e) {
|
|
834
834
|
return oe(e) ? Array.isArray(e) ? e.map(function(t) {
|
|
835
835
|
return { key: t, val: t };
|
|
836
836
|
}) : Object.keys(e).map(function(t) {
|
|
@@ -838,14 +838,14 @@ function De(e) {
|
|
|
838
838
|
}) : [];
|
|
839
839
|
}
|
|
840
840
|
function oe(e) {
|
|
841
|
-
return Array.isArray(e) ||
|
|
841
|
+
return Array.isArray(e) || be(e);
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function Ee(e) {
|
|
844
844
|
return function(t, r) {
|
|
845
845
|
return typeof t != "string" ? (r = t, t = "") : t.charAt(t.length - 1) !== "/" && (t += "/"), e(t, r);
|
|
846
846
|
};
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function je(e, t, r) {
|
|
849
849
|
var n = e._modulesNamespaceMap[r];
|
|
850
850
|
return process.env.NODE_ENV !== "production" && !n && console.error("[vuex] module namespace not found in " + t + "(): " + r), n;
|
|
851
851
|
}
|
|
@@ -1087,7 +1087,7 @@ function Qt(e, t, r, n, a, o) {
|
|
|
1087
1087
|
s("div", Rt, [
|
|
1088
1088
|
s("div", {
|
|
1089
1089
|
class: "h-full bg-gray-500 rounded-full dark:bg-gray-400",
|
|
1090
|
-
style:
|
|
1090
|
+
style: Me({ width: i.loading + "%" })
|
|
1091
1091
|
}, null, 4)
|
|
1092
1092
|
])
|
|
1093
1093
|
])
|
|
@@ -1121,7 +1121,7 @@ function Qt(e, t, r, n, a, o) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Xl = /* @__PURE__ */ k(kt, [["render", Qt]]), er = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...xt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1213,7 +1213,7 @@ function ir(e, t, r, n, a, o) {
|
|
|
1213
1213
|
}, ar, 2)
|
|
1214
1214
|
], 2)) : f("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const Yl = /* @__PURE__ */ k(er, [["render", ir]]), lr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1272,27 +1272,35 @@ function hr(e, t, r, n, a, o) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1276
|
-
name: "Card"
|
|
1277
|
-
}, gr = { class: "flex flex-col gap-9" }, mr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, _r = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, pr = { class: "font-semibold text-black dark:text-white" }, br = {
|
|
1275
|
+
const Jl = /* @__PURE__ */ k(lr, [["render", hr]]), fr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, gr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, mr = { class: "font-semibold text-black dark:text-white" }, _r = {
|
|
1278
1276
|
key: 0,
|
|
1279
1277
|
class: "p-6"
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1278
|
+
}, Ql = {
|
|
1279
|
+
__name: "GlCard",
|
|
1280
|
+
props: {
|
|
1281
|
+
class: {
|
|
1282
|
+
type: String,
|
|
1283
|
+
default: ""
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
setup(e) {
|
|
1287
|
+
const t = e, r = computed(() => t.class);
|
|
1288
|
+
return (n, a) => (d(), u("div", {
|
|
1289
|
+
class: p(["flex flex-col gap-9", fe(r)])
|
|
1290
|
+
}, [
|
|
1291
|
+
s("div", fr, [
|
|
1292
|
+
s("div", gr, [
|
|
1293
|
+
s("h3", mr, [
|
|
1294
|
+
P(n.$slots, "header")
|
|
1295
|
+
])
|
|
1296
|
+
]),
|
|
1297
|
+
n.$slots.body ? (d(), u("div", _r, [
|
|
1298
|
+
P(n.$slots, "body")
|
|
1299
|
+
])) : f("", !0)
|
|
1300
|
+
])
|
|
1301
|
+
], 2));
|
|
1302
|
+
}
|
|
1303
|
+
}, pr = {
|
|
1296
1304
|
name: "MultiSelectDropdown",
|
|
1297
1305
|
template: "MultiSelectDropdown",
|
|
1298
1306
|
props: {
|
|
@@ -1449,16 +1457,16 @@ const rd = /* @__PURE__ */ k(fr, [["render", yr]]), vr = {
|
|
|
1449
1457
|
this.selectedIds = e.map((t) => t.id), this.$emit("update:modelValue", this.selectedIds), this.$emit("selected", this.selectedIds), this.$emit("selectionChanged", this.selectedIds);
|
|
1450
1458
|
}
|
|
1451
1459
|
}
|
|
1452
|
-
},
|
|
1460
|
+
}, br = { class: "font-bold ptext-lg dark:text-white" }, yr = { class: "mt-3 mb-4" }, vr = { 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" }, xr = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), wr = ["name", "value"], kr = {
|
|
1453
1461
|
key: 0,
|
|
1454
1462
|
class: "dropdown"
|
|
1455
|
-
},
|
|
1463
|
+
}, $r = {
|
|
1456
1464
|
class: "inline-flex ml-2 rounded-md shadow-sm",
|
|
1457
1465
|
role: "group"
|
|
1458
|
-
},
|
|
1466
|
+
}, Cr = { 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" }, Sr = { class: "relative" }, Or = ["onClick"], Dr = { 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] showOptions" }, Pr = { class: "p-1" }, Er = /* @__PURE__ */ s("label", {
|
|
1459
1467
|
for: "default-search",
|
|
1460
1468
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
1461
|
-
}, "Search", -1),
|
|
1469
|
+
}, "Search", -1), jr = { class: "relative" }, Ar = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
1462
1470
|
/* @__PURE__ */ s("svg", {
|
|
1463
1471
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
1464
1472
|
"aria-hidden": "true",
|
|
@@ -1474,18 +1482,18 @@ const rd = /* @__PURE__ */ k(fr, [["render", yr]]), vr = {
|
|
|
1474
1482
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
1475
1483
|
})
|
|
1476
1484
|
])
|
|
1477
|
-
], -1),
|
|
1478
|
-
function
|
|
1485
|
+
], -1), Ir = ["id"], Tr = { class: "overflow-y-auto max-h-64" }, Mr = ["onClick", "onMousedown", "id"];
|
|
1486
|
+
function Nr(e, t, r, n, a, o) {
|
|
1479
1487
|
return d(), u(y, null, [
|
|
1480
1488
|
r.show ? (d(), u("div", {
|
|
1481
1489
|
key: 0,
|
|
1482
1490
|
class: p(r.field_name)
|
|
1483
1491
|
}, [
|
|
1484
|
-
s("h3",
|
|
1485
|
-
s("p",
|
|
1486
|
-
(d(!0), u(y, null, w(a.selected, (l, i) => (d(), u("span",
|
|
1492
|
+
s("h3", br, h(r.label_name), 1),
|
|
1493
|
+
s("p", yr, [
|
|
1494
|
+
(d(!0), u(y, null, w(a.selected, (l, i) => (d(), u("span", vr, h(l.name), 1))), 256))
|
|
1487
1495
|
]),
|
|
1488
|
-
|
|
1496
|
+
xr
|
|
1489
1497
|
], 2)) : f("", !0),
|
|
1490
1498
|
r.show ? f("", !0) : (d(), u("div", {
|
|
1491
1499
|
key: 1,
|
|
@@ -1496,8 +1504,8 @@ function Br(e, t, r, n, a, o) {
|
|
|
1496
1504
|
name: r.field_name + "[]",
|
|
1497
1505
|
key: i,
|
|
1498
1506
|
value: l
|
|
1499
|
-
}, null, 8,
|
|
1500
|
-
r.options ? (d(), u("div",
|
|
1507
|
+
}, null, 8, wr))), 128)),
|
|
1508
|
+
r.options ? (d(), u("div", kr, [
|
|
1501
1509
|
s("label", {
|
|
1502
1510
|
class: p({
|
|
1503
1511
|
"gl-label-form": r.error_message == "",
|
|
@@ -1505,7 +1513,7 @@ function Br(e, t, r, n, a, o) {
|
|
|
1505
1513
|
required: r.is_required
|
|
1506
1514
|
})
|
|
1507
1515
|
}, h(r.label_name), 3),
|
|
1508
|
-
s("div",
|
|
1516
|
+
s("div", $r, [
|
|
1509
1517
|
s("button", {
|
|
1510
1518
|
onClick: t[0] || (t[0] = (...l) => o.selectAll && o.selectAll(...l)),
|
|
1511
1519
|
type: "button",
|
|
@@ -1517,8 +1525,8 @@ function Br(e, t, r, n, a, o) {
|
|
|
1517
1525
|
class: "px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-e-md hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"
|
|
1518
1526
|
}, " Deselect all ")
|
|
1519
1527
|
]),
|
|
1520
|
-
s("div",
|
|
1521
|
-
s("div",
|
|
1528
|
+
s("div", Cr, [
|
|
1529
|
+
s("div", Sr, [
|
|
1522
1530
|
s("div", {
|
|
1523
1531
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1524
1532
|
onClick: t[2] || (t[2] = (l) => o.showOptions())
|
|
@@ -1531,7 +1539,7 @@ function Br(e, t, r, n, a, o) {
|
|
|
1531
1539
|
s("i", {
|
|
1532
1540
|
onClick: A((c) => o.clearOption(l), ["stop"]),
|
|
1533
1541
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
1534
|
-
}, null, 8,
|
|
1542
|
+
}, null, 8, Or)
|
|
1535
1543
|
]))), 128))
|
|
1536
1544
|
]),
|
|
1537
1545
|
s("i", {
|
|
@@ -1539,11 +1547,11 @@ function Br(e, t, r, n, a, o) {
|
|
|
1539
1547
|
style: { top: "11px" }
|
|
1540
1548
|
}, null, 2)
|
|
1541
1549
|
]),
|
|
1542
|
-
C(s("div",
|
|
1543
|
-
s("div",
|
|
1544
|
-
|
|
1545
|
-
s("div",
|
|
1546
|
-
|
|
1550
|
+
C(s("div", Dr, [
|
|
1551
|
+
s("div", Pr, [
|
|
1552
|
+
Er,
|
|
1553
|
+
s("div", jr, [
|
|
1554
|
+
Ar,
|
|
1547
1555
|
C(s("input", {
|
|
1548
1556
|
type: "search",
|
|
1549
1557
|
"onUpdate:modelValue": t[3] || (t[3] = (l) => a.searchFilter = l),
|
|
@@ -1553,12 +1561,12 @@ function Br(e, t, r, n, a, o) {
|
|
|
1553
1561
|
autocomplete: "off",
|
|
1554
1562
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
1555
1563
|
placeholder: "Search ..."
|
|
1556
|
-
}, null, 40,
|
|
1564
|
+
}, null, 40, Ir), [
|
|
1557
1565
|
[I, a.searchFilter]
|
|
1558
1566
|
])
|
|
1559
1567
|
])
|
|
1560
1568
|
]),
|
|
1561
|
-
s("div",
|
|
1569
|
+
s("div", Tr, [
|
|
1562
1570
|
(d(!0), u(y, null, w(o.filteredOptions, (l, i) => (d(), u("div", {
|
|
1563
1571
|
class: p([
|
|
1564
1572
|
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
@@ -1568,7 +1576,7 @@ function Br(e, t, r, n, a, o) {
|
|
|
1568
1576
|
onMousedown: (c) => o.selectOption(l),
|
|
1569
1577
|
key: i,
|
|
1570
1578
|
id: i + 1
|
|
1571
|
-
}, h(l.name || l.id || "-"), 43,
|
|
1579
|
+
}, h(l.name || l.id || "-"), 43, Mr))), 128))
|
|
1572
1580
|
])
|
|
1573
1581
|
], 512), [
|
|
1574
1582
|
[T, a.optionsShown]
|
|
@@ -1578,7 +1586,7 @@ function Br(e, t, r, n, a, o) {
|
|
|
1578
1586
|
], 2))
|
|
1579
1587
|
], 64);
|
|
1580
1588
|
}
|
|
1581
|
-
const
|
|
1589
|
+
const ed = /* @__PURE__ */ k(pr, [["render", Nr]]), Vr = {
|
|
1582
1590
|
props: {
|
|
1583
1591
|
button_type: {
|
|
1584
1592
|
type: String,
|
|
@@ -1630,7 +1638,7 @@ const sd = /* @__PURE__ */ k(vr, [["render", Br]]), Gr = {
|
|
|
1630
1638
|
}
|
|
1631
1639
|
},
|
|
1632
1640
|
methods: {}
|
|
1633
|
-
},
|
|
1641
|
+
}, Lr = /* @__PURE__ */ s("svg", {
|
|
1634
1642
|
"aria-hidden": "true",
|
|
1635
1643
|
role: "status",
|
|
1636
1644
|
class: "inline w-4 h-4 me-3 animate-spin",
|
|
@@ -1647,14 +1655,14 @@ const sd = /* @__PURE__ */ k(vr, [["render", Br]]), Gr = {
|
|
|
1647
1655
|
fill: "#1C64F2"
|
|
1648
1656
|
})
|
|
1649
1657
|
], -1);
|
|
1650
|
-
function
|
|
1658
|
+
function Br(e, t, r, n, a, o) {
|
|
1651
1659
|
return r.is_loading ? (d(), F(X("button"), {
|
|
1652
1660
|
key: 1,
|
|
1653
1661
|
disabled: "",
|
|
1654
1662
|
class: p(`flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${o.buttonTypeClass}`)
|
|
1655
1663
|
}, {
|
|
1656
1664
|
default: z(() => [
|
|
1657
|
-
|
|
1665
|
+
Lr,
|
|
1658
1666
|
v(" Loading... ")
|
|
1659
1667
|
]),
|
|
1660
1668
|
_: 1
|
|
@@ -1675,7 +1683,7 @@ function Rr(e, t, r, n, a, o) {
|
|
|
1675
1683
|
_: 3
|
|
1676
1684
|
}, 16, ["type", "href", "class"]));
|
|
1677
1685
|
}
|
|
1678
|
-
const
|
|
1686
|
+
const td = /* @__PURE__ */ k(Vr, [["render", Br]]), Gr = { class: "font-bold ptext-lg dark:text-white" }, Fr = ["name", "id"], Rr = ["id"], qr = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ur = ["for"], zr = /* @__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), Hr = ["name", "id"], Zr = ["required", "name", "id", "type"], Kr = { class: "gl-span-form-error" }, Wr = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, rd = {
|
|
1679
1687
|
__name: "GlTextareaTranslate",
|
|
1680
1688
|
props: {
|
|
1681
1689
|
is_required: {
|
|
@@ -1749,7 +1757,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1749
1757
|
key: 0,
|
|
1750
1758
|
class: p(e.field_name)
|
|
1751
1759
|
}, [
|
|
1752
|
-
s("h3",
|
|
1760
|
+
s("h3", Gr, h(e.label_name), 1),
|
|
1753
1761
|
C(s("input", {
|
|
1754
1762
|
type: "hidden",
|
|
1755
1763
|
"data-i18n": "true",
|
|
@@ -1758,14 +1766,14 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1758
1766
|
ref_key: "input_translate",
|
|
1759
1767
|
ref: l,
|
|
1760
1768
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => i.inputTranslateValue = g)
|
|
1761
|
-
}, null, 8,
|
|
1769
|
+
}, null, 8, Fr), [
|
|
1762
1770
|
[I, i.inputTranslateValue]
|
|
1763
1771
|
]),
|
|
1764
1772
|
s("p", {
|
|
1765
1773
|
id: e.field_name,
|
|
1766
1774
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1767
|
-
}, h(e.model_value), 9,
|
|
1768
|
-
|
|
1775
|
+
}, h(e.model_value), 9, Rr),
|
|
1776
|
+
qr
|
|
1769
1777
|
], 2)) : f("", !0),
|
|
1770
1778
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1771
1779
|
key: 1,
|
|
@@ -1778,8 +1786,8 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1778
1786
|
required: e.is_required
|
|
1779
1787
|
}),
|
|
1780
1788
|
for: e.field_name
|
|
1781
|
-
}, h(e.label_name), 11,
|
|
1782
|
-
|
|
1789
|
+
}, h(e.label_name), 11, Ur),
|
|
1790
|
+
zr,
|
|
1783
1791
|
s("input", {
|
|
1784
1792
|
class: "mb-4",
|
|
1785
1793
|
type: "hidden",
|
|
@@ -1789,7 +1797,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1789
1797
|
onInput: c[1] || (c[1] = (g) => i.$emit("update:modelValueTranslate", g.target.value)),
|
|
1790
1798
|
ref_key: "input_translate",
|
|
1791
1799
|
ref: l
|
|
1792
|
-
}, null, 40,
|
|
1800
|
+
}, null, 40, Hr),
|
|
1793
1801
|
s("textarea", {
|
|
1794
1802
|
required: e.is_required,
|
|
1795
1803
|
name: e.field_name,
|
|
@@ -1805,13 +1813,13 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1805
1813
|
ref: o,
|
|
1806
1814
|
rows: "4"
|
|
1807
1815
|
}, `
|
|
1808
|
-
`, 42,
|
|
1809
|
-
s("span",
|
|
1810
|
-
s("small",
|
|
1816
|
+
`, 42, Zr),
|
|
1817
|
+
s("span", Kr, h(e.error_message), 1),
|
|
1818
|
+
s("small", Wr, h(e.description), 1)
|
|
1811
1819
|
], 2))
|
|
1812
1820
|
], 64));
|
|
1813
1821
|
}
|
|
1814
|
-
},
|
|
1822
|
+
}, Xr = { class: "font-bold ptext-lg dark:text-white" }, Yr = ["name", "id"], Jr = ["id"], Qr = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), es = ["for"], ts = /* @__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), rs = ["name", "id"], ss = ["name", "id", "type"], ns = { class: "gl-span-form-error" }, os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, sd = {
|
|
1815
1823
|
__name: "GlTinymceTranslate",
|
|
1816
1824
|
props: {
|
|
1817
1825
|
is_required: {
|
|
@@ -1889,7 +1897,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1889
1897
|
key: 0,
|
|
1890
1898
|
class: p(e.field_name)
|
|
1891
1899
|
}, [
|
|
1892
|
-
s("h3",
|
|
1900
|
+
s("h3", Xr, h(e.label_name), 1),
|
|
1893
1901
|
C(s("input", {
|
|
1894
1902
|
type: "hidden",
|
|
1895
1903
|
"data-i18n": "true",
|
|
@@ -1898,14 +1906,14 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1898
1906
|
ref_key: "input_translate",
|
|
1899
1907
|
ref: l,
|
|
1900
1908
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => i.inputTranslateValue = g)
|
|
1901
|
-
}, null, 8,
|
|
1909
|
+
}, null, 8, Yr), [
|
|
1902
1910
|
[I, i.inputTranslateValue]
|
|
1903
1911
|
]),
|
|
1904
1912
|
s("p", {
|
|
1905
1913
|
id: e.field_name,
|
|
1906
1914
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1907
|
-
}, h(e.model_value), 9,
|
|
1908
|
-
|
|
1915
|
+
}, h(e.model_value), 9, Jr),
|
|
1916
|
+
Qr
|
|
1909
1917
|
], 2)) : f("", !0),
|
|
1910
1918
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1911
1919
|
key: 1,
|
|
@@ -1918,8 +1926,8 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1918
1926
|
required: e.is_required
|
|
1919
1927
|
}),
|
|
1920
1928
|
for: e.field_name
|
|
1921
|
-
}, h(e.label_name), 11,
|
|
1922
|
-
|
|
1929
|
+
}, h(e.label_name), 11, es),
|
|
1930
|
+
ts,
|
|
1923
1931
|
s("input", {
|
|
1924
1932
|
class: "mb-4",
|
|
1925
1933
|
type: "hidden",
|
|
@@ -1929,7 +1937,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1929
1937
|
onInput: c[1] || (c[1] = (g) => i.$emit("update:modelValueTranslate", g.target.value)),
|
|
1930
1938
|
ref_key: "input_translate",
|
|
1931
1939
|
ref: l
|
|
1932
|
-
}, null, 40,
|
|
1940
|
+
}, null, 40, rs),
|
|
1933
1941
|
s("textarea", {
|
|
1934
1942
|
name: e.field_name,
|
|
1935
1943
|
id: e.field_name,
|
|
@@ -1944,13 +1952,13 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
1944
1952
|
ref: o,
|
|
1945
1953
|
rows: "4"
|
|
1946
1954
|
}, `
|
|
1947
|
-
`, 42,
|
|
1948
|
-
s("span",
|
|
1949
|
-
s("small",
|
|
1955
|
+
`, 42, ss),
|
|
1956
|
+
s("span", ns, h(e.error_message), 1),
|
|
1957
|
+
s("small", os, h(e.description), 1)
|
|
1950
1958
|
], 2))
|
|
1951
1959
|
], 64));
|
|
1952
1960
|
}
|
|
1953
|
-
},
|
|
1961
|
+
}, as = { class: "font-bold ptext-lg dark:text-white" }, is = ["name", "id"], ls = ["id"], ds = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), us = ["for"], cs = /* @__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), hs = ["name", "id"], fs = ["required", "name", "id", "type"], gs = { class: "gl-span-form-error" }, ms = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, nd = {
|
|
1954
1962
|
__name: "GlTextTranslate",
|
|
1955
1963
|
props: {
|
|
1956
1964
|
is_required: {
|
|
@@ -2024,7 +2032,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
2024
2032
|
key: 0,
|
|
2025
2033
|
class: p(e.field_name)
|
|
2026
2034
|
}, [
|
|
2027
|
-
s("h3",
|
|
2035
|
+
s("h3", as, h(e.label_name), 1),
|
|
2028
2036
|
C(s("input", {
|
|
2029
2037
|
type: "hidden",
|
|
2030
2038
|
"data-i18n": "true",
|
|
@@ -2032,14 +2040,14 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
2032
2040
|
id: e.field_name + "_i18n",
|
|
2033
2041
|
ref: "input_translate_s",
|
|
2034
2042
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => i.inputTranslateValue = g)
|
|
2035
|
-
}, null, 8,
|
|
2043
|
+
}, null, 8, is), [
|
|
2036
2044
|
[I, i.inputTranslateValue]
|
|
2037
2045
|
]),
|
|
2038
2046
|
s("p", {
|
|
2039
2047
|
id: e.field_name,
|
|
2040
2048
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2041
|
-
}, h(e.model_value), 9,
|
|
2042
|
-
|
|
2049
|
+
}, h(e.model_value), 9, ls),
|
|
2050
|
+
ds
|
|
2043
2051
|
], 2)) : f("", !0),
|
|
2044
2052
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2045
2053
|
key: 1,
|
|
@@ -2052,8 +2060,8 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
2052
2060
|
required: e.is_required
|
|
2053
2061
|
}),
|
|
2054
2062
|
for: e.field_name
|
|
2055
|
-
}, h(e.label_name), 11,
|
|
2056
|
-
|
|
2063
|
+
}, h(e.label_name), 11, us),
|
|
2064
|
+
cs,
|
|
2057
2065
|
s("input", {
|
|
2058
2066
|
class: "mb-4",
|
|
2059
2067
|
type: "hidden",
|
|
@@ -2063,7 +2071,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
2063
2071
|
onInput: c[1] || (c[1] = (g) => i.$emit("update:modelValueTranslate", g.target.value)),
|
|
2064
2072
|
ref_key: "input_translate",
|
|
2065
2073
|
ref: l
|
|
2066
|
-
}, null, 40,
|
|
2074
|
+
}, null, 40, hs),
|
|
2067
2075
|
s("input", {
|
|
2068
2076
|
required: e.is_required,
|
|
2069
2077
|
name: e.field_name,
|
|
@@ -2077,13 +2085,13 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
2077
2085
|
onKeydown: c[3] || (c[3] = (g) => i.$emit("keydown", g)),
|
|
2078
2086
|
ref_key: "input",
|
|
2079
2087
|
ref: o
|
|
2080
|
-
}, null, 42,
|
|
2081
|
-
s("span",
|
|
2082
|
-
s("small",
|
|
2088
|
+
}, null, 42, fs),
|
|
2089
|
+
s("span", gs, h(e.error_message), 1),
|
|
2090
|
+
s("small", ms, h(e.description), 1)
|
|
2083
2091
|
], 2))
|
|
2084
2092
|
], 64));
|
|
2085
2093
|
}
|
|
2086
|
-
},
|
|
2094
|
+
}, _s = { class: "font-bold ptext-lg dark:text-white" }, ps = { class: "mb-4 text-base text-gray-900 dark:text-white" }, bs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ys = ["for"], vs = ["required", "name", "id", "type"], xs = { class: "gl-span-form-error" }, ws = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, od = {
|
|
2087
2095
|
__name: "GlTextInput",
|
|
2088
2096
|
props: {
|
|
2089
2097
|
is_required: {
|
|
@@ -2133,9 +2141,9 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
2133
2141
|
key: 0,
|
|
2134
2142
|
class: p(e.field_name)
|
|
2135
2143
|
}, [
|
|
2136
|
-
s("h3",
|
|
2137
|
-
s("p",
|
|
2138
|
-
|
|
2144
|
+
s("h3", _s, h(e.label_name), 1),
|
|
2145
|
+
s("p", ps, h(e.type == "password" ? e.model_value.replace(/./g, "*") : e.model_value), 1),
|
|
2146
|
+
bs
|
|
2139
2147
|
], 2)) : f("", !0),
|
|
2140
2148
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2141
2149
|
key: 1,
|
|
@@ -2148,7 +2156,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
2148
2156
|
required: e.is_required
|
|
2149
2157
|
}),
|
|
2150
2158
|
for: e.field_name
|
|
2151
|
-
}, h(e.label_name), 11,
|
|
2159
|
+
}, h(e.label_name), 11, ys),
|
|
2152
2160
|
s("input", {
|
|
2153
2161
|
required: e.is_required,
|
|
2154
2162
|
name: e.field_name,
|
|
@@ -2162,26 +2170,26 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), qr = { class: "font-bold pte
|
|
|
2162
2170
|
onKeydown: i[1] || (i[1] = (c) => l.$emit("keydown", c)),
|
|
2163
2171
|
ref_key: "input",
|
|
2164
2172
|
ref: o
|
|
2165
|
-
}, null, 42,
|
|
2166
|
-
s("span",
|
|
2167
|
-
s("small",
|
|
2173
|
+
}, null, 42, vs),
|
|
2174
|
+
s("span", xs, h(e.error_message), 1),
|
|
2175
|
+
s("small", ws, h(e.description), 1)
|
|
2168
2176
|
], 2))
|
|
2169
2177
|
], 64));
|
|
2170
2178
|
}
|
|
2171
|
-
},
|
|
2179
|
+
}, ks = {
|
|
2172
2180
|
setup(e, { slots: t }) {
|
|
2173
2181
|
const r = S(t.default().map((a) => a.props)), n = S(r.value[0].title);
|
|
2174
|
-
return
|
|
2182
|
+
return Ne("selectedTitle", n), {
|
|
2175
2183
|
tabs: r,
|
|
2176
2184
|
selectedTitle: n
|
|
2177
2185
|
};
|
|
2178
2186
|
}
|
|
2179
|
-
},
|
|
2180
|
-
function
|
|
2187
|
+
}, $s = { class: "flex flex-wrap" }, Cs = { class: "w-full" }, Ss = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, Os = ["onClick"], Ds = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, Ps = { class: "flex-auto px-4 py-5" }, Es = { class: "tab-content tab-space" };
|
|
2188
|
+
function js(e, t, r, n, a, o) {
|
|
2181
2189
|
return d(), u(y, null, [
|
|
2182
|
-
s("div",
|
|
2183
|
-
s("div",
|
|
2184
|
-
s("ul",
|
|
2190
|
+
s("div", $s, [
|
|
2191
|
+
s("div", Cs, [
|
|
2192
|
+
s("ul", Ss, [
|
|
2185
2193
|
(d(!0), u(y, null, w(n.tabs, (l) => (d(), u("li", {
|
|
2186
2194
|
key: l.title,
|
|
2187
2195
|
onClick: (i) => n.selectedTitle = l.title,
|
|
@@ -2195,35 +2203,35 @@ function Ts(e, t, r, n, a, o) {
|
|
|
2195
2203
|
}, null, 2),
|
|
2196
2204
|
v(" " + h(l.title), 1)
|
|
2197
2205
|
], 2)
|
|
2198
|
-
], 8,
|
|
2206
|
+
], 8, Os))), 128))
|
|
2199
2207
|
])
|
|
2200
2208
|
])
|
|
2201
2209
|
]),
|
|
2202
|
-
s("div",
|
|
2203
|
-
s("div",
|
|
2204
|
-
s("div",
|
|
2210
|
+
s("div", Ds, [
|
|
2211
|
+
s("div", Ps, [
|
|
2212
|
+
s("div", Es, [
|
|
2205
2213
|
P(e.$slots, "default")
|
|
2206
2214
|
])
|
|
2207
2215
|
])
|
|
2208
2216
|
])
|
|
2209
2217
|
], 64);
|
|
2210
2218
|
}
|
|
2211
|
-
const
|
|
2219
|
+
const ad = /* @__PURE__ */ k(ks, [["render", js]]), As = {
|
|
2212
2220
|
props: ["title"],
|
|
2213
2221
|
setup() {
|
|
2214
2222
|
return {
|
|
2215
2223
|
selectedTitle: ce("selectedTitle")
|
|
2216
2224
|
};
|
|
2217
2225
|
}
|
|
2218
|
-
},
|
|
2219
|
-
function
|
|
2220
|
-
return C((d(), u("div",
|
|
2226
|
+
}, Is = { class: "block" };
|
|
2227
|
+
function Ts(e, t, r, n, a, o) {
|
|
2228
|
+
return C((d(), u("div", Is, [
|
|
2221
2229
|
P(e.$slots, "default")
|
|
2222
2230
|
], 512)), [
|
|
2223
2231
|
[T, r.title == n.selectedTitle]
|
|
2224
2232
|
]);
|
|
2225
2233
|
}
|
|
2226
|
-
const
|
|
2234
|
+
const id = /* @__PURE__ */ k(As, [["render", Ts]]), Ms = {
|
|
2227
2235
|
props: {
|
|
2228
2236
|
elements_to_show_prop: {
|
|
2229
2237
|
type: Number,
|
|
@@ -2322,10 +2330,10 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2322
2330
|
this.direction_property == "rtl" ? t.style.marginRight = -this.dotsNavigation[e - 1] + "px" : t.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
|
|
2323
2331
|
}
|
|
2324
2332
|
}
|
|
2325
|
-
}, O = (e) => (
|
|
2333
|
+
}, O = (e) => (Ve("data-v-a94f16a9"), e = e(), Le(), e), Ns = ["id"], Vs = {
|
|
2326
2334
|
key: 0,
|
|
2327
2335
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2328
|
-
},
|
|
2336
|
+
}, Ls = { class: "w-full" }, Bs = {
|
|
2329
2337
|
key: 0,
|
|
2330
2338
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2331
2339
|
class: "w-6 h-6",
|
|
@@ -2333,13 +2341,13 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2333
2341
|
viewBox: "0 0 24 24",
|
|
2334
2342
|
stroke: "currentColor",
|
|
2335
2343
|
"stroke-width": "2"
|
|
2336
|
-
},
|
|
2344
|
+
}, Gs = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2337
2345
|
"stroke-linecap": "round",
|
|
2338
2346
|
"stroke-linejoin": "round",
|
|
2339
2347
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2340
|
-
}, null, -1)),
|
|
2341
|
-
|
|
2342
|
-
],
|
|
2348
|
+
}, null, -1)), Fs = [
|
|
2349
|
+
Gs
|
|
2350
|
+
], Rs = {
|
|
2343
2351
|
key: 1,
|
|
2344
2352
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2345
2353
|
class: "w-6 h-6",
|
|
@@ -2347,13 +2355,13 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2347
2355
|
viewBox: "0 0 24 24",
|
|
2348
2356
|
stroke: "currentColor",
|
|
2349
2357
|
"stroke-width": "2"
|
|
2350
|
-
},
|
|
2358
|
+
}, qs = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2351
2359
|
"stroke-linecap": "round",
|
|
2352
2360
|
"stroke-linejoin": "round",
|
|
2353
2361
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2354
|
-
}, null, -1)),
|
|
2355
|
-
|
|
2356
|
-
],
|
|
2362
|
+
}, null, -1)), Us = [
|
|
2363
|
+
qs
|
|
2364
|
+
], zs = ["id"], Hs = ["id"], Zs = { class: "w-full" }, Ks = {
|
|
2357
2365
|
key: 0,
|
|
2358
2366
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2359
2367
|
class: "w-6 h-6",
|
|
@@ -2361,13 +2369,13 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2361
2369
|
viewBox: "0 0 24 24",
|
|
2362
2370
|
stroke: "currentColor",
|
|
2363
2371
|
"stroke-width": "2"
|
|
2364
|
-
},
|
|
2372
|
+
}, Ws = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2365
2373
|
"stroke-linecap": "round",
|
|
2366
2374
|
"stroke-linejoin": "round",
|
|
2367
2375
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2368
|
-
}, null, -1)),
|
|
2369
|
-
|
|
2370
|
-
],
|
|
2376
|
+
}, null, -1)), Xs = [
|
|
2377
|
+
Ws
|
|
2378
|
+
], Ys = {
|
|
2371
2379
|
key: 1,
|
|
2372
2380
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2373
2381
|
class: "w-6 h-6",
|
|
@@ -2375,13 +2383,13 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2375
2383
|
viewBox: "0 0 24 24",
|
|
2376
2384
|
stroke: "currentColor",
|
|
2377
2385
|
"stroke-width": "2"
|
|
2378
|
-
},
|
|
2386
|
+
}, Js = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2379
2387
|
"stroke-linecap": "round",
|
|
2380
2388
|
"stroke-linejoin": "round",
|
|
2381
2389
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2382
|
-
}, null, -1)),
|
|
2383
|
-
|
|
2384
|
-
],
|
|
2390
|
+
}, null, -1)), Qs = [
|
|
2391
|
+
Js
|
|
2392
|
+
], en = { class: "w-full" }, tn = {
|
|
2385
2393
|
key: 0,
|
|
2386
2394
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2387
2395
|
class: "w-6 h-6",
|
|
@@ -2389,13 +2397,13 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2389
2397
|
viewBox: "0 0 24 24",
|
|
2390
2398
|
stroke: "currentColor",
|
|
2391
2399
|
"stroke-width": "2"
|
|
2392
|
-
},
|
|
2400
|
+
}, rn = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2393
2401
|
"stroke-linecap": "round",
|
|
2394
2402
|
"stroke-linejoin": "round",
|
|
2395
2403
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2396
|
-
}, null, -1)),
|
|
2397
|
-
|
|
2398
|
-
],
|
|
2404
|
+
}, null, -1)), sn = [
|
|
2405
|
+
rn
|
|
2406
|
+
], nn = {
|
|
2399
2407
|
key: 1,
|
|
2400
2408
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2401
2409
|
class: "w-6 h-6",
|
|
@@ -2403,23 +2411,23 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2403
2411
|
viewBox: "0 0 24 24",
|
|
2404
2412
|
stroke: "currentColor",
|
|
2405
2413
|
"stroke-width": "2"
|
|
2406
|
-
},
|
|
2414
|
+
}, on = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2407
2415
|
"stroke-linecap": "round",
|
|
2408
2416
|
"stroke-linejoin": "round",
|
|
2409
2417
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2410
|
-
}, null, -1)),
|
|
2418
|
+
}, null, -1)), an = [
|
|
2419
|
+
on
|
|
2420
|
+
], ln = ["onClick"], dn = /* @__PURE__ */ O(() => /* @__PURE__ */ s("span", null, null, -1)), un = [
|
|
2411
2421
|
dn
|
|
2412
|
-
], cn =
|
|
2413
|
-
hn
|
|
2414
|
-
], gn = {
|
|
2422
|
+
], cn = {
|
|
2415
2423
|
key: 1,
|
|
2416
2424
|
class: "flex justify-between pl-5 pr-5"
|
|
2417
|
-
},
|
|
2418
|
-
|
|
2419
|
-
],
|
|
2425
|
+
}, hn = ["onClick"], fn = /* @__PURE__ */ O(() => /* @__PURE__ */ s("span", null, null, -1)), gn = [
|
|
2426
|
+
fn
|
|
2427
|
+
], mn = {
|
|
2420
2428
|
key: 0,
|
|
2421
2429
|
class: "flex"
|
|
2422
|
-
},
|
|
2430
|
+
}, _n = { class: "flex items-center" }, pn = { class: "w-full" }, bn = {
|
|
2423
2431
|
key: 0,
|
|
2424
2432
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2425
2433
|
class: "w-6 h-6",
|
|
@@ -2427,13 +2435,13 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2427
2435
|
viewBox: "0 0 24 24",
|
|
2428
2436
|
stroke: "currentColor",
|
|
2429
2437
|
"stroke-width": "2"
|
|
2430
|
-
},
|
|
2438
|
+
}, yn = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2431
2439
|
"stroke-linecap": "round",
|
|
2432
2440
|
"stroke-linejoin": "round",
|
|
2433
2441
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2434
|
-
}, null, -1)),
|
|
2435
|
-
|
|
2436
|
-
],
|
|
2442
|
+
}, null, -1)), vn = [
|
|
2443
|
+
yn
|
|
2444
|
+
], xn = {
|
|
2437
2445
|
key: 1,
|
|
2438
2446
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2439
2447
|
class: "w-6 h-6",
|
|
@@ -2441,13 +2449,13 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2441
2449
|
viewBox: "0 0 24 24",
|
|
2442
2450
|
stroke: "currentColor",
|
|
2443
2451
|
"stroke-width": "2"
|
|
2444
|
-
},
|
|
2452
|
+
}, wn = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2445
2453
|
"stroke-linecap": "round",
|
|
2446
2454
|
"stroke-linejoin": "round",
|
|
2447
2455
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2448
|
-
}, null, -1)),
|
|
2449
|
-
|
|
2450
|
-
],
|
|
2456
|
+
}, null, -1)), kn = [
|
|
2457
|
+
wn
|
|
2458
|
+
], $n = { class: "flex items-center" }, Cn = { class: "w-full" }, Sn = {
|
|
2451
2459
|
key: 0,
|
|
2452
2460
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2453
2461
|
class: "w-6 h-6",
|
|
@@ -2455,13 +2463,13 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2455
2463
|
viewBox: "0 0 24 24",
|
|
2456
2464
|
stroke: "currentColor",
|
|
2457
2465
|
"stroke-width": "2"
|
|
2458
|
-
},
|
|
2466
|
+
}, On = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2459
2467
|
"stroke-linecap": "round",
|
|
2460
2468
|
"stroke-linejoin": "round",
|
|
2461
2469
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2462
|
-
}, null, -1)),
|
|
2463
|
-
|
|
2464
|
-
],
|
|
2470
|
+
}, null, -1)), Dn = [
|
|
2471
|
+
On
|
|
2472
|
+
], Pn = {
|
|
2465
2473
|
key: 1,
|
|
2466
2474
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2467
2475
|
class: "w-6 h-6",
|
|
@@ -2469,16 +2477,16 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2469
2477
|
viewBox: "0 0 24 24",
|
|
2470
2478
|
stroke: "currentColor",
|
|
2471
2479
|
"stroke-width": "2"
|
|
2472
|
-
},
|
|
2480
|
+
}, En = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2473
2481
|
"stroke-linecap": "round",
|
|
2474
2482
|
"stroke-linejoin": "round",
|
|
2475
2483
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2476
|
-
}, null, -1)),
|
|
2477
|
-
|
|
2478
|
-
],
|
|
2484
|
+
}, null, -1)), jn = [
|
|
2485
|
+
En
|
|
2486
|
+
], An = {
|
|
2479
2487
|
key: 1,
|
|
2480
2488
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2481
|
-
},
|
|
2489
|
+
}, In = { class: "w-full" }, Tn = {
|
|
2482
2490
|
key: 0,
|
|
2483
2491
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2484
2492
|
class: "w-6 h-6",
|
|
@@ -2486,13 +2494,13 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2486
2494
|
viewBox: "0 0 24 24",
|
|
2487
2495
|
stroke: "currentColor",
|
|
2488
2496
|
"stroke-width": "2"
|
|
2489
|
-
},
|
|
2497
|
+
}, Mn = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2490
2498
|
"stroke-linecap": "round",
|
|
2491
2499
|
"stroke-linejoin": "round",
|
|
2492
2500
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2493
|
-
}, null, -1)),
|
|
2494
|
-
|
|
2495
|
-
],
|
|
2501
|
+
}, null, -1)), Nn = [
|
|
2502
|
+
Mn
|
|
2503
|
+
], Vn = {
|
|
2496
2504
|
key: 1,
|
|
2497
2505
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2498
2506
|
class: "w-6 h-6",
|
|
@@ -2500,27 +2508,27 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
|
|
|
2500
2508
|
viewBox: "0 0 24 24",
|
|
2501
2509
|
stroke: "currentColor",
|
|
2502
2510
|
"stroke-width": "2"
|
|
2503
|
-
},
|
|
2511
|
+
}, Ln = /* @__PURE__ */ O(() => /* @__PURE__ */ s("path", {
|
|
2504
2512
|
"stroke-linecap": "round",
|
|
2505
2513
|
"stroke-linejoin": "round",
|
|
2506
2514
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2507
|
-
}, null, -1)),
|
|
2508
|
-
|
|
2515
|
+
}, null, -1)), Bn = [
|
|
2516
|
+
Ln
|
|
2509
2517
|
];
|
|
2510
|
-
function
|
|
2518
|
+
function Gn(e, t, r, n, a, o) {
|
|
2511
2519
|
return d(), u("div", null, [
|
|
2512
2520
|
s("div", {
|
|
2513
2521
|
class: p(["", !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
2514
2522
|
id: "mainSliderContainer_" + e.Random_string
|
|
2515
2523
|
}, [
|
|
2516
|
-
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2517
|
-
s("div",
|
|
2524
|
+
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", Vs, [
|
|
2525
|
+
s("div", Ls, [
|
|
2518
2526
|
s("button", {
|
|
2519
2527
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2520
2528
|
onClick: t[0] || (t[0] = (l) => o.prev())
|
|
2521
2529
|
}, [
|
|
2522
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2523
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2530
|
+
r.direction_property == "ltr" ? (d(), u("svg", Bs, Fs)) : f("", !0),
|
|
2531
|
+
r.direction_property == "rtl" ? (d(), u("svg", Rs, Us)) : f("", !0)
|
|
2524
2532
|
])
|
|
2525
2533
|
])
|
|
2526
2534
|
])) : f("", !0),
|
|
@@ -2536,13 +2544,13 @@ function qn(e, t, r, n, a, o) {
|
|
|
2536
2544
|
key: 0,
|
|
2537
2545
|
class: p(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", r.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
2538
2546
|
}, [
|
|
2539
|
-
s("div",
|
|
2547
|
+
s("div", Zs, [
|
|
2540
2548
|
s("button", {
|
|
2541
2549
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2542
2550
|
onClick: t[1] || (t[1] = A((l) => o.prev(), ["stop"]))
|
|
2543
2551
|
}, [
|
|
2544
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2545
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2552
|
+
r.direction_property == "ltr" ? (d(), u("svg", Ks, Xs)) : f("", !0),
|
|
2553
|
+
r.direction_property == "rtl" ? (d(), u("svg", Ys, Qs)) : f("", !0)
|
|
2546
2554
|
])
|
|
2547
2555
|
])
|
|
2548
2556
|
], 2)) : f("", !0),
|
|
@@ -2551,17 +2559,17 @@ function qn(e, t, r, n, a, o) {
|
|
|
2551
2559
|
key: 1,
|
|
2552
2560
|
class: p(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", r.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
2553
2561
|
}, [
|
|
2554
|
-
s("div",
|
|
2562
|
+
s("div", en, [
|
|
2555
2563
|
s("button", {
|
|
2556
2564
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2557
2565
|
onClick: t[2] || (t[2] = A((l) => o.next(), ["stop"]))
|
|
2558
2566
|
}, [
|
|
2559
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2560
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2567
|
+
r.direction_property == "ltr" ? (d(), u("svg", tn, sn)) : f("", !0),
|
|
2568
|
+
r.direction_property == "rtl" ? (d(), u("svg", nn, an)) : f("", !0)
|
|
2561
2569
|
])
|
|
2562
2570
|
])
|
|
2563
2571
|
], 2)) : f("", !0)
|
|
2564
|
-
], 8,
|
|
2572
|
+
], 8, Hs),
|
|
2565
2573
|
r.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
|
|
2566
2574
|
key: 0,
|
|
2567
2575
|
class: p(["flex justify-center mb-1 space-x-1", o.sliderIndicatorsAction()])
|
|
@@ -2571,9 +2579,9 @@ function qn(e, t, r, n, a, o) {
|
|
|
2571
2579
|
class: p(["gl-dot", { active: e.currentDot == l }]),
|
|
2572
2580
|
key: l,
|
|
2573
2581
|
onClick: (i) => o.setDot(l)
|
|
2574
|
-
},
|
|
2582
|
+
}, un, 10, ln))), 128))
|
|
2575
2583
|
], 2)) : f("", !0),
|
|
2576
|
-
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div",
|
|
2584
|
+
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", cn, [
|
|
2577
2585
|
s("div", {
|
|
2578
2586
|
class: p(["flex justify-center mb-1 space-x-1", o.sliderIndicatorsAction()])
|
|
2579
2587
|
}, [
|
|
@@ -2582,53 +2590,53 @@ function qn(e, t, r, n, a, o) {
|
|
|
2582
2590
|
class: p(["gl-dot", { active: e.currentDot == l }]),
|
|
2583
2591
|
key: l,
|
|
2584
2592
|
onClick: (i) => o.setDot(l)
|
|
2585
|
-
},
|
|
2593
|
+
}, gn, 10, hn))), 128))
|
|
2586
2594
|
], 2),
|
|
2587
|
-
e.dotsNum > 0 ? (d(), u("div",
|
|
2588
|
-
s("div",
|
|
2589
|
-
s("div",
|
|
2595
|
+
e.dotsNum > 0 ? (d(), u("div", mn, [
|
|
2596
|
+
s("div", _n, [
|
|
2597
|
+
s("div", pn, [
|
|
2590
2598
|
s("button", {
|
|
2591
2599
|
class: p(["p-3 rounded-full arrow_button_styles", r.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2592
2600
|
onClick: t[3] || (t[3] = (l) => o.prev())
|
|
2593
2601
|
}, [
|
|
2594
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2595
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2602
|
+
r.direction_property == "ltr" ? (d(), u("svg", bn, vn)) : f("", !0),
|
|
2603
|
+
r.direction_property == "rtl" ? (d(), u("svg", xn, kn)) : f("", !0)
|
|
2596
2604
|
], 2)
|
|
2597
2605
|
])
|
|
2598
2606
|
]),
|
|
2599
|
-
s("div",
|
|
2600
|
-
s("div",
|
|
2607
|
+
s("div", $n, [
|
|
2608
|
+
s("div", Cn, [
|
|
2601
2609
|
s("button", {
|
|
2602
2610
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2603
2611
|
onClick: t[4] || (t[4] = (l) => o.next())
|
|
2604
2612
|
}, [
|
|
2605
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2606
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2613
|
+
r.direction_property == "ltr" ? (d(), u("svg", Sn, Dn)) : f("", !0),
|
|
2614
|
+
r.direction_property == "rtl" ? (d(), u("svg", Pn, jn)) : f("", !0)
|
|
2607
2615
|
])
|
|
2608
2616
|
])
|
|
2609
2617
|
])
|
|
2610
2618
|
])) : f("", !0)
|
|
2611
2619
|
])) : f("", !0)
|
|
2612
|
-
], 10,
|
|
2613
|
-
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2614
|
-
s("div",
|
|
2620
|
+
], 10, zs),
|
|
2621
|
+
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", An, [
|
|
2622
|
+
s("div", In, [
|
|
2615
2623
|
s("button", {
|
|
2616
2624
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2617
2625
|
onClick: t[5] || (t[5] = (l) => o.next())
|
|
2618
2626
|
}, [
|
|
2619
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2620
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2627
|
+
r.direction_property == "ltr" ? (d(), u("svg", Tn, Nn)) : f("", !0),
|
|
2628
|
+
r.direction_property == "rtl" ? (d(), u("svg", Vn, Bn)) : f("", !0)
|
|
2621
2629
|
])
|
|
2622
2630
|
])
|
|
2623
2631
|
])) : f("", !0)
|
|
2624
|
-
], 10,
|
|
2632
|
+
], 10, Ns)
|
|
2625
2633
|
]);
|
|
2626
2634
|
}
|
|
2627
|
-
const
|
|
2635
|
+
const ld = /* @__PURE__ */ k(Ms, [["render", Gn], ["__scopeId", "data-v-a94f16a9"]]), Fn = {
|
|
2628
2636
|
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",
|
|
2629
2637
|
tabindex: "-1",
|
|
2630
2638
|
"aria-hidden": "true"
|
|
2631
|
-
},
|
|
2639
|
+
}, Rn = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, qn = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, Un = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, zn = /* @__PURE__ */ s("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2632
2640
|
/* @__PURE__ */ s("svg", {
|
|
2633
2641
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2634
2642
|
fill: "currentColor",
|
|
@@ -2642,9 +2650,9 @@ const cd = /* @__PURE__ */ k(Ls, [["render", qn], ["__scopeId", "data-v-a94f16a9
|
|
|
2642
2650
|
d: "M6 18L18 6M6 6l12 12"
|
|
2643
2651
|
})
|
|
2644
2652
|
])
|
|
2645
|
-
], -1),
|
|
2646
|
-
|
|
2647
|
-
],
|
|
2653
|
+
], -1), Hn = [
|
|
2654
|
+
zn
|
|
2655
|
+
], Zn = { class: "relative p-4 overflow-y-auto" }, Kn = { 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" }, dd = {
|
|
2648
2656
|
__name: "GlModal",
|
|
2649
2657
|
props: {
|
|
2650
2658
|
is_open: {
|
|
@@ -2675,24 +2683,24 @@ const cd = /* @__PURE__ */ k(Ls, [["render", qn], ["__scopeId", "data-v-a94f16a9
|
|
|
2675
2683
|
i ? a() : o();
|
|
2676
2684
|
},
|
|
2677
2685
|
{ immediate: !0, deep: !0 }
|
|
2678
|
-
), (i, c) => C((d(), u("div",
|
|
2686
|
+
), (i, c) => C((d(), u("div", Fn, [
|
|
2679
2687
|
s("div", {
|
|
2680
2688
|
class: p(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:h-[calc(100%-3.5rem)]", e.max_width])
|
|
2681
2689
|
}, [
|
|
2682
|
-
s("div",
|
|
2683
|
-
s("div",
|
|
2684
|
-
s("h5",
|
|
2690
|
+
s("div", Rn, [
|
|
2691
|
+
s("div", qn, [
|
|
2692
|
+
s("h5", Un, h(e.title), 1),
|
|
2685
2693
|
s("button", {
|
|
2686
2694
|
type: "button",
|
|
2687
2695
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2688
2696
|
onClick: l,
|
|
2689
2697
|
"aria-label": "Close"
|
|
2690
|
-
},
|
|
2698
|
+
}, Hn)
|
|
2691
2699
|
]),
|
|
2692
|
-
s("div",
|
|
2700
|
+
s("div", Zn, [
|
|
2693
2701
|
P(i.$slots, "body")
|
|
2694
2702
|
]),
|
|
2695
|
-
s("div",
|
|
2703
|
+
s("div", Kn, [
|
|
2696
2704
|
P(i.$slots, "buttons"),
|
|
2697
2705
|
s("button", {
|
|
2698
2706
|
onClick: l,
|
|
@@ -2706,7 +2714,7 @@ const cd = /* @__PURE__ */ k(Ls, [["render", qn], ["__scopeId", "data-v-a94f16a9
|
|
|
2706
2714
|
[T, e.is_open]
|
|
2707
2715
|
]);
|
|
2708
2716
|
}
|
|
2709
|
-
},
|
|
2717
|
+
}, Wn = { class: "mb-4" }, Xn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, Yn = { class: "relative inline-flex items-center cursor-pointer" }, Jn = ["name", "id"], Qn = /* @__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), eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = { 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" }, ro = { class: "relative inline-flex items-center cursor-pointer" }, so = ["name", "id", "value", "checked"], no = /* @__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), oo = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, ud = {
|
|
2710
2718
|
__name: "GlToggleBox",
|
|
2711
2719
|
props: {
|
|
2712
2720
|
is_required: {
|
|
@@ -2761,10 +2769,10 @@ const cd = /* @__PURE__ */ k(Ls, [["render", qn], ["__scopeId", "data-v-a94f16a9
|
|
|
2761
2769
|
key: 0,
|
|
2762
2770
|
class: p(e.field_name)
|
|
2763
2771
|
}, [
|
|
2764
|
-
s("div",
|
|
2765
|
-
s("li",
|
|
2772
|
+
s("div", Wn, [
|
|
2773
|
+
s("li", Xn, [
|
|
2766
2774
|
v(h(e.label_name) + " ", 1),
|
|
2767
|
-
s("label",
|
|
2775
|
+
s("label", Yn, [
|
|
2768
2776
|
s("input", {
|
|
2769
2777
|
type: "checkbox",
|
|
2770
2778
|
class: "sr-only peer",
|
|
@@ -2775,20 +2783,20 @@ const cd = /* @__PURE__ */ k(Ls, [["render", qn], ["__scopeId", "data-v-a94f16a9
|
|
|
2775
2783
|
ref_key: "input",
|
|
2776
2784
|
ref: a,
|
|
2777
2785
|
disabled: ""
|
|
2778
|
-
}, null, 8,
|
|
2779
|
-
|
|
2786
|
+
}, null, 8, Jn),
|
|
2787
|
+
Qn
|
|
2780
2788
|
])
|
|
2781
2789
|
])
|
|
2782
2790
|
]),
|
|
2783
|
-
|
|
2791
|
+
eo
|
|
2784
2792
|
], 2)) : f("", !0),
|
|
2785
2793
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2786
2794
|
key: 1,
|
|
2787
2795
|
class: p(["mb-4", e.field_name])
|
|
2788
2796
|
}, [
|
|
2789
|
-
s("li",
|
|
2797
|
+
s("li", to, [
|
|
2790
2798
|
v(h(e.label_name) + " ", 1),
|
|
2791
|
-
s("label",
|
|
2799
|
+
s("label", ro, [
|
|
2792
2800
|
s("input", {
|
|
2793
2801
|
type: "checkbox",
|
|
2794
2802
|
class: "sr-only peer",
|
|
@@ -2801,16 +2809,16 @@ const cd = /* @__PURE__ */ k(Ls, [["render", qn], ["__scopeId", "data-v-a94f16a9
|
|
|
2801
2809
|
ref_key: "input",
|
|
2802
2810
|
ref: a,
|
|
2803
2811
|
onChange: o
|
|
2804
|
-
}, null, 40,
|
|
2805
|
-
|
|
2812
|
+
}, null, 40, so),
|
|
2813
|
+
no
|
|
2806
2814
|
])
|
|
2807
2815
|
]),
|
|
2808
|
-
s("span",
|
|
2809
|
-
s("small",
|
|
2816
|
+
s("span", oo, h(e.error_message), 1),
|
|
2817
|
+
s("small", ao, h(e.description), 1)
|
|
2810
2818
|
], 2))
|
|
2811
2819
|
], 64));
|
|
2812
2820
|
}
|
|
2813
|
-
},
|
|
2821
|
+
}, io = {
|
|
2814
2822
|
name: "Dropdown",
|
|
2815
2823
|
template: "Dropdown",
|
|
2816
2824
|
props: {
|
|
@@ -2996,13 +3004,13 @@ const cd = /* @__PURE__ */ k(Ls, [["render", qn], ["__scopeId", "data-v-a94f16a9
|
|
|
2996
3004
|
*/
|
|
2997
3005
|
// },
|
|
2998
3006
|
}
|
|
2999
|
-
},
|
|
3007
|
+
}, lo = { class: "font-bold ptext-lg dark:text-white" }, uo = { class: "mt-3 mb-4" }, co = { 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" }, ho = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), fo = ["name", "id", "value"], go = {
|
|
3000
3008
|
key: 0,
|
|
3001
3009
|
class: "dropdown"
|
|
3002
|
-
},
|
|
3010
|
+
}, mo = { 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" }, _o = { class: "relative showOptions" }, po = ["value", "placeholder"], bo = { 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]" }, yo = { class: "p-1" }, vo = /* @__PURE__ */ s("label", {
|
|
3003
3011
|
for: "default-search",
|
|
3004
3012
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
3005
|
-
}, "Search", -1),
|
|
3013
|
+
}, "Search", -1), xo = { class: "relative" }, wo = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
3006
3014
|
/* @__PURE__ */ s("svg", {
|
|
3007
3015
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
3008
3016
|
"aria-hidden": "true",
|
|
@@ -3018,33 +3026,33 @@ const cd = /* @__PURE__ */ k(Ls, [["render", qn], ["__scopeId", "data-v-a94f16a9
|
|
|
3018
3026
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
3019
3027
|
})
|
|
3020
3028
|
])
|
|
3021
|
-
], -1),
|
|
3029
|
+
], -1), ko = ["id"], $o = { class: "overflow-y-auto max-h-64" }, Co = ["onClick", "onMousedown", "id"], So = { class: "flex items-center py-2 pl-10 pr-4" }, Oo = {
|
|
3022
3030
|
key: 0,
|
|
3023
3031
|
class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
|
|
3024
3032
|
"aria-hidden": "true",
|
|
3025
3033
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3026
3034
|
fill: "none",
|
|
3027
3035
|
viewBox: "0 0 16 12"
|
|
3028
|
-
},
|
|
3036
|
+
}, Do = /* @__PURE__ */ s("path", {
|
|
3029
3037
|
stroke: "currentColor",
|
|
3030
3038
|
"stroke-linecap": "round",
|
|
3031
3039
|
"stroke-linejoin": "round",
|
|
3032
3040
|
"stroke-width": "2",
|
|
3033
3041
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
3034
|
-
}, null, -1),
|
|
3035
|
-
|
|
3036
|
-
],
|
|
3037
|
-
function
|
|
3042
|
+
}, null, -1), Po = [
|
|
3043
|
+
Do
|
|
3044
|
+
], Eo = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, jo = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" };
|
|
3045
|
+
function Ao(e, t, r, n, a, o) {
|
|
3038
3046
|
return d(), u(y, null, [
|
|
3039
3047
|
r.show ? (d(), u("div", {
|
|
3040
3048
|
key: 0,
|
|
3041
3049
|
class: p(r.field_name)
|
|
3042
3050
|
}, [
|
|
3043
|
-
s("h3",
|
|
3044
|
-
s("p",
|
|
3045
|
-
s("span",
|
|
3051
|
+
s("h3", lo, h(r.label_name), 1),
|
|
3052
|
+
s("p", uo, [
|
|
3053
|
+
s("span", co, h(e.selectedValue.name), 1)
|
|
3046
3054
|
]),
|
|
3047
|
-
|
|
3055
|
+
ho
|
|
3048
3056
|
], 2)) : f("", !0),
|
|
3049
3057
|
r.show ? f("", !0) : (d(), u("div", {
|
|
3050
3058
|
key: 1,
|
|
@@ -3055,8 +3063,8 @@ function Mo(e, t, r, n, a, o) {
|
|
|
3055
3063
|
name: r.field_name,
|
|
3056
3064
|
id: r.field_name,
|
|
3057
3065
|
value: a.selected.id
|
|
3058
|
-
}, null, 8,
|
|
3059
|
-
r.options ? (d(), u("div",
|
|
3066
|
+
}, null, 8, fo),
|
|
3067
|
+
r.options ? (d(), u("div", go, [
|
|
3060
3068
|
r.label_name ? (d(), u("label", {
|
|
3061
3069
|
key: 0,
|
|
3062
3070
|
class: p({
|
|
@@ -3065,8 +3073,8 @@ function Mo(e, t, r, n, a, o) {
|
|
|
3065
3073
|
required: r.is_required
|
|
3066
3074
|
})
|
|
3067
3075
|
}, h(r.label_name), 3)) : f("", !0),
|
|
3068
|
-
s("div",
|
|
3069
|
-
s("div",
|
|
3076
|
+
s("div", mo, [
|
|
3077
|
+
s("div", _o, [
|
|
3070
3078
|
s("input", {
|
|
3071
3079
|
class: p([{
|
|
3072
3080
|
"gl-input-form": r.error_message == "",
|
|
@@ -3078,7 +3086,7 @@ function Mo(e, t, r, n, a, o) {
|
|
|
3078
3086
|
placeholder: r.placeholder,
|
|
3079
3087
|
autocomplete: "off",
|
|
3080
3088
|
readonly: ""
|
|
3081
|
-
}, null, 10,
|
|
3089
|
+
}, null, 10, po),
|
|
3082
3090
|
C(s("i", {
|
|
3083
3091
|
onClick: t[1] || (t[1] = A((l) => o.ClearInput(), ["stop"])),
|
|
3084
3092
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
@@ -3092,11 +3100,11 @@ function Mo(e, t, r, n, a, o) {
|
|
|
3092
3100
|
style: { top: "11px" }
|
|
3093
3101
|
}, null, 2)
|
|
3094
3102
|
]),
|
|
3095
|
-
C(s("div",
|
|
3096
|
-
s("div",
|
|
3097
|
-
|
|
3098
|
-
s("div",
|
|
3099
|
-
|
|
3103
|
+
C(s("div", bo, [
|
|
3104
|
+
s("div", yo, [
|
|
3105
|
+
vo,
|
|
3106
|
+
s("div", xo, [
|
|
3107
|
+
wo,
|
|
3100
3108
|
C(s("input", {
|
|
3101
3109
|
type: "search",
|
|
3102
3110
|
"onUpdate:modelValue": t[3] || (t[3] = (l) => a.searchFilter = l),
|
|
@@ -3107,12 +3115,12 @@ function Mo(e, t, r, n, a, o) {
|
|
|
3107
3115
|
autocomplete: "off",
|
|
3108
3116
|
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",
|
|
3109
3117
|
placeholder: "Search ..."
|
|
3110
|
-
}, null, 40,
|
|
3118
|
+
}, null, 40, ko), [
|
|
3111
3119
|
[I, a.searchFilter]
|
|
3112
3120
|
])
|
|
3113
3121
|
])
|
|
3114
3122
|
]),
|
|
3115
|
-
s("div",
|
|
3123
|
+
s("div", $o, [
|
|
3116
3124
|
(d(!0), u(y, null, w(o.filteredOptions, (l, i) => (d(), u("div", {
|
|
3117
3125
|
class: p([
|
|
3118
3126
|
"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",
|
|
@@ -3123,23 +3131,23 @@ function Mo(e, t, r, n, a, o) {
|
|
|
3123
3131
|
key: i,
|
|
3124
3132
|
id: `${i + 1}${a.uuid}`
|
|
3125
3133
|
}, [
|
|
3126
|
-
s("div",
|
|
3127
|
-
a.selected.id === l.id ? (d(), u("svg",
|
|
3134
|
+
s("div", So, [
|
|
3135
|
+
a.selected.id === l.id ? (d(), u("svg", Oo, Po)) : f("", !0),
|
|
3128
3136
|
s("span", null, h(l.name || l.id || "-"), 1)
|
|
3129
3137
|
])
|
|
3130
|
-
], 42,
|
|
3138
|
+
], 42, Co))), 128))
|
|
3131
3139
|
])
|
|
3132
3140
|
], 512), [
|
|
3133
3141
|
[T, a.optionsShown]
|
|
3134
3142
|
])
|
|
3135
3143
|
])
|
|
3136
3144
|
])) : f("", !0),
|
|
3137
|
-
s("span",
|
|
3138
|
-
s("small",
|
|
3145
|
+
s("span", Eo, h(r.error_message), 1),
|
|
3146
|
+
s("small", jo, h(r.description), 1)
|
|
3139
3147
|
], 2))
|
|
3140
3148
|
], 64);
|
|
3141
3149
|
}
|
|
3142
|
-
const
|
|
3150
|
+
const cd = /* @__PURE__ */ k(io, [["render", Ao]]), Io = { class: "font-bold ptext-lg dark:text-white" }, To = ["id"], Mo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), No = ["for"], Vo = ["required", "name", "id", "type", "placeholder"], Lo = { class: "gl-span-form-error" }, Bo = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, hd = {
|
|
3143
3151
|
__name: "GlTextarea",
|
|
3144
3152
|
props: {
|
|
3145
3153
|
is_required: {
|
|
@@ -3193,12 +3201,12 @@ const gd = /* @__PURE__ */ k(co, [["render", Mo]]), No = { class: "font-bold pte
|
|
|
3193
3201
|
key: 0,
|
|
3194
3202
|
class: p(e.field_name)
|
|
3195
3203
|
}, [
|
|
3196
|
-
s("h3",
|
|
3204
|
+
s("h3", Io, h(e.label_name), 1),
|
|
3197
3205
|
s("p", {
|
|
3198
3206
|
id: e.field_name,
|
|
3199
3207
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3200
|
-
}, h(e.model_value), 9,
|
|
3201
|
-
|
|
3208
|
+
}, h(e.model_value), 9, To),
|
|
3209
|
+
Mo
|
|
3202
3210
|
], 2)) : f("", !0),
|
|
3203
3211
|
e.show ? f("", !0) : (d(), u("div", {
|
|
3204
3212
|
key: 1,
|
|
@@ -3211,7 +3219,7 @@ const gd = /* @__PURE__ */ k(co, [["render", Mo]]), No = { class: "font-bold pte
|
|
|
3211
3219
|
required: e.is_required
|
|
3212
3220
|
}),
|
|
3213
3221
|
for: e.field_name
|
|
3214
|
-
}, h(e.label_name), 11,
|
|
3222
|
+
}, h(e.label_name), 11, No),
|
|
3215
3223
|
s("textarea", {
|
|
3216
3224
|
required: e.is_required,
|
|
3217
3225
|
name: e.field_name,
|
|
@@ -3226,13 +3234,13 @@ const gd = /* @__PURE__ */ k(co, [["render", Mo]]), No = { class: "font-bold pte
|
|
|
3226
3234
|
ref: o,
|
|
3227
3235
|
rows: "4",
|
|
3228
3236
|
placeholder: e.place_holder
|
|
3229
|
-
}, null, 42,
|
|
3230
|
-
s("span",
|
|
3231
|
-
s("small",
|
|
3237
|
+
}, null, 42, Vo),
|
|
3238
|
+
s("span", Lo, h(e.error_message), 1),
|
|
3239
|
+
s("small", Bo, h(e.description), 1)
|
|
3232
3240
|
], 2))
|
|
3233
3241
|
], 64));
|
|
3234
3242
|
}
|
|
3235
|
-
},
|
|
3243
|
+
}, Go = {
|
|
3236
3244
|
emits: ["pagination-change-page"],
|
|
3237
3245
|
props: {
|
|
3238
3246
|
data: {
|
|
@@ -3337,14 +3345,14 @@ const gd = /* @__PURE__ */ k(co, [["render", Mo]]), No = { class: "font-bold pte
|
|
|
3337
3345
|
})
|
|
3338
3346
|
});
|
|
3339
3347
|
}
|
|
3340
|
-
},
|
|
3348
|
+
}, Fo = {
|
|
3341
3349
|
compatConfig: {
|
|
3342
3350
|
MODE: 3
|
|
3343
3351
|
},
|
|
3344
3352
|
inheritAttrs: !1,
|
|
3345
3353
|
emits: ["pagination-change-page"],
|
|
3346
3354
|
components: {
|
|
3347
|
-
RenderlessPagination:
|
|
3355
|
+
RenderlessPagination: Go
|
|
3348
3356
|
},
|
|
3349
3357
|
props: {
|
|
3350
3358
|
data: {
|
|
@@ -3378,10 +3386,10 @@ const gd = /* @__PURE__ */ k(co, [["render", Mo]]), No = { class: "font-bold pte
|
|
|
3378
3386
|
},
|
|
3379
3387
|
mounted() {
|
|
3380
3388
|
}
|
|
3381
|
-
},
|
|
3389
|
+
}, Ro = { class: "flex flex-col items-center" }, qo = {
|
|
3382
3390
|
key: 0,
|
|
3383
3391
|
class: "text-sm text-gray-700 dark:text-gray-400"
|
|
3384
|
-
},
|
|
3392
|
+
}, Uo = { class: "font-semibold text-gray-900 dark:text-white" }, zo = { class: "font-semibold text-gray-900 dark:text-white" }, Ho = { class: "font-semibold text-gray-900 dark:text-white" }, Zo = ["tabindex"], Ko = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), Wo = /* @__PURE__ */ s("svg", {
|
|
3385
3393
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3386
3394
|
"aria-hidden": "true",
|
|
3387
3395
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3395,7 +3403,7 @@ const gd = /* @__PURE__ */ k(co, [["render", Mo]]), No = { class: "font-bold pte
|
|
|
3395
3403
|
"stroke-width": "2",
|
|
3396
3404
|
d: "M5 1 1 5l4 4"
|
|
3397
3405
|
})
|
|
3398
|
-
], -1),
|
|
3406
|
+
], -1), Xo = ["aria-current"], Yo = ["tabindex"], Jo = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), Qo = /* @__PURE__ */ s("svg", {
|
|
3399
3407
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3400
3408
|
"aria-hidden": "true",
|
|
3401
3409
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3410,7 +3418,7 @@ const gd = /* @__PURE__ */ k(co, [["render", Mo]]), No = { class: "font-bold pte
|
|
|
3410
3418
|
d: "m1 9 4-4-4-4"
|
|
3411
3419
|
})
|
|
3412
3420
|
], -1);
|
|
3413
|
-
function
|
|
3421
|
+
function ea(e, t, r, n, a, o) {
|
|
3414
3422
|
const l = U("RenderlessPagination");
|
|
3415
3423
|
return d(), F(l, {
|
|
3416
3424
|
data: r.data,
|
|
@@ -3418,14 +3426,14 @@ function sa(e, t, r, n, a, o) {
|
|
|
3418
3426
|
onPaginationChangePage: o.onPaginationChangePage
|
|
3419
3427
|
}, {
|
|
3420
3428
|
default: z((i) => [
|
|
3421
|
-
s("div",
|
|
3422
|
-
i.computed.total > i.computed.perPage ? (d(), u("span",
|
|
3429
|
+
s("div", Ro, [
|
|
3430
|
+
i.computed.total > i.computed.perPage ? (d(), u("span", qo, [
|
|
3423
3431
|
v(" Showing "),
|
|
3424
|
-
s("span",
|
|
3432
|
+
s("span", Uo, h(i.computed.from), 1),
|
|
3425
3433
|
v(" to "),
|
|
3426
|
-
s("span",
|
|
3434
|
+
s("span", zo, h(i.computed.to), 1),
|
|
3427
3435
|
v(" of "),
|
|
3428
|
-
s("span",
|
|
3436
|
+
s("span", Ho, h(i.computed.total), 1),
|
|
3429
3437
|
v(" Entries ")
|
|
3430
3438
|
])) : f("", !0),
|
|
3431
3439
|
i.computed.total > i.computed.perPage ? (d(), u("ul", q({ key: 1 }, e.$attrs, {
|
|
@@ -3447,10 +3455,10 @@ function sa(e, t, r, n, a, o) {
|
|
|
3447
3455
|
tabindex: !i.computed.prevPageUrl && -1
|
|
3448
3456
|
}, K(i.prevButtonEvents, !0)), [
|
|
3449
3457
|
P(e.$slots, "prev-nav", {}, () => [
|
|
3450
|
-
|
|
3451
|
-
|
|
3458
|
+
Ko,
|
|
3459
|
+
Wo
|
|
3452
3460
|
])
|
|
3453
|
-
], 16,
|
|
3461
|
+
], 16, Zo)
|
|
3454
3462
|
], 2)) : f("", !0),
|
|
3455
3463
|
(d(!0), u(y, null, w(i.computed.pageRange, (c, g) => (d(), u("li", {
|
|
3456
3464
|
class: p(["", { active: c == i.computed.currentPage }]),
|
|
@@ -3462,7 +3470,7 @@ function sa(e, t, r, n, a, o) {
|
|
|
3462
3470
|
}, K(i.pageButtonEvents(c), !0), {
|
|
3463
3471
|
"aria-current": c == i.computed.currentPage ? "page" : null,
|
|
3464
3472
|
class: c == i.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 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" : "flex items-center justify-center px-3 h-8 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"
|
|
3465
|
-
}), h(c), 17,
|
|
3473
|
+
}), h(c), 17, Xo)
|
|
3466
3474
|
], 2))), 128)),
|
|
3467
3475
|
i.computed.nextPageUrl || r.showDisabled ? (d(), u("li", {
|
|
3468
3476
|
key: 1,
|
|
@@ -3475,10 +3483,10 @@ function sa(e, t, r, n, a, o) {
|
|
|
3475
3483
|
tabindex: !i.computed.nextPageUrl && -1
|
|
3476
3484
|
}, K(i.nextButtonEvents, !0)), [
|
|
3477
3485
|
P(e.$slots, "next-nav", {}, () => [
|
|
3478
|
-
|
|
3479
|
-
|
|
3486
|
+
Jo,
|
|
3487
|
+
Qo
|
|
3480
3488
|
])
|
|
3481
|
-
], 16,
|
|
3489
|
+
], 16, Yo)
|
|
3482
3490
|
], 2)) : f("", !0)
|
|
3483
3491
|
], 16)) : f("", !0)
|
|
3484
3492
|
])
|
|
@@ -3486,8 +3494,8 @@ function sa(e, t, r, n, a, o) {
|
|
|
3486
3494
|
_: 3
|
|
3487
3495
|
}, 8, ["data", "limit", "onPaginationChangePage"]);
|
|
3488
3496
|
}
|
|
3489
|
-
const
|
|
3490
|
-
components: { TailwindPagination:
|
|
3497
|
+
const ta = /* @__PURE__ */ k(Fo, [["render", ea]]), ra = {
|
|
3498
|
+
components: { TailwindPagination: ta },
|
|
3491
3499
|
props: {
|
|
3492
3500
|
data: Array,
|
|
3493
3501
|
columns: Array,
|
|
@@ -3563,10 +3571,10 @@ const na = /* @__PURE__ */ k(Uo, [["render", sa]]), oa = {
|
|
|
3563
3571
|
this.isMounted && e !== t && this.GetItemLists();
|
|
3564
3572
|
}
|
|
3565
3573
|
}
|
|
3566
|
-
},
|
|
3574
|
+
}, sa = { class: "p-2" }, na = { 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" }, oa = { class: "flex items-center gap-2" }, aa = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), ia = { style: { "margin-top": "9px" } }, la = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), da = /* @__PURE__ */ s("label", {
|
|
3567
3575
|
for: "table-search",
|
|
3568
3576
|
class: "sr-only"
|
|
3569
|
-
}, "Search", -1),
|
|
3577
|
+
}, "Search", -1), ua = { class: "relative" }, ca = /* @__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" }, [
|
|
3570
3578
|
/* @__PURE__ */ s("svg", {
|
|
3571
3579
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3572
3580
|
"aria-hidden": "true",
|
|
@@ -3580,23 +3588,23 @@ const na = /* @__PURE__ */ k(Uo, [["render", sa]]), oa = {
|
|
|
3580
3588
|
"clip-rule": "evenodd"
|
|
3581
3589
|
})
|
|
3582
3590
|
])
|
|
3583
|
-
], -1),
|
|
3591
|
+
], -1), ha = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, fa = { 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" }, ga = { class: "hidden text-sm font-normal text-center text-gray-700 uppercase lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, ma = ["onClick"], _a = {
|
|
3584
3592
|
key: 0,
|
|
3585
3593
|
class: "ml-2"
|
|
3586
|
-
},
|
|
3594
|
+
}, pa = {
|
|
3587
3595
|
key: 0,
|
|
3588
3596
|
class: "fa fa-arrow-up"
|
|
3589
|
-
},
|
|
3597
|
+
}, ba = {
|
|
3590
3598
|
key: 1,
|
|
3591
3599
|
class: "fa fa-arrow-down"
|
|
3592
|
-
},
|
|
3593
|
-
function
|
|
3600
|
+
}, ya = ["data-label"], va = { class: "overflow-auto max-h-40" }, xa = { 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" };
|
|
3601
|
+
function wa(e, t, r, n, a, o) {
|
|
3594
3602
|
const l = U("dropdown"), i = U("TailwindPagination");
|
|
3595
|
-
return d(), u("div",
|
|
3596
|
-
s("div",
|
|
3597
|
-
s("div",
|
|
3598
|
-
|
|
3599
|
-
s("div",
|
|
3603
|
+
return d(), u("div", sa, [
|
|
3604
|
+
s("div", na, [
|
|
3605
|
+
s("div", oa, [
|
|
3606
|
+
aa,
|
|
3607
|
+
s("div", ia, [
|
|
3600
3608
|
G(l, {
|
|
3601
3609
|
has_cancel: !1,
|
|
3602
3610
|
options: a.pageOptions,
|
|
@@ -3610,11 +3618,11 @@ function Ca(e, t, r, n, a, o) {
|
|
|
3610
3618
|
placeholder: "Please select an option"
|
|
3611
3619
|
}, null, 8, ["options", "modelValue"])
|
|
3612
3620
|
]),
|
|
3613
|
-
|
|
3621
|
+
la
|
|
3614
3622
|
]),
|
|
3615
|
-
|
|
3616
|
-
s("div",
|
|
3617
|
-
|
|
3623
|
+
da,
|
|
3624
|
+
s("div", ua, [
|
|
3625
|
+
ca,
|
|
3618
3626
|
C(s("input", {
|
|
3619
3627
|
type: "text",
|
|
3620
3628
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => a.search = c),
|
|
@@ -3626,9 +3634,9 @@ function Ca(e, t, r, n, a, o) {
|
|
|
3626
3634
|
])
|
|
3627
3635
|
])
|
|
3628
3636
|
]),
|
|
3629
|
-
s("div",
|
|
3630
|
-
s("table",
|
|
3631
|
-
s("thead",
|
|
3637
|
+
s("div", ha, [
|
|
3638
|
+
s("table", fa, [
|
|
3639
|
+
s("thead", ga, [
|
|
3632
3640
|
s("tr", null, [
|
|
3633
3641
|
(d(!0), u(y, null, w(r.columns, (c, g) => (d(), u("th", {
|
|
3634
3642
|
key: g,
|
|
@@ -3636,10 +3644,10 @@ function Ca(e, t, r, n, a, o) {
|
|
|
3636
3644
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3637
3645
|
}, [
|
|
3638
3646
|
v(h(c.field_label) + " ", 1),
|
|
3639
|
-
a.sortField === c.field_name ? (d(), u("span",
|
|
3640
|
-
a.sortOrder === "asc" ? (d(), u("i",
|
|
3647
|
+
a.sortField === c.field_name ? (d(), u("span", _a, [
|
|
3648
|
+
a.sortOrder === "asc" ? (d(), u("i", pa)) : (d(), u("i", ba))
|
|
3641
3649
|
])) : f("", !0)
|
|
3642
|
-
], 8,
|
|
3650
|
+
], 8, ma))), 128))
|
|
3643
3651
|
])
|
|
3644
3652
|
]),
|
|
3645
3653
|
s("tbody", null, [
|
|
@@ -3652,7 +3660,7 @@ function Ca(e, t, r, n, a, o) {
|
|
|
3652
3660
|
"data-label": m.field_label,
|
|
3653
3661
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
|
|
3654
3662
|
}, [
|
|
3655
|
-
s("div",
|
|
3663
|
+
s("div", va, [
|
|
3656
3664
|
m.tdComp ? (d(), F(X(o.forDynCompIs(m.tdComp)), {
|
|
3657
3665
|
key: 0,
|
|
3658
3666
|
row: c,
|
|
@@ -3664,12 +3672,12 @@ function Ca(e, t, r, n, a, o) {
|
|
|
3664
3672
|
v(h(c[m.field_name]), 1)
|
|
3665
3673
|
], 64))
|
|
3666
3674
|
])
|
|
3667
|
-
], 8,
|
|
3675
|
+
], 8, ya))), 128))
|
|
3668
3676
|
]))), 128))
|
|
3669
3677
|
])
|
|
3670
3678
|
])
|
|
3671
3679
|
]),
|
|
3672
|
-
s("div",
|
|
3680
|
+
s("div", xa, [
|
|
3673
3681
|
G(i, {
|
|
3674
3682
|
class: "mt-3 mb-0",
|
|
3675
3683
|
data: a.itemLists,
|
|
@@ -3681,7 +3689,7 @@ function Ca(e, t, r, n, a, o) {
|
|
|
3681
3689
|
])
|
|
3682
3690
|
]);
|
|
3683
3691
|
}
|
|
3684
|
-
const
|
|
3692
|
+
const fd = /* @__PURE__ */ k(ra, [["render", wa]]), ka = {
|
|
3685
3693
|
components: {},
|
|
3686
3694
|
props: {
|
|
3687
3695
|
data: Array,
|
|
@@ -3778,10 +3786,10 @@ const _d = /* @__PURE__ */ k(oa, [["render", Ca]]), Sa = {
|
|
|
3778
3786
|
mounted() {
|
|
3779
3787
|
document.body.addEventListener("click", this.closeBoxOnbodyClick);
|
|
3780
3788
|
}
|
|
3781
|
-
},
|
|
3789
|
+
}, $a = { class: "p-2" }, Ca = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Sa = { class: "flex items-center gap-2" }, Oa = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Da = { style: { "margin-top": "9px" } }, Pa = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), Ea = /* @__PURE__ */ s("label", {
|
|
3782
3790
|
for: "table-search",
|
|
3783
3791
|
class: "sr-only"
|
|
3784
|
-
}, "Search", -1),
|
|
3792
|
+
}, "Search", -1), ja = { class: "relative" }, Aa = /* @__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" }, [
|
|
3785
3793
|
/* @__PURE__ */ s("svg", {
|
|
3786
3794
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3787
3795
|
"aria-hidden": "true",
|
|
@@ -3795,10 +3803,10 @@ const _d = /* @__PURE__ */ k(oa, [["render", Ca]]), Sa = {
|
|
|
3795
3803
|
"clip-rule": "evenodd"
|
|
3796
3804
|
})
|
|
3797
3805
|
])
|
|
3798
|
-
], -1),
|
|
3806
|
+
], -1), Ia = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Ta = { 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" }, Ma = { class: "hidden text-sm font-normal text-center text-gray-700 uppercase lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, Na = ["onClick"], Va = {
|
|
3799
3807
|
key: 0,
|
|
3800
3808
|
class: "ml-2"
|
|
3801
|
-
},
|
|
3809
|
+
}, La = ["data-label"], Ba = ["innerHTML"], Ga = { 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" }, Fa = { class: "flex justify-between flex-1 sm:hidden" }, Ra = ["disabled"], qa = ["disabled"], Ua = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, za = { class: "text-sm text-gray-700 dark:text-gray-400" }, Ha = { class: "font-medium" }, Za = { class: "font-medium" }, Ka = { class: "font-medium" }, Wa = { "aria-label": "Page navigation" }, Xa = { class: "flex items-center h-8 -space-x-px text-sm" }, Ya = ["disabled"], Ja = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), Qa = /* @__PURE__ */ s("svg", {
|
|
3802
3810
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3803
3811
|
"aria-hidden": "true",
|
|
3804
3812
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3812,10 +3820,10 @@ const _d = /* @__PURE__ */ k(oa, [["render", Ca]]), Sa = {
|
|
|
3812
3820
|
"stroke-width": "2",
|
|
3813
3821
|
d: "M5 1 1 5l4 4"
|
|
3814
3822
|
})
|
|
3815
|
-
], -1),
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
],
|
|
3823
|
+
], -1), ei = [
|
|
3824
|
+
Ja,
|
|
3825
|
+
Qa
|
|
3826
|
+
], ti = ["onClick"], ri = ["onClick"], si = ["disabled"], ni = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), oi = /* @__PURE__ */ s("svg", {
|
|
3819
3827
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3820
3828
|
"aria-hidden": "true",
|
|
3821
3829
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3829,17 +3837,17 @@ const _d = /* @__PURE__ */ k(oa, [["render", Ca]]), Sa = {
|
|
|
3829
3837
|
"stroke-width": "2",
|
|
3830
3838
|
d: "m1 9 4-4-4-4"
|
|
3831
3839
|
})
|
|
3832
|
-
], -1),
|
|
3833
|
-
|
|
3834
|
-
|
|
3840
|
+
], -1), ai = [
|
|
3841
|
+
ni,
|
|
3842
|
+
oi
|
|
3835
3843
|
];
|
|
3836
|
-
function
|
|
3844
|
+
function ii(e, t, r, n, a, o) {
|
|
3837
3845
|
const l = U("dropdown");
|
|
3838
|
-
return d(), u("div",
|
|
3839
|
-
s("div",
|
|
3840
|
-
s("div",
|
|
3841
|
-
|
|
3842
|
-
s("div",
|
|
3846
|
+
return d(), u("div", $a, [
|
|
3847
|
+
s("div", Ca, [
|
|
3848
|
+
s("div", Sa, [
|
|
3849
|
+
Oa,
|
|
3850
|
+
s("div", Da, [
|
|
3843
3851
|
G(l, {
|
|
3844
3852
|
has_cancel: !1,
|
|
3845
3853
|
options: a.showNoOfEntries,
|
|
@@ -3853,11 +3861,11 @@ function ui(e, t, r, n, a, o) {
|
|
|
3853
3861
|
placeholder: "Please select an option"
|
|
3854
3862
|
}, null, 8, ["options", "modelValue"])
|
|
3855
3863
|
]),
|
|
3856
|
-
|
|
3864
|
+
Pa
|
|
3857
3865
|
]),
|
|
3858
|
-
|
|
3859
|
-
s("div",
|
|
3860
|
-
|
|
3866
|
+
Ea,
|
|
3867
|
+
s("div", ja, [
|
|
3868
|
+
Aa,
|
|
3861
3869
|
C(s("input", {
|
|
3862
3870
|
type: "text",
|
|
3863
3871
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => a.search = i),
|
|
@@ -3868,9 +3876,9 @@ function ui(e, t, r, n, a, o) {
|
|
|
3868
3876
|
])
|
|
3869
3877
|
])
|
|
3870
3878
|
]),
|
|
3871
|
-
s("div",
|
|
3872
|
-
s("table",
|
|
3873
|
-
s("thead",
|
|
3879
|
+
s("div", Ia, [
|
|
3880
|
+
s("table", Ta, [
|
|
3881
|
+
s("thead", Ma, [
|
|
3874
3882
|
s("tr", null, [
|
|
3875
3883
|
(d(!0), u(y, null, w(r.columns, (i, c) => (d(), u("th", {
|
|
3876
3884
|
key: c,
|
|
@@ -3878,8 +3886,8 @@ function ui(e, t, r, n, a, o) {
|
|
|
3878
3886
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3879
3887
|
}, [
|
|
3880
3888
|
v(h(i) + " ", 1),
|
|
3881
|
-
a.sortKey === i ? (d(), u("span",
|
|
3882
|
-
], 8,
|
|
3889
|
+
a.sortKey === i ? (d(), u("span", Va, h(a.sortOrder === 1 ? "▲" : "▼"), 1)) : f("", !0)
|
|
3890
|
+
], 8, Na))), 128))
|
|
3883
3891
|
])
|
|
3884
3892
|
]),
|
|
3885
3893
|
s("tbody", null, [
|
|
@@ -3895,49 +3903,49 @@ function ui(e, t, r, n, a, o) {
|
|
|
3895
3903
|
s("p", {
|
|
3896
3904
|
class: "text-pretty",
|
|
3897
3905
|
innerHTML: i[m]
|
|
3898
|
-
}, null, 8,
|
|
3899
|
-
], 8,
|
|
3906
|
+
}, null, 8, Ba)
|
|
3907
|
+
], 8, La))), 128))
|
|
3900
3908
|
]))), 128))
|
|
3901
3909
|
])
|
|
3902
3910
|
])
|
|
3903
3911
|
]),
|
|
3904
|
-
s("div",
|
|
3905
|
-
s("div",
|
|
3912
|
+
s("div", Ga, [
|
|
3913
|
+
s("div", Fa, [
|
|
3906
3914
|
s("a", {
|
|
3907
3915
|
href: "#",
|
|
3908
3916
|
onClick: t[2] || (t[2] = (...i) => o.previousPage && o.previousPage(...i)),
|
|
3909
3917
|
disabled: a.currentPage === 1,
|
|
3910
3918
|
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"
|
|
3911
|
-
}, "Previous", 8,
|
|
3919
|
+
}, "Previous", 8, Ra),
|
|
3912
3920
|
s("a", {
|
|
3913
3921
|
href: "#",
|
|
3914
3922
|
onClick: t[3] || (t[3] = (...i) => o.nextPage && o.nextPage(...i)),
|
|
3915
3923
|
disabled: a.currentPage === o.totalPages,
|
|
3916
3924
|
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"
|
|
3917
|
-
}, "Next", 8,
|
|
3925
|
+
}, "Next", 8, qa)
|
|
3918
3926
|
]),
|
|
3919
|
-
s("div",
|
|
3927
|
+
s("div", Ua, [
|
|
3920
3928
|
s("div", null, [
|
|
3921
|
-
s("p",
|
|
3929
|
+
s("p", za, [
|
|
3922
3930
|
v(" Showing "),
|
|
3923
|
-
s("span",
|
|
3931
|
+
s("span", Ha, h(o.firstItemIndex), 1),
|
|
3924
3932
|
v(" to "),
|
|
3925
|
-
s("span",
|
|
3933
|
+
s("span", Za, h(o.lastItemIndex), 1),
|
|
3926
3934
|
v(" of "),
|
|
3927
|
-
s("span",
|
|
3935
|
+
s("span", Ka, h(o.filteredData.length), 1),
|
|
3928
3936
|
v(" entries ")
|
|
3929
3937
|
])
|
|
3930
3938
|
]),
|
|
3931
3939
|
s("div", null, [
|
|
3932
|
-
s("nav",
|
|
3933
|
-
s("ul",
|
|
3940
|
+
s("nav", Wa, [
|
|
3941
|
+
s("ul", Xa, [
|
|
3934
3942
|
s("li", null, [
|
|
3935
3943
|
s("a", {
|
|
3936
3944
|
href: "#",
|
|
3937
3945
|
onClick: t[4] || (t[4] = (...i) => o.previousPage && o.previousPage(...i)),
|
|
3938
3946
|
disabled: a.currentPage === 1,
|
|
3939
3947
|
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"
|
|
3940
|
-
},
|
|
3948
|
+
}, ei, 8, Ya)
|
|
3941
3949
|
]),
|
|
3942
3950
|
(d(!0), u(y, null, w(o.displayedPageNumbers, (i) => (d(), u(y, { key: i }, [
|
|
3943
3951
|
s("li", null, [
|
|
@@ -3946,7 +3954,7 @@ function ui(e, t, r, n, a, o) {
|
|
|
3946
3954
|
href: "#",
|
|
3947
3955
|
onClick: (c) => o.goToPage(i),
|
|
3948
3956
|
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"
|
|
3949
|
-
}, h(i), 9,
|
|
3957
|
+
}, h(i), 9, ti)) : f("", !0)
|
|
3950
3958
|
]),
|
|
3951
3959
|
s("li", null, [
|
|
3952
3960
|
a.currentPage === i ? (d(), u("a", {
|
|
@@ -3955,7 +3963,7 @@ function ui(e, t, r, n, a, o) {
|
|
|
3955
3963
|
onClick: (c) => o.goToPage(i),
|
|
3956
3964
|
"aria-current": "page",
|
|
3957
3965
|
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"
|
|
3958
|
-
}, h(i), 9,
|
|
3966
|
+
}, h(i), 9, ri)) : f("", !0)
|
|
3959
3967
|
])
|
|
3960
3968
|
], 64))), 128)),
|
|
3961
3969
|
s("li", null, [
|
|
@@ -3964,7 +3972,7 @@ function ui(e, t, r, n, a, o) {
|
|
|
3964
3972
|
onClick: t[5] || (t[5] = (...i) => o.nextPage && o.nextPage(...i)),
|
|
3965
3973
|
disabled: a.currentPage === o.totalPages,
|
|
3966
3974
|
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"
|
|
3967
|
-
},
|
|
3975
|
+
}, ai, 8, si)
|
|
3968
3976
|
])
|
|
3969
3977
|
])
|
|
3970
3978
|
])
|
|
@@ -3973,13 +3981,13 @@ function ui(e, t, r, n, a, o) {
|
|
|
3973
3981
|
])
|
|
3974
3982
|
]);
|
|
3975
3983
|
}
|
|
3976
|
-
const
|
|
3984
|
+
const gd = /* @__PURE__ */ k(ka, [["render", ii]]), li = {
|
|
3977
3985
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
3978
3986
|
role: "alert"
|
|
3979
|
-
},
|
|
3987
|
+
}, di = {
|
|
3980
3988
|
key: 0,
|
|
3981
3989
|
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"
|
|
3982
|
-
},
|
|
3990
|
+
}, ui = /* @__PURE__ */ s("svg", {
|
|
3983
3991
|
class: "w-5 h-5",
|
|
3984
3992
|
"aria-hidden": "true",
|
|
3985
3993
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3987,13 +3995,13 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
3987
3995
|
viewBox: "0 0 20 20"
|
|
3988
3996
|
}, [
|
|
3989
3997
|
/* @__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" })
|
|
3990
|
-
], -1),
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
],
|
|
3998
|
+
], -1), ci = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), hi = [
|
|
3999
|
+
ui,
|
|
4000
|
+
ci
|
|
4001
|
+
], fi = {
|
|
3994
4002
|
key: 1,
|
|
3995
4003
|
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"
|
|
3996
|
-
},
|
|
4004
|
+
}, gi = /* @__PURE__ */ s("svg", {
|
|
3997
4005
|
class: "w-5 h-5",
|
|
3998
4006
|
"aria-hidden": "true",
|
|
3999
4007
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4001,13 +4009,13 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4001
4009
|
viewBox: "0 0 20 20"
|
|
4002
4010
|
}, [
|
|
4003
4011
|
/* @__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" })
|
|
4004
|
-
], -1),
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
],
|
|
4012
|
+
], -1), mi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), _i = [
|
|
4013
|
+
gi,
|
|
4014
|
+
mi
|
|
4015
|
+
], pi = {
|
|
4008
4016
|
key: 2,
|
|
4009
4017
|
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"
|
|
4010
|
-
},
|
|
4018
|
+
}, bi = /* @__PURE__ */ s("svg", {
|
|
4011
4019
|
class: "w-5 h-5",
|
|
4012
4020
|
"aria-hidden": "true",
|
|
4013
4021
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4015,10 +4023,10 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4015
4023
|
viewBox: "0 0 20 20"
|
|
4016
4024
|
}, [
|
|
4017
4025
|
/* @__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" })
|
|
4018
|
-
], -1),
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
],
|
|
4026
|
+
], -1), yi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), vi = [
|
|
4027
|
+
bi,
|
|
4028
|
+
yi
|
|
4029
|
+
], xi = { class: "ml-3 text-sm font-normal" }, wi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), ki = /* @__PURE__ */ s("svg", {
|
|
4022
4030
|
"aria-hidden": "true",
|
|
4023
4031
|
class: "w-5 h-5",
|
|
4024
4032
|
fill: "currentColor",
|
|
@@ -4030,10 +4038,10 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4030
4038
|
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",
|
|
4031
4039
|
"clip-rule": "evenodd"
|
|
4032
4040
|
})
|
|
4033
|
-
], -1),
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
],
|
|
4041
|
+
], -1), $i = [
|
|
4042
|
+
wi,
|
|
4043
|
+
ki
|
|
4044
|
+
], Ci = {
|
|
4037
4045
|
__name: "ToastListItem",
|
|
4038
4046
|
props: {
|
|
4039
4047
|
message: String,
|
|
@@ -4053,23 +4061,23 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4053
4061
|
setTimeout(() => n("remove"), r.duration);
|
|
4054
4062
|
});
|
|
4055
4063
|
const n = t;
|
|
4056
|
-
return (a, o) => (d(), u("div",
|
|
4057
|
-
r.type === "success" ? (d(), u("div",
|
|
4058
|
-
r.type === "error" ? (d(), u("div",
|
|
4059
|
-
r.type === "warning" ? (d(), u("div",
|
|
4060
|
-
s("div",
|
|
4064
|
+
return (a, o) => (d(), u("div", li, [
|
|
4065
|
+
r.type === "success" ? (d(), u("div", di, hi)) : f("", !0),
|
|
4066
|
+
r.type === "error" ? (d(), u("div", fi, _i)) : f("", !0),
|
|
4067
|
+
r.type === "warning" ? (d(), u("div", pi, vi)) : f("", !0),
|
|
4068
|
+
s("div", xi, h(r.message), 1),
|
|
4061
4069
|
s("button", {
|
|
4062
4070
|
onClick: o[0] || (o[0] = (l) => n("remove")),
|
|
4063
4071
|
type: "button",
|
|
4064
4072
|
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",
|
|
4065
4073
|
"data-dismiss-target": "#toast-default",
|
|
4066
4074
|
"aria-label": "Close"
|
|
4067
|
-
},
|
|
4075
|
+
}, $i)
|
|
4068
4076
|
]));
|
|
4069
4077
|
}
|
|
4070
4078
|
}, Q = he({
|
|
4071
4079
|
items: []
|
|
4072
|
-
}),
|
|
4080
|
+
}), Si = {
|
|
4073
4081
|
add(e) {
|
|
4074
4082
|
Q.items.unshift({
|
|
4075
4083
|
key: Symbol(),
|
|
@@ -4083,14 +4091,14 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4083
4091
|
}
|
|
4084
4092
|
}, ue = {
|
|
4085
4093
|
state: Q,
|
|
4086
|
-
methods:
|
|
4087
|
-
},
|
|
4094
|
+
methods: Si
|
|
4095
|
+
}, md = {
|
|
4088
4096
|
__name: "GlToastList",
|
|
4089
4097
|
setup(e) {
|
|
4090
4098
|
function t(r) {
|
|
4091
4099
|
ue.methods.remove(r);
|
|
4092
4100
|
}
|
|
4093
|
-
return (r, n) => (d(), F(
|
|
4101
|
+
return (r, n) => (d(), F(Be, {
|
|
4094
4102
|
tag: "div",
|
|
4095
4103
|
"enter-from-class": "translate-x-full opacity-0",
|
|
4096
4104
|
"enter-active-class": "duration-500",
|
|
@@ -4099,7 +4107,7 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4099
4107
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4100
4108
|
}, {
|
|
4101
4109
|
default: z(() => [
|
|
4102
|
-
(d(!0), u(y, null, w(
|
|
4110
|
+
(d(!0), u(y, null, w(fe(ue).state.items, (a, o) => (d(), F(Ci, {
|
|
4103
4111
|
key: a.key,
|
|
4104
4112
|
message: a.message,
|
|
4105
4113
|
type: a.type,
|
|
@@ -4110,10 +4118,10 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4110
4118
|
_: 1
|
|
4111
4119
|
}));
|
|
4112
4120
|
}
|
|
4113
|
-
},
|
|
4121
|
+
}, Oi = {
|
|
4114
4122
|
key: 0,
|
|
4115
4123
|
class: "flex justify-center"
|
|
4116
|
-
},
|
|
4124
|
+
}, Di = /* @__PURE__ */ s("svg", {
|
|
4117
4125
|
class: "w-5 h-5",
|
|
4118
4126
|
"aria-hidden": "true",
|
|
4119
4127
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4121,12 +4129,12 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4121
4129
|
viewBox: "0 0 4 15"
|
|
4122
4130
|
}, [
|
|
4123
4131
|
/* @__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" })
|
|
4124
|
-
], -1),
|
|
4125
|
-
|
|
4126
|
-
],
|
|
4132
|
+
], -1), Pi = [
|
|
4133
|
+
Di
|
|
4134
|
+
], Ei = { class: "absolute 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" }, ji = {
|
|
4127
4135
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4128
4136
|
"aria-labelledby": "dropdownDividerButton"
|
|
4129
|
-
},
|
|
4137
|
+
}, Ai = { key: 0 }, Ii = ["href"], Ti = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), Mi = { key: 1 }, Ni = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), _d = {
|
|
4130
4138
|
__name: "DatatableAction",
|
|
4131
4139
|
props: {
|
|
4132
4140
|
field: {
|
|
@@ -4152,7 +4160,7 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4152
4160
|
},
|
|
4153
4161
|
emits: ["deleteAction"],
|
|
4154
4162
|
setup(e, { emit: t }) {
|
|
4155
|
-
const r =
|
|
4163
|
+
const r = pe(), n = e, a = S(!1), o = S(!1), l = () => {
|
|
4156
4164
|
a.value = !1;
|
|
4157
4165
|
}, i = () => {
|
|
4158
4166
|
a.value = !0;
|
|
@@ -4172,37 +4180,37 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4172
4180
|
});
|
|
4173
4181
|
};
|
|
4174
4182
|
return (x, $) => {
|
|
4175
|
-
const R =
|
|
4183
|
+
const R = ge("click-outside");
|
|
4176
4184
|
return d(), u(y, null, [
|
|
4177
4185
|
G(te, {
|
|
4178
4186
|
isOpen: o.value,
|
|
4179
4187
|
onConfirmDelete: b,
|
|
4180
4188
|
onCancelDelete: c
|
|
4181
4189
|
}, null, 8, ["isOpen"]),
|
|
4182
|
-
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? C((d(), u("div",
|
|
4190
|
+
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? C((d(), u("div", Oi, [
|
|
4183
4191
|
s("button", {
|
|
4184
4192
|
onClick: i,
|
|
4185
4193
|
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",
|
|
4186
4194
|
type: "button"
|
|
4187
|
-
},
|
|
4188
|
-
C(s("div",
|
|
4189
|
-
s("ul",
|
|
4190
|
-
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4195
|
+
}, Pi),
|
|
4196
|
+
C(s("div", Ei, [
|
|
4197
|
+
s("ul", ji, [
|
|
4198
|
+
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Ai, [
|
|
4191
4199
|
s("a", {
|
|
4192
4200
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4193
4201
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4194
4202
|
}, [
|
|
4195
|
-
|
|
4203
|
+
Ti,
|
|
4196
4204
|
v(" Edit")
|
|
4197
|
-
], 8,
|
|
4205
|
+
], 8, Ii)
|
|
4198
4206
|
])) : f("", !0),
|
|
4199
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4207
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Mi, [
|
|
4200
4208
|
s("a", {
|
|
4201
4209
|
href: "#",
|
|
4202
4210
|
onClick: A(g, ["prevent"]),
|
|
4203
4211
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4204
4212
|
}, [
|
|
4205
|
-
|
|
4213
|
+
Ni,
|
|
4206
4214
|
v(" Remove")
|
|
4207
4215
|
])
|
|
4208
4216
|
])) : f("", !0)
|
|
@@ -4216,10 +4224,10 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4216
4224
|
], 64);
|
|
4217
4225
|
};
|
|
4218
4226
|
}
|
|
4219
|
-
},
|
|
4227
|
+
}, Vi = {
|
|
4220
4228
|
key: 0,
|
|
4221
4229
|
class: "flex justify-center"
|
|
4222
|
-
},
|
|
4230
|
+
}, Li = /* @__PURE__ */ s("svg", {
|
|
4223
4231
|
class: "w-5 h-5",
|
|
4224
4232
|
"aria-hidden": "true",
|
|
4225
4233
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4227,12 +4235,12 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4227
4235
|
viewBox: "0 0 4 15"
|
|
4228
4236
|
}, [
|
|
4229
4237
|
/* @__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" })
|
|
4230
|
-
], -1),
|
|
4231
|
-
|
|
4232
|
-
],
|
|
4238
|
+
], -1), Bi = [
|
|
4239
|
+
Li
|
|
4240
|
+
], Gi = { class: "absolute 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" }, Fi = {
|
|
4233
4241
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4234
4242
|
"aria-labelledby": "dropdownDividerButton"
|
|
4235
|
-
},
|
|
4243
|
+
}, Ri = { key: 0 }, qi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), pd = {
|
|
4236
4244
|
__name: "DatatableDeleteAction",
|
|
4237
4245
|
props: {
|
|
4238
4246
|
field: {
|
|
@@ -4258,7 +4266,7 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4258
4266
|
},
|
|
4259
4267
|
emits: ["deleteAction"],
|
|
4260
4268
|
setup(e, { emit: t }) {
|
|
4261
|
-
const r =
|
|
4269
|
+
const r = pe(), n = e, a = S(!1), o = S(!1), l = () => {
|
|
4262
4270
|
a.value = !1;
|
|
4263
4271
|
}, i = () => {
|
|
4264
4272
|
a.value = !0;
|
|
@@ -4278,28 +4286,28 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4278
4286
|
});
|
|
4279
4287
|
};
|
|
4280
4288
|
return (x, $) => {
|
|
4281
|
-
const R =
|
|
4289
|
+
const R = ge("click-outside");
|
|
4282
4290
|
return d(), u(y, null, [
|
|
4283
4291
|
G(te, {
|
|
4284
4292
|
isOpen: o.value,
|
|
4285
4293
|
onConfirmDelete: b,
|
|
4286
4294
|
onCancelDelete: c
|
|
4287
4295
|
}, null, 8, ["isOpen"]),
|
|
4288
|
-
e.row && x.can(`delete_${e.xprops.permission}`) ? C((d(), u("div",
|
|
4296
|
+
e.row && x.can(`delete_${e.xprops.permission}`) ? C((d(), u("div", Vi, [
|
|
4289
4297
|
s("button", {
|
|
4290
4298
|
onClick: i,
|
|
4291
4299
|
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",
|
|
4292
4300
|
type: "button"
|
|
4293
|
-
},
|
|
4294
|
-
C(s("div",
|
|
4295
|
-
s("ul",
|
|
4296
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4301
|
+
}, Bi),
|
|
4302
|
+
C(s("div", Gi, [
|
|
4303
|
+
s("ul", Fi, [
|
|
4304
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Ri, [
|
|
4297
4305
|
s("a", {
|
|
4298
4306
|
href: "#",
|
|
4299
4307
|
onClick: A(g, ["prevent"]),
|
|
4300
4308
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4301
4309
|
}, [
|
|
4302
|
-
|
|
4310
|
+
qi,
|
|
4303
4311
|
v(" Remove")
|
|
4304
4312
|
])
|
|
4305
4313
|
])) : f("", !0)
|
|
@@ -4313,7 +4321,7 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4313
4321
|
], 64);
|
|
4314
4322
|
};
|
|
4315
4323
|
}
|
|
4316
|
-
},
|
|
4324
|
+
}, Ui = {
|
|
4317
4325
|
props: ["field", "row"],
|
|
4318
4326
|
computed: {
|
|
4319
4327
|
isArray() {
|
|
@@ -4329,7 +4337,7 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4329
4337
|
mounted() {
|
|
4330
4338
|
console.log("row : ", this.row);
|
|
4331
4339
|
}
|
|
4332
|
-
},
|
|
4340
|
+
}, zi = ["href", "title"], Hi = /* @__PURE__ */ s("svg", {
|
|
4333
4341
|
class: "w-3 h-3 text-white me-2",
|
|
4334
4342
|
"aria-hidden": "true",
|
|
4335
4343
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4346,10 +4354,10 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4346
4354
|
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",
|
|
4347
4355
|
"clip-rule": "evenodd"
|
|
4348
4356
|
})
|
|
4349
|
-
], -1),
|
|
4357
|
+
], -1), Zi = {
|
|
4350
4358
|
key: 1,
|
|
4351
4359
|
class: "m-1 d-inline-block"
|
|
4352
|
-
},
|
|
4360
|
+
}, Ki = ["href", "title"], Wi = /* @__PURE__ */ s("svg", {
|
|
4353
4361
|
class: "w-3 h-3 text-white me-2",
|
|
4354
4362
|
"aria-hidden": "true",
|
|
4355
4363
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4367,7 +4375,7 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
|
|
|
4367
4375
|
"clip-rule": "evenodd"
|
|
4368
4376
|
})
|
|
4369
4377
|
], -1);
|
|
4370
|
-
function
|
|
4378
|
+
function Xi(e, t, r, n, a, o) {
|
|
4371
4379
|
return d(), u("div", null, [
|
|
4372
4380
|
o.isArray ? (d(!0), u(y, { key: 0 }, w(r.row, (l, i) => (d(), u("div", {
|
|
4373
4381
|
key: i,
|
|
@@ -4379,23 +4387,23 @@ function Qi(e, t, r, n, a, o) {
|
|
|
4379
4387
|
target: "_blank",
|
|
4380
4388
|
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"
|
|
4381
4389
|
}, [
|
|
4382
|
-
|
|
4390
|
+
Hi,
|
|
4383
4391
|
v(" Download ")
|
|
4384
|
-
], 8,
|
|
4385
|
-
]))), 128)) : o.isString ? (d(), u("div",
|
|
4392
|
+
], 8, zi)
|
|
4393
|
+
]))), 128)) : o.isString ? (d(), u("div", Zi, [
|
|
4386
4394
|
s("a", {
|
|
4387
4395
|
href: r.row,
|
|
4388
4396
|
title: r.row,
|
|
4389
4397
|
target: "_blank",
|
|
4390
4398
|
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"
|
|
4391
4399
|
}, [
|
|
4392
|
-
|
|
4400
|
+
Wi,
|
|
4393
4401
|
v(" Download ")
|
|
4394
|
-
], 8,
|
|
4402
|
+
], 8, Ki)
|
|
4395
4403
|
])) : f("", !0)
|
|
4396
4404
|
]);
|
|
4397
4405
|
}
|
|
4398
|
-
const
|
|
4406
|
+
const bd = /* @__PURE__ */ k(Ui, [["render", Xi]]), Yi = {
|
|
4399
4407
|
props: ["field", "row"],
|
|
4400
4408
|
computed: {
|
|
4401
4409
|
isArray() {
|
|
@@ -4405,7 +4413,7 @@ const xd = /* @__PURE__ */ k(Zi, [["render", Qi]]), el = {
|
|
|
4405
4413
|
return typeof this.row[this.field] == "object";
|
|
4406
4414
|
}
|
|
4407
4415
|
}
|
|
4408
|
-
},
|
|
4416
|
+
}, Ji = ["href", "title"], Qi = /* @__PURE__ */ s("svg", {
|
|
4409
4417
|
class: "w-3 h-3 text-white me-2",
|
|
4410
4418
|
"aria-hidden": "true",
|
|
4411
4419
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4422,10 +4430,10 @@ const xd = /* @__PURE__ */ k(Zi, [["render", Qi]]), el = {
|
|
|
4422
4430
|
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",
|
|
4423
4431
|
"clip-rule": "evenodd"
|
|
4424
4432
|
})
|
|
4425
|
-
], -1),
|
|
4433
|
+
], -1), el = {
|
|
4426
4434
|
key: 1,
|
|
4427
4435
|
class: "m-1 d-inline-block"
|
|
4428
|
-
},
|
|
4436
|
+
}, tl = ["href", "title"], rl = /* @__PURE__ */ s("svg", {
|
|
4429
4437
|
class: "w-3 h-3 text-white me-2",
|
|
4430
4438
|
"aria-hidden": "true",
|
|
4431
4439
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4443,7 +4451,7 @@ const xd = /* @__PURE__ */ k(Zi, [["render", Qi]]), el = {
|
|
|
4443
4451
|
"clip-rule": "evenodd"
|
|
4444
4452
|
})
|
|
4445
4453
|
], -1);
|
|
4446
|
-
function
|
|
4454
|
+
function sl(e, t, r, n, a, o) {
|
|
4447
4455
|
return d(), u("div", null, [
|
|
4448
4456
|
o.isArray ? (d(!0), u(y, { key: 0 }, w(r.row[r.field], (l) => (d(), u("div", {
|
|
4449
4457
|
key: l.id,
|
|
@@ -4455,34 +4463,34 @@ function al(e, t, r, n, a, o) {
|
|
|
4455
4463
|
target: "_blank",
|
|
4456
4464
|
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"
|
|
4457
4465
|
}, [
|
|
4458
|
-
|
|
4466
|
+
Qi,
|
|
4459
4467
|
v(" Download ")
|
|
4460
|
-
], 8,
|
|
4461
|
-
]))), 128)) : o.isObject ? (d(), u("div",
|
|
4468
|
+
], 8, Ji)
|
|
4469
|
+
]))), 128)) : o.isObject ? (d(), u("div", el, [
|
|
4462
4470
|
s("a", {
|
|
4463
4471
|
href: r.row[r.field].url,
|
|
4464
4472
|
title: r.row[r.field].name,
|
|
4465
4473
|
target: "_blank",
|
|
4466
4474
|
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"
|
|
4467
4475
|
}, [
|
|
4468
|
-
|
|
4476
|
+
rl,
|
|
4469
4477
|
v(" Download ")
|
|
4470
|
-
], 8,
|
|
4478
|
+
], 8, tl)
|
|
4471
4479
|
])) : f("", !0)
|
|
4472
4480
|
]);
|
|
4473
4481
|
}
|
|
4474
|
-
const
|
|
4482
|
+
const yd = /* @__PURE__ */ k(Yi, [["render", sl]]), nl = {
|
|
4475
4483
|
props: ["field", "row", "tdProps"]
|
|
4476
|
-
},
|
|
4477
|
-
function
|
|
4478
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4484
|
+
}, ol = { key: 0 }, al = ["innerHTML"];
|
|
4485
|
+
function il(e, t, r, n, a, o) {
|
|
4486
|
+
return r.row[r.field] ? (d(), u("div", ol, [
|
|
4479
4487
|
s("div", {
|
|
4480
4488
|
class: "w-full",
|
|
4481
4489
|
innerHTML: r.row[r.field]
|
|
4482
|
-
}, null, 8,
|
|
4490
|
+
}, null, 8, al)
|
|
4483
4491
|
])) : f("", !0);
|
|
4484
4492
|
}
|
|
4485
|
-
const
|
|
4493
|
+
const vd = /* @__PURE__ */ k(nl, [["render", il]]), ll = {
|
|
4486
4494
|
props: ["field", "row", "tdProps"],
|
|
4487
4495
|
computed: {
|
|
4488
4496
|
entry() {
|
|
@@ -4496,24 +4504,24 @@ const kd = /* @__PURE__ */ k(il, [["render", ul]]), cl = {
|
|
|
4496
4504
|
return typeof this.row[this.entry.key] == "object";
|
|
4497
4505
|
}
|
|
4498
4506
|
}
|
|
4499
|
-
},
|
|
4507
|
+
}, dl = { class: "flex flex-wrap gap-2" }, ul = {
|
|
4500
4508
|
key: 1,
|
|
4501
4509
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4502
4510
|
};
|
|
4503
|
-
function
|
|
4504
|
-
return d(), u("div",
|
|
4511
|
+
function cl(e, t, r, n, a, o) {
|
|
4512
|
+
return d(), u("div", dl, [
|
|
4505
4513
|
o.isArray ? (d(!0), u(y, { key: 0 }, w(r.row[o.entry.key], (l, i) => (d(), u("span", {
|
|
4506
4514
|
key: i,
|
|
4507
4515
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4508
|
-
}, h(l[o.entry.field]), 1))), 128)) : o.isObject ? (d(), u("span",
|
|
4516
|
+
}, h(l[o.entry.field]), 1))), 128)) : o.isObject ? (d(), u("span", ul, h(r.row[o.entry.key][o.entry.field]), 1)) : f("", !0)
|
|
4509
4517
|
]);
|
|
4510
4518
|
}
|
|
4511
|
-
const
|
|
4519
|
+
const xd = /* @__PURE__ */ k(ll, [["render", cl]]), hl = {
|
|
4512
4520
|
props: ["field", "row", "tdProps"]
|
|
4513
|
-
},
|
|
4514
|
-
function
|
|
4515
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4516
|
-
s("div",
|
|
4521
|
+
}, fl = { key: 0 }, gl = { class: "m-1 d-inline-block" }, ml = ["href", "title"], _l = ["src", "alt", "title"];
|
|
4522
|
+
function pl(e, t, r, n, a, o) {
|
|
4523
|
+
return r.row[r.field] ? (d(), u("div", fl, [
|
|
4524
|
+
s("div", gl, [
|
|
4517
4525
|
s("a", {
|
|
4518
4526
|
href: r.row[r.field].url,
|
|
4519
4527
|
title: r.row[r.field].name,
|
|
@@ -4523,37 +4531,37 @@ function vl(e, t, r, n, a, o) {
|
|
|
4523
4531
|
src: r.row[r.field].thumbnail,
|
|
4524
4532
|
alt: r.row[r.field].name,
|
|
4525
4533
|
title: r.row[r.field].name
|
|
4526
|
-
}, null, 8,
|
|
4527
|
-
], 8,
|
|
4534
|
+
}, null, 8, _l)
|
|
4535
|
+
], 8, ml)
|
|
4528
4536
|
])
|
|
4529
4537
|
])) : f("", !0);
|
|
4530
4538
|
}
|
|
4531
|
-
const
|
|
4539
|
+
const wd = /* @__PURE__ */ k(hl, [["render", pl], ["__scopeId", "data-v-3a28c02c"]]), bl = {
|
|
4532
4540
|
props: ["field", "row", "tdProps"],
|
|
4533
4541
|
computed: {
|
|
4534
4542
|
isActive() {
|
|
4535
4543
|
return this.row[this.field] === 1;
|
|
4536
4544
|
}
|
|
4537
4545
|
}
|
|
4538
|
-
},
|
|
4546
|
+
}, yl = { class: "flex flex-wrap gap-2" }, vl = {
|
|
4539
4547
|
key: 0,
|
|
4540
4548
|
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"
|
|
4541
|
-
},
|
|
4549
|
+
}, xl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), wl = {
|
|
4542
4550
|
key: 1,
|
|
4543
4551
|
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"
|
|
4544
|
-
},
|
|
4545
|
-
function
|
|
4546
|
-
return d(), u("div",
|
|
4547
|
-
o.isActive ? (d(), u("span",
|
|
4548
|
-
|
|
4552
|
+
}, kl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
4553
|
+
function $l(e, t, r, n, a, o) {
|
|
4554
|
+
return d(), u("div", yl, [
|
|
4555
|
+
o.isActive ? (d(), u("span", vl, [
|
|
4556
|
+
xl,
|
|
4549
4557
|
v(" Active ")
|
|
4550
|
-
])) : o.isActive ? f("", !0) : (d(), u("span",
|
|
4551
|
-
|
|
4558
|
+
])) : o.isActive ? f("", !0) : (d(), u("span", wl, [
|
|
4559
|
+
kl,
|
|
4552
4560
|
v(" Inactive ")
|
|
4553
4561
|
]))
|
|
4554
4562
|
]);
|
|
4555
4563
|
}
|
|
4556
|
-
const
|
|
4564
|
+
const kd = /* @__PURE__ */ k(bl, [["render", $l]]), Cl = {
|
|
4557
4565
|
props: ["field", "row", "tdProps"],
|
|
4558
4566
|
computed: {
|
|
4559
4567
|
hasLabelColor(e) {
|
|
@@ -4561,40 +4569,40 @@ const Sd = /* @__PURE__ */ k(xl, [["render", Ol]]), Dl = {
|
|
|
4561
4569
|
return t ? t.class : "";
|
|
4562
4570
|
}
|
|
4563
4571
|
}
|
|
4564
|
-
},
|
|
4572
|
+
}, Sl = { class: "flex flex-wrap gap-2" }, Ol = {
|
|
4565
4573
|
key: 0,
|
|
4566
4574
|
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"
|
|
4567
|
-
},
|
|
4575
|
+
}, Dl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Pl = {
|
|
4568
4576
|
key: 1,
|
|
4569
4577
|
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"
|
|
4570
|
-
},
|
|
4578
|
+
}, El = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), jl = {
|
|
4571
4579
|
key: 2,
|
|
4572
4580
|
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"
|
|
4573
|
-
},
|
|
4581
|
+
}, Al = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), Il = {
|
|
4574
4582
|
key: 3,
|
|
4575
4583
|
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"
|
|
4576
|
-
},
|
|
4577
|
-
function
|
|
4578
|
-
return d(), u("div",
|
|
4579
|
-
o.hasLabelColor == "green" ? (d(), u("span",
|
|
4580
|
-
|
|
4584
|
+
}, Tl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1);
|
|
4585
|
+
function Ml(e, t, r, n, a, o) {
|
|
4586
|
+
return d(), u("div", Sl, [
|
|
4587
|
+
o.hasLabelColor == "green" ? (d(), u("span", Ol, [
|
|
4588
|
+
Dl,
|
|
4581
4589
|
v(" " + h(this.row[this.field]), 1)
|
|
4582
4590
|
])) : f("", !0),
|
|
4583
|
-
o.hasLabelColor == "red" ? (d(), u("span",
|
|
4584
|
-
|
|
4591
|
+
o.hasLabelColor == "red" ? (d(), u("span", Pl, [
|
|
4592
|
+
El,
|
|
4585
4593
|
v(" " + h(this.row[this.field]), 1)
|
|
4586
4594
|
])) : f("", !0),
|
|
4587
|
-
o.hasLabelColor == "yellow" ? (d(), u("span",
|
|
4588
|
-
|
|
4595
|
+
o.hasLabelColor == "yellow" ? (d(), u("span", jl, [
|
|
4596
|
+
Al,
|
|
4589
4597
|
v(" " + h(this.row[this.field]), 1)
|
|
4590
4598
|
])) : f("", !0),
|
|
4591
|
-
o.hasLabelColor == "default" ? (d(), u("span",
|
|
4592
|
-
|
|
4599
|
+
o.hasLabelColor == "default" ? (d(), u("span", Il, [
|
|
4600
|
+
Tl,
|
|
4593
4601
|
v(" " + h(this.row[this.field]), 1)
|
|
4594
4602
|
])) : f("", !0)
|
|
4595
4603
|
]);
|
|
4596
4604
|
}
|
|
4597
|
-
const
|
|
4605
|
+
const $d = /* @__PURE__ */ k(Cl, [["render", Ml]]), Nl = {
|
|
4598
4606
|
props: ["isOpen", "title", "button_text"],
|
|
4599
4607
|
methods: {
|
|
4600
4608
|
confirmAction() {
|
|
@@ -4604,35 +4612,35 @@ const Od = /* @__PURE__ */ k(Dl, [["render", Ll]]), Bl = {
|
|
|
4604
4612
|
this.$emit("cancel-action");
|
|
4605
4613
|
}
|
|
4606
4614
|
}
|
|
4607
|
-
},
|
|
4615
|
+
}, Vl = {
|
|
4608
4616
|
key: 0,
|
|
4609
4617
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4610
4618
|
role: "dialog",
|
|
4611
4619
|
"aria-modal": "true"
|
|
4612
|
-
},
|
|
4620
|
+
}, Ll = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Bl = /* @__PURE__ */ s("div", {
|
|
4613
4621
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4614
4622
|
"aria-hidden": "true"
|
|
4615
|
-
}, null, -1),
|
|
4623
|
+
}, null, -1), Gl = /* @__PURE__ */ s("span", {
|
|
4616
4624
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4617
4625
|
"aria-hidden": "true"
|
|
4618
|
-
}, "", -1),
|
|
4619
|
-
function
|
|
4620
|
-
return r.isOpen ? (d(), u("div",
|
|
4621
|
-
s("div",
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
s("div",
|
|
4625
|
-
s("div",
|
|
4626
|
-
s("div",
|
|
4627
|
-
s("div",
|
|
4628
|
-
s("h3",
|
|
4629
|
-
s("div",
|
|
4626
|
+
}, "", -1), Fl = { 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" }, Rl = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, ql = { class: "sm:flex sm:items-start" }, Ul = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, zl = { class: "text-lg font-medium leading-6 text-gray-900" }, Hl = { class: "mt-2" }, Zl = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4627
|
+
function Kl(e, t, r, n, a, o) {
|
|
4628
|
+
return r.isOpen ? (d(), u("div", Vl, [
|
|
4629
|
+
s("div", Ll, [
|
|
4630
|
+
Bl,
|
|
4631
|
+
Gl,
|
|
4632
|
+
s("div", Fl, [
|
|
4633
|
+
s("div", Rl, [
|
|
4634
|
+
s("div", ql, [
|
|
4635
|
+
s("div", Ul, [
|
|
4636
|
+
s("h3", zl, h(r.title), 1),
|
|
4637
|
+
s("div", Hl, [
|
|
4630
4638
|
P(e.$slots, "default")
|
|
4631
4639
|
])
|
|
4632
4640
|
])
|
|
4633
4641
|
])
|
|
4634
4642
|
]),
|
|
4635
|
-
s("div",
|
|
4643
|
+
s("div", Zl, [
|
|
4636
4644
|
s("button", {
|
|
4637
4645
|
onClick: t[0] || (t[0] = (...l) => o.confirmAction && o.confirmAction(...l)),
|
|
4638
4646
|
type: "button",
|
|
@@ -4648,39 +4656,39 @@ function Yl(e, t, r, n, a, o) {
|
|
|
4648
4656
|
])
|
|
4649
4657
|
])) : f("", !0);
|
|
4650
4658
|
}
|
|
4651
|
-
const
|
|
4659
|
+
const Cd = /* @__PURE__ */ k(Nl, [["render", Kl]]);
|
|
4652
4660
|
export {
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4661
|
+
td as GlButton,
|
|
4662
|
+
Ql as GlCard,
|
|
4663
|
+
Cd as GlConfirmationModal,
|
|
4664
|
+
gd as GlDataTable,
|
|
4665
|
+
fd as GlDataTableServerSide,
|
|
4666
|
+
_d as GlDatatableAction,
|
|
4667
|
+
pd as GlDatatableDeleteAction,
|
|
4668
|
+
bd as GlDatatableFileDownload,
|
|
4669
|
+
yd as GlDatatableFiles,
|
|
4670
|
+
vd as GlDatatableHtml,
|
|
4671
|
+
xd as GlDatatableList,
|
|
4672
|
+
wd as GlDatatablePicture,
|
|
4673
|
+
kd as GlDatatableStatus,
|
|
4674
|
+
$d as GlDatatableStatusGeneral,
|
|
4667
4675
|
te as GlDeleteConfirmationModal,
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4676
|
+
cd as GlDropdown,
|
|
4677
|
+
Xl as GlFilesUpload,
|
|
4678
|
+
Jl as GlLanguageSelector,
|
|
4679
|
+
dd as GlModal,
|
|
4680
|
+
ld as GlMultiItemSlide,
|
|
4681
|
+
ed as GlMultiSelectDropdown,
|
|
4682
|
+
Yl as GlNotify,
|
|
4683
|
+
id as GlTab,
|
|
4684
|
+
ad as GlTabsWrapper,
|
|
4685
|
+
ta as GlTailwindPagination,
|
|
4686
|
+
od as GlTextInput,
|
|
4687
|
+
nd as GlTextTranslate,
|
|
4688
|
+
hd as GlTextarea,
|
|
4689
|
+
rd as GlTextareaTranslate,
|
|
4690
|
+
sd as GlTinymceTranslate,
|
|
4683
4691
|
ue as GlToast,
|
|
4684
|
-
|
|
4685
|
-
|
|
4692
|
+
md as GlToastList,
|
|
4693
|
+
ud as GlToggleBox
|
|
4686
4694
|
};
|