golden-logic-ui 1.0.167 → 1.0.168
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 +243 -243
- package/dist/golden-logic-ui.umd.cjs +1 -1
- 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
|
+
}, he = 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
|
}, mt = function(e, n) {
|
|
43
43
|
return oe(Oe(e), function(o) {
|
|
44
|
-
return
|
|
44
|
+
return he(o, n);
|
|
45
45
|
});
|
|
46
46
|
}, Rt = function(e) {
|
|
47
47
|
return U(function(n, o) {
|
|
@@ -1400,11 +1400,11 @@ var RK = { exports: {} };
|
|
|
1400
1400
|
r[Te] = Ie, Ie.count++;
|
|
1401
1401
|
const qe = (st, pt) => {
|
|
1402
1402
|
ve(st, bc), Ie.status = pt, Ie.passed = [], Ie.failed = [], ce && (ce.onload = null, ce.onerror = null, ce = null);
|
|
1403
|
-
},
|
|
1403
|
+
}, be = () => qe(Ie.passed, 2), me = () => qe(Ie.failed, 3);
|
|
1404
1404
|
if (Z && Ie.passed.push(Z), X && Ie.failed.push(X), Ie.status === 1)
|
|
1405
1405
|
return;
|
|
1406
1406
|
if (Ie.status === 2) {
|
|
1407
|
-
|
|
1407
|
+
be();
|
|
1408
1408
|
return;
|
|
1409
1409
|
}
|
|
1410
1410
|
if (Ie.status === 3) {
|
|
@@ -1417,7 +1417,7 @@ var RK = { exports: {} };
|
|
|
1417
1417
|
rel: "stylesheet",
|
|
1418
1418
|
type: "text/css",
|
|
1419
1419
|
id: Ie.id
|
|
1420
|
-
}), n.contentCssCors && ns(ke, "crossOrigin", "anonymous"), n.referrerPolicy && ns(ke, "referrerpolicy", n.referrerPolicy), ce = ke.dom, ce.onload =
|
|
1420
|
+
}), n.contentCssCors && ns(ke, "crossOrigin", "anonymous"), n.referrerPolicy && ns(ke, "referrerpolicy", n.referrerPolicy), ce = ke.dom, ce.onload = be, ce.onerror = me, p(ke), ns(ke, "href", Te);
|
|
1421
1421
|
}), T = (K, Z) => {
|
|
1422
1422
|
const X = S(K);
|
|
1423
1423
|
r[K] = X, X.count++;
|
|
@@ -1749,7 +1749,7 @@ var RK = { exports: {} };
|
|
|
1749
1749
|
}
|
|
1750
1750
|
}, p = (n = e.schema) !== null && n !== void 0 ? n : "html5", v = UL(p);
|
|
1751
1751
|
e.verify_html === !1 && (e.valid_elements = "*[*]");
|
|
1752
|
-
const S = hg(e.valid_styles), k = hg(e.invalid_styles, "map"), T = hg(e.valid_classes, "map"), M = g("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), L = g("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), R = g("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), F = g("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), K = "td th iframe video audio object script code", Z = g("non_empty_elements", K + " pre svg", R), X = g("move_caret_before_on_enter_elements", K + " table", R), ce = "h1 h2 h3 h4 h5 h6", Te = g("text_block_elements", ce + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), Ie = g("block_elements", "hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing", Te), qe = g("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"),
|
|
1752
|
+
const S = hg(e.valid_styles), k = hg(e.invalid_styles, "map"), T = hg(e.valid_classes, "map"), M = g("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), L = g("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), R = g("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), F = g("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), K = "td th iframe video audio object script code", Z = g("non_empty_elements", K + " pre svg", R), X = g("move_caret_before_on_enter_elements", K + " table", R), ce = "h1 h2 h3 h4 h5 h6", Te = g("text_block_elements", ce + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), Ie = g("block_elements", "hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing", Te), qe = g("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), be = g("transparent_elements", "a ins del canvas map"), me = g("wrap_block_elements", "pre " + ce);
|
|
1753
1753
|
zc("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "), (Ut) => {
|
|
1754
1754
|
d[Ut] = new RegExp("</" + Ut + "[^>]*>", "gi");
|
|
1755
1755
|
});
|
|
@@ -1830,7 +1830,7 @@ var RK = { exports: {} };
|
|
|
1830
1830
|
}), e.invalid_elements && zc(wv(e.invalid_elements), (Ut) => {
|
|
1831
1831
|
o[Ut] && delete o[Ut];
|
|
1832
1832
|
}), en("span") || ke("span[!data-mce-type|*]");
|
|
1833
|
-
const Un = Fe(S), Zn = Fe(k), zo = Fe(T), tr = Fe(F), Fn = Fe(Ie), ze = Fe(Te), dt = Fe(qe), tn = Fe(Object.seal(R)), cn = Fe(L), it = Fe(Z), Lt = Fe(X), Le = Fe(M), Ft = Fe(
|
|
1833
|
+
const Un = Fe(S), Zn = Fe(k), zo = Fe(T), tr = Fe(F), Fn = Fe(Ie), ze = Fe(Te), dt = Fe(qe), tn = Fe(Object.seal(R)), cn = Fe(L), it = Fe(Z), Lt = Fe(X), Le = Fe(M), Ft = Fe(be), fn = Fe(me), jn = Fe(Object.seal(d)), zn = (Ut, Sn) => {
|
|
1834
1834
|
const Jn = r[Ut.toLowerCase()];
|
|
1835
1835
|
return !!(Jn && Jn[Sn.toLowerCase()]);
|
|
1836
1836
|
}, Ss = (Ut, Sn) => {
|
|
@@ -1914,17 +1914,17 @@ var RK = { exports: {} };
|
|
|
1914
1914
|
parse: (k) => {
|
|
1915
1915
|
const T = {};
|
|
1916
1916
|
let M = !1;
|
|
1917
|
-
const L = e.url_converter, R = e.url_converter_scope || S, F = (
|
|
1918
|
-
const st = T[
|
|
1917
|
+
const L = e.url_converter, R = e.url_converter_scope || S, F = (be, me, ke) => {
|
|
1918
|
+
const st = T[be + "-top" + me];
|
|
1919
1919
|
if (!st)
|
|
1920
1920
|
return;
|
|
1921
|
-
const pt = T[
|
|
1921
|
+
const pt = T[be + "-right" + me];
|
|
1922
1922
|
if (!pt)
|
|
1923
1923
|
return;
|
|
1924
|
-
const on = T[
|
|
1924
|
+
const on = T[be + "-bottom" + me];
|
|
1925
1925
|
if (!on)
|
|
1926
1926
|
return;
|
|
1927
|
-
const en = T[
|
|
1927
|
+
const en = T[be + "-left" + me];
|
|
1928
1928
|
if (!en)
|
|
1929
1929
|
return;
|
|
1930
1930
|
const Un = [
|
|
@@ -1936,9 +1936,9 @@ var RK = { exports: {} };
|
|
|
1936
1936
|
let Zn = Un.length - 1;
|
|
1937
1937
|
for (; Zn-- && Un[Zn] === Un[Zn + 1]; )
|
|
1938
1938
|
;
|
|
1939
|
-
Zn > -1 && ke || (T[
|
|
1940
|
-
}, K = (
|
|
1941
|
-
const me = T[
|
|
1939
|
+
Zn > -1 && ke || (T[be + me] = Zn === -1 ? Un[0] : Un.join(" "), delete T[be + "-top" + me], delete T[be + "-right" + me], delete T[be + "-bottom" + me], delete T[be + "-left" + me]);
|
|
1940
|
+
}, K = (be) => {
|
|
1941
|
+
const me = T[be];
|
|
1942
1942
|
if (!me)
|
|
1943
1943
|
return;
|
|
1944
1944
|
const ke = me.indexOf(",") > -1 ? [me] : me.split(" ");
|
|
@@ -1946,10 +1946,10 @@ var RK = { exports: {} };
|
|
|
1946
1946
|
for (; st--; )
|
|
1947
1947
|
if (ke[st] !== ke[0])
|
|
1948
1948
|
return !1;
|
|
1949
|
-
return T[
|
|
1950
|
-
}, Z = (
|
|
1951
|
-
K(me) && K(ke) && K(st) && (T[
|
|
1952
|
-
}, X = (
|
|
1949
|
+
return T[be] = ke[0], !0;
|
|
1950
|
+
}, Z = (be, me, ke, st) => {
|
|
1951
|
+
K(me) && K(ke) && K(st) && (T[be] = T[me] + " " + T[ke] + " " + T[st], delete T[me], delete T[ke], delete T[st]);
|
|
1952
|
+
}, X = (be) => (M = !0, l[be]), ce = (be, me) => (M && (be = be.replace(/\uFEFF[0-9]/g, (ke) => l[ke])), me || (be = be.replace(/\\([\'\";:])/g, "$1")), be), Te = (be) => String.fromCharCode(parseInt(be.slice(1), 16)), Ie = (be) => be.replace(/\\[0-9a-f]+/gi, Te), qe = (be, me, ke, st, pt, on) => {
|
|
1953
1953
|
if (pt = pt || on, pt)
|
|
1954
1954
|
return pt = ce(pt), "'" + pt.replace(/\'/g, "\\'") + "'";
|
|
1955
1955
|
if (me = ce(me || ke || st || ""), !e.allow_script_urls) {
|
|
@@ -1961,10 +1961,10 @@ var RK = { exports: {} };
|
|
|
1961
1961
|
};
|
|
1962
1962
|
if (k) {
|
|
1963
1963
|
k = k.replace(/[\u0000-\u001F]/g, ""), k = k.replace(/\\[\"\';:\uFEFF]/g, X).replace(/\"[^\"]+\"|\'[^\']+\'/g, (me) => me.replace(/[;:]/g, X));
|
|
1964
|
-
let
|
|
1965
|
-
for (;
|
|
1966
|
-
r.lastIndex =
|
|
1967
|
-
let me =
|
|
1964
|
+
let be;
|
|
1965
|
+
for (; be = r.exec(k); ) {
|
|
1966
|
+
r.lastIndex = be.index + be[0].length;
|
|
1967
|
+
let me = be[1].replace(i, "").toLowerCase(), ke = be[2].replace(i, "");
|
|
1968
1968
|
if (me && ke) {
|
|
1969
1969
|
if (me = Ie(me), ke = Ie(ke), me.indexOf(p) !== -1 || me.indexOf('"') !== -1 || !e.allow_script_urls && (me === "behavior" || /expression\s*\(|\/\*|\*\//.test(ke)))
|
|
1970
1970
|
continue;
|
|
@@ -2247,7 +2247,7 @@ var RK = { exports: {} };
|
|
|
2247
2247
|
w: ue.width,
|
|
2248
2248
|
h: ue.height
|
|
2249
2249
|
};
|
|
2250
|
-
}, qe = (le, ue) => ho(e.body, R(le), ue),
|
|
2250
|
+
}, qe = (le, ue) => ho(e.body, R(le), ue), be = (le, ue, Ue) => {
|
|
2251
2251
|
dt(le, (Be) => {
|
|
2252
2252
|
const gt = V.fromDom(Be);
|
|
2253
2253
|
Ev(gt, ue, Ue), n.update_styles && KA(k, gt);
|
|
@@ -2564,7 +2564,7 @@ var RK = { exports: {} };
|
|
|
2564
2564
|
createHTML: fn,
|
|
2565
2565
|
createFragment: jn,
|
|
2566
2566
|
remove: zn,
|
|
2567
|
-
setStyle:
|
|
2567
|
+
setStyle: be,
|
|
2568
2568
|
getStyle: ke,
|
|
2569
2569
|
setStyles: me,
|
|
2570
2570
|
removeAllAttribs: Ss,
|
|
@@ -4953,7 +4953,7 @@ Required: ` + n.join(", "));
|
|
|
4953
4953
|
}, o5 = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, s5 = (e, n) => {
|
|
4954
4954
|
const o = n.dom, r = n.getDoc(), i = document, l = n.getBody();
|
|
4955
4955
|
let d, g, p, v, S, k, T, M, L, R, F, K, Z, X, ce, Te, Ie;
|
|
4956
|
-
const qe = (Le) => Ae(Le) && (Kr(Le) || o.is(Le, "figure.image")),
|
|
4956
|
+
const qe = (Le) => Ae(Le) && (Kr(Le) || o.is(Le, "figure.image")), be = (Le) => rs(Le) || o.hasClass(Le, "mce-preview-object"), me = (Le, Ft) => {
|
|
4957
4957
|
if (o5(Le)) {
|
|
4958
4958
|
const fn = Le.touches[0];
|
|
4959
4959
|
return qe(Le.target) && !yS(fn.clientX, fn.clientY, Ft);
|
|
@@ -4968,7 +4968,7 @@ Required: ` + n.join(", "));
|
|
|
4968
4968
|
] : o.is(Le, "figure.image") ? [Le.querySelector("img")] : [Le], pt = (Le) => {
|
|
4969
4969
|
const Ft = SO(n);
|
|
4970
4970
|
return !Ft || Le.getAttribute("data-mce-resize") === "false" || Le === n.getBody() ? !1 : o.hasClass(Le, "mce-preview-object") && Ae(Le.firstElementChild) ? ka(V.fromDom(Le.firstElementChild), Ft) : ka(V.fromDom(Le), Ft);
|
|
4971
|
-
}, on = (Le) =>
|
|
4971
|
+
}, on = (Le) => be(Le) ? o.create("img", { src: Ze.transparentSrc }) : Le.cloneNode(!0), en = (Le, Ft, fn) => {
|
|
4972
4972
|
if (Ae(fn)) {
|
|
4973
4973
|
const jn = st(Le);
|
|
4974
4974
|
ve(jn, (zn) => {
|
|
@@ -4979,7 +4979,7 @@ Required: ` + n.join(", "));
|
|
|
4979
4979
|
en(Le, "width", Ft), en(Le, "height", fn);
|
|
4980
4980
|
}, Zn = (Le) => {
|
|
4981
4981
|
let Ft, fn, jn, zn, Ss;
|
|
4982
|
-
Ft = Le.screenX - k, fn = Le.screenY - T, X = Ft * v[2] + R, ce = fn * v[3] + F, X = X < 5 ? 5 : X, ce = ce < 5 ? 5 : ce, (qe(d) ||
|
|
4982
|
+
Ft = Le.screenX - k, fn = Le.screenY - T, X = Ft * v[2] + R, ce = fn * v[3] + F, X = X < 5 ? 5 : X, ce = ce < 5 ? 5 : ce, (qe(d) || be(d)) && MF(n) !== !1 ? jn = !ot.modifierPressed(Le) : jn = ot.modifierPressed(Le), jn && (d0(Ft) > d0(fn) ? (ce = Jh(X * K), X = Jh(ce / K)) : (X = Jh(ce / K), ce = Jh(X * K))), Un(g, X, ce), zn = v.startPos.x + Ft, Ss = v.startPos.y + fn, zn = zn > 0 ? zn : 0, Ss = Ss > 0 ? Ss : 0, o.setStyles(p, {
|
|
4983
4983
|
left: zn,
|
|
4984
4984
|
top: Ss,
|
|
4985
4985
|
display: "block"
|
|
@@ -6805,9 +6805,9 @@ Required: ` + n.join(", "));
|
|
|
6805
6805
|
n = Z === ce ? ce.innerHTML : d.getOuterHTML(Z);
|
|
6806
6806
|
const Te = g.parse(n), Ie = b$(Te), qe = Ie.bind(i$).getOr(Te);
|
|
6807
6807
|
Ie.each((st) => st.replace(F));
|
|
6808
|
-
const
|
|
6808
|
+
const be = F.children(), me = (i = F.parent) !== null && i !== void 0 ? i : Te;
|
|
6809
6809
|
F.unwrap();
|
|
6810
|
-
const ke = Ct(
|
|
6810
|
+
const ke = Ct(be, (st) => G0(e.schema, st, me));
|
|
6811
6811
|
j0(ke, e.schema, qe), yk(g.getNodeFilters(), g.getAttributeFilters(), Te), n = v.serialize(Te), Z === ce ? d.setHTML(ce, n) : d.setOuterHTML(Z, n);
|
|
6812
6812
|
}
|
|
6813
6813
|
return iV(e, p), lV(e, d.get("mce_marker")), Dk(e.getBody()), g$(d, l.getStart(), e.schema), FA(e.schema, e.getBody(), l.getStart()), n;
|
|
@@ -7429,14 +7429,14 @@ Required: ` + n.join(", "));
|
|
|
7429
7429
|
}, T = (L, R, F) => {
|
|
7430
7430
|
const K = [];
|
|
7431
7431
|
let Z = !0;
|
|
7432
|
-
const X = l.inline || l.block, ce = k(X), Te = (
|
|
7433
|
-
const st = i0(l) && Cs(e.schema,
|
|
7432
|
+
const X = l.inline || l.block, ce = k(X), Te = (be) => a0(l) && Vl(e, be, n, o), Ie = (be, me, ke) => {
|
|
7433
|
+
const st = i0(l) && Cs(e.schema, be) && Lu(e, me, X);
|
|
7434
7434
|
return ke && st;
|
|
7435
|
-
}, qe = (
|
|
7436
|
-
const pt =
|
|
7435
|
+
}, qe = (be, me, ke, st) => {
|
|
7436
|
+
const pt = be.nodeName.toLowerCase(), on = Lu(e, X, pt) && Lu(e, me, X), en = !F && Pe(be) && Aa(be.data), Un = ri(be), Zn = !ms(l) || !L.isBlock(be);
|
|
7437
7437
|
return (ke || st) && on && !en && !Un && Zn;
|
|
7438
7438
|
};
|
|
7439
|
-
Zh(L, R, (
|
|
7439
|
+
Zh(L, R, (be) => {
|
|
7440
7440
|
let me;
|
|
7441
7441
|
const ke = (st) => {
|
|
7442
7442
|
let pt = !1, on = Z, en = !1;
|
|
@@ -7465,13 +7465,13 @@ Required: ` + n.join(", "));
|
|
|
7465
7465
|
}
|
|
7466
7466
|
Ae(ce) && qe(st, Zn, tr, en) ? (me || (me = L.clone(ce, !1), Un.insertBefore(me, st), K.push(me)), en && pt && (Z = on), me.appendChild(st)) : (me = null, ve(js(st.childNodes), ke), pt && (Z = on), me = null);
|
|
7467
7467
|
};
|
|
7468
|
-
ve(
|
|
7469
|
-
}), l.links === !0 && ve(K, (
|
|
7468
|
+
ve(be, ke);
|
|
7469
|
+
}), l.links === !0 && ve(K, (be) => {
|
|
7470
7470
|
const me = (ke) => {
|
|
7471
7471
|
ke.nodeName === "A" && v(ke, l), ve(js(ke.childNodes), me);
|
|
7472
7472
|
};
|
|
7473
|
-
me(
|
|
7474
|
-
}), ve(K, (
|
|
7473
|
+
me(be);
|
|
7474
|
+
}), ve(K, (be) => {
|
|
7475
7475
|
const me = (pt) => {
|
|
7476
7476
|
let on = 0;
|
|
7477
7477
|
return ve(pt.childNodes, (en) => {
|
|
@@ -7480,12 +7480,12 @@ Required: ` + n.join(", "));
|
|
|
7480
7480
|
}, ke = (pt) => Lo(pt.childNodes, cS).filter((en) => L.getContentEditable(en) !== "false" && Cb(L, en, l)).map((en) => {
|
|
7481
7481
|
const Un = L.clone(en, !1);
|
|
7482
7482
|
return v(Un), L.replace(Un, pt, !0), L.remove(en, !0), Un;
|
|
7483
|
-
}).getOr(pt), st = me(
|
|
7484
|
-
if ((K.length > 1 || !L.isBlock(
|
|
7485
|
-
L.remove(
|
|
7483
|
+
}).getOr(pt), st = me(be);
|
|
7484
|
+
if ((K.length > 1 || !L.isBlock(be)) && st === 0) {
|
|
7485
|
+
L.remove(be, !0);
|
|
7486
7486
|
return;
|
|
7487
7487
|
}
|
|
7488
|
-
(ms(l) || Yc(l) && l.wrapper) && (!l.exact && st === 1 && (
|
|
7488
|
+
(ms(l) || Yc(l) && l.wrapper) && (!l.exact && st === 1 && (be = ke(be)), EV(e, i, o, be), TV(e, l, n, o, be), SV(L, l, o, be), _V(L, l, o, be), kV(L, l, o, be), sx(e, l, o, be));
|
|
7489
7489
|
});
|
|
7490
7490
|
}, M = jh(r) ? r : p.getNode();
|
|
7491
7491
|
if (g.getContentEditable(M) === "false" && !Gh(e, M)) {
|
|
@@ -8537,7 +8537,7 @@ Required: ` + n.join(", "));
|
|
|
8537
8537
|
sn.content && sn.content.ownerDocument && (i = sn.content.ownerDocument);
|
|
8538
8538
|
}
|
|
8539
8539
|
let X, ce = "";
|
|
8540
|
-
const { implementation: Te, createNodeIterator: Ie, createDocumentFragment: qe, getElementsByTagName:
|
|
8540
|
+
const { implementation: Te, createNodeIterator: Ie, createDocumentFragment: qe, getElementsByTagName: be } = i, { importNode: me } = o;
|
|
8541
8541
|
let ke = {};
|
|
8542
8542
|
n.isSupported = typeof fs == "function" && typeof Z == "function" && Te && Te.createHTMLDocument !== void 0;
|
|
8543
8543
|
const { MUSTACHE_EXPR: st, ERB_EXPR: pt, TMPLIT_EXPR: on, DATA_ATTR: en, ARIA_ATTR: Un, IS_SCRIPT_OR_DATA: Zn, ATTR_WHITESPACE: zo } = mp;
|
|
@@ -8743,7 +8743,7 @@ Required: ` + n.join(", "));
|
|
|
8743
8743
|
}
|
|
8744
8744
|
}
|
|
8745
8745
|
const Lr = ut.body || ut.documentElement;
|
|
8746
|
-
return fe && Nt && Lr.insertBefore(i.createTextNode(Nt), Lr.childNodes[0] || null), tu === mc ?
|
|
8746
|
+
return fe && Nt && Lr.insertBefore(i.createTextNode(Nt), Lr.childNodes[0] || null), tu === mc ? be.call(ut, Ss ? "html" : "body")[0] : Ss ? ut.documentElement : Lr;
|
|
8747
8747
|
}, na = function(fe) {
|
|
8748
8748
|
return Ie.call(fe.ownerDocument || fe, fe, v.SHOW_ELEMENT | v.SHOW_COMMENT | v.SHOW_TEXT, null, !1);
|
|
8749
8749
|
}, Rs = function(fe) {
|
|
@@ -9274,7 +9274,7 @@ Required: ` + n.join(", "));
|
|
|
9274
9274
|
sanitize: !0,
|
|
9275
9275
|
...e
|
|
9276
9276
|
}, l = new DOMParser(), d = tH(i, n), g = (X, ce, Te = "html") => {
|
|
9277
|
-
const Ie = Te === "xhtml" ? "application/xhtml+xml" : "text/html", qe = Mt(n.getSpecialElements(), ce.toLowerCase()),
|
|
9277
|
+
const Ie = Te === "xhtml" ? "application/xhtml+xml" : "text/html", qe = Mt(n.getSpecialElements(), ce.toLowerCase()), be = qe ? `<${ce}>${X}</${ce}>` : X, me = Te === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${be}</body></html>` : `<body>${be}</body>`, ke = l.parseFromString(me, Ie).body;
|
|
9278
9278
|
return d.sanitizeHtmlElement(ke, Ie), qe ? ke.firstChild : ke;
|
|
9279
9279
|
}, p = o.addFilter, v = o.getFilters, S = o.removeFilter, k = r.addFilter, T = r.getFilters, M = r.removeFilter, L = (X, ce) => {
|
|
9280
9280
|
G0(n, X) && ce.push(X);
|
|
@@ -9283,15 +9283,15 @@ Required: ` + n.join(", "));
|
|
|
9283
9283
|
return ce.type === 3 || Ie && !Te;
|
|
9284
9284
|
}, F = (X, ce) => {
|
|
9285
9285
|
const Te = SP(_P("script,style,head,html,body,title,meta,param"), n.getBlockElements()), Ie = /^[ \t\r\n]+/, qe = /[ \t\r\n]+$/;
|
|
9286
|
-
let
|
|
9286
|
+
let be = X.firstChild, me = null;
|
|
9287
9287
|
const ke = (st) => {
|
|
9288
9288
|
var pt, on;
|
|
9289
|
-
st && (
|
|
9289
|
+
st && (be = st.firstChild, be && be.type === 3 && (be.value = (pt = be.value) === null || pt === void 0 ? void 0 : pt.replace(Ie, "")), be = st.lastChild, be && be.type === 3 && (be.value = (on = be.value) === null || on === void 0 ? void 0 : on.replace(qe, "")));
|
|
9290
9290
|
};
|
|
9291
9291
|
if (n.isValidChild(X.name, ce.toLowerCase())) {
|
|
9292
|
-
for (;
|
|
9293
|
-
const st =
|
|
9294
|
-
R(Te,
|
|
9292
|
+
for (; be; ) {
|
|
9293
|
+
const st = be.next;
|
|
9294
|
+
R(Te, be) ? (me || (me = new Br(ce, 1), me.attr(i.forced_root_block_attrs), X.insert(me, be)), me.append(be)) : (ke(me), me = null), be = st;
|
|
9295
9295
|
}
|
|
9296
9296
|
ke(me);
|
|
9297
9297
|
}
|
|
@@ -9305,10 +9305,10 @@ Required: ` + n.join(", "));
|
|
|
9305
9305
|
removeNodeFilter: S,
|
|
9306
9306
|
parse: (X, ce = {}) => {
|
|
9307
9307
|
var Te;
|
|
9308
|
-
const Ie = i.validate, qe = (Te = ce.context) !== null && Te !== void 0 ? Te : i.root_name,
|
|
9309
|
-
hh(n,
|
|
9308
|
+
const Ie = i.validate, qe = (Te = ce.context) !== null && Te !== void 0 ? Te : i.root_name, be = g(X, qe, ce.format);
|
|
9309
|
+
hh(n, be);
|
|
9310
9310
|
const me = new Br(qe, 11);
|
|
9311
|
-
$b(me,
|
|
9311
|
+
$b(me, be, n.getSpecialElements(), d.sanitizeNamespaceElement), be.innerHTML = "";
|
|
9312
9312
|
const [ke, st] = nH(me, n, i, ce), pt = [], on = Ie ? (zo) => L(zo, pt) : Ce, en = {
|
|
9313
9313
|
nodes: {},
|
|
9314
9314
|
attributes: {}
|
|
@@ -9987,7 +9987,7 @@ Required: ` + n.join(", "));
|
|
|
9987
9987
|
range: ze,
|
|
9988
9988
|
forward: dt
|
|
9989
9989
|
});
|
|
9990
|
-
}, Te = (ze) => (v(e.getOuterHTML(ze)), ze), Ie = () => cN(r.getBody(), X()), qe = (ze, dt) => q5(e, X(), ze, dt),
|
|
9990
|
+
}, Te = (ze) => (v(e.getOuterHTML(ze)), ze), Ie = () => cN(r.getBody(), X()), qe = (ze, dt) => q5(e, X(), ze, dt), be = () => {
|
|
9991
9991
|
const ze = Z(), dt = ze == null ? void 0 : ze.anchorNode, tn = ze == null ? void 0 : ze.focusNode;
|
|
9992
9992
|
if (!ze || !dt || !tn || Bc(dt) || Bc(tn))
|
|
9993
9993
|
return !0;
|
|
@@ -10013,7 +10013,7 @@ Required: ` + n.join(", "));
|
|
|
10013
10013
|
select: L,
|
|
10014
10014
|
isCollapsed: R,
|
|
10015
10015
|
isEditable: F,
|
|
10016
|
-
isForward:
|
|
10016
|
+
isForward: be,
|
|
10017
10017
|
setNode: Te,
|
|
10018
10018
|
getNode: Ie,
|
|
10019
10019
|
getSel: Z,
|
|
@@ -10027,7 +10027,7 @@ Required: ` + n.join(", "));
|
|
|
10027
10027
|
if (!sD(dt) && s0(r)) {
|
|
10028
10028
|
const tn = eb(e, ze);
|
|
10029
10029
|
return tn.each((cn) => {
|
|
10030
|
-
ce(cn,
|
|
10030
|
+
ce(cn, be());
|
|
10031
10031
|
}), tn.getOr(ze);
|
|
10032
10032
|
}
|
|
10033
10033
|
return ze;
|
|
@@ -10636,17 +10636,17 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10636
10636
|
try {
|
|
10637
10637
|
const Te = () => {
|
|
10638
10638
|
X && (X.close(), ce = Ce);
|
|
10639
|
-
}, Ie = (
|
|
10640
|
-
Te(), e.markUploaded(R.blobUri(),
|
|
10641
|
-
}, qe = (
|
|
10642
|
-
Te(), e.removeFailed(R.blobUri()), v(R.blobUri(), p(R,
|
|
10639
|
+
}, Ie = (be) => {
|
|
10640
|
+
Te(), e.markUploaded(R.blobUri(), be), v(R.blobUri(), g(R, be)), Z(g(R, be));
|
|
10641
|
+
}, qe = (be) => {
|
|
10642
|
+
Te(), e.removeFailed(R.blobUri()), v(R.blobUri(), p(R, be)), Z(p(R, be));
|
|
10643
10643
|
};
|
|
10644
|
-
ce = (
|
|
10645
|
-
|
|
10646
|
-
X = me, me.progressBar.value(
|
|
10644
|
+
ce = (be) => {
|
|
10645
|
+
be < 0 || be > 100 || $.from(X).orThunk(() => $.from(K).map(hc)).each((me) => {
|
|
10646
|
+
X = me, me.progressBar.value(be);
|
|
10647
10647
|
});
|
|
10648
|
-
}, F(R, ce).then(Ie, (
|
|
10649
|
-
qe(de(
|
|
10648
|
+
}, F(R, ce).then(Ie, (be) => {
|
|
10649
|
+
qe(de(be) ? { message: be } : be);
|
|
10650
10650
|
});
|
|
10651
10651
|
} catch (Te) {
|
|
10652
10652
|
Z(p(R, Te));
|
|
@@ -10700,7 +10700,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10700
10700
|
return o.upload(ce, $U(e)).then(d((Te) => {
|
|
10701
10701
|
const Ie = [];
|
|
10702
10702
|
let qe = !1;
|
|
10703
|
-
const
|
|
10703
|
+
const be = vt(Te, (me, ke) => {
|
|
10704
10704
|
const { blobInfo: st, image: pt } = X[ke];
|
|
10705
10705
|
let on = !1;
|
|
10706
10706
|
return me.status && DF(e) ? (me.url && !As(pt.src, me.url) && (qe = !0), n.removeByUri(pt.src), Xu(e) || k(pt, me.url)) : me.error && (me.error.remove && (S(pt.src, Ze.transparentSrc), Ie.push(pt), on = !0), vU(e, me.error.message)), {
|
|
@@ -10716,7 +10716,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10716
10716
|
const ke = rr(me);
|
|
10717
10717
|
Pn(me), ke.each(BU(e)), n.removeByUri(me.dom.src);
|
|
10718
10718
|
});
|
|
10719
|
-
}) : qe && e.undoManager.dispatchChange(),
|
|
10719
|
+
}) : qe && e.undoManager.dispatchChange(), be;
|
|
10720
10720
|
}));
|
|
10721
10721
|
}))), M = () => vO(e) ? T() : Promise.resolve([]), L = (X) => Ts(l, (ce) => ce(X)), R = (X) => {
|
|
10722
10722
|
l.push(X);
|
|
@@ -10732,7 +10732,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10732
10732
|
if (Ie)
|
|
10733
10733
|
return 'src="' + Ie + '"';
|
|
10734
10734
|
let qe = n.getByUri(Te);
|
|
10735
|
-
return qe || (qe = or(e.editorManager.get(), (
|
|
10735
|
+
return qe || (qe = or(e.editorManager.get(), (be, me) => be || me.editorUpload && me.editorUpload.blobCache.getByUri(Te), void 0)), qe ? 'src="data:' + qe.blob().type + ";base64," + qe.base64() + '"' : ce;
|
|
10736
10736
|
});
|
|
10737
10737
|
return e.on("SetContent", () => {
|
|
10738
10738
|
vO(e) ? M() : F();
|
|
@@ -13387,7 +13387,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13387
13387
|
}
|
|
13388
13388
|
if (!R && (Ie === e.getBody() || !gT(g, Ie)))
|
|
13389
13389
|
return;
|
|
13390
|
-
const
|
|
13390
|
+
const be = Ie.parentNode;
|
|
13391
13391
|
let me;
|
|
13392
13392
|
if (R)
|
|
13393
13393
|
me = F(k), M.fold(() => {
|
|
@@ -13399,8 +13399,8 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13399
13399
|
me = Sd(Ie), g.isEmpty(Ie) && lT(Ie), Af(e, me), vo(e, me);
|
|
13400
13400
|
else if (K(!1))
|
|
13401
13401
|
me = Z();
|
|
13402
|
-
else if (K(!0) &&
|
|
13403
|
-
me =
|
|
13402
|
+
else if (K(!0) && be) {
|
|
13403
|
+
me = be.insertBefore(F(), Ie);
|
|
13404
13404
|
const ke = tv(V.fromDom(S.startContainer)) && S.collapsed;
|
|
13405
13405
|
vo(e, py(Ie, "HR") || ke ? me : Ie);
|
|
13406
13406
|
} else {
|
|
@@ -14632,69 +14632,69 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
14632
14632
|
let g;
|
|
14633
14633
|
const p = (qe) => Ae(qe) && o.hasClass(qe, "mce-offscreen-selection"), v = (qe) => qe !== r && ($p(qe) || rs(qe)) && o.isChildOf(qe, r) && o.isEditable(qe.parentNode), S = (qe) => {
|
|
14634
14634
|
qe && n.setRng(qe);
|
|
14635
|
-
}, k = (qe,
|
|
14636
|
-
target:
|
|
14635
|
+
}, k = (qe, be, me, ke = !0) => e.dispatch("ShowCaret", {
|
|
14636
|
+
target: be,
|
|
14637
14637
|
direction: qe,
|
|
14638
14638
|
before: me
|
|
14639
|
-
}).isDefaultPrevented() ? null : (ke && n.scrollIntoView(
|
|
14639
|
+
}).isDefaultPrevented() ? null : (ke && n.scrollIntoView(be, qe === -1), i.show(me, be)), T = (qe) => {
|
|
14640
14640
|
qe.hasAttribute("data-mce-caret") && (Sd(qe), n.scrollIntoView(qe));
|
|
14641
14641
|
}, M = () => {
|
|
14642
|
-
e.on("click", (
|
|
14643
|
-
o.isEditable(
|
|
14644
|
-
}), e.on("blur NewBlock", ce), e.on("ResizeWindow FullscreenStateChanged", i.reposition), e.on("tap", (
|
|
14645
|
-
const me =
|
|
14646
|
-
$p(ke) ? (
|
|
14647
|
-
}, !0), e.on("mousedown", (
|
|
14648
|
-
const me =
|
|
14649
|
-
if (me !== r && me.nodeName !== "HTML" && !o.isChildOf(me, r) || !hU(e,
|
|
14642
|
+
e.on("click", (be) => {
|
|
14643
|
+
o.isEditable(be.target) || (be.preventDefault(), e.focus());
|
|
14644
|
+
}), e.on("blur NewBlock", ce), e.on("ResizeWindow FullscreenStateChanged", i.reposition), e.on("tap", (be) => {
|
|
14645
|
+
const me = be.target, ke = s2(e, me);
|
|
14646
|
+
$p(ke) ? (be.preventDefault(), bp(e, ke).each(X)) : v(me) && bp(e, me).each(X);
|
|
14647
|
+
}, !0), e.on("mousedown", (be) => {
|
|
14648
|
+
const me = be.target;
|
|
14649
|
+
if (me !== r && me.nodeName !== "HTML" && !o.isChildOf(me, r) || !hU(e, be.clientX, be.clientY))
|
|
14650
14650
|
return;
|
|
14651
14651
|
ce(), Ie();
|
|
14652
14652
|
const ke = s2(e, me);
|
|
14653
|
-
$p(ke) ? (
|
|
14654
|
-
|
|
14653
|
+
$p(ke) ? (be.preventDefault(), bp(e, ke).each(X)) : VT(r, be.clientX, be.clientY).each((st) => {
|
|
14654
|
+
be.preventDefault();
|
|
14655
14655
|
const pt = k(1, st.node, st.position === $f.Before, !1);
|
|
14656
14656
|
S(pt), vu(ke) ? ke.focus() : e.getBody().focus();
|
|
14657
14657
|
});
|
|
14658
|
-
}), e.on("keypress", (
|
|
14659
|
-
ot.modifierPressed(
|
|
14660
|
-
}), e.on("GetSelectionRange", (
|
|
14661
|
-
let me =
|
|
14658
|
+
}), e.on("keypress", (be) => {
|
|
14659
|
+
ot.modifierPressed(be) || $p(n.getNode()) && be.preventDefault();
|
|
14660
|
+
}), e.on("GetSelectionRange", (be) => {
|
|
14661
|
+
let me = be.range;
|
|
14662
14662
|
if (g) {
|
|
14663
14663
|
if (!g.parentNode) {
|
|
14664
14664
|
g = null;
|
|
14665
14665
|
return;
|
|
14666
14666
|
}
|
|
14667
|
-
me = me.cloneRange(), me.selectNode(g),
|
|
14667
|
+
me = me.cloneRange(), me.selectNode(g), be.range = me;
|
|
14668
14668
|
}
|
|
14669
|
-
}), e.on("SetSelectionRange", (
|
|
14670
|
-
|
|
14671
|
-
const me = X(
|
|
14672
|
-
me && (
|
|
14673
|
-
});
|
|
14674
|
-
const qe = (
|
|
14675
|
-
e.on("AfterSetSelectionRange", (
|
|
14676
|
-
const me =
|
|
14669
|
+
}), e.on("SetSelectionRange", (be) => {
|
|
14670
|
+
be.range = F(be.range);
|
|
14671
|
+
const me = X(be.range, be.forward);
|
|
14672
|
+
me && (be.range = me);
|
|
14673
|
+
});
|
|
14674
|
+
const qe = (be) => lt(be) && be.id === "mcepastebin";
|
|
14675
|
+
e.on("AfterSetSelectionRange", (be) => {
|
|
14676
|
+
const me = be.range, ke = me.startContainer.parentElement;
|
|
14677
14677
|
!R(me) && !qe(ke) && Ie(), p(ke) || ce();
|
|
14678
14678
|
}), K7(e), o2(e), Y7(e);
|
|
14679
14679
|
}, L = (qe) => Dr(qe) || Hm(qe) || dh(qe), R = (qe) => L(qe.startContainer) || L(qe.endContainer), F = (qe) => {
|
|
14680
|
-
const
|
|
14681
|
-
return Mt(
|
|
14682
|
-
}, K = (qe,
|
|
14680
|
+
const be = e.schema.getVoidElements(), me = o.createRng(), ke = qe.startContainer, st = qe.startOffset, pt = qe.endContainer, on = qe.endOffset;
|
|
14681
|
+
return Mt(be, ke.nodeName.toLowerCase()) ? st === 0 ? me.setStartBefore(ke) : me.setStartAfter(ke) : me.setStart(ke, st), Mt(be, pt.nodeName.toLowerCase()) ? on === 0 ? me.setEndBefore(pt) : me.setEndAfter(pt) : me.setEnd(pt, on), me;
|
|
14682
|
+
}, K = (qe, be) => {
|
|
14683
14683
|
const me = V.fromDom(e.getBody()), ke = e.getDoc(), st = wd(me, "#" + l).getOrThunk(() => {
|
|
14684
14684
|
const en = V.fromHtml('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>', ke);
|
|
14685
14685
|
return ns(en, "id", l), ss(me, en), en;
|
|
14686
14686
|
}), pt = o.createRng();
|
|
14687
14687
|
Cl(st), Kn(st, [
|
|
14688
14688
|
V.fromText(Nn, ke),
|
|
14689
|
-
V.fromDom(
|
|
14689
|
+
V.fromDom(be),
|
|
14690
14690
|
V.fromText(Nn, ke)
|
|
14691
14691
|
]), pt.setStart(st.dom.firstChild, 1), pt.setEnd(st.dom.lastChild, 0), Cd(st, { top: o.getPos(qe, e.getBody()).y + "px" }), zD(st);
|
|
14692
14692
|
const on = n.getSel();
|
|
14693
14693
|
return on && (on.removeAllRanges(), on.addRange(pt)), pt;
|
|
14694
14694
|
}, Z = (qe) => {
|
|
14695
|
-
const
|
|
14695
|
+
const be = qe.cloneNode(!0), me = e.dispatch("ObjectSelected", {
|
|
14696
14696
|
target: qe,
|
|
14697
|
-
targetClone:
|
|
14697
|
+
targetClone: be
|
|
14698
14698
|
});
|
|
14699
14699
|
if (me.isDefaultPrevented())
|
|
14700
14700
|
return null;
|
|
@@ -14702,24 +14702,24 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
14702
14702
|
return ve(yr(V.fromDom(e.getBody()), `*[${d}]`), (pt) => {
|
|
14703
14703
|
Dn(st, pt) || ys(pt, d);
|
|
14704
14704
|
}), o.getAttrib(qe, d) || qe.setAttribute(d, "1"), g = qe, Ie(), ke;
|
|
14705
|
-
}, X = (qe,
|
|
14705
|
+
}, X = (qe, be) => {
|
|
14706
14706
|
if (!qe)
|
|
14707
14707
|
return null;
|
|
14708
14708
|
if (qe.collapsed) {
|
|
14709
14709
|
if (!R(qe)) {
|
|
14710
|
-
const pt =
|
|
14710
|
+
const pt = be ? 1 : -1, on = Hh(pt, r, qe), en = on.getNode(!be);
|
|
14711
14711
|
if (Ae(en)) {
|
|
14712
14712
|
if (Mh(en))
|
|
14713
|
-
return k(pt, en,
|
|
14713
|
+
return k(pt, en, be ? !on.isAtEnd() : !1, !1);
|
|
14714
14714
|
if (Ja(en) && An(en.nextSibling)) {
|
|
14715
14715
|
const Zn = o.createRng();
|
|
14716
14716
|
return Zn.setStart(en, 0), Zn.setEnd(en, 0), Zn;
|
|
14717
14717
|
}
|
|
14718
14718
|
}
|
|
14719
|
-
const Un = on.getNode(
|
|
14719
|
+
const Un = on.getNode(be);
|
|
14720
14720
|
if (Ae(Un)) {
|
|
14721
14721
|
if (Mh(Un))
|
|
14722
|
-
return k(pt, Un,
|
|
14722
|
+
return k(pt, Un, be ? !1 : !on.isAtEnd(), !1);
|
|
14723
14723
|
if (Ja(Un) && An(Un.previousSibling)) {
|
|
14724
14724
|
const Zn = o.createRng();
|
|
14725
14725
|
return Zn.setStart(Un, 1), Zn.setEnd(Un, 1), Zn;
|
|
@@ -15166,7 +15166,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15166
15166
|
T("StyleWithCSS", !1), T("enableInlineTableEditing", !1), SO(e) || T("enableObjectResizing", !1);
|
|
15167
15167
|
};
|
|
15168
15168
|
OO(e) || e.on("BeforeExecCommand mousedown", it);
|
|
15169
|
-
},
|
|
15169
|
+
}, be = () => {
|
|
15170
15170
|
const it = () => {
|
|
15171
15171
|
n(i.select("a:not([data-mce-block])"), (Lt) => {
|
|
15172
15172
|
var Le;
|
|
@@ -15247,7 +15247,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15247
15247
|
de(Le) && /^<img[^>]*>$/.test(Le) && e.dispatch("dragend", new window.DragEvent("dragend", it));
|
|
15248
15248
|
});
|
|
15249
15249
|
}, cn = () => {
|
|
15250
|
-
Ie(), L(), Ze.windowsPhone || st(), v && (F(), X(), me(), zo(), Te(), tr(), S ? (on(), en(), Zn()) : R()), p && (K(), Z(), ce(), qe(),
|
|
15250
|
+
Ie(), L(), Ze.windowsPhone || st(), v && (F(), X(), me(), zo(), Te(), tr(), S ? (on(), en(), Zn()) : R()), p && (K(), Z(), ce(), qe(), be(), pt(), Un(), Te(), tn());
|
|
15251
15251
|
};
|
|
15252
15252
|
return Xu(e) ? dt() : cn(), {
|
|
15253
15253
|
refreshContentEditable: Fn,
|
|
@@ -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
|
+
}, he = (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 = he("string"), Oe = he("object"), mt = (t) => _e(t, Object), Rt = he("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"), It = (t, s) => {
|
|
17220
17220
|
if (Rt(t)) {
|
|
17221
17221
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
17222
17222
|
if (!s(t[a]))
|
|
@@ -36884,7 +36884,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
36884
36884
|
Vs("onCancel", de),
|
|
36885
36885
|
Vs("onClose", de),
|
|
36886
36886
|
Vs("onMessage", de)
|
|
36887
|
-
]), Ie = (t) => Io("dialog", Te, t), qe = (t) => Oe(t) ? [t].concat(ve(ad(t), qe)) : Rt(t) ? ve(t, qe) : [],
|
|
36887
|
+
]), Ie = (t) => Io("dialog", Te, t), qe = (t) => Oe(t) ? [t].concat(ve(ad(t), qe)) : Rt(t) ? ve(t, qe) : [], be = (t) => J(t.type) && J(t.name), me = {
|
|
36888
36888
|
checkbox: tL,
|
|
36889
36889
|
colorinput: Bj,
|
|
36890
36890
|
colorpicker: Mj,
|
|
@@ -36902,7 +36902,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
36902
36902
|
customeditor: Lf,
|
|
36903
36903
|
collection: Pj,
|
|
36904
36904
|
togglemenuitem: nC
|
|
36905
|
-
}, ke = (t) => w.from(me[t.type]), st = (t) => to(qe(t),
|
|
36905
|
+
}, ke = (t) => w.from(me[t.type]), st = (t) => to(qe(t), be), pt = (t) => {
|
|
36906
36906
|
const s = st(t), a = ve(s, (c) => ke(c).fold(() => [], (u) => [qa(c.name, u)]));
|
|
36907
36907
|
return yt(a);
|
|
36908
36908
|
}, on = (t) => {
|
|
@@ -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
|
+
}, he = (y) => (_) => G(_) === y, oe = (y) => (_) => typeof _ === y, U = he("string"), _e = he("object"), J = he("array"), Oe = oe("boolean"), mt = (y) => y == null, Rt = (y) => !mt(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
|
+
}, he = (B) => (W) => G(W) === B, oe = (B) => (W) => typeof W === B, U = (B) => (W) => B === W, _e = he("string"), J = he("object"), Oe = he("array"), mt = U(null), Rt = 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 [he, oe] of ee)
|
|
40302
|
+
G[he] = 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, he, oe, U) {
|
|
40328
40328
|
return G.isOpen ? (se(), ie("div", MK, [
|
|
40329
40329
|
N("div", LK, [
|
|
40330
40330
|
FK,
|
|
@@ -40430,8 +40430,8 @@ const mG = /* @__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"], he = Math.floor(Math.log(O) / Math.log(ee));
|
|
40434
|
+
return parseFloat((O / Math.pow(ee, he)).toFixed(2)) + " " + G[he];
|
|
40435
40435
|
},
|
|
40436
40436
|
onDragOver(O) {
|
|
40437
40437
|
O.preventDefault(), this.isDragging = !0, O.dataTransfer.dropEffect = "copy";
|
|
@@ -40447,7 +40447,7 @@ const mG = /* @__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((he) => this.uploadFile(he));
|
|
40451
40451
|
await Promise.all(G), this.$emit("uploaded");
|
|
40452
40452
|
},
|
|
40453
40453
|
getFirstError(O, ee) {
|
|
@@ -40456,10 +40456,10 @@ const mG = /* @__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 he = new FormData();
|
|
40460
|
+
he.append("file", O), Object.entries(this.file_config).forEach(([oe, U]) => {
|
|
40461
|
+
he.append(oe, U);
|
|
40462
|
+
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media", he, {
|
|
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 mG = /* @__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, he, 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, he, 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), he = La(() => ee.body_class);
|
|
40695
40695
|
return (oe, U) => (se(), ie("div", {
|
|
40696
40696
|
class: jt(["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: jt(["p-6",
|
|
40706
|
+
class: jt(["p-6", he.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, he = ee, oe = Do(null), U = Do([]), _e = Do([]), J = Do(0), Oe = Do(!1), mt = Do(""), Rt = Do("");
|
|
40796
40796
|
fm(() => {
|
|
40797
40797
|
Rt.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 = [], he("update:modelValue", []), he("selected", []), he("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), he("update:modelValue", _e.value), he("selected", U.value), he("selectionChanged", U.value);
|
|
40852
40852
|
}
|
|
40853
40853
|
function Eo(Ce) {
|
|
40854
40854
|
Ce.target.id != G.field_name + "search" + Rt.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), he("update:modelValue", _e.value), he("selected", U.value), he("selectionChanged", U.value);
|
|
40896
40896
|
}
|
|
40897
40897
|
function uo() {
|
|
40898
40898
|
G.show || (mt.value = "", Oe.value = !0, dG(() => {
|
|
@@ -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
|
-
mt.value = "",
|
|
40906
|
+
mt.value = "", he("selected", U.value), Oe.value = !1;
|
|
40907
40907
|
}
|
|
40908
40908
|
return kA(mt, () => {
|
|
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), he("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, he, 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 he = 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(), he.model_value && (oe("update:modelValue", he.model_value), U.value.value = he.model_value), he.model_value_translate, he.translatable && axios.post("/admin/get_field_translations", {
|
|
41181
|
+
model: he.translatable.model,
|
|
41182
|
+
row_id: he.translatable.row_id,
|
|
41183
|
+
field: he.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 he = O, oe = G, U = Do(null), _e = Do(null);
|
|
41315
41315
|
return fm(() => {
|
|
41316
41316
|
tinymce.init({
|
|
41317
|
-
selector: "#" +
|
|
41317
|
+
selector: "#" + he.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 ", he.model_value), U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), he.model_value && (oe("update:modelValue", he.model_value), U.value.value = he.model_value), he.model_value_translate, he.translatable && axios.post("/admin/get_field_translations", {
|
|
41321
|
+
model: he.translatable.model,
|
|
41322
|
+
row_id: he.translatable.row_id,
|
|
41323
|
+
field: he.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 he = 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(), he.model_value && (oe("update:modelValue", he.model_value), U.value.value = he.model_value), he.model_value_translate, he.translatable && axios.post("/admin/get_field_translations", {
|
|
41456
|
+
model: he.translatable.model,
|
|
41457
|
+
row_id: he.translatable.row_id,
|
|
41458
|
+
field: he.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 he = 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 he.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 he = Do(G.value[0].title);
|
|
41634
|
+
return Yq("selectedTitle", he), {
|
|
41635
41635
|
tabs: G,
|
|
41636
|
-
selectedTitle:
|
|
41636
|
+
selectedTitle: he
|
|
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, he, 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(he.tabs, (_e) => (se(), ie("li", {
|
|
41646
41646
|
key: _e.title,
|
|
41647
|
-
onClick: (J) =>
|
|
41647
|
+
onClick: (J) => he.selectedTitle = _e.title,
|
|
41648
41648
|
class: "flex-auto -mb-px text-center"
|
|
41649
41649
|
}, [
|
|
41650
41650
|
N("a", {
|
|
41651
|
-
class: jt([{ "text-slate-600 bg-white dark:bg-meta-4":
|
|
41651
|
+
class: jt([{ "text-slate-600 bg-white dark:bg-meta-4": he.selectedTitle != _e.title, "text-white bg-slate-600 dark:bg-primary": he.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: jt([_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, he, oe, U) {
|
|
41683
|
+
return G.title == he.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", he = 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() * he));
|
|
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
|
+
}, he = (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", he);
|
|
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), he = G.querySelectorAll("li"), oe = Array.from(he).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, he, oe, U) {
|
|
41972
41972
|
return se(), ie("div", null, [
|
|
41973
41973
|
N("div", {
|
|
41974
41974
|
class: jt(["", !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, he = 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
|
+
he("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, he = ee, oe = Do(null), U = La({
|
|
42226
42226
|
get() {
|
|
42227
42227
|
return G.modelValue;
|
|
42228
42228
|
},
|
|
42229
42229
|
set(_e) {
|
|
42230
|
-
|
|
42230
|
+
he("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, he = ee, oe = Do(null), U = Do({}), _e = Do(0), J = Do(!1), Oe = Do(""), mt = Do("");
|
|
42389
42389
|
fm(() => {
|
|
42390
42390
|
mt.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, he("update:modelValue", U.value.id), he("selected", U.value), he("selectionChanged", U.value);
|
|
42463
42463
|
}
|
|
42464
42464
|
function Q() {
|
|
42465
42465
|
G.show || (Oe.value = "", J.value = !0, dG(() => {
|
|
@@ -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 = "", he("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 = ""), he("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) && he("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 he = 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 he.modelValue;
|
|
42644
42644
|
},
|
|
42645
42645
|
set(J) {
|
|
42646
42646
|
oe("update:modelValue", J);
|
|
@@ -42735,9 +42735,9 @@ 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 he = O, oe = G, U = Do(null), _e = async () => {
|
|
42739
42739
|
await dG(), tinymce.init({
|
|
42740
|
-
selector: "#" +
|
|
42740
|
+
selector: "#" + he.field_name,
|
|
42741
42741
|
width: "100%",
|
|
42742
42742
|
height: 300,
|
|
42743
42743
|
setup(Oe) {
|
|
@@ -42745,14 +42745,14 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42745
42745
|
oe("update:modelValue", Oe.getContent());
|
|
42746
42746
|
});
|
|
42747
42747
|
}
|
|
42748
|
-
});
|
|
42748
|
+
}), console.log("tinymce field_name ", "#" + he.field_name);
|
|
42749
42749
|
};
|
|
42750
42750
|
fm(() => {
|
|
42751
|
-
_e(), console.log("tinymce ",
|
|
42751
|
+
_e(), console.log("tinymce ", he.modelValue), U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
|
|
42752
42752
|
});
|
|
42753
42753
|
const J = La({
|
|
42754
42754
|
get() {
|
|
42755
|
-
return
|
|
42755
|
+
return he.modelValue;
|
|
42756
42756
|
},
|
|
42757
42757
|
set(Oe) {
|
|
42758
42758
|
oe("update:modelValue", Oe);
|
|
@@ -42856,8 +42856,8 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42856
42856
|
return 0;
|
|
42857
42857
|
if (this.limit === 0)
|
|
42858
42858
|
return this.lastPage;
|
|
42859
|
-
for (var O = this.currentPage, ee = this.lastPage, G = this.limit,
|
|
42860
|
-
(Oe === 1 || Oe === ee || Oe >=
|
|
42859
|
+
for (var O = this.currentPage, ee = this.lastPage, G = this.limit, he = O - G, oe = O + G + 1, U = [], _e = [], J, Oe = 1; Oe <= ee; Oe++)
|
|
42860
|
+
(Oe === 1 || Oe === ee || Oe >= he && Oe < oe) && U.push(Oe);
|
|
42861
42861
|
return U.forEach(function(mt) {
|
|
42862
42862
|
J && (mt - J === 2 ? _e.push(J + 1) : mt - J !== 1 && _e.push("...")), _e.push(mt), J = mt;
|
|
42863
42863
|
}), _e;
|
|
@@ -42982,7 +42982,7 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42982
42982
|
d: "m1 9 4-4-4-4"
|
|
42983
42983
|
})
|
|
42984
42984
|
], -1);
|
|
42985
|
-
function gQ(O, ee, G,
|
|
42985
|
+
function gQ(O, ee, G, he, oe, U) {
|
|
42986
42986
|
const _e = Ly("RenderlessPagination");
|
|
42987
42987
|
return se(), Fy(_e, {
|
|
42988
42988
|
data: G.data,
|
|
@@ -43091,7 +43091,7 @@ const Jq = /* @__PURE__ */ Es(tQ, [["render", gQ]]), pQ = {
|
|
|
43091
43091
|
filteredData() {
|
|
43092
43092
|
const O = this.search.toLowerCase();
|
|
43093
43093
|
return this.sortData(this.data).filter((G) => Object.values(G).some(
|
|
43094
|
-
(
|
|
43094
|
+
(he) => he.toString().toLowerCase().includes(O)
|
|
43095
43095
|
));
|
|
43096
43096
|
}
|
|
43097
43097
|
},
|
|
@@ -43210,7 +43210,7 @@ const Jq = /* @__PURE__ */ Es(tQ, [["render", gQ]]), pQ = {
|
|
|
43210
43210
|
], -1), RQ = [
|
|
43211
43211
|
BQ
|
|
43212
43212
|
], 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" };
|
|
43213
|
-
function FQ(O, ee, G,
|
|
43213
|
+
function FQ(O, ee, G, he, oe, U) {
|
|
43214
43214
|
const _e = Ly("dropdown"), J = Ly("TailwindPagination");
|
|
43215
43215
|
return se(), ie("div", hQ, [
|
|
43216
43216
|
N("div", bQ, [
|
|
@@ -43342,7 +43342,7 @@ const Tse = /* @__PURE__ */ Es(pQ, [["render", FQ]]), VQ = {
|
|
|
43342
43342
|
filteredData() {
|
|
43343
43343
|
const O = this.search.toLowerCase();
|
|
43344
43344
|
return this.sortData(this.data).filter((G) => Object.values(G).some(
|
|
43345
|
-
(
|
|
43345
|
+
(he) => he.toString().toLowerCase().includes(O)
|
|
43346
43346
|
));
|
|
43347
43347
|
},
|
|
43348
43348
|
groupedItems() {
|
|
@@ -43352,10 +43352,10 @@ const Tse = /* @__PURE__ */ Es(pQ, [["render", FQ]]), VQ = {
|
|
|
43352
43352
|
methods: {
|
|
43353
43353
|
groupBy(O) {
|
|
43354
43354
|
return this.itemLists.data ? this.itemLists.data.reduce((ee, G) => {
|
|
43355
|
-
const
|
|
43356
|
-
ee[
|
|
43355
|
+
const he = G[O];
|
|
43356
|
+
ee[he] || (ee[he] = []);
|
|
43357
43357
|
const oe = { ...G };
|
|
43358
|
-
return delete oe[O], ee[
|
|
43358
|
+
return delete oe[O], ee[he].push(oe), ee;
|
|
43359
43359
|
}, {}) : [];
|
|
43360
43360
|
},
|
|
43361
43361
|
editAction(O) {
|
|
@@ -43469,7 +43469,7 @@ const Tse = /* @__PURE__ */ Es(pQ, [["render", FQ]]), VQ = {
|
|
|
43469
43469
|
], -1), aee = [
|
|
43470
43470
|
ree
|
|
43471
43471
|
], 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" };
|
|
43472
|
-
function mee(O, ee, G,
|
|
43472
|
+
function mee(O, ee, G, he, oe, U) {
|
|
43473
43473
|
const _e = Ly("dropdown"), J = Ly("TailwindPagination");
|
|
43474
43474
|
return se(), ie("div", HQ, [
|
|
43475
43475
|
N("div", UQ, [
|
|
@@ -43597,7 +43597,7 @@ const Ase = /* @__PURE__ */ Es(VQ, [["render", mee]]), fee = {
|
|
|
43597
43597
|
filteredData() {
|
|
43598
43598
|
const O = this.search.toLowerCase();
|
|
43599
43599
|
return this.sortData(this.data).filter((G) => Object.values(G).some(
|
|
43600
|
-
(
|
|
43600
|
+
(he) => he != null && he.toString().toLowerCase().includes(O)
|
|
43601
43601
|
));
|
|
43602
43602
|
},
|
|
43603
43603
|
totalPages() {
|
|
@@ -43614,7 +43614,7 @@ const Ase = /* @__PURE__ */ Es(VQ, [["render", mee]]), fee = {
|
|
|
43614
43614
|
), ee = O + this.maxDisplayedPages - 1;
|
|
43615
43615
|
return ee > this.totalPages && (ee = this.totalPages, O = Math.max(ee - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
43616
43616
|
{ length: ee - O + 1 },
|
|
43617
|
-
(G,
|
|
43617
|
+
(G, he) => O + he
|
|
43618
43618
|
);
|
|
43619
43619
|
},
|
|
43620
43620
|
firstItemIndex() {
|
|
@@ -43718,7 +43718,7 @@ const Ase = /* @__PURE__ */ Es(VQ, [["render", mee]]), fee = {
|
|
|
43718
43718
|
Xee,
|
|
43719
43719
|
Zee
|
|
43720
43720
|
];
|
|
43721
|
-
function Qee(O, ee, G,
|
|
43721
|
+
function Qee(O, ee, G, he, oe, U) {
|
|
43722
43722
|
const _e = Ly("dropdown");
|
|
43723
43723
|
return se(), ie("div", gee, [
|
|
43724
43724
|
N("div", pee, [
|
|
@@ -43880,7 +43880,7 @@ const Ose = /* @__PURE__ */ Es(fee, [["render", Qee]]), ete = {
|
|
|
43880
43880
|
}), {};
|
|
43881
43881
|
}
|
|
43882
43882
|
};
|
|
43883
|
-
function tte(O, ee, G,
|
|
43883
|
+
function tte(O, ee, G, he, oe, U) {
|
|
43884
43884
|
return se(), ie("div", null, [
|
|
43885
43885
|
ul(O.$slots, "default")
|
|
43886
43886
|
]);
|
|
@@ -43893,7 +43893,7 @@ const Dse = /* @__PURE__ */ Es(ete, [["render", tte]]), nte = {
|
|
|
43893
43893
|
}
|
|
43894
43894
|
},
|
|
43895
43895
|
setup() {
|
|
43896
|
-
const O = Do(!1), ee = Xq("accordionsWrapper"),
|
|
43896
|
+
const O = Do(!1), ee = Xq("accordionsWrapper"), he = (() => {
|
|
43897
43897
|
var mt = (/* @__PURE__ */ new Date()).getTime();
|
|
43898
43898
|
typeof performance < "u" && typeof performance.now == "function" && (mt += performance.now());
|
|
43899
43899
|
var Rt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(xn) {
|
|
@@ -43901,7 +43901,7 @@ const Dse = /* @__PURE__ */ Es(ete, [["render", tte]]), nte = {
|
|
|
43901
43901
|
return mt = Math.floor(mt / 16), (xn === "x" ? eo : eo & 3 | 8).toString(16);
|
|
43902
43902
|
});
|
|
43903
43903
|
return Rt;
|
|
43904
|
-
})(), oe = { isOpen: O, id:
|
|
43904
|
+
})(), oe = { isOpen: O, id: he }, U = La(() => ee.accordions.value), _e = La(() => U.value.length > 0 && U.value[0].id === he), J = La(() => U.value.length > 0 && U.value[U.value.length - 1].id === he);
|
|
43905
43905
|
return fm(() => {
|
|
43906
43906
|
ee.registerAccordion(oe);
|
|
43907
43907
|
}), DK(() => {
|
|
@@ -43941,29 +43941,29 @@ const Dse = /* @__PURE__ */ Es(ete, [["render", tte]]), nte = {
|
|
|
43941
43941
|
}, null, -1), lte = [
|
|
43942
43942
|
cte
|
|
43943
43943
|
];
|
|
43944
|
-
function ute(O, ee, G,
|
|
43944
|
+
function ute(O, ee, G, he, oe, U) {
|
|
43945
43945
|
return se(), ie("div", null, [
|
|
43946
43946
|
N("h2", null, [
|
|
43947
43947
|
N("button", {
|
|
43948
|
-
onClick: ee[0] || (ee[0] = (..._e) =>
|
|
43948
|
+
onClick: ee[0] || (ee[0] = (..._e) => he.toggle && he.toggle(..._e)),
|
|
43949
43949
|
type: "button",
|
|
43950
43950
|
class: jt(["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", {
|
|
43951
|
-
"rounded-t-xl":
|
|
43952
|
-
"border-b-0": !
|
|
43953
|
-
"bg-gray-100 dark:bg-gray-800":
|
|
43951
|
+
"rounded-t-xl": he.isFirstAccordion,
|
|
43952
|
+
"border-b-0": !he.isLastAccordion,
|
|
43953
|
+
"bg-gray-100 dark:bg-gray-800": he.isOpen
|
|
43954
43954
|
}]),
|
|
43955
43955
|
"aria-expanded": "true"
|
|
43956
43956
|
}, [
|
|
43957
43957
|
N("span", ote, nt(G.title), 1),
|
|
43958
|
-
|
|
43959
|
-
|
|
43958
|
+
he.isOpen ? Je("", !0) : (se(), ie("svg", ste, ate)),
|
|
43959
|
+
he.isOpen ? (se(), ie("svg", ite, lte)) : Je("", !0)
|
|
43960
43960
|
], 2)
|
|
43961
43961
|
]),
|
|
43962
|
-
|
|
43962
|
+
he.isOpen ? (se(), ie("div", {
|
|
43963
43963
|
key: 0,
|
|
43964
43964
|
class: jt([{
|
|
43965
|
-
"border-b-0": !
|
|
43966
|
-
"border-t-0":
|
|
43965
|
+
"border-b-0": !he.isLastAccordion,
|
|
43966
|
+
"border-t-0": he.isLastAccordion
|
|
43967
43967
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
43968
43968
|
}, [
|
|
43969
43969
|
ul(O.$slots, "default")
|
|
@@ -44047,16 +44047,16 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44047
44047
|
setup(O, { emit: ee }) {
|
|
44048
44048
|
const G = O;
|
|
44049
44049
|
fm(() => {
|
|
44050
|
-
setTimeout(() =>
|
|
44050
|
+
setTimeout(() => he("remove"), G.duration);
|
|
44051
44051
|
});
|
|
44052
|
-
const
|
|
44052
|
+
const he = ee;
|
|
44053
44053
|
return (oe, U) => (se(), ie("div", dte, [
|
|
44054
44054
|
G.type === "success" ? (se(), ie("div", mte, pte)) : Je("", !0),
|
|
44055
44055
|
G.type === "error" ? (se(), ie("div", hte, vte)) : Je("", !0),
|
|
44056
44056
|
G.type === "warning" ? (se(), ie("div", xte, _te)) : Je("", !0),
|
|
44057
44057
|
N("div", Ste, nt(G.message), 1),
|
|
44058
44058
|
N("button", {
|
|
44059
|
-
onClick: U[0] || (U[0] = (_e) =>
|
|
44059
|
+
onClick: U[0] || (U[0] = (_e) => he("remove")),
|
|
44060
44060
|
type: "button",
|
|
44061
44061
|
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",
|
|
44062
44062
|
"data-dismiss-target": "#toast-default",
|
|
@@ -44087,7 +44087,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44087
44087
|
function ee(G) {
|
|
44088
44088
|
vL.methods.remove(G);
|
|
44089
44089
|
}
|
|
44090
|
-
return (G,
|
|
44090
|
+
return (G, he) => (se(), Fy($K, {
|
|
44091
44091
|
tag: "div",
|
|
44092
44092
|
"enter-from-class": "translate-x-full opacity-0",
|
|
44093
44093
|
"enter-active-class": "duration-500",
|
|
@@ -44149,10 +44149,10 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44149
44149
|
},
|
|
44150
44150
|
emits: ["deleteAction"],
|
|
44151
44151
|
setup(O, { emit: ee }) {
|
|
44152
|
-
const G = O,
|
|
44153
|
-
|
|
44152
|
+
const G = O, he = Do(!1), oe = Do(!1), U = () => {
|
|
44153
|
+
he.value = !1;
|
|
44154
44154
|
}, _e = () => {
|
|
44155
|
-
|
|
44155
|
+
he.value = !0;
|
|
44156
44156
|
}, J = () => {
|
|
44157
44157
|
oe.value = !1;
|
|
44158
44158
|
}, Oe = () => {
|
|
@@ -44205,7 +44205,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44205
44205
|
])) : Je("", !0)
|
|
44206
44206
|
])
|
|
44207
44207
|
], 512), [
|
|
44208
|
-
[bC,
|
|
44208
|
+
[bC, he.value]
|
|
44209
44209
|
])
|
|
44210
44210
|
])), [
|
|
44211
44211
|
[jo, U]
|
|
@@ -44255,10 +44255,10 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44255
44255
|
},
|
|
44256
44256
|
emits: ["deleteAction"],
|
|
44257
44257
|
setup(O, { emit: ee }) {
|
|
44258
|
-
const G = O,
|
|
44259
|
-
|
|
44258
|
+
const G = O, he = Do(!1), oe = Do(!1), U = () => {
|
|
44259
|
+
he.value = !1;
|
|
44260
44260
|
}, _e = () => {
|
|
44261
|
-
|
|
44261
|
+
he.value = !0;
|
|
44262
44262
|
}, J = () => {
|
|
44263
44263
|
oe.value = !1;
|
|
44264
44264
|
}, Oe = () => {
|
|
@@ -44302,7 +44302,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44302
44302
|
])) : Je("", !0)
|
|
44303
44303
|
])
|
|
44304
44304
|
], 512), [
|
|
44305
|
-
[bC,
|
|
44305
|
+
[bC, he.value]
|
|
44306
44306
|
])
|
|
44307
44307
|
])), [
|
|
44308
44308
|
[jo, U]
|
|
@@ -44363,7 +44363,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44363
44363
|
"clip-rule": "evenodd"
|
|
44364
44364
|
})
|
|
44365
44365
|
], -1);
|
|
44366
|
-
function Qte(O, ee, G,
|
|
44366
|
+
function Qte(O, ee, G, he, oe, U) {
|
|
44367
44367
|
return se(), ie("div", null, [
|
|
44368
44368
|
U.isArray ? (se(!0), ie(Ln, { key: 0 }, ps(G.row, (_e, J) => (se(), ie("div", {
|
|
44369
44369
|
key: J,
|
|
@@ -44439,7 +44439,7 @@ const Rse = /* @__PURE__ */ Es(qte, [["render", Qte]]), ene = {
|
|
|
44439
44439
|
"clip-rule": "evenodd"
|
|
44440
44440
|
})
|
|
44441
44441
|
], -1);
|
|
44442
|
-
function ane(O, ee, G,
|
|
44442
|
+
function ane(O, ee, G, he, oe, U) {
|
|
44443
44443
|
return se(), ie("div", null, [
|
|
44444
44444
|
U.isArray ? (se(!0), ie(Ln, { key: 0 }, ps(G.row[G.field], (_e) => (se(), ie("div", {
|
|
44445
44445
|
key: _e.id,
|
|
@@ -44470,7 +44470,7 @@ function ane(O, ee, G, be, oe, U) {
|
|
|
44470
44470
|
const Ise = /* @__PURE__ */ Es(ene, [["render", ane]]), ine = {
|
|
44471
44471
|
props: ["field", "row", "tdProps"]
|
|
44472
44472
|
}, cne = { key: 0 }, lne = ["innerHTML"];
|
|
44473
|
-
function une(O, ee, G,
|
|
44473
|
+
function une(O, ee, G, he, oe, U) {
|
|
44474
44474
|
return G.row[G.field] ? (se(), ie("div", cne, [
|
|
44475
44475
|
N("div", {
|
|
44476
44476
|
class: "w-full",
|
|
@@ -44496,7 +44496,7 @@ const Mse = /* @__PURE__ */ Es(ine, [["render", une]]), dne = {
|
|
|
44496
44496
|
key: 1,
|
|
44497
44497
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
44498
44498
|
};
|
|
44499
|
-
function gne(O, ee, G,
|
|
44499
|
+
function gne(O, ee, G, he, oe, U) {
|
|
44500
44500
|
return se(), ie("div", mne, [
|
|
44501
44501
|
U.isArray ? (se(!0), ie(Ln, { key: 0 }, ps(G.row[U.entry.key], (_e, J) => (se(), ie("span", {
|
|
44502
44502
|
key: J,
|
|
@@ -44507,7 +44507,7 @@ function gne(O, ee, G, be, oe, U) {
|
|
|
44507
44507
|
const Lse = /* @__PURE__ */ Es(dne, [["render", gne]]), pne = {
|
|
44508
44508
|
props: ["field", "row", "tdProps"]
|
|
44509
44509
|
}, hne = { key: 0 }, bne = { class: "m-1 d-inline-block" }, yne = ["href", "title"], vne = ["src", "alt", "title"];
|
|
44510
|
-
function xne(O, ee, G,
|
|
44510
|
+
function xne(O, ee, G, he, oe, U) {
|
|
44511
44511
|
return G.row[G.field] ? (se(), ie("div", hne, [
|
|
44512
44512
|
N("div", bne, [
|
|
44513
44513
|
N("a", {
|
|
@@ -44538,7 +44538,7 @@ const Fse = /* @__PURE__ */ Es(pne, [["render", xne], ["__scopeId", "data-v-3a28
|
|
|
44538
44538
|
key: 1,
|
|
44539
44539
|
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"
|
|
44540
44540
|
}, Ene = /* @__PURE__ */ N("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
44541
|
-
function Tne(O, ee, G,
|
|
44541
|
+
function Tne(O, ee, G, he, oe, U) {
|
|
44542
44542
|
return se(), ie("div", Cne, [
|
|
44543
44543
|
U.isActive ? (se(), ie("span", _ne, [
|
|
44544
44544
|
Sne,
|
|
@@ -44578,7 +44578,7 @@ const Vse = /* @__PURE__ */ Es(wne, [["render", Tne]]), Ane = {
|
|
|
44578
44578
|
/* @__PURE__ */ N("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
44579
44579
|
/* @__PURE__ */ N("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
44580
44580
|
], -1);
|
|
44581
|
-
function Vne(O, ee, G,
|
|
44581
|
+
function Vne(O, ee, G, he, oe, U) {
|
|
44582
44582
|
return se(), ie("div", One, [
|
|
44583
44583
|
U.hasLabelColor == "green" ? (se(), ie("span", Dne, [
|
|
44584
44584
|
Nne,
|
|
@@ -44624,7 +44624,7 @@ const Hse = /* @__PURE__ */ Es(Ane, [["render", Vne]]), Hne = {
|
|
|
44624
44624
|
}
|
|
44625
44625
|
}
|
|
44626
44626
|
}, Une = { class: "flex flex-wrap gap-2 text-nowrap justify-center" };
|
|
44627
|
-
function zne(O, ee, G,
|
|
44627
|
+
function zne(O, ee, G, he, oe, U) {
|
|
44628
44628
|
return se(), ie("div", Une, [
|
|
44629
44629
|
U.hasLabelColor == "Default" ? (se(), ie("span", {
|
|
44630
44630
|
key: 0,
|
|
@@ -44695,7 +44695,7 @@ const Use = /* @__PURE__ */ Es(Hne, [["render", zne]]), Wne = {
|
|
|
44695
44695
|
/* @__PURE__ */ N("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
44696
44696
|
/* @__PURE__ */ N("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
44697
44697
|
], -1);
|
|
44698
|
-
function noe(O, ee, G,
|
|
44698
|
+
function noe(O, ee, G, he, oe, U) {
|
|
44699
44699
|
return se(), ie("div", jne, [
|
|
44700
44700
|
U.hasLabelColor == "green" ? (se(), ie("span", Gne, [
|
|
44701
44701
|
qne,
|
|
@@ -44725,17 +44725,17 @@ const zse = /* @__PURE__ */ Es(Wne, [["render", noe]]), ooe = {
|
|
|
44725
44725
|
formattedDate() {
|
|
44726
44726
|
if (!this.row[this.field])
|
|
44727
44727
|
return "";
|
|
44728
|
-
const O = new Date(this.row[this.field]), ee = O.getFullYear(), G = O.toLocaleString("default", { month: "long" }),
|
|
44728
|
+
const O = new Date(this.row[this.field]), ee = O.getFullYear(), G = O.toLocaleString("default", { month: "long" }), he = O.getDate();
|
|
44729
44729
|
let oe = O.getHours();
|
|
44730
44730
|
const U = O.getMinutes(), _e = O.getSeconds(), J = oe >= 12 ? "pm" : "am";
|
|
44731
|
-
return oe = oe % 12, oe = oe || 12, `${G} ${
|
|
44731
|
+
return oe = oe % 12, oe = oe || 12, `${G} ${he}, ${ee}, ${oe}:${U}:${_e} ${J}`;
|
|
44732
44732
|
},
|
|
44733
44733
|
isActive() {
|
|
44734
44734
|
return this.row[this.field] === 1;
|
|
44735
44735
|
}
|
|
44736
44736
|
}
|
|
44737
44737
|
}, soe = { class: "w-full" };
|
|
44738
|
-
function roe(O, ee, G,
|
|
44738
|
+
function roe(O, ee, G, he, oe, U) {
|
|
44739
44739
|
return se(), ie("div", soe, nt(U.formattedDate), 1);
|
|
44740
44740
|
}
|
|
44741
44741
|
const Wse = /* @__PURE__ */ Es(ooe, [["render", roe]]), aoe = {
|
|
@@ -44753,7 +44753,7 @@ const Wse = /* @__PURE__ */ Es(ooe, [["render", roe]]), aoe = {
|
|
|
44753
44753
|
key: 2,
|
|
44754
44754
|
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"
|
|
44755
44755
|
}, foe = /* @__PURE__ */ N("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
44756
|
-
function goe(O, ee, G,
|
|
44756
|
+
function goe(O, ee, G, he, oe, U) {
|
|
44757
44757
|
return se(), ie("div", ioe, [
|
|
44758
44758
|
G.row[G.field] === 0 ? (se(), ie("span", coe, [
|
|
44759
44759
|
loe,
|
|
@@ -44775,7 +44775,7 @@ const jse = /* @__PURE__ */ Es(aoe, [["render", goe]]), poe = {
|
|
|
44775
44775
|
key: 0,
|
|
44776
44776
|
class: "text-nowrap"
|
|
44777
44777
|
}, 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" };
|
|
44778
|
-
function yoe(O, ee, G,
|
|
44778
|
+
function yoe(O, ee, G, he, oe, U) {
|
|
44779
44779
|
return G.row[G.field] ? (se(), ie("div", hoe, [
|
|
44780
44780
|
N("pre", boe, " " + nt(G.row[G.field]) + `
|
|
44781
44781
|
`, 1)
|
|
@@ -44803,7 +44803,7 @@ const Gse = /* @__PURE__ */ Es(poe, [["render", yoe]]), voe = {
|
|
|
44803
44803
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
44804
44804
|
"aria-hidden": "true"
|
|
44805
44805
|
}, "", -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" };
|
|
44806
|
-
function Noe(O, ee, G,
|
|
44806
|
+
function Noe(O, ee, G, he, oe, U) {
|
|
44807
44807
|
return G.isOpen ? (se(), ie("div", xoe, [
|
|
44808
44808
|
N("div", woe, [
|
|
44809
44809
|
Coe,
|
|
@@ -44886,7 +44886,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44886
44886
|
}
|
|
44887
44887
|
},
|
|
44888
44888
|
setup(O) {
|
|
44889
|
-
const ee = O, G = Do(!1),
|
|
44889
|
+
const ee = O, G = Do(!1), he = (U) => {
|
|
44890
44890
|
navigator.clipboard.writeText(U).then(function() {
|
|
44891
44891
|
G.value = !0, setTimeout(() => {
|
|
44892
44892
|
G.value = !1;
|
|
@@ -44905,7 +44905,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44905
44905
|
]),
|
|
44906
44906
|
N("div", Loe, [
|
|
44907
44907
|
N("button", {
|
|
44908
|
-
onClick: _e[0] || (_e[0] = (J) =>
|
|
44908
|
+
onClick: _e[0] || (_e[0] = (J) => he(oe.value)),
|
|
44909
44909
|
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"
|
|
44910
44910
|
}, [
|
|
44911
44911
|
G.value ? Je("", !0) : (se(), ie("span", Foe, Uoe)),
|
|
@@ -44966,7 +44966,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44966
44966
|
}
|
|
44967
44967
|
},
|
|
44968
44968
|
setup(O) {
|
|
44969
|
-
const ee = O, G = Do(!1),
|
|
44969
|
+
const ee = O, G = Do(!1), he = (U) => {
|
|
44970
44970
|
navigator.clipboard.writeText(U).then(function() {
|
|
44971
44971
|
G.value = !0, setTimeout(() => {
|
|
44972
44972
|
G.value = !1;
|
|
@@ -44993,7 +44993,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44993
44993
|
]),
|
|
44994
44994
|
N("button", {
|
|
44995
44995
|
style: { padding: ".61rem" },
|
|
44996
|
-
onClick: _e[0] || (_e[0] = (J) =>
|
|
44996
|
+
onClick: _e[0] || (_e[0] = (J) => he(oe.value)),
|
|
44997
44997
|
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",
|
|
44998
44998
|
type: "button"
|
|
44999
44999
|
}, [
|