golden-logic-ui 1.0.65 → 1.0.67
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 +509 -450
- package/dist/golden-logic-ui.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as g, createStaticVNode as Je, inject as Ce, watch as X, effectScope as Qe, computed as G, reactive as Se, resolveComponent as Y, Fragment as v, createVNode as Z, normalizeClass as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as g, createStaticVNode as Je, inject as Ce, watch as X, effectScope as Qe, computed as G, reactive as Se, resolveComponent as Y, Fragment as v, createVNode as Z, normalizeClass as p, toDisplayString as h, withModifiers as N, withDirectives as O, vModelText as V, renderList as k, normalizeStyle as et, renderSlot as T, createTextVNode as w, vShow as F, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as C, onMounted as R, vModelDynamic as tt, provide as rt, pushScopeId as st, popScopeId as at, vModelCheckbox as nt, nextTick as ot, toHandlers as ae, TransitionGroup as it, unref as lt, resolveDirective as De, markRaw as dt } from "vue";
|
|
2
2
|
const S = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
@@ -26,15 +26,15 @@ const S = (e, t) => {
|
|
|
26
26
|
}, null, -1), gt = /* @__PURE__ */ s("span", {
|
|
27
27
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
28
28
|
"aria-hidden": "true"
|
|
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" },
|
|
30
|
-
function
|
|
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" }, pt = /* @__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), bt = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
30
|
+
function _t(e, t, r, n, o, a) {
|
|
31
31
|
return r.isOpen ? (d(), u("div", ct, [
|
|
32
32
|
s("div", ft, [
|
|
33
33
|
ht,
|
|
34
34
|
gt,
|
|
35
35
|
s("div", mt, [
|
|
36
|
-
|
|
37
|
-
s("div",
|
|
36
|
+
pt,
|
|
37
|
+
s("div", bt, [
|
|
38
38
|
s("button", {
|
|
39
39
|
onClick: t[0] || (t[0] = (...l) => a.confirmDeletion && a.confirmDeletion(...l)),
|
|
40
40
|
type: "button",
|
|
@@ -50,11 +50,11 @@ function bt(e, t, r, n, o, a) {
|
|
|
50
50
|
])
|
|
51
51
|
])) : g("", !0);
|
|
52
52
|
}
|
|
53
|
-
const ue = /* @__PURE__ */ S(ut, [["render",
|
|
53
|
+
const ue = /* @__PURE__ */ S(ut, [["render", _t]]);
|
|
54
54
|
function yt() {
|
|
55
|
-
return
|
|
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
60
|
const vt = typeof Proxy == "function", xt = "devtools-plugin:setup", wt = "plugin:settings:set";
|
|
@@ -129,7 +129,7 @@ class Ct {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
function St(e, t) {
|
|
132
|
-
const r = e, n =
|
|
132
|
+
const r = e, n = Oe(), o = yt(), a = vt && r.enableEarlyProxy;
|
|
133
133
|
if (o && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
|
|
134
134
|
o.emit(xt, e, t);
|
|
135
135
|
else {
|
|
@@ -158,14 +158,14 @@ function U(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
|
-
function
|
|
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
|
};
|
|
@@ -176,7 +176,7 @@ function Ae(e, t, r) {
|
|
|
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 r = e.state;
|
|
182
182
|
ee(e, r, [], e._modules.root, !0), ce(e, r, t);
|
|
@@ -187,7 +187,7 @@ function ce(e, t, r) {
|
|
|
187
187
|
var a = e._wrappedGetters, l = {}, i = {}, c = Qe(!0);
|
|
188
188
|
c.run(function() {
|
|
189
189
|
U(a, function(f, m) {
|
|
190
|
-
l[m] =
|
|
190
|
+
l[m] = Ot(f, e), i[m] = G(function() {
|
|
191
191
|
return l[m]();
|
|
192
192
|
}), Object.defineProperty(e.getters, m, {
|
|
193
193
|
get: function() {
|
|
@@ -199,7 +199,7 @@ function ce(e, t, r) {
|
|
|
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 && r && e._withCommit(function() {
|
|
203
203
|
n.data = null;
|
|
204
204
|
}), o && o.stop();
|
|
205
205
|
}
|
|
@@ -251,7 +251,7 @@ function Pt(e, t, r) {
|
|
|
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 Pt(e, t, r) {
|
|
|
261
261
|
}
|
|
262
262
|
}), o;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Ie(e, t) {
|
|
265
265
|
if (!e._makeLocalGettersCache[t]) {
|
|
266
266
|
var r = {}, n = t.length;
|
|
267
267
|
Object.keys(e.getters).forEach(function(o) {
|
|
@@ -295,7 +295,7 @@ function jt(e, t, r, n) {
|
|
|
295
295
|
rootGetters: e.getters,
|
|
296
296
|
rootState: e.state
|
|
297
297
|
}, l);
|
|
298
|
-
return
|
|
298
|
+
return Dt(i) || (i = Promise.resolve(i)), e._devtoolHook ? i.catch(function(c) {
|
|
299
299
|
throw e._devtoolHook.emit("vuex:error", c), c;
|
|
300
300
|
}) : i;
|
|
301
301
|
});
|
|
@@ -318,11 +318,11 @@ function At(e, t, r, n) {
|
|
|
318
318
|
);
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Tt(e) {
|
|
322
322
|
X(function() {
|
|
323
323
|
return e._state.data;
|
|
324
324
|
}, function() {
|
|
325
|
-
process.env.NODE_ENV !== "production" &&
|
|
325
|
+
process.env.NODE_ENV !== "production" && I(e._committing, "do not mutate vuex store state outside mutation handlers.");
|
|
326
326
|
}, { deep: !0, flush: "sync" });
|
|
327
327
|
}
|
|
328
328
|
function fe(e, t) {
|
|
@@ -331,9 +331,9 @@ function fe(e, t) {
|
|
|
331
331
|
}, e);
|
|
332
332
|
}
|
|
333
333
|
function Q(e, t, r) {
|
|
334
|
-
return je(e) && e.type && (r = t, t = e, e = e.type), process.env.NODE_ENV !== "production" &&
|
|
334
|
+
return je(e) && e.type && (r = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && I(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: r };
|
|
335
335
|
}
|
|
336
|
-
var
|
|
336
|
+
var It = "vuex bindings", ve = "vuex:mutations", ne = "vuex:actions", H = "vuex", Mt = 0;
|
|
337
337
|
function Nt(e, t) {
|
|
338
338
|
St(
|
|
339
339
|
{
|
|
@@ -343,7 +343,7 @@ function Nt(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(r) {
|
|
349
349
|
r.addTimelineLayer({
|
|
@@ -351,7 +351,7 @@ function Nt(e, t) {
|
|
|
351
351
|
label: "Vuex Mutations",
|
|
352
352
|
color: xe
|
|
353
353
|
}), r.addTimelineLayer({
|
|
354
|
-
id:
|
|
354
|
+
id: ne,
|
|
355
355
|
label: "Vuex Actions",
|
|
356
356
|
color: xe
|
|
357
357
|
}), r.addInspector({
|
|
@@ -371,7 +371,7 @@ function Nt(e, t) {
|
|
|
371
371
|
}), r.on.getInspectorState(function(n) {
|
|
372
372
|
if (n.app === e && n.inspectorId === H) {
|
|
373
373
|
var o = n.nodeId;
|
|
374
|
-
|
|
374
|
+
Ie(t, o), n.state = Bt(
|
|
375
375
|
Ft(t._modules, o),
|
|
376
376
|
o === "root" ? t.getters : t._makeLocalGettersCache,
|
|
377
377
|
o
|
|
@@ -398,7 +398,7 @@ function Nt(e, t) {
|
|
|
398
398
|
before: function(n, o) {
|
|
399
399
|
var a = {};
|
|
400
400
|
n.payload && (a.payload = n.payload), n._id = Mt++, n._time = Date.now(), a.state = o, r.addTimelineEvent({
|
|
401
|
-
layerId:
|
|
401
|
+
layerId: ne,
|
|
402
402
|
event: {
|
|
403
403
|
time: n._time,
|
|
404
404
|
title: n.type,
|
|
@@ -418,7 +418,7 @@ function Nt(e, t) {
|
|
|
418
418
|
value: l
|
|
419
419
|
}
|
|
420
420
|
}, n.payload && (a.payload = n.payload), a.state = o, r.addTimelineEvent({
|
|
421
|
-
layerId:
|
|
421
|
+
layerId: ne,
|
|
422
422
|
event: {
|
|
423
423
|
time: Date.now(),
|
|
424
424
|
title: n.type,
|
|
@@ -654,7 +654,7 @@ function Fe(e, t) {
|
|
|
654
654
|
if (t[r]) {
|
|
655
655
|
var n = ke[r];
|
|
656
656
|
U(t[r], function(o, a) {
|
|
657
|
-
|
|
657
|
+
I(
|
|
658
658
|
n.assert(o),
|
|
659
659
|
Ut(e, r, a, o, n.expected)
|
|
660
660
|
);
|
|
@@ -668,7 +668,7 @@ function Ut(e, t, r, n, o) {
|
|
|
668
668
|
}
|
|
669
669
|
var j = function e(t) {
|
|
670
670
|
var r = this;
|
|
671
|
-
t === void 0 && (t = {}), process.env.NODE_ENV !== "production" && (
|
|
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;
|
|
673
673
|
n === void 0 && (n = []);
|
|
674
674
|
var o = t.strict;
|
|
@@ -695,7 +695,7 @@ he.state.get = function() {
|
|
|
695
695
|
return this._state.data;
|
|
696
696
|
};
|
|
697
697
|
he.state.set = function(e) {
|
|
698
|
-
process.env.NODE_ENV !== "production" &&
|
|
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, r, n) {
|
|
701
701
|
var o = this, a = Q(t, r, n), l = a.type, i = a.payload, c = a.options, f = { type: l, payload: i }, m = this._mutations[l];
|
|
@@ -766,7 +766,7 @@ j.prototype.subscribeAction = function(t, r) {
|
|
|
766
766
|
};
|
|
767
767
|
j.prototype.watch = function(t, r, n) {
|
|
768
768
|
var o = this;
|
|
769
|
-
return process.env.NODE_ENV !== "production" &&
|
|
769
|
+
return process.env.NODE_ENV !== "production" && I(typeof t == "function", "store.watch only accepts a function."), X(function() {
|
|
770
770
|
return t(o.state, o.getters);
|
|
771
771
|
}, r, Object.assign({}, n));
|
|
772
772
|
};
|
|
@@ -777,20 +777,20 @@ j.prototype.replaceState = function(t) {
|
|
|
777
777
|
});
|
|
778
778
|
};
|
|
779
779
|
j.prototype.registerModule = function(t, r, n) {
|
|
780
|
-
n === void 0 && (n = {}), typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && (
|
|
780
|
+
n === void 0 && (n = {}), typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && (I(Array.isArray(t), "module path must be a string or an Array."), I(t.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(t, r), ee(this, this.state, t, this._modules.get(t), n.preserveState), ce(this, this.state);
|
|
781
781
|
};
|
|
782
782
|
j.prototype.unregisterModule = function(t) {
|
|
783
783
|
var r = this;
|
|
784
|
-
typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" &&
|
|
784
|
+
typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.unregister(t), this._withCommit(function() {
|
|
785
785
|
var n = fe(r.state, t.slice(0, -1));
|
|
786
786
|
delete n[t[t.length - 1]];
|
|
787
|
-
}),
|
|
787
|
+
}), Te(this);
|
|
788
788
|
};
|
|
789
789
|
j.prototype.hasModule = function(t) {
|
|
790
|
-
return typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" &&
|
|
790
|
+
return typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.isRegistered(t);
|
|
791
791
|
};
|
|
792
792
|
j.prototype.hotUpdate = function(t) {
|
|
793
|
-
this._modules.update(t),
|
|
793
|
+
this._modules.update(t), Te(this, !0);
|
|
794
794
|
};
|
|
795
795
|
j.prototype._withCommit = function(t) {
|
|
796
796
|
var r = this._committing;
|
|
@@ -1018,13 +1018,13 @@ const Ht = {
|
|
|
1018
1018
|
Yt
|
|
1019
1019
|
], Qt = { key: 1 }, er = /* @__PURE__ */ s("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, "Drop files here", -1), tr = [
|
|
1020
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" },
|
|
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__ */ s("i", { class: "text-3xl fas fa-file-alt" }, null, -1), ir = { class: "w-full ml-3" }, lr = { 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" }, hr = { 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" }, gr = { class: "flex items-center" }, mr = /* @__PURE__ */ s("i", {
|
|
1025
1025
|
class: "text-3xl fas fa-file-alt",
|
|
1026
1026
|
"aria-hidden": "true"
|
|
1027
|
-
}, null, -1),
|
|
1027
|
+
}, null, -1), pr = { class: "flex flex-col ml-3" }, br = { class: "text-xs" }, _r = { class: "text-xs" }, yr = { class: "flex gap-2" }, vr = ["href"], xr = ["onClick"];
|
|
1028
1028
|
function wr(e, t, r, n, o, a) {
|
|
1029
1029
|
const l = Y("DeleteConfirmationModal");
|
|
1030
1030
|
return d(), u(v, null, [
|
|
@@ -1034,13 +1034,13 @@ function wr(e, t, r, n, o, a) {
|
|
|
1034
1034
|
onCancelDelete: a.closeDeleteModal
|
|
1035
1035
|
}, null, 8, ["isOpen", "onConfirmDelete", "onCancelDelete"]),
|
|
1036
1036
|
s("div", {
|
|
1037
|
-
class:
|
|
1037
|
+
class: p([{
|
|
1038
1038
|
"border-red-500 dark:border-red-500": o.error_message_data !== "",
|
|
1039
1039
|
"border-gray-200 dark:border-gray-700": o.error_message_data == ""
|
|
1040
1040
|
}, "w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])
|
|
1041
1041
|
}, [
|
|
1042
1042
|
s("label", {
|
|
1043
|
-
class:
|
|
1043
|
+
class: p({
|
|
1044
1044
|
"gl-label-form": o.error_message_data == "",
|
|
1045
1045
|
"gl-label-form-invalid": o.error_message_data !== "",
|
|
1046
1046
|
required: r.is_required
|
|
@@ -1060,7 +1060,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1060
1060
|
multiple: r.has_multiple_file,
|
|
1061
1061
|
onChange: t[0] || (t[0] = (...i) => a.uploadFiles && a.uploadFiles(...i))
|
|
1062
1062
|
}, null, 40, Kt),
|
|
1063
|
-
|
|
1063
|
+
O(s("input", {
|
|
1064
1064
|
type: "hidden",
|
|
1065
1065
|
name: r.field_name,
|
|
1066
1066
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => a.uploadedFileIds = i)
|
|
@@ -1076,8 +1076,8 @@ function wr(e, t, r, n, o, a) {
|
|
|
1076
1076
|
], 32),
|
|
1077
1077
|
s("span", rr, h(o.error_message_data), 1),
|
|
1078
1078
|
s("small", sr, h(r.description), 1),
|
|
1079
|
-
o.files.length > 0 ? (d(), u("section",
|
|
1080
|
-
(d(!0), u(v, null, k(o.files, (i, c) => (d(), u("li",
|
|
1079
|
+
o.files.length > 0 ? (d(), u("section", ar, [
|
|
1080
|
+
(d(!0), u(v, null, k(o.files, (i, c) => (d(), u("li", nr, [
|
|
1081
1081
|
or,
|
|
1082
1082
|
s("div", ir, [
|
|
1083
1083
|
s("div", lr, [
|
|
@@ -1097,9 +1097,9 @@ function wr(e, t, r, n, o, a) {
|
|
|
1097
1097
|
(d(!0), u(v, null, k(o.uploadFileList, (i, c) => (d(), u("li", hr, [
|
|
1098
1098
|
s("div", gr, [
|
|
1099
1099
|
mr,
|
|
1100
|
-
s("div",
|
|
1101
|
-
s("span",
|
|
1102
|
-
s("span",
|
|
1100
|
+
s("div", pr, [
|
|
1101
|
+
s("span", br, h(a.getFileName(i.file_name)), 1),
|
|
1102
|
+
s("span", _r, h(a.formatFileSize(i.size)), 1)
|
|
1103
1103
|
])
|
|
1104
1104
|
]),
|
|
1105
1105
|
s("div", yr, [
|
|
@@ -1121,7 +1121,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const yd = /* @__PURE__ */ S(Ht, [["render", wr]]), kr = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...qt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1178,7 +1178,7 @@ const _d = /* @__PURE__ */ S(Ht, [["render", wr]]), kr = {
|
|
|
1178
1178
|
viewBox: "0 0 20 20"
|
|
1179
1179
|
}, [
|
|
1180
1180
|
/* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z" })
|
|
1181
|
-
], -1), Cr = /* @__PURE__ */ s("span", { class: "sr-only" }, "Info", -1), Sr = { class: "mr-3 text-sm font-medium ms-3" },
|
|
1181
|
+
], -1), Cr = /* @__PURE__ */ s("span", { class: "sr-only" }, "Info", -1), Sr = { class: "mr-3 text-sm font-medium ms-3" }, Dr = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Or = /* @__PURE__ */ s("svg", {
|
|
1182
1182
|
class: "w-3 h-3",
|
|
1183
1183
|
"aria-hidden": "true",
|
|
1184
1184
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1193,13 +1193,13 @@ const _d = /* @__PURE__ */ S(Ht, [["render", wr]]), kr = {
|
|
|
1193
1193
|
d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
|
|
1194
1194
|
})
|
|
1195
1195
|
], -1), Pr = [
|
|
1196
|
-
|
|
1197
|
-
|
|
1196
|
+
Dr,
|
|
1197
|
+
Or
|
|
1198
1198
|
];
|
|
1199
1199
|
function Er(e, t, r, n, o, a) {
|
|
1200
1200
|
return e.notification.show ? (d(), u("div", {
|
|
1201
1201
|
key: 0,
|
|
1202
|
-
class:
|
|
1202
|
+
class: p(["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
1205
|
$r,
|
|
@@ -1208,12 +1208,12 @@ function Er(e, t, r, n, o, a) {
|
|
|
1208
1208
|
s("button", {
|
|
1209
1209
|
type: "button",
|
|
1210
1210
|
onClick: t[0] || (t[0] = (...l) => a.dismiss && a.dismiss(...l)),
|
|
1211
|
-
class:
|
|
1211
|
+
class: p(["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)) : g("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const vd = /* @__PURE__ */ S(kr, [["render", Er]]), jr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1248,7 +1248,7 @@ const pd = /* @__PURE__ */ S(kr, [["render", Er]]), jr = {
|
|
|
1248
1248
|
},
|
|
1249
1249
|
mounted() {
|
|
1250
1250
|
}
|
|
1251
|
-
}, Ar = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" },
|
|
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
1252
|
function Mr(e, t, r, n, o, a) {
|
|
1253
1253
|
return d(), u("ul", Ar, [
|
|
1254
1254
|
(d(!0), u(v, null, k(o.locals, (l, i) => (d(), u("li", null, [
|
|
@@ -1260,22 +1260,22 @@ function Mr(e, t, r, n, o, a) {
|
|
|
1260
1260
|
id: l + "_" + r.field_name,
|
|
1261
1261
|
autocomplete: "off",
|
|
1262
1262
|
checked: l === o.default_language
|
|
1263
|
-
}, null, 8,
|
|
1263
|
+
}, null, 8, Tr),
|
|
1264
1264
|
s("label", {
|
|
1265
1265
|
for: l + "_" + r.field_name,
|
|
1266
|
-
class:
|
|
1266
|
+
class: p([{
|
|
1267
1267
|
"border md:!rounded-s-lg": i === 0,
|
|
1268
1268
|
"border md:!rounded-e-lg": i === o.locals.length - 1,
|
|
1269
1269
|
"border-t border-b": i !== 0 && i !== 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
|
-
}, h(l), 11,
|
|
1271
|
+
}, h(l), 11, Ir)
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const xd = /* @__PURE__ */ S(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
|
+
}, wd = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1286,16 +1286,16 @@ const bd = /* @__PURE__ */ S(jr, [["render", Mr]]), Nr = { class: "bg-white bord
|
|
|
1286
1286
|
setup(e) {
|
|
1287
1287
|
const t = e, r = G(() => t.class);
|
|
1288
1288
|
return (n, o) => (d(), u("div", {
|
|
1289
|
-
class:
|
|
1289
|
+
class: p(["flex flex-col gap-9", r.value])
|
|
1290
1290
|
}, [
|
|
1291
1291
|
s("div", Nr, [
|
|
1292
1292
|
s("div", Vr, [
|
|
1293
1293
|
s("h3", Lr, [
|
|
1294
|
-
|
|
1294
|
+
T(n.$slots, "header")
|
|
1295
1295
|
])
|
|
1296
1296
|
]),
|
|
1297
1297
|
n.$slots.body ? (d(), u("div", Br, [
|
|
1298
|
-
|
|
1298
|
+
T(n.$slots, "body")
|
|
1299
1299
|
])) : g("", !0)
|
|
1300
1300
|
])
|
|
1301
1301
|
], 2));
|
|
@@ -1482,12 +1482,12 @@ const bd = /* @__PURE__ */ S(jr, [["render", Mr]]), Nr = { 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), rs = ["id"], ss = { class: "overflow-y-auto max-h-64" },
|
|
1486
|
-
function
|
|
1485
|
+
], -1), rs = ["id"], ss = { class: "overflow-y-auto max-h-64" }, as = ["onClick", "onMousedown", "id"];
|
|
1486
|
+
function ns(e, t, r, n, o, a) {
|
|
1487
1487
|
return d(), u(v, null, [
|
|
1488
1488
|
r.show ? (d(), u("div", {
|
|
1489
1489
|
key: 0,
|
|
1490
|
-
class:
|
|
1490
|
+
class: p(r.field_name)
|
|
1491
1491
|
}, [
|
|
1492
1492
|
s("h3", Fr, h(r.label_name), 1),
|
|
1493
1493
|
s("p", Rr, [
|
|
@@ -1497,7 +1497,7 @@ function as(e, t, r, n, o, a) {
|
|
|
1497
1497
|
], 2)) : g("", !0),
|
|
1498
1498
|
r.show ? g("", !0) : (d(), u("div", {
|
|
1499
1499
|
key: 1,
|
|
1500
|
-
class:
|
|
1500
|
+
class: p(["mb-4", r.field_name])
|
|
1501
1501
|
}, [
|
|
1502
1502
|
(d(!0), u(v, null, k(o.selectedIds, (l, i) => (d(), u("input", {
|
|
1503
1503
|
type: "hidden",
|
|
@@ -1507,7 +1507,7 @@ function as(e, t, r, n, o, a) {
|
|
|
1507
1507
|
}, null, 8, zr))), 128)),
|
|
1508
1508
|
r.options ? (d(), u("div", Hr, [
|
|
1509
1509
|
s("label", {
|
|
1510
|
-
class:
|
|
1510
|
+
class: p({
|
|
1511
1511
|
"gl-label-form": r.error_message == "",
|
|
1512
1512
|
"gl-label-form-invalid": r.error_message !== "",
|
|
1513
1513
|
required: r.is_required
|
|
@@ -1543,16 +1543,16 @@ function as(e, t, r, n, o, a) {
|
|
|
1543
1543
|
]))), 128))
|
|
1544
1544
|
]),
|
|
1545
1545
|
s("i", {
|
|
1546
|
-
class:
|
|
1546
|
+
class: p([o.optionsShown ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700"]),
|
|
1547
1547
|
style: { top: "11px" }
|
|
1548
1548
|
}, null, 2)
|
|
1549
1549
|
]),
|
|
1550
|
-
|
|
1550
|
+
O(s("div", Yr, [
|
|
1551
1551
|
s("div", Jr, [
|
|
1552
1552
|
Qr,
|
|
1553
1553
|
s("div", es, [
|
|
1554
1554
|
ts,
|
|
1555
|
-
|
|
1555
|
+
O(s("input", {
|
|
1556
1556
|
type: "search",
|
|
1557
1557
|
"onUpdate:modelValue": t[3] || (t[3] = (l) => o.searchFilter = l),
|
|
1558
1558
|
id: r.field_name + "search",
|
|
@@ -1568,7 +1568,7 @@ function as(e, t, r, n, o, a) {
|
|
|
1568
1568
|
]),
|
|
1569
1569
|
s("div", ss, [
|
|
1570
1570
|
(d(!0), u(v, null, k(a.filteredOptions, (l, i) => (d(), u("div", {
|
|
1571
|
-
class:
|
|
1571
|
+
class: p([
|
|
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",
|
|
1573
1573
|
i + 1 == o.count || a.isOptionSelected(l.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
1574
1574
|
]),
|
|
@@ -1576,7 +1576,7 @@ function as(e, t, r, n, o, a) {
|
|
|
1576
1576
|
onMousedown: (c) => a.selectOption(l),
|
|
1577
1577
|
key: i,
|
|
1578
1578
|
id: i + 1
|
|
1579
|
-
}, h(l.name || l.id || "-"), 43,
|
|
1579
|
+
}, h(l.name || l.id || "-"), 43, as))), 128))
|
|
1580
1580
|
])
|
|
1581
1581
|
], 512), [
|
|
1582
1582
|
[F, o.optionsShown]
|
|
@@ -1586,7 +1586,7 @@ function as(e, t, r, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const kd = /* @__PURE__ */ S(Gr, [["render", ns]]), os = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1663,7 +1663,7 @@ function ls(e, t, r, n, o, a) {
|
|
|
1663
1663
|
return r.is_loading ? (d(), K(oe("button"), {
|
|
1664
1664
|
key: 1,
|
|
1665
1665
|
disabled: "",
|
|
1666
|
-
class:
|
|
1666
|
+
class: p(`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
|
is,
|
|
@@ -1681,14 +1681,14 @@ function ls(e, t, r, n, o, a) {
|
|
|
1681
1681
|
default: J(() => [
|
|
1682
1682
|
r.icon ? (d(), u("i", {
|
|
1683
1683
|
key: 0,
|
|
1684
|
-
class:
|
|
1684
|
+
class: p([r.icon, "text-base"])
|
|
1685
1685
|
}, null, 2)) : g("", !0),
|
|
1686
|
-
|
|
1686
|
+
T(e.$slots, "default")
|
|
1687
1687
|
]),
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const $d = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold ptext-lg dark:text-white" }, us = ["name", "id"], cs = ["id"], fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), hs = ["for"], gs = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), ms = ["name", "id"], ps = ["required", "name", "id", "type"], bs = { class: "gl-span-form-error" }, _s = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Cd = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1760,10 +1760,10 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
1760
1760
|
}), t({ focus: () => a.value.focus() }), (i, c) => (d(), u(v, null, [
|
|
1761
1761
|
e.show ? (d(), u("div", {
|
|
1762
1762
|
key: 0,
|
|
1763
|
-
class:
|
|
1763
|
+
class: p(e.field_name)
|
|
1764
1764
|
}, [
|
|
1765
1765
|
s("h3", ds, h(e.label_name), 1),
|
|
1766
|
-
|
|
1766
|
+
O(s("input", {
|
|
1767
1767
|
type: "hidden",
|
|
1768
1768
|
"data-i18n": "true",
|
|
1769
1769
|
name: e.field_name + "_i18n",
|
|
@@ -1782,10 +1782,10 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
1782
1782
|
], 2)) : g("", !0),
|
|
1783
1783
|
e.show ? g("", !0) : (d(), u("div", {
|
|
1784
1784
|
key: 1,
|
|
1785
|
-
class:
|
|
1785
|
+
class: p(["mb-4", e.field_name])
|
|
1786
1786
|
}, [
|
|
1787
1787
|
s("label", {
|
|
1788
|
-
class:
|
|
1788
|
+
class: p({
|
|
1789
1789
|
"gl-label-translation-form": e.error_message == "",
|
|
1790
1790
|
"gl-label-translation-form-invalid": e.error_message !== "",
|
|
1791
1791
|
required: e.is_required
|
|
@@ -1807,7 +1807,7 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
1807
1807
|
required: e.is_required,
|
|
1808
1808
|
name: e.field_name,
|
|
1809
1809
|
id: e.field_name,
|
|
1810
|
-
class:
|
|
1810
|
+
class: p({
|
|
1811
1811
|
" gl-textarea-form form-input-translation mt-4 ": e.error_message == "",
|
|
1812
1812
|
" gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
|
|
1813
1813
|
}),
|
|
@@ -1818,13 +1818,13 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
1818
1818
|
ref: a,
|
|
1819
1819
|
rows: "4"
|
|
1820
1820
|
}, `
|
|
1821
|
-
`, 42,
|
|
1822
|
-
s("span",
|
|
1823
|
-
s("small",
|
|
1821
|
+
`, 42, ps),
|
|
1822
|
+
s("span", bs, h(e.error_message), 1),
|
|
1823
|
+
s("small", _s, h(e.description), 1)
|
|
1824
1824
|
], 2))
|
|
1825
1825
|
], 64));
|
|
1826
1826
|
}
|
|
1827
|
-
}, ys = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Cs = ["name", "id"], Ss = ["name", "id", "type"],
|
|
1827
|
+
}, ys = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Cs = ["name", "id"], Ss = ["name", "id", "type"], Ds = { class: "gl-span-form-error" }, Os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Sd = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1900,10 +1900,10 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
1900
1900
|
}), t({ focus: () => a.value.focus() }), (i, c) => (d(), u(v, null, [
|
|
1901
1901
|
e.show ? (d(), u("div", {
|
|
1902
1902
|
key: 0,
|
|
1903
|
-
class:
|
|
1903
|
+
class: p(e.field_name)
|
|
1904
1904
|
}, [
|
|
1905
1905
|
s("h3", ys, h(e.label_name), 1),
|
|
1906
|
-
|
|
1906
|
+
O(s("input", {
|
|
1907
1907
|
type: "hidden",
|
|
1908
1908
|
"data-i18n": "true",
|
|
1909
1909
|
name: e.field_name + "_i18n",
|
|
@@ -1922,10 +1922,10 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
1922
1922
|
], 2)) : g("", !0),
|
|
1923
1923
|
e.show ? g("", !0) : (d(), u("div", {
|
|
1924
1924
|
key: 1,
|
|
1925
|
-
class:
|
|
1925
|
+
class: p(["mb-4", e.field_name])
|
|
1926
1926
|
}, [
|
|
1927
1927
|
s("label", {
|
|
1928
|
-
class:
|
|
1928
|
+
class: p({
|
|
1929
1929
|
"gl-label-translation-form": e.error_message == "",
|
|
1930
1930
|
"gl-label-translation-form-invalid": e.error_message !== "",
|
|
1931
1931
|
required: e.is_required
|
|
@@ -1946,7 +1946,7 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
1946
1946
|
s("textarea", {
|
|
1947
1947
|
name: e.field_name,
|
|
1948
1948
|
id: e.field_name,
|
|
1949
|
-
class:
|
|
1949
|
+
class: p(["tiny", {
|
|
1950
1950
|
" gl-textarea-form form-input-translation mt-4 ": e.error_message == "",
|
|
1951
1951
|
" gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
|
|
1952
1952
|
}]),
|
|
@@ -1958,12 +1958,12 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
1958
1958
|
rows: "4"
|
|
1959
1959
|
}, `
|
|
1960
1960
|
`, 42, Ss),
|
|
1961
|
-
s("span",
|
|
1962
|
-
s("small",
|
|
1961
|
+
s("span", Ds, h(e.error_message), 1),
|
|
1962
|
+
s("small", Os, h(e.description), 1)
|
|
1963
1963
|
], 2))
|
|
1964
1964
|
], 64));
|
|
1965
1965
|
}
|
|
1966
|
-
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1),
|
|
1966
|
+
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ms = ["name", "id"], Ns = ["required", "name", "id", "type"], Vs = { class: "gl-span-form-error" }, Ls = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Dd = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2035,10 +2035,10 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
2035
2035
|
}), t({ focus: () => a.value.focus() }), (i, c) => (d(), u(v, null, [
|
|
2036
2036
|
e.show ? (d(), u("div", {
|
|
2037
2037
|
key: 0,
|
|
2038
|
-
class:
|
|
2038
|
+
class: p(e.field_name)
|
|
2039
2039
|
}, [
|
|
2040
2040
|
s("h3", Ps, h(e.label_name), 1),
|
|
2041
|
-
|
|
2041
|
+
O(s("input", {
|
|
2042
2042
|
type: "hidden",
|
|
2043
2043
|
"data-i18n": "true",
|
|
2044
2044
|
name: e.field_name + "_i18n",
|
|
@@ -2056,17 +2056,17 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
2056
2056
|
], 2)) : g("", !0),
|
|
2057
2057
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2058
2058
|
key: 1,
|
|
2059
|
-
class:
|
|
2059
|
+
class: p(["mb-4", e.field_name])
|
|
2060
2060
|
}, [
|
|
2061
2061
|
s("label", {
|
|
2062
|
-
class:
|
|
2062
|
+
class: p({
|
|
2063
2063
|
"gl-label-translation-form": e.error_message == "",
|
|
2064
2064
|
"gl-label-translation-form-invalid": e.error_message !== "",
|
|
2065
2065
|
required: e.is_required
|
|
2066
2066
|
}),
|
|
2067
2067
|
for: e.field_name
|
|
2068
|
-
}, h(e.label_name), 11,
|
|
2069
|
-
|
|
2068
|
+
}, h(e.label_name), 11, Ts),
|
|
2069
|
+
Is,
|
|
2070
2070
|
s("input", {
|
|
2071
2071
|
class: "mb-4",
|
|
2072
2072
|
type: "hidden",
|
|
@@ -2081,7 +2081,7 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
2081
2081
|
required: e.is_required,
|
|
2082
2082
|
name: e.field_name,
|
|
2083
2083
|
id: e.field_name,
|
|
2084
|
-
class:
|
|
2084
|
+
class: p({
|
|
2085
2085
|
" gl-input-form form-input-translation mt-2 ": e.error_message == "",
|
|
2086
2086
|
" gl-input-form-invalid form-input-translation mt-2 ": e.error_message !== ""
|
|
2087
2087
|
}),
|
|
@@ -2096,7 +2096,7 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
2096
2096
|
], 2))
|
|
2097
2097
|
], 64));
|
|
2098
2098
|
}
|
|
2099
|
-
}, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2099
|
+
}, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Od = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2153,7 +2153,7 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
2153
2153
|
return t({ focus: () => a.value.focus() }), (i, c) => (d(), u(v, null, [
|
|
2154
2154
|
e.show ? (d(), u("div", {
|
|
2155
2155
|
key: 0,
|
|
2156
|
-
class:
|
|
2156
|
+
class: p(e.field_name)
|
|
2157
2157
|
}, [
|
|
2158
2158
|
s("h3", Bs, h(e.label_name), 1),
|
|
2159
2159
|
s("p", Gs, h(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
|
|
@@ -2161,21 +2161,21 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
2161
2161
|
], 2)) : g("", !0),
|
|
2162
2162
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2163
2163
|
key: 1,
|
|
2164
|
-
class:
|
|
2164
|
+
class: p(["mb-4", e.field_name])
|
|
2165
2165
|
}, [
|
|
2166
2166
|
s("label", {
|
|
2167
|
-
class:
|
|
2167
|
+
class: p({
|
|
2168
2168
|
"gl-label-form": e.error_message == "",
|
|
2169
2169
|
"gl-label-form-invalid": e.error_message !== "",
|
|
2170
2170
|
required: e.is_required
|
|
2171
2171
|
}),
|
|
2172
2172
|
for: e.field_name
|
|
2173
2173
|
}, h(e.label_name), 11, Rs),
|
|
2174
|
-
|
|
2174
|
+
O(s("input", {
|
|
2175
2175
|
required: e.is_required,
|
|
2176
2176
|
name: e.field_name,
|
|
2177
2177
|
id: e.field_name,
|
|
2178
|
-
class:
|
|
2178
|
+
class: p({
|
|
2179
2179
|
"gl-input-form": e.error_message == "",
|
|
2180
2180
|
"gl-input-form-invalid": e.error_message !== ""
|
|
2181
2181
|
}),
|
|
@@ -2201,7 +2201,7 @@ const xd = /* @__PURE__ */ S(os, [["render", ls]]), ds = { class: "font-bold pte
|
|
|
2201
2201
|
};
|
|
2202
2202
|
}
|
|
2203
2203
|
}, 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" }, Xs = ["onClick"], Ys = { 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" };
|
|
2204
|
-
function
|
|
2204
|
+
function ea(e, t, r, n, o, a) {
|
|
2205
2205
|
return d(), u(v, null, [
|
|
2206
2206
|
s("div", Zs, [
|
|
2207
2207
|
s("div", Ks, [
|
|
@@ -2212,10 +2212,10 @@ function en(e, t, r, n, o, a) {
|
|
|
2212
2212
|
class: "flex-auto -mb-px text-center"
|
|
2213
2213
|
}, [
|
|
2214
2214
|
s("a", {
|
|
2215
|
-
class:
|
|
2215
|
+
class: p([{ "text-slate-600 bg-white dark:bg-meta-4": n.selectedTitle != l.title, "text-white bg-slate-600 dark:bg-primary": n.selectedTitle === l.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
|
|
2216
2216
|
}, [
|
|
2217
2217
|
s("i", {
|
|
2218
|
-
class:
|
|
2218
|
+
class: p([l.icon, "mr-1 text-base"])
|
|
2219
2219
|
}, null, 2),
|
|
2220
2220
|
w(" " + h(l.title), 1)
|
|
2221
2221
|
], 2)
|
|
@@ -2226,28 +2226,28 @@ function en(e, t, r, n, o, a) {
|
|
|
2226
2226
|
s("div", Ys, [
|
|
2227
2227
|
s("div", Js, [
|
|
2228
2228
|
s("div", Qs, [
|
|
2229
|
-
|
|
2229
|
+
T(e.$slots, "default")
|
|
2230
2230
|
])
|
|
2231
2231
|
])
|
|
2232
2232
|
])
|
|
2233
2233
|
], 64);
|
|
2234
2234
|
}
|
|
2235
|
-
const
|
|
2235
|
+
const Pd = /* @__PURE__ */ S(Hs, [["render", ea]]), ta = {
|
|
2236
2236
|
props: ["title"],
|
|
2237
2237
|
setup() {
|
|
2238
2238
|
return {
|
|
2239
2239
|
selectedTitle: Ce("selectedTitle")
|
|
2240
2240
|
};
|
|
2241
2241
|
}
|
|
2242
|
-
},
|
|
2243
|
-
function
|
|
2244
|
-
return
|
|
2245
|
-
|
|
2242
|
+
}, ra = { class: "block" };
|
|
2243
|
+
function sa(e, t, r, n, o, a) {
|
|
2244
|
+
return O((d(), u("div", ra, [
|
|
2245
|
+
T(e.$slots, "default")
|
|
2246
2246
|
], 512)), [
|
|
2247
2247
|
[F, r.title == n.selectedTitle]
|
|
2248
2248
|
]);
|
|
2249
2249
|
}
|
|
2250
|
-
const
|
|
2250
|
+
const Ed = /* @__PURE__ */ S(ta, [["render", sa]]), aa = {
|
|
2251
2251
|
props: {
|
|
2252
2252
|
elements_to_show_prop: {
|
|
2253
2253
|
type: Number,
|
|
@@ -2346,10 +2346,10 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2346
2346
|
this.direction_property == "rtl" ? t.style.marginRight = -this.dotsNavigation[e - 1] + "px" : t.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
|
|
2347
2347
|
}
|
|
2348
2348
|
}
|
|
2349
|
-
}, P = (e) => (st("data-v-a94f16a9"), e = e(),
|
|
2349
|
+
}, P = (e) => (st("data-v-a94f16a9"), e = e(), at(), e), na = ["id"], oa = {
|
|
2350
2350
|
key: 0,
|
|
2351
2351
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2352
|
-
},
|
|
2352
|
+
}, ia = { class: "w-full" }, la = {
|
|
2353
2353
|
key: 0,
|
|
2354
2354
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2355
2355
|
class: "w-6 h-6",
|
|
@@ -2357,13 +2357,13 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2357
2357
|
viewBox: "0 0 24 24",
|
|
2358
2358
|
stroke: "currentColor",
|
|
2359
2359
|
"stroke-width": "2"
|
|
2360
|
-
},
|
|
2360
|
+
}, da = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2361
2361
|
"stroke-linecap": "round",
|
|
2362
2362
|
"stroke-linejoin": "round",
|
|
2363
2363
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2364
|
-
}, null, -1)),
|
|
2365
|
-
|
|
2366
|
-
],
|
|
2364
|
+
}, null, -1)), ua = [
|
|
2365
|
+
da
|
|
2366
|
+
], ca = {
|
|
2367
2367
|
key: 1,
|
|
2368
2368
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2369
2369
|
class: "w-6 h-6",
|
|
@@ -2371,13 +2371,13 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2371
2371
|
viewBox: "0 0 24 24",
|
|
2372
2372
|
stroke: "currentColor",
|
|
2373
2373
|
"stroke-width": "2"
|
|
2374
|
-
},
|
|
2374
|
+
}, fa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2375
2375
|
"stroke-linecap": "round",
|
|
2376
2376
|
"stroke-linejoin": "round",
|
|
2377
2377
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2378
|
-
}, null, -1)),
|
|
2379
|
-
|
|
2380
|
-
],
|
|
2378
|
+
}, null, -1)), ha = [
|
|
2379
|
+
fa
|
|
2380
|
+
], ga = ["id"], ma = ["id"], pa = { class: "w-full" }, ba = {
|
|
2381
2381
|
key: 0,
|
|
2382
2382
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2383
2383
|
class: "w-6 h-6",
|
|
@@ -2385,13 +2385,13 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2385
2385
|
viewBox: "0 0 24 24",
|
|
2386
2386
|
stroke: "currentColor",
|
|
2387
2387
|
"stroke-width": "2"
|
|
2388
|
-
},
|
|
2388
|
+
}, _a = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2389
2389
|
"stroke-linecap": "round",
|
|
2390
2390
|
"stroke-linejoin": "round",
|
|
2391
2391
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2392
|
-
}, null, -1)),
|
|
2393
|
-
|
|
2394
|
-
],
|
|
2392
|
+
}, null, -1)), ya = [
|
|
2393
|
+
_a
|
|
2394
|
+
], va = {
|
|
2395
2395
|
key: 1,
|
|
2396
2396
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2397
2397
|
class: "w-6 h-6",
|
|
@@ -2399,13 +2399,13 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2399
2399
|
viewBox: "0 0 24 24",
|
|
2400
2400
|
stroke: "currentColor",
|
|
2401
2401
|
"stroke-width": "2"
|
|
2402
|
-
},
|
|
2402
|
+
}, xa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2403
2403
|
"stroke-linecap": "round",
|
|
2404
2404
|
"stroke-linejoin": "round",
|
|
2405
2405
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2406
|
-
}, null, -1)),
|
|
2407
|
-
|
|
2408
|
-
],
|
|
2406
|
+
}, null, -1)), wa = [
|
|
2407
|
+
xa
|
|
2408
|
+
], ka = { class: "w-full" }, $a = {
|
|
2409
2409
|
key: 0,
|
|
2410
2410
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2411
2411
|
class: "w-6 h-6",
|
|
@@ -2413,13 +2413,13 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2413
2413
|
viewBox: "0 0 24 24",
|
|
2414
2414
|
stroke: "currentColor",
|
|
2415
2415
|
"stroke-width": "2"
|
|
2416
|
-
},
|
|
2416
|
+
}, Ca = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2417
2417
|
"stroke-linecap": "round",
|
|
2418
2418
|
"stroke-linejoin": "round",
|
|
2419
2419
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2420
|
-
}, null, -1)),
|
|
2421
|
-
|
|
2422
|
-
],
|
|
2420
|
+
}, null, -1)), Sa = [
|
|
2421
|
+
Ca
|
|
2422
|
+
], Da = {
|
|
2423
2423
|
key: 1,
|
|
2424
2424
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2425
2425
|
class: "w-6 h-6",
|
|
@@ -2427,23 +2427,23 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2427
2427
|
viewBox: "0 0 24 24",
|
|
2428
2428
|
stroke: "currentColor",
|
|
2429
2429
|
"stroke-width": "2"
|
|
2430
|
-
},
|
|
2430
|
+
}, Oa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2431
2431
|
"stroke-linecap": "round",
|
|
2432
2432
|
"stroke-linejoin": "round",
|
|
2433
2433
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2434
|
-
}, null, -1)),
|
|
2435
|
-
|
|
2436
|
-
],
|
|
2437
|
-
|
|
2438
|
-
],
|
|
2434
|
+
}, null, -1)), Pa = [
|
|
2435
|
+
Oa
|
|
2436
|
+
], Ea = ["onClick"], ja = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Aa = [
|
|
2437
|
+
ja
|
|
2438
|
+
], Ta = {
|
|
2439
2439
|
key: 1,
|
|
2440
2440
|
class: "flex justify-between pl-5 pr-5"
|
|
2441
|
-
},
|
|
2442
|
-
|
|
2443
|
-
],
|
|
2441
|
+
}, Ia = ["onClick"], Ma = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Na = [
|
|
2442
|
+
Ma
|
|
2443
|
+
], Va = {
|
|
2444
2444
|
key: 0,
|
|
2445
2445
|
class: "flex"
|
|
2446
|
-
},
|
|
2446
|
+
}, La = { class: "flex items-center" }, Ba = { class: "w-full" }, Ga = {
|
|
2447
2447
|
key: 0,
|
|
2448
2448
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2449
2449
|
class: "w-6 h-6",
|
|
@@ -2451,13 +2451,13 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2451
2451
|
viewBox: "0 0 24 24",
|
|
2452
2452
|
stroke: "currentColor",
|
|
2453
2453
|
"stroke-width": "2"
|
|
2454
|
-
},
|
|
2454
|
+
}, Fa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2455
2455
|
"stroke-linecap": "round",
|
|
2456
2456
|
"stroke-linejoin": "round",
|
|
2457
2457
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2458
|
-
}, null, -1)),
|
|
2459
|
-
|
|
2460
|
-
],
|
|
2458
|
+
}, null, -1)), Ra = [
|
|
2459
|
+
Fa
|
|
2460
|
+
], Ua = {
|
|
2461
2461
|
key: 1,
|
|
2462
2462
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2463
2463
|
class: "w-6 h-6",
|
|
@@ -2465,13 +2465,13 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2465
2465
|
viewBox: "0 0 24 24",
|
|
2466
2466
|
stroke: "currentColor",
|
|
2467
2467
|
"stroke-width": "2"
|
|
2468
|
-
},
|
|
2468
|
+
}, qa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2469
2469
|
"stroke-linecap": "round",
|
|
2470
2470
|
"stroke-linejoin": "round",
|
|
2471
2471
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2472
|
-
}, null, -1)),
|
|
2473
|
-
|
|
2474
|
-
],
|
|
2472
|
+
}, null, -1)), za = [
|
|
2473
|
+
qa
|
|
2474
|
+
], Ha = { class: "flex items-center" }, Za = { class: "w-full" }, Ka = {
|
|
2475
2475
|
key: 0,
|
|
2476
2476
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2477
2477
|
class: "w-6 h-6",
|
|
@@ -2479,13 +2479,13 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2479
2479
|
viewBox: "0 0 24 24",
|
|
2480
2480
|
stroke: "currentColor",
|
|
2481
2481
|
"stroke-width": "2"
|
|
2482
|
-
},
|
|
2482
|
+
}, Wa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2483
2483
|
"stroke-linecap": "round",
|
|
2484
2484
|
"stroke-linejoin": "round",
|
|
2485
2485
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2486
|
-
}, null, -1)),
|
|
2487
|
-
|
|
2488
|
-
],
|
|
2486
|
+
}, null, -1)), Xa = [
|
|
2487
|
+
Wa
|
|
2488
|
+
], Ya = {
|
|
2489
2489
|
key: 1,
|
|
2490
2490
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2491
2491
|
class: "w-6 h-6",
|
|
@@ -2493,16 +2493,16 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2493
2493
|
viewBox: "0 0 24 24",
|
|
2494
2494
|
stroke: "currentColor",
|
|
2495
2495
|
"stroke-width": "2"
|
|
2496
|
-
},
|
|
2496
|
+
}, Ja = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2497
2497
|
"stroke-linecap": "round",
|
|
2498
2498
|
"stroke-linejoin": "round",
|
|
2499
2499
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2500
|
-
}, null, -1)),
|
|
2501
|
-
|
|
2502
|
-
],
|
|
2500
|
+
}, null, -1)), Qa = [
|
|
2501
|
+
Ja
|
|
2502
|
+
], en = {
|
|
2503
2503
|
key: 1,
|
|
2504
2504
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2505
|
-
},
|
|
2505
|
+
}, tn = { class: "w-full" }, rn = {
|
|
2506
2506
|
key: 0,
|
|
2507
2507
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2508
2508
|
class: "w-6 h-6",
|
|
@@ -2510,13 +2510,13 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2510
2510
|
viewBox: "0 0 24 24",
|
|
2511
2511
|
stroke: "currentColor",
|
|
2512
2512
|
"stroke-width": "2"
|
|
2513
|
-
},
|
|
2513
|
+
}, sn = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2514
2514
|
"stroke-linecap": "round",
|
|
2515
2515
|
"stroke-linejoin": "round",
|
|
2516
2516
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2517
|
-
}, null, -1)),
|
|
2518
|
-
|
|
2519
|
-
],
|
|
2517
|
+
}, null, -1)), an = [
|
|
2518
|
+
sn
|
|
2519
|
+
], nn = {
|
|
2520
2520
|
key: 1,
|
|
2521
2521
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2522
2522
|
class: "w-6 h-6",
|
|
@@ -2524,32 +2524,32 @@ const Od = /* @__PURE__ */ S(tn, [["render", sn]]), nn = {
|
|
|
2524
2524
|
viewBox: "0 0 24 24",
|
|
2525
2525
|
stroke: "currentColor",
|
|
2526
2526
|
"stroke-width": "2"
|
|
2527
|
-
},
|
|
2527
|
+
}, on = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
|
|
2528
2528
|
"stroke-linecap": "round",
|
|
2529
2529
|
"stroke-linejoin": "round",
|
|
2530
2530
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2531
|
-
}, null, -1)),
|
|
2532
|
-
|
|
2531
|
+
}, null, -1)), ln = [
|
|
2532
|
+
on
|
|
2533
2533
|
];
|
|
2534
|
-
function
|
|
2534
|
+
function dn(e, t, r, n, o, a) {
|
|
2535
2535
|
return d(), u("div", null, [
|
|
2536
2536
|
s("div", {
|
|
2537
|
-
class:
|
|
2537
|
+
class: p(["", !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
2538
2538
|
id: "mainSliderContainer_" + e.Random_string
|
|
2539
2539
|
}, [
|
|
2540
|
-
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2541
|
-
s("div",
|
|
2540
|
+
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", oa, [
|
|
2541
|
+
s("div", ia, [
|
|
2542
2542
|
s("button", {
|
|
2543
2543
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2544
2544
|
onClick: t[0] || (t[0] = (l) => a.prev())
|
|
2545
2545
|
}, [
|
|
2546
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2547
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2546
|
+
r.direction_property == "ltr" ? (d(), u("svg", la, ua)) : g("", !0),
|
|
2547
|
+
r.direction_property == "rtl" ? (d(), u("svg", ca, ha)) : g("", !0)
|
|
2548
2548
|
])
|
|
2549
2549
|
])
|
|
2550
2550
|
])) : g("", !0),
|
|
2551
2551
|
s("div", {
|
|
2552
|
-
class:
|
|
2552
|
+
class: p(["overflow-hidden", a.sliderContainerAction()]),
|
|
2553
2553
|
id: "sliderContainer_" + e.Random_string
|
|
2554
2554
|
}, [
|
|
2555
2555
|
s("ul", {
|
|
@@ -2558,101 +2558,101 @@ function da(e, t, r, n, o, a) {
|
|
|
2558
2558
|
}, [
|
|
2559
2559
|
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
|
|
2560
2560
|
key: 0,
|
|
2561
|
-
class:
|
|
2561
|
+
class: p(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", r.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
2562
2562
|
}, [
|
|
2563
|
-
s("div",
|
|
2563
|
+
s("div", pa, [
|
|
2564
2564
|
s("button", {
|
|
2565
2565
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2566
2566
|
onClick: t[1] || (t[1] = N((l) => a.prev(), ["stop"]))
|
|
2567
2567
|
}, [
|
|
2568
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2569
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2568
|
+
r.direction_property == "ltr" ? (d(), u("svg", ba, ya)) : g("", !0),
|
|
2569
|
+
r.direction_property == "rtl" ? (d(), u("svg", va, wa)) : g("", !0)
|
|
2570
2570
|
])
|
|
2571
2571
|
])
|
|
2572
2572
|
], 2)) : g("", !0),
|
|
2573
|
-
|
|
2573
|
+
T(e.$slots, "default", {}, void 0, !0),
|
|
2574
2574
|
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
|
|
2575
2575
|
key: 1,
|
|
2576
|
-
class:
|
|
2576
|
+
class: p(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", r.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
2577
2577
|
}, [
|
|
2578
|
-
s("div",
|
|
2578
|
+
s("div", ka, [
|
|
2579
2579
|
s("button", {
|
|
2580
2580
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2581
2581
|
onClick: t[2] || (t[2] = N((l) => a.next(), ["stop"]))
|
|
2582
2582
|
}, [
|
|
2583
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2584
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2583
|
+
r.direction_property == "ltr" ? (d(), u("svg", $a, Sa)) : g("", !0),
|
|
2584
|
+
r.direction_property == "rtl" ? (d(), u("svg", Da, Pa)) : g("", !0)
|
|
2585
2585
|
])
|
|
2586
2586
|
])
|
|
2587
2587
|
], 2)) : g("", !0)
|
|
2588
|
-
], 8,
|
|
2588
|
+
], 8, ma),
|
|
2589
2589
|
r.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
|
|
2590
2590
|
key: 0,
|
|
2591
|
-
class:
|
|
2591
|
+
class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2592
2592
|
}, [
|
|
2593
2593
|
(d(!0), u(v, null, k(e.dotsNum, (l) => (d(), u("button", {
|
|
2594
2594
|
role: "button",
|
|
2595
|
-
class:
|
|
2595
|
+
class: p(["gl-dot", { active: e.currentDot == l }]),
|
|
2596
2596
|
key: l,
|
|
2597
2597
|
onClick: (i) => a.setDot(l)
|
|
2598
|
-
},
|
|
2598
|
+
}, Aa, 10, Ea))), 128))
|
|
2599
2599
|
], 2)) : g("", !0),
|
|
2600
|
-
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div",
|
|
2600
|
+
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ta, [
|
|
2601
2601
|
s("div", {
|
|
2602
|
-
class:
|
|
2602
|
+
class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2603
2603
|
}, [
|
|
2604
2604
|
(d(!0), u(v, null, k(e.dotsNum, (l) => (d(), u("button", {
|
|
2605
2605
|
role: "button",
|
|
2606
|
-
class:
|
|
2606
|
+
class: p(["gl-dot", { active: e.currentDot == l }]),
|
|
2607
2607
|
key: l,
|
|
2608
2608
|
onClick: (i) => a.setDot(l)
|
|
2609
|
-
},
|
|
2609
|
+
}, Na, 10, Ia))), 128))
|
|
2610
2610
|
], 2),
|
|
2611
|
-
e.dotsNum > 0 ? (d(), u("div",
|
|
2612
|
-
s("div",
|
|
2613
|
-
s("div",
|
|
2611
|
+
e.dotsNum > 0 ? (d(), u("div", Va, [
|
|
2612
|
+
s("div", La, [
|
|
2613
|
+
s("div", Ba, [
|
|
2614
2614
|
s("button", {
|
|
2615
|
-
class:
|
|
2615
|
+
class: p(["p-3 rounded-full arrow_button_styles", r.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2616
2616
|
onClick: t[3] || (t[3] = (l) => a.prev())
|
|
2617
2617
|
}, [
|
|
2618
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2619
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2618
|
+
r.direction_property == "ltr" ? (d(), u("svg", Ga, Ra)) : g("", !0),
|
|
2619
|
+
r.direction_property == "rtl" ? (d(), u("svg", Ua, za)) : g("", !0)
|
|
2620
2620
|
], 2)
|
|
2621
2621
|
])
|
|
2622
2622
|
]),
|
|
2623
|
-
s("div",
|
|
2624
|
-
s("div",
|
|
2623
|
+
s("div", Ha, [
|
|
2624
|
+
s("div", Za, [
|
|
2625
2625
|
s("button", {
|
|
2626
2626
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2627
2627
|
onClick: t[4] || (t[4] = (l) => a.next())
|
|
2628
2628
|
}, [
|
|
2629
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2630
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2629
|
+
r.direction_property == "ltr" ? (d(), u("svg", Ka, Xa)) : g("", !0),
|
|
2630
|
+
r.direction_property == "rtl" ? (d(), u("svg", Ya, Qa)) : g("", !0)
|
|
2631
2631
|
])
|
|
2632
2632
|
])
|
|
2633
2633
|
])
|
|
2634
2634
|
])) : g("", !0)
|
|
2635
2635
|
])) : g("", !0)
|
|
2636
|
-
], 10,
|
|
2637
|
-
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div",
|
|
2638
|
-
s("div",
|
|
2636
|
+
], 10, ga),
|
|
2637
|
+
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", en, [
|
|
2638
|
+
s("div", tn, [
|
|
2639
2639
|
s("button", {
|
|
2640
2640
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2641
2641
|
onClick: t[5] || (t[5] = (l) => a.next())
|
|
2642
2642
|
}, [
|
|
2643
|
-
r.direction_property == "ltr" ? (d(), u("svg",
|
|
2644
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2643
|
+
r.direction_property == "ltr" ? (d(), u("svg", rn, an)) : g("", !0),
|
|
2644
|
+
r.direction_property == "rtl" ? (d(), u("svg", nn, ln)) : g("", !0)
|
|
2645
2645
|
])
|
|
2646
2646
|
])
|
|
2647
2647
|
])) : g("", !0)
|
|
2648
|
-
], 10,
|
|
2648
|
+
], 10, na)
|
|
2649
2649
|
]);
|
|
2650
2650
|
}
|
|
2651
|
-
const
|
|
2651
|
+
const jd = /* @__PURE__ */ S(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
|
|
2652
2652
|
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",
|
|
2653
2653
|
tabindex: "-1",
|
|
2654
2654
|
"aria-hidden": "true"
|
|
2655
|
-
},
|
|
2655
|
+
}, 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" }, hn = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, gn = /* @__PURE__ */ s("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2656
2656
|
/* @__PURE__ */ s("svg", {
|
|
2657
2657
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2658
2658
|
fill: "currentColor",
|
|
@@ -2666,9 +2666,9 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2666
2666
|
d: "M6 18L18 6M6 6l12 12"
|
|
2667
2667
|
})
|
|
2668
2668
|
])
|
|
2669
|
-
], -1),
|
|
2670
|
-
|
|
2671
|
-
],
|
|
2669
|
+
], -1), mn = [
|
|
2670
|
+
gn
|
|
2671
|
+
], pn = { 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" }, Ad = {
|
|
2672
2672
|
__name: "GlModal",
|
|
2673
2673
|
props: {
|
|
2674
2674
|
is_open: {
|
|
@@ -2703,27 +2703,27 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2703
2703
|
i ? o() : a();
|
|
2704
2704
|
},
|
|
2705
2705
|
{ immediate: !0, deep: !0 }
|
|
2706
|
-
), (i, c) =>
|
|
2706
|
+
), (i, c) => O((d(), u("div", un, [
|
|
2707
2707
|
s("div", {
|
|
2708
|
-
class:
|
|
2708
|
+
class: p(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:h-[calc(100%-3.5rem)]", e.max_width])
|
|
2709
2709
|
}, [
|
|
2710
|
-
s("div",
|
|
2711
|
-
s("div",
|
|
2712
|
-
s("h5",
|
|
2710
|
+
s("div", cn, [
|
|
2711
|
+
s("div", fn, [
|
|
2712
|
+
s("h5", hn, h(e.title), 1),
|
|
2713
2713
|
s("button", {
|
|
2714
2714
|
type: "button",
|
|
2715
2715
|
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",
|
|
2716
2716
|
onClick: l,
|
|
2717
2717
|
"aria-label": "Close"
|
|
2718
|
-
},
|
|
2718
|
+
}, mn)
|
|
2719
2719
|
]),
|
|
2720
2720
|
s("div", {
|
|
2721
|
-
class:
|
|
2721
|
+
class: p(["relative overflow-y-auto", e.bodyClass])
|
|
2722
2722
|
}, [
|
|
2723
|
-
|
|
2723
|
+
T(i.$slots, "body")
|
|
2724
2724
|
], 2),
|
|
2725
|
-
s("div",
|
|
2726
|
-
|
|
2725
|
+
s("div", pn, [
|
|
2726
|
+
T(i.$slots, "buttons"),
|
|
2727
2727
|
s("button", {
|
|
2728
2728
|
onClick: l,
|
|
2729
2729
|
type: "button",
|
|
@@ -2736,7 +2736,7 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2736
2736
|
[F, e.is_open]
|
|
2737
2737
|
]);
|
|
2738
2738
|
}
|
|
2739
|
-
},
|
|
2739
|
+
}, bn = { class: "mb-4" }, _n = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, yn = { class: "relative inline-flex items-center cursor-pointer" }, vn = ["name", "id", "checked"], xn = /* @__PURE__ */ s("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), wn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ s("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Td = {
|
|
2740
2740
|
__name: "GlToggleBox",
|
|
2741
2741
|
props: {
|
|
2742
2742
|
is_required: {
|
|
@@ -2789,12 +2789,12 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2789
2789
|
return (l, i) => (d(), u(v, null, [
|
|
2790
2790
|
e.show ? (d(), u("div", {
|
|
2791
2791
|
key: 0,
|
|
2792
|
-
class:
|
|
2792
|
+
class: p(e.field_name)
|
|
2793
2793
|
}, [
|
|
2794
|
-
s("div",
|
|
2795
|
-
s("li",
|
|
2794
|
+
s("div", bn, [
|
|
2795
|
+
s("li", _n, [
|
|
2796
2796
|
w(h(e.label_name) + " ", 1),
|
|
2797
|
-
s("label",
|
|
2797
|
+
s("label", yn, [
|
|
2798
2798
|
s("input", {
|
|
2799
2799
|
type: "checkbox",
|
|
2800
2800
|
class: "sr-only peer",
|
|
@@ -2806,21 +2806,21 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2806
2806
|
ref_key: "input",
|
|
2807
2807
|
ref: o,
|
|
2808
2808
|
disabled: ""
|
|
2809
|
-
}, null, 8,
|
|
2810
|
-
|
|
2809
|
+
}, null, 8, vn),
|
|
2810
|
+
xn
|
|
2811
2811
|
])
|
|
2812
2812
|
])
|
|
2813
2813
|
]),
|
|
2814
|
-
|
|
2814
|
+
wn
|
|
2815
2815
|
], 2)) : g("", !0),
|
|
2816
2816
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2817
2817
|
key: 1,
|
|
2818
|
-
class:
|
|
2818
|
+
class: p(["mb-4", e.field_name])
|
|
2819
2819
|
}, [
|
|
2820
|
-
s("li",
|
|
2820
|
+
s("li", kn, [
|
|
2821
2821
|
w(h(e.label_name) + " ", 1),
|
|
2822
|
-
s("label", $
|
|
2823
|
-
|
|
2822
|
+
s("label", $n, [
|
|
2823
|
+
O(s("input", {
|
|
2824
2824
|
type: "checkbox",
|
|
2825
2825
|
class: "sr-only peer",
|
|
2826
2826
|
name: e.field_name,
|
|
@@ -2830,24 +2830,24 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2830
2830
|
ref_key: "input",
|
|
2831
2831
|
ref: o,
|
|
2832
2832
|
"onUpdate:modelValue": i[0] || (i[0] = (c) => a.value = c)
|
|
2833
|
-
}, null, 8,
|
|
2834
|
-
[
|
|
2833
|
+
}, null, 8, Cn), [
|
|
2834
|
+
[nt, a.value]
|
|
2835
2835
|
]),
|
|
2836
|
-
|
|
2836
|
+
Sn
|
|
2837
2837
|
])
|
|
2838
2838
|
]),
|
|
2839
|
-
s("span",
|
|
2840
|
-
s("small",
|
|
2839
|
+
s("span", Dn, h(e.error_message), 1),
|
|
2840
|
+
s("small", On, h(e.description), 1)
|
|
2841
2841
|
], 2))
|
|
2842
2842
|
], 64));
|
|
2843
2843
|
}
|
|
2844
|
-
},
|
|
2844
|
+
}, Pn = { class: "font-bold ptext-lg dark:text-white" }, En = { class: "mt-3 mb-4" }, jn = { 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" }, An = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Tn = ["name", "id", "value"], In = {
|
|
2845
2845
|
key: 0,
|
|
2846
2846
|
class: "dropdown"
|
|
2847
|
-
},
|
|
2847
|
+
}, Mn = { class: "border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Nn = { class: "relative showOptions" }, Vn = ["value", "placeholder"], Ln = { class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]" }, Bn = { class: "p-1" }, Gn = /* @__PURE__ */ s("label", {
|
|
2848
2848
|
for: "default-search",
|
|
2849
2849
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2850
|
-
}, "Search", -1),
|
|
2850
|
+
}, "Search", -1), Fn = { class: "relative" }, Rn = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
2851
2851
|
/* @__PURE__ */ s("svg", {
|
|
2852
2852
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
2853
2853
|
"aria-hidden": "true",
|
|
@@ -2863,22 +2863,22 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2863
2863
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
2864
2864
|
})
|
|
2865
2865
|
])
|
|
2866
|
-
], -1),
|
|
2866
|
+
], -1), Un = ["id"], qn = { class: "overflow-y-auto max-h-64" }, zn = ["onClick", "onMousedown", "id"], Hn = { class: "flex items-center py-2 pl-10 pr-4" }, Zn = {
|
|
2867
2867
|
key: 0,
|
|
2868
2868
|
class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
|
|
2869
2869
|
"aria-hidden": "true",
|
|
2870
2870
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2871
2871
|
fill: "none",
|
|
2872
2872
|
viewBox: "0 0 16 12"
|
|
2873
|
-
},
|
|
2873
|
+
}, Kn = /* @__PURE__ */ s("path", {
|
|
2874
2874
|
stroke: "currentColor",
|
|
2875
2875
|
"stroke-linecap": "round",
|
|
2876
2876
|
"stroke-linejoin": "round",
|
|
2877
2877
|
"stroke-width": "2",
|
|
2878
2878
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2879
|
-
}, null, -1),
|
|
2880
|
-
|
|
2881
|
-
],
|
|
2879
|
+
}, null, -1), Wn = [
|
|
2880
|
+
Kn
|
|
2881
|
+
], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Yn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Id = {
|
|
2882
2882
|
__name: "GlDropdown",
|
|
2883
2883
|
props: {
|
|
2884
2884
|
modelValue: {
|
|
@@ -2940,192 +2940,192 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2940
2940
|
setup(e, { emit: t }) {
|
|
2941
2941
|
const r = e, n = t, o = C(null), a = C({}), l = C(0), i = C(!1), c = C(""), f = C("");
|
|
2942
2942
|
R(() => {
|
|
2943
|
-
f.value = L(), r.show || (document.body.addEventListener("click", (
|
|
2944
|
-
ze(
|
|
2945
|
-
}), document.addEventListener("keypress", (
|
|
2946
|
-
|
|
2943
|
+
f.value = L(), r.show || (document.body.addEventListener("click", (b) => {
|
|
2944
|
+
ze(b);
|
|
2945
|
+
}), document.addEventListener("keypress", (b) => {
|
|
2946
|
+
b.key === "Enter" && b.target.form && b.preventDefault();
|
|
2947
2947
|
}));
|
|
2948
2948
|
});
|
|
2949
2949
|
const m = G(() => Ke()), y = G(() => We()), x = G(() => {
|
|
2950
|
-
const
|
|
2950
|
+
const b = [], D = new RegExp(c.value, "ig");
|
|
2951
2951
|
for (const E of m.value) {
|
|
2952
2952
|
const B = String(E.name);
|
|
2953
|
-
(c.value.length < 1 || B.match(
|
|
2953
|
+
(c.value.length < 1 || B.match(D)) && b.length < r.maxItem && b.push(E);
|
|
2954
2954
|
}
|
|
2955
|
-
return
|
|
2955
|
+
return b;
|
|
2956
2956
|
});
|
|
2957
|
-
function $(
|
|
2957
|
+
function $(b) {
|
|
2958
2958
|
if ([
|
|
2959
2959
|
"ArrowLeft",
|
|
2960
2960
|
"ArrowUp",
|
|
2961
2961
|
"ArrowRight",
|
|
2962
2962
|
"ArrowDown",
|
|
2963
2963
|
"Enter"
|
|
2964
|
-
].includes(
|
|
2965
|
-
if (["ArrowUp", "ArrowDown"].includes(
|
|
2964
|
+
].includes(b.key)) {
|
|
2965
|
+
if (["ArrowUp", "ArrowDown"].includes(b.key) && b.preventDefault(), b.key === "ArrowDown" && r.posts === "")
|
|
2966
2966
|
return;
|
|
2967
|
-
Ze(
|
|
2967
|
+
Ze(b.key);
|
|
2968
2968
|
}
|
|
2969
2969
|
}
|
|
2970
2970
|
function L() {
|
|
2971
|
-
let
|
|
2971
|
+
let b = (/* @__PURE__ */ new Date()).getTime();
|
|
2972
2972
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
2973
2973
|
/[xy]/g,
|
|
2974
2974
|
function(E) {
|
|
2975
|
-
const B = (
|
|
2976
|
-
return
|
|
2975
|
+
const B = (b + Math.random() * 16) % 16 | 0;
|
|
2976
|
+
return b = Math.floor(b / 16), (E === "x" ? B : B & 3 | 8).toString(16);
|
|
2977
2977
|
}
|
|
2978
2978
|
);
|
|
2979
2979
|
}
|
|
2980
|
-
function te(
|
|
2981
|
-
return
|
|
2980
|
+
function te(b) {
|
|
2981
|
+
return b !== null && typeof b == "object" && Object.keys(b).length > 0;
|
|
2982
2982
|
}
|
|
2983
|
-
function ze(
|
|
2984
|
-
|
|
2983
|
+
function ze(b) {
|
|
2984
|
+
b.target.id != r.field_name + "search" + f.value && b.target.id != r.field_name && !b.target.classList.contains("showOptions") && (be(), l.value = 0);
|
|
2985
2985
|
}
|
|
2986
|
-
function me(
|
|
2987
|
-
const
|
|
2986
|
+
function me(b) {
|
|
2987
|
+
const D = `${b}${f.value}`, E = document.getElementById(D);
|
|
2988
2988
|
E && E.scrollIntoView();
|
|
2989
2989
|
}
|
|
2990
|
-
function He(
|
|
2991
|
-
const
|
|
2990
|
+
function He(b) {
|
|
2991
|
+
const D = `${b}${f.value}`, E = document.getElementById(D);
|
|
2992
2992
|
E && E.click();
|
|
2993
2993
|
}
|
|
2994
|
-
function Ze(
|
|
2995
|
-
|
|
2994
|
+
function Ze(b) {
|
|
2995
|
+
b === "ArrowDown" && l.value < x.value.length && (l.value++, me(l.value)), b === "ArrowUp" && l.value > 1 && (l.value--, me(l.value)), b === "Enter" && He(l.value);
|
|
2996
2996
|
}
|
|
2997
2997
|
function Ke() {
|
|
2998
|
-
return r.options.map((
|
|
2998
|
+
return r.options.map((b, D) => typeof b == "object" ? b : { id: b, name: b });
|
|
2999
2999
|
}
|
|
3000
3000
|
function We() {
|
|
3001
3001
|
if (te(a.value))
|
|
3002
3002
|
return console.log("selected.value: ", a.value), typeof a.value == "object" ? m.value.find(
|
|
3003
|
-
(
|
|
3003
|
+
(b) => String(b.id) === String(a.value.id)
|
|
3004
3004
|
) || {} : m.value.find(
|
|
3005
|
-
(
|
|
3005
|
+
(b) => String(b.id) === String(a.value)
|
|
3006
3006
|
) || {};
|
|
3007
3007
|
if (r.modelValue)
|
|
3008
3008
|
return console.log("props.modelValue :", r.modelValue), typeof r.modelValue == "object" ? m.value.find(
|
|
3009
|
-
(
|
|
3009
|
+
(b) => String(b.id) === String(r.modelValue.id)
|
|
3010
3010
|
) || {} : m.value.find(
|
|
3011
|
-
(
|
|
3011
|
+
(b) => String(b.id) === String(r.modelValue)
|
|
3012
3012
|
) || {};
|
|
3013
3013
|
}
|
|
3014
|
-
function
|
|
3015
|
-
a.value =
|
|
3014
|
+
function pe(b) {
|
|
3015
|
+
a.value = b, i.value = !1, n("selected", a.value), n("selectionChanged", a.value);
|
|
3016
3016
|
}
|
|
3017
3017
|
function re() {
|
|
3018
3018
|
r.show || (c.value = "", i.value = !0, ot(() => {
|
|
3019
|
-
var
|
|
3019
|
+
var b = document.getElementById(
|
|
3020
3020
|
`${r.field_name}search${f.value}`
|
|
3021
3021
|
);
|
|
3022
|
-
|
|
3022
|
+
b && b.focus();
|
|
3023
3023
|
}));
|
|
3024
3024
|
}
|
|
3025
3025
|
function Xe() {
|
|
3026
3026
|
r.show || (a.value = {}, c.value = "", n("update:modelValue", ""), re());
|
|
3027
3027
|
}
|
|
3028
|
-
function
|
|
3028
|
+
function be() {
|
|
3029
3029
|
a.value.id || (a.value = {}, c.value = ""), n("selected", a.value), i.value = !1;
|
|
3030
3030
|
}
|
|
3031
3031
|
return X(c, () => {
|
|
3032
3032
|
x.value.length === 0 && (a.value = {});
|
|
3033
|
-
}), X(a, (
|
|
3034
|
-
te(
|
|
3035
|
-
}), (
|
|
3036
|
-
var E, B,
|
|
3033
|
+
}), X(a, (b) => {
|
|
3034
|
+
te(b) && n("update:modelValue", b.id);
|
|
3035
|
+
}), (b, D) => {
|
|
3036
|
+
var E, B, _e;
|
|
3037
3037
|
return d(), u(v, null, [
|
|
3038
3038
|
e.show ? (d(), u("div", {
|
|
3039
3039
|
key: 0,
|
|
3040
|
-
class:
|
|
3040
|
+
class: p(e.field_name)
|
|
3041
3041
|
}, [
|
|
3042
|
-
s("h3",
|
|
3043
|
-
s("p",
|
|
3044
|
-
s("span",
|
|
3042
|
+
s("h3", Pn, h(e.label_name), 1),
|
|
3043
|
+
s("p", En, [
|
|
3044
|
+
s("span", jn, h((E = y.value) == null ? void 0 : E.name), 1)
|
|
3045
3045
|
]),
|
|
3046
|
-
|
|
3046
|
+
An
|
|
3047
3047
|
], 2)) : g("", !0),
|
|
3048
3048
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3049
3049
|
key: 1,
|
|
3050
|
-
class:
|
|
3050
|
+
class: p(["mb-4", e.field_name])
|
|
3051
3051
|
}, [
|
|
3052
3052
|
s("input", {
|
|
3053
3053
|
type: "hidden",
|
|
3054
3054
|
name: e.field_name,
|
|
3055
3055
|
id: e.field_name,
|
|
3056
3056
|
value: (B = y.value) == null ? void 0 : B.id
|
|
3057
|
-
}, null, 8,
|
|
3058
|
-
e.options ? (d(), u("div",
|
|
3057
|
+
}, null, 8, Tn),
|
|
3058
|
+
e.options ? (d(), u("div", In, [
|
|
3059
3059
|
e.label_name ? (d(), u("label", {
|
|
3060
3060
|
key: 0,
|
|
3061
|
-
class:
|
|
3061
|
+
class: p({
|
|
3062
3062
|
"gl-label-form": e.error_message == "",
|
|
3063
3063
|
"gl-label-form-invalid": e.error_message !== "",
|
|
3064
3064
|
required: e.is_required
|
|
3065
3065
|
})
|
|
3066
3066
|
}, h(e.label_name), 3)) : g("", !0),
|
|
3067
|
-
s("div",
|
|
3068
|
-
s("div",
|
|
3067
|
+
s("div", Mn, [
|
|
3068
|
+
s("div", Nn, [
|
|
3069
3069
|
s("input", {
|
|
3070
|
-
class:
|
|
3070
|
+
class: p([{
|
|
3071
3071
|
"gl-input-form": e.error_message == "",
|
|
3072
3072
|
"gl-input-form-invalid": e.error_message !== ""
|
|
3073
3073
|
}, "pl-8 pr-2 showOptions"]),
|
|
3074
3074
|
ref: e.field_name,
|
|
3075
|
-
onClick:
|
|
3076
|
-
value: (
|
|
3075
|
+
onClick: D[0] || (D[0] = (A) => re()),
|
|
3076
|
+
value: (_e = y.value) == null ? void 0 : _e.name,
|
|
3077
3077
|
placeholder: e.placeholder,
|
|
3078
3078
|
autocomplete: "off",
|
|
3079
3079
|
readonly: ""
|
|
3080
|
-
}, null, 10,
|
|
3081
|
-
|
|
3082
|
-
onClick:
|
|
3080
|
+
}, null, 10, Vn),
|
|
3081
|
+
O(s("i", {
|
|
3082
|
+
onClick: D[1] || (D[1] = N((A) => Xe(), ["stop"])),
|
|
3083
3083
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3084
3084
|
style: { top: "13px" }
|
|
3085
3085
|
}, null, 512), [
|
|
3086
3086
|
[F, te(y.value) && e.has_cancel]
|
|
3087
3087
|
]),
|
|
3088
3088
|
s("i", {
|
|
3089
|
-
onClick:
|
|
3090
|
-
class:
|
|
3089
|
+
onClick: D[2] || (D[2] = (A) => !i.value && re()),
|
|
3090
|
+
class: p([i.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"]),
|
|
3091
3091
|
style: { top: "11px" }
|
|
3092
3092
|
}, null, 2)
|
|
3093
3093
|
]),
|
|
3094
|
-
|
|
3095
|
-
s("div",
|
|
3096
|
-
|
|
3097
|
-
s("div",
|
|
3098
|
-
|
|
3099
|
-
|
|
3094
|
+
O(s("div", Ln, [
|
|
3095
|
+
s("div", Bn, [
|
|
3096
|
+
Gn,
|
|
3097
|
+
s("div", Fn, [
|
|
3098
|
+
Rn,
|
|
3099
|
+
O(s("input", {
|
|
3100
3100
|
type: "search",
|
|
3101
|
-
"onUpdate:modelValue":
|
|
3101
|
+
"onUpdate:modelValue": D[3] || (D[3] = (A) => c.value = A),
|
|
3102
3102
|
ref: o.value,
|
|
3103
3103
|
id: `${e.field_name}search${f.value}`,
|
|
3104
3104
|
onKeydown: $,
|
|
3105
|
-
onBlur:
|
|
3105
|
+
onBlur: D[4] || (D[4] = (A) => be()),
|
|
3106
3106
|
autocomplete: "off",
|
|
3107
3107
|
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",
|
|
3108
3108
|
placeholder: "Search ..."
|
|
3109
|
-
}, null, 40,
|
|
3109
|
+
}, null, 40, Un), [
|
|
3110
3110
|
[V, c.value]
|
|
3111
3111
|
])
|
|
3112
3112
|
])
|
|
3113
3113
|
]),
|
|
3114
|
-
s("div",
|
|
3114
|
+
s("div", qn, [
|
|
3115
3115
|
(d(!0), u(v, null, k(x.value, (A, se) => {
|
|
3116
3116
|
var ye;
|
|
3117
3117
|
return d(), u("div", {
|
|
3118
|
-
class:
|
|
3119
|
-
onClick: (Ye) =>
|
|
3120
|
-
onMousedown: (Ye) =>
|
|
3118
|
+
class: p(["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 == l.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
3119
|
+
onClick: (Ye) => pe(A),
|
|
3120
|
+
onMousedown: (Ye) => pe(A),
|
|
3121
3121
|
key: se,
|
|
3122
3122
|
id: `${se + 1}${f.value}`
|
|
3123
3123
|
}, [
|
|
3124
|
-
s("div",
|
|
3125
|
-
((ye = y.value) == null ? void 0 : ye.id) === A.id ? (d(), u("svg",
|
|
3124
|
+
s("div", Hn, [
|
|
3125
|
+
((ye = y.value) == null ? void 0 : ye.id) === A.id ? (d(), u("svg", Zn, Wn)) : g("", !0),
|
|
3126
3126
|
s("span", null, h(A.name || A.id || "-"), 1)
|
|
3127
3127
|
])
|
|
3128
|
-
], 42,
|
|
3128
|
+
], 42, zn);
|
|
3129
3129
|
}), 128))
|
|
3130
3130
|
])
|
|
3131
3131
|
], 512), [
|
|
@@ -3133,13 +3133,13 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3133
3133
|
])
|
|
3134
3134
|
])
|
|
3135
3135
|
])) : g("", !0),
|
|
3136
|
-
s("span",
|
|
3137
|
-
s("small",
|
|
3136
|
+
s("span", Xn, h(e.error_message), 1),
|
|
3137
|
+
s("small", Yn, h(e.description), 1)
|
|
3138
3138
|
], 2))
|
|
3139
3139
|
], 64);
|
|
3140
3140
|
};
|
|
3141
3141
|
}
|
|
3142
|
-
},
|
|
3142
|
+
}, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Md = {
|
|
3143
3143
|
__name: "GlTextarea",
|
|
3144
3144
|
props: {
|
|
3145
3145
|
is_required: {
|
|
@@ -3191,21 +3191,21 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3191
3191
|
}), t({ focus: () => a.value.focus() }), (l, i) => (d(), u(v, null, [
|
|
3192
3192
|
e.show ? (d(), u("div", {
|
|
3193
3193
|
key: 0,
|
|
3194
|
-
class:
|
|
3194
|
+
class: p(e.field_name)
|
|
3195
3195
|
}, [
|
|
3196
|
-
s("h3",
|
|
3196
|
+
s("h3", Jn, h(e.label_name), 1),
|
|
3197
3197
|
s("p", {
|
|
3198
3198
|
id: e.field_name,
|
|
3199
3199
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3200
|
-
}, h(e.model_value), 9,
|
|
3200
|
+
}, h(e.model_value), 9, Qn),
|
|
3201
3201
|
eo
|
|
3202
3202
|
], 2)) : g("", !0),
|
|
3203
3203
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3204
3204
|
key: 1,
|
|
3205
|
-
class:
|
|
3205
|
+
class: p(["mb-4", e.field_name])
|
|
3206
3206
|
}, [
|
|
3207
3207
|
s("label", {
|
|
3208
|
-
class:
|
|
3208
|
+
class: p({
|
|
3209
3209
|
"gl-label-form": e.error_message == "",
|
|
3210
3210
|
"gl-label-form-invalid": e.error_message !== "",
|
|
3211
3211
|
required: e.is_required
|
|
@@ -3216,7 +3216,7 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3216
3216
|
required: e.is_required,
|
|
3217
3217
|
name: e.field_name,
|
|
3218
3218
|
id: e.field_name,
|
|
3219
|
-
class:
|
|
3219
|
+
class: p({
|
|
3220
3220
|
" gl-textarea-form mt-4 ": e.error_message == "",
|
|
3221
3221
|
" gl-textarea-form-invalid mt-4 ": e.error_message !== ""
|
|
3222
3222
|
}),
|
|
@@ -3228,11 +3228,11 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3228
3228
|
placeholder: e.place_holder
|
|
3229
3229
|
}, null, 42, ro),
|
|
3230
3230
|
s("span", so, h(e.error_message), 1),
|
|
3231
|
-
s("small",
|
|
3231
|
+
s("small", ao, h(e.description), 1)
|
|
3232
3232
|
], 2))
|
|
3233
3233
|
], 64));
|
|
3234
3234
|
}
|
|
3235
|
-
},
|
|
3235
|
+
}, no = {
|
|
3236
3236
|
emits: ["pagination-change-page"],
|
|
3237
3237
|
props: {
|
|
3238
3238
|
data: {
|
|
@@ -3344,7 +3344,7 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3344
3344
|
inheritAttrs: !1,
|
|
3345
3345
|
emits: ["pagination-change-page"],
|
|
3346
3346
|
components: {
|
|
3347
|
-
RenderlessPagination:
|
|
3347
|
+
RenderlessPagination: no
|
|
3348
3348
|
},
|
|
3349
3349
|
props: {
|
|
3350
3350
|
data: {
|
|
@@ -3395,7 +3395,7 @@ const Dd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3395
3395
|
"stroke-width": "2",
|
|
3396
3396
|
d: "M5 1 1 5l4 4"
|
|
3397
3397
|
})
|
|
3398
|
-
], -1),
|
|
3398
|
+
], -1), po = ["aria-current"], bo = ["tabindex"], _o = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), yo = /* @__PURE__ */ s("svg", {
|
|
3399
3399
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3400
3400
|
"aria-hidden": "true",
|
|
3401
3401
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3438,47 +3438,47 @@ function vo(e, t, r, n, o, a) {
|
|
|
3438
3438
|
}), [
|
|
3439
3439
|
i.computed.prevPageUrl || r.showDisabled ? (d(), u("li", {
|
|
3440
3440
|
key: 0,
|
|
3441
|
-
class:
|
|
3441
|
+
class: p(["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", { disabled: !i.computed.prevPageUrl }])
|
|
3442
3442
|
}, [
|
|
3443
3443
|
s("a", W({
|
|
3444
3444
|
class: "page-link",
|
|
3445
3445
|
href: "#",
|
|
3446
3446
|
"aria-label": "Previous",
|
|
3447
3447
|
tabindex: !i.computed.prevPageUrl && -1
|
|
3448
|
-
},
|
|
3449
|
-
|
|
3448
|
+
}, ae(i.prevButtonEvents, !0)), [
|
|
3449
|
+
T(e.$slots, "prev-nav", {}, () => [
|
|
3450
3450
|
go,
|
|
3451
3451
|
mo
|
|
3452
3452
|
])
|
|
3453
3453
|
], 16, ho)
|
|
3454
3454
|
], 2)) : g("", !0),
|
|
3455
3455
|
(d(!0), u(v, null, k(i.computed.pageRange, (c, f) => (d(), u("li", {
|
|
3456
|
-
class:
|
|
3456
|
+
class: p(["", { active: c == i.computed.currentPage }]),
|
|
3457
3457
|
key: f
|
|
3458
3458
|
}, [
|
|
3459
3459
|
s("a", W({
|
|
3460
3460
|
class: "",
|
|
3461
3461
|
href: "#"
|
|
3462
|
-
},
|
|
3462
|
+
}, ae(i.pageButtonEvents(c), !0), {
|
|
3463
3463
|
"aria-current": c == i.computed.currentPage ? "page" : null,
|
|
3464
3464
|
class: c == i.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
3465
|
-
}), h(c), 17,
|
|
3465
|
+
}), h(c), 17, po)
|
|
3466
3466
|
], 2))), 128)),
|
|
3467
3467
|
i.computed.nextPageUrl || r.showDisabled ? (d(), u("li", {
|
|
3468
3468
|
key: 1,
|
|
3469
|
-
class:
|
|
3469
|
+
class: p(["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", { disabled: !i.computed.nextPageUrl }])
|
|
3470
3470
|
}, [
|
|
3471
3471
|
s("a", W({
|
|
3472
3472
|
class: "",
|
|
3473
3473
|
href: "#",
|
|
3474
3474
|
"aria-label": "Next",
|
|
3475
3475
|
tabindex: !i.computed.nextPageUrl && -1
|
|
3476
|
-
},
|
|
3477
|
-
|
|
3478
|
-
|
|
3476
|
+
}, ae(i.nextButtonEvents, !0)), [
|
|
3477
|
+
T(e.$slots, "next-nav", {}, () => [
|
|
3478
|
+
_o,
|
|
3479
3479
|
yo
|
|
3480
3480
|
])
|
|
3481
|
-
], 16,
|
|
3481
|
+
], 16, bo)
|
|
3482
3482
|
], 2)) : g("", !0)
|
|
3483
3483
|
], 16)) : g("", !0)
|
|
3484
3484
|
])
|
|
@@ -3563,7 +3563,7 @@ const xo = /* @__PURE__ */ S(oo, [["render", vo]]), wo = {
|
|
|
3563
3563
|
this.isMounted && e !== t && this.GetItemLists();
|
|
3564
3564
|
}
|
|
3565
3565
|
}
|
|
3566
|
-
}, ko = { class: "p-2" }, $o = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Co = { class: "flex items-center gap-2" }, So = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1),
|
|
3566
|
+
}, ko = { class: "p-2" }, $o = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Co = { class: "flex items-center gap-2" }, So = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Do = { style: { "margin-top": "9px" } }, Oo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), Po = /* @__PURE__ */ s("label", {
|
|
3567
3567
|
for: "table-search",
|
|
3568
3568
|
class: "sr-only"
|
|
3569
3569
|
}, "Search", -1), Eo = { class: "relative" }, jo = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
|
|
@@ -3580,7 +3580,7 @@ const xo = /* @__PURE__ */ S(oo, [["render", vo]]), wo = {
|
|
|
3580
3580
|
"clip-rule": "evenodd"
|
|
3581
3581
|
})
|
|
3582
3582
|
])
|
|
3583
|
-
], -1), Ao = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" },
|
|
3583
|
+
], -1), Ao = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, To = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, Io = { class: "hidden text-sm font-normal text-center text-gray-700 uppercase lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, Mo = ["onClick"], No = {
|
|
3584
3584
|
key: 0,
|
|
3585
3585
|
class: "ml-2"
|
|
3586
3586
|
}, Vo = {
|
|
@@ -3596,7 +3596,7 @@ function Ro(e, t, r, n, o, a) {
|
|
|
3596
3596
|
s("div", $o, [
|
|
3597
3597
|
s("div", Co, [
|
|
3598
3598
|
So,
|
|
3599
|
-
s("div",
|
|
3599
|
+
s("div", Do, [
|
|
3600
3600
|
Z(l, {
|
|
3601
3601
|
has_cancel: !1,
|
|
3602
3602
|
options: o.pageOptions,
|
|
@@ -3610,12 +3610,12 @@ function Ro(e, t, r, n, o, a) {
|
|
|
3610
3610
|
placeholder: "Please select an option"
|
|
3611
3611
|
}, null, 8, ["options", "modelValue"])
|
|
3612
3612
|
]),
|
|
3613
|
-
|
|
3613
|
+
Oo
|
|
3614
3614
|
]),
|
|
3615
3615
|
Po,
|
|
3616
3616
|
s("div", Eo, [
|
|
3617
3617
|
jo,
|
|
3618
|
-
|
|
3618
|
+
O(s("input", {
|
|
3619
3619
|
type: "text",
|
|
3620
3620
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => o.search = c),
|
|
3621
3621
|
onInput: t[2] || (t[2] = (c) => a.handleSearch()),
|
|
@@ -3627,8 +3627,8 @@ function Ro(e, t, r, n, o, a) {
|
|
|
3627
3627
|
])
|
|
3628
3628
|
]),
|
|
3629
3629
|
s("div", Ao, [
|
|
3630
|
-
s("table",
|
|
3631
|
-
s("thead",
|
|
3630
|
+
s("table", To, [
|
|
3631
|
+
s("thead", Io, [
|
|
3632
3632
|
s("tr", null, [
|
|
3633
3633
|
(d(!0), u(v, null, k(r.columns, (c, f) => (d(), u("th", {
|
|
3634
3634
|
key: f,
|
|
@@ -3681,7 +3681,7 @@ function Ro(e, t, r, n, o, a) {
|
|
|
3681
3681
|
])
|
|
3682
3682
|
]);
|
|
3683
3683
|
}
|
|
3684
|
-
const
|
|
3684
|
+
const Nd = /* @__PURE__ */ S(wo, [["render", Ro]]), Uo = {
|
|
3685
3685
|
components: {},
|
|
3686
3686
|
props: {
|
|
3687
3687
|
data: Array,
|
|
@@ -3798,7 +3798,7 @@ const Id = /* @__PURE__ */ S(wo, [["render", Ro]]), Uo = {
|
|
|
3798
3798
|
], -1), Qo = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, ei = { 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" }, ti = { class: "hidden text-sm font-normal text-center text-gray-700 uppercase lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, ri = ["onClick"], si = {
|
|
3799
3799
|
key: 0,
|
|
3800
3800
|
class: "ml-2"
|
|
3801
|
-
},
|
|
3801
|
+
}, ai = ["data-label"], ni = ["innerHTML"], oi = { 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" }, ii = { class: "flex justify-between flex-1 sm:hidden" }, li = ["disabled"], di = ["disabled"], ui = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, ci = { class: "text-sm text-gray-700 dark:text-gray-400" }, fi = { class: "font-medium" }, hi = { class: "font-medium" }, gi = { class: "font-medium" }, mi = { "aria-label": "Page navigation" }, pi = { class: "flex items-center h-8 -space-x-px text-sm" }, bi = ["disabled"], _i = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), yi = /* @__PURE__ */ s("svg", {
|
|
3802
3802
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3803
3803
|
"aria-hidden": "true",
|
|
3804
3804
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3813,7 +3813,7 @@ const Id = /* @__PURE__ */ S(wo, [["render", Ro]]), Uo = {
|
|
|
3813
3813
|
d: "M5 1 1 5l4 4"
|
|
3814
3814
|
})
|
|
3815
3815
|
], -1), vi = [
|
|
3816
|
-
|
|
3816
|
+
_i,
|
|
3817
3817
|
yi
|
|
3818
3818
|
], xi = ["onClick"], wi = ["onClick"], ki = ["disabled"], $i = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), Ci = /* @__PURE__ */ s("svg", {
|
|
3819
3819
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
@@ -3833,7 +3833,7 @@ const Id = /* @__PURE__ */ S(wo, [["render", Ro]]), Uo = {
|
|
|
3833
3833
|
$i,
|
|
3834
3834
|
Ci
|
|
3835
3835
|
];
|
|
3836
|
-
function
|
|
3836
|
+
function Di(e, t, r, n, o, a) {
|
|
3837
3837
|
const l = Y("dropdown");
|
|
3838
3838
|
return d(), u("div", qo, [
|
|
3839
3839
|
s("div", zo, [
|
|
@@ -3858,7 +3858,7 @@ function Oi(e, t, r, n, o, a) {
|
|
|
3858
3858
|
Xo,
|
|
3859
3859
|
s("div", Yo, [
|
|
3860
3860
|
Jo,
|
|
3861
|
-
|
|
3861
|
+
O(s("input", {
|
|
3862
3862
|
type: "text",
|
|
3863
3863
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => o.search = i),
|
|
3864
3864
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
@@ -3895,8 +3895,8 @@ function Oi(e, t, r, n, o, a) {
|
|
|
3895
3895
|
s("p", {
|
|
3896
3896
|
class: "text-pretty",
|
|
3897
3897
|
innerHTML: i[m]
|
|
3898
|
-
}, null, 8,
|
|
3899
|
-
], 8,
|
|
3898
|
+
}, null, 8, ni)
|
|
3899
|
+
], 8, ai))), 128))
|
|
3900
3900
|
]))), 128))
|
|
3901
3901
|
])
|
|
3902
3902
|
])
|
|
@@ -3930,14 +3930,14 @@ function Oi(e, t, r, n, o, a) {
|
|
|
3930
3930
|
]),
|
|
3931
3931
|
s("div", null, [
|
|
3932
3932
|
s("nav", mi, [
|
|
3933
|
-
s("ul",
|
|
3933
|
+
s("ul", pi, [
|
|
3934
3934
|
s("li", null, [
|
|
3935
3935
|
s("a", {
|
|
3936
3936
|
href: "#",
|
|
3937
3937
|
onClick: t[4] || (t[4] = (...i) => a.previousPage && a.previousPage(...i)),
|
|
3938
3938
|
disabled: o.currentPage === 1,
|
|
3939
3939
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
3940
|
-
}, vi, 8,
|
|
3940
|
+
}, vi, 8, bi)
|
|
3941
3941
|
]),
|
|
3942
3942
|
(d(!0), u(v, null, k(a.displayedPageNumbers, (i) => (d(), u(v, { key: i }, [
|
|
3943
3943
|
s("li", null, [
|
|
@@ -3973,7 +3973,7 @@ function Oi(e, t, r, n, o, a) {
|
|
|
3973
3973
|
])
|
|
3974
3974
|
]);
|
|
3975
3975
|
}
|
|
3976
|
-
const
|
|
3976
|
+
const Vd = /* @__PURE__ */ S(Uo, [["render", Di]]), Oi = {
|
|
3977
3977
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
3978
3978
|
role: "alert"
|
|
3979
3979
|
}, Pi = {
|
|
@@ -3990,10 +3990,10 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
3990
3990
|
], -1), ji = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Ai = [
|
|
3991
3991
|
Ei,
|
|
3992
3992
|
ji
|
|
3993
|
-
],
|
|
3993
|
+
], Ti = {
|
|
3994
3994
|
key: 1,
|
|
3995
3995
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"
|
|
3996
|
-
},
|
|
3996
|
+
}, Ii = /* @__PURE__ */ s("svg", {
|
|
3997
3997
|
class: "w-5 h-5",
|
|
3998
3998
|
"aria-hidden": "true",
|
|
3999
3999
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4002,7 +4002,7 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
4002
4002
|
}, [
|
|
4003
4003
|
/* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z" })
|
|
4004
4004
|
], -1), Mi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Ni = [
|
|
4005
|
-
|
|
4005
|
+
Ii,
|
|
4006
4006
|
Mi
|
|
4007
4007
|
], Vi = {
|
|
4008
4008
|
key: 2,
|
|
@@ -4053,9 +4053,9 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
4053
4053
|
setTimeout(() => n("remove"), r.duration);
|
|
4054
4054
|
});
|
|
4055
4055
|
const n = t;
|
|
4056
|
-
return (o, a) => (d(), u("div",
|
|
4056
|
+
return (o, a) => (d(), u("div", Oi, [
|
|
4057
4057
|
r.type === "success" ? (d(), u("div", Pi, Ai)) : g("", !0),
|
|
4058
|
-
r.type === "error" ? (d(), u("div",
|
|
4058
|
+
r.type === "error" ? (d(), u("div", Ti, Ni)) : g("", !0),
|
|
4059
4059
|
r.type === "warning" ? (d(), u("div", Vi, Gi)) : g("", !0),
|
|
4060
4060
|
s("div", Fi, h(r.message), 1),
|
|
4061
4061
|
s("button", {
|
|
@@ -4084,7 +4084,7 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
4084
4084
|
}, $e = {
|
|
4085
4085
|
state: de,
|
|
4086
4086
|
methods: Hi
|
|
4087
|
-
},
|
|
4087
|
+
}, Ld = {
|
|
4088
4088
|
__name: "GlToastList",
|
|
4089
4089
|
setup(e) {
|
|
4090
4090
|
function t(r) {
|
|
@@ -4126,7 +4126,7 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
4126
4126
|
], Xi = { class: "absolute z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, Yi = {
|
|
4127
4127
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4128
4128
|
"aria-labelledby": "dropdownDividerButton"
|
|
4129
|
-
}, Ji = { key: 0 }, Qi = ["href"], el = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), tl = { key: 1 }, rl = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4129
|
+
}, Ji = { key: 0 }, Qi = ["href"], el = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), tl = { key: 1 }, rl = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Bd = {
|
|
4130
4130
|
__name: "DatatableAction",
|
|
4131
4131
|
props: {
|
|
4132
4132
|
field: {
|
|
@@ -4172,20 +4172,20 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
4172
4172
|
});
|
|
4173
4173
|
};
|
|
4174
4174
|
return (x, $) => {
|
|
4175
|
-
const L =
|
|
4175
|
+
const L = De("click-outside");
|
|
4176
4176
|
return d(), u(v, null, [
|
|
4177
4177
|
Z(ue, {
|
|
4178
4178
|
isOpen: a.value,
|
|
4179
4179
|
onConfirmDelete: y,
|
|
4180
4180
|
onCancelDelete: c
|
|
4181
4181
|
}, null, 8, ["isOpen"]),
|
|
4182
|
-
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ?
|
|
4182
|
+
e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div", Zi, [
|
|
4183
4183
|
s("button", {
|
|
4184
4184
|
onClick: i,
|
|
4185
4185
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
4186
4186
|
type: "button"
|
|
4187
4187
|
}, Wi),
|
|
4188
|
-
|
|
4188
|
+
O(s("div", Xi, [
|
|
4189
4189
|
s("ul", Yi, [
|
|
4190
4190
|
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Ji, [
|
|
4191
4191
|
s("a", {
|
|
@@ -4219,7 +4219,7 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
4219
4219
|
}, sl = {
|
|
4220
4220
|
key: 0,
|
|
4221
4221
|
class: "flex justify-center"
|
|
4222
|
-
},
|
|
4222
|
+
}, al = /* @__PURE__ */ s("svg", {
|
|
4223
4223
|
class: "w-5 h-5",
|
|
4224
4224
|
"aria-hidden": "true",
|
|
4225
4225
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4227,12 +4227,12 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
4227
4227
|
viewBox: "0 0 4 15"
|
|
4228
4228
|
}, [
|
|
4229
4229
|
/* @__PURE__ */ s("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
|
|
4230
|
-
], -1),
|
|
4231
|
-
|
|
4230
|
+
], -1), nl = [
|
|
4231
|
+
al
|
|
4232
4232
|
], ol = { class: "absolute z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, il = {
|
|
4233
4233
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4234
4234
|
"aria-labelledby": "dropdownDividerButton"
|
|
4235
|
-
}, ll = { key: 0 }, dl = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4235
|
+
}, ll = { key: 0 }, dl = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Gd = {
|
|
4236
4236
|
__name: "DatatableDeleteAction",
|
|
4237
4237
|
props: {
|
|
4238
4238
|
field: {
|
|
@@ -4278,20 +4278,20 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
4278
4278
|
});
|
|
4279
4279
|
};
|
|
4280
4280
|
return (x, $) => {
|
|
4281
|
-
const L =
|
|
4281
|
+
const L = De("click-outside");
|
|
4282
4282
|
return d(), u(v, null, [
|
|
4283
4283
|
Z(ue, {
|
|
4284
4284
|
isOpen: a.value,
|
|
4285
4285
|
onConfirmDelete: y,
|
|
4286
4286
|
onCancelDelete: c
|
|
4287
4287
|
}, null, 8, ["isOpen"]),
|
|
4288
|
-
e.row && x.can(`delete_${e.xprops.permission}`) ?
|
|
4288
|
+
e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div", sl, [
|
|
4289
4289
|
s("button", {
|
|
4290
4290
|
onClick: i,
|
|
4291
4291
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
4292
4292
|
type: "button"
|
|
4293
|
-
},
|
|
4294
|
-
|
|
4293
|
+
}, nl),
|
|
4294
|
+
O(s("div", ol, [
|
|
4295
4295
|
s("ul", il, [
|
|
4296
4296
|
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ll, [
|
|
4297
4297
|
s("a", {
|
|
@@ -4367,7 +4367,7 @@ const Td = /* @__PURE__ */ S(Uo, [["render", Oi]]), Di = {
|
|
|
4367
4367
|
"clip-rule": "evenodd"
|
|
4368
4368
|
})
|
|
4369
4369
|
], -1);
|
|
4370
|
-
function
|
|
4370
|
+
function pl(e, t, r, n, o, a) {
|
|
4371
4371
|
return d(), u("div", null, [
|
|
4372
4372
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row, (l, i) => (d(), u("div", {
|
|
4373
4373
|
key: i,
|
|
@@ -4395,7 +4395,7 @@ function _l(e, t, r, n, o, a) {
|
|
|
4395
4395
|
])) : g("", !0)
|
|
4396
4396
|
]);
|
|
4397
4397
|
}
|
|
4398
|
-
const
|
|
4398
|
+
const Fd = /* @__PURE__ */ S(ul, [["render", pl]]), bl = {
|
|
4399
4399
|
props: ["field", "row"],
|
|
4400
4400
|
computed: {
|
|
4401
4401
|
isArray() {
|
|
@@ -4405,7 +4405,7 @@ const Ld = /* @__PURE__ */ S(ul, [["render", _l]]), pl = {
|
|
|
4405
4405
|
return typeof this.row[this.field] == "object";
|
|
4406
4406
|
}
|
|
4407
4407
|
}
|
|
4408
|
-
},
|
|
4408
|
+
}, _l = ["href", "title"], yl = /* @__PURE__ */ s("svg", {
|
|
4409
4409
|
class: "w-3 h-3 text-white me-2",
|
|
4410
4410
|
"aria-hidden": "true",
|
|
4411
4411
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4457,7 +4457,7 @@ function kl(e, t, r, n, o, a) {
|
|
|
4457
4457
|
}, [
|
|
4458
4458
|
yl,
|
|
4459
4459
|
w(" Download ")
|
|
4460
|
-
], 8,
|
|
4460
|
+
], 8, _l)
|
|
4461
4461
|
]))), 128)) : a.isObject ? (d(), u("div", vl, [
|
|
4462
4462
|
s("a", {
|
|
4463
4463
|
href: r.row[r.field].url,
|
|
@@ -4471,10 +4471,10 @@ function kl(e, t, r, n, o, a) {
|
|
|
4471
4471
|
])) : g("", !0)
|
|
4472
4472
|
]);
|
|
4473
4473
|
}
|
|
4474
|
-
const
|
|
4474
|
+
const Rd = /* @__PURE__ */ S(bl, [["render", kl]]), $l = {
|
|
4475
4475
|
props: ["field", "row", "tdProps"]
|
|
4476
4476
|
}, Cl = { key: 0 }, Sl = ["innerHTML"];
|
|
4477
|
-
function
|
|
4477
|
+
function Dl(e, t, r, n, o, a) {
|
|
4478
4478
|
return r.row[r.field] ? (d(), u("div", Cl, [
|
|
4479
4479
|
s("div", {
|
|
4480
4480
|
class: "w-full",
|
|
@@ -4482,7 +4482,7 @@ function Ol(e, t, r, n, o, a) {
|
|
|
4482
4482
|
}, null, 8, Sl)
|
|
4483
4483
|
])) : g("", !0);
|
|
4484
4484
|
}
|
|
4485
|
-
const
|
|
4485
|
+
const Ud = /* @__PURE__ */ S($l, [["render", Dl]]), Ol = {
|
|
4486
4486
|
props: ["field", "row", "tdProps"],
|
|
4487
4487
|
computed: {
|
|
4488
4488
|
entry() {
|
|
@@ -4508,12 +4508,12 @@ function jl(e, t, r, n, o, a) {
|
|
|
4508
4508
|
}, h(l[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", El, h(r.row[a.entry.key][a.entry.field]), 1)) : g("", !0)
|
|
4509
4509
|
]);
|
|
4510
4510
|
}
|
|
4511
|
-
const
|
|
4511
|
+
const qd = /* @__PURE__ */ S(Ol, [["render", jl]]), Al = {
|
|
4512
4512
|
props: ["field", "row", "tdProps"]
|
|
4513
|
-
},
|
|
4513
|
+
}, Tl = { key: 0 }, Il = { class: "m-1 d-inline-block" }, Ml = ["href", "title"], Nl = ["src", "alt", "title"];
|
|
4514
4514
|
function Vl(e, t, r, n, o, a) {
|
|
4515
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4516
|
-
s("div",
|
|
4515
|
+
return r.row[r.field] ? (d(), u("div", Tl, [
|
|
4516
|
+
s("div", Il, [
|
|
4517
4517
|
s("a", {
|
|
4518
4518
|
href: r.row[r.field].url,
|
|
4519
4519
|
title: r.row[r.field].name,
|
|
@@ -4528,14 +4528,14 @@ function Vl(e, t, r, n, o, a) {
|
|
|
4528
4528
|
])
|
|
4529
4529
|
])) : g("", !0);
|
|
4530
4530
|
}
|
|
4531
|
-
const
|
|
4531
|
+
const zd = /* @__PURE__ */ S(Al, [["render", Vl], ["__scopeId", "data-v-3a28c02c"]]), Ll = {
|
|
4532
4532
|
props: ["field", "row", "tdProps"],
|
|
4533
4533
|
computed: {
|
|
4534
4534
|
isActive() {
|
|
4535
4535
|
return this.row[this.field] === 1;
|
|
4536
4536
|
}
|
|
4537
4537
|
}
|
|
4538
|
-
}, Bl = { class: "flex flex-wrap gap-2" }, Gl = {
|
|
4538
|
+
}, Bl = { class: "flex flex-wrap gap-2 text-nowrap" }, Gl = {
|
|
4539
4539
|
key: 0,
|
|
4540
4540
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
4541
4541
|
}, Fl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Rl = {
|
|
@@ -4553,7 +4553,7 @@ function ql(e, t, r, n, o, a) {
|
|
|
4553
4553
|
]))
|
|
4554
4554
|
]);
|
|
4555
4555
|
}
|
|
4556
|
-
const
|
|
4556
|
+
const Hd = /* @__PURE__ */ S(Ll, [["render", ql]]), zl = {
|
|
4557
4557
|
props: ["field", "row", "tdProps"],
|
|
4558
4558
|
computed: {
|
|
4559
4559
|
hasLabelColor(e) {
|
|
@@ -4561,7 +4561,7 @@ const Ud = /* @__PURE__ */ S(Ll, [["render", ql]]), zl = {
|
|
|
4561
4561
|
return t ? t.class : "";
|
|
4562
4562
|
}
|
|
4563
4563
|
}
|
|
4564
|
-
}, Hl = { class: "flex flex-wrap gap-2" }, Zl = {
|
|
4564
|
+
}, Hl = { class: "flex flex-wrap gap-2 text-nowrap" }, Zl = {
|
|
4565
4565
|
key: 0,
|
|
4566
4566
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
4567
4567
|
}, Kl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Wl = {
|
|
@@ -4594,7 +4594,65 @@ function td(e, t, r, n, o, a) {
|
|
|
4594
4594
|
])) : g("", !0)
|
|
4595
4595
|
]);
|
|
4596
4596
|
}
|
|
4597
|
-
const
|
|
4597
|
+
const Zd = /* @__PURE__ */ S(zl, [["render", td]]), rd = {
|
|
4598
|
+
props: ["field", "row", "tdProps"],
|
|
4599
|
+
computed: {
|
|
4600
|
+
hasLabelColor() {
|
|
4601
|
+
return this.tdProps.specfic_color ?? "";
|
|
4602
|
+
},
|
|
4603
|
+
badgeType() {
|
|
4604
|
+
switch (this.tdProps.badge_type) {
|
|
4605
|
+
case "Default":
|
|
4606
|
+
return "rounded text-xs";
|
|
4607
|
+
case "Large":
|
|
4608
|
+
return "rounded text-sm ";
|
|
4609
|
+
case "Bordered":
|
|
4610
|
+
return "rounded text-xs border";
|
|
4611
|
+
case "Pills":
|
|
4612
|
+
return "rounded-full text-xs";
|
|
4613
|
+
default:
|
|
4614
|
+
return "";
|
|
4615
|
+
}
|
|
4616
|
+
}
|
|
4617
|
+
}
|
|
4618
|
+
}, sd = { class: "flex flex-wrap gap-2 text-nowrap" };
|
|
4619
|
+
function ad(e, t, r, n, o, a) {
|
|
4620
|
+
return d(), u("div", sd, [
|
|
4621
|
+
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
4622
|
+
key: 0,
|
|
4623
|
+
class: p(["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])
|
|
4624
|
+
}, h(this.row[this.field]), 3)) : g("", !0),
|
|
4625
|
+
a.hasLabelColor == "Dark" ? (d(), u("span", {
|
|
4626
|
+
key: 1,
|
|
4627
|
+
class: p(["bg-gray-100 text-gray-800 font-medium me-2 px-2.5 py-0.5 dark:bg-gray-700 dark:text-gray-300 border-gray-500", a.badgeType])
|
|
4628
|
+
}, h(this.row[this.field]), 3)) : g("", !0),
|
|
4629
|
+
a.hasLabelColor == "Red" ? (d(), u("span", {
|
|
4630
|
+
key: 2,
|
|
4631
|
+
class: p(["bg-red-100 text-red-800 font-medium me-2 px-2.5 py-0.5 dark:bg-red-900 dark:text-red-300 border-red-400", a.badgeType])
|
|
4632
|
+
}, h(this.row[this.field]), 3)) : g("", !0),
|
|
4633
|
+
a.hasLabelColor == "Green" ? (d(), u("span", {
|
|
4634
|
+
key: 3,
|
|
4635
|
+
class: p(["bg-green-100 text-green-800 font-medium me-2 px-2.5 py-0.5 dark:bg-green-900 dark:text-green-300 border-green-400", a.badgeType])
|
|
4636
|
+
}, h(this.row[this.field]), 3)) : g("", !0),
|
|
4637
|
+
a.hasLabelColor == "Yellow" ? (d(), u("span", {
|
|
4638
|
+
key: 4,
|
|
4639
|
+
class: p(["bg-yellow-100 text-yellow-800 font-medium me-2 px-2.5 py-0.5 dark:bg-yellow-900 dark:text-yellow-300 border-yellow-300", a.badgeType])
|
|
4640
|
+
}, h(this.row[this.field]), 3)) : g("", !0),
|
|
4641
|
+
a.hasLabelColor == "Indigo" ? (d(), u("span", {
|
|
4642
|
+
key: 5,
|
|
4643
|
+
class: p(["bg-indigo-100 text-indigo-800 font-medium me-2 px-2.5 py-0.5 dark:bg-indigo-900 dark:text-indigo-300 border-indigo-400", a.badgeType])
|
|
4644
|
+
}, h(this.row[this.field]), 3)) : g("", !0),
|
|
4645
|
+
a.hasLabelColor == "Purple" ? (d(), u("span", {
|
|
4646
|
+
key: 6,
|
|
4647
|
+
class: p(["bg-purple-100 text-purple-800 font-medium me-2 px-2.5 py-0.5 dark:bg-purple-900 dark:text-purple-300 border-purple-400", a.badgeType])
|
|
4648
|
+
}, h(this.row[this.field]), 3)) : g("", !0),
|
|
4649
|
+
a.hasLabelColor == "Pink" ? (d(), u("span", {
|
|
4650
|
+
key: 7,
|
|
4651
|
+
class: p(["bg-pink-100 text-pink-800 font-medium me-2 px-2.5 py-0.5 dark:bg-pink-900 dark:text-pink-300 border-pink-400", a.badgeType])
|
|
4652
|
+
}, h(this.row[this.field]), 3)) : g("", !0)
|
|
4653
|
+
]);
|
|
4654
|
+
}
|
|
4655
|
+
const Kd = /* @__PURE__ */ S(rd, [["render", ad]]), nd = {
|
|
4598
4656
|
props: ["isOpen", "title", "button_text"],
|
|
4599
4657
|
methods: {
|
|
4600
4658
|
confirmAction() {
|
|
@@ -4604,35 +4662,35 @@ const qd = /* @__PURE__ */ S(zl, [["render", td]]), rd = {
|
|
|
4604
4662
|
this.$emit("cancel-action");
|
|
4605
4663
|
}
|
|
4606
4664
|
}
|
|
4607
|
-
},
|
|
4665
|
+
}, od = {
|
|
4608
4666
|
key: 0,
|
|
4609
4667
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4610
4668
|
role: "dialog",
|
|
4611
4669
|
"aria-modal": "true"
|
|
4612
|
-
},
|
|
4670
|
+
}, id = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, ld = /* @__PURE__ */ s("div", {
|
|
4613
4671
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4614
4672
|
"aria-hidden": "true"
|
|
4615
|
-
}, null, -1),
|
|
4673
|
+
}, null, -1), dd = /* @__PURE__ */ s("span", {
|
|
4616
4674
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4617
4675
|
"aria-hidden": "true"
|
|
4618
|
-
}, "", -1),
|
|
4619
|
-
function
|
|
4620
|
-
return r.isOpen ? (d(), u("div",
|
|
4621
|
-
s("div",
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
s("div",
|
|
4625
|
-
s("div",
|
|
4626
|
-
s("div",
|
|
4627
|
-
s("div",
|
|
4628
|
-
s("h3",
|
|
4629
|
-
s("div",
|
|
4630
|
-
|
|
4676
|
+
}, "", -1), ud = { 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" }, cd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, fd = { class: "sm:flex sm:items-start" }, hd = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, gd = { class: "text-lg font-medium leading-6 text-gray-900" }, md = { class: "mt-2" }, pd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4677
|
+
function bd(e, t, r, n, o, a) {
|
|
4678
|
+
return r.isOpen ? (d(), u("div", od, [
|
|
4679
|
+
s("div", id, [
|
|
4680
|
+
ld,
|
|
4681
|
+
dd,
|
|
4682
|
+
s("div", ud, [
|
|
4683
|
+
s("div", cd, [
|
|
4684
|
+
s("div", fd, [
|
|
4685
|
+
s("div", hd, [
|
|
4686
|
+
s("h3", gd, h(r.title), 1),
|
|
4687
|
+
s("div", md, [
|
|
4688
|
+
T(e.$slots, "default")
|
|
4631
4689
|
])
|
|
4632
4690
|
])
|
|
4633
4691
|
])
|
|
4634
4692
|
]),
|
|
4635
|
-
s("div",
|
|
4693
|
+
s("div", pd, [
|
|
4636
4694
|
s("button", {
|
|
4637
4695
|
onClick: t[0] || (t[0] = (...l) => a.confirmAction && a.confirmAction(...l)),
|
|
4638
4696
|
type: "button",
|
|
@@ -4648,39 +4706,40 @@ function gd(e, t, r, n, o, a) {
|
|
|
4648
4706
|
])
|
|
4649
4707
|
])) : g("", !0);
|
|
4650
4708
|
}
|
|
4651
|
-
const
|
|
4709
|
+
const Wd = /* @__PURE__ */ S(nd, [["render", bd]]);
|
|
4652
4710
|
export {
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4711
|
+
$d as GlButton,
|
|
4712
|
+
wd as GlCard,
|
|
4713
|
+
Wd as GlConfirmationModal,
|
|
4714
|
+
Vd as GlDataTable,
|
|
4715
|
+
Nd as GlDataTableServerSide,
|
|
4716
|
+
Bd as GlDatatableAction,
|
|
4717
|
+
Gd as GlDatatableDeleteAction,
|
|
4718
|
+
Fd as GlDatatableFileDownload,
|
|
4719
|
+
Rd as GlDatatableFiles,
|
|
4720
|
+
Ud as GlDatatableHtml,
|
|
4721
|
+
qd as GlDatatableList,
|
|
4722
|
+
zd as GlDatatablePicture,
|
|
4723
|
+
Hd as GlDatatableStatus,
|
|
4724
|
+
Zd as GlDatatableStatusGeneral,
|
|
4725
|
+
Kd as GlDatatableStatusSpecficColor,
|
|
4667
4726
|
ue as GlDeleteConfirmationModal,
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4727
|
+
Id as GlDropdown,
|
|
4728
|
+
yd as GlFilesUpload,
|
|
4729
|
+
xd as GlLanguageSelector,
|
|
4730
|
+
Ad as GlModal,
|
|
4731
|
+
jd as GlMultiItemSlide,
|
|
4732
|
+
kd as GlMultiSelectDropdown,
|
|
4733
|
+
vd as GlNotify,
|
|
4734
|
+
Ed as GlTab,
|
|
4735
|
+
Pd as GlTabsWrapper,
|
|
4677
4736
|
xo as GlTailwindPagination,
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4737
|
+
Od as GlTextInput,
|
|
4738
|
+
Dd as GlTextTranslate,
|
|
4739
|
+
Md as GlTextarea,
|
|
4740
|
+
Cd as GlTextareaTranslate,
|
|
4741
|
+
Sd as GlTinymceTranslate,
|
|
4683
4742
|
$e as GlToast,
|
|
4684
|
-
|
|
4685
|
-
|
|
4743
|
+
Ld as GlToastList,
|
|
4744
|
+
Td as GlToggleBox
|
|
4686
4745
|
};
|