golden-logic-ui 1.0.164 → 1.0.165
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 +262 -262
- package/dist/golden-logic-ui.umd.cjs +14 -14
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -19,7 +19,7 @@ var RK = { exports: {} };
|
|
|
19
19
|
"xml",
|
|
20
20
|
"null"
|
|
21
21
|
].indexOf(e) !== -1;
|
|
22
|
-
},
|
|
22
|
+
}, be = function(e, n) {
|
|
23
23
|
var o = Array.prototype.slice.call(e);
|
|
24
24
|
return o.sort(n);
|
|
25
25
|
}, oe = function(e, n) {
|
|
@@ -41,7 +41,7 @@ var RK = { exports: {} };
|
|
|
41
41
|
});
|
|
42
42
|
}, ft = function(e, n) {
|
|
43
43
|
return oe(Oe(e), function(o) {
|
|
44
|
-
return
|
|
44
|
+
return be(o, n);
|
|
45
45
|
});
|
|
46
46
|
}, jt = function(e) {
|
|
47
47
|
return U(function(n, o) {
|
|
@@ -17216,7 +17216,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
17216
17216
|
}, G = (t) => {
|
|
17217
17217
|
const s = typeof t;
|
|
17218
17218
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ee(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
17219
|
-
},
|
|
17219
|
+
}, be = (t) => (s) => G(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, _e = (t, s) => Oe(t) && ee(t, s, (a, c) => O(a) === c), J = be("string"), Oe = be("object"), ft = (t) => _e(t, Object), jt = be("array"), xn = U(null), eo = oe("boolean"), jo = U(void 0), xa = (t) => t == null, ko = (t) => !xa(t), Yo = oe("function"), zs = oe("number"), Rt = (t, s) => {
|
|
17220
17220
|
if (jt(t)) {
|
|
17221
17221
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
17222
17222
|
if (!s(t[a]))
|
|
@@ -18980,7 +18980,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ne(s, (a) => a.name),
|
|
|
18980
18980
|
}, P = () => {
|
|
18981
18981
|
c.set(Od(a));
|
|
18982
18982
|
}, I = () => {
|
|
18983
|
-
const De = zr(x), we = ve(De, (
|
|
18983
|
+
const De = zr(x), we = ve(De, (ye) => c.get().getByDom(ye).fold(() => [], or));
|
|
18984
18984
|
E.set(we);
|
|
18985
18985
|
}, z = (De) => {
|
|
18986
18986
|
const we = h;
|
|
@@ -21039,9 +21039,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
21039
21039
|
c(Y, q).each((De) => {
|
|
21040
21040
|
q.focusManager.set(Y, De);
|
|
21041
21041
|
});
|
|
21042
|
-
}, h = (Y, q, ne, De, we) => we(q, ne, (
|
|
21042
|
+
}, h = (Y, q, ne, De, we) => we(q, ne, (ye) => m(De, ye)).fold(() => De.cyclic ? w.some(!0) : w.none(), (ye) => (De.focusManager.set(Y, ye), w.some(!0))), b = (Y, q, ne, De) => {
|
|
21043
21043
|
const we = Ns(Y.element, ne.selector);
|
|
21044
|
-
return u(Y, ne).bind((
|
|
21044
|
+
return u(Y, ne).bind((ye) => fo(we, Qe(Vn, ye)).bind((We) => h(Y, we, We, ne, De)));
|
|
21045
21045
|
}, x = (Y, q, ne) => {
|
|
21046
21046
|
const De = ne.cyclic ? RD : g5;
|
|
21047
21047
|
return b(Y, q, ne, De);
|
|
@@ -21834,32 +21834,32 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
21834
21834
|
}, IN = () => {
|
|
21835
21835
|
const t = St({}), s = St({}), a = St({}), c = lo(), u = St({}), m = () => {
|
|
21836
21836
|
t.set({}), s.set({}), a.set({}), c.clear();
|
|
21837
|
-
}, f = () => c.get().isNone(), h = (we,
|
|
21837
|
+
}, f = () => c.get().isNone(), h = (we, ye) => {
|
|
21838
21838
|
s.set({
|
|
21839
21839
|
...s.get(),
|
|
21840
21840
|
[we]: {
|
|
21841
21841
|
type: "prepared",
|
|
21842
|
-
menu:
|
|
21842
|
+
menu: ye
|
|
21843
21843
|
}
|
|
21844
21844
|
});
|
|
21845
|
-
}, b = (we,
|
|
21846
|
-
c.set(we), t.set(Re), s.set(
|
|
21845
|
+
}, b = (we, ye, Re, We) => {
|
|
21846
|
+
c.set(we), t.set(Re), s.set(ye), u.set(We);
|
|
21847
21847
|
const Zt = O4(We, Re);
|
|
21848
21848
|
a.set(Zt);
|
|
21849
|
-
}, x = (we) => Is(t.get(), (
|
|
21849
|
+
}, x = (we) => Is(t.get(), (ye, Re) => ye === we), C = (we, ye, Re) => z(we).bind((We) => x(we).bind((Zt) => ye(Zt).map((tt) => ({
|
|
21850
21850
|
triggeredMenu: We,
|
|
21851
21851
|
triggeringItem: tt,
|
|
21852
21852
|
triggeringPath: Re
|
|
21853
|
-
})))), E = (we,
|
|
21853
|
+
})))), E = (we, ye) => {
|
|
21854
21854
|
const Re = to(Y(we).toArray(), (We) => z(We).isSome());
|
|
21855
21855
|
return Ke(a.get(), we).bind((We) => {
|
|
21856
|
-
const Zt = oa(Re.concat(We)), tt = ve(Zt, (Pt, At) => C(Pt,
|
|
21856
|
+
const Zt = oa(Re.concat(We)), tt = ve(Zt, (Pt, At) => C(Pt, ye, Zt.slice(0, At + 1)).fold(() => Vr(c.get(), Pt) ? [] : [w.none()], ($n) => [w.some($n)]));
|
|
21857
21857
|
return ml(tt);
|
|
21858
21858
|
});
|
|
21859
|
-
}, A = (we) => Ke(t.get(), we).map((
|
|
21859
|
+
}, A = (we) => Ke(t.get(), we).map((ye) => {
|
|
21860
21860
|
const Re = Ke(a.get(), we).getOr([]);
|
|
21861
|
-
return [
|
|
21862
|
-
}), P = (we) => Ke(a.get(), we).bind((
|
|
21861
|
+
return [ye].concat(Re);
|
|
21862
|
+
}), P = (we) => Ke(a.get(), we).bind((ye) => ye.length > 1 ? w.some(ye.slice(1)) : w.none()), I = (we) => Ke(a.get(), we), z = (we) => re(we).bind(qg), re = (we) => Ke(s.get(), we), Y = (we) => Ke(t.get(), we);
|
|
21863
21863
|
return {
|
|
21864
21864
|
setMenuBuilt: h,
|
|
21865
21865
|
setContents: b,
|
|
@@ -21869,8 +21869,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
21869
21869
|
lookupMenu: re,
|
|
21870
21870
|
lookupItem: Y,
|
|
21871
21871
|
otherMenus: (we) => {
|
|
21872
|
-
const
|
|
21873
|
-
return Ct(wo(
|
|
21872
|
+
const ye = u.get();
|
|
21873
|
+
return Ct(wo(ye), we);
|
|
21874
21874
|
},
|
|
21875
21875
|
getPrimary: () => c.get().bind(z),
|
|
21876
21876
|
getMenus: () => s.get(),
|
|
@@ -21981,7 +21981,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
21981
21981
|
}, De = (je, ct) => {
|
|
21982
21982
|
const Bt = f(ct);
|
|
21983
21983
|
return u.refresh(Bt).bind((Ft) => (I(je, Ft), z(je, u, Ft)));
|
|
21984
|
-
}, we = (je, ct) => sf(ct.element) ? w.none() : q(je, ct, re.HighlightSubmenu),
|
|
21984
|
+
}, we = (je, ct) => sf(ct.element) ? w.none() : q(je, ct, re.HighlightSubmenu), ye = (je, ct) => sf(ct.element) ? w.none() : ne(je, ct), Re = (je, ct) => ne(je, ct).orThunk(() => t.onEscape(je, ct).map(() => je)), We = (je) => (ct, Bt) => jc(Bt.getSource(), `.${t.markers.item}`).bind((Ft) => ct.getSystem().getByDom(Ft).toOptional().bind((_t) => je(ct, _t).map(Ce))), Zt = ho([
|
|
21985
21985
|
Se(PN(), (je, ct) => {
|
|
21986
21986
|
const Bt = ct.event.item;
|
|
21987
21987
|
u.lookupItem(f(Bt)).each(() => {
|
|
@@ -22049,7 +22049,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
22049
22049
|
bt.config({
|
|
22050
22050
|
mode: "special",
|
|
22051
22051
|
onRight: We(we),
|
|
22052
|
-
onLeft: We(
|
|
22052
|
+
onLeft: We(ye),
|
|
22053
22053
|
onEscape: We(Re),
|
|
22054
22054
|
focusIn: (je, ct) => {
|
|
22055
22055
|
u.getPrimary().each((Bt) => {
|
|
@@ -23084,7 +23084,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23084
23084
|
un.content && un.content.ownerDocument && (u = un.content.ownerDocument);
|
|
23085
23085
|
}
|
|
23086
23086
|
let ne, De = "";
|
|
23087
|
-
const { implementation: we, createNodeIterator:
|
|
23087
|
+
const { implementation: we, createNodeIterator: ye, createDocumentFragment: Re, getElementsByTagName: We } = u, { importNode: Zt } = a;
|
|
23088
23088
|
let tt = {};
|
|
23089
23089
|
s.isSupported = typeof XS == "function" && typeof q == "function" && we && we.createHTMLDocument !== void 0;
|
|
23090
23090
|
const { MUSTACHE_EXPR: Pt, ERB_EXPR: At, TMPLIT_EXPR: $n, DATA_ATTR: wt, ARIA_ATTR: gn, IS_SCRIPT_OR_DATA: je, ATTR_WHITESPACE: ct } = M0;
|
|
@@ -23292,7 +23292,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23292
23292
|
const va = mt.body || mt.documentElement;
|
|
23293
23293
|
return ge && Vt && va.insertBefore(u.createTextNode(Vt), va.childNodes[0] || null), pC === Wf ? We.call(mt, od ? "html" : "body")[0] : od ? mt.documentElement : va;
|
|
23294
23294
|
}, Uq = function(ge) {
|
|
23295
|
-
return
|
|
23295
|
+
return ye.call(ge.ownerDocument || ge, ge, x.SHOW_ELEMENT | x.SHOW_COMMENT | x.SHOW_TEXT, null, !1);
|
|
23296
23296
|
}, wK = function(ge) {
|
|
23297
23297
|
return ge instanceof E && (typeof ge.nodeName != "string" || typeof ge.textContent != "string" || typeof ge.removeChild != "function" || !(ge.attributes instanceof C) || typeof ge.removeAttribute != "function" || typeof ge.setAttribute != "function" || typeof ge.namespaceURI != "string" || typeof ge.insertBefore != "function" || typeof ge.hasChildNodes != "function");
|
|
23298
23298
|
}, hL = function(ge) {
|
|
@@ -26097,8 +26097,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26097
26097
|
return ve(re, (q) => {
|
|
26098
26098
|
const ne = q.items;
|
|
26099
26099
|
return qH(ne, q.matchText, (De, we) => {
|
|
26100
|
-
const
|
|
26101
|
-
YH(t.dom,
|
|
26100
|
+
const ye = t.selection.getRng();
|
|
26101
|
+
YH(t.dom, ye).each((Re) => {
|
|
26102
26102
|
const We = {
|
|
26103
26103
|
hide: () => C(),
|
|
26104
26104
|
reload: (Zt) => {
|
|
@@ -26655,11 +26655,11 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
26655
26655
|
});
|
|
26656
26656
|
}, h = (P, I) => {
|
|
26657
26657
|
const z = Ne(I, (q) => {
|
|
26658
|
-
const ne = li.translate(q.text), De = t.columns === 1 ? `<div class="tox-collection__item-label">${ne}</div>` : "", we = `<div class="tox-collection__item-icon">${m(q.icon)}</div>`,
|
|
26658
|
+
const ne = li.translate(q.text), De = t.columns === 1 ? `<div class="tox-collection__item-label">${ne}</div>` : "", we = `<div class="tox-collection__item-icon">${m(q.icon)}</div>`, ye = {
|
|
26659
26659
|
_: " ",
|
|
26660
26660
|
" - ": " ",
|
|
26661
26661
|
"-": " "
|
|
26662
|
-
}, Re = ne.replace(/\_| \- |\-/g, (Zt) =>
|
|
26662
|
+
}, Re = ne.replace(/\_| \- |\-/g, (Zt) => ye[Zt]);
|
|
26663
26663
|
return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${fU.encodeAllRaw(q.value)}" title="${Re}" aria-label="${Re}">${we}${De}</div>`;
|
|
26664
26664
|
}), re = t.columns !== "auto" && t.columns > 1 ? bc(z, t.columns) : [z], Y = Ne(re, (q) => `<div class="tox-collection__group">${q.join("")}</div>`);
|
|
26665
26665
|
gg(P.element, Y.join(""));
|
|
@@ -27339,38 +27339,38 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
27339
27339
|
configFields: hz,
|
|
27340
27340
|
partFields: NU,
|
|
27341
27341
|
factory: (t, s, a, c) => {
|
|
27342
|
-
const u = (we) => Vu(we, t, "thumb"), m = (we) => Vu(we, t, "spectrum"), f = (we) => so(we, t, "left-edge"), h = (we) => so(we, t, "right-edge"), b = (we) => so(we, t, "top-edge"), x = (we) => so(we, t, "bottom-edge"), C = t.model, E = C.manager, A = (we,
|
|
27343
|
-
E.setPositionFromValue(we,
|
|
27342
|
+
const u = (we) => Vu(we, t, "thumb"), m = (we) => Vu(we, t, "spectrum"), f = (we) => so(we, t, "left-edge"), h = (we) => so(we, t, "right-edge"), b = (we) => so(we, t, "top-edge"), x = (we) => so(we, t, "bottom-edge"), C = t.model, E = C.manager, A = (we, ye) => {
|
|
27343
|
+
E.setPositionFromValue(we, ye, t, {
|
|
27344
27344
|
getLeftEdge: f,
|
|
27345
27345
|
getRightEdge: h,
|
|
27346
27346
|
getTopEdge: b,
|
|
27347
27347
|
getBottomEdge: x,
|
|
27348
27348
|
getSpectrum: m
|
|
27349
27349
|
});
|
|
27350
|
-
}, P = (we,
|
|
27351
|
-
C.value.set(
|
|
27350
|
+
}, P = (we, ye) => {
|
|
27351
|
+
C.value.set(ye);
|
|
27352
27352
|
const Re = u(we);
|
|
27353
27353
|
A(we, Re);
|
|
27354
|
-
}, I = (we,
|
|
27355
|
-
P(we,
|
|
27354
|
+
}, I = (we, ye) => {
|
|
27355
|
+
P(we, ye);
|
|
27356
27356
|
const Re = u(we);
|
|
27357
|
-
return t.onChange(we, Re,
|
|
27357
|
+
return t.onChange(we, Re, ye), w.some(!0);
|
|
27358
27358
|
}, z = (we) => {
|
|
27359
27359
|
E.setToMin(we, t);
|
|
27360
27360
|
}, re = (we) => {
|
|
27361
27361
|
E.setToMax(we, t);
|
|
27362
27362
|
}, Y = (we) => {
|
|
27363
|
-
const
|
|
27363
|
+
const ye = () => {
|
|
27364
27364
|
so(we, t, "thumb").each((We) => {
|
|
27365
27365
|
const Zt = C.value.get();
|
|
27366
27366
|
t.onChoose(we, We, Zt);
|
|
27367
27367
|
});
|
|
27368
27368
|
}, Re = t.mouseIsDown.get();
|
|
27369
|
-
t.mouseIsDown.set(!1), Re &&
|
|
27370
|
-
}, q = (we,
|
|
27371
|
-
|
|
27372
|
-
}, ne = (we,
|
|
27373
|
-
|
|
27369
|
+
t.mouseIsDown.set(!1), Re && ye();
|
|
27370
|
+
}, q = (we, ye) => {
|
|
27371
|
+
ye.stop(), t.mouseIsDown.set(!0), t.onDragStart(we, u(we));
|
|
27372
|
+
}, ne = (we, ye) => {
|
|
27373
|
+
ye.stop(), t.onDragEnd(we, u(we)), Y(we);
|
|
27374
27374
|
}, De = (we) => {
|
|
27375
27375
|
so(we, t, "spectrum").map(bt.focusIn);
|
|
27376
27376
|
};
|
|
@@ -27393,10 +27393,10 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
27393
27393
|
Da.config({ channels: { [J_()]: { onReceive: Y } } })
|
|
27394
27394
|
]),
|
|
27395
27395
|
events: ho([
|
|
27396
|
-
Se(pp(), (we,
|
|
27397
|
-
I(we,
|
|
27396
|
+
Se(pp(), (we, ye) => {
|
|
27397
|
+
I(we, ye.event.value);
|
|
27398
27398
|
}),
|
|
27399
|
-
io((we,
|
|
27399
|
+
io((we, ye) => {
|
|
27400
27400
|
const Re = C.getInitialValue();
|
|
27401
27401
|
C.value.set(Re);
|
|
27402
27402
|
const We = u(we);
|
|
@@ -27406,8 +27406,8 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
27406
27406
|
}),
|
|
27407
27407
|
Se(Cu(), q),
|
|
27408
27408
|
Se(Um(), ne),
|
|
27409
|
-
Se(xs(), (we,
|
|
27410
|
-
De(we), q(we,
|
|
27409
|
+
Se(xs(), (we, ye) => {
|
|
27410
|
+
De(we), q(we, ye);
|
|
27411
27411
|
}),
|
|
27412
27412
|
Se(LC(), ne)
|
|
27413
27413
|
]),
|
|
@@ -27568,13 +27568,13 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
27568
27568
|
}), De = [
|
|
27569
27569
|
q,
|
|
27570
27570
|
ne
|
|
27571
|
-
], we = P !== "hex" ? [Rn.parts["aria-descriptor"]({ text: Y })] : [],
|
|
27571
|
+
], we = P !== "hex" ? [Rn.parts["aria-descriptor"]({ text: Y })] : [], ye = De.concat(we);
|
|
27572
27572
|
return {
|
|
27573
27573
|
dom: {
|
|
27574
27574
|
tag: "div",
|
|
27575
27575
|
attributes: { role: "presentation" }
|
|
27576
27576
|
},
|
|
27577
|
-
components:
|
|
27577
|
+
components: ye
|
|
27578
27578
|
};
|
|
27579
27579
|
}, f = (A, P) => {
|
|
27580
27580
|
const I = mp(P);
|
|
@@ -27630,7 +27630,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
27630
27630
|
const ct = f(At, je);
|
|
27631
27631
|
xt(At, Gb, { hex: ct }), x(At, ct);
|
|
27632
27632
|
});
|
|
27633
|
-
}, we = (At) => At.type === "hex",
|
|
27633
|
+
}, we = (At) => At.type === "hex", ye = (At, $n) => {
|
|
27634
27634
|
const wt = $n.event;
|
|
27635
27635
|
we(wt) ? ne(At, wt.value) : De(At, wt.type, wt.value);
|
|
27636
27636
|
}, Re = (At) => ({
|
|
@@ -27653,7 +27653,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
27653
27653
|
formBehaviours: He([
|
|
27654
27654
|
mi.config({ invalidClass: s("form-invalid") }),
|
|
27655
27655
|
Xt("rgb-form-events", [
|
|
27656
|
-
Se(iE,
|
|
27656
|
+
Se(iE, ye),
|
|
27657
27657
|
Se(jB, q),
|
|
27658
27658
|
Se(nl, q)
|
|
27659
27659
|
])
|
|
@@ -27770,56 +27770,56 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
27770
27770
|
});
|
|
27771
27771
|
}, GB = (t, s) => {
|
|
27772
27772
|
const a = (u) => {
|
|
27773
|
-
const m = Cz(t, s, u.onValidHex, u.onInvalidHex), f = _z(t, s), h = (
|
|
27773
|
+
const m = Cz(t, s, u.onValidHex, u.onInvalidHex), f = _z(t, s), h = (ye) => (100 - ye) / 100 * 360, b = (ye) => 100 - ye / 360 * 100, x = {
|
|
27774
27774
|
paletteRgba: St(Ei),
|
|
27775
27775
|
paletteHue: St(0)
|
|
27776
|
-
}, C = Bn(aE(t, s)), E = Bn(f.sketch({})), A = Bn(m.sketch({})), P = (
|
|
27777
|
-
E.getOpt(
|
|
27776
|
+
}, C = Bn(aE(t, s)), E = Bn(f.sketch({})), A = Bn(m.sketch({})), P = (ye, Re, We) => {
|
|
27777
|
+
E.getOpt(ye).each((Zt) => {
|
|
27778
27778
|
f.setHue(Zt, We);
|
|
27779
27779
|
});
|
|
27780
|
-
}, I = (
|
|
27781
|
-
A.getOpt(
|
|
27780
|
+
}, I = (ye, Re) => {
|
|
27781
|
+
A.getOpt(ye).each((We) => {
|
|
27782
27782
|
m.updateHex(We, Re);
|
|
27783
27783
|
});
|
|
27784
|
-
}, z = (
|
|
27785
|
-
C.getOpt(
|
|
27784
|
+
}, z = (ye, Re, We) => {
|
|
27785
|
+
C.getOpt(ye).each((Zt) => {
|
|
27786
27786
|
er.setValue(Zt, b(We));
|
|
27787
27787
|
});
|
|
27788
|
-
}, re = (
|
|
27789
|
-
E.getOpt(
|
|
27788
|
+
}, re = (ye, Re) => {
|
|
27789
|
+
E.getOpt(ye).each((We) => {
|
|
27790
27790
|
f.setThumb(We, Re);
|
|
27791
27791
|
});
|
|
27792
|
-
}, Y = (
|
|
27793
|
-
const We = Nb(
|
|
27792
|
+
}, Y = (ye, Re) => {
|
|
27793
|
+
const We = Nb(ye);
|
|
27794
27794
|
x.paletteRgba.set(We), x.paletteHue.set(Re);
|
|
27795
|
-
}, q = (
|
|
27795
|
+
}, q = (ye, Re, We, Zt) => {
|
|
27796
27796
|
Y(Re, We), Xe(Zt, (tt) => {
|
|
27797
|
-
tt(
|
|
27797
|
+
tt(ye, Re, We);
|
|
27798
27798
|
});
|
|
27799
27799
|
}, ne = () => {
|
|
27800
|
-
const
|
|
27800
|
+
const ye = [I];
|
|
27801
27801
|
return (Re, We) => {
|
|
27802
27802
|
const Zt = We.event.value, tt = x.paletteHue.get(), Pt = Pb(tt, Zt.x, 100 - Zt.y), At = EP(Pt);
|
|
27803
|
-
q(Re, At, tt,
|
|
27803
|
+
q(Re, At, tt, ye);
|
|
27804
27804
|
};
|
|
27805
27805
|
}, De = () => {
|
|
27806
|
-
const
|
|
27806
|
+
const ye = [
|
|
27807
27807
|
P,
|
|
27808
27808
|
I
|
|
27809
27809
|
];
|
|
27810
27810
|
return (Re, We) => {
|
|
27811
27811
|
const Zt = h(We.event.value), tt = x.paletteRgba.get(), Pt = hx(tt), At = Pb(Zt, Pt.saturation, Pt.value), $n = EP(At);
|
|
27812
|
-
q(Re, $n, Zt,
|
|
27812
|
+
q(Re, $n, Zt, ye);
|
|
27813
27813
|
};
|
|
27814
27814
|
}, we = () => {
|
|
27815
|
-
const
|
|
27815
|
+
const ye = [
|
|
27816
27816
|
P,
|
|
27817
27817
|
z,
|
|
27818
27818
|
re
|
|
27819
27819
|
];
|
|
27820
27820
|
return (Re, We) => {
|
|
27821
27821
|
const Zt = We.event.hex, tt = oH(Zt);
|
|
27822
|
-
q(Re, Zt, tt.hue,
|
|
27822
|
+
q(Re, Zt, tt.hue, ye);
|
|
27823
27823
|
};
|
|
27824
27824
|
};
|
|
27825
27825
|
return {
|
|
@@ -27836,7 +27836,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
27836
27836
|
Se(qb, ne()),
|
|
27837
27837
|
Se(rE, De())
|
|
27838
27838
|
]),
|
|
27839
|
-
dn.config({ find: (
|
|
27839
|
+
dn.config({ find: (ye) => A.getOpt(ye) }),
|
|
27840
27840
|
bt.config({ mode: "acyclic" })
|
|
27841
27841
|
])
|
|
27842
27842
|
};
|
|
@@ -30066,12 +30066,12 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30066
30066
|
q({
|
|
30067
30067
|
type: t.filetype,
|
|
30068
30068
|
url: De.value
|
|
30069
|
-
}, (
|
|
30070
|
-
if (
|
|
30071
|
-
const Re = Qt.error(
|
|
30069
|
+
}, (ye) => {
|
|
30070
|
+
if (ye.status === "invalid") {
|
|
30071
|
+
const Re = Qt.error(ye.message);
|
|
30072
30072
|
we(Re);
|
|
30073
30073
|
} else {
|
|
30074
|
-
const Re = Qt.value(
|
|
30074
|
+
const Re = Qt.value(ye.message);
|
|
30075
30075
|
we(Re);
|
|
30076
30076
|
}
|
|
30077
30077
|
});
|
|
@@ -30128,7 +30128,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30128
30128
|
attributes: {
|
|
30129
30129
|
title: u.translate(we),
|
|
30130
30130
|
"aria-live": "polite",
|
|
30131
|
-
...ne.fold(() => ({}), (
|
|
30131
|
+
...ne.fold(() => ({}), (ye) => ({ id: ye }))
|
|
30132
30132
|
}
|
|
30133
30133
|
}, u.icons))("invalid", w.some(LE), "warning")), E = Bn({
|
|
30134
30134
|
dom: {
|
|
@@ -30169,8 +30169,8 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30169
30169
|
fieldname: t.name,
|
|
30170
30170
|
...De
|
|
30171
30171
|
};
|
|
30172
|
-
A.each((
|
|
30173
|
-
|
|
30172
|
+
A.each((ye) => {
|
|
30173
|
+
ye(we).get((Re) => {
|
|
30174
30174
|
Ye.setValue(ne, Re), xt(q, ua, { name: t.name });
|
|
30175
30175
|
});
|
|
30176
30176
|
});
|
|
@@ -30861,31 +30861,31 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30861
30861
|
dialog: z
|
|
30862
30862
|
};
|
|
30863
30863
|
}, CI = (t, s, a) => {
|
|
30864
|
-
const c = (
|
|
30864
|
+
const c = (ye, Re) => {
|
|
30865
30865
|
Xe([
|
|
30866
30866
|
s,
|
|
30867
30867
|
...a
|
|
30868
30868
|
], (We) => {
|
|
30869
|
-
We.broadcastEvent(
|
|
30869
|
+
We.broadcastEvent(ye, Re);
|
|
30870
30870
|
});
|
|
30871
|
-
}, u = (
|
|
30871
|
+
}, u = (ye, Re) => {
|
|
30872
30872
|
Xe([
|
|
30873
30873
|
s,
|
|
30874
30874
|
...a
|
|
30875
30875
|
], (We) => {
|
|
30876
|
-
We.broadcastOn([
|
|
30876
|
+
We.broadcastOn([ye], Re);
|
|
30877
30877
|
});
|
|
30878
|
-
}, m = (
|
|
30879
|
-
|
|
30880
|
-
}), A = (
|
|
30881
|
-
|
|
30878
|
+
}, m = (ye) => u(Bl(), { target: ye.target }), f = Nm(), h = Jr(f, "touchstart", m), b = Jr(f, "touchmove", (ye) => c(gv(), ye)), x = Jr(f, "touchend", (ye) => c(PL(), ye)), C = Jr(f, "mousedown", m), E = Jr(f, "mouseup", (ye) => {
|
|
30879
|
+
ye.raw.button === 0 && u(J_(), { target: ye.target });
|
|
30880
|
+
}), A = (ye) => u(Bl(), { target: Ge.fromDom(ye.target) }), P = (ye) => {
|
|
30881
|
+
ye.button === 0 && u(J_(), { target: Ge.fromDom(ye.target) });
|
|
30882
30882
|
}, I = () => {
|
|
30883
|
-
Xe(t.editorManager.get(), (
|
|
30884
|
-
t !==
|
|
30883
|
+
Xe(t.editorManager.get(), (ye) => {
|
|
30884
|
+
t !== ye && ye.dispatch("DismissPopups", { relatedTarget: t });
|
|
30885
30885
|
});
|
|
30886
|
-
}, z = (
|
|
30887
|
-
u(nf(), {}), c(ph(), wO(
|
|
30888
|
-
}, Y = xe(Ge.fromDom(t.getElement())), q = Hv(Y, "scroll", (
|
|
30886
|
+
}, z = (ye) => c(gh(), wO(ye)), re = (ye) => {
|
|
30887
|
+
u(nf(), {}), c(ph(), wO(ye));
|
|
30888
|
+
}, Y = xe(Ge.fromDom(t.getElement())), q = Hv(Y, "scroll", (ye) => {
|
|
30889
30889
|
requestAnimationFrame(() => {
|
|
30890
30890
|
const Re = t.getContainer();
|
|
30891
30891
|
if (Re != null) {
|
|
@@ -30893,13 +30893,13 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30893
30893
|
tt.element,
|
|
30894
30894
|
...tt.others
|
|
30895
30895
|
]).getOr([]);
|
|
30896
|
-
Ws(Zt, (tt) => Vn(tt,
|
|
30896
|
+
Ws(Zt, (tt) => Vn(tt, ye.target)) && (t.dispatch("ElementScroll", { target: ye.target.dom }), c(LA(), ye));
|
|
30897
30897
|
}
|
|
30898
30898
|
});
|
|
30899
|
-
}), ne = () => u(nf(), {}), De = (
|
|
30900
|
-
|
|
30901
|
-
}, we = (
|
|
30902
|
-
u(Bl(), { target: Ge.fromDom(
|
|
30899
|
+
}), ne = () => u(nf(), {}), De = (ye) => {
|
|
30900
|
+
ye.state && u(Bl(), { target: Ge.fromDom(t.getContainer()) });
|
|
30901
|
+
}, we = (ye) => {
|
|
30902
|
+
u(Bl(), { target: Ge.fromDom(ye.relatedTarget.getContainer()) });
|
|
30903
30903
|
};
|
|
30904
30904
|
t.on("PostRender", () => {
|
|
30905
30905
|
t.on("click", A), t.on("tap", A), t.on("mouseup", P), t.on("mousedown", I), t.on("ScrollWindow", z), t.on("ResizeWindow", re), t.on("ResizeEditor", ne), t.on("AfterProgressState", De), t.on("DismissPopups", we);
|
|
@@ -30912,7 +30912,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30912
30912
|
], Rg), Xe([
|
|
30913
30913
|
s,
|
|
30914
30914
|
...a
|
|
30915
|
-
], (
|
|
30915
|
+
], (ye) => ye.destroy());
|
|
30916
30916
|
});
|
|
30917
30917
|
}, Bs = j3, rl = bD, ZE = Q([
|
|
30918
30918
|
ae("shell", !1),
|
|
@@ -32446,12 +32446,12 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
32446
32446
|
}, we = (Re) => {
|
|
32447
32447
|
const We = ne.element;
|
|
32448
32448
|
Re ? (is(We, "tox-button--enabled"), Ze(We, "aria-pressed", !0)) : (Oo(We, "tox-button--enabled"), $o(We, "aria-pressed"));
|
|
32449
|
-
},
|
|
32449
|
+
}, ye = () => ws(ne.element, "tox-button--enabled");
|
|
32450
32450
|
if (u)
|
|
32451
32451
|
return t.onAction({
|
|
32452
32452
|
setIcon: De,
|
|
32453
32453
|
setActive: we,
|
|
32454
|
-
isActive:
|
|
32454
|
+
isActive: ye
|
|
32455
32455
|
});
|
|
32456
32456
|
if (t.type === "button")
|
|
32457
32457
|
return t.onAction({ setIcon: De });
|
|
@@ -33302,12 +33302,12 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
33302
33302
|
const ne = q.getComponent();
|
|
33303
33303
|
c = w.some(ne), a.updateInputValue(ne), kt.set(ne, !t.selection.isEditable());
|
|
33304
33304
|
}), f = (q) => ({ getComponent: Q(q) }), h = St(de), b = at("custom-number-input-events"), x = (q, ne, De) => {
|
|
33305
|
-
const we = u(c),
|
|
33306
|
-
a.onAction(
|
|
33307
|
-
Ye.setValue(tt,
|
|
33305
|
+
const we = u(c), ye = a.getNewValue(we, q), Re = we.length - `${ye}`.length, We = c.map((tt) => tt.element.dom.selectionStart - Re), Zt = c.map((tt) => tt.element.dom.selectionEnd - Re);
|
|
33306
|
+
a.onAction(ye, De), c.each((tt) => {
|
|
33307
|
+
Ye.setValue(tt, ye), ne && (We.each((Pt) => tt.element.dom.selectionStart = Pt), Zt.each((Pt) => tt.element.dom.selectionEnd = Pt));
|
|
33308
33308
|
});
|
|
33309
33309
|
}, C = (q, ne) => x((De, we) => De - we, q, ne), E = (q, ne) => x((De, we) => De + we, q, ne), A = (q) => za(q.element).fold(w.none, (ne) => (oi(ne), w.some(!0))), P = (q) => $h(q.element) ? (gd(q.element).each((ne) => oi(ne)), w.some(!0)) : w.none(), I = (q, ne, De, we) => {
|
|
33310
|
-
const
|
|
33310
|
+
const ye = St(de), Re = s.shared.providers.translate(De), We = at("altExecuting"), Zt = oc(t, "NodeChange SwitchMode", (Pt) => {
|
|
33311
33311
|
kt.set(Pt.getComponent(), !t.selection.isEditable());
|
|
33312
33312
|
}), tt = (Pt) => {
|
|
33313
33313
|
kt.isDisabled(Pt) || q(!0);
|
|
@@ -33328,8 +33328,8 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
33328
33328
|
zd({
|
|
33329
33329
|
onSetup: Zt,
|
|
33330
33330
|
getApi: f
|
|
33331
|
-
},
|
|
33332
|
-
Wl({ getApi: f },
|
|
33331
|
+
}, ye),
|
|
33332
|
+
Wl({ getApi: f }, ye),
|
|
33333
33333
|
Se(Vc(), (Pt, At) => {
|
|
33334
33334
|
(At.event.raw.keyCode === RM.space() || At.event.raw.keyCode === RM.enter()) && (kt.isDisabled(Pt) || q(!1));
|
|
33335
33335
|
}),
|
|
@@ -34191,7 +34191,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
34191
34191
|
});
|
|
34192
34192
|
}, we = (wt) => {
|
|
34193
34193
|
u.on((gn) => {
|
|
34194
|
-
const je = Xn.getToolbar(m.outerContainer), ct = Y(je), Bt = Bo(s), { top: Ft, left: _t } =
|
|
34194
|
+
const je = Xn.getToolbar(m.outerContainer), ct = Y(je), Bt = Bo(s), { top: Ft, left: _t } = ye(t, m.outerContainer.element).fold(() => ({
|
|
34195
34195
|
top: A() ? Math.max(Bt.y - Po(gn.element) + ct, 0) : Bt.bottom,
|
|
34196
34196
|
left: Bt.x
|
|
34197
34197
|
}), (vn) => {
|
|
@@ -34214,7 +34214,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
34214
34214
|
...Gn
|
|
34215
34215
|
});
|
|
34216
34216
|
});
|
|
34217
|
-
},
|
|
34217
|
+
}, ye = (wt, gn) => Fl(wt) ? QE(gn) : w.none(), Re = () => {
|
|
34218
34218
|
Xe(f, (wt) => {
|
|
34219
34219
|
wt.broadcastOn([nf()], {});
|
|
34220
34220
|
});
|
|
@@ -34742,7 +34742,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
34742
34742
|
cyclicKeying: !0,
|
|
34743
34743
|
providers: m.providers
|
|
34744
34744
|
});
|
|
34745
|
-
},
|
|
34745
|
+
}, ye = (tt, Pt) => {
|
|
34746
34746
|
const At = tt === "node" ? m.anchors.node(Pt) : m.anchors.cursor(), $n = d2(t, tt, f(), {
|
|
34747
34747
|
lastElement: h.get,
|
|
34748
34748
|
isReposition: () => Vr(b.get(), 0),
|
|
@@ -34752,7 +34752,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
34752
34752
|
}, Re = (tt, Pt) => {
|
|
34753
34753
|
if (Zt.cancel(), !A())
|
|
34754
34754
|
return;
|
|
34755
|
-
const At = we(tt), $n = tt[0].position, wt =
|
|
34755
|
+
const At = we(tt), $n = tt[0].position, wt = ye($n, Pt);
|
|
34756
34756
|
x.set($n), b.set(1);
|
|
34757
34757
|
const gn = C.element;
|
|
34758
34758
|
Tn(gn, "display"), P(Pt) || (Oo(gn, jw), wr.reset(a, C)), _o.showWithinBounds(C, Y(At), {
|
|
@@ -35944,13 +35944,13 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
35944
35944
|
}, q = (Re, We, Zt, tt) => {
|
|
35945
35945
|
const Pt = Zt(We);
|
|
35946
35946
|
Mf.snapTo(Re, Pt), Y(Re, We, (wt) => wt[tt] < 0, (wt, gn) => wt[tt] > gn);
|
|
35947
|
-
}, ne = (Re) => q(z, Re, h, "top"), De = () => m.get().each(ne), we = (Re) => q(re, Re, x, "bottom"),
|
|
35947
|
+
}, ne = (Re) => q(z, Re, h, "top"), De = () => m.get().each(ne), we = (Re) => q(re, Re, x, "bottom"), ye = () => f.get().each(we);
|
|
35948
35948
|
Vi().deviceType.isTouch() && (t.on("TableSelectionChange", (Re) => {
|
|
35949
35949
|
u.get() || (Id(s, z), Id(s, re), u.set(!0)), m.set(Re.start), f.set(Re.finish), Re.otherCells.each((We) => {
|
|
35950
35950
|
a.set(We.upOrLeftCells), c.set(We.downOrRightCells), ne(Re.start), we(Re.finish);
|
|
35951
35951
|
});
|
|
35952
35952
|
}), t.on("ResizeEditor ResizeWindow ScrollContent", () => {
|
|
35953
|
-
De(),
|
|
35953
|
+
De(), ye();
|
|
35954
35954
|
}), t.on("TableSelectionClear", () => {
|
|
35955
35955
|
u.get() && (Iu(z), Iu(re), u.set(!1)), m.clear(), f.clear();
|
|
35956
35956
|
}));
|
|
@@ -36228,7 +36228,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
36228
36228
|
tag: "div",
|
|
36229
36229
|
classes: ["tox-bottom-anchorbar"]
|
|
36230
36230
|
}
|
|
36231
|
-
}), Y = () => m.mainUi.get().map((_t) => _t.outerContainer).bind(Xn.getHeader), q = () => Qt.fromOption(m.dialogUi.get().map((_t) => _t.sink), "UI has not been rendered"), ne = () => Qt.fromOption(m.popupUi.get().map((_t) => _t.sink), "(popup) UI has not been rendered"), De = m.lazyGetInOuterOrDie("anchor bar", z.getOpt), we = m.lazyGetInOuterOrDie("bottom anchor bar", re.getOpt),
|
|
36231
|
+
}), Y = () => m.mainUi.get().map((_t) => _t.outerContainer).bind(Xn.getHeader), q = () => Qt.fromOption(m.dialogUi.get().map((_t) => _t.sink), "UI has not been rendered"), ne = () => Qt.fromOption(m.popupUi.get().map((_t) => _t.sink), "(popup) UI has not been rendered"), De = m.lazyGetInOuterOrDie("anchor bar", z.getOpt), we = m.lazyGetInOuterOrDie("bottom anchor bar", re.getOpt), ye = m.lazyGetInOuterOrDie("toolbar", Xn.getToolbar), Re = m.lazyGetInOuterOrDie("throbber", Xn.getThrobber), We = Tp({
|
|
36232
36232
|
popup: ne,
|
|
36233
36233
|
dialog: q
|
|
36234
36234
|
}, t, De, we), Zt = () => {
|
|
@@ -36255,7 +36255,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
36255
36255
|
ZV(t, Ry);
|
|
36256
36256
|
},
|
|
36257
36257
|
type: I,
|
|
36258
|
-
lazyToolbar:
|
|
36258
|
+
lazyToolbar: ye,
|
|
36259
36259
|
lazyHeader: () => Y().getOrDie("Could not find header element"),
|
|
36260
36260
|
..._t
|
|
36261
36261
|
}), vn = Xn.parts["multiple-toolbar"]({
|
|
@@ -37922,17 +37922,17 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
37922
37922
|
instanceApi: Y
|
|
37923
37923
|
};
|
|
37924
37924
|
}, xA = (t, s, a, c = !1, u) => {
|
|
37925
|
-
const m = at("dialog"), f = at("dialog-label"), h = at("dialog-content"), b = t.internalDialog, x = St(b.size), C = Rs(x.get()).toArray(), E = (
|
|
37925
|
+
const m = at("dialog"), f = at("dialog-label"), h = at("dialog-content"), b = t.internalDialog, x = St(b.size), C = Rs(x.get()).toArray(), E = (ye, Re) => (x.set(Re.internalDialog.size), dm(Re.internalDialog.size, ye), u(), w.some(Re)), A = Bn(le({
|
|
37926
37926
|
title: b.title,
|
|
37927
37927
|
draggable: !0
|
|
37928
37928
|
}, m, f, a.shared.providers)), P = Bn(tu({
|
|
37929
37929
|
body: b.body,
|
|
37930
37930
|
initialData: b.initialData
|
|
37931
37931
|
}, m, h, a, c)), I = uC(b.buttons), z = yA(I), re = It(I.length !== 0, Bn(Lr({ buttons: I }, m, a))), Y = sn(() => we, {
|
|
37932
|
-
onBlock: (
|
|
37932
|
+
onBlock: (ye) => {
|
|
37933
37933
|
lc.block(ne, (Re, We) => {
|
|
37934
37934
|
const Zt = A.getOpt(ne).map((tt) => Po(tt.element));
|
|
37935
|
-
return Be(
|
|
37935
|
+
return Be(ye.message, We, a.shared.providers, Zt);
|
|
37936
37936
|
});
|
|
37937
37937
|
},
|
|
37938
37938
|
onUnblock: () => {
|
|
@@ -37966,8 +37966,8 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
37966
37966
|
behaviours: He([
|
|
37967
37967
|
bt.config({
|
|
37968
37968
|
mode: "cyclic",
|
|
37969
|
-
onEscape: (
|
|
37970
|
-
useTabstopAt: (
|
|
37969
|
+
onEscape: (ye) => (pn(ye, gp), w.some(!0)),
|
|
37970
|
+
useTabstopAt: (ye) => !wp(ye) && (ra(ye) !== "button" || Gs(ye, "disabled") !== "disabled"),
|
|
37971
37971
|
firstTabstop: 1
|
|
37972
37972
|
}),
|
|
37973
37973
|
tn.config({
|
|
@@ -37977,11 +37977,11 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
37977
37977
|
}),
|
|
37978
37978
|
Tt.config({}),
|
|
37979
37979
|
Xt("execute-on-form", Y.concat([
|
|
37980
|
-
Tu(Su(), (
|
|
37981
|
-
bt.focusIn(
|
|
37980
|
+
Tu(Su(), (ye, Re) => {
|
|
37981
|
+
bt.focusIn(ye);
|
|
37982
37982
|
}),
|
|
37983
|
-
Se(pv(), (
|
|
37984
|
-
|
|
37983
|
+
Se(pv(), (ye, Re) => {
|
|
37984
|
+
ye.getSystem().broadcastOn([_p], { newFocus: Re.event.newFocus });
|
|
37985
37985
|
})
|
|
37986
37986
|
])),
|
|
37987
37987
|
lc.config({ getRoot: () => w.some(ne) }),
|
|
@@ -37991,18 +37991,18 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
37991
37991
|
components: [
|
|
37992
37992
|
A.asSpec(),
|
|
37993
37993
|
P.asSpec(),
|
|
37994
|
-
...re.map((
|
|
37994
|
+
...re.map((ye) => ye.asSpec()).toArray()
|
|
37995
37995
|
]
|
|
37996
37996
|
}), De = () => {
|
|
37997
37997
|
$i(ne, x.get());
|
|
37998
37998
|
}, we = dC({
|
|
37999
37999
|
getId: Q(m),
|
|
38000
38000
|
getRoot: Q(ne),
|
|
38001
|
-
getFooter: () => re.map((
|
|
38001
|
+
getFooter: () => re.map((ye) => ye.get(ne)),
|
|
38002
38002
|
getBody: () => P.get(ne),
|
|
38003
38003
|
getFormWrapper: () => {
|
|
38004
|
-
const
|
|
38005
|
-
return dn.getCurrent(
|
|
38004
|
+
const ye = P.get(ne);
|
|
38005
|
+
return dn.getCurrent(ye).getOr(ye);
|
|
38006
38006
|
},
|
|
38007
38007
|
toggleFullscreen: De
|
|
38008
38008
|
}, s.redial, z);
|
|
@@ -38102,8 +38102,8 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38102
38102
|
[gE]: {
|
|
38103
38103
|
onReceive: (ne, De) => {
|
|
38104
38104
|
Jo(ne.element, "iframe").each((we) => {
|
|
38105
|
-
const
|
|
38106
|
-
ko(
|
|
38105
|
+
const ye = we.dom.contentWindow;
|
|
38106
|
+
ko(ye) && ye.postMessage(De, A);
|
|
38107
38107
|
});
|
|
38108
38108
|
}
|
|
38109
38109
|
}
|
|
@@ -38235,24 +38235,24 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38235
38235
|
return en.openUrl(re, I);
|
|
38236
38236
|
}, b = (I, z) => {
|
|
38237
38237
|
const re = (Y, q, ne) => {
|
|
38238
|
-
const De = q,
|
|
38238
|
+
const De = q, ye = tG({
|
|
38239
38239
|
dataValidator: ne,
|
|
38240
38240
|
initialData: De,
|
|
38241
38241
|
internalDialog: Y
|
|
38242
38242
|
}, {
|
|
38243
38243
|
redial: en.redial,
|
|
38244
38244
|
closeWindow: () => {
|
|
38245
|
-
Ko.hide(
|
|
38245
|
+
Ko.hide(ye.dialog), z(ye.instanceApi);
|
|
38246
38246
|
}
|
|
38247
38247
|
}, t.backstages.dialog);
|
|
38248
|
-
return Ko.show(
|
|
38248
|
+
return Ko.show(ye.dialog), ye.instanceApi.setData(De), ye.instanceApi;
|
|
38249
38249
|
};
|
|
38250
38250
|
return en.open(re, I);
|
|
38251
38251
|
}, x = (I, z, re, Y) => {
|
|
38252
38252
|
const q = (ne, De, we) => {
|
|
38253
|
-
const
|
|
38253
|
+
const ye = Dq(De, we), Re = lo(), We = t.backstages.popup.shared.header.isPositionedAtTop(), Zt = {
|
|
38254
38254
|
dataValidator: we,
|
|
38255
|
-
initialData:
|
|
38255
|
+
initialData: ye,
|
|
38256
38256
|
internalDialog: ne
|
|
38257
38257
|
}, tt = () => Re.on((wt) => {
|
|
38258
38258
|
_o.reposition(wt), (!a || !We) && vo.refresh(wt);
|
|
@@ -38282,14 +38282,14 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38282
38282
|
const wt = s.inline ? Vo() : Ge.fromDom(s.getContainer()), gn = Bo(wt);
|
|
38283
38283
|
return w.some(gn);
|
|
38284
38284
|
};
|
|
38285
|
-
return _o.showWithinBounds(At, Ci(Pt.dialog), { anchor: z }, $n), (!a || !We) && (vo.refresh(At), s.on("ResizeEditor", tt)), Pt.instanceApi.setData(
|
|
38285
|
+
return _o.showWithinBounds(At, Ci(Pt.dialog), { anchor: z }, $n), (!a || !We) && (vo.refresh(At), s.on("ResizeEditor", tt)), Pt.instanceApi.setData(ye), bt.focusIn(Pt.dialog), Pt.instanceApi;
|
|
38286
38286
|
};
|
|
38287
38287
|
return en.open(q, I);
|
|
38288
38288
|
}, C = (I, z, re, Y) => {
|
|
38289
38289
|
const q = (ne, De, we) => {
|
|
38290
|
-
const
|
|
38290
|
+
const ye = Dq(De, we), Re = lo(), We = t.backstages.popup.shared.header.isPositionedAtTop(), Zt = {
|
|
38291
38291
|
dataValidator: we,
|
|
38292
|
-
initialData:
|
|
38292
|
+
initialData: ye,
|
|
38293
38293
|
internalDialog: ne
|
|
38294
38294
|
}, tt = () => Re.on((wt) => {
|
|
38295
38295
|
_o.reposition(wt), vo.refresh(wt);
|
|
@@ -38340,7 +38340,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38340
38340
|
const gn = qd(s, wt.element), je = 15, ct = gn.map((_t) => fp(_t)).getOr(Ks()), Bt = Bo(Ge.fromDom(s.getContentAreaContainer())), Ft = eh(Bt, ct);
|
|
38341
38341
|
return w.some(os(Ft.x, Ft.y, Ft.width, Ft.height - je));
|
|
38342
38342
|
});
|
|
38343
|
-
return _o.showWithinBounds(At, Ci(Pt.dialog), { anchor: z }, $n), vo.refresh(At), s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", tt), Pt.instanceApi.setData(
|
|
38343
|
+
return _o.showWithinBounds(At, Ci(Pt.dialog), { anchor: z }, $n), vo.refresh(At), s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", tt), Pt.instanceApi.setData(ye), bt.focusIn(Pt.dialog), Pt.instanceApi;
|
|
38344
38344
|
};
|
|
38345
38345
|
return en.open(q, I);
|
|
38346
38346
|
};
|
|
@@ -38399,7 +38399,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38399
38399
|
}, G = (y) => {
|
|
38400
38400
|
const _ = typeof y;
|
|
38401
38401
|
return y === null ? "null" : _ === "object" && Array.isArray(y) ? "array" : _ === "object" && ee(y, String, (D, H) => H.isPrototypeOf(D)) ? "string" : _;
|
|
38402
|
-
},
|
|
38402
|
+
}, be = (y) => (_) => G(_) === y, oe = (y) => (_) => typeof _ === y, U = be("string"), _e = be("object"), J = be("array"), Oe = oe("boolean"), ft = (y) => y == null, jt = (y) => !ft(y), xn = oe("function"), eo = oe("number"), jo = () => {
|
|
38403
38403
|
}, xa = (y, _) => (D) => y(_(D)), ko = (y) => () => y, Yo = (y, _) => y === _;
|
|
38404
38404
|
function zs(y, ..._) {
|
|
38405
38405
|
return (...D) => {
|
|
@@ -39547,7 +39547,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
39547
39547
|
}, G = (B) => {
|
|
39548
39548
|
const W = typeof B;
|
|
39549
39549
|
return B === null ? "null" : W === "object" && Array.isArray(B) ? "array" : W === "object" && ee(B, String, (te, xe) => xe.isPrototypeOf(te)) ? "string" : W;
|
|
39550
|
-
},
|
|
39550
|
+
}, be = (B) => (W) => G(W) === B, oe = (B) => (W) => typeof W === B, U = (B) => (W) => B === W, _e = be("string"), J = be("object"), Oe = be("array"), ft = U(null), jt = oe("boolean"), xn = (B) => B == null, eo = (B) => !xn(B), jo = oe("function"), xa = (B, W) => {
|
|
39551
39551
|
if (Oe(B)) {
|
|
39552
39552
|
for (let te = 0, xe = B.length; te < xe; ++te)
|
|
39553
39553
|
if (!W(B[te]))
|
|
@@ -40298,8 +40298,8 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
40298
40298
|
})();
|
|
40299
40299
|
const Es = (O, ee) => {
|
|
40300
40300
|
const G = O.__vccOpts || O;
|
|
40301
|
-
for (const [
|
|
40302
|
-
G[
|
|
40301
|
+
for (const [be, oe] of ee)
|
|
40302
|
+
G[be] = oe;
|
|
40303
40303
|
return G;
|
|
40304
40304
|
}, IK = {
|
|
40305
40305
|
props: ["isOpen"],
|
|
@@ -40324,7 +40324,7 @@ const Es = (O, ee) => {
|
|
|
40324
40324
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
40325
40325
|
"aria-hidden": "true"
|
|
40326
40326
|
}, "", -1), HK = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, UK = /* @__PURE__ */ SK('<div class="px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6 text-gray-900" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm text-gray-500"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), zK = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
40327
|
-
function WK(O, ee, G,
|
|
40327
|
+
function WK(O, ee, G, be, oe, U) {
|
|
40328
40328
|
return G.isOpen ? (se(), ie("div", MK, [
|
|
40329
40329
|
N("div", LK, [
|
|
40330
40330
|
FK,
|
|
@@ -40430,8 +40430,8 @@ const dG = /* @__PURE__ */ Es(IK, [["render", WK]]), jK = {
|
|
|
40430
40430
|
formatFileSize(O) {
|
|
40431
40431
|
if (O === 0)
|
|
40432
40432
|
return "0 Bytes";
|
|
40433
|
-
const ee = 1024, G = ["Bytes", "KB", "MB", "GB", "TB"],
|
|
40434
|
-
return parseFloat((O / Math.pow(ee,
|
|
40433
|
+
const ee = 1024, G = ["Bytes", "KB", "MB", "GB", "TB"], be = Math.floor(Math.log(O) / Math.log(ee));
|
|
40434
|
+
return parseFloat((O / Math.pow(ee, be)).toFixed(2)) + " " + G[be];
|
|
40435
40435
|
},
|
|
40436
40436
|
onDragOver(O) {
|
|
40437
40437
|
O.preventDefault(), this.isDragging = !0, O.dataTransfer.dropEffect = "copy";
|
|
@@ -40447,7 +40447,7 @@ const dG = /* @__PURE__ */ Es(IK, [["render", WK]]), jK = {
|
|
|
40447
40447
|
});
|
|
40448
40448
|
},
|
|
40449
40449
|
async uploadFiles(O) {
|
|
40450
|
-
const ee = O.target.files, G = Array.from(ee).map((
|
|
40450
|
+
const ee = O.target.files, G = Array.from(ee).map((be) => this.uploadFile(be));
|
|
40451
40451
|
await Promise.all(G), this.$emit("uploaded");
|
|
40452
40452
|
},
|
|
40453
40453
|
getFirstError(O, ee) {
|
|
@@ -40456,10 +40456,10 @@ const dG = /* @__PURE__ */ Es(IK, [["render", WK]]), jK = {
|
|
|
40456
40456
|
async uploadFile(O) {
|
|
40457
40457
|
return new Promise((ee, G) => {
|
|
40458
40458
|
O || ee();
|
|
40459
|
-
const
|
|
40460
|
-
|
|
40461
|
-
|
|
40462
|
-
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media",
|
|
40459
|
+
const be = new FormData();
|
|
40460
|
+
be.append("file", O), Object.entries(this.file_config).forEach(([oe, U]) => {
|
|
40461
|
+
be.append(oe, U);
|
|
40462
|
+
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media", be, {
|
|
40463
40463
|
onUploadProgress: (oe) => {
|
|
40464
40464
|
this.files[this.files.length - 1].loading = Math.floor(
|
|
40465
40465
|
oe.loaded / oe.total * 100
|
|
@@ -40523,7 +40523,7 @@ const dG = /* @__PURE__ */ Es(IK, [["render", WK]]), jK = {
|
|
|
40523
40523
|
class: "text-3xl fas fa-file-alt",
|
|
40524
40524
|
"aria-hidden": "true"
|
|
40525
40525
|
}, null, -1), pY = { class: "flex flex-col ml-3" }, hY = { class: "text-xs" }, bY = { class: "text-xs" }, yY = { class: "flex gap-2" }, vY = ["href"], xY = ["onClick"];
|
|
40526
|
-
function wY(O, ee, G,
|
|
40526
|
+
function wY(O, ee, G, be, oe, U) {
|
|
40527
40527
|
const _e = Ly("DeleteConfirmationModal");
|
|
40528
40528
|
return se(), ie(Ln, null, [
|
|
40529
40529
|
Up(_e, {
|
|
@@ -40655,7 +40655,7 @@ const use = /* @__PURE__ */ Es(jK, [["render", wY]]), CY = {
|
|
|
40655
40655
|
mounted() {
|
|
40656
40656
|
}
|
|
40657
40657
|
}, _Y = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, SY = ["name", "value", "id", "checked"], kY = ["for"];
|
|
40658
|
-
function EY(O, ee, G,
|
|
40658
|
+
function EY(O, ee, G, be, oe, U) {
|
|
40659
40659
|
return se(), ie("ul", _Y, [
|
|
40660
40660
|
(se(!0), ie(Ln, null, ps(oe.locals, (_e, J) => (se(), ie("li", null, [
|
|
40661
40661
|
N("input", {
|
|
@@ -40691,7 +40691,7 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40691
40691
|
}
|
|
40692
40692
|
},
|
|
40693
40693
|
setup(O) {
|
|
40694
|
-
const ee = O, G = La(() => ee.class),
|
|
40694
|
+
const ee = O, G = La(() => ee.class), be = La(() => ee.body_class);
|
|
40695
40695
|
return (oe, U) => (se(), ie("div", {
|
|
40696
40696
|
class: Wt(["flex flex-col gap-9", G.value])
|
|
40697
40697
|
}, [
|
|
@@ -40703,7 +40703,7 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40703
40703
|
]),
|
|
40704
40704
|
oe.$slots.body ? (se(), ie("div", {
|
|
40705
40705
|
key: 0,
|
|
40706
|
-
class: Wt(["p-6",
|
|
40706
|
+
class: Wt(["p-6", be.value])
|
|
40707
40707
|
}, [
|
|
40708
40708
|
ul(oe.$slots, "body")
|
|
40709
40709
|
], 2)) : Je("", !0)
|
|
@@ -40792,7 +40792,7 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40792
40792
|
},
|
|
40793
40793
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
40794
40794
|
setup(O, { emit: ee }) {
|
|
40795
|
-
const G = O,
|
|
40795
|
+
const G = O, be = ee, oe = Do(null), U = Do([]), _e = Do([]), J = Do(0), Oe = Do(!1), ft = Do(""), jt = Do("");
|
|
40796
40796
|
fm(() => {
|
|
40797
40797
|
jt.value = ko(), G.show || (document.body.addEventListener("click", (Ce) => {
|
|
40798
40798
|
Eo(Ce);
|
|
@@ -40844,11 +40844,11 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40844
40844
|
U.value = Qe();
|
|
40845
40845
|
}
|
|
40846
40846
|
function Gt() {
|
|
40847
|
-
U.value = [],
|
|
40847
|
+
U.value = [], be("update:modelValue", []), be("selected", []), be("selectionChanged", []);
|
|
40848
40848
|
}
|
|
40849
40849
|
function Ri(Ce) {
|
|
40850
40850
|
let w = U.value.findIndex((an) => an.id === Ce.id);
|
|
40851
|
-
w !== -1 && U.value.splice(w, 1), _e.value = U.value.map((an) => an.id),
|
|
40851
|
+
w !== -1 && U.value.splice(w, 1), _e.value = U.value.map((an) => an.id), be("update:modelValue", _e.value), be("selected", U.value), be("selectionChanged", U.value);
|
|
40852
40852
|
}
|
|
40853
40853
|
function Eo(Ce) {
|
|
40854
40854
|
Ce.target.id != G.field_name + "search" + jt.value && Ce.target.id != G.field_name && !Ce.target.classList.contains("showOptions") && (kn(), J.value = 0);
|
|
@@ -40892,7 +40892,7 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40892
40892
|
function Et(Ce) {
|
|
40893
40893
|
console.log("selectOption", Ce);
|
|
40894
40894
|
let w = U.value.findIndex((an) => an.id === Ce.id);
|
|
40895
|
-
w !== -1 ? U.value.splice(w, 1) : U.value.push(Ce), console.log("selectOption selected", U.value), Oe.value = !1, _e.value = U.value.map((an) => an.id),
|
|
40895
|
+
w !== -1 ? U.value.splice(w, 1) : U.value.push(Ce), console.log("selectOption selected", U.value), Oe.value = !1, _e.value = U.value.map((an) => an.id), be("update:modelValue", _e.value), be("selected", U.value), be("selectionChanged", U.value);
|
|
40896
40896
|
}
|
|
40897
40897
|
function uo() {
|
|
40898
40898
|
G.show || (ft.value = "", Oe.value = !0, Kq(() => {
|
|
@@ -40903,12 +40903,12 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40903
40903
|
}));
|
|
40904
40904
|
}
|
|
40905
40905
|
function kn() {
|
|
40906
|
-
ft.value = "",
|
|
40906
|
+
ft.value = "", be("selected", U.value), Oe.value = !1;
|
|
40907
40907
|
}
|
|
40908
40908
|
return kA(ft, () => {
|
|
40909
40909
|
jo.value.length === 0 && (U.value = []);
|
|
40910
40910
|
}), kA(U, (Ce) => {
|
|
40911
|
-
Yo(U.value) && (_e.value = U.value.map((w) => w.id),
|
|
40911
|
+
Yo(U.value) && (_e.value = U.value.map((w) => w.id), be("update:modelValue", _e.value));
|
|
40912
40912
|
}), (Ce, w) => (se(), ie(Ln, null, [
|
|
40913
40913
|
O.show ? (se(), ie("div", {
|
|
40914
40914
|
key: 0,
|
|
@@ -41088,7 +41088,7 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
41088
41088
|
fill: "#1C64F2"
|
|
41089
41089
|
})
|
|
41090
41090
|
], -1);
|
|
41091
|
-
function YY(O, ee, G,
|
|
41091
|
+
function YY(O, ee, G, be, oe, U) {
|
|
41092
41092
|
return G.is_loading ? (se(), Fy(bL("button"), {
|
|
41093
41093
|
key: 1,
|
|
41094
41094
|
disabled: "",
|
|
@@ -41175,12 +41175,12 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41175
41175
|
},
|
|
41176
41176
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
41177
41177
|
setup(O, { expose: ee, emit: G }) {
|
|
41178
|
-
const
|
|
41178
|
+
const be = O, oe = G, U = Do(null), _e = Do(null);
|
|
41179
41179
|
return fm(() => {
|
|
41180
|
-
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(),
|
|
41181
|
-
model:
|
|
41182
|
-
row_id:
|
|
41183
|
-
field:
|
|
41180
|
+
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), be.model_value && (oe("update:modelValue", be.model_value), U.value.value = be.model_value), be.model_value_translate, be.translatable && axios.post("/admin/get_field_translations", {
|
|
41181
|
+
model: be.translatable.model,
|
|
41182
|
+
row_id: be.translatable.row_id,
|
|
41183
|
+
field: be.translatable.field
|
|
41184
41184
|
}).then((J) => {
|
|
41185
41185
|
_e.value.value = JSON.stringify(J.data), oe("update:modelValueTranslate", JSON.stringify(J.data)), console.log("input_translate", _e.value.value);
|
|
41186
41186
|
}).catch((J) => {
|
|
@@ -41311,16 +41311,16 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41311
41311
|
},
|
|
41312
41312
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
41313
41313
|
setup(O, { expose: ee, emit: G }) {
|
|
41314
|
-
const
|
|
41314
|
+
const be = O, oe = G, U = Do(null), _e = Do(null);
|
|
41315
41315
|
return fm(() => {
|
|
41316
41316
|
tinymce.init({
|
|
41317
|
-
selector: "#" +
|
|
41317
|
+
selector: "#" + be.field_name,
|
|
41318
41318
|
width: "100%",
|
|
41319
41319
|
height: 300
|
|
41320
|
-
}), console.log("tinymce ",
|
|
41321
|
-
model:
|
|
41322
|
-
row_id:
|
|
41323
|
-
field:
|
|
41320
|
+
}), console.log("tinymce ", be.model_value), U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), be.model_value && (oe("update:modelValue", be.model_value), U.value.value = be.model_value), be.model_value_translate, be.translatable && axios.post("/admin/get_field_translations", {
|
|
41321
|
+
model: be.translatable.model,
|
|
41322
|
+
row_id: be.translatable.row_id,
|
|
41323
|
+
field: be.translatable.field
|
|
41324
41324
|
}).then((J) => {
|
|
41325
41325
|
_e.value.value = JSON.stringify(J.data), oe("update:modelValueTranslate", JSON.stringify(J.data));
|
|
41326
41326
|
}).catch((J) => {
|
|
@@ -41450,12 +41450,12 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41450
41450
|
},
|
|
41451
41451
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
41452
41452
|
setup(O, { expose: ee, emit: G }) {
|
|
41453
|
-
const
|
|
41453
|
+
const be = O, oe = G, U = Do(null), _e = Do(null);
|
|
41454
41454
|
return fm(() => {
|
|
41455
|
-
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(),
|
|
41456
|
-
model:
|
|
41457
|
-
row_id:
|
|
41458
|
-
field:
|
|
41455
|
+
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), be.model_value && (oe("update:modelValue", be.model_value), U.value.value = be.model_value), be.model_value_translate, be.translatable && axios.post("/admin/get_field_translations", {
|
|
41456
|
+
model: be.translatable.model,
|
|
41457
|
+
row_id: be.translatable.row_id,
|
|
41458
|
+
field: be.translatable.field
|
|
41459
41459
|
}).then((J) => {
|
|
41460
41460
|
_e.value.value = JSON.stringify(J.data), oe("update:modelValueTranslate", JSON.stringify(J.data));
|
|
41461
41461
|
}).catch((J) => {
|
|
@@ -41571,13 +41571,13 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41571
41571
|
},
|
|
41572
41572
|
emits: ["update:modelValue", "keydown"],
|
|
41573
41573
|
setup(O, { expose: ee, emit: G }) {
|
|
41574
|
-
const
|
|
41574
|
+
const be = O, oe = G, U = Do(null);
|
|
41575
41575
|
fm(() => {
|
|
41576
41576
|
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
|
|
41577
41577
|
});
|
|
41578
41578
|
const _e = La({
|
|
41579
41579
|
get() {
|
|
41580
|
-
return
|
|
41580
|
+
return be.modelValue;
|
|
41581
41581
|
},
|
|
41582
41582
|
set(J) {
|
|
41583
41583
|
oe("update:modelValue", J);
|
|
@@ -41630,25 +41630,25 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41630
41630
|
setup(O, { slots: ee }) {
|
|
41631
41631
|
const G = Do(ee.default().map((oe) => oe.props));
|
|
41632
41632
|
console.log(ee.default());
|
|
41633
|
-
const
|
|
41634
|
-
return Yq("selectedTitle",
|
|
41633
|
+
const be = Do(G.value[0].title);
|
|
41634
|
+
return Yq("selectedTitle", be), {
|
|
41635
41635
|
tabs: G,
|
|
41636
|
-
selectedTitle:
|
|
41636
|
+
selectedTitle: be
|
|
41637
41637
|
};
|
|
41638
41638
|
}
|
|
41639
41639
|
}, BX = { class: "flex flex-wrap" }, RX = { class: "w-full" }, IX = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, MX = ["onClick"], LX = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, FX = { class: "flex-auto px-4 py-5" }, VX = { class: "tab-content tab-space" };
|
|
41640
|
-
function HX(O, ee, G,
|
|
41640
|
+
function HX(O, ee, G, be, oe, U) {
|
|
41641
41641
|
return se(), ie(Ln, null, [
|
|
41642
41642
|
N("div", BX, [
|
|
41643
41643
|
N("div", RX, [
|
|
41644
41644
|
N("ul", IX, [
|
|
41645
|
-
(se(!0), ie(Ln, null, ps(
|
|
41645
|
+
(se(!0), ie(Ln, null, ps(be.tabs, (_e) => (se(), ie("li", {
|
|
41646
41646
|
key: _e.title,
|
|
41647
|
-
onClick: (J) =>
|
|
41647
|
+
onClick: (J) => be.selectedTitle = _e.title,
|
|
41648
41648
|
class: "flex-auto -mb-px text-center"
|
|
41649
41649
|
}, [
|
|
41650
41650
|
N("a", {
|
|
41651
|
-
class: Wt([{ "text-slate-600 bg-white dark:bg-meta-4":
|
|
41651
|
+
class: Wt([{ "text-slate-600 bg-white dark:bg-meta-4": be.selectedTitle != _e.title, "text-white bg-slate-600 dark:bg-primary": be.selectedTitle === _e.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
|
|
41652
41652
|
}, [
|
|
41653
41653
|
N("i", {
|
|
41654
41654
|
class: Wt([_e.icon, "mr-1 text-base"])
|
|
@@ -41679,8 +41679,8 @@ const vse = /* @__PURE__ */ Es(PX, [["render", HX]]), UX = {
|
|
|
41679
41679
|
key: 0,
|
|
41680
41680
|
class: "block"
|
|
41681
41681
|
};
|
|
41682
|
-
function WX(O, ee, G,
|
|
41683
|
-
return G.title ==
|
|
41682
|
+
function WX(O, ee, G, be, oe, U) {
|
|
41683
|
+
return G.title == be.selectedTitle ? (se(), ie("div", zX, [
|
|
41684
41684
|
ul(O.$slots, "default")
|
|
41685
41685
|
])) : Je("", !0);
|
|
41686
41686
|
}
|
|
@@ -41736,9 +41736,9 @@ const xse = /* @__PURE__ */ Es(UX, [["render", WX]]), jX = {
|
|
|
41736
41736
|
},
|
|
41737
41737
|
generateRandomString(O) {
|
|
41738
41738
|
let ee = "";
|
|
41739
|
-
const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
|
|
41739
|
+
const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", be = G.length;
|
|
41740
41740
|
for (let oe = 0; oe < O; oe++)
|
|
41741
|
-
ee += G.charAt(Math.floor(Math.random() *
|
|
41741
|
+
ee += G.charAt(Math.floor(Math.random() * be));
|
|
41742
41742
|
return ee;
|
|
41743
41743
|
},
|
|
41744
41744
|
movingActions() {
|
|
@@ -41752,10 +41752,10 @@ const xse = /* @__PURE__ */ Es(UX, [["render", WX]]), jX = {
|
|
|
41752
41752
|
document.removeEventListener("mousemove", U), document.removeEventListener("touchmove", U), document.removeEventListener("mouseup", _e), document.removeEventListener("touchend", _e), ee.style.cursor = "grab";
|
|
41753
41753
|
};
|
|
41754
41754
|
document.addEventListener("mousemove", U), document.addEventListener("touchmove", U, { passive: !1 }), document.addEventListener("mouseup", _e), document.addEventListener("touchend", _e), O.initialX = oe.clientX || oe.touches && oe.touches[0] && oe.touches[0].clientX, O.initialY = oe.clientY || oe.touches && oe.touches[0] && oe.touches[0].clientY;
|
|
41755
|
-
},
|
|
41755
|
+
}, be = (oe) => {
|
|
41756
41756
|
oe.key === "ArrowLeft" ? O.prev() : oe.key === "ArrowRight" && O.next();
|
|
41757
41757
|
};
|
|
41758
|
-
ee.addEventListener("mousedown", G), ee.addEventListener("touchstart", G), document.addEventListener("keydown",
|
|
41758
|
+
ee.addEventListener("mousedown", G), ee.addEventListener("touchstart", G), document.addEventListener("keydown", be);
|
|
41759
41759
|
},
|
|
41760
41760
|
next() {
|
|
41761
41761
|
this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
|
|
@@ -41764,7 +41764,7 @@ const xse = /* @__PURE__ */ Es(UX, [["render", WX]]), jX = {
|
|
|
41764
41764
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
41765
41765
|
},
|
|
41766
41766
|
initSlider() {
|
|
41767
|
-
let O = document.getElementById("sliderContainer_" + this.Random_string), ee = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string),
|
|
41767
|
+
let O = document.getElementById("sliderContainer_" + this.Random_string), ee = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), be = G.querySelectorAll("li"), oe = Array.from(be).filter((J) => J.parentNode === G), U = O.clientWidth, _e = U / this.elementsToShow;
|
|
41768
41768
|
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, _e = this.hide_arrow ? ee.clientWidth : U) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, _e = this.hide_arrow ? ee.clientWidth : U), oe.length > 1) {
|
|
41769
41769
|
this.dotsNum = this.elementsToShow == 1 ? oe.length : oe.length - this.elementsToShow + 1;
|
|
41770
41770
|
let J = this.elementsToShow == 1 ? _e * oe.length / this.dotsNum : _e * (oe.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
@@ -41968,7 +41968,7 @@ const xse = /* @__PURE__ */ Es(UX, [["render", WX]]), jX = {
|
|
|
41968
41968
|
}, null, -1)), KZ = [
|
|
41969
41969
|
qZ
|
|
41970
41970
|
];
|
|
41971
|
-
function YZ(O, ee, G,
|
|
41971
|
+
function YZ(O, ee, G, be, oe, U) {
|
|
41972
41972
|
return se(), ie("div", null, [
|
|
41973
41973
|
N("div", {
|
|
41974
41974
|
class: Wt(["", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
@@ -42127,12 +42127,12 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42127
42127
|
},
|
|
42128
42128
|
emits: ["closeModal"],
|
|
42129
42129
|
setup(O, { emit: ee }) {
|
|
42130
|
-
const G = O,
|
|
42130
|
+
const G = O, be = ee, oe = () => {
|
|
42131
42131
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
42132
42132
|
}, U = () => {
|
|
42133
42133
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
42134
42134
|
}, _e = () => {
|
|
42135
|
-
|
|
42135
|
+
be("closeModal"), U();
|
|
42136
42136
|
};
|
|
42137
42137
|
return kA(
|
|
42138
42138
|
() => G.is_open,
|
|
@@ -42222,12 +42222,12 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42222
42222
|
},
|
|
42223
42223
|
emits: ["update:modelValue"],
|
|
42224
42224
|
setup(O, { emit: ee }) {
|
|
42225
|
-
const G = O,
|
|
42225
|
+
const G = O, be = ee, oe = Do(null), U = La({
|
|
42226
42226
|
get() {
|
|
42227
42227
|
return G.modelValue;
|
|
42228
42228
|
},
|
|
42229
42229
|
set(_e) {
|
|
42230
|
-
|
|
42230
|
+
be("update:modelValue", _e);
|
|
42231
42231
|
}
|
|
42232
42232
|
});
|
|
42233
42233
|
return (_e, J) => (se(), ie(Ln, null, [
|
|
@@ -42385,7 +42385,7 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42385
42385
|
},
|
|
42386
42386
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
42387
42387
|
setup(O, { emit: ee }) {
|
|
42388
|
-
const G = O,
|
|
42388
|
+
const G = O, be = ee, oe = Do(null), U = Do({}), _e = Do(0), J = Do(!1), Oe = Do(""), ft = Do("");
|
|
42389
42389
|
fm(() => {
|
|
42390
42390
|
ft.value = xa(), G.show || (document.body.addEventListener("click", (Qe) => {
|
|
42391
42391
|
Yo(Qe);
|
|
@@ -42459,7 +42459,7 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42459
42459
|
) || {};
|
|
42460
42460
|
}
|
|
42461
42461
|
function Eo(Qe) {
|
|
42462
|
-
U.value = Qe, J.value = !1,
|
|
42462
|
+
U.value = Qe, J.value = !1, be("update:modelValue", U.value.id), be("selected", U.value), be("selectionChanged", U.value);
|
|
42463
42463
|
}
|
|
42464
42464
|
function Q() {
|
|
42465
42465
|
G.show || (Oe.value = "", J.value = !0, Kq(() => {
|
|
@@ -42470,15 +42470,15 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42470
42470
|
}));
|
|
42471
42471
|
}
|
|
42472
42472
|
function rn() {
|
|
42473
|
-
G.show || (U.value = {}, Oe.value = "",
|
|
42473
|
+
G.show || (U.value = {}, Oe.value = "", be("update:modelValue", ""), Q());
|
|
42474
42474
|
}
|
|
42475
42475
|
function To() {
|
|
42476
|
-
U.value.id || (U.value = {}, Oe.value = ""),
|
|
42476
|
+
U.value.id || (U.value = {}, Oe.value = ""), be("selected", U.value), J.value = !1;
|
|
42477
42477
|
}
|
|
42478
42478
|
return kA(Oe, () => {
|
|
42479
42479
|
eo.value.length === 0 && (U.value = {});
|
|
42480
42480
|
}), kA(U, (Qe) => {
|
|
42481
|
-
ko(Qe) &&
|
|
42481
|
+
ko(Qe) && be("update:modelValue", Qe.id);
|
|
42482
42482
|
}), (Qe, Ae) => {
|
|
42483
42483
|
var Et, uo, kn;
|
|
42484
42484
|
return se(), ie(Ln, null, [
|
|
@@ -42634,13 +42634,13 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42634
42634
|
},
|
|
42635
42635
|
emits: ["update:modelValue", "keydown"],
|
|
42636
42636
|
setup(O, { expose: ee, emit: G }) {
|
|
42637
|
-
const
|
|
42637
|
+
const be = O, oe = G, U = Do(null);
|
|
42638
42638
|
fm(() => {
|
|
42639
42639
|
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
|
|
42640
42640
|
});
|
|
42641
42641
|
const _e = La({
|
|
42642
42642
|
get() {
|
|
42643
|
-
return
|
|
42643
|
+
return be.modelValue;
|
|
42644
42644
|
},
|
|
42645
42645
|
set(J) {
|
|
42646
42646
|
oe("update:modelValue", J);
|
|
@@ -42735,17 +42735,17 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42735
42735
|
},
|
|
42736
42736
|
emits: ["update:modelValue", "keydown"],
|
|
42737
42737
|
setup(O, { expose: ee, emit: G }) {
|
|
42738
|
-
const
|
|
42738
|
+
const be = O, oe = G, U = Do(null);
|
|
42739
42739
|
fm(() => {
|
|
42740
42740
|
tinymce.init({
|
|
42741
|
-
selector: "#" +
|
|
42741
|
+
selector: "#" + be.field_name,
|
|
42742
42742
|
width: "100%",
|
|
42743
42743
|
height: 300
|
|
42744
|
-
}), U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
|
|
42744
|
+
}), console.log("tinymce ", be.modelValue), U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
|
|
42745
42745
|
});
|
|
42746
42746
|
const _e = La({
|
|
42747
42747
|
get() {
|
|
42748
|
-
return
|
|
42748
|
+
return be.modelValue;
|
|
42749
42749
|
},
|
|
42750
42750
|
set(J) {
|
|
42751
42751
|
oe("update:modelValue", J);
|
|
@@ -42849,8 +42849,8 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42849
42849
|
return 0;
|
|
42850
42850
|
if (this.limit === 0)
|
|
42851
42851
|
return this.lastPage;
|
|
42852
|
-
for (var O = this.currentPage, ee = this.lastPage, G = this.limit,
|
|
42853
|
-
(Oe === 1 || Oe === ee || Oe >=
|
|
42852
|
+
for (var O = this.currentPage, ee = this.lastPage, G = this.limit, be = O - G, oe = O + G + 1, U = [], _e = [], J, Oe = 1; Oe <= ee; Oe++)
|
|
42853
|
+
(Oe === 1 || Oe === ee || Oe >= be && Oe < oe) && U.push(Oe);
|
|
42854
42854
|
return U.forEach(function(ft) {
|
|
42855
42855
|
J && (ft - J === 2 ? _e.push(J + 1) : ft - J !== 1 && _e.push("...")), _e.push(ft), J = ft;
|
|
42856
42856
|
}), _e;
|
|
@@ -42975,7 +42975,7 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42975
42975
|
d: "m1 9 4-4-4-4"
|
|
42976
42976
|
})
|
|
42977
42977
|
], -1);
|
|
42978
|
-
function gQ(O, ee, G,
|
|
42978
|
+
function gQ(O, ee, G, be, oe, U) {
|
|
42979
42979
|
const _e = Ly("RenderlessPagination");
|
|
42980
42980
|
return se(), Fy(_e, {
|
|
42981
42981
|
data: G.data,
|
|
@@ -43084,7 +43084,7 @@ const Jq = /* @__PURE__ */ Es(tQ, [["render", gQ]]), pQ = {
|
|
|
43084
43084
|
filteredData() {
|
|
43085
43085
|
const O = this.search.toLowerCase();
|
|
43086
43086
|
return this.sortData(this.data).filter((G) => Object.values(G).some(
|
|
43087
|
-
(
|
|
43087
|
+
(be) => be.toString().toLowerCase().includes(O)
|
|
43088
43088
|
));
|
|
43089
43089
|
}
|
|
43090
43090
|
},
|
|
@@ -43203,7 +43203,7 @@ const Jq = /* @__PURE__ */ Es(tQ, [["render", gQ]]), pQ = {
|
|
|
43203
43203
|
], -1), RQ = [
|
|
43204
43204
|
BQ
|
|
43205
43205
|
], IQ = ["data-label"], MQ = { class: "overflow-auto max-h-40" }, LQ = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
43206
|
-
function FQ(O, ee, G,
|
|
43206
|
+
function FQ(O, ee, G, be, oe, U) {
|
|
43207
43207
|
const _e = Ly("dropdown"), J = Ly("TailwindPagination");
|
|
43208
43208
|
return se(), ie("div", hQ, [
|
|
43209
43209
|
N("div", bQ, [
|
|
@@ -43335,7 +43335,7 @@ const Tse = /* @__PURE__ */ Es(pQ, [["render", FQ]]), VQ = {
|
|
|
43335
43335
|
filteredData() {
|
|
43336
43336
|
const O = this.search.toLowerCase();
|
|
43337
43337
|
return this.sortData(this.data).filter((G) => Object.values(G).some(
|
|
43338
|
-
(
|
|
43338
|
+
(be) => be.toString().toLowerCase().includes(O)
|
|
43339
43339
|
));
|
|
43340
43340
|
},
|
|
43341
43341
|
groupedItems() {
|
|
@@ -43345,10 +43345,10 @@ const Tse = /* @__PURE__ */ Es(pQ, [["render", FQ]]), VQ = {
|
|
|
43345
43345
|
methods: {
|
|
43346
43346
|
groupBy(O) {
|
|
43347
43347
|
return this.itemLists.data ? this.itemLists.data.reduce((ee, G) => {
|
|
43348
|
-
const
|
|
43349
|
-
ee[
|
|
43348
|
+
const be = G[O];
|
|
43349
|
+
ee[be] || (ee[be] = []);
|
|
43350
43350
|
const oe = { ...G };
|
|
43351
|
-
return delete oe[O], ee[
|
|
43351
|
+
return delete oe[O], ee[be].push(oe), ee;
|
|
43352
43352
|
}, {}) : [];
|
|
43353
43353
|
},
|
|
43354
43354
|
editAction(O) {
|
|
@@ -43462,7 +43462,7 @@ const Tse = /* @__PURE__ */ Es(pQ, [["render", FQ]]), VQ = {
|
|
|
43462
43462
|
], -1), aee = [
|
|
43463
43463
|
ree
|
|
43464
43464
|
], iee = { 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" }, cee = ["colspan"], lee = ["data-label"], uee = { class: "overflow-auto max-h-40" }, dee = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
43465
|
-
function mee(O, ee, G,
|
|
43465
|
+
function mee(O, ee, G, be, oe, U) {
|
|
43466
43466
|
const _e = Ly("dropdown"), J = Ly("TailwindPagination");
|
|
43467
43467
|
return se(), ie("div", HQ, [
|
|
43468
43468
|
N("div", UQ, [
|
|
@@ -43590,7 +43590,7 @@ const Ase = /* @__PURE__ */ Es(VQ, [["render", mee]]), fee = {
|
|
|
43590
43590
|
filteredData() {
|
|
43591
43591
|
const O = this.search.toLowerCase();
|
|
43592
43592
|
return this.sortData(this.data).filter((G) => Object.values(G).some(
|
|
43593
|
-
(
|
|
43593
|
+
(be) => be != null && be.toString().toLowerCase().includes(O)
|
|
43594
43594
|
));
|
|
43595
43595
|
},
|
|
43596
43596
|
totalPages() {
|
|
@@ -43607,7 +43607,7 @@ const Ase = /* @__PURE__ */ Es(VQ, [["render", mee]]), fee = {
|
|
|
43607
43607
|
), ee = O + this.maxDisplayedPages - 1;
|
|
43608
43608
|
return ee > this.totalPages && (ee = this.totalPages, O = Math.max(ee - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
43609
43609
|
{ length: ee - O + 1 },
|
|
43610
|
-
(G,
|
|
43610
|
+
(G, be) => O + be
|
|
43611
43611
|
);
|
|
43612
43612
|
},
|
|
43613
43613
|
firstItemIndex() {
|
|
@@ -43711,7 +43711,7 @@ const Ase = /* @__PURE__ */ Es(VQ, [["render", mee]]), fee = {
|
|
|
43711
43711
|
Xee,
|
|
43712
43712
|
Zee
|
|
43713
43713
|
];
|
|
43714
|
-
function Qee(O, ee, G,
|
|
43714
|
+
function Qee(O, ee, G, be, oe, U) {
|
|
43715
43715
|
const _e = Ly("dropdown");
|
|
43716
43716
|
return se(), ie("div", gee, [
|
|
43717
43717
|
N("div", pee, [
|
|
@@ -43873,7 +43873,7 @@ const Ose = /* @__PURE__ */ Es(fee, [["render", Qee]]), ete = {
|
|
|
43873
43873
|
}), {};
|
|
43874
43874
|
}
|
|
43875
43875
|
};
|
|
43876
|
-
function tte(O, ee, G,
|
|
43876
|
+
function tte(O, ee, G, be, oe, U) {
|
|
43877
43877
|
return se(), ie("div", null, [
|
|
43878
43878
|
ul(O.$slots, "default")
|
|
43879
43879
|
]);
|
|
@@ -43886,7 +43886,7 @@ const Dse = /* @__PURE__ */ Es(ete, [["render", tte]]), nte = {
|
|
|
43886
43886
|
}
|
|
43887
43887
|
},
|
|
43888
43888
|
setup() {
|
|
43889
|
-
const O = Do(!1), ee = Xq("accordionsWrapper"),
|
|
43889
|
+
const O = Do(!1), ee = Xq("accordionsWrapper"), be = (() => {
|
|
43890
43890
|
var ft = (/* @__PURE__ */ new Date()).getTime();
|
|
43891
43891
|
typeof performance < "u" && typeof performance.now == "function" && (ft += performance.now());
|
|
43892
43892
|
var jt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(xn) {
|
|
@@ -43894,7 +43894,7 @@ const Dse = /* @__PURE__ */ Es(ete, [["render", tte]]), nte = {
|
|
|
43894
43894
|
return ft = Math.floor(ft / 16), (xn === "x" ? eo : eo & 3 | 8).toString(16);
|
|
43895
43895
|
});
|
|
43896
43896
|
return jt;
|
|
43897
|
-
})(), oe = { isOpen: O, id:
|
|
43897
|
+
})(), oe = { isOpen: O, id: be }, U = La(() => ee.accordions.value), _e = La(() => U.value.length > 0 && U.value[0].id === be), J = La(() => U.value.length > 0 && U.value[U.value.length - 1].id === be);
|
|
43898
43898
|
return fm(() => {
|
|
43899
43899
|
ee.registerAccordion(oe);
|
|
43900
43900
|
}), DK(() => {
|
|
@@ -43934,29 +43934,29 @@ const Dse = /* @__PURE__ */ Es(ete, [["render", tte]]), nte = {
|
|
|
43934
43934
|
}, null, -1), lte = [
|
|
43935
43935
|
cte
|
|
43936
43936
|
];
|
|
43937
|
-
function ute(O, ee, G,
|
|
43937
|
+
function ute(O, ee, G, be, oe, U) {
|
|
43938
43938
|
return se(), ie("div", null, [
|
|
43939
43939
|
N("h2", null, [
|
|
43940
43940
|
N("button", {
|
|
43941
|
-
onClick: ee[0] || (ee[0] = (..._e) =>
|
|
43941
|
+
onClick: ee[0] || (ee[0] = (..._e) => be.toggle && be.toggle(..._e)),
|
|
43942
43942
|
type: "button",
|
|
43943
43943
|
class: Wt(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800", {
|
|
43944
|
-
"rounded-t-xl":
|
|
43945
|
-
"border-b-0": !
|
|
43946
|
-
"bg-gray-100 dark:bg-gray-800":
|
|
43944
|
+
"rounded-t-xl": be.isFirstAccordion,
|
|
43945
|
+
"border-b-0": !be.isLastAccordion,
|
|
43946
|
+
"bg-gray-100 dark:bg-gray-800": be.isOpen
|
|
43947
43947
|
}]),
|
|
43948
43948
|
"aria-expanded": "true"
|
|
43949
43949
|
}, [
|
|
43950
43950
|
N("span", ote, nt(G.title), 1),
|
|
43951
|
-
|
|
43952
|
-
|
|
43951
|
+
be.isOpen ? Je("", !0) : (se(), ie("svg", ste, ate)),
|
|
43952
|
+
be.isOpen ? (se(), ie("svg", ite, lte)) : Je("", !0)
|
|
43953
43953
|
], 2)
|
|
43954
43954
|
]),
|
|
43955
|
-
|
|
43955
|
+
be.isOpen ? (se(), ie("div", {
|
|
43956
43956
|
key: 0,
|
|
43957
43957
|
class: Wt([{
|
|
43958
|
-
"border-b-0": !
|
|
43959
|
-
"border-t-0":
|
|
43958
|
+
"border-b-0": !be.isLastAccordion,
|
|
43959
|
+
"border-t-0": be.isLastAccordion
|
|
43960
43960
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
43961
43961
|
}, [
|
|
43962
43962
|
ul(O.$slots, "default")
|
|
@@ -44040,16 +44040,16 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44040
44040
|
setup(O, { emit: ee }) {
|
|
44041
44041
|
const G = O;
|
|
44042
44042
|
fm(() => {
|
|
44043
|
-
setTimeout(() =>
|
|
44043
|
+
setTimeout(() => be("remove"), G.duration);
|
|
44044
44044
|
});
|
|
44045
|
-
const
|
|
44045
|
+
const be = ee;
|
|
44046
44046
|
return (oe, U) => (se(), ie("div", dte, [
|
|
44047
44047
|
G.type === "success" ? (se(), ie("div", mte, pte)) : Je("", !0),
|
|
44048
44048
|
G.type === "error" ? (se(), ie("div", hte, vte)) : Je("", !0),
|
|
44049
44049
|
G.type === "warning" ? (se(), ie("div", xte, _te)) : Je("", !0),
|
|
44050
44050
|
N("div", Ste, nt(G.message), 1),
|
|
44051
44051
|
N("button", {
|
|
44052
|
-
onClick: U[0] || (U[0] = (_e) =>
|
|
44052
|
+
onClick: U[0] || (U[0] = (_e) => be("remove")),
|
|
44053
44053
|
type: "button",
|
|
44054
44054
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
44055
44055
|
"data-dismiss-target": "#toast-default",
|
|
@@ -44080,7 +44080,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44080
44080
|
function ee(G) {
|
|
44081
44081
|
vL.methods.remove(G);
|
|
44082
44082
|
}
|
|
44083
|
-
return (G,
|
|
44083
|
+
return (G, be) => (se(), Fy($K, {
|
|
44084
44084
|
tag: "div",
|
|
44085
44085
|
"enter-from-class": "translate-x-full opacity-0",
|
|
44086
44086
|
"enter-active-class": "duration-500",
|
|
@@ -44142,10 +44142,10 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44142
44142
|
},
|
|
44143
44143
|
emits: ["deleteAction"],
|
|
44144
44144
|
setup(O, { emit: ee }) {
|
|
44145
|
-
const G = O,
|
|
44146
|
-
|
|
44145
|
+
const G = O, be = Do(!1), oe = Do(!1), U = () => {
|
|
44146
|
+
be.value = !1;
|
|
44147
44147
|
}, _e = () => {
|
|
44148
|
-
|
|
44148
|
+
be.value = !0;
|
|
44149
44149
|
}, J = () => {
|
|
44150
44150
|
oe.value = !1;
|
|
44151
44151
|
}, Oe = () => {
|
|
@@ -44198,7 +44198,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44198
44198
|
])) : Je("", !0)
|
|
44199
44199
|
])
|
|
44200
44200
|
], 512), [
|
|
44201
|
-
[bC,
|
|
44201
|
+
[bC, be.value]
|
|
44202
44202
|
])
|
|
44203
44203
|
])), [
|
|
44204
44204
|
[jo, U]
|
|
@@ -44248,10 +44248,10 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44248
44248
|
},
|
|
44249
44249
|
emits: ["deleteAction"],
|
|
44250
44250
|
setup(O, { emit: ee }) {
|
|
44251
|
-
const G = O,
|
|
44252
|
-
|
|
44251
|
+
const G = O, be = Do(!1), oe = Do(!1), U = () => {
|
|
44252
|
+
be.value = !1;
|
|
44253
44253
|
}, _e = () => {
|
|
44254
|
-
|
|
44254
|
+
be.value = !0;
|
|
44255
44255
|
}, J = () => {
|
|
44256
44256
|
oe.value = !1;
|
|
44257
44257
|
}, Oe = () => {
|
|
@@ -44295,7 +44295,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44295
44295
|
])) : Je("", !0)
|
|
44296
44296
|
])
|
|
44297
44297
|
], 512), [
|
|
44298
|
-
[bC,
|
|
44298
|
+
[bC, be.value]
|
|
44299
44299
|
])
|
|
44300
44300
|
])), [
|
|
44301
44301
|
[jo, U]
|
|
@@ -44356,7 +44356,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44356
44356
|
"clip-rule": "evenodd"
|
|
44357
44357
|
})
|
|
44358
44358
|
], -1);
|
|
44359
|
-
function Qte(O, ee, G,
|
|
44359
|
+
function Qte(O, ee, G, be, oe, U) {
|
|
44360
44360
|
return se(), ie("div", null, [
|
|
44361
44361
|
U.isArray ? (se(!0), ie(Ln, { key: 0 }, ps(G.row, (_e, J) => (se(), ie("div", {
|
|
44362
44362
|
key: J,
|
|
@@ -44432,7 +44432,7 @@ const Rse = /* @__PURE__ */ Es(qte, [["render", Qte]]), ene = {
|
|
|
44432
44432
|
"clip-rule": "evenodd"
|
|
44433
44433
|
})
|
|
44434
44434
|
], -1);
|
|
44435
|
-
function ane(O, ee, G,
|
|
44435
|
+
function ane(O, ee, G, be, oe, U) {
|
|
44436
44436
|
return se(), ie("div", null, [
|
|
44437
44437
|
U.isArray ? (se(!0), ie(Ln, { key: 0 }, ps(G.row[G.field], (_e) => (se(), ie("div", {
|
|
44438
44438
|
key: _e.id,
|
|
@@ -44463,7 +44463,7 @@ function ane(O, ee, G, ye, oe, U) {
|
|
|
44463
44463
|
const Ise = /* @__PURE__ */ Es(ene, [["render", ane]]), ine = {
|
|
44464
44464
|
props: ["field", "row", "tdProps"]
|
|
44465
44465
|
}, cne = { key: 0 }, lne = ["innerHTML"];
|
|
44466
|
-
function une(O, ee, G,
|
|
44466
|
+
function une(O, ee, G, be, oe, U) {
|
|
44467
44467
|
return G.row[G.field] ? (se(), ie("div", cne, [
|
|
44468
44468
|
N("div", {
|
|
44469
44469
|
class: "w-full",
|
|
@@ -44489,7 +44489,7 @@ const Mse = /* @__PURE__ */ Es(ine, [["render", une]]), dne = {
|
|
|
44489
44489
|
key: 1,
|
|
44490
44490
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
44491
44491
|
};
|
|
44492
|
-
function gne(O, ee, G,
|
|
44492
|
+
function gne(O, ee, G, be, oe, U) {
|
|
44493
44493
|
return se(), ie("div", mne, [
|
|
44494
44494
|
U.isArray ? (se(!0), ie(Ln, { key: 0 }, ps(G.row[U.entry.key], (_e, J) => (se(), ie("span", {
|
|
44495
44495
|
key: J,
|
|
@@ -44500,7 +44500,7 @@ function gne(O, ee, G, ye, oe, U) {
|
|
|
44500
44500
|
const Lse = /* @__PURE__ */ Es(dne, [["render", gne]]), pne = {
|
|
44501
44501
|
props: ["field", "row", "tdProps"]
|
|
44502
44502
|
}, hne = { key: 0 }, bne = { class: "m-1 d-inline-block" }, yne = ["href", "title"], vne = ["src", "alt", "title"];
|
|
44503
|
-
function xne(O, ee, G,
|
|
44503
|
+
function xne(O, ee, G, be, oe, U) {
|
|
44504
44504
|
return G.row[G.field] ? (se(), ie("div", hne, [
|
|
44505
44505
|
N("div", bne, [
|
|
44506
44506
|
N("a", {
|
|
@@ -44531,7 +44531,7 @@ const Fse = /* @__PURE__ */ Es(pne, [["render", xne], ["__scopeId", "data-v-3a28
|
|
|
44531
44531
|
key: 1,
|
|
44532
44532
|
class: "inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
44533
44533
|
}, Ene = /* @__PURE__ */ N("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
44534
|
-
function Tne(O, ee, G,
|
|
44534
|
+
function Tne(O, ee, G, be, oe, U) {
|
|
44535
44535
|
return se(), ie("div", Cne, [
|
|
44536
44536
|
U.isActive ? (se(), ie("span", _ne, [
|
|
44537
44537
|
Sne,
|
|
@@ -44571,7 +44571,7 @@ const Vse = /* @__PURE__ */ Es(wne, [["render", Tne]]), Ane = {
|
|
|
44571
44571
|
/* @__PURE__ */ N("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
44572
44572
|
/* @__PURE__ */ N("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
44573
44573
|
], -1);
|
|
44574
|
-
function Vne(O, ee, G,
|
|
44574
|
+
function Vne(O, ee, G, be, oe, U) {
|
|
44575
44575
|
return se(), ie("div", One, [
|
|
44576
44576
|
U.hasLabelColor == "green" ? (se(), ie("span", Dne, [
|
|
44577
44577
|
Nne,
|
|
@@ -44617,7 +44617,7 @@ const Hse = /* @__PURE__ */ Es(Ane, [["render", Vne]]), Hne = {
|
|
|
44617
44617
|
}
|
|
44618
44618
|
}
|
|
44619
44619
|
}, Une = { class: "flex flex-wrap gap-2 text-nowrap justify-center" };
|
|
44620
|
-
function zne(O, ee, G,
|
|
44620
|
+
function zne(O, ee, G, be, oe, U) {
|
|
44621
44621
|
return se(), ie("div", Une, [
|
|
44622
44622
|
U.hasLabelColor == "Default" ? (se(), ie("span", {
|
|
44623
44623
|
key: 0,
|
|
@@ -44688,7 +44688,7 @@ const Use = /* @__PURE__ */ Es(Hne, [["render", zne]]), Wne = {
|
|
|
44688
44688
|
/* @__PURE__ */ N("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
44689
44689
|
/* @__PURE__ */ N("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
44690
44690
|
], -1);
|
|
44691
|
-
function noe(O, ee, G,
|
|
44691
|
+
function noe(O, ee, G, be, oe, U) {
|
|
44692
44692
|
return se(), ie("div", jne, [
|
|
44693
44693
|
U.hasLabelColor == "green" ? (se(), ie("span", Gne, [
|
|
44694
44694
|
qne,
|
|
@@ -44718,17 +44718,17 @@ const zse = /* @__PURE__ */ Es(Wne, [["render", noe]]), ooe = {
|
|
|
44718
44718
|
formattedDate() {
|
|
44719
44719
|
if (!this.row[this.field])
|
|
44720
44720
|
return "";
|
|
44721
|
-
const O = new Date(this.row[this.field]), ee = O.getFullYear(), G = O.toLocaleString("default", { month: "long" }),
|
|
44721
|
+
const O = new Date(this.row[this.field]), ee = O.getFullYear(), G = O.toLocaleString("default", { month: "long" }), be = O.getDate();
|
|
44722
44722
|
let oe = O.getHours();
|
|
44723
44723
|
const U = O.getMinutes(), _e = O.getSeconds(), J = oe >= 12 ? "pm" : "am";
|
|
44724
|
-
return oe = oe % 12, oe = oe || 12, `${G} ${
|
|
44724
|
+
return oe = oe % 12, oe = oe || 12, `${G} ${be}, ${ee}, ${oe}:${U}:${_e} ${J}`;
|
|
44725
44725
|
},
|
|
44726
44726
|
isActive() {
|
|
44727
44727
|
return this.row[this.field] === 1;
|
|
44728
44728
|
}
|
|
44729
44729
|
}
|
|
44730
44730
|
}, soe = { class: "w-full" };
|
|
44731
|
-
function roe(O, ee, G,
|
|
44731
|
+
function roe(O, ee, G, be, oe, U) {
|
|
44732
44732
|
return se(), ie("div", soe, nt(U.formattedDate), 1);
|
|
44733
44733
|
}
|
|
44734
44734
|
const Wse = /* @__PURE__ */ Es(ooe, [["render", roe]]), aoe = {
|
|
@@ -44746,7 +44746,7 @@ const Wse = /* @__PURE__ */ Es(ooe, [["render", roe]]), aoe = {
|
|
|
44746
44746
|
key: 2,
|
|
44747
44747
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
44748
44748
|
}, foe = /* @__PURE__ */ N("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
44749
|
-
function goe(O, ee, G,
|
|
44749
|
+
function goe(O, ee, G, be, oe, U) {
|
|
44750
44750
|
return se(), ie("div", ioe, [
|
|
44751
44751
|
G.row[G.field] === 0 ? (se(), ie("span", coe, [
|
|
44752
44752
|
loe,
|
|
@@ -44768,7 +44768,7 @@ const jse = /* @__PURE__ */ Es(aoe, [["render", goe]]), poe = {
|
|
|
44768
44768
|
key: 0,
|
|
44769
44769
|
class: "text-nowrap"
|
|
44770
44770
|
}, boe = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
|
|
44771
|
-
function yoe(O, ee, G,
|
|
44771
|
+
function yoe(O, ee, G, be, oe, U) {
|
|
44772
44772
|
return G.row[G.field] ? (se(), ie("div", hoe, [
|
|
44773
44773
|
N("pre", boe, " " + nt(G.row[G.field]) + `
|
|
44774
44774
|
`, 1)
|
|
@@ -44796,7 +44796,7 @@ const Gse = /* @__PURE__ */ Es(poe, [["render", yoe]]), voe = {
|
|
|
44796
44796
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
44797
44797
|
"aria-hidden": "true"
|
|
44798
44798
|
}, "", -1), Soe = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, koe = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Eoe = { class: "sm:flex sm:items-start" }, Toe = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Aoe = { class: "text-lg font-medium leading-6 text-gray-900" }, Ooe = { class: "mt-2" }, Doe = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
44799
|
-
function Noe(O, ee, G,
|
|
44799
|
+
function Noe(O, ee, G, be, oe, U) {
|
|
44800
44800
|
return G.isOpen ? (se(), ie("div", xoe, [
|
|
44801
44801
|
N("div", woe, [
|
|
44802
44802
|
Coe,
|
|
@@ -44879,7 +44879,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44879
44879
|
}
|
|
44880
44880
|
},
|
|
44881
44881
|
setup(O) {
|
|
44882
|
-
const ee = O, G = Do(!1),
|
|
44882
|
+
const ee = O, G = Do(!1), be = (U) => {
|
|
44883
44883
|
navigator.clipboard.writeText(U).then(function() {
|
|
44884
44884
|
G.value = !0, setTimeout(() => {
|
|
44885
44885
|
G.value = !1;
|
|
@@ -44898,7 +44898,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44898
44898
|
]),
|
|
44899
44899
|
N("div", Loe, [
|
|
44900
44900
|
N("button", {
|
|
44901
|
-
onClick: _e[0] || (_e[0] = (J) =>
|
|
44901
|
+
onClick: _e[0] || (_e[0] = (J) => be(oe.value)),
|
|
44902
44902
|
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"
|
|
44903
44903
|
}, [
|
|
44904
44904
|
G.value ? Je("", !0) : (se(), ie("span", Foe, Uoe)),
|
|
@@ -44959,7 +44959,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44959
44959
|
}
|
|
44960
44960
|
},
|
|
44961
44961
|
setup(O) {
|
|
44962
|
-
const ee = O, G = Do(!1),
|
|
44962
|
+
const ee = O, G = Do(!1), be = (U) => {
|
|
44963
44963
|
navigator.clipboard.writeText(U).then(function() {
|
|
44964
44964
|
G.value = !0, setTimeout(() => {
|
|
44965
44965
|
G.value = !1;
|
|
@@ -44986,7 +44986,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44986
44986
|
]),
|
|
44987
44987
|
N("button", {
|
|
44988
44988
|
style: { padding: ".61rem" },
|
|
44989
|
-
onClick: _e[0] || (_e[0] = (J) =>
|
|
44989
|
+
onClick: _e[0] || (_e[0] = (J) => be(oe.value)),
|
|
44990
44990
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
44991
44991
|
type: "button"
|
|
44992
44992
|
}, [
|