golden-logic-ui 1.0.113 → 1.0.115
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 +784 -774
- package/dist/golden-logic-ui.umd.cjs +3 -3
- 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 r, createCommentVNode as f, createStaticVNode as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as r, createCommentVNode as f, createStaticVNode as Je, inject as Ce, watch as Y, effectScope as Qe, computed as N, reactive as Se, resolveComponent as X, Fragment as v, createVNode as z, normalizeClass as b, toDisplayString as g, withModifiers as V, withDirectives as O, vModelText as L, renderList as C, normalizeStyle as et, renderSlot as T, createTextVNode as w, vShow as Z, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as $, onMounted as F, vModelDynamic as tt, provide as rt, pushScopeId as st, popScopeId as at, vModelCheckbox as nt, nextTick as ot, toHandlers as ae, TransitionGroup as lt, unref as it, resolveDirective as De, markRaw as dt } from "vue";
|
|
2
2
|
const k = (e, t) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
5
5
|
s[n] = o;
|
|
6
6
|
return s;
|
|
7
|
-
},
|
|
7
|
+
}, ut = {
|
|
8
8
|
props: ["isOpen"],
|
|
9
9
|
methods: {
|
|
10
10
|
confirmDeletion() {
|
|
@@ -14,27 +14,27 @@ const k = (e, t) => {
|
|
|
14
14
|
this.$emit("cancel-delete");
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
},
|
|
17
|
+
}, ct = {
|
|
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
|
+
}, ft = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, gt = /* @__PURE__ */ r("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), ht = /* @__PURE__ */ r("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 s.isOpen ? (d(), u("div",
|
|
32
|
-
r("div",
|
|
29
|
+
}, "", -1), mt = { 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" }, bt = /* @__PURE__ */ Je('<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), pt = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
30
|
+
function yt(e, t, s, n, o, a) {
|
|
31
|
+
return s.isOpen ? (d(), u("div", ct, [
|
|
32
|
+
r("div", ft, [
|
|
33
|
+
gt,
|
|
33
34
|
ht,
|
|
34
|
-
mt,
|
|
35
|
-
|
|
36
|
-
pt,
|
|
37
|
-
r("div", yt, [
|
|
35
|
+
r("div", mt, [
|
|
36
|
+
bt,
|
|
37
|
+
r("div", pt, [
|
|
38
38
|
r("button", {
|
|
39
39
|
onClick: t[0] || (t[0] = (...i) => a.confirmDeletion && a.confirmDeletion(...i)),
|
|
40
40
|
type: "button",
|
|
@@ -50,23 +50,23 @@ function _t(e, t, s, n, o, a) {
|
|
|
50
50
|
])
|
|
51
51
|
])) : f("", !0);
|
|
52
52
|
}
|
|
53
|
-
const ue = /* @__PURE__ */ k(
|
|
54
|
-
function
|
|
55
|
-
return
|
|
53
|
+
const ue = /* @__PURE__ */ k(ut, [["render", yt]]);
|
|
54
|
+
function _t() {
|
|
55
|
+
return Oe().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Oe() {
|
|
58
58
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const vt = typeof Proxy == "function", xt = "devtools-plugin:setup", wt = "plugin:settings:set";
|
|
61
61
|
let q, le;
|
|
62
|
-
function
|
|
62
|
+
function kt() {
|
|
63
63
|
var e;
|
|
64
64
|
return q !== void 0 || (typeof window < "u" && window.performance ? (q = !0, le = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (q = !0, le = globalThis.perf_hooks.performance) : q = !1), q;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
return
|
|
66
|
+
function $t() {
|
|
67
|
+
return kt() ? le.now() : Date.now();
|
|
68
68
|
}
|
|
69
|
-
class
|
|
69
|
+
class Ct {
|
|
70
70
|
constructor(t, s) {
|
|
71
71
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = s;
|
|
72
72
|
const n = {};
|
|
@@ -94,9 +94,9 @@ class St {
|
|
|
94
94
|
a = i;
|
|
95
95
|
},
|
|
96
96
|
now() {
|
|
97
|
-
return
|
|
97
|
+
return $t();
|
|
98
98
|
}
|
|
99
|
-
}, s && s.on(
|
|
99
|
+
}, s && s.on(wt, (i, l) => {
|
|
100
100
|
i === this.plugin.id && this.fallbacks.setSettings(l);
|
|
101
101
|
}), this.proxiedOn = new Proxy({}, {
|
|
102
102
|
get: (i, l) => this.target ? this.target.on[l] : (...c) => {
|
|
@@ -128,12 +128,12 @@ class St {
|
|
|
128
128
|
s.resolve(await this.target[s.method](...s.args));
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
const s = e, n =
|
|
131
|
+
function St(e, t) {
|
|
132
|
+
const s = e, n = Oe(), o = _t(), a = vt && s.enableEarlyProxy;
|
|
133
133
|
if (o && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
|
|
134
|
-
o.emit(
|
|
134
|
+
o.emit(xt, e, t);
|
|
135
135
|
else {
|
|
136
|
-
const i = a ? new
|
|
136
|
+
const i = a ? new Ct(s, o) : null;
|
|
137
137
|
(n.__VUE_DEVTOOLS_PLUGINS__ = n.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
138
138
|
pluginDescriptor: s,
|
|
139
139
|
setupFn: t,
|
|
@@ -146,9 +146,9 @@ function Dt(e, t) {
|
|
|
146
146
|
* (c) 2022 Evan You
|
|
147
147
|
* @license MIT
|
|
148
148
|
*/
|
|
149
|
-
var
|
|
150
|
-
function
|
|
151
|
-
return e === void 0 && (e = null), Ce(e !== null ? e :
|
|
149
|
+
var Pe = "store";
|
|
150
|
+
function Ee(e) {
|
|
151
|
+
return e === void 0 && (e = null), Ce(e !== null ? e : Pe);
|
|
152
152
|
}
|
|
153
153
|
function R(e, t) {
|
|
154
154
|
Object.keys(e).forEach(function(s) {
|
|
@@ -158,25 +158,25 @@ function R(e, t) {
|
|
|
158
158
|
function je(e) {
|
|
159
159
|
return e !== null && typeof e == "object";
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Dt(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 Ot(e, t) {
|
|
169
169
|
return function() {
|
|
170
170
|
return e(t);
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Ae(e, t, s) {
|
|
174
174
|
return t.indexOf(e) < 0 && (s && s.prepend ? t.unshift(e) : t.push(e)), function() {
|
|
175
175
|
var n = t.indexOf(e);
|
|
176
176
|
n > -1 && t.splice(n, 1);
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Te(e, t) {
|
|
180
180
|
e._actions = /* @__PURE__ */ Object.create(null), e._mutations = /* @__PURE__ */ Object.create(null), e._wrappedGetters = /* @__PURE__ */ Object.create(null), e._modulesNamespaceMap = /* @__PURE__ */ Object.create(null);
|
|
181
181
|
var s = e.state;
|
|
182
182
|
ee(e, s, [], e._modules.root, !0), ce(e, s, t);
|
|
@@ -184,10 +184,10 @@ function Ie(e, t) {
|
|
|
184
184
|
function ce(e, t, s) {
|
|
185
185
|
var n = e._state, o = e._scope;
|
|
186
186
|
e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
187
|
-
var a = e._wrappedGetters, i = {}, l = {}, c =
|
|
187
|
+
var a = e._wrappedGetters, i = {}, l = {}, c = Qe(!0);
|
|
188
188
|
c.run(function() {
|
|
189
189
|
R(a, function(h, m) {
|
|
190
|
-
i[m] =
|
|
190
|
+
i[m] = Ot(h, e), l[m] = N(function() {
|
|
191
191
|
return i[m]();
|
|
192
192
|
}), Object.defineProperty(e.getters, m, {
|
|
193
193
|
get: function() {
|
|
@@ -199,7 +199,7 @@ function ce(e, t, s) {
|
|
|
199
199
|
});
|
|
200
200
|
}), e._state = Se({
|
|
201
201
|
data: t
|
|
202
|
-
}), e._scope = c, e.strict &&
|
|
202
|
+
}), e._scope = c, e.strict && Tt(e), n && s && e._withCommit(function() {
|
|
203
203
|
n.data = null;
|
|
204
204
|
}), o && o.stop();
|
|
205
205
|
}
|
|
@@ -213,21 +213,21 @@ function ee(e, t, s, n, o) {
|
|
|
213
213
|
), l[c] = n.state;
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
var h = n.context =
|
|
216
|
+
var h = n.context = Pt(e, i, s);
|
|
217
217
|
n.forEachMutation(function(m, y) {
|
|
218
218
|
var x = i + y;
|
|
219
|
-
|
|
219
|
+
Et(e, x, m, h);
|
|
220
220
|
}), n.forEachAction(function(m, y) {
|
|
221
221
|
var x = m.root ? y : i + y, S = m.handler || m;
|
|
222
222
|
jt(e, x, S, h);
|
|
223
223
|
}), n.forEachGetter(function(m, y) {
|
|
224
224
|
var x = i + y;
|
|
225
|
-
|
|
225
|
+
At(e, x, m, h);
|
|
226
226
|
}), n.forEachChild(function(m, y) {
|
|
227
227
|
ee(e, t, s.concat(y), m, o);
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Pt(e, t, s) {
|
|
231
231
|
var n = t === "", o = {
|
|
232
232
|
dispatch: n ? e.dispatch : function(a, i, l) {
|
|
233
233
|
var c = Q(a, i, l), h = c.payload, m = c.options, y = c.type;
|
|
@@ -251,7 +251,7 @@ function Et(e, t, s) {
|
|
|
251
251
|
get: n ? function() {
|
|
252
252
|
return e.getters;
|
|
253
253
|
} : function() {
|
|
254
|
-
return
|
|
254
|
+
return Ie(e, t);
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
state: {
|
|
@@ -261,7 +261,7 @@ function Et(e, t, s) {
|
|
|
261
261
|
}
|
|
262
262
|
}), o;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Ie(e, t) {
|
|
265
265
|
if (!e._makeLocalGettersCache[t]) {
|
|
266
266
|
var s = {}, n = t.length;
|
|
267
267
|
Object.keys(e.getters).forEach(function(o) {
|
|
@@ -278,7 +278,7 @@ function Me(e, t) {
|
|
|
278
278
|
}
|
|
279
279
|
return e._makeLocalGettersCache[t];
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function Et(e, t, s, n) {
|
|
282
282
|
var o = e._mutations[t] || (e._mutations[t] = []);
|
|
283
283
|
o.push(function(i) {
|
|
284
284
|
s.call(e, n.state, i);
|
|
@@ -295,12 +295,12 @@ function jt(e, t, s, n) {
|
|
|
295
295
|
rootGetters: e.getters,
|
|
296
296
|
rootState: e.state
|
|
297
297
|
}, i);
|
|
298
|
-
return
|
|
298
|
+
return Dt(l) || (l = Promise.resolve(l)), e._devtoolHook ? l.catch(function(c) {
|
|
299
299
|
throw e._devtoolHook.emit("vuex:error", c), c;
|
|
300
300
|
}) : l;
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function At(e, t, s, n) {
|
|
304
304
|
if (e._wrappedGetters[t]) {
|
|
305
305
|
process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate getter key: " + t);
|
|
306
306
|
return;
|
|
@@ -318,7 +318,7 @@ function Tt(e, t, s, n) {
|
|
|
318
318
|
);
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Tt(e) {
|
|
322
322
|
Y(function() {
|
|
323
323
|
return e._state.data;
|
|
324
324
|
}, function() {
|
|
@@ -333,9 +333,9 @@ function fe(e, t) {
|
|
|
333
333
|
function Q(e, t, s) {
|
|
334
334
|
return je(e) && e.type && (s = 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: s };
|
|
335
335
|
}
|
|
336
|
-
var
|
|
337
|
-
function
|
|
338
|
-
|
|
336
|
+
var It = "vuex bindings", ve = "vuex:mutations", ne = "vuex:actions", H = "vuex", Mt = 0;
|
|
337
|
+
function Nt(e, t) {
|
|
338
|
+
St(
|
|
339
339
|
{
|
|
340
340
|
id: "org.vuejs.vuex",
|
|
341
341
|
app: e,
|
|
@@ -343,7 +343,7 @@ function Vt(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: [It]
|
|
347
347
|
},
|
|
348
348
|
function(s) {
|
|
349
349
|
s.addTimelineLayer({
|
|
@@ -363,16 +363,16 @@ function Vt(e, t) {
|
|
|
363
363
|
if (n.app === e && n.inspectorId === H)
|
|
364
364
|
if (n.filter) {
|
|
365
365
|
var o = [];
|
|
366
|
-
|
|
366
|
+
Le(o, t._modules.root, n.filter, ""), n.rootNodes = o;
|
|
367
367
|
} else
|
|
368
368
|
n.rootNodes = [
|
|
369
|
-
|
|
369
|
+
Ve(t._modules.root, "")
|
|
370
370
|
];
|
|
371
371
|
}), s.on.getInspectorState(function(n) {
|
|
372
372
|
if (n.app === e && n.inspectorId === H) {
|
|
373
373
|
var o = n.nodeId;
|
|
374
|
-
|
|
375
|
-
|
|
374
|
+
Ie(t, o), n.state = Bt(
|
|
375
|
+
Ft(t._modules, o),
|
|
376
376
|
o === "root" ? t.getters : t._makeLocalGettersCache,
|
|
377
377
|
o
|
|
378
378
|
);
|
|
@@ -397,7 +397,7 @@ function Vt(e, t) {
|
|
|
397
397
|
}), t.subscribeAction({
|
|
398
398
|
before: function(n, o) {
|
|
399
399
|
var a = {};
|
|
400
|
-
n.payload && (a.payload = n.payload), n._id =
|
|
400
|
+
n.payload && (a.payload = n.payload), n._id = Mt++, n._time = Date.now(), a.state = o, s.addTimelineEvent({
|
|
401
401
|
layerId: ne,
|
|
402
402
|
event: {
|
|
403
403
|
time: n._time,
|
|
@@ -432,25 +432,25 @@ function Vt(e, t) {
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
-
var xe = 8702998,
|
|
435
|
+
var xe = 8702998, Vt = 6710886, Lt = 16777215, Me = {
|
|
436
436
|
label: "namespaced",
|
|
437
|
-
textColor:
|
|
438
|
-
backgroundColor:
|
|
437
|
+
textColor: Lt,
|
|
438
|
+
backgroundColor: Vt
|
|
439
439
|
};
|
|
440
|
-
function
|
|
440
|
+
function Ne(e) {
|
|
441
441
|
return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function Ve(e, t) {
|
|
444
444
|
return {
|
|
445
445
|
id: t || "root",
|
|
446
446
|
// all modules end with a `/`, we want the last segment only
|
|
447
447
|
// cart/ -> cart
|
|
448
448
|
// nested/cart/ -> cart
|
|
449
|
-
label:
|
|
450
|
-
tags: e.namespaced ? [
|
|
449
|
+
label: Ne(t),
|
|
450
|
+
tags: e.namespaced ? [Me] : [],
|
|
451
451
|
children: Object.keys(e._children).map(
|
|
452
452
|
function(s) {
|
|
453
|
-
return
|
|
453
|
+
return Ve(
|
|
454
454
|
e._children[s],
|
|
455
455
|
t + s + "/"
|
|
456
456
|
);
|
|
@@ -458,16 +458,16 @@ function Le(e, t) {
|
|
|
458
458
|
)
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function Le(e, t, s, n) {
|
|
462
462
|
n.includes(s) && e.push({
|
|
463
463
|
id: n || "root",
|
|
464
464
|
label: n.endsWith("/") ? n.slice(0, n.length - 1) : n || "Root",
|
|
465
|
-
tags: t.namespaced ? [
|
|
465
|
+
tags: t.namespaced ? [Me] : []
|
|
466
466
|
}), Object.keys(t._children).forEach(function(o) {
|
|
467
|
-
|
|
467
|
+
Le(e, t._children[o], s, n + o + "/");
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Bt(e, t, s) {
|
|
471
471
|
t = s === "root" ? t : t[s];
|
|
472
472
|
var n = Object.keys(t), o = {
|
|
473
473
|
state: Object.keys(e.state).map(function(i) {
|
|
@@ -479,10 +479,10 @@ function Gt(e, t, s) {
|
|
|
479
479
|
})
|
|
480
480
|
};
|
|
481
481
|
if (n.length) {
|
|
482
|
-
var a =
|
|
482
|
+
var a = Gt(t);
|
|
483
483
|
o.getters = Object.keys(a).map(function(i) {
|
|
484
484
|
return {
|
|
485
|
-
key: i.endsWith("/") ?
|
|
485
|
+
key: i.endsWith("/") ? Ne(i) : i,
|
|
486
486
|
editable: !1,
|
|
487
487
|
value: ie(function() {
|
|
488
488
|
return a[i];
|
|
@@ -492,7 +492,7 @@ function Gt(e, t, s) {
|
|
|
492
492
|
}
|
|
493
493
|
return o;
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function Gt(e) {
|
|
496
496
|
var t = {};
|
|
497
497
|
return Object.keys(e).forEach(function(s) {
|
|
498
498
|
var n = s.split("/");
|
|
@@ -516,7 +516,7 @@ function Ft(e) {
|
|
|
516
516
|
});
|
|
517
517
|
}), t;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Ft(e, t) {
|
|
520
520
|
var s = t.split("/").filter(function(n) {
|
|
521
521
|
return n;
|
|
522
522
|
});
|
|
@@ -541,8 +541,8 @@ var M = function(t, s) {
|
|
|
541
541
|
this.runtime = s, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = t;
|
|
542
542
|
var n = t.state;
|
|
543
543
|
this.state = (typeof n == "function" ? n() : n) || {};
|
|
544
|
-
},
|
|
545
|
-
|
|
544
|
+
}, Be = { namespaced: { configurable: !0 } };
|
|
545
|
+
Be.namespaced.get = function() {
|
|
546
546
|
return !!this._rawModule.namespaced;
|
|
547
547
|
};
|
|
548
548
|
M.prototype.addChild = function(t, s) {
|
|
@@ -572,7 +572,7 @@ M.prototype.forEachAction = function(t) {
|
|
|
572
572
|
M.prototype.forEachMutation = function(t) {
|
|
573
573
|
this._rawModule.mutations && R(this._rawModule.mutations, t);
|
|
574
574
|
};
|
|
575
|
-
Object.defineProperties(M.prototype,
|
|
575
|
+
Object.defineProperties(M.prototype, Be);
|
|
576
576
|
var U = function(t) {
|
|
577
577
|
this.register([], t, !1);
|
|
578
578
|
};
|
|
@@ -588,11 +588,11 @@ U.prototype.getNamespace = function(t) {
|
|
|
588
588
|
}, "");
|
|
589
589
|
};
|
|
590
590
|
U.prototype.update = function(t) {
|
|
591
|
-
|
|
591
|
+
Ge([], this.root, t);
|
|
592
592
|
};
|
|
593
593
|
U.prototype.register = function(t, s, n) {
|
|
594
594
|
var o = this;
|
|
595
|
-
n === void 0 && (n = !0), process.env.NODE_ENV !== "production" &&
|
|
595
|
+
n === void 0 && (n = !0), process.env.NODE_ENV !== "production" && Fe(t, s);
|
|
596
596
|
var a = new M(s, n);
|
|
597
597
|
if (t.length === 0)
|
|
598
598
|
this.root = a;
|
|
@@ -618,8 +618,8 @@ U.prototype.isRegistered = function(t) {
|
|
|
618
618
|
var s = this.get(t.slice(0, -1)), n = t[t.length - 1];
|
|
619
619
|
return s ? s.hasChild(n) : !1;
|
|
620
620
|
};
|
|
621
|
-
function
|
|
622
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
621
|
+
function Ge(e, t, s) {
|
|
622
|
+
if (process.env.NODE_ENV !== "production" && Fe(e, s), t.update(s), s.modules)
|
|
623
623
|
for (var n in s.modules) {
|
|
624
624
|
if (!t.getChild(n)) {
|
|
625
625
|
process.env.NODE_ENV !== "production" && console.warn(
|
|
@@ -627,7 +627,7 @@ function Fe(e, t, s) {
|
|
|
627
627
|
);
|
|
628
628
|
return;
|
|
629
629
|
}
|
|
630
|
-
|
|
630
|
+
Ge(
|
|
631
631
|
e.concat(n),
|
|
632
632
|
t.getChild(n),
|
|
633
633
|
s.modules[n]
|
|
@@ -639,7 +639,7 @@ var we = {
|
|
|
639
639
|
return typeof e == "function";
|
|
640
640
|
},
|
|
641
641
|
expected: "function"
|
|
642
|
-
},
|
|
642
|
+
}, Rt = {
|
|
643
643
|
assert: function(e) {
|
|
644
644
|
return typeof e == "function" || typeof e == "object" && typeof e.handler == "function";
|
|
645
645
|
},
|
|
@@ -647,26 +647,26 @@ var we = {
|
|
|
647
647
|
}, ke = {
|
|
648
648
|
getters: we,
|
|
649
649
|
mutations: we,
|
|
650
|
-
actions:
|
|
650
|
+
actions: Rt
|
|
651
651
|
};
|
|
652
|
-
function
|
|
652
|
+
function Fe(e, t) {
|
|
653
653
|
Object.keys(ke).forEach(function(s) {
|
|
654
654
|
if (t[s]) {
|
|
655
655
|
var n = ke[s];
|
|
656
656
|
R(t[s], function(o, a) {
|
|
657
657
|
I(
|
|
658
658
|
n.assert(o),
|
|
659
|
-
|
|
659
|
+
Ut(e, s, a, o, n.expected)
|
|
660
660
|
);
|
|
661
661
|
});
|
|
662
662
|
}
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function Ut(e, t, s, n, o) {
|
|
666
666
|
var a = t + " should be " + o + ' but "' + t + "." + s + '"';
|
|
667
667
|
return e.length > 0 && (a += ' in module "' + e.join(".") + '"'), a += " is " + JSON.stringify(n) + ".", a;
|
|
668
668
|
}
|
|
669
|
-
var
|
|
669
|
+
var j = function e(t) {
|
|
670
670
|
var s = this;
|
|
671
671
|
t === void 0 && (t = {}), process.env.NODE_ENV !== "production" && (I(typeof Promise < "u", "vuex requires a Promise polyfill in this browser."), I(this instanceof e, "store must be called with the new operator."));
|
|
672
672
|
var n = t.plugins;
|
|
@@ -686,10 +686,10 @@ var A = function e(t) {
|
|
|
686
686
|
return y(s);
|
|
687
687
|
});
|
|
688
688
|
}, ge = { state: { configurable: !0 } };
|
|
689
|
-
|
|
690
|
-
t.provide(s ||
|
|
689
|
+
j.prototype.install = function(t, s) {
|
|
690
|
+
t.provide(s || Pe, 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 && Nt(t, this);
|
|
693
693
|
};
|
|
694
694
|
ge.state.get = function() {
|
|
695
695
|
return this._state.data;
|
|
@@ -697,7 +697,7 @@ ge.state.get = function() {
|
|
|
697
697
|
ge.state.set = function(e) {
|
|
698
698
|
process.env.NODE_ENV !== "production" && I(!1, "use store.replaceState() to explicit replace store state.");
|
|
699
699
|
};
|
|
700
|
-
|
|
700
|
+
j.prototype.commit = function(t, s, n) {
|
|
701
701
|
var o = this, a = Q(t, s, n), i = a.type, l = a.payload, c = a.options, h = { type: i, payload: l }, m = this._mutations[i];
|
|
702
702
|
if (!m) {
|
|
703
703
|
process.env.NODE_ENV !== "production" && console.error("[vuex] unknown mutation type: " + i);
|
|
@@ -713,7 +713,7 @@ A.prototype.commit = function(t, s, n) {
|
|
|
713
713
|
"[vuex] mutation type: " + i + ". Silent option has been removed. Use the filter functionality in the vue-devtools"
|
|
714
714
|
);
|
|
715
715
|
};
|
|
716
|
-
|
|
716
|
+
j.prototype.dispatch = function(t, s) {
|
|
717
717
|
var n = this, o = Q(t, s), a = o.type, i = o.payload, l = { type: a, payload: i }, c = this._actions[a];
|
|
718
718
|
if (!c) {
|
|
719
719
|
process.env.NODE_ENV !== "production" && console.error("[vuex] unknown action type: " + a);
|
|
@@ -757,54 +757,54 @@ A.prototype.dispatch = function(t, s) {
|
|
|
757
757
|
});
|
|
758
758
|
});
|
|
759
759
|
};
|
|
760
|
-
|
|
761
|
-
return
|
|
760
|
+
j.prototype.subscribe = function(t, s) {
|
|
761
|
+
return Ae(t, this._subscribers, s);
|
|
762
762
|
};
|
|
763
|
-
|
|
763
|
+
j.prototype.subscribeAction = function(t, s) {
|
|
764
764
|
var n = typeof t == "function" ? { before: t } : t;
|
|
765
|
-
return
|
|
765
|
+
return Ae(n, this._actionSubscribers, s);
|
|
766
766
|
};
|
|
767
|
-
|
|
767
|
+
j.prototype.watch = function(t, s, n) {
|
|
768
768
|
var o = this;
|
|
769
769
|
return process.env.NODE_ENV !== "production" && I(typeof t == "function", "store.watch only accepts a function."), Y(function() {
|
|
770
770
|
return t(o.state, o.getters);
|
|
771
771
|
}, s, Object.assign({}, n));
|
|
772
772
|
};
|
|
773
|
-
|
|
773
|
+
j.prototype.replaceState = function(t) {
|
|
774
774
|
var s = this;
|
|
775
775
|
this._withCommit(function() {
|
|
776
776
|
s._state.data = t;
|
|
777
777
|
});
|
|
778
778
|
};
|
|
779
|
-
|
|
779
|
+
j.prototype.registerModule = function(t, s, n) {
|
|
780
780
|
n === void 0 && (n = {}), typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && (I(Array.isArray(t), "module path must be a string or an Array."), I(t.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(t, s), ee(this, this.state, t, this._modules.get(t), n.preserveState), ce(this, this.state);
|
|
781
781
|
};
|
|
782
|
-
|
|
782
|
+
j.prototype.unregisterModule = function(t) {
|
|
783
783
|
var s = this;
|
|
784
784
|
typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.unregister(t), this._withCommit(function() {
|
|
785
785
|
var n = fe(s.state, t.slice(0, -1));
|
|
786
786
|
delete n[t[t.length - 1]];
|
|
787
|
-
}),
|
|
787
|
+
}), Te(this);
|
|
788
788
|
};
|
|
789
|
-
|
|
789
|
+
j.prototype.hasModule = function(t) {
|
|
790
790
|
return typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.isRegistered(t);
|
|
791
791
|
};
|
|
792
|
-
|
|
793
|
-
this._modules.update(t),
|
|
792
|
+
j.prototype.hotUpdate = function(t) {
|
|
793
|
+
this._modules.update(t), Te(this, !0);
|
|
794
794
|
};
|
|
795
|
-
|
|
795
|
+
j.prototype._withCommit = function(t) {
|
|
796
796
|
var s = this._committing;
|
|
797
797
|
this._committing = !0, t(), this._committing = s;
|
|
798
798
|
};
|
|
799
|
-
Object.defineProperties(
|
|
800
|
-
var
|
|
799
|
+
Object.defineProperties(j.prototype, ge);
|
|
800
|
+
var qt = Ue(function(e, t) {
|
|
801
801
|
var s = {};
|
|
802
|
-
return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),
|
|
802
|
+
return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Re(t).forEach(function(n) {
|
|
803
803
|
var o = n.key, a = n.val;
|
|
804
804
|
s[o] = function() {
|
|
805
805
|
var l = this.$store.state, c = this.$store.getters;
|
|
806
806
|
if (e) {
|
|
807
|
-
var h =
|
|
807
|
+
var h = qe(this.$store, "mapState", e);
|
|
808
808
|
if (!h)
|
|
809
809
|
return;
|
|
810
810
|
l = h.context.state, c = h.context.getters;
|
|
@@ -812,16 +812,16 @@ var Ht = qe(function(e, t) {
|
|
|
812
812
|
return typeof a == "function" ? a.call(this, l, c) : l[a];
|
|
813
813
|
}, s[o].vuex = !0;
|
|
814
814
|
}), s;
|
|
815
|
-
}),
|
|
815
|
+
}), Ht = Ue(function(e, t) {
|
|
816
816
|
var s = {};
|
|
817
|
-
return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),
|
|
817
|
+
return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Re(t).forEach(function(n) {
|
|
818
818
|
var o = n.key, a = n.val;
|
|
819
819
|
s[o] = function() {
|
|
820
820
|
for (var l = [], c = arguments.length; c--; )
|
|
821
821
|
l[c] = arguments[c];
|
|
822
822
|
var h = this.$store.commit;
|
|
823
823
|
if (e) {
|
|
824
|
-
var m =
|
|
824
|
+
var m = qe(this.$store, "mapMutations", e);
|
|
825
825
|
if (!m)
|
|
826
826
|
return;
|
|
827
827
|
h = m.context.commit;
|
|
@@ -830,7 +830,7 @@ var Ht = qe(function(e, t) {
|
|
|
830
830
|
};
|
|
831
831
|
}), s;
|
|
832
832
|
});
|
|
833
|
-
function
|
|
833
|
+
function Re(e) {
|
|
834
834
|
return he(e) ? Array.isArray(e) ? e.map(function(t) {
|
|
835
835
|
return { key: t, val: t };
|
|
836
836
|
}) : Object.keys(e).map(function(t) {
|
|
@@ -840,16 +840,16 @@ function Ue(e) {
|
|
|
840
840
|
function he(e) {
|
|
841
841
|
return Array.isArray(e) || je(e);
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function Ue(e) {
|
|
844
844
|
return function(t, s) {
|
|
845
845
|
return typeof t != "string" ? (s = t, t = "") : t.charAt(t.length - 1) !== "/" && (t += "/"), e(t, s);
|
|
846
846
|
};
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function qe(e, t, s) {
|
|
849
849
|
var n = e._modulesNamespaceMap[s];
|
|
850
850
|
return process.env.NODE_ENV !== "production" && !n && console.error("[vuex] module namespace not found in " + t + "(): " + s), n;
|
|
851
851
|
}
|
|
852
|
-
const
|
|
852
|
+
const zt = {
|
|
853
853
|
components: {
|
|
854
854
|
DeleteConfirmationModal: ue
|
|
855
855
|
},
|
|
@@ -999,7 +999,7 @@ const Zt = {
|
|
|
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
|
+
}, Zt = { class: "flex flex-col items-center justify-center pt-5 pb-6" }, Kt = ["multiple"], Wt = ["name"], Yt = /* @__PURE__ */ r("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 Zt = {
|
|
|
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), Xt = /* @__PURE__ */ r("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, " Drag & drop files or browse ", -1), Jt = [
|
|
1017
|
+
Yt,
|
|
1018
|
+
Xt
|
|
1019
|
+
], Qt = { key: 1 }, er = /* @__PURE__ */ r("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, "Drop files here", -1), tr = [
|
|
1020
|
+
er
|
|
1021
|
+
], rr = { class: "mt-2 gl-span-form-error" }, sr = { class: "block mt-2 mb-3 text-sm font-normal leading-5 text-gray-500" }, ar = {
|
|
1022
1022
|
key: 0,
|
|
1023
1023
|
class: ""
|
|
1024
|
-
},
|
|
1024
|
+
}, nr = { 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" }, or = /* @__PURE__ */ r("i", { class: "text-3xl fas fa-file-alt" }, null, -1), lr = { class: "w-full ml-3" }, ir = { class: "flex items-center justify-between mb-1" }, dr = { class: "text-xs text-black dark:text-white" }, ur = { class: "text-xs text-black dark:text-white" }, cr = { class: "w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800" }, fr = { class: "overflow-x-scroll max-h-56" }, gr = { 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" }, hr = { class: "flex items-center" }, mr = /* @__PURE__ */ r("i", {
|
|
1025
1025
|
class: "text-3xl fas fa-file-alt",
|
|
1026
1026
|
"aria-hidden": "true"
|
|
1027
|
-
}, null, -1),
|
|
1028
|
-
function
|
|
1027
|
+
}, null, -1), br = { class: "flex flex-col ml-3" }, pr = { class: "text-xs" }, yr = { class: "text-xs" }, _r = { class: "flex gap-2" }, vr = ["href"], xr = ["onClick"];
|
|
1028
|
+
function wr(e, t, s, n, o, a) {
|
|
1029
1029
|
const i = X("DeleteConfirmationModal");
|
|
1030
1030
|
return d(), u(v, null, [
|
|
1031
1031
|
z(i, {
|
|
@@ -1052,78 +1052,78 @@ function kr(e, t, s, n, o, a) {
|
|
|
1052
1052
|
onDrop: t[5] || (t[5] = V((...l) => a.onDrop && a.onDrop(...l), ["prevent"])),
|
|
1053
1053
|
class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
|
|
1054
1054
|
}, [
|
|
1055
|
-
r("div",
|
|
1055
|
+
r("div", Zt, [
|
|
1056
1056
|
r("input", {
|
|
1057
1057
|
type: "file",
|
|
1058
1058
|
ref: "file_input" + s.field_name,
|
|
1059
1059
|
hidden: "",
|
|
1060
1060
|
multiple: s.has_multiple_file,
|
|
1061
1061
|
onChange: t[0] || (t[0] = (...l) => a.uploadFiles && a.uploadFiles(...l))
|
|
1062
|
-
}, null, 40,
|
|
1062
|
+
}, null, 40, Kt),
|
|
1063
1063
|
O(r("input", {
|
|
1064
1064
|
type: "hidden",
|
|
1065
1065
|
name: s.field_name,
|
|
1066
1066
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => a.uploadedFileIds = l)
|
|
1067
|
-
}, null, 8,
|
|
1067
|
+
}, null, 8, Wt), [
|
|
1068
1068
|
[L, a.uploadedFileIds]
|
|
1069
1069
|
]),
|
|
1070
|
-
o.isDragging ? (d(), u("div",
|
|
1070
|
+
o.isDragging ? (d(), u("div", Qt, tr)) : (d(), u("div", {
|
|
1071
1071
|
key: 0,
|
|
1072
1072
|
class: "flex flex-col items-center justify-center",
|
|
1073
1073
|
onClick: t[2] || (t[2] = (l) => e.$refs["file_input" + this.field_name].click())
|
|
1074
|
-
},
|
|
1074
|
+
}, Jt))
|
|
1075
1075
|
])
|
|
1076
1076
|
], 32),
|
|
1077
|
-
r("span",
|
|
1078
|
-
r("small",
|
|
1079
|
-
o.files.length > 0 ? (d(), u("section",
|
|
1080
|
-
(d(!0), u(v, null, C(o.files, (l, c) => (d(), u("li",
|
|
1081
|
-
|
|
1082
|
-
r("div",
|
|
1083
|
-
r("div",
|
|
1084
|
-
r("span",
|
|
1085
|
-
r("span",
|
|
1077
|
+
r("span", rr, g(o.error_message_data), 1),
|
|
1078
|
+
r("small", sr, g(s.description), 1),
|
|
1079
|
+
o.files.length > 0 ? (d(), u("section", ar, [
|
|
1080
|
+
(d(!0), u(v, null, C(o.files, (l, c) => (d(), u("li", nr, [
|
|
1081
|
+
or,
|
|
1082
|
+
r("div", lr, [
|
|
1083
|
+
r("div", ir, [
|
|
1084
|
+
r("span", dr, g(a.getFileName(l.file_name)), 1),
|
|
1085
|
+
r("span", ur, g(l.loading), 1)
|
|
1086
1086
|
]),
|
|
1087
|
-
r("div",
|
|
1087
|
+
r("div", cr, [
|
|
1088
1088
|
r("div", {
|
|
1089
1089
|
class: "h-full bg-gray-500 rounded-full dark:bg-gray-400",
|
|
1090
|
-
style:
|
|
1090
|
+
style: et({ width: l.loading + "%" })
|
|
1091
1091
|
}, null, 4)
|
|
1092
1092
|
])
|
|
1093
1093
|
])
|
|
1094
1094
|
]))), 256))
|
|
1095
1095
|
])) : f("", !0),
|
|
1096
|
-
r("section",
|
|
1097
|
-
(d(!0), u(v, null, C(o.uploadFileList, (l, c) => (d(), u("li",
|
|
1098
|
-
r("div",
|
|
1099
|
-
|
|
1100
|
-
r("div",
|
|
1101
|
-
r("span",
|
|
1102
|
-
r("span",
|
|
1096
|
+
r("section", fr, [
|
|
1097
|
+
(d(!0), u(v, null, C(o.uploadFileList, (l, c) => (d(), u("li", gr, [
|
|
1098
|
+
r("div", hr, [
|
|
1099
|
+
mr,
|
|
1100
|
+
r("div", br, [
|
|
1101
|
+
r("span", pr, g(a.getFileName(l.file_name)), 1),
|
|
1102
|
+
r("span", yr, g(a.formatFileSize(l.size)), 1)
|
|
1103
1103
|
])
|
|
1104
1104
|
]),
|
|
1105
|
-
r("div",
|
|
1105
|
+
r("div", _r, [
|
|
1106
1106
|
r("a", {
|
|
1107
1107
|
href: l.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, vr),
|
|
1111
1111
|
s.is_enable_delete ? (d(), u("i", {
|
|
1112
1112
|
key: 0,
|
|
1113
1113
|
onClick: (h) => {
|
|
1114
1114
|
o.media_id = l.id, o.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, xr)) : f("", !0)
|
|
1118
1118
|
])
|
|
1119
1119
|
]))), 256))
|
|
1120
1120
|
])
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const vu = /* @__PURE__ */ k(zt, [["render", wr]]), kr = {
|
|
1125
1125
|
computed: {
|
|
1126
|
-
...
|
|
1126
|
+
...qt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
1128
1128
|
switch (this.notification.type) {
|
|
1129
1129
|
case "info":
|
|
@@ -1158,7 +1158,7 @@ const _u = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
},
|
|
1160
1160
|
methods: {
|
|
1161
|
-
...
|
|
1161
|
+
...Ht("notification", ["HIDE_NOTIFICATION"]),
|
|
1162
1162
|
dismiss() {
|
|
1163
1163
|
this.HIDE_NOTIFICATION();
|
|
1164
1164
|
}
|
|
@@ -1170,7 +1170,7 @@ const _u = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
|
|
|
1170
1170
|
}, this.notification.duration);
|
|
1171
1171
|
}
|
|
1172
1172
|
}
|
|
1173
|
-
},
|
|
1173
|
+
}, $r = /* @__PURE__ */ r("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 _u = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
|
|
|
1178
1178
|
viewBox: "0 0 20 20"
|
|
1179
1179
|
}, [
|
|
1180
1180
|
/* @__PURE__ */ r("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), Cr = /* @__PURE__ */ r("span", { class: "sr-only" }, "Info", -1), Sr = { class: "mr-3 text-sm font-medium ms-3" }, Dr = /* @__PURE__ */ r("span", { class: "sr-only" }, "Close", -1), Or = /* @__PURE__ */ r("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 _u = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
|
|
|
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), Pr = [
|
|
1196
|
+
Dr,
|
|
1197
|
+
Or
|
|
1198
1198
|
];
|
|
1199
|
-
function
|
|
1199
|
+
function Er(e, t, s, n, o, a) {
|
|
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", a.alertClasses]),
|
|
1203
1203
|
role: "alert"
|
|
1204
1204
|
}, [
|
|
1205
|
+
$r,
|
|
1205
1206
|
Cr,
|
|
1206
|
-
Sr,
|
|
1207
|
-
r("div", Dr, g(e.notification.message), 1),
|
|
1207
|
+
r("div", Sr, g(e.notification.message), 1),
|
|
1208
1208
|
r("button", {
|
|
1209
1209
|
type: "button",
|
|
1210
1210
|
onClick: t[0] || (t[0] = (...i) => a.dismiss && a.dismiss(...i)),
|
|
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", a.buttonClasses]),
|
|
1212
1212
|
"aria-label": "Close"
|
|
1213
|
-
},
|
|
1213
|
+
}, Pr, 2)
|
|
1214
1214
|
], 2)) : f("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const xu = /* @__PURE__ */ k(kr, [["render", Er]]), jr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1248,9 +1248,9 @@ const vu = /* @__PURE__ */ k($r, [["render", Ar]]), jr = {
|
|
|
1248
1248
|
},
|
|
1249
1249
|
mounted() {
|
|
1250
1250
|
}
|
|
1251
|
-
},
|
|
1252
|
-
function
|
|
1253
|
-
return d(), u("ul",
|
|
1251
|
+
}, Ar = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Tr = ["name", "value", "id", "checked"], Ir = ["for"];
|
|
1252
|
+
function Mr(e, t, s, n, o, a) {
|
|
1253
|
+
return d(), u("ul", Ar, [
|
|
1254
1254
|
(d(!0), u(v, null, C(o.locals, (i, l) => (d(), u("li", null, [
|
|
1255
1255
|
r("input", {
|
|
1256
1256
|
type: "radio",
|
|
@@ -1260,7 +1260,7 @@ function Nr(e, t, s, n, o, a) {
|
|
|
1260
1260
|
id: i + "_" + s.field_name,
|
|
1261
1261
|
autocomplete: "off",
|
|
1262
1262
|
checked: i === o.default_language
|
|
1263
|
-
}, null, 8,
|
|
1263
|
+
}, null, 8, Tr),
|
|
1264
1264
|
r("label", {
|
|
1265
1265
|
for: i + "_" + s.field_name,
|
|
1266
1266
|
class: b([{
|
|
@@ -1268,14 +1268,14 @@ function Nr(e, t, s, n, o, a) {
|
|
|
1268
1268
|
"border md:!rounded-e-lg": l === o.locals.length - 1,
|
|
1269
1269
|
"border-t border-b": l !== 0 && l !== o.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
|
-
}, g(i), 11,
|
|
1271
|
+
}, g(i), 11, Ir)
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const wu = /* @__PURE__ */ k(jr, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Vr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Lr = { class: "font-semibold text-black dark:text-white" }, Br = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
|
-
},
|
|
1278
|
+
}, ku = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1288,19 +1288,19 @@ const xu = /* @__PURE__ */ k(jr, [["render", Nr]]), Vr = { class: "bg-white bord
|
|
|
1288
1288
|
return (n, o) => (d(), u("div", {
|
|
1289
1289
|
class: b(["flex flex-col gap-9", s.value])
|
|
1290
1290
|
}, [
|
|
1291
|
-
r("div",
|
|
1292
|
-
r("div",
|
|
1293
|
-
r("h3",
|
|
1291
|
+
r("div", Nr, [
|
|
1292
|
+
r("div", Vr, [
|
|
1293
|
+
r("h3", Lr, [
|
|
1294
1294
|
T(n.$slots, "header")
|
|
1295
1295
|
])
|
|
1296
1296
|
]),
|
|
1297
|
-
n.$slots.body ? (d(), u("div",
|
|
1297
|
+
n.$slots.body ? (d(), u("div", Br, [
|
|
1298
1298
|
T(n.$slots, "body")
|
|
1299
1299
|
])) : f("", !0)
|
|
1300
1300
|
])
|
|
1301
1301
|
], 2));
|
|
1302
1302
|
}
|
|
1303
|
-
},
|
|
1303
|
+
}, Gr = {
|
|
1304
1304
|
name: "MultiSelectDropdown",
|
|
1305
1305
|
template: "MultiSelectDropdown",
|
|
1306
1306
|
props: {
|
|
@@ -1457,16 +1457,16 @@ const xu = /* @__PURE__ */ k(jr, [["render", Nr]]), Vr = { 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
|
+
}, Fr = { class: "font-bold ptext-lg dark:text-white" }, Rr = { class: "mt-3 mb-4" }, Ur = { 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" }, qr = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Hr = ["name", "value"], zr = {
|
|
1461
1461
|
key: 0,
|
|
1462
1462
|
class: "dropdown"
|
|
1463
|
-
},
|
|
1463
|
+
}, Zr = {
|
|
1464
1464
|
class: "inline-flex ml-2 rounded-md shadow-sm",
|
|
1465
1465
|
role: "group"
|
|
1466
|
-
},
|
|
1466
|
+
}, Kr = { 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" }, Wr = { class: "relative" }, Yr = ["onClick"], Xr = { 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" }, Jr = { class: "p-1" }, Qr = /* @__PURE__ */ r("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), es = { class: "relative" }, ts = /* @__PURE__ */ r("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
1470
1470
|
/* @__PURE__ */ r("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 xu = /* @__PURE__ */ k(jr, [["render", Nr]]), Vr = { 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), rs = ["id"], ss = { class: "overflow-y-auto max-h-64" }, as = ["onClick", "onMousedown", "id"];
|
|
1486
|
+
function ns(e, t, s, n, o, a) {
|
|
1487
1487
|
return d(), u(v, null, [
|
|
1488
1488
|
s.show ? (d(), u("div", {
|
|
1489
1489
|
key: 0,
|
|
1490
1490
|
class: b(s.field_name)
|
|
1491
1491
|
}, [
|
|
1492
|
-
r("h3",
|
|
1493
|
-
r("p",
|
|
1494
|
-
(d(!0), u(v, null, C(o.selected, (i, l) => (d(), u("span",
|
|
1492
|
+
r("h3", Fr, g(s.label_name), 1),
|
|
1493
|
+
r("p", Rr, [
|
|
1494
|
+
(d(!0), u(v, null, C(o.selected, (i, l) => (d(), u("span", Ur, g(i.name), 1))), 256))
|
|
1495
1495
|
]),
|
|
1496
|
-
|
|
1496
|
+
qr
|
|
1497
1497
|
], 2)) : f("", !0),
|
|
1498
1498
|
s.show ? f("", !0) : (d(), u("div", {
|
|
1499
1499
|
key: 1,
|
|
@@ -1504,8 +1504,8 @@ function os(e, t, s, n, o, a) {
|
|
|
1504
1504
|
name: s.field_name + "[]",
|
|
1505
1505
|
key: l,
|
|
1506
1506
|
value: i
|
|
1507
|
-
}, null, 8,
|
|
1508
|
-
s.options ? (d(), u("div",
|
|
1507
|
+
}, null, 8, Hr))), 128)),
|
|
1508
|
+
s.options ? (d(), u("div", zr, [
|
|
1509
1509
|
r("label", {
|
|
1510
1510
|
class: b({
|
|
1511
1511
|
"gl-label-form": s.error_message == "",
|
|
@@ -1513,7 +1513,7 @@ function os(e, t, s, n, o, a) {
|
|
|
1513
1513
|
required: s.is_required
|
|
1514
1514
|
})
|
|
1515
1515
|
}, g(s.label_name), 3),
|
|
1516
|
-
r("div",
|
|
1516
|
+
r("div", Zr, [
|
|
1517
1517
|
r("button", {
|
|
1518
1518
|
onClick: t[0] || (t[0] = (...i) => a.selectAll && a.selectAll(...i)),
|
|
1519
1519
|
type: "button",
|
|
@@ -1525,8 +1525,8 @@ function os(e, t, s, n, o, a) {
|
|
|
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
|
-
r("div",
|
|
1529
|
-
r("div",
|
|
1528
|
+
r("div", Kr, [
|
|
1529
|
+
r("div", Wr, [
|
|
1530
1530
|
r("div", {
|
|
1531
1531
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1532
1532
|
onClick: t[2] || (t[2] = (i) => a.showOptions())
|
|
@@ -1539,7 +1539,7 @@ function os(e, t, s, n, o, a) {
|
|
|
1539
1539
|
r("i", {
|
|
1540
1540
|
onClick: V((c) => a.clearOption(i), ["stop"]),
|
|
1541
1541
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
1542
|
-
}, null, 8,
|
|
1542
|
+
}, null, 8, Yr)
|
|
1543
1543
|
]))), 128))
|
|
1544
1544
|
]),
|
|
1545
1545
|
r("i", {
|
|
@@ -1547,11 +1547,11 @@ function os(e, t, s, n, o, a) {
|
|
|
1547
1547
|
style: { top: "11px" }
|
|
1548
1548
|
}, null, 2)
|
|
1549
1549
|
]),
|
|
1550
|
-
O(r("div",
|
|
1551
|
-
r("div",
|
|
1552
|
-
|
|
1553
|
-
r("div",
|
|
1554
|
-
|
|
1550
|
+
O(r("div", Xr, [
|
|
1551
|
+
r("div", Jr, [
|
|
1552
|
+
Qr,
|
|
1553
|
+
r("div", es, [
|
|
1554
|
+
ts,
|
|
1555
1555
|
O(r("input", {
|
|
1556
1556
|
type: "search",
|
|
1557
1557
|
"onUpdate:modelValue": t[3] || (t[3] = (i) => o.searchFilter = i),
|
|
@@ -1561,12 +1561,12 @@ function os(e, t, s, n, o, a) {
|
|
|
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, rs), [
|
|
1565
1565
|
[L, o.searchFilter]
|
|
1566
1566
|
])
|
|
1567
1567
|
])
|
|
1568
1568
|
]),
|
|
1569
|
-
r("div",
|
|
1569
|
+
r("div", ss, [
|
|
1570
1570
|
(d(!0), u(v, null, C(a.filteredOptions, (i, l) => (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 os(e, t, s, n, o, a) {
|
|
|
1576
1576
|
onMousedown: (c) => a.selectOption(i),
|
|
1577
1577
|
key: l,
|
|
1578
1578
|
id: l + 1
|
|
1579
|
-
}, g(i.name || i.id || "-"), 43,
|
|
1579
|
+
}, g(i.name || i.id || "-"), 43, as))), 128))
|
|
1580
1580
|
])
|
|
1581
1581
|
], 512), [
|
|
1582
1582
|
[Z, o.optionsShown]
|
|
@@ -1586,7 +1586,7 @@ function os(e, t, s, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const $u = /* @__PURE__ */ k(Gr, [["render", ns]]), os = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1642,7 +1642,7 @@ const ku = /* @__PURE__ */ k(Fr, [["render", os]]), ls = {
|
|
|
1642
1642
|
}
|
|
1643
1643
|
},
|
|
1644
1644
|
methods: {}
|
|
1645
|
-
},
|
|
1645
|
+
}, ls = /* @__PURE__ */ r("svg", {
|
|
1646
1646
|
"aria-hidden": "true",
|
|
1647
1647
|
role: "status",
|
|
1648
1648
|
class: "inline w-4 h-4 me-3 animate-spin",
|
|
@@ -1659,14 +1659,14 @@ const ku = /* @__PURE__ */ k(Fr, [["render", os]]), ls = {
|
|
|
1659
1659
|
fill: "#1C64F2"
|
|
1660
1660
|
})
|
|
1661
1661
|
], -1);
|
|
1662
|
-
function
|
|
1662
|
+
function is(e, t, s, n, o, a) {
|
|
1663
1663
|
return s.is_loading ? (d(), K(oe("button"), {
|
|
1664
1664
|
key: 1,
|
|
1665
1665
|
disabled: "",
|
|
1666
1666
|
class: b(`flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`)
|
|
1667
1667
|
}, {
|
|
1668
1668
|
default: J(() => [
|
|
1669
|
-
|
|
1669
|
+
ls,
|
|
1670
1670
|
w(" Loading... ")
|
|
1671
1671
|
]),
|
|
1672
1672
|
_: 1
|
|
@@ -1688,7 +1688,7 @@ function ds(e, t, s, n, o, a) {
|
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const Cu = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold ptext-lg dark:text-white" }, us = ["name", "id"], cs = ["id"], fs = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), gs = ["for"], hs = /* @__PURE__ */ r("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), ms = ["name", "id"], bs = ["required", "name", "id", "type"], ps = { class: "gl-span-form-error" }, ys = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Su = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1762,7 +1762,7 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1762
1762
|
key: 0,
|
|
1763
1763
|
class: b(e.field_name)
|
|
1764
1764
|
}, [
|
|
1765
|
-
r("h3",
|
|
1765
|
+
r("h3", ds, g(e.label_name), 1),
|
|
1766
1766
|
O(r("input", {
|
|
1767
1767
|
type: "hidden",
|
|
1768
1768
|
"data-i18n": "true",
|
|
@@ -1771,14 +1771,14 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1771
1771
|
ref_key: "input_translate",
|
|
1772
1772
|
ref: i,
|
|
1773
1773
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
1774
|
-
}, null, 8,
|
|
1774
|
+
}, null, 8, us), [
|
|
1775
1775
|
[L, l.inputTranslateValue]
|
|
1776
1776
|
]),
|
|
1777
1777
|
r("p", {
|
|
1778
1778
|
id: e.field_name,
|
|
1779
1779
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1780
|
-
}, g(e.model_value), 9,
|
|
1781
|
-
|
|
1780
|
+
}, g(e.model_value), 9, cs),
|
|
1781
|
+
fs
|
|
1782
1782
|
], 2)) : f("", !0),
|
|
1783
1783
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1784
1784
|
key: 1,
|
|
@@ -1791,8 +1791,8 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1791
1791
|
required: e.is_required
|
|
1792
1792
|
}),
|
|
1793
1793
|
for: e.field_name
|
|
1794
|
-
}, g(e.label_name), 11,
|
|
1795
|
-
|
|
1794
|
+
}, g(e.label_name), 11, gs),
|
|
1795
|
+
hs,
|
|
1796
1796
|
r("input", {
|
|
1797
1797
|
class: "mb-4",
|
|
1798
1798
|
type: "hidden",
|
|
@@ -1802,7 +1802,7 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1802
1802
|
onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
|
|
1803
1803
|
ref_key: "input_translate",
|
|
1804
1804
|
ref: i
|
|
1805
|
-
}, null, 40,
|
|
1805
|
+
}, null, 40, ms),
|
|
1806
1806
|
r("textarea", {
|
|
1807
1807
|
required: e.is_required,
|
|
1808
1808
|
name: e.field_name,
|
|
@@ -1818,13 +1818,13 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1818
1818
|
ref: a,
|
|
1819
1819
|
rows: "4"
|
|
1820
1820
|
}, `
|
|
1821
|
-
`, 42,
|
|
1822
|
-
r("span",
|
|
1823
|
-
r("small",
|
|
1821
|
+
`, 42, bs),
|
|
1822
|
+
r("span", ps, g(e.error_message), 1),
|
|
1823
|
+
r("small", ys, g(e.description), 1)
|
|
1824
1824
|
], 2))
|
|
1825
1825
|
], 64));
|
|
1826
1826
|
}
|
|
1827
|
-
},
|
|
1827
|
+
}, _s = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ r("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Cs = ["name", "id"], Ss = ["name", "id", "type"], Ds = { class: "gl-span-form-error" }, Os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Du = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1902,7 +1902,7 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1902
1902
|
key: 0,
|
|
1903
1903
|
class: b(e.field_name)
|
|
1904
1904
|
}, [
|
|
1905
|
-
r("h3",
|
|
1905
|
+
r("h3", _s, g(e.label_name), 1),
|
|
1906
1906
|
O(r("input", {
|
|
1907
1907
|
type: "hidden",
|
|
1908
1908
|
"data-i18n": "true",
|
|
@@ -1911,14 +1911,14 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1911
1911
|
ref_key: "input_translate",
|
|
1912
1912
|
ref: i,
|
|
1913
1913
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
1914
|
-
}, null, 8,
|
|
1914
|
+
}, null, 8, vs), [
|
|
1915
1915
|
[L, l.inputTranslateValue]
|
|
1916
1916
|
]),
|
|
1917
1917
|
r("p", {
|
|
1918
1918
|
id: e.field_name,
|
|
1919
1919
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1920
|
-
}, g(e.model_value), 9,
|
|
1921
|
-
|
|
1920
|
+
}, g(e.model_value), 9, xs),
|
|
1921
|
+
ws
|
|
1922
1922
|
], 2)) : f("", !0),
|
|
1923
1923
|
e.show ? f("", !0) : (d(), u("div", {
|
|
1924
1924
|
key: 1,
|
|
@@ -1931,8 +1931,8 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1931
1931
|
required: e.is_required
|
|
1932
1932
|
}),
|
|
1933
1933
|
for: e.field_name
|
|
1934
|
-
}, g(e.label_name), 11,
|
|
1935
|
-
|
|
1934
|
+
}, g(e.label_name), 11, ks),
|
|
1935
|
+
$s,
|
|
1936
1936
|
r("input", {
|
|
1937
1937
|
class: "mb-4",
|
|
1938
1938
|
type: "hidden",
|
|
@@ -1942,7 +1942,7 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1942
1942
|
onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
|
|
1943
1943
|
ref_key: "input_translate",
|
|
1944
1944
|
ref: i
|
|
1945
|
-
}, null, 40,
|
|
1945
|
+
}, null, 40, Cs),
|
|
1946
1946
|
r("textarea", {
|
|
1947
1947
|
name: e.field_name,
|
|
1948
1948
|
id: e.field_name,
|
|
@@ -1957,13 +1957,13 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1957
1957
|
ref: a,
|
|
1958
1958
|
rows: "4"
|
|
1959
1959
|
}, `
|
|
1960
|
-
`, 42,
|
|
1961
|
-
r("span",
|
|
1962
|
-
r("small",
|
|
1960
|
+
`, 42, Ss),
|
|
1961
|
+
r("span", Ds, g(e.error_message), 1),
|
|
1962
|
+
r("small", Os, g(e.description), 1)
|
|
1963
1963
|
], 2))
|
|
1964
1964
|
], 64));
|
|
1965
1965
|
}
|
|
1966
|
-
},
|
|
1966
|
+
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__PURE__ */ r("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ms = ["name", "id"], Ns = ["required", "name", "id", "type"], Vs = { class: "gl-span-form-error" }, Ls = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ou = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2037,7 +2037,7 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2037
2037
|
key: 0,
|
|
2038
2038
|
class: b(e.field_name)
|
|
2039
2039
|
}, [
|
|
2040
|
-
r("h3",
|
|
2040
|
+
r("h3", Ps, g(e.label_name), 1),
|
|
2041
2041
|
O(r("input", {
|
|
2042
2042
|
type: "hidden",
|
|
2043
2043
|
"data-i18n": "true",
|
|
@@ -2045,14 +2045,14 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2045
2045
|
id: e.field_name + "_i18n",
|
|
2046
2046
|
ref: "input_translate_s",
|
|
2047
2047
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
2048
|
-
}, null, 8,
|
|
2048
|
+
}, null, 8, Es), [
|
|
2049
2049
|
[L, l.inputTranslateValue]
|
|
2050
2050
|
]),
|
|
2051
2051
|
r("p", {
|
|
2052
2052
|
id: e.field_name,
|
|
2053
2053
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2054
2054
|
}, g(e.model_value), 9, js),
|
|
2055
|
-
|
|
2055
|
+
As
|
|
2056
2056
|
], 2)) : f("", !0),
|
|
2057
2057
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2058
2058
|
key: 1,
|
|
@@ -2065,8 +2065,8 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2065
2065
|
required: e.is_required
|
|
2066
2066
|
}),
|
|
2067
2067
|
for: e.field_name
|
|
2068
|
-
}, g(e.label_name), 11,
|
|
2069
|
-
|
|
2068
|
+
}, g(e.label_name), 11, Ts),
|
|
2069
|
+
Is,
|
|
2070
2070
|
r("input", {
|
|
2071
2071
|
class: "mb-4",
|
|
2072
2072
|
type: "hidden",
|
|
@@ -2076,7 +2076,7 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2076
2076
|
onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
|
|
2077
2077
|
ref_key: "input_translate",
|
|
2078
2078
|
ref: i
|
|
2079
|
-
}, null, 40,
|
|
2079
|
+
}, null, 40, Ms),
|
|
2080
2080
|
r("input", {
|
|
2081
2081
|
required: e.is_required,
|
|
2082
2082
|
name: e.field_name,
|
|
@@ -2090,13 +2090,13 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2090
2090
|
onKeydown: c[3] || (c[3] = (h) => l.$emit("keydown", h)),
|
|
2091
2091
|
ref_key: "input",
|
|
2092
2092
|
ref: a
|
|
2093
|
-
}, null, 42,
|
|
2094
|
-
r("span",
|
|
2095
|
-
r("small",
|
|
2093
|
+
}, null, 42, Ns),
|
|
2094
|
+
r("span", Vs, g(e.error_message), 1),
|
|
2095
|
+
r("small", Ls, g(e.description), 1)
|
|
2096
2096
|
], 2))
|
|
2097
2097
|
], 64));
|
|
2098
2098
|
}
|
|
2099
|
-
},
|
|
2099
|
+
}, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], qs = { class: "gl-span-form-error" }, Hs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Pu = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2159,9 +2159,9 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2159
2159
|
key: 0,
|
|
2160
2160
|
class: b(e.field_name)
|
|
2161
2161
|
}, [
|
|
2162
|
-
r("h3",
|
|
2163
|
-
r("p",
|
|
2164
|
-
|
|
2162
|
+
r("h3", Bs, g(e.label_name), 1),
|
|
2163
|
+
r("p", Gs, g(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
|
|
2164
|
+
Fs
|
|
2165
2165
|
], 2)) : f("", !0),
|
|
2166
2166
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2167
2167
|
key: 1,
|
|
@@ -2174,7 +2174,7 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2174
2174
|
required: e.is_required
|
|
2175
2175
|
}),
|
|
2176
2176
|
for: e.field_name
|
|
2177
|
-
}, g(e.label_name), 11,
|
|
2177
|
+
}, g(e.label_name), 11, Rs),
|
|
2178
2178
|
O(r("input", {
|
|
2179
2179
|
required: e.is_required,
|
|
2180
2180
|
name: e.field_name,
|
|
@@ -2189,28 +2189,28 @@ const $u = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2189
2189
|
ref_key: "input",
|
|
2190
2190
|
ref: a,
|
|
2191
2191
|
placeholder: e.placeholder
|
|
2192
|
-
}, null, 42,
|
|
2193
|
-
[
|
|
2192
|
+
}, null, 42, Us), [
|
|
2193
|
+
[tt, i.value]
|
|
2194
2194
|
]),
|
|
2195
|
-
r("span",
|
|
2196
|
-
r("small",
|
|
2195
|
+
r("span", qs, g(e.error_message), 1),
|
|
2196
|
+
r("small", Hs, g(e.description), 1)
|
|
2197
2197
|
], 2))
|
|
2198
2198
|
], 64));
|
|
2199
2199
|
}
|
|
2200
|
-
},
|
|
2200
|
+
}, zs = {
|
|
2201
2201
|
setup(e, { slots: t }) {
|
|
2202
2202
|
const s = $(t.default().map((o) => o.props)), n = $(s.value[0].title);
|
|
2203
|
-
return
|
|
2203
|
+
return rt("selectedTitle", n), {
|
|
2204
2204
|
tabs: s,
|
|
2205
2205
|
selectedTitle: n
|
|
2206
2206
|
};
|
|
2207
2207
|
}
|
|
2208
|
-
},
|
|
2209
|
-
function
|
|
2208
|
+
}, Zs = { class: "flex flex-wrap" }, Ks = { class: "w-full" }, Ws = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, Ys = ["onClick"], Xs = { 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" }, Js = { class: "flex-auto px-4 py-5" }, Qs = { class: "tab-content tab-space" };
|
|
2209
|
+
function ea(e, t, s, n, o, a) {
|
|
2210
2210
|
return d(), u(v, null, [
|
|
2211
|
-
r("div",
|
|
2212
|
-
r("div",
|
|
2213
|
-
r("ul",
|
|
2211
|
+
r("div", Zs, [
|
|
2212
|
+
r("div", Ks, [
|
|
2213
|
+
r("ul", Ws, [
|
|
2214
2214
|
(d(!0), u(v, null, C(n.tabs, (i) => (d(), u("li", {
|
|
2215
2215
|
key: i.title,
|
|
2216
2216
|
onClick: (l) => n.selectedTitle = i.title,
|
|
@@ -2224,36 +2224,36 @@ function ta(e, t, s, n, o, a) {
|
|
|
2224
2224
|
}, null, 2),
|
|
2225
2225
|
w(" " + g(i.title), 1)
|
|
2226
2226
|
], 2)
|
|
2227
|
-
], 8,
|
|
2227
|
+
], 8, Ys))), 128))
|
|
2228
2228
|
])
|
|
2229
2229
|
])
|
|
2230
2230
|
]),
|
|
2231
|
-
r("div",
|
|
2232
|
-
r("div",
|
|
2233
|
-
r("div",
|
|
2231
|
+
r("div", Xs, [
|
|
2232
|
+
r("div", Js, [
|
|
2233
|
+
r("div", Qs, [
|
|
2234
2234
|
T(e.$slots, "default")
|
|
2235
2235
|
])
|
|
2236
2236
|
])
|
|
2237
2237
|
])
|
|
2238
2238
|
], 64);
|
|
2239
2239
|
}
|
|
2240
|
-
const
|
|
2240
|
+
const Eu = /* @__PURE__ */ k(zs, [["render", ea]]), ta = {
|
|
2241
2241
|
props: ["title"],
|
|
2242
2242
|
setup() {
|
|
2243
2243
|
return {
|
|
2244
2244
|
selectedTitle: Ce("selectedTitle")
|
|
2245
2245
|
};
|
|
2246
2246
|
}
|
|
2247
|
-
},
|
|
2247
|
+
}, ra = {
|
|
2248
2248
|
key: 0,
|
|
2249
2249
|
class: "block"
|
|
2250
2250
|
};
|
|
2251
|
-
function
|
|
2252
|
-
return s.title == n.selectedTitle ? (d(), u("div",
|
|
2251
|
+
function sa(e, t, s, n, o, a) {
|
|
2252
|
+
return s.title == n.selectedTitle ? (d(), u("div", ra, [
|
|
2253
2253
|
T(e.$slots, "default")
|
|
2254
2254
|
])) : f("", !0);
|
|
2255
2255
|
}
|
|
2256
|
-
const
|
|
2256
|
+
const ju = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
|
|
2257
2257
|
props: {
|
|
2258
2258
|
elements_to_show_prop: {
|
|
2259
2259
|
type: Number,
|
|
@@ -2352,10 +2352,10 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2352
2352
|
this.direction_property == "rtl" ? t.style.marginRight = -this.dotsNavigation[e - 1] + "px" : t.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
|
|
2353
2353
|
}
|
|
2354
2354
|
}
|
|
2355
|
-
}, P = (e) => (
|
|
2355
|
+
}, P = (e) => (st("data-v-a94f16a9"), e = e(), at(), e), na = ["id"], oa = {
|
|
2356
2356
|
key: 0,
|
|
2357
2357
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2358
|
-
},
|
|
2358
|
+
}, la = { class: "w-full" }, ia = {
|
|
2359
2359
|
key: 0,
|
|
2360
2360
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2361
2361
|
class: "w-6 h-6",
|
|
@@ -2363,13 +2363,13 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2363
2363
|
viewBox: "0 0 24 24",
|
|
2364
2364
|
stroke: "currentColor",
|
|
2365
2365
|
"stroke-width": "2"
|
|
2366
|
-
},
|
|
2366
|
+
}, da = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2367
2367
|
"stroke-linecap": "round",
|
|
2368
2368
|
"stroke-linejoin": "round",
|
|
2369
2369
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2370
|
-
}, null, -1)),
|
|
2371
|
-
|
|
2372
|
-
],
|
|
2370
|
+
}, null, -1)), ua = [
|
|
2371
|
+
da
|
|
2372
|
+
], ca = {
|
|
2373
2373
|
key: 1,
|
|
2374
2374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2375
2375
|
class: "w-6 h-6",
|
|
@@ -2377,13 +2377,13 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2377
2377
|
viewBox: "0 0 24 24",
|
|
2378
2378
|
stroke: "currentColor",
|
|
2379
2379
|
"stroke-width": "2"
|
|
2380
|
-
},
|
|
2380
|
+
}, fa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2381
2381
|
"stroke-linecap": "round",
|
|
2382
2382
|
"stroke-linejoin": "round",
|
|
2383
2383
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2384
|
-
}, null, -1)),
|
|
2385
|
-
|
|
2386
|
-
],
|
|
2384
|
+
}, null, -1)), ga = [
|
|
2385
|
+
fa
|
|
2386
|
+
], ha = ["id"], ma = ["id"], ba = { class: "w-full" }, pa = {
|
|
2387
2387
|
key: 0,
|
|
2388
2388
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2389
2389
|
class: "w-6 h-6",
|
|
@@ -2391,13 +2391,13 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2391
2391
|
viewBox: "0 0 24 24",
|
|
2392
2392
|
stroke: "currentColor",
|
|
2393
2393
|
"stroke-width": "2"
|
|
2394
|
-
},
|
|
2394
|
+
}, ya = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2395
2395
|
"stroke-linecap": "round",
|
|
2396
2396
|
"stroke-linejoin": "round",
|
|
2397
2397
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2398
|
-
}, null, -1)),
|
|
2399
|
-
|
|
2400
|
-
],
|
|
2398
|
+
}, null, -1)), _a = [
|
|
2399
|
+
ya
|
|
2400
|
+
], va = {
|
|
2401
2401
|
key: 1,
|
|
2402
2402
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2403
2403
|
class: "w-6 h-6",
|
|
@@ -2405,13 +2405,13 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2405
2405
|
viewBox: "0 0 24 24",
|
|
2406
2406
|
stroke: "currentColor",
|
|
2407
2407
|
"stroke-width": "2"
|
|
2408
|
-
},
|
|
2408
|
+
}, xa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2409
2409
|
"stroke-linecap": "round",
|
|
2410
2410
|
"stroke-linejoin": "round",
|
|
2411
2411
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2412
|
-
}, null, -1)),
|
|
2413
|
-
|
|
2414
|
-
],
|
|
2412
|
+
}, null, -1)), wa = [
|
|
2413
|
+
xa
|
|
2414
|
+
], ka = { class: "w-full" }, $a = {
|
|
2415
2415
|
key: 0,
|
|
2416
2416
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2417
2417
|
class: "w-6 h-6",
|
|
@@ -2419,13 +2419,13 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2419
2419
|
viewBox: "0 0 24 24",
|
|
2420
2420
|
stroke: "currentColor",
|
|
2421
2421
|
"stroke-width": "2"
|
|
2422
|
-
},
|
|
2422
|
+
}, Ca = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2423
2423
|
"stroke-linecap": "round",
|
|
2424
2424
|
"stroke-linejoin": "round",
|
|
2425
2425
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2426
|
-
}, null, -1)),
|
|
2427
|
-
|
|
2428
|
-
],
|
|
2426
|
+
}, null, -1)), Sa = [
|
|
2427
|
+
Ca
|
|
2428
|
+
], Da = {
|
|
2429
2429
|
key: 1,
|
|
2430
2430
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2431
2431
|
class: "w-6 h-6",
|
|
@@ -2433,23 +2433,23 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2433
2433
|
viewBox: "0 0 24 24",
|
|
2434
2434
|
stroke: "currentColor",
|
|
2435
2435
|
"stroke-width": "2"
|
|
2436
|
-
},
|
|
2436
|
+
}, Oa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2437
2437
|
"stroke-linecap": "round",
|
|
2438
2438
|
"stroke-linejoin": "round",
|
|
2439
2439
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2440
|
-
}, null, -1)),
|
|
2441
|
-
|
|
2442
|
-
],
|
|
2440
|
+
}, null, -1)), Pa = [
|
|
2441
|
+
Oa
|
|
2442
|
+
], Ea = ["onClick"], ja = /* @__PURE__ */ P(() => /* @__PURE__ */ r("span", null, null, -1)), Aa = [
|
|
2443
2443
|
ja
|
|
2444
|
-
],
|
|
2444
|
+
], Ta = {
|
|
2445
2445
|
key: 1,
|
|
2446
2446
|
class: "flex justify-between pl-5 pr-5"
|
|
2447
|
-
},
|
|
2448
|
-
|
|
2449
|
-
],
|
|
2447
|
+
}, Ia = ["onClick"], Ma = /* @__PURE__ */ P(() => /* @__PURE__ */ r("span", null, null, -1)), Na = [
|
|
2448
|
+
Ma
|
|
2449
|
+
], Va = {
|
|
2450
2450
|
key: 0,
|
|
2451
2451
|
class: "flex"
|
|
2452
|
-
},
|
|
2452
|
+
}, La = { class: "flex items-center" }, Ba = { class: "w-full" }, Ga = {
|
|
2453
2453
|
key: 0,
|
|
2454
2454
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2455
2455
|
class: "w-6 h-6",
|
|
@@ -2457,13 +2457,13 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2457
2457
|
viewBox: "0 0 24 24",
|
|
2458
2458
|
stroke: "currentColor",
|
|
2459
2459
|
"stroke-width": "2"
|
|
2460
|
-
},
|
|
2460
|
+
}, Fa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2461
2461
|
"stroke-linecap": "round",
|
|
2462
2462
|
"stroke-linejoin": "round",
|
|
2463
2463
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2464
|
-
}, null, -1)),
|
|
2465
|
-
|
|
2466
|
-
],
|
|
2464
|
+
}, null, -1)), Ra = [
|
|
2465
|
+
Fa
|
|
2466
|
+
], Ua = {
|
|
2467
2467
|
key: 1,
|
|
2468
2468
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2469
2469
|
class: "w-6 h-6",
|
|
@@ -2471,13 +2471,13 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2471
2471
|
viewBox: "0 0 24 24",
|
|
2472
2472
|
stroke: "currentColor",
|
|
2473
2473
|
"stroke-width": "2"
|
|
2474
|
-
},
|
|
2474
|
+
}, qa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2475
2475
|
"stroke-linecap": "round",
|
|
2476
2476
|
"stroke-linejoin": "round",
|
|
2477
2477
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2478
|
-
}, null, -1)),
|
|
2479
|
-
|
|
2480
|
-
],
|
|
2478
|
+
}, null, -1)), Ha = [
|
|
2479
|
+
qa
|
|
2480
|
+
], za = { class: "flex items-center" }, Za = { class: "w-full" }, Ka = {
|
|
2481
2481
|
key: 0,
|
|
2482
2482
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2483
2483
|
class: "w-6 h-6",
|
|
@@ -2485,13 +2485,13 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2485
2485
|
viewBox: "0 0 24 24",
|
|
2486
2486
|
stroke: "currentColor",
|
|
2487
2487
|
"stroke-width": "2"
|
|
2488
|
-
},
|
|
2488
|
+
}, Wa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2489
2489
|
"stroke-linecap": "round",
|
|
2490
2490
|
"stroke-linejoin": "round",
|
|
2491
2491
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2492
|
-
}, null, -1)),
|
|
2493
|
-
|
|
2494
|
-
],
|
|
2492
|
+
}, null, -1)), Ya = [
|
|
2493
|
+
Wa
|
|
2494
|
+
], Xa = {
|
|
2495
2495
|
key: 1,
|
|
2496
2496
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2497
2497
|
class: "w-6 h-6",
|
|
@@ -2499,16 +2499,16 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2499
2499
|
viewBox: "0 0 24 24",
|
|
2500
2500
|
stroke: "currentColor",
|
|
2501
2501
|
"stroke-width": "2"
|
|
2502
|
-
},
|
|
2502
|
+
}, Ja = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2503
2503
|
"stroke-linecap": "round",
|
|
2504
2504
|
"stroke-linejoin": "round",
|
|
2505
2505
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2506
|
-
}, null, -1)),
|
|
2507
|
-
|
|
2508
|
-
],
|
|
2506
|
+
}, null, -1)), Qa = [
|
|
2507
|
+
Ja
|
|
2508
|
+
], en = {
|
|
2509
2509
|
key: 1,
|
|
2510
2510
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2511
|
-
},
|
|
2511
|
+
}, tn = { class: "w-full" }, rn = {
|
|
2512
2512
|
key: 0,
|
|
2513
2513
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2514
2514
|
class: "w-6 h-6",
|
|
@@ -2516,13 +2516,13 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2516
2516
|
viewBox: "0 0 24 24",
|
|
2517
2517
|
stroke: "currentColor",
|
|
2518
2518
|
"stroke-width": "2"
|
|
2519
|
-
},
|
|
2519
|
+
}, sn = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2520
2520
|
"stroke-linecap": "round",
|
|
2521
2521
|
"stroke-linejoin": "round",
|
|
2522
2522
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2523
|
-
}, null, -1)),
|
|
2524
|
-
|
|
2525
|
-
],
|
|
2523
|
+
}, null, -1)), an = [
|
|
2524
|
+
sn
|
|
2525
|
+
], nn = {
|
|
2526
2526
|
key: 1,
|
|
2527
2527
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2528
2528
|
class: "w-6 h-6",
|
|
@@ -2530,27 +2530,27 @@ const Eu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
|
2530
2530
|
viewBox: "0 0 24 24",
|
|
2531
2531
|
stroke: "currentColor",
|
|
2532
2532
|
"stroke-width": "2"
|
|
2533
|
-
},
|
|
2533
|
+
}, on = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
|
|
2534
2534
|
"stroke-linecap": "round",
|
|
2535
2535
|
"stroke-linejoin": "round",
|
|
2536
2536
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2537
|
-
}, null, -1)),
|
|
2538
|
-
|
|
2537
|
+
}, null, -1)), ln = [
|
|
2538
|
+
on
|
|
2539
2539
|
];
|
|
2540
|
-
function
|
|
2540
|
+
function dn(e, t, s, n, o, a) {
|
|
2541
2541
|
return d(), u("div", null, [
|
|
2542
2542
|
r("div", {
|
|
2543
2543
|
class: b(["", !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
2544
2544
|
id: "mainSliderContainer_" + e.Random_string
|
|
2545
2545
|
}, [
|
|
2546
|
-
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2547
|
-
r("div",
|
|
2546
|
+
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", oa, [
|
|
2547
|
+
r("div", la, [
|
|
2548
2548
|
r("button", {
|
|
2549
2549
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2550
2550
|
onClick: t[0] || (t[0] = (i) => a.prev())
|
|
2551
2551
|
}, [
|
|
2552
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2553
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2552
|
+
s.direction_property == "ltr" ? (d(), u("svg", ia, ua)) : f("", !0),
|
|
2553
|
+
s.direction_property == "rtl" ? (d(), u("svg", ca, ga)) : f("", !0)
|
|
2554
2554
|
])
|
|
2555
2555
|
])
|
|
2556
2556
|
])) : f("", !0),
|
|
@@ -2566,13 +2566,13 @@ function un(e, t, s, n, o, a) {
|
|
|
2566
2566
|
key: 0,
|
|
2567
2567
|
class: b(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", s.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
2568
2568
|
}, [
|
|
2569
|
-
r("div",
|
|
2569
|
+
r("div", ba, [
|
|
2570
2570
|
r("button", {
|
|
2571
2571
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2572
2572
|
onClick: t[1] || (t[1] = V((i) => a.prev(), ["stop"]))
|
|
2573
2573
|
}, [
|
|
2574
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2575
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2574
|
+
s.direction_property == "ltr" ? (d(), u("svg", pa, _a)) : f("", !0),
|
|
2575
|
+
s.direction_property == "rtl" ? (d(), u("svg", va, wa)) : f("", !0)
|
|
2576
2576
|
])
|
|
2577
2577
|
])
|
|
2578
2578
|
], 2)) : f("", !0),
|
|
@@ -2581,17 +2581,17 @@ function un(e, t, s, n, o, a) {
|
|
|
2581
2581
|
key: 1,
|
|
2582
2582
|
class: b(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", s.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
2583
2583
|
}, [
|
|
2584
|
-
r("div",
|
|
2584
|
+
r("div", ka, [
|
|
2585
2585
|
r("button", {
|
|
2586
2586
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2587
2587
|
onClick: t[2] || (t[2] = V((i) => a.next(), ["stop"]))
|
|
2588
2588
|
}, [
|
|
2589
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2590
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2589
|
+
s.direction_property == "ltr" ? (d(), u("svg", $a, Sa)) : f("", !0),
|
|
2590
|
+
s.direction_property == "rtl" ? (d(), u("svg", Da, Pa)) : f("", !0)
|
|
2591
2591
|
])
|
|
2592
2592
|
])
|
|
2593
2593
|
], 2)) : f("", !0)
|
|
2594
|
-
], 8,
|
|
2594
|
+
], 8, ma),
|
|
2595
2595
|
s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
|
|
2596
2596
|
key: 0,
|
|
2597
2597
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
@@ -2601,9 +2601,9 @@ function un(e, t, s, n, o, a) {
|
|
|
2601
2601
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2602
2602
|
key: i,
|
|
2603
2603
|
onClick: (l) => a.setDot(i)
|
|
2604
|
-
},
|
|
2604
|
+
}, Aa, 10, Ea))), 128))
|
|
2605
2605
|
], 2)) : f("", !0),
|
|
2606
|
-
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div",
|
|
2606
|
+
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ta, [
|
|
2607
2607
|
r("div", {
|
|
2608
2608
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2609
2609
|
}, [
|
|
@@ -2612,53 +2612,53 @@ function un(e, t, s, n, o, a) {
|
|
|
2612
2612
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2613
2613
|
key: i,
|
|
2614
2614
|
onClick: (l) => a.setDot(i)
|
|
2615
|
-
},
|
|
2615
|
+
}, Na, 10, Ia))), 128))
|
|
2616
2616
|
], 2),
|
|
2617
|
-
e.dotsNum > 0 ? (d(), u("div",
|
|
2618
|
-
r("div",
|
|
2619
|
-
r("div",
|
|
2617
|
+
e.dotsNum > 0 ? (d(), u("div", Va, [
|
|
2618
|
+
r("div", La, [
|
|
2619
|
+
r("div", Ba, [
|
|
2620
2620
|
r("button", {
|
|
2621
2621
|
class: b(["p-3 rounded-full arrow_button_styles", s.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2622
2622
|
onClick: t[3] || (t[3] = (i) => a.prev())
|
|
2623
2623
|
}, [
|
|
2624
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2625
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2624
|
+
s.direction_property == "ltr" ? (d(), u("svg", Ga, Ra)) : f("", !0),
|
|
2625
|
+
s.direction_property == "rtl" ? (d(), u("svg", Ua, Ha)) : f("", !0)
|
|
2626
2626
|
], 2)
|
|
2627
2627
|
])
|
|
2628
2628
|
]),
|
|
2629
|
-
r("div",
|
|
2630
|
-
r("div",
|
|
2629
|
+
r("div", za, [
|
|
2630
|
+
r("div", Za, [
|
|
2631
2631
|
r("button", {
|
|
2632
2632
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2633
2633
|
onClick: t[4] || (t[4] = (i) => a.next())
|
|
2634
2634
|
}, [
|
|
2635
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2636
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2635
|
+
s.direction_property == "ltr" ? (d(), u("svg", Ka, Ya)) : f("", !0),
|
|
2636
|
+
s.direction_property == "rtl" ? (d(), u("svg", Xa, Qa)) : f("", !0)
|
|
2637
2637
|
])
|
|
2638
2638
|
])
|
|
2639
2639
|
])
|
|
2640
2640
|
])) : f("", !0)
|
|
2641
2641
|
])) : f("", !0)
|
|
2642
|
-
], 10,
|
|
2643
|
-
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2644
|
-
r("div",
|
|
2642
|
+
], 10, ha),
|
|
2643
|
+
e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", en, [
|
|
2644
|
+
r("div", tn, [
|
|
2645
2645
|
r("button", {
|
|
2646
2646
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2647
2647
|
onClick: t[5] || (t[5] = (i) => a.next())
|
|
2648
2648
|
}, [
|
|
2649
|
-
s.direction_property == "ltr" ? (d(), u("svg",
|
|
2650
|
-
s.direction_property == "rtl" ? (d(), u("svg",
|
|
2649
|
+
s.direction_property == "ltr" ? (d(), u("svg", rn, an)) : f("", !0),
|
|
2650
|
+
s.direction_property == "rtl" ? (d(), u("svg", nn, ln)) : f("", !0)
|
|
2651
2651
|
])
|
|
2652
2652
|
])
|
|
2653
2653
|
])) : f("", !0)
|
|
2654
|
-
], 10,
|
|
2654
|
+
], 10, na)
|
|
2655
2655
|
]);
|
|
2656
2656
|
}
|
|
2657
|
-
const Au = /* @__PURE__ */ k(
|
|
2657
|
+
const Au = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
|
|
2658
2658
|
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",
|
|
2659
2659
|
tabindex: "-1",
|
|
2660
2660
|
"aria-hidden": "true"
|
|
2661
|
-
},
|
|
2661
|
+
}, cn = { 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" }, fn = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, gn = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, hn = /* @__PURE__ */ r("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2662
2662
|
/* @__PURE__ */ r("svg", {
|
|
2663
2663
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2664
2664
|
fill: "currentColor",
|
|
@@ -2672,9 +2672,9 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2672
2672
|
d: "M6 18L18 6M6 6l12 12"
|
|
2673
2673
|
})
|
|
2674
2674
|
])
|
|
2675
|
-
], -1),
|
|
2676
|
-
|
|
2677
|
-
],
|
|
2675
|
+
], -1), mn = [
|
|
2676
|
+
hn
|
|
2677
|
+
], bn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Tu = {
|
|
2678
2678
|
__name: "GlModal",
|
|
2679
2679
|
props: {
|
|
2680
2680
|
is_open: {
|
|
@@ -2709,26 +2709,26 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2709
2709
|
l ? o() : a();
|
|
2710
2710
|
},
|
|
2711
2711
|
{ immediate: !0, deep: !0 }
|
|
2712
|
-
), (l, c) => O((d(), u("div",
|
|
2712
|
+
), (l, c) => O((d(), u("div", un, [
|
|
2713
2713
|
r("div", {
|
|
2714
2714
|
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])
|
|
2715
2715
|
}, [
|
|
2716
|
-
r("div",
|
|
2717
|
-
r("div",
|
|
2718
|
-
r("h5",
|
|
2716
|
+
r("div", cn, [
|
|
2717
|
+
r("div", fn, [
|
|
2718
|
+
r("h5", gn, g(e.title), 1),
|
|
2719
2719
|
r("button", {
|
|
2720
2720
|
type: "button",
|
|
2721
2721
|
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",
|
|
2722
2722
|
onClick: i,
|
|
2723
2723
|
"aria-label": "Close"
|
|
2724
|
-
},
|
|
2724
|
+
}, mn)
|
|
2725
2725
|
]),
|
|
2726
2726
|
r("div", {
|
|
2727
2727
|
class: b(["relative overflow-y-auto", e.bodyClass])
|
|
2728
2728
|
}, [
|
|
2729
2729
|
T(l.$slots, "body")
|
|
2730
2730
|
], 2),
|
|
2731
|
-
r("div",
|
|
2731
|
+
r("div", bn, [
|
|
2732
2732
|
T(l.$slots, "buttons"),
|
|
2733
2733
|
r("button", {
|
|
2734
2734
|
onClick: i,
|
|
@@ -2742,7 +2742,10 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2742
2742
|
[Z, e.is_open]
|
|
2743
2743
|
]);
|
|
2744
2744
|
}
|
|
2745
|
-
},
|
|
2745
|
+
}, pn = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, yn = { class: "relative inline-flex items-center cursor-pointer" }, _n = ["name", "id", "checked"], vn = /* @__PURE__ */ r("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), xn = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), wn = {
|
|
2746
|
+
key: 0,
|
|
2747
|
+
class: "flex justify-between items-center"
|
|
2748
|
+
}, kn = { class: "gl-label-form" }, $n = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, Cn = { class: "relative inline-flex items-center cursor-pointer" }, Sn = ["name", "id"], Dn = /* @__PURE__ */ r("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), On = { class: "gl-span-form-error" }, Pn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Iu = {
|
|
2746
2749
|
__name: "GlToggleBox",
|
|
2747
2750
|
props: {
|
|
2748
2751
|
is_required: {
|
|
@@ -2777,6 +2780,10 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2777
2780
|
type: String,
|
|
2778
2781
|
default: ""
|
|
2779
2782
|
},
|
|
2783
|
+
has_label_up: {
|
|
2784
|
+
type: Boolean,
|
|
2785
|
+
default: !1
|
|
2786
|
+
},
|
|
2780
2787
|
description: {
|
|
2781
2788
|
type: String,
|
|
2782
2789
|
default: ""
|
|
@@ -2798,9 +2805,9 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2798
2805
|
class: b(e.field_name)
|
|
2799
2806
|
}, [
|
|
2800
2807
|
r("div", null, [
|
|
2801
|
-
r("li",
|
|
2808
|
+
r("li", pn, [
|
|
2802
2809
|
w(g(e.label_name) + " ", 1),
|
|
2803
|
-
r("label",
|
|
2810
|
+
r("label", yn, [
|
|
2804
2811
|
r("input", {
|
|
2805
2812
|
type: "checkbox",
|
|
2806
2813
|
class: "sr-only peer",
|
|
@@ -2812,20 +2819,23 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2812
2819
|
ref_key: "input",
|
|
2813
2820
|
ref: o,
|
|
2814
2821
|
disabled: ""
|
|
2815
|
-
}, null, 8,
|
|
2816
|
-
|
|
2822
|
+
}, null, 8, _n),
|
|
2823
|
+
vn
|
|
2817
2824
|
])
|
|
2818
2825
|
])
|
|
2819
2826
|
]),
|
|
2820
|
-
|
|
2827
|
+
xn
|
|
2821
2828
|
], 2)) : f("", !0),
|
|
2822
2829
|
e.show ? f("", !0) : (d(), u("div", {
|
|
2823
2830
|
key: 1,
|
|
2824
2831
|
class: b(e.field_name)
|
|
2825
2832
|
}, [
|
|
2826
|
-
|
|
2833
|
+
e.has_label_up ? (d(), u("div", wn, [
|
|
2834
|
+
r("label", kn, g(e.label_name), 1)
|
|
2835
|
+
])) : f("", !0),
|
|
2836
|
+
r("li", $n, [
|
|
2827
2837
|
w(g(e.label_name) + " ", 1),
|
|
2828
|
-
r("label",
|
|
2838
|
+
r("label", Cn, [
|
|
2829
2839
|
O(r("input", {
|
|
2830
2840
|
type: "checkbox",
|
|
2831
2841
|
class: "sr-only peer",
|
|
@@ -2836,24 +2846,24 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2836
2846
|
ref_key: "input",
|
|
2837
2847
|
ref: o,
|
|
2838
2848
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => a.value = c)
|
|
2839
|
-
}, null, 8,
|
|
2840
|
-
[
|
|
2849
|
+
}, null, 8, Sn), [
|
|
2850
|
+
[nt, a.value]
|
|
2841
2851
|
]),
|
|
2842
|
-
|
|
2852
|
+
Dn
|
|
2843
2853
|
])
|
|
2844
2854
|
]),
|
|
2845
|
-
r("span",
|
|
2846
|
-
r("small",
|
|
2855
|
+
r("span", On, g(e.error_message), 1),
|
|
2856
|
+
r("small", Pn, g(e.description), 1)
|
|
2847
2857
|
], 2))
|
|
2848
2858
|
], 64));
|
|
2849
2859
|
}
|
|
2850
|
-
},
|
|
2860
|
+
}, En = { class: "font-bold ptext-lg dark:text-white" }, jn = { class: "mt-3 mb-4" }, An = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, Tn = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), In = ["name", "id", "value"], Mn = {
|
|
2851
2861
|
key: 0,
|
|
2852
2862
|
class: "dropdown"
|
|
2853
|
-
},
|
|
2863
|
+
}, Nn = { class: "focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Vn = { class: "relative showOptions" }, Ln = ["value", "placeholder"], Bn = { 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]" }, Gn = { class: "p-1" }, Fn = /* @__PURE__ */ r("label", {
|
|
2854
2864
|
for: "default-search",
|
|
2855
2865
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2856
|
-
}, "Search", -1),
|
|
2866
|
+
}, "Search", -1), Rn = { class: "relative" }, Un = /* @__PURE__ */ r("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
2857
2867
|
/* @__PURE__ */ r("svg", {
|
|
2858
2868
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
2859
2869
|
"aria-hidden": "true",
|
|
@@ -2869,22 +2879,22 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2869
2879
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
2870
2880
|
})
|
|
2871
2881
|
])
|
|
2872
|
-
], -1),
|
|
2882
|
+
], -1), qn = ["id"], Hn = { class: "overflow-y-auto max-h-64" }, zn = ["onClick", "onMousedown", "id"], Zn = { class: "flex items-center py-2 pl-10 pr-4" }, Kn = {
|
|
2873
2883
|
key: 0,
|
|
2874
2884
|
class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
|
|
2875
2885
|
"aria-hidden": "true",
|
|
2876
2886
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2877
2887
|
fill: "none",
|
|
2878
2888
|
viewBox: "0 0 16 12"
|
|
2879
|
-
},
|
|
2889
|
+
}, Wn = /* @__PURE__ */ r("path", {
|
|
2880
2890
|
stroke: "currentColor",
|
|
2881
2891
|
"stroke-linecap": "round",
|
|
2882
2892
|
"stroke-linejoin": "round",
|
|
2883
2893
|
"stroke-width": "2",
|
|
2884
2894
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2885
|
-
}, null, -1),
|
|
2886
|
-
|
|
2887
|
-
],
|
|
2895
|
+
}, null, -1), Yn = [
|
|
2896
|
+
Wn
|
|
2897
|
+
], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Jn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Mu = {
|
|
2888
2898
|
__name: "GlDropdown",
|
|
2889
2899
|
props: {
|
|
2890
2900
|
modelValue: {
|
|
@@ -2947,12 +2957,12 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2947
2957
|
const s = e, n = t, o = $(null), a = $({}), i = $(0), l = $(!1), c = $(""), h = $("");
|
|
2948
2958
|
F(() => {
|
|
2949
2959
|
h.value = B(), s.show || (document.body.addEventListener("click", (p) => {
|
|
2950
|
-
|
|
2960
|
+
He(p);
|
|
2951
2961
|
}), document.addEventListener("keypress", (p) => {
|
|
2952
2962
|
p.key === "Enter" && p.target.form && p.preventDefault();
|
|
2953
2963
|
}));
|
|
2954
2964
|
});
|
|
2955
|
-
const m = N(() =>
|
|
2965
|
+
const m = N(() => Ke()), y = N(() => We()), x = N(() => {
|
|
2956
2966
|
const p = [], D = new RegExp(c.value, "ig");
|
|
2957
2967
|
for (const E of m.value) {
|
|
2958
2968
|
const G = String(E.name);
|
|
@@ -2970,7 +2980,7 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2970
2980
|
].includes(p.key)) {
|
|
2971
2981
|
if (["ArrowUp", "ArrowDown"].includes(p.key) && p.preventDefault(), p.key === "ArrowDown" && s.posts === "")
|
|
2972
2982
|
return;
|
|
2973
|
-
|
|
2983
|
+
Ze(p.key);
|
|
2974
2984
|
}
|
|
2975
2985
|
}
|
|
2976
2986
|
function B() {
|
|
@@ -2986,24 +2996,24 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2986
2996
|
function te(p) {
|
|
2987
2997
|
return p !== null && typeof p == "object" && Object.keys(p).length > 0;
|
|
2988
2998
|
}
|
|
2989
|
-
function
|
|
2999
|
+
function He(p) {
|
|
2990
3000
|
p.target.id != s.field_name + "search" + h.value && p.target.id != s.field_name && !p.target.classList.contains("showOptions") && (pe(), i.value = 0);
|
|
2991
3001
|
}
|
|
2992
3002
|
function me(p) {
|
|
2993
3003
|
const D = `${p}${h.value}`, E = document.getElementById(D);
|
|
2994
3004
|
E && E.scrollIntoView();
|
|
2995
3005
|
}
|
|
2996
|
-
function
|
|
3006
|
+
function ze(p) {
|
|
2997
3007
|
const D = `${p}${h.value}`, E = document.getElementById(D);
|
|
2998
3008
|
E && E.click();
|
|
2999
3009
|
}
|
|
3000
|
-
function
|
|
3001
|
-
p === "ArrowDown" && i.value < x.value.length && (i.value++, me(i.value)), p === "ArrowUp" && i.value > 1 && (i.value--, me(i.value)), p === "Enter" &&
|
|
3010
|
+
function Ze(p) {
|
|
3011
|
+
p === "ArrowDown" && i.value < x.value.length && (i.value++, me(i.value)), p === "ArrowUp" && i.value > 1 && (i.value--, me(i.value)), p === "Enter" && ze(i.value);
|
|
3002
3012
|
}
|
|
3003
|
-
function
|
|
3013
|
+
function Ke() {
|
|
3004
3014
|
return s.options.map((p, D) => typeof p == "object" ? p : { id: p, name: p });
|
|
3005
3015
|
}
|
|
3006
|
-
function
|
|
3016
|
+
function We() {
|
|
3007
3017
|
if (te(a.value))
|
|
3008
3018
|
return typeof a.value == "object" ? m.value.find(
|
|
3009
3019
|
(p) => String(p.id) === String(a.value.id)
|
|
@@ -3021,14 +3031,14 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3021
3031
|
a.value = p, l.value = !1, n("update:modelValue", a.value.id), n("selected", a.value), n("selectionChanged", a.value);
|
|
3022
3032
|
}
|
|
3023
3033
|
function re() {
|
|
3024
|
-
s.show || (c.value = "", l.value = !0,
|
|
3034
|
+
s.show || (c.value = "", l.value = !0, ot(() => {
|
|
3025
3035
|
var p = document.getElementById(
|
|
3026
3036
|
`${s.field_name}search${h.value}`
|
|
3027
3037
|
);
|
|
3028
3038
|
p && p.focus();
|
|
3029
3039
|
}));
|
|
3030
3040
|
}
|
|
3031
|
-
function
|
|
3041
|
+
function Ye() {
|
|
3032
3042
|
s.show || (a.value = {}, c.value = "", n("update:modelValue", ""), re());
|
|
3033
3043
|
}
|
|
3034
3044
|
function pe() {
|
|
@@ -3045,11 +3055,11 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3045
3055
|
key: 0,
|
|
3046
3056
|
class: b(e.field_name)
|
|
3047
3057
|
}, [
|
|
3048
|
-
r("h3",
|
|
3049
|
-
r("p",
|
|
3058
|
+
r("h3", En, g(e.label_name), 1),
|
|
3059
|
+
r("p", jn, [
|
|
3050
3060
|
r("span", An, g((E = y.value) == null ? void 0 : E.name), 1)
|
|
3051
3061
|
]),
|
|
3052
|
-
|
|
3062
|
+
Tn
|
|
3053
3063
|
], 2)) : f("", !0),
|
|
3054
3064
|
e.show ? f("", !0) : (d(), u("div", {
|
|
3055
3065
|
key: 1,
|
|
@@ -3060,8 +3070,8 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3060
3070
|
name: e.field_name,
|
|
3061
3071
|
id: e.field_name,
|
|
3062
3072
|
value: (G = y.value) == null ? void 0 : G.id
|
|
3063
|
-
}, null, 8,
|
|
3064
|
-
e.options ? (d(), u("div",
|
|
3073
|
+
}, null, 8, In),
|
|
3074
|
+
e.options ? (d(), u("div", Mn, [
|
|
3065
3075
|
e.label_name ? (d(), u("label", {
|
|
3066
3076
|
key: 0,
|
|
3067
3077
|
class: b({
|
|
@@ -3070,68 +3080,68 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3070
3080
|
required: e.is_required
|
|
3071
3081
|
})
|
|
3072
3082
|
}, g(e.label_name), 3)) : f("", !0),
|
|
3073
|
-
r("div",
|
|
3074
|
-
r("div",
|
|
3083
|
+
r("div", Nn, [
|
|
3084
|
+
r("div", Vn, [
|
|
3075
3085
|
r("input", {
|
|
3076
3086
|
class: b([{
|
|
3077
3087
|
"gl-input-form": e.error_message == "",
|
|
3078
3088
|
"gl-input-form-invalid": e.error_message !== ""
|
|
3079
3089
|
}, "pl-8 pr-2 showOptions"]),
|
|
3080
3090
|
ref: e.field_name,
|
|
3081
|
-
onClick: D[0] || (D[0] = (
|
|
3091
|
+
onClick: D[0] || (D[0] = (A) => re()),
|
|
3082
3092
|
value: (ye = y.value) == null ? void 0 : ye.name,
|
|
3083
3093
|
placeholder: e.placeholder,
|
|
3084
3094
|
autocomplete: "off",
|
|
3085
3095
|
readonly: ""
|
|
3086
|
-
}, null, 10,
|
|
3096
|
+
}, null, 10, Ln),
|
|
3087
3097
|
O(r("i", {
|
|
3088
|
-
onClick: D[1] || (D[1] = V((
|
|
3098
|
+
onClick: D[1] || (D[1] = V((A) => Ye(), ["stop"])),
|
|
3089
3099
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3090
3100
|
style: { top: "13px" }
|
|
3091
3101
|
}, null, 512), [
|
|
3092
3102
|
[Z, te(y.value) && e.has_cancel]
|
|
3093
3103
|
]),
|
|
3094
3104
|
r("i", {
|
|
3095
|
-
onClick: D[2] || (D[2] = (
|
|
3105
|
+
onClick: D[2] || (D[2] = (A) => !l.value && re()),
|
|
3096
3106
|
class: b([l.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
|
|
3097
3107
|
style: { top: "11px" }
|
|
3098
3108
|
}, null, 2)
|
|
3099
3109
|
]),
|
|
3100
|
-
O(r("div",
|
|
3101
|
-
r("div",
|
|
3102
|
-
|
|
3103
|
-
r("div",
|
|
3104
|
-
|
|
3110
|
+
O(r("div", Bn, [
|
|
3111
|
+
r("div", Gn, [
|
|
3112
|
+
Fn,
|
|
3113
|
+
r("div", Rn, [
|
|
3114
|
+
Un,
|
|
3105
3115
|
O(r("input", {
|
|
3106
3116
|
type: "search",
|
|
3107
|
-
"onUpdate:modelValue": D[3] || (D[3] = (
|
|
3117
|
+
"onUpdate:modelValue": D[3] || (D[3] = (A) => c.value = A),
|
|
3108
3118
|
ref: o.value,
|
|
3109
3119
|
id: `${e.field_name}search${h.value}`,
|
|
3110
3120
|
onKeydown: S,
|
|
3111
|
-
onBlur: D[4] || (D[4] = (
|
|
3121
|
+
onBlur: D[4] || (D[4] = (A) => pe()),
|
|
3112
3122
|
autocomplete: "off",
|
|
3113
3123
|
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",
|
|
3114
3124
|
placeholder: "Search ..."
|
|
3115
|
-
}, null, 40,
|
|
3125
|
+
}, null, 40, qn), [
|
|
3116
3126
|
[L, c.value]
|
|
3117
3127
|
])
|
|
3118
3128
|
])
|
|
3119
3129
|
]),
|
|
3120
|
-
r("div",
|
|
3121
|
-
(d(!0), u(v, null, C(x.value, (
|
|
3130
|
+
r("div", Hn, [
|
|
3131
|
+
(d(!0), u(v, null, C(x.value, (A, se) => {
|
|
3122
3132
|
var _e;
|
|
3123
3133
|
return d(), u("div", {
|
|
3124
3134
|
class: b(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", se + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
3125
|
-
onClick: (
|
|
3126
|
-
onMousedown: (
|
|
3135
|
+
onClick: (Xe) => be(A),
|
|
3136
|
+
onMousedown: (Xe) => be(A),
|
|
3127
3137
|
key: se,
|
|
3128
3138
|
id: `${se + 1}${h.value}`
|
|
3129
3139
|
}, [
|
|
3130
|
-
r("div",
|
|
3131
|
-
((_e = y.value) == null ? void 0 : _e.id) ===
|
|
3132
|
-
r("span", null, g(
|
|
3140
|
+
r("div", Zn, [
|
|
3141
|
+
((_e = y.value) == null ? void 0 : _e.id) === A.id ? (d(), u("svg", Kn, Yn)) : f("", !0),
|
|
3142
|
+
r("span", null, g(A.name || A.id || "-"), 1)
|
|
3133
3143
|
])
|
|
3134
|
-
], 42,
|
|
3144
|
+
], 42, zn);
|
|
3135
3145
|
}), 128))
|
|
3136
3146
|
])
|
|
3137
3147
|
], 512), [
|
|
@@ -3139,13 +3149,13 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3139
3149
|
])
|
|
3140
3150
|
])
|
|
3141
3151
|
])) : f("", !0),
|
|
3142
|
-
r("span",
|
|
3143
|
-
r("small",
|
|
3152
|
+
r("span", Xn, g(e.error_message), 1),
|
|
3153
|
+
r("small", Jn, g(e.description), 1)
|
|
3144
3154
|
], 2))
|
|
3145
3155
|
], 64);
|
|
3146
3156
|
};
|
|
3147
3157
|
}
|
|
3148
|
-
},
|
|
3158
|
+
}, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ro = ["for"], so = ["required", "name", "id", "type", "placeholder"], ao = { class: "gl-span-form-error" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Nu = {
|
|
3149
3159
|
__name: "GlTextarea",
|
|
3150
3160
|
props: {
|
|
3151
3161
|
is_required: {
|
|
@@ -3195,7 +3205,7 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3195
3205
|
F(() => {
|
|
3196
3206
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
|
|
3197
3207
|
});
|
|
3198
|
-
const i =
|
|
3208
|
+
const i = N({
|
|
3199
3209
|
get() {
|
|
3200
3210
|
return n.modelValue;
|
|
3201
3211
|
},
|
|
@@ -3208,12 +3218,12 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3208
3218
|
key: 0,
|
|
3209
3219
|
class: b(e.field_name)
|
|
3210
3220
|
}, [
|
|
3211
|
-
r("h3",
|
|
3221
|
+
r("h3", Qn, g(e.label_name), 1),
|
|
3212
3222
|
r("p", {
|
|
3213
3223
|
id: e.field_name,
|
|
3214
3224
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3215
|
-
}, g(e.model_value), 9,
|
|
3216
|
-
|
|
3225
|
+
}, g(e.model_value), 9, eo),
|
|
3226
|
+
to
|
|
3217
3227
|
], 2)) : f("", !0),
|
|
3218
3228
|
e.show ? f("", !0) : (d(), u("div", {
|
|
3219
3229
|
key: 1,
|
|
@@ -3226,7 +3236,7 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3226
3236
|
required: e.is_required
|
|
3227
3237
|
}),
|
|
3228
3238
|
for: e.field_name
|
|
3229
|
-
}, g(e.label_name), 11,
|
|
3239
|
+
}, g(e.label_name), 11, ro),
|
|
3230
3240
|
O(r("textarea", {
|
|
3231
3241
|
required: e.is_required,
|
|
3232
3242
|
name: e.field_name,
|
|
@@ -3236,21 +3246,21 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3236
3246
|
" gl-textarea-form-invalid mt-4 ": e.error_message !== ""
|
|
3237
3247
|
}),
|
|
3238
3248
|
type: e.type,
|
|
3239
|
-
"onUpdate:modelValue": c[0] || (c[0] = (h) =>
|
|
3249
|
+
"onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
|
|
3240
3250
|
onKeydown: c[1] || (c[1] = (h) => l.$emit("keydown", h)),
|
|
3241
3251
|
ref_key: "input",
|
|
3242
3252
|
ref: a,
|
|
3243
3253
|
rows: "4",
|
|
3244
3254
|
placeholder: e.placeholder
|
|
3245
|
-
}, null, 42,
|
|
3246
|
-
[L,
|
|
3255
|
+
}, null, 42, so), [
|
|
3256
|
+
[L, i.value]
|
|
3247
3257
|
]),
|
|
3248
|
-
r("span",
|
|
3249
|
-
r("small",
|
|
3258
|
+
r("span", ao, g(e.error_message), 1),
|
|
3259
|
+
r("small", no, g(e.description), 1)
|
|
3250
3260
|
], 2))
|
|
3251
3261
|
], 64));
|
|
3252
3262
|
}
|
|
3253
|
-
},
|
|
3263
|
+
}, oo = {
|
|
3254
3264
|
emits: ["pagination-change-page"],
|
|
3255
3265
|
props: {
|
|
3256
3266
|
data: {
|
|
@@ -3355,14 +3365,14 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3355
3365
|
})
|
|
3356
3366
|
});
|
|
3357
3367
|
}
|
|
3358
|
-
},
|
|
3368
|
+
}, lo = {
|
|
3359
3369
|
compatConfig: {
|
|
3360
3370
|
MODE: 3
|
|
3361
3371
|
},
|
|
3362
3372
|
inheritAttrs: !1,
|
|
3363
3373
|
emits: ["pagination-change-page"],
|
|
3364
3374
|
components: {
|
|
3365
|
-
RenderlessPagination:
|
|
3375
|
+
RenderlessPagination: oo
|
|
3366
3376
|
},
|
|
3367
3377
|
props: {
|
|
3368
3378
|
data: {
|
|
@@ -3396,10 +3406,10 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3396
3406
|
},
|
|
3397
3407
|
mounted() {
|
|
3398
3408
|
}
|
|
3399
|
-
},
|
|
3409
|
+
}, io = { class: "flex flex-col items-center" }, uo = {
|
|
3400
3410
|
key: 0,
|
|
3401
3411
|
class: "text-sm text-gray-700 dark:text-gray-400"
|
|
3402
|
-
},
|
|
3412
|
+
}, co = { class: "font-semibold text-gray-900 dark:text-white" }, fo = { class: "font-semibold text-gray-900 dark:text-white" }, go = { class: "font-semibold text-gray-900 dark:text-white" }, ho = ["tabindex"], mo = /* @__PURE__ */ r("span", { class: "sr-only" }, "Previous", -1), bo = /* @__PURE__ */ r("svg", {
|
|
3403
3413
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3404
3414
|
"aria-hidden": "true",
|
|
3405
3415
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3413,7 +3423,7 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3413
3423
|
"stroke-width": "2",
|
|
3414
3424
|
d: "M5 1 1 5l4 4"
|
|
3415
3425
|
})
|
|
3416
|
-
], -1),
|
|
3426
|
+
], -1), po = ["aria-current"], yo = ["tabindex"], _o = /* @__PURE__ */ r("span", { class: "sr-only" }, "Next", -1), vo = /* @__PURE__ */ r("svg", {
|
|
3417
3427
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3418
3428
|
"aria-hidden": "true",
|
|
3419
3429
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3428,7 +3438,7 @@ const Au = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3428
3438
|
d: "m1 9 4-4-4-4"
|
|
3429
3439
|
})
|
|
3430
3440
|
], -1);
|
|
3431
|
-
function
|
|
3441
|
+
function xo(e, t, s, n, o, a) {
|
|
3432
3442
|
const i = X("RenderlessPagination");
|
|
3433
3443
|
return d(), K(i, {
|
|
3434
3444
|
data: s.data,
|
|
@@ -3436,14 +3446,14 @@ function vo(e, t, s, n, o, a) {
|
|
|
3436
3446
|
onPaginationChangePage: a.onPaginationChangePage
|
|
3437
3447
|
}, {
|
|
3438
3448
|
default: J((l) => [
|
|
3439
|
-
r("div",
|
|
3440
|
-
l.computed.total > l.computed.perPage ? (d(), u("span",
|
|
3449
|
+
r("div", io, [
|
|
3450
|
+
l.computed.total > l.computed.perPage ? (d(), u("span", uo, [
|
|
3441
3451
|
w(" Showing "),
|
|
3442
|
-
r("span",
|
|
3452
|
+
r("span", co, g(l.computed.from), 1),
|
|
3443
3453
|
w(" to "),
|
|
3444
|
-
r("span",
|
|
3454
|
+
r("span", fo, g(l.computed.to), 1),
|
|
3445
3455
|
w(" of "),
|
|
3446
|
-
r("span",
|
|
3456
|
+
r("span", go, g(l.computed.total), 1),
|
|
3447
3457
|
w(" Entries ")
|
|
3448
3458
|
])) : f("", !0),
|
|
3449
3459
|
l.computed.total > l.computed.perPage ? (d(), u("ul", W({ key: 1 }, e.$attrs, {
|
|
@@ -3465,10 +3475,10 @@ function vo(e, t, s, n, o, a) {
|
|
|
3465
3475
|
tabindex: !l.computed.prevPageUrl && -1
|
|
3466
3476
|
}, ae(l.prevButtonEvents, !0)), [
|
|
3467
3477
|
T(e.$slots, "prev-nav", {}, () => [
|
|
3468
|
-
|
|
3469
|
-
|
|
3478
|
+
mo,
|
|
3479
|
+
bo
|
|
3470
3480
|
])
|
|
3471
|
-
], 16,
|
|
3481
|
+
], 16, ho)
|
|
3472
3482
|
], 2)) : f("", !0),
|
|
3473
3483
|
(d(!0), u(v, null, C(l.computed.pageRange, (c, h) => (d(), u("li", {
|
|
3474
3484
|
class: b(["", { active: c == l.computed.currentPage }]),
|
|
@@ -3480,7 +3490,7 @@ function vo(e, t, s, n, o, a) {
|
|
|
3480
3490
|
}, ae(l.pageButtonEvents(c), !0), {
|
|
3481
3491
|
"aria-current": c == l.computed.currentPage ? "page" : null,
|
|
3482
3492
|
class: c == l.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"
|
|
3483
|
-
}), g(c), 17,
|
|
3493
|
+
}), g(c), 17, po)
|
|
3484
3494
|
], 2))), 128)),
|
|
3485
3495
|
l.computed.nextPageUrl || s.showDisabled ? (d(), u("li", {
|
|
3486
3496
|
key: 1,
|
|
@@ -3493,10 +3503,10 @@ function vo(e, t, s, n, o, a) {
|
|
|
3493
3503
|
tabindex: !l.computed.nextPageUrl && -1
|
|
3494
3504
|
}, ae(l.nextButtonEvents, !0)), [
|
|
3495
3505
|
T(e.$slots, "next-nav", {}, () => [
|
|
3496
|
-
|
|
3497
|
-
|
|
3506
|
+
_o,
|
|
3507
|
+
vo
|
|
3498
3508
|
])
|
|
3499
|
-
], 16,
|
|
3509
|
+
], 16, yo)
|
|
3500
3510
|
], 2)) : f("", !0)
|
|
3501
3511
|
], 16)) : f("", !0)
|
|
3502
3512
|
])
|
|
@@ -3504,8 +3514,8 @@ function vo(e, t, s, n, o, a) {
|
|
|
3504
3514
|
_: 3
|
|
3505
3515
|
}, 8, ["data", "limit", "onPaginationChangePage"]);
|
|
3506
3516
|
}
|
|
3507
|
-
const
|
|
3508
|
-
components: { TailwindPagination:
|
|
3517
|
+
const wo = /* @__PURE__ */ k(lo, [["render", xo]]), ko = {
|
|
3518
|
+
components: { TailwindPagination: wo },
|
|
3509
3519
|
props: {
|
|
3510
3520
|
data: Array,
|
|
3511
3521
|
columns: Array,
|
|
@@ -3584,10 +3594,10 @@ const xo = /* @__PURE__ */ k(oo, [["render", vo]]), wo = {
|
|
|
3584
3594
|
this.isMounted && e !== t && this.GetItemLists();
|
|
3585
3595
|
}
|
|
3586
3596
|
}
|
|
3587
|
-
},
|
|
3597
|
+
}, $o = { class: "p-2" }, Co = { 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" }, So = { class: "flex items-center gap-2" }, Do = /* @__PURE__ */ r("span", { class: "font-medium" }, " Show ", -1), Oo = { style: { "margin-top": "9px" } }, Po = /* @__PURE__ */ r("span", { class: "font-medium" }, " Entries ", -1), Eo = /* @__PURE__ */ r("label", {
|
|
3588
3598
|
for: "table-search",
|
|
3589
3599
|
class: "sr-only"
|
|
3590
|
-
}, "Search", -1),
|
|
3600
|
+
}, "Search", -1), jo = { class: "relative" }, Ao = /* @__PURE__ */ r("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
|
|
3591
3601
|
/* @__PURE__ */ r("svg", {
|
|
3592
3602
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3593
3603
|
"aria-hidden": "true",
|
|
@@ -3601,16 +3611,16 @@ const xo = /* @__PURE__ */ k(oo, [["render", vo]]), wo = {
|
|
|
3601
3611
|
"clip-rule": "evenodd"
|
|
3602
3612
|
})
|
|
3603
3613
|
])
|
|
3604
|
-
], -1),
|
|
3614
|
+
], -1), To = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Io = { 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" }, Mo = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, No = ["onClick"], Vo = {
|
|
3605
3615
|
key: 0,
|
|
3606
3616
|
class: "ml-2"
|
|
3607
|
-
},
|
|
3617
|
+
}, Lo = {
|
|
3608
3618
|
key: 0,
|
|
3609
3619
|
class: "fa fa-arrow-up"
|
|
3610
|
-
},
|
|
3620
|
+
}, Bo = {
|
|
3611
3621
|
key: 1,
|
|
3612
3622
|
class: "fa fa-arrow-down"
|
|
3613
|
-
},
|
|
3623
|
+
}, Go = { key: 0 }, Fo = ["colspan"], Ro = /* @__PURE__ */ r("div", {
|
|
3614
3624
|
role: "status",
|
|
3615
3625
|
class: "p-4 space-y-4 border border-gray-200 divide-y divide-gray-200 rounded shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700"
|
|
3616
3626
|
}, [
|
|
@@ -3650,16 +3660,16 @@ const xo = /* @__PURE__ */ k(oo, [["render", vo]]), wo = {
|
|
|
3650
3660
|
/* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
|
|
3651
3661
|
]),
|
|
3652
3662
|
/* @__PURE__ */ r("span", { class: "sr-only" }, "Loading...")
|
|
3653
|
-
], -1),
|
|
3654
|
-
|
|
3655
|
-
],
|
|
3656
|
-
function
|
|
3663
|
+
], -1), Uo = [
|
|
3664
|
+
Ro
|
|
3665
|
+
], qo = ["data-label"], Ho = { class: "overflow-auto max-h-40" }, zo = { 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" };
|
|
3666
|
+
function Zo(e, t, s, n, o, a) {
|
|
3657
3667
|
const i = X("dropdown"), l = X("TailwindPagination");
|
|
3658
|
-
return d(), u("div",
|
|
3659
|
-
r("div",
|
|
3660
|
-
r("div",
|
|
3661
|
-
|
|
3662
|
-
r("div",
|
|
3668
|
+
return d(), u("div", $o, [
|
|
3669
|
+
r("div", Co, [
|
|
3670
|
+
r("div", So, [
|
|
3671
|
+
Do,
|
|
3672
|
+
r("div", Oo, [
|
|
3663
3673
|
z(i, {
|
|
3664
3674
|
has_cancel: !1,
|
|
3665
3675
|
options: o.pageOptions,
|
|
@@ -3673,10 +3683,10 @@ function zo(e, t, s, n, o, a) {
|
|
|
3673
3683
|
placeholder: "Please select an option"
|
|
3674
3684
|
}, null, 8, ["options", "modelValue"])
|
|
3675
3685
|
]),
|
|
3676
|
-
|
|
3686
|
+
Po
|
|
3677
3687
|
]),
|
|
3678
|
-
|
|
3679
|
-
r("div",
|
|
3688
|
+
Eo,
|
|
3689
|
+
r("div", jo, [
|
|
3680
3690
|
Ao,
|
|
3681
3691
|
O(r("input", {
|
|
3682
3692
|
type: "text",
|
|
@@ -3689,9 +3699,9 @@ function zo(e, t, s, n, o, a) {
|
|
|
3689
3699
|
])
|
|
3690
3700
|
])
|
|
3691
3701
|
]),
|
|
3692
|
-
r("div",
|
|
3693
|
-
r("table",
|
|
3694
|
-
r("thead",
|
|
3702
|
+
r("div", To, [
|
|
3703
|
+
r("table", Io, [
|
|
3704
|
+
r("thead", Mo, [
|
|
3695
3705
|
r("tr", null, [
|
|
3696
3706
|
(d(!0), u(v, null, C(s.columns, (c, h) => (d(), u("th", {
|
|
3697
3707
|
key: h,
|
|
@@ -3699,17 +3709,17 @@ function zo(e, t, s, n, o, a) {
|
|
|
3699
3709
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3700
3710
|
}, [
|
|
3701
3711
|
w(g(c.field_label) + " ", 1),
|
|
3702
|
-
o.sortField === c.field_name ? (d(), u("span",
|
|
3703
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
3712
|
+
o.sortField === c.field_name ? (d(), u("span", Vo, [
|
|
3713
|
+
o.sortOrder === "asc" ? (d(), u("i", Lo)) : (d(), u("i", Bo))
|
|
3704
3714
|
])) : f("", !0)
|
|
3705
|
-
], 8,
|
|
3715
|
+
], 8, No))), 128))
|
|
3706
3716
|
])
|
|
3707
3717
|
]),
|
|
3708
3718
|
r("tbody", null, [
|
|
3709
|
-
o.isLoading ? (d(), u("tr",
|
|
3719
|
+
o.isLoading ? (d(), u("tr", Go, [
|
|
3710
3720
|
r("td", {
|
|
3711
3721
|
colspan: s.columns.length
|
|
3712
|
-
},
|
|
3722
|
+
}, Uo, 8, Fo)
|
|
3713
3723
|
])) : f("", !0),
|
|
3714
3724
|
o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 }, C(o.itemLists.data, (c, h) => (d(), u("tr", {
|
|
3715
3725
|
key: h,
|
|
@@ -3720,7 +3730,7 @@ function zo(e, t, s, n, o, a) {
|
|
|
3720
3730
|
"data-label": m.field_label,
|
|
3721
3731
|
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"
|
|
3722
3732
|
}, [
|
|
3723
|
-
r("div",
|
|
3733
|
+
r("div", Ho, [
|
|
3724
3734
|
m.tdComp ? (d(), K(oe(a.forDynCompIs(m.tdComp)), {
|
|
3725
3735
|
key: 0,
|
|
3726
3736
|
row: c,
|
|
@@ -3733,12 +3743,12 @@ function zo(e, t, s, n, o, a) {
|
|
|
3733
3743
|
w(g(c[m.field_name]), 1)
|
|
3734
3744
|
], 64))
|
|
3735
3745
|
])
|
|
3736
|
-
], 8,
|
|
3746
|
+
], 8, qo))), 128))
|
|
3737
3747
|
]))), 128))
|
|
3738
3748
|
])
|
|
3739
3749
|
])
|
|
3740
3750
|
]),
|
|
3741
|
-
r("div",
|
|
3751
|
+
r("div", zo, [
|
|
3742
3752
|
z(l, {
|
|
3743
3753
|
class: "mt-3 mb-0",
|
|
3744
3754
|
data: o.itemLists,
|
|
@@ -3750,7 +3760,7 @@ function zo(e, t, s, n, o, a) {
|
|
|
3750
3760
|
])
|
|
3751
3761
|
]);
|
|
3752
3762
|
}
|
|
3753
|
-
const
|
|
3763
|
+
const Vu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
|
|
3754
3764
|
components: {},
|
|
3755
3765
|
props: {
|
|
3756
3766
|
data: Array,
|
|
@@ -3830,10 +3840,10 @@ const Nu = /* @__PURE__ */ k(wo, [["render", zo]]), Zo = {
|
|
|
3830
3840
|
e >= 1 && e <= this.totalPages && (this.currentPage = e);
|
|
3831
3841
|
}
|
|
3832
3842
|
}
|
|
3833
|
-
},
|
|
3843
|
+
}, Wo = { class: "p-2" }, Yo = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Xo = { class: "flex items-center gap-2" }, Jo = /* @__PURE__ */ r("span", { class: "font-medium" }, " Show ", -1), Qo = { style: { "margin-top": "9px" } }, el = /* @__PURE__ */ r("span", { class: "font-medium" }, " Entries ", -1), tl = /* @__PURE__ */ r("label", {
|
|
3834
3844
|
for: "table-search",
|
|
3835
3845
|
class: "sr-only"
|
|
3836
|
-
}, "Search", -1),
|
|
3846
|
+
}, "Search", -1), rl = { class: "relative" }, sl = /* @__PURE__ */ r("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
|
|
3837
3847
|
/* @__PURE__ */ r("svg", {
|
|
3838
3848
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3839
3849
|
"aria-hidden": "true",
|
|
@@ -3847,19 +3857,19 @@ const Nu = /* @__PURE__ */ k(wo, [["render", zo]]), Zo = {
|
|
|
3847
3857
|
"clip-rule": "evenodd"
|
|
3848
3858
|
})
|
|
3849
3859
|
])
|
|
3850
|
-
], -1),
|
|
3860
|
+
], -1), al = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, nl = { 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" }, ol = { class: "hidden text-sm font-normal text-center text-gray-700 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, ll = ["onClick"], il = {
|
|
3851
3861
|
key: 0,
|
|
3852
3862
|
class: "ml-2"
|
|
3853
|
-
},
|
|
3863
|
+
}, dl = {
|
|
3854
3864
|
key: 0,
|
|
3855
3865
|
class: "fa fa-arrow-up"
|
|
3856
|
-
},
|
|
3866
|
+
}, ul = {
|
|
3857
3867
|
key: 1,
|
|
3858
3868
|
class: "fa fa-arrow-down"
|
|
3859
|
-
},
|
|
3869
|
+
}, cl = ["data-label"], fl = ["innerHTML"], gl = {
|
|
3860
3870
|
key: 0,
|
|
3861
3871
|
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"
|
|
3862
|
-
},
|
|
3872
|
+
}, hl = { class: "flex justify-between flex-1 sm:hidden" }, ml = ["disabled"], bl = ["disabled"], pl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, yl = { class: "text-sm text-gray-700 dark:text-gray-400" }, _l = { class: "font-medium" }, vl = { class: "font-medium" }, xl = { class: "font-medium" }, wl = { "aria-label": "Page navigation" }, kl = { class: "flex items-center h-8 -space-x-px text-sm" }, $l = ["disabled"], Cl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Previous", -1), Sl = /* @__PURE__ */ r("svg", {
|
|
3863
3873
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3864
3874
|
"aria-hidden": "true",
|
|
3865
3875
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3873,10 +3883,10 @@ const Nu = /* @__PURE__ */ k(wo, [["render", zo]]), Zo = {
|
|
|
3873
3883
|
"stroke-width": "2",
|
|
3874
3884
|
d: "M5 1 1 5l4 4"
|
|
3875
3885
|
})
|
|
3876
|
-
], -1),
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
],
|
|
3886
|
+
], -1), Dl = [
|
|
3887
|
+
Cl,
|
|
3888
|
+
Sl
|
|
3889
|
+
], Ol = ["onClick"], Pl = ["onClick"], El = ["disabled"], jl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Next", -1), Al = /* @__PURE__ */ r("svg", {
|
|
3880
3890
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3881
3891
|
"aria-hidden": "true",
|
|
3882
3892
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3890,17 +3900,17 @@ const Nu = /* @__PURE__ */ k(wo, [["render", zo]]), Zo = {
|
|
|
3890
3900
|
"stroke-width": "2",
|
|
3891
3901
|
d: "m1 9 4-4-4-4"
|
|
3892
3902
|
})
|
|
3893
|
-
], -1),
|
|
3894
|
-
|
|
3903
|
+
], -1), Tl = [
|
|
3904
|
+
jl,
|
|
3895
3905
|
Al
|
|
3896
3906
|
];
|
|
3897
|
-
function
|
|
3907
|
+
function Il(e, t, s, n, o, a) {
|
|
3898
3908
|
const i = X("dropdown");
|
|
3899
|
-
return d(), u("div",
|
|
3900
|
-
r("div",
|
|
3901
|
-
r("div",
|
|
3902
|
-
|
|
3903
|
-
r("div",
|
|
3909
|
+
return d(), u("div", Wo, [
|
|
3910
|
+
r("div", Yo, [
|
|
3911
|
+
r("div", Xo, [
|
|
3912
|
+
Jo,
|
|
3913
|
+
r("div", Qo, [
|
|
3904
3914
|
z(i, {
|
|
3905
3915
|
has_cancel: !1,
|
|
3906
3916
|
options: o.showNoOfEntries,
|
|
@@ -3914,11 +3924,11 @@ function Tl(e, t, s, n, o, a) {
|
|
|
3914
3924
|
placeholder: "Please select an option"
|
|
3915
3925
|
}, null, 8, ["options", "modelValue"])
|
|
3916
3926
|
]),
|
|
3917
|
-
|
|
3927
|
+
el
|
|
3918
3928
|
]),
|
|
3919
|
-
|
|
3920
|
-
r("div",
|
|
3921
|
-
|
|
3929
|
+
tl,
|
|
3930
|
+
r("div", rl, [
|
|
3931
|
+
sl,
|
|
3922
3932
|
O(r("input", {
|
|
3923
3933
|
type: "text",
|
|
3924
3934
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => o.search = l),
|
|
@@ -3929,9 +3939,9 @@ function Tl(e, t, s, n, o, a) {
|
|
|
3929
3939
|
])
|
|
3930
3940
|
])
|
|
3931
3941
|
]),
|
|
3932
|
-
r("div",
|
|
3933
|
-
r("table",
|
|
3934
|
-
r("thead",
|
|
3942
|
+
r("div", al, [
|
|
3943
|
+
r("table", nl, [
|
|
3944
|
+
r("thead", ol, [
|
|
3935
3945
|
r("tr", null, [
|
|
3936
3946
|
(d(!0), u(v, null, C(s.columns, (l, c) => (d(), u("th", {
|
|
3937
3947
|
key: c,
|
|
@@ -3939,10 +3949,10 @@ function Tl(e, t, s, n, o, a) {
|
|
|
3939
3949
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3940
3950
|
}, [
|
|
3941
3951
|
w(g(l) + " ", 1),
|
|
3942
|
-
o.sortKey === l ? (d(), u("span",
|
|
3943
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
3952
|
+
o.sortKey === l ? (d(), u("span", il, [
|
|
3953
|
+
o.sortOrder === "asc" ? (d(), u("i", dl)) : (d(), u("i", ul))
|
|
3944
3954
|
])) : f("", !0)
|
|
3945
|
-
], 8,
|
|
3955
|
+
], 8, ll))), 128))
|
|
3946
3956
|
])
|
|
3947
3957
|
]),
|
|
3948
3958
|
r("tbody", null, [
|
|
@@ -3958,49 +3968,49 @@ function Tl(e, t, s, n, o, a) {
|
|
|
3958
3968
|
r("p", {
|
|
3959
3969
|
class: "text-pretty",
|
|
3960
3970
|
innerHTML: l[m]
|
|
3961
|
-
}, null, 8,
|
|
3962
|
-
], 8,
|
|
3971
|
+
}, null, 8, fl)
|
|
3972
|
+
], 8, cl))), 128))
|
|
3963
3973
|
]))), 128))
|
|
3964
3974
|
])
|
|
3965
3975
|
])
|
|
3966
3976
|
]),
|
|
3967
|
-
a.paginatedData.length > 0 ? (d(), u("div",
|
|
3968
|
-
r("div",
|
|
3977
|
+
a.paginatedData.length > 0 ? (d(), u("div", gl, [
|
|
3978
|
+
r("div", hl, [
|
|
3969
3979
|
r("a", {
|
|
3970
3980
|
href: "#",
|
|
3971
3981
|
onClick: t[2] || (t[2] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
3972
3982
|
disabled: o.currentPage === 1,
|
|
3973
3983
|
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"
|
|
3974
|
-
}, "Previous", 8,
|
|
3984
|
+
}, "Previous", 8, ml),
|
|
3975
3985
|
r("a", {
|
|
3976
3986
|
href: "#",
|
|
3977
3987
|
onClick: t[3] || (t[3] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
3978
3988
|
disabled: o.currentPage === a.totalPages,
|
|
3979
3989
|
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"
|
|
3980
|
-
}, "Next", 8,
|
|
3990
|
+
}, "Next", 8, bl)
|
|
3981
3991
|
]),
|
|
3982
|
-
r("div",
|
|
3992
|
+
r("div", pl, [
|
|
3983
3993
|
r("div", null, [
|
|
3984
|
-
r("p",
|
|
3994
|
+
r("p", yl, [
|
|
3985
3995
|
w(" Showing "),
|
|
3986
|
-
r("span",
|
|
3996
|
+
r("span", _l, g(a.firstItemIndex), 1),
|
|
3987
3997
|
w(" to "),
|
|
3988
|
-
r("span",
|
|
3998
|
+
r("span", vl, g(a.lastItemIndex), 1),
|
|
3989
3999
|
w(" of "),
|
|
3990
|
-
r("span",
|
|
4000
|
+
r("span", xl, g(a.filteredData.length), 1),
|
|
3991
4001
|
w(" entries ")
|
|
3992
4002
|
])
|
|
3993
4003
|
]),
|
|
3994
4004
|
r("div", null, [
|
|
3995
|
-
r("nav",
|
|
3996
|
-
r("ul",
|
|
4005
|
+
r("nav", wl, [
|
|
4006
|
+
r("ul", kl, [
|
|
3997
4007
|
r("li", null, [
|
|
3998
4008
|
r("a", {
|
|
3999
4009
|
href: "#",
|
|
4000
4010
|
onClick: t[4] || (t[4] = (...l) => a.previousPage && a.previousPage(...l)),
|
|
4001
4011
|
disabled: o.currentPage === 1,
|
|
4002
4012
|
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"
|
|
4003
|
-
},
|
|
4013
|
+
}, Dl, 8, $l)
|
|
4004
4014
|
]),
|
|
4005
4015
|
(d(!0), u(v, null, C(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
|
|
4006
4016
|
r("li", null, [
|
|
@@ -4009,7 +4019,7 @@ function Tl(e, t, s, n, o, a) {
|
|
|
4009
4019
|
href: "#",
|
|
4010
4020
|
onClick: (c) => a.goToPage(l),
|
|
4011
4021
|
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"
|
|
4012
|
-
}, g(l), 9,
|
|
4022
|
+
}, g(l), 9, Ol)) : f("", !0)
|
|
4013
4023
|
]),
|
|
4014
4024
|
r("li", null, [
|
|
4015
4025
|
o.currentPage === l ? (d(), u("a", {
|
|
@@ -4018,7 +4028,7 @@ function Tl(e, t, s, n, o, a) {
|
|
|
4018
4028
|
onClick: (c) => a.goToPage(l),
|
|
4019
4029
|
"aria-current": "page",
|
|
4020
4030
|
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"
|
|
4021
|
-
}, g(l), 9,
|
|
4031
|
+
}, g(l), 9, Pl)) : f("", !0)
|
|
4022
4032
|
])
|
|
4023
4033
|
], 64))), 128)),
|
|
4024
4034
|
r("li", null, [
|
|
@@ -4027,7 +4037,7 @@ function Tl(e, t, s, n, o, a) {
|
|
|
4027
4037
|
onClick: t[5] || (t[5] = (...l) => a.nextPage && a.nextPage(...l)),
|
|
4028
4038
|
disabled: o.currentPage === a.totalPages,
|
|
4029
4039
|
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"
|
|
4030
|
-
},
|
|
4040
|
+
}, Tl, 8, El)
|
|
4031
4041
|
])
|
|
4032
4042
|
])
|
|
4033
4043
|
])
|
|
@@ -4036,13 +4046,13 @@ function Tl(e, t, s, n, o, a) {
|
|
|
4036
4046
|
])) : f("", !0)
|
|
4037
4047
|
]);
|
|
4038
4048
|
}
|
|
4039
|
-
const
|
|
4049
|
+
const Lu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
4040
4050
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4041
4051
|
role: "alert"
|
|
4042
|
-
},
|
|
4052
|
+
}, Nl = {
|
|
4043
4053
|
key: 0,
|
|
4044
4054
|
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"
|
|
4045
|
-
},
|
|
4055
|
+
}, Vl = /* @__PURE__ */ r("svg", {
|
|
4046
4056
|
class: "w-5 h-5",
|
|
4047
4057
|
"aria-hidden": "true",
|
|
4048
4058
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4050,13 +4060,13 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4050
4060
|
viewBox: "0 0 20 20"
|
|
4051
4061
|
}, [
|
|
4052
4062
|
/* @__PURE__ */ r("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" })
|
|
4053
|
-
], -1),
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
],
|
|
4063
|
+
], -1), Ll = /* @__PURE__ */ r("span", { class: "sr-only" }, "Check icon", -1), Bl = [
|
|
4064
|
+
Vl,
|
|
4065
|
+
Ll
|
|
4066
|
+
], Gl = {
|
|
4057
4067
|
key: 1,
|
|
4058
4068
|
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"
|
|
4059
|
-
},
|
|
4069
|
+
}, Fl = /* @__PURE__ */ r("svg", {
|
|
4060
4070
|
class: "w-5 h-5",
|
|
4061
4071
|
"aria-hidden": "true",
|
|
4062
4072
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4064,13 +4074,13 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4064
4074
|
viewBox: "0 0 20 20"
|
|
4065
4075
|
}, [
|
|
4066
4076
|
/* @__PURE__ */ r("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" })
|
|
4067
|
-
], -1),
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
],
|
|
4077
|
+
], -1), Rl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Error icon", -1), Ul = [
|
|
4078
|
+
Fl,
|
|
4079
|
+
Rl
|
|
4080
|
+
], ql = {
|
|
4071
4081
|
key: 2,
|
|
4072
4082
|
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"
|
|
4073
|
-
},
|
|
4083
|
+
}, Hl = /* @__PURE__ */ r("svg", {
|
|
4074
4084
|
class: "w-5 h-5",
|
|
4075
4085
|
"aria-hidden": "true",
|
|
4076
4086
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4078,10 +4088,10 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4078
4088
|
viewBox: "0 0 20 20"
|
|
4079
4089
|
}, [
|
|
4080
4090
|
/* @__PURE__ */ r("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" })
|
|
4081
|
-
], -1),
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
],
|
|
4091
|
+
], -1), zl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Warning icon", -1), Zl = [
|
|
4092
|
+
Hl,
|
|
4093
|
+
zl
|
|
4094
|
+
], Kl = { class: "ml-3 text-sm font-normal" }, Wl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Close", -1), Yl = /* @__PURE__ */ r("svg", {
|
|
4085
4095
|
"aria-hidden": "true",
|
|
4086
4096
|
class: "w-5 h-5",
|
|
4087
4097
|
fill: "currentColor",
|
|
@@ -4093,10 +4103,10 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4093
4103
|
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",
|
|
4094
4104
|
"clip-rule": "evenodd"
|
|
4095
4105
|
})
|
|
4096
|
-
], -1),
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
],
|
|
4106
|
+
], -1), Xl = [
|
|
4107
|
+
Wl,
|
|
4108
|
+
Yl
|
|
4109
|
+
], Jl = {
|
|
4100
4110
|
__name: "ToastListItem",
|
|
4101
4111
|
props: {
|
|
4102
4112
|
message: String,
|
|
@@ -4116,23 +4126,23 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4116
4126
|
setTimeout(() => n("remove"), s.duration);
|
|
4117
4127
|
});
|
|
4118
4128
|
const n = t;
|
|
4119
|
-
return (o, a) => (d(), u("div",
|
|
4120
|
-
s.type === "success" ? (d(), u("div",
|
|
4121
|
-
s.type === "error" ? (d(), u("div",
|
|
4122
|
-
s.type === "warning" ? (d(), u("div",
|
|
4123
|
-
r("div",
|
|
4129
|
+
return (o, a) => (d(), u("div", Ml, [
|
|
4130
|
+
s.type === "success" ? (d(), u("div", Nl, Bl)) : f("", !0),
|
|
4131
|
+
s.type === "error" ? (d(), u("div", Gl, Ul)) : f("", !0),
|
|
4132
|
+
s.type === "warning" ? (d(), u("div", ql, Zl)) : f("", !0),
|
|
4133
|
+
r("div", Kl, g(s.message), 1),
|
|
4124
4134
|
r("button", {
|
|
4125
4135
|
onClick: a[0] || (a[0] = (i) => n("remove")),
|
|
4126
4136
|
type: "button",
|
|
4127
4137
|
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",
|
|
4128
4138
|
"data-dismiss-target": "#toast-default",
|
|
4129
4139
|
"aria-label": "Close"
|
|
4130
|
-
},
|
|
4140
|
+
}, Xl)
|
|
4131
4141
|
]));
|
|
4132
4142
|
}
|
|
4133
4143
|
}, de = Se({
|
|
4134
4144
|
items: []
|
|
4135
|
-
}),
|
|
4145
|
+
}), Ql = {
|
|
4136
4146
|
add(e) {
|
|
4137
4147
|
de.items.unshift({
|
|
4138
4148
|
key: Symbol(),
|
|
@@ -4146,14 +4156,14 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4146
4156
|
}
|
|
4147
4157
|
}, $e = {
|
|
4148
4158
|
state: de,
|
|
4149
|
-
methods:
|
|
4150
|
-
},
|
|
4159
|
+
methods: Ql
|
|
4160
|
+
}, Bu = {
|
|
4151
4161
|
__name: "GlToastList",
|
|
4152
4162
|
setup(e) {
|
|
4153
4163
|
function t(s) {
|
|
4154
4164
|
$e.methods.remove(s);
|
|
4155
4165
|
}
|
|
4156
|
-
return (s, n) => (d(), K(
|
|
4166
|
+
return (s, n) => (d(), K(lt, {
|
|
4157
4167
|
tag: "div",
|
|
4158
4168
|
"enter-from-class": "translate-x-full opacity-0",
|
|
4159
4169
|
"enter-active-class": "duration-500",
|
|
@@ -4162,7 +4172,7 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4162
4172
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4163
4173
|
}, {
|
|
4164
4174
|
default: J(() => [
|
|
4165
|
-
(d(!0), u(v, null, C(
|
|
4175
|
+
(d(!0), u(v, null, C(it($e).state.items, (o, a) => (d(), K(Jl, {
|
|
4166
4176
|
key: o.key,
|
|
4167
4177
|
message: o.message,
|
|
4168
4178
|
type: o.type,
|
|
@@ -4173,10 +4183,10 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4173
4183
|
_: 1
|
|
4174
4184
|
}));
|
|
4175
4185
|
}
|
|
4176
|
-
},
|
|
4186
|
+
}, ei = {
|
|
4177
4187
|
key: 0,
|
|
4178
4188
|
class: "flex justify-center"
|
|
4179
|
-
},
|
|
4189
|
+
}, ti = /* @__PURE__ */ r("svg", {
|
|
4180
4190
|
class: "w-5 h-5",
|
|
4181
4191
|
"aria-hidden": "true",
|
|
4182
4192
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4184,12 +4194,12 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4184
4194
|
viewBox: "0 0 4 15"
|
|
4185
4195
|
}, [
|
|
4186
4196
|
/* @__PURE__ */ r("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" })
|
|
4187
|
-
], -1),
|
|
4188
|
-
|
|
4189
|
-
],
|
|
4197
|
+
], -1), ri = [
|
|
4198
|
+
ti
|
|
4199
|
+
], si = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ai = {
|
|
4190
4200
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4191
4201
|
"aria-labelledby": "dropdownDividerButton"
|
|
4192
|
-
},
|
|
4202
|
+
}, ni = { key: 0 }, oi = ["href"], li = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ii = { key: 1 }, di = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Gu = {
|
|
4193
4203
|
__name: "DatatableAction",
|
|
4194
4204
|
props: {
|
|
4195
4205
|
field: {
|
|
@@ -4215,7 +4225,7 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4215
4225
|
},
|
|
4216
4226
|
emits: ["deleteAction"],
|
|
4217
4227
|
setup(e, { emit: t }) {
|
|
4218
|
-
const s =
|
|
4228
|
+
const s = Ee(), n = e, o = $(!1), a = $(!1), i = () => {
|
|
4219
4229
|
o.value = !1;
|
|
4220
4230
|
}, l = () => {
|
|
4221
4231
|
o.value = !0;
|
|
@@ -4235,37 +4245,37 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4235
4245
|
});
|
|
4236
4246
|
};
|
|
4237
4247
|
return (x, S) => {
|
|
4238
|
-
const B =
|
|
4248
|
+
const B = De("click-outside");
|
|
4239
4249
|
return d(), u(v, null, [
|
|
4240
4250
|
z(ue, {
|
|
4241
4251
|
isOpen: a.value,
|
|
4242
4252
|
onConfirmDelete: y,
|
|
4243
4253
|
onCancelDelete: c
|
|
4244
4254
|
}, null, 8, ["isOpen"]),
|
|
4245
|
-
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div",
|
|
4255
|
+
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div", ei, [
|
|
4246
4256
|
r("button", {
|
|
4247
4257
|
onClick: l,
|
|
4248
4258
|
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",
|
|
4249
4259
|
type: "button"
|
|
4250
|
-
},
|
|
4251
|
-
O(r("div",
|
|
4252
|
-
r("ul",
|
|
4253
|
-
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4260
|
+
}, ri),
|
|
4261
|
+
O(r("div", si, [
|
|
4262
|
+
r("ul", ai, [
|
|
4263
|
+
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ni, [
|
|
4254
4264
|
r("a", {
|
|
4255
4265
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4256
4266
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4257
4267
|
}, [
|
|
4258
|
-
|
|
4268
|
+
li,
|
|
4259
4269
|
w(" Edit")
|
|
4260
|
-
], 8,
|
|
4270
|
+
], 8, oi)
|
|
4261
4271
|
])) : f("", !0),
|
|
4262
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4272
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ii, [
|
|
4263
4273
|
r("a", {
|
|
4264
4274
|
href: "#",
|
|
4265
4275
|
onClick: V(h, ["prevent"]),
|
|
4266
4276
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4267
4277
|
}, [
|
|
4268
|
-
|
|
4278
|
+
di,
|
|
4269
4279
|
w(" Remove")
|
|
4270
4280
|
])
|
|
4271
4281
|
])) : f("", !0)
|
|
@@ -4279,10 +4289,10 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4279
4289
|
], 64);
|
|
4280
4290
|
};
|
|
4281
4291
|
}
|
|
4282
|
-
},
|
|
4292
|
+
}, ui = {
|
|
4283
4293
|
key: 0,
|
|
4284
4294
|
class: "flex justify-center"
|
|
4285
|
-
},
|
|
4295
|
+
}, ci = /* @__PURE__ */ r("svg", {
|
|
4286
4296
|
class: "w-5 h-5",
|
|
4287
4297
|
"aria-hidden": "true",
|
|
4288
4298
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4290,12 +4300,12 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4290
4300
|
viewBox: "0 0 4 15"
|
|
4291
4301
|
}, [
|
|
4292
4302
|
/* @__PURE__ */ r("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" })
|
|
4293
|
-
], -1),
|
|
4294
|
-
|
|
4295
|
-
],
|
|
4303
|
+
], -1), fi = [
|
|
4304
|
+
ci
|
|
4305
|
+
], gi = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, hi = {
|
|
4296
4306
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4297
4307
|
"aria-labelledby": "dropdownDividerButton"
|
|
4298
|
-
},
|
|
4308
|
+
}, mi = { key: 0 }, bi = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Fu = {
|
|
4299
4309
|
__name: "DatatableDeleteAction",
|
|
4300
4310
|
props: {
|
|
4301
4311
|
field: {
|
|
@@ -4321,7 +4331,7 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4321
4331
|
},
|
|
4322
4332
|
emits: ["deleteAction"],
|
|
4323
4333
|
setup(e, { emit: t }) {
|
|
4324
|
-
const s =
|
|
4334
|
+
const s = Ee(), n = e, o = $(!1), a = $(!1), i = () => {
|
|
4325
4335
|
o.value = !1;
|
|
4326
4336
|
}, l = () => {
|
|
4327
4337
|
o.value = !0;
|
|
@@ -4341,28 +4351,28 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4341
4351
|
});
|
|
4342
4352
|
};
|
|
4343
4353
|
return (x, S) => {
|
|
4344
|
-
const B =
|
|
4354
|
+
const B = De("click-outside");
|
|
4345
4355
|
return d(), u(v, null, [
|
|
4346
4356
|
z(ue, {
|
|
4347
4357
|
isOpen: a.value,
|
|
4348
4358
|
onConfirmDelete: y,
|
|
4349
4359
|
onCancelDelete: c
|
|
4350
4360
|
}, null, 8, ["isOpen"]),
|
|
4351
|
-
e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div",
|
|
4361
|
+
e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div", ui, [
|
|
4352
4362
|
r("button", {
|
|
4353
4363
|
onClick: l,
|
|
4354
4364
|
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",
|
|
4355
4365
|
type: "button"
|
|
4356
|
-
},
|
|
4357
|
-
O(r("div",
|
|
4358
|
-
r("ul",
|
|
4359
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4366
|
+
}, fi),
|
|
4367
|
+
O(r("div", gi, [
|
|
4368
|
+
r("ul", hi, [
|
|
4369
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", mi, [
|
|
4360
4370
|
r("a", {
|
|
4361
4371
|
href: "#",
|
|
4362
4372
|
onClick: V(h, ["prevent"]),
|
|
4363
4373
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4364
4374
|
}, [
|
|
4365
|
-
|
|
4375
|
+
bi,
|
|
4366
4376
|
w(" Remove")
|
|
4367
4377
|
])
|
|
4368
4378
|
])) : f("", !0)
|
|
@@ -4376,7 +4386,7 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4376
4386
|
], 64);
|
|
4377
4387
|
};
|
|
4378
4388
|
}
|
|
4379
|
-
},
|
|
4389
|
+
}, pi = {
|
|
4380
4390
|
props: ["field", "row"],
|
|
4381
4391
|
computed: {
|
|
4382
4392
|
isArray() {
|
|
@@ -4391,7 +4401,7 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4391
4401
|
},
|
|
4392
4402
|
mounted() {
|
|
4393
4403
|
}
|
|
4394
|
-
},
|
|
4404
|
+
}, yi = ["href", "title"], _i = /* @__PURE__ */ r("svg", {
|
|
4395
4405
|
class: "w-3 h-3 text-white me-2",
|
|
4396
4406
|
"aria-hidden": "true",
|
|
4397
4407
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4408,10 +4418,10 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4408
4418
|
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",
|
|
4409
4419
|
"clip-rule": "evenodd"
|
|
4410
4420
|
})
|
|
4411
|
-
], -1),
|
|
4421
|
+
], -1), vi = {
|
|
4412
4422
|
key: 1,
|
|
4413
4423
|
class: "m-1 d-inline-block"
|
|
4414
|
-
},
|
|
4424
|
+
}, xi = ["href", "title"], wi = /* @__PURE__ */ r("svg", {
|
|
4415
4425
|
class: "w-3 h-3 text-white me-2",
|
|
4416
4426
|
"aria-hidden": "true",
|
|
4417
4427
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4429,7 +4439,7 @@ const Vu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
|
|
|
4429
4439
|
"clip-rule": "evenodd"
|
|
4430
4440
|
})
|
|
4431
4441
|
], -1);
|
|
4432
|
-
function
|
|
4442
|
+
function ki(e, t, s, n, o, a) {
|
|
4433
4443
|
return d(), u("div", null, [
|
|
4434
4444
|
a.isArray ? (d(!0), u(v, { key: 0 }, C(s.row, (i, l) => (d(), u("div", {
|
|
4435
4445
|
key: l,
|
|
@@ -4441,23 +4451,23 @@ function wi(e, t, s, n, o, a) {
|
|
|
4441
4451
|
target: "_blank",
|
|
4442
4452
|
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"
|
|
4443
4453
|
}, [
|
|
4444
|
-
|
|
4454
|
+
_i,
|
|
4445
4455
|
w(" Download ")
|
|
4446
|
-
], 8,
|
|
4447
|
-
]))), 128)) : a.isString ? (d(), u("div",
|
|
4456
|
+
], 8, yi)
|
|
4457
|
+
]))), 128)) : a.isString ? (d(), u("div", vi, [
|
|
4448
4458
|
r("a", {
|
|
4449
4459
|
href: s.row,
|
|
4450
4460
|
title: s.row,
|
|
4451
4461
|
target: "_blank",
|
|
4452
4462
|
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"
|
|
4453
4463
|
}, [
|
|
4454
|
-
|
|
4464
|
+
wi,
|
|
4455
4465
|
w(" Download ")
|
|
4456
|
-
], 8,
|
|
4466
|
+
], 8, xi)
|
|
4457
4467
|
])) : f("", !0)
|
|
4458
4468
|
]);
|
|
4459
4469
|
}
|
|
4460
|
-
const
|
|
4470
|
+
const Ru = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
|
|
4461
4471
|
props: ["field", "row"],
|
|
4462
4472
|
computed: {
|
|
4463
4473
|
isArray() {
|
|
@@ -4467,7 +4477,7 @@ const Fu = /* @__PURE__ */ k(bi, [["render", wi]]), ki = {
|
|
|
4467
4477
|
return typeof this.row[this.field] == "object";
|
|
4468
4478
|
}
|
|
4469
4479
|
}
|
|
4470
|
-
},
|
|
4480
|
+
}, Ci = ["href", "title"], Si = /* @__PURE__ */ r("svg", {
|
|
4471
4481
|
class: "w-3 h-3 text-white me-2",
|
|
4472
4482
|
"aria-hidden": "true",
|
|
4473
4483
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4484,10 +4494,10 @@ const Fu = /* @__PURE__ */ k(bi, [["render", wi]]), ki = {
|
|
|
4484
4494
|
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",
|
|
4485
4495
|
"clip-rule": "evenodd"
|
|
4486
4496
|
})
|
|
4487
|
-
], -1),
|
|
4497
|
+
], -1), Di = {
|
|
4488
4498
|
key: 1,
|
|
4489
4499
|
class: "m-1 d-inline-block"
|
|
4490
|
-
},
|
|
4500
|
+
}, Oi = ["href", "title"], Pi = /* @__PURE__ */ r("svg", {
|
|
4491
4501
|
class: "w-3 h-3 text-white me-2",
|
|
4492
4502
|
"aria-hidden": "true",
|
|
4493
4503
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4505,7 +4515,7 @@ const Fu = /* @__PURE__ */ k(bi, [["render", wi]]), ki = {
|
|
|
4505
4515
|
"clip-rule": "evenodd"
|
|
4506
4516
|
})
|
|
4507
4517
|
], -1);
|
|
4508
|
-
function
|
|
4518
|
+
function Ei(e, t, s, n, o, a) {
|
|
4509
4519
|
return d(), u("div", null, [
|
|
4510
4520
|
a.isArray ? (d(!0), u(v, { key: 0 }, C(s.row[s.field], (i) => (d(), u("div", {
|
|
4511
4521
|
key: i.id,
|
|
@@ -4517,39 +4527,39 @@ function Pi(e, t, s, n, o, a) {
|
|
|
4517
4527
|
target: "_blank",
|
|
4518
4528
|
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"
|
|
4519
4529
|
}, [
|
|
4520
|
-
|
|
4530
|
+
Si,
|
|
4521
4531
|
w(" Download ")
|
|
4522
|
-
], 8,
|
|
4523
|
-
]))), 128)) : a.isObject ? (d(), u("div",
|
|
4532
|
+
], 8, Ci)
|
|
4533
|
+
]))), 128)) : a.isObject ? (d(), u("div", Di, [
|
|
4524
4534
|
r("a", {
|
|
4525
4535
|
href: s.row[s.field].url,
|
|
4526
4536
|
title: s.row[s.field].name,
|
|
4527
4537
|
target: "_blank",
|
|
4528
4538
|
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"
|
|
4529
4539
|
}, [
|
|
4530
|
-
|
|
4540
|
+
Pi,
|
|
4531
4541
|
w(" Download ")
|
|
4532
|
-
], 8,
|
|
4542
|
+
], 8, Oi)
|
|
4533
4543
|
])) : f("", !0)
|
|
4534
4544
|
]);
|
|
4535
4545
|
}
|
|
4536
|
-
const
|
|
4546
|
+
const Uu = /* @__PURE__ */ k($i, [["render", Ei]]), ji = {
|
|
4537
4547
|
props: ["field", "row", "tdProps"]
|
|
4538
|
-
}, Ai = { key: 0 },
|
|
4539
|
-
function
|
|
4548
|
+
}, Ai = { key: 0 }, Ti = ["innerHTML"];
|
|
4549
|
+
function Ii(e, t, s, n, o, a) {
|
|
4540
4550
|
return s.row[s.field] ? (d(), u("div", Ai, [
|
|
4541
4551
|
r("div", {
|
|
4542
4552
|
class: "w-full",
|
|
4543
4553
|
innerHTML: s.row[s.field]
|
|
4544
|
-
}, null, 8,
|
|
4554
|
+
}, null, 8, Ti)
|
|
4545
4555
|
])) : f("", !0);
|
|
4546
4556
|
}
|
|
4547
|
-
const
|
|
4557
|
+
const qu = /* @__PURE__ */ k(ji, [["render", Ii]]), Mi = {
|
|
4548
4558
|
props: ["field", "row", "tdProps"],
|
|
4549
4559
|
computed: {
|
|
4550
4560
|
entry() {
|
|
4551
4561
|
const [e, t] = this.field.split(".");
|
|
4552
|
-
return
|
|
4562
|
+
return dt({ key: e, field: t });
|
|
4553
4563
|
},
|
|
4554
4564
|
isArray() {
|
|
4555
4565
|
return Array.isArray(this.row[this.entry.key]);
|
|
@@ -4558,24 +4568,24 @@ const Uu = /* @__PURE__ */ k(Ei, [["render", Ti]]), Ii = {
|
|
|
4558
4568
|
return typeof this.row[this.entry.key] == "object";
|
|
4559
4569
|
}
|
|
4560
4570
|
}
|
|
4561
|
-
},
|
|
4571
|
+
}, Ni = { class: "flex flex-wrap gap-2" }, Vi = {
|
|
4562
4572
|
key: 1,
|
|
4563
4573
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4564
4574
|
};
|
|
4565
|
-
function
|
|
4566
|
-
return d(), u("div",
|
|
4575
|
+
function Li(e, t, s, n, o, a) {
|
|
4576
|
+
return d(), u("div", Ni, [
|
|
4567
4577
|
a.isArray ? (d(!0), u(v, { key: 0 }, C(s.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4568
4578
|
key: l,
|
|
4569
4579
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4570
|
-
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span",
|
|
4580
|
+
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Vi, g(s.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
|
|
4571
4581
|
]);
|
|
4572
4582
|
}
|
|
4573
|
-
const
|
|
4583
|
+
const Hu = /* @__PURE__ */ k(Mi, [["render", Li]]), Bi = {
|
|
4574
4584
|
props: ["field", "row", "tdProps"]
|
|
4575
|
-
},
|
|
4576
|
-
function
|
|
4577
|
-
return s.row[s.field] ? (d(), u("div",
|
|
4578
|
-
r("div",
|
|
4585
|
+
}, Gi = { key: 0 }, Fi = { class: "m-1 d-inline-block" }, Ri = ["href", "title"], Ui = ["src", "alt", "title"];
|
|
4586
|
+
function qi(e, t, s, n, o, a) {
|
|
4587
|
+
return s.row[s.field] ? (d(), u("div", Gi, [
|
|
4588
|
+
r("div", Fi, [
|
|
4579
4589
|
r("a", {
|
|
4580
4590
|
href: s.row[s.field].url,
|
|
4581
4591
|
title: s.row[s.field].name,
|
|
@@ -4585,37 +4595,37 @@ function Ui(e, t, s, n, o, a) {
|
|
|
4585
4595
|
src: s.row[s.field].thumbnail,
|
|
4586
4596
|
alt: s.row[s.field].name,
|
|
4587
4597
|
title: s.row[s.field].name
|
|
4588
|
-
}, null, 8,
|
|
4589
|
-
], 8,
|
|
4598
|
+
}, null, 8, Ui)
|
|
4599
|
+
], 8, Ri)
|
|
4590
4600
|
])
|
|
4591
4601
|
])) : f("", !0);
|
|
4592
4602
|
}
|
|
4593
|
-
const
|
|
4603
|
+
const zu = /* @__PURE__ */ k(Bi, [["render", qi], ["__scopeId", "data-v-3a28c02c"]]), Hi = {
|
|
4594
4604
|
props: ["field", "row", "tdProps"],
|
|
4595
4605
|
computed: {
|
|
4596
4606
|
isActive() {
|
|
4597
4607
|
return this.row[this.field] === 1;
|
|
4598
4608
|
}
|
|
4599
4609
|
}
|
|
4600
|
-
},
|
|
4610
|
+
}, zi = { class: "flex flex-wrap gap-2 text-nowrap" }, Zi = {
|
|
4601
4611
|
key: 0,
|
|
4602
4612
|
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"
|
|
4603
|
-
},
|
|
4613
|
+
}, Ki = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Wi = {
|
|
4604
4614
|
key: 1,
|
|
4605
4615
|
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"
|
|
4606
|
-
},
|
|
4607
|
-
function
|
|
4608
|
-
return d(), u("div",
|
|
4609
|
-
a.isActive ? (d(), u("span",
|
|
4610
|
-
|
|
4616
|
+
}, Yi = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
4617
|
+
function Xi(e, t, s, n, o, a) {
|
|
4618
|
+
return d(), u("div", zi, [
|
|
4619
|
+
a.isActive ? (d(), u("span", Zi, [
|
|
4620
|
+
Ki,
|
|
4611
4621
|
w(" Active ")
|
|
4612
|
-
])) : a.isActive ? f("", !0) : (d(), u("span",
|
|
4613
|
-
|
|
4622
|
+
])) : a.isActive ? f("", !0) : (d(), u("span", Wi, [
|
|
4623
|
+
Yi,
|
|
4614
4624
|
w(" Inactive ")
|
|
4615
4625
|
]))
|
|
4616
4626
|
]);
|
|
4617
4627
|
}
|
|
4618
|
-
const
|
|
4628
|
+
const Zu = /* @__PURE__ */ k(Hi, [["render", Xi]]), Ji = {
|
|
4619
4629
|
props: ["field", "row", "tdProps"],
|
|
4620
4630
|
computed: {
|
|
4621
4631
|
hasLabelColor(e) {
|
|
@@ -4625,50 +4635,50 @@ const zu = /* @__PURE__ */ k(qi, [["render", Yi]]), Xi = {
|
|
|
4625
4635
|
return t ? t.class : "";
|
|
4626
4636
|
}
|
|
4627
4637
|
}
|
|
4628
|
-
},
|
|
4638
|
+
}, Qi = { class: "flex flex-wrap gap-2 text-nowrap" }, ed = {
|
|
4629
4639
|
key: 0,
|
|
4630
4640
|
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"
|
|
4631
|
-
},
|
|
4641
|
+
}, td = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), rd = {
|
|
4632
4642
|
key: 1,
|
|
4633
4643
|
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"
|
|
4634
|
-
},
|
|
4644
|
+
}, sd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), ad = {
|
|
4635
4645
|
key: 2,
|
|
4636
4646
|
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"
|
|
4637
|
-
},
|
|
4647
|
+
}, nd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), od = {
|
|
4638
4648
|
key: 3,
|
|
4639
4649
|
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"
|
|
4640
|
-
},
|
|
4650
|
+
}, ld = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), id = {
|
|
4641
4651
|
key: 4,
|
|
4642
4652
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
4643
|
-
},
|
|
4653
|
+
}, dd = /* @__PURE__ */ r("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4644
4654
|
/* @__PURE__ */ r("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4645
4655
|
/* @__PURE__ */ r("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4646
4656
|
], -1);
|
|
4647
|
-
function
|
|
4648
|
-
return d(), u("div",
|
|
4649
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
4650
|
-
|
|
4657
|
+
function ud(e, t, s, n, o, a) {
|
|
4658
|
+
return d(), u("div", Qi, [
|
|
4659
|
+
a.hasLabelColor == "green" ? (d(), u("span", ed, [
|
|
4660
|
+
td,
|
|
4651
4661
|
w(" " + g(this.row[this.field]), 1)
|
|
4652
4662
|
])) : f("", !0),
|
|
4653
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
4654
|
-
|
|
4663
|
+
a.hasLabelColor == "red" ? (d(), u("span", rd, [
|
|
4664
|
+
sd,
|
|
4655
4665
|
w(" " + g(this.row[this.field]), 1)
|
|
4656
4666
|
])) : f("", !0),
|
|
4657
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
4658
|
-
|
|
4667
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", ad, [
|
|
4668
|
+
nd,
|
|
4659
4669
|
w(" " + g(this.row[this.field]), 1)
|
|
4660
4670
|
])) : f("", !0),
|
|
4661
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
4662
|
-
|
|
4671
|
+
a.hasLabelColor == "default" ? (d(), u("span", od, [
|
|
4672
|
+
ld,
|
|
4663
4673
|
w(" " + g(this.row[this.field]), 1)
|
|
4664
4674
|
])) : f("", !0),
|
|
4665
|
-
a.hasLabelColor == "animate" ? (d(), u("span",
|
|
4666
|
-
|
|
4675
|
+
a.hasLabelColor == "animate" ? (d(), u("span", id, [
|
|
4676
|
+
dd,
|
|
4667
4677
|
w(" " + g(this.row[this.field]), 1)
|
|
4668
4678
|
])) : f("", !0)
|
|
4669
4679
|
]);
|
|
4670
4680
|
}
|
|
4671
|
-
const
|
|
4681
|
+
const Ku = /* @__PURE__ */ k(Ji, [["render", ud]]), cd = {
|
|
4672
4682
|
props: ["field", "row", "tdProps"],
|
|
4673
4683
|
computed: {
|
|
4674
4684
|
hasLabelColor() {
|
|
@@ -4689,9 +4699,9 @@ const Zu = /* @__PURE__ */ k(Xi, [["render", dd]]), ud = {
|
|
|
4689
4699
|
}
|
|
4690
4700
|
}
|
|
4691
4701
|
}
|
|
4692
|
-
},
|
|
4693
|
-
function
|
|
4694
|
-
return d(), u("div",
|
|
4702
|
+
}, fd = { class: "flex flex-wrap gap-2 text-nowrap justify-center" };
|
|
4703
|
+
function gd(e, t, s, n, o, a) {
|
|
4704
|
+
return d(), u("div", fd, [
|
|
4695
4705
|
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
4696
4706
|
key: 0,
|
|
4697
4707
|
class: b(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", a.badgeType])
|
|
@@ -4726,7 +4736,7 @@ function fd(e, t, s, n, o, a) {
|
|
|
4726
4736
|
}, g(this.row[this.field]), 3)) : f("", !0)
|
|
4727
4737
|
]);
|
|
4728
4738
|
}
|
|
4729
|
-
const
|
|
4739
|
+
const Wu = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
|
|
4730
4740
|
props: ["field", "row", "tdProps"],
|
|
4731
4741
|
computed: {
|
|
4732
4742
|
formattedDate() {
|
|
@@ -4741,54 +4751,54 @@ const Ku = /* @__PURE__ */ k(ud, [["render", fd]]), gd = {
|
|
|
4741
4751
|
return this.row[this.field] === 1;
|
|
4742
4752
|
}
|
|
4743
4753
|
}
|
|
4744
|
-
},
|
|
4745
|
-
function
|
|
4746
|
-
return d(), u("div",
|
|
4754
|
+
}, md = { class: "w-full" };
|
|
4755
|
+
function bd(e, t, s, n, o, a) {
|
|
4756
|
+
return d(), u("div", md, g(a.formattedDate), 1);
|
|
4747
4757
|
}
|
|
4748
|
-
const
|
|
4758
|
+
const Yu = /* @__PURE__ */ k(hd, [["render", bd]]), pd = {
|
|
4749
4759
|
props: ["field", "row", "tdProps"]
|
|
4750
|
-
},
|
|
4760
|
+
}, yd = { class: "flex flex-wrap gap-2 text-nowrap" }, _d = {
|
|
4751
4761
|
key: 0,
|
|
4752
4762
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
4753
|
-
},
|
|
4763
|
+
}, vd = /* @__PURE__ */ r("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4754
4764
|
/* @__PURE__ */ r("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4755
4765
|
/* @__PURE__ */ r("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4756
|
-
], -1),
|
|
4766
|
+
], -1), xd = {
|
|
4757
4767
|
key: 1,
|
|
4758
4768
|
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"
|
|
4759
|
-
},
|
|
4769
|
+
}, wd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), kd = {
|
|
4760
4770
|
key: 2,
|
|
4761
4771
|
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"
|
|
4762
|
-
},
|
|
4763
|
-
function
|
|
4764
|
-
return d(), u("div",
|
|
4765
|
-
s.row[s.field] === 0 ? (d(), u("span",
|
|
4766
|
-
|
|
4772
|
+
}, $d = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
4773
|
+
function Cd(e, t, s, n, o, a) {
|
|
4774
|
+
return d(), u("div", yd, [
|
|
4775
|
+
s.row[s.field] === 0 ? (d(), u("span", _d, [
|
|
4776
|
+
vd,
|
|
4767
4777
|
w(" Provisioning")
|
|
4768
4778
|
])) : f("", !0),
|
|
4769
|
-
s.row[s.field] === 2 ? (d(), u("span",
|
|
4770
|
-
|
|
4779
|
+
s.row[s.field] === 2 ? (d(), u("span", xd, [
|
|
4780
|
+
wd,
|
|
4771
4781
|
w(" Paused ")
|
|
4772
4782
|
])) : f("", !0),
|
|
4773
|
-
s.row[s.field] === 1 ? (d(), u("span",
|
|
4774
|
-
|
|
4783
|
+
s.row[s.field] === 1 ? (d(), u("span", kd, [
|
|
4784
|
+
$d,
|
|
4775
4785
|
w(" Active ")
|
|
4776
4786
|
])) : f("", !0)
|
|
4777
4787
|
]);
|
|
4778
4788
|
}
|
|
4779
|
-
const
|
|
4789
|
+
const Xu = /* @__PURE__ */ k(pd, [["render", Cd]]), Sd = {
|
|
4780
4790
|
props: ["field", "row", "tdProps"]
|
|
4781
|
-
},
|
|
4791
|
+
}, Dd = {
|
|
4782
4792
|
key: 0,
|
|
4783
4793
|
class: "text-nowrap"
|
|
4784
|
-
},
|
|
4785
|
-
function
|
|
4786
|
-
return s.row[s.field] ? (d(), u("div",
|
|
4787
|
-
r("pre",
|
|
4794
|
+
}, Od = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left text-white break-words rounded cursor-default whitespace-nowrap bg-zinc-700" };
|
|
4795
|
+
function Pd(e, t, s, n, o, a) {
|
|
4796
|
+
return s.row[s.field] ? (d(), u("div", Dd, [
|
|
4797
|
+
r("pre", Od, " " + g(s.row[s.field]) + `
|
|
4788
4798
|
`, 1)
|
|
4789
4799
|
])) : f("", !0);
|
|
4790
4800
|
}
|
|
4791
|
-
const
|
|
4801
|
+
const Ju = /* @__PURE__ */ k(Sd, [["render", Pd]]), Ed = {
|
|
4792
4802
|
props: ["isOpen", "title", "button_text"],
|
|
4793
4803
|
methods: {
|
|
4794
4804
|
confirmAction() {
|
|
@@ -4798,35 +4808,35 @@ const Xu = /* @__PURE__ */ k(Cd, [["render", Od]]), Pd = {
|
|
|
4798
4808
|
this.$emit("cancel-action");
|
|
4799
4809
|
}
|
|
4800
4810
|
}
|
|
4801
|
-
},
|
|
4811
|
+
}, jd = {
|
|
4802
4812
|
key: 0,
|
|
4803
4813
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4804
4814
|
role: "dialog",
|
|
4805
4815
|
"aria-modal": "true"
|
|
4806
|
-
}, Ad = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" },
|
|
4816
|
+
}, Ad = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Td = /* @__PURE__ */ r("div", {
|
|
4807
4817
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4808
4818
|
"aria-hidden": "true"
|
|
4809
|
-
}, null, -1),
|
|
4819
|
+
}, null, -1), Id = /* @__PURE__ */ r("span", {
|
|
4810
4820
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4811
4821
|
"aria-hidden": "true"
|
|
4812
|
-
}, "", -1),
|
|
4813
|
-
function
|
|
4814
|
-
return s.isOpen ? (d(), u("div",
|
|
4822
|
+
}, "", -1), Md = { 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" }, Nd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Vd = { class: "sm:flex sm:items-start" }, Ld = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Bd = { class: "text-lg font-medium leading-6 text-gray-900" }, Gd = { class: "mt-2" }, Fd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4823
|
+
function Rd(e, t, s, n, o, a) {
|
|
4824
|
+
return s.isOpen ? (d(), u("div", jd, [
|
|
4815
4825
|
r("div", Ad, [
|
|
4816
|
-
jd,
|
|
4817
4826
|
Td,
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
r("
|
|
4827
|
+
Id,
|
|
4828
|
+
r("div", Md, [
|
|
4829
|
+
r("div", Nd, [
|
|
4830
|
+
r("div", Vd, [
|
|
4831
|
+
r("div", Ld, [
|
|
4832
|
+
r("h3", Bd, g(s.title), 1),
|
|
4833
|
+
r("div", Gd, [
|
|
4824
4834
|
T(e.$slots, "default")
|
|
4825
4835
|
])
|
|
4826
4836
|
])
|
|
4827
4837
|
])
|
|
4828
4838
|
]),
|
|
4829
|
-
r("div",
|
|
4839
|
+
r("div", Fd, [
|
|
4830
4840
|
r("button", {
|
|
4831
4841
|
onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
4832
4842
|
type: "button",
|
|
@@ -4842,10 +4852,10 @@ function Fd(e, t, s, n, o, a) {
|
|
|
4842
4852
|
])
|
|
4843
4853
|
])) : f("", !0);
|
|
4844
4854
|
}
|
|
4845
|
-
const
|
|
4855
|
+
const Qu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full" }, qd = { class: "mb-2 flex justify-between items-center" }, Hd = { class: "text-sm font-medium text-gray-900 dark:text-white" }, zd = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, Zd = { class: "overflow-auto max-h-32" }, Kd = { class: "text-sm text-gray-500 dark:text-gray-400" }, Wd = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Yd = {
|
|
4846
4856
|
key: 0,
|
|
4847
4857
|
class: "inline-flex items-center"
|
|
4848
|
-
},
|
|
4858
|
+
}, Xd = /* @__PURE__ */ r("svg", {
|
|
4849
4859
|
class: "w-3 h-3 me-2",
|
|
4850
4860
|
"aria-hidden": "true",
|
|
4851
4861
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4853,13 +4863,13 @@ const Ju = /* @__PURE__ */ k(Pd, [["render", Fd]]), Rd = { class: "w-full" }, Ud
|
|
|
4853
4863
|
viewBox: "0 0 18 20"
|
|
4854
4864
|
}, [
|
|
4855
4865
|
/* @__PURE__ */ r("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
4856
|
-
], -1),
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
],
|
|
4866
|
+
], -1), Jd = /* @__PURE__ */ r("span", { class: "text-xs font-semibold" }, "Copy", -1), Qd = [
|
|
4867
|
+
Xd,
|
|
4868
|
+
Jd
|
|
4869
|
+
], eu = {
|
|
4860
4870
|
key: 1,
|
|
4861
4871
|
class: "inline-flex items-center"
|
|
4862
|
-
},
|
|
4872
|
+
}, tu = /* @__PURE__ */ r("svg", {
|
|
4863
4873
|
class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-2",
|
|
4864
4874
|
"aria-hidden": "true",
|
|
4865
4875
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4873,10 +4883,10 @@ const Ju = /* @__PURE__ */ k(Pd, [["render", Fd]]), Rd = { class: "w-full" }, Ud
|
|
|
4873
4883
|
"stroke-width": "2",
|
|
4874
4884
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
4875
4885
|
})
|
|
4876
|
-
], -1),
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
],
|
|
4886
|
+
], -1), ru = /* @__PURE__ */ r("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), su = [
|
|
4887
|
+
tu,
|
|
4888
|
+
ru
|
|
4889
|
+
], au = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, ec = {
|
|
4880
4890
|
__name: "GlCodeCopy",
|
|
4881
4891
|
props: {
|
|
4882
4892
|
label_name: {
|
|
@@ -4902,28 +4912,28 @@ const Ju = /* @__PURE__ */ k(Pd, [["render", Fd]]), Rd = { class: "w-full" }, Ud
|
|
|
4902
4912
|
console.error("Error copying to clipboard: ", i);
|
|
4903
4913
|
});
|
|
4904
4914
|
}, o = N(() => t.code);
|
|
4905
|
-
return (a, i) => (d(), u("div",
|
|
4906
|
-
r("div",
|
|
4907
|
-
r("p",
|
|
4915
|
+
return (a, i) => (d(), u("div", Ud, [
|
|
4916
|
+
r("div", qd, [
|
|
4917
|
+
r("p", Hd, g(e.label_name), 1)
|
|
4908
4918
|
]),
|
|
4909
|
-
r("div",
|
|
4910
|
-
r("div",
|
|
4911
|
-
r("code",
|
|
4919
|
+
r("div", zd, [
|
|
4920
|
+
r("div", Zd, [
|
|
4921
|
+
r("code", Kd, g(o.value), 1)
|
|
4912
4922
|
]),
|
|
4913
|
-
r("div",
|
|
4923
|
+
r("div", Wd, [
|
|
4914
4924
|
r("button", {
|
|
4915
4925
|
onClick: i[0] || (i[0] = (l) => n(o.value)),
|
|
4916
4926
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
4917
4927
|
}, [
|
|
4918
|
-
s.value ? f("", !0) : (d(), u("span",
|
|
4919
|
-
s.value ? (d(), u("span",
|
|
4928
|
+
s.value ? f("", !0) : (d(), u("span", Yd, Qd)),
|
|
4929
|
+
s.value ? (d(), u("span", eu, su)) : f("", !0)
|
|
4920
4930
|
])
|
|
4921
4931
|
])
|
|
4922
4932
|
]),
|
|
4923
|
-
r("p",
|
|
4933
|
+
r("p", au, g(e.description), 1)
|
|
4924
4934
|
]));
|
|
4925
4935
|
}
|
|
4926
|
-
},
|
|
4936
|
+
}, nu = { class: "w-full" }, ou = { class: "flex justify-between items-center" }, lu = { class: "gl-label-form" }, iu = { class: "flex items-center" }, du = { class: "flex-shrink-0 z-10 inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600" }, uu = { class: "relative w-full" }, cu = ["value"], fu = { key: 0 }, gu = /* @__PURE__ */ r("svg", {
|
|
4927
4937
|
class: "w-4 h-4",
|
|
4928
4938
|
"aria-hidden": "true",
|
|
4929
4939
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4931,12 +4941,12 @@ const Ju = /* @__PURE__ */ k(Pd, [["render", Fd]]), Rd = { class: "w-full" }, Ud
|
|
|
4931
4941
|
viewBox: "0 0 18 20"
|
|
4932
4942
|
}, [
|
|
4933
4943
|
/* @__PURE__ */ r("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
4934
|
-
], -1),
|
|
4935
|
-
|
|
4936
|
-
],
|
|
4944
|
+
], -1), hu = [
|
|
4945
|
+
gu
|
|
4946
|
+
], mu = {
|
|
4937
4947
|
key: 1,
|
|
4938
4948
|
class: "inline-flex items-center"
|
|
4939
|
-
},
|
|
4949
|
+
}, bu = /* @__PURE__ */ r("svg", {
|
|
4940
4950
|
class: "w-4 h-4",
|
|
4941
4951
|
"aria-hidden": "true",
|
|
4942
4952
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4950,9 +4960,9 @@ const Ju = /* @__PURE__ */ k(Pd, [["render", Fd]]), Rd = { class: "w-full" }, Ud
|
|
|
4950
4960
|
"stroke-width": "2",
|
|
4951
4961
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
4952
4962
|
})
|
|
4953
|
-
], -1),
|
|
4954
|
-
|
|
4955
|
-
],
|
|
4963
|
+
], -1), pu = [
|
|
4964
|
+
bu
|
|
4965
|
+
], yu = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, tc = {
|
|
4956
4966
|
__name: "GlTextCopy",
|
|
4957
4967
|
props: {
|
|
4958
4968
|
label_name: {
|
|
@@ -4982,13 +4992,13 @@ const Ju = /* @__PURE__ */ k(Pd, [["render", Fd]]), Rd = { class: "w-full" }, Ud
|
|
|
4982
4992
|
console.error("Error copying to clipboard: ", i);
|
|
4983
4993
|
});
|
|
4984
4994
|
}, o = N(() => t.code);
|
|
4985
|
-
return (a, i) => (d(), u("div",
|
|
4986
|
-
r("div",
|
|
4987
|
-
r("label",
|
|
4995
|
+
return (a, i) => (d(), u("div", nu, [
|
|
4996
|
+
r("div", ou, [
|
|
4997
|
+
r("label", lu, g(e.label_name), 1)
|
|
4988
4998
|
]),
|
|
4989
|
-
r("div",
|
|
4990
|
-
r("span",
|
|
4991
|
-
r("div",
|
|
4999
|
+
r("div", iu, [
|
|
5000
|
+
r("span", du, g(e.text_name), 1),
|
|
5001
|
+
r("div", uu, [
|
|
4992
5002
|
r("input", {
|
|
4993
5003
|
type: "text",
|
|
4994
5004
|
"aria-describedby": "helper-text-explanation",
|
|
@@ -4996,7 +5006,7 @@ const Ju = /* @__PURE__ */ k(Pd, [["render", Fd]]), Rd = { class: "w-full" }, Ud
|
|
|
4996
5006
|
value: o.value,
|
|
4997
5007
|
readonly: "",
|
|
4998
5008
|
disabled: ""
|
|
4999
|
-
}, null, 8,
|
|
5009
|
+
}, null, 8, cu)
|
|
5000
5010
|
]),
|
|
5001
5011
|
r("button", {
|
|
5002
5012
|
style: { padding: ".61rem" },
|
|
@@ -5004,52 +5014,52 @@ const Ju = /* @__PURE__ */ k(Pd, [["render", Fd]]), Rd = { class: "w-full" }, Ud
|
|
|
5004
5014
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-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 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
5005
5015
|
type: "button"
|
|
5006
5016
|
}, [
|
|
5007
|
-
s.value ? f("", !0) : (d(), u("span",
|
|
5008
|
-
s.value ? (d(), u("span",
|
|
5017
|
+
s.value ? f("", !0) : (d(), u("span", fu, hu)),
|
|
5018
|
+
s.value ? (d(), u("span", mu, pu)) : f("", !0)
|
|
5009
5019
|
])
|
|
5010
5020
|
]),
|
|
5011
|
-
r("p",
|
|
5021
|
+
r("p", yu, g(e.description), 1)
|
|
5012
5022
|
]));
|
|
5013
5023
|
}
|
|
5014
5024
|
};
|
|
5015
5025
|
export {
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5026
|
+
Ju as GLDatatableCommand,
|
|
5027
|
+
Yu as GLDatatableDateTime,
|
|
5028
|
+
Xu as GLDatatableStatusServer,
|
|
5029
|
+
Cu as GlButton,
|
|
5030
|
+
ku as GlCard,
|
|
5031
|
+
ec as GlCodeCopy,
|
|
5032
|
+
Qu as GlConfirmationModal,
|
|
5033
|
+
Lu as GlDataTable,
|
|
5034
|
+
Vu as GlDataTableServerSide,
|
|
5035
|
+
Gu as GlDatatableAction,
|
|
5036
|
+
Fu as GlDatatableDeleteAction,
|
|
5037
|
+
Ru as GlDatatableFileDownload,
|
|
5038
|
+
Uu as GlDatatableFiles,
|
|
5039
|
+
qu as GlDatatableHtml,
|
|
5040
|
+
Hu as GlDatatableList,
|
|
5041
|
+
zu as GlDatatablePicture,
|
|
5042
|
+
Zu as GlDatatableStatus,
|
|
5043
|
+
Ku as GlDatatableStatusGeneral,
|
|
5044
|
+
Wu as GlDatatableStatusSpecficColor,
|
|
5035
5045
|
ue as GlDeleteConfirmationModal,
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5046
|
+
Mu as GlDropdown,
|
|
5047
|
+
vu as GlFilesUpload,
|
|
5048
|
+
wu as GlLanguageSelector,
|
|
5049
|
+
Tu as GlModal,
|
|
5040
5050
|
Au as GlMultiItemSlide,
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5051
|
+
$u as GlMultiSelectDropdown,
|
|
5052
|
+
xu as GlNotify,
|
|
5053
|
+
ju as GlTab,
|
|
5054
|
+
Eu as GlTabsWrapper,
|
|
5055
|
+
wo as GlTailwindPagination,
|
|
5056
|
+
tc as GlTextCopy,
|
|
5057
|
+
Pu as GlTextInput,
|
|
5058
|
+
Ou as GlTextTranslate,
|
|
5059
|
+
Nu as GlTextarea,
|
|
5060
|
+
Su as GlTextareaTranslate,
|
|
5061
|
+
Du as GlTinymceTranslate,
|
|
5052
5062
|
$e as GlToast,
|
|
5053
|
-
|
|
5054
|
-
|
|
5063
|
+
Bu as GlToastList,
|
|
5064
|
+
Iu as GlToggleBox
|
|
5055
5065
|
};
|