@zyui/components 0.0.25 → 0.0.27
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/es/index.js +33 -33
- package/es/index.mjs +670 -670
- package/es/src/components/UserPicker/index.vue.d.ts +6 -2
- package/es/style.css +1 -1
- package/lib/src/components/UserPicker/index.vue.d.ts +6 -2
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var Jhe = Object.defineProperty;
|
|
2
2
|
var Qhe = (o, r, i) => r in o ? Jhe(o, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[r] = i;
|
|
3
3
|
var uu = (o, r, i) => Qhe(o, typeof r != "symbol" ? r + "" : r, i);
|
|
4
|
-
import { defineComponent as qo, reactive as WR, provide as Km, inject as qg, ref as xn, watch as rs, toValue as Ut, computed as Kn, openBlock as Tt, createElementBlock as gn, createElementVNode as Yt, mergeModels as
|
|
4
|
+
import { defineComponent as qo, reactive as WR, provide as Km, inject as qg, ref as xn, watch as rs, toValue as Ut, computed as Kn, openBlock as Tt, createElementBlock as gn, createElementVNode as Yt, mergeModels as sc, useModel as fa, Fragment as vr, renderList as Wa, createVNode as on, unref as je, withCtx as Rn, createCommentVNode as Ts, toDisplayString as Rs, createTextVNode as Us, createBlock as gs, withDirectives as vy, mergeProps as O4, resolveComponent as $4, isRef as sb, onUnmounted as ld, watchEffect as wue, getCurrentScope as Ooe, onScopeDispose as yR, onMounted as Tl, toRefs as ZR, renderSlot as Fr, normalizeStyle as Zc, nextTick as am, onBeforeUnmount as GR, onActivated as epe, onDeactivated as tpe, h as ja, withModifiers as G2, Teleport as $oe, normalizeClass as Xm, vShow as npe, resolveDynamicComponent as B_, createPropsRestProxy as ope, toRef as ri, effectScope as Cue, getCurrentInstance as q2, useSlots as spe, onBeforeMount as rpe, useAttrs as ape, isMemoSame as ipe, customRef as lpe, markRaw as wR, readonly as cpe, createStaticVNode as upe, createSlots as dpe, resolveDirective as qR, withKeys as YR } from "vue";
|
|
5
5
|
import { ElImage as U2, ElIcon as ep, ElPopover as MU, ElForm as Y2, ElFormItem as Gm, ElInput as Yg, ElButton as Pu, ElScrollbar as RU, ElLoadingDirective as Doe, ElSelect as Gz, ElOption as qz, ElDialog as IU, ElTabs as Sue, ElTabPane as xue, ElTable as fpe, ElTableColumn as iz, ElCheckbox as my, ElMessageBox as mpe, ElRadioGroup as _ue, ElRadio as One, ElRow as gpe, ElCol as _ae, ElTree as Eue } from "element-plus";
|
|
6
|
-
const hpe = "0.0.
|
|
6
|
+
const hpe = "0.0.27";
|
|
7
7
|
var ppe = Object.defineProperty, vpe = (o, r, i) => r in o ? ppe(o, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[r] = i, hte = (o, r, i) => vpe(o, typeof r != "symbol" ? r + "" : r, i);
|
|
8
8
|
function Tue(o, r) {
|
|
9
9
|
return function() {
|
|
@@ -4046,7 +4046,7 @@ function() {
|
|
|
4046
4046
|
}
|
|
4047
4047
|
var H = v.join(u.delimiter), U = u.addQueryPrefix === !0 ? "?" : "";
|
|
4048
4048
|
return u.charsetSentinel && (u.charset === "iso-8859-1" ? U += "utf8=%26%2310003%3B&" : U += "utf8=%E2%9C%93&"), H.length > 0 ? U + H : "";
|
|
4049
|
-
}, eE = Rde, Wne = Object.prototype.hasOwnProperty, mie = Array.isArray,
|
|
4049
|
+
}, eE = Rde, Wne = Object.prototype.hasOwnProperty, mie = Array.isArray, Tc = {
|
|
4050
4050
|
allowDots: !1,
|
|
4051
4051
|
allowEmptyArrays: !1,
|
|
4052
4052
|
allowPrototypes: !1,
|
|
@@ -4094,14 +4094,14 @@ function() {
|
|
|
4094
4094
|
for (S = 0; S < v.length; ++S)
|
|
4095
4095
|
if (S !== w) {
|
|
4096
4096
|
var A = v[S], $ = A.indexOf("]="), R = $ === -1 ? A.indexOf("=") : $ + 1, H, U;
|
|
4097
|
-
R === -1 ? (H = i.decoder(A,
|
|
4097
|
+
R === -1 ? (H = i.decoder(A, Tc.decoder, T, "key"), U = i.strictNullHandling ? null : "") : (H = i.decoder(A.slice(0, R), Tc.decoder, T, "key"), U = eE.maybeMap(
|
|
4098
4098
|
Fde(
|
|
4099
4099
|
A.slice(R + 1),
|
|
4100
4100
|
i,
|
|
4101
4101
|
mie(u[H]) ? u[H].length : 0
|
|
4102
4102
|
),
|
|
4103
4103
|
function(K) {
|
|
4104
|
-
return i.decoder(K,
|
|
4104
|
+
return i.decoder(K, Tc.decoder, T, "value");
|
|
4105
4105
|
}
|
|
4106
4106
|
)), U && i.interpretNumericEntities && T === "iso-8859-1" && (U = mye(String(U))), A.indexOf("[]=") > -1 && (U = mie(U) ? [U] : U);
|
|
4107
4107
|
var W = Wne.call(u, H);
|
|
@@ -4148,7 +4148,7 @@ function() {
|
|
|
4148
4148
|
}
|
|
4149
4149
|
}, yye = function(r) {
|
|
4150
4150
|
if (!r)
|
|
4151
|
-
return
|
|
4151
|
+
return Tc;
|
|
4152
4152
|
if (typeof r.allowEmptyArrays < "u" && typeof r.allowEmptyArrays != "boolean")
|
|
4153
4153
|
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
4154
4154
|
if (typeof r.decodeDotInKeys < "u" && typeof r.decodeDotInKeys != "boolean")
|
|
@@ -4159,32 +4159,32 @@ function() {
|
|
|
4159
4159
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
4160
4160
|
if (typeof r.throwOnLimitExceeded < "u" && typeof r.throwOnLimitExceeded != "boolean")
|
|
4161
4161
|
throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
4162
|
-
var i = typeof r.charset > "u" ?
|
|
4162
|
+
var i = typeof r.charset > "u" ? Tc.charset : r.charset, u = typeof r.duplicates > "u" ? Tc.duplicates : r.duplicates;
|
|
4163
4163
|
if (u !== "combine" && u !== "first" && u !== "last")
|
|
4164
4164
|
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
4165
|
-
var m = typeof r.allowDots > "u" ? r.decodeDotInKeys === !0 ? !0 :
|
|
4165
|
+
var m = typeof r.allowDots > "u" ? r.decodeDotInKeys === !0 ? !0 : Tc.allowDots : !!r.allowDots;
|
|
4166
4166
|
return {
|
|
4167
4167
|
allowDots: m,
|
|
4168
|
-
allowEmptyArrays: typeof r.allowEmptyArrays == "boolean" ? !!r.allowEmptyArrays :
|
|
4169
|
-
allowPrototypes: typeof r.allowPrototypes == "boolean" ? r.allowPrototypes :
|
|
4170
|
-
allowSparse: typeof r.allowSparse == "boolean" ? r.allowSparse :
|
|
4171
|
-
arrayLimit: typeof r.arrayLimit == "number" ? r.arrayLimit :
|
|
4168
|
+
allowEmptyArrays: typeof r.allowEmptyArrays == "boolean" ? !!r.allowEmptyArrays : Tc.allowEmptyArrays,
|
|
4169
|
+
allowPrototypes: typeof r.allowPrototypes == "boolean" ? r.allowPrototypes : Tc.allowPrototypes,
|
|
4170
|
+
allowSparse: typeof r.allowSparse == "boolean" ? r.allowSparse : Tc.allowSparse,
|
|
4171
|
+
arrayLimit: typeof r.arrayLimit == "number" ? r.arrayLimit : Tc.arrayLimit,
|
|
4172
4172
|
charset: i,
|
|
4173
|
-
charsetSentinel: typeof r.charsetSentinel == "boolean" ? r.charsetSentinel :
|
|
4174
|
-
comma: typeof r.comma == "boolean" ? r.comma :
|
|
4175
|
-
decodeDotInKeys: typeof r.decodeDotInKeys == "boolean" ? r.decodeDotInKeys :
|
|
4176
|
-
decoder: typeof r.decoder == "function" ? r.decoder :
|
|
4177
|
-
delimiter: typeof r.delimiter == "string" || eE.isRegExp(r.delimiter) ? r.delimiter :
|
|
4173
|
+
charsetSentinel: typeof r.charsetSentinel == "boolean" ? r.charsetSentinel : Tc.charsetSentinel,
|
|
4174
|
+
comma: typeof r.comma == "boolean" ? r.comma : Tc.comma,
|
|
4175
|
+
decodeDotInKeys: typeof r.decodeDotInKeys == "boolean" ? r.decodeDotInKeys : Tc.decodeDotInKeys,
|
|
4176
|
+
decoder: typeof r.decoder == "function" ? r.decoder : Tc.decoder,
|
|
4177
|
+
delimiter: typeof r.delimiter == "string" || eE.isRegExp(r.delimiter) ? r.delimiter : Tc.delimiter,
|
|
4178
4178
|
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
4179
|
-
depth: typeof r.depth == "number" || r.depth === !1 ? +r.depth :
|
|
4179
|
+
depth: typeof r.depth == "number" || r.depth === !1 ? +r.depth : Tc.depth,
|
|
4180
4180
|
duplicates: u,
|
|
4181
4181
|
ignoreQueryPrefix: r.ignoreQueryPrefix === !0,
|
|
4182
|
-
interpretNumericEntities: typeof r.interpretNumericEntities == "boolean" ? r.interpretNumericEntities :
|
|
4183
|
-
parameterLimit: typeof r.parameterLimit == "number" ? r.parameterLimit :
|
|
4182
|
+
interpretNumericEntities: typeof r.interpretNumericEntities == "boolean" ? r.interpretNumericEntities : Tc.interpretNumericEntities,
|
|
4183
|
+
parameterLimit: typeof r.parameterLimit == "number" ? r.parameterLimit : Tc.parameterLimit,
|
|
4184
4184
|
parseArrays: r.parseArrays !== !1,
|
|
4185
|
-
plainObjects: typeof r.plainObjects == "boolean" ? r.plainObjects :
|
|
4186
|
-
strictDepth: typeof r.strictDepth == "boolean" ? !!r.strictDepth :
|
|
4187
|
-
strictNullHandling: typeof r.strictNullHandling == "boolean" ? r.strictNullHandling :
|
|
4185
|
+
plainObjects: typeof r.plainObjects == "boolean" ? r.plainObjects : Tc.plainObjects,
|
|
4186
|
+
strictDepth: typeof r.strictDepth == "boolean" ? !!r.strictDepth : Tc.strictDepth,
|
|
4187
|
+
strictNullHandling: typeof r.strictNullHandling == "boolean" ? r.strictNullHandling : Tc.strictNullHandling,
|
|
4188
4188
|
throwOnLimitExceeded: typeof r.throwOnLimitExceeded == "boolean" ? r.throwOnLimitExceeded : !1
|
|
4189
4189
|
};
|
|
4190
4190
|
}, wye = function(o, r) {
|
|
@@ -5021,7 +5021,7 @@ function Pz(o, r, i, u, m, h) {
|
|
|
5021
5021
|
}), v;
|
|
5022
5022
|
}
|
|
5023
5023
|
var ISe = 1, PSe = 4;
|
|
5024
|
-
function
|
|
5024
|
+
function nc(o) {
|
|
5025
5025
|
return Pz(o, ISe | PSe);
|
|
5026
5026
|
}
|
|
5027
5027
|
var BSe = "__lodash_hash_undefined__";
|
|
@@ -5410,7 +5410,7 @@ var rI = Gde(function(o) {
|
|
|
5410
5410
|
var r = K_(o, zxe);
|
|
5411
5411
|
return r.length && r[0] === o[0] ? Vxe(r) : [];
|
|
5412
5412
|
});
|
|
5413
|
-
function
|
|
5413
|
+
function oc(o, r) {
|
|
5414
5414
|
return sj(o, r);
|
|
5415
5415
|
}
|
|
5416
5416
|
function Uxe(o) {
|
|
@@ -5562,7 +5562,7 @@ const o_e = (o) => {
|
|
|
5562
5562
|
return rs(
|
|
5563
5563
|
() => r,
|
|
5564
5564
|
(w, S) => {
|
|
5565
|
-
|
|
5565
|
+
oc(w, S) || v();
|
|
5566
5566
|
},
|
|
5567
5567
|
{
|
|
5568
5568
|
deep: !0,
|
|
@@ -5730,7 +5730,7 @@ const gl = (o, r) => {
|
|
|
5730
5730
|
class: "selected-icon"
|
|
5731
5731
|
}, w_e = ["onClick"], C_e = { class: "truncate pt-[5px] text-center" }, S_e = {
|
|
5732
5732
|
__name: "list",
|
|
5733
|
-
props: /* @__PURE__ */
|
|
5733
|
+
props: /* @__PURE__ */ sc({
|
|
5734
5734
|
sourceData: {
|
|
5735
5735
|
type: Array,
|
|
5736
5736
|
default: () => []
|
|
@@ -5876,7 +5876,7 @@ const gl = (o, r) => {
|
|
|
5876
5876
|
}
|
|
5877
5877
|
}, O_e = /* @__PURE__ */ gl(A_e, [["__scopeId", "data-v-ce630612"]]), $_e = {
|
|
5878
5878
|
__name: "group",
|
|
5879
|
-
props: /* @__PURE__ */
|
|
5879
|
+
props: /* @__PURE__ */ sc({
|
|
5880
5880
|
// multiple 是否多选
|
|
5881
5881
|
multiple: {
|
|
5882
5882
|
type: Boolean,
|
|
@@ -5902,7 +5902,7 @@ const gl = (o, r) => {
|
|
|
5902
5902
|
params: h,
|
|
5903
5903
|
type: "groupIds"
|
|
5904
5904
|
}), A = () => {
|
|
5905
|
-
|
|
5905
|
+
oc(h.value, m.value) ? T == null || T() : h.value = JSON.parse(JSON.stringify(m.value));
|
|
5906
5906
|
};
|
|
5907
5907
|
return r({
|
|
5908
5908
|
selectAll: () => {
|
|
@@ -5961,7 +5961,7 @@ const gl = (o, r) => {
|
|
|
5961
5961
|
}
|
|
5962
5962
|
}, D_e = {
|
|
5963
5963
|
__name: "role",
|
|
5964
|
-
props: /* @__PURE__ */
|
|
5964
|
+
props: /* @__PURE__ */ sc({
|
|
5965
5965
|
// multiple 是否多选
|
|
5966
5966
|
multiple: {
|
|
5967
5967
|
type: Boolean,
|
|
@@ -5987,7 +5987,7 @@ const gl = (o, r) => {
|
|
|
5987
5987
|
params: h,
|
|
5988
5988
|
type: "roleIds"
|
|
5989
5989
|
}), $ = () => {
|
|
5990
|
-
|
|
5990
|
+
oc(h.value, m.value) ? T == null || T() : h.value = JSON.parse(JSON.stringify(m.value));
|
|
5991
5991
|
};
|
|
5992
5992
|
return r({
|
|
5993
5993
|
selectAll: () => {
|
|
@@ -6076,7 +6076,7 @@ const gl = (o, r) => {
|
|
|
6076
6076
|
}
|
|
6077
6077
|
}, N_e = {
|
|
6078
6078
|
__name: "user",
|
|
6079
|
-
props: /* @__PURE__ */
|
|
6079
|
+
props: /* @__PURE__ */ sc({
|
|
6080
6080
|
// multiple 是否多选
|
|
6081
6081
|
multiple: {
|
|
6082
6082
|
type: Boolean,
|
|
@@ -6102,7 +6102,7 @@ const gl = (o, r) => {
|
|
|
6102
6102
|
params: h,
|
|
6103
6103
|
type: "userIds"
|
|
6104
6104
|
}), $ = () => {
|
|
6105
|
-
|
|
6105
|
+
oc(h.value, m.value) ? T == null || T() : h.value = JSON.parse(JSON.stringify(m.value));
|
|
6106
6106
|
};
|
|
6107
6107
|
return r({
|
|
6108
6108
|
selectAll: () => {
|
|
@@ -6396,7 +6396,7 @@ const gl = (o, r) => {
|
|
|
6396
6396
|
class: "num-text"
|
|
6397
6397
|
}, H_e = {
|
|
6398
6398
|
__name: "index",
|
|
6399
|
-
props: /* @__PURE__ */
|
|
6399
|
+
props: /* @__PURE__ */ sc({
|
|
6400
6400
|
title: {
|
|
6401
6401
|
type: String,
|
|
6402
6402
|
default: "人员选择"
|
|
@@ -6522,7 +6522,7 @@ const gl = (o, r) => {
|
|
|
6522
6522
|
}
|
|
6523
6523
|
}, V_e = /* @__PURE__ */ gl(H_e, [["__scopeId", "data-v-9bfeca68"]]), z_e = {
|
|
6524
6524
|
__name: "index",
|
|
6525
|
-
props: /* @__PURE__ */
|
|
6525
|
+
props: /* @__PURE__ */ sc({
|
|
6526
6526
|
//人员选择器选择类型:chooseType:1 显示人员,chooseType:2 显示岗位,chooseType:3 显示部门
|
|
6527
6527
|
chooseType: {
|
|
6528
6528
|
type: [Number, Array],
|
|
@@ -9044,7 +9044,7 @@ var O6e = [
|
|
|
9044
9044
|
], $i = {
|
|
9045
9045
|
browsers: pe(lr),
|
|
9046
9046
|
oses: pe(vu)
|
|
9047
|
-
}, kc = "Edge", ys = "Chromium", Yi = "IE", Cr = "Opera",
|
|
9047
|
+
}, kc = "Edge", ys = "Chromium", Yi = "IE", Cr = "Opera", rc = "Firefox", xi = "Safari", hl = () => ya({
|
|
9048
9048
|
current: void 0,
|
|
9049
9049
|
version: Qe.unknown()
|
|
9050
9050
|
}), ya = (e) => {
|
|
@@ -9056,19 +9056,19 @@ var O6e = [
|
|
|
9056
9056
|
isChromium: l(ys),
|
|
9057
9057
|
isIE: l(Yi),
|
|
9058
9058
|
isOpera: l(Cr),
|
|
9059
|
-
isFirefox: l(
|
|
9059
|
+
isFirefox: l(rc),
|
|
9060
9060
|
isSafari: l(xi)
|
|
9061
9061
|
};
|
|
9062
|
-
},
|
|
9062
|
+
}, ac = {
|
|
9063
9063
|
unknown: hl,
|
|
9064
9064
|
nu: ya,
|
|
9065
9065
|
edge: pe(kc),
|
|
9066
9066
|
chromium: pe(ys),
|
|
9067
9067
|
ie: pe(Yi),
|
|
9068
9068
|
opera: pe(Cr),
|
|
9069
|
-
firefox: pe(
|
|
9069
|
+
firefox: pe(rc),
|
|
9070
9070
|
safari: pe(xi)
|
|
9071
|
-
}, Di = "Windows",
|
|
9071
|
+
}, Di = "Windows", ic = "iOS", zl = "Android", lc = "Linux", jr = "macOS", Ki = "Solaris", Ul = "FreeBSD", jl = "ChromeOS", Gc = () => Ni({
|
|
9072
9072
|
current: void 0,
|
|
9073
9073
|
version: Qe.unknown()
|
|
9074
9074
|
}), Ni = (e) => {
|
|
@@ -9077,10 +9077,10 @@ var O6e = [
|
|
|
9077
9077
|
current: n,
|
|
9078
9078
|
version: s,
|
|
9079
9079
|
isWindows: l(Di),
|
|
9080
|
-
isiOS: l(
|
|
9080
|
+
isiOS: l(ic),
|
|
9081
9081
|
isAndroid: l(zl),
|
|
9082
9082
|
isMacOS: l(jr),
|
|
9083
|
-
isLinux: l(
|
|
9083
|
+
isLinux: l(lc),
|
|
9084
9084
|
isSolaris: l(Ki),
|
|
9085
9085
|
isFreeBSD: l(Ul),
|
|
9086
9086
|
isChromeOS: l(jl)
|
|
@@ -9089,15 +9089,15 @@ var O6e = [
|
|
|
9089
9089
|
unknown: Gc,
|
|
9090
9090
|
nu: Ni,
|
|
9091
9091
|
windows: pe(Di),
|
|
9092
|
-
ios: pe(
|
|
9092
|
+
ios: pe(ic),
|
|
9093
9093
|
android: pe(zl),
|
|
9094
|
-
linux: pe(
|
|
9094
|
+
linux: pe(lc),
|
|
9095
9095
|
macos: pe(jr),
|
|
9096
9096
|
solaris: pe(Ki),
|
|
9097
9097
|
freebsd: pe(Ul),
|
|
9098
9098
|
chromeos: pe(jl)
|
|
9099
9099
|
}, pi = { detect: (e, n, s) => {
|
|
9100
|
-
const l = $i.browsers(), d = $i.oses(), p = n.bind((D) => st(l, D)).orThunk(() => En(l, e)).fold(
|
|
9100
|
+
const l = $i.browsers(), d = $i.oses(), p = n.bind((D) => st(l, D)).orThunk(() => En(l, e)).fold(ac.unknown, ac.nu), C = qn(d, e).fold(Qr.unknown, Qr.nu), k = wo(C, p, e, s);
|
|
9101
9101
|
return {
|
|
9102
9102
|
browser: p,
|
|
9103
9103
|
os: C,
|
|
@@ -9240,8 +9240,8 @@ var O6e = [
|
|
|
9240
9240
|
}, Tf = (e, n, s) => {
|
|
9241
9241
|
const l = Ie(cd(e, n), (d) => d !== s);
|
|
9242
9242
|
return l.length > 0 ? wa(e, n, l.join(" ")) : cr(e, n), !1;
|
|
9243
|
-
}, Pd = (e) => e.dom.classList !== void 0, Bd = (e) => cd(e, "class"),
|
|
9244
|
-
Pd(e) ? e.dom.classList.add(n) :
|
|
9243
|
+
}, Pd = (e) => e.dom.classList !== void 0, Bd = (e) => cd(e, "class"), cc = (e, n) => Ef(e, "class", n), Ji = (e, n) => Tf(e, "class", n), h1 = (e, n) => X(Bd(e), n) ? Ji(e, n) : cc(e, n), Fu = (e, n) => {
|
|
9244
|
+
Pd(e) ? e.dom.classList.add(n) : cc(e, n);
|
|
9245
9245
|
}, Qg = (e) => {
|
|
9246
9246
|
(Pd(e) ? e.dom.classList : Bd(e)).length === 0 && cr(e, "class");
|
|
9247
9247
|
}, kf = (e, n) => {
|
|
@@ -9408,7 +9408,7 @@ var O6e = [
|
|
|
9408
9408
|
n[d] = s.style[d];
|
|
9409
9409
|
}
|
|
9410
9410
|
return n;
|
|
9411
|
-
},
|
|
9411
|
+
}, uc = (e, n) => {
|
|
9412
9412
|
const s = e.dom;
|
|
9413
9413
|
rh(s, n), ka(ha(e, "style").map(Ps), "") && cr(e, "style");
|
|
9414
9414
|
}, vi = (e) => e.dom.offsetWidth, vl = (e, n) => {
|
|
@@ -9506,7 +9506,7 @@ var O6e = [
|
|
|
9506
9506
|
}, Rc = (e) => {
|
|
9507
9507
|
const n = e === void 0 ? window : e;
|
|
9508
9508
|
return Za().browser.isFirefox() ? te.none() : te.from(n.visualViewport);
|
|
9509
|
-
},
|
|
9509
|
+
}, dc = (e, n, s, l) => ({
|
|
9510
9510
|
x: e,
|
|
9511
9511
|
y: n,
|
|
9512
9512
|
width: s,
|
|
@@ -9517,8 +9517,8 @@ var O6e = [
|
|
|
9517
9517
|
const n = e === void 0 ? window : e, s = n.document, l = Co(et.fromDom(s));
|
|
9518
9518
|
return Rc(n).fold(() => {
|
|
9519
9519
|
const d = n.document.documentElement, p = d.clientWidth, C = d.clientHeight;
|
|
9520
|
-
return
|
|
9521
|
-
}, (d) =>
|
|
9520
|
+
return dc(l.left, l.top, p, C);
|
|
9521
|
+
}, (d) => dc(Math.max(d.pageLeft, l.left), Math.max(d.pageTop, l.top), d.width, d.height));
|
|
9522
9522
|
}, dm = (e, n) => Ie(Ei(e), n), C1 = (e, n) => {
|
|
9523
9523
|
let s = [];
|
|
9524
9524
|
return G(Ei(e), (l) => {
|
|
@@ -9636,7 +9636,7 @@ var O6e = [
|
|
|
9636
9636
|
"audio",
|
|
9637
9637
|
"object",
|
|
9638
9638
|
"embed"
|
|
9639
|
-
]), eC = dg("li"), Wd = dg("details"), Ey = dg("summary"),
|
|
9639
|
+
]), eC = dg("li"), Wd = dg("details"), Ey = dg("summary"), fc = {
|
|
9640
9640
|
skipBogus: !0,
|
|
9641
9641
|
includeZwsp: !1,
|
|
9642
9642
|
checkRootAsContent: !1
|
|
@@ -9645,7 +9645,7 @@ var O6e = [
|
|
|
9645
9645
|
return S1(d, (k) => bo(p, Pe(k)), me(js, l));
|
|
9646
9646
|
}, Zd = (e) => eo(e) && e.nodeName === "A" && !e.hasAttribute("href") && (e.hasAttribute("name") || e.hasAttribute("id")), lp = (e, n) => eo(e) && bo(n.getNonEmptyElements(), e.nodeName), Ma = mm("data-mce-bookmark"), cp = (e) => ng(et.fromDom(e)).exists((n) => !hd(n)), Rf = (e, n, s) => xu(e.data) && !er(e, n, s), Ty = (e, n, s, l) => An(e) && !Rf(e, n, s) && (!l.includeZwsp || !ug(e.data)), Gl = (e, n, s, l) => ce(l.isContent) && l.isContent(n) || lp(n, e) || Ma(n) || Zd(n) || Ty(n, s, e, l) || Js(n) || cn(n) && cp(n), Kc = (e, n, s) => {
|
|
9647
9647
|
const l = {
|
|
9648
|
-
...
|
|
9648
|
+
...fc,
|
|
9649
9649
|
...s
|
|
9650
9650
|
};
|
|
9651
9651
|
if (l.checkRootAsContent && Gl(e, n, n, l))
|
|
@@ -9679,7 +9679,7 @@ var O6e = [
|
|
|
9679
9679
|
checkRootAsContent: !0,
|
|
9680
9680
|
...s
|
|
9681
9681
|
}), Ic = (e, n, s) => Gl(e, n, n, {
|
|
9682
|
-
includeZwsp:
|
|
9682
|
+
includeZwsp: fc.includeZwsp,
|
|
9683
9683
|
...s
|
|
9684
9684
|
}), wi = (e) => {
|
|
9685
9685
|
let n = e;
|
|
@@ -9787,7 +9787,7 @@ var O6e = [
|
|
|
9787
9787
|
const s = Bn(e.getBlockElements());
|
|
9788
9788
|
ho(s, n);
|
|
9789
9789
|
}
|
|
9790
|
-
},
|
|
9790
|
+
}, mc = (e, n, s) => {
|
|
9791
9791
|
const l = (p) => js(p, et.fromDom(n)), d = og(et.fromDom(s), l);
|
|
9792
9792
|
un(d, d.length - 2).filter(hs).fold(() => ql(e, n), (p) => ql(e, p.dom));
|
|
9793
9793
|
}, Uu = (e) => e.hasAttribute(lt), dh = (e, n) => bo(e.getTransparentElements(), n), fh = (e, n) => eo(n) && dh(e, n.nodeName), Yl = (e, n) => fh(e, n) && Uu(n), mh = (e, n) => fh(e, n) && !Uu(n), gh = (e, n) => n.type === 1 && dh(e, n.name) && j(n.attr(lt)), k1 = Za().browser, up = (e) => Nt(e, hs), Ti = (e) => k1.isFirefox() && Pe(e) === "table" ? up(Ei(e)).filter((n) => Pe(n) === "caption").bind((n) => up(sg(n)).map((s) => {
|
|
@@ -10702,7 +10702,7 @@ var O6e = [
|
|
|
10702
10702
|
$n(n, wd, l);
|
|
10703
10703
|
}, vE = (e, n) => Ft(e) ? bo(Wu, n) ? e + "" : e + "px" : e, _b = (e, n, s) => {
|
|
10704
10704
|
const l = hE(n);
|
|
10705
|
-
gt(s) || s === "" ?
|
|
10705
|
+
gt(s) || s === "" ? uc(e, l) : rp(e, l, vE(s, l));
|
|
10706
10706
|
}, lC = (e, n, s) => {
|
|
10707
10707
|
const l = n.keep_values, d = {
|
|
10708
10708
|
set: (C, k, D) => {
|
|
@@ -10929,7 +10929,7 @@ var O6e = [
|
|
|
10929
10929
|
const Zn = Ve(Bt), Vn = jt.split(" ");
|
|
10930
10930
|
return Oe(Zn) && pn(Vn, (jo) => eg(Zn, jo));
|
|
10931
10931
|
}, qs = (Bt) => {
|
|
10932
|
-
No(Bt, (jt) =>
|
|
10932
|
+
No(Bt, (jt) => uc(et.fromDom(jt), "display"));
|
|
10933
10933
|
}, Ja = (Bt) => {
|
|
10934
10934
|
No(Bt, (jt) => rp(et.fromDom(jt), "display", "none"));
|
|
10935
10935
|
}, Gi = (Bt) => {
|
|
@@ -11570,7 +11570,7 @@ var O6e = [
|
|
|
11570
11570
|
if (kh(C)) {
|
|
11571
11571
|
if (Sd(C))
|
|
11572
11572
|
return C;
|
|
11573
|
-
if (
|
|
11573
|
+
if (hc(C))
|
|
11574
11574
|
return C.splitText(1), C;
|
|
11575
11575
|
}
|
|
11576
11576
|
e.nextSibling ? p == null || p.insertBefore(d, e.nextSibling) : p == null || p.appendChild(d);
|
|
@@ -11588,7 +11588,7 @@ var O6e = [
|
|
|
11588
11588
|
p.setAttribute("data-mce-caret", s ? "before" : "after"), p.setAttribute("data-mce-bogus", "all"), p.appendChild(Eh().dom);
|
|
11589
11589
|
const C = n.parentNode;
|
|
11590
11590
|
return s ? C == null || C.insertBefore(p, n) : n.nextSibling ? C == null || C.insertBefore(p, n.nextSibling) : C == null || C.appendChild(p), p;
|
|
11591
|
-
},
|
|
11591
|
+
}, hc = (e) => kh(e) && e.data[0] === Fi, Gu = (e) => kh(e) && e.data[e.data.length - 1] === Fi, hC = (e) => {
|
|
11592
11592
|
var n;
|
|
11593
11593
|
const s = e.getElementsByTagName("br"), l = s[s.length - 1];
|
|
11594
11594
|
fg(l) && ((n = l.parentNode) === null || n === void 0 || n.removeChild(l));
|
|
@@ -12796,7 +12796,7 @@ Required: ` + n.join(", "));
|
|
|
12796
12796
|
default: rl.getAttrib(e.getElement(), "placeholder")
|
|
12797
12797
|
});
|
|
12798
12798
|
});
|
|
12799
|
-
}, GO = fo("iframe_attrs"), qO = fo("doctype"), nu = fo("document_base_url"), ow = fo("body_id"), iT = fo("body_class"),
|
|
12799
|
+
}, GO = fo("iframe_attrs"), qO = fo("doctype"), nu = fo("document_base_url"), ow = fo("body_id"), iT = fo("body_class"), pc = fo("content_security_policy"), Em = fo("br_in_pre"), Hi = fo("forced_root_block"), _d = fo("forced_root_block_attrs"), vc = fo("newline_behavior"), PC = fo("br_newline_selector"), sw = fo("no_newline_selector"), BC = fo("keep_styles"), lT = fo("end_container_on_empty_block"), rw = fo("automatic_uploads"), cT = fo("images_reuse_filename"), uT = fo("images_replace_blob_uris"), dT = fo("icons"), YO = fo("icons_url"), KO = fo("images_upload_url"), XO = fo("images_upload_base_path"), FC = fo("images_upload_credentials"), aw = fo("images_upload_handler"), fT = fo("content_css_cors"), Ub = fo("referrer_policy"), Y1 = fo("language"), $h = fo("language_url"), iw = fo("indent_use_margin"), JO = fo("indentation"), mT = fo("content_css"), QO = fo("content_style"), gT = fo("font_css"), hT = fo("directionality"), Hc = fo("inline_boundaries_selector"), lw = fo("object_resizing"), pT = fo("resize_img_proportional"), LC = fo("placeholder"), jb = fo("event_root"), e$ = fo("service_message"), K1 = fo("theme"), t$ = fo("theme_url"), HC = fo("model"), n$ = fo("model_url"), Wb = fo("inline_boundaries"), o$ = fo("formats"), s$ = fo("preview_styles"), cw = fo("format_empty_lines"), vT = fo("format_noneditable_selector"), VC = fo("custom_ui_selector"), Zb = fo("inline"), bT = fo("hidden_input"), zC = fo("submit_patch"), UC = fo("add_form_submit_trigger"), jC = fo("add_unload_trigger"), Op = fo("custom_undo_redo_levels"), yT = fo("disable_nodechange"), WC = fo("readonly"), wT = fo("editable_root"), CT = fo("content_css_cors"), Vc = fo("plugins"), uw = fo("external_plugins"), dw = fo("block_unsupported_drop"), ZC = fo("visual"), GC = fo("visual_table_class"), Tm = fo("visual_anchor_class"), fw = fo("iframe_aria_text"), r$ = fo("setup"), Dh = fo("init_instance_callback"), mw = fo("urlconverter_callback"), zc = fo("auto_focus"), OI = fo("browser_spellcheck"), X1 = fo("protect"), a$ = fo("paste_block_drop"), Gb = fo("paste_data_images"), i$ = fo("paste_preprocess"), l$ = fo("paste_postprocess"), ST = fo("newdocument_content"), xT = fo("paste_webkit_styles"), gw = fo("paste_remove_styles_if_webkit"), c$ = fo("paste_merge_formats"), u$ = fo("smart_paste"), qb = fo("paste_as_text"), qC = fo("paste_tab_spaces"), YC = fo("allow_html_data_urls"), _T = fo("text_patterns"), ET = fo("text_patterns_lookup"), hw = fo("noneditable_class"), $I = fo("editable_class"), J1 = fo("noneditable_regexp"), Ij = fo("preserve_cdata"), Yb = fo("highlight_on_focus"), Kb = fo("xss_sanitization"), pw = fo("init_content_sync"), d$ = (e) => e.options.isSet("text_patterns_lookup"), TT = (e) => rn.explode(e.options.get("font_size_style_values")), f$ = (e) => rn.explode(e.options.get("font_size_classes")), KC = (e) => e.options.get("encoding") === "xml", XC = (e) => rn.explode(e.options.get("images_file_types")), xg = fo("table_tab_navigation"), Xb = fo("details_initial_state"), m$ = fo("details_serialized_state"), JC = fo("sandbox_iframes"), kT = (e) => e.options.get("sandbox_iframes_exclusions"), DI = fo("convert_unsafe_embeds"), AT = fo("license_key"), QC = fo("api_key"), Nh = fo("disabled"), g$ = eo, eS = An, tS = (e) => {
|
|
12800
12800
|
const n = e.parentNode;
|
|
12801
12801
|
n && n.removeChild(e);
|
|
12802
12802
|
}, nS = (e) => {
|
|
@@ -12840,7 +12840,7 @@ Required: ` + n.join(", "));
|
|
|
12840
12840
|
const k = C.data;
|
|
12841
12841
|
k.length === 1 ? (n = C.parentNode) === null || n === void 0 || n.removeChild(C) : C.deleteData(k.length - 1, 1);
|
|
12842
12842
|
}
|
|
12843
|
-
C = p.nextSibling,
|
|
12843
|
+
C = p.nextSibling, hc(C) && (C.data.length === 1 ? (s = C.parentNode) === null || s === void 0 || s.removeChild(C) : C.deleteData(0, 1));
|
|
12844
12844
|
}
|
|
12845
12845
|
}, $T = (e, n, s, l) => {
|
|
12846
12846
|
const d = Ra();
|
|
@@ -12975,7 +12975,7 @@ Required: ` + n.join(", "));
|
|
|
12975
12975
|
}
|
|
12976
12976
|
if (Gu(C) && k >= C.data.length - 1)
|
|
12977
12977
|
return e === 1 && (l = p(C), l) ? Mp(l) : s;
|
|
12978
|
-
if (
|
|
12978
|
+
if (hc(C) && k <= 1)
|
|
12979
12979
|
return e === -1 && (l = d(C), l) ? ov(l) : s;
|
|
12980
12980
|
if (k === C.data.length)
|
|
12981
12981
|
return l = p(C), l ? Mp(l) : s;
|
|
@@ -13787,11 +13787,11 @@ Required: ` + n.join(", "));
|
|
|
13787
13787
|
-1,
|
|
13788
13788
|
1
|
|
13789
13789
|
]
|
|
13790
|
-
},
|
|
13790
|
+
}, bc = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, Hh = (e, n) => {
|
|
13791
13791
|
const s = n.dom, l = n.getDoc(), d = document, p = n.getBody();
|
|
13792
13792
|
let C, k, D, B, Y, ne, ie, Se, Re, Ee, Ve, rt, wt, Dt, Ht;
|
|
13793
13793
|
const bn = (Cn) => Oe(Cn) && (T1(Cn) || s.is(Cn, "figure.image")), Ln = (Cn) => Bi(Cn) || s.hasClass(Cn, "mce-preview-object"), Wn = (Cn, oo) => {
|
|
13794
|
-
if (
|
|
13794
|
+
if (bc(Cn)) {
|
|
13795
13795
|
const Jo = Cn.touches[0];
|
|
13796
13796
|
return bn(Cn.target) && !uk(Jo.clientX, Jo.clientY, oo);
|
|
13797
13797
|
} else
|
|
@@ -13979,7 +13979,7 @@ Required: ` + n.join(", "));
|
|
|
13979
13979
|
}), rf = (e, n) => {
|
|
13980
13980
|
const s = n.ltr();
|
|
13981
13981
|
return s.collapsed ? n.rtl().filter((d) => d.collapsed === !1).map((d) => zi.rtl(et.fromDom(d.endContainer), d.endOffset, et.fromDom(d.startContainer), d.startOffset)).getOrThunk(() => kd(e, zi.ltr, s)) : kd(e, zi.ltr, s);
|
|
13982
|
-
},
|
|
13982
|
+
}, yc = (e, n) => {
|
|
13983
13983
|
const s = Fl(e, n);
|
|
13984
13984
|
return rf(e, s);
|
|
13985
13985
|
};
|
|
@@ -14024,7 +14024,7 @@ Required: ` + n.join(", "));
|
|
|
14024
14024
|
}), et.fromDom(l);
|
|
14025
14025
|
}, LS = (e) => {
|
|
14026
14026
|
const n = fv.getWin(e).dom, s = (d, p, C, k) => Bl(n, d, p, C, k), l = U$(e);
|
|
14027
|
-
return
|
|
14027
|
+
return yc(n, l).match({
|
|
14028
14028
|
ltr: s,
|
|
14029
14029
|
rtl: s
|
|
14030
14030
|
});
|
|
@@ -15449,7 +15449,7 @@ Required: ` + n.join(", "));
|
|
|
15449
15449
|
const Sn = Ie(nn, (lo) => R5(e.schema, lo, Kt));
|
|
15450
15450
|
ar(Sn, e.schema, Wn), N5(k.getNodeFilters(), k.getAttributeFilters(), bn), n = B.serialize(bn), wt === Ht ? C.setHTML(Ht, n) : C.setOuterHTML(wt, n);
|
|
15451
15451
|
}
|
|
15452
|
-
return y8(e, D), w8(e, C.get("mce_marker")), GW(e.getBody()), ZW(C, p.getStart(), e.schema),
|
|
15452
|
+
return y8(e, D), w8(e, C.get("mce_marker")), GW(e.getBody()), ZW(C, p.getStart(), e.schema), mc(e.schema, e.getBody(), p.getStart()), n;
|
|
15453
15453
|
}, au = (e) => e instanceof Au, ox = (e) => {
|
|
15454
15454
|
In(e) && Ai(e.getBody()).each((n) => {
|
|
15455
15455
|
const s = n.getNode(), l = vd(s) ? Ai(s).getOr(n) : n;
|
|
@@ -17696,7 +17696,7 @@ Required: ` + n.join(", "));
|
|
|
17696
17696
|
}), D0 = (e) => {
|
|
17697
17697
|
const n = e.serializer.getTempAttrs(), s = yP(e.getBody(), n);
|
|
17698
17698
|
return tG(s) ? j7(JZ(s)) : nG(Zu(s.innerHTML));
|
|
17699
|
-
},
|
|
17699
|
+
}, wc = (e, n, s) => {
|
|
17700
17700
|
const l = s ? n.beforeBookmark : n.bookmark;
|
|
17701
17701
|
n.type === "fragmented" ? QZ(n.fragments, e.getBody()) : e.setContent(n.content, {
|
|
17702
17702
|
format: "raw",
|
|
@@ -17745,14 +17745,14 @@ Required: ` + n.join(", "));
|
|
|
17745
17745
|
}, ID = (e, n, s, l, d) => {
|
|
17746
17746
|
if (n.transact(l)) {
|
|
17747
17747
|
const p = n.data[s.get()].bookmark, C = n.data[s.get() - 1];
|
|
17748
|
-
|
|
17748
|
+
wc(e, C, !0), n.transact(d) && (n.data[s.get() - 1].beforeBookmark = p);
|
|
17749
17749
|
}
|
|
17750
17750
|
}, sG = (e, n, s) => {
|
|
17751
17751
|
let l;
|
|
17752
|
-
return n.get() < s.length - 1 && (n.set(n.get() + 1), l = s[n.get()],
|
|
17752
|
+
return n.get() < s.length - 1 && (n.set(n.get() + 1), l = s[n.get()], wc(e, l, !1), e.setDirty(!0), e.dispatch("Redo", { level: l })), l;
|
|
17753
17753
|
}, Y7 = (e, n, s, l) => {
|
|
17754
17754
|
let d;
|
|
17755
|
-
return n.typing && (n.add(), n.typing = !1, _x(n, !1, s)), l.get() > 0 && (l.set(l.get() - 1), d = n.data[l.get()],
|
|
17755
|
+
return n.typing && (n.add(), n.typing = !1, _x(n, !1, s)), l.get() > 0 && (l.set(l.get() - 1), d = n.data[l.get()], wc(e, d, !0), e.setDirty(!0), e.dispatch("Undo", { level: d })), d;
|
|
17756
17756
|
}, rG = (e) => {
|
|
17757
17757
|
e.clear(), e.add();
|
|
17758
17758
|
}, PD = (e, n, s) => s.get() > 0 || n.typing && n.data[0] && !$u(D0(e), n.data[0]), BD = (e, n) => n.get() < e.data.length - 1 && !e.typing, aG = (e, n, s) => (Z7(e, n), e.beforeChange(), e.ignore(s), e.add()), iG = (e, n) => {
|
|
@@ -18356,7 +18356,7 @@ Required: ` + n.join(", "));
|
|
|
18356
18356
|
const p = jD(e, d.content, d);
|
|
18357
18357
|
return O0(e, p.html, d), p.content;
|
|
18358
18358
|
}).getOr(n);
|
|
18359
|
-
}, gre = "autoresize_on_init,content_editable_state,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,tabfocus_elements,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_enable_default_filters,paste_filter_drop,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists,template_cdate_classes,template_mdate_classes,template_selected_content_classes,template_preview_replace_values,template_replace_values,templates,template_cdate_format,template_mdate_format".split(","), hre = [],
|
|
18359
|
+
}, gre = "autoresize_on_init,content_editable_state,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,tabfocus_elements,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_enable_default_filters,paste_filter_drop,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists,template_cdate_classes,template_mdate_classes,template_selected_content_classes,template_preview_replace_values,template_replace_values,templates,template_cdate_format,template_mdate_format".split(","), hre = [], Cc = "bbcode,colorpicker,contextmenu,fullpage,legacyoutput,spellchecker,template,textcolor,rtc".split(","), GD = [], qD = (e, n) => {
|
|
18360
18360
|
const s = Ie(n, (l) => bo(e, l));
|
|
18361
18361
|
return $t(s);
|
|
18362
18362
|
}, hB = (e) => {
|
|
@@ -18365,7 +18365,7 @@ Required: ` + n.join(", "));
|
|
|
18365
18365
|
}, FG = (e) => qD(e, hre), pB = (e, n) => {
|
|
18366
18366
|
const s = rn.makeMap(e.plugins, " "), d = Ie(n, (p) => bo(s, p));
|
|
18367
18367
|
return $t(d);
|
|
18368
|
-
}, E3 = (e) => pB(e,
|
|
18368
|
+
}, E3 = (e) => pB(e, Cc), LG = (e) => pB(e, GD.map((n) => n.name)), YD = (e, n) => {
|
|
18369
18369
|
const s = hB(e), l = E3(n), d = l.length > 0, p = s.length > 0, C = n.theme === "mobile";
|
|
18370
18370
|
if (d || p || C) {
|
|
18371
18371
|
const k = `
|
|
@@ -19725,22 +19725,22 @@ Options:${C}${s.join(C)}` : "";
|
|
|
19725
19725
|
}), t1 = (e) => {
|
|
19726
19726
|
const n = et.fromDom(e.getBody()), s = e.selection.getRng();
|
|
19727
19727
|
return QB(n, s) ? eF(e) : I3(n, e.selection, e.schema);
|
|
19728
|
-
}, Wh = (e, n) => e.selection.isCollapsed() ? te.none() : t1(e),
|
|
19728
|
+
}, Wh = (e, n) => e.selection.isCollapsed() ? te.none() : t1(e), Sc = (e, n, s, l, d) => te.from(n._selectionOverrides.showCaret(e, s, l, d)), _q = (e) => {
|
|
19729
19729
|
const n = e.ownerDocument.createRange();
|
|
19730
19730
|
return n.selectNode(e), n;
|
|
19731
19731
|
}, Px = (e, n) => e.dispatch("BeforeObjectSelected", { target: n }).isDefaultPrevented() ? te.none() : te.some(_q(n)), Eq = (e, n, s) => {
|
|
19732
19732
|
const l = IT(1, e.getBody(), n), d = Qt.fromRangeStart(l), p = d.getNode();
|
|
19733
19733
|
if (Qb(p))
|
|
19734
|
-
return
|
|
19734
|
+
return Sc(1, e, p, !d.isAtEnd(), !1);
|
|
19735
19735
|
const C = d.getNode(!0);
|
|
19736
19736
|
if (Qb(C))
|
|
19737
|
-
return
|
|
19737
|
+
return Sc(1, e, C, !1, !1);
|
|
19738
19738
|
const k = Mm(e.dom.getRoot(), d.getNode());
|
|
19739
|
-
return Qb(k) ?
|
|
19739
|
+
return Qb(k) ? Sc(1, e, k, !1, s) : te.none();
|
|
19740
19740
|
}, mN = (e, n, s) => n.collapsed ? Eq(e, n, s).getOr(n) : n, Tq = (e) => vv(e) || p0(e), kq = (e) => bv(e) || jS(e), Aq = (e, n) => {
|
|
19741
19741
|
An(n) && n.data.length === 0 && e.remove(n);
|
|
19742
19742
|
}, tF = (e, n, s, l, d, p) => {
|
|
19743
|
-
|
|
19743
|
+
Sc(l, e, p.getNode(!d), d, !0).each((C) => {
|
|
19744
19744
|
if (n.collapsed) {
|
|
19745
19745
|
const k = n.cloneRange();
|
|
19746
19746
|
d ? k.setEnd(C.startContainer, C.startOffset) : k.setStart(C.endContainer, C.endOffset), k.deleteContents();
|
|
@@ -20057,14 +20057,14 @@ Options:${C}${s.join(C)}` : "";
|
|
|
20057
20057
|
B.push(Se);
|
|
20058
20058
|
} while (D = p(D));
|
|
20059
20059
|
return B;
|
|
20060
|
-
}, Qq = (e) => (n) => IN(e, n), OF = (e) => (n) => Kq(e, n),
|
|
20060
|
+
}, Qq = (e) => (n) => IN(e, n), OF = (e) => (n) => Kq(e, n), xc = (e, n) => {
|
|
20061
20061
|
e.selection.setRng(n), zw(e, e.selection.getRng());
|
|
20062
20062
|
}, PN = (e, n, s) => te.some(mN(e, n, s)), $F = (e, n, s, l, d, p) => {
|
|
20063
20063
|
const C = n === 1, k = qu(e.getBody()), D = me(o0, C ? k.next : k.prev), B = C ? l : d;
|
|
20064
20064
|
if (!s.collapsed) {
|
|
20065
20065
|
const Re = Pb(s);
|
|
20066
20066
|
if (p(Re))
|
|
20067
|
-
return
|
|
20067
|
+
return Sc(n, e, Re, n === -1, !1);
|
|
20068
20068
|
if (pN(e)) {
|
|
20069
20069
|
const Ee = s.cloneRange();
|
|
20070
20070
|
return Ee.collapse(n === -1), te.from(Ee);
|
|
@@ -20080,9 +20080,9 @@ Options:${C}${s.join(C)}` : "";
|
|
|
20080
20080
|
else
|
|
20081
20081
|
return ie ? te.some(s) : te.none();
|
|
20082
20082
|
if (B(ne))
|
|
20083
|
-
return
|
|
20083
|
+
return Sc(n, e, ne.getNode(!C), C, !1);
|
|
20084
20084
|
const Se = D(ne);
|
|
20085
|
-
return Se && B(Se) && ww(ne, Se) ?
|
|
20085
|
+
return Se && B(Se) && ww(ne, Se) ? Sc(n, e, Se.getNode(!C), C, !1) : ie ? PN(e, ne.toRange(), !1) : te.none();
|
|
20086
20086
|
}, $v = (e, n, s, l, d, p) => {
|
|
20087
20087
|
const C = n0(n, e.getBody(), s), k = Lt(C.getClientRects()), D = n === Ov.Down, B = e.getBody();
|
|
20088
20088
|
if (!k)
|
|
@@ -20094,7 +20094,7 @@ Options:${C}${s.join(C)}` : "";
|
|
|
20094
20094
|
const ne = (D ? Jq : Xq)(B, Qq(1), C), ie = Ie(ne, OF(1)), Se = k.left, Re = TF(ie, Se);
|
|
20095
20095
|
if (Re && p(Re.node)) {
|
|
20096
20096
|
const Ve = Math.abs(Se - Re.left), rt = Math.abs(Se - Re.right);
|
|
20097
|
-
return
|
|
20097
|
+
return Sc(n, e, Re.node, Ve < rt, !1);
|
|
20098
20098
|
}
|
|
20099
20099
|
let Ee;
|
|
20100
20100
|
if (l(C) ? Ee = C.getNode() : d(C) ? Ee = C.getNode(!0) : Ee = Pb(s), Ee) {
|
|
@@ -20471,10 +20471,10 @@ Options:${C}${s.join(C)}` : "";
|
|
|
20471
20471
|
}, sA = (e, n) => {
|
|
20472
20472
|
const s = n ? e.getEnd(!0) : e.getStart(!0);
|
|
20473
20473
|
return m5(s) ? !n : n;
|
|
20474
|
-
}, rA = (e, n) => o1(e, sA(e.selection, n)).exists((s) => (
|
|
20474
|
+
}, rA = (e, n) => o1(e, sA(e.selection, n)).exists((s) => (xc(e, s), !0)), aA = (e, n) => H0(e, n).exists((s) => (xc(e, s), !0)), QN = (e, n) => DF(e, n, n ? bv : vv), iA = (e, n) => hN(e, !n).map((s) => {
|
|
20475
20475
|
const l = s.toRange(), d = e.selection.getRng();
|
|
20476
20476
|
return n ? l.setStart(d.startContainer, d.startOffset) : l.setEnd(d.endContainer, d.endOffset), l;
|
|
20477
|
-
}).exists((s) => (
|
|
20477
|
+
}).exists((s) => (xc(e, s), !0)), sL = (e) => X(["figcaption"], Pe(e)), rL = (e, n, s) => {
|
|
20478
20478
|
const l = me(js, n);
|
|
20479
20479
|
return ea(et.fromDom(e.container()), (d) => s.isBlock(Pe(d)), l).filter(sL);
|
|
20480
20480
|
}, DY = (e, n, s) => n ? Xf(e.dom, s) : Zq(e.dom, s), NY = (e, n) => {
|
|
@@ -20506,10 +20506,10 @@ Options:${C}${s.join(C)}` : "";
|
|
|
20506
20506
|
...n
|
|
20507
20507
|
})), PY = (e, n) => n.keyCode === e.keyCode && n.shiftKey === e.shiftKey && n.altKey === e.altKey && n.ctrlKey === e.ctrlKey && n.metaKey === e.metaKey, BY = (e, n) => Pt(_re(e), (s) => PY(s, n) ? [s] : []), Tre = (e, n) => Pt(Ere(e), (s) => PY(s, n) ? [s] : []), os = (e, ...n) => () => e.apply(null, n), Zx = (e, n) => Nt(BY(e, n), (s) => s.action()), iL = (e, n) => Vo(Tre(e, n), (s) => s.action()), FY = (e, n) => {
|
|
20508
20508
|
const s = n ? 1 : -1, l = e.selection.getRng();
|
|
20509
|
-
return $F(e, s, l, p0, jS, Bi).exists((d) => (
|
|
20509
|
+
return $F(e, s, l, p0, jS, Bi).exists((d) => (xc(e, d), !0));
|
|
20510
20510
|
}, lL = (e, n) => {
|
|
20511
20511
|
const s = n ? 1 : -1, l = e.selection.getRng();
|
|
20512
|
-
return $v(e, s, l, p0, jS, Bi).exists((d) => (
|
|
20512
|
+
return $v(e, s, l, p0, jS, Bi).exists((d) => (xc(e, d), !0));
|
|
20513
20513
|
}, Mu = (e, n) => DF(e, n, n ? jS : p0), n6 = rr.generate([
|
|
20514
20514
|
{ none: ["current"] },
|
|
20515
20515
|
{ first: ["current"] },
|
|
@@ -20587,8 +20587,8 @@ Options:${C}${s.join(C)}` : "";
|
|
|
20587
20587
|
return nf(!e, s).exists((d) => d.isEqual(l));
|
|
20588
20588
|
}, Ore = (e, n, s, l) => {
|
|
20589
20589
|
const d = e.selection.getRng(), p = n ? 1 : -1;
|
|
20590
|
-
return DT() && wL(n, d, s) ? (
|
|
20591
|
-
|
|
20590
|
+
return DT() && wL(n, d, s) ? (Sc(p, e, s, !n, !1).each((C) => {
|
|
20591
|
+
xc(e, C);
|
|
20592
20592
|
}), !0) : !1;
|
|
20593
20593
|
}, $re = (e, n, s) => GY(n, s).orThunk(() => dn(s.getClientRects()).bind((l) => DN(wF(e, Qt.before(n)), l.left))).getOr(Qt.before(n)), Dre = (e, n, s) => i6(n, s).orThunk(() => dn(s.getClientRects()).bind((l) => DN(CF(e, Qt.after(n)), l.left))).getOr(Qt.after(n)), XY = (e, n) => {
|
|
20594
20594
|
const s = n.getNode(e);
|
|
@@ -20596,11 +20596,11 @@ Options:${C}${s.join(C)}` : "";
|
|
|
20596
20596
|
}, JY = (e, n, s) => {
|
|
20597
20597
|
n.undoManager.transact(() => {
|
|
20598
20598
|
const l = e ? Nc : vl, d = QF(n, et.fromDom(s), l);
|
|
20599
|
-
|
|
20599
|
+
xc(n, d);
|
|
20600
20600
|
});
|
|
20601
20601
|
}, qx = (e, n, s) => {
|
|
20602
20602
|
const l = XY(!!n, s), d = n === !1;
|
|
20603
|
-
l.fold(() =>
|
|
20603
|
+
l.fold(() => xc(e, s.toRange()), (p) => nf(d, e.getBody()).filter((C) => C.isEqual(s)).fold(() => xc(e, s.toRange()), (C) => JY(n, e, p)));
|
|
20604
20604
|
}, QY = (e, n, s, l) => {
|
|
20605
20605
|
const d = e.selection.getRng(), p = Qt.fromRangeStart(d), C = e.getBody();
|
|
20606
20606
|
if (!n && Hm(l, p)) {
|
|
@@ -21834,7 +21834,7 @@ Input object: ` + mf(e.input), E6 = (e, n) => e_(e, Yo(n, t_)), zL = pe(SK), bA
|
|
|
21834
21834
|
if (e.mode.isReadOnly())
|
|
21835
21835
|
return;
|
|
21836
21836
|
const s = () => AA(p9, e, n), l = () => AA(c_, e, n), d = IX(e, n);
|
|
21837
|
-
switch (
|
|
21837
|
+
switch (vc(e)) {
|
|
21838
21838
|
case "linebreak":
|
|
21839
21839
|
d.fold(s, s, $e);
|
|
21840
21840
|
break;
|
|
@@ -23005,7 +23005,7 @@ Input object: ` + mf(e.input), E6 = (e, n) => e_(e, Yo(n, t_)), zL = pe(SK), bA
|
|
|
23005
23005
|
const Kt = nn.range, Sn = Kt.startContainer.parentElement;
|
|
23006
23006
|
!Ee(Kt) && !Wn(Sn) && Ln(), D(Sn) || Ht();
|
|
23007
23007
|
}), iQ(e), lQ(e), VH(e);
|
|
23008
|
-
}, Re = (Wn) => Sd(Wn) ||
|
|
23008
|
+
}, Re = (Wn) => Sd(Wn) || hc(Wn) || Gu(Wn), Ee = (Wn) => Re(Wn.startContainer) || Re(Wn.endContainer), Ve = (Wn) => {
|
|
23009
23009
|
const nn = e.schema.getVoidElements(), Kt = s.createRng(), Sn = Wn.startContainer, lo = Wn.startOffset, Do = Wn.endContainer, Es = Wn.endOffset;
|
|
23010
23010
|
return bo(nn, Sn.nodeName.toLowerCase()) ? lo === 0 ? Kt.setStartBefore(Sn) : Kt.setStartAfter(Sn) : Kt.setStart(Sn, lo), bo(nn, Do.nodeName.toLowerCase()) ? Es === 0 ? Kt.setEndBefore(Do) : Kt.setEndAfter(Do) : Kt.setEnd(Do, Es), Kt;
|
|
23011
23011
|
}, rt = (Wn, nn) => {
|
|
@@ -23819,7 +23819,7 @@ Input object: ` + mf(e.input), E6 = (e, n) => e_(e, Yo(n, t_)), zL = pe(SK), bA
|
|
|
23819
23819
|
let n = qO(e) + "<html><head>";
|
|
23820
23820
|
nu(e) !== e.documentBaseUrl && (n += '<base href="' + e.documentBaseURI.getURI() + '" />'), n += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
|
|
23821
23821
|
const s = ow(e), l = iT(e), d = e.translate(fw(e));
|
|
23822
|
-
return
|
|
23822
|
+
return pc(e) && (n += '<meta http-equiv="Content-Security-Policy" content="' + pc(e) + '" />'), n += `</head><body id="${s}" class="mce-content-body ${l}" data-id="${e.id}" aria-label="${d}"><br></body></html>`, n;
|
|
23823
23823
|
}, s1 = (e, n) => {
|
|
23824
23824
|
const s = ot.browser.isFirefox() ? fw(e) : "Rich Text Area", l = e.translate(s), d = ha(et.fromDom(e.getElement()), "tabindex").bind(Ea), p = XA(e.id, l, GO(e), d).dom;
|
|
23825
23825
|
p.onload = () => {
|
|
@@ -26083,7 +26083,7 @@ tinymce.IconManager.add("default", {
|
|
|
26083
26083
|
}, ys = (t, a) => t.dom === a.dom, Yi = (t, a) => {
|
|
26084
26084
|
const c = t.dom, f = a.dom;
|
|
26085
26085
|
return c === f ? !1 : c.contains(f);
|
|
26086
|
-
}, Cr = (t) => Gt.fromDom(t.dom.ownerDocument),
|
|
26086
|
+
}, Cr = (t) => Gt.fromDom(t.dom.ownerDocument), rc = (t) => Ea(t) ? t : Cr(t), xi = (t) => Gt.fromDom(rc(t).dom.documentElement), hl = (t) => Gt.fromDom(rc(t).dom.defaultView), ya = (t) => M.from(t.dom.parentNode).map(Gt.fromDom), ac = (t) => ya(t), Di = (t) => M.from(t.dom.parentElement).map(Gt.fromDom), ic = (t, a) => {
|
|
26087
26087
|
const c = K(a) ? a : ve;
|
|
26088
26088
|
let f = t.dom;
|
|
26089
26089
|
const b = [];
|
|
@@ -26094,7 +26094,7 @@ tinymce.IconManager.add("default", {
|
|
|
26094
26094
|
f = x;
|
|
26095
26095
|
}
|
|
26096
26096
|
return b;
|
|
26097
|
-
}, zl = (t) => M.from(t.dom.offsetParent).map(Gt.fromDom),
|
|
26097
|
+
}, zl = (t) => M.from(t.dom.offsetParent).map(Gt.fromDom), lc = (t) => M.from(t.dom.nextSibling).map(Gt.fromDom), jr = (t) => Me(t.dom.childNodes, Gt.fromDom), Ki = (t, a) => {
|
|
26098
26098
|
const c = t.dom.childNodes;
|
|
26099
26099
|
return M.from(c[a]).map(Gt.fromDom);
|
|
26100
26100
|
}, Ul = (t) => Ki(t, 0), jl = (t, a) => ({
|
|
@@ -26103,7 +26103,7 @@ tinymce.IconManager.add("default", {
|
|
|
26103
26103
|
}), Gc = (t, a) => {
|
|
26104
26104
|
const c = jr(t);
|
|
26105
26105
|
return c.length > 0 && a < c.length ? jl(c[a], 0) : jl(t, a);
|
|
26106
|
-
}, Ni = (t) => ba(t) && W(t.dom.host), Qr = (t) => Gt.fromDom(t.dom.getRootNode()), aa = (t) => Ni(t) ? t : Gt.fromDom(
|
|
26106
|
+
}, Ni = (t) => ba(t) && W(t.dom.host), Qr = (t) => Gt.fromDom(t.dom.getRootNode()), aa = (t) => Ni(t) ? t : Gt.fromDom(rc(t).dom.body), pi = (t) => Ac(t).isSome(), Ac = (t) => {
|
|
26107
26107
|
const a = Qr(t);
|
|
26108
26108
|
return Ni(a) ? M.some(a) : M.none();
|
|
26109
26109
|
}, Oc = (t) => Gt.fromDom(t.dom.host), Za = (t) => {
|
|
@@ -26413,7 +26413,7 @@ tinymce.IconManager.add("default", {
|
|
|
26413
26413
|
], cd = {
|
|
26414
26414
|
browsers: Q(wu),
|
|
26415
26415
|
oses: Q(Qm)
|
|
26416
|
-
}, Ef = "Edge", Tf = "Chromium", Pd = "IE", Bd = "Opera",
|
|
26416
|
+
}, Ef = "Edge", Tf = "Chromium", Pd = "IE", Bd = "Opera", cc = "Firefox", Ji = "Safari", h1 = () => Fu({
|
|
26417
26417
|
current: void 0,
|
|
26418
26418
|
version: Wr.unknown()
|
|
26419
26419
|
}), Fu = (t) => {
|
|
@@ -26425,7 +26425,7 @@ tinymce.IconManager.add("default", {
|
|
|
26425
26425
|
isChromium: f(Tf),
|
|
26426
26426
|
isIE: f(Pd),
|
|
26427
26427
|
isOpera: f(Bd),
|
|
26428
|
-
isFirefox: f(
|
|
26428
|
+
isFirefox: f(cc),
|
|
26429
26429
|
isSafari: f(Ji)
|
|
26430
26430
|
};
|
|
26431
26431
|
}, Qg = {
|
|
@@ -26435,7 +26435,7 @@ tinymce.IconManager.add("default", {
|
|
|
26435
26435
|
chromium: Q(Tf),
|
|
26436
26436
|
ie: Q(Pd),
|
|
26437
26437
|
opera: Q(Bd),
|
|
26438
|
-
firefox: Q(
|
|
26438
|
+
firefox: Q(cc),
|
|
26439
26439
|
safari: Q(Ji)
|
|
26440
26440
|
}, kf = "Windows", eh = "iOS", eg = "Android", Af = "Linux", tg = "macOS", th = "Solaris", Fd = "FreeBSD", nh = "ChromeOS", et = () => Of({
|
|
26441
26441
|
current: void 0,
|
|
@@ -26497,7 +26497,7 @@ tinymce.IconManager.add("default", {
|
|
|
26497
26497
|
f.dom.insertBefore(a.dom, t.dom);
|
|
26498
26498
|
});
|
|
26499
26499
|
}, fd = (t, a) => {
|
|
26500
|
-
|
|
26500
|
+
lc(t).fold(() => {
|
|
26501
26501
|
ya(t).each((b) => {
|
|
26502
26502
|
Dc(b, a);
|
|
26503
26503
|
});
|
|
@@ -26698,7 +26698,7 @@ tinymce.IconManager.add("default", {
|
|
|
26698
26698
|
}, $l = (t, a) => t.stype === Na.Error ? {
|
|
26699
26699
|
stype: Na.Error,
|
|
26700
26700
|
serror: a(t.serror)
|
|
26701
|
-
} : t,
|
|
26701
|
+
} : t, uc = (t, a) => t.stype === Na.Value ? {
|
|
26702
26702
|
stype: Na.Value,
|
|
26703
26703
|
svalue: a(t.svalue)
|
|
26704
26704
|
} : t, vi = (t, a) => t.stype === Na.Value ? a(t.svalue) : t, vl = (t, a) => t.stype === Na.Error ? a(t.serror) : t, Nc = (t) => ({
|
|
@@ -26715,7 +26715,7 @@ tinymce.IconManager.add("default", {
|
|
|
26715
26715
|
serror: ah,
|
|
26716
26716
|
bind: vi,
|
|
26717
26717
|
bindError: vl,
|
|
26718
|
-
map:
|
|
26718
|
+
map: uc,
|
|
26719
26719
|
mapError: $l,
|
|
26720
26720
|
fold: Vd
|
|
26721
26721
|
}, zd = (t, a, c, f) => ({
|
|
@@ -26776,7 +26776,7 @@ tinymce.IconManager.add("default", {
|
|
|
26776
26776
|
}, Co = (t, a) => Ha.serror([{
|
|
26777
26777
|
path: t,
|
|
26778
26778
|
getErrorInfo: a
|
|
26779
|
-
}]), ta = (t, a, c) => Co(t, () => 'Could not find valid *required* value for "' + a + '" in ' + fs(c)), Sa = (t, a) => Co(t, () => 'Choice schema did not contain choice key: "' + a + '"'), Rc = (t, a, c) => Co(t, () => 'The chosen schema: "' + c + '" did not exist in branches: ' + fs(a)),
|
|
26779
|
+
}]), ta = (t, a, c) => Co(t, () => 'Could not find valid *required* value for "' + a + '" in ' + fs(c)), Sa = (t, a) => Co(t, () => 'Choice schema did not contain choice key: "' + a + '"'), Rc = (t, a, c) => Co(t, () => 'The chosen schema: "' + c + '" did not exist in branches: ' + fs(a)), dc = (t, a) => Co(t, () => "There are unsupported fields: [" + a.join(", ") + "] specified"), gb = (t, a) => Co(t, Q(a)), dm = (t) => {
|
|
26780
26780
|
const a = (f, b) => Ha.bindError(t(b), (x) => gb(f, x)), c = Q("val");
|
|
26781
26781
|
return {
|
|
26782
26782
|
extract: a,
|
|
@@ -26830,7 +26830,7 @@ tinymce.IconManager.add("default", {
|
|
|
26830
26830
|
return {
|
|
26831
26831
|
extract: (b, x) => {
|
|
26832
26832
|
const _ = R(x) ? [] : hb(x), N = ht(_, (P) => !gr(c, P));
|
|
26833
|
-
return N.length === 0 ? a.extract(b, x) :
|
|
26833
|
+
return N.length === 0 ? a.extract(b, x) : dc(b, N);
|
|
26834
26834
|
},
|
|
26835
26835
|
toString: a.toString
|
|
26836
26836
|
};
|
|
@@ -26920,7 +26920,7 @@ tinymce.IconManager.add("default", {
|
|
|
26920
26920
|
` + as(t.errors).join(`
|
|
26921
26921
|
`) + `
|
|
26922
26922
|
|
|
26923
|
-
Input object: ` + fs(t.input), bi = (t, a) => mm(t, $t(a, Zo)), uh = (t, a) => xy(t, a), yi = zd, Xs = Hu, T1 = (t) => ip((a) => Ze(t, a) ? cs.value(a) : cs.error(`Unsupported value: "${a}", choose one of "${t.join(", ")}".`)), cn = (t) => yi(t, t, Mc(), Vu()), Js = (t, a) => yi(t, t, Mc(), a), vb = (t) => Js(t, fm), Ya = (t) => Js(t, eo), _u = (t, a) => yi(t, t, Mc(), T1(a)), Bi = (t) => Js(t, pb), eC = (t, a) => yi(t, t, lh(), dm((c) => Ha.serror("The field: " + t + " is forbidden. " + a))), Wd = (t, a) => yi(t, t, Mc(), Zo(a)), Ey = (t, a) => yi(t, t, Mc(), E1(a)),
|
|
26923
|
+
Input object: ` + fs(t.input), bi = (t, a) => mm(t, $t(a, Zo)), uh = (t, a) => xy(t, a), yi = zd, Xs = Hu, T1 = (t) => ip((a) => Ze(t, a) ? cs.value(a) : cs.error(`Unsupported value: "${a}", choose one of "${t.join(", ")}".`)), cn = (t) => yi(t, t, Mc(), Vu()), Js = (t, a) => yi(t, t, Mc(), a), vb = (t) => Js(t, fm), Ya = (t) => Js(t, eo), _u = (t, a) => yi(t, t, Mc(), T1(a)), Bi = (t) => Js(t, pb), eC = (t, a) => yi(t, t, lh(), dm((c) => Ha.serror("The field: " + t + " is forbidden. " + a))), Wd = (t, a) => yi(t, t, Mc(), Zo(a)), Ey = (t, a) => yi(t, t, Mc(), E1(a)), fc = (t, a) => yi(t, t, Mc(), xu(a)), er = (t) => yi(t, t, lh(), Vu()), Zd = (t, a) => yi(t, t, lh(), a), lp = (t) => Zd(t, fm), Ma = (t) => Zd(t, eo), cp = (t, a) => Zd(t, T1(a)), Rf = (t) => Zd(t, pb), Ty = (t, a) => Zd(t, xu(a)), Gl = (t, a) => Zd(t, Zo(a)), Kc = (t, a) => Zd(t, ol(a)), kt = (t, a) => yi(t, t, Mf(a), Vu()), Ic = (t, a, c) => yi(t, t, Mf(a), c), wi = (t, a) => Ic(t, a, fm), la = (t, a) => Ic(t, a, eo), Xc = (t, a, c) => Ic(t, a, T1(c)), Ra = (t, a) => Ic(t, a, Yc), $r = (t, a) => Ic(t, a, pb), mg = (t, a) => Ic(t, a, zu), I = (t, a, c) => Ic(t, a, xu(c)), z = (t, a, c) => Ic(t, a, Zo(c)), Ae = { generate: (t) => {
|
|
26924
26924
|
if (!A(t))
|
|
26925
26925
|
throw new Error("cases must be an array");
|
|
26926
26926
|
if (t.length === 0)
|
|
@@ -27019,7 +27019,7 @@ Required: ` + a.join(", "));
|
|
|
27019
27019
|
}, ts = (t, a) => ln(t, a), us = (t, a) => Bn(t, a), xr = (t) => ho(t), br = (t, a) => t.length === 0 ? cs.value(a) : cs.value(Gr(a, pd.apply(void 0, t))), ca = (t) => cs.error(le(t)), ql = (t, a) => {
|
|
27020
27020
|
const c = lt(t);
|
|
27021
27021
|
return c.errors.length > 0 ? ca(c.errors) : br(c.values, a);
|
|
27022
|
-
}, yd = (t) => K(t) ? t : ve,
|
|
27022
|
+
}, yd = (t) => K(t) ? t : ve, mc = (t, a, c) => {
|
|
27023
27023
|
let f = t.dom;
|
|
27024
27024
|
const b = yd(c);
|
|
27025
27025
|
for (; f.parentNode; ) {
|
|
@@ -27033,7 +27033,7 @@ Required: ` + a.join(", "));
|
|
|
27033
27033
|
return M.none();
|
|
27034
27034
|
}, Uu = (t, a, c) => {
|
|
27035
27035
|
const f = a(t), b = yd(c);
|
|
27036
|
-
return f.orThunk(() => b(t) ? M.none() :
|
|
27036
|
+
return f.orThunk(() => b(t) ? M.none() : mc(t, a, b));
|
|
27037
27037
|
}, dh = (t, a) => ys(t.element, a.event.target), fh = {
|
|
27038
27038
|
can: $e,
|
|
27039
27039
|
abort: ve,
|
|
@@ -27060,7 +27060,7 @@ Required: ` + a.join(", "));
|
|
|
27060
27060
|
});
|
|
27061
27061
|
}
|
|
27062
27062
|
};
|
|
27063
|
-
}, Ti = Q, ju = Ti("touchstart"), Ws = Ti("touchmove"), Ir = Ti("touchend"),
|
|
27063
|
+
}, Ti = Q, ju = Ti("touchstart"), Ws = Ti("touchmove"), Ir = Ti("touchend"), gc = Ti("touchcancel"), Va = Ti("mousedown"), A1 = Ti("mousemove"), dp = Ti("mouseout"), gm = Ti("mouseup"), Pc = Ti("mouseover"), Gd = Ti("focusin"), dE = Ti("focusout"), Dl = Ti("keydown"), ky = Ti("keyup"), hm = Ti("input"), gg = Ti("change"), pm = Ti("click"), lO = Ti("transitioncancel"), O1 = Ti("transitionend"), cO = Ti("transitionstart"), hh = Ti("selectstart"), Ka = (t) => Q("alloy." + t), fE = { tap: Ka("tap") }, vm = Ka("focus"), hg = Ka("blur.post"), fp = Ka("paste.post"), qd = Ka("receive"), Kl = Ka("execute"), mp = Ka("focus.item"), bb = fE.tap, CI = Ka("longpress"), bm = Ka("sandbox.close"), bl = Ka("typeahead.cancel"), yb = Ka("system.init"), uO = Ka("system.touchmove"), dO = Ka("system.touchend"), tC = Ka("system.scroll"), $1 = Ka("system.resize"), Yd = Ka("system.attached"), Kd = Ka("system.detached"), ph = Ka("system.dismissRequested"), gp = Ka("system.repositionRequested"), wb = Ka("focusmanager.shifted"), D1 = Ka("slotcontainer.visibility"), pg = Ka("system.external.element.scroll"), vh = Ka("change.tab"), Cb = Ka("dismiss.tab"), Ay = Ka("highlight"), Oy = Ka("dehighlight"), Os = (t, a) => {
|
|
27064
27064
|
Dy(t, t.element, a, {});
|
|
27065
27065
|
}, Oo = (t, a, c) => {
|
|
27066
27066
|
Dy(t, t.element, a, c);
|
|
@@ -27615,7 +27615,7 @@ Required: ` + a.join(", "));
|
|
|
27615
27615
|
const Bf = Q(Zo(Cp())), Sd = Wd("initSize", [
|
|
27616
27616
|
cn("numColumns"),
|
|
27617
27617
|
cn("numRows")
|
|
27618
|
-
]), gC = () => Js("markers", Bf()), Rb = () => Wd("markers", [cn("backgroundMenu")].concat(kh()).concat(Cp())), Ff = (t) => Wd("markers", Me(t, cn)), V1 = (t, a, c) => (Uy(), yi(a, a, c, ip((f) => cs.value((...b) => f.apply(void 0, b))))), Zs = (t) => V1("onHandler", t, Mf(j)),
|
|
27618
|
+
]), gC = () => Js("markers", Bf()), Rb = () => Wd("markers", [cn("backgroundMenu")].concat(kh()).concat(Cp())), Ff = (t) => Wd("markers", Me(t, cn)), V1 = (t, a, c) => (Uy(), yi(a, a, c, ip((f) => cs.value((...b) => f.apply(void 0, b))))), Zs = (t) => V1("onHandler", t, Mf(j)), hc = (t) => V1("onKeyboardHandler", t, Mf(M.none)), Gu = (t) => V1("onHandler", t, Mc()), hC = (t) => V1("onKeyboardHandler", t, Mc()), na = (t, a) => Xs(t, Q(a)), pC = (t) => Xs(t, We), Ah = Q(Sd);
|
|
27619
27619
|
var Sp = [
|
|
27620
27620
|
Gl("contextual", [
|
|
27621
27621
|
Ya("fadeInClass"),
|
|
@@ -28240,17 +28240,17 @@ Receiver: ` + eu(a.element), V, x.data);
|
|
|
28240
28240
|
styles: a.useFixed() ? {} : { position: "relative" }
|
|
28241
28241
|
})
|
|
28242
28242
|
});
|
|
28243
|
-
const
|
|
28243
|
+
const pc = (t, a = !1) => t.dom.focus({ preventScroll: a }), Em = (t) => t.dom.blur(), Hi = (t) => {
|
|
28244
28244
|
const a = Qr(t).dom;
|
|
28245
28245
|
return t.dom === a.activeElement;
|
|
28246
|
-
}, _d = (t = Df()) => M.from(t.dom.activeElement).map(Gt.fromDom),
|
|
28246
|
+
}, _d = (t = Df()) => M.from(t.dom.activeElement).map(Gt.fromDom), vc = (t) => _d(Qr(t)).filter((a) => t.dom.contains(a.dom)), PC = (t, a) => {
|
|
28247
28247
|
const c = Qr(a), f = _d(c).bind((x) => {
|
|
28248
28248
|
const _ = (N) => ys(x, N);
|
|
28249
28249
|
return _(a) ? M.some(a) : _C(a, _);
|
|
28250
28250
|
}), b = t(a);
|
|
28251
28251
|
return f.each((x) => {
|
|
28252
28252
|
_d(c).filter((_) => ys(_, x)).fold(() => {
|
|
28253
|
-
|
|
28253
|
+
pc(x);
|
|
28254
28254
|
}, j);
|
|
28255
28255
|
}), b;
|
|
28256
28256
|
}, sw = Ae.generate([
|
|
@@ -28811,7 +28811,7 @@ Receiver: ` + eu(a.element), V, x.data);
|
|
|
28811
28811
|
}
|
|
28812
28812
|
});
|
|
28813
28813
|
Q1.ltr, Q1.rtl;
|
|
28814
|
-
const OT = (t, a, c) => ht(
|
|
28814
|
+
const OT = (t, a, c) => ht(ic(t, c), a), Uc = (t, a) => $i(a, t), NI = (t, a, c, f) => {
|
|
28815
28815
|
const x = Cr(t).dom.createRange();
|
|
28816
28816
|
return x.setStart(t.dom, a), x.setEnd(c.dom, f), x;
|
|
28817
28817
|
}, v$ = (t, a, c, f) => {
|
|
@@ -28944,7 +28944,7 @@ Receiver: ` + eu(a.element), V, x.data);
|
|
|
28944
28944
|
makeshift: a$
|
|
28945
28945
|
});
|
|
28946
28946
|
const yw = [
|
|
28947
|
-
|
|
28947
|
+
fc("classes", eo),
|
|
28948
28948
|
Xc("mode", "all", [
|
|
28949
28949
|
"all",
|
|
28950
28950
|
"layout",
|
|
@@ -29744,7 +29744,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29744
29744
|
}, Eo = (t) => (a) => {
|
|
29745
29745
|
const c = a.raw;
|
|
29746
29746
|
return Ze(t, c.which);
|
|
29747
|
-
}, Vr = (t) => (a) => be(t, (c) => c(a)),
|
|
29747
|
+
}, Vr = (t) => (a) => be(t, (c) => c(a)), bc = (t) => t.raw.shiftKey === !0, Hh = (t) => t.raw.ctrlKey === !0, sf = Oe(bc), Bs = (t, a) => ({
|
|
29748
29748
|
matches: t,
|
|
29749
29749
|
classification: a
|
|
29750
29750
|
}), Er = (t, a) => X(t, (f) => f.matches(a)).map((f) => f.classification), Bl = (t, a, c) => {
|
|
@@ -29753,7 +29753,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29753
29753
|
newFocus: c
|
|
29754
29754
|
});
|
|
29755
29755
|
}, zi = () => {
|
|
29756
|
-
const t = (c) =>
|
|
29756
|
+
const t = (c) => vc(c.element);
|
|
29757
29757
|
return {
|
|
29758
29758
|
get: t,
|
|
29759
29759
|
set: (c, f) => {
|
|
@@ -29824,7 +29824,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29824
29824
|
}
|
|
29825
29825
|
};
|
|
29826
29826
|
return P;
|
|
29827
|
-
},
|
|
29827
|
+
}, yc = (t) => {
|
|
29828
29828
|
const a = [
|
|
29829
29829
|
er("onEscape"),
|
|
29830
29830
|
er("onEnter"),
|
|
@@ -29851,9 +29851,9 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29851
29851
|
}, Z = (Ye, xt, pt) => {
|
|
29852
29852
|
const Vt = pt.cyclic ? hr : pr;
|
|
29853
29853
|
return P(Ye, xt, pt, Vt);
|
|
29854
|
-
}, oe = (Ye) =>
|
|
29854
|
+
}, oe = (Ye) => ac(Ye).bind(Ul).exists((xt) => ys(xt, Ye)), ge = (Ye, xt, pt) => b(Ye, pt).filter((Vt) => !pt.useTabstopAt(Vt)).bind((Vt) => (oe(Vt) ? V : Z)(Ye, xt, pt)), xe = (Ye, xt, pt) => pt.onEnter.bind((Vt) => Vt(Ye, xt)), Be = (Ye, xt, pt) => pt.onEscape.bind((Vt) => Vt(Ye, xt)), Le = Q([
|
|
29855
29855
|
Bs(Vr([
|
|
29856
|
-
|
|
29856
|
+
bc,
|
|
29857
29857
|
Eo(Rt)
|
|
29858
29858
|
]), V),
|
|
29859
29859
|
Bs(Eo(Rt), Z),
|
|
@@ -29867,7 +29867,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29867
29867
|
]);
|
|
29868
29868
|
return rf(a, wd.init, Le, yt, () => M.some(_));
|
|
29869
29869
|
};
|
|
29870
|
-
var PS =
|
|
29870
|
+
var PS = yc(Xs("cyclic", ve)), g0 = yc(Xs("cyclic", $e));
|
|
29871
29871
|
const Nm = (t, a, c) => ($y(t, c, Kl()), M.some(!0)), Ui = (t, a, c) => dv(c) && Eo(In)(a.event) ? M.none() : Nm(t, a, c), $g = (t, a) => M.some(!0), z$ = [
|
|
29872
29872
|
kt("execute", Ui),
|
|
29873
29873
|
kt("useSpace", !1),
|
|
@@ -29943,7 +29943,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29943
29943
|
}), GI = (t, a, c, f) => WI(t, a, c, f, 1), Bj = (t, a, c, f) => WI(t, a, c, f, -1), jse = (t, a, c, f) => ZI(t, a, c, f, -1), Wse = (t, a, c, f) => ZI(t, a, c, f, 1), Fj = [
|
|
29944
29944
|
cn("selector"),
|
|
29945
29945
|
kt("execute", Ui),
|
|
29946
|
-
|
|
29946
|
+
hc("onEscape"),
|
|
29947
29947
|
kt("captureTab", !1),
|
|
29948
29948
|
Ah()
|
|
29949
29949
|
], Lj = (t, a, c) => {
|
|
@@ -29956,7 +29956,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29956
29956
|
Bs(Eo(po), zI(JI)),
|
|
29957
29957
|
Bs(Eo(Ho), UI(QI)),
|
|
29958
29958
|
Bs(Vr([
|
|
29959
|
-
|
|
29959
|
+
bc,
|
|
29960
29960
|
Eo(Rt)
|
|
29961
29961
|
]), qI),
|
|
29962
29962
|
Bs(Vr([
|
|
@@ -29985,7 +29985,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29985
29985
|
cn("selector"),
|
|
29986
29986
|
kt("getInitial", M.none),
|
|
29987
29987
|
kt("execute", Ui),
|
|
29988
|
-
|
|
29988
|
+
hc("onEscape"),
|
|
29989
29989
|
kt("executeOnMove", !1),
|
|
29990
29990
|
kt("allowVertical", !0),
|
|
29991
29991
|
kt("allowHorizontal", !0),
|
|
@@ -30038,7 +30038,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30038
30038
|
}).each((b) => {
|
|
30039
30039
|
a.focusManager.set(t, b);
|
|
30040
30040
|
});
|
|
30041
|
-
}, hP = (t, a, c) =>
|
|
30041
|
+
}, hP = (t, a, c) => vc(t.element).bind((f) => c.execute(t, a, f)), Yj = (t, a) => Me(t, (c) => Uc(c, a.selectors.cell)), Tk = (t, a) => (c, f, b) => {
|
|
30042
30042
|
const x = b.cycles ? t : a;
|
|
30043
30043
|
return Qd(f, b.selectors.row).bind((_) => {
|
|
30044
30044
|
const N = Uc(_, b.selectors.cell);
|
|
@@ -30070,7 +30070,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30070
30070
|
Bs(Eo(po), Vw(xP)),
|
|
30071
30071
|
Bs(Eo(Ho), Vw(_P)),
|
|
30072
30072
|
Bs(Vr([
|
|
30073
|
-
|
|
30073
|
+
bc,
|
|
30074
30074
|
Eo(Rt)
|
|
30075
30075
|
]), EP),
|
|
30076
30076
|
Bs(Vr([
|
|
@@ -30082,16 +30082,16 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30082
30082
|
]), kP = Q([Bs(Eo(In), $g)]);
|
|
30083
30083
|
var AP = rf(CP, wd.init, hv, kP, () => M.some(Jj));
|
|
30084
30084
|
const OP = [
|
|
30085
|
-
|
|
30086
|
-
|
|
30087
|
-
|
|
30088
|
-
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
|
|
30092
|
-
|
|
30093
|
-
|
|
30094
|
-
|
|
30085
|
+
hc("onSpace"),
|
|
30086
|
+
hc("onEnter"),
|
|
30087
|
+
hc("onShiftEnter"),
|
|
30088
|
+
hc("onLeft"),
|
|
30089
|
+
hc("onRight"),
|
|
30090
|
+
hc("onTab"),
|
|
30091
|
+
hc("onShiftTab"),
|
|
30092
|
+
hc("onUp"),
|
|
30093
|
+
hc("onDown"),
|
|
30094
|
+
hc("onEscape"),
|
|
30095
30095
|
kt("stopSpaceKeyup", !1),
|
|
30096
30096
|
er("focusIn")
|
|
30097
30097
|
], Qj = (t, a, c) => [
|
|
@@ -30101,11 +30101,11 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30101
30101
|
Eo(_n)
|
|
30102
30102
|
]), c.onEnter),
|
|
30103
30103
|
Bs(Vr([
|
|
30104
|
-
|
|
30104
|
+
bc,
|
|
30105
30105
|
Eo(_n)
|
|
30106
30106
|
]), c.onShiftEnter),
|
|
30107
30107
|
Bs(Vr([
|
|
30108
|
-
|
|
30108
|
+
bc,
|
|
30109
30109
|
Eo(Rt)
|
|
30110
30110
|
]), c.onShiftTab),
|
|
30111
30111
|
Bs(Vr([
|
|
@@ -30221,7 +30221,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30221
30221
|
}
|
|
30222
30222
|
};
|
|
30223
30223
|
}, t5 = (t, a) => {
|
|
30224
|
-
a.ignore || (
|
|
30224
|
+
a.ignore || (pc(t.element), a.onFocus(t));
|
|
30225
30225
|
};
|
|
30226
30226
|
var PP = /* @__PURE__ */ Object.freeze({
|
|
30227
30227
|
__proto__: null,
|
|
@@ -30347,7 +30347,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30347
30347
|
Ww()
|
|
30348
30348
|
]));
|
|
30349
30349
|
}, s5 = "alloy.item-hover", r5 = "alloy.item-focus", VP = "alloy.item-toggled", zP = (t) => {
|
|
30350
|
-
(
|
|
30350
|
+
(vc(t.element).isNone() || Go.isFocused(t)) && (Go.isFocused(t) || Go.focus(t), Oo(t, s5, { item: t }));
|
|
30351
30351
|
}, a5 = (t) => {
|
|
30352
30352
|
Oo(t, r5, { item: t });
|
|
30353
30353
|
}, vW = (t, a) => {
|
|
@@ -31499,7 +31499,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
31499
31499
|
case "children-normal":
|
|
31500
31500
|
return [
|
|
31501
31501
|
sn(Gd(), (_, N) => {
|
|
31502
|
-
|
|
31502
|
+
vc(_.element).each((P) => {
|
|
31503
31503
|
lr(N.event.target, "[data-mce-tooltip]") && a.getTooltip().fold(() => {
|
|
31504
31504
|
Os(_, ex);
|
|
31505
31505
|
}, (V) => {
|
|
@@ -31508,7 +31508,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
31508
31508
|
});
|
|
31509
31509
|
}),
|
|
31510
31510
|
sn(hg(), (_) => {
|
|
31511
|
-
|
|
31511
|
+
vc(_.element).fold(() => {
|
|
31512
31512
|
Os(_, QS);
|
|
31513
31513
|
}, j);
|
|
31514
31514
|
}),
|
|
@@ -31530,7 +31530,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
31530
31530
|
default:
|
|
31531
31531
|
return [
|
|
31532
31532
|
sn(Gd(), (_, N) => {
|
|
31533
|
-
|
|
31533
|
+
vc(_.element).each((P) => {
|
|
31534
31534
|
lr(N.event.target, "[data-mce-tooltip]") && a.getTooltip().fold(() => {
|
|
31535
31535
|
Os(_, ex);
|
|
31536
31536
|
}, (V) => {
|
|
@@ -31539,7 +31539,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
31539
31539
|
});
|
|
31540
31540
|
}),
|
|
31541
31541
|
sn(hg(), (_) => {
|
|
31542
|
-
|
|
31542
|
+
vc(_.element).fold(() => {
|
|
31543
31543
|
Os(_, QS);
|
|
31544
31544
|
}, j);
|
|
31545
31545
|
})
|
|
@@ -31869,7 +31869,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
31869
31869
|
enumerable: !0,
|
|
31870
31870
|
value: !1
|
|
31871
31871
|
}
|
|
31872
|
-
})), vf = null,
|
|
31872
|
+
})), vf = null, _c = null, bf = !0, yf = !0, jm = !1, A_ = !0, Xh = !1, eR = !0, ty = !1, tR = !1, lte = !1, u4 = !1, tz = !1, nz = !1, aae = !0, iae = !1;
|
|
31873
31873
|
const Uhe = "user-content-";
|
|
31874
31874
|
let cte = !0, nR = !1, d4 = {}, f4 = null;
|
|
31875
31875
|
const lae = oa({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -31890,7 +31890,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
31890
31890
|
let qt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
31891
31891
|
if (!(g4 && g4 === qt)) {
|
|
31892
31892
|
if ((!qt || typeof qt != "object") && (qt = {}), qt = Tv(qt), oR = // eslint-disable-next-line unicorn/prefer-includes
|
|
31893
|
-
Zhe.indexOf(qt.PARSER_MEDIA_TYPE) === -1 ? Ghe : qt.PARSER_MEDIA_TYPE, rd = oR === "application/xhtml+xml" ? L5 : Kk, ss = Ng(qt, "ALLOWED_TAGS") ? oa({}, qt.ALLOWED_TAGS, rd) : Br, kr = Ng(qt, "ALLOWED_ATTR") ? oa({}, qt.ALLOWED_ATTR, rd) : sd, fte = Ng(qt, "ALLOWED_NAMESPACES") ? oa({}, qt.ALLOWED_NAMESPACES, L5) : jhe, ute = Ng(qt, "ADD_URI_SAFE_ATTR") ? oa(Tv(dae), qt.ADD_URI_SAFE_ATTR, rd) : dae, cae = Ng(qt, "ADD_DATA_URI_TAGS") ? oa(Tv(uae), qt.ADD_DATA_URI_TAGS, rd) : uae, f4 = Ng(qt, "FORBID_CONTENTS") ? oa({}, qt.FORBID_CONTENTS, rd) : lae, vf = Ng(qt, "FORBID_TAGS") ? oa({}, qt.FORBID_TAGS, rd) : {},
|
|
31893
|
+
Zhe.indexOf(qt.PARSER_MEDIA_TYPE) === -1 ? Ghe : qt.PARSER_MEDIA_TYPE, rd = oR === "application/xhtml+xml" ? L5 : Kk, ss = Ng(qt, "ALLOWED_TAGS") ? oa({}, qt.ALLOWED_TAGS, rd) : Br, kr = Ng(qt, "ALLOWED_ATTR") ? oa({}, qt.ALLOWED_ATTR, rd) : sd, fte = Ng(qt, "ALLOWED_NAMESPACES") ? oa({}, qt.ALLOWED_NAMESPACES, L5) : jhe, ute = Ng(qt, "ADD_URI_SAFE_ATTR") ? oa(Tv(dae), qt.ADD_URI_SAFE_ATTR, rd) : dae, cae = Ng(qt, "ADD_DATA_URI_TAGS") ? oa(Tv(uae), qt.ADD_DATA_URI_TAGS, rd) : uae, f4 = Ng(qt, "FORBID_CONTENTS") ? oa({}, qt.FORBID_CONTENTS, rd) : lae, vf = Ng(qt, "FORBID_TAGS") ? oa({}, qt.FORBID_TAGS, rd) : {}, _c = Ng(qt, "FORBID_ATTR") ? oa({}, qt.FORBID_ATTR, rd) : {}, d4 = Ng(qt, "USE_PROFILES") ? qt.USE_PROFILES : !1, bf = qt.ALLOW_ARIA_ATTR !== !1, yf = qt.ALLOW_DATA_ATTR !== !1, jm = qt.ALLOW_UNKNOWN_PROTOCOLS || !1, A_ = qt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Xh = qt.SAFE_FOR_TEMPLATES || !1, eR = qt.SAFE_FOR_XML !== !1, ty = qt.WHOLE_DOCUMENT || !1, u4 = qt.RETURN_DOM || !1, tz = qt.RETURN_DOM_FRAGMENT || !1, nz = qt.RETURN_TRUSTED_TYPE || !1, lte = qt.FORCE_BODY || !1, aae = qt.SANITIZE_DOM !== !1, iae = qt.SANITIZE_NAMED_PROPS || !1, cte = qt.KEEP_CONTENT !== !1, nR = qt.IN_PLACE || !1, Po = qt.ALLOWED_URI_REGEXP || _8, m4 = qt.NAMESPACE || ny, rz = qt.MATHML_TEXT_INTEGRATION_POINTS || rz, az = qt.HTML_INTEGRATION_POINTS || az, Fa = qt.CUSTOM_ELEMENT_HANDLING || {}, qt.CUSTOM_ELEMENT_HANDLING && fae(qt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Fa.tagNameCheck = qt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), qt.CUSTOM_ELEMENT_HANDLING && fae(qt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Fa.attributeNameCheck = qt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), qt.CUSTOM_ELEMENT_HANDLING && typeof qt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Fa.allowCustomizedBuiltInElements = qt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Xh && (yf = !1), tz && (u4 = !0), d4 && (ss = oa({}, Mg), kr = [], d4.html === !0 && (oa(ss, Xk), oa(kr, Qk)), d4.svg === !0 && (oa(ss, rx), oa(kr, V5), oa(kr, e3)), d4.svgFilters === !0 && (oa(ss, Jk), oa(kr, V5), oa(kr, e3)), d4.mathMl === !0 && (oa(ss, Kw), oa(kr, S8), oa(kr, e3))), qt.ADD_TAGS && (ss === Br && (ss = Tv(ss)), oa(ss, qt.ADD_TAGS, rd)), qt.ADD_ATTR && (kr === sd && (kr = Tv(kr)), oa(kr, qt.ADD_ATTR, rd)), qt.ADD_URI_SAFE_ATTR && oa(ute, qt.ADD_URI_SAFE_ATTR, rd), qt.FORBID_CONTENTS && (f4 === lae && (f4 = Tv(f4)), oa(f4, qt.FORBID_CONTENTS, rd)), cte && (ss["#text"] = !0), ty && oa(ss, ["html", "head", "body"]), ss.table && (oa(ss, ["tbody"]), delete vf.tbody), qt.TRUSTED_TYPES_POLICY) {
|
|
31894
31894
|
if (typeof qt.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
31895
31895
|
throw ox('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
31896
31896
|
if (typeof qt.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -32015,9 +32015,9 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
32015
32015
|
}, yae = function(qt, Bo, Ms) {
|
|
32016
32016
|
if (aae && (Bo === "id" || Bo === "name") && (Ms in c || Ms in qhe))
|
|
32017
32017
|
return !1;
|
|
32018
|
-
if (!(yf && !
|
|
32018
|
+
if (!(yf && !_c[Bo] && au(So, Bo))) {
|
|
32019
32019
|
if (!(bf && au(On, Bo))) {
|
|
32020
|
-
if (!kr[Bo] ||
|
|
32020
|
+
if (!kr[Bo] || _c[Bo]) {
|
|
32021
32021
|
if (
|
|
32022
32022
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
32023
32023
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -32917,7 +32917,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
32917
32917
|
contextformtogglebutton: f7
|
|
32918
32918
|
}), Gf = [
|
|
32919
32919
|
iD,
|
|
32920
|
-
|
|
32920
|
+
fc("commands", wZ),
|
|
32921
32921
|
Zd("launch", bi("type", {
|
|
32922
32922
|
contextformbutton: hx,
|
|
32923
32923
|
contextformtogglebutton: yZ
|
|
@@ -32956,7 +32956,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
32956
32956
|
E1([
|
|
32957
32957
|
Ma("name"),
|
|
32958
32958
|
Ma("label"),
|
|
32959
|
-
|
|
32959
|
+
fc("items", eo)
|
|
32960
32960
|
])
|
|
32961
32961
|
]))
|
|
32962
32962
|
].concat(E0)), T0 = (t) => ({
|
|
@@ -32985,7 +32985,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
32985
32985
|
la("direction", "horizontal"),
|
|
32986
32986
|
la("align", "left"),
|
|
32987
32987
|
la("valign", "middle"),
|
|
32988
|
-
|
|
32988
|
+
fc("items", g7)
|
|
32989
32989
|
]), k0 = [
|
|
32990
32990
|
Im,
|
|
32991
32991
|
Yp,
|
|
@@ -32997,7 +32997,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
32997
32997
|
], pD = Zo([
|
|
32998
32998
|
Si,
|
|
32999
32999
|
iD,
|
|
33000
|
-
|
|
33000
|
+
fc("items", g7),
|
|
33001
33001
|
S0,
|
|
33002
33002
|
h3
|
|
33003
33003
|
].concat(k0)), p7 = (t) => xa("cardmenuitem", pD, t), b3 = Zo([
|
|
@@ -33534,7 +33534,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33534
33534
|
t.dispatch("ContextFormSlideBack");
|
|
33535
33535
|
}, D0 = (t, a) => () => {
|
|
33536
33536
|
t(), a();
|
|
33537
|
-
},
|
|
33537
|
+
}, wc = (t) => N0(t, "NodeChange", (a) => {
|
|
33538
33538
|
a.setEnabled(t.selection.isEditable());
|
|
33539
33539
|
}), RD = (t, a) => (c) => {
|
|
33540
33540
|
const f = Ol(), b = () => {
|
|
@@ -33546,7 +33546,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33546
33546
|
t.off("init", b), f.clear();
|
|
33547
33547
|
};
|
|
33548
33548
|
}, xx = (t, a) => (c) => {
|
|
33549
|
-
const f =
|
|
33549
|
+
const f = wc(t)(c), b = RD(t, a)(c);
|
|
33550
33550
|
return () => {
|
|
33551
33551
|
f(), b();
|
|
33552
33552
|
};
|
|
@@ -33793,7 +33793,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33793
33793
|
const x = (_) => {
|
|
33794
33794
|
_.name === a && (zD(b, _.name, _.color), tB(b, UD(t, c, _.color)));
|
|
33795
33795
|
};
|
|
33796
|
-
return t.on("TextColorChange", x), D0(
|
|
33796
|
+
return t.on("TextColorChange", x), D0(wc(t)(b), () => {
|
|
33797
33797
|
t.off("TextColorChange", x);
|
|
33798
33798
|
});
|
|
33799
33799
|
}
|
|
@@ -33802,7 +33802,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33802
33802
|
t.ui.registry.addNestedMenuItem(a, {
|
|
33803
33803
|
text: f,
|
|
33804
33804
|
icon: a === "forecolor" ? "text-color" : "highlight-bg-color",
|
|
33805
|
-
onSetup: (x) => (tB(x, UD(t, c, b.get())), zD(x, a, b.get()),
|
|
33805
|
+
onSetup: (x) => (tB(x, UD(t, c, b.get())), zD(x, a, b.get()), wc(t)(x)),
|
|
33806
33806
|
getSubmenuItems: () => [{
|
|
33807
33807
|
type: "fancymenuitem",
|
|
33808
33808
|
fancytype: "colorswatch",
|
|
@@ -34209,7 +34209,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
34209
34209
|
toPromise: t,
|
|
34210
34210
|
get: a
|
|
34211
34211
|
};
|
|
34212
|
-
},
|
|
34212
|
+
}, Cc = {
|
|
34213
34213
|
nu: (t) => kv(() => new Promise(t)),
|
|
34214
34214
|
pure: (t) => kv(() => Promise.resolve(t))
|
|
34215
34215
|
}, GD = Q("sink"), qD = Q(su({
|
|
@@ -34285,7 +34285,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
34285
34285
|
}, (Z) => {
|
|
34286
34286
|
Gs.cloak(f), Gs.open(f, Z), x(f);
|
|
34287
34287
|
}), f));
|
|
34288
|
-
}, LG = (t, a, c, f, b, x, _) => (Gs.close(f),
|
|
34288
|
+
}, LG = (t, a, c, f, b, x, _) => (Gs.close(f), Cc.pure(f)), YD = (t, a, c, f, b, x) => {
|
|
34289
34289
|
const _ = ni.getCoupled(c, "sandbox");
|
|
34290
34290
|
return (Gs.isOpen(_) ? LG : E3)(t, a, c, _, f, b, x);
|
|
34291
34291
|
}, HG = (t, a, c) => {
|
|
@@ -34347,7 +34347,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
34347
34347
|
cn("dom"),
|
|
34348
34348
|
cn("fetch"),
|
|
34349
34349
|
Zs("onOpen"),
|
|
34350
|
-
|
|
34350
|
+
hc("onExecute"),
|
|
34351
34351
|
kt("getHotspot", M.some),
|
|
34352
34352
|
kt("getAnchorOverrides", Q({})),
|
|
34353
34353
|
Dh(),
|
|
@@ -34902,7 +34902,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
34902
34902
|
},
|
|
34903
34903
|
triggerFocus: (Ye, xt) => {
|
|
34904
34904
|
xp(Ye).fold(() => {
|
|
34905
|
-
|
|
34905
|
+
pc(Ye);
|
|
34906
34906
|
}, (pt) => {
|
|
34907
34907
|
mC(vm(), Ye, (Vt) => (nq(f, vm(), {
|
|
34908
34908
|
originator: xt,
|
|
@@ -35129,7 +35129,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
35129
35129
|
});
|
|
35130
35130
|
}), V = [
|
|
35131
35131
|
sn(Pc(), _((xe, Be, Le) => {
|
|
35132
|
-
|
|
35132
|
+
pc(Le, !0);
|
|
35133
35133
|
})),
|
|
35134
35134
|
sn(pm(), P),
|
|
35135
35135
|
sn(bb(), P),
|
|
@@ -35257,7 +35257,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
35257
35257
|
Oa(_, f);
|
|
35258
35258
|
}), x.onInvalid(t, f);
|
|
35259
35259
|
});
|
|
35260
|
-
}, LB = (t, a, c) => a.validator.fold(() =>
|
|
35260
|
+
}, LB = (t, a, c) => a.validator.fold(() => Cc.pure(cs.value(!0)), (f) => f.validate(t)), oN = (t, a, c) => (a.notify.each((f) => {
|
|
35261
35261
|
f.onValidate(t);
|
|
35262
35262
|
}), LB(t, a).map((f) => t.getSystem().isConnected() ? f.fold((b) => (nN(t, a, c, b), cs.error(b)), (b) => (tN(t, a), cs.value(b))) : cs.error("No longer in system")));
|
|
35263
35263
|
var fq = /* @__PURE__ */ Object.freeze({
|
|
@@ -35302,7 +35302,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
35302
35302
|
extra: {
|
|
35303
35303
|
validation: (t) => (a) => {
|
|
35304
35304
|
const c = to.getValue(a);
|
|
35305
|
-
return
|
|
35305
|
+
return Cc.pure(t(c));
|
|
35306
35306
|
}
|
|
35307
35307
|
}
|
|
35308
35308
|
});
|
|
@@ -35336,7 +35336,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
35336
35336
|
layouts: t.layouts,
|
|
35337
35337
|
sandboxClasses: ["tox-dialog__popups"],
|
|
35338
35338
|
lazySink: a.getSink,
|
|
35339
|
-
fetch: (c) =>
|
|
35339
|
+
fetch: (c) => Cc.nu((f) => t.fetch(f)).map((f) => M.from(KD(Gr(jD(no("menu-value"), f, (b) => {
|
|
35340
35340
|
t.onItemAction(c, b);
|
|
35341
35341
|
}, t.columns, t.presets, Wf.CLOSE_ON_EXECUTE, ve, a.providers), { movement: _3(t.columns, t.presets) })))),
|
|
35342
35342
|
parts: { menu: l3(!1, 1, t.presets) }
|
|
@@ -35364,12 +35364,12 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
35364
35364
|
validate: (V) => {
|
|
35365
35365
|
const Z = to.getValue(V);
|
|
35366
35366
|
if (Z.length === 0)
|
|
35367
|
-
return
|
|
35367
|
+
return Cc.pure(cs.value(!0));
|
|
35368
35368
|
{
|
|
35369
35369
|
const oe = Gt.fromTag("span");
|
|
35370
35370
|
Mn(oe, "background-color", Z);
|
|
35371
35371
|
const ge = Qs(oe, "background-color").fold(() => cs.error("blah"), (xe) => cs.value(Z));
|
|
35372
|
-
return
|
|
35372
|
+
return Cc.pure(ge);
|
|
35373
35373
|
}
|
|
35374
35374
|
}
|
|
35375
35375
|
}
|
|
@@ -35470,7 +35470,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
35470
35470
|
hp(gm(), t, "spectrum")
|
|
35471
35471
|
])
|
|
35472
35472
|
})
|
|
35473
|
-
}), $3 = (t) =>
|
|
35473
|
+
}), $3 = (t) => bc(t.event), yq = Pl({
|
|
35474
35474
|
schema: [Xs("mouseIsDown", () => xo(!1))],
|
|
35475
35475
|
name: "spectrum",
|
|
35476
35476
|
overrides: (t) => {
|
|
@@ -35523,32 +35523,32 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
35523
35523
|
}, Cq = "top", qB = "right", Sq = "bottom", xq = "left", M0 = (t) => t.model.minX, R0 = (t) => t.model.minY, D3 = (t) => t.model.minX - 1, N3 = (t) => t.model.minY - 1, I0 = (t) => t.model.maxX, Av = (t) => t.model.maxY, Ix = (t) => t.model.maxX + 1, M3 = (t) => t.model.maxY + 1, YB = (t, a, c) => a(t) - c(t), lN = (t) => YB(t, I0, M0), cN = (t) => YB(t, Av, R0), KB = (t) => lN(t) / 2, XB = (t) => cN(t) / 2, P0 = (t, a) => a ? t.stepSize * t.speedMultiplier : t.stepSize, uN = (t) => t.snapToGrid, dN = (t) => t.snapStart, R3 = (t) => t.rounded, I3 = (t, a) => t[a + "-edge"] !== void 0, fN = (t) => I3(t, xq), JB = (t) => I3(t, qB), QB = (t) => I3(t, Cq), eF = (t) => I3(t, Sq), t1 = (t) => t.model.value.get(), Wh = (t, a) => ({
|
|
35524
35524
|
x: t,
|
|
35525
35525
|
y: a
|
|
35526
|
-
}),
|
|
35526
|
+
}), Sc = (t, a) => {
|
|
35527
35527
|
Oo(t, Rx(), { value: a });
|
|
35528
35528
|
}, _q = (t, a) => {
|
|
35529
|
-
|
|
35529
|
+
Sc(t, Wh(D3(a), N3(a)));
|
|
35530
35530
|
}, Px = (t, a) => {
|
|
35531
|
-
|
|
35531
|
+
Sc(t, N3(a));
|
|
35532
35532
|
}, Eq = (t, a) => {
|
|
35533
|
-
|
|
35533
|
+
Sc(t, Wh(KB(a), N3(a)));
|
|
35534
35534
|
}, mN = (t, a) => {
|
|
35535
|
-
|
|
35535
|
+
Sc(t, Wh(Ix(a), N3(a)));
|
|
35536
35536
|
}, Tq = (t, a) => {
|
|
35537
|
-
|
|
35537
|
+
Sc(t, Ix(a));
|
|
35538
35538
|
}, kq = (t, a) => {
|
|
35539
|
-
|
|
35539
|
+
Sc(t, Wh(Ix(a), XB(a)));
|
|
35540
35540
|
}, Aq = (t, a) => {
|
|
35541
|
-
|
|
35541
|
+
Sc(t, Wh(Ix(a), M3(a)));
|
|
35542
35542
|
}, tF = (t, a) => {
|
|
35543
|
-
|
|
35543
|
+
Sc(t, M3(a));
|
|
35544
35544
|
}, Oq = (t, a) => {
|
|
35545
|
-
|
|
35545
|
+
Sc(t, Wh(KB(a), M3(a)));
|
|
35546
35546
|
}, gN = (t, a) => {
|
|
35547
|
-
|
|
35547
|
+
Sc(t, Wh(D3(a), M3(a)));
|
|
35548
35548
|
}, hN = (t, a) => {
|
|
35549
|
-
|
|
35549
|
+
Sc(t, D3(a));
|
|
35550
35550
|
}, pN = (t, a) => {
|
|
35551
|
-
|
|
35551
|
+
Sc(t, Wh(D3(a), XB(a)));
|
|
35552
35552
|
}, vN = (t, a, c, f) => t < a ? t : t > c ? c : t === a ? a - 1 : Math.max(a, t - f), Qu = (t, a, c, f) => t > c ? t : t < a ? a : t === c ? c + 1 : Math.min(c, t + f), nF = (t, a, c) => Math.max(a, Math.min(c, t)), $q = (t, a, c, f, b) => b.fold(() => {
|
|
35553
35553
|
const x = t - a, _ = Math.round(x / f) * f;
|
|
35554
35554
|
return nF(a + _, a - 1, c + 1);
|
|
@@ -36048,7 +36048,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
36048
36048
|
validator: {
|
|
36049
36049
|
validate: (xt) => {
|
|
36050
36050
|
const pt = to.getValue(xt), Vt = yt(pt) ? cs.value(!0) : cs.error(t("aria.input.invalid"));
|
|
36051
|
-
return
|
|
36051
|
+
return Cc.pure(Vt);
|
|
36052
36052
|
},
|
|
36053
36053
|
validateOnLoad: !1
|
|
36054
36054
|
}
|
|
@@ -36387,7 +36387,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
36387
36387
|
],
|
|
36388
36388
|
factory: b
|
|
36389
36389
|
});
|
|
36390
|
-
},
|
|
36390
|
+
}, xc = {
|
|
36391
36391
|
self: () => Vs.config({ find: M.some }),
|
|
36392
36392
|
memento: (t) => Vs.config({ find: t.getOpt }),
|
|
36393
36393
|
childAt: (t) => Vs.config({ find: (a) => Ki(a.element, t).bind((c) => a.getSystem().getByDom(c).toOptional()) })
|
|
@@ -36483,7 +36483,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
36483
36483
|
});
|
|
36484
36484
|
});
|
|
36485
36485
|
}),
|
|
36486
|
-
|
|
36486
|
+
xc.self()
|
|
36487
36487
|
])
|
|
36488
36488
|
};
|
|
36489
36489
|
};
|
|
@@ -36517,7 +36517,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
36517
36517
|
$v(M.none(), () => a.get().fold(() => f.get().getOr(""), (x) => x.getValue()), (x, _) => {
|
|
36518
36518
|
a.get().fold(() => f.set(_), (N) => N.setValue(_));
|
|
36519
36519
|
}),
|
|
36520
|
-
|
|
36520
|
+
xc.self()
|
|
36521
36521
|
].concat(b)),
|
|
36522
36522
|
components: [c.asSpec()]
|
|
36523
36523
|
};
|
|
@@ -36575,7 +36575,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
36575
36575
|
P.get(ge).element.dom.click();
|
|
36576
36576
|
},
|
|
36577
36577
|
buttonBehaviours: $n([
|
|
36578
|
-
|
|
36578
|
+
xc.self(),
|
|
36579
36579
|
F0(c.getOr([])),
|
|
36580
36580
|
Yr.config({}),
|
|
36581
36581
|
qf.button(() => a.checkUiComponentContext(t.context).shouldDisable),
|
|
@@ -36705,7 +36705,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
36705
36705
|
a,
|
|
36706
36706
|
LN([X3])
|
|
36707
36707
|
],
|
|
36708
|
-
behaviours: $n([
|
|
36708
|
+
behaviours: $n([xc.childAt(1)])
|
|
36709
36709
|
}), BF = (t, a) => {
|
|
36710
36710
|
Oo(t, Dl(), {
|
|
36711
36711
|
raw: {
|
|
@@ -36853,7 +36853,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
36853
36853
|
},
|
|
36854
36854
|
components: [b.asSpec()],
|
|
36855
36855
|
behaviours: $n([
|
|
36856
|
-
|
|
36856
|
+
xc.self(),
|
|
36857
36857
|
$v(N, () => c.get(), x)
|
|
36858
36858
|
])
|
|
36859
36859
|
};
|
|
@@ -36879,7 +36879,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
36879
36879
|
...N
|
|
36880
36880
|
],
|
|
36881
36881
|
behaviours: $n([
|
|
36882
|
-
|
|
36882
|
+
xc.self(),
|
|
36883
36883
|
Qo.config({}),
|
|
36884
36884
|
DF(M.none()),
|
|
36885
36885
|
ko.config({ mode: "acyclic" }),
|
|
@@ -37048,7 +37048,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
37048
37048
|
jC()(Le, yt - 10);
|
|
37049
37049
|
}
|
|
37050
37050
|
}),
|
|
37051
|
-
fetch: (Le) =>
|
|
37051
|
+
fetch: (Le) => Cc.nu(gt(t.fetch, Le))
|
|
37052
37052
|
})).asSpec();
|
|
37053
37053
|
}, ZF = (t) => w(t), GN = (t) => t.type === "separator", vY = (t) => Yo(t, "getSubmenuItems"), GF = { type: "separator" }, qF = (t, a) => {
|
|
37054
37054
|
const c = Zt(t, (f, b) => ZF(b) ? b === "" ? f : b === "|" ? f.length > 0 && !GN(f[f.length - 1]) ? f.concat([GF]) : f : Yo(a, b.toLowerCase()) ? f.concat([a[b.toLowerCase()]]) : f : f.concat([b]), []);
|
|
@@ -37553,7 +37553,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
37553
37553
|
x
|
|
37554
37554
|
],
|
|
37555
37555
|
sliderBehaviours: $n([
|
|
37556
|
-
|
|
37556
|
+
xc.self(),
|
|
37557
37557
|
Go.config({})
|
|
37558
37558
|
]),
|
|
37559
37559
|
onChoose: (_, N, P) => {
|
|
@@ -37632,7 +37632,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
37632
37632
|
validator: {
|
|
37633
37633
|
validate: (Be) => {
|
|
37634
37634
|
const Le = to.getValue(Be), yt = xe.validator(Le);
|
|
37635
|
-
return
|
|
37635
|
+
return Cc.pure(yt === !0 ? cs.value(Le) : cs.error(yt));
|
|
37636
37636
|
},
|
|
37637
37637
|
validateOnLoad: xe.validateOnLoad
|
|
37638
37638
|
}
|
|
@@ -37857,7 +37857,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
37857
37857
|
const N = !_.isActive();
|
|
37858
37858
|
_.setActive(N), x.storage.set(N), c.shared.getSink().each((P) => {
|
|
37859
37859
|
a().getOpt(P).each((V) => {
|
|
37860
|
-
|
|
37860
|
+
pc(V.element), Oo(V, Uh, {
|
|
37861
37861
|
name: x.name,
|
|
37862
37862
|
value: x.storage.get()
|
|
37863
37863
|
});
|
|
@@ -38341,7 +38341,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
38341
38341
|
})
|
|
38342
38342
|
].concat(t.dismissOnBlur ? [sn(hg(), (oe) => {
|
|
38343
38343
|
const ge = ni.getCoupled(oe, "sandbox");
|
|
38344
|
-
|
|
38344
|
+
vc(ge.element).isNone() && Gs.close(ge);
|
|
38345
38345
|
})] : []))
|
|
38346
38346
|
], Z = {
|
|
38347
38347
|
[Kd()]: [
|
|
@@ -38382,7 +38382,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
38382
38382
|
kt("populateFromBrowse", !0)
|
|
38383
38383
|
]),
|
|
38384
38384
|
Zs("onSetValue"),
|
|
38385
|
-
|
|
38385
|
+
hc("onExecute"),
|
|
38386
38386
|
Zs("onItemExecute"),
|
|
38387
38387
|
kt("inputClasses", []),
|
|
38388
38388
|
kt("inputAttributes", {}),
|
|
@@ -38434,12 +38434,12 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
38434
38434
|
}), Hm = (t) => ({
|
|
38435
38435
|
...t,
|
|
38436
38436
|
toCached: () => Hm(t.toCached()),
|
|
38437
|
-
bindFuture: (P) => Hm(t.bind((V) => V.fold((Z) =>
|
|
38437
|
+
bindFuture: (P) => Hm(t.bind((V) => V.fold((Z) => Cc.pure(cs.error(Z)), (Z) => P(Z)))),
|
|
38438
38438
|
bindResult: (P) => Hm(t.map((V) => V.bind(P))),
|
|
38439
38439
|
mapResult: (P) => Hm(t.map((V) => V.map(P))),
|
|
38440
38440
|
mapError: (P) => Hm(t.map((V) => V.mapError(P))),
|
|
38441
38441
|
foldResult: (P, V) => t.map((Z) => Z.fold(P, V)),
|
|
38442
|
-
withTimeout: (P, V) => Hm(
|
|
38442
|
+
withTimeout: (P, V) => Hm(Cc.nu((Z) => {
|
|
38443
38443
|
let oe = !1;
|
|
38444
38444
|
const ge = setTimeout(() => {
|
|
38445
38445
|
oe = !0, Z(cs.error(V()));
|
|
@@ -38448,13 +38448,13 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
38448
38448
|
oe || (clearTimeout(ge), Z(xe));
|
|
38449
38449
|
});
|
|
38450
38450
|
}))
|
|
38451
|
-
}), yL = (t) => Hm(
|
|
38451
|
+
}), yL = (t) => Hm(Cc.nu(t)), wL = (t) => Hm(Cc.pure(cs.value(t))), JY = {
|
|
38452
38452
|
nu: yL,
|
|
38453
38453
|
wrap: Hm,
|
|
38454
38454
|
pure: wL,
|
|
38455
38455
|
value: wL,
|
|
38456
|
-
error: (t) => Hm(
|
|
38457
|
-
fromResult: (t) => Hm(
|
|
38456
|
+
error: (t) => Hm(Cc.pure(cs.error(t))),
|
|
38457
|
+
fromResult: (t) => Hm(Cc.pure(t)),
|
|
38458
38458
|
fromFuture: (t) => Hm(t.map(cs.value)),
|
|
38459
38459
|
fromPromise: (t) => yL((a) => {
|
|
38460
38460
|
t.then((c) => {
|
|
@@ -38595,7 +38595,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
38595
38595
|
factory: ji,
|
|
38596
38596
|
...l6(t, M.some(c), a, [
|
|
38597
38597
|
F0(""),
|
|
38598
|
-
|
|
38598
|
+
xc.self()
|
|
38599
38599
|
])
|
|
38600
38600
|
}));
|
|
38601
38601
|
}, _L = { type: "separator" }, oK = (t) => ({
|
|
@@ -38652,7 +38652,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
38652
38652
|
isHorizontalMenu: !1,
|
|
38653
38653
|
search: M.none()
|
|
38654
38654
|
});
|
|
38655
|
-
return
|
|
38655
|
+
return Cc.pure(Vt);
|
|
38656
38656
|
},
|
|
38657
38657
|
getHotspot: (xt) => Be.getOpt(xt),
|
|
38658
38658
|
onSetValue: (xt, pt) => {
|
|
@@ -38861,7 +38861,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
38861
38861
|
attributes: { type: "checkbox" }
|
|
38862
38862
|
},
|
|
38863
38863
|
behaviours: $n([
|
|
38864
|
-
|
|
38864
|
+
xc.self(),
|
|
38865
38865
|
mo.config({
|
|
38866
38866
|
disabled: () => !t.enabled || a.checkUiComponentContext(t.context).shouldDisable,
|
|
38867
38867
|
onDisabled: (P) => {
|
|
@@ -38940,7 +38940,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
38940
38940
|
...a.tooltips.getConfig({
|
|
38941
38941
|
tooltipText: "",
|
|
38942
38942
|
onShow: (b) => {
|
|
38943
|
-
rr(b.element, "[data-mce-tooltip]:hover").orThunk(() =>
|
|
38943
|
+
rr(b.element, "[data-mce-tooltip]:hover").orThunk(() => vc(b.element)).each((x) => {
|
|
38944
38944
|
zn(x, "data-mce-tooltip").each((_) => {
|
|
38945
38945
|
Ia.setComponents(b, a.tooltips.getComponents({ tooltipText: _ }));
|
|
38946
38946
|
});
|
|
@@ -38950,7 +38950,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
38950
38950
|
mode: "children-normal",
|
|
38951
38951
|
anchor: (b) => ({
|
|
38952
38952
|
type: "node",
|
|
38953
|
-
node: rr(b.element, "[data-mce-tooltip]:hover").orThunk(() =>
|
|
38953
|
+
node: rr(b.element, "[data-mce-tooltip]:hover").orThunk(() => vc(b.element).filter((x) => zn(x, "data-mce-tooltip").isSome())),
|
|
38954
38954
|
root: b.element,
|
|
38955
38955
|
layouts: {
|
|
38956
38956
|
onLtr: Q([
|
|
@@ -39489,7 +39489,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
39489
39489
|
}, FK = (t, a) => {
|
|
39490
39490
|
const c = BK(t);
|
|
39491
39491
|
return R(c) ? c ? I6(t) : M.none() : c[a] ? I6(t) : M.none();
|
|
39492
|
-
}, LK = (t, a) => FK(t, a).map((c) => (f) =>
|
|
39492
|
+
}, LK = (t, a) => FK(t, a).map((c) => (f) => Cc.nu((b) => {
|
|
39493
39493
|
const x = (N, P) => {
|
|
39494
39494
|
if (!w(N))
|
|
39495
39495
|
throw new Error("Expected value to be string");
|
|
@@ -39758,8 +39758,8 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
39758
39758
|
a ? (za(c, P6), Xa(c, JL)) : (za(c, JL), Xa(c, P6));
|
|
39759
39759
|
}, XK = (t, a) => {
|
|
39760
39760
|
const c = Cr(a);
|
|
39761
|
-
_d(c).filter((f) => !ys(a, f)).filter((f) => ys(f, Gt.fromDom(c.dom.body)) || Yi(t, f)).each(() =>
|
|
39762
|
-
}, t9 = (t, a) =>
|
|
39761
|
+
_d(c).filter((f) => !ys(a, f)).filter((f) => ys(f, Gt.fromDom(c.dom.body)) || Yi(t, f)).each(() => pc(a));
|
|
39762
|
+
}, t9 = (t, a) => vc(t).orThunk(() => a().toOptional().bind((c) => vc(c.element))), n9 = (t, a, c) => {
|
|
39763
39763
|
t.inline || (a.header.isPositionedAtTop() || t.on("ResizeEditor", () => {
|
|
39764
39764
|
c().each(da.reset);
|
|
39765
39765
|
}), t.on("ResizeWindow ResizeEditor", () => {
|
|
@@ -39860,7 +39860,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
39860
39860
|
Js("items", ug([
|
|
39861
39861
|
E1([
|
|
39862
39862
|
rD,
|
|
39863
|
-
|
|
39863
|
+
fc("items", eo)
|
|
39864
39864
|
]),
|
|
39865
39865
|
eo
|
|
39866
39866
|
]))
|
|
@@ -40168,7 +40168,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
40168
40168
|
])
|
|
40169
40169
|
}],
|
|
40170
40170
|
behaviours: $n([
|
|
40171
|
-
|
|
40171
|
+
xc.childAt(0),
|
|
40172
40172
|
ns("sidebar-sliding-events", [
|
|
40173
40173
|
sn(_A, (a, c) => {
|
|
40174
40174
|
Mn(a.element, "width", c.event.width);
|
|
@@ -40231,7 +40231,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
40231
40231
|
classes: ["tox-throbber__busy-spinner"]
|
|
40232
40232
|
},
|
|
40233
40233
|
components: [{ dom: Dg('<div class="tox-spinner"><div></div><div></div><div></div></div>') }]
|
|
40234
|
-
}), EA = (t) => Vs.getCurrent(t).each((a) =>
|
|
40234
|
+
}), EA = (t) => Vs.getCurrent(t).each((a) => pc(a.element, !0)), vX = (t, a) => {
|
|
40235
40235
|
const c = "tabindex", f = `data-mce-${c}`;
|
|
40236
40236
|
M.from(t.iframeElement).map(Gt.fromDom).each((b) => {
|
|
40237
40237
|
a ? (zn(b, c).each((x) => we(b, f, x)), we(b, c, -1)) : (ye(b, c), zn(b, f).each((x) => {
|
|
@@ -40319,7 +40319,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
40319
40319
|
}, m9 = (t, a) => {
|
|
40320
40320
|
const c = Me(a, (f) => Tu(f));
|
|
40321
40321
|
Hg.setGroups(t, c);
|
|
40322
|
-
}, AX = (t) => pn(t, (a) =>
|
|
40322
|
+
}, AX = (t) => pn(t, (a) => vc(a.element).bind((c) => a.getSystem().getByDom(c).toOptional())), j6 = (t, a, c) => {
|
|
40323
40323
|
const f = a.builtGroups.get();
|
|
40324
40324
|
if (f.length === 0)
|
|
40325
40325
|
return;
|
|
@@ -40526,7 +40526,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
40526
40526
|
});
|
|
40527
40527
|
}, RX = (t, a, c, f) => {
|
|
40528
40528
|
const b = ar(Nv.sketch({
|
|
40529
|
-
fetch: () =>
|
|
40529
|
+
fetch: () => Cc.nu((x) => {
|
|
40530
40530
|
x(f_(t.overflowGroups.get()));
|
|
40531
40531
|
}),
|
|
40532
40532
|
layouts: {
|
|
@@ -40944,7 +40944,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
40944
40944
|
}, Xt = (It) => {
|
|
40945
40945
|
const Jn = pt.element;
|
|
40946
40946
|
It ? (za(Jn, "tox-button--enabled"), we(Jn, "aria-pressed", !0)) : (Xa(Jn, "tox-button--enabled"), ye(Jn, "aria-pressed"));
|
|
40947
|
-
}, Gn = () => Xl(pt.element, "tox-button--enabled"), so = () =>
|
|
40947
|
+
}, Gn = () => Xl(pt.element, "tox-button--enabled"), so = () => pc(pt.element);
|
|
40948
40948
|
if (b)
|
|
40949
40949
|
return t.onAction({
|
|
40950
40950
|
setIcon: Vt,
|
|
@@ -41682,7 +41682,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
41682
41682
|
const c = Mv(a, oM(t));
|
|
41683
41683
|
t.ui.registry.addNestedMenuItem("align", {
|
|
41684
41684
|
text: a.shared.providers.translate(q9),
|
|
41685
|
-
onSetup:
|
|
41685
|
+
onSetup: wc(t),
|
|
41686
41686
|
getSubmenuItems: () => c.items.validateItems(c.getStyleItems())
|
|
41687
41687
|
});
|
|
41688
41688
|
}, X9 = (t, a) => {
|
|
@@ -41716,7 +41716,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
41716
41716
|
const c = Mv(a, J9(t));
|
|
41717
41717
|
t.ui.registry.addNestedMenuItem("blocks", {
|
|
41718
41718
|
text: sM,
|
|
41719
|
-
onSetup:
|
|
41719
|
+
onSetup: wc(t),
|
|
41720
41720
|
getSubmenuItems: () => c.items.validateItems(c.getStyleItems())
|
|
41721
41721
|
});
|
|
41722
41722
|
}, hJ = "Fonts", Q9 = Q("Font {0}"), aM = "System Font", pJ = [
|
|
@@ -41778,7 +41778,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
41778
41778
|
const c = Mv(a, IA(t));
|
|
41779
41779
|
t.ui.registry.addNestedMenuItem("fontfamily", {
|
|
41780
41780
|
text: a.shared.providers.translate(hJ),
|
|
41781
|
-
onSetup:
|
|
41781
|
+
onSetup: wc(t),
|
|
41782
41782
|
getSubmenuItems: () => c.items.validateItems(c.getStyleItems())
|
|
41783
41783
|
});
|
|
41784
41784
|
}, nH = {
|
|
@@ -41850,7 +41850,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
41850
41850
|
c.onAction(so, Xt), b.each((ro) => {
|
|
41851
41851
|
to.setValue(ro, so), Vt && (Jn.each((Cs) => ro.element.dom.selectionStart = Cs), Un.each((Cs) => ro.element.dom.selectionEnd = Cs));
|
|
41852
41852
|
});
|
|
41853
|
-
}, oe = (pt, Vt) => Z((Xt, Gn) => Xt - Gn, pt, Vt), ge = (pt, Vt) => Z((Xt, Gn) => Xt + Gn, pt, Vt), xe = (pt) => Di(pt.element).fold(M.none, (Vt) => (
|
|
41853
|
+
}, oe = (pt, Vt) => Z((Xt, Gn) => Xt - Gn, pt, Vt), ge = (pt, Vt) => Z((Xt, Gn) => Xt + Gn, pt, Vt), xe = (pt) => Di(pt.element).fold(M.none, (Vt) => (pc(Vt), M.some(!0))), Be = (pt) => Hi(pt.element) ? (Ul(pt.element).each((Vt) => pc(Vt)), M.some(!0)) : M.none(), Le = (pt, Vt, Xt, Gn) => {
|
|
41854
41854
|
const so = xo(j), It = a.shared.providers.translate(Xt), Jn = no("altExecuting"), Un = N0(t, "NodeChange SwitchMode DisabledStateChange", (Cs) => {
|
|
41855
41855
|
mo.set(Cs.getComponent(), !t.selection.isEditable() || Pk(t));
|
|
41856
41856
|
}), ro = (Cs) => {
|
|
@@ -41980,7 +41980,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
41980
41980
|
focusInside: Fl.OnEnterOrSpaceMode,
|
|
41981
41981
|
cycles: !1,
|
|
41982
41982
|
selector: "button, .tox-input-wrapper",
|
|
41983
|
-
onEscape: (pt) => Hi(pt.element) ? M.none() : (
|
|
41983
|
+
onEscape: (pt) => Hi(pt.element) ? M.none() : (pc(pt.element), M.some(!0))
|
|
41984
41984
|
})
|
|
41985
41985
|
])
|
|
41986
41986
|
};
|
|
@@ -42075,7 +42075,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
42075
42075
|
const c = Mv(a, rH(t));
|
|
42076
42076
|
t.ui.registry.addNestedMenuItem("fontsize", {
|
|
42077
42077
|
text: CJ,
|
|
42078
|
-
onSetup:
|
|
42078
|
+
onSetup: wc(t),
|
|
42079
42079
|
getSubmenuItems: () => c.items.validateItems(c.getStyleItems())
|
|
42080
42080
|
});
|
|
42081
42081
|
}, OJ = "Formats", uH = (t) => qe(t) ? "Formats" : "Format {0}", dH = (t, a) => {
|
|
@@ -42124,7 +42124,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
42124
42124
|
}, f = Mv(a, dH(t, c));
|
|
42125
42125
|
t.ui.registry.addNestedMenuItem("styles", {
|
|
42126
42126
|
text: OJ,
|
|
42127
|
-
onSetup:
|
|
42127
|
+
onSetup: wc(t),
|
|
42128
42128
|
getSubmenuItems: () => f.items.validateItems(f.getStyleItems())
|
|
42129
42129
|
});
|
|
42130
42130
|
}, mH = Q([
|
|
@@ -42370,7 +42370,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
42370
42370
|
];
|
|
42371
42371
|
return Nv.sketch({
|
|
42372
42372
|
lazySink: x.getSink,
|
|
42373
|
-
fetch: () =>
|
|
42373
|
+
fetch: () => Cc.nu((V) => {
|
|
42374
42374
|
V(Me(c(t.items), $A));
|
|
42375
42375
|
}),
|
|
42376
42376
|
markers: { toggledClass: "tox-tbtn--enabled" },
|
|
@@ -42424,7 +42424,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
42424
42424
|
].concat(c.length > 0 ? [ns("toolbarToggleButtonWith", c)] : []),
|
|
42425
42425
|
getApi: IJ,
|
|
42426
42426
|
onSetup: t.onSetup
|
|
42427
|
-
}, a, f), LJ = (t, a, c) => (f) =>
|
|
42427
|
+
}, a, f), LJ = (t, a, c) => (f) => Cc.nu((b) => a.fetch(b)).map((b) => M.from(KD(Gr(jD(no("menu-value"), b, (x) => {
|
|
42428
42428
|
a.onItemAction(t(f), x);
|
|
42429
42429
|
}, a.columns, a.presets, Wf.CLOSE_ON_EXECUTE, a.select.getOr(ve), c), {
|
|
42430
42430
|
movement: _3(a.columns, a.presets),
|
|
@@ -42785,16 +42785,16 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
42785
42785
|
});
|
|
42786
42786
|
}, Gn = (So, On) => {
|
|
42787
42787
|
b.on((Qn) => {
|
|
42788
|
-
const Xo = ra.getToolbar(x.outerContainer), ps = xt(Xo), Po = li(a), ss = so(t, x.outerContainer.element), Br = () => ss.fold(() => Po.x, (
|
|
42789
|
-
const bf = li(
|
|
42790
|
-
return ys(
|
|
42791
|
-
}), kr = () => ss.fold(() => ge() ? Math.max(Po.y - Aa(Qn.element) + ps, 0) : Po.bottom, (
|
|
42788
|
+
const Xo = ra.getToolbar(x.outerContainer), ps = xt(Xo), Po = li(a), ss = so(t, x.outerContainer.element), Br = () => ss.fold(() => Po.x, (_c) => {
|
|
42789
|
+
const bf = li(_c);
|
|
42790
|
+
return ys(_c, ft()) ? Po.x : Po.x - bf.x;
|
|
42791
|
+
}), kr = () => ss.fold(() => ge() ? Math.max(Po.y - Aa(Qn.element) + ps, 0) : Po.bottom, (_c) => {
|
|
42792
42792
|
var bf;
|
|
42793
|
-
const yf = li(
|
|
42793
|
+
const yf = li(_c), jm = (bf = _c.dom.scrollTop) !== null && bf !== void 0 ? bf : 0, Xh = ys(_c, ft()) ? Math.max(Po.y - Aa(Qn.element) + ps, 0) : Po.y - yf.y + jm - Aa(Qn.element) + ps;
|
|
42794
42794
|
return ge() ? Xh : Po.bottom;
|
|
42795
|
-
}), sd = Br(), Fa = bo(So, Math.ceil(x.outerContainer.element.dom.getBoundingClientRect().width)).filter((
|
|
42796
|
-
const bf = On.getOr(el()), yf = window.innerWidth - (sd - bf.left), jm = Math.max(Math.min(
|
|
42797
|
-
return yf <
|
|
42795
|
+
}), sd = Br(), Fa = bo(So, Math.ceil(x.outerContainer.element.dom.getBoundingClientRect().width)).filter((_c) => _c > xe).map((_c) => {
|
|
42796
|
+
const bf = On.getOr(el()), yf = window.innerWidth - (sd - bf.left), jm = Math.max(Math.min(_c, yf), xe);
|
|
42797
|
+
return yf < _c && Mn(x.outerContainer.element, "width", jm + "px"), { width: jm + "px" };
|
|
42798
42798
|
}).getOr({ width: "max-content" }), vf = {
|
|
42799
42799
|
position: "absolute",
|
|
42800
42800
|
left: Math.round(sd) + "px",
|
|
@@ -42929,11 +42929,11 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
42929
42929
|
};
|
|
42930
42930
|
}, VA = "contexttoolbar-show", y_ = "contexttoolbar-hide", $H = ".tox-toolbar-slider__input,.tox-toolbar-textfield", gM = (t) => {
|
|
42931
42931
|
$a.getContent(t).each((a) => {
|
|
42932
|
-
rr(a.element, $H).fold(() => ko.focusIn(a),
|
|
42932
|
+
rr(a.element, $H).fold(() => ko.focusIn(a), pc);
|
|
42933
42933
|
});
|
|
42934
|
-
}, tQ = (t) =>
|
|
42934
|
+
}, tQ = (t) => vc(t.element).each((a) => {
|
|
42935
42935
|
xm(a, '[tabindex="-1"]').each((c) => {
|
|
42936
|
-
|
|
42936
|
+
pc(c);
|
|
42937
42937
|
});
|
|
42938
42938
|
}), DH = no("forward-slide"), hM = no("backward-slide"), pM = no("change-slide-event"), _2 = "tox-pop--resizing", NH = (t) => {
|
|
42939
42939
|
const a = xo([]);
|
|
@@ -42963,7 +42963,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
42963
42963
|
ws(b, "left"), ws(b, "right"), ws(b, "max-width"), $a.setContent(c, f.event.contents), za(b, _2);
|
|
42964
42964
|
const _ = Pe(b);
|
|
42965
42965
|
Mn(b, "transition", "none"), $a.reposition(c), ws(b, "transition"), Mn(b, "width", x + "px"), f.event.focus.fold(() => gM(c), (N) => {
|
|
42966
|
-
|
|
42966
|
+
pc(N), vc(b).isNone() && gM(c);
|
|
42967
42967
|
}), setTimeout(() => {
|
|
42968
42968
|
Mn(c.element, "width", _ + "px");
|
|
42969
42969
|
}, 0);
|
|
@@ -42997,7 +42997,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
42997
42997
|
});
|
|
42998
42998
|
}, Z0 = (t, a, c) => ({
|
|
42999
42999
|
setInputEnabled: (f) => {
|
|
43000
|
-
!f && c &&
|
|
43000
|
+
!f && c && pc(c), mo.set(t, !f);
|
|
43001
43001
|
},
|
|
43002
43002
|
isInputEnabled: () => !mo.isDisabled(t),
|
|
43003
43003
|
hide: () => {
|
|
@@ -43071,7 +43071,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43071
43071
|
classes: ["tox-context-form__group"]
|
|
43072
43072
|
},
|
|
43073
43073
|
components: It
|
|
43074
|
-
}), yt = (It) => xm(It.element, "div.tox-focusable-wrapper").fold(M.none, (Un) => (
|
|
43074
|
+
}), yt = (It) => xm(It.element, "div.tox-focusable-wrapper").fold(M.none, (Un) => (pc(Un), M.some(!0))), Ye = (It) => Ns.parts.field({
|
|
43075
43075
|
factory: Zp,
|
|
43076
43076
|
inputClasses: [
|
|
43077
43077
|
"tox-textfield",
|
|
@@ -43112,7 +43112,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43112
43112
|
Go.config({}),
|
|
43113
43113
|
ko.config({
|
|
43114
43114
|
mode: "special",
|
|
43115
|
-
onEnter: (Jn) => rr(Jn.element, "input").fold(M.none, (ro) => (
|
|
43115
|
+
onEnter: (Jn) => rr(Jn.element, "input").fold(M.none, (ro) => (pc(ro), M.some(!0)))
|
|
43116
43116
|
})
|
|
43117
43117
|
])
|
|
43118
43118
|
}), Vt = pt(oi.parts.field1(Le([
|
|
@@ -43512,7 +43512,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43512
43512
|
} else
|
|
43513
43513
|
return M.none();
|
|
43514
43514
|
}
|
|
43515
|
-
}, SM = (t, a, c) => t(a) ? M.none() :
|
|
43515
|
+
}, SM = (t, a, c) => t(a) ? M.none() : mc(a, (f) => {
|
|
43516
43516
|
if (ls(f)) {
|
|
43517
43517
|
const { contextToolbars: b, contextForms: x } = Pv(f, c.inNodeScope), _ = x.length > 0 ? x : jA(b);
|
|
43518
43518
|
return _.length > 0 ? M.some({
|
|
@@ -43655,7 +43655,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43655
43655
|
});
|
|
43656
43656
|
}), t.on("focusout", (Un) => {
|
|
43657
43657
|
Mk.setEditorTimeout(t, () => {
|
|
43658
|
-
|
|
43658
|
+
vc(c.element).isNone() && vc(Z.element).isNone() && Le();
|
|
43659
43659
|
}, 0);
|
|
43660
43660
|
}), t.on("SwitchMode", () => {
|
|
43661
43661
|
t.mode.isReadOnly() && Le();
|
|
@@ -43670,7 +43670,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43670
43670
|
}), t.on("dragend drop", () => {
|
|
43671
43671
|
It = !1;
|
|
43672
43672
|
}), t.on("NodeChange", (Un) => {
|
|
43673
|
-
|
|
43673
|
+
vc(Z.element).fold(Jn.throttle, j);
|
|
43674
43674
|
});
|
|
43675
43675
|
});
|
|
43676
43676
|
}, xM = (t) => {
|
|
@@ -43709,7 +43709,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43709
43709
|
}), t.ui.registry.addButton("alignnone", {
|
|
43710
43710
|
tooltip: "No alignment",
|
|
43711
43711
|
icon: "align-none",
|
|
43712
|
-
onSetup:
|
|
43712
|
+
onSetup: wc(t),
|
|
43713
43713
|
onAction: $u(t, "JustifyNone")
|
|
43714
43714
|
});
|
|
43715
43715
|
}, qH = (t, a) => {
|
|
@@ -43756,8 +43756,8 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43756
43756
|
watcher: (a, c, f) => a.formatter.formatChanged("lineheight", f, !1, { value: c }).unbind,
|
|
43757
43757
|
getCurrent: (a) => M.from(a.queryCommandValue("LineHeight")),
|
|
43758
43758
|
setCurrent: (a, c) => a.execCommand("LineHeight", !1, c),
|
|
43759
|
-
onToolbarSetup:
|
|
43760
|
-
onMenuSetup:
|
|
43759
|
+
onToolbarSetup: wc(t),
|
|
43760
|
+
onMenuSetup: wc(t)
|
|
43761
43761
|
}), dQ = (t) => M.from(JP(t)).map((c) => ({
|
|
43762
43762
|
name: "language",
|
|
43763
43763
|
text: "Language",
|
|
@@ -43786,9 +43786,9 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43786
43786
|
setCurrent: (f, b) => f.execCommand("Lang", !1, b),
|
|
43787
43787
|
onToolbarSetup: (f) => {
|
|
43788
43788
|
const b = Ol();
|
|
43789
|
-
return f.setActive(t.formatter.match("lang", {}, void 0, !0)), b.set(t.formatter.formatChanged("lang", f.setActive, !0)), D0(b.clear,
|
|
43789
|
+
return f.setActive(t.formatter.match("lang", {}, void 0, !0)), b.set(t.formatter.formatChanged("lang", f.setActive, !0)), D0(b.clear, wc(t)(f));
|
|
43790
43790
|
},
|
|
43791
|
-
onMenuSetup:
|
|
43791
|
+
onMenuSetup: wc(t)
|
|
43792
43792
|
})), fQ = (t) => {
|
|
43793
43793
|
qH(t, YH(t)), dQ(t).each((a) => qH(t, a));
|
|
43794
43794
|
}, GA = (t, a) => {
|
|
@@ -43806,7 +43806,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43806
43806
|
}), t.ui.registry.addButton("indent", {
|
|
43807
43807
|
tooltip: "Increase indent",
|
|
43808
43808
|
icon: "indent",
|
|
43809
|
-
onSetup:
|
|
43809
|
+
onSetup: wc(t),
|
|
43810
43810
|
onAction: $u(t, "indent")
|
|
43811
43811
|
});
|
|
43812
43812
|
}, hQ = (t) => {
|
|
@@ -43816,7 +43816,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43816
43816
|
const f = (b) => {
|
|
43817
43817
|
a.set(b.state), c.setActive(b.state);
|
|
43818
43818
|
};
|
|
43819
|
-
return t.on("PastePlainTextToggle", f), D0(() => t.off("PastePlainTextToggle", f),
|
|
43819
|
+
return t.on("PastePlainTextToggle", f), D0(() => t.off("PastePlainTextToggle", f), wc(t)(c));
|
|
43820
43820
|
}, pQ = (t) => {
|
|
43821
43821
|
const a = xo(c8(t)), c = () => t.execCommand("mceTogglePlainTextPaste");
|
|
43822
43822
|
t.ui.registry.addToggleButton("pastetext", {
|
|
@@ -43969,7 +43969,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
43969
43969
|
t.ui.registry.addButton(a.name, {
|
|
43970
43970
|
tooltip: a.text,
|
|
43971
43971
|
icon: a.icon,
|
|
43972
|
-
onSetup:
|
|
43972
|
+
onSetup: wc(t),
|
|
43973
43973
|
onAction: $u(t, a.action)
|
|
43974
43974
|
});
|
|
43975
43975
|
});
|
|
@@ -44100,13 +44100,13 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
44100
44100
|
text: a.text,
|
|
44101
44101
|
icon: a.icon,
|
|
44102
44102
|
shortcut: a.shortcut,
|
|
44103
|
-
onSetup:
|
|
44103
|
+
onSetup: wc(t),
|
|
44104
44104
|
onAction: $u(t, a.action)
|
|
44105
44105
|
});
|
|
44106
44106
|
}), t.ui.registry.addMenuItem("codeformat", {
|
|
44107
44107
|
text: "Code",
|
|
44108
44108
|
icon: "sourcecode",
|
|
44109
|
-
onSetup:
|
|
44109
|
+
onSetup: wc(t),
|
|
44110
44110
|
onAction: qA(t, "code")
|
|
44111
44111
|
});
|
|
44112
44112
|
}, nV = (t) => {
|
|
@@ -44671,7 +44671,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
44671
44671
|
], cee = (t) => qr([
|
|
44672
44672
|
sn(ju(), t.forceDrop),
|
|
44673
44673
|
sn(Ir(), t.drop),
|
|
44674
|
-
sn(
|
|
44674
|
+
sn(gc(), t.drop),
|
|
44675
44675
|
sn(Ws(), (a, c) => {
|
|
44676
44676
|
t.move(c.event);
|
|
44677
44677
|
})
|
|
@@ -44712,7 +44712,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
44712
44712
|
sn(Ir(), (x, _) => {
|
|
44713
44713
|
_.stop(), b(x);
|
|
44714
44714
|
}),
|
|
44715
|
-
sn(
|
|
44715
|
+
sn(gc(), b)
|
|
44716
44716
|
];
|
|
44717
44717
|
}, dee = [
|
|
44718
44718
|
...RM,
|
|
@@ -45194,7 +45194,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45194
45194
|
t.focus();
|
|
45195
45195
|
},
|
|
45196
45196
|
type: Be
|
|
45197
|
-
}), sd = KS(t), Fa = jk(t), vf = Uk(t),
|
|
45197
|
+
}), sd = KS(t), Fa = jk(t), vf = Uk(t), _c = T5(t), bf = Un(), yf = sd || Fa || vf, jm = () => sd ? [kr] : Fa ? [Br] : [], A_ = _c ? [
|
|
45198
45198
|
bf,
|
|
45199
45199
|
ss
|
|
45200
45200
|
] : [ss];
|
|
@@ -45299,10 +45299,10 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45299
45299
|
Fa,
|
|
45300
45300
|
c ? [] : [yt.asSpec()]
|
|
45301
45301
|
])
|
|
45302
|
-
}),
|
|
45302
|
+
}), _c = $5(t), bf = {
|
|
45303
45303
|
role: "application",
|
|
45304
45304
|
...jf.isRtl() ? { dir: "rtl" } : {},
|
|
45305
|
-
...
|
|
45305
|
+
..._c ? { "aria-hidden": "true" } : {}
|
|
45306
45306
|
}, yf = Jl(ra.sketch({
|
|
45307
45307
|
dom: {
|
|
45308
45308
|
tag: "div",
|
|
@@ -45312,7 +45312,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45312
45312
|
].concat(c ? ["tox-tinymce-inline"] : []).concat(xe ? ["tox-tinymce--toolbar-bottom"] : []).concat(ge),
|
|
45313
45313
|
styles: {
|
|
45314
45314
|
visibility: "hidden",
|
|
45315
|
-
...
|
|
45315
|
+
..._c ? {
|
|
45316
45316
|
opacity: "0",
|
|
45317
45317
|
border: "0"
|
|
45318
45318
|
} : {}
|
|
@@ -45356,14 +45356,14 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45356
45356
|
$t(Bk(t), (ty, tR) => {
|
|
45357
45357
|
t.ui.registry.addGroupToolbarButton(tR, ty);
|
|
45358
45358
|
});
|
|
45359
|
-
const { buttons: sd, menuItems: Fa, contextToolbars: vf, sidebars:
|
|
45359
|
+
const { buttons: sd, menuItems: Fa, contextToolbars: vf, sidebars: _c, views: bf } = t.ui.registry.getAll(), yf = Wk(t), jm = {
|
|
45360
45360
|
menuItems: Fa,
|
|
45361
45361
|
menus: g8(t),
|
|
45362
45362
|
menubar: n8(t),
|
|
45363
45363
|
toolbar: yf.getOrThunk(() => Lk(t)),
|
|
45364
45364
|
allowToolbarGroups: Be === af.floating,
|
|
45365
45365
|
buttons: sd,
|
|
45366
|
-
sidebar:
|
|
45366
|
+
sidebar: _c,
|
|
45367
45367
|
views: bf
|
|
45368
45368
|
};
|
|
45369
45369
|
On(ss.outerContainer), zK(t, ss.mothership, kr), b.setup(t, It.popup.shared, Ye), _Q(t, It.popup), jQ(t, It.popup.shared.getSink, It.popup), c9(t), CX(t, so, It.popup.shared), GH(t, vf, Br.sink, { backstage: It.popup }), hee(t, Br.sink);
|
|
@@ -45408,7 +45408,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45408
45408
|
kt("firstTabstop", 0),
|
|
45409
45409
|
kt("eventOrder", {}),
|
|
45410
45410
|
al("modalBehaviours", [ko]),
|
|
45411
|
-
|
|
45411
|
+
hc("onExecute"),
|
|
45412
45412
|
hC("onEscape")
|
|
45413
45413
|
]), HM = { sketch: We }, OV = Q([
|
|
45414
45414
|
su({
|
|
@@ -45581,7 +45581,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45581
45581
|
Yp,
|
|
45582
45582
|
mx,
|
|
45583
45583
|
Zf,
|
|
45584
|
-
|
|
45584
|
+
fc("items", Oee),
|
|
45585
45585
|
...VM
|
|
45586
45586
|
], DV = [
|
|
45587
45587
|
...VM,
|
|
@@ -45694,12 +45694,12 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45694
45694
|
Qw
|
|
45695
45695
|
], Xee = [
|
|
45696
45696
|
qp,
|
|
45697
|
-
|
|
45697
|
+
fc("items", uh("items", () => T_))
|
|
45698
45698
|
], T_ = ug([
|
|
45699
45699
|
Zo(zV),
|
|
45700
45700
|
Zo(Xee)
|
|
45701
45701
|
]), T2 = hf.concat([
|
|
45702
|
-
|
|
45702
|
+
fc("items", T_),
|
|
45703
45703
|
Im,
|
|
45704
45704
|
la("context", "mode:design")
|
|
45705
45705
|
]), r4 = Zo(T2), UV = eo, a4 = hf.concat([
|
|
@@ -45723,8 +45723,8 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45723
45723
|
wi("max", 0)
|
|
45724
45724
|
]), Lv = Zo(Jee), tae = fm, Qee = [
|
|
45725
45725
|
Si,
|
|
45726
|
-
|
|
45727
|
-
|
|
45726
|
+
fc("header", eo),
|
|
45727
|
+
fc("cells", xu(eo))
|
|
45728
45728
|
], GV = Zo(Qee), k2 = hf.concat([
|
|
45729
45729
|
Ma("placeholder"),
|
|
45730
45730
|
Ra("maximized", !1),
|
|
@@ -45740,7 +45740,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45740
45740
|
Zd("menu", a_),
|
|
45741
45741
|
Ma("customStateIcon"),
|
|
45742
45742
|
Ma("customStateIconTooltip")
|
|
45743
|
-
], KV = Zo(YV), ete = YV.concat([
|
|
45743
|
+
], KV = Zo(YV), ete = YV.concat([fc("children", uh("children", () => mm("type", {
|
|
45744
45744
|
directory: J0,
|
|
45745
45745
|
leaf: KV
|
|
45746
45746
|
})))]), J0 = Zo(ete), oae = mm("type", {
|
|
@@ -45748,7 +45748,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45748
45748
|
leaf: KV
|
|
45749
45749
|
}), tte = [
|
|
45750
45750
|
Si,
|
|
45751
|
-
|
|
45751
|
+
fc("items", oae),
|
|
45752
45752
|
Rf("onLeafAction"),
|
|
45753
45753
|
Rf("onToggleExpand"),
|
|
45754
45754
|
I("defaultExpandedIds", [], eo),
|
|
@@ -45793,11 +45793,11 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45793
45793
|
})), rte = [
|
|
45794
45794
|
Si,
|
|
45795
45795
|
kt("classes", []),
|
|
45796
|
-
|
|
45796
|
+
fc("items", GM)
|
|
45797
45797
|
], qM = Zo(rte), ate = [
|
|
45798
45798
|
uD("tab"),
|
|
45799
45799
|
s7,
|
|
45800
|
-
|
|
45800
|
+
fc("items", GM)
|
|
45801
45801
|
], rae = [
|
|
45802
45802
|
Si,
|
|
45803
45803
|
Ey("tabs", ate)
|
|
@@ -45960,7 +45960,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
45960
45960
|
mode: "acyclic",
|
|
45961
45961
|
useTabstopAt: Oe(Vx)
|
|
45962
45962
|
}),
|
|
45963
|
-
|
|
45963
|
+
xc.memento(b),
|
|
45964
45964
|
$F(b, {
|
|
45965
45965
|
postprocess: (x) => nn(x).fold((_) => (console.error(_), {}), We)
|
|
45966
45966
|
}),
|
|
@@ -46218,7 +46218,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
46218
46218
|
const Z = N.dom.getBoundingClientRect().height;
|
|
46219
46219
|
V.forall((ge) => Z > ge) ? (a.set(Z), nd(_, N, a)) : V.each((ge) => {
|
|
46220
46220
|
Ll(N, ge);
|
|
46221
|
-
}), ws(N, "visibility"), P.each(
|
|
46221
|
+
}), ws(N, "visibility"), P.each(pc);
|
|
46222
46222
|
});
|
|
46223
46223
|
})
|
|
46224
46224
|
],
|
|
@@ -46332,7 +46332,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
46332
46332
|
},
|
|
46333
46333
|
components: [],
|
|
46334
46334
|
behaviours: $n([
|
|
46335
|
-
|
|
46335
|
+
xc.childAt(0),
|
|
46336
46336
|
Wn.config({
|
|
46337
46337
|
channel: `${LF}-${a}`,
|
|
46338
46338
|
updateState: N,
|
|
@@ -47717,17 +47717,17 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
47717
47717
|
}, Cr = (g) => {
|
|
47718
47718
|
const y = g.dom;
|
|
47719
47719
|
y.parentNode !== null && y.parentNode.removeChild(y);
|
|
47720
|
-
},
|
|
47720
|
+
}, rc = (g) => {
|
|
47721
47721
|
const y = Ko(g);
|
|
47722
47722
|
y.length > 0 && kc(g, y), Cr(g);
|
|
47723
|
-
}, xi = (g, y) => fn.fromDom(g.dom.cloneNode(y)), hl = (g) => xi(g, !1), ya = (g) => xi(g, !0),
|
|
47723
|
+
}, xi = (g, y) => fn.fromDom(g.dom.cloneNode(y)), hl = (g) => xi(g, !1), ya = (g) => xi(g, !0), ac = (g, y) => {
|
|
47724
47724
|
const E = fn.fromTag(y), O = Lt(g);
|
|
47725
47725
|
return Mr(E, O), E;
|
|
47726
47726
|
}, Di = (g, y) => {
|
|
47727
|
-
const E =
|
|
47727
|
+
const E = ac(g, y), O = Ko(ya(g));
|
|
47728
47728
|
return ys(E, O), E;
|
|
47729
|
-
},
|
|
47730
|
-
const E =
|
|
47729
|
+
}, ic = (g, y) => {
|
|
47730
|
+
const E = ac(g, y);
|
|
47731
47731
|
ba(g, E);
|
|
47732
47732
|
const O = Ko(g);
|
|
47733
47733
|
return ys(E, O), Cr(g), E;
|
|
@@ -47736,7 +47736,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
47736
47736
|
"thead",
|
|
47737
47737
|
"tbody",
|
|
47738
47738
|
"colgroup"
|
|
47739
|
-
],
|
|
47739
|
+
], lc = (g) => ze(zl, g), jr = (g, y) => ({
|
|
47740
47740
|
rows: g,
|
|
47741
47741
|
columns: y
|
|
47742
47742
|
}), Ki = (g, y) => ({
|
|
@@ -47896,9 +47896,9 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
47896
47896
|
}, Pd = (g, y) => Tf([
|
|
47897
47897
|
"td",
|
|
47898
47898
|
"th"
|
|
47899
|
-
], g, y), Bd = (g) => cd(g, "th,td"),
|
|
47899
|
+
], g, y), Bd = (g) => cd(g, "th,td"), cc = (g) => Gt(g, "colgroup") ? Mn(g, "col") : St(Fu(g), (y) => Mn(y, "col")), Ji = (g, y) => Ga(g, "table", y), h1 = (g) => cd(g, "tr"), Fu = (g) => Ji(g).fold(j([]), (y) => Mn(y, "colgroup")), Qg = (g, y) => tt(g, (E) => {
|
|
47900
47900
|
if (Fs(E) === "colgroup") {
|
|
47901
|
-
const O = tt(
|
|
47901
|
+
const O = tt(cc(E), (L) => {
|
|
47902
47902
|
const q = La(L, "span", 1);
|
|
47903
47903
|
return Ul(L, 1, q);
|
|
47904
47904
|
});
|
|
@@ -47912,7 +47912,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
47912
47912
|
}
|
|
47913
47913
|
}), kf = (g) => bs(g).map((y) => {
|
|
47914
47914
|
const E = Fs(y);
|
|
47915
|
-
return
|
|
47915
|
+
return lc(E) ? E : "tbody";
|
|
47916
47916
|
}).getOr("tbody"), eh = (g) => {
|
|
47917
47917
|
const y = h1(g), O = [
|
|
47918
47918
|
...Fu(g),
|
|
@@ -48179,7 +48179,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
48179
48179
|
}, Na = (g, y) => pi(g.element, y, g.section, g.isNew), Vd = (g, y) => {
|
|
48180
48180
|
const E = g.cells, O = tt(E, y);
|
|
48181
48181
|
return pi(g.element, O, g.section, g.isNew);
|
|
48182
|
-
}, Wl = (g, y) => g.cells[y], $l = (g, y) => Wl(g, y).element,
|
|
48182
|
+
}, Wl = (g, y) => g.cells[y], $l = (g, y) => Wl(g, y).element, uc = (g) => g.cells.length, vi = (g) => {
|
|
48183
48183
|
const y = At(g, (E) => E.section === "colgroup");
|
|
48184
48184
|
return {
|
|
48185
48185
|
rows: y.fail,
|
|
@@ -48311,8 +48311,8 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
48311
48311
|
if (E === g.dom)
|
|
48312
48312
|
return Co(E.offsetLeft, E.offsetTop);
|
|
48313
48313
|
const q = Sa(O == null ? void 0 : O.pageYOffset, L.scrollTop), de = Sa(O == null ? void 0 : O.pageXOffset, L.scrollLeft), _e = Sa(L.clientTop, E.clientTop), ke = Sa(L.clientLeft, E.clientLeft);
|
|
48314
|
-
return
|
|
48315
|
-
},
|
|
48314
|
+
return dc(g).translate(de - ke, q - _e);
|
|
48315
|
+
}, dc = (g) => {
|
|
48316
48316
|
const y = g.dom, O = y.ownerDocument.body;
|
|
48317
48317
|
return O === y ? Co(O.offsetLeft, O.offsetTop) : en(g) ? ta(y) : Co(0, 0);
|
|
48318
48318
|
}, gb = (g, y) => ({
|
|
@@ -48418,7 +48418,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
48418
48418
|
"empty"
|
|
48419
48419
|
])), cn = (g, y, E) => {
|
|
48420
48420
|
hs(g, "width", y + E);
|
|
48421
|
-
}, Js = (g) => Ol(g) + "px", vb = (g) => Tn(g) + "px", Ya = (g) => dg(g, Ol, Nf) + "%", _u = (g) => bd(g).exists((y) => fm.test(y)), Bi = (g) => bd(g).exists((y) => eo.test(y)), eC = (g) => bd(g).isNone(), Wd = j(fm), Ey = go("col"),
|
|
48421
|
+
}, Js = (g) => Ol(g) + "px", vb = (g) => Tn(g) + "px", Ya = (g) => dg(g, Ol, Nf) + "%", _u = (g) => bd(g).exists((y) => fm.test(y)), Bi = (g) => bd(g).exists((y) => eo.test(y)), eC = (g) => bd(g).isNone(), Wd = j(fm), Ey = go("col"), fc = (g) => bd(g).getOrThunk(() => yi(g) + "px"), er = (g) => bi(g).getOrThunk(() => Xs(g) + "px"), Zd = (g) => tt(As.justColumns(g), (y) => ce.from(y.element)), lp = (g) => {
|
|
48422
48422
|
const y = Lu().browser, E = y.isChromium() || y.isFirefox();
|
|
48423
48423
|
return Ey(g) ? E : !0;
|
|
48424
48424
|
}, Ma = (g, y, E, O, L, q) => g.filter(O).fold(() => q(J(E, y)), (de) => L(de)), cp = (g, y, E, O) => {
|
|
@@ -48431,7 +48431,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
48431
48431
|
return Ma(_n, at, de, _e, (Xn) => O(ce.some(Ol(Xn))), O);
|
|
48432
48432
|
}
|
|
48433
48433
|
}, O));
|
|
48434
|
-
}, Rf = (g) => g.map((y) => y + "px").getOr(""), Ty = (g, y) => cp(g, y,
|
|
48434
|
+
}, Rf = (g) => g.map((y) => y + "px").getOr(""), Ty = (g, y) => cp(g, y, fc, Rf), Gl = (g, y, E) => cp(g, y, uh, (O) => O.fold(() => E.minCellWidth(), (L) => L / E.pixelWidth() * 100)), Kc = (g, y, E) => cp(g, y, yi, (O) => O.getOrThunk(E.minCellWidth)), kt = (g, y, E, O) => {
|
|
48435
48435
|
const L = F(g), q = tt(g.all, (_e) => ce.some(_e.element)), de = [ce.some(ol.edge(y))].concat(tt(ol.positions(L, y), (_e) => _e.map((ke) => ke.y)));
|
|
48436
48436
|
return tt(q, (_e, ke) => Ma(_e, ke, de, Oe, E, O));
|
|
48437
48437
|
}, Ic = (g, y) => kt(g, y, Xs, (E) => E.getOrThunk(Qm)), wi = (g, y) => kt(g, y, er, Rf), la = (g, y) => () => en(g) ? y(g) : parseFloat(Ii(g, "width").getOr("0")), Xc = (g) => {
|
|
@@ -48548,7 +48548,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
48548
48548
|
q.dom.nodeValue = de;
|
|
48549
48549
|
}
|
|
48550
48550
|
};
|
|
48551
|
-
})(Et, "text"), ca = (g) => br.get(g), ql = (g) => br.getOption(g), yd = (g, y) => br.set(g, y),
|
|
48551
|
+
})(Et, "text"), ca = (g) => br.get(g), ql = (g) => br.getOption(g), yd = (g, y) => br.set(g, y), mc = (g) => Fs(g) === "img" ? 1 : ql(g).fold(() => Ko(g).length, (y) => y.length), Uu = (g) => ql(g).filter((y) => y.trim().length !== 0 || y.indexOf(us) > -1).isSome(), dh = (g) => bo(g) && wr(g, "contenteditable") === "false", fh = [
|
|
48552
48552
|
"img",
|
|
48553
48553
|
"br"
|
|
48554
48554
|
], Yl = (g) => Uu(g) || ze(fh, Fs(g)) || dh(g), mh = (g) => $c(g, Yl), gh = (g) => k1(g, Yl), k1 = (g, y) => {
|
|
@@ -48573,7 +48573,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
48573
48573
|
}, Ti = (g) => () => {
|
|
48574
48574
|
const y = fn.fromTag("td", g.dom);
|
|
48575
48575
|
return lr(y, fn.fromTag("br", g.dom)), y;
|
|
48576
|
-
}, ju = (g) => () => fn.fromTag("col", g.dom), Ws = (g) => () => fn.fromTag("colgroup", g.dom), Ir = (g) => () => fn.fromTag("tr", g.dom),
|
|
48576
|
+
}, ju = (g) => () => fn.fromTag("col", g.dom), Ws = (g) => () => fn.fromTag("colgroup", g.dom), Ir = (g) => () => fn.fromTag("tr", g.dom), gc = (g, y, E) => {
|
|
48577
48577
|
const O = Di(g, y);
|
|
48578
48578
|
return Ue(E, (L, q) => {
|
|
48579
48579
|
L === null ? qe(O, q) : vs(O, q, L);
|
|
@@ -48616,7 +48616,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
48616
48616
|
colgroup: Ws(y),
|
|
48617
48617
|
row: Ir(y),
|
|
48618
48618
|
cell: L,
|
|
48619
|
-
replace:
|
|
48619
|
+
replace: gc,
|
|
48620
48620
|
colGap: ju(y),
|
|
48621
48621
|
gap: Ti(y)
|
|
48622
48622
|
};
|
|
@@ -48724,7 +48724,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
48724
48724
|
}, $1 = (g) => g.inline && tC(g).isSome(), Yd = Dl("ui_mode"), Kd = (g) => !$1(g) && Yd(g) === "split", ph = (g) => Ga(g, "[contenteditable]"), gp = (g, y = !1) => en(g) ? g.dom.isContentEditable : ph(g).fold(j(y), (E) => wb(E) === "true"), wb = (g) => g.dom.contentEditable, D1 = (g) => fn.fromDom(g.getBody()), pg = (g) => (y) => En(y, D1(g)), vh = (g) => {
|
|
48725
48725
|
qe(g, "data-mce-style");
|
|
48726
48726
|
const y = (E) => qe(E, "data-mce-style");
|
|
48727
|
-
me(Bd(g), y), me(
|
|
48727
|
+
me(Bd(g), y), me(cc(g), y), me(h1(g), y);
|
|
48728
48728
|
}, Cb = (g) => fn.fromDom(g.selection.getStart()), Ay = (g) => g.getBoundingClientRect().width, Oy = (g) => g.getBoundingClientRect().height, Os = (g) => (y, E) => {
|
|
48729
48729
|
const O = y.dom.getStyle(E, g) || y.dom.getAttrib(E, g);
|
|
48730
48730
|
return ce.from(O).filter(Pe);
|
|
@@ -48851,7 +48851,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
48851
48851
|
wrap: $i
|
|
48852
48852
|
}),
|
|
48853
48853
|
remove: j({
|
|
48854
|
-
unwrap:
|
|
48854
|
+
unwrap: rc,
|
|
48855
48855
|
remove: Cr
|
|
48856
48856
|
}),
|
|
48857
48857
|
create: j({
|
|
@@ -49147,7 +49147,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
49147
49147
|
}), yp = (g, y, E) => aa(E(g.element, y), !0, g.isLocked), dC = (g, y) => g.section !== y ? pi(g.element, g.cells, y, g.isNew) : g, EE = () => ({
|
|
49148
49148
|
transformRow: dC,
|
|
49149
49149
|
transformCell: (g, y, E) => {
|
|
49150
|
-
const O = E(g.element, y), L = Fs(O) !== "td" ?
|
|
49150
|
+
const O = E(g.element, y), L = Fs(O) !== "td" ? ic(O, "td") : O;
|
|
49151
49151
|
return aa(L, g.isNew, g.isLocked);
|
|
49152
49152
|
}
|
|
49153
49153
|
}), Hy = () => ({
|
|
@@ -49319,7 +49319,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
49319
49319
|
const L = vi(g).rows;
|
|
49320
49320
|
let q = !0;
|
|
49321
49321
|
for (let de = 0; de < L.length; de++)
|
|
49322
|
-
for (let _e = 0; _e <
|
|
49322
|
+
for (let _e = 0; _e < uc(L[0]); _e++) {
|
|
49323
49323
|
const ke = L[de], at = Wl(ke, _e), Rt = at.element, _n = E(Rt, y);
|
|
49324
49324
|
_n && !q ? cs(ke, _e, aa(O(), !0, at.isLocked)) : _n && (q = !1);
|
|
49325
49325
|
}
|
|
@@ -49337,7 +49337,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
49337
49337
|
me(de, (_e) => {
|
|
49338
49338
|
let ke = ce.none();
|
|
49339
49339
|
for (let at = y; at < L.length; at++)
|
|
49340
|
-
for (let Rt = 0; Rt <
|
|
49340
|
+
for (let Rt = 0; Rt < uc(L[0]); Rt++) {
|
|
49341
49341
|
const _n = L[at], Xn = Wl(_n, Rt);
|
|
49342
49342
|
E(Xn.element, _e.element) && (ke.isNone() && (ke = ce.some(O())), ke.each((Fn) => {
|
|
49343
49343
|
cs(_n, Rt, aa(Fn, !0, Xn.isLocked));
|
|
@@ -49395,15 +49395,15 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
49395
49395
|
error: kh,
|
|
49396
49396
|
fromOption: (g, y) => g.fold(() => kh(y), $E)
|
|
49397
49397
|
}, Sd = (g, y, E) => {
|
|
49398
|
-
if (g.row >= y.length || g.column >
|
|
49398
|
+
if (g.row >= y.length || g.column > uc(y[0]))
|
|
49399
49399
|
return Bf.error("invalid start address out of table bounds, row: " + g.row + ", column: " + g.column);
|
|
49400
|
-
const O = y.slice(g.row), L = O[0].cells.slice(g.column), q =
|
|
49400
|
+
const O = y.slice(g.row), L = O[0].cells.slice(g.column), q = uc(E[0]), de = E.length;
|
|
49401
49401
|
return Bf.value({
|
|
49402
49402
|
rowDelta: O.length - de,
|
|
49403
49403
|
colDelta: L.length - q
|
|
49404
49404
|
});
|
|
49405
49405
|
}, gC = (g, y) => {
|
|
49406
|
-
const E =
|
|
49406
|
+
const E = uc(g[0]), O = uc(y[0]);
|
|
49407
49407
|
return {
|
|
49408
49408
|
rowDelta: 0,
|
|
49409
49409
|
colDelta: E - O
|
|
@@ -49426,17 +49426,17 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
49426
49426
|
}, Zs = (g, y, E, O) => tt(g, (L) => {
|
|
49427
49427
|
const q = Ff(y, L, E, gt);
|
|
49428
49428
|
return rh(L, O, q);
|
|
49429
|
-
}),
|
|
49429
|
+
}), hc = (g, y, E) => tt(g, (O) => Me(E, (L, q) => {
|
|
49430
49430
|
const de = Ff(1, O, y, Oe)[0];
|
|
49431
49431
|
return rp(L, q, de);
|
|
49432
49432
|
}, O)), Gu = (g, y, E) => {
|
|
49433
|
-
const O = y.colDelta < 0 ? Zs : Te, L = y.rowDelta < 0 ? V1 : Te, q = Zr(g), de =
|
|
49433
|
+
const O = y.colDelta < 0 ? Zs : Te, L = y.rowDelta < 0 ? V1 : Te, q = Zr(g), de = uc(g[0]), _e = pe(q, (Rt) => Rt === de - 1), ke = O(g, Math.abs(y.colDelta), E, _e ? de - 1 : de), at = Zr(ke);
|
|
49434
49434
|
return L(ke, Math.abs(y.rowDelta), E, X(at, Oe));
|
|
49435
49435
|
}, hC = (g, y, E, O) => {
|
|
49436
49436
|
const L = Wl(g[y], E), q = Fe(O, L.element), de = g[y];
|
|
49437
|
-
return g.length > 1 &&
|
|
49437
|
+
return g.length > 1 && uc(de) > 1 && (E > 0 && q($l(de, E - 1)) || E < de.cells.length - 1 && q($l(de, E + 1)) || y > 0 && q($l(g[y - 1], E)) || y < g.length - 1 && q($l(g[y + 1], E)));
|
|
49438
49438
|
}, na = (g, y, E, O, L, q) => {
|
|
49439
|
-
const de = g.row, _e = g.column, ke = E.length, at =
|
|
49439
|
+
const de = g.row, _e = g.column, ke = E.length, at = uc(E[0]), Rt = de + ke, _n = _e + at + q.length, Xn = X(q, Oe);
|
|
49440
49440
|
for (let In = de; In < Rt; In++) {
|
|
49441
49441
|
let Fn = 0;
|
|
49442
49442
|
for (let po = _e; po < _n; po++) {
|
|
@@ -49451,12 +49451,12 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
49451
49451
|
}
|
|
49452
49452
|
return y;
|
|
49453
49453
|
}, pC = (g, y, E) => {
|
|
49454
|
-
const O =
|
|
49454
|
+
const O = uc(y[0]), L = vi(y).cols.length + g.row, q = nt(O - g.column, (_e) => _e + g.column), de = te(q, (_e) => Zt(E, (ke) => ke !== _e)).getOr(O - 1);
|
|
49455
49455
|
return {
|
|
49456
49456
|
row: L,
|
|
49457
49457
|
column: de
|
|
49458
49458
|
};
|
|
49459
|
-
}, Ah = (g, y, E) => He(E, (O) => O >= g.column && O <=
|
|
49459
|
+
}, Ah = (g, y, E) => He(E, (O) => O >= g.column && O <= uc(y[0]) + g.column), Sp = (g, y, E, O, L) => {
|
|
49460
49460
|
const q = Zr(y), de = pC(g, y, q), _e = vi(E).rows, ke = Ah(de, _e, q);
|
|
49461
49461
|
return Sd(de, y, _e).map((Rt) => {
|
|
49462
49462
|
const _n = {
|
|
@@ -49480,7 +49480,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
49480
49480
|
} = vi(ke), _n = Zr(ke), Xn = gC(E, y), In = {
|
|
49481
49481
|
...Xn,
|
|
49482
49482
|
colDelta: Xn.colDelta + _n.length
|
|
49483
|
-
}, Fn =
|
|
49483
|
+
}, Fn = hc(E, O, _n), po = Gu(Fn, In, O);
|
|
49484
49484
|
return [
|
|
49485
49485
|
...at,
|
|
49486
49486
|
...Rt.slice(0, g),
|
|
@@ -49502,7 +49502,7 @@ The conflicting element is` + (Ge(oe.element) ? " " : " not ") + "already in the
|
|
|
49502
49502
|
} else
|
|
49503
49503
|
return Wl(g, y);
|
|
49504
49504
|
}, ME = (g, y, E, O, L) => tt(g, (q) => {
|
|
49505
|
-
const de = y > 0 && y <
|
|
49505
|
+
const de = y > 0 && y < uc(q) && O($l(q, y - 1), $l(q, y)), _e = Ib(q, y, q.section, de, E, O, L);
|
|
49506
49506
|
return rp(q, y, _e);
|
|
49507
49507
|
}), U1 = (g, y) => St(g, (E) => {
|
|
49508
49508
|
const O = E.cells, L = vt(y, (q, de) => de >= 0 && de < q.length ? q.slice(0, de).concat(q.slice(de + 1)) : q, O);
|
|
@@ -49946,7 +49946,7 @@ Required: ` + y.join(", "));
|
|
|
49946
49946
|
structure: !0,
|
|
49947
49947
|
style: !0
|
|
49948
49948
|
}, nw = (g, y) => fp(g) ? z.percentageSize(y) : qd(g) ? z.pixelSize(y) : z.getTableSize(y), fo = (g, y, E) => {
|
|
49949
|
-
const O = (
|
|
49949
|
+
const O = (yc) => Fs(D1(yc)) === "table", L = (yc) => !O(g) || bp(yc).rows > 1, q = (yc) => !O(g) || bp(yc).columns > 1, de = O1(g), _e = vm(g) ? K : vp, ke = (yc) => {
|
|
49950
49950
|
switch (hh(g)) {
|
|
49951
49951
|
case "section":
|
|
49952
49952
|
return Db.section();
|
|
@@ -49955,26 +49955,26 @@ Required: ` + y.join(", "));
|
|
|
49955
49955
|
case "cells":
|
|
49956
49956
|
return Db.cells();
|
|
49957
49957
|
default:
|
|
49958
|
-
return Db.getTableSectionType(
|
|
49958
|
+
return Db.getTableSectionType(yc, "section");
|
|
49959
49959
|
}
|
|
49960
|
-
}, at = (
|
|
49961
|
-
const g0 = Bd(
|
|
49960
|
+
}, at = (yc, PS) => PS.cursor.fold(() => {
|
|
49961
|
+
const g0 = Bd(yc);
|
|
49962
49962
|
return G(g0).filter(en).map((Nm) => {
|
|
49963
|
-
E.clearSelectedCells(
|
|
49963
|
+
E.clearSelectedCells(yc.dom);
|
|
49964
49964
|
const Ui = g.dom.createRng();
|
|
49965
49965
|
return Ui.selectNode(Nm.dom), g.selection.setRng(Ui), vs(Nm, "data-mce-selected", "1"), Ui;
|
|
49966
49966
|
});
|
|
49967
49967
|
}, (g0) => {
|
|
49968
49968
|
const Nm = wh(g0), Ui = g.dom.createRng();
|
|
49969
|
-
return Ui.setStart(Nm.element.dom, Nm.offset), Ui.setEnd(Nm.element.dom, Nm.offset), g.selection.setRng(Ui), E.clearSelectedCells(
|
|
49970
|
-
}), Rt = (
|
|
49969
|
+
return Ui.setStart(Nm.element.dom, Nm.offset), Ui.setEnd(Nm.element.dom, Nm.offset), g.selection.setRng(Ui), E.clearSelectedCells(yc.dom), ce.some(Ui);
|
|
49970
|
+
}), Rt = (yc, PS, g0, Nm) => (Ui, $g, z$ = !1) => {
|
|
49971
49971
|
vh(Ui);
|
|
49972
49972
|
const BS = fn.fromDom(g.getDoc()), U$ = gm(g0, BS, de), FS = {
|
|
49973
49973
|
sizing: nw(g, Ui),
|
|
49974
49974
|
resize: vm(g) ? wE() : Fy(),
|
|
49975
49975
|
section: ke(Ui)
|
|
49976
49976
|
};
|
|
49977
|
-
return PS(Ui) ?
|
|
49977
|
+
return PS(Ui) ? yc(Ui, $g, U$, FS).bind((LS) => {
|
|
49978
49978
|
y.refresh(Ui.dom), me(LS.newRows, (h0) => {
|
|
49979
49979
|
Ci(g, h0.dom);
|
|
49980
49980
|
}), me(LS.newCells, (h0) => {
|
|
@@ -49986,7 +49986,7 @@ Required: ` + y.join(", "));
|
|
|
49986
49986
|
effect: Nm
|
|
49987
49987
|
}));
|
|
49988
49988
|
}) : ce.none();
|
|
49989
|
-
}, _n = Rt(OC, L, K, rl), Xn = Rt(AC, q, K, rl), In = Rt(eT, Oe, K, rl), Fn = Rt(zO, Oe, K, rl), po = Rt(ew, Oe, _e, rl), kn = Rt(kC, Oe, _e, rl), Ho = Rt(Sg, Oe, K, rl), hn = Rt($C, Oe, K, rl), io = Rt(rT, Oe, K, rl), hr = Rt(tw, Oe, K, rl), pr = Rt(NC, Oe, K, rl), Eo = Rt(MC, Oe, K, rl), Vr = Rt(DC, Oe, K, aT),
|
|
49989
|
+
}, _n = Rt(OC, L, K, rl), Xn = Rt(AC, q, K, rl), In = Rt(eT, Oe, K, rl), Fn = Rt(zO, Oe, K, rl), po = Rt(ew, Oe, _e, rl), kn = Rt(kC, Oe, _e, rl), Ho = Rt(Sg, Oe, K, rl), hn = Rt($C, Oe, K, rl), io = Rt(rT, Oe, K, rl), hr = Rt(tw, Oe, K, rl), pr = Rt(NC, Oe, K, rl), Eo = Rt(MC, Oe, K, rl), Vr = Rt(DC, Oe, K, aT), bc = Rt(Ml, Oe, K, rl), Hh = Rt(jO, Oe, K, rl), sf = Rt(tT, Oe, K, rl), Bs = Rt(nT, Oe, K, rl), Er = Rt(oT, Oe, K, rl), Bl = Rt(sT, Oe, K, rl), zi = Rt(UO, Oe, K, rl);
|
|
49990
49990
|
return {
|
|
49991
49991
|
deleteRow: _n,
|
|
49992
49992
|
deleteColumn: Xn,
|
|
@@ -50001,7 +50001,7 @@ Required: ` + y.join(", "));
|
|
|
50001
50001
|
pasteRowsBefore: pr,
|
|
50002
50002
|
pasteRowsAfter: Eo,
|
|
50003
50003
|
pasteCells: Vr,
|
|
50004
|
-
makeCellsHeader:
|
|
50004
|
+
makeCellsHeader: bc,
|
|
50005
50005
|
unmakeCellsHeader: Hh,
|
|
50006
50006
|
makeColumnsHeader: sf,
|
|
50007
50007
|
unmakeColumnsHeader: Bs,
|
|
@@ -50067,7 +50067,7 @@ Required: ` + y.join(", "));
|
|
|
50067
50067
|
}, Hi = (g, y) => tt(g, (E) => Em.from(E).fold(() => E, (L) => L / y * 100 + "%", (L) => L + "%")), _d = (g, y, E) => {
|
|
50068
50068
|
const O = E / y;
|
|
50069
50069
|
return tt(g, (L) => Em.from(L).fold(() => L, (de) => de * O + "px", (de) => de / 100 * E + "px"));
|
|
50070
|
-
},
|
|
50070
|
+
}, vc = (g, y) => {
|
|
50071
50071
|
const E = g.fold(() => j(""), (O) => {
|
|
50072
50072
|
const L = O / y;
|
|
50073
50073
|
return j(L + "px");
|
|
@@ -50077,7 +50077,7 @@ Required: ` + y.join(", "));
|
|
|
50077
50077
|
});
|
|
50078
50078
|
return nt(y, E);
|
|
50079
50079
|
}, PC = (g, y, E) => g.fold(() => y, (O) => _d(y, E, O), (O) => Hi(y, E)), sw = (g, y, E) => {
|
|
50080
|
-
const O = Em.from(E), L = Zt(g, (q) => q === "0px") ?
|
|
50080
|
+
const O = Em.from(E), L = Zt(g, (q) => q === "0px") ? vc(O, g.length) : PC(O, g, y);
|
|
50081
50081
|
return cT(L);
|
|
50082
50082
|
}, BC = (g, y) => g.length === 0 ? y : vt(g, (E, O) => Em.from(O).fold(j(0), Te, Te) + E, 0), lT = (g, y) => {
|
|
50083
50083
|
const E = Math.floor(g);
|
|
@@ -50143,7 +50143,7 @@ Required: ` + y.join(", "));
|
|
|
50143
50143
|
FC(g, ce.none(), ce.some(y)), Y1(g);
|
|
50144
50144
|
}, mT = (g) => {
|
|
50145
50145
|
Wr(g, "width");
|
|
50146
|
-
const y =
|
|
50146
|
+
const y = cc(g), E = y.length > 0 ? y : Bd(g);
|
|
50147
50147
|
me(E, (O) => {
|
|
50148
50148
|
Wr(O, "width"), Y1(O);
|
|
50149
50149
|
}), Y1(g);
|
|
@@ -50330,8 +50330,8 @@ Required: ` + y.join(", "));
|
|
|
50330
50330
|
const hr = Pt(Ho, (pr, Eo) => g.formatter.has(hn(Eo)) && v(pr));
|
|
50331
50331
|
un(hr) || (Ue(hr, (pr, Eo) => {
|
|
50332
50332
|
const Vr = hn(Eo);
|
|
50333
|
-
me(io, (
|
|
50334
|
-
pr === "" ? g.formatter.remove(Vr, { value: null },
|
|
50333
|
+
me(io, (bc) => {
|
|
50334
|
+
pr === "" ? g.formatter.remove(Vr, { value: null }, bc.dom, !0) : g.formatter.apply(Vr, { value: pr }, bc.dom);
|
|
50335
50335
|
});
|
|
50336
50336
|
}), q(io[0]).each((pr) => fi(g, pr.dom, zb)));
|
|
50337
50337
|
});
|
|
@@ -50461,7 +50461,7 @@ Required: ` + y.join(", "));
|
|
|
50461
50461
|
return J1.create(fn.fromDom(E.startContainer), E.startOffset, fn.fromDom(E.endContainer), E.endOffset);
|
|
50462
50462
|
}, pw = Yb.create, d$ = (g, y, E, O, L, q, de) => En(E, L) && O === q ? ce.none() : Ga(E, "td,th", y).bind((_e) => Ga(L, "td,th", y).bind((ke) => TT(g, y, _e, ke, de))), TT = (g, y, E, O, L) => En(E, O) ? ce.none() : Py(E, O, y).bind((q) => {
|
|
50463
50463
|
const de = q.boxes.getOr([]);
|
|
50464
|
-
return de.length > 1 ? (L(g, de, q.start, q.finish), ce.some(X1.create(ce.some(pw(E, 0, E,
|
|
50464
|
+
return de.length > 1 ? (L(g, de, q.start, q.finish), ce.some(X1.create(ce.some(pw(E, 0, E, mc(E))), !0))) : ce.none();
|
|
50465
50465
|
}), f$ = (g, y, E, O, L) => {
|
|
50466
50466
|
const q = (de) => (L.clearBeforeUpdate(E), L.selectRange(E, de.boxes, de.start, de.finish), de.boxes);
|
|
50467
50467
|
return Wu(O, g, y, L.firstSelectedSelector, L.lastSelectedSelector).map(q);
|
|
@@ -50506,7 +50506,7 @@ Required: ` + y.join(", "));
|
|
|
50506
50506
|
return L.right > O.left && L.left < O.right;
|
|
50507
50507
|
}, Uc = (g) => Ga(g, "tr"), ev = {
|
|
50508
50508
|
...Jb,
|
|
50509
|
-
verify: (g, y, E, O, L, q, de) => Ga(O, "td,th", de).bind((_e) => Ga(y, "td,th", de).map((ke) => En(_e, ke) ? En(O, _e) &&
|
|
50509
|
+
verify: (g, y, E, O, L, q, de) => Ga(O, "td,th", de).bind((_e) => Ga(y, "td,th", de).map((ke) => En(_e, ke) ? En(O, _e) && mc(_e) === L ? q(ke) : Jb.none("in same cell") : M1(Uc, [
|
|
50510
50510
|
_e,
|
|
50511
50511
|
ke
|
|
50512
50512
|
]).fold(() => OT(g, ke, _e) ? Jb.success() : q(ke), (at) => q(ke)))).getOr(Jb.none("default")),
|
|
@@ -50522,7 +50522,7 @@ Required: ` + y.join(", "));
|
|
|
50522
50522
|
}), Qb = (g, y) => yn(g, Fe(En, y)), Mh = go("br"), rS = (g, y, E) => y(g, E).bind((O) => Et(O) && ca(O).trim().length === 0 ? rS(O, y, E) : ce.some(O)), NT = (g, y, E) => E.traverse(y).orThunk(() => rS(y, E.gather, g)).map(E.relative), b$ = (g, y) => ls(g, y).filter(Mh).orThunk(() => ls(g, y - 1).filter(Mh)), MT = (g, y, E, O) => b$(y, E).bind((L) => O.traverse(L).fold(() => rS(L, O.gather, g).map(O.relative), (q) => DT(q).map((de) => zc.on(de.parent, de.index)))), e0 = (g, y, E, O) => (Mh(y) ? NT(g, y, O) : MT(g, y, E, O)).map((q) => ({
|
|
50523
50523
|
start: q,
|
|
50524
50524
|
finish: q
|
|
50525
|
-
})), RT = (g) => ev.cata(g, (y) => ce.none(), () => ce.none(), (y) => ce.some(Jc(y, 0)), (y) => ce.some(Jc(y,
|
|
50525
|
+
})), RT = (g) => ev.cata(g, (y) => ce.none(), () => ce.none(), (y) => ce.some(Jc(y, 0)), (y) => ce.some(Jc(y, mc(y)))), t0 = (g, y) => ({
|
|
50526
50526
|
left: g.left,
|
|
50527
50527
|
top: g.top + y,
|
|
50528
50528
|
right: g.right,
|
|
@@ -50537,12 +50537,12 @@ Required: ` + y.join(", "));
|
|
|
50537
50537
|
top: g.top + E,
|
|
50538
50538
|
right: g.right + y,
|
|
50539
50539
|
bottom: g.bottom + E
|
|
50540
|
-
}), nv = (g) => g.top, Dp = (g) => g.bottom, Np = (g, y, E) => E >= 0 && E <
|
|
50540
|
+
}), nv = (g) => g.top, Dp = (g) => g.bottom, Np = (g, y, E) => E >= 0 && E < mc(y) ? g.getRangedRect(y, E, y, E + 1) : E > 0 ? g.getRangedRect(y, E - 1, y, E) : ce.none(), _g = (g) => ({
|
|
50541
50541
|
left: g.left,
|
|
50542
50542
|
top: g.top,
|
|
50543
50543
|
right: g.right,
|
|
50544
50544
|
bottom: g.bottom
|
|
50545
|
-
}), iS = (g, y) => ce.some(g.getRect(y)), km = (g, y, E) => Ks(y) ? iS(g, y).map(_g) : Et(y) ? Np(g, y, E).map(_g) : ce.none(), ef = (g, y) => Ks(y) ? iS(g, y).map(_g) : Et(y) ? g.getRangedRect(y, 0, y,
|
|
50545
|
+
}), iS = (g, y) => ce.some(g.getRect(y)), km = (g, y, E) => Ks(y) ? iS(g, y).map(_g) : Et(y) ? Np(g, y, E).map(_g) : ce.none(), ef = (g, y) => Ks(y) ? iS(g, y).map(_g) : Et(y) ? g.getRangedRect(y, 0, y, mc(y)).map(_g) : ce.none(), Am = 5, lS = 100, Hf = Fc.generate([
|
|
50546
50546
|
{ none: [] },
|
|
50547
50547
|
{ retry: ["caret"] }
|
|
50548
50548
|
]), cS = (g, y) => g.left < y.left || Math.abs(y.right - g.left) < 1 || g.left > y.right, Mp = (g, y, E) => ka(y, W1).fold(gt, (O) => ef(g, O).exists((L) => cS(E, L))), ov = (g, y, E, O, L) => {
|
|
@@ -50573,7 +50573,7 @@ Required: ` + y.join(", "));
|
|
|
50573
50573
|
return RT(de);
|
|
50574
50574
|
})), Rp = (g, y, E, O, L, q) => q === 0 ? ce.none() : MI(g, y, E, O, L).bind((de) => {
|
|
50575
50575
|
const _e = g.fromSitus(de), ke = ev.verify(g, E, O, _e.finish, _e.foffset, L.failure, y);
|
|
50576
|
-
return ev.cata(ke, () => ce.none(), () => ce.some(de), (at) => En(E, at) && O === 0 ? LT(g, E, O, tv, L) : Rp(g, y, at, 0, L, q - 1), (at) => En(E, at) && O ===
|
|
50576
|
+
return ev.cata(ke, () => ce.none(), () => ce.some(de), (at) => En(E, at) && O === 0 ? LT(g, E, O, tv, L) : Rp(g, y, at, 0, L, q - 1), (at) => En(E, at) && O === mc(at) ? LT(g, E, O, t0, L) : Rp(g, y, at, mc(at), L, q - 1));
|
|
50577
50577
|
}), LT = (g, y, E, O, L) => km(g, y, E).bind((q) => s0(g, L, O(q, tf.getJumpSize()))), s0 = (g, y, E) => {
|
|
50578
50578
|
const O = Lu().browser;
|
|
50579
50579
|
return O.isChromium() || O.isSafari() || O.isFirefox() ? y.retry(g, E) : ce.none();
|
|
@@ -50587,7 +50587,7 @@ Required: ` + y.join(", "));
|
|
|
50587
50587
|
})), qu = (g, y) => Ga(g, "tr", y).bind((E) => Ga(E, "table", y).bind((O) => {
|
|
50588
50588
|
const L = Ss(O, "tr");
|
|
50589
50589
|
return En(E, L[0]) ? h$(O, (q) => gh(q).isSome(), y).map((q) => {
|
|
50590
|
-
const de =
|
|
50590
|
+
const de = mc(q);
|
|
50591
50591
|
return X1.create(ce.some(pw(q, de, q, de)), !0);
|
|
50592
50592
|
}) : ce.none();
|
|
50593
50593
|
})), VT = (g, y) => Ga(g, "tr", y).bind((E) => Ga(E, "table", y).bind((O) => {
|
|
@@ -51023,14 +51023,14 @@ Required: ` + y.join(", "));
|
|
|
51023
51023
|
const Bl = kg(Er);
|
|
51024
51024
|
y.hide();
|
|
51025
51025
|
const zi = g.selection.getRng(), kd = fn.fromDom(zi.startContainer), Fl = fn.fromDom(zi.endContainer), rf = he(of, _w)(fn.fromDom(g.selection.getStart()));
|
|
51026
|
-
Fn.keydown(Bl, kd, zi.startOffset, Fl, zi.endOffset, rf).each((
|
|
51027
|
-
Ho(Bl,
|
|
51026
|
+
Fn.keydown(Bl, kd, zi.startOffset, Fl, zi.endOffset, rf).each((yc) => {
|
|
51027
|
+
Ho(Bl, yc);
|
|
51028
51028
|
}), y.show();
|
|
51029
51029
|
}, hr = (Er) => Er.button === 0, pr = (Er) => Er.buttons === void 0 ? !0 : (Er.buttons & 1) !== 0, Eo = (Er) => {
|
|
51030
51030
|
In.clearstate();
|
|
51031
51031
|
}, Vr = (Er) => {
|
|
51032
51032
|
hr(Er) && Lh(Er) && In.mousedown(kg(Er));
|
|
51033
|
-
},
|
|
51033
|
+
}, bc = (Er) => {
|
|
51034
51034
|
pr(Er) && Lh(Er) && In.mouseover(kg(Er));
|
|
51035
51035
|
}, Hh = (Er) => {
|
|
51036
51036
|
hr(Er) && Lh(Er) && In.mouseup(kg(Er));
|
|
@@ -51039,13 +51039,13 @@ Required: ` + y.join(", "));
|
|
|
51039
51039
|
return { touchEnd: (kd) => {
|
|
51040
51040
|
const Fl = fn.fromDom(kd.target);
|
|
51041
51041
|
if (go("td")(Fl) || go("th")(Fl)) {
|
|
51042
|
-
const rf = Er.get(),
|
|
51043
|
-
En(rf, Fl) && kd.timeStamp -
|
|
51042
|
+
const rf = Er.get(), yc = Bl.get();
|
|
51043
|
+
En(rf, Fl) && kd.timeStamp - yc < 300 && (kd.preventDefault(), po(Fl, Fl));
|
|
51044
51044
|
}
|
|
51045
51045
|
Er.set(Fl), Bl.set(kd.timeStamp);
|
|
51046
51046
|
} };
|
|
51047
51047
|
})();
|
|
51048
|
-
g.on("dragstart", Eo), g.on("mousedown", Vr), g.on("mouseover",
|
|
51048
|
+
g.on("dragstart", Eo), g.on("mousedown", Vr), g.on("mouseover", bc), g.on("mouseup", Hh), g.on("touchend", Bs.touchEnd), g.on("keyup", hn), g.on("keydown", io), g.on("NodeChange", Xn);
|
|
51049
51049
|
}), g.on("PreInit", () => {
|
|
51050
51050
|
g.serializer.addTempAttr(Eu.firstSelected), g.serializer.addTempAttr(Eu.lastSelected);
|
|
51051
51051
|
}), {
|
|
@@ -51542,10 +51542,10 @@ Required: ` + y.join(", "));
|
|
|
51542
51542
|
const y = a0(), E = a0(), O = a0();
|
|
51543
51543
|
let L, q, de, _e;
|
|
51544
51544
|
const ke = (io) => nw(g, io), at = () => fE(g) ? Fy() : wE(), Rt = (io) => bp(io).columns, _n = (io) => bp(io).rows, Xn = (io, hr, pr, Eo) => {
|
|
51545
|
-
const Vr = RS(hr),
|
|
51545
|
+
const Vr = RS(hr), bc = Xi(Vr, "e"), Hh = ai(Vr, "n");
|
|
51546
51546
|
if (q === "" && $h(io), _e === "" && JO(io), pr !== L && q !== "") {
|
|
51547
51547
|
hs(io, "width", q);
|
|
51548
|
-
const sf = at(), Bs = ke(io), Er = fE(g) ||
|
|
51548
|
+
const sf = at(), Bs = ke(io), Er = fE(g) || bc ? Rt(io) - 1 : 0;
|
|
51549
51549
|
jy(io, pr - L, Er, sf, Bs);
|
|
51550
51550
|
} else if ($y(q)) {
|
|
51551
51551
|
const sf = parseFloat(q.replace("%", "")), Bs = pr * sf / L;
|
|
@@ -51573,10 +51573,10 @@ Required: ` + y.join(", "));
|
|
|
51573
51573
|
const Vr = Eo.table.dom;
|
|
51574
51574
|
RC(g, Vr, Ay(Vr), Oy(Vr), MS + Eo.type);
|
|
51575
51575
|
}), pr.events.afterResize.bind((Eo) => {
|
|
51576
|
-
const Vr = Eo.table,
|
|
51576
|
+
const Vr = Eo.table, bc = Vr.dom;
|
|
51577
51577
|
vh(Vr), y.on((Hh) => {
|
|
51578
51578
|
g.selection.setRng(Hh), g.focus();
|
|
51579
|
-
}), Vb(g,
|
|
51579
|
+
}), Vb(g, bc, Ay(bc), Oy(bc), MS + Eo.type), g.undoManager.add();
|
|
51580
51580
|
}), E.set(pr);
|
|
51581
51581
|
}
|
|
51582
51582
|
}), g.on("ObjectResizeStart", (io) => {
|
|
@@ -52507,10 +52507,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
52507
52507
|
const ot = kc(ue);
|
|
52508
52508
|
we.prepend(ot), ue.selection.setCursorLocation(ot, 0);
|
|
52509
52509
|
}
|
|
52510
|
-
},
|
|
52510
|
+
}, rc = (ue) => (we) => {
|
|
52511
52511
|
Yi(ue, we), Cr(ue, we);
|
|
52512
52512
|
}, xi = (ue) => {
|
|
52513
|
-
hi.each(hi.grep(ue.dom.select("details", ue.getBody())),
|
|
52513
|
+
hi.each(hi.grep(ue.dom.select("details", ue.getBody())), rc(ue));
|
|
52514
52514
|
}, hl = (ue) => {
|
|
52515
52515
|
if (!ba(ue))
|
|
52516
52516
|
return;
|
|
@@ -52531,7 +52531,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
52531
52531
|
}, ya = (ue, we) => {
|
|
52532
52532
|
const ot = we ?? !ls(ue);
|
|
52533
52533
|
return ot ? ue.setAttribute("open", "open") : ue.removeAttribute("open"), ot;
|
|
52534
|
-
},
|
|
52534
|
+
}, ac = (ue, we) => {
|
|
52535
52535
|
Ta(ue).each((ot) => {
|
|
52536
52536
|
yo(ue, ot, ya(ot, we));
|
|
52537
52537
|
});
|
|
@@ -52540,13 +52540,13 @@ tinymce.addI18n("zh_CN", {
|
|
|
52540
52540
|
const { nextSibling: ot } = we;
|
|
52541
52541
|
ot ? (ue.selection.select(ot, !0), ue.selection.collapse(!0)) : ys(ue, we), we.remove();
|
|
52542
52542
|
});
|
|
52543
|
-
},
|
|
52543
|
+
}, ic = (ue, we) => {
|
|
52544
52544
|
const ot = Array.from(ue.getBody().querySelectorAll("details"));
|
|
52545
52545
|
ot.length !== 0 && (Q(ot, (en) => ya(en, we ?? !ls(en))), uo(ue, ot, we));
|
|
52546
52546
|
}, zl = (ue) => {
|
|
52547
|
-
ue.addCommand("InsertAccordion", () => hl(ue)), ue.addCommand("ToggleAccordion", (we, ot) =>
|
|
52547
|
+
ue.addCommand("InsertAccordion", () => hl(ue)), ue.addCommand("ToggleAccordion", (we, ot) => ac(ue, ot)), ue.addCommand("ToggleAllAccordions", (we, ot) => ic(ue, ot)), ue.addCommand("RemoveAccordion", () => Di(ue));
|
|
52548
52548
|
};
|
|
52549
|
-
var
|
|
52549
|
+
var lc = tinymce.util.Tools.resolve("tinymce.html.Node");
|
|
52550
52550
|
const jr = (ue) => {
|
|
52551
52551
|
var we, ot;
|
|
52552
52552
|
return (ot = (we = ue.attr("class")) === null || we === void 0 ? void 0 : we.split(" ")) !== null && ot !== void 0 ? ot : [];
|
|
@@ -52573,7 +52573,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
52573
52573
|
otherNodes: zn
|
|
52574
52574
|
};
|
|
52575
52575
|
}, Qr = (ue) => {
|
|
52576
|
-
const we = new
|
|
52576
|
+
const we = new lc("br", 1);
|
|
52577
52577
|
we.attr("data-mce-bogus", "1"), ue.empty(), ue.append(we);
|
|
52578
52578
|
}, aa = (ue) => {
|
|
52579
52579
|
ue.on("PreInit", () => {
|
|
@@ -52582,16 +52582,16 @@ tinymce.addI18n("zh_CN", {
|
|
|
52582
52582
|
for (let zn = 0; zn < en.length; zn++) {
|
|
52583
52583
|
const se = en[zn];
|
|
52584
52584
|
if (jl(se)) {
|
|
52585
|
-
const ye = se, { summaryNode: Ke, wrapperNode: Ot, otherNodes: Nn } = Ni(ye), Mn = $(Ke), Ss = Mn ? Ke : new
|
|
52585
|
+
const ye = se, { summaryNode: Ke, wrapperNode: Ot, otherNodes: Nn } = Ni(ye), Mn = $(Ke), Ss = Mn ? Ke : new lc("summary", 1);
|
|
52586
52586
|
A(Ss.firstChild) && Qr(Ss), Ki(Ss, [bs]), Mn || ($(ye.firstChild) ? ye.insert(Ss, ye.firstChild, !0) : ye.append(Ss));
|
|
52587
|
-
const ga = $(Ot), rn = ga ? Ot : new
|
|
52587
|
+
const ga = $(Ot), rn = ga ? Ot : new lc(Ps, 1);
|
|
52588
52588
|
if (rn.attr("data-mce-bogus", "1"), Ki(rn, [dr]), Nn.length > 0)
|
|
52589
52589
|
for (let ka = 0; ka < Nn.length; ka++) {
|
|
52590
52590
|
const Qs = Nn[ka];
|
|
52591
52591
|
rn.append(Qs);
|
|
52592
52592
|
}
|
|
52593
52593
|
if (A(rn.firstChild)) {
|
|
52594
|
-
const ka = new
|
|
52594
|
+
const ka = new lc("p", 1);
|
|
52595
52595
|
Qr(ka), rn.append(ka);
|
|
52596
52596
|
}
|
|
52597
52597
|
ga || ye.append(rn);
|
|
@@ -57908,10 +57908,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
57908
57908
|
opera: dt(ba),
|
|
57909
57909
|
firefox: dt(Ta),
|
|
57910
57910
|
safari: dt(lr)
|
|
57911
|
-
}, ys = "Windows", Yi = "iOS", Cr = "Android",
|
|
57911
|
+
}, ys = "Windows", Yi = "iOS", Cr = "Android", rc = "Linux", xi = "macOS", hl = "Solaris", ya = "FreeBSD", ac = "ChromeOS", Di = () => ic({
|
|
57912
57912
|
current: void 0,
|
|
57913
57913
|
version: yo.unknown()
|
|
57914
|
-
}),
|
|
57914
|
+
}), ic = (Ne) => {
|
|
57915
57915
|
const Pe = Ne.current, Mt = Ne.version, an = (_o) => () => Pe === _o;
|
|
57916
57916
|
return {
|
|
57917
57917
|
current: Pe,
|
|
@@ -57920,22 +57920,22 @@ tinymce.addI18n("zh_CN", {
|
|
|
57920
57920
|
isiOS: an(Yi),
|
|
57921
57921
|
isAndroid: an(Cr),
|
|
57922
57922
|
isMacOS: an(xi),
|
|
57923
|
-
isLinux: an(
|
|
57923
|
+
isLinux: an(rc),
|
|
57924
57924
|
isSolaris: an(hl),
|
|
57925
57925
|
isFreeBSD: an(ya),
|
|
57926
|
-
isChromeOS: an(
|
|
57926
|
+
isChromeOS: an(ac)
|
|
57927
57927
|
};
|
|
57928
57928
|
}, zl = {
|
|
57929
57929
|
unknown: Di,
|
|
57930
|
-
nu:
|
|
57930
|
+
nu: ic,
|
|
57931
57931
|
windows: dt(ys),
|
|
57932
57932
|
ios: dt(Yi),
|
|
57933
57933
|
android: dt(Cr),
|
|
57934
|
-
linux: dt(
|
|
57934
|
+
linux: dt(rc),
|
|
57935
57935
|
macos: dt(xi),
|
|
57936
57936
|
solaris: dt(hl),
|
|
57937
57937
|
freebsd: dt(ya),
|
|
57938
|
-
chromeos: dt(
|
|
57938
|
+
chromeos: dt(ac)
|
|
57939
57939
|
}, jr = { detect: (Ne, Pe, Mt) => {
|
|
57940
57940
|
const an = Ko.browsers(), _o = Ko.oses(), ks = Pe.bind((Da) => uo(an, Da)).orThunk(() => Uo(an, Ne)).fold(kc.unknown, kc.nu), hs = bs(_o, Ne).fold(zl.unknown, zl.nu), Sr = Qe(hs, ks, Ne, Mt);
|
|
57941
57941
|
return {
|
|
@@ -59481,7 +59481,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59481
59481
|
borderstyle: se.borderStyle,
|
|
59482
59482
|
fileinput: [],
|
|
59483
59483
|
isDecorative: se.isDecorative
|
|
59484
|
-
}),
|
|
59484
|
+
}), rc = (se, ye) => ({
|
|
59485
59485
|
src: se.src.value,
|
|
59486
59486
|
alt: (se.alt === null || se.alt.length === 0) && ye ? null : se.alt,
|
|
59487
59487
|
title: se.title,
|
|
@@ -59509,7 +59509,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59509
59509
|
se.hasDescription && S(Ke.alt) && (ye.alt = Ke.alt), se.hasAccessibilityOptions && (ye.isDecorative = Ke.isDecorative || ye.isDecorative || !1), se.hasImageTitle && S(Ke.title) && (ye.title = Ke.title), se.hasDimensions && (S(Ke.width) && (ye.dimensions.width = Ke.width), S(Ke.height) && (ye.dimensions.height = Ke.height)), S(Ke.class) && ds.findEntry(se.classList, Ke.class).each((Ot) => {
|
|
59510
59510
|
ye.classes = Ot.value;
|
|
59511
59511
|
}), se.hasImageCaption && H(Ke.caption) && (ye.caption = Ke.caption), se.hasAdvTab && (S(Ke.style) && (ye.style = Ke.style), S(Ke.vspace) && (ye.vspace = Ke.vspace), S(Ke.border) && (ye.border = Ke.border), S(Ke.hspace) && (ye.hspace = Ke.hspace), S(Ke.borderstyle) && (ye.borderstyle = Ke.borderstyle));
|
|
59512
|
-
},
|
|
59512
|
+
}, ac = (se, ye) => {
|
|
59513
59513
|
const Ke = ye.getData(), Ot = Ke.src.meta;
|
|
59514
59514
|
if (Ot !== void 0) {
|
|
59515
59515
|
const Nn = yo({}, Ke);
|
|
@@ -59525,12 +59525,12 @@ tinymce.addI18n("zh_CN", {
|
|
|
59525
59525
|
height: ""
|
|
59526
59526
|
}
|
|
59527
59527
|
}));
|
|
59528
|
-
},
|
|
59528
|
+
}, ic = (se, ye, Ke) => {
|
|
59529
59529
|
const Ot = Ke.getData(), Nn = ds.findEntry(se.imageList, Ot.src.value);
|
|
59530
59530
|
ye.prevImage = Nn, Ke.setData({ images: Nn.map((Mn) => Mn.value).getOr("") });
|
|
59531
59531
|
}, zl = (se, ye, Ke, Ot) => {
|
|
59532
|
-
hl(ye, Ot),
|
|
59533
|
-
},
|
|
59532
|
+
hl(ye, Ot), ac(ye, Ot), Di(se, ye, Ke, Ot), ic(ye, Ke, Ot);
|
|
59533
|
+
}, lc = (se, ye, Ke, Ot) => {
|
|
59534
59534
|
const Nn = Ot.getData(), Mn = ds.findEntry(ye.imageList, Nn.images);
|
|
59535
59535
|
Mn.each((Ss) => {
|
|
59536
59536
|
Nn.alt === "" || Ke.prevImage.map((rn) => rn.text === Nn.alt).getOr(!1) ? Ss.value === "" ? Ot.setData({
|
|
@@ -59568,7 +59568,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59568
59568
|
});
|
|
59569
59569
|
});
|
|
59570
59570
|
}, Ki = (se, ye, Ke) => (Ot, Nn) => {
|
|
59571
|
-
Nn.name === "src" ? zl(se, ye, Ke, Ot) : Nn.name === "images" ?
|
|
59571
|
+
Nn.name === "src" ? zl(se, ye, Ke, Ot) : Nn.name === "images" ? lc(se, ye, Ke, Ot) : Nn.name === "alt" ? Ke.prevAlt = Ot.getData().alt : Nn.name === "fileinput" ? jr(se, ye, Ke, Ot) : Nn.name === "isDecorative" && Ot.setEnabled("alt", !Ot.getData().isDecorative);
|
|
59572
59572
|
}, Ul = (se) => () => {
|
|
59573
59573
|
se.open = !1;
|
|
59574
59574
|
}, jl = (se) => se.hasAdvTab || se.hasUploadUrl || se.hasUploadHandler ? {
|
|
@@ -59584,9 +59584,9 @@ tinymce.addI18n("zh_CN", {
|
|
|
59584
59584
|
}, Gc = (se, ye, Ke) => (Ot) => {
|
|
59585
59585
|
const Nn = yo(Cr(ye.image), Ot.getData()), Mn = {
|
|
59586
59586
|
...Nn,
|
|
59587
|
-
style: vs(Ke.normalizeCss,
|
|
59587
|
+
style: vs(Ke.normalizeCss, rc(Nn, !1))
|
|
59588
59588
|
};
|
|
59589
|
-
se.execCommand("mceUpdateImage", !1,
|
|
59589
|
+
se.execCommand("mceUpdateImage", !1, rc(Mn, ye.hasAccessibilityOptions)), se.editorUpload.uploadImagesAuto(), Ot.close();
|
|
59590
59590
|
}, Ni = (se) => (ye) => dn(se, ye) ? _t(se.documentBaseURI.toAbsolute(ye)).then((Ke) => ({
|
|
59591
59591
|
width: String(Ke.width),
|
|
59592
59592
|
height: String(Ke.height)
|
|
@@ -60581,7 +60581,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60581
60581
|
on: (ft) => Ce.get().each(ft)
|
|
60582
60582
|
};
|
|
60583
60583
|
}, kc = (Ce, Ge) => Ce.substring(Ge), ys = (Ce, Ge, ft) => Ge === "" || Ce.length >= Ge.length && Ce.substr(ft, ft + Ge.length) === Ge, Yi = (Ce, Ge) => Cr(Ce, Ge) ? kc(Ce, Ge.length) : Ce, Cr = (Ce, Ge) => ys(Ce, Ge, 0);
|
|
60584
|
-
var
|
|
60584
|
+
var rc = tinymce.util.Tools.resolve("tinymce.util.VK");
|
|
60585
60585
|
const xi = (Ce, Ge) => {
|
|
60586
60586
|
document.body.appendChild(Ce), Ce.dispatchEvent(Ge), document.body.removeChild(Ce);
|
|
60587
60587
|
}, hl = (Ce) => {
|
|
@@ -60593,7 +60593,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60593
60593
|
view: window
|
|
60594
60594
|
});
|
|
60595
60595
|
document.dispatchEvent(ft), xi(Ge, ft);
|
|
60596
|
-
}, ya = (Ce) => Ce.altKey === !0 && Ce.shiftKey === !1 && Ce.ctrlKey === !1 && Ce.metaKey === !1,
|
|
60596
|
+
}, ya = (Ce) => Ce.altKey === !0 && Ce.shiftKey === !1 && Ce.ctrlKey === !1 && Ce.metaKey === !1, ac = (Ce, Ge) => {
|
|
60597
60597
|
if (Ge) {
|
|
60598
60598
|
const ft = wn(Ge);
|
|
60599
60599
|
if (/^#/.test(ft)) {
|
|
@@ -60605,25 +60605,25 @@ tinymce.addI18n("zh_CN", {
|
|
|
60605
60605
|
}, Di = (Ce) => {
|
|
60606
60606
|
const Ge = Ce.selection.getRng(), ft = Ge.startContainer;
|
|
60607
60607
|
return Ue(ft) && Ge.startContainer === Ge.endContainer && Ce.dom.select("img", ft).length === 1;
|
|
60608
|
-
},
|
|
60608
|
+
}, ic = (Ce, Ge) => {
|
|
60609
60609
|
const ft = $t(Ce.dom.getParents(Ge));
|
|
60610
60610
|
return $e(ft.length === 1, ft[0]);
|
|
60611
60611
|
}, zl = (Ce) => {
|
|
60612
60612
|
const Ge = ao(Ce.selection.getRng());
|
|
60613
|
-
return $e(Ge.length > 0, Ge[0]).or(
|
|
60614
|
-
},
|
|
60615
|
-
const Ge = $i(), ft = () => Ge.get().or(
|
|
60613
|
+
return $e(Ge.length > 0, Ge[0]).or(ic(Ce, Ce.selection.getNode()));
|
|
60614
|
+
}, lc = (Ce) => Ce.selection.isCollapsed() || Di(Ce) ? ic(Ce, Ce.selection.getStart()) : zl(Ce), jr = (Ce) => {
|
|
60615
|
+
const Ge = $i(), ft = () => Ge.get().or(lc(Ce)), tn = () => ft().each((ue) => ac(Ce, ue));
|
|
60616
60616
|
return Ce.on("contextmenu", (ue) => {
|
|
60617
|
-
|
|
60617
|
+
ic(Ce, ue.target).each(Ge.set);
|
|
60618
60618
|
}), Ce.on("SelectionChange", () => {
|
|
60619
|
-
Ge.isSet() ||
|
|
60619
|
+
Ge.isSet() || lc(Ce).each(Ge.set);
|
|
60620
60620
|
}), Ce.on("click", (ue) => {
|
|
60621
60621
|
Ge.clear();
|
|
60622
60622
|
const we = $t(Ce.dom.getParents(ue.target));
|
|
60623
|
-
we.length === 1 &&
|
|
60623
|
+
we.length === 1 && rc.metaKeyPressed(ue) && (ue.preventDefault(), ac(Ce, we[0]));
|
|
60624
60624
|
}), Ce.on("keydown", (ue) => {
|
|
60625
60625
|
Ge.clear(), !ue.isDefaultPrevented() && ue.keyCode === 13 && ya(ue) && ft().each((we) => {
|
|
60626
|
-
ue.preventDefault(),
|
|
60626
|
+
ue.preventDefault(), ac(Ce, we);
|
|
60627
60627
|
});
|
|
60628
60628
|
}), { gotoSelectedLink: tn };
|
|
60629
60629
|
}, Ki = (Ce) => () => {
|
|
@@ -61079,17 +61079,17 @@ tinymce.addI18n("zh_CN", {
|
|
|
61079
61079
|
const hi = (F) => (J) => A(J) && J.nodeName.toLowerCase() === F, va = (F) => (J) => A(J) && F.test(J.nodeName), Ko = (F) => A(F) && F.nodeType === 3, ls = (F) => A(F) && F.nodeType === 1, ds = va(/^(OL|UL|DL)$/), Ea = va(/^(OL|UL)$/), ba = hi("ol"), Ta = va(/^(LI|DT|DD)$/), lr = va(/^(DT|DD)$/), vu = va(/^(TH|TD)$/), $i = hi("br"), kc = (F) => {
|
|
61080
61080
|
var J;
|
|
61081
61081
|
return ((J = F.parentNode) === null || J === void 0 ? void 0 : J.firstChild) === F;
|
|
61082
|
-
}, ys = (F, J) => A(J) && J.nodeName in F.schema.getTextBlockElements(), Yi = (F, J) => A(F) && F.nodeName in J, Cr = (F, J) => A(J) && J.nodeName in F.schema.getVoidElements(),
|
|
61082
|
+
}, ys = (F, J) => A(J) && J.nodeName in F.schema.getTextBlockElements(), Yi = (F, J) => A(F) && F.nodeName in J, Cr = (F, J) => A(J) && J.nodeName in F.schema.getVoidElements(), rc = (F, J) => $i(J) ? F.isBlock(J.nextSibling) && !$i(J.previousSibling) : !1, xi = (F, J, he) => {
|
|
61083
61083
|
const Je = F.isEmpty(J);
|
|
61084
61084
|
return he && F.select("span[data-mce-type=bookmark]", J).length > 0 ? !1 : Je;
|
|
61085
|
-
}, hl = (F, J) => F.isChildOf(J, F.getRoot()), ya = (F) => (J) => J.options.get(F),
|
|
61085
|
+
}, hl = (F, J) => F.isChildOf(J, F.getRoot()), ya = (F) => (J) => J.options.get(F), ac = (F) => {
|
|
61086
61086
|
const J = F.options.register;
|
|
61087
61087
|
J("lists_indent_on_tab", {
|
|
61088
61088
|
processor: "boolean",
|
|
61089
61089
|
default: !0
|
|
61090
61090
|
});
|
|
61091
|
-
}, Di = ya("lists_indent_on_tab"),
|
|
61092
|
-
const Je = F.dom, it = F.schema.getBlockElements(), Tn = Je.createFragment(), Lo =
|
|
61091
|
+
}, Di = ya("lists_indent_on_tab"), ic = ya("forced_root_block"), zl = ya("forced_root_block_attrs"), lc = (F, J, he = {}) => {
|
|
61092
|
+
const Je = F.dom, it = F.schema.getBlockElements(), Tn = Je.createFragment(), Lo = ic(F), fs = zl(F);
|
|
61093
61093
|
let as, Co, ta = !1;
|
|
61094
61094
|
for (Co = Je.create(Lo, {
|
|
61095
61095
|
...fs,
|
|
@@ -61105,7 +61105,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61105
61105
|
ta && Ps.each(it, (Sa) => {
|
|
61106
61106
|
ta.insertBefore(Sa, he.parentNode);
|
|
61107
61107
|
}), jr.remove(Co);
|
|
61108
|
-
}, it = jr.select('span[data-mce-type="bookmark"]', J), Tn =
|
|
61108
|
+
}, it = jr.select('span[data-mce-type="bookmark"]', J), Tn = lc(F, he), Lo = jr.createRng();
|
|
61109
61109
|
Lo.setStartAfter(he), Lo.setEndAfter(J);
|
|
61110
61110
|
const fs = Lo.extractContents();
|
|
61111
61111
|
for (let Co = fs.firstChild; Co; Co = Co.firstChild)
|
|
@@ -61170,7 +61170,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61170
61170
|
const he = F.dom.getParents(J, "TD,TH");
|
|
61171
61171
|
return he.length > 0 ? he[0] : F.getBody();
|
|
61172
61172
|
}, en = (F, J) => !ds(J) && !Ta(J) && gt(Ac, (he) => F.isValidChild(J.nodeName, he)), zn = (F, J) => {
|
|
61173
|
-
const he = F.dom.getParents(J, F.dom.isBlock), Je = (Tn) => Tn.nodeName.toLowerCase() !==
|
|
61173
|
+
const he = F.dom.getParents(J, F.dom.isBlock), Je = (Tn) => Tn.nodeName.toLowerCase() !== ic(F);
|
|
61174
61174
|
return ze(he, (Tn) => Je(Tn) && en(F.schema, Tn)).getOr(F.getBody());
|
|
61175
61175
|
}, se = (F) => To(F).exists((J) => Ta(J.dom) && yr(J).exists((he) => !ds(he.dom)) && Xr(J).exists((he) => !ds(he.dom))), ye = (F, J) => {
|
|
61176
61176
|
const he = F.dom.getParents(J, "ol,ul", zn(F, J));
|
|
@@ -61330,7 +61330,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61330
61330
|
J.each((fs) => {
|
|
61331
61331
|
De(fs.end, Je) && he.set(!1);
|
|
61332
61332
|
});
|
|
61333
|
-
const Lo = Xr(Je).filter(Or).map((fs) =>
|
|
61333
|
+
const Lo = Xr(Je).filter(Or).map((fs) => cc(F, J, he, fs)).getOr([]);
|
|
61334
61334
|
return Tn.toArray().concat(Lo);
|
|
61335
61335
|
}, Bd = (F, J, he, Je) => yr(Je).filter(Or).fold(() => Pd(F, J, he, Je), (it) => {
|
|
61336
61336
|
const Tn = $e(Yo(Je), (Lo, fs, as) => {
|
|
@@ -61350,21 +61350,21 @@ tinymce.addI18n("zh_CN", {
|
|
|
61350
61350
|
return Lo.concat(Co);
|
|
61351
61351
|
}
|
|
61352
61352
|
}, []);
|
|
61353
|
-
return
|
|
61354
|
-
}),
|
|
61355
|
-
const Tn = Or(it) ?
|
|
61353
|
+
return cc(F, J, he, it).concat(Tn);
|
|
61354
|
+
}), cc = (F, J, he, Je) => nt(Yo(Je), (it) => {
|
|
61355
|
+
const Tn = Or(it) ? cc : Bd, Lo = F + 1;
|
|
61356
61356
|
return Tn(Lo, J, he, it);
|
|
61357
61357
|
}), Ji = (F, J) => {
|
|
61358
61358
|
const he = Tf(!1), Je = 0;
|
|
61359
61359
|
return Oe(F, (it) => ({
|
|
61360
61360
|
sourceList: it,
|
|
61361
|
-
entries:
|
|
61361
|
+
entries: cc(Je, J, he, it)
|
|
61362
61362
|
}));
|
|
61363
61363
|
}, h1 = (F, J) => {
|
|
61364
61364
|
const he = Ef(J);
|
|
61365
61365
|
return Oe(he, (Je) => {
|
|
61366
61366
|
const it = Bu(Je) ? ia([G.fromHtml(`<!--${Je.content}-->`)]) : ia(Je.content), Tn = Xi(Je) ? Je.itemAttributes : {};
|
|
61367
|
-
return G.fromDom(
|
|
61367
|
+
return G.fromDom(lc(F, it.dom, Tn));
|
|
61368
61368
|
});
|
|
61369
61369
|
}, Fu = (F, J) => {
|
|
61370
61370
|
const he = Ef(J);
|
|
@@ -61465,10 +61465,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
61465
61465
|
}, fs = (as, Co) => {
|
|
61466
61466
|
var ta;
|
|
61467
61467
|
const Sa = new es(as, Lo(as)), Rc = Co ? "next" : "prev";
|
|
61468
|
-
let
|
|
61469
|
-
for (;
|
|
61470
|
-
if (!(Cr(F,
|
|
61471
|
-
return Te.some(
|
|
61468
|
+
let dc;
|
|
61469
|
+
for (; dc = Sa[Rc](); )
|
|
61470
|
+
if (!(Cr(F, dc) || Of(dc.textContent) || ((ta = dc.textContent) === null || ta === void 0 ? void 0 : ta.length) === 0))
|
|
61471
|
+
return Te.some(dc);
|
|
61472
61472
|
return Te.none();
|
|
61473
61473
|
};
|
|
61474
61474
|
if (he && Ko(it))
|
|
@@ -61633,7 +61633,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61633
61633
|
const Lo = F.schema.getNonEmptyElements();
|
|
61634
61634
|
ls(it) && (it = Fo.getNode(it, Tn));
|
|
61635
61635
|
const fs = new es(it, Je);
|
|
61636
|
-
he &&
|
|
61636
|
+
he && rc(F.dom, it) && fs.next();
|
|
61637
61637
|
const as = he ? fs.next.bind(fs) : fs.prev2.bind(fs);
|
|
61638
61638
|
for (; it = as(); )
|
|
61639
61639
|
if (it.nodeName === "LI" && !it.hasChildNodes() || Lo[it.nodeName] || Ko(it) && it.data.length > 0)
|
|
@@ -61693,8 +61693,8 @@ tinymce.addI18n("zh_CN", {
|
|
|
61693
61693
|
return !Sa || he.isChildOf(Co, Sa) ? !1 : (F.undoManager.transact(() => {
|
|
61694
61694
|
const Rc = js(as);
|
|
61695
61695
|
li(he, Sa, Co), Sa.remove();
|
|
61696
|
-
const
|
|
61697
|
-
F.selection.setRng(
|
|
61696
|
+
const dc = Ca(Rc);
|
|
61697
|
+
F.selection.setRng(dc);
|
|
61698
61698
|
}), !0);
|
|
61699
61699
|
} else if (!Co && !J && as.startOffset === 0 && as.endOffset === 0)
|
|
61700
61700
|
return F.undoManager.transact(() => {
|
|
@@ -61710,14 +61710,14 @@ tinymce.addI18n("zh_CN", {
|
|
|
61710
61710
|
if (Tn && he.isEmpty(Tn, void 0, { checkRootAsContent: !0 })) {
|
|
61711
61711
|
const Lo = pi(F.selection.getRng()), fs = gd(F, Lo, J, it), as = he.getParent(fs, "LI", it);
|
|
61712
61712
|
if (fs && as) {
|
|
61713
|
-
const Co = (
|
|
61713
|
+
const Co = (dc) => mt([
|
|
61714
61714
|
"td",
|
|
61715
61715
|
"th",
|
|
61716
61716
|
"caption"
|
|
61717
|
-
], $o(
|
|
61717
|
+
], $o(dc)), ta = (dc) => dc.dom === it, Sa = Et(G.fromDom(as), Co, ta), Rc = Et(G.fromDom(Lo.startContainer), Co, ta);
|
|
61718
61718
|
return Me(Sa, Rc, De) ? (F.undoManager.transact(() => {
|
|
61719
|
-
const
|
|
61720
|
-
lg(he, Tn, it), Hd(he,
|
|
61719
|
+
const dc = as.parentNode;
|
|
61720
|
+
lg(he, Tn, it), Hd(he, dc), F.selection.select(fs, !0), F.selection.collapse(J);
|
|
61721
61721
|
}), !0) : !1;
|
|
61722
61722
|
}
|
|
61723
61723
|
}
|
|
@@ -61761,7 +61761,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61761
61761
|
const J = F % 26, he = Math.floor(F / 26), Je = Vd(he), it = String.fromCharCode(65 + J);
|
|
61762
61762
|
return Je + it;
|
|
61763
61763
|
}
|
|
61764
|
-
}, Wl = (F) => /^[A-Z]+$/.test(F), $l = (F) => /^[a-z]+$/.test(F),
|
|
61764
|
+
}, Wl = (F) => /^[A-Z]+$/.test(F), $l = (F) => /^[a-z]+$/.test(F), uc = (F) => /^[0-9]+$/.test(F), vi = (F) => uc(F) ? 2 : Wl(F) ? 0 : $l(F) ? 1 : Aa(F) ? 3 : 4, vl = (F) => {
|
|
61765
61765
|
switch (vi(F)) {
|
|
61766
61766
|
case 2:
|
|
61767
61767
|
return Te.some({
|
|
@@ -61912,7 +61912,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61912
61912
|
});
|
|
61913
61913
|
};
|
|
61914
61914
|
var lh = () => {
|
|
61915
|
-
o.add("lists", (F) => (
|
|
61915
|
+
o.add("lists", (F) => (ac(F), um(F), F.hasPlugin("rtc", !0) ? ih(F) : (Gr(F), Ha(F)), Mc(F), Mf(F), rp(F)));
|
|
61916
61916
|
};
|
|
61917
61917
|
lh();
|
|
61918
61918
|
})();
|
|
@@ -64526,10 +64526,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
64526
64526
|
for (let Ae = 0; Ae < I.length; Ae++)
|
|
64527
64527
|
I[Ae].each(fe);
|
|
64528
64528
|
return z;
|
|
64529
|
-
}, kc = (I, z, fe) => I.isSome() && z.isSome() ? Q.some(fe(I.getOrDie(), z.getOrDie())) : Q.none(), ys = (I) => I.bind(ae), Yi = (I, z) => I ? Q.some(z) : Q.none(), Cr = (I, z) => I.substring(z),
|
|
64529
|
+
}, kc = (I, z, fe) => I.isSome() && z.isSome() ? Q.some(fe(I.getOrDie(), z.getOrDie())) : Q.none(), ys = (I) => I.bind(ae), Yi = (I, z) => I ? Q.some(z) : Q.none(), Cr = (I, z) => I.substring(z), rc = (I, z, fe) => z === "" || I.length >= z.length && I.substr(fe, fe + z.length) === z, xi = (I, z) => hl(I, z) ? Cr(I, z.length) : I, hl = (I, z) => rc(I, z, 0), ac = ((I) => (z) => z.replace(I, ""))(/^\s+|\s+$/g), Di = (I) => I.length > 0, ic = (I) => !Di(I), zl = (I, z = 10) => {
|
|
64530
64530
|
const fe = parseInt(I, z);
|
|
64531
64531
|
return isNaN(fe) ? Q.none() : Q.some(fe);
|
|
64532
|
-
},
|
|
64532
|
+
}, lc = (I) => {
|
|
64533
64533
|
const z = parseFloat(I);
|
|
64534
64534
|
return isNaN(z) ? Q.none() : Q.some(z);
|
|
64535
64535
|
}, jr = (I) => I.style !== void 0 && R(I.style.getPropertyValue), Ki = (I, z, fe) => {
|
|
@@ -64549,7 +64549,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64549
64549
|
return Q.from(Ae).filter((lt) => lt.length > 0);
|
|
64550
64550
|
}, aa = (I, z) => {
|
|
64551
64551
|
const fe = I.dom;
|
|
64552
|
-
Ul(fe, z), vu(ba(I, "style").map(
|
|
64552
|
+
Ul(fe, z), vu(ba(I, "style").map(ac), "") && Ta(I, "style");
|
|
64553
64553
|
}, pi = (I, z, fe = 0) => ba(I, z).map((Ae) => parseInt(Ae, 10)).getOr(fe), Ac = (I, z) => Oc(I, z, Fe), Oc = (I, z, fe) => G(go(I), (Ae) => Pn(Ae, z) ? fe(Ae) ? [Ae] : [] : Oc(Ae, z, fe)), Za = [
|
|
64554
64554
|
"tfoot",
|
|
64555
64555
|
"thead",
|
|
@@ -64643,13 +64643,13 @@ tinymce.addI18n("zh_CN", {
|
|
|
64643
64643
|
} = ht(I, (ql) => ql.section === "colgroup");
|
|
64644
64644
|
te(us, (ql) => {
|
|
64645
64645
|
const yd = [];
|
|
64646
|
-
te(ql.cells, (
|
|
64646
|
+
te(ql.cells, (mc) => {
|
|
64647
64647
|
let Uu = 0;
|
|
64648
64648
|
for (; z[$c(ho, Uu)] !== void 0; )
|
|
64649
64649
|
Uu++;
|
|
64650
|
-
const dh = nt(lt, Uu.toString()), fh = tn(
|
|
64651
|
-
for (let Yl = 0; Yl <
|
|
64652
|
-
for (let mh = 0; mh <
|
|
64650
|
+
const dh = nt(lt, Uu.toString()), fh = tn(mc.element, mc.rowspan, mc.colspan, ho, Uu, dh);
|
|
64651
|
+
for (let Yl = 0; Yl < mc.colspan; Yl++)
|
|
64652
|
+
for (let mh = 0; mh < mc.rowspan; mh++) {
|
|
64653
64653
|
const gh = ho + mh, k1 = Uu + Yl, up = $c(gh, k1);
|
|
64654
64654
|
z[up] = fh, Bn = Math.max(Bn, k1 + 1);
|
|
64655
64655
|
}
|
|
@@ -64710,7 +64710,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64710
64710
|
...fe,
|
|
64711
64711
|
table: z
|
|
64712
64712
|
});
|
|
64713
|
-
}, Pe = (I, z) =>
|
|
64713
|
+
}, Pe = (I, z) => lc(I).getOr(z), Mt = (I, z, fe) => Pe(Gc(I, z), fe), an = (I, z, fe, Ae) => {
|
|
64714
64714
|
const lt = Mt(I, `padding-${fe}`, 0), ln = Mt(I, `padding-${Ae}`, 0), Bn = Mt(I, `border-${fe}-width`, 0), ho = Mt(I, `border-${Ae}-width`, 0);
|
|
64715
64715
|
return z - lt - ln - Bn - ho;
|
|
64716
64716
|
}, _o = (I, z) => {
|
|
@@ -64742,13 +64742,13 @@ tinymce.addI18n("zh_CN", {
|
|
|
64742
64742
|
var z;
|
|
64743
64743
|
const fe = I.dom, Ae = (z = fe.getParent(I.selection.getStart(), fe.isBlock)) !== null && z !== void 0 ? z : I.getBody();
|
|
64744
64744
|
return hs(dn.fromDom(Ae)) + "px";
|
|
64745
|
-
}, La = (I, z) => Af(I) || !
|
|
64745
|
+
}, La = (I, z) => Af(I) || !cc(I) ? z : eg(I) ? {
|
|
64746
64746
|
...z,
|
|
64747
64747
|
width: wa(I)
|
|
64748
64748
|
} : {
|
|
64749
64749
|
...z,
|
|
64750
64750
|
width: Wr
|
|
64751
|
-
}, _i = (I, z) => Af(I) ||
|
|
64751
|
+
}, _i = (I, z) => Af(I) || cc(I) ? z : eg(I) ? {
|
|
64752
64752
|
...z,
|
|
64753
64753
|
width: wa(I)
|
|
64754
64754
|
} : {
|
|
@@ -64796,7 +64796,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64796
64796
|
processor: "object[]",
|
|
64797
64797
|
default: []
|
|
64798
64798
|
});
|
|
64799
|
-
}, cr = ha("table_sizing_mode"), wu = ha("table_border_widths"), Qm = ha("table_border_styles"), cd = ha("table_cell_advtab"), Ef = ha("table_row_advtab"), Tf = ha("table_advtab"), Pd = ha("table_appearance_options"), Bd = ha("table_grid"),
|
|
64799
|
+
}, cr = ha("table_sizing_mode"), wu = ha("table_border_widths"), Qm = ha("table_border_styles"), cd = ha("table_cell_advtab"), Ef = ha("table_row_advtab"), Tf = ha("table_advtab"), Pd = ha("table_appearance_options"), Bd = ha("table_grid"), cc = ha("table_style_by_css"), Ji = ha("table_cell_class_list"), h1 = ha("table_row_class_list"), Fu = ha("table_class_list"), Qg = ha("table_toolbar"), kf = ha("table_background_color_map"), eh = ha("table_border_color_map"), eg = (I) => cr(I) === "fixed", Af = (I) => cr(I) === "responsive", tg = (I) => {
|
|
64800
64800
|
const z = I.options, fe = z.get("table_default_styles");
|
|
64801
64801
|
return z.isSet("table_default_styles") ? fe : La(I, fe);
|
|
64802
64802
|
}, th = (I) => {
|
|
@@ -65047,14 +65047,14 @@ tinymce.addI18n("zh_CN", {
|
|
|
65047
65047
|
}, Vd = (I) => {
|
|
65048
65048
|
const z = Na(I.red) + Na(I.green) + Na(I.blue);
|
|
65049
65049
|
return sr(z);
|
|
65050
|
-
}, Wl = /^\s*rgb\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*\)\s*$/i, $l = /^\s*rgba\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*((?:\d?\.\d+|\d+)%?)\s*\)\s*$/i,
|
|
65050
|
+
}, Wl = /^\s*rgb\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*\)\s*$/i, $l = /^\s*rgba\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*((?:\d?\.\d+|\d+)%?)\s*\)\s*$/i, uc = (I, z, fe, Ae) => ({
|
|
65051
65051
|
red: I,
|
|
65052
65052
|
green: z,
|
|
65053
65053
|
blue: fe,
|
|
65054
65054
|
alpha: Ae
|
|
65055
65055
|
}), vi = (I, z, fe, Ae) => {
|
|
65056
65056
|
const lt = parseInt(I, 10), ln = parseInt(z, 10), Bn = parseInt(fe, 10), ho = parseFloat(Ae);
|
|
65057
|
-
return
|
|
65057
|
+
return uc(lt, ln, Bn, ho);
|
|
65058
65058
|
}, vl = (I) => {
|
|
65059
65059
|
const z = Wl.exec(I);
|
|
65060
65060
|
if (z !== null)
|
|
@@ -65067,7 +65067,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
65067
65067
|
const fe = z.getContext("2d");
|
|
65068
65068
|
fe.clearRect(0, 0, z.width, z.height), fe.fillStyle = "#FFFFFF", fe.fillStyle = I, fe.fillRect(0, 0, 1, 1);
|
|
65069
65069
|
const Ae = fe.getImageData(0, 0, 1, 1).data, lt = Ae[0], ln = Ae[1], Bn = Ae[2], ho = Ae[3];
|
|
65070
|
-
return Vd(
|
|
65070
|
+
return Vd(uc(lt, ln, Bn, ho));
|
|
65071
65071
|
}), ah = (I) => vl(I).map(Vd).map((z) => "#" + z.value).getOr(I), Zr = (I) => {
|
|
65072
65072
|
let z = I;
|
|
65073
65073
|
return {
|
|
@@ -65089,7 +65089,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
65089
65089
|
}
|
|
65090
65090
|
};
|
|
65091
65091
|
}, Ha = () => ih((I) => I.unbind()), zd = (I, z, fe) => (Ae) => {
|
|
65092
|
-
const lt = Ha(), ln =
|
|
65092
|
+
const lt = Ha(), ln = ic(fe), Bn = () => {
|
|
65093
65093
|
const ho = lg(I), ts = (us) => I.formatter.match(z, { value: fe }, us.dom, ln);
|
|
65094
65094
|
ln ? (Ae.setActive(!vt(ho, ts)), lt.set(I.formatter.formatChanged(z, (us) => Ae.setActive(!us), !0))) : (Ae.setActive(be(ho, ts)), lt.set(I.formatter.formatChanged(z, Ae.setActive, !1, { value: fe })));
|
|
65095
65095
|
};
|
|
@@ -65299,7 +65299,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
65299
65299
|
}, Sa = (I, z) => bt(I.all, (fe) => re(fe.cells, (Ae) => To(z, Ae.element))), Rc = (I, z, fe) => {
|
|
65300
65300
|
const Ae = ct(z.selection, (ln) => se(ln).bind((Bn) => Sa(I, Bn)).filter(fe)), lt = $i(Ae);
|
|
65301
65301
|
return Yi(lt.length > 0, lt);
|
|
65302
|
-
},
|
|
65302
|
+
}, dc = (I, z) => z.mergable, gb = (I, z) => z.unmergable, dm = (I, z) => Rc(I, z, Fe), C1 = (I, z) => Sa(I, z).exists((fe) => !fe.isLocked), tl = (I, z) => be(z, (fe) => C1(I, fe)), S1 = (I, z) => dc(I, z).filter((fe) => tl(I, fe.cells)), Sy = (I, z) => gb(I, z).filter((fe) => tl(I, fe));
|
|
65303
65303
|
({ ...{ generate: (I) => {
|
|
65304
65304
|
if (!w(I))
|
|
65305
65305
|
throw new Error("cases must be an array");
|
|
@@ -65418,7 +65418,7 @@ Required: ` + z.join(", "));
|
|
|
65418
65418
|
border: ""
|
|
65419
65419
|
}, Bn = () => {
|
|
65420
65420
|
const xr = fe["border-width"];
|
|
65421
|
-
return
|
|
65421
|
+
return cc(I) && xr ? { border: xr } : ze(Ae, "border").fold(() => ({}), (br) => ({ border: br }));
|
|
65422
65422
|
}, ho = z ? lt() : {}, ts = () => {
|
|
65423
65423
|
const xr = ze(fe, "border-spacing").or(ze(Ae, "cellspacing")).fold(() => ({}), (ca) => ({ cellspacing: ca })), br = ze(fe, "border-padding").or(ze(Ae, "cellpadding")).fold(() => ({}), (ca) => ({ cellpadding: ca }));
|
|
65424
65424
|
return {
|
|
@@ -65440,8 +65440,8 @@ Required: ` + z.join(", "));
|
|
|
65440
65440
|
}).getOr(""), jd = (I, z, fe) => {
|
|
65441
65441
|
const Ae = (ho, ts) => {
|
|
65442
65442
|
const us = Qr(dn.fromDom(ts), "border-width");
|
|
65443
|
-
return
|
|
65444
|
-
}, lt = I.dom, ln =
|
|
65443
|
+
return cc(I) && us.isSome() ? us.getOr("") : ho.getAttrib(ts, "border") || ai(I.dom, ts, "border-width") || ai(I.dom, ts, "border") || "";
|
|
65444
|
+
}, lt = I.dom, ln = cc(I) ? lt.getStyle(z, "border-spacing") || lt.getAttrib(z, "cellspacing") : lt.getAttrib(z, "cellspacing") || lt.getStyle(z, "border-spacing"), Bn = cc(I) ? ai(lt, z, "padding") || lt.getAttrib(z, "cellpadding") : lt.getAttrib(z, "cellpadding") || ai(lt, z, "padding");
|
|
65445
65445
|
return {
|
|
65446
65446
|
width: lt.getStyle(z, "width") || lt.getAttrib(z, "width"),
|
|
65447
65447
|
height: lt.getStyle(z, "height") || lt.getAttrib(z, "height"),
|
|
@@ -65767,7 +65767,7 @@ Required: ` + z.join(", "));
|
|
|
65767
65767
|
for (let lt = 0; lt < z.children.length; lt++)
|
|
65768
65768
|
Js(I, z.children[lt], fe, Ae);
|
|
65769
65769
|
}, vb = (I, z, fe, Ae) => {
|
|
65770
|
-
const lt = I.dom, ln = {}, Bn = {}, ho =
|
|
65770
|
+
const lt = I.dom, ln = {}, Bn = {}, ho = cc(I), ts = Tf(I), us = parseFloat(fe.border) === 0;
|
|
65771
65771
|
if (!T(fe.class) && fe.class !== "mce-no-match" && (ln.class = fe.class), Bn.height = uo(fe.height), ho ? Bn.width = uo(fe.width) : lt.getAttrib(z, "width") && (ln.width = yo(fe.width)), ho ? (us ? (ln.border = 0, Bn["border-width"] = "") : (Bn["border-width"] = uo(fe.border), ln.border = 1), Bn["border-spacing"] = uo(fe.cellspacing)) : (ln.border = us ? 0 : fe.border, ln.cellpadding = fe.cellpadding, ln.cellspacing = fe.cellspacing), ho && z.children) {
|
|
65772
65772
|
const xr = {};
|
|
65773
65773
|
if (us ? xr["border-width"] = "" : Ae.border && (xr["border-width"] = uo(fe.border)), Ae.cellpadding && (xr.padding = uo(fe.cellpadding)), ts && Ae.bordercolor && (xr["border-color"] = fe.bordercolor), !tt(xr))
|
|
@@ -65870,7 +65870,7 @@ Required: ` + z.join(", "));
|
|
|
65870
65870
|
}, eC = (I, z) => or(I, z).isSome(), Wd = ae, Ey = (I) => {
|
|
65871
65871
|
const z = (Ae, lt) => ba(Ae, lt).exists((ln) => parseInt(ln, 10) > 1), fe = (Ae) => z(Ae, "rowspan") || z(Ae, "colspan");
|
|
65872
65872
|
return I.length > 0 && be(I, fe) ? Q.some(I) : Q.none();
|
|
65873
|
-
},
|
|
65873
|
+
}, fc = (I, z, fe) => z.length <= 1 ? Q.none() : y1(I, fe.firstSelectedSelector, fe.lastSelectedSelector).map((Ae) => ({
|
|
65874
65874
|
bounds: Ae,
|
|
65875
65875
|
cells: z
|
|
65876
65876
|
})), er = (I) => ({
|
|
@@ -65880,14 +65880,14 @@ Required: ` + z.join(", "));
|
|
|
65880
65880
|
selection: [I]
|
|
65881
65881
|
}), Zd = (I, z, fe) => ({
|
|
65882
65882
|
element: fe,
|
|
65883
|
-
mergable:
|
|
65883
|
+
mergable: fc(z, I, Al),
|
|
65884
65884
|
unmergable: Ey(I),
|
|
65885
65885
|
selection: Wd(I)
|
|
65886
65886
|
}), lp = (I) => {
|
|
65887
65887
|
const z = Zr(Q.none()), fe = Zr([]);
|
|
65888
65888
|
let Ae = Q.none();
|
|
65889
|
-
const lt = ma("caption"), ln = (Ws) => Ae.forall((Ir) => !Ir[Ws]), Bn = () => ci(Ao(I), vo(I)), ho = () => ci(Uo(I), vo(I)), ts = () => Bn().bind((Ws) => ys(kc(Ot(Ws), ho().bind(Ot), (Ir,
|
|
65890
|
-
const Va = yu.fromTable(
|
|
65889
|
+
const lt = ma("caption"), ln = (Ws) => Ae.forall((Ir) => !Ir[Ws]), Bn = () => ci(Ao(I), vo(I)), ho = () => ci(Uo(I), vo(I)), ts = () => Bn().bind((Ws) => ys(kc(Ot(Ws), ho().bind(Ot), (Ir, gc) => To(Ir, gc) ? lt(Ws) ? Q.some(er(Ws)) : Q.some(Zd(lg(I), Ir, Ws)) : Q.none()))), us = (Ws) => Ot(Ws.element).map((gc) => {
|
|
65890
|
+
const Va = yu.fromTable(gc), A1 = dm(Va, Ws).getOr([]), dp = Ct(A1, (gm, Pc) => (Pc.isLocked && (gm.onAny = !0, Pc.column === 0 ? gm.onFirst = !0 : Pc.column + Pc.colspan >= Va.grid.columns && (gm.onLast = !0)), gm), {
|
|
65891
65891
|
onAny: !1,
|
|
65892
65892
|
onFirst: !1,
|
|
65893
65893
|
onLast: !1
|
|
@@ -65903,15 +65903,15 @@ Required: ` + z.join(", "));
|
|
|
65903
65903
|
fe.set(St(fe.get(), (Ir) => Ir !== Ws));
|
|
65904
65904
|
}), ca = (Ws, Ir) => br(() => z.get().fold(() => {
|
|
65905
65905
|
Ws.setEnabled(!1);
|
|
65906
|
-
}, (
|
|
65907
|
-
Ws.setEnabled(!Ir(
|
|
65908
|
-
})), ql = (Ws, Ir,
|
|
65906
|
+
}, (gc) => {
|
|
65907
|
+
Ws.setEnabled(!Ir(gc) && I.selection.isEditable());
|
|
65908
|
+
})), ql = (Ws, Ir, gc) => br(() => z.get().fold(() => {
|
|
65909
65909
|
Ws.setEnabled(!1), Ws.setActive(!1);
|
|
65910
65910
|
}, (Va) => {
|
|
65911
|
-
Ws.setEnabled(!Ir(Va) && I.selection.isEditable()), Ws.setActive(
|
|
65912
|
-
})), yd = (Ws) => Ae.exists((Ir) => Ir.locked[Ws]),
|
|
65911
|
+
Ws.setEnabled(!Ir(Va) && I.selection.isEditable()), Ws.setActive(gc(Va));
|
|
65912
|
+
})), yd = (Ws) => Ae.exists((Ir) => Ir.locked[Ws]), mc = (Ws) => ca(Ws, (Ir) => !1), Uu = (Ws) => ca(Ws, (Ir) => lt(Ir.element)), dh = (Ws) => (Ir) => ca(Ir, (gc) => lt(gc.element) || yd(Ws)), fh = (Ws) => (Ir) => ca(Ir, (gc) => lt(gc.element) || Ws().isNone()), Yl = (Ws, Ir) => (gc) => ca(gc, (Va) => lt(Va.element) || Ws().isNone() || yd(Ir)), mh = (Ws) => ca(Ws, (Ir) => ln("mergeable")), gh = (Ws) => ca(Ws, (Ir) => ln("unmergeable")), k1 = (Ws) => ql(Ws, dt, (Ir) => Ot(Ir.element, vo(I)).exists((Va) => eC(Va, "caption"))), up = (Ws, Ir) => (gc) => ql(gc, (Va) => lt(Va.element), () => I.queryCommandValue(Ws) === Ir), Ti = up("mceTableRowType", "header"), ju = up("mceTableColType", "th");
|
|
65913
65913
|
return I.on("NodeChange ExecCommand TableSelectorChange", xr), {
|
|
65914
|
-
onSetupTable:
|
|
65914
|
+
onSetupTable: mc,
|
|
65915
65915
|
onSetupCellOrRow: Uu,
|
|
65916
65916
|
onSetupColumn: dh,
|
|
65917
65917
|
onSetupPasteable: fh,
|
|
@@ -68330,7 +68330,7 @@ const zMe = /* @__PURE__ */ qo({
|
|
|
68330
68330
|
}
|
|
68331
68331
|
}), WMe = /* @__PURE__ */ qo({
|
|
68332
68332
|
__name: "NodesProvider",
|
|
68333
|
-
props: /* @__PURE__ */
|
|
68333
|
+
props: /* @__PURE__ */ sc({
|
|
68334
68334
|
modelValue: {
|
|
68335
68335
|
type: String,
|
|
68336
68336
|
default: ""
|
|
@@ -68357,7 +68357,7 @@ const zMe = /* @__PURE__ */ qo({
|
|
|
68357
68357
|
nodes: {},
|
|
68358
68358
|
nodesModifiers: {}
|
|
68359
68359
|
}),
|
|
68360
|
-
emits: /* @__PURE__ */
|
|
68360
|
+
emits: /* @__PURE__ */ sc(["update:nodes"], ["update:formData", "update:nodes"]),
|
|
68361
68361
|
setup(o, { emit: r }) {
|
|
68362
68362
|
const i = o, u = fa(o, "formData"), m = fa(o, "nodes");
|
|
68363
68363
|
return Km(dme, {
|
|
@@ -68468,13 +68468,13 @@ const qMe = /* @__PURE__ */ qo({
|
|
|
68468
68468
|
class: "icon"
|
|
68469
68469
|
}, tRe = /* @__PURE__ */ qo({
|
|
68470
68470
|
__name: "index",
|
|
68471
|
-
props: /* @__PURE__ */
|
|
68471
|
+
props: /* @__PURE__ */ sc({
|
|
68472
68472
|
style: {}
|
|
68473
68473
|
}, {
|
|
68474
68474
|
show: {},
|
|
68475
68475
|
showModifiers: {}
|
|
68476
68476
|
}),
|
|
68477
|
-
emits: /* @__PURE__ */
|
|
68477
|
+
emits: /* @__PURE__ */ sc(["select"], ["update:show"]),
|
|
68478
68478
|
setup(o, { emit: r }) {
|
|
68479
68479
|
const { selectedNodes: i, focusedElement: u, cursorPosition: m, focusedNodeIndex: h, preNodeNumber: v } = im(), { inputTypes: w } = wy(), S = fa(o, "show"), { editNodes: T } = gj(), A = (U) => {
|
|
68480
68480
|
if (Ut(u) && !Uxe(Ut(m))) {
|
|
@@ -68731,7 +68731,7 @@ const rRe = { class: "relative" }, aRe = /* @__PURE__ */ qo({
|
|
|
68731
68731
|
}
|
|
68732
68732
|
}), iRe = /* @__PURE__ */ qo({
|
|
68733
68733
|
__name: "index",
|
|
68734
|
-
props: /* @__PURE__ */
|
|
68734
|
+
props: /* @__PURE__ */ sc({
|
|
68735
68735
|
modelValue: {
|
|
68736
68736
|
type: String,
|
|
68737
68737
|
default: ""
|
|
@@ -68768,7 +68768,7 @@ const rRe = { class: "relative" }, aRe = /* @__PURE__ */ qo({
|
|
|
68768
68768
|
selectedNodes: { default: [] },
|
|
68769
68769
|
selectedNodesModifiers: {}
|
|
68770
68770
|
}),
|
|
68771
|
-
emits: /* @__PURE__ */
|
|
68771
|
+
emits: /* @__PURE__ */ sc(["update:nodes", "update:formData", "onSelectedNodes"], ["update:selectedNodes"]),
|
|
68772
68772
|
setup(o, { expose: r, emit: i }) {
|
|
68773
68773
|
const u = o, m = i, h = fa(o, "selectedNodes"), v = xn(), w = xn(), S = Kn(() => {
|
|
68774
68774
|
switch (u.renderType) {
|
|
@@ -68858,7 +68858,7 @@ const rRe = { class: "relative" }, aRe = /* @__PURE__ */ qo({
|
|
|
68858
68858
|
class: "node-text-table-index"
|
|
68859
68859
|
}, fRe = /* @__PURE__ */ qo({
|
|
68860
68860
|
__name: "index",
|
|
68861
|
-
props: /* @__PURE__ */
|
|
68861
|
+
props: /* @__PURE__ */ sc({
|
|
68862
68862
|
editorId: {
|
|
68863
68863
|
type: String,
|
|
68864
68864
|
default: ""
|
|
@@ -68927,7 +68927,7 @@ const b4 = [
|
|
|
68927
68927
|
"#ae74e8"
|
|
68928
68928
|
], Jte = xn(0), D_ = /* @__PURE__ */ new Map(), hRe = { class: "node-select" }, pRe = { class: "flex py-2 px-2 justify-between items-center noder-select-header" }, vRe = { class: "flex gap-2" }, bRe = { class: "flex gap-1" }, yRe = /* @__PURE__ */ qo({
|
|
68929
68929
|
__name: "index",
|
|
68930
|
-
props: /* @__PURE__ */
|
|
68930
|
+
props: /* @__PURE__ */ sc({
|
|
68931
68931
|
/**
|
|
68932
68932
|
* 模式
|
|
68933
68933
|
* single: 单选
|
|
@@ -69245,7 +69245,7 @@ function _Re(o, r, i) {
|
|
|
69245
69245
|
() => [r, o],
|
|
69246
69246
|
() => {
|
|
69247
69247
|
var w;
|
|
69248
|
-
o.value && (
|
|
69248
|
+
o.value && (oc((w = o.value) == null ? void 0 : w.textContent, Ut(r)) || (o.value.textContent = Ut(r), v(Ut(i))));
|
|
69249
69249
|
},
|
|
69250
69250
|
{
|
|
69251
69251
|
deep: !0,
|
|
@@ -69383,7 +69383,7 @@ const ARe = (o, r) => {
|
|
|
69383
69383
|
element: w
|
|
69384
69384
|
}), R = xn(!1), H = Sse(), U = (W) => {
|
|
69385
69385
|
var K, ae;
|
|
69386
|
-
if (Ut(R) && Ut($) && !
|
|
69386
|
+
if (Ut(R) && Ut($) && !oc((K = Ut(v)) == null ? void 0 : K.cellValue, W)) {
|
|
69387
69387
|
const ee = AMe(W, ((ae = Ut(S)) == null ? void 0 : ae.nodes) || "");
|
|
69388
69388
|
let j = ee;
|
|
69389
69389
|
ee && (Ut(A) === 0 && (j += ","), Ut(T) >= 0 && (u.value = kRe(
|
|
@@ -69473,7 +69473,7 @@ const NRe = (o, r) => {
|
|
|
69473
69473
|
element: v
|
|
69474
69474
|
}), A = xn(!1), $ = Sse(), R = (H) => {
|
|
69475
69475
|
var U;
|
|
69476
|
-
if (Ut(A) && Ut(T) && !
|
|
69476
|
+
if (Ut(A) && Ut(T) && !oc((U = Ut(h)) == null ? void 0 : U.value, H)) {
|
|
69477
69477
|
const W = H, K = W;
|
|
69478
69478
|
W && Ut(w) >= 0 && (u.value = DRe(
|
|
69479
69479
|
Ut(u),
|
|
@@ -69510,7 +69510,7 @@ const NRe = (o, r) => {
|
|
|
69510
69510
|
);
|
|
69511
69511
|
}, RRe = { class: "node-formula" }, IRe = { class: "node-formula-show" }, PRe = /* @__PURE__ */ qo({
|
|
69512
69512
|
__name: "index",
|
|
69513
|
-
props: /* @__PURE__ */
|
|
69513
|
+
props: /* @__PURE__ */ sc({
|
|
69514
69514
|
id: {
|
|
69515
69515
|
type: String,
|
|
69516
69516
|
default: ""
|
|
@@ -69631,7 +69631,7 @@ const NRe = (o, r) => {
|
|
|
69631
69631
|
}
|
|
69632
69632
|
], LRe = { class: "select-function" }, HRe = ["onClick"], VRe = { class: "function-item" }, zRe = { class: "function-item-desc" }, URe = /* @__PURE__ */ qo({
|
|
69633
69633
|
__name: "index",
|
|
69634
|
-
props: /* @__PURE__ */
|
|
69634
|
+
props: /* @__PURE__ */ sc({
|
|
69635
69635
|
id: {
|
|
69636
69636
|
type: String,
|
|
69637
69637
|
default: ""
|
|
@@ -78988,7 +78988,7 @@ function $ze() {
|
|
|
78988
78988
|
const Dze = ["data", "id", "position", "selected", "dimensions", "type", "name"], Nze = ["id", "source", "target", "selected", "data"], Soe = (o) => o.map((i) => bfe(i, Dze)), tue = (o) => o.map((i) => bfe(i, Nze)), Mze = 300;
|
|
78989
78989
|
function Rze(o, r) {
|
|
78990
78990
|
const i = xn([]), u = xn(-1), m = Kn(() => u.value > 0), h = Kn(() => u.value < i.value.length - 1), v = () => {
|
|
78991
|
-
const U =
|
|
78991
|
+
const U = nc(Ut(o)), W = nc(Ut(r));
|
|
78992
78992
|
i.value = [
|
|
78993
78993
|
{
|
|
78994
78994
|
nodes: U,
|
|
@@ -78999,7 +78999,7 @@ function Rze(o, r) {
|
|
|
78999
78999
|
}, S = z_(() => {
|
|
79000
79000
|
if (T.value) return;
|
|
79001
79001
|
u.value < i.value.length - 1 && i.value.splice(u.value + 1);
|
|
79002
|
-
const U =
|
|
79002
|
+
const U = nc(Ut(o)), W = nc(Ut(r)), K = i.value[u.value], ae = !oc(K == null ? void 0 : K.nodes, U), ee = !oc(K == null ? void 0 : K.edges, W);
|
|
79003
79003
|
let j = null;
|
|
79004
79004
|
if (ae && ee)
|
|
79005
79005
|
j = "both";
|
|
@@ -79010,8 +79010,8 @@ function Rze(o, r) {
|
|
|
79010
79010
|
else
|
|
79011
79011
|
return;
|
|
79012
79012
|
i.value.push({
|
|
79013
|
-
nodes: ae ? U :
|
|
79014
|
-
edges: ee ? W :
|
|
79013
|
+
nodes: ae ? U : nc(K == null ? void 0 : K.nodes),
|
|
79014
|
+
edges: ee ? W : nc(K == null ? void 0 : K.edges),
|
|
79015
79015
|
changed: j
|
|
79016
79016
|
}), u.value = i.value.length - 1;
|
|
79017
79017
|
}, Mze);
|
|
@@ -79020,13 +79020,13 @@ function Rze(o, r) {
|
|
|
79020
79020
|
// 同时监听 nodes 和 edges
|
|
79021
79021
|
([U, W], [K, ae]) => {
|
|
79022
79022
|
if (T.value) return;
|
|
79023
|
-
const ee = !
|
|
79023
|
+
const ee = !oc(U, K), j = !oc(W, ae);
|
|
79024
79024
|
(ee || j) && S();
|
|
79025
79025
|
},
|
|
79026
79026
|
{ deep: !0 }
|
|
79027
79027
|
);
|
|
79028
79028
|
const T = xn(!1), A = (U) => {
|
|
79029
|
-
T.value = !0, (U.changed === "nodes" || U.changed === "both") && U.nodes && (o.value =
|
|
79029
|
+
T.value = !0, (U.changed === "nodes" || U.changed === "both") && U.nodes && (o.value = nc(U.nodes)), (U.changed === "edges" || U.changed === "both") && U.edges && (r.value = nc(U.edges)), setTimeout(() => {
|
|
79030
79030
|
T.value = !1;
|
|
79031
79031
|
}, 0);
|
|
79032
79032
|
}, $ = () => {
|
|
@@ -79051,30 +79051,30 @@ function Rze(o, r) {
|
|
|
79051
79051
|
}
|
|
79052
79052
|
const she = Symbol("flow"), xz = 300;
|
|
79053
79053
|
function Ize(o, r) {
|
|
79054
|
-
const i = xn(
|
|
79054
|
+
const i = xn(nc(Ut(o))), u = xn(nc(Ut(r)));
|
|
79055
79055
|
Rze(i, u);
|
|
79056
79056
|
const m = Kn(() => Soe(Ut(i))), h = (H) => {
|
|
79057
79057
|
const U = Soe(H);
|
|
79058
|
-
|
|
79058
|
+
oc(m.value, U) || (i.value = U);
|
|
79059
79059
|
}, v = z_(() => {
|
|
79060
|
-
|
|
79060
|
+
oc(Ut(m), Ut(o)) || (o.value = nc(Ut(m)));
|
|
79061
79061
|
}, xz);
|
|
79062
79062
|
rs(m, v);
|
|
79063
79063
|
const w = z_(() => {
|
|
79064
|
-
|
|
79064
|
+
oc(Ut(m), Ut(o)) || (i.value = nc(Ut(o)));
|
|
79065
79065
|
}, xz);
|
|
79066
79066
|
rs(o, w, {
|
|
79067
79067
|
deep: !0
|
|
79068
79068
|
});
|
|
79069
79069
|
const S = Kn(() => tue(Ut(u))), T = (H) => {
|
|
79070
79070
|
const U = tue(H);
|
|
79071
|
-
|
|
79071
|
+
oc(S.value, U) || (u.value = U);
|
|
79072
79072
|
}, A = z_(() => {
|
|
79073
|
-
|
|
79073
|
+
oc(Ut(S), Ut(r)) || (r.value = nc(Ut(S)));
|
|
79074
79074
|
}, xz);
|
|
79075
79075
|
rs(S, A);
|
|
79076
79076
|
const $ = z_(() => {
|
|
79077
|
-
|
|
79077
|
+
oc(Ut(S), Ut(r)) || (u.value = nc(Ut(r)));
|
|
79078
79078
|
}, xz);
|
|
79079
79079
|
rs(r, $, {
|
|
79080
79080
|
deep: !0
|
|
@@ -79112,7 +79112,7 @@ function Bze() {
|
|
|
79112
79112
|
return { merge: () => {
|
|
79113
79113
|
var w, S, T;
|
|
79114
79114
|
if (((w = u.value) == null ? void 0 : w.length) >= 2) {
|
|
79115
|
-
const A = (S = Soe(
|
|
79115
|
+
const A = (S = Soe(nc(u.value))) == null ? void 0 : S.filter(
|
|
79116
79116
|
(H) => (H == null ? void 0 : H.type) !== "parent"
|
|
79117
79117
|
), $ = (T = A == null ? void 0 : A[0]) == null ? void 0 : T.position;
|
|
79118
79118
|
let R = {
|
|
@@ -79132,7 +79132,7 @@ function Bze() {
|
|
|
79132
79132
|
var A;
|
|
79133
79133
|
const w = (A = u.value) == null ? void 0 : A.filter(($) => ($ == null ? void 0 : $.type) === "parent");
|
|
79134
79134
|
console.log(w);
|
|
79135
|
-
const S =
|
|
79135
|
+
const S = nc(w);
|
|
79136
79136
|
w == null || w.forEach(($) => {
|
|
79137
79137
|
$.data.children = [];
|
|
79138
79138
|
});
|
|
@@ -79834,7 +79834,7 @@ function xUe() {
|
|
|
79834
79834
|
}
|
|
79835
79835
|
const _Ue = {
|
|
79836
79836
|
__name: "index",
|
|
79837
|
-
props: /* @__PURE__ */
|
|
79837
|
+
props: /* @__PURE__ */ sc({
|
|
79838
79838
|
nodeTypes: {
|
|
79839
79839
|
type: Array,
|
|
79840
79840
|
default: () => []
|
|
@@ -79851,7 +79851,7 @@ const _Ue = {
|
|
|
79851
79851
|
},
|
|
79852
79852
|
edgesModifiers: {}
|
|
79853
79853
|
}),
|
|
79854
|
-
emits: /* @__PURE__ */
|
|
79854
|
+
emits: /* @__PURE__ */ sc(["onEdgeDoubleClick", "onNodeDoubleClick"], ["update:nodes", "update:edges"]),
|
|
79855
79855
|
setup(o, { expose: r, emit: i }) {
|
|
79856
79856
|
const u = o, m = fa(o, "nodes"), h = fa(o, "edges"), v = i, { nodes: w, edges: S } = Ize(m, h);
|
|
79857
79857
|
Lze({ nodeTypes: u == null ? void 0 : u.nodeTypes });
|
|
@@ -80436,7 +80436,7 @@ var KUe = ["evt"], Zm = function(o, r) {
|
|
|
80436
80436
|
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, u = i.evt, m = HUe(i, KUe);
|
|
80437
80437
|
wI.pluginEvent.bind(mr)(o, r, cb({
|
|
80438
80438
|
dragEl: Wo,
|
|
80439
|
-
parentEl:
|
|
80439
|
+
parentEl: Ec,
|
|
80440
80440
|
ghostEl: Ar,
|
|
80441
80441
|
rootEl: Vl,
|
|
80442
80442
|
nextEl: P_,
|
|
@@ -80480,7 +80480,7 @@ function rm(o) {
|
|
|
80480
80480
|
newDraggableIndex: B2
|
|
80481
80481
|
}, o));
|
|
80482
80482
|
}
|
|
80483
|
-
var Wo,
|
|
80483
|
+
var Wo, Ec, Ar, Vl, P_, Uz, tc, L2, A4, Wg, OR, B2, _z, Id, _4 = !1, OU = !1, $U = [], M_, a1, Sne, xne, mue, gue, pR, C4, $R, DR = !1, Ez = !1, jz, Cf, _ne = [], _oe = !1, DU = [], Rj = typeof document < "u", Tz = mhe, hue = yI || Cy ? "cssFloat" : "float", XUe = Rj && !ghe && !mhe && "draggable" in document.createElement("div"), Che = function() {
|
|
80484
80484
|
if (Rj) {
|
|
80485
80485
|
if (Cy)
|
|
80486
80486
|
return !1;
|
|
@@ -80662,7 +80662,7 @@ mr.prototype = /** @lends Sortable.prototype */
|
|
|
80662
80662
|
var u = this, m = u.el, h = u.options, v = m.ownerDocument, w;
|
|
80663
80663
|
if (i && !Wo && i.parentNode === m) {
|
|
80664
80664
|
var S = mu(i);
|
|
80665
|
-
if (Vl = m, Wo = i,
|
|
80665
|
+
if (Vl = m, Wo = i, Ec = Wo.parentNode, P_ = Wo.nextSibling, Uz = i, _z = h.group, mr.dragged = Wo, M_ = {
|
|
80666
80666
|
target: Wo,
|
|
80667
80667
|
clientX: (r || o).clientX,
|
|
80668
80668
|
clientY: (r || o).clientY
|
|
@@ -80844,23 +80844,23 @@ mr.prototype = /** @lends Sortable.prototype */
|
|
|
80844
80844
|
return U;
|
|
80845
80845
|
if (Wo.contains(o.target) || i.animated && i.animatingX && i.animatingY || H._ignoreWhileAnimating === i)
|
|
80846
80846
|
return ae(!1);
|
|
80847
|
-
if (OU = !1, S && !v.disabled && (T ? A || (h =
|
|
80847
|
+
if (OU = !1, S && !v.disabled && (T ? A || (h = Ec !== Vl) : Id === this || (this.lastPutMode = _z.checkPull(this, S, Wo, o)) && w.checkPut(this, S, Wo, o))) {
|
|
80848
80848
|
if (R = this._getDirection(o, i) === "vertical", u = mu(Wo), W("dragOverValid"), mr.eventCanceled)
|
|
80849
80849
|
return U;
|
|
80850
80850
|
if (h)
|
|
80851
|
-
return
|
|
80851
|
+
return Ec = Vl, K(), this._hideClone(), W("revert"), mr.eventCanceled || (P_ ? Vl.insertBefore(Wo, P_) : Vl.appendChild(Wo)), ae(!0);
|
|
80852
80852
|
var j = Hse(r, v.draggable);
|
|
80853
80853
|
if (!j || sje(o, R, this) && !j.animated) {
|
|
80854
80854
|
if (j === Wo)
|
|
80855
80855
|
return ae(!1);
|
|
80856
80856
|
if (j && r === o.target && (i = j), i && (m = mu(i)), kz(Vl, r, Wo, u, i, m, o, !!i) !== !1)
|
|
80857
|
-
return K(), j && j.nextSibling ? r.insertBefore(Wo, j.nextSibling) : r.appendChild(Wo),
|
|
80857
|
+
return K(), j && j.nextSibling ? r.insertBefore(Wo, j.nextSibling) : r.appendChild(Wo), Ec = r, ee(), ae(!0);
|
|
80858
80858
|
} else if (j && oje(o, R, this)) {
|
|
80859
80859
|
var Te = Y4(r, 0, v, !0);
|
|
80860
80860
|
if (Te === Wo)
|
|
80861
80861
|
return ae(!1);
|
|
80862
80862
|
if (i = Te, m = mu(i), kz(Vl, r, Wo, u, i, m, o, !1) !== !1)
|
|
80863
|
-
return K(), r.insertBefore(Wo, Te),
|
|
80863
|
+
return K(), r.insertBefore(Wo, Te), Ec = r, ee(), ae(!0);
|
|
80864
80864
|
} else if (i.parentNode === r) {
|
|
80865
80865
|
m = mu(i);
|
|
80866
80866
|
var dt = 0, Fe, Q = Wo.parentNode !== r, We = !JUe(Wo.animated && Wo.toRect || u, i.animated && i.toRect || m, R), mt = R ? "top" : "left", gt = due(i, "top", "top") || due(Wo, "top", "top"), Oe = gt ? gt.scrollTop : void 0;
|
|
@@ -80869,7 +80869,7 @@ mr.prototype = /** @lends Sortable.prototype */
|
|
|
80869
80869
|
if (dt !== 0) {
|
|
80870
80870
|
var Ft = Jh(Wo);
|
|
80871
80871
|
do
|
|
80872
|
-
Ft -= dt, ce =
|
|
80872
|
+
Ft -= dt, ce = Ec.children[Ft];
|
|
80873
80873
|
while (ce && (fr(ce, "display") === "none" || ce === Ar));
|
|
80874
80874
|
}
|
|
80875
80875
|
if (dt === 0 || ce === i)
|
|
@@ -80879,7 +80879,7 @@ mr.prototype = /** @lends Sortable.prototype */
|
|
|
80879
80879
|
$e = dt === 1;
|
|
80880
80880
|
var M = kz(Vl, r, Wo, u, i, m, o, $e);
|
|
80881
80881
|
if (M !== !1)
|
|
80882
|
-
return (M === 1 || M === -1) && ($e = M === 1), _oe = !0, setTimeout(nje, 30), K(), $e && !ve ? r.appendChild(Wo) : i.parentNode.insertBefore(Wo, $e ? ve : i), gt && bhe(gt, 0, Oe - gt.scrollTop),
|
|
80882
|
+
return (M === 1 || M === -1) && ($e = M === 1), _oe = !0, setTimeout(nje, 30), K(), $e && !ve ? r.appendChild(Wo) : i.parentNode.insertBefore(Wo, $e ? ve : i), gt && bhe(gt, 0, Oe - gt.scrollTop), Ec = Wo.parentNode, Fe !== void 0 && !Ez && (jz = Math.abs(Fe - mu(i)[mt])), ee(), ae(!0);
|
|
80883
80883
|
}
|
|
80884
80884
|
if (r.contains(Wo))
|
|
80885
80885
|
return ae(!1);
|
|
@@ -80898,58 +80898,58 @@ mr.prototype = /** @lends Sortable.prototype */
|
|
|
80898
80898
|
var r = this.el, i = this.options;
|
|
80899
80899
|
if (Wg = Jh(Wo), B2 = Jh(Wo, i.draggable), Zm("drop", this, {
|
|
80900
80900
|
evt: o
|
|
80901
|
-
}),
|
|
80901
|
+
}), Ec = Wo && Wo.parentNode, Wg = Jh(Wo), B2 = Jh(Wo, i.draggable), mr.eventCanceled) {
|
|
80902
80902
|
this._nulling();
|
|
80903
80903
|
return;
|
|
80904
80904
|
}
|
|
80905
|
-
_4 = !1, Ez = !1, DR = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Eoe(this.cloneId), Eoe(this._dragStartId), this.nativeDraggable && (Ua(document, "drop", this), Ua(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), kR && fr(document.body, "user-select", ""), fr(Wo, "transform", ""), o && (pR && (o.cancelable && o.preventDefault(), !i.dropBubble && o.stopPropagation()), Ar && Ar.parentNode && Ar.parentNode.removeChild(Ar), (Vl ===
|
|
80905
|
+
_4 = !1, Ez = !1, DR = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Eoe(this.cloneId), Eoe(this._dragStartId), this.nativeDraggable && (Ua(document, "drop", this), Ua(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), kR && fr(document.body, "user-select", ""), fr(Wo, "transform", ""), o && (pR && (o.cancelable && o.preventDefault(), !i.dropBubble && o.stopPropagation()), Ar && Ar.parentNode && Ar.parentNode.removeChild(Ar), (Vl === Ec || Id && Id.lastPutMode !== "clone") && tc && tc.parentNode && tc.parentNode.removeChild(tc), Wo && (this.nativeDraggable && Ua(Wo, "dragend", this), Ene(Wo), Wo.style["will-change"] = "", pR && !_4 && jg(Wo, Id ? Id.options.ghostClass : this.options.ghostClass, !1), jg(Wo, this.options.chosenClass, !1), rm({
|
|
80906
80906
|
sortable: this,
|
|
80907
80907
|
name: "unchoose",
|
|
80908
|
-
toEl:
|
|
80908
|
+
toEl: Ec,
|
|
80909
80909
|
newIndex: null,
|
|
80910
80910
|
newDraggableIndex: null,
|
|
80911
80911
|
originalEvent: o
|
|
80912
|
-
}), Vl !==
|
|
80913
|
-
rootEl:
|
|
80912
|
+
}), Vl !== Ec ? (Wg >= 0 && (rm({
|
|
80913
|
+
rootEl: Ec,
|
|
80914
80914
|
name: "add",
|
|
80915
|
-
toEl:
|
|
80915
|
+
toEl: Ec,
|
|
80916
80916
|
fromEl: Vl,
|
|
80917
80917
|
originalEvent: o
|
|
80918
80918
|
}), rm({
|
|
80919
80919
|
sortable: this,
|
|
80920
80920
|
name: "remove",
|
|
80921
|
-
toEl:
|
|
80921
|
+
toEl: Ec,
|
|
80922
80922
|
originalEvent: o
|
|
80923
80923
|
}), rm({
|
|
80924
|
-
rootEl:
|
|
80924
|
+
rootEl: Ec,
|
|
80925
80925
|
name: "sort",
|
|
80926
|
-
toEl:
|
|
80926
|
+
toEl: Ec,
|
|
80927
80927
|
fromEl: Vl,
|
|
80928
80928
|
originalEvent: o
|
|
80929
80929
|
}), rm({
|
|
80930
80930
|
sortable: this,
|
|
80931
80931
|
name: "sort",
|
|
80932
|
-
toEl:
|
|
80932
|
+
toEl: Ec,
|
|
80933
80933
|
originalEvent: o
|
|
80934
80934
|
})), Id && Id.save()) : Wg !== A4 && Wg >= 0 && (rm({
|
|
80935
80935
|
sortable: this,
|
|
80936
80936
|
name: "update",
|
|
80937
|
-
toEl:
|
|
80937
|
+
toEl: Ec,
|
|
80938
80938
|
originalEvent: o
|
|
80939
80939
|
}), rm({
|
|
80940
80940
|
sortable: this,
|
|
80941
80941
|
name: "sort",
|
|
80942
|
-
toEl:
|
|
80942
|
+
toEl: Ec,
|
|
80943
80943
|
originalEvent: o
|
|
80944
80944
|
})), mr.active && ((Wg == null || Wg === -1) && (Wg = A4, B2 = OR), rm({
|
|
80945
80945
|
sortable: this,
|
|
80946
80946
|
name: "end",
|
|
80947
|
-
toEl:
|
|
80947
|
+
toEl: Ec,
|
|
80948
80948
|
originalEvent: o
|
|
80949
80949
|
}), this.save()))), this._nulling();
|
|
80950
80950
|
},
|
|
80951
80951
|
_nulling: function() {
|
|
80952
|
-
Zm("nulling", this), Vl = Wo =
|
|
80952
|
+
Zm("nulling", this), Vl = Wo = Ec = Ar = P_ = tc = Uz = L2 = M_ = a1 = pR = Wg = B2 = A4 = OR = C4 = $R = Id = _z = mr.dragged = mr.ghost = mr.clone = mr.active = null, DU.forEach(function(o) {
|
|
80953
80953
|
o.checked = !0;
|
|
80954
80954
|
}), DU.length = Sne = xne = 0;
|
|
80955
80955
|
},
|
|
@@ -81515,7 +81515,7 @@ const Aoe = [
|
|
|
81515
81515
|
}
|
|
81516
81516
|
}), vje = { class: "flex-center gap-x-2" }, bje = { class: "flex-center" }, yje = {
|
|
81517
81517
|
__name: "index",
|
|
81518
|
-
props: /* @__PURE__ */
|
|
81518
|
+
props: /* @__PURE__ */ sc({
|
|
81519
81519
|
// 是否是单选
|
|
81520
81520
|
isSingle: {
|
|
81521
81521
|
type: Boolean,
|
|
@@ -81537,7 +81537,7 @@ const Aoe = [
|
|
|
81537
81537
|
label: A.trim(),
|
|
81538
81538
|
value: A.trim()
|
|
81539
81539
|
}));
|
|
81540
|
-
|
|
81540
|
+
oc(T, i.value) || (i.value = T);
|
|
81541
81541
|
}), rs(
|
|
81542
81542
|
i,
|
|
81543
81543
|
(S) => {
|
|
@@ -81742,7 +81742,7 @@ const Aoe = [
|
|
|
81742
81742
|
}
|
|
81743
81743
|
], Cje = {
|
|
81744
81744
|
__name: "index",
|
|
81745
|
-
props: /* @__PURE__ */
|
|
81745
|
+
props: /* @__PURE__ */ sc({}, {
|
|
81746
81746
|
modelValue: {},
|
|
81747
81747
|
modelModifiers: {}
|
|
81748
81748
|
}),
|
|
@@ -81799,7 +81799,7 @@ const Aoe = [
|
|
|
81799
81799
|
class: "gap-x-2 flex w-full max-w-[280px] input-box"
|
|
81800
81800
|
}, xje = {
|
|
81801
81801
|
__name: "index",
|
|
81802
|
-
props: /* @__PURE__ */
|
|
81802
|
+
props: /* @__PURE__ */ sc({}, {
|
|
81803
81803
|
modelValue: {},
|
|
81804
81804
|
modelModifiers: {}
|
|
81805
81805
|
}),
|
|
@@ -81991,7 +81991,7 @@ const Aoe = [
|
|
|
81991
81991
|
return rs(
|
|
81992
81992
|
() => Ut(r),
|
|
81993
81993
|
(w, S) => {
|
|
81994
|
-
|
|
81994
|
+
oc(w, S) || v();
|
|
81995
81995
|
},
|
|
81996
81996
|
{
|
|
81997
81997
|
deep: !0,
|
|
@@ -82264,7 +82264,7 @@ const Aoe = [
|
|
|
82264
82264
|
]);
|
|
82265
82265
|
};
|
|
82266
82266
|
}
|
|
82267
|
-
}), Zje = /* @__PURE__ */ gl(Wje, [["__scopeId", "data-v-9fd02581"]]), Gje = { class: "h-full flex flex-col" }, qje = { class: "flex-grow h-1 overflow-auto" },
|
|
82267
|
+
}), Zje = /* @__PURE__ */ gl(Wje, [["__scopeId", "data-v-9fd02581"]]), Gje = { class: "h-full flex flex-col" }, qje = { class: "px-2" }, Yje = { class: "flex-grow h-1 overflow-auto" }, Kje = ["onClick"], Xje = { class: "flex items-center gap-2" }, Jje = { class: "img" }, Qje = /* @__PURE__ */ qo({
|
|
82268
82268
|
__name: "people",
|
|
82269
82269
|
props: {
|
|
82270
82270
|
modelValue: {},
|
|
@@ -82298,7 +82298,7 @@ const Aoe = [
|
|
|
82298
82298
|
return (S, T) => {
|
|
82299
82299
|
const A = qR("loading");
|
|
82300
82300
|
return Tt(), gn("div", Gje, [
|
|
82301
|
-
Yt("div",
|
|
82301
|
+
Yt("div", qje, [
|
|
82302
82302
|
on(je(Y2), {
|
|
82303
82303
|
inline: !0,
|
|
82304
82304
|
model: r.value,
|
|
@@ -82329,15 +82329,15 @@ const Aoe = [
|
|
|
82329
82329
|
size: "large"
|
|
82330
82330
|
}, null, 8, ["modelValue"])
|
|
82331
82331
|
]),
|
|
82332
|
-
vy((Tt(), gn("div",
|
|
82332
|
+
vy((Tt(), gn("div", Yje, [
|
|
82333
82333
|
(Tt(!0), gn(vr, null, Wa(je(u), ($, R) => {
|
|
82334
82334
|
var H;
|
|
82335
82335
|
return Tt(), gn("div", {
|
|
82336
|
-
class: "flex items-center justify-between",
|
|
82336
|
+
class: "flex items-center justify-between cursor-pointer hover:bg-[#f5f7fa] px-2 rounded-[4px]",
|
|
82337
82337
|
key: R,
|
|
82338
82338
|
onClick: (U) => w($)
|
|
82339
82339
|
}, [
|
|
82340
|
-
Yt("div",
|
|
82340
|
+
Yt("div", Xje, [
|
|
82341
82341
|
on(je(my), {
|
|
82342
82342
|
"model-value": (H = i.value) == null ? void 0 : H.includes($ == null ? void 0 : $.id),
|
|
82343
82343
|
size: "large"
|
|
@@ -82347,7 +82347,7 @@ const Aoe = [
|
|
|
82347
82347
|
class: "face-img"
|
|
82348
82348
|
}, {
|
|
82349
82349
|
error: Rn(() => [
|
|
82350
|
-
Yt("div",
|
|
82350
|
+
Yt("div", Jje, [
|
|
82351
82351
|
on(je(ep), { size: "16" }, {
|
|
82352
82352
|
default: Rn(() => [
|
|
82353
82353
|
on(je(cI), { color: "#fff" })
|
|
@@ -82360,7 +82360,7 @@ const Aoe = [
|
|
|
82360
82360
|
}, 1032, ["src"]),
|
|
82361
82361
|
Yt("div", null, Rs($ == null ? void 0 : $.name), 1)
|
|
82362
82362
|
])
|
|
82363
|
-
], 8,
|
|
82363
|
+
], 8, Kje);
|
|
82364
82364
|
}), 128))
|
|
82365
82365
|
])), [
|
|
82366
82366
|
[A, je(m)]
|
|
@@ -82368,7 +82368,7 @@ const Aoe = [
|
|
|
82368
82368
|
]);
|
|
82369
82369
|
};
|
|
82370
82370
|
}
|
|
82371
|
-
}),
|
|
82371
|
+
}), eWe = /* @__PURE__ */ gl(Qje, [["__scopeId", "data-v-b250c82e"]]), tWe = (o) => {
|
|
82372
82372
|
const { allData: r } = iO({
|
|
82373
82373
|
type: "roleIds"
|
|
82374
82374
|
});
|
|
@@ -82387,10 +82387,10 @@ const Aoe = [
|
|
|
82387
82387
|
return ((T = S == null ? void 0 : S.children) == null ? void 0 : T.length) > 0;
|
|
82388
82388
|
});
|
|
82389
82389
|
});
|
|
82390
|
-
},
|
|
82390
|
+
}, nWe = { class: "h-full flex flex-col" }, oWe = { class: "flex-grow h-1 overflow-auto" }, sWe = { class: "flex items-center gap-2" }, rWe = { class: "img" }, aWe = { class: "img text-[12px]" }, iWe = {
|
|
82391
82391
|
key: 2,
|
|
82392
82392
|
class: "color-[#C0C4CC]"
|
|
82393
|
-
},
|
|
82393
|
+
}, lWe = /* @__PURE__ */ qo({
|
|
82394
82394
|
__name: "role",
|
|
82395
82395
|
props: {
|
|
82396
82396
|
modelValue: {},
|
|
@@ -82401,7 +82401,7 @@ const Aoe = [
|
|
|
82401
82401
|
const r = xn({ keyword: "" }), i = fa(o, "modelValue"), { data: u, loading: m, refresh: h } = iO({
|
|
82402
82402
|
params: r,
|
|
82403
82403
|
type: "userIds"
|
|
82404
|
-
}), v =
|
|
82404
|
+
}), v = tWe(u), w = xn(null), S = Kn(() => {
|
|
82405
82405
|
var R;
|
|
82406
82406
|
let $ = [];
|
|
82407
82407
|
return (R = v.value) == null || R.forEach((H) => {
|
|
@@ -82433,7 +82433,7 @@ const Aoe = [
|
|
|
82433
82433
|
};
|
|
82434
82434
|
return ($, R) => {
|
|
82435
82435
|
const H = qR("loading");
|
|
82436
|
-
return Tt(), gn("div",
|
|
82436
|
+
return Tt(), gn("div", nWe, [
|
|
82437
82437
|
Yt("div", null, [
|
|
82438
82438
|
on(je(Y2), {
|
|
82439
82439
|
inline: !0,
|
|
@@ -82465,7 +82465,7 @@ const Aoe = [
|
|
|
82465
82465
|
size: "large"
|
|
82466
82466
|
}, null, 8, ["modelValue"])
|
|
82467
82467
|
]),
|
|
82468
|
-
vy((Tt(), gn("div",
|
|
82468
|
+
vy((Tt(), gn("div", oWe, [
|
|
82469
82469
|
on(je(Eue), {
|
|
82470
82470
|
class: "tree-picker",
|
|
82471
82471
|
ref_key: "treeRef",
|
|
@@ -82483,14 +82483,14 @@ const Aoe = [
|
|
|
82483
82483
|
default: Rn(({ node: U, data: W }) => {
|
|
82484
82484
|
var K;
|
|
82485
82485
|
return [
|
|
82486
|
-
Yt("div",
|
|
82486
|
+
Yt("div", sWe, [
|
|
82487
82487
|
(W == null ? void 0 : W.type) === "user" ? (Tt(), gs(je(U2), {
|
|
82488
82488
|
key: 0,
|
|
82489
82489
|
src: (W == null ? void 0 : W.face) || "",
|
|
82490
82490
|
class: "face-img"
|
|
82491
82491
|
}, {
|
|
82492
82492
|
error: Rn(() => [
|
|
82493
|
-
Yt("div",
|
|
82493
|
+
Yt("div", rWe, [
|
|
82494
82494
|
on(je(ep), { size: "14" }, {
|
|
82495
82495
|
default: Rn(() => [
|
|
82496
82496
|
on(je(cI), { color: "#fff" })
|
|
@@ -82508,13 +82508,13 @@ const Aoe = [
|
|
|
82508
82508
|
error: Rn(() => {
|
|
82509
82509
|
var ae;
|
|
82510
82510
|
return [
|
|
82511
|
-
Yt("div",
|
|
82511
|
+
Yt("div", aWe, Rs(((ae = W == null ? void 0 : W.name) == null ? void 0 : ae.charAt(0)) || ""), 1)
|
|
82512
82512
|
];
|
|
82513
82513
|
}),
|
|
82514
82514
|
_: 2
|
|
82515
82515
|
}, 1032, ["src"])),
|
|
82516
82516
|
Yt("span", null, Rs(U.label), 1),
|
|
82517
|
-
(W == null ? void 0 : W.type) === "role" ? (Tt(), gn("span",
|
|
82517
|
+
(W == null ? void 0 : W.type) === "role" ? (Tt(), gn("span", iWe, " (" + Rs((K = W == null ? void 0 : W.children) == null ? void 0 : K.length) + ") ", 1)) : Ts("", !0)
|
|
82518
82518
|
])
|
|
82519
82519
|
];
|
|
82520
82520
|
}),
|
|
@@ -82526,7 +82526,7 @@ const Aoe = [
|
|
|
82526
82526
|
]);
|
|
82527
82527
|
};
|
|
82528
82528
|
}
|
|
82529
|
-
}),
|
|
82529
|
+
}), cWe = /* @__PURE__ */ gl(lWe, [["__scopeId", "data-v-de01b85d"]]), uWe = { class: "flex flex-row h-[420px]" }, dWe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, fWe = { class: "h-full" }, mWe = { class: "w-[50%] pl-2" }, gWe = { class: "h-full flex flex-col" }, hWe = { class: "flex-grow overflow-auto flex-shrink h-1" }, pWe = { class: "flex justify-between" }, vWe = /* @__PURE__ */ qo({
|
|
82530
82530
|
__name: "index",
|
|
82531
82531
|
setup(o, { expose: r }) {
|
|
82532
82532
|
const i = [
|
|
@@ -82549,7 +82549,7 @@ const Aoe = [
|
|
|
82549
82549
|
};
|
|
82550
82550
|
return r({
|
|
82551
82551
|
show: ({ data: T, callback: A }) => {
|
|
82552
|
-
u.value = !0, h.value = Ut(T), m = A;
|
|
82552
|
+
u.value = !0, h.value = nc(Ut(T)), m = A;
|
|
82553
82553
|
}
|
|
82554
82554
|
}), (T, A) => (Tt(), gs(je(IU), {
|
|
82555
82555
|
modelValue: u.value,
|
|
@@ -82561,7 +82561,7 @@ const Aoe = [
|
|
|
82561
82561
|
"destroy-on-close": !0
|
|
82562
82562
|
}, {
|
|
82563
82563
|
footer: Rn(() => [
|
|
82564
|
-
Yt("div",
|
|
82564
|
+
Yt("div", pWe, [
|
|
82565
82565
|
A[9] || (A[9] = Yt("div", null, null, -1)),
|
|
82566
82566
|
Yt("div", null, [
|
|
82567
82567
|
on(je(Pu), {
|
|
@@ -82585,17 +82585,17 @@ const Aoe = [
|
|
|
82585
82585
|
])
|
|
82586
82586
|
]),
|
|
82587
82587
|
default: Rn(() => [
|
|
82588
|
-
Yt("div",
|
|
82589
|
-
Yt("div",
|
|
82590
|
-
Yt("div",
|
|
82588
|
+
Yt("div", uWe, [
|
|
82589
|
+
Yt("div", dWe, [
|
|
82590
|
+
Yt("div", fWe, [
|
|
82591
82591
|
on(Bje, {
|
|
82592
82592
|
modelValue: h.value,
|
|
82593
82593
|
"onUpdate:modelValue": A[0] || (A[0] = ($) => h.value = $)
|
|
82594
82594
|
}, null, 8, ["modelValue"])
|
|
82595
82595
|
])
|
|
82596
82596
|
]),
|
|
82597
|
-
Yt("div",
|
|
82598
|
-
Yt("div",
|
|
82597
|
+
Yt("div", mWe, [
|
|
82598
|
+
Yt("div", gWe, [
|
|
82599
82599
|
on(je(Sue), {
|
|
82600
82600
|
modelValue: v.value,
|
|
82601
82601
|
"onUpdate:modelValue": A[1] || (A[1] = ($) => v.value = $)
|
|
@@ -82609,20 +82609,20 @@ const Aoe = [
|
|
|
82609
82609
|
]),
|
|
82610
82610
|
_: 1
|
|
82611
82611
|
}, 8, ["modelValue"]),
|
|
82612
|
-
Yt("div",
|
|
82612
|
+
Yt("div", hWe, [
|
|
82613
82613
|
v.value === "department" ? (Tt(), gs(Zje, {
|
|
82614
82614
|
key: 0,
|
|
82615
82615
|
modelValue: h.value,
|
|
82616
82616
|
"onUpdate:modelValue": A[2] || (A[2] = ($) => h.value = $),
|
|
82617
82617
|
ref: "groupRef"
|
|
82618
82618
|
}, null, 8, ["modelValue"])) : Ts("", !0),
|
|
82619
|
-
v.value === "role" ? (Tt(), gs(
|
|
82619
|
+
v.value === "role" ? (Tt(), gs(cWe, {
|
|
82620
82620
|
key: 1,
|
|
82621
82621
|
modelValue: h.value,
|
|
82622
82622
|
"onUpdate:modelValue": A[3] || (A[3] = ($) => h.value = $),
|
|
82623
82623
|
ref: "roleRef"
|
|
82624
82624
|
}, null, 8, ["modelValue"])) : Ts("", !0),
|
|
82625
|
-
v.value === "people" ? (Tt(), gs(
|
|
82625
|
+
v.value === "people" ? (Tt(), gs(eWe, {
|
|
82626
82626
|
key: 2,
|
|
82627
82627
|
modelValue: h.value,
|
|
82628
82628
|
"onUpdate:modelValue": A[4] || (A[4] = ($) => h.value = $),
|
|
@@ -82636,7 +82636,7 @@ const Aoe = [
|
|
|
82636
82636
|
_: 1
|
|
82637
82637
|
}, 8, ["modelValue"]));
|
|
82638
82638
|
}
|
|
82639
|
-
}),
|
|
82639
|
+
}), bWe = { class: "flex gap-1" }, yWe = { class: "flex" }, wWe = { key: 0 }, CWe = { class: "color-[#409EFF]" }, Dhe = /* @__PURE__ */ qo({
|
|
82640
82640
|
__name: "userPickerDisplay",
|
|
82641
82641
|
props: {
|
|
82642
82642
|
value: {
|
|
@@ -82652,12 +82652,12 @@ const Aoe = [
|
|
|
82652
82652
|
};
|
|
82653
82653
|
return (h, v) => {
|
|
82654
82654
|
var w, S;
|
|
82655
|
-
return Tt(), gn("div",
|
|
82656
|
-
Yt("div",
|
|
82655
|
+
return Tt(), gn("div", bWe, [
|
|
82656
|
+
Yt("div", yWe, [
|
|
82657
82657
|
Us(Rs(m(u == null ? void 0 : u.value)) + " ", 1),
|
|
82658
|
-
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 ? (Tt(), gn("div",
|
|
82658
|
+
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 ? (Tt(), gn("div", wWe, [
|
|
82659
82659
|
v[1] || (v[1] = Us(" 等 ")),
|
|
82660
|
-
Yt("span",
|
|
82660
|
+
Yt("span", CWe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
|
|
82661
82661
|
v[2] || (v[2] = Us(" 人 "))
|
|
82662
82662
|
])) : Ts("", !0)
|
|
82663
82663
|
]),
|
|
@@ -82675,46 +82675,46 @@ const Aoe = [
|
|
|
82675
82675
|
]);
|
|
82676
82676
|
};
|
|
82677
82677
|
}
|
|
82678
|
-
}),
|
|
82678
|
+
}), SWe = /* @__PURE__ */ qo({
|
|
82679
82679
|
__name: "index",
|
|
82680
82680
|
props: {
|
|
82681
82681
|
modelValue: { default: [] },
|
|
82682
82682
|
modelModifiers: {}
|
|
82683
82683
|
},
|
|
82684
|
-
emits: ["update:modelValue"],
|
|
82685
|
-
setup(o) {
|
|
82686
|
-
const
|
|
82687
|
-
var
|
|
82688
|
-
|
|
82689
|
-
data:
|
|
82690
|
-
callback: (
|
|
82691
|
-
|
|
82684
|
+
emits: /* @__PURE__ */ sc(["ok"], ["update:modelValue"]),
|
|
82685
|
+
setup(o, { emit: r }) {
|
|
82686
|
+
const i = fa(o, "modelValue"), u = xn(null), m = $he(i), h = r, v = () => {
|
|
82687
|
+
var w;
|
|
82688
|
+
(w = u.value) == null || w.show({
|
|
82689
|
+
data: nc(i),
|
|
82690
|
+
callback: (S) => {
|
|
82691
|
+
i.value = S, h("ok", S);
|
|
82692
82692
|
}
|
|
82693
82693
|
});
|
|
82694
82694
|
};
|
|
82695
|
-
return (
|
|
82696
|
-
modelValue:
|
|
82697
|
-
"onUpdate:modelValue":
|
|
82695
|
+
return (w, S) => (Tt(), gs(Tje, {
|
|
82696
|
+
modelValue: i.value,
|
|
82697
|
+
"onUpdate:modelValue": S[0] || (S[0] = (T) => i.value = T)
|
|
82698
82698
|
}, {
|
|
82699
82699
|
default: Rn(() => [
|
|
82700
|
-
Fr(
|
|
82701
|
-
value: je(
|
|
82702
|
-
selectHandler:
|
|
82700
|
+
Fr(w.$slots, "default", {
|
|
82701
|
+
value: je(m) || [],
|
|
82702
|
+
selectHandler: v
|
|
82703
82703
|
}, () => [
|
|
82704
82704
|
on(Dhe, {
|
|
82705
|
-
value: je(
|
|
82706
|
-
onClick:
|
|
82705
|
+
value: je(m),
|
|
82706
|
+
onClick: v
|
|
82707
82707
|
}, null, 8, ["value"])
|
|
82708
82708
|
]),
|
|
82709
|
-
on(
|
|
82709
|
+
on(vWe, {
|
|
82710
82710
|
ref_key: "dialogRef",
|
|
82711
|
-
ref:
|
|
82711
|
+
ref: u
|
|
82712
82712
|
}, null, 512)
|
|
82713
82713
|
]),
|
|
82714
82714
|
_: 3
|
|
82715
82715
|
}, 8, ["modelValue"]));
|
|
82716
82716
|
}
|
|
82717
|
-
}),
|
|
82717
|
+
}), xWe = Symbol("userPicker"), _We = /* @__PURE__ */ qo({
|
|
82718
82718
|
__name: "provider",
|
|
82719
82719
|
props: {
|
|
82720
82720
|
modelValue: {},
|
|
@@ -82723,7 +82723,7 @@ const Aoe = [
|
|
|
82723
82723
|
emits: ["update:modelValue"],
|
|
82724
82724
|
setup(o) {
|
|
82725
82725
|
const r = fa(o, "modelValue");
|
|
82726
|
-
return Km(
|
|
82726
|
+
return Km(xWe, {
|
|
82727
82727
|
modelValue: r
|
|
82728
82728
|
}), (i, u) => Fr(i.$slots, "default");
|
|
82729
82729
|
}
|
|
@@ -82741,7 +82741,7 @@ const Aoe = [
|
|
|
82741
82741
|
throw Xv[o].isFetching = !1, m;
|
|
82742
82742
|
});
|
|
82743
82743
|
return Xv[o].promise = u, await u;
|
|
82744
|
-
},
|
|
82744
|
+
}, EWe = async (o, r) => {
|
|
82745
82745
|
const i = r;
|
|
82746
82746
|
if (!i) throw new Error("http 实例未提供");
|
|
82747
82747
|
const u = "userSelector_" + JSON.stringify(o);
|
|
@@ -82749,7 +82749,7 @@ const Aoe = [
|
|
|
82749
82749
|
u,
|
|
82750
82750
|
() => i.get(`/ajax/userselectornew?${ub.stringify(o)}`)
|
|
82751
82751
|
);
|
|
82752
|
-
},
|
|
82752
|
+
}, TWe = async (o, r) => {
|
|
82753
82753
|
const i = r;
|
|
82754
82754
|
if (!i) throw new Error("http 实例未提供");
|
|
82755
82755
|
const u = "roleByGroup_" + JSON.stringify(o);
|
|
@@ -82757,14 +82757,14 @@ const Aoe = [
|
|
|
82757
82757
|
u,
|
|
82758
82758
|
() => i.get(`/v3role/getByGroup?${ub.stringify(o)}`)
|
|
82759
82759
|
);
|
|
82760
|
-
},
|
|
82760
|
+
}, kWe = (o) => {
|
|
82761
82761
|
const { params: r, type: i = "userIds" } = o, { http: u } = J4(), m = xn(!1), h = xn({
|
|
82762
82762
|
userlist: [],
|
|
82763
82763
|
rolelist: [],
|
|
82764
82764
|
grouplist: [],
|
|
82765
82765
|
positionlist: []
|
|
82766
82766
|
}), v = async () => {
|
|
82767
|
-
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", T = S ?
|
|
82767
|
+
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", T = S ? TWe : EWe;
|
|
82768
82768
|
m.value = !0, await (T == null ? void 0 : T(w, u).then((A) => {
|
|
82769
82769
|
S ? h.value = {
|
|
82770
82770
|
...h.value,
|
|
@@ -82777,7 +82777,7 @@ const Aoe = [
|
|
|
82777
82777
|
return rs(
|
|
82778
82778
|
() => Ut(r),
|
|
82779
82779
|
(w, S) => {
|
|
82780
|
-
|
|
82780
|
+
oc(w, S) || v();
|
|
82781
82781
|
},
|
|
82782
82782
|
{
|
|
82783
82783
|
deep: !0,
|
|
@@ -82793,7 +82793,7 @@ const Aoe = [
|
|
|
82793
82793
|
const { keyword: S, unitId: T, groupIds: A } = Ut(r) || {};
|
|
82794
82794
|
let $ = { keyword: S, unitId: T };
|
|
82795
82795
|
return i === "roleIds" && ($ = { ...$, groupIds: A }), $ = aI($), $;
|
|
82796
|
-
}), { loading: m, refresh: h, allData: v } =
|
|
82796
|
+
}), { loading: m, refresh: h, allData: v } = kWe({ params: u, type: i }), w = Kn(() => {
|
|
82797
82797
|
var H, U, W, K, ae;
|
|
82798
82798
|
let S = [];
|
|
82799
82799
|
const { groupIds: T, roleIds: A } = Ut(r) || {}, $ = (H = T == null ? void 0 : T.split(",")) == null ? void 0 : H.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
|
|
@@ -82833,7 +82833,7 @@ const Aoe = [
|
|
|
82833
82833
|
});
|
|
82834
82834
|
} else
|
|
82835
82835
|
return [];
|
|
82836
|
-
},
|
|
82836
|
+
}, AWe = { class: "h-full flex flex-col pr-2" }, OWe = { class: "flex py-1 mb-2 items-center justify-between border-0 border-solid border-b-1 border-[#e4e7ed]" }, $We = { class: "color-[#333]" }, DWe = { class: "color-[#909399]" }, NWe = { class: "flex-grow h-1 overflow-auto" }, MWe = { class: "flex flex-wrap gap-2" }, RWe = { class: "color-[#909399]" }, IWe = /* @__PURE__ */ qo({
|
|
82837
82837
|
__name: "list",
|
|
82838
82838
|
props: {
|
|
82839
82839
|
modelValue: {
|
|
@@ -82848,11 +82848,11 @@ const Aoe = [
|
|
|
82848
82848
|
}, m = (h) => {
|
|
82849
82849
|
r.value = r.value.filter((v) => v !== (h == null ? void 0 : h.id));
|
|
82850
82850
|
};
|
|
82851
|
-
return (h, v) => (Tt(), gn("div",
|
|
82852
|
-
Yt("div",
|
|
82853
|
-
Yt("div",
|
|
82851
|
+
return (h, v) => (Tt(), gn("div", AWe, [
|
|
82852
|
+
Yt("div", OWe, [
|
|
82853
|
+
Yt("div", $We, [
|
|
82854
82854
|
v[0] || (v[0] = Us(" 已选择 ")),
|
|
82855
|
-
Yt("span",
|
|
82855
|
+
Yt("span", DWe, Rs(r.value.length), 1)
|
|
82856
82856
|
]),
|
|
82857
82857
|
Yt("div", {
|
|
82858
82858
|
class: "flex flex-center gap-1 color-[#909399] cursor-pointer",
|
|
@@ -82862,13 +82862,13 @@ const Aoe = [
|
|
|
82862
82862
|
Us(" 清空 ")
|
|
82863
82863
|
]))
|
|
82864
82864
|
]),
|
|
82865
|
-
Yt("div",
|
|
82866
|
-
Yt("div",
|
|
82865
|
+
Yt("div", NWe, [
|
|
82866
|
+
Yt("div", MWe, [
|
|
82867
82867
|
(Tt(!0), gn(vr, null, Wa(je(i), (w) => (Tt(), gn("div", {
|
|
82868
82868
|
key: w == null ? void 0 : w.id,
|
|
82869
82869
|
class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
|
|
82870
82870
|
}, [
|
|
82871
|
-
Yt("div",
|
|
82871
|
+
Yt("div", RWe, Rs(w == null ? void 0 : w.name), 1),
|
|
82872
82872
|
on(je(ep), {
|
|
82873
82873
|
onClick: (S) => m(w),
|
|
82874
82874
|
class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
|
|
@@ -82883,7 +82883,7 @@ const Aoe = [
|
|
|
82883
82883
|
])
|
|
82884
82884
|
]));
|
|
82885
82885
|
}
|
|
82886
|
-
}),
|
|
82886
|
+
}), PWe = { class: "h-full flex flex-col" }, BWe = { class: "flex-grow h-1 overflow-auto" }, FWe = ["onClick"], LWe = { class: "flex items-center gap-2" }, HWe = { class: "img" }, VWe = /* @__PURE__ */ qo({
|
|
82887
82887
|
__name: "department",
|
|
82888
82888
|
props: {
|
|
82889
82889
|
modelValue: {},
|
|
@@ -82916,7 +82916,7 @@ const Aoe = [
|
|
|
82916
82916
|
};
|
|
82917
82917
|
return (S, T) => {
|
|
82918
82918
|
const A = qR("loading");
|
|
82919
|
-
return Tt(), gn("div",
|
|
82919
|
+
return Tt(), gn("div", PWe, [
|
|
82920
82920
|
Yt("div", null, [
|
|
82921
82921
|
on(je(Y2), {
|
|
82922
82922
|
inline: !0,
|
|
@@ -82948,7 +82948,7 @@ const Aoe = [
|
|
|
82948
82948
|
size: "large"
|
|
82949
82949
|
}, null, 8, ["modelValue"])
|
|
82950
82950
|
]),
|
|
82951
|
-
vy((Tt(), gn("div",
|
|
82951
|
+
vy((Tt(), gn("div", BWe, [
|
|
82952
82952
|
(Tt(!0), gn(vr, null, Wa(je(u), ($, R) => {
|
|
82953
82953
|
var H;
|
|
82954
82954
|
return Tt(), gn("div", {
|
|
@@ -82956,7 +82956,7 @@ const Aoe = [
|
|
|
82956
82956
|
key: R,
|
|
82957
82957
|
onClick: (U) => w($)
|
|
82958
82958
|
}, [
|
|
82959
|
-
Yt("div",
|
|
82959
|
+
Yt("div", LWe, [
|
|
82960
82960
|
on(je(my), {
|
|
82961
82961
|
"model-value": (H = i.value) == null ? void 0 : H.includes($ == null ? void 0 : $.id),
|
|
82962
82962
|
size: "large"
|
|
@@ -82966,7 +82966,7 @@ const Aoe = [
|
|
|
82966
82966
|
class: "face-img"
|
|
82967
82967
|
}, {
|
|
82968
82968
|
error: Rn(() => [
|
|
82969
|
-
Yt("div",
|
|
82969
|
+
Yt("div", HWe, [
|
|
82970
82970
|
on(je(ep), { size: "16" }, {
|
|
82971
82971
|
default: Rn(() => [
|
|
82972
82972
|
on(je(cI), { color: "#fff" })
|
|
@@ -82979,7 +82979,7 @@ const Aoe = [
|
|
|
82979
82979
|
}, 1032, ["src"]),
|
|
82980
82980
|
Yt("div", null, Rs($ == null ? void 0 : $.name), 1)
|
|
82981
82981
|
])
|
|
82982
|
-
], 8,
|
|
82982
|
+
], 8, FWe);
|
|
82983
82983
|
}), 128))
|
|
82984
82984
|
])), [
|
|
82985
82985
|
[A, je(m)]
|
|
@@ -82987,7 +82987,7 @@ const Aoe = [
|
|
|
82987
82987
|
]);
|
|
82988
82988
|
};
|
|
82989
82989
|
}
|
|
82990
|
-
}),
|
|
82990
|
+
}), zWe = /* @__PURE__ */ gl(VWe, [["__scopeId", "data-v-408d63fe"]]), UWe = { class: "flex flex-row h-[420px]" }, jWe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, WWe = { class: "h-full" }, ZWe = { class: "w-[50%] pl-2" }, GWe = { class: "h-full flex flex-col" }, qWe = { class: "flex-grow overflow-auto flex-shrink h-1" }, YWe = { class: "flex justify-between" }, KWe = /* @__PURE__ */ qo({
|
|
82991
82991
|
__name: "index",
|
|
82992
82992
|
setup(o, { expose: r }) {
|
|
82993
82993
|
const i = xn(!1);
|
|
@@ -82997,7 +82997,7 @@ const Aoe = [
|
|
|
82997
82997
|
};
|
|
82998
82998
|
return r({
|
|
82999
82999
|
show: ({ data: w, callback: S }) => {
|
|
83000
|
-
i.value = !0, m.value =
|
|
83000
|
+
i.value = !0, m.value = nc(Ut(w)), u = S;
|
|
83001
83001
|
}
|
|
83002
83002
|
}), (w, S) => (Tt(), gs(je(IU), {
|
|
83003
83003
|
modelValue: i.value,
|
|
@@ -83009,7 +83009,7 @@ const Aoe = [
|
|
|
83009
83009
|
"destroy-on-close": !0
|
|
83010
83010
|
}, {
|
|
83011
83011
|
footer: Rn(() => [
|
|
83012
|
-
Yt("div",
|
|
83012
|
+
Yt("div", YWe, [
|
|
83013
83013
|
S[6] || (S[6] = Yt("div", null, null, -1)),
|
|
83014
83014
|
Yt("div", null, [
|
|
83015
83015
|
on(je(Pu), {
|
|
@@ -83033,19 +83033,19 @@ const Aoe = [
|
|
|
83033
83033
|
])
|
|
83034
83034
|
]),
|
|
83035
83035
|
default: Rn(() => [
|
|
83036
|
-
Yt("div",
|
|
83037
|
-
Yt("div",
|
|
83038
|
-
Yt("div",
|
|
83039
|
-
on(
|
|
83036
|
+
Yt("div", UWe, [
|
|
83037
|
+
Yt("div", jWe, [
|
|
83038
|
+
Yt("div", WWe, [
|
|
83039
|
+
on(IWe, {
|
|
83040
83040
|
modelValue: m.value,
|
|
83041
83041
|
"onUpdate:modelValue": S[0] || (S[0] = (T) => m.value = T)
|
|
83042
83042
|
}, null, 8, ["modelValue"])
|
|
83043
83043
|
])
|
|
83044
83044
|
]),
|
|
83045
|
-
Yt("div",
|
|
83046
|
-
Yt("div",
|
|
83047
|
-
Yt("div",
|
|
83048
|
-
on(
|
|
83045
|
+
Yt("div", ZWe, [
|
|
83046
|
+
Yt("div", GWe, [
|
|
83047
|
+
Yt("div", qWe, [
|
|
83048
|
+
on(zWe, {
|
|
83049
83049
|
modelValue: m.value,
|
|
83050
83050
|
"onUpdate:modelValue": S[1] || (S[1] = (T) => m.value = T),
|
|
83051
83051
|
ref: "groupRef"
|
|
@@ -83058,7 +83058,7 @@ const Aoe = [
|
|
|
83058
83058
|
_: 1
|
|
83059
83059
|
}, 8, ["modelValue"]));
|
|
83060
83060
|
}
|
|
83061
|
-
}),
|
|
83061
|
+
}), XWe = { class: "flex gap-1" }, JWe = { class: "flex" }, QWe = { key: 0 }, eZe = { class: "color-[#409EFF]" }, Ihe = /* @__PURE__ */ qo({
|
|
83062
83062
|
__name: "departmentPickerDisplay",
|
|
83063
83063
|
props: {
|
|
83064
83064
|
value: {
|
|
@@ -83074,12 +83074,12 @@ const Aoe = [
|
|
|
83074
83074
|
};
|
|
83075
83075
|
return (h, v) => {
|
|
83076
83076
|
var w, S;
|
|
83077
|
-
return Tt(), gn("div",
|
|
83078
|
-
Yt("div",
|
|
83077
|
+
return Tt(), gn("div", XWe, [
|
|
83078
|
+
Yt("div", JWe, [
|
|
83079
83079
|
Us(Rs(m(u == null ? void 0 : u.value)) + " ", 1),
|
|
83080
|
-
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 ? (Tt(), gn("div",
|
|
83080
|
+
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 ? (Tt(), gn("div", QWe, [
|
|
83081
83081
|
v[1] || (v[1] = Us(" 等 ")),
|
|
83082
|
-
Yt("span",
|
|
83082
|
+
Yt("span", eZe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
|
|
83083
83083
|
v[2] || (v[2] = Us(" 部门 "))
|
|
83084
83084
|
])) : Ts("", !0)
|
|
83085
83085
|
]),
|
|
@@ -83097,7 +83097,7 @@ const Aoe = [
|
|
|
83097
83097
|
]);
|
|
83098
83098
|
};
|
|
83099
83099
|
}
|
|
83100
|
-
}),
|
|
83100
|
+
}), tZe = /* @__PURE__ */ qo({
|
|
83101
83101
|
__name: "index",
|
|
83102
83102
|
props: {
|
|
83103
83103
|
modelValue: { default: [] },
|
|
@@ -83108,13 +83108,13 @@ const Aoe = [
|
|
|
83108
83108
|
const r = fa(o, "modelValue"), i = xn(null), u = Rhe(r), m = () => {
|
|
83109
83109
|
var h;
|
|
83110
83110
|
(h = i.value) == null || h.show({
|
|
83111
|
-
data:
|
|
83111
|
+
data: nc(r),
|
|
83112
83112
|
callback: (v) => {
|
|
83113
83113
|
r.value = v;
|
|
83114
83114
|
}
|
|
83115
83115
|
});
|
|
83116
83116
|
};
|
|
83117
|
-
return (h, v) => (Tt(), gs(
|
|
83117
|
+
return (h, v) => (Tt(), gs(_We, {
|
|
83118
83118
|
modelValue: r.value,
|
|
83119
83119
|
"onUpdate:modelValue": v[0] || (v[0] = (w) => r.value = w)
|
|
83120
83120
|
}, {
|
|
@@ -83128,7 +83128,7 @@ const Aoe = [
|
|
|
83128
83128
|
onClick: m
|
|
83129
83129
|
}, null, 8, ["value"])
|
|
83130
83130
|
]),
|
|
83131
|
-
on(
|
|
83131
|
+
on(KWe, {
|
|
83132
83132
|
ref_key: "dialogRef",
|
|
83133
83133
|
ref: i
|
|
83134
83134
|
}, null, 512)
|
|
@@ -83136,7 +83136,7 @@ const Aoe = [
|
|
|
83136
83136
|
_: 3
|
|
83137
83137
|
}, 8, ["modelValue"]));
|
|
83138
83138
|
}
|
|
83139
|
-
}),
|
|
83139
|
+
}), nZe = Symbol("userPicker"), oZe = /* @__PURE__ */ qo({
|
|
83140
83140
|
__name: "provider",
|
|
83141
83141
|
props: {
|
|
83142
83142
|
modelValue: {},
|
|
@@ -83145,7 +83145,7 @@ const Aoe = [
|
|
|
83145
83145
|
emits: ["update:modelValue"],
|
|
83146
83146
|
setup(o) {
|
|
83147
83147
|
const r = fa(o, "modelValue");
|
|
83148
|
-
return Km(
|
|
83148
|
+
return Km(nZe, {
|
|
83149
83149
|
modelValue: r
|
|
83150
83150
|
}), (i, u) => Fr(i.$slots, "default");
|
|
83151
83151
|
}
|
|
@@ -83163,7 +83163,7 @@ const Aoe = [
|
|
|
83163
83163
|
throw Jv[o].isFetching = !1, m;
|
|
83164
83164
|
});
|
|
83165
83165
|
return Jv[o].promise = u, await u;
|
|
83166
|
-
},
|
|
83166
|
+
}, sZe = async (o, r) => {
|
|
83167
83167
|
const i = r;
|
|
83168
83168
|
if (!i) throw new Error("http 实例未提供");
|
|
83169
83169
|
const u = "userSelector_" + JSON.stringify(o);
|
|
@@ -83171,7 +83171,7 @@ const Aoe = [
|
|
|
83171
83171
|
u,
|
|
83172
83172
|
() => i.get(`/ajax/userselectornew?${ub.stringify(o)}`)
|
|
83173
83173
|
);
|
|
83174
|
-
},
|
|
83174
|
+
}, rZe = async (o, r) => {
|
|
83175
83175
|
const i = r;
|
|
83176
83176
|
if (!i) throw new Error("http 实例未提供");
|
|
83177
83177
|
const u = "roleByGroup_" + JSON.stringify(o);
|
|
@@ -83179,14 +83179,14 @@ const Aoe = [
|
|
|
83179
83179
|
u,
|
|
83180
83180
|
() => i.get(`/v3role/getByGroup?${ub.stringify(o)}`)
|
|
83181
83181
|
);
|
|
83182
|
-
},
|
|
83182
|
+
}, aZe = (o) => {
|
|
83183
83183
|
const { params: r, type: i = "roleIds" } = o, { http: u } = J4(), m = xn(!1), h = xn({
|
|
83184
83184
|
userlist: [],
|
|
83185
83185
|
rolelist: [],
|
|
83186
83186
|
grouplist: [],
|
|
83187
83187
|
positionlist: []
|
|
83188
83188
|
}), v = async () => {
|
|
83189
|
-
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", T = S ?
|
|
83189
|
+
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", T = S ? rZe : sZe;
|
|
83190
83190
|
m.value = !0, await (T == null ? void 0 : T(w, u).then((A) => {
|
|
83191
83191
|
S ? h.value = {
|
|
83192
83192
|
...h.value,
|
|
@@ -83199,7 +83199,7 @@ const Aoe = [
|
|
|
83199
83199
|
return rs(
|
|
83200
83200
|
() => Ut(r),
|
|
83201
83201
|
(w, S) => {
|
|
83202
|
-
|
|
83202
|
+
oc(w, S) || v();
|
|
83203
83203
|
},
|
|
83204
83204
|
{
|
|
83205
83205
|
deep: !0,
|
|
@@ -83215,7 +83215,7 @@ const Aoe = [
|
|
|
83215
83215
|
const { keyword: S, unitId: T, groupIds: A } = Ut(r) || {};
|
|
83216
83216
|
let $ = { keyword: S, unitId: T };
|
|
83217
83217
|
return i === "roleIds" && ($ = { ...$, groupIds: A }), $ = aI($), $;
|
|
83218
|
-
}), { loading: m, refresh: h, allData: v } =
|
|
83218
|
+
}), { loading: m, refresh: h, allData: v } = aZe({ params: u, type: i }), w = Kn(() => {
|
|
83219
83219
|
var H, U, W, K, ae;
|
|
83220
83220
|
let S = [];
|
|
83221
83221
|
const { groupIds: T, roleIds: A } = Ut(r) || {}, $ = (H = T == null ? void 0 : T.split(",")) == null ? void 0 : H.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
|
|
@@ -83255,7 +83255,7 @@ const Aoe = [
|
|
|
83255
83255
|
});
|
|
83256
83256
|
} else
|
|
83257
83257
|
return [];
|
|
83258
|
-
},
|
|
83258
|
+
}, iZe = { class: "h-full flex flex-col pr-2" }, lZe = { class: "flex py-1 mb-2 items-center justify-between border-0 border-solid border-b-1 border-[#e4e7ed]" }, cZe = { class: "color-[#333]" }, uZe = { class: "color-[#909399]" }, dZe = { class: "flex-grow h-1 overflow-auto" }, fZe = { class: "flex flex-wrap gap-2" }, mZe = { class: "color-[#909399]" }, gZe = /* @__PURE__ */ qo({
|
|
83259
83259
|
__name: "list",
|
|
83260
83260
|
props: {
|
|
83261
83261
|
modelValue: {
|
|
@@ -83270,11 +83270,11 @@ const Aoe = [
|
|
|
83270
83270
|
}, m = (h) => {
|
|
83271
83271
|
r.value = r.value.filter((v) => v !== (h == null ? void 0 : h.id));
|
|
83272
83272
|
};
|
|
83273
|
-
return (h, v) => (Tt(), gn("div",
|
|
83274
|
-
Yt("div",
|
|
83275
|
-
Yt("div",
|
|
83273
|
+
return (h, v) => (Tt(), gn("div", iZe, [
|
|
83274
|
+
Yt("div", lZe, [
|
|
83275
|
+
Yt("div", cZe, [
|
|
83276
83276
|
v[0] || (v[0] = Us(" 已选择 ")),
|
|
83277
|
-
Yt("span",
|
|
83277
|
+
Yt("span", uZe, Rs(r.value.length), 1)
|
|
83278
83278
|
]),
|
|
83279
83279
|
Yt("div", {
|
|
83280
83280
|
class: "flex flex-center gap-1 color-[#909399] cursor-pointer",
|
|
@@ -83284,13 +83284,13 @@ const Aoe = [
|
|
|
83284
83284
|
Us(" 清空 ")
|
|
83285
83285
|
]))
|
|
83286
83286
|
]),
|
|
83287
|
-
Yt("div",
|
|
83288
|
-
Yt("div",
|
|
83287
|
+
Yt("div", dZe, [
|
|
83288
|
+
Yt("div", fZe, [
|
|
83289
83289
|
(Tt(!0), gn(vr, null, Wa(je(i), (w) => (Tt(), gn("div", {
|
|
83290
83290
|
key: w == null ? void 0 : w.id,
|
|
83291
83291
|
class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
|
|
83292
83292
|
}, [
|
|
83293
|
-
Yt("div",
|
|
83293
|
+
Yt("div", mZe, Rs(w == null ? void 0 : w.name), 1),
|
|
83294
83294
|
on(je(ep), {
|
|
83295
83295
|
onClick: (S) => m(w),
|
|
83296
83296
|
class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
|
|
@@ -83305,7 +83305,7 @@ const Aoe = [
|
|
|
83305
83305
|
])
|
|
83306
83306
|
]));
|
|
83307
83307
|
}
|
|
83308
|
-
}),
|
|
83308
|
+
}), hZe = { class: "h-full flex flex-col" }, pZe = { class: "flex-grow h-1 overflow-auto" }, vZe = ["onClick"], bZe = { class: "flex items-center gap-2" }, yZe = /* @__PURE__ */ qo({
|
|
83309
83309
|
__name: "role",
|
|
83310
83310
|
props: {
|
|
83311
83311
|
modelValue: {},
|
|
@@ -83338,7 +83338,7 @@ const Aoe = [
|
|
|
83338
83338
|
};
|
|
83339
83339
|
return (S, T) => {
|
|
83340
83340
|
const A = qR("loading");
|
|
83341
|
-
return Tt(), gn("div",
|
|
83341
|
+
return Tt(), gn("div", hZe, [
|
|
83342
83342
|
Yt("div", null, [
|
|
83343
83343
|
on(je(Y2), {
|
|
83344
83344
|
inline: !0,
|
|
@@ -83370,7 +83370,7 @@ const Aoe = [
|
|
|
83370
83370
|
size: "large"
|
|
83371
83371
|
}, null, 8, ["modelValue"])
|
|
83372
83372
|
]),
|
|
83373
|
-
vy((Tt(), gn("div",
|
|
83373
|
+
vy((Tt(), gn("div", pZe, [
|
|
83374
83374
|
(Tt(!0), gn(vr, null, Wa(je(u), ($, R) => {
|
|
83375
83375
|
var H;
|
|
83376
83376
|
return Tt(), gn("div", {
|
|
@@ -83378,7 +83378,7 @@ const Aoe = [
|
|
|
83378
83378
|
key: R,
|
|
83379
83379
|
onClick: (U) => w($)
|
|
83380
83380
|
}, [
|
|
83381
|
-
Yt("div",
|
|
83381
|
+
Yt("div", bZe, [
|
|
83382
83382
|
on(je(my), {
|
|
83383
83383
|
"model-value": (H = i.value) == null ? void 0 : H.includes($ == null ? void 0 : $.id),
|
|
83384
83384
|
size: "large"
|
|
@@ -83396,7 +83396,7 @@ const Aoe = [
|
|
|
83396
83396
|
}, 1032, ["src"]),
|
|
83397
83397
|
Yt("div", null, Rs($ == null ? void 0 : $.name), 1)
|
|
83398
83398
|
])
|
|
83399
|
-
], 8,
|
|
83399
|
+
], 8, vZe);
|
|
83400
83400
|
}), 128))
|
|
83401
83401
|
])), [
|
|
83402
83402
|
[A, je(m)]
|
|
@@ -83404,7 +83404,7 @@ const Aoe = [
|
|
|
83404
83404
|
]);
|
|
83405
83405
|
};
|
|
83406
83406
|
}
|
|
83407
|
-
}),
|
|
83407
|
+
}), wZe = /* @__PURE__ */ gl(yZe, [["__scopeId", "data-v-a7d2b204"]]), CZe = { class: "flex flex-row h-[420px]" }, SZe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, xZe = { class: "h-full" }, _Ze = { class: "w-[50%] pl-2" }, EZe = { class: "h-full flex flex-col" }, TZe = { class: "flex-grow overflow-auto flex-shrink h-1" }, kZe = { class: "flex justify-between" }, AZe = /* @__PURE__ */ qo({
|
|
83408
83408
|
__name: "index",
|
|
83409
83409
|
setup(o, { expose: r }) {
|
|
83410
83410
|
const i = xn(!1);
|
|
@@ -83414,7 +83414,7 @@ const Aoe = [
|
|
|
83414
83414
|
};
|
|
83415
83415
|
return r({
|
|
83416
83416
|
show: ({ data: w, callback: S }) => {
|
|
83417
|
-
i.value = !0, m.value =
|
|
83417
|
+
i.value = !0, m.value = nc(Ut(w)), u = S;
|
|
83418
83418
|
}
|
|
83419
83419
|
}), (w, S) => (Tt(), gs(je(IU), {
|
|
83420
83420
|
modelValue: i.value,
|
|
@@ -83426,7 +83426,7 @@ const Aoe = [
|
|
|
83426
83426
|
"destroy-on-close": !0
|
|
83427
83427
|
}, {
|
|
83428
83428
|
footer: Rn(() => [
|
|
83429
|
-
Yt("div",
|
|
83429
|
+
Yt("div", kZe, [
|
|
83430
83430
|
S[6] || (S[6] = Yt("div", null, null, -1)),
|
|
83431
83431
|
Yt("div", null, [
|
|
83432
83432
|
on(je(Pu), {
|
|
@@ -83450,19 +83450,19 @@ const Aoe = [
|
|
|
83450
83450
|
])
|
|
83451
83451
|
]),
|
|
83452
83452
|
default: Rn(() => [
|
|
83453
|
-
Yt("div",
|
|
83454
|
-
Yt("div",
|
|
83455
|
-
Yt("div",
|
|
83456
|
-
on(
|
|
83453
|
+
Yt("div", CZe, [
|
|
83454
|
+
Yt("div", SZe, [
|
|
83455
|
+
Yt("div", xZe, [
|
|
83456
|
+
on(gZe, {
|
|
83457
83457
|
modelValue: m.value,
|
|
83458
83458
|
"onUpdate:modelValue": S[0] || (S[0] = (T) => m.value = T)
|
|
83459
83459
|
}, null, 8, ["modelValue"])
|
|
83460
83460
|
])
|
|
83461
83461
|
]),
|
|
83462
|
-
Yt("div",
|
|
83463
|
-
Yt("div",
|
|
83464
|
-
Yt("div",
|
|
83465
|
-
on(
|
|
83462
|
+
Yt("div", _Ze, [
|
|
83463
|
+
Yt("div", EZe, [
|
|
83464
|
+
Yt("div", TZe, [
|
|
83465
|
+
on(wZe, {
|
|
83466
83466
|
modelValue: m.value,
|
|
83467
83467
|
"onUpdate:modelValue": S[1] || (S[1] = (T) => m.value = T)
|
|
83468
83468
|
}, null, 8, ["modelValue"])
|
|
@@ -83474,7 +83474,7 @@ const Aoe = [
|
|
|
83474
83474
|
_: 1
|
|
83475
83475
|
}, 8, ["modelValue"]));
|
|
83476
83476
|
}
|
|
83477
|
-
}),
|
|
83477
|
+
}), OZe = { class: "flex gap-1" }, $Ze = { class: "flex" }, DZe = { key: 0 }, NZe = { class: "color-[#409EFF]" }, Lhe = /* @__PURE__ */ qo({
|
|
83478
83478
|
__name: "rolePickerDisplay",
|
|
83479
83479
|
props: {
|
|
83480
83480
|
value: {
|
|
@@ -83490,12 +83490,12 @@ const Aoe = [
|
|
|
83490
83490
|
};
|
|
83491
83491
|
return (h, v) => {
|
|
83492
83492
|
var w, S;
|
|
83493
|
-
return Tt(), gn("div",
|
|
83494
|
-
Yt("div",
|
|
83493
|
+
return Tt(), gn("div", OZe, [
|
|
83494
|
+
Yt("div", $Ze, [
|
|
83495
83495
|
Us(Rs(m(u == null ? void 0 : u.value)) + " ", 1),
|
|
83496
|
-
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 ? (Tt(), gn("div",
|
|
83496
|
+
((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 ? (Tt(), gn("div", DZe, [
|
|
83497
83497
|
v[1] || (v[1] = Us(" 等 ")),
|
|
83498
|
-
Yt("span",
|
|
83498
|
+
Yt("span", NZe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
|
|
83499
83499
|
v[2] || (v[2] = Us(" 岗位 "))
|
|
83500
83500
|
])) : Ts("", !0)
|
|
83501
83501
|
]),
|
|
@@ -83513,7 +83513,7 @@ const Aoe = [
|
|
|
83513
83513
|
]);
|
|
83514
83514
|
};
|
|
83515
83515
|
}
|
|
83516
|
-
}),
|
|
83516
|
+
}), MZe = /* @__PURE__ */ qo({
|
|
83517
83517
|
__name: "index",
|
|
83518
83518
|
props: {
|
|
83519
83519
|
modelValue: { default: [] },
|
|
@@ -83524,13 +83524,13 @@ const Aoe = [
|
|
|
83524
83524
|
const r = fa(o, "modelValue"), i = xn(null), u = Fhe(r), m = () => {
|
|
83525
83525
|
var h;
|
|
83526
83526
|
(h = i.value) == null || h.show({
|
|
83527
|
-
data:
|
|
83527
|
+
data: nc(r),
|
|
83528
83528
|
callback: (v) => {
|
|
83529
83529
|
r.value = v;
|
|
83530
83530
|
}
|
|
83531
83531
|
});
|
|
83532
83532
|
};
|
|
83533
|
-
return (h, v) => (Tt(), gs(
|
|
83533
|
+
return (h, v) => (Tt(), gs(oZe, {
|
|
83534
83534
|
modelValue: r.value,
|
|
83535
83535
|
"onUpdate:modelValue": v[0] || (v[0] = (w) => r.value = w)
|
|
83536
83536
|
}, {
|
|
@@ -83544,7 +83544,7 @@ const Aoe = [
|
|
|
83544
83544
|
onClick: m
|
|
83545
83545
|
}, null, 8, ["value"])
|
|
83546
83546
|
]),
|
|
83547
|
-
on(
|
|
83547
|
+
on(AZe, {
|
|
83548
83548
|
ref_key: "dialogRef",
|
|
83549
83549
|
ref: i
|
|
83550
83550
|
}, null, 512)
|
|
@@ -83566,7 +83566,7 @@ const Aoe = [
|
|
|
83566
83566
|
throw Qv[o].isFetching = !1, m;
|
|
83567
83567
|
});
|
|
83568
83568
|
return Qv[o].promise = u, await u;
|
|
83569
|
-
},
|
|
83569
|
+
}, RZe = async (o, r) => {
|
|
83570
83570
|
const i = r;
|
|
83571
83571
|
if (!i) throw new Error("http 实例未提供");
|
|
83572
83572
|
const u = "userSelector_" + JSON.stringify(o);
|
|
@@ -83574,7 +83574,7 @@ const Aoe = [
|
|
|
83574
83574
|
u,
|
|
83575
83575
|
() => i.get(`/ajax/userselectornew?${ub.stringify(o)}`)
|
|
83576
83576
|
);
|
|
83577
|
-
},
|
|
83577
|
+
}, IZe = async (o, r) => {
|
|
83578
83578
|
const i = r;
|
|
83579
83579
|
if (!i) throw new Error("http 实例未提供");
|
|
83580
83580
|
const u = "roleByGroup_" + JSON.stringify(o);
|
|
@@ -83582,14 +83582,14 @@ const Aoe = [
|
|
|
83582
83582
|
u,
|
|
83583
83583
|
() => i.get(`/v3role/getByGroup?${ub.stringify(o)}`)
|
|
83584
83584
|
);
|
|
83585
|
-
},
|
|
83585
|
+
}, PZe = (o) => {
|
|
83586
83586
|
const { params: r, type: i = "userIds" } = o, { http: u } = J4(), m = xn(!1), h = xn({
|
|
83587
83587
|
userlist: [],
|
|
83588
83588
|
rolelist: [],
|
|
83589
83589
|
grouplist: [],
|
|
83590
83590
|
positionlist: []
|
|
83591
83591
|
}), v = async () => {
|
|
83592
|
-
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", T = S ?
|
|
83592
|
+
const w = Ut(r) || {}, S = (w == null ? void 0 : w.groupIds) && Ut(i) === "role", T = S ? IZe : RZe;
|
|
83593
83593
|
m.value = !0, await (T == null ? void 0 : T(w, u).then((A) => {
|
|
83594
83594
|
S ? h.value = {
|
|
83595
83595
|
...h.value,
|
|
@@ -83602,7 +83602,7 @@ const Aoe = [
|
|
|
83602
83602
|
return rs(
|
|
83603
83603
|
() => Ut(r),
|
|
83604
83604
|
(w, S) => {
|
|
83605
|
-
|
|
83605
|
+
oc(w, S) || v();
|
|
83606
83606
|
},
|
|
83607
83607
|
{
|
|
83608
83608
|
deep: !0,
|
|
@@ -83618,7 +83618,7 @@ const Aoe = [
|
|
|
83618
83618
|
const { keyword: S, unitId: T, groupIds: A } = Ut(r) || {};
|
|
83619
83619
|
let $ = { keyword: S, unitId: T };
|
|
83620
83620
|
return i === "roleIds" && ($ = { ...$, groupIds: A }), $ = aI($), $;
|
|
83621
|
-
}), { loading: m, refresh: h, allData: v } =
|
|
83621
|
+
}), { loading: m, refresh: h, allData: v } = PZe({ params: u, type: i }), w = Kn(() => {
|
|
83622
83622
|
var H, U, W, K, ae;
|
|
83623
83623
|
let S = [];
|
|
83624
83624
|
const { groupIds: T, roleIds: A } = Ut(r) || {}, $ = (H = T == null ? void 0 : T.split(",")) == null ? void 0 : H.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
|
|
@@ -83644,13 +83644,13 @@ const Aoe = [
|
|
|
83644
83644
|
refresh: h,
|
|
83645
83645
|
allData: v
|
|
83646
83646
|
};
|
|
83647
|
-
},
|
|
83647
|
+
}, BZe = { class: "w-[420px] flex h-[300px]" }, FZe = { class: "h-full w-1/2 leftContent flex flex-col pr-2" }, LZe = { class: "mb-1" }, HZe = { class: "h-1 overflow-auto flex-grow" }, VZe = ["onClick"], zZe = {
|
|
83648
83648
|
key: 0,
|
|
83649
83649
|
class: "i-bi:check2"
|
|
83650
|
-
},
|
|
83650
|
+
}, UZe = { class: "h-full w-1/2 flex flex-col pl-2" }, jZe = { class: "mb-1" }, WZe = { class: "h-1 overflow-auto flex-grow" }, ZZe = ["onClick"], GZe = {
|
|
83651
83651
|
key: 0,
|
|
83652
83652
|
class: "i-bi:check2"
|
|
83653
|
-
},
|
|
83653
|
+
}, qZe = { class: "color-[#6B7280] text-[12px] tips flex items-center pt-2 justify-between" }, YZe = /* @__PURE__ */ qo({
|
|
83654
83654
|
__name: "roleAndDepartmentSelect",
|
|
83655
83655
|
props: {
|
|
83656
83656
|
modelValue: {
|
|
@@ -83661,10 +83661,10 @@ const Aoe = [
|
|
|
83661
83661
|
},
|
|
83662
83662
|
modelModifiers: {}
|
|
83663
83663
|
},
|
|
83664
|
-
emits: /* @__PURE__ */
|
|
83664
|
+
emits: /* @__PURE__ */ sc(["ok"], ["update:modelValue"]),
|
|
83665
83665
|
setup(o, { emit: r }) {
|
|
83666
83666
|
const i = fa(o, "modelValue"), u = r, m = () => {
|
|
83667
|
-
u("ok",
|
|
83667
|
+
u("ok", nc(Ut(i)));
|
|
83668
83668
|
}, h = xn(""), v = xn(""), { allData: w } = Vhe({}), S = Kn(() => {
|
|
83669
83669
|
var $;
|
|
83670
83670
|
const A = (($ = w.value) == null ? void 0 : $.grouplist) || [];
|
|
@@ -83683,9 +83683,9 @@ const Aoe = [
|
|
|
83683
83683
|
}) : A;
|
|
83684
83684
|
});
|
|
83685
83685
|
return (A, $) => (Tt(), gn("div", null, [
|
|
83686
|
-
Yt("div",
|
|
83687
|
-
Yt("div",
|
|
83688
|
-
Yt("div",
|
|
83686
|
+
Yt("div", BZe, [
|
|
83687
|
+
Yt("div", FZe, [
|
|
83688
|
+
Yt("div", LZe, [
|
|
83689
83689
|
$[2] || ($[2] = Yt("div", { class: "color-[#333] font-bold mb-2" }, "选择部门", -1)),
|
|
83690
83690
|
on(je(Yg), {
|
|
83691
83691
|
modelValue: v.value,
|
|
@@ -83696,19 +83696,19 @@ const Aoe = [
|
|
|
83696
83696
|
class: "w-full"
|
|
83697
83697
|
}, null, 8, ["modelValue"])
|
|
83698
83698
|
]),
|
|
83699
|
-
Yt("div",
|
|
83699
|
+
Yt("div", HZe, [
|
|
83700
83700
|
(Tt(!0), gn(vr, null, Wa(S.value, (R) => (Tt(), gn("div", {
|
|
83701
83701
|
class: Xm(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (R == null ? void 0 : R.id) === i.value.groupId }]),
|
|
83702
83702
|
key: R == null ? void 0 : R.id,
|
|
83703
83703
|
onClick: (H) => i.value.groupId = R == null ? void 0 : R.id
|
|
83704
83704
|
}, [
|
|
83705
83705
|
Us(Rs(R == null ? void 0 : R.name) + " ", 1),
|
|
83706
|
-
(R == null ? void 0 : R.id) === i.value.groupId ? (Tt(), gn("div",
|
|
83707
|
-
], 10,
|
|
83706
|
+
(R == null ? void 0 : R.id) === i.value.groupId ? (Tt(), gn("div", zZe)) : Ts("", !0)
|
|
83707
|
+
], 10, VZe))), 128))
|
|
83708
83708
|
])
|
|
83709
83709
|
]),
|
|
83710
|
-
Yt("div",
|
|
83711
|
-
Yt("div",
|
|
83710
|
+
Yt("div", UZe, [
|
|
83711
|
+
Yt("div", jZe, [
|
|
83712
83712
|
$[3] || ($[3] = Yt("div", { class: "color-[#333] font-bold mb-2" }, "选择岗位", -1)),
|
|
83713
83713
|
on(je(Yg), {
|
|
83714
83714
|
modelValue: h.value,
|
|
@@ -83719,19 +83719,19 @@ const Aoe = [
|
|
|
83719
83719
|
class: "w-full"
|
|
83720
83720
|
}, null, 8, ["modelValue"])
|
|
83721
83721
|
]),
|
|
83722
|
-
Yt("div",
|
|
83722
|
+
Yt("div", WZe, [
|
|
83723
83723
|
(Tt(!0), gn(vr, null, Wa(T.value, (R) => (Tt(), gn("div", {
|
|
83724
83724
|
class: Xm(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (R == null ? void 0 : R.id) === i.value.roleId }]),
|
|
83725
83725
|
key: R == null ? void 0 : R.id,
|
|
83726
83726
|
onClick: (H) => i.value.roleId = R == null ? void 0 : R.id
|
|
83727
83727
|
}, [
|
|
83728
83728
|
Us(Rs(R == null ? void 0 : R.name) + " ", 1),
|
|
83729
|
-
(R == null ? void 0 : R.id) === i.value.roleId ? (Tt(), gn("div",
|
|
83730
|
-
], 10,
|
|
83729
|
+
(R == null ? void 0 : R.id) === i.value.roleId ? (Tt(), gn("div", GZe)) : Ts("", !0)
|
|
83730
|
+
], 10, ZZe))), 128))
|
|
83731
83731
|
])
|
|
83732
83732
|
])
|
|
83733
83733
|
]),
|
|
83734
|
-
Yt("div",
|
|
83734
|
+
Yt("div", qZe, [
|
|
83735
83735
|
$[5] || ($[5] = Yt("div", null, [
|
|
83736
83736
|
Yt("span", { class: "font-bold" }, "提示:"),
|
|
83737
83737
|
Us(" 若部门和岗位均选择不限则视为不限制 ")
|
|
@@ -83749,7 +83749,7 @@ const Aoe = [
|
|
|
83749
83749
|
])
|
|
83750
83750
|
]));
|
|
83751
83751
|
}
|
|
83752
|
-
}),
|
|
83752
|
+
}), KZe = /* @__PURE__ */ gl(YZe, [["__scopeId", "data-v-4d4aa43e"]]), XZe = (o) => {
|
|
83753
83753
|
if (Ut(o)) {
|
|
83754
83754
|
const { allData: r } = Vhe({
|
|
83755
83755
|
type: "groupIds"
|
|
@@ -83772,10 +83772,10 @@ const Aoe = [
|
|
|
83772
83772
|
});
|
|
83773
83773
|
} else
|
|
83774
83774
|
return Kn(() => []);
|
|
83775
|
-
},
|
|
83775
|
+
}, JZe = { class: "w-full" }, QZe = { class: "flex justify-between header items-center h-[32px]" }, eGe = { class: "flex gap-1" }, tGe = { class: "content mt-2" }, nGe = { class: "flex-center gap-1" }, oGe = ["onClick"], sGe = {
|
|
83776
83776
|
key: 0,
|
|
83777
83777
|
class: "h-[100px] flex-center"
|
|
83778
|
-
},
|
|
83778
|
+
}, rGe = /* @__PURE__ */ qo({
|
|
83779
83779
|
__name: "index",
|
|
83780
83780
|
props: {
|
|
83781
83781
|
modelValue: { default: [] },
|
|
@@ -83788,10 +83788,10 @@ const Aoe = [
|
|
|
83788
83788
|
T != null && T.roleId && (T != null && T.groupId) && ((A = r.value) != null && A.some(
|
|
83789
83789
|
(H) => H.roleId === T.roleId && H.groupId === T.groupId
|
|
83790
83790
|
) || (r.value = [...r.value || [], T])), ($ = m.value) == null || $.hide();
|
|
83791
|
-
}, m = xn(null), h =
|
|
83791
|
+
}, m = xn(null), h = XZe(r), v = (T) => {
|
|
83792
83792
|
var R, H;
|
|
83793
83793
|
let A = (R = T == null ? void 0 : T.role) == null ? void 0 : R.id, $ = (H = T == null ? void 0 : T.group) == null ? void 0 : H.id;
|
|
83794
|
-
r.value = r.value.filter((U) => !
|
|
83794
|
+
r.value = r.value.filter((U) => !oc(U, { roleId: A, groupId: $ }));
|
|
83795
83795
|
}, w = () => {
|
|
83796
83796
|
r.value = [];
|
|
83797
83797
|
}, S = () => {
|
|
@@ -83799,13 +83799,13 @@ const Aoe = [
|
|
|
83799
83799
|
};
|
|
83800
83800
|
return (T, A) => {
|
|
83801
83801
|
var $;
|
|
83802
|
-
return Tt(), gn("div",
|
|
83803
|
-
Yt("div",
|
|
83802
|
+
return Tt(), gn("div", JZe, [
|
|
83803
|
+
Yt("div", QZe, [
|
|
83804
83804
|
A[3] || (A[3] = Yt("div", { class: "color-[#333]" }, [
|
|
83805
83805
|
Us(" 已选择 "),
|
|
83806
83806
|
Yt("span", { class: "color-[#909399] text-[13px]" }, "(3)")
|
|
83807
83807
|
], -1)),
|
|
83808
|
-
Yt("div",
|
|
83808
|
+
Yt("div", eGe, [
|
|
83809
83809
|
on(je(MU), {
|
|
83810
83810
|
ref_key: "popoverRef",
|
|
83811
83811
|
ref: m,
|
|
@@ -83823,7 +83823,7 @@ const Aoe = [
|
|
|
83823
83823
|
})
|
|
83824
83824
|
]),
|
|
83825
83825
|
default: Rn(() => [
|
|
83826
|
-
on(
|
|
83826
|
+
on(KZe, {
|
|
83827
83827
|
modelValue: i.value,
|
|
83828
83828
|
"onUpdate:modelValue": A[0] || (A[0] = (R) => i.value = R),
|
|
83829
83829
|
onOk: u
|
|
@@ -83843,34 +83843,34 @@ const Aoe = [
|
|
|
83843
83843
|
})
|
|
83844
83844
|
])
|
|
83845
83845
|
]),
|
|
83846
|
-
Yt("div",
|
|
83846
|
+
Yt("div", tGe, [
|
|
83847
83847
|
(Tt(!0), gn(vr, null, Wa(je(h), (R, H) => {
|
|
83848
83848
|
var U, W;
|
|
83849
83849
|
return Tt(), gn("div", {
|
|
83850
83850
|
key: H,
|
|
83851
83851
|
class: "item"
|
|
83852
83852
|
}, [
|
|
83853
|
-
Yt("div",
|
|
83853
|
+
Yt("div", nGe, [
|
|
83854
83854
|
A[4] || (A[4] = Yt("div", { class: "i-bi:diagram-2 color-[#D4D7DE]" }, null, -1)),
|
|
83855
83855
|
Us(" " + Rs((U = R == null ? void 0 : R.group) == null ? void 0 : U.name) + " - " + Rs((W = R == null ? void 0 : R.role) == null ? void 0 : W.name), 1)
|
|
83856
83856
|
]),
|
|
83857
83857
|
Yt("div", {
|
|
83858
83858
|
class: "i-bi:x-circle-fill color-[#C0C4CC] hover:color-[#409EFF] cursor-pointer",
|
|
83859
83859
|
onClick: () => v(R)
|
|
83860
|
-
}, null, 8,
|
|
83860
|
+
}, null, 8, oGe)
|
|
83861
83861
|
]);
|
|
83862
83862
|
}), 128)),
|
|
83863
|
-
(($ = je(h)) == null ? void 0 : $.length) > 0 ? Ts("", !0) : (Tt(), gn("div",
|
|
83863
|
+
(($ = je(h)) == null ? void 0 : $.length) > 0 ? Ts("", !0) : (Tt(), gn("div", sGe, "暂无数据"))
|
|
83864
83864
|
])
|
|
83865
83865
|
]);
|
|
83866
83866
|
};
|
|
83867
83867
|
}
|
|
83868
|
-
}),
|
|
83868
|
+
}), aGe = /* @__PURE__ */ gl(rGe, [["__scopeId", "data-v-6811f20c"]]), yue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83869
83869
|
__proto__: null,
|
|
83870
83870
|
ConfigProvider: Lve,
|
|
83871
83871
|
ConfirmTextSetter: _je,
|
|
83872
83872
|
DateFormatSetter: Cje,
|
|
83873
|
-
DepartmentPicker:
|
|
83873
|
+
DepartmentPicker: tZe,
|
|
83874
83874
|
DepartmentPickerDisplay: Ihe,
|
|
83875
83875
|
FilePreview: A6e,
|
|
83876
83876
|
FormFlow: _Ue,
|
|
@@ -83882,28 +83882,28 @@ const Aoe = [
|
|
|
83882
83882
|
OptionsSetter: yje,
|
|
83883
83883
|
ProEditor: mMe,
|
|
83884
83884
|
ProEditorPreview: vMe,
|
|
83885
|
-
RoleAndDepartmentPicker:
|
|
83886
|
-
RolePicker:
|
|
83885
|
+
RoleAndDepartmentPicker: aGe,
|
|
83886
|
+
RolePicker: MZe,
|
|
83887
83887
|
RolePickerDisplay: Lhe,
|
|
83888
|
-
UserPicker:
|
|
83888
|
+
UserPicker: SWe,
|
|
83889
83889
|
UserPickerDisplay: Dhe,
|
|
83890
83890
|
UserSelector: W_e,
|
|
83891
83891
|
ZyPageLayout: E6e,
|
|
83892
83892
|
configProviderContextKey: Voe,
|
|
83893
83893
|
defaultConfig: hde,
|
|
83894
83894
|
useConfigProvider: J4
|
|
83895
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
83896
|
-
function
|
|
83895
|
+
}, Symbol.toStringTag, { value: "Module" })), iGe = hpe;
|
|
83896
|
+
function lGe(o) {
|
|
83897
83897
|
return Object.keys(yue).forEach((r) => {
|
|
83898
83898
|
o.component(r, yue[r]);
|
|
83899
83899
|
}), o;
|
|
83900
83900
|
}
|
|
83901
|
-
const
|
|
83901
|
+
const bGe = { install: lGe, version: iGe };
|
|
83902
83902
|
export {
|
|
83903
83903
|
Lve as ConfigProvider,
|
|
83904
83904
|
_je as ConfirmTextSetter,
|
|
83905
83905
|
Cje as DateFormatSetter,
|
|
83906
|
-
|
|
83906
|
+
tZe as DepartmentPicker,
|
|
83907
83907
|
Ihe as DepartmentPickerDisplay,
|
|
83908
83908
|
A6e as FilePreview,
|
|
83909
83909
|
_Ue as FormFlow,
|
|
@@ -83915,17 +83915,17 @@ export {
|
|
|
83915
83915
|
yje as OptionsSetter,
|
|
83916
83916
|
mMe as ProEditor,
|
|
83917
83917
|
vMe as ProEditorPreview,
|
|
83918
|
-
|
|
83919
|
-
|
|
83918
|
+
aGe as RoleAndDepartmentPicker,
|
|
83919
|
+
MZe as RolePicker,
|
|
83920
83920
|
Lhe as RolePickerDisplay,
|
|
83921
|
-
|
|
83921
|
+
SWe as UserPicker,
|
|
83922
83922
|
Dhe as UserPickerDisplay,
|
|
83923
83923
|
W_e as UserSelector,
|
|
83924
83924
|
E6e as ZyPageLayout,
|
|
83925
83925
|
Voe as configProviderContextKey,
|
|
83926
|
-
|
|
83926
|
+
bGe as default,
|
|
83927
83927
|
hde as defaultConfig,
|
|
83928
|
-
|
|
83928
|
+
lGe as install,
|
|
83929
83929
|
J4 as useConfigProvider,
|
|
83930
|
-
|
|
83930
|
+
iGe as version
|
|
83931
83931
|
};
|