golden-logic-ui 1.0.64 → 1.0.66
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 +666 -601
- 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 pd = /* @__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 pd = /* @__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 bd = /* @__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 yd = /* @__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 yd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 wd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Dd = /* @__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 Pd = /* @__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: {
|
|
@@ -2682,6 +2682,10 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2682
2682
|
max_width: {
|
|
2683
2683
|
type: String,
|
|
2684
2684
|
default: "max-w-2xl"
|
|
2685
|
+
},
|
|
2686
|
+
bodyClass: {
|
|
2687
|
+
type: String,
|
|
2688
|
+
default: "p-4"
|
|
2685
2689
|
}
|
|
2686
2690
|
},
|
|
2687
2691
|
emits: ["closeModal"],
|
|
@@ -2699,25 +2703,27 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2699
2703
|
i ? o() : a();
|
|
2700
2704
|
},
|
|
2701
2705
|
{ immediate: !0, deep: !0 }
|
|
2702
|
-
), (i, c) =>
|
|
2706
|
+
), (i, c) => O((d(), u("div", un, [
|
|
2703
2707
|
s("div", {
|
|
2704
|
-
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])
|
|
2705
2709
|
}, [
|
|
2706
|
-
s("div",
|
|
2707
|
-
s("div",
|
|
2708
|
-
s("h5",
|
|
2710
|
+
s("div", cn, [
|
|
2711
|
+
s("div", fn, [
|
|
2712
|
+
s("h5", hn, h(e.title), 1),
|
|
2709
2713
|
s("button", {
|
|
2710
2714
|
type: "button",
|
|
2711
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",
|
|
2712
2716
|
onClick: l,
|
|
2713
2717
|
"aria-label": "Close"
|
|
2714
|
-
},
|
|
2715
|
-
]),
|
|
2716
|
-
s("div", _a, [
|
|
2717
|
-
I(i.$slots, "body")
|
|
2718
|
+
}, mn)
|
|
2718
2719
|
]),
|
|
2719
|
-
s("div",
|
|
2720
|
-
|
|
2720
|
+
s("div", {
|
|
2721
|
+
class: p(["relative overflow-y-auto", e.bodyClass])
|
|
2722
|
+
}, [
|
|
2723
|
+
T(i.$slots, "body")
|
|
2724
|
+
], 2),
|
|
2725
|
+
s("div", pn, [
|
|
2726
|
+
T(i.$slots, "buttons"),
|
|
2721
2727
|
s("button", {
|
|
2722
2728
|
onClick: l,
|
|
2723
2729
|
type: "button",
|
|
@@ -2730,7 +2736,7 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2730
2736
|
[F, e.is_open]
|
|
2731
2737
|
]);
|
|
2732
2738
|
}
|
|
2733
|
-
},
|
|
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 = {
|
|
2734
2740
|
__name: "GlToggleBox",
|
|
2735
2741
|
props: {
|
|
2736
2742
|
is_required: {
|
|
@@ -2783,12 +2789,12 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2783
2789
|
return (l, i) => (d(), u(v, null, [
|
|
2784
2790
|
e.show ? (d(), u("div", {
|
|
2785
2791
|
key: 0,
|
|
2786
|
-
class:
|
|
2792
|
+
class: p(e.field_name)
|
|
2787
2793
|
}, [
|
|
2788
|
-
s("div",
|
|
2789
|
-
s("li",
|
|
2794
|
+
s("div", bn, [
|
|
2795
|
+
s("li", _n, [
|
|
2790
2796
|
w(h(e.label_name) + " ", 1),
|
|
2791
|
-
s("label",
|
|
2797
|
+
s("label", yn, [
|
|
2792
2798
|
s("input", {
|
|
2793
2799
|
type: "checkbox",
|
|
2794
2800
|
class: "sr-only peer",
|
|
@@ -2800,21 +2806,21 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2800
2806
|
ref_key: "input",
|
|
2801
2807
|
ref: o,
|
|
2802
2808
|
disabled: ""
|
|
2803
|
-
}, null, 8,
|
|
2804
|
-
|
|
2809
|
+
}, null, 8, vn),
|
|
2810
|
+
xn
|
|
2805
2811
|
])
|
|
2806
2812
|
])
|
|
2807
2813
|
]),
|
|
2808
|
-
|
|
2814
|
+
wn
|
|
2809
2815
|
], 2)) : g("", !0),
|
|
2810
2816
|
e.show ? g("", !0) : (d(), u("div", {
|
|
2811
2817
|
key: 1,
|
|
2812
|
-
class:
|
|
2818
|
+
class: p(["mb-4", e.field_name])
|
|
2813
2819
|
}, [
|
|
2814
|
-
s("li",
|
|
2820
|
+
s("li", kn, [
|
|
2815
2821
|
w(h(e.label_name) + " ", 1),
|
|
2816
|
-
s("label",
|
|
2817
|
-
|
|
2822
|
+
s("label", $n, [
|
|
2823
|
+
O(s("input", {
|
|
2818
2824
|
type: "checkbox",
|
|
2819
2825
|
class: "sr-only peer",
|
|
2820
2826
|
name: e.field_name,
|
|
@@ -2824,24 +2830,24 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2824
2830
|
ref_key: "input",
|
|
2825
2831
|
ref: o,
|
|
2826
2832
|
"onUpdate:modelValue": i[0] || (i[0] = (c) => a.value = c)
|
|
2827
|
-
}, null, 8,
|
|
2828
|
-
[
|
|
2833
|
+
}, null, 8, Cn), [
|
|
2834
|
+
[nt, a.value]
|
|
2829
2835
|
]),
|
|
2830
|
-
|
|
2836
|
+
Sn
|
|
2831
2837
|
])
|
|
2832
2838
|
]),
|
|
2833
|
-
s("span",
|
|
2834
|
-
s("small",
|
|
2839
|
+
s("span", Dn, h(e.error_message), 1),
|
|
2840
|
+
s("small", On, h(e.description), 1)
|
|
2835
2841
|
], 2))
|
|
2836
2842
|
], 64));
|
|
2837
2843
|
}
|
|
2838
|
-
},
|
|
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 = {
|
|
2839
2845
|
key: 0,
|
|
2840
2846
|
class: "dropdown"
|
|
2841
|
-
},
|
|
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", {
|
|
2842
2848
|
for: "default-search",
|
|
2843
2849
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2844
|
-
}, "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" }, [
|
|
2845
2851
|
/* @__PURE__ */ s("svg", {
|
|
2846
2852
|
class: "w-4 h-4 text-gray-500 dark:text-gray-400",
|
|
2847
2853
|
"aria-hidden": "true",
|
|
@@ -2857,22 +2863,22 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2857
2863
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
2858
2864
|
})
|
|
2859
2865
|
])
|
|
2860
|
-
], -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 = {
|
|
2861
2867
|
key: 0,
|
|
2862
2868
|
class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
|
|
2863
2869
|
"aria-hidden": "true",
|
|
2864
2870
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2865
2871
|
fill: "none",
|
|
2866
2872
|
viewBox: "0 0 16 12"
|
|
2867
|
-
},
|
|
2873
|
+
}, Kn = /* @__PURE__ */ s("path", {
|
|
2868
2874
|
stroke: "currentColor",
|
|
2869
2875
|
"stroke-linecap": "round",
|
|
2870
2876
|
"stroke-linejoin": "round",
|
|
2871
2877
|
"stroke-width": "2",
|
|
2872
2878
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2873
|
-
}, null, -1),
|
|
2874
|
-
|
|
2875
|
-
],
|
|
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 = {
|
|
2876
2882
|
__name: "GlDropdown",
|
|
2877
2883
|
props: {
|
|
2878
2884
|
modelValue: {
|
|
@@ -2934,192 +2940,192 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
2934
2940
|
setup(e, { emit: t }) {
|
|
2935
2941
|
const r = e, n = t, o = C(null), a = C({}), l = C(0), i = C(!1), c = C(""), f = C("");
|
|
2936
2942
|
R(() => {
|
|
2937
|
-
f.value = L(), r.show || (document.body.addEventListener("click", (
|
|
2938
|
-
ze(
|
|
2939
|
-
}), document.addEventListener("keypress", (
|
|
2940
|
-
|
|
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();
|
|
2941
2947
|
}));
|
|
2942
2948
|
});
|
|
2943
2949
|
const m = G(() => Ke()), y = G(() => We()), x = G(() => {
|
|
2944
|
-
const
|
|
2950
|
+
const b = [], D = new RegExp(c.value, "ig");
|
|
2945
2951
|
for (const E of m.value) {
|
|
2946
2952
|
const B = String(E.name);
|
|
2947
|
-
(c.value.length < 1 || B.match(
|
|
2953
|
+
(c.value.length < 1 || B.match(D)) && b.length < r.maxItem && b.push(E);
|
|
2948
2954
|
}
|
|
2949
|
-
return
|
|
2955
|
+
return b;
|
|
2950
2956
|
});
|
|
2951
|
-
function $(
|
|
2957
|
+
function $(b) {
|
|
2952
2958
|
if ([
|
|
2953
2959
|
"ArrowLeft",
|
|
2954
2960
|
"ArrowUp",
|
|
2955
2961
|
"ArrowRight",
|
|
2956
2962
|
"ArrowDown",
|
|
2957
2963
|
"Enter"
|
|
2958
|
-
].includes(
|
|
2959
|
-
if (["ArrowUp", "ArrowDown"].includes(
|
|
2964
|
+
].includes(b.key)) {
|
|
2965
|
+
if (["ArrowUp", "ArrowDown"].includes(b.key) && b.preventDefault(), b.key === "ArrowDown" && r.posts === "")
|
|
2960
2966
|
return;
|
|
2961
|
-
Ze(
|
|
2967
|
+
Ze(b.key);
|
|
2962
2968
|
}
|
|
2963
2969
|
}
|
|
2964
2970
|
function L() {
|
|
2965
|
-
let
|
|
2971
|
+
let b = (/* @__PURE__ */ new Date()).getTime();
|
|
2966
2972
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
2967
2973
|
/[xy]/g,
|
|
2968
2974
|
function(E) {
|
|
2969
|
-
const B = (
|
|
2970
|
-
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);
|
|
2971
2977
|
}
|
|
2972
2978
|
);
|
|
2973
2979
|
}
|
|
2974
|
-
function te(
|
|
2975
|
-
return
|
|
2980
|
+
function te(b) {
|
|
2981
|
+
return b !== null && typeof b == "object" && Object.keys(b).length > 0;
|
|
2976
2982
|
}
|
|
2977
|
-
function ze(
|
|
2978
|
-
|
|
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);
|
|
2979
2985
|
}
|
|
2980
|
-
function me(
|
|
2981
|
-
const
|
|
2986
|
+
function me(b) {
|
|
2987
|
+
const D = `${b}${f.value}`, E = document.getElementById(D);
|
|
2982
2988
|
E && E.scrollIntoView();
|
|
2983
2989
|
}
|
|
2984
|
-
function He(
|
|
2985
|
-
const
|
|
2990
|
+
function He(b) {
|
|
2991
|
+
const D = `${b}${f.value}`, E = document.getElementById(D);
|
|
2986
2992
|
E && E.click();
|
|
2987
2993
|
}
|
|
2988
|
-
function Ze(
|
|
2989
|
-
|
|
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);
|
|
2990
2996
|
}
|
|
2991
2997
|
function Ke() {
|
|
2992
|
-
return r.options.map((
|
|
2998
|
+
return r.options.map((b, D) => typeof b == "object" ? b : { id: b, name: b });
|
|
2993
2999
|
}
|
|
2994
3000
|
function We() {
|
|
2995
3001
|
if (te(a.value))
|
|
2996
3002
|
return console.log("selected.value: ", a.value), typeof a.value == "object" ? m.value.find(
|
|
2997
|
-
(
|
|
3003
|
+
(b) => String(b.id) === String(a.value.id)
|
|
2998
3004
|
) || {} : m.value.find(
|
|
2999
|
-
(
|
|
3005
|
+
(b) => String(b.id) === String(a.value)
|
|
3000
3006
|
) || {};
|
|
3001
3007
|
if (r.modelValue)
|
|
3002
3008
|
return console.log("props.modelValue :", r.modelValue), typeof r.modelValue == "object" ? m.value.find(
|
|
3003
|
-
(
|
|
3009
|
+
(b) => String(b.id) === String(r.modelValue.id)
|
|
3004
3010
|
) || {} : m.value.find(
|
|
3005
|
-
(
|
|
3011
|
+
(b) => String(b.id) === String(r.modelValue)
|
|
3006
3012
|
) || {};
|
|
3007
3013
|
}
|
|
3008
|
-
function
|
|
3009
|
-
a.value =
|
|
3014
|
+
function pe(b) {
|
|
3015
|
+
a.value = b, i.value = !1, n("selected", a.value), n("selectionChanged", a.value);
|
|
3010
3016
|
}
|
|
3011
3017
|
function re() {
|
|
3012
3018
|
r.show || (c.value = "", i.value = !0, ot(() => {
|
|
3013
|
-
var
|
|
3019
|
+
var b = document.getElementById(
|
|
3014
3020
|
`${r.field_name}search${f.value}`
|
|
3015
3021
|
);
|
|
3016
|
-
|
|
3022
|
+
b && b.focus();
|
|
3017
3023
|
}));
|
|
3018
3024
|
}
|
|
3019
3025
|
function Xe() {
|
|
3020
3026
|
r.show || (a.value = {}, c.value = "", n("update:modelValue", ""), re());
|
|
3021
3027
|
}
|
|
3022
|
-
function
|
|
3028
|
+
function be() {
|
|
3023
3029
|
a.value.id || (a.value = {}, c.value = ""), n("selected", a.value), i.value = !1;
|
|
3024
3030
|
}
|
|
3025
3031
|
return X(c, () => {
|
|
3026
3032
|
x.value.length === 0 && (a.value = {});
|
|
3027
|
-
}), X(a, (
|
|
3028
|
-
te(
|
|
3029
|
-
}), (
|
|
3030
|
-
var E, B,
|
|
3033
|
+
}), X(a, (b) => {
|
|
3034
|
+
te(b) && n("update:modelValue", b.id);
|
|
3035
|
+
}), (b, D) => {
|
|
3036
|
+
var E, B, _e;
|
|
3031
3037
|
return d(), u(v, null, [
|
|
3032
3038
|
e.show ? (d(), u("div", {
|
|
3033
3039
|
key: 0,
|
|
3034
|
-
class:
|
|
3040
|
+
class: p(e.field_name)
|
|
3035
3041
|
}, [
|
|
3036
|
-
s("h3",
|
|
3037
|
-
s("p",
|
|
3038
|
-
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)
|
|
3039
3045
|
]),
|
|
3040
|
-
|
|
3046
|
+
An
|
|
3041
3047
|
], 2)) : g("", !0),
|
|
3042
3048
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3043
3049
|
key: 1,
|
|
3044
|
-
class:
|
|
3050
|
+
class: p(["mb-4", e.field_name])
|
|
3045
3051
|
}, [
|
|
3046
3052
|
s("input", {
|
|
3047
3053
|
type: "hidden",
|
|
3048
3054
|
name: e.field_name,
|
|
3049
3055
|
id: e.field_name,
|
|
3050
3056
|
value: (B = y.value) == null ? void 0 : B.id
|
|
3051
|
-
}, null, 8,
|
|
3052
|
-
e.options ? (d(), u("div",
|
|
3057
|
+
}, null, 8, Tn),
|
|
3058
|
+
e.options ? (d(), u("div", In, [
|
|
3053
3059
|
e.label_name ? (d(), u("label", {
|
|
3054
3060
|
key: 0,
|
|
3055
|
-
class:
|
|
3061
|
+
class: p({
|
|
3056
3062
|
"gl-label-form": e.error_message == "",
|
|
3057
3063
|
"gl-label-form-invalid": e.error_message !== "",
|
|
3058
3064
|
required: e.is_required
|
|
3059
3065
|
})
|
|
3060
3066
|
}, h(e.label_name), 3)) : g("", !0),
|
|
3061
|
-
s("div",
|
|
3062
|
-
s("div",
|
|
3067
|
+
s("div", Mn, [
|
|
3068
|
+
s("div", Nn, [
|
|
3063
3069
|
s("input", {
|
|
3064
|
-
class:
|
|
3070
|
+
class: p([{
|
|
3065
3071
|
"gl-input-form": e.error_message == "",
|
|
3066
3072
|
"gl-input-form-invalid": e.error_message !== ""
|
|
3067
3073
|
}, "pl-8 pr-2 showOptions"]),
|
|
3068
3074
|
ref: e.field_name,
|
|
3069
|
-
onClick:
|
|
3070
|
-
value: (
|
|
3075
|
+
onClick: D[0] || (D[0] = (A) => re()),
|
|
3076
|
+
value: (_e = y.value) == null ? void 0 : _e.name,
|
|
3071
3077
|
placeholder: e.placeholder,
|
|
3072
3078
|
autocomplete: "off",
|
|
3073
3079
|
readonly: ""
|
|
3074
|
-
}, null, 10,
|
|
3075
|
-
|
|
3076
|
-
onClick:
|
|
3080
|
+
}, null, 10, Vn),
|
|
3081
|
+
O(s("i", {
|
|
3082
|
+
onClick: D[1] || (D[1] = N((A) => Xe(), ["stop"])),
|
|
3077
3083
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3078
3084
|
style: { top: "13px" }
|
|
3079
3085
|
}, null, 512), [
|
|
3080
3086
|
[F, te(y.value) && e.has_cancel]
|
|
3081
3087
|
]),
|
|
3082
3088
|
s("i", {
|
|
3083
|
-
onClick:
|
|
3084
|
-
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"]),
|
|
3085
3091
|
style: { top: "11px" }
|
|
3086
3092
|
}, null, 2)
|
|
3087
3093
|
]),
|
|
3088
|
-
|
|
3089
|
-
s("div",
|
|
3090
|
-
|
|
3091
|
-
s("div",
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
+
O(s("div", Ln, [
|
|
3095
|
+
s("div", Bn, [
|
|
3096
|
+
Gn,
|
|
3097
|
+
s("div", Fn, [
|
|
3098
|
+
Rn,
|
|
3099
|
+
O(s("input", {
|
|
3094
3100
|
type: "search",
|
|
3095
|
-
"onUpdate:modelValue":
|
|
3101
|
+
"onUpdate:modelValue": D[3] || (D[3] = (A) => c.value = A),
|
|
3096
3102
|
ref: o.value,
|
|
3097
3103
|
id: `${e.field_name}search${f.value}`,
|
|
3098
3104
|
onKeydown: $,
|
|
3099
|
-
onBlur:
|
|
3105
|
+
onBlur: D[4] || (D[4] = (A) => be()),
|
|
3100
3106
|
autocomplete: "off",
|
|
3101
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",
|
|
3102
3108
|
placeholder: "Search ..."
|
|
3103
|
-
}, null, 40,
|
|
3109
|
+
}, null, 40, Un), [
|
|
3104
3110
|
[V, c.value]
|
|
3105
3111
|
])
|
|
3106
3112
|
])
|
|
3107
3113
|
]),
|
|
3108
|
-
s("div",
|
|
3114
|
+
s("div", qn, [
|
|
3109
3115
|
(d(!0), u(v, null, k(x.value, (A, se) => {
|
|
3110
3116
|
var ye;
|
|
3111
3117
|
return d(), u("div", {
|
|
3112
|
-
class:
|
|
3113
|
-
onClick: (Ye) =>
|
|
3114
|
-
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),
|
|
3115
3121
|
key: se,
|
|
3116
3122
|
id: `${se + 1}${f.value}`
|
|
3117
3123
|
}, [
|
|
3118
|
-
s("div",
|
|
3119
|
-
((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),
|
|
3120
3126
|
s("span", null, h(A.name || A.id || "-"), 1)
|
|
3121
3127
|
])
|
|
3122
|
-
], 42,
|
|
3128
|
+
], 42, zn);
|
|
3123
3129
|
}), 128))
|
|
3124
3130
|
])
|
|
3125
3131
|
], 512), [
|
|
@@ -3127,13 +3133,13 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3127
3133
|
])
|
|
3128
3134
|
])
|
|
3129
3135
|
])) : g("", !0),
|
|
3130
|
-
s("span",
|
|
3131
|
-
s("small",
|
|
3136
|
+
s("span", Xn, h(e.error_message), 1),
|
|
3137
|
+
s("small", Yn, h(e.description), 1)
|
|
3132
3138
|
], 2))
|
|
3133
3139
|
], 64);
|
|
3134
3140
|
};
|
|
3135
3141
|
}
|
|
3136
|
-
},
|
|
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 = {
|
|
3137
3143
|
__name: "GlTextarea",
|
|
3138
3144
|
props: {
|
|
3139
3145
|
is_required: {
|
|
@@ -3185,32 +3191,32 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3185
3191
|
}), t({ focus: () => a.value.focus() }), (l, i) => (d(), u(v, null, [
|
|
3186
3192
|
e.show ? (d(), u("div", {
|
|
3187
3193
|
key: 0,
|
|
3188
|
-
class:
|
|
3194
|
+
class: p(e.field_name)
|
|
3189
3195
|
}, [
|
|
3190
|
-
s("h3",
|
|
3196
|
+
s("h3", Jn, h(e.label_name), 1),
|
|
3191
3197
|
s("p", {
|
|
3192
3198
|
id: e.field_name,
|
|
3193
3199
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3194
|
-
}, h(e.model_value), 9,
|
|
3195
|
-
|
|
3200
|
+
}, h(e.model_value), 9, Qn),
|
|
3201
|
+
eo
|
|
3196
3202
|
], 2)) : g("", !0),
|
|
3197
3203
|
e.show ? g("", !0) : (d(), u("div", {
|
|
3198
3204
|
key: 1,
|
|
3199
|
-
class:
|
|
3205
|
+
class: p(["mb-4", e.field_name])
|
|
3200
3206
|
}, [
|
|
3201
3207
|
s("label", {
|
|
3202
|
-
class:
|
|
3208
|
+
class: p({
|
|
3203
3209
|
"gl-label-form": e.error_message == "",
|
|
3204
3210
|
"gl-label-form-invalid": e.error_message !== "",
|
|
3205
3211
|
required: e.is_required
|
|
3206
3212
|
}),
|
|
3207
3213
|
for: e.field_name
|
|
3208
|
-
}, h(e.label_name), 11,
|
|
3214
|
+
}, h(e.label_name), 11, to),
|
|
3209
3215
|
s("textarea", {
|
|
3210
3216
|
required: e.is_required,
|
|
3211
3217
|
name: e.field_name,
|
|
3212
3218
|
id: e.field_name,
|
|
3213
|
-
class:
|
|
3219
|
+
class: p({
|
|
3214
3220
|
" gl-textarea-form mt-4 ": e.error_message == "",
|
|
3215
3221
|
" gl-textarea-form-invalid mt-4 ": e.error_message !== ""
|
|
3216
3222
|
}),
|
|
@@ -3220,13 +3226,13 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3220
3226
|
ref: a,
|
|
3221
3227
|
rows: "4",
|
|
3222
3228
|
placeholder: e.place_holder
|
|
3223
|
-
}, null, 42,
|
|
3224
|
-
s("span",
|
|
3229
|
+
}, null, 42, ro),
|
|
3230
|
+
s("span", so, h(e.error_message), 1),
|
|
3225
3231
|
s("small", ao, h(e.description), 1)
|
|
3226
3232
|
], 2))
|
|
3227
3233
|
], 64));
|
|
3228
3234
|
}
|
|
3229
|
-
},
|
|
3235
|
+
}, no = {
|
|
3230
3236
|
emits: ["pagination-change-page"],
|
|
3231
3237
|
props: {
|
|
3232
3238
|
data: {
|
|
@@ -3331,14 +3337,14 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3331
3337
|
})
|
|
3332
3338
|
});
|
|
3333
3339
|
}
|
|
3334
|
-
},
|
|
3340
|
+
}, oo = {
|
|
3335
3341
|
compatConfig: {
|
|
3336
3342
|
MODE: 3
|
|
3337
3343
|
},
|
|
3338
3344
|
inheritAttrs: !1,
|
|
3339
3345
|
emits: ["pagination-change-page"],
|
|
3340
3346
|
components: {
|
|
3341
|
-
RenderlessPagination:
|
|
3347
|
+
RenderlessPagination: no
|
|
3342
3348
|
},
|
|
3343
3349
|
props: {
|
|
3344
3350
|
data: {
|
|
@@ -3372,10 +3378,10 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3372
3378
|
},
|
|
3373
3379
|
mounted() {
|
|
3374
3380
|
}
|
|
3375
|
-
},
|
|
3381
|
+
}, io = { class: "flex flex-col items-center" }, lo = {
|
|
3376
3382
|
key: 0,
|
|
3377
3383
|
class: "text-sm text-gray-700 dark:text-gray-400"
|
|
3378
|
-
},
|
|
3384
|
+
}, uo = { class: "font-semibold text-gray-900 dark:text-white" }, co = { class: "font-semibold text-gray-900 dark:text-white" }, fo = { class: "font-semibold text-gray-900 dark:text-white" }, ho = ["tabindex"], go = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), mo = /* @__PURE__ */ s("svg", {
|
|
3379
3385
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3380
3386
|
"aria-hidden": "true",
|
|
3381
3387
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3389,7 +3395,7 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3389
3395
|
"stroke-width": "2",
|
|
3390
3396
|
d: "M5 1 1 5l4 4"
|
|
3391
3397
|
})
|
|
3392
|
-
], -1), po = ["aria-current"], bo = ["tabindex"],
|
|
3398
|
+
], -1), po = ["aria-current"], bo = ["tabindex"], _o = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), yo = /* @__PURE__ */ s("svg", {
|
|
3393
3399
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3394
3400
|
"aria-hidden": "true",
|
|
3395
3401
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3404,7 +3410,7 @@ const Pd = /* @__PURE__ */ S(nn, [["render", da], ["__scopeId", "data-v-a94f16a9
|
|
|
3404
3410
|
d: "m1 9 4-4-4-4"
|
|
3405
3411
|
})
|
|
3406
3412
|
], -1);
|
|
3407
|
-
function
|
|
3413
|
+
function vo(e, t, r, n, o, a) {
|
|
3408
3414
|
const l = Y("RenderlessPagination");
|
|
3409
3415
|
return d(), K(l, {
|
|
3410
3416
|
data: r.data,
|
|
@@ -3412,14 +3418,14 @@ function xo(e, t, r, n, o, a) {
|
|
|
3412
3418
|
onPaginationChangePage: a.onPaginationChangePage
|
|
3413
3419
|
}, {
|
|
3414
3420
|
default: J((i) => [
|
|
3415
|
-
s("div",
|
|
3416
|
-
i.computed.total > i.computed.perPage ? (d(), u("span",
|
|
3421
|
+
s("div", io, [
|
|
3422
|
+
i.computed.total > i.computed.perPage ? (d(), u("span", lo, [
|
|
3417
3423
|
w(" Showing "),
|
|
3418
|
-
s("span",
|
|
3424
|
+
s("span", uo, h(i.computed.from), 1),
|
|
3419
3425
|
w(" to "),
|
|
3420
|
-
s("span",
|
|
3426
|
+
s("span", co, h(i.computed.to), 1),
|
|
3421
3427
|
w(" of "),
|
|
3422
|
-
s("span",
|
|
3428
|
+
s("span", fo, h(i.computed.total), 1),
|
|
3423
3429
|
w(" Entries ")
|
|
3424
3430
|
])) : g("", !0),
|
|
3425
3431
|
i.computed.total > i.computed.perPage ? (d(), u("ul", W({ key: 1 }, e.$attrs, {
|
|
@@ -3432,45 +3438,45 @@ function xo(e, t, r, n, o, a) {
|
|
|
3432
3438
|
}), [
|
|
3433
3439
|
i.computed.prevPageUrl || r.showDisabled ? (d(), u("li", {
|
|
3434
3440
|
key: 0,
|
|
3435
|
-
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 }])
|
|
3436
3442
|
}, [
|
|
3437
3443
|
s("a", W({
|
|
3438
3444
|
class: "page-link",
|
|
3439
3445
|
href: "#",
|
|
3440
3446
|
"aria-label": "Previous",
|
|
3441
3447
|
tabindex: !i.computed.prevPageUrl && -1
|
|
3442
|
-
},
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3448
|
+
}, ae(i.prevButtonEvents, !0)), [
|
|
3449
|
+
T(e.$slots, "prev-nav", {}, () => [
|
|
3450
|
+
go,
|
|
3451
|
+
mo
|
|
3446
3452
|
])
|
|
3447
|
-
], 16,
|
|
3453
|
+
], 16, ho)
|
|
3448
3454
|
], 2)) : g("", !0),
|
|
3449
3455
|
(d(!0), u(v, null, k(i.computed.pageRange, (c, f) => (d(), u("li", {
|
|
3450
|
-
class:
|
|
3456
|
+
class: p(["", { active: c == i.computed.currentPage }]),
|
|
3451
3457
|
key: f
|
|
3452
3458
|
}, [
|
|
3453
3459
|
s("a", W({
|
|
3454
3460
|
class: "",
|
|
3455
3461
|
href: "#"
|
|
3456
|
-
},
|
|
3462
|
+
}, ae(i.pageButtonEvents(c), !0), {
|
|
3457
3463
|
"aria-current": c == i.computed.currentPage ? "page" : null,
|
|
3458
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"
|
|
3459
3465
|
}), h(c), 17, po)
|
|
3460
3466
|
], 2))), 128)),
|
|
3461
3467
|
i.computed.nextPageUrl || r.showDisabled ? (d(), u("li", {
|
|
3462
3468
|
key: 1,
|
|
3463
|
-
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 }])
|
|
3464
3470
|
}, [
|
|
3465
3471
|
s("a", W({
|
|
3466
3472
|
class: "",
|
|
3467
3473
|
href: "#",
|
|
3468
3474
|
"aria-label": "Next",
|
|
3469
3475
|
tabindex: !i.computed.nextPageUrl && -1
|
|
3470
|
-
},
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3476
|
+
}, ae(i.nextButtonEvents, !0)), [
|
|
3477
|
+
T(e.$slots, "next-nav", {}, () => [
|
|
3478
|
+
_o,
|
|
3479
|
+
yo
|
|
3474
3480
|
])
|
|
3475
3481
|
], 16, bo)
|
|
3476
3482
|
], 2)) : g("", !0)
|
|
@@ -3480,8 +3486,8 @@ function xo(e, t, r, n, o, a) {
|
|
|
3480
3486
|
_: 3
|
|
3481
3487
|
}, 8, ["data", "limit", "onPaginationChangePage"]);
|
|
3482
3488
|
}
|
|
3483
|
-
const
|
|
3484
|
-
components: { TailwindPagination:
|
|
3489
|
+
const xo = /* @__PURE__ */ S(oo, [["render", vo]]), wo = {
|
|
3490
|
+
components: { TailwindPagination: xo },
|
|
3485
3491
|
props: {
|
|
3486
3492
|
data: Array,
|
|
3487
3493
|
columns: Array,
|
|
@@ -3557,10 +3563,10 @@ const wo = /* @__PURE__ */ S(io, [["render", xo]]), ko = {
|
|
|
3557
3563
|
this.isMounted && e !== t && this.GetItemLists();
|
|
3558
3564
|
}
|
|
3559
3565
|
}
|
|
3560
|
-
},
|
|
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", {
|
|
3561
3567
|
for: "table-search",
|
|
3562
3568
|
class: "sr-only"
|
|
3563
|
-
}, "Search", -1),
|
|
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" }, [
|
|
3564
3570
|
/* @__PURE__ */ s("svg", {
|
|
3565
3571
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3566
3572
|
"aria-hidden": "true",
|
|
@@ -3574,22 +3580,22 @@ const wo = /* @__PURE__ */ S(io, [["render", xo]]), ko = {
|
|
|
3574
3580
|
"clip-rule": "evenodd"
|
|
3575
3581
|
})
|
|
3576
3582
|
])
|
|
3577
|
-
], -1),
|
|
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 = {
|
|
3578
3584
|
key: 0,
|
|
3579
3585
|
class: "ml-2"
|
|
3580
|
-
},
|
|
3586
|
+
}, Vo = {
|
|
3581
3587
|
key: 0,
|
|
3582
3588
|
class: "fa fa-arrow-up"
|
|
3583
|
-
},
|
|
3589
|
+
}, Lo = {
|
|
3584
3590
|
key: 1,
|
|
3585
3591
|
class: "fa fa-arrow-down"
|
|
3586
|
-
},
|
|
3587
|
-
function
|
|
3592
|
+
}, Bo = ["data-label"], Go = { class: "overflow-auto max-h-40" }, Fo = { 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" };
|
|
3593
|
+
function Ro(e, t, r, n, o, a) {
|
|
3588
3594
|
const l = Y("dropdown"), i = Y("TailwindPagination");
|
|
3589
|
-
return d(), u("div",
|
|
3590
|
-
s("div",
|
|
3591
|
-
s("div",
|
|
3592
|
-
|
|
3595
|
+
return d(), u("div", ko, [
|
|
3596
|
+
s("div", $o, [
|
|
3597
|
+
s("div", Co, [
|
|
3598
|
+
So,
|
|
3593
3599
|
s("div", Do, [
|
|
3594
3600
|
Z(l, {
|
|
3595
3601
|
has_cancel: !1,
|
|
@@ -3604,12 +3610,12 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3604
3610
|
placeholder: "Please select an option"
|
|
3605
3611
|
}, null, 8, ["options", "modelValue"])
|
|
3606
3612
|
]),
|
|
3607
|
-
|
|
3613
|
+
Oo
|
|
3608
3614
|
]),
|
|
3609
|
-
|
|
3610
|
-
s("div",
|
|
3611
|
-
|
|
3612
|
-
|
|
3615
|
+
Po,
|
|
3616
|
+
s("div", Eo, [
|
|
3617
|
+
jo,
|
|
3618
|
+
O(s("input", {
|
|
3613
3619
|
type: "text",
|
|
3614
3620
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => o.search = c),
|
|
3615
3621
|
onInput: t[2] || (t[2] = (c) => a.handleSearch()),
|
|
@@ -3620,9 +3626,9 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3620
3626
|
])
|
|
3621
3627
|
])
|
|
3622
3628
|
]),
|
|
3623
|
-
s("div",
|
|
3629
|
+
s("div", Ao, [
|
|
3624
3630
|
s("table", To, [
|
|
3625
|
-
s("thead",
|
|
3631
|
+
s("thead", Io, [
|
|
3626
3632
|
s("tr", null, [
|
|
3627
3633
|
(d(!0), u(v, null, k(r.columns, (c, f) => (d(), u("th", {
|
|
3628
3634
|
key: f,
|
|
@@ -3630,10 +3636,10 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3630
3636
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3631
3637
|
}, [
|
|
3632
3638
|
w(h(c.field_label) + " ", 1),
|
|
3633
|
-
o.sortField === c.field_name ? (d(), u("span",
|
|
3634
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
3639
|
+
o.sortField === c.field_name ? (d(), u("span", No, [
|
|
3640
|
+
o.sortOrder === "asc" ? (d(), u("i", Vo)) : (d(), u("i", Lo))
|
|
3635
3641
|
])) : g("", !0)
|
|
3636
|
-
], 8,
|
|
3642
|
+
], 8, Mo))), 128))
|
|
3637
3643
|
])
|
|
3638
3644
|
]),
|
|
3639
3645
|
s("tbody", null, [
|
|
@@ -3646,7 +3652,7 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3646
3652
|
"data-label": m.field_label,
|
|
3647
3653
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
|
|
3648
3654
|
}, [
|
|
3649
|
-
s("div",
|
|
3655
|
+
s("div", Go, [
|
|
3650
3656
|
m.tdComp ? (d(), K(oe(a.forDynCompIs(m.tdComp)), {
|
|
3651
3657
|
key: 0,
|
|
3652
3658
|
row: c,
|
|
@@ -3658,12 +3664,12 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3658
3664
|
w(h(c[m.field_name]), 1)
|
|
3659
3665
|
], 64))
|
|
3660
3666
|
])
|
|
3661
|
-
], 8,
|
|
3667
|
+
], 8, Bo))), 128))
|
|
3662
3668
|
]))), 128))
|
|
3663
3669
|
])
|
|
3664
3670
|
])
|
|
3665
3671
|
]),
|
|
3666
|
-
s("div",
|
|
3672
|
+
s("div", Fo, [
|
|
3667
3673
|
Z(i, {
|
|
3668
3674
|
class: "mt-3 mb-0",
|
|
3669
3675
|
data: o.itemLists,
|
|
@@ -3675,7 +3681,7 @@ function Uo(e, t, r, n, o, a) {
|
|
|
3675
3681
|
])
|
|
3676
3682
|
]);
|
|
3677
3683
|
}
|
|
3678
|
-
const
|
|
3684
|
+
const Nd = /* @__PURE__ */ S(wo, [["render", Ro]]), Uo = {
|
|
3679
3685
|
components: {},
|
|
3680
3686
|
props: {
|
|
3681
3687
|
data: Array,
|
|
@@ -3772,10 +3778,10 @@ const Td = /* @__PURE__ */ S(ko, [["render", Uo]]), qo = {
|
|
|
3772
3778
|
mounted() {
|
|
3773
3779
|
document.body.addEventListener("click", this.closeBoxOnbodyClick);
|
|
3774
3780
|
}
|
|
3775
|
-
},
|
|
3781
|
+
}, qo = { class: "p-2" }, zo = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Ho = { class: "flex items-center gap-2" }, Zo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Ko = { style: { "margin-top": "9px" } }, Wo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), Xo = /* @__PURE__ */ s("label", {
|
|
3776
3782
|
for: "table-search",
|
|
3777
3783
|
class: "sr-only"
|
|
3778
|
-
}, "Search", -1),
|
|
3784
|
+
}, "Search", -1), Yo = { 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" }, [
|
|
3779
3785
|
/* @__PURE__ */ s("svg", {
|
|
3780
3786
|
class: "w-5 h-5 text-gray-500 dark:text-gray-400",
|
|
3781
3787
|
"aria-hidden": "true",
|
|
@@ -3789,10 +3795,10 @@ const Td = /* @__PURE__ */ S(ko, [["render", Uo]]), qo = {
|
|
|
3789
3795
|
"clip-rule": "evenodd"
|
|
3790
3796
|
})
|
|
3791
3797
|
])
|
|
3792
|
-
], -1),
|
|
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 = {
|
|
3793
3799
|
key: 0,
|
|
3794
3800
|
class: "ml-2"
|
|
3795
|
-
}, ai = ["data-label"],
|
|
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", {
|
|
3796
3802
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3797
3803
|
"aria-hidden": "true",
|
|
3798
3804
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3806,10 +3812,10 @@ const Td = /* @__PURE__ */ S(ko, [["render", Uo]]), qo = {
|
|
|
3806
3812
|
"stroke-width": "2",
|
|
3807
3813
|
d: "M5 1 1 5l4 4"
|
|
3808
3814
|
})
|
|
3809
|
-
], -1),
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
],
|
|
3815
|
+
], -1), vi = [
|
|
3816
|
+
_i,
|
|
3817
|
+
yi
|
|
3818
|
+
], xi = ["onClick"], wi = ["onClick"], ki = ["disabled"], $i = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), Ci = /* @__PURE__ */ s("svg", {
|
|
3813
3819
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3814
3820
|
"aria-hidden": "true",
|
|
3815
3821
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3823,17 +3829,17 @@ const Td = /* @__PURE__ */ S(ko, [["render", Uo]]), qo = {
|
|
|
3823
3829
|
"stroke-width": "2",
|
|
3824
3830
|
d: "m1 9 4-4-4-4"
|
|
3825
3831
|
})
|
|
3826
|
-
], -1),
|
|
3827
|
-
|
|
3828
|
-
|
|
3832
|
+
], -1), Si = [
|
|
3833
|
+
$i,
|
|
3834
|
+
Ci
|
|
3829
3835
|
];
|
|
3830
3836
|
function Di(e, t, r, n, o, a) {
|
|
3831
3837
|
const l = Y("dropdown");
|
|
3832
|
-
return d(), u("div",
|
|
3833
|
-
s("div",
|
|
3834
|
-
s("div",
|
|
3835
|
-
|
|
3836
|
-
s("div",
|
|
3838
|
+
return d(), u("div", qo, [
|
|
3839
|
+
s("div", zo, [
|
|
3840
|
+
s("div", Ho, [
|
|
3841
|
+
Zo,
|
|
3842
|
+
s("div", Ko, [
|
|
3837
3843
|
Z(l, {
|
|
3838
3844
|
has_cancel: !1,
|
|
3839
3845
|
options: o.showNoOfEntries,
|
|
@@ -3847,12 +3853,12 @@ function Di(e, t, r, n, o, a) {
|
|
|
3847
3853
|
placeholder: "Please select an option"
|
|
3848
3854
|
}, null, 8, ["options", "modelValue"])
|
|
3849
3855
|
]),
|
|
3850
|
-
|
|
3856
|
+
Wo
|
|
3851
3857
|
]),
|
|
3852
|
-
|
|
3853
|
-
s("div",
|
|
3854
|
-
|
|
3855
|
-
|
|
3858
|
+
Xo,
|
|
3859
|
+
s("div", Yo, [
|
|
3860
|
+
Jo,
|
|
3861
|
+
O(s("input", {
|
|
3856
3862
|
type: "text",
|
|
3857
3863
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => o.search = i),
|
|
3858
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",
|
|
@@ -3862,9 +3868,9 @@ function Di(e, t, r, n, o, a) {
|
|
|
3862
3868
|
])
|
|
3863
3869
|
])
|
|
3864
3870
|
]),
|
|
3865
|
-
s("div",
|
|
3866
|
-
s("table",
|
|
3867
|
-
s("thead",
|
|
3871
|
+
s("div", Qo, [
|
|
3872
|
+
s("table", ei, [
|
|
3873
|
+
s("thead", ti, [
|
|
3868
3874
|
s("tr", null, [
|
|
3869
3875
|
(d(!0), u(v, null, k(r.columns, (i, c) => (d(), u("th", {
|
|
3870
3876
|
key: c,
|
|
@@ -3872,8 +3878,8 @@ function Di(e, t, r, n, o, a) {
|
|
|
3872
3878
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3873
3879
|
}, [
|
|
3874
3880
|
w(h(i) + " ", 1),
|
|
3875
|
-
o.sortKey === i ? (d(), u("span",
|
|
3876
|
-
], 8,
|
|
3881
|
+
o.sortKey === i ? (d(), u("span", si, h(o.sortOrder === 1 ? "▲" : "▼"), 1)) : g("", !0)
|
|
3882
|
+
], 8, ri))), 128))
|
|
3877
3883
|
])
|
|
3878
3884
|
]),
|
|
3879
3885
|
s("tbody", null, [
|
|
@@ -3889,41 +3895,41 @@ function Di(e, t, r, n, o, a) {
|
|
|
3889
3895
|
s("p", {
|
|
3890
3896
|
class: "text-pretty",
|
|
3891
3897
|
innerHTML: i[m]
|
|
3892
|
-
}, null, 8,
|
|
3898
|
+
}, null, 8, ni)
|
|
3893
3899
|
], 8, ai))), 128))
|
|
3894
3900
|
]))), 128))
|
|
3895
3901
|
])
|
|
3896
3902
|
])
|
|
3897
3903
|
]),
|
|
3898
|
-
s("div",
|
|
3899
|
-
s("div",
|
|
3904
|
+
s("div", oi, [
|
|
3905
|
+
s("div", ii, [
|
|
3900
3906
|
s("a", {
|
|
3901
3907
|
href: "#",
|
|
3902
3908
|
onClick: t[2] || (t[2] = (...i) => a.previousPage && a.previousPage(...i)),
|
|
3903
3909
|
disabled: o.currentPage === 1,
|
|
3904
3910
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
3905
|
-
}, "Previous", 8,
|
|
3911
|
+
}, "Previous", 8, li),
|
|
3906
3912
|
s("a", {
|
|
3907
3913
|
href: "#",
|
|
3908
3914
|
onClick: t[3] || (t[3] = (...i) => a.nextPage && a.nextPage(...i)),
|
|
3909
3915
|
disabled: o.currentPage === a.totalPages,
|
|
3910
3916
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
3911
|
-
}, "Next", 8,
|
|
3917
|
+
}, "Next", 8, di)
|
|
3912
3918
|
]),
|
|
3913
|
-
s("div",
|
|
3919
|
+
s("div", ui, [
|
|
3914
3920
|
s("div", null, [
|
|
3915
|
-
s("p",
|
|
3921
|
+
s("p", ci, [
|
|
3916
3922
|
w(" Showing "),
|
|
3917
|
-
s("span",
|
|
3923
|
+
s("span", fi, h(a.firstItemIndex), 1),
|
|
3918
3924
|
w(" to "),
|
|
3919
|
-
s("span",
|
|
3925
|
+
s("span", hi, h(a.lastItemIndex), 1),
|
|
3920
3926
|
w(" of "),
|
|
3921
|
-
s("span",
|
|
3927
|
+
s("span", gi, h(a.filteredData.length), 1),
|
|
3922
3928
|
w(" entries ")
|
|
3923
3929
|
])
|
|
3924
3930
|
]),
|
|
3925
3931
|
s("div", null, [
|
|
3926
|
-
s("nav",
|
|
3932
|
+
s("nav", mi, [
|
|
3927
3933
|
s("ul", pi, [
|
|
3928
3934
|
s("li", null, [
|
|
3929
3935
|
s("a", {
|
|
@@ -3931,7 +3937,7 @@ function Di(e, t, r, n, o, a) {
|
|
|
3931
3937
|
onClick: t[4] || (t[4] = (...i) => a.previousPage && a.previousPage(...i)),
|
|
3932
3938
|
disabled: o.currentPage === 1,
|
|
3933
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"
|
|
3934
|
-
},
|
|
3940
|
+
}, vi, 8, bi)
|
|
3935
3941
|
]),
|
|
3936
3942
|
(d(!0), u(v, null, k(a.displayedPageNumbers, (i) => (d(), u(v, { key: i }, [
|
|
3937
3943
|
s("li", null, [
|
|
@@ -3940,7 +3946,7 @@ function Di(e, t, r, n, o, a) {
|
|
|
3940
3946
|
href: "#",
|
|
3941
3947
|
onClick: (c) => a.goToPage(i),
|
|
3942
3948
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
3943
|
-
}, h(i), 9,
|
|
3949
|
+
}, h(i), 9, xi)) : g("", !0)
|
|
3944
3950
|
]),
|
|
3945
3951
|
s("li", null, [
|
|
3946
3952
|
o.currentPage === i ? (d(), u("a", {
|
|
@@ -3949,7 +3955,7 @@ function Di(e, t, r, n, o, a) {
|
|
|
3949
3955
|
onClick: (c) => a.goToPage(i),
|
|
3950
3956
|
"aria-current": "page",
|
|
3951
3957
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
3952
|
-
}, h(i), 9,
|
|
3958
|
+
}, h(i), 9, wi)) : g("", !0)
|
|
3953
3959
|
])
|
|
3954
3960
|
], 64))), 128)),
|
|
3955
3961
|
s("li", null, [
|
|
@@ -3958,7 +3964,7 @@ function Di(e, t, r, n, o, a) {
|
|
|
3958
3964
|
onClick: t[5] || (t[5] = (...i) => a.nextPage && a.nextPage(...i)),
|
|
3959
3965
|
disabled: o.currentPage === a.totalPages,
|
|
3960
3966
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
3961
|
-
},
|
|
3967
|
+
}, Si, 8, ki)
|
|
3962
3968
|
])
|
|
3963
3969
|
])
|
|
3964
3970
|
])
|
|
@@ -3967,13 +3973,13 @@ function Di(e, t, r, n, o, a) {
|
|
|
3967
3973
|
])
|
|
3968
3974
|
]);
|
|
3969
3975
|
}
|
|
3970
|
-
const
|
|
3976
|
+
const Vd = /* @__PURE__ */ S(Uo, [["render", Di]]), Oi = {
|
|
3971
3977
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
3972
3978
|
role: "alert"
|
|
3973
|
-
},
|
|
3979
|
+
}, Pi = {
|
|
3974
3980
|
key: 0,
|
|
3975
3981
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"
|
|
3976
|
-
},
|
|
3982
|
+
}, Ei = /* @__PURE__ */ s("svg", {
|
|
3977
3983
|
class: "w-5 h-5",
|
|
3978
3984
|
"aria-hidden": "true",
|
|
3979
3985
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3981,13 +3987,13 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
3981
3987
|
viewBox: "0 0 20 20"
|
|
3982
3988
|
}, [
|
|
3983
3989
|
/* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z" })
|
|
3984
|
-
], -1),
|
|
3985
|
-
|
|
3986
|
-
|
|
3990
|
+
], -1), ji = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Ai = [
|
|
3991
|
+
Ei,
|
|
3992
|
+
ji
|
|
3987
3993
|
], Ti = {
|
|
3988
3994
|
key: 1,
|
|
3989
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"
|
|
3990
|
-
},
|
|
3996
|
+
}, Ii = /* @__PURE__ */ s("svg", {
|
|
3991
3997
|
class: "w-5 h-5",
|
|
3992
3998
|
"aria-hidden": "true",
|
|
3993
3999
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3995,13 +4001,13 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
3995
4001
|
viewBox: "0 0 20 20"
|
|
3996
4002
|
}, [
|
|
3997
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" })
|
|
3998
|
-
], -1),
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
],
|
|
4004
|
+
], -1), Mi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Ni = [
|
|
4005
|
+
Ii,
|
|
4006
|
+
Mi
|
|
4007
|
+
], Vi = {
|
|
4002
4008
|
key: 2,
|
|
4003
4009
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200"
|
|
4004
|
-
},
|
|
4010
|
+
}, Li = /* @__PURE__ */ s("svg", {
|
|
4005
4011
|
class: "w-5 h-5",
|
|
4006
4012
|
"aria-hidden": "true",
|
|
4007
4013
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4009,10 +4015,10 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4009
4015
|
viewBox: "0 0 20 20"
|
|
4010
4016
|
}, [
|
|
4011
4017
|
/* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z" })
|
|
4012
|
-
], -1),
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
],
|
|
4018
|
+
], -1), Bi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), Gi = [
|
|
4019
|
+
Li,
|
|
4020
|
+
Bi
|
|
4021
|
+
], Fi = { class: "ml-3 text-sm font-normal" }, Ri = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Ui = /* @__PURE__ */ s("svg", {
|
|
4016
4022
|
"aria-hidden": "true",
|
|
4017
4023
|
class: "w-5 h-5",
|
|
4018
4024
|
fill: "currentColor",
|
|
@@ -4024,10 +4030,10 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4024
4030
|
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
4025
4031
|
"clip-rule": "evenodd"
|
|
4026
4032
|
})
|
|
4027
|
-
], -1),
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
],
|
|
4033
|
+
], -1), qi = [
|
|
4034
|
+
Ri,
|
|
4035
|
+
Ui
|
|
4036
|
+
], zi = {
|
|
4031
4037
|
__name: "ToastListItem",
|
|
4032
4038
|
props: {
|
|
4033
4039
|
message: String,
|
|
@@ -4047,23 +4053,23 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4047
4053
|
setTimeout(() => n("remove"), r.duration);
|
|
4048
4054
|
});
|
|
4049
4055
|
const n = t;
|
|
4050
|
-
return (o, a) => (d(), u("div",
|
|
4051
|
-
r.type === "success" ? (d(), u("div",
|
|
4052
|
-
r.type === "error" ? (d(), u("div", Ti,
|
|
4053
|
-
r.type === "warning" ? (d(), u("div",
|
|
4054
|
-
s("div",
|
|
4056
|
+
return (o, a) => (d(), u("div", Oi, [
|
|
4057
|
+
r.type === "success" ? (d(), u("div", Pi, Ai)) : g("", !0),
|
|
4058
|
+
r.type === "error" ? (d(), u("div", Ti, Ni)) : g("", !0),
|
|
4059
|
+
r.type === "warning" ? (d(), u("div", Vi, Gi)) : g("", !0),
|
|
4060
|
+
s("div", Fi, h(r.message), 1),
|
|
4055
4061
|
s("button", {
|
|
4056
4062
|
onClick: a[0] || (a[0] = (l) => n("remove")),
|
|
4057
4063
|
type: "button",
|
|
4058
4064
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
4059
4065
|
"data-dismiss-target": "#toast-default",
|
|
4060
4066
|
"aria-label": "Close"
|
|
4061
|
-
},
|
|
4067
|
+
}, qi)
|
|
4062
4068
|
]));
|
|
4063
4069
|
}
|
|
4064
4070
|
}, de = Se({
|
|
4065
4071
|
items: []
|
|
4066
|
-
}),
|
|
4072
|
+
}), Hi = {
|
|
4067
4073
|
add(e) {
|
|
4068
4074
|
de.items.unshift({
|
|
4069
4075
|
key: Symbol(),
|
|
@@ -4077,8 +4083,8 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4077
4083
|
}
|
|
4078
4084
|
}, $e = {
|
|
4079
4085
|
state: de,
|
|
4080
|
-
methods:
|
|
4081
|
-
},
|
|
4086
|
+
methods: Hi
|
|
4087
|
+
}, Ld = {
|
|
4082
4088
|
__name: "GlToastList",
|
|
4083
4089
|
setup(e) {
|
|
4084
4090
|
function t(r) {
|
|
@@ -4093,7 +4099,7 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4093
4099
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4094
4100
|
}, {
|
|
4095
4101
|
default: J(() => [
|
|
4096
|
-
(d(!0), u(v, null, k(lt($e).state.items, (o, a) => (d(), K(
|
|
4102
|
+
(d(!0), u(v, null, k(lt($e).state.items, (o, a) => (d(), K(zi, {
|
|
4097
4103
|
key: o.key,
|
|
4098
4104
|
message: o.message,
|
|
4099
4105
|
type: o.type,
|
|
@@ -4104,10 +4110,10 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4104
4110
|
_: 1
|
|
4105
4111
|
}));
|
|
4106
4112
|
}
|
|
4107
|
-
},
|
|
4113
|
+
}, Zi = {
|
|
4108
4114
|
key: 0,
|
|
4109
4115
|
class: "flex justify-center"
|
|
4110
|
-
},
|
|
4116
|
+
}, Ki = /* @__PURE__ */ s("svg", {
|
|
4111
4117
|
class: "w-5 h-5",
|
|
4112
4118
|
"aria-hidden": "true",
|
|
4113
4119
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4115,12 +4121,12 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4115
4121
|
viewBox: "0 0 4 15"
|
|
4116
4122
|
}, [
|
|
4117
4123
|
/* @__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" })
|
|
4118
|
-
], -1),
|
|
4119
|
-
|
|
4120
|
-
],
|
|
4124
|
+
], -1), Wi = [
|
|
4125
|
+
Ki
|
|
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 = {
|
|
4121
4127
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4122
4128
|
"aria-labelledby": "dropdownDividerButton"
|
|
4123
|
-
},
|
|
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 = {
|
|
4124
4130
|
__name: "DatatableAction",
|
|
4125
4131
|
props: {
|
|
4126
4132
|
field: {
|
|
@@ -4166,37 +4172,37 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4166
4172
|
});
|
|
4167
4173
|
};
|
|
4168
4174
|
return (x, $) => {
|
|
4169
|
-
const L =
|
|
4175
|
+
const L = De("click-outside");
|
|
4170
4176
|
return d(), u(v, null, [
|
|
4171
4177
|
Z(ue, {
|
|
4172
4178
|
isOpen: a.value,
|
|
4173
4179
|
onConfirmDelete: y,
|
|
4174
4180
|
onCancelDelete: c
|
|
4175
4181
|
}, null, 8, ["isOpen"]),
|
|
4176
|
-
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, [
|
|
4177
4183
|
s("button", {
|
|
4178
4184
|
onClick: i,
|
|
4179
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",
|
|
4180
4186
|
type: "button"
|
|
4181
|
-
},
|
|
4182
|
-
|
|
4183
|
-
s("ul",
|
|
4184
|
-
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li",
|
|
4187
|
+
}, Wi),
|
|
4188
|
+
O(s("div", Xi, [
|
|
4189
|
+
s("ul", Yi, [
|
|
4190
|
+
x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Ji, [
|
|
4185
4191
|
s("a", {
|
|
4186
4192
|
href: e.xprops.route + "/" + e.row.id + "/edit",
|
|
4187
4193
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4188
4194
|
}, [
|
|
4189
|
-
|
|
4195
|
+
el,
|
|
4190
4196
|
w(" Edit")
|
|
4191
|
-
], 8,
|
|
4197
|
+
], 8, Qi)
|
|
4192
4198
|
])) : g("", !0),
|
|
4193
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4199
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", tl, [
|
|
4194
4200
|
s("a", {
|
|
4195
4201
|
href: "#",
|
|
4196
4202
|
onClick: N(f, ["prevent"]),
|
|
4197
4203
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4198
4204
|
}, [
|
|
4199
|
-
|
|
4205
|
+
rl,
|
|
4200
4206
|
w(" Remove")
|
|
4201
4207
|
])
|
|
4202
4208
|
])) : g("", !0)
|
|
@@ -4210,7 +4216,7 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4210
4216
|
], 64);
|
|
4211
4217
|
};
|
|
4212
4218
|
}
|
|
4213
|
-
},
|
|
4219
|
+
}, sl = {
|
|
4214
4220
|
key: 0,
|
|
4215
4221
|
class: "flex justify-center"
|
|
4216
4222
|
}, al = /* @__PURE__ */ s("svg", {
|
|
@@ -4221,12 +4227,12 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4221
4227
|
viewBox: "0 0 4 15"
|
|
4222
4228
|
}, [
|
|
4223
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" })
|
|
4224
|
-
], -1),
|
|
4230
|
+
], -1), nl = [
|
|
4225
4231
|
al
|
|
4226
|
-
],
|
|
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 = {
|
|
4227
4233
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4228
4234
|
"aria-labelledby": "dropdownDividerButton"
|
|
4229
|
-
},
|
|
4235
|
+
}, ll = { key: 0 }, dl = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Gd = {
|
|
4230
4236
|
__name: "DatatableDeleteAction",
|
|
4231
4237
|
props: {
|
|
4232
4238
|
field: {
|
|
@@ -4272,28 +4278,28 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4272
4278
|
});
|
|
4273
4279
|
};
|
|
4274
4280
|
return (x, $) => {
|
|
4275
|
-
const L =
|
|
4281
|
+
const L = De("click-outside");
|
|
4276
4282
|
return d(), u(v, null, [
|
|
4277
4283
|
Z(ue, {
|
|
4278
4284
|
isOpen: a.value,
|
|
4279
4285
|
onConfirmDelete: y,
|
|
4280
4286
|
onCancelDelete: c
|
|
4281
4287
|
}, null, 8, ["isOpen"]),
|
|
4282
|
-
e.row && x.can(`delete_${e.xprops.permission}`) ?
|
|
4288
|
+
e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div", sl, [
|
|
4283
4289
|
s("button", {
|
|
4284
4290
|
onClick: i,
|
|
4285
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",
|
|
4286
4292
|
type: "button"
|
|
4287
|
-
},
|
|
4288
|
-
|
|
4289
|
-
s("ul",
|
|
4290
|
-
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li",
|
|
4293
|
+
}, nl),
|
|
4294
|
+
O(s("div", ol, [
|
|
4295
|
+
s("ul", il, [
|
|
4296
|
+
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ll, [
|
|
4291
4297
|
s("a", {
|
|
4292
4298
|
href: "#",
|
|
4293
4299
|
onClick: N(f, ["prevent"]),
|
|
4294
4300
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4295
4301
|
}, [
|
|
4296
|
-
|
|
4302
|
+
dl,
|
|
4297
4303
|
w(" Remove")
|
|
4298
4304
|
])
|
|
4299
4305
|
])) : g("", !0)
|
|
@@ -4307,7 +4313,7 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4307
4313
|
], 64);
|
|
4308
4314
|
};
|
|
4309
4315
|
}
|
|
4310
|
-
},
|
|
4316
|
+
}, ul = {
|
|
4311
4317
|
props: ["field", "row"],
|
|
4312
4318
|
computed: {
|
|
4313
4319
|
isArray() {
|
|
@@ -4323,7 +4329,7 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4323
4329
|
mounted() {
|
|
4324
4330
|
console.log("row : ", this.row);
|
|
4325
4331
|
}
|
|
4326
|
-
},
|
|
4332
|
+
}, cl = ["href", "title"], fl = /* @__PURE__ */ s("svg", {
|
|
4327
4333
|
class: "w-3 h-3 text-white me-2",
|
|
4328
4334
|
"aria-hidden": "true",
|
|
4329
4335
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4340,10 +4346,10 @@ const Md = /* @__PURE__ */ S(qo, [["render", Di]]), Pi = {
|
|
|
4340
4346
|
d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
|
|
4341
4347
|
"clip-rule": "evenodd"
|
|
4342
4348
|
})
|
|
4343
|
-
], -1),
|
|
4349
|
+
], -1), hl = {
|
|
4344
4350
|
key: 1,
|
|
4345
4351
|
class: "m-1 d-inline-block"
|
|
4346
|
-
},
|
|
4352
|
+
}, gl = ["href", "title"], ml = /* @__PURE__ */ s("svg", {
|
|
4347
4353
|
class: "w-3 h-3 text-white me-2",
|
|
4348
4354
|
"aria-hidden": "true",
|
|
4349
4355
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4373,23 +4379,23 @@ function pl(e, t, r, n, o, a) {
|
|
|
4373
4379
|
target: "_blank",
|
|
4374
4380
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4375
4381
|
}, [
|
|
4376
|
-
|
|
4382
|
+
fl,
|
|
4377
4383
|
w(" Download ")
|
|
4378
|
-
], 8,
|
|
4379
|
-
]))), 128)) : a.isString ? (d(), u("div",
|
|
4384
|
+
], 8, cl)
|
|
4385
|
+
]))), 128)) : a.isString ? (d(), u("div", hl, [
|
|
4380
4386
|
s("a", {
|
|
4381
4387
|
href: r.row,
|
|
4382
4388
|
title: r.row,
|
|
4383
4389
|
target: "_blank",
|
|
4384
4390
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4385
4391
|
}, [
|
|
4386
|
-
|
|
4392
|
+
ml,
|
|
4387
4393
|
w(" Download ")
|
|
4388
|
-
], 8,
|
|
4394
|
+
], 8, gl)
|
|
4389
4395
|
])) : g("", !0)
|
|
4390
4396
|
]);
|
|
4391
4397
|
}
|
|
4392
|
-
const
|
|
4398
|
+
const Fd = /* @__PURE__ */ S(ul, [["render", pl]]), bl = {
|
|
4393
4399
|
props: ["field", "row"],
|
|
4394
4400
|
computed: {
|
|
4395
4401
|
isArray() {
|
|
@@ -4399,7 +4405,7 @@ const Bd = /* @__PURE__ */ S(cl, [["render", pl]]), bl = {
|
|
|
4399
4405
|
return typeof this.row[this.field] == "object";
|
|
4400
4406
|
}
|
|
4401
4407
|
}
|
|
4402
|
-
},
|
|
4408
|
+
}, _l = ["href", "title"], yl = /* @__PURE__ */ s("svg", {
|
|
4403
4409
|
class: "w-3 h-3 text-white me-2",
|
|
4404
4410
|
"aria-hidden": "true",
|
|
4405
4411
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4416,10 +4422,10 @@ const Bd = /* @__PURE__ */ S(cl, [["render", pl]]), bl = {
|
|
|
4416
4422
|
d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
|
|
4417
4423
|
"clip-rule": "evenodd"
|
|
4418
4424
|
})
|
|
4419
|
-
], -1),
|
|
4425
|
+
], -1), vl = {
|
|
4420
4426
|
key: 1,
|
|
4421
4427
|
class: "m-1 d-inline-block"
|
|
4422
|
-
},
|
|
4428
|
+
}, xl = ["href", "title"], wl = /* @__PURE__ */ s("svg", {
|
|
4423
4429
|
class: "w-3 h-3 text-white me-2",
|
|
4424
4430
|
"aria-hidden": "true",
|
|
4425
4431
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4437,7 +4443,7 @@ const Bd = /* @__PURE__ */ S(cl, [["render", pl]]), bl = {
|
|
|
4437
4443
|
"clip-rule": "evenodd"
|
|
4438
4444
|
})
|
|
4439
4445
|
], -1);
|
|
4440
|
-
function
|
|
4446
|
+
function kl(e, t, r, n, o, a) {
|
|
4441
4447
|
return d(), u("div", null, [
|
|
4442
4448
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row[r.field], (l) => (d(), u("div", {
|
|
4443
4449
|
key: l.id,
|
|
@@ -4449,34 +4455,34 @@ function $l(e, t, r, n, o, a) {
|
|
|
4449
4455
|
target: "_blank",
|
|
4450
4456
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4451
4457
|
}, [
|
|
4452
|
-
|
|
4458
|
+
yl,
|
|
4453
4459
|
w(" Download ")
|
|
4454
|
-
], 8,
|
|
4455
|
-
]))), 128)) : a.isObject ? (d(), u("div",
|
|
4460
|
+
], 8, _l)
|
|
4461
|
+
]))), 128)) : a.isObject ? (d(), u("div", vl, [
|
|
4456
4462
|
s("a", {
|
|
4457
4463
|
href: r.row[r.field].url,
|
|
4458
4464
|
title: r.row[r.field].name,
|
|
4459
4465
|
target: "_blank",
|
|
4460
4466
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
4461
4467
|
}, [
|
|
4462
|
-
|
|
4468
|
+
wl,
|
|
4463
4469
|
w(" Download ")
|
|
4464
|
-
], 8,
|
|
4470
|
+
], 8, xl)
|
|
4465
4471
|
])) : g("", !0)
|
|
4466
4472
|
]);
|
|
4467
4473
|
}
|
|
4468
|
-
const
|
|
4474
|
+
const Rd = /* @__PURE__ */ S(bl, [["render", kl]]), $l = {
|
|
4469
4475
|
props: ["field", "row", "tdProps"]
|
|
4470
|
-
},
|
|
4476
|
+
}, Cl = { key: 0 }, Sl = ["innerHTML"];
|
|
4471
4477
|
function Dl(e, t, r, n, o, a) {
|
|
4472
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4478
|
+
return r.row[r.field] ? (d(), u("div", Cl, [
|
|
4473
4479
|
s("div", {
|
|
4474
4480
|
class: "w-full",
|
|
4475
4481
|
innerHTML: r.row[r.field]
|
|
4476
|
-
}, null, 8,
|
|
4482
|
+
}, null, 8, Sl)
|
|
4477
4483
|
])) : g("", !0);
|
|
4478
4484
|
}
|
|
4479
|
-
const
|
|
4485
|
+
const Ud = /* @__PURE__ */ S($l, [["render", Dl]]), Ol = {
|
|
4480
4486
|
props: ["field", "row", "tdProps"],
|
|
4481
4487
|
computed: {
|
|
4482
4488
|
entry() {
|
|
@@ -4490,24 +4496,24 @@ const Fd = /* @__PURE__ */ S(Cl, [["render", Dl]]), Pl = {
|
|
|
4490
4496
|
return typeof this.row[this.entry.key] == "object";
|
|
4491
4497
|
}
|
|
4492
4498
|
}
|
|
4493
|
-
},
|
|
4499
|
+
}, Pl = { class: "flex flex-wrap gap-2" }, El = {
|
|
4494
4500
|
key: 1,
|
|
4495
4501
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4496
4502
|
};
|
|
4497
|
-
function
|
|
4498
|
-
return d(), u("div",
|
|
4503
|
+
function jl(e, t, r, n, o, a) {
|
|
4504
|
+
return d(), u("div", Pl, [
|
|
4499
4505
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row[a.entry.key], (l, i) => (d(), u("span", {
|
|
4500
4506
|
key: i,
|
|
4501
4507
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4502
|
-
}, h(l[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span",
|
|
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)
|
|
4503
4509
|
]);
|
|
4504
4510
|
}
|
|
4505
|
-
const
|
|
4511
|
+
const qd = /* @__PURE__ */ S(Ol, [["render", jl]]), Al = {
|
|
4506
4512
|
props: ["field", "row", "tdProps"]
|
|
4507
|
-
}, Tl = { key: 0 },
|
|
4508
|
-
function
|
|
4513
|
+
}, Tl = { key: 0 }, Il = { class: "m-1 d-inline-block" }, Ml = ["href", "title"], Nl = ["src", "alt", "title"];
|
|
4514
|
+
function Vl(e, t, r, n, o, a) {
|
|
4509
4515
|
return r.row[r.field] ? (d(), u("div", Tl, [
|
|
4510
|
-
s("div",
|
|
4516
|
+
s("div", Il, [
|
|
4511
4517
|
s("a", {
|
|
4512
4518
|
href: r.row[r.field].url,
|
|
4513
4519
|
title: r.row[r.field].name,
|
|
@@ -4517,37 +4523,37 @@ function Ll(e, t, r, n, o, a) {
|
|
|
4517
4523
|
src: r.row[r.field].thumbnail,
|
|
4518
4524
|
alt: r.row[r.field].name,
|
|
4519
4525
|
title: r.row[r.field].name
|
|
4520
|
-
}, null, 8,
|
|
4521
|
-
], 8,
|
|
4526
|
+
}, null, 8, Nl)
|
|
4527
|
+
], 8, Ml)
|
|
4522
4528
|
])
|
|
4523
4529
|
])) : g("", !0);
|
|
4524
4530
|
}
|
|
4525
|
-
const
|
|
4531
|
+
const zd = /* @__PURE__ */ S(Al, [["render", Vl], ["__scopeId", "data-v-3a28c02c"]]), Ll = {
|
|
4526
4532
|
props: ["field", "row", "tdProps"],
|
|
4527
4533
|
computed: {
|
|
4528
4534
|
isActive() {
|
|
4529
4535
|
return this.row[this.field] === 1;
|
|
4530
4536
|
}
|
|
4531
4537
|
}
|
|
4532
|
-
},
|
|
4538
|
+
}, Bl = { class: "flex flex-wrap gap-2" }, Gl = {
|
|
4533
4539
|
key: 0,
|
|
4534
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"
|
|
4535
|
-
},
|
|
4541
|
+
}, Fl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Rl = {
|
|
4536
4542
|
key: 1,
|
|
4537
4543
|
class: "inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
4538
|
-
},
|
|
4539
|
-
function
|
|
4540
|
-
return d(), u("div",
|
|
4541
|
-
a.isActive ? (d(), u("span",
|
|
4542
|
-
|
|
4544
|
+
}, Ul = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
4545
|
+
function ql(e, t, r, n, o, a) {
|
|
4546
|
+
return d(), u("div", Bl, [
|
|
4547
|
+
a.isActive ? (d(), u("span", Gl, [
|
|
4548
|
+
Fl,
|
|
4543
4549
|
w(" Active ")
|
|
4544
|
-
])) : a.isActive ? g("", !0) : (d(), u("span",
|
|
4545
|
-
|
|
4550
|
+
])) : a.isActive ? g("", !0) : (d(), u("span", Rl, [
|
|
4551
|
+
Ul,
|
|
4546
4552
|
w(" Inactive ")
|
|
4547
4553
|
]))
|
|
4548
4554
|
]);
|
|
4549
4555
|
}
|
|
4550
|
-
const
|
|
4556
|
+
const Hd = /* @__PURE__ */ S(Ll, [["render", ql]]), zl = {
|
|
4551
4557
|
props: ["field", "row", "tdProps"],
|
|
4552
4558
|
computed: {
|
|
4553
4559
|
hasLabelColor(e) {
|
|
@@ -4555,40 +4561,98 @@ const qd = /* @__PURE__ */ S(Bl, [["render", zl]]), Hl = {
|
|
|
4555
4561
|
return t ? t.class : "";
|
|
4556
4562
|
}
|
|
4557
4563
|
}
|
|
4558
|
-
},
|
|
4564
|
+
}, Hl = { class: "flex flex-wrap gap-2" }, Zl = {
|
|
4559
4565
|
key: 0,
|
|
4560
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"
|
|
4561
|
-
},
|
|
4567
|
+
}, Kl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Wl = {
|
|
4562
4568
|
key: 1,
|
|
4563
4569
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
4564
|
-
},
|
|
4570
|
+
}, Xl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), Yl = {
|
|
4565
4571
|
key: 2,
|
|
4566
4572
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"
|
|
4567
|
-
},
|
|
4573
|
+
}, Jl = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), Ql = {
|
|
4568
4574
|
key: 3,
|
|
4569
4575
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"
|
|
4570
|
-
},
|
|
4571
|
-
function
|
|
4572
|
-
return d(), u("div",
|
|
4573
|
-
a.hasLabelColor == "green" ? (d(), u("span",
|
|
4574
|
-
|
|
4576
|
+
}, ed = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1);
|
|
4577
|
+
function td(e, t, r, n, o, a) {
|
|
4578
|
+
return d(), u("div", Hl, [
|
|
4579
|
+
a.hasLabelColor == "green" ? (d(), u("span", Zl, [
|
|
4580
|
+
Kl,
|
|
4575
4581
|
w(" " + h(this.row[this.field]), 1)
|
|
4576
4582
|
])) : g("", !0),
|
|
4577
|
-
a.hasLabelColor == "red" ? (d(), u("span",
|
|
4578
|
-
|
|
4583
|
+
a.hasLabelColor == "red" ? (d(), u("span", Wl, [
|
|
4584
|
+
Xl,
|
|
4579
4585
|
w(" " + h(this.row[this.field]), 1)
|
|
4580
4586
|
])) : g("", !0),
|
|
4581
|
-
a.hasLabelColor == "yellow" ? (d(), u("span",
|
|
4582
|
-
|
|
4587
|
+
a.hasLabelColor == "yellow" ? (d(), u("span", Yl, [
|
|
4588
|
+
Jl,
|
|
4583
4589
|
w(" " + h(this.row[this.field]), 1)
|
|
4584
4590
|
])) : g("", !0),
|
|
4585
|
-
a.hasLabelColor == "default" ? (d(), u("span",
|
|
4586
|
-
|
|
4591
|
+
a.hasLabelColor == "default" ? (d(), u("span", Ql, [
|
|
4592
|
+
ed,
|
|
4587
4593
|
w(" " + h(this.row[this.field]), 1)
|
|
4588
4594
|
])) : g("", !0)
|
|
4589
4595
|
]);
|
|
4590
4596
|
}
|
|
4591
|
-
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" };
|
|
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 = {
|
|
4592
4656
|
props: ["isOpen", "title", "button_text"],
|
|
4593
4657
|
methods: {
|
|
4594
4658
|
confirmAction() {
|
|
@@ -4598,35 +4662,35 @@ const zd = /* @__PURE__ */ S(Hl, [["render", rd]]), sd = {
|
|
|
4598
4662
|
this.$emit("cancel-action");
|
|
4599
4663
|
}
|
|
4600
4664
|
}
|
|
4601
|
-
},
|
|
4665
|
+
}, od = {
|
|
4602
4666
|
key: 0,
|
|
4603
4667
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4604
4668
|
role: "dialog",
|
|
4605
4669
|
"aria-modal": "true"
|
|
4606
|
-
},
|
|
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", {
|
|
4607
4671
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4608
4672
|
"aria-hidden": "true"
|
|
4609
|
-
}, null, -1),
|
|
4673
|
+
}, null, -1), dd = /* @__PURE__ */ s("span", {
|
|
4610
4674
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4611
4675
|
"aria-hidden": "true"
|
|
4612
|
-
}, "", -1),
|
|
4613
|
-
function
|
|
4614
|
-
return r.isOpen ? (d(), u("div",
|
|
4615
|
-
s("div",
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
s("div",
|
|
4619
|
-
s("div",
|
|
4620
|
-
s("div",
|
|
4621
|
-
s("div",
|
|
4622
|
-
s("h3",
|
|
4623
|
-
s("div",
|
|
4624
|
-
|
|
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")
|
|
4625
4689
|
])
|
|
4626
4690
|
])
|
|
4627
4691
|
])
|
|
4628
4692
|
]),
|
|
4629
|
-
s("div",
|
|
4693
|
+
s("div", pd, [
|
|
4630
4694
|
s("button", {
|
|
4631
4695
|
onClick: t[0] || (t[0] = (...l) => a.confirmAction && a.confirmAction(...l)),
|
|
4632
4696
|
type: "button",
|
|
@@ -4642,39 +4706,40 @@ function md(e, t, r, n, o, a) {
|
|
|
4642
4706
|
])
|
|
4643
4707
|
])) : g("", !0);
|
|
4644
4708
|
}
|
|
4645
|
-
const
|
|
4709
|
+
const Wd = /* @__PURE__ */ S(nd, [["render", bd]]);
|
|
4646
4710
|
export {
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
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,
|
|
4661
4726
|
ue as GlDeleteConfirmationModal,
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
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,
|
|
4736
|
+
xo as GlTailwindPagination,
|
|
4737
|
+
Od as GlTextInput,
|
|
4738
|
+
Dd as GlTextTranslate,
|
|
4739
|
+
Md as GlTextarea,
|
|
4740
|
+
Cd as GlTextareaTranslate,
|
|
4741
|
+
Sd as GlTinymceTranslate,
|
|
4677
4742
|
$e as GlToast,
|
|
4678
|
-
|
|
4679
|
-
|
|
4743
|
+
Ld as GlToastList,
|
|
4744
|
+
Td as GlToggleBox
|
|
4680
4745
|
};
|