act-plus 1.1.51 → 1.1.52
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/act-plus.js +1 -1
- package/act-plus.umd.cjs +2 -2
- package/lib/{dialogAddField-0e19a31f.js → dialogAddField-3e7ab338.js} +3 -3
- package/lib/{dialogConfigBtn-b131d374.js → dialogConfigBtn-b6625b2d.js} +35 -35
- package/lib/{dialogSiteComponentsParams-bf8154a6.js → dialogSiteComponentsParams-d82a76fd.js} +1 -1
- package/lib/{index-e2f8fca5.js → index-5a545acc.js} +1 -1
- package/lib/{index-9e34a365.js → index-6789c178.js} +2 -2
- package/lib/{index-923602f1.js → index-9e047760.js} +2 -2
- package/lib/{index-01d80683.js → index-ec6f916c.js} +1 -1
- package/lib/{index-b6111c39.js → index-f0b70454.js} +1 -1
- package/lib/{index-642237bf.js → index-fa25c385.js} +201 -201
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as lS, h as E$, getCurrentInstance as E3, effectScope as $Q, inject as _1, onMounted as R3, onUnmounted as HQ, computed as Pb, watch as Od, Fragment as ki, isRef as eS, ref as
|
|
1
|
+
import { defineComponent as lS, h as E$, getCurrentInstance as E3, effectScope as $Q, inject as _1, onMounted as R3, onUnmounted as HQ, computed as Pb, watch as Od, Fragment as ki, isRef as eS, ref as ir, shallowRef as VQ, createVNode as qn, Text as UQ, openBlock as ts, createElementBlock as Wa, createElementVNode as Sl, defineAsyncComponent as y1, reactive as nS, provide as mu, resolveComponent as ks, resolveDirective as oS, withDirectives as a_, createBlock as Rr, withCtx as Qn, unref as An, createSlots as WQ, renderList as Jg, resolveDynamicComponent as sY, createCommentVNode as uh, createTextVNode as gu, toDisplayString as gf, markRaw as rY, nextTick as sS, mergeProps as xG, renderSlot as T$, onBeforeUnmount as qY, normalizeStyle as jQ, toRefs as ZQ, onActivated as qQ, onDeactivated as GQ, normalizeClass as KQ } from "vue";
|
|
2
2
|
import { useRoute as N$, useRouter as GY } from "vue-router";
|
|
3
3
|
import { Base64 as YQ } from "js-base64";
|
|
4
4
|
import { ElNotification as Qg, dayjs as zb, ElMessageBox as aY } from "element-plus";
|
|
@@ -2280,7 +2280,7 @@ const VJ = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
2280
2280
|
return w && (D = mQ(w)[DY]) ? { [DY]: D } : null;
|
|
2281
2281
|
};
|
|
2282
2282
|
function zG(w = {}) {
|
|
2283
|
-
const { __root: D, __injectWithOption: W } = w, j = D === void 0, q = w.flatJson, te = dh ?
|
|
2283
|
+
const { __root: D, __injectWithOption: W } = w, j = D === void 0, q = w.flatJson, te = dh ? ir : VQ;
|
|
2284
2284
|
let oe = xa(w.inheritLocale) ? w.inheritLocale : !0;
|
|
2285
2285
|
const Y = te(
|
|
2286
2286
|
// prettier-ignore
|
|
@@ -3681,18 +3681,18 @@ const Pee = {
|
|
|
3681
3681
|
emits: ["onClickRow", "refresh", "load", "operate"],
|
|
3682
3682
|
setup(w, { expose: D, emit: W }) {
|
|
3683
3683
|
const j = y1({
|
|
3684
|
-
loader: () => import("./index-
|
|
3684
|
+
loader: () => import("./index-6789c178.js"),
|
|
3685
3685
|
loadingComponent: x3,
|
|
3686
3686
|
delay: 20
|
|
3687
3687
|
}), q = y1({
|
|
3688
|
-
loader: () => import("./index-
|
|
3688
|
+
loader: () => import("./index-f0b70454.js"),
|
|
3689
3689
|
loadingComponent: x3,
|
|
3690
3690
|
delay: 20
|
|
3691
3691
|
}), te = y1({
|
|
3692
3692
|
loader: () => Promise.resolve().then(() => ute),
|
|
3693
3693
|
loadingComponent: x3,
|
|
3694
3694
|
delay: 20
|
|
3695
|
-
}), oe = y1(() => import("./index-
|
|
3695
|
+
}), oe = y1(() => import("./index-9e047760.js")), Y = y1(() => import("./index-5a545acc.js")), { t: me } = BT(), Ge = _1("actModules"), lt = _1("request"), bt = _1("themeColor"), Fe = N$(), et = GY(), nt = W, Ye = w, Me = () => ({
|
|
3696
3696
|
pageLoading: !1,
|
|
3697
3697
|
tableLoading: !1,
|
|
3698
3698
|
tableTotal: 0,
|
|
@@ -3707,8 +3707,8 @@ const Pee = {
|
|
|
3707
3707
|
editorDialogTitle: "",
|
|
3708
3708
|
dialogData: {}
|
|
3709
3709
|
});
|
|
3710
|
-
let Se = nS(Me()), re =
|
|
3711
|
-
const ye =
|
|
3710
|
+
let Se = nS(Me()), re = ir("loading"), U = ir([]), be = {}, it = [], He = ir([]), B = ir([]), vt = ir([]), St = ir([]), Bt = ir([]), We = ir({});
|
|
3711
|
+
const ye = ir(null), Vn = ir(null), ze = ir(null), xe = ir(null), S = ir(0), gt = (at) => lt({ url: "/api/v1/sysOperate/getMenuOfOperateByRole", method: "post", data: at }), Xe = (at) => lt({ url: `/api/v1/pages/getPageDetail?key=${at}`, method: "get" }), gn = () => {
|
|
3712
3712
|
Se = nS(Me()), re.value = "loading", U.value = [], be = {}, it = [], He.value = [], B.value = [], vt.value = [], St.value = [], Bt.value = [];
|
|
3713
3713
|
}, jt = () => {
|
|
3714
3714
|
sS(() => {
|
|
@@ -4309,7 +4309,7 @@ const Pee = {
|
|
|
4309
4309
|
]);
|
|
4310
4310
|
};
|
|
4311
4311
|
}
|
|
4312
|
-
}, Hee = /* @__PURE__ */ k1($ee, [["__scopeId", "data-v-
|
|
4312
|
+
}, Hee = /* @__PURE__ */ k1($ee, [["__scopeId", "data-v-2d0c2149"]]), Yte = [
|
|
4313
4313
|
{ key: "按钮形式", value: "default" },
|
|
4314
4314
|
{ key: "文字形式", value: "text" }
|
|
4315
4315
|
], Qte = [
|
|
@@ -4419,7 +4419,7 @@ const Pee = {
|
|
|
4419
4419
|
formLabelWidth: 120,
|
|
4420
4420
|
formLabelPosition: "top"
|
|
4421
4421
|
});
|
|
4422
|
-
let te =
|
|
4422
|
+
let te = ir(null), oe = ir(q());
|
|
4423
4423
|
return Od(
|
|
4424
4424
|
() => j.modelValue,
|
|
4425
4425
|
(Y, me) => {
|
|
@@ -4551,7 +4551,7 @@ const qee = {
|
|
|
4551
4551
|
tableQueryLabelWidth: 100,
|
|
4552
4552
|
tableQueryRowWidth: 5
|
|
4553
4553
|
}), te = _1("conditionList")();
|
|
4554
|
-
let oe =
|
|
4554
|
+
let oe = ir(null), Y = ir(q());
|
|
4555
4555
|
Od(
|
|
4556
4556
|
() => j.modelValue,
|
|
4557
4557
|
(bt, Fe) => {
|
|
@@ -4943,7 +4943,7 @@ const Kee = {
|
|
|
4943
4943
|
},
|
|
4944
4944
|
emits: ["update:modelValue"],
|
|
4945
4945
|
setup(w, { expose: D, emit: W }) {
|
|
4946
|
-
const j = N$(), q = _1("request"), te = y1(() => import("./dialogConfigBtn-
|
|
4946
|
+
const j = N$(), q = _1("request"), te = y1(() => import("./dialogConfigBtn-b6625b2d.js")), oe = w, Y = () => ({
|
|
4947
4947
|
sort: 0,
|
|
4948
4948
|
permissionCode: null,
|
|
4949
4949
|
requestUrl: "",
|
|
@@ -4968,7 +4968,7 @@ const Kee = {
|
|
|
4968
4968
|
tableLoading: !1,
|
|
4969
4969
|
showConfigBtnDialog: !1,
|
|
4970
4970
|
dialogData: {}
|
|
4971
|
-
}))()), lt =
|
|
4971
|
+
}))()), lt = ir(null), bt = 0, Fe = ir([]), et = ir([]), nt = [
|
|
4972
4972
|
{ prop: "checkbox", width: 60 },
|
|
4973
4973
|
{ prop: "serialNumber", width: 80 },
|
|
4974
4974
|
{ label: "按钮名称", prop: "btnName", minWidth: 200 },
|
|
@@ -4978,7 +4978,7 @@ const Kee = {
|
|
|
4978
4978
|
{ label: "是否自定义", prop: "isCustomBtn", width: 120, render: !0 },
|
|
4979
4979
|
{ label: "排序", prop: "sort", width: 180, render: !0 },
|
|
4980
4980
|
{ label: "操作", prop: "operate", width: 120, render: !0, fixed: "right" }
|
|
4981
|
-
], Ye =
|
|
4981
|
+
], Ye = ir([]);
|
|
4982
4982
|
const Me = (He) => q({ url: "/api/v1/sysMenus/getAllList", method: "post", data: He }), Se = (He) => q({ url: "/api/v1/sysMenus/getMenuOfOperate", method: "get", params: He }), re = (He, B) => {
|
|
4983
4983
|
et.value.includes(He.permissionCode) || et.value.push(He.permissionCode), Object.assign(Ye.value[bt], He), B(!0);
|
|
4984
4984
|
}, U = async (He) => {
|
|
@@ -4998,7 +4998,7 @@ const Kee = {
|
|
|
4998
4998
|
async (He, B) => {
|
|
4999
4999
|
try {
|
|
5000
5000
|
const vt = oe.id ? oe.id : j.params.id;
|
|
5001
|
-
Fe = (await Me({ dynamicFilters: [{ field: "parentId", operate: "Equal", value: vt }] })).data || [], await U(He);
|
|
5001
|
+
Fe.value = (await Me({ dynamicFilters: [{ field: "parentId", operate: "Equal", value: vt }] })).data || [], await U(He);
|
|
5002
5002
|
} catch (vt) {
|
|
5003
5003
|
Ge.tableLoading = !1, console.error(vt);
|
|
5004
5004
|
}
|
|
@@ -5078,7 +5078,7 @@ const Kee = {
|
|
|
5078
5078
|
});
|
|
5079
5079
|
};
|
|
5080
5080
|
}
|
|
5081
|
-
}, Yee = /* @__PURE__ */ k1(Kee, [["__scopeId", "data-v-
|
|
5081
|
+
}, Yee = /* @__PURE__ */ k1(Kee, [["__scopeId", "data-v-ca7d3608"]]);
|
|
5082
5082
|
const Qee = { class: "card-header" }, Xee = {
|
|
5083
5083
|
__name: "configFileds",
|
|
5084
5084
|
props: {
|
|
@@ -5086,7 +5086,7 @@ const Qee = { class: "card-header" }, Xee = {
|
|
|
5086
5086
|
},
|
|
5087
5087
|
emits: ["update:modelValue"],
|
|
5088
5088
|
setup(w, { emit: D }) {
|
|
5089
|
-
const W = y1(() => import("./dialogAddField-
|
|
5089
|
+
const W = y1(() => import("./dialogAddField-3e7ab338.js")), j = D, q = w;
|
|
5090
5090
|
_1("configData")();
|
|
5091
5091
|
let oe = nS((() => ({
|
|
5092
5092
|
tableLoading: !1,
|
|
@@ -5103,7 +5103,7 @@ const Qee = { class: "card-header" }, Xee = {
|
|
|
5103
5103
|
// { label: '场景自定义', prop: 'formCustomComponentes', width: 200, render: true },
|
|
5104
5104
|
{ label: "排序", prop: "sort", width: 200, render: !0 },
|
|
5105
5105
|
{ label: "操作", prop: "operate", width: 170, render: !0, fixed: "right" }
|
|
5106
|
-
], Ge =
|
|
5106
|
+
], Ge = ir([]);
|
|
5107
5107
|
jee[0].options.map((U) => ({ btnName: U.key, permissionCode: U.value }));
|
|
5108
5108
|
const lt = (U) => {
|
|
5109
5109
|
if (!Reflect.has(U, "fieldType"))
|
|
@@ -5280,7 +5280,7 @@ const ete = { class: "dialog-footer" }, tte = {
|
|
|
5280
5280
|
let me = nS((() => ({
|
|
5281
5281
|
loading: !1,
|
|
5282
5282
|
btnLoading: !1
|
|
5283
|
-
}))()), Ge =
|
|
5283
|
+
}))()), Ge = ir([]), lt = ir(null), bt = ir(oe());
|
|
5284
5284
|
const Fe = (re) => j({ url: "/api/v1/scripts/getAllDatabaseTable", method: "get", data: re }), et = async () => {
|
|
5285
5285
|
try {
|
|
5286
5286
|
me.loading = !0;
|
|
@@ -5449,7 +5449,7 @@ const ote = { class: "page-container" }, ste = { class: "submit-box" }, rte = {
|
|
|
5449
5449
|
},
|
|
5450
5450
|
setup(w) {
|
|
5451
5451
|
const D = N$(), W = GY(), j = _1("request"), q = w;
|
|
5452
|
-
let te = q.id ?? void 0, oe = q.pageKey ? q.pageKey : D.params.key, Y =
|
|
5452
|
+
let te = q.id ?? void 0, oe = q.pageKey ? q.pageKey : D.params.key, Y = ir([]), me = ir(), Ge = ir([]), lt = ir({}), bt = ir(null), Fe = ir(null), et = ir(null), nt = ir({}), Ye = ir({}), Me = ir([]), Se = ir([]), re = nS({
|
|
5453
5453
|
pageLoading: !1,
|
|
5454
5454
|
saveBtnLoading: !1,
|
|
5455
5455
|
showDialogInitConfig: !1
|
|
@@ -5469,7 +5469,7 @@ const ote = { class: "page-container" }, ste = { class: "submit-box" }, rte = {
|
|
|
5469
5469
|
}, St = () => {
|
|
5470
5470
|
nt.value = {}, Ye.value = {}, Me.value = [], Se.value = [], vt();
|
|
5471
5471
|
};
|
|
5472
|
-
mu("conditionList", () => Ge), mu("pageKey", () =>
|
|
5472
|
+
mu("conditionList", () => Ge), mu("pageKey", () => ir(oe)), mu("configData", () => lt), R3(async () => {
|
|
5473
5473
|
try {
|
|
5474
5474
|
re.pageLoading = !0, await B(), me.value = D.params.id, Ge.value = (await He("Condition")).data || [], await vt(), re.pageLoading = !1;
|
|
5475
5475
|
} catch (xe) {
|
|
@@ -5665,7 +5665,7 @@ const lte = { class: "act-table" }, ite = {
|
|
|
5665
5665
|
emits: ["update:tableQuery", "update:selection", "refresh", "onRowClick"],
|
|
5666
5666
|
setup(w, { expose: D, emit: W }) {
|
|
5667
5667
|
const { t: j } = BT(), q = W, te = w;
|
|
5668
|
-
let oe =
|
|
5668
|
+
let oe = ir(null);
|
|
5669
5669
|
const Y = (Ye) => te.showPagination ? Ye + 1 + (te.tableQuery.pageIndex - 1) * te.tableQuery.pageSize : Ye + 1, me = (Ye) => {
|
|
5670
5670
|
sS(() => {
|
|
5671
5671
|
te.data.forEach((Me) => {
|
|
@@ -5801,7 +5801,7 @@ const lte = { class: "act-table" }, ite = {
|
|
|
5801
5801
|
emits: ["update:modelValue", "blur"],
|
|
5802
5802
|
setup(w, { emit: D }) {
|
|
5803
5803
|
const W = D, j = w;
|
|
5804
|
-
let q = null, te =
|
|
5804
|
+
let q = null, te = ir(null);
|
|
5805
5805
|
const oe = Pb(() => ({
|
|
5806
5806
|
width: typeof j.width == "string" ? j.width : j.width + "px",
|
|
5807
5807
|
height: typeof j.height == "string" ? j.height : j.height + "px"
|
|
@@ -6544,14 +6544,14 @@ var SQ = { exports: {} };
|
|
|
6544
6544
|
for (let r = 0; r < e.length; r++)
|
|
6545
6545
|
e[r].each(o);
|
|
6546
6546
|
return n;
|
|
6547
|
-
}, Xo = (e, n, o) => e.isSome() && n.isSome() ? H.some(o(e.getOrDie(), n.getOrDie())) : H.none(), kc = (e, n, o, r) => e.isSome() && n.isSome() && o.isSome() ? H.some(r(e.getOrDie(), n.getOrDie(), o.getOrDie())) : H.none(), Qr = (e, n) => e ? H.some(n) : H.none(), pu = typeof window < "u" ? window : Function("return this;")(),
|
|
6547
|
+
}, Xo = (e, n, o) => e.isSome() && n.isSome() ? H.some(o(e.getOrDie(), n.getOrDie())) : H.none(), kc = (e, n, o, r) => e.isSome() && n.isSome() && o.isSome() ? H.some(r(e.getOrDie(), n.getOrDie(), o.getOrDie())) : H.none(), Qr = (e, n) => e ? H.some(n) : H.none(), pu = typeof window < "u" ? window : Function("return this;")(), ur = (e, n) => {
|
|
6548
6548
|
let o = n ?? pu;
|
|
6549
6549
|
for (let r = 0; r < e.length && o !== void 0 && o !== null; ++r)
|
|
6550
6550
|
o = o[e[r]];
|
|
6551
6551
|
return o;
|
|
6552
6552
|
}, oi = (e, n) => {
|
|
6553
6553
|
const o = e.split(".");
|
|
6554
|
-
return
|
|
6554
|
+
return ur(o, n);
|
|
6555
6555
|
}, hf = (e, n) => oi(e, n), Um = (e, n) => {
|
|
6556
6556
|
const o = hf(e, n);
|
|
6557
6557
|
if (o == null)
|
|
@@ -6565,7 +6565,7 @@ var SQ = { exports: {} };
|
|
|
6565
6565
|
e.setAttribute(n, o + "");
|
|
6566
6566
|
else
|
|
6567
6567
|
throw console.error("Invalid call to Attribute.set. Key ", n, ":: Value ", o, ":: Element ", e), new Error("Attribute value was not simple");
|
|
6568
|
-
},
|
|
6568
|
+
}, dr = (e, n, o) => {
|
|
6569
6569
|
Cc(e.dom, n, o);
|
|
6570
6570
|
}, Nc = (e, n) => {
|
|
6571
6571
|
const o = e.dom;
|
|
@@ -6588,10 +6588,10 @@ var SQ = { exports: {} };
|
|
|
6588
6588
|
return o === void 0 || o === "" ? [] : o.split(" ");
|
|
6589
6589
|
}, Xf = (e, n, o) => {
|
|
6590
6590
|
const c = Wu(e, n).concat([o]);
|
|
6591
|
-
return
|
|
6591
|
+
return dr(e, n, c.join(" ")), !0;
|
|
6592
6592
|
}, ju = (e, n, o) => {
|
|
6593
6593
|
const r = ue(Wu(e, n), (c) => c !== o);
|
|
6594
|
-
return r.length > 0 ?
|
|
6594
|
+
return r.length > 0 ? dr(e, n, r.join(" ")) : kr(e, n), !1;
|
|
6595
6595
|
}, si = (e) => e.dom.classList !== void 0, Jf = (e) => Wu(e, "class"), wa = (e, n) => Xf(e, "class", n), em = (e, n) => ju(e, "class", n), ep = (e, n) => ie(Jf(e), n) ? em(e, n) : wa(e, n), Ui = (e, n) => {
|
|
6596
6596
|
si(e) ? e.dom.classList.add(n) : wa(e, n);
|
|
6597
6597
|
}, tp = (e) => {
|
|
@@ -7206,7 +7206,7 @@ var SQ = { exports: {} };
|
|
|
7206
7206
|
rel: "stylesheet",
|
|
7207
7207
|
type: "text/css",
|
|
7208
7208
|
id: Sn.id
|
|
7209
|
-
}), n.contentCssCors &&
|
|
7209
|
+
}), n.contentCssCors && dr(en, "crossOrigin", "anonymous"), n.referrerPolicy && dr(en, "referrerpolicy", n.referrerPolicy), Tt = en.dom, Tt.onload = Ht, Tt.onerror = Rt, _(en), dr(en, "href", tn);
|
|
7210
7210
|
}), V = (Be, st) => {
|
|
7211
7211
|
const Je = M(Be);
|
|
7212
7212
|
r[Be] = Je, Je.count++;
|
|
@@ -8037,7 +8037,7 @@ var SQ = { exports: {} };
|
|
|
8037
8037
|
}
|
|
8038
8038
|
ag.Event = new ag();
|
|
8039
8039
|
const x_ = nn.each, hS = nn.grep, E_ = "data-mce-style", bS = nn.makeMap("fill-opacity font-weight line-height opacity orphans widows z-index zoom", " "), Dl = (e, n, o) => {
|
|
8040
|
-
Bt(o) || o === "" ? kr(e, n) :
|
|
8040
|
+
Bt(o) || o === "" ? kr(e, n) : dr(e, n, o);
|
|
8041
8041
|
}, Ti = (e) => e.replace(/[A-Z]/g, (n) => "-" + n.toLowerCase()), yn = (e, n) => {
|
|
8042
8042
|
let o = 0;
|
|
8043
8043
|
if (e)
|
|
@@ -8700,7 +8700,7 @@ var SQ = { exports: {} };
|
|
|
8700
8700
|
});
|
|
8701
8701
|
}, _ = (F, V) => {
|
|
8702
8702
|
Q(I1(e, F), (ce) => {
|
|
8703
|
-
V ?
|
|
8703
|
+
V ? dr(ce, Cp(), "true") : kr(ce, Cp());
|
|
8704
8704
|
});
|
|
8705
8705
|
}, A = cg(() => {
|
|
8706
8706
|
const F = Gn(n.getNames());
|
|
@@ -8893,7 +8893,7 @@ var SQ = { exports: {} };
|
|
|
8893
8893
|
n.length === o.length && Q(o, hr);
|
|
8894
8894
|
}, Ap = () => {
|
|
8895
8895
|
const e = Ie.fromTag("br");
|
|
8896
|
-
return
|
|
8896
|
+
return dr(e, "data-mce-bogus", "1"), e;
|
|
8897
8897
|
}, Du = (e) => {
|
|
8898
8898
|
Md(e), ra(e, Ap());
|
|
8899
8899
|
}, L1 = (e, n) => {
|
|
@@ -10067,7 +10067,7 @@ Required: ` + n.join(", "));
|
|
|
10067
10067
|
default: ev.getAttrib(e.getElement(), "placeholder")
|
|
10068
10068
|
});
|
|
10069
10069
|
});
|
|
10070
|
-
}, GS = Yn("iframe_attrs"), pA = Yn("doctype"), Gc = Yn("document_base_url"), hA = Yn("body_id"), wg = Yn("body_class"), ik = Yn("content_security_policy"), KS = Yn("br_in_pre"), sl = Yn("forced_root_block"), Cg = Yn("forced_root_block_attrs"), wm = Yn("newline_behavior"), YS = Yn("br_newline_selector"), bA = Yn("no_newline_selector"), yA = Yn("keep_styles"), fc = Yn("end_container_on_empty_block"), Ra = Yn("automatic_uploads"),
|
|
10070
|
+
}, GS = Yn("iframe_attrs"), pA = Yn("doctype"), Gc = Yn("document_base_url"), hA = Yn("body_id"), wg = Yn("body_class"), ik = Yn("content_security_policy"), KS = Yn("br_in_pre"), sl = Yn("forced_root_block"), Cg = Yn("forced_root_block_attrs"), wm = Yn("newline_behavior"), YS = Yn("br_newline_selector"), bA = Yn("no_newline_selector"), yA = Yn("keep_styles"), fc = Yn("end_container_on_empty_block"), Ra = Yn("automatic_uploads"), fr = Yn("images_reuse_filename"), rl = Yn("images_replace_blob_uris"), mc = Yn("icons"), gc = Yn("icons_url"), nv = Yn("images_upload_url"), ov = Yn("images_upload_base_path"), QS = Yn("images_upload_credentials"), XS = Yn("images_upload_handler"), JS = Yn("content_css_cors"), sv = Yn("referrer_policy"), Sg = Yn("language"), rv = Yn("language_url"), vA = Yn("indent_use_margin"), Fh = Yn("indentation"), _A = Yn("content_css"), kA = Yn("content_style"), gi = Yn("font_css"), M3 = Yn("directionality"), e2 = Yn("inline_boundaries_selector"), Yi = Yn("object_resizing"), av = Yn("resize_img_proportional"), ry = Yn("placeholder"), qd = Yn("event_root"), ql = Yn("service_message"), xg = Yn("theme"), uk = Yn("theme_url"), cv = Yn("model"), t2 = Yn("model_url"), Cm = Yn("inline_boundaries"), n2 = Yn("formats"), dk = Yn("preview_styles"), o2 = Yn("format_empty_lines"), ay = Yn("format_noneditable_selector"), cy = Yn("custom_ui_selector"), ly = Yn("inline"), wA = Yn("hidden_input"), lv = Yn("submit_patch"), CA = Yn("add_form_submit_trigger"), s2 = Yn("add_unload_trigger"), SA = Yn("custom_undo_redo_levels"), iv = Yn("disable_nodechange"), r2 = Yn("readonly"), xA = Yn("editable_root"), fk = Yn("content_css_cors"), uv = Yn("plugins"), EA = Yn("external_plugins"), a2 = Yn("block_unsupported_drop"), Gl = Yn("visual"), mk = Yn("visual_table_class"), gk = Yn("visual_anchor_class"), pk = Yn("iframe_aria_text"), dv = Yn("setup"), TA = Yn("init_instance_callback"), fv = Yn("urlconverter_callback"), c2 = Yn("auto_focus"), hk = Yn("browser_spellcheck"), bk = Yn("protect"), l2 = Yn("paste_block_drop"), Bh = Yn("paste_data_images"), i2 = Yn("paste_preprocess"), u2 = Yn("paste_postprocess"), d2 = Yn("newdocument_content"), AA = Yn("paste_webkit_styles"), f2 = Yn("paste_remove_styles_if_webkit"), m2 = Yn("paste_merge_formats"), OA = Yn("smart_paste"), mv = Yn("paste_as_text"), g2 = Yn("paste_tab_spaces"), Lh = Yn("allow_html_data_urls"), p2 = Yn("text_patterns"), yk = Yn("text_patterns_lookup"), h2 = Yn("noneditable_class"), DA = Yn("editable_class"), ld = Yn("noneditable_regexp"), gv = Yn("preserve_cdata"), pv = Yn("highlight_on_focus"), al = Yn("xss_sanitization"), P3 = Yn("init_content_sync"), Qi = (e) => e.options.isSet("text_patterns_lookup"), vk = (e) => nn.explode(e.options.get("font_size_style_values")), NA = (e) => nn.explode(e.options.get("font_size_classes")), Eg = (e) => e.options.get("encoding") === "xml", iy = (e) => nn.explode(e.options.get("images_file_types")), RA = Yn("table_tab_navigation"), b2 = Yn("details_initial_state"), _k = Yn("details_serialized_state"), y2 = Yn("sandbox_iframes"), hv = (e) => e.options.get("sandbox_iframes_exclusions"), uy = Yn("convert_unsafe_embeds"), v2 = Yn("license_key"), _2 = Yn("api_key"), zA = Fn, bv = un, yv = (e) => {
|
|
10071
10071
|
const n = e.parentNode;
|
|
10072
10072
|
n && n.removeChild(e);
|
|
10073
10073
|
}, IA = (e) => {
|
|
@@ -10725,12 +10725,12 @@ Required: ` + n.join(", "));
|
|
|
10725
10725
|
n.setStart(o.startContainer, o.startOffset), n.setEnd(o.endContainer, o.endOffset), e.selection.setRng(n);
|
|
10726
10726
|
}, Wp = (e, n, o, r, c, u) => {
|
|
10727
10727
|
const { uid: m = n, ...b } = o;
|
|
10728
|
-
Ui(e, Oh()),
|
|
10728
|
+
Ui(e, Oh()), dr(e, `${Dh()}`, m), dr(e, `${Nf()}`, r);
|
|
10729
10729
|
const { attributes: _ = {}, classes: A = [] } = c(m, b);
|
|
10730
10730
|
if (Nc(e, _), z3(e, A), u) {
|
|
10731
|
-
A.length > 0 &&
|
|
10731
|
+
A.length > 0 && dr(e, `${lg()}`, A.join(","));
|
|
10732
10732
|
const M = an(_);
|
|
10733
|
-
M.length > 0 &&
|
|
10733
|
+
M.length > 0 && dr(e, `${Rf()}`, M.join(","));
|
|
10734
10734
|
}
|
|
10735
10735
|
}, qk = (e) => {
|
|
10736
10736
|
Zu(e, Oh()), kr(e, `${Dh()}`), kr(e, `${Nf()}`), kr(e, `${Cp()}`);
|
|
@@ -11380,12 +11380,12 @@ Required: ` + n.join(", "));
|
|
|
11380
11380
|
})("height", (e) => {
|
|
11381
11381
|
const n = e.dom;
|
|
11382
11382
|
return Nd(e) ? n.getBoundingClientRect().height : n.offsetHeight;
|
|
11383
|
-
}), po = (e) => Ho.get(e), ca = () => Ie.fromDom(document),
|
|
11384
|
-
const c = e.owner(r), u =
|
|
11383
|
+
}), po = (e) => Ho.get(e), ca = () => Ie.fromDom(document), mr = (e, n) => e.view(n).fold(Xe([]), (r) => {
|
|
11384
|
+
const c = e.owner(r), u = mr(e, c);
|
|
11385
11385
|
return [r].concat(u);
|
|
11386
11386
|
}), za = (e, n) => {
|
|
11387
11387
|
const o = n.owner(e);
|
|
11388
|
-
return
|
|
11388
|
+
return mr(n, o);
|
|
11389
11389
|
};
|
|
11390
11390
|
var Zp = /* @__PURE__ */ Object.freeze({
|
|
11391
11391
|
__proto__: null,
|
|
@@ -11894,7 +11894,7 @@ Required: ` + n.join(", "));
|
|
|
11894
11894
|
return n.replace(r, "");
|
|
11895
11895
|
}, a8 = (e, n) => {
|
|
11896
11896
|
const o = e.getDoc(), r = wi(Ie.fromDom(e.getBody())), c = Ie.fromTag("div", o);
|
|
11897
|
-
|
|
11897
|
+
dr(c, "data-mce-bogus", "all"), es(c, {
|
|
11898
11898
|
position: "fixed",
|
|
11899
11899
|
left: "-9999999px",
|
|
11900
11900
|
top: "0"
|
|
@@ -12359,7 +12359,7 @@ Required: ` + n.join(", "));
|
|
|
12359
12359
|
r ? (c.setStart(o.startContainer, o.startOffset), c.setEndAfter(n.dom.lastChild)) : (c.setStartBefore(n.dom.firstChild), c.setEnd(o.endContainer, o.endOffset)), xx(e, c, n, !1).each((u) => u());
|
|
12360
12360
|
}, VO = (e) => {
|
|
12361
12361
|
const n = Kh(e), o = Ie.fromDom(e.selection.getNode());
|
|
12362
|
-
pp(o.dom) && Nr(e.schema, o) ? e.selection.setCursorLocation(o.dom, 0) : e.selection.collapse(!0), n.length > 1 && pe(n, (r) => ls(r, o)) &&
|
|
12362
|
+
pp(o.dom) && Nr(e.schema, o) ? e.selection.setCursorLocation(o.dom, 0) : e.selection.collapse(!0), n.length > 1 && pe(n, (r) => ls(r, o)) && dr(o, "data-mce-selected", "1");
|
|
12363
12363
|
}, UO = (e, n, o) => H.some(() => {
|
|
12364
12364
|
const r = e.selection.getRng(), c = o.bind(({ rng: u, isStartInTable: m }) => {
|
|
12365
12365
|
const b = gI(e, m ? u.endContainer : u.startContainer);
|
|
@@ -15065,9 +15065,9 @@ Required: ` + n.join(", "));
|
|
|
15065
15065
|
We(c) && (c.allowedTags[F] = !0);
|
|
15066
15066
|
if (A && fe && !ce) {
|
|
15067
15067
|
if (Q((b = fe.attributesForced) !== null && b !== void 0 ? b : [], (Ce) => {
|
|
15068
|
-
|
|
15068
|
+
dr(V, Ce.name, Ce.value === "{$uid}" ? `mce_${gM++}` : Ce.value);
|
|
15069
15069
|
}), Q((_ = fe.attributesDefault) !== null && _ !== void 0 ? _ : [], (Ce) => {
|
|
15070
|
-
Lr(V, Ce.name) ||
|
|
15070
|
+
Lr(V, Ce.name) || dr(V, Ce.name, Ce.value === "{$uid}" ? `mce_${gM++}` : Ce.value);
|
|
15071
15071
|
}), fe.attributesRequired && !pe(fe.attributesRequired, (Ce) => Lr(V, Ce))) {
|
|
15072
15072
|
ai(V);
|
|
15073
15073
|
return;
|
|
@@ -16464,7 +16464,7 @@ Options:${m}${o.join(m)}` : "";
|
|
|
16464
16464
|
}, Im = (e) => /^[a-z0-9\-]+$/i.test(e), Gw = (e) => "content/" + e + "/content.css", yH = (e) => tinymce.Resource.has(Gw(e)), vH = (e) => _P(e, _A(e)), _H = (e) => _P(e, gi(e)), _P = (e, n) => {
|
|
16465
16465
|
const o = e.editorManager.baseURL + "/skins/content", c = `content${e.editorManager.suffix}.css`;
|
|
16466
16466
|
return Oe(n, (u) => yH(u) ? u : Im(u) && !e.inline ? `${o}/${u}/${c}` : e.documentBaseURI.toAbsolute(u));
|
|
16467
|
-
},
|
|
16467
|
+
}, gr = (e) => {
|
|
16468
16468
|
e.contentCSS = e.contentCSS.concat(vH(e), _H(e));
|
|
16469
16469
|
}, kH = (e) => e ? Yt(e.getElementsByTagName("img")) : [], Kw = (e, n) => {
|
|
16470
16470
|
const o = {};
|
|
@@ -16675,7 +16675,7 @@ Options:${m}${o.join(m)}` : "";
|
|
|
16675
16675
|
}, F = (Je, Tt) => {
|
|
16676
16676
|
const tn = e.convertURL(Tt, "src");
|
|
16677
16677
|
M(Je.src, Tt), Nc(Ie.fromDom(Je), {
|
|
16678
|
-
src:
|
|
16678
|
+
src: fr(e) ? b(Tt) : Tt,
|
|
16679
16679
|
"data-mce-src": tn
|
|
16680
16680
|
});
|
|
16681
16681
|
}, V = () => (o || (o = nh(e, c)), Ce().then(m((Je) => {
|
|
@@ -20092,7 +20092,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
|
|
|
20092
20092
|
const o = n.match(/([\s\S]+?)(?:\.[a-z0-9.]+)$/i);
|
|
20093
20093
|
return We(o) ? e.dom.encode(o[1]) : void 0;
|
|
20094
20094
|
}, DL = (e, n, o, r) => {
|
|
20095
|
-
const c = LW(), u =
|
|
20095
|
+
const c = LW(), u = fr(e) && We(o.name), m = u ? $W(e, o.name) : c, b = u ? o.name : void 0, _ = n.create(c, o, r, m, b);
|
|
20096
20096
|
return n.add(_), _;
|
|
20097
20097
|
}, xR = (e, n) => {
|
|
20098
20098
|
db(n.uri).each(({ data: o, type: r, base64Encoded: c }) => {
|
|
@@ -20736,7 +20736,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
|
|
|
20736
20736
|
}, Be = (Wn, Ht) => {
|
|
20737
20737
|
const Rt = Ie.fromDom(e.getBody()), en = e.getDoc(), eo = mo(Rt, "#" + u).getOrThunk(() => {
|
|
20738
20738
|
const Cs = Ie.fromHtml('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>', en);
|
|
20739
|
-
return
|
|
20739
|
+
return dr(Cs, "id", u), ra(Rt, Cs), Cs;
|
|
20740
20740
|
}), vo = o.createRng();
|
|
20741
20741
|
Md(eo), Qu(eo, [
|
|
20742
20742
|
Ie.fromText(qa, en),
|
|
@@ -21323,7 +21323,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
|
|
|
21323
21323
|
!U(_2(e)) && (St(n) || x5(n) === "INVALID") && console.warn("TinyMCE is running in evaluation mode. Provide a valid license key or add license_key: 'gpl' to the init config to agree to the open source license terms. Read more at https://www.tiny.cloud/license-key/");
|
|
21324
21324
|
}, UR = Yr.DOM, E5 = (e, n) => {
|
|
21325
21325
|
const o = Ie.fromDom(e.getBody()), r = rm(wi(o)), c = Ie.fromTag("style");
|
|
21326
|
-
|
|
21326
|
+
dr(c, "type", "text/css"), ra(c, Ie.fromText(n)), ra(r, c), e.on("remove", () => {
|
|
21327
21327
|
hr(c);
|
|
21328
21328
|
});
|
|
21329
21329
|
}, fZ = (e) => e.inline ? e.getElement().nodeName.toLowerCase() : void 0, WR = (e) => uo(e, (n) => St(n) === !1), T5 = (e) => {
|
|
@@ -21533,7 +21533,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
|
|
|
21533
21533
|
});
|
|
21534
21534
|
}, GR = _t, R5 = (e, n, o) => E(e, n, GR, o), pT = Yr.DOM, _Z = (e, n, o, r) => {
|
|
21535
21535
|
const c = Ie.fromTag("iframe");
|
|
21536
|
-
return r.each((u) =>
|
|
21536
|
+
return r.each((u) => dr(c, "tabindex", u)), Nc(c, o), Nc(c, {
|
|
21537
21537
|
id: e + "_ifr",
|
|
21538
21538
|
frameBorder: "0",
|
|
21539
21539
|
allowTransparency: "true",
|
|
@@ -21634,7 +21634,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
|
|
|
21634
21634
|
}, vT = async (e) => {
|
|
21635
21635
|
e.dispatch("ScriptsLoaded"), bT(e), lh(e), yT(e), hT(e);
|
|
21636
21636
|
const n = await xZ(e);
|
|
21637
|
-
QR(e, H.from(n.api).getOr({})), e.editorContainer = n.editorContainer,
|
|
21637
|
+
QR(e, H.from(n.api).getOr({})), e.editorContainer = n.editorContainer, gr(e), e.inline ? qR(e) : I5(e, {
|
|
21638
21638
|
editorContainer: n.editorContainer,
|
|
21639
21639
|
iframeContainer: n.iframeContainer
|
|
21640
21640
|
});
|
|
@@ -22171,7 +22171,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
|
|
|
22171
22171
|
e.dom.contentEditable = n ? "true" : "false";
|
|
22172
22172
|
}, c3 = (e) => {
|
|
22173
22173
|
Q(Zc(e, '*[contenteditable="true"]'), (n) => {
|
|
22174
|
-
|
|
22174
|
+
dr(n, l1, "true"), ZC(n, !1);
|
|
22175
22175
|
});
|
|
22176
22176
|
}, gq = (e) => {
|
|
22177
22177
|
Q(Zc(e, `*[${l1}="true"]`), (n) => {
|
|
@@ -23441,7 +23441,7 @@ var mte = [
|
|
|
23441
23441
|
}, fG = { selector: void 0, target: void 0 }, Tte = lS({
|
|
23442
23442
|
props: Ste,
|
|
23443
23443
|
setup: function(w, D) {
|
|
23444
|
-
var W = w.init ? Mb(Mb({}, w.init), fG) : Mb({}, fG), j = ZQ(w), q = j.disabled, te = j.modelValue, oe = j.tagName, Y =
|
|
23444
|
+
var W = w.init ? Mb(Mb({}, w.init), fG) : Mb({}, fG), j = ZQ(w), q = j.disabled, te = j.modelValue, oe = j.tagName, Y = ir(null), me = null, Ge = w.id || xQ("tiny-vue"), lt = w.init && w.init.inline || w.inline, bt = !!D.attrs["onUpdate:modelValue"], Fe = !0, et = w.initialValue ? w.initialValue : "", nt = "", Ye = function(re) {
|
|
23445
23445
|
return bt ? function() {
|
|
23446
23446
|
return te != null && te.value ? te.value : "";
|
|
23447
23447
|
} : function() {
|
|
@@ -24196,7 +24196,7 @@ tinymce.IconManager.add("default", {
|
|
|
24196
24196
|
return ye.none();
|
|
24197
24197
|
};
|
|
24198
24198
|
return h(i.dom);
|
|
24199
|
-
}, _c = (i, f, h) => Is(i, (y) => oa(y, f), h), Xo = (i, f) => Ws(i, (h) => oa(h, f)), kc = (i, f) => sn(f, i), Qr = (i, f, h) => $s((T, z) => oa(T, z), _c, i, f, h), pu = (i, f, h = it) => i.exists((y) => h(y, f)),
|
|
24199
|
+
}, _c = (i, f, h) => Is(i, (y) => oa(y, f), h), Xo = (i, f) => Ws(i, (h) => oa(h, f)), kc = (i, f) => sn(f, i), Qr = (i, f, h) => $s((T, z) => oa(T, z), _c, i, f, h), pu = (i, f, h = it) => i.exists((y) => h(y, f)), ur = (i) => {
|
|
24200
24200
|
const f = [], h = (y) => {
|
|
24201
24201
|
f.push(y);
|
|
24202
24202
|
};
|
|
@@ -24235,7 +24235,7 @@ tinymce.IconManager.add("default", {
|
|
|
24235
24235
|
}, Cc = (i, f) => {
|
|
24236
24236
|
const h = i.dom, y = f.dom;
|
|
24237
24237
|
ht(h) && ht(y) && (y.style.cssText = h.style.cssText);
|
|
24238
|
-
},
|
|
24238
|
+
}, dr = (i, f, h = 0) => yr(i, f).map((y) => parseInt(y, 10)).getOr(h), Nc = (i, f) => dr(i, f, 1), lc = (i) => Bn("col")(i) ? dr(i, "span", 1) > 1 : Nc(i, "colspan") > 1, Xr = (i) => Nc(i, "rowspan") > 1, Lr = (i, f) => parseInt(ar(i, f), 10), kr = U(10), Vu = U(10), Uu = (i, f) => Wu(i, f, We), Wu = (i, f, h) => Zt(wo(i), (y) => oa(y, f) ? h(y) ? [y] : [] : Wu(y, f, h)), Xf = (i, f, h = Bt) => {
|
|
24239
24239
|
if (h(f))
|
|
24240
24240
|
return ye.none();
|
|
24241
24241
|
if (gt(i, uo(f)))
|
|
@@ -24248,13 +24248,13 @@ tinymce.IconManager.add("default", {
|
|
|
24248
24248
|
], i, f), si = (i) => Uu(i, "th,td"), Jf = (i) => oa(i, "colgroup") ? Et(i, "col") : Zt(ep(i), (f) => Et(f, "col")), wa = (i, f) => Qr(i, "table", f), em = (i) => Uu(i, "tr"), ep = (i) => wa(i).fold(U([]), (f) => Et(f, "colgroup")), Ui = (i, f) => jt(i, (h) => {
|
|
24249
24249
|
if (uo(h) === "colgroup") {
|
|
24250
24250
|
const y = jt(Jf(h), (T) => {
|
|
24251
|
-
const z =
|
|
24251
|
+
const z = dr(T, "span", 1);
|
|
24252
24252
|
return ni(T, 1, z);
|
|
24253
24253
|
});
|
|
24254
24254
|
return qr(h, y, "colgroup");
|
|
24255
24255
|
} else {
|
|
24256
24256
|
const y = jt(si(h), (T) => {
|
|
24257
|
-
const z =
|
|
24257
|
+
const z = dr(T, "rowspan", 1), Z = dr(T, "colspan", 1);
|
|
24258
24258
|
return ni(T, z, Z);
|
|
24259
24259
|
});
|
|
24260
24260
|
return qr(h, y, f(h));
|
|
@@ -24574,8 +24574,8 @@ tinymce.IconManager.add("default", {
|
|
|
24574
24574
|
const wn = Gn(T, cn.toString()), Mo = Fl(no.element, no.rowspan, no.colspan, ae, cn, wn);
|
|
24575
24575
|
for (let Ho = 0; Ho < no.colspan; Ho++)
|
|
24576
24576
|
for (let po = 0; po < no.rowspan; po++) {
|
|
24577
|
-
const ca = ae + po,
|
|
24578
|
-
f[za] = Mo, Z = Math.max(Z,
|
|
24577
|
+
const ca = ae + po, mr = cn + Ho, za = Id(ca, mr);
|
|
24578
|
+
f[za] = Mo, Z = Math.max(Z, mr + 1);
|
|
24579
24579
|
}
|
|
24580
24580
|
xn.push(Mo);
|
|
24581
24581
|
}), z++, h.push(qr(Rn.element, xn, Rn.section)), ae++;
|
|
@@ -25599,7 +25599,7 @@ tinymce.IconManager.add("default", {
|
|
|
25599
25599
|
}
|
|
25600
25600
|
return y;
|
|
25601
25601
|
}, B_ = (i, f) => Rh(i, f, !1), F1 = (i) => ug(i, dn), L_ = (i, f) => G(i.all, (h) => H(h.cells, (y) => dn(f, y.element))), CS = (i, f, h) => {
|
|
25602
|
-
const y = jt(f.selection, (z) => ju(z).bind((Z) => L_(i, Z)).filter(h)), T =
|
|
25602
|
+
const y = jt(f.selection, (z) => ju(z).bind((Z) => L_(i, Z)).filter(h)), T = ur(y);
|
|
25603
25603
|
return hf(T.length > 0, T);
|
|
25604
25604
|
}, yl = (i, f, h, y, T) => (z, Z, ae, ke) => {
|
|
25605
25605
|
const Le = ms.fromTable(z), kt = ye.from(ke == null ? void 0 : ke.section).getOrThunk(Qb.fallback);
|
|
@@ -25994,7 +25994,7 @@ Required: ` + f.join(", "));
|
|
|
25994
25994
|
const T = ms.generate(f), z = y.getWidths(T, y);
|
|
25995
25995
|
W1(T, z, y);
|
|
25996
25996
|
}, If = (i) => Pe(i, (h, y) => Xe(h, (z) => z.column === y.column) ? h : h.concat([y]), []).sort((h, y) => h.column - y.column), PS = Bn("col"), Ih = Bn("colgroup"), Mh = (i) => uo(i) === "tr" || Ih(i), FS = (i) => {
|
|
25997
|
-
const f =
|
|
25997
|
+
const f = dr(i, "colspan", 1), h = dr(i, "rowspan", 1);
|
|
25998
25998
|
return {
|
|
25999
25999
|
element: i,
|
|
26000
26000
|
colspan: f,
|
|
@@ -26047,7 +26047,7 @@ Required: ` + f.join(", "));
|
|
|
26047
26047
|
},
|
|
26048
26048
|
merge: (y) => {
|
|
26049
26049
|
const T = () => {
|
|
26050
|
-
const z =
|
|
26050
|
+
const z = ur(jt(y, Z1));
|
|
26051
26051
|
if (z.length === 0)
|
|
26052
26052
|
return ye.none();
|
|
26053
26053
|
{
|
|
@@ -26265,7 +26265,7 @@ Required: ` + f.join(", "));
|
|
|
26265
26265
|
}, Ra = {
|
|
26266
26266
|
structure: !1,
|
|
26267
26267
|
style: !0
|
|
26268
|
-
},
|
|
26268
|
+
}, fr = {
|
|
26269
26269
|
structure: !0,
|
|
26270
26270
|
style: !1
|
|
26271
26271
|
}, rl = {
|
|
@@ -26312,7 +26312,7 @@ Required: ` + f.join(", "));
|
|
|
26312
26312
|
effect: $f
|
|
26313
26313
|
}));
|
|
26314
26314
|
}) : ye.none();
|
|
26315
|
-
}, pn = kt(km, T, Me,
|
|
26315
|
+
}, pn = kt(km, T, Me, fr), Mn = kt(Pc, z, Me, fr), Rn = kt(fA, We, Me, fr), xn = kt(rk, We, Me, fr), no = kt(ZS, We, ae, fr), cn = kt(Rp, We, ae, fr), wn = kt(sy, We, Me, fr), Mo = kt(lk, We, Me, fr), Ho = kt(GS, We, Me, fr), po = kt(pA, We, Me, fr), ca = kt(Gc, We, Me, fr), mr = kt(hA, We, Me, fr), za = kt(qS, We, Me, rl), nu = kt(tv, We, Me, fr), il = kt(Yn, We, Me, fr), Zp = kt(mA, We, Me, fr), qp = kt(ak, We, Me, fr), cr = kt(gA, We, Me, fr), $c = kt(ev, We, Me, fr), Kl = kt(ck, We, Me, fr);
|
|
26316
26316
|
return {
|
|
26317
26317
|
deleteRow: pn,
|
|
26318
26318
|
deleteColumn: Mn,
|
|
@@ -26325,7 +26325,7 @@ Required: ` + f.join(", "));
|
|
|
26325
26325
|
pasteColsBefore: Ho,
|
|
26326
26326
|
pasteColsAfter: po,
|
|
26327
26327
|
pasteRowsBefore: ca,
|
|
26328
|
-
pasteRowsAfter:
|
|
26328
|
+
pasteRowsAfter: mr,
|
|
26329
26329
|
pasteCells: za,
|
|
26330
26330
|
makeCellsHeader: nu,
|
|
26331
26331
|
unmakeCellsHeader: il,
|
|
@@ -26339,7 +26339,7 @@ Required: ` + f.join(", "));
|
|
|
26339
26339
|
getTableColType: wg
|
|
26340
26340
|
};
|
|
26341
26341
|
}, nv = (i, f, h) => {
|
|
26342
|
-
const y =
|
|
26342
|
+
const y = dr(i, f, 1);
|
|
26343
26343
|
h === 1 || y <= 1 ? Ks(i, f) : ps(i, f, Math.min(h, y));
|
|
26344
26344
|
}, ov = (i, f) => (h) => {
|
|
26345
26345
|
const y = h.column + h.colspan - 1, T = h.column;
|
|
@@ -26564,7 +26564,7 @@ Required: ` + f.join(", "));
|
|
|
26564
26564
|
});
|
|
26565
26565
|
}), T = (cn) => mv(i).each((wn) => {
|
|
26566
26566
|
Tu(i) || gm(i) || tg(i) || wa(wn, h).each((Ho) => {
|
|
26567
|
-
cn === "relative" && !n2(Ho) ? cy(Ho) : cn === "fixed" && !dk(Ho) ? ly(Ho) : cn === "responsive" && !o2(Ho) && lv(Ho), Hl(Ho), wm(i, Ho.dom,
|
|
26567
|
+
cn === "relative" && !n2(Ho) ? cy(Ho) : cn === "fixed" && !dk(Ho) ? ly(Ho) : cn === "responsive" && !o2(Ho) && lv(Ho), Hl(Ho), wm(i, Ho.dom, fr);
|
|
26568
26568
|
});
|
|
26569
26569
|
}), z = (cn) => wa(cn, h), Z = (cn) => g2(i).bind((wn) => z(wn).map((Mo) => cn(Mo, wn))), ae = (cn, wn) => {
|
|
26570
26570
|
Z((Mo) => {
|
|
@@ -26572,8 +26572,8 @@ Required: ` + f.join(", "));
|
|
|
26572
26572
|
});
|
|
26573
26573
|
}, ke = (cn, wn) => {
|
|
26574
26574
|
Z((Mo) => {
|
|
26575
|
-
const Ho = Hr(i), ca = ft(Ho, (
|
|
26576
|
-
Ne(Ho, (
|
|
26575
|
+
const Ho = Hr(i), ca = ft(Ho, (mr) => i.formatter.match("tablecellclass", { value: wn }, mr.dom)) ? i.formatter.remove : i.formatter.apply;
|
|
26576
|
+
Ne(Ho, (mr) => ca("tablecellclass", { value: wn }, mr.dom)), wm(i, Mo.dom, Ra);
|
|
26577
26577
|
});
|
|
26578
26578
|
}, Le = () => {
|
|
26579
26579
|
mv(i).each((cn) => {
|
|
@@ -26583,7 +26583,7 @@ Required: ` + f.join(", "));
|
|
|
26583
26583
|
pr(Mo, ut.fromText("Caption")), Vi(wn, Mo, 0), i.selection.setCursorLocation(Mo.dom, 0);
|
|
26584
26584
|
}, (Mo) => {
|
|
26585
26585
|
Bn("caption")(cn) && sn("td", wn).each((Ho) => i.selection.setCursorLocation(Ho.dom, 0)), Zr(Mo);
|
|
26586
|
-
}), wm(i, wn.dom,
|
|
26586
|
+
}), wm(i, wn.dom, fr);
|
|
26587
26587
|
});
|
|
26588
26588
|
});
|
|
26589
26589
|
}, kt = (cn) => {
|
|
@@ -26600,7 +26600,7 @@ Required: ` + f.join(", "));
|
|
|
26600
26600
|
}), xn = (cn, wn) => wn().each((Mo) => {
|
|
26601
26601
|
const Ho = jt(Mo, (po) => vc(po));
|
|
26602
26602
|
Z((po, ca) => {
|
|
26603
|
-
const
|
|
26603
|
+
const mr = mm(ut.fromDom(i.getDoc())), za = hm(Hr(i), ca, Ho, mr);
|
|
26604
26604
|
cn(po, za).each(kt);
|
|
26605
26605
|
});
|
|
26606
26606
|
}), no = (cn) => (wn, Mo) => Oo(Mo, "type").each((Ho) => {
|
|
@@ -26653,9 +26653,9 @@ Required: ` + f.join(", "));
|
|
|
26653
26653
|
const Ho = ot(Hr(i), og);
|
|
26654
26654
|
if (Ho.length === 0)
|
|
26655
26655
|
return;
|
|
26656
|
-
const po = yt(wn, (ca,
|
|
26657
|
-
vs(po) || (Ct(po, (ca,
|
|
26658
|
-
const za = Mo(
|
|
26656
|
+
const po = yt(wn, (ca, mr) => i.formatter.has(Mo(mr)) && oe(ca));
|
|
26657
|
+
vs(po) || (Ct(po, (ca, mr) => {
|
|
26658
|
+
const za = Mo(mr);
|
|
26659
26659
|
Ne(Ho, (nu) => {
|
|
26660
26660
|
ca === "" ? i.formatter.remove(za, { value: null }, nu.dom, !0) : i.formatter.apply(za, { value: ca }, nu.dom);
|
|
26661
26661
|
});
|
|
@@ -27133,8 +27133,8 @@ Required: ` + f.join(", "));
|
|
|
27133
27133
|
const po = cn ? Mo : Ho;
|
|
27134
27134
|
Ff(i, po, po);
|
|
27135
27135
|
}, (Mo, Ho, po, ca) => {
|
|
27136
|
-
const
|
|
27137
|
-
Ms(i,
|
|
27136
|
+
const mr = cn ? Mo : po, za = cn ? Ho : ca;
|
|
27137
|
+
Ms(i, mr, za, mr, za);
|
|
27138
27138
|
}));
|
|
27139
27139
|
},
|
|
27140
27140
|
setSelection: (cn) => {
|
|
@@ -27171,10 +27171,10 @@ Required: ` + f.join(", "));
|
|
|
27171
27171
|
keydown: (ke, Le, kt, pn, Mn, Rn) => {
|
|
27172
27172
|
const xn = ke.raw, no = xn.which, cn = xn.shiftKey === !0;
|
|
27173
27173
|
return qb(f, y.selectedSelector).fold(() => (id(no) && !cn && y.clearBeforeUpdate(f), id(no) && cn && !Vk(Le, pn) ? ye.none : Nv(no) && cn ? He(Ov, T, f, h, by, pn, Le, y.selectRange) : zk(no) && cn ? He(Ov, T, f, h, yy, pn, Le, y.selectRange) : Nv(no) ? He(HA, T, h, by, pn, Le, B2) : zk(no) ? He(HA, T, h, yy, pn, Le, VA) : ye.none), (Mo) => {
|
|
27174
|
-
const Ho = (po) => () => G(po, (
|
|
27174
|
+
const Ho = (po) => () => G(po, (mr) => zp(mr.rows, mr.cols, f, Mo, y)).fold(() => pS(f, y.firstSelectedSelector, y.lastSelectedSelector).map((mr) => {
|
|
27175
27175
|
const za = Nv(no) || Rn.isForward(no) ? al.after : al.before;
|
|
27176
|
-
return T.setRelativeSelection(al.on(
|
|
27177
|
-
}), (
|
|
27176
|
+
return T.setRelativeSelection(al.on(mr.first, 0), za(mr.table)), y.clear(f), Qi.create(ye.none(), !0);
|
|
27177
|
+
}), (mr) => ye.some(Qi.create(ye.none(), !0)));
|
|
27178
27178
|
return id(no) && cn && !Vk(Le, pn) ? ye.none : Nv(no) && cn ? Ho([Hp(1, 0)]) : zk(no) && cn ? Ho([Hp(-1, 0)]) : Rn.isBackward(no) && cn ? Ho([
|
|
27179
27179
|
Hp(0, -1),
|
|
27180
27180
|
Hp(-1, 0)
|
|
@@ -27353,7 +27353,7 @@ Required: ` + f.join(", "));
|
|
|
27353
27353
|
xn.keydown($c, dd, Kl.startOffset, ou, Kl.endOffset, tb).each((os) => {
|
|
27354
27354
|
wn($c, os);
|
|
27355
27355
|
}), f.show();
|
|
27356
|
-
}, po = (cr) => cr.button === 0, ca = (cr) => cr.buttons === void 0 ? !0 : (cr.buttons & 1) !== 0,
|
|
27356
|
+
}, po = (cr) => cr.button === 0, ca = (cr) => cr.buttons === void 0 ? !0 : (cr.buttons & 1) !== 0, mr = (cr) => {
|
|
27357
27357
|
Rn.clearstate();
|
|
27358
27358
|
}, za = (cr) => {
|
|
27359
27359
|
po(cr) && qk(cr) && Rn.mousedown(Wp(cr));
|
|
@@ -27372,7 +27372,7 @@ Required: ` + f.join(", "));
|
|
|
27372
27372
|
cr.set(ou), $c.set(dd.timeStamp);
|
|
27373
27373
|
} };
|
|
27374
27374
|
})();
|
|
27375
|
-
i.on("dragstart",
|
|
27375
|
+
i.on("dragstart", mr), i.on("mousedown", za), i.on("mouseover", nu), i.on("mouseup", il), i.on("touchend", qp.touchEnd), i.on("keyup", Mo), i.on("keydown", Ho), i.on("NodeChange", Mn);
|
|
27376
27376
|
}), i.on("PreInit", () => {
|
|
27377
27377
|
i.serializer.addTempAttr(pm.firstSelected), i.serializer.addTempAttr(pm.lastSelected);
|
|
27378
27378
|
}), {
|
|
@@ -27719,7 +27719,7 @@ Required: ` + f.join(", "));
|
|
|
27719
27719
|
});
|
|
27720
27720
|
});
|
|
27721
27721
|
const z = (xn, no) => {
|
|
27722
|
-
const cn = Lr(xn, no), wn =
|
|
27722
|
+
const cn = Lr(xn, no), wn = dr(xn, "data-initial-" + no, 0);
|
|
27723
27723
|
return cn - wn;
|
|
27724
27724
|
};
|
|
27725
27725
|
h.events.stop.bind(() => {
|
|
@@ -27851,10 +27851,10 @@ Required: ` + f.join(", "));
|
|
|
27851
27851
|
const f = qh(), h = qh(), y = qh();
|
|
27852
27852
|
let T, z, Z, ae;
|
|
27853
27853
|
const ke = (wn) => mc(i, wn), Le = () => Na(i) ? lg() : Cp(), kt = (wn) => Rf(wn).columns, pn = (wn) => Rf(wn).rows, Mn = (wn, Mo, Ho, po) => {
|
|
27854
|
-
const ca = eb(Mo),
|
|
27854
|
+
const ca = eb(Mo), mr = Tl(ca, "e"), za = ja(ca, "n");
|
|
27855
27855
|
if (z === "" && cy(wn), ae === "" && wA(wn), Ho !== T && z !== "") {
|
|
27856
27856
|
$o(wn, "width", z);
|
|
27857
|
-
const nu = Le(), il = ke(wn), Zp = Na(i) ||
|
|
27857
|
+
const nu = Le(), il = ke(wn), Zp = Na(i) || mr ? kt(wn) - 1 : 0;
|
|
27858
27858
|
q_(wn, Ho - T, Zp, nu, il);
|
|
27859
27859
|
} else if (fS(z)) {
|
|
27860
27860
|
const nu = parseFloat(z.replace("%", "")), il = Ho * nu / T;
|
|
@@ -27882,10 +27882,10 @@ Required: ` + f.join(", "));
|
|
|
27882
27882
|
const ca = po.table.dom;
|
|
27883
27883
|
yA(i, ca, ng(ca), p_(ca), Dy + po.type);
|
|
27884
27884
|
}), Ho.events.afterResize.bind((po) => {
|
|
27885
|
-
const ca = po.table,
|
|
27885
|
+
const ca = po.table, mr = ca.dom;
|
|
27886
27886
|
Hl(ca), f.on((za) => {
|
|
27887
27887
|
i.selection.setRng(za), i.focus();
|
|
27888
|
-
}), fc(i,
|
|
27888
|
+
}), fc(i, mr, ng(mr), p_(mr), Dy + po.type), i.undoManager.add();
|
|
27889
27889
|
}), h.set(Ho);
|
|
27890
27890
|
}
|
|
27891
27891
|
}), i.on("ObjectResizeStart", (wn) => {
|
|
@@ -28408,7 +28408,7 @@ Required: ` + f.join(", "));
|
|
|
28408
28408
|
}, pu = Qr("height", (t) => {
|
|
28409
28409
|
const s = t.dom;
|
|
28410
28410
|
return Un(t) ? s.getBoundingClientRect().height : s.offsetHeight;
|
|
28411
|
-
}),
|
|
28411
|
+
}), ur = (t) => pu.get(t), oi = (t) => pu.getOuter(t), hf = (t, s) => {
|
|
28412
28412
|
const a = [
|
|
28413
28413
|
"margin-top",
|
|
28414
28414
|
"border-top-width",
|
|
@@ -28494,16 +28494,16 @@ Required: ` + f.join(", "));
|
|
|
28494
28494
|
current: d.name,
|
|
28495
28495
|
version: da.nu(parseInt(a.version, 10), 0)
|
|
28496
28496
|
}));
|
|
28497
|
-
}),
|
|
28497
|
+
}), dr = (t, s) => {
|
|
28498
28498
|
const a = String(s).toLowerCase();
|
|
28499
28499
|
return ie(t, (l) => l.search(a));
|
|
28500
|
-
}, Nc = (t, s) =>
|
|
28500
|
+
}, Nc = (t, s) => dr(t, s).map((a) => {
|
|
28501
28501
|
const l = da.detect(a.versionRegexes, s);
|
|
28502
28502
|
return {
|
|
28503
28503
|
current: a.name,
|
|
28504
28504
|
version: l
|
|
28505
28505
|
};
|
|
28506
|
-
}), lc = (t, s) =>
|
|
28506
|
+
}), lc = (t, s) => dr(t, s).map((a) => {
|
|
28507
28507
|
const l = da.detect(a.versionRegexes, s);
|
|
28508
28508
|
return {
|
|
28509
28509
|
current: a.name,
|
|
@@ -29520,7 +29520,7 @@ Required: ` + s.join(", "));
|
|
|
29520
29520
|
}, D_ = (t, s, a) => a.getInitialPos().map((l) => {
|
|
29521
29521
|
const d = I1(l, s);
|
|
29522
29522
|
return {
|
|
29523
|
-
box: Gr(d.left, d.top, de(t),
|
|
29523
|
+
box: Gr(d.left, d.top, de(t), ur(t)),
|
|
29524
29524
|
location: l.location
|
|
29525
29525
|
};
|
|
29526
29526
|
}), M1 = (t, s, a, l, d) => {
|
|
@@ -30349,7 +30349,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
|
|
|
30349
30349
|
}), wg), Ra = (t, s, a) => Pc(sl(t, s), wm(t), a.southwest(), ck(), "southwest", Gc(t, {
|
|
30350
30350
|
right: 0,
|
|
30351
30351
|
top: 3
|
|
30352
|
-
}), wg),
|
|
30352
|
+
}), wg), fr = (t, s, a) => Pc(ik(t), Cg(t, s), a.northeast(), tv(), "northeast", Gc(t, {
|
|
30353
30353
|
left: 1,
|
|
30354
30354
|
bottom: 2
|
|
30355
30355
|
}), wg), rl = (t, s, a) => Pc(sl(t, s), Cg(t, s), a.northwest(), Yn(), "northwest", Gc(t, {
|
|
@@ -30358,7 +30358,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
|
|
|
30358
30358
|
}), wg), mc = (t, s, a) => Pc(KS(t, s), Cg(t, s), a.north(), lk(), "north", Gc(t, { bottom: 2 }), wg), gc = (t, s, a) => Pc(KS(t, s), wm(t), a.south(), sy(), "south", Gc(t, { top: 3 }), wg), nv = (t, s, a) => Pc(bA(t), YS(t, s), a.east(), qS(), "east", Gc(t, { left: 0 }), wg), ov = (t, s, a) => Pc(yA(t, s), YS(t, s), a.west(), GS(), "west", Gc(t, { right: 1 }), wg), QS = () => [
|
|
30359
30359
|
fc,
|
|
30360
30360
|
Ra,
|
|
30361
|
-
|
|
30361
|
+
fr,
|
|
30362
30362
|
rl,
|
|
30363
30363
|
gc,
|
|
30364
30364
|
mc,
|
|
@@ -30368,13 +30368,13 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
|
|
|
30368
30368
|
Ra,
|
|
30369
30369
|
fc,
|
|
30370
30370
|
rl,
|
|
30371
|
-
|
|
30371
|
+
fr,
|
|
30372
30372
|
gc,
|
|
30373
30373
|
mc,
|
|
30374
30374
|
nv,
|
|
30375
30375
|
ov
|
|
30376
30376
|
], JS = () => [
|
|
30377
|
-
|
|
30377
|
+
fr,
|
|
30378
30378
|
rl,
|
|
30379
30379
|
fc,
|
|
30380
30380
|
Ra,
|
|
@@ -30382,7 +30382,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
|
|
|
30382
30382
|
gc
|
|
30383
30383
|
], sv = () => [
|
|
30384
30384
|
rl,
|
|
30385
|
-
|
|
30385
|
+
fr,
|
|
30386
30386
|
Ra,
|
|
30387
30387
|
fc,
|
|
30388
30388
|
mc,
|
|
@@ -30390,7 +30390,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
|
|
|
30390
30390
|
], Sg = () => [
|
|
30391
30391
|
fc,
|
|
30392
30392
|
Ra,
|
|
30393
|
-
|
|
30393
|
+
fr,
|
|
30394
30394
|
rl,
|
|
30395
30395
|
gc,
|
|
30396
30396
|
mc
|
|
@@ -30398,7 +30398,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
|
|
|
30398
30398
|
Ra,
|
|
30399
30399
|
fc,
|
|
30400
30400
|
rl,
|
|
30401
|
-
|
|
30401
|
+
fr,
|
|
30402
30402
|
gc,
|
|
30403
30403
|
mc
|
|
30404
30404
|
], vA = (t, s) => s.universal ? t : xt(t, (a) => $t(s.channels, a));
|
|
@@ -31917,7 +31917,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
31917
31917
|
fields: Ho,
|
|
31918
31918
|
name: "highlighting",
|
|
31919
31919
|
apis: Mo
|
|
31920
|
-
}), ca = [8],
|
|
31920
|
+
}), ca = [8], mr = [9], za = [13], nu = [27], il = [32], Zp = [37], qp = [38], cr = [39], $c = [40], Kl = (t, s, a) => {
|
|
31921
31921
|
const l = G(t.slice(0, s)), d = G(t.slice(s + 1));
|
|
31922
31922
|
return ie(l.concat(d), a);
|
|
31923
31923
|
}, dd = (t, s, a) => {
|
|
@@ -32022,7 +32022,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
32022
32022
|
Hs("visibilitySelector")
|
|
32023
32023
|
].concat([t]), a = (Re, Ke) => {
|
|
32024
32024
|
const Qe = Re.visibilitySelector.bind((Gt) => cd(Ke, Gt)).getOr(Ke);
|
|
32025
|
-
return
|
|
32025
|
+
return ur(Qe) > 0;
|
|
32026
32026
|
}, l = (Re, Ke) => {
|
|
32027
32027
|
const Qe = Kc(Re.element, Ke.selector), Gt = xt(Qe, (Ft) => a(Ke, Ft));
|
|
32028
32028
|
return S.from(Gt[Ke.firstTabstop]);
|
|
@@ -32042,16 +32042,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
32042
32042
|
}, L = (Re) => vc(Re).bind(Ml).exists((Ke) => Ns(Ke, Re)), ee = (Re, Ke, Qe) => d(Re, Qe).filter((Gt) => !Qe.useTabstopAt(Gt)).bind((Gt) => (L(Gt) ? O : R)(Re, Ke, Qe)), ne = (Re, Ke, Qe) => Qe.onEnter.bind((Gt) => Gt(Re, Ke)), he = (Re, Ke, Qe) => Qe.onEscape.bind((Gt) => Gt(Re, Ke)), we = B([
|
|
32043
32043
|
Vs(su([
|
|
32044
32044
|
fd,
|
|
32045
|
-
os(
|
|
32045
|
+
os(mr)
|
|
32046
32046
|
]), O),
|
|
32047
|
-
Vs(os(
|
|
32047
|
+
Vs(os(mr), R),
|
|
32048
32048
|
Vs(su([
|
|
32049
32049
|
pc,
|
|
32050
32050
|
os(za)
|
|
32051
32051
|
]), ne)
|
|
32052
32052
|
]), ct = B([
|
|
32053
32053
|
Vs(os(nu), he),
|
|
32054
|
-
Vs(os(
|
|
32054
|
+
Vs(os(mr), ee)
|
|
32055
32055
|
]);
|
|
32056
32056
|
return Gp(s, Dl.init, we, ct, () => S.some(p));
|
|
32057
32057
|
};
|
|
@@ -32145,11 +32145,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
32145
32145
|
Vs(os($c), G3(sz)),
|
|
32146
32146
|
Vs(su([
|
|
32147
32147
|
fd,
|
|
32148
|
-
os(
|
|
32148
|
+
os(mr)
|
|
32149
32149
|
]), tz),
|
|
32150
32150
|
Vs(su([
|
|
32151
32151
|
pc,
|
|
32152
|
-
os(
|
|
32152
|
+
os(mr)
|
|
32153
32153
|
]), tz),
|
|
32154
32154
|
Vs(os(il.concat(za)), W$)
|
|
32155
32155
|
]), q$ = B([
|
|
@@ -32259,11 +32259,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
32259
32259
|
Vs(os($c), vO(Yp)),
|
|
32260
32260
|
Vs(su([
|
|
32261
32261
|
fd,
|
|
32262
|
-
os(
|
|
32262
|
+
os(mr)
|
|
32263
32263
|
]), Sz),
|
|
32264
32264
|
Vs(su([
|
|
32265
32265
|
pc,
|
|
32266
|
-
os(
|
|
32266
|
+
os(mr)
|
|
32267
32267
|
]), xz),
|
|
32268
32268
|
Vs(os(za), wz),
|
|
32269
32269
|
Vs(os(il), wz)
|
|
@@ -32294,11 +32294,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
32294
32294
|
]), a.onShiftEnter),
|
|
32295
32295
|
Vs(su([
|
|
32296
32296
|
fd,
|
|
32297
|
-
os(
|
|
32297
|
+
os(mr)
|
|
32298
32298
|
]), a.onShiftTab),
|
|
32299
32299
|
Vs(su([
|
|
32300
32300
|
pc,
|
|
32301
|
-
os(
|
|
32301
|
+
os(mr)
|
|
32302
32302
|
]), a.onTab),
|
|
32303
32303
|
Vs(os(qp), a.onUp),
|
|
32304
32304
|
Vs(os($c), a.onDown),
|
|
@@ -33790,7 +33790,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
33790
33790
|
gc,
|
|
33791
33791
|
mc,
|
|
33792
33792
|
fc,
|
|
33793
|
-
|
|
33793
|
+
fr,
|
|
33794
33794
|
Ra,
|
|
33795
33795
|
rl
|
|
33796
33796
|
]),
|
|
@@ -33798,7 +33798,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
33798
33798
|
gc,
|
|
33799
33799
|
mc,
|
|
33800
33800
|
fc,
|
|
33801
|
-
|
|
33801
|
+
fr,
|
|
33802
33802
|
Ra,
|
|
33803
33803
|
rl
|
|
33804
33804
|
])
|
|
@@ -37755,7 +37755,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
37755
37755
|
events: g,
|
|
37756
37756
|
apis: p
|
|
37757
37757
|
};
|
|
37758
|
-
},
|
|
37758
|
+
}, gr = Nl({
|
|
37759
37759
|
name: "FormField",
|
|
37760
37760
|
configFields: vH(),
|
|
37761
37761
|
partFields: _H(),
|
|
@@ -37768,7 +37768,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
37768
37768
|
var kH = tinymce.util.Tools.resolve("tinymce.html.Entities");
|
|
37769
37769
|
const Kw = (t, s, a, l) => {
|
|
37770
37770
|
const d = wH(t, s, a, l);
|
|
37771
|
-
return
|
|
37771
|
+
return gr.sketch(d);
|
|
37772
37772
|
}, kP = (t, s) => Kw(t, s, [], []), wH = (t, s, a, l) => ({
|
|
37773
37773
|
dom: wP(a),
|
|
37774
37774
|
components: t.toArray().concat([s]),
|
|
@@ -37776,7 +37776,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
37776
37776
|
}), CH = () => wP([]), wP = (t) => ({
|
|
37777
37777
|
tag: "div",
|
|
37778
37778
|
classes: ["tox-form__group"].concat(t)
|
|
37779
|
-
}), pb = (t, s) =>
|
|
37779
|
+
}), pb = (t, s) => gr.parts.label({
|
|
37780
37780
|
dom: {
|
|
37781
37781
|
tag: "label",
|
|
37782
37782
|
classes: ["tox-label"]
|
|
@@ -37827,7 +37827,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
37827
37827
|
value: ct
|
|
37828
37828
|
});
|
|
37829
37829
|
}))
|
|
37830
|
-
], R = (ne, he) => Pe(Kc(ne.element, ".tox-collection__item"), he), L =
|
|
37830
|
+
], R = (ne, he) => Pe(Kc(ne.element, ".tox-collection__item"), he), L = gr.parts.field({
|
|
37831
37831
|
dom: {
|
|
37832
37832
|
tag: "div",
|
|
37833
37833
|
classes: ["tox-collection"].concat(t.columns !== 1 ? ["tox-collection--grid"] : ["tox-collection--list"])
|
|
@@ -37871,7 +37871,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
37871
37871
|
gc,
|
|
37872
37872
|
mc,
|
|
37873
37873
|
fc,
|
|
37874
|
-
|
|
37874
|
+
fr,
|
|
37875
37875
|
Ra,
|
|
37876
37876
|
rl
|
|
37877
37877
|
]),
|
|
@@ -37879,7 +37879,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
37879
37879
|
gc,
|
|
37880
37880
|
mc,
|
|
37881
37881
|
fc,
|
|
37882
|
-
|
|
37882
|
+
fr,
|
|
37883
37883
|
Ra,
|
|
37884
37884
|
rl
|
|
37885
37885
|
])
|
|
@@ -38019,7 +38019,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
38019
38019
|
}, t.columns, t.presets, Wf.CLOSE_ON_EXECUTE, ze, s.providers), { movement: uE(t.columns, t.presets) })))),
|
|
38020
38020
|
parts: { menu: Ow(!1, 1, t.presets) }
|
|
38021
38021
|
}), TN = Kn("color-input-change"), AN = Kn("color-swatch-change"), ON = Kn("color-picker-cancel"), RH = (t, s, a, l) => {
|
|
38022
|
-
const d =
|
|
38022
|
+
const d = gr.parts.field({
|
|
38023
38023
|
factory: Vy,
|
|
38024
38024
|
inputClasses: ["tox-textfield"],
|
|
38025
38025
|
data: l,
|
|
@@ -38087,7 +38087,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
38087
38087
|
presets: "color",
|
|
38088
38088
|
onItemAction: k
|
|
38089
38089
|
}, s));
|
|
38090
|
-
return
|
|
38090
|
+
return gr.sketch({
|
|
38091
38091
|
dom: {
|
|
38092
38092
|
tag: "div",
|
|
38093
38093
|
classes: ["tox-form__group"]
|
|
@@ -38109,12 +38109,12 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
38109
38109
|
}), To(O, ru, { name: t.name });
|
|
38110
38110
|
}),
|
|
38111
38111
|
Xt(AN, (O, R) => {
|
|
38112
|
-
|
|
38112
|
+
gr.getField(O).each((L) => {
|
|
38113
38113
|
jn.setValue(L, R.event.value), Ps.getCurrent(O).each(Vo.focus);
|
|
38114
38114
|
});
|
|
38115
38115
|
}),
|
|
38116
38116
|
Xt(ON, (O, R) => {
|
|
38117
|
-
|
|
38117
|
+
gr.getField(O).each((L) => {
|
|
38118
38118
|
Ps.getCurrent(O).each(Vo.focus);
|
|
38119
38119
|
});
|
|
38120
38120
|
})
|
|
@@ -38398,7 +38398,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
38398
38398
|
const p = YP(s, g, a, l, d);
|
|
38399
38399
|
return sC(s) - sC(t) + p;
|
|
38400
38400
|
}, Vg = (t, s, a, l) => {
|
|
38401
|
-
const d = sh(a), g = GN(t, l.getSpectrum(t), d, l.getTopEdge(t), l.getBottomEdge(t), a), p =
|
|
38401
|
+
const d = sh(a), g = GN(t, l.getSpectrum(t), d, l.getTopEdge(t), l.getBottomEdge(t), a), p = ur(s.element) / 2;
|
|
38402
38402
|
Et(s.element, "top", g - p + "px");
|
|
38403
38403
|
}, CE = S.none, dV = S.none, fV = KP(-1), QP = KP(1), XP = {
|
|
38404
38404
|
"top-left": S.none(),
|
|
@@ -38443,7 +38443,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
38443
38443
|
const a = bb(s), l = oh(s);
|
|
38444
38444
|
Jy(t, yb(a, l));
|
|
38445
38445
|
}, mV = (t) => bE(t), gV = (t, s, a, l) => {
|
|
38446
|
-
const d = sh(a), g = jN(t, l.getSpectrum(t), d.x, l.getLeftEdge(t), l.getRightEdge(t), a), p = GN(t, l.getSpectrum(t), d.y, l.getTopEdge(t), l.getBottomEdge(t), a), k = de(s.element) / 2, x =
|
|
38446
|
+
const d = sh(a), g = jN(t, l.getSpectrum(t), d.x, l.getLeftEdge(t), l.getRightEdge(t), a), p = GN(t, l.getSpectrum(t), d.y, l.getTopEdge(t), l.getBottomEdge(t), a), k = de(s.element) / 2, x = ur(s.element) / 2;
|
|
38447
38447
|
Et(s.element, "left", g - k + "px"), Et(s.element, "top", p - x + "px");
|
|
38448
38448
|
}, pV = lC(-1, !1), hV = lC(1, !1), bV = lC(-1, !0), nF = lC(1, !0), oF = {
|
|
38449
38449
|
"top-left": S.some(IN),
|
|
@@ -38730,13 +38730,13 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
38730
38730
|
validateOnLoad: !1
|
|
38731
38731
|
}
|
|
38732
38732
|
}), x = (we, ct, Re, Ke, Qe) => {
|
|
38733
|
-
const Gt = mo(XN), Ft = t(xE + "range"), zn =
|
|
38733
|
+
const Gt = mo(XN), Ft = t(xE + "range"), zn = gr.parts.label({
|
|
38734
38734
|
dom: {
|
|
38735
38735
|
tag: "label",
|
|
38736
38736
|
attributes: { "aria-label": Ke }
|
|
38737
38737
|
},
|
|
38738
38738
|
components: [ba(Re)]
|
|
38739
|
-
}), Zn =
|
|
38739
|
+
}), Zn = gr.parts.field({
|
|
38740
38740
|
data: Qe,
|
|
38741
38741
|
factory: Vy,
|
|
38742
38742
|
inputAttributes: {
|
|
@@ -38783,7 +38783,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
38783
38783
|
zn,
|
|
38784
38784
|
Zn,
|
|
38785
38785
|
Nn.asSpec()
|
|
38786
|
-
], ws = ct !== "hex" ? [
|
|
38786
|
+
], ws = ct !== "hex" ? [gr.parts["aria-descriptor"]({ text: Ft })] : [], jr = io.concat(ws);
|
|
38787
38787
|
return {
|
|
38788
38788
|
dom: {
|
|
38789
38789
|
tag: "div",
|
|
@@ -38860,10 +38860,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
38860
38860
|
attributes: { "aria-label": t("aria.color.picker") }
|
|
38861
38861
|
},
|
|
38862
38862
|
components: [
|
|
38863
|
-
oo.field("red",
|
|
38864
|
-
oo.field("green",
|
|
38865
|
-
oo.field("blue",
|
|
38866
|
-
oo.field("hex",
|
|
38863
|
+
oo.field("red", gr.sketch(x(XD, "red", io.label, io.description, 255))),
|
|
38864
|
+
oo.field("green", gr.sketch(x(XD, "green", ws.label, ws.description, 255))),
|
|
38865
|
+
oo.field("blue", gr.sketch(x(XD, "blue", jr.label, jr.description, 255))),
|
|
38866
|
+
oo.field("hex", gr.sketch(x(EM, "hex", Xs.label, Xs.description, "ffffff"))),
|
|
38867
38867
|
L.asSpec()
|
|
38868
38868
|
],
|
|
38869
38869
|
formBehaviours: yn([
|
|
@@ -39302,7 +39302,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39302
39302
|
})
|
|
39303
39303
|
]
|
|
39304
39304
|
}]
|
|
39305
|
-
}), R = t.label.map((ee) => pb(ee, s)), L =
|
|
39305
|
+
}), R = t.label.map((ee) => pb(ee, s)), L = gr.parts.field({ factory: { sketch: O } });
|
|
39306
39306
|
return Kw(R, L, ["tox-form__group--stretched"], []);
|
|
39307
39307
|
}, DV = (t, s) => ({
|
|
39308
39308
|
dom: {
|
|
@@ -39451,7 +39451,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39451
39451
|
}
|
|
39452
39452
|
})
|
|
39453
39453
|
])
|
|
39454
|
-
}), R =
|
|
39454
|
+
}), R = gr.parts.field({ factory: { sketch: O } });
|
|
39455
39455
|
return Kw(x, R, ["tox-form__group--stretched"], []);
|
|
39456
39456
|
}, BV = (t) => new Promise((s, a) => {
|
|
39457
39457
|
const l = () => {
|
|
@@ -39472,7 +39472,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39472
39472
|
height: p.toString() + "px"
|
|
39473
39473
|
};
|
|
39474
39474
|
}, LV = (t, s, a) => {
|
|
39475
|
-
const l = de(t), d =
|
|
39475
|
+
const l = de(t), d = ur(t);
|
|
39476
39476
|
return Math.min(l / s, d / a, 1);
|
|
39477
39477
|
}, i4 = (t, s) => {
|
|
39478
39478
|
const a = mo(s.getOr({ url: "" })), l = tr({
|
|
@@ -39498,7 +39498,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39498
39498
|
const ct = LV(x.element, ee, ne);
|
|
39499
39499
|
R.zoom = ct;
|
|
39500
39500
|
}
|
|
39501
|
-
const we = l4(de(x.element),
|
|
39501
|
+
const we = l4(de(x.element), ur(x.element), ee, ne, R.zoom);
|
|
39502
39502
|
d.getOpt(x).each((ct) => {
|
|
39503
39503
|
xo(ct.element, we);
|
|
39504
39504
|
});
|
|
@@ -39783,7 +39783,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39783
39783
|
text: g.text,
|
|
39784
39784
|
getSubmenuItems: () => p4(t, s, g.items, l, d)
|
|
39785
39785
|
}), h4 = (t, s) => Kt(t, (a) => I0(a) ? lo(a.value === s, a) : h4(a.items, s)), TF = (t, s, a) => {
|
|
39786
|
-
const l = hn(t.items, (O) => !I0(O)), d = s.shared.providers, g = a.bind((O) => h4(t.items, O)).orThunk(() => At(t.items).filter(I0)), p = t.label.map((O) => pb(O, d)), k =
|
|
39786
|
+
const l = hn(t.items, (O) => !I0(O)), d = s.shared.providers, g = a.bind((O) => h4(t.items, O)).orThunk(() => At(t.items).filter(I0)), p = t.label.map((O) => pb(O, d)), k = gr.parts.field({
|
|
39787
39787
|
dom: {},
|
|
39788
39788
|
factory: {
|
|
39789
39789
|
sketch: (O) => g4({
|
|
@@ -39823,7 +39823,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39823
39823
|
},
|
|
39824
39824
|
components: [k]
|
|
39825
39825
|
};
|
|
39826
|
-
return
|
|
39826
|
+
return gr.sketch({
|
|
39827
39827
|
dom: {
|
|
39828
39828
|
tag: "div",
|
|
39829
39829
|
classes: ["tox-form__group"]
|
|
@@ -39835,10 +39835,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39835
39835
|
fieldBehaviours: yn([i.config({
|
|
39836
39836
|
disabled: B(!t.enabled),
|
|
39837
39837
|
onDisabled: (O) => {
|
|
39838
|
-
|
|
39838
|
+
gr.getField(O).each(i.disable);
|
|
39839
39839
|
},
|
|
39840
39840
|
onEnabled: (O) => {
|
|
39841
|
-
|
|
39841
|
+
gr.getField(O).each(i.enable);
|
|
39842
39842
|
}
|
|
39843
39843
|
})])
|
|
39844
39844
|
});
|
|
@@ -39896,7 +39896,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39896
39896
|
const l = Pe(t.items, (x) => ({
|
|
39897
39897
|
text: s.translate(x.text),
|
|
39898
39898
|
value: x.value
|
|
39899
|
-
})), d = t.label.map((x) => pb(x, s)), g =
|
|
39899
|
+
})), d = t.label.map((x) => pb(x, s)), g = gr.parts.field({
|
|
39900
39900
|
dom: {},
|
|
39901
39901
|
...a.map((x) => ({ data: x })).getOr({}),
|
|
39902
39902
|
selectAttributes: { size: t.size },
|
|
@@ -39922,7 +39922,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39922
39922
|
p.toArray()
|
|
39923
39923
|
])
|
|
39924
39924
|
};
|
|
39925
|
-
return
|
|
39925
|
+
return gr.sketch({
|
|
39926
39926
|
dom: {
|
|
39927
39927
|
tag: "div",
|
|
39928
39928
|
classes: ["tox-form__group"]
|
|
@@ -39935,10 +39935,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39935
39935
|
i.config({
|
|
39936
39936
|
disabled: () => !t.enabled || s.isDisabled(),
|
|
39937
39937
|
onDisabled: (x) => {
|
|
39938
|
-
|
|
39938
|
+
gr.getField(x).each(i.disable);
|
|
39939
39939
|
},
|
|
39940
39940
|
onEnabled: (x) => {
|
|
39941
|
-
|
|
39941
|
+
gr.getField(x).each(i.enable);
|
|
39942
39942
|
}
|
|
39943
39943
|
}),
|
|
39944
39944
|
Hc()
|
|
@@ -39955,7 +39955,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
39955
39955
|
jn
|
|
39956
39956
|
])
|
|
39957
39957
|
]), AF = (t, s, a) => mn(t, s, a).bind(Ps.getCurrent), OF = (t, s) => ll({
|
|
39958
|
-
factory:
|
|
39958
|
+
factory: gr,
|
|
39959
39959
|
name: t,
|
|
39960
39960
|
overrides: (a) => ({
|
|
39961
39961
|
fieldBehaviours: yn([as("coupled-input-behaviour", [Xt(Af(), (l) => {
|
|
@@ -40107,7 +40107,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
40107
40107
|
classes: ["tox-form__group"]
|
|
40108
40108
|
},
|
|
40109
40109
|
components: ne
|
|
40110
|
-
}), O = (ne) =>
|
|
40110
|
+
}), O = (ne) => gr.parts.field({
|
|
40111
40111
|
factory: Vy,
|
|
40112
40112
|
inputClasses: ["tox-textfield"],
|
|
40113
40113
|
inputBehaviours: yn([
|
|
@@ -40131,10 +40131,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
40131
40131
|
},
|
|
40132
40132
|
components: [ba(s.translate(ne))]
|
|
40133
40133
|
}), L = wd.parts.field1(x([
|
|
40134
|
-
|
|
40134
|
+
gr.parts.label(R("Width")),
|
|
40135
40135
|
O(!0)
|
|
40136
40136
|
])), ee = wd.parts.field2(x([
|
|
40137
|
-
|
|
40137
|
+
gr.parts.label(R("Height")),
|
|
40138
40138
|
O(!1)
|
|
40139
40139
|
]));
|
|
40140
40140
|
return wd.sketch({
|
|
@@ -40171,10 +40171,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
40171
40171
|
i.config({
|
|
40172
40172
|
disabled: () => !t.enabled || s.isDisabled(),
|
|
40173
40173
|
onDisabled: (ne) => {
|
|
40174
|
-
wd.getField1(ne).bind(
|
|
40174
|
+
wd.getField1(ne).bind(gr.getField).each(i.disable), wd.getField2(ne).bind(gr.getField).each(i.disable), wd.getLock(ne).each(i.disable);
|
|
40175
40175
|
},
|
|
40176
40176
|
onEnabled: (ne) => {
|
|
40177
|
-
wd.getField1(ne).bind(
|
|
40177
|
+
wd.getField1(ne).bind(gr.getField).each(i.enable), wd.getField2(ne).bind(gr.getField).each(i.enable), wd.getLock(ne).each(i.enable);
|
|
40178
40178
|
}
|
|
40179
40179
|
}),
|
|
40180
40180
|
Hc(),
|
|
@@ -40309,7 +40309,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
40309
40309
|
...g,
|
|
40310
40310
|
...p,
|
|
40311
40311
|
"data-mce-name": t.name
|
|
40312
|
-
}, x =
|
|
40312
|
+
}, x = gr.parts.field({
|
|
40313
40313
|
tag: t.multiline === !0 ? "textarea" : "input",
|
|
40314
40314
|
...t.data.map((ne) => ({ data: ne })).getOr({}),
|
|
40315
40315
|
inputAttributes: k,
|
|
@@ -40330,10 +40330,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
40330
40330
|
i.config({
|
|
40331
40331
|
disabled: () => t.disabled || s.isDisabled(),
|
|
40332
40332
|
onDisabled: (ne) => {
|
|
40333
|
-
|
|
40333
|
+
gr.getField(ne).each(i.disable);
|
|
40334
40334
|
},
|
|
40335
40335
|
onEnabled: (ne) => {
|
|
40336
|
-
|
|
40336
|
+
gr.getField(ne).each(i.enable);
|
|
40337
40337
|
}
|
|
40338
40338
|
}),
|
|
40339
40339
|
Hc()
|
|
@@ -40462,7 +40462,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
40462
40462
|
],
|
|
40463
40463
|
height: [
|
|
40464
40464
|
vr("property", "height"),
|
|
40465
|
-
vr("getDimension", (t) =>
|
|
40465
|
+
vr("getDimension", (t) => ur(t) + "px")
|
|
40466
40466
|
]
|
|
40467
40467
|
}))
|
|
40468
40468
|
], LF = /* @__PURE__ */ Object.freeze({
|
|
@@ -41252,7 +41252,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
41252
41252
|
}
|
|
41253
41253
|
}, M4 = (t, s) => {
|
|
41254
41254
|
const a = kC(t.name, "custom");
|
|
41255
|
-
return kP(S.none(),
|
|
41255
|
+
return kP(S.none(), gr.parts.field({
|
|
41256
41256
|
factory: kl,
|
|
41257
41257
|
...Kf(t, S.some(a), s, [
|
|
41258
41258
|
TE(""),
|
|
@@ -41387,7 +41387,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
41387
41387
|
onItemExecute: (Ke, Qe, Gt, Ft) => {
|
|
41388
41388
|
g(Ke), To(Ke, ru, { name: t.name });
|
|
41389
41389
|
}
|
|
41390
|
-
}, k =
|
|
41390
|
+
}, k = gr.parts.field({
|
|
41391
41391
|
...p,
|
|
41392
41392
|
factory: GF
|
|
41393
41393
|
}), x = t.label.map((Ke) => pb(Ke, d)), R = tr(((Ke, Qe, Gt = Ke, Ft = Ke) => pd(Gt, {
|
|
@@ -41447,17 +41447,17 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
41447
41447
|
});
|
|
41448
41448
|
});
|
|
41449
41449
|
};
|
|
41450
|
-
return
|
|
41450
|
+
return gr.sketch({
|
|
41451
41451
|
dom: CH(),
|
|
41452
41452
|
components: x.toArray().concat([ct()]),
|
|
41453
41453
|
fieldBehaviours: yn([
|
|
41454
41454
|
i.config({
|
|
41455
41455
|
disabled: () => !t.enabled || d.isDisabled(),
|
|
41456
41456
|
onDisabled: (Ke) => {
|
|
41457
|
-
|
|
41457
|
+
gr.getField(Ke).each(i.disable), we.getOpt(Ke).each(i.disable);
|
|
41458
41458
|
},
|
|
41459
41459
|
onEnabled: (Ke) => {
|
|
41460
|
-
|
|
41460
|
+
gr.getField(Ke).each(i.enable), we.getOpt(Ke).each(i.enable);
|
|
41461
41461
|
}
|
|
41462
41462
|
}),
|
|
41463
41463
|
Hc(),
|
|
@@ -41513,7 +41513,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
41513
41513
|
}, H9 = (t, s) => {
|
|
41514
41514
|
t.dom.checked = s;
|
|
41515
41515
|
}, V9 = (t) => t.dom.checked, U9 = (t, s, a) => {
|
|
41516
|
-
const l = (x) => (x.element.dom.click(), S.some(!0)), d =
|
|
41516
|
+
const l = (x) => (x.element.dom.click(), S.some(!0)), d = gr.parts.field({
|
|
41517
41517
|
factory: { sketch: vt },
|
|
41518
41518
|
dom: {
|
|
41519
41519
|
tag: "input",
|
|
@@ -41544,7 +41544,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
41544
41544
|
To(x, ru, { name: t.name });
|
|
41545
41545
|
})])
|
|
41546
41546
|
])
|
|
41547
|
-
}), g =
|
|
41547
|
+
}), g = gr.parts.label({
|
|
41548
41548
|
dom: {
|
|
41549
41549
|
tag: "span",
|
|
41550
41550
|
classes: ["tox-checkbox__label"]
|
|
@@ -41567,7 +41567,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
41567
41567
|
p("unchecked")
|
|
41568
41568
|
]
|
|
41569
41569
|
});
|
|
41570
|
-
return
|
|
41570
|
+
return gr.sketch({
|
|
41571
41571
|
dom: {
|
|
41572
41572
|
tag: "label",
|
|
41573
41573
|
classes: ["tox-checkbox"]
|
|
@@ -41617,7 +41617,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
41617
41617
|
gc,
|
|
41618
41618
|
mc,
|
|
41619
41619
|
fc,
|
|
41620
|
-
|
|
41620
|
+
fr,
|
|
41621
41621
|
Ra,
|
|
41622
41622
|
rl
|
|
41623
41623
|
]),
|
|
@@ -41625,7 +41625,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
41625
41625
|
gc,
|
|
41626
41626
|
mc,
|
|
41627
41627
|
fc,
|
|
41628
|
-
|
|
41628
|
+
fr,
|
|
41629
41629
|
Ra,
|
|
41630
41630
|
rl
|
|
41631
41631
|
])
|
|
@@ -42376,7 +42376,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
42376
42376
|
fadeOutClass: "tox-editor-dock-fadeout",
|
|
42377
42377
|
transitionClass: "tox-editor-dock-transition"
|
|
42378
42378
|
}, X4 = "tox-tinymce--toolbar-sticky-on", J4 = "tox-tinymce--toolbar-sticky-off", TB = (t, s) => {
|
|
42379
|
-
const a = _a(s), d = Aa(s).dom.innerHeight, g = Wc(a), p = ut.fromDom(t.elm), k = Bl(p), x =
|
|
42379
|
+
const a = _a(s), d = Aa(s).dom.innerHeight, g = Wc(a), p = ut.fromDom(t.elm), k = Bl(p), x = ur(p), O = k.y, R = O + x, L = ja(s), ee = ur(s), ne = L.top, he = ne + ee, we = Math.abs(ne - g.top) < 2, ct = Math.abs(he - (g.top + d)) < 2;
|
|
42380
42380
|
if (we && O < he)
|
|
42381
42381
|
Dd(g.left, O - ee, a);
|
|
42382
42382
|
else if (ct && R > ne) {
|
|
@@ -43184,10 +43184,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
43184
43184
|
],
|
|
43185
43185
|
onBottomLtr: () => [
|
|
43186
43186
|
rl,
|
|
43187
|
-
|
|
43187
|
+
fr
|
|
43188
43188
|
],
|
|
43189
43189
|
onBottomRtl: () => [
|
|
43190
|
-
|
|
43190
|
+
fr,
|
|
43191
43191
|
rl
|
|
43192
43192
|
]
|
|
43193
43193
|
},
|
|
@@ -45331,14 +45331,14 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
45331
45331
|
const s = $O(t), a = Py(t), l = mw(t);
|
|
45332
45332
|
return LC(s).map((d) => iT(d, a, l));
|
|
45333
45333
|
}, Aj = (t) => t5(t).getOr($O(t)), { ToolbarLocation: j0, ToolbarMode: RR } = xI, n5 = 40, o5 = (t, s, a, l, d) => {
|
|
45334
|
-
const { mainUi: g, uiMotherships: p } = a, k = zy.DOM, x = d0(t), O = By(t), R = mw(t).or(t5(t)), L = l.shared.header, ee = L.isPositionedAtTop, ne = 150, he = Fy(t), we = he === RR.sliding || he === RR.floating, ct = mo(!1), Re = () => ct.get() && !t.removed, Ke = (oo) => we ? oo.fold(B(0), (ln) => ln.components().length > 1 ?
|
|
45334
|
+
const { mainUi: g, uiMotherships: p } = a, k = zy.DOM, x = d0(t), O = By(t), R = mw(t).or(t5(t)), L = l.shared.header, ee = L.isPositionedAtTop, ne = 150, he = Fy(t), we = he === RR.sliding || he === RR.floating, ct = mo(!1), Re = () => ct.get() && !t.removed, Ke = (oo) => we ? oo.fold(B(0), (ln) => ln.components().length > 1 ? ur(ln.components()[1].element) : 0) : 0, Qe = (oo) => {
|
|
45335
45335
|
switch (gw(t)) {
|
|
45336
45336
|
case j0.auto:
|
|
45337
|
-
const ln = Wr.getToolbar(g.outerContainer), In = Ke(ln), Uo =
|
|
45337
|
+
const ln = Wr.getToolbar(g.outerContainer), In = Ke(ln), Uo = ur(oo.element) - In, Io = Jr(s);
|
|
45338
45338
|
if (Io.y > Uo)
|
|
45339
45339
|
return "top";
|
|
45340
45340
|
{
|
|
45341
|
-
const Jo = El(s), xr = Math.max(Jo.dom.scrollHeight,
|
|
45341
|
+
const Jo = El(s), xr = Math.max(Jo.dom.scrollHeight, ur(Jo));
|
|
45342
45342
|
return Io.bottom < xr - Uo || $a().bottom < Io.bottom - Uo ? "bottom" : "top";
|
|
45343
45343
|
}
|
|
45344
45344
|
case j0.bottom:
|
|
@@ -45363,9 +45363,9 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
45363
45363
|
const Uo = Wr.getToolbar(g.outerContainer), Io = Ke(Uo), So = Jr(s), Jo = Zn(t, g.outerContainer.element), xr = () => Jo.fold(() => So.x, (zl) => {
|
|
45364
45364
|
const Td = Jr(zl);
|
|
45365
45365
|
return Ns(zl, rs()) ? So.x : So.x - Td.x;
|
|
45366
|
-
}), nr = () => Jo.fold(() => ee() ? Math.max(So.y -
|
|
45366
|
+
}), nr = () => Jo.fold(() => ee() ? Math.max(So.y - ur(In.element) + Io, 0) : So.bottom, (zl) => {
|
|
45367
45367
|
var Td;
|
|
45368
|
-
const ff = Jr(zl), uu = (Td = zl.dom.scrollTop) !== null && Td !== void 0 ? Td : 0, g1 = Ns(zl, rs()) ? Math.max(So.y -
|
|
45368
|
+
const ff = Jr(zl), uu = (Td = zl.dom.scrollTop) !== null && Td !== void 0 ? Td : 0, g1 = Ns(zl, rs()) ? Math.max(So.y - ur(In.element) + Io, 0) : So.y - ff.y + uu - ur(In.element) + Io;
|
|
45369
45369
|
return ee() ? g1 : So.bottom;
|
|
45370
45370
|
}), ei = xr(), Ed = lo(oo, Math.ceil(g.outerContainer.element.dom.getBoundingClientRect().width)).filter((zl) => zl > ne).map((zl) => {
|
|
45371
45371
|
const Td = ln.getOr(Wc()), ff = window.innerWidth - (ei - Td.left), uu = Math.max(Math.min(zl, ff), ne);
|
|
@@ -45642,7 +45642,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
45642
45642
|
if (p)
|
|
45643
45643
|
return Vj(s, l.getMode(), () => a5(g, Jr(s), -20) && !l.isReposition() ? rB : sB);
|
|
45644
45644
|
{
|
|
45645
|
-
const k = l.getMode() === "fixed" ? d.y + Wc().top : d.y, x =
|
|
45645
|
+
const k = l.getMode() === "fixed" ? d.y + Wc().top : d.y, x = ur(s) + HC;
|
|
45646
45646
|
return k + x <= g.y ? Bu : F0;
|
|
45647
45647
|
}
|
|
45648
45648
|
}, fT = (t, s, a, l) => {
|
|
@@ -45662,7 +45662,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
45662
45662
|
gc,
|
|
45663
45663
|
fc,
|
|
45664
45664
|
Ra,
|
|
45665
|
-
|
|
45665
|
+
fr,
|
|
45666
45666
|
rl,
|
|
45667
45667
|
mc
|
|
45668
45668
|
].concat(g(x)),
|
|
@@ -45671,14 +45671,14 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
45671
45671
|
Ra,
|
|
45672
45672
|
fc,
|
|
45673
45673
|
rl,
|
|
45674
|
-
|
|
45674
|
+
fr,
|
|
45675
45675
|
mc
|
|
45676
45676
|
].concat(g(x))
|
|
45677
45677
|
} : {
|
|
45678
45678
|
onLtr: (x) => [
|
|
45679
45679
|
mc,
|
|
45680
45680
|
gc,
|
|
45681
|
-
|
|
45681
|
+
fr,
|
|
45682
45682
|
fc,
|
|
45683
45683
|
rl,
|
|
45684
45684
|
Ra
|
|
@@ -45688,7 +45688,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
45688
45688
|
gc,
|
|
45689
45689
|
rl,
|
|
45690
45690
|
Ra,
|
|
45691
|
-
|
|
45691
|
+
fr,
|
|
45692
45692
|
fc
|
|
45693
45693
|
].concat(g(x))
|
|
45694
45694
|
};
|
|
@@ -46520,7 +46520,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
46520
46520
|
gc,
|
|
46521
46521
|
fc,
|
|
46522
46522
|
Ra,
|
|
46523
|
-
|
|
46523
|
+
fr,
|
|
46524
46524
|
rl,
|
|
46525
46525
|
mc,
|
|
46526
46526
|
Bu,
|
|
@@ -46535,7 +46535,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
46535
46535
|
Ra,
|
|
46536
46536
|
fc,
|
|
46537
46537
|
rl,
|
|
46538
|
-
|
|
46538
|
+
fr,
|
|
46539
46539
|
mc,
|
|
46540
46540
|
Bu,
|
|
46541
46541
|
F0,
|
|
@@ -47242,7 +47242,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
47242
47242
|
const g = { height: iT(l + s.top, u0(t), wx(t)) };
|
|
47243
47243
|
return a === Nb.Both && (g.width = iT(d + s.left, Py(t), mw(t))), g;
|
|
47244
47244
|
}, G5 = (t, s, a) => {
|
|
47245
|
-
const l = ut.fromDom(t.getContainer()), d = sq(t, s, a,
|
|
47245
|
+
const l = ut.fromDom(t.getContainer()), d = sq(t, s, a, ur(l), de(l));
|
|
47246
47246
|
ao(d, (g, p) => {
|
|
47247
47247
|
Se(g) && Et(l, p, lT(g));
|
|
47248
47248
|
}), sE(t);
|
|
@@ -48436,7 +48436,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
48436
48436
|
const l = El(t).dom, d = _g(t, ".tox-dialog-wrap").getOr(t), g = Is(d, "position") === "fixed";
|
|
48437
48437
|
let p;
|
|
48438
48438
|
g ? p = Math.max(l.clientHeight, window.innerHeight) : p = Math.max(l.offsetHeight, l.scrollHeight);
|
|
48439
|
-
const k =
|
|
48439
|
+
const k = ur(s), O = s.dom.offsetLeft >= a.dom.offsetLeft + de(a) ? Math.max(ur(a), k) : k, R = parseInt(Is(t, "margin-top"), 10) || 0, L = parseInt(Is(t, "margin-bottom"), 10) || 0, ne = ur(t) + R + L - O;
|
|
48440
48440
|
return p - ne;
|
|
48441
48441
|
}, qs = (t, s) => {
|
|
48442
48442
|
At(t).each((a) => bc.showTab(s, a.value));
|
|
@@ -48854,7 +48854,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
48854
48854
|
}), lf = (t, s, a) => ({
|
|
48855
48855
|
onClose: () => a.closeWindow(),
|
|
48856
48856
|
onBlock: (l) => {
|
|
48857
|
-
const d = ta(t().element, ".tox-dialog__header").map((g) =>
|
|
48857
|
+
const d = ta(t().element, ".tox-dialog__header").map((g) => ur(g));
|
|
48858
48858
|
Ec.setBusy(t(), (g, p) => cf(l.message, p, s, d));
|
|
48859
48859
|
},
|
|
48860
48860
|
onUnblock: () => {
|
|
@@ -49145,7 +49145,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
49145
49145
|
}, g, k, a, l, O)), we = t_(x.buttons), ct = y3(we), Re = lo(we.length !== 0, tr(zt({ buttons: we }, g, a))), Ke = v3(() => Vt, {
|
|
49146
49146
|
onBlock: (to) => {
|
|
49147
49147
|
Yf.block(Ft, (Nn, io) => {
|
|
49148
|
-
const ws = ne.getOpt(Ft).map((jr) =>
|
|
49148
|
+
const ws = ne.getOpt(Ft).map((jr) => ur(jr.element));
|
|
49149
49149
|
return cf(to.message, io, a.shared.providers, ws);
|
|
49150
49150
|
});
|
|
49151
49151
|
},
|
|
@@ -50128,9 +50128,9 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
50128
50128
|
]
|
|
50129
50129
|
}]
|
|
50130
50130
|
}) }, Fr = (P) => {
|
|
50131
|
-
const le = hs.sanitizer((
|
|
50131
|
+
const le = hs.sanitizer((ur) => P.convertURL(ur.value || ur.url || "", "src")), De = new Promise((ur) => {
|
|
50132
50132
|
Oo(P, (oi) => {
|
|
50133
|
-
|
|
50133
|
+
ur(le(oi).map((hf) => ze([
|
|
50134
50134
|
[{
|
|
50135
50135
|
text: "None",
|
|
50136
50136
|
value: ""
|
|
@@ -50138,10 +50138,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
50138
50138
|
hf
|
|
50139
50139
|
])));
|
|
50140
50140
|
});
|
|
50141
|
-
}), pt = hs.sanitize(Oe(P)), Et = Dt(P), xo = ie(P), $s = En(P), Is = Jt(P), nn = Il(P), Ws = Q(P), ka = $(P), _c = ft(P), Xo = G(P), kc = rt(P), Qr = Ct(P), pu = be.some(pe(P)).filter((
|
|
50142
|
-
return De.then((
|
|
50141
|
+
}), pt = hs.sanitize(Oe(P)), Et = Dt(P), xo = ie(P), $s = En(P), Is = Jt(P), nn = Il(P), Ws = Q(P), ka = $(P), _c = ft(P), Xo = G(P), kc = rt(P), Qr = Ct(P), pu = be.some(pe(P)).filter((ur) => me(ur) && ur.length > 0);
|
|
50142
|
+
return De.then((ur) => ({
|
|
50143
50143
|
image: nn,
|
|
50144
|
-
imageList:
|
|
50144
|
+
imageList: ur,
|
|
50145
50145
|
classList: pt,
|
|
50146
50146
|
hasAdvTab: Et,
|
|
50147
50147
|
hasUploadTab: xo,
|
|
@@ -50902,7 +50902,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
50902
50902
|
N[Cn] = je(ge.element, qe, Cn);
|
|
50903
50903
|
}), K += qe;
|
|
50904
50904
|
}), N;
|
|
50905
|
-
},
|
|
50905
|
+
}, ur = (C) => {
|
|
50906
50906
|
const N = {}, K = [], qe = rt(C).map((fi) => fi.element).bind(pt).bind(ka).getOr({});
|
|
50907
50907
|
let qt = 0, Cn = 0, Jn = 0;
|
|
50908
50908
|
const {
|
|
@@ -50944,9 +50944,9 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
50944
50944
|
}, ua = {
|
|
50945
50945
|
fromTable: (C) => {
|
|
50946
50946
|
const N = nn(C);
|
|
50947
|
-
return
|
|
50947
|
+
return ur(N);
|
|
50948
50948
|
},
|
|
50949
|
-
generate:
|
|
50949
|
+
generate: ur,
|
|
50950
50950
|
getAt: Xo,
|
|
50951
50951
|
findItem: kc,
|
|
50952
50952
|
filterItems: Qr,
|
|
@@ -51006,19 +51006,19 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
|
|
|
51006
51006
|
], (C) => ({
|
|
51007
51007
|
title: C,
|
|
51008
51008
|
value: C.toLowerCase()
|
|
51009
|
-
})), Cc = "100%",
|
|
51009
|
+
})), Cc = "100%", dr = (C) => {
|
|
51010
51010
|
var N;
|
|
51011
51011
|
const K = C.dom, ge = (N = K.getParent(C.selection.getStart(), K.isBlock)) !== null && N !== void 0 ? N : C.getBody();
|
|
51012
51012
|
return Fs(so.fromDom(ge)) + "px";
|
|
51013
51013
|
}, Nc = (C, N) => op(C) || !wa(C) ? N : hu(C) ? {
|
|
51014
51014
|
...N,
|
|
51015
|
-
width:
|
|
51015
|
+
width: dr(C)
|
|
51016
51016
|
} : {
|
|
51017
51017
|
...N,
|
|
51018
51018
|
width: Cc
|
|
51019
51019
|
}, lc = (C, N) => op(C) || wa(C) ? N : hu(C) ? {
|
|
51020
51020
|
...N,
|
|
51021
|
-
width:
|
|
51021
|
+
width: dr(C)
|
|
51022
51022
|
} : {
|
|
51023
51023
|
...N,
|
|
51024
51024
|
width: Cc
|
|
@@ -53077,7 +53077,7 @@ Required: ` + N.join(", "));
|
|
|
53077
53077
|
}, kc = (E, I, J) => E.dispatch("ListMutation", {
|
|
53078
53078
|
action: I,
|
|
53079
53079
|
element: J
|
|
53080
|
-
}), pu = ((E) => (I) => I.replace(E, ""))(/^\s+|\s+$/g),
|
|
53080
|
+
}), pu = ((E) => (I) => I.replace(E, ""))(/^\s+|\s+$/g), ur = (E) => E.length > 0, oi = (E) => !ur(E), hf = (E) => E.style !== void 0 && bt(E.style.getPropertyValue), Um = (E, I, J) => {
|
|
53081
53081
|
if (!te(J))
|
|
53082
53082
|
throw console.error("Invalid call to CSS.set. Property ", I, ":: Value ", J, ":: Element ", E), new Error("CSS value must be a string: " + J);
|
|
53083
53083
|
hf(E) && E.style.setProperty(I, J);
|
|
@@ -53122,7 +53122,7 @@ Required: ` + N.join(", "));
|
|
|
53122
53122
|
});
|
|
53123
53123
|
}, Cc = (E, I) => {
|
|
53124
53124
|
Oo(E.list) !== I.listType && (E.list = Ds(E.list, I.listType)), fo(E.list, I.listAttributes);
|
|
53125
|
-
},
|
|
53125
|
+
}, dr = (E, I, J) => {
|
|
53126
53126
|
const Ae = Q.fromTag("li", E);
|
|
53127
53127
|
return fo(Ae, I), Pr(Ae, J), Ae;
|
|
53128
53128
|
}, Nc = (E, I) => {
|
|
@@ -53131,7 +53131,7 @@ Required: ` + N.join(", "));
|
|
|
53131
53131
|
const Ae = I.slice(0, J.depth);
|
|
53132
53132
|
return hn(Ae).each((Ue) => {
|
|
53133
53133
|
if (Al(J)) {
|
|
53134
|
-
const on =
|
|
53134
|
+
const on = dr(E, J.itemAttributes, J.content);
|
|
53135
53135
|
Nc(Ue, on), Cc(Ue, J);
|
|
53136
53136
|
} else if (de(J))
|
|
53137
53137
|
Pr(Ue.item, J.content);
|
|
@@ -62301,8 +62301,8 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
|
|
|
62301
62301
|
return ve !== void 0 && ve !== "" ? "background-color:" + ve + "!important" : _c;
|
|
62302
62302
|
}, Qr = (de, ve, ht) => {
|
|
62303
62303
|
const Wt = (wc) => $s(wc, "*:not(.tox-silver-sink)"), Co = (wc) => (da) => {
|
|
62304
|
-
const Cc = Kt(da, "style"),
|
|
62305
|
-
|
|
62304
|
+
const Cc = Kt(da, "style"), dr = Cc === void 0 ? "no-styles" : Cc.trim();
|
|
62305
|
+
dr !== wc && (yt(da, Is, dr), Mr(da, de.parseStyle(wc)));
|
|
62306
62306
|
}, $o = xo(ve, "*"), Fs = gt($o, Wt), ar = kc(ht);
|
|
62307
62307
|
ye(Fs, Co(nn)), ye($o, Co(Ws + ka + ar)), Co((Xo === !0 ? "" : Ws) + ka + ar)(ve);
|
|
62308
62308
|
}, pu = (de) => {
|
|
@@ -62311,7 +62311,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
|
|
|
62311
62311
|
const Wt = Kt(ht, Is);
|
|
62312
62312
|
Wt && Wt !== "no-styles" ? Mr(ht, de.parseStyle(Wt)) : vn(ht, "style"), vn(ht, Is);
|
|
62313
62313
|
});
|
|
62314
|
-
},
|
|
62314
|
+
}, ur = fn.DOM, oi = () => tt(window), hf = (de) => window.scrollTo(de.x, de.y), Um = se().fold(() => ({
|
|
62315
62315
|
bind: re,
|
|
62316
62316
|
unbind: re
|
|
62317
62317
|
}), (de) => {
|
|
@@ -62340,12 +62340,12 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
|
|
|
62340
62340
|
}
|
|
62341
62341
|
};
|
|
62342
62342
|
}), Dr = (de, ve) => {
|
|
62343
|
-
const ht = document.body, Wt = document.documentElement, Co = de.getContainer(), $o = an.fromDom(Co), Fs = ss($o).filter((Lr) => Ct(Lr) && ao(Lr, "tox-silver-sink")), ar = Te(de), Za = ve.get(), wc = an.fromDom(de.getBody()), da = Un.deviceType.isTouch(), Cc = Co.style,
|
|
62343
|
+
const ht = document.body, Wt = document.documentElement, Co = de.getContainer(), $o = an.fromDom(Co), Fs = ss($o).filter((Lr) => Ct(Lr) && ao(Lr, "tox-silver-sink")), ar = Te(de), Za = ve.get(), wc = an.fromDom(de.getBody()), da = Un.deviceType.isTouch(), Cc = Co.style, dr = de.iframeElement, Nc = dr == null ? void 0 : dr.style, lc = (Lr) => {
|
|
62344
62344
|
Lr(ht, "tox-fullscreen"), Lr(Wt, "tox-fullscreen"), Lr(Co, "tox-fullscreen"), Gs($o).map((kr) => dt(kr).dom).each((kr) => {
|
|
62345
62345
|
Lr(kr, "tox-fullscreen"), Lr(kr, "tox-shadowhost");
|
|
62346
62346
|
});
|
|
62347
62347
|
}, Xr = () => {
|
|
62348
|
-
da && pu(de.dom), lc(
|
|
62348
|
+
da && pu(de.dom), lc(ur.removeClass), Um.unbind(), St.from(ve.get()).each((Lr) => Lr.fullscreenChangeHandler.unbind());
|
|
62349
62349
|
};
|
|
62350
62350
|
if (Za)
|
|
62351
62351
|
Za.fullscreenChangeHandler.unbind(), X(de) && le(ar) && P(Lo(ar)), Nc.width = Za.iframeWidth, Nc.height = Za.iframeHeight, Cc.width = Za.containerWidth, Cc.height = Za.containerHeight, Cc.top = Za.containerTop, Cc.left = Za.containerLeft, Ne(Fs, Za.sinkCssPosition, (Lr, kr) => {
|
|
@@ -62365,7 +62365,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
|
|
|
62365
62365
|
fullscreenChangeHandler: Lr,
|
|
62366
62366
|
sinkCssPosition: Fs.map((Vu) => _r(Vu, "position"))
|
|
62367
62367
|
};
|
|
62368
|
-
da && Qr(de.dom, $o, wc), Nc.width = Nc.height = "100%", Cc.width = Cc.height = "", lc(
|
|
62368
|
+
da && Qr(de.dom, $o, wc), Nc.width = Nc.height = "100%", Cc.width = Cc.height = "", lc(ur.addClass), Fs.each((Vu) => {
|
|
62369
62369
|
Ir(Vu, "position", "fixed");
|
|
62370
62370
|
}), Um.bind($o), de.on("remove", Xr), ve.set(kr), X(de) && Wo(ar), rs(de, !0);
|
|
62371
62371
|
}
|
|
@@ -62431,7 +62431,7 @@ const Ate = { style: { height: "100%", overflow: "hidden" } }, EQ = {
|
|
|
62431
62431
|
},
|
|
62432
62432
|
emits: ["update:modelValue", "setHtml"],
|
|
62433
62433
|
setup(w, { expose: D, emit: W }) {
|
|
62434
|
-
const j = W, q = w, te =
|
|
62434
|
+
const j = W, q = w, te = ir("vue-tinymce-" + +/* @__PURE__ */ new Date() + ((Math.random() * 1e3).toFixed(0) + "")), oe = nS({
|
|
62435
62435
|
selector: "#" + te.value,
|
|
62436
62436
|
//富文本编辑器的id,
|
|
62437
62437
|
language_url: "tinymce/langs/zh_CN.js",
|
|
@@ -62581,7 +62581,7 @@ const Ite = { class: "upload-container" }, Mte = { class: "el-upload__text" }, P
|
|
|
62581
62581
|
pdf: /(pdf)$/,
|
|
62582
62582
|
excel: /(xls|xlsx)$/
|
|
62583
62583
|
};
|
|
62584
|
-
let lt =
|
|
62584
|
+
let lt = ir(!1), bt = ir({}), Fe = ir(!1), et = ir(null), nt = null, Ye = Pb({
|
|
62585
62585
|
get() {
|
|
62586
62586
|
return U(me.modelValue);
|
|
62587
62587
|
},
|