golden-logic-ui 1.0.259 → 1.0.260
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 +381 -378
- package/dist/golden-logic-ui.umd.cjs +53 -53
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as ve, createElementBlock as we, createElementVNode as P, createCommentVNode as
|
|
1
|
+
import { openBlock as ve, createElementBlock as we, createElementVNode as P, createCommentVNode as pt, createStaticVNode as Eq, reactive as Aq, resolveComponent as ky, Fragment as bo, createVNode as cb, normalizeClass as rn, toDisplayString as mt, withModifiers as oc, withDirectives as Qa, vModelText as vm, renderList as kr, normalizeStyle as Dq, computed as vc, renderSlot as vf, ref as Wo, onMounted as Oh, watch as ST, createTextVNode as So, vShow as n5, nextTick as Dj, createBlock as Ty, resolveDynamicComponent as o5, mergeProps as t5, withCtx as U8, vModelDynamic as YG, provide as XG, inject as JG, pushScopeId as Oq, popScopeId as Rq, vModelCheckbox as QG, onBeforeUnmount as $q, toHandlers as Ej, onUnmounted as Mq, TransitionGroup as Pq, unref as Nq, resolveDirective as eq, markRaw as Bq } from "vue";
|
|
2
2
|
const Jr = (O, me) => {
|
|
3
3
|
const se = O.__vccOpts || O;
|
|
4
4
|
for (const [Ee, he] of me)
|
|
@@ -48,7 +48,7 @@ function Zq(O, me, se, Ee, he, K) {
|
|
|
48
48
|
])
|
|
49
49
|
])
|
|
50
50
|
])
|
|
51
|
-
])) :
|
|
51
|
+
])) : pt("", !0);
|
|
52
52
|
}
|
|
53
53
|
const Oj = /* @__PURE__ */ Jr(Iq, [["render", Zq]]), Aj = Aq({
|
|
54
54
|
items: []
|
|
@@ -312,7 +312,7 @@ function SK(O, me, se, Ee, he, K) {
|
|
|
312
312
|
])
|
|
313
313
|
])
|
|
314
314
|
]))), 256))
|
|
315
|
-
])) :
|
|
315
|
+
])) : pt("", !0),
|
|
316
316
|
P("section", fK, [
|
|
317
317
|
(ve(!0), we(bo, null, kr(K.uploadFileListFinal, (X, Be) => (ve(), we("li", gK, [
|
|
318
318
|
P("div", hK, [
|
|
@@ -334,7 +334,7 @@ function SK(O, me, se, Ee, he, K) {
|
|
|
334
334
|
he.media_id = X.id, he.open_delete_modal = !0;
|
|
335
335
|
},
|
|
336
336
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
337
|
-
}, null, 8, CK)) :
|
|
337
|
+
}, null, 8, CK)) : pt("", !0)
|
|
338
338
|
])
|
|
339
339
|
]))), 256))
|
|
340
340
|
])
|
|
@@ -428,7 +428,7 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
|
|
|
428
428
|
class: rn(["p-6", Ee.value])
|
|
429
429
|
}, [
|
|
430
430
|
vf(he.$slots, "body")
|
|
431
|
-
], 2)) :
|
|
431
|
+
], 2)) : pt("", !0)
|
|
432
432
|
])
|
|
433
433
|
], 2));
|
|
434
434
|
}
|
|
@@ -646,8 +646,8 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
|
|
|
646
646
|
(ve(!0), we(bo, null, kr(zn.value, (Xt, nt) => (ve(), we("span", PK, mt(Xt == null ? void 0 : Xt.name), 1))), 256))
|
|
647
647
|
]),
|
|
648
648
|
NK
|
|
649
|
-
], 2)) :
|
|
650
|
-
O.show ?
|
|
649
|
+
], 2)) : pt("", !0),
|
|
650
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
651
651
|
key: 1,
|
|
652
652
|
class: rn(O.field_name)
|
|
653
653
|
}, [
|
|
@@ -739,7 +739,7 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
|
|
|
739
739
|
[n5, Be.value]
|
|
740
740
|
])
|
|
741
741
|
])
|
|
742
|
-
])) :
|
|
742
|
+
])) : pt("", !0)
|
|
743
743
|
], 2))
|
|
744
744
|
], 64));
|
|
745
745
|
}
|
|
@@ -839,7 +839,7 @@ function XK(O, me, se, Ee, he, K) {
|
|
|
839
839
|
se.icon ? (ve(), we("i", {
|
|
840
840
|
key: 0,
|
|
841
841
|
class: rn([se.icon, "text-base"])
|
|
842
|
-
}, null, 2)) :
|
|
842
|
+
}, null, 2)) : pt("", !0),
|
|
843
843
|
vf(O.$slots, "default")
|
|
844
844
|
]),
|
|
845
845
|
_: 3
|
|
@@ -936,8 +936,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
936
936
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
937
937
|
}, mt(O.model_value), 9, eY),
|
|
938
938
|
tY
|
|
939
|
-
], 2)) :
|
|
940
|
-
O.show ?
|
|
939
|
+
], 2)) : pt("", !0),
|
|
940
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
941
941
|
key: 1,
|
|
942
942
|
class: rn(["mb-4", O.field_name])
|
|
943
943
|
}, [
|
|
@@ -1076,8 +1076,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1076
1076
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1077
1077
|
}, mt(O.model_value), 9, uY),
|
|
1078
1078
|
dY
|
|
1079
|
-
], 2)) :
|
|
1080
|
-
O.show ?
|
|
1079
|
+
], 2)) : pt("", !0),
|
|
1080
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
1081
1081
|
key: 1,
|
|
1082
1082
|
class: rn(["mb-4", O.field_name])
|
|
1083
1083
|
}, [
|
|
@@ -1210,8 +1210,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1210
1210
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1211
1211
|
}, mt(O.model_value), 9, xY),
|
|
1212
1212
|
wY
|
|
1213
|
-
], 2)) :
|
|
1214
|
-
O.show ?
|
|
1213
|
+
], 2)) : pt("", !0),
|
|
1214
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
1215
1215
|
key: 1,
|
|
1216
1216
|
class: rn(["mb-4", O.field_name])
|
|
1217
1217
|
}, [
|
|
@@ -1319,8 +1319,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1319
1319
|
P("h3", AY, mt(O.label_name), 1),
|
|
1320
1320
|
P("p", DY, mt(O.type == "password" ? O.modelValue.replace(/./g, "*") : O.modelValue), 1),
|
|
1321
1321
|
OY
|
|
1322
|
-
], 2)) :
|
|
1323
|
-
O.show ?
|
|
1322
|
+
], 2)) : pt("", !0),
|
|
1323
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
1324
1324
|
key: 1,
|
|
1325
1325
|
class: rn(O.field_name)
|
|
1326
1326
|
}, [
|
|
@@ -1332,7 +1332,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1332
1332
|
required: O.is_required
|
|
1333
1333
|
}),
|
|
1334
1334
|
for: O.field_name
|
|
1335
|
-
}, mt(O.label_name), 11, RY)) :
|
|
1335
|
+
}, mt(O.label_name), 11, RY)) : pt("", !0),
|
|
1336
1336
|
Qa(P("input", {
|
|
1337
1337
|
required: O.is_required,
|
|
1338
1338
|
name: O.field_name,
|
|
@@ -1425,8 +1425,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1425
1425
|
P("h3", NY, mt(O.label_name), 1),
|
|
1426
1426
|
P("p", BY, mt(O.type == "password" ? O.modelValue.replace(/./g, "*") : O.modelValue), 1),
|
|
1427
1427
|
IY
|
|
1428
|
-
], 2)) :
|
|
1429
|
-
O.show ?
|
|
1428
|
+
], 2)) : pt("", !0),
|
|
1429
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
1430
1430
|
key: 1,
|
|
1431
1431
|
class: rn(O.field_name)
|
|
1432
1432
|
}, [
|
|
@@ -1438,7 +1438,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1438
1438
|
required: O.is_required
|
|
1439
1439
|
}),
|
|
1440
1440
|
for: O.field_name
|
|
1441
|
-
}, mt(O.label_name), 11, LY)) :
|
|
1441
|
+
}, mt(O.label_name), 11, LY)) : pt("", !0),
|
|
1442
1442
|
P("div", FY, [
|
|
1443
1443
|
P("div", HY, [
|
|
1444
1444
|
Qa(P("input", {
|
|
@@ -1534,8 +1534,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1534
1534
|
P("h3", ZY, mt(O.label_name), 1),
|
|
1535
1535
|
P("p", jY, mt(O.modelValue.start) + " to " + mt(O.modelValue.end), 1),
|
|
1536
1536
|
GY
|
|
1537
|
-
], 2)) :
|
|
1538
|
-
O.show ?
|
|
1537
|
+
], 2)) : pt("", !0),
|
|
1538
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
1539
1539
|
key: 1,
|
|
1540
1540
|
class: rn(O.field_name)
|
|
1541
1541
|
}, [
|
|
@@ -1643,8 +1643,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1643
1643
|
P("h3", nX, mt(O.label_name), 1),
|
|
1644
1644
|
P("p", oX, mt(O.type == "password" ? O.modelValue.replace(/./g, "*") : O.modelValue), 1),
|
|
1645
1645
|
sX
|
|
1646
|
-
], 2)) :
|
|
1647
|
-
O.show ?
|
|
1646
|
+
], 2)) : pt("", !0),
|
|
1647
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
1648
1648
|
key: 1,
|
|
1649
1649
|
class: rn(O.field_name)
|
|
1650
1650
|
}, [
|
|
@@ -1731,7 +1731,7 @@ const Fae = /* @__PURE__ */ Jr(iX, [["render", bX]]), vX = {
|
|
|
1731
1731
|
function xX(O, me, se, Ee, he, K) {
|
|
1732
1732
|
return se.title == Ee.selectedTitle ? (ve(), we("div", yX, [
|
|
1733
1733
|
vf(O.$slots, "default")
|
|
1734
|
-
])) :
|
|
1734
|
+
])) : pt("", !0);
|
|
1735
1735
|
}
|
|
1736
1736
|
const Hae = /* @__PURE__ */ Jr(vX, [["render", xX]]), wX = {
|
|
1737
1737
|
props: {
|
|
@@ -2029,11 +2029,11 @@ function kJ(O, me, se, Ee, he, K) {
|
|
|
2029
2029
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2030
2030
|
onClick: me[0] || (me[0] = (De) => K.prev())
|
|
2031
2031
|
}, [
|
|
2032
|
-
se.direction_property == "ltr" ? (ve(), we("svg", kX, EX)) :
|
|
2033
|
-
se.direction_property == "rtl" ? (ve(), we("svg", AX, OX)) :
|
|
2032
|
+
se.direction_property == "ltr" ? (ve(), we("svg", kX, EX)) : pt("", !0),
|
|
2033
|
+
se.direction_property == "rtl" ? (ve(), we("svg", AX, OX)) : pt("", !0)
|
|
2034
2034
|
])
|
|
2035
2035
|
])
|
|
2036
|
-
])) :
|
|
2036
|
+
])) : pt("", !0),
|
|
2037
2037
|
P("div", {
|
|
2038
2038
|
class: rn(["overflow-hidden", K.sliderContainerAction()]),
|
|
2039
2039
|
id: "sliderContainer_" + O.Random_string
|
|
@@ -2051,11 +2051,11 @@ function kJ(O, me, se, Ee, he, K) {
|
|
|
2051
2051
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2052
2052
|
onClick: me[1] || (me[1] = oc((De) => K.prev(), ["stop"]))
|
|
2053
2053
|
}, [
|
|
2054
|
-
se.direction_property == "ltr" ? (ve(), we("svg", PX, BX)) :
|
|
2055
|
-
se.direction_property == "rtl" ? (ve(), we("svg", IX, FX)) :
|
|
2054
|
+
se.direction_property == "ltr" ? (ve(), we("svg", PX, BX)) : pt("", !0),
|
|
2055
|
+
se.direction_property == "rtl" ? (ve(), we("svg", IX, FX)) : pt("", !0)
|
|
2056
2056
|
])
|
|
2057
2057
|
])
|
|
2058
|
-
], 2)) :
|
|
2058
|
+
], 2)) : pt("", !0),
|
|
2059
2059
|
vf(O.$slots, "default", {}, void 0, !0),
|
|
2060
2060
|
O.dotsNum > 0 && !se.hide_arrow && se.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ve(), we("div", {
|
|
2061
2061
|
key: 1,
|
|
@@ -2066,11 +2066,11 @@ function kJ(O, me, se, Ee, he, K) {
|
|
|
2066
2066
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2067
2067
|
onClick: me[2] || (me[2] = oc((De) => K.next(), ["stop"]))
|
|
2068
2068
|
}, [
|
|
2069
|
-
se.direction_property == "ltr" ? (ve(), we("svg", VX, UX)) :
|
|
2070
|
-
se.direction_property == "rtl" ? (ve(), we("svg", WX, jX)) :
|
|
2069
|
+
se.direction_property == "ltr" ? (ve(), we("svg", VX, UX)) : pt("", !0),
|
|
2070
|
+
se.direction_property == "rtl" ? (ve(), we("svg", WX, jX)) : pt("", !0)
|
|
2071
2071
|
])
|
|
2072
2072
|
])
|
|
2073
|
-
], 2)) :
|
|
2073
|
+
], 2)) : pt("", !0)
|
|
2074
2074
|
], 8, $X),
|
|
2075
2075
|
se.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ve(), we("div", {
|
|
2076
2076
|
key: 0,
|
|
@@ -2082,7 +2082,7 @@ function kJ(O, me, se, Ee, he, K) {
|
|
|
2082
2082
|
key: De,
|
|
2083
2083
|
onClick: (X) => K.setDot(De)
|
|
2084
2084
|
}, KX, 10, GX))), 128))
|
|
2085
|
-
], 2)) :
|
|
2085
|
+
], 2)) : pt("", !0),
|
|
2086
2086
|
se.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ve(), we("div", YX, [
|
|
2087
2087
|
P("div", {
|
|
2088
2088
|
class: rn(["flex justify-center mb-1 space-x-1", K.sliderIndicatorsAction()])
|
|
@@ -2101,8 +2101,8 @@ function kJ(O, me, se, Ee, he, K) {
|
|
|
2101
2101
|
class: rn(["p-3 rounded-full arrow_button_styles", se.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2102
2102
|
onClick: me[3] || (me[3] = (De) => K.prev())
|
|
2103
2103
|
}, [
|
|
2104
|
-
se.direction_property == "ltr" ? (ve(), we("svg", oJ, rJ)) :
|
|
2105
|
-
se.direction_property == "rtl" ? (ve(), we("svg", aJ, cJ)) :
|
|
2104
|
+
se.direction_property == "ltr" ? (ve(), we("svg", oJ, rJ)) : pt("", !0),
|
|
2105
|
+
se.direction_property == "rtl" ? (ve(), we("svg", aJ, cJ)) : pt("", !0)
|
|
2106
2106
|
], 2)
|
|
2107
2107
|
])
|
|
2108
2108
|
]),
|
|
@@ -2112,13 +2112,13 @@ function kJ(O, me, se, Ee, he, K) {
|
|
|
2112
2112
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2113
2113
|
onClick: me[4] || (me[4] = (De) => K.next())
|
|
2114
2114
|
}, [
|
|
2115
|
-
se.direction_property == "ltr" ? (ve(), we("svg", dJ, fJ)) :
|
|
2116
|
-
se.direction_property == "rtl" ? (ve(), we("svg", gJ, pJ)) :
|
|
2115
|
+
se.direction_property == "ltr" ? (ve(), we("svg", dJ, fJ)) : pt("", !0),
|
|
2116
|
+
se.direction_property == "rtl" ? (ve(), we("svg", gJ, pJ)) : pt("", !0)
|
|
2117
2117
|
])
|
|
2118
2118
|
])
|
|
2119
2119
|
])
|
|
2120
|
-
])) :
|
|
2121
|
-
])) :
|
|
2120
|
+
])) : pt("", !0)
|
|
2121
|
+
])) : pt("", !0)
|
|
2122
2122
|
], 10, RX),
|
|
2123
2123
|
O.dotsNum > 0 && !se.hide_arrow && se.slider_arrows_indicators_position == "arrows_outside_slider" ? (ve(), we("div", bJ, [
|
|
2124
2124
|
P("div", vJ, [
|
|
@@ -2126,11 +2126,11 @@ function kJ(O, me, se, Ee, he, K) {
|
|
|
2126
2126
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2127
2127
|
onClick: me[5] || (me[5] = (De) => K.next())
|
|
2128
2128
|
}, [
|
|
2129
|
-
se.direction_property == "ltr" ? (ve(), we("svg", yJ, wJ)) :
|
|
2130
|
-
se.direction_property == "rtl" ? (ve(), we("svg", CJ, _J)) :
|
|
2129
|
+
se.direction_property == "ltr" ? (ve(), we("svg", yJ, wJ)) : pt("", !0),
|
|
2130
|
+
se.direction_property == "rtl" ? (ve(), we("svg", CJ, _J)) : pt("", !0)
|
|
2131
2131
|
])
|
|
2132
2132
|
])
|
|
2133
|
-
])) :
|
|
2133
|
+
])) : pt("", !0)
|
|
2134
2134
|
], 10, CX)
|
|
2135
2135
|
]);
|
|
2136
2136
|
}
|
|
@@ -2223,7 +2223,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2223
2223
|
])
|
|
2224
2224
|
])
|
|
2225
2225
|
], 2)
|
|
2226
|
-
], 2)) :
|
|
2226
|
+
], 2)) : pt("", !0);
|
|
2227
2227
|
}
|
|
2228
2228
|
}, $J = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, MJ = { class: "relative inline-flex items-center cursor-pointer" }, PJ = ["name", "id", "checked"], NJ = /* @__PURE__ */ P("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), BJ = /* @__PURE__ */ P("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), IJ = {
|
|
2229
2229
|
key: 0,
|
|
@@ -2308,14 +2308,14 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2308
2308
|
])
|
|
2309
2309
|
]),
|
|
2310
2310
|
BJ
|
|
2311
|
-
], 2)) :
|
|
2312
|
-
O.show ?
|
|
2311
|
+
], 2)) : pt("", !0),
|
|
2312
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
2313
2313
|
key: 1,
|
|
2314
2314
|
class: rn(O.field_name)
|
|
2315
2315
|
}, [
|
|
2316
2316
|
O.has_label_up ? (ve(), we("div", IJ, [
|
|
2317
2317
|
P("label", LJ, mt(O.label_name), 1)
|
|
2318
|
-
])) :
|
|
2318
|
+
])) : pt("", !0),
|
|
2319
2319
|
P("li", FJ, [
|
|
2320
2320
|
So(mt(O.label_name) + " ", 1),
|
|
2321
2321
|
P("label", HJ, [
|
|
@@ -2417,14 +2417,14 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2417
2417
|
])
|
|
2418
2418
|
]),
|
|
2419
2419
|
KJ
|
|
2420
|
-
], 2)) :
|
|
2421
|
-
O.show ?
|
|
2420
|
+
], 2)) : pt("", !0),
|
|
2421
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
2422
2422
|
key: 1,
|
|
2423
2423
|
class: rn(O.field_name)
|
|
2424
2424
|
}, [
|
|
2425
2425
|
O.has_label_up ? (ve(), we("div", YJ, [
|
|
2426
2426
|
P("label", XJ, mt(O.label_name), 1)
|
|
2427
|
-
])) :
|
|
2427
|
+
])) : pt("", !0),
|
|
2428
2428
|
P("li", JJ, [
|
|
2429
2429
|
So(mt(O.label_name) + " ", 1),
|
|
2430
2430
|
P("label", QJ, [
|
|
@@ -2656,8 +2656,8 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2656
2656
|
P("span", aQ, mt((ie = xn.value) == null ? void 0 : ie.name), 1)
|
|
2657
2657
|
]),
|
|
2658
2658
|
lQ
|
|
2659
|
-
], 2)) :
|
|
2660
|
-
O.show ?
|
|
2659
|
+
], 2)) : pt("", !0),
|
|
2660
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
2661
2661
|
key: 1,
|
|
2662
2662
|
class: rn(O.field_name)
|
|
2663
2663
|
}, [
|
|
@@ -2675,7 +2675,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2675
2675
|
"gl-label-form-invalid": O.error_message !== "",
|
|
2676
2676
|
required: O.is_required
|
|
2677
2677
|
})
|
|
2678
|
-
}, mt(O.label_name), 3)) :
|
|
2678
|
+
}, mt(O.label_name), 3)) : pt("", !0),
|
|
2679
2679
|
P("div", uQ, [
|
|
2680
2680
|
P("div", dQ, [
|
|
2681
2681
|
P("input", {
|
|
@@ -2734,7 +2734,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2734
2734
|
id: `${A + 1}${ft.value}`
|
|
2735
2735
|
}, [
|
|
2736
2736
|
P("div", wQ, [
|
|
2737
|
-
((Xt = xn.value) == null ? void 0 : Xt.id) === Ge.id ? (ve(), we("svg", CQ, _Q)) :
|
|
2737
|
+
((Xt = xn.value) == null ? void 0 : Xt.id) === Ge.id ? (ve(), we("svg", CQ, _Q)) : pt("", !0),
|
|
2738
2738
|
P("span", {
|
|
2739
2739
|
innerHTML: Ge.name || Ge.id || "-"
|
|
2740
2740
|
}, null, 8, kQ)
|
|
@@ -2746,7 +2746,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2746
2746
|
[n5, X.value]
|
|
2747
2747
|
])
|
|
2748
2748
|
])
|
|
2749
|
-
])) :
|
|
2749
|
+
])) : pt("", !0),
|
|
2750
2750
|
P("span", TQ, mt(O.error_message), 1),
|
|
2751
2751
|
P("small", EQ, mt(O.description), 1)
|
|
2752
2752
|
], 2))
|
|
@@ -2822,8 +2822,8 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2822
2822
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2823
2823
|
}, mt(O.model_value), 9, DQ),
|
|
2824
2824
|
OQ
|
|
2825
|
-
], 2)) :
|
|
2826
|
-
O.show ?
|
|
2825
|
+
], 2)) : pt("", !0),
|
|
2826
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
2827
2827
|
key: 1,
|
|
2828
2828
|
class: rn(["mb-4", O.field_name])
|
|
2829
2829
|
}, [
|
|
@@ -2950,7 +2950,7 @@ var tq = { exports: {} };
|
|
|
2950
2950
|
throw new Error(e);
|
|
2951
2951
|
}, ro = (e) => e(), pr = (e) => {
|
|
2952
2952
|
e();
|
|
2953
|
-
}, et = nt(!1),
|
|
2953
|
+
}, et = nt(!1), bt = nt(!0);
|
|
2954
2954
|
class z {
|
|
2955
2955
|
constructor(n, o) {
|
|
2956
2956
|
this.tag = n, this.value = o;
|
|
@@ -3128,7 +3128,7 @@ var tq = { exports: {} };
|
|
|
3128
3128
|
r(f) || o.push(f);
|
|
3129
3129
|
}
|
|
3130
3130
|
return o;
|
|
3131
|
-
}, Qo = Object.keys, Gi = Object.hasOwnProperty,
|
|
3131
|
+
}, Qo = Object.keys, Gi = Object.hasOwnProperty, vt = (e, n) => {
|
|
3132
3132
|
const o = Qo(e);
|
|
3133
3133
|
for (let r = 0, l = o.length; r < l; r++) {
|
|
3134
3134
|
const u = o[r], f = e[u];
|
|
@@ -3139,14 +3139,14 @@ var tq = { exports: {} };
|
|
|
3139
3139
|
v: n(o, r)
|
|
3140
3140
|
})), Er = (e, n) => {
|
|
3141
3141
|
const o = {};
|
|
3142
|
-
return
|
|
3142
|
+
return vt(e, (r, l) => {
|
|
3143
3143
|
const u = n(r, l);
|
|
3144
3144
|
o[u.k] = u.v;
|
|
3145
3145
|
}), o;
|
|
3146
3146
|
}, Aa = (e) => (n, o) => {
|
|
3147
3147
|
e[o] = n;
|
|
3148
3148
|
}, Nl = (e, n, o, r) => {
|
|
3149
|
-
|
|
3149
|
+
vt(e, (l, u) => {
|
|
3150
3150
|
(n(l, u) ? o : r)(l, u);
|
|
3151
3151
|
});
|
|
3152
3152
|
}, Da = (e, n) => {
|
|
@@ -3160,7 +3160,7 @@ var tq = { exports: {} };
|
|
|
3160
3160
|
return Nl(e, n, Aa(o), Ge), o;
|
|
3161
3161
|
}, tl = (e, n) => {
|
|
3162
3162
|
const o = [];
|
|
3163
|
-
return
|
|
3163
|
+
return vt(e, (r, l) => {
|
|
3164
3164
|
o.push(n(r, l));
|
|
3165
3165
|
}), o;
|
|
3166
3166
|
}, bl = (e) => tl(e, Bo), 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, Bl = (e, n, o = xn) => jt(o).eq(e, n), Hc = (e) => {
|
|
@@ -3552,7 +3552,7 @@ var tq = { exports: {} };
|
|
|
3552
3552
|
yf(e.dom, n, o);
|
|
3553
3553
|
}, _c = (e, n) => {
|
|
3554
3554
|
const o = e.dom;
|
|
3555
|
-
|
|
3555
|
+
vt(n, (r, l) => {
|
|
3556
3556
|
yf(o, l, r);
|
|
3557
3557
|
});
|
|
3558
3558
|
}, Za = (e, n) => {
|
|
@@ -3724,7 +3724,7 @@ var tq = { exports: {} };
|
|
|
3724
3724
|
Pd(r, n, o);
|
|
3725
3725
|
}, ha = (e, n) => {
|
|
3726
3726
|
const o = e.dom;
|
|
3727
|
-
|
|
3727
|
+
vt(n, (r, l) => {
|
|
3728
3728
|
Pd(o, l, r);
|
|
3729
3729
|
});
|
|
3730
3730
|
}, fr = (e, n) => {
|
|
@@ -4009,7 +4009,7 @@ var tq = { exports: {} };
|
|
|
4009
4009
|
"style"
|
|
4010
4010
|
], Rm = (e) => {
|
|
4011
4011
|
let n;
|
|
4012
|
-
return (o) => (n = n || us(e,
|
|
4012
|
+
return (o) => (n = n || us(e, bt), gn(n, lo(o)));
|
|
4013
4013
|
}, _l = (e) => lo(e) === "table", Id = (e) => Pa(e) && lo(e) === "br", Re = Rm(Dm), Wl = Rm(C1), Kc = Rm(Ia), Yc = Rm(Eu), Zl = Rm(Fo), Kr = Rm(Om), oa = (e) => {
|
|
4014
4014
|
const n = [];
|
|
4015
4015
|
let o = e.dom;
|
|
@@ -4559,7 +4559,7 @@ var tq = { exports: {} };
|
|
|
4559
4559
|
}
|
|
4560
4560
|
});
|
|
4561
4561
|
}, R1 = (e, n) => {
|
|
4562
|
-
|
|
4562
|
+
vt(e.attributes, (o, r) => {
|
|
4563
4563
|
n.attributes[r] = o;
|
|
4564
4564
|
}), n.attributesOrder.push(...e.attributesOrder);
|
|
4565
4565
|
}, Kh = (e, n) => {
|
|
@@ -4635,7 +4635,7 @@ var tq = { exports: {} };
|
|
|
4635
4635
|
let cr = o[Xs];
|
|
4636
4636
|
cr = $1({}, cr), delete cr.removeEmptyAttrs, delete cr.removeEmpty, o[Rs] = cr;
|
|
4637
4637
|
}
|
|
4638
|
-
|
|
4638
|
+
vt(r, (cr, Vi) => {
|
|
4639
4639
|
cr[Xs] && (r[Vi] = cr = $1({}, r[Vi]), cr[Rs] = cr[Xs]);
|
|
4640
4640
|
});
|
|
4641
4641
|
});
|
|
@@ -4855,7 +4855,7 @@ var tq = { exports: {} };
|
|
|
4855
4855
|
let Se = b["*"];
|
|
4856
4856
|
return Se && Se[ne] ? !1 : (Se = b[ye], !(Se && Se[ne]));
|
|
4857
4857
|
};
|
|
4858
|
-
return F && f ? (te("*", f), te(F, f)) :
|
|
4858
|
+
return F && f ? (te("*", f), te(F, f)) : vt(N, (ne, ye) => {
|
|
4859
4859
|
ne && G(ye, F) && (Q += (Q.length > 0 ? " " : "") + ye + ": " + ne + ";");
|
|
4860
4860
|
}), Q;
|
|
4861
4861
|
}
|
|
@@ -4870,7 +4870,7 @@ var tq = { exports: {} };
|
|
|
4870
4870
|
webkitMovementY: !0,
|
|
4871
4871
|
keyIdentifier: !0,
|
|
4872
4872
|
mozPressure: !0
|
|
4873
|
-
}, PT = (e) => e instanceof Event || ie(e.initEvent), tC = (e) => e.isDefaultPrevented ===
|
|
4873
|
+
}, PT = (e) => e instanceof Event || ie(e.initEvent), tC = (e) => e.isDefaultPrevented === bt || e.isDefaultPrevented === et, zy = (e) => St(e.preventDefault) || PT(e), Qh = (e, n) => {
|
|
4874
4874
|
const o = n ?? {};
|
|
4875
4875
|
for (const r in e)
|
|
4876
4876
|
gn(Tb, r) || (o[r] = e[r]);
|
|
@@ -4879,12 +4879,12 @@ var tq = { exports: {} };
|
|
|
4879
4879
|
var l;
|
|
4880
4880
|
const u = Qh(n, r);
|
|
4881
4881
|
return u.type = e, St(u.target) && (u.target = (l = u.srcElement) !== null && l !== void 0 ? l : o), zy(n) && (u.preventDefault = () => {
|
|
4882
|
-
u.defaultPrevented = !0, u.isDefaultPrevented =
|
|
4882
|
+
u.defaultPrevented = !0, u.isDefaultPrevented = bt, ie(n.preventDefault) && n.preventDefault();
|
|
4883
4883
|
}, u.stopPropagation = () => {
|
|
4884
|
-
u.cancelBubble = !0, u.isPropagationStopped =
|
|
4884
|
+
u.cancelBubble = !0, u.isPropagationStopped = bt, ie(n.stopPropagation) && n.stopPropagation();
|
|
4885
4885
|
}, u.stopImmediatePropagation = () => {
|
|
4886
|
-
u.isImmediatePropagationStopped =
|
|
4887
|
-
}, tC(u) || (u.isDefaultPrevented = u.defaultPrevented === !0 ?
|
|
4886
|
+
u.isImmediatePropagationStopped = bt, u.stopPropagation();
|
|
4887
|
+
}, tC(u) || (u.isDefaultPrevented = u.defaultPrevented === !0 ? bt : et, u.isPropagationStopped = u.cancelBubble === !0 ? bt : et, u.isImmediatePropagationStopped = et)), u;
|
|
4888
4888
|
}, Eb = "mce-data-", NT = /^(?:mouse|contextmenu)|click/, Ab = (e, n, o, r) => {
|
|
4889
4889
|
e.addEventListener(n, o, r || !1);
|
|
4890
4890
|
}, tp = (e, n, o, r) => {
|
|
@@ -4966,7 +4966,7 @@ var tq = { exports: {} };
|
|
|
4966
4966
|
}
|
|
4967
4967
|
}
|
|
4968
4968
|
} else
|
|
4969
|
-
|
|
4969
|
+
vt(u, (f, b) => {
|
|
4970
4970
|
tp(n, f.fakeName || b, f.nativeHandler, f.capture);
|
|
4971
4971
|
}), u = {};
|
|
4972
4972
|
for (const f in u)
|
|
@@ -5118,7 +5118,7 @@ var tq = { exports: {} };
|
|
|
5118
5118
|
}, Ve = (Pe, Fe) => {
|
|
5119
5119
|
en(Pe, (_t) => {
|
|
5120
5120
|
const ht = le.fromDom(_t);
|
|
5121
|
-
|
|
5121
|
+
vt(Fe, (sn, so) => {
|
|
5122
5122
|
$b(ht, so, sn);
|
|
5123
5123
|
}), n.update_styles && Wy(N, ht);
|
|
5124
5124
|
});
|
|
@@ -5202,7 +5202,7 @@ var tq = { exports: {} };
|
|
|
5202
5202
|
}
|
|
5203
5203
|
}, Zn = (Pe, Fe) => {
|
|
5204
5204
|
en(Pe, (_t) => {
|
|
5205
|
-
|
|
5205
|
+
vt(Fe, (ht, sn) => {
|
|
5206
5206
|
Ce(_t, sn, ht);
|
|
5207
5207
|
});
|
|
5208
5208
|
});
|
|
@@ -5489,7 +5489,7 @@ var tq = { exports: {} };
|
|
|
5489
5489
|
F.unbind(Fe, _t, ht);
|
|
5490
5490
|
}
|
|
5491
5491
|
}
|
|
5492
|
-
|
|
5492
|
+
vt(l, (Pe, Fe) => {
|
|
5493
5493
|
y.unload(Fe), delete l[Fe];
|
|
5494
5494
|
});
|
|
5495
5495
|
},
|
|
@@ -5592,7 +5592,7 @@ var tq = { exports: {} };
|
|
|
5592
5592
|
let o = P1[e];
|
|
5593
5593
|
o || (P1[e] = o = {});
|
|
5594
5594
|
const r = Ke(Qo(n), (l) => l.toLowerCase());
|
|
5595
|
-
|
|
5595
|
+
vt(n, (l, u) => {
|
|
5596
5596
|
const f = u.toLowerCase();
|
|
5597
5597
|
f !== u && ki(r, f) ? (gn(n, f) || (o[f] = l), o[u] = l) : o[f] = l;
|
|
5598
5598
|
});
|
|
@@ -6205,7 +6205,7 @@ var tq = { exports: {} };
|
|
|
6205
6205
|
tag: !0,
|
|
6206
6206
|
inner: e,
|
|
6207
6207
|
fold: (u, f) => f(e),
|
|
6208
|
-
isValue:
|
|
6208
|
+
isValue: bt,
|
|
6209
6209
|
isError: et,
|
|
6210
6210
|
map: (u) => Dc.value(u(e)),
|
|
6211
6211
|
mapError: r,
|
|
@@ -6229,12 +6229,12 @@ var tq = { exports: {} };
|
|
|
6229
6229
|
inner: e,
|
|
6230
6230
|
fold: (r, l) => r(e),
|
|
6231
6231
|
isValue: et,
|
|
6232
|
-
isError:
|
|
6232
|
+
isError: bt,
|
|
6233
6233
|
map: n,
|
|
6234
6234
|
mapError: (r) => Dc.error(r(e)),
|
|
6235
6235
|
bind: n,
|
|
6236
6236
|
exists: et,
|
|
6237
|
-
forall:
|
|
6237
|
+
forall: bt,
|
|
6238
6238
|
getOr: Bo,
|
|
6239
6239
|
or: Bo,
|
|
6240
6240
|
getOrThunk: ro,
|
|
@@ -7206,7 +7206,7 @@ Required: ` + n.join(", "));
|
|
|
7206
7206
|
return sv(l) ? Dp(o, l) : !El(l) && (u = kp(l, e, Ep, l), u) ? Gm(u) ? Ie(u, 0) : Ie.before(u) : Gm(l) ? Ie(l, 0) : Ie.after(l);
|
|
7207
7207
|
r = l || f.getNode();
|
|
7208
7208
|
}
|
|
7209
|
-
if (r && (jf(e) && f.isAtEnd() || Yd(e) && f.isAtStart()) && (r = kp(r, e,
|
|
7209
|
+
if (r && (jf(e) && f.isAtEnd() || Yd(e) && f.isAtStart()) && (r = kp(r, e, bt, o, !0), Ep(r, o)))
|
|
7210
7210
|
return F2(e, r);
|
|
7211
7211
|
l = r && kp(r, e, Ep, o);
|
|
7212
7212
|
const k = Dr(Ft(o0(b, o), h5));
|
|
@@ -7701,7 +7701,7 @@ Required: ` + n.join(", "));
|
|
|
7701
7701
|
},
|
|
7702
7702
|
removeAll: (u) => {
|
|
7703
7703
|
const f = e.selection.getBookmark();
|
|
7704
|
-
|
|
7704
|
+
vt(Nb(e, u), (b, y) => {
|
|
7705
7705
|
l(b);
|
|
7706
7706
|
}), e.selection.moveToBookmark(f);
|
|
7707
7707
|
},
|
|
@@ -7856,7 +7856,7 @@ Required: ` + n.join(", "));
|
|
|
7856
7856
|
const Rn = o.getPos(Ct, u), Co = Rn.x, Ss = Rn.y, gs = Ct.getBoundingClientRect(), Fa = gs.width || gs.right - gs.left, gm = gs.height || gs.bottom - gs.top;
|
|
7857
7857
|
f !== Ct && (kt(), f = Ct, Ce = Me = 0);
|
|
7858
7858
|
const bg = n.dispatch("ObjectSelected", { target: Ct });
|
|
7859
|
-
an(Ct) && !bg.isDefaultPrevented() ?
|
|
7859
|
+
an(Ct) && !bg.isDefaultPrevented() ? vt(e4, (ii, _d) => {
|
|
7860
7860
|
const Nn = (Rs) => {
|
|
7861
7861
|
const Xs = Zt(f)[0];
|
|
7862
7862
|
N = Rs.screenX, F = Rs.screenY, G = Xs.clientWidth, ne = Xs.clientHeight, ye = ne / G, k = ii, k.name = _d, k.startPos = {
|
|
@@ -7895,7 +7895,7 @@ Required: ` + n.join(", "));
|
|
|
7895
7895
|
});
|
|
7896
7896
|
}) : kt(!1);
|
|
7897
7897
|
}, is = N1($l, 0), kt = (Ct = !0) => {
|
|
7898
|
-
is.cancel(), oo(), f && Ct && f.removeAttribute(Qf),
|
|
7898
|
+
is.cancel(), oo(), f && Ct && f.removeAttribute(Qf), vt(e4, (Rn, Co) => {
|
|
7899
7899
|
const Ss = o.get("mceResizeHandle" + Co);
|
|
7900
7900
|
Ss && (o.unbind(Ss), o.remove(Ss));
|
|
7901
7901
|
});
|
|
@@ -7915,7 +7915,7 @@ Required: ` + n.join(", "));
|
|
|
7915
7915
|
}
|
|
7916
7916
|
kt();
|
|
7917
7917
|
}, oo = () => {
|
|
7918
|
-
|
|
7918
|
+
vt(e4, (Ct) => {
|
|
7919
7919
|
Ct.elm && (o.unbind(Ct.elm), delete Ct.elm);
|
|
7920
7920
|
});
|
|
7921
7921
|
}, Kt = () => {
|
|
@@ -8600,7 +8600,7 @@ Required: ` + n.join(", "));
|
|
|
8600
8600
|
class Nc {
|
|
8601
8601
|
static create(n, o) {
|
|
8602
8602
|
const r = new Nc(n, S7[n] || 1);
|
|
8603
|
-
return o &&
|
|
8603
|
+
return o && vt(o, (l, u) => {
|
|
8604
8604
|
r.attr(u, l);
|
|
8605
8605
|
}), r;
|
|
8606
8606
|
}
|
|
@@ -8614,7 +8614,7 @@ Required: ` + n.join(", "));
|
|
|
8614
8614
|
attr(n, o) {
|
|
8615
8615
|
const r = this;
|
|
8616
8616
|
if (!fe(n))
|
|
8617
|
-
return He(n) &&
|
|
8617
|
+
return He(n) && vt(n, (u, f) => {
|
|
8618
8618
|
r.attr(f, u);
|
|
8619
8619
|
}), r;
|
|
8620
8620
|
const l = r.attributes;
|
|
@@ -9377,7 +9377,7 @@ Required: ` + n.join(", "));
|
|
|
9377
9377
|
}), r;
|
|
9378
9378
|
}, q4 = (e, n) => {
|
|
9379
9379
|
const o = (r, l) => {
|
|
9380
|
-
|
|
9380
|
+
vt(r, (u) => {
|
|
9381
9381
|
const f = yr(u.nodes);
|
|
9382
9382
|
_e(u.filter.callbacks, (b) => {
|
|
9383
9383
|
for (let y = f.length - 1; y >= 0; y--) {
|
|
@@ -9901,7 +9901,7 @@ Required: ` + n.join(", "));
|
|
|
9901
9901
|
let G = Xm(l, y, b, !0);
|
|
9902
9902
|
G = L(G), e.formatter.remove(n, o, G, r), u.moveToBookmark(te);
|
|
9903
9903
|
} else {
|
|
9904
|
-
const te = ch(e.getBody(), Q), G = He(te) ? l.getParents(Q.parentNode,
|
|
9904
|
+
const te = ch(e.getBody(), Q), G = He(te) ? l.getParents(Q.parentNode, bt, te) : [], ne = f3(!1).dom;
|
|
9905
9905
|
r_(e, ne, te ?? Q);
|
|
9906
9906
|
const ye = MI(e, ne, Q, n, o, r), Se = a_([
|
|
9907
9907
|
...F,
|
|
@@ -10228,7 +10228,7 @@ Required: ` + n.join(", "));
|
|
|
10228
10228
|
!y.isCollapsed() || !Yr(f) || Pp(e).length ? (c0(e, () => Xf(e, te), (G) => Yr(f) && o_(e, n, o, G)), e.nodeChanged()) : XR(e, n, o, l), k3(e, n, o), mh(e, n, r, o);
|
|
10229
10229
|
}, f$ = (e, n, o, r, l) => {
|
|
10230
10230
|
(r || e.selection.isEditable()) && HI(e, n, o, r, l);
|
|
10231
|
-
}, Nx = (e, n, o, r, l) => u$(e, n, o, r, l).fold(et, (u) => (e.dom.rename(r, u), !0),
|
|
10231
|
+
}, Nx = (e, n, o, r, l) => u$(e, n, o, r, l).fold(et, (u) => (e.dom.rename(r, u), !0), bt), g$ = lt.each, VI = (e, n, o, r) => {
|
|
10232
10232
|
const l = (u) => {
|
|
10233
10233
|
if (su(u) && Wt(u.parentNode) && e.isEditable(u)) {
|
|
10234
10234
|
const f = rS(e, u.parentNode);
|
|
@@ -10368,7 +10368,7 @@ Required: ` + n.join(", "));
|
|
|
10368
10368
|
const ne = G ? te : Xm(b, te, l);
|
|
10369
10369
|
F(b, ne, !1);
|
|
10370
10370
|
});
|
|
10371
|
-
},
|
|
10371
|
+
}, bt), e.nodeChanged()) : PI(e, n, o), y3(e.formatter, n).each((te) => {
|
|
10372
10372
|
_e(BI(e.selection), (G) => h$(b, G, te, o));
|
|
10373
10373
|
});
|
|
10374
10374
|
v3(n, e);
|
|
@@ -10391,7 +10391,7 @@ Required: ` + n.join(", "));
|
|
|
10391
10391
|
return Ft(u0(e.dom, o), (r) => Wt(r) && !ru(r));
|
|
10392
10392
|
}, T3 = (e, n, o) => {
|
|
10393
10393
|
const r = x$(e, n);
|
|
10394
|
-
|
|
10394
|
+
vt(o, (l, u) => {
|
|
10395
10395
|
const f = (b) => {
|
|
10396
10396
|
const y = y$(e, r, u, b.similar, N0(b) ? b.vars : void 0), k = y.isSome();
|
|
10397
10397
|
if (b.state.get() !== k) {
|
|
@@ -12753,7 +12753,7 @@ Required: ` + n.join(", "));
|
|
|
12753
12753
|
const l = (b, y) => hs(y, (k) => e.is(k, b)), u = (b) => e.getParents(b, void 0, e.getRoot()), f = () => {
|
|
12754
12754
|
o = {}, r = {}, n.on("NodeChange", (b) => {
|
|
12755
12755
|
const y = b.element, k = u(y), M = {};
|
|
12756
|
-
|
|
12756
|
+
vt(o, (N, F) => {
|
|
12757
12757
|
l(F, k).each((Q) => {
|
|
12758
12758
|
r[F] || (_e(N, (te) => {
|
|
12759
12759
|
te(!0, {
|
|
@@ -12763,7 +12763,7 @@ Required: ` + n.join(", "));
|
|
|
12763
12763
|
});
|
|
12764
12764
|
}), r[F] = N), M[F] = N;
|
|
12765
12765
|
});
|
|
12766
|
-
}),
|
|
12766
|
+
}), vt(r, (N, F) => {
|
|
12767
12767
|
M[F] || (delete r[F], _e(N, (Q) => {
|
|
12768
12768
|
Q(!1, {
|
|
12769
12769
|
node: y,
|
|
@@ -13343,7 +13343,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
13343
13343
|
e.contentCSS = e.contentCSS.concat(VF(e), zF(e));
|
|
13344
13344
|
}, WF = (e) => e ? yr(e.getElementsByTagName("img")) : [], ZF = (e, n) => {
|
|
13345
13345
|
const o = {};
|
|
13346
|
-
return { findAll: (l, u =
|
|
13346
|
+
return { findAll: (l, u = bt) => {
|
|
13347
13347
|
const f = Ft(WF(l), (y) => {
|
|
13348
13348
|
const k = y.src;
|
|
13349
13349
|
return y.hasAttribute("data-mce-bogus") || y.hasAttribute("data-mce-placeholder") || !k || k === Nt.transparentSrc ? !1 : ks(k, "blob:") ? !e.isUploaded(k) && u(y) : ks(k, "data:") ? u(y) : !1;
|
|
@@ -14000,7 +14000,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14000
14000
|
const n = {}, o = (f) => He(f) ? n[f] : n, r = (f) => gn(n, f), l = (f, b) => {
|
|
14001
14001
|
f && (fe(f) ? (Xn(b) || (b = [b]), _e(b, (y) => {
|
|
14002
14002
|
os(y.deep) && (y.deep = !gl(y)), os(y.split) && (y.split = !gl(y) || Yr(y)), os(y.remove) && gl(y) && !Yr(y) && (y.remove = "none"), gl(y) && Yr(y) && (y.mixed = !0, y.block_expand = !0), fe(y.classes) && (y.classes = y.classes.split(/\s+/));
|
|
14003
|
-
}), n[f] = b) :
|
|
14003
|
+
}), n[f] = b) : vt(f, (y, k) => {
|
|
14004
14004
|
l(k, y);
|
|
14005
14005
|
}));
|
|
14006
14006
|
}, u = (f) => (f && n[f] && delete n[f], n);
|
|
@@ -14553,7 +14553,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14553
14553
|
e,
|
|
14554
14554
|
n,
|
|
14555
14555
|
o
|
|
14556
|
-
]).filter(N9), tw = (e) => e.fold(Bo, Bo, Bo, Bo), BA = (e) => e.fold(nt("before"), nt("start"), nt("end"), nt("after")), nw = (e) => e.fold(ci.before, ci.before, ci.after, ci.after), IA = (e) => e.fold(ci.start, ci.start, ci.end, ci.end), hP = (e, n) => BA(e) === BA(n) && tw(e) === tw(n), B9 = (e, n, o, r, l, u) => wr(tm(n, o, r), tm(n, o, l), (f, b) => f !== b && nm(o, f, b) ? ci.after(e ? f : b) : u).getOr(u), pP = (e, n) => e.fold(
|
|
14556
|
+
]).filter(N9), tw = (e) => e.fold(Bo, Bo, Bo, Bo), BA = (e) => e.fold(nt("before"), nt("start"), nt("end"), nt("after")), nw = (e) => e.fold(ci.before, ci.before, ci.after, ci.after), IA = (e) => e.fold(ci.start, ci.start, ci.end, ci.end), hP = (e, n) => BA(e) === BA(n) && tw(e) === tw(n), B9 = (e, n, o, r, l, u) => wr(tm(n, o, r), tm(n, o, l), (f, b) => f !== b && nm(o, f, b) ? ci.after(e ? f : b) : u).getOr(u), pP = (e, n) => e.fold(bt, (o) => !hP(o, n)), I9 = (e, n, o, r, l) => {
|
|
14557
14557
|
const u = wo(e, l);
|
|
14558
14558
|
return Ka(e, o, u).map(ot(wo, e)).fold(() => r.map(nw), (y) => Rl(n, o, y).map(ot(B9, e, n, o, u, y)).filter(ot(pP, r))).filter(N9);
|
|
14559
14559
|
}, L9 = (e, n) => e ? n.fold(A(z.some, ci.start), z.none, A(z.some, ci.after), z.none) : n.fold(z.none, A(z.some, ci.before), z.none, A(z.some, ci.end)), F9 = (e, n, o, r) => {
|
|
@@ -15124,7 +15124,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15124
15124
|
]), iw = {
|
|
15125
15125
|
...ck,
|
|
15126
15126
|
none: (e) => ck.none(e)
|
|
15127
|
-
}, NH = (e, n) => iN(e, n,
|
|
15127
|
+
}, NH = (e, n) => iN(e, n, bt), iN = (e, n, o) => vr(Rr(e), (r) => cc(r, n) ? o(r) ? [r] : [] : iN(r, n, o)), um = (e, n, o = et) => {
|
|
15128
15128
|
if (o(n))
|
|
15129
15129
|
return z.none();
|
|
15130
15130
|
if (qe(e, lo(n)))
|
|
@@ -15134,7 +15134,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15134
15134
|
}, uN = (e, n) => um([
|
|
15135
15135
|
"td",
|
|
15136
15136
|
"th"
|
|
15137
|
-
], e, n), dN = (e) => NH(e, "th,td"), BH = (e, n) => Ci(e, "table", n), mN = (e, n, o, r, l =
|
|
15137
|
+
], e, n), dN = (e) => NH(e, "th,td"), BH = (e, n) => Ci(e, "table", n), mN = (e, n, o, r, l = bt) => {
|
|
15138
15138
|
const u = r === 1;
|
|
15139
15139
|
if (!u && o <= 0)
|
|
15140
15140
|
return iw.first(e[0]);
|
|
@@ -16590,7 +16590,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
16590
16590
|
}
|
|
16591
16591
|
isSameElementPath(n) {
|
|
16592
16592
|
let o;
|
|
16593
|
-
const r = this.editor, l = ps(r.dom.getParents(n,
|
|
16593
|
+
const r = this.editor, l = ps(r.dom.getParents(n, bt, r.getBody()));
|
|
16594
16594
|
if (l.length === this.lastPath.length) {
|
|
16595
16595
|
for (o = l.length; o >= 0 && l[o] === this.lastPath[o]; o--)
|
|
16596
16596
|
;
|
|
@@ -18321,7 +18321,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
18321
18321
|
});
|
|
18322
18322
|
});
|
|
18323
18323
|
});
|
|
18324
|
-
}, HW =
|
|
18324
|
+
}, HW = bt, Y6 = (e, n, o) => Lg(e, n, HW, o), DO = Bs.DOM, X6 = (e, n, o, r) => {
|
|
18325
18325
|
const l = le.fromTag("iframe");
|
|
18326
18326
|
return r.each((u) => xs(l, "tabindex", u)), _c(l, o), _c(l, {
|
|
18327
18327
|
id: e + "_ifr",
|
|
@@ -18376,7 +18376,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
18376
18376
|
...qx.get("default").icons,
|
|
18377
18377
|
...qx.get(n).icons
|
|
18378
18378
|
};
|
|
18379
|
-
|
|
18379
|
+
vt(r, (l, u) => {
|
|
18380
18380
|
gn(o, u) || e.ui.registry.addIcon(u, l);
|
|
18381
18381
|
});
|
|
18382
18382
|
}, jW = (e) => {
|
|
@@ -18412,7 +18412,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
18412
18412
|
const o = {
|
|
18413
18413
|
show: z.from(n.show).getOr(Ge),
|
|
18414
18414
|
hide: z.from(n.hide).getOr(Ge),
|
|
18415
|
-
isEnabled: z.from(n.isEnabled).getOr(
|
|
18415
|
+
isEnabled: z.from(n.isEnabled).getOr(bt),
|
|
18416
18416
|
setEnabled: (r) => {
|
|
18417
18417
|
e.mode.isReadOnly() || z.from(n.setEnabled).each((l) => l(r));
|
|
18418
18418
|
}
|
|
@@ -18474,7 +18474,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
18474
18474
|
Xj(e, l, r);
|
|
18475
18475
|
});
|
|
18476
18476
|
};
|
|
18477
|
-
|
|
18477
|
+
vt(zf(e), (r, l) => {
|
|
18478
18478
|
o(l, r), e.options.set("plugins", K1(e).concat(l));
|
|
18479
18479
|
}), _e(K1(e), (r) => {
|
|
18480
18480
|
r = lt.trim(r), r && !I0.urls[r] && !r8(r) && o(r, `plugins/${r}/plugin${n}.js`);
|
|
@@ -18949,7 +18949,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
18949
18949
|
}
|
|
18950
18950
|
addCommands(n, o = "exec") {
|
|
18951
18951
|
const r = this.commands;
|
|
18952
|
-
|
|
18952
|
+
vt(n, (l, u) => {
|
|
18953
18953
|
_e(u.toLowerCase().split(","), (f) => {
|
|
18954
18954
|
r[o][f] = l;
|
|
18955
18955
|
});
|
|
@@ -19085,7 +19085,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
19085
19085
|
const u = r[l];
|
|
19086
19086
|
let f = this.bindings[u];
|
|
19087
19087
|
if (!u)
|
|
19088
|
-
return
|
|
19088
|
+
return vt(this.bindings, (b, y) => {
|
|
19089
19089
|
this.toggleEvent(y, !1), delete this.bindings[y];
|
|
19090
19090
|
}), this;
|
|
19091
19091
|
if (f) {
|
|
@@ -19101,7 +19101,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
19101
19101
|
}
|
|
19102
19102
|
}
|
|
19103
19103
|
} else
|
|
19104
|
-
|
|
19104
|
+
vt(this.bindings, (r, l) => {
|
|
19105
19105
|
this.toggleEvent(l, !1);
|
|
19106
19106
|
}), this.bindings = {};
|
|
19107
19107
|
return this;
|
|
@@ -19165,7 +19165,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
19165
19165
|
const o = Bw(e, n);
|
|
19166
19166
|
if (Vf(e)) {
|
|
19167
19167
|
if (Ah || (Ah = {}, e.editorManager.on("removeEditor", () => {
|
|
19168
|
-
e.editorManager.activeEditor || Ah && (
|
|
19168
|
+
e.editorManager.activeEditor || Ah && (vt(Ah, (l, u) => {
|
|
19169
19169
|
e.dom.unbind(Bw(e, u));
|
|
19170
19170
|
}), Ah = null);
|
|
19171
19171
|
})), Ah[n])
|
|
@@ -19199,7 +19199,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
19199
19199
|
},
|
|
19200
19200
|
unbindAllNativeEvents() {
|
|
19201
19201
|
const e = this, n = e.getBody(), o = e.dom;
|
|
19202
|
-
e.delegates && (
|
|
19202
|
+
e.delegates && (vt(e.delegates, (r, l) => {
|
|
19203
19203
|
e.dom.unbind(Bw(e, l), l, r);
|
|
19204
19204
|
}), delete e.delegates), !e.inline && n && o && (n.onload = null, o.unbind(e.getWin()), o.unbind(e.getDoc())), o && (o.unbind(n), o.unbind(e.getContainer()));
|
|
19205
19205
|
}
|
|
@@ -19234,7 +19234,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
19234
19234
|
case "regexp":
|
|
19235
19235
|
return (o) => mn(o, RegExp);
|
|
19236
19236
|
default:
|
|
19237
|
-
return
|
|
19237
|
+
return bt;
|
|
19238
19238
|
}
|
|
19239
19239
|
})();
|
|
19240
19240
|
return (o) => m1(o, n, `The value must be a ${e}.`);
|
|
@@ -19496,7 +19496,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
19496
19496
|
show: Ge,
|
|
19497
19497
|
hide: Ge,
|
|
19498
19498
|
setEnabled: Ge,
|
|
19499
|
-
isEnabled:
|
|
19499
|
+
isEnabled: bt
|
|
19500
19500
|
}, this.mode = XZ(l), r.dispatch("SetupEditor", { editor: this });
|
|
19501
19501
|
const F = w2(l);
|
|
19502
19502
|
ie(F) && F.call(l, l);
|
|
@@ -19519,7 +19519,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
19519
19519
|
processor: r,
|
|
19520
19520
|
default: o
|
|
19521
19521
|
}) : l.register(n, {
|
|
19522
|
-
processor:
|
|
19522
|
+
processor: bt,
|
|
19523
19523
|
default: o
|
|
19524
19524
|
})), !l.isSet(n) && !os(o) ? o : l.get(n);
|
|
19525
19525
|
}
|
|
@@ -19760,7 +19760,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, mo(n, _D)), WN = nt(HN), hk
|
|
|
19760
19760
|
const o = e.suffix;
|
|
19761
19761
|
o && (this.suffix = o), this.defaultOptions = e;
|
|
19762
19762
|
const r = e.plugin_base_urls;
|
|
19763
|
-
r !== void 0 &&
|
|
19763
|
+
r !== void 0 && vt(r, (l, u) => {
|
|
19764
19764
|
ql.PluginManager.urls[u] = l;
|
|
19765
19765
|
});
|
|
19766
19766
|
},
|
|
@@ -20388,7 +20388,7 @@ tinymce.IconManager.add("default", {
|
|
|
20388
20388
|
c[d] = s(g, d);
|
|
20389
20389
|
}
|
|
20390
20390
|
return c;
|
|
20391
|
-
},
|
|
20391
|
+
}, bt = (t, s) => {
|
|
20392
20392
|
for (let a = 0, c = t.length; a < c; a++) {
|
|
20393
20393
|
const d = t[a];
|
|
20394
20394
|
s(d, a);
|
|
@@ -20417,7 +20417,7 @@ tinymce.IconManager.add("default", {
|
|
|
20417
20417
|
return a;
|
|
20418
20418
|
}, ss = (t, s, a) => (z(t, (c, d) => {
|
|
20419
20419
|
a = s(a, c, d);
|
|
20420
|
-
}), a), Ho = (t, s, a) => (
|
|
20420
|
+
}), a), Ho = (t, s, a) => (bt(t, (c, d) => {
|
|
20421
20421
|
a = s(a, c, d);
|
|
20422
20422
|
}), a), Zi = (t, s, a) => {
|
|
20423
20423
|
for (let c = 0, d = t.length; c < d; c++) {
|
|
@@ -20513,7 +20513,7 @@ tinymce.IconManager.add("default", {
|
|
|
20513
20513
|
return A.some(p);
|
|
20514
20514
|
}
|
|
20515
20515
|
return A.none();
|
|
20516
|
-
}, Gi = (t) => di(t, Pn),
|
|
20516
|
+
}, Gi = (t) => di(t, Pn), vt = (t, s) => mo(t, s) ? A.from(t[s]) : A.none(), mo = (t, s) => ji.call(t, s), Er = (t, s) => mo(t, s) && t[s] !== void 0 && t[s] !== null, Aa = (t, s, a = os) => t.exists((c) => a(c, s)), Nl = (t, s, a = os) => tl(t, s, a).getOr(t.isNone() && s.isNone()), Da = (t) => {
|
|
20517
20517
|
const s = [], a = (c) => {
|
|
20518
20518
|
s.push(c);
|
|
20519
20519
|
};
|
|
@@ -21033,11 +21033,11 @@ tinymce.IconManager.add("default", {
|
|
|
21033
21033
|
uc(c, s);
|
|
21034
21034
|
});
|
|
21035
21035
|
}, wu = (t, s) => {
|
|
21036
|
-
|
|
21036
|
+
bt(s, (a) => {
|
|
21037
21037
|
ja(t, a);
|
|
21038
21038
|
});
|
|
21039
21039
|
}, Rd = (t) => {
|
|
21040
|
-
t.dom.textContent = "",
|
|
21040
|
+
t.dom.textContent = "", bt($a(t), (s) => {
|
|
21041
21041
|
Ec(s);
|
|
21042
21042
|
});
|
|
21043
21043
|
}, Ec = (t) => {
|
|
@@ -21177,7 +21177,7 @@ tinymce.IconManager.add("default", {
|
|
|
21177
21177
|
})(Cl || (Cl = {}));
|
|
21178
21178
|
const Cu = (t, s, a) => t.stype === Cl.Error ? s(t.serror) : a(t.svalue), Pd = (t) => {
|
|
21179
21179
|
const s = [], a = [];
|
|
21180
|
-
return
|
|
21180
|
+
return bt(t, (c) => {
|
|
21181
21181
|
Cu(c, (d) => a.push(d), (d) => s.push(d));
|
|
21182
21182
|
}), {
|
|
21183
21183
|
values: s,
|
|
@@ -21270,11 +21270,11 @@ tinymce.IconManager.add("default", {
|
|
|
21270
21270
|
extract: s,
|
|
21271
21271
|
toString: a
|
|
21272
21272
|
};
|
|
21273
|
-
}, Dn = qt(sr.svalue), _n = (t, s, a, c) =>
|
|
21274
|
-
const d =
|
|
21273
|
+
}, Dn = qt(sr.svalue), _n = (t, s, a, c) => vt(s, a).fold(() => $(t, a, s), c), pn = (t, s, a, c) => {
|
|
21274
|
+
const d = vt(t, s).getOrThunk(() => a(t));
|
|
21275
21275
|
return c(d);
|
|
21276
|
-
}, zs = (t, s, a) => a(
|
|
21277
|
-
const d =
|
|
21276
|
+
}, zs = (t, s, a) => a(vt(t, s)), na = (t, s, a, c) => {
|
|
21277
|
+
const d = vt(t, s).map((g) => g === !0 ? a(t) : g);
|
|
21278
21278
|
return c(d);
|
|
21279
21279
|
}, Ul = (t, s, a, c, d) => {
|
|
21280
21280
|
const g = (x) => d.extract(s.concat([c]), x), p = (x) => x.fold(() => sr.svalue(A.none()), (C) => {
|
|
@@ -21393,8 +21393,8 @@ tinymce.IconManager.add("default", {
|
|
|
21393
21393
|
default:
|
|
21394
21394
|
return !1;
|
|
21395
21395
|
}
|
|
21396
|
-
}, db = qt((t) => Tu(t) ? sr.svalue(t) : sr.serror("Expected value to be acceptable for sending via postMessage")), Hg = (t, s, a, c) =>
|
|
21397
|
-
extract: (d, g) =>
|
|
21396
|
+
}, db = qt((t) => Tu(t) ? sr.svalue(t) : sr.serror("Expected value to be acceptable for sending via postMessage")), Hg = (t, s, a, c) => vt(a, c).fold(() => ae(t, a, c), (g) => g.extract(t.concat(["branch: " + c]), s)), it = (t, s) => ({
|
|
21397
|
+
extract: (d, g) => vt(g, t).fold(() => U(d, t), (x) => Hg(d, g, s, x)),
|
|
21398
21398
|
toString: () => "chooseOn(" + t + "). Possible values: " + ps(s)
|
|
21399
21399
|
}), mb = () => _u(Dn), Bd = (t) => qt((s) => t(s).fold(sr.serror, sr.svalue)), nd = (t, s) => su((a) => sr.fromResult(t(a)), s), Vg = (t, s, a) => {
|
|
21400
21400
|
const c = s.extract([t], a);
|
|
@@ -21422,7 +21422,7 @@ Input object: ` + Lg(t.input), co = (t, s) => it(t, qo(s, nn)), kf = (t, s) => u
|
|
|
21422
21422
|
if (t.length === 0)
|
|
21423
21423
|
throw new Error("there must be at least one case");
|
|
21424
21424
|
const s = [], a = {};
|
|
21425
|
-
return
|
|
21425
|
+
return bt(t, (c, d) => {
|
|
21426
21426
|
const g = ps(c);
|
|
21427
21427
|
if (g.length !== 1)
|
|
21428
21428
|
throw new Error("one and only one name per case");
|
|
@@ -21492,7 +21492,7 @@ Required: ` + s.join(", "));
|
|
|
21492
21492
|
]);
|
|
21493
21493
|
const V = (t) => {
|
|
21494
21494
|
const s = [], a = [];
|
|
21495
|
-
return
|
|
21495
|
+
return bt(t, (c) => {
|
|
21496
21496
|
c.fold((d) => {
|
|
21497
21497
|
s.push(d);
|
|
21498
21498
|
}, (d) => {
|
|
@@ -21509,7 +21509,7 @@ Required: ` + s.join(", "));
|
|
|
21509
21509
|
}), a;
|
|
21510
21510
|
}, be = (t, s) => ({ [t]: s }), Ze = (t) => {
|
|
21511
21511
|
const s = {};
|
|
21512
|
-
return
|
|
21512
|
+
return bt(t, (a) => {
|
|
21513
21513
|
s[a.key] = a.value;
|
|
21514
21514
|
}), s;
|
|
21515
21515
|
}, gt = (t, s) => q(t, s), Rt = (t, s) => be(t, s), on = (t) => Ze(t), Fn = (t, s) => t.length === 0 ? Ln.value(s) : Ln.value(Uo(s, qc.apply(void 0, t))), rr = (t) => Ln.error(Ke(t)), Mo = (t, s) => {
|
|
@@ -21551,7 +21551,7 @@ Required: ` + s.join(", "));
|
|
|
21551
21551
|
can: s,
|
|
21552
21552
|
abort: a,
|
|
21553
21553
|
run: (...d) => {
|
|
21554
|
-
|
|
21554
|
+
bt(t, (g) => {
|
|
21555
21555
|
g.run.apply(void 0, d);
|
|
21556
21556
|
});
|
|
21557
21557
|
}
|
|
@@ -21713,7 +21713,7 @@ Check the ` + sd() + " event handlers"), !1) : !0;
|
|
|
21713
21713
|
}, Yh = Ut("alloy-premade"), Hm = (t) => (Object.defineProperty(t.element.dom, Yh, {
|
|
21714
21714
|
value: t.uid,
|
|
21715
21715
|
writable: !0
|
|
21716
|
-
}), Rt(Yh, t)), $T = (t) => mo(t.dom, Yh), Xh = (t) =>
|
|
21716
|
+
}), Rt(Yh, t)), $T = (t) => mo(t.dom, Yh), Xh = (t) => vt(t, Yh), Xg = (t) => Jw((s, ...a) => t(s.getApis(), s, ...a), t), Ru = { init: () => ei({ readState: oe("No State required") }) }, ei = (t) => t, MT = (t, s) => {
|
|
21717
21717
|
const a = et(s, (d) => _l(d.name(), [
|
|
21718
21718
|
tt("config"),
|
|
21719
21719
|
Re("state", Ru)
|
|
@@ -21736,7 +21736,7 @@ Complete spec:
|
|
|
21736
21736
|
const a = {};
|
|
21737
21737
|
return us(t, (c, d) => {
|
|
21738
21738
|
us(c, (g, p) => {
|
|
21739
|
-
const x =
|
|
21739
|
+
const x = vt(a, p).getOr([]);
|
|
21740
21740
|
a[p] = x.concat([s(d, g)]);
|
|
21741
21741
|
});
|
|
21742
21742
|
}), a;
|
|
@@ -21757,7 +21757,7 @@ Complete spec:
|
|
|
21757
21757
|
classes: t.classes.concat(s.classes)
|
|
21758
21758
|
}), kb = (t, s, a, c) => {
|
|
21759
21759
|
const d = { ...s };
|
|
21760
|
-
|
|
21760
|
+
bt(a, (R) => {
|
|
21761
21761
|
d[R.name()] = R.exhibit(t, c);
|
|
21762
21762
|
});
|
|
21763
21763
|
const g = Vy(d, (R, B) => ({
|
|
@@ -21799,7 +21799,7 @@ Order specified: ` + JSON.stringify(c, null, 2));
|
|
|
21799
21799
|
handler: s
|
|
21800
21800
|
}), Eb = (t, s) => {
|
|
21801
21801
|
const a = {};
|
|
21802
|
-
return
|
|
21802
|
+
return bt(t, (c) => {
|
|
21803
21803
|
a[c.name()] = c.handlers(s);
|
|
21804
21804
|
}), a;
|
|
21805
21805
|
}, NT = (t, s, a) => {
|
|
@@ -21921,15 +21921,15 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
21921
21921
|
const a = np(t) ? t.dom.classList.toggle(s) : IT(t, s);
|
|
21922
21922
|
return sC(t), a;
|
|
21923
21923
|
}, sa = (t, s) => np(t) && t.dom.classList.contains(s), ar = (t, s) => {
|
|
21924
|
-
|
|
21924
|
+
bt(s, (a) => {
|
|
21925
21925
|
Nr(t, a);
|
|
21926
21926
|
});
|
|
21927
21927
|
}, ki = (t, s) => {
|
|
21928
|
-
|
|
21928
|
+
bt(s, (a) => {
|
|
21929
21929
|
Qs(t, a);
|
|
21930
21930
|
});
|
|
21931
21931
|
}, Zy = (t, s) => {
|
|
21932
|
-
|
|
21932
|
+
bt(s, (a) => {
|
|
21933
21933
|
op(t, a);
|
|
21934
21934
|
});
|
|
21935
21935
|
}, ml = (t, s) => vn(s, (a) => sa(t, a)), P1 = (t) => {
|
|
@@ -21955,7 +21955,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
21955
21955
|
});
|
|
21956
21956
|
}, LT = (t, s, a) => {
|
|
21957
21957
|
const c = et(s, a), d = $a(t);
|
|
21958
|
-
return
|
|
21958
|
+
return bt(d.slice(c.length), Ec), c;
|
|
21959
21959
|
}, rC = (t, s, a, c) => {
|
|
21960
21960
|
const d = Sc(t, s), g = c(a, d), p = Nf(t, s, d);
|
|
21961
21961
|
return Vm(t, g.element, p), g;
|
|
@@ -21977,12 +21977,12 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
21977
21977
|
toSet: g,
|
|
21978
21978
|
toRemove: p
|
|
21979
21979
|
} = $u(t.attributes, d), x = () => {
|
|
21980
|
-
|
|
21980
|
+
bt(p, (Oe) => re(s, Oe)), Gu(s, g);
|
|
21981
21981
|
}, C = wr(s), {
|
|
21982
21982
|
toSet: E,
|
|
21983
21983
|
toRemove: R
|
|
21984
21984
|
} = $u(t.styles, C), B = () => {
|
|
21985
|
-
|
|
21985
|
+
bt(R, (Oe) => fo(s, Oe)), $s(s, E);
|
|
21986
21986
|
}, H = sp(s), W = Ft(H, t.classes), J = Ft(t.classes, H), ce = () => {
|
|
21987
21987
|
ar(s, J), ki(s, W);
|
|
21988
21988
|
}, $e = (Oe) => {
|
|
@@ -22013,7 +22013,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22013
22013
|
const a = (d) => Oa(d) === t.tag && !Bf(t) && !$T(d), c = s.filter(a).bind((d) => HT(t, d)).getOrThunk(() => FT(t));
|
|
22014
22014
|
return qh(c, t.uid), c;
|
|
22015
22015
|
}, Mb = (t) => {
|
|
22016
|
-
const s =
|
|
22016
|
+
const s = vt(t, "behaviours").getOr({});
|
|
22017
22017
|
return _e(ps(s), (a) => {
|
|
22018
22018
|
const c = s[a];
|
|
22019
22019
|
return No(c) ? [c.me] : [];
|
|
@@ -22057,7 +22057,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22057
22057
|
};
|
|
22058
22058
|
return Oe;
|
|
22059
22059
|
}, Jg = (t, s) => {
|
|
22060
|
-
const a =
|
|
22060
|
+
const a = vt(t, "components").getOr([]);
|
|
22061
22061
|
return s.fold(() => et(a, kl), (c) => et(a, (d, g) => Nb(d, Sc(c, g))));
|
|
22062
22062
|
}, aC = (t, s) => {
|
|
22063
22063
|
const {
|
|
@@ -22218,7 +22218,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22218
22218
|
}
|
|
22219
22219
|
};
|
|
22220
22220
|
}, mC = (t, s, a) => {
|
|
22221
|
-
switch (
|
|
22221
|
+
switch (vt(Lf.get(), t).orThunk(() => {
|
|
22222
22222
|
const d = ps(Lf.get());
|
|
22223
22223
|
return Js(d, (g) => t.indexOf(g) > -1 ? A.some(Lf.get()[g]) : A.none());
|
|
22224
22224
|
}).getOr(nh.NORMAL)) {
|
|
@@ -22297,7 +22297,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22297
22297
|
"right",
|
|
22298
22298
|
"top",
|
|
22299
22299
|
"bottom"
|
|
22300
|
-
], (a) =>
|
|
22300
|
+
], (a) => vt(s, a).map((c) => Qy(t, c))), zb = (t, s, a) => {
|
|
22301
22301
|
const c = (C, E) => s[C].map((R) => {
|
|
22302
22302
|
const B = C === "top" || C === "bottom", H = B ? a.top : a.left, J = (C === "left" || C === "top" ? Math.max : Math.min)(R, E) + H;
|
|
22303
22303
|
return B ? Ei(J, t.y, t.bottom) : Ei(J, t.x, t.right);
|
|
@@ -22366,7 +22366,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22366
22366
|
__proto__: null,
|
|
22367
22367
|
events: (t) => Es([Je(qg(), (s, a) => {
|
|
22368
22368
|
const c = t.channels, d = ps(c), g = a, p = GT(d, g);
|
|
22369
|
-
|
|
22369
|
+
bt(p, (x) => {
|
|
22370
22370
|
const C = c[x], E = C.schema, R = Sl("channel[" + x + `] data
|
|
22371
22371
|
Receiver: ` + zd(s.element), E, g.data);
|
|
22372
22372
|
C.onReceive(s, R);
|
|
@@ -22420,9 +22420,9 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22420
22420
|
};
|
|
22421
22421
|
},
|
|
22422
22422
|
schema: oe(s),
|
|
22423
|
-
exhibit: (B, H) => tl(x(B),
|
|
22423
|
+
exhibit: (B, H) => tl(x(B), vt(c, "exhibit"), (W, J) => J(H, W.config, W.state)).getOrThunk(() => ti({})),
|
|
22424
22424
|
name: oe(a),
|
|
22425
|
-
handlers: (B) => x(B).map((H) =>
|
|
22425
|
+
handlers: (B) => x(B).map((H) => vt(c, "events").getOr(() => ({}))(H.config, H.state)).getOr({})
|
|
22426
22426
|
};
|
|
22427
22427
|
return R;
|
|
22428
22428
|
}, wt = (t) => on(t), l2 = Ts([
|
|
@@ -22745,7 +22745,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22745
22745
|
"right",
|
|
22746
22746
|
"inset"
|
|
22747
22747
|
], Kd = (t, s, a, c = 1) => {
|
|
22748
|
-
const d = t * c, g = s * c, p = (C) =>
|
|
22748
|
+
const d = t * c, g = s * c, p = (C) => vt(a, C).getOr([]), x = (C, E, R) => {
|
|
22749
22749
|
const B = Ft($C, R);
|
|
22750
22750
|
return {
|
|
22751
22751
|
offset: $o(C, E),
|
|
@@ -23242,7 +23242,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23242
23242
|
getMode: (t, s, a) => s.useFixed() ? "fixed" : "absolute",
|
|
23243
23243
|
reset: (t, s, a, c) => {
|
|
23244
23244
|
const d = c.element;
|
|
23245
|
-
|
|
23245
|
+
bt([
|
|
23246
23246
|
"position",
|
|
23247
23247
|
"left",
|
|
23248
23248
|
"right",
|
|
@@ -23262,7 +23262,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23262
23262
|
set: (d, g) => {
|
|
23263
23263
|
t[d] = g;
|
|
23264
23264
|
},
|
|
23265
|
-
get: (d) =>
|
|
23265
|
+
get: (d) => vt(t, d)
|
|
23266
23266
|
});
|
|
23267
23267
|
}
|
|
23268
23268
|
});
|
|
@@ -23275,10 +23275,10 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23275
23275
|
}), Ep = (t) => t.getSystem().isConnected(), o0 = (t) => {
|
|
23276
23276
|
go(t, Rf());
|
|
23277
23277
|
const s = t.components();
|
|
23278
|
-
|
|
23278
|
+
bt(s, o0);
|
|
23279
23279
|
}, Ap = (t) => {
|
|
23280
23280
|
const s = t.components();
|
|
23281
|
-
|
|
23281
|
+
bt(s, Ap), go(t, _i());
|
|
23282
23282
|
}, F2 = (t, s) => {
|
|
23283
23283
|
t.getSystem().addToWorld(s), ao(t.element) && Ap(s);
|
|
23284
23284
|
}, Dp = (t) => {
|
|
@@ -23286,25 +23286,25 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23286
23286
|
}, lh = (t, s) => {
|
|
23287
23287
|
ja(t.element, s.element);
|
|
23288
23288
|
}, md = (t) => {
|
|
23289
|
-
|
|
23289
|
+
bt(t.components(), (s) => Ec(s.element)), Rd(t.element), t.syncComponents();
|
|
23290
23290
|
}, ME = (t, s, a) => {
|
|
23291
23291
|
const c = t.components();
|
|
23292
23292
|
md(t);
|
|
23293
23293
|
const d = a(s), g = Ft(c, d);
|
|
23294
|
-
|
|
23294
|
+
bt(g, (p) => {
|
|
23295
23295
|
o0(p), t.getSystem().removeFromWorld(p);
|
|
23296
|
-
}),
|
|
23296
|
+
}), bt(d, (p) => {
|
|
23297
23297
|
Ep(p) ? lh(t, p) : (t.getSystem().addToWorld(p), lh(t, p), ao(t.element) && Ap(p));
|
|
23298
23298
|
}), t.syncComponents();
|
|
23299
23299
|
}, PE = (t, s, a) => {
|
|
23300
23300
|
const c = t.components(), d = _e(s, (x) => Xh(x).toArray());
|
|
23301
|
-
|
|
23301
|
+
bt(c, (x) => {
|
|
23302
23302
|
jo(d, x) || Dp(x);
|
|
23303
23303
|
});
|
|
23304
23304
|
const g = a(s), p = Ft(c, g);
|
|
23305
|
-
|
|
23305
|
+
bt(p, (x) => {
|
|
23306
23306
|
Ep(x) && Dp(x);
|
|
23307
|
-
}),
|
|
23307
|
+
}), bt(g, (x) => {
|
|
23308
23308
|
Ep(x) || F2(t, x);
|
|
23309
23309
|
}), t.syncComponents();
|
|
23310
23310
|
}, Kf = (t, s) => {
|
|
@@ -23320,7 +23320,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23320
23320
|
});
|
|
23321
23321
|
}, H2 = (t) => {
|
|
23322
23322
|
const s = t.components();
|
|
23323
|
-
|
|
23323
|
+
bt(s, rv), Rd(t.element), t.syncComponents();
|
|
23324
23324
|
}, Ka = (t, s) => {
|
|
23325
23325
|
Pu(t, s, ja);
|
|
23326
23326
|
}, qm = (t, s) => {
|
|
@@ -23328,12 +23328,12 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23328
23328
|
}, Pu = (t, s, a) => {
|
|
23329
23329
|
a(t, s.element);
|
|
23330
23330
|
const c = $a(s.element);
|
|
23331
|
-
|
|
23331
|
+
bt(c, (d) => {
|
|
23332
23332
|
s.getByDom(d).each(Ap);
|
|
23333
23333
|
});
|
|
23334
23334
|
}, Rp = (t) => {
|
|
23335
23335
|
const s = $a(t.element);
|
|
23336
|
-
|
|
23336
|
+
bt(s, (a) => {
|
|
23337
23337
|
t.getByDom(a).each(o0);
|
|
23338
23338
|
}), Ec(t.element);
|
|
23339
23339
|
}, Jl = (t, s, a, c) => {
|
|
@@ -23488,12 +23488,12 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23488
23488
|
dataByValue: t.get(),
|
|
23489
23489
|
dataByText: s.get()
|
|
23490
23490
|
}),
|
|
23491
|
-
lookup: (p) =>
|
|
23491
|
+
lookup: (p) => vt(t.get(), p).orThunk(() => vt(s.get(), p)),
|
|
23492
23492
|
update: (p) => {
|
|
23493
23493
|
const x = t.get(), C = s.get(), E = {}, R = {};
|
|
23494
|
-
|
|
23495
|
-
E[B.value] = B,
|
|
23496
|
-
|
|
23494
|
+
bt(p, (B) => {
|
|
23495
|
+
E[B.value] = B, vt(B, "meta").each((H) => {
|
|
23496
|
+
vt(H, "text").each((W) => {
|
|
23497
23497
|
R[W] = B;
|
|
23498
23498
|
});
|
|
23499
23499
|
});
|
|
@@ -23621,13 +23621,13 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23621
23621
|
"valueThunks"
|
|
23622
23622
|
]
|
|
23623
23623
|
}
|
|
23624
|
-
]), gd = (t) => mo(t, "uiType"), gv = (t, s, a, c) => t.exists((d) => d !== a.owner) ? i0.single(!0, oe(a)) :
|
|
23624
|
+
]), gd = (t) => mo(t, "uiType"), gv = (t, s, a, c) => t.exists((d) => d !== a.owner) ? i0.single(!0, oe(a)) : vt(c, a.name).fold(() => {
|
|
23625
23625
|
throw new Error("Unknown placeholder component: " + a.name + `
|
|
23626
23626
|
Known: [` + ps(c) + `]
|
|
23627
23627
|
Namespace: ` + t.getOr("none") + `
|
|
23628
23628
|
Spec: ` + JSON.stringify(a, null, 2));
|
|
23629
23629
|
}, (d) => d.replace()), hv = (t, s, a, c) => gd(a) && a.uiType === fv ? gv(t, s, a, c) : i0.single(!1, oe(a)), Np = (t, s, a, c) => hv(t, s, a, c).fold((g, p) => {
|
|
23630
|
-
const x = gd(a) ? p(s, a.config, a.validated) : p(s), C =
|
|
23630
|
+
const x = gd(a) ? p(s, a.config, a.validated) : p(s), C = vt(x, "components").getOr([]), E = _e(C, (R) => Np(t, s, R, c));
|
|
23631
23631
|
return [{
|
|
23632
23632
|
...x,
|
|
23633
23633
|
components: E
|
|
@@ -23712,7 +23712,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23712
23712
|
});
|
|
23713
23713
|
const p0 = (t, s, a, c) => Uo(s.defaults(t, a, c), a, { uid: t.partUids[s.name] }, s.overrides(t, a, c)), jE = (t, s, a) => {
|
|
23714
23714
|
const c = {}, d = {};
|
|
23715
|
-
return
|
|
23715
|
+
return bt(a, (g) => {
|
|
23716
23716
|
g.fold((p) => {
|
|
23717
23717
|
c[p.pname] = q2(!0, (x, C, E) => p.factory.sketch(p0(x, p, C, E)));
|
|
23718
23718
|
}, (p) => {
|
|
@@ -23732,7 +23732,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23732
23732
|
};
|
|
23733
23733
|
}, Xm = (t, s) => {
|
|
23734
23734
|
const a = {};
|
|
23735
|
-
return
|
|
23735
|
+
return bt(s, (c) => {
|
|
23736
23736
|
lS(c).each((d) => {
|
|
23737
23737
|
const g = b0(t, d.pname);
|
|
23738
23738
|
a[d.name] = (p) => {
|
|
@@ -23760,7 +23760,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23760
23760
|
return t.getSystem().getByUid(c).toOptional();
|
|
23761
23761
|
}, Jm = (t, s, a) => Cs(t, s, a).getOrDie("Could not find part: " + a), fS = (t, s, a) => {
|
|
23762
23762
|
const c = {}, d = s.partUids, g = t.getSystem();
|
|
23763
|
-
return
|
|
23763
|
+
return bt(a, (p) => {
|
|
23764
23764
|
c[p] = oe(g.getByUid(d[p]));
|
|
23765
23765
|
}), c;
|
|
23766
23766
|
}, X2 = (t, s) => {
|
|
@@ -23768,7 +23768,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23768
23768
|
return qo(s.partUids, (c, d) => oe(a.getByUid(c)));
|
|
23769
23769
|
}, J2 = (t) => ps(t.partUids), dh = (t, s, a) => {
|
|
23770
23770
|
const c = {}, d = s.partUids, g = t.getSystem();
|
|
23771
|
-
return
|
|
23771
|
+
return bt(a, (p) => {
|
|
23772
23772
|
c[p] = oe(g.getByUid(d[p]).getOrDie());
|
|
23773
23773
|
}), c;
|
|
23774
23774
|
}, Q2 = (t, s) => {
|
|
@@ -23909,7 +23909,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23909
23909
|
apis: v5
|
|
23910
23910
|
}), Qm = (t, s, a, c) => {
|
|
23911
23911
|
const d = Sa(t.element, "." + s.highlightClass);
|
|
23912
|
-
|
|
23912
|
+
bt(d, (g) => {
|
|
23913
23913
|
dr(c, (x) => Lo(x.element, g)) || (Qs(g, s.highlightClass), t.getSystem().getByDom(g).each((x) => {
|
|
23914
23914
|
s.onDehighlight(t, x), go(x, A1());
|
|
23915
23915
|
}));
|
|
@@ -24817,7 +24817,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24817
24817
|
xo("onDehighlight")
|
|
24818
24818
|
]), rR = oe("alloy.menu-focus"), Z7 = (t, s) => {
|
|
24819
24819
|
const a = Sa(t.element, '[role="menuitemradio"][aria-checked="true"]');
|
|
24820
|
-
|
|
24820
|
+
bt(a, (c) => {
|
|
24821
24821
|
Lo(c, s.element) || t.getSystem().getByDom(c).each((d) => {
|
|
24822
24822
|
Gn.off(d);
|
|
24823
24823
|
});
|
|
@@ -24872,18 +24872,18 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24872
24872
|
}), aR = (t) => xc(t, (s, a) => ({
|
|
24873
24873
|
k: s,
|
|
24874
24874
|
v: a
|
|
24875
|
-
})), lR = (t, s, a, c) =>
|
|
24875
|
+
})), lR = (t, s, a, c) => vt(a, c).bind((d) => vt(t, d).bind((g) => {
|
|
24876
24876
|
const p = lR(t, s, a, g);
|
|
24877
24877
|
return A.some([g].concat(p));
|
|
24878
24878
|
})).getOr([]), G7 = (t, s) => {
|
|
24879
24879
|
const a = {};
|
|
24880
24880
|
us(t, (p, x) => {
|
|
24881
|
-
|
|
24881
|
+
bt(p, (C) => {
|
|
24882
24882
|
a[C] = x;
|
|
24883
24883
|
});
|
|
24884
24884
|
});
|
|
24885
24885
|
const c = s, d = aR(s), g = qo(d, (p, x) => [x].concat(lR(a, c, d, x)));
|
|
24886
|
-
return qo(a, (p) =>
|
|
24886
|
+
return qo(a, (p) => vt(g, p).getOr([p]));
|
|
24887
24887
|
}, cR = () => {
|
|
24888
24888
|
const t = dn({}), s = dn({}), a = dn({}), c = eo(), d = dn({}), g = () => {
|
|
24889
24889
|
t.set({}), s.set({}), a.set({}), c.clear();
|
|
@@ -24905,14 +24905,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24905
24905
|
triggeringPath: yt
|
|
24906
24906
|
})))), B = (Xe, je) => {
|
|
24907
24907
|
const yt = Qn(xe(Xe).toArray(), (Et) => ce(Et).isSome());
|
|
24908
|
-
return
|
|
24908
|
+
return vt(a.get(), Xe).bind((Et) => {
|
|
24909
24909
|
const Vn = Go(yt.concat(Et)), zt = _e(Vn, (En, Cn) => R(En, je, Vn.slice(0, Cn + 1)).fold(() => Aa(c.get(), En) ? [] : [A.none()], (Ko) => [A.some(Ko)]));
|
|
24910
24910
|
return es(zt);
|
|
24911
24911
|
});
|
|
24912
|
-
}, H = (Xe) =>
|
|
24913
|
-
const yt =
|
|
24912
|
+
}, H = (Xe) => vt(t.get(), Xe).map((je) => {
|
|
24913
|
+
const yt = vt(a.get(), Xe).getOr([]);
|
|
24914
24914
|
return [je].concat(yt);
|
|
24915
|
-
}), W = (Xe) =>
|
|
24915
|
+
}), W = (Xe) => vt(a.get(), Xe).bind((je) => je.length > 1 ? A.some(je.slice(1)) : A.none()), J = (Xe) => vt(a.get(), Xe), ce = (Xe) => $e(Xe).bind(Ov), $e = (Xe) => vt(s.get(), Xe), xe = (Xe) => vt(t.get(), Xe);
|
|
24916
24916
|
return {
|
|
24917
24917
|
setMenuBuilt: x,
|
|
24918
24918
|
setContents: C,
|
|
@@ -24981,12 +24981,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24981
24981
|
});
|
|
24982
24982
|
}, B = (At, Yt) => Da(et(Yt, (An) => At.lookupMenu(An).bind(($n) => $n.type === "prepared" ? A.some($n.menu) : A.none()))), H = (At, Yt, An) => {
|
|
24983
24983
|
const $n = B(Yt, Yt.otherMenus(An));
|
|
24984
|
-
|
|
24984
|
+
bt($n, (bn) => {
|
|
24985
24985
|
ki(bn.element, [t.markers.backgroundMenu]), t.stayInDom || Bn.remove(At, bn);
|
|
24986
24986
|
});
|
|
24987
24987
|
}, W = (At) => a.get().getOrThunk(() => {
|
|
24988
24988
|
const Yt = {}, An = Sa(At.element, `.${t.markers.item}`), $n = Qn(An, (bn) => Ws(bn, "aria-haspopup") === "true");
|
|
24989
|
-
return
|
|
24989
|
+
return bt($n, (bn) => {
|
|
24990
24990
|
At.getSystem().getByDom(bn).each((In) => {
|
|
24991
24991
|
const _s = p(In);
|
|
24992
24992
|
Yt[_s] = In;
|
|
@@ -25003,7 +25003,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25003
25003
|
return A.none();
|
|
25004
25004
|
{
|
|
25005
25005
|
const In = bn.menu, _s = B(Yt, An.slice(1));
|
|
25006
|
-
return
|
|
25006
|
+
return bt(_s, (To) => {
|
|
25007
25007
|
Nr(To.element, t.markers.backgroundMenu);
|
|
25008
25008
|
}), ao(In.element) || Bn.append(At, Ti(In)), ki(In.element, [t.markers.backgroundMenu]), R(At, In), H(At, Yt, An), A.some(In);
|
|
25009
25009
|
}
|
|
@@ -25212,7 +25212,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25212
25212
|
},
|
|
25213
25213
|
onRepositionMenu: (E, R, B) => {
|
|
25214
25214
|
const H = g().getOrDie();
|
|
25215
|
-
El.positionWithinBounds(H, R, a, d()),
|
|
25215
|
+
El.positionWithinBounds(H, R, a, d()), bt(B, (W) => {
|
|
25216
25216
|
const J = C(W.triggeringPath);
|
|
25217
25217
|
El.position(H, W.triggeredMenu, {
|
|
25218
25218
|
anchor: {
|
|
@@ -25355,7 +25355,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25355
25355
|
const Ya = ai({
|
|
25356
25356
|
name: "Button",
|
|
25357
25357
|
factory: (t) => {
|
|
25358
|
-
const s = of(t.action), a = t.dom.tag, c = (g) =>
|
|
25358
|
+
const s = of(t.action), a = t.dom.tag, c = (g) => vt(t.dom, "attributes").bind((p) => vt(p, g)), d = () => {
|
|
25359
25359
|
if (a === "button") {
|
|
25360
25360
|
const g = c("type").getOr("button"), p = c("role").map((x) => ({ role: x })).getOr({});
|
|
25361
25361
|
return {
|
|
@@ -26533,14 +26533,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26533
26533
|
"list-bull-circle": !0,
|
|
26534
26534
|
"list-bull-default": !0,
|
|
26535
26535
|
"list-bull-square": !0
|
|
26536
|
-
}, bR = "temporary-placeholder", I4 = (t) => () =>
|
|
26536
|
+
}, bR = "temporary-placeholder", I4 = (t) => () => vt(t, bR).getOr("!not found!"), Sx = (t, s) => {
|
|
26537
26537
|
const a = t.toLowerCase();
|
|
26538
26538
|
if (Fu.isRtl()) {
|
|
26539
26539
|
const c = xr(a, "-rtl");
|
|
26540
26540
|
return mo(s, c) ? c : a;
|
|
26541
26541
|
} else
|
|
26542
26542
|
return a;
|
|
26543
|
-
}, L4 = (t, s) =>
|
|
26543
|
+
}, L4 = (t, s) => vt(s, Sx(t, s)), F4 = (t, s) => {
|
|
26544
26544
|
const a = s();
|
|
26545
26545
|
return L4(t, a).getOrThunk(I4(a));
|
|
26546
26546
|
}, H4 = (t, s, a) => {
|
|
@@ -26550,7 +26550,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26550
26550
|
Ib(t.element, "svg").each((s) => Nt(s, "focusable", "false"));
|
|
26551
26551
|
})]), vR = (t, s, a, c) => {
|
|
26552
26552
|
var d, g;
|
|
26553
|
-
const p = vI(s) ? ["tox-icon--flip"] : [], x =
|
|
26553
|
+
const p = vI(s) ? ["tox-icon--flip"] : [], x = vt(a, Sx(s, a)).or(c).getOrThunk(I4(a));
|
|
26554
26554
|
return {
|
|
26555
26555
|
dom: {
|
|
26556
26556
|
tag: t.tag,
|
|
@@ -27031,7 +27031,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27031
27031
|
const r3 = "tox-menu-nav__js", Lv = "tox-collection__item", a3 = "tox-swatch", _I = {
|
|
27032
27032
|
normal: r3,
|
|
27033
27033
|
color: a3
|
|
27034
|
-
}, HR = "tox-collection__item--enabled", kI = "tox-collection__group-heading", VR = "tox-collection__item-icon", l3 = "tox-collection__item-label", TI = "tox-collection__item-accessory", zR = "tox-collection__item-caret", EI = "tox-collection__item-checkmark", Ox = "tox-collection__item--active", UR = "tox-collection__item-container", AI = "tox-collection__item-container--column", WR = "tox-collection__item-container--row", n_ = "tox-collection__item-container--align-right", DI = "tox-collection__item-container--align-left", c3 = "tox-collection__item-container--valign-top", OI = "tox-collection__item-container--valign-middle", RI = "tox-collection__item-container--valign-bottom", ZR = (t) =>
|
|
27034
|
+
}, HR = "tox-collection__item--enabled", kI = "tox-collection__group-heading", VR = "tox-collection__item-icon", l3 = "tox-collection__item-label", TI = "tox-collection__item-accessory", zR = "tox-collection__item-caret", EI = "tox-collection__item-checkmark", Ox = "tox-collection__item--active", UR = "tox-collection__item-container", AI = "tox-collection__item-container--column", WR = "tox-collection__item-container--row", n_ = "tox-collection__item-container--align-right", DI = "tox-collection__item-container--align-left", c3 = "tox-collection__item-container--valign-top", OI = "tox-collection__item-container--valign-middle", RI = "tox-collection__item-container--valign-bottom", ZR = (t) => vt(_I, t).getOr(r3), jR = (t) => t === "color" ? "tox-swatches" : "tox-menu", i3 = (t) => ({
|
|
27035
27035
|
backgroundMenu: "tox-background-menu",
|
|
27036
27036
|
selectedMenu: "tox-selected-menu",
|
|
27037
27037
|
selectedItem: "tox-collection__item--active",
|
|
@@ -27238,7 +27238,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27238
27238
|
}), XR = (t, s) => {
|
|
27239
27239
|
const a = [];
|
|
27240
27240
|
let c = [];
|
|
27241
|
-
return
|
|
27241
|
+
return bt(t, (d, g) => {
|
|
27242
27242
|
s(d, g) ? (c.length > 0 && a.push(c), c = [], (mo(d.dom, "innerHtml") || d.components && d.components.length > 0) && c.push(d)) : c.push(d);
|
|
27243
27243
|
}), c.length > 0 && a.push(c), et(a, (d) => ({
|
|
27244
27244
|
dom: {
|
|
@@ -27649,9 +27649,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27649
27649
|
t.mainUi.mothership,
|
|
27650
27650
|
...t.uiMotherships
|
|
27651
27651
|
];
|
|
27652
|
-
s &&
|
|
27652
|
+
s && bt(d, (g) => {
|
|
27653
27653
|
g.broadcastOn([fd()], { target: c });
|
|
27654
|
-
}),
|
|
27654
|
+
}), bt(d, (g) => {
|
|
27655
27655
|
g.broadcastOn([E$], { readonly: s });
|
|
27656
27656
|
});
|
|
27657
27657
|
}, A$ = (t, s) => {
|
|
@@ -27873,7 +27873,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27873
27873
|
t.caret
|
|
27874
27874
|
]
|
|
27875
27875
|
};
|
|
27876
|
-
}, B0 = (t, s, a, c = A.none()) => t.presets === "color" ? b_(t, s, c) : M3(t, s, a, c), O$ = (t, s) =>
|
|
27876
|
+
}, B0 = (t, s, a, c = A.none()) => t.presets === "color" ? b_(t, s, c) : M3(t, s, a, c), O$ = (t, s) => vt(t, "tooltipWorker").map((a) => [T$.config({
|
|
27877
27877
|
lazySink: s.getSink,
|
|
27878
27878
|
tooltipDom: {
|
|
27879
27879
|
tag: "div",
|
|
@@ -27933,7 +27933,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27933
27933
|
const d = (p) => ({
|
|
27934
27934
|
isEnabled: () => !yn.isDisabled(p),
|
|
27935
27935
|
setEnabled: (x) => {
|
|
27936
|
-
yn.set(p, !x),
|
|
27936
|
+
yn.set(p, !x), bt(Sa(p.element, "*"), (C) => {
|
|
27937
27937
|
p.getSystem().getByDom(C).each((E) => {
|
|
27938
27938
|
E.hasConfigured(yn) && yn.set(E, !x);
|
|
27939
27939
|
});
|
|
@@ -28137,7 +28137,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28137
28137
|
add: p,
|
|
28138
28138
|
state: () => g.slice(0)
|
|
28139
28139
|
};
|
|
28140
|
-
}, w_ = (t) =>
|
|
28140
|
+
}, w_ = (t) => vt(z3, t).getOrThunk(() => {
|
|
28141
28141
|
const s = `tinymce-custom-colors-${t}`, a = Yp.getItem(s);
|
|
28142
28142
|
if (ir(a)) {
|
|
28143
28143
|
const d = Yp.getItem("tinymce-custom-colors");
|
|
@@ -28586,7 +28586,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28586
28586
|
};
|
|
28587
28587
|
},
|
|
28588
28588
|
colorswatch: ML
|
|
28589
|
-
}, sA = (t, s) =>
|
|
28589
|
+
}, sA = (t, s) => vt(IL, t.fancytype).map((a) => a(t, s)), rA = (t, s, a, c = !0, d = !1) => {
|
|
28590
28590
|
const g = d ? uL(a.icons) : rm(a.icons), p = (C) => ({
|
|
28591
28591
|
isEnabled: () => !yn.isDisabled(C),
|
|
28592
28592
|
setEnabled: (E) => yn.set(C, !E),
|
|
@@ -28699,11 +28699,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28699
28699
|
const t = {}, s = (g, p) => {
|
|
28700
28700
|
if (ps(g.others).length === 0)
|
|
28701
28701
|
throw new Error("Cannot find any known coupled components");
|
|
28702
|
-
return
|
|
28702
|
+
return vt(t, p);
|
|
28703
28703
|
}, a = (g, p, x) => s(p, x).getOrThunk(() => {
|
|
28704
|
-
const E =
|
|
28704
|
+
const E = vt(p.others, x).getOrDie("No information found for coupled component: " + x)(g), R = g.getSystem().build(E);
|
|
28705
28705
|
return t[x] = R, R;
|
|
28706
|
-
}), c = (g, p, x) => s(p, x).orThunk(() => (
|
|
28706
|
+
}), c = (g, p, x) => s(p, x).orThunk(() => (vt(p.others, x).getOrDie("No information found for coupled component: " + x), A.none())), d = oe({});
|
|
28707
28707
|
return ei({
|
|
28708
28708
|
readState: d,
|
|
28709
28709
|
getExisting: c,
|
|
@@ -28727,7 +28727,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28727
28727
|
}, g = (E) => {
|
|
28728
28728
|
p() || (s = A.some(E), x(a), a = []);
|
|
28729
28729
|
}, p = () => s.isSome(), x = (E) => {
|
|
28730
|
-
|
|
28730
|
+
bt(E, C);
|
|
28731
28731
|
}, C = (E) => {
|
|
28732
28732
|
s.each((R) => {
|
|
28733
28733
|
setTimeout(() => {
|
|
@@ -28816,7 +28816,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28816
28816
|
},
|
|
28817
28817
|
onRepositionMenu: (B, H, W) => {
|
|
28818
28818
|
const J = C().getOrDie();
|
|
28819
|
-
El.position(J, H, { anchor: a }),
|
|
28819
|
+
El.position(J, H, { anchor: a }), bt(W, (ce) => {
|
|
28820
28820
|
El.position(J, ce.triggeredMenu, {
|
|
28821
28821
|
anchor: {
|
|
28822
28822
|
type: "submenu",
|
|
@@ -28926,7 +28926,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28926
28926
|
}),
|
|
28927
28927
|
pM()
|
|
28928
28928
|
]), tF = (t, s, a, c) => {
|
|
28929
|
-
const d = (R) =>
|
|
28929
|
+
const d = (R) => vt(t.dom, "attributes").bind((B) => vt(B, R)), g = (R) => {
|
|
28930
28930
|
ho.getState(R).each((B) => {
|
|
28931
28931
|
jp.highlightPrimary(B);
|
|
28932
28932
|
});
|
|
@@ -29279,7 +29279,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29279
29279
|
value: p
|
|
29280
29280
|
}
|
|
29281
29281
|
]);
|
|
29282
|
-
return { fireIfReady: (E, R) =>
|
|
29282
|
+
return { fireIfReady: (E, R) => vt(x, R).bind((B) => B(E)) };
|
|
29283
29283
|
}, yF = (t) => t.raw.which === c4[0] && !jo([
|
|
29284
29284
|
"input",
|
|
29285
29285
|
"textarea"
|
|
@@ -29334,12 +29334,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29334
29334
|
}, 0));
|
|
29335
29335
|
});
|
|
29336
29336
|
return { unbind: () => {
|
|
29337
|
-
|
|
29337
|
+
bt(g, (W) => {
|
|
29338
29338
|
W.unbind();
|
|
29339
29339
|
}), C.unbind(), E.unbind(), B.unbind(), x.unbind(), p.on(clearTimeout), R.on(clearTimeout);
|
|
29340
29340
|
} };
|
|
29341
29341
|
}, EM = (t, s) => {
|
|
29342
|
-
const a =
|
|
29342
|
+
const a = vt(t, "target").getOr(s);
|
|
29343
29343
|
return dn(a);
|
|
29344
29344
|
}, wF = (t, s) => {
|
|
29345
29345
|
const a = dn(!1), c = dn(!1);
|
|
@@ -29384,7 +29384,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29384
29384
|
return DM(t, s, a, c, g, d);
|
|
29385
29385
|
}, SF = (t, s, a) => {
|
|
29386
29386
|
const c = AM(s);
|
|
29387
|
-
return
|
|
29387
|
+
return bt(t, (d) => {
|
|
29388
29388
|
const g = d.descHandler;
|
|
29389
29389
|
Qh(g)(c);
|
|
29390
29390
|
}), c.isStopped();
|
|
@@ -29403,7 +29403,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29403
29403
|
const B = t[R] !== void 0 ? t[R] : {};
|
|
29404
29404
|
B[x] = zy(E, p), t[R] = B;
|
|
29405
29405
|
});
|
|
29406
|
-
}, a = (p, x) => R1(x).bind((C) =>
|
|
29406
|
+
}, a = (p, x) => R1(x).bind((C) => vt(p, C)).map((C) => _F(x, C));
|
|
29407
29407
|
return {
|
|
29408
29408
|
registerId: s,
|
|
29409
29409
|
unregisterId: (p) => {
|
|
@@ -29411,8 +29411,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29411
29411
|
mo(x, p) && delete x[p];
|
|
29412
29412
|
});
|
|
29413
29413
|
},
|
|
29414
|
-
filterByType: (p) =>
|
|
29415
|
-
find: (p, x, C) =>
|
|
29414
|
+
filterByType: (p) => vt(t, p).map((x) => di(x, (C, E) => kF(E, C))).getOr([]),
|
|
29415
|
+
find: (p, x, C) => vt(t, x).bind((E) => Gl(C, (R) => a(E, R), p))
|
|
29416
29416
|
};
|
|
29417
29417
|
}, MM = () => {
|
|
29418
29418
|
const t = $M(), s = {}, a = (E) => {
|
|
@@ -29441,7 +29441,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29441
29441
|
filter: (E) => t.filterByType(E),
|
|
29442
29442
|
register: d,
|
|
29443
29443
|
unregister: g,
|
|
29444
|
-
getById: (E) =>
|
|
29444
|
+
getById: (E) => vt(s, E)
|
|
29445
29445
|
};
|
|
29446
29446
|
}, lf = ai({
|
|
29447
29447
|
name: "Container",
|
|
@@ -29521,9 +29521,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29521
29521
|
},
|
|
29522
29522
|
isConnected: Ge
|
|
29523
29523
|
}, p = (xe) => {
|
|
29524
|
-
xe.connect(g), Qr(xe.element) || (a.register(xe),
|
|
29524
|
+
xe.connect(g), Qr(xe.element) || (a.register(xe), bt(xe.components(), p), g.triggerEvent(Of(), xe.element, { target: xe.element }));
|
|
29525
29525
|
}, x = (xe) => {
|
|
29526
|
-
Qr(xe.element) || (
|
|
29526
|
+
Qr(xe.element) || (bt(xe.components(), x), a.unregister(xe)), xe.disconnect();
|
|
29527
29527
|
}, C = (xe) => {
|
|
29528
29528
|
Kf(t, xe);
|
|
29529
29529
|
}, E = (xe) => {
|
|
@@ -29532,7 +29532,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29532
29532
|
d.unbind(), Ec(t.element);
|
|
29533
29533
|
}, B = (xe) => {
|
|
29534
29534
|
const pe = a.filter(qg());
|
|
29535
|
-
|
|
29535
|
+
bt(pe, (Oe) => {
|
|
29536
29536
|
const ut = Oe.descHandler;
|
|
29537
29537
|
Qh(ut)(xe);
|
|
29538
29538
|
});
|
|
@@ -30845,7 +30845,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30845
30845
|
const Et = Hx(je);
|
|
30846
30846
|
E.paletteRgba.set(Et), E.paletteHue.set(yt);
|
|
30847
30847
|
}, pe = (je, yt, Et, Vn) => {
|
|
30848
|
-
xe(yt, Et),
|
|
30848
|
+
xe(yt, Et), bt(Vn, (zt) => {
|
|
30849
30849
|
zt(je, yt, Et);
|
|
30850
30850
|
});
|
|
30851
30851
|
}, Oe = () => {
|
|
@@ -31023,7 +31023,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31023
31023
|
const c = (H, W) => {
|
|
31024
31024
|
W.stop();
|
|
31025
31025
|
}, d = (H) => (W, J) => {
|
|
31026
|
-
|
|
31026
|
+
bt(H, (ce) => {
|
|
31027
31027
|
ce(W, J);
|
|
31028
31028
|
});
|
|
31029
31029
|
}, g = (H, W) => {
|
|
@@ -31275,7 +31275,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31275
31275
|
Xl(t, "error", () => {
|
|
31276
31276
|
g(), a("Unable to load data from image: " + t.dom.src);
|
|
31277
31277
|
})
|
|
31278
|
-
], g = () =>
|
|
31278
|
+
], g = () => bt(d, (p) => p.unbind());
|
|
31279
31279
|
t.dom.complete && c();
|
|
31280
31280
|
}), tk = (t, s, a, c, d) => {
|
|
31281
31281
|
const g = a * d, p = c * d, x = Math.max(0, t / 2 - g / 2), C = Math.max(0, s / 2 - p / 2);
|
|
@@ -31527,7 +31527,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31527
31527
|
expansions: g
|
|
31528
31528
|
};
|
|
31529
31529
|
}, iH = (t) => {
|
|
31530
|
-
const s =
|
|
31530
|
+
const s = vt(t, "value").getOrThunk(() => Ut("generated-menu-item"));
|
|
31531
31531
|
return Uo({ value: s }, t);
|
|
31532
31532
|
}, IP = (t, s) => {
|
|
31533
31533
|
const a = cH(X(t) ? t.split(" ") : t, s);
|
|
@@ -33380,7 +33380,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33380
33380
|
Ys.config({}),
|
|
33381
33381
|
wn.config({})
|
|
33382
33382
|
])
|
|
33383
|
-
}), Ta = (t) => (s, a, c, d) =>
|
|
33383
|
+
}), Ta = (t) => (s, a, c, d) => vt(a, "name").fold(() => t(a, d, A.none()), (g) => s.field(g, t(a, d, vt(c, g)))), nV = (t) => (s, a, c, d) => {
|
|
33384
33384
|
const g = Uo(a, { source: "dynamic" });
|
|
33385
33385
|
return Ta(t)(s, g, c, d);
|
|
33386
33386
|
}, oV = {
|
|
@@ -33414,7 +33414,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33414
33414
|
}, uw = (t, s, a, c) => {
|
|
33415
33415
|
const d = Uo(c, { shared: { interpreter: (g) => cy(t, g, a, d) } });
|
|
33416
33416
|
return cy(t, s, a, d);
|
|
33417
|
-
}, cy = (t, s, a, c) =>
|
|
33417
|
+
}, cy = (t, s, a, c) => vt(oV, s.type).fold(() => (console.error(`Unknown factory type "${s.type}", defaulting to container: `, s), s), (d) => d(t, s, a, c)), wN = (t, s, a) => cy(df, t, s, a), gg = "layout-inset", bD = (t) => t.x, mk = (t, s) => t.x + t.width / 2 - s.width / 2, fk = (t, s) => t.x + t.width - s.width, dw = (t) => t.y, vD = (t, s) => t.y + t.height - s.height, yD = (t, s) => t.y + t.height / 2 - s.height / 2, mw = (t, s, a) => ya(fk(t, s), vD(t, s), a.insetSouthwest(), Gd(), "southwest", Ks(t, {
|
|
33418
33418
|
right: 0,
|
|
33419
33419
|
bottom: 3
|
|
33420
33420
|
}), gg), iy = (t, s, a) => ya(bD(t), vD(t, s), a.insetSoutheast(), Vb(), "southeast", Ks(t, {
|
|
@@ -33732,7 +33732,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33732
33732
|
formats: []
|
|
33733
33733
|
}), hV = (t, s) => {
|
|
33734
33734
|
const a = ON(s), c = (d) => {
|
|
33735
|
-
|
|
33735
|
+
bt(d, (g) => {
|
|
33736
33736
|
t.formatter.has(g.name) || t.formatter.register(g.name, g.format);
|
|
33737
33737
|
});
|
|
33738
33738
|
};
|
|
@@ -33836,11 +33836,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33836
33836
|
Yp.setItem(gk, JSON.stringify(t));
|
|
33837
33837
|
}, TD = (t) => {
|
|
33838
33838
|
const s = yw();
|
|
33839
|
-
return
|
|
33839
|
+
return vt(s, t).getOr([]);
|
|
33840
33840
|
}, xw = (t, s) => {
|
|
33841
33841
|
if (!WN(t))
|
|
33842
33842
|
return;
|
|
33843
|
-
const a = yw(), c =
|
|
33843
|
+
const a = yw(), c = vt(a, s).getOr([]), d = Qn(c, (g) => g !== t);
|
|
33844
33844
|
a[s] = [t].concat(d).slice(0, kD), EV(a);
|
|
33845
33845
|
}, ED = (t) => !!t, AV = (t) => qo(kh.makeMap(t, /[, ]/), ED), pk = (t) => A.from(DR(t)), jN = (t) => {
|
|
33846
33846
|
const s = A.from(q4(t)).filter(ED).map(AV);
|
|
@@ -33914,14 +33914,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33914
33914
|
};
|
|
33915
33915
|
}, qN = (t, s, a) => {
|
|
33916
33916
|
const c = (je, yt) => {
|
|
33917
|
-
|
|
33917
|
+
bt([
|
|
33918
33918
|
s,
|
|
33919
33919
|
...a
|
|
33920
33920
|
], (Et) => {
|
|
33921
33921
|
Et.broadcastEvent(je, yt);
|
|
33922
33922
|
});
|
|
33923
33923
|
}, d = (je, yt) => {
|
|
33924
|
-
|
|
33924
|
+
bt([
|
|
33925
33925
|
s,
|
|
33926
33926
|
...a
|
|
33927
33927
|
], (Et) => {
|
|
@@ -33932,7 +33932,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33932
33932
|
}), H = (je) => d(fd(), { target: Te.fromDom(je.target) }), W = (je) => {
|
|
33933
33933
|
je.button === 0 && d(z2(), { target: Te.fromDom(je.target) });
|
|
33934
33934
|
}, J = () => {
|
|
33935
|
-
|
|
33935
|
+
bt(t.editorManager.get(), (je) => {
|
|
33936
33936
|
t !== je && je.dispatch("DismissPopups", { relatedTarget: t });
|
|
33937
33937
|
});
|
|
33938
33938
|
}, ce = (je) => c(Fd(), b2(je)), $e = (je) => {
|
|
@@ -33958,10 +33958,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33958
33958
|
}), t.on("remove", () => {
|
|
33959
33959
|
t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", J), t.off("ScrollWindow", ce), t.off("ResizeWindow", $e), t.off("ResizeEditor", Oe), t.off("AfterProgressState", ut), t.off("DismissPopups", Xe), R.unbind(), x.unbind(), C.unbind(), E.unbind(), B.unbind(), pe.unbind();
|
|
33960
33960
|
}), t.on("detach", () => {
|
|
33961
|
-
|
|
33961
|
+
bt([
|
|
33962
33962
|
s,
|
|
33963
33963
|
...a
|
|
33964
|
-
], Rp),
|
|
33964
|
+
], Rp), bt([
|
|
33965
33965
|
s,
|
|
33966
33966
|
...a
|
|
33967
33967
|
], (je) => je.destroy());
|
|
@@ -33980,9 +33980,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33980
33980
|
throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"), new Error("Custom List was defined to not be a shell, but no item container was specified in components");
|
|
33981
33981
|
}, (E) => {
|
|
33982
33982
|
const R = Bn.contents(E), B = C.length, H = B - R.length, W = H > 0 ? ro(H, () => t.makeItem()) : [], J = R.slice(B);
|
|
33983
|
-
|
|
33983
|
+
bt(J, ($e) => Bn.remove(E, $e)), bt(W, ($e) => Bn.append(E, $e));
|
|
33984
33984
|
const ce = Bn.contents(E);
|
|
33985
|
-
|
|
33985
|
+
bt(ce, ($e, xe) => {
|
|
33986
33986
|
t.setupItem(x, $e, C[xe], xe);
|
|
33987
33987
|
});
|
|
33988
33988
|
});
|
|
@@ -34130,7 +34130,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34130
34130
|
const g = OD(t).getOr(Fs()), p = Gs(g), x = (d = g.dom.scrollTop) !== null && d !== void 0 ? d : 0;
|
|
34131
34131
|
return A.some({
|
|
34132
34132
|
morph: "absolute",
|
|
34133
|
-
positionCss: Ai("absolute",
|
|
34133
|
+
positionCss: Ai("absolute", vt(c.style, "left").map((C) => s.x - p.x), vt(c.style, "top").map((C) => s.y - p.y + x), vt(c.style, "right").map((C) => p.right - s.right), vt(c.style, "bottom").map((C) => p.bottom - s.bottom))
|
|
34134
34134
|
});
|
|
34135
34135
|
default:
|
|
34136
34136
|
return A.none();
|
|
@@ -34175,7 +34175,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34175
34175
|
}), x = c(g, p, s);
|
|
34176
34176
|
return x.location === "bottom" || x.location === "top" ? (oB(t, d, s, a, x), ID(x)) : A.none();
|
|
34177
34177
|
}, rB = (t, s, a) => {
|
|
34178
|
-
a.setDocked(!1),
|
|
34178
|
+
a.setDocked(!1), bt([
|
|
34179
34179
|
"left",
|
|
34180
34180
|
"right",
|
|
34181
34181
|
"top",
|
|
@@ -34591,7 +34591,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34591
34591
|
return nx(fB, uz, d, mz, a);
|
|
34592
34592
|
}, mz = (t, s) => {
|
|
34593
34593
|
const a = (ce) => J2(t), c = (ce, $e) => Cs(ce, t, $e), d = (ce, $e) => (xe, pe) => Cs(xe, t, pe).map((Oe) => ce(Oe, pe)).getOr($e), g = (ce) => ($e, xe) => {
|
|
34594
|
-
|
|
34594
|
+
bt(xe, (pe) => ce($e, pe));
|
|
34595
34595
|
}, p = (ce, $e) => Ws(ce.element, "aria-hidden") !== "true", x = (ce, $e) => {
|
|
34596
34596
|
if (!p(ce)) {
|
|
34597
34597
|
const xe = ce.element;
|
|
@@ -34641,7 +34641,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34641
34641
|
Gp
|
|
34642
34642
|
]), fz = (t) => qs("sidebar", hB, t), pB = (t) => {
|
|
34643
34643
|
const { sidebars: s } = t.ui.registry.getAll();
|
|
34644
|
-
|
|
34644
|
+
bt(ps(s), (a) => {
|
|
34645
34645
|
const c = s[a], d = () => Aa(A.from(t.queryCommandValue("ToggleSidebar")), a);
|
|
34646
34646
|
t.ui.registry.addToggleButton(a, {
|
|
34647
34647
|
icon: c.icon,
|
|
@@ -35981,7 +35981,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
35981
35981
|
...s.menus
|
|
35982
35982
|
}, c = ps(s.menus).length > 0, d = s.menubar === void 0 || s.menubar === !0 ? Dw(iU) : Dw(s.menubar === !1 ? "" : s.menubar), g = Qn(d, (x) => {
|
|
35983
35983
|
const C = mo(WB, x);
|
|
35984
|
-
return c ? C ||
|
|
35984
|
+
return c ? C || vt(s.menus, x).exists((E) => mo(E, "items")) : C;
|
|
35985
35985
|
}), p = et(g, (x) => {
|
|
35986
35986
|
const C = a[x];
|
|
35987
35987
|
return uU({
|
|
@@ -36450,7 +36450,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36450
36450
|
onEscape: H
|
|
36451
36451
|
}),
|
|
36452
36452
|
Hn("input-wrapper-events", [Je(od(), (pe) => {
|
|
36453
|
-
|
|
36453
|
+
bt([
|
|
36454
36454
|
ce,
|
|
36455
36455
|
$e
|
|
36456
36456
|
], (Oe) => {
|
|
@@ -36500,7 +36500,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36500
36500
|
}, $U = (t, s) => {
|
|
36501
36501
|
const a = Math.pow(10, s);
|
|
36502
36502
|
return Math.round(t * a) / a;
|
|
36503
|
-
}, MU = (t, s) => /[0-9.]+px$/.test(t) ? $U(parseInt(t, 10) * 72 / 96, s || 0) + "pt" :
|
|
36503
|
+
}, MU = (t, s) => /[0-9.]+px$/.test(t) ? $U(parseInt(t, 10) * 72 / 96, s || 0) + "pt" : vt(RU, t).getOr(t), PU = (t) => vt(OU, t).getOr(""), pO = (t) => {
|
|
36504
36504
|
const s = () => {
|
|
36505
36505
|
let C = A.none();
|
|
36506
36506
|
const E = x.data, R = t.queryCommandValue("FontSize");
|
|
@@ -37072,7 +37072,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37072
37072
|
throw new Error("Toolbar groups are only supported when using floating toolbar mode");
|
|
37073
37073
|
}
|
|
37074
37074
|
})
|
|
37075
|
-
}, Hk = (t, s, a) =>
|
|
37075
|
+
}, Hk = (t, s, a) => vt(QU, t.type).fold(() => (console.error("skipping button defined by", t), A.none()), (c) => A.some(c(t, s, a))), x6 = {
|
|
37076
37076
|
styles: HU,
|
|
37077
37077
|
fontsize: NU,
|
|
37078
37078
|
fontsizeinput: f6,
|
|
@@ -37094,7 +37094,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37094
37094
|
}, w6 = (t) => mn(t, (s) => mo(s, "name") && mo(s, "items")), eW = (t) => {
|
|
37095
37095
|
const s = t.toolbar, a = t.buttons;
|
|
37096
37096
|
return s === !1 ? [] : s === void 0 || s === !0 ? Vk(a) : X(s) ? zk(s) : w6(s) ? s : (console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"), []);
|
|
37097
|
-
}, tW = (t, s, a, c, d, g) =>
|
|
37097
|
+
}, tW = (t, s, a, c, d, g) => vt(s, a.toLowerCase()).orThunk(() => g.bind((p) => Js(p, (x) => vt(s, x + a.toLowerCase())))).fold(() => vt(x6, a.toLowerCase()).map((p) => p(t, d)), (p) => p.type === "grouptoolbarbutton" && !c ? (console.warn(`Ignoring the '${a}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`), A.none()) : Hk(p, d, t)), Uk = (t, s, a, c) => {
|
|
37098
37098
|
const d = eW(s), g = et(d, (p) => {
|
|
37099
37099
|
const x = _e(p.items, (C) => C.trim().length === 0 ? [] : tW(t, s.buttons, C, s.allowToolbarGroups, a, c).toArray());
|
|
37100
37100
|
return {
|
|
@@ -37132,11 +37132,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37132
37132
|
c.bind(d, "resize", C), c.bind(d, "scroll", R);
|
|
37133
37133
|
const B = Gb(Te.fromDom(t.getBody()), "load", E);
|
|
37134
37134
|
t.on("hide", () => {
|
|
37135
|
-
|
|
37135
|
+
bt(a, (H) => {
|
|
37136
37136
|
Gt(H.element, "display", "none");
|
|
37137
37137
|
});
|
|
37138
37138
|
}), t.on("show", () => {
|
|
37139
|
-
|
|
37139
|
+
bt(a, (H) => {
|
|
37140
37140
|
fo(H.element, "display");
|
|
37141
37141
|
});
|
|
37142
37142
|
}), t.on("NodeChange", E), t.on("remove", () => {
|
|
@@ -37173,7 +37173,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37173
37173
|
}), t.addCommand("ToggleView", (ce, $e) => {
|
|
37174
37174
|
if (Ds.toggleView(C, $e)) {
|
|
37175
37175
|
const xe = C.element;
|
|
37176
|
-
g.mothership.broadcastOn([fd()], { target: xe }),
|
|
37176
|
+
g.mothership.broadcastOn([fd()], { target: xe }), bt(p, (pe) => {
|
|
37177
37177
|
pe.broadcastOn([fd()], { target: xe });
|
|
37178
37178
|
}), xn(Ds.whichView(C)) && (t.focus(), t.nodeChanged(), Ds.refreshToolbar(C));
|
|
37179
37179
|
}
|
|
@@ -37267,7 +37267,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37267
37267
|
});
|
|
37268
37268
|
});
|
|
37269
37269
|
}, je = (hn, _o) => ng(hn) ? OD(_o) : A.none(), yt = () => {
|
|
37270
|
-
|
|
37270
|
+
bt(p, (hn) => {
|
|
37271
37271
|
hn.broadcastOn([ih()], {});
|
|
37272
37272
|
});
|
|
37273
37273
|
}, Et = () => {
|
|
@@ -37293,12 +37293,12 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37293
37293
|
isVisible: $e,
|
|
37294
37294
|
isPositionedAtTop: H,
|
|
37295
37295
|
show: () => {
|
|
37296
|
-
ce.set(!0), Gt(g.outerContainer.element, "display", "flex"), x.addClass(t.getBody(), "mce-edit-focus"),
|
|
37296
|
+
ce.set(!0), Gt(g.outerContainer.element, "display", "flex"), x.addClass(t.getBody(), "mce-edit-focus"), bt(p, (hn) => {
|
|
37297
37297
|
fo(hn.element, "display");
|
|
37298
37298
|
}), zt(), ng(t) ? Vn((hn) => er.isDocked(hn) ? er.reset(hn) : er.refresh(hn)) : Vn(er.refresh);
|
|
37299
37299
|
},
|
|
37300
37300
|
hide: () => {
|
|
37301
|
-
ce.set(!1), Gt(g.outerContainer.element, "display", "none"), x.removeClass(t.getBody(), "mce-edit-focus"),
|
|
37301
|
+
ce.set(!1), Gt(g.outerContainer.element, "display", "none"), x.removeClass(t.getBody(), "mce-edit-focus"), bt(p, (hn) => {
|
|
37302
37302
|
Gt(hn.element, "display", "none");
|
|
37303
37303
|
});
|
|
37304
37304
|
},
|
|
@@ -37670,7 +37670,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37670
37670
|
B.scope === "editor" ? d.push(H) : c.push(H), p[R] = H;
|
|
37671
37671
|
});
|
|
37672
37672
|
}, E = ps(t);
|
|
37673
|
-
return
|
|
37673
|
+
return bt(E, (R) => {
|
|
37674
37674
|
const B = t[R];
|
|
37675
37675
|
B.type === "contextform" ? x(R, B) : B.type === "contexttoolbar" && C(R, B);
|
|
37676
37676
|
}), {
|
|
@@ -37830,7 +37830,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37830
37830
|
t.on("init", () => {
|
|
37831
37831
|
t.on("remove", ce), t.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress", $e), t.on("click keyup focus SetContent", Vn.throttle), t.on(D6, ce), t.on(mW, (zt) => {
|
|
37832
37832
|
const En = pe();
|
|
37833
|
-
|
|
37833
|
+
vt(En.lookupTable, zt.toolbarKey).each((Cn) => {
|
|
37834
37834
|
yt([Cn], gn(zt.target !== t, zt.target)), lr.getContent(R).each(cn.focusIn);
|
|
37835
37835
|
});
|
|
37836
37836
|
}), t.on("focusout", (zt) => {
|
|
@@ -37850,7 +37850,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37850
37850
|
});
|
|
37851
37851
|
});
|
|
37852
37852
|
}, kW = (t) => {
|
|
37853
|
-
|
|
37853
|
+
bt([
|
|
37854
37854
|
{
|
|
37855
37855
|
name: "alignleft",
|
|
37856
37856
|
text: "Align left",
|
|
@@ -38524,7 +38524,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38524
38524
|
const c = yc(t).filter((d) => !a8(d)).fold(() => [], (d) => [OO]);
|
|
38525
38525
|
return t.concat(c).concat(s).concat([OO]);
|
|
38526
38526
|
}, QW = (t, s, a) => {
|
|
38527
|
-
const c = Ho(s, (d, g) =>
|
|
38527
|
+
const c = Ho(s, (d, g) => vt(t, g.toLowerCase()).map((p) => {
|
|
38528
38528
|
const x = p.update(a);
|
|
38529
38529
|
if (X(x) && ca(Vr(x)))
|
|
38530
38530
|
return RO(d, x.split(" "));
|
|
@@ -40754,7 +40754,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40754
40754
|
})), pT = (t, s = {}) => {
|
|
40755
40755
|
const a = (c) => {
|
|
40756
40756
|
const d = et(c.items, (g) => {
|
|
40757
|
-
const p =
|
|
40757
|
+
const p = vt(s, g.name).getOr(dn(!1));
|
|
40758
40758
|
return {
|
|
40759
40759
|
...g,
|
|
40760
40760
|
storage: p
|
|
@@ -41583,7 +41583,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41583
41583
|
h = m(h, v, _);
|
|
41584
41584
|
}), h), et = (i, m, h) => (ot(i, (v, _) => {
|
|
41585
41585
|
h = m(h, v, _);
|
|
41586
|
-
}), h),
|
|
41586
|
+
}), h), bt = (i, m, h) => {
|
|
41587
41587
|
for (let v = 0, _ = i.length; v < _; v++) {
|
|
41588
41588
|
const D = i[v];
|
|
41589
41589
|
if (m(D, v))
|
|
@@ -41592,7 +41592,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41592
41592
|
break;
|
|
41593
41593
|
}
|
|
41594
41594
|
return ie.none();
|
|
41595
|
-
}, z = (i, m) =>
|
|
41595
|
+
}, z = (i, m) => bt(i, m, St), el = (i, m) => {
|
|
41596
41596
|
for (let h = 0, v = i.length; h < v; h++) {
|
|
41597
41597
|
const _ = i[h];
|
|
41598
41598
|
if (m(_, h))
|
|
@@ -41681,10 +41681,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41681
41681
|
if (h == null)
|
|
41682
41682
|
throw new Error(i + " not available on this browser");
|
|
41683
41683
|
return h;
|
|
41684
|
-
}, Qo = Object.getPrototypeOf, Gi = (i) => di("HTMLElement", i),
|
|
41684
|
+
}, Qo = Object.getPrototypeOf, Gi = (i) => di("HTMLElement", i), vt = (i) => {
|
|
41685
41685
|
const m = yr("ownerDocument.defaultView", i);
|
|
41686
41686
|
return X(i) && (Gi(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(Qo(i).constructor.name));
|
|
41687
|
-
}, mo = 8, Er = 9, Aa = 11, Nl = 1, Da = 3, es = (i) => i.dom.nodeName.toLowerCase(), tl = (i) => i.dom.nodeType, bl = (i) => (m) => tl(m) === i, Yo = (i) => tl(i) === mo || es(i) === "#comment", gn = (i) => Ar(i) &&
|
|
41687
|
+
}, mo = 8, Er = 9, Aa = 11, Nl = 1, Da = 3, es = (i) => i.dom.nodeName.toLowerCase(), tl = (i) => i.dom.nodeType, bl = (i) => (m) => tl(m) === i, Yo = (i) => tl(i) === mo || es(i) === "#comment", gn = (i) => Ar(i) && vt(i.dom), Ar = bl(Nl), Bl = bl(Da), Hc = bl(Er), mi = bl(Aa), xr = (i) => (m) => Ar(m) && es(m) === i, mr = (i, m, h) => {
|
|
41688
41688
|
if (De(h) || jt(h) || No(h))
|
|
41689
41689
|
i.setAttribute(m, h + "");
|
|
41690
41690
|
else
|
|
@@ -45842,7 +45842,7 @@ Required: ` + m.join(", "));
|
|
|
45842
45842
|
ae(qt) || U.push(qt);
|
|
45843
45843
|
}
|
|
45844
45844
|
return U;
|
|
45845
|
-
}, pr = (S, $, U = Pt) => S.exists((ae) => U(ae, $)), et = (S, $, U = Pt) =>
|
|
45845
|
+
}, pr = (S, $, U = Pt) => S.exists((ae) => U(ae, $)), et = (S, $, U = Pt) => bt(S, $, U).getOr(S.isNone() && $.isNone()), bt = (S, $, U) => S.isSome() && $.isSome() ? Tt.some(U(S.getOrDie(), $.getOrDie())) : Tt.none(), z = 8, el = 9, Qn = 11, ss = 1, Ho = 3, Zi = (S, $) => {
|
|
45846
45846
|
const ae = ($ || document).createElement("div");
|
|
45847
45847
|
if (ae.innerHTML = S, !ae.hasChildNodes() || ae.childNodes.length > 1) {
|
|
45848
45848
|
const ge = "HTML does not have a single root node";
|
|
@@ -45900,7 +45900,7 @@ Required: ` + m.join(", "));
|
|
|
45900
45900
|
}, Js = Object.getPrototypeOf, ps = (S) => vr("HTMLElement", S), ji = (S) => {
|
|
45901
45901
|
const $ = br("ownerDocument.defaultView", S);
|
|
45902
45902
|
return De(S) && (ps($).prototype.isPrototypeOf(S) || /^HTML\w*Element$/.test(Js(S).constructor.name));
|
|
45903
|
-
}, us = (S) => S.dom.nodeName.toLowerCase(), qo = (S) => S.dom.nodeType, xc = (S) => ($) => qo($) === S, Yn = (S) => qo(S) === z || us(S) === "#comment", bs = (S) => yr(S) && ji(S.dom), yr = xc(ss), Pl = xc(Ho), di = xc(el), Qo = xc(Qn), Gi = (S) => ($) => yr($) && us($) === S,
|
|
45903
|
+
}, us = (S) => S.dom.nodeName.toLowerCase(), qo = (S) => S.dom.nodeType, xc = (S) => ($) => qo($) === S, Yn = (S) => qo(S) === z || us(S) === "#comment", bs = (S) => yr(S) && ji(S.dom), yr = xc(ss), Pl = xc(Ho), di = xc(el), Qo = xc(Qn), Gi = (S) => ($) => yr($) && us($) === S, vt = (S) => vn.fromDom(S.dom.ownerDocument), mo = (S) => di(S) ? S : vt(S), Er = (S) => Tt.from(S.dom.parentNode).map(vn.fromDom), Aa = (S) => Tt.from(S.dom.parentElement).map(vn.fromDom), Nl = (S) => Tt.from(S.dom.nextSibling).map(vn.fromDom), Da = (S) => He(S.dom.childNodes, vn.fromDom), es = (S, $) => {
|
|
45904
45904
|
const U = S.dom.childNodes;
|
|
45905
45905
|
return Tt.from(U[$]).map(vn.fromDom);
|
|
45906
45906
|
}, tl = (S) => es(S, 0), bl = (S) => es(S, S.dom.childNodes.length - 1), Yo = (S) => Qo(S) && jt(S.dom.host), Ar = xn(Element.prototype.attachShadow) && xn(Node.prototype.getRootNode) ? (S) => vn.fromDom(S.dom.getRootNode()) : mo, Bl = (S) => {
|
|
@@ -46151,7 +46151,7 @@ Required: ` + m.join(", "));
|
|
|
46151
46151
|
for (let $ = 1; $ < S.length; $++)
|
|
46152
46152
|
lc(S[$ - 1], S[$]);
|
|
46153
46153
|
}, xs = (S, $) => {
|
|
46154
|
-
|
|
46154
|
+
bt(dr(S), jo($), lc);
|
|
46155
46155
|
}, _c = (S, $) => {
|
|
46156
46156
|
const U = {
|
|
46157
46157
|
list: vn.fromTag($, S),
|
|
@@ -46292,7 +46292,7 @@ Required: ` + m.join(", "));
|
|
|
46292
46292
|
ie(Ro(S, fa), (U) => Cm($, U));
|
|
46293
46293
|
}, Yu = (S) => {
|
|
46294
46294
|
const $ = He(I(S), vn.fromDom);
|
|
46295
|
-
return
|
|
46295
|
+
return bt(Xt($, mn(lo)), Xt(fn($), mn(lo)), (U, ae) => ({
|
|
46296
46296
|
start: U,
|
|
46297
46297
|
end: ae
|
|
46298
46298
|
}));
|
|
@@ -47004,7 +47004,7 @@ Required: ` + m.join(", "));
|
|
|
47004
47004
|
processor: "boolean",
|
|
47005
47005
|
default: !1
|
|
47006
47006
|
});
|
|
47007
|
-
}, nt = A("link_assume_external_targets"), Bo = A("link_context_toolbar"), fn = A("link_list"), ot = A("link_default_target"), jo = A("link_default_protocol"), dr = A("link_target_list"), ro = A("link_rel_list"), pr = A("link_class_list"), et = A("link_title"),
|
|
47007
|
+
}, nt = A("link_assume_external_targets"), Bo = A("link_context_toolbar"), fn = A("link_list"), ot = A("link_default_target"), jo = A("link_default_protocol"), dr = A("link_target_list"), ro = A("link_rel_list"), pr = A("link_class_list"), et = A("link_title"), bt = A("allow_unsafe_link_target"), z = A("link_quicklink");
|
|
47008
47008
|
var el = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
47009
47009
|
const Qn = (j) => De(j.value) ? j.value : "", ss = (j) => De(j.text) ? j.text : De(j.title) ? j.title : "", Ho = (j, de) => {
|
|
47010
47010
|
const ke = [];
|
|
@@ -47071,7 +47071,7 @@ Required: ` + m.join(", "));
|
|
|
47071
47071
|
}, xc = (j) => j.replace(/\uFEFF/g, ""), Yn = (j, de) => (de = de || Pl(j.selection.getRng())[0] || j.selection.getNode(), mo(de) ? mn.from(j.dom.select("a[href]", de)[0]) : mn.from(j.dom.getParent(de, "a[href]"))), bs = (j, de) => Yn(j, de).isSome(), yr = (j, de) => {
|
|
47072
47072
|
const ke = de.fold(() => j.getContent({ format: "text" }), (Ne) => Ne.innerText || Ne.textContent || "");
|
|
47073
47073
|
return xc(ke);
|
|
47074
|
-
}, Pl = (j) => ps(j, Js), di = (j) => el.grep(j, Js), Qo = (j) => di(j).length > 0, Gi = (j) => Pl(j).length > 0,
|
|
47074
|
+
}, Pl = (j) => ps(j, Js), di = (j) => el.grep(j, Js), Qo = (j) => di(j).length > 0, Gi = (j) => Pl(j).length > 0, vt = (j) => {
|
|
47075
47075
|
const de = j.schema.getTextInlineElements(), ke = (un) => un.nodeType === 1 && !vr(un) && !Va(de, un.nodeName.toLowerCase());
|
|
47076
47076
|
if (Yn(j).exists((un) => un.hasAttribute("data-mce-block")))
|
|
47077
47077
|
return !1;
|
|
@@ -47086,7 +47086,7 @@ Required: ` + m.join(", "));
|
|
|
47086
47086
|
ke[Ne] = dt.length > 0 ? dt : null;
|
|
47087
47087
|
}), ke), { href: j.href }), Aa = (j, de) => (de === "http" || de === "https") && !ji(j) ? de + "://" + j : j, Nl = (j, de) => {
|
|
47088
47088
|
const ke = { ...de };
|
|
47089
|
-
if (ro(j).length === 0 && !
|
|
47089
|
+
if (ro(j).length === 0 && !bt(j)) {
|
|
47090
47090
|
const Ne = qo(ke.rel, ke.target === "_blank");
|
|
47091
47091
|
ke.rel = Ne || null;
|
|
47092
47092
|
}
|
|
@@ -47273,7 +47273,7 @@ Required: ` + m.join(", "));
|
|
|
47273
47273
|
} }, Ad = { getRels: (j, de) => {
|
|
47274
47274
|
const ke = ro(j);
|
|
47275
47275
|
if (ke.length > 0) {
|
|
47276
|
-
const Ne = Ro(de, "_blank"), dt =
|
|
47276
|
+
const Ne = Ro(de, "_blank"), dt = bt(j) === !1, un = (rs) => qo(Ke.getValue(rs), Ne);
|
|
47277
47277
|
return (dt ? Ke.sanitizeWith(un) : Ke.sanitize)(ke);
|
|
47278
47278
|
}
|
|
47279
47279
|
return mn.none();
|
|
@@ -47293,7 +47293,7 @@ Required: ` + m.join(", "));
|
|
|
47293
47293
|
const Ne = j.getAttrib(de, ke);
|
|
47294
47294
|
return Ne !== null && Ne.length > 0 ? mn.some(Ne) : mn.none();
|
|
47295
47295
|
}, za = (j, de) => {
|
|
47296
|
-
const ke = j.dom, dt =
|
|
47296
|
+
const ke = j.dom, dt = vt(j) ? mn.some(yr(j.selection, de)) : mn.none(), un = de.bind((ao) => mn.from(ke.getAttrib(ao, "href"))), Vo = de.bind((ao) => mn.from(ke.getAttrib(ao, "target"))), rs = de.bind((ao) => ks(ke, ao, "rel")), zo = de.bind((ao) => ks(ke, ao, "class")), ys = de.bind((ao) => ks(ke, ao, "title"));
|
|
47297
47297
|
return {
|
|
47298
47298
|
url: un,
|
|
47299
47299
|
text: dt,
|
|
@@ -47521,7 +47521,7 @@ Required: ` + m.join(", "));
|
|
|
47521
47521
|
const un = j.selection.getNode();
|
|
47522
47522
|
return dt.setEnabled(bs(j, un)), No;
|
|
47523
47523
|
}, Ne = (dt) => {
|
|
47524
|
-
const un = Yn(j), Vo =
|
|
47524
|
+
const un = Yn(j), Vo = vt(j);
|
|
47525
47525
|
if (un.isNone() && Vo) {
|
|
47526
47526
|
const rs = yr(j.selection, un);
|
|
47527
47527
|
return Ge(rs.length === 0, dt);
|
|
@@ -47745,7 +47745,7 @@ Required: ` + m.join(", "));
|
|
|
47745
47745
|
fromDom: ro,
|
|
47746
47746
|
fromPoint: (I, Y, re) => Tt.from(I.dom.elementFromPoint(Y, re)).map(ro)
|
|
47747
47747
|
};
|
|
47748
|
-
var
|
|
47748
|
+
var bt = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), z = tinymce.util.Tools.resolve("tinymce.util.URI");
|
|
47749
47749
|
const el = (I) => I.length > 0, Qn = (I) => (Y) => Y.options.get(I), ss = (I) => {
|
|
47750
47750
|
const Y = I.options.register;
|
|
47751
47751
|
Y("image_dimensions", {
|
|
@@ -47846,10 +47846,10 @@ Required: ` + m.join(", "));
|
|
|
47846
47846
|
allow_script_urls: re("allow_script_urls"),
|
|
47847
47847
|
allow_svg_data_urls: re("allow_svg_data_urls")
|
|
47848
47848
|
});
|
|
47849
|
-
}, bs =
|
|
47849
|
+
}, bs = bt.DOM, yr = (I) => I.style.marginLeft && I.style.marginRight && I.style.marginLeft === I.style.marginRight ? vr(I.style.marginLeft) : "", Pl = (I) => I.style.marginTop && I.style.marginBottom && I.style.marginTop === I.style.marginBottom ? vr(I.style.marginTop) : "", di = (I) => I.style.borderWidth ? vr(I.style.borderWidth) : "", Qo = (I, Y) => {
|
|
47850
47850
|
var re;
|
|
47851
47851
|
return I.hasAttribute(Y) && (re = I.getAttribute(Y)) !== null && re !== void 0 ? re : "";
|
|
47852
|
-
}, Gi = (I) => I.parentNode !== null && I.parentNode.nodeName === "FIGURE",
|
|
47852
|
+
}, Gi = (I) => I.parentNode !== null && I.parentNode.nodeName === "FIGURE", vt = (I, Y, re) => {
|
|
47853
47853
|
re === "" || re === null ? I.removeAttribute(Y) : I.setAttribute(Y, re);
|
|
47854
47854
|
}, mo = (I) => {
|
|
47855
47855
|
const Y = bs.create("figure", { class: "image" });
|
|
@@ -47864,7 +47864,7 @@ Required: ` + m.join(", "));
|
|
|
47864
47864
|
Le.length > 0 ? (I.setAttribute("style", Le), I.setAttribute("data-mce-style", Le)) : I.removeAttribute("style");
|
|
47865
47865
|
}, Da = (I, Y) => (re, Le, Ot) => {
|
|
47866
47866
|
const Kn = re.style;
|
|
47867
|
-
Kn[Le] ? (Kn[Le] = Js(Ot), Nl(re, Y)) :
|
|
47867
|
+
Kn[Le] ? (Kn[Le] = Js(Ot), Nl(re, Y)) : vt(re, Le, Ot);
|
|
47868
47868
|
}, es = (I, Y) => I.style[Y] ? vr(I.style[Y]) : Qo(I, Y), tl = (I, Y) => {
|
|
47869
47869
|
const re = Js(Y);
|
|
47870
47870
|
I.style.marginLeft = re, I.style.marginRight = re;
|
|
@@ -47896,7 +47896,7 @@ Required: ` + m.join(", "));
|
|
|
47896
47896
|
}), Us = (I, Y) => {
|
|
47897
47897
|
var re;
|
|
47898
47898
|
const Le = document.createElement("img");
|
|
47899
|
-
return
|
|
47899
|
+
return vt(Le, "style", Y.style), (yr(Le) || Y.hspace !== "") && tl(Le, Y.hspace), (Pl(Le) || Y.vspace !== "") && bl(Le, Y.vspace), (di(Le) || Y.border !== "") && Yo(Le, Y.border), (Ar(Le) || Y.borderStyle !== "") && gn(Le, Y.borderStyle), I((re = Le.getAttribute("style")) !== null && re !== void 0 ? re : "");
|
|
47900
47900
|
}, vl = (I, Y) => {
|
|
47901
47901
|
const re = document.createElement("img");
|
|
47902
47902
|
if (sc(I, {
|
|
@@ -47944,7 +47944,7 @@ Required: ` + m.join(", "));
|
|
|
47944
47944
|
I(re, Ot), Nl(re, Y);
|
|
47945
47945
|
}, sc = (I, Y, re) => {
|
|
47946
47946
|
const Le = qi(I, re);
|
|
47947
|
-
Vr(re, Le, Y, "caption", (Ot, Kn, Gt) => Aa(Ot)), Vr(re, Le, Y, "src",
|
|
47947
|
+
Vr(re, Le, Y, "caption", (Ot, Kn, Gt) => Aa(Ot)), Vr(re, Le, Y, "src", vt), Vr(re, Le, Y, "title", vt), Vr(re, Le, Y, "width", Da("width", I)), Vr(re, Le, Y, "height", Da("height", I)), Vr(re, Le, Y, "class", vt), Vr(re, Le, Y, "style", Dr((Ot, Kn) => vt(Ot, "style", Kn), I)), Vr(re, Le, Y, "hspace", Dr(tl, I)), Vr(re, Le, Y, "vspace", Dr(bl, I)), Vr(re, Le, Y, "border", Dr(Yo, I)), Vr(re, Le, Y, "borderStyle", Dr(gn, I)), Is(re, Le, Y);
|
|
47948
47948
|
}, Vc = (I, Y) => {
|
|
47949
47949
|
const re = I.dom.styles.parse(Y), Le = ps(re), Ot = I.dom.styles.parse(I.dom.styles.serialize(Le));
|
|
47950
47950
|
return I.dom.styles.serialize(Ot);
|
|
@@ -48587,7 +48587,7 @@ Required: ` + m.join(", "));
|
|
|
48587
48587
|
for (let q = 0; q < w; q++)
|
|
48588
48588
|
V.push(T(q));
|
|
48589
48589
|
return V;
|
|
48590
|
-
},
|
|
48590
|
+
}, bt = (w, T) => {
|
|
48591
48591
|
const V = w.length, q = new Array(V);
|
|
48592
48592
|
for (let be = 0; be < V; be++) {
|
|
48593
48593
|
const Ze = w[be];
|
|
@@ -48642,7 +48642,7 @@ Required: ` + m.join(", "));
|
|
|
48642
48642
|
jo.apply(T, w[V]);
|
|
48643
48643
|
}
|
|
48644
48644
|
return T;
|
|
48645
|
-
}, _e = (w, T) => Ke(
|
|
48645
|
+
}, _e = (w, T) => Ke(bt(w, T)), vn = (w, T) => {
|
|
48646
48646
|
for (let V = 0, q = w.length; V < q; ++V) {
|
|
48647
48647
|
const be = w[V];
|
|
48648
48648
|
if (T(be, V) !== !0)
|
|
@@ -48704,13 +48704,13 @@ Required: ` + m.join(", "));
|
|
|
48704
48704
|
}
|
|
48705
48705
|
}, yr = (w) => w.nodeType !== vr && w.nodeType !== br && w.nodeType !== yc || w.childElementCount === 0, Pl = (w, T) => {
|
|
48706
48706
|
const V = T === void 0 ? document : T.dom;
|
|
48707
|
-
return yr(V) ? [] :
|
|
48707
|
+
return yr(V) ? [] : bt(V.querySelectorAll(w), Yn.fromDom);
|
|
48708
48708
|
}, di = (w, T) => {
|
|
48709
48709
|
const V = T === void 0 ? document : T.dom;
|
|
48710
48710
|
return yr(V) ? oe.none() : oe.from(V.querySelector(w)).map(Yn.fromDom);
|
|
48711
48711
|
}, Qo = (w, T) => w.dom === T.dom, Gi = bs;
|
|
48712
48712
|
typeof window < "u" || Function("return this;")();
|
|
48713
|
-
const
|
|
48713
|
+
const vt = (w) => w.dom.nodeName.toLowerCase(), mo = (w) => w.dom.nodeType, Er = (w) => (T) => mo(T) === w, Aa = (w) => mo(w) === hs || vt(w) === "#comment", Nl = Er(vr), Da = Er(Js), es = Er(br), tl = Er(yc), bl = (w) => (T) => Nl(T) && vt(T) === w, Yo = (w) => Yn.fromDom(w.dom.ownerDocument), gn = (w) => es(w) ? w : Yo(w), Ar = (w) => oe.from(w.dom.parentNode).map(Yn.fromDom), Bl = (w, T) => {
|
|
48714
48714
|
const V = zn(T) ? T : Ea;
|
|
48715
48715
|
let q = w.dom;
|
|
48716
48716
|
const be = [];
|
|
@@ -48721,7 +48721,7 @@ Required: ` + m.join(", "));
|
|
|
48721
48721
|
q = Ze;
|
|
48722
48722
|
}
|
|
48723
48723
|
return be;
|
|
48724
|
-
}, Hc = (w) => oe.from(w.dom.previousSibling).map(Yn.fromDom), mi = (w) => oe.from(w.dom.nextSibling).map(Yn.fromDom), xr = (w) =>
|
|
48724
|
+
}, Hc = (w) => oe.from(w.dom.previousSibling).map(Yn.fromDom), mi = (w) => oe.from(w.dom.nextSibling).map(Yn.fromDom), xr = (w) => bt(w.dom.childNodes, Yn.fromDom), mr = (w, T) => {
|
|
48725
48725
|
const V = w.dom.childNodes;
|
|
48726
48726
|
return oe.from(V[T]).map(Yn.fromDom);
|
|
48727
48727
|
}, Us = (w) => mr(w, 0), vl = (w) => tl(w) && xn(w.dom.host), Vr = zn(Element.prototype.attachShadow) && zn(Node.prototype.getRootNode) ? (w) => Yn.fromDom(w.dom.getRootNode()) : gn, ca = (w) => {
|
|
@@ -48841,29 +48841,29 @@ Required: ` + m.join(", "));
|
|
|
48841
48841
|
}), I = (w, T, V = Ea) => {
|
|
48842
48842
|
if (V(T))
|
|
48843
48843
|
return oe.none();
|
|
48844
|
-
if (ro(w,
|
|
48844
|
+
if (ro(w, vt(T)))
|
|
48845
48845
|
return oe.some(T);
|
|
48846
48846
|
const q = (be) => bs(be, "table") || V(be);
|
|
48847
48847
|
return fi(T, w.join(","), q);
|
|
48848
48848
|
}, Y = (w, T) => I([
|
|
48849
48849
|
"td",
|
|
48850
48850
|
"th"
|
|
48851
|
-
], w, T), re = (w) => Vo(w, "th,td"), Le = (w) => bs(w, "colgroup") ? Cc(w, "col") : _e(Gt(w), (T) => Cc(T, "col")), Ot = (w, T) => Ll(w, "table", T), Kn = (w) => Vo(w, "tr"), Gt = (w) => Ot(w).fold(Pt([]), (T) => Cc(T, "colgroup")), $s = (w, T) =>
|
|
48852
|
-
if (
|
|
48853
|
-
const q =
|
|
48851
|
+
], w, T), re = (w) => Vo(w, "th,td"), Le = (w) => bs(w, "colgroup") ? Cc(w, "col") : _e(Gt(w), (T) => Cc(T, "col")), Ot = (w, T) => Ll(w, "table", T), Kn = (w) => Vo(w, "tr"), Gt = (w) => Ot(w).fold(Pt([]), (T) => Cc(T, "colgroup")), $s = (w, T) => bt(w, (V) => {
|
|
48852
|
+
if (vt(V) === "colgroup") {
|
|
48853
|
+
const q = bt(Le(V), (be) => {
|
|
48854
48854
|
const Ze = un(be, "span", 1);
|
|
48855
48855
|
return Fs(be, 1, Ze);
|
|
48856
48856
|
});
|
|
48857
48857
|
return bu(V, q, "colgroup");
|
|
48858
48858
|
} else {
|
|
48859
|
-
const q =
|
|
48859
|
+
const q = bt(re(V), (be) => {
|
|
48860
48860
|
const Ze = un(be, "rowspan", 1), gt = un(be, "colspan", 1);
|
|
48861
48861
|
return Fs(be, Ze, gt);
|
|
48862
48862
|
});
|
|
48863
48863
|
return bu(V, q, T(V));
|
|
48864
48864
|
}
|
|
48865
48865
|
}), lt = (w) => Ar(w).map((T) => {
|
|
48866
|
-
const V =
|
|
48866
|
+
const V = vt(T);
|
|
48867
48867
|
return ys(V) ? V : "tbody";
|
|
48868
48868
|
}).getOr("tbody"), as = (w) => {
|
|
48869
48869
|
const T = Kn(w), q = [
|
|
@@ -48977,7 +48977,7 @@ Required: ` + m.join(", "));
|
|
|
48977
48977
|
title: T,
|
|
48978
48978
|
value: T
|
|
48979
48979
|
};
|
|
48980
|
-
}), yf =
|
|
48980
|
+
}), yf = bt([
|
|
48981
48981
|
"Solid",
|
|
48982
48982
|
"Dotted",
|
|
48983
48983
|
"Dashed",
|
|
@@ -49154,16 +49154,16 @@ Required: ` + m.join(", "));
|
|
|
49154
49154
|
"pre",
|
|
49155
49155
|
"address"
|
|
49156
49156
|
], Rr = () => {
|
|
49157
|
-
const w = (Fn) => Yn.fromDom(Fn.dom.cloneNode(!1)), T = (Fn) => gn(Fn).dom, V = (Fn) => Nl(Fn) ?
|
|
49157
|
+
const w = (Fn) => Yn.fromDom(Fn.dom.cloneNode(!1)), T = (Fn) => gn(Fn).dom, V = (Fn) => Nl(Fn) ? vt(Fn) === "body" ? !0 : ro(ja, vt(Fn)) : !1, q = (Fn) => Nl(Fn) ? ro([
|
|
49158
49158
|
"br",
|
|
49159
49159
|
"img",
|
|
49160
49160
|
"hr",
|
|
49161
49161
|
"input"
|
|
49162
|
-
],
|
|
49162
|
+
], vt(Fn)) : !1, be = (Fn) => Nl(Fn) && ua(Fn, "contenteditable") === "false", Ze = (Fn, rr) => Fn.dom.compareDocumentPosition(rr.dom), gt = (Fn, rr) => {
|
|
49163
49163
|
const Mo = Ra(Fn);
|
|
49164
49164
|
zc(rr, Mo);
|
|
49165
49165
|
}, Rt = (Fn) => {
|
|
49166
|
-
const rr =
|
|
49166
|
+
const rr = vt(Fn);
|
|
49167
49167
|
return ro([
|
|
49168
49168
|
"script",
|
|
49169
49169
|
"noscript",
|
|
@@ -49224,7 +49224,7 @@ Required: ` + m.join(", "));
|
|
|
49224
49224
|
}),
|
|
49225
49225
|
property: Pt({
|
|
49226
49226
|
children: xr,
|
|
49227
|
-
name:
|
|
49227
|
+
name: vt,
|
|
49228
49228
|
parent: Ar,
|
|
49229
49229
|
document: T,
|
|
49230
49230
|
isText: Da,
|
|
@@ -49264,7 +49264,7 @@ Required: ` + m.join(", "));
|
|
|
49264
49264
|
})))), Lh = (w, T) => $d(w, T), ib = (w, T, V) => wi(w, T, V).bind((q) => {
|
|
49265
49265
|
const be = (on) => Qo(w, on), Ze = "thead,tfoot,tbody,table", gt = fi(q.first, Ze, be), Rt = fi(q.last, Ze, be);
|
|
49266
49266
|
return gt.bind((on) => Rt.bind((Fn) => Qo(on, Fn) ? Ag(q.table, q.first, q.last) : oe.none()));
|
|
49267
|
-
}), $g = (w) =>
|
|
49267
|
+
}), $g = (w) => bt(w, Yn.fromDom), Mg = "data-mce-selected", Xu = "td[" + Mg + "],th[" + Mg + "]", Em = "data-mce-first-selected", Md = "td[" + Em + "],th[" + Em + "]", Ps = "data-mce-last-selected", Gs = "td[" + Ps + "],th[" + Ps + "]", rl = {
|
|
49268
49268
|
selected: Mg,
|
|
49269
49269
|
selectedSelector: Xu,
|
|
49270
49270
|
firstSelected: Em,
|
|
@@ -49272,7 +49272,7 @@ Required: ` + m.join(", "));
|
|
|
49272
49272
|
lastSelected: Ps,
|
|
49273
49273
|
lastSelectedSelector: Gs
|
|
49274
49274
|
}, Pg = (w) => Ot(w).bind((T) => Lh(T, rl.firstSelectedSelector)).fold(Pt(w), (T) => T[0]), Fh = (w) => (T, V) => {
|
|
49275
|
-
const q =
|
|
49275
|
+
const q = vt(T), be = q === "col" || q === "colgroup" ? Pg(T) : T;
|
|
49276
49276
|
return Ll(be, w, V);
|
|
49277
49277
|
}, ta = Fh("th,td,caption"), tu = Fh("th,td"), al = (w) => $g(w.model.table.getSelectedCells()), Ci = (w, T) => {
|
|
49278
49278
|
const V = tu(w), q = V.bind((be) => Ot(be)).map((be) => Kn(be));
|
|
@@ -49349,7 +49349,7 @@ Required: ` + m.join(", "));
|
|
|
49349
49349
|
Ze ? (q.setActive(!pr(Rt, on)), be.set(w.formatter.formatChanged(T, (Fn) => q.setActive(!Fn), !0))) : (q.setActive(vn(Rt, on)), be.set(w.formatter.formatChanged(T, q.setActive, !1, { value: V })));
|
|
49350
49350
|
};
|
|
49351
49351
|
return w.initialized ? gt() : w.on("init", gt), be.clear;
|
|
49352
|
-
}, Uo = (w) => Bo(w, "menu"), qc = (w) =>
|
|
49352
|
+
}, Uo = (w) => Bo(w, "menu"), qc = (w) => bt(w, (T) => {
|
|
49353
49353
|
const V = T.text || T.title || "";
|
|
49354
49354
|
return Uo(T) ? {
|
|
49355
49355
|
text: V,
|
|
@@ -49358,7 +49358,7 @@ Required: ` + m.join(", "));
|
|
|
49358
49358
|
text: V,
|
|
49359
49359
|
value: T.value
|
|
49360
49360
|
};
|
|
49361
|
-
}), yo = (w, T, V, q) =>
|
|
49361
|
+
}), yo = (w, T, V, q) => bt(T, (be) => {
|
|
49362
49362
|
const Ze = be.text || be.title;
|
|
49363
49363
|
return Uo(be) ? {
|
|
49364
49364
|
type: "nestedmenuitem",
|
|
@@ -49376,7 +49376,7 @@ Required: ` + m.join(", "));
|
|
|
49376
49376
|
...T,
|
|
49377
49377
|
menu: Su(T.menu)
|
|
49378
49378
|
}] : xl(T.value) ? [T] : []), nu = (w, T, V, q) => (be) => be(yo(w, T, V, q)), jn = (w, T, V) => {
|
|
49379
|
-
const q =
|
|
49379
|
+
const q = bt(T, (be) => ({
|
|
49380
49380
|
text: be.title,
|
|
49381
49381
|
value: "#" + Wr(be.value).value,
|
|
49382
49382
|
type: "choiceitem"
|
|
@@ -49543,7 +49543,7 @@ Required: ` + m.join(", "));
|
|
|
49543
49543
|
const T = ss(w, (V) => S(V.element));
|
|
49544
49544
|
return T.length === 0 ? oe.some("td") : T.length === w.length ? oe.some("th") : oe.none();
|
|
49545
49545
|
}, ge = (w) => {
|
|
49546
|
-
const T =
|
|
49546
|
+
const T = bt(w, (be) => U(be).type), V = ro(T, "header"), q = ro(T, "footer");
|
|
49547
49547
|
if (!V && !q)
|
|
49548
49548
|
return oe.some("body");
|
|
49549
49549
|
{
|
|
@@ -49554,7 +49554,7 @@ Required: ` + m.join(", "));
|
|
|
49554
49554
|
let T = !1, V;
|
|
49555
49555
|
return (...q) => (T || (T = !0, V = w.apply(null, q)), V);
|
|
49556
49556
|
}, qt = (w, T) => Va(w.all, (V) => Dt(V.cells, (q) => Qo(T, q.element))), Dn = (w, T, V) => {
|
|
49557
|
-
const q =
|
|
49557
|
+
const q = bt(T.selection, (Ze) => Y(Ze).bind((gt) => qt(w, gt)).filter(V)), be = Lo(q);
|
|
49558
49558
|
return nr(be.length > 0, be);
|
|
49559
49559
|
}, _n = (w, T) => T.mergable, pn = (w, T) => T.unmergable, zs = (w, T) => Dn(w, T, Xn), na = (w, T) => qt(w, T).exists((V) => !V.isLocked), Ul = (w, T) => vn(T, (V) => na(w, V)), ou = (w, T) => _n(w, T).filter((V) => Ul(w, V.cells)), pa = (w, T) => pn(w, T).filter((V) => Ul(w, V));
|
|
49560
49560
|
({ ...{ generate: (w) => {
|
|
@@ -49733,7 +49733,7 @@ Required: ` + T.join(", "));
|
|
|
49733
49733
|
};
|
|
49734
49734
|
}, Hg = (w, T) => {
|
|
49735
49735
|
const V = Wc.fromTable(w), q = Wc.justCells(V), be = ss(q, (Ze) => pr(T, (gt) => Qo(Ze.element, gt)));
|
|
49736
|
-
return
|
|
49736
|
+
return bt(be, (Ze) => ({
|
|
49737
49737
|
element: Ze.element.dom,
|
|
49738
49738
|
column: Wc.getColumnAt(V, Ze.column).map((gt) => gt.element.dom)
|
|
49739
49739
|
}));
|
|
@@ -49767,7 +49767,7 @@ Required: ` + T.join(", "));
|
|
|
49767
49767
|
Vg(w, T, V, be), w.focus();
|
|
49768
49768
|
});
|
|
49769
49769
|
}, ls = (w, T) => {
|
|
49770
|
-
const V = Ot(T[0]).map((q) =>
|
|
49770
|
+
const V = Ot(T[0]).map((q) => bt(Hg(q, T), (be) => db(w, be.element, xf(w), be.column)));
|
|
49771
49771
|
return ku(V.getOrDie());
|
|
49772
49772
|
}, Sl = (w) => {
|
|
49773
49773
|
const T = al(w);
|
|
@@ -49900,7 +49900,7 @@ Required: ` + T.join(", "));
|
|
|
49900
49900
|
const T = Ci(ks(w), rl.selected);
|
|
49901
49901
|
if (T.length === 0)
|
|
49902
49902
|
return;
|
|
49903
|
-
const V =
|
|
49903
|
+
const V = bt(T, (gt) => Tu(w, gt.dom, Cm(w))), q = ku(V), be = {
|
|
49904
49904
|
type: "tabpanel",
|
|
49905
49905
|
tabs: [
|
|
49906
49906
|
{
|
|
@@ -49936,7 +49936,7 @@ Required: ` + T.join(", "));
|
|
|
49936
49936
|
}
|
|
49937
49937
|
],
|
|
49938
49938
|
initialData: q,
|
|
49939
|
-
onSubmit: fe(zg, w,
|
|
49939
|
+
onSubmit: fe(zg, w, bt(T, (gt) => gt.dom), q)
|
|
49940
49940
|
});
|
|
49941
49941
|
}, au = (w, T, V) => {
|
|
49942
49942
|
const q = V ? [
|
|
@@ -50558,7 +50558,7 @@ Required: ` + T.join(", "));
|
|
|
50558
50558
|
text: "Cell",
|
|
50559
50559
|
getSubmenuItems: Pt("tablecellprops tablemergecells tablesplitcells")
|
|
50560
50560
|
}), w.ui.registry.addContextMenu("table", {
|
|
50561
|
-
update: () => (T.resetTargets(), T.targets().fold(Pt(""), (Mo) =>
|
|
50561
|
+
update: () => (T.resetTargets(), T.targets().fold(Pt(""), (Mo) => vt(Mo.element) === "caption" ? "tableprops deletetable" : "cell row column | advtablesort | tableprops deletetable"))
|
|
50562
50562
|
});
|
|
50563
50563
|
const Fn = Su(km(w));
|
|
50564
50564
|
Fn.length !== 0 && w.queryCommandSupported("mceTableToggleClass") && w.ui.registry.addNestedMenuItem("tableclass", {
|
|
@@ -50880,7 +50880,7 @@ Required: ` + T.join(", "));
|
|
|
50880
50880
|
});
|
|
50881
50881
|
}, et = (qe, Dt) => {
|
|
50882
50882
|
qe.addCommand("mceWordCount", () => pr(qe, Dt));
|
|
50883
|
-
},
|
|
50883
|
+
}, bt = (qe, Dt) => {
|
|
50884
50884
|
let Ke = null;
|
|
50885
50885
|
return {
|
|
50886
50886
|
cancel: () => {
|
|
@@ -50905,7 +50905,7 @@ Required: ` + T.join(", "));
|
|
|
50905
50905
|
}, Qn = (qe, Dt) => {
|
|
50906
50906
|
el(qe, Dt);
|
|
50907
50907
|
}, ss = (qe, Dt, Ke) => {
|
|
50908
|
-
const _e =
|
|
50908
|
+
const _e = bt(() => Qn(qe, Dt), Ke);
|
|
50909
50909
|
qe.on("init", () => {
|
|
50910
50910
|
Qn(qe, Dt), z.setEditorTimeout(qe, () => {
|
|
50911
50911
|
qe.on("SetContent BeforeAddUndo Undo Redo ViewUpdate keyup", _e.throttle);
|
|
@@ -50995,8 +50995,8 @@ const LQ = { class: "font-bold ptext-lg dark:text-white" }, FQ = ["id"], HQ = /*
|
|
|
50995
50995
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
50996
50996
|
}, mt(O.model_value), 9, FQ),
|
|
50997
50997
|
HQ
|
|
50998
|
-
], 2)) :
|
|
50999
|
-
O.show ?
|
|
50998
|
+
], 2)) : pt("", !0),
|
|
50999
|
+
O.show ? pt("", !0) : (ve(), we("div", {
|
|
51000
51000
|
key: 1,
|
|
51001
51001
|
class: rn(["mb-4", O.field_name])
|
|
51002
51002
|
}, [
|
|
@@ -51224,7 +51224,7 @@ function ree(O, me, se, Ee, he, K) {
|
|
|
51224
51224
|
So(" of "),
|
|
51225
51225
|
P("span", XQ, mt(X.computed.total), 1),
|
|
51226
51226
|
So(" Entries ")
|
|
51227
|
-
])) :
|
|
51227
|
+
])) : pt("", !0),
|
|
51228
51228
|
X.computed.total > X.computed.perPage ? (ve(), we("ul", t5({ key: 1 }, O.$attrs, {
|
|
51229
51229
|
class: ["flex items-center h-8 -space-x-px text-sm", {
|
|
51230
51230
|
"pagination-sm": se.size == "small",
|
|
@@ -51248,7 +51248,7 @@ function ree(O, me, se, Ee, he, K) {
|
|
|
51248
51248
|
eee
|
|
51249
51249
|
])
|
|
51250
51250
|
], 16, JQ)
|
|
51251
|
-
], 2)) :
|
|
51251
|
+
], 2)) : pt("", !0),
|
|
51252
51252
|
(ve(!0), we(bo, null, kr(X.computed.pageRange, (Be, ft) => (ve(), we("li", {
|
|
51253
51253
|
class: rn(["", { active: Be == X.computed.currentPage }]),
|
|
51254
51254
|
key: ft
|
|
@@ -51276,8 +51276,8 @@ function ree(O, me, se, Ee, he, K) {
|
|
|
51276
51276
|
see
|
|
51277
51277
|
])
|
|
51278
51278
|
], 16, nee)
|
|
51279
|
-
], 2)) :
|
|
51280
|
-
], 16)) :
|
|
51279
|
+
], 2)) : pt("", !0)
|
|
51280
|
+
], 16)) : pt("", !0)
|
|
51281
51281
|
])
|
|
51282
51282
|
]),
|
|
51283
51283
|
_: 3
|
|
@@ -51483,7 +51483,7 @@ function Oee(O, me, se, Ee, he, K) {
|
|
|
51483
51483
|
So(mt(Be.field_label) + " ", 1),
|
|
51484
51484
|
he.sortField === Be.field_name ? (ve(), we("span", xee, [
|
|
51485
51485
|
he.sortOrder === "asc" ? (ve(), we("i", wee)) : (ve(), we("i", Cee))
|
|
51486
|
-
])) :
|
|
51486
|
+
])) : pt("", !0)
|
|
51487
51487
|
], 8, yee))), 128))
|
|
51488
51488
|
])
|
|
51489
51489
|
]),
|
|
@@ -51492,8 +51492,8 @@ function Oee(O, me, se, Ee, he, K) {
|
|
|
51492
51492
|
P("td", {
|
|
51493
51493
|
colspan: se.columns.length
|
|
51494
51494
|
}, Tee, 8, _ee)
|
|
51495
|
-
])) :
|
|
51496
|
-
he.isLoading ?
|
|
51495
|
+
])) : pt("", !0),
|
|
51496
|
+
he.isLoading ? pt("", !0) : (ve(!0), we(bo, { key: 1 }, kr(he.itemLists.data, (Be, ft) => (ve(), we("tr", {
|
|
51497
51497
|
key: ft,
|
|
51498
51498
|
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"
|
|
51499
51499
|
}, [
|
|
@@ -51797,7 +51797,7 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51797
51797
|
So(mt(X.field_label) + " ", 1),
|
|
51798
51798
|
he.sortKey === X.field_name ? (ve(), we("span", Zee, [
|
|
51799
51799
|
he.sortOrder === 1 ? (ve(), we("i", jee)) : (ve(), we("i", Gee))
|
|
51800
|
-
])) :
|
|
51800
|
+
])) : pt("", !0)
|
|
51801
51801
|
], 8, Wee))), 128))
|
|
51802
51802
|
])
|
|
51803
51803
|
]),
|
|
@@ -51806,8 +51806,8 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51806
51806
|
P("td", {
|
|
51807
51807
|
colspan: se.columns.length
|
|
51808
51808
|
}, Xee, 8, Kee)
|
|
51809
|
-
])) :
|
|
51810
|
-
he.isLoading ?
|
|
51809
|
+
])) : pt("", !0),
|
|
51810
|
+
he.isLoading ? pt("", !0) : (ve(!0), we(bo, { key: 1 }, kr(K.paginatedData, (X, Be) => (ve(), we("tr", {
|
|
51811
51811
|
key: Be,
|
|
51812
51812
|
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"
|
|
51813
51813
|
}, [
|
|
@@ -51883,7 +51883,7 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51883
51883
|
href: "#",
|
|
51884
51884
|
onClick: oc((Be) => K.goToPage(X), ["prevent"]),
|
|
51885
51885
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
51886
|
-
}, mt(X), 9, hte)) :
|
|
51886
|
+
}, mt(X), 9, hte)) : pt("", !0)
|
|
51887
51887
|
]),
|
|
51888
51888
|
P("li", null, [
|
|
51889
51889
|
he.currentPage === X ? (ve(), we("a", {
|
|
@@ -51892,7 +51892,7 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51892
51892
|
onClick: oc((Be) => K.goToPage(X), ["prevent"]),
|
|
51893
51893
|
"aria-current": "page",
|
|
51894
51894
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
51895
|
-
}, mt(X), 9, pte)) :
|
|
51895
|
+
}, mt(X), 9, pte)) : pt("", !0)
|
|
51896
51896
|
])
|
|
51897
51897
|
], 64))), 128)),
|
|
51898
51898
|
P("li", null, [
|
|
@@ -51907,7 +51907,7 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51907
51907
|
])
|
|
51908
51908
|
])
|
|
51909
51909
|
])
|
|
51910
|
-
])) :
|
|
51910
|
+
])) : pt("", !0)
|
|
51911
51911
|
]);
|
|
51912
51912
|
}
|
|
51913
51913
|
const Kae = /* @__PURE__ */ Jr(Ree, [["render", wte]]), Cte = {
|
|
@@ -52119,7 +52119,7 @@ function qte(O, me, se, Ee, he, K) {
|
|
|
52119
52119
|
So(mt(Be.field_label) + " ", 1),
|
|
52120
52120
|
he.sortField === Be.field_name ? (ve(), we("span", Bte, [
|
|
52121
52121
|
he.sortOrder === "asc" ? (ve(), we("i", Ite)) : (ve(), we("i", Lte))
|
|
52122
|
-
])) :
|
|
52122
|
+
])) : pt("", !0)
|
|
52123
52123
|
], 8, Nte))), 128))
|
|
52124
52124
|
])
|
|
52125
52125
|
]),
|
|
@@ -52128,8 +52128,8 @@ function qte(O, me, se, Ee, he, K) {
|
|
|
52128
52128
|
P("td", {
|
|
52129
52129
|
colspan: se.columns.length
|
|
52130
52130
|
}, zte, 8, Hte)
|
|
52131
|
-
])) :
|
|
52132
|
-
he.isLoading ?
|
|
52131
|
+
])) : pt("", !0),
|
|
52132
|
+
he.isLoading ? pt("", !0) : (ve(!0), we(bo, { key: 1 }, kr(K.groupedItems, (Be, ft) => (ve(), we(bo, null, [
|
|
52133
52133
|
P("tr", Ute, [
|
|
52134
52134
|
P("td", {
|
|
52135
52135
|
colspan: se.columns.length,
|
|
@@ -52367,7 +52367,7 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52367
52367
|
So(mt(X) + " ", 1),
|
|
52368
52368
|
he.sortKey === X ? (ve(), we("span", ine, [
|
|
52369
52369
|
he.sortOrder === 1 ? (ve(), we("i", une)) : (ve(), we("i", dne))
|
|
52370
|
-
])) :
|
|
52370
|
+
])) : pt("", !0)
|
|
52371
52371
|
], 8, cne))), 128))
|
|
52372
52372
|
])
|
|
52373
52373
|
]),
|
|
@@ -52435,7 +52435,7 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52435
52435
|
href: "#",
|
|
52436
52436
|
onClick: oc((Be) => K.goToPage(X), ["prevent"]),
|
|
52437
52437
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52438
|
-
}, mt(X), 9, Dne)) :
|
|
52438
|
+
}, mt(X), 9, Dne)) : pt("", !0)
|
|
52439
52439
|
]),
|
|
52440
52440
|
P("li", null, [
|
|
52441
52441
|
he.currentPage === X ? (ve(), we("a", {
|
|
@@ -52444,7 +52444,7 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52444
52444
|
onClick: oc((Be) => K.goToPage(X), ["prevent"]),
|
|
52445
52445
|
"aria-current": "page",
|
|
52446
52446
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
52447
|
-
}, mt(X), 9, One)) :
|
|
52447
|
+
}, mt(X), 9, One)) : pt("", !0)
|
|
52448
52448
|
])
|
|
52449
52449
|
], 64))), 128)),
|
|
52450
52450
|
P("li", null, [
|
|
@@ -52459,7 +52459,7 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52459
52459
|
])
|
|
52460
52460
|
])
|
|
52461
52461
|
])
|
|
52462
|
-
])) :
|
|
52462
|
+
])) : pt("", !0)
|
|
52463
52463
|
]);
|
|
52464
52464
|
}
|
|
52465
52465
|
const Xae = /* @__PURE__ */ Jr(Kte, [["render", Nne]]), Bne = {
|
|
@@ -52557,8 +52557,8 @@ function jne(O, me, se, Ee, he, K) {
|
|
|
52557
52557
|
"aria-expanded": "true"
|
|
52558
52558
|
}, [
|
|
52559
52559
|
P("span", Fne, mt(se.title), 1),
|
|
52560
|
-
Ee.isOpen ?
|
|
52561
|
-
Ee.isOpen ? (ve(), we("svg", Une, Zne)) :
|
|
52560
|
+
Ee.isOpen ? pt("", !0) : (ve(), we("svg", Hne, zne)),
|
|
52561
|
+
Ee.isOpen ? (ve(), we("svg", Une, Zne)) : pt("", !0)
|
|
52562
52562
|
], 2)
|
|
52563
52563
|
]),
|
|
52564
52564
|
Ee.isOpen ? (ve(), we("div", {
|
|
@@ -52569,7 +52569,7 @@ function jne(O, me, se, Ee, he, K) {
|
|
|
52569
52569
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
52570
52570
|
}, [
|
|
52571
52571
|
vf(O.$slots, "default")
|
|
52572
|
-
], 2)) :
|
|
52572
|
+
], 2)) : pt("", !0)
|
|
52573
52573
|
]);
|
|
52574
52574
|
}
|
|
52575
52575
|
const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
@@ -52653,9 +52653,9 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
|
52653
52653
|
});
|
|
52654
52654
|
const Ee = me;
|
|
52655
52655
|
return (he, K) => (ve(), we("div", Gne, [
|
|
52656
|
-
se.type === "success" ? (ve(), we("div", qne, Xne)) :
|
|
52657
|
-
se.type === "error" ? (ve(), we("div", Jne, toe)) :
|
|
52658
|
-
se.type === "warning" ? (ve(), we("div", noe, roe)) :
|
|
52656
|
+
se.type === "success" ? (ve(), we("div", qne, Xne)) : pt("", !0),
|
|
52657
|
+
se.type === "error" ? (ve(), we("div", Jne, toe)) : pt("", !0),
|
|
52658
|
+
se.type === "warning" ? (ve(), we("div", noe, roe)) : pt("", !0),
|
|
52659
52659
|
P("div", aoe, mt(se.message), 1),
|
|
52660
52660
|
P("button", {
|
|
52661
52661
|
onClick: K[0] || (K[0] = (De) => Ee("remove")),
|
|
@@ -52777,7 +52777,7 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
|
52777
52777
|
voe,
|
|
52778
52778
|
So(" Edit")
|
|
52779
52779
|
], 8, boe)
|
|
52780
|
-
])) :
|
|
52780
|
+
])) : pt("", !0),
|
|
52781
52781
|
xn.can(`delete_${O.xprops.permission}`) ? (ve(), we("li", yoe, [
|
|
52782
52782
|
P("a", {
|
|
52783
52783
|
href: "#",
|
|
@@ -52787,14 +52787,14 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
|
52787
52787
|
xoe,
|
|
52788
52788
|
So(" Remove")
|
|
52789
52789
|
])
|
|
52790
|
-
])) :
|
|
52790
|
+
])) : pt("", !0)
|
|
52791
52791
|
])
|
|
52792
52792
|
], 512), [
|
|
52793
52793
|
[n5, Ee.value]
|
|
52794
52794
|
])
|
|
52795
52795
|
])), [
|
|
52796
52796
|
[Zo, K]
|
|
52797
|
-
]) :
|
|
52797
|
+
]) : pt("", !0)
|
|
52798
52798
|
], 64);
|
|
52799
52799
|
};
|
|
52800
52800
|
}
|
|
@@ -52884,14 +52884,14 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
|
52884
52884
|
Eoe,
|
|
52885
52885
|
So(" Remove")
|
|
52886
52886
|
])
|
|
52887
|
-
])) :
|
|
52887
|
+
])) : pt("", !0)
|
|
52888
52888
|
])
|
|
52889
52889
|
], 512), [
|
|
52890
52890
|
[n5, Ee.value]
|
|
52891
52891
|
])
|
|
52892
52892
|
])), [
|
|
52893
52893
|
[Zo, K]
|
|
52894
|
-
]) :
|
|
52894
|
+
]) : pt("", !0)
|
|
52895
52895
|
], 64);
|
|
52896
52896
|
};
|
|
52897
52897
|
}
|
|
@@ -52973,7 +52973,7 @@ function Poe(O, me, se, Ee, he, K) {
|
|
|
52973
52973
|
Moe,
|
|
52974
52974
|
So(" Download ")
|
|
52975
52975
|
], 8, $oe)
|
|
52976
|
-
])) :
|
|
52976
|
+
])) : pt("", !0)
|
|
52977
52977
|
]);
|
|
52978
52978
|
}
|
|
52979
52979
|
const ole = /* @__PURE__ */ Jr(Aoe, [["render", Poe]]), Noe = {
|
|
@@ -53049,7 +53049,7 @@ function Voe(O, me, se, Ee, he, K) {
|
|
|
53049
53049
|
Hoe,
|
|
53050
53050
|
So(" Download ")
|
|
53051
53051
|
], 8, Foe)
|
|
53052
|
-
])) :
|
|
53052
|
+
])) : pt("", !0)
|
|
53053
53053
|
]);
|
|
53054
53054
|
}
|
|
53055
53055
|
const sle = /* @__PURE__ */ Jr(Noe, [["render", Voe]]), zoe = {
|
|
@@ -53061,7 +53061,7 @@ function Zoe(O, me, se, Ee, he, K) {
|
|
|
53061
53061
|
class: "w-full",
|
|
53062
53062
|
innerHTML: se.row[se.field]
|
|
53063
53063
|
}, null, 8, Woe)
|
|
53064
|
-
])) :
|
|
53064
|
+
])) : pt("", !0);
|
|
53065
53065
|
}
|
|
53066
53066
|
const rle = /* @__PURE__ */ Jr(zoe, [["render", Zoe]]), joe = {
|
|
53067
53067
|
props: ["field", "row", "tdProps"],
|
|
@@ -53077,17 +53077,20 @@ const rle = /* @__PURE__ */ Jr(zoe, [["render", Zoe]]), joe = {
|
|
|
53077
53077
|
return typeof this.row[this.entry.key] == "object";
|
|
53078
53078
|
}
|
|
53079
53079
|
}
|
|
53080
|
-
}, Goe = {
|
|
53080
|
+
}, Goe = {
|
|
53081
|
+
key: 0,
|
|
53082
|
+
class: "flex flex-wrap gap-2"
|
|
53083
|
+
}, qoe = {
|
|
53081
53084
|
key: 1,
|
|
53082
53085
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53083
53086
|
};
|
|
53084
53087
|
function Koe(O, me, se, Ee, he, K) {
|
|
53085
|
-
return ve(), we("div", Goe, [
|
|
53088
|
+
return this.row[this.entry.key] ? (ve(), we("div", Goe, [
|
|
53086
53089
|
K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row[K.entry.key], (De, X) => (ve(), we("span", {
|
|
53087
53090
|
key: X,
|
|
53088
53091
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53089
|
-
}, mt(De[K.entry.field]), 1))), 128)) : K.isObject ? (ve(), we("span", qoe, mt(se.row[K.entry.key][K.entry.field]), 1)) :
|
|
53090
|
-
]);
|
|
53092
|
+
}, mt(De[K.entry.field]), 1))), 128)) : K.isObject ? (ve(), we("span", qoe, mt(se.row[K.entry.key][K.entry.field]), 1)) : pt("", !0)
|
|
53093
|
+
])) : pt("", !0);
|
|
53091
53094
|
}
|
|
53092
53095
|
const ale = /* @__PURE__ */ Jr(joe, [["render", Koe]]), Yoe = {
|
|
53093
53096
|
props: ["field", "row", "tdProps"],
|
|
@@ -53117,7 +53120,7 @@ function Qoe(O, me, se, Ee, he, K) {
|
|
|
53117
53120
|
K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(K.getNestedValue(se.row, K.entry.keys), (De, X) => (ve(), we("span", {
|
|
53118
53121
|
key: X,
|
|
53119
53122
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53120
|
-
}, mt(De[K.entry.field]), 1))), 128)) : K.isObject ? (ve(), we("span", Joe, mt(K.getNestedValue(se.row, K.entry.keys)[K.entry.field]), 1)) :
|
|
53123
|
+
}, mt(De[K.entry.field]), 1))), 128)) : K.isObject ? (ve(), we("span", Joe, mt(K.getNestedValue(se.row, K.entry.keys)[K.entry.field]), 1)) : pt("", !0)
|
|
53121
53124
|
]);
|
|
53122
53125
|
}
|
|
53123
53126
|
const lle = /* @__PURE__ */ Jr(Yoe, [["render", Qoe]]), ese = {
|
|
@@ -53138,7 +53141,7 @@ function rse(O, me, se, Ee, he, K) {
|
|
|
53138
53141
|
}, null, 8, sse)
|
|
53139
53142
|
], 8, ose)
|
|
53140
53143
|
])
|
|
53141
|
-
])) :
|
|
53144
|
+
])) : pt("", !0);
|
|
53142
53145
|
}
|
|
53143
53146
|
const cle = /* @__PURE__ */ Jr(ese, [["render", rse], ["__scopeId", "data-v-3a28c02c"]]), ase = {
|
|
53144
53147
|
props: ["field", "row", "tdProps"],
|
|
@@ -53159,7 +53162,7 @@ function mse(O, me, se, Ee, he, K) {
|
|
|
53159
53162
|
K.isActive ? (ve(), we("span", cse, [
|
|
53160
53163
|
ise,
|
|
53161
53164
|
So(" Active ")
|
|
53162
|
-
])) : K.isActive ?
|
|
53165
|
+
])) : K.isActive ? pt("", !0) : (ve(), we("span", use, [
|
|
53163
53166
|
dse,
|
|
53164
53167
|
So(" Inactive ")
|
|
53165
53168
|
]))
|
|
@@ -53199,23 +53202,23 @@ function kse(O, me, se, Ee, he, K) {
|
|
|
53199
53202
|
K.hasLabelColor == "green" ? (ve(), we("span", hse, [
|
|
53200
53203
|
pse,
|
|
53201
53204
|
So(" " + mt(this.row[this.field]), 1)
|
|
53202
|
-
])) :
|
|
53205
|
+
])) : pt("", !0),
|
|
53203
53206
|
K.hasLabelColor == "red" ? (ve(), we("span", bse, [
|
|
53204
53207
|
vse,
|
|
53205
53208
|
So(" " + mt(this.row[this.field]), 1)
|
|
53206
|
-
])) :
|
|
53209
|
+
])) : pt("", !0),
|
|
53207
53210
|
K.hasLabelColor == "yellow" ? (ve(), we("span", yse, [
|
|
53208
53211
|
xse,
|
|
53209
53212
|
So(" " + mt(this.row[this.field]), 1)
|
|
53210
|
-
])) :
|
|
53213
|
+
])) : pt("", !0),
|
|
53211
53214
|
K.hasLabelColor == "default" ? (ve(), we("span", wse, [
|
|
53212
53215
|
Cse,
|
|
53213
53216
|
So(" " + mt(this.row[this.field]), 1)
|
|
53214
|
-
])) :
|
|
53217
|
+
])) : pt("", !0),
|
|
53215
53218
|
K.hasLabelColor == "animate" ? (ve(), we("span", Sse, [
|
|
53216
53219
|
_se,
|
|
53217
53220
|
So(" " + mt(this.row[this.field]), 1)
|
|
53218
|
-
])) :
|
|
53221
|
+
])) : pt("", !0)
|
|
53219
53222
|
]);
|
|
53220
53223
|
}
|
|
53221
53224
|
const ule = /* @__PURE__ */ Jr(fse, [["render", kse]]), Tse = {
|
|
@@ -53245,35 +53248,35 @@ function Ase(O, me, se, Ee, he, K) {
|
|
|
53245
53248
|
K.hasLabelColor == "Default" ? (ve(), we("span", {
|
|
53246
53249
|
key: 0,
|
|
53247
53250
|
class: rn(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", K.badgeType])
|
|
53248
|
-
}, mt(this.row[this.field]), 3)) :
|
|
53251
|
+
}, mt(this.row[this.field]), 3)) : pt("", !0),
|
|
53249
53252
|
K.hasLabelColor == "Dark" ? (ve(), we("span", {
|
|
53250
53253
|
key: 1,
|
|
53251
53254
|
class: rn(["bg-gray-100 text-gray-800 font-medium me-2 px-2.5 py-0.5 dark:bg-gray-700 dark:text-gray-300 border-gray-500", K.badgeType])
|
|
53252
|
-
}, mt(this.row[this.field]), 3)) :
|
|
53255
|
+
}, mt(this.row[this.field]), 3)) : pt("", !0),
|
|
53253
53256
|
K.hasLabelColor == "Red" ? (ve(), we("span", {
|
|
53254
53257
|
key: 2,
|
|
53255
53258
|
class: rn(["bg-red-100 text-red-800 font-medium me-2 px-2.5 py-0.5 dark:bg-red-900 dark:text-red-300 border-red-400", K.badgeType])
|
|
53256
|
-
}, mt(this.row[this.field]), 3)) :
|
|
53259
|
+
}, mt(this.row[this.field]), 3)) : pt("", !0),
|
|
53257
53260
|
K.hasLabelColor == "Green" ? (ve(), we("span", {
|
|
53258
53261
|
key: 3,
|
|
53259
53262
|
class: rn(["bg-green-100 text-green-800 font-medium me-2 px-2.5 py-0.5 dark:bg-green-900 dark:text-green-300 border-green-400", K.badgeType])
|
|
53260
|
-
}, mt(this.row[this.field]), 3)) :
|
|
53263
|
+
}, mt(this.row[this.field]), 3)) : pt("", !0),
|
|
53261
53264
|
K.hasLabelColor == "Yellow" ? (ve(), we("span", {
|
|
53262
53265
|
key: 4,
|
|
53263
53266
|
class: rn(["bg-yellow-100 text-yellow-800 font-medium me-2 px-2.5 py-0.5 dark:bg-yellow-900 dark:text-yellow-300 border-yellow-300", K.badgeType])
|
|
53264
|
-
}, mt(this.row[this.field]), 3)) :
|
|
53267
|
+
}, mt(this.row[this.field]), 3)) : pt("", !0),
|
|
53265
53268
|
K.hasLabelColor == "Indigo" ? (ve(), we("span", {
|
|
53266
53269
|
key: 5,
|
|
53267
53270
|
class: rn(["bg-indigo-100 text-indigo-800 font-medium me-2 px-2.5 py-0.5 dark:bg-indigo-900 dark:text-indigo-300 border-indigo-400", K.badgeType])
|
|
53268
|
-
}, mt(this.row[this.field]), 3)) :
|
|
53271
|
+
}, mt(this.row[this.field]), 3)) : pt("", !0),
|
|
53269
53272
|
K.hasLabelColor == "Purple" ? (ve(), we("span", {
|
|
53270
53273
|
key: 6,
|
|
53271
53274
|
class: rn(["bg-purple-100 text-purple-800 font-medium me-2 px-2.5 py-0.5 dark:bg-purple-900 dark:text-purple-300 border-purple-400", K.badgeType])
|
|
53272
|
-
}, mt(this.row[this.field]), 3)) :
|
|
53275
|
+
}, mt(this.row[this.field]), 3)) : pt("", !0),
|
|
53273
53276
|
K.hasLabelColor == "Pink" ? (ve(), we("span", {
|
|
53274
53277
|
key: 7,
|
|
53275
53278
|
class: rn(["bg-pink-100 text-pink-800 font-medium me-2 px-2.5 py-0.5 dark:bg-pink-900 dark:text-pink-300 border-pink-400", K.badgeType])
|
|
53276
|
-
}, mt(this.row[this.field]), 3)) :
|
|
53279
|
+
}, mt(this.row[this.field]), 3)) : pt("", !0)
|
|
53277
53280
|
]);
|
|
53278
53281
|
}
|
|
53279
53282
|
const dle = /* @__PURE__ */ Jr(Tse, [["render", Ase]]), Dse = {
|
|
@@ -53316,23 +53319,23 @@ function Vse(O, me, se, Ee, he, K) {
|
|
|
53316
53319
|
K.hasLabelColor == "green" ? (ve(), we("span", Rse, [
|
|
53317
53320
|
$se,
|
|
53318
53321
|
So(" " + mt(K.getLabel), 1)
|
|
53319
|
-
])) :
|
|
53322
|
+
])) : pt("", !0),
|
|
53320
53323
|
K.hasLabelColor == "red" ? (ve(), we("span", Mse, [
|
|
53321
53324
|
Pse,
|
|
53322
53325
|
So(" " + mt(K.getLabel), 1)
|
|
53323
|
-
])) :
|
|
53326
|
+
])) : pt("", !0),
|
|
53324
53327
|
K.hasLabelColor == "yellow" ? (ve(), we("span", Nse, [
|
|
53325
53328
|
Bse,
|
|
53326
53329
|
So(" " + mt(K.getLabel), 1)
|
|
53327
|
-
])) :
|
|
53330
|
+
])) : pt("", !0),
|
|
53328
53331
|
K.hasLabelColor == "default" ? (ve(), we("span", Ise, [
|
|
53329
53332
|
Lse,
|
|
53330
53333
|
So(" " + mt(K.getLabel), 1)
|
|
53331
|
-
])) :
|
|
53334
|
+
])) : pt("", !0),
|
|
53332
53335
|
K.hasLabelColor == "animate" ? (ve(), we("span", Fse, [
|
|
53333
53336
|
Hse,
|
|
53334
53337
|
So(" " + mt(K.getLabel), 1)
|
|
53335
|
-
])) :
|
|
53338
|
+
])) : pt("", !0)
|
|
53336
53339
|
]);
|
|
53337
53340
|
}
|
|
53338
53341
|
const mle = /* @__PURE__ */ Jr(Dse, [["render", Vse]]), zse = {
|
|
@@ -53385,15 +53388,15 @@ function nre(O, me, se, Ee, he, K) {
|
|
|
53385
53388
|
se.row[se.field] === 0 ? (ve(), we("span", Yse, [
|
|
53386
53389
|
Xse,
|
|
53387
53390
|
So(" Provisioning")
|
|
53388
|
-
])) :
|
|
53391
|
+
])) : pt("", !0),
|
|
53389
53392
|
se.row[se.field] === 2 ? (ve(), we("span", Jse, [
|
|
53390
53393
|
Qse,
|
|
53391
53394
|
So(" Paused ")
|
|
53392
|
-
])) :
|
|
53395
|
+
])) : pt("", !0),
|
|
53393
53396
|
se.row[se.field] === 1 ? (ve(), we("span", ere, [
|
|
53394
53397
|
tre,
|
|
53395
53398
|
So(" Active ")
|
|
53396
|
-
])) :
|
|
53399
|
+
])) : pt("", !0)
|
|
53397
53400
|
]);
|
|
53398
53401
|
}
|
|
53399
53402
|
const hle = /* @__PURE__ */ Jr(qse, [["render", nre]]), ore = {
|
|
@@ -53409,7 +53412,7 @@ function are(O, me, se, Ee, he, K) {
|
|
|
53409
53412
|
return se.row[se.field] ? (ve(), we("div", sre, [
|
|
53410
53413
|
P("pre", rre, " " + mt(se.row[se.field]) + `
|
|
53411
53414
|
`, 1)
|
|
53412
|
-
])) :
|
|
53415
|
+
])) : pt("", !0);
|
|
53413
53416
|
}
|
|
53414
53417
|
const ple = /* @__PURE__ */ Jr(ore, [["render", are]]), lre = {
|
|
53415
53418
|
props: ["isOpen", "title", "button_text"],
|
|
@@ -53463,7 +53466,7 @@ function yre(O, me, se, Ee, he, K) {
|
|
|
53463
53466
|
])
|
|
53464
53467
|
])
|
|
53465
53468
|
])
|
|
53466
|
-
])) :
|
|
53469
|
+
])) : pt("", !0);
|
|
53467
53470
|
}
|
|
53468
53471
|
const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
|
|
53469
53472
|
key: 0,
|
|
@@ -53523,7 +53526,7 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
|
|
|
53523
53526
|
])
|
|
53524
53527
|
])
|
|
53525
53528
|
])
|
|
53526
|
-
])) :
|
|
53529
|
+
])) : pt("", !0);
|
|
53527
53530
|
}
|
|
53528
53531
|
}, $re = { class: "w-full" }, Mre = { class: "mb-2 flex justify-between items-center" }, Pre = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Nre = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, Bre = { class: "overflow-auto max-h-32" }, Ire = { class: "text-sm text-gray-500 dark:text-gray-400" }, Lre = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Fre = {
|
|
53529
53532
|
key: 0,
|
|
@@ -53598,8 +53601,8 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
|
|
|
53598
53601
|
onClick: De[0] || (De[0] = (X) => Ee(he.value)),
|
|
53599
53602
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
53600
53603
|
}, [
|
|
53601
|
-
se.value ?
|
|
53602
|
-
se.value ? (ve(), we("span", Ure, jre)) :
|
|
53604
|
+
se.value ? pt("", !0) : (ve(), we("span", Fre, zre)),
|
|
53605
|
+
se.value ? (ve(), we("span", Ure, jre)) : pt("", !0)
|
|
53603
53606
|
])
|
|
53604
53607
|
])
|
|
53605
53608
|
]),
|
|
@@ -53687,8 +53690,8 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
|
|
|
53687
53690
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
53688
53691
|
type: "button"
|
|
53689
53692
|
}, [
|
|
53690
|
-
se.value ?
|
|
53691
|
-
se.value ? (ve(), we("span", sae, aae)) :
|
|
53693
|
+
se.value ? pt("", !0) : (ve(), we("span", tae, oae)),
|
|
53694
|
+
se.value ? (ve(), we("span", sae, aae)) : pt("", !0)
|
|
53692
53695
|
])
|
|
53693
53696
|
]),
|
|
53694
53697
|
P("p", lae, mt(O.description), 1)
|
|
@@ -53719,15 +53722,15 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
|
|
|
53719
53722
|
O.status === 0 ? (ve(), we("span", iae, [
|
|
53720
53723
|
uae,
|
|
53721
53724
|
So(" Running")
|
|
53722
|
-
])) :
|
|
53725
|
+
])) : pt("", !0),
|
|
53723
53726
|
O.status === 1 ? (ve(), we("span", dae, [
|
|
53724
53727
|
mae,
|
|
53725
53728
|
So(" Success ")
|
|
53726
|
-
])) :
|
|
53729
|
+
])) : pt("", !0),
|
|
53727
53730
|
O.status === 2 ? (ve(), we("span", fae, [
|
|
53728
53731
|
gae,
|
|
53729
53732
|
So(" Failed ")
|
|
53730
|
-
])) :
|
|
53733
|
+
])) : pt("", !0)
|
|
53731
53734
|
]));
|
|
53732
53735
|
}
|
|
53733
53736
|
}, hae = { class: "flex flex-wrap gap-2 text-nowrap" }, pae = {
|
|
@@ -53771,15 +53774,15 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
|
|
|
53771
53774
|
O.status === 0 ? (ve(), we("span", pae, [
|
|
53772
53775
|
bae,
|
|
53773
53776
|
So(" Connecting")
|
|
53774
|
-
])) :
|
|
53777
|
+
])) : pt("", !0),
|
|
53775
53778
|
O.status === 1 ? (ve(), we("span", vae, [
|
|
53776
53779
|
yae,
|
|
53777
53780
|
So(" Connected ")
|
|
53778
|
-
])) :
|
|
53781
|
+
])) : pt("", !0),
|
|
53779
53782
|
O.status === 2 ? (ve(), we("span", xae, [
|
|
53780
53783
|
wae,
|
|
53781
53784
|
So(" Disconnected ")
|
|
53782
|
-
])) :
|
|
53785
|
+
])) : pt("", !0),
|
|
53783
53786
|
P("button", {
|
|
53784
53787
|
onClick: Ee,
|
|
53785
53788
|
class: "ml-1"
|