golden-logic-ui 1.0.93 → 1.0.95
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 +191 -195
- package/dist/golden-logic-ui.umd.cjs +3 -3
- 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 f, createStaticVNode as Qe, inject as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Qe, inject as Ce, watch as Y, effectScope as et, computed as L, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as h, withModifiers as N, withDirectives as D, vModelText as V, renderList as $, normalizeStyle as tt, 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 rt, provide as st, pushScopeId as at, popScopeId as nt, vModelCheckbox as ot, nextTick as lt, isRef as it, unref as De, toHandlers as ae, TransitionGroup as dt, resolveDirective as Oe, markRaw as ut } from "vue";
|
|
2
2
|
const k = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
@@ -50,7 +50,7 @@ function _t(e, t, r, n, o, a) {
|
|
|
50
50
|
])
|
|
51
51
|
])) : f("", !0);
|
|
52
52
|
}
|
|
53
|
-
const
|
|
53
|
+
const ue = /* @__PURE__ */ k(ct, [["render", _t]]);
|
|
54
54
|
function vt() {
|
|
55
55
|
return Pe().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
56
56
|
}
|
|
@@ -148,7 +148,7 @@ function Dt(e, t) {
|
|
|
148
148
|
*/
|
|
149
149
|
var Ee = "store";
|
|
150
150
|
function Ae(e) {
|
|
151
|
-
return e === void 0 && (e = null),
|
|
151
|
+
return e === void 0 && (e = null), Ce(e !== null ? e : Ee);
|
|
152
152
|
}
|
|
153
153
|
function U(e, t) {
|
|
154
154
|
Object.keys(e).forEach(function(r) {
|
|
@@ -179,9 +179,9 @@ function Te(e, t, r) {
|
|
|
179
179
|
function Ie(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
|
-
ee(e, r, [], e._modules.root, !0),
|
|
182
|
+
ee(e, r, [], e._modules.root, !0), ce(e, r, t);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function ce(e, t, r) {
|
|
185
185
|
var n = e._state, o = e._scope;
|
|
186
186
|
e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
187
187
|
var a = e._wrappedGetters, i = {}, l = {}, c = et(!0);
|
|
@@ -197,7 +197,7 @@ function fe(e, t, r) {
|
|
|
197
197
|
// for local getters
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
}), e._state =
|
|
200
|
+
}), e._state = Se({
|
|
201
201
|
data: t
|
|
202
202
|
}), e._scope = c, e.strict && It(e), n && r && e._withCommit(function() {
|
|
203
203
|
n.data = null;
|
|
@@ -206,7 +206,7 @@ function fe(e, t, r) {
|
|
|
206
206
|
function ee(e, t, r, n, o) {
|
|
207
207
|
var a = !r.length, i = e._modules.getNamespace(r);
|
|
208
208
|
if (n.namespaced && (e._modulesNamespaceMap[i] && process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate namespace " + i + " for the namespaced module " + r.join("/")), e._modulesNamespaceMap[i] = n), !a && !o) {
|
|
209
|
-
var l =
|
|
209
|
+
var l = fe(t, r.slice(0, -1)), c = r[r.length - 1];
|
|
210
210
|
e._withCommit(function() {
|
|
211
211
|
process.env.NODE_ENV !== "production" && c in l && console.warn(
|
|
212
212
|
'[vuex] state field "' + c + '" was overridden by a module with the same name at "' + r.join(".") + '"'
|
|
@@ -256,7 +256,7 @@ function Et(e, t, r) {
|
|
|
256
256
|
},
|
|
257
257
|
state: {
|
|
258
258
|
get: function() {
|
|
259
|
-
return
|
|
259
|
+
return fe(e.state, r);
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
}), o;
|
|
@@ -325,7 +325,7 @@ function It(e) {
|
|
|
325
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
|
-
function
|
|
328
|
+
function fe(e, t) {
|
|
329
329
|
return t.reduce(function(r, n) {
|
|
330
330
|
return r[n];
|
|
331
331
|
}, e);
|
|
@@ -333,7 +333,7 @@ function ge(e, t) {
|
|
|
333
333
|
function Q(e, t, r) {
|
|
334
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 Mt = "vuex bindings",
|
|
336
|
+
var Mt = "vuex bindings", ve = "vuex:mutations", ne = "vuex:actions", z = "vuex", Nt = 0;
|
|
337
337
|
function Vt(e, t) {
|
|
338
338
|
Dt(
|
|
339
339
|
{
|
|
@@ -347,13 +347,13 @@ function Vt(e, t) {
|
|
|
347
347
|
},
|
|
348
348
|
function(r) {
|
|
349
349
|
r.addTimelineLayer({
|
|
350
|
-
id:
|
|
350
|
+
id: ve,
|
|
351
351
|
label: "Vuex Mutations",
|
|
352
|
-
color:
|
|
352
|
+
color: xe
|
|
353
353
|
}), r.addTimelineLayer({
|
|
354
354
|
id: ne,
|
|
355
355
|
label: "Vuex Actions",
|
|
356
|
-
color:
|
|
356
|
+
color: xe
|
|
357
357
|
}), r.addInspector({
|
|
358
358
|
id: z,
|
|
359
359
|
label: "Vuex",
|
|
@@ -387,7 +387,7 @@ function Vt(e, t) {
|
|
|
387
387
|
}), t.subscribe(function(n, o) {
|
|
388
388
|
var a = {};
|
|
389
389
|
n.payload && (a.payload = n.payload), a.state = o, r.notifyComponentUpdate(), r.sendInspectorTree(z), r.sendInspectorState(z), r.addTimelineEvent({
|
|
390
|
-
layerId:
|
|
390
|
+
layerId: ve,
|
|
391
391
|
event: {
|
|
392
392
|
time: Date.now(),
|
|
393
393
|
title: n.type,
|
|
@@ -432,7 +432,7 @@ function Vt(e, t) {
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
-
var
|
|
435
|
+
var xe = 8702998, Lt = 6710886, Bt = 16777215, Ne = {
|
|
436
436
|
label: "namespaced",
|
|
437
437
|
textColor: Bt,
|
|
438
438
|
backgroundColor: Lt
|
|
@@ -634,7 +634,7 @@ function Fe(e, t, r) {
|
|
|
634
634
|
);
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
|
-
var
|
|
637
|
+
var we = {
|
|
638
638
|
assert: function(e) {
|
|
639
639
|
return typeof e == "function";
|
|
640
640
|
},
|
|
@@ -644,15 +644,15 @@ var ke = {
|
|
|
644
644
|
return typeof e == "function" || typeof e == "object" && typeof e.handler == "function";
|
|
645
645
|
},
|
|
646
646
|
expected: 'function or object with "handler" function'
|
|
647
|
-
},
|
|
648
|
-
getters:
|
|
649
|
-
mutations:
|
|
647
|
+
}, ke = {
|
|
648
|
+
getters: we,
|
|
649
|
+
mutations: we,
|
|
650
650
|
actions: Ut
|
|
651
651
|
};
|
|
652
652
|
function Re(e, t) {
|
|
653
|
-
Object.keys(
|
|
653
|
+
Object.keys(ke).forEach(function(r) {
|
|
654
654
|
if (t[r]) {
|
|
655
|
-
var n =
|
|
655
|
+
var n = ke[r];
|
|
656
656
|
U(t[r], function(o, a) {
|
|
657
657
|
I(
|
|
658
658
|
n.assert(o),
|
|
@@ -682,19 +682,19 @@ var A = function e(t) {
|
|
|
682
682
|
return g.call(i, x, S, B);
|
|
683
683
|
}, this.strict = o;
|
|
684
684
|
var m = this._modules.root.state;
|
|
685
|
-
ee(this, m, [], this._modules.root),
|
|
685
|
+
ee(this, m, [], this._modules.root), ce(this, m), n.forEach(function(y) {
|
|
686
686
|
return y(r);
|
|
687
687
|
});
|
|
688
|
-
},
|
|
688
|
+
}, ge = { state: { configurable: !0 } };
|
|
689
689
|
A.prototype.install = function(t, r) {
|
|
690
690
|
t.provide(r || Ee, this), t.config.globalProperties.$store = this;
|
|
691
691
|
var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
|
|
692
692
|
n && Vt(t, this);
|
|
693
693
|
};
|
|
694
|
-
|
|
694
|
+
ge.state.get = function() {
|
|
695
695
|
return this._state.data;
|
|
696
696
|
};
|
|
697
|
-
|
|
697
|
+
ge.state.set = function(e) {
|
|
698
698
|
process.env.NODE_ENV !== "production" && I(!1, "use store.replaceState() to explicit replace store state.");
|
|
699
699
|
};
|
|
700
700
|
A.prototype.commit = function(t, r, n) {
|
|
@@ -777,12 +777,12 @@ A.prototype.replaceState = function(t) {
|
|
|
777
777
|
});
|
|
778
778
|
};
|
|
779
779
|
A.prototype.registerModule = function(t, r, n) {
|
|
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),
|
|
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
|
A.prototype.unregisterModule = function(t) {
|
|
783
783
|
var r = this;
|
|
784
784
|
typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.unregister(t), this._withCommit(function() {
|
|
785
|
-
var n =
|
|
785
|
+
var n = fe(r.state, t.slice(0, -1));
|
|
786
786
|
delete n[t[t.length - 1]];
|
|
787
787
|
}), Ie(this);
|
|
788
788
|
};
|
|
@@ -796,10 +796,10 @@ A.prototype._withCommit = function(t) {
|
|
|
796
796
|
var r = this._committing;
|
|
797
797
|
this._committing = !0, t(), this._committing = r;
|
|
798
798
|
};
|
|
799
|
-
Object.defineProperties(A.prototype,
|
|
799
|
+
Object.defineProperties(A.prototype, ge);
|
|
800
800
|
var Ht = qe(function(e, t) {
|
|
801
801
|
var r = {};
|
|
802
|
-
return process.env.NODE_ENV !== "production" && !
|
|
802
|
+
return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
|
|
803
803
|
var o = n.key, a = n.val;
|
|
804
804
|
r[o] = function() {
|
|
805
805
|
var l = this.$store.state, c = this.$store.getters;
|
|
@@ -814,7 +814,7 @@ var Ht = qe(function(e, t) {
|
|
|
814
814
|
}), r;
|
|
815
815
|
}), zt = qe(function(e, t) {
|
|
816
816
|
var r = {};
|
|
817
|
-
return process.env.NODE_ENV !== "production" && !
|
|
817
|
+
return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
|
|
818
818
|
var o = n.key, a = n.val;
|
|
819
819
|
r[o] = function() {
|
|
820
820
|
for (var l = [], c = arguments.length; c--; )
|
|
@@ -831,13 +831,13 @@ var Ht = qe(function(e, t) {
|
|
|
831
831
|
}), r;
|
|
832
832
|
});
|
|
833
833
|
function Ue(e) {
|
|
834
|
-
return
|
|
834
|
+
return he(e) ? Array.isArray(e) ? e.map(function(t) {
|
|
835
835
|
return { key: t, val: t };
|
|
836
836
|
}) : Object.keys(e).map(function(t) {
|
|
837
837
|
return { key: t, val: e[t] };
|
|
838
838
|
}) : [];
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function he(e) {
|
|
841
841
|
return Array.isArray(e) || je(e);
|
|
842
842
|
}
|
|
843
843
|
function qe(e) {
|
|
@@ -851,7 +851,7 @@ function He(e, t, r) {
|
|
|
851
851
|
}
|
|
852
852
|
const Zt = {
|
|
853
853
|
components: {
|
|
854
|
-
DeleteConfirmationModal:
|
|
854
|
+
DeleteConfirmationModal: ue
|
|
855
855
|
},
|
|
856
856
|
props: {
|
|
857
857
|
is_required: {
|
|
@@ -1077,7 +1077,7 @@ function kr(e, t, r, n, o, a) {
|
|
|
1077
1077
|
s("span", sr, h(o.error_message_data), 1),
|
|
1078
1078
|
s("small", ar, h(r.description), 1),
|
|
1079
1079
|
o.files.length > 0 ? (d(), u("section", nr, [
|
|
1080
|
-
(d(!0), u(v, null,
|
|
1080
|
+
(d(!0), u(v, null, $(o.files, (l, c) => (d(), u("li", or, [
|
|
1081
1081
|
lr,
|
|
1082
1082
|
s("div", ir, [
|
|
1083
1083
|
s("div", dr, [
|
|
@@ -1094,7 +1094,7 @@ function kr(e, t, r, n, o, a) {
|
|
|
1094
1094
|
]))), 256))
|
|
1095
1095
|
])) : f("", !0),
|
|
1096
1096
|
s("section", gr, [
|
|
1097
|
-
(d(!0), u(v, null,
|
|
1097
|
+
(d(!0), u(v, null, $(o.uploadFileList, (l, c) => (d(), u("li", hr, [
|
|
1098
1098
|
s("div", mr, [
|
|
1099
1099
|
br,
|
|
1100
1100
|
s("div", pr, [
|
|
@@ -1121,7 +1121,7 @@ function kr(e, t, r, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const ou = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...Ht("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1213,7 +1213,7 @@ function Ar(e, t, r, n, o, a) {
|
|
|
1213
1213
|
}, Er, 2)
|
|
1214
1214
|
], 2)) : f("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const lu = /* @__PURE__ */ k($r, [["render", Ar]]), jr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1251,7 +1251,7 @@ const iu = /* @__PURE__ */ k($r, [["render", Ar]]), jr = {
|
|
|
1251
1251
|
}, Tr = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Ir = ["name", "value", "id", "checked"], Mr = ["for"];
|
|
1252
1252
|
function Nr(e, t, r, n, o, a) {
|
|
1253
1253
|
return d(), u("ul", Tr, [
|
|
1254
|
-
(d(!0), u(v, null,
|
|
1254
|
+
(d(!0), u(v, null, $(o.locals, (i, l) => (d(), u("li", null, [
|
|
1255
1255
|
s("input", {
|
|
1256
1256
|
type: "radio",
|
|
1257
1257
|
name: r.trans_selector_name,
|
|
@@ -1272,10 +1272,10 @@ function Nr(e, t, r, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const iu = /* @__PURE__ */ k(jr, [["render", Nr]]), Vr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Lr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Br = { class: "font-semibold text-black dark:text-white" }, Gr = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
|
-
},
|
|
1278
|
+
}, du = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1491,7 +1491,7 @@ function os(e, t, r, n, o, a) {
|
|
|
1491
1491
|
}, [
|
|
1492
1492
|
s("h3", Rr, h(r.label_name), 1),
|
|
1493
1493
|
s("p", Ur, [
|
|
1494
|
-
(d(!0), u(v, null,
|
|
1494
|
+
(d(!0), u(v, null, $(o.selected, (i, l) => (d(), u("span", qr, h(i.name), 1))), 256))
|
|
1495
1495
|
]),
|
|
1496
1496
|
Hr
|
|
1497
1497
|
], 2)) : f("", !0),
|
|
@@ -1499,7 +1499,7 @@ function os(e, t, r, n, o, a) {
|
|
|
1499
1499
|
key: 1,
|
|
1500
1500
|
class: b(["mb-4", r.field_name])
|
|
1501
1501
|
}, [
|
|
1502
|
-
(d(!0), u(v, null,
|
|
1502
|
+
(d(!0), u(v, null, $(o.selectedIds, (i, l) => (d(), u("input", {
|
|
1503
1503
|
type: "hidden",
|
|
1504
1504
|
name: r.field_name + "[]",
|
|
1505
1505
|
key: l,
|
|
@@ -1531,7 +1531,7 @@ function os(e, t, r, n, o, a) {
|
|
|
1531
1531
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1532
1532
|
onClick: t[2] || (t[2] = (i) => a.showOptions())
|
|
1533
1533
|
}, [
|
|
1534
|
-
(d(!0), u(v, null,
|
|
1534
|
+
(d(!0), u(v, null, $(o.selected, (i, l) => (d(), u("span", {
|
|
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
|
}, [
|
|
@@ -1567,7 +1567,7 @@ function os(e, t, r, n, o, a) {
|
|
|
1567
1567
|
])
|
|
1568
1568
|
]),
|
|
1569
1569
|
s("div", as, [
|
|
1570
|
-
(d(!0), u(v, null,
|
|
1570
|
+
(d(!0), u(v, null, $(a.filteredOptions, (i, l) => (d(), u("div", {
|
|
1571
1571
|
class: b([
|
|
1572
1572
|
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
1573
1573
|
l + 1 == o.count || a.isOptionSelected(i.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
@@ -1586,7 +1586,7 @@ function os(e, t, r, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const uu = /* @__PURE__ */ k(Fr, [["render", os]]), ls = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1688,7 +1688,7 @@ function ds(e, t, r, n, o, a) {
|
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const cu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold ptext-lg dark:text-white" }, cs = ["name", "id"], fs = ["id"], gs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), hs = ["for"], ms = /* @__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), bs = ["name", "id"], ps = ["required", "name", "id", "type"], ys = { class: "gl-span-form-error" }, _s = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, fu = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1746,7 +1746,7 @@ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1746
1746
|
},
|
|
1747
1747
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1748
1748
|
setup(e, { expose: t, emit: r }) {
|
|
1749
|
-
const n = e, o = r, a =
|
|
1749
|
+
const n = e, o = r, a = C(null), i = C(null);
|
|
1750
1750
|
return R(() => {
|
|
1751
1751
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus(), n.model_value && (o("update:modelValue", n.model_value), a.value.value = n.model_value), n.model_value_translate, n.translatable && axios.post("/admin/get_field_translations", {
|
|
1752
1752
|
model: n.translatable.model,
|
|
@@ -1824,7 +1824,7 @@ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1824
1824
|
], 2))
|
|
1825
1825
|
], 64));
|
|
1826
1826
|
}
|
|
1827
|
-
}, vs = { class: "font-bold ptext-lg dark:text-white" }, xs = ["name", "id"], ws = ["id"], ks = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $s = ["for"], Cs = /* @__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), Ss = ["name", "id"], Ds = ["name", "id", "type"], Os = { class: "gl-span-form-error" }, Ps = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1827
|
+
}, vs = { class: "font-bold ptext-lg dark:text-white" }, xs = ["name", "id"], ws = ["id"], ks = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $s = ["for"], Cs = /* @__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), Ss = ["name", "id"], Ds = ["name", "id", "type"], Os = { class: "gl-span-form-error" }, Ps = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, gu = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1882,7 +1882,7 @@ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1882
1882
|
},
|
|
1883
1883
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1884
1884
|
setup(e, { expose: t, emit: r }) {
|
|
1885
|
-
const n = e, o = r, a =
|
|
1885
|
+
const n = e, o = r, a = C(null), i = C(null);
|
|
1886
1886
|
return R(() => {
|
|
1887
1887
|
tinymce.init({
|
|
1888
1888
|
selector: "#" + n.field_name,
|
|
@@ -1963,7 +1963,7 @@ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
1963
1963
|
], 2))
|
|
1964
1964
|
], 64));
|
|
1965
1965
|
}
|
|
1966
|
-
}, Es = { class: "font-bold ptext-lg dark:text-white" }, As = ["name", "id"], js = ["id"], Ts = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Is = ["for"], Ms = /* @__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), Ns = ["name", "id"], Vs = ["required", "name", "id", "type"], Ls = { class: "gl-span-form-error" }, Bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1966
|
+
}, Es = { class: "font-bold ptext-lg dark:text-white" }, As = ["name", "id"], js = ["id"], Ts = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Is = ["for"], Ms = /* @__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), Ns = ["name", "id"], Vs = ["required", "name", "id", "type"], Ls = { class: "gl-span-form-error" }, Bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, hu = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2021,7 +2021,7 @@ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2021
2021
|
},
|
|
2022
2022
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
2023
2023
|
setup(e, { expose: t, emit: r }) {
|
|
2024
|
-
const n = e, o = r, a =
|
|
2024
|
+
const n = e, o = r, a = C(null), i = C(null);
|
|
2025
2025
|
return R(() => {
|
|
2026
2026
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus(), n.model_value && (o("update:modelValue", n.model_value), a.value.value = n.model_value), n.model_value_translate, n.translatable && axios.post("/admin/get_field_translations", {
|
|
2027
2027
|
model: n.translatable.model,
|
|
@@ -2096,7 +2096,7 @@ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2096
2096
|
], 2))
|
|
2097
2097
|
], 64));
|
|
2098
2098
|
}
|
|
2099
|
-
}, Gs = { class: "font-bold ptext-lg dark:text-white" }, Fs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Rs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Us = ["for"], qs = ["required", "name", "id", "type", "placeholder"], Hs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2099
|
+
}, Gs = { class: "font-bold ptext-lg dark:text-white" }, Fs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Rs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Us = ["for"], qs = ["required", "name", "id", "type", "placeholder"], Hs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, mu = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2142,7 +2142,7 @@ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2142
2142
|
},
|
|
2143
2143
|
emits: ["update:modelValue", "keydown"],
|
|
2144
2144
|
setup(e, { expose: t, emit: r }) {
|
|
2145
|
-
const n = e, o = r, a =
|
|
2145
|
+
const n = e, o = r, a = C(null);
|
|
2146
2146
|
R(() => {
|
|
2147
2147
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
|
|
2148
2148
|
});
|
|
@@ -2199,7 +2199,7 @@ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
|
|
|
2199
2199
|
}
|
|
2200
2200
|
}, Zs = {
|
|
2201
2201
|
setup(e, { slots: t }) {
|
|
2202
|
-
const r =
|
|
2202
|
+
const r = C(t.default().map((o) => o.props)), n = C(r.value[0].title);
|
|
2203
2203
|
return st("selectedTitle", n), {
|
|
2204
2204
|
tabs: r,
|
|
2205
2205
|
selectedTitle: n
|
|
@@ -2211,7 +2211,7 @@ function ta(e, t, r, n, o, a) {
|
|
|
2211
2211
|
s("div", Ks, [
|
|
2212
2212
|
s("div", Ws, [
|
|
2213
2213
|
s("ul", Ys, [
|
|
2214
|
-
(d(!0), u(v, null,
|
|
2214
|
+
(d(!0), u(v, null, $(n.tabs, (i) => (d(), u("li", {
|
|
2215
2215
|
key: i.title,
|
|
2216
2216
|
onClick: (l) => n.selectedTitle = i.title,
|
|
2217
2217
|
class: "flex-auto -mb-px text-center"
|
|
@@ -2237,11 +2237,11 @@ function ta(e, t, r, n, o, a) {
|
|
|
2237
2237
|
])
|
|
2238
2238
|
], 64);
|
|
2239
2239
|
}
|
|
2240
|
-
const
|
|
2240
|
+
const bu = /* @__PURE__ */ k(Zs, [["render", ta]]), ra = {
|
|
2241
2241
|
props: ["title"],
|
|
2242
2242
|
setup() {
|
|
2243
2243
|
return {
|
|
2244
|
-
selectedTitle:
|
|
2244
|
+
selectedTitle: Ce("selectedTitle")
|
|
2245
2245
|
};
|
|
2246
2246
|
}
|
|
2247
2247
|
}, sa = { class: "block" };
|
|
@@ -2252,7 +2252,7 @@ function aa(e, t, r, n, o, a) {
|
|
|
2252
2252
|
[F, r.title == n.selectedTitle]
|
|
2253
2253
|
]);
|
|
2254
2254
|
}
|
|
2255
|
-
const
|
|
2255
|
+
const pu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
|
|
2256
2256
|
props: {
|
|
2257
2257
|
elements_to_show_prop: {
|
|
2258
2258
|
type: Number,
|
|
@@ -2595,7 +2595,7 @@ function un(e, t, r, n, o, a) {
|
|
|
2595
2595
|
key: 0,
|
|
2596
2596
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2597
2597
|
}, [
|
|
2598
|
-
(d(!0), u(v, null,
|
|
2598
|
+
(d(!0), u(v, null, $(e.dotsNum, (i) => (d(), u("button", {
|
|
2599
2599
|
role: "button",
|
|
2600
2600
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2601
2601
|
key: i,
|
|
@@ -2606,7 +2606,7 @@ function un(e, t, r, n, o, a) {
|
|
|
2606
2606
|
s("div", {
|
|
2607
2607
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2608
2608
|
}, [
|
|
2609
|
-
(d(!0), u(v, null,
|
|
2609
|
+
(d(!0), u(v, null, $(e.dotsNum, (i) => (d(), u("button", {
|
|
2610
2610
|
role: "button",
|
|
2611
2611
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2612
2612
|
key: i,
|
|
@@ -2653,7 +2653,7 @@ function un(e, t, r, n, o, a) {
|
|
|
2653
2653
|
], 10, oa)
|
|
2654
2654
|
]);
|
|
2655
2655
|
}
|
|
2656
|
-
const
|
|
2656
|
+
const yu = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9"]]), cn = {
|
|
2657
2657
|
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",
|
|
2658
2658
|
tabindex: "-1",
|
|
2659
2659
|
"aria-hidden": "true"
|
|
@@ -2673,7 +2673,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2673
2673
|
])
|
|
2674
2674
|
], -1), bn = [
|
|
2675
2675
|
mn
|
|
2676
|
-
], 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" },
|
|
2676
|
+
], 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" }, _u = {
|
|
2677
2677
|
__name: "GlModal",
|
|
2678
2678
|
props: {
|
|
2679
2679
|
is_open: {
|
|
@@ -2741,7 +2741,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2741
2741
|
[F, e.is_open]
|
|
2742
2742
|
]);
|
|
2743
2743
|
}
|
|
2744
|
-
}, yn = { class: "mb-4" }, _n = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, vn = { class: "relative inline-flex items-center cursor-pointer" }, xn = ["name", "id", "checked"], wn = /* @__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), kn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $n = { 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" }, Cn = { class: "relative inline-flex items-center cursor-pointer" }, Sn = ["name", "id"], Dn = /* @__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), On = { class: "gl-span-form-error" }, Pn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2744
|
+
}, yn = { class: "mb-4" }, _n = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, vn = { class: "relative inline-flex items-center cursor-pointer" }, xn = ["name", "id", "checked"], wn = /* @__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), kn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $n = { 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" }, Cn = { class: "relative inline-flex items-center cursor-pointer" }, Sn = ["name", "id"], Dn = /* @__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), On = { class: "gl-span-form-error" }, Pn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, vu = {
|
|
2745
2745
|
__name: "GlToggleBox",
|
|
2746
2746
|
props: {
|
|
2747
2747
|
is_required: {
|
|
@@ -2783,7 +2783,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2783
2783
|
},
|
|
2784
2784
|
emits: ["update:modelValue"],
|
|
2785
2785
|
setup(e, { emit: t }) {
|
|
2786
|
-
const r = e, n = t, o =
|
|
2786
|
+
const r = e, n = t, o = C(null), a = L({
|
|
2787
2787
|
get() {
|
|
2788
2788
|
return r.modelValue;
|
|
2789
2789
|
},
|
|
@@ -2883,7 +2883,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2883
2883
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2884
2884
|
}, null, -1), Yn = [
|
|
2885
2885
|
Wn
|
|
2886
|
-
], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Jn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2886
|
+
], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Jn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, xu = {
|
|
2887
2887
|
__name: "GlDropdown",
|
|
2888
2888
|
props: {
|
|
2889
2889
|
modelValue: {
|
|
@@ -2943,7 +2943,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2943
2943
|
},
|
|
2944
2944
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
2945
2945
|
setup(e, { emit: t }) {
|
|
2946
|
-
const r = e, n = t, o =
|
|
2946
|
+
const r = e, n = t, o = C(null), a = C({}), i = C(0), l = C(!1), c = C(""), g = C("");
|
|
2947
2947
|
R(() => {
|
|
2948
2948
|
g.value = B(), r.show || (document.body.addEventListener("click", (p) => {
|
|
2949
2949
|
ze(p);
|
|
@@ -2986,9 +2986,9 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2986
2986
|
return p !== null && typeof p == "object" && Object.keys(p).length > 0;
|
|
2987
2987
|
}
|
|
2988
2988
|
function ze(p) {
|
|
2989
|
-
p.target.id != r.field_name + "search" + g.value && p.target.id != r.field_name && !p.target.classList.contains("showOptions") && (
|
|
2989
|
+
p.target.id != r.field_name + "search" + g.value && p.target.id != r.field_name && !p.target.classList.contains("showOptions") && (pe(), i.value = 0);
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function me(p) {
|
|
2992
2992
|
const O = `${p}${g.value}`, E = document.getElementById(O);
|
|
2993
2993
|
E && E.scrollIntoView();
|
|
2994
2994
|
}
|
|
@@ -2997,7 +2997,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
2997
2997
|
E && E.click();
|
|
2998
2998
|
}
|
|
2999
2999
|
function Ke(p) {
|
|
3000
|
-
p === "ArrowDown" && i.value < x.value.length && (i.value++,
|
|
3000
|
+
p === "ArrowDown" && i.value < x.value.length && (i.value++, me(i.value)), p === "ArrowUp" && i.value > 1 && (i.value--, me(i.value)), p === "Enter" && Ze(i.value);
|
|
3001
3001
|
}
|
|
3002
3002
|
function We() {
|
|
3003
3003
|
return r.options.map((p, O) => typeof p == "object" ? p : { id: p, name: p });
|
|
@@ -3016,7 +3016,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3016
3016
|
(p) => String(p.id) === String(r.modelValue)
|
|
3017
3017
|
) || {};
|
|
3018
3018
|
}
|
|
3019
|
-
function
|
|
3019
|
+
function be(p) {
|
|
3020
3020
|
a.value = p, l.value = !1, n("update:modelValue", a.value.id), n("selected", a.value), n("selectionChanged", a.value);
|
|
3021
3021
|
}
|
|
3022
3022
|
function re() {
|
|
@@ -3030,7 +3030,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3030
3030
|
function Xe() {
|
|
3031
3031
|
r.show || (a.value = {}, c.value = "", n("update:modelValue", ""), re());
|
|
3032
3032
|
}
|
|
3033
|
-
function
|
|
3033
|
+
function pe() {
|
|
3034
3034
|
a.value.id || (a.value = {}, c.value = ""), n("selected", a.value), l.value = !1;
|
|
3035
3035
|
}
|
|
3036
3036
|
return Y(c, () => {
|
|
@@ -3038,7 +3038,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3038
3038
|
}), Y(a, (p) => {
|
|
3039
3039
|
te(p) && n("update:modelValue", p.id);
|
|
3040
3040
|
}), (p, O) => {
|
|
3041
|
-
var E, G,
|
|
3041
|
+
var E, G, ye;
|
|
3042
3042
|
return d(), u(v, null, [
|
|
3043
3043
|
e.show ? (d(), u("div", {
|
|
3044
3044
|
key: 0,
|
|
@@ -3078,7 +3078,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3078
3078
|
}, "pl-8 pr-2 showOptions"]),
|
|
3079
3079
|
ref: e.field_name,
|
|
3080
3080
|
onClick: O[0] || (O[0] = (j) => re()),
|
|
3081
|
-
value: (
|
|
3081
|
+
value: (ye = y.value) == null ? void 0 : ye.name,
|
|
3082
3082
|
placeholder: e.placeholder,
|
|
3083
3083
|
autocomplete: "off",
|
|
3084
3084
|
readonly: ""
|
|
@@ -3107,7 +3107,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3107
3107
|
ref: o.value,
|
|
3108
3108
|
id: `${e.field_name}search${g.value}`,
|
|
3109
3109
|
onKeydown: S,
|
|
3110
|
-
onBlur: O[4] || (O[4] = (j) =>
|
|
3110
|
+
onBlur: O[4] || (O[4] = (j) => pe()),
|
|
3111
3111
|
autocomplete: "off",
|
|
3112
3112
|
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",
|
|
3113
3113
|
placeholder: "Search ..."
|
|
@@ -3117,17 +3117,17 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3117
3117
|
])
|
|
3118
3118
|
]),
|
|
3119
3119
|
s("div", Hn, [
|
|
3120
|
-
(d(!0), u(v, null,
|
|
3121
|
-
var
|
|
3120
|
+
(d(!0), u(v, null, $(x.value, (j, se) => {
|
|
3121
|
+
var _e;
|
|
3122
3122
|
return d(), u("div", {
|
|
3123
3123
|
class: b(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", se + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
3124
|
-
onClick: (Je) =>
|
|
3125
|
-
onMousedown: (Je) =>
|
|
3124
|
+
onClick: (Je) => be(j),
|
|
3125
|
+
onMousedown: (Je) => be(j),
|
|
3126
3126
|
key: se,
|
|
3127
3127
|
id: `${se + 1}${g.value}`
|
|
3128
3128
|
}, [
|
|
3129
3129
|
s("div", Zn, [
|
|
3130
|
-
((
|
|
3130
|
+
((_e = y.value) == null ? void 0 : _e.id) === j.id ? (d(), u("svg", Kn, Yn)) : f("", !0),
|
|
3131
3131
|
s("span", null, h(j.name || j.id || "-"), 1)
|
|
3132
3132
|
])
|
|
3133
3133
|
], 42, zn);
|
|
@@ -3144,7 +3144,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3144
3144
|
], 64);
|
|
3145
3145
|
};
|
|
3146
3146
|
}
|
|
3147
|
-
}, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ro = ["for"], so = ["required", "name", "id", "type", "placeholder"], ao = { class: "gl-span-form-error" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3147
|
+
}, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ro = ["for"], so = ["required", "name", "id", "type", "placeholder"], ao = { class: "gl-span-form-error" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, wu = {
|
|
3148
3148
|
__name: "GlTextarea",
|
|
3149
3149
|
props: {
|
|
3150
3150
|
is_required: {
|
|
@@ -3190,7 +3190,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3190
3190
|
},
|
|
3191
3191
|
emits: ["update:modelValue", "keydown"],
|
|
3192
3192
|
setup(e, { expose: t, emit: r }) {
|
|
3193
|
-
const n = e, o = r, a =
|
|
3193
|
+
const n = e, o = r, a = C(null);
|
|
3194
3194
|
R(() => {
|
|
3195
3195
|
a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
|
|
3196
3196
|
});
|
|
@@ -3242,7 +3242,7 @@ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
|
|
|
3242
3242
|
rows: "4",
|
|
3243
3243
|
placeholder: e.placeholder
|
|
3244
3244
|
}, null, 42, so), [
|
|
3245
|
-
[V,
|
|
3245
|
+
[V, De(i)]
|
|
3246
3246
|
]),
|
|
3247
3247
|
s("span", ao, h(e.error_message), 1),
|
|
3248
3248
|
s("small", no, h(e.description), 1)
|
|
@@ -3469,7 +3469,7 @@ function xo(e, t, r, n, o, a) {
|
|
|
3469
3469
|
])
|
|
3470
3470
|
], 16, ho)
|
|
3471
3471
|
], 2)) : f("", !0),
|
|
3472
|
-
(d(!0), u(v, null,
|
|
3472
|
+
(d(!0), u(v, null, $(l.computed.pageRange, (c, g) => (d(), u("li", {
|
|
3473
3473
|
class: b(["", { active: c == l.computed.currentPage }]),
|
|
3474
3474
|
key: g
|
|
3475
3475
|
}, [
|
|
@@ -3692,7 +3692,7 @@ function Zo(e, t, r, n, o, a) {
|
|
|
3692
3692
|
s("table", Io, [
|
|
3693
3693
|
s("thead", Mo, [
|
|
3694
3694
|
s("tr", null, [
|
|
3695
|
-
(d(!0), u(v, null,
|
|
3695
|
+
(d(!0), u(v, null, $(r.columns, (c, g) => (d(), u("th", {
|
|
3696
3696
|
key: g,
|
|
3697
3697
|
onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
|
|
3698
3698
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
@@ -3710,11 +3710,11 @@ function Zo(e, t, r, n, o, a) {
|
|
|
3710
3710
|
colspan: r.columns.length
|
|
3711
3711
|
}, Uo, 8, Fo)
|
|
3712
3712
|
])) : f("", !0),
|
|
3713
|
-
o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 },
|
|
3713
|
+
o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 }, $(o.itemLists.data, (c, g) => (d(), u("tr", {
|
|
3714
3714
|
key: g,
|
|
3715
3715
|
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"
|
|
3716
3716
|
}, [
|
|
3717
|
-
(d(!0), u(v, null,
|
|
3717
|
+
(d(!0), u(v, null, $(r.columns, (m, y) => (d(), u("td", {
|
|
3718
3718
|
key: y,
|
|
3719
3719
|
"data-label": m.field_label,
|
|
3720
3720
|
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"
|
|
@@ -3749,7 +3749,7 @@ function Zo(e, t, r, n, o, a) {
|
|
|
3749
3749
|
])
|
|
3750
3750
|
]);
|
|
3751
3751
|
}
|
|
3752
|
-
const
|
|
3752
|
+
const ku = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
|
|
3753
3753
|
components: {},
|
|
3754
3754
|
props: {
|
|
3755
3755
|
data: Array,
|
|
@@ -3932,7 +3932,7 @@ function Il(e, t, r, n, o, a) {
|
|
|
3932
3932
|
s("table", nl, [
|
|
3933
3933
|
s("thead", ol, [
|
|
3934
3934
|
s("tr", null, [
|
|
3935
|
-
(d(!0), u(v, null,
|
|
3935
|
+
(d(!0), u(v, null, $(r.columns, (l, c) => (d(), u("th", {
|
|
3936
3936
|
key: c,
|
|
3937
3937
|
onClick: (g) => a.sort(l),
|
|
3938
3938
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
@@ -3945,11 +3945,11 @@ function Il(e, t, r, n, o, a) {
|
|
|
3945
3945
|
])
|
|
3946
3946
|
]),
|
|
3947
3947
|
s("tbody", null, [
|
|
3948
|
-
(d(!0), u(v, null,
|
|
3948
|
+
(d(!0), u(v, null, $(a.paginatedData, (l, c) => (d(), u("tr", {
|
|
3949
3949
|
key: c,
|
|
3950
3950
|
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"
|
|
3951
3951
|
}, [
|
|
3952
|
-
(d(!0), u(v, null,
|
|
3952
|
+
(d(!0), u(v, null, $(r.columns, (g, m) => (d(), u("td", {
|
|
3953
3953
|
key: m,
|
|
3954
3954
|
"data-label": g,
|
|
3955
3955
|
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"
|
|
@@ -4001,7 +4001,7 @@ function Il(e, t, r, n, o, a) {
|
|
|
4001
4001
|
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"
|
|
4002
4002
|
}, Dl, 8, $l)
|
|
4003
4003
|
]),
|
|
4004
|
-
(d(!0), u(v, null,
|
|
4004
|
+
(d(!0), u(v, null, $(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
|
|
4005
4005
|
s("li", null, [
|
|
4006
4006
|
o.currentPage !== l ? (d(), u("a", {
|
|
4007
4007
|
key: 0,
|
|
@@ -4035,7 +4035,7 @@ function Il(e, t, r, n, o, a) {
|
|
|
4035
4035
|
])) : f("", !0)
|
|
4036
4036
|
]);
|
|
4037
4037
|
}
|
|
4038
|
-
const
|
|
4038
|
+
const $u = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
4039
4039
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4040
4040
|
role: "alert"
|
|
4041
4041
|
}, Nl = {
|
|
@@ -4129,7 +4129,7 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4129
4129
|
}, Xl)
|
|
4130
4130
|
]));
|
|
4131
4131
|
}
|
|
4132
|
-
}, de =
|
|
4132
|
+
}, de = Se({
|
|
4133
4133
|
items: []
|
|
4134
4134
|
}), Ql = {
|
|
4135
4135
|
add(e) {
|
|
@@ -4143,14 +4143,14 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4143
4143
|
remove(e) {
|
|
4144
4144
|
de.items.splice(e, 1);
|
|
4145
4145
|
}
|
|
4146
|
-
},
|
|
4146
|
+
}, $e = {
|
|
4147
4147
|
state: de,
|
|
4148
4148
|
methods: Ql
|
|
4149
|
-
},
|
|
4149
|
+
}, Cu = {
|
|
4150
4150
|
__name: "GlToastList",
|
|
4151
4151
|
setup(e) {
|
|
4152
4152
|
function t(r) {
|
|
4153
|
-
|
|
4153
|
+
$e.methods.remove(r);
|
|
4154
4154
|
}
|
|
4155
4155
|
return (r, n) => (d(), K(dt, {
|
|
4156
4156
|
tag: "div",
|
|
@@ -4161,7 +4161,7 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4161
4161
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4162
4162
|
}, {
|
|
4163
4163
|
default: J(() => [
|
|
4164
|
-
(d(!0), u(v, null,
|
|
4164
|
+
(d(!0), u(v, null, $(De($e).state.items, (o, a) => (d(), K(Jl, {
|
|
4165
4165
|
key: o.key,
|
|
4166
4166
|
message: o.message,
|
|
4167
4167
|
type: o.type,
|
|
@@ -4188,7 +4188,7 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4188
4188
|
], si = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ai = {
|
|
4189
4189
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4190
4190
|
"aria-labelledby": "dropdownDividerButton"
|
|
4191
|
-
}, ni = { key: 0 }, oi = ["href"], li = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ii = { key: 1 }, di = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4191
|
+
}, ni = { key: 0 }, oi = ["href"], li = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ii = { key: 1 }, di = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Su = {
|
|
4192
4192
|
__name: "DatatableAction",
|
|
4193
4193
|
props: {
|
|
4194
4194
|
field: {
|
|
@@ -4214,7 +4214,7 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4214
4214
|
},
|
|
4215
4215
|
emits: ["deleteAction"],
|
|
4216
4216
|
setup(e, { emit: t }) {
|
|
4217
|
-
const r = Ae(), n = e, o =
|
|
4217
|
+
const r = Ae(), n = e, o = C(!1), a = C(!1), i = () => {
|
|
4218
4218
|
o.value = !1;
|
|
4219
4219
|
}, l = () => {
|
|
4220
4220
|
o.value = !0;
|
|
@@ -4234,9 +4234,9 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4234
4234
|
});
|
|
4235
4235
|
};
|
|
4236
4236
|
return (x, S) => {
|
|
4237
|
-
const B =
|
|
4237
|
+
const B = Oe("click-outside");
|
|
4238
4238
|
return d(), u(v, null, [
|
|
4239
|
-
Z(
|
|
4239
|
+
Z(ue, {
|
|
4240
4240
|
isOpen: a.value,
|
|
4241
4241
|
onConfirmDelete: y,
|
|
4242
4242
|
onCancelDelete: c
|
|
@@ -4294,7 +4294,7 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4294
4294
|
], gi = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, hi = {
|
|
4295
4295
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4296
4296
|
"aria-labelledby": "dropdownDividerButton"
|
|
4297
|
-
}, mi = { key: 0 }, bi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4297
|
+
}, mi = { key: 0 }, bi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Du = {
|
|
4298
4298
|
__name: "DatatableDeleteAction",
|
|
4299
4299
|
props: {
|
|
4300
4300
|
field: {
|
|
@@ -4320,7 +4320,7 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4320
4320
|
},
|
|
4321
4321
|
emits: ["deleteAction"],
|
|
4322
4322
|
setup(e, { emit: t }) {
|
|
4323
|
-
const r = Ae(), n = e, o =
|
|
4323
|
+
const r = Ae(), n = e, o = C(!1), a = C(!1), i = () => {
|
|
4324
4324
|
o.value = !1;
|
|
4325
4325
|
}, l = () => {
|
|
4326
4326
|
o.value = !0;
|
|
@@ -4340,9 +4340,9 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4340
4340
|
});
|
|
4341
4341
|
};
|
|
4342
4342
|
return (x, S) => {
|
|
4343
|
-
const B =
|
|
4343
|
+
const B = Oe("click-outside");
|
|
4344
4344
|
return d(), u(v, null, [
|
|
4345
|
-
Z(
|
|
4345
|
+
Z(ue, {
|
|
4346
4346
|
isOpen: a.value,
|
|
4347
4347
|
onConfirmDelete: y,
|
|
4348
4348
|
onCancelDelete: c
|
|
@@ -4430,7 +4430,7 @@ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
|
|
|
4430
4430
|
], -1);
|
|
4431
4431
|
function ki(e, t, r, n, o, a) {
|
|
4432
4432
|
return d(), u("div", null, [
|
|
4433
|
-
a.isArray ? (d(!0), u(v, { key: 0 },
|
|
4433
|
+
a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row, (i, l) => (d(), u("div", {
|
|
4434
4434
|
key: l,
|
|
4435
4435
|
class: "m-1 d-inline-block"
|
|
4436
4436
|
}, [
|
|
@@ -4456,7 +4456,7 @@ function ki(e, t, r, n, o, a) {
|
|
|
4456
4456
|
])) : f("", !0)
|
|
4457
4457
|
]);
|
|
4458
4458
|
}
|
|
4459
|
-
const
|
|
4459
|
+
const Ou = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
|
|
4460
4460
|
props: ["field", "row"],
|
|
4461
4461
|
computed: {
|
|
4462
4462
|
isArray() {
|
|
@@ -4506,7 +4506,7 @@ const Pu = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
|
|
|
4506
4506
|
], -1);
|
|
4507
4507
|
function Ei(e, t, r, n, o, a) {
|
|
4508
4508
|
return d(), u("div", null, [
|
|
4509
|
-
a.isArray ? (d(!0), u(v, { key: 0 },
|
|
4509
|
+
a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[r.field], (i) => (d(), u("div", {
|
|
4510
4510
|
key: i.id,
|
|
4511
4511
|
class: "m-1 d-inline-block"
|
|
4512
4512
|
}, [
|
|
@@ -4532,7 +4532,7 @@ function Ei(e, t, r, n, o, a) {
|
|
|
4532
4532
|
])) : f("", !0)
|
|
4533
4533
|
]);
|
|
4534
4534
|
}
|
|
4535
|
-
const
|
|
4535
|
+
const Pu = /* @__PURE__ */ k($i, [["render", Ei]]), Ai = {
|
|
4536
4536
|
props: ["field", "row", "tdProps"]
|
|
4537
4537
|
}, ji = { key: 0 }, Ti = ["innerHTML"];
|
|
4538
4538
|
function Ii(e, t, r, n, o, a) {
|
|
@@ -4543,7 +4543,7 @@ function Ii(e, t, r, n, o, a) {
|
|
|
4543
4543
|
}, null, 8, Ti)
|
|
4544
4544
|
])) : f("", !0);
|
|
4545
4545
|
}
|
|
4546
|
-
const
|
|
4546
|
+
const Eu = /* @__PURE__ */ k(Ai, [["render", Ii]]), Mi = {
|
|
4547
4547
|
props: ["field", "row", "tdProps"],
|
|
4548
4548
|
computed: {
|
|
4549
4549
|
entry() {
|
|
@@ -4563,13 +4563,13 @@ const Au = /* @__PURE__ */ k(Ai, [["render", Ii]]), Mi = {
|
|
|
4563
4563
|
};
|
|
4564
4564
|
function Li(e, t, r, n, o, a) {
|
|
4565
4565
|
return d(), u("div", Ni, [
|
|
4566
|
-
a.isArray ? (d(!0), u(v, { key: 0 },
|
|
4566
|
+
a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4567
4567
|
key: l,
|
|
4568
4568
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4569
4569
|
}, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Vi, h(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
|
|
4570
4570
|
]);
|
|
4571
4571
|
}
|
|
4572
|
-
const
|
|
4572
|
+
const Au = /* @__PURE__ */ k(Mi, [["render", Li]]), Bi = {
|
|
4573
4573
|
props: ["field", "row", "tdProps"]
|
|
4574
4574
|
}, Gi = { key: 0 }, Fi = { class: "m-1 d-inline-block" }, Ri = ["href", "title"], Ui = ["src", "alt", "title"];
|
|
4575
4575
|
function qi(e, t, r, n, o, a) {
|
|
@@ -4589,7 +4589,7 @@ function qi(e, t, r, n, o, a) {
|
|
|
4589
4589
|
])
|
|
4590
4590
|
])) : f("", !0);
|
|
4591
4591
|
}
|
|
4592
|
-
const
|
|
4592
|
+
const ju = /* @__PURE__ */ k(Bi, [["render", qi], ["__scopeId", "data-v-3a28c02c"]]), Hi = {
|
|
4593
4593
|
props: ["field", "row", "tdProps"],
|
|
4594
4594
|
computed: {
|
|
4595
4595
|
isActive() {
|
|
@@ -4614,7 +4614,7 @@ function Xi(e, t, r, n, o, a) {
|
|
|
4614
4614
|
]))
|
|
4615
4615
|
]);
|
|
4616
4616
|
}
|
|
4617
|
-
const
|
|
4617
|
+
const Tu = /* @__PURE__ */ k(Hi, [["render", Xi]]), Ji = {
|
|
4618
4618
|
props: ["field", "row", "tdProps"],
|
|
4619
4619
|
computed: {
|
|
4620
4620
|
hasLabelColor(e) {
|
|
@@ -4667,7 +4667,7 @@ function ud(e, t, r, n, o, a) {
|
|
|
4667
4667
|
])) : f("", !0)
|
|
4668
4668
|
]);
|
|
4669
4669
|
}
|
|
4670
|
-
const
|
|
4670
|
+
const Iu = /* @__PURE__ */ k(Ji, [["render", ud]]), cd = {
|
|
4671
4671
|
props: ["field", "row", "tdProps"],
|
|
4672
4672
|
computed: {
|
|
4673
4673
|
hasLabelColor() {
|
|
@@ -4725,7 +4725,7 @@ function gd(e, t, r, n, o, a) {
|
|
|
4725
4725
|
}, h(this.row[this.field]), 3)) : f("", !0)
|
|
4726
4726
|
]);
|
|
4727
4727
|
}
|
|
4728
|
-
const
|
|
4728
|
+
const Mu = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
|
|
4729
4729
|
props: ["field", "row", "tdProps"],
|
|
4730
4730
|
computed: {
|
|
4731
4731
|
formattedDate() {
|
|
@@ -4744,7 +4744,7 @@ const Nu = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
|
|
|
4744
4744
|
function bd(e, t, r, n, o, a) {
|
|
4745
4745
|
return d(), u("div", md, h(a.formattedDate), 1);
|
|
4746
4746
|
}
|
|
4747
|
-
const
|
|
4747
|
+
const Nu = /* @__PURE__ */ k(hd, [["render", bd]]), pd = {
|
|
4748
4748
|
props: ["field", "row", "tdProps"]
|
|
4749
4749
|
}, yd = { class: "flex flex-wrap gap-2 text-nowrap" }, _d = {
|
|
4750
4750
|
key: 0,
|
|
@@ -4775,7 +4775,7 @@ function Cd(e, t, r, n, o, a) {
|
|
|
4775
4775
|
])) : f("", !0)
|
|
4776
4776
|
]);
|
|
4777
4777
|
}
|
|
4778
|
-
const
|
|
4778
|
+
const Vu = /* @__PURE__ */ k(pd, [["render", Cd]]), Sd = {
|
|
4779
4779
|
props: ["field", "row", "tdProps"]
|
|
4780
4780
|
}, Dd = {
|
|
4781
4781
|
key: 0,
|
|
@@ -4787,7 +4787,7 @@ function Pd(e, t, r, n, o, a) {
|
|
|
4787
4787
|
`, 1)
|
|
4788
4788
|
])) : f("", !0);
|
|
4789
4789
|
}
|
|
4790
|
-
const
|
|
4790
|
+
const Lu = /* @__PURE__ */ k(Sd, [["render", Pd]]), Ed = {
|
|
4791
4791
|
props: ["isOpen", "title", "button_text"],
|
|
4792
4792
|
methods: {
|
|
4793
4793
|
confirmAction() {
|
|
@@ -4841,25 +4841,25 @@ function Rd(e, t, r, n, o, a) {
|
|
|
4841
4841
|
])
|
|
4842
4842
|
])) : f("", !0);
|
|
4843
4843
|
}
|
|
4844
|
-
const
|
|
4844
|
+
const Bu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full max-w-lg" }, qd = { class: "mb-2 flex justify-between items-center" }, Hd = { class: "text-sm font-medium text-gray-900 dark:text-white" }, zd = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, Zd = { class: "overflow-scroll max-h-full" }, Kd = { class: "text-sm text-gray-500 dark:text-gray-400 whitespace-pre" }, Wd = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Yd = {
|
|
4845
4845
|
key: 0,
|
|
4846
4846
|
class: "inline-flex items-center"
|
|
4847
|
-
},
|
|
4848
|
-
class: "w-3 h-3 me-
|
|
4847
|
+
}, Xd = /* @__PURE__ */ s("svg", {
|
|
4848
|
+
class: "w-3 h-3 me-2",
|
|
4849
4849
|
"aria-hidden": "true",
|
|
4850
4850
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4851
4851
|
fill: "currentColor",
|
|
4852
4852
|
viewBox: "0 0 18 20"
|
|
4853
4853
|
}, [
|
|
4854
4854
|
/* @__PURE__ */ s("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
4855
|
-
], -1),
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
],
|
|
4855
|
+
], -1), Jd = /* @__PURE__ */ s("span", { class: "text-xs font-semibold" }, "Copy", -1), Qd = [
|
|
4856
|
+
Xd,
|
|
4857
|
+
Jd
|
|
4858
|
+
], eu = {
|
|
4859
4859
|
key: 1,
|
|
4860
4860
|
class: "hidden inline-flex items-center"
|
|
4861
|
-
},
|
|
4862
|
-
class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-
|
|
4861
|
+
}, tu = /* @__PURE__ */ s("svg", {
|
|
4862
|
+
class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-2",
|
|
4863
4863
|
"aria-hidden": "true",
|
|
4864
4864
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4865
4865
|
fill: "none",
|
|
@@ -4872,10 +4872,10 @@ const Gu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full max-w-
|
|
|
4872
4872
|
"stroke-width": "2",
|
|
4873
4873
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
4874
4874
|
})
|
|
4875
|
-
], -1),
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
],
|
|
4875
|
+
], -1), ru = /* @__PURE__ */ s("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), su = [
|
|
4876
|
+
tu,
|
|
4877
|
+
ru
|
|
4878
|
+
], au = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, Gu = {
|
|
4879
4879
|
__name: "GlCodeCopy",
|
|
4880
4880
|
props: {
|
|
4881
4881
|
label_name: {
|
|
@@ -4892,9 +4892,7 @@ const Gu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full max-w-
|
|
|
4892
4892
|
}
|
|
4893
4893
|
},
|
|
4894
4894
|
setup(e) {
|
|
4895
|
-
const t = e
|
|
4896
|
-
$(null);
|
|
4897
|
-
const r = $(!1), n = (a) => {
|
|
4895
|
+
const t = e, r = C(!1), n = (a) => {
|
|
4898
4896
|
navigator.clipboard.writeText(a).then(function() {
|
|
4899
4897
|
r.value = !0, setTimeout(() => {
|
|
4900
4898
|
r.value = !1;
|
|
@@ -4902,72 +4900,70 @@ const Gu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full max-w-
|
|
|
4902
4900
|
}).catch(function(i) {
|
|
4903
4901
|
console.error("Error copying to clipboard: ", i);
|
|
4904
4902
|
});
|
|
4905
|
-
}, o = L(() => t.code
|
|
4906
|
-
return (a, i) =>
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
s("pre", null, [
|
|
4915
|
-
s("code", Kd, `
|
|
4903
|
+
}, o = L(() => t.code);
|
|
4904
|
+
return (a, i) => (d(), u("div", Ud, [
|
|
4905
|
+
s("div", qd, [
|
|
4906
|
+
s("p", Hd, h(e.label_name), 1)
|
|
4907
|
+
]),
|
|
4908
|
+
s("div", zd, [
|
|
4909
|
+
s("div", Zd, [
|
|
4910
|
+
s("pre", null, [
|
|
4911
|
+
s("code", Kd, `
|
|
4916
4912
|
` + h(o.value) + `
|
|
4917
4913
|
`, 1)
|
|
4918
|
-
])
|
|
4919
|
-
]),
|
|
4920
|
-
s("div", Wd, [
|
|
4921
|
-
D((d(), u("button", Yd, [
|
|
4922
|
-
r.value ? f("", !0) : (d(), u("span", Xd, eu)),
|
|
4923
|
-
r.value ? (d(), u("span", tu, au)) : f("", !0)
|
|
4924
|
-
])), [
|
|
4925
|
-
[l, n(o.value)]
|
|
4926
|
-
])
|
|
4927
4914
|
])
|
|
4928
4915
|
]),
|
|
4929
|
-
s("
|
|
4930
|
-
|
|
4931
|
-
|
|
4916
|
+
s("div", Wd, [
|
|
4917
|
+
s("button", {
|
|
4918
|
+
onClick: i[0] || (i[0] = (l) => n(o.value)),
|
|
4919
|
+
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
4920
|
+
}, [
|
|
4921
|
+
r.value ? f("", !0) : (d(), u("span", Yd, Qd)),
|
|
4922
|
+
r.value ? (d(), u("span", eu, su)) : f("", !0)
|
|
4923
|
+
])
|
|
4924
|
+
])
|
|
4925
|
+
]),
|
|
4926
|
+
s("p", au, h(e.description), 1)
|
|
4927
|
+
]));
|
|
4932
4928
|
}
|
|
4933
4929
|
};
|
|
4934
4930
|
export {
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4931
|
+
Lu as GLDatatableCommand,
|
|
4932
|
+
Nu as GLDatatableDateTime,
|
|
4933
|
+
Vu as GLDatatableStatusServer,
|
|
4934
|
+
cu as GlButton,
|
|
4935
|
+
du as GlCard,
|
|
4936
|
+
Gu as GlCodeCopy,
|
|
4937
|
+
Bu as GlConfirmationModal,
|
|
4938
|
+
$u as GlDataTable,
|
|
4939
|
+
ku as GlDataTableServerSide,
|
|
4940
|
+
Su as GlDatatableAction,
|
|
4941
|
+
Du as GlDatatableDeleteAction,
|
|
4942
|
+
Ou as GlDatatableFileDownload,
|
|
4943
|
+
Pu as GlDatatableFiles,
|
|
4944
|
+
Eu as GlDatatableHtml,
|
|
4945
|
+
Au as GlDatatableList,
|
|
4946
|
+
ju as GlDatatablePicture,
|
|
4947
|
+
Tu as GlDatatableStatus,
|
|
4948
|
+
Iu as GlDatatableStatusGeneral,
|
|
4949
|
+
Mu as GlDatatableStatusSpecficColor,
|
|
4950
|
+
ue as GlDeleteConfirmationModal,
|
|
4951
|
+
xu as GlDropdown,
|
|
4952
|
+
ou as GlFilesUpload,
|
|
4953
|
+
iu as GlLanguageSelector,
|
|
4954
|
+
_u as GlModal,
|
|
4955
|
+
yu as GlMultiItemSlide,
|
|
4956
|
+
uu as GlMultiSelectDropdown,
|
|
4957
|
+
lu as GlNotify,
|
|
4958
|
+
pu as GlTab,
|
|
4959
|
+
bu as GlTabsWrapper,
|
|
4964
4960
|
wo as GlTailwindPagination,
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4961
|
+
mu as GlTextInput,
|
|
4962
|
+
hu as GlTextTranslate,
|
|
4963
|
+
wu as GlTextarea,
|
|
4964
|
+
fu as GlTextareaTranslate,
|
|
4965
|
+
gu as GlTinymceTranslate,
|
|
4966
|
+
$e as GlToast,
|
|
4967
|
+
Cu as GlToastList,
|
|
4968
|
+
vu as GlToggleBox
|
|
4973
4969
|
};
|