golden-logic-ui 1.0.347 → 1.0.349
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 +313 -311
- package/dist/golden-logic-ui.umd.cjs +13 -13
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as be, createElementBlock as we, createElementVNode as P, createCommentVNode as ft, createStaticVNode as Dq, reactive as Oq, resolveComponent as y1, Fragment as
|
|
1
|
+
import { openBlock as be, createElementBlock as we, createElementVNode as P, createCommentVNode as ft, createStaticVNode as Dq, reactive as Oq, resolveComponent as y1, Fragment as ro, createVNode as ub, normalizeClass as an, toDisplayString as gt, withModifiers as oc, withDirectives as Qa, vModelText as vm, renderList as dr, normalizeStyle as Dj, computed as vc, renderSlot as vf, ref as Eo, onMounted as Rh, onBeforeUnmount as Oj, watch as Gx, createTextVNode as ko, vShow as n5, nextTick as Rj, createBlock as Oh, resolveDynamicComponent as o5, mergeProps as t5, withCtx as U8, vModelDynamic as JG, useSlots as Rq, provide as QG, inject as eq, pushScopeId as $q, popScopeId as Mq, vModelCheckbox as tq, toHandlers as Ej, onUnmounted as Pq, TransitionGroup as Bq, unref as Nq, resolveDirective as nq, markRaw as Iq } from "vue";
|
|
2
2
|
const qr = (O, ie) => {
|
|
3
3
|
const te = O.__vccOpts || O;
|
|
4
4
|
for (const [ke, ce] of ie)
|
|
@@ -247,7 +247,7 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Aj = Oq({
|
|
|
247
247
|
}, null, -1), vK = { class: "flex flex-col ml-3" }, yK = { class: "text-xs" }, wK = { class: "text-xs" }, xK = { class: "flex gap-2" }, CK = ["href"], SK = ["onClick"];
|
|
248
248
|
function _K(O, ie, te, ke, ce, G) {
|
|
249
249
|
const Ae = y1("DeleteConfirmationModal");
|
|
250
|
-
return be(), we(
|
|
250
|
+
return be(), we(ro, null, [
|
|
251
251
|
ub(Ae, {
|
|
252
252
|
isOpen: ce.open_delete_modal,
|
|
253
253
|
onConfirmDelete: G.deleteAction,
|
|
@@ -297,7 +297,7 @@ function _K(O, ie, te, ke, ce, G) {
|
|
|
297
297
|
P("span", sK, gt(ce.error_message_data), 1),
|
|
298
298
|
P("small", rK, gt(te.description), 1),
|
|
299
299
|
ce.files.length > 0 ? (be(), we("section", aK, [
|
|
300
|
-
(be(!0), we(
|
|
300
|
+
(be(!0), we(ro, null, dr(ce.files, (Q, He) => (be(), we("li", lK, [
|
|
301
301
|
cK,
|
|
302
302
|
P("div", iK, [
|
|
303
303
|
P("div", uK, [
|
|
@@ -314,7 +314,7 @@ function _K(O, ie, te, ke, ce, G) {
|
|
|
314
314
|
]))), 256))
|
|
315
315
|
])) : ft("", !0),
|
|
316
316
|
P("section", gK, [
|
|
317
|
-
(be(!0), we(
|
|
317
|
+
(be(!0), we(ro, null, dr(G.uploadFileListFinal, (Q, He) => (be(), we("li", hK, [
|
|
318
318
|
P("div", pK, [
|
|
319
319
|
bK,
|
|
320
320
|
P("div", vK, [
|
|
@@ -379,7 +379,7 @@ const Bae = /* @__PURE__ */ qr(qq, [["render", _K]]), kK = {
|
|
|
379
379
|
}, TK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, EK = ["name", "value", "id", "checked"], AK = ["for"];
|
|
380
380
|
function DK(O, ie, te, ke, ce, G) {
|
|
381
381
|
return be(), we("ul", TK, [
|
|
382
|
-
(be(!0), we(
|
|
382
|
+
(be(!0), we(ro, null, dr(ce.locals, (Ae, Q) => (be(), we("li", null, [
|
|
383
383
|
P("input", {
|
|
384
384
|
type: "radio",
|
|
385
385
|
name: te.trans_selector_name,
|
|
@@ -514,10 +514,10 @@ const Nae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
514
514
|
},
|
|
515
515
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
516
516
|
setup(O, { emit: ie }) {
|
|
517
|
-
const te = O, ke = ie, ce = Eo(null), G = Eo([]), Ae = Eo([]), Q = Eo(0), He = Eo(!1), ht = Eo(""), lt = Eo(""),
|
|
518
|
-
if (
|
|
519
|
-
|
|
520
|
-
var st =
|
|
517
|
+
const te = O, ke = ie, ce = Eo(null), G = Eo([]), Ae = Eo([]), Q = Eo(0), He = Eo(!1), ht = Eo(""), lt = Eo(""), wn = Eo(null), xn = Eo(0), Bo = Eo(0), us = () => {
|
|
518
|
+
if (wn.value) {
|
|
519
|
+
xn.value = wn.value.offsetWidth;
|
|
520
|
+
var st = wn.value.getBoundingClientRect();
|
|
521
521
|
Bo.value = st.top + 41 + (te.label_name ? 22 : 0);
|
|
522
522
|
}
|
|
523
523
|
}, Oo = (st) => {
|
|
@@ -643,14 +643,14 @@ const Nae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
643
643
|
dn.value.length === 0 && (G.value = []);
|
|
644
644
|
}), Gx(G, (st) => {
|
|
645
645
|
Qr(G.value) && (Ae.value = G.value.map((Me) => Me.id), ke("update:modelValue", Ae.value));
|
|
646
|
-
}), (st, Me) => (be(), we(
|
|
646
|
+
}), (st, Me) => (be(), we(ro, null, [
|
|
647
647
|
O.show ? (be(), we("div", {
|
|
648
648
|
key: 0,
|
|
649
649
|
class: an(O.field_name)
|
|
650
650
|
}, [
|
|
651
651
|
P("h3", MK, gt(O.label_name), 1),
|
|
652
652
|
P("p", PK, [
|
|
653
|
-
(be(!0), we(
|
|
653
|
+
(be(!0), we(ro, null, dr(pr.value, (nn, zo) => (be(), we("span", BK, gt(nn == null ? void 0 : nn.name), 1))), 256))
|
|
654
654
|
]),
|
|
655
655
|
NK
|
|
656
656
|
], 2)) : ft("", !0),
|
|
@@ -658,7 +658,7 @@ const Nae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
658
658
|
key: 1,
|
|
659
659
|
class: an(O.field_name)
|
|
660
660
|
}, [
|
|
661
|
-
(be(!0), we(
|
|
661
|
+
(be(!0), we(ro, null, dr(Ae.value, (nn, zo) => (be(), we("input", {
|
|
662
662
|
type: "hidden",
|
|
663
663
|
name: O.field_name + "[]",
|
|
664
664
|
key: zo,
|
|
@@ -689,7 +689,7 @@ const Nae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
689
689
|
]),
|
|
690
690
|
P("div", {
|
|
691
691
|
ref_key: "myDivDropDown",
|
|
692
|
-
ref:
|
|
692
|
+
ref: wn,
|
|
693
693
|
class: "relative border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500"
|
|
694
694
|
}, [
|
|
695
695
|
P("div", FK, [
|
|
@@ -697,7 +697,7 @@ const Nae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
697
697
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
698
698
|
onClick: Me[0] || (Me[0] = (nn) => rt())
|
|
699
699
|
}, [
|
|
700
|
-
(be(!0), we(
|
|
700
|
+
(be(!0), we(ro, null, dr(pr.value, (nn, zo) => (be(), we("span", {
|
|
701
701
|
key: zo,
|
|
702
702
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"
|
|
703
703
|
}, [
|
|
@@ -715,7 +715,7 @@ const Nae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
715
715
|
}, null, 2),
|
|
716
716
|
Qa(P("div", {
|
|
717
717
|
class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l fixed w-full z-[999999999] showOptions rounded-b-lg",
|
|
718
|
-
style: Dj({ maxWidth:
|
|
718
|
+
style: Dj({ maxWidth: xn.value + "px" })
|
|
719
719
|
}, [
|
|
720
720
|
P("div", VK, [
|
|
721
721
|
zK,
|
|
@@ -737,7 +737,7 @@ const Nae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
737
737
|
])
|
|
738
738
|
]),
|
|
739
739
|
P("div", jK, [
|
|
740
|
-
(be(!0), we(
|
|
740
|
+
(be(!0), we(ro, null, dr(dn.value, (nn, zo) => (be(), we("div", {
|
|
741
741
|
class: an([
|
|
742
742
|
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
743
743
|
zo + 1 == Q.value || se(nn.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
@@ -924,7 +924,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
924
924
|
}).catch((He) => {
|
|
925
925
|
console.log(He);
|
|
926
926
|
});
|
|
927
|
-
}), ie({ focus: () => G.value.focus() }), (He, ht) => (be(), we(
|
|
927
|
+
}), ie({ focus: () => G.value.focus() }), (He, ht) => (be(), we(ro, null, [
|
|
928
928
|
O.show ? (be(), we("div", {
|
|
929
929
|
key: 0,
|
|
930
930
|
class: an(O.field_name)
|
|
@@ -1068,7 +1068,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1068
1068
|
}).catch((He) => {
|
|
1069
1069
|
console.log(He);
|
|
1070
1070
|
});
|
|
1071
|
-
}), ie({ focus: () => G.value.focus() }), (He, ht) => (be(), we(
|
|
1071
|
+
}), ie({ focus: () => G.value.focus() }), (He, ht) => (be(), we(ro, null, [
|
|
1072
1072
|
O.show ? (be(), we("div", {
|
|
1073
1073
|
key: 0,
|
|
1074
1074
|
class: an(O.field_name)
|
|
@@ -1199,7 +1199,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1199
1199
|
}).catch((He) => {
|
|
1200
1200
|
console.log(He);
|
|
1201
1201
|
});
|
|
1202
|
-
}), ie({ focus: () => G.value.focus() }), (He, ht) => (be(), we(
|
|
1202
|
+
}), ie({ focus: () => G.value.focus() }), (He, ht) => (be(), we(ro, null, [
|
|
1203
1203
|
O.show ? (be(), we("div", {
|
|
1204
1204
|
key: 0,
|
|
1205
1205
|
class: an(O.field_name)
|
|
@@ -1321,7 +1321,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1321
1321
|
ce("update:modelValue", Q);
|
|
1322
1322
|
}
|
|
1323
1323
|
});
|
|
1324
|
-
return ie({ focus: () => G.value.focus() }), (Q, He) => (be(), we(
|
|
1324
|
+
return ie({ focus: () => G.value.focus() }), (Q, He) => (be(), we(ro, null, [
|
|
1325
1325
|
O.show ? (be(), we("div", {
|
|
1326
1326
|
key: 0,
|
|
1327
1327
|
class: an(O.field_name)
|
|
@@ -1427,7 +1427,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1427
1427
|
ce("update:modelValue", Q);
|
|
1428
1428
|
}
|
|
1429
1429
|
});
|
|
1430
|
-
return ie({ focus: () => G.value.focus() }), (Q, He) => (be(), we(
|
|
1430
|
+
return ie({ focus: () => G.value.focus() }), (Q, He) => (be(), we(ro, null, [
|
|
1431
1431
|
O.show ? (be(), we("div", {
|
|
1432
1432
|
key: 0,
|
|
1433
1433
|
class: an(O.field_name)
|
|
@@ -1536,7 +1536,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1536
1536
|
}), He = (ht, lt) => {
|
|
1537
1537
|
ht && lt && new Date(ht) > new Date(lt) ? (ce.value = "Start date cannot be after end date.", G.value.start = "", G.value.end = "", ke("update:modelValue", { start: G.value.start, end: G.value.end }), ke("keydown", { start: G.value.start, end: G.value.end })) : ht && lt && new Date(lt) < new Date(ht) ? (ce.value = "End date cannot be before start date.", G.value.start = "", G.value.end = "", ke("update:modelValue", { start: G.value.start, end: G.value.end }), ke("keydown", { start: G.value.start, end: G.value.end })) : ce.value = "";
|
|
1538
1538
|
};
|
|
1539
|
-
return (ht, lt) => (be(), we(
|
|
1539
|
+
return (ht, lt) => (be(), we(ro, null, [
|
|
1540
1540
|
O.show ? (be(), we("div", {
|
|
1541
1541
|
key: 0,
|
|
1542
1542
|
class: an(O.field_name)
|
|
@@ -1567,7 +1567,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1567
1567
|
"gl-input-form-invalid": O.error_message !== "" || ce.value !== ""
|
|
1568
1568
|
}),
|
|
1569
1569
|
type: "date",
|
|
1570
|
-
"onUpdate:modelValue": lt[0] || (lt[0] = (
|
|
1570
|
+
"onUpdate:modelValue": lt[0] || (lt[0] = (wn) => Ae.value = wn),
|
|
1571
1571
|
placeholder: O.placeholder
|
|
1572
1572
|
}, null, 10, YY), [
|
|
1573
1573
|
[vm, Ae.value]
|
|
@@ -1582,7 +1582,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1582
1582
|
"gl-input-form-invalid": O.error_message !== "" || ce.value !== ""
|
|
1583
1583
|
}),
|
|
1584
1584
|
type: "date",
|
|
1585
|
-
"onUpdate:modelValue": lt[1] || (lt[1] = (
|
|
1585
|
+
"onUpdate:modelValue": lt[1] || (lt[1] = (wn) => Q.value = wn),
|
|
1586
1586
|
placeholder: O.placeholder
|
|
1587
1587
|
}, null, 10, JY), [
|
|
1588
1588
|
[vm, Q.value]
|
|
@@ -1645,7 +1645,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1645
1645
|
const Ae = G.target.files[0];
|
|
1646
1646
|
console.log(Ae), te("keydown", G), Ae && te("update:modelValue", Ae);
|
|
1647
1647
|
};
|
|
1648
|
-
return (G, Ae) => (be(), we(
|
|
1648
|
+
return (G, Ae) => (be(), we(ro, null, [
|
|
1649
1649
|
O.show ? (be(), we("div", {
|
|
1650
1650
|
key: 0,
|
|
1651
1651
|
class: an(O.field_name)
|
|
@@ -1697,11 +1697,11 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1697
1697
|
};
|
|
1698
1698
|
return Gx(G, (Q) => {
|
|
1699
1699
|
Ae(Q);
|
|
1700
|
-
}), (Q, He) => (be(), we(
|
|
1700
|
+
}), (Q, He) => (be(), we(ro, null, [
|
|
1701
1701
|
P("div", iX, [
|
|
1702
1702
|
P("div", uX, [
|
|
1703
1703
|
P("ul", dX, [
|
|
1704
|
-
(be(!0), we(
|
|
1704
|
+
(be(!0), we(ro, null, dr(ce.value, (ht) => (be(), we("li", {
|
|
1705
1705
|
key: ht.title,
|
|
1706
1706
|
onClick: (lt) => G.value = ht.title,
|
|
1707
1707
|
class: "flex-auto -mb-px text-center"
|
|
@@ -1805,8 +1805,8 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
|
|
|
1805
1805
|
const te = (ce) => {
|
|
1806
1806
|
ie.style.cursor = "grabbing";
|
|
1807
1807
|
const G = (Q) => {
|
|
1808
|
-
const He = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, ht = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, lt = He - O.initialX,
|
|
1809
|
-
Math.abs(lt) > Math.abs(
|
|
1808
|
+
const He = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, ht = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, lt = He - O.initialX, wn = ht - O.initialY;
|
|
1809
|
+
Math.abs(lt) > Math.abs(wn) ? (Q.preventDefault(), Math.abs(lt) >= 70 && (lt < 0 ? O.next() : O.prev(), O.initialX = He)) : ie.style.cursor = "grab", Math.abs(wn) > Math.abs(lt) && (ie.style.cursor = "grab");
|
|
1810
1810
|
}, Ae = () => {
|
|
1811
1811
|
document.removeEventListener("mousemove", G), document.removeEventListener("touchmove", G), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), ie.style.cursor = "grab";
|
|
1812
1812
|
};
|
|
@@ -2086,7 +2086,7 @@ function SJ(O, ie, te, ke, ce, G) {
|
|
|
2086
2086
|
key: 0,
|
|
2087
2087
|
class: an(["flex justify-center mb-1 space-x-1", G.sliderIndicatorsAction()])
|
|
2088
2088
|
}, [
|
|
2089
|
-
(be(!0), we(
|
|
2089
|
+
(be(!0), we(ro, null, dr(O.dotsNum, (Ae) => (be(), we("button", {
|
|
2090
2090
|
role: "button",
|
|
2091
2091
|
class: an(["gl-dot", { active: O.currentDot == Ae }]),
|
|
2092
2092
|
key: Ae,
|
|
@@ -2097,7 +2097,7 @@ function SJ(O, ie, te, ke, ce, G) {
|
|
|
2097
2097
|
P("div", {
|
|
2098
2098
|
class: an(["flex justify-center mb-1 space-x-1", G.sliderIndicatorsAction()])
|
|
2099
2099
|
}, [
|
|
2100
|
-
(be(!0), we(
|
|
2100
|
+
(be(!0), we(ro, null, dr(O.dotsNum, (Ae) => (be(), we("button", {
|
|
2101
2101
|
role: "button",
|
|
2102
2102
|
class: an(["gl-dot", { active: O.currentDot == Ae }]),
|
|
2103
2103
|
key: Ae,
|
|
@@ -2292,7 +2292,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2292
2292
|
ke("update:modelValue", Ae);
|
|
2293
2293
|
}
|
|
2294
2294
|
});
|
|
2295
|
-
return (Ae, Q) => (be(), we(
|
|
2295
|
+
return (Ae, Q) => (be(), we(ro, null, [
|
|
2296
2296
|
O.show ? (be(), we("div", {
|
|
2297
2297
|
key: 0,
|
|
2298
2298
|
class: an(O.field_name)
|
|
@@ -2403,7 +2403,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2403
2403
|
ke("update:modelValue", Ae);
|
|
2404
2404
|
}
|
|
2405
2405
|
});
|
|
2406
|
-
return (Ae, Q) => (be(), we(
|
|
2406
|
+
return (Ae, Q) => (be(), we(ro, null, [
|
|
2407
2407
|
O.show ? (be(), we("div", {
|
|
2408
2408
|
key: 0,
|
|
2409
2409
|
class: an(O.field_name)
|
|
@@ -2556,19 +2556,19 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2556
2556
|
setup(O, { emit: ie }) {
|
|
2557
2557
|
const te = O, ke = ie;
|
|
2558
2558
|
Eo(null);
|
|
2559
|
-
const ce = Eo({}), G = Eo(0), Ae = Eo(!1), Q = Eo(""), He = Eo(""), ht = Eo(null), lt = Eo(0),
|
|
2559
|
+
const ce = Eo({}), G = Eo(0), Ae = Eo(!1), Q = Eo(""), He = Eo(""), ht = Eo(null), lt = Eo(0), wn = Eo(0), xn = () => {
|
|
2560
2560
|
if (ht.value) {
|
|
2561
2561
|
lt.value = ht.value.offsetWidth;
|
|
2562
2562
|
var Nt = ht.value.getBoundingClientRect();
|
|
2563
|
-
|
|
2563
|
+
wn.value = Nt.top + 41 + (te.label_name ? 22 : 0);
|
|
2564
2564
|
}
|
|
2565
2565
|
}, Bo = (Nt) => {
|
|
2566
2566
|
Nt.key === "Enter" && Nt.target.form && Nt.preventDefault();
|
|
2567
2567
|
};
|
|
2568
2568
|
Rh(() => {
|
|
2569
|
-
He.value = dn(), te.show || (window.addEventListener("scroll",
|
|
2569
|
+
He.value = dn(), te.show || (window.addEventListener("scroll", xn), document.body.addEventListener("click", kt), document.addEventListener("keypress", Bo));
|
|
2570
2570
|
}), Oj(() => {
|
|
2571
|
-
window.removeEventListener("scroll",
|
|
2571
|
+
window.removeEventListener("scroll", xn), document.body.removeEventListener("click", kt), document.removeEventListener("keypress", Bo);
|
|
2572
2572
|
});
|
|
2573
2573
|
const us = vc(() => Bn()), Oo = vc(() => ds()), Rt = vc(() => {
|
|
2574
2574
|
const Nt = [], Dt = new RegExp(Q.value, "ig");
|
|
@@ -2645,7 +2645,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2645
2645
|
return;
|
|
2646
2646
|
}
|
|
2647
2647
|
Q.value = "", Ae.value = !0, Rj(() => {
|
|
2648
|
-
|
|
2648
|
+
xn();
|
|
2649
2649
|
var Nt = document.getElementById(
|
|
2650
2650
|
`${te.field_name}search${He.value}`
|
|
2651
2651
|
);
|
|
@@ -2665,7 +2665,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2665
2665
|
fe(Nt) && ke("update:modelValue", Nt.id);
|
|
2666
2666
|
}), (Nt, Dt) => {
|
|
2667
2667
|
var A, Xn, rt;
|
|
2668
|
-
return be(), we(
|
|
2668
|
+
return be(), we(ro, null, [
|
|
2669
2669
|
O.show ? (be(), we("div", {
|
|
2670
2670
|
key: 0,
|
|
2671
2671
|
class: an(O.field_name)
|
|
@@ -2728,7 +2728,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2728
2728
|
class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l fixed w-full z-[999999999] rounded-b-lg",
|
|
2729
2729
|
style: Dj({
|
|
2730
2730
|
maxWidth: lt.value + "px",
|
|
2731
|
-
top:
|
|
2731
|
+
top: wn.value + "px"
|
|
2732
2732
|
})
|
|
2733
2733
|
}, [
|
|
2734
2734
|
P("div", uQ, [
|
|
@@ -2750,7 +2750,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2750
2750
|
])
|
|
2751
2751
|
]),
|
|
2752
2752
|
P("div", hQ, [
|
|
2753
|
-
(be(!0), we(
|
|
2753
|
+
(be(!0), we(ro, null, dr(Rt.value, (eo, st) => {
|
|
2754
2754
|
var Me;
|
|
2755
2755
|
return be(), we("div", {
|
|
2756
2756
|
class: an([
|
|
@@ -2841,7 +2841,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2841
2841
|
ce("update:modelValue", Q);
|
|
2842
2842
|
}
|
|
2843
2843
|
});
|
|
2844
|
-
return ie({ focus: () => G.value.focus() }), (Q, He) => (be(), we(
|
|
2844
|
+
return ie({ focus: () => G.value.focus() }), (Q, He) => (be(), we(ro, null, [
|
|
2845
2845
|
O.show ? (be(), we("div", {
|
|
2846
2846
|
key: 0,
|
|
2847
2847
|
class: an(O.field_name)
|
|
@@ -2948,19 +2948,19 @@ var oq = { exports: {} };
|
|
|
2948
2948
|
}
|
|
2949
2949
|
return !0;
|
|
2950
2950
|
});
|
|
2951
|
-
},
|
|
2951
|
+
}, wn = G(function(e, n) {
|
|
2952
2952
|
if (e === n)
|
|
2953
2953
|
return !0;
|
|
2954
2954
|
var o = ie(e), r = ie(n);
|
|
2955
|
-
return o !== r ? !1 : te(o) ? e === n : o === "array" ? He(
|
|
2955
|
+
return o !== r ? !1 : te(o) ? e === n : o === "array" ? He(wn).eq(e, n) : o === "object" ? lt(wn).eq(e, n) : !1;
|
|
2956
2956
|
});
|
|
2957
|
-
const
|
|
2957
|
+
const xn = Object.getPrototypeOf, Bo = (e, n, o) => {
|
|
2958
2958
|
var r;
|
|
2959
2959
|
return o(e, n.prototype) ? !0 : ((r = e.constructor) === null || r === void 0 ? void 0 : r.name) === n.name;
|
|
2960
2960
|
}, us = (e) => {
|
|
2961
2961
|
const n = typeof e;
|
|
2962
2962
|
return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" && Bo(e, String, (o, r) => r.isPrototypeOf(o)) ? "string" : n;
|
|
2963
|
-
}, Oo = (e) => (n) => us(n) === e, Rt = (e) => (n) => typeof n === e, pr = (e) => (n) => e === n, dn = (e, n) => kt(e) && Bo(e, n, (o, r) =>
|
|
2963
|
+
}, Oo = (e) => (n) => us(n) === e, Rt = (e) => (n) => typeof n === e, pr = (e) => (n) => e === n, dn = (e, n) => kt(e) && Bo(e, n, (o, r) => xn(o) === r), fe = Oo("string"), kt = Oo("object"), Qr = (e) => dn(e, Object), Qn = Oo("array"), se = pr(null), Bn = Rt("boolean"), ds = pr(void 0), In = (e) => e == null, We = (e) => !In(e), ge = Rt("function"), os = Rt("number"), Nt = (e, n) => {
|
|
2964
2964
|
if (Qn(e)) {
|
|
2965
2965
|
for (let o = 0, r = e.length; o < r; ++o)
|
|
2966
2966
|
if (!n(e[o]))
|
|
@@ -3193,7 +3193,7 @@ var oq = { exports: {} };
|
|
|
3193
3193
|
return yt(e, (r, l) => {
|
|
3194
3194
|
o.push(n(r, l));
|
|
3195
3195
|
}), o;
|
|
3196
|
-
}, bl = (e) => tl(e, eo), Yo = (e, n) => gn(e, n) ? z.from(e[n]) : z.none(), gn = (e, n) => Gi.call(e, n), Ar = (e, n) => gn(e, n) && e[n] !== void 0 && e[n] !== null, Nl = (e, n, o =
|
|
3196
|
+
}, bl = (e) => tl(e, eo), Yo = (e, n) => gn(e, n) ? z.from(e[n]) : z.none(), gn = (e, n) => Gi.call(e, n), Ar = (e, n) => gn(e, n) && e[n] !== void 0 && e[n] !== null, Nl = (e, n, o = wn) => lt(o).eq(e, n), Hc = (e) => {
|
|
3197
3197
|
const n = {};
|
|
3198
3198
|
return _e(e, (o) => {
|
|
3199
3199
|
n[o] = {};
|
|
@@ -4113,7 +4113,7 @@ var oq = { exports: {} };
|
|
|
4113
4113
|
"audio",
|
|
4114
4114
|
"object",
|
|
4115
4115
|
"embed"
|
|
4116
|
-
]), Mm = Mr(["table"]), Mo = sn,
|
|
4116
|
+
]), Mm = Mr(["table"]), Mo = sn, ao = (e) => Mo(e) ? !1 : Zr(e) ? !Jc(e.parentNode) : Ef(e) || Wg(e) || Mm(e) || il(e), ya = (e) => jt(e) && e.getAttribute("unselectable") === "true", il = (e) => !ya(e) && $m(e), k1 = (e, n) => {
|
|
4117
4117
|
for (let o = e.parentNode; o && o !== n; o = o.parentNode) {
|
|
4118
4118
|
if (il(o))
|
|
4119
4119
|
return !1;
|
|
@@ -4121,7 +4121,7 @@ var oq = { exports: {} };
|
|
|
4121
4121
|
return !0;
|
|
4122
4122
|
}
|
|
4123
4123
|
return !0;
|
|
4124
|
-
}, od = (e) => il(e) ? !Fo(wr(e.getElementsByTagName("*")), (n, o) => n || Tf(o), !1) : !1, ul = (e) => Ef(e) || od(e), Pm = (e, n) =>
|
|
4124
|
+
}, od = (e) => il(e) ? !Fo(wr(e.getElementsByTagName("*")), (n, o) => n || Tf(o), !1) : !1, ul = (e) => Ef(e) || od(e), Pm = (e, n) => ao(e) && k1(e, n), Du = /^[ \t\r\n]*$/, Af = (e) => Du.test(e), Zg = (e) => {
|
|
4125
4125
|
for (const n of e)
|
|
4126
4126
|
if (!au(n))
|
|
4127
4127
|
return !1;
|
|
@@ -4145,7 +4145,7 @@ var oq = { exports: {} };
|
|
|
4145
4145
|
}, Ay = (e, n) => {
|
|
4146
4146
|
const o = le.fromDom(n), r = le.fromDom(e);
|
|
4147
4147
|
return Ey(r, "pre,code", Me(wo, o));
|
|
4148
|
-
}, qx = (e, n) => ut(e) && Af(e.data) && !Ay(e, n), Pr = (e) => jt(e) && e.nodeName === "A" && !e.hasAttribute("href") && (e.hasAttribute("name") || e.hasAttribute("id")), Gh = (e, n) =>
|
|
4148
|
+
}, qx = (e, n) => ut(e) && Af(e.data) && !Ay(e, n), Pr = (e) => jt(e) && e.nodeName === "A" && !e.hasAttribute("href") && (e.hasAttribute("name") || e.hasAttribute("id")), Gh = (e, n) => ao(e) && !qx(e, n) || Pr(e) || sd(e), sd = Fg("data-mce-bookmark"), Df = Fg("data-mce-bogus"), Gg = va("data-mce-bogus", "all"), qg = (e) => jc(le.fromDom(e)).exists((n) => !Hn(n)), Qc = (e, n) => {
|
|
4149
4149
|
let o = 0;
|
|
4150
4150
|
if (Gh(e, e))
|
|
4151
4151
|
return !1;
|
|
@@ -4723,7 +4723,7 @@ var oq = { exports: {} };
|
|
|
4723
4723
|
}), e.invalid_elements && ld(iu(e.invalid_elements), (Nn) => {
|
|
4724
4724
|
o[Nn] && delete o[Nn];
|
|
4725
4725
|
}), Zn("span") || nt("span[!data-mce-type|*]");
|
|
4726
|
-
const hs = rt(M), $s = rt(B), Fr = rt(F), $l = rt(oe), is = rt(xt), Tt = rt(ot), en = rt(Ft), jn = rt(Object.seal(q)),
|
|
4726
|
+
const hs = rt(M), $s = rt(B), Fr = rt(F), $l = rt(oe), is = rt(xt), Tt = rt(ot), en = rt(Ft), jn = rt(Object.seal(q)), lo = rt(ne), Yt = rt(Se), Rn = rt(Ce), St = rt(J), $n = rt(Ze), _o = rt(Ve), ks = rt(Object.seal(f)), ps = (Nn, Po) => {
|
|
4727
4727
|
const Ms = r[Nn.toLowerCase()];
|
|
4728
4728
|
return !!(Ms && Ms[Po.toLowerCase()]);
|
|
4729
4729
|
}, Fa = (Nn, Po) => {
|
|
@@ -4756,7 +4756,7 @@ var oq = { exports: {} };
|
|
|
4756
4756
|
getTextInlineElements: en,
|
|
4757
4757
|
getBoolAttrs: $l,
|
|
4758
4758
|
getElementRule: Zn,
|
|
4759
|
-
getSelfClosingElements:
|
|
4759
|
+
getSelfClosingElements: lo,
|
|
4760
4760
|
getNonEmptyElements: Yt,
|
|
4761
4761
|
getMoveCaretBeforeOnEnterElements: Rn,
|
|
4762
4762
|
getWhitespaceElements: St,
|
|
@@ -5114,8 +5114,8 @@ var oq = { exports: {} };
|
|
|
5114
5114
|
let bt;
|
|
5115
5115
|
const rn = oe(Be);
|
|
5116
5116
|
if (We(rn) && Pa(rn)) {
|
|
5117
|
-
const
|
|
5118
|
-
|
|
5117
|
+
const co = ky[Fe];
|
|
5118
|
+
co && co.get ? bt = co.get(rn.dom, Fe) : bt = Za(rn, Fe);
|
|
5119
5119
|
}
|
|
5120
5120
|
return We(bt) ? bt : _t;
|
|
5121
5121
|
}, Se = (Be) => {
|
|
@@ -5124,11 +5124,11 @@ var oq = { exports: {} };
|
|
|
5124
5124
|
}, Ce = (Be, Fe, _t) => {
|
|
5125
5125
|
en(Be, (bt) => {
|
|
5126
5126
|
if (jt(bt)) {
|
|
5127
|
-
const rn = le.fromDom(bt),
|
|
5128
|
-
ui && ui.set ? ui.set(rn.dom,
|
|
5127
|
+
const rn = le.fromDom(bt), co = _t === "" ? null : _t, or = Za(rn, Fe), ui = ky[Fe];
|
|
5128
|
+
ui && ui.set ? ui.set(rn.dom, co, Fe) : Mb(rn, Fe, co), or !== co && n.onSetAttrib && n.onSetAttrib({
|
|
5129
5129
|
attrElm: rn.dom,
|
|
5130
5130
|
attrName: Fe,
|
|
5131
|
-
attrValue:
|
|
5131
|
+
attrValue: co
|
|
5132
5132
|
});
|
|
5133
5133
|
}
|
|
5134
5134
|
});
|
|
@@ -5148,14 +5148,14 @@ var oq = { exports: {} };
|
|
|
5148
5148
|
}, Ve = (Be, Fe) => {
|
|
5149
5149
|
en(Be, (_t) => {
|
|
5150
5150
|
const bt = le.fromDom(_t);
|
|
5151
|
-
yt(Fe, (rn,
|
|
5152
|
-
Pb(bt,
|
|
5151
|
+
yt(Fe, (rn, co) => {
|
|
5152
|
+
Pb(bt, co, rn);
|
|
5153
5153
|
}), n.update_styles && Wy(B, bt);
|
|
5154
5154
|
});
|
|
5155
5155
|
}, nt = (Be, Fe, _t) => {
|
|
5156
5156
|
const bt = q(Be);
|
|
5157
5157
|
if (!(In(bt) || !su(bt) && !mb(bt)))
|
|
5158
|
-
return _t ? fr(le.fromDom(bt), Pf(Fe)) : (Fe = Fe.replace(/-(\D)/g, (rn,
|
|
5158
|
+
return _t ? fr(le.fromDom(bt), Pf(Fe)) : (Fe = Fe.replace(/-(\D)/g, (rn, co) => co.toUpperCase()), Fe === "float" && (Fe = "cssFloat"), bt.style ? bt.style[Fe] : void 0);
|
|
5159
5159
|
}, Gt = (Be) => {
|
|
5160
5160
|
const Fe = q(Be);
|
|
5161
5161
|
if (!Fe)
|
|
@@ -5183,7 +5183,7 @@ var oq = { exports: {} };
|
|
|
5183
5183
|
return Ot(_t, (bt) => cc(le.fromDom(bt), Fe));
|
|
5184
5184
|
}, Zn = (Be, Fe, _t, bt) => {
|
|
5185
5185
|
const rn = [];
|
|
5186
|
-
let
|
|
5186
|
+
let co = q(Be);
|
|
5187
5187
|
bt = bt === void 0;
|
|
5188
5188
|
const or = _t || (ot().nodeName !== "BODY" ? ot().parentNode : null);
|
|
5189
5189
|
if (fe(Fe))
|
|
@@ -5193,13 +5193,13 @@ var oq = { exports: {} };
|
|
|
5193
5193
|
const ui = Fe;
|
|
5194
5194
|
Fe = (Ja) => Kn(Ja, ui);
|
|
5195
5195
|
}
|
|
5196
|
-
for (;
|
|
5197
|
-
if (!Fe || Fe(
|
|
5196
|
+
for (; co && !(co === or || In(co.nodeType) || Vg(co) || Ys(co)); ) {
|
|
5197
|
+
if (!Fe || Fe(co))
|
|
5198
5198
|
if (bt)
|
|
5199
|
-
rn.push(
|
|
5199
|
+
rn.push(co);
|
|
5200
5200
|
else
|
|
5201
|
-
return [
|
|
5202
|
-
|
|
5201
|
+
return [co];
|
|
5202
|
+
co = co.parentNode;
|
|
5203
5203
|
}
|
|
5204
5204
|
return bt ? rn : null;
|
|
5205
5205
|
}, hs = (Be, Fe, _t) => {
|
|
@@ -5222,8 +5222,8 @@ var oq = { exports: {} };
|
|
|
5222
5222
|
const bt = _t ?? this;
|
|
5223
5223
|
if (Qn(Be)) {
|
|
5224
5224
|
const rn = [];
|
|
5225
|
-
return Rb(Be, (
|
|
5226
|
-
const ui = q(
|
|
5225
|
+
return Rb(Be, (co, or) => {
|
|
5226
|
+
const ui = q(co);
|
|
5227
5227
|
ui && rn.push(Fe.call(bt, ui, or));
|
|
5228
5228
|
}), rn;
|
|
5229
5229
|
} else {
|
|
@@ -5236,14 +5236,14 @@ var oq = { exports: {} };
|
|
|
5236
5236
|
Ce(_t, rn, bt);
|
|
5237
5237
|
});
|
|
5238
5238
|
});
|
|
5239
|
-
},
|
|
5239
|
+
}, lo = (Be, Fe) => {
|
|
5240
5240
|
en(Be, (_t) => {
|
|
5241
5241
|
const bt = le.fromDom(_t);
|
|
5242
5242
|
ed(bt, Fe);
|
|
5243
5243
|
});
|
|
5244
|
-
}, Yt = (Be, Fe, _t, bt, rn) => en(Be, (
|
|
5244
|
+
}, Yt = (Be, Fe, _t, bt, rn) => en(Be, (co) => {
|
|
5245
5245
|
const or = fe(Fe) ? e.createElement(Fe) : Fe;
|
|
5246
|
-
return We(_t) && jn(or, _t), bt && (!fe(bt) && bt.nodeType ? or.appendChild(bt) : fe(bt) &&
|
|
5246
|
+
return We(_t) && jn(or, _t), bt && (!fe(bt) && bt.nodeType ? or.appendChild(bt) : fe(bt) && lo(or, bt)), rn ? or : co.appendChild(or);
|
|
5247
5247
|
}), Rn = (Be, Fe, _t) => Yt(e.createElement(Be), Be, Fe, _t, !0), St = Mf.decode, $n = Mf.encodeAllRaw, _o = (Be, Fe, _t = "") => {
|
|
5248
5248
|
let bt = "<" + Be;
|
|
5249
5249
|
for (const rn in Fe)
|
|
@@ -5285,8 +5285,8 @@ var oq = { exports: {} };
|
|
|
5285
5285
|
}, Nn = (Be, Fe, _t) => {
|
|
5286
5286
|
en(Be, (bt) => {
|
|
5287
5287
|
if (jt(bt)) {
|
|
5288
|
-
const rn = le.fromDom(bt),
|
|
5289
|
-
_e(
|
|
5288
|
+
const rn = le.fromDom(bt), co = Fe.split(" ");
|
|
5289
|
+
_e(co, (or) => {
|
|
5290
5290
|
We(_t) ? (_t ? vu : vi)(rn, or) : _g(rn, or);
|
|
5291
5291
|
});
|
|
5292
5292
|
}
|
|
@@ -5315,15 +5315,15 @@ var oq = { exports: {} };
|
|
|
5315
5315
|
}, Cy = (Be, Fe) => {
|
|
5316
5316
|
const _t = q(Fe);
|
|
5317
5317
|
return en(Be, (bt) => {
|
|
5318
|
-
const rn = _t == null ? void 0 : _t.parentNode,
|
|
5319
|
-
return rn && (
|
|
5318
|
+
const rn = _t == null ? void 0 : _t.parentNode, co = _t == null ? void 0 : _t.nextSibling;
|
|
5319
|
+
return rn && (co ? rn.insertBefore(bt, co) : rn.appendChild(bt)), bt;
|
|
5320
5320
|
});
|
|
5321
5321
|
}, Sy = (Be, Fe, _t) => en(Fe, (bt) => {
|
|
5322
5322
|
var rn;
|
|
5323
|
-
const
|
|
5323
|
+
const co = Qn(Fe) ? Be.cloneNode(!0) : Be;
|
|
5324
5324
|
return _t && Rb(oC(bt.childNodes), (or) => {
|
|
5325
|
-
|
|
5326
|
-
}), (rn = bt.parentNode) === null || rn === void 0 || rn.replaceChild(
|
|
5325
|
+
co.appendChild(or);
|
|
5326
|
+
}), (rn = bt.parentNode) === null || rn === void 0 || rn.replaceChild(co, bt), bt;
|
|
5327
5327
|
}), Fx = (Be, Fe) => {
|
|
5328
5328
|
if (Be.nodeName !== Fe.toUpperCase()) {
|
|
5329
5329
|
const _t = Rn(Fe);
|
|
@@ -5356,19 +5356,19 @@ var oq = { exports: {} };
|
|
|
5356
5356
|
return !1;
|
|
5357
5357
|
const rn = Be.firstChild;
|
|
5358
5358
|
if (rn) {
|
|
5359
|
-
const
|
|
5359
|
+
const co = new As(rn, Be), or = M ? M.getWhitespaceElements() : {}, ui = Fe || (M ? M.getNonEmptyElements() : null);
|
|
5360
5360
|
let Ja = rn;
|
|
5361
5361
|
do {
|
|
5362
5362
|
if (jt(Ja)) {
|
|
5363
5363
|
const b1 = Ja.getAttribute("data-mce-bogus");
|
|
5364
5364
|
if (b1) {
|
|
5365
|
-
Ja =
|
|
5365
|
+
Ja = co.next(b1 === "all");
|
|
5366
5366
|
continue;
|
|
5367
5367
|
}
|
|
5368
5368
|
const kd = Ja.nodeName.toLowerCase();
|
|
5369
5369
|
if (ui && ui[kd]) {
|
|
5370
5370
|
if (kd === "br") {
|
|
5371
|
-
bt++, Ja =
|
|
5371
|
+
bt++, Ja = co.next();
|
|
5372
5372
|
continue;
|
|
5373
5373
|
}
|
|
5374
5374
|
return !1;
|
|
@@ -5378,24 +5378,24 @@ var oq = { exports: {} };
|
|
|
5378
5378
|
}
|
|
5379
5379
|
if (nd(Ja) || ut(Ja) && !Af(Ja.data) && (!(_t != null && _t.includeZwsp) || !Zg(Ja.data)) || ut(Ja) && Ja.parentNode && or[Ja.parentNode.nodeName] && Af(Ja.data))
|
|
5380
5380
|
return !1;
|
|
5381
|
-
Ja =
|
|
5381
|
+
Ja = co.next();
|
|
5382
5382
|
} while (Ja);
|
|
5383
5383
|
}
|
|
5384
5384
|
return bt <= 1;
|
|
5385
5385
|
}, vg = () => e.createRange(), Hx = (Be, Fe, _t) => {
|
|
5386
|
-
let bt = vg(), rn,
|
|
5386
|
+
let bt = vg(), rn, co;
|
|
5387
5387
|
if (Be && Fe && Be.parentNode && Fe.parentNode) {
|
|
5388
5388
|
const or = Be.parentNode;
|
|
5389
|
-
return bt.setStart(or, Ud(Be)), bt.setEnd(Fe.parentNode, Ud(Fe)), rn = bt.extractContents(), bt = vg(), bt.setStart(Fe.parentNode, Ud(Fe) + 1), bt.setEnd(or, Ud(Be) + 1),
|
|
5389
|
+
return bt.setStart(or, Ud(Be)), bt.setEnd(Fe.parentNode, Ud(Fe)), rn = bt.extractContents(), bt = vg(), bt.setStart(Fe.parentNode, Ud(Fe) + 1), bt.setEnd(or, Ud(Be) + 1), co = bt.extractContents(), or.insertBefore(Im(wg, rn, M), Be), _t ? or.insertBefore(_t, Be) : or.insertBefore(Fe, Be), or.insertBefore(Im(wg, co, M), Be), ps(Be), _t || Fe;
|
|
5390
5390
|
} else
|
|
5391
5391
|
return;
|
|
5392
5392
|
}, _y = (Be, Fe, _t, bt) => {
|
|
5393
5393
|
if (Qn(Be)) {
|
|
5394
5394
|
let rn = Be.length;
|
|
5395
|
-
const
|
|
5395
|
+
const co = [];
|
|
5396
5396
|
for (; rn--; )
|
|
5397
|
-
|
|
5398
|
-
return
|
|
5397
|
+
co[rn] = _y(Be[rn], Fe, _t, bt);
|
|
5398
|
+
return co;
|
|
5399
5399
|
} else
|
|
5400
5400
|
return n.collect && (Be === e || Be === r) && k.push([
|
|
5401
5401
|
Be,
|
|
@@ -5414,8 +5414,8 @@ var oq = { exports: {} };
|
|
|
5414
5414
|
if (k.length > 0 && (Be === e || Be === r)) {
|
|
5415
5415
|
let bt = k.length;
|
|
5416
5416
|
for (; bt--; ) {
|
|
5417
|
-
const [rn,
|
|
5418
|
-
Be === rn && (!Fe || Fe ===
|
|
5417
|
+
const [rn, co, or] = k[bt];
|
|
5418
|
+
Be === rn && (!Fe || Fe === co) && (!_t || _t === or) && F.unbind(rn, co, or);
|
|
5419
5419
|
}
|
|
5420
5420
|
}
|
|
5421
5421
|
return F.unbind(Be, Fe, _t);
|
|
@@ -5477,7 +5477,7 @@ var oq = { exports: {} };
|
|
|
5477
5477
|
hide: Vi,
|
|
5478
5478
|
isHidden: pf,
|
|
5479
5479
|
uniqueId: h1,
|
|
5480
|
-
setHTML:
|
|
5480
|
+
setHTML: lo,
|
|
5481
5481
|
getOuterHTML: Lx,
|
|
5482
5482
|
setOuterHTML: sb,
|
|
5483
5483
|
decode: St,
|
|
@@ -5964,7 +5964,7 @@ var oq = { exports: {} };
|
|
|
5964
5964
|
if (!e[o](n))
|
|
5965
5965
|
return !1;
|
|
5966
5966
|
return !0;
|
|
5967
|
-
}, Ff = jt, Vb =
|
|
5967
|
+
}, Ff = jt, Vb = ao, Co = td("display", "block table"), ri = td("float", "left right"), id = L1(Ff, Vb, nn(ri)), Ky = nn(td("white-space", "pre pre-line pre-wrap")), cs = ut, F1 = ls, Yy = Ls.nodeIndex, wa = gC, jd = (e) => e ? e.createRange() : Ls.DOM.createRng(), Hf = (e) => fe(e) && /[\r\n\t ]/.test(e), Xy = (e) => !!e.setStart && !!e.setEnd, zb = (e) => {
|
|
5968
5968
|
const n = e.startContainer, o = e.startOffset;
|
|
5969
5969
|
if (Hf(e.toString()) && Ky(n.parentNode) && ut(n)) {
|
|
5970
5970
|
const r = n.data;
|
|
@@ -7076,7 +7076,7 @@ Required: ` + n.join(", "));
|
|
|
7076
7076
|
},
|
|
7077
7077
|
destroy: () => clearInterval(u)
|
|
7078
7078
|
};
|
|
7079
|
-
}, e0 = () => It.browser.isFirefox(), ov = (e) => ZC(e) || R2(e), kp = (e) => (ov(e) || Tu(e) && e0()) && jc(le.fromDom(e)).exists(Hn), RE = cl, Uf = mo, GC = gr, Wf = td("display", "block table table-cell table-caption list-item"), Zf = sn, M2 = pt, qC = jt, g5 = ut, P2 =
|
|
7079
|
+
}, e0 = () => It.browser.isFirefox(), ov = (e) => ZC(e) || R2(e), kp = (e) => (ov(e) || Tu(e) && e0()) && jc(le.fromDom(e)).exists(Hn), RE = cl, Uf = mo, GC = gr, Wf = td("display", "block table table-cell table-caption list-item"), Zf = sn, M2 = pt, qC = jt, g5 = ut, P2 = ao, jf = (e) => e > 0, Yd = (e) => e < 0, t0 = (e, n) => {
|
|
7080
7080
|
let o;
|
|
7081
7081
|
for (; o = e(n); )
|
|
7082
7082
|
if (!M2(o))
|
|
@@ -7189,7 +7189,7 @@ Required: ` + n.join(", "));
|
|
|
7189
7189
|
(function(e) {
|
|
7190
7190
|
e[e.Backwards = -1] = "Backwards", e[e.Forwards = 1] = "Forwards";
|
|
7191
7191
|
})(Ir || (Ir = {}));
|
|
7192
|
-
const h5 = mo, Gm = ut, XC = jt, av = ls, qf =
|
|
7192
|
+
const h5 = mo, Gm = ut, XC = jt, av = ls, qf = ao, El = ul, Ap = Pm, r0 = (e, n) => {
|
|
7193
7193
|
const o = [];
|
|
7194
7194
|
let r = e;
|
|
7195
7195
|
for (; r && r !== n; )
|
|
@@ -7247,18 +7247,18 @@ Required: ` + n.join(", "));
|
|
|
7247
7247
|
}), ME = (e, n, o) => {
|
|
7248
7248
|
const r = e ? Ie.before(o) : Ie.after(o);
|
|
7249
7249
|
return Ka(e, n, r);
|
|
7250
|
-
}, PE = (e) => ls(e) ? Ie.before(e) : Ie.after(e), Kf = (e) => Ie.isTextPosition(e) ? e.offset() === 0 :
|
|
7250
|
+
}, PE = (e) => ls(e) ? Ie.before(e) : Ie.after(e), Kf = (e) => Ie.isTextPosition(e) ? e.offset() === 0 : ao(e.getNode()), Rp = (e) => {
|
|
7251
7251
|
if (Ie.isTextPosition(e)) {
|
|
7252
7252
|
const n = e.container();
|
|
7253
7253
|
return e.offset() === n.data.length;
|
|
7254
7254
|
} else
|
|
7255
|
-
return
|
|
7255
|
+
return ao(e.getNode(!0));
|
|
7256
7256
|
}, lv = (e, n) => !Ie.isTextPosition(e) && !Ie.isTextPosition(n) && e.getNode() === n.getNode(!0), Xd = (e) => !Ie.isTextPosition(e) && ls(e.getNode()), H2 = (e, n, o) => e ? !lv(n, o) && !Xd(n) && Rp(n) && Kf(o) : !lv(o, n) && Kf(n) && Rp(o), Ka = (e, n, o) => {
|
|
7257
7257
|
const r = md(n);
|
|
7258
7258
|
return z.from(e ? r.next(o) : r.prev(o));
|
|
7259
7259
|
}, qm = (e, n, o) => Ka(e, n, o).bind((r) => dd(o, r, n) && H2(e, o, r) ? Ka(e, n, r) : z.some(r)), Pu = (e, n, o, r) => qm(e, n, o).bind((l) => r(l) ? Pu(e, n, l, r) : z.some(l)), $p = (e, n) => {
|
|
7260
7260
|
const o = e ? n.firstChild : n.lastChild;
|
|
7261
|
-
return ut(o) ? z.some(Ie(o, e ? 0 : o.data.length)) : o ?
|
|
7261
|
+
return ut(o) ? z.some(Ie(o, e ? 0 : o.data.length)) : o ? ao(o) ? z.some(e ? Ie.before(o) : PE(o)) : ME(e, n, o) : z.none();
|
|
7262
7262
|
}, Jl = Me(Ka, !0), $c = Me(Ka, !1), hc = Me($p, !0), Bu = Me($p, !1), cv = "_mce_caret", Di = (e) => jt(e) && e.id === cv, ch = (e, n) => {
|
|
7263
7263
|
let o = n;
|
|
7264
7264
|
for (; o && o !== e; ) {
|
|
@@ -7882,7 +7882,7 @@ Required: ` + n.join(", "));
|
|
|
7882
7882
|
const St = Se;
|
|
7883
7883
|
Se = !1, St && (Zn(f, "width", Ce), Zn(f, "height", Pe)), o.unbind(r, "mousemove", $s), o.unbind(r, "mouseup", Fr), l !== r && (o.unbind(l, "mousemove", $s), o.unbind(l, "mouseup", Fr)), o.remove(b), o.remove(y), o.remove(M), $l(f), St && (Iu(n, f, Ce, Pe, "corner-" + k.name), o.setAttrib(f, "style", o.getAttrib(f, "style"))), n.nodeChanged();
|
|
7884
7884
|
}, $l = (St) => {
|
|
7885
|
-
|
|
7885
|
+
lo();
|
|
7886
7886
|
const $n = o.getPos(St, u), _o = $n.x, ks = $n.y, ps = St.getBoundingClientRect(), Fa = ps.width || ps.right - ps.left, gm = ps.height || ps.bottom - ps.top;
|
|
7887
7887
|
f !== St && (Tt(), f = St, Ce = Pe = 0);
|
|
7888
7888
|
const bg = n.dispatch("ObjectSelected", { target: St });
|
|
@@ -7925,7 +7925,7 @@ Required: ` + n.join(", "));
|
|
|
7925
7925
|
});
|
|
7926
7926
|
}) : Tt(!1);
|
|
7927
7927
|
}, is = I1($l, 0), Tt = (St = !0) => {
|
|
7928
|
-
is.cancel(),
|
|
7928
|
+
is.cancel(), lo(), f && St && f.removeAttribute(Qf), yt(e4, ($n, _o) => {
|
|
7929
7929
|
const ks = o.get("mceResizeHandle" + _o);
|
|
7930
7930
|
ks && (o.unbind(ks), o.remove(ks));
|
|
7931
7931
|
});
|
|
@@ -7944,7 +7944,7 @@ Required: ` + n.join(", "));
|
|
|
7944
7944
|
}
|
|
7945
7945
|
}
|
|
7946
7946
|
Tt();
|
|
7947
|
-
},
|
|
7947
|
+
}, lo = () => {
|
|
7948
7948
|
yt(e4, (St) => {
|
|
7949
7949
|
St.elm && (o.unbind(St.elm), delete St.elm);
|
|
7950
7950
|
});
|
|
@@ -7958,7 +7958,7 @@ Required: ` + n.join(", "));
|
|
|
7958
7958
|
Yt(), n.on("NodeChange ResizeEditor ResizeWindow ResizeContent drop", jn), n.on("keyup compositionend", (St) => {
|
|
7959
7959
|
f && f.nodeName === "TABLE" && jn(St);
|
|
7960
7960
|
}), n.on("hide blur", Tt), n.on("contextmenu longpress", nt, !0);
|
|
7961
|
-
}), n.on("remove",
|
|
7961
|
+
}), n.on("remove", lo), {
|
|
7962
7962
|
isResizable: ln,
|
|
7963
7963
|
showResizeRect: $l,
|
|
7964
7964
|
hideResizeRect: Tt,
|
|
@@ -9116,7 +9116,7 @@ Required: ` + n.join(", "));
|
|
|
9116
9116
|
}, Q7 = (e, n) => {
|
|
9117
9117
|
const o = e.container(), r = e.offset();
|
|
9118
9118
|
return !Ie.isTextPosition(e) && o === n.parentNode && r > Ie.before(n).offset();
|
|
9119
|
-
}, eI = (e, n) => Q7(n, e) ? Ie(n.container(), n.offset() - 1) : n, bh = (e) => ut(e) ? Ie(e, 0) : Ie.before(e), Xo = (e) => ut(e) ? Ie(e, e.data.length) : Ie.after(e), E4 = (e) =>
|
|
9119
|
+
}, eI = (e, n) => Q7(n, e) ? Ie(n.container(), n.offset() - 1) : n, bh = (e) => ut(e) ? Ie(e, 0) : Ie.before(e), Xo = (e) => ut(e) ? Ie(e, e.data.length) : Ie.after(e), E4 = (e) => ao(e.previousSibling) ? z.some(Xo(e.previousSibling)) : e.previousSibling ? Bu(e.previousSibling) : z.none(), A4 = (e) => ao(e.nextSibling) ? z.some(bh(e.nextSibling)) : e.nextSibling ? hc(e.nextSibling) : z.none(), tI = (e, n) => z.from(n.previousSibling ? n.previousSibling : n.parentNode).bind((o) => $c(e, Ie.before(o))).orThunk(() => Jl(e, Ie.after(n))), nI = (e, n) => Jl(e, Ie.after(n)).orThunk(() => $c(e, Ie.before(n))), oI = (e, n) => E4(n).orThunk(() => A4(n)).orThunk(() => tI(e, n)), fu = (e, n) => A4(n).orThunk(() => E4(n)).orThunk(() => nI(e, n)), sf = (e, n, o) => e ? fu(n, o) : oI(n, o), sI = (e, n, o) => sf(e, n, o).map(Me(eI, o)), HS = (e, n, o) => {
|
|
9120
9120
|
o.fold(() => {
|
|
9121
9121
|
e.focus();
|
|
9122
9122
|
}, (r) => {
|
|
@@ -11446,7 +11446,7 @@ Required: ` + n.join(", "));
|
|
|
11446
11446
|
...M$,
|
|
11447
11447
|
...Lw
|
|
11448
11448
|
]);
|
|
11449
|
-
let
|
|
11449
|
+
let lo = Object.seal(Object.create(null, {
|
|
11450
11450
|
tagNameCheck: {
|
|
11451
11451
|
writable: !0,
|
|
11452
11452
|
configurable: !1,
|
|
@@ -11537,7 +11537,7 @@ Required: ` + n.join(", "));
|
|
|
11537
11537
|
return ze instanceof RegExp || ze instanceof Function;
|
|
11538
11538
|
}, Ux = function(ze) {
|
|
11539
11539
|
if (!(p1 && p1 === ze)) {
|
|
11540
|
-
if ((!ze || typeof ze != "object") && (ze = {}), ze = Yv(ze), yg = pT.indexOf(ze.PARSER_MEDIA_TYPE) === -1 ? yg = Vx : yg = ze.PARSER_MEDIA_TYPE, nc = yg === "application/xhtml+xml" ? b_ : xh, is = "ALLOWED_TAGS" in ze ? gs({}, ze.ALLOWED_TAGS, nc) : Tt, en = "ALLOWED_ATTR" in ze ? gs({}, ze.ALLOWED_ATTR, nc) : jn, _y = "ALLOWED_NAMESPACES" in ze ? gs({}, ze.ALLOWED_NAMESPACES, b_) : hT, Sy = "ADD_URI_SAFE_ATTR" in ze ? gs(Yv(Fx), ze.ADD_URI_SAFE_ATTR, nc) : Fx, sb = "ADD_DATA_URI_TAGS" in ze ? gs(Yv(Cy), ze.ADD_DATA_URI_TAGS, nc) : Cy, h1 = "FORBID_CONTENTS" in ze ? gs({}, ze.FORBID_CONTENTS, nc) : Lx, Yt = "FORBID_TAGS" in ze ? gs({}, ze.FORBID_TAGS, nc) : {}, Rn = "FORBID_ATTR" in ze ? gs({}, ze.FORBID_ATTR, nc) : {}, pf = "USE_PROFILES" in ze ? ze.USE_PROFILES : !1, St = ze.ALLOW_ARIA_ATTR !== !1, $n = ze.ALLOW_DATA_ATTR !== !1, _o = ze.ALLOW_UNKNOWN_PROTOCOLS || !1, ks = ze.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ps = ze.SAFE_FOR_TEMPLATES || !1, Fa = ze.WHOLE_DOCUMENT || !1, ii = ze.RETURN_DOM || !1, _d = ze.RETURN_DOM_FRAGMENT || !1, Nn = ze.RETURN_TRUSTED_TYPE || !1, bg = ze.FORCE_BODY || !1, Po = ze.SANITIZE_DOM !== !1, Ms = ze.SANITIZE_NAMED_PROPS || !1, ur = ze.KEEP_CONTENT !== !1, Vi = ze.IN_PLACE || !1, $l = ze.ALLOWED_URI_REGEXP || F$, vg = ze.NAMESPACE || hm,
|
|
11540
|
+
if ((!ze || typeof ze != "object") && (ze = {}), ze = Yv(ze), yg = pT.indexOf(ze.PARSER_MEDIA_TYPE) === -1 ? yg = Vx : yg = ze.PARSER_MEDIA_TYPE, nc = yg === "application/xhtml+xml" ? b_ : xh, is = "ALLOWED_TAGS" in ze ? gs({}, ze.ALLOWED_TAGS, nc) : Tt, en = "ALLOWED_ATTR" in ze ? gs({}, ze.ALLOWED_ATTR, nc) : jn, _y = "ALLOWED_NAMESPACES" in ze ? gs({}, ze.ALLOWED_NAMESPACES, b_) : hT, Sy = "ADD_URI_SAFE_ATTR" in ze ? gs(Yv(Fx), ze.ADD_URI_SAFE_ATTR, nc) : Fx, sb = "ADD_DATA_URI_TAGS" in ze ? gs(Yv(Cy), ze.ADD_DATA_URI_TAGS, nc) : Cy, h1 = "FORBID_CONTENTS" in ze ? gs({}, ze.FORBID_CONTENTS, nc) : Lx, Yt = "FORBID_TAGS" in ze ? gs({}, ze.FORBID_TAGS, nc) : {}, Rn = "FORBID_ATTR" in ze ? gs({}, ze.FORBID_ATTR, nc) : {}, pf = "USE_PROFILES" in ze ? ze.USE_PROFILES : !1, St = ze.ALLOW_ARIA_ATTR !== !1, $n = ze.ALLOW_DATA_ATTR !== !1, _o = ze.ALLOW_UNKNOWN_PROTOCOLS || !1, ks = ze.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ps = ze.SAFE_FOR_TEMPLATES || !1, Fa = ze.WHOLE_DOCUMENT || !1, ii = ze.RETURN_DOM || !1, _d = ze.RETURN_DOM_FRAGMENT || !1, Nn = ze.RETURN_TRUSTED_TYPE || !1, bg = ze.FORCE_BODY || !1, Po = ze.SANITIZE_DOM !== !1, Ms = ze.SANITIZE_NAMED_PROPS || !1, ur = ze.KEEP_CONTENT !== !1, Vi = ze.IN_PLACE || !1, $l = ze.ALLOWED_URI_REGEXP || F$, vg = ze.NAMESPACE || hm, lo = ze.CUSTOM_ELEMENT_HANDLING || {}, ze.CUSTOM_ELEMENT_HANDLING && zx(ze.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (lo.tagNameCheck = ze.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ze.CUSTOM_ELEMENT_HANDLING && zx(ze.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (lo.attributeNameCheck = ze.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ze.CUSTOM_ELEMENT_HANDLING && typeof ze.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (lo.allowCustomizedBuiltInElements = ze.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ps && ($n = !1), _d && (ii = !0), pf && (is = gs({}, [...$$]), en = [], pf.html === !0 && (gs(is, $3), gs(en, B3)), pf.svg === !0 && (gs(is, M3), gs(en, N3), gs(en, Lw)), pf.svgFilters === !0 && (gs(is, L0), gs(en, N3), gs(en, Lw)), pf.mathMl === !0 && (gs(is, P3), gs(en, M$), gs(en, Lw))), ze.ADD_TAGS && (is === Tt && (is = Yv(is)), gs(is, ze.ADD_TAGS, nc)), ze.ADD_ATTR && (en === jn && (en = Yv(en)), gs(en, ze.ADD_ATTR, nc)), ze.ADD_URI_SAFE_ATTR && gs(Sy, ze.ADD_URI_SAFE_ATTR, nc), ze.FORBID_CONTENTS && (h1 === Lx && (h1 = Yv(h1)), gs(h1, ze.FORBID_CONTENTS, nc)), ur && (is["#text"] = !0), Fa && gs(is, [
|
|
11541
11541
|
"html",
|
|
11542
11542
|
"head",
|
|
11543
11543
|
"body"
|
|
@@ -11587,7 +11587,7 @@ Required: ` + n.join(", "));
|
|
|
11587
11587
|
} catch {
|
|
11588
11588
|
ze.remove();
|
|
11589
11589
|
}
|
|
11590
|
-
},
|
|
11590
|
+
}, co = function(ze, Qt) {
|
|
11591
11591
|
try {
|
|
11592
11592
|
cg(n.removed, {
|
|
11593
11593
|
attribute: Qt.getAttributeNode(ze),
|
|
@@ -11655,7 +11655,7 @@ Required: ` + n.join(", "));
|
|
|
11655
11655
|
}), ze.hasChildNodes() && !b1(ze.firstElementChild) && (!b1(ze.content) || !b1(ze.content.firstElementChild)) && vd(/<[/\w]/g, ze.innerHTML) && vd(/<[/\w]/g, ze.textContent))
|
|
11656
11656
|
return rn(ze), !0;
|
|
11657
11657
|
if (!is[_n] || Yt[_n]) {
|
|
11658
|
-
if (!Yt[_n] && KO(_n) && (
|
|
11658
|
+
if (!Yt[_n] && KO(_n) && (lo.tagNameCheck instanceof RegExp && vd(lo.tagNameCheck, _n) || lo.tagNameCheck instanceof Function && lo.tagNameCheck(_n)))
|
|
11659
11659
|
return !1;
|
|
11660
11660
|
if (ur && !h1[_n]) {
|
|
11661
11661
|
const Hr = Se(ze) || ze.parentNode, Fc = ye(ze) || ze.childNodes;
|
|
@@ -11674,7 +11674,7 @@ Required: ` + n.join(", "));
|
|
|
11674
11674
|
if (!($n && !Rn[Qt] && vd(Zn, Qt))) {
|
|
11675
11675
|
if (!(St && vd(hs, Qt))) {
|
|
11676
11676
|
if (!en[Qt] || Rn[Qt]) {
|
|
11677
|
-
if (!(KO(ze) && (
|
|
11677
|
+
if (!(KO(ze) && (lo.tagNameCheck instanceof RegExp && vd(lo.tagNameCheck, ze) || lo.tagNameCheck instanceof Function && lo.tagNameCheck(ze)) && (lo.attributeNameCheck instanceof RegExp && vd(lo.attributeNameCheck, Qt) || lo.attributeNameCheck instanceof Function && lo.attributeNameCheck(Qt)) || Qt === "is" && lo.allowCustomizedBuiltInElements && (lo.tagNameCheck instanceof RegExp && vd(lo.tagNameCheck, _n) || lo.tagNameCheck instanceof Function && lo.tagNameCheck(_n)))) return !1;
|
|
11678
11678
|
} else if (!Sy[Qt]) {
|
|
11679
11679
|
if (!vd($l, sm(_n, Fr, ""))) {
|
|
11680
11680
|
if (!((Qt === "src" || Qt === "xlink:href" || Qt === "href") && ze !== "script" && D$(_n, "data:") === 0 && sb[ze])) {
|
|
@@ -11710,20 +11710,20 @@ Required: ` + n.join(", "));
|
|
|
11710
11710
|
if (Hr = nc(pm), Ha.attrName = Hr, Ha.attrValue = _n, Ha.keepAttr = !0, Ha.forceKeepAttr = void 0, kd("uponSanitizeAttribute", ze, Ha), _n = Ha.attrValue, Ha.forceKeepAttr)
|
|
11711
11711
|
continue;
|
|
11712
11712
|
if (!Ha.keepAttr) {
|
|
11713
|
-
|
|
11713
|
+
co(pm, ze);
|
|
11714
11714
|
continue;
|
|
11715
11715
|
}
|
|
11716
11716
|
if (!ks && vd(/\/>/i, _n)) {
|
|
11717
|
-
|
|
11717
|
+
co(pm, ze);
|
|
11718
11718
|
continue;
|
|
11719
11719
|
}
|
|
11720
11720
|
ps && (_n = sm(_n, Gt, " "), _n = sm(_n, ln, " "), _n = sm(_n, Kn, " "));
|
|
11721
11721
|
const XO = nc(ze.nodeName);
|
|
11722
11722
|
if (!bT(XO, Hr, _n)) {
|
|
11723
|
-
|
|
11723
|
+
co(pm, ze);
|
|
11724
11724
|
continue;
|
|
11725
11725
|
}
|
|
11726
|
-
if (Ms && (Hr === "id" || Hr === "name") && (
|
|
11726
|
+
if (Ms && (Hr === "id" || Hr === "name") && (co(pm, ze), _n = Qs + _n), Ce && typeof J == "object" && typeof J.getAttributeType == "function" && !vT)
|
|
11727
11727
|
switch (J.getAttributeType(XO, Hr)) {
|
|
11728
11728
|
case "TrustedHTML": {
|
|
11729
11729
|
_n = Ce.createHTML(_n);
|
|
@@ -11738,7 +11738,7 @@ Required: ` + n.join(", "));
|
|
|
11738
11738
|
try {
|
|
11739
11739
|
vT ? ze.setAttributeNS(vT, pm, _n) : ze.setAttribute(pm, _n);
|
|
11740
11740
|
} catch {
|
|
11741
|
-
|
|
11741
|
+
co(pm, ze);
|
|
11742
11742
|
}
|
|
11743
11743
|
}
|
|
11744
11744
|
kd("afterSanitizeAttributes", ze, null);
|
|
@@ -12830,26 +12830,26 @@ Required: ` + n.join(", "));
|
|
|
12830
12830
|
en.collapse(!!Tt), Pe(en);
|
|
12831
12831
|
}, Se = () => n.getSelection ? n.getSelection() : n.document.selection, Ce = () => {
|
|
12832
12832
|
let Tt;
|
|
12833
|
-
const en = (
|
|
12833
|
+
const en = (lo, Yt, Rn) => {
|
|
12834
12834
|
try {
|
|
12835
|
-
return Yt.compareBoundaryPoints(
|
|
12835
|
+
return Yt.compareBoundaryPoints(lo, Rn);
|
|
12836
12836
|
} catch {
|
|
12837
12837
|
return -1;
|
|
12838
12838
|
}
|
|
12839
12839
|
}, jn = n.document;
|
|
12840
12840
|
if (We(r.bookmark) && !Zp(r)) {
|
|
12841
|
-
const
|
|
12842
|
-
if (
|
|
12843
|
-
return
|
|
12841
|
+
const lo = f4(r);
|
|
12842
|
+
if (lo.isSome())
|
|
12843
|
+
return lo.map((Yt) => y4(r, [Yt])[0]).getOr(jn.createRange());
|
|
12844
12844
|
}
|
|
12845
12845
|
try {
|
|
12846
|
-
const
|
|
12847
|
-
|
|
12846
|
+
const lo = Se();
|
|
12847
|
+
lo && !_u(lo.anchorNode) && (lo.rangeCount > 0 ? Tt = lo.getRangeAt(0) : Tt = jn.createRange(), Tt = y4(r, [Tt])[0]);
|
|
12848
12848
|
} catch {
|
|
12849
12849
|
}
|
|
12850
12850
|
if (Tt || (Tt = jn.createRange()), Vg(Tt.startContainer) && Tt.collapsed) {
|
|
12851
|
-
const
|
|
12852
|
-
Tt.setStart(
|
|
12851
|
+
const lo = e.getRoot();
|
|
12852
|
+
Tt.setStart(lo, 0), Tt.setEnd(lo, 0);
|
|
12853
12853
|
}
|
|
12854
12854
|
return l && u && (en(Tt.START_TO_START, Tt, l) === 0 && en(Tt.END_TO_END, Tt, l) === 0 ? Tt = u : (l = null, u = null)), Tt;
|
|
12855
12855
|
}, Pe = (Tt, en) => {
|
|
@@ -12879,13 +12879,13 @@ Required: ` + n.join(", "));
|
|
|
12879
12879
|
const Tt = Se(), en = Tt == null ? void 0 : Tt.anchorNode, jn = Tt == null ? void 0 : Tt.focusNode;
|
|
12880
12880
|
if (!Tt || !en || !jn || _u(en) || _u(jn))
|
|
12881
12881
|
return !0;
|
|
12882
|
-
const
|
|
12882
|
+
const lo = e.createRng(), Yt = e.createRng();
|
|
12883
12883
|
try {
|
|
12884
|
-
|
|
12884
|
+
lo.setStart(en, Tt.anchorOffset), lo.collapse(!0), Yt.setStart(jn, Tt.focusOffset), Yt.collapse(!0);
|
|
12885
12885
|
} catch {
|
|
12886
12886
|
return !0;
|
|
12887
12887
|
}
|
|
12888
|
-
return
|
|
12888
|
+
return lo.compareBoundaryPoints(lo.START_TO_START, Yt) <= 0;
|
|
12889
12889
|
}, Fr = {
|
|
12890
12890
|
dom: e,
|
|
12891
12891
|
win: n,
|
|
@@ -12914,8 +12914,8 @@ Required: ` + n.join(", "));
|
|
|
12914
12914
|
const Tt = Ce(), en = Se();
|
|
12915
12915
|
if (!uh(en) && gv(r)) {
|
|
12916
12916
|
const jn = _(e, Tt);
|
|
12917
|
-
return jn.each((
|
|
12918
|
-
Pe(
|
|
12917
|
+
return jn.each((lo) => {
|
|
12918
|
+
Pe(lo, Ze());
|
|
12919
12919
|
}), jn.getOr(Tt);
|
|
12920
12920
|
}
|
|
12921
12921
|
return Tt;
|
|
@@ -17162,7 +17162,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
|
|
|
17162
17162
|
const r = new As(e, n), l = o ? r.next.bind(r) : r.prev.bind(r);
|
|
17163
17163
|
let u = e;
|
|
17164
17164
|
for (let f = o ? e : l(); f && !PU(f); f = l())
|
|
17165
|
-
|
|
17165
|
+
ao(f) && (u = f);
|
|
17166
17166
|
return u;
|
|
17167
17167
|
}, LU = (e, n, o) => {
|
|
17168
17168
|
const l = Ie.fromRangeStart(e).getNode(), u = IU(l, n, o), f = f6(l, u, !1), b = f6(l, u, !0), y = document.createRange();
|
|
@@ -17205,7 +17205,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
|
|
|
17205
17205
|
node: e.node,
|
|
17206
17206
|
position: HU(e, n) < VU(e, n) ? Y0.Before : Y0.After
|
|
17207
17207
|
}), Lk = (e, n, o) => n > e.left && n < e.right ? 0 : Math.min(Math.abs(e.left - n), Math.abs(e.right - n)), Fk = (e, n, o, r) => {
|
|
17208
|
-
const l = (B) =>
|
|
17208
|
+
const l = (B) => ao(B.node) ? z.some(B) : jt(B.node) ? Fk(wr(B.node.childNodes), n, o, !1) : z.none(), u = (B, F, J) => l(F).filter((ne) => Math.abs(J(B, n, o) - J(ne, n, o)) < 2 && ut(ne.node)), f = (B, F) => {
|
|
17209
17209
|
const J = qo(B, (ne, q) => F(ne, n, o) - F(q, n, o));
|
|
17210
17210
|
return Pl(J, l).map((ne) => r && !ut(ne.node) && J.length > 1 ? u(ne, J[1], F).getOr(ne) : ne);
|
|
17211
17211
|
}, [b, y] = ZU(kP(e), o), {
|
|
@@ -18134,10 +18134,10 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
|
|
|
18134
18134
|
const St = (Rn = Yt.dataTransfer) === null || Rn === void 0 ? void 0 : Rn.getData("text/html");
|
|
18135
18135
|
fe(St) && /^<img[^>]*>$/.test(St) && e.dispatch("dragend", new window.DragEvent("dragend", Yt));
|
|
18136
18136
|
});
|
|
18137
|
-
},
|
|
18137
|
+
}, lo = () => {
|
|
18138
18138
|
xt(), ne(), It.windowsPhone || Gt(), k && (oe(), Ce(), Ve(), Fr(), ot(), $l(), M ? (Kn(), Zn(), $s()) : q()), y && (ye(), Se(), Pe(), Ft(), Ze(), ln(), hs(), ot(), jn());
|
|
18139
18139
|
};
|
|
18140
|
-
return Ch(e) ? en() :
|
|
18140
|
+
return Ch(e) ? en() : lo(), {
|
|
18141
18141
|
refreshContentEditable: is,
|
|
18142
18142
|
isHidden: Tt
|
|
18143
18143
|
};
|
|
@@ -20299,7 +20299,7 @@ tinymce.IconManager.add("default", {
|
|
|
20299
20299
|
}, te = (t) => {
|
|
20300
20300
|
const s = typeof t;
|
|
20301
20301
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ie(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20302
|
-
}, ke = (t) => (s) => te(s) === t, ce = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => He(t) && ie(t, s, (a, c) => O(a) === c), Q = ke("string"), He = ke("object"), ht = (t) => Ae(t, Object), lt = ke("array"),
|
|
20302
|
+
}, ke = (t) => (s) => te(s) === t, ce = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => He(t) && ie(t, s, (a, c) => O(a) === c), Q = ke("string"), He = ke("object"), ht = (t) => Ae(t, Object), lt = ke("array"), wn = G(null), xn = ce("boolean"), Bo = G(void 0), us = (t) => t == null, Oo = (t) => !us(t), Rt = ce("function"), pr = ce("number"), dn = (t, s) => {
|
|
20303
20303
|
if (lt(t)) {
|
|
20304
20304
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20305
20305
|
if (!s(t[a]))
|
|
@@ -20672,7 +20672,7 @@ tinymce.IconManager.add("default", {
|
|
|
20672
20672
|
throw new Error("Body is not available yet");
|
|
20673
20673
|
return Ee.fromDom(s);
|
|
20674
20674
|
}, bu = (t, s, a) => {
|
|
20675
|
-
if (Q(a) ||
|
|
20675
|
+
if (Q(a) || xn(a) || pr(a))
|
|
20676
20676
|
t.setAttribute(s, a + "");
|
|
20677
20677
|
else
|
|
20678
20678
|
throw console.error("Invalid call to Attribute.set. Key ", s, ":: Value ", a, ":: Element ", t), new Error("Attribute value was not simple");
|
|
@@ -21347,7 +21347,7 @@ tinymce.IconManager.add("default", {
|
|
|
21347
21347
|
const s = on(t), a = ss(t, (d, g) => Qu(g, (p) => jo(d, { [p]: !0 }), se(d)), {});
|
|
21348
21348
|
return {
|
|
21349
21349
|
extract: (d, g) => {
|
|
21350
|
-
const p =
|
|
21350
|
+
const p = xn(g) ? [] : Ey(g), w = no(p, (C) => !Er(a, C));
|
|
21351
21351
|
return w.length === 0 ? s.extract(d, g) : he(d, w);
|
|
21352
21352
|
},
|
|
21353
21353
|
toString: s.toString
|
|
@@ -21402,7 +21402,7 @@ tinymce.IconManager.add("default", {
|
|
|
21402
21402
|
}, ku = Qr(_u, on), Mr = se(On), td = (t, s) => Kt((a) => {
|
|
21403
21403
|
const c = typeof a;
|
|
21404
21404
|
return t(a) ? ar.svalue(a) : ar.serror(`Expected type: ${s} but got: ${c}`);
|
|
21405
|
-
}), Fg = td(pr, "number"), va = td(Q, "string"), ru = td(
|
|
21405
|
+
}), Fg = td(pr, "number"), va = td(Q, "string"), ru = td(xn, "boolean"), Wh = td(Rt, "function"), Tu = (t) => {
|
|
21406
21406
|
if (Object(t) !== t)
|
|
21407
21407
|
return !0;
|
|
21408
21408
|
switch ({}.toString.call(t).slice(8, -1)) {
|
|
@@ -21586,7 +21586,7 @@ Required: ` + s.join(", "));
|
|
|
21586
21586
|
});
|
|
21587
21587
|
}
|
|
21588
21588
|
};
|
|
21589
|
-
}, Zr = se, Jc = Zr("touchstart"), Ef = Zr("touchmove"), Mm = Zr("touchend"), Mo = Zr("touchcancel"),
|
|
21589
|
+
}, Zr = se, Jc = Zr("touchstart"), Ef = Zr("touchmove"), Mm = Zr("touchend"), Mo = Zr("touchcancel"), ao = Zr("mousedown"), ya = Zr("mousemove"), il = Zr("mouseout"), k1 = Zr("mouseup"), od = Zr("mouseover"), ul = Zr("focusin"), Pm = Zr("focusout"), Du = Zr("keydown"), Af = Zr("keyup"), Zg = Zr("input"), jh = Zr("change"), Bm = Zr("click"), _T = Zr("transitioncancel"), jg = Zr("transitionend"), Ay = Zr("transitionstart"), qx = Zr("selectstart"), Pr = (t) => se("alloy." + t), Gh = { tap: Pr("tap") }, sd = Pr("focus"), Df = Pr("blur.post"), Gg = Pr("paste.post"), qg = Pr("receive"), Qc = Pr("execute"), hr = Pr("focus.item"), rd = Gh.tap, Dy = Pr("longpress"), T1 = Pr("sandbox.close"), bb = Pr("typeahead.cancel"), Of = Pr("system.init"), E1 = Pr("system.touchmove"), vb = Pr("system.touchend"), Fd = Pr("system.scroll"), ad = Pr("system.resize"), _i = Pr("system.attached"), Rf = Pr("system.detached"), $f = Pr("system.dismissRequested"), Kx = Pr("system.repositionRequested"), yb = Pr("focusmanager.shifted"), A1 = Pr("slotcontainer.visibility"), wb = Pr("system.external.element.scroll"), Yx = Pr("change.tab"), xb = Pr("dismiss.tab"), D1 = Pr("highlight"), O1 = Pr("dehighlight"), bo = (t, s) => {
|
|
21590
21590
|
R1(t, t.element, s, {});
|
|
21591
21591
|
}, cn = (t, s, a) => {
|
|
21592
21592
|
R1(t, t.element, s, a);
|
|
@@ -21907,7 +21907,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
21907
21907
|
"item-events",
|
|
21908
21908
|
"tooltipping"
|
|
21909
21909
|
],
|
|
21910
|
-
[
|
|
21910
|
+
[ao()]: [
|
|
21911
21911
|
"focusing",
|
|
21912
21912
|
ni,
|
|
21913
21913
|
"item-type-events"
|
|
@@ -24518,7 +24518,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24518
24518
|
},
|
|
24519
24519
|
events: (t) => Ds([Je(sd(), (s, a) => {
|
|
24520
24520
|
w4(s, t), a.stop();
|
|
24521
|
-
})].concat(t.stopMousedown ? [Je(
|
|
24521
|
+
})].concat(t.stopMousedown ? [Je(ao(), (s, a) => {
|
|
24522
24522
|
a.event.prevent();
|
|
24523
24523
|
})] : []))
|
|
24524
24524
|
}), jp = [
|
|
@@ -24616,7 +24616,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24616
24616
|
Je(Bm(), t),
|
|
24617
24617
|
Je(rd(), t),
|
|
24618
24618
|
Im(Jc()),
|
|
24619
|
-
Im(
|
|
24619
|
+
Im(ao())
|
|
24620
24620
|
];
|
|
24621
24621
|
}, of = (t) => {
|
|
24622
24622
|
const s = (a) => Ou((c, d) => {
|
|
@@ -26866,13 +26866,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26866
26866
|
processor: "string",
|
|
26867
26867
|
default: ""
|
|
26868
26868
|
}), c("menubar", {
|
|
26869
|
-
processor: (p) => Q(p) ||
|
|
26869
|
+
processor: (p) => Q(p) || xn(p),
|
|
26870
26870
|
default: !s
|
|
26871
26871
|
}), c("menu", {
|
|
26872
26872
|
processor: "object",
|
|
26873
26873
|
default: {}
|
|
26874
26874
|
}), c("toolbar", {
|
|
26875
|
-
processor: (p) =>
|
|
26875
|
+
processor: (p) => xn(p) || Q(p) || lt(p) ? {
|
|
26876
26876
|
value: p,
|
|
26877
26877
|
valid: !0
|
|
26878
26878
|
} : {
|
|
@@ -26931,7 +26931,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26931
26931
|
processor: "boolean",
|
|
26932
26932
|
default: !0
|
|
26933
26933
|
}), c("resize", {
|
|
26934
|
-
processor: (p) => p === "both" ||
|
|
26934
|
+
processor: (p) => p === "both" || xn(p),
|
|
26935
26935
|
default: !Pv.deviceType.isTouch()
|
|
26936
26936
|
}), c("sidebar_show", { processor: "string" }), c("help_accessibility", {
|
|
26937
26937
|
processor: "boolean",
|
|
@@ -28805,7 +28805,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28805
28805
|
behaviours: Ct([El.config({ useFixed: Dt })]),
|
|
28806
28806
|
events: Ds([
|
|
28807
28807
|
Im(Du()),
|
|
28808
|
-
Im(
|
|
28808
|
+
Im(ao()),
|
|
28809
28809
|
Im(Bm())
|
|
28810
28810
|
])
|
|
28811
28811
|
})
|
|
@@ -30032,7 +30032,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
30032
30032
|
overrides: (s) => s.model.manager.edgeActions[t].fold(() => ({}), (c) => ({
|
|
30033
30033
|
events: Ds([
|
|
30034
30034
|
Sb(Jc(), (d, g, p) => c(d, p), [s]),
|
|
30035
|
-
Sb(
|
|
30035
|
+
Sb(ao(), (d, g, p) => c(d, p), [s]),
|
|
30036
30036
|
Sb(ya(), (d, g, p) => {
|
|
30037
30037
|
p.mouseIsDown.get() && c(d, p);
|
|
30038
30038
|
}, [s])
|
|
@@ -30046,7 +30046,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
30046
30046
|
qh(Jc(), t, "spectrum"),
|
|
30047
30047
|
qh(Ef(), t, "spectrum"),
|
|
30048
30048
|
qh(Mm(), t, "spectrum"),
|
|
30049
|
-
qh(
|
|
30049
|
+
qh(ao(), t, "spectrum"),
|
|
30050
30050
|
qh(ya(), t, "spectrum"),
|
|
30051
30051
|
qh(k1(), t, "spectrum")
|
|
30052
30052
|
])
|
|
@@ -30071,7 +30071,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
30071
30071
|
events: Ds([
|
|
30072
30072
|
Je(Jc(), c),
|
|
30073
30073
|
Je(Ef(), c),
|
|
30074
|
-
Je(
|
|
30074
|
+
Je(ao(), c),
|
|
30075
30075
|
Je(ya(), (d, g) => {
|
|
30076
30076
|
t.mouseIsDown.get() && c(d, g);
|
|
30077
30077
|
})
|
|
@@ -30488,7 +30488,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
30488
30488
|
}),
|
|
30489
30489
|
Je(Jc(), pe),
|
|
30490
30490
|
Je(Mm(), Oe),
|
|
30491
|
-
Je(
|
|
30491
|
+
Je(ao(), (Xe, Ge) => {
|
|
30492
30492
|
dt(Xe), pe(Xe, Ge);
|
|
30493
30493
|
}),
|
|
30494
30494
|
Je(k1(), Oe)
|
|
@@ -31161,10 +31161,10 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
31161
31161
|
let a = null, c = null;
|
|
31162
31162
|
return {
|
|
31163
31163
|
cancel: () => {
|
|
31164
|
-
|
|
31164
|
+
wn(a) || (clearTimeout(a), a = null, c = null);
|
|
31165
31165
|
},
|
|
31166
31166
|
throttle: (...p) => {
|
|
31167
|
-
c = p,
|
|
31167
|
+
c = p, wn(a) && (a = setTimeout(() => {
|
|
31168
31168
|
const w = c;
|
|
31169
31169
|
a = null, c = null, t.apply(null, w);
|
|
31170
31170
|
}, s));
|
|
@@ -31174,10 +31174,10 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
31174
31174
|
let a = null;
|
|
31175
31175
|
return {
|
|
31176
31176
|
cancel: () => {
|
|
31177
|
-
|
|
31177
|
+
wn(a) || (clearTimeout(a), a = null);
|
|
31178
31178
|
},
|
|
31179
31179
|
throttle: (...g) => {
|
|
31180
|
-
|
|
31180
|
+
wn(a) && (a = setTimeout(() => {
|
|
31181
31181
|
a = null, t.apply(null, g);
|
|
31182
31182
|
}, s));
|
|
31183
31183
|
}
|
|
@@ -31185,7 +31185,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
31185
31185
|
}, Q_ = (t, s) => {
|
|
31186
31186
|
let a = null;
|
|
31187
31187
|
const c = () => {
|
|
31188
|
-
|
|
31188
|
+
wn(a) || (clearTimeout(a), a = null);
|
|
31189
31189
|
};
|
|
31190
31190
|
return {
|
|
31191
31191
|
cancel: c,
|
|
@@ -31418,7 +31418,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
31418
31418
|
"toolbar-button-events",
|
|
31419
31419
|
U0
|
|
31420
31420
|
],
|
|
31421
|
-
[
|
|
31421
|
+
[ao()]: [
|
|
31422
31422
|
"focusing",
|
|
31423
31423
|
"alloy.base.behaviour",
|
|
31424
31424
|
U0
|
|
@@ -33877,7 +33877,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
33877
33877
|
return bk(t).fold(Nt, (a) => s.fold(Dt, (c) => vs(c).length > 0 ? c : !1));
|
|
33878
33878
|
}, GB = (t, s) => {
|
|
33879
33879
|
const a = jB(t);
|
|
33880
|
-
return
|
|
33880
|
+
return xn(a) ? a ? bk(t) : A.none() : a[s] ? bk(t) : A.none();
|
|
33881
33881
|
}, DV = (t, s) => GB(t, s).map((a) => (c) => ec.nu((d) => {
|
|
33882
33882
|
const g = (w, C) => {
|
|
33883
33883
|
if (!Q(w))
|
|
@@ -34493,7 +34493,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
34493
34493
|
Wl("search", !1, jt([
|
|
34494
34494
|
ru,
|
|
34495
34495
|
on([Ia("placeholder")])
|
|
34496
|
-
], (t) =>
|
|
34496
|
+
], (t) => xn(t) ? t ? A.some({ placeholder: A.none() }) : A.none() : A.some(t))),
|
|
34497
34497
|
lu("fetch"),
|
|
34498
34498
|
sa("onSetup", () => fe)
|
|
34499
34499
|
], WD = on([
|
|
@@ -36840,7 +36840,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
36840
36840
|
g.map((w) => w.asSpec())
|
|
36841
36841
|
]),
|
|
36842
36842
|
eventOrder: {
|
|
36843
|
-
[
|
|
36843
|
+
[ao()]: [
|
|
36844
36844
|
"focusing",
|
|
36845
36845
|
"alloy.base.behaviour",
|
|
36846
36846
|
U0
|
|
@@ -36865,7 +36865,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
36865
36865
|
Ln.set(E, [r1(C.event.icon, d.icons)]);
|
|
36866
36866
|
});
|
|
36867
36867
|
}),
|
|
36868
|
-
Je(
|
|
36868
|
+
Je(ao(), (w, C) => {
|
|
36869
36869
|
C.event.prevent(), bo(w, bO);
|
|
36870
36870
|
})
|
|
36871
36871
|
])
|
|
@@ -37205,7 +37205,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
37205
37205
|
const xe = C.element;
|
|
37206
37206
|
g.mothership.broadcastOn([fd()], { target: xe }), vt(p, (pe) => {
|
|
37207
37207
|
pe.broadcastOn([fd()], { target: xe });
|
|
37208
|
-
}),
|
|
37208
|
+
}), wn(Rs.whichView(C)) && (t.focus(), t.nodeChanged(), Rs.refreshToolbar(C));
|
|
37209
37209
|
}
|
|
37210
37210
|
}), t.addQueryValueHandler("ToggleView", () => {
|
|
37211
37211
|
var ue;
|
|
@@ -38820,7 +38820,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
38820
38820
|
...t(s, a, c)
|
|
38821
38821
|
]);
|
|
38822
38822
|
}, SZ = (t) => Ds([
|
|
38823
|
-
Je(
|
|
38823
|
+
Je(ao(), t.forceDrop),
|
|
38824
38824
|
Je(k1(), t.drop),
|
|
38825
38825
|
Je(ya(), (s, a) => {
|
|
38826
38826
|
t.move(a.event);
|
|
@@ -38832,7 +38832,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
38832
38832
|
getData: (t) => A.from(No(t.x, t.y)),
|
|
38833
38833
|
getDelta: (t, s) => No(s.left - t.left, s.top - t.top)
|
|
38834
38834
|
});
|
|
38835
|
-
const p8 = (t, s, a) => [Je(
|
|
38835
|
+
const p8 = (t, s, a) => [Je(ao(), (c, d) => {
|
|
38836
38836
|
if (d.event.raw.button !== 0)
|
|
38837
38837
|
return;
|
|
38838
38838
|
d.stop();
|
|
@@ -40060,7 +40060,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40060
40060
|
active: $s,
|
|
40061
40061
|
apis: $l,
|
|
40062
40062
|
state: en
|
|
40063
|
-
}),
|
|
40063
|
+
}), lo = (t) => {
|
|
40064
40064
|
const s = [], a = {};
|
|
40065
40065
|
return ms(t, (c, d) => {
|
|
40066
40066
|
c.fold(() => {
|
|
@@ -40096,7 +40096,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40096
40096
|
}),
|
|
40097
40097
|
Ii.memento(c),
|
|
40098
40098
|
wP(c, {
|
|
40099
|
-
postprocess: (d) =>
|
|
40099
|
+
postprocess: (d) => lo(d).fold((g) => (console.error(g), {}), Bn)
|
|
40100
40100
|
}),
|
|
40101
40101
|
zn("dialog-body-panel", [Je(ul(), (d, g) => {
|
|
40102
40102
|
d.getSystem().broadcastOn([cy], { newFocus: A.some(g.event.target) });
|
|
@@ -40360,7 +40360,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40360
40360
|
};
|
|
40361
40361
|
}, Fx = "send-data-to-section", rb = "send-data-to-view", ab = (t, s, a) => {
|
|
40362
40362
|
const c = fn({}), d = (E) => {
|
|
40363
|
-
const R = Ht.getValue(E), N =
|
|
40363
|
+
const R = Ht.getValue(E), N = lo(R).getOr({}), H = c.get(), W = jo(H, N);
|
|
40364
40364
|
c.set(W);
|
|
40365
40365
|
}, g = (E) => {
|
|
40366
40366
|
const R = c.get();
|
|
@@ -40728,7 +40728,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40728
40728
|
onUnblock: () => {
|
|
40729
40729
|
Gr.setIdle(t());
|
|
40730
40730
|
}
|
|
40731
|
-
}),
|
|
40731
|
+
}), co = "tox-dialog--fullscreen", or = "tox-dialog--width-lg", ui = "tox-dialog--width-md", Ja = (t) => {
|
|
40732
40732
|
switch (t) {
|
|
40733
40733
|
case "large":
|
|
40734
40734
|
return A.some(or);
|
|
@@ -40739,14 +40739,14 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40739
40739
|
}
|
|
40740
40740
|
}, b1 = (t, s) => {
|
|
40741
40741
|
const a = Ee.fromDom(s.element.dom);
|
|
40742
|
-
ra(a,
|
|
40742
|
+
ra(a, co) || (ki(a, [
|
|
40743
40743
|
or,
|
|
40744
40744
|
ui
|
|
40745
40745
|
]), Ja(t).each((c) => Br(a, c)));
|
|
40746
40746
|
}, kd = (t, s) => {
|
|
40747
40747
|
const a = Ee.fromDom(t.element.dom), c = rp(a), d = qe(c, (g) => g === or || g === ui).or(Ja(s));
|
|
40748
40748
|
Zy(a, [
|
|
40749
|
-
|
|
40749
|
+
co,
|
|
40750
40750
|
...d.toArray()
|
|
40751
40751
|
]);
|
|
40752
40752
|
}, qO = (t, s, a) => kl(zx({
|
|
@@ -41138,7 +41138,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
41138
41138
|
t.setContent(a.content);
|
|
41139
41139
|
break;
|
|
41140
41140
|
case "execCommand":
|
|
41141
|
-
const c =
|
|
41141
|
+
const c = xn(a.ui) ? a.ui : !1;
|
|
41142
41142
|
t.execCommand(a.cmd, c, a.value);
|
|
41143
41143
|
break;
|
|
41144
41144
|
case "close":
|
|
@@ -41481,7 +41481,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
41481
41481
|
}, te = (i) => {
|
|
41482
41482
|
const m = typeof i;
|
|
41483
41483
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && ie(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
41484
|
-
}, ke = (i) => (m) => te(m) === i, ce = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = ke("string"), Q = ke("object"), He = ke("array"), ht = G(null), lt = ce("boolean"),
|
|
41484
|
+
}, ke = (i) => (m) => te(m) === i, ce = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = ke("string"), Q = ke("object"), He = ke("array"), ht = G(null), lt = ce("boolean"), wn = G(void 0), xn = (i) => i == null, Bo = (i) => !xn(i), us = ce("function"), Oo = ce("number"), Rt = () => {
|
|
41485
41485
|
}, pr = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, kt = (i) => i, Qr = (i, m) => i === m;
|
|
41486
41486
|
function Qn(i, ...m) {
|
|
41487
41487
|
return (...h) => {
|
|
@@ -41984,7 +41984,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
41984
41984
|
return m;
|
|
41985
41985
|
}, Dd = (i, m) => i != null ? m(i) : ge.none(), $h = (i, m) => i ? ge.some(m) : ge.none(), Mh = (i, m, h) => m === "" || i.length >= m.length && i.substr(h, h + m.length) === m, No = (i, m, h = 0, v) => {
|
|
41986
41986
|
const _ = i.indexOf(m, h);
|
|
41987
|
-
return _ !== -1 ?
|
|
41987
|
+
return _ !== -1 ? wn(v) ? !0 : _ + m.length <= v : !1;
|
|
41988
41988
|
}, Wc = (i, m) => Mh(i, m, 0), Qi = (i, m) => Mh(i, m, i.length - m.length), ac = ((i) => (m) => m.replace(i, ""))(/^\s+|\s+$/g), xm = (i) => i.length > 0, uo = (i) => {
|
|
41989
41989
|
const m = parseFloat(i);
|
|
41990
41990
|
return isNaN(m) ? ge.none() : ge.some(m);
|
|
@@ -42710,7 +42710,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
42710
42710
|
const de = ta(ee);
|
|
42711
42711
|
return ns(Z, de), de;
|
|
42712
42712
|
}, m);
|
|
42713
|
-
}).getOr(m),
|
|
42713
|
+
}).getOr(m), ao = (i, m) => {
|
|
42714
42714
|
Fo(Tf, (h, v) => ia(i, v).filter((_) => Xn(h, _)).each((_) => Zs(m, v, _)));
|
|
42715
42715
|
}, ya = (i, m, h) => {
|
|
42716
42716
|
const v = (L, Z) => {
|
|
@@ -42732,7 +42732,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
42732
42732
|
"p",
|
|
42733
42733
|
"div"
|
|
42734
42734
|
]), de = ee.length > 0 ? Mo(L.element, Z, ee) : Z;
|
|
42735
|
-
return ns(de, Ee.fromTag("br")), v(L, Z),
|
|
42735
|
+
return ns(de, Ee.fromTag("br")), v(L, Z), ao(L.element, Z), i(L.element, Z), Z;
|
|
42736
42736
|
};
|
|
42737
42737
|
return {
|
|
42738
42738
|
col: (L) => {
|
|
@@ -45724,7 +45724,7 @@ Required: ` + m.join(", "));
|
|
|
45724
45724
|
}, te = (S) => {
|
|
45725
45725
|
const $ = typeof S;
|
|
45726
45726
|
return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && ie(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
|
|
45727
|
-
}, ke = (S) => ($) => te($) === S, ce = (S) => ($) => typeof $ === S, G = ke("string"), Ae = ke("object"), Q = ke("array"), He = ce("boolean"), ht = (S) => S == null, lt = (S) => !ht(S),
|
|
45727
|
+
}, ke = (S) => ($) => te($) === S, ce = (S) => ($) => typeof $ === S, G = ke("string"), Ae = ke("object"), Q = ke("array"), He = ce("boolean"), ht = (S) => S == null, lt = (S) => !ht(S), wn = ce("function"), xn = ce("number"), Bo = () => {
|
|
45728
45728
|
}, us = (S, $) => (U) => S($(U)), Oo = (S) => () => S, Rt = (S, $) => S === $;
|
|
45729
45729
|
function pr(S, ...$) {
|
|
45730
45730
|
return (...U) => {
|
|
@@ -45866,7 +45866,7 @@ Required: ` + m.join(", "));
|
|
|
45866
45866
|
const $ = Qr.call(S, 0);
|
|
45867
45867
|
return $.reverse(), $;
|
|
45868
45868
|
}, Me = (S, $) => $ >= 0 && $ < S.length ? kt.some(S[$]) : kt.none(), nn = (S) => Me(S, 0), zo = (S) => Me(S, S.length - 1), to = (S, $) => {
|
|
45869
|
-
const U = [], ae =
|
|
45869
|
+
const U = [], ae = wn($) ? (he) => In(U, (it) => $(it, he)) : (he) => ds(U, he);
|
|
45870
45870
|
for (let he = 0, it = S.length; he < it; he++) {
|
|
45871
45871
|
const Kt = S[he];
|
|
45872
45872
|
ae(Kt) || U.push(Kt);
|
|
@@ -45933,7 +45933,7 @@ Required: ` + m.join(", "));
|
|
|
45933
45933
|
}, ms = (S) => S.dom.nodeName.toLowerCase(), qo = (S) => S.dom.nodeType, wc = (S) => ($) => qo($) === S, Jn = (S) => qo(S) === z || ms(S) === "#comment", ys = (S) => wr(S) && ji(S.dom), wr = wc(ss), Pl = wc(Uo), di = wc(el), Qo = wc(no), Gi = (S) => ($) => wr($) && ms($) === S, yt = (S) => vn.fromDom(S.dom.ownerDocument), ho = (S) => di(S) ? S : yt(S), Er = (S) => kt.from(S.dom.parentNode).map(vn.fromDom), Aa = (S) => kt.from(S.dom.parentElement).map(vn.fromDom), Bl = (S) => kt.from(S.dom.nextSibling).map(vn.fromDom), Da = (S) => We(S.dom.childNodes, vn.fromDom), es = (S, $) => {
|
|
45934
45934
|
const U = S.dom.childNodes;
|
|
45935
45935
|
return kt.from(U[$]).map(vn.fromDom);
|
|
45936
|
-
}, tl = (S) => es(S, 0), bl = (S) => es(S, S.dom.childNodes.length - 1), Yo = (S) => Qo(S) && lt(S.dom.host), Ar =
|
|
45936
|
+
}, tl = (S) => es(S, 0), bl = (S) => es(S, S.dom.childNodes.length - 1), Yo = (S) => Qo(S) && lt(S.dom.host), Ar = wn(Element.prototype.attachShadow) && wn(Node.prototype.getRootNode) ? (S) => vn.fromDom(S.dom.getRootNode()) : ho, Nl = (S) => {
|
|
45937
45937
|
const $ = Ar(S);
|
|
45938
45938
|
return Yo($) ? kt.some($) : kt.none();
|
|
45939
45939
|
}, Hc = (S) => vn.fromDom(S.dom.host), mi = (S) => {
|
|
@@ -45943,10 +45943,10 @@ Required: ` + m.join(", "));
|
|
|
45943
45943
|
const U = $.ownerDocument;
|
|
45944
45944
|
return Nl(vn.fromDom($)).fold(() => U.body.contains($), us(mi, Hc));
|
|
45945
45945
|
};
|
|
45946
|
-
var xr = (S, $, U, ae, he) => S(U, ae) ? kt.some(U) :
|
|
45946
|
+
var xr = (S, $, U, ae, he) => S(U, ae) ? kt.some(U) : wn(he) && he(U) ? kt.none() : $(U, ae, he);
|
|
45947
45947
|
const mr = (S, $, U) => {
|
|
45948
45948
|
let ae = S.dom;
|
|
45949
|
-
const he =
|
|
45949
|
+
const he = wn(U) ? U : fe;
|
|
45950
45950
|
for (; ae.parentNode; ) {
|
|
45951
45951
|
ae = ae.parentNode;
|
|
45952
45952
|
const it = vn.fromDom(ae);
|
|
@@ -46009,7 +46009,7 @@ Required: ` + m.join(", "));
|
|
|
46009
46009
|
const U = {};
|
|
46010
46010
|
return Yi(S, $, nl(U), Bo), U;
|
|
46011
46011
|
}, Es = (S, $, U) => {
|
|
46012
|
-
if (G(U) || He(U) ||
|
|
46012
|
+
if (G(U) || He(U) || xn(U))
|
|
46013
46013
|
S.setAttribute($, U + "");
|
|
46014
46014
|
else
|
|
46015
46015
|
throw console.error("Invalid call to Attribute.set. Key ", $, ":: Value ", U, ":: Element ", S), new Error("Attribute value was not simple");
|
|
@@ -46156,7 +46156,7 @@ Required: ` + m.join(", "));
|
|
|
46156
46156
|
}, Us = (S, $, U) => S.dispatch("ListMutation", {
|
|
46157
46157
|
action: $,
|
|
46158
46158
|
element: U
|
|
46159
|
-
}), $h = ((S) => ($) => $.replace(S, ""))(/^\s+|\s+$/g), Mh = (S) => S.length > 0, No = (S) => !Mh(S), Wc = (S) => S.style !== void 0 &&
|
|
46159
|
+
}), $h = ((S) => ($) => $.replace(S, ""))(/^\s+|\s+$/g), Mh = (S) => S.length > 0, No = (S) => !Mh(S), Wc = (S) => S.style !== void 0 && wn(S.style.getPropertyValue), Qi = (S, $, U) => {
|
|
46160
46160
|
if (!G(U))
|
|
46161
46161
|
throw console.error("Invalid call to CSS.set. Property ", $, ":: Value ", U, ":: Element ", S), new Error("CSS value must be a string: " + U);
|
|
46162
46162
|
Wc(S) && S.style.setProperty($, U);
|
|
@@ -46872,7 +46872,7 @@ Required: ` + m.join(", "));
|
|
|
46872
46872
|
}, te = (j) => {
|
|
46873
46873
|
const me = typeof j;
|
|
46874
46874
|
return j === null ? "null" : me === "object" && Array.isArray(j) ? "array" : me === "object" && ie(j, String, (Te, Ne) => Ne.isPrototypeOf(Te)) ? "string" : me;
|
|
46875
|
-
}, ke = (j) => (me) => te(me) === j, ce = (j) => (me) => typeof me === j, G = (j) => (me) => j === me, Ae = ke("string"), Q = ke("object"), He = ke("array"), ht = G(null), lt = ce("boolean"),
|
|
46875
|
+
}, ke = (j) => (me) => te(me) === j, ce = (j) => (me) => typeof me === j, G = (j) => (me) => j === me, Ae = ke("string"), Q = ke("object"), He = ke("array"), ht = G(null), lt = ce("boolean"), wn = (j) => j == null, xn = (j) => !wn(j), Bo = ce("function"), us = (j, me) => {
|
|
46876
46876
|
if (He(j)) {
|
|
46877
46877
|
for (let Te = 0, Ne = j.length; Te < Ne; ++Te)
|
|
46878
46878
|
if (!me(j[Te]))
|
|
@@ -46934,7 +46934,7 @@ Required: ` + m.join(", "));
|
|
|
46934
46934
|
throw new Error(me ?? "Called getOrDie on None");
|
|
46935
46935
|
}
|
|
46936
46936
|
static from(me) {
|
|
46937
|
-
return
|
|
46937
|
+
return xn(me) ? dn.some(me) : dn.none();
|
|
46938
46938
|
}
|
|
46939
46939
|
getOrNull() {
|
|
46940
46940
|
return this.tag ? this.value : null;
|
|
@@ -47081,7 +47081,7 @@ Required: ` + m.join(", "));
|
|
|
47081
47081
|
return Tr(j, me, Vt(Te), Oo), Te;
|
|
47082
47082
|
}, Va = (j, me) => vn.call(j, me), bs = (j, me) => Va(j, me) && j[me] !== void 0 && j[me] !== null;
|
|
47083
47083
|
var vr = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"), yc = tinymce.util.Tools.resolve("tinymce.util.URI");
|
|
47084
|
-
const yr = (j) =>
|
|
47084
|
+
const yr = (j) => xn(j) && j.nodeName.toLowerCase() === "a", er = (j) => yr(j) && !!ms(j), vs = (j, me) => {
|
|
47085
47085
|
if (j.collapsed)
|
|
47086
47086
|
return [];
|
|
47087
47087
|
{
|
|
@@ -47107,7 +47107,7 @@ Required: ` + m.join(", "));
|
|
|
47107
47107
|
return !1;
|
|
47108
47108
|
const mt = j.selection.getRng();
|
|
47109
47109
|
return mt.collapsed ? !0 : vs(mt, Te).length === 0;
|
|
47110
|
-
}, ho = (j) =>
|
|
47110
|
+
}, ho = (j) => xn(j) && j.nodeName === "FIGURE" && /\bimage\b/i.test(j.className), Er = (j) => ds([
|
|
47111
47111
|
"title",
|
|
47112
47112
|
"rel",
|
|
47113
47113
|
"class",
|
|
@@ -47629,8 +47629,8 @@ Required: ` + m.join(", "));
|
|
|
47629
47629
|
}, ke = (I) => {
|
|
47630
47630
|
const Y = typeof I;
|
|
47631
47631
|
return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && te(I, String, (re, Le) => Le.isPrototypeOf(re)) ? "string" : Y;
|
|
47632
|
-
}, ce = (I) => (Y) => ke(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => ht(I) && te(I, Y, (re, Le) => ie(re) === Le), He = ce("string"), ht = ce("object"), lt = (I) => Q(I, Object),
|
|
47633
|
-
if (
|
|
47632
|
+
}, ce = (I) => (Y) => ke(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => ht(I) && te(I, Y, (re, Le) => ie(re) === Le), He = ce("string"), ht = ce("object"), lt = (I) => Q(I, Object), wn = ce("array"), xn = Ae(null), Bo = G("boolean"), us = (I) => I == null, Oo = (I) => !us(I), Rt = G("function"), pr = G("number"), dn = (I, Y) => {
|
|
47633
|
+
if (wn(I)) {
|
|
47634
47634
|
for (let re = 0, Le = I.length; re < Le; ++re)
|
|
47635
47635
|
if (!Y(I[re]))
|
|
47636
47636
|
return !1;
|
|
@@ -47728,7 +47728,7 @@ Required: ` + m.join(", "));
|
|
|
47728
47728
|
}, We = (I, Y) => Qn.call(I, Y), ge = (I, Y) => We(I, Y) && I[Y] !== void 0 && I[Y] !== null, os = Array.prototype.push, Nt = (I) => {
|
|
47729
47729
|
const Y = [];
|
|
47730
47730
|
for (let re = 0, Le = I.length; re < Le; ++re) {
|
|
47731
|
-
if (!
|
|
47731
|
+
if (!wn(I[re]))
|
|
47732
47732
|
throw new Error("Arr.flatten item " + re + " was not an array, input: " + I);
|
|
47733
47733
|
os.apply(Y, I[re]);
|
|
47734
47734
|
}
|
|
@@ -47959,7 +47959,7 @@ Required: ` + m.join(", "));
|
|
|
47959
47959
|
const Le = et.fromDom(I);
|
|
47960
47960
|
eo(Le, "alt", "");
|
|
47961
47961
|
} else {
|
|
47962
|
-
if (
|
|
47962
|
+
if (xn(Y)) {
|
|
47963
47963
|
const Le = et.fromDom(I);
|
|
47964
47964
|
st(Le, "alt");
|
|
47965
47965
|
} else {
|
|
@@ -48498,7 +48498,7 @@ Required: ` + m.join(", "));
|
|
|
48498
48498
|
}, te = (x) => {
|
|
48499
48499
|
const T = typeof x;
|
|
48500
48500
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && ie(x, String, (V, K) => K.isPrototypeOf(V)) ? "string" : T;
|
|
48501
|
-
}, ke = (x) => (T) => te(T) === x, ce = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = ke("string"), Q = ke("array"), He = ce("boolean"), ht = G(void 0), lt = (x) => x == null,
|
|
48501
|
+
}, ke = (x) => (T) => te(T) === x, ce = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = ke("string"), Q = ke("array"), He = ce("boolean"), ht = G(void 0), lt = (x) => x == null, wn = (x) => !lt(x), xn = ce("function"), Bo = ce("number"), us = () => {
|
|
48502
48502
|
}, Oo = (x, T) => (V) => x(T(V)), Rt = (x) => () => x, pr = (x) => x, dn = (x, T) => x === T;
|
|
48503
48503
|
function fe(x, ...T) {
|
|
48504
48504
|
return (...V) => {
|
|
@@ -48561,7 +48561,7 @@ Required: ` + m.join(", "));
|
|
|
48561
48561
|
throw new Error(T ?? "Called getOrDie on None");
|
|
48562
48562
|
}
|
|
48563
48563
|
static from(T) {
|
|
48564
|
-
return
|
|
48564
|
+
return wn(T) ? se.some(T) : se.none();
|
|
48565
48565
|
}
|
|
48566
48566
|
getOrNull() {
|
|
48567
48567
|
return this.tag ? this.value : null;
|
|
@@ -48741,7 +48741,7 @@ Required: ` + m.join(", "));
|
|
|
48741
48741
|
}, Qo = (x, T) => x.dom === T.dom, Gi = ys;
|
|
48742
48742
|
typeof window < "u" || Function("return this;")();
|
|
48743
48743
|
const yt = (x) => x.dom.nodeName.toLowerCase(), ho = (x) => x.dom.nodeType, Er = (x) => (T) => ho(T) === x, Aa = (x) => ho(x) === bs || yt(x) === "#comment", Bl = Er(yr), Da = Er(er), es = Er(vr), tl = Er(yc), bl = (x) => (T) => Bl(T) && yt(T) === x, Yo = (x) => Jn.fromDom(x.dom.ownerDocument), gn = (x) => es(x) ? x : Yo(x), Ar = (x) => se.from(x.dom.parentNode).map(Jn.fromDom), Nl = (x, T) => {
|
|
48744
|
-
const V =
|
|
48744
|
+
const V = xn(T) ? T : Qr;
|
|
48745
48745
|
let K = x.dom;
|
|
48746
48746
|
const ve = [];
|
|
48747
48747
|
for (; K.parentNode !== null && K.parentNode !== void 0; ) {
|
|
@@ -48754,7 +48754,7 @@ Required: ` + m.join(", "));
|
|
|
48754
48754
|
}, Hc = (x) => se.from(x.dom.previousSibling).map(Jn.fromDom), mi = (x) => se.from(x.dom.nextSibling).map(Jn.fromDom), xr = (x) => vt(x.dom.childNodes, Jn.fromDom), mr = (x, T) => {
|
|
48755
48755
|
const V = x.dom.childNodes;
|
|
48756
48756
|
return se.from(V[T]).map(Jn.fromDom);
|
|
48757
|
-
}, Zs = (x) => mr(x, 0), vl = (x) => tl(x) &&
|
|
48757
|
+
}, Zs = (x) => mr(x, 0), vl = (x) => tl(x) && wn(x.dom.host), Vr = xn(Element.prototype.attachShadow) && xn(Node.prototype.getRootNode) ? (x) => Jn.fromDom(x.dom.getRootNode()) : gn, ia = (x) => {
|
|
48758
48758
|
const T = Vr(x);
|
|
48759
48759
|
return vl(T) ? se.some(T) : se.none();
|
|
48760
48760
|
}, Fs = (x) => Jn.fromDom(x.dom.host), Dr = (x) => {
|
|
@@ -48764,10 +48764,10 @@ Required: ` + m.join(", "));
|
|
|
48764
48764
|
const V = T.ownerDocument;
|
|
48765
48765
|
return ia(Jn.fromDom(T)).fold(() => V.body.contains(T), Oo(Dr, Fs));
|
|
48766
48766
|
};
|
|
48767
|
-
var sc = (x, T, V, K, ve) => x(V, K) ? se.some(V) :
|
|
48767
|
+
var sc = (x, T, V, K, ve) => x(V, K) ? se.some(V) : xn(ve) && ve(V) ? se.none() : T(V, K, ve);
|
|
48768
48768
|
const Vc = (x, T, V) => {
|
|
48769
48769
|
let K = x.dom;
|
|
48770
|
-
const ve =
|
|
48770
|
+
const ve = xn(V) ? V : Qr;
|
|
48771
48771
|
for (; K.parentNode; ) {
|
|
48772
48772
|
K = K.parentNode;
|
|
48773
48773
|
const je = Jn.fromDom(K);
|
|
@@ -48815,7 +48815,7 @@ Required: ` + m.join(", "));
|
|
|
48815
48815
|
}, Sc = (x) => {
|
|
48816
48816
|
const T = parseFloat(x);
|
|
48817
48817
|
return isNaN(T) ? se.none() : se.some(T);
|
|
48818
|
-
}, hi = (x) => x.style !== void 0 &&
|
|
48818
|
+
}, hi = (x) => x.style !== void 0 && xn(x.style.getPropertyValue), pu = (x, T, V) => {
|
|
48819
48819
|
if (!Ae(V))
|
|
48820
48820
|
throw console.error("Invalid call to CSS.set. Property ", T, ":: Value ", V, ":: Element ", x), new Error("CSS value must be a string: " + V);
|
|
48821
48821
|
hi(x) && x.style.setProperty(T, V);
|
|
@@ -50051,7 +50051,7 @@ Required: ` + T.join(", "));
|
|
|
50051
50051
|
return K.concat(ve).concat(je).concat(pt).concat(Mt);
|
|
50052
50052
|
}, hb = (x, T, V, K) => {
|
|
50053
50053
|
if (T.tagName === "TD" || T.tagName === "TH")
|
|
50054
|
-
Ae(V) &&
|
|
50054
|
+
Ae(V) && wn(K) ? x.setStyle(T, V, K) : x.setStyles(T, V);
|
|
50055
50055
|
else if (T.children)
|
|
50056
50056
|
for (let ve = 0; ve < T.children.length; ve++)
|
|
50057
50057
|
hb(x, T.children[ve], V, K);
|
|
@@ -50175,7 +50175,7 @@ Required: ` + T.join(", "));
|
|
|
50175
50175
|
}), Om = (x) => {
|
|
50176
50176
|
const T = Qu(se.none()), V = Qu([]);
|
|
50177
50177
|
let K = se.none();
|
|
50178
|
-
const ve = bl("caption"), je = (Mo) => K.forall((
|
|
50178
|
+
const ve = bl("caption"), je = (Mo) => K.forall((ao) => !ao[Mo]), pt = () => na(Es(x), nl(x)), Mt = () => na(za(x), nl(x)), sn = () => pt().bind((Mo) => ma(Or($t(Mo), Mt().bind($t), (ao, ya) => Qo(ao, ya) ? ve(Mo) ? se.some(Ia(Mo)) : se.some(_1(al(x), ao, Mo)) : se.none()))), Vn = (Mo) => $t(Mo.element).map((ya) => {
|
|
50179
50179
|
const il = Wc.fromTable(ya), k1 = Ws(il, Mo).getOr([]), od = Zi(k1, (ul, Pm) => (Pm.isLocked && (ul.onAny = !0, Pm.column === 0 ? ul.onFirst = !0 : Pm.column + Pm.colspan >= il.grid.columns && (ul.onLast = !0)), ul), {
|
|
50180
50180
|
onAny: !1,
|
|
50181
50181
|
onFirst: !1,
|
|
@@ -50189,16 +50189,16 @@ Required: ` + T.join(", "));
|
|
|
50189
50189
|
}), lr = () => {
|
|
50190
50190
|
T.set(it(sn)()), K = T.get().bind(Vn), z(V.get(), kt);
|
|
50191
50191
|
}, Io = (Mo) => (Mo(), V.set(V.get().concat([Mo])), () => {
|
|
50192
|
-
V.set(ss(V.get(), (
|
|
50193
|
-
}), Is = (Mo,
|
|
50192
|
+
V.set(ss(V.get(), (ao) => ao !== Mo));
|
|
50193
|
+
}), Is = (Mo, ao) => Io(() => T.get().fold(() => {
|
|
50194
50194
|
Mo.setEnabled(!1);
|
|
50195
50195
|
}, (ya) => {
|
|
50196
|
-
Mo.setEnabled(!
|
|
50197
|
-
})), mc = (Mo,
|
|
50196
|
+
Mo.setEnabled(!ao(ya) && x.selection.isEditable());
|
|
50197
|
+
})), mc = (Mo, ao, ya) => Io(() => T.get().fold(() => {
|
|
50198
50198
|
Mo.setEnabled(!1), Mo.setActive(!1);
|
|
50199
50199
|
}, (il) => {
|
|
50200
|
-
Mo.setEnabled(!
|
|
50201
|
-
})), Gl = (Mo) => K.exists((
|
|
50200
|
+
Mo.setEnabled(!ao(il) && x.selection.isEditable()), Mo.setActive(ya(il));
|
|
50201
|
+
})), Gl = (Mo) => K.exists((ao) => ao.locked[Mo]), Xc = (Mo) => Is(Mo, (ao) => !1), Ld = (Mo) => Is(Mo, (ao) => ve(ao.element)), cu = (Mo) => (ao) => Is(ao, (ya) => ve(ya.element) || Gl(Mo)), Ug = (Mo) => (ao) => Is(ao, (ya) => ve(ya.element) || Mo().isNone()), Tf = (Mo, ao) => (ya) => Is(ya, (il) => ve(il.element) || Mo().isNone() || Gl(ao)), $m = (Mo) => Is(Mo, (ao) => je("mergeable")), Wg = (Mo) => Is(Mo, (ao) => je("unmergeable")), Zr = (Mo) => mc(Mo, Qr, (ao) => $t(ao.element, nl(x)).exists((il) => Ac(il, "caption"))), Jc = (Mo, ao) => (ya) => mc(ya, (il) => ve(il.element), () => x.queryCommandValue(Mo) === ao), Ef = Jc("mceTableRowType", "header"), Mm = Jc("mceTableColType", "th");
|
|
50202
50202
|
return x.on("NodeChange ExecCommand TableSelectorChange", lr), {
|
|
50203
50203
|
onSetupTable: Xc,
|
|
50204
50204
|
onSetupCellOrRow: Ld,
|
|
@@ -50236,12 +50236,12 @@ Required: ` + T.join(", "));
|
|
|
50236
50236
|
const V = (Mt) => () => x.execCommand(Mt), K = (Mt, sn) => {
|
|
50237
50237
|
x.queryCommandSupported(sn.command) && x.ui.registry.addButton(Mt, {
|
|
50238
50238
|
...sn,
|
|
50239
|
-
onAction:
|
|
50239
|
+
onAction: xn(sn.onAction) ? sn.onAction : V(sn.command)
|
|
50240
50240
|
});
|
|
50241
50241
|
}, ve = (Mt, sn) => {
|
|
50242
50242
|
x.queryCommandSupported(sn.command) && x.ui.registry.addToggleButton(Mt, {
|
|
50243
50243
|
...sn,
|
|
50244
|
-
onAction:
|
|
50244
|
+
onAction: xn(sn.onAction) ? sn.onAction : V(sn.command)
|
|
50245
50245
|
});
|
|
50246
50246
|
};
|
|
50247
50247
|
K("tableprops", {
|
|
@@ -50424,11 +50424,11 @@ Required: ` + T.join(", "));
|
|
|
50424
50424
|
}, jl = (x, T) => {
|
|
50425
50425
|
const V = (Io) => () => x.execCommand(Io), K = (Io, Is) => x.queryCommandSupported(Is.command) ? (x.ui.registry.addMenuItem(Io, {
|
|
50426
50426
|
...Is,
|
|
50427
|
-
onAction:
|
|
50427
|
+
onAction: xn(Is.onAction) ? Is.onAction : V(Is.command)
|
|
50428
50428
|
}), !0) : !1, ve = (Io, Is) => {
|
|
50429
50429
|
x.queryCommandSupported(Is.command) && x.ui.registry.addToggleMenuItem(Io, {
|
|
50430
50430
|
...Is,
|
|
50431
|
-
onAction:
|
|
50431
|
+
onAction: xn(Is.onAction) ? Is.onAction : V(Is.command)
|
|
50432
50432
|
});
|
|
50433
50433
|
}, je = (Io) => {
|
|
50434
50434
|
x.execCommand("mceInsertTable", !1, {
|
|
@@ -50764,11 +50764,11 @@ Required: ` + T.join(", "));
|
|
|
50764
50764
|
new RegExp(Ae.katakana),
|
|
50765
50765
|
new RegExp(Ae.extendnumlet),
|
|
50766
50766
|
new RegExp("@")
|
|
50767
|
-
], ht = "", lt = new RegExp("^" + Ae.punctuation + "$"),
|
|
50767
|
+
], ht = "", lt = new RegExp("^" + Ae.punctuation + "$"), wn = /^\s+$/, xn = He, Bo = Q.OTHER, us = (qe) => {
|
|
50768
50768
|
let Ot = Bo;
|
|
50769
|
-
const Ke =
|
|
50769
|
+
const Ke = xn.length;
|
|
50770
50770
|
for (let _e = 0; _e < Ke; ++_e) {
|
|
50771
|
-
const vn =
|
|
50771
|
+
const vn = xn[_e];
|
|
50772
50772
|
if (vn && vn.test(qe)) {
|
|
50773
50773
|
Ot = _e;
|
|
50774
50774
|
break;
|
|
@@ -50797,7 +50797,7 @@ Required: ` + T.join(", "));
|
|
|
50797
50797
|
return !1;
|
|
50798
50798
|
const Go = qe[Ot - 1];
|
|
50799
50799
|
return (Ke === Q.MIDLETTER || Ke === Q.MIDNUMLET || _e === Q.AT) && _e === Q.ALETTER && Go === Q.ALETTER || (Ke === Q.NUMERIC || Ke === Q.ALETTER) && (_e === Q.NUMERIC || _e === Q.ALETTER) || (Ke === Q.MIDNUM || Ke === Q.MIDNUMLET) && _e === Q.NUMERIC && Go === Q.NUMERIC || Ke === Q.NUMERIC && (_e === Q.MIDNUM || _e === Q.MIDNUMLET) && vn === Q.NUMERIC || (Ke === Q.EXTEND || Ke === Q.FORMAT) && (_e === Q.ALETTER || _e === Q.NUMERIC || _e === Q.KATAKANA || _e === Q.EXTEND || _e === Q.FORMAT) || (_e === Q.EXTEND || _e === Q.FORMAT && (vn === Q.ALETTER || vn === Q.NUMERIC || vn === Q.KATAKANA || vn === Q.EXTEND || vn === Q.FORMAT)) && (Ke === Q.ALETTER || Ke === Q.NUMERIC || Ke === Q.KATAKANA || Ke === Q.EXTEND || Ke === Q.FORMAT) || Ke === Q.CR && _e === Q.LF ? !1 : Ke === Q.NEWLINE || Ke === Q.CR || Ke === Q.LF || _e === Q.NEWLINE || _e === Q.CR || _e === Q.LF ? !0 : !(Ke === Q.KATAKANA && _e === Q.KATAKANA || _e === Q.EXTENDNUMLET && (Ke === Q.ALETTER || Ke === Q.NUMERIC || Ke === Q.KATAKANA || Ke === Q.EXTENDNUMLET) || Ke === Q.EXTENDNUMLET && (_e === Q.ALETTER || _e === Q.NUMERIC || _e === Q.KATAKANA) || Ke === Q.AT);
|
|
50800
|
-
}, dn = ht, fe =
|
|
50800
|
+
}, dn = ht, fe = wn, kt = lt, Qr = (qe) => qe === "http" || qe === "https", Qn = (qe, Ot) => {
|
|
50801
50801
|
let Ke;
|
|
50802
50802
|
for (Ke = Ot; Ke < qe.length && !fe.test(qe[Ke]); Ke++)
|
|
50803
50803
|
;
|
|
@@ -51014,7 +51014,7 @@ const BQ = { class: "font-bold ptext-lg dark:text-white" }, NQ = ["id"], IQ = /*
|
|
|
51014
51014
|
ce("update:modelValue", ht);
|
|
51015
51015
|
}
|
|
51016
51016
|
});
|
|
51017
|
-
return ie({ focus: () => G.value.focus() }), (ht, lt) => (be(), we(
|
|
51017
|
+
return ie({ focus: () => G.value.focus() }), (ht, lt) => (be(), we(ro, null, [
|
|
51018
51018
|
O.show ? (be(), we("div", {
|
|
51019
51019
|
key: 0,
|
|
51020
51020
|
class: an(O.field_name)
|
|
@@ -51046,8 +51046,8 @@ const BQ = { class: "font-bold ptext-lg dark:text-white" }, NQ = ["id"], IQ = /*
|
|
|
51046
51046
|
"gl-textarea-form-invalid mt-4": O.error_message !== ""
|
|
51047
51047
|
}]),
|
|
51048
51048
|
type: O.type,
|
|
51049
|
-
"onUpdate:modelValue": lt[0] || (lt[0] = (
|
|
51050
|
-
onKeydown: lt[1] || (lt[1] = (
|
|
51049
|
+
"onUpdate:modelValue": lt[0] || (lt[0] = (wn) => He.value = wn),
|
|
51050
|
+
onKeydown: lt[1] || (lt[1] = (wn) => ht.$emit("keydown", wn)),
|
|
51051
51051
|
ref_key: "input",
|
|
51052
51052
|
ref: G,
|
|
51053
51053
|
rows: "4"
|
|
@@ -51279,7 +51279,7 @@ function nee(O, ie, te, ke, ce, G) {
|
|
|
51279
51279
|
])
|
|
51280
51280
|
], 16, KQ)
|
|
51281
51281
|
], 2)) : ft("", !0),
|
|
51282
|
-
(be(!0), we(
|
|
51282
|
+
(be(!0), we(ro, null, dr(Q.computed.pageRange, (He, ht) => (be(), we("li", {
|
|
51283
51283
|
class: an(["", { active: He == Q.computed.currentPage }]),
|
|
51284
51284
|
key: ht
|
|
51285
51285
|
}, [
|
|
@@ -51421,7 +51421,7 @@ const sq = /* @__PURE__ */ qr(UQ, [["render", nee]]), oee = {
|
|
|
51421
51421
|
"clip-rule": "evenodd"
|
|
51422
51422
|
})
|
|
51423
51423
|
])
|
|
51424
|
-
], -1), fee = {
|
|
51424
|
+
], -1), fee = { class: "grid grid-cols-1 xl:grid-cols-2 gap-4" }, gee = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, hee = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-5 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, pee = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, bee = ["onClick"], vee = {
|
|
51425
51425
|
key: 0,
|
|
51426
51426
|
class: "ml-2"
|
|
51427
51427
|
}, yee = {
|
|
@@ -51509,49 +51509,51 @@ function Aee(O, ie, te, ke, ce, G) {
|
|
|
51509
51509
|
])
|
|
51510
51510
|
])
|
|
51511
51511
|
]),
|
|
51512
|
-
(
|
|
51513
|
-
|
|
51514
|
-
lt.hasOwnFilter.
|
|
51515
|
-
|
|
51516
|
-
|
|
51517
|
-
|
|
51518
|
-
|
|
51519
|
-
|
|
51520
|
-
|
|
51521
|
-
|
|
51522
|
-
|
|
51523
|
-
|
|
51524
|
-
|
|
51525
|
-
|
|
51526
|
-
|
|
51527
|
-
|
|
51528
|
-
|
|
51529
|
-
|
|
51530
|
-
|
|
51531
|
-
|
|
51532
|
-
|
|
51533
|
-
|
|
51534
|
-
|
|
51535
|
-
|
|
51536
|
-
|
|
51537
|
-
|
|
51538
|
-
|
|
51539
|
-
|
|
51540
|
-
|
|
51541
|
-
|
|
51542
|
-
|
|
51543
|
-
|
|
51544
|
-
|
|
51545
|
-
|
|
51546
|
-
|
|
51547
|
-
|
|
51512
|
+
P("div", fee, [
|
|
51513
|
+
(be(!0), we(ro, null, dr(te.columns, (lt, wn) => (be(), we(ro, { key: wn }, [
|
|
51514
|
+
lt.hasOwnFilter && Object.keys(lt.hasOwnFilter).length > 0 ? (be(), we(ro, { key: 0 }, [
|
|
51515
|
+
lt.hasOwnFilter.type == "dropdown" ? (be(), Oh(Q, {
|
|
51516
|
+
key: 0,
|
|
51517
|
+
has_cancel: !0,
|
|
51518
|
+
options: lt.hasOwnFilter.options,
|
|
51519
|
+
modelValue: ce.dynamicFilters[lt.field_name],
|
|
51520
|
+
"onUpdate:modelValue": (xn) => ce.dynamicFilters[lt.field_name] = xn,
|
|
51521
|
+
is_required: !1,
|
|
51522
|
+
field_name: lt.field_name,
|
|
51523
|
+
label_name: lt.field_label,
|
|
51524
|
+
show: !1,
|
|
51525
|
+
placeholder: "Please select an option"
|
|
51526
|
+
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ft("", !0),
|
|
51527
|
+
lt.hasOwnFilter.type == "text" ? (be(), Oh(He, {
|
|
51528
|
+
key: 1,
|
|
51529
|
+
type: "text",
|
|
51530
|
+
is_required: !1,
|
|
51531
|
+
show: !1,
|
|
51532
|
+
modelValue: ce.dynamicFilters[lt.field_name],
|
|
51533
|
+
"onUpdate:modelValue": (xn) => ce.dynamicFilters[lt.field_name] = xn,
|
|
51534
|
+
field_name: lt.field_name,
|
|
51535
|
+
label_name: lt.field_label
|
|
51536
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ft("", !0),
|
|
51537
|
+
lt.hasOwnFilter.type == "date" ? (be(), Oh(He, {
|
|
51538
|
+
key: 2,
|
|
51539
|
+
type: "date",
|
|
51540
|
+
is_required: !1,
|
|
51541
|
+
show: !1,
|
|
51542
|
+
modelValue: ce.dynamicFilters[lt.field_name],
|
|
51543
|
+
"onUpdate:modelValue": (xn) => ce.dynamicFilters[lt.field_name] = xn,
|
|
51544
|
+
field_name: lt.field_name,
|
|
51545
|
+
label_name: lt.field_label
|
|
51546
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ft("", !0)
|
|
51547
|
+
], 64)) : ft("", !0)
|
|
51548
|
+
], 64))), 128))
|
|
51549
|
+
]),
|
|
51548
51550
|
P("div", gee, [
|
|
51549
51551
|
P("table", hee, [
|
|
51550
51552
|
P("thead", pee, [
|
|
51551
51553
|
P("tr", null, [
|
|
51552
|
-
(be(!0), we(
|
|
51553
|
-
key:
|
|
51554
|
-
onClick: (
|
|
51554
|
+
(be(!0), we(ro, null, dr(te.columns, (lt, wn) => (be(), we("th", {
|
|
51555
|
+
key: wn,
|
|
51556
|
+
onClick: (xn) => G.updateSortColumn(lt.field_name, lt.sortable),
|
|
51555
51557
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
51556
51558
|
}, [
|
|
51557
51559
|
ko(gt(lt.field_label) + " ", 1),
|
|
@@ -51567,30 +51569,30 @@ function Aee(O, ie, te, ke, ce, G) {
|
|
|
51567
51569
|
colspan: te.columns.length
|
|
51568
51570
|
}, _ee, 8, Cee)
|
|
51569
51571
|
])) : ft("", !0),
|
|
51570
|
-
ce.isLoading ? ft("", !0) : (be(!0), we(
|
|
51571
|
-
key:
|
|
51572
|
+
ce.isLoading ? ft("", !0) : (be(!0), we(ro, { key: 1 }, dr(ce.itemLists.data, (lt, wn) => (be(), we("tr", {
|
|
51573
|
+
key: wn,
|
|
51572
51574
|
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"
|
|
51573
51575
|
}, [
|
|
51574
|
-
(be(!0), we(
|
|
51576
|
+
(be(!0), we(ro, null, dr(te.columns, (xn, Bo) => (be(), we("td", {
|
|
51575
51577
|
key: Bo,
|
|
51576
|
-
"data-label":
|
|
51578
|
+
"data-label": xn.field_label,
|
|
51577
51579
|
class: an(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[0.3px] dark:border-gray-700", {
|
|
51578
51580
|
"rounded-t-lg lg:rounded-t-none": Bo === 0,
|
|
51579
51581
|
"rounded-b-lg lg:rounded-b-none": Bo === te.columns.length - 1
|
|
51580
51582
|
}])
|
|
51581
51583
|
}, [
|
|
51582
51584
|
P("div", Tee, [
|
|
51583
|
-
|
|
51585
|
+
xn.tdComp ? (be(), Oh(o5(G.forDynCompIs(xn.tdComp)), {
|
|
51584
51586
|
key: 0,
|
|
51585
51587
|
row: lt,
|
|
51586
|
-
field:
|
|
51588
|
+
field: xn.field_name,
|
|
51587
51589
|
xprops: te.xprops,
|
|
51588
|
-
tdProps:
|
|
51590
|
+
tdProps: xn.tdProps,
|
|
51589
51591
|
onDeleteAction: ie[3] || (ie[3] = (us) => G.GetItemLists()),
|
|
51590
51592
|
onEditAction: (us) => G.editAction(lt),
|
|
51591
51593
|
onGeneralAction: (us) => G.generalAction(lt)
|
|
51592
|
-
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (be(), we(
|
|
51593
|
-
ko(gt(lt[
|
|
51594
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (be(), we(ro, { key: 1 }, [
|
|
51595
|
+
ko(gt(lt[xn.field_name]), 1)
|
|
51594
51596
|
], 64))
|
|
51595
51597
|
])
|
|
51596
51598
|
], 10, kee))), 128))
|
|
@@ -51863,7 +51865,7 @@ function yte(O, ie, te, ke, ce, G) {
|
|
|
51863
51865
|
P("table", Hee, [
|
|
51864
51866
|
P("thead", Vee, [
|
|
51865
51867
|
P("tr", null, [
|
|
51866
|
-
(be(!0), we(
|
|
51868
|
+
(be(!0), we(ro, null, dr(te.columns, (Q, He) => (be(), we("th", {
|
|
51867
51869
|
key: He,
|
|
51868
51870
|
onClick: (ht) => G.sort(Q.field_name, Q.sortable),
|
|
51869
51871
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
@@ -51881,11 +51883,11 @@ function yte(O, ie, te, ke, ce, G) {
|
|
|
51881
51883
|
colspan: te.columns.length
|
|
51882
51884
|
}, Kee, 8, Gee)
|
|
51883
51885
|
])) : ft("", !0),
|
|
51884
|
-
ce.isLoading ? ft("", !0) : (be(!0), we(
|
|
51886
|
+
ce.isLoading ? ft("", !0) : (be(!0), we(ro, { key: 1 }, dr(G.paginatedData, (Q, He) => (be(), we("tr", {
|
|
51885
51887
|
key: He,
|
|
51886
51888
|
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"
|
|
51887
51889
|
}, [
|
|
51888
|
-
(be(!0), we(
|
|
51890
|
+
(be(!0), we(ro, null, dr(te.columns, (ht, lt) => (be(), we("td", {
|
|
51889
51891
|
key: lt,
|
|
51890
51892
|
"data-label": ht.field_label,
|
|
51891
51893
|
class: an(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[0.3px] dark:border-gray-700", {
|
|
@@ -51900,10 +51902,10 @@ function yte(O, ie, te, ke, ce, G) {
|
|
|
51900
51902
|
field: ht.field_name,
|
|
51901
51903
|
xprops: te.xprops,
|
|
51902
51904
|
tdProps: ht.tdProps,
|
|
51903
|
-
onDeleteAction: ie[2] || (ie[2] = (
|
|
51904
|
-
onEditAction: (
|
|
51905
|
-
onGeneralAction: (
|
|
51906
|
-
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (be(), we(
|
|
51905
|
+
onDeleteAction: ie[2] || (ie[2] = (wn) => G.GetItemLists()),
|
|
51906
|
+
onEditAction: (wn) => G.editAction(Q),
|
|
51907
|
+
onGeneralAction: (wn) => G.generalAction(Q)
|
|
51908
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (be(), we(ro, { key: 1 }, [
|
|
51907
51909
|
ko(gt(Q[ht.field_name]), 1)
|
|
51908
51910
|
], 64))
|
|
51909
51911
|
])
|
|
@@ -51950,7 +51952,7 @@ function yte(O, ie, te, ke, ce, G) {
|
|
|
51950
51952
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
51951
51953
|
}, mte, 8, ite)
|
|
51952
51954
|
]),
|
|
51953
|
-
(be(!0), we(
|
|
51955
|
+
(be(!0), we(ro, null, dr(G.displayedPageNumbers, (Q) => (be(), we(ro, { key: Q }, [
|
|
51954
51956
|
P("li", null, [
|
|
51955
51957
|
ce.currentPage !== Q ? (be(), we("a", {
|
|
51956
51958
|
key: 0,
|
|
@@ -52185,7 +52187,7 @@ function jte(O, ie, te, ke, ce, G) {
|
|
|
52185
52187
|
P("table", Rte, [
|
|
52186
52188
|
P("thead", $te, [
|
|
52187
52189
|
P("tr", null, [
|
|
52188
|
-
(be(!0), we(
|
|
52190
|
+
(be(!0), we(ro, null, dr(te.columns, (He, ht) => (be(), we("th", {
|
|
52189
52191
|
key: ht,
|
|
52190
52192
|
onClick: (lt) => G.updateSortColumn(He.field_name, He.sortable),
|
|
52191
52193
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
@@ -52203,33 +52205,33 @@ function jte(O, ie, te, ke, ce, G) {
|
|
|
52203
52205
|
colspan: te.columns.length
|
|
52204
52206
|
}, Hte, 8, Lte)
|
|
52205
52207
|
])) : ft("", !0),
|
|
52206
|
-
ce.isLoading ? ft("", !0) : (be(!0), we(
|
|
52208
|
+
ce.isLoading ? ft("", !0) : (be(!0), we(ro, { key: 1 }, dr(G.groupedItems, (He, ht) => (be(), we(ro, null, [
|
|
52207
52209
|
P("tr", Vte, [
|
|
52208
52210
|
P("td", {
|
|
52209
52211
|
colspan: te.columns.length,
|
|
52210
52212
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
52211
52213
|
}, gt(ht), 9, zte)
|
|
52212
52214
|
]),
|
|
52213
|
-
(be(!0), we(
|
|
52214
|
-
key:
|
|
52215
|
+
(be(!0), we(ro, null, dr(He, (lt, wn) => (be(), we("tr", {
|
|
52216
|
+
key: wn,
|
|
52215
52217
|
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"
|
|
52216
52218
|
}, [
|
|
52217
|
-
(be(!0), we(
|
|
52219
|
+
(be(!0), we(ro, null, dr(te.columns, (xn, Bo) => (be(), we("td", {
|
|
52218
52220
|
key: Bo,
|
|
52219
|
-
"data-label":
|
|
52221
|
+
"data-label": xn.field_label,
|
|
52220
52222
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
52221
52223
|
}, [
|
|
52222
52224
|
P("div", Wte, [
|
|
52223
|
-
|
|
52225
|
+
xn.tdComp ? (be(), Oh(o5(G.forDynCompIs(xn.tdComp)), {
|
|
52224
52226
|
key: 0,
|
|
52225
52227
|
row: lt,
|
|
52226
|
-
field:
|
|
52228
|
+
field: xn.field_name,
|
|
52227
52229
|
xprops: te.xprops,
|
|
52228
|
-
tdProps:
|
|
52230
|
+
tdProps: xn.tdProps,
|
|
52229
52231
|
onDeleteAction: ie[3] || (ie[3] = (us) => G.GetItemLists()),
|
|
52230
52232
|
onEditAction: (us) => G.editAction(lt)
|
|
52231
|
-
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (be(), we(
|
|
52232
|
-
ko(gt(lt[
|
|
52233
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (be(), we(ro, { key: 1 }, [
|
|
52234
|
+
ko(gt(lt[xn.field_name]), 1)
|
|
52233
52235
|
], 64))
|
|
52234
52236
|
])
|
|
52235
52237
|
], 8, Ute))), 128))
|
|
@@ -52433,7 +52435,7 @@ function Mne(O, ie, te, ke, ce, G) {
|
|
|
52433
52435
|
P("table", sne, [
|
|
52434
52436
|
P("thead", rne, [
|
|
52435
52437
|
P("tr", null, [
|
|
52436
|
-
(be(!0), we(
|
|
52438
|
+
(be(!0), we(ro, null, dr(te.columns, (Q, He) => (be(), we("th", {
|
|
52437
52439
|
key: He,
|
|
52438
52440
|
onClick: oc((ht) => G.sort(Q), ["prevent"]),
|
|
52439
52441
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
@@ -52446,11 +52448,11 @@ function Mne(O, ie, te, ke, ce, G) {
|
|
|
52446
52448
|
])
|
|
52447
52449
|
]),
|
|
52448
52450
|
P("tbody", null, [
|
|
52449
|
-
(be(!0), we(
|
|
52451
|
+
(be(!0), we(ro, null, dr(G.paginatedData, (Q, He) => (be(), we("tr", {
|
|
52450
52452
|
key: He,
|
|
52451
52453
|
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"
|
|
52452
52454
|
}, [
|
|
52453
|
-
(be(!0), we(
|
|
52455
|
+
(be(!0), we(ro, null, dr(te.columns, (ht, lt) => (be(), we("td", {
|
|
52454
52456
|
key: lt,
|
|
52455
52457
|
"data-label": ht,
|
|
52456
52458
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
|
|
@@ -52502,7 +52504,7 @@ function Mne(O, ie, te, ke, ce, G) {
|
|
|
52502
52504
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52503
52505
|
}, Tne, 8, Sne)
|
|
52504
52506
|
]),
|
|
52505
|
-
(be(!0), we(
|
|
52507
|
+
(be(!0), we(ro, null, dr(G.displayedPageNumbers, (Q) => (be(), we(ro, { key: Q }, [
|
|
52506
52508
|
P("li", null, [
|
|
52507
52509
|
ce.currentPage !== Q ? (be(), we("a", {
|
|
52508
52510
|
key: 0,
|
|
@@ -52568,8 +52570,8 @@ const ole = /* @__PURE__ */ qr(Gte, [["render", Mne]]), Pne = {
|
|
|
52568
52570
|
11: "November",
|
|
52569
52571
|
12: "December",
|
|
52570
52572
|
"*": "every month"
|
|
52571
|
-
}, He = this.convertField(ie, "minute", 59), ht = this.convertField(te, "hour", 23), lt = this.convertField(ke, "day of the month", 31),
|
|
52572
|
-
return `Runs ${He} ${ht} ${lt} ${
|
|
52573
|
+
}, He = this.convertField(ie, "minute", 59), ht = this.convertField(te, "hour", 23), lt = this.convertField(ke, "day of the month", 31), wn = this.convertField(ce, "month", 12, Q), xn = this.convertField(G, "day", 6, Ae);
|
|
52574
|
+
return `Runs ${He} ${ht} ${lt} ${wn} on ${xn}.`;
|
|
52573
52575
|
},
|
|
52574
52576
|
convertField(O, ie, te, ke = {}) {
|
|
52575
52577
|
if (O === "*") return `every ${ie}`;
|
|
@@ -52648,9 +52650,9 @@ const rle = /* @__PURE__ */ qr(Lne, [["render", Fne]]), Hne = {
|
|
|
52648
52650
|
const O = Eo(!1), ie = eq("accordionsWrapper"), ke = (() => {
|
|
52649
52651
|
var ht = (/* @__PURE__ */ new Date()).getTime();
|
|
52650
52652
|
typeof performance < "u" && typeof performance.now == "function" && (ht += performance.now());
|
|
52651
|
-
var lt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(
|
|
52652
|
-
var
|
|
52653
|
-
return ht = Math.floor(ht / 16), (
|
|
52653
|
+
var lt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(wn) {
|
|
52654
|
+
var xn = (ht + Math.random() * 16) % 16 | 0;
|
|
52655
|
+
return ht = Math.floor(ht / 16), (wn === "x" ? xn : xn & 3 | 8).toString(16);
|
|
52654
52656
|
});
|
|
52655
52657
|
return lt;
|
|
52656
52658
|
})(), ce = { isOpen: O, id: ke }, G = vc(() => ie.accordions.value), Ae = vc(() => G.value.length > 0 && G.value[0].id === ke), Q = vc(() => G.value.length > 0 && G.value[G.value.length - 1].id === ke);
|
|
@@ -52831,7 +52833,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
52831
52833
|
class: "fixed z-[1060] w-full max-w-xs space-y-4 top-4 right-4"
|
|
52832
52834
|
}, {
|
|
52833
52835
|
default: U8(() => [
|
|
52834
|
-
(be(!0), we(
|
|
52836
|
+
(be(!0), we(ro, null, dr(Nq(s5).state.items, (ce, G) => (be(), Oh(moe, {
|
|
52835
52837
|
key: ce.key,
|
|
52836
52838
|
message: ce.message,
|
|
52837
52839
|
type: ce.type,
|
|
@@ -52899,19 +52901,19 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
52899
52901
|
type: "success",
|
|
52900
52902
|
duration: 5e3
|
|
52901
52903
|
});
|
|
52902
|
-
}).catch((
|
|
52903
|
-
console.log(
|
|
52904
|
+
}).catch((wn) => {
|
|
52905
|
+
console.log(wn);
|
|
52904
52906
|
});
|
|
52905
52907
|
};
|
|
52906
|
-
return (
|
|
52908
|
+
return (wn, xn) => {
|
|
52907
52909
|
const Bo = nq("click-outside");
|
|
52908
|
-
return be(), we(
|
|
52910
|
+
return be(), we(ro, null, [
|
|
52909
52911
|
ub($j, {
|
|
52910
52912
|
isOpen: ce.value,
|
|
52911
52913
|
onConfirmDelete: lt,
|
|
52912
52914
|
onCancelDelete: Q
|
|
52913
52915
|
}, null, 8, ["isOpen"]),
|
|
52914
|
-
O.row &&
|
|
52916
|
+
O.row && wn.can(`edit_${O.xprops.permission} || delete_${O.xprops.permission}`) ? Qa((be(), we("div", foe, [
|
|
52915
52917
|
P("button", {
|
|
52916
52918
|
onClick: Ae,
|
|
52917
52919
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -52919,7 +52921,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
52919
52921
|
}, hoe),
|
|
52920
52922
|
Qa(P("div", poe, [
|
|
52921
52923
|
P("ul", boe, [
|
|
52922
|
-
|
|
52924
|
+
wn.can(`edit_${O.xprops.permission}`) ? (be(), we("li", voe, [
|
|
52923
52925
|
P("a", {
|
|
52924
52926
|
href: O.xprops.route + "/" + O.row.id + "/edit",
|
|
52925
52927
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
@@ -52928,7 +52930,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
52928
52930
|
ko(" Edit")
|
|
52929
52931
|
], 8, yoe)
|
|
52930
52932
|
])) : ft("", !0),
|
|
52931
|
-
|
|
52933
|
+
wn.can(`delete_${O.xprops.permission}`) ? (be(), we("li", xoe, [
|
|
52932
52934
|
P("a", {
|
|
52933
52935
|
href: "#",
|
|
52934
52936
|
onClick: oc(He, ["prevent"]),
|
|
@@ -53005,19 +53007,19 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
53005
53007
|
type: "success",
|
|
53006
53008
|
duration: 5e3
|
|
53007
53009
|
});
|
|
53008
|
-
}).catch((
|
|
53009
|
-
console.log(
|
|
53010
|
+
}).catch((wn) => {
|
|
53011
|
+
console.log(wn);
|
|
53010
53012
|
});
|
|
53011
53013
|
};
|
|
53012
|
-
return (
|
|
53014
|
+
return (wn, xn) => {
|
|
53013
53015
|
const Bo = nq("click-outside");
|
|
53014
|
-
return be(), we(
|
|
53016
|
+
return be(), we(ro, null, [
|
|
53015
53017
|
ub($j, {
|
|
53016
53018
|
isOpen: ce.value,
|
|
53017
53019
|
onConfirmDelete: lt,
|
|
53018
53020
|
onCancelDelete: Q
|
|
53019
53021
|
}, null, 8, ["isOpen"]),
|
|
53020
|
-
O.row &&
|
|
53022
|
+
O.row && wn.can(`delete_${O.xprops.permission}`) ? Qa((be(), we("div", Soe, [
|
|
53021
53023
|
P("button", {
|
|
53022
53024
|
onClick: Ae,
|
|
53023
53025
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -53025,7 +53027,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
53025
53027
|
}, koe),
|
|
53026
53028
|
Qa(P("div", Toe, [
|
|
53027
53029
|
P("ul", Eoe, [
|
|
53028
|
-
|
|
53030
|
+
wn.can(`delete_${O.xprops.permission}`) ? (be(), we("li", Aoe, [
|
|
53029
53031
|
P("a", {
|
|
53030
53032
|
href: "#",
|
|
53031
53033
|
onClick: oc(He, ["prevent"]),
|
|
@@ -53100,7 +53102,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
53100
53102
|
], -1);
|
|
53101
53103
|
function Noe(O, ie, te, ke, ce, G) {
|
|
53102
53104
|
return be(), we("div", null, [
|
|
53103
|
-
G.isArray ? (be(!0), we(
|
|
53105
|
+
G.isArray ? (be(!0), we(ro, { key: 0 }, dr(te.row, (Ae, Q) => (be(), we("div", {
|
|
53104
53106
|
key: Q,
|
|
53105
53107
|
class: "m-1 d-inline-block"
|
|
53106
53108
|
}, [
|
|
@@ -53175,7 +53177,7 @@ const ule = /* @__PURE__ */ qr(Ooe, [["render", Noe]]), Ioe = {
|
|
|
53175
53177
|
})
|
|
53176
53178
|
], -1);
|
|
53177
53179
|
function Uoe(O, ie, te, ke, ce, G) {
|
|
53178
|
-
return G.isArray ? (be(!0), we(
|
|
53180
|
+
return G.isArray ? (be(!0), we(ro, { key: 0 }, dr(te.row[te.field], (Ae) => (be(), we("div", {
|
|
53179
53181
|
key: Ae.id,
|
|
53180
53182
|
class: "m-1 d-inline-block"
|
|
53181
53183
|
}, [
|
|
@@ -53234,7 +53236,7 @@ const mle = /* @__PURE__ */ qr(Woe, [["render", Goe]]), qoe = {
|
|
|
53234
53236
|
};
|
|
53235
53237
|
function Xoe(O, ie, te, ke, ce, G) {
|
|
53236
53238
|
return this.row[this.entry.key] ? (be(), we("div", Koe, [
|
|
53237
|
-
G.isArray ? (be(!0), we(
|
|
53239
|
+
G.isArray ? (be(!0), we(ro, { key: 0 }, dr(te.row[G.entry.key], (Ae, Q) => (be(), we("span", {
|
|
53238
53240
|
key: Q,
|
|
53239
53241
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53240
53242
|
}, gt(Ae[G.entry.field]), 1))), 128)) : G.isObject ? (be(), we("span", Yoe, gt(te.row[G.entry.key][G.entry.field]), 1)) : ft("", !0)
|
|
@@ -53265,7 +53267,7 @@ const fle = /* @__PURE__ */ qr(qoe, [["render", Xoe]]), Joe = {
|
|
|
53265
53267
|
};
|
|
53266
53268
|
function tse(O, ie, te, ke, ce, G) {
|
|
53267
53269
|
return be(), we("div", Qoe, [
|
|
53268
|
-
G.isArray ? (be(!0), we(
|
|
53270
|
+
G.isArray ? (be(!0), we(ro, { key: 0 }, dr(G.getNestedValue(te.row, G.entry.keys), (Ae, Q) => (be(), we("span", {
|
|
53269
53271
|
key: Q,
|
|
53270
53272
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53271
53273
|
}, gt(Ae[G.entry.field]), 1))), 128)) : G.isObject ? (be(), we("span", ese, gt(G.getNestedValue(te.row, G.entry.keys)[G.entry.field]), 1)) : ft("", !0)
|
|
@@ -53307,7 +53309,7 @@ const hle = /* @__PURE__ */ qr(nse, [["render", lse], ["__scopeId", "data-v-3a28
|
|
|
53307
53309
|
}, use = ["src", "alt"], dse = { key: 1 }, mse = ["src", "alt"];
|
|
53308
53310
|
function fse(O, ie, te, ke, ce, G) {
|
|
53309
53311
|
return G.isArray ? (be(), we("div", ise, [
|
|
53310
|
-
(be(!0), we(
|
|
53312
|
+
(be(!0), we(ro, null, dr(te.row[te.field], (Ae) => (be(), we("div", {
|
|
53311
53313
|
key: Ae.id
|
|
53312
53314
|
}, [
|
|
53313
53315
|
P("img", {
|
|
@@ -53666,16 +53668,16 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
|
|
|
53666
53668
|
}
|
|
53667
53669
|
},
|
|
53668
53670
|
setup(O, { expose: ie }) {
|
|
53669
|
-
const te = Eo(""), ke = Eo(""), ce = Eo(""), G = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), He = Eo(void 0), ht = (
|
|
53671
|
+
const te = Eo(""), ke = Eo(""), ce = Eo(""), G = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), He = Eo(void 0), ht = (xn = {}) => (te.value = xn.title, ke.value = xn.message, ce.value = xn.okButton, xn.cancelButton && (G.value = xn.cancelButton), Ae.value = !0, new Promise((Bo, us) => {
|
|
53670
53672
|
Q.value = Bo, He.value = us;
|
|
53671
53673
|
})), lt = () => {
|
|
53672
53674
|
Ae.value = !1, Q.value(!0);
|
|
53673
|
-
},
|
|
53675
|
+
}, wn = () => {
|
|
53674
53676
|
Ae.value = !1, Q.value(!1);
|
|
53675
53677
|
};
|
|
53676
53678
|
return ie({
|
|
53677
53679
|
show: ht
|
|
53678
|
-
}), (
|
|
53680
|
+
}), (xn, Bo) => Ae.value ? (be(), we("div", Are, [
|
|
53679
53681
|
P("div", Dre, [
|
|
53680
53682
|
Ore,
|
|
53681
53683
|
Rre,
|
|
@@ -53697,7 +53699,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
|
|
|
53697
53699
|
class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
|
|
53698
53700
|
}, gt(ce.value), 1),
|
|
53699
53701
|
P("button", {
|
|
53700
|
-
onClick:
|
|
53702
|
+
onClick: wn,
|
|
53701
53703
|
type: "button",
|
|
53702
53704
|
class: "inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
|
|
53703
53705
|
}, gt(G.value), 1)
|