golden-logic-ui 1.0.41 → 1.0.42
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 +616 -616
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as g, createStaticVNode as He, inject as ve, watch as W, effectScope as Ze, computed as z, reactive as xe, resolveComponent as X, Fragment as v, createVNode as H, normalizeClass as b, toDisplayString as h, withModifiers as N, withDirectives as P, vModelText as V, renderList as $, normalizeStyle as Ke, renderSlot as A, createTextVNode as w, vShow as B, createBlock as Z, resolveDynamicComponent as se, mergeProps as K, withCtx as Y, ref as O, onMounted as G, vModelDynamic as We, provide as Xe, pushScopeId as Ye, popScopeId as Je, vModelCheckbox as Qe, toHandlers as te, TransitionGroup as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as g, createStaticVNode as He, inject as ve, watch as W, effectScope as Ze, computed as z, reactive as xe, resolveComponent as X, Fragment as v, createVNode as H, normalizeClass as b, toDisplayString as h, withModifiers as N, withDirectives as P, vModelText as V, renderList as $, normalizeStyle as Ke, renderSlot as A, createTextVNode as w, vShow as B, createBlock as Z, resolveDynamicComponent as se, mergeProps as K, withCtx as Y, ref as O, onMounted as G, vModelDynamic as We, provide as Xe, pushScopeId as Ye, popScopeId as Je, vModelCheckbox as Qe, nextTick as et, toHandlers as te, TransitionGroup as tt, unref as rt, resolveDirective as we, markRaw as st } from "vue";
|
|
2
2
|
const D = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [n, a] of t)
|
|
5
5
|
r[n] = a;
|
|
6
6
|
return r;
|
|
7
|
-
},
|
|
7
|
+
}, nt = {
|
|
8
8
|
props: ["isOpen"],
|
|
9
9
|
methods: {
|
|
10
10
|
confirmDeletion() {
|
|
@@ -14,27 +14,27 @@ const D = (e, t) => {
|
|
|
14
14
|
this.$emit("cancel-delete");
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
},
|
|
17
|
+
}, ot = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
20
20
|
"aria-labelledby": "modal-title",
|
|
21
21
|
role: "dialog",
|
|
22
22
|
"aria-modal": "true"
|
|
23
|
-
},
|
|
23
|
+
}, at = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, it = /* @__PURE__ */ s("div", {
|
|
24
24
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
25
25
|
"aria-hidden": "true"
|
|
26
|
-
}, null, -1),
|
|
26
|
+
}, null, -1), lt = /* @__PURE__ */ s("span", {
|
|
27
27
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
28
28
|
"aria-hidden": "true"
|
|
29
|
-
}, "", -1),
|
|
30
|
-
function
|
|
31
|
-
return r.isOpen ? (d(), u("div",
|
|
32
|
-
s("div",
|
|
33
|
-
at,
|
|
29
|
+
}, "", -1), dt = { 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" }, ut = /* @__PURE__ */ He('<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), ct = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
30
|
+
function ft(e, t, r, n, a, o) {
|
|
31
|
+
return r.isOpen ? (d(), u("div", ot, [
|
|
32
|
+
s("div", at, [
|
|
34
33
|
it,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
lt,
|
|
35
|
+
s("div", dt, [
|
|
36
|
+
ut,
|
|
37
|
+
s("div", ct, [
|
|
38
38
|
s("button", {
|
|
39
39
|
onClick: t[0] || (t[0] = (...l) => o.confirmDeletion && o.confirmDeletion(...l)),
|
|
40
40
|
type: "button",
|
|
@@ -50,23 +50,23 @@ function ct(e, t, r, n, a, o) {
|
|
|
50
50
|
])
|
|
51
51
|
])) : g("", !0);
|
|
52
52
|
}
|
|
53
|
-
const ie = /* @__PURE__ */ D(
|
|
54
|
-
function
|
|
53
|
+
const ie = /* @__PURE__ */ D(nt, [["render", ft]]);
|
|
54
|
+
function ht() {
|
|
55
55
|
return ke().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
56
56
|
}
|
|
57
57
|
function ke() {
|
|
58
58
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const gt = typeof Proxy == "function", mt = "devtools-plugin:setup", pt = "plugin:settings:set";
|
|
61
61
|
let U, ne;
|
|
62
|
-
function
|
|
62
|
+
function _t() {
|
|
63
63
|
var e;
|
|
64
64
|
return U !== void 0 || (typeof window < "u" && window.performance ? (U = !0, ne = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (U = !0, ne = globalThis.perf_hooks.performance) : U = !1), U;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
return
|
|
66
|
+
function bt() {
|
|
67
|
+
return _t() ? ne.now() : Date.now();
|
|
68
68
|
}
|
|
69
|
-
class
|
|
69
|
+
class yt {
|
|
70
70
|
constructor(t, r) {
|
|
71
71
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = r;
|
|
72
72
|
const n = {};
|
|
@@ -94,9 +94,9 @@ class bt {
|
|
|
94
94
|
o = l;
|
|
95
95
|
},
|
|
96
96
|
now() {
|
|
97
|
-
return
|
|
97
|
+
return bt();
|
|
98
98
|
}
|
|
99
|
-
}, r && r.on(
|
|
99
|
+
}, r && r.on(pt, (l, i) => {
|
|
100
100
|
l === this.plugin.id && this.fallbacks.setSettings(i);
|
|
101
101
|
}), this.proxiedOn = new Proxy({}, {
|
|
102
102
|
get: (l, i) => this.target ? this.target.on[i] : (...c) => {
|
|
@@ -128,12 +128,12 @@ class bt {
|
|
|
128
128
|
r.resolve(await this.target[r.method](...r.args));
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
const r = e, n = ke(), a =
|
|
131
|
+
function vt(e, t) {
|
|
132
|
+
const r = e, n = ke(), a = ht(), o = gt && r.enableEarlyProxy;
|
|
133
133
|
if (a && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !o))
|
|
134
|
-
a.emit(
|
|
134
|
+
a.emit(mt, e, t);
|
|
135
135
|
else {
|
|
136
|
-
const l = o ? new
|
|
136
|
+
const l = o ? new yt(r, a) : null;
|
|
137
137
|
(n.__VUE_DEVTOOLS_PLUGINS__ = n.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
138
138
|
pluginDescriptor: r,
|
|
139
139
|
setupFn: t,
|
|
@@ -158,14 +158,14 @@ function F(e, t) {
|
|
|
158
158
|
function Se(e) {
|
|
159
159
|
return e !== null && typeof e == "object";
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function xt(e) {
|
|
162
162
|
return e && typeof e.then == "function";
|
|
163
163
|
}
|
|
164
164
|
function I(e, t) {
|
|
165
165
|
if (!e)
|
|
166
166
|
throw new Error("[vuex] " + t);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function wt(e, t) {
|
|
169
169
|
return function() {
|
|
170
170
|
return e(t);
|
|
171
171
|
};
|
|
@@ -187,7 +187,7 @@ function le(e, t, r) {
|
|
|
187
187
|
var o = e._wrappedGetters, l = {}, i = {}, c = Ze(!0);
|
|
188
188
|
c.run(function() {
|
|
189
189
|
F(o, function(f, m) {
|
|
190
|
-
l[m] =
|
|
190
|
+
l[m] = wt(f, e), i[m] = z(function() {
|
|
191
191
|
return l[m]();
|
|
192
192
|
}), Object.defineProperty(e.getters, m, {
|
|
193
193
|
get: function() {
|
|
@@ -199,7 +199,7 @@ function le(e, t, r) {
|
|
|
199
199
|
});
|
|
200
200
|
}), e._state = xe({
|
|
201
201
|
data: t
|
|
202
|
-
}), e._scope = c, e.strict &&
|
|
202
|
+
}), e._scope = c, e.strict && Ot(e), n && r && e._withCommit(function() {
|
|
203
203
|
n.data = null;
|
|
204
204
|
}), a && a.stop();
|
|
205
205
|
}
|
|
@@ -213,21 +213,21 @@ function Q(e, t, r, n, a) {
|
|
|
213
213
|
), i[c] = n.state;
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
var f = n.context =
|
|
216
|
+
var f = n.context = kt(e, l, r);
|
|
217
217
|
n.forEachMutation(function(m, y) {
|
|
218
218
|
var x = l + y;
|
|
219
|
-
|
|
219
|
+
$t(e, x, m, f);
|
|
220
220
|
}), n.forEachAction(function(m, y) {
|
|
221
221
|
var x = m.root ? y : l + y, C = m.handler || m;
|
|
222
|
-
|
|
222
|
+
Ct(e, x, C, f);
|
|
223
223
|
}), n.forEachGetter(function(m, y) {
|
|
224
224
|
var x = l + y;
|
|
225
|
-
|
|
225
|
+
St(e, x, m, f);
|
|
226
226
|
}), n.forEachChild(function(m, y) {
|
|
227
227
|
Q(e, t, r.concat(y), m, a);
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function kt(e, t, r) {
|
|
231
231
|
var n = t === "", a = {
|
|
232
232
|
dispatch: n ? e.dispatch : function(o, l, i) {
|
|
233
233
|
var c = J(o, l, i), f = c.payload, m = c.options, y = c.type;
|
|
@@ -278,13 +278,13 @@ function Pe(e, t) {
|
|
|
278
278
|
}
|
|
279
279
|
return e._makeLocalGettersCache[t];
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function $t(e, t, r, n) {
|
|
282
282
|
var a = e._mutations[t] || (e._mutations[t] = []);
|
|
283
283
|
a.push(function(l) {
|
|
284
284
|
r.call(e, n.state, l);
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Ct(e, t, r, n) {
|
|
288
288
|
var a = e._actions[t] || (e._actions[t] = []);
|
|
289
289
|
a.push(function(l) {
|
|
290
290
|
var i = r.call(e, {
|
|
@@ -295,12 +295,12 @@ function $t(e, t, r, n) {
|
|
|
295
295
|
rootGetters: e.getters,
|
|
296
296
|
rootState: e.state
|
|
297
297
|
}, l);
|
|
298
|
-
return
|
|
298
|
+
return xt(i) || (i = Promise.resolve(i)), e._devtoolHook ? i.catch(function(c) {
|
|
299
299
|
throw e._devtoolHook.emit("vuex:error", c), c;
|
|
300
300
|
}) : i;
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function St(e, t, r, n) {
|
|
304
304
|
if (e._wrappedGetters[t]) {
|
|
305
305
|
process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate getter key: " + t);
|
|
306
306
|
return;
|
|
@@ -318,7 +318,7 @@ function Ct(e, t, r, n) {
|
|
|
318
318
|
);
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Ot(e) {
|
|
322
322
|
W(function() {
|
|
323
323
|
return e._state.data;
|
|
324
324
|
}, function() {
|
|
@@ -333,9 +333,9 @@ function de(e, t) {
|
|
|
333
333
|
function J(e, t, r) {
|
|
334
334
|
return Se(e) && e.type && (r = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && I(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: r };
|
|
335
335
|
}
|
|
336
|
-
var
|
|
337
|
-
function
|
|
338
|
-
|
|
336
|
+
var Dt = "vuex bindings", me = "vuex:mutations", re = "vuex:actions", q = "vuex", Pt = 0;
|
|
337
|
+
function Et(e, t) {
|
|
338
|
+
vt(
|
|
339
339
|
{
|
|
340
340
|
id: "org.vuejs.vuex",
|
|
341
341
|
app: e,
|
|
@@ -343,7 +343,7 @@ function Pt(e, t) {
|
|
|
343
343
|
homepage: "https://next.vuex.vuejs.org/",
|
|
344
344
|
logo: "https://vuejs.org/images/icons/favicon-96x96.png",
|
|
345
345
|
packageName: "vuex",
|
|
346
|
-
componentStateTypes: [
|
|
346
|
+
componentStateTypes: [Dt]
|
|
347
347
|
},
|
|
348
348
|
function(r) {
|
|
349
349
|
r.addTimelineLayer({
|
|
@@ -371,8 +371,8 @@ function Pt(e, t) {
|
|
|
371
371
|
}), r.on.getInspectorState(function(n) {
|
|
372
372
|
if (n.app === e && n.inspectorId === q) {
|
|
373
373
|
var a = n.nodeId;
|
|
374
|
-
Pe(t, a), n.state =
|
|
375
|
-
|
|
374
|
+
Pe(t, a), n.state = It(
|
|
375
|
+
Nt(t._modules, a),
|
|
376
376
|
a === "root" ? t.getters : t._makeLocalGettersCache,
|
|
377
377
|
a
|
|
378
378
|
);
|
|
@@ -397,7 +397,7 @@ function Pt(e, t) {
|
|
|
397
397
|
}), t.subscribeAction({
|
|
398
398
|
before: function(n, a) {
|
|
399
399
|
var o = {};
|
|
400
|
-
n.payload && (o.payload = n.payload), n._id =
|
|
400
|
+
n.payload && (o.payload = n.payload), n._id = Pt++, n._time = Date.now(), o.state = a, r.addTimelineEvent({
|
|
401
401
|
layerId: re,
|
|
402
402
|
event: {
|
|
403
403
|
time: n._time,
|
|
@@ -432,10 +432,10 @@ function Pt(e, t) {
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
-
var pe = 8702998,
|
|
435
|
+
var pe = 8702998, jt = 6710886, At = 16777215, Ee = {
|
|
436
436
|
label: "namespaced",
|
|
437
|
-
textColor:
|
|
438
|
-
backgroundColor:
|
|
437
|
+
textColor: At,
|
|
438
|
+
backgroundColor: jt
|
|
439
439
|
};
|
|
440
440
|
function je(e) {
|
|
441
441
|
return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
|
|
@@ -467,7 +467,7 @@ function Ie(e, t, r, n) {
|
|
|
467
467
|
Ie(e, t._children[a], r, n + a + "/");
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function It(e, t, r) {
|
|
471
471
|
t = r === "root" ? t : t[r];
|
|
472
472
|
var n = Object.keys(t), a = {
|
|
473
473
|
state: Object.keys(e.state).map(function(l) {
|
|
@@ -479,7 +479,7 @@ function At(e, t, r) {
|
|
|
479
479
|
})
|
|
480
480
|
};
|
|
481
481
|
if (n.length) {
|
|
482
|
-
var o =
|
|
482
|
+
var o = Tt(t);
|
|
483
483
|
a.getters = Object.keys(o).map(function(l) {
|
|
484
484
|
return {
|
|
485
485
|
key: l.endsWith("/") ? je(l) : l,
|
|
@@ -492,7 +492,7 @@ function At(e, t, r) {
|
|
|
492
492
|
}
|
|
493
493
|
return a;
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function Tt(e) {
|
|
496
496
|
var t = {};
|
|
497
497
|
return Object.keys(e).forEach(function(r) {
|
|
498
498
|
var n = r.split("/");
|
|
@@ -516,7 +516,7 @@ function It(e) {
|
|
|
516
516
|
});
|
|
517
517
|
}), t;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Nt(e, t) {
|
|
520
520
|
var r = t.split("/").filter(function(n) {
|
|
521
521
|
return n;
|
|
522
522
|
});
|
|
@@ -639,7 +639,7 @@ var _e = {
|
|
|
639
639
|
return typeof e == "function";
|
|
640
640
|
},
|
|
641
641
|
expected: "function"
|
|
642
|
-
},
|
|
642
|
+
}, Mt = {
|
|
643
643
|
assert: function(e) {
|
|
644
644
|
return typeof e == "function" || typeof e == "object" && typeof e.handler == "function";
|
|
645
645
|
},
|
|
@@ -647,7 +647,7 @@ var _e = {
|
|
|
647
647
|
}, be = {
|
|
648
648
|
getters: _e,
|
|
649
649
|
mutations: _e,
|
|
650
|
-
actions:
|
|
650
|
+
actions: Mt
|
|
651
651
|
};
|
|
652
652
|
function Me(e, t) {
|
|
653
653
|
Object.keys(be).forEach(function(r) {
|
|
@@ -656,13 +656,13 @@ function Me(e, t) {
|
|
|
656
656
|
F(t[r], function(a, o) {
|
|
657
657
|
I(
|
|
658
658
|
n.assert(a),
|
|
659
|
-
|
|
659
|
+
Vt(e, r, o, a, n.expected)
|
|
660
660
|
);
|
|
661
661
|
});
|
|
662
662
|
}
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function Vt(e, t, r, n, a) {
|
|
666
666
|
var o = t + " should be " + a + ' but "' + t + "." + r + '"';
|
|
667
667
|
return e.length > 0 && (o += ' in module "' + e.join(".") + '"'), o += " is " + JSON.stringify(n) + ".", o;
|
|
668
668
|
}
|
|
@@ -689,7 +689,7 @@ var j = function e(t) {
|
|
|
689
689
|
j.prototype.install = function(t, r) {
|
|
690
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
|
-
n &&
|
|
692
|
+
n && Et(t, this);
|
|
693
693
|
};
|
|
694
694
|
ue.state.get = function() {
|
|
695
695
|
return this._state.data;
|
|
@@ -797,7 +797,7 @@ j.prototype._withCommit = function(t) {
|
|
|
797
797
|
this._committing = !0, t(), this._committing = r;
|
|
798
798
|
};
|
|
799
799
|
Object.defineProperties(j.prototype, ue);
|
|
800
|
-
var
|
|
800
|
+
var Lt = Le(function(e, t) {
|
|
801
801
|
var r = {};
|
|
802
802
|
return process.env.NODE_ENV !== "production" && !ce(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Ve(t).forEach(function(n) {
|
|
803
803
|
var a = n.key, o = n.val;
|
|
@@ -812,7 +812,7 @@ var Vt = Le(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
|
-
}),
|
|
815
|
+
}), Bt = Le(function(e, t) {
|
|
816
816
|
var r = {};
|
|
817
817
|
return process.env.NODE_ENV !== "production" && !ce(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Ve(t).forEach(function(n) {
|
|
818
818
|
var a = n.key, o = n.val;
|
|
@@ -849,7 +849,7 @@ function Be(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
|
}
|
|
852
|
-
const
|
|
852
|
+
const Gt = {
|
|
853
853
|
components: {
|
|
854
854
|
DeleteConfirmationModal: ie
|
|
855
855
|
},
|
|
@@ -999,7 +999,7 @@ const Bt = {
|
|
|
999
999
|
mounted() {
|
|
1000
1000
|
console.log(this.model_value), this.model_value ? Array.isArray(this.model_value) ? this.uploadFileList = this.model_value : this.uploadFileList = [this.model_value] : this.uploadFileList = [], this.error_message_data = this.error_message;
|
|
1001
1001
|
}
|
|
1002
|
-
},
|
|
1002
|
+
}, Ft = { class: "flex flex-col items-center justify-center pt-5 pb-6" }, Rt = ["multiple"], Ut = ["name"], qt = /* @__PURE__ */ s("svg", {
|
|
1003
1003
|
class: "w-8 h-8 mb-4 text-gray-500 dark:text-gray-400",
|
|
1004
1004
|
"aria-hidden": "true",
|
|
1005
1005
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1013,19 +1013,19 @@ const Bt = {
|
|
|
1013
1013
|
"stroke-width": "2",
|
|
1014
1014
|
d: "M13 13h3a3 3 0 0 0 0-6h-.025A5.56 5.56 0 0 0 16 6.5 5.5 5.5 0 0 0 5.207 5.021C5.137 5.017 5.071 5 5 5a4 4 0 0 0 0 8h2.167M10 15V6m0 0L8 8m2-2 2 2"
|
|
1015
1015
|
})
|
|
1016
|
-
], -1),
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
],
|
|
1020
|
-
|
|
1021
|
-
],
|
|
1016
|
+
], -1), zt = /* @__PURE__ */ s("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, " Drag & drop files or browse ", -1), Ht = [
|
|
1017
|
+
qt,
|
|
1018
|
+
zt
|
|
1019
|
+
], Zt = { key: 1 }, Kt = /* @__PURE__ */ s("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, "Drop files here", -1), Wt = [
|
|
1020
|
+
Kt
|
|
1021
|
+
], Xt = { class: "mt-2 gl-span-form-error" }, Yt = { class: "block mt-2 mb-3 text-sm font-normal leading-5 text-gray-500" }, Jt = {
|
|
1022
1022
|
key: 0,
|
|
1023
1023
|
class: ""
|
|
1024
|
-
},
|
|
1024
|
+
}, Qt = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, er = /* @__PURE__ */ s("i", { class: "text-3xl fas fa-file-alt" }, null, -1), tr = { class: "w-full ml-3" }, rr = { class: "flex items-center justify-between mb-1" }, sr = { class: "text-xs text-black dark:text-white" }, nr = { class: "text-xs text-black dark:text-white" }, or = { class: "w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800" }, ar = { class: "overflow-x-scroll max-h-56" }, ir = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, lr = { class: "flex items-center" }, dr = /* @__PURE__ */ s("i", {
|
|
1025
1025
|
class: "text-3xl fas fa-file-alt",
|
|
1026
1026
|
"aria-hidden": "true"
|
|
1027
|
-
}, null, -1),
|
|
1028
|
-
function
|
|
1027
|
+
}, null, -1), ur = { class: "flex flex-col ml-3" }, cr = { class: "text-xs" }, fr = { class: "text-xs" }, hr = { class: "flex gap-2" }, gr = ["href"], mr = ["onClick"];
|
|
1028
|
+
function pr(e, t, r, n, a, o) {
|
|
1029
1029
|
const l = X("DeleteConfirmationModal");
|
|
1030
1030
|
return d(), u(v, null, [
|
|
1031
1031
|
H(l, {
|
|
@@ -1052,39 +1052,39 @@ function mr(e, t, r, n, a, o) {
|
|
|
1052
1052
|
onDrop: t[5] || (t[5] = N((...i) => o.onDrop && o.onDrop(...i), ["prevent"])),
|
|
1053
1053
|
class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
|
|
1054
1054
|
}, [
|
|
1055
|
-
s("div",
|
|
1055
|
+
s("div", Ft, [
|
|
1056
1056
|
s("input", {
|
|
1057
1057
|
type: "file",
|
|
1058
1058
|
ref: "file_input" + r.field_name,
|
|
1059
1059
|
hidden: "",
|
|
1060
1060
|
multiple: r.has_multiple_file,
|
|
1061
1061
|
onChange: t[0] || (t[0] = (...i) => o.uploadFiles && o.uploadFiles(...i))
|
|
1062
|
-
}, null, 40,
|
|
1062
|
+
}, null, 40, Rt),
|
|
1063
1063
|
P(s("input", {
|
|
1064
1064
|
type: "hidden",
|
|
1065
1065
|
name: r.field_name,
|
|
1066
1066
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => o.uploadedFileIds = i)
|
|
1067
|
-
}, null, 8,
|
|
1067
|
+
}, null, 8, Ut), [
|
|
1068
1068
|
[V, o.uploadedFileIds]
|
|
1069
1069
|
]),
|
|
1070
|
-
a.isDragging ? (d(), u("div",
|
|
1070
|
+
a.isDragging ? (d(), u("div", Zt, Wt)) : (d(), u("div", {
|
|
1071
1071
|
key: 0,
|
|
1072
1072
|
class: "flex flex-col items-center justify-center",
|
|
1073
1073
|
onClick: t[2] || (t[2] = (i) => e.$refs["file_input" + this.field_name].click())
|
|
1074
|
-
},
|
|
1074
|
+
}, Ht))
|
|
1075
1075
|
])
|
|
1076
1076
|
], 32),
|
|
1077
|
-
s("span",
|
|
1078
|
-
s("small",
|
|
1079
|
-
a.files.length > 0 ? (d(), u("section",
|
|
1080
|
-
(d(!0), u(v, null, $(a.files, (i, c) => (d(), u("li",
|
|
1081
|
-
|
|
1082
|
-
s("div",
|
|
1083
|
-
s("div",
|
|
1084
|
-
s("span",
|
|
1085
|
-
s("span",
|
|
1077
|
+
s("span", Xt, h(a.error_message_data), 1),
|
|
1078
|
+
s("small", Yt, h(r.description), 1),
|
|
1079
|
+
a.files.length > 0 ? (d(), u("section", Jt, [
|
|
1080
|
+
(d(!0), u(v, null, $(a.files, (i, c) => (d(), u("li", Qt, [
|
|
1081
|
+
er,
|
|
1082
|
+
s("div", tr, [
|
|
1083
|
+
s("div", rr, [
|
|
1084
|
+
s("span", sr, h(o.getFileName(i.file_name)), 1),
|
|
1085
|
+
s("span", nr, h(i.loading), 1)
|
|
1086
1086
|
]),
|
|
1087
|
-
s("div",
|
|
1087
|
+
s("div", or, [
|
|
1088
1088
|
s("div", {
|
|
1089
1089
|
class: "h-full bg-gray-500 rounded-full dark:bg-gray-400",
|
|
1090
1090
|
style: Ke({ width: i.loading + "%" })
|
|
@@ -1093,37 +1093,37 @@ function mr(e, t, r, n, a, o) {
|
|
|
1093
1093
|
])
|
|
1094
1094
|
]))), 256))
|
|
1095
1095
|
])) : g("", !0),
|
|
1096
|
-
s("section",
|
|
1097
|
-
(d(!0), u(v, null, $(a.uploadFileList, (i, c) => (d(), u("li",
|
|
1098
|
-
s("div",
|
|
1099
|
-
|
|
1100
|
-
s("div",
|
|
1101
|
-
s("span",
|
|
1102
|
-
s("span",
|
|
1096
|
+
s("section", ar, [
|
|
1097
|
+
(d(!0), u(v, null, $(a.uploadFileList, (i, c) => (d(), u("li", ir, [
|
|
1098
|
+
s("div", lr, [
|
|
1099
|
+
dr,
|
|
1100
|
+
s("div", ur, [
|
|
1101
|
+
s("span", cr, h(o.getFileName(i.file_name)), 1),
|
|
1102
|
+
s("span", fr, h(o.formatFileSize(i.size)), 1)
|
|
1103
1103
|
])
|
|
1104
1104
|
]),
|
|
1105
|
-
s("div",
|
|
1105
|
+
s("div", hr, [
|
|
1106
1106
|
s("a", {
|
|
1107
1107
|
href: i.url,
|
|
1108
1108
|
target: "_blank",
|
|
1109
1109
|
class: "text-lg text-blue-600 cursor-pointer dark:text-blue-400 fas fa-download"
|
|
1110
|
-
}, null, 8,
|
|
1110
|
+
}, null, 8, gr),
|
|
1111
1111
|
r.is_enable_delete ? (d(), u("i", {
|
|
1112
1112
|
key: 0,
|
|
1113
1113
|
onClick: (f) => {
|
|
1114
1114
|
a.media_id = i.id, a.open_delete_modal = !0;
|
|
1115
1115
|
},
|
|
1116
1116
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
1117
|
-
}, null, 8,
|
|
1117
|
+
}, null, 8, mr)) : g("", !0)
|
|
1118
1118
|
])
|
|
1119
1119
|
]))), 256))
|
|
1120
1120
|
])
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const cd = /* @__PURE__ */ D(Gt, [["render", pr]]), _r = {
|
|
1125
1125
|
computed: {
|
|
1126
|
-
...
|
|
1126
|
+
...Lt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
1128
1128
|
switch (this.notification.type) {
|
|
1129
1129
|
case "info":
|
|
@@ -1158,7 +1158,7 @@ const ud = /* @__PURE__ */ D(Bt, [["render", mr]]), pr = {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
},
|
|
1160
1160
|
methods: {
|
|
1161
|
-
...
|
|
1161
|
+
...Bt("notification", ["HIDE_NOTIFICATION"]),
|
|
1162
1162
|
dismiss() {
|
|
1163
1163
|
this.HIDE_NOTIFICATION();
|
|
1164
1164
|
}
|
|
@@ -1170,7 +1170,7 @@ const ud = /* @__PURE__ */ D(Bt, [["render", mr]]), pr = {
|
|
|
1170
1170
|
}, this.notification.duration);
|
|
1171
1171
|
}
|
|
1172
1172
|
}
|
|
1173
|
-
},
|
|
1173
|
+
}, br = /* @__PURE__ */ s("svg", {
|
|
1174
1174
|
class: "flex-shrink-0 w-4 h-4",
|
|
1175
1175
|
"aria-hidden": "true",
|
|
1176
1176
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1178,7 +1178,7 @@ const ud = /* @__PURE__ */ D(Bt, [["render", mr]]), pr = {
|
|
|
1178
1178
|
viewBox: "0 0 20 20"
|
|
1179
1179
|
}, [
|
|
1180
1180
|
/* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z" })
|
|
1181
|
-
], -1),
|
|
1181
|
+
], -1), yr = /* @__PURE__ */ s("span", { class: "sr-only" }, "Info", -1), vr = { class: "mr-3 text-sm font-medium ms-3" }, xr = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), wr = /* @__PURE__ */ s("svg", {
|
|
1182
1182
|
class: "w-3 h-3",
|
|
1183
1183
|
"aria-hidden": "true",
|
|
1184
1184
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1192,28 +1192,28 @@ const ud = /* @__PURE__ */ D(Bt, [["render", mr]]), pr = {
|
|
|
1192
1192
|
"stroke-width": "2",
|
|
1193
1193
|
d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
|
|
1194
1194
|
})
|
|
1195
|
-
], -1),
|
|
1196
|
-
|
|
1197
|
-
|
|
1195
|
+
], -1), kr = [
|
|
1196
|
+
xr,
|
|
1197
|
+
wr
|
|
1198
1198
|
];
|
|
1199
|
-
function
|
|
1199
|
+
function $r(e, t, r, n, a, o) {
|
|
1200
1200
|
return e.notification.show ? (d(), u("div", {
|
|
1201
1201
|
key: 0,
|
|
1202
1202
|
class: b(["fixed right-0 z-50 flex items-center p-4 m-5 mb-4 rounded-lg shadow-lg", o.alertClasses]),
|
|
1203
1203
|
role: "alert"
|
|
1204
1204
|
}, [
|
|
1205
|
-
_r,
|
|
1206
1205
|
br,
|
|
1207
|
-
|
|
1206
|
+
yr,
|
|
1207
|
+
s("div", vr, h(e.notification.message), 1),
|
|
1208
1208
|
s("button", {
|
|
1209
1209
|
type: "button",
|
|
1210
1210
|
onClick: t[0] || (t[0] = (...l) => o.dismiss && o.dismiss(...l)),
|
|
1211
1211
|
class: b(["inline-flex items-center justify-center w-6 h-6 p-1 -mx-1 -my-1 rounded-lg ms-auto focus:ring-2 hover:bg-opacity-50", o.buttonClasses]),
|
|
1212
1212
|
"aria-label": "Close"
|
|
1213
|
-
},
|
|
1213
|
+
}, kr, 2)
|
|
1214
1214
|
], 2)) : g("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const fd = /* @__PURE__ */ D(_r, [["render", $r]]), Cr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1248,9 +1248,9 @@ const cd = /* @__PURE__ */ D(pr, [["render", kr]]), $r = {
|
|
|
1248
1248
|
},
|
|
1249
1249
|
mounted() {
|
|
1250
1250
|
}
|
|
1251
|
-
},
|
|
1252
|
-
function
|
|
1253
|
-
return d(), u("ul",
|
|
1251
|
+
}, Sr = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Or = ["name", "value", "id", "checked"], Dr = ["for"];
|
|
1252
|
+
function Pr(e, t, r, n, a, o) {
|
|
1253
|
+
return d(), u("ul", Sr, [
|
|
1254
1254
|
(d(!0), u(v, null, $(a.locals, (l, i) => (d(), u("li", null, [
|
|
1255
1255
|
s("input", {
|
|
1256
1256
|
type: "radio",
|
|
@@ -1260,7 +1260,7 @@ function Dr(e, t, r, n, a, o) {
|
|
|
1260
1260
|
id: l + "_" + r.field_name,
|
|
1261
1261
|
autocomplete: "off",
|
|
1262
1262
|
checked: l === a.default_language
|
|
1263
|
-
}, null, 8,
|
|
1263
|
+
}, null, 8, Or),
|
|
1264
1264
|
s("label", {
|
|
1265
1265
|
for: l + "_" + r.field_name,
|
|
1266
1266
|
class: b([{
|
|
@@ -1268,14 +1268,14 @@ function Dr(e, t, r, n, a, o) {
|
|
|
1268
1268
|
"border md:!rounded-e-lg": i === a.locals.length - 1,
|
|
1269
1269
|
"border-t border-b": i !== 0 && i !== a.locals.length - 1
|
|
1270
1270
|
}, "w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
|
|
1271
|
-
}, h(l), 11,
|
|
1271
|
+
}, h(l), 11, Dr)
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const hd = /* @__PURE__ */ D(Cr, [["render", Pr]]), Er = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, jr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Ar = { class: "font-semibold text-black dark:text-white" }, Ir = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
|
-
},
|
|
1278
|
+
}, gd = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1288,19 +1288,19 @@ const fd = /* @__PURE__ */ D($r, [["render", Dr]]), Pr = { class: "bg-white bord
|
|
|
1288
1288
|
return (n, a) => (d(), u("div", {
|
|
1289
1289
|
class: b(["flex flex-col gap-9", r.value])
|
|
1290
1290
|
}, [
|
|
1291
|
-
s("div",
|
|
1292
|
-
s("div",
|
|
1293
|
-
s("h3",
|
|
1291
|
+
s("div", Er, [
|
|
1292
|
+
s("div", jr, [
|
|
1293
|
+
s("h3", Ar, [
|
|
1294
1294
|
A(n.$slots, "header")
|
|
1295
1295
|
])
|
|
1296
1296
|
]),
|
|
1297
|
-
n.$slots.body ? (d(), u("div",
|
|
1297
|
+
n.$slots.body ? (d(), u("div", Ir, [
|
|
1298
1298
|
A(n.$slots, "body")
|
|
1299
1299
|
])) : g("", !0)
|
|
1300
1300
|
])
|
|
1301
1301
|
], 2));
|
|
1302
1302
|
}
|
|
1303
|
-
},
|
|
1303
|
+
}, Tr = {
|
|
1304
1304
|
name: "MultiSelectDropdown",
|
|
1305
1305
|
template: "MultiSelectDropdown",
|
|
1306
1306
|
props: {
|
|
@@ -1457,16 +1457,16 @@ const fd = /* @__PURE__ */ D($r, [["render", Dr]]), Pr = { class: "bg-white bord
|
|
|
1457
1457
|
this.selectedIds = e.map((t) => t.id), this.$emit("update:modelValue", this.selectedIds), this.$emit("selected", this.selectedIds), this.$emit("selectionChanged", this.selectedIds);
|
|
1458
1458
|
}
|
|
1459
1459
|
}
|
|
1460
|
-
},
|
|
1460
|
+
}, Nr = { class: "font-bold ptext-lg dark:text-white" }, Mr = { 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" }, Lr = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Br = ["name", "value"], Gr = {
|
|
1461
1461
|
key: 0,
|
|
1462
1462
|
class: "dropdown"
|
|
1463
|
-
},
|
|
1463
|
+
}, Fr = {
|
|
1464
1464
|
class: "inline-flex ml-2 rounded-md shadow-sm",
|
|
1465
1465
|
role: "group"
|
|
1466
|
-
},
|
|
1466
|
+
}, Rr = { 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" }, Ur = { class: "relative" }, qr = ["onClick"], zr = { 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" }, Hr = { class: "p-1" }, Zr = /* @__PURE__ */ s("label", {
|
|
1467
1467
|
for: "default-search",
|
|
1468
1468
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
1469
|
-
}, "Search", -1),
|
|
1469
|
+
}, "Search", -1), Kr = { class: "relative" }, Wr = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
1470
1470
|
/* @__PURE__ */ s("svg", {
|
|
1471
1471
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
1472
1472
|
"aria-hidden": "true",
|
|
@@ -1482,18 +1482,18 @@ const fd = /* @__PURE__ */ D($r, [["render", Dr]]), Pr = { class: "bg-white bord
|
|
|
1482
1482
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
1483
1483
|
})
|
|
1484
1484
|
])
|
|
1485
|
-
], -1),
|
|
1486
|
-
function
|
|
1485
|
+
], -1), Xr = ["id"], Yr = { class: "overflow-y-auto max-h-64" }, Jr = ["onClick", "onMousedown", "id"];
|
|
1486
|
+
function Qr(e, t, r, n, a, o) {
|
|
1487
1487
|
return d(), u(v, null, [
|
|
1488
1488
|
r.show ? (d(), u("div", {
|
|
1489
1489
|
key: 0,
|
|
1490
1490
|
class: b(r.field_name)
|
|
1491
1491
|
}, [
|
|
1492
|
-
s("h3",
|
|
1493
|
-
s("p",
|
|
1494
|
-
(d(!0), u(v, null, $(a.selected, (l, i) => (d(), u("span",
|
|
1492
|
+
s("h3", Nr, h(r.label_name), 1),
|
|
1493
|
+
s("p", Mr, [
|
|
1494
|
+
(d(!0), u(v, null, $(a.selected, (l, i) => (d(), u("span", Vr, h(l.name), 1))), 256))
|
|
1495
1495
|
]),
|
|
1496
|
-
|
|
1496
|
+
Lr
|
|
1497
1497
|
], 2)) : g("", !0),
|
|
1498
1498
|
r.show ? g("", !0) : (d(), u("div", {
|
|
1499
1499
|
key: 1,
|
|
@@ -1504,8 +1504,8 @@ function Jr(e, t, r, n, a, o) {
|
|
|
1504
1504
|
name: r.field_name + "[]",
|
|
1505
1505
|
key: i,
|
|
1506
1506
|
value: l
|
|
1507
|
-
}, null, 8,
|
|
1508
|
-
r.options ? (d(), u("div",
|
|
1507
|
+
}, null, 8, Br))), 128)),
|
|
1508
|
+
r.options ? (d(), u("div", Gr, [
|
|
1509
1509
|
s("label", {
|
|
1510
1510
|
class: b({
|
|
1511
1511
|
"gl-label-form": r.error_message == "",
|
|
@@ -1513,7 +1513,7 @@ function Jr(e, t, r, n, a, o) {
|
|
|
1513
1513
|
required: r.is_required
|
|
1514
1514
|
})
|
|
1515
1515
|
}, h(r.label_name), 3),
|
|
1516
|
-
s("div",
|
|
1516
|
+
s("div", Fr, [
|
|
1517
1517
|
s("button", {
|
|
1518
1518
|
onClick: t[0] || (t[0] = (...l) => o.selectAll && o.selectAll(...l)),
|
|
1519
1519
|
type: "button",
|
|
@@ -1525,8 +1525,8 @@ function Jr(e, t, r, n, a, o) {
|
|
|
1525
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"
|
|
1526
1526
|
}, " Deselect all ")
|
|
1527
1527
|
]),
|
|
1528
|
-
s("div",
|
|
1529
|
-
s("div",
|
|
1528
|
+
s("div", Rr, [
|
|
1529
|
+
s("div", Ur, [
|
|
1530
1530
|
s("div", {
|
|
1531
1531
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1532
1532
|
onClick: t[2] || (t[2] = (l) => o.showOptions())
|
|
@@ -1539,7 +1539,7 @@ function Jr(e, t, r, n, a, o) {
|
|
|
1539
1539
|
s("i", {
|
|
1540
1540
|
onClick: N((c) => o.clearOption(l), ["stop"]),
|
|
1541
1541
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
1542
|
-
}, null, 8,
|
|
1542
|
+
}, null, 8, qr)
|
|
1543
1543
|
]))), 128))
|
|
1544
1544
|
]),
|
|
1545
1545
|
s("i", {
|
|
@@ -1547,11 +1547,11 @@ function Jr(e, t, r, n, a, o) {
|
|
|
1547
1547
|
style: { top: "11px" }
|
|
1548
1548
|
}, null, 2)
|
|
1549
1549
|
]),
|
|
1550
|
-
P(s("div",
|
|
1551
|
-
s("div",
|
|
1552
|
-
|
|
1553
|
-
s("div",
|
|
1554
|
-
|
|
1550
|
+
P(s("div", zr, [
|
|
1551
|
+
s("div", Hr, [
|
|
1552
|
+
Zr,
|
|
1553
|
+
s("div", Kr, [
|
|
1554
|
+
Wr,
|
|
1555
1555
|
P(s("input", {
|
|
1556
1556
|
type: "search",
|
|
1557
1557
|
"onUpdate:modelValue": t[3] || (t[3] = (l) => a.searchFilter = l),
|
|
@@ -1561,12 +1561,12 @@ function Jr(e, t, r, n, a, o) {
|
|
|
1561
1561
|
autocomplete: "off",
|
|
1562
1562
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
1563
1563
|
placeholder: "Search ..."
|
|
1564
|
-
}, null, 40,
|
|
1564
|
+
}, null, 40, Xr), [
|
|
1565
1565
|
[V, a.searchFilter]
|
|
1566
1566
|
])
|
|
1567
1567
|
])
|
|
1568
1568
|
]),
|
|
1569
|
-
s("div",
|
|
1569
|
+
s("div", Yr, [
|
|
1570
1570
|
(d(!0), u(v, null, $(o.filteredOptions, (l, i) => (d(), u("div", {
|
|
1571
1571
|
class: b([
|
|
1572
1572
|
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
@@ -1576,7 +1576,7 @@ function Jr(e, t, r, n, a, o) {
|
|
|
1576
1576
|
onMousedown: (c) => o.selectOption(l),
|
|
1577
1577
|
key: i,
|
|
1578
1578
|
id: i + 1
|
|
1579
|
-
}, h(l.name || l.id || "-"), 43,
|
|
1579
|
+
}, h(l.name || l.id || "-"), 43, Jr))), 128))
|
|
1580
1580
|
])
|
|
1581
1581
|
], 512), [
|
|
1582
1582
|
[B, a.optionsShown]
|
|
@@ -1586,7 +1586,7 @@ function Jr(e, t, r, n, a, o) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const md = /* @__PURE__ */ D(Tr, [["render", Qr]]), es = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1638,7 +1638,7 @@ const gd = /* @__PURE__ */ D(Ir, [["render", Jr]]), Qr = {
|
|
|
1638
1638
|
}
|
|
1639
1639
|
},
|
|
1640
1640
|
methods: {}
|
|
1641
|
-
},
|
|
1641
|
+
}, ts = /* @__PURE__ */ s("svg", {
|
|
1642
1642
|
"aria-hidden": "true",
|
|
1643
1643
|
role: "status",
|
|
1644
1644
|
class: "inline w-4 h-4 me-3 animate-spin",
|
|
@@ -1655,14 +1655,14 @@ const gd = /* @__PURE__ */ D(Ir, [["render", Jr]]), Qr = {
|
|
|
1655
1655
|
fill: "#1C64F2"
|
|
1656
1656
|
})
|
|
1657
1657
|
], -1);
|
|
1658
|
-
function
|
|
1658
|
+
function rs(e, t, r, n, a, o) {
|
|
1659
1659
|
return r.is_loading ? (d(), Z(se("button"), {
|
|
1660
1660
|
key: 1,
|
|
1661
1661
|
disabled: "",
|
|
1662
1662
|
class: b(`flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${o.buttonTypeClass}`)
|
|
1663
1663
|
}, {
|
|
1664
1664
|
default: Y(() => [
|
|
1665
|
-
|
|
1665
|
+
ts,
|
|
1666
1666
|
w(" Loading... ")
|
|
1667
1667
|
]),
|
|
1668
1668
|
_: 1
|
|
@@ -1683,7 +1683,7 @@ function ts(e, t, r, n, a, o) {
|
|
|
1683
1683
|
_: 3
|
|
1684
1684
|
}, 16, ["type", "href", "class"]));
|
|
1685
1685
|
}
|
|
1686
|
-
const
|
|
1686
|
+
const pd = /* @__PURE__ */ D(es, [["render", rs]]), ss = { class: "font-bold ptext-lg dark:text-white" }, ns = ["name", "id"], os = ["id"], as = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), is = ["for"], ls = /* @__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), ds = ["name", "id"], us = ["required", "name", "id", "type"], cs = { class: "gl-span-form-error" }, fs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, _d = {
|
|
1687
1687
|
__name: "GlTextareaTranslate",
|
|
1688
1688
|
props: {
|
|
1689
1689
|
is_required: {
|
|
@@ -1757,7 +1757,7 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1757
1757
|
key: 0,
|
|
1758
1758
|
class: b(e.field_name)
|
|
1759
1759
|
}, [
|
|
1760
|
-
s("h3",
|
|
1760
|
+
s("h3", ss, h(e.label_name), 1),
|
|
1761
1761
|
P(s("input", {
|
|
1762
1762
|
type: "hidden",
|
|
1763
1763
|
"data-i18n": "true",
|
|
@@ -1766,14 +1766,14 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1766
1766
|
ref_key: "input_translate",
|
|
1767
1767
|
ref: l,
|
|
1768
1768
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => i.inputTranslateValue = f)
|
|
1769
|
-
}, null, 8,
|
|
1769
|
+
}, null, 8, ns), [
|
|
1770
1770
|
[V, i.inputTranslateValue]
|
|
1771
1771
|
]),
|
|
1772
1772
|
s("p", {
|
|
1773
1773
|
id: e.field_name,
|
|
1774
1774
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1775
|
-
}, h(e.model_value), 9,
|
|
1776
|
-
|
|
1775
|
+
}, h(e.model_value), 9, os),
|
|
1776
|
+
as
|
|
1777
1777
|
], 2)) : g("", !0),
|
|
1778
1778
|
e.show ? g("", !0) : (d(), u("div", {
|
|
1779
1779
|
key: 1,
|
|
@@ -1786,8 +1786,8 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1786
1786
|
required: e.is_required
|
|
1787
1787
|
}),
|
|
1788
1788
|
for: e.field_name
|
|
1789
|
-
}, h(e.label_name), 11,
|
|
1790
|
-
|
|
1789
|
+
}, h(e.label_name), 11, is),
|
|
1790
|
+
ls,
|
|
1791
1791
|
s("input", {
|
|
1792
1792
|
class: "mb-4",
|
|
1793
1793
|
type: "hidden",
|
|
@@ -1797,7 +1797,7 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1797
1797
|
onInput: c[1] || (c[1] = (f) => i.$emit("update:modelValueTranslate", f.target.value)),
|
|
1798
1798
|
ref_key: "input_translate",
|
|
1799
1799
|
ref: l
|
|
1800
|
-
}, null, 40,
|
|
1800
|
+
}, null, 40, ds),
|
|
1801
1801
|
s("textarea", {
|
|
1802
1802
|
required: e.is_required,
|
|
1803
1803
|
name: e.field_name,
|
|
@@ -1813,13 +1813,13 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1813
1813
|
ref: o,
|
|
1814
1814
|
rows: "4"
|
|
1815
1815
|
}, `
|
|
1816
|
-
`, 42,
|
|
1817
|
-
s("span",
|
|
1818
|
-
s("small",
|
|
1816
|
+
`, 42, us),
|
|
1817
|
+
s("span", cs, h(e.error_message), 1),
|
|
1818
|
+
s("small", fs, h(e.description), 1)
|
|
1819
1819
|
], 2))
|
|
1820
1820
|
], 64));
|
|
1821
1821
|
}
|
|
1822
|
-
},
|
|
1822
|
+
}, hs = { class: "font-bold ptext-lg dark:text-white" }, gs = ["name", "id"], ms = ["id"], ps = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), _s = ["for"], bs = /* @__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), ys = ["name", "id"], vs = ["name", "id", "type"], xs = { class: "gl-span-form-error" }, ws = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, bd = {
|
|
1823
1823
|
__name: "GlTinymceTranslate",
|
|
1824
1824
|
props: {
|
|
1825
1825
|
is_required: {
|
|
@@ -1897,7 +1897,7 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1897
1897
|
key: 0,
|
|
1898
1898
|
class: b(e.field_name)
|
|
1899
1899
|
}, [
|
|
1900
|
-
s("h3",
|
|
1900
|
+
s("h3", hs, h(e.label_name), 1),
|
|
1901
1901
|
P(s("input", {
|
|
1902
1902
|
type: "hidden",
|
|
1903
1903
|
"data-i18n": "true",
|
|
@@ -1906,14 +1906,14 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1906
1906
|
ref_key: "input_translate",
|
|
1907
1907
|
ref: l,
|
|
1908
1908
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => i.inputTranslateValue = f)
|
|
1909
|
-
}, null, 8,
|
|
1909
|
+
}, null, 8, gs), [
|
|
1910
1910
|
[V, i.inputTranslateValue]
|
|
1911
1911
|
]),
|
|
1912
1912
|
s("p", {
|
|
1913
1913
|
id: e.field_name,
|
|
1914
1914
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1915
|
-
}, h(e.model_value), 9,
|
|
1916
|
-
|
|
1915
|
+
}, h(e.model_value), 9, ms),
|
|
1916
|
+
ps
|
|
1917
1917
|
], 2)) : g("", !0),
|
|
1918
1918
|
e.show ? g("", !0) : (d(), u("div", {
|
|
1919
1919
|
key: 1,
|
|
@@ -1926,8 +1926,8 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1926
1926
|
required: e.is_required
|
|
1927
1927
|
}),
|
|
1928
1928
|
for: e.field_name
|
|
1929
|
-
}, h(e.label_name), 11,
|
|
1930
|
-
|
|
1929
|
+
}, h(e.label_name), 11, _s),
|
|
1930
|
+
bs,
|
|
1931
1931
|
s("input", {
|
|
1932
1932
|
class: "mb-4",
|
|
1933
1933
|
type: "hidden",
|
|
@@ -1937,7 +1937,7 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1937
1937
|
onInput: c[1] || (c[1] = (f) => i.$emit("update:modelValueTranslate", f.target.value)),
|
|
1938
1938
|
ref_key: "input_translate",
|
|
1939
1939
|
ref: l
|
|
1940
|
-
}, null, 40,
|
|
1940
|
+
}, null, 40, ys),
|
|
1941
1941
|
s("textarea", {
|
|
1942
1942
|
name: e.field_name,
|
|
1943
1943
|
id: e.field_name,
|
|
@@ -1952,13 +1952,13 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
1952
1952
|
ref: o,
|
|
1953
1953
|
rows: "4"
|
|
1954
1954
|
}, `
|
|
1955
|
-
`, 42,
|
|
1956
|
-
s("span",
|
|
1957
|
-
s("small",
|
|
1955
|
+
`, 42, vs),
|
|
1956
|
+
s("span", xs, h(e.error_message), 1),
|
|
1957
|
+
s("small", ws, h(e.description), 1)
|
|
1958
1958
|
], 2))
|
|
1959
1959
|
], 64));
|
|
1960
1960
|
}
|
|
1961
|
-
},
|
|
1961
|
+
}, ks = { class: "font-bold ptext-lg dark:text-white" }, $s = ["name", "id"], Cs = ["id"], Ss = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Os = ["for"], Ds = /* @__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), Ps = ["name", "id"], Es = ["required", "name", "id", "type"], js = { class: "gl-span-form-error" }, As = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, yd = {
|
|
1962
1962
|
__name: "GlTextTranslate",
|
|
1963
1963
|
props: {
|
|
1964
1964
|
is_required: {
|
|
@@ -2032,7 +2032,7 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
2032
2032
|
key: 0,
|
|
2033
2033
|
class: b(e.field_name)
|
|
2034
2034
|
}, [
|
|
2035
|
-
s("h3",
|
|
2035
|
+
s("h3", ks, h(e.label_name), 1),
|
|
2036
2036
|
P(s("input", {
|
|
2037
2037
|
type: "hidden",
|
|
2038
2038
|
"data-i18n": "true",
|
|
@@ -2040,14 +2040,14 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
2040
2040
|
id: e.field_name + "_i18n",
|
|
2041
2041
|
ref: "input_translate_s",
|
|
2042
2042
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => i.inputTranslateValue = f)
|
|
2043
|
-
}, null, 8,
|
|
2043
|
+
}, null, 8, $s), [
|
|
2044
2044
|
[V, i.inputTranslateValue]
|
|
2045
2045
|
]),
|
|
2046
2046
|
s("p", {
|
|
2047
2047
|
id: e.field_name,
|
|
2048
2048
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2049
|
-
}, h(e.model_value), 9,
|
|
2050
|
-
|
|
2049
|
+
}, h(e.model_value), 9, Cs),
|
|
2050
|
+
Ss
|
|
2051
2051
|
], 2)) : g("", !0),
|
|
2052
2052
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2053
2053
|
key: 1,
|
|
@@ -2060,8 +2060,8 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
2060
2060
|
required: e.is_required
|
|
2061
2061
|
}),
|
|
2062
2062
|
for: e.field_name
|
|
2063
|
-
}, h(e.label_name), 11,
|
|
2064
|
-
|
|
2063
|
+
}, h(e.label_name), 11, Os),
|
|
2064
|
+
Ds,
|
|
2065
2065
|
s("input", {
|
|
2066
2066
|
class: "mb-4",
|
|
2067
2067
|
type: "hidden",
|
|
@@ -2071,7 +2071,7 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
2071
2071
|
onInput: c[1] || (c[1] = (f) => i.$emit("update:modelValueTranslate", f.target.value)),
|
|
2072
2072
|
ref_key: "input_translate",
|
|
2073
2073
|
ref: l
|
|
2074
|
-
}, null, 40,
|
|
2074
|
+
}, null, 40, Ps),
|
|
2075
2075
|
s("input", {
|
|
2076
2076
|
required: e.is_required,
|
|
2077
2077
|
name: e.field_name,
|
|
@@ -2085,13 +2085,13 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
2085
2085
|
onKeydown: c[3] || (c[3] = (f) => i.$emit("keydown", f)),
|
|
2086
2086
|
ref_key: "input",
|
|
2087
2087
|
ref: o
|
|
2088
|
-
}, null, 42,
|
|
2089
|
-
s("span",
|
|
2090
|
-
s("small",
|
|
2088
|
+
}, null, 42, Es),
|
|
2089
|
+
s("span", js, h(e.error_message), 1),
|
|
2090
|
+
s("small", As, h(e.description), 1)
|
|
2091
2091
|
], 2))
|
|
2092
2092
|
], 64));
|
|
2093
2093
|
}
|
|
2094
|
-
},
|
|
2094
|
+
}, Is = { class: "font-bold ptext-lg dark:text-white" }, Ts = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Ns = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ms = ["for"], Vs = ["required", "name", "id", "type"], Ls = { class: "gl-span-form-error" }, Bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, vd = {
|
|
2095
2095
|
__name: "GlTextInput",
|
|
2096
2096
|
props: {
|
|
2097
2097
|
is_required: {
|
|
@@ -2150,9 +2150,9 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
2150
2150
|
key: 0,
|
|
2151
2151
|
class: b(e.field_name)
|
|
2152
2152
|
}, [
|
|
2153
|
-
s("h3",
|
|
2154
|
-
s("p",
|
|
2155
|
-
|
|
2153
|
+
s("h3", Is, h(e.label_name), 1),
|
|
2154
|
+
s("p", Ts, h(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
|
|
2155
|
+
Ns
|
|
2156
2156
|
], 2)) : g("", !0),
|
|
2157
2157
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2158
2158
|
key: 1,
|
|
@@ -2165,7 +2165,7 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
2165
2165
|
required: e.is_required
|
|
2166
2166
|
}),
|
|
2167
2167
|
for: e.field_name
|
|
2168
|
-
}, h(e.label_name), 11,
|
|
2168
|
+
}, h(e.label_name), 11, Ms),
|
|
2169
2169
|
P(s("input", {
|
|
2170
2170
|
required: e.is_required,
|
|
2171
2171
|
name: e.field_name,
|
|
@@ -2179,15 +2179,15 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
2179
2179
|
onKeydown: c[1] || (c[1] = (f) => i.$emit("keydown", f)),
|
|
2180
2180
|
ref_key: "input",
|
|
2181
2181
|
ref: o
|
|
2182
|
-
}, null, 42,
|
|
2182
|
+
}, null, 42, Vs), [
|
|
2183
2183
|
[We, l.value]
|
|
2184
2184
|
]),
|
|
2185
|
-
s("span",
|
|
2186
|
-
s("small",
|
|
2185
|
+
s("span", Ls, h(e.error_message), 1),
|
|
2186
|
+
s("small", Bs, h(e.description), 1)
|
|
2187
2187
|
], 2))
|
|
2188
2188
|
], 64));
|
|
2189
2189
|
}
|
|
2190
|
-
},
|
|
2190
|
+
}, Gs = {
|
|
2191
2191
|
setup(e, { slots: t }) {
|
|
2192
2192
|
const r = O(t.default().map((a) => a.props)), n = O(r.value[0].title);
|
|
2193
2193
|
return Xe("selectedTitle", n), {
|
|
@@ -2195,12 +2195,12 @@ const md = /* @__PURE__ */ D(Qr, [["render", ts]]), rs = { class: "font-bold pte
|
|
|
2195
2195
|
selectedTitle: n
|
|
2196
2196
|
};
|
|
2197
2197
|
}
|
|
2198
|
-
},
|
|
2199
|
-
function
|
|
2198
|
+
}, Fs = { class: "flex flex-wrap" }, Rs = { class: "w-full" }, Us = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, qs = ["onClick"], zs = { 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" }, Hs = { class: "flex-auto px-4 py-5" }, Zs = { class: "tab-content tab-space" };
|
|
2199
|
+
function Ks(e, t, r, n, a, o) {
|
|
2200
2200
|
return d(), u(v, null, [
|
|
2201
|
-
s("div",
|
|
2202
|
-
s("div",
|
|
2203
|
-
s("ul",
|
|
2201
|
+
s("div", Fs, [
|
|
2202
|
+
s("div", Rs, [
|
|
2203
|
+
s("ul", Us, [
|
|
2204
2204
|
(d(!0), u(v, null, $(n.tabs, (l) => (d(), u("li", {
|
|
2205
2205
|
key: l.title,
|
|
2206
2206
|
onClick: (i) => n.selectedTitle = l.title,
|
|
@@ -2214,35 +2214,35 @@ function Zs(e, t, r, n, a, o) {
|
|
|
2214
2214
|
}, null, 2),
|
|
2215
2215
|
w(" " + h(l.title), 1)
|
|
2216
2216
|
], 2)
|
|
2217
|
-
], 8,
|
|
2217
|
+
], 8, qs))), 128))
|
|
2218
2218
|
])
|
|
2219
2219
|
])
|
|
2220
2220
|
]),
|
|
2221
|
-
s("div",
|
|
2222
|
-
s("div",
|
|
2223
|
-
s("div",
|
|
2221
|
+
s("div", zs, [
|
|
2222
|
+
s("div", Hs, [
|
|
2223
|
+
s("div", Zs, [
|
|
2224
2224
|
A(e.$slots, "default")
|
|
2225
2225
|
])
|
|
2226
2226
|
])
|
|
2227
2227
|
])
|
|
2228
2228
|
], 64);
|
|
2229
2229
|
}
|
|
2230
|
-
const
|
|
2230
|
+
const xd = /* @__PURE__ */ D(Gs, [["render", Ks]]), Ws = {
|
|
2231
2231
|
props: ["title"],
|
|
2232
2232
|
setup() {
|
|
2233
2233
|
return {
|
|
2234
2234
|
selectedTitle: ve("selectedTitle")
|
|
2235
2235
|
};
|
|
2236
2236
|
}
|
|
2237
|
-
},
|
|
2238
|
-
function
|
|
2239
|
-
return P((d(), u("div",
|
|
2237
|
+
}, Xs = { class: "block" };
|
|
2238
|
+
function Ys(e, t, r, n, a, o) {
|
|
2239
|
+
return P((d(), u("div", Xs, [
|
|
2240
2240
|
A(e.$slots, "default")
|
|
2241
2241
|
], 512)), [
|
|
2242
2242
|
[B, r.title == n.selectedTitle]
|
|
2243
2243
|
]);
|
|
2244
2244
|
}
|
|
2245
|
-
const
|
|
2245
|
+
const wd = /* @__PURE__ */ D(Ws, [["render", Ys]]), Js = {
|
|
2246
2246
|
props: {
|
|
2247
2247
|
elements_to_show_prop: {
|
|
2248
2248
|
type: Number,
|
|
@@ -2341,10 +2341,10 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2341
2341
|
this.direction_property == "rtl" ? t.style.marginRight = -this.dotsNavigation[e - 1] + "px" : t.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
|
|
2342
2342
|
}
|
|
2343
2343
|
}
|
|
2344
|
-
}, E = (e) => (Ye("data-v-a94f16a9"), e = e(), Je(), e),
|
|
2344
|
+
}, E = (e) => (Ye("data-v-a94f16a9"), e = e(), Je(), e), Qs = ["id"], en = {
|
|
2345
2345
|
key: 0,
|
|
2346
2346
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2347
|
-
},
|
|
2347
|
+
}, tn = { class: "w-full" }, rn = {
|
|
2348
2348
|
key: 0,
|
|
2349
2349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2350
2350
|
class: "w-6 h-6",
|
|
@@ -2352,13 +2352,13 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2352
2352
|
viewBox: "0 0 24 24",
|
|
2353
2353
|
stroke: "currentColor",
|
|
2354
2354
|
"stroke-width": "2"
|
|
2355
|
-
},
|
|
2355
|
+
}, sn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2356
2356
|
"stroke-linecap": "round",
|
|
2357
2357
|
"stroke-linejoin": "round",
|
|
2358
2358
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2359
|
-
}, null, -1)),
|
|
2360
|
-
|
|
2361
|
-
],
|
|
2359
|
+
}, null, -1)), nn = [
|
|
2360
|
+
sn
|
|
2361
|
+
], on = {
|
|
2362
2362
|
key: 1,
|
|
2363
2363
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2364
2364
|
class: "w-6 h-6",
|
|
@@ -2366,13 +2366,13 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2366
2366
|
viewBox: "0 0 24 24",
|
|
2367
2367
|
stroke: "currentColor",
|
|
2368
2368
|
"stroke-width": "2"
|
|
2369
|
-
},
|
|
2369
|
+
}, an = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2370
2370
|
"stroke-linecap": "round",
|
|
2371
2371
|
"stroke-linejoin": "round",
|
|
2372
2372
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2373
|
-
}, null, -1)),
|
|
2374
|
-
|
|
2375
|
-
],
|
|
2373
|
+
}, null, -1)), ln = [
|
|
2374
|
+
an
|
|
2375
|
+
], dn = ["id"], un = ["id"], cn = { class: "w-full" }, fn = {
|
|
2376
2376
|
key: 0,
|
|
2377
2377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2378
2378
|
class: "w-6 h-6",
|
|
@@ -2380,13 +2380,13 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2380
2380
|
viewBox: "0 0 24 24",
|
|
2381
2381
|
stroke: "currentColor",
|
|
2382
2382
|
"stroke-width": "2"
|
|
2383
|
-
},
|
|
2383
|
+
}, hn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2384
2384
|
"stroke-linecap": "round",
|
|
2385
2385
|
"stroke-linejoin": "round",
|
|
2386
2386
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2387
|
-
}, null, -1)),
|
|
2388
|
-
|
|
2389
|
-
],
|
|
2387
|
+
}, null, -1)), gn = [
|
|
2388
|
+
hn
|
|
2389
|
+
], mn = {
|
|
2390
2390
|
key: 1,
|
|
2391
2391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2392
2392
|
class: "w-6 h-6",
|
|
@@ -2394,13 +2394,13 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2394
2394
|
viewBox: "0 0 24 24",
|
|
2395
2395
|
stroke: "currentColor",
|
|
2396
2396
|
"stroke-width": "2"
|
|
2397
|
-
},
|
|
2397
|
+
}, pn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2398
2398
|
"stroke-linecap": "round",
|
|
2399
2399
|
"stroke-linejoin": "round",
|
|
2400
2400
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2401
|
-
}, null, -1)),
|
|
2402
|
-
|
|
2403
|
-
],
|
|
2401
|
+
}, null, -1)), _n = [
|
|
2402
|
+
pn
|
|
2403
|
+
], bn = { class: "w-full" }, yn = {
|
|
2404
2404
|
key: 0,
|
|
2405
2405
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2406
2406
|
class: "w-6 h-6",
|
|
@@ -2408,13 +2408,13 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2408
2408
|
viewBox: "0 0 24 24",
|
|
2409
2409
|
stroke: "currentColor",
|
|
2410
2410
|
"stroke-width": "2"
|
|
2411
|
-
},
|
|
2411
|
+
}, vn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2412
2412
|
"stroke-linecap": "round",
|
|
2413
2413
|
"stroke-linejoin": "round",
|
|
2414
2414
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2415
|
-
}, null, -1)),
|
|
2416
|
-
|
|
2417
|
-
],
|
|
2415
|
+
}, null, -1)), xn = [
|
|
2416
|
+
vn
|
|
2417
|
+
], wn = {
|
|
2418
2418
|
key: 1,
|
|
2419
2419
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2420
2420
|
class: "w-6 h-6",
|
|
@@ -2422,23 +2422,23 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2422
2422
|
viewBox: "0 0 24 24",
|
|
2423
2423
|
stroke: "currentColor",
|
|
2424
2424
|
"stroke-width": "2"
|
|
2425
|
-
},
|
|
2425
|
+
}, kn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2426
2426
|
"stroke-linecap": "round",
|
|
2427
2427
|
"stroke-linejoin": "round",
|
|
2428
2428
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2429
|
-
}, null, -1)),
|
|
2430
|
-
|
|
2431
|
-
],
|
|
2432
|
-
|
|
2433
|
-
],
|
|
2429
|
+
}, null, -1)), $n = [
|
|
2430
|
+
kn
|
|
2431
|
+
], Cn = ["onClick"], Sn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("span", null, null, -1)), On = [
|
|
2432
|
+
Sn
|
|
2433
|
+
], Dn = {
|
|
2434
2434
|
key: 1,
|
|
2435
2435
|
class: "flex justify-between pl-5 pr-5"
|
|
2436
|
-
},
|
|
2437
|
-
|
|
2438
|
-
],
|
|
2436
|
+
}, Pn = ["onClick"], En = /* @__PURE__ */ E(() => /* @__PURE__ */ s("span", null, null, -1)), jn = [
|
|
2437
|
+
En
|
|
2438
|
+
], An = {
|
|
2439
2439
|
key: 0,
|
|
2440
2440
|
class: "flex"
|
|
2441
|
-
},
|
|
2441
|
+
}, In = { class: "flex items-center" }, Tn = { class: "w-full" }, Nn = {
|
|
2442
2442
|
key: 0,
|
|
2443
2443
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2444
2444
|
class: "w-6 h-6",
|
|
@@ -2446,13 +2446,13 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2446
2446
|
viewBox: "0 0 24 24",
|
|
2447
2447
|
stroke: "currentColor",
|
|
2448
2448
|
"stroke-width": "2"
|
|
2449
|
-
},
|
|
2449
|
+
}, Mn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2450
2450
|
"stroke-linecap": "round",
|
|
2451
2451
|
"stroke-linejoin": "round",
|
|
2452
2452
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2453
|
-
}, null, -1)),
|
|
2454
|
-
|
|
2455
|
-
],
|
|
2453
|
+
}, null, -1)), Vn = [
|
|
2454
|
+
Mn
|
|
2455
|
+
], Ln = {
|
|
2456
2456
|
key: 1,
|
|
2457
2457
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2458
2458
|
class: "w-6 h-6",
|
|
@@ -2460,13 +2460,13 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2460
2460
|
viewBox: "0 0 24 24",
|
|
2461
2461
|
stroke: "currentColor",
|
|
2462
2462
|
"stroke-width": "2"
|
|
2463
|
-
},
|
|
2463
|
+
}, Bn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2464
2464
|
"stroke-linecap": "round",
|
|
2465
2465
|
"stroke-linejoin": "round",
|
|
2466
2466
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2467
|
-
}, null, -1)),
|
|
2468
|
-
|
|
2469
|
-
],
|
|
2467
|
+
}, null, -1)), Gn = [
|
|
2468
|
+
Bn
|
|
2469
|
+
], Fn = { class: "flex items-center" }, Rn = { class: "w-full" }, Un = {
|
|
2470
2470
|
key: 0,
|
|
2471
2471
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2472
2472
|
class: "w-6 h-6",
|
|
@@ -2474,13 +2474,13 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2474
2474
|
viewBox: "0 0 24 24",
|
|
2475
2475
|
stroke: "currentColor",
|
|
2476
2476
|
"stroke-width": "2"
|
|
2477
|
-
},
|
|
2477
|
+
}, qn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2478
2478
|
"stroke-linecap": "round",
|
|
2479
2479
|
"stroke-linejoin": "round",
|
|
2480
2480
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2481
|
-
}, null, -1)),
|
|
2482
|
-
|
|
2483
|
-
],
|
|
2481
|
+
}, null, -1)), zn = [
|
|
2482
|
+
qn
|
|
2483
|
+
], Hn = {
|
|
2484
2484
|
key: 1,
|
|
2485
2485
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2486
2486
|
class: "w-6 h-6",
|
|
@@ -2488,16 +2488,16 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2488
2488
|
viewBox: "0 0 24 24",
|
|
2489
2489
|
stroke: "currentColor",
|
|
2490
2490
|
"stroke-width": "2"
|
|
2491
|
-
},
|
|
2491
|
+
}, Zn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2492
2492
|
"stroke-linecap": "round",
|
|
2493
2493
|
"stroke-linejoin": "round",
|
|
2494
2494
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2495
|
-
}, null, -1)),
|
|
2496
|
-
|
|
2497
|
-
],
|
|
2495
|
+
}, null, -1)), Kn = [
|
|
2496
|
+
Zn
|
|
2497
|
+
], Wn = {
|
|
2498
2498
|
key: 1,
|
|
2499
2499
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2500
|
-
},
|
|
2500
|
+
}, Xn = { class: "w-full" }, Yn = {
|
|
2501
2501
|
key: 0,
|
|
2502
2502
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2503
2503
|
class: "w-6 h-6",
|
|
@@ -2505,13 +2505,13 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2505
2505
|
viewBox: "0 0 24 24",
|
|
2506
2506
|
stroke: "currentColor",
|
|
2507
2507
|
"stroke-width": "2"
|
|
2508
|
-
},
|
|
2508
|
+
}, Jn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2509
2509
|
"stroke-linecap": "round",
|
|
2510
2510
|
"stroke-linejoin": "round",
|
|
2511
2511
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2512
|
-
}, null, -1)),
|
|
2513
|
-
|
|
2514
|
-
],
|
|
2512
|
+
}, null, -1)), Qn = [
|
|
2513
|
+
Jn
|
|
2514
|
+
], eo = {
|
|
2515
2515
|
key: 1,
|
|
2516
2516
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2517
2517
|
class: "w-6 h-6",
|
|
@@ -2519,27 +2519,27 @@ const xd = /* @__PURE__ */ D(Ks, [["render", Xs]]), Ys = {
|
|
|
2519
2519
|
viewBox: "0 0 24 24",
|
|
2520
2520
|
stroke: "currentColor",
|
|
2521
2521
|
"stroke-width": "2"
|
|
2522
|
-
},
|
|
2522
|
+
}, to = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2523
2523
|
"stroke-linecap": "round",
|
|
2524
2524
|
"stroke-linejoin": "round",
|
|
2525
2525
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2526
|
-
}, null, -1)),
|
|
2527
|
-
|
|
2526
|
+
}, null, -1)), ro = [
|
|
2527
|
+
to
|
|
2528
2528
|
];
|
|
2529
|
-
function
|
|
2529
|
+
function so(e, t, r, n, a, o) {
|
|
2530
2530
|
return d(), u("div", null, [
|
|
2531
2531
|
s("div", {
|
|
2532
2532
|
class: b(["", !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
2533
2533
|
id: "mainSliderContainer_" + e.Random_string
|
|
2534
2534
|
}, [
|
|
2535
|
-
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2536
|
-
s("div",
|
|
2535
|
+
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", en, [
|
|
2536
|
+
s("div", tn, [
|
|
2537
2537
|
s("button", {
|
|
2538
2538
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2539
2539
|
onClick: t[0] || (t[0] = (l) => o.prev())
|
|
2540
2540
|
}, [
|
|
2541
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2542
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2541
|
+
r.direction_property == "ltr" ? (d(), u("svg", rn, nn)) : g("", !0),
|
|
2542
|
+
r.direction_property == "rtl" ? (d(), u("svg", on, ln)) : g("", !0)
|
|
2543
2543
|
])
|
|
2544
2544
|
])
|
|
2545
2545
|
])) : g("", !0),
|
|
@@ -2555,13 +2555,13 @@ function ro(e, t, r, n, a, o) {
|
|
|
2555
2555
|
key: 0,
|
|
2556
2556
|
class: b(["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"])
|
|
2557
2557
|
}, [
|
|
2558
|
-
s("div",
|
|
2558
|
+
s("div", cn, [
|
|
2559
2559
|
s("button", {
|
|
2560
2560
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2561
2561
|
onClick: t[1] || (t[1] = N((l) => o.prev(), ["stop"]))
|
|
2562
2562
|
}, [
|
|
2563
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2564
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2563
|
+
r.direction_property == "ltr" ? (d(), u("svg", fn, gn)) : g("", !0),
|
|
2564
|
+
r.direction_property == "rtl" ? (d(), u("svg", mn, _n)) : g("", !0)
|
|
2565
2565
|
])
|
|
2566
2566
|
])
|
|
2567
2567
|
], 2)) : g("", !0),
|
|
@@ -2570,17 +2570,17 @@ function ro(e, t, r, n, a, o) {
|
|
|
2570
2570
|
key: 1,
|
|
2571
2571
|
class: b(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", r.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
2572
2572
|
}, [
|
|
2573
|
-
s("div",
|
|
2573
|
+
s("div", bn, [
|
|
2574
2574
|
s("button", {
|
|
2575
2575
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2576
2576
|
onClick: t[2] || (t[2] = N((l) => o.next(), ["stop"]))
|
|
2577
2577
|
}, [
|
|
2578
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2579
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2578
|
+
r.direction_property == "ltr" ? (d(), u("svg", yn, xn)) : g("", !0),
|
|
2579
|
+
r.direction_property == "rtl" ? (d(), u("svg", wn, $n)) : g("", !0)
|
|
2580
2580
|
])
|
|
2581
2581
|
])
|
|
2582
2582
|
], 2)) : g("", !0)
|
|
2583
|
-
], 8,
|
|
2583
|
+
], 8, un),
|
|
2584
2584
|
r.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
|
|
2585
2585
|
key: 0,
|
|
2586
2586
|
class: b(["flex justify-center mb-1 space-x-1", o.sliderIndicatorsAction()])
|
|
@@ -2590,9 +2590,9 @@ function ro(e, t, r, n, a, o) {
|
|
|
2590
2590
|
class: b(["gl-dot", { active: e.currentDot == l }]),
|
|
2591
2591
|
key: l,
|
|
2592
2592
|
onClick: (i) => o.setDot(l)
|
|
2593
|
-
},
|
|
2593
|
+
}, On, 10, Cn))), 128))
|
|
2594
2594
|
], 2)) : g("", !0),
|
|
2595
|
-
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div",
|
|
2595
|
+
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Dn, [
|
|
2596
2596
|
s("div", {
|
|
2597
2597
|
class: b(["flex justify-center mb-1 space-x-1", o.sliderIndicatorsAction()])
|
|
2598
2598
|
}, [
|
|
@@ -2601,53 +2601,53 @@ function ro(e, t, r, n, a, o) {
|
|
|
2601
2601
|
class: b(["gl-dot", { active: e.currentDot == l }]),
|
|
2602
2602
|
key: l,
|
|
2603
2603
|
onClick: (i) => o.setDot(l)
|
|
2604
|
-
},
|
|
2604
|
+
}, jn, 10, Pn))), 128))
|
|
2605
2605
|
], 2),
|
|
2606
|
-
e.dotsNum > 0 ? (d(), u("div",
|
|
2607
|
-
s("div",
|
|
2608
|
-
s("div",
|
|
2606
|
+
e.dotsNum > 0 ? (d(), u("div", An, [
|
|
2607
|
+
s("div", In, [
|
|
2608
|
+
s("div", Tn, [
|
|
2609
2609
|
s("button", {
|
|
2610
2610
|
class: b(["p-3 rounded-full arrow_button_styles", r.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2611
2611
|
onClick: t[3] || (t[3] = (l) => o.prev())
|
|
2612
2612
|
}, [
|
|
2613
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2614
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2613
|
+
r.direction_property == "ltr" ? (d(), u("svg", Nn, Vn)) : g("", !0),
|
|
2614
|
+
r.direction_property == "rtl" ? (d(), u("svg", Ln, Gn)) : g("", !0)
|
|
2615
2615
|
], 2)
|
|
2616
2616
|
])
|
|
2617
2617
|
]),
|
|
2618
|
-
s("div",
|
|
2619
|
-
s("div",
|
|
2618
|
+
s("div", Fn, [
|
|
2619
|
+
s("div", Rn, [
|
|
2620
2620
|
s("button", {
|
|
2621
2621
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2622
2622
|
onClick: t[4] || (t[4] = (l) => o.next())
|
|
2623
2623
|
}, [
|
|
2624
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2625
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2624
|
+
r.direction_property == "ltr" ? (d(), u("svg", Un, zn)) : g("", !0),
|
|
2625
|
+
r.direction_property == "rtl" ? (d(), u("svg", Hn, Kn)) : g("", !0)
|
|
2626
2626
|
])
|
|
2627
2627
|
])
|
|
2628
2628
|
])
|
|
2629
2629
|
])) : g("", !0)
|
|
2630
2630
|
])) : g("", !0)
|
|
2631
|
-
], 10,
|
|
2632
|
-
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2633
|
-
s("div",
|
|
2631
|
+
], 10, dn),
|
|
2632
|
+
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", Wn, [
|
|
2633
|
+
s("div", Xn, [
|
|
2634
2634
|
s("button", {
|
|
2635
2635
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2636
2636
|
onClick: t[5] || (t[5] = (l) => o.next())
|
|
2637
2637
|
}, [
|
|
2638
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2639
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2638
|
+
r.direction_property == "ltr" ? (d(), u("svg", Yn, Qn)) : g("", !0),
|
|
2639
|
+
r.direction_property == "rtl" ? (d(), u("svg", eo, ro)) : g("", !0)
|
|
2640
2640
|
])
|
|
2641
2641
|
])
|
|
2642
2642
|
])) : g("", !0)
|
|
2643
|
-
], 10,
|
|
2643
|
+
], 10, Qs)
|
|
2644
2644
|
]);
|
|
2645
2645
|
}
|
|
2646
|
-
const
|
|
2646
|
+
const kd = /* @__PURE__ */ D(Js, [["render", so], ["__scopeId", "data-v-a94f16a9"]]), no = {
|
|
2647
2647
|
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",
|
|
2648
2648
|
tabindex: "-1",
|
|
2649
2649
|
"aria-hidden": "true"
|
|
2650
|
-
},
|
|
2650
|
+
}, oo = { 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" }, ao = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, io = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, lo = /* @__PURE__ */ s("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2651
2651
|
/* @__PURE__ */ s("svg", {
|
|
2652
2652
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2653
2653
|
fill: "currentColor",
|
|
@@ -2661,9 +2661,9 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
2661
2661
|
d: "M6 18L18 6M6 6l12 12"
|
|
2662
2662
|
})
|
|
2663
2663
|
])
|
|
2664
|
-
], -1),
|
|
2665
|
-
|
|
2666
|
-
],
|
|
2664
|
+
], -1), uo = [
|
|
2665
|
+
lo
|
|
2666
|
+
], co = { class: "relative p-4 overflow-y-auto" }, fo = { 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" }, $d = {
|
|
2667
2667
|
__name: "GlModal",
|
|
2668
2668
|
props: {
|
|
2669
2669
|
is_open: {
|
|
@@ -2694,24 +2694,24 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
2694
2694
|
i ? a() : o();
|
|
2695
2695
|
},
|
|
2696
2696
|
{ immediate: !0, deep: !0 }
|
|
2697
|
-
), (i, c) => P((d(), u("div",
|
|
2697
|
+
), (i, c) => P((d(), u("div", no, [
|
|
2698
2698
|
s("div", {
|
|
2699
2699
|
class: b(["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])
|
|
2700
2700
|
}, [
|
|
2701
|
-
s("div",
|
|
2702
|
-
s("div",
|
|
2703
|
-
s("h5",
|
|
2701
|
+
s("div", oo, [
|
|
2702
|
+
s("div", ao, [
|
|
2703
|
+
s("h5", io, h(e.title), 1),
|
|
2704
2704
|
s("button", {
|
|
2705
2705
|
type: "button",
|
|
2706
2706
|
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",
|
|
2707
2707
|
onClick: l,
|
|
2708
2708
|
"aria-label": "Close"
|
|
2709
|
-
},
|
|
2709
|
+
}, uo)
|
|
2710
2710
|
]),
|
|
2711
|
-
s("div",
|
|
2711
|
+
s("div", co, [
|
|
2712
2712
|
A(i.$slots, "body")
|
|
2713
2713
|
]),
|
|
2714
|
-
s("div",
|
|
2714
|
+
s("div", fo, [
|
|
2715
2715
|
A(i.$slots, "buttons"),
|
|
2716
2716
|
s("button", {
|
|
2717
2717
|
onClick: l,
|
|
@@ -2725,7 +2725,7 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
2725
2725
|
[B, e.is_open]
|
|
2726
2726
|
]);
|
|
2727
2727
|
}
|
|
2728
|
-
},
|
|
2728
|
+
}, ho = { class: "mb-4" }, go = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, mo = { class: "relative inline-flex items-center cursor-pointer" }, po = ["name", "id", "checked"], _o = /* @__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), bo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), yo = { 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" }, vo = { class: "relative inline-flex items-center cursor-pointer" }, xo = ["name", "id"], wo = /* @__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), ko = { class: "gl-span-form-error" }, $o = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Cd = {
|
|
2729
2729
|
__name: "GlToggleBox",
|
|
2730
2730
|
props: {
|
|
2731
2731
|
is_required: {
|
|
@@ -2780,10 +2780,10 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
2780
2780
|
key: 0,
|
|
2781
2781
|
class: b(e.field_name)
|
|
2782
2782
|
}, [
|
|
2783
|
-
s("div",
|
|
2784
|
-
s("li",
|
|
2783
|
+
s("div", ho, [
|
|
2784
|
+
s("li", go, [
|
|
2785
2785
|
w(h(e.label_name) + " ", 1),
|
|
2786
|
-
s("label",
|
|
2786
|
+
s("label", mo, [
|
|
2787
2787
|
s("input", {
|
|
2788
2788
|
type: "checkbox",
|
|
2789
2789
|
class: "sr-only peer",
|
|
@@ -2795,20 +2795,20 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
2795
2795
|
ref_key: "input",
|
|
2796
2796
|
ref: a,
|
|
2797
2797
|
disabled: ""
|
|
2798
|
-
}, null, 8,
|
|
2799
|
-
|
|
2798
|
+
}, null, 8, po),
|
|
2799
|
+
_o
|
|
2800
2800
|
])
|
|
2801
2801
|
])
|
|
2802
2802
|
]),
|
|
2803
|
-
|
|
2803
|
+
bo
|
|
2804
2804
|
], 2)) : g("", !0),
|
|
2805
2805
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2806
2806
|
key: 1,
|
|
2807
2807
|
class: b(["mb-4", e.field_name])
|
|
2808
2808
|
}, [
|
|
2809
|
-
s("li",
|
|
2809
|
+
s("li", yo, [
|
|
2810
2810
|
w(h(e.label_name) + " ", 1),
|
|
2811
|
-
s("label",
|
|
2811
|
+
s("label", vo, [
|
|
2812
2812
|
P(s("input", {
|
|
2813
2813
|
type: "checkbox",
|
|
2814
2814
|
class: "sr-only peer",
|
|
@@ -2819,24 +2819,24 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
2819
2819
|
ref_key: "input",
|
|
2820
2820
|
ref: a,
|
|
2821
2821
|
"onUpdate:modelValue": i[0] || (i[0] = (c) => o.value = c)
|
|
2822
|
-
}, null, 8,
|
|
2822
|
+
}, null, 8, xo), [
|
|
2823
2823
|
[Qe, o.value]
|
|
2824
2824
|
]),
|
|
2825
|
-
|
|
2825
|
+
wo
|
|
2826
2826
|
])
|
|
2827
2827
|
]),
|
|
2828
|
-
s("span",
|
|
2829
|
-
s("small",
|
|
2828
|
+
s("span", ko, h(e.error_message), 1),
|
|
2829
|
+
s("small", $o, h(e.description), 1)
|
|
2830
2830
|
], 2))
|
|
2831
2831
|
], 64));
|
|
2832
2832
|
}
|
|
2833
|
-
},
|
|
2833
|
+
}, Co = { class: "font-bold ptext-lg dark:text-white" }, So = { class: "mt-3 mb-4" }, Oo = { 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" }, Do = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Po = ["name", "id", "value"], Eo = {
|
|
2834
2834
|
key: 0,
|
|
2835
2835
|
class: "dropdown"
|
|
2836
|
-
},
|
|
2836
|
+
}, jo = { 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" }, Ao = { class: "relative showOptions" }, Io = ["value", "placeholder"], To = { 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]" }, No = { class: "p-1" }, Mo = /* @__PURE__ */ s("label", {
|
|
2837
2837
|
for: "default-search",
|
|
2838
2838
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2839
|
-
}, "Search", -1),
|
|
2839
|
+
}, "Search", -1), Vo = { class: "relative" }, Lo = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
2840
2840
|
/* @__PURE__ */ s("svg", {
|
|
2841
2841
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
2842
2842
|
"aria-hidden": "true",
|
|
@@ -2852,22 +2852,22 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
2852
2852
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
2853
2853
|
})
|
|
2854
2854
|
])
|
|
2855
|
-
], -1),
|
|
2855
|
+
], -1), Bo = ["id"], Go = { class: "overflow-y-auto max-h-64" }, Fo = ["onClick", "onMousedown", "id"], Ro = { class: "flex items-center py-2 pl-10 pr-4" }, Uo = {
|
|
2856
2856
|
key: 0,
|
|
2857
2857
|
class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
|
|
2858
2858
|
"aria-hidden": "true",
|
|
2859
2859
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2860
2860
|
fill: "none",
|
|
2861
2861
|
viewBox: "0 0 16 12"
|
|
2862
|
-
},
|
|
2862
|
+
}, qo = /* @__PURE__ */ s("path", {
|
|
2863
2863
|
stroke: "currentColor",
|
|
2864
2864
|
"stroke-linecap": "round",
|
|
2865
2865
|
"stroke-linejoin": "round",
|
|
2866
2866
|
"stroke-width": "2",
|
|
2867
2867
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2868
|
-
}, null, -1),
|
|
2869
|
-
|
|
2870
|
-
],
|
|
2868
|
+
}, null, -1), zo = [
|
|
2869
|
+
qo
|
|
2870
|
+
], Ho = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Zo = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Sd = {
|
|
2871
2871
|
__name: "GlDropdown",
|
|
2872
2872
|
props: {
|
|
2873
2873
|
modelValue: {
|
|
@@ -2987,7 +2987,7 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
2987
2987
|
a.value = p, l.value = !1, n("selected", a.value), n("selectionChanged", a.value);
|
|
2988
2988
|
}
|
|
2989
2989
|
function ee() {
|
|
2990
|
-
r.show || (i.value = "", l.value = !0,
|
|
2990
|
+
r.show || (i.value = "", l.value = !0, et(() => {
|
|
2991
2991
|
refs[r.fieldName + "search" + c.value].focus();
|
|
2992
2992
|
}));
|
|
2993
2993
|
}
|
|
@@ -3006,11 +3006,11 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3006
3006
|
key: 0,
|
|
3007
3007
|
class: b(p.field_name)
|
|
3008
3008
|
}, [
|
|
3009
|
-
s("h3",
|
|
3010
|
-
s("p",
|
|
3011
|
-
s("span",
|
|
3009
|
+
s("h3", Co, h(p.label_name), 1),
|
|
3010
|
+
s("p", So, [
|
|
3011
|
+
s("span", Oo, h(p.selectedValue.name), 1)
|
|
3012
3012
|
]),
|
|
3013
|
-
|
|
3013
|
+
Do
|
|
3014
3014
|
], 2)) : g("", !0),
|
|
3015
3015
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3016
3016
|
key: 1,
|
|
@@ -3021,8 +3021,8 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3021
3021
|
name: p.field_name,
|
|
3022
3022
|
id: p.field_name,
|
|
3023
3023
|
value: a.value.id
|
|
3024
|
-
}, null, 8,
|
|
3025
|
-
e.options ? (d(), u("div",
|
|
3024
|
+
}, null, 8, Po),
|
|
3025
|
+
e.options ? (d(), u("div", Eo, [
|
|
3026
3026
|
p.label_name ? (d(), u("label", {
|
|
3027
3027
|
key: 0,
|
|
3028
3028
|
class: b({
|
|
@@ -3031,8 +3031,8 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3031
3031
|
required: p.is_required
|
|
3032
3032
|
})
|
|
3033
3033
|
}, h(p.label_name), 3)) : g("", !0),
|
|
3034
|
-
s("div",
|
|
3035
|
-
s("div",
|
|
3034
|
+
s("div", jo, [
|
|
3035
|
+
s("div", Ao, [
|
|
3036
3036
|
s("input", {
|
|
3037
3037
|
class: b([{
|
|
3038
3038
|
"gl-input-form": p.error_message == "",
|
|
@@ -3044,7 +3044,7 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3044
3044
|
placeholder: e.placeholder,
|
|
3045
3045
|
autocomplete: "off",
|
|
3046
3046
|
readonly: ""
|
|
3047
|
-
}, null, 10,
|
|
3047
|
+
}, null, 10, Io),
|
|
3048
3048
|
P(s("i", {
|
|
3049
3049
|
onClick: k[1] || (k[1] = N((S) => qe(), ["stop"])),
|
|
3050
3050
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
@@ -3058,11 +3058,11 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3058
3058
|
style: { top: "11px" }
|
|
3059
3059
|
}, null, 2)
|
|
3060
3060
|
]),
|
|
3061
|
-
P(s("div",
|
|
3062
|
-
s("div",
|
|
3063
|
-
|
|
3064
|
-
s("div",
|
|
3065
|
-
|
|
3061
|
+
P(s("div", To, [
|
|
3062
|
+
s("div", No, [
|
|
3063
|
+
Mo,
|
|
3064
|
+
s("div", Vo, [
|
|
3065
|
+
Lo,
|
|
3066
3066
|
P(s("input", {
|
|
3067
3067
|
type: "search",
|
|
3068
3068
|
"onUpdate:modelValue": k[3] || (k[3] = (S) => i.value = S),
|
|
@@ -3073,12 +3073,12 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3073
3073
|
autocomplete: "off",
|
|
3074
3074
|
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",
|
|
3075
3075
|
placeholder: "Search ..."
|
|
3076
|
-
}, null, 40,
|
|
3076
|
+
}, null, 40, Bo), [
|
|
3077
3077
|
[V, i.value]
|
|
3078
3078
|
])
|
|
3079
3079
|
])
|
|
3080
3080
|
]),
|
|
3081
|
-
s("div",
|
|
3081
|
+
s("div", Go, [
|
|
3082
3082
|
(d(!0), u(v, null, $(m.value, (S, M) => (d(), u("div", {
|
|
3083
3083
|
class: b(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", M + 1 == o.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
3084
3084
|
onClick: (ze) => he(S),
|
|
@@ -3086,23 +3086,23 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3086
3086
|
key: M,
|
|
3087
3087
|
id: `${M + 1}${c.value}`
|
|
3088
3088
|
}, [
|
|
3089
|
-
s("div",
|
|
3090
|
-
a.value.id === S.id ? (d(), u("svg",
|
|
3089
|
+
s("div", Ro, [
|
|
3090
|
+
a.value.id === S.id ? (d(), u("svg", Uo, zo)) : g("", !0),
|
|
3091
3091
|
s("span", null, h(S.name || S.id || "-"), 1)
|
|
3092
3092
|
])
|
|
3093
|
-
], 42,
|
|
3093
|
+
], 42, Fo))), 128))
|
|
3094
3094
|
])
|
|
3095
3095
|
], 512), [
|
|
3096
3096
|
[B, l.value]
|
|
3097
3097
|
])
|
|
3098
3098
|
])
|
|
3099
3099
|
])) : g("", !0),
|
|
3100
|
-
s("span",
|
|
3101
|
-
s("small",
|
|
3100
|
+
s("span", Ho, h(p.error_message), 1),
|
|
3101
|
+
s("small", Zo, h(e.description), 1)
|
|
3102
3102
|
], 2))
|
|
3103
3103
|
], 64));
|
|
3104
3104
|
}
|
|
3105
|
-
},
|
|
3105
|
+
}, Ko = { class: "font-bold ptext-lg dark:text-white" }, Wo = ["id"], Xo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Yo = ["for"], Jo = ["required", "name", "id", "type", "placeholder"], Qo = { class: "gl-span-form-error" }, ea = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Od = {
|
|
3106
3106
|
__name: "GlTextarea",
|
|
3107
3107
|
props: {
|
|
3108
3108
|
is_required: {
|
|
@@ -3156,12 +3156,12 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3156
3156
|
key: 0,
|
|
3157
3157
|
class: b(e.field_name)
|
|
3158
3158
|
}, [
|
|
3159
|
-
s("h3",
|
|
3159
|
+
s("h3", Ko, h(e.label_name), 1),
|
|
3160
3160
|
s("p", {
|
|
3161
3161
|
id: e.field_name,
|
|
3162
3162
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3163
|
-
}, h(e.model_value), 9,
|
|
3164
|
-
|
|
3163
|
+
}, h(e.model_value), 9, Wo),
|
|
3164
|
+
Xo
|
|
3165
3165
|
], 2)) : g("", !0),
|
|
3166
3166
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3167
3167
|
key: 1,
|
|
@@ -3174,7 +3174,7 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3174
3174
|
required: e.is_required
|
|
3175
3175
|
}),
|
|
3176
3176
|
for: e.field_name
|
|
3177
|
-
}, h(e.label_name), 11,
|
|
3177
|
+
}, h(e.label_name), 11, Yo),
|
|
3178
3178
|
s("textarea", {
|
|
3179
3179
|
required: e.is_required,
|
|
3180
3180
|
name: e.field_name,
|
|
@@ -3189,13 +3189,13 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3189
3189
|
ref: o,
|
|
3190
3190
|
rows: "4",
|
|
3191
3191
|
placeholder: e.place_holder
|
|
3192
|
-
}, null, 42,
|
|
3193
|
-
s("span",
|
|
3194
|
-
s("small",
|
|
3192
|
+
}, null, 42, Jo),
|
|
3193
|
+
s("span", Qo, h(e.error_message), 1),
|
|
3194
|
+
s("small", ea, h(e.description), 1)
|
|
3195
3195
|
], 2))
|
|
3196
3196
|
], 64));
|
|
3197
3197
|
}
|
|
3198
|
-
},
|
|
3198
|
+
}, ta = {
|
|
3199
3199
|
emits: ["pagination-change-page"],
|
|
3200
3200
|
props: {
|
|
3201
3201
|
data: {
|
|
@@ -3300,14 +3300,14 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3300
3300
|
})
|
|
3301
3301
|
});
|
|
3302
3302
|
}
|
|
3303
|
-
},
|
|
3303
|
+
}, ra = {
|
|
3304
3304
|
compatConfig: {
|
|
3305
3305
|
MODE: 3
|
|
3306
3306
|
},
|
|
3307
3307
|
inheritAttrs: !1,
|
|
3308
3308
|
emits: ["pagination-change-page"],
|
|
3309
3309
|
components: {
|
|
3310
|
-
RenderlessPagination:
|
|
3310
|
+
RenderlessPagination: ta
|
|
3311
3311
|
},
|
|
3312
3312
|
props: {
|
|
3313
3313
|
data: {
|
|
@@ -3341,10 +3341,10 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3341
3341
|
},
|
|
3342
3342
|
mounted() {
|
|
3343
3343
|
}
|
|
3344
|
-
},
|
|
3344
|
+
}, sa = { class: "flex flex-col items-center" }, na = {
|
|
3345
3345
|
key: 0,
|
|
3346
3346
|
class: "text-sm text-gray-700 dark:text-gray-400"
|
|
3347
|
-
},
|
|
3347
|
+
}, oa = { class: "font-semibold text-gray-900 dark:text-white" }, aa = { class: "font-semibold text-gray-900 dark:text-white" }, ia = { class: "font-semibold text-gray-900 dark:text-white" }, la = ["tabindex"], da = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), ua = /* @__PURE__ */ s("svg", {
|
|
3348
3348
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3349
3349
|
"aria-hidden": "true",
|
|
3350
3350
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3358,7 +3358,7 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3358
3358
|
"stroke-width": "2",
|
|
3359
3359
|
d: "M5 1 1 5l4 4"
|
|
3360
3360
|
})
|
|
3361
|
-
], -1),
|
|
3361
|
+
], -1), ca = ["aria-current"], fa = ["tabindex"], ha = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), ga = /* @__PURE__ */ s("svg", {
|
|
3362
3362
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3363
3363
|
"aria-hidden": "true",
|
|
3364
3364
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3373,7 +3373,7 @@ const wd = /* @__PURE__ */ D(Ys, [["render", ro], ["__scopeId", "data-v-a94f16a9
|
|
|
3373
3373
|
d: "m1 9 4-4-4-4"
|
|
3374
3374
|
})
|
|
3375
3375
|
], -1);
|
|
3376
|
-
function
|
|
3376
|
+
function ma(e, t, r, n, a, o) {
|
|
3377
3377
|
const l = X("RenderlessPagination");
|
|
3378
3378
|
return d(), Z(l, {
|
|
3379
3379
|
data: r.data,
|
|
@@ -3381,14 +3381,14 @@ function ga(e, t, r, n, a, o) {
|
|
|
3381
3381
|
onPaginationChangePage: o.onPaginationChangePage
|
|
3382
3382
|
}, {
|
|
3383
3383
|
default: Y((i) => [
|
|
3384
|
-
s("div",
|
|
3385
|
-
i.computed.total > i.computed.perPage ? (d(), u("span",
|
|
3384
|
+
s("div", sa, [
|
|
3385
|
+
i.computed.total > i.computed.perPage ? (d(), u("span", na, [
|
|
3386
3386
|
w(" Showing "),
|
|
3387
|
-
s("span",
|
|
3387
|
+
s("span", oa, h(i.computed.from), 1),
|
|
3388
3388
|
w(" to "),
|
|
3389
|
-
s("span",
|
|
3389
|
+
s("span", aa, h(i.computed.to), 1),
|
|
3390
3390
|
w(" of "),
|
|
3391
|
-
s("span",
|
|
3391
|
+
s("span", ia, h(i.computed.total), 1),
|
|
3392
3392
|
w(" Entries ")
|
|
3393
3393
|
])) : g("", !0),
|
|
3394
3394
|
i.computed.total > i.computed.perPage ? (d(), u("ul", K({ key: 1 }, e.$attrs, {
|
|
@@ -3410,10 +3410,10 @@ function ga(e, t, r, n, a, o) {
|
|
|
3410
3410
|
tabindex: !i.computed.prevPageUrl && -1
|
|
3411
3411
|
}, te(i.prevButtonEvents, !0)), [
|
|
3412
3412
|
A(e.$slots, "prev-nav", {}, () => [
|
|
3413
|
-
|
|
3414
|
-
|
|
3413
|
+
da,
|
|
3414
|
+
ua
|
|
3415
3415
|
])
|
|
3416
|
-
], 16,
|
|
3416
|
+
], 16, la)
|
|
3417
3417
|
], 2)) : g("", !0),
|
|
3418
3418
|
(d(!0), u(v, null, $(i.computed.pageRange, (c, f) => (d(), u("li", {
|
|
3419
3419
|
class: b(["", { active: c == i.computed.currentPage }]),
|
|
@@ -3425,7 +3425,7 @@ function ga(e, t, r, n, a, o) {
|
|
|
3425
3425
|
}, te(i.pageButtonEvents(c), !0), {
|
|
3426
3426
|
"aria-current": c == i.computed.currentPage ? "page" : null,
|
|
3427
3427
|
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"
|
|
3428
|
-
}), h(c), 17,
|
|
3428
|
+
}), h(c), 17, ca)
|
|
3429
3429
|
], 2))), 128)),
|
|
3430
3430
|
i.computed.nextPageUrl || r.showDisabled ? (d(), u("li", {
|
|
3431
3431
|
key: 1,
|
|
@@ -3438,10 +3438,10 @@ function ga(e, t, r, n, a, o) {
|
|
|
3438
3438
|
tabindex: !i.computed.nextPageUrl && -1
|
|
3439
3439
|
}, te(i.nextButtonEvents, !0)), [
|
|
3440
3440
|
A(e.$slots, "next-nav", {}, () => [
|
|
3441
|
-
|
|
3442
|
-
|
|
3441
|
+
ha,
|
|
3442
|
+
ga
|
|
3443
3443
|
])
|
|
3444
|
-
], 16,
|
|
3444
|
+
], 16, fa)
|
|
3445
3445
|
], 2)) : g("", !0)
|
|
3446
3446
|
], 16)) : g("", !0)
|
|
3447
3447
|
])
|
|
@@ -3449,8 +3449,8 @@ function ga(e, t, r, n, a, o) {
|
|
|
3449
3449
|
_: 3
|
|
3450
3450
|
}, 8, ["data", "limit", "onPaginationChangePage"]);
|
|
3451
3451
|
}
|
|
3452
|
-
const
|
|
3453
|
-
components: { TailwindPagination:
|
|
3452
|
+
const pa = /* @__PURE__ */ D(ra, [["render", ma]]), _a = {
|
|
3453
|
+
components: { TailwindPagination: pa },
|
|
3454
3454
|
props: {
|
|
3455
3455
|
data: Array,
|
|
3456
3456
|
columns: Array,
|
|
@@ -3526,10 +3526,10 @@ const ma = /* @__PURE__ */ D(ta, [["render", ga]]), pa = {
|
|
|
3526
3526
|
this.isMounted && e !== t && this.GetItemLists();
|
|
3527
3527
|
}
|
|
3528
3528
|
}
|
|
3529
|
-
},
|
|
3529
|
+
}, ba = { class: "p-2" }, ya = { 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" }, va = { class: "flex items-center gap-2" }, xa = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), wa = { style: { "margin-top": "9px" } }, ka = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), $a = /* @__PURE__ */ s("label", {
|
|
3530
3530
|
for: "table-search",
|
|
3531
3531
|
class: "sr-only"
|
|
3532
|
-
}, "Search", -1),
|
|
3532
|
+
}, "Search", -1), Ca = { class: "relative" }, Sa = /* @__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" }, [
|
|
3533
3533
|
/* @__PURE__ */ s("svg", {
|
|
3534
3534
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3535
3535
|
"aria-hidden": "true",
|
|
@@ -3543,23 +3543,23 @@ const ma = /* @__PURE__ */ D(ta, [["render", ga]]), pa = {
|
|
|
3543
3543
|
"clip-rule": "evenodd"
|
|
3544
3544
|
})
|
|
3545
3545
|
])
|
|
3546
|
-
], -1),
|
|
3546
|
+
], -1), Oa = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Da = { 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" }, Pa = { 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" }, Ea = ["onClick"], ja = {
|
|
3547
3547
|
key: 0,
|
|
3548
3548
|
class: "ml-2"
|
|
3549
|
-
},
|
|
3549
|
+
}, Aa = {
|
|
3550
3550
|
key: 0,
|
|
3551
3551
|
class: "fa fa-arrow-up"
|
|
3552
|
-
},
|
|
3552
|
+
}, Ia = {
|
|
3553
3553
|
key: 1,
|
|
3554
3554
|
class: "fa fa-arrow-down"
|
|
3555
|
-
},
|
|
3556
|
-
function
|
|
3555
|
+
}, Ta = ["data-label"], Na = { class: "overflow-auto max-h-40" }, Ma = { 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" };
|
|
3556
|
+
function Va(e, t, r, n, a, o) {
|
|
3557
3557
|
const l = X("dropdown"), i = X("TailwindPagination");
|
|
3558
|
-
return d(), u("div",
|
|
3559
|
-
s("div",
|
|
3560
|
-
s("div",
|
|
3561
|
-
|
|
3562
|
-
s("div",
|
|
3558
|
+
return d(), u("div", ba, [
|
|
3559
|
+
s("div", ya, [
|
|
3560
|
+
s("div", va, [
|
|
3561
|
+
xa,
|
|
3562
|
+
s("div", wa, [
|
|
3563
3563
|
H(l, {
|
|
3564
3564
|
has_cancel: !1,
|
|
3565
3565
|
options: a.pageOptions,
|
|
@@ -3573,11 +3573,11 @@ function Ma(e, t, r, n, a, o) {
|
|
|
3573
3573
|
placeholder: "Please select an option"
|
|
3574
3574
|
}, null, 8, ["options", "modelValue"])
|
|
3575
3575
|
]),
|
|
3576
|
-
|
|
3576
|
+
ka
|
|
3577
3577
|
]),
|
|
3578
|
-
|
|
3579
|
-
s("div",
|
|
3580
|
-
|
|
3578
|
+
$a,
|
|
3579
|
+
s("div", Ca, [
|
|
3580
|
+
Sa,
|
|
3581
3581
|
P(s("input", {
|
|
3582
3582
|
type: "text",
|
|
3583
3583
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => a.search = c),
|
|
@@ -3589,9 +3589,9 @@ function Ma(e, t, r, n, a, o) {
|
|
|
3589
3589
|
])
|
|
3590
3590
|
])
|
|
3591
3591
|
]),
|
|
3592
|
-
s("div",
|
|
3593
|
-
s("table",
|
|
3594
|
-
s("thead",
|
|
3592
|
+
s("div", Oa, [
|
|
3593
|
+
s("table", Da, [
|
|
3594
|
+
s("thead", Pa, [
|
|
3595
3595
|
s("tr", null, [
|
|
3596
3596
|
(d(!0), u(v, null, $(r.columns, (c, f) => (d(), u("th", {
|
|
3597
3597
|
key: f,
|
|
@@ -3599,10 +3599,10 @@ function Ma(e, t, r, n, a, o) {
|
|
|
3599
3599
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3600
3600
|
}, [
|
|
3601
3601
|
w(h(c.field_label) + " ", 1),
|
|
3602
|
-
a.sortField === c.field_name ? (d(), u("span",
|
|
3603
|
-
a.sortOrder === "asc" ? (d(), u("i",
|
|
3602
|
+
a.sortField === c.field_name ? (d(), u("span", ja, [
|
|
3603
|
+
a.sortOrder === "asc" ? (d(), u("i", Aa)) : (d(), u("i", Ia))
|
|
3604
3604
|
])) : g("", !0)
|
|
3605
|
-
], 8,
|
|
3605
|
+
], 8, Ea))), 128))
|
|
3606
3606
|
])
|
|
3607
3607
|
]),
|
|
3608
3608
|
s("tbody", null, [
|
|
@@ -3615,7 +3615,7 @@ function Ma(e, t, r, n, a, o) {
|
|
|
3615
3615
|
"data-label": m.field_label,
|
|
3616
3616
|
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"
|
|
3617
3617
|
}, [
|
|
3618
|
-
s("div",
|
|
3618
|
+
s("div", Na, [
|
|
3619
3619
|
m.tdComp ? (d(), Z(se(o.forDynCompIs(m.tdComp)), {
|
|
3620
3620
|
key: 0,
|
|
3621
3621
|
row: c,
|
|
@@ -3627,12 +3627,12 @@ function Ma(e, t, r, n, a, o) {
|
|
|
3627
3627
|
w(h(c[m.field_name]), 1)
|
|
3628
3628
|
], 64))
|
|
3629
3629
|
])
|
|
3630
|
-
], 8,
|
|
3630
|
+
], 8, Ta))), 128))
|
|
3631
3631
|
]))), 128))
|
|
3632
3632
|
])
|
|
3633
3633
|
])
|
|
3634
3634
|
]),
|
|
3635
|
-
s("div",
|
|
3635
|
+
s("div", Ma, [
|
|
3636
3636
|
H(i, {
|
|
3637
3637
|
class: "mt-3 mb-0",
|
|
3638
3638
|
data: a.itemLists,
|
|
@@ -3644,7 +3644,7 @@ function Ma(e, t, r, n, a, o) {
|
|
|
3644
3644
|
])
|
|
3645
3645
|
]);
|
|
3646
3646
|
}
|
|
3647
|
-
const
|
|
3647
|
+
const Dd = /* @__PURE__ */ D(_a, [["render", Va]]), La = {
|
|
3648
3648
|
components: {},
|
|
3649
3649
|
props: {
|
|
3650
3650
|
data: Array,
|
|
@@ -3741,10 +3741,10 @@ const Od = /* @__PURE__ */ D(pa, [["render", Ma]]), Va = {
|
|
|
3741
3741
|
mounted() {
|
|
3742
3742
|
document.body.addEventListener("click", this.closeBoxOnbodyClick);
|
|
3743
3743
|
}
|
|
3744
|
-
},
|
|
3744
|
+
}, Ba = { class: "p-2" }, Ga = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Fa = { class: "flex items-center gap-2" }, Ra = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Ua = { style: { "margin-top": "9px" } }, qa = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), za = /* @__PURE__ */ s("label", {
|
|
3745
3745
|
for: "table-search",
|
|
3746
3746
|
class: "sr-only"
|
|
3747
|
-
}, "Search", -1),
|
|
3747
|
+
}, "Search", -1), Ha = { class: "relative" }, Za = /* @__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" }, [
|
|
3748
3748
|
/* @__PURE__ */ s("svg", {
|
|
3749
3749
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3750
3750
|
"aria-hidden": "true",
|
|
@@ -3758,10 +3758,10 @@ const Od = /* @__PURE__ */ D(pa, [["render", Ma]]), Va = {
|
|
|
3758
3758
|
"clip-rule": "evenodd"
|
|
3759
3759
|
})
|
|
3760
3760
|
])
|
|
3761
|
-
], -1),
|
|
3761
|
+
], -1), Ka = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Wa = { 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" }, Xa = { 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" }, Ya = ["onClick"], Ja = {
|
|
3762
3762
|
key: 0,
|
|
3763
3763
|
class: "ml-2"
|
|
3764
|
-
},
|
|
3764
|
+
}, Qa = ["data-label"], ei = ["innerHTML"], ti = { 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" }, ri = { class: "flex justify-between flex-1 sm:hidden" }, si = ["disabled"], ni = ["disabled"], oi = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, ai = { class: "text-sm text-gray-700 dark:text-gray-400" }, ii = { class: "font-medium" }, li = { class: "font-medium" }, di = { class: "font-medium" }, ui = { "aria-label": "Page navigation" }, ci = { class: "flex items-center h-8 -space-x-px text-sm" }, fi = ["disabled"], hi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), gi = /* @__PURE__ */ s("svg", {
|
|
3765
3765
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3766
3766
|
"aria-hidden": "true",
|
|
3767
3767
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3775,10 +3775,10 @@ const Od = /* @__PURE__ */ D(pa, [["render", Ma]]), Va = {
|
|
|
3775
3775
|
"stroke-width": "2",
|
|
3776
3776
|
d: "M5 1 1 5l4 4"
|
|
3777
3777
|
})
|
|
3778
|
-
], -1),
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
],
|
|
3778
|
+
], -1), mi = [
|
|
3779
|
+
hi,
|
|
3780
|
+
gi
|
|
3781
|
+
], pi = ["onClick"], _i = ["onClick"], bi = ["disabled"], yi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), vi = /* @__PURE__ */ s("svg", {
|
|
3782
3782
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3783
3783
|
"aria-hidden": "true",
|
|
3784
3784
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3792,17 +3792,17 @@ const Od = /* @__PURE__ */ D(pa, [["render", Ma]]), Va = {
|
|
|
3792
3792
|
"stroke-width": "2",
|
|
3793
3793
|
d: "m1 9 4-4-4-4"
|
|
3794
3794
|
})
|
|
3795
|
-
], -1),
|
|
3796
|
-
|
|
3797
|
-
|
|
3795
|
+
], -1), xi = [
|
|
3796
|
+
yi,
|
|
3797
|
+
vi
|
|
3798
3798
|
];
|
|
3799
|
-
function
|
|
3799
|
+
function wi(e, t, r, n, a, o) {
|
|
3800
3800
|
const l = X("dropdown");
|
|
3801
|
-
return d(), u("div",
|
|
3802
|
-
s("div",
|
|
3803
|
-
s("div",
|
|
3804
|
-
|
|
3805
|
-
s("div",
|
|
3801
|
+
return d(), u("div", Ba, [
|
|
3802
|
+
s("div", Ga, [
|
|
3803
|
+
s("div", Fa, [
|
|
3804
|
+
Ra,
|
|
3805
|
+
s("div", Ua, [
|
|
3806
3806
|
H(l, {
|
|
3807
3807
|
has_cancel: !1,
|
|
3808
3808
|
options: a.showNoOfEntries,
|
|
@@ -3816,11 +3816,11 @@ function xi(e, t, r, n, a, o) {
|
|
|
3816
3816
|
placeholder: "Please select an option"
|
|
3817
3817
|
}, null, 8, ["options", "modelValue"])
|
|
3818
3818
|
]),
|
|
3819
|
-
|
|
3819
|
+
qa
|
|
3820
3820
|
]),
|
|
3821
|
-
|
|
3822
|
-
s("div",
|
|
3823
|
-
|
|
3821
|
+
za,
|
|
3822
|
+
s("div", Ha, [
|
|
3823
|
+
Za,
|
|
3824
3824
|
P(s("input", {
|
|
3825
3825
|
type: "text",
|
|
3826
3826
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => a.search = i),
|
|
@@ -3831,9 +3831,9 @@ function xi(e, t, r, n, a, o) {
|
|
|
3831
3831
|
])
|
|
3832
3832
|
])
|
|
3833
3833
|
]),
|
|
3834
|
-
s("div",
|
|
3835
|
-
s("table",
|
|
3836
|
-
s("thead",
|
|
3834
|
+
s("div", Ka, [
|
|
3835
|
+
s("table", Wa, [
|
|
3836
|
+
s("thead", Xa, [
|
|
3837
3837
|
s("tr", null, [
|
|
3838
3838
|
(d(!0), u(v, null, $(r.columns, (i, c) => (d(), u("th", {
|
|
3839
3839
|
key: c,
|
|
@@ -3841,8 +3841,8 @@ function xi(e, t, r, n, a, o) {
|
|
|
3841
3841
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3842
3842
|
}, [
|
|
3843
3843
|
w(h(i) + " ", 1),
|
|
3844
|
-
a.sortKey === i ? (d(), u("span",
|
|
3845
|
-
], 8,
|
|
3844
|
+
a.sortKey === i ? (d(), u("span", Ja, h(a.sortOrder === 1 ? "▲" : "▼"), 1)) : g("", !0)
|
|
3845
|
+
], 8, Ya))), 128))
|
|
3846
3846
|
])
|
|
3847
3847
|
]),
|
|
3848
3848
|
s("tbody", null, [
|
|
@@ -3858,49 +3858,49 @@ function xi(e, t, r, n, a, o) {
|
|
|
3858
3858
|
s("p", {
|
|
3859
3859
|
class: "text-pretty",
|
|
3860
3860
|
innerHTML: i[m]
|
|
3861
|
-
}, null, 8,
|
|
3862
|
-
], 8,
|
|
3861
|
+
}, null, 8, ei)
|
|
3862
|
+
], 8, Qa))), 128))
|
|
3863
3863
|
]))), 128))
|
|
3864
3864
|
])
|
|
3865
3865
|
])
|
|
3866
3866
|
]),
|
|
3867
|
-
s("div",
|
|
3868
|
-
s("div",
|
|
3867
|
+
s("div", ti, [
|
|
3868
|
+
s("div", ri, [
|
|
3869
3869
|
s("a", {
|
|
3870
3870
|
href: "#",
|
|
3871
3871
|
onClick: t[2] || (t[2] = (...i) => o.previousPage && o.previousPage(...i)),
|
|
3872
3872
|
disabled: a.currentPage === 1,
|
|
3873
3873
|
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"
|
|
3874
|
-
}, "Previous", 8,
|
|
3874
|
+
}, "Previous", 8, si),
|
|
3875
3875
|
s("a", {
|
|
3876
3876
|
href: "#",
|
|
3877
3877
|
onClick: t[3] || (t[3] = (...i) => o.nextPage && o.nextPage(...i)),
|
|
3878
3878
|
disabled: a.currentPage === o.totalPages,
|
|
3879
3879
|
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"
|
|
3880
|
-
}, "Next", 8,
|
|
3880
|
+
}, "Next", 8, ni)
|
|
3881
3881
|
]),
|
|
3882
|
-
s("div",
|
|
3882
|
+
s("div", oi, [
|
|
3883
3883
|
s("div", null, [
|
|
3884
|
-
s("p",
|
|
3884
|
+
s("p", ai, [
|
|
3885
3885
|
w(" Showing "),
|
|
3886
|
-
s("span",
|
|
3886
|
+
s("span", ii, h(o.firstItemIndex), 1),
|
|
3887
3887
|
w(" to "),
|
|
3888
|
-
s("span",
|
|
3888
|
+
s("span", li, h(o.lastItemIndex), 1),
|
|
3889
3889
|
w(" of "),
|
|
3890
|
-
s("span",
|
|
3890
|
+
s("span", di, h(o.filteredData.length), 1),
|
|
3891
3891
|
w(" entries ")
|
|
3892
3892
|
])
|
|
3893
3893
|
]),
|
|
3894
3894
|
s("div", null, [
|
|
3895
|
-
s("nav",
|
|
3896
|
-
s("ul",
|
|
3895
|
+
s("nav", ui, [
|
|
3896
|
+
s("ul", ci, [
|
|
3897
3897
|
s("li", null, [
|
|
3898
3898
|
s("a", {
|
|
3899
3899
|
href: "#",
|
|
3900
3900
|
onClick: t[4] || (t[4] = (...i) => o.previousPage && o.previousPage(...i)),
|
|
3901
3901
|
disabled: a.currentPage === 1,
|
|
3902
3902
|
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"
|
|
3903
|
-
},
|
|
3903
|
+
}, mi, 8, fi)
|
|
3904
3904
|
]),
|
|
3905
3905
|
(d(!0), u(v, null, $(o.displayedPageNumbers, (i) => (d(), u(v, { key: i }, [
|
|
3906
3906
|
s("li", null, [
|
|
@@ -3909,7 +3909,7 @@ function xi(e, t, r, n, a, o) {
|
|
|
3909
3909
|
href: "#",
|
|
3910
3910
|
onClick: (c) => o.goToPage(i),
|
|
3911
3911
|
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"
|
|
3912
|
-
}, h(i), 9,
|
|
3912
|
+
}, h(i), 9, pi)) : g("", !0)
|
|
3913
3913
|
]),
|
|
3914
3914
|
s("li", null, [
|
|
3915
3915
|
a.currentPage === i ? (d(), u("a", {
|
|
@@ -3918,7 +3918,7 @@ function xi(e, t, r, n, a, o) {
|
|
|
3918
3918
|
onClick: (c) => o.goToPage(i),
|
|
3919
3919
|
"aria-current": "page",
|
|
3920
3920
|
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"
|
|
3921
|
-
}, h(i), 9,
|
|
3921
|
+
}, h(i), 9, _i)) : g("", !0)
|
|
3922
3922
|
])
|
|
3923
3923
|
], 64))), 128)),
|
|
3924
3924
|
s("li", null, [
|
|
@@ -3927,7 +3927,7 @@ function xi(e, t, r, n, a, o) {
|
|
|
3927
3927
|
onClick: t[5] || (t[5] = (...i) => o.nextPage && o.nextPage(...i)),
|
|
3928
3928
|
disabled: a.currentPage === o.totalPages,
|
|
3929
3929
|
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"
|
|
3930
|
-
},
|
|
3930
|
+
}, xi, 8, bi)
|
|
3931
3931
|
])
|
|
3932
3932
|
])
|
|
3933
3933
|
])
|
|
@@ -3936,13 +3936,13 @@ function xi(e, t, r, n, a, o) {
|
|
|
3936
3936
|
])
|
|
3937
3937
|
]);
|
|
3938
3938
|
}
|
|
3939
|
-
const
|
|
3939
|
+
const Pd = /* @__PURE__ */ D(La, [["render", wi]]), ki = {
|
|
3940
3940
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
3941
3941
|
role: "alert"
|
|
3942
|
-
},
|
|
3942
|
+
}, $i = {
|
|
3943
3943
|
key: 0,
|
|
3944
3944
|
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"
|
|
3945
|
-
},
|
|
3945
|
+
}, Ci = /* @__PURE__ */ s("svg", {
|
|
3946
3946
|
class: "w-5 h-5",
|
|
3947
3947
|
"aria-hidden": "true",
|
|
3948
3948
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3950,13 +3950,13 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
3950
3950
|
viewBox: "0 0 20 20"
|
|
3951
3951
|
}, [
|
|
3952
3952
|
/* @__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" })
|
|
3953
|
-
], -1),
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
],
|
|
3953
|
+
], -1), Si = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Oi = [
|
|
3954
|
+
Ci,
|
|
3955
|
+
Si
|
|
3956
|
+
], Di = {
|
|
3957
3957
|
key: 1,
|
|
3958
3958
|
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"
|
|
3959
|
-
},
|
|
3959
|
+
}, Pi = /* @__PURE__ */ s("svg", {
|
|
3960
3960
|
class: "w-5 h-5",
|
|
3961
3961
|
"aria-hidden": "true",
|
|
3962
3962
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3964,13 +3964,13 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
3964
3964
|
viewBox: "0 0 20 20"
|
|
3965
3965
|
}, [
|
|
3966
3966
|
/* @__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" })
|
|
3967
|
-
], -1),
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
],
|
|
3967
|
+
], -1), Ei = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), ji = [
|
|
3968
|
+
Pi,
|
|
3969
|
+
Ei
|
|
3970
|
+
], Ai = {
|
|
3971
3971
|
key: 2,
|
|
3972
3972
|
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"
|
|
3973
|
-
},
|
|
3973
|
+
}, Ii = /* @__PURE__ */ s("svg", {
|
|
3974
3974
|
class: "w-5 h-5",
|
|
3975
3975
|
"aria-hidden": "true",
|
|
3976
3976
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3978,10 +3978,10 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
3978
3978
|
viewBox: "0 0 20 20"
|
|
3979
3979
|
}, [
|
|
3980
3980
|
/* @__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" })
|
|
3981
|
-
], -1),
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
],
|
|
3981
|
+
], -1), Ti = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), Ni = [
|
|
3982
|
+
Ii,
|
|
3983
|
+
Ti
|
|
3984
|
+
], Mi = { class: "ml-3 text-sm font-normal" }, Vi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Li = /* @__PURE__ */ s("svg", {
|
|
3985
3985
|
"aria-hidden": "true",
|
|
3986
3986
|
class: "w-5 h-5",
|
|
3987
3987
|
fill: "currentColor",
|
|
@@ -3993,10 +3993,10 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
3993
3993
|
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",
|
|
3994
3994
|
"clip-rule": "evenodd"
|
|
3995
3995
|
})
|
|
3996
|
-
], -1),
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
],
|
|
3996
|
+
], -1), Bi = [
|
|
3997
|
+
Vi,
|
|
3998
|
+
Li
|
|
3999
|
+
], Gi = {
|
|
4000
4000
|
__name: "ToastListItem",
|
|
4001
4001
|
props: {
|
|
4002
4002
|
message: String,
|
|
@@ -4016,23 +4016,23 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4016
4016
|
setTimeout(() => n("remove"), r.duration);
|
|
4017
4017
|
});
|
|
4018
4018
|
const n = t;
|
|
4019
|
-
return (a, o) => (d(), u("div",
|
|
4020
|
-
r.type === "success" ? (d(), u("div",
|
|
4021
|
-
r.type === "error" ? (d(), u("div",
|
|
4022
|
-
r.type === "warning" ? (d(), u("div",
|
|
4023
|
-
s("div",
|
|
4019
|
+
return (a, o) => (d(), u("div", ki, [
|
|
4020
|
+
r.type === "success" ? (d(), u("div", $i, Oi)) : g("", !0),
|
|
4021
|
+
r.type === "error" ? (d(), u("div", Di, ji)) : g("", !0),
|
|
4022
|
+
r.type === "warning" ? (d(), u("div", Ai, Ni)) : g("", !0),
|
|
4023
|
+
s("div", Mi, h(r.message), 1),
|
|
4024
4024
|
s("button", {
|
|
4025
4025
|
onClick: o[0] || (o[0] = (l) => n("remove")),
|
|
4026
4026
|
type: "button",
|
|
4027
4027
|
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",
|
|
4028
4028
|
"data-dismiss-target": "#toast-default",
|
|
4029
4029
|
"aria-label": "Close"
|
|
4030
|
-
},
|
|
4030
|
+
}, Bi)
|
|
4031
4031
|
]));
|
|
4032
4032
|
}
|
|
4033
4033
|
}, ae = xe({
|
|
4034
4034
|
items: []
|
|
4035
|
-
}),
|
|
4035
|
+
}), Fi = {
|
|
4036
4036
|
add(e) {
|
|
4037
4037
|
ae.items.unshift({
|
|
4038
4038
|
key: Symbol(),
|
|
@@ -4046,14 +4046,14 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4046
4046
|
}
|
|
4047
4047
|
}, ye = {
|
|
4048
4048
|
state: ae,
|
|
4049
|
-
methods:
|
|
4050
|
-
},
|
|
4049
|
+
methods: Fi
|
|
4050
|
+
}, Ed = {
|
|
4051
4051
|
__name: "GlToastList",
|
|
4052
4052
|
setup(e) {
|
|
4053
4053
|
function t(r) {
|
|
4054
4054
|
ye.methods.remove(r);
|
|
4055
4055
|
}
|
|
4056
|
-
return (r, n) => (d(), Z(
|
|
4056
|
+
return (r, n) => (d(), Z(tt, {
|
|
4057
4057
|
tag: "div",
|
|
4058
4058
|
"enter-from-class": "translate-x-full opacity-0",
|
|
4059
4059
|
"enter-active-class": "duration-500",
|
|
@@ -4062,7 +4062,7 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4062
4062
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4063
4063
|
}, {
|
|
4064
4064
|
default: Y(() => [
|
|
4065
|
-
(d(!0), u(v, null, $(
|
|
4065
|
+
(d(!0), u(v, null, $(rt(ye).state.items, (a, o) => (d(), Z(Gi, {
|
|
4066
4066
|
key: a.key,
|
|
4067
4067
|
message: a.message,
|
|
4068
4068
|
type: a.type,
|
|
@@ -4073,10 +4073,10 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4073
4073
|
_: 1
|
|
4074
4074
|
}));
|
|
4075
4075
|
}
|
|
4076
|
-
},
|
|
4076
|
+
}, Ri = {
|
|
4077
4077
|
key: 0,
|
|
4078
4078
|
class: "flex justify-center"
|
|
4079
|
-
},
|
|
4079
|
+
}, Ui = /* @__PURE__ */ s("svg", {
|
|
4080
4080
|
class: "w-5 h-5",
|
|
4081
4081
|
"aria-hidden": "true",
|
|
4082
4082
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4084,12 +4084,12 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4084
4084
|
viewBox: "0 0 4 15"
|
|
4085
4085
|
}, [
|
|
4086
4086
|
/* @__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" })
|
|
4087
|
-
], -1),
|
|
4088
|
-
|
|
4089
|
-
],
|
|
4087
|
+
], -1), qi = [
|
|
4088
|
+
Ui
|
|
4089
|
+
], zi = { 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" }, Hi = {
|
|
4090
4090
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4091
4091
|
"aria-labelledby": "dropdownDividerButton"
|
|
4092
|
-
},
|
|
4092
|
+
}, Zi = { key: 0 }, Ki = ["href"], Wi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), Xi = { key: 1 }, Yi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), jd = {
|
|
4093
4093
|
__name: "DatatableAction",
|
|
4094
4094
|
props: {
|
|
4095
4095
|
field: {
|
|
@@ -4142,30 +4142,30 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4142
4142
|
onConfirmDelete: y,
|
|
4143
4143
|
onCancelDelete: c
|
|
4144
4144
|
}, null, 8, ["isOpen"]),
|
|
4145
|
-
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? P((d(), u("div",
|
|
4145
|
+
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? P((d(), u("div", Ri, [
|
|
4146
4146
|
s("button", {
|
|
4147
4147
|
onClick: i,
|
|
4148
4148
|
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",
|
|
4149
4149
|
type: "button"
|
|
4150
|
-
},
|
|
4151
|
-
P(s("div",
|
|
4152
|
-
s("ul",
|
|
4153
|
-
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4150
|
+
}, qi),
|
|
4151
|
+
P(s("div", zi, [
|
|
4152
|
+
s("ul", Hi, [
|
|
4153
|
+
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Zi, [
|
|
4154
4154
|
s("a", {
|
|
4155
4155
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4156
4156
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4157
4157
|
}, [
|
|
4158
|
-
|
|
4158
|
+
Wi,
|
|
4159
4159
|
w(" Edit")
|
|
4160
|
-
], 8,
|
|
4160
|
+
], 8, Ki)
|
|
4161
4161
|
])) : g("", !0),
|
|
4162
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4162
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Xi, [
|
|
4163
4163
|
s("a", {
|
|
4164
4164
|
href: "#",
|
|
4165
4165
|
onClick: N(f, ["prevent"]),
|
|
4166
4166
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4167
4167
|
}, [
|
|
4168
|
-
|
|
4168
|
+
Yi,
|
|
4169
4169
|
w(" Remove")
|
|
4170
4170
|
])
|
|
4171
4171
|
])) : g("", !0)
|
|
@@ -4179,10 +4179,10 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4179
4179
|
], 64);
|
|
4180
4180
|
};
|
|
4181
4181
|
}
|
|
4182
|
-
},
|
|
4182
|
+
}, Ji = {
|
|
4183
4183
|
key: 0,
|
|
4184
4184
|
class: "flex justify-center"
|
|
4185
|
-
},
|
|
4185
|
+
}, Qi = /* @__PURE__ */ s("svg", {
|
|
4186
4186
|
class: "w-5 h-5",
|
|
4187
4187
|
"aria-hidden": "true",
|
|
4188
4188
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4190,12 +4190,12 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4190
4190
|
viewBox: "0 0 4 15"
|
|
4191
4191
|
}, [
|
|
4192
4192
|
/* @__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" })
|
|
4193
|
-
], -1),
|
|
4194
|
-
|
|
4195
|
-
],
|
|
4193
|
+
], -1), el = [
|
|
4194
|
+
Qi
|
|
4195
|
+
], tl = { 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" }, rl = {
|
|
4196
4196
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4197
4197
|
"aria-labelledby": "dropdownDividerButton"
|
|
4198
|
-
},
|
|
4198
|
+
}, sl = { key: 0 }, nl = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Ad = {
|
|
4199
4199
|
__name: "DatatableDeleteAction",
|
|
4200
4200
|
props: {
|
|
4201
4201
|
field: {
|
|
@@ -4248,21 +4248,21 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4248
4248
|
onConfirmDelete: y,
|
|
4249
4249
|
onCancelDelete: c
|
|
4250
4250
|
}, null, 8, ["isOpen"]),
|
|
4251
|
-
e.row && x.can(`delete_${e.xprops.permission}`) ? P((d(), u("div",
|
|
4251
|
+
e.row && x.can(`delete_${e.xprops.permission}`) ? P((d(), u("div", Ji, [
|
|
4252
4252
|
s("button", {
|
|
4253
4253
|
onClick: i,
|
|
4254
4254
|
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",
|
|
4255
4255
|
type: "button"
|
|
4256
|
-
},
|
|
4257
|
-
P(s("div",
|
|
4258
|
-
s("ul",
|
|
4259
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4256
|
+
}, el),
|
|
4257
|
+
P(s("div", tl, [
|
|
4258
|
+
s("ul", rl, [
|
|
4259
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", sl, [
|
|
4260
4260
|
s("a", {
|
|
4261
4261
|
href: "#",
|
|
4262
4262
|
onClick: N(f, ["prevent"]),
|
|
4263
4263
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4264
4264
|
}, [
|
|
4265
|
-
|
|
4265
|
+
nl,
|
|
4266
4266
|
w(" Remove")
|
|
4267
4267
|
])
|
|
4268
4268
|
])) : g("", !0)
|
|
@@ -4276,7 +4276,7 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4276
4276
|
], 64);
|
|
4277
4277
|
};
|
|
4278
4278
|
}
|
|
4279
|
-
},
|
|
4279
|
+
}, ol = {
|
|
4280
4280
|
props: ["field", "row"],
|
|
4281
4281
|
computed: {
|
|
4282
4282
|
isArray() {
|
|
@@ -4292,7 +4292,7 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4292
4292
|
mounted() {
|
|
4293
4293
|
console.log("row : ", this.row);
|
|
4294
4294
|
}
|
|
4295
|
-
},
|
|
4295
|
+
}, al = ["href", "title"], il = /* @__PURE__ */ s("svg", {
|
|
4296
4296
|
class: "w-3 h-3 text-white me-2",
|
|
4297
4297
|
"aria-hidden": "true",
|
|
4298
4298
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4309,10 +4309,10 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4309
4309
|
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",
|
|
4310
4310
|
"clip-rule": "evenodd"
|
|
4311
4311
|
})
|
|
4312
|
-
], -1),
|
|
4312
|
+
], -1), ll = {
|
|
4313
4313
|
key: 1,
|
|
4314
4314
|
class: "m-1 d-inline-block"
|
|
4315
|
-
},
|
|
4315
|
+
}, dl = ["href", "title"], ul = /* @__PURE__ */ s("svg", {
|
|
4316
4316
|
class: "w-3 h-3 text-white me-2",
|
|
4317
4317
|
"aria-hidden": "true",
|
|
4318
4318
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4330,7 +4330,7 @@ const Dd = /* @__PURE__ */ D(Va, [["render", xi]]), wi = {
|
|
|
4330
4330
|
"clip-rule": "evenodd"
|
|
4331
4331
|
})
|
|
4332
4332
|
], -1);
|
|
4333
|
-
function
|
|
4333
|
+
function cl(e, t, r, n, a, o) {
|
|
4334
4334
|
return d(), u("div", null, [
|
|
4335
4335
|
o.isArray ? (d(!0), u(v, { key: 0 }, $(r.row, (l, i) => (d(), u("div", {
|
|
4336
4336
|
key: i,
|
|
@@ -4342,23 +4342,23 @@ function ul(e, t, r, n, a, o) {
|
|
|
4342
4342
|
target: "_blank",
|
|
4343
4343
|
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"
|
|
4344
4344
|
}, [
|
|
4345
|
-
|
|
4345
|
+
il,
|
|
4346
4346
|
w(" Download ")
|
|
4347
|
-
], 8,
|
|
4348
|
-
]))), 128)) : o.isString ? (d(), u("div",
|
|
4347
|
+
], 8, al)
|
|
4348
|
+
]))), 128)) : o.isString ? (d(), u("div", ll, [
|
|
4349
4349
|
s("a", {
|
|
4350
4350
|
href: r.row,
|
|
4351
4351
|
title: r.row,
|
|
4352
4352
|
target: "_blank",
|
|
4353
4353
|
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"
|
|
4354
4354
|
}, [
|
|
4355
|
-
|
|
4355
|
+
ul,
|
|
4356
4356
|
w(" Download ")
|
|
4357
|
-
], 8,
|
|
4357
|
+
], 8, dl)
|
|
4358
4358
|
])) : g("", !0)
|
|
4359
4359
|
]);
|
|
4360
4360
|
}
|
|
4361
|
-
const
|
|
4361
|
+
const Id = /* @__PURE__ */ D(ol, [["render", cl]]), fl = {
|
|
4362
4362
|
props: ["field", "row"],
|
|
4363
4363
|
computed: {
|
|
4364
4364
|
isArray() {
|
|
@@ -4368,7 +4368,7 @@ const Ad = /* @__PURE__ */ D(nl, [["render", ul]]), cl = {
|
|
|
4368
4368
|
return typeof this.row[this.field] == "object";
|
|
4369
4369
|
}
|
|
4370
4370
|
}
|
|
4371
|
-
},
|
|
4371
|
+
}, hl = ["href", "title"], gl = /* @__PURE__ */ s("svg", {
|
|
4372
4372
|
class: "w-3 h-3 text-white me-2",
|
|
4373
4373
|
"aria-hidden": "true",
|
|
4374
4374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4385,10 +4385,10 @@ const Ad = /* @__PURE__ */ D(nl, [["render", ul]]), cl = {
|
|
|
4385
4385
|
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",
|
|
4386
4386
|
"clip-rule": "evenodd"
|
|
4387
4387
|
})
|
|
4388
|
-
], -1),
|
|
4388
|
+
], -1), ml = {
|
|
4389
4389
|
key: 1,
|
|
4390
4390
|
class: "m-1 d-inline-block"
|
|
4391
|
-
},
|
|
4391
|
+
}, pl = ["href", "title"], _l = /* @__PURE__ */ s("svg", {
|
|
4392
4392
|
class: "w-3 h-3 text-white me-2",
|
|
4393
4393
|
"aria-hidden": "true",
|
|
4394
4394
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4406,7 +4406,7 @@ const Ad = /* @__PURE__ */ D(nl, [["render", ul]]), cl = {
|
|
|
4406
4406
|
"clip-rule": "evenodd"
|
|
4407
4407
|
})
|
|
4408
4408
|
], -1);
|
|
4409
|
-
function
|
|
4409
|
+
function bl(e, t, r, n, a, o) {
|
|
4410
4410
|
return d(), u("div", null, [
|
|
4411
4411
|
o.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[r.field], (l) => (d(), u("div", {
|
|
4412
4412
|
key: l.id,
|
|
@@ -4418,39 +4418,39 @@ function _l(e, t, r, n, a, o) {
|
|
|
4418
4418
|
target: "_blank",
|
|
4419
4419
|
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"
|
|
4420
4420
|
}, [
|
|
4421
|
-
|
|
4421
|
+
gl,
|
|
4422
4422
|
w(" Download ")
|
|
4423
|
-
], 8,
|
|
4424
|
-
]))), 128)) : o.isObject ? (d(), u("div",
|
|
4423
|
+
], 8, hl)
|
|
4424
|
+
]))), 128)) : o.isObject ? (d(), u("div", ml, [
|
|
4425
4425
|
s("a", {
|
|
4426
4426
|
href: r.row[r.field].url,
|
|
4427
4427
|
title: r.row[r.field].name,
|
|
4428
4428
|
target: "_blank",
|
|
4429
4429
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4430
4430
|
}, [
|
|
4431
|
-
|
|
4431
|
+
_l,
|
|
4432
4432
|
w(" Download ")
|
|
4433
|
-
], 8,
|
|
4433
|
+
], 8, pl)
|
|
4434
4434
|
])) : g("", !0)
|
|
4435
4435
|
]);
|
|
4436
4436
|
}
|
|
4437
|
-
const
|
|
4437
|
+
const Td = /* @__PURE__ */ D(fl, [["render", bl]]), yl = {
|
|
4438
4438
|
props: ["field", "row", "tdProps"]
|
|
4439
|
-
},
|
|
4440
|
-
function
|
|
4441
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4439
|
+
}, vl = { key: 0 }, xl = ["innerHTML"];
|
|
4440
|
+
function wl(e, t, r, n, a, o) {
|
|
4441
|
+
return r.row[r.field] ? (d(), u("div", vl, [
|
|
4442
4442
|
s("div", {
|
|
4443
4443
|
class: "w-full",
|
|
4444
4444
|
innerHTML: r.row[r.field]
|
|
4445
|
-
}, null, 8,
|
|
4445
|
+
}, null, 8, xl)
|
|
4446
4446
|
])) : g("", !0);
|
|
4447
4447
|
}
|
|
4448
|
-
const
|
|
4448
|
+
const Nd = /* @__PURE__ */ D(yl, [["render", wl]]), kl = {
|
|
4449
4449
|
props: ["field", "row", "tdProps"],
|
|
4450
4450
|
computed: {
|
|
4451
4451
|
entry() {
|
|
4452
4452
|
const [e, t] = this.field.split(".");
|
|
4453
|
-
return
|
|
4453
|
+
return st({ key: e, field: t });
|
|
4454
4454
|
},
|
|
4455
4455
|
isArray() {
|
|
4456
4456
|
return Array.isArray(this.row[this.entry.key]);
|
|
@@ -4459,24 +4459,24 @@ const Td = /* @__PURE__ */ D(bl, [["render", xl]]), wl = {
|
|
|
4459
4459
|
return typeof this.row[this.entry.key] == "object";
|
|
4460
4460
|
}
|
|
4461
4461
|
}
|
|
4462
|
-
},
|
|
4462
|
+
}, $l = { class: "flex flex-wrap gap-2" }, Cl = {
|
|
4463
4463
|
key: 1,
|
|
4464
4464
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4465
4465
|
};
|
|
4466
|
-
function
|
|
4467
|
-
return d(), u("div",
|
|
4466
|
+
function Sl(e, t, r, n, a, o) {
|
|
4467
|
+
return d(), u("div", $l, [
|
|
4468
4468
|
o.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[o.entry.key], (l, i) => (d(), u("span", {
|
|
4469
4469
|
key: i,
|
|
4470
4470
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4471
|
-
}, h(l[o.entry.field]), 1))), 128)) : o.isObject ? (d(), u("span",
|
|
4471
|
+
}, h(l[o.entry.field]), 1))), 128)) : o.isObject ? (d(), u("span", Cl, h(r.row[o.entry.key][o.entry.field]), 1)) : g("", !0)
|
|
4472
4472
|
]);
|
|
4473
4473
|
}
|
|
4474
|
-
const
|
|
4474
|
+
const Md = /* @__PURE__ */ D(kl, [["render", Sl]]), Ol = {
|
|
4475
4475
|
props: ["field", "row", "tdProps"]
|
|
4476
|
-
},
|
|
4477
|
-
function
|
|
4478
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4479
|
-
s("div",
|
|
4476
|
+
}, Dl = { key: 0 }, Pl = { class: "m-1 d-inline-block" }, El = ["href", "title"], jl = ["src", "alt", "title"];
|
|
4477
|
+
function Al(e, t, r, n, a, o) {
|
|
4478
|
+
return r.row[r.field] ? (d(), u("div", Dl, [
|
|
4479
|
+
s("div", Pl, [
|
|
4480
4480
|
s("a", {
|
|
4481
4481
|
href: r.row[r.field].url,
|
|
4482
4482
|
title: r.row[r.field].name,
|
|
@@ -4486,37 +4486,37 @@ function jl(e, t, r, n, a, o) {
|
|
|
4486
4486
|
src: r.row[r.field].thumbnail,
|
|
4487
4487
|
alt: r.row[r.field].name,
|
|
4488
4488
|
title: r.row[r.field].name
|
|
4489
|
-
}, null, 8,
|
|
4490
|
-
], 8,
|
|
4489
|
+
}, null, 8, jl)
|
|
4490
|
+
], 8, El)
|
|
4491
4491
|
])
|
|
4492
4492
|
])) : g("", !0);
|
|
4493
4493
|
}
|
|
4494
|
-
const
|
|
4494
|
+
const Vd = /* @__PURE__ */ D(Ol, [["render", Al], ["__scopeId", "data-v-3a28c02c"]]), Il = {
|
|
4495
4495
|
props: ["field", "row", "tdProps"],
|
|
4496
4496
|
computed: {
|
|
4497
4497
|
isActive() {
|
|
4498
4498
|
return this.row[this.field] === 1;
|
|
4499
4499
|
}
|
|
4500
4500
|
}
|
|
4501
|
-
},
|
|
4501
|
+
}, Tl = { class: "flex flex-wrap gap-2" }, Nl = {
|
|
4502
4502
|
key: 0,
|
|
4503
4503
|
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"
|
|
4504
|
-
},
|
|
4504
|
+
}, Ml = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Vl = {
|
|
4505
4505
|
key: 1,
|
|
4506
4506
|
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"
|
|
4507
|
-
},
|
|
4508
|
-
function
|
|
4509
|
-
return d(), u("div",
|
|
4510
|
-
o.isActive ? (d(), u("span",
|
|
4511
|
-
|
|
4507
|
+
}, Ll = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
4508
|
+
function Bl(e, t, r, n, a, o) {
|
|
4509
|
+
return d(), u("div", Tl, [
|
|
4510
|
+
o.isActive ? (d(), u("span", Nl, [
|
|
4511
|
+
Ml,
|
|
4512
4512
|
w(" Active ")
|
|
4513
|
-
])) : o.isActive ? g("", !0) : (d(), u("span",
|
|
4514
|
-
|
|
4513
|
+
])) : o.isActive ? g("", !0) : (d(), u("span", Vl, [
|
|
4514
|
+
Ll,
|
|
4515
4515
|
w(" Inactive ")
|
|
4516
4516
|
]))
|
|
4517
4517
|
]);
|
|
4518
4518
|
}
|
|
4519
|
-
const
|
|
4519
|
+
const Ld = /* @__PURE__ */ D(Il, [["render", Bl]]), Gl = {
|
|
4520
4520
|
props: ["field", "row", "tdProps"],
|
|
4521
4521
|
computed: {
|
|
4522
4522
|
hasLabelColor(e) {
|
|
@@ -4524,40 +4524,40 @@ const Vd = /* @__PURE__ */ D(Al, [["render", Ll]]), Bl = {
|
|
|
4524
4524
|
return t ? t.class : "";
|
|
4525
4525
|
}
|
|
4526
4526
|
}
|
|
4527
|
-
},
|
|
4527
|
+
}, Fl = { class: "flex flex-wrap gap-2" }, Rl = {
|
|
4528
4528
|
key: 0,
|
|
4529
4529
|
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"
|
|
4530
|
-
},
|
|
4530
|
+
}, Ul = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), ql = {
|
|
4531
4531
|
key: 1,
|
|
4532
4532
|
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"
|
|
4533
|
-
},
|
|
4533
|
+
}, zl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), Hl = {
|
|
4534
4534
|
key: 2,
|
|
4535
4535
|
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"
|
|
4536
|
-
},
|
|
4536
|
+
}, Zl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), Kl = {
|
|
4537
4537
|
key: 3,
|
|
4538
4538
|
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"
|
|
4539
|
-
},
|
|
4540
|
-
function
|
|
4541
|
-
return d(), u("div",
|
|
4542
|
-
o.hasLabelColor == "green" ? (d(), u("span",
|
|
4543
|
-
|
|
4539
|
+
}, Wl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1);
|
|
4540
|
+
function Xl(e, t, r, n, a, o) {
|
|
4541
|
+
return d(), u("div", Fl, [
|
|
4542
|
+
o.hasLabelColor == "green" ? (d(), u("span", Rl, [
|
|
4543
|
+
Ul,
|
|
4544
4544
|
w(" " + h(this.row[this.field]), 1)
|
|
4545
4545
|
])) : g("", !0),
|
|
4546
|
-
o.hasLabelColor == "red" ? (d(), u("span",
|
|
4547
|
-
|
|
4546
|
+
o.hasLabelColor == "red" ? (d(), u("span", ql, [
|
|
4547
|
+
zl,
|
|
4548
4548
|
w(" " + h(this.row[this.field]), 1)
|
|
4549
4549
|
])) : g("", !0),
|
|
4550
|
-
o.hasLabelColor == "yellow" ? (d(), u("span",
|
|
4551
|
-
|
|
4550
|
+
o.hasLabelColor == "yellow" ? (d(), u("span", Hl, [
|
|
4551
|
+
Zl,
|
|
4552
4552
|
w(" " + h(this.row[this.field]), 1)
|
|
4553
4553
|
])) : g("", !0),
|
|
4554
|
-
o.hasLabelColor == "default" ? (d(), u("span",
|
|
4555
|
-
|
|
4554
|
+
o.hasLabelColor == "default" ? (d(), u("span", Kl, [
|
|
4555
|
+
Wl,
|
|
4556
4556
|
w(" " + h(this.row[this.field]), 1)
|
|
4557
4557
|
])) : g("", !0)
|
|
4558
4558
|
]);
|
|
4559
4559
|
}
|
|
4560
|
-
const
|
|
4560
|
+
const Bd = /* @__PURE__ */ D(Gl, [["render", Xl]]), Yl = {
|
|
4561
4561
|
props: ["isOpen", "title", "button_text"],
|
|
4562
4562
|
methods: {
|
|
4563
4563
|
confirmAction() {
|
|
@@ -4567,35 +4567,35 @@ const Ld = /* @__PURE__ */ D(Bl, [["render", Wl]]), Xl = {
|
|
|
4567
4567
|
this.$emit("cancel-action");
|
|
4568
4568
|
}
|
|
4569
4569
|
}
|
|
4570
|
-
},
|
|
4570
|
+
}, Jl = {
|
|
4571
4571
|
key: 0,
|
|
4572
4572
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4573
4573
|
role: "dialog",
|
|
4574
4574
|
"aria-modal": "true"
|
|
4575
|
-
},
|
|
4575
|
+
}, Ql = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, ed = /* @__PURE__ */ s("div", {
|
|
4576
4576
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4577
4577
|
"aria-hidden": "true"
|
|
4578
|
-
}, null, -1),
|
|
4578
|
+
}, null, -1), td = /* @__PURE__ */ s("span", {
|
|
4579
4579
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4580
4580
|
"aria-hidden": "true"
|
|
4581
|
-
}, "", -1),
|
|
4582
|
-
function
|
|
4583
|
-
return r.isOpen ? (d(), u("div",
|
|
4584
|
-
s("div",
|
|
4585
|
-
Ql,
|
|
4581
|
+
}, "", -1), rd = { 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" }, sd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, nd = { class: "sm:flex sm:items-start" }, od = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, ad = { class: "text-lg font-medium leading-6 text-gray-900" }, id = { class: "mt-2" }, ld = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4582
|
+
function dd(e, t, r, n, a, o) {
|
|
4583
|
+
return r.isOpen ? (d(), u("div", Jl, [
|
|
4584
|
+
s("div", Ql, [
|
|
4586
4585
|
ed,
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
s("
|
|
4586
|
+
td,
|
|
4587
|
+
s("div", rd, [
|
|
4588
|
+
s("div", sd, [
|
|
4589
|
+
s("div", nd, [
|
|
4590
|
+
s("div", od, [
|
|
4591
|
+
s("h3", ad, h(r.title), 1),
|
|
4592
|
+
s("div", id, [
|
|
4593
4593
|
A(e.$slots, "default")
|
|
4594
4594
|
])
|
|
4595
4595
|
])
|
|
4596
4596
|
])
|
|
4597
4597
|
]),
|
|
4598
|
-
s("div",
|
|
4598
|
+
s("div", ld, [
|
|
4599
4599
|
s("button", {
|
|
4600
4600
|
onClick: t[0] || (t[0] = (...l) => o.confirmAction && o.confirmAction(...l)),
|
|
4601
4601
|
type: "button",
|
|
@@ -4611,39 +4611,39 @@ function ld(e, t, r, n, a, o) {
|
|
|
4611
4611
|
])
|
|
4612
4612
|
])) : g("", !0);
|
|
4613
4613
|
}
|
|
4614
|
-
const
|
|
4614
|
+
const Gd = /* @__PURE__ */ D(Yl, [["render", dd]]);
|
|
4615
4615
|
export {
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4616
|
+
pd as GlButton,
|
|
4617
|
+
gd as GlCard,
|
|
4618
|
+
Gd as GlConfirmationModal,
|
|
4619
|
+
Pd as GlDataTable,
|
|
4620
|
+
Dd as GlDataTableServerSide,
|
|
4621
|
+
jd as GlDatatableAction,
|
|
4622
|
+
Ad as GlDatatableDeleteAction,
|
|
4623
|
+
Id as GlDatatableFileDownload,
|
|
4624
|
+
Td as GlDatatableFiles,
|
|
4625
|
+
Nd as GlDatatableHtml,
|
|
4626
|
+
Md as GlDatatableList,
|
|
4627
|
+
Vd as GlDatatablePicture,
|
|
4628
|
+
Ld as GlDatatableStatus,
|
|
4629
|
+
Bd as GlDatatableStatusGeneral,
|
|
4630
4630
|
ie as GlDeleteConfirmationModal,
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4631
|
+
Sd as GlDropdown,
|
|
4632
|
+
cd as GlFilesUpload,
|
|
4633
|
+
hd as GlLanguageSelector,
|
|
4634
|
+
$d as GlModal,
|
|
4635
|
+
kd as GlMultiItemSlide,
|
|
4636
|
+
md as GlMultiSelectDropdown,
|
|
4637
|
+
fd as GlNotify,
|
|
4638
|
+
wd as GlTab,
|
|
4639
|
+
xd as GlTabsWrapper,
|
|
4640
|
+
pa as GlTailwindPagination,
|
|
4641
|
+
vd as GlTextInput,
|
|
4642
|
+
yd as GlTextTranslate,
|
|
4643
|
+
Od as GlTextarea,
|
|
4644
|
+
_d as GlTextareaTranslate,
|
|
4645
|
+
bd as GlTinymceTranslate,
|
|
4646
4646
|
ye as GlToast,
|
|
4647
|
-
|
|
4648
|
-
|
|
4647
|
+
Ed as GlToastList,
|
|
4648
|
+
Cd as GlToggleBox
|
|
4649
4649
|
};
|