iking-web-ui-pro 0.2.3 → 0.2.4
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/IKDetailPreviewFiles/ik.index.es.js +32 -32
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +28 -28
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +1 -0
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +30 -29
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +30 -30
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkOnlyOffice/ik.index.es.js +59 -58
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +61 -61
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +12 -11
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/ik.index.es.js +62 -62
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/index.es.js +578 -577
- package/dist/index.umd.js +27 -27
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -390,7 +390,7 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
390
390
|
a("handleChange", h);
|
|
391
391
|
}, x = ({
|
|
392
392
|
key: Q,
|
|
393
|
-
placeholder:
|
|
393
|
+
placeholder: me,
|
|
394
394
|
maxlength: ae,
|
|
395
395
|
minlength: Z,
|
|
396
396
|
disabled: Se
|
|
@@ -402,10 +402,10 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
402
402
|
minlength: Z,
|
|
403
403
|
disabled: Se,
|
|
404
404
|
onChange: () => _(),
|
|
405
|
-
placeholder:
|
|
405
|
+
placeholder: me || "全部"
|
|
406
406
|
}, null), k = ({
|
|
407
407
|
key: Q,
|
|
408
|
-
placeholder:
|
|
408
|
+
placeholder: me,
|
|
409
409
|
max: ae,
|
|
410
410
|
min: Z,
|
|
411
411
|
disabled: Se,
|
|
@@ -421,10 +421,10 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
421
421
|
precision: Et,
|
|
422
422
|
step: We,
|
|
423
423
|
onChange: () => _(),
|
|
424
|
-
placeholder:
|
|
424
|
+
placeholder: me || "全部"
|
|
425
425
|
}, null), F = ({
|
|
426
426
|
key: Q,
|
|
427
|
-
placeholder:
|
|
427
|
+
placeholder: me,
|
|
428
428
|
disabled: ae,
|
|
429
429
|
options: Z,
|
|
430
430
|
multiple: Se = !1,
|
|
@@ -437,7 +437,7 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
437
437
|
multiple: Se,
|
|
438
438
|
filterable: Et,
|
|
439
439
|
onChange: () => _(),
|
|
440
|
-
placeholder:
|
|
440
|
+
placeholder: me || "全部"
|
|
441
441
|
}, {
|
|
442
442
|
default: () => [Z == null ? void 0 : Z.map((We) => Ye(B7, {
|
|
443
443
|
key: We.value,
|
|
@@ -446,12 +446,12 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
446
446
|
}, null))]
|
|
447
447
|
}), P = ({
|
|
448
448
|
key: Q,
|
|
449
|
-
disabled:
|
|
449
|
+
disabled: me,
|
|
450
450
|
options: ae
|
|
451
451
|
}) => Ye(z7, {
|
|
452
452
|
modelValue: h.value[Q],
|
|
453
453
|
"onUpdate:modelValue": (Z) => h.value[Q] = Z,
|
|
454
|
-
disabled:
|
|
454
|
+
disabled: me,
|
|
455
455
|
onChange: () => _()
|
|
456
456
|
}, {
|
|
457
457
|
default: () => [ae == null ? void 0 : ae.map((Z) => Ye(V7, {
|
|
@@ -461,14 +461,14 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
461
461
|
}, null))]
|
|
462
462
|
}), V = ({
|
|
463
463
|
key: Q,
|
|
464
|
-
disabled:
|
|
464
|
+
disabled: me,
|
|
465
465
|
options: ae,
|
|
466
466
|
min: Z,
|
|
467
467
|
max: Se
|
|
468
468
|
}) => Ye(U7, {
|
|
469
469
|
modelValue: h.value[Q],
|
|
470
470
|
"onUpdate:modelValue": (Et) => h.value[Q] = Et,
|
|
471
|
-
disabled:
|
|
471
|
+
disabled: me,
|
|
472
472
|
max: Se,
|
|
473
473
|
min: Z,
|
|
474
474
|
onChange: () => _()
|
|
@@ -480,7 +480,7 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
480
480
|
}, null))]
|
|
481
481
|
}), ie = ({
|
|
482
482
|
key: Q,
|
|
483
|
-
disabled:
|
|
483
|
+
disabled: me,
|
|
484
484
|
editable: ae = !0,
|
|
485
485
|
startPlaceholder: Z = "开始日期",
|
|
486
486
|
endplaceholder: Se = "结束日期",
|
|
@@ -518,7 +518,7 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
518
518
|
"onUpdate:modelValue": (Zt) => h.value[Q] = Zt,
|
|
519
519
|
onChange: () => _(),
|
|
520
520
|
placeholder: q,
|
|
521
|
-
disabled:
|
|
521
|
+
disabled: me,
|
|
522
522
|
type: Et,
|
|
523
523
|
editable: ae,
|
|
524
524
|
startPlaceholder: Z,
|
|
@@ -533,7 +533,7 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
533
533
|
}, null);
|
|
534
534
|
}, te = ({
|
|
535
535
|
key: Q,
|
|
536
|
-
options:
|
|
536
|
+
options: me,
|
|
537
537
|
multiple: ae = !1,
|
|
538
538
|
filterable: Z = !0,
|
|
539
539
|
nodeKey: Se = "id",
|
|
@@ -551,7 +551,7 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
551
551
|
}) => Ye(dee, {
|
|
552
552
|
modelValue: h.value[Q],
|
|
553
553
|
"onUpdate:modelValue": ($) => h.value[Q] = $,
|
|
554
|
-
data:
|
|
554
|
+
data: me,
|
|
555
555
|
onChange: () => _(),
|
|
556
556
|
clearable: !0,
|
|
557
557
|
multiple: ae,
|
|
@@ -570,7 +570,7 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
570
570
|
accordion: Zt
|
|
571
571
|
}, null), z = ({
|
|
572
572
|
key: Q,
|
|
573
|
-
placeholder:
|
|
573
|
+
placeholder: me,
|
|
574
574
|
typeOption: ae,
|
|
575
575
|
_list: Z,
|
|
576
576
|
data: Se,
|
|
@@ -582,7 +582,7 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
582
582
|
props: l,
|
|
583
583
|
data: Se,
|
|
584
584
|
handSetChild: Et,
|
|
585
|
-
placeholder:
|
|
585
|
+
placeholder: me
|
|
586
586
|
}, null), re = (Q) => {
|
|
587
587
|
switch (Q.type) {
|
|
588
588
|
case "":
|
|
@@ -608,14 +608,14 @@ const Joe = /* @__PURE__ */ vo({
|
|
|
608
608
|
}
|
|
609
609
|
}, se = zo(() => {
|
|
610
610
|
const Q = [];
|
|
611
|
-
return y.forEach((
|
|
611
|
+
return y.forEach((me, ae) => {
|
|
612
612
|
let Z;
|
|
613
|
-
if (!
|
|
613
|
+
if (!me)
|
|
614
614
|
return [];
|
|
615
615
|
Q.push(Ye(t_, {
|
|
616
|
-
label:
|
|
617
|
-
prop:
|
|
618
|
-
}, Qoe(Z = re(
|
|
616
|
+
label: me.label,
|
|
617
|
+
prop: me.key
|
|
618
|
+
}, Qoe(Z = re(me)) ? Z : {
|
|
619
619
|
default: () => [Z]
|
|
620
620
|
}));
|
|
621
621
|
}), Q;
|
|
@@ -751,8 +751,8 @@ const Qs = (l, a) => {
|
|
|
751
751
|
const se = re.filter((Q) => !z.includes(Q));
|
|
752
752
|
if (se.length) {
|
|
753
753
|
let Q = !1;
|
|
754
|
-
se.forEach((
|
|
755
|
-
k.value[
|
|
754
|
+
se.forEach((me) => {
|
|
755
|
+
k.value[me] !== void 0 && (Q = !0), k.value[me] = void 0;
|
|
756
756
|
}), Q && h("search", k.value);
|
|
757
757
|
}
|
|
758
758
|
}), u.list.forEach((z, re) => {
|
|
@@ -830,7 +830,7 @@ const Qs = (l, a) => {
|
|
|
830
830
|
se != null && se.slot ? kr(z.$slots, se == null ? void 0 : se.slot, { key: 0 }, void 0, !0) : xt("v-if", !0),
|
|
831
831
|
se != null && se.slot ? xt("v-if", !0) : (ye(), Bn(ot(Joe), {
|
|
832
832
|
key: 1,
|
|
833
|
-
onHandleChange: re[3] || (re[3] = (
|
|
833
|
+
onHandleChange: re[3] || (re[3] = (me) => h("search", k.value)),
|
|
834
834
|
list: [l.list[Q]]
|
|
835
835
|
}, null, 8, ["list"])),
|
|
836
836
|
Q + 1 === V.value.length ? (ye(), Ue(
|
|
@@ -842,7 +842,7 @@ const Qs = (l, a) => {
|
|
|
842
842
|
class: "icon-more el-icon ml",
|
|
843
843
|
title: "查询",
|
|
844
844
|
icon: ot(kee),
|
|
845
|
-
onClick: re[4] || (re[4] = (
|
|
845
|
+
onClick: re[4] || (re[4] = (me) => h("search", k.value))
|
|
846
846
|
}, null, 8, ["icon"])) : xt("v-if", !0),
|
|
847
847
|
Ye(ot(Ip), {
|
|
848
848
|
icon: ot(SY),
|
|
@@ -997,7 +997,7 @@ const rse = /* @__PURE__ */ Qs(sse, [["__scopeId", "data-v-403809ec"]]), Qye = T
|
|
|
997
997
|
So,
|
|
998
998
|
null,
|
|
999
999
|
Kr(l.list, (re, se) => {
|
|
1000
|
-
var Q,
|
|
1000
|
+
var Q, me;
|
|
1001
1001
|
return ye(), Ue("div", {
|
|
1002
1002
|
class: "line-block",
|
|
1003
1003
|
key: se
|
|
@@ -1038,7 +1038,7 @@ const rse = /* @__PURE__ */ Qs(sse, [["__scopeId", "data-v-403809ec"]]), Qye = T
|
|
|
1038
1038
|
@click="changeShow(item, index)"\r
|
|
1039
1039
|
class="ikapprove icon-a-putongjiantoushouqi"\r
|
|
1040
1040
|
></i> `),
|
|
1041
|
-
(
|
|
1041
|
+
(me = re[l.propsField.children]) != null && me.length && re.show ? (ye(), Bn(ot(Hr), {
|
|
1042
1042
|
key: 1,
|
|
1043
1043
|
class: "ikapprove",
|
|
1044
1044
|
onClick: (ae) => ie(re, se),
|
|
@@ -1142,6 +1142,7 @@ const Dee = (l) => ({
|
|
|
1142
1142
|
//自选方式
|
|
1143
1143
|
singleApproval: "singleApproval",
|
|
1144
1144
|
//是否单选
|
|
1145
|
+
originator: "username",
|
|
1145
1146
|
...l.defaultFieldMap
|
|
1146
1147
|
},
|
|
1147
1148
|
// ================approval================
|
|
@@ -1337,8 +1338,8 @@ const Dee = (l) => ({
|
|
|
1337
1338
|
});
|
|
1338
1339
|
}
|
|
1339
1340
|
}, _ = (P) => {
|
|
1340
|
-
var Q,
|
|
1341
|
-
let V = document.createElement("div"), ie = document.getElementById("approveProcess"), te = 0, z = (Q = document.getElementById(`${P[0]}`)) == null ? void 0 : Q.offsetWidth, re = (
|
|
1341
|
+
var Q, me, ae;
|
|
1342
|
+
let V = document.createElement("div"), ie = document.getElementById("approveProcess"), te = 0, z = (Q = document.getElementById(`${P[0]}`)) == null ? void 0 : Q.offsetWidth, re = (me = document.getElementById(`${P[0]}`)) == null ? void 0 : me.offsetLeft, se = (ae = document.getElementById(`${P[0]}`)) == null ? void 0 : ae.offsetTop;
|
|
1342
1343
|
P.forEach((Z) => {
|
|
1343
1344
|
let Se = document.getElementById(`${Z}`);
|
|
1344
1345
|
te += Se.offsetHeight;
|
|
@@ -1388,7 +1389,7 @@ const Dee = (l) => ({
|
|
|
1388
1389
|
So,
|
|
1389
1390
|
null,
|
|
1390
1391
|
Kr(h.listData, (z, re) => {
|
|
1391
|
-
var se, Q,
|
|
1392
|
+
var se, Q, me, ae, Z, Se, Et, We, q, Re;
|
|
1392
1393
|
return ye(), Ue("div", {
|
|
1393
1394
|
class: "approveBlock",
|
|
1394
1395
|
id: z[h.defaultFile.nodeId],
|
|
@@ -1510,7 +1511,7 @@ const Dee = (l) => ({
|
|
|
1510
1511
|
])) : z[h.defaultFile.approvePersonList] ? (ye(), Ue(
|
|
1511
1512
|
"span",
|
|
1512
1513
|
Ose,
|
|
1513
|
-
En(`${(
|
|
1514
|
+
En(`${(me = z[h.defaultFile.approvePersonList]) == null ? void 0 : me.length}人${z[h.defaultFile.approveTypeName]}`),
|
|
1514
1515
|
1
|
|
1515
1516
|
/* TEXT */
|
|
1516
1517
|
)) : xt("v-if", !0)
|
|
@@ -1831,13 +1832,13 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
1831
1832
|
return re.includes("http") || re.includes("https") ? se = re : se = u.loadUrl ? `${u.loadUrl}${re}` : `${location.origin + location.pathname}server/oss/download?fileUrl=${re}`, se;
|
|
1832
1833
|
}, V = (re, se) => {
|
|
1833
1834
|
u.dataList[se].handList = re.list;
|
|
1834
|
-
let
|
|
1835
|
+
let me = (u.dataList[se][k.defaultFile.approvePersonList] || []).filter((Z) => !Z.canDele), ae = re.list.map((Z) => ({
|
|
1835
1836
|
...Z,
|
|
1836
1837
|
userName: Z.elementName,
|
|
1837
1838
|
userAvatar: Z.avatar,
|
|
1838
1839
|
canDele: !0
|
|
1839
1840
|
}));
|
|
1840
|
-
u.dataList[se][k.defaultFile.approvePersonList] =
|
|
1841
|
+
u.dataList[se][k.defaultFile.approvePersonList] = me.concat(ae);
|
|
1841
1842
|
}, ie = (re, se) => {
|
|
1842
1843
|
u.dataList[re][k.defaultFile.approvePersonList].splice(se, 1), u.dataList[re].handList = u.dataList[re][k.defaultFile.approvePersonList];
|
|
1843
1844
|
}, te = () => {
|
|
@@ -1875,11 +1876,11 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
1875
1876
|
(ye(!0), Ue(
|
|
1876
1877
|
So,
|
|
1877
1878
|
null,
|
|
1878
|
-
Kr(u.dataList, (
|
|
1879
|
+
Kr(u.dataList, (me, ae) => {
|
|
1879
1880
|
var Z, Se, Et, We;
|
|
1880
1881
|
return ye(), Ue("div", {
|
|
1881
1882
|
class: "content",
|
|
1882
|
-
key:
|
|
1883
|
+
key: me.id
|
|
1883
1884
|
}, [
|
|
1884
1885
|
xt(" 审批节点类型 "),
|
|
1885
1886
|
Oe("div", mre, [
|
|
@@ -1887,7 +1888,7 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
1887
1888
|
Oe(
|
|
1888
1889
|
"i",
|
|
1889
1890
|
{
|
|
1890
|
-
class: rr(ot(Ree)(k,
|
|
1891
|
+
class: rr(ot(Ree)(k, me[k.defaultFile.nodeType]))
|
|
1891
1892
|
},
|
|
1892
1893
|
null,
|
|
1893
1894
|
2
|
|
@@ -1905,26 +1906,26 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
1905
1906
|
/* STYLE */
|
|
1906
1907
|
)
|
|
1907
1908
|
]),
|
|
1908
|
-
|
|
1909
|
+
me[k.defaultFile.nodeType] !== k.nodeType.并行分支 ? (ye(), Ue("div", gre, [
|
|
1909
1910
|
Oe("div", null, [
|
|
1910
1911
|
Oe(
|
|
1911
1912
|
"div",
|
|
1912
1913
|
null,
|
|
1913
|
-
En(
|
|
1914
|
+
En(me[k.defaultFile.nodeTypeName]),
|
|
1914
1915
|
1
|
|
1915
1916
|
/* TEXT */
|
|
1916
1917
|
),
|
|
1917
1918
|
Oe("div", pre, [
|
|
1918
1919
|
xt(" 抄送节点 "),
|
|
1919
|
-
|
|
1920
|
-
|
|
1920
|
+
me[k.defaultFile.nodeType] == k.nodeType.抄送节点 ? (ye(), Ue("span", vre, [
|
|
1921
|
+
me[k.defaultFile.approvePersonList].length ? (ye(), Ue(
|
|
1921
1922
|
"span",
|
|
1922
1923
|
bre,
|
|
1923
|
-
En(`抄送${
|
|
1924
|
+
En(`抄送${me[k.defaultFile.approvePersonList].length}人`),
|
|
1924
1925
|
1
|
|
1925
1926
|
/* TEXT */
|
|
1926
1927
|
)) : xt("v-if", !0),
|
|
1927
|
-
|
|
1928
|
+
me[k.defaultFile.isShowAdd] ? (ye(), Ue("span", yre, ",可添加抄送人")) : xt("v-if", !0)
|
|
1928
1929
|
])) : (ye(), Ue(
|
|
1929
1930
|
So,
|
|
1930
1931
|
{ key: 1 },
|
|
@@ -1932,19 +1933,19 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
1932
1933
|
xt(" 审批节点 "),
|
|
1933
1934
|
Oe("span", null, [
|
|
1934
1935
|
xt(" 存在审批人时 "),
|
|
1935
|
-
(Z =
|
|
1936
|
+
(Z = me[k.defaultFile.approvePersonList]) != null && Z.length ? (ye(), Ue(
|
|
1936
1937
|
"span",
|
|
1937
1938
|
wre,
|
|
1938
|
-
En(((Se =
|
|
1939
|
+
En(((Se = me[k.defaultFile.approvePersonList]) == null ? void 0 : Se.length) == 1 ? "1人审批" : `${(Et = me[k.defaultFile.approvePersonList]) == null ? void 0 : Et.length}人${me[k.defaultFile.multiExecutorTypeName]}`),
|
|
1939
1940
|
1
|
|
1940
1941
|
/* TEXT */
|
|
1941
|
-
)) : [k.statusWithoutApprover.自动通过, k.statusWithoutApprover.自动拒绝].includes(
|
|
1942
|
+
)) : [k.statusWithoutApprover.自动通过, k.statusWithoutApprover.自动拒绝].includes(me[k.defaultFile.approveType]) ? (ye(), Ue(
|
|
1942
1943
|
"span",
|
|
1943
1944
|
Cre,
|
|
1944
|
-
En(
|
|
1945
|
+
En(me[k.defaultFile.approveTypeName]),
|
|
1945
1946
|
1
|
|
1946
1947
|
/* TEXT */
|
|
1947
|
-
)) :
|
|
1948
|
+
)) : me[k.defaultFile.executorEmptyStrategy] && me[k.defaultFile.executorEmpty] ? (ye(), Ue(
|
|
1948
1949
|
So,
|
|
1949
1950
|
{ key: 2 },
|
|
1950
1951
|
[
|
|
@@ -1954,7 +1955,7 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
1954
1955
|
Oe(
|
|
1955
1956
|
"span",
|
|
1956
1957
|
null,
|
|
1957
|
-
En(
|
|
1958
|
+
En(me[k.defaultFile.executorEmptyStrategy] == k.statusWithoutApprover.自动通过 ? "将自动通过" : me[k.defaultFile.executorEmptyStrategy] == k.statusWithoutApprover.自动转交管理员 ? "自动转交给管理员" : me[k.defaultFile.executorEmptyStrategy] == k.statusWithoutApprover.指定人员审批 ? `将自动转给指定成员${me[k.defaultFile.reserveExecutorUsers] && me[k.defaultFile.reserveExecutorUsers][0].userName}` : ""),
|
|
1958
1959
|
1
|
|
1959
1960
|
/* TEXT */
|
|
1960
1961
|
)
|
|
@@ -1962,13 +1963,13 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
1962
1963
|
],
|
|
1963
1964
|
2112
|
|
1964
1965
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1965
|
-
)) : [k.nodeType.并行分支, k.nodeType.子流程].includes(
|
|
1966
|
+
)) : [k.nodeType.并行分支, k.nodeType.子流程].includes(me[k.defaultFile.nodeType]) ? xt("v-if", !0) : (ye(), Ue(
|
|
1966
1967
|
"span",
|
|
1967
1968
|
{
|
|
1968
1969
|
key: 3,
|
|
1969
|
-
class: rr(
|
|
1970
|
+
class: rr(me.required ? "warn" : "")
|
|
1970
1971
|
},
|
|
1971
|
-
" 请选择" + En(
|
|
1972
|
+
" 请选择" + En(me[k.defaultFile.nodeType] === k.nodeType.办理节点 ? "办理人" : "审批人"),
|
|
1972
1973
|
3
|
|
1973
1974
|
/* TEXT, CLASS */
|
|
1974
1975
|
))
|
|
@@ -1983,7 +1984,7 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
1983
1984
|
(ye(!0), Ue(
|
|
1984
1985
|
So,
|
|
1985
1986
|
null,
|
|
1986
|
-
Kr(
|
|
1987
|
+
Kr(me[k.defaultFile.approvePersonList], (q, Re) => {
|
|
1987
1988
|
var He;
|
|
1988
1989
|
return ye(), Ue("div", {
|
|
1989
1990
|
class: "list",
|
|
@@ -2016,9 +2017,9 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
2016
2017
|
}, En(q.userName), 9, Tre)
|
|
2017
2018
|
]),
|
|
2018
2019
|
xt(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),
|
|
2019
|
-
|
|
2020
|
+
me[k.defaultFile.isShowAdd] && !(me[k.defaultFile.singleApproval] && ((He = me[k.defaultFile.approvePersonList]) == null ? void 0 : He.length) == 1) ? (ye(), Ue("span", Dre, [
|
|
2020
2021
|
xt(" 抄送默认 "),
|
|
2021
|
-
|
|
2022
|
+
me[k.defaultFile.nodeType] == k.nodeType.抄送节点 ? (ye(), Ue("span", Rre, "+")) : (ye(), Ue(
|
|
2022
2023
|
So,
|
|
2023
2024
|
{ key: 1 },
|
|
2024
2025
|
[
|
|
@@ -2026,7 +2027,7 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
2026
2027
|
Oe(
|
|
2027
2028
|
"span",
|
|
2028
2029
|
null,
|
|
2029
|
-
En(
|
|
2030
|
+
En(me[k.defaultFile.multiExecutorType] == "ANY" ? "/" : me[k.defaultFile.multiExecutorType] == "ALL" ? "+" : ">"),
|
|
2030
2031
|
1
|
|
2031
2032
|
/* TEXT */
|
|
2032
2033
|
)
|
|
@@ -2041,28 +2042,28 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
2041
2042
|
/* KEYED_FRAGMENT */
|
|
2042
2043
|
)),
|
|
2043
2044
|
xt(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 (item[state.defaultFile.isShowAdd] && "),
|
|
2044
|
-
|
|
2045
|
+
me[k.defaultFile.isShowAdd] && !(me[k.defaultFile.singleApproval] && ((We = me[k.defaultFile.approvePersonList]) == null ? void 0 : We.length) == 1) || me[k.defaultFile.isShowAddCopy] ? (ye(), Ue("span", {
|
|
2045
2046
|
key: 0,
|
|
2046
2047
|
class: "addBg",
|
|
2047
|
-
onClick: (q) => F(
|
|
2048
|
+
onClick: (q) => F(me)
|
|
2048
2049
|
}, [
|
|
2049
|
-
|
|
2050
|
+
me[k.defaultFile.nodeType] == k.nodeType.审批节点 ? (ye(), Ue("span", Mre)) : xt("v-if", !0),
|
|
2050
2051
|
Ire
|
|
2051
2052
|
], 8, Ore)) : xt("v-if", !0),
|
|
2052
2053
|
xt(" 添加人组件 "),
|
|
2053
2054
|
Ye(ot(OF), ha({
|
|
2054
|
-
modelValue:
|
|
2055
|
-
"onUpdate:modelValue": (q) =>
|
|
2056
|
-
show:
|
|
2057
|
-
"onUpdate:show": (q) =>
|
|
2055
|
+
modelValue: me.handList,
|
|
2056
|
+
"onUpdate:modelValue": (q) => me.handList = q,
|
|
2057
|
+
show: me.isShow,
|
|
2058
|
+
"onUpdate:show": (q) => me.isShow = q,
|
|
2058
2059
|
onOk: (q) => V(q, ae),
|
|
2059
|
-
multiple:
|
|
2060
|
-
"dep-list":
|
|
2061
|
-
"user-list":
|
|
2062
|
-
"organization-list":
|
|
2060
|
+
multiple: me.multiple,
|
|
2061
|
+
"dep-list": me.depList,
|
|
2062
|
+
"user-list": me.userList,
|
|
2063
|
+
"organization-list": me.organizationList,
|
|
2063
2064
|
ref_for: !0
|
|
2064
2065
|
}, z.value, {
|
|
2065
|
-
chooseType:
|
|
2066
|
+
chooseType: me.chooseType
|
|
2066
2067
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "show", "onUpdate:show", "onOk", "multiple", "dep-list", "user-list", "organization-list", "chooseType"])
|
|
2067
2068
|
])
|
|
2068
2069
|
])) : (ye(), Ue("div", Nre, [
|
|
@@ -2071,7 +2072,7 @@ const dre = /* @__PURE__ */ Qs(ure, [["__scopeId", "data-v-fbe9e6ef"]]), t2e = T
|
|
|
2071
2072
|
(ye(!0), Ue(
|
|
2072
2073
|
So,
|
|
2073
2074
|
null,
|
|
2074
|
-
Kr(
|
|
2075
|
+
Kr(me.parallelInstances, (q, Re) => (ye(), Ue(
|
|
2075
2076
|
"div",
|
|
2076
2077
|
{
|
|
2077
2078
|
key: Re,
|
|
@@ -2254,23 +2255,23 @@ function lF() {
|
|
|
2254
2255
|
lF.__r = 0;
|
|
2255
2256
|
}
|
|
2256
2257
|
function Hee(l, a, u, h, y, _, x, k, F, P) {
|
|
2257
|
-
var V, ie, te, z, re, se, Q,
|
|
2258
|
+
var V, ie, te, z, re, se, Q, me = h && h.__k || $ee, ae = me.length;
|
|
2258
2259
|
for (u.__k = [], V = 0; V < a.length; V++)
|
|
2259
2260
|
if ((z = u.__k[V] = (z = a[V]) == null || typeof z == "boolean" ? null : typeof z == "string" || typeof z == "number" || typeof z == "bigint" ? eF(null, z, null, null, z) : Array.isArray(z) ? eF(Sl, { children: z }, null, null, null) : z.__b > 0 ? eF(z.type, z.props, z.key, z.ref ? z.ref : null, z.__v) : z) != null) {
|
|
2260
|
-
if (z.__ = u, z.__b = u.__b + 1, (te =
|
|
2261
|
-
|
|
2261
|
+
if (z.__ = u, z.__b = u.__b + 1, (te = me[V]) === null || te && z.key == te.key && z.type === te.type)
|
|
2262
|
+
me[V] = void 0;
|
|
2262
2263
|
else
|
|
2263
2264
|
for (ie = 0; ie < ae; ie++) {
|
|
2264
|
-
if ((te =
|
|
2265
|
-
|
|
2265
|
+
if ((te = me[ie]) && z.key == te.key && z.type === te.type) {
|
|
2266
|
+
me[ie] = void 0;
|
|
2266
2267
|
break;
|
|
2267
2268
|
}
|
|
2268
2269
|
te = null;
|
|
2269
2270
|
}
|
|
2270
|
-
AY(l, z, te = te || aF, y, _, x, k, F, P), re = z.__e, (ie = z.ref) && te.ref != ie && (Q || (Q = []), te.ref && Q.push(te.ref, null, z), Q.push(ie, z.__c || re, z)), re != null ? (se == null && (se = re), typeof z.type == "function" && z.__k === te.__k ? z.__d = F = zee(z, F, l) : F = Vee(l, z, te,
|
|
2271
|
+
AY(l, z, te = te || aF, y, _, x, k, F, P), re = z.__e, (ie = z.ref) && te.ref != ie && (Q || (Q = []), te.ref && Q.push(te.ref, null, z), Q.push(ie, z.__c || re, z)), re != null ? (se == null && (se = re), typeof z.type == "function" && z.__k === te.__k ? z.__d = F = zee(z, F, l) : F = Vee(l, z, te, me, re, F), typeof u.type == "function" && (u.__d = F)) : F && te.__e == F && F.parentNode != l && (F = P7(te));
|
|
2271
2272
|
}
|
|
2272
2273
|
for (u.__e = se, V = ae; V--; )
|
|
2273
|
-
|
|
2274
|
+
me[V] != null && (typeof u.type == "function" && me[V].__e != null && me[V].__e == u.__d && (u.__d = Uee(h).nextSibling), Zee(me[V], me[V]));
|
|
2274
2275
|
if (Q)
|
|
2275
2276
|
for (V = 0; V < Q.length; V++)
|
|
2276
2277
|
jee(Q[V], Q[++V], Q[++V]);
|
|
@@ -2313,14 +2314,14 @@ function Uee(l) {
|
|
|
2313
2314
|
return null;
|
|
2314
2315
|
}
|
|
2315
2316
|
function AY(l, a, u, h, y, _, x, k, F) {
|
|
2316
|
-
var P, V, ie, te, z, re, se, Q,
|
|
2317
|
+
var P, V, ie, te, z, re, se, Q, me, ae, Z, Se, Et, We, q, Re = a.type;
|
|
2317
2318
|
if (a.constructor !== void 0)
|
|
2318
2319
|
return null;
|
|
2319
2320
|
u.__h != null && (F = u.__h, k = a.__e = u.__e, a.__h = null, _ = [k]), (P = Is.__b) && P(a);
|
|
2320
2321
|
try {
|
|
2321
2322
|
e:
|
|
2322
2323
|
if (typeof Re == "function") {
|
|
2323
|
-
if (Q = a.props,
|
|
2324
|
+
if (Q = a.props, me = (P = Re.contextType) && h[P.__c], ae = P ? me ? me.props.value : P.__ : h, u.__c ? se = (V = a.__c = u.__c).__ = V.__E : ("prototype" in Re && Re.prototype.render ? a.__c = V = new Re(Q, ae) : (a.__c = V = new uh(Q, ae), V.constructor = Re, V.render = jre), me && me.sub(V), V.props = Q, V.state || (V.state = {}), V.context = ae, V.__n = h, ie = V.__d = !0, V.__h = [], V._sb = []), V.__s == null && (V.__s = V.state), Re.getDerivedStateFromProps != null && (V.__s == V.state && (V.__s = _2({}, V.__s)), _2(V.__s, Re.getDerivedStateFromProps(Q, V.__s))), te = V.props, z = V.state, V.__v = a, ie)
|
|
2324
2325
|
Re.getDerivedStateFromProps == null && V.componentWillMount != null && V.componentWillMount(), V.componentDidMount != null && V.__h.push(V.componentDidMount);
|
|
2325
2326
|
else {
|
|
2326
2327
|
if (Re.getDerivedStateFromProps == null && Q !== te && V.componentWillReceiveProps != null && V.componentWillReceiveProps(Q, ae), !V.__e && V.shouldComponentUpdate != null && V.shouldComponentUpdate(Q, V.__s, ae) === !1 || a.__v === u.__v) {
|
|
@@ -5341,8 +5342,8 @@ function dle(l, a) {
|
|
|
5341
5342
|
function Tte(l, a, u, h, y, _, x) {
|
|
5342
5343
|
let { dateEnv: k, options: F } = u, { displayEventTime: P, displayEventEnd: V } = F, ie = l.eventRange.def, te = l.eventRange.instance;
|
|
5343
5344
|
P == null && (P = h !== !1), V == null && (V = y !== !1);
|
|
5344
|
-
let z = te.range.start, re = te.range.end, se = _ || l.start || l.eventRange.range.start, Q = x || l.end || l.eventRange.range.end,
|
|
5345
|
-
return P && !ie.allDay && (
|
|
5345
|
+
let z = te.range.start, re = te.range.end, se = _ || l.start || l.eventRange.range.start, Q = x || l.end || l.eventRange.range.end, me = ul(z).valueOf() === ul(se).valueOf(), ae = ul(D2(re, -1)).valueOf() === ul(D2(Q, -1)).valueOf();
|
|
5346
|
+
return P && !ie.allDay && (me || ae) ? (se = me ? z : se, Q = ae ? re : Q, V && ie.hasEnd ? k.formatRange(se, Q, a, {
|
|
5346
5347
|
forcedStartTzo: _ ? null : te.forcedStartTzo,
|
|
5347
5348
|
forcedEndTzo: x ? null : te.forcedEndTzo
|
|
5348
5349
|
}) : k.format(se, a, {
|
|
@@ -6272,15 +6273,15 @@ class Fte {
|
|
|
6272
6273
|
const se = u[re];
|
|
6273
6274
|
if (!y && se >= k + this.getEntryThickness(a))
|
|
6274
6275
|
break;
|
|
6275
|
-
let Q = h[re],
|
|
6276
|
+
let Q = h[re], me, ae = fY(Q, a.span.start, dY), Z = ae[0] + ae[1];
|
|
6276
6277
|
for (
|
|
6277
6278
|
;
|
|
6278
6279
|
// loop through entries that horizontally intersect
|
|
6279
|
-
(
|
|
6280
|
-
|
|
6280
|
+
(me = Q[Z]) && // but not past the whole entry list
|
|
6281
|
+
me.span.start < a.span.end;
|
|
6281
6282
|
) {
|
|
6282
|
-
let Se = se + this.getEntryThickness(
|
|
6283
|
-
Se > k && (k = Se, V =
|
|
6283
|
+
let Se = se + this.getEntryThickness(me);
|
|
6284
|
+
Se > k && (k = Se, V = me, F = re, P = Z), Se === k && (ie = Math.max(ie, _[a_(me)] + 1)), Z += 1;
|
|
6284
6285
|
}
|
|
6285
6286
|
}
|
|
6286
6287
|
let te = 0;
|
|
@@ -6675,13 +6676,13 @@ function Jle(l, a, u, h) {
|
|
|
6675
6676
|
h && (P = rb(P, h));
|
|
6676
6677
|
let V = Xie(l.eventStore, _.affectedEvents.instances), ie = V.defs, te = V.instances, z = bF(ie, l.eventUiBases);
|
|
6677
6678
|
for (let re in F) {
|
|
6678
|
-
let se = F[re], Q = se.range,
|
|
6679
|
-
if (!Gte(
|
|
6679
|
+
let se = F[re], Q = se.range, me = P[se.defId], ae = k[se.defId];
|
|
6680
|
+
if (!Gte(me.constraints, Q, V, l.businessHours, a))
|
|
6680
6681
|
return !1;
|
|
6681
6682
|
let { eventOverlap: Z } = a.options, Se = typeof Z == "function" ? Z : null;
|
|
6682
6683
|
for (let We in te) {
|
|
6683
6684
|
let q = te[We];
|
|
6684
|
-
if (FY(Q, q.range) && (z[q.defId].overlap === !1 && _.isEvent ||
|
|
6685
|
+
if (FY(Q, q.range) && (z[q.defId].overlap === !1 && _.isEvent || me.overlap === !1 || Se && !Se(
|
|
6685
6686
|
new Pl(a, ie[q.defId], q),
|
|
6686
6687
|
// still event
|
|
6687
6688
|
new Pl(a, ae, se)
|
|
@@ -6689,7 +6690,7 @@ function Jle(l, a, u, h) {
|
|
|
6689
6690
|
return !1;
|
|
6690
6691
|
}
|
|
6691
6692
|
let Et = y.eventStore;
|
|
6692
|
-
for (let We of
|
|
6693
|
+
for (let We of me.allows) {
|
|
6693
6694
|
let q = Object.assign(Object.assign({}, u), { range: se.range, allDay: ae.allDay }), Re = Et.defs[ae.defId], He = Et.instances[re], Ke;
|
|
6694
6695
|
if (Re ? Ke = new Pl(a, Re, He) : Ke = new Pl(a, ae), !We(UY(q, a), Ke))
|
|
6695
6696
|
return !1;
|
|
@@ -7851,40 +7852,40 @@ function IJ(l, a, u, h, y, _) {
|
|
|
7851
7852
|
}
|
|
7852
7853
|
function oue(l, a, u, h, y, _) {
|
|
7853
7854
|
let x = a.direction === "rtl", k = a.customButtons || {}, F = u.buttonText || {}, P = a.buttonText || {}, V = u.buttonHints || {}, ie = a.buttonHints || {}, te = l ? l.split(" ") : [], z = [], re = !1;
|
|
7854
|
-
return { widgets: te.map((Q) => Q.split(",").map((
|
|
7855
|
-
if (
|
|
7856
|
-
return re = !0, { buttonName:
|
|
7855
|
+
return { widgets: te.map((Q) => Q.split(",").map((me) => {
|
|
7856
|
+
if (me === "title")
|
|
7857
|
+
return re = !0, { buttonName: me };
|
|
7857
7858
|
let ae, Z, Se, Et, We, q;
|
|
7858
|
-
if (ae = k[
|
|
7859
|
+
if (ae = k[me])
|
|
7859
7860
|
Se = (Re) => {
|
|
7860
7861
|
ae.click && ae.click.call(Re.target, Re, Re.target);
|
|
7861
|
-
}, (Et = h.getCustomButtonIconClass(ae)) || (Et = h.getIconClass(
|
|
7862
|
-
else if (Z = y[
|
|
7863
|
-
z.push(
|
|
7864
|
-
_.changeView(
|
|
7865
|
-
}, (We = Z.buttonTextOverride) || (Et = h.getIconClass(
|
|
7862
|
+
}, (Et = h.getCustomButtonIconClass(ae)) || (Et = h.getIconClass(me, x)) || (We = ae.text), q = ae.hint || ae.text;
|
|
7863
|
+
else if (Z = y[me]) {
|
|
7864
|
+
z.push(me), Se = () => {
|
|
7865
|
+
_.changeView(me);
|
|
7866
|
+
}, (We = Z.buttonTextOverride) || (Et = h.getIconClass(me, x)) || (We = Z.buttonTextDefault);
|
|
7866
7867
|
let Re = Z.buttonTextOverride || Z.buttonTextDefault;
|
|
7867
7868
|
q = I7(
|
|
7868
7869
|
Z.buttonTitleOverride || Z.buttonTitleDefault || a.viewHint,
|
|
7869
|
-
[Re,
|
|
7870
|
+
[Re, me],
|
|
7870
7871
|
// view-name = buttonName
|
|
7871
7872
|
Re
|
|
7872
7873
|
);
|
|
7873
|
-
} else if (_[
|
|
7874
|
+
} else if (_[me])
|
|
7874
7875
|
if (Se = () => {
|
|
7875
|
-
_[
|
|
7876
|
-
}, (We = F[
|
|
7877
|
-
let Re =
|
|
7876
|
+
_[me]();
|
|
7877
|
+
}, (We = F[me]) || (Et = h.getIconClass(me, x)) || (We = P[me]), me === "prevYear" || me === "nextYear") {
|
|
7878
|
+
let Re = me === "prevYear" ? "prev" : "next";
|
|
7878
7879
|
q = I7(V[Re] || ie[Re], [
|
|
7879
7880
|
P.year || "year",
|
|
7880
7881
|
"year"
|
|
7881
|
-
], P[
|
|
7882
|
+
], P[me]);
|
|
7882
7883
|
} else
|
|
7883
|
-
q = (Re) => I7(V[
|
|
7884
|
+
q = (Re) => I7(V[me] || ie[me], [
|
|
7884
7885
|
P[Re] || Re,
|
|
7885
7886
|
Re
|
|
7886
|
-
], P[
|
|
7887
|
-
return { buttonName:
|
|
7887
|
+
], P[me]);
|
|
7888
|
+
return { buttonName: me, buttonClick: Se, buttonIcon: Et, buttonText: We, buttonHint: q };
|
|
7888
7889
|
})), viewsWithButtons: z, hasTitle: re };
|
|
7889
7890
|
}
|
|
7890
7891
|
class sue {
|
|
@@ -8187,7 +8188,7 @@ class xue {
|
|
|
8187
8188
|
this.data && this.data.dateProfileGenerator !== F.dateProfileGenerator && (ie = F.dateProfileGenerator.build(V)), V = Iie(V, a), ie = Uce(ie, a, V, F.dateProfileGenerator), (a.type === "PREV" || // TODO: move this logic into DateProfileGenerator
|
|
8188
8189
|
a.type === "NEXT" || // "
|
|
8189
8190
|
!sb(ie.currentRange, V)) && (V = ie.currentRange.start);
|
|
8190
|
-
let te = jce(h.eventSources, a, ie, P), z = Gie(h.eventStore, a, te, ie, P), se = ane(te) && !F.options.progressiveEventRendering && h.renderableEventStore || z, { eventUiSingleBase: Q, selectionConfig:
|
|
8191
|
+
let te = jce(h.eventSources, a, ie, P), z = Gie(h.eventStore, a, te, ie, P), se = ane(te) && !F.options.progressiveEventRendering && h.renderableEventStore || z, { eventUiSingleBase: Q, selectionConfig: me } = this.buildViewUiProps(P), ae = this.buildEventUiBySource(te), Z = this.buildEventUiBases(se.defs, Q, ae), Se = {
|
|
8191
8192
|
dynamicOptionOverrides: _,
|
|
8192
8193
|
currentViewType: k,
|
|
8193
8194
|
currentDate: V,
|
|
@@ -8195,7 +8196,7 @@ class xue {
|
|
|
8195
8196
|
eventSources: te,
|
|
8196
8197
|
eventStore: z,
|
|
8197
8198
|
renderableEventStore: se,
|
|
8198
|
-
selectionConfig:
|
|
8199
|
+
selectionConfig: me,
|
|
8199
8200
|
eventUiBases: Z,
|
|
8200
8201
|
businessHours: this.parseContextBusinessHours(P),
|
|
8201
8202
|
dateSelection: Qce(h.dateSelection, a),
|
|
@@ -9002,16 +9003,16 @@ function vne(l) {
|
|
|
9002
9003
|
return pne(l) + ":" + l.lastCol;
|
|
9003
9004
|
}
|
|
9004
9005
|
function nde(l, a, u, h, y, _, x) {
|
|
9005
|
-
let k = new rde((
|
|
9006
|
-
let ae = l[
|
|
9006
|
+
let k = new rde((me) => {
|
|
9007
|
+
let ae = l[me.index].eventRange.instance.instanceId + ":" + me.span.start + ":" + (me.span.end - 1);
|
|
9007
9008
|
return y[ae] || 1;
|
|
9008
9009
|
});
|
|
9009
9010
|
k.allowReslicing = !0, k.strictOrder = h, a === !0 || u === !0 ? (k.maxCoord = _, k.hiddenConsumes = !0) : typeof a == "number" ? k.maxStackCnt = a : typeof u == "number" && (k.maxStackCnt = u, k.hiddenConsumes = !0);
|
|
9010
9011
|
let F = [], P = [];
|
|
9011
|
-
for (let
|
|
9012
|
-
let ae = l[
|
|
9012
|
+
for (let me = 0; me < l.length; me += 1) {
|
|
9013
|
+
let ae = l[me], Z = vne(ae);
|
|
9013
9014
|
y[Z] != null ? F.push({
|
|
9014
|
-
index:
|
|
9015
|
+
index: me,
|
|
9015
9016
|
span: {
|
|
9016
9017
|
start: ae.firstCol,
|
|
9017
9018
|
end: ae.lastCol + 1
|
|
@@ -9019,27 +9020,27 @@ function nde(l, a, u, h, y, _, x) {
|
|
|
9019
9020
|
}) : P.push(ae);
|
|
9020
9021
|
}
|
|
9021
9022
|
let V = k.addSegs(F), ie = k.toRects(), { singleColPlacements: te, multiColPlacements: z, leftoverMargins: re } = ode(ie, l, x), se = [], Q = [];
|
|
9022
|
-
for (let
|
|
9023
|
-
z[
|
|
9024
|
-
seg:
|
|
9023
|
+
for (let me of P) {
|
|
9024
|
+
z[me.firstCol].push({
|
|
9025
|
+
seg: me,
|
|
9025
9026
|
isVisible: !1,
|
|
9026
9027
|
isAbsolute: !0,
|
|
9027
9028
|
absoluteTop: 0,
|
|
9028
9029
|
marginTop: 0
|
|
9029
9030
|
});
|
|
9030
|
-
for (let ae =
|
|
9031
|
+
for (let ae = me.firstCol; ae <= me.lastCol; ae += 1)
|
|
9031
9032
|
te[ae].push({
|
|
9032
|
-
seg: R4(
|
|
9033
|
+
seg: R4(me, ae, ae + 1, x),
|
|
9033
9034
|
isVisible: !1,
|
|
9034
9035
|
isAbsolute: !1,
|
|
9035
9036
|
absoluteTop: 0,
|
|
9036
9037
|
marginTop: 0
|
|
9037
9038
|
});
|
|
9038
9039
|
}
|
|
9039
|
-
for (let
|
|
9040
|
+
for (let me = 0; me < x.length; me += 1)
|
|
9040
9041
|
se.push(0);
|
|
9041
|
-
for (let
|
|
9042
|
-
let ae = l[
|
|
9042
|
+
for (let me of V) {
|
|
9043
|
+
let ae = l[me.index], Z = me.span;
|
|
9043
9044
|
z[Z.start].push({
|
|
9044
9045
|
seg: R4(ae, Z.start, Z.end, x),
|
|
9045
9046
|
isVisible: !1,
|
|
@@ -9056,8 +9057,8 @@ function nde(l, a, u, h, y, _, x) {
|
|
|
9056
9057
|
marginTop: 0
|
|
9057
9058
|
});
|
|
9058
9059
|
}
|
|
9059
|
-
for (let
|
|
9060
|
-
Q.push(re[
|
|
9060
|
+
for (let me = 0; me < x.length; me += 1)
|
|
9061
|
+
Q.push(re[me]);
|
|
9061
9062
|
return { singleColPlacements: te, multiColPlacements: z, moreCnts: se, moreMarginTops: Q };
|
|
9062
9063
|
}
|
|
9063
9064
|
function ode(l, a, u) {
|
|
@@ -9164,13 +9165,13 @@ class bne extends f0 {
|
|
|
9164
9165
|
{ ref: this.rootElRef, role: "row" },
|
|
9165
9166
|
a.renderIntro && a.renderIntro(),
|
|
9166
9167
|
a.cells.map((se, Q) => {
|
|
9167
|
-
let
|
|
9168
|
+
let me = this.renderFgSegs(Q, a.forPrint ? V[Q] : ie[Q], a.todayRange, re), ae = this.renderFgSegs(Q, ade(P[Q], ie), a.todayRange, {}, !!a.eventDrag, !!a.eventResize, !1);
|
|
9168
9169
|
return nt(Jue, { key: se.key, elRef: this.cellElRefs.createRef(se.key), innerElRef: this.frameElRefs.createRef(se.key), dateProfile: a.dateProfile, date: se.date, showDayNumber: a.showDayNumbers, showWeekNumber: a.showWeekNumbers && Q === 0, forceDayTop: a.showWeekNumbers, todayRange: a.todayRange, eventSelection: a.eventSelection, eventDrag: a.eventDrag, eventResize: a.eventResize, extraRenderProps: se.extraRenderProps, extraDataAttrs: se.extraDataAttrs, extraClassNames: se.extraClassNames, extraDateSpan: se.extraDateSpan, moreCnt: te[Q], moreMarginTop: z[Q], singlePlacements: V[Q], fgContentElRef: this.fgElRefs.createRef(se.key), fgContent: (
|
|
9169
9170
|
// Fragment scopes the keys
|
|
9170
9171
|
nt(
|
|
9171
9172
|
Sl,
|
|
9172
9173
|
null,
|
|
9173
|
-
nt(Sl, null,
|
|
9174
|
+
nt(Sl, null, me),
|
|
9174
9175
|
nt(Sl, null, ae)
|
|
9175
9176
|
)
|
|
9176
9177
|
), bgContent: (
|
|
@@ -9208,9 +9209,9 @@ class bne extends f0 {
|
|
|
9208
9209
|
let { context: F } = this, { eventSelection: P } = this.props, { framePositions: V } = this.state, ie = this.props.cells.length === 1, te = _ || x || k, z = [];
|
|
9209
9210
|
if (V)
|
|
9210
9211
|
for (let re of u) {
|
|
9211
|
-
let { seg: se } = re, { instanceId: Q } = se.eventRange.instance,
|
|
9212
|
+
let { seg: se } = re, { instanceId: Q } = se.eventRange.instance, me = re.isVisible && !y[Q], ae = re.isAbsolute, Z = "", Se = "";
|
|
9212
9213
|
ae && (F.isRtl ? (Se = 0, Z = V.lefts[se.lastCol] - V.lefts[se.firstCol]) : (Z = 0, Se = V.rights[se.firstCol] - V.rights[se.lastCol])), z.push(nt("div", { className: "fc-daygrid-event-harness" + (ae ? " fc-daygrid-event-harness-abs" : ""), key: pne(se), ref: te ? null : this.segHarnessRefs.createRef(vne(se)), style: {
|
|
9213
|
-
visibility:
|
|
9214
|
+
visibility: me ? "" : "hidden",
|
|
9214
9215
|
marginTop: ae ? "" : re.marginTop,
|
|
9215
9216
|
top: ae ? re.absoluteTop : "",
|
|
9216
9217
|
left: Z,
|
|
@@ -9793,8 +9794,8 @@ class xde extends f0 {
|
|
|
9793
9794
|
unit: re ? "minute" : "day"
|
|
9794
9795
|
/* hacky */
|
|
9795
9796
|
}, (Q) => {
|
|
9796
|
-
let
|
|
9797
|
-
return typeof
|
|
9797
|
+
let me = re && k && k.safeComputeTop(Q);
|
|
9798
|
+
return typeof me == "number" ? nt(JY, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: me }, isAxis: !0, date: Q }) : null;
|
|
9798
9799
|
})
|
|
9799
9800
|
)
|
|
9800
9801
|
)
|
|
@@ -10149,7 +10150,7 @@ class zde extends ri {
|
|
|
10149
10150
|
return k.forPrint ? Sne(a, k) : this.renderPositionedFgSegs(a, u, h, y, _, x);
|
|
10150
10151
|
}
|
|
10151
10152
|
renderPositionedFgSegs(a, u, h, y, _, x) {
|
|
10152
|
-
let { eventMaxStack: k, eventShortHeight: F, eventOrderStrict: P, eventMinHeight: V } = this.context.options, { date: ie, slatCoords: te, eventSelection: z, todayRange: re, nowDate: se } = this.props, Q = h || y || _,
|
|
10153
|
+
let { eventMaxStack: k, eventShortHeight: F, eventOrderStrict: P, eventMinHeight: V } = this.context.options, { date: ie, slatCoords: te, eventSelection: z, todayRange: re, nowDate: se } = this.props, Q = h || y || _, me = HJ(a, ie, te, V), { segPlacements: ae, hiddenGroups: Z } = Lde(a, me, P, k);
|
|
10153
10154
|
return nt(
|
|
10154
10155
|
Sl,
|
|
10155
10156
|
null,
|
|
@@ -10334,7 +10335,7 @@ class jde extends f0 {
|
|
|
10334
10335
|
queryHit(a, u) {
|
|
10335
10336
|
let { dateEnv: h, options: y } = this.context, { colCoords: _ } = this, { dateProfile: x } = this.props, { slatCoords: k } = this.state, { snapDuration: F, snapsPerSlot: P } = this.processSlotOptions(this.props.slotDuration, y.snapDuration), V = _.leftToIndex(a), ie = k.positions.topToIndex(u);
|
|
10336
10337
|
if (V != null && ie != null) {
|
|
10337
|
-
let te = this.props.cells[V], z = k.positions.tops[ie], re = k.positions.getHeight(ie), se = (u - z) / re, Q = Math.floor(se * P),
|
|
10338
|
+
let te = this.props.cells[V], z = k.positions.tops[ie], re = k.positions.getHeight(ie), se = (u - z) / re, Q = Math.floor(se * P), me = ie * P + Q, ae = this.props.cells[V].date, Z = sY(x.slotMinTime, Mae(F, me)), Se = h.add(ae, Z), Et = h.add(Se, F);
|
|
10338
10339
|
return {
|
|
10339
10340
|
dateProfile: x,
|
|
10340
10341
|
dateSpan: Object.assign({ range: { start: Se, end: Et }, allDay: !1 }, te.extraDateSpan),
|
|
@@ -11063,14 +11064,14 @@ class q7 extends F4 {
|
|
|
11063
11064
|
view: F
|
|
11064
11065
|
}), V) {
|
|
11065
11066
|
if (P === k) {
|
|
11066
|
-
let
|
|
11067
|
+
let me = new Pl(k, se.defs[ie.defId], te ? se.instances[te.instanceId] : null);
|
|
11067
11068
|
k.dispatch({
|
|
11068
11069
|
type: "MERGE_EVENTS",
|
|
11069
11070
|
eventStore: se
|
|
11070
11071
|
});
|
|
11071
11072
|
let ae = {
|
|
11072
11073
|
oldEvent: z,
|
|
11073
|
-
event:
|
|
11074
|
+
event: me,
|
|
11074
11075
|
relatedEvents: r_(se, k, te),
|
|
11075
11076
|
revert() {
|
|
11076
11077
|
k.dispatch({
|
|
@@ -11084,7 +11085,7 @@ class q7 extends F4 {
|
|
|
11084
11085
|
Object.assign(Z, Se(V, k));
|
|
11085
11086
|
k.emitter.trigger("eventDrop", Object.assign(Object.assign(Object.assign({}, ae), Z), { el: x.subjectEl, delta: V.datesDelta, jsEvent: x.origEvent, view: F })), k.emitter.trigger("eventChange", ae);
|
|
11086
11087
|
} else if (P) {
|
|
11087
|
-
let
|
|
11088
|
+
let me = {
|
|
11088
11089
|
event: z,
|
|
11089
11090
|
relatedEvents: r_(re, k, te),
|
|
11090
11091
|
revert() {
|
|
@@ -11094,10 +11095,10 @@ class q7 extends F4 {
|
|
|
11094
11095
|
});
|
|
11095
11096
|
}
|
|
11096
11097
|
};
|
|
11097
|
-
k.emitter.trigger("eventLeave", Object.assign(Object.assign({},
|
|
11098
|
+
k.emitter.trigger("eventLeave", Object.assign(Object.assign({}, me), { draggedEl: x.subjectEl, view: F })), k.dispatch({
|
|
11098
11099
|
type: "REMOVE_EVENTS",
|
|
11099
11100
|
eventStore: re
|
|
11100
|
-
}), k.emitter.trigger("eventRemove",
|
|
11101
|
+
}), k.emitter.trigger("eventRemove", me);
|
|
11101
11102
|
let ae = se.defs[ie.defId], Z = se.instances[te.instanceId], Se = new Pl(P, ae, Z);
|
|
11102
11103
|
P.dispatch({
|
|
11103
11104
|
type: "MERGE_EVENTS",
|
|
@@ -11395,8 +11396,8 @@ const K7 = (l) => (Bp("data-v-1fa0e0e1"), l = l(), Pp(), l), kfe = { class: "dem
|
|
|
11395
11396
|
setup(l, { emit: a }) {
|
|
11396
11397
|
const u = a, h = (se) => {
|
|
11397
11398
|
if (k.selectInfo = se, _(), se.view.type == "dayGridMonth") {
|
|
11398
|
-
let
|
|
11399
|
-
k.timeType = "month", k.form.startDate = kc.toYMD(se.start), k.form.endDate = kc.toYMD(new Date(
|
|
11399
|
+
let me = se.end.getTime() - 864e5;
|
|
11400
|
+
k.timeType = "month", k.form.startDate = kc.toYMD(se.start), k.form.endDate = kc.toYMD(new Date(me));
|
|
11400
11401
|
} else
|
|
11401
11402
|
se.view.type == "timeGridWeek" ? (k.timeType = "week", k.form.startDate = kc.toYMDHM(se.start), k.form.endDate = kc.toYMDHM(se.end)) : se.view.type == "timeGridDay" && (k.timeType = "day", k.form.startDate = kc.toYMD(se.start), k.form.endDate = kc.toYMD(se.start), k.form.startTime = kc.toDateTime(se.start), k.form.endTime = kc.toDateTime(se.end));
|
|
11402
11403
|
se.view.calendar.unselect(), If(() => {
|
|
@@ -11494,8 +11495,8 @@ const K7 = (l) => (Bp("data-v-1fa0e0e1"), l = l(), Pp(), l), kfe = { class: "dem
|
|
|
11494
11495
|
location: ""
|
|
11495
11496
|
}, k.dialogVisible = !1;
|
|
11496
11497
|
}, P = async () => {
|
|
11497
|
-
var
|
|
11498
|
-
let se = (ae = (
|
|
11498
|
+
var me, ae, Z, Se;
|
|
11499
|
+
let se = (ae = (me = k.selectInfo) == null ? void 0 : me.view) == null ? void 0 : ae.calendar, Q = {
|
|
11499
11500
|
id: (/* @__PURE__ */ new Date()).getTime(),
|
|
11500
11501
|
title: k.form.title,
|
|
11501
11502
|
start: (Z = k.selectInfo) == null ? void 0 : Z.startStr,
|
|
@@ -11524,7 +11525,7 @@ const K7 = (l) => (Bp("data-v-1fa0e0e1"), l = l(), Pp(), l), kfe = { class: "dem
|
|
|
11524
11525
|
k.form.personList.splice(se, 1), k.handList = k.form.personList;
|
|
11525
11526
|
};
|
|
11526
11527
|
return (se, Q) => {
|
|
11527
|
-
const
|
|
11528
|
+
const me = Lo("el-checkbox");
|
|
11528
11529
|
return ye(), Ue("div", kfe, [
|
|
11529
11530
|
Oe("div", Tfe, [
|
|
11530
11531
|
Ye(ot(dne), {
|
|
@@ -11708,7 +11709,7 @@ const K7 = (l) => (Bp("data-v-1fa0e0e1"), l = l(), Pp(), l), kfe = { class: "dem
|
|
|
11708
11709
|
format: "HH:mm"
|
|
11709
11710
|
}, null, 8, ["modelValue"])
|
|
11710
11711
|
])),
|
|
11711
|
-
Ye(
|
|
11712
|
+
Ye(me, {
|
|
11712
11713
|
modelValue: k.allDay,
|
|
11713
11714
|
"onUpdate:modelValue": Q[10] || (Q[10] = (ae) => k.allDay = ae),
|
|
11714
11715
|
label: "全天",
|
|
@@ -11867,27 +11868,27 @@ const Zfe = /* @__PURE__ */ Qs(jfe, [["__scopeId", "data-v-1fa0e0e1"]]), s2e = T
|
|
|
11867
11868
|
si(
|
|
11868
11869
|
() => u.active,
|
|
11869
11870
|
(se) => {
|
|
11870
|
-
let Q = document.getElementById("stepItemContent"),
|
|
11871
|
-
const Z =
|
|
11872
|
-
Q &&
|
|
11871
|
+
let Q = document.getElementById("stepItemContent"), me = document.getElementById(`stepItem${se}`), ae = document.getElementById("stepItem0");
|
|
11872
|
+
const Z = me && ae ? (me == null ? void 0 : me.offsetLeft) - (ae == null ? void 0 : ae.offsetLeft) : 0;
|
|
11873
|
+
Q && me && (Q.scrollLeft = Z > (Q == null ? void 0 : Q.clientWidth) ? Z - (Q == null ? void 0 : Q.offsetLeft) : 0);
|
|
11873
11874
|
}
|
|
11874
11875
|
), ib(() => {
|
|
11875
11876
|
If(() => {
|
|
11876
|
-
let Q = document.getElementById("stepItemContent"),
|
|
11877
|
-
y.value =
|
|
11877
|
+
let Q = document.getElementById("stepItemContent"), me = (Q == null ? void 0 : Q.scrollWidth) > (Q == null ? void 0 : Q.clientWidth);
|
|
11878
|
+
y.value = me, window.addEventListener("resize", se, !0);
|
|
11878
11879
|
});
|
|
11879
11880
|
const se = () => {
|
|
11880
|
-
let Q = document.getElementById("stepItemContent"),
|
|
11881
|
-
y.value =
|
|
11881
|
+
let Q = document.getElementById("stepItemContent"), me = (Q == null ? void 0 : Q.scrollWidth) > (Q == null ? void 0 : Q.clientWidth);
|
|
11882
|
+
y.value = me;
|
|
11882
11883
|
};
|
|
11883
11884
|
});
|
|
11884
11885
|
const F = (se, Q) => {
|
|
11885
11886
|
if (!u.needClick)
|
|
11886
11887
|
return;
|
|
11887
11888
|
h("update:active", Q), h("click", se);
|
|
11888
|
-
let
|
|
11889
|
+
let me = document.getElementById("stepItemContent"), ae = document.getElementById(`stepItem${Q}`), Z = document.getElementById("stepItem0");
|
|
11889
11890
|
const Se = ae && Z ? (ae == null ? void 0 : ae.offsetLeft) - (Z == null ? void 0 : Z.offsetLeft) : 0;
|
|
11890
|
-
|
|
11891
|
+
me && ae && (me.scrollLeft = Se > (me == null ? void 0 : me.clientWidth) ? Se - (me == null ? void 0 : me.offsetLeft) : 0);
|
|
11891
11892
|
}, P = () => {
|
|
11892
11893
|
let se = document.getElementById("stepItemContent");
|
|
11893
11894
|
se && (se.scrollLeft = se.scrollLeft - 20);
|
|
@@ -11912,7 +11913,7 @@ const Zfe = /* @__PURE__ */ Qs(jfe, [["__scopeId", "data-v-1fa0e0e1"]]), s2e = T
|
|
|
11912
11913
|
clearInterval(_.value), k.value || V();
|
|
11913
11914
|
};
|
|
11914
11915
|
return (se, Q) => {
|
|
11915
|
-
const
|
|
11916
|
+
const me = Lo("el-icon");
|
|
11916
11917
|
return ye(), Ue("div", Gfe, [
|
|
11917
11918
|
Oe("div", qfe, [
|
|
11918
11919
|
y.value ? (ye(), Ue(
|
|
@@ -11925,7 +11926,7 @@ const Zfe = /* @__PURE__ */ Qs(jfe, [["__scopeId", "data-v-1fa0e0e1"]]), s2e = T
|
|
|
11925
11926
|
onClick: P
|
|
11926
11927
|
},
|
|
11927
11928
|
[
|
|
11928
|
-
Ye(
|
|
11929
|
+
Ye(me, { class: "operation-icon" }, {
|
|
11929
11930
|
default: It(() => [
|
|
11930
11931
|
Ye(ot(wee), { size: "26px" })
|
|
11931
11932
|
]),
|
|
@@ -12010,7 +12011,7 @@ const Zfe = /* @__PURE__ */ Qs(jfe, [["__scopeId", "data-v-1fa0e0e1"]]), s2e = T
|
|
|
12010
12011
|
onClick: V
|
|
12011
12012
|
},
|
|
12012
12013
|
[
|
|
12013
|
-
Ye(
|
|
12014
|
+
Ye(me, { class: "operation-icon" }, {
|
|
12014
12015
|
default: It(() => [
|
|
12015
12016
|
Ye(ot(Cee))
|
|
12016
12017
|
]),
|
|
@@ -12886,7 +12887,7 @@ const sX = Tr(ahe), ihe = /* @__PURE__ */ vo({
|
|
|
12886
12887
|
}), k = (P) => {
|
|
12887
12888
|
var V, ie, te, z, re, se, Q;
|
|
12888
12889
|
try {
|
|
12889
|
-
const
|
|
12890
|
+
const me = ((V = P == null ? void 0 : P.response) == null ? void 0 : V.data) || P, ae = me[h.value.url] || (me == null ? void 0 : me.id) || me.attachmentId, Z = (ie = me[h.value.suffix] || me.attachmentSuffix) == null ? void 0 : ie.toLowerCase(), Se = me[h.value.name] || (me == null ? void 0 : me.attachmentName) || (me == null ? void 0 : me.originName);
|
|
12890
12891
|
if (_.value = {
|
|
12891
12892
|
...P,
|
|
12892
12893
|
name: P[h.value.name],
|
|
@@ -12917,8 +12918,8 @@ const sX = Tr(ahe), ihe = /* @__PURE__ */ vo({
|
|
|
12917
12918
|
};
|
|
12918
12919
|
return;
|
|
12919
12920
|
}
|
|
12920
|
-
} catch (
|
|
12921
|
-
console.info("预览错误: ",
|
|
12921
|
+
} catch (me) {
|
|
12922
|
+
console.info("预览错误: ", me);
|
|
12922
12923
|
}
|
|
12923
12924
|
};
|
|
12924
12925
|
si([u, a.file], ([P, V]) => {
|
|
@@ -12963,8 +12964,7 @@ const sX = Tr(ahe), ihe = /* @__PURE__ */ vo({
|
|
|
12963
12964
|
default: It(() => [
|
|
12964
12965
|
Ye(ot(Uye), {
|
|
12965
12966
|
"config-options": y.value,
|
|
12966
|
-
"document-server-url": l.onlyOfficeConfig.serverUrl || l.onlyofficeServer
|
|
12967
|
-
mode: "view"
|
|
12967
|
+
"document-server-url": l.onlyOfficeConfig.serverUrl || l.onlyofficeServer
|
|
12968
12968
|
}, null, 8, ["config-options", "document-server-url"])
|
|
12969
12969
|
]),
|
|
12970
12970
|
_: 1
|
|
@@ -13179,7 +13179,7 @@ const One = Tr(ihe), lhe = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwA
|
|
|
13179
13179
|
showClose: !0,
|
|
13180
13180
|
duration: 5e3
|
|
13181
13181
|
}), h("exceed", He);
|
|
13182
|
-
},
|
|
13182
|
+
}, me = (He, Ke, Ce) => {
|
|
13183
13183
|
h("success", He, Ke, Ce);
|
|
13184
13184
|
}, ae = (He, Ke, Ce) => {
|
|
13185
13185
|
P.value.push(Ke), h("error", He, Ke, Ce);
|
|
@@ -13238,7 +13238,7 @@ const One = Tr(ihe), lhe = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwA
|
|
|
13238
13238
|
multiple: l.multiple,
|
|
13239
13239
|
headers: l.headers,
|
|
13240
13240
|
limit: l.limit,
|
|
13241
|
-
"on-success":
|
|
13241
|
+
"on-success": me,
|
|
13242
13242
|
"on-error": ae
|
|
13243
13243
|
}), {
|
|
13244
13244
|
trigger: It(() => [
|
|
@@ -13481,7 +13481,7 @@ const One = Tr(ihe), lhe = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwA
|
|
|
13481
13481
|
multiple: l.multiple,
|
|
13482
13482
|
headers: l.headers,
|
|
13483
13483
|
limit: l.limit,
|
|
13484
|
-
"on-success":
|
|
13484
|
+
"on-success": me,
|
|
13485
13485
|
"on-error": ae,
|
|
13486
13486
|
"on-change": z
|
|
13487
13487
|
}), {
|
|
@@ -13925,7 +13925,7 @@ const Xhe = /* @__PURE__ */ Qs(Lhe, [["render", Yhe]]), Mne = (l) => (Bp("data-v
|
|
|
13925
13925
|
}, se = () => !1, Q = (Ke, Ce) => {
|
|
13926
13926
|
var fe, cn;
|
|
13927
13927
|
Ke.status = "ready", Ce !== void 0 && P.value.splice(Ce, 1), (fe = k.value) == null || fe.handleStart(Ke.raw), (cn = k.value) == null || cn.submit();
|
|
13928
|
-
},
|
|
13928
|
+
}, me = (Ke, Ce) => {
|
|
13929
13929
|
var Zt, $;
|
|
13930
13930
|
const fe = h.value.length, cn = u.limit - fe;
|
|
13931
13931
|
let gn = 0;
|
|
@@ -13972,7 +13972,7 @@ const Xhe = /* @__PURE__ */ Qs(Lhe, [["render", Yhe]]), Mne = (l) => (Bp("data-v
|
|
|
13972
13972
|
"on-change": z,
|
|
13973
13973
|
"before-upload": re,
|
|
13974
13974
|
"before-remove": se,
|
|
13975
|
-
"on-exceed":
|
|
13975
|
+
"on-exceed": me,
|
|
13976
13976
|
"on-success": ae,
|
|
13977
13977
|
"on-error": Z,
|
|
13978
13978
|
drag: ""
|
|
@@ -14370,12 +14370,12 @@ const uge = /* @__PURE__ */ Qs(cge, [["__scopeId", "data-v-36907cf1"]]), i2e = T
|
|
|
14370
14370
|
}), si(() => y.value, () => {
|
|
14371
14371
|
se();
|
|
14372
14372
|
});
|
|
14373
|
-
const
|
|
14373
|
+
const me = () => {
|
|
14374
14374
|
var ae;
|
|
14375
14375
|
re.value = (ae = x.value) == null ? void 0 : ae.getApi();
|
|
14376
14376
|
};
|
|
14377
14377
|
return ib(() => {
|
|
14378
|
-
|
|
14378
|
+
me();
|
|
14379
14379
|
}), (ae, Z) => {
|
|
14380
14380
|
const Se = Lo("el-tooltip"), Et = Lo("el-icon");
|
|
14381
14381
|
return ye(), Ue("div", vge, [
|
|
@@ -14766,7 +14766,7 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
14766
14766
|
}, re = () => {
|
|
14767
14767
|
var Re;
|
|
14768
14768
|
(Re = P.value) == null || Re.today(), ie();
|
|
14769
|
-
}, se = (Re) => F.currentView === Re, Q = kn(null),
|
|
14769
|
+
}, se = (Re) => F.currentView === Re, Q = kn(null), me = {
|
|
14770
14770
|
createDefaultForm: () => ({
|
|
14771
14771
|
title: "",
|
|
14772
14772
|
allDay: !1,
|
|
@@ -14790,7 +14790,7 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
14790
14790
|
start: (Ke = ae.selectInfo) == null ? void 0 : Ke.startStr,
|
|
14791
14791
|
end: (Ce = ae.selectInfo) == null ? void 0 : Ce.endStr
|
|
14792
14792
|
};
|
|
14793
|
-
|
|
14793
|
+
me.operation(He), me.close();
|
|
14794
14794
|
},
|
|
14795
14795
|
operation: (Re) => {
|
|
14796
14796
|
var He;
|
|
@@ -14826,11 +14826,11 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
14826
14826
|
const Ce = kc.toDate(ae.form.startDate), fe = kc.toDateTime(ae.form.startTime).substring(10), cn = kc.toDateTime(ae.form.endTime).substring(10);
|
|
14827
14827
|
Re.start = `${Ce}${fe}`, Re.end = `${Ce}${cn}`, Re.extendedProps.startTime = Re.start, Re.extendedProps.endTime = Re.end;
|
|
14828
14828
|
}
|
|
14829
|
-
|
|
14829
|
+
me.operation(Re), me.close();
|
|
14830
14830
|
},
|
|
14831
14831
|
reset: () => {
|
|
14832
14832
|
var Re;
|
|
14833
|
-
ae.form =
|
|
14833
|
+
ae.form = me.createDefaultForm(), (Re = Q.value) == null || Re.clearValidate();
|
|
14834
14834
|
},
|
|
14835
14835
|
edit: () => {
|
|
14836
14836
|
ae.editable = !0, ae.title = "编辑日程";
|
|
@@ -14848,7 +14848,7 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
14848
14848
|
title: "",
|
|
14849
14849
|
visible: !1,
|
|
14850
14850
|
allDay: !1,
|
|
14851
|
-
form:
|
|
14851
|
+
form: me.createDefaultForm(),
|
|
14852
14852
|
// 可编辑状态
|
|
14853
14853
|
editable: !1,
|
|
14854
14854
|
//
|
|
@@ -14860,7 +14860,7 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
14860
14860
|
}
|
|
14861
14861
|
}), Se = (Re) => {
|
|
14862
14862
|
var He;
|
|
14863
|
-
if (ae.form.allDay = Re.allDay, ae.selectInfo = Re,
|
|
14863
|
+
if (ae.form.allDay = Re.allDay, ae.selectInfo = Re, me.reset(), Re.view.type == "dayGridMonth") {
|
|
14864
14864
|
let Ke = Re.end.getTime() - 864e5;
|
|
14865
14865
|
F.timeType = "month", ae.form.startDate = kc.toYMD(Re.start), ae.form.endDate = kc.toYMD(new Date(Ke)), ae.form.allDay = !0;
|
|
14866
14866
|
} else
|
|
@@ -14871,18 +14871,18 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
14871
14871
|
}, Et = (Re) => {
|
|
14872
14872
|
ae.title = "日程信息", ae.operation = "update", ae.clickInfo = Re, ae.editEvent = Re.event;
|
|
14873
14873
|
debugger;
|
|
14874
|
-
ae.editEvent.allDay ? (ae.form.startDate = ae.editEvent.startStr, ae.form.endDate = ae.editEvent.startStr) : (ae.form.startDate = ae.editEvent.startStr, ae.form.startTime = ae.editEvent.start, ae.form.endTime = ae.editEvent.end), ae.form.title = ae.editEvent.title, ae.form.allDay = ae.editEvent.allDay, boe.copyValue(ae.form, ae.editEvent.extendedProps),
|
|
14874
|
+
ae.editEvent.allDay ? (ae.form.startDate = ae.editEvent.startStr, ae.form.endDate = ae.editEvent.startStr) : (ae.form.startDate = ae.editEvent.startStr, ae.form.startTime = ae.editEvent.start, ae.form.endTime = ae.editEvent.end), ae.form.title = ae.editEvent.title, ae.form.allDay = ae.editEvent.allDay, boe.copyValue(ae.form, ae.editEvent.extendedProps), me.cancelEdit(), Z.value = !0, y("editOpen", JSON.parse(JSON.stringify(ae)));
|
|
14875
14875
|
}, We = (Re) => {
|
|
14876
14876
|
pee.confirm(`你确定删除事件 ${Re.event.title} ?`, "提示", {
|
|
14877
14877
|
confirmButtonText: "确定",
|
|
14878
14878
|
cancelButtonText: "取消",
|
|
14879
14879
|
type: "warning"
|
|
14880
14880
|
}).then(() => {
|
|
14881
|
-
|
|
14881
|
+
me.close(), y("submitDelete", Re.event.id);
|
|
14882
14882
|
});
|
|
14883
14883
|
};
|
|
14884
14884
|
return a({
|
|
14885
|
-
customSubmit: (Re) =>
|
|
14885
|
+
customSubmit: (Re) => me.customSubmit(Re)
|
|
14886
14886
|
}), ib(() => {
|
|
14887
14887
|
ie();
|
|
14888
14888
|
}), (Re, He) => {
|
|
@@ -15017,12 +15017,12 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
15017
15017
|
key: 1,
|
|
15018
15018
|
style: { "margin-left": "4px" },
|
|
15019
15019
|
name: "iksvg_qiehuan-daohang",
|
|
15020
|
-
onClick:
|
|
15020
|
+
onClick: me.cancelEdit
|
|
15021
15021
|
}, null, 8, ["onClick"])) : (ye(), Bn(ot(Hr), {
|
|
15022
15022
|
key: 0,
|
|
15023
15023
|
style: { "margin-left": "4px" },
|
|
15024
15024
|
name: "iksvg_xiugai",
|
|
15025
|
-
onClick:
|
|
15025
|
+
onClick: me.edit
|
|
15026
15026
|
}, null, 8, ["onClick"]))
|
|
15027
15027
|
])) : xt("v-if", !0)
|
|
15028
15028
|
])
|
|
@@ -15032,7 +15032,7 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
15032
15032
|
kr(Re.$slots, "form-footer", {}, () => [
|
|
15033
15033
|
Oe("span", null, [
|
|
15034
15034
|
Ye(Ke, {
|
|
15035
|
-
onClick:
|
|
15035
|
+
onClick: me.close
|
|
15036
15036
|
}, {
|
|
15037
15037
|
default: It(() => [
|
|
15038
15038
|
hs("取消")
|
|
@@ -15041,7 +15041,7 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
15041
15041
|
/* STABLE */
|
|
15042
15042
|
}, 8, ["onClick"]),
|
|
15043
15043
|
Ye(Ke, {
|
|
15044
|
-
onClick:
|
|
15044
|
+
onClick: me.del
|
|
15045
15045
|
}, {
|
|
15046
15046
|
default: It(() => [
|
|
15047
15047
|
hs("删除")
|
|
@@ -15051,7 +15051,7 @@ const Pge = /* @__PURE__ */ Qs(Bge, [["__scopeId", "data-v-7d95dbf5"]]), Hr = Tr
|
|
|
15051
15051
|
}, 8, ["onClick"]),
|
|
15052
15052
|
Ye(Ke, {
|
|
15053
15053
|
type: "primary",
|
|
15054
|
-
onClick:
|
|
15054
|
+
onClick: me.submit
|
|
15055
15055
|
}, {
|
|
15056
15056
|
default: It(() => [
|
|
15057
15057
|
hs("确定")
|
|
@@ -15407,7 +15407,7 @@ const ope = /* @__PURE__ */ vo({
|
|
|
15407
15407
|
onBlur: () => z()
|
|
15408
15408
|
}, dt, {
|
|
15409
15409
|
placeholder: (dt == null ? void 0 : dt.placeholder) || Qe || `请输入${yo || ""}`
|
|
15410
|
-
}), null),
|
|
15410
|
+
}), null), me = ({
|
|
15411
15411
|
key: Ht,
|
|
15412
15412
|
placeholder: ho,
|
|
15413
15413
|
max: vt,
|
|
@@ -15668,7 +15668,7 @@ const ope = /* @__PURE__ */ vo({
|
|
|
15668
15668
|
return Q(Ht);
|
|
15669
15669
|
case tb.number:
|
|
15670
15670
|
case "el-input-number":
|
|
15671
|
-
return
|
|
15671
|
+
return me(Ht);
|
|
15672
15672
|
case tb.select:
|
|
15673
15673
|
case "el-select":
|
|
15674
15674
|
return ae(Ht);
|
|
@@ -16187,8 +16187,8 @@ const mpe = /* @__PURE__ */ Qs(fpe, [["__scopeId", "data-v-e7b4fc6e"]]), hpe = /
|
|
|
16187
16187
|
rows: 15
|
|
16188
16188
|
}), k = zo(() => {
|
|
16189
16189
|
const { page: z, rows: re } = (_ == null ? void 0 : _.page) || x.value, se = Tc.cloneDeep(h.tableData);
|
|
16190
|
-
return se.forEach((Q,
|
|
16191
|
-
Q.__index = z === 1 ?
|
|
16190
|
+
return se.forEach((Q, me) => {
|
|
16191
|
+
Q.__index = z === 1 ? me + 1 : (z - 1) * re + me + 1;
|
|
16192
16192
|
}), se;
|
|
16193
16193
|
}), F = (z) => {
|
|
16194
16194
|
x.value = z, y("page-change", z), h.search();
|
|
@@ -16197,7 +16197,7 @@ const mpe = /* @__PURE__ */ Qs(fpe, [["__scopeId", "data-v-e7b4fc6e"]]), hpe = /
|
|
|
16197
16197
|
}, ie = kn();
|
|
16198
16198
|
return a({ table: ie }), (z, re) => {
|
|
16199
16199
|
var ae, Z, Se;
|
|
16200
|
-
const se = Lo("el-table-column"), Q = Lo("el-table"),
|
|
16200
|
+
const se = Lo("el-table-column"), Q = Lo("el-table"), me = H7("loading");
|
|
16201
16201
|
return ye(), Ue(
|
|
16202
16202
|
So,
|
|
16203
16203
|
null,
|
|
@@ -16237,7 +16237,7 @@ const mpe = /* @__PURE__ */ Qs(fpe, [["__scopeId", "data-v-e7b4fc6e"]]), hpe = /
|
|
|
16237
16237
|
_: 3
|
|
16238
16238
|
/* FORWARDED */
|
|
16239
16239
|
}, 16, ["data"])), [
|
|
16240
|
-
[
|
|
16240
|
+
[me, z.loading]
|
|
16241
16241
|
])
|
|
16242
16242
|
]),
|
|
16243
16243
|
_: 3
|
|
@@ -16300,8 +16300,8 @@ const gpe = /* @__PURE__ */ Qs(hpe, [["__scopeId", "data-v-7e61d7f1"]]), ppe = {
|
|
|
16300
16300
|
});
|
|
16301
16301
|
}, P = kn([]), V = (We) => {
|
|
16302
16302
|
P.value = We, y("selection-change", We);
|
|
16303
|
-
}, ie = zo(() => P.value.length || h.chooseLen), te = kn(h.fields), z = zo(() => "light"), re = kn(), se = kn(), Q = kn(),
|
|
16304
|
-
ae.value = We ? { ...We } : null, h.title ? h.title.includes("新增") || h.title.includes("修改") ? Z.value = We ? h.title.replace(/新增/g, "修改") : h.title.replace(/修改/g, "新增") : Z.value = We ? `修改${h.title}` : `新增${h.title}` : Z.value = We ? "修改" : "新增",
|
|
16303
|
+
}, ie = zo(() => P.value.length || h.chooseLen), te = kn(h.fields), z = zo(() => "light"), re = kn(), se = kn(), Q = kn(), me = kn(!1), ae = kn(void 0), Z = kn(h.title || ""), Se = (We) => {
|
|
16304
|
+
ae.value = We ? { ...We } : null, h.title ? h.title.includes("新增") || h.title.includes("修改") ? Z.value = We ? h.title.replace(/新增/g, "修改") : h.title.replace(/修改/g, "新增") : Z.value = We ? `修改${h.title}` : `新增${h.title}` : Z.value = We ? "修改" : "新增", me.value = !0;
|
|
16305
16305
|
}, Et = zo(() => h.fields.find((We) => We.isEdit));
|
|
16306
16306
|
return a({
|
|
16307
16307
|
table: re,
|
|
@@ -16820,8 +16820,8 @@ const ch = /* @__PURE__ */ Qs(s1e, [["__scopeId", "data-v-4069f4f8"]]), aX = "da
|
|
|
16820
16820
|
var re, se;
|
|
16821
16821
|
return ((re = u.handList) == null ? void 0 : re.length) === ((se = u.list) == null ? void 0 : se.length);
|
|
16822
16822
|
}), y = zo(() => {
|
|
16823
|
-
var Q,
|
|
16824
|
-
const re = (Q = u.handList) == null ? void 0 : Q.length, se = (
|
|
16823
|
+
var Q, me, ae, Z;
|
|
16824
|
+
const re = (Q = u.handList) == null ? void 0 : Q.length, se = (me = u.list) == null ? void 0 : me.length;
|
|
16825
16825
|
return u.multiple ? _.value = u.handList.map((Se) => Se[u.fixPropOpt.id]) : x.value = (Z = (ae = u.handList) == null ? void 0 : ae[0]) == null ? void 0 : Z[u.fixPropOpt.id], re > 0 && re < se;
|
|
16826
16826
|
}), _ = kn(
|
|
16827
16827
|
u.handList.map((re) => re[u.fixPropOpt.id])
|
|
@@ -16869,7 +16869,7 @@ const ch = /* @__PURE__ */ Qs(s1e, [["__scopeId", "data-v-4069f4f8"]]), aX = "da
|
|
|
16869
16869
|
So,
|
|
16870
16870
|
null,
|
|
16871
16871
|
Kr(re.list, (Q) => {
|
|
16872
|
-
var
|
|
16872
|
+
var me;
|
|
16873
16873
|
return ye(), Ue("li", {
|
|
16874
16874
|
key: Q[u.fixPropOpt.id]
|
|
16875
16875
|
}, [
|
|
@@ -16940,7 +16940,7 @@ const ch = /* @__PURE__ */ Qs(s1e, [["__scopeId", "data-v-4069f4f8"]]), aX = "da
|
|
|
16940
16940
|
Q[u.fixPropOpt.type] === u.fixTypeOpt.group && u.children ? (ye(), Ue("span", {
|
|
16941
16941
|
key: 2,
|
|
16942
16942
|
class: rr(["nextLevel", {
|
|
16943
|
-
"is-disabled": (
|
|
16943
|
+
"is-disabled": (me = _.value) == null ? void 0 : me.find(
|
|
16944
16944
|
(ae) => ae === Q[u.fixPropOpt.id]
|
|
16945
16945
|
)
|
|
16946
16946
|
}]),
|
|
@@ -16972,7 +16972,7 @@ const ch = /* @__PURE__ */ Qs(s1e, [["__scopeId", "data-v-4069f4f8"]]), aX = "da
|
|
|
16972
16972
|
So,
|
|
16973
16973
|
null,
|
|
16974
16974
|
Kr(re.list, (Q) => {
|
|
16975
|
-
var
|
|
16975
|
+
var me;
|
|
16976
16976
|
return ye(), Ue("li", {
|
|
16977
16977
|
class: "w-full",
|
|
16978
16978
|
key: Q[u.fixPropOpt.id]
|
|
@@ -17041,7 +17041,7 @@ const ch = /* @__PURE__ */ Qs(s1e, [["__scopeId", "data-v-4069f4f8"]]), aX = "da
|
|
|
17041
17041
|
Q[u.fixPropOpt.type] === u.fixTypeOpt.group && u.children ? (ye(), Ue("span", {
|
|
17042
17042
|
key: 2,
|
|
17043
17043
|
class: rr(["nextLevel", {
|
|
17044
|
-
"is-disabled": (
|
|
17044
|
+
"is-disabled": (me = _.value) == null ? void 0 : me.find(
|
|
17045
17045
|
(ae) => ae === Q[u.fixPropOpt.id]
|
|
17046
17046
|
)
|
|
17047
17047
|
}]),
|
|
@@ -17122,9 +17122,9 @@ const N1e = /* @__PURE__ */ Qs(I1e, [["__scopeId", "data-v-f7a5199f"]]), cX = (l
|
|
|
17122
17122
|
var z, re;
|
|
17123
17123
|
return ((z = u.handList) == null ? void 0 : z.length) === ((re = u.list) == null ? void 0 : re.length);
|
|
17124
17124
|
}), y = zo(() => {
|
|
17125
|
-
var se, Q,
|
|
17125
|
+
var se, Q, me, ae;
|
|
17126
17126
|
const z = (se = u.handList) == null ? void 0 : se.length, re = (Q = u.list) == null ? void 0 : Q.length;
|
|
17127
|
-
return u.multiple ? _.value = u.handList.map((Z) => Z[u.fixPropOpt.id]) : x.value = (ae = (
|
|
17127
|
+
return u.multiple ? _.value = u.handList.map((Z) => Z[u.fixPropOpt.id]) : x.value = (ae = (me = u.handList) == null ? void 0 : me[0]) == null ? void 0 : ae[u.fixPropOpt.id], z > 0 && z < re;
|
|
17128
17128
|
}), _ = kn(
|
|
17129
17129
|
u.handList.map((z) => z[u.fixPropOpt.id])
|
|
17130
17130
|
), x = kn((te = (ie = u.handList) == null ? void 0 : ie[0]) == null ? void 0 : te[u.fixPropOpt.id]), k = a, F = (z) => {
|
|
@@ -17342,9 +17342,9 @@ const X1e = /* @__PURE__ */ Qs(Y1e, [["__scopeId", "data-v-e03f0d36"]]), uX = (l
|
|
|
17342
17342
|
var z, re;
|
|
17343
17343
|
return ((z = u.handList) == null ? void 0 : z.length) === ((re = u.list) == null ? void 0 : re.length);
|
|
17344
17344
|
}), y = zo(() => {
|
|
17345
|
-
var se, Q,
|
|
17345
|
+
var se, Q, me, ae;
|
|
17346
17346
|
const z = (se = u.handList) == null ? void 0 : se.length, re = (Q = u.list) == null ? void 0 : Q.length;
|
|
17347
|
-
return u.multiple ? _.value = u.handList.map((Z) => Z[u.fixPropOpt.id]) : x.value = (ae = (
|
|
17347
|
+
return u.multiple ? _.value = u.handList.map((Z) => Z[u.fixPropOpt.id]) : x.value = (ae = (me = u.handList) == null ? void 0 : me[0]) == null ? void 0 : ae[u.fixPropOpt.id], z > 0 && z < re;
|
|
17348
17348
|
}), _ = kn(
|
|
17349
17349
|
u.handList.map((z) => z[u.fixPropOpt.id])
|
|
17350
17350
|
), x = kn((te = (ie = u.handList) == null ? void 0 : ie[0]) == null ? void 0 : te[u.fixPropOpt.id]), k = a, F = (z) => {
|
|
@@ -17728,7 +17728,7 @@ const v0e = {
|
|
|
17728
17728
|
};
|
|
17729
17729
|
const {
|
|
17730
17730
|
departments: Q,
|
|
17731
|
-
roles:
|
|
17731
|
+
roles: me,
|
|
17732
17732
|
posts: ae,
|
|
17733
17733
|
users: Z,
|
|
17734
17734
|
rootOrganization: Se,
|
|
@@ -17743,7 +17743,7 @@ const v0e = {
|
|
|
17743
17743
|
id: We.elementId
|
|
17744
17744
|
}), {
|
|
17745
17745
|
groupList: Tc.cloneDeep(Q),
|
|
17746
|
-
roleList: Tc.cloneDeep(
|
|
17746
|
+
roleList: Tc.cloneDeep(me),
|
|
17747
17747
|
postList: Tc.cloneDeep(ae),
|
|
17748
17748
|
userList: Tc.cloneDeep(Z),
|
|
17749
17749
|
rootOrganization: Se,
|
|
@@ -17799,7 +17799,7 @@ const v0e = {
|
|
|
17799
17799
|
post: "POST",
|
|
17800
17800
|
group: "DEPT",
|
|
17801
17801
|
...h.typeOption
|
|
17802
|
-
})), re = kn([]), se = w0e(toe(h, "api"), h), Q = se.handData,
|
|
17802
|
+
})), re = kn([]), se = w0e(toe(h, "api"), h), Q = se.handData, me = se.bannerList;
|
|
17803
17803
|
h.immediate && Q(_.value, y.value);
|
|
17804
17804
|
const ae = (Dt) => (Dt.forEach((yt) => {
|
|
17805
17805
|
var jn, Cn;
|
|
@@ -17998,9 +17998,9 @@ const v0e = {
|
|
|
17998
17998
|
}
|
|
17999
17999
|
);
|
|
18000
18000
|
const Ko = (Dt) => {
|
|
18001
|
-
_.value = Dt == null ? void 0 : Dt.elementId, Z(),
|
|
18002
|
-
}, An = zo(() =>
|
|
18003
|
-
!yt && !h.topLink || yt !== An.value - 1 && (_.value = Dt == null ? void 0 : Dt.elementId, Z(),
|
|
18001
|
+
_.value = Dt == null ? void 0 : Dt.elementId, Z(), me.value.push(Dt);
|
|
18002
|
+
}, An = zo(() => me.value.length), ut = (Dt, yt) => {
|
|
18003
|
+
!yt && !h.topLink || yt !== An.value - 1 && (_.value = Dt == null ? void 0 : Dt.elementId, Z(), me.value.splice(yt + 1));
|
|
18004
18004
|
}, Ht = zo(
|
|
18005
18005
|
() => h.chooseType.includes("role") && h.chooseType.length === 1
|
|
18006
18006
|
), ho = zo(
|
|
@@ -18008,7 +18008,7 @@ const v0e = {
|
|
|
18008
18008
|
), vt = kn(h.tabs[0]), Gt = kn(h.tabs[0]);
|
|
18009
18009
|
QK(() => (Gt.value = Ht.value ? h.tabs[1] : ho.value ? h.tabs[2] : vt.value, Gt.value));
|
|
18010
18010
|
const Qe = () => {
|
|
18011
|
-
Se.user.clear(), Se.role.clear(), Se.post.clear(), Se.group.clear(), Se.trans = [], Yt.value = [], Ze.value = [], vt.value = h.tabs[0], Gt.value = h.tabs[0], y.value = "", _.value = h.orgPid,
|
|
18011
|
+
Se.user.clear(), Se.role.clear(), Se.post.clear(), Se.group.clear(), Se.trans = [], Yt.value = [], Ze.value = [], vt.value = h.tabs[0], Gt.value = h.tabs[0], y.value = "", _.value = h.orgPid, me.value.splice(1, me.value.length), Se.single = "", re.value = [];
|
|
18012
18012
|
}, dt = () => {
|
|
18013
18013
|
var Dt;
|
|
18014
18014
|
fe(
|
|
@@ -18174,7 +18174,7 @@ const v0e = {
|
|
|
18174
18174
|
An.value ? (ye(!0), Ue(
|
|
18175
18175
|
So,
|
|
18176
18176
|
{ key: 0 },
|
|
18177
|
-
Kr(ot(
|
|
18177
|
+
Kr(ot(me), (Io, Wo) => (ye(), Bn(ot(doe), {
|
|
18178
18178
|
key: Io[te.value.id],
|
|
18179
18179
|
onClick: ih((Hs) => ut(Io, Wo), ["stop"])
|
|
18180
18180
|
}, {
|
|
@@ -19052,7 +19052,7 @@ const Q0e = /* @__PURE__ */ Qs(X0e, [["__scopeId", "data-v-54fd4611"]]), b2e = T
|
|
|
19052
19052
|
cn && (cn.show = !0, te.value.push(cn));
|
|
19053
19053
|
}
|
|
19054
19054
|
}), (He = te.value) != null && He.length || (te.value = Tc.cloneDeep(u.list)), q === !0 && (h("sort", Tc.cloneDeep(te.value)), y.value = Tc.cloneDeep(te.value));
|
|
19055
|
-
},
|
|
19055
|
+
}, me = (q) => {
|
|
19056
19056
|
if (q)
|
|
19057
19057
|
ie.value = u.list.map((Re) => Re.key);
|
|
19058
19058
|
else {
|
|
@@ -19222,7 +19222,7 @@ const Q0e = /* @__PURE__ */ Qs(X0e, [["__scopeId", "data-v-54fd4611"]]), b2e = T
|
|
|
19222
19222
|
"onUpdate:modelValue": Re[0] || (Re[0] = (gn) => re.value = gn),
|
|
19223
19223
|
class: "single-line",
|
|
19224
19224
|
indeterminate: se.value,
|
|
19225
|
-
onChange:
|
|
19225
|
+
onChange: me
|
|
19226
19226
|
}, {
|
|
19227
19227
|
default: It(() => [
|
|
19228
19228
|
hs(" 全选 ")
|
|
@@ -22278,7 +22278,7 @@ const gve = Tr(hve), pve = "4383166", vve = "中台-双色图标", bve = "iconfo
|
|
|
22278
22278
|
Oe("div", {
|
|
22279
22279
|
class: "icon-picker-header font-size-[var(--ik-margin-m-28)] line-height-[0]",
|
|
22280
22280
|
onClick: te[2] || (te[2] = //@ts-ignore
|
|
22281
|
-
(...
|
|
22281
|
+
(...me) => ie.handChooseIcon && ie.handChooseIcon(...me))
|
|
22282
22282
|
}, [
|
|
22283
22283
|
u.value ? (ye(), Bn(ot(Hr), {
|
|
22284
22284
|
key: 0,
|
|
@@ -22302,7 +22302,7 @@ const gve = Tr(hve), pve = "4383166", vve = "中台-双色图标", bve = "iconfo
|
|
|
22302
22302
|
default: It(() => [
|
|
22303
22303
|
Ye(z, {
|
|
22304
22304
|
modelValue: P.value,
|
|
22305
|
-
"onUpdate:modelValue": te[0] || (te[0] = (
|
|
22305
|
+
"onUpdate:modelValue": te[0] || (te[0] = (me) => P.value = me),
|
|
22306
22306
|
clearable: "",
|
|
22307
22307
|
placeholder: "输入图标名称检索"
|
|
22308
22308
|
}, {
|
|
@@ -22314,7 +22314,7 @@ const gve = Tr(hve), pve = "4383166", vve = "中台-双色图标", bve = "iconfo
|
|
|
22314
22314
|
}, 8, ["modelValue"]),
|
|
22315
22315
|
Ye(se, {
|
|
22316
22316
|
modelValue: V.value,
|
|
22317
|
-
"onUpdate:modelValue": te[1] || (te[1] = (
|
|
22317
|
+
"onUpdate:modelValue": te[1] || (te[1] = (me) => V.value = me)
|
|
22318
22318
|
}, {
|
|
22319
22319
|
default: It(() => [
|
|
22320
22320
|
Ye(re, {
|
|
@@ -22326,13 +22326,13 @@ const gve = Tr(hve), pve = "4383166", vve = "中台-双色图标", bve = "iconfo
|
|
|
22326
22326
|
(ye(!0), Ue(
|
|
22327
22327
|
So,
|
|
22328
22328
|
null,
|
|
22329
|
-
Kr(y.value.double, (
|
|
22330
|
-
key:
|
|
22331
|
-
primary:
|
|
22329
|
+
Kr(y.value.double, (me) => (ye(), Bn(ot(Hr), {
|
|
22330
|
+
key: me.name,
|
|
22331
|
+
primary: me.class === u.value,
|
|
22332
22332
|
size: 20,
|
|
22333
|
-
title:
|
|
22334
|
-
name:
|
|
22335
|
-
onClick: (ae) => k(
|
|
22333
|
+
title: me.name,
|
|
22334
|
+
name: me.class,
|
|
22335
|
+
onClick: (ae) => k(me)
|
|
22336
22336
|
}, null, 8, ["primary", "title", "name", "onClick"]))),
|
|
22337
22337
|
128
|
|
22338
22338
|
/* KEYED_FRAGMENT */
|
|
@@ -22351,13 +22351,13 @@ const gve = Tr(hve), pve = "4383166", vve = "中台-双色图标", bve = "iconfo
|
|
|
22351
22351
|
(ye(!0), Ue(
|
|
22352
22352
|
So,
|
|
22353
22353
|
null,
|
|
22354
|
-
Kr(y.value.single, (
|
|
22355
|
-
key:
|
|
22356
|
-
primary:
|
|
22354
|
+
Kr(y.value.single, (me) => (ye(), Bn(ot(Hr), {
|
|
22355
|
+
key: me.name,
|
|
22356
|
+
primary: me.class === u.value,
|
|
22357
22357
|
size: 20,
|
|
22358
|
-
title:
|
|
22359
|
-
name:
|
|
22360
|
-
onClick: (ae) => k(
|
|
22358
|
+
title: me.name,
|
|
22359
|
+
name: me.class,
|
|
22360
|
+
onClick: (ae) => k(me)
|
|
22361
22361
|
}, null, 8, ["primary", "title", "name", "onClick"]))),
|
|
22362
22362
|
128
|
|
22363
22363
|
/* KEYED_FRAGMENT */
|
|
@@ -22992,7 +22992,7 @@ const kbe = vo({
|
|
|
22992
22992
|
".datav-fullscreen-editor-dialog section"
|
|
22993
22993
|
);
|
|
22994
22994
|
if (Q) {
|
|
22995
|
-
const
|
|
22995
|
+
const me = Object.assign({}, eee, l.options, {
|
|
22996
22996
|
tabSize: 2,
|
|
22997
22997
|
value: "",
|
|
22998
22998
|
language: l.language,
|
|
@@ -23006,7 +23006,7 @@ const kbe = vo({
|
|
|
23006
23006
|
});
|
|
23007
23007
|
if (!y || !_)
|
|
23008
23008
|
return;
|
|
23009
|
-
const ae = y.editor.create(Q,
|
|
23009
|
+
const ae = y.editor.create(Q, me);
|
|
23010
23010
|
ae.setValue(_.getValue()), l.autoFormat && setTimeout(() => {
|
|
23011
23011
|
YK(ae, l.language);
|
|
23012
23012
|
}, 1200), ae.onDidChangeModelContent(() => te()), ae.onDidBlurEditorText(() => ie()), x = ae;
|
|
@@ -23022,8 +23022,8 @@ const kbe = vo({
|
|
|
23022
23022
|
() => l.code,
|
|
23023
23023
|
(Q) => {
|
|
23024
23024
|
if (_) {
|
|
23025
|
-
const
|
|
23026
|
-
_.setValue(
|
|
23025
|
+
const me = nee(l.language, Q);
|
|
23026
|
+
_.setValue(me);
|
|
23027
23027
|
}
|
|
23028
23028
|
}
|
|
23029
23029
|
), ib(async () => {
|
|
@@ -23031,8 +23031,8 @@ const kbe = vo({
|
|
|
23031
23031
|
u.value = !0;
|
|
23032
23032
|
}, 200);
|
|
23033
23033
|
y = await Sbe.init(), clearTimeout(Q), u.value = !1, xbe(y), Ebe(y, l.language, l.completions || []), await If();
|
|
23034
|
-
const
|
|
23035
|
-
if (
|
|
23034
|
+
const me = document.getElementById(h.value);
|
|
23035
|
+
if (me) {
|
|
23036
23036
|
const ae = Object.assign({}, eee, l.options, {
|
|
23037
23037
|
tabSize: 2,
|
|
23038
23038
|
value: "",
|
|
@@ -23044,8 +23044,8 @@ const kbe = vo({
|
|
|
23044
23044
|
},
|
|
23045
23045
|
lineNumbers: l.lineNumbers,
|
|
23046
23046
|
wordWrap: l.wordWrap
|
|
23047
|
-
}), Z = y.editor.create(
|
|
23048
|
-
Z.setValue(Se), l.autoFormat && YK(Z, l.language), l.height > 0 && (
|
|
23047
|
+
}), Z = y.editor.create(me, ae), Se = nee(l.language, l.code);
|
|
23048
|
+
Z.setValue(Se), l.autoFormat && YK(Z, l.language), l.height > 0 && (me.style.height = `${l.height}px`), Z.onDidChangeModelContent(() => te()), Z.onDidBlurEditorText(() => ie()), _ = Z;
|
|
23049
23049
|
}
|
|
23050
23050
|
}), noe(() => {
|
|
23051
23051
|
_ == null || _.dispose(), x == null || x.dispose();
|
|
@@ -23199,14 +23199,14 @@ const Nbe = /* @__PURE__ */ Qs(kbe, [["render", Ibe]]), C2e = Tr(Nbe), Bbe = { c
|
|
|
23199
23199
|
kn(h.ids);
|
|
23200
23200
|
const se = kn(1), Q = (Et) => {
|
|
23201
23201
|
Et === "next" ? ae() : Se();
|
|
23202
|
-
},
|
|
23202
|
+
}, me = kn(!1), ae = async () => {
|
|
23203
23203
|
var Re, He;
|
|
23204
23204
|
Z.value = !1, _ != null && _.value && (se.value = Math.ceil((k == null ? void 0 : k.value) / ((Re = _.value) == null ? void 0 : Re.rows)));
|
|
23205
23205
|
const Et = h.ids, We = Et == null ? void 0 : Et.findIndex((Ke) => Ke === h.rowId);
|
|
23206
23206
|
if (We === Et.length - 1) {
|
|
23207
23207
|
if (_ != null && _.value) {
|
|
23208
23208
|
if (se.value === ((He = _.value) == null ? void 0 : He.page)) {
|
|
23209
|
-
lh.warning("已经是最后一条数据"),
|
|
23209
|
+
lh.warning("已经是最后一条数据"), me.value = !0;
|
|
23210
23210
|
return;
|
|
23211
23211
|
}
|
|
23212
23212
|
_.value.page++, await x(), Et.length && y("nextChange", {
|
|
@@ -23214,7 +23214,7 @@ const Nbe = /* @__PURE__ */ Qs(kbe, [["render", Ibe]]), C2e = Tr(Nbe), Bbe = { c
|
|
|
23214
23214
|
targetIndex: 0
|
|
23215
23215
|
});
|
|
23216
23216
|
}
|
|
23217
|
-
lh.warning("已经是最后一条数据"),
|
|
23217
|
+
lh.warning("已经是最后一条数据"), me.value = !0;
|
|
23218
23218
|
return;
|
|
23219
23219
|
}
|
|
23220
23220
|
const q = We + 1;
|
|
@@ -23223,7 +23223,7 @@ const Nbe = /* @__PURE__ */ Qs(kbe, [["render", Ibe]]), C2e = Tr(Nbe), Bbe = { c
|
|
|
23223
23223
|
targetIndex: q
|
|
23224
23224
|
});
|
|
23225
23225
|
}, Z = kn(!1), Se = async () => {
|
|
23226
|
-
|
|
23226
|
+
me.value = !1;
|
|
23227
23227
|
const Et = h.ids, We = Et == null ? void 0 : Et.findIndex((q) => q === h.rowId);
|
|
23228
23228
|
if (We < 1) {
|
|
23229
23229
|
if (_ != null && _.value && _.value.page > 1) {
|
|
@@ -23244,7 +23244,7 @@ const Nbe = /* @__PURE__ */ Qs(kbe, [["render", Ibe]]), C2e = Tr(Nbe), Bbe = { c
|
|
|
23244
23244
|
return a({ handleNext: ae }), si(
|
|
23245
23245
|
() => h.ids,
|
|
23246
23246
|
(Et) => {
|
|
23247
|
-
Et && (Z.value = !1,
|
|
23247
|
+
Et && (Z.value = !1, me.value = !1);
|
|
23248
23248
|
},
|
|
23249
23249
|
{ immediate: !0 }
|
|
23250
23250
|
), (Et, We) => {
|
|
@@ -23262,7 +23262,7 @@ const Nbe = /* @__PURE__ */ Qs(kbe, [["render", Ibe]]), C2e = Tr(Nbe), Bbe = { c
|
|
|
23262
23262
|
/* STABLE */
|
|
23263
23263
|
}, 8, ["disabled"]),
|
|
23264
23264
|
Ye(q, {
|
|
23265
|
-
disabled:
|
|
23265
|
+
disabled: me.value,
|
|
23266
23266
|
onClick: re,
|
|
23267
23267
|
style: { "margin-right": "24px" }
|
|
23268
23268
|
}, {
|
|
@@ -23606,7 +23606,7 @@ var Fne = { exports: {} };
|
|
|
23606
23606
|
}, re = (e) => {
|
|
23607
23607
|
const n = typeof e;
|
|
23608
23608
|
return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" && z(e, String, (o, r) => r.isPrototypeOf(o)) ? "string" : n;
|
|
23609
|
-
}, se = (e) => (n) => re(n) === e, Q = (e) => (n) => typeof n === e,
|
|
23609
|
+
}, se = (e) => (n) => re(n) === e, Q = (e) => (n) => typeof n === e, me = (e) => (n) => e === n, ae = (e, n) => Se(e) && z(e, n, (o, r) => te(o) === r), Z = se("string"), Se = se("object"), Et = (e) => ae(e, Object), We = se("array"), q = me(null), Re = Q("boolean"), He = me(void 0), Ke = (e) => e == null, Ce = (e) => !Ke(e), fe = Q("function"), cn = Q("number"), gn = (e, n) => {
|
|
23610
23610
|
if (We(e)) {
|
|
23611
23611
|
for (let o = 0, r = e.length; o < r; ++o)
|
|
23612
23612
|
if (!n(e[o]))
|
|
@@ -24875,7 +24875,7 @@ var Fne = { exports: {} };
|
|
|
24875
24875
|
type: "text/css",
|
|
24876
24876
|
id: qe.id
|
|
24877
24877
|
}), it.dom.innerHTML = Xe, E(it);
|
|
24878
|
-
},
|
|
24878
|
+
}, he = (Ge) => Promise.allSettled(ft(Ge, (qe) => j(qe).then($t(qe)))).then((qe) => {
|
|
24879
24879
|
const it = Dt(qe, (zt) => zt.status === "fulfilled");
|
|
24880
24880
|
return it.fail.length > 0 ? Promise.reject(ft(it.fail, (zt) => zt.reason)) : ft(it.pass, (zt) => zt.value);
|
|
24881
24881
|
}), _e = (Ge) => {
|
|
@@ -24887,7 +24887,7 @@ var Fne = { exports: {} };
|
|
|
24887
24887
|
return {
|
|
24888
24888
|
load: j,
|
|
24889
24889
|
loadRawCss: X,
|
|
24890
|
-
loadAll:
|
|
24890
|
+
loadAll: he,
|
|
24891
24891
|
unload: _e,
|
|
24892
24892
|
unloadRawCss: (Ge) => {
|
|
24893
24893
|
Bs(r, Ge).each((Xe) => {
|
|
@@ -25079,20 +25079,20 @@ var Fne = { exports: {} };
|
|
|
25079
25079
|
};
|
|
25080
25080
|
}, v = (E, I = "", W = "") => {
|
|
25081
25081
|
const j = Ji(W), X = Ji(E);
|
|
25082
|
-
let
|
|
25082
|
+
let he = X.length;
|
|
25083
25083
|
const _e = [
|
|
25084
25084
|
...n,
|
|
25085
25085
|
...Ji(I)
|
|
25086
25086
|
];
|
|
25087
|
-
for (;
|
|
25088
|
-
m(X[
|
|
25087
|
+
for (; he--; )
|
|
25088
|
+
m(X[he], _e.slice(), j);
|
|
25089
25089
|
}, S = (E, I) => {
|
|
25090
25090
|
const W = Ji(E), j = Ji(I);
|
|
25091
25091
|
let X = W.length;
|
|
25092
25092
|
for (; X--; ) {
|
|
25093
|
-
const
|
|
25093
|
+
const he = c[W[X]];
|
|
25094
25094
|
for (let _e = 0, pe = j.length; _e < pe; _e++)
|
|
25095
|
-
|
|
25095
|
+
he.attributes[j[_e]] = {}, he.attributesOrder.push(j[_e]);
|
|
25096
25096
|
}
|
|
25097
25097
|
};
|
|
25098
25098
|
return e !== "html5-strict" && (Ze(Ji("acronym applet basefont big font strike tt"), (W) => {
|
|
@@ -25177,8 +25177,8 @@ var Fne = { exports: {} };
|
|
|
25177
25177
|
name: W,
|
|
25178
25178
|
value: X
|
|
25179
25179
|
}), E.forcedValue = X) : j === "<" && (E.validValues = jt.makeMap(X, "?"))), r.test(W)) {
|
|
25180
|
-
const
|
|
25181
|
-
n.attributePatterns = n.attributePatterns || [],
|
|
25180
|
+
const he = E;
|
|
25181
|
+
n.attributePatterns = n.attributePatterns || [], he.pattern = mb(W), n.attributePatterns.push(he);
|
|
25182
25182
|
} else
|
|
25183
25183
|
c[W] || m.push(W), c[W] = E;
|
|
25184
25184
|
}
|
|
@@ -25237,7 +25237,7 @@ var Fne = { exports: {} };
|
|
|
25237
25237
|
}
|
|
25238
25238
|
}, E = (n = e.schema) !== null && n !== void 0 ? n : "html5", I = P2(E);
|
|
25239
25239
|
e.verify_html === !1 && (e.valid_elements = "*[*]");
|
|
25240
|
-
const W = R0(e.valid_styles), j = R0(e.invalid_styles, "map"), X = R0(e.valid_classes, "map"),
|
|
25240
|
+
const W = R0(e.valid_styles), j = R0(e.invalid_styles, "map"), X = R0(e.valid_classes, "map"), he = S("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), _e = S("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), pe = S("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), xe = S("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), Ge = "td th iframe video audio object script code", Xe = S("non_empty_elements", Ge + " pre svg textarea summary", pe), qe = S("move_caret_before_on_enter_elements", Ge + " table", pe), it = "h1 h2 h3 h4 h5 h6", zt = S("text_block_elements", it + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), rn = S("block_elements", "hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing", zt), xn = S("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), Tt = S("transparent_elements", "a ins del canvas map"), gt = S("wrap_block_elements", "pre " + it);
|
|
25241
25241
|
Wn("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "), (to) => {
|
|
25242
25242
|
v[to] = new RegExp("</" + to + "[^>]*>", "gi");
|
|
25243
25243
|
});
|
|
@@ -25364,7 +25364,7 @@ var Fne = { exports: {} };
|
|
|
25364
25364
|
}), e.invalid_elements && Wn(D0(e.invalid_elements), (to) => {
|
|
25365
25365
|
o[to] && delete o[to];
|
|
25366
25366
|
}), xr("span") || Lt("span[!data-mce-type|*]");
|
|
25367
|
-
}, Wl = $t(W), Ar = $t(j), un = $t(X), Xn = $t(xe), Fs = $t(rn), yn = $t(zt), co = $t(xn), os = $t(Object.seal(pe)), wn = $t(_e), Jo = $t(Xe), fs = $t(qe), zi = $t(
|
|
25367
|
+
}, Wl = $t(W), Ar = $t(j), un = $t(X), Xn = $t(xe), Fs = $t(rn), yn = $t(zt), co = $t(xn), os = $t(Object.seal(pe)), wn = $t(_e), Jo = $t(Xe), fs = $t(qe), zi = $t(he), sr = $t(Tt), Vi = $t(gt), Hd = $t(Object.seal(v)), sh = (to, Ss) => {
|
|
25368
25368
|
const ma = r[to.toLowerCase()];
|
|
25369
25369
|
return !!(ma && ma[Ss.toLowerCase()]);
|
|
25370
25370
|
}, Uc = (to, Ss) => {
|
|
@@ -25445,7 +25445,7 @@ var Fne = { exports: {} };
|
|
|
25445
25445
|
const W = {
|
|
25446
25446
|
parse: (j) => {
|
|
25447
25447
|
const X = {};
|
|
25448
|
-
let
|
|
25448
|
+
let he = !1;
|
|
25449
25449
|
const _e = e.url_converter, pe = e.url_converter_scope || W, xe = (Tt, gt, Lt) => {
|
|
25450
25450
|
const Ln = X[Tt + "-top" + gt];
|
|
25451
25451
|
if (!Ln)
|
|
@@ -25481,7 +25481,7 @@ var Fne = { exports: {} };
|
|
|
25481
25481
|
return X[Tt] = Lt[0], !0;
|
|
25482
25482
|
}, Xe = (Tt, gt, Lt, Ln) => {
|
|
25483
25483
|
Ge(gt) && Ge(Lt) && Ge(Ln) && (X[Tt] = X[gt] + " " + X[Lt] + " " + X[Ln], delete X[gt], delete X[Lt], delete X[Ln]);
|
|
25484
|
-
}, qe = (Tt) => (
|
|
25484
|
+
}, qe = (Tt) => (he = !0, m[Tt]), it = (Tt, gt) => (he && (Tt = Tt.replace(/\uFEFF[0-9]/g, (Lt) => m[Lt])), gt || (Tt = Tt.replace(/\\([\'\";:])/g, "$1")), Tt), zt = (Tt) => String.fromCharCode(parseInt(Tt.slice(1), 16)), rn = (Tt) => Tt.replace(/\\[0-9a-f]+/gi, zt), xn = (Tt, gt, Lt, Ln, oo, ss) => {
|
|
25485
25485
|
if (oo = oo || ss, oo)
|
|
25486
25486
|
return oo = it(oo), "'" + oo.replace(/\'/g, "\\'") + "'";
|
|
25487
25487
|
if (gt = it(gt || Lt || Ln || ""), !e.allow_script_urls) {
|
|
@@ -25502,7 +25502,7 @@ var Fne = { exports: {} };
|
|
|
25502
25502
|
continue;
|
|
25503
25503
|
gt === "font-weight" && Lt === "700" ? Lt = "bold" : (gt === "color" || gt === "background-color") && (Lt = Lt.toLowerCase()), qp(Lt) === "rgb" && gb(Lt).each((Ln) => {
|
|
25504
25504
|
Lt = O0(Fg(Ln)).toLowerCase();
|
|
25505
|
-
}), Lt = Lt.replace(o, xn), X[gt] =
|
|
25505
|
+
}), Lt = Lt.replace(o, xn), X[gt] = he ? it(Lt, !0) : Lt;
|
|
25506
25506
|
}
|
|
25507
25507
|
}
|
|
25508
25508
|
xe("border", "", !0), xe("border", "-width"), xe("border", "-color"), xe("border", "-style"), xe("padding", ""), xe("margin", ""), Xe("border", "border-width", "border-style", "border-color"), X.border === "medium none" && delete X.border, X["border-image"] === "none" && delete X["border-image"];
|
|
@@ -25510,13 +25510,13 @@ var Fne = { exports: {} };
|
|
|
25510
25510
|
return X;
|
|
25511
25511
|
},
|
|
25512
25512
|
serialize: (j, X) => {
|
|
25513
|
-
let
|
|
25513
|
+
let he = "";
|
|
25514
25514
|
const _e = (xe, Ge) => {
|
|
25515
25515
|
const Xe = Ge[xe];
|
|
25516
25516
|
if (Xe)
|
|
25517
25517
|
for (let qe = 0, it = Xe.length; qe < it; qe++) {
|
|
25518
25518
|
const zt = Xe[qe], rn = j[zt];
|
|
25519
|
-
rn && (
|
|
25519
|
+
rn && (he += (he.length > 0 ? " " : "") + zt + ": " + rn + ";");
|
|
25520
25520
|
}
|
|
25521
25521
|
}, pe = (xe, Ge) => {
|
|
25522
25522
|
if (!S || !Ge)
|
|
@@ -25525,8 +25525,8 @@ var Fne = { exports: {} };
|
|
|
25525
25525
|
return Xe && Xe[xe] ? !1 : (Xe = S[Ge], !(Xe && Xe[xe]));
|
|
25526
25526
|
};
|
|
25527
25527
|
return X && v ? (_e("*", v), _e(X, v)) : Xt(j, (xe, Ge) => {
|
|
25528
|
-
xe && pe(Ge, X) && (
|
|
25529
|
-
}),
|
|
25528
|
+
xe && pe(Ge, X) && (he += (he.length > 0 ? " " : "") + Ge + ": " + xe + ";");
|
|
25529
|
+
}), he;
|
|
25530
25530
|
}
|
|
25531
25531
|
};
|
|
25532
25532
|
return W;
|
|
@@ -25593,12 +25593,12 @@ var Fne = { exports: {} };
|
|
|
25593
25593
|
const W = o.split(" ");
|
|
25594
25594
|
let j = W.length;
|
|
25595
25595
|
for (; j--; ) {
|
|
25596
|
-
let X = W[j],
|
|
25596
|
+
let X = W[j], he = E, _e = !1, pe = !1;
|
|
25597
25597
|
if (X === "DOMContentLoaded" && (X = "ready"), m.domLoaded && X === "ready" && n.readyState === "complete") {
|
|
25598
25598
|
r.call(c, Hg({ type: X }));
|
|
25599
25599
|
continue;
|
|
25600
25600
|
}
|
|
25601
|
-
!m.hasFocusIn && (X === "focusin" || X === "focusout") && (_e = !0, pe = X === "focusin" ? "focus" : "blur",
|
|
25601
|
+
!m.hasFocusIn && (X === "focusin" || X === "focusout") && (_e = !0, pe = X === "focusin" ? "focus" : "blur", he = (xe) => {
|
|
25602
25602
|
const Ge = Hg(xe || S.event);
|
|
25603
25603
|
Ge.type = Ge.type === "focus" ? "focusin" : "focusout", m.executeHandlers(Ge, I);
|
|
25604
25604
|
}), v = m.events[I][X], v ? X === "ready" && m.domLoaded ? r(Hg({ type: X })) : v.push({
|
|
@@ -25607,7 +25607,7 @@ var Fne = { exports: {} };
|
|
|
25607
25607
|
}) : (m.events[I][X] = v = [{
|
|
25608
25608
|
func: r,
|
|
25609
25609
|
scope: c
|
|
25610
|
-
}], v.fakeName = pe, v.capture = _e, v.nativeHandler =
|
|
25610
|
+
}], v.fakeName = pe, v.capture = _e, v.nativeHandler = he, X === "ready" ? A_(n, he, m) : yu(n, pe || X, he, _e));
|
|
25611
25611
|
}
|
|
25612
25612
|
return n = v = null, r;
|
|
25613
25613
|
}
|
|
@@ -25627,8 +25627,8 @@ var Fne = { exports: {} };
|
|
|
25627
25627
|
let W = I.length;
|
|
25628
25628
|
for (; W--; )
|
|
25629
25629
|
if (I[W].func === r) {
|
|
25630
|
-
const j = I.nativeHandler, X = I.fakeName,
|
|
25631
|
-
_e.nativeHandler = j, _e.fakeName = X, _e.capture =
|
|
25630
|
+
const j = I.nativeHandler, X = I.fakeName, he = I.capture, _e = I.slice(0, W).concat(I.slice(W + 1));
|
|
25631
|
+
_e.nativeHandler = j, _e.fakeName = X, _e.capture = he, m[E] = _e;
|
|
25632
25632
|
}
|
|
25633
25633
|
}
|
|
25634
25634
|
(!r || I.length === 0) && (delete m[E], M0(n, I.fakeName || E, I.nativeHandler, I.capture));
|
|
@@ -25745,7 +25745,7 @@ var Fne = { exports: {} };
|
|
|
25745
25745
|
}), I = [], W = n.schema ? n.schema : er({}), j = Dh({
|
|
25746
25746
|
url_converter: n.url_converter,
|
|
25747
25747
|
url_converter_scope: n.url_converter_scope
|
|
25748
|
-
}, n.schema), X = n.ownEvents ? new zg() : zg.Event,
|
|
25748
|
+
}, n.schema), X = n.ownEvents ? new zg() : zg.Event, he = W.getBlockElements(), _e = (ht) => Z(ht) ? Yn(he, ht) : Pn(ht) && (Yn(he, ht.nodeName) || vu(W, ht)), pe = (ht) => ht && e && Z(ht) ? e.getElementById(ht) : ht, xe = (ht) => {
|
|
25749
25749
|
const pt = pe(ht);
|
|
25750
25750
|
return Ce(pt) ? Ne.fromDom(pt) : null;
|
|
25751
25751
|
}, Ge = (ht, pt, dn = "") => {
|
|
@@ -26263,7 +26263,7 @@ var Fne = { exports: {} };
|
|
|
26263
26263
|
prefix: pe.prefix,
|
|
26264
26264
|
resource: xe,
|
|
26265
26265
|
suffix: pe.suffix
|
|
26266
|
-
} : xe,
|
|
26266
|
+
} : xe, he = (pe, xe) => {
|
|
26267
26267
|
if (n[pe])
|
|
26268
26268
|
return Promise.resolve();
|
|
26269
26269
|
let Ge = Z(xe) ? xe : xe.prefix + xe.resource + xe.suffix;
|
|
@@ -26286,7 +26286,7 @@ var Fne = { exports: {} };
|
|
|
26286
26286
|
add: W,
|
|
26287
26287
|
remove: j,
|
|
26288
26288
|
createUrl: X,
|
|
26289
|
-
load:
|
|
26289
|
+
load: he,
|
|
26290
26290
|
waitFor: _e
|
|
26291
26291
|
};
|
|
26292
26292
|
};
|
|
@@ -26342,39 +26342,39 @@ var Fne = { exports: {} };
|
|
|
26342
26342
|
listeners: [],
|
|
26343
26343
|
previous: hl()
|
|
26344
26344
|
}), c = (j, X) => {
|
|
26345
|
-
m(j, (
|
|
26345
|
+
m(j, (he) => (X(he), he));
|
|
26346
26346
|
}, m = (j, X) => {
|
|
26347
|
-
const
|
|
26348
|
-
|
|
26349
|
-
}, v = (j, X,
|
|
26347
|
+
const he = o.get(), _e = Bs(he, j).getOrThunk(r), pe = X(_e);
|
|
26348
|
+
he[j] = pe, o.set(he);
|
|
26349
|
+
}, v = (j, X, he) => {
|
|
26350
26350
|
c(j, (_e) => {
|
|
26351
26351
|
Ze(_e.listeners, (pe) => pe(!0, j, {
|
|
26352
26352
|
uid: X,
|
|
26353
|
-
nodes: ft(
|
|
26353
|
+
nodes: ft(he, (xe) => xe.dom)
|
|
26354
26354
|
}));
|
|
26355
26355
|
});
|
|
26356
26356
|
}, S = (j) => {
|
|
26357
26357
|
c(j, (X) => {
|
|
26358
|
-
Ze(X.listeners, (
|
|
26358
|
+
Ze(X.listeners, (he) => he(!1, j));
|
|
26359
26359
|
});
|
|
26360
26360
|
}, E = (j, X) => {
|
|
26361
|
-
Ze(R_(e, j), (
|
|
26362
|
-
X ? ts(
|
|
26361
|
+
Ze(R_(e, j), (he) => {
|
|
26362
|
+
X ? ts(he, Ih(), "true") : Xr(he, Ih());
|
|
26363
26363
|
});
|
|
26364
26364
|
}, I = I0(() => {
|
|
26365
26365
|
const j = Ts(n.getNames());
|
|
26366
26366
|
Ze(j, (X) => {
|
|
26367
|
-
m(X, (
|
|
26368
|
-
const _e =
|
|
26367
|
+
m(X, (he) => {
|
|
26368
|
+
const _e = he.previous.get();
|
|
26369
26369
|
return T_(e, Y.some(X)).fold(() => {
|
|
26370
26370
|
_e.each((pe) => {
|
|
26371
|
-
S(X),
|
|
26371
|
+
S(X), he.previous.clear(), E(pe, !1);
|
|
26372
26372
|
});
|
|
26373
26373
|
}, ({ uid: pe, name: xe, elements: Ge }) => {
|
|
26374
|
-
ir(_e, pe) || (_e.each((Xe) => E(Xe, !1)), v(xe, pe, Ge),
|
|
26374
|
+
ir(_e, pe) || (_e.each((Xe) => E(Xe, !1)), v(xe, pe, Ge), he.previous.set(pe), E(pe, !0));
|
|
26375
26375
|
}), {
|
|
26376
|
-
previous:
|
|
26377
|
-
listeners:
|
|
26376
|
+
previous: he.previous,
|
|
26377
|
+
listeners: he.listeners
|
|
26378
26378
|
};
|
|
26379
26379
|
});
|
|
26380
26380
|
});
|
|
@@ -26384,9 +26384,9 @@ var Fne = { exports: {} };
|
|
|
26384
26384
|
}), e.on("NodeChange", () => {
|
|
26385
26385
|
I.throttle();
|
|
26386
26386
|
}), { addListener: (j, X) => {
|
|
26387
|
-
m(j, (
|
|
26388
|
-
previous:
|
|
26389
|
-
listeners:
|
|
26387
|
+
m(j, (he) => ({
|
|
26388
|
+
previous: he.previous,
|
|
26389
|
+
listeners: he.listeners.concat([X])
|
|
26390
26390
|
}));
|
|
26391
26391
|
} };
|
|
26392
26392
|
}, V2 = (e, n) => {
|
|
@@ -28275,7 +28275,7 @@ Required: ` + n.join(", "));
|
|
|
28275
28275
|
}, sl = (e, n, o) => Sn(e, n, o, (r) => tv(r) || C1(r)), Sy = (e, n, o) => Sn(e, n, o, hy), rl = (e, n, o, r, c, m) => {
|
|
28276
28276
|
let v;
|
|
28277
28277
|
const S = e.getParent(o, e.isBlock) || n, E = (W, j, X) => {
|
|
28278
|
-
const
|
|
28278
|
+
const he = Bh(e), _e = c ? he.backwards : he.forwards;
|
|
28279
28279
|
return Y.from(_e(W, j, (pe, xe) => E1(pe.parentNode) ? -1 : (v = pe, X(c, pe, xe)), S));
|
|
28280
28280
|
};
|
|
28281
28281
|
return E(o, r, sl).bind((W) => m ? E(W.container, W.offset + (c ? -1 : 0), Sy) : Y.some(W)).orThunk(() => v ? Y.some({
|
|
@@ -28368,9 +28368,9 @@ Required: ` + n.join(", "));
|
|
|
28368
28368
|
return j(m, X, !0);
|
|
28369
28369
|
if (e.isChildOf(S, m))
|
|
28370
28370
|
return j(S, X);
|
|
28371
|
-
const
|
|
28372
|
-
j(m,
|
|
28373
|
-
const pe = I(
|
|
28371
|
+
const he = W(m, X) || m, _e = W(S, X) || S;
|
|
28372
|
+
j(m, he, !0);
|
|
28373
|
+
const pe = I(he === m ? he : he.nextSibling, "nextSibling", _e === S ? _e.nextSibling : _e);
|
|
28374
28374
|
pe.length && o(E(pe)), j(S, _e);
|
|
28375
28375
|
}, qE = [
|
|
28376
28376
|
'pre[class*=language-][contenteditable="false"]',
|
|
@@ -28424,12 +28424,12 @@ Required: ` + n.join(", "));
|
|
|
28424
28424
|
break;
|
|
28425
28425
|
}
|
|
28426
28426
|
}
|
|
28427
|
-
},
|
|
28427
|
+
}, he = (_e) => {
|
|
28428
28428
|
const pe = ft(_e, Ne.fromDom);
|
|
28429
28429
|
j(pe);
|
|
28430
28430
|
};
|
|
28431
28431
|
return T1(e.dom, n, (_e) => {
|
|
28432
|
-
I(),
|
|
28432
|
+
I(), he(_e);
|
|
28433
28433
|
}), v;
|
|
28434
28434
|
}, jm = (e, n, o, r) => {
|
|
28435
28435
|
e.undoManager.transact(() => {
|
|
@@ -28586,7 +28586,7 @@ Required: ` + n.join(", "));
|
|
|
28586
28586
|
]
|
|
28587
28587
|
}, Oy = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, iw = (e, n) => {
|
|
28588
28588
|
const o = n.dom, r = n.getDoc(), c = document, m = n.getBody();
|
|
28589
|
-
let v, S, E, I, W, j, X,
|
|
28589
|
+
let v, S, E, I, W, j, X, he, _e, pe, xe, Ge, Xe, qe, it, zt, rn;
|
|
28590
28590
|
const xn = (wn) => Ce(wn) && (Ft(wn) || o.is(wn, "figure.image")), Tt = (wn) => gd(wn) || o.hasClass(wn, "mce-preview-object"), gt = (wn, Jo) => {
|
|
28591
28591
|
if (Oy(wn)) {
|
|
28592
28592
|
const fs = wn.touches[0];
|
|
@@ -28628,7 +28628,7 @@ Required: ` + n.join(", "));
|
|
|
28628
28628
|
left: sr,
|
|
28629
28629
|
top: Vi,
|
|
28630
28630
|
display: "block"
|
|
28631
|
-
}), E.innerHTML = qe + " × " + it, I[2] < 0 && S.clientWidth <= qe && o.setStyle(S, "left",
|
|
28631
|
+
}), E.innerHTML = qe + " × " + it, I[2] < 0 && S.clientWidth <= qe && o.setStyle(S, "left", he + (pe - qe)), I[3] < 0 && S.clientHeight <= it && o.setStyle(S, "top", _e + (xe - it)), Jo = m.scrollWidth - zt, fs = m.scrollHeight - rn, Jo + fs !== 0 && o.setStyles(E, {
|
|
28632
28632
|
left: sr - Jo,
|
|
28633
28633
|
top: Vi - fs
|
|
28634
28634
|
}), Xe || (ek(n, v, pe, xe, "corner-" + I.name), Xe = !0);
|
|
@@ -29652,36 +29652,36 @@ Required: ` + n.join(", "));
|
|
|
29652
29652
|
W(E);
|
|
29653
29653
|
else {
|
|
29654
29654
|
const j = E.name, X = j in n.getVoidElements();
|
|
29655
|
-
let
|
|
29656
|
-
if (m &&
|
|
29655
|
+
let he = E.attributes;
|
|
29656
|
+
if (m && he && he.length > 1) {
|
|
29657
29657
|
const _e = [];
|
|
29658
29658
|
_e.map = {};
|
|
29659
29659
|
const pe = n.getElementRule(E.name);
|
|
29660
29660
|
if (pe) {
|
|
29661
29661
|
for (let xe = 0, Ge = pe.attributesOrder.length; xe < Ge; xe++) {
|
|
29662
29662
|
const Xe = pe.attributesOrder[xe];
|
|
29663
|
-
if (Xe in
|
|
29664
|
-
const qe =
|
|
29663
|
+
if (Xe in he.map) {
|
|
29664
|
+
const qe = he.map[Xe];
|
|
29665
29665
|
_e.map[Xe] = qe, _e.push({
|
|
29666
29666
|
name: Xe,
|
|
29667
29667
|
value: qe
|
|
29668
29668
|
});
|
|
29669
29669
|
}
|
|
29670
29670
|
}
|
|
29671
|
-
for (let xe = 0, Ge =
|
|
29672
|
-
const Xe =
|
|
29671
|
+
for (let xe = 0, Ge = he.length; xe < Ge; xe++) {
|
|
29672
|
+
const Xe = he[xe].name;
|
|
29673
29673
|
if (!(Xe in _e.map)) {
|
|
29674
|
-
const qe =
|
|
29674
|
+
const qe = he.map[Xe];
|
|
29675
29675
|
_e.map[Xe] = qe, _e.push({
|
|
29676
29676
|
name: Xe,
|
|
29677
29677
|
value: qe
|
|
29678
29678
|
});
|
|
29679
29679
|
}
|
|
29680
29680
|
}
|
|
29681
|
-
|
|
29681
|
+
he = _e;
|
|
29682
29682
|
}
|
|
29683
29683
|
}
|
|
29684
|
-
if (o.start(j,
|
|
29684
|
+
if (o.start(j, he, X), oa(j))
|
|
29685
29685
|
Z(E.value) && o.text(E.value, !0), o.end(j);
|
|
29686
29686
|
else if (!X) {
|
|
29687
29687
|
let _e = E.firstChild;
|
|
@@ -30186,7 +30186,7 @@ Required: ` + n.join(", "));
|
|
|
30186
30186
|
const c = n.getTextBlockElements(), m = n.getNonEmptyElements(), v = n.getWhitespaceElements(), S = jt.makeMap("tr,td,th,tbody,thead,tfoot,table,summary"), E = /* @__PURE__ */ new Set(), I = (W) => W !== o && !S[W.name];
|
|
30187
30187
|
for (let W = 0; W < e.length; W++) {
|
|
30188
30188
|
const j = e[W];
|
|
30189
|
-
let X,
|
|
30189
|
+
let X, he, _e;
|
|
30190
30190
|
if (!j.parent || E.has(j))
|
|
30191
30191
|
continue;
|
|
30192
30192
|
if (c[j.name] && j.parent.name === "li") {
|
|
@@ -30205,8 +30205,8 @@ Required: ` + n.join(", "));
|
|
|
30205
30205
|
if (rT(n, j, X))
|
|
30206
30206
|
HO(j, n);
|
|
30207
30207
|
else {
|
|
30208
|
-
pe.reverse(),
|
|
30209
|
-
let xe =
|
|
30208
|
+
pe.reverse(), he = pe[0].clone(), r(he);
|
|
30209
|
+
let xe = he;
|
|
30210
30210
|
for (let Ge = 0; Ge < pe.length - 1; Ge++) {
|
|
30211
30211
|
n.isValidChild(xe.name, pe[Ge].name) && Ge > 0 ? (_e = pe[Ge].clone(), r(_e), xe.append(_e)) : _e = xe;
|
|
30212
30212
|
for (let Xe = pe[Ge].firstChild; Xe && Xe !== pe[Ge + 1]; ) {
|
|
@@ -30215,7 +30215,7 @@ Required: ` + n.join(", "));
|
|
|
30215
30215
|
}
|
|
30216
30216
|
xe = _e;
|
|
30217
30217
|
}
|
|
30218
|
-
Ow(n, m, v,
|
|
30218
|
+
Ow(n, m, v, he) ? X.insert(j, pe[0], !0) : (X.insert(he, pe[0], !0), X.insert(j, he)), X = pe[0], (Ow(n, m, v, X) || sT(X, "br")) && X.empty().remove();
|
|
30219
30219
|
}
|
|
30220
30220
|
else if (j.parent) {
|
|
30221
30221
|
if (j.name === "li") {
|
|
@@ -30296,7 +30296,7 @@ Required: ` + n.join(", "));
|
|
|
30296
30296
|
}), KL(e, o);
|
|
30297
30297
|
}, YL = (e, n, o, r) => (r.insertAfter(n.reverse(), e), Bl(n[0], o)), XL = (e, n, o, r) => {
|
|
30298
30298
|
const c = V6(n, e, r), m = aT(n, o.startContainer), v = pX(U6(c.firstChild)), S = 1, E = 2, I = n.getRoot(), W = (j) => {
|
|
30299
|
-
const X = wt.fromRangeStart(o),
|
|
30299
|
+
const X = wt.fromRangeStart(o), he = mf(n.getRoot()), _e = j === S ? he.prev(X) : he.next(X), pe = _e == null ? void 0 : _e.getNode();
|
|
30300
30300
|
return pe ? aT(n, pe) !== m : !0;
|
|
30301
30301
|
};
|
|
30302
30302
|
return m ? W(S) ? jO(m, v, I) : W(E) ? YL(m, v, I, n) : WO(m, v, I, o) : null;
|
|
@@ -30362,17 +30362,17 @@ Required: ` + n.join(", "));
|
|
|
30362
30362
|
const W = n.previousSibling;
|
|
30363
30363
|
if (Vt(W)) {
|
|
30364
30364
|
I.setStart(W, (r = (o = W.nodeValue) === null || o === void 0 ? void 0 : o.length) !== null && r !== void 0 ? r : 0);
|
|
30365
|
-
const
|
|
30366
|
-
Vt(
|
|
30365
|
+
const he = n.nextSibling;
|
|
30366
|
+
Vt(he) && (W.appendData(he.data), (c = he.parentNode) === null || c === void 0 || c.removeChild(he));
|
|
30367
30367
|
} else
|
|
30368
30368
|
I.setStartBefore(n), I.setEndBefore(n);
|
|
30369
|
-
const j = (
|
|
30370
|
-
let _e = wt.fromRangeStart(
|
|
30369
|
+
const j = (he) => {
|
|
30370
|
+
let _e = wt.fromRangeStart(he);
|
|
30371
30371
|
return _e = mf(e.getBody()).next(_e), _e == null ? void 0 : _e.toRange();
|
|
30372
30372
|
}, X = v.getParent(n, v.isBlock);
|
|
30373
30373
|
if (v.remove(n), X && v.isEmpty(X)) {
|
|
30374
|
-
const
|
|
30375
|
-
Jc(Ne.fromDom(X)), I.setStart(X, 0), I.setEnd(X, 0), !
|
|
30374
|
+
const he = pf(X);
|
|
30375
|
+
Jc(Ne.fromDom(X)), I.setStart(X, 0), I.setEnd(X, 0), !he && !W6(X) && (m = j(I)) ? (I = m, v.remove(X)) : v.add(X, v.create("br", he ? {} : { "data-mce-bogus": "1" }));
|
|
30376
30376
|
}
|
|
30377
30377
|
S.setRng(I);
|
|
30378
30378
|
}, qm = (e) => {
|
|
@@ -30393,8 +30393,8 @@ Required: ` + n.join(", "));
|
|
|
30393
30393
|
const m = e.selection, v = e.dom, S = e.parser, E = o.merge, I = dp({ validate: !0 }, e.schema), W = '<span id="mce_marker" data-mce-type="bookmark"></span>';
|
|
30394
30394
|
o.preserve_zwsp || (n = ju(n)), n.indexOf("{$caret}") === -1 && (n += "{$caret}"), n = n.replace(/\{\$caret\}/, W);
|
|
30395
30395
|
let j = m.getRng();
|
|
30396
|
-
const X = j.startContainer,
|
|
30397
|
-
X ===
|
|
30396
|
+
const X = j.startContainer, he = e.getBody();
|
|
30397
|
+
X === he && m.isCollapsed() && v.isBlock(he.firstChild) && cT(e, he.firstChild) && v.isEmpty(he.firstChild) && (j = v.createRng(), j.setStart(he.firstChild, 0), j.setEnd(he.firstChild, 0), m.setRng(j)), m.isCollapsed() || qm(e);
|
|
30398
30398
|
const _e = m.getNode(), pe = {
|
|
30399
30399
|
context: _e.nodeName.toLowerCase(),
|
|
30400
30400
|
data: o.data,
|
|
@@ -30643,29 +30643,29 @@ Required: ` + n.join(", "));
|
|
|
30643
30643
|
let j = I;
|
|
30644
30644
|
Vt(I) && (W !== I.data.length && (v = !0), j = j.parentNode);
|
|
30645
30645
|
const X = [];
|
|
30646
|
-
let
|
|
30646
|
+
let he;
|
|
30647
30647
|
for (; j; ) {
|
|
30648
30648
|
if (mm(e, j, n, o, r)) {
|
|
30649
|
-
|
|
30649
|
+
he = j;
|
|
30650
30650
|
break;
|
|
30651
30651
|
}
|
|
30652
30652
|
j.nextSibling && (v = !0), X.push(j), j = j.parentNode;
|
|
30653
30653
|
}
|
|
30654
|
-
if (
|
|
30654
|
+
if (he)
|
|
30655
30655
|
if (v) {
|
|
30656
30656
|
const _e = m.getBookmark();
|
|
30657
30657
|
E.collapse(!0);
|
|
30658
30658
|
let pe = ip(c, E, S, !0);
|
|
30659
30659
|
pe = Wt(pe), e.formatter.remove(n, o, pe, r), m.moveToBookmark(_e);
|
|
30660
30660
|
} else {
|
|
30661
|
-
const _e = tp(e.getBody(),
|
|
30662
|
-
uH(e, xe, _e ??
|
|
30663
|
-
const Ge = dH(e, xe,
|
|
30661
|
+
const _e = tp(e.getBody(), he), pe = Ce(_e) ? c.getParents(he.parentNode, dt, _e) : [], xe = vT(!1).dom;
|
|
30662
|
+
uH(e, xe, _e ?? he);
|
|
30663
|
+
const Ge = dH(e, xe, he, n, o, r), Xe = bT([
|
|
30664
30664
|
...X,
|
|
30665
30665
|
...Ge.toArray(),
|
|
30666
30666
|
...pe
|
|
30667
30667
|
], xe);
|
|
30668
|
-
_e && K6(e, _e, Ce(_e)), m.setCursorLocation(Xe, 1), c.isEmpty(
|
|
30668
|
+
_e && K6(e, _e, Ce(_e)), m.setCursorLocation(Xe, 1), c.isEmpty(he) && c.remove(he);
|
|
30669
30669
|
}
|
|
30670
30670
|
}, fH = (e, n, o) => {
|
|
30671
30671
|
const r = e.selection, c = e.getBody();
|
|
@@ -30848,27 +30848,27 @@ Required: ` + n.join(", "));
|
|
|
30848
30848
|
if (n.remove !== "all") {
|
|
30849
30849
|
uM(m, E, n, o, c), xT(n.attributes, (j, X) => {
|
|
30850
30850
|
const {
|
|
30851
|
-
name:
|
|
30851
|
+
name: he,
|
|
30852
30852
|
value: _e
|
|
30853
30853
|
} = z1(X, j, o);
|
|
30854
|
-
if (n.remove_similar || q(_e) || !Pn(c) || zw(m.getAttrib(c,
|
|
30855
|
-
if (
|
|
30856
|
-
const pe = m.getAttrib(E,
|
|
30854
|
+
if (n.remove_similar || q(_e) || !Pn(c) || zw(m.getAttrib(c, he), _e)) {
|
|
30855
|
+
if (he === "class") {
|
|
30856
|
+
const pe = m.getAttrib(E, he);
|
|
30857
30857
|
if (pe) {
|
|
30858
30858
|
let xe = "";
|
|
30859
30859
|
if (Ze(pe.split(/\s+/), (Ge) => {
|
|
30860
30860
|
/mce\-\w+/.test(Ge) && (xe += (xe ? " " : "") + Ge);
|
|
30861
30861
|
}), xe) {
|
|
30862
|
-
m.setAttrib(E,
|
|
30862
|
+
m.setAttrib(E, he, xe);
|
|
30863
30863
|
return;
|
|
30864
30864
|
}
|
|
30865
30865
|
}
|
|
30866
30866
|
}
|
|
30867
|
-
if (rM.test(
|
|
30868
|
-
E.removeAttribute(
|
|
30867
|
+
if (rM.test(he) && E.removeAttribute("data-mce-" + he), he === "style" && hu(["li"])(E) && m.getStyle(E, "list-style-type") === "none") {
|
|
30868
|
+
E.removeAttribute(he), m.setStyle(E, "list-style-type", "none");
|
|
30869
30869
|
return;
|
|
30870
30870
|
}
|
|
30871
|
-
|
|
30871
|
+
he === "class" && E.removeAttribute("className"), E.removeAttribute(he);
|
|
30872
30872
|
}
|
|
30873
30873
|
}), xT(n.classes, (j) => {
|
|
30874
30874
|
j = Um(j, o), (!Pn(c) || m.hasClass(c, j)) && m.removeClass(E, j);
|
|
@@ -30894,8 +30894,8 @@ Required: ` + n.join(", "));
|
|
|
30894
30894
|
let W, j;
|
|
30895
30895
|
const X = e.dom;
|
|
30896
30896
|
if (o) {
|
|
30897
|
-
const
|
|
30898
|
-
for (let _e = r.parentNode; _e && _e !==
|
|
30897
|
+
const he = o.parentNode;
|
|
30898
|
+
for (let _e = r.parentNode; _e && _e !== he; _e = _e.parentNode) {
|
|
30899
30899
|
let pe = X.clone(_e, !1);
|
|
30900
30900
|
for (let xe = 0; xe < n.length && (pe = bH(e, n[xe], S, pe), pe !== null); xe++)
|
|
30901
30901
|
;
|
|
@@ -30925,7 +30925,7 @@ Required: ` + n.join(", "));
|
|
|
30925
30925
|
styles: { textDecoration: zt }
|
|
30926
30926
|
}, void 0, pe);
|
|
30927
30927
|
});
|
|
30928
|
-
},
|
|
30928
|
+
}, he = (pe) => {
|
|
30929
30929
|
const xe = S.get(pe ? "_start" : "_end");
|
|
30930
30930
|
if (xe) {
|
|
30931
30931
|
let Ge = xe[pe ? "firstChild" : "lastChild"];
|
|
@@ -30941,7 +30941,7 @@ Required: ` + n.join(", "));
|
|
|
30941
30941
|
I(ET(S, it, !0, "span", {
|
|
30942
30942
|
id: "_start",
|
|
30943
30943
|
"data-mce-type": "bookmark"
|
|
30944
|
-
})),
|
|
30944
|
+
})), he(!0);
|
|
30945
30945
|
return;
|
|
30946
30946
|
}
|
|
30947
30947
|
if (aM(S, Ge, xe)) {
|
|
@@ -30949,7 +30949,7 @@ Required: ` + n.join(", "));
|
|
|
30949
30949
|
I(ET(S, it, !1, "span", {
|
|
30950
30950
|
id: "_end",
|
|
30951
30951
|
"data-mce-type": "bookmark"
|
|
30952
|
-
})),
|
|
30952
|
+
})), he(!1);
|
|
30953
30953
|
return;
|
|
30954
30954
|
}
|
|
30955
30955
|
xe = AT(S, xe, "span", {
|
|
@@ -30964,7 +30964,7 @@ Required: ` + n.join(", "));
|
|
|
30964
30964
|
Ze(it, (zt) => {
|
|
30965
30965
|
!ou(zt) && !ou(zt.parentNode) && I(zt);
|
|
30966
30966
|
});
|
|
30967
|
-
}), I(xe), I(Ge), xe =
|
|
30967
|
+
}), I(xe), I(Ge), xe = he(!0), Ge = he();
|
|
30968
30968
|
} else
|
|
30969
30969
|
xe = Ge = I(xe);
|
|
30970
30970
|
Xe.startContainer = xe.parentNode ? xe.parentNode : xe, Xe.startOffset = S.nodeIndex(xe), Xe.endContainer = Ge.parentNode ? Ge.parentNode : Ge, Xe.endOffset = S.nodeIndex(Ge) + 1;
|
|
@@ -31108,9 +31108,9 @@ Required: ` + n.join(", "));
|
|
|
31108
31108
|
}
|
|
31109
31109
|
(ol(m) || cm(m) && m.wrapper) && (!m.exact && Ln === 1 && (Tt = Lt(Tt)), wH(e, c, o, Tt), gM(e, m, n, o, Tt), ox(_e, m, o, Tt), mM(_e, m, o, Tt), hM(_e, m, o, Tt), nM(e, m, o, Tt));
|
|
31110
31110
|
});
|
|
31111
|
-
},
|
|
31112
|
-
if (S.getContentEditable(
|
|
31113
|
-
r =
|
|
31111
|
+
}, he = sv(r) ? r : E.getNode();
|
|
31112
|
+
if (S.getContentEditable(he) === "false" && !UE(e, he)) {
|
|
31113
|
+
r = he, W(c, r), Su(e, n, r, o);
|
|
31114
31114
|
return;
|
|
31115
31115
|
}
|
|
31116
31116
|
if (m) {
|
|
@@ -31366,8 +31366,8 @@ Required: ` + n.join(", "));
|
|
|
31366
31366
|
e.addAttributeFilter("href", (E) => {
|
|
31367
31367
|
let I = E.length;
|
|
31368
31368
|
const W = (X) => X.split(" ").filter((_e) => _e.length > 0).concat(["noopener"]).sort().join(" "), j = (X) => {
|
|
31369
|
-
const
|
|
31370
|
-
return /\b(noopener)\b/g.test(
|
|
31369
|
+
const he = X ? jt.trim(X) : "";
|
|
31370
|
+
return /\b(noopener)\b/g.test(he) ? he : W(he);
|
|
31371
31371
|
};
|
|
31372
31372
|
if (!n.allow_unsafe_link_target)
|
|
31373
31373
|
for (; I--; ) {
|
|
@@ -31375,11 +31375,11 @@ Required: ` + n.join(", "));
|
|
|
31375
31375
|
X.name === "a" && X.attr("target") === "_blank" && X.attr("rel", j(X.attr("rel")));
|
|
31376
31376
|
}
|
|
31377
31377
|
}), n.allow_html_in_named_anchor || e.addAttributeFilter("id,name", (E) => {
|
|
31378
|
-
let I = E.length, W, j, X,
|
|
31378
|
+
let I = E.length, W, j, X, he;
|
|
31379
31379
|
for (; I--; )
|
|
31380
|
-
if (
|
|
31381
|
-
for (X =
|
|
31382
|
-
j = W.prev, X.insert(W,
|
|
31380
|
+
if (he = E[I], he.name === "a" && he.firstChild && !he.attr("href"))
|
|
31381
|
+
for (X = he.parent, W = he.lastChild; W && X; )
|
|
31382
|
+
j = W.prev, X.insert(W, he), W = j;
|
|
31383
31383
|
}), n.fix_list_elements && e.addNodeFilter("ul,ol", (E) => {
|
|
31384
31384
|
let I = E.length, W, j;
|
|
31385
31385
|
for (; I--; )
|
|
@@ -31396,10 +31396,10 @@ Required: ` + n.join(", "));
|
|
|
31396
31396
|
var I;
|
|
31397
31397
|
let W = E.length;
|
|
31398
31398
|
for (; W--; ) {
|
|
31399
|
-
const j = E[W], X = (I = j.attr("class")) !== null && I !== void 0 ? I : "",
|
|
31399
|
+
const j = E[W], X = (I = j.attr("class")) !== null && I !== void 0 ? I : "", he = jt.explode(X, " ");
|
|
31400
31400
|
let _e = "";
|
|
31401
|
-
for (let pe = 0; pe <
|
|
31402
|
-
const xe =
|
|
31401
|
+
for (let pe = 0; pe < he.length; pe++) {
|
|
31402
|
+
const xe = he[pe];
|
|
31403
31403
|
let Ge = !1, Xe = m["*"];
|
|
31404
31404
|
Xe && Xe[xe] && (Ge = !0), Xe = m[j.name], !Ge && Xe && Xe[xe] && (Ge = !0), Ge && (_e && (_e += " "), _e += xe);
|
|
31405
31405
|
}
|
|
@@ -32128,7 +32128,7 @@ Required: ` + n.join(", "));
|
|
|
32128
32128
|
return n.isSupported = !1, n;
|
|
32129
32129
|
const o = e.document, r = o.currentScript;
|
|
32130
32130
|
let { document: c } = e;
|
|
32131
|
-
const { DocumentFragment: m, HTMLTemplateElement: v, Node: S, Element: E, NodeFilter: I, NamedNodeMap: W = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: j, DOMParser: X, trustedTypes:
|
|
32131
|
+
const { DocumentFragment: m, HTMLTemplateElement: v, Node: S, Element: E, NodeFilter: I, NamedNodeMap: W = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: j, DOMParser: X, trustedTypes: he } = e, _e = E.prototype, pe = hx(_e, "cloneNode"), xe = hx(_e, "nextSibling"), Ge = hx(_e, "childNodes"), Xe = hx(_e, "parentNode");
|
|
32132
32132
|
if (typeof v == "function") {
|
|
32133
32133
|
const ms = c.createElement("template");
|
|
32134
32134
|
ms.content && ms.content.ownerDocument && (c = ms.content.ownerDocument);
|
|
@@ -32255,7 +32255,7 @@ Required: ` + n.join(", "));
|
|
|
32255
32255
|
throw jw('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
32256
32256
|
qe = Ct.TRUSTED_TYPES_POLICY, it = qe.createHTML("");
|
|
32257
32257
|
} else
|
|
32258
|
-
qe === void 0 && (qe = ZH(
|
|
32258
|
+
qe === void 0 && (qe = ZH(he, r)), qe !== null && typeof it == "string" && (it = qe.createHTML(""));
|
|
32259
32259
|
ed && ed(Ct), l0 = Ct;
|
|
32260
32260
|
}
|
|
32261
32261
|
}, jC = Sr({}, [
|
|
@@ -32431,8 +32431,8 @@ Required: ` + n.join(", "));
|
|
|
32431
32431
|
Ca(t, Ct);
|
|
32432
32432
|
continue;
|
|
32433
32433
|
}
|
|
32434
|
-
if (zd && (oi === "id" || oi === "name") && (Ca(t, Ct), xo = to + xo), qe && typeof
|
|
32435
|
-
switch (
|
|
32434
|
+
if (zd && (oi === "id" || oi === "name") && (Ca(t, Ct), xo = to + xo), qe && typeof he == "object" && typeof he.getAttributeType == "function" && !s)
|
|
32435
|
+
switch (he.getAttributeType(d, oi)) {
|
|
32436
32436
|
case "TrustedHTML": {
|
|
32437
32437
|
xo = qe.createHTML(xo);
|
|
32438
32438
|
break;
|
|
@@ -32693,8 +32693,8 @@ Required: ` + n.join(", "));
|
|
|
32693
32693
|
}
|
|
32694
32694
|
if (e.nodeType !== Ni || j === "body")
|
|
32695
32695
|
return;
|
|
32696
|
-
const X = Ne.fromDom(e),
|
|
32697
|
-
if (!
|
|
32696
|
+
const X = Ne.fromDom(e), he = ta(X, ag), _e = Or(X, "data-mce-bogus");
|
|
32697
|
+
if (!he && Z(_e)) {
|
|
32698
32698
|
_e === "all" ? yr(X) : pc(X);
|
|
32699
32699
|
return;
|
|
32700
32700
|
}
|
|
@@ -32704,7 +32704,7 @@ Required: ` + n.join(", "));
|
|
|
32704
32704
|
return;
|
|
32705
32705
|
} else
|
|
32706
32706
|
Ce(c) && (c.allowedTags[j] = !0);
|
|
32707
|
-
if (I && pe && !
|
|
32707
|
+
if (I && pe && !he) {
|
|
32708
32708
|
if (Ze((S = pe.attributesForced) !== null && S !== void 0 ? S : [], (xe) => {
|
|
32709
32709
|
ts(X, xe.name, xe.value === "{$uid}" ? `mce_${OM++}` : xe.value);
|
|
32710
32710
|
}), Ze((E = pe.attributesDefault) !== null && E !== void 0 ? E : [], (xe) => {
|
|
@@ -32808,7 +32808,7 @@ Required: ` + n.join(", "));
|
|
|
32808
32808
|
const I = v[S], W = new ru(I.nodeName.toLowerCase(), I.nodeType);
|
|
32809
32809
|
if (Pn(I)) {
|
|
32810
32810
|
const j = I.attributes;
|
|
32811
|
-
for (let X = 0,
|
|
32811
|
+
for (let X = 0, he = j.length; X < he; X++) {
|
|
32812
32812
|
const _e = j[X];
|
|
32813
32813
|
W.attr(_e.name, _e.value);
|
|
32814
32814
|
}
|
|
@@ -32836,7 +32836,7 @@ Required: ` + n.join(", "));
|
|
|
32836
32836
|
qe = qe.parent;
|
|
32837
32837
|
}
|
|
32838
32838
|
return !1;
|
|
32839
|
-
},
|
|
32839
|
+
}, he = (Xe) => {
|
|
32840
32840
|
let qe = Xe;
|
|
32841
32841
|
for (; Ce(qe); ) {
|
|
32842
32842
|
if (qe.name in E)
|
|
@@ -32862,7 +32862,7 @@ Required: ` + n.join(", "));
|
|
|
32862
32862
|
const it = n.getElementRule(Xe.name);
|
|
32863
32863
|
if (c && it) {
|
|
32864
32864
|
const zt = Ow(n, m, v, Xe);
|
|
32865
|
-
it.paddInEmptyBlock && zt &&
|
|
32865
|
+
it.paddInEmptyBlock && zt && he(Xe) ? oT(o, r, _e, Xe) : it.removeEmpty && zt ? _e(Xe) ? Xe.remove() : Xe.unwrap() : it.paddEmpty && (zt || UL(Xe)) && oT(o, r, _e, Xe);
|
|
32866
32866
|
}
|
|
32867
32867
|
} else if (Xe.type === 3 && !X(Xe)) {
|
|
32868
32868
|
let it = (qe = Xe.value) !== null && qe !== void 0 ? qe : "";
|
|
@@ -32883,7 +32883,7 @@ Required: ` + n.join(", "));
|
|
|
32883
32883
|
}, m = new DOMParser(), v = qH(c, n), S = (qe, it, zt = "html") => {
|
|
32884
32884
|
const rn = zt === "xhtml" ? "application/xhtml+xml" : "text/html", xn = Yn(n.getSpecialElements(), it.toLowerCase()), Tt = xn ? `<${it}>${qe}</${it}>` : qe, gt = zt === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${Tt}</body></html>` : `<body>${Tt}</body>`, Lt = m.parseFromString(gt, rn).body;
|
|
32885
32885
|
return v.sanitizeHtmlElement(Lt, rn), xn ? Lt.firstChild : Lt;
|
|
32886
|
-
}, E = o.addFilter, I = o.getFilters, W = o.removeFilter, j = r.addFilter, X = r.getFilters,
|
|
32886
|
+
}, E = o.addFilter, I = o.getFilters, W = o.removeFilter, j = r.addFilter, X = r.getFilters, he = r.removeFilter, _e = (qe, it) => {
|
|
32887
32887
|
rT(n, qe) && it.push(qe);
|
|
32888
32888
|
}, pe = (qe, it) => {
|
|
32889
32889
|
const zt = Z(it.attr(ag)), rn = it.type === 1 && !Yn(qe, it.name) && !Sh(n, it) && !oa(it.name);
|
|
@@ -32906,7 +32906,7 @@ Required: ` + n.join(", "));
|
|
|
32906
32906
|
schema: n,
|
|
32907
32907
|
addAttributeFilter: j,
|
|
32908
32908
|
getAttributeFilters: X,
|
|
32909
|
-
removeAttributeFilter:
|
|
32909
|
+
removeAttributeFilter: he,
|
|
32910
32910
|
addNodeFilter: E,
|
|
32911
32911
|
getNodeFilters: I,
|
|
32912
32912
|
removeNodeFilter: W,
|
|
@@ -33089,8 +33089,8 @@ Required: ` + n.join(", "));
|
|
|
33089
33089
|
if (X === -1)
|
|
33090
33090
|
return E;
|
|
33091
33091
|
{
|
|
33092
|
-
const
|
|
33093
|
-
return (
|
|
33092
|
+
const he = yx(j, X - 1), _e = yx(j, X + E.length);
|
|
33093
|
+
return (he ? " " : "") + E + (_e ? " " : "");
|
|
33094
33094
|
}
|
|
33095
33095
|
} else
|
|
33096
33096
|
return E;
|
|
@@ -33121,15 +33121,15 @@ Required: ` + n.join(", "));
|
|
|
33121
33121
|
start: W,
|
|
33122
33122
|
end: j,
|
|
33123
33123
|
diag: X
|
|
33124
|
-
}), v = (W, j, X,
|
|
33125
|
-
const pe = E(W, j, X,
|
|
33126
|
-
if (pe === null || pe.start === j && pe.diag === j -
|
|
33124
|
+
}), v = (W, j, X, he, _e) => {
|
|
33125
|
+
const pe = E(W, j, X, he);
|
|
33126
|
+
if (pe === null || pe.start === j && pe.diag === j - he || pe.end === W && pe.diag === W - X) {
|
|
33127
33127
|
let xe = W, Ge = X;
|
|
33128
|
-
for (; xe < j || Ge <
|
|
33129
|
-
xe < j && Ge <
|
|
33128
|
+
for (; xe < j || Ge < he; )
|
|
33129
|
+
xe < j && Ge < he && e[xe] === n[Ge] ? (_e.push([
|
|
33130
33130
|
i5,
|
|
33131
33131
|
e[xe]
|
|
33132
|
-
]), ++xe, ++Ge) : j - W >
|
|
33132
|
+
]), ++xe, ++Ge) : j - W > he - X ? (_e.push([
|
|
33133
33133
|
e9,
|
|
33134
33134
|
e[xe]
|
|
33135
33135
|
]), ++xe) : (_e.push([
|
|
@@ -33143,15 +33143,15 @@ Required: ` + n.join(", "));
|
|
|
33143
33143
|
i5,
|
|
33144
33144
|
e[xe]
|
|
33145
33145
|
]);
|
|
33146
|
-
v(pe.end, j, pe.end - pe.diag,
|
|
33146
|
+
v(pe.end, j, pe.end - pe.diag, he, _e);
|
|
33147
33147
|
}
|
|
33148
|
-
}, S = (W, j, X,
|
|
33148
|
+
}, S = (W, j, X, he) => {
|
|
33149
33149
|
let _e = W;
|
|
33150
|
-
for (; _e - j <
|
|
33150
|
+
for (; _e - j < he && _e < X && e[_e] === n[_e - j]; )
|
|
33151
33151
|
++_e;
|
|
33152
33152
|
return m(W, _e, j);
|
|
33153
|
-
}, E = (W, j, X,
|
|
33154
|
-
const _e = j - W, pe =
|
|
33153
|
+
}, E = (W, j, X, he) => {
|
|
33154
|
+
const _e = j - W, pe = he - X;
|
|
33155
33155
|
if (_e === 0 || pe === 0)
|
|
33156
33156
|
return null;
|
|
33157
33157
|
const xe = _e - pe, Ge = pe + _e, Xe = (Ge % 2 === 0 ? Ge : Ge + 1) / 2;
|
|
@@ -33159,16 +33159,16 @@ Required: ` + n.join(", "));
|
|
|
33159
33159
|
let qe, it, zt, rn, xn;
|
|
33160
33160
|
for (qe = 0; qe <= Xe; ++qe) {
|
|
33161
33161
|
for (it = -qe; it <= qe; it += 2) {
|
|
33162
|
-
for (zt = it + Xe, it === -qe || it !== qe && r[zt - 1] < r[zt + 1] ? r[zt] = r[zt + 1] : r[zt] = r[zt - 1] + 1, rn = r[zt], xn = rn - W + X - it; rn < j && xn <
|
|
33162
|
+
for (zt = it + Xe, it === -qe || it !== qe && r[zt - 1] < r[zt + 1] ? r[zt] = r[zt + 1] : r[zt] = r[zt - 1] + 1, rn = r[zt], xn = rn - W + X - it; rn < j && xn < he && e[rn] === n[xn]; )
|
|
33163
33163
|
r[zt] = ++rn, ++xn;
|
|
33164
33164
|
if (xe % 2 !== 0 && xe - qe <= it && it <= xe + qe && c[zt - xe] <= r[zt])
|
|
33165
|
-
return S(c[zt - xe], it + W - X, j,
|
|
33165
|
+
return S(c[zt - xe], it + W - X, j, he);
|
|
33166
33166
|
}
|
|
33167
33167
|
for (it = xe - qe; it <= xe + qe; it += 2) {
|
|
33168
33168
|
for (zt = it + Xe - xe, it === xe - qe || it !== xe + qe && c[zt + 1] <= c[zt - 1] ? c[zt] = c[zt + 1] - 1 : c[zt] = c[zt - 1], rn = c[zt] - 1, xn = rn - W + X - it; rn >= W && xn >= X && e[rn] === n[xn]; )
|
|
33169
33169
|
c[zt] = rn--, xn--;
|
|
33170
33170
|
if (xe % 2 === 0 && -qe <= it && it <= qe && c[zt] <= r[zt + xe])
|
|
33171
|
-
return S(c[zt], it + W - X, j,
|
|
33171
|
+
return S(c[zt], it + W - X, j, he);
|
|
33172
33172
|
}
|
|
33173
33173
|
}
|
|
33174
33174
|
return null;
|
|
@@ -33363,7 +33363,7 @@ Required: ` + n.join(", "));
|
|
|
33363
33363
|
apply: (I, W, j) => c.apply(I, n(W)),
|
|
33364
33364
|
remove: (I, W, j, X) => c.remove(I, n(W)),
|
|
33365
33365
|
toggle: (I, W, j) => c.toggle(I, n(W)),
|
|
33366
|
-
formatChanged: (I, W, j, X,
|
|
33366
|
+
formatChanged: (I, W, j, X, he) => c.formatChanged(W, j, X, he)
|
|
33367
33367
|
},
|
|
33368
33368
|
editor: {
|
|
33369
33369
|
getContent: (I) => m.getContent(I),
|
|
@@ -33501,18 +33501,18 @@ Required: ` + n.join(", "));
|
|
|
33501
33501
|
o = {}, r = {}, n.on("NodeChange", (S) => {
|
|
33502
33502
|
const E = S.element, I = m(E), W = {};
|
|
33503
33503
|
Xt(o, (j, X) => {
|
|
33504
|
-
c(X, I).each((
|
|
33504
|
+
c(X, I).each((he) => {
|
|
33505
33505
|
r[X] || (Ze(j, (_e) => {
|
|
33506
33506
|
_e(!0, {
|
|
33507
|
-
node:
|
|
33507
|
+
node: he,
|
|
33508
33508
|
selector: X,
|
|
33509
33509
|
parents: I
|
|
33510
33510
|
});
|
|
33511
33511
|
}), r[X] = j), W[X] = j;
|
|
33512
33512
|
});
|
|
33513
33513
|
}), Xt(r, (j, X) => {
|
|
33514
|
-
W[X] || (delete r[X], Ze(j, (
|
|
33515
|
-
|
|
33514
|
+
W[X] || (delete r[X], Ze(j, (he) => {
|
|
33515
|
+
he(!1, {
|
|
33516
33516
|
node: E,
|
|
33517
33517
|
selector: X,
|
|
33518
33518
|
parents: I
|
|
@@ -33536,7 +33536,7 @@ Required: ` + n.join(", "));
|
|
|
33536
33536
|
const { selectorChangedWithUnbind: v } = $z(e, r), S = (un, Xn) => {
|
|
33537
33537
|
const Fs = e.createRng();
|
|
33538
33538
|
Ce(un) && Ce(Xn) ? (Fs.setStart(un, Xn), Fs.setEnd(un, Xn), it(Fs), Ge(!1)) : (n6(e, Fs, r.getBody(), !0), it(Fs));
|
|
33539
|
-
}, E = (un) => Rz(r, un), I = (un, Xn) => Pz(r, un, Xn), W = (un) => xk(r.getBody(), qe(), un), j = (un) => DR(r.getBody(), qe(), un), X = (un, Xn) => Wl.getBookmark(un, Xn),
|
|
33539
|
+
}, E = (un) => Rz(r, un), I = (un, Xn) => Pz(r, un, Xn), W = (un) => xk(r.getBody(), qe(), un), j = (un) => DR(r.getBody(), qe(), un), X = (un, Xn) => Wl.getBookmark(un, Xn), he = (un) => Wl.moveToBookmark(un), _e = (un, Xn) => (A6(e, un, Xn).each(it), un), pe = () => {
|
|
33540
33540
|
const un = qe(), Xn = Xe();
|
|
33541
33541
|
return !un || un.item ? !1 : un.compareEndPoints ? un.compareEndPoints("StartToEnd", un) === 0 : !Xn || un.collapsed;
|
|
33542
33542
|
}, xe = () => {
|
|
@@ -33614,7 +33614,7 @@ Required: ` + n.join(", "));
|
|
|
33614
33614
|
getContent: E,
|
|
33615
33615
|
setContent: I,
|
|
33616
33616
|
getBookmark: X,
|
|
33617
|
-
moveToBookmark:
|
|
33617
|
+
moveToBookmark: he,
|
|
33618
33618
|
select: _e,
|
|
33619
33619
|
isCollapsed: pe,
|
|
33620
33620
|
isEditable: xe,
|
|
@@ -33669,8 +33669,8 @@ Required: ` + n.join(", "));
|
|
|
33669
33669
|
v.body = 1;
|
|
33670
33670
|
const I = (W) => W.name in v || Sh(o, W);
|
|
33671
33671
|
for (let W = 0, j = r.length; W < j; W++) {
|
|
33672
|
-
let X = r[W],
|
|
33673
|
-
if (
|
|
33672
|
+
let X = r[W], he = X.parent;
|
|
33673
|
+
if (he && I(he) && X === he.lastChild) {
|
|
33674
33674
|
let _e = X.prev;
|
|
33675
33675
|
for (; _e; ) {
|
|
33676
33676
|
const pe = _e.name;
|
|
@@ -33680,15 +33680,15 @@ Required: ` + n.join(", "));
|
|
|
33680
33680
|
}
|
|
33681
33681
|
_e = _e.prev;
|
|
33682
33682
|
}
|
|
33683
|
-
if (X && (X.remove(), Ow(o, S, E,
|
|
33684
|
-
const pe = o.getElementRule(
|
|
33685
|
-
pe && (pe.removeEmpty ?
|
|
33683
|
+
if (X && (X.remove(), Ow(o, S, E, he))) {
|
|
33684
|
+
const pe = o.getElementRule(he.name);
|
|
33685
|
+
pe && (pe.removeEmpty ? he.remove() : pe.paddEmpty && oT(e, m, I, he));
|
|
33686
33686
|
}
|
|
33687
33687
|
} else {
|
|
33688
33688
|
let _e = X;
|
|
33689
|
-
for (;
|
|
33690
|
-
|
|
33691
|
-
if (_e ===
|
|
33689
|
+
for (; he && he.firstChild === _e && he.lastChild === _e && (_e = he, !v[he.name]); )
|
|
33690
|
+
he = he.parent;
|
|
33691
|
+
if (_e === he) {
|
|
33692
33692
|
const pe = new ru("#text", 3);
|
|
33693
33693
|
pe.value = $i, X.replace(pe);
|
|
33694
33694
|
}
|
|
@@ -33825,8 +33825,8 @@ Required: ` + n.join(", "));
|
|
|
33825
33825
|
const W = {
|
|
33826
33826
|
format: "html",
|
|
33827
33827
|
...I
|
|
33828
|
-
}, j = _5(n, E, W), X = Uz(c, j, W),
|
|
33829
|
-
return W.format === "tree" ?
|
|
33828
|
+
}, j = _5(n, E, W), X = Uz(c, j, W), he = Xy(v, X, W);
|
|
33829
|
+
return W.format === "tree" ? he : kX(n, r, m, he, W);
|
|
33830
33830
|
};
|
|
33831
33831
|
return {
|
|
33832
33832
|
schema: m,
|
|
@@ -33981,17 +33981,17 @@ Options:${v}${o.join(v)}` : "";
|
|
|
33981
33981
|
const n = [], o = () => {
|
|
33982
33982
|
const X = e.theme;
|
|
33983
33983
|
return X && X.getNotificationManagerImpl ? X.getNotificationManagerImpl() : iV();
|
|
33984
|
-
}, r = () => Y.from(n[0]), c = (X,
|
|
33984
|
+
}, r = () => Y.from(n[0]), c = (X, he) => X.type === he.type && X.text === he.text && !X.progressBar && !X.timeout && !he.progressBar && !he.timeout, m = () => {
|
|
33985
33985
|
r().each((X) => {
|
|
33986
33986
|
X.reposition();
|
|
33987
33987
|
});
|
|
33988
33988
|
}, v = (X) => {
|
|
33989
33989
|
n.push(X);
|
|
33990
33990
|
}, S = (X) => {
|
|
33991
|
-
Hs(n, (
|
|
33992
|
-
n.splice(
|
|
33991
|
+
Hs(n, (he) => he === X).each((he) => {
|
|
33992
|
+
n.splice(he, 1);
|
|
33993
33993
|
});
|
|
33994
|
-
}, E = (X,
|
|
33994
|
+
}, E = (X, he = !0) => e.removed || !aV(e) ? {} : (he && e.dispatch("BeforeOpenNotification", { notification: X }), Wo(n, (_e) => c(o().getArgs(_e), X)).getOrThunk(() => {
|
|
33995
33995
|
e.editorManager.setActive(e);
|
|
33996
33996
|
const _e = o().open(X, () => {
|
|
33997
33997
|
S(_e);
|
|
@@ -34004,19 +34004,19 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34004
34004
|
}, W = $t(n);
|
|
34005
34005
|
return ((X) => {
|
|
34006
34006
|
X.on("SkinLoaded", () => {
|
|
34007
|
-
const
|
|
34008
|
-
|
|
34009
|
-
text:
|
|
34007
|
+
const he = g3(X);
|
|
34008
|
+
he && E({
|
|
34009
|
+
text: he,
|
|
34010
34010
|
type: "warning",
|
|
34011
34011
|
timeout: 0
|
|
34012
34012
|
}, !1), m();
|
|
34013
34013
|
}), X.on("show ResizeEditor NodeChange", () => {
|
|
34014
34014
|
requestAnimationFrame(m);
|
|
34015
34015
|
}), X.on("remove", () => {
|
|
34016
|
-
Ze(n.slice(), (
|
|
34017
|
-
o().close(
|
|
34016
|
+
Ze(n.slice(), (he) => {
|
|
34017
|
+
o().close(he);
|
|
34018
34018
|
});
|
|
34019
|
-
}), X.addShortcut("alt+F12", "Focus to notification", () => r().map((
|
|
34019
|
+
}), X.addShortcut("alt+F12", "Focus to notification", () => r().map((he) => Ne.fromDom(he.getEl())).each((he) => hv(he)));
|
|
34020
34020
|
})(e), {
|
|
34021
34021
|
open: E,
|
|
34022
34022
|
close: I,
|
|
@@ -34055,7 +34055,7 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34055
34055
|
}, W = (pe, xe) => I(() => o().open(pe, xe, S)), j = (pe) => I(() => o().openUrl(pe, S)), X = (pe, xe, Ge) => {
|
|
34056
34056
|
const Xe = o();
|
|
34057
34057
|
Xe.alert(pe, r(Ge || Xe, xe));
|
|
34058
|
-
},
|
|
34058
|
+
}, he = (pe, xe, Ge) => {
|
|
34059
34059
|
const Xe = o();
|
|
34060
34060
|
Xe.confirm(pe, r(Ge || Xe, xe));
|
|
34061
34061
|
}, _e = () => {
|
|
@@ -34071,7 +34071,7 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34071
34071
|
open: W,
|
|
34072
34072
|
openUrl: j,
|
|
34073
34073
|
alert: X,
|
|
34074
|
-
confirm:
|
|
34074
|
+
confirm: he,
|
|
34075
34075
|
close: _e
|
|
34076
34076
|
};
|
|
34077
34077
|
}, T5 = (e, n) => {
|
|
@@ -34139,23 +34139,23 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34139
34139
|
} };
|
|
34140
34140
|
}, M9 = () => {
|
|
34141
34141
|
let o = {};
|
|
34142
|
-
const r = (X,
|
|
34142
|
+
const r = (X, he) => ({
|
|
34143
34143
|
status: X,
|
|
34144
|
-
resultUri:
|
|
34144
|
+
resultUri: he
|
|
34145
34145
|
}), c = (X) => X in o;
|
|
34146
34146
|
return {
|
|
34147
34147
|
hasBlobUri: c,
|
|
34148
34148
|
getResultUri: (X) => {
|
|
34149
|
-
const
|
|
34150
|
-
return
|
|
34149
|
+
const he = o[X];
|
|
34150
|
+
return he ? he.resultUri : null;
|
|
34151
34151
|
},
|
|
34152
34152
|
isPending: (X) => c(X) ? o[X].status === 1 : !1,
|
|
34153
34153
|
isUploaded: (X) => c(X) ? o[X].status === 2 : !1,
|
|
34154
34154
|
markPending: (X) => {
|
|
34155
34155
|
o[X] = r(1, null);
|
|
34156
34156
|
},
|
|
34157
|
-
markUploaded: (X,
|
|
34158
|
-
o[X] = r(2,
|
|
34157
|
+
markUploaded: (X, he) => {
|
|
34158
|
+
o[X] = r(2, he);
|
|
34159
34159
|
},
|
|
34160
34160
|
removeFailed: (X) => {
|
|
34161
34161
|
delete o[X];
|
|
@@ -34182,14 +34182,14 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34182
34182
|
"image/webp": "webp",
|
|
34183
34183
|
"image/bmp": "bmp",
|
|
34184
34184
|
"image/tiff": "tiff"
|
|
34185
|
-
})[j.toLowerCase()] || "dat", o = (j, X,
|
|
34185
|
+
})[j.toLowerCase()] || "dat", o = (j, X, he, _e, pe) => {
|
|
34186
34186
|
if (Z(j))
|
|
34187
34187
|
return r({
|
|
34188
34188
|
id: j,
|
|
34189
34189
|
name: _e,
|
|
34190
34190
|
filename: pe,
|
|
34191
34191
|
blob: X,
|
|
34192
|
-
base64:
|
|
34192
|
+
base64: he
|
|
34193
34193
|
});
|
|
34194
34194
|
if (Se(j))
|
|
34195
34195
|
return r(j);
|
|
@@ -34197,11 +34197,11 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34197
34197
|
}, r = (j) => {
|
|
34198
34198
|
if (!j.blob || !j.base64)
|
|
34199
34199
|
throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");
|
|
34200
|
-
const X = j.id || G1("blobid"),
|
|
34200
|
+
const X = j.id || G1("blobid"), he = j.name || X, _e = j.blob;
|
|
34201
34201
|
return {
|
|
34202
34202
|
id: $t(X),
|
|
34203
|
-
name: $t(
|
|
34204
|
-
filename: $t(j.filename ||
|
|
34203
|
+
name: $t(he),
|
|
34204
|
+
filename: $t(j.filename || he + "." + n(_e.type)),
|
|
34205
34205
|
blob: $t(_e),
|
|
34206
34206
|
base64: $t(j.base64),
|
|
34207
34207
|
blobUri: $t(j.blobUri || URL.createObjectURL(_e)),
|
|
@@ -34215,7 +34215,7 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34215
34215
|
add: c,
|
|
34216
34216
|
get: v,
|
|
34217
34217
|
getByUri: (j) => m((X) => X.blobUri() === j),
|
|
34218
|
-
getByData: (j, X) => m((
|
|
34218
|
+
getByData: (j, X) => m((he) => he.base64() === j && he.blob().type === X),
|
|
34219
34219
|
findFirst: m,
|
|
34220
34220
|
removeByUri: (j) => {
|
|
34221
34221
|
e = yt(e, (X) => X.blobUri() === j ? (URL.revokeObjectURL(X.blobUri()), !1) : !0);
|
|
@@ -34287,8 +34287,8 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34287
34287
|
return new Promise((Ge) => {
|
|
34288
34288
|
o[xe] = o[xe] || [], o[xe].push(Ge);
|
|
34289
34289
|
});
|
|
34290
|
-
},
|
|
34291
|
-
return { upload: (pe, xe) => !n.url && j(m) ? v() :
|
|
34290
|
+
}, he = (pe, xe) => (pe = jt.grep(pe, (Ge) => !e.isUploaded(Ge.blobUri())), Promise.all(jt.map(pe, (Ge) => e.isPending(Ge.blobUri()) ? X(Ge) : W(Ge, m, xe))));
|
|
34291
|
+
return { upload: (pe, xe) => !n.url && j(m) ? v() : he(pe, xe) };
|
|
34292
34292
|
}, Cp = (e) => () => e.notificationManager.open({
|
|
34293
34293
|
text: e.translate("Image uploading..."),
|
|
34294
34294
|
type: "info",
|
|
@@ -34349,7 +34349,7 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34349
34349
|
});
|
|
34350
34350
|
}) : xn && e.undoManager.dispatchChange(), Tt;
|
|
34351
34351
|
}));
|
|
34352
|
-
}))),
|
|
34352
|
+
}))), he = () => ki(e) ? X() : Promise.resolve([]), _e = (qe) => ks(m, (it) => it(qe)), pe = (qe) => {
|
|
34353
34353
|
m.push(qe);
|
|
34354
34354
|
}, xe = () => (r || (r = bV(c, n)), r.findAll(e.getBody(), _e).then(v((qe) => {
|
|
34355
34355
|
const it = yt(qe, (zt) => Z(zt) ? (Qw(e, zt), !1) : zt.uriType !== "blob");
|
|
@@ -34366,7 +34366,7 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34366
34366
|
return xn || (xn = Cn(e.editorManager.get(), (Tt, gt) => Tt || gt.editorUpload && gt.editorUpload.blobCache.getByUri(zt), void 0)), xn ? 'src="data:' + xn.blob().type + ";base64," + xn.base64() + '"' : it;
|
|
34367
34367
|
});
|
|
34368
34368
|
return e.on("SetContent", () => {
|
|
34369
|
-
ki(e) ?
|
|
34369
|
+
ki(e) ? he() : xe();
|
|
34370
34370
|
}), e.on("RawSaveContent", (qe) => {
|
|
34371
34371
|
qe.content = Xe(qe.content);
|
|
34372
34372
|
}), e.on("GetContent", (qe) => {
|
|
@@ -34385,7 +34385,7 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34385
34385
|
blobCache: n,
|
|
34386
34386
|
addFilter: pe,
|
|
34387
34387
|
uploadImages: X,
|
|
34388
|
-
uploadImagesAuto:
|
|
34388
|
+
uploadImagesAuto: he,
|
|
34389
34389
|
scanForImages: xe,
|
|
34390
34390
|
destroy: Ge
|
|
34391
34391
|
};
|
|
@@ -34798,9 +34798,9 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34798
34798
|
return j && j.length ? I && bt(j, I) ? I : j[0] : !1;
|
|
34799
34799
|
}, v = (E, I, W) => {
|
|
34800
34800
|
let j;
|
|
34801
|
-
const X = I[0],
|
|
34801
|
+
const X = I[0], he = H9(X) ? X.name : void 0, _e = m(E, he);
|
|
34802
34802
|
if (_e)
|
|
34803
|
-
|
|
34803
|
+
he === _e ? (j = X, I = I.slice(1)) : j = _e;
|
|
34804
34804
|
else if (X)
|
|
34805
34805
|
j = X, I = I.slice(1);
|
|
34806
34806
|
else if (!W)
|
|
@@ -34852,7 +34852,7 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34852
34852
|
let o = "", r = hS(e);
|
|
34853
34853
|
if (r === "")
|
|
34854
34854
|
return "";
|
|
34855
|
-
const c = (X) => Z(X) ? X.replace(/%(\w+)/g, "") : "", m = (X,
|
|
34855
|
+
const c = (X) => Z(X) ? X.replace(/%(\w+)/g, "") : "", m = (X, he) => rd.getStyle(he ?? e.getBody(), X, !0);
|
|
34856
34856
|
if (Z(n)) {
|
|
34857
34857
|
const X = e.formatter.get(n);
|
|
34858
34858
|
if (!X)
|
|
@@ -34869,29 +34869,29 @@ Options:${v}${o.join(v)}` : "";
|
|
|
34869
34869
|
const E = wV(n.selector);
|
|
34870
34870
|
E.length > 0 ? (E[0].name || (E[0].name = v), v = n.selector, S = z9(E, e)) : S = z9([v], e);
|
|
34871
34871
|
const I = rd.select(v, S)[0] || S.firstChild;
|
|
34872
|
-
sC(n.styles, (X,
|
|
34872
|
+
sC(n.styles, (X, he) => {
|
|
34873
34873
|
const _e = c(X);
|
|
34874
|
-
_e && rd.setStyle(I,
|
|
34875
|
-
}), sC(n.attributes, (X,
|
|
34874
|
+
_e && rd.setStyle(I, he, _e);
|
|
34875
|
+
}), sC(n.attributes, (X, he) => {
|
|
34876
34876
|
const _e = c(X);
|
|
34877
|
-
_e && rd.setAttrib(I,
|
|
34877
|
+
_e && rd.setAttrib(I, he, _e);
|
|
34878
34878
|
}), sC(n.classes, (X) => {
|
|
34879
|
-
const
|
|
34880
|
-
rd.hasClass(I,
|
|
34879
|
+
const he = c(X);
|
|
34880
|
+
rd.hasClass(I, he) || rd.addClass(I, he);
|
|
34881
34881
|
}), e.dispatch("PreviewFormats"), rd.setStyles(S, {
|
|
34882
34882
|
position: "absolute",
|
|
34883
34883
|
left: -65535
|
|
34884
34884
|
}), e.getBody().appendChild(S);
|
|
34885
34885
|
const W = m("fontSize"), j = /px$/.test(W) ? parseInt(W, 10) : 0;
|
|
34886
34886
|
return sC(r.split(" "), (X) => {
|
|
34887
|
-
let
|
|
34888
|
-
if (!(X === "background-color" && /transparent|rgba\s*\([^)]+,\s*0\)/.test(
|
|
34889
|
-
if (X === "font-size" && /em|%$/.test(
|
|
34887
|
+
let he = m(X, I);
|
|
34888
|
+
if (!(X === "background-color" && /transparent|rgba\s*\([^)]+,\s*0\)/.test(he) && (he = m(X), O0(he).toLowerCase() === "#ffffff")) && !(X === "color" && O0(he).toLowerCase() === "#000000")) {
|
|
34889
|
+
if (X === "font-size" && /em|%$/.test(he)) {
|
|
34890
34890
|
if (j === 0)
|
|
34891
34891
|
return;
|
|
34892
|
-
|
|
34892
|
+
he = parseFloat(he) / (/%$/.test(he) ? 100 : 1) * j + "px";
|
|
34893
34893
|
}
|
|
34894
|
-
X === "border" &&
|
|
34894
|
+
X === "border" && he && (o += "padding:0 2px;"), o += X + ":" + he + ";";
|
|
34895
34895
|
}
|
|
34896
34896
|
}), e.dispatch("AfterPreviewFormats"), rd.remove(S), o;
|
|
34897
34897
|
}, lg = (e) => {
|
|
@@ -35419,8 +35419,8 @@ Options:${v}${o.join(v)}` : "";
|
|
|
35419
35419
|
const S = [], E = (j) => {
|
|
35420
35420
|
let X = _I([j]);
|
|
35421
35421
|
e === -1 && (X = X.reverse());
|
|
35422
|
-
for (let
|
|
35423
|
-
const _e = X[
|
|
35422
|
+
for (let he = 0; he < X.length; he++) {
|
|
35423
|
+
const _e = X[he];
|
|
35424
35424
|
if (!o(_e, I)) {
|
|
35425
35425
|
if (S.length > 0 && n(_e, lt(S)) && v++, _e.line = v, c(_e))
|
|
35426
35426
|
return !0;
|
|
@@ -35447,10 +35447,10 @@ Options:${v}${o.join(v)}` : "";
|
|
|
35447
35447
|
if (S(X, j))
|
|
35448
35448
|
continue;
|
|
35449
35449
|
I.length > 0 && v(X, lt(I)) && W++;
|
|
35450
|
-
const
|
|
35451
|
-
if (
|
|
35450
|
+
const he = mr(X);
|
|
35451
|
+
if (he.position = E, he.line = W, o(he))
|
|
35452
35452
|
return I;
|
|
35453
|
-
I.push(
|
|
35453
|
+
I.push(he);
|
|
35454
35454
|
} while (E = m(E));
|
|
35455
35455
|
return I;
|
|
35456
35456
|
}, kI = (e) => (n) => vm(e, n), Xx = (e) => (n) => X5(e, n), _p = (e, n) => {
|
|
@@ -35477,8 +35477,8 @@ Options:${v}${o.join(v)}` : "";
|
|
|
35477
35477
|
return X ? Y.some(o) : Y.none();
|
|
35478
35478
|
if (I(j))
|
|
35479
35479
|
return cg(n, e, j.getNode(!v), v, !1);
|
|
35480
|
-
const
|
|
35481
|
-
return
|
|
35480
|
+
const he = E(j);
|
|
35481
|
+
return he && I(he) && J0(j, he) ? cg(n, e, he.getNode(!v), v, !1) : X ? Q5(e, j.toRange(), !1) : Y.none();
|
|
35482
35482
|
}, Mv = (e, n, o, r, c, m) => {
|
|
35483
35483
|
const v = X0(n, e.getBody(), o), S = lt(v.getClientRects()), E = n === mC.Down, I = e.getBody();
|
|
35484
35484
|
if (!S)
|
|
@@ -35487,15 +35487,15 @@ Options:${v}${o.join(v)}` : "";
|
|
|
35487
35487
|
const xe = E ? wt.fromRangeEnd(o) : wt.fromRangeStart(o);
|
|
35488
35488
|
return (E ? aU : rU)(I, xe).orThunk(() => Y.from(xe)).map((Xe) => Xe.toRange());
|
|
35489
35489
|
}
|
|
35490
|
-
const j = (E ? xI : SI)(I, kI(1), v), X = yt(j, Xx(1)),
|
|
35490
|
+
const j = (E ? xI : SI)(I, kI(1), v), X = yt(j, Xx(1)), he = S.left, _e = CI(X, he);
|
|
35491
35491
|
if (_e && m(_e.node)) {
|
|
35492
|
-
const xe = Math.abs(
|
|
35492
|
+
const xe = Math.abs(he - _e.left), Ge = Math.abs(he - _e.right);
|
|
35493
35493
|
return cg(n, e, _e.node, xe < Ge, !1);
|
|
35494
35494
|
}
|
|
35495
35495
|
let pe;
|
|
35496
35496
|
if (r(v) ? pe = v.getNode() : c(v) ? pe = v.getNode(!0) : pe = Rn(o), pe) {
|
|
35497
35497
|
const xe = EI(n, I, kI(1), pe);
|
|
35498
|
-
let Ge = CI(yt(xe, Xx(1)),
|
|
35498
|
+
let Ge = CI(yt(xe, Xx(1)), he);
|
|
35499
35499
|
if (Ge || (Ge = lt(yt(xe, Xx(0))), Ge))
|
|
35500
35500
|
return Q5(e, Ge.position.toRange(), !1);
|
|
35501
35501
|
}
|
|
@@ -35759,7 +35759,7 @@ Options:${v}${o.join(v)}` : "";
|
|
|
35759
35759
|
const j = v.nodeName.toLowerCase();
|
|
35760
35760
|
if (!r.isValidChild(j, W.toLowerCase()) || IU(c, v, m))
|
|
35761
35761
|
return;
|
|
35762
|
-
const X = o.getRng(), { startContainer:
|
|
35762
|
+
const X = o.getRng(), { startContainer: he, startOffset: _e, endContainer: pe, endOffset: xe } = X, Ge = sg(e);
|
|
35763
35763
|
let Xe = v.firstChild;
|
|
35764
35764
|
for (; Xe; )
|
|
35765
35765
|
if (Pn(Xe) && vd(r, Xe), MU(r, Xe)) {
|
|
@@ -35770,7 +35770,7 @@ Options:${v}${o.join(v)}` : "";
|
|
|
35770
35770
|
S || (S = qI(e), v.insertBefore(S, Xe), I = !0), E = Xe, Xe = Xe.nextSibling, S.appendChild(E);
|
|
35771
35771
|
} else
|
|
35772
35772
|
S = null, Xe = Xe.nextSibling;
|
|
35773
|
-
I && Ge && (X.setStart(
|
|
35773
|
+
I && Ge && (X.setStart(he, _e), X.setEnd(pe, xe), o.setRng(X), e.nodeChanged());
|
|
35774
35774
|
}, Bv = (e, n, o) => {
|
|
35775
35775
|
const r = Ne.fromDom(qI(e)), c = _d();
|
|
35776
35776
|
Ba(r, c), o(n, r);
|
|
@@ -36474,28 +36474,28 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
36474
36474
|
trigger: j.trigger,
|
|
36475
36475
|
matchLength: j.text.length
|
|
36476
36476
|
});
|
|
36477
|
-
}, v = _t(() => tj(e)), S = (j) => n.get().map((X) => R8(e.dom, e.selection.getRng(), X.trigger, !0).bind((
|
|
36477
|
+
}, v = _t(() => tj(e)), S = (j) => n.get().map((X) => R8(e.dom, e.selection.getRng(), X.trigger, !0).bind((he) => AN(e, v, he, j))).getOrThunk(() => yW(e, v)), E = (j) => {
|
|
36478
36478
|
S(j).fold(c, (X) => {
|
|
36479
|
-
m(X.context), X.lookupData.then((
|
|
36479
|
+
m(X.context), X.lookupData.then((he) => {
|
|
36480
36480
|
n.get().map((_e) => {
|
|
36481
36481
|
const pe = X.context;
|
|
36482
36482
|
_e.trigger === pe.trigger && (n.set({
|
|
36483
36483
|
..._e,
|
|
36484
36484
|
matchLength: pe.text.length
|
|
36485
|
-
}), o.get() ? (Dy(e, { range: pe.range }), lR(e, { lookupData:
|
|
36485
|
+
}), o.get() ? (Dy(e, { range: pe.range }), lR(e, { lookupData: he })) : (o.set(!0), Dy(e, { range: pe.range }), sw(e, { lookupData: he })));
|
|
36486
36486
|
});
|
|
36487
36487
|
});
|
|
36488
36488
|
});
|
|
36489
36489
|
}, I = (j, X) => {
|
|
36490
|
-
const
|
|
36491
|
-
return
|
|
36490
|
+
const he = j.compareBoundaryPoints(window.Range.START_TO_START, X), _e = j.compareBoundaryPoints(window.Range.END_TO_END, X);
|
|
36491
|
+
return he >= 0 && _e <= 0;
|
|
36492
36492
|
}, W = () => n.get().bind(({ trigger: j }) => {
|
|
36493
36493
|
const X = e.selection.getRng();
|
|
36494
|
-
return R8(e.dom, X, j, o.get()).filter(({ range:
|
|
36494
|
+
return R8(e.dom, X, j, o.get()).filter(({ range: he }) => I(X, he)).map(({ range: he }) => he);
|
|
36495
36495
|
});
|
|
36496
36496
|
e.addCommand("mceAutocompleterReload", (j, X) => {
|
|
36497
|
-
const
|
|
36498
|
-
E(
|
|
36497
|
+
const he = Se(X) ? X.fetchOptions : {};
|
|
36498
|
+
E(he);
|
|
36499
36499
|
}), e.addCommand("mceAutocompleterClose", c), e.addCommand("mceAutocompleterRefreshActiveRange", () => {
|
|
36500
36500
|
W().each((j) => {
|
|
36501
36501
|
Dy(e, { range: j });
|
|
@@ -36536,8 +36536,8 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
36536
36536
|
if (o === "character") {
|
|
36537
36537
|
const v = wt.fromRangeStart(c.getRng()), S = r.getParent(v.container(), r.isBlock), E = AA(r, v), I = S && r.isEmpty(S), W = q(S == null ? void 0 : S.previousSibling), j = q(S == null ? void 0 : S.nextSibling);
|
|
36538
36538
|
return I && (n ? j : W) && b1(!n, m, v).exists((_e) => qN(r, _e) && !Mi(E, AA(r, _e))) ? !0 : b1(n, m, v).fold(Qe, (X) => {
|
|
36539
|
-
const
|
|
36540
|
-
if (qN(r, X) && !Mi(E,
|
|
36539
|
+
const he = AA(r, X);
|
|
36540
|
+
if (qN(r, X) && !Mi(E, he)) {
|
|
36541
36541
|
if (n || YN(e, X, !1), S && I) {
|
|
36542
36542
|
if (n && W)
|
|
36543
36543
|
return !0;
|
|
@@ -36561,14 +36561,14 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
36561
36561
|
let { anchorNode: E, anchorOffset: I, focusNode: W, focusOffset: j } = S ?? {};
|
|
36562
36562
|
const X = () => {
|
|
36563
36563
|
Ce(E) && Ce(I) && Ce(W) && Ce(j) && (S == null || S.setBaseAndExtent(E, I, W, j));
|
|
36564
|
-
},
|
|
36564
|
+
}, he = () => {
|
|
36565
36565
|
E = S == null ? void 0 : S.anchorNode, I = S == null ? void 0 : S.anchorOffset, W = S == null ? void 0 : S.focusNode, j = S == null ? void 0 : S.focusOffset;
|
|
36566
36566
|
}, _e = (xe, Ge) => {
|
|
36567
36567
|
Ze(xe.childNodes, (Xe) => {
|
|
36568
36568
|
sv(Xe) && Ge.appendChild(Xe);
|
|
36569
36569
|
});
|
|
36570
36570
|
}, pe = e.dom.create("span", { "data-mce-bogus": "1" });
|
|
36571
|
-
_e(c, pe), c.appendChild(pe), X(), (o === "word" || o === "line") && (S == null || S.modify("extend", n ? "right" : "left", o)), !r.isCollapsed() && GN(r.getRng(), pe) ? X8(c) : (e.execCommand(n ? "ForwardDelete" : "Delete"),
|
|
36571
|
+
_e(c, pe), c.appendChild(pe), X(), (o === "word" || o === "line") && (S == null || S.modify("extend", n ? "right" : "left", o)), !r.isCollapsed() && GN(r.getRng(), pe) ? X8(c) : (e.execCommand(n ? "ForwardDelete" : "Delete"), he(), _e(pe, c), X()), e.dom.remove(pe);
|
|
36572
36572
|
}), !0) : !1;
|
|
36573
36573
|
}, Fv = (e, n, o) => XX(e, n, o) || oj && cj(e, n, o) ? Y.some(Zt) : Y.none(), ym = (e) => (n, o, r = {}) => {
|
|
36574
36574
|
const c = n.getBody(), m = {
|
|
@@ -36833,21 +36833,21 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
36833
36833
|
const S = e.dom, E = e.schema, I = pl(e), W = o ? o.nodeName.toUpperCase() : "";
|
|
36834
36834
|
let j = n;
|
|
36835
36835
|
const X = E.getTextInlineElements();
|
|
36836
|
-
let
|
|
36837
|
-
m || W === "TABLE" || W === "HR" ?
|
|
36838
|
-
let _e =
|
|
36836
|
+
let he;
|
|
36837
|
+
m || W === "TABLE" || W === "HR" ? he = S.create(m || I, v || {}) : he = o.cloneNode(!1);
|
|
36838
|
+
let _e = he;
|
|
36839
36839
|
if (!c)
|
|
36840
|
-
S.setAttrib(
|
|
36840
|
+
S.setAttrib(he, "style", null), S.setAttrib(he, "class", null);
|
|
36841
36841
|
else
|
|
36842
36842
|
do
|
|
36843
36843
|
if (X[j.nodeName]) {
|
|
36844
36844
|
if (Ku(j) || ou(j))
|
|
36845
36845
|
continue;
|
|
36846
36846
|
const pe = j.cloneNode(!1);
|
|
36847
|
-
S.setAttrib(pe, "id", ""),
|
|
36847
|
+
S.setAttrib(pe, "id", ""), he.hasChildNodes() ? (pe.appendChild(he.firstChild), he.appendChild(pe)) : (_e = pe, he.appendChild(pe));
|
|
36848
36848
|
}
|
|
36849
36849
|
while ((j = j.parentNode) && j !== r);
|
|
36850
|
-
return c2(e,
|
|
36850
|
+
return c2(e, he), nD(_e), he;
|
|
36851
36851
|
}, hj = (e, n) => e.dom.getParent(n, b0), gj = (e, n, o) => {
|
|
36852
36852
|
let r = n;
|
|
36853
36853
|
for (; r && r !== e && q(r.nextSibling); ) {
|
|
@@ -36899,7 +36899,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
36899
36899
|
const j = W.extractContents();
|
|
36900
36900
|
if (c === "LI" && tB(j, "LI")) {
|
|
36901
36901
|
const X = yt(ft(I.children, Ne.fromDom), Ht(br("br")));
|
|
36902
|
-
I = j.firstChild, m.insertAfter(j, o), Ze(X, (
|
|
36902
|
+
I = j.firstChild, m.insertAfter(j, o), Ze(X, (he) => fu(Ne.fromDom(I), he)), E && I.setAttribute("style", E);
|
|
36903
36903
|
} else
|
|
36904
36904
|
m.insertAfter(j, o), m.insertAfter(I, o);
|
|
36905
36905
|
m.remove(r);
|
|
@@ -36941,8 +36941,8 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
36941
36941
|
let I = S.getParent(r, S.isBlock);
|
|
36942
36942
|
if (!I || !cB(S, I)) {
|
|
36943
36943
|
if (I = I || E, !I.hasChildNodes()) {
|
|
36944
|
-
const
|
|
36945
|
-
return c2(e,
|
|
36944
|
+
const he = S.create(n);
|
|
36945
|
+
return c2(e, he), I.appendChild(he), o.setStart(he, 0), o.setEnd(he, 0), he;
|
|
36946
36946
|
}
|
|
36947
36947
|
let W = r;
|
|
36948
36948
|
for (; W && W.parentNode !== I; )
|
|
@@ -36952,8 +36952,8 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
36952
36952
|
j = W, W = W.previousSibling;
|
|
36953
36953
|
const X = (v = j == null ? void 0 : j.parentElement) === null || v === void 0 ? void 0 : v.nodeName;
|
|
36954
36954
|
if (j && X && e.schema.isValidChild(X, n.toLowerCase())) {
|
|
36955
|
-
const
|
|
36956
|
-
for (c2(e, _e),
|
|
36955
|
+
const he = j.parentNode, _e = S.create(n);
|
|
36956
|
+
for (c2(e, _e), he.insertBefore(_e, j), W = j; W && !S.isBlock(W); ) {
|
|
36957
36957
|
const pe = W.nextSibling;
|
|
36958
36958
|
_e.appendChild(W), W = pe;
|
|
36959
36959
|
}
|
|
@@ -36971,7 +36971,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
36971
36971
|
}, uB = {
|
|
36972
36972
|
insert: (e, n) => {
|
|
36973
36973
|
let o, r, c, m, v = !1;
|
|
36974
|
-
const S = e.dom, E = e.schema, I = E.getNonEmptyElements(), W = e.selection.getRng(), j = pl(e), X = Ne.fromDom(W.startContainer),
|
|
36974
|
+
const S = e.dom, E = e.schema, I = E.getNonEmptyElements(), W = e.selection.getRng(), j = pl(e), X = Ne.fromDom(W.startContainer), he = dd(X, W.startOffset), _e = he.exists((Lt) => Ae(Lt) && !Ps(Lt)), pe = W.collapsed && _e, xe = (Lt, Ln) => eB(e, o, rn, zt, Ai(e), Lt, Ln), Ge = (Lt) => {
|
|
36975
36975
|
const Ln = rD(Lt, o, r);
|
|
36976
36976
|
if (Vt(o) && (Lt ? Ln > 0 : Ln < o.data.length))
|
|
36977
36977
|
return !1;
|
|
@@ -37025,7 +37025,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
37025
37025
|
const Tt = rn.parentNode;
|
|
37026
37026
|
let gt;
|
|
37027
37027
|
if (pe)
|
|
37028
|
-
gt = xe(j),
|
|
37028
|
+
gt = xe(j), he.fold(() => {
|
|
37029
37029
|
Ba(X, Ne.fromDom(gt));
|
|
37030
37030
|
}, (Lt) => {
|
|
37031
37031
|
Pi(Lt, Ne.fromDom(gt));
|
|
@@ -37061,13 +37061,13 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
37061
37061
|
}, iD = (e, n) => {
|
|
37062
37062
|
const o = e.selection, r = e.dom, c = o.getRng();
|
|
37063
37063
|
let m, v = !1;
|
|
37064
|
-
an(r, c).each((
|
|
37065
|
-
c.setStart(
|
|
37064
|
+
an(r, c).each((he) => {
|
|
37065
|
+
c.setStart(he.startContainer, he.startOffset), c.setEnd(he.endContainer, he.endOffset);
|
|
37066
37066
|
});
|
|
37067
37067
|
let S = c.startOffset, E = c.startContainer;
|
|
37068
37068
|
if (Pn(E) && E.hasChildNodes()) {
|
|
37069
|
-
const
|
|
37070
|
-
E = E.childNodes[Math.min(S, E.childNodes.length - 1)] || E,
|
|
37069
|
+
const he = S > E.childNodes.length - 1;
|
|
37070
|
+
E = E.childNodes[Math.min(S, E.childNodes.length - 1)] || E, he && Vt(E) ? S = E.data.length : S = 0;
|
|
37071
37071
|
}
|
|
37072
37072
|
let I = r.getParent(E, r.isBlock);
|
|
37073
37073
|
const W = I && I.parentNode ? r.getParent(I.parentNode, r.isBlock) : null, j = W ? W.nodeName.toUpperCase() : "", X = !!(n && n.ctrlKey);
|
|
@@ -37876,8 +37876,8 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
37876
37876
|
let xe = pe, Ge = m.getStyle(v, c[_e], !0);
|
|
37877
37877
|
/color/.test(c[_e]) && (xe = ND(xe), Ge = ND(Ge)), Ge !== xe && (X[c[_e]] = pe);
|
|
37878
37878
|
}
|
|
37879
|
-
const
|
|
37880
|
-
return
|
|
37879
|
+
const he = m.serializeStyle(X, "span");
|
|
37880
|
+
return he ? E + ' style="' + he + '"' + W : E + W;
|
|
37881
37881
|
});
|
|
37882
37882
|
} else
|
|
37883
37883
|
n = n.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi, "$1$3");
|
|
@@ -37954,9 +37954,9 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
37954
37954
|
node: e.node,
|
|
37955
37955
|
position: sP(e, n) < YZ(e, n) ? Dp.Before : Dp.After
|
|
37956
37956
|
}), QZ = (e, n, o) => n > e.left && n < e.right ? 0 : Math.min(Math.abs(e.left - n), Math.abs(e.right - n)), ZA = (e, n, o, r) => {
|
|
37957
|
-
const c = (j) => Sd(j.node) ? Y.some(j) : Pn(j.node) ? ZA(Ir(j.node.childNodes), n, o, !1) : Y.none(), m = (j, X,
|
|
37958
|
-
const
|
|
37959
|
-
return ja(
|
|
37957
|
+
const c = (j) => Sd(j.node) ? Y.some(j) : Pn(j.node) ? ZA(Ir(j.node.childNodes), n, o, !1) : Y.none(), m = (j, X, he) => c(X).filter((_e) => Math.abs(he(j, n, o) - he(_e, n, o)) < 2 && Vt(_e.node)), v = (j, X) => {
|
|
37958
|
+
const he = Ts(j, (_e, pe) => X(_e, n, o) - X(pe, n, o));
|
|
37959
|
+
return ja(he, c).map((_e) => r && !Vt(_e.node) && he.length > 1 ? m(_e, he[1], X).getOr(_e) : _e);
|
|
37960
37960
|
}, [S, E] = XZ(_I(e), o), {
|
|
37961
37961
|
pass: I,
|
|
37962
37962
|
fail: W
|
|
@@ -38116,8 +38116,8 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38116
38116
|
behavior: "smooth"
|
|
38117
38117
|
});
|
|
38118
38118
|
}, pP = XA("left", -NC), $D = XA("left", NC), vP = XA("top", -NC), QA = XA("top", NC), bP = (e, n, o, r, c, m, v, S, E, I, W, j) => {
|
|
38119
|
-
let X = 0,
|
|
38120
|
-
e.style.left = n.pageX + "px", e.style.top = n.pageY + "px", n.pageX + o > c && (X = n.pageX + o - c), n.pageY + r > m && (
|
|
38119
|
+
let X = 0, he = 0;
|
|
38120
|
+
e.style.left = n.pageX + "px", e.style.top = n.pageY + "px", n.pageX + o > c && (X = n.pageX + o - c), n.pageY + r > m && (he = n.pageY + r - m), e.style.width = o - X + "px", e.style.height = r - he + "px";
|
|
38121
38121
|
const _e = E.clientHeight, pe = E.clientWidth, xe = v + E.getBoundingClientRect().top, Ge = S + E.getBoundingClientRect().left;
|
|
38122
38122
|
W.on((Xe) => {
|
|
38123
38123
|
Xe.intervalId.clear(), Xe.dragging && j && (v + qA >= _e ? Xe.intervalId.set(QA(I)) : v - qA <= 0 ? Xe.intervalId.set(vP(I)) : S + qA >= pe ? Xe.intervalId.set($D(I)) : S - qA <= 0 ? Xe.intervalId.set(pP(I)) : xe + KA >= window.innerHeight ? Xe.intervalId.set(QA(window)) : xe - KA <= 0 ? Xe.intervalId.set(vP(window)) : Ge + KA >= window.innerWidth ? Xe.intervalId.set($D(window)) : Ge - KA <= 0 && Xe.intervalId.set(pP(window)));
|
|
@@ -38275,7 +38275,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38275
38275
|
before: gt
|
|
38276
38276
|
}).isDefaultPrevented() ? null : (Lt && n.scrollIntoView(Tt, xn === -1), c.show(gt, Tt)), X = (xn) => {
|
|
38277
38277
|
xn.hasAttribute("data-mce-caret") && (oc(xn), n.scrollIntoView(xn));
|
|
38278
|
-
},
|
|
38278
|
+
}, he = () => {
|
|
38279
38279
|
e.on("click", (Tt) => {
|
|
38280
38280
|
o.isEditable(Tt.target) || (Tt.preventDefault(), e.focus());
|
|
38281
38281
|
}), e.on("blur NewBlock", it), e.on("ResizeWindow FullscreenStateChanged", c.reposition), e.on("tap", (Tt) => {
|
|
@@ -38382,7 +38382,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38382
38382
|
}, rn = () => {
|
|
38383
38383
|
c.hide();
|
|
38384
38384
|
};
|
|
38385
|
-
return Xm(e) ||
|
|
38385
|
+
return Xm(e) || he(), {
|
|
38386
38386
|
showCaret: j,
|
|
38387
38387
|
showBlockCaretContainer: X,
|
|
38388
38388
|
hideFakeCaret: rn,
|
|
@@ -38472,8 +38472,8 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38472
38472
|
} else {
|
|
38473
38473
|
const j = v.offset - c.length;
|
|
38474
38474
|
return gA(v.container, j, o).map((X) => {
|
|
38475
|
-
const
|
|
38476
|
-
return
|
|
38475
|
+
const he = e.createRng();
|
|
38476
|
+
return he.setStart(X.container, X.offset), he.setEnd(v.container, v.offset), he;
|
|
38477
38477
|
}).filter((X) => X.toString() === c).orThunk(() => TP(e, n, o, th(v.container, 0)));
|
|
38478
38478
|
}
|
|
38479
38479
|
});
|
|
@@ -38509,8 +38509,8 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38509
38509
|
const j = s4(e, o.remainingPatterns, I.container, I.offset, n, r), X = j.getOr({
|
|
38510
38510
|
matches: [],
|
|
38511
38511
|
position: I
|
|
38512
|
-
}),
|
|
38513
|
-
return yG(c, v,
|
|
38512
|
+
}), he = X.position;
|
|
38513
|
+
return yG(c, v, he.container, he.offset, n, j.isNone()).map((pe) => {
|
|
38514
38514
|
const xe = JA(c, m, pe, r);
|
|
38515
38515
|
return {
|
|
38516
38516
|
matches: X.matches.concat([{
|
|
@@ -38710,7 +38710,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38710
38710
|
e.getDoc().execCommand(yn, !1, String(co));
|
|
38711
38711
|
} catch {
|
|
38712
38712
|
}
|
|
38713
|
-
},
|
|
38713
|
+
}, he = (yn) => yn.isDefaultPrevented(), _e = () => {
|
|
38714
38714
|
const yn = (os) => {
|
|
38715
38715
|
const wn = c.create("body"), Jo = os.cloneContents();
|
|
38716
38716
|
return wn.appendChild(Jo), m.serializer.serialize(wn, { format: "html" });
|
|
@@ -38722,7 +38722,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38722
38722
|
};
|
|
38723
38723
|
e.on("keydown", (os) => {
|
|
38724
38724
|
const wn = os.keyCode;
|
|
38725
|
-
if (!
|
|
38725
|
+
if (!he(os) && (wn === r || wn === o) && e.selection.isEditable()) {
|
|
38726
38726
|
const Jo = e.selection.isCollapsed(), fs = e.getBody();
|
|
38727
38727
|
if (Jo && !Ea(e.schema, fs) || !Jo && !co(e.selection.getRng()))
|
|
38728
38728
|
return;
|
|
@@ -38744,7 +38744,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38744
38744
|
});
|
|
38745
38745
|
}, Ge = () => {
|
|
38746
38746
|
e.on("keydown", (yn) => {
|
|
38747
|
-
if (!
|
|
38747
|
+
if (!he(yn) && yn.keyCode === o) {
|
|
38748
38748
|
if (!e.getBody().getElementsByTagName("hr").length)
|
|
38749
38749
|
return;
|
|
38750
38750
|
if (m.isCollapsed() && m.getRng().startOffset === 0) {
|
|
@@ -38759,7 +38759,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38759
38759
|
});
|
|
38760
38760
|
}, Xe = () => {
|
|
38761
38761
|
Range.prototype.getClientRects || e.on("mousedown", (yn) => {
|
|
38762
|
-
if (!
|
|
38762
|
+
if (!he(yn) && yn.target.nodeName === "HTML") {
|
|
38763
38763
|
const co = e.getBody();
|
|
38764
38764
|
co.blur(), Dd.setEditorTimeout(e, () => {
|
|
38765
38765
|
co.focus();
|
|
@@ -38784,9 +38784,9 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38784
38784
|
}, co = () => !m.isCollapsed() && c.getParent(m.getStart(), c.isBlock) !== c.getParent(m.getEnd(), c.isBlock);
|
|
38785
38785
|
e.on("keypress", (os) => {
|
|
38786
38786
|
let wn;
|
|
38787
|
-
return !
|
|
38787
|
+
return !he(os) && (os.keyCode === 8 || os.keyCode === 46) && co() ? (wn = yn(), e.getDoc().execCommand("delete", !1), wn(), os.preventDefault(), !1) : !0;
|
|
38788
38788
|
}), c.bind(e.getDoc(), "cut", (os) => {
|
|
38789
|
-
if (!
|
|
38789
|
+
if (!he(os) && co()) {
|
|
38790
38790
|
const wn = yn();
|
|
38791
38791
|
Dd.setEditorTimeout(e, () => {
|
|
38792
38792
|
wn();
|
|
@@ -38795,7 +38795,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38795
38795
|
});
|
|
38796
38796
|
}, zt = () => {
|
|
38797
38797
|
e.on("keydown", (yn) => {
|
|
38798
|
-
if (!
|
|
38798
|
+
if (!he(yn) && yn.keyCode === o && m.isCollapsed() && m.getRng().startOffset === 0) {
|
|
38799
38799
|
const co = m.getNode().previousSibling;
|
|
38800
38800
|
if (co && co.nodeName && co.nodeName.toLowerCase() === "table")
|
|
38801
38801
|
return yn.preventDefault(), !1;
|
|
@@ -38804,7 +38804,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
38804
38804
|
});
|
|
38805
38805
|
}, rn = () => {
|
|
38806
38806
|
e.on("keydown", (yn) => {
|
|
38807
|
-
if (
|
|
38807
|
+
if (he(yn) || yn.keyCode !== _n.BACKSPACE)
|
|
38808
38808
|
return;
|
|
38809
38809
|
let co = m.getRng();
|
|
38810
38810
|
const os = co.startContainer, wn = co.startOffset, Jo = c.getRoot();
|
|
@@ -40029,16 +40029,16 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
40029
40029
|
console.error(C$(`Invalid default value passed for the "${e}" option`, r));
|
|
40030
40030
|
}
|
|
40031
40031
|
}, eK = (e, n) => {
|
|
40032
|
-
const o = {}, r = {}, c = (j, X,
|
|
40033
|
-
const _e = v7(X,
|
|
40032
|
+
const o = {}, r = {}, c = (j, X, he) => {
|
|
40033
|
+
const _e = v7(X, he);
|
|
40034
40034
|
return Qq(_e) ? (r[j] = _e.value, !0) : (console.warn(C$(`Invalid value passed for the ${j} option`, _e)), !1);
|
|
40035
40035
|
}, m = (j, X) => {
|
|
40036
|
-
const
|
|
40036
|
+
const he = Xq(X) ? Yq(X.processor) : X.processor, _e = Jq(j, X.default, he);
|
|
40037
40037
|
o[j] = {
|
|
40038
40038
|
...X,
|
|
40039
40039
|
default: _e,
|
|
40040
|
-
processor:
|
|
40041
|
-
}, Bs(r, j).orThunk(() => Bs(n, j)).each((xe) => c(j, xe,
|
|
40040
|
+
processor: he
|
|
40041
|
+
}, Bs(r, j).orThunk(() => Bs(n, j)).each((xe) => c(j, xe, he));
|
|
40042
40042
|
}, v = (j) => Yn(o, j);
|
|
40043
40043
|
return {
|
|
40044
40044
|
register: m,
|
|
@@ -40046,8 +40046,8 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
40046
40046
|
get: (j) => Bs(r, j).orThunk(() => Bs(o, j).map((X) => X.default)).getOrUndefined(),
|
|
40047
40047
|
set: (j, X) => {
|
|
40048
40048
|
if (v(j)) {
|
|
40049
|
-
const
|
|
40050
|
-
return
|
|
40049
|
+
const he = o[j];
|
|
40050
|
+
return he.immutable ? (console.error(`"${j}" is an immutable option and cannot be updated`), !1) : c(j, X, he.processor);
|
|
40051
40051
|
} else
|
|
40052
40052
|
return console.warn(`"${j}" is not a registered option. Ensure the option has been registered before setting a value.`), !1;
|
|
40053
40053
|
},
|
|
@@ -40189,9 +40189,9 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
40189
40189
|
}
|
|
40190
40190
|
}
|
|
40191
40191
|
const lK = () => {
|
|
40192
|
-
const e = {}, n = {}, o = {}, r = {}, c = {}, m = {}, v = {}, S = {}, E = (W, j) => (X,
|
|
40192
|
+
const e = {}, n = {}, o = {}, r = {}, c = {}, m = {}, v = {}, S = {}, E = (W, j) => (X, he) => {
|
|
40193
40193
|
W[X.toLowerCase()] = {
|
|
40194
|
-
...
|
|
40194
|
+
...he,
|
|
40195
40195
|
type: j
|
|
40196
40196
|
};
|
|
40197
40197
|
}, I = (W, j) => r[W.toLowerCase()] = j;
|
|
@@ -40553,7 +40553,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
40553
40553
|
let W = 0;
|
|
40554
40554
|
const j = [];
|
|
40555
40555
|
let X;
|
|
40556
|
-
const
|
|
40556
|
+
const he = (_e, pe, xe) => {
|
|
40557
40557
|
const Ge = new p4(_e, pe, n);
|
|
40558
40558
|
j.push(Ge), Ge.on("init", () => {
|
|
40559
40559
|
++W === X.length && E(j);
|
|
@@ -40562,7 +40562,7 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
40562
40562
|
v2.unbind(window, "ready", I), v("onpageload"), X = Da(S(e)), jt.each(X, (_e) => {
|
|
40563
40563
|
uK(n.get(_e.id));
|
|
40564
40564
|
}), X = jt.grep(X, (_e) => !n.get(_e.id)), X.length === 0 ? E([]) : v4(X, (_e) => {
|
|
40565
|
-
c(e, _e) ? Nd("Could not initialize inline editor on invalid inline target element", _e) :
|
|
40565
|
+
c(e, _e) ? Nd("Could not initialize inline editor on invalid inline target element", _e) : he(m(_e), e, _e);
|
|
40566
40566
|
});
|
|
40567
40567
|
};
|
|
40568
40568
|
return v2.bind(window, "ready", I), new Promise((W) => {
|
|
@@ -40706,8 +40706,8 @@ Input object: ` + I8(e.input), U8 = (e, n) => P8(e, es(n, V8)), PN = $t(TW), vA
|
|
|
40706
40706
|
if (e[E] !== void 0)
|
|
40707
40707
|
return e[E];
|
|
40708
40708
|
{
|
|
40709
|
-
const X = new Promise((
|
|
40710
|
-
const pe = C7(
|
|
40709
|
+
const X = new Promise((he, _e) => {
|
|
40710
|
+
const pe = C7(he, _e);
|
|
40711
40711
|
n[E] = pe.resolve, Jf.ScriptLoader.loadScript(I).then(() => pe.start(j), () => pe.reject(W));
|
|
40712
40712
|
});
|
|
40713
40713
|
return e[E] = X, X;
|
|
@@ -41045,14 +41045,14 @@ var oye = [
|
|
|
41045
41045
|
var ae;
|
|
41046
41046
|
ie || (re = F.getContent()), (ae = KC()) === null || ae === void 0 || ae.remove(F);
|
|
41047
41047
|
}));
|
|
41048
|
-
var
|
|
41048
|
+
var me = function(ae) {
|
|
41049
41049
|
var Z;
|
|
41050
41050
|
re = F.getContent(), (Z = KC()) === null || Z === void 0 || Z.remove(F), u = c0(c0(c0({}, u), ae), XK), If(function() {
|
|
41051
41051
|
return Q();
|
|
41052
41052
|
});
|
|
41053
41053
|
};
|
|
41054
41054
|
return a.expose({
|
|
41055
|
-
rerender:
|
|
41055
|
+
rerender: me,
|
|
41056
41056
|
getEditor: function() {
|
|
41057
41057
|
return F;
|
|
41058
41058
|
}
|
|
@@ -41269,7 +41269,7 @@ tinymce.IconManager.add("default", {
|
|
|
41269
41269
|
const p = typeof f;
|
|
41270
41270
|
return f === null ? "null" : p === "object" && Array.isArray(f) ? "array" : p === "object" && a(f, String, (C, A) => A.isPrototypeOf(C)) ? "string" : p;
|
|
41271
41271
|
}, h = (f) => (p) => u(p) === f, y = (f) => (p) => typeof p === f, _ = (f) => (p) => f === p, x = h("string"), k = h("object"), F = h("array"), P = _(null), V = y("boolean"), ie = _(void 0), te = (f) => f == null, z = (f) => !te(f), re = y("function"), se = y("number"), Q = () => {
|
|
41272
|
-
},
|
|
41272
|
+
}, me = (f, p) => (...C) => f(p.apply(null, C)), ae = (f, p) => (C) => f(p(C)), Z = (f) => () => f, Se = (f) => f, Et = (f, p) => f === p;
|
|
41273
41273
|
function We(f, ...p) {
|
|
41274
41274
|
return (...C) => {
|
|
41275
41275
|
const A = p.concat(C);
|
|
@@ -44874,7 +44874,7 @@ Required: ` + p.join(", "));
|
|
|
44874
44874
|
kill: L,
|
|
44875
44875
|
raw: J
|
|
44876
44876
|
}), ew = (f) => {
|
|
44877
|
-
const p = ze.fromDom(fn(f).getOr(f.target)), C = () => f.stopPropagation(), A = () => f.preventDefault(), M =
|
|
44877
|
+
const p = ze.fromDom(fn(f).getOr(f.target)), C = () => f.stopPropagation(), A = () => f.preventDefault(), M = me(A, C);
|
|
44878
44878
|
return k1(p, f.clientX, f.clientY, C, A, M, f);
|
|
44879
44879
|
}, ip = (f, p) => (C) => {
|
|
44880
44880
|
f(C) && p(ew(C));
|
|
@@ -45519,7 +45519,7 @@ Required: ` + p.join(", "));
|
|
|
45519
45519
|
}, P = (vt) => {
|
|
45520
45520
|
const Gt = typeof vt;
|
|
45521
45521
|
return vt === null ? "null" : Gt === "object" && Array.isArray(vt) ? "array" : Gt === "object" && F(vt, String, (Qe, dt) => dt.isPrototypeOf(Qe)) ? "string" : Gt;
|
|
45522
|
-
}, V = (vt) => (Gt) => P(Gt) === vt, ie = (vt) => (Gt) => vt === Gt, te = V("string"), z = ie(void 0), re = (vt) => vt == null, se = (vt) => !re(vt), Q = (vt) => (Gt) => !vt(Gt),
|
|
45522
|
+
}, V = (vt) => (Gt) => P(Gt) === vt, ie = (vt) => (Gt) => vt === Gt, te = V("string"), z = ie(void 0), re = (vt) => vt == null, se = (vt) => !re(vt), Q = (vt) => (Gt) => !vt(Gt), me = Object.hasOwnProperty, ae = (vt, Gt) => me.call(vt, Gt), Z = (vt, Gt, Qe) => Gt === "" || vt.length >= Gt.length && vt.substr(Qe, Qe + Gt.length) === Gt, Se = (vt, Gt, Qe = 0, dt) => {
|
|
45523
45523
|
const Y = vt.indexOf(Gt, Qe);
|
|
45524
45524
|
return Y !== -1 ? z(dt) ? !0 : Y + Gt.length <= dt : !1;
|
|
45525
45525
|
}, Et = (vt, Gt) => Z(vt, Gt, 0), We = "\uFEFF", q = (vt) => vt === We, Re = (vt) => vt.replace(/\uFEFF/g, "");
|
|
@@ -45692,7 +45692,7 @@ Required: ` + p.join(", "));
|
|
|
45692
45692
|
} else
|
|
45693
45693
|
se(Z, Se, Re, Et);
|
|
45694
45694
|
});
|
|
45695
|
-
},
|
|
45695
|
+
}, me = (Z, Se) => {
|
|
45696
45696
|
Z.addCommand("mceAutoResize", () => {
|
|
45697
45697
|
se(Z, Se);
|
|
45698
45698
|
});
|
|
@@ -45701,7 +45701,7 @@ Required: ` + p.join(", "));
|
|
|
45701
45701
|
a.add("autoresize", (Z) => {
|
|
45702
45702
|
if (x(Z), Z.options.isSet("resize") || Z.options.set("resize", !1), !Z.inline) {
|
|
45703
45703
|
const Se = l(0);
|
|
45704
|
-
|
|
45704
|
+
me(Z, Se), Q(Z, Se);
|
|
45705
45705
|
}
|
|
45706
45706
|
});
|
|
45707
45707
|
};
|
|
@@ -45781,7 +45781,7 @@ Required: ` + p.join(", "));
|
|
|
45781
45781
|
}, y = (ge) => {
|
|
45782
45782
|
const Ae = typeof ge;
|
|
45783
45783
|
return ge === null ? "null" : Ae === "object" && Array.isArray(ge) ? "array" : Ae === "object" && h(ge, String, (tt, mt) => mt.isPrototypeOf(tt)) ? "string" : Ae;
|
|
45784
|
-
}, _ = (ge) => (Ae) => y(Ae) === ge, x = (ge) => (Ae) => typeof Ae === ge, k = (ge) => (Ae) => ge === Ae, F = _("string"), P = _("object"), V = _("array"), ie = k(null), te = x("boolean"), z = k(void 0), re = (ge) => ge == null, se = (ge) => !re(ge), Q = x("function"),
|
|
45784
|
+
}, _ = (ge) => (Ae) => y(Ae) === ge, x = (ge) => (Ae) => typeof Ae === ge, k = (ge) => (Ae) => ge === Ae, F = _("string"), P = _("object"), V = _("array"), ie = k(null), te = x("boolean"), z = k(void 0), re = (ge) => ge == null, se = (ge) => !re(ge), Q = x("function"), me = x("number"), ae = () => {
|
|
45785
45785
|
}, Z = (ge, Ae) => (...tt) => ge(Ae.apply(null, tt)), Se = (ge, Ae) => (tt) => ge(Ae(tt)), Et = (ge) => () => ge;
|
|
45786
45786
|
function We(ge, ...Ae) {
|
|
45787
45787
|
return (...tt) => {
|
|
@@ -45957,7 +45957,7 @@ Required: ` + p.join(", "));
|
|
|
45957
45957
|
const Ae = Nn("ownerDocument.defaultView", ge);
|
|
45958
45958
|
return P(ge) && (bt(Ae).prototype.isPrototypeOf(ge) || /^HTML\w*Element$/.test(pa(ge).constructor.name));
|
|
45959
45959
|
}, ft = 9, Ze = 11, Mn = 1, Dt = 3, yt = (ge) => ge.dom.nodeType, jn = (ge) => (Ae) => yt(Ae) === ge, Cn = (ge) => Io(ge) && Yt(ge.dom), Io = jn(Mn), Wo = jn(Dt), Hs = jn(ft), ai = jn(Ze), xs = (ge, Ae, tt) => {
|
|
45960
|
-
if (F(tt) || te(tt) ||
|
|
45960
|
+
if (F(tt) || te(tt) || me(tt))
|
|
45961
45961
|
ge.setAttribute(Ae, tt + "");
|
|
45962
45962
|
else
|
|
45963
45963
|
throw console.error("Invalid call to Attribute.set. Key ", Ae, ":: Value ", tt, ":: Element ", ge), new Error("Attribute value was not simple");
|
|
@@ -46468,7 +46468,7 @@ Required: ` + p.join(", "));
|
|
|
46468
46468
|
}, h = (K) => {
|
|
46469
46469
|
const ve = typeof K;
|
|
46470
46470
|
return K === null ? "null" : ve === "object" && Array.isArray(K) ? "array" : ve === "object" && u(K, String, (Ee, ct) => ct.isPrototypeOf(Ee)) ? "string" : ve;
|
|
46471
|
-
}, y = (K) => (ve) => h(ve) === K, _ = (K) => (ve) => typeof ve === K, x = (K) => (ve) => K === ve, k = (K, ve) => P(K) && u(K, ve, (Ee, ct) => a(Ee) === ct), F = y("string"), P = y("object"), V = (K) => k(K, Object), ie = y("array"), te = x(null), z = _("boolean"), re = (K) => K == null, se = (K) => !re(K), Q = _("function"),
|
|
46471
|
+
}, y = (K) => (ve) => h(ve) === K, _ = (K) => (ve) => typeof ve === K, x = (K) => (ve) => K === ve, k = (K, ve) => P(K) && u(K, ve, (Ee, ct) => a(Ee) === ct), F = y("string"), P = y("object"), V = (K) => k(K, Object), ie = y("array"), te = x(null), z = _("boolean"), re = (K) => K == null, se = (K) => !re(K), Q = _("function"), me = _("number"), ae = (K, ve) => {
|
|
46472
46472
|
if (ie(K)) {
|
|
46473
46473
|
for (let Ee = 0, ct = K.length; Ee < ct; ++Ee)
|
|
46474
46474
|
if (!ve(K[Ee]))
|
|
@@ -46582,7 +46582,7 @@ Required: ` + p.join(", "));
|
|
|
46582
46582
|
};
|
|
46583
46583
|
typeof window < "u" || Function("return this;")();
|
|
46584
46584
|
const $t = (K, ve, Ee) => {
|
|
46585
|
-
if (F(Ee) || z(Ee) ||
|
|
46585
|
+
if (F(Ee) || z(Ee) || me(Ee))
|
|
46586
46586
|
K.setAttribute(ve, Ee + "");
|
|
46587
46587
|
else
|
|
46588
46588
|
throw console.error("Invalid call to Attribute.set. Key ", ve, ":: Value ", Ee, ":: Element ", K), new Error("Attribute value was not simple");
|
|
@@ -47378,7 +47378,7 @@ Required: ` + p.join(", "));
|
|
|
47378
47378
|
}), We.addCommand("mceInsertTime", (q, Re) => {
|
|
47379
47379
|
se(We, Re ?? y(We));
|
|
47380
47380
|
});
|
|
47381
|
-
},
|
|
47381
|
+
}, me = (We) => {
|
|
47382
47382
|
let q = We;
|
|
47383
47383
|
return {
|
|
47384
47384
|
get: () => q,
|
|
@@ -47396,7 +47396,7 @@ Required: ` + p.join(", "));
|
|
|
47396
47396
|
We.off("NodeChange", Re);
|
|
47397
47397
|
};
|
|
47398
47398
|
}, Se = (We) => {
|
|
47399
|
-
const q = _(We), Re =
|
|
47399
|
+
const q = _(We), Re = me(k(We)), He = (Ce) => We.execCommand("mceInsertDate", !1, Ce);
|
|
47400
47400
|
We.ui.registry.addSplitButton("insertdatetime", {
|
|
47401
47401
|
icon: "insert-time",
|
|
47402
47402
|
tooltip: "Insert date/time",
|
|
@@ -47454,7 +47454,7 @@ Required: ` + p.join(", "));
|
|
|
47454
47454
|
}
|
|
47455
47455
|
return !1;
|
|
47456
47456
|
}, se = () => {
|
|
47457
|
-
}, Q = (de) => () => de,
|
|
47457
|
+
}, Q = (de) => () => de, me = (de, $e) => de === $e;
|
|
47458
47458
|
class ae {
|
|
47459
47459
|
constructor($e, je) {
|
|
47460
47460
|
this.tag = $e, this.value = je;
|
|
@@ -47555,7 +47555,7 @@ Required: ` + p.join(", "));
|
|
|
47555
47555
|
return kt;
|
|
47556
47556
|
}
|
|
47557
47557
|
return ae.none();
|
|
47558
|
-
}, cn = (de, $e, je =
|
|
47558
|
+
}, cn = (de, $e, je = me) => de.exists((kt) => je(kt, $e)), gn = (de) => {
|
|
47559
47559
|
const $e = [], je = (kt) => {
|
|
47560
47560
|
$e.push(kt);
|
|
47561
47561
|
};
|
|
@@ -48208,7 +48208,7 @@ Required: ` + p.join(", "));
|
|
|
48208
48208
|
return O === null ? "null" : U === "object" && Array.isArray(O) ? "array" : U === "object" && a(O, String, (oe, Te) => Te.isPrototypeOf(oe)) ? "string" : U;
|
|
48209
48209
|
}, h = (O) => (U) => u(U) === O, y = (O) => (U) => typeof U === O, _ = h("string"), x = h("object"), k = h("array"), F = y("boolean"), P = (O) => O == null, V = (O) => !P(O), ie = y("function"), te = y("number"), z = () => {
|
|
48210
48210
|
}, re = (O, U) => (oe) => O(U(oe)), se = (O) => () => O, Q = (O, U) => O === U;
|
|
48211
|
-
function
|
|
48211
|
+
function me(O, ...U) {
|
|
48212
48212
|
return (...oe) => {
|
|
48213
48213
|
const Te = U.concat(oe);
|
|
48214
48214
|
return O.apply(null, Te);
|
|
@@ -48828,7 +48828,7 @@ Required: ` + p.join(", "));
|
|
|
48828
48828
|
m0(O, oe, U), as(O, U, Te), O.selection.moveToBookmark(Pt), O.selection.setRng(ys(O.selection.getRng())), O.nodeChanged(), Ve = !0;
|
|
48829
48829
|
}
|
|
48830
48830
|
return Ve;
|
|
48831
|
-
}, xm = (O, U) => !is(O) && Ne(O, U), $l = (O) => xm(O, "Indent"), Nu = (O) => xm(O, "Outdent"), _g = (O) => xm(O, "Flatten"), $p = "\uFEFF", Ms = (O) => O === $p, Ic = (O, U, oe) => dr(O, U, oe).isSome(), Xl = (O, U) => Ic(O,
|
|
48831
|
+
}, xm = (O, U) => !is(O) && Ne(O, U), $l = (O) => xm(O, "Indent"), Nu = (O) => xm(O, "Outdent"), _g = (O) => xm(O, "Flatten"), $p = "\uFEFF", Ms = (O) => O === $p, Ic = (O, U, oe) => dr(O, U, oe).isSome(), Xl = (O, U) => Ic(O, me(yt, U));
|
|
48832
48832
|
var ui = tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");
|
|
48833
48833
|
const Kd = jo.DOM, Yc = (O) => {
|
|
48834
48834
|
const U = {}, oe = (Te) => {
|
|
@@ -49456,7 +49456,7 @@ Required: ` + p.join(", "));
|
|
|
49456
49456
|
const Jn = lt[_t], Bo = Ie[Jn];
|
|
49457
49457
|
ke(Bo, Jn);
|
|
49458
49458
|
}
|
|
49459
|
-
},
|
|
49459
|
+
}, me = (Ie, ke) => ae(Ie, ke) ? P.from(Ie[ke]) : P.none(), ae = (Ie, ke) => se.call(Ie, ke), Z = (Ie) => (ke) => ke.options.get(Ie), Se = (Ie) => {
|
|
49460
49460
|
const ke = Ie.options.register;
|
|
49461
49461
|
ke("audio_template_callback", { processor: "function" }), ke("video_template_callback", { processor: "function" }), ke("iframe_template_callback", { processor: "function" }), ke("media_live_embeds", {
|
|
49462
49462
|
processor: "boolean",
|
|
@@ -49483,8 +49483,8 @@ Required: ` + p.join(", "));
|
|
|
49483
49483
|
source: Ie.attr("data-ephox-embed-iri"),
|
|
49484
49484
|
altsource: "",
|
|
49485
49485
|
poster: "",
|
|
49486
|
-
width:
|
|
49487
|
-
height:
|
|
49486
|
+
width: me(lt, "max-width").map($t).getOr(""),
|
|
49487
|
+
height: me(lt, "max-height").map($t).getOr("")
|
|
49488
49488
|
};
|
|
49489
49489
|
}, An = (Ie, ke) => {
|
|
49490
49490
|
let lt = {};
|
|
@@ -49513,7 +49513,7 @@ Required: ` + p.join(", "));
|
|
|
49513
49513
|
ogg: "video/ogg",
|
|
49514
49514
|
swf: "application/x-shockwave-flash"
|
|
49515
49515
|
}, _t = (ke = Ie.toLowerCase().split(".").pop()) !== null && ke !== void 0 ? ke : "";
|
|
49516
|
-
return
|
|
49516
|
+
return me(lt, _t).getOr("");
|
|
49517
49517
|
};
|
|
49518
49518
|
var Ht = tinymce.util.Tools.resolve("tinymce.html.Node"), ho = tinymce.util.Tools.resolve("tinymce.html.Serializer");
|
|
49519
49519
|
const vt = (Ie, ke = {}) => $({
|
|
@@ -49736,17 +49736,17 @@ Required: ` + p.join(", "));
|
|
|
49736
49736
|
}), Wo = (Ie) => (ke) => Mn(Ie, ke), Hs = (Ie, ke) => {
|
|
49737
49737
|
const lt = Ke(Ie);
|
|
49738
49738
|
return lt ? Cn(ke, Wo(Ie), lt) : Io(ke, Wo(Ie));
|
|
49739
|
-
}, ai = (Ie) => ae(jn, Ie), xs = (Ie, ke) =>
|
|
49740
|
-
const Vn = () =>
|
|
49739
|
+
}, ai = (Ie) => ae(jn, Ie), xs = (Ie, ke) => me(ke, Ie).bind((lt) => me(lt, "meta")), ks = (Ie, ke, lt) => (_t) => {
|
|
49740
|
+
const Vn = () => me(Ie, _t), Jn = () => me(ke, _t), Bo = (_o) => me(_o, "value").bind((Me) => Me.length > 0 ? P.some(Me) : P.none()), Ys = () => Vn().bind((_o) => _(_o) ? Bo(_o).orThunk(Jn) : Jn().orThunk(() => P.from(_o))), ze = () => Jn().orThunk(() => Vn().bind((_o) => _(_o) ? Bo(_o) : P.from(_o)));
|
|
49741
49741
|
return { [_t]: (_t === lt ? Ys() : ze()).getOr("") };
|
|
49742
49742
|
}, zs = (Ie, ke) => {
|
|
49743
49743
|
const lt = {};
|
|
49744
|
-
return
|
|
49744
|
+
return me(Ie, "dimensions").each((_t) => {
|
|
49745
49745
|
ie([
|
|
49746
49746
|
"width",
|
|
49747
49747
|
"height"
|
|
49748
49748
|
], (Vn) => {
|
|
49749
|
-
|
|
49749
|
+
me(ke, Vn).orThunk(() => me(_t, Vn)).each((Jn) => lt[Vn] = Jn);
|
|
49750
49750
|
});
|
|
49751
49751
|
}), lt;
|
|
49752
49752
|
}, bi = (Ie, ke) => {
|
|
@@ -49761,15 +49761,15 @@ Required: ` + p.join(", "));
|
|
|
49761
49761
|
}, Os = (Ie) => {
|
|
49762
49762
|
const ke = {
|
|
49763
49763
|
...Ie,
|
|
49764
|
-
source: { value:
|
|
49765
|
-
altsource: { value:
|
|
49766
|
-
poster: { value:
|
|
49764
|
+
source: { value: me(Ie, "source").getOr("") },
|
|
49765
|
+
altsource: { value: me(Ie, "altsource").getOr("") },
|
|
49766
|
+
poster: { value: me(Ie, "poster").getOr("") }
|
|
49767
49767
|
};
|
|
49768
49768
|
return ie([
|
|
49769
49769
|
"width",
|
|
49770
49770
|
"height"
|
|
49771
49771
|
], (lt) => {
|
|
49772
|
-
|
|
49772
|
+
me(Ie, lt).each((_t) => {
|
|
49773
49773
|
const Vn = ke.dimensions || {};
|
|
49774
49774
|
Vn[lt] = _t, ke.dimensions = Vn;
|
|
49775
49775
|
});
|
|
@@ -50124,12 +50124,12 @@ Required: ` + p.join(", "));
|
|
|
50124
50124
|
const h = (z) => (re) => re.options.get(z), y = h("content_style"), _ = h("content_css_cors"), x = h("body_class"), k = h("body_id"), F = (z) => {
|
|
50125
50125
|
var re;
|
|
50126
50126
|
let se = "";
|
|
50127
|
-
const Q = z.dom.encode,
|
|
50127
|
+
const Q = z.dom.encode, me = (re = y(z)) !== null && re !== void 0 ? re : "";
|
|
50128
50128
|
se += '<base href="' + Q(z.documentBaseURI.getURI()) + '">';
|
|
50129
50129
|
const ae = _(z) ? ' crossorigin="anonymous"' : "";
|
|
50130
50130
|
u.each(z.contentCSS, (Ke) => {
|
|
50131
50131
|
se += '<link type="text/css" rel="stylesheet" href="' + Q(z.documentBaseURI.toAbsolute(Ke)) + '"' + ae + ">";
|
|
50132
|
-
}),
|
|
50132
|
+
}), me && (se += '<style type="text/css">' + me + "</style>");
|
|
50133
50133
|
const Z = k(z), Se = x(z), We = '<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !(' + (a.os.isMacOS() || a.os.isiOS() ? "e.metaKey" : "e.ctrlKey && !e.altKey") + ")) {e.preventDefault();}}}, false);<\/script> ", q = z.getBody().dir, Re = q ? ' dir="' + Q(q) + '"' : "";
|
|
50134
50134
|
return "<!DOCTYPE html><html><head>" + se + '</head><body id="' + Q(Z) + '" class="mce-content-body ' + Q(Se) + '"' + Re + ">" + z.getContent() + We + "</body></html>";
|
|
50135
50135
|
}, P = (z) => {
|
|
@@ -50196,15 +50196,15 @@ Required: ` + p.join(", "));
|
|
|
50196
50196
|
return Me === null ? "null" : Be === "object" && Array.isArray(Me) ? "array" : Be === "object" && u(Me, String, (Bt, Ut) => Ut.isPrototypeOf(Bt)) ? "string" : Be;
|
|
50197
50197
|
}, y = (Me) => (Be) => h(Be) === Me, _ = (Me) => (Be) => typeof Be === Me, x = y("string"), k = y("array"), F = _("boolean"), P = (Me) => Me == null, V = (Me) => !P(Me), ie = _("number"), te = () => {
|
|
50198
50198
|
}, z = (Me) => () => Me, re = z(!0), Q = z("[~№|!-*+-\\/:;?@\\[-`{}¡«·»¿;·՚-՟։֊־׀׃׆׳״؉؊،؍؛؞؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰෴๏๚๛༄-༒༺-༽྅࿐-࿔࿙࿚၊-၏჻፡-፨᐀᙭᙮᚛᚜᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᯼-᯿᰻-᰿᱾᱿᳓‐-‧‰-⁃⁅-⁑⁓-⁞⁽⁾₍₎〈〉❨-❵⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⳹-⳼⳾⳿⵰⸀-⸮⸰⸱、-〃〈-】〔-〟〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꯫﴾﴿︐-︙︰-﹒﹔-﹡﹣﹨﹪﹫!-#%-*,-/:;?@[-]_{}⦅-・]");
|
|
50199
|
-
class
|
|
50199
|
+
class me {
|
|
50200
50200
|
constructor(Be, Bt) {
|
|
50201
50201
|
this.tag = Be, this.value = Bt;
|
|
50202
50202
|
}
|
|
50203
50203
|
static some(Be) {
|
|
50204
|
-
return new
|
|
50204
|
+
return new me(!0, Be);
|
|
50205
50205
|
}
|
|
50206
50206
|
static none() {
|
|
50207
|
-
return
|
|
50207
|
+
return me.singletonNone;
|
|
50208
50208
|
}
|
|
50209
50209
|
fold(Be, Bt) {
|
|
50210
50210
|
return this.tag ? Bt(this.value) : Be();
|
|
@@ -50216,10 +50216,10 @@ Required: ` + p.join(", "));
|
|
|
50216
50216
|
return !this.tag;
|
|
50217
50217
|
}
|
|
50218
50218
|
map(Be) {
|
|
50219
|
-
return this.tag ?
|
|
50219
|
+
return this.tag ? me.some(Be(this.value)) : me.none();
|
|
50220
50220
|
}
|
|
50221
50221
|
bind(Be) {
|
|
50222
|
-
return this.tag ? Be(this.value) :
|
|
50222
|
+
return this.tag ? Be(this.value) : me.none();
|
|
50223
50223
|
}
|
|
50224
50224
|
exists(Be) {
|
|
50225
50225
|
return this.tag && Be(this.value);
|
|
@@ -50228,7 +50228,7 @@ Required: ` + p.join(", "));
|
|
|
50228
50228
|
return !this.tag || Be(this.value);
|
|
50229
50229
|
}
|
|
50230
50230
|
filter(Be) {
|
|
50231
|
-
return !this.tag || Be(this.value) ? this :
|
|
50231
|
+
return !this.tag || Be(this.value) ? this : me.none();
|
|
50232
50232
|
}
|
|
50233
50233
|
getOr(Be) {
|
|
50234
50234
|
return this.tag ? this.value : Be;
|
|
@@ -50248,7 +50248,7 @@ Required: ` + p.join(", "));
|
|
|
50248
50248
|
throw new Error(Be ?? "Called getOrDie on None");
|
|
50249
50249
|
}
|
|
50250
50250
|
static from(Be) {
|
|
50251
|
-
return V(Be) ?
|
|
50251
|
+
return V(Be) ? me.some(Be) : me.none();
|
|
50252
50252
|
}
|
|
50253
50253
|
getOrNull() {
|
|
50254
50254
|
return this.tag ? this.value : null;
|
|
@@ -50266,7 +50266,7 @@ Required: ` + p.join(", "));
|
|
|
50266
50266
|
return this.tag ? `some(${this.value})` : "none()";
|
|
50267
50267
|
}
|
|
50268
50268
|
}
|
|
50269
|
-
|
|
50269
|
+
me.singletonNone = new me(!1);
|
|
50270
50270
|
const ae = Q;
|
|
50271
50271
|
var Z = tinymce.util.Tools.resolve("tinymce.Env"), Se = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
50272
50272
|
const Et = Array.prototype.slice, We = Array.prototype.push, q = (Me, Be) => {
|
|
@@ -50343,11 +50343,11 @@ Required: ` + p.join(", "));
|
|
|
50343
50343
|
fromTag: dt,
|
|
50344
50344
|
fromText: Y,
|
|
50345
50345
|
fromDom: yo,
|
|
50346
|
-
fromPoint: (Me, Be, Bt) =>
|
|
50346
|
+
fromPoint: (Me, Be, Bt) => me.from(Me.dom.elementFromPoint(Be, Bt)).map(yo)
|
|
50347
50347
|
}, Uo = (Me) => Me.nodeType !== Ko && Me.nodeType !== Eo && Me.nodeType !== $t || Me.childElementCount === 0, pa = (Me, Be) => {
|
|
50348
50348
|
const Bt = Be === void 0 ? document : Be.dom;
|
|
50349
50349
|
return Uo(Bt) ? [] : q(Bt.querySelectorAll(Me), Do.fromDom);
|
|
50350
|
-
}, bt = (Me) =>
|
|
50350
|
+
}, bt = (Me) => me.from(Me.dom.parentNode).map(Do.fromDom), Yt = (Me) => q(Me.dom.childNodes, Do.fromDom), ft = (Me, Be) => ({
|
|
50351
50351
|
element: Me,
|
|
50352
50352
|
offset: Be
|
|
50353
50353
|
}), Ze = (Me, Be) => {
|
|
@@ -50366,7 +50366,7 @@ Required: ` + p.join(", "));
|
|
|
50366
50366
|
if (!Me(qn))
|
|
50367
50367
|
throw new Error("Can only get " + Be + " value of a " + Be + " node");
|
|
50368
50368
|
return Ut(qn).getOr("");
|
|
50369
|
-
}, Ut = (qn) => Me(qn) ?
|
|
50369
|
+
}, Ut = (qn) => Me(qn) ? me.from(qn.dom.nodeValue) : me.none();
|
|
50370
50370
|
return {
|
|
50371
50371
|
get: Bt,
|
|
50372
50372
|
getOption: Ut,
|
|
@@ -50608,15 +50608,15 @@ Required: ` + p.join(", "));
|
|
|
50608
50608
|
prev: () => ar(Me, Be),
|
|
50609
50609
|
replace: (zn, Un, eo) => Ui(Me, Be, zn, Un, eo)
|
|
50610
50610
|
}), _t = (Me) => {
|
|
50611
|
-
const Be = l(
|
|
50611
|
+
const Be = l(me.none()), Bt = () => Be.get().each(Me);
|
|
50612
50612
|
return {
|
|
50613
50613
|
clear: () => {
|
|
50614
|
-
Bt(), Be.set(
|
|
50614
|
+
Bt(), Be.set(me.none());
|
|
50615
50615
|
},
|
|
50616
50616
|
isSet: () => Be.get().isSome(),
|
|
50617
50617
|
get: () => Be.get(),
|
|
50618
50618
|
set: (zn) => {
|
|
50619
|
-
Bt(), Be.set(
|
|
50619
|
+
Bt(), Be.set(me.some(zn));
|
|
50620
50620
|
}
|
|
50621
50621
|
};
|
|
50622
50622
|
}, Vn = () => {
|
|
@@ -50845,7 +50845,7 @@ Required: ` + p.join(", "));
|
|
|
50845
50845
|
const N = typeof R;
|
|
50846
50846
|
return R === null ? "null" : N === "object" && Array.isArray(R) ? "array" : N === "object" && a(R, String, (ee, be) => be.isPrototypeOf(ee)) ? "string" : N;
|
|
50847
50847
|
}, h = (R) => (N) => u(N) === R, y = (R) => (N) => typeof N === R, _ = (R) => (N) => R === N, x = h("string"), k = h("array"), F = y("boolean"), P = _(void 0), V = (R) => R == null, ie = (R) => !V(R), te = y("function"), z = y("number"), re = () => {
|
|
50848
|
-
}, se = (R, N) => (ee) => R(N(ee)), Q = (R) => () => R,
|
|
50848
|
+
}, se = (R, N) => (ee) => R(N(ee)), Q = (R) => () => R, me = (R) => R, ae = (R, N) => R === N;
|
|
50849
50849
|
function Z(R, ...N) {
|
|
50850
50850
|
return (...ee) => {
|
|
50851
50851
|
const be = N.concat(ee);
|
|
@@ -50946,7 +50946,7 @@ Required: ` + p.join(", "));
|
|
|
50946
50946
|
return Ke(R, (be, Fe) => {
|
|
50947
50947
|
ee.push(N(be, Fe));
|
|
50948
50948
|
}), ee;
|
|
50949
|
-
}, Zt = (R) => gn(R,
|
|
50949
|
+
}, Zt = (R) => gn(R, me), $ = (R) => Re(R).length, Eo = (R, N) => $t(R, N) ? q.from(R[N]) : q.none(), $t = (R, N) => He.call(R, N), Ko = (R, N) => $t(R, N) && R[N] !== void 0 && R[N] !== null, An = (R) => {
|
|
50950
50950
|
for (const N in R)
|
|
50951
50951
|
if (He.call(R, N))
|
|
50952
50952
|
return !1;
|
|
@@ -51155,7 +51155,7 @@ Required: ` + p.join(", "));
|
|
|
51155
51155
|
for (let be = 0; be < R.length; be++)
|
|
51156
51156
|
R[be].each(ee);
|
|
51157
51157
|
return N;
|
|
51158
|
-
}, Oa = (R, N, ee) => R.isSome() && N.isSome() ? q.some(ee(R.getOrDie(), N.getOrDie())) : q.none(), qa = (R) => R.bind(
|
|
51158
|
+
}, Oa = (R, N, ee) => R.isSome() && N.isSome() ? q.some(ee(R.getOrDie(), N.getOrDie())) : q.none(), qa = (R) => R.bind(me), Jr = (R, N) => R ? q.some(N) : q.none(), wi = (R, N) => R.substring(N), ql = (R, N, ee) => N === "" || R.length >= N.length && R.substr(ee, ee + N.length) === N, Ma = (R, N) => Oi(R, N) ? wi(R, N.length) : R, Oi = (R, N) => ql(R, N, 0), Iu = ((R) => (N) => N.replace(R, ""))(/^\s+|\s+$/g), Zi = (R) => R.length > 0, dc = (R) => !Zi(R), Ka = (R, N = 10) => {
|
|
51159
51159
|
const ee = parseInt(R, N);
|
|
51160
51160
|
return isNaN(ee) ? q.none() : q.some(ee);
|
|
51161
51161
|
}, Kl = (R) => {
|
|
@@ -52496,7 +52496,7 @@ Required: ` + N.join(", "));
|
|
|
52496
52496
|
mceTableCellProps: Z(db, R),
|
|
52497
52497
|
mceInsertTableDialog: Z(hd, R, !0)
|
|
52498
52498
|
}, (ee, be) => R.addCommand(be, () => N(ee)));
|
|
52499
|
-
}, gu = (R, N) => ze(R, N).isSome(), b0 =
|
|
52499
|
+
}, gu = (R, N) => ze(R, N).isSome(), b0 = me, jf = (R) => {
|
|
52500
52500
|
const N = (be, Fe) => fr(be, Fe).exists((Mt) => parseInt(Mt, 10) > 1), ee = (be) => N(be, "rowspan") || N(be, "colspan");
|
|
52501
52501
|
return R.length > 0 && Mn(R, ee) ? q.some(R) : q.none();
|
|
52502
52502
|
}, y0 = (R, N, ee) => N.length <= 1 ? q.none() : h0(R, ee.firstSelectedSelector, ee.lastSelectedSelector).map((be) => ({
|
|
@@ -53071,7 +53071,7 @@ Required: ` + N.join(", "));
|
|
|
53071
53071
|
}, Q = (bt) => {
|
|
53072
53072
|
const Yt = se(re);
|
|
53073
53073
|
return y(bt, Yt);
|
|
53074
|
-
},
|
|
53074
|
+
}, me = (bt, Yt) => {
|
|
53075
53075
|
const ft = bt[Yt], Ze = bt[Yt + 1];
|
|
53076
53076
|
if (Yt < 0 || Yt > bt.length - 1 && Yt !== 0 || ft === k.ALETTER && Ze === k.ALETTER)
|
|
53077
53077
|
return !1;
|
|
@@ -53092,7 +53092,7 @@ Required: ` + N.join(", "));
|
|
|
53092
53092
|
const Mn = [], Dt = [];
|
|
53093
53093
|
let yt = [];
|
|
53094
53094
|
for (let jn = 0; jn < ft.length; ++jn)
|
|
53095
|
-
if (yt.push(bt[jn]),
|
|
53095
|
+
if (yt.push(bt[jn]), me(ft, jn)) {
|
|
53096
53096
|
const Cn = Yt[jn];
|
|
53097
53097
|
if ((Ze.includeWhitespace || !Z.test(Cn)) && (Ze.includePunctuation || !Se.test(Cn))) {
|
|
53098
53098
|
const Io = jn - yt.length + 1, Wo = jn + 1, Hs = Yt.slice(Io, Wo).join(ae);
|
|
@@ -53254,7 +53254,7 @@ Required: ` + N.join(", "));
|
|
|
53254
53254
|
}, u = (t) => {
|
|
53255
53255
|
const s = typeof t;
|
|
53256
53256
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && a(t, String, (i, d) => d.isPrototypeOf(i)) ? "string" : s;
|
|
53257
|
-
}, h = (t) => (s) => u(s) === t, y = (t) => (s) => typeof s === t, _ = (t) => (s) => t === s, x = (t, s) => F(t) && a(t, s, (i, d) => l(i) === d), k = h("string"), F = h("object"), P = (t) => x(t, Object), V = h("array"), ie = _(null), te = y("boolean"), z = _(void 0), re = (t) => t == null, se = (t) => !re(t), Q = y("function"),
|
|
53257
|
+
}, h = (t) => (s) => u(s) === t, y = (t) => (s) => typeof s === t, _ = (t) => (s) => t === s, x = (t, s) => F(t) && a(t, s, (i, d) => l(i) === d), k = h("string"), F = h("object"), P = (t) => x(t, Object), V = h("array"), ie = _(null), te = y("boolean"), z = _(void 0), re = (t) => t == null, se = (t) => !re(t), Q = y("function"), me = y("number"), ae = (t, s) => {
|
|
53258
53258
|
if (V(t)) {
|
|
53259
53259
|
for (let i = 0, d = t.length; i < d; ++i)
|
|
53260
53260
|
if (!s(t[i]))
|
|
@@ -53627,7 +53627,7 @@ Required: ` + N.join(", "));
|
|
|
53627
53627
|
throw new Error("Body is not available yet");
|
|
53628
53628
|
return ze.fromDom(s);
|
|
53629
53629
|
}, Gc = (t, s, i) => {
|
|
53630
|
-
if (k(i) || te(i) ||
|
|
53630
|
+
if (k(i) || te(i) || me(i))
|
|
53631
53631
|
t.setAttribute(s, i + "");
|
|
53632
53632
|
else
|
|
53633
53633
|
throw console.error("Invalid call to Attribute.set. Key ", s, ":: Value ", i, ":: Element ", t), new Error("Attribute value was not simple");
|
|
@@ -53691,7 +53691,7 @@ Required: ` + N.join(", "));
|
|
|
53691
53691
|
Zo(i, s), Ra(K(t, "style").map(zr), "") && Ee(t, "style");
|
|
53692
53692
|
}, Ii = (t) => t.dom.offsetWidth, Rr = (t, s) => {
|
|
53693
53693
|
const i = (T, D) => {
|
|
53694
|
-
if (!
|
|
53694
|
+
if (!me(D) && !D.match(/^[0-9]+$/))
|
|
53695
53695
|
throw new Error(t + ".set accepts only positive integer values. Value was " + D);
|
|
53696
53696
|
const B = T.dom;
|
|
53697
53697
|
lt(B) && (B.style[t] = D + "px");
|
|
@@ -54383,7 +54383,7 @@ Required: ` + N.join(", "));
|
|
|
54383
54383
|
}, Wp = Et(Wf, fo), $u = q(Jl), Rg = (t, s) => na((i) => {
|
|
54384
54384
|
const d = typeof i;
|
|
54385
54385
|
return t(i) ? wa.svalue(i) : wa.serror(`Expected type: ${s} but got: ${d}`);
|
|
54386
|
-
}), Fu = Rg(
|
|
54386
|
+
}), Fu = Rg(me, "number"), Qa = Rg(k, "string"), Pn = Rg(te, "boolean"), Lu = Rg(Q, "function"), v0 = (t) => {
|
|
54387
54387
|
if (Object(t) !== t)
|
|
54388
54388
|
return !0;
|
|
54389
54389
|
switch ({}.toString.call(t).slice(8, -1)) {
|
|
@@ -58608,7 +58608,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
58608
58608
|
t.auto = "auto", t.top = "top", t.bottom = "bottom";
|
|
58609
58609
|
})(Sw || (Sw = {}));
|
|
58610
58610
|
const Cr = (t) => (s) => s.options.get(t), xw = (t) => (s) => $.from(t(s)), Fy = (t) => {
|
|
58611
|
-
const s = $y.deviceType.isPhone(), i = $y.deviceType.isTablet() || s, d = t.options.register, g = (w) => k(w) || w === !1, b = (w) => k(w) ||
|
|
58611
|
+
const s = $y.deviceType.isPhone(), i = $y.deviceType.isTablet() || s, d = t.options.register, g = (w) => k(w) || w === !1, b = (w) => k(w) || me(w);
|
|
58612
58612
|
d("skin", {
|
|
58613
58613
|
processor: (w) => k(w) || w === !1,
|
|
58614
58614
|
default: "oxide"
|
|
@@ -60525,7 +60525,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
60525
60525
|
};
|
|
60526
60526
|
d.set(Le), i.add(Le), fa.showWithinBounds(Le, et, { anchor: Ot }, b);
|
|
60527
60527
|
}
|
|
60528
|
-
|
|
60528
|
+
me(H.timeout) && H.timeout > 0 && R6.setEditorTimeout(t, () => {
|
|
60529
60529
|
ce();
|
|
60530
60530
|
}, H.timeout);
|
|
60531
60531
|
const De = () => {
|
|
@@ -61602,7 +61602,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
61602
61602
|
} : {
|
|
61603
61603
|
valid: !1,
|
|
61604
61604
|
message: "Must be an array of strings."
|
|
61605
|
-
}, d = (g) =>
|
|
61605
|
+
}, d = (g) => me(g) && g > 0 ? {
|
|
61606
61606
|
value: g,
|
|
61607
61607
|
valid: !0
|
|
61608
61608
|
} : {
|
|
@@ -64182,7 +64182,7 @@ The conflicting element is` + (gs(G.element) ? " " : " not ") + "already in the
|
|
|
64182
64182
|
x: 0,
|
|
64183
64183
|
y: 0
|
|
64184
64184
|
}), G = (le, De, st) => {
|
|
64185
|
-
|
|
64185
|
+
me(st) || fn(le.element, "aria-valuetext", t([
|
|
64186
64186
|
"Saturation {0}%, Brightness {1}%",
|
|
64187
64187
|
Math.floor(st.x),
|
|
64188
64188
|
Math.floor(100 - st.y)
|
|
@@ -68118,7 +68118,7 @@ The conflicting element is` + (gs(G.element) ? " " : " not ") + "already in the
|
|
|
68118
68118
|
T !== d.get() && (d.set(T), Dj(t, s(), T, i.providers), sz(t, T));
|
|
68119
68119
|
};
|
|
68120
68120
|
t.on("ProgressState", (T) => {
|
|
68121
|
-
if (g.on(clearTimeout),
|
|
68121
|
+
if (g.on(clearTimeout), me(T.time)) {
|
|
68122
68122
|
const D = R6.setEditorTimeout(t, () => w(T.state), T.time);
|
|
68123
68123
|
g.set(D);
|
|
68124
68124
|
} else
|
|
@@ -70521,7 +70521,7 @@ The conflicting element is` + (gs(G.element) ? " " : " not ") + "already in the
|
|
|
70521
70521
|
};
|
|
70522
70522
|
}
|
|
70523
70523
|
});
|
|
70524
|
-
const gP = (t) => /^[0-9\.]+(|px)$/i.test("" + t) ? $.some(parseInt("" + t, 10)) : $.none(), PD = (t) =>
|
|
70524
|
+
const gP = (t) => /^[0-9\.]+(|px)$/i.test("" + t) ? $.some(parseInt("" + t, 10)) : $.none(), PD = (t) => me(t) ? t + "px" : t, YA = (t, s, i) => {
|
|
70525
70525
|
const d = s.filter((b) => t < b), g = i.filter((b) => t > b);
|
|
70526
70526
|
return d.or(g).getOr(t);
|
|
70527
70527
|
}, XA = (t) => {
|
|
@@ -72427,7 +72427,7 @@ The conflicting element is` + (gs(G.element) ? " " : " not ") + "already in the
|
|
|
72427
72427
|
}, h$ = (t, s, i) => {
|
|
72428
72428
|
const d = ze.fromDom(t.getContainer()), g = Rq(t, s, i, Pr(d), Gi(d));
|
|
72429
72429
|
Os(g, (b, w) => {
|
|
72430
|
-
|
|
72430
|
+
me(b) && Dn(d, w, PD(b));
|
|
72431
72431
|
}), XM(t);
|
|
72432
72432
|
}, Oq = (t) => {
|
|
72433
72433
|
const s = kw(t);
|
|
@@ -73312,7 +73312,7 @@ The conflicting element is` + (gs(G.element) ? " " : " not ") + "already in the
|
|
|
73312
73312
|
},
|
|
73313
73313
|
redial: (t) => W(t)
|
|
73314
73314
|
};
|
|
73315
|
-
var
|
|
73315
|
+
var he = /* @__PURE__ */ Object.freeze({
|
|
73316
73316
|
__proto__: null,
|
|
73317
73317
|
events: (t, s) => {
|
|
73318
73318
|
const i = (d, g) => {
|
|
@@ -73363,7 +73363,7 @@ The conflicting element is` + (gs(G.element) ? " " : " not ") + "already in the
|
|
|
73363
73363
|
const qe = el({
|
|
73364
73364
|
fields: xe,
|
|
73365
73365
|
name: "reflecting",
|
|
73366
|
-
active:
|
|
73366
|
+
active: he,
|
|
73367
73367
|
apis: pe,
|
|
73368
73368
|
state: Xe
|
|
73369
73369
|
}), it = (t) => {
|
|
@@ -74917,8 +74917,8 @@ const bye = { class: "editor" }, yye = /* @__PURE__ */ vo({
|
|
|
74917
74917
|
...u.header
|
|
74918
74918
|
}
|
|
74919
74919
|
};
|
|
74920
|
-
yee.post(u.uploadUrl, se, Q).then((
|
|
74921
|
-
|
|
74920
|
+
yee.post(u.uploadUrl, se, Q).then((me) => {
|
|
74921
|
+
me.data.code === 0 ? z(u.loadUrl + me.data.data.id) : re(new Error(`HTTP Error: 上传失败${me.data.code}`));
|
|
74922
74922
|
}).catch(() => {
|
|
74923
74923
|
re(new Error("上传出错,服务器开小差了呢"));
|
|
74924
74924
|
});
|
|
@@ -75110,7 +75110,7 @@ const Rye = /* @__PURE__ */ Qs(Dye, [["__scopeId", "data-v-8b1ddbf0"]]), k2e = T
|
|
|
75110
75110
|
},
|
|
75111
75111
|
setup(l) {
|
|
75112
75112
|
$4((y) => ({
|
|
75113
|
-
|
|
75113
|
+
"645335a7": h.value
|
|
75114
75114
|
}));
|
|
75115
75115
|
const a = l, u = {
|
|
75116
75116
|
id: "id",
|
|
@@ -75209,7 +75209,7 @@ const Rye = /* @__PURE__ */ Qs(Dye, [["__scopeId", "data-v-8b1ddbf0"]]), k2e = T
|
|
|
75209
75209
|
};
|
|
75210
75210
|
}
|
|
75211
75211
|
});
|
|
75212
|
-
const Mye = /* @__PURE__ */ Qs(Oye, [["__scopeId", "data-v-
|
|
75212
|
+
const Mye = /* @__PURE__ */ Qs(Oye, [["__scopeId", "data-v-38defd72"]]), T2e = Tr(Mye), Iye = /* @__PURE__ */ vo({
|
|
75213
75213
|
__name: "IkAutoCard",
|
|
75214
75214
|
props: {
|
|
75215
75215
|
line: { default: 2 }
|
|
@@ -75610,7 +75610,8 @@ const zye = /* @__PURE__ */ vo({
|
|
|
75610
75610
|
const a = l, u = kn({
|
|
75611
75611
|
width: "100%",
|
|
75612
75612
|
height: "100%",
|
|
75613
|
-
...a.configOptions || {}
|
|
75613
|
+
...a.configOptions || {},
|
|
75614
|
+
...a.configOptions
|
|
75614
75615
|
}), h = () => {
|
|
75615
75616
|
console.info("文档加载完成", a.configOptions);
|
|
75616
75617
|
};
|
|
@@ -75633,7 +75634,7 @@ const zye = /* @__PURE__ */ vo({
|
|
|
75633
75634
|
));
|
|
75634
75635
|
}
|
|
75635
75636
|
});
|
|
75636
|
-
const Vye = /* @__PURE__ */ Qs(zye, [["__scopeId", "data-v-
|
|
75637
|
+
const Vye = /* @__PURE__ */ Qs(zye, [["__scopeId", "data-v-98d51ef9"]]), Uye = Tr(Vye), Wye = /* @__PURE__ */ vo({
|
|
75637
75638
|
__name: "index",
|
|
75638
75639
|
props: /* @__PURE__ */ lu({
|
|
75639
75640
|
prop: {
|