@qqt-product/ui 12.0.9 → 12.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +215 -215
- package/dist/index.umd.js +33 -33
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -18580,7 +18580,7 @@ function usePromiseStep(r) {
|
|
|
18580
18580
|
...Cr
|
|
18581
18581
|
};
|
|
18582
18582
|
return Promise.resolve({ ...Lr, pageData: ref(xr) });
|
|
18583
|
-
},
|
|
18583
|
+
}, li = () => {
|
|
18584
18584
|
composePromise$1([ca, Hr])({ cacheButton: cacheButton.value, pageButtons: b, pageData: s, defaultValues: l, layoutConfig: c }).then(() => {
|
|
18585
18585
|
emitter.emit(`${localUid.value}_${SYMBOL_BACK}`, cacheButton.value);
|
|
18586
18586
|
}).catch((gr) => {
|
|
@@ -18626,7 +18626,7 @@ function usePromiseStep(r) {
|
|
|
18626
18626
|
restOfConfirm: pa,
|
|
18627
18627
|
composeReject: Kn,
|
|
18628
18628
|
composeCancelAudit: Va,
|
|
18629
|
-
composeFlowView:
|
|
18629
|
+
composeFlowView: li,
|
|
18630
18630
|
stepCancelAuditModal: Ne,
|
|
18631
18631
|
stepCancelAudit: sr,
|
|
18632
18632
|
stepFlowView: Hr
|
|
@@ -18855,7 +18855,7 @@ const pageLayout = "", { remove: remove$1, uniqueId: uniqueId$1, download, clone
|
|
|
18855
18855
|
const Es = qa.groupCode;
|
|
18856
18856
|
let Qa = b.value[Es];
|
|
18857
18857
|
P.value[Es].push({ ...Qa, _row_id: uniqueId$1("_row_id_") }), wa(!1, !0, !0, Es), n.emit("addRow", qa);
|
|
18858
|
-
},
|
|
18858
|
+
}, li = (qa) => {
|
|
18859
18859
|
const Es = qa.groupCode, Qa = qa.ids, Ts = P.value[Es];
|
|
18860
18860
|
remove$1(Ts, function(al) {
|
|
18861
18861
|
const ts = al.id || al._row_id;
|
|
@@ -19014,9 +19014,9 @@ const pageLayout = "", { remove: remove$1, uniqueId: uniqueId$1, download, clone
|
|
|
19014
19014
|
n.emit("flowApprovalCallback", qa);
|
|
19015
19015
|
};
|
|
19016
19016
|
return onMounted(() => {
|
|
19017
|
-
n.emit("setInstance", s == null ? void 0 : s.exposed), emitter.on(`${G.value}_${SYMBOL_CUSTOM_CLICK}`, Wc), emitter.on(`${G.value}_${SYMBOL_CUSTOM_BINDFUNCTION}`, ru), emitter.on(`${G.value}_${SYMBOL_CUSTOM_VXE_BINDFUNCTION}`, jc), emitter.on(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, Ol), emitter.on(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLEAR}`, Yc), emitter.on(`${G.value}_${SYMBOL_VALIDATE_SUCCESS}`, Qu), emitter.on(`${G.value}_${SYMBOL_BINDFUNCTION}`, Xr), emitter.on(`${G.value}_${SYMBOL_VXE_BINDFUNCTION}`, Va), emitter.on(`${G.value}_${SYMBOL_ADD_ONE_ROW}`, ya), emitter.on(`${G.value}_${SYMBOL_DELETE_ROWS}`,
|
|
19017
|
+
n.emit("setInstance", s == null ? void 0 : s.exposed), emitter.on(`${G.value}_${SYMBOL_CUSTOM_CLICK}`, Wc), emitter.on(`${G.value}_${SYMBOL_CUSTOM_BINDFUNCTION}`, ru), emitter.on(`${G.value}_${SYMBOL_CUSTOM_VXE_BINDFUNCTION}`, jc), emitter.on(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, Ol), emitter.on(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLEAR}`, Yc), emitter.on(`${G.value}_${SYMBOL_VALIDATE_SUCCESS}`, Qu), emitter.on(`${G.value}_${SYMBOL_BINDFUNCTION}`, Xr), emitter.on(`${G.value}_${SYMBOL_VXE_BINDFUNCTION}`, Va), emitter.on(`${G.value}_${SYMBOL_ADD_ONE_ROW}`, ya), emitter.on(`${G.value}_${SYMBOL_DELETE_ROWS}`, li), emitter.on(`${G.value}_${SYMBOL_FILL}`, Lr), emitter.on(`${G.value}_${SYMBOL_SAVE}`, Cr), emitter.on(`${G.value}_${SYMBOL_PUBLISH}`, xr), emitter.on(`${G.value}_${SYMBOL_SUBMIT}`, Dr), emitter.on(`${G.value}_${SYMBOL_CANCEL_AUDIT}`, ua), emitter.on(`${G.value}_${SYMBOL_CONFIRM}`, Na), emitter.on(`${G.value}_${SYMBOL_REJECT}`, fi), emitter.on(`${G.value}_${SYMBOL_CACHE_BUTTON}`, Pn), emitter.on(`${G.value}_${SYMBOL_CACHE_PAGEDATA}`, Hn), emitter.on(`${G.value}_${SYMBOL_CACHE_REFRESH}`, In), emitter.on(`${G.value}_${SYMBOL_CACHE_SHOW_MESSAGE}`, Ln), emitter.on(`${G.value}_${SYMBOL_VALIDATE}`, Ne), emitter.on(`${G.value}_${SYMBOL_VALIDATE_RESULT}`, nr), emitter.on(`${G.value}_${SYMBOL_LINK_CLICK}`, ja), emitter.on(`${G.value}_${SYMBOL_DOWNLOAD_ALL}`, Yr), emitter.on(`${G.value}_${SYMBOL_REMOVE_ALL}`, gr), emitter.on(`${G.value}_${SYMBOL_VXE_KEYDOWN}`, Bs), emitter.on(`${G.value}_${SYMBOL_VXE_HEADER_CELL_CLICK}`, Xi), emitter.on(`${G.value}_${SYMBOL_VXE_HEADER_CELL_DBLCLICK}`, ai), emitter.on(`${G.value}_${SYMBOL_VXE_HEADER_CELL_MENU}`, Ri), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_CLICK}`, Os), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_DBLCLICK}`, pl), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_MENU}`, Rs), emitter.on(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_CLICK}`, Zs), emitter.on(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_DBLCLICK}`, Bl), emitter.on(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_MENU}`, Gi), emitter.on(`${G.value}_${SYMBOL_VXE_RADIO_CHANGE}`, ci), emitter.on(`${G.value}_${SYMBOL_VXE_CHECKBOX_CHANGE}`, ji), emitter.on(`${G.value}_${SYMBOL_VXE_CHECKBOX_ALL}`, Ks), emitter.on(`${G.value}_${SYMBOL_VXE_SCROLL}`, ou), emitter.on(`${G.value}_${SYMBOL_VXE_ZOOM}`, xs), emitter.on(`${G.value}_${SYMBOL_VXE_CUSTOM}`, ic), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_AREA_COPY}`, _s), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_AREA_CUT}`, Fu), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_AREA_PASTE}`, gc), emitter.on(`${G.value}_${SYMBOL_REFRESH}`, Fl), emitter.on(`${G.value}_${SYMBOL_BACK}`, bs), emitter.on(`${G.value}_${SYMBOL_FLOW_APPROVAL_CALLBACK}`, Lu);
|
|
19018
19018
|
}), onUnmounted(() => {
|
|
19019
|
-
emitter.off(`${G.value}_${SYMBOL_CUSTOM_CLICK}`, Wc), emitter.off(`${G.value}_${SYMBOL_CUSTOM_BINDFUNCTION}`, ru), emitter.off(`${G.value}_${SYMBOL_CUSTOM_VXE_BINDFUNCTION}`, jc), emitter.off(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, Ol), emitter.off(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLEAR}`, Yc), emitter.off(`${G.value}_${SYMBOL_VALIDATE_SUCCESS}`, Qu), emitter.off(`${G.value}_${SYMBOL_BINDFUNCTION}`, Xr), emitter.off(`${G.value}_${SYMBOL_VXE_BINDFUNCTION}`, Va), emitter.off(`${G.value}_${SYMBOL_ADD_ONE_ROW}`, ya), emitter.off(`${G.value}_${SYMBOL_DELETE_ROWS}`,
|
|
19019
|
+
emitter.off(`${G.value}_${SYMBOL_CUSTOM_CLICK}`, Wc), emitter.off(`${G.value}_${SYMBOL_CUSTOM_BINDFUNCTION}`, ru), emitter.off(`${G.value}_${SYMBOL_CUSTOM_VXE_BINDFUNCTION}`, jc), emitter.off(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, Ol), emitter.off(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLEAR}`, Yc), emitter.off(`${G.value}_${SYMBOL_VALIDATE_SUCCESS}`, Qu), emitter.off(`${G.value}_${SYMBOL_BINDFUNCTION}`, Xr), emitter.off(`${G.value}_${SYMBOL_VXE_BINDFUNCTION}`, Va), emitter.off(`${G.value}_${SYMBOL_ADD_ONE_ROW}`, ya), emitter.off(`${G.value}_${SYMBOL_DELETE_ROWS}`, li), emitter.off(`${G.value}_${SYMBOL_FILL}`, Lr), emitter.off(`${G.value}_${SYMBOL_SAVE}`, Cr), emitter.off(`${G.value}_${SYMBOL_PUBLISH}`, xr), emitter.off(`${G.value}_${SYMBOL_SUBMIT}`, Dr), emitter.off(`${G.value}_${SYMBOL_CANCEL_AUDIT}`, ua), emitter.off(`${G.value}_${SYMBOL_CONFIRM}`, Na), emitter.off(`${G.value}_${SYMBOL_REJECT}`, fi), emitter.off(`${G.value}_${SYMBOL_CACHE_BUTTON}`, Pn), emitter.off(`${G.value}_${SYMBOL_CACHE_PAGEDATA}`, Hn), emitter.off(`${G.value}_${SYMBOL_CACHE_REFRESH}`, In), emitter.off(`${G.value}_${SYMBOL_CACHE_SHOW_MESSAGE}`, Ln), emitter.off(`${G.value}_${SYMBOL_VALIDATE}`, Ne), emitter.off(`${G.value}_${SYMBOL_VALIDATE_RESULT}`, nr), emitter.off(`${G.value}_${SYMBOL_LINK_CLICK}`, ja), emitter.off(`${G.value}_${SYMBOL_DOWNLOAD_ALL}`, Yr), emitter.off(`${G.value}_${SYMBOL_REMOVE_ALL}`, gr), emitter.off(`${G.value}_${SYMBOL_VXE_KEYDOWN}`, Bs), emitter.off(`${G.value}_${SYMBOL_VXE_HEADER_CELL_CLICK}`, Xi), emitter.off(`${G.value}_${SYMBOL_VXE_HEADER_CELL_DBLCLICK}`, ai), emitter.off(`${G.value}_${SYMBOL_VXE_HEADER_CELL_MENU}`, Ri), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_CLICK}`, Os), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_DBLCLICK}`, pl), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_MENU}`, Rs), emitter.off(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_CLICK}`, Zs), emitter.off(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_DBLCLICK}`, Bl), emitter.off(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_MENU}`, Gi), emitter.off(`${G.value}_${SYMBOL_VXE_RADIO_CHANGE}`, ci), emitter.off(`${G.value}_${SYMBOL_VXE_CHECKBOX_CHANGE}`, ji), emitter.off(`${G.value}_${SYMBOL_VXE_CHECKBOX_ALL}`, Ks), emitter.off(`${G.value}_${SYMBOL_VXE_SCROLL}`, ou), emitter.off(`${G.value}_${SYMBOL_VXE_ZOOM}`, xs), emitter.off(`${G.value}_${SYMBOL_VXE_CUSTOM}`, ic), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_AREA_COPY}`, _s), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_AREA_CUT}`, Fu), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_AREA_PASTE}`, gc), emitter.off(`${G.value}_${SYMBOL_REFRESH}`, Fl), emitter.off(`${G.value}_${SYMBOL_BACK}`, bs), emitter.off(`${G.value}_${SYMBOL_FLOW_APPROVAL_CALLBACK}`, Lu);
|
|
19020
19020
|
}), {
|
|
19021
19021
|
classes: l,
|
|
19022
19022
|
defaultValues: b,
|
|
@@ -19917,12 +19917,12 @@ const DICT_TEXT = "_dictText", DICT_TEXT_REG = /_dictText/, SPLIT_SIGN = "\u2665
|
|
|
19917
19917
|
const Hr = ({ url: wa, params: qr, columns: pa, selectModal: Kn = "multiple", requestMethod: za = "get", showCheckItem: Xr = !1, checkItemParams: Va = {} }) => {
|
|
19918
19918
|
y.value = Xr, y.value && ue.value == "multiple" && (sr.value = []), Xr && (Be.width = 1366), yr(), b.url = wa, b.params = { ...b.params, ...qr }, jr(), ze.currentPage = 1, ze.pageSize = 10;
|
|
19919
19919
|
let ya = [...pa];
|
|
19920
|
-
ya.unshift({ type: "seq", title: o("i18n_title_seq", "\u5E8F\u53F7"), align: "center", width: 50 }), ue.value = Kn || ue.value, ue.value === "single" ? ya.unshift({ type: "radio", align: "center", width: 45 }) : ue.value === "multiple" && ya.unshift({ type: "checkbox", align: "center", width: 45 }), ya.forEach((
|
|
19921
|
-
|
|
19922
|
-
}), $n.value = ya, be.value = za || be.value, re.value ? er.value = re.value : Ir({ action: "init" }), y.value && ue.value == "multiple" && p[be.value]({ url: b.url, params: Va }).then((
|
|
19920
|
+
ya.unshift({ type: "seq", title: o("i18n_title_seq", "\u5E8F\u53F7"), align: "center", width: 50 }), ue.value = Kn || ue.value, ue.value === "single" ? ya.unshift({ type: "radio", align: "center", width: 45 }) : ue.value === "multiple" && ya.unshift({ type: "checkbox", align: "center", width: 45 }), ya.forEach((li) => {
|
|
19921
|
+
li.fieldLabelI18nKey && li.fieldLabelI18nKey.length && (li.title = o(li.fieldLabelI18nKey, li.title));
|
|
19922
|
+
}), $n.value = ya, be.value = za || be.value, re.value ? er.value = re.value : Ir({ action: "init" }), y.value && ue.value == "multiple" && p[be.value]({ url: b.url, params: Va }).then((li) => {
|
|
19923
19923
|
var ca;
|
|
19924
|
-
if (
|
|
19925
|
-
let Lr = ((ca =
|
|
19924
|
+
if (li.success) {
|
|
19925
|
+
let Lr = ((ca = li == null ? void 0 : li.result) == null ? void 0 : ca.records) || (Array.isArray(li == null ? void 0 : li.result) ? li == null ? void 0 : li.result : []);
|
|
19926
19926
|
sr.value = Lr || [];
|
|
19927
19927
|
}
|
|
19928
19928
|
}), se.value = !0;
|
|
@@ -19930,13 +19930,13 @@ const DICT_TEXT = "_dictText", DICT_TEXT_REG = /_dictText/, SPLIT_SIGN = "\u2665
|
|
|
19930
19930
|
b.loading = !0;
|
|
19931
19931
|
let qr = b.params;
|
|
19932
19932
|
Hn.value.isTree && (b.params.pageSize = 99), p[be.value]({ url: b.url, params: qr }).then((pa) => {
|
|
19933
|
-
var za, Xr, Va, ya,
|
|
19933
|
+
var za, Xr, Va, ya, li, ca, Lr;
|
|
19934
19934
|
if (!pa.success)
|
|
19935
19935
|
return message$1.error(pa.message);
|
|
19936
19936
|
if ((ae == null ? void 0 : ae.value) && typeof ae.value == "function")
|
|
19937
19937
|
return ae == null ? void 0 : ae.value(pa, er, ze, b, l);
|
|
19938
19938
|
let Kn = ((za = pa == null ? void 0 : pa.result) == null ? void 0 : za.records) || (Array.isArray(pa == null ? void 0 : pa.result) ? pa == null ? void 0 : pa.result : []);
|
|
19939
|
-
Hn.value.isTree && !((Xr = pa == null ? void 0 : pa.result) != null && Xr.records) && (Kn = pa.result), Kn != null && Kn.length ? (er.value = Kn, ze.total = pa.result.total, wa && wa.action === "init" && (ue.value === "single" ? ((Va = l.value) == null || Va.clearRadioReserve(), (ya = c.value) == null || ya.clearRadioReserve()) : ((
|
|
19939
|
+
Hn.value.isTree && !((Xr = pa == null ? void 0 : pa.result) != null && Xr.records) && (Kn = pa.result), Kn != null && Kn.length ? (er.value = Kn, ze.total = pa.result.total, wa && wa.action === "init" && (ue.value === "single" ? ((Va = l.value) == null || Va.clearRadioReserve(), (ya = c.value) == null || ya.clearRadioReserve()) : ((li = l.value) == null || li.clearCheckboxReserve(), (ca = c.value) == null || ca.clearCheckboxReserve())), y.value && ue.value == "multiple" && ((Lr = l.value) == null || Lr.setCheckboxRow(sr.value, !0))) : (er.value = [], ze.total = 0, ze.currentPage = 1);
|
|
19940
19940
|
}).finally(() => {
|
|
19941
19941
|
b.loading = !1;
|
|
19942
19942
|
});
|
|
@@ -20535,7 +20535,7 @@ var tinymce$2 = { exports: {} };
|
|
|
20535
20535
|
}
|
|
20536
20536
|
}
|
|
20537
20537
|
Kn.singletonNone = new Kn(!1);
|
|
20538
|
-
const za = Array.prototype.slice, Xr = Array.prototype.indexOf, Va = Array.prototype.push, ya = (d, g) => Xr.call(d, g),
|
|
20538
|
+
const za = Array.prototype.slice, Xr = Array.prototype.indexOf, Va = Array.prototype.push, ya = (d, g) => Xr.call(d, g), li = (d, g) => {
|
|
20539
20539
|
const w = ya(d, g);
|
|
20540
20540
|
return w === -1 ? Kn.none() : Kn.some(w);
|
|
20541
20541
|
}, ca = (d, g) => ya(d, g) > -1, Lr = (d, g) => {
|
|
@@ -21165,8 +21165,8 @@ var tinymce$2 = { exports: {} };
|
|
|
21165
21165
|
return Q;
|
|
21166
21166
|
}, ea = (d) => {
|
|
21167
21167
|
const g = (w) => Dr(w, ($) => !Jr(d, $));
|
|
21168
|
-
return ha(d).map(
|
|
21169
|
-
}, Ga = (d) => Kn.from(d.dom.previousSibling).map(Nr.fromDom), ei = (d) => Kn.from(d.dom.nextSibling).map(Nr.fromDom), Oi = (d) => Os(vp(d, Ga)), Ci = (d) => vp(d, ei),
|
|
21168
|
+
return ha(d).map(ui).map(g).getOr([]);
|
|
21169
|
+
}, Ga = (d) => Kn.from(d.dom.previousSibling).map(Nr.fromDom), ei = (d) => Kn.from(d.dom.nextSibling).map(Nr.fromDom), Oi = (d) => Os(vp(d, Ga)), Ci = (d) => vp(d, ei), ui = (d) => Yr(d.dom.childNodes, Nr.fromDom), $i = (d, g) => {
|
|
21170
21170
|
const w = d.dom.childNodes;
|
|
21171
21171
|
return Kn.from(w[g]).map(Nr.fromDom);
|
|
21172
21172
|
}, Li = (d) => $i(d, 0), bi = (d) => $i(d, d.dom.childNodes.length - 1), ps = (d) => d.dom.childNodes.length, Gs = (d) => d.dom.hasChildNodes(), Ds = (d) => {
|
|
@@ -21289,18 +21289,18 @@ var tinymce$2 = { exports: {} };
|
|
|
21289
21289
|
nu(d, w);
|
|
21290
21290
|
});
|
|
21291
21291
|
}, dc = (d) => {
|
|
21292
|
-
d.dom.textContent = "", gr(
|
|
21292
|
+
d.dom.textContent = "", gr(ui(d), (g) => {
|
|
21293
21293
|
Au(g);
|
|
21294
21294
|
});
|
|
21295
21295
|
}, Au = (d) => {
|
|
21296
21296
|
const g = d.dom;
|
|
21297
21297
|
g.parentNode !== null && g.parentNode.removeChild(g);
|
|
21298
21298
|
}, Kd = (d) => {
|
|
21299
|
-
const g =
|
|
21299
|
+
const g = ui(d);
|
|
21300
21300
|
g.length > 0 && as(d, g), Au(d);
|
|
21301
21301
|
}, bp = (d, g) => {
|
|
21302
21302
|
const $ = (g || document).createElement("div");
|
|
21303
|
-
return $.innerHTML = d,
|
|
21303
|
+
return $.innerHTML = d, ui(Nr.fromDom($));
|
|
21304
21304
|
}, dA = (d) => Yr(d, Nr.fromDom), zm = (d) => d.dom.innerHTML, El = (d, g) => {
|
|
21305
21305
|
const $ = ra(d).dom, Q = Nr.fromDom($.createDocumentFragment()), X = bp(g, $);
|
|
21306
21306
|
Ku(Q, X), dc(d), nu(d, Q);
|
|
@@ -21362,9 +21362,9 @@ var tinymce$2 = { exports: {} };
|
|
|
21362
21362
|
const Q = g.document.documentElement, X = Q.clientWidth, ge = Q.clientHeight;
|
|
21363
21363
|
return yp($.left, $.top, X, ge);
|
|
21364
21364
|
}, (Q) => yp(Math.max(Q.pageLeft, $.left), Math.max(Q.pageTop, $.top), Q.width, Q.height));
|
|
21365
|
-
}, F1 = (d, g) => Dr(
|
|
21365
|
+
}, F1 = (d, g) => Dr(ui(d), g), im = (d, g) => {
|
|
21366
21366
|
let w = [];
|
|
21367
|
-
return gr(
|
|
21367
|
+
return gr(ui(d), ($) => {
|
|
21368
21368
|
g($) && (w = w.concat([$])), w = w.concat(im($, g));
|
|
21369
21369
|
}), w;
|
|
21370
21370
|
}, qd = (d, g) => Rr(g, d), D1 = (d, g, w) => gi(d, g, w).isSome();
|
|
@@ -21765,7 +21765,7 @@ var tinymce$2 = { exports: {} };
|
|
|
21765
21765
|
}, zB = (d, g, w) => {
|
|
21766
21766
|
const $ = (X) => Jr(X, Nr.fromDom(g)), Q = va(Nr.fromDom(w), $);
|
|
21767
21767
|
Bl(Q, Q.length - 2).filter(Ou).fold(() => $y(d, g), (X) => $y(d, X.dom));
|
|
21768
|
-
}, Ly = (d) => d.hasAttribute(IA), A0 = (d, g) => bs(d.getTransparentElements(), g), V1 = (d, g) => Qi(g) && A0(d, g.nodeName), iv = (d, g) => V1(d, g) && Ly(g), Iy = (d, g) => V1(d, g) && !Ly(g), jm = (d, g) => g.type === 1 && A0(d, g.name) && be(g.attr(IA)), My = (d, g) => g.type === 1 && A0(d, g.name) && Pn(g.attr(IA)), Wl = Zi().browser, Ch = (d) => ja(d, Ou), sv = (d) => Wl.isFirefox() && Vi(d) === "table" ? Ch(
|
|
21768
|
+
}, Ly = (d) => d.hasAttribute(IA), A0 = (d, g) => bs(d.getTransparentElements(), g), V1 = (d, g) => Qi(g) && A0(d, g.nodeName), iv = (d, g) => V1(d, g) && Ly(g), Iy = (d, g) => V1(d, g) && !Ly(g), jm = (d, g) => g.type === 1 && A0(d, g.name) && be(g.attr(IA)), My = (d, g) => g.type === 1 && A0(d, g.name) && Pn(g.attr(IA)), Wl = Zi().browser, Ch = (d) => ja(d, Ou), sv = (d) => Wl.isFirefox() && Vi(d) === "table" ? Ch(ui(d)).filter((g) => Vi(g) === "caption").bind((g) => Ch(Ci(g)).map((w) => {
|
|
21769
21769
|
const $ = w.dom.offsetTop, Q = g.dom.offsetTop, X = g.dom.offsetHeight;
|
|
21770
21770
|
return $ <= Q ? -X : 0;
|
|
21771
21771
|
})).getOr(0) : 0, Q1 = (d, g) => d.children && ca(d.children, g), hc = (d, g, w) => {
|
|
@@ -22702,7 +22702,7 @@ var tinymce$2 = { exports: {} };
|
|
|
22702
22702
|
return _i.removeChild(Fa), _i;
|
|
22703
22703
|
}, Rc = (Oa, Fa) => us(Oa, (_i) => {
|
|
22704
22704
|
const pi = Nr.fromDom(_i);
|
|
22705
|
-
return Fa && gr(
|
|
22705
|
+
return Fa && gr(ui(pi), (ws) => {
|
|
22706
22706
|
vu(ws) && ws.dom.length === 0 ? Au(ws) : tu(pi, ws);
|
|
22707
22707
|
}), Au(pi), pi.dom;
|
|
22708
22708
|
}), ll = (Oa) => us(Oa, (Fa) => {
|
|
@@ -23306,7 +23306,7 @@ var tinymce$2 = { exports: {} };
|
|
|
23306
23306
|
}, Jy = (d, g) => {
|
|
23307
23307
|
const w = l3(d, g);
|
|
23308
23308
|
Yl(d, w);
|
|
23309
|
-
const $ =
|
|
23309
|
+
const $ = ui(d);
|
|
23310
23310
|
return Ku(w, $), Au(d), w;
|
|
23311
23311
|
}, If = (d, g, w = qr) => {
|
|
23312
23312
|
const $ = new Ql(d, g), Q = (X) => {
|
|
@@ -24413,7 +24413,7 @@ Required: ` + g.join(", "));
|
|
|
24413
24413
|
const w = SC(d.data.substr(0, g.offset())), $ = SC(d.data.substr(g.offset()));
|
|
24414
24414
|
return (w.text + $.text).length > 0 ? (I2(d), Ra(d, g.offset() - w.count)) : g;
|
|
24415
24415
|
}, bO = (d, g) => {
|
|
24416
|
-
const w = g.container(), $ =
|
|
24416
|
+
const w = g.container(), $ = li(ji(w.childNodes), d).map((Q) => Q < g.offset() ? Ra(w, g.offset() - 1) : g).getOr(g);
|
|
24417
24417
|
return pg(d), $;
|
|
24418
24418
|
}, P2 = (d, g) => _C(d) && g.container() === d ? M2(d, g) : wC(d, g), BC = (d, g) => g.container() === d.parentNode ? bO(d, g) : wC(d, g), q3 = (d, g) => Ra.isTextPosition(g) ? P2(d, g) : BC(d, g), pg = (d) => {
|
|
24419
24419
|
P0(d) && lu(d) && (Ll(d) ? d.removeAttribute("data-mce-caret") : EC(d)), _C(d) && (I2(d), d.data.length === 0 && EC(d));
|
|
@@ -25093,7 +25093,7 @@ Required: ` + g.join(", "));
|
|
|
25093
25093
|
switch (p5(d, Ur, "span", Vi(Ur))) {
|
|
25094
25094
|
case "invalid-child": {
|
|
25095
25095
|
zn();
|
|
25096
|
-
const Mr =
|
|
25096
|
+
const Mr = ui(Ur);
|
|
25097
25097
|
jn(Mr), zn();
|
|
25098
25098
|
break;
|
|
25099
25099
|
}
|
|
@@ -25739,7 +25739,7 @@ Required: ` + g.join(", "));
|
|
|
25739
25739
|
}, Rn = (d) => Vi(d) === "textarea", Wn = (d, g) => d.dispatch("ScrollIntoView", g).isDefaultPrevented(), or = (d, g) => {
|
|
25740
25740
|
d.dispatch("AfterScrollIntoView", g);
|
|
25741
25741
|
}, pr = (d, g) => {
|
|
25742
|
-
const w =
|
|
25742
|
+
const w = ui(d);
|
|
25743
25743
|
if (w.length === 0 || Rn(d))
|
|
25744
25744
|
return {
|
|
25745
25745
|
element: d,
|
|
@@ -25763,7 +25763,7 @@ Required: ` + g.join(", "));
|
|
|
25763
25763
|
offset: tv($).length
|
|
25764
25764
|
} : {
|
|
25765
25765
|
element: $,
|
|
25766
|
-
offset:
|
|
25766
|
+
offset: ui($).length
|
|
25767
25767
|
};
|
|
25768
25768
|
}
|
|
25769
25769
|
}, wr = (d, g) => {
|
|
@@ -25821,7 +25821,7 @@ Required: ` + g.join(", "));
|
|
|
25821
25821
|
const g = nl(d).dom;
|
|
25822
25822
|
return d.dom === g.activeElement;
|
|
25823
25823
|
}, Tu = (d = L5()) => Kn.from(d.dom.activeElement).map(Nr.fromDom), wf = (d) => Tu(nl(d)).filter((g) => d.dom.contains(g.dom)), yd = (d, g) => {
|
|
25824
|
-
const w = vu(g) ? tv(g).length :
|
|
25824
|
+
const w = vu(g) ? tv(g).length : ui(g).length + 1;
|
|
25825
25825
|
return d > w ? w : d < 0 ? 0 : d;
|
|
25826
25826
|
}, Rf = (d) => Jf.range(d.start, yd(d.soffset, d.start), d.finish, yd(d.foffset, d.finish)), Jh = (d, g) => !Cp(g.dom) && (la(d, g) || Jr(d, g)), Iv = (d) => (g) => Jh(d, g.start) && Jh(d, g.finish), nf = (d) => d.inline || os.browser.isFirefox(), Lg = (d) => Jf.range(Nr.fromDom(d.startContainer), d.startOffset, Nr.fromDom(d.endContainer), d.endOffset), Up = (d) => {
|
|
25827
25827
|
const g = d.getSelection();
|
|
@@ -25986,12 +25986,12 @@ Required: ` + g.join(", "));
|
|
|
25986
25986
|
})), Xb = (d, g) => Yr(g, (w) => {
|
|
25987
25987
|
const $ = d.dispatch("GetSelectionRange", { range: w });
|
|
25988
25988
|
return $.range !== w ? $.range : w;
|
|
25989
|
-
}), rx = (d) => Vi(d) === "img" ? 1 : Ja(d).fold(() =>
|
|
25989
|
+
}), rx = (d) => Vi(d) === "img" ? 1 : Ja(d).fold(() => ui(d).length, (g) => g.length), kF = (d) => Ja(d).filter((g) => g.trim().length !== 0 || g.indexOf(ud) > -1).isSome(), gN = (d) => lA(d) && Mc(d, "contenteditable") === "false", ax = [
|
|
25990
25990
|
"img",
|
|
25991
25991
|
"br"
|
|
25992
25992
|
], Q5 = (d) => kF(d) || ca(ax, Vi(d)) || gN(d), $F = (d) => $a(d, Q5), NF = (d) => vN(d, Q5), vN = (d, g) => {
|
|
25993
25993
|
const w = ($) => {
|
|
25994
|
-
const Q =
|
|
25994
|
+
const Q = ui($);
|
|
25995
25995
|
for (let X = Q.length - 1; X >= 0; X--) {
|
|
25996
25996
|
const ge = Q[X];
|
|
25997
25997
|
if (g(ge))
|
|
@@ -26596,7 +26596,7 @@ Required: ` + g.join(", "));
|
|
|
26596
26596
|
const X = oy(w).getOr(w), ge = Nr.fromDom((Q = d.dom.getParent(X.dom, d.dom.isBlock)) !== null && Q !== void 0 ? Q : w.dom);
|
|
26597
26597
|
if (ge.dom === d.getBody() ? ow(d, $) : md(ge) && (Un(ge), $ && d.selection.setCursorLocation(ge.dom, 0)), !Jr(w, ge)) {
|
|
26598
26598
|
const Pe = Kc(ha(ge), w) ? [] : ea(ge);
|
|
26599
|
-
gr(Pe.concat(
|
|
26599
|
+
gr(Pe.concat(ui(w)), (Sn) => {
|
|
26600
26600
|
!Jr(Sn, ge) && !la(Sn, ge) && md(Sn) && Au(Sn);
|
|
26601
26601
|
});
|
|
26602
26602
|
}
|
|
@@ -27392,7 +27392,7 @@ Required: ` + g.join(", "));
|
|
|
27392
27392
|
Au(ge), Ku(Nr.fromDom(Q), [
|
|
27393
27393
|
Nr.fromTag("br", Pe),
|
|
27394
27394
|
Nr.fromTag("br", Pe),
|
|
27395
|
-
...
|
|
27395
|
+
...ui(ge)
|
|
27396
27396
|
]);
|
|
27397
27397
|
};
|
|
27398
27398
|
if (!g.collapsed) {
|
|
@@ -31715,7 +31715,7 @@ Options:${ge}${w.join(ge)}` : "";
|
|
|
31715
31715
|
const $ = _4(d, Ra.fromRangeStart(w)), Q = $.bind((X) => $s(g, d, X.position).bind((ge) => _4(d, ge).map((Pe) => $M(d, g, Pe))));
|
|
31716
31716
|
return Nc($, Q, xM).filter((X) => TM(X) && FM(d, X) && DM(X) && kM(X));
|
|
31717
31717
|
}, LM = (d, g, w) => w.collapsed ? NM(d, g, w) : Kn.none(), IM = (d) => {
|
|
31718
|
-
const g =
|
|
31718
|
+
const g = ui(d);
|
|
31719
31719
|
return Bs(g, sh).fold(sr(g), (w) => g.slice(0, w));
|
|
31720
31720
|
}, T$ = (d) => {
|
|
31721
31721
|
const g = IM(d);
|
|
@@ -32508,7 +32508,7 @@ Options:${ge}${w.join(ge)}` : "";
|
|
|
32508
32508
|
]), B1 = {
|
|
32509
32509
|
...DB,
|
|
32510
32510
|
none: (d) => DB.none(d)
|
|
32511
|
-
}, x8 = (d, g) => oF(d, g, pa), oF = (d, g, w) => ai(
|
|
32511
|
+
}, x8 = (d, g) => oF(d, g, pa), oF = (d, g, w) => ai(ui(d), ($) => ir($, g) ? w($) ? [$] : [] : oF($, g, w)), DS = (d, g, w = qr) => {
|
|
32512
32512
|
if (w(g))
|
|
32513
32513
|
return Kn.none();
|
|
32514
32514
|
if (ca(d, Vi(g)))
|
|
@@ -37502,7 +37502,7 @@ const tinymce$1 = tinymce$2.exports;
|
|
|
37502
37502
|
return !1;
|
|
37503
37503
|
}
|
|
37504
37504
|
return !0;
|
|
37505
|
-
},
|
|
37505
|
+
}, li = (W) => {
|
|
37506
37506
|
const ce = Ne.call(W, 0);
|
|
37507
37507
|
return ce.reverse(), ce;
|
|
37508
37508
|
}, ca = (W, ce) => {
|
|
@@ -38077,7 +38077,7 @@ const tinymce$1 = tinymce$2.exports;
|
|
|
38077
38077
|
isFirefox: An(Ga),
|
|
38078
38078
|
isSafari: An(ei)
|
|
38079
38079
|
};
|
|
38080
|
-
},
|
|
38080
|
+
}, ui = {
|
|
38081
38081
|
unknown: Oi,
|
|
38082
38082
|
nu: Ci,
|
|
38083
38083
|
edge: be(ha),
|
|
@@ -38115,7 +38115,7 @@ const tinymce$1 = tinymce$2.exports;
|
|
|
38115
38115
|
freebsd: be(dl),
|
|
38116
38116
|
chromeos: be(Cl)
|
|
38117
38117
|
}, ks = { detect: (W, ce, xe) => {
|
|
38118
|
-
const An = Ca.browsers(), Rn = Ca.oses(), Wn = ce.bind((wr) => Br(An, wr)).orThunk(() => ta(An, W)).fold(
|
|
38118
|
+
const An = Ca.browsers(), Rn = Ca.oses(), Wn = ce.bind((wr) => Br(An, wr)).orThunk(() => ta(An, W)).fold(ui.unknown, ui.nu), or = Jr(Rn, W).fold(fs.unknown, fs.nu), pr = nm(or, Wn, W, xe);
|
|
38119
38119
|
return {
|
|
38120
38120
|
browser: Wn,
|
|
38121
38121
|
os: or,
|
|
@@ -38260,7 +38260,7 @@ const tinymce$1 = tinymce$2.exports;
|
|
|
38260
38260
|
if (ce < 0 || ce >= W.length - 1)
|
|
38261
38261
|
return In.none();
|
|
38262
38262
|
const xe = W[ce].fold(() => {
|
|
38263
|
-
const Rn =
|
|
38263
|
+
const Rn = li(W.slice(0, ce));
|
|
38264
38264
|
return xr(Rn, (Wn, or) => Wn.map((pr) => ({
|
|
38265
38265
|
value: pr,
|
|
38266
38266
|
delta: or + 1
|
|
@@ -41740,7 +41740,7 @@ Required: ` + ce.join(", "));
|
|
|
41740
41740
|
$n.apply(I, S[H]);
|
|
41741
41741
|
}
|
|
41742
41742
|
return I;
|
|
41743
|
-
}, ya = (S, I) => Va(yr(S, I)),
|
|
41743
|
+
}, ya = (S, I) => Va(yr(S, I)), li = (S, I) => {
|
|
41744
41744
|
for (let H = 0, Y = S.length; H < Y; ++H)
|
|
41745
41745
|
if (I(S[H], H) !== !0)
|
|
41746
41746
|
return !1;
|
|
@@ -42221,7 +42221,7 @@ Required: ` + ce.join(", "));
|
|
|
42221
42221
|
const He = yr(Ie, (Bn) => JA(Bn, Bn, { tag: "required", process: {} }, I));
|
|
42222
42222
|
return ea(He).extract(H, Y);
|
|
42223
42223
|
});
|
|
42224
|
-
}, toString: () => "setOf(" + I.toString() + ")" }), Ci = be(Ga, ea),
|
|
42224
|
+
}, toString: () => "setOf(" + I.toString() + ")" }), Ci = be(Ga, ea), ui = Be(ga), $i = (S, I) => ra((H) => {
|
|
42225
42225
|
const Y = typeof H;
|
|
42226
42226
|
return S(H) ? ih(H) : Df(`Expected type: ${I} but got: ${Y}`);
|
|
42227
42227
|
}), Li = $i(ae, "number"), bi = $i(c, "string"), ps = $i(x, "boolean"), Gs = $i(G, "function"), Ds = (S) => {
|
|
@@ -42261,7 +42261,7 @@ Required: ` + ce.join(", "));
|
|
|
42261
42261
|
Input object: ` + Jr(S.input), Al = (S, I) => Cl(S, ai(I, ea)), xu = (S, I) => ((H, Y) => {
|
|
42262
42262
|
const Ae = ed(Y);
|
|
42263
42263
|
return { extract: (we, Ie) => Ae().extract(we, Ie), toString: () => Ae().toString() };
|
|
42264
|
-
})(0, I), zs = JA, Qn = (S, I) => ({ tag: "custom", newKey: S, instantiator: I }), qn = (S) => _l((I) => Hr(S, I) ? tl.value(I) : tl.error(`Unsupported value: "${I}", choose one of "${S.join(", ")}".`)), Zn = (S) => zs(S, S, { tag: "required", process: {} },
|
|
42264
|
+
})(0, I), zs = JA, Qn = (S, I) => ({ tag: "custom", newKey: S, instantiator: I }), qn = (S) => _l((I) => Hr(S, I) ? tl.value(I) : tl.error(`Unsupported value: "${I}", choose one of "${S.join(", ")}".`)), Zn = (S) => zs(S, S, { tag: "required", process: {} }, ui()), Pr = (S, I) => zs(S, S, { tag: "required", process: {} }, I), Kr = (S) => Pr(S, Li), $a = (S) => Pr(S, bi), gi = (S, I) => zs(S, S, { tag: "required", process: {} }, qn(I)), Ti = (S) => Pr(S, Gs), Si = (S, I) => zs(S, S, { tag: "required", process: {} }, ea(I)), Ii = (S, I) => zs(S, S, { tag: "required", process: {} }, Ci(I)), Ji = (S, I) => zs(S, S, { tag: "required", process: {} }, Ga(I)), xi = (S) => zs(S, S, { tag: "option", process: {} }, ui()), ml = (S, I) => zs(S, S, { tag: "option", process: {} }, I), Zu = (S) => ml(S, Li), Ml = (S) => ml(S, bi), bc = (S, I) => ml(S, qn(I)), nc = (S) => ml(S, Gs), Xl = (S, I) => ml(S, Ga(I)), gl = (S, I) => ml(S, ea(I)), da = (S, I) => zs(S, S, Br(I), ui()), fu = (S, I, H) => zs(S, S, Br(I), H), Od = (S, I) => fu(S, I, Li), hu = (S, I) => fu(S, I, bi), tu = (S, I, H) => fu(S, I, qn(H)), Yl = (S, I) => fu(S, I, ps), Gl = (S, I) => fu(S, I, Gs), nu = (S, I, H) => fu(S, I, Ga(H)), Wf = (S, I, H) => fu(S, I, ea(H)), as = (S) => {
|
|
42265
42265
|
let I = S;
|
|
42266
42266
|
return { get: () => I, set: (H) => {
|
|
42267
42267
|
I = H;
|
|
@@ -42296,7 +42296,7 @@ Input object: ` + Jr(S.input), Al = (S, I) => Cl(S, ai(I, ea)), xu = (S, I) => (
|
|
|
42296
42296
|
if (I.length !== Gn.length)
|
|
42297
42297
|
throw new Error("Wrong number of arguments to match. Expected: " + I.join(",") + `
|
|
42298
42298
|
Actual: ` + Gn.join(","));
|
|
42299
|
-
if (!
|
|
42299
|
+
if (!li(I, (Yn) => Hr(Gn, Yn)))
|
|
42300
42300
|
throw new Error("Not all branches were specified when using match. Specified: " + Gn.join(", ") + `
|
|
42301
42301
|
Required: ` + I.join(", "));
|
|
42302
42302
|
return Vn[Ie].apply(null, Bn);
|
|
@@ -42459,7 +42459,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(yr(we, (Ie) => Ie.nam
|
|
|
42459
42459
|
};
|
|
42460
42460
|
})(Ae), Ie = H.length > 1 ? qr(I[Y], (He) => Ir(H, (Bn) => Bn.name === He)).join(" > ") : H[0].name;
|
|
42461
42461
|
return dc(Y, ((He, Bn) => ({ handler: He, purpose: Bn }))(we, Ie));
|
|
42462
|
-
})), {}), vh = "alloy.base.behaviour", qm = ea([zs("dom", "dom", { tag: "required", process: {} }, ea([Zn("tag"), da("styles", {}), da("classes", []), da("attributes", {}), xi("value"), xi("innerHtml")])), Zn("components"), Zn("uid"), da("events", {}), da("apis", {}), zs("eventOrder", "eventOrder", (d0 = { [lf()]: ["disabling", vh, "toggling", "typeaheadevents"], [Cp()]: [vh, "focusing", "keying"], [Xg()]: [vh, "disabling", "toggling", "representing"], [am()]: [vh, "representing", "streaming", "invalidating"], [AA()]: [vh, "representing", "item-events", "tooltipping"], [Dh()]: ["focusing", vh, "item-type-events"], [$A()]: ["focusing", vh, "item-type-events"], [kh()]: ["item-type-events", "tooltipping"], [sf()]: ["receiving", "reflecting", "tooltipping"] }, Rr(Be(d0))),
|
|
42462
|
+
})), {}), vh = "alloy.base.behaviour", qm = ea([zs("dom", "dom", { tag: "required", process: {} }, ea([Zn("tag"), da("styles", {}), da("classes", []), da("attributes", {}), xi("value"), xi("innerHtml")])), Zn("components"), Zn("uid"), da("events", {}), da("apis", {}), zs("eventOrder", "eventOrder", (d0 = { [lf()]: ["disabling", vh, "toggling", "typeaheadevents"], [Cp()]: [vh, "focusing", "keying"], [Xg()]: [vh, "disabling", "toggling", "representing"], [am()]: [vh, "representing", "streaming", "invalidating"], [AA()]: [vh, "representing", "item-events", "tooltipping"], [Dh()]: ["focusing", vh, "item-type-events"], [$A()]: ["focusing", vh, "item-type-events"], [kh()]: ["item-type-events", "tooltipping"], [sf()]: ["receiving", "reflecting", "tooltipping"] }, Rr(Be(d0))), ui()), xi("domModification")]), ov = (S) => S.events, fm = (S, I) => {
|
|
42463
42463
|
const H = gu(S, I);
|
|
42464
42464
|
return H === void 0 || H === "" ? [] : H.split(" ");
|
|
42465
42465
|
}, rv = (S) => S.dom.classList !== void 0, Dy = (S) => fm(S, "class"), Hs = (S, I) => {
|
|
@@ -42486,7 +42486,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(yr(we, (Ie) => Ie.nam
|
|
|
42486
42486
|
Fr(I, (H) => {
|
|
42487
42487
|
Sl(S, H);
|
|
42488
42488
|
});
|
|
42489
|
-
}, c0 = (S, I) =>
|
|
42489
|
+
}, c0 = (S, I) => li(I, (H) => rc(S, H)), bf = (S) => S.dom.value, vA = (S, I) => {
|
|
42490
42490
|
if (I === void 0)
|
|
42491
42491
|
throw new Error("Value.set was undefined");
|
|
42492
42492
|
S.dom.value = I;
|
|
@@ -42727,7 +42727,7 @@ Complete spec:
|
|
|
42727
42727
|
Receiver: ` + pA(I.element), Dn, we.data);
|
|
42728
42728
|
Bn.onReceive(I, Vn);
|
|
42729
42729
|
});
|
|
42730
|
-
})]) }), Nf = [Pr("channels", nl(tl.value, va([sv("onReceive"), da("schema",
|
|
42730
|
+
})]) }), Nf = [Pr("channels", nl(tl.value, va([sv("onReceive"), da("schema", ui())])))];
|
|
42731
42731
|
const wp = (S, I, H) => xy((Y, Ae) => {
|
|
42732
42732
|
H(Y, S, I);
|
|
42733
42733
|
}), z1 = (S) => ({ key: S, value: void 0 }), qS = (S, I, H, Y, Ae, we, Ie) => {
|
|
@@ -43333,7 +43333,7 @@ Spec: ` + JSON.stringify(Vn, null, 2));
|
|
|
43333
43333
|
return H.validated.preprocess.getOr(On)(Ie);
|
|
43334
43334
|
}
|
|
43335
43335
|
return we(I);
|
|
43336
|
-
}), S3 = yA.single, rO = yA.multiple, cb = Be(oO), db = Ku([{ required: ["data"] }, { external: ["data"] }, { optional: ["data"] }, { group: ["data"] }]), sC = da("factory", { sketch: On }), lC = da("schema", []), uC = Zn("name"), fb = zs("pname", "pname", ir((S) => "<alloy." + zi(S.name) + ">"),
|
|
43336
|
+
}), S3 = yA.single, rO = yA.multiple, cb = Be(oO), db = Ku([{ required: ["data"] }, { external: ["data"] }, { optional: ["data"] }, { group: ["data"] }]), sC = da("factory", { sketch: On }), lC = da("schema", []), uC = Zn("name"), fb = zs("pname", "pname", ir((S) => "<alloy." + zi(S.name) + ">"), ui()), aO = Qn("schema", () => [xi("preprocess")]), cC = da("defaults", Be({})), dC = da("overrides", Be({})), hb = ea([sC, lC, uC, fb, cC, dC]), Wi = ea([sC, lC, uC, cC, dC]), v2 = ea([sC, lC, uC, fb, cC, dC]), w3 = ea([sC, aO, uC, Zn("unit"), fb, cC, dC]), B3 = (S) => S.fold(Ne.some, Ne.none, Ne.some, Ne.some), O3 = (S) => {
|
|
43337
43337
|
const I = (H) => H.name;
|
|
43338
43338
|
return S.fold(I, I, I, I);
|
|
43339
43339
|
}, fC = (S, I) => (H) => {
|
|
@@ -43403,7 +43403,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
|
|
|
43403
43403
|
}, $3 = (S, I) => {
|
|
43404
43404
|
const H = T3(I);
|
|
43405
43405
|
return Au(yr(H, (Y) => ({ key: Y, value: S + "-" + Y })));
|
|
43406
|
-
}, C2 = (S) => zs("partUids", "partUids", Rr((I) => $3(I.uid, S)),
|
|
43406
|
+
}, C2 = (S) => zs("partUids", "partUids", Rr((I) => $3(I.uid, S)), ui());
|
|
43407
43407
|
var _2 = Object.freeze({ __proto__: null, generate: b2, generateOne: Ab, schemas: pb, names: T3, substitutes: AC, components: pC, defaultUids: $3, defaultUidsSchema: C2, getAllParts: D3, getAllPartNames: k3, getPart: zu, getPartOrDie: bm, getParts: F3, getPartsOrDie: y2 });
|
|
43408
43408
|
const E2 = (S, I, H, Y, Ae) => {
|
|
43409
43409
|
const we = ((Ie, He) => (Ie.length > 0 ? [Si("parts", Ie)] : []).concat([Zn("uid"), da("dom", {}), da("components", []), Z_("originalSpec"), da("debug.sketcher", {})]).concat(He))(Y, Ae);
|
|
@@ -43506,7 +43506,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
|
|
|
43506
43506
|
}, Il = (S) => (I) => {
|
|
43507
43507
|
const H = I.raw;
|
|
43508
43508
|
return Hr(S, H.which);
|
|
43509
|
-
}, VA = (S) => (I) =>
|
|
43509
|
+
}, VA = (S) => (I) => li(S, (H) => H(I)), bv = (S) => S.raw.shiftKey === !0, bC = (S) => S.raw.ctrlKey === !0, Cm = Tn(bv), Zl = (S, I) => ({ matches: S, classification: I }), F2 = (S, I, H) => {
|
|
43510
43510
|
I.exists((Y) => H.exists((Ae) => Ia(Ae, Y))) || gs(S, N1(), { prevFocus: I, newFocus: H });
|
|
43511
43511
|
}, D2 = () => {
|
|
43512
43512
|
const S = (I) => Lh(I.element);
|
|
@@ -44278,7 +44278,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
|
|
|
44278
44278
|
return { value: S, dom: we.dom, components: we.components, items: H };
|
|
44279
44279
|
}
|
|
44280
44280
|
return { value: S, dom: j0(I, Y, Ae.menuType), components: xE, items: H };
|
|
44281
|
-
}, td = $a("type"), KC = $a("name"), O5 = $a("label"), $g = $a("text"), RO = $a("title"), UO = $a("icon"), Dv = $a("value"), VO = Ti("fetch"), vF = Ti("getSubmenuItems"), wm = Ti("onAction"), QO = Ti("onItemAction"), kv = Gl("onSetup", () => se), Bm = Ml("name"), fp = Ml("text"), Rh = Ml("icon"), Hb = Ml("tooltip"), qC = Ml("label"), x5 = Ml("shortcut"), HO = nc("select"), XC = Yl("active", !1), DE = Yl("borderless", !1), Jf = Yl("enabled", !0), $v = Yl("primary", !1), T5 = (S) => da("columns", S), jC = da("meta", {}), zb = Gl("onAction", se), Rp = (S) => hu("type", S), kE = (S) => zs("name", "name", ir(() => zi(`${S}-name`)), bi), F5 = ea([td, fp]), D5 = ea([Rp("autocompleteitem"), XC, Jf, jC, Dv, fp, Rh]), Nv = [Jf, Hb, Rh, fp, kv], zO = ea([td, wm].concat(Nv)), $E = (S) => fs("toolbarbutton", zO, S), k5 = [XC].concat(Nv), GO = ea(k5.concat([td, wm])), $5 = (S) => fs("ToggleButton", GO, S), WO = [Gl("predicate", Ln), tu("scope", "node", ["node", "editor"]), tu("position", "selection", ["node", "selection", "line"])], bF = Nv.concat([Rp("contextformbutton"), $v, wm, Qn("original", On)]), JC = k5.concat([Rp("contextformbutton"), $v, wm, Qn("original", On)]), N5 = Nv.concat([Rp("contextformbutton")]), e_ = k5.concat([Rp("contextformtogglebutton")]), t_ = Al("type", { contextformbutton: bF, contextformtogglebutton: JC }), Gb = ea([Rp("contextform"), Gl("initValue", Be("")), qC, Ji("commands", t_), ml("launch", Al("type", { contextformbutton: N5, contextformtogglebutton: e_ }))].concat(WO)), Om = ea([Rp("contexttoolbar"), $a("items")].concat(WO)), yF = [td, $a("src"), Ml("alt"), nu("classes", [], bi)], YO = ea(yF), ZO = [td, $g, Bm, nu("classes", ["tox-collection__item-label"], bi)], L5 = ea(ZO), NE = ha(() => Cl("type", { cardimage: YO, cardtext: L5, cardcontainer: KO })), KO = ea([td, hu("direction", "horizontal"), hu("align", "left"), hu("valign", "middle"), Ji("items", NE)]), W = [Jf, fp, x5, zs("value", "value", ir(() => zi("menuitem-value")),
|
|
44281
|
+
}, td = $a("type"), KC = $a("name"), O5 = $a("label"), $g = $a("text"), RO = $a("title"), UO = $a("icon"), Dv = $a("value"), VO = Ti("fetch"), vF = Ti("getSubmenuItems"), wm = Ti("onAction"), QO = Ti("onItemAction"), kv = Gl("onSetup", () => se), Bm = Ml("name"), fp = Ml("text"), Rh = Ml("icon"), Hb = Ml("tooltip"), qC = Ml("label"), x5 = Ml("shortcut"), HO = nc("select"), XC = Yl("active", !1), DE = Yl("borderless", !1), Jf = Yl("enabled", !0), $v = Yl("primary", !1), T5 = (S) => da("columns", S), jC = da("meta", {}), zb = Gl("onAction", se), Rp = (S) => hu("type", S), kE = (S) => zs("name", "name", ir(() => zi(`${S}-name`)), bi), F5 = ea([td, fp]), D5 = ea([Rp("autocompleteitem"), XC, Jf, jC, Dv, fp, Rh]), Nv = [Jf, Hb, Rh, fp, kv], zO = ea([td, wm].concat(Nv)), $E = (S) => fs("toolbarbutton", zO, S), k5 = [XC].concat(Nv), GO = ea(k5.concat([td, wm])), $5 = (S) => fs("ToggleButton", GO, S), WO = [Gl("predicate", Ln), tu("scope", "node", ["node", "editor"]), tu("position", "selection", ["node", "selection", "line"])], bF = Nv.concat([Rp("contextformbutton"), $v, wm, Qn("original", On)]), JC = k5.concat([Rp("contextformbutton"), $v, wm, Qn("original", On)]), N5 = Nv.concat([Rp("contextformbutton")]), e_ = k5.concat([Rp("contextformtogglebutton")]), t_ = Al("type", { contextformbutton: bF, contextformtogglebutton: JC }), Gb = ea([Rp("contextform"), Gl("initValue", Be("")), qC, Ji("commands", t_), ml("launch", Al("type", { contextformbutton: N5, contextformtogglebutton: e_ }))].concat(WO)), Om = ea([Rp("contexttoolbar"), $a("items")].concat(WO)), yF = [td, $a("src"), Ml("alt"), nu("classes", [], bi)], YO = ea(yF), ZO = [td, $g, Bm, nu("classes", ["tox-collection__item-label"], bi)], L5 = ea(ZO), NE = ha(() => Cl("type", { cardimage: YO, cardtext: L5, cardcontainer: KO })), KO = ea([td, hu("direction", "horizontal"), hu("align", "left"), hu("valign", "middle"), Ji("items", NE)]), W = [Jf, fp, x5, zs("value", "value", ir(() => zi("menuitem-value")), ui()), jC], ce = ea([td, qC, Ji("items", NE), kv, zb].concat(W)), xe = ea([td, XC, Rh].concat(W)), An = [td, $a("fancytype"), zb], Rn = [da("initData", {})].concat(An), Wn = [nc("select"), Wf("initData", {}, [Yl("allowCustomColors", !0), hu("storageKey", "default"), Xl("colors", ui())])].concat(An), or = Al("fancytype", { inserttable: Rn, colorswatch: Wn }), pr = ea([td, kv, zb, Rh].concat(W)), wr = ea([td, vF, kv, Rh].concat(W)), Zr = ea([td, Rh, XC, kv, wm].concat(W)), ma = (S, I, H) => {
|
|
44282
44282
|
const Y = If(S.element, "." + H);
|
|
44283
44283
|
if (Y.length > 0) {
|
|
44284
44284
|
const Ae = Xr(Y, (we) => {
|
|
@@ -44674,7 +44674,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
|
|
|
44674
44674
|
}, Y, Ae, dp.CLOSE_ON_EXECUTE, S.select.getOr(Ln), I.shared.providers), markers: GA(Ae), movement: G5(Y, Ae) };
|
|
44675
44675
|
return { type: "widget", data: { value: zi("widget-id") }, dom: { tag: "div", classes: ["tox-fancymenuitem"] }, autofocus: !0, components: [_F.widget(Lp.sketch(we))] };
|
|
44676
44676
|
} }, hx = (S) => ({ type: "separator", dom: { tag: "div", classes: [GC, "tox-collection__group-heading"] }, components: S.text.map(Xc).toArray() });
|
|
44677
|
-
var Ax = Object.freeze({ __proto__: null, getCoupled: (S, I, H, Y) => H.getOrCreate(S, I, Y), getExistingCoupled: (S, I, H, Y) => H.getExisting(S, I, Y) }), CN = [Pr("others", nl(tl.value,
|
|
44677
|
+
var Ax = Object.freeze({ __proto__: null, getCoupled: (S, I, H, Y) => H.getOrCreate(S, I, Y), getExistingCoupled: (S, I, H, Y) => H.getExisting(S, I, Y) }), CN = [Pr("others", nl(tl.value, ui()))], _N = Object.freeze({ __proto__: null, init: () => {
|
|
44678
44678
|
const S = {}, I = (Y, Ae) => {
|
|
44679
44679
|
if (ja(Y.others).length === 0)
|
|
44680
44680
|
throw new Error("Cannot find any known coupled components");
|
|
@@ -46474,7 +46474,7 @@ The conflicting element is` + (Wu(Bn.element) ? " " : " not ") + "already in the
|
|
|
46474
46474
|
const I = ((H) => yr(If(Qa(H), "h1,h2,h3,h4,h5,h6,a:not([href])"), (Ae) => Ae.dom))(S);
|
|
46475
46475
|
return qr(((H) => yr(qr(H, kD), OL))(I).concat(((H) => yr(qr(H, TD), xL))(I)), $D);
|
|
46476
46476
|
}, mT = "tinymce-url-history", LD = (S) => c(S) && /^https?/.test(S), MD = (S) => p(S) && Bl(S, (I) => {
|
|
46477
|
-
return !(y(H = I) && H.length <= 5 &&
|
|
46477
|
+
return !(y(H = I) && H.length <= 5 && li(H, LD));
|
|
46478
46478
|
var H;
|
|
46479
46479
|
}).isNone(), PD = () => {
|
|
46480
46480
|
const S = r1.getItem(mT);
|
|
@@ -46595,7 +46595,7 @@ The conflicting element is` + (Wu(Bn.element) ? " " : " not ") + "already in the
|
|
|
46595
46595
|
}
|
|
46596
46596
|
}, PL = (S, I, H) => {
|
|
46597
46597
|
const Y = S.element;
|
|
46598
|
-
return ou(Yu(Y, "position"), "fixed") ? ((Ae, we, Ie) => ((He, Bn, Dn) => _T(He, Bn, Dn).filter(({ box: Vn }) => ((Gn, Yn, Xn) =>
|
|
46598
|
+
return ou(Yu(Y, "position"), "fixed") ? ((Ae, we, Ie) => ((He, Bn, Dn) => _T(He, Bn, Dn).filter(({ box: Vn }) => ((Gn, Yn, Xn) => li(Gn, (rr) => {
|
|
46599
46599
|
switch (rr) {
|
|
46600
46600
|
case "bottom":
|
|
46601
46601
|
return lS(Yn, Xn.bounds);
|
|
@@ -47354,7 +47354,7 @@ The conflicting element is` + (Wu(Bn.element) ? " " : " not ") + "already in the
|
|
|
47354
47354
|
return Vn.toLowerCase() === He || Ae(Vn).toLowerCase() === Ae(He).toLowerCase();
|
|
47355
47355
|
}).orThunk(() => Fu(((Dn) => Dn.indexOf("-apple-system") === 0 && (() => {
|
|
47356
47356
|
const Vn = Tk(Dn.toLowerCase());
|
|
47357
|
-
return
|
|
47357
|
+
return li(gI, (Gn) => Vn.indexOf(Gn.toLowerCase()) > -1);
|
|
47358
47358
|
})())(He), { title: I, format: He })), font: we };
|
|
47359
47359
|
}, Y = WT(S, "font_family_formats", S_.SemiColon);
|
|
47360
47360
|
return { tooltip: "Fonts", text: Ne.some(I), icon: Ne.none(), isSelectedFor: (Ae) => (we) => we.exists((Ie) => Ie.format === Ae), getCurrentValue: () => {
|
|
@@ -48768,7 +48768,7 @@ The conflicting element is` + (Wu(Bn.element) ? " " : " not ") + "already in the
|
|
|
48768
48768
|
const Y = cu(f_.sketch((we) => ({ dom: { tag: "div", classes: ["tox-form"].concat(S.classes) }, components: yr(S.items, (Ie) => Nw(we, Ie, I, H)) })));
|
|
48769
48769
|
return { dom: { tag: "div", classes: ["tox-dialog__body"] }, components: [{ dom: { tag: "div", classes: ["tox-dialog__body-content"] }, components: [Y.asSpec()] }], behaviours: Ai([hs.config({ mode: "acyclic", useTabstopAt: Tn(qE) }), (Ae = Y, zl.config({ find: Ae.getOpt })), jN(Y, { postprocess: (we) => ES(we).fold((Ie) => ({}), On) })]) };
|
|
48770
48770
|
var Ae;
|
|
48771
|
-
}, fP = qh({ name: "TabButton", configFields: [da("uid", void 0), Zn("value"), zs("dom", "dom", Rr(() => ({ attributes: { role: "tab", id: zi("aria"), "aria-selected": "false" } })),
|
|
48771
|
+
}, fP = qh({ name: "TabButton", configFields: [da("uid", void 0), Zn("value"), zs("dom", "dom", Rr(() => ({ attributes: { role: "tab", id: zi("aria"), "aria-selected": "false" } })), ui()), xi("action"), da("domModification", {}), kd("tabButtonBehaviours", [es, hs, Mi]), Zn("view")], factory: (S, I) => ({ uid: S.uid, dom: S.dom, components: S.components, events: xb(S.action), behaviours: vd(S.tabButtonBehaviours, [es.config({}), hs.config({ mode: "execution", useSpace: !0, useEnter: !0 }), Mi.config({ store: { mode: "memory", initialValue: S.value } })]), domModification: S.domModification }) }), U$ = Be([Zn("tabs"), Zn("dom"), da("clickToDismiss", !1), kd("tabbarBehaviours", [Jl, hs]), jm(["tabClass", "selectedClass"])]), V$ = T0({ factory: fP, name: "tabs", unit: "tab", overrides: (S) => {
|
|
48772
48772
|
const I = (Y, Ae) => {
|
|
48773
48773
|
Jl.dehighlight(Y, Ae), gs(Y, Oy(), { tabbar: Y, button: Ae });
|
|
48774
48774
|
}, H = (Y, Ae) => {
|
|
@@ -49993,7 +49993,7 @@ tinymce.IconManager.add("default", {
|
|
|
49993
49993
|
},
|
|
49994
49994
|
default: !1
|
|
49995
49995
|
});
|
|
49996
|
-
}, ya = Xr("image_dimensions"),
|
|
49996
|
+
}, ya = Xr("image_dimensions"), li = Xr("image_advtab"), ca = Xr("image_uploadtab"), Lr = Xr("image_prepend_url"), Yr = Xr("image_class_list"), gr = Xr("image_description"), Cr = Xr("image_title"), xr = Xr("image_caption"), Dr = Xr("image_list"), ua = Xr("a11y_advanced_options"), Na = Xr("automatic_uploads"), fi = (tr) => za(tr.options.get("images_upload_url")), ja = (tr) => ae(tr.options.get("images_upload_handler")), Bs = (tr, fr) => Math.max(parseInt(tr, 10), parseInt(fr, 10)), Xi = (tr) => new Promise((fr) => {
|
|
49997
49997
|
const Wr = document.createElement("img"), Ea = (Qs) => {
|
|
49998
49998
|
Wr.onload = Wr.onerror = null, Wr.parentNode && Wr.parentNode.removeChild(Wr), fr(Qs);
|
|
49999
49999
|
};
|
|
@@ -50335,7 +50335,7 @@ tinymce.IconManager.add("default", {
|
|
|
50335
50335
|
rs
|
|
50336
50336
|
])));
|
|
50337
50337
|
});
|
|
50338
|
-
}), Ea = ld.sanitize(Yr(tr)), vi =
|
|
50338
|
+
}), Ea = ld.sanitize(Yr(tr)), vi = li(tr), Qs = ca(tr), ku = fi(tr), Ec = ja(tr), ri = Is(tr), Kc = gr(tr), Sd = Cr(tr), Nc = ya(tr), rh = xr(tr), Rd = ua(tr), Sr = Na(tr), zr = Be.some(Lr(tr)).filter((ba) => y(ba) && ba.length > 0);
|
|
50339
50339
|
return Wr.then((ba) => ({
|
|
50340
50340
|
image: ri,
|
|
50341
50341
|
imageList: ba,
|
|
@@ -50862,9 +50862,9 @@ tinymce.IconManager.add("default", {
|
|
|
50862
50862
|
});
|
|
50863
50863
|
}
|
|
50864
50864
|
}), oa;
|
|
50865
|
-
},
|
|
50866
|
-
sanitize: (mr) =>
|
|
50867
|
-
sanitizeWith:
|
|
50865
|
+
}, li = (mr = Xr) => (Gr) => ue.from(Gr).map((oa) => ya(oa, mr)), Yr = {
|
|
50866
|
+
sanitize: (mr) => li(Xr)(mr),
|
|
50867
|
+
sanitizeWith: li,
|
|
50868
50868
|
createUi: (mr, Gr) => (oa) => ({
|
|
50869
50869
|
name: mr,
|
|
50870
50870
|
type: "listbox",
|
|
@@ -51743,7 +51743,7 @@ tinymce.IconManager.add("default", {
|
|
|
51743
51743
|
delete Cr.rest;
|
|
51744
51744
|
}
|
|
51745
51745
|
var ua = new Xr();
|
|
51746
|
-
return Va(ua, ua.head, gr), za(gr, ua, Cr, ua.head, 0),
|
|
51746
|
+
return Va(ua, ua.head, gr), za(gr, ua, Cr, ua.head, 0), li(ua);
|
|
51747
51747
|
},
|
|
51748
51748
|
hooks: {
|
|
51749
51749
|
all: {},
|
|
@@ -51873,7 +51873,7 @@ tinymce.IconManager.add("default", {
|
|
|
51873
51873
|
Dr = Dr.next;
|
|
51874
51874
|
Cr.next = Dr, Dr.prev = Cr, gr.length -= ua;
|
|
51875
51875
|
}
|
|
51876
|
-
function
|
|
51876
|
+
function li(gr) {
|
|
51877
51877
|
for (var Cr = [], xr = gr.head.next; xr !== gr.tail; )
|
|
51878
51878
|
Cr.push(xr.value), xr = xr.next;
|
|
51879
51879
|
return Cr;
|
|
@@ -51951,10 +51951,10 @@ tinymce.IconManager.add("default", {
|
|
|
51951
51951
|
for (var Xr = 0; Xr < za.length && !(qr >= pa.length); Xr++) {
|
|
51952
51952
|
var Va = za[Xr];
|
|
51953
51953
|
if (typeof Va == "string" || Va.content && typeof Va.content == "string") {
|
|
51954
|
-
var ya = pa[qr],
|
|
51954
|
+
var ya = pa[qr], li = Fr.tokenStack[ya], ca = typeof Va == "string" ? Va : Va.content, Lr = yr(wa, ya), Yr = ca.indexOf(Lr);
|
|
51955
51955
|
if (Yr > -1) {
|
|
51956
51956
|
++qr;
|
|
51957
|
-
var gr = ca.substring(0, Yr), Cr = new jr.Token(wa, jr.tokenize(
|
|
51957
|
+
var gr = ca.substring(0, Yr), Cr = new jr.Token(wa, jr.tokenize(li, Fr.grammar), "language-" + wa, li), xr = ca.substring(Yr + Lr.length), Dr = [];
|
|
51958
51958
|
gr && Dr.push.apply(Dr, Kn([gr])), Dr.push(Cr), xr && Dr.push.apply(Dr, Kn([xr])), typeof Va == "string" ? za.splice.apply(za, [
|
|
51959
51959
|
Xr,
|
|
51960
51960
|
1
|
|
@@ -52122,7 +52122,7 @@ tinymce.IconManager.add("default", {
|
|
|
52122
52122
|
function pa(Ks) {
|
|
52123
52123
|
return "\\b(?:" + Ks.trim().replace(/ /g, "|") + ")\\b";
|
|
52124
52124
|
}
|
|
52125
|
-
var Kn = pa(qr.typeDeclaration), za = RegExp(pa(qr.type + " " + qr.typeDeclaration + " " + qr.contextual + " " + qr.other)), Xr = pa(qr.typeDeclaration + " " + qr.contextual + " " + qr.other), Va = pa(qr.type + " " + qr.typeDeclaration + " " + qr.other), ya = wa(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source, 2),
|
|
52125
|
+
var Kn = pa(qr.typeDeclaration), za = RegExp(pa(qr.type + " " + qr.typeDeclaration + " " + qr.contextual + " " + qr.other)), Xr = pa(qr.typeDeclaration + " " + qr.contextual + " " + qr.other), Va = pa(qr.type + " " + qr.typeDeclaration + " " + qr.other), ya = wa(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source, 2), li = wa(/\((?:[^()]|<<self>>)*\)/.source, 2), ca = /@?\b[A-Za-z_]\w*\b/.source, Lr = yr(/<<0>>(?:\s*<<1>>)?/.source, [
|
|
52126
52126
|
ca,
|
|
52127
52127
|
ya
|
|
52128
52128
|
]), Yr = yr(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source, [
|
|
@@ -52133,7 +52133,7 @@ tinymce.IconManager.add("default", {
|
|
|
52133
52133
|
gr
|
|
52134
52134
|
]), xr = yr(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source, [
|
|
52135
52135
|
ya,
|
|
52136
|
-
|
|
52136
|
+
li,
|
|
52137
52137
|
gr
|
|
52138
52138
|
]), Dr = yr(/\(<<0>>+(?:,<<0>>+)+\)/.source, [xr]), ua = yr(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source, [
|
|
52139
52139
|
Dr,
|
|
@@ -52227,7 +52227,7 @@ tinymce.IconManager.add("default", {
|
|
|
52227
52227
|
inside: { punctuation: /\./ }
|
|
52228
52228
|
},
|
|
52229
52229
|
"type-expression": {
|
|
52230
|
-
pattern: Fr(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source, [
|
|
52230
|
+
pattern: Fr(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source, [li]),
|
|
52231
52231
|
lookbehind: !0,
|
|
52232
52232
|
alias: "class-name",
|
|
52233
52233
|
inside: Na
|
|
@@ -52267,7 +52267,7 @@ tinymce.IconManager.add("default", {
|
|
|
52267
52267
|
ca,
|
|
52268
52268
|
ua,
|
|
52269
52269
|
za.source,
|
|
52270
|
-
|
|
52270
|
+
li,
|
|
52271
52271
|
/\bnew\s*\(\s*\)/.source
|
|
52272
52272
|
]),
|
|
52273
52273
|
lookbehind: !0,
|
|
@@ -52275,7 +52275,7 @@ tinymce.IconManager.add("default", {
|
|
|
52275
52275
|
"record-arguments": {
|
|
52276
52276
|
pattern: Fr(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source, [
|
|
52277
52277
|
Lr,
|
|
52278
|
-
|
|
52278
|
+
li
|
|
52279
52279
|
]),
|
|
52280
52280
|
lookbehind: !0,
|
|
52281
52281
|
greedy: !0,
|
|
@@ -53649,7 +53649,7 @@ tinymce.IconManager.add("default", {
|
|
|
53649
53649
|
return lr;
|
|
53650
53650
|
}, ya = (Fn, Un, lr) => (za(Fn, (vr, na) => {
|
|
53651
53651
|
lr = Un(lr, vr, na);
|
|
53652
|
-
}), lr),
|
|
53652
|
+
}), lr), li = (Fn, Un, lr) => (Kn(Fn, (vr, na) => {
|
|
53653
53653
|
lr = Un(lr, vr, na);
|
|
53654
53654
|
}), lr), ca = (Fn, Un, lr) => {
|
|
53655
53655
|
for (let vr = 0, na = Fn.length; vr < na; vr++) {
|
|
@@ -53798,7 +53798,7 @@ tinymce.IconManager.add("default", {
|
|
|
53798
53798
|
return lr === null ? void 0 : lr;
|
|
53799
53799
|
}, mu = (Fn, Un) => En.from(Wu(Fn, Un)), Du = (Fn, Un) => {
|
|
53800
53800
|
Fn.dom.removeAttribute(Un);
|
|
53801
|
-
}, Hh = (Fn) =>
|
|
53801
|
+
}, Hh = (Fn) => li(Fn.dom.attributes, (Un, lr) => (Un[lr.name] = lr.value, Un), {}), Ns = (Fn, Un, lr = ue) => Fn.exists((vr) => lr(vr, Un)), gh = (Fn) => {
|
|
53802
53802
|
const Un = [], lr = (vr) => {
|
|
53803
53803
|
Un.push(vr);
|
|
53804
53804
|
};
|
|
@@ -54147,7 +54147,7 @@ tinymce.IconManager.add("default", {
|
|
|
54147
54147
|
}
|
|
54148
54148
|
};
|
|
54149
54149
|
})(jc, "text"), Oi = (Fn) => ei.get(Fn), Ci = (Fn, Un) => ei.set(Fn, Un);
|
|
54150
|
-
var
|
|
54150
|
+
var ui = [
|
|
54151
54151
|
"body",
|
|
54152
54152
|
"p",
|
|
54153
54153
|
"div",
|
|
@@ -54180,7 +54180,7 @@ tinymce.IconManager.add("default", {
|
|
|
54180
54180
|
"pre",
|
|
54181
54181
|
"address"
|
|
54182
54182
|
], $i = () => {
|
|
54183
|
-
const Fn = (Ms) => Gi.fromDom(Ms.dom.cloneNode(!1)), Un = (Ms) => bs(Ms).dom, lr = (Ms) => ru(Ms) ? _s(Ms) === "body" ? !0 : Fr(
|
|
54183
|
+
const Fn = (Ms) => Gi.fromDom(Ms.dom.cloneNode(!1)), Un = (Ms) => bs(Ms).dom, lr = (Ms) => ru(Ms) ? _s(Ms) === "body" ? !0 : Fr(ui, _s(Ms)) : !1, vr = (Ms) => ru(Ms) ? Fr([
|
|
54184
54184
|
"br",
|
|
54185
54185
|
"img",
|
|
54186
54186
|
"hr",
|
|
@@ -55167,7 +55167,7 @@ Required: ` + Un.join(", "));
|
|
|
55167
55167
|
const Un = nu(En.none()), lr = nu([]);
|
|
55168
55168
|
let vr = En.none();
|
|
55169
55169
|
const na = Qu("caption"), Ma = (Hs) => vr.forall((Sl) => !Sl[Hs]), hi = () => gi(cl(Fn), Iu(Fn)), Ni = () => gi(Cc(Fn), Iu(Fn)), Ls = () => hi().bind((Hs) => su(gu(vi(Hs), Ni().bind(vi), (Sl, rc) => xs(Sl, rc) ? na(Hs) ? En.some(Wh(Hs)) : En.some(xy(Si(Fn), Sl, Hs)) : En.none()))), Ms = (Hs) => vi(Hs.element).map((rc) => {
|
|
55170
|
-
const Xu = Hu.fromTable(rc), bh = F1(Xu, Hs).getOr([]), c0 =
|
|
55170
|
+
const Xu = Hu.fromTable(rc), bh = F1(Xu, Hs).getOr([]), c0 = li(bh, (bf, vA) => (vA.isLocked && (bf.onAny = !0, vA.column === 0 ? bf.onFirst = !0 : vA.column + vA.colspan >= Xu.grid.columns && (bf.onLast = !0)), bf), {
|
|
55171
55171
|
onAny: !1,
|
|
55172
55172
|
onFirst: !1,
|
|
55173
55173
|
onLast: !1
|
|
@@ -55818,7 +55818,7 @@ Required: ` + Un.join(", "));
|
|
|
55818
55818
|
fromText: za,
|
|
55819
55819
|
fromDom: Xr,
|
|
55820
55820
|
fromPoint: (Qn, qn, Zn) => ue.from(Qn.dom.elementFromPoint(qn, Zn)).map(Xr)
|
|
55821
|
-
},
|
|
55821
|
+
}, li = (Qn, qn) => {
|
|
55822
55822
|
const Zn = Qn.dom;
|
|
55823
55823
|
if (Zn.nodeType !== qr)
|
|
55824
55824
|
return !1;
|
|
@@ -55837,7 +55837,7 @@ Required: ` + Un.join(", "));
|
|
|
55837
55837
|
}, ca = (Qn, qn) => Qn.dom === qn.dom, Lr = (Qn, qn) => {
|
|
55838
55838
|
const Zn = Qn.dom, Pr = qn.dom;
|
|
55839
55839
|
return Zn === Pr ? !1 : Zn.contains(Pr);
|
|
55840
|
-
}, Yr =
|
|
55840
|
+
}, Yr = li;
|
|
55841
55841
|
var gr = (Qn, qn, Zn, Pr, Kr) => Qn(Zn, Pr) ? ue.some(Zn) : D(Kr) && Kr(Zn) ? ue.none() : qn(Zn, Pr, Kr);
|
|
55842
55842
|
typeof window < "u" || Function("return this;")();
|
|
55843
55843
|
const Cr = (Qn) => Qn.dom.nodeName.toLowerCase(), xr = (Qn) => Qn.dom.nodeType, ua = ((Qn) => (qn) => xr(qn) === Qn)(qr), Na = (Qn) => (qn) => ua(qn) && Cr(qn) === Qn, fi = (Qn) => ue.from(Qn.dom.parentNode).map(ya.fromDom), ja = (Qn) => ue.from(Qn.dom.parentElement).map(ya.fromDom), Bs = (Qn) => ue.from(Qn.dom.nextSibling).map(ya.fromDom), Xi = (Qn) => Pn(Qn.dom.childNodes, ya.fromDom), ai = (Qn, qn) => {
|
|
@@ -56530,7 +56530,7 @@ Required: ` + Un.join(", "));
|
|
|
56530
56530
|
const qn = Qn % 26, Zn = Math.floor(Qn / 26), Pr = ea(Zn), Kr = String.fromCharCode("A".charCodeAt(0) + qn);
|
|
56531
56531
|
return Pr + Kr;
|
|
56532
56532
|
}
|
|
56533
|
-
}, Ga = (Qn) => /^[A-Z]+$/.test(Qn), ei = (Qn) => /^[a-z]+$/.test(Qn), Oi = (Qn) => /^[0-9]+$/.test(Qn), Ci = (Qn) => Oi(Qn) ? 2 : Ga(Qn) ? 0 : ei(Qn) ? 1 : si(Qn) ? 3 : 4,
|
|
56533
|
+
}, Ga = (Qn) => /^[A-Z]+$/.test(Qn), ei = (Qn) => /^[a-z]+$/.test(Qn), Oi = (Qn) => /^[0-9]+$/.test(Qn), Ci = (Qn) => Oi(Qn) ? 2 : Ga(Qn) ? 0 : ei(Qn) ? 1 : si(Qn) ? 3 : 4, ui = (Qn) => {
|
|
56534
56534
|
switch (Ci(Qn)) {
|
|
56535
56535
|
case 2:
|
|
56536
56536
|
return ue.some({
|
|
@@ -56592,7 +56592,7 @@ Required: ` + Un.join(", "));
|
|
|
56592
56592
|
],
|
|
56593
56593
|
onSubmit: (Zn) => {
|
|
56594
56594
|
const Pr = Zn.getData();
|
|
56595
|
-
|
|
56595
|
+
ui(Pr.start).each((Kr) => {
|
|
56596
56596
|
Qn.execCommand("mceListUpdate", !1, {
|
|
56597
56597
|
attrs: { start: Kr.start === "1" ? "" : Kr.start },
|
|
56598
56598
|
styles: { "list-style-type": Kr.listStyleType.getOr("") }
|
|
@@ -56926,13 +56926,13 @@ Required: ` + Un.join(", "));
|
|
|
56926
56926
|
onAction: Lr
|
|
56927
56927
|
});
|
|
56928
56928
|
};
|
|
56929
|
-
var
|
|
56929
|
+
var li = (ca = 300) => {
|
|
56930
56930
|
r.add("wordcount", (Lr) => {
|
|
56931
56931
|
const Yr = Fr(Lr);
|
|
56932
56932
|
return qr(Lr, Yr), ya(Lr), Va(Lr, Yr, ca), Yr;
|
|
56933
56933
|
});
|
|
56934
56934
|
};
|
|
56935
|
-
|
|
56935
|
+
li();
|
|
56936
56936
|
})();
|
|
56937
56937
|
(function() {
|
|
56938
56938
|
var r = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
@@ -57262,7 +57262,7 @@ Required: ` + Un.join(", "));
|
|
|
57262
57262
|
for (let ns = 0; ns < La.length; ns++)
|
|
57263
57263
|
Ui = Ui.replace("$" + ns, () => La[ns] ? La[ns] : "");
|
|
57264
57264
|
return Ui.replace(/\?$/, "");
|
|
57265
|
-
},
|
|
57265
|
+
}, li = ($r) => {
|
|
57266
57266
|
const Vr = Xr.filter((Da) => Da.regex.test($r));
|
|
57267
57267
|
return Vr.length > 0 ? nr.extend({}, Vr[0], { url: ya(Vr[0], $r) }) : null;
|
|
57268
57268
|
}, ca = ($r, Vr) => {
|
|
@@ -57286,7 +57286,7 @@ Required: ` + Un.join(", "));
|
|
|
57286
57286
|
if (!La.source && (nr.extend(La, Ir((Da = La.embed) !== null && Da !== void 0 ? Da : "", $r.schema)), !La.source))
|
|
57287
57287
|
return "";
|
|
57288
57288
|
La.altsource || (La.altsource = ""), La.poster || (La.poster = ""), La.source = $r.convertURL(La.source, "source"), La.altsource = $r.convertURL(La.altsource, "source"), La.sourcemime = dr(La.source), La.altsourcemime = dr(La.altsource), La.poster = $r.convertURL(La.poster, "poster");
|
|
57289
|
-
const Ui =
|
|
57289
|
+
const Ui = li(La.source);
|
|
57290
57290
|
if (Ui && (La.source = Ui.url, La.type = Ui.type, La.allowfullscreen = Ui.allowFullscreen, La.width = La.width || String(Ui.w), La.height = La.height || String(Ui.h)), La.embed)
|
|
57291
57291
|
return za(La.embed, La, !0, $r.schema);
|
|
57292
57292
|
{
|
|
@@ -57401,7 +57401,7 @@ Required: ` + Un.join(", "));
|
|
|
57401
57401
|
}, Ks = ($r, Vr) => {
|
|
57402
57402
|
const Da = $r.dom.select("*[data-mce-object]");
|
|
57403
57403
|
$r.insertContent(Vr), ji($r, Da), $r.nodeChanged();
|
|
57404
|
-
}, ou = ($r, Vr) => y(Vr) && Vr === "ephox-embed-iri" && y(
|
|
57404
|
+
}, ou = ($r, Vr) => y(Vr) && Vr === "ephox-embed-iri" && y(li($r)), xs = ($r, Vr) => ((La, Ui) => La.width !== Ui.width || La.height !== Ui.height)($r, Vr) && ou(Vr.source, $r.type), ic = ($r, Vr, Da) => {
|
|
57405
57405
|
var La;
|
|
57406
57406
|
Vr.embed = xs($r, Vr) && Ne(Da) ? xr(Da, {
|
|
57407
57407
|
...Vr,
|
|
@@ -58019,7 +58019,7 @@ Required: ` + Un.join(", "));
|
|
|
58019
58019
|
}));
|
|
58020
58020
|
}, ya = (Cr, xr) => {
|
|
58021
58021
|
Cr.addCommand("mceEmoticons", () => Va(Cr, xr));
|
|
58022
|
-
},
|
|
58022
|
+
}, li = (Cr) => {
|
|
58023
58023
|
Cr.on("PreInit", () => {
|
|
58024
58024
|
Cr.parser.addAttributeFilter("data-emoticon", (xr) => {
|
|
58025
58025
|
P(xr, (Dr) => {
|
|
@@ -58065,7 +58065,7 @@ Required: ` + Un.join(", "));
|
|
|
58065
58065
|
r.add("emoticons", (Cr, xr) => {
|
|
58066
58066
|
er(Cr, xr);
|
|
58067
58067
|
const Dr = Hr(Cr), ua = Ir(Cr), Na = pa(Cr, Dr, ua);
|
|
58068
|
-
ya(Cr, Na), Yr(Cr), ca(Cr, Na),
|
|
58068
|
+
ya(Cr, Na), Yr(Cr), ca(Cr, Na), li(Cr);
|
|
58069
58069
|
});
|
|
58070
58070
|
};
|
|
58071
58071
|
gr();
|
|
@@ -58266,7 +58266,7 @@ Required: ` + Un.join(", "));
|
|
|
58266
58266
|
if (Sr == null)
|
|
58267
58267
|
throw new Error("Node cannot be null or undefined");
|
|
58268
58268
|
return { dom: Sr };
|
|
58269
|
-
},
|
|
58269
|
+
}, li = {
|
|
58270
58270
|
fromHtml: Kn,
|
|
58271
58271
|
fromTag: za,
|
|
58272
58272
|
fromText: Xr,
|
|
@@ -58292,13 +58292,13 @@ Required: ` + Un.join(", "));
|
|
|
58292
58292
|
}
|
|
58293
58293
|
}, Bs = (Sr) => Sr.nodeType !== Yr && Sr.nodeType !== ca && Sr.nodeType !== Lr || Sr.childElementCount === 0, Xi = (Sr, zr) => {
|
|
58294
58294
|
const ba = zr === void 0 ? document : zr.dom;
|
|
58295
|
-
return Bs(ba) ? [] : nr(ba.querySelectorAll(Sr),
|
|
58296
|
-
}, ai = (Sr, zr) => Sr.dom === zr.dom, Ri = (Sr) =>
|
|
58295
|
+
return Bs(ba) ? [] : nr(ba.querySelectorAll(Sr), li.fromDom);
|
|
58296
|
+
}, ai = (Sr, zr) => Sr.dom === zr.dom, Ri = (Sr) => li.fromDom(Sr.dom.ownerDocument), Os = (Sr) => Na(Sr) ? Sr : Ri(Sr), pl = (Sr) => Tn.from(Sr.dom.parentNode).map(li.fromDom), Rs = (Sr, zr) => {
|
|
58297
58297
|
const ba = ae(zr) ? zr : ze;
|
|
58298
58298
|
let Wa = Sr.dom;
|
|
58299
58299
|
const rs = [];
|
|
58300
58300
|
for (; Wa.parentNode !== null && Wa.parentNode !== void 0; ) {
|
|
58301
|
-
const Xs = Wa.parentNode, Cu =
|
|
58301
|
+
const Xs = Wa.parentNode, Cu = li.fromDom(Xs);
|
|
58302
58302
|
if (rs.push(Cu), ba(Cu) === !0)
|
|
58303
58303
|
break;
|
|
58304
58304
|
Wa = Xs;
|
|
@@ -58307,12 +58307,12 @@ Required: ` + Un.join(", "));
|
|
|
58307
58307
|
}, Zs = (Sr) => {
|
|
58308
58308
|
const zr = (ba) => $n(ba, (Wa) => !ai(Sr, Wa));
|
|
58309
58309
|
return pl(Sr).map(Bl).map(zr).getOr([]);
|
|
58310
|
-
}, Bl = (Sr) => nr(Sr.dom.childNodes,
|
|
58310
|
+
}, Bl = (Sr) => nr(Sr.dom.childNodes, li.fromDom), Gi = (Sr) => fi(Sr) && G(Sr.dom.host), ci = ae(Element.prototype.attachShadow) && ae(Node.prototype.getRootNode), ji = Be(ci), Ks = ci ? (Sr) => li.fromDom(Sr.dom.getRootNode()) : Os, ou = (Sr) => {
|
|
58311
58311
|
const zr = Ks(Sr);
|
|
58312
58312
|
return Gi(zr) ? Tn.some(zr) : Tn.none();
|
|
58313
|
-
}, xs = (Sr) =>
|
|
58313
|
+
}, xs = (Sr) => li.fromDom(Sr.dom.host), ic = (Sr) => {
|
|
58314
58314
|
if (ji() && G(Sr.target)) {
|
|
58315
|
-
const zr =
|
|
58315
|
+
const zr = li.fromDom(Sr.target);
|
|
58316
58316
|
if (Dr(zr) && _s(zr) && Sr.composed && Sr.composedPath) {
|
|
58317
58317
|
const ba = Sr.composedPath();
|
|
58318
58318
|
if (ba)
|
|
@@ -58325,12 +58325,12 @@ Required: ` + Un.join(", "));
|
|
|
58325
58325
|
if (zr == null || zr.ownerDocument === null)
|
|
58326
58326
|
return !1;
|
|
58327
58327
|
const ba = zr.ownerDocument;
|
|
58328
|
-
return ou(
|
|
58328
|
+
return ou(li.fromDom(zr)).fold(() => ba.body.contains(zr), be(Fu, xs));
|
|
58329
58329
|
}, gc = (Sr) => {
|
|
58330
58330
|
const zr = Sr.dom.body;
|
|
58331
58331
|
if (zr == null)
|
|
58332
58332
|
throw new Error("Body is not available yet");
|
|
58333
|
-
return
|
|
58333
|
+
return li.fromDom(zr);
|
|
58334
58334
|
}, Wc = (Sr, zr, ba) => {
|
|
58335
58335
|
if (y(ba) || D(ba) || re(ba))
|
|
58336
58336
|
Sr.setAttribute(zr, ba + "");
|
|
@@ -58364,7 +58364,7 @@ Required: ` + Un.join(", "));
|
|
|
58364
58364
|
kill: Xs,
|
|
58365
58365
|
raw: Cu
|
|
58366
58366
|
}), qa = (Sr) => {
|
|
58367
|
-
const zr =
|
|
58367
|
+
const zr = li.fromDom(ic(Sr).getOr(Sr.target)), ba = () => Sr.stopPropagation(), Wa = () => Sr.preventDefault(), rs = ue(Wa, ba);
|
|
58368
58368
|
return Lu(zr, Sr.clientX, Sr.clientY, ba, Wa, rs, Sr);
|
|
58369
58369
|
}, Es = (Sr, zr) => (ba) => {
|
|
58370
58370
|
Sr(ba) && zr(qa(ba));
|
|
@@ -58609,7 +58609,7 @@ Required: ` + Un.join(", "));
|
|
|
58609
58609
|
right: Sr + ba,
|
|
58610
58610
|
bottom: zr + Wa
|
|
58611
58611
|
}), zf = (Sr) => {
|
|
58612
|
-
const zr = Sr === void 0 ? window : Sr, ba = zr.document, Wa = Tf(
|
|
58612
|
+
const zr = Sr === void 0 ? window : Sr, ba = zr.document, Wa = Tf(li.fromDom(ba));
|
|
58613
58613
|
return vf(zr).fold(() => {
|
|
58614
58614
|
const rs = zr.document.documentElement, Xs = rs.clientWidth, Cu = rs.clientHeight;
|
|
58615
58615
|
return qs(Wa.left, Wa.top, Xs, Cu);
|
|
@@ -58628,7 +58628,7 @@ Required: ` + Un.join(", "));
|
|
|
58628
58628
|
default: !1
|
|
58629
58629
|
});
|
|
58630
58630
|
}, Gr = Pd("fullscreen_native"), oa = (Sr) => {
|
|
58631
|
-
const zr =
|
|
58631
|
+
const zr = li.fromDom(Sr.getElement());
|
|
58632
58632
|
return ou(zr).map(xs).getOrThunk(() => gc(Ri(zr)));
|
|
58633
58633
|
}, xa = (Sr) => Sr.fullscreenElement !== void 0 ? Sr.fullscreenElement : Sr.msFullscreenElement !== void 0 ? Sr.msFullscreenElement : Sr.webkitFullscreenElement !== void 0 ? Sr.webkitFullscreenElement : null, si = () => document.fullscreenElement !== void 0 ? "fullscreenchange" : document.msFullscreenElement !== void 0 ? "MSFullscreenChange" : document.webkitFullscreenElement !== void 0 ? "webkitfullscreenchange" : "fullscreenchange", Bi = (Sr) => {
|
|
58634
58634
|
const zr = Sr.dom;
|
|
@@ -58680,7 +58680,7 @@ Required: ` + Un.join(", "));
|
|
|
58680
58680
|
}
|
|
58681
58681
|
};
|
|
58682
58682
|
}), Kc = (Sr, zr) => {
|
|
58683
|
-
const ba = document.body, Wa = document.documentElement, rs = Sr.getContainer(), Xs =
|
|
58683
|
+
const ba = document.body, Wa = document.documentElement, rs = Sr.getContainer(), Xs = li.fromDom(rs), Cu = oa(Sr), Vc = zr.get(), lc = li.fromDom(Sr.getBody()), Hu = Ed.deviceType.isTouch(), Uu = rs.style, wd = Sr.iframeElement, Bu = wd == null ? void 0 : wd.style, Vi = (Sc) => {
|
|
58684
58684
|
Sc(ba, "tox-fullscreen"), Sc(Wa, "tox-fullscreen"), Sc(rs, "tox-fullscreen"), ou(Xs).map((Ad) => xs(Ad).dom).each((Ad) => {
|
|
58685
58685
|
Sc(Ad, "tox-fullscreen"), Sc(Ad, "tox-shadowhost");
|
|
58686
58686
|
});
|
|
@@ -62795,15 +62795,15 @@ const MasterDetail = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_r
|
|
|
62795
62795
|
Hn.value = !0;
|
|
62796
62796
|
}, ya = () => {
|
|
62797
62797
|
re({ id: x._taskId, recordNumber: x._taskId, type: "auditProcessAllAuditUserApply", url: "/a1bpmn/audit/api/runtime/task/list" });
|
|
62798
|
-
},
|
|
62798
|
+
}, li = () => {
|
|
62799
62799
|
window.print();
|
|
62800
62800
|
}, ca = (Lr) => {
|
|
62801
62801
|
dr.value.button = Lr, dr.value.isDesign = !1, dr.value.currentRow = x, dr.value.workFlowType = "bpmn", Ir.value = !0;
|
|
62802
62802
|
};
|
|
62803
62803
|
return onMounted(() => {
|
|
62804
|
-
emitter.on(`${G.value}_${SYMBOL_CACHE_BUTTON}`, ar), emitter.on(`${G.value}_${SYMBOL_UPLOAD}`, Fr), emitter.on(`${G.value}_${SYMBOL_UPLOAD_GRID}`, wa), emitter.on(`${G.value}_${SYMBOL_IMPORT_ROWS}`, pa), emitter.on(`${G.value}_${SYMBOL_FLOW_VIEW}`, Kn), emitter.on(`${G.value}_${SYMBOL_AUDIT_AGREE}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_REFUSE}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_INFORMED}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_TRANSFER}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_BACK}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_TRANSACTION}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_INVALID}`, Ne), emitter.on(`${G.value}_${SYMBOL_AUDIT_REVOCATION}`, nr), emitter.on(`${G.value}_${SYMBOL_AUDIT_REVOCATION_PRE_SIGN}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_FLOW_IMAGE}`, ca), emitter.on(`${G.value}_${SYMBOL_AUDIT_SIGN_NODE}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_PRE_SIGN}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_AFTER_SIGN}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_APPROVAL_COMMENT}`, Xr), emitter.on(`${G.value}_${SYMBOL_AUDIT_PRINT}`,
|
|
62804
|
+
emitter.on(`${G.value}_${SYMBOL_CACHE_BUTTON}`, ar), emitter.on(`${G.value}_${SYMBOL_UPLOAD}`, Fr), emitter.on(`${G.value}_${SYMBOL_UPLOAD_GRID}`, wa), emitter.on(`${G.value}_${SYMBOL_IMPORT_ROWS}`, pa), emitter.on(`${G.value}_${SYMBOL_FLOW_VIEW}`, Kn), emitter.on(`${G.value}_${SYMBOL_AUDIT_AGREE}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_REFUSE}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_INFORMED}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_TRANSFER}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_BACK}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_TRANSACTION}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_INVALID}`, Ne), emitter.on(`${G.value}_${SYMBOL_AUDIT_REVOCATION}`, nr), emitter.on(`${G.value}_${SYMBOL_AUDIT_REVOCATION_PRE_SIGN}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_FLOW_IMAGE}`, ca), emitter.on(`${G.value}_${SYMBOL_AUDIT_SIGN_NODE}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_PRE_SIGN}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_AFTER_SIGN}`, za), emitter.on(`${G.value}_${SYMBOL_AUDIT_APPROVAL_COMMENT}`, Xr), emitter.on(`${G.value}_${SYMBOL_AUDIT_PRINT}`, li), emitter.on(`${G.value}_${SYMBOL_AUDIT_ADD_NODE_HISTORY}`, Va), emitter.on(`${G.value}_${SYMBOL_AUDIT_CHAT}`, ya);
|
|
62805
62805
|
}), onUnmounted(() => {
|
|
62806
|
-
emitter.off(`${G.value}_${SYMBOL_CACHE_BUTTON}`, ar), emitter.off(`${G.value}_${SYMBOL_UPLOAD}`, Fr), emitter.off(`${G.value}_${SYMBOL_UPLOAD_GRID}`, wa), emitter.off(`${G.value}_${SYMBOL_IMPORT_ROWS}`, pa), emitter.off(`${G.value}_${SYMBOL_FLOW_VIEW}`, Kn), emitter.off(`${G.value}_${SYMBOL_AUDIT_AGREE}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_REFUSE}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_INFORMED}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_TRANSFER}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_BACK}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_TRANSACTION}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_INVALID}`, Ne), emitter.off(`${G.value}_${SYMBOL_AUDIT_REVOCATION}`, nr), emitter.off(`${G.value}_${SYMBOL_AUDIT_REVOCATION_PRE_SIGN}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_FLOW_IMAGE}`, ca), emitter.off(`${G.value}_${SYMBOL_AUDIT_SIGN_NODE}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_PRE_SIGN}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_AFTER_SIGN}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_APPROVAL_COMMENT}`, Xr), emitter.off(`${G.value}_${SYMBOL_AUDIT_PRINT}`,
|
|
62806
|
+
emitter.off(`${G.value}_${SYMBOL_CACHE_BUTTON}`, ar), emitter.off(`${G.value}_${SYMBOL_UPLOAD}`, Fr), emitter.off(`${G.value}_${SYMBOL_UPLOAD_GRID}`, wa), emitter.off(`${G.value}_${SYMBOL_IMPORT_ROWS}`, pa), emitter.off(`${G.value}_${SYMBOL_FLOW_VIEW}`, Kn), emitter.off(`${G.value}_${SYMBOL_AUDIT_AGREE}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_REFUSE}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_INFORMED}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_TRANSFER}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_BACK}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_TRANSACTION}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_INVALID}`, Ne), emitter.off(`${G.value}_${SYMBOL_AUDIT_REVOCATION}`, nr), emitter.off(`${G.value}_${SYMBOL_AUDIT_REVOCATION_PRE_SIGN}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_FLOW_IMAGE}`, ca), emitter.off(`${G.value}_${SYMBOL_AUDIT_SIGN_NODE}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_PRE_SIGN}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_AFTER_SIGN}`, za), emitter.off(`${G.value}_${SYMBOL_AUDIT_APPROVAL_COMMENT}`, Xr), emitter.off(`${G.value}_${SYMBOL_AUDIT_PRINT}`, li), emitter.off(`${G.value}_${SYMBOL_AUDIT_ADD_NODE_HISTORY}`, Va), emitter.off(`${G.value}_${SYMBOL_AUDIT_CHAT}`, ya);
|
|
62807
62807
|
}), {
|
|
62808
62808
|
classes: be,
|
|
62809
62809
|
pattern: s,
|
|
@@ -63277,10 +63277,10 @@ const editForm = "", { isEmpty: isEmpty$1 } = qqtUtils, _sfc_main$y = defineComp
|
|
|
63277
63277
|
}).catch((pa) => {
|
|
63278
63278
|
const Kn = pa.errorFields && pa.errorFields.length ? pa.errorFields[0] : [], za = Kn.name && Kn.name.length ? Kn.name[0] : "", Xr = Kn.errors && Kn.errors.length ? Kn.errors[0] : "";
|
|
63279
63279
|
if (za && Xr) {
|
|
63280
|
-
const { fieldLabel: ya } = ar.value.find((ca) => ca.fieldName === za) || { fieldLabel: "" },
|
|
63280
|
+
const { fieldLabel: ya } = ar.value.find((ca) => ca.fieldName === za) || { fieldLabel: "" }, li = [n(s.value, o.value), ya, Xr];
|
|
63281
63281
|
notification.error({
|
|
63282
63282
|
message: n("i18n_alert_JONS_31ac59c1", "\u6821\u9A8C\u9519\u8BEF"),
|
|
63283
|
-
description:
|
|
63283
|
+
description: li.join(" ")
|
|
63284
63284
|
});
|
|
63285
63285
|
}
|
|
63286
63286
|
let Va = {
|
|
@@ -72188,9 +72188,9 @@ const symbolNames = [
|
|
|
72188
72188
|
};
|
|
72189
72189
|
let { tableColumns: sr, groupColumns: Hr } = getColumnsHook(r, n, { srmI18n: p });
|
|
72190
72190
|
provide(LIST_LAYOUT_DATA_TOKEN, { tableData: Ne, loading: ar, updateListData: er, pagerConfig: nr, tableColumns: sr, groupColumns: Hr }), onMounted(() => {
|
|
72191
|
-
emitter.on(R, jr), emitter.on(G, wa), emitter.on(ae, Va), emitter.on(re, pa), emitter.on(be, Yr), emitter.on(ue, qr), emitter.on(O, ya), emitter.on(x,
|
|
72191
|
+
emitter.on(R, jr), emitter.on(G, wa), emitter.on(ae, Va), emitter.on(re, pa), emitter.on(be, Yr), emitter.on(ue, qr), emitter.on(O, ya), emitter.on(x, li), emitter.on(D, Lr), emitter.on(P, ca), emitter.on(se, Kn);
|
|
72192
72192
|
}), onUnmounted(() => {
|
|
72193
|
-
emitter.off(R, jr), emitter.off(G, wa), emitter.off(ae, Va), emitter.off(re, pa), emitter.off(be, Yr), emitter.off(ue, qr), emitter.off(O, ya), emitter.off(x,
|
|
72193
|
+
emitter.off(R, jr), emitter.off(G, wa), emitter.off(ae, Va), emitter.off(re, pa), emitter.off(be, Yr), emitter.off(ue, qr), emitter.off(O, ya), emitter.off(x, li), emitter.off(D, Lr), emitter.off(P, ca), emitter.off(se, Kn);
|
|
72194
72194
|
});
|
|
72195
72195
|
const Ir = (ai) => er(ai, Ln), dr = ref(), jr = (ai) => {
|
|
72196
72196
|
dr.value = ai;
|
|
@@ -72246,7 +72246,7 @@ const symbolNames = [
|
|
|
72246
72246
|
} else
|
|
72247
72247
|
VXETable.modal.message({ content: p("i18n_title_noSetHelpWord", "\u6CA1\u6709\u914D\u7F6E\u5E2E\u52A9\u8BF4\u660E"), status: "error" });
|
|
72248
72248
|
});
|
|
72249
|
-
},
|
|
72249
|
+
}, li = (ai) => {
|
|
72250
72250
|
const Ri = "/account/permission/queryByUrl", Os = {
|
|
72251
72251
|
url: Tn.currentRoute.value.fullPath
|
|
72252
72252
|
};
|
|
@@ -89178,7 +89178,7 @@ const QUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
89178
89178
|
}, dr = (pa) => {
|
|
89179
89179
|
const { elsAccount: Kn, subAccount: za, realname: Xr } = l, Va = [Kn, za, Xr].join("_"), {
|
|
89180
89180
|
fileBelong: ya = null,
|
|
89181
|
-
itemNumber:
|
|
89181
|
+
itemNumber: li = null,
|
|
89182
89182
|
fileType: ca = "",
|
|
89183
89183
|
...Lr
|
|
89184
89184
|
} = pa || {};
|
|
@@ -89193,7 +89193,7 @@ const QUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
89193
89193
|
...Lr
|
|
89194
89194
|
}), Dr.fileList && (Dr.fileList = Yr.map((ja) => ja.originFileObj)), ya === "itemNumber") {
|
|
89195
89195
|
const ja = r.itemNumberKey || "itemNumber", Bs = G.value || "materialName", Xi = R.value || "materialNumber";
|
|
89196
|
-
Dr[ja] =
|
|
89196
|
+
Dr[ja] = li;
|
|
89197
89197
|
const ai = ((fi = En.value) == null ? void 0 : fi.find((Ri) => Ri.value === In.itemNumber)) || {};
|
|
89198
89198
|
if (Dr.materialName = ai[Bs] || "", Dr.materialNumber = ai[Xi] || "", Dr.actionRoutePath = be.value || "", Be.value) {
|
|
89199
89199
|
let Ri = Be.value || "sourceNumber";
|
|
@@ -99069,7 +99069,7 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99069
99069
|
default: withCtx(() => [
|
|
99070
99070
|
createVNode$1(Ir, {
|
|
99071
99071
|
value: Be[ya.fieldName],
|
|
99072
|
-
"onUpdate:value": (
|
|
99072
|
+
"onUpdate:value": (li) => Be[ya.fieldName] = li,
|
|
99073
99073
|
dictCode: ya.dictCode,
|
|
99074
99074
|
options: ya.options,
|
|
99075
99075
|
busAccount: unref(p)
|
|
@@ -99082,25 +99082,25 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99082
99082
|
name: ya.fieldName
|
|
99083
99083
|
}, {
|
|
99084
99084
|
default: withCtx(() => [
|
|
99085
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(ya.options, (
|
|
99086
|
-
key:
|
|
99085
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(ya.options, (li, ca) => (openBlock(), createBlock(jr, {
|
|
99086
|
+
key: li.id + ca,
|
|
99087
99087
|
color: "blue"
|
|
99088
99088
|
}, {
|
|
99089
99089
|
default: withCtx(() => [
|
|
99090
|
-
createTextVNode(toDisplayString(
|
|
99090
|
+
createTextVNode(toDisplayString(li.taskName), 1)
|
|
99091
99091
|
]),
|
|
99092
99092
|
_: 2
|
|
99093
99093
|
}, 1024))), 128))
|
|
99094
99094
|
]),
|
|
99095
99095
|
_: 2
|
|
99096
99096
|
}, 1032, ["label", "name"]),
|
|
99097
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(ya.options, (
|
|
99098
|
-
label:
|
|
99097
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(ya.options, (li, ca) => (openBlock(), createBlock(dr, {
|
|
99098
|
+
label: li.taskName,
|
|
99099
99099
|
key: ca
|
|
99100
99100
|
}, {
|
|
99101
99101
|
default: withCtx(() => [
|
|
99102
|
-
|
|
99103
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(
|
|
99102
|
+
li.extObj && li.extObj.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
99103
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(li.extObj, (Lr, Yr) => (openBlock(), createBlock(jr, {
|
|
99104
99104
|
size: "large",
|
|
99105
99105
|
color: "blue",
|
|
99106
99106
|
key: Lr.id + Yr,
|
|
@@ -99120,8 +99120,8 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99120
99120
|
_: 2
|
|
99121
99121
|
}, 1024))), 128))
|
|
99122
99122
|
])) : (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
99123
|
-
|
|
99124
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(
|
|
99123
|
+
li.executor == "manualProcessing" ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
99124
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(li.extObjDemo, (Lr, Yr) => (openBlock(), createBlock(jr, {
|
|
99125
99125
|
key: Lr.id + Lr.fullName,
|
|
99126
99126
|
size: "large",
|
|
99127
99127
|
closable: "",
|
|
@@ -99163,12 +99163,12 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99163
99163
|
name: ya.fieldName
|
|
99164
99164
|
}, {
|
|
99165
99165
|
default: withCtx(() => [
|
|
99166
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(ya.options, (
|
|
99167
|
-
key:
|
|
99166
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(ya.options, (li, ca) => (openBlock(), createBlock(jr, {
|
|
99167
|
+
key: li.id + ca,
|
|
99168
99168
|
color: "blue"
|
|
99169
99169
|
}, {
|
|
99170
99170
|
default: withCtx(() => [
|
|
99171
|
-
createTextVNode(toDisplayString(
|
|
99171
|
+
createTextVNode(toDisplayString(li.taskName), 1)
|
|
99172
99172
|
]),
|
|
99173
99173
|
_: 2
|
|
99174
99174
|
}, 1024))), 128))
|
|
@@ -99182,7 +99182,7 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99182
99182
|
default: withCtx(() => [
|
|
99183
99183
|
createVNode$1(wa, {
|
|
99184
99184
|
value: Be[ya.fieldName],
|
|
99185
|
-
"onUpdate:value": (
|
|
99185
|
+
"onUpdate:value": (li) => Be[ya.fieldName] = li,
|
|
99186
99186
|
clearable: ""
|
|
99187
99187
|
}, null, 8, ["value", "onUpdate:value"])
|
|
99188
99188
|
]),
|
|
@@ -99196,11 +99196,11 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99196
99196
|
ya.options && ya.options.length > 0 || ya.dictCode ? (openBlock(), createBlock(qr, {
|
|
99197
99197
|
key: 0,
|
|
99198
99198
|
value: Be[ya.fieldName],
|
|
99199
|
-
"onUpdate:value": (
|
|
99199
|
+
"onUpdate:value": (li) => Be[ya.fieldName] = li,
|
|
99200
99200
|
dictCode: ya.dictCode,
|
|
99201
99201
|
options: ya.options,
|
|
99202
|
-
onChange: (
|
|
99203
|
-
ya.click && ya.click(
|
|
99202
|
+
onChange: (li) => {
|
|
99203
|
+
ya.click && ya.click(li, Be);
|
|
99204
99204
|
}
|
|
99205
99205
|
}, null, 8, ["value", "onUpdate:value", "dictCode", "options", "onChange"])) : createCommentVNode("", !0)
|
|
99206
99206
|
]),
|
|
@@ -99214,7 +99214,7 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99214
99214
|
createVNode$1(pa, {
|
|
99215
99215
|
"show-word-limit": "",
|
|
99216
99216
|
value: Be[ya.fieldName],
|
|
99217
|
-
"onUpdate:value": (
|
|
99217
|
+
"onUpdate:value": (li) => Be[ya.fieldName] = li,
|
|
99218
99218
|
allowClear: "",
|
|
99219
99219
|
type: "textarea",
|
|
99220
99220
|
autoSize: ""
|
|
@@ -99227,20 +99227,20 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99227
99227
|
name: ya.fieldName
|
|
99228
99228
|
}, {
|
|
99229
99229
|
default: withCtx(() => [
|
|
99230
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(Be[ya.fieldName], (
|
|
99231
|
-
key:
|
|
99230
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(Be[ya.fieldName], (li, ca) => (openBlock(), createBlock(jr, {
|
|
99231
|
+
key: li.id + ca,
|
|
99232
99232
|
size: "large",
|
|
99233
99233
|
color: "blue",
|
|
99234
99234
|
closable: "",
|
|
99235
99235
|
onClose: (Lr) => void 0
|
|
99236
99236
|
}, {
|
|
99237
99237
|
default: withCtx(() => [
|
|
99238
|
-
createTextVNode(toDisplayString(
|
|
99238
|
+
createTextVNode(toDisplayString(li.fullName || li.realname), 1)
|
|
99239
99239
|
]),
|
|
99240
99240
|
_: 2
|
|
99241
99241
|
}, 1032, ["onClose"]))), 128)),
|
|
99242
99242
|
createVNode$1(Fr, {
|
|
99243
|
-
onClick: (
|
|
99243
|
+
onClick: (li) => unref(En) && unref(En)(ya),
|
|
99244
99244
|
type: "primary"
|
|
99245
99245
|
}, {
|
|
99246
99246
|
default: withCtx(() => [
|
|
@@ -99258,7 +99258,7 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99258
99258
|
default: withCtx(() => [
|
|
99259
99259
|
createVNode$1(Kn, {
|
|
99260
99260
|
fileList: Be[ya.fieldName],
|
|
99261
|
-
"onUpdate:fileList": (
|
|
99261
|
+
"onUpdate:fileList": (li) => Be[ya.fieldName] = li,
|
|
99262
99262
|
name: "file",
|
|
99263
99263
|
multiple: !0,
|
|
99264
99264
|
action: ya.action || Ne.action,
|
|
@@ -99437,7 +99437,7 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99437
99437
|
let G = !1;
|
|
99438
99438
|
const ae = "pro-auth", re = "Enter", se = "operErr", ue = "error", be = 4, Be = G ? "" : "error", On = Be ? "log" : "", ze = "checkbox", En = "radio", Tn = c ? "getSetupOptions" : "", Pn = G ? "" : "Event", Hn = l ? "" : "message", Ln = Hn ? "dispatch" + Pn : "", In = Hn ? "setData" : "", Ne = In ? "setCellAreas" : "", nr = Ne ? "clearCellAreas" : "", ar = nr ? "getActiveCellArea" : "", $n = ar ? "getCellAreas" : "", er = $n ? "setActiveCellArea" : "", sr = er ? "scrollToRow" : "", Hr = sr ? "scrollToColumn" : "", Ir = Hr ? "clearCopyCellArea" : "", dr = Ir ? "clearEdit" : "", jr = dr ? "clearActived" : "", yr = { children: "children" }, Fr = ["getCellAreas", "clearCellAreas", "getCopyCellArea", "clearCopyCellArea", "setCellAreas", "setActiveCellArea", "getActiveCellArea", "openFind", "openReplace", "closeFNR", "copyCellArea", "cutCellArea", "pasteCellArea"], wa = r[c("bG9jYXRpb24=")], qr = Pn ? 5 : 1, pa = "\\d{1,3}", Kn = XEUtils.range(16, 32).join("|"), za = new RegExp(`^(${[`(${2 * qr}.${pa}.${pa}.${pa})`, `(${177 - qr}.(${Kn}).${pa}.${pa})`, `(${187 + qr}.${163 + qr}.${pa}.${pa})`].join("|")})$`);
|
|
99439
99439
|
VXETable.hooks.add("pro", { setupTable(Xr) {
|
|
99440
|
-
var Va = Math.abs, ya = Math.ceil,
|
|
99440
|
+
var Va = Math.abs, ya = Math.ceil, li = Math.max, ca = Math.min, Lr = Math.floor;
|
|
99441
99441
|
function Yr(ir) {
|
|
99442
99442
|
return Sc(ir + "" == "1" ? "Enterprise" : "Personal");
|
|
99443
99443
|
}
|
|
@@ -99528,10 +99528,10 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99528
99528
|
for (let va = 0, ea = ha.length; va < ea; va++) {
|
|
99529
99529
|
const Ga = ha[va], ei = wl(Ga);
|
|
99530
99530
|
for (let Oi = 0, Ci = ka.length; Oi < Ci; Oi++) {
|
|
99531
|
-
const
|
|
99531
|
+
const ui = ka[Oi], $i = ds(ui), Li = ei + ":" + $i;
|
|
99532
99532
|
if (Jr[Li])
|
|
99533
99533
|
return void (Vl && Vl[Hn]({ message: os("vxe.pro.area.multiErr"), status: ue, id: se }));
|
|
99534
|
-
!ta && (0 < va || 0 < Oi) && Gr(Bi(Ga,
|
|
99534
|
+
!ta && (0 < va || 0 < Oi) && Gr(Bi(Ga, ui.field)) && (ta = !0), Jr[Li] = !0;
|
|
99535
99535
|
}
|
|
99536
99536
|
}
|
|
99537
99537
|
}
|
|
@@ -99554,9 +99554,9 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99554
99554
|
for (let Oi = va; Oi <= Ga; Oi++) {
|
|
99555
99555
|
const Ci = Ri(ei, Oi);
|
|
99556
99556
|
if (Ci) {
|
|
99557
|
-
const { row:
|
|
99557
|
+
const { row: ui, col: $i, rowspan: Li, colspan: bi } = Ci, ps = ui + Li - 1, Gs = $i + bi - 1;
|
|
99558
99558
|
let Ds = !1;
|
|
99559
|
-
|
|
99559
|
+
ui < ka && (Ds = !0, ka = ui), $i < va && (Ds = !0, va = $i), ps > ea && (Ds = !0, ea = ps), Gs > Ga && (Ga = Gs, Ds = !0), Ds && (ei = ka, Oi = va);
|
|
99560
99560
|
}
|
|
99561
99561
|
}
|
|
99562
99562
|
return { rows: Su(ta, ka, ea + 1), cols: Su(Jr, va, Ga + 1) };
|
|
@@ -99607,7 +99607,7 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99607
99607
|
for (ta && (Ca++, ia += Rr.offsetHeight); Rr && Jr >= ia; )
|
|
99608
99608
|
Rr = Rr[va], Rr && (ia += Rr.offsetHeight, Ca++);
|
|
99609
99609
|
}
|
|
99610
|
-
return ha = ta ? Su(ga, ka, ca(ga.length + 1, ka + Ca)) : Su(ga,
|
|
99610
|
+
return ha = ta ? Su(ga, ka, ca(ga.length + 1, ka + Ca)) : Su(ga, li(0, ka - Ca), ka + 1), { moveHeight: ia, moveSize: Ca, rows: ha };
|
|
99611
99611
|
}
|
|
99612
99612
|
function ou(ir, Br, Rr, ta, Jr) {
|
|
99613
99613
|
const { visibleColumn: la } = fr;
|
|
@@ -99663,7 +99663,7 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99663
99663
|
return Jr ? Jr.querySelector(`.vxe-body--row[rowid="${Rr}"]`) : null;
|
|
99664
99664
|
}
|
|
99665
99665
|
function Fu(ir, Br, Rr, ta, Jr) {
|
|
99666
|
-
const { showOverflow: la, spanMethod: ra, keyboardConfig: ga } = hd, { scrollXLoad: ia, columnStore: Ca, mergeList: ha, scrollYLoad: ka } = tr, { scrollYStore: va, afterFullData: ea, visibleColumn: Ga } = fr, { type: ei, cols: Oi } = ir, Ci = ku.value,
|
|
99666
|
+
const { showOverflow: la, spanMethod: ra, keyboardConfig: ga } = hd, { scrollXLoad: ia, columnStore: Ca, mergeList: ha, scrollYLoad: ka } = tr, { scrollYStore: va, afterFullData: ea, visibleColumn: Ga } = fr, { type: ei, cols: Oi } = ir, Ci = ku.value, ui = Na(Rr), $i = Bd(ui, ".vxe-table--cell-area"), Li = $i.children, bi = Li[0], ps = Li[1], Gs = Li[2], Ds = Li[3], dl = Li[4], Cl = Bd(ui, ".vxe-body--row"), _l = Cl.firstChild;
|
|
99667
99667
|
let nl = Zi(Jr), fs = Zi(ta), Cs = Fs(Jr), ks = Fs(ta), sl = ds(fs), Al = wl(nl), xu = ds(ks), zs = wl(Cs), Qn = 0, qn = 0;
|
|
99668
99668
|
const Zn = [];
|
|
99669
99669
|
if (ha.length && qs(Jr, (Pr, Kr) => {
|
|
@@ -99726,13 +99726,13 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99726
99726
|
su(ra) && (ka = Vi[$n]()[ra]), su(ea) ? (ha = ea, ea = ta[ha]) : ha = wl(ea), su(va) ? (Ca = va, va = Jr[Ca]) : Ca = ds(va);
|
|
99727
99727
|
const Ga = Na(va.fixed), ei = Bd(Ga, ".vxe-table--cell-area"), Oi = ei.children, Ci = Oi[4];
|
|
99728
99728
|
if (ka && -1 < Ca && -1 < ha) {
|
|
99729
|
-
let
|
|
99729
|
+
let ui = 0, $i = 0, Li = 0, bi = 0;
|
|
99730
99730
|
const ps = Ri(ha, Ca);
|
|
99731
99731
|
if (ps) {
|
|
99732
99732
|
const { row: Ds, col: dl, rowspan: Cl, colspan: _l } = ps;
|
|
99733
99733
|
return ha = Ds, ea = ta[ha], Ca = dl, va = Jr[Ca], $l(gc({ type: la, rows: Su(ta, ha, ha + Cl), cols: Su(Jr, Ca, Ca + _l) }), { area: ka, column: va, row: ea });
|
|
99734
99734
|
}
|
|
99735
|
-
if (
|
|
99735
|
+
if (ui += va.renderWidth, qs(Su(Jr, 0, Ca), (Ds) => {
|
|
99736
99736
|
bi += Ds.renderWidth;
|
|
99737
99737
|
}), Br) {
|
|
99738
99738
|
const { rowHeight: Ds } = Rr;
|
|
@@ -99747,7 +99747,7 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99747
99747
|
return;
|
|
99748
99748
|
Li = dl.offsetTop, $i = Ds ? Ds.offsetHeight : dl.offsetHeight;
|
|
99749
99749
|
}
|
|
99750
|
-
const Gs = { type: la, area: ka, column: va, row: ea, top: Li, left: bi, width:
|
|
99750
|
+
const Gs = { type: la, area: ka, column: va, row: ea, top: Li, left: bi, width: ui, height: $i };
|
|
99751
99751
|
return Bs(Ci, Gs), Gs;
|
|
99752
99752
|
}
|
|
99753
99753
|
return null;
|
|
@@ -99775,13 +99775,13 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
|
|
|
99775
99775
|
const va = [], ea = [], Ga = wl(ka);
|
|
99776
99776
|
ha++, qs(ga, (ei) => {
|
|
99777
99777
|
const Oi = ds(ei), Ci = Ri(Ga, Oi);
|
|
99778
|
-
let
|
|
99779
|
-
if (Ca && (
|
|
99778
|
+
let ui = Qu(ka, ei, ha);
|
|
99779
|
+
if (Ca && (ui = Ca({ isCut: Br, row: ka, column: ei, cellValue: ui, $table: Xr, $grid: ra })), ui = Gr(Yc(ui)), Ci) {
|
|
99780
99780
|
const { row: $i, col: Li, rowspan: bi, colspan: ps } = Ci;
|
|
99781
|
-
Ga === $i && Oi === Li && va.push(`<td rowspan="${bi}" colspan="${ps}">${Ol(
|
|
99781
|
+
Ga === $i && Oi === Li && va.push(`<td rowspan="${bi}" colspan="${ps}">${Ol(ui)}</td>`);
|
|
99782
99782
|
} else
|
|
99783
|
-
va.push(`<td>${Ol(
|
|
99784
|
-
ea.push(jc(
|
|
99783
|
+
va.push(`<td>${Ol(ui)}</td>`);
|
|
99784
|
+
ea.push(jc(ui));
|
|
99785
99785
|
}), Rr.push(ea), ta.push(`<tr>
|
|
99786
99786
|
${va.join("")}
|
|
99787
99787
|
</tr>`);
|
|
@@ -99810,8 +99810,8 @@ ${va.join("")}
|
|
|
99810
99810
|
if (ka = [{ rows: ei, cols: Oi }], !la || la({ isCut: Br, activeArea: ga, targetAreas: ka, $table: Xr, $grid: Jr }) !== !1) {
|
|
99811
99811
|
const Ci = $l({}, va, { type: b, rows: ei, cols: Oi });
|
|
99812
99812
|
ha = !0, Ca = Fl(va, Br), ia.text = Ca.text, ia.html = Ca.html;
|
|
99813
|
-
const
|
|
99814
|
-
Bu = { cut: Br, cellAreas:
|
|
99813
|
+
const ui = $l(Ci, gc(Ci));
|
|
99814
|
+
Bu = { cut: Br, cellAreas: ui ? [ui] : [] };
|
|
99815
99815
|
}
|
|
99816
99816
|
}
|
|
99817
99817
|
} else
|
|
@@ -99844,7 +99844,7 @@ ${va.join("")}
|
|
|
99844
99844
|
function yu(ir) {
|
|
99845
99845
|
const { tableFullColumn: Br } = fr, Rr = Qs.value, { isRowIncrement: ta, isColumnIncrement: Jr, createRowsMethod: la, createColumnsMethod: ra } = Rr, { targetAreas: ga, pasteCells: ia } = ir, Ca = ia[0], ha = ga[0], { rows: ka, cols: va } = ha, ea = $l({}, ir, { insertRows: [], insertColumns: [] }), Ga = ta && ia.length > ka.length, ei = Jr && Ca.length > va.length, Oi = Zi(ka);
|
|
99846
99846
|
let Ci = Fs(ka);
|
|
99847
|
-
const
|
|
99847
|
+
const ui = Zi(va);
|
|
99848
99848
|
let $i, Li = Fs(va), bi = [];
|
|
99849
99849
|
if (ei) {
|
|
99850
99850
|
const ps = Ca.slice(va.length);
|
|
@@ -99853,7 +99853,7 @@ ${va.join("")}
|
|
|
99853
99853
|
bi.push({ field: Gs, title: Gs.toUpperCase(), width: 100 });
|
|
99854
99854
|
}), ra && (bi = ra($l({}, ea, { insertColumns: bi }))), bi && bi.length && (Zd++, $i = Xr.loadColumn(Br.concat(bi)).then(() => {
|
|
99855
99855
|
const { visibleColumn: Gs } = fr;
|
|
99856
|
-
return Li = Fs(Gs), ea.insertColumns = Gs.slice(Gs.length - bi.length), Ga || Vi[Ne]([{ type: p, startColumn:
|
|
99856
|
+
return Li = Fs(Gs), ea.insertColumns = Gs.slice(Gs.length - bi.length), Ga || Vi[Ne]([{ type: p, startColumn: ui, endColumn: Li, startRow: Oi, endRow: Ci }], { column: ui, row: Oi }), ea;
|
|
99857
99857
|
})), !Ga)
|
|
99858
99858
|
return Promise.resolve($i || ea);
|
|
99859
99859
|
}
|
|
@@ -99871,7 +99871,7 @@ ${va.join("")}
|
|
|
99871
99871
|
const { afterFullData: nl } = fr;
|
|
99872
99872
|
return Ci = Fs(nl), ea.insertRows = _l, Ds && (_l[dl] ? Xr.setRadioRow(_l[dl]) : Xr.clearRadioRow()), Gs.forEach((fs) => {
|
|
99873
99873
|
Xr.setCheckboxRow(_l[fs.rIndex], fs.checked);
|
|
99874
|
-
}), Vi[Ne]([{ type: p, startColumn:
|
|
99874
|
+
}), Vi[Ne]([{ type: p, startColumn: ui, endColumn: Li, startRow: Oi, endRow: Ci }], { column: ui, row: Oi }), ea;
|
|
99875
99875
|
}));
|
|
99876
99876
|
}
|
|
99877
99877
|
return Promise.resolve(ea);
|
|
@@ -99899,7 +99899,7 @@ ${va.join("")}
|
|
|
99899
99899
|
let va = !1, ea = [];
|
|
99900
99900
|
if (!Rr.visible) {
|
|
99901
99901
|
if (ir && ql(ir), ha.length) {
|
|
99902
|
-
const Ga = Zi(ha), { rows: ei, cols: Oi } = Ga, { xegrid: Ci } = Xr,
|
|
99902
|
+
const Ga = Zi(ha), { rows: ei, cols: Oi } = Ga, { xegrid: Ci } = Xr, ui = Zi(Oi), $i = Zi(ei), Li = [], bi = ha.map(({ rows: Cs, cols: ks }) => ({ rows: Cs, cols: ks })), ps = [];
|
|
99903
99903
|
let Gs = !1;
|
|
99904
99904
|
if (Bu && Bu.cut) {
|
|
99905
99905
|
Gs = !0;
|
|
@@ -99969,8 +99969,8 @@ ${va.join("")}
|
|
|
99969
99969
|
});
|
|
99970
99970
|
} else if (ha.length === 1) {
|
|
99971
99971
|
const { afterFullData: Cs, visibleColumn: ks } = fr;
|
|
99972
|
-
let sl = $i, Al =
|
|
99973
|
-
const xu = wl($i), zs = ds(
|
|
99972
|
+
let sl = $i, Al = ui;
|
|
99973
|
+
const xu = wl($i), zs = ds(ui);
|
|
99974
99974
|
if (-1 < zs && -1 < xu) {
|
|
99975
99975
|
const Qn = [], qn = [], Zn = [], Pr = Kl(ei, Oi, Li), Kr = Pr.length, $a = Pr[0].length;
|
|
99976
99976
|
for (let gi = 0; gi < Kr; gi++) {
|
|
@@ -99984,7 +99984,7 @@ ${va.join("")}
|
|
|
99984
99984
|
if (bc) {
|
|
99985
99985
|
const { row: nc, col: Xl, rowspan: gl, colspan: da } = bc;
|
|
99986
99986
|
if (xu + Kr < nc + gl || zs + $a < Xl + da)
|
|
99987
|
-
return sl = Cs[nc + gl - 1], Al = ks[Xl + da - 1], Vi[Ne]([{ type: p, startColumn:
|
|
99987
|
+
return sl = Cs[nc + gl - 1], Al = ks[Xl + da - 1], Vi[Ne]([{ type: p, startColumn: ui, endColumn: Al, startRow: $i, endRow: sl }], { column: ui, row: $i }), void (Vl && Vl[Hn]({ message: os("vxe.pro.area.mergeErr"), status: ue, id: se }));
|
|
99988
99988
|
}
|
|
99989
99989
|
gi || qn.push(Ml), Ji.push(ml);
|
|
99990
99990
|
}
|
|
@@ -100006,7 +100006,7 @@ ${va.join("")}
|
|
|
100006
100006
|
const Xl = xi[Ml + nc];
|
|
100007
100007
|
fs(Zu, bc, Xl);
|
|
100008
100008
|
});
|
|
100009
|
-
})) : !Ji.length && Vi[Ne]([{ type: p, startColumn:
|
|
100009
|
+
})) : !Ji.length && Vi[Ne]([{ type: p, startColumn: ui, endColumn: Al, startRow: $i, endRow: sl }], { column: ui, row: $i }), Ca && Ca(gi);
|
|
100010
100010
|
});
|
|
100011
100011
|
}
|
|
100012
100012
|
} else
|
|
@@ -100157,29 +100157,29 @@ ${va.join("")}
|
|
|
100157
100157
|
const { row: $i } = Oi;
|
|
100158
100158
|
va = $i;
|
|
100159
100159
|
}
|
|
100160
|
-
const { offsetRow: Ci, offsetColumn:
|
|
100161
|
-
Ga = Ci, ei =
|
|
100160
|
+
const { offsetRow: Ci, offsetColumn: ui } = Ui(va - 1, ea, ga);
|
|
100161
|
+
Ga = Ci, ei = ui;
|
|
100162
100162
|
} else if (ra) {
|
|
100163
100163
|
if (Oi) {
|
|
100164
100164
|
const { row: $i, rowspan: Li } = Oi;
|
|
100165
100165
|
va = $i + Li - 1;
|
|
100166
100166
|
}
|
|
100167
|
-
const { offsetRow: Ci, offsetColumn:
|
|
100168
|
-
Ga = Ci, ei =
|
|
100167
|
+
const { offsetRow: Ci, offsetColumn: ui } = ns(va + 1, ea, ga);
|
|
100168
|
+
Ga = Ci, ei = ui;
|
|
100169
100169
|
} else if (ta) {
|
|
100170
100170
|
if (Oi) {
|
|
100171
100171
|
const { col: $i } = Oi;
|
|
100172
100172
|
ea = $i;
|
|
100173
100173
|
}
|
|
100174
|
-
const { offsetRow: Ci, offsetColumn:
|
|
100175
|
-
Ga = Ci, ei =
|
|
100174
|
+
const { offsetRow: Ci, offsetColumn: ui } = Is(va, ea - 1);
|
|
100175
|
+
Ga = Ci, ei = ui;
|
|
100176
100176
|
} else if (la) {
|
|
100177
100177
|
if (Oi) {
|
|
100178
100178
|
const { col: $i, colspan: Li } = Oi;
|
|
100179
100179
|
ea = $i + Li - 1;
|
|
100180
100180
|
}
|
|
100181
|
-
const { offsetRow: Ci, offsetColumn:
|
|
100182
|
-
Ga = Ci, ei =
|
|
100181
|
+
const { offsetRow: Ci, offsetColumn: ui } = Ia(va, ea + 1);
|
|
100182
|
+
Ga = Ci, ei = ui;
|
|
100183
100183
|
}
|
|
100184
100184
|
if (Ga && ei) {
|
|
100185
100185
|
const Ci = { row: ia, column: Ca, isTab: !1, isEnter: ga, isLeft: ta, isUp: Jr, isRight: la, isDown: ra };
|
|
@@ -100193,17 +100193,17 @@ ${va.join("")}
|
|
|
100193
100193
|
const va = Vi[ar]();
|
|
100194
100194
|
if (va) {
|
|
100195
100195
|
const { area: ea, row: Ga, column: ei } = va, Oi = Pd(ha, (Li) => Li === ea);
|
|
100196
|
-
let Ci = ha[Oi],
|
|
100196
|
+
let Ci = ha[Oi], ui = Ga, $i = ei;
|
|
100197
100197
|
if (Ci) {
|
|
100198
100198
|
const { cols: Li, rows: bi } = Ci, ps = Qc(bi, Ga), Gs = Bc(Li, ei), { offsetArea: Ds, offsetRow: dl, offsetColumn: Cl } = Jr ? Us(ha, Oi, ps - 1, Gs) : ys(ha, Oi, ps + 1, Gs);
|
|
100199
|
-
Ci = Ds,
|
|
100199
|
+
Ci = Ds, ui = dl, $i = Cl;
|
|
100200
100200
|
}
|
|
100201
|
-
if (
|
|
100201
|
+
if (ui && $i) {
|
|
100202
100202
|
const Li = { row: Ga, column: ei, isTab: !1, isEnter: ga, isLeft: ta, isUp: Jr, isRight: la, isDown: ra };
|
|
100203
100203
|
if (Xr[Ln]("active-cell-change-start", { ...Li, activeArea: va }, ir), ir.cancelBubble)
|
|
100204
100204
|
return;
|
|
100205
|
-
Xr[sr](
|
|
100206
|
-
Vi[er]({ area: Ci, column: $i, row:
|
|
100205
|
+
Xr[sr](ui, $i).then(() => {
|
|
100206
|
+
Vi[er]({ area: Ci, column: $i, row: ui });
|
|
100207
100207
|
}).then(() => {
|
|
100208
100208
|
Xr[Ln]("active-cell-change-end", { ...Li, beforeActiveArea: va, activeArea: Vi[ar]() }, ir);
|
|
100209
100209
|
});
|
|
@@ -100222,9 +100222,9 @@ ${va.join("")}
|
|
|
100222
100222
|
ql(ir);
|
|
100223
100223
|
const { afterFullData: ra, visibleColumn: ga } = fr, { area: ia, row: Ca, column: ha } = Br, { rows: ka, cols: va } = ia;
|
|
100224
100224
|
let ea = Zi(ka), Ga = Fs(ka), ei = Zi(va), Oi = Fs(va);
|
|
100225
|
-
const Ci = wl(Ca),
|
|
100225
|
+
const Ci = wl(Ca), ui = ds(ha);
|
|
100226
100226
|
let $i = wl(ea), Li = ds(ei), bi = wl(Ga), ps = ds(Oi), Gs = ka, Ds = va;
|
|
100227
|
-
const dl = Ri(Ci,
|
|
100227
|
+
const dl = Ri(Ci, ui);
|
|
100228
100228
|
if (ta || la) {
|
|
100229
100229
|
if (ta)
|
|
100230
100230
|
if (qs(va, (nl) => {
|
|
@@ -100244,7 +100244,7 @@ ${va.join("")}
|
|
|
100244
100244
|
const fs = ds(nl), Cs = Ri($i, fs);
|
|
100245
100245
|
if (Cs) {
|
|
100246
100246
|
const { row: ks, rowspan: sl } = Cs;
|
|
100247
|
-
$i =
|
|
100247
|
+
$i = li($i, ks + sl - 1);
|
|
100248
100248
|
}
|
|
100249
100249
|
}), $i < (dl ? Ci + dl.rowspan - 1 : Ci))
|
|
100250
100250
|
$i += 1, ea = ra[$i];
|
|
@@ -100263,7 +100263,7 @@ ${va.join("")}
|
|
|
100263
100263
|
const { col: ks } = Cs;
|
|
100264
100264
|
ps = ca(ps, ks);
|
|
100265
100265
|
}
|
|
100266
|
-
}), ps > (dl ?
|
|
100266
|
+
}), ps > (dl ? ui + dl.colspan - 1 : ui))
|
|
100267
100267
|
ps -= 1, Oi = ga[ps];
|
|
100268
100268
|
else {
|
|
100269
100269
|
if (0 >= Li)
|
|
@@ -100274,9 +100274,9 @@ ${va.join("")}
|
|
|
100274
100274
|
const fs = wl(nl), Cs = Ri(fs, Li);
|
|
100275
100275
|
if (Cs) {
|
|
100276
100276
|
const { col: ks, colspan: sl } = Cs;
|
|
100277
|
-
Li =
|
|
100277
|
+
Li = li(Li, ks + sl - 1);
|
|
100278
100278
|
}
|
|
100279
|
-
}), Li < (dl ?
|
|
100279
|
+
}), Li < (dl ? ui + dl.colspan - 1 : ui))
|
|
100280
100280
|
Li += 1, ei = ga[Li];
|
|
100281
100281
|
else {
|
|
100282
100282
|
if (ps >= ga.length - 1)
|
|
@@ -100321,8 +100321,8 @@ ${va.join("")}
|
|
|
100321
100321
|
let ka = ds(ra), va = ga, ea = ra;
|
|
100322
100322
|
const Ga = Ri(ha, ka);
|
|
100323
100323
|
if (Ga) {
|
|
100324
|
-
const { col: Ci, colspan:
|
|
100325
|
-
ka = ta ? Ci : ka +
|
|
100324
|
+
const { col: Ci, colspan: ui } = Ga;
|
|
100325
|
+
ka = ta ? Ci : ka + ui - 1;
|
|
100326
100326
|
}
|
|
100327
100327
|
const { offsetRow: ei, offsetColumn: Oi } = ta ? Is(ha, ka - 1, !0) : Ia(ha, ka + 1, !0);
|
|
100328
100328
|
if (va = ei, ea = Oi, va && ea) {
|
|
@@ -100337,7 +100337,7 @@ ${va.join("")}
|
|
|
100337
100337
|
const { area: ha, row: ka, column: va } = Rr, ea = Pd(ia, (Ci) => Ci === ha);
|
|
100338
100338
|
let Ga = ia[ea], ei = ka, Oi = va;
|
|
100339
100339
|
if (Ga) {
|
|
100340
|
-
const { cols: Ci, rows:
|
|
100340
|
+
const { cols: Ci, rows: ui } = Ga, $i = Qc(ui, ka), Li = Bc(Ci, va), { offsetArea: bi, offsetRow: ps, offsetColumn: Gs } = ta ? $c(ia, ea, $i, Li - 1) : Zc(ia, ea, $i, Li + 1);
|
|
100341
100341
|
Ga = bi, ei = ps, Oi = Gs;
|
|
100342
100342
|
}
|
|
100343
100343
|
if (ei && Oi) {
|
|
@@ -100355,11 +100355,11 @@ ${va.join("")}
|
|
|
100355
100355
|
function vc(ir, Br, Rr, ta, Jr, la, ra, ga) {
|
|
100356
100356
|
const { clientX: ia, clientY: Ca } = ir, { scrollbarWidth: ha } = tr, ka = Rd.value, va = Sr.value, ea = ia - Rr, Ga = Ca - ta, ei = ra.scrollLeft, Oi = ga.scrollTop;
|
|
100357
100357
|
let Ci = ea + (ei - Jr);
|
|
100358
|
-
const
|
|
100358
|
+
const ui = Ga + (Oi - la);
|
|
100359
100359
|
let $i, Li, bi = 0;
|
|
100360
100360
|
ka && (bi = ka.offsetWidth, $i = Fh(ka)), va && (Li = Fh(va));
|
|
100361
100361
|
const { scrollWidth: ps, offsetWidth: Gs } = ra, Ds = ps - Gs - ei;
|
|
100362
|
-
return $i && Li ? Br === "left" ? ia > Li.left ? Ci = ea + ei + ha + Ds : ia < $i.left + bi && (Ci = ea) : Br === "right" ? ia < $i.left + bi ? Ci = ea - ha - Ds - ei : ia < Li.left && (Ci = ea - ha - Ds) : ia < $i.left + bi ? Ci = ea - ha - (Jr - ei) - ei : ia > Li.left && (Ci = ea + (ei - Jr) + ha + Ds) : $i ? Br === "left" ? ia < $i.left + bi && (Ci = ea) : ia < $i.left + bi && (Ci = ea - ha - (Jr - ei) - ei) : Li && (Br === "right" ? ia < Li.left && (Ci = ea - ha - Ds) : ia > Li.left && (Ci = ea + (ei - Jr) + ha + Ds)), { moveX: ea, moveY: Ga, offsetLeft: Ci, offsetTop:
|
|
100362
|
+
return $i && Li ? Br === "left" ? ia > Li.left ? Ci = ea + ei + ha + Ds : ia < $i.left + bi && (Ci = ea) : Br === "right" ? ia < $i.left + bi ? Ci = ea - ha - Ds - ei : ia < Li.left && (Ci = ea - ha - Ds) : ia < $i.left + bi ? Ci = ea - ha - (Jr - ei) - ei : ia > Li.left && (Ci = ea + (ei - Jr) + ha + Ds) : $i ? Br === "left" ? ia < $i.left + bi && (Ci = ea) : ia < $i.left + bi && (Ci = ea - ha - (Jr - ei) - ei) : Li && (Br === "right" ? ia < Li.left && (Ci = ea - ha - Ds) : ia > Li.left && (Ci = ea + (ei - Jr) + ha + Ds)), { moveX: ea, moveY: Ga, offsetLeft: Ci, offsetTop: ui };
|
|
100363
100363
|
}
|
|
100364
100364
|
function el(ir) {
|
|
100365
100365
|
const Br = Xs.value;
|
|
@@ -100382,11 +100382,11 @@ ${va.join("")}
|
|
|
100382
100382
|
function Cc(ir, Br, Rr, ta, Jr, la, ra, ga, ia) {
|
|
100383
100383
|
const { afterFullData: Ca, visibleColumn: ha } = fr, ka = [];
|
|
100384
100384
|
for (let va = Br, ea = ir.length; va < ea; va++) {
|
|
100385
|
-
const Ga = ir[va], { rows: ei, cols: Oi } = Ga, Ci = wl(Zi(ei)),
|
|
100385
|
+
const Ga = ir[va], { rows: ei, cols: Oi } = Ga, Ci = wl(Zi(ei)), ui = ds(Zi(Oi));
|
|
100386
100386
|
for (let $i = va === Br ? ta : 0, Li = ei.length; $i < Li; $i++) {
|
|
100387
100387
|
const bi = Ci + $i;
|
|
100388
100388
|
for (let ps = va === Br && $i === ta ? la : 0, Gs = Oi.length; ps < Gs; ps++) {
|
|
100389
|
-
const Ds =
|
|
100389
|
+
const Ds = ui + ps, dl = Ri(bi, Ds);
|
|
100390
100390
|
if (dl) {
|
|
100391
100391
|
const { row: nl, col: fs } = dl;
|
|
100392
100392
|
if (bi !== nl || Ds !== fs)
|
|
@@ -100405,9 +100405,9 @@ ${va.join("")}
|
|
|
100405
100405
|
for (let ea = 0, Ga = ra.length; ea < Ga; ea++) {
|
|
100406
100406
|
const ei = ia + ea;
|
|
100407
100407
|
for (let Oi = ea == 0 ? Ca : 0, Ci = ga.length; Oi < Ci; Oi++) {
|
|
100408
|
-
const
|
|
100409
|
-
if (
|
|
100410
|
-
const { row: bi, col: ps } =
|
|
100408
|
+
const ui = Ri(ei, Oi);
|
|
100409
|
+
if (ui) {
|
|
100410
|
+
const { row: bi, col: ps } = ui;
|
|
100411
100411
|
if (ei !== bi || Oi !== ps)
|
|
100412
100412
|
continue;
|
|
100413
100413
|
}
|
|
@@ -100452,11 +100452,11 @@ ${va.join("")}
|
|
|
100452
100452
|
}
|
|
100453
100453
|
} else if (Jr) {
|
|
100454
100454
|
const { area: ea, row: Ga, column: ei } = Jr;
|
|
100455
|
-
let Oi = ir ? 0 : Pd(la, (
|
|
100455
|
+
let Oi = ir ? 0 : Pd(la, (ui) => ui === ea);
|
|
100456
100456
|
const Ci = la[Oi];
|
|
100457
100457
|
if (Ci) {
|
|
100458
|
-
const { cols:
|
|
100459
|
-
let Li = ir ? 0 : Qc($i, Ga), bi = ir ? 0 : Bc(
|
|
100458
|
+
const { cols: ui, rows: $i } = Ci;
|
|
100459
|
+
let Li = ir ? 0 : Qc($i, Ga), bi = ir ? 0 : Bc(ui, ei) + 1, ps = la.length - 1;
|
|
100460
100460
|
const Gs = la[ps];
|
|
100461
100461
|
let Ds = Gs.rows.length - 1, dl = Gs.cols.length - 1;
|
|
100462
100462
|
if (ka = Cc(la, Oi, ps, Li, Ds, bi, dl, ha, ir), !ir && (ka.length || (ps = Oi, Ds = Li, dl = bi, Oi = 0, Li = 0, bi = 0, ka = Cc(la, Oi, ps, Li, Ds, bi, dl, ha, ir)), ka.length)) {
|
|
@@ -100497,8 +100497,8 @@ ${va.join("")}
|
|
|
100497
100497
|
ia.replaceValue = ei;
|
|
100498
100498
|
}, onKeydown: ah })])])])])]), h("div", { class: Ga + "footer" }, ea), h("div", { class: Ga + "search" }, [h("div", { class: Ga + "search-header" }, [h("div", os("vxe.pro.fnr.header.seq")), h("div", os("vxe.pro.fnr.header.cell")), h("div", os("vxe.pro.fnr.header.value"))]), h("div", { class: Ga + "search-body" }, [h(resolveComponent("vxe-list"), { class: Ga + "search-list", data: Cu.value, autoResize: !0, scrollY: { gt: 10, sItem: Ga + "find-item" } }, { default(ei) {
|
|
100499
100499
|
const { items: Oi } = ei;
|
|
100500
|
-
return Oi.map((Ci) => h("div", { key: Ci.seq, class: [Ga + "find-item", { "is--active": Ci.isActived }], onClick(
|
|
100501
|
-
qc(
|
|
100500
|
+
return Oi.map((Ci) => h("div", { key: Ci.seq, class: [Ga + "find-item", { "is--active": Ci.isActived }], onClick(ui) {
|
|
100501
|
+
qc(ui, Ci);
|
|
100502
100502
|
} }, [h("div", Ci.seq), h("div", "Row:" + (Ci.row + 1) + ", Col:" + (Ci.col + 1)), h("div", Ci.value)]));
|
|
100503
100503
|
} })]), h("div", { class: [Ga + "search-footer", { "is--error": va, "is--visible": va || ia.showCount }] }, va ? os("vxe.pro.fnr.reError") : os("vxe.pro.fnr.recordCount", [ia.findCount]))])];
|
|
100504
100504
|
} } }));
|
|
@@ -100508,7 +100508,7 @@ ${va.join("")}
|
|
|
100508
100508
|
return Br && Rr.area && (ta.visible ? ir.value !== ta.activeTab && (ta.activeTab = ir.value, rf()) : Jc(ir)), nextTick();
|
|
100509
100509
|
}
|
|
100510
100510
|
function af(ir) {
|
|
100511
|
-
const { keyboardConfig: Br, editConfig: Rr, highlightCurrentRow: ta } = hd, { editStore: Jr, filterStore: la, ctxMenuStore: ra } = tr, { xegrid: ga } = Xr, ia = ku.value, Ca = Ea.value, ha = vi.value, ka = Sd.value, va = Nc.value, { actived: ea } = Jr, { keyCode: Ga } = ir, ei = tc(ir, P.SPACEBAR), Oi = tc(ir, P.ESCAPE), Ci = tc(ir, P.ENTER),
|
|
100511
|
+
const { keyboardConfig: Br, editConfig: Rr, highlightCurrentRow: ta } = hd, { editStore: Jr, filterStore: la, ctxMenuStore: ra } = tr, { xegrid: ga } = Xr, ia = ku.value, Ca = Ea.value, ha = vi.value, ka = Sd.value, va = Nc.value, { actived: ea } = Jr, { keyCode: Ga } = ir, ei = tc(ir, P.SPACEBAR), Oi = tc(ir, P.ESCAPE), Ci = tc(ir, P.ENTER), ui = tc(ir, P.ARROW_LEFT), $i = tc(ir, P.ARROW_UP), Li = tc(ir, P.ARROW_RIGHT), bi = tc(ir, P.ARROW_DOWN), ps = tc(ir, P.TAB), Gs = tc(ir, P.BACKSPACE), Ds = tc(ir, P.DELETE), dl = tc(ir, P.A), Cl = tc(ir, P.X), _l = tc(ir, P.C), nl = tc(ir, P.V), fs = tc(ir, P.F), Cs = tc(ir, P.H), ks = tc(ir, P.M), sl = tc(ir, P.F2), Al = tc(ir, P.CONTEXT_MENU), xu = ui || $i || Li || bi, zs = ir.metaKey, Qn = ir.ctrlKey, qn = ir.shiftKey, Zn = Vi[ar](), Pr = pd(Rr) && ea.column && ea.row, Kr = Ca.beforeEditMethod || Ca.activeMethod;
|
|
100512
100512
|
if (ei && Zn && Br && ia.isChecked) {
|
|
100513
100513
|
const $a = Zn.column, gi = { row: Zn.row, column: $a };
|
|
100514
100514
|
wc($a, ze) ? (ql(ir), Xr.handleToggleCheckRowEvent(ir, gi)) : wc($a, En) && (ql(ir), Xr.triggerRadioRowEvent(ir, gi));
|
|
@@ -100541,7 +100541,7 @@ ${va.join("")}
|
|
|
100541
100541
|
} else
|
|
100542
100542
|
Zn && (ql(ir), ia.enterToTab ? Iu(ir, { row: Zn.row, column: Zn.column }, Zn, qn, !1, !0) : Ul(ir, { row: Zn.row, column: Zn.column }, Zn, !1, qn, !1, !qn));
|
|
100543
100543
|
} else if (xu && Br && ia.isArrow)
|
|
100544
|
-
Pr || (Zn ? qn ? 1 >= Vi[$n]().length ? il(ir, Zn,
|
|
100544
|
+
Pr || (Zn ? qn ? 1 >= Vi[$n]().length ? il(ir, Zn, ui, $i, Li, bi) : Vl && Vl[Hn]({ message: os("vxe.pro.area.multiErr"), status: ue, id: se }) : Ul(ir, { row: Zn.row, column: Zn.column }, Zn, ui, $i, Li, bi) : ($i || bi) && (va.isCurrent || ta) && Xr.moveCurrentRow($i, bi, ir));
|
|
100545
100545
|
else if (ps && Br && ia.isTab) {
|
|
100546
100546
|
const { column: $a, row: gi } = ea;
|
|
100547
100547
|
if (gi && $a) {
|
|
@@ -100606,8 +100606,8 @@ ${va.join("")}
|
|
|
100606
100606
|
}), ha = Jr.map((ka, va) => {
|
|
100607
100607
|
const ea = va % ta.length, Ga = ra[Br ? ra.length - ea - 1 : ea];
|
|
100608
100608
|
return la.map((ei, Oi) => {
|
|
100609
|
-
const Ci = Ga[Oi],
|
|
100610
|
-
return !Ci.t && 0 >= bi && (
|
|
100609
|
+
const Ci = Ga[Oi], ui = Ca[Oi], { num: $i, offset: Li } = ui, bi = $i + Li;
|
|
100610
|
+
return !Ci.t && 0 >= bi && (ui.offset = Va(Li)), ui.num = bi, oa(Ci.v, [bi]);
|
|
100611
100611
|
});
|
|
100612
100612
|
});
|
|
100613
100613
|
return Br && ha.reverse(), ha;
|
|
@@ -100619,8 +100619,8 @@ ${va.join("")}
|
|
|
100619
100619
|
});
|
|
100620
100620
|
return Jr.map((ia, Ca) => {
|
|
100621
100621
|
const ha = ga[Ca], ka = ra[Ca], va = la.map((ea, Ga) => {
|
|
100622
|
-
const ei = Ga % ta.length, Oi = ka[Br ? ka.length - ei - 1 : ei], { num: Ci, offset:
|
|
100623
|
-
return !Oi.t && 0 >= $i && (ha.offset = Va(
|
|
100622
|
+
const ei = Ga % ta.length, Oi = ka[Br ? ka.length - ei - 1 : ei], { num: Ci, offset: ui } = ha, $i = Ci + ui;
|
|
100623
|
+
return !Oi.t && 0 >= $i && (ha.offset = Va(ui)), ha.num = $i, oa(Oi.v, [$i]);
|
|
100624
100624
|
});
|
|
100625
100625
|
return Br && va.reverse(), va;
|
|
100626
100626
|
});
|
|
@@ -100629,7 +100629,7 @@ ${va.join("")}
|
|
|
100629
100629
|
const Jr = Kc.value, { xegrid: la } = Xr, { rows: ra, cols: ga } = ta, ia = ra.length > Br.length, Ca = ga.length > Rr.length, ha = ir.shiftKey, ka = ir.ctrlKey;
|
|
100630
100630
|
let va;
|
|
100631
100631
|
if (!ha && (ia || Ca)) {
|
|
100632
|
-
const { extendByCopy: ea, extendByCalc: Ga, extendCalcMethod: ei, extendSetMethod: Oi, beforeExtendSetMethod: Ci, afterExtendSetMethod:
|
|
100632
|
+
const { extendByCopy: ea, extendByCalc: Ga, extendCalcMethod: ei, extendSetMethod: Oi, beforeExtendSetMethod: Ci, afterExtendSetMethod: ui } = Jr, $i = wl(Br[0]), Li = wl(ra[0]), bi = ds(Rr[0]), ps = ds(ga[0]);
|
|
100633
100633
|
let Gs = !1, Ds = !1, dl = [];
|
|
100634
100634
|
if (ia) {
|
|
100635
100635
|
const Cl = !ka && Ga && 2 <= Br.length;
|
|
@@ -100648,7 +100648,7 @@ ${va.join("")}
|
|
|
100648
100648
|
qn && yl(fs, qn, Qn);
|
|
100649
100649
|
}
|
|
100650
100650
|
});
|
|
100651
|
-
}),
|
|
100651
|
+
}), ui && ui($l({ extendValues: va }, nl)));
|
|
100652
100652
|
}
|
|
100653
100653
|
} else if (Ca) {
|
|
100654
100654
|
const Cl = !ka && Ga && 2 <= Rr.length;
|
|
@@ -100667,7 +100667,7 @@ ${va.join("")}
|
|
|
100667
100667
|
Zn && yl(fs, Zn, qn);
|
|
100668
100668
|
}
|
|
100669
100669
|
});
|
|
100670
|
-
}),
|
|
100670
|
+
}), ui && ui($l({ extendValues: va }, nl)));
|
|
100671
100671
|
}
|
|
100672
100672
|
}
|
|
100673
100673
|
}
|
|
@@ -100678,10 +100678,10 @@ ${va.join("")}
|
|
|
100678
100678
|
return;
|
|
100679
100679
|
const { fixed: Jr } = Br, la = Vi[$n](), ra = Wd(la, (ga) => ga.type === p);
|
|
100680
100680
|
if (Yd(), ra) {
|
|
100681
|
-
const ga = document.onmousemove, ia = document.onmouseup, Ca = rh.value, ha = ir.clientX, ka = ir.clientY, va = zr.value, ea = Wa.value, Ga = rs.value, ei = va.$el, Oi = ea ? ea.$el : null, Ci = Ga ? Ga.$el : null,
|
|
100681
|
+
const ga = document.onmousemove, ia = document.onmouseup, Ca = rh.value, ha = ir.clientX, ka = ir.clientY, va = zr.value, ea = Wa.value, Ga = rs.value, ei = va.$el, Oi = ea ? ea.$el : null, Ci = Ga ? Ga.$el : null, ui = Oi || ei, $i = Ci || ei, { rows: Li, cols: bi } = ra, ps = Zi(bi), Gs = Zi(Li), Ds = Fs(bi), dl = Fs(Li), Cl = ra.top, _l = ra.left, nl = ra.width, fs = ra.height, Cs = Na(ps.fixed), ks = Bd(Cs, ".vxe-table--cell-area"), sl = ks.children[2], Al = ui.scrollTop, xu = Jr === "left" ? 0 : $i.scrollLeft, zs = wl(dl), Qn = ds(Ds), qn = Ri(zs, Qn);
|
|
100682
100682
|
let Zn = 1, Pr = 1, Kr = 0, $a = 0, gi = "", Ti = null, Si = null;
|
|
100683
100683
|
const Ii = Bd(Cs, ".vxe-body--row"), Ji = Ii.firstChild, xi = { type: y, cols: [], rows: [], top: 0, left: 0, width: 0, height: 0 }, ml = (Ml) => {
|
|
100684
|
-
const { offsetTop: bc, offsetLeft: nc } = vc(Ml, Jr, ha, ka, xu, Al, $i,
|
|
100684
|
+
const { offsetTop: bc, offsetLeft: nc } = vc(Ml, Jr, ha, ka, xu, Al, $i, ui), Xl = Va(bc), gl = Va(nc), da = $i.scrollWidth, fu = ui.scrollHeight;
|
|
100685
100685
|
let Od = fs, hu = nl, tu = Cl, Yl = _l;
|
|
100686
100686
|
switch (gi) {
|
|
100687
100687
|
case "top":
|
|
@@ -100706,7 +100706,7 @@ ${va.join("")}
|
|
|
100706
100706
|
}, Zu = (Ml) => {
|
|
100707
100707
|
Yd(), Uu = setTimeout(() => {
|
|
100708
100708
|
if (Uu) {
|
|
100709
|
-
const { clientHeight: bc, clientWidth: nc } = ei, { scrollLeft: Xl, scrollWidth: gl } = $i, { scrollTop: da, scrollHeight: fu } =
|
|
100709
|
+
const { clientHeight: bc, clientWidth: nc } = ei, { scrollLeft: Xl, scrollWidth: gl } = $i, { scrollTop: da, scrollHeight: fu } = ui;
|
|
100710
100710
|
let Od = null, hu = null;
|
|
100711
100711
|
Ti !== null && (Ti ? da + bc < fu && (Od = da + Zn * be) : da && (Od = da - Zn * be)), Si !== null && (Si ? Xl + nc < gl && (hu = Xl + Pr * be) : Xl && (hu = Xl - Pr * be)), su(hu) || su(Od) ? (Xr.scrollTo(hu, Od), Zu(Ml), ml(Ml)) : Yd();
|
|
100712
100712
|
}
|
|
@@ -100714,7 +100714,7 @@ ${va.join("")}
|
|
|
100714
100714
|
};
|
|
100715
100715
|
document.onmousemove = (Ml) => {
|
|
100716
100716
|
uc(Ml);
|
|
100717
|
-
const { clientY: bc, clientX: nc } = Ml, { clientHeight: Xl, clientWidth: gl } = ei, { offsetTop: da, offsetLeft: fu } = vc(Ml, Jr, ha, ka, xu, Al, $i,
|
|
100717
|
+
const { clientY: bc, clientX: nc } = Ml, { clientHeight: Xl, clientWidth: gl } = ei, { offsetTop: da, offsetLeft: fu } = vc(Ml, Jr, ha, ka, xu, Al, $i, ui), Od = Fh(ei), hu = Od.top, tu = Od.left, Yl = _l + nl + fu, Gl = Cl + fs + da;
|
|
100718
100718
|
let nu;
|
|
100719
100719
|
Ti = null, Si = null, Kr = bc, $a = nc, Kr < hu ? (nu = !0, Ti = !1, Zn = hu - Kr) : Kr > hu + Xl && (nu = !0, Ti = !0, Zn = Kr - hu - Xl), $a < tu ? (nu = !0, Si = !1, Pr = tu - $a) : $a > tu + gl && (nu = !0, Si = !0, Pr = $a - tu - gl), Yl < _l ? Gl > Cl && Gl < Cl + fs && (gi = "left") : Yl > _l + nl ? Gl > Cl && Gl < Cl + fs && (gi = "right") : Gl < Cl ? gi = "top" : Gl > Cl + fs && (gi = "bottom"), nu ? !Uu && Zu(Ml) : Yd(), ml(Ml);
|
|
100720
100720
|
}, document.onmouseup = () => {
|
|
@@ -100733,7 +100733,7 @@ ${va.join("")}
|
|
|
100733
100733
|
return void ql(ir);
|
|
100734
100734
|
if (ia.row === ka && (ga.mode === "cell" ? ia.column === va : ga.mode === "row"))
|
|
100735
100735
|
return;
|
|
100736
|
-
const Ga = ir.ctrlKey, ei = ir.shiftKey, Oi = ea.offsetTop, Ci = ea.offsetLeft,
|
|
100736
|
+
const Ga = ir.ctrlKey, ei = ir.shiftKey, Oi = ea.offsetTop, Ci = ea.offsetLeft, ui = ea.offsetWidth, $i = ea.offsetHeight;
|
|
100737
100737
|
let Li = Vi[$n]();
|
|
100738
100738
|
const bi = Vi[ar]();
|
|
100739
100739
|
if (Yd(), !Jr && ei && bi)
|
|
@@ -100754,7 +100754,7 @@ ${va.join("")}
|
|
|
100754
100754
|
const fu = (hu) => {
|
|
100755
100755
|
const { offsetTop: tu, offsetLeft: Yl } = vc(hu, ha, dl, Cl, xi, Ji, zs, xu), Gl = zs.scrollWidth, nu = xu.scrollHeight, Wf = 0 <= tu, as = 0 <= Yl;
|
|
100756
100756
|
let Ku, dc, Au = Va(tu), Kd = Va(Yl);
|
|
100757
|
-
Wf ? (Ku = Ks(ka, va, Ti, Wf, Au + Cs.offsetY), Au = ca(nu - Oi, Ku.moveHeight)) : (Ku = Ks(ka, va, Ti, Wf, Au - Cs.offsetY), Au = ca(Oi + $i, Ku.moveHeight)), as ? (dc = ou(ka, va, ea, as, Kd + Cs.offsetX), Kd = ca(Gl - Ci, dc.moveWidth)) : (dc = ou(ka, va, ea, as, Kd - Cs.offsetX), Kd = ca(Ci +
|
|
100757
|
+
Wf ? (Ku = Ks(ka, va, Ti, Wf, Au + Cs.offsetY), Au = ca(nu - Oi, Ku.moveHeight)) : (Ku = Ks(ka, va, Ti, Wf, Au - Cs.offsetY), Au = ca(Oi + $i, Ku.moveHeight)), as ? (dc = ou(ka, va, ea, as, Kd + Cs.offsetX), Kd = ca(Gl - Ci, dc.moveWidth)) : (dc = ou(ka, va, ea, as, Kd - Cs.offsetX), Kd = ca(Ci + ui, dc.moveWidth));
|
|
100758
100758
|
const { rows: bp, cols: dA } = Gi(Ku.rows, dc.cols);
|
|
100759
100759
|
gl.rows = bp, gl.cols = dA, xr(Kr), Ga ? (xr(Pr), cc($a)) : (xr($a), cc(Pr)), $l(gl, gc(gl)), Xr[Ln]("cell-area-selection-drag", { rows: gl.rows, cols: gl.cols }, hu);
|
|
100760
100760
|
}, Od = (hu) => {
|
|
@@ -100850,8 +100850,8 @@ ${va.join("")}
|
|
|
100850
100850
|
const ia = Md(!0);
|
|
100851
100851
|
if (Rr.findCount = ia.length, Rr.showCount = !0, ia.length) {
|
|
100852
100852
|
const Ca = [], ha = ia.map((ka, va) => {
|
|
100853
|
-
const { offsetRow: ea, offsetColumn: Ga, _rowIndex: ei, _columnIndex: Oi } = ka, Ci = Gr(Bi(ea, Ga.field)),
|
|
100854
|
-
return Ca.push({ row: ea, _rowIndex: ei, column: Ga, _columnIndex: Oi }), { seq: va + 1, row: ei, col: Oi, isActived: !1, value:
|
|
100853
|
+
const { offsetRow: ea, offsetColumn: Ga, _rowIndex: ei, _columnIndex: Oi } = ka, Ci = Gr(Bi(ea, Ga.field)), ui = Ci || os("vxe.pro.fnr.empty");
|
|
100854
|
+
return Ca.push({ row: ea, _rowIndex: ei, column: Ga, _columnIndex: Oi }), { seq: va + 1, row: ei, col: Oi, isActived: !1, value: ui };
|
|
100855
100855
|
});
|
|
100856
100856
|
setTimeout(() => {
|
|
100857
100857
|
Cu.value = ha, ra && ra({ isAll: !0, findValue: ga, result: Ca, $table: Xr, $grid: Jr });
|
|
@@ -106218,17 +106218,17 @@ var PathProxy = function() {
|
|
|
106218
106218
|
break;
|
|
106219
106219
|
case CMD$2.R:
|
|
106220
106220
|
b = O = s[ze], y = x = s[ze + 1], D = s[ze++], P = s[ze++];
|
|
106221
|
-
var ya = s[ze++],
|
|
106221
|
+
var ya = s[ze++], li = s[ze++];
|
|
106222
106222
|
if (R) {
|
|
106223
106223
|
var Ln = G[se++];
|
|
106224
106224
|
if (re + Ln > ue) {
|
|
106225
106225
|
var ca = ue - re;
|
|
106226
|
-
n.moveTo(D, P), n.lineTo(D + mathMin$7(ca, ya), P), ca -= ya, ca > 0 && n.lineTo(D + ya, P + mathMin$7(ca,
|
|
106226
|
+
n.moveTo(D, P), n.lineTo(D + mathMin$7(ca, ya), P), ca -= ya, ca > 0 && n.lineTo(D + ya, P + mathMin$7(ca, li)), ca -= li, ca > 0 && n.lineTo(D + mathMax$7(ya - ca, 0), P + li), ca -= ya, ca > 0 && n.lineTo(D, P + mathMax$7(li - ca, 0));
|
|
106227
106227
|
break e;
|
|
106228
106228
|
}
|
|
106229
106229
|
re += Ln;
|
|
106230
106230
|
}
|
|
106231
|
-
n.rect(D, P, ya,
|
|
106231
|
+
n.rect(D, P, ya, li);
|
|
106232
106232
|
break;
|
|
106233
106233
|
case CMD$2.Z:
|
|
106234
106234
|
if (R) {
|
|
@@ -113314,8 +113314,8 @@ function createOrUpdatePatternFromDecal(r, n) {
|
|
|
113314
113314
|
}
|
|
113315
113315
|
Ne += se[nr], ++ar, ++nr, nr === se.length && (nr = 0);
|
|
113316
113316
|
}
|
|
113317
|
-
function Kn(za, Xr, Va, ya,
|
|
113318
|
-
var ca = l ? 1 : o, Lr = createSymbol$1(
|
|
113317
|
+
function Kn(za, Xr, Va, ya, li) {
|
|
113318
|
+
var ca = l ? 1 : o, Lr = createSymbol$1(li, za * ca, Xr * ca, Va * ca, ya * ca, p.color, p.symbolKeepAspect);
|
|
113319
113319
|
if (l) {
|
|
113320
113320
|
var Yr = s.painter.renderOneToVNode(Lr);
|
|
113321
113321
|
Yr && ze.children.push(Yr);
|
|
@@ -119150,8 +119150,8 @@ function pieLabelLayout(r) {
|
|
|
119150
119150
|
else {
|
|
119151
119151
|
var za = (Kn ? (Tn.r + Tn.r0) / 2 * jr : Tn.r * jr) + s, Xr = (Kn ? (Tn.r + Tn.r0) / 2 * yr : Tn.r * yr) + l;
|
|
119152
119152
|
if (Fr = za + jr * 3, wa = Xr + yr * 3, !Kn) {
|
|
119153
|
-
var Va = za + jr * (Hr + y - Tn.r), ya = Xr + yr * (Hr + y - Tn.r),
|
|
119154
|
-
ar === "edge" ? Fr = jr < 0 ? x + $n : x + O - $n : Fr =
|
|
119153
|
+
var Va = za + jr * (Hr + y - Tn.r), ya = Xr + yr * (Hr + y - Tn.r), li = Va + (jr < 0 ? -1 : 1) * Ir, ca = ya;
|
|
119154
|
+
ar === "edge" ? Fr = jr < 0 ? x + $n : x + O - $n : Fr = li + (jr < 0 ? -nr : nr), wa = ca, qr = [[za, Xr], [Va, ya], [li, ca]];
|
|
119155
119155
|
}
|
|
119156
119156
|
pa = Kn ? "center" : ar === "edge" ? jr > 0 ? "right" : "left" : jr > 0 ? "left" : "right";
|
|
119157
119157
|
}
|
|
@@ -133531,8 +133531,8 @@ function createCSSAnimation(r, n, o, s) {
|
|
|
133531
133531
|
function ae(ue) {
|
|
133532
133532
|
var be = ue[1], Be = be.length, On = {}, ze = {}, En = {}, Tn = "animation-timing-function";
|
|
133533
133533
|
function Pn(Kn, za, Xr) {
|
|
133534
|
-
for (var Va = Kn.getTracks(), ya = Kn.getMaxTime(),
|
|
133535
|
-
var ca = Va[
|
|
133534
|
+
for (var Va = Kn.getTracks(), ya = Kn.getMaxTime(), li = 0; li < Va.length; li++) {
|
|
133535
|
+
var ca = Va[li];
|
|
133536
133536
|
if (ca.needsAnimate()) {
|
|
133537
133537
|
var Lr = ca.keyframes, Yr = ca.propName;
|
|
133538
133538
|
if (Xr && (Yr = Xr(Yr)), Yr)
|