golden-logic-ui 1.0.45 → 1.0.47
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 +156 -157
- package/dist/golden-logic-ui.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as g, createStaticVNode as Ze, inject as
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as g, createStaticVNode as Ze, inject as ye, watch as W, effectScope as Ke, computed as z, reactive as ve, resolveComponent as X, Fragment as v, createVNode as H, normalizeClass as p, toDisplayString as h, withModifiers as M, withDirectives as P, vModelText as L, renderList as $, normalizeStyle as We, renderSlot as A, createTextVNode as w, vShow as B, createBlock as Z, resolveDynamicComponent as se, mergeProps as K, withCtx as Y, ref as O, onMounted as G, vModelDynamic as Xe, provide as Ye, pushScopeId as Je, popScopeId as Qe, vModelCheckbox as et, nextTick as tt, toHandlers as te, TransitionGroup as rt, unref as st, resolveDirective as xe, markRaw as nt } from "vue";
|
|
2
2
|
const D = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
@@ -52,12 +52,12 @@ function ht(e, t, r, n, o, a) {
|
|
|
52
52
|
}
|
|
53
53
|
const ie = /* @__PURE__ */ D(at, [["render", ht]]);
|
|
54
54
|
function gt() {
|
|
55
|
-
return
|
|
55
|
+
return we().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function we() {
|
|
58
58
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
59
59
|
}
|
|
60
|
-
const mt = typeof Proxy == "function",
|
|
60
|
+
const mt = typeof Proxy == "function", _t = "devtools-plugin:setup", pt = "plugin:settings:set";
|
|
61
61
|
let U, ne;
|
|
62
62
|
function bt() {
|
|
63
63
|
var e;
|
|
@@ -96,7 +96,7 @@ class vt {
|
|
|
96
96
|
now() {
|
|
97
97
|
return yt();
|
|
98
98
|
}
|
|
99
|
-
}, r && r.on(
|
|
99
|
+
}, r && r.on(pt, (l, i) => {
|
|
100
100
|
l === this.plugin.id && this.fallbacks.setSettings(i);
|
|
101
101
|
}), this.proxiedOn = new Proxy({}, {
|
|
102
102
|
get: (l, i) => this.target ? this.target.on[i] : (...c) => {
|
|
@@ -129,9 +129,9 @@ class vt {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
function xt(e, t) {
|
|
132
|
-
const r = e, n =
|
|
132
|
+
const r = e, n = we(), o = gt(), a = mt && r.enableEarlyProxy;
|
|
133
133
|
if (o && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
|
|
134
|
-
o.emit(
|
|
134
|
+
o.emit(_t, e, t);
|
|
135
135
|
else {
|
|
136
136
|
const l = a ? new vt(r, o) : null;
|
|
137
137
|
(n.__VUE_DEVTOOLS_PLUGINS__ = n.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
@@ -146,16 +146,16 @@ function xt(e, t) {
|
|
|
146
146
|
* (c) 2022 Evan You
|
|
147
147
|
* @license MIT
|
|
148
148
|
*/
|
|
149
|
-
var
|
|
150
|
-
function
|
|
151
|
-
return e === void 0 && (e = null),
|
|
149
|
+
var ke = "store";
|
|
150
|
+
function $e(e) {
|
|
151
|
+
return e === void 0 && (e = null), ye(e !== null ? e : ke);
|
|
152
152
|
}
|
|
153
153
|
function F(e, t) {
|
|
154
154
|
Object.keys(e).forEach(function(r) {
|
|
155
155
|
return t(e[r], r);
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Ce(e) {
|
|
159
159
|
return e !== null && typeof e == "object";
|
|
160
160
|
}
|
|
161
161
|
function wt(e) {
|
|
@@ -170,13 +170,13 @@ function kt(e, t) {
|
|
|
170
170
|
return e(t);
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Se(e, t, r) {
|
|
174
174
|
return t.indexOf(e) < 0 && (r && r.prepend ? t.unshift(e) : t.push(e)), function() {
|
|
175
175
|
var n = t.indexOf(e);
|
|
176
176
|
n > -1 && t.splice(n, 1);
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Oe(e, t) {
|
|
180
180
|
e._actions = /* @__PURE__ */ Object.create(null), e._mutations = /* @__PURE__ */ Object.create(null), e._wrappedGetters = /* @__PURE__ */ Object.create(null), e._modulesNamespaceMap = /* @__PURE__ */ Object.create(null);
|
|
181
181
|
var r = e.state;
|
|
182
182
|
Q(e, r, [], e._modules.root, !0), le(e, r, t);
|
|
@@ -197,7 +197,7 @@ function le(e, t, r) {
|
|
|
197
197
|
// for local getters
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
}), e._state =
|
|
200
|
+
}), e._state = ve({
|
|
201
201
|
data: t
|
|
202
202
|
}), e._scope = c, e.strict && Dt(e), n && r && e._withCommit(function() {
|
|
203
203
|
n.data = null;
|
|
@@ -218,8 +218,8 @@ function Q(e, t, r, n, o) {
|
|
|
218
218
|
var x = l + y;
|
|
219
219
|
Ct(e, x, m, f);
|
|
220
220
|
}), n.forEachAction(function(m, y) {
|
|
221
|
-
var x = m.root ? y : l + y,
|
|
222
|
-
St(e, x,
|
|
221
|
+
var x = m.root ? y : l + y, C = m.handler || m;
|
|
222
|
+
St(e, x, C, f);
|
|
223
223
|
}), n.forEachGetter(function(m, y) {
|
|
224
224
|
var x = l + y;
|
|
225
225
|
Ot(e, x, m, f);
|
|
@@ -251,7 +251,7 @@ function $t(e, t, r) {
|
|
|
251
251
|
get: n ? function() {
|
|
252
252
|
return e.getters;
|
|
253
253
|
} : function() {
|
|
254
|
-
return
|
|
254
|
+
return De(e, t);
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
state: {
|
|
@@ -261,7 +261,7 @@ function $t(e, t, r) {
|
|
|
261
261
|
}
|
|
262
262
|
}), o;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function De(e, t) {
|
|
265
265
|
if (!e._makeLocalGettersCache[t]) {
|
|
266
266
|
var r = {}, n = t.length;
|
|
267
267
|
Object.keys(e.getters).forEach(function(o) {
|
|
@@ -331,9 +331,9 @@ function de(e, t) {
|
|
|
331
331
|
}, e);
|
|
332
332
|
}
|
|
333
333
|
function J(e, t, r) {
|
|
334
|
-
return
|
|
334
|
+
return Ce(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 Pt = "vuex bindings",
|
|
336
|
+
var Pt = "vuex bindings", ge = "vuex:mutations", re = "vuex:actions", q = "vuex", Et = 0;
|
|
337
337
|
function jt(e, t) {
|
|
338
338
|
xt(
|
|
339
339
|
{
|
|
@@ -347,13 +347,13 @@ function jt(e, t) {
|
|
|
347
347
|
},
|
|
348
348
|
function(r) {
|
|
349
349
|
r.addTimelineLayer({
|
|
350
|
-
id:
|
|
350
|
+
id: ge,
|
|
351
351
|
label: "Vuex Mutations",
|
|
352
|
-
color:
|
|
352
|
+
color: me
|
|
353
353
|
}), r.addTimelineLayer({
|
|
354
354
|
id: re,
|
|
355
355
|
label: "Vuex Actions",
|
|
356
|
-
color:
|
|
356
|
+
color: me
|
|
357
357
|
}), r.addInspector({
|
|
358
358
|
id: q,
|
|
359
359
|
label: "Vuex",
|
|
@@ -363,15 +363,15 @@ function jt(e, t) {
|
|
|
363
363
|
if (n.app === e && n.inspectorId === q)
|
|
364
364
|
if (n.filter) {
|
|
365
365
|
var o = [];
|
|
366
|
-
|
|
366
|
+
Ae(o, t._modules.root, n.filter, ""), n.rootNodes = o;
|
|
367
367
|
} else
|
|
368
368
|
n.rootNodes = [
|
|
369
|
-
|
|
369
|
+
je(t._modules.root, "")
|
|
370
370
|
];
|
|
371
371
|
}), r.on.getInspectorState(function(n) {
|
|
372
372
|
if (n.app === e && n.inspectorId === q) {
|
|
373
373
|
var o = n.nodeId;
|
|
374
|
-
|
|
374
|
+
De(t, o), n.state = Tt(
|
|
375
375
|
Nt(t._modules, o),
|
|
376
376
|
o === "root" ? t.getters : t._makeLocalGettersCache,
|
|
377
377
|
o
|
|
@@ -387,7 +387,7 @@ function jt(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(q), r.sendInspectorState(q), r.addTimelineEvent({
|
|
390
|
-
layerId:
|
|
390
|
+
layerId: ge,
|
|
391
391
|
event: {
|
|
392
392
|
time: Date.now(),
|
|
393
393
|
title: n.type,
|
|
@@ -432,25 +432,25 @@ function jt(e, t) {
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
-
var
|
|
435
|
+
var me = 8702998, At = 6710886, It = 16777215, Pe = {
|
|
436
436
|
label: "namespaced",
|
|
437
437
|
textColor: It,
|
|
438
438
|
backgroundColor: At
|
|
439
439
|
};
|
|
440
|
-
function
|
|
440
|
+
function Ee(e) {
|
|
441
441
|
return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function je(e, t) {
|
|
444
444
|
return {
|
|
445
445
|
id: t || "root",
|
|
446
446
|
// all modules end with a `/`, we want the last segment only
|
|
447
447
|
// cart/ -> cart
|
|
448
448
|
// nested/cart/ -> cart
|
|
449
|
-
label:
|
|
450
|
-
tags: e.namespaced ? [
|
|
449
|
+
label: Ee(t),
|
|
450
|
+
tags: e.namespaced ? [Pe] : [],
|
|
451
451
|
children: Object.keys(e._children).map(
|
|
452
452
|
function(r) {
|
|
453
|
-
return
|
|
453
|
+
return je(
|
|
454
454
|
e._children[r],
|
|
455
455
|
t + r + "/"
|
|
456
456
|
);
|
|
@@ -458,13 +458,13 @@ function Ae(e, t) {
|
|
|
458
458
|
)
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function Ae(e, t, r, n) {
|
|
462
462
|
n.includes(r) && e.push({
|
|
463
463
|
id: n || "root",
|
|
464
464
|
label: n.endsWith("/") ? n.slice(0, n.length - 1) : n || "Root",
|
|
465
|
-
tags: t.namespaced ? [
|
|
465
|
+
tags: t.namespaced ? [Pe] : []
|
|
466
466
|
}), Object.keys(t._children).forEach(function(o) {
|
|
467
|
-
|
|
467
|
+
Ae(e, t._children[o], r, n + o + "/");
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
function Tt(e, t, r) {
|
|
@@ -482,7 +482,7 @@ function Tt(e, t, r) {
|
|
|
482
482
|
var a = Mt(t);
|
|
483
483
|
o.getters = Object.keys(a).map(function(l) {
|
|
484
484
|
return {
|
|
485
|
-
key: l.endsWith("/") ?
|
|
485
|
+
key: l.endsWith("/") ? Ee(l) : l,
|
|
486
486
|
editable: !1,
|
|
487
487
|
value: ae(function() {
|
|
488
488
|
return a[l];
|
|
@@ -541,8 +541,8 @@ var T = function(t, r) {
|
|
|
541
541
|
this.runtime = r, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = t;
|
|
542
542
|
var n = t.state;
|
|
543
543
|
this.state = (typeof n == "function" ? n() : n) || {};
|
|
544
|
-
},
|
|
545
|
-
|
|
544
|
+
}, Ie = { namespaced: { configurable: !0 } };
|
|
545
|
+
Ie.namespaced.get = function() {
|
|
546
546
|
return !!this._rawModule.namespaced;
|
|
547
547
|
};
|
|
548
548
|
T.prototype.addChild = function(t, r) {
|
|
@@ -572,7 +572,7 @@ T.prototype.forEachAction = function(t) {
|
|
|
572
572
|
T.prototype.forEachMutation = function(t) {
|
|
573
573
|
this._rawModule.mutations && F(this._rawModule.mutations, t);
|
|
574
574
|
};
|
|
575
|
-
Object.defineProperties(T.prototype,
|
|
575
|
+
Object.defineProperties(T.prototype, Ie);
|
|
576
576
|
var R = function(t) {
|
|
577
577
|
this.register([], t, !1);
|
|
578
578
|
};
|
|
@@ -588,11 +588,11 @@ R.prototype.getNamespace = function(t) {
|
|
|
588
588
|
}, "");
|
|
589
589
|
};
|
|
590
590
|
R.prototype.update = function(t) {
|
|
591
|
-
|
|
591
|
+
Te([], this.root, t);
|
|
592
592
|
};
|
|
593
593
|
R.prototype.register = function(t, r, n) {
|
|
594
594
|
var o = this;
|
|
595
|
-
n === void 0 && (n = !0), process.env.NODE_ENV !== "production" &&
|
|
595
|
+
n === void 0 && (n = !0), process.env.NODE_ENV !== "production" && Me(t, r);
|
|
596
596
|
var a = new T(r, n);
|
|
597
597
|
if (t.length === 0)
|
|
598
598
|
this.root = a;
|
|
@@ -618,8 +618,8 @@ R.prototype.isRegistered = function(t) {
|
|
|
618
618
|
var r = this.get(t.slice(0, -1)), n = t[t.length - 1];
|
|
619
619
|
return r ? r.hasChild(n) : !1;
|
|
620
620
|
};
|
|
621
|
-
function
|
|
622
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
621
|
+
function Te(e, t, r) {
|
|
622
|
+
if (process.env.NODE_ENV !== "production" && Me(e, r), t.update(r), r.modules)
|
|
623
623
|
for (var n in r.modules) {
|
|
624
624
|
if (!t.getChild(n)) {
|
|
625
625
|
process.env.NODE_ENV !== "production" && console.warn(
|
|
@@ -627,7 +627,7 @@ function Me(e, t, r) {
|
|
|
627
627
|
);
|
|
628
628
|
return;
|
|
629
629
|
}
|
|
630
|
-
|
|
630
|
+
Te(
|
|
631
631
|
e.concat(n),
|
|
632
632
|
t.getChild(n),
|
|
633
633
|
r.modules[n]
|
|
@@ -644,15 +644,15 @@ var _e = {
|
|
|
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
|
-
},
|
|
647
|
+
}, pe = {
|
|
648
648
|
getters: _e,
|
|
649
649
|
mutations: _e,
|
|
650
650
|
actions: Vt
|
|
651
651
|
};
|
|
652
|
-
function
|
|
653
|
-
Object.keys(
|
|
652
|
+
function Me(e, t) {
|
|
653
|
+
Object.keys(pe).forEach(function(r) {
|
|
654
654
|
if (t[r]) {
|
|
655
|
-
var n =
|
|
655
|
+
var n = pe[r];
|
|
656
656
|
F(t[r], function(o, a) {
|
|
657
657
|
I(
|
|
658
658
|
n.assert(o),
|
|
@@ -676,10 +676,10 @@ var j = function e(t) {
|
|
|
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 R(t), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null), this._scope = null, this._devtools = a;
|
|
678
678
|
var l = this, i = this, c = i.dispatch, f = i.commit;
|
|
679
|
-
this.dispatch = function(x,
|
|
680
|
-
return c.call(l, x,
|
|
681
|
-
}, this.commit = function(x,
|
|
682
|
-
return f.call(l, x,
|
|
679
|
+
this.dispatch = function(x, C) {
|
|
680
|
+
return c.call(l, x, C);
|
|
681
|
+
}, this.commit = function(x, C, N) {
|
|
682
|
+
return f.call(l, x, C, N);
|
|
683
683
|
}, this.strict = o;
|
|
684
684
|
var m = this._modules.root.state;
|
|
685
685
|
Q(this, m, [], this._modules.root), le(this, m), n.forEach(function(y) {
|
|
@@ -687,7 +687,7 @@ var j = function e(t) {
|
|
|
687
687
|
});
|
|
688
688
|
}, ue = { state: { configurable: !0 } };
|
|
689
689
|
j.prototype.install = function(t, r) {
|
|
690
|
-
t.provide(r ||
|
|
690
|
+
t.provide(r || ke, 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 && jt(t, this);
|
|
693
693
|
};
|
|
@@ -734,35 +734,35 @@ j.prototype.dispatch = function(t, r) {
|
|
|
734
734
|
return new Promise(function(m, y) {
|
|
735
735
|
f.then(function(x) {
|
|
736
736
|
try {
|
|
737
|
-
n._actionSubscribers.filter(function(
|
|
738
|
-
return
|
|
739
|
-
}).forEach(function(
|
|
740
|
-
return
|
|
737
|
+
n._actionSubscribers.filter(function(C) {
|
|
738
|
+
return C.after;
|
|
739
|
+
}).forEach(function(C) {
|
|
740
|
+
return C.after(i, n.state);
|
|
741
741
|
});
|
|
742
|
-
} catch (
|
|
743
|
-
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(
|
|
742
|
+
} catch (C) {
|
|
743
|
+
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(C));
|
|
744
744
|
}
|
|
745
745
|
m(x);
|
|
746
746
|
}, function(x) {
|
|
747
747
|
try {
|
|
748
|
-
n._actionSubscribers.filter(function(
|
|
749
|
-
return
|
|
750
|
-
}).forEach(function(
|
|
751
|
-
return
|
|
748
|
+
n._actionSubscribers.filter(function(C) {
|
|
749
|
+
return C.error;
|
|
750
|
+
}).forEach(function(C) {
|
|
751
|
+
return C.error(i, n.state, x);
|
|
752
752
|
});
|
|
753
|
-
} catch (
|
|
754
|
-
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(
|
|
753
|
+
} catch (C) {
|
|
754
|
+
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(C));
|
|
755
755
|
}
|
|
756
756
|
y(x);
|
|
757
757
|
});
|
|
758
758
|
});
|
|
759
759
|
};
|
|
760
760
|
j.prototype.subscribe = function(t, r) {
|
|
761
|
-
return
|
|
761
|
+
return Se(t, this._subscribers, r);
|
|
762
762
|
};
|
|
763
763
|
j.prototype.subscribeAction = function(t, r) {
|
|
764
764
|
var n = typeof t == "function" ? { before: t } : t;
|
|
765
|
-
return
|
|
765
|
+
return Se(n, this._actionSubscribers, r);
|
|
766
766
|
};
|
|
767
767
|
j.prototype.watch = function(t, r, n) {
|
|
768
768
|
var o = this;
|
|
@@ -784,27 +784,27 @@ j.prototype.unregisterModule = function(t) {
|
|
|
784
784
|
typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.unregister(t), this._withCommit(function() {
|
|
785
785
|
var n = de(r.state, t.slice(0, -1));
|
|
786
786
|
delete n[t[t.length - 1]];
|
|
787
|
-
}),
|
|
787
|
+
}), Oe(this);
|
|
788
788
|
};
|
|
789
789
|
j.prototype.hasModule = function(t) {
|
|
790
790
|
return typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.isRegistered(t);
|
|
791
791
|
};
|
|
792
792
|
j.prototype.hotUpdate = function(t) {
|
|
793
|
-
this._modules.update(t),
|
|
793
|
+
this._modules.update(t), Oe(this, !0);
|
|
794
794
|
};
|
|
795
795
|
j.prototype._withCommit = function(t) {
|
|
796
796
|
var r = this._committing;
|
|
797
797
|
this._committing = !0, t(), this._committing = r;
|
|
798
798
|
};
|
|
799
799
|
Object.defineProperties(j.prototype, ue);
|
|
800
|
-
var Bt =
|
|
800
|
+
var Bt = Ve(function(e, t) {
|
|
801
801
|
var r = {};
|
|
802
|
-
return process.env.NODE_ENV !== "production" && !ce(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),
|
|
802
|
+
return process.env.NODE_ENV !== "production" && !ce(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Ne(t).forEach(function(n) {
|
|
803
803
|
var o = n.key, a = n.val;
|
|
804
804
|
r[o] = function() {
|
|
805
805
|
var i = this.$store.state, c = this.$store.getters;
|
|
806
806
|
if (e) {
|
|
807
|
-
var f =
|
|
807
|
+
var f = Le(this.$store, "mapState", e);
|
|
808
808
|
if (!f)
|
|
809
809
|
return;
|
|
810
810
|
i = f.context.state, c = f.context.getters;
|
|
@@ -812,16 +812,16 @@ var Bt = Le(function(e, t) {
|
|
|
812
812
|
return typeof a == "function" ? a.call(this, i, c) : i[a];
|
|
813
813
|
}, r[o].vuex = !0;
|
|
814
814
|
}), r;
|
|
815
|
-
}), Gt =
|
|
815
|
+
}), Gt = Ve(function(e, t) {
|
|
816
816
|
var r = {};
|
|
817
|
-
return process.env.NODE_ENV !== "production" && !ce(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),
|
|
817
|
+
return process.env.NODE_ENV !== "production" && !ce(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Ne(t).forEach(function(n) {
|
|
818
818
|
var o = n.key, a = n.val;
|
|
819
819
|
r[o] = function() {
|
|
820
820
|
for (var i = [], c = arguments.length; c--; )
|
|
821
821
|
i[c] = arguments[c];
|
|
822
822
|
var f = this.$store.commit;
|
|
823
823
|
if (e) {
|
|
824
|
-
var m =
|
|
824
|
+
var m = Le(this.$store, "mapMutations", e);
|
|
825
825
|
if (!m)
|
|
826
826
|
return;
|
|
827
827
|
f = m.context.commit;
|
|
@@ -830,7 +830,7 @@ var Bt = Le(function(e, t) {
|
|
|
830
830
|
};
|
|
831
831
|
}), r;
|
|
832
832
|
});
|
|
833
|
-
function
|
|
833
|
+
function Ne(e) {
|
|
834
834
|
return ce(e) ? Array.isArray(e) ? e.map(function(t) {
|
|
835
835
|
return { key: t, val: t };
|
|
836
836
|
}) : Object.keys(e).map(function(t) {
|
|
@@ -838,14 +838,14 @@ function Ve(e) {
|
|
|
838
838
|
}) : [];
|
|
839
839
|
}
|
|
840
840
|
function ce(e) {
|
|
841
|
-
return Array.isArray(e) ||
|
|
841
|
+
return Array.isArray(e) || Ce(e);
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function Ve(e) {
|
|
844
844
|
return function(t, r) {
|
|
845
845
|
return typeof t != "string" ? (r = t, t = "") : t.charAt(t.length - 1) !== "/" && (t += "/"), e(t, r);
|
|
846
846
|
};
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function Le(e, t, r) {
|
|
849
849
|
var n = e._modulesNamespaceMap[r];
|
|
850
850
|
return process.env.NODE_ENV !== "production" && !n && console.error("[vuex] module namespace not found in " + t + "(): " + r), n;
|
|
851
851
|
}
|
|
@@ -1024,8 +1024,8 @@ const Ft = {
|
|
|
1024
1024
|
}, er = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, tr = /* @__PURE__ */ s("i", { class: "text-3xl fas fa-file-alt" }, null, -1), rr = { class: "w-full ml-3" }, sr = { class: "flex items-center justify-between mb-1" }, nr = { class: "text-xs text-black dark:text-white" }, ar = { class: "text-xs text-black dark:text-white" }, or = { class: "w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800" }, ir = { class: "overflow-x-scroll max-h-56" }, lr = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, dr = { class: "flex items-center" }, ur = /* @__PURE__ */ s("i", {
|
|
1025
1025
|
class: "text-3xl fas fa-file-alt",
|
|
1026
1026
|
"aria-hidden": "true"
|
|
1027
|
-
}, null, -1), cr = { class: "flex flex-col ml-3" }, fr = { class: "text-xs" }, hr = { class: "text-xs" }, gr = { class: "flex gap-2" }, mr = ["href"],
|
|
1028
|
-
function
|
|
1027
|
+
}, null, -1), cr = { class: "flex flex-col ml-3" }, fr = { class: "text-xs" }, hr = { class: "text-xs" }, gr = { class: "flex gap-2" }, mr = ["href"], _r = ["onClick"];
|
|
1028
|
+
function pr(e, t, r, n, o, a) {
|
|
1029
1029
|
const l = X("DeleteConfirmationModal");
|
|
1030
1030
|
return d(), u(v, null, [
|
|
1031
1031
|
H(l, {
|
|
@@ -1114,14 +1114,14 @@ function _r(e, t, r, n, o, a) {
|
|
|
1114
1114
|
o.media_id = i.id, o.open_delete_modal = !0;
|
|
1115
1115
|
},
|
|
1116
1116
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
1117
|
-
}, null, 8,
|
|
1117
|
+
}, null, 8, _r)) : g("", !0)
|
|
1118
1118
|
])
|
|
1119
1119
|
]))), 256))
|
|
1120
1120
|
])
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const fd = /* @__PURE__ */ D(Ft, [["render",
|
|
1124
|
+
const fd = /* @__PURE__ */ D(Ft, [["render", pr]]), br = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...Bt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1586,7 +1586,7 @@ function es(e, t, r, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const _d = /* @__PURE__ */ D(Mr, [["render", es]]), ts = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1683,7 +1683,7 @@ function ss(e, t, r, n, o, a) {
|
|
|
1683
1683
|
_: 3
|
|
1684
1684
|
}, 16, ["type", "href", "class"]));
|
|
1685
1685
|
}
|
|
1686
|
-
const
|
|
1686
|
+
const pd = /* @__PURE__ */ D(ts, [["render", ss]]), ns = { class: "font-bold ptext-lg dark:text-white" }, as = ["name", "id"], os = ["id"], is = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ls = ["for"], ds = /* @__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), us = ["name", "id"], cs = ["required", "name", "id", "type"], fs = { class: "gl-span-form-error" }, hs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, bd = {
|
|
1687
1687
|
__name: "GlTextareaTranslate",
|
|
1688
1688
|
props: {
|
|
1689
1689
|
is_required: {
|
|
@@ -1819,7 +1819,7 @@ const _d = /* @__PURE__ */ D(ts, [["render", ss]]), ns = { class: "font-bold pte
|
|
|
1819
1819
|
], 2))
|
|
1820
1820
|
], 64));
|
|
1821
1821
|
}
|
|
1822
|
-
}, gs = { class: "font-bold ptext-lg dark:text-white" }, ms = ["name", "id"],
|
|
1822
|
+
}, gs = { class: "font-bold ptext-lg dark:text-white" }, ms = ["name", "id"], _s = ["id"], ps = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), bs = ["for"], ys = /* @__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), vs = ["name", "id"], xs = ["name", "id", "type"], ws = { class: "gl-span-form-error" }, ks = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, yd = {
|
|
1823
1823
|
__name: "GlTinymceTranslate",
|
|
1824
1824
|
props: {
|
|
1825
1825
|
is_required: {
|
|
@@ -1912,8 +1912,8 @@ const _d = /* @__PURE__ */ D(ts, [["render", ss]]), ns = { class: "font-bold pte
|
|
|
1912
1912
|
s("p", {
|
|
1913
1913
|
id: e.field_name,
|
|
1914
1914
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1915
|
-
}, h(e.model_value), 9,
|
|
1916
|
-
|
|
1915
|
+
}, h(e.model_value), 9, _s),
|
|
1916
|
+
ps
|
|
1917
1917
|
], 2)) : g("", !0),
|
|
1918
1918
|
e.show ? g("", !0) : (d(), u("div", {
|
|
1919
1919
|
key: 1,
|
|
@@ -2231,7 +2231,7 @@ const wd = /* @__PURE__ */ D(Fs, [["render", Ws]]), Xs = {
|
|
|
2231
2231
|
props: ["title"],
|
|
2232
2232
|
setup() {
|
|
2233
2233
|
return {
|
|
2234
|
-
selectedTitle:
|
|
2234
|
+
selectedTitle: ye("selectedTitle")
|
|
2235
2235
|
};
|
|
2236
2236
|
}
|
|
2237
2237
|
}, Ys = { class: "block" };
|
|
@@ -2386,7 +2386,7 @@ const kd = /* @__PURE__ */ D(Xs, [["render", Js]]), Qs = {
|
|
|
2386
2386
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2387
2387
|
}, null, -1)), mn = [
|
|
2388
2388
|
gn
|
|
2389
|
-
],
|
|
2389
|
+
], _n = {
|
|
2390
2390
|
key: 1,
|
|
2391
2391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2392
2392
|
class: "w-6 h-6",
|
|
@@ -2394,12 +2394,12 @@ const kd = /* @__PURE__ */ D(Xs, [["render", Js]]), Qs = {
|
|
|
2394
2394
|
viewBox: "0 0 24 24",
|
|
2395
2395
|
stroke: "currentColor",
|
|
2396
2396
|
"stroke-width": "2"
|
|
2397
|
-
},
|
|
2397
|
+
}, pn = /* @__PURE__ */ E(() => /* @__PURE__ */ s("path", {
|
|
2398
2398
|
"stroke-linecap": "round",
|
|
2399
2399
|
"stroke-linejoin": "round",
|
|
2400
2400
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2401
2401
|
}, null, -1)), bn = [
|
|
2402
|
-
|
|
2402
|
+
pn
|
|
2403
2403
|
], yn = { class: "w-full" }, vn = {
|
|
2404
2404
|
key: 0,
|
|
2405
2405
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2561,7 +2561,7 @@ function na(e, t, r, n, o, a) {
|
|
|
2561
2561
|
onClick: t[1] || (t[1] = M((l) => a.prev(), ["stop"]))
|
|
2562
2562
|
}, [
|
|
2563
2563
|
r.direction_property == "ltr" ? (d(), u("svg", hn, mn)) : g("", !0),
|
|
2564
|
-
r.direction_property == "rtl" ? (d(), u("svg",
|
|
2564
|
+
r.direction_property == "rtl" ? (d(), u("svg", _n, bn)) : g("", !0)
|
|
2565
2565
|
])
|
|
2566
2566
|
])
|
|
2567
2567
|
], 2)) : g("", !0),
|
|
@@ -2725,7 +2725,7 @@ const $d = /* @__PURE__ */ D(Qs, [["render", na], ["__scopeId", "data-v-a94f16a9
|
|
|
2725
2725
|
[B, e.is_open]
|
|
2726
2726
|
]);
|
|
2727
2727
|
}
|
|
2728
|
-
}, ha = { class: "mb-4" }, ga = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, ma = { class: "relative inline-flex items-center cursor-pointer" },
|
|
2728
|
+
}, ha = { class: "mb-4" }, ga = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, ma = { class: "relative inline-flex items-center cursor-pointer" }, _a = ["name", "id", "checked"], pa = /* @__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), ba = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ya = { 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" }, va = { class: "relative inline-flex items-center cursor-pointer" }, xa = ["name", "id"], wa = /* @__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), ka = { class: "gl-span-form-error" }, $a = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Sd = {
|
|
2729
2729
|
__name: "GlToggleBox",
|
|
2730
2730
|
props: {
|
|
2731
2731
|
is_required: {
|
|
@@ -2795,8 +2795,8 @@ const $d = /* @__PURE__ */ D(Qs, [["render", na], ["__scopeId", "data-v-a94f16a9
|
|
|
2795
2795
|
ref_key: "input",
|
|
2796
2796
|
ref: o,
|
|
2797
2797
|
disabled: ""
|
|
2798
|
-
}, null, 8,
|
|
2799
|
-
|
|
2798
|
+
}, null, 8, _a),
|
|
2799
|
+
pa
|
|
2800
2800
|
])
|
|
2801
2801
|
])
|
|
2802
2802
|
]),
|
|
@@ -2929,19 +2929,19 @@ const $d = /* @__PURE__ */ D(Qs, [["render", na], ["__scopeId", "data-v-a94f16a9
|
|
|
2929
2929
|
setup(e, { emit: t }) {
|
|
2930
2930
|
const r = e, n = t, o = O(null), a = O({}), l = O(0), i = O(!1), c = O(""), f = O("");
|
|
2931
2931
|
G(() => {
|
|
2932
|
-
n("selected", a.value), f.value =
|
|
2933
|
-
var b =
|
|
2932
|
+
n("selected", a.value), f.value = C();
|
|
2933
|
+
var b = Ue();
|
|
2934
2934
|
a.value = m.value.find((k) => String(k.id) === String(b)) || {}, r.show || (document.body.addEventListener("click", (k) => {
|
|
2935
|
-
|
|
2935
|
+
Be(k);
|
|
2936
2936
|
}), document.addEventListener("keypress", (k) => {
|
|
2937
2937
|
k.key === "Enter" && k.target.form && k.preventDefault();
|
|
2938
2938
|
}));
|
|
2939
2939
|
});
|
|
2940
|
-
const m = z(() =>
|
|
2940
|
+
const m = z(() => Re()), y = z(() => {
|
|
2941
2941
|
const b = [], k = new RegExp(c.value, "ig");
|
|
2942
|
-
for (const
|
|
2943
|
-
const V = String(
|
|
2944
|
-
(c.value.length < 1 || V.match(k)) && b.length < r.maxItem && b.push(
|
|
2942
|
+
for (const S of m.value) {
|
|
2943
|
+
const V = String(S.name);
|
|
2944
|
+
(c.value.length < 1 || V.match(k)) && b.length < r.maxItem && b.push(S);
|
|
2945
2945
|
}
|
|
2946
2946
|
return b;
|
|
2947
2947
|
});
|
|
@@ -2949,37 +2949,37 @@ const $d = /* @__PURE__ */ D(Qs, [["render", na], ["__scopeId", "data-v-a94f16a9
|
|
|
2949
2949
|
if (["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", "Enter"].includes(b.key)) {
|
|
2950
2950
|
if (["ArrowUp", "ArrowDown"].includes(b.key) && b.preventDefault(), b.key === "ArrowDown" && r.posts === "")
|
|
2951
2951
|
return;
|
|
2952
|
-
|
|
2952
|
+
Fe(b.key);
|
|
2953
2953
|
}
|
|
2954
2954
|
}
|
|
2955
|
-
function
|
|
2955
|
+
function C() {
|
|
2956
2956
|
let b = (/* @__PURE__ */ new Date()).getTime();
|
|
2957
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(
|
|
2957
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(S) {
|
|
2958
2958
|
const V = (b + Math.random() * 16) % 16 | 0;
|
|
2959
|
-
return b = Math.floor(b / 16), (
|
|
2959
|
+
return b = Math.floor(b / 16), (S === "x" ? V : V & 3 | 8).toString(16);
|
|
2960
2960
|
});
|
|
2961
2961
|
}
|
|
2962
2962
|
function N(b) {
|
|
2963
2963
|
return Object.keys(b).length > 0;
|
|
2964
2964
|
}
|
|
2965
|
-
function
|
|
2966
|
-
b.target.id != r.
|
|
2965
|
+
function Be(b) {
|
|
2966
|
+
b.target.id != r.field_name + "search" + f.value && b.target.id != r.field_name && !b.target.classList.contains("showOptions") && (ze(), l.value = 0);
|
|
2967
2967
|
}
|
|
2968
2968
|
function fe(b) {
|
|
2969
|
-
const k = `${b}${f.value}`,
|
|
2970
|
-
|
|
2969
|
+
const k = `${b}${f.value}`, S = document.getElementById(k);
|
|
2970
|
+
S && S.scrollIntoView();
|
|
2971
2971
|
}
|
|
2972
|
-
function
|
|
2973
|
-
const k = `${b}${f.value}`,
|
|
2974
|
-
|
|
2972
|
+
function Ge(b) {
|
|
2973
|
+
const k = `${b}${f.value}`, S = document.getElementById(k);
|
|
2974
|
+
S && S.click();
|
|
2975
2975
|
}
|
|
2976
|
-
function
|
|
2977
|
-
b === "ArrowDown" && l.value < y.value.length && (l.value++, fe(l.value)), b === "ArrowUp" && l.value > 1 && (l.value--, fe(l.value)), b === "Enter" &&
|
|
2976
|
+
function Fe(b) {
|
|
2977
|
+
b === "ArrowDown" && l.value < y.value.length && (l.value++, fe(l.value)), b === "ArrowUp" && l.value > 1 && (l.value--, fe(l.value)), b === "Enter" && Ge(l.value);
|
|
2978
2978
|
}
|
|
2979
|
-
function
|
|
2979
|
+
function Re() {
|
|
2980
2980
|
return r.options.map((b, k) => typeof b == "object" ? b : { id: b, name: b });
|
|
2981
2981
|
}
|
|
2982
|
-
function
|
|
2982
|
+
function Ue() {
|
|
2983
2983
|
var b = r.defaultValue || r.modelValue;
|
|
2984
2984
|
return b ? typeof b == "object" ? b.id + "" : b + "" : "";
|
|
2985
2985
|
}
|
|
@@ -2988,14 +2988,14 @@ const $d = /* @__PURE__ */ D(Qs, [["render", na], ["__scopeId", "data-v-a94f16a9
|
|
|
2988
2988
|
}
|
|
2989
2989
|
function ee() {
|
|
2990
2990
|
r.show || (c.value = "", i.value = !0, tt(() => {
|
|
2991
|
-
var b = document.getElementById(`${r.
|
|
2991
|
+
var b = document.getElementById(`${r.field_name}search${f.value}`);
|
|
2992
2992
|
b && b.focus();
|
|
2993
2993
|
}));
|
|
2994
2994
|
}
|
|
2995
|
-
function
|
|
2995
|
+
function qe() {
|
|
2996
2996
|
r.show || (a.value = {}, c.value = "", n("update:modelValue", ""), ee());
|
|
2997
2997
|
}
|
|
2998
|
-
function
|
|
2998
|
+
function ze() {
|
|
2999
2999
|
a.value.id || (a.value = {}, c.value = ""), n("selected", a.value), i.value = !1;
|
|
3000
3000
|
}
|
|
3001
3001
|
return W(c, () => {
|
|
@@ -3040,21 +3040,21 @@ const $d = /* @__PURE__ */ D(Qs, [["render", na], ["__scopeId", "data-v-a94f16a9
|
|
|
3040
3040
|
"gl-input-form-invalid": e.error_message !== ""
|
|
3041
3041
|
}, "pl-8 pr-2 showOptions"]),
|
|
3042
3042
|
ref: e.field_name,
|
|
3043
|
-
onClick: k[0] || (k[0] = (
|
|
3043
|
+
onClick: k[0] || (k[0] = (S) => ee()),
|
|
3044
3044
|
value: a.value.name,
|
|
3045
3045
|
placeholder: e.placeholder,
|
|
3046
3046
|
autocomplete: "off",
|
|
3047
3047
|
readonly: ""
|
|
3048
3048
|
}, null, 10, Ia),
|
|
3049
3049
|
P(s("i", {
|
|
3050
|
-
onClick: k[1] || (k[1] = M((
|
|
3050
|
+
onClick: k[1] || (k[1] = M((S) => qe(), ["stop"])),
|
|
3051
3051
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
3052
3052
|
style: { top: "13px" }
|
|
3053
3053
|
}, null, 512), [
|
|
3054
3054
|
[B, N(a.value) && e.has_cancel]
|
|
3055
3055
|
]),
|
|
3056
3056
|
s("i", {
|
|
3057
|
-
onClick: k[2] || (k[2] = (
|
|
3057
|
+
onClick: k[2] || (k[2] = (S) => !i.value && ee()),
|
|
3058
3058
|
class: p([i.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
|
|
3059
3059
|
style: { top: "11px" }
|
|
3060
3060
|
}, null, 2)
|
|
@@ -3066,11 +3066,10 @@ const $d = /* @__PURE__ */ D(Qs, [["render", na], ["__scopeId", "data-v-a94f16a9
|
|
|
3066
3066
|
La,
|
|
3067
3067
|
P(s("input", {
|
|
3068
3068
|
type: "search",
|
|
3069
|
-
"onUpdate:modelValue": k[3] || (k[3] = (
|
|
3069
|
+
"onUpdate:modelValue": k[3] || (k[3] = (S) => c.value = S),
|
|
3070
3070
|
ref: o.value,
|
|
3071
3071
|
id: `${e.field_name}search${f.value}`,
|
|
3072
3072
|
onKeydown: x,
|
|
3073
|
-
onBlur: k[4] || (k[4] = (C) => ge()),
|
|
3074
3073
|
autocomplete: "off",
|
|
3075
3074
|
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",
|
|
3076
3075
|
placeholder: "Search ..."
|
|
@@ -3080,16 +3079,16 @@ const $d = /* @__PURE__ */ D(Qs, [["render", na], ["__scopeId", "data-v-a94f16a9
|
|
|
3080
3079
|
])
|
|
3081
3080
|
]),
|
|
3082
3081
|
s("div", Ga, [
|
|
3083
|
-
(d(!0), u(v, null, $(y.value, (
|
|
3082
|
+
(d(!0), u(v, null, $(y.value, (S, V) => (d(), u("div", {
|
|
3084
3083
|
class: p(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", V + 1 == l.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
3085
|
-
onClick: (He) => he(
|
|
3086
|
-
onMousedown: (He) => he(
|
|
3084
|
+
onClick: (He) => he(S),
|
|
3085
|
+
onMousedown: (He) => he(S),
|
|
3087
3086
|
key: V,
|
|
3088
3087
|
id: `${V + 1}${f.value}`
|
|
3089
3088
|
}, [
|
|
3090
3089
|
s("div", Ra, [
|
|
3091
|
-
a.value.id ===
|
|
3092
|
-
s("span", null, h(
|
|
3090
|
+
a.value.id === S.id ? (d(), u("svg", Ua, za)) : g("", !0),
|
|
3091
|
+
s("span", null, h(S.name || S.id || "-"), 1)
|
|
3093
3092
|
])
|
|
3094
3093
|
], 42, Fa))), 128))
|
|
3095
3094
|
])
|
|
@@ -3374,7 +3373,7 @@ const $d = /* @__PURE__ */ D(Qs, [["render", na], ["__scopeId", "data-v-a94f16a9
|
|
|
3374
3373
|
d: "m1 9 4-4-4-4"
|
|
3375
3374
|
})
|
|
3376
3375
|
], -1);
|
|
3377
|
-
function
|
|
3376
|
+
function _o(e, t, r, n, o, a) {
|
|
3378
3377
|
const l = X("RenderlessPagination");
|
|
3379
3378
|
return d(), Z(l, {
|
|
3380
3379
|
data: r.data,
|
|
@@ -3450,8 +3449,8 @@ function po(e, t, r, n, o, a) {
|
|
|
3450
3449
|
_: 3
|
|
3451
3450
|
}, 8, ["data", "limit", "onPaginationChangePage"]);
|
|
3452
3451
|
}
|
|
3453
|
-
const
|
|
3454
|
-
components: { TailwindPagination:
|
|
3452
|
+
const po = /* @__PURE__ */ D(ro, [["render", _o]]), bo = {
|
|
3453
|
+
components: { TailwindPagination: po },
|
|
3455
3454
|
props: {
|
|
3456
3455
|
data: Array,
|
|
3457
3456
|
columns: Array,
|
|
@@ -3776,10 +3775,10 @@ const Pd = /* @__PURE__ */ D(bo, [["render", Lo]]), Bo = {
|
|
|
3776
3775
|
"stroke-width": "2",
|
|
3777
3776
|
d: "M5 1 1 5l4 4"
|
|
3778
3777
|
})
|
|
3779
|
-
], -1),
|
|
3778
|
+
], -1), _i = [
|
|
3780
3779
|
gi,
|
|
3781
3780
|
mi
|
|
3782
|
-
],
|
|
3781
|
+
], pi = ["onClick"], bi = ["onClick"], yi = ["disabled"], vi = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), xi = /* @__PURE__ */ s("svg", {
|
|
3783
3782
|
class: "w-2.5 h-2.5 rtl:rotate-180",
|
|
3784
3783
|
"aria-hidden": "true",
|
|
3785
3784
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3901,7 +3900,7 @@ function ki(e, t, r, n, o, a) {
|
|
|
3901
3900
|
onClick: t[4] || (t[4] = (...i) => a.previousPage && a.previousPage(...i)),
|
|
3902
3901
|
disabled: o.currentPage === 1,
|
|
3903
3902
|
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"
|
|
3904
|
-
},
|
|
3903
|
+
}, _i, 8, hi)
|
|
3905
3904
|
]),
|
|
3906
3905
|
(d(!0), u(v, null, $(a.displayedPageNumbers, (i) => (d(), u(v, { key: i }, [
|
|
3907
3906
|
s("li", null, [
|
|
@@ -3910,7 +3909,7 @@ function ki(e, t, r, n, o, a) {
|
|
|
3910
3909
|
href: "#",
|
|
3911
3910
|
onClick: (c) => a.goToPage(i),
|
|
3912
3911
|
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"
|
|
3913
|
-
}, h(i), 9,
|
|
3912
|
+
}, h(i), 9, pi)) : g("", !0)
|
|
3914
3913
|
]),
|
|
3915
3914
|
s("li", null, [
|
|
3916
3915
|
o.currentPage === i ? (d(), u("a", {
|
|
@@ -4031,7 +4030,7 @@ const Ed = /* @__PURE__ */ D(Bo, [["render", ki]]), $i = {
|
|
|
4031
4030
|
}, Gi)
|
|
4032
4031
|
]));
|
|
4033
4032
|
}
|
|
4034
|
-
}, oe =
|
|
4033
|
+
}, oe = ve({
|
|
4035
4034
|
items: []
|
|
4036
4035
|
}), Ri = {
|
|
4037
4036
|
add(e) {
|
|
@@ -4045,14 +4044,14 @@ const Ed = /* @__PURE__ */ D(Bo, [["render", ki]]), $i = {
|
|
|
4045
4044
|
remove(e) {
|
|
4046
4045
|
oe.items.splice(e, 1);
|
|
4047
4046
|
}
|
|
4048
|
-
},
|
|
4047
|
+
}, be = {
|
|
4049
4048
|
state: oe,
|
|
4050
4049
|
methods: Ri
|
|
4051
4050
|
}, jd = {
|
|
4052
4051
|
__name: "GlToastList",
|
|
4053
4052
|
setup(e) {
|
|
4054
4053
|
function t(r) {
|
|
4055
|
-
|
|
4054
|
+
be.methods.remove(r);
|
|
4056
4055
|
}
|
|
4057
4056
|
return (r, n) => (d(), Z(rt, {
|
|
4058
4057
|
tag: "div",
|
|
@@ -4063,7 +4062,7 @@ const Ed = /* @__PURE__ */ D(Bo, [["render", ki]]), $i = {
|
|
|
4063
4062
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4064
4063
|
}, {
|
|
4065
4064
|
default: Y(() => [
|
|
4066
|
-
(d(!0), u(v, null, $(st(
|
|
4065
|
+
(d(!0), u(v, null, $(st(be).state.items, (o, a) => (d(), Z(Fi, {
|
|
4067
4066
|
key: o.key,
|
|
4068
4067
|
message: o.message,
|
|
4069
4068
|
type: o.type,
|
|
@@ -4116,7 +4115,7 @@ const Ed = /* @__PURE__ */ D(Bo, [["render", ki]]), $i = {
|
|
|
4116
4115
|
},
|
|
4117
4116
|
emits: ["deleteAction"],
|
|
4118
4117
|
setup(e, { emit: t }) {
|
|
4119
|
-
const r =
|
|
4118
|
+
const r = $e(), n = e, o = O(!1), a = O(!1), l = () => {
|
|
4120
4119
|
o.value = !1;
|
|
4121
4120
|
}, i = () => {
|
|
4122
4121
|
o.value = !0;
|
|
@@ -4135,8 +4134,8 @@ const Ed = /* @__PURE__ */ D(Bo, [["render", ki]]), $i = {
|
|
|
4135
4134
|
console.log(x);
|
|
4136
4135
|
});
|
|
4137
4136
|
};
|
|
4138
|
-
return (x,
|
|
4139
|
-
const N =
|
|
4137
|
+
return (x, C) => {
|
|
4138
|
+
const N = xe("click-outside");
|
|
4140
4139
|
return d(), u(v, null, [
|
|
4141
4140
|
H(ie, {
|
|
4142
4141
|
isOpen: a.value,
|
|
@@ -4222,7 +4221,7 @@ const Ed = /* @__PURE__ */ D(Bo, [["render", ki]]), $i = {
|
|
|
4222
4221
|
},
|
|
4223
4222
|
emits: ["deleteAction"],
|
|
4224
4223
|
setup(e, { emit: t }) {
|
|
4225
|
-
const r =
|
|
4224
|
+
const r = $e(), n = e, o = O(!1), a = O(!1), l = () => {
|
|
4226
4225
|
o.value = !1;
|
|
4227
4226
|
}, i = () => {
|
|
4228
4227
|
o.value = !0;
|
|
@@ -4241,8 +4240,8 @@ const Ed = /* @__PURE__ */ D(Bo, [["render", ki]]), $i = {
|
|
|
4241
4240
|
console.log(x);
|
|
4242
4241
|
});
|
|
4243
4242
|
};
|
|
4244
|
-
return (x,
|
|
4245
|
-
const N =
|
|
4243
|
+
return (x, C) => {
|
|
4244
|
+
const N = xe("click-outside");
|
|
4246
4245
|
return d(), u(v, null, [
|
|
4247
4246
|
H(ie, {
|
|
4248
4247
|
isOpen: a.value,
|
|
@@ -4386,10 +4385,10 @@ const Td = /* @__PURE__ */ D(ol, [["render", fl]]), hl = {
|
|
|
4386
4385
|
d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
|
|
4387
4386
|
"clip-rule": "evenodd"
|
|
4388
4387
|
})
|
|
4389
|
-
], -1),
|
|
4388
|
+
], -1), _l = {
|
|
4390
4389
|
key: 1,
|
|
4391
4390
|
class: "m-1 d-inline-block"
|
|
4392
|
-
},
|
|
4391
|
+
}, pl = ["href", "title"], bl = /* @__PURE__ */ s("svg", {
|
|
4393
4392
|
class: "w-3 h-3 text-white me-2",
|
|
4394
4393
|
"aria-hidden": "true",
|
|
4395
4394
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4422,7 +4421,7 @@ function yl(e, t, r, n, o, a) {
|
|
|
4422
4421
|
ml,
|
|
4423
4422
|
w(" Download ")
|
|
4424
4423
|
], 8, gl)
|
|
4425
|
-
]))), 128)) : a.isObject ? (d(), u("div",
|
|
4424
|
+
]))), 128)) : a.isObject ? (d(), u("div", _l, [
|
|
4426
4425
|
s("a", {
|
|
4427
4426
|
href: r.row[r.field].url,
|
|
4428
4427
|
title: r.row[r.field].name,
|
|
@@ -4431,7 +4430,7 @@ function yl(e, t, r, n, o, a) {
|
|
|
4431
4430
|
}, [
|
|
4432
4431
|
bl,
|
|
4433
4432
|
w(" Download ")
|
|
4434
|
-
], 8,
|
|
4433
|
+
], 8, pl)
|
|
4435
4434
|
])) : g("", !0)
|
|
4436
4435
|
]);
|
|
4437
4436
|
}
|
|
@@ -4614,7 +4613,7 @@ function ud(e, t, r, n, o, a) {
|
|
|
4614
4613
|
}
|
|
4615
4614
|
const Fd = /* @__PURE__ */ D(Jl, [["render", ud]]);
|
|
4616
4615
|
export {
|
|
4617
|
-
|
|
4616
|
+
pd as GlButton,
|
|
4618
4617
|
md as GlCard,
|
|
4619
4618
|
Fd as GlConfirmationModal,
|
|
4620
4619
|
Ed as GlDataTable,
|
|
@@ -4634,17 +4633,17 @@ export {
|
|
|
4634
4633
|
gd as GlLanguageSelector,
|
|
4635
4634
|
Cd as GlModal,
|
|
4636
4635
|
$d as GlMultiItemSlide,
|
|
4637
|
-
|
|
4636
|
+
_d as GlMultiSelectDropdown,
|
|
4638
4637
|
hd as GlNotify,
|
|
4639
4638
|
kd as GlTab,
|
|
4640
4639
|
wd as GlTabsWrapper,
|
|
4641
|
-
|
|
4640
|
+
po as GlTailwindPagination,
|
|
4642
4641
|
xd as GlTextInput,
|
|
4643
4642
|
vd as GlTextTranslate,
|
|
4644
4643
|
Dd as GlTextarea,
|
|
4645
4644
|
bd as GlTextareaTranslate,
|
|
4646
4645
|
yd as GlTinymceTranslate,
|
|
4647
|
-
|
|
4646
|
+
be as GlToast,
|
|
4648
4647
|
jd as GlToastList,
|
|
4649
4648
|
Sd as GlToggleBox
|
|
4650
4649
|
};
|