golden-logic-ui 1.0.77 → 1.0.78
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 +311 -299
- 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
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Je, inject as Ce, watch as Y, effectScope as Qe, computed as G, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as g, withModifiers as N, withDirectives as O, vModelText as V, renderList as k, normalizeStyle as et, renderSlot as A, createTextVNode as w, vShow as F, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as S, 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 lt, unref as it, resolveDirective as De, markRaw as dt } from "vue";
|
|
2
2
|
const $ = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
@@ -48,7 +48,7 @@ function yt(e, t, r, n, o, a) {
|
|
|
48
48
|
])
|
|
49
49
|
])
|
|
50
50
|
])
|
|
51
|
-
])) :
|
|
51
|
+
])) : f("", !0);
|
|
52
52
|
}
|
|
53
53
|
const ue = /* @__PURE__ */ $(ut, [["render", yt]]);
|
|
54
54
|
function _t() {
|
|
@@ -111,11 +111,11 @@ class Ct {
|
|
|
111
111
|
args: c,
|
|
112
112
|
resolve: () => {
|
|
113
113
|
}
|
|
114
|
-
}), this.fallbacks[l](...c)) : (...c) => new Promise((
|
|
114
|
+
}), this.fallbacks[l](...c)) : (...c) => new Promise((h) => {
|
|
115
115
|
this.targetQueue.push({
|
|
116
116
|
method: l,
|
|
117
117
|
args: c,
|
|
118
|
-
resolve:
|
|
118
|
+
resolve: h
|
|
119
119
|
});
|
|
120
120
|
})
|
|
121
121
|
});
|
|
@@ -186,8 +186,8 @@ function ce(e, t, r) {
|
|
|
186
186
|
e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
187
187
|
var a = e._wrappedGetters, i = {}, l = {}, c = Qe(!0);
|
|
188
188
|
c.run(function() {
|
|
189
|
-
U(a, function(
|
|
190
|
-
i[m] = Ot(
|
|
189
|
+
U(a, function(h, m) {
|
|
190
|
+
i[m] = Ot(h, e), l[m] = G(function() {
|
|
191
191
|
return i[m]();
|
|
192
192
|
}), Object.defineProperty(e.getters, m, {
|
|
193
193
|
get: function() {
|
|
@@ -213,16 +213,16 @@ function ee(e, t, r, n, o) {
|
|
|
213
213
|
), l[c] = n.state;
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
var
|
|
216
|
+
var h = n.context = Pt(e, i, r);
|
|
217
217
|
n.forEachMutation(function(m, y) {
|
|
218
218
|
var x = i + y;
|
|
219
|
-
Et(e, x, m,
|
|
219
|
+
Et(e, x, m, h);
|
|
220
220
|
}), n.forEachAction(function(m, y) {
|
|
221
221
|
var x = m.root ? y : i + y, C = m.handler || m;
|
|
222
|
-
jt(e, x, C,
|
|
222
|
+
jt(e, x, C, h);
|
|
223
223
|
}), n.forEachGetter(function(m, y) {
|
|
224
224
|
var x = i + y;
|
|
225
|
-
Tt(e, x, m,
|
|
225
|
+
Tt(e, x, m, h);
|
|
226
226
|
}), n.forEachChild(function(m, y) {
|
|
227
227
|
ee(e, t, r.concat(y), m, o);
|
|
228
228
|
});
|
|
@@ -230,20 +230,20 @@ function ee(e, t, r, n, o) {
|
|
|
230
230
|
function Pt(e, t, r) {
|
|
231
231
|
var n = t === "", o = {
|
|
232
232
|
dispatch: n ? e.dispatch : function(a, i, l) {
|
|
233
|
-
var c = Q(a, i, l),
|
|
233
|
+
var c = Q(a, i, l), h = c.payload, m = c.options, y = c.type;
|
|
234
234
|
if ((!m || !m.root) && (y = t + y, process.env.NODE_ENV !== "production" && !e._actions[y])) {
|
|
235
235
|
console.error("[vuex] unknown local action type: " + c.type + ", global type: " + y);
|
|
236
236
|
return;
|
|
237
237
|
}
|
|
238
|
-
return e.dispatch(y,
|
|
238
|
+
return e.dispatch(y, h);
|
|
239
239
|
},
|
|
240
240
|
commit: n ? e.commit : function(a, i, l) {
|
|
241
|
-
var c = Q(a, i, l),
|
|
241
|
+
var c = Q(a, i, l), h = c.payload, m = c.options, y = c.type;
|
|
242
242
|
if ((!m || !m.root) && (y = t + y, process.env.NODE_ENV !== "production" && !e._mutations[y])) {
|
|
243
243
|
console.error("[vuex] unknown local mutation type: " + c.type + ", global type: " + y);
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
|
-
e.commit(y,
|
|
246
|
+
e.commit(y, h, m);
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
249
|
return Object.defineProperties(o, {
|
|
@@ -675,11 +675,11 @@ var j = function e(t) {
|
|
|
675
675
|
o === void 0 && (o = !1);
|
|
676
676
|
var a = t.devtools;
|
|
677
677
|
this._committing = !1, this._actions = /* @__PURE__ */ Object.create(null), this._actionSubscribers = [], this._mutations = /* @__PURE__ */ Object.create(null), this._wrappedGetters = /* @__PURE__ */ Object.create(null), this._modules = new q(t), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null), this._scope = null, this._devtools = a;
|
|
678
|
-
var i = this, l = this, c = l.dispatch,
|
|
678
|
+
var i = this, l = this, c = l.dispatch, h = l.commit;
|
|
679
679
|
this.dispatch = function(x, C) {
|
|
680
680
|
return c.call(i, x, C);
|
|
681
681
|
}, this.commit = function(x, C, L) {
|
|
682
|
-
return
|
|
682
|
+
return h.call(i, x, C, L);
|
|
683
683
|
}, this.strict = o;
|
|
684
684
|
var m = this._modules.root.state;
|
|
685
685
|
ee(this, m, [], this._modules.root), ce(this, m), n.forEach(function(y) {
|
|
@@ -698,7 +698,7 @@ ge.state.set = function(e) {
|
|
|
698
698
|
process.env.NODE_ENV !== "production" && I(!1, "use store.replaceState() to explicit replace store state.");
|
|
699
699
|
};
|
|
700
700
|
j.prototype.commit = function(t, r, n) {
|
|
701
|
-
var o = this, a = Q(t, r, n), i = a.type, l = a.payload, c = a.options,
|
|
701
|
+
var o = this, a = Q(t, r, n), i = a.type, l = a.payload, c = a.options, h = { type: i, payload: l }, m = this._mutations[i];
|
|
702
702
|
if (!m) {
|
|
703
703
|
process.env.NODE_ENV !== "production" && console.error("[vuex] unknown mutation type: " + i);
|
|
704
704
|
return;
|
|
@@ -708,7 +708,7 @@ j.prototype.commit = function(t, r, n) {
|
|
|
708
708
|
x(l);
|
|
709
709
|
});
|
|
710
710
|
}), this._subscribers.slice().forEach(function(y) {
|
|
711
|
-
return y(
|
|
711
|
+
return y(h, o.state);
|
|
712
712
|
}), process.env.NODE_ENV !== "production" && c && c.silent && console.warn(
|
|
713
713
|
"[vuex] mutation type: " + i + ". Silent option has been removed. Use the filter functionality in the vue-devtools"
|
|
714
714
|
);
|
|
@@ -728,11 +728,11 @@ j.prototype.dispatch = function(t, r) {
|
|
|
728
728
|
} catch (m) {
|
|
729
729
|
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in before action subscribers: "), console.error(m));
|
|
730
730
|
}
|
|
731
|
-
var
|
|
731
|
+
var h = c.length > 1 ? Promise.all(c.map(function(m) {
|
|
732
732
|
return m(i);
|
|
733
733
|
})) : c[0](i);
|
|
734
734
|
return new Promise(function(m, y) {
|
|
735
|
-
|
|
735
|
+
h.then(function(x) {
|
|
736
736
|
try {
|
|
737
737
|
n._actionSubscribers.filter(function(C) {
|
|
738
738
|
return C.after;
|
|
@@ -804,10 +804,10 @@ var qt = Ue(function(e, t) {
|
|
|
804
804
|
r[o] = function() {
|
|
805
805
|
var l = this.$store.state, c = this.$store.getters;
|
|
806
806
|
if (e) {
|
|
807
|
-
var
|
|
808
|
-
if (!
|
|
807
|
+
var h = qe(this.$store, "mapState", e);
|
|
808
|
+
if (!h)
|
|
809
809
|
return;
|
|
810
|
-
l =
|
|
810
|
+
l = h.context.state, c = h.context.getters;
|
|
811
811
|
}
|
|
812
812
|
return typeof a == "function" ? a.call(this, l, c) : l[a];
|
|
813
813
|
}, r[o].vuex = !0;
|
|
@@ -819,14 +819,14 @@ var qt = Ue(function(e, t) {
|
|
|
819
819
|
r[o] = function() {
|
|
820
820
|
for (var l = [], c = arguments.length; c--; )
|
|
821
821
|
l[c] = arguments[c];
|
|
822
|
-
var
|
|
822
|
+
var h = this.$store.commit;
|
|
823
823
|
if (e) {
|
|
824
824
|
var m = qe(this.$store, "mapMutations", e);
|
|
825
825
|
if (!m)
|
|
826
826
|
return;
|
|
827
|
-
|
|
827
|
+
h = m.context.commit;
|
|
828
828
|
}
|
|
829
|
-
return typeof a == "function" ? a.apply(this, [
|
|
829
|
+
return typeof a == "function" ? a.apply(this, [h].concat(l)) : h.apply(this.$store, [a].concat(l));
|
|
830
830
|
};
|
|
831
831
|
}), r;
|
|
832
832
|
});
|
|
@@ -1045,7 +1045,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1045
1045
|
"gl-label-form-invalid": o.error_message_data !== "",
|
|
1046
1046
|
required: r.is_required
|
|
1047
1047
|
})
|
|
1048
|
-
},
|
|
1048
|
+
}, g(r.label_name), 3),
|
|
1049
1049
|
s("div", {
|
|
1050
1050
|
onDragover: t[3] || (t[3] = N((...l) => a.onDragOver && a.onDragOver(...l), ["prevent"])),
|
|
1051
1051
|
onDragleave: t[4] || (t[4] = N((...l) => a.onDragLeave && a.onDragLeave(...l), ["prevent"])),
|
|
@@ -1074,15 +1074,15 @@ function wr(e, t, r, n, o, a) {
|
|
|
1074
1074
|
}, Jt))
|
|
1075
1075
|
])
|
|
1076
1076
|
], 32),
|
|
1077
|
-
s("span", rr,
|
|
1078
|
-
s("small", sr,
|
|
1077
|
+
s("span", rr, g(o.error_message_data), 1),
|
|
1078
|
+
s("small", sr, g(r.description), 1),
|
|
1079
1079
|
o.files.length > 0 ? (d(), u("section", ar, [
|
|
1080
1080
|
(d(!0), u(v, null, k(o.files, (l, c) => (d(), u("li", nr, [
|
|
1081
1081
|
or,
|
|
1082
1082
|
s("div", lr, [
|
|
1083
1083
|
s("div", ir, [
|
|
1084
|
-
s("span", dr,
|
|
1085
|
-
s("span", ur,
|
|
1084
|
+
s("span", dr, g(a.getFileName(l.file_name)), 1),
|
|
1085
|
+
s("span", ur, g(l.loading), 1)
|
|
1086
1086
|
]),
|
|
1087
1087
|
s("div", cr, [
|
|
1088
1088
|
s("div", {
|
|
@@ -1092,14 +1092,14 @@ function wr(e, t, r, n, o, a) {
|
|
|
1092
1092
|
])
|
|
1093
1093
|
])
|
|
1094
1094
|
]))), 256))
|
|
1095
|
-
])) :
|
|
1095
|
+
])) : f("", !0),
|
|
1096
1096
|
s("section", fr, [
|
|
1097
1097
|
(d(!0), u(v, null, k(o.uploadFileList, (l, c) => (d(), u("li", gr, [
|
|
1098
1098
|
s("div", hr, [
|
|
1099
1099
|
mr,
|
|
1100
1100
|
s("div", br, [
|
|
1101
|
-
s("span", pr,
|
|
1102
|
-
s("span", yr,
|
|
1101
|
+
s("span", pr, g(a.getFileName(l.file_name)), 1),
|
|
1102
|
+
s("span", yr, g(a.formatFileSize(l.size)), 1)
|
|
1103
1103
|
])
|
|
1104
1104
|
]),
|
|
1105
1105
|
s("div", _r, [
|
|
@@ -1110,18 +1110,18 @@ function wr(e, t, r, n, o, a) {
|
|
|
1110
1110
|
}, null, 8, vr),
|
|
1111
1111
|
r.is_enable_delete ? (d(), u("i", {
|
|
1112
1112
|
key: 0,
|
|
1113
|
-
onClick: (
|
|
1113
|
+
onClick: (h) => {
|
|
1114
1114
|
o.media_id = l.id, o.open_delete_modal = !0;
|
|
1115
1115
|
},
|
|
1116
1116
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
1117
|
-
}, null, 8, xr)) :
|
|
1117
|
+
}, null, 8, xr)) : f("", !0)
|
|
1118
1118
|
])
|
|
1119
1119
|
]))), 256))
|
|
1120
1120
|
])
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Od = /* @__PURE__ */ $(Ht, [["render", wr]]), kr = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...qt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1204,16 +1204,16 @@ function Er(e, t, r, n, o, a) {
|
|
|
1204
1204
|
}, [
|
|
1205
1205
|
$r,
|
|
1206
1206
|
Cr,
|
|
1207
|
-
s("div", Sr,
|
|
1207
|
+
s("div", Sr, g(e.notification.message), 1),
|
|
1208
1208
|
s("button", {
|
|
1209
1209
|
type: "button",
|
|
1210
1210
|
onClick: t[0] || (t[0] = (...i) => a.dismiss && a.dismiss(...i)),
|
|
1211
1211
|
class: b(["inline-flex items-center justify-center w-6 h-6 p-1 -mx-1 -my-1 rounded-lg ms-auto focus:ring-2 hover:bg-opacity-50", a.buttonClasses]),
|
|
1212
1212
|
"aria-label": "Close"
|
|
1213
1213
|
}, Pr, 2)
|
|
1214
|
-
], 2)) :
|
|
1214
|
+
], 2)) : f("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const Pd = /* @__PURE__ */ $(kr, [["render", Er]]), jr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1268,14 +1268,14 @@ function Mr(e, t, r, n, o, a) {
|
|
|
1268
1268
|
"border md:!rounded-e-lg": l === o.locals.length - 1,
|
|
1269
1269
|
"border-t border-b": l !== 0 && l !== o.locals.length - 1
|
|
1270
1270
|
}, "w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
|
|
1271
|
-
},
|
|
1271
|
+
}, g(i), 11, Ir)
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const Ed = /* @__PURE__ */ $(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
|
+
}, jd = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1296,7 +1296,7 @@ const Od = /* @__PURE__ */ $(jr, [["render", Mr]]), Nr = { class: "bg-white bord
|
|
|
1296
1296
|
]),
|
|
1297
1297
|
n.$slots.body ? (d(), u("div", Br, [
|
|
1298
1298
|
A(n.$slots, "body")
|
|
1299
|
-
])) :
|
|
1299
|
+
])) : f("", !0)
|
|
1300
1300
|
])
|
|
1301
1301
|
], 2));
|
|
1302
1302
|
}
|
|
@@ -1489,13 +1489,13 @@ function ns(e, t, r, n, o, a) {
|
|
|
1489
1489
|
key: 0,
|
|
1490
1490
|
class: b(r.field_name)
|
|
1491
1491
|
}, [
|
|
1492
|
-
s("h3", Fr,
|
|
1492
|
+
s("h3", Fr, g(r.label_name), 1),
|
|
1493
1493
|
s("p", Rr, [
|
|
1494
|
-
(d(!0), u(v, null, k(o.selected, (i, l) => (d(), u("span", Ur,
|
|
1494
|
+
(d(!0), u(v, null, k(o.selected, (i, l) => (d(), u("span", Ur, g(i.name), 1))), 256))
|
|
1495
1495
|
]),
|
|
1496
1496
|
qr
|
|
1497
|
-
], 2)) :
|
|
1498
|
-
r.show ?
|
|
1497
|
+
], 2)) : f("", !0),
|
|
1498
|
+
r.show ? f("", !0) : (d(), u("div", {
|
|
1499
1499
|
key: 1,
|
|
1500
1500
|
class: b(["mb-4", r.field_name])
|
|
1501
1501
|
}, [
|
|
@@ -1512,7 +1512,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1512
1512
|
"gl-label-form-invalid": r.error_message !== "",
|
|
1513
1513
|
required: r.is_required
|
|
1514
1514
|
})
|
|
1515
|
-
},
|
|
1515
|
+
}, g(r.label_name), 3),
|
|
1516
1516
|
s("div", Zr, [
|
|
1517
1517
|
s("button", {
|
|
1518
1518
|
onClick: t[0] || (t[0] = (...i) => a.selectAll && a.selectAll(...i)),
|
|
@@ -1535,7 +1535,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1535
1535
|
key: l,
|
|
1536
1536
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"
|
|
1537
1537
|
}, [
|
|
1538
|
-
w(
|
|
1538
|
+
w(g(i.name) + " ", 1),
|
|
1539
1539
|
s("i", {
|
|
1540
1540
|
onClick: N((c) => a.clearOption(i), ["stop"]),
|
|
1541
1541
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
@@ -1576,17 +1576,17 @@ function ns(e, t, r, n, o, a) {
|
|
|
1576
1576
|
onMousedown: (c) => a.selectOption(i),
|
|
1577
1577
|
key: l,
|
|
1578
1578
|
id: l + 1
|
|
1579
|
-
},
|
|
1579
|
+
}, g(i.name || i.id || "-"), 43, as))), 128))
|
|
1580
1580
|
])
|
|
1581
1581
|
], 512), [
|
|
1582
1582
|
[F, o.optionsShown]
|
|
1583
1583
|
])
|
|
1584
1584
|
])
|
|
1585
|
-
])) :
|
|
1585
|
+
])) : f("", !0)
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const Td = /* @__PURE__ */ $(Gr, [["render", ns]]), os = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1682,13 +1682,13 @@ function is(e, t, r, n, o, a) {
|
|
|
1682
1682
|
r.icon ? (d(), u("i", {
|
|
1683
1683
|
key: 0,
|
|
1684
1684
|
class: b([r.icon, "text-base"])
|
|
1685
|
-
}, null, 2)) :
|
|
1685
|
+
}, null, 2)) : f("", !0),
|
|
1686
1686
|
A(e.$slots, "default")
|
|
1687
1687
|
]),
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const Ad = /* @__PURE__ */ $(os, [["render", is]]), 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), gs = ["for"], hs = /* @__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"], bs = ["required", "name", "id", "type"], ps = { class: "gl-span-form-error" }, ys = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Id = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1762,7 +1762,7 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1762
1762
|
key: 0,
|
|
1763
1763
|
class: b(e.field_name)
|
|
1764
1764
|
}, [
|
|
1765
|
-
s("h3", ds,
|
|
1765
|
+
s("h3", ds, g(e.label_name), 1),
|
|
1766
1766
|
O(s("input", {
|
|
1767
1767
|
type: "hidden",
|
|
1768
1768
|
"data-i18n": "true",
|
|
@@ -1770,17 +1770,17 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1770
1770
|
id: e.field_name + "_i18n",
|
|
1771
1771
|
ref_key: "input_translate",
|
|
1772
1772
|
ref: i,
|
|
1773
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
1773
|
+
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
1774
1774
|
}, null, 8, us), [
|
|
1775
1775
|
[V, l.inputTranslateValue]
|
|
1776
1776
|
]),
|
|
1777
1777
|
s("p", {
|
|
1778
1778
|
id: e.field_name,
|
|
1779
1779
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1780
|
-
},
|
|
1780
|
+
}, g(e.model_value), 9, cs),
|
|
1781
1781
|
fs
|
|
1782
|
-
], 2)) :
|
|
1783
|
-
e.show ?
|
|
1782
|
+
], 2)) : f("", !0),
|
|
1783
|
+
e.show ? f("", !0) : (d(), u("div", {
|
|
1784
1784
|
key: 1,
|
|
1785
1785
|
class: b(["mb-4", e.field_name])
|
|
1786
1786
|
}, [
|
|
@@ -1791,7 +1791,7 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1791
1791
|
required: e.is_required
|
|
1792
1792
|
}),
|
|
1793
1793
|
for: e.field_name
|
|
1794
|
-
},
|
|
1794
|
+
}, g(e.label_name), 11, gs),
|
|
1795
1795
|
hs,
|
|
1796
1796
|
s("input", {
|
|
1797
1797
|
class: "mb-4",
|
|
@@ -1799,7 +1799,7 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1799
1799
|
"data-i18n": "true",
|
|
1800
1800
|
name: e.field_name + "_i18n",
|
|
1801
1801
|
id: e.field_name + "_i18n",
|
|
1802
|
-
onInput: c[1] || (c[1] = (
|
|
1802
|
+
onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
|
|
1803
1803
|
ref_key: "input_translate",
|
|
1804
1804
|
ref: i
|
|
1805
1805
|
}, null, 40, ms),
|
|
@@ -1812,19 +1812,19 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1812
1812
|
" gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
|
|
1813
1813
|
}),
|
|
1814
1814
|
type: e.type,
|
|
1815
|
-
onInput: c[2] || (c[2] = (
|
|
1816
|
-
onKeydown: c[3] || (c[3] = (
|
|
1815
|
+
onInput: c[2] || (c[2] = (h) => l.$emit("update:modelValue", h.target.value)),
|
|
1816
|
+
onKeydown: c[3] || (c[3] = (h) => l.$emit("keydown", h)),
|
|
1817
1817
|
ref_key: "input",
|
|
1818
1818
|
ref: a,
|
|
1819
1819
|
rows: "4"
|
|
1820
1820
|
}, `
|
|
1821
1821
|
`, 42, bs),
|
|
1822
|
-
s("span", ps,
|
|
1823
|
-
s("small", ys,
|
|
1822
|
+
s("span", ps, g(e.error_message), 1),
|
|
1823
|
+
s("small", ys, g(e.description), 1)
|
|
1824
1824
|
], 2))
|
|
1825
1825
|
], 64));
|
|
1826
1826
|
}
|
|
1827
|
-
}, _s = { 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" },
|
|
1827
|
+
}, _s = { 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" }, Md = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1902,7 +1902,7 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1902
1902
|
key: 0,
|
|
1903
1903
|
class: b(e.field_name)
|
|
1904
1904
|
}, [
|
|
1905
|
-
s("h3", _s,
|
|
1905
|
+
s("h3", _s, g(e.label_name), 1),
|
|
1906
1906
|
O(s("input", {
|
|
1907
1907
|
type: "hidden",
|
|
1908
1908
|
"data-i18n": "true",
|
|
@@ -1910,17 +1910,17 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1910
1910
|
id: e.field_name + "_i18n",
|
|
1911
1911
|
ref_key: "input_translate",
|
|
1912
1912
|
ref: i,
|
|
1913
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
1913
|
+
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
1914
1914
|
}, null, 8, vs), [
|
|
1915
1915
|
[V, l.inputTranslateValue]
|
|
1916
1916
|
]),
|
|
1917
1917
|
s("p", {
|
|
1918
1918
|
id: e.field_name,
|
|
1919
1919
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1920
|
-
},
|
|
1920
|
+
}, g(e.model_value), 9, xs),
|
|
1921
1921
|
ws
|
|
1922
|
-
], 2)) :
|
|
1923
|
-
e.show ?
|
|
1922
|
+
], 2)) : f("", !0),
|
|
1923
|
+
e.show ? f("", !0) : (d(), u("div", {
|
|
1924
1924
|
key: 1,
|
|
1925
1925
|
class: b(["mb-4", e.field_name])
|
|
1926
1926
|
}, [
|
|
@@ -1931,7 +1931,7 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1931
1931
|
required: e.is_required
|
|
1932
1932
|
}),
|
|
1933
1933
|
for: e.field_name
|
|
1934
|
-
},
|
|
1934
|
+
}, g(e.label_name), 11, ks),
|
|
1935
1935
|
$s,
|
|
1936
1936
|
s("input", {
|
|
1937
1937
|
class: "mb-4",
|
|
@@ -1939,7 +1939,7 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1939
1939
|
"data-i18n": "true",
|
|
1940
1940
|
name: e.field_name + "_i18n",
|
|
1941
1941
|
id: e.field_name + "_i18n",
|
|
1942
|
-
onInput: c[1] || (c[1] = (
|
|
1942
|
+
onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
|
|
1943
1943
|
ref_key: "input_translate",
|
|
1944
1944
|
ref: i
|
|
1945
1945
|
}, null, 40, Cs),
|
|
@@ -1951,19 +1951,19 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1951
1951
|
" gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
|
|
1952
1952
|
}]),
|
|
1953
1953
|
type: e.type,
|
|
1954
|
-
onInput: c[2] || (c[2] = (
|
|
1955
|
-
onKeydown: c[3] || (c[3] = (
|
|
1954
|
+
onInput: c[2] || (c[2] = (h) => l.$emit("update:modelValue", h.target.value)),
|
|
1955
|
+
onKeydown: c[3] || (c[3] = (h) => l.$emit("keydown", h)),
|
|
1956
1956
|
ref_key: "input",
|
|
1957
1957
|
ref: a,
|
|
1958
1958
|
rows: "4"
|
|
1959
1959
|
}, `
|
|
1960
1960
|
`, 42, Ss),
|
|
1961
|
-
s("span", Ds,
|
|
1962
|
-
s("small", Os,
|
|
1961
|
+
s("span", Ds, g(e.error_message), 1),
|
|
1962
|
+
s("small", Os, g(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"], Ts = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), As = ["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" },
|
|
1966
|
+
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], Ts = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), As = ["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" }, Nd = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2037,24 +2037,24 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2037
2037
|
key: 0,
|
|
2038
2038
|
class: b(e.field_name)
|
|
2039
2039
|
}, [
|
|
2040
|
-
s("h3", Ps,
|
|
2040
|
+
s("h3", Ps, g(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",
|
|
2045
2045
|
id: e.field_name + "_i18n",
|
|
2046
2046
|
ref: "input_translate_s",
|
|
2047
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
2047
|
+
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
2048
2048
|
}, null, 8, Es), [
|
|
2049
2049
|
[V, l.inputTranslateValue]
|
|
2050
2050
|
]),
|
|
2051
2051
|
s("p", {
|
|
2052
2052
|
id: e.field_name,
|
|
2053
2053
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2054
|
-
},
|
|
2054
|
+
}, g(e.model_value), 9, js),
|
|
2055
2055
|
Ts
|
|
2056
|
-
], 2)) :
|
|
2057
|
-
e.show ?
|
|
2056
|
+
], 2)) : f("", !0),
|
|
2057
|
+
e.show ? f("", !0) : (d(), u("div", {
|
|
2058
2058
|
key: 1,
|
|
2059
2059
|
class: b(["mb-4", e.field_name])
|
|
2060
2060
|
}, [
|
|
@@ -2065,7 +2065,7 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2065
2065
|
required: e.is_required
|
|
2066
2066
|
}),
|
|
2067
2067
|
for: e.field_name
|
|
2068
|
-
},
|
|
2068
|
+
}, g(e.label_name), 11, As),
|
|
2069
2069
|
Is,
|
|
2070
2070
|
s("input", {
|
|
2071
2071
|
class: "mb-4",
|
|
@@ -2073,7 +2073,7 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2073
2073
|
"data-i18n": "true",
|
|
2074
2074
|
name: e.field_name + "_i18n",
|
|
2075
2075
|
id: e.field_name + "_i18n",
|
|
2076
|
-
onInput: c[1] || (c[1] = (
|
|
2076
|
+
onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
|
|
2077
2077
|
ref_key: "input_translate",
|
|
2078
2078
|
ref: i
|
|
2079
2079
|
}, null, 40, Ms),
|
|
@@ -2086,17 +2086,17 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2086
2086
|
" gl-input-form-invalid form-input-translation mt-2 ": e.error_message !== ""
|
|
2087
2087
|
}),
|
|
2088
2088
|
type: e.type,
|
|
2089
|
-
onInput: c[2] || (c[2] = (
|
|
2090
|
-
onKeydown: c[3] || (c[3] = (
|
|
2089
|
+
onInput: c[2] || (c[2] = (h) => l.$emit("update:modelValue", h.target.value)),
|
|
2090
|
+
onKeydown: c[3] || (c[3] = (h) => l.$emit("keydown", h)),
|
|
2091
2091
|
ref_key: "input",
|
|
2092
2092
|
ref: a
|
|
2093
2093
|
}, null, 42, Ns),
|
|
2094
|
-
s("span", Vs,
|
|
2095
|
-
s("small", Ls,
|
|
2094
|
+
s("span", Vs, g(e.error_message), 1),
|
|
2095
|
+
s("small", Ls, g(e.description), 1)
|
|
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" }, Vd = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2155,11 +2155,11 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2155
2155
|
key: 0,
|
|
2156
2156
|
class: b(e.field_name)
|
|
2157
2157
|
}, [
|
|
2158
|
-
s("h3", Bs,
|
|
2159
|
-
s("p", Gs,
|
|
2158
|
+
s("h3", Bs, g(e.label_name), 1),
|
|
2159
|
+
s("p", Gs, g(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
|
|
2160
2160
|
Fs
|
|
2161
|
-
], 2)) :
|
|
2162
|
-
e.show ?
|
|
2161
|
+
], 2)) : f("", !0),
|
|
2162
|
+
e.show ? f("", !0) : (d(), u("div", {
|
|
2163
2163
|
key: 1,
|
|
2164
2164
|
class: b(["mb-4", e.field_name])
|
|
2165
2165
|
}, [
|
|
@@ -2170,7 +2170,7 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2170
2170
|
required: e.is_required
|
|
2171
2171
|
}),
|
|
2172
2172
|
for: e.field_name
|
|
2173
|
-
},
|
|
2173
|
+
}, g(e.label_name), 11, Rs),
|
|
2174
2174
|
O(s("input", {
|
|
2175
2175
|
required: e.is_required,
|
|
2176
2176
|
name: e.field_name,
|
|
@@ -2180,15 +2180,15 @@ const jd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2180
2180
|
"gl-input-form-invalid": e.error_message !== ""
|
|
2181
2181
|
}),
|
|
2182
2182
|
type: e.type,
|
|
2183
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
2184
|
-
onKeydown: c[1] || (c[1] = (
|
|
2183
|
+
"onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
|
|
2184
|
+
onKeydown: c[1] || (c[1] = (h) => l.$emit("keydown", h)),
|
|
2185
2185
|
ref_key: "input",
|
|
2186
2186
|
ref: a
|
|
2187
2187
|
}, null, 42, Us), [
|
|
2188
2188
|
[tt, i.value]
|
|
2189
2189
|
]),
|
|
2190
|
-
s("span", qs,
|
|
2191
|
-
s("small", zs,
|
|
2190
|
+
s("span", qs, g(e.error_message), 1),
|
|
2191
|
+
s("small", zs, g(e.description), 1)
|
|
2192
2192
|
], 2))
|
|
2193
2193
|
], 64));
|
|
2194
2194
|
}
|
|
@@ -2217,7 +2217,7 @@ function ea(e, t, r, n, o, a) {
|
|
|
2217
2217
|
s("i", {
|
|
2218
2218
|
class: b([i.icon, "mr-1 text-base"])
|
|
2219
2219
|
}, null, 2),
|
|
2220
|
-
w(" " +
|
|
2220
|
+
w(" " + g(i.title), 1)
|
|
2221
2221
|
], 2)
|
|
2222
2222
|
], 8, Ys))), 128))
|
|
2223
2223
|
])
|
|
@@ -2232,7 +2232,7 @@ function ea(e, t, r, n, o, a) {
|
|
|
2232
2232
|
])
|
|
2233
2233
|
], 64);
|
|
2234
2234
|
}
|
|
2235
|
-
const
|
|
2235
|
+
const Ld = /* @__PURE__ */ $(Hs, [["render", ea]]), ta = {
|
|
2236
2236
|
props: ["title"],
|
|
2237
2237
|
setup() {
|
|
2238
2238
|
return {
|
|
@@ -2247,7 +2247,7 @@ function sa(e, t, r, n, o, a) {
|
|
|
2247
2247
|
[F, r.title == n.selectedTitle]
|
|
2248
2248
|
]);
|
|
2249
2249
|
}
|
|
2250
|
-
const
|
|
2250
|
+
const Bd = /* @__PURE__ */ $(ta, [["render", sa]]), aa = {
|
|
2251
2251
|
props: {
|
|
2252
2252
|
elements_to_show_prop: {
|
|
2253
2253
|
type: Number,
|
|
@@ -2309,7 +2309,7 @@ const Vd = /* @__PURE__ */ $(ta, [["render", sa]]), aa = {
|
|
|
2309
2309
|
const r = (o) => {
|
|
2310
2310
|
t.style.cursor = "grabbing";
|
|
2311
2311
|
const a = (l) => {
|
|
2312
|
-
const c = l.clientX || l.touches && l.touches[0] && l.touches[0].clientX,
|
|
2312
|
+
const c = l.clientX || l.touches && l.touches[0] && l.touches[0].clientX, h = l.clientY || l.touches && l.touches[0] && l.touches[0].clientY, m = c - e.initialX, y = h - e.initialY;
|
|
2313
2313
|
Math.abs(m) > Math.abs(y) ? (l.preventDefault(), Math.abs(m) >= 70 && (m < 0 ? e.next() : e.prev(), e.initialX = c)) : t.style.cursor = "grab", Math.abs(y) > Math.abs(m) && (t.style.cursor = "grab");
|
|
2314
2314
|
}, i = () => {
|
|
2315
2315
|
document.removeEventListener("mousemove", a), document.removeEventListener("touchmove", a), document.removeEventListener("mouseup", i), document.removeEventListener("touchend", i), t.style.cursor = "grab";
|
|
@@ -2543,11 +2543,11 @@ function dn(e, t, r, n, o, a) {
|
|
|
2543
2543
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2544
2544
|
onClick: t[0] || (t[0] = (i) => a.prev())
|
|
2545
2545
|
}, [
|
|
2546
|
-
r.direction_property == "ltr" ? (d(), u("svg", ia, ua)) :
|
|
2547
|
-
r.direction_property == "rtl" ? (d(), u("svg", ca, ga)) :
|
|
2546
|
+
r.direction_property == "ltr" ? (d(), u("svg", ia, ua)) : f("", !0),
|
|
2547
|
+
r.direction_property == "rtl" ? (d(), u("svg", ca, ga)) : f("", !0)
|
|
2548
2548
|
])
|
|
2549
2549
|
])
|
|
2550
|
-
])) :
|
|
2550
|
+
])) : f("", !0),
|
|
2551
2551
|
s("div", {
|
|
2552
2552
|
class: b(["overflow-hidden", a.sliderContainerAction()]),
|
|
2553
2553
|
id: "sliderContainer_" + e.Random_string
|
|
@@ -2565,11 +2565,11 @@ function dn(e, t, r, n, o, a) {
|
|
|
2565
2565
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2566
2566
|
onClick: t[1] || (t[1] = N((i) => a.prev(), ["stop"]))
|
|
2567
2567
|
}, [
|
|
2568
|
-
r.direction_property == "ltr" ? (d(), u("svg", pa, _a)) :
|
|
2569
|
-
r.direction_property == "rtl" ? (d(), u("svg", va, wa)) :
|
|
2568
|
+
r.direction_property == "ltr" ? (d(), u("svg", pa, _a)) : f("", !0),
|
|
2569
|
+
r.direction_property == "rtl" ? (d(), u("svg", va, wa)) : f("", !0)
|
|
2570
2570
|
])
|
|
2571
2571
|
])
|
|
2572
|
-
], 2)) :
|
|
2572
|
+
], 2)) : f("", !0),
|
|
2573
2573
|
A(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,
|
|
@@ -2580,11 +2580,11 @@ function dn(e, t, r, n, o, a) {
|
|
|
2580
2580
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2581
2581
|
onClick: t[2] || (t[2] = N((i) => a.next(), ["stop"]))
|
|
2582
2582
|
}, [
|
|
2583
|
-
r.direction_property == "ltr" ? (d(), u("svg", $a, Sa)) :
|
|
2584
|
-
r.direction_property == "rtl" ? (d(), u("svg", Da, Pa)) :
|
|
2583
|
+
r.direction_property == "ltr" ? (d(), u("svg", $a, Sa)) : f("", !0),
|
|
2584
|
+
r.direction_property == "rtl" ? (d(), u("svg", Da, Pa)) : f("", !0)
|
|
2585
2585
|
])
|
|
2586
2586
|
])
|
|
2587
|
-
], 2)) :
|
|
2587
|
+
], 2)) : f("", !0)
|
|
2588
2588
|
], 8, ma),
|
|
2589
2589
|
r.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
|
|
2590
2590
|
key: 0,
|
|
@@ -2596,7 +2596,7 @@ function dn(e, t, r, n, o, a) {
|
|
|
2596
2596
|
key: i,
|
|
2597
2597
|
onClick: (l) => a.setDot(i)
|
|
2598
2598
|
}, Ta, 10, Ea))), 128))
|
|
2599
|
-
], 2)) :
|
|
2599
|
+
], 2)) : f("", !0),
|
|
2600
2600
|
r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Aa, [
|
|
2601
2601
|
s("div", {
|
|
2602
2602
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
@@ -2615,8 +2615,8 @@ function dn(e, t, r, n, o, a) {
|
|
|
2615
2615
|
class: b(["p-3 rounded-full arrow_button_styles", r.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2616
2616
|
onClick: t[3] || (t[3] = (i) => a.prev())
|
|
2617
2617
|
}, [
|
|
2618
|
-
r.direction_property == "ltr" ? (d(), u("svg", Ga, Ra)) :
|
|
2619
|
-
r.direction_property == "rtl" ? (d(), u("svg", Ua, za)) :
|
|
2618
|
+
r.direction_property == "ltr" ? (d(), u("svg", Ga, Ra)) : f("", !0),
|
|
2619
|
+
r.direction_property == "rtl" ? (d(), u("svg", Ua, za)) : f("", !0)
|
|
2620
2620
|
], 2)
|
|
2621
2621
|
])
|
|
2622
2622
|
]),
|
|
@@ -2626,13 +2626,13 @@ function dn(e, t, r, n, o, a) {
|
|
|
2626
2626
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2627
2627
|
onClick: t[4] || (t[4] = (i) => a.next())
|
|
2628
2628
|
}, [
|
|
2629
|
-
r.direction_property == "ltr" ? (d(), u("svg", Ka, Ya)) :
|
|
2630
|
-
r.direction_property == "rtl" ? (d(), u("svg", Xa, Qa)) :
|
|
2629
|
+
r.direction_property == "ltr" ? (d(), u("svg", Ka, Ya)) : f("", !0),
|
|
2630
|
+
r.direction_property == "rtl" ? (d(), u("svg", Xa, Qa)) : f("", !0)
|
|
2631
2631
|
])
|
|
2632
2632
|
])
|
|
2633
2633
|
])
|
|
2634
|
-
])) :
|
|
2635
|
-
])) :
|
|
2634
|
+
])) : f("", !0)
|
|
2635
|
+
])) : f("", !0)
|
|
2636
2636
|
], 10, ha),
|
|
2637
2637
|
e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", en, [
|
|
2638
2638
|
s("div", tn, [
|
|
@@ -2640,15 +2640,15 @@ function dn(e, t, r, n, o, a) {
|
|
|
2640
2640
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2641
2641
|
onClick: t[5] || (t[5] = (i) => a.next())
|
|
2642
2642
|
}, [
|
|
2643
|
-
r.direction_property == "ltr" ? (d(), u("svg", rn, an)) :
|
|
2644
|
-
r.direction_property == "rtl" ? (d(), u("svg", nn, ln)) :
|
|
2643
|
+
r.direction_property == "ltr" ? (d(), u("svg", rn, an)) : f("", !0),
|
|
2644
|
+
r.direction_property == "rtl" ? (d(), u("svg", nn, ln)) : f("", !0)
|
|
2645
2645
|
])
|
|
2646
2646
|
])
|
|
2647
|
-
])) :
|
|
2647
|
+
])) : f("", !0)
|
|
2648
2648
|
], 10, na)
|
|
2649
2649
|
]);
|
|
2650
2650
|
}
|
|
2651
|
-
const
|
|
2651
|
+
const Gd = /* @__PURE__ */ $(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"
|
|
@@ -2668,7 +2668,7 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2668
2668
|
])
|
|
2669
2669
|
], -1), mn = [
|
|
2670
2670
|
hn
|
|
2671
|
-
], bn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" },
|
|
2671
|
+
], bn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Fd = {
|
|
2672
2672
|
__name: "GlModal",
|
|
2673
2673
|
props: {
|
|
2674
2674
|
is_open: {
|
|
@@ -2709,7 +2709,7 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2709
2709
|
}, [
|
|
2710
2710
|
s("div", cn, [
|
|
2711
2711
|
s("div", fn, [
|
|
2712
|
-
s("h5", gn,
|
|
2712
|
+
s("h5", gn, g(e.title), 1),
|
|
2713
2713
|
s("button", {
|
|
2714
2714
|
type: "button",
|
|
2715
2715
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
@@ -2736,7 +2736,7 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2736
2736
|
[F, e.is_open]
|
|
2737
2737
|
]);
|
|
2738
2738
|
}
|
|
2739
|
-
}, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { 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" },
|
|
2739
|
+
}, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { 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" }, Rd = {
|
|
2740
2740
|
__name: "GlToggleBox",
|
|
2741
2741
|
props: {
|
|
2742
2742
|
is_required: {
|
|
@@ -2793,7 +2793,7 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2793
2793
|
}, [
|
|
2794
2794
|
s("div", pn, [
|
|
2795
2795
|
s("li", yn, [
|
|
2796
|
-
w(
|
|
2796
|
+
w(g(e.label_name) + " ", 1),
|
|
2797
2797
|
s("label", _n, [
|
|
2798
2798
|
s("input", {
|
|
2799
2799
|
type: "checkbox",
|
|
@@ -2812,13 +2812,13 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2812
2812
|
])
|
|
2813
2813
|
]),
|
|
2814
2814
|
wn
|
|
2815
|
-
], 2)) :
|
|
2816
|
-
e.show ?
|
|
2815
|
+
], 2)) : f("", !0),
|
|
2816
|
+
e.show ? f("", !0) : (d(), u("div", {
|
|
2817
2817
|
key: 1,
|
|
2818
2818
|
class: b(["mb-4", e.field_name])
|
|
2819
2819
|
}, [
|
|
2820
2820
|
s("li", kn, [
|
|
2821
|
-
w(
|
|
2821
|
+
w(g(e.label_name) + " ", 1),
|
|
2822
2822
|
s("label", $n, [
|
|
2823
2823
|
O(s("input", {
|
|
2824
2824
|
type: "checkbox",
|
|
@@ -2836,8 +2836,8 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2836
2836
|
Sn
|
|
2837
2837
|
])
|
|
2838
2838
|
]),
|
|
2839
|
-
s("span", Dn,
|
|
2840
|
-
s("small", On,
|
|
2839
|
+
s("span", Dn, g(e.error_message), 1),
|
|
2840
|
+
s("small", On, g(e.description), 1)
|
|
2841
2841
|
], 2))
|
|
2842
2842
|
], 64));
|
|
2843
2843
|
}
|
|
@@ -2878,7 +2878,7 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2878
2878
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2879
2879
|
}, null, -1), Wn = [
|
|
2880
2880
|
Kn
|
|
2881
|
-
], Yn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Xn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2881
|
+
], Yn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Xn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ud = {
|
|
2882
2882
|
__name: "GlDropdown",
|
|
2883
2883
|
props: {
|
|
2884
2884
|
modelValue: {
|
|
@@ -2938,9 +2938,9 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2938
2938
|
},
|
|
2939
2939
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
2940
2940
|
setup(e, { emit: t }) {
|
|
2941
|
-
const r = e, n = t, o = S(null), a = S({}), i = S(0), l = S(!1), c = S(""),
|
|
2941
|
+
const r = e, n = t, o = S(null), a = S({}), i = S(0), l = S(!1), c = S(""), h = S("");
|
|
2942
2942
|
R(() => {
|
|
2943
|
-
|
|
2943
|
+
h.value = L(), r.show || (document.body.addEventListener("click", (p) => {
|
|
2944
2944
|
ze(p);
|
|
2945
2945
|
}), document.addEventListener("keypress", (p) => {
|
|
2946
2946
|
p.key === "Enter" && p.target.form && p.preventDefault();
|
|
@@ -2981,14 +2981,14 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2981
2981
|
return p !== null && typeof p == "object" && Object.keys(p).length > 0;
|
|
2982
2982
|
}
|
|
2983
2983
|
function ze(p) {
|
|
2984
|
-
p.target.id != r.field_name + "search" +
|
|
2984
|
+
p.target.id != r.field_name + "search" + h.value && p.target.id != r.field_name && !p.target.classList.contains("showOptions") && (pe(), i.value = 0);
|
|
2985
2985
|
}
|
|
2986
2986
|
function me(p) {
|
|
2987
|
-
const D = `${p}${
|
|
2987
|
+
const D = `${p}${h.value}`, E = document.getElementById(D);
|
|
2988
2988
|
E && E.scrollIntoView();
|
|
2989
2989
|
}
|
|
2990
2990
|
function He(p) {
|
|
2991
|
-
const D = `${p}${
|
|
2991
|
+
const D = `${p}${h.value}`, E = document.getElementById(D);
|
|
2992
2992
|
E && E.click();
|
|
2993
2993
|
}
|
|
2994
2994
|
function Ze(p) {
|
|
@@ -3017,7 +3017,7 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3017
3017
|
function re() {
|
|
3018
3018
|
r.show || (c.value = "", l.value = !0, ot(() => {
|
|
3019
3019
|
var p = document.getElementById(
|
|
3020
|
-
`${r.field_name}search${
|
|
3020
|
+
`${r.field_name}search${h.value}`
|
|
3021
3021
|
);
|
|
3022
3022
|
p && p.focus();
|
|
3023
3023
|
}));
|
|
@@ -3039,13 +3039,13 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3039
3039
|
key: 0,
|
|
3040
3040
|
class: b(e.field_name)
|
|
3041
3041
|
}, [
|
|
3042
|
-
s("h3", Pn,
|
|
3042
|
+
s("h3", Pn, g(e.label_name), 1),
|
|
3043
3043
|
s("p", En, [
|
|
3044
|
-
s("span", jn,
|
|
3044
|
+
s("span", jn, g((E = y.value) == null ? void 0 : E.name), 1)
|
|
3045
3045
|
]),
|
|
3046
3046
|
Tn
|
|
3047
|
-
], 2)) :
|
|
3048
|
-
e.show ?
|
|
3047
|
+
], 2)) : f("", !0),
|
|
3048
|
+
e.show ? f("", !0) : (d(), u("div", {
|
|
3049
3049
|
key: 1,
|
|
3050
3050
|
class: b(["mb-4", e.field_name])
|
|
3051
3051
|
}, [
|
|
@@ -3063,7 +3063,7 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3063
3063
|
"gl-label-form-invalid": e.error_message !== "",
|
|
3064
3064
|
required: e.is_required
|
|
3065
3065
|
})
|
|
3066
|
-
},
|
|
3066
|
+
}, g(e.label_name), 3)) : f("", !0),
|
|
3067
3067
|
s("div", Mn, [
|
|
3068
3068
|
s("div", Nn, [
|
|
3069
3069
|
s("input", {
|
|
@@ -3100,7 +3100,7 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3100
3100
|
type: "search",
|
|
3101
3101
|
"onUpdate:modelValue": D[3] || (D[3] = (T) => c.value = T),
|
|
3102
3102
|
ref: o.value,
|
|
3103
|
-
id: `${e.field_name}search${
|
|
3103
|
+
id: `${e.field_name}search${h.value}`,
|
|
3104
3104
|
onKeydown: C,
|
|
3105
3105
|
onBlur: D[4] || (D[4] = (T) => pe()),
|
|
3106
3106
|
autocomplete: "off",
|
|
@@ -3119,11 +3119,11 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3119
3119
|
onClick: (Xe) => be(T),
|
|
3120
3120
|
onMousedown: (Xe) => be(T),
|
|
3121
3121
|
key: se,
|
|
3122
|
-
id: `${se + 1}${
|
|
3122
|
+
id: `${se + 1}${h.value}`
|
|
3123
3123
|
}, [
|
|
3124
3124
|
s("div", Hn, [
|
|
3125
|
-
((_e = y.value) == null ? void 0 : _e.id) === T.id ? (d(), u("svg", Zn, Wn)) :
|
|
3126
|
-
s("span", null,
|
|
3125
|
+
((_e = y.value) == null ? void 0 : _e.id) === T.id ? (d(), u("svg", Zn, Wn)) : f("", !0),
|
|
3126
|
+
s("span", null, g(T.name || T.id || "-"), 1)
|
|
3127
3127
|
])
|
|
3128
3128
|
], 42, zn);
|
|
3129
3129
|
}), 128))
|
|
@@ -3132,14 +3132,14 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3132
3132
|
[F, l.value]
|
|
3133
3133
|
])
|
|
3134
3134
|
])
|
|
3135
|
-
])) :
|
|
3136
|
-
s("span", Yn,
|
|
3137
|
-
s("small", Xn,
|
|
3135
|
+
])) : f("", !0),
|
|
3136
|
+
s("span", Yn, g(e.error_message), 1),
|
|
3137
|
+
s("small", Xn, g(e.description), 1)
|
|
3138
3138
|
], 2))
|
|
3139
3139
|
], 64);
|
|
3140
3140
|
};
|
|
3141
3141
|
}
|
|
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" },
|
|
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" }, qd = {
|
|
3143
3143
|
__name: "GlTextarea",
|
|
3144
3144
|
props: {
|
|
3145
3145
|
is_required: {
|
|
@@ -3193,14 +3193,14 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3193
3193
|
key: 0,
|
|
3194
3194
|
class: b(e.field_name)
|
|
3195
3195
|
}, [
|
|
3196
|
-
s("h3", Jn,
|
|
3196
|
+
s("h3", Jn, g(e.label_name), 1),
|
|
3197
3197
|
s("p", {
|
|
3198
3198
|
id: e.field_name,
|
|
3199
3199
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3200
|
-
},
|
|
3200
|
+
}, g(e.model_value), 9, Qn),
|
|
3201
3201
|
eo
|
|
3202
|
-
], 2)) :
|
|
3203
|
-
e.show ?
|
|
3202
|
+
], 2)) : f("", !0),
|
|
3203
|
+
e.show ? f("", !0) : (d(), u("div", {
|
|
3204
3204
|
key: 1,
|
|
3205
3205
|
class: b(["mb-4", e.field_name])
|
|
3206
3206
|
}, [
|
|
@@ -3211,7 +3211,7 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3211
3211
|
required: e.is_required
|
|
3212
3212
|
}),
|
|
3213
3213
|
for: e.field_name
|
|
3214
|
-
},
|
|
3214
|
+
}, g(e.label_name), 11, to),
|
|
3215
3215
|
s("textarea", {
|
|
3216
3216
|
required: e.is_required,
|
|
3217
3217
|
name: e.field_name,
|
|
@@ -3227,8 +3227,8 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3227
3227
|
rows: "4",
|
|
3228
3228
|
placeholder: e.place_holder
|
|
3229
3229
|
}, null, 42, ro),
|
|
3230
|
-
s("span", so,
|
|
3231
|
-
s("small", ao,
|
|
3230
|
+
s("span", so, g(e.error_message), 1),
|
|
3231
|
+
s("small", ao, g(e.description), 1)
|
|
3232
3232
|
], 2))
|
|
3233
3233
|
], 64));
|
|
3234
3234
|
}
|
|
@@ -3286,8 +3286,8 @@ const Ld = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3286
3286
|
return this.lastPage;
|
|
3287
3287
|
for (var e = this.currentPage, t = this.lastPage, r = this.limit, n = e - r, o = e + r + 1, a = [], i = [], l, c = 1; c <= t; c++)
|
|
3288
3288
|
(c === 1 || c === t || c >= n && c < o) && a.push(c);
|
|
3289
|
-
return a.forEach(function(
|
|
3290
|
-
l && (
|
|
3289
|
+
return a.forEach(function(h) {
|
|
3290
|
+
l && (h - l === 2 ? i.push(l + 1) : h - l !== 1 && i.push("...")), i.push(h), l = h;
|
|
3291
3291
|
}), i;
|
|
3292
3292
|
}
|
|
3293
3293
|
},
|
|
@@ -3421,13 +3421,13 @@ function vo(e, t, r, n, o, a) {
|
|
|
3421
3421
|
s("div", lo, [
|
|
3422
3422
|
l.computed.total > l.computed.perPage ? (d(), u("span", io, [
|
|
3423
3423
|
w(" Showing "),
|
|
3424
|
-
s("span", uo,
|
|
3424
|
+
s("span", uo, g(l.computed.from), 1),
|
|
3425
3425
|
w(" to "),
|
|
3426
|
-
s("span", co,
|
|
3426
|
+
s("span", co, g(l.computed.to), 1),
|
|
3427
3427
|
w(" of "),
|
|
3428
|
-
s("span", fo,
|
|
3428
|
+
s("span", fo, g(l.computed.total), 1),
|
|
3429
3429
|
w(" Entries ")
|
|
3430
|
-
])) :
|
|
3430
|
+
])) : f("", !0),
|
|
3431
3431
|
l.computed.total > l.computed.perPage ? (d(), u("ul", W({ key: 1 }, e.$attrs, {
|
|
3432
3432
|
class: ["flex items-center h-8 -space-x-px text-sm", {
|
|
3433
3433
|
"pagination-sm": r.size == "small",
|
|
@@ -3451,10 +3451,10 @@ function vo(e, t, r, n, o, a) {
|
|
|
3451
3451
|
mo
|
|
3452
3452
|
])
|
|
3453
3453
|
], 16, go)
|
|
3454
|
-
], 2)) :
|
|
3455
|
-
(d(!0), u(v, null, k(l.computed.pageRange, (c,
|
|
3454
|
+
], 2)) : f("", !0),
|
|
3455
|
+
(d(!0), u(v, null, k(l.computed.pageRange, (c, h) => (d(), u("li", {
|
|
3456
3456
|
class: b(["", { active: c == l.computed.currentPage }]),
|
|
3457
|
-
key:
|
|
3457
|
+
key: h
|
|
3458
3458
|
}, [
|
|
3459
3459
|
s("a", W({
|
|
3460
3460
|
class: "",
|
|
@@ -3462,7 +3462,7 @@ function vo(e, t, r, n, o, a) {
|
|
|
3462
3462
|
}, ae(l.pageButtonEvents(c), !0), {
|
|
3463
3463
|
"aria-current": c == l.computed.currentPage ? "page" : null,
|
|
3464
3464
|
class: c == l.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
3465
|
-
}),
|
|
3465
|
+
}), g(c), 17, bo)
|
|
3466
3466
|
], 2))), 128)),
|
|
3467
3467
|
l.computed.nextPageUrl || r.showDisabled ? (d(), u("li", {
|
|
3468
3468
|
key: 1,
|
|
@@ -3479,8 +3479,8 @@ function vo(e, t, r, n, o, a) {
|
|
|
3479
3479
|
_o
|
|
3480
3480
|
])
|
|
3481
3481
|
], 16, po)
|
|
3482
|
-
], 2)) :
|
|
3483
|
-
], 16)) :
|
|
3482
|
+
], 2)) : f("", !0)
|
|
3483
|
+
], 16)) : f("", !0)
|
|
3484
3484
|
])
|
|
3485
3485
|
]),
|
|
3486
3486
|
_: 3
|
|
@@ -3671,15 +3671,15 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3671
3671
|
s("table", Ao, [
|
|
3672
3672
|
s("thead", Io, [
|
|
3673
3673
|
s("tr", null, [
|
|
3674
|
-
(d(!0), u(v, null, k(r.columns, (c,
|
|
3675
|
-
key:
|
|
3674
|
+
(d(!0), u(v, null, k(r.columns, (c, h) => (d(), u("th", {
|
|
3675
|
+
key: h,
|
|
3676
3676
|
onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
|
|
3677
3677
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3678
3678
|
}, [
|
|
3679
|
-
w(
|
|
3679
|
+
w(g(c.field_label) + " ", 1),
|
|
3680
3680
|
o.sortField === c.field_name ? (d(), u("span", No, [
|
|
3681
3681
|
o.sortOrder === "asc" ? (d(), u("i", Vo)) : (d(), u("i", Lo))
|
|
3682
|
-
])) :
|
|
3682
|
+
])) : f("", !0)
|
|
3683
3683
|
], 8, Mo))), 128))
|
|
3684
3684
|
])
|
|
3685
3685
|
]),
|
|
@@ -3688,9 +3688,9 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3688
3688
|
s("td", {
|
|
3689
3689
|
colspan: r.columns.length
|
|
3690
3690
|
}, Ro, 8, Go)
|
|
3691
|
-
])) :
|
|
3692
|
-
o.isLoading ?
|
|
3693
|
-
key:
|
|
3691
|
+
])) : f("", !0),
|
|
3692
|
+
o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 }, k(o.itemLists.data, (c, h) => (d(), u("tr", {
|
|
3693
|
+
key: h,
|
|
3694
3694
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
3695
3695
|
}, [
|
|
3696
3696
|
(d(!0), u(v, null, k(r.columns, (m, y) => (d(), u("td", {
|
|
@@ -3707,7 +3707,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3707
3707
|
tdProps: m.tdProps,
|
|
3708
3708
|
onDeleteAction: t[3] || (t[3] = (x) => a.GetItemLists())
|
|
3709
3709
|
}, null, 40, ["row", "field", "xprops", "tdProps"])) : (d(), u(v, { key: 1 }, [
|
|
3710
|
-
w(
|
|
3710
|
+
w(g(c[m.field_name]), 1)
|
|
3711
3711
|
], 64))
|
|
3712
3712
|
])
|
|
3713
3713
|
], 8, Uo))), 128))
|
|
@@ -3727,7 +3727,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3727
3727
|
])
|
|
3728
3728
|
]);
|
|
3729
3729
|
}
|
|
3730
|
-
const
|
|
3730
|
+
const zd = /* @__PURE__ */ $(wo, [["render", Ho]]), Zo = {
|
|
3731
3731
|
components: {},
|
|
3732
3732
|
props: {
|
|
3733
3733
|
data: Array,
|
|
@@ -3920,11 +3920,11 @@ function jl(e, t, r, n, o, a) {
|
|
|
3920
3920
|
s("tr", null, [
|
|
3921
3921
|
(d(!0), u(v, null, k(r.columns, (l, c) => (d(), u("th", {
|
|
3922
3922
|
key: c,
|
|
3923
|
-
onClick: (
|
|
3923
|
+
onClick: (h) => a.sort(l),
|
|
3924
3924
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
3925
3925
|
}, [
|
|
3926
|
-
w(
|
|
3927
|
-
o.sortKey === l ? (d(), u("span", ll,
|
|
3926
|
+
w(g(l) + " ", 1),
|
|
3927
|
+
o.sortKey === l ? (d(), u("span", ll, g(o.sortOrder === 1 ? "▲" : "▼"), 1)) : f("", !0)
|
|
3928
3928
|
], 8, ol))), 128))
|
|
3929
3929
|
])
|
|
3930
3930
|
]),
|
|
@@ -3933,9 +3933,9 @@ function jl(e, t, r, n, o, a) {
|
|
|
3933
3933
|
key: c,
|
|
3934
3934
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"
|
|
3935
3935
|
}, [
|
|
3936
|
-
(d(!0), u(v, null, k(r.columns, (
|
|
3936
|
+
(d(!0), u(v, null, k(r.columns, (h, m) => (d(), u("td", {
|
|
3937
3937
|
key: m,
|
|
3938
|
-
"data-label":
|
|
3938
|
+
"data-label": h,
|
|
3939
3939
|
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"
|
|
3940
3940
|
}, [
|
|
3941
3941
|
s("p", {
|
|
@@ -3966,11 +3966,11 @@ function jl(e, t, r, n, o, a) {
|
|
|
3966
3966
|
s("div", null, [
|
|
3967
3967
|
s("p", ml, [
|
|
3968
3968
|
w(" Showing "),
|
|
3969
|
-
s("span", bl,
|
|
3969
|
+
s("span", bl, g(a.firstItemIndex), 1),
|
|
3970
3970
|
w(" to "),
|
|
3971
|
-
s("span", pl,
|
|
3971
|
+
s("span", pl, g(a.lastItemIndex), 1),
|
|
3972
3972
|
w(" of "),
|
|
3973
|
-
s("span", yl,
|
|
3973
|
+
s("span", yl, g(a.filteredData.length), 1),
|
|
3974
3974
|
w(" entries ")
|
|
3975
3975
|
])
|
|
3976
3976
|
]),
|
|
@@ -3992,7 +3992,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
3992
3992
|
href: "#",
|
|
3993
3993
|
onClick: (c) => a.goToPage(l),
|
|
3994
3994
|
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"
|
|
3995
|
-
},
|
|
3995
|
+
}, g(l), 9, Cl)) : f("", !0)
|
|
3996
3996
|
]),
|
|
3997
3997
|
s("li", null, [
|
|
3998
3998
|
o.currentPage === l ? (d(), u("a", {
|
|
@@ -4001,7 +4001,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
4001
4001
|
onClick: (c) => a.goToPage(l),
|
|
4002
4002
|
"aria-current": "page",
|
|
4003
4003
|
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"
|
|
4004
|
-
},
|
|
4004
|
+
}, g(l), 9, Sl)) : f("", !0)
|
|
4005
4005
|
])
|
|
4006
4006
|
], 64))), 128)),
|
|
4007
4007
|
s("li", null, [
|
|
@@ -4019,7 +4019,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
4019
4019
|
])
|
|
4020
4020
|
]);
|
|
4021
4021
|
}
|
|
4022
|
-
const
|
|
4022
|
+
const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
4023
4023
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4024
4024
|
role: "alert"
|
|
4025
4025
|
}, Al = {
|
|
@@ -4100,10 +4100,10 @@ const qd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4100
4100
|
});
|
|
4101
4101
|
const n = t;
|
|
4102
4102
|
return (o, a) => (d(), u("div", Tl, [
|
|
4103
|
-
r.type === "success" ? (d(), u("div", Al, Nl)) :
|
|
4104
|
-
r.type === "error" ? (d(), u("div", Vl, Gl)) :
|
|
4105
|
-
r.type === "warning" ? (d(), u("div", Fl, ql)) :
|
|
4106
|
-
s("div", zl,
|
|
4103
|
+
r.type === "success" ? (d(), u("div", Al, Nl)) : f("", !0),
|
|
4104
|
+
r.type === "error" ? (d(), u("div", Vl, Gl)) : f("", !0),
|
|
4105
|
+
r.type === "warning" ? (d(), u("div", Fl, ql)) : f("", !0),
|
|
4106
|
+
s("div", zl, g(r.message), 1),
|
|
4107
4107
|
s("button", {
|
|
4108
4108
|
onClick: a[0] || (a[0] = (i) => n("remove")),
|
|
4109
4109
|
type: "button",
|
|
@@ -4130,7 +4130,7 @@ const qd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4130
4130
|
}, $e = {
|
|
4131
4131
|
state: de,
|
|
4132
4132
|
methods: Yl
|
|
4133
|
-
},
|
|
4133
|
+
}, Zd = {
|
|
4134
4134
|
__name: "GlToastList",
|
|
4135
4135
|
setup(e) {
|
|
4136
4136
|
function t(r) {
|
|
@@ -4172,7 +4172,7 @@ const qd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4172
4172
|
], ei = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ti = {
|
|
4173
4173
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4174
4174
|
"aria-labelledby": "dropdownDividerButton"
|
|
4175
|
-
}, ri = { key: 0 }, si = ["href"], ai = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ni = { key: 1 }, oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4175
|
+
}, ri = { key: 0 }, si = ["href"], ai = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ni = { key: 1 }, oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Kd = {
|
|
4176
4176
|
__name: "DatatableAction",
|
|
4177
4177
|
props: {
|
|
4178
4178
|
field: {
|
|
@@ -4204,7 +4204,7 @@ const qd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4204
4204
|
o.value = !0;
|
|
4205
4205
|
}, c = () => {
|
|
4206
4206
|
a.value = !1;
|
|
4207
|
-
},
|
|
4207
|
+
}, h = () => {
|
|
4208
4208
|
a.value = !0;
|
|
4209
4209
|
}, m = t, y = () => {
|
|
4210
4210
|
axios.delete(`${n.xprops.route}/${n.row.id}`).then(() => {
|
|
@@ -4241,24 +4241,24 @@ const qd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4241
4241
|
ai,
|
|
4242
4242
|
w(" Edit")
|
|
4243
4243
|
], 8, si)
|
|
4244
|
-
])) :
|
|
4244
|
+
])) : f("", !0),
|
|
4245
4245
|
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ni, [
|
|
4246
4246
|
s("a", {
|
|
4247
4247
|
href: "#",
|
|
4248
|
-
onClick: N(
|
|
4248
|
+
onClick: N(h, ["prevent"]),
|
|
4249
4249
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4250
4250
|
}, [
|
|
4251
4251
|
oi,
|
|
4252
4252
|
w(" Remove")
|
|
4253
4253
|
])
|
|
4254
|
-
])) :
|
|
4254
|
+
])) : f("", !0)
|
|
4255
4255
|
])
|
|
4256
4256
|
], 512), [
|
|
4257
4257
|
[F, o.value]
|
|
4258
4258
|
])
|
|
4259
4259
|
])), [
|
|
4260
4260
|
[L, i]
|
|
4261
|
-
]) :
|
|
4261
|
+
]) : f("", !0)
|
|
4262
4262
|
], 64);
|
|
4263
4263
|
};
|
|
4264
4264
|
}
|
|
@@ -4278,7 +4278,7 @@ const qd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4278
4278
|
], ui = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ci = {
|
|
4279
4279
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4280
4280
|
"aria-labelledby": "dropdownDividerButton"
|
|
4281
|
-
}, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4281
|
+
}, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Wd = {
|
|
4282
4282
|
__name: "DatatableDeleteAction",
|
|
4283
4283
|
props: {
|
|
4284
4284
|
field: {
|
|
@@ -4310,7 +4310,7 @@ const qd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4310
4310
|
o.value = !0;
|
|
4311
4311
|
}, c = () => {
|
|
4312
4312
|
a.value = !1;
|
|
4313
|
-
},
|
|
4313
|
+
}, h = () => {
|
|
4314
4314
|
a.value = !0;
|
|
4315
4315
|
}, m = t, y = () => {
|
|
4316
4316
|
axios.delete(`${n.xprops.route}/${n.row.id}`).then(() => {
|
|
@@ -4342,20 +4342,20 @@ const qd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
|
|
|
4342
4342
|
x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", fi, [
|
|
4343
4343
|
s("a", {
|
|
4344
4344
|
href: "#",
|
|
4345
|
-
onClick: N(
|
|
4345
|
+
onClick: N(h, ["prevent"]),
|
|
4346
4346
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4347
4347
|
}, [
|
|
4348
4348
|
gi,
|
|
4349
4349
|
w(" Remove")
|
|
4350
4350
|
])
|
|
4351
|
-
])) :
|
|
4351
|
+
])) : f("", !0)
|
|
4352
4352
|
])
|
|
4353
4353
|
], 512), [
|
|
4354
4354
|
[F, o.value]
|
|
4355
4355
|
])
|
|
4356
4356
|
])), [
|
|
4357
4357
|
[L, i]
|
|
4358
|
-
]) :
|
|
4358
|
+
]) : f("", !0)
|
|
4359
4359
|
], 64);
|
|
4360
4360
|
};
|
|
4361
4361
|
}
|
|
@@ -4438,10 +4438,10 @@ function vi(e, t, r, n, o, a) {
|
|
|
4438
4438
|
_i,
|
|
4439
4439
|
w(" Download ")
|
|
4440
4440
|
], 8, yi)
|
|
4441
|
-
])) :
|
|
4441
|
+
])) : f("", !0)
|
|
4442
4442
|
]);
|
|
4443
4443
|
}
|
|
4444
|
-
const
|
|
4444
|
+
const Yd = /* @__PURE__ */ $(hi, [["render", vi]]), xi = {
|
|
4445
4445
|
props: ["field", "row"],
|
|
4446
4446
|
computed: {
|
|
4447
4447
|
isArray() {
|
|
@@ -4514,10 +4514,10 @@ function Di(e, t, r, n, o, a) {
|
|
|
4514
4514
|
Si,
|
|
4515
4515
|
w(" Download ")
|
|
4516
4516
|
], 8, Ci)
|
|
4517
|
-
])) :
|
|
4517
|
+
])) : f("", !0)
|
|
4518
4518
|
]);
|
|
4519
4519
|
}
|
|
4520
|
-
const
|
|
4520
|
+
const Xd = /* @__PURE__ */ $(xi, [["render", Di]]), Oi = {
|
|
4521
4521
|
props: ["field", "row", "tdProps"]
|
|
4522
4522
|
}, Pi = { key: 0 }, Ei = ["innerHTML"];
|
|
4523
4523
|
function ji(e, t, r, n, o, a) {
|
|
@@ -4526,9 +4526,9 @@ function ji(e, t, r, n, o, a) {
|
|
|
4526
4526
|
class: "w-full",
|
|
4527
4527
|
innerHTML: r.row[r.field]
|
|
4528
4528
|
}, null, 8, Ei)
|
|
4529
|
-
])) :
|
|
4529
|
+
])) : f("", !0);
|
|
4530
4530
|
}
|
|
4531
|
-
const
|
|
4531
|
+
const Jd = /* @__PURE__ */ $(Oi, [["render", ji]]), Ti = {
|
|
4532
4532
|
props: ["field", "row", "tdProps"],
|
|
4533
4533
|
computed: {
|
|
4534
4534
|
entry() {
|
|
@@ -4551,10 +4551,10 @@ function Mi(e, t, r, n, o, a) {
|
|
|
4551
4551
|
a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4552
4552
|
key: l,
|
|
4553
4553
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4554
|
-
},
|
|
4554
|
+
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Ii, g(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
|
|
4555
4555
|
]);
|
|
4556
4556
|
}
|
|
4557
|
-
const
|
|
4557
|
+
const Qd = /* @__PURE__ */ $(Ti, [["render", Mi]]), Ni = {
|
|
4558
4558
|
props: ["field", "row", "tdProps"]
|
|
4559
4559
|
}, Vi = { key: 0 }, Li = { class: "m-1 d-inline-block" }, Bi = ["href", "title"], Gi = ["src", "alt", "title"];
|
|
4560
4560
|
function Fi(e, t, r, n, o, a) {
|
|
@@ -4572,9 +4572,9 @@ function Fi(e, t, r, n, o, a) {
|
|
|
4572
4572
|
}, null, 8, Gi)
|
|
4573
4573
|
], 8, Bi)
|
|
4574
4574
|
])
|
|
4575
|
-
])) :
|
|
4575
|
+
])) : f("", !0);
|
|
4576
4576
|
}
|
|
4577
|
-
const
|
|
4577
|
+
const eu = /* @__PURE__ */ $(Ni, [["render", Fi], ["__scopeId", "data-v-3a28c02c"]]), Ri = {
|
|
4578
4578
|
props: ["field", "row", "tdProps"],
|
|
4579
4579
|
computed: {
|
|
4580
4580
|
isActive() {
|
|
@@ -4593,17 +4593,19 @@ function Ki(e, t, r, n, o, a) {
|
|
|
4593
4593
|
a.isActive ? (d(), u("span", qi, [
|
|
4594
4594
|
zi,
|
|
4595
4595
|
w(" Active ")
|
|
4596
|
-
])) : a.isActive ?
|
|
4596
|
+
])) : a.isActive ? f("", !0) : (d(), u("span", Hi, [
|
|
4597
4597
|
Zi,
|
|
4598
4598
|
w(" Inactive ")
|
|
4599
4599
|
]))
|
|
4600
4600
|
]);
|
|
4601
4601
|
}
|
|
4602
|
-
const
|
|
4602
|
+
const tu = /* @__PURE__ */ $(Ri, [["render", Ki]]), Wi = {
|
|
4603
4603
|
props: ["field", "row", "tdProps"],
|
|
4604
4604
|
computed: {
|
|
4605
4605
|
hasLabelColor(e) {
|
|
4606
|
-
const t = this.tdProps.status_general_labels_color.find(
|
|
4606
|
+
const t = this.tdProps.status_general_labels_color.find(
|
|
4607
|
+
(r) => r.label === this.row[this.field]
|
|
4608
|
+
);
|
|
4607
4609
|
return t ? t.class : "";
|
|
4608
4610
|
}
|
|
4609
4611
|
}
|
|
@@ -4619,28 +4621,38 @@ const Qd = /* @__PURE__ */ $(Ri, [["render", Ki]]), Wi = {
|
|
|
4619
4621
|
}, rd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), sd = {
|
|
4620
4622
|
key: 3,
|
|
4621
4623
|
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"
|
|
4622
|
-
}, ad = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1)
|
|
4623
|
-
|
|
4624
|
+
}, ad = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), nd = {
|
|
4625
|
+
key: 4,
|
|
4626
|
+
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
4627
|
+
}, od = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
4628
|
+
/* @__PURE__ */ s("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
4629
|
+
/* @__PURE__ */ s("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
4630
|
+
], -1);
|
|
4631
|
+
function ld(e, t, r, n, o, a) {
|
|
4624
4632
|
return d(), u("div", Yi, [
|
|
4625
4633
|
a.hasLabelColor == "green" ? (d(), u("span", Xi, [
|
|
4626
4634
|
Ji,
|
|
4627
|
-
w(" " +
|
|
4628
|
-
])) :
|
|
4635
|
+
w(" " + g(this.row[this.field]), 1)
|
|
4636
|
+
])) : f("", !0),
|
|
4629
4637
|
a.hasLabelColor == "red" ? (d(), u("span", Qi, [
|
|
4630
4638
|
ed,
|
|
4631
|
-
w(" " +
|
|
4632
|
-
])) :
|
|
4639
|
+
w(" " + g(this.row[this.field]), 1)
|
|
4640
|
+
])) : f("", !0),
|
|
4633
4641
|
a.hasLabelColor == "yellow" ? (d(), u("span", td, [
|
|
4634
4642
|
rd,
|
|
4635
|
-
w(" " +
|
|
4636
|
-
])) :
|
|
4643
|
+
w(" " + g(this.row[this.field]), 1)
|
|
4644
|
+
])) : f("", !0),
|
|
4637
4645
|
a.hasLabelColor == "default" ? (d(), u("span", sd, [
|
|
4638
4646
|
ad,
|
|
4639
|
-
w(" " +
|
|
4640
|
-
])) :
|
|
4647
|
+
w(" " + g(this.row[this.field]), 1)
|
|
4648
|
+
])) : f("", !0),
|
|
4649
|
+
a.hasLabelColor == "animate" ? (d(), u("span", nd, [
|
|
4650
|
+
od,
|
|
4651
|
+
w(" " + g(this.row[this.field]), 1)
|
|
4652
|
+
])) : f("", !0)
|
|
4641
4653
|
]);
|
|
4642
4654
|
}
|
|
4643
|
-
const
|
|
4655
|
+
const ru = /* @__PURE__ */ $(Wi, [["render", ld]]), id = {
|
|
4644
4656
|
props: ["field", "row", "tdProps"],
|
|
4645
4657
|
computed: {
|
|
4646
4658
|
hasLabelColor() {
|
|
@@ -4661,44 +4673,44 @@ const eu = /* @__PURE__ */ $(Wi, [["render", nd]]), od = {
|
|
|
4661
4673
|
}
|
|
4662
4674
|
}
|
|
4663
4675
|
}
|
|
4664
|
-
},
|
|
4665
|
-
function
|
|
4666
|
-
return d(), u("div",
|
|
4676
|
+
}, dd = { class: "flex flex-wrap gap-2 text-nowrap" };
|
|
4677
|
+
function ud(e, t, r, n, o, a) {
|
|
4678
|
+
return d(), u("div", dd, [
|
|
4667
4679
|
a.hasLabelColor == "Default" ? (d(), u("span", {
|
|
4668
4680
|
key: 0,
|
|
4669
4681
|
class: b(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", a.badgeType])
|
|
4670
|
-
},
|
|
4682
|
+
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4671
4683
|
a.hasLabelColor == "Dark" ? (d(), u("span", {
|
|
4672
4684
|
key: 1,
|
|
4673
4685
|
class: b(["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])
|
|
4674
|
-
},
|
|
4686
|
+
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4675
4687
|
a.hasLabelColor == "Red" ? (d(), u("span", {
|
|
4676
4688
|
key: 2,
|
|
4677
4689
|
class: b(["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])
|
|
4678
|
-
},
|
|
4690
|
+
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4679
4691
|
a.hasLabelColor == "Green" ? (d(), u("span", {
|
|
4680
4692
|
key: 3,
|
|
4681
4693
|
class: b(["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])
|
|
4682
|
-
},
|
|
4694
|
+
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4683
4695
|
a.hasLabelColor == "Yellow" ? (d(), u("span", {
|
|
4684
4696
|
key: 4,
|
|
4685
4697
|
class: b(["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])
|
|
4686
|
-
},
|
|
4698
|
+
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4687
4699
|
a.hasLabelColor == "Indigo" ? (d(), u("span", {
|
|
4688
4700
|
key: 5,
|
|
4689
4701
|
class: b(["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])
|
|
4690
|
-
},
|
|
4702
|
+
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4691
4703
|
a.hasLabelColor == "Purple" ? (d(), u("span", {
|
|
4692
4704
|
key: 6,
|
|
4693
4705
|
class: b(["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])
|
|
4694
|
-
},
|
|
4706
|
+
}, g(this.row[this.field]), 3)) : f("", !0),
|
|
4695
4707
|
a.hasLabelColor == "Pink" ? (d(), u("span", {
|
|
4696
4708
|
key: 7,
|
|
4697
4709
|
class: b(["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])
|
|
4698
|
-
},
|
|
4710
|
+
}, g(this.row[this.field]), 3)) : f("", !0)
|
|
4699
4711
|
]);
|
|
4700
4712
|
}
|
|
4701
|
-
const
|
|
4713
|
+
const su = /* @__PURE__ */ $(id, [["render", ud]]), cd = {
|
|
4702
4714
|
props: ["field", "row", "tdProps"],
|
|
4703
4715
|
computed: {
|
|
4704
4716
|
formattedDate() {
|
|
@@ -4713,11 +4725,11 @@ const tu = /* @__PURE__ */ $(od, [["render", id]]), dd = {
|
|
|
4713
4725
|
return this.row[this.field] === 1;
|
|
4714
4726
|
}
|
|
4715
4727
|
}
|
|
4716
|
-
},
|
|
4717
|
-
function
|
|
4718
|
-
return d(), u("div",
|
|
4728
|
+
}, fd = { class: "w-full" };
|
|
4729
|
+
function gd(e, t, r, n, o, a) {
|
|
4730
|
+
return d(), u("div", fd, g(a.formattedDate), 1);
|
|
4719
4731
|
}
|
|
4720
|
-
const
|
|
4732
|
+
const au = /* @__PURE__ */ $(cd, [["render", gd]]), hd = {
|
|
4721
4733
|
props: ["isOpen", "title", "button_text"],
|
|
4722
4734
|
methods: {
|
|
4723
4735
|
confirmAction() {
|
|
@@ -4727,40 +4739,40 @@ const ru = /* @__PURE__ */ $(dd, [["render", cd]]), fd = {
|
|
|
4727
4739
|
this.$emit("cancel-action");
|
|
4728
4740
|
}
|
|
4729
4741
|
}
|
|
4730
|
-
},
|
|
4742
|
+
}, md = {
|
|
4731
4743
|
key: 0,
|
|
4732
4744
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4733
4745
|
role: "dialog",
|
|
4734
4746
|
"aria-modal": "true"
|
|
4735
|
-
},
|
|
4747
|
+
}, bd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, pd = /* @__PURE__ */ s("div", {
|
|
4736
4748
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4737
4749
|
"aria-hidden": "true"
|
|
4738
|
-
}, null, -1),
|
|
4750
|
+
}, null, -1), yd = /* @__PURE__ */ s("span", {
|
|
4739
4751
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4740
4752
|
"aria-hidden": "true"
|
|
4741
|
-
}, "", -1),
|
|
4742
|
-
function
|
|
4743
|
-
return r.isOpen ? (d(), u("div",
|
|
4744
|
-
s("div",
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
s("div",
|
|
4748
|
-
s("div",
|
|
4749
|
-
s("div",
|
|
4750
|
-
s("div",
|
|
4751
|
-
s("h3",
|
|
4752
|
-
s("div",
|
|
4753
|
+
}, "", -1), _d = { 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" }, vd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, xd = { class: "sm:flex sm:items-start" }, wd = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, kd = { class: "text-lg font-medium leading-6 text-gray-900" }, $d = { class: "mt-2" }, Cd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4754
|
+
function Sd(e, t, r, n, o, a) {
|
|
4755
|
+
return r.isOpen ? (d(), u("div", md, [
|
|
4756
|
+
s("div", bd, [
|
|
4757
|
+
pd,
|
|
4758
|
+
yd,
|
|
4759
|
+
s("div", _d, [
|
|
4760
|
+
s("div", vd, [
|
|
4761
|
+
s("div", xd, [
|
|
4762
|
+
s("div", wd, [
|
|
4763
|
+
s("h3", kd, g(r.title), 1),
|
|
4764
|
+
s("div", $d, [
|
|
4753
4765
|
A(e.$slots, "default")
|
|
4754
4766
|
])
|
|
4755
4767
|
])
|
|
4756
4768
|
])
|
|
4757
4769
|
]),
|
|
4758
|
-
s("div",
|
|
4770
|
+
s("div", Cd, [
|
|
4759
4771
|
s("button", {
|
|
4760
4772
|
onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
4761
4773
|
type: "button",
|
|
4762
4774
|
class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
|
|
4763
|
-
},
|
|
4775
|
+
}, g(r.button_text), 1),
|
|
4764
4776
|
s("button", {
|
|
4765
4777
|
onClick: t[1] || (t[1] = (...i) => a.cancelAction && a.cancelAction(...i)),
|
|
4766
4778
|
type: "button",
|
|
@@ -4769,43 +4781,43 @@ function $d(e, t, r, n, o, a) {
|
|
|
4769
4781
|
])
|
|
4770
4782
|
])
|
|
4771
4783
|
])
|
|
4772
|
-
])) :
|
|
4784
|
+
])) : f("", !0);
|
|
4773
4785
|
}
|
|
4774
|
-
const
|
|
4786
|
+
const nu = /* @__PURE__ */ $(hd, [["render", Sd]]);
|
|
4775
4787
|
export {
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4788
|
+
au as GLDatatableDateTime,
|
|
4789
|
+
Ad as GlButton,
|
|
4790
|
+
jd as GlCard,
|
|
4791
|
+
nu as GlConfirmationModal,
|
|
4792
|
+
Hd as GlDataTable,
|
|
4793
|
+
zd as GlDataTableServerSide,
|
|
4794
|
+
Kd as GlDatatableAction,
|
|
4795
|
+
Wd as GlDatatableDeleteAction,
|
|
4796
|
+
Yd as GlDatatableFileDownload,
|
|
4797
|
+
Xd as GlDatatableFiles,
|
|
4798
|
+
Jd as GlDatatableHtml,
|
|
4799
|
+
Qd as GlDatatableList,
|
|
4800
|
+
eu as GlDatatablePicture,
|
|
4801
|
+
tu as GlDatatableStatus,
|
|
4802
|
+
ru as GlDatatableStatusGeneral,
|
|
4803
|
+
su as GlDatatableStatusSpecficColor,
|
|
4792
4804
|
ue as GlDeleteConfirmationModal,
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4805
|
+
Ud as GlDropdown,
|
|
4806
|
+
Od as GlFilesUpload,
|
|
4807
|
+
Ed as GlLanguageSelector,
|
|
4808
|
+
Fd as GlModal,
|
|
4809
|
+
Gd as GlMultiItemSlide,
|
|
4810
|
+
Td as GlMultiSelectDropdown,
|
|
4811
|
+
Pd as GlNotify,
|
|
4812
|
+
Bd as GlTab,
|
|
4813
|
+
Ld as GlTabsWrapper,
|
|
4802
4814
|
xo as GlTailwindPagination,
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4815
|
+
Vd as GlTextInput,
|
|
4816
|
+
Nd as GlTextTranslate,
|
|
4817
|
+
qd as GlTextarea,
|
|
4818
|
+
Id as GlTextareaTranslate,
|
|
4819
|
+
Md as GlTinymceTranslate,
|
|
4808
4820
|
$e as GlToast,
|
|
4809
|
-
|
|
4810
|
-
|
|
4821
|
+
Zd as GlToastList,
|
|
4822
|
+
Rd as GlToggleBox
|
|
4811
4823
|
};
|