iking-web-ui-pro 0.1.21 → 0.1.23
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 +60 -61
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +23 -24
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +141 -141
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +257 -246
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +104 -104
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/index.es.js +646 -635
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Vne = Object.defineProperty;
|
|
2
2
|
var Une = (c, i, u) => i in c ? Vne(c, i, { enumerable: !0, configurable: !0, writable: !0, value: u }) : c[i] = u;
|
|
3
3
|
var gS = (c, i, u) => (Une(c, typeof i != "symbol" ? i + "" : i, u), u);
|
|
4
|
-
import { defineComponent as Ho, openBlock as Ce, createElementBlock as Ze, createElementVNode as Ne, ref as Wn, computed as ns, createVNode as Je, Fragment as Lo, isVNode as see, normalizeClass as Wr, toDisplayString as
|
|
4
|
+
import { defineComponent as Ho, openBlock as Ce, createElementBlock as Ze, createElementVNode as Ne, ref as Wn, computed as ns, createVNode as Je, Fragment as Lo, isVNode as see, normalizeClass as Wr, toDisplayString as Ln, unref as dt, watch as Dl, createSlots as K$, withCtx as Vt, withKeys as Wne, withModifiers as Eh, renderList as Ma, createBlock as no, renderSlot as si, createCommentVNode as Et, withDirectives as kh, vShow as JD, normalizeStyle as Rl, createTextVNode as Qs, reactive as xg, nextTick as Eg, onMounted as gb, resolveComponent as os, pushScopeId as pb, popScopeId as vb, h as vE, Teleport as jne, mergeModels as If, useModel as n0, mergeProps as hl, useSlots as Zne, useCssVars as hK, getCurrentInstance as Gne, resolveDirective as X$, Transition as ree, toRef as qne, watchEffect as ZY, onUnmounted as Yne, toRefs as Kne, onBeforeUnmount as Xne, onActivated as Qne, onDeactivated as Jne } from "vue";
|
|
5
5
|
import { ElFormItem as SS, ElInput as _S, ElInputNumber as aee, ElSelect as I$, ElOption as e7, ElRadioGroup as r7, ElRadio as a7, ElCheckboxGroup as i7, ElCheckbox as V2, ElDatePicker as ub, ElTreeSelect as iee, ElButton as Pp, ElCard as lee, ElForm as gK, ElRow as cee, ElCol as uee, ElIcon as gu, ElDialog as Q$, ElTimePicker as MQ, ElMessageBox as dee, ElMessage as SE, ElUpload as GY, ElProgress as IQ, ElTooltip as eoe, ElImage as toe, ElImageViewer as noe, ElRadioButton as ooe, ElBreadcrumb as soe, ElBreadcrumbItem as roe, vLoading as _Y } from "element-plus";
|
|
6
6
|
import { ikStore as bE, ikDate as qc, ikFile as fee, ikColor as aoe, _ as Yc, ikEvent as ioe, ikDom as pK, paramType as xY, buildUUID as loe } from "iking-utils-pro";
|
|
7
7
|
import mee from "axios";
|
|
@@ -657,7 +657,7 @@ const Xoe = /* @__PURE__ */ Ho({
|
|
|
657
657
|
Ne(
|
|
658
658
|
"div",
|
|
659
659
|
Qoe,
|
|
660
|
-
|
|
660
|
+
Ln(`已选${c.rowData.length}条数据`),
|
|
661
661
|
1
|
|
662
662
|
/* TEXT */
|
|
663
663
|
),
|
|
@@ -841,8 +841,8 @@ const Jr = (c, i) => {
|
|
|
841
841
|
class: Wr(["last-with-btn", ee === U.value.length - 1 ? "last-form" : ""])
|
|
842
842
|
},
|
|
843
843
|
[
|
|
844
|
-
ie != null && ie.slot ? si($.$slots, ie == null ? void 0 : ie.slot, { key: 0 }, void 0, !0) :
|
|
845
|
-
ie != null && ie.slot ?
|
|
844
|
+
ie != null && ie.slot ? si($.$slots, ie == null ? void 0 : ie.slot, { key: 0 }, void 0, !0) : Et("v-if", !0),
|
|
845
|
+
ie != null && ie.slot ? Et("v-if", !0) : (Ce(), no(dt(Xoe), {
|
|
846
846
|
key: 1,
|
|
847
847
|
onHandleChange: ve[3] || (ve[3] = (Se) => h("search", A.value)),
|
|
848
848
|
list: [c.list[ee]]
|
|
@@ -857,14 +857,14 @@ const Jr = (c, i) => {
|
|
|
857
857
|
title: "查询",
|
|
858
858
|
icon: dt(Boe),
|
|
859
859
|
onClick: ve[4] || (ve[4] = (Se) => h("search", A.value))
|
|
860
|
-
}, null, 8, ["icon"])) :
|
|
860
|
+
}, null, 8, ["icon"])) : Et("v-if", !0),
|
|
861
861
|
Je(dt(Pp), {
|
|
862
862
|
icon: dt(bK),
|
|
863
863
|
class: "icon-more el-icon ml",
|
|
864
864
|
title: "重置",
|
|
865
865
|
onClick: re
|
|
866
866
|
}, null, 8, ["icon"]),
|
|
867
|
-
|
|
867
|
+
Et(` <el-popover\r
|
|
868
868
|
placement="right"\r
|
|
869
869
|
popper-class="gl-search-form-popper"\r
|
|
870
870
|
width="100"\r
|
|
@@ -893,7 +893,7 @@ const Jr = (c, i) => {
|
|
|
893
893
|
],
|
|
894
894
|
64
|
|
895
895
|
/* STABLE_FRAGMENT */
|
|
896
|
-
)) :
|
|
896
|
+
)) : Et("v-if", !0)
|
|
897
897
|
],
|
|
898
898
|
2
|
|
899
899
|
/* CLASS */
|
|
@@ -923,7 +923,7 @@ const Jr = (c, i) => {
|
|
|
923
923
|
Ne(
|
|
924
924
|
"h2",
|
|
925
925
|
null,
|
|
926
|
-
|
|
926
|
+
Ln(c.title),
|
|
927
927
|
1
|
|
928
928
|
/* TEXT */
|
|
929
929
|
)
|
|
@@ -1022,7 +1022,7 @@ const ose = /* @__PURE__ */ Jr(nse, [["__scopeId", "data-v-403809ec"]]), Ybe = I
|
|
|
1022
1022
|
{
|
|
1023
1023
|
class: Wr(T(ie))
|
|
1024
1024
|
},
|
|
1025
|
-
|
|
1025
|
+
Ln(ie + 1),
|
|
1026
1026
|
3
|
|
1027
1027
|
/* TEXT, CLASS */
|
|
1028
1028
|
),
|
|
@@ -1032,11 +1032,11 @@ const ose = /* @__PURE__ */ Jr(nse, [["__scopeId", "data-v-403809ec"]]), Ybe = I
|
|
|
1032
1032
|
onClick: (ae) => U(ve, ie + 1)
|
|
1033
1033
|
}, [
|
|
1034
1034
|
Qs(
|
|
1035
|
-
|
|
1035
|
+
Ln(ve[c.propsField.name]) + " ",
|
|
1036
1036
|
1
|
|
1037
1037
|
/* TEXT */
|
|
1038
1038
|
),
|
|
1039
|
-
|
|
1039
|
+
Et(` <i\r
|
|
1040
1040
|
v-if="item[propsField.children]?.length && !item.show"\r
|
|
1041
1041
|
class="ikapprove icon-a-putongjiantouzhankai"\r
|
|
1042
1042
|
@click="changeShow(item, index)"\r
|
|
@@ -1046,8 +1046,8 @@ const ose = /* @__PURE__ */ Jr(nse, [["__scopeId", "data-v-403809ec"]]), Ybe = I
|
|
|
1046
1046
|
class: "ikapprove",
|
|
1047
1047
|
onClick: (ae) => re(ve, ie),
|
|
1048
1048
|
name: "iksvg_zhankai"
|
|
1049
|
-
}, null, 8, ["onClick"])) :
|
|
1050
|
-
|
|
1049
|
+
}, null, 8, ["onClick"])) : Et("v-if", !0),
|
|
1050
|
+
Et(` <i\r
|
|
1051
1051
|
v-if="item[propsField.children]?.length && item.show"\r
|
|
1052
1052
|
@click="changeShow(item, index)"\r
|
|
1053
1053
|
class="ikapprove icon-a-putongjiantoushouqi"\r
|
|
@@ -1057,7 +1057,7 @@ const ose = /* @__PURE__ */ Jr(nse, [["__scopeId", "data-v-403809ec"]]), Ybe = I
|
|
|
1057
1057
|
class: "ikapprove",
|
|
1058
1058
|
onClick: (ae) => re(ve, ie),
|
|
1059
1059
|
name: "iksvg_shouqi"
|
|
1060
|
-
}, null, 8, ["onClick"])) :
|
|
1060
|
+
}, null, 8, ["onClick"])) : Et("v-if", !0)
|
|
1061
1061
|
], 14, ase)
|
|
1062
1062
|
]),
|
|
1063
1063
|
Ne(
|
|
@@ -1077,7 +1077,7 @@ const ose = /* @__PURE__ */ Jr(nse, [["__scopeId", "data-v-403809ec"]]), Ybe = I
|
|
|
1077
1077
|
style: Rl(c.needClick ? "cursor: pointer;" : ""),
|
|
1078
1078
|
key: j,
|
|
1079
1079
|
onClick: (we) => U(ae, ie + 1 + "-" + (j + 1))
|
|
1080
|
-
},
|
|
1080
|
+
}, Ln(ae.name), 15, lse))),
|
|
1081
1081
|
128
|
|
1082
1082
|
/* KEYED_FRAGMENT */
|
|
1083
1083
|
))
|
|
@@ -1098,7 +1098,7 @@ const use = /* @__PURE__ */ Jr(cse, [["__scopeId", "data-v-240cff4f"]]), Xbe = I
|
|
|
1098
1098
|
const u = c / 1024;
|
|
1099
1099
|
return u > 1024 ? (u / 1024).toFixed(i) + "MB" : u.toFixed(i) + "KB";
|
|
1100
1100
|
}, YY = (c, i) => i ? i.startsWith("http") ? i : `${c}${i}` : "";
|
|
1101
|
-
const yK = (c) => (pb("data-v-
|
|
1101
|
+
const yK = (c) => (pb("data-v-429c4df6"), c = c(), vb(), c), fse = {
|
|
1102
1102
|
class: "approveProcess",
|
|
1103
1103
|
id: "approveProcess"
|
|
1104
1104
|
}, mse = ["id"], hse = { class: "topBlock" }, gse = { class: "left" }, pse = { class: "nodeBg" }, vse = ["src"], bse = { class: "right" }, yse = { class: "topInfo" }, Cse = { key: 0 }, wse = {
|
|
@@ -1374,7 +1374,7 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1374
1374
|
Ne("div", hse, [
|
|
1375
1375
|
Ne("div", gse, [
|
|
1376
1376
|
Ne("span", pse, [
|
|
1377
|
-
|
|
1377
|
+
Et(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
|
|
1378
1378
|
((ie = $[h.defaultFile.approvePersonList]) == null ? void 0 : ie.length) == 1 && $[h.defaultFile.approvePersonList][0].userAvatar ? (Ce(), Ze("img", {
|
|
1379
1379
|
key: 0,
|
|
1380
1380
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
@@ -1384,7 +1384,7 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1384
1384
|
Lo,
|
|
1385
1385
|
{ key: 1 },
|
|
1386
1386
|
[
|
|
1387
|
-
|
|
1387
|
+
Et(" 否则显示对应节点 "),
|
|
1388
1388
|
Ne(
|
|
1389
1389
|
"i",
|
|
1390
1390
|
{
|
|
@@ -1403,7 +1403,7 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1403
1403
|
2112
|
|
1404
1404
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1405
1405
|
)),
|
|
1406
|
-
|
|
1406
|
+
Et(" 审批状态图标 "),
|
|
1407
1407
|
Ne(
|
|
1408
1408
|
"i",
|
|
1409
1409
|
{
|
|
@@ -1420,19 +1420,19 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1420
1420
|
Ne("div", bse, [
|
|
1421
1421
|
Ne("div", yse, [
|
|
1422
1422
|
Ne("div", null, [
|
|
1423
|
-
|
|
1423
|
+
Et(" 不是抄送节点 "),
|
|
1424
1424
|
$[h.defaultFile.nodeType] != h.nodeType.抄送节点 ? (Ce(), Ze("div", Cse, [
|
|
1425
|
-
|
|
1425
|
+
Et(" 撤销,评论不显示节点名称 "),
|
|
1426
1426
|
$[h.defaultFile.approveStatus] != h.statusOption.撤销 && $[h.defaultFile.approveStatus] != h.statusOption.评论 ? (Ce(), Ze(
|
|
1427
1427
|
"div",
|
|
1428
1428
|
wse,
|
|
1429
|
-
|
|
1429
|
+
Ln($[h.defaultFile.nodeTypeName]),
|
|
1430
1430
|
1
|
|
1431
1431
|
/* TEXT */
|
|
1432
|
-
)) :
|
|
1433
|
-
|
|
1432
|
+
)) : Et("v-if", !0),
|
|
1433
|
+
Et(" 名字+审批状态 "),
|
|
1434
1434
|
Ne("div", Sse, [
|
|
1435
|
-
|
|
1435
|
+
Et(" 已审批节点文本 "),
|
|
1436
1436
|
$[h.defaultFile.lineType] == "solid" ? (Ce(), Ze("div", _se, [
|
|
1437
1437
|
Ne(
|
|
1438
1438
|
"span",
|
|
@@ -1441,50 +1441,50 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1441
1441
|
color: $[h.defaultFile.approveStatus] == h.statusOption.评论 ? "#000" : ""
|
|
1442
1442
|
})
|
|
1443
1443
|
},
|
|
1444
|
-
|
|
1444
|
+
Ln($[h.defaultFile.originator]),
|
|
1445
1445
|
5
|
|
1446
1446
|
/* TEXT, STYLE */
|
|
1447
1447
|
),
|
|
1448
|
-
|
|
1448
|
+
Et(" 发起,退回不显示状态 "),
|
|
1449
1449
|
$[h.defaultFile.approveStatusName] && $[h.defaultFile.approveStatus] != h.statusOption.发起 && $[h.defaultFile.approveStatus] != h.statusOption.退回 ? (Ce(), Ze(
|
|
1450
1450
|
"span",
|
|
1451
1451
|
xse,
|
|
1452
|
-
|
|
1452
|
+
Ln($[h.defaultFile.approveStatus] == h.statusOption.评论 ? " 添加了评论" : "(" + $[h.defaultFile.approveStatusName] + ")"),
|
|
1453
1453
|
1
|
|
1454
1454
|
/* TEXT */
|
|
1455
|
-
)) :
|
|
1456
|
-
|
|
1455
|
+
)) : Et("v-if", !0),
|
|
1456
|
+
Et(" 退回状态显示 "),
|
|
1457
1457
|
$[h.defaultFile.approveStatus] == h.statusOption.退回 ? (Ce(), Ze("span", Ese, [
|
|
1458
1458
|
kse,
|
|
1459
1459
|
Qs(
|
|
1460
|
-
|
|
1460
|
+
Ln($[h.defaultFile.backToRecordNodeName]),
|
|
1461
1461
|
1
|
|
1462
1462
|
/* TEXT */
|
|
1463
1463
|
)
|
|
1464
|
-
])) :
|
|
1464
|
+
])) : Et("v-if", !0)
|
|
1465
1465
|
])) : (Ce(), Ze(
|
|
1466
1466
|
Lo,
|
|
1467
1467
|
{ key: 1 },
|
|
1468
1468
|
[
|
|
1469
|
-
|
|
1469
|
+
Et(" 待审批节点 "),
|
|
1470
1470
|
Ne("div", null, [
|
|
1471
1471
|
((ee = $[h.defaultFile.approvePersonList]) == null ? void 0 : ee.length) == 1 ? (Ce(), Ze("span", Tse, [
|
|
1472
1472
|
Qs(
|
|
1473
|
-
|
|
1473
|
+
Ln($[h.defaultFile.originator]) + " ",
|
|
1474
1474
|
1
|
|
1475
1475
|
/* TEXT */
|
|
1476
1476
|
),
|
|
1477
1477
|
$[h.defaultFile.approveStatus] == h.statusOption.等待 ? (Ce(), Ze(
|
|
1478
1478
|
"span",
|
|
1479
1479
|
Ase,
|
|
1480
|
-
|
|
1480
|
+
Ln(`(${$[h.defaultFile.approveStatusName]})`),
|
|
1481
1481
|
1
|
|
1482
1482
|
/* TEXT */
|
|
1483
|
-
)) :
|
|
1483
|
+
)) : Et("v-if", !0)
|
|
1484
1484
|
])) : (Ce(), Ze(
|
|
1485
1485
|
"span",
|
|
1486
1486
|
Dse,
|
|
1487
|
-
|
|
1487
|
+
Ln(((Se = $[h.defaultFile.approvePersonList]) == null ? void 0 : Se.length) + "人" + $[h.defaultFile.approveTypeName]),
|
|
1488
1488
|
1
|
|
1489
1489
|
/* TEXT */
|
|
1490
1490
|
))
|
|
@@ -1497,14 +1497,14 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1497
1497
|
])) : (Ce(), Ze("div", Ose, [
|
|
1498
1498
|
Rse,
|
|
1499
1499
|
Ne("div", Mse, [
|
|
1500
|
-
|
|
1500
|
+
Et(" 抄送一人时 "),
|
|
1501
1501
|
((ae = $[h.defaultFile.approvePersonList]) == null ? void 0 : ae.length) == 1 ? (Ce(), Ze("span", Ise, [
|
|
1502
1502
|
Ne("span", null, [
|
|
1503
1503
|
Qs("已抄送给 "),
|
|
1504
1504
|
Ne(
|
|
1505
1505
|
"span",
|
|
1506
1506
|
Nse,
|
|
1507
|
-
|
|
1507
|
+
Ln($[h.defaultFile.approvePersonList][0].userName),
|
|
1508
1508
|
1
|
|
1509
1509
|
/* TEXT */
|
|
1510
1510
|
)
|
|
@@ -1512,42 +1512,42 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1512
1512
|
Ne(
|
|
1513
1513
|
"span",
|
|
1514
1514
|
Pse,
|
|
1515
|
-
|
|
1515
|
+
Ln($[h.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
|
|
1516
1516
|
1
|
|
1517
1517
|
/* TEXT */
|
|
1518
1518
|
)
|
|
1519
|
-
])) :
|
|
1520
|
-
|
|
1519
|
+
])) : Et("v-if", !0),
|
|
1520
|
+
Et(" 抄送多人时 "),
|
|
1521
1521
|
((j = $[h.defaultFile.approvePersonList]) == null ? void 0 : j.length) > 1 ? (Ce(), Ze("span", Bse, [
|
|
1522
1522
|
Qs(
|
|
1523
|
-
|
|
1523
|
+
Ln(`已抄送${(we = $[h.defaultFile.approvePersonList]) == null ? void 0 : we.length}人`) + " ",
|
|
1524
1524
|
1
|
|
1525
1525
|
/* TEXT */
|
|
1526
1526
|
),
|
|
1527
1527
|
$[h.defaultFile.allRead] ? (Ce(), Ze("span", $se, " 全部已读 ")) : (Ce(), Ze("span", Fse, [
|
|
1528
|
-
$[h.defaultFile.read] ?
|
|
1528
|
+
$[h.defaultFile.read] ? Et("v-if", !0) : (Ce(), Ze("span", Lse, " 全部未读 ")),
|
|
1529
1529
|
$[h.defaultFile.read] ? (Ce(), Ze(
|
|
1530
1530
|
"span",
|
|
1531
1531
|
Hse,
|
|
1532
|
-
|
|
1532
|
+
Ln($[h.defaultFile.read]) + "人已读 ",
|
|
1533
1533
|
1
|
|
1534
1534
|
/* TEXT */
|
|
1535
|
-
)) :
|
|
1535
|
+
)) : Et("v-if", !0)
|
|
1536
1536
|
]))
|
|
1537
|
-
])) :
|
|
1537
|
+
])) : Et("v-if", !0)
|
|
1538
1538
|
])
|
|
1539
1539
|
]))
|
|
1540
1540
|
]),
|
|
1541
1541
|
Ne("div", zse, [
|
|
1542
|
-
|
|
1542
|
+
Et(" 不是抄送节点,展示时间 "),
|
|
1543
1543
|
$[h.defaultFile.nodeType] != h.nodeType.抄送节点 ? (Ce(), Ze(
|
|
1544
1544
|
"span",
|
|
1545
1545
|
Vse,
|
|
1546
|
-
|
|
1546
|
+
Ln($[h.defaultFile.operationTime]),
|
|
1547
1547
|
1
|
|
1548
1548
|
/* TEXT */
|
|
1549
|
-
)) :
|
|
1550
|
-
|
|
1549
|
+
)) : Et("v-if", !0),
|
|
1550
|
+
Et(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
|
|
1551
1551
|
$[h.defaultFile.nodeType] == h.nodeType.抄送节点 && ((Ft = $[h.defaultFile.approvePersonList]) == null ? void 0 : Ft.length) > 1 ? (Ce(), Ze("span", Use, [
|
|
1552
1552
|
$ != null && $.show ? (Ce(), Ze("i", {
|
|
1553
1553
|
key: 0,
|
|
@@ -1558,7 +1558,7 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1558
1558
|
onClick: (Ae) => F($, "none"),
|
|
1559
1559
|
class: "ikapprove ikapprove-a-putongjiantoushouqi"
|
|
1560
1560
|
}, null, 8, jse))
|
|
1561
|
-
])) :
|
|
1561
|
+
])) : Et("v-if", !0)
|
|
1562
1562
|
])
|
|
1563
1563
|
])
|
|
1564
1564
|
])
|
|
@@ -1572,15 +1572,15 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1572
1572
|
})
|
|
1573
1573
|
},
|
|
1574
1574
|
[
|
|
1575
|
-
|
|
1575
|
+
Et(" 审批意见 "),
|
|
1576
1576
|
$[h.defaultFile.approveOpinion] || $[h.defaultFile.approveStatus] == h.statusOption.加签 ? (Ce(), Ze("div", Zse, [
|
|
1577
1577
|
$[h.defaultFile.approveOpinion] ? (Ce(), Ze(
|
|
1578
1578
|
"span",
|
|
1579
1579
|
Gse,
|
|
1580
|
-
|
|
1580
|
+
Ln($[h.defaultFile.approveOpinion]),
|
|
1581
1581
|
1
|
|
1582
1582
|
/* TEXT */
|
|
1583
|
-
)) :
|
|
1583
|
+
)) : Et("v-if", !0),
|
|
1584
1584
|
$[h.defaultFile.approveStatus] == h.statusOption.加签 ? (Ce(), Ze("span", qse, [
|
|
1585
1585
|
Yse,
|
|
1586
1586
|
(Ce(!0), Ze(
|
|
@@ -1589,23 +1589,23 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1589
1589
|
Ma($[h.defaultFile.countersignPer], (Ae, Qe) => (Ce(), Ze(
|
|
1590
1590
|
"span",
|
|
1591
1591
|
Kse,
|
|
1592
|
-
|
|
1592
|
+
Ln(Ae == null ? void 0 : Ae.userName) + Ln(Qe < $[h.defaultFile.countersignPer].length - 1 ? "、" : ""),
|
|
1593
1593
|
1
|
|
1594
1594
|
/* TEXT */
|
|
1595
1595
|
))),
|
|
1596
1596
|
256
|
|
1597
1597
|
/* UNKEYED_FRAGMENT */
|
|
1598
1598
|
))
|
|
1599
|
-
])) :
|
|
1600
|
-
])) :
|
|
1601
|
-
|
|
1602
|
-
(je = $[h.defaultFile.attachment]) != null && je.length ? (Ce(), no(dt(
|
|
1599
|
+
])) : Et("v-if", !0)
|
|
1600
|
+
])) : Et("v-if", !0),
|
|
1601
|
+
Et(" 附件 "),
|
|
1602
|
+
(je = $[h.defaultFile.attachment]) != null && je.length ? (Ce(), no(dt(ihe), {
|
|
1603
1603
|
key: 1,
|
|
1604
1604
|
"kk-url": c.kkUrl,
|
|
1605
1605
|
"load-url": c.fileUrl,
|
|
1606
1606
|
list: $[h.defaultFile.attachment]
|
|
1607
|
-
}, null, 8, ["kk-url", "load-url", "list"])) :
|
|
1608
|
-
|
|
1607
|
+
}, null, 8, ["kk-url", "load-url", "list"])) : Et("v-if", !0),
|
|
1608
|
+
Et(" 附件图片 "),
|
|
1609
1609
|
(X = $[h.defaultFile.attachmentImg]) != null && X.length ? (Ce(), Ze("div", Xse, [
|
|
1610
1610
|
(Ce(!0), Ze(
|
|
1611
1611
|
Lo,
|
|
@@ -1616,17 +1616,18 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1616
1616
|
}, [
|
|
1617
1617
|
Je(te, {
|
|
1618
1618
|
src: Z(Ae),
|
|
1619
|
+
"preview-src-list": $[h.defaultFile.attachmentImg].map((Fe) => Z(Fe)),
|
|
1619
1620
|
fit: "cover",
|
|
1620
1621
|
"z-index": "9999",
|
|
1621
1622
|
"zoom-rate": 1.2,
|
|
1622
1623
|
alt: Z(Ae)
|
|
1623
|
-
}, null, 8, ["src", "alt"])
|
|
1624
|
+
}, null, 8, ["src", "preview-src-list", "alt"])
|
|
1624
1625
|
]))),
|
|
1625
1626
|
128
|
|
1626
1627
|
/* KEYED_FRAGMENT */
|
|
1627
1628
|
))
|
|
1628
|
-
])) :
|
|
1629
|
-
|
|
1629
|
+
])) : Et("v-if", !0),
|
|
1630
|
+
Et(" 抄送节点或是等待审批状态并且列表长度大于1 "),
|
|
1630
1631
|
($[h.defaultFile.nodeType] == h.nodeType.抄送节点 || $[h.defaultFile.approveStatus] == h.statusOption.等待) && ((Ie = $[h.defaultFile.approvePersonList]) == null ? void 0 : Ie.length) > 1 ? (Ce(), Ze("div", Qse, [
|
|
1631
1632
|
(Ce(!0), Ze(
|
|
1632
1633
|
Lo,
|
|
@@ -1644,21 +1645,21 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1644
1645
|
}, null, 8, ere)) : (Ce(), Ze(
|
|
1645
1646
|
"span",
|
|
1646
1647
|
tre,
|
|
1647
|
-
|
|
1648
|
+
Ln(Ae.userName.slice(-2)),
|
|
1648
1649
|
1
|
|
1649
1650
|
/* TEXT */
|
|
1650
1651
|
)),
|
|
1651
|
-
Ae.status === "END" ? (Ce(), Ze("i", nre)) :
|
|
1652
|
+
Ae.status === "END" ? (Ce(), Ze("i", nre)) : Et("v-if", !0)
|
|
1652
1653
|
]),
|
|
1653
1654
|
Ne("div", {
|
|
1654
1655
|
class: "main-text",
|
|
1655
1656
|
title: Ae.userName
|
|
1656
|
-
},
|
|
1657
|
+
}, Ln(Ae.userName), 9, ore)
|
|
1657
1658
|
]))),
|
|
1658
1659
|
128
|
|
1659
1660
|
/* KEYED_FRAGMENT */
|
|
1660
1661
|
))
|
|
1661
|
-
])) :
|
|
1662
|
+
])) : Et("v-if", !0)
|
|
1662
1663
|
],
|
|
1663
1664
|
4
|
|
1664
1665
|
/* STYLE */
|
|
@@ -1672,7 +1673,7 @@ const yK = (c) => (pb("data-v-dbe9649a"), c = c(), vb(), c), fse = {
|
|
|
1672
1673
|
};
|
|
1673
1674
|
}
|
|
1674
1675
|
});
|
|
1675
|
-
const are = /* @__PURE__ */ Jr(rre, [["__scopeId", "data-v-
|
|
1676
|
+
const are = /* @__PURE__ */ Jr(rre, [["__scopeId", "data-v-429c4df6"]]), Qbe = Ia(are), ire = (c) => (pb("data-v-5b4e3e05"), c = c(), vb(), c), lre = {
|
|
1676
1677
|
class: "approveProcess",
|
|
1677
1678
|
id: "approveProcess"
|
|
1678
1679
|
}, cre = { class: "node" }, ure = { class: "nodeBg" }, dre = { class: "info" }, fre = { class: "explain" }, mre = { key: 0 }, hre = { key: 0 }, gre = { key: 1 }, pre = { key: 0 }, vre = { key: 1 }, bre = { class: "personlist" }, yre = { style: { width: "58px" } }, Cre = { class: "avatar" }, wre = ["src"], Sre = {
|
|
@@ -1856,7 +1857,7 @@ const are = /* @__PURE__ */ Jr(rre, [["__scopeId", "data-v-dbe9649a"]]), Qbe = I
|
|
|
1856
1857
|
class: "content",
|
|
1857
1858
|
key: $.id
|
|
1858
1859
|
}, [
|
|
1859
|
-
|
|
1860
|
+
Et(" 审批节点类型 "),
|
|
1860
1861
|
Ne("div", cre, [
|
|
1861
1862
|
Ne("span", ure, [
|
|
1862
1863
|
Ne(
|
|
@@ -1887,51 +1888,51 @@ const are = /* @__PURE__ */ Jr(rre, [["__scopeId", "data-v-dbe9649a"]]), Qbe = I
|
|
|
1887
1888
|
Ne(
|
|
1888
1889
|
"div",
|
|
1889
1890
|
null,
|
|
1890
|
-
|
|
1891
|
+
Ln($[y.defaultFile.nodeTypeName]),
|
|
1891
1892
|
1
|
|
1892
1893
|
/* TEXT */
|
|
1893
1894
|
),
|
|
1894
1895
|
Ne("div", fre, [
|
|
1895
|
-
|
|
1896
|
+
Et(" 抄送节点 "),
|
|
1896
1897
|
$[y.defaultFile.nodeType] == y.nodeType.抄送节点 ? (Ce(), Ze("span", mre, [
|
|
1897
1898
|
$[y.defaultFile.approvePersonList].length ? (Ce(), Ze(
|
|
1898
1899
|
"span",
|
|
1899
1900
|
hre,
|
|
1900
|
-
|
|
1901
|
+
Ln(`抄送${$[y.defaultFile.approvePersonList].length}人`),
|
|
1901
1902
|
1
|
|
1902
1903
|
/* TEXT */
|
|
1903
|
-
)) :
|
|
1904
|
-
$[y.defaultFile.isShowAdd] ? (Ce(), Ze("span", gre, ",可添加抄送人")) :
|
|
1904
|
+
)) : Et("v-if", !0),
|
|
1905
|
+
$[y.defaultFile.isShowAdd] ? (Ce(), Ze("span", gre, ",可添加抄送人")) : Et("v-if", !0)
|
|
1905
1906
|
])) : (Ce(), Ze(
|
|
1906
1907
|
Lo,
|
|
1907
1908
|
{ key: 1 },
|
|
1908
1909
|
[
|
|
1909
|
-
|
|
1910
|
+
Et(" 审批节点 "),
|
|
1910
1911
|
Ne("span", null, [
|
|
1911
|
-
|
|
1912
|
+
Et(" 存在审批人时 "),
|
|
1912
1913
|
(ie = $[y.defaultFile.approvePersonList]) != null && ie.length ? (Ce(), Ze(
|
|
1913
1914
|
"span",
|
|
1914
1915
|
pre,
|
|
1915
|
-
|
|
1916
|
+
Ln(((ee = $[y.defaultFile.approvePersonList]) == null ? void 0 : ee.length) == 1 ? "1人审批" : `${(Se = $[y.defaultFile.approvePersonList]) == null ? void 0 : Se.length}人${$[y.defaultFile.multiExecutorTypeName]}`),
|
|
1916
1917
|
1
|
|
1917
1918
|
/* TEXT */
|
|
1918
1919
|
)) : [y.statusWithoutApprover.自动通过, y.statusWithoutApprover.自动拒绝].includes($[y.defaultFile.approveType]) ? (Ce(), Ze(
|
|
1919
1920
|
"span",
|
|
1920
1921
|
vre,
|
|
1921
|
-
|
|
1922
|
+
Ln($[y.defaultFile.approveTypeName]),
|
|
1922
1923
|
1
|
|
1923
1924
|
/* TEXT */
|
|
1924
1925
|
)) : $[y.defaultFile.executorEmptyStrategy] && $[y.defaultFile.executorEmpty] ? (Ce(), Ze(
|
|
1925
1926
|
Lo,
|
|
1926
1927
|
{ key: 2 },
|
|
1927
1928
|
[
|
|
1928
|
-
|
|
1929
|
+
Et(" 没有审批人,并且有指定默认审批方式 "),
|
|
1929
1930
|
Ne("span", null, [
|
|
1930
1931
|
Qs(" 未找到审批人,"),
|
|
1931
1932
|
Ne(
|
|
1932
1933
|
"span",
|
|
1933
1934
|
null,
|
|
1934
|
-
|
|
1935
|
+
Ln($[y.defaultFile.executorEmptyStrategy] == y.statusWithoutApprover.自动通过 ? "将自动通过" : $[y.defaultFile.executorEmptyStrategy] == y.statusWithoutApprover.自动转交管理员 ? "自动转交给管理员" : $[y.defaultFile.executorEmptyStrategy] == y.statusWithoutApprover.指定人员审批 ? `将自动转给指定成员${$[y.defaultFile.reserveExecutorUsers] && $[y.defaultFile.reserveExecutorUsers][0].userName}` : ""),
|
|
1935
1936
|
1
|
|
1936
1937
|
/* TEXT */
|
|
1937
1938
|
)
|
|
@@ -1945,7 +1946,7 @@ const are = /* @__PURE__ */ Jr(rre, [["__scopeId", "data-v-dbe9649a"]]), Qbe = I
|
|
|
1945
1946
|
key: 3,
|
|
1946
1947
|
class: Wr($.required ? "warn" : "")
|
|
1947
1948
|
},
|
|
1948
|
-
"请选择" +
|
|
1949
|
+
"请选择" + Ln($[y.defaultFile.nodeType] === y.nodeType.办理节点 ? "办理人" : "审批人"),
|
|
1949
1950
|
3
|
|
1950
1951
|
/* TEXT, CLASS */
|
|
1951
1952
|
))
|
|
@@ -1976,7 +1977,7 @@ const are = /* @__PURE__ */ Jr(rre, [["__scopeId", "data-v-dbe9649a"]]), Qbe = I
|
|
|
1976
1977
|
Ne(
|
|
1977
1978
|
"span",
|
|
1978
1979
|
null,
|
|
1979
|
-
|
|
1980
|
+
Ln(j.userName.slice(-2)),
|
|
1980
1981
|
1
|
|
1981
1982
|
/* TEXT */
|
|
1982
1983
|
)
|
|
@@ -1985,25 +1986,25 @@ const are = /* @__PURE__ */ Jr(rre, [["__scopeId", "data-v-dbe9649a"]]), Qbe = I
|
|
|
1985
1986
|
key: 2,
|
|
1986
1987
|
onClick: (je) => Z(ve, we),
|
|
1987
1988
|
class: "ikapprove ikapprove-shanchu1"
|
|
1988
|
-
}, null, 8, _re)) :
|
|
1989
|
+
}, null, 8, _re)) : Et("v-if", !0)
|
|
1989
1990
|
]),
|
|
1990
1991
|
Ne("div", {
|
|
1991
1992
|
class: "name",
|
|
1992
1993
|
title: j.userName
|
|
1993
|
-
},
|
|
1994
|
+
}, Ln(j.userName), 9, xre)
|
|
1994
1995
|
]),
|
|
1995
|
-
|
|
1996
|
+
Et(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),
|
|
1996
1997
|
$[y.defaultFile.isShowAdd] && !($[y.defaultFile.singleApproval] && ((Ft = $[y.defaultFile.approvePersonList]) == null ? void 0 : Ft.length) == 1) ? (Ce(), Ze("span", Ere, [
|
|
1997
|
-
|
|
1998
|
+
Et(" 抄送默认 "),
|
|
1998
1999
|
$[y.defaultFile.nodeType] == y.nodeType.抄送节点 ? (Ce(), Ze("span", kre, "+")) : (Ce(), Ze(
|
|
1999
2000
|
Lo,
|
|
2000
2001
|
{ key: 1 },
|
|
2001
2002
|
[
|
|
2002
|
-
|
|
2003
|
+
Et(" 审批 "),
|
|
2003
2004
|
Ne(
|
|
2004
2005
|
"span",
|
|
2005
2006
|
null,
|
|
2006
|
-
|
|
2007
|
+
Ln($[y.defaultFile.multiExecutorType] == "ANY" ? "/" : $[y.defaultFile.multiExecutorType] == "ALL" ? "+" : ">"),
|
|
2007
2008
|
1
|
|
2008
2009
|
/* TEXT */
|
|
2009
2010
|
)
|
|
@@ -2011,22 +2012,22 @@ const are = /* @__PURE__ */ Jr(rre, [["__scopeId", "data-v-dbe9649a"]]), Qbe = I
|
|
|
2011
2012
|
2112
|
|
2012
2013
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2013
2014
|
))
|
|
2014
|
-
])) :
|
|
2015
|
+
])) : Et("v-if", !0)
|
|
2015
2016
|
]);
|
|
2016
2017
|
}),
|
|
2017
2018
|
128
|
|
2018
2019
|
/* KEYED_FRAGMENT */
|
|
2019
2020
|
)),
|
|
2020
|
-
|
|
2021
|
+
Et(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 "),
|
|
2021
2022
|
$[y.defaultFile.isShowAdd] && !($[y.defaultFile.singleApproval] && ((ae = $[y.defaultFile.approvePersonList]) == null ? void 0 : ae.length) == 1) || $[y.defaultFile.isShowAddCopy] ? (Ce(), Ze("span", {
|
|
2022
2023
|
key: 0,
|
|
2023
2024
|
class: "addBg",
|
|
2024
2025
|
onClick: (j) => _($)
|
|
2025
2026
|
}, [
|
|
2026
|
-
$[y.defaultFile.nodeType] == y.nodeType.审批节点 ? (Ce(), Ze("span", Are)) :
|
|
2027
|
+
$[y.defaultFile.nodeType] == y.nodeType.审批节点 ? (Ce(), Ze("span", Are)) : Et("v-if", !0),
|
|
2027
2028
|
Dre
|
|
2028
|
-
], 8, Tre)) :
|
|
2029
|
-
|
|
2029
|
+
], 8, Tre)) : Et("v-if", !0),
|
|
2030
|
+
Et(" 添加人组件 "),
|
|
2030
2031
|
Je(dt(iF), {
|
|
2031
2032
|
modelValue: $.handList,
|
|
2032
2033
|
"onUpdate:modelValue": (j) => $.handList = j,
|
|
@@ -11482,7 +11483,7 @@ const m7 = (c) => (pb("data-v-1fa0e0e1"), c = c(), vb(), c), yfe = { class: "dem
|
|
|
11482
11483
|
class: "title",
|
|
11483
11484
|
title: ae.event.title,
|
|
11484
11485
|
onClick: Eh((j) => y(), ["stop"])
|
|
11485
|
-
},
|
|
11486
|
+
}, Ln(ae.event.title), 9, Sfe),
|
|
11486
11487
|
Je(dt(gu), {
|
|
11487
11488
|
size: 16,
|
|
11488
11489
|
onClick: Eh((j) => U(ae), ["stop"])
|
|
@@ -11499,7 +11500,7 @@ const m7 = (c) => (pb("data-v-1fa0e0e1"), c = c(), vb(), c), yfe = { class: "dem
|
|
|
11499
11500
|
/* STABLE */
|
|
11500
11501
|
}, 8, ["options"])
|
|
11501
11502
|
]),
|
|
11502
|
-
|
|
11503
|
+
Et(" 新建日程 "),
|
|
11503
11504
|
Je(dt(Q$), {
|
|
11504
11505
|
modelValue: A.dialogVisible,
|
|
11505
11506
|
"onUpdate:modelValue": ee[12] || (ee[12] = (ae) => A.dialogVisible = ae),
|
|
@@ -11597,7 +11598,7 @@ const m7 = (c) => (pb("data-v-1fa0e0e1"), c = c(), vb(), c), yfe = { class: "dem
|
|
|
11597
11598
|
placeholder: "结束日期",
|
|
11598
11599
|
style: { width: "48%" }
|
|
11599
11600
|
}, null, 8, ["modelValue"])
|
|
11600
|
-
])) :
|
|
11601
|
+
])) : Et("v-if", !0),
|
|
11601
11602
|
A.timeType == "week" ? (Ce(), Ze("div", Efe, [
|
|
11602
11603
|
Je(dt(ub), {
|
|
11603
11604
|
modelValue: A.form.startDate,
|
|
@@ -11616,7 +11617,7 @@ const m7 = (c) => (pb("data-v-1fa0e0e1"), c = c(), vb(), c), yfe = { class: "dem
|
|
|
11616
11617
|
style: { width: "48%" },
|
|
11617
11618
|
format: "YYYY-MM-DD HH:mm"
|
|
11618
11619
|
}, null, 8, ["modelValue"])
|
|
11619
|
-
])) :
|
|
11620
|
+
])) : Et("v-if", !0),
|
|
11620
11621
|
A.timeType == "day" ? (Ce(), Ze("div", Tfe, [
|
|
11621
11622
|
Je(dt(ub), {
|
|
11622
11623
|
modelValue: A.form.startDate,
|
|
@@ -11659,7 +11660,7 @@ const m7 = (c) => (pb("data-v-1fa0e0e1"), c = c(), vb(), c), yfe = { class: "dem
|
|
|
11659
11660
|
label: "全天",
|
|
11660
11661
|
style: { "margin-left": "2%" }
|
|
11661
11662
|
}, null, 8, ["modelValue"])
|
|
11662
|
-
])) :
|
|
11663
|
+
])) : Et("v-if", !0)
|
|
11663
11664
|
]),
|
|
11664
11665
|
_: 1
|
|
11665
11666
|
/* STABLE */
|
|
@@ -11689,7 +11690,7 @@ const m7 = (c) => (pb("data-v-1fa0e0e1"), c = c(), vb(), c), yfe = { class: "dem
|
|
|
11689
11690
|
Ne(
|
|
11690
11691
|
"div",
|
|
11691
11692
|
null,
|
|
11692
|
-
|
|
11693
|
+
Ln(ae.elementName),
|
|
11693
11694
|
1
|
|
11694
11695
|
/* TEXT */
|
|
11695
11696
|
)
|
|
@@ -11741,7 +11742,7 @@ const m7 = (c) => (pb("data-v-1fa0e0e1"), c = c(), vb(), c), yfe = { class: "dem
|
|
|
11741
11742
|
_: 1
|
|
11742
11743
|
/* STABLE */
|
|
11743
11744
|
}, 8, ["modelValue", "title"]),
|
|
11744
|
-
|
|
11745
|
+
Et(" 选人组件 "),
|
|
11745
11746
|
Je(dt(iF), {
|
|
11746
11747
|
modelValue: A.handList,
|
|
11747
11748
|
"onUpdate:modelValue": ee[13] || (ee[13] = (ae) => A.handList = ae),
|
|
@@ -11880,7 +11881,7 @@ const Ffe = /* @__PURE__ */ Jr($fe, [["__scopeId", "data-v-1fa0e0e1"]]), tye = I
|
|
|
11880
11881
|
],
|
|
11881
11882
|
32
|
|
11882
11883
|
/* NEED_HYDRATION */
|
|
11883
|
-
)) :
|
|
11884
|
+
)) : Et("v-if", !0),
|
|
11884
11885
|
Ne(
|
|
11885
11886
|
"div",
|
|
11886
11887
|
{
|
|
@@ -11909,7 +11910,7 @@ const Ffe = /* @__PURE__ */ Jr($fe, [["__scopeId", "data-v-1fa0e0e1"]]), tye = I
|
|
|
11909
11910
|
null,
|
|
11910
11911
|
6
|
|
11911
11912
|
/* CLASS, STYLE */
|
|
11912
|
-
)) :
|
|
11913
|
+
)) : Et("v-if", !0),
|
|
11913
11914
|
Ne("span", {
|
|
11914
11915
|
class: Wr(`step-num ${j === c.active ? "step-num-active" : j < c.active ? "step-num-greater-than" : ""}`),
|
|
11915
11916
|
onClick: (we) => F(ae, j),
|
|
@@ -11919,7 +11920,7 @@ const Ffe = /* @__PURE__ */ Jr($fe, [["__scopeId", "data-v-1fa0e0e1"]]), tye = I
|
|
|
11919
11920
|
data: { item: ae, index: j }
|
|
11920
11921
|
}, () => [
|
|
11921
11922
|
Qs(
|
|
11922
|
-
|
|
11923
|
+
Ln(j + 1),
|
|
11923
11924
|
1
|
|
11924
11925
|
/* TEXT */
|
|
11925
11926
|
)
|
|
@@ -11933,7 +11934,7 @@ const Ffe = /* @__PURE__ */ Jr($fe, [["__scopeId", "data-v-1fa0e0e1"]]), tye = I
|
|
|
11933
11934
|
cursor: ae && ae.disabled ? "not-allowed" : c.needClick ? "pointer" : "context-menu"
|
|
11934
11935
|
}),
|
|
11935
11936
|
onClick: (we) => F(ae, j)
|
|
11936
|
-
},
|
|
11937
|
+
}, Ln(ae[c.propsField.title]), 15, Vfe)
|
|
11937
11938
|
],
|
|
11938
11939
|
2
|
|
11939
11940
|
/* CLASS */
|
|
@@ -11965,7 +11966,7 @@ const Ffe = /* @__PURE__ */ Jr($fe, [["__scopeId", "data-v-1fa0e0e1"]]), tye = I
|
|
|
11965
11966
|
],
|
|
11966
11967
|
32
|
|
11967
11968
|
/* NEED_HYDRATION */
|
|
11968
|
-
)) :
|
|
11969
|
+
)) : Et("v-if", !0)
|
|
11969
11970
|
])
|
|
11970
11971
|
]);
|
|
11971
11972
|
};
|
|
@@ -12608,10 +12609,7 @@ const Gfe = (c) => c.replace(/=/g, "").replace(/[+\/]/g, (i) => i == "+" ? "-" :
|
|
|
12608
12609
|
const i = c, u = ns(() => i.file ? hu(i.file, i.fields) : i.type);
|
|
12609
12610
|
return (h, y) => u.value === "image" ? (Ce(), Ze("svg", Jfe, sme)) : u.value === "zip" ? (Ce(), Ze("svg", rme, lme)) : u.value === "ppt" ? (Ce(), Ze("svg", cme, fme)) : u.value === "word" ? (Ce(), Ze("svg", mme, pme)) : u.value === "pdf" ? (Ce(), Ze("svg", vme, Cme)) : u.value === "txt" ? (Ce(), Ze("svg", wme, xme)) : u.value === "audio" ? (Ce(), Ze("svg", Eme, Ame)) : u.value === "video" ? (Ce(), Ze("svg", Dme, Mme)) : u.value === "excel" ? (Ce(), Ze("svg", Ime, $me)) : u.value === "exe" ? (Ce(), Ze("svg", Fme, Ume)) : u.value === "json" ? (Ce(), Ze("svg", Wme, qme)) : (Ce(), Ze("svg", Yme, Jme));
|
|
12610
12611
|
}
|
|
12611
|
-
}), ehe = {
|
|
12612
|
-
key: 0,
|
|
12613
|
-
class: "iking-privew-annex"
|
|
12614
|
-
}, the = ["onClick"], nhe = { class: "text" }, ohe = { class: "fileName" }, she = { class: "size" }, rhe = { class: "operator" }, ahe = ["src"], ihe = /* @__PURE__ */ Ho({
|
|
12612
|
+
}), ehe = ["onClick"], the = { class: "text" }, nhe = { class: "fileName" }, ohe = { class: "size" }, she = { class: "flex flex-center" }, rhe = ["src"], ahe = /* @__PURE__ */ Ho({
|
|
12615
12613
|
__name: "IkPreviewFile",
|
|
12616
12614
|
props: {
|
|
12617
12615
|
list: {
|
|
@@ -12675,37 +12673,39 @@ const Gfe = (c) => c.replace(/=/g, "").replace(/[+\/]/g, (i) => i == "+" ? "-" :
|
|
|
12675
12673
|
Lo,
|
|
12676
12674
|
null,
|
|
12677
12675
|
[
|
|
12678
|
-
(U = c.list) != null && U.length ? (Ce(), Ze(
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12676
|
+
(U = c.list) != null && U.length ? (Ce(!0), Ze(
|
|
12677
|
+
Lo,
|
|
12678
|
+
{ key: 0 },
|
|
12679
|
+
Ma(c.list, (re, te) => (Ce(), Ze("div", {
|
|
12680
|
+
class: "iking-privew-annex",
|
|
12681
|
+
key: te
|
|
12682
|
+
}, [
|
|
12683
|
+
Ne("div", {
|
|
12683
12684
|
class: "file-card",
|
|
12684
|
-
key: te,
|
|
12685
12685
|
onClick: ($) => T(re)
|
|
12686
12686
|
}, [
|
|
12687
12687
|
Je(fK, {
|
|
12688
12688
|
file: re,
|
|
12689
12689
|
class: "ikui-w-50 ikui-h-50",
|
|
12690
|
-
|
|
12690
|
+
fields: { name: "attachmentName", url: "attachmentId", suffix: "attachmentSuffix" }
|
|
12691
12691
|
}, null, 8, ["file"]),
|
|
12692
|
-
Ne("div",
|
|
12692
|
+
Ne("div", the, [
|
|
12693
12693
|
Ne(
|
|
12694
12694
|
"div",
|
|
12695
|
-
|
|
12696
|
-
|
|
12695
|
+
nhe,
|
|
12696
|
+
Ln(re[u.value.name]),
|
|
12697
12697
|
1
|
|
12698
12698
|
/* TEXT */
|
|
12699
12699
|
),
|
|
12700
12700
|
Ne(
|
|
12701
12701
|
"div",
|
|
12702
|
-
|
|
12703
|
-
|
|
12702
|
+
ohe,
|
|
12703
|
+
Ln(dt(dse)(re[u.value.size])),
|
|
12704
12704
|
1
|
|
12705
12705
|
/* TEXT */
|
|
12706
12706
|
)
|
|
12707
12707
|
]),
|
|
12708
|
-
Ne("div",
|
|
12708
|
+
Ne("div", she, [
|
|
12709
12709
|
Je(dt(Ea), {
|
|
12710
12710
|
name: "iksvg_daochu",
|
|
12711
12711
|
onClick: Eh(($) => A(re), ["stop"]),
|
|
@@ -12718,11 +12718,11 @@ const Gfe = (c) => c.replace(/=/g, "").replace(/[+\/]/g, (i) => i == "+" ? "-" :
|
|
|
12718
12718
|
size: "default"
|
|
12719
12719
|
})
|
|
12720
12720
|
])
|
|
12721
|
-
], 8,
|
|
12722
|
-
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
|
|
12721
|
+
], 8, ehe)
|
|
12722
|
+
]))),
|
|
12723
|
+
128
|
|
12724
|
+
/* KEYED_FRAGMENT */
|
|
12725
|
+
)) : Et("v-if", !0),
|
|
12726
12726
|
Je(dt(Q$), {
|
|
12727
12727
|
fullscreen: "",
|
|
12728
12728
|
modelValue: _.show,
|
|
@@ -12743,7 +12743,7 @@ const Gfe = (c) => c.replace(/=/g, "").replace(/[+\/]/g, (i) => i == "+" ? "-" :
|
|
|
12743
12743
|
frameborder: "0",
|
|
12744
12744
|
allowfullscreen: "",
|
|
12745
12745
|
seamless: ""
|
|
12746
|
-
}, null, 8,
|
|
12746
|
+
}, null, 8, rhe)) : Et("v-if", !0)
|
|
12747
12747
|
]),
|
|
12748
12748
|
_: 1
|
|
12749
12749
|
/* STABLE */
|
|
@@ -12755,7 +12755,7 @@ const Gfe = (c) => c.replace(/=/g, "").replace(/[+\/]/g, (i) => i == "+" ? "-" :
|
|
|
12755
12755
|
};
|
|
12756
12756
|
}
|
|
12757
12757
|
});
|
|
12758
|
-
const
|
|
12758
|
+
const ihe = Ia(ahe), lhe = ["src"], che = /* @__PURE__ */ Ho({
|
|
12759
12759
|
__name: "IkPreviewFileDialog",
|
|
12760
12760
|
props: {
|
|
12761
12761
|
modelValue: {
|
|
@@ -12816,17 +12816,20 @@ const lhe = Ia(ihe), che = ["src"], uhe = /* @__PURE__ */ Ho({
|
|
|
12816
12816
|
frameborder: "0",
|
|
12817
12817
|
allowfullscreen: "",
|
|
12818
12818
|
seamless: ""
|
|
12819
|
-
}, null, 8,
|
|
12819
|
+
}, null, 8, lhe)) : Et("v-if", !0)
|
|
12820
12820
|
]),
|
|
12821
12821
|
_: 1
|
|
12822
12822
|
/* STABLE */
|
|
12823
12823
|
}, 8, ["modelValue"]));
|
|
12824
12824
|
}
|
|
12825
12825
|
});
|
|
12826
|
-
const
|
|
12826
|
+
const uhe = Ia(che), dhe = { class: "ik-flie-list" }, fhe = { class: "name" }, mhe = { key: 1 }, hhe = ["src"], ghe = { class: "file-icon" }, phe = { class: "file-name-loading" }, vhe = { class: "file-name" }, bhe = { key: 0 }, yhe = {
|
|
12827
12827
|
key: 0,
|
|
12828
12828
|
class: "file-size"
|
|
12829
|
-
},
|
|
12829
|
+
}, Che = { class: "name" }, whe = { class: "file-name-loading" }, She = { class: "file-name" }, _he = { class: "file-size" }, xhe = { class: "operate-btn" }, Ehe = { class: "card" }, khe = { class: "title" }, The = {
|
|
12830
|
+
key: 0,
|
|
12831
|
+
class: "tip"
|
|
12832
|
+
}, Ahe = { class: "ik-flie-list" }, Dhe = { class: "name" }, Ohe = { key: 1 }, Rhe = ["src"], Mhe = { class: "file-icon" }, Ihe = { class: "file-name-loading" }, Nhe = { class: "file-name" }, Phe = { key: 0 }, Bhe = {
|
|
12830
12833
|
key: 0,
|
|
12831
12834
|
class: "file-size"
|
|
12832
12835
|
}, $he = { key: 0 }, Fhe = /* @__PURE__ */ Ho({
|
|
@@ -13005,7 +13008,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13005
13008
|
Lo,
|
|
13006
13009
|
null,
|
|
13007
13010
|
[
|
|
13008
|
-
c.preview ?
|
|
13011
|
+
c.preview ? Et("v-if", !0) : (Ce(), Ze(
|
|
13009
13012
|
Lo,
|
|
13010
13013
|
{ key: 0 },
|
|
13011
13014
|
[
|
|
@@ -13033,12 +13036,12 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13033
13036
|
Ae.$slots.trigger ? si(Ae.$slots, "trigger", { key: 0 }, void 0, !0) : (Ce(), no(dt(Pp), {
|
|
13034
13037
|
key: 1,
|
|
13035
13038
|
type: "primary",
|
|
13036
|
-
disabled: y.value.length
|
|
13039
|
+
disabled: y.value.length >= c.limit,
|
|
13037
13040
|
icon: dt(Hoe)
|
|
13038
13041
|
}, {
|
|
13039
13042
|
default: Vt(() => [
|
|
13040
13043
|
Qs(
|
|
13041
|
-
|
|
13044
|
+
Ln(c.title),
|
|
13042
13045
|
1
|
|
13043
13046
|
/* TEXT */
|
|
13044
13047
|
)
|
|
@@ -13048,18 +13051,18 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13048
13051
|
}, 8, ["disabled", "icon"]))
|
|
13049
13052
|
]),
|
|
13050
13053
|
file: Vt(({ file: B }) => [
|
|
13051
|
-
Ne("div",
|
|
13052
|
-
Ne("div",
|
|
13054
|
+
Ne("div", dhe, [
|
|
13055
|
+
Ne("div", fhe, [
|
|
13053
13056
|
!Ae.$slots.fileIcon && (!c.customIconData[dt(hu)(B, T)] || !c.customIconData[dt(hu)(B, T)][c.customIconFields.icon]) ? (Ce(), no(fK, {
|
|
13054
13057
|
key: 0,
|
|
13055
13058
|
type: dt(hu)(B, T)
|
|
13056
|
-
}, null, 8, ["type"])) : !Ae.$slots.fileIcon && c.customIconData[dt(hu)(B, T)] && c.customIconData[dt(hu)(B, T)][c.customIconFields.icon] ? (Ce(), Ze("div",
|
|
13059
|
+
}, null, 8, ["type"])) : !Ae.$slots.fileIcon && c.customIconData[dt(hu)(B, T)] && c.customIconData[dt(hu)(B, T)][c.customIconFields.icon] ? (Ce(), Ze("div", mhe, [
|
|
13057
13060
|
c.customIconData[dt(hu)(B, T)][c.customIconFields.type] === "img" ? (Ce(), Ze("img", {
|
|
13058
13061
|
key: 0,
|
|
13059
13062
|
src: c.customIconData[dt(hu)(B, T)][c.customIconFields.icon],
|
|
13060
13063
|
alt: "",
|
|
13061
13064
|
class: "file-img-icon"
|
|
13062
|
-
}, null, 8,
|
|
13065
|
+
}, null, 8, hhe)) : (Ce(), Ze(
|
|
13063
13066
|
"span",
|
|
13064
13067
|
{
|
|
13065
13068
|
key: 1,
|
|
@@ -13072,32 +13075,32 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13072
13075
|
2
|
|
13073
13076
|
/* CLASS */
|
|
13074
13077
|
))
|
|
13075
|
-
])) :
|
|
13076
|
-
Ne("div",
|
|
13078
|
+
])) : Et("v-if", !0),
|
|
13079
|
+
Ne("div", ghe, [
|
|
13077
13080
|
si(Ae.$slots, "fileIcon", { file: B }, void 0, !0)
|
|
13078
13081
|
]),
|
|
13079
|
-
Ne("div",
|
|
13080
|
-
Ne("p",
|
|
13082
|
+
Ne("div", phe, [
|
|
13083
|
+
Ne("p", vhe, [
|
|
13081
13084
|
Qs(
|
|
13082
|
-
|
|
13085
|
+
Ln(B[T.name] || B.name) + " ",
|
|
13083
13086
|
1
|
|
13084
13087
|
/* TEXT */
|
|
13085
13088
|
),
|
|
13086
13089
|
B.percentage && B.percentage !== 100 ? (Ce(), Ze(
|
|
13087
13090
|
"span",
|
|
13088
|
-
|
|
13089
|
-
"(" +
|
|
13091
|
+
bhe,
|
|
13092
|
+
"(" + Ln(B.percentage) + "%)",
|
|
13090
13093
|
1
|
|
13091
13094
|
/* TEXT */
|
|
13092
|
-
)) :
|
|
13095
|
+
)) : Et("v-if", !0)
|
|
13093
13096
|
]),
|
|
13094
13097
|
B.percentage === 100 ? (Ce(), Ze(
|
|
13095
13098
|
"p",
|
|
13096
|
-
|
|
13097
|
-
|
|
13099
|
+
yhe,
|
|
13100
|
+
Ln(dt(EY)(B.size / 1024 / 1024)) + "MB ",
|
|
13098
13101
|
1
|
|
13099
13102
|
/* TEXT */
|
|
13100
|
-
)) :
|
|
13103
|
+
)) : Et("v-if", !0),
|
|
13101
13104
|
B.percentage && B.percentage !== 100 ? (Ce(), no(dt(IQ), {
|
|
13102
13105
|
key: 1,
|
|
13103
13106
|
"text-inside": "",
|
|
@@ -13106,7 +13109,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13106
13109
|
"striped-flow": "",
|
|
13107
13110
|
striped: "",
|
|
13108
13111
|
"show-text": !1
|
|
13109
|
-
}, null, 8, ["percentage"])) :
|
|
13112
|
+
}, null, 8, ["percentage"])) : Et("v-if", !0)
|
|
13110
13113
|
])
|
|
13111
13114
|
]),
|
|
13112
13115
|
Ne("div", null, [
|
|
@@ -13167,7 +13170,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13167
13170
|
]),
|
|
13168
13171
|
_: 1
|
|
13169
13172
|
/* STABLE */
|
|
13170
|
-
}, 8, ["content"])) :
|
|
13173
|
+
}, 8, ["content"])) : Et("v-if", !0),
|
|
13171
13174
|
(B = U.value) != null && B.length ? (Ce(!0), Ze(
|
|
13172
13175
|
Lo,
|
|
13173
13176
|
{ key: 1 },
|
|
@@ -13175,7 +13178,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13175
13178
|
class: "ik-error-flie-list",
|
|
13176
13179
|
key: Gn.uid
|
|
13177
13180
|
}, [
|
|
13178
|
-
Ne("div",
|
|
13181
|
+
Ne("div", Che, [
|
|
13179
13182
|
Je(dt(gu), {
|
|
13180
13183
|
size: 32,
|
|
13181
13184
|
class: "info",
|
|
@@ -13187,18 +13190,18 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13187
13190
|
_: 1
|
|
13188
13191
|
/* STABLE */
|
|
13189
13192
|
}),
|
|
13190
|
-
Ne("div",
|
|
13193
|
+
Ne("div", whe, [
|
|
13191
13194
|
Ne(
|
|
13192
13195
|
"p",
|
|
13193
|
-
|
|
13194
|
-
|
|
13196
|
+
She,
|
|
13197
|
+
Ln(Gn[T.name] || Gn.name),
|
|
13195
13198
|
1
|
|
13196
13199
|
/* TEXT */
|
|
13197
13200
|
),
|
|
13198
13201
|
Ne(
|
|
13199
13202
|
"p",
|
|
13200
|
-
|
|
13201
|
-
|
|
13203
|
+
_he,
|
|
13204
|
+
Ln(dt(EY)(Gn.size / 1024 / 1024)) + "MB ",
|
|
13202
13205
|
1
|
|
13203
13206
|
/* TEXT */
|
|
13204
13207
|
)
|
|
@@ -13206,7 +13209,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13206
13209
|
]),
|
|
13207
13210
|
kh(Ne(
|
|
13208
13211
|
"div",
|
|
13209
|
-
|
|
13212
|
+
xhe,
|
|
13210
13213
|
[
|
|
13211
13214
|
Je(dt(gu), {
|
|
13212
13215
|
style: { "vertical-align": "middle" },
|
|
@@ -13240,7 +13243,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13240
13243
|
]))),
|
|
13241
13244
|
128
|
|
13242
13245
|
/* KEYED_FRAGMENT */
|
|
13243
|
-
)) :
|
|
13246
|
+
)) : Et("v-if", !0)
|
|
13244
13247
|
];
|
|
13245
13248
|
}),
|
|
13246
13249
|
_: 3
|
|
@@ -13253,6 +13256,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13253
13256
|
}, Ae.$attrs, {
|
|
13254
13257
|
accept: c.accept,
|
|
13255
13258
|
action: c.action,
|
|
13259
|
+
disabled: y.value.length >= c.limit,
|
|
13256
13260
|
ref_key: "refUpload",
|
|
13257
13261
|
ref: F,
|
|
13258
13262
|
"on-change": Ae.handleChange,
|
|
@@ -13290,32 +13294,32 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13290
13294
|
2
|
|
13291
13295
|
/* CLASS */
|
|
13292
13296
|
))
|
|
13293
|
-
])) :
|
|
13297
|
+
])) : Et("v-if", !0),
|
|
13294
13298
|
Ne("div", Mhe, [
|
|
13295
13299
|
si(Ae.$slots, "fileIcon", { file: B }, void 0, !0)
|
|
13296
13300
|
]),
|
|
13297
13301
|
Ne("div", Ihe, [
|
|
13298
13302
|
Ne("p", Nhe, [
|
|
13299
13303
|
Qs(
|
|
13300
|
-
|
|
13304
|
+
Ln(B[T.name] || B.name) + " ",
|
|
13301
13305
|
1
|
|
13302
13306
|
/* TEXT */
|
|
13303
13307
|
),
|
|
13304
13308
|
B.percentage && B.percentage !== 100 ? (Ce(), Ze(
|
|
13305
13309
|
"span",
|
|
13306
13310
|
Phe,
|
|
13307
|
-
"(" +
|
|
13311
|
+
"(" + Ln(B.percentage) + "%)",
|
|
13308
13312
|
1
|
|
13309
13313
|
/* TEXT */
|
|
13310
|
-
)) :
|
|
13314
|
+
)) : Et("v-if", !0)
|
|
13311
13315
|
]),
|
|
13312
13316
|
B.percentage === 100 ? (Ce(), Ze(
|
|
13313
13317
|
"p",
|
|
13314
13318
|
Bhe,
|
|
13315
|
-
|
|
13319
|
+
Ln(dt(EY)(B.size / 1024 / 1024)) + "MB ",
|
|
13316
13320
|
1
|
|
13317
13321
|
/* TEXT */
|
|
13318
|
-
)) :
|
|
13322
|
+
)) : Et("v-if", !0),
|
|
13319
13323
|
B.percentage && B.percentage !== 100 ? (Ce(), no(dt(IQ), {
|
|
13320
13324
|
key: 1,
|
|
13321
13325
|
"text-inside": "",
|
|
@@ -13324,7 +13328,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13324
13328
|
"striped-flow": "",
|
|
13325
13329
|
striped: "",
|
|
13326
13330
|
"show-text": !1
|
|
13327
|
-
}, null, 8, ["percentage"])) :
|
|
13331
|
+
}, null, 8, ["percentage"])) : Et("v-if", !0)
|
|
13328
13332
|
])
|
|
13329
13333
|
]),
|
|
13330
13334
|
c.preview ? (Ce(), Ze(
|
|
@@ -13349,7 +13353,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13349
13353
|
},
|
|
13350
13354
|
1024
|
|
13351
13355
|
/* DYNAMIC_SLOTS */
|
|
13352
|
-
)) :
|
|
13356
|
+
)) : Et("v-if", !0),
|
|
13353
13357
|
Je(
|
|
13354
13358
|
dt(gu),
|
|
13355
13359
|
{
|
|
@@ -13407,21 +13411,28 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13407
13411
|
])
|
|
13408
13412
|
]),
|
|
13409
13413
|
default: Vt(() => [
|
|
13410
|
-
Ne("div",
|
|
13411
|
-
Ne("div",
|
|
13414
|
+
Ne("div", Ehe, [
|
|
13415
|
+
Ne("div", khe, [
|
|
13412
13416
|
Je(dt(Ea), {
|
|
13413
13417
|
name: "iksvg_img_shangchuanhetongfujianbeifen",
|
|
13414
13418
|
type: "primary",
|
|
13415
13419
|
bg: "",
|
|
13416
13420
|
size: 40
|
|
13417
13421
|
}),
|
|
13418
|
-
Ne(
|
|
13419
|
-
|
|
13420
|
-
|
|
13421
|
-
|
|
13422
|
-
|
|
13423
|
-
|
|
13424
|
-
|
|
13422
|
+
Ne("span", null, [
|
|
13423
|
+
Qs(
|
|
13424
|
+
Ln(c.title) + " ",
|
|
13425
|
+
1
|
|
13426
|
+
/* TEXT */
|
|
13427
|
+
),
|
|
13428
|
+
y.value.length >= c.limit ? (Ce(), Ze(
|
|
13429
|
+
"span",
|
|
13430
|
+
The,
|
|
13431
|
+
"已达到上传最大文件数量限制(" + Ln(c.limit) + "个)",
|
|
13432
|
+
1
|
|
13433
|
+
/* TEXT */
|
|
13434
|
+
)) : Et("v-if", !0)
|
|
13435
|
+
])
|
|
13425
13436
|
]),
|
|
13426
13437
|
Je(dt(Ea), {
|
|
13427
13438
|
name: "iksvg_daoru",
|
|
@@ -13433,12 +13444,12 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13433
13444
|
]),
|
|
13434
13445
|
_: 3
|
|
13435
13446
|
/* FORWARDED */
|
|
13436
|
-
}, 16, ["file-list", "accept", "action", "on-change", "multiple", "headers", "limit"]))
|
|
13447
|
+
}, 16, ["file-list", "accept", "action", "disabled", "on-change", "multiple", "headers", "limit"]))
|
|
13437
13448
|
],
|
|
13438
13449
|
64
|
|
13439
13450
|
/* STABLE_FRAGMENT */
|
|
13440
13451
|
)),
|
|
13441
|
-
Je(dt(
|
|
13452
|
+
Je(dt(uhe), {
|
|
13442
13453
|
modelValue: re.value,
|
|
13443
13454
|
"onUpdate:modelValue": Qe[2] || (Qe[2] = (B) => re.value = B),
|
|
13444
13455
|
"load-url": c.loadUrl,
|
|
@@ -13452,7 +13463,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13452
13463
|
ref_key: "previewImgRef",
|
|
13453
13464
|
ref: Z,
|
|
13454
13465
|
"url-list": [(Zt = $.value) == null ? void 0 : Zt.url]
|
|
13455
|
-
}, null, 8, ["url-list"])) :
|
|
13466
|
+
}, null, 8, ["url-list"])) : Et("v-if", !0)
|
|
13456
13467
|
],
|
|
13457
13468
|
64
|
|
13458
13469
|
/* STABLE_FRAGMENT */
|
|
@@ -13460,7 +13471,7 @@ const dhe = Ia(uhe), fhe = { class: "ik-flie-list" }, mhe = { class: "name" }, h
|
|
|
13460
13471
|
};
|
|
13461
13472
|
}
|
|
13462
13473
|
});
|
|
13463
|
-
const Lhe = /* @__PURE__ */ Jr(Fhe, [["__scopeId", "data-v-
|
|
13474
|
+
const Lhe = /* @__PURE__ */ Jr(Fhe, [["__scopeId", "data-v-67b5cebe"]]), oye = Ia(Lhe), Hhe = {}, zhe = {
|
|
13464
13475
|
t: "1686214149488",
|
|
13465
13476
|
class: "icon",
|
|
13466
13477
|
viewBox: "0 0 1024 1024",
|
|
@@ -13554,7 +13565,7 @@ const Lhe = /* @__PURE__ */ Jr(Fhe, [["__scopeId", "data-v-3f17754e"]]), oye = I
|
|
|
13554
13565
|
function Xhe(c, i) {
|
|
13555
13566
|
return Ce(), Ze("svg", zhe, Khe);
|
|
13556
13567
|
}
|
|
13557
|
-
const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v-
|
|
13568
|
+
const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v-038e6320"), c = c(), vb(), c), Jhe = {
|
|
13558
13569
|
key: 1,
|
|
13559
13570
|
class: "upload-btn"
|
|
13560
13571
|
}, ege = { class: "tip" }, tge = { class: "loading-statu" }, nge = { class: "operate-btn" }, oge = { key: 0 }, sge = {
|
|
@@ -13689,7 +13700,7 @@ const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v
|
|
|
13689
13700
|
Ae.status !== "success" && Ft(Ae), h.value = h.value.filter((Qe) => Qe.uid !== Ae.uid), _("delete", Ae);
|
|
13690
13701
|
}, X = (Ae, Qe) => {
|
|
13691
13702
|
F.value.splice(Qe, 1);
|
|
13692
|
-
}, Ie = ns(() =>
|
|
13703
|
+
}, Ie = ns(() => h.value.length + F.value.length < u.limit);
|
|
13693
13704
|
return (Ae, Qe) => (Ce(), Ze(
|
|
13694
13705
|
Lo,
|
|
13695
13706
|
null,
|
|
@@ -13727,7 +13738,7 @@ const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v
|
|
|
13727
13738
|
Ne(
|
|
13728
13739
|
"span",
|
|
13729
13740
|
null,
|
|
13730
|
-
|
|
13741
|
+
Ln(c.title),
|
|
13731
13742
|
1
|
|
13732
13743
|
/* TEXT */
|
|
13733
13744
|
)
|
|
@@ -13747,7 +13758,7 @@ const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v
|
|
|
13747
13758
|
[
|
|
13748
13759
|
Je(Qhe),
|
|
13749
13760
|
Qs(
|
|
13750
|
-
" 上传" +
|
|
13761
|
+
" 上传" + Ln(Fe.percentage) + "% ",
|
|
13751
13762
|
1
|
|
13752
13763
|
/* TEXT */
|
|
13753
13764
|
)
|
|
@@ -13757,7 +13768,7 @@ const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v
|
|
|
13757
13768
|
), [
|
|
13758
13769
|
[JD, Fe.status === "uploading"]
|
|
13759
13770
|
]),
|
|
13760
|
-
|
|
13771
|
+
Et(` <img :src="file.url" alt="" :style="{ 'object-fit': fit }" /> `),
|
|
13761
13772
|
Je(dt(toe), {
|
|
13762
13773
|
style: { width: "100%", height: "100%" },
|
|
13763
13774
|
src: Fe.__url || Fe.url,
|
|
@@ -13788,7 +13799,7 @@ const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v
|
|
|
13788
13799
|
/* DYNAMIC */
|
|
13789
13800
|
}, 1032, ["onClick"])
|
|
13790
13801
|
]),
|
|
13791
|
-
c.preview ?
|
|
13802
|
+
c.preview ? Et("v-if", !0) : (Ce(), Ze("span", oge, [
|
|
13792
13803
|
Je(dt(gu), {
|
|
13793
13804
|
type: "warning",
|
|
13794
13805
|
onClick: (pe) => je(Fe)
|
|
@@ -13876,7 +13887,7 @@ const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v
|
|
|
13876
13887
|
Ne(
|
|
13877
13888
|
"span",
|
|
13878
13889
|
ege,
|
|
13879
|
-
|
|
13890
|
+
Ln(re.value),
|
|
13880
13891
|
1
|
|
13881
13892
|
/* TEXT */
|
|
13882
13893
|
)
|
|
@@ -13884,7 +13895,7 @@ const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v
|
|
|
13884
13895
|
key: "0"
|
|
13885
13896
|
} : void 0
|
|
13886
13897
|
]), 1032, ["class", "accept", "action", "headers", "data", "file-list", "multiple", "limit"]),
|
|
13887
|
-
|
|
13898
|
+
Et(" 文件预览 "),
|
|
13888
13899
|
Ne("div", cge, [
|
|
13889
13900
|
Z.value ? (Ce(), no(dt(noe), {
|
|
13890
13901
|
key: 0,
|
|
@@ -13895,7 +13906,7 @@ const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v
|
|
|
13895
13906
|
}),
|
|
13896
13907
|
"url-list": y(Ae.fileList).map((Fe) => Fe.__url),
|
|
13897
13908
|
"initial-index": U.value
|
|
13898
|
-
}, null, 8, ["url-list", "initial-index"])) :
|
|
13909
|
+
}, null, 8, ["url-list", "initial-index"])) : Et("v-if", !0)
|
|
13899
13910
|
])
|
|
13900
13911
|
],
|
|
13901
13912
|
64
|
|
@@ -13903,7 +13914,7 @@ const Qhe = /* @__PURE__ */ Jr(Hhe, [["render", Xhe]]), _ne = (c) => (pb("data-v
|
|
|
13903
13914
|
));
|
|
13904
13915
|
}
|
|
13905
13916
|
});
|
|
13906
|
-
const dge = /* @__PURE__ */ Jr(uge, [["__scopeId", "data-v-
|
|
13917
|
+
const dge = /* @__PURE__ */ Jr(uge, [["__scopeId", "data-v-038e6320"]]), sye = Ia(dge), fge = ["src"], mge = {
|
|
13907
13918
|
name: "IkPrintConfig"
|
|
13908
13919
|
}, hge = /* @__PURE__ */ Ho({
|
|
13909
13920
|
...mge,
|
|
@@ -13949,7 +13960,7 @@ const dge = /* @__PURE__ */ Jr(uge, [["__scopeId", "data-v-add26920"]]), sye = I
|
|
|
13949
13960
|
height: "100%",
|
|
13950
13961
|
src: _.src,
|
|
13951
13962
|
frameborder: "0"
|
|
13952
|
-
}, null, 8, fge)) :
|
|
13963
|
+
}, null, 8, fge)) : Et("v-if", !0);
|
|
13953
13964
|
}
|
|
13954
13965
|
}), rye = Ia(hge), gge = ["src"], pge = {
|
|
13955
13966
|
name: "IkPrintView"
|
|
@@ -14005,7 +14016,7 @@ const dge = /* @__PURE__ */ Jr(uge, [["__scopeId", "data-v-add26920"]]), sye = I
|
|
|
14005
14016
|
height: "100%",
|
|
14006
14017
|
src: _.src,
|
|
14007
14018
|
frameborder: "0"
|
|
14008
|
-
}, null, 8, gge)) :
|
|
14019
|
+
}, null, 8, gge)) : Et("v-if", !0)
|
|
14009
14020
|
],
|
|
14010
14021
|
4
|
|
14011
14022
|
/* STYLE */
|
|
@@ -14135,9 +14146,9 @@ const dge = /* @__PURE__ */ Jr(uge, [["__scopeId", "data-v-add26920"]]), sye = I
|
|
|
14135
14146
|
content: Vt(() => {
|
|
14136
14147
|
var X, Ie;
|
|
14137
14148
|
return [
|
|
14138
|
-
|
|
14149
|
+
Et(" {{arg}} "),
|
|
14139
14150
|
Qs(
|
|
14140
|
-
" " +
|
|
14151
|
+
" " + Ln((Ie = (X = je.event) == null ? void 0 : X.extendedProps) == null ? void 0 : Ie[h.tooltipFieldName]),
|
|
14141
14152
|
1
|
|
14142
14153
|
/* TEXT */
|
|
14143
14154
|
)
|
|
@@ -14145,11 +14156,11 @@ const dge = /* @__PURE__ */ Jr(uge, [["__scopeId", "data-v-add26920"]]), sye = I
|
|
|
14145
14156
|
}),
|
|
14146
14157
|
default: Vt(() => [
|
|
14147
14158
|
je.event.allDay ? (Ce(), Ze("span", Cge, [
|
|
14148
|
-
F.value === "dayGridMonth" ? (Ce(), Ze("span", wge,
|
|
14159
|
+
F.value === "dayGridMonth" ? (Ce(), Ze("span", wge, Ln("(全天)"))) : Et("v-if", !0),
|
|
14149
14160
|
Ne(
|
|
14150
14161
|
"span",
|
|
14151
14162
|
null,
|
|
14152
|
-
|
|
14163
|
+
Ln(je.event.title),
|
|
14153
14164
|
1
|
|
14154
14165
|
/* TEXT */
|
|
14155
14166
|
)
|
|
@@ -14157,14 +14168,14 @@ const dge = /* @__PURE__ */ Jr(uge, [["__scopeId", "data-v-add26920"]]), sye = I
|
|
|
14157
14168
|
Ne(
|
|
14158
14169
|
"span",
|
|
14159
14170
|
_ge,
|
|
14160
|
-
|
|
14171
|
+
Ln(dt(qc).toDateTime(je.event.startStr, "HH:mm")),
|
|
14161
14172
|
1
|
|
14162
14173
|
/* TEXT */
|
|
14163
14174
|
),
|
|
14164
14175
|
Ne(
|
|
14165
14176
|
"span",
|
|
14166
14177
|
xge,
|
|
14167
|
-
|
|
14178
|
+
Ln(je.event.title),
|
|
14168
14179
|
1
|
|
14169
14180
|
/* TEXT */
|
|
14170
14181
|
)
|
|
@@ -14186,7 +14197,7 @@ const dge = /* @__PURE__ */ Jr(uge, [["__scopeId", "data-v-add26920"]]), sye = I
|
|
|
14186
14197
|
]),
|
|
14187
14198
|
_: 2
|
|
14188
14199
|
/* DYNAMIC */
|
|
14189
|
-
}, 1032, ["onClick"])) :
|
|
14200
|
+
}, 1032, ["onClick"])) : Et("v-if", !0)
|
|
14190
14201
|
], 8, yge)
|
|
14191
14202
|
]),
|
|
14192
14203
|
_: 1
|
|
@@ -14301,7 +14312,7 @@ const Age = Ia(Tge), Dge = { class: "ik-svg-icon ik-icon inline-block inline-fle
|
|
|
14301
14312
|
style: Rl(h.value)
|
|
14302
14313
|
},
|
|
14303
14314
|
[
|
|
14304
|
-
|
|
14315
|
+
Et(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
14305
14316
|
u.value === "iksig" ? (Ce(), Ze(
|
|
14306
14317
|
"i",
|
|
14307
14318
|
{
|
|
@@ -14320,7 +14331,7 @@ const Age = Ia(Tge), Dge = { class: "ik-svg-icon ik-icon inline-block inline-fle
|
|
|
14320
14331
|
key: 2,
|
|
14321
14332
|
src: y.name,
|
|
14322
14333
|
class: "h-[1em] w-[1em]"
|
|
14323
|
-
}, null, 8, Mge)) :
|
|
14334
|
+
}, null, 8, Mge)) : Et("v-if", !0)
|
|
14324
14335
|
],
|
|
14325
14336
|
6
|
|
14326
14337
|
/* CLASS, STYLE */
|
|
@@ -14364,7 +14375,7 @@ const Age = Ia(Tge), Dge = { class: "ik-svg-icon ik-icon inline-block inline-fle
|
|
|
14364
14375
|
key: 2,
|
|
14365
14376
|
src: y.name,
|
|
14366
14377
|
class: "h-[1em] w-[1em]"
|
|
14367
|
-
}, null, 8, Pge)) :
|
|
14378
|
+
}, null, 8, Pge)) : Et("v-if", !0)
|
|
14368
14379
|
],
|
|
14369
14380
|
6
|
|
14370
14381
|
/* CLASS, STYLE */
|
|
@@ -14633,7 +14644,7 @@ const Age = Ia(Tge), Dge = { class: "ik-svg-icon ik-icon inline-block inline-fle
|
|
|
14633
14644
|
Ne(
|
|
14634
14645
|
"span",
|
|
14635
14646
|
Hge,
|
|
14636
|
-
|
|
14647
|
+
Ln(F.viewTitle),
|
|
14637
14648
|
1
|
|
14638
14649
|
/* TEXT */
|
|
14639
14650
|
),
|
|
@@ -14696,7 +14707,7 @@ const Age = Ia(Tge), Dge = { class: "ik-svg-icon ik-icon inline-block inline-fle
|
|
|
14696
14707
|
}, null, 8, ["removable", "options", "modelValue"])
|
|
14697
14708
|
])
|
|
14698
14709
|
]),
|
|
14699
|
-
|
|
14710
|
+
Et(" 新建/修改对话框 "),
|
|
14700
14711
|
Je(xn, {
|
|
14701
14712
|
width: "700px",
|
|
14702
14713
|
modelValue: j.value,
|
|
@@ -14707,7 +14718,7 @@ const Age = Ia(Tge), Dge = { class: "ik-svg-icon ik-icon inline-block inline-fle
|
|
|
14707
14718
|
Ne(
|
|
14708
14719
|
"span",
|
|
14709
14720
|
Uge,
|
|
14710
|
-
|
|
14721
|
+
Ln(ae.title),
|
|
14711
14722
|
1
|
|
14712
14723
|
/* TEXT */
|
|
14713
14724
|
),
|
|
@@ -14723,7 +14734,7 @@ const Age = Ia(Tge), Dge = { class: "ik-svg-icon ik-icon inline-block inline-fle
|
|
|
14723
14734
|
name: "iksvg_xiugai",
|
|
14724
14735
|
onClick: Se.edit
|
|
14725
14736
|
}, null, 8, ["onClick"]))
|
|
14726
|
-
])) :
|
|
14737
|
+
])) : Et("v-if", !0)
|
|
14727
14738
|
])
|
|
14728
14739
|
]),
|
|
14729
14740
|
footer: Vt(() => [
|
|
@@ -14930,7 +14941,7 @@ const Jge = /* @__PURE__ */ Jr(Qge, [["__scopeId", "data-v-e308f501"]]), cye = I
|
|
|
14930
14941
|
Lo,
|
|
14931
14942
|
null,
|
|
14932
14943
|
[
|
|
14933
|
-
|
|
14944
|
+
Et(' <div class="flex-1 contents"> '),
|
|
14934
14945
|
Je(U, {
|
|
14935
14946
|
modelValue: y.value,
|
|
14936
14947
|
"onUpdate:modelValue": F[0] || (F[0] = (re) => y.value = re),
|
|
@@ -14953,13 +14964,13 @@ const Jge = /* @__PURE__ */ Jr(Qge, [["__scopeId", "data-v-e308f501"]]), cye = I
|
|
|
14953
14964
|
Ne(
|
|
14954
14965
|
"span",
|
|
14955
14966
|
null,
|
|
14956
|
-
|
|
14967
|
+
Ln(re.label),
|
|
14957
14968
|
1
|
|
14958
14969
|
/* TEXT */
|
|
14959
14970
|
)
|
|
14960
14971
|
]),
|
|
14961
14972
|
default: Vt(() => [
|
|
14962
|
-
!A.$slots.default && !_.value.get(re.id) && !c.split ? si(A.$slots, re.id, { key: 0 }, void 0, !0) :
|
|
14973
|
+
!A.$slots.default && !_.value.get(re.id) && !c.split ? si(A.$slots, re.id, { key: 0 }, void 0, !0) : Et("v-if", !0)
|
|
14963
14974
|
]),
|
|
14964
14975
|
_: 2
|
|
14965
14976
|
/* DYNAMIC */
|
|
@@ -14967,8 +14978,8 @@ const Jge = /* @__PURE__ */ Jr(Qge, [["__scopeId", "data-v-e308f501"]]), cye = I
|
|
|
14967
14978
|
128
|
|
14968
14979
|
/* KEYED_FRAGMENT */
|
|
14969
14980
|
)),
|
|
14970
|
-
|
|
14971
|
-
A.$slots.default && c.defaultSlot && !c.split ? si(A.$slots, "default", { key: 0 }, void 0, !0) :
|
|
14981
|
+
Et(" 当存在默认slot且需要展示默认slot时 "),
|
|
14982
|
+
A.$slots.default && c.defaultSlot && !c.split ? si(A.$slots, "default", { key: 0 }, void 0, !0) : Et("v-if", !0)
|
|
14972
14983
|
]),
|
|
14973
14984
|
_: 3
|
|
14974
14985
|
/* FORWARDED */
|
|
@@ -14981,7 +14992,7 @@ const Jge = /* @__PURE__ */ Jr(Qge, [["__scopeId", "data-v-e308f501"]]), cye = I
|
|
|
14981
14992
|
Lo,
|
|
14982
14993
|
null,
|
|
14983
14994
|
[
|
|
14984
|
-
!A.$slots.default && !_.value.get(re.id) ? si(A.$slots, re.id, { key: 0 }, void 0, !0) :
|
|
14995
|
+
!A.$slots.default && !_.value.get(re.id) ? si(A.$slots, re.id, { key: 0 }, void 0, !0) : Et("v-if", !0)
|
|
14985
14996
|
],
|
|
14986
14997
|
64
|
|
14987
14998
|
/* STABLE_FRAGMENT */
|
|
@@ -14989,9 +15000,9 @@ const Jge = /* @__PURE__ */ Jr(Qge, [["__scopeId", "data-v-e308f501"]]), cye = I
|
|
|
14989
15000
|
256
|
|
14990
15001
|
/* UNKEYED_FRAGMENT */
|
|
14991
15002
|
)),
|
|
14992
|
-
A.$slots.default && c.defaultSlot ? si(A.$slots, "default", { key: 0 }, void 0, !0) :
|
|
14993
|
-
])) :
|
|
14994
|
-
|
|
15003
|
+
A.$slots.default && c.defaultSlot ? si(A.$slots, "default", { key: 0 }, void 0, !0) : Et("v-if", !0)
|
|
15004
|
+
])) : Et("v-if", !0),
|
|
15005
|
+
Et(" </div> ")
|
|
14995
15006
|
],
|
|
14996
15007
|
64
|
|
14997
15008
|
/* STABLE_FRAGMENT */
|
|
@@ -15592,19 +15603,19 @@ const ope = /* @__PURE__ */ Ho({
|
|
|
15592
15603
|
},
|
|
15593
15604
|
[
|
|
15594
15605
|
Ne("div", rpe, [
|
|
15595
|
-
|
|
15606
|
+
Et(' 左侧标题、tab页或自定义内容 v-if="!$slots.headerLeft" '),
|
|
15596
15607
|
Ne(
|
|
15597
15608
|
"span",
|
|
15598
15609
|
ape,
|
|
15599
|
-
|
|
15610
|
+
Ln(c.headerTitle),
|
|
15600
15611
|
1
|
|
15601
15612
|
/* TEXT */
|
|
15602
15613
|
),
|
|
15603
15614
|
si(Z.$slots, "headerLeft", {}, void 0, !0)
|
|
15604
15615
|
]),
|
|
15605
|
-
|
|
15616
|
+
Et(" 默认按钮 "),
|
|
15606
15617
|
Ne("div", ipe, [
|
|
15607
|
-
|
|
15618
|
+
Et(" 右侧操作或自定义内容 "),
|
|
15608
15619
|
si(Z.$slots, "headerRight", {}, void 0, !0),
|
|
15609
15620
|
c.exportBtn ? (Ce(), no(dt(Ea), {
|
|
15610
15621
|
key: 0,
|
|
@@ -15613,7 +15624,7 @@ const ope = /* @__PURE__ */ Ho({
|
|
|
15613
15624
|
title: "导出",
|
|
15614
15625
|
"show-bg": "",
|
|
15615
15626
|
size: "default"
|
|
15616
|
-
})) :
|
|
15627
|
+
})) : Et("v-if", !0),
|
|
15617
15628
|
A.value ? (Ce(), no(dt(Ea), {
|
|
15618
15629
|
key: 1,
|
|
15619
15630
|
name: "iksvg_shaixuan1",
|
|
@@ -15621,7 +15632,7 @@ const ope = /* @__PURE__ */ Ho({
|
|
|
15621
15632
|
title: h.value ? "收起筛选条件" : "展开筛选条件",
|
|
15622
15633
|
"show-bg": "",
|
|
15623
15634
|
onClick: y
|
|
15624
|
-
}, null, 8, ["title"])) :
|
|
15635
|
+
}, null, 8, ["title"])) : Et("v-if", !0),
|
|
15625
15636
|
c.refreshBtn ? (Ce(), no(dt(Ea), {
|
|
15626
15637
|
key: 2,
|
|
15627
15638
|
name: "iksvg_zhongzhi1",
|
|
@@ -15629,8 +15640,8 @@ const ope = /* @__PURE__ */ Ho({
|
|
|
15629
15640
|
"show-bg": "",
|
|
15630
15641
|
size: "default",
|
|
15631
15642
|
onClick: c.search
|
|
15632
|
-
}, null, 8, ["onClick"])) :
|
|
15633
|
-
|
|
15643
|
+
}, null, 8, ["onClick"])) : Et("v-if", !0),
|
|
15644
|
+
Et(` <IkSvgIcon\r
|
|
15634
15645
|
name="icon-shezhi"\r
|
|
15635
15646
|
show-bg\r
|
|
15636
15647
|
:width="40"\r
|
|
@@ -15862,7 +15873,7 @@ const cpe = /* @__PURE__ */ Jr(lpe, [["__scopeId", "data-v-659625f1"]]), xne = {
|
|
|
15862
15873
|
Ne(
|
|
15863
15874
|
"span",
|
|
15864
15875
|
dpe,
|
|
15865
|
-
|
|
15876
|
+
Ln(c.total),
|
|
15866
15877
|
1
|
|
15867
15878
|
/* TEXT */
|
|
15868
15879
|
),
|
|
@@ -15901,12 +15912,12 @@ const mpe = /* @__PURE__ */ Jr(fpe, [["__scopeId", "data-v-e7b4fc6e"]]), hpe = /
|
|
|
15901
15912
|
Lo,
|
|
15902
15913
|
null,
|
|
15903
15914
|
[
|
|
15904
|
-
|
|
15915
|
+
Et(" 自定义表格 "),
|
|
15905
15916
|
(ae = $.$slots) != null && ae.table ? si($.$slots, "table", { key: 0 }, void 0, !0) : (Ce(), Ze(
|
|
15906
15917
|
Lo,
|
|
15907
15918
|
{ key: 1 },
|
|
15908
15919
|
[
|
|
15909
|
-
|
|
15920
|
+
Et(" 默认表格 "),
|
|
15910
15921
|
Je(ree, { name: "el-zoom-in-center" }, {
|
|
15911
15922
|
default: Vt(() => [
|
|
15912
15923
|
kh((Ce(), no(ee, hl({
|
|
@@ -15923,14 +15934,14 @@ const mpe = /* @__PURE__ */ Jr(fpe, [["__scopeId", "data-v-e7b4fc6e"]]), hpe = /
|
|
|
15923
15934
|
type: "selection",
|
|
15924
15935
|
align: "center",
|
|
15925
15936
|
width: "56"
|
|
15926
|
-
})) :
|
|
15937
|
+
})) : Et("v-if", !0),
|
|
15927
15938
|
$.serial ? (Ce(), no(ie, {
|
|
15928
15939
|
key: 1,
|
|
15929
15940
|
prop: "__index",
|
|
15930
15941
|
label: "序号",
|
|
15931
15942
|
width: 60,
|
|
15932
15943
|
align: "center"
|
|
15933
|
-
})) :
|
|
15944
|
+
})) : Et("v-if", !0),
|
|
15934
15945
|
si($.$slots, "default", {}, void 0, !0)
|
|
15935
15946
|
]),
|
|
15936
15947
|
_: 3
|
|
@@ -15946,13 +15957,13 @@ const mpe = /* @__PURE__ */ Jr(fpe, [["__scopeId", "data-v-e7b4fc6e"]]), hpe = /
|
|
|
15946
15957
|
64
|
|
15947
15958
|
/* STABLE_FRAGMENT */
|
|
15948
15959
|
)),
|
|
15949
|
-
|
|
15960
|
+
Et(" 分页 "),
|
|
15950
15961
|
$.total ? (Ce(), no(mpe, {
|
|
15951
15962
|
key: 2,
|
|
15952
15963
|
current: ((we = (j = $.$attrs) == null ? void 0 : j.page) == null ? void 0 : we.page) || 1,
|
|
15953
15964
|
total: $.total,
|
|
15954
15965
|
search: F
|
|
15955
|
-
}, null, 8, ["current", "total"])) :
|
|
15966
|
+
}, null, 8, ["current", "total"])) : Et("v-if", !0)
|
|
15956
15967
|
],
|
|
15957
15968
|
64
|
|
15958
15969
|
/* STABLE_FRAGMENT */
|
|
@@ -16016,7 +16027,7 @@ const gpe = /* @__PURE__ */ Jr(hpe, [["__scopeId", "data-v-7e61d7f1"]]), ppe = {
|
|
|
16016
16027
|
Lo,
|
|
16017
16028
|
null,
|
|
16018
16029
|
[
|
|
16019
|
-
|
|
16030
|
+
Et(" 标题 + 搜索表单 "),
|
|
16020
16031
|
Je(cpe, hl({
|
|
16021
16032
|
ref_key: "refHeader",
|
|
16022
16033
|
ref: ie
|
|
@@ -16044,13 +16055,13 @@ const gpe = /* @__PURE__ */ Jr(hpe, [["__scopeId", "data-v-7e61d7f1"]]), ppe = {
|
|
|
16044
16055
|
/* STABLE */
|
|
16045
16056
|
})), [
|
|
16046
16057
|
[Fe, je.role]
|
|
16047
|
-
]) :
|
|
16058
|
+
]) : Et("v-if", !0)
|
|
16048
16059
|
], !0)
|
|
16049
16060
|
]),
|
|
16050
16061
|
_: 3
|
|
16051
16062
|
/* FORWARDED */
|
|
16052
16063
|
}, 16, ["modelValue", "loading", "tab-id"]),
|
|
16053
|
-
|
|
16064
|
+
Et(" 选中表格项 "),
|
|
16054
16065
|
je.selection ? (Ce(), Ze(
|
|
16055
16066
|
"div",
|
|
16056
16067
|
{
|
|
@@ -16090,8 +16101,8 @@ const gpe = /* @__PURE__ */ Jr(hpe, [["__scopeId", "data-v-7e61d7f1"]]), ppe = {
|
|
|
16090
16101
|
],
|
|
16091
16102
|
2
|
|
16092
16103
|
/* CLASS */
|
|
16093
|
-
)) :
|
|
16094
|
-
|
|
16104
|
+
)) : Et("v-if", !0),
|
|
16105
|
+
Et(" 自定义表格 "),
|
|
16095
16106
|
si(je.$slots, "table", {}, () => [
|
|
16096
16107
|
Je(gpe, hl({
|
|
16097
16108
|
ref_key: "refTable",
|
|
@@ -16143,7 +16154,7 @@ const gpe = /* @__PURE__ */ Jr(hpe, [["__scopeId", "data-v-7e61d7f1"]]), ppe = {
|
|
|
16143
16154
|
],
|
|
16144
16155
|
64
|
|
16145
16156
|
/* STABLE_FRAGMENT */
|
|
16146
|
-
)) :
|
|
16157
|
+
)) : Et("v-if", !0)
|
|
16147
16158
|
],
|
|
16148
16159
|
64
|
|
16149
16160
|
/* STABLE_FRAGMENT */
|
|
@@ -16156,8 +16167,8 @@ const gpe = /* @__PURE__ */ Jr(hpe, [["__scopeId", "data-v-7e61d7f1"]]), ppe = {
|
|
|
16156
16167
|
/* FORWARDED */
|
|
16157
16168
|
}, 16, ["page"])
|
|
16158
16169
|
], !0),
|
|
16159
|
-
|
|
16160
|
-
|
|
16170
|
+
Et(" 新增修改 "),
|
|
16171
|
+
Et(` <IkDialog\r
|
|
16161
16172
|
v-if="needAutoForm"\r
|
|
16162
16173
|
ref="refIkDialog"\r
|
|
16163
16174
|
v-bind="{ ...dialogProp }"\r
|
|
@@ -16395,11 +16406,11 @@ const e1e = /* @__PURE__ */ Jr(qpe, [["render", Jpe]]), t1e = { class: "avatar"
|
|
|
16395
16406
|
}, null, 8, ["src"])) : (Ce(), Ze(
|
|
16396
16407
|
"div",
|
|
16397
16408
|
o1e,
|
|
16398
|
-
|
|
16409
|
+
Ln(c.element[c.fixPropOpt.name].slice(-2)),
|
|
16399
16410
|
1
|
|
16400
16411
|
/* TEXT */
|
|
16401
16412
|
))
|
|
16402
|
-
])) :
|
|
16413
|
+
])) : Et("v-if", !0)
|
|
16403
16414
|
]);
|
|
16404
16415
|
};
|
|
16405
16416
|
}
|
|
@@ -16539,7 +16550,7 @@ const Th = /* @__PURE__ */ Jr(s1e, [["__scopeId", "data-v-4069f4f8"]]), tX = "da
|
|
|
16539
16550
|
Lo,
|
|
16540
16551
|
null,
|
|
16541
16552
|
[
|
|
16542
|
-
|
|
16553
|
+
Et(" 遍历list多选 "),
|
|
16543
16554
|
Ne("div", r1e, [
|
|
16544
16555
|
ve.multiple ? (Ce(), no(dt(V2), {
|
|
16545
16556
|
key: 0,
|
|
@@ -16553,7 +16564,7 @@ const Th = /* @__PURE__ */ Jr(s1e, [["__scopeId", "data-v-4069f4f8"]]), tX = "da
|
|
|
16553
16564
|
]),
|
|
16554
16565
|
_: 1
|
|
16555
16566
|
/* STABLE */
|
|
16556
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
16567
|
+
}, 8, ["modelValue", "indeterminate"])) : Et("v-if", !0),
|
|
16557
16568
|
ve.list && ve.list.length ? (Ce(), Ze("ul", a1e, [
|
|
16558
16569
|
ve.multiple ? (Ce(), no(dt(i7), {
|
|
16559
16570
|
key: 0,
|
|
@@ -16587,17 +16598,17 @@ const Th = /* @__PURE__ */ Jr(s1e, [["__scopeId", "data-v-4069f4f8"]]), tX = "da
|
|
|
16587
16598
|
Ne(
|
|
16588
16599
|
"span",
|
|
16589
16600
|
null,
|
|
16590
|
-
|
|
16601
|
+
Ln(ee[u.fixPropOpt.name]),
|
|
16591
16602
|
1
|
|
16592
16603
|
/* TEXT */
|
|
16593
16604
|
),
|
|
16594
16605
|
ee[u.fixPropOpt.type] === u.fixTypeOpt.group ? (Ce(), Ze(
|
|
16595
16606
|
"span",
|
|
16596
16607
|
c1e,
|
|
16597
|
-
"(" +
|
|
16608
|
+
"(" + Ln(ee.userCount) + ")",
|
|
16598
16609
|
1
|
|
16599
16610
|
/* TEXT */
|
|
16600
|
-
)) :
|
|
16611
|
+
)) : Et("v-if", !0)
|
|
16601
16612
|
])
|
|
16602
16613
|
])
|
|
16603
16614
|
]),
|
|
@@ -16617,17 +16628,17 @@ const Th = /* @__PURE__ */ Jr(s1e, [["__scopeId", "data-v-4069f4f8"]]), tX = "da
|
|
|
16617
16628
|
Ne(
|
|
16618
16629
|
"span",
|
|
16619
16630
|
null,
|
|
16620
|
-
|
|
16631
|
+
Ln(ee[u.fixPropOpt.name]),
|
|
16621
16632
|
1
|
|
16622
16633
|
/* TEXT */
|
|
16623
16634
|
),
|
|
16624
16635
|
ee[u.fixPropOpt.type] === u.fixTypeOpt.group ? (Ce(), Ze(
|
|
16625
16636
|
"span",
|
|
16626
16637
|
m1e,
|
|
16627
|
-
"(" +
|
|
16638
|
+
"(" + Ln(ee.userCount) + ")",
|
|
16628
16639
|
1
|
|
16629
16640
|
/* TEXT */
|
|
16630
|
-
)) :
|
|
16641
|
+
)) : Et("v-if", !0)
|
|
16631
16642
|
])
|
|
16632
16643
|
])),
|
|
16633
16644
|
ee[u.fixPropOpt.type] === u.fixTypeOpt.group && u.children ? (Ce(), Ze("span", {
|
|
@@ -16641,7 +16652,7 @@ const Th = /* @__PURE__ */ Jr(s1e, [["__scopeId", "data-v-4069f4f8"]]), tX = "da
|
|
|
16641
16652
|
ee,
|
|
16642
16653
|
_.value.find((ae) => ae === ee[u.fixPropOpt.id])
|
|
16643
16654
|
)
|
|
16644
|
-
}, " 下级", 10, h1e)) :
|
|
16655
|
+
}, " 下级", 10, h1e)) : Et("v-if", !0)
|
|
16645
16656
|
]))),
|
|
16646
16657
|
128
|
|
16647
16658
|
/* KEYED_FRAGMENT */
|
|
@@ -16682,17 +16693,17 @@ const Th = /* @__PURE__ */ Jr(s1e, [["__scopeId", "data-v-4069f4f8"]]), tX = "da
|
|
|
16682
16693
|
Ne(
|
|
16683
16694
|
"span",
|
|
16684
16695
|
null,
|
|
16685
|
-
|
|
16696
|
+
Ln(ee[u.fixPropOpt.name]),
|
|
16686
16697
|
1
|
|
16687
16698
|
/* TEXT */
|
|
16688
16699
|
),
|
|
16689
16700
|
ee[u.fixPropOpt.type] === u.fixTypeOpt.group ? (Ce(), Ze(
|
|
16690
16701
|
"span",
|
|
16691
16702
|
v1e,
|
|
16692
|
-
"(" +
|
|
16703
|
+
"(" + Ln(ee.userCount) + ")",
|
|
16693
16704
|
1
|
|
16694
16705
|
/* TEXT */
|
|
16695
|
-
)) :
|
|
16706
|
+
)) : Et("v-if", !0)
|
|
16696
16707
|
])
|
|
16697
16708
|
])
|
|
16698
16709
|
]),
|
|
@@ -16712,17 +16723,17 @@ const Th = /* @__PURE__ */ Jr(s1e, [["__scopeId", "data-v-4069f4f8"]]), tX = "da
|
|
|
16712
16723
|
Ne(
|
|
16713
16724
|
"span",
|
|
16714
16725
|
null,
|
|
16715
|
-
|
|
16726
|
+
Ln(ee[u.fixPropOpt.name]),
|
|
16716
16727
|
1
|
|
16717
16728
|
/* TEXT */
|
|
16718
16729
|
),
|
|
16719
16730
|
ee[u.fixPropOpt.type] === u.fixTypeOpt.group ? (Ce(), Ze(
|
|
16720
16731
|
"span",
|
|
16721
16732
|
w1e,
|
|
16722
|
-
"(" +
|
|
16733
|
+
"(" + Ln(ee.userCount) + ")",
|
|
16723
16734
|
1
|
|
16724
16735
|
/* TEXT */
|
|
16725
|
-
)) :
|
|
16736
|
+
)) : Et("v-if", !0)
|
|
16726
16737
|
])
|
|
16727
16738
|
])),
|
|
16728
16739
|
ee[u.fixPropOpt.type] === u.fixTypeOpt.group && u.children ? (Ce(), Ze("span", {
|
|
@@ -16736,7 +16747,7 @@ const Th = /* @__PURE__ */ Jr(s1e, [["__scopeId", "data-v-4069f4f8"]]), tX = "da
|
|
|
16736
16747
|
ee,
|
|
16737
16748
|
_.value.find((ae) => ae === ee[u.fixPropOpt.id])
|
|
16738
16749
|
)
|
|
16739
|
-
}, " 下级", 10, S1e)) :
|
|
16750
|
+
}, " 下级", 10, S1e)) : Et("v-if", !0)
|
|
16740
16751
|
]))),
|
|
16741
16752
|
128
|
|
16742
16753
|
/* KEYED_FRAGMENT */
|
|
@@ -16750,7 +16761,7 @@ const Th = /* @__PURE__ */ Jr(s1e, [["__scopeId", "data-v-4069f4f8"]]), tX = "da
|
|
|
16750
16761
|
Ne(
|
|
16751
16762
|
"div",
|
|
16752
16763
|
null,
|
|
16753
|
-
|
|
16764
|
+
Ln(u.emptyText),
|
|
16754
16765
|
1
|
|
16755
16766
|
/* TEXT */
|
|
16756
16767
|
)
|
|
@@ -16816,7 +16827,7 @@ const k1e = /* @__PURE__ */ Jr(E1e, [["__scopeId", "data-v-5e76088d"]]), sX = (c
|
|
|
16816
16827
|
Lo,
|
|
16817
16828
|
null,
|
|
16818
16829
|
[
|
|
16819
|
-
|
|
16830
|
+
Et(" 遍历list多选 "),
|
|
16820
16831
|
Ne("div", T1e, [
|
|
16821
16832
|
$.multiple && $.chooseType.includes("post") ? (Ce(), no(dt(V2), {
|
|
16822
16833
|
key: 0,
|
|
@@ -16830,7 +16841,7 @@ const k1e = /* @__PURE__ */ Jr(E1e, [["__scopeId", "data-v-5e76088d"]]), sX = (c
|
|
|
16830
16841
|
]),
|
|
16831
16842
|
_: 1
|
|
16832
16843
|
/* STABLE */
|
|
16833
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
16844
|
+
}, 8, ["modelValue", "indeterminate"])) : Et("v-if", !0),
|
|
16834
16845
|
$.list && $.list.length ? (Ce(), Ze("ul", A1e, [
|
|
16835
16846
|
$.multiple ? (Ce(), no(dt(i7), {
|
|
16836
16847
|
key: 0,
|
|
@@ -16861,7 +16872,7 @@ const k1e = /* @__PURE__ */ Jr(E1e, [["__scopeId", "data-v-5e76088d"]]), sX = (c
|
|
|
16861
16872
|
Ne(
|
|
16862
16873
|
"p",
|
|
16863
16874
|
null,
|
|
16864
|
-
|
|
16875
|
+
Ln(ie[u.fixPropOpt.name]),
|
|
16865
16876
|
1
|
|
16866
16877
|
/* TEXT */
|
|
16867
16878
|
)
|
|
@@ -16881,7 +16892,7 @@ const k1e = /* @__PURE__ */ Jr(E1e, [["__scopeId", "data-v-5e76088d"]]), sX = (c
|
|
|
16881
16892
|
Ne(
|
|
16882
16893
|
"p",
|
|
16883
16894
|
null,
|
|
16884
|
-
|
|
16895
|
+
Ln(ie[u.fixPropOpt.name]),
|
|
16885
16896
|
1
|
|
16886
16897
|
/* TEXT */
|
|
16887
16898
|
)
|
|
@@ -16925,7 +16936,7 @@ const k1e = /* @__PURE__ */ Jr(E1e, [["__scopeId", "data-v-5e76088d"]]), sX = (c
|
|
|
16925
16936
|
Ne(
|
|
16926
16937
|
"p",
|
|
16927
16938
|
null,
|
|
16928
|
-
|
|
16939
|
+
Ln(ie[u.fixPropOpt.name]),
|
|
16929
16940
|
1
|
|
16930
16941
|
/* TEXT */
|
|
16931
16942
|
)
|
|
@@ -16946,7 +16957,7 @@ const k1e = /* @__PURE__ */ Jr(E1e, [["__scopeId", "data-v-5e76088d"]]), sX = (c
|
|
|
16946
16957
|
Ne(
|
|
16947
16958
|
"p",
|
|
16948
16959
|
null,
|
|
16949
|
-
|
|
16960
|
+
Ln(ie[u.fixPropOpt.name]),
|
|
16950
16961
|
1
|
|
16951
16962
|
/* TEXT */
|
|
16952
16963
|
)
|
|
@@ -16964,7 +16975,7 @@ const k1e = /* @__PURE__ */ Jr(E1e, [["__scopeId", "data-v-5e76088d"]]), sX = (c
|
|
|
16964
16975
|
Ne(
|
|
16965
16976
|
"div",
|
|
16966
16977
|
null,
|
|
16967
|
-
|
|
16978
|
+
Ln(u.emptyText),
|
|
16968
16979
|
1
|
|
16969
16980
|
/* TEXT */
|
|
16970
16981
|
)
|
|
@@ -17030,7 +17041,7 @@ const z1e = /* @__PURE__ */ Jr(H1e, [["__scopeId", "data-v-83d8077c"]]), rX = (c
|
|
|
17030
17041
|
Lo,
|
|
17031
17042
|
null,
|
|
17032
17043
|
[
|
|
17033
|
-
|
|
17044
|
+
Et(" 遍历list多选 "),
|
|
17034
17045
|
Ne("div", V1e, [
|
|
17035
17046
|
$.multiple && $.chooseType.includes("role") ? (Ce(), no(dt(V2), {
|
|
17036
17047
|
key: 0,
|
|
@@ -17044,7 +17055,7 @@ const z1e = /* @__PURE__ */ Jr(H1e, [["__scopeId", "data-v-83d8077c"]]), rX = (c
|
|
|
17044
17055
|
]),
|
|
17045
17056
|
_: 1
|
|
17046
17057
|
/* STABLE */
|
|
17047
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
17058
|
+
}, 8, ["modelValue", "indeterminate"])) : Et("v-if", !0),
|
|
17048
17059
|
$.list && $.list.length ? (Ce(), Ze("ul", U1e, [
|
|
17049
17060
|
$.multiple ? (Ce(), no(dt(i7), {
|
|
17050
17061
|
key: 0,
|
|
@@ -17076,7 +17087,7 @@ const z1e = /* @__PURE__ */ Jr(H1e, [["__scopeId", "data-v-83d8077c"]]), rX = (c
|
|
|
17076
17087
|
]),
|
|
17077
17088
|
Ne("p", {
|
|
17078
17089
|
title: ie[$.fixPropOpt.name]
|
|
17079
|
-
},
|
|
17090
|
+
}, Ln(ie[$.fixPropOpt.name]), 9, j1e)
|
|
17080
17091
|
]),
|
|
17081
17092
|
_: 2
|
|
17082
17093
|
/* DYNAMIC */
|
|
@@ -17092,7 +17103,7 @@ const z1e = /* @__PURE__ */ Jr(H1e, [["__scopeId", "data-v-83d8077c"]]), rX = (c
|
|
|
17092
17103
|
]),
|
|
17093
17104
|
Ne("p", {
|
|
17094
17105
|
title: ie[$.fixPropOpt.name]
|
|
17095
|
-
},
|
|
17106
|
+
}, Ln(ie[$.fixPropOpt.name]), 9, Y1e)
|
|
17096
17107
|
]))
|
|
17097
17108
|
]))),
|
|
17098
17109
|
128
|
|
@@ -17134,7 +17145,7 @@ const z1e = /* @__PURE__ */ Jr(H1e, [["__scopeId", "data-v-83d8077c"]]), rX = (c
|
|
|
17134
17145
|
]),
|
|
17135
17146
|
Ne("p", {
|
|
17136
17147
|
title: ie[$.fixPropOpt.name]
|
|
17137
|
-
},
|
|
17148
|
+
}, Ln(ie[$.fixPropOpt.name]), 9, Q1e)
|
|
17138
17149
|
])
|
|
17139
17150
|
]),
|
|
17140
17151
|
_: 2
|
|
@@ -17151,7 +17162,7 @@ const z1e = /* @__PURE__ */ Jr(H1e, [["__scopeId", "data-v-83d8077c"]]), rX = (c
|
|
|
17151
17162
|
]),
|
|
17152
17163
|
Ne("p", {
|
|
17153
17164
|
title: ie[$.fixPropOpt.name]
|
|
17154
|
-
},
|
|
17165
|
+
}, Ln(ie[$.fixPropOpt.name]), 9, n0e)
|
|
17155
17166
|
]))
|
|
17156
17167
|
]))),
|
|
17157
17168
|
128
|
|
@@ -17166,7 +17177,7 @@ const z1e = /* @__PURE__ */ Jr(H1e, [["__scopeId", "data-v-83d8077c"]]), rX = (c
|
|
|
17166
17177
|
Ne(
|
|
17167
17178
|
"div",
|
|
17168
17179
|
null,
|
|
17169
|
-
|
|
17180
|
+
Ln(u.emptyText),
|
|
17170
17181
|
1
|
|
17171
17182
|
/* TEXT */
|
|
17172
17183
|
)
|
|
@@ -17822,11 +17833,11 @@ const i0e = {
|
|
|
17822
17833
|
]),
|
|
17823
17834
|
_: 1
|
|
17824
17835
|
/* STABLE */
|
|
17825
|
-
}, 8, ["modelValue"])) :
|
|
17836
|
+
}, 8, ["modelValue"])) : Et("v-if", !0)
|
|
17826
17837
|
]),
|
|
17827
|
-
|
|
17838
|
+
Et(" 过滤 "),
|
|
17828
17839
|
qt.value === dt(qD).group ? (Ce(), Ze("div", f0e, [
|
|
17829
|
-
|
|
17840
|
+
Et(" 面包屑 全选 "),
|
|
17830
17841
|
Je(dt(soe), {
|
|
17831
17842
|
separator: ">",
|
|
17832
17843
|
class: Wr(["banner", { "top-unlink": !At.topLink }])
|
|
@@ -17841,7 +17852,7 @@ const i0e = {
|
|
|
17841
17852
|
}, {
|
|
17842
17853
|
default: Vt(() => [
|
|
17843
17854
|
Qs(
|
|
17844
|
-
|
|
17855
|
+
Ln(Po[te.value.name]),
|
|
17845
17856
|
1
|
|
17846
17857
|
/* TEXT */
|
|
17847
17858
|
)
|
|
@@ -17851,14 +17862,14 @@ const i0e = {
|
|
|
17851
17862
|
}, 1032, ["onClick"]))),
|
|
17852
17863
|
128
|
|
17853
17864
|
/* KEYED_FRAGMENT */
|
|
17854
|
-
)) :
|
|
17865
|
+
)) : Et("v-if", !0)
|
|
17855
17866
|
]),
|
|
17856
17867
|
_: 1
|
|
17857
17868
|
/* STABLE */
|
|
17858
17869
|
}, 8, ["class"])
|
|
17859
|
-
])) :
|
|
17860
|
-
|
|
17861
|
-
|
|
17870
|
+
])) : Et("v-if", !0),
|
|
17871
|
+
Et(" 左侧列表 "),
|
|
17872
|
+
Et(" 组织架构 "),
|
|
17862
17873
|
qt.value === dt(qD).group ? kh((Ce(), no(k1e, {
|
|
17863
17874
|
key: 1,
|
|
17864
17875
|
fixPropOpt: te.value,
|
|
@@ -17879,7 +17890,7 @@ const i0e = {
|
|
|
17879
17890
|
Lo,
|
|
17880
17891
|
{ key: 2 },
|
|
17881
17892
|
[
|
|
17882
|
-
|
|
17893
|
+
Et(" 角色 "),
|
|
17883
17894
|
kh(Je(a0e, {
|
|
17884
17895
|
fixPropOpt: te.value,
|
|
17885
17896
|
fixTypeOpt: $.value,
|
|
@@ -17901,7 +17912,7 @@ const i0e = {
|
|
|
17901
17912
|
Lo,
|
|
17902
17913
|
{ key: 3 },
|
|
17903
17914
|
[
|
|
17904
|
-
|
|
17915
|
+
Et(" 岗位 "),
|
|
17905
17916
|
kh(Je(z1e, {
|
|
17906
17917
|
fixPropOpt: te.value,
|
|
17907
17918
|
fixTypeOpt: $.value,
|
|
@@ -17919,10 +17930,10 @@ const i0e = {
|
|
|
17919
17930
|
],
|
|
17920
17931
|
64
|
|
17921
17932
|
/* STABLE_FRAGMENT */
|
|
17922
|
-
)) :
|
|
17933
|
+
)) : Et("v-if", !0)
|
|
17923
17934
|
]),
|
|
17924
17935
|
m0e,
|
|
17925
|
-
|
|
17936
|
+
Et(" 已选列表 "),
|
|
17926
17937
|
Ne("div", h0e, [
|
|
17927
17938
|
Ne("div", g0e, [
|
|
17928
17939
|
p0e,
|
|
@@ -17944,7 +17955,7 @@ const i0e = {
|
|
|
17944
17955
|
null,
|
|
17945
17956
|
Ma(ve.value, (Po) => (Ce(), Ze("li", b0e, [
|
|
17946
17957
|
Ne("div", y0e, [
|
|
17947
|
-
|
|
17958
|
+
Et(" icon前缀 "),
|
|
17948
17959
|
Ne("div", C0e, [
|
|
17949
17960
|
Je(Th, {
|
|
17950
17961
|
fixTypeOpt: $.value,
|
|
@@ -17956,7 +17967,7 @@ const i0e = {
|
|
|
17956
17967
|
Ne(
|
|
17957
17968
|
"span",
|
|
17958
17969
|
null,
|
|
17959
|
-
|
|
17970
|
+
Ln(Po[te.value.name]),
|
|
17960
17971
|
1
|
|
17961
17972
|
/* TEXT */
|
|
17962
17973
|
)
|
|
@@ -18121,7 +18132,7 @@ const _0e = /* @__PURE__ */ Ho({
|
|
|
18121
18132
|
Lo,
|
|
18122
18133
|
null,
|
|
18123
18134
|
[
|
|
18124
|
-
|
|
18135
|
+
Et(' <div :style="{ border: `${borderWidth}px ${borderType} ${comColor}` }">\r\n <span :style="{ backgroundColor: comColor }"></span>\r\n <p>{{ title }}</p>\r\n </div> '),
|
|
18125
18136
|
Je(_, {
|
|
18126
18137
|
effect: c.effect,
|
|
18127
18138
|
class: "ik-statu-tag",
|
|
@@ -18143,9 +18154,9 @@ const _0e = /* @__PURE__ */ Ho({
|
|
|
18143
18154
|
null,
|
|
18144
18155
|
4
|
|
18145
18156
|
/* STYLE */
|
|
18146
|
-
)) :
|
|
18157
|
+
)) : Et("v-if", !0),
|
|
18147
18158
|
Qs(
|
|
18148
|
-
" " +
|
|
18159
|
+
" " + Ln(c.title),
|
|
18149
18160
|
1
|
|
18150
18161
|
/* TEXT */
|
|
18151
18162
|
)
|
|
@@ -18236,12 +18247,12 @@ const k0e = /* @__PURE__ */ Jr(E0e, [["__scopeId", "data-v-a9e1024d"]]), WJ = Ia
|
|
|
18236
18247
|
onError: _
|
|
18237
18248
|
}, {
|
|
18238
18249
|
default: Vt(() => [
|
|
18239
|
-
y.value ?
|
|
18250
|
+
y.value ? Et("v-if", !0) : (Ce(), Ze(
|
|
18240
18251
|
Lo,
|
|
18241
18252
|
{ key: 0 },
|
|
18242
18253
|
[
|
|
18243
18254
|
Qs(
|
|
18244
|
-
|
|
18255
|
+
Ln(c.name.slice(-2)),
|
|
18245
18256
|
1
|
|
18246
18257
|
/* TEXT */
|
|
18247
18258
|
)
|
|
@@ -18252,7 +18263,7 @@ const k0e = /* @__PURE__ */ Jr(E0e, [["__scopeId", "data-v-a9e1024d"]]), WJ = Ia
|
|
|
18252
18263
|
]),
|
|
18253
18264
|
_: 1
|
|
18254
18265
|
/* STABLE */
|
|
18255
|
-
}, 8, ["style", "size", "shape", "src"])) :
|
|
18266
|
+
}, 8, ["style", "size", "shape", "src"])) : Et("v-if", !0),
|
|
18256
18267
|
c.avatarType === "icon" ? (Ce(), no(Z, {
|
|
18257
18268
|
key: 1,
|
|
18258
18269
|
name: `iksvg_${(te = c.avatar) == null ? void 0 : te.replace("iksvg_", "")}`,
|
|
@@ -18260,18 +18271,18 @@ const k0e = /* @__PURE__ */ Jr(E0e, [["__scopeId", "data-v-a9e1024d"]]), WJ = Ia
|
|
|
18260
18271
|
type: c.iconType,
|
|
18261
18272
|
style: Rl({ fontSize: c.showIconBg ? "34px" : "50px" }),
|
|
18262
18273
|
size: c.iconSize
|
|
18263
|
-
}, null, 8, ["name", "show-bg", "type", "style", "size"])) :
|
|
18274
|
+
}, null, 8, ["name", "show-bg", "type", "style", "size"])) : Et("v-if", !0),
|
|
18264
18275
|
c.avatarType === "linearIcon" ? (Ce(), no(U, {
|
|
18265
18276
|
key: 2,
|
|
18266
18277
|
icon: c.avatar,
|
|
18267
18278
|
"background-color": c.iconBackgroundColor
|
|
18268
|
-
}, null, 8, ["icon", "background-color"])) :
|
|
18279
|
+
}, null, 8, ["icon", "background-color"])) : Et("v-if", !0)
|
|
18269
18280
|
]),
|
|
18270
18281
|
Ne("div", D0e, [
|
|
18271
18282
|
Ne(
|
|
18272
18283
|
"p",
|
|
18273
18284
|
O0e,
|
|
18274
|
-
|
|
18285
|
+
Ln(c.text),
|
|
18275
18286
|
1
|
|
18276
18287
|
/* TEXT */
|
|
18277
18288
|
),
|
|
@@ -18280,7 +18291,7 @@ const k0e = /* @__PURE__ */ Jr(E0e, [["__scopeId", "data-v-a9e1024d"]]), WJ = Ia
|
|
|
18280
18291
|
Ne(
|
|
18281
18292
|
"p",
|
|
18282
18293
|
R0e,
|
|
18283
|
-
|
|
18294
|
+
Ln(c.subText),
|
|
18284
18295
|
1
|
|
18285
18296
|
/* TEXT */
|
|
18286
18297
|
)
|
|
@@ -18361,7 +18372,7 @@ const I0e = /* @__PURE__ */ Jr(M0e, [["__scopeId", "data-v-47e8921e"]]), mye = I
|
|
|
18361
18372
|
{ key: 1 },
|
|
18362
18373
|
[
|
|
18363
18374
|
Qs(
|
|
18364
|
-
|
|
18375
|
+
Ln(re.title),
|
|
18365
18376
|
1
|
|
18366
18377
|
/* TEXT */
|
|
18367
18378
|
)
|
|
@@ -18390,7 +18401,7 @@ const I0e = /* @__PURE__ */ Jr(M0e, [["__scopeId", "data-v-47e8921e"]]), mye = I
|
|
|
18390
18401
|
}, {
|
|
18391
18402
|
default: Vt(() => [
|
|
18392
18403
|
Qs(
|
|
18393
|
-
" +" +
|
|
18404
|
+
" +" + Ln(_.value),
|
|
18394
18405
|
1
|
|
18395
18406
|
/* TEXT */
|
|
18396
18407
|
)
|
|
@@ -18419,7 +18430,7 @@ const I0e = /* @__PURE__ */ Jr(M0e, [["__scopeId", "data-v-47e8921e"]]), mye = I
|
|
|
18419
18430
|
]),
|
|
18420
18431
|
_: 1
|
|
18421
18432
|
/* STABLE */
|
|
18422
|
-
})) :
|
|
18433
|
+
})) : Et("v-if", !0)
|
|
18423
18434
|
],
|
|
18424
18435
|
512
|
|
18425
18436
|
/* NEED_PATCH */
|
|
@@ -18631,9 +18642,9 @@ const P0e = /* @__PURE__ */ Jr(N0e, [["__scopeId", "data-v-fac181ae"]]), hye = I
|
|
|
18631
18642
|
c.circle ? void 0 : {
|
|
18632
18643
|
name: "default",
|
|
18633
18644
|
fn: Vt(() => [
|
|
18634
|
-
|
|
18645
|
+
Et(' {{ t("action.setting") }} '),
|
|
18635
18646
|
Qs(
|
|
18636
|
-
" " +
|
|
18647
|
+
" " + Ln(dt(_)("设置")),
|
|
18637
18648
|
1
|
|
18638
18649
|
/* TEXT */
|
|
18639
18650
|
)
|
|
@@ -18642,7 +18653,7 @@ const P0e = /* @__PURE__ */ Jr(N0e, [["__scopeId", "data-v-fac181ae"]]), hye = I
|
|
|
18642
18653
|
}
|
|
18643
18654
|
]), 1040, ["circle", "type", "style"])), [
|
|
18644
18655
|
[vn, X.$props.role]
|
|
18645
|
-
]) :
|
|
18656
|
+
]) : Et("v-if", !0),
|
|
18646
18657
|
c.btnType === "icon" ? kh((Ce(), no(
|
|
18647
18658
|
dt(Ea),
|
|
18648
18659
|
hl({
|
|
@@ -18656,7 +18667,7 @@ const P0e = /* @__PURE__ */ Jr(N0e, [["__scopeId", "data-v-fac181ae"]]), hye = I
|
|
|
18656
18667
|
/* FULL_PROPS */
|
|
18657
18668
|
)), [
|
|
18658
18669
|
[vn, X.$props.role]
|
|
18659
|
-
]) :
|
|
18670
|
+
]) : Et("v-if", !0),
|
|
18660
18671
|
Je(pe, {
|
|
18661
18672
|
modelValue: j.value,
|
|
18662
18673
|
"onUpdate:modelValue": Ie[3] || (Ie[3] = (Cn) => j.value = Cn),
|
|
@@ -18675,11 +18686,11 @@ const P0e = /* @__PURE__ */ Jr(N0e, [["__scopeId", "data-v-fac181ae"]]), hye = I
|
|
|
18675
18686
|
}, {
|
|
18676
18687
|
default: Vt(() => [
|
|
18677
18688
|
Qs(
|
|
18678
|
-
|
|
18689
|
+
Ln(dt(_)("关闭")) + " ",
|
|
18679
18690
|
1
|
|
18680
18691
|
/* TEXT */
|
|
18681
18692
|
),
|
|
18682
|
-
|
|
18693
|
+
Et(' {{ t("action.close") }} ')
|
|
18683
18694
|
]),
|
|
18684
18695
|
_: 1
|
|
18685
18696
|
/* STABLE */
|
|
@@ -18691,7 +18702,7 @@ const P0e = /* @__PURE__ */ Jr(N0e, [["__scopeId", "data-v-fac181ae"]]), hye = I
|
|
|
18691
18702
|
}, {
|
|
18692
18703
|
default: Vt(() => [
|
|
18693
18704
|
Qs(
|
|
18694
|
-
|
|
18705
|
+
Ln(te.value.length < 2 ? "至少选择一个字段" : dt(_)("确定")),
|
|
18695
18706
|
1
|
|
18696
18707
|
/* TEXT */
|
|
18697
18708
|
)
|
|
@@ -18743,7 +18754,7 @@ const P0e = /* @__PURE__ */ Jr(N0e, [["__scopeId", "data-v-fac181ae"]]), hye = I
|
|
|
18743
18754
|
}, {
|
|
18744
18755
|
default: Vt(() => [
|
|
18745
18756
|
Qs(
|
|
18746
|
-
|
|
18757
|
+
Ln(Cn.label),
|
|
18747
18758
|
1
|
|
18748
18759
|
/* TEXT */
|
|
18749
18760
|
)
|
|
@@ -19018,7 +19029,7 @@ const V0e = /* @__PURE__ */ Jr(z0e, [["__scopeId", "data-v-b5ed17ed"]]), U0e = I
|
|
|
19018
19029
|
/* STABLE */
|
|
19019
19030
|
})) : si(Z.$slots, "icon", { key: 1 }, void 0, !0),
|
|
19020
19031
|
Qs(
|
|
19021
|
-
" " +
|
|
19032
|
+
" " + Ln(te.label),
|
|
19022
19033
|
1
|
|
19023
19034
|
/* TEXT */
|
|
19024
19035
|
)
|
|
@@ -19081,7 +19092,7 @@ const Y0e = /* @__PURE__ */ Jr(q0e, [["__scopeId", "data-v-c39a4108"]]), K0e = /
|
|
|
19081
19092
|
Ne("div", null, [
|
|
19082
19093
|
si(y.$slots, "header", {}, () => [
|
|
19083
19094
|
Qs(
|
|
19084
|
-
|
|
19095
|
+
Ln(y.title),
|
|
19085
19096
|
1
|
|
19086
19097
|
/* TEXT */
|
|
19087
19098
|
)
|
|
@@ -19093,7 +19104,7 @@ const Y0e = /* @__PURE__ */ Jr(q0e, [["__scopeId", "data-v-c39a4108"]]), K0e = /
|
|
|
19093
19104
|
name: u.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
19094
19105
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
19095
19106
|
title: u.value ? "退出全屏" : "全屏"
|
|
19096
|
-
}, null, 8, ["name", "title"])) :
|
|
19107
|
+
}, null, 8, ["name", "title"])) : Et("v-if", !0)
|
|
19097
19108
|
]),
|
|
19098
19109
|
default: Vt(() => [
|
|
19099
19110
|
si(y.$slots, "default")
|
|
@@ -21542,7 +21553,7 @@ const dve = { class: "icon-list" }, fve = { class: "icon-list" }, mve = /* @__PU
|
|
|
21542
21553
|
warning: "",
|
|
21543
21554
|
class: "icon-delete",
|
|
21544
21555
|
onClick: Eh(F, ["stop"])
|
|
21545
|
-
})) :
|
|
21556
|
+
})) : Et("v-if", !0)
|
|
21546
21557
|
])
|
|
21547
21558
|
]),
|
|
21548
21559
|
default: Vt(() => [
|
|
@@ -21665,7 +21676,7 @@ const hve = /* @__PURE__ */ Jr(mve, [["__scopeId", "data-v-8c6df7f0"]]), vye = I
|
|
|
21665
21676
|
}, {
|
|
21666
21677
|
default: Vt(() => [
|
|
21667
21678
|
Qs(
|
|
21668
|
-
|
|
21679
|
+
Ln(T.label),
|
|
21669
21680
|
1
|
|
21670
21681
|
/* TEXT */
|
|
21671
21682
|
)
|
|
@@ -22332,7 +22343,7 @@ function hbe(c, i, u, h, y, _) {
|
|
|
22332
22343
|
c.editorClass
|
|
22333
22344
|
]])
|
|
22334
22345
|
}, [
|
|
22335
|
-
c.loading ?
|
|
22346
|
+
c.loading ? Et("v-if", !0) : (Ce(), Ze("div", ube, [
|
|
22336
22347
|
Je(T, {
|
|
22337
22348
|
name: "iksvg_tongyong4",
|
|
22338
22349
|
title: "复制",
|
|
@@ -22751,7 +22762,7 @@ var Dne = { exports: {} };
|
|
|
22751
22762
|
}, it = (e) => e[e.length - 1], yt = (e) => {
|
|
22752
22763
|
let n = !1, o;
|
|
22753
22764
|
return (...r) => (n || (n = !0, o = e.apply(null, r)), o);
|
|
22754
|
-
},
|
|
22765
|
+
}, Hn = (e, n, o, r) => {
|
|
22755
22766
|
const l = e.isiOS() && /ipad/i.test(o) === !0, m = e.isiOS() && !l, v = e.isiOS() || e.isAndroid(), S = v || r("(pointer:coarse)"), E = l || !m && v && r("(min-device-width:768px)"), I = m || v && !E, V = n.isSafari() && e.isiOS() && /safari/i.test(o) === !1, W = !I && !E && !V;
|
|
22756
22767
|
return {
|
|
22757
22768
|
isiPad: Nt(l),
|
|
@@ -22964,7 +22975,7 @@ var Dne = { exports: {} };
|
|
|
22964
22975
|
freebsd: Nt(Pc),
|
|
22965
22976
|
chromeos: Nt(fd)
|
|
22966
22977
|
}, Kt = { detect: (e, n, o) => {
|
|
22967
|
-
const r = dc.browsers(), l = dc.oses(), m = n.bind((E) => Be(r, E)).orThunk(() => zt(r, e)).fold(bl.unknown, bl.nu), v = gn(l, e).fold(Xe.unknown, Xe.nu), S =
|
|
22978
|
+
const r = dc.browsers(), l = dc.oses(), m = n.bind((E) => Be(r, E)).orThunk(() => zt(r, e)).fold(bl.unknown, bl.nu), v = gn(l, e).fold(Xe.unknown, Xe.nu), S = Hn(v, m, e, o);
|
|
22968
22979
|
return {
|
|
22969
22980
|
browser: m,
|
|
22970
22981
|
os: v,
|
|
@@ -23571,7 +23582,7 @@ var Dne = { exports: {} };
|
|
|
23571
23582
|
(r = m.parentNode) === null || r === void 0 || r.removeChild(m);
|
|
23572
23583
|
return;
|
|
23573
23584
|
}
|
|
23574
|
-
},
|
|
23585
|
+
}, kt = (e, n, o) => {
|
|
23575
23586
|
const r = document.createRange(), l = n.parentNode;
|
|
23576
23587
|
if (l) {
|
|
23577
23588
|
r.setStartBefore(n), r.setEndBefore(o);
|
|
@@ -23589,7 +23600,7 @@ var Dne = { exports: {} };
|
|
|
23589
23600
|
const V = eu(E);
|
|
23590
23601
|
ze(I, (W) => {
|
|
23591
23602
|
Gr(W, m, v).each((K) => {
|
|
23592
|
-
|
|
23603
|
+
kt(e, K.dom, W.dom);
|
|
23593
23604
|
});
|
|
23594
23605
|
}), V.each((W) => he(e, W.dom));
|
|
23595
23606
|
}
|
|
@@ -23658,8 +23669,8 @@ var Dne = { exports: {} };
|
|
|
23658
23669
|
count: 0
|
|
23659
23670
|
})), W = (We) => new Promise((qe, Ye) => {
|
|
23660
23671
|
let at;
|
|
23661
|
-
const
|
|
23662
|
-
r[
|
|
23672
|
+
const Tt = Wt._addCacheSuffix(We), on = V(Tt);
|
|
23673
|
+
r[Tt] = on, on.count++;
|
|
23663
23674
|
const yn = (bn, qn) => {
|
|
23664
23675
|
ze(bn, qt), on.status = qn, on.passed = [], on.failed = [], at && (at.onload = null, at.onerror = null, at = null);
|
|
23665
23676
|
}, Gt = () => yn(on.passed, 2), St = () => yn(on.failed, 3);
|
|
@@ -23679,7 +23690,7 @@ var Dne = { exports: {} };
|
|
|
23679
23690
|
rel: "stylesheet",
|
|
23680
23691
|
type: "text/css",
|
|
23681
23692
|
id: on.id
|
|
23682
|
-
}), n.contentCssCors && As(Ot, "crossOrigin", "anonymous"), n.referrerPolicy && As(Ot, "referrerpolicy", n.referrerPolicy), at = Ot.dom, at.onload = Gt, at.onerror = St, E(Ot), As(Ot, "href",
|
|
23693
|
+
}), n.contentCssCors && As(Ot, "crossOrigin", "anonymous"), n.referrerPolicy && As(Ot, "referrerpolicy", n.referrerPolicy), at = Ot.dom, at.onload = Gt, at.onerror = St, E(Ot), As(Ot, "href", Tt);
|
|
23683
23694
|
}), K = (We, qe) => {
|
|
23684
23695
|
const Ye = V(We);
|
|
23685
23696
|
r[We] = Ye, Ye.count++;
|
|
@@ -23690,8 +23701,8 @@ var Dne = { exports: {} };
|
|
|
23690
23701
|
id: Ye.id
|
|
23691
23702
|
}), at.dom.innerHTML = qe, E(at);
|
|
23692
23703
|
}, ce = (We) => Promise.allSettled(mt(We, (Ye) => W(Ye).then(Nt(Ye)))).then((Ye) => {
|
|
23693
|
-
const at = At(Ye, (
|
|
23694
|
-
return at.fail.length > 0 ? Promise.reject(mt(at.fail, (
|
|
23704
|
+
const at = At(Ye, (Tt) => Tt.status === "fulfilled");
|
|
23705
|
+
return at.fail.length > 0 ? Promise.reject(mt(at.fail, (Tt) => Tt.reason)) : mt(at.pass, (Tt) => Tt.value);
|
|
23695
23706
|
}), ye = (We) => {
|
|
23696
23707
|
const qe = Wt._addCacheSuffix(We);
|
|
23697
23708
|
Is(r, qe).each((Ye) => {
|
|
@@ -24048,7 +24059,7 @@ var Dne = { exports: {} };
|
|
|
24048
24059
|
}
|
|
24049
24060
|
}, E = (n = e.schema) !== null && n !== void 0 ? n : "html5", I = Jf(E);
|
|
24050
24061
|
e.verify_html === !1 && (e.valid_elements = "*[*]");
|
|
24051
|
-
const V = K2(e.valid_styles), W = K2(e.invalid_styles, "map"), K = K2(e.valid_classes, "map"), ce = S("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), ye = S("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), me = 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"), We = "td th iframe video audio object script code", qe = S("non_empty_elements", We + " pre svg textarea summary", me), Ye = S("move_caret_before_on_enter_elements", We + " table", me), at = "h1 h2 h3 h4 h5 h6",
|
|
24062
|
+
const V = K2(e.valid_styles), W = K2(e.invalid_styles, "map"), K = K2(e.valid_classes, "map"), ce = S("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), ye = S("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), me = 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"), We = "td th iframe video audio object script code", qe = S("non_empty_elements", We + " pre svg textarea summary", me), Ye = S("move_caret_before_on_enter_elements", We + " table", me), at = "h1 h2 h3 h4 h5 h6", Tt = S("text_block_elements", at + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), on = 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", Tt), yn = S("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), Gt = S("transparent_elements", "a ins del canvas map"), St = S("wrap_block_elements", "pre " + at);
|
|
24052
24063
|
Yo("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "), (eo) => {
|
|
24053
24064
|
v[eo] = new RegExp("</" + eo + "[^>]*>", "gi");
|
|
24054
24065
|
});
|
|
@@ -24175,7 +24186,7 @@ var Dne = { exports: {} };
|
|
|
24175
24186
|
}), e.invalid_elements && Yo(em(e.invalid_elements), (eo) => {
|
|
24176
24187
|
o[eo] && delete o[eo];
|
|
24177
24188
|
}), gr("span") || Ot("span[!data-mce-type|*]");
|
|
24178
|
-
}, Gl = Nt(V), pr = Nt(W), dn = Nt(K), Zn = Nt(xe), ms = Nt(on), pn = Nt(
|
|
24189
|
+
}, Gl = Nt(V), pr = Nt(W), dn = Nt(K), Zn = Nt(xe), ms = Nt(on), pn = Nt(Tt), uo = Nt(yn), rs = Nt(Object.seal(me)), wn = Nt(ye), es = Nt(qe), ts = Nt(Ye), Ii = Nt(ce), sr = Nt(Gt), Ni = Nt(St), zd = Nt(Object.seal(v)), wh = (eo, bs) => {
|
|
24179
24190
|
const la = r[eo.toLowerCase()];
|
|
24180
24191
|
return !!(la && la[bs.toLowerCase()]);
|
|
24181
24192
|
}, Oc = (eo, bs) => {
|
|
@@ -24294,10 +24305,10 @@ var Dne = { exports: {} };
|
|
|
24294
24305
|
return ce[St] = bn[0], !0;
|
|
24295
24306
|
}, Ye = (St, Ot, bn, qn) => {
|
|
24296
24307
|
qe(Ot) && qe(bn) && qe(qn) && (ce[St] = ce[Ot] + " " + ce[bn] + " " + ce[qn], delete ce[Ot], delete ce[bn], delete ce[qn]);
|
|
24297
|
-
}, at = (St) => (ye = !0, v[St]),
|
|
24308
|
+
}, at = (St) => (ye = !0, v[St]), Tt = (St, Ot) => (ye && (St = St.replace(/\uFEFF[0-9]/g, (bn) => v[bn])), Ot || (St = St.replace(/\\([\'\";:])/g, "$1")), St), on = (St) => String.fromCharCode(parseInt(St.slice(1), 16)), yn = (St) => St.replace(/\\[0-9a-f]+/gi, on), Gt = (St, Ot, bn, qn, Go, fs) => {
|
|
24298
24309
|
if (Go = Go || fs, Go)
|
|
24299
|
-
return Go =
|
|
24300
|
-
if (Ot =
|
|
24310
|
+
return Go = Tt(Go), "'" + Go.replace(/\'/g, "\\'") + "'";
|
|
24311
|
+
if (Ot = Tt(Ot || bn || qn || ""), !e.allow_script_urls) {
|
|
24301
24312
|
const or = Ot.replace(/[\s\r\n]+/g, "");
|
|
24302
24313
|
if (/(java|vb)script:/i.test(or) || !e.allow_svg_data_urls && /^data:image\/svg/i.test(or))
|
|
24303
24314
|
return "";
|
|
@@ -24315,7 +24326,7 @@ var Dne = { exports: {} };
|
|
|
24315
24326
|
continue;
|
|
24316
24327
|
Ot === "font-weight" && bn === "700" ? bn = "bold" : (Ot === "color" || Ot === "background-color") && (bn = bn.toLowerCase()), m.test(bn) || BS(bn).each((qn) => {
|
|
24317
24328
|
bn = Wg(Um(qn)).toLowerCase();
|
|
24318
|
-
}), bn = bn.replace(o, Gt), ce[Ot] = ye ?
|
|
24329
|
+
}), bn = bn.replace(o, Gt), ce[Ot] = ye ? Tt(bn, !0) : bn;
|
|
24319
24330
|
}
|
|
24320
24331
|
}
|
|
24321
24332
|
We("border", "", !0), We("border", "-width"), We("border", "-color"), We("border", "-style"), We("padding", ""), We("margin", ""), Ye("border", "border-width", "border-style", "border-color"), ce.border === "medium none" && delete ce.border, ce["border-image"] === "none" && delete ce["border-image"];
|
|
@@ -24327,7 +24338,7 @@ var Dne = { exports: {} };
|
|
|
24327
24338
|
const me = (We, qe) => {
|
|
24328
24339
|
const Ye = qe[We];
|
|
24329
24340
|
if (Ye)
|
|
24330
|
-
for (let at = 0,
|
|
24341
|
+
for (let at = 0, Tt = Ye.length; at < Tt; at++) {
|
|
24331
24342
|
const on = Ye[at], yn = K[on];
|
|
24332
24343
|
yn && (ye += (ye.length > 0 ? " " : "") + on + ": " + yn + ";");
|
|
24333
24344
|
}
|
|
@@ -24583,7 +24594,7 @@ var Dne = { exports: {} };
|
|
|
24583
24594
|
});
|
|
24584
24595
|
}
|
|
24585
24596
|
});
|
|
24586
|
-
}, at = (ht, gt) => ht.cloneNode(gt),
|
|
24597
|
+
}, at = (ht, gt) => ht.cloneNode(gt), Tt = () => n.root_element || e.body, on = (ht) => {
|
|
24587
24598
|
const gt = gi(ht);
|
|
24588
24599
|
return {
|
|
24589
24600
|
x: gt.x,
|
|
@@ -24636,7 +24647,7 @@ var Dne = { exports: {} };
|
|
|
24636
24647
|
const vo = [];
|
|
24637
24648
|
let hs = me(ht);
|
|
24638
24649
|
tn = tn === void 0;
|
|
24639
|
-
const ca = ln || (
|
|
24650
|
+
const ca = ln || (Tt().nodeName !== "BODY" ? Tt().parentNode : null);
|
|
24640
24651
|
if (j(gt))
|
|
24641
24652
|
if (gt === "*")
|
|
24642
24653
|
gt = Nn;
|
|
@@ -24859,7 +24870,7 @@ var Dne = { exports: {} };
|
|
|
24859
24870
|
isBlock: ye,
|
|
24860
24871
|
root: null,
|
|
24861
24872
|
clone: at,
|
|
24862
|
-
getRoot:
|
|
24873
|
+
getRoot: Tt,
|
|
24863
24874
|
getViewPort: on,
|
|
24864
24875
|
getRect: qn,
|
|
24865
24876
|
getSize: bn,
|
|
@@ -24916,7 +24927,7 @@ var Dne = { exports: {} };
|
|
|
24916
24927
|
dispatch: dS,
|
|
24917
24928
|
getContentEditable: sb,
|
|
24918
24929
|
getContentEditableParent: (ht) => {
|
|
24919
|
-
const gt =
|
|
24930
|
+
const gt = Tt();
|
|
24920
24931
|
let ln = null;
|
|
24921
24932
|
for (let tn = ht; tn && tn !== gt && (ln = sb(tn), ln === null); tn = tn.parentNode)
|
|
24922
24933
|
;
|
|
@@ -27206,8 +27217,8 @@ Required: ` + n.join(", "));
|
|
|
27206
27217
|
return Ye;
|
|
27207
27218
|
}, V = (xe, We) => e.getParent(xe, (qe) => qe.parentNode === We, We), W = (xe, We, qe) => {
|
|
27208
27219
|
const Ye = qe ? "nextSibling" : "previousSibling";
|
|
27209
|
-
for (let at = xe,
|
|
27210
|
-
|
|
27220
|
+
for (let at = xe, Tt = at.parentNode; at && at !== We; at = Tt) {
|
|
27221
|
+
Tt = at.parentNode;
|
|
27211
27222
|
const on = I(at === xe ? at : at[Ye], Ye);
|
|
27212
27223
|
on.length && (qe || on.reverse(), o(E(on)));
|
|
27213
27224
|
}
|
|
@@ -27437,7 +27448,7 @@ Required: ` + n.join(", "));
|
|
|
27437
27448
|
]
|
|
27438
27449
|
}, CC = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, Ay = (e, n) => {
|
|
27439
27450
|
const o = n.dom, r = n.getDoc(), l = document, m = n.getBody();
|
|
27440
|
-
let v, S, E, I, V, W, K, ce, ye, me, xe, We, qe, Ye, at,
|
|
27451
|
+
let v, S, E, I, V, W, K, ce, ye, me, xe, We, qe, Ye, at, Tt, on;
|
|
27441
27452
|
const yn = (wn) => Fe(wn) && (d0(wn) || o.is(wn, "figure.image")), Gt = (wn) => vi(wn) || o.hasClass(wn, "mce-preview-object"), St = (wn, es) => {
|
|
27442
27453
|
if (CC(wn)) {
|
|
27443
27454
|
const ts = wn.touches[0];
|
|
@@ -27479,7 +27490,7 @@ Required: ` + n.join(", "));
|
|
|
27479
27490
|
left: sr,
|
|
27480
27491
|
top: Ni,
|
|
27481
27492
|
display: "block"
|
|
27482
|
-
}), E.innerHTML = Ye + " × " + at, I[2] < 0 && S.clientWidth <= Ye && o.setStyle(S, "left", ce + (me - Ye)), I[3] < 0 && S.clientHeight <= at && o.setStyle(S, "top", ye + (xe - at)), es = m.scrollWidth -
|
|
27493
|
+
}), E.innerHTML = Ye + " × " + at, I[2] < 0 && S.clientWidth <= Ye && o.setStyle(S, "left", ce + (me - Ye)), I[3] < 0 && S.clientHeight <= at && o.setStyle(S, "top", ye + (xe - at)), es = m.scrollWidth - Tt, ts = m.scrollHeight - on, es + ts !== 0 && o.setStyles(E, {
|
|
27483
27494
|
left: sr - es,
|
|
27484
27495
|
top: Ni - ts
|
|
27485
27496
|
}), qe || (Kk(n, v, me, xe, "corner-" + I.name), qe = !0);
|
|
@@ -27497,7 +27508,7 @@ Required: ` + n.join(", "));
|
|
|
27497
27508
|
W = Af.screenX, K = Af.screenY, me = eo.clientWidth, xe = eo.clientHeight, We = xe / me, I = Oc, I.name = ud, I.startPos = {
|
|
27498
27509
|
x: Ni * Oc[0] + ts,
|
|
27499
27510
|
y: zd * Oc[1] + Ii
|
|
27500
|
-
},
|
|
27511
|
+
}, Tt = m.scrollWidth, on = m.scrollHeight, V = o.add(m, "div", {
|
|
27501
27512
|
class: "mce-resize-backdrop",
|
|
27502
27513
|
"data-mce-bogus": "all"
|
|
27503
27514
|
}), o.setStyles(V, {
|
|
@@ -29272,12 +29283,12 @@ Required: ` + n.join(", "));
|
|
|
29272
29283
|
for (Hh(qe) ? qe = Ye = at : Ye = qe; Ye && Ye !== at; )
|
|
29273
29284
|
qe = Ye, Ye = Ye.parentNode;
|
|
29274
29285
|
n = qe === at ? at.innerHTML : v.getOuterHTML(qe);
|
|
29275
|
-
const
|
|
29286
|
+
const Tt = S.parse(n), on = DL(Tt), yn = on.bind(zO).getOr(Tt);
|
|
29276
29287
|
on.each((bn) => bn.replace(xe));
|
|
29277
|
-
const Gt = xe.children(), St = (l = xe.parent) !== null && l !== void 0 ? l :
|
|
29288
|
+
const Gt = xe.children(), St = (l = xe.parent) !== null && l !== void 0 ? l : Tt;
|
|
29278
29289
|
xe.unwrap();
|
|
29279
29290
|
const Ot = _t(Gt, (bn) => Y6(e.schema, bn, St));
|
|
29280
|
-
q6(Ot, e.schema, yn), tA(S.getNodeFilters(), S.getAttributeFilters(),
|
|
29291
|
+
q6(Ot, e.schema, yn), tA(S.getNodeFilters(), S.getAttributeFilters(), Tt), n = I.serialize(Tt), qe === at ? v.setHTML(at, n) : v.setOuterHTML(qe, n);
|
|
29281
29292
|
}
|
|
29282
29293
|
return KO(e, E), Sv(e, v.get("mce_marker")), TL(e.getBody()), kL(v, m.getStart(), e.schema), Dr(e.schema, e.getBody(), m.getStart()), n;
|
|
29283
29294
|
}, nx = (e) => e instanceof Wc, RL = (e) => {
|
|
@@ -29760,20 +29771,20 @@ Required: ` + n.join(", "));
|
|
|
29760
29771
|
const xe = SR(e, me, n, o, l);
|
|
29761
29772
|
return WL(e, m, xe, me, me, !0, v, o);
|
|
29762
29773
|
}, V = (me) => td(me) && Nn(me) && (me.id === "_start" || me.id === "_end"), W = (me) => Jt(m, (xe) => ew(e, xe, o, me, me)), K = (me) => {
|
|
29763
|
-
const xe = xr(me.childNodes), qe = W(me) || Jt(m, (
|
|
29774
|
+
const xe = xr(me.childNodes), qe = W(me) || Jt(m, (Tt) => KC(S, me, Tt)), Ye = me.parentNode;
|
|
29764
29775
|
if (!qe && Fe(Ye) && du(v) && W(Ye), v.deep && xe.length)
|
|
29765
|
-
for (let
|
|
29766
|
-
K(xe[
|
|
29776
|
+
for (let Tt = 0; Tt < xe.length; Tt++)
|
|
29777
|
+
K(xe[Tt]);
|
|
29767
29778
|
ze([
|
|
29768
29779
|
"underline",
|
|
29769
29780
|
"line-through",
|
|
29770
29781
|
"overline"
|
|
29771
|
-
], (
|
|
29772
|
-
Nn(me) && e.dom.getStyle(me, "text-decoration") ===
|
|
29782
|
+
], (Tt) => {
|
|
29783
|
+
Nn(me) && e.dom.getStyle(me, "text-decoration") === Tt && me.parentNode && cv(S, me.parentNode) === Tt && ew(e, {
|
|
29773
29784
|
deep: !1,
|
|
29774
29785
|
exact: !0,
|
|
29775
29786
|
inline: "span",
|
|
29776
|
-
styles: { textDecoration:
|
|
29787
|
+
styles: { textDecoration: Tt }
|
|
29777
29788
|
}, void 0, me);
|
|
29778
29789
|
});
|
|
29779
29790
|
}, ce = (me) => {
|
|
@@ -29812,8 +29823,8 @@ Required: ` + n.join(", "));
|
|
|
29812
29823
|
});
|
|
29813
29824
|
const Ye = S.createRng();
|
|
29814
29825
|
Ye.setStartAfter(xe), Ye.setEndBefore(We), og(S, Ye, (at) => {
|
|
29815
|
-
ze(at, (
|
|
29816
|
-
!td(
|
|
29826
|
+
ze(at, (Tt) => {
|
|
29827
|
+
!td(Tt) && !td(Tt.parentNode) && I(Tt);
|
|
29817
29828
|
});
|
|
29818
29829
|
}), I(xe), I(We), xe = ce(!0), We = ce();
|
|
29819
29830
|
} else
|
|
@@ -29901,7 +29912,7 @@ Required: ` + n.join(", "));
|
|
|
29901
29912
|
}, K = (ye, me, xe) => {
|
|
29902
29913
|
const We = [];
|
|
29903
29914
|
let qe = !0;
|
|
29904
|
-
const Ye = m.inline || m.block, at = W(Ye),
|
|
29915
|
+
const Ye = m.inline || m.block, at = W(Ye), Tt = (Gt) => u6(m) && fh(e, Gt, n, o), on = (Gt, St, Ot) => {
|
|
29905
29916
|
const bn = Vk(m) && sv(e.schema, Gt) && A1(e, St, Ye);
|
|
29906
29917
|
return Ot && bn;
|
|
29907
29918
|
}, yn = (Gt, St, Ot, bn) => {
|
|
@@ -29919,7 +29930,7 @@ Required: ` + n.join(", "));
|
|
|
29919
29930
|
St = null, nd(m) && ye.remove(bn);
|
|
29920
29931
|
return;
|
|
29921
29932
|
}
|
|
29922
|
-
if (
|
|
29933
|
+
if (Tt(bn)) {
|
|
29923
29934
|
St = null;
|
|
29924
29935
|
return;
|
|
29925
29936
|
}
|
|
@@ -30985,9 +30996,9 @@ Required: ` + n.join(", "));
|
|
|
30985
30996
|
ds.content && ds.content.ownerDocument && (l = ds.content.ownerDocument);
|
|
30986
30997
|
}
|
|
30987
30998
|
let Ye, at = "";
|
|
30988
|
-
const { implementation:
|
|
30999
|
+
const { implementation: Tt, createNodeIterator: on, createDocumentFragment: yn, getElementsByTagName: Gt } = l, { importNode: St } = o;
|
|
30989
31000
|
let Ot = {};
|
|
30990
|
-
n.isSupported = typeof dH == "function" && typeof qe == "function" &&
|
|
31001
|
+
n.isSupported = typeof dH == "function" && typeof qe == "function" && Tt && Tt.createHTMLDocument !== void 0;
|
|
30991
31002
|
const { MUSTACHE_EXPR: bn, ERB_EXPR: qn, TMPLIT_EXPR: Go, DATA_ATTR: fs, ARIA_ATTR: or, IS_SCRIPT_OR_DATA: gr, ATTR_WHITESPACE: Ur } = NA;
|
|
30992
31003
|
let { IS_ALLOWED_URI: Gl } = NA, pr = null;
|
|
30993
31004
|
const dn = hr({}, [
|
|
@@ -31184,7 +31195,7 @@ Required: ` + n.join(", "));
|
|
|
31184
31195
|
} catch {
|
|
31185
31196
|
}
|
|
31186
31197
|
if (!Un || !Un.documentElement) {
|
|
31187
|
-
Un =
|
|
31198
|
+
Un = Tt.createDocument(Ip, "template", null);
|
|
31188
31199
|
try {
|
|
31189
31200
|
Un.documentElement.innerHTML = nb ? at : ja;
|
|
31190
31201
|
} catch {
|
|
@@ -31702,8 +31713,8 @@ Required: ` + n.join(", "));
|
|
|
31702
31713
|
if (qe.type === 1) {
|
|
31703
31714
|
const at = n.getElementRule(qe.name);
|
|
31704
31715
|
if (l && at) {
|
|
31705
|
-
const
|
|
31706
|
-
at.paddInEmptyBlock &&
|
|
31716
|
+
const Tt = Gy(n, m, v, qe);
|
|
31717
|
+
at.paddInEmptyBlock && Tt && ce(qe) ? G6(o, r, ye, qe) : at.removeEmpty && Tt ? ye(qe) ? qe.remove() : qe.unwrap() : at.paddEmpty && (Tt || FO(qe)) && G6(o, r, ye, qe);
|
|
31707
31718
|
}
|
|
31708
31719
|
} else if (qe.type === 3 && !K(qe)) {
|
|
31709
31720
|
let at = (Ye = qe.value) !== null && Ye !== void 0 ? Ye : "";
|
|
@@ -31721,16 +31732,16 @@ Required: ` + n.join(", "));
|
|
|
31721
31732
|
root_name: "body",
|
|
31722
31733
|
sanitize: !0,
|
|
31723
31734
|
...e
|
|
31724
|
-
}, m = new DOMParser(), v = EH(l, n), S = (Ye, at,
|
|
31725
|
-
const on =
|
|
31735
|
+
}, m = new DOMParser(), v = EH(l, n), S = (Ye, at, Tt = "html") => {
|
|
31736
|
+
const on = Tt === "xhtml" ? "application/xhtml+xml" : "text/html", yn = jn(n.getSpecialElements(), at.toLowerCase()), Gt = yn ? `<${at}>${Ye}</${at}>` : Ye, St = Tt === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${Gt}</body></html>` : `<body>${Gt}</body>`, Ot = m.parseFromString(St, on).body;
|
|
31726
31737
|
return v.sanitizeHtmlElement(Ot, on), yn ? Ot.firstChild : Ot;
|
|
31727
31738
|
}, E = o.addFilter, I = o.getFilters, V = o.removeFilter, W = r.addFilter, K = r.getFilters, ce = r.removeFilter, ye = (Ye, at) => {
|
|
31728
31739
|
Y6(n, Ye) && at.push(Ye);
|
|
31729
31740
|
}, me = (Ye, at) => {
|
|
31730
|
-
const
|
|
31731
|
-
return at.type === 3 || on && !
|
|
31741
|
+
const Tt = j(at.attr(lw)), on = at.type === 1 && !jn(Ye, at.name) && !zc(n, at) && !ta(at.name);
|
|
31742
|
+
return at.type === 3 || on && !Tt;
|
|
31732
31743
|
}, xe = (Ye, at) => {
|
|
31733
|
-
const
|
|
31744
|
+
const Tt = Ac(cw("script,style,head,html,body,title,meta,param"), n.getBlockElements()), on = /^[ \t\r\n]+/, yn = /[ \t\r\n]+$/;
|
|
31734
31745
|
let Gt = Ye.firstChild, St = null;
|
|
31735
31746
|
const Ot = (bn) => {
|
|
31736
31747
|
var qn, Go;
|
|
@@ -31739,7 +31750,7 @@ Required: ` + n.join(", "));
|
|
|
31739
31750
|
if (n.isValidChild(Ye.name, at.toLowerCase())) {
|
|
31740
31751
|
for (; Gt; ) {
|
|
31741
31752
|
const bn = Gt.next;
|
|
31742
|
-
me(
|
|
31753
|
+
me(Tt, Gt) ? (St || (St = new Wc(at, 1), St.attr(l.forced_root_block_attrs), Ye.insert(St, Gt)), St.append(Gt)) : (Ot(St), St = null), Gt = bn;
|
|
31743
31754
|
}
|
|
31744
31755
|
Ot(St);
|
|
31745
31756
|
}
|
|
@@ -31752,8 +31763,8 @@ Required: ` + n.join(", "));
|
|
|
31752
31763
|
getNodeFilters: I,
|
|
31753
31764
|
removeNodeFilter: V,
|
|
31754
31765
|
parse: (Ye, at = {}) => {
|
|
31755
|
-
var
|
|
31756
|
-
const on = l.validate, yn = (
|
|
31766
|
+
var Tt;
|
|
31767
|
+
const on = l.validate, yn = (Tt = at.context) !== null && Tt !== void 0 ? Tt : l.root_name, Gt = S(Ye, yn, at.format);
|
|
31757
31768
|
ko(n, Gt);
|
|
31758
31769
|
const St = new Wc(yn, 11);
|
|
31759
31770
|
oM(St, Gt, n.getSpecialElements(), v.sanitizeNamespaceElement), Gt.innerHTML = "";
|
|
@@ -31997,19 +32008,19 @@ Required: ` + n.join(", "));
|
|
|
31997
32008
|
return null;
|
|
31998
32009
|
const xe = ye - me, We = me + ye, qe = (We % 2 === 0 ? We : We + 1) / 2;
|
|
31999
32010
|
r[1 + qe] = V, l[1 + qe] = W + 1;
|
|
32000
|
-
let Ye, at,
|
|
32011
|
+
let Ye, at, Tt, on, yn;
|
|
32001
32012
|
for (Ye = 0; Ye <= qe; ++Ye) {
|
|
32002
32013
|
for (at = -Ye; at <= Ye; at += 2) {
|
|
32003
|
-
for (
|
|
32004
|
-
r[
|
|
32005
|
-
if (xe % 2 !== 0 && xe - Ye <= at && at <= xe + Ye && l[
|
|
32006
|
-
return S(l[
|
|
32014
|
+
for (Tt = at + qe, at === -Ye || at !== Ye && r[Tt - 1] < r[Tt + 1] ? r[Tt] = r[Tt + 1] : r[Tt] = r[Tt - 1] + 1, on = r[Tt], yn = on - V + K - at; on < W && yn < ce && e[on] === n[yn]; )
|
|
32015
|
+
r[Tt] = ++on, ++yn;
|
|
32016
|
+
if (xe % 2 !== 0 && xe - Ye <= at && at <= xe + Ye && l[Tt - xe] <= r[Tt])
|
|
32017
|
+
return S(l[Tt - xe], at + V - K, W, ce);
|
|
32007
32018
|
}
|
|
32008
32019
|
for (at = xe - Ye; at <= xe + Ye; at += 2) {
|
|
32009
|
-
for (
|
|
32010
|
-
l[
|
|
32011
|
-
if (xe % 2 === 0 && -Ye <= at && at <= Ye && l[
|
|
32012
|
-
return S(l[
|
|
32020
|
+
for (Tt = at + qe - xe, at === xe - Ye || at !== xe + Ye && l[Tt + 1] <= l[Tt - 1] ? l[Tt] = l[Tt + 1] - 1 : l[Tt] = l[Tt - 1], on = l[Tt] - 1, yn = on - V + K - at; on >= V && yn >= K && e[on] === n[yn]; )
|
|
32021
|
+
l[Tt] = on--, yn--;
|
|
32022
|
+
if (xe % 2 === 0 && -Ye <= at && at <= Ye && l[Tt] <= r[Tt + xe])
|
|
32023
|
+
return S(l[Tt], at + V - K, W, ce);
|
|
32013
32024
|
}
|
|
32014
32025
|
}
|
|
32015
32026
|
return null;
|
|
@@ -32433,7 +32444,7 @@ Required: ` + n.join(", "));
|
|
|
32433
32444
|
range: dn,
|
|
32434
32445
|
forward: Zn
|
|
32435
32446
|
});
|
|
32436
|
-
},
|
|
32447
|
+
}, Tt = (dn) => (I(e.getOuterHTML(dn)), dn), on = () => MF(r.getBody(), Ye()), yn = (dn, Zn) => IF(e, Ye(), dn, Zn), Gt = () => {
|
|
32437
32448
|
const dn = qe(), Zn = dn == null ? void 0 : dn.anchorNode, ms = dn == null ? void 0 : dn.focusNode;
|
|
32438
32449
|
if (!dn || !Zn || !ms || jp(Zn) || jp(ms))
|
|
32439
32450
|
return !0;
|
|
@@ -32460,7 +32471,7 @@ Required: ` + n.join(", "));
|
|
|
32460
32471
|
isCollapsed: me,
|
|
32461
32472
|
isEditable: xe,
|
|
32462
32473
|
isForward: Gt,
|
|
32463
|
-
setNode:
|
|
32474
|
+
setNode: Tt,
|
|
32464
32475
|
getNode: on,
|
|
32465
32476
|
getSel: qe,
|
|
32466
32477
|
setRng: at,
|
|
@@ -33070,8 +33081,8 @@ Options:${v}${o.join(v)}` : "";
|
|
|
33070
33081
|
}, bw = (e, n) => {
|
|
33071
33082
|
const o = {}, r = (me, xe) => me ? me.replace(/\/$/, "") + "/" + xe.replace(/^\//, "") : xe, l = (me, xe) => new Promise((We, qe) => {
|
|
33072
33083
|
const Ye = new XMLHttpRequest();
|
|
33073
|
-
Ye.open("POST", n.url), Ye.withCredentials = n.credentials, Ye.upload.onprogress = (
|
|
33074
|
-
xe(
|
|
33084
|
+
Ye.open("POST", n.url), Ye.withCredentials = n.credentials, Ye.upload.onprogress = (Tt) => {
|
|
33085
|
+
xe(Tt.loaded / Tt.total * 100);
|
|
33075
33086
|
}, Ye.onerror = () => {
|
|
33076
33087
|
qe("Image upload failed due to a XHR Transport error. Code: " + Ye.status);
|
|
33077
33088
|
}, Ye.onload = () => {
|
|
@@ -33079,12 +33090,12 @@ Options:${v}${o.join(v)}` : "";
|
|
|
33079
33090
|
qe("HTTP Error: " + Ye.status);
|
|
33080
33091
|
return;
|
|
33081
33092
|
}
|
|
33082
|
-
const
|
|
33083
|
-
if (!
|
|
33093
|
+
const Tt = JSON.parse(Ye.responseText);
|
|
33094
|
+
if (!Tt || !j(Tt.location)) {
|
|
33084
33095
|
qe("Invalid JSON: " + Ye.responseText);
|
|
33085
33096
|
return;
|
|
33086
33097
|
}
|
|
33087
|
-
We(r(n.basePath,
|
|
33098
|
+
We(r(n.basePath, Tt.location));
|
|
33088
33099
|
};
|
|
33089
33100
|
const at = new FormData();
|
|
33090
33101
|
at.append("file", me.blob(), me.filename()), Ye.send(at);
|
|
@@ -33106,12 +33117,12 @@ Options:${v}${o.join(v)}` : "";
|
|
|
33106
33117
|
}, V = (me, xe, We) => (e.markPending(me.blobUri()), new Promise((qe) => {
|
|
33107
33118
|
let Ye, at;
|
|
33108
33119
|
try {
|
|
33109
|
-
const
|
|
33120
|
+
const Tt = () => {
|
|
33110
33121
|
Ye && (Ye.close(), at = Zt);
|
|
33111
33122
|
}, on = (Gt) => {
|
|
33112
|
-
|
|
33123
|
+
Tt(), e.markUploaded(me.blobUri(), Gt), I(me.blobUri(), S(me, Gt)), qe(S(me, Gt));
|
|
33113
33124
|
}, yn = (Gt) => {
|
|
33114
|
-
|
|
33125
|
+
Tt(), e.removeFailed(me.blobUri()), I(me.blobUri(), E(me, Gt)), qe(E(me, Gt));
|
|
33115
33126
|
};
|
|
33116
33127
|
at = (Gt) => {
|
|
33117
33128
|
Gt < 0 || Gt > 100 || Y.from(Ye).orThunk(() => Y.from(We).map(pt)).each((St) => {
|
|
@@ -33120,8 +33131,8 @@ Options:${v}${o.join(v)}` : "";
|
|
|
33120
33131
|
}, xe(me, at).then(on, (Gt) => {
|
|
33121
33132
|
yn(j(Gt) ? { message: Gt } : Gt);
|
|
33122
33133
|
});
|
|
33123
|
-
} catch (
|
|
33124
|
-
qe(E(me,
|
|
33134
|
+
} catch (Tt) {
|
|
33135
|
+
qe(E(me, Tt));
|
|
33125
33136
|
}
|
|
33126
33137
|
})), W = (me) => me === l, K = (me) => {
|
|
33127
33138
|
const xe = me.blobUri();
|
|
@@ -33148,31 +33159,31 @@ Options:${v}${o.join(v)}` : "";
|
|
|
33148
33159
|
}, aV = (e) => {
|
|
33149
33160
|
const n = TX();
|
|
33150
33161
|
let o, r;
|
|
33151
|
-
const l = n9(), m = [], v = (Ye) => (at) => e.selection ? Ye(at) : [], S = (Ye) => Ye + (Ye.indexOf("?") === -1 ? "?" : "&") + (/* @__PURE__ */ new Date()).getTime(), E = (Ye, at,
|
|
33162
|
+
const l = n9(), m = [], v = (Ye) => (at) => e.selection ? Ye(at) : [], S = (Ye) => Ye + (Ye.indexOf("?") === -1 ? "?" : "&") + (/* @__PURE__ */ new Date()).getTime(), E = (Ye, at, Tt) => {
|
|
33152
33163
|
let on = 0;
|
|
33153
33164
|
do
|
|
33154
|
-
on = Ye.indexOf(at, on), on !== -1 && (Ye = Ye.substring(0, on) +
|
|
33165
|
+
on = Ye.indexOf(at, on), on !== -1 && (Ye = Ye.substring(0, on) + Tt + Ye.substr(on + at.length), on += Tt.length - at.length + 1);
|
|
33155
33166
|
while (on !== -1);
|
|
33156
33167
|
return Ye;
|
|
33157
|
-
}, I = (Ye, at,
|
|
33158
|
-
const on = `src="${
|
|
33159
|
-
return Ye = E(Ye, `src="${at}"`, on), Ye = E(Ye, 'data-mce-src="' + at + '"', 'data-mce-src="' +
|
|
33168
|
+
}, I = (Ye, at, Tt) => {
|
|
33169
|
+
const on = `src="${Tt}"${Tt === fn.transparentSrc ? ' data-mce-placeholder="1"' : ""}`;
|
|
33170
|
+
return Ye = E(Ye, `src="${at}"`, on), Ye = E(Ye, 'data-mce-src="' + at + '"', 'data-mce-src="' + Tt + '"'), Ye;
|
|
33160
33171
|
}, V = (Ye, at) => {
|
|
33161
|
-
ze(e.undoManager.data, (
|
|
33162
|
-
|
|
33172
|
+
ze(e.undoManager.data, (Tt) => {
|
|
33173
|
+
Tt.type === "fragmented" ? Tt.fragments = mt(Tt.fragments, (on) => I(on, Ye, at)) : Tt.content = I(Tt.content, Ye, at);
|
|
33163
33174
|
});
|
|
33164
33175
|
}, W = (Ye, at) => {
|
|
33165
|
-
const
|
|
33176
|
+
const Tt = e.convertURL(at, "src");
|
|
33166
33177
|
V(Ye.src, at), ga(Me.fromDom(Ye), {
|
|
33167
33178
|
src: I3(e) ? S(at) : at,
|
|
33168
|
-
"data-mce-src":
|
|
33179
|
+
"data-mce-src": Tt
|
|
33169
33180
|
});
|
|
33170
33181
|
}, K = () => (o || (o = Nx(e, l)), xe().then(v((Ye) => {
|
|
33171
|
-
const at = mt(Ye, (
|
|
33172
|
-
return o.upload(at, o9(e)).then(v((
|
|
33182
|
+
const at = mt(Ye, (Tt) => Tt.blobInfo);
|
|
33183
|
+
return o.upload(at, o9(e)).then(v((Tt) => {
|
|
33173
33184
|
const on = [];
|
|
33174
33185
|
let yn = !1;
|
|
33175
|
-
const Gt = mt(
|
|
33186
|
+
const Gt = mt(Tt, (St, Ot) => {
|
|
33176
33187
|
const { blobInfo: bn, image: qn } = Ye[Ot];
|
|
33177
33188
|
let Go = !1;
|
|
33178
33189
|
return St.status && Bl(e) ? (St.url && !zn(qn.src, St.url) && (yn = !0), n.removeByUri(qn.src), ld(e) || W(qn, St.url)) : St.error && (St.error.remove && (V(qn.src, fn.transparentSrc), on.push(qn), Go = !0), kX(e, St.error.message)), {
|
|
@@ -33193,18 +33204,18 @@ Options:${v}${o.join(v)}` : "";
|
|
|
33193
33204
|
}))), ce = () => Fr(e) ? K() : Promise.resolve([]), ye = (Ye) => ks(m, (at) => at(Ye)), me = (Ye) => {
|
|
33194
33205
|
m.push(Ye);
|
|
33195
33206
|
}, xe = () => (r || (r = eV(l, n)), r.findAll(e.getBody(), ye).then(v((Ye) => {
|
|
33196
|
-
const at = _t(Ye, (
|
|
33197
|
-
return ld(e) || ze(at, (
|
|
33198
|
-
V(
|
|
33207
|
+
const at = _t(Ye, (Tt) => j(Tt) ? (_f(e, Tt), !1) : Tt.uriType !== "blob");
|
|
33208
|
+
return ld(e) || ze(at, (Tt) => {
|
|
33209
|
+
V(Tt.image.src, Tt.blobInfo.blobUri()), Tt.image.src = Tt.blobInfo.blobUri(), Tt.image.removeAttribute("data-mce-src");
|
|
33199
33210
|
}), at;
|
|
33200
33211
|
}))), We = () => {
|
|
33201
33212
|
n.destroy(), l.destroy(), r = o = null;
|
|
33202
|
-
}, qe = (Ye) => Ye.replace(/src="(blob:[^"]+)"/g, (at,
|
|
33203
|
-
const on = l.getResultUri(
|
|
33213
|
+
}, qe = (Ye) => Ye.replace(/src="(blob:[^"]+)"/g, (at, Tt) => {
|
|
33214
|
+
const on = l.getResultUri(Tt);
|
|
33204
33215
|
if (on)
|
|
33205
33216
|
return 'src="' + on + '"';
|
|
33206
|
-
let yn = n.getByUri(
|
|
33207
|
-
return yn || (yn = Sn(e.editorManager.get(), (Gt, St) => Gt || St.editorUpload && St.editorUpload.blobCache.getByUri(
|
|
33217
|
+
let yn = n.getByUri(Tt);
|
|
33218
|
+
return yn || (yn = Sn(e.editorManager.get(), (Gt, St) => Gt || St.editorUpload && St.editorUpload.blobCache.getByUri(Tt), void 0)), yn ? 'src="data:' + yn.blob().type + ";base64," + yn.base64() + '"' : at;
|
|
33208
33219
|
});
|
|
33209
33220
|
return e.on("SetContent", () => {
|
|
33210
33221
|
Fr(e) ? ce() : xe();
|
|
@@ -33215,10 +33226,10 @@ Options:${v}${o.join(v)}` : "";
|
|
|
33215
33226
|
}), e.on("PostRender", () => {
|
|
33216
33227
|
e.parser.addNodeFilter("img", (Ye) => {
|
|
33217
33228
|
ze(Ye, (at) => {
|
|
33218
|
-
const
|
|
33219
|
-
if (!
|
|
33229
|
+
const Tt = at.attr("src");
|
|
33230
|
+
if (!Tt || n.getByUri(Tt))
|
|
33220
33231
|
return;
|
|
33221
|
-
const on = l.getResultUri(
|
|
33232
|
+
const on = l.getResultUri(Tt);
|
|
33222
33233
|
on && at.attr("src", on);
|
|
33223
33234
|
});
|
|
33224
33235
|
});
|
|
@@ -35812,7 +35823,7 @@ Input object: ` + i8(e.input), uN = (e, n) => SW(e, Jo(n, C2)), NW = Nt(AW), h4
|
|
|
35812
35823
|
}, WN = {
|
|
35813
35824
|
insert: (e, n) => {
|
|
35814
35825
|
let o, r, l, m, v = !1;
|
|
35815
|
-
const S = e.dom, E = e.schema, I = E.getNonEmptyElements(), V = e.selection.getRng(), W = nc(e), K = Me.fromDom(V.startContainer), ce = pd(K, V.startOffset), ye = ce.exists((Ot) => xt(Ot) && !Bo(Ot)), me = V.collapsed && ye, xe = (Ot, bn) => HN(e, o, on,
|
|
35826
|
+
const S = e.dom, E = e.schema, I = E.getNonEmptyElements(), V = e.selection.getRng(), W = nc(e), K = Me.fromDom(V.startContainer), ce = pd(K, V.startOffset), ye = ce.exists((Ot) => xt(Ot) && !Bo(Ot)), me = V.collapsed && ye, xe = (Ot, bn) => HN(e, o, on, Tt, nk(e), Ot, bn), We = (Ot) => {
|
|
35816
35827
|
const bn = T8(Ot, o, r);
|
|
35817
35828
|
if (Ht(o) && (Ot ? bn > 0 : bn < o.data.length))
|
|
35818
35829
|
return !1;
|
|
@@ -35844,8 +35855,8 @@ Input object: ` + i8(e.input), uN = (e, n) => SW(e, Jo(n, C2)), NW = Nt(AW), h4
|
|
|
35844
35855
|
}), o = V.startContainer, r = V.startOffset;
|
|
35845
35856
|
const Ye = !!(n && n.shiftKey), at = !!(n && n.ctrlKey);
|
|
35846
35857
|
Nn(o) && o.hasChildNodes() && !me && (v = r > o.childNodes.length - 1, o = o.childNodes[Math.min(r, o.childNodes.length - 1)] || o, v && Ht(o) ? r = o.data.length : r = 0);
|
|
35847
|
-
const
|
|
35848
|
-
if (!
|
|
35858
|
+
const Tt = j1(S, o);
|
|
35859
|
+
if (!Tt || uj(e, o))
|
|
35849
35860
|
return;
|
|
35850
35861
|
Ye || (o = fj(e, W, V, o, r));
|
|
35851
35862
|
let on = S.getParent(o, S.isBlock) || S.getRoot();
|
|
@@ -37218,7 +37229,7 @@ Input object: ` + i8(e.input), uN = (e, n) => SW(e, Jo(n, C2)), NW = Nt(AW), h4
|
|
|
37218
37229
|
return null;
|
|
37219
37230
|
}, at = () => {
|
|
37220
37231
|
S && S.removeAttribute(v), Qd(Me.fromDom(e.getBody()), "#" + m).each(Os), S = null;
|
|
37221
|
-
},
|
|
37232
|
+
}, Tt = () => {
|
|
37222
37233
|
l.destroy(), S = null;
|
|
37223
37234
|
}, on = () => {
|
|
37224
37235
|
l.hide();
|
|
@@ -37227,7 +37238,7 @@ Input object: ` + i8(e.input), uN = (e, n) => SW(e, Jo(n, C2)), NW = Nt(AW), h4
|
|
|
37227
37238
|
showCaret: W,
|
|
37228
37239
|
showBlockCaretContainer: K,
|
|
37229
37240
|
hideFakeCaret: on,
|
|
37230
|
-
destroy:
|
|
37241
|
+
destroy: Tt
|
|
37231
37242
|
};
|
|
37232
37243
|
}, aG = (e, n) => {
|
|
37233
37244
|
let o = n;
|
|
@@ -37634,7 +37645,7 @@ Input object: ` + i8(e.input), uN = (e, n) => SW(e, Jo(n, C2)), NW = Nt(AW), h4
|
|
|
37634
37645
|
});
|
|
37635
37646
|
}
|
|
37636
37647
|
});
|
|
37637
|
-
},
|
|
37648
|
+
}, Tt = () => {
|
|
37638
37649
|
e.on("keydown", (pn) => {
|
|
37639
37650
|
if (!ce(pn) && pn.keyCode === o && m.isCollapsed() && m.getRng().startOffset === 0) {
|
|
37640
37651
|
const uo = m.getNode().previousSibling;
|
|
@@ -37736,7 +37747,7 @@ Input object: ` + i8(e.input), uN = (e, n) => SW(e, Jo(n, C2)), NW = Nt(AW), h4
|
|
|
37736
37747
|
}, Zn = () => {
|
|
37737
37748
|
I && (xe(), Ye(), Ur(), me(), V && (Go(), fs(), gr())), E && (qe(), yn(), qn(), or());
|
|
37738
37749
|
}, ms = () => {
|
|
37739
|
-
on(), ye(), fn.windowsPhone || bn(), I && (xe(), Ye(), St(), Ur(),
|
|
37750
|
+
on(), ye(), fn.windowsPhone || bn(), I && (xe(), Ye(), St(), Ur(), Tt(), Gl(), V ? (Go(), fs(), gr()) : me()), E && (We(), qe(), at(), yn(), Gt(), qn(), or(), Tt());
|
|
37740
37751
|
};
|
|
37741
37752
|
return ld(e) ? Zn() : ms(), {
|
|
37742
37753
|
refreshContentEditable: pr,
|
|
@@ -40373,7 +40384,7 @@ tinymce.IconManager.add("default", {
|
|
|
40373
40384
|
throw console.error(M, f), new Error(M);
|
|
40374
40385
|
}
|
|
40375
40386
|
return Io(x.childNodes[0]);
|
|
40376
|
-
},
|
|
40387
|
+
}, Hn = (f, p) => {
|
|
40377
40388
|
const x = (p || document).createElement(f);
|
|
40378
40389
|
return Io(x);
|
|
40379
40390
|
}, Xn = (f, p) => {
|
|
@@ -40385,7 +40396,7 @@ tinymce.IconManager.add("default", {
|
|
|
40385
40396
|
return { dom: f };
|
|
40386
40397
|
}, He = {
|
|
40387
40398
|
fromHtml: yt,
|
|
40388
|
-
fromTag:
|
|
40399
|
+
fromTag: Hn,
|
|
40389
40400
|
fromText: Xn,
|
|
40390
40401
|
fromDom: Io,
|
|
40391
40402
|
fromPoint: (f, p, w) => pe.from(f.dom.elementFromPoint(p, w)).map(Io)
|
|
@@ -41263,7 +41274,7 @@ tinymce.IconManager.add("default", {
|
|
|
41263
41274
|
}, Ve = (f, p, w) => {
|
|
41264
41275
|
const x = f[w].element, M = He.fromTag("td");
|
|
41265
41276
|
Ys(M, He.fromTag("br")), (p ? Ys : ar)(x, M);
|
|
41266
|
-
},
|
|
41277
|
+
}, kt = (f, p, w, x) => {
|
|
41267
41278
|
const M = pt(f, (le) => le.section !== "colgroup"), L = p.grid.columns, Q = p.grid.rows;
|
|
41268
41279
|
for (let le = 0; le < Q; le++) {
|
|
41269
41280
|
let be = !1;
|
|
@@ -41285,7 +41296,7 @@ tinymce.IconManager.add("default", {
|
|
|
41285
41296
|
return w.getCellDelta(be);
|
|
41286
41297
|
}, ko = (f, p) => {
|
|
41287
41298
|
const w = (hn) => So(hn.element, p), x = vl(f), M = Ff(x), L = P.getTableSize(f), Q = us.generate(M), le = he(Q, w), be = "th:not(" + p + "),td:not(" + p + ")", $e = Bf(x, "th,td", (hn) => So(hn, be));
|
|
41288
|
-
ct($e, Zr),
|
|
41299
|
+
ct($e, Zr), kt(M, Q, le, w);
|
|
41289
41300
|
const nt = us.fromTable(f), Yt = En(f, nt, L, le);
|
|
41290
41301
|
return en(x, le, Q, Yt), x;
|
|
41291
41302
|
}, Xo = " ", zs = ((f, p) => {
|
|
@@ -44905,8 +44916,8 @@ Required: ` + p.join(", "));
|
|
|
44905
44916
|
});
|
|
44906
44917
|
}, yt = (fe, _e) => {
|
|
44907
44918
|
const ot = fe.dom, Rn = window.getComputedStyle(ot).getPropertyValue(_e);
|
|
44908
|
-
return Rn === "" && !Yi(fe) ?
|
|
44909
|
-
},
|
|
44919
|
+
return Rn === "" && !Yi(fe) ? Hn(ot, _e) : Rn;
|
|
44920
|
+
}, Hn = (fe, _e) => Mo(fe) ? fe.style.getPropertyValue(_e) : "", Xn = (fe, _e, ot, xt, Rn, oo, Ar) => ({
|
|
44910
44921
|
target: fe,
|
|
44911
44922
|
x: _e,
|
|
44912
44923
|
y: ot,
|
|
@@ -45646,7 +45657,7 @@ Required: ` + p.join(", "));
|
|
|
45646
45657
|
}, yt = (q, ge, Ee) => {
|
|
45647
45658
|
const ut = Yi(q, Ee);
|
|
45648
45659
|
Mr(Ee, ut, ge, "caption", (mn, Zo, An) => ka(mn)), Mr(Ee, ut, ge, "src", Qt), Mr(Ee, ut, ge, "title", Qt), Mr(Ee, ut, ge, "width", ya("width", q)), Mr(Ee, ut, ge, "height", ya("height", q)), Mr(Ee, ut, ge, "class", Qt), Mr(Ee, ut, ge, "style", it((mn, Zo) => Qt(mn, "style", Zo), q)), Mr(Ee, ut, ge, "hspace", it(Pa, q)), Mr(Ee, ut, ge, "vspace", it(Ca, q)), Mr(Ee, ut, ge, "border", it(Is, q)), Mr(Ee, ut, ge, "borderStyle", it(jn, q)), ke(Ee, ut, ge);
|
|
45649
|
-
},
|
|
45660
|
+
}, Hn = (q, ge) => {
|
|
45650
45661
|
const Ee = q.dom.styles.parse(ge), ut = Bs(Ee), mn = q.dom.styles.parse(q.dom.styles.serialize(ut));
|
|
45651
45662
|
return q.dom.styles.serialize(mn);
|
|
45652
45663
|
}, Xn = (q) => {
|
|
@@ -45658,9 +45669,9 @@ Required: ` + p.join(", "));
|
|
|
45658
45669
|
return Zo && (Ee = ut.split(Zo, ge)) !== null && Ee !== void 0 ? Ee : ge;
|
|
45659
45670
|
}, qs = (q) => {
|
|
45660
45671
|
const ge = Xn(q);
|
|
45661
|
-
return ge ? Yi((Ee) =>
|
|
45672
|
+
return ge ? Yi((Ee) => Hn(q, Ee), ge) : rr();
|
|
45662
45673
|
}, He = (q, ge) => {
|
|
45663
|
-
const Ee = Ga((mn) =>
|
|
45674
|
+
const Ee = Ga((mn) => Hn(q, mn), ge);
|
|
45664
45675
|
q.dom.setAttrib(Ee, "data-mce-id", "__mcenew"), q.focus(), q.selection.setContent(Ee.outerHTML);
|
|
45665
45676
|
const ut = q.dom.select('*[data-mce-id="__mcenew"]')[0];
|
|
45666
45677
|
if (q.dom.setAttrib(ut, "data-mce-id", null), Ba(ut)) {
|
|
@@ -45678,7 +45689,7 @@ Required: ` + p.join(", "));
|
|
|
45678
45689
|
}, Be = (q, ge) => {
|
|
45679
45690
|
const Ee = Xn(q);
|
|
45680
45691
|
if (Ee)
|
|
45681
|
-
if (yt((ut) =>
|
|
45692
|
+
if (yt((ut) => Hn(q, ut), ge, Ee), So(q, Ee), Ba(Ee.parentNode)) {
|
|
45682
45693
|
const ut = Ee.parentNode;
|
|
45683
45694
|
Io(q, ut), q.selection.select(Ee.parentNode);
|
|
45684
45695
|
} else
|
|
@@ -45693,7 +45704,7 @@ Required: ` + p.join(", "));
|
|
|
45693
45704
|
const Ee = Xn(q);
|
|
45694
45705
|
if (Ee) {
|
|
45695
45706
|
const mn = {
|
|
45696
|
-
...Yi((An) =>
|
|
45707
|
+
...Yi((An) => Hn(q, An), Ee),
|
|
45697
45708
|
...ge
|
|
45698
45709
|
}, Zo = It(q, mn);
|
|
45699
45710
|
mn.src ? Be(q, Zo) : Oe(q, Ee);
|
|
@@ -46068,7 +46079,7 @@ Required: ` + p.join(", "));
|
|
|
46068
46079
|
q.editorUpload.blobCache.add(ge);
|
|
46069
46080
|
}, Kt = (q) => (ge) => {
|
|
46070
46081
|
q.windowManager.alert(ge);
|
|
46071
|
-
}, io = (q) => (ge) =>
|
|
46082
|
+
}, io = (q) => (ge) => Hn(q, ge), Hs = (q) => (ge) => q.dom.parseStyle(ge), Ks = (q) => (ge, Ee) => q.dom.serializeStyle(ge, Ee), Ns = (q) => (ge) => Fn(q).upload([ge], !1).then((Ee) => {
|
|
46072
46083
|
var ut;
|
|
46073
46084
|
return Ee.length === 0 ? Promise.reject("Failed to upload image") : Ee[0].status === !1 ? Promise.reject((ut = Ee[0].error) === null || ut === void 0 ? void 0 : ut.message) : Ee[0];
|
|
46074
46085
|
}), lr = (q) => {
|
|
@@ -46660,7 +46671,7 @@ Required: ` + p.join(", "));
|
|
|
46660
46671
|
href: "mailto:" + Pe
|
|
46661
46672
|
})
|
|
46662
46673
|
}) : ae.none();
|
|
46663
|
-
},
|
|
46674
|
+
}, Hn = (de, Pe) => (Xe) => {
|
|
46664
46675
|
const lt = Xe.href;
|
|
46665
46676
|
return de === 1 && !Si(lt) || de === 0 && /^\s*www(\.|\d\.)/i.test(lt) ? ae.some({
|
|
46666
46677
|
message: `The URL you entered seems to be an external link. Do you want to add the required ${Pe}:// prefix?`,
|
|
@@ -46671,7 +46682,7 @@ Required: ` + p.join(", "));
|
|
|
46671
46682
|
}) : ae.none();
|
|
46672
46683
|
}, Io = { preprocess: (de, Pe) => pe([
|
|
46673
46684
|
yt,
|
|
46674
|
-
|
|
46685
|
+
Hn(Nt(de), $t(de))
|
|
46675
46686
|
], (Xe) => Xe(Pe)).fold(() => Promise.resolve(Pe), (Xe) => new Promise((lt) => {
|
|
46676
46687
|
it(de, Xe.message, (Kt) => {
|
|
46677
46688
|
lt(Kt ? Xe.preprocess(Pe) : Pe);
|
|
@@ -47279,7 +47290,7 @@ Required: ` + p.join(", "));
|
|
|
47279
47290
|
}, (De) => {
|
|
47280
47291
|
it(De, z);
|
|
47281
47292
|
});
|
|
47282
|
-
},
|
|
47293
|
+
}, Hn = (R, z) => {
|
|
47283
47294
|
Pa(R).fold(() => {
|
|
47284
47295
|
Xn(R, z);
|
|
47285
47296
|
}, (De) => {
|
|
@@ -47539,7 +47550,7 @@ Required: ` + p.join(", "));
|
|
|
47539
47550
|
return oe.each((Le) => {
|
|
47540
47551
|
const Lt = On.fromHtml(`<!--${Le.content}-->`);
|
|
47541
47552
|
$t(De).each((Jn) => {
|
|
47542
|
-
|
|
47553
|
+
Hn(Jn.list, Lt);
|
|
47543
47554
|
});
|
|
47544
47555
|
}), $t(De).map((Le) => Le.list);
|
|
47545
47556
|
}, Bf = (R, z) => {
|
|
@@ -48257,8 +48268,8 @@ Required: ` + p.join(", "));
|
|
|
48257
48268
|
Z.singletonNone = new Z(!1);
|
|
48258
48269
|
const U = Array.prototype.push, re = (Re, ke) => {
|
|
48259
48270
|
for (let it = 0, yt = Re.length; it < yt; it++) {
|
|
48260
|
-
const
|
|
48261
|
-
ke(
|
|
48271
|
+
const Hn = Re[it];
|
|
48272
|
+
ke(Hn, it);
|
|
48262
48273
|
}
|
|
48263
48274
|
}, te = (Re) => {
|
|
48264
48275
|
const ke = [];
|
|
@@ -48272,13 +48283,13 @@ Required: ` + p.join(", "));
|
|
|
48272
48283
|
let ke = Re;
|
|
48273
48284
|
return {
|
|
48274
48285
|
get: () => ke,
|
|
48275
|
-
set: (
|
|
48276
|
-
ke =
|
|
48286
|
+
set: (Hn) => {
|
|
48287
|
+
ke = Hn;
|
|
48277
48288
|
}
|
|
48278
48289
|
};
|
|
48279
48290
|
}, ve = Object.keys, ie = Object.hasOwnProperty, ee = (Re, ke) => {
|
|
48280
48291
|
const it = ve(Re);
|
|
48281
|
-
for (let yt = 0,
|
|
48292
|
+
for (let yt = 0, Hn = it.length; yt < Hn; yt++) {
|
|
48282
48293
|
const Xn = it[yt], Io = Re[Xn];
|
|
48283
48294
|
ke(Io, Xn);
|
|
48284
48295
|
}
|
|
@@ -48314,11 +48325,11 @@ Required: ` + p.join(", "));
|
|
|
48314
48325
|
};
|
|
48315
48326
|
}, xn = (Re, ke) => {
|
|
48316
48327
|
let it = {};
|
|
48317
|
-
const
|
|
48328
|
+
const Hn = B({
|
|
48318
48329
|
validate: !1,
|
|
48319
48330
|
forced_root_block: !1
|
|
48320
48331
|
}, ke).parse(Re);
|
|
48321
|
-
for (let Xn =
|
|
48332
|
+
for (let Xn = Hn; Xn; Xn = Xn.walk())
|
|
48322
48333
|
if (Xn.type === 1) {
|
|
48323
48334
|
const Io = Xn.name;
|
|
48324
48335
|
if (Xn.attr("data-ephox-embed-iri")) {
|
|
@@ -48354,9 +48365,9 @@ Required: ` + p.join(", "));
|
|
|
48354
48365
|
"source",
|
|
48355
48366
|
"altsource"
|
|
48356
48367
|
], Co = (Re, ke, it, yt) => {
|
|
48357
|
-
let
|
|
48368
|
+
let Hn = 0, Xn = 0;
|
|
48358
48369
|
const Io = pt(yt);
|
|
48359
|
-
Io.addNodeFilter("source", (He) =>
|
|
48370
|
+
Io.addNodeFilter("source", (He) => Hn = He.length);
|
|
48360
48371
|
const qs = Io.parse(Re);
|
|
48361
48372
|
for (let He = qs; He; He = He.walk())
|
|
48362
48373
|
if (He.type === 1) {
|
|
@@ -48378,7 +48389,7 @@ Required: ` + p.join(", "));
|
|
|
48378
48389
|
switch (So) {
|
|
48379
48390
|
case "video":
|
|
48380
48391
|
He.attr("poster", ke.poster), He.attr("src", null);
|
|
48381
|
-
for (let Be =
|
|
48392
|
+
for (let Be = Hn; Be < 2; Be++)
|
|
48382
48393
|
if (ke[Y[Be]]) {
|
|
48383
48394
|
const It = new $t("source", 1);
|
|
48384
48395
|
It.attr("src", ke[Y[Be]]), It.attr("type", ke[Y[Be] + "mime"] || null), He.append(It);
|
|
@@ -48495,11 +48506,11 @@ Required: ` + p.join(", "));
|
|
|
48495
48506
|
return ke && ke.length > 1 ? ke[1] === "www." ? "https://" : ke[1] : "https://";
|
|
48496
48507
|
}, zo = (Re, ke) => {
|
|
48497
48508
|
const it = Do(ke), yt = Re.regex.exec(ke);
|
|
48498
|
-
let
|
|
48509
|
+
let Hn = it + Re.url;
|
|
48499
48510
|
if (F(yt))
|
|
48500
48511
|
for (let Xn = 0; Xn < yt.length; Xn++)
|
|
48501
|
-
|
|
48502
|
-
return
|
|
48512
|
+
Hn = Hn.replace("$" + Xn, () => yt[Xn] ? yt[Xn] : "");
|
|
48513
|
+
return Hn.replace(/\?$/, "");
|
|
48503
48514
|
}, da = (Re) => {
|
|
48504
48515
|
const ke = In.filter((it) => it.regex.test(Re));
|
|
48505
48516
|
return ke.length > 0 ? Cn.extend({}, ke[0], { url: zo(ke[0], Re) }) : null;
|
|
@@ -48524,8 +48535,8 @@ Required: ` + p.join(", "));
|
|
|
48524
48535
|
if (!yt.source && (Cn.extend(yt, xn((it = yt.embed) !== null && it !== void 0 ? it : "", Re.schema)), !yt.source))
|
|
48525
48536
|
return "";
|
|
48526
48537
|
yt.altsource || (yt.altsource = ""), yt.poster || (yt.poster = ""), yt.source = Re.convertURL(yt.source, "source"), yt.altsource = Re.convertURL(yt.altsource, "source"), yt.sourcemime = ct(yt.source), yt.altsourcemime = ct(yt.altsource), yt.poster = Re.convertURL(yt.poster, "poster");
|
|
48527
|
-
const
|
|
48528
|
-
if (
|
|
48538
|
+
const Hn = da(yt.source);
|
|
48539
|
+
if (Hn && (yt.source = Hn.url, yt.type = Hn.type, yt.allowfullscreen = Hn.allowFullscreen, yt.width = yt.width || String(Hn.w), yt.height = yt.height || String(Hn.h)), yt.embed)
|
|
48529
48540
|
return Co(yt.embed, yt, !0, Re.schema);
|
|
48530
48541
|
{
|
|
48531
48542
|
const Xn = Ft(Re), Io = je(Re), qs = X(Re);
|
|
@@ -48547,12 +48558,12 @@ Required: ` + p.join(", "));
|
|
|
48547
48558
|
}, !1, Re.schema))));
|
|
48548
48559
|
}
|
|
48549
48560
|
});
|
|
48550
|
-
}, Kn = {}, Sn = (Re, ke, it) => new Promise((yt,
|
|
48561
|
+
}, Kn = {}, Sn = (Re, ke, it) => new Promise((yt, Hn) => {
|
|
48551
48562
|
const Xn = (Io) => (Io.html && (Kn[Re.source] = Io), yt({
|
|
48552
48563
|
url: Re.source,
|
|
48553
48564
|
html: Io.html ? Io.html : ke(Re)
|
|
48554
48565
|
}));
|
|
48555
|
-
Kn[Re.source] ? Xn(Kn[Re.source]) : it({ url: Re.source }).then(Xn).catch(
|
|
48566
|
+
Kn[Re.source] ? Xn(Kn[Re.source]) : it({ url: Re.source }).then(Xn).catch(Hn);
|
|
48556
48567
|
}), Po = (Re, ke) => Promise.resolve({
|
|
48557
48568
|
html: ke(Re),
|
|
48558
48569
|
url: Re.source
|
|
@@ -48560,7 +48571,7 @@ Required: ` + p.join(", "));
|
|
|
48560
48571
|
const it = Qe(Re);
|
|
48561
48572
|
return it ? Sn(ke, jo(Re), it) : Po(ke, jo(Re));
|
|
48562
48573
|
}, ai = (Re) => ae(Kn, Re), ys = (Re, ke) => Se(ke, Re).bind((it) => Se(it, "meta")), ks = (Re, ke, it) => (yt) => {
|
|
48563
|
-
const
|
|
48574
|
+
const Hn = () => Se(Re, yt), Xn = () => Se(ke, yt), Io = (So) => Se(So, "value").bind((Oe) => Oe.length > 0 ? Z.some(Oe) : Z.none()), qs = () => Hn().bind((So) => _(So) ? Io(So).orThunk(Xn) : Xn().orThunk(() => Z.from(So))), He = () => Xn().orThunk(() => Hn().bind((So) => _(So) ? Io(So) : Z.from(So)));
|
|
48564
48575
|
return { [yt]: (yt === it ? qs() : He()).getOr("") };
|
|
48565
48576
|
}, Bs = (Re, ke) => {
|
|
48566
48577
|
const it = {};
|
|
@@ -48568,8 +48579,8 @@ Required: ` + p.join(", "));
|
|
|
48568
48579
|
re([
|
|
48569
48580
|
"width",
|
|
48570
48581
|
"height"
|
|
48571
|
-
], (
|
|
48572
|
-
Se(ke,
|
|
48582
|
+
], (Hn) => {
|
|
48583
|
+
Se(ke, Hn).orThunk(() => Se(yt, Hn)).each((Xn) => it[Hn] = Xn);
|
|
48573
48584
|
});
|
|
48574
48585
|
}), it;
|
|
48575
48586
|
}, Si = (Re, ke) => {
|
|
@@ -48593,8 +48604,8 @@ Required: ` + p.join(", "));
|
|
|
48593
48604
|
"height"
|
|
48594
48605
|
], (it) => {
|
|
48595
48606
|
Se(Re, it).each((yt) => {
|
|
48596
|
-
const
|
|
48597
|
-
|
|
48607
|
+
const Hn = ke.dimensions || {};
|
|
48608
|
+
Hn[it] = yt, ke.dimensions = Hn;
|
|
48598
48609
|
});
|
|
48599
48610
|
}), ke;
|
|
48600
48611
|
}, Ss = (Re) => (ke) => {
|
|
@@ -48631,22 +48642,22 @@ Required: ` + p.join(", "));
|
|
|
48631
48642
|
}, $s = (Re, ke) => {
|
|
48632
48643
|
const it = Re.dom.select("*[data-mce-object]");
|
|
48633
48644
|
for (let yt = 0; yt < ke.length; yt++)
|
|
48634
|
-
for (let
|
|
48635
|
-
ke[yt] === it[
|
|
48645
|
+
for (let Hn = it.length - 1; Hn >= 0; Hn--)
|
|
48646
|
+
ke[yt] === it[Hn] && it.splice(Hn, 1);
|
|
48636
48647
|
Re.selection.select(it[0]);
|
|
48637
48648
|
}, xr = (Re, ke) => {
|
|
48638
48649
|
const it = Re.dom.select("*[data-mce-object]");
|
|
48639
48650
|
Re.insertContent(ke), $s(Re, it), Re.nodeChanged();
|
|
48640
|
-
}, Za = (Re, ke) => F(ke) && ke === "ephox-embed-iri" && F(da(Re)), Na = (Re, ke) => ((yt,
|
|
48651
|
+
}, Za = (Re, ke) => F(ke) && ke === "ephox-embed-iri" && F(da(Re)), Na = (Re, ke) => ((yt, Hn) => yt.width !== Hn.width || yt.height !== Hn.height)(Re, ke) && Za(ke.source, Re.type), Fs = (Re, ke, it) => {
|
|
48641
48652
|
var yt;
|
|
48642
48653
|
ke.embed = Na(Re, ke) && vn(it) ? On(it, {
|
|
48643
48654
|
...ke,
|
|
48644
48655
|
embed: ""
|
|
48645
|
-
}) : Co((yt = ke.embed) !== null && yt !== void 0 ? yt : "", ke, !1, it.schema), ke.embed && (Re.source === ke.source || ai(ke.source)) ? xr(it, ke.embed) : Ws(it, ke).then((
|
|
48646
|
-
xr(it,
|
|
48656
|
+
}) : Co((yt = ke.embed) !== null && yt !== void 0 ? yt : "", ke, !1, it.schema), ke.embed && (Re.source === ke.source || ai(ke.source)) ? xr(it, ke.embed) : Ws(it, ke).then((Hn) => {
|
|
48657
|
+
xr(it, Hn.html);
|
|
48647
48658
|
}).catch(Ss(it));
|
|
48648
48659
|
}, Er = (Re) => {
|
|
48649
|
-
const ke = _r(Re), it = $(ke), yt = Ts(ke),
|
|
48660
|
+
const ke = _r(Re), it = $(ke), yt = Ts(ke), Hn = (Fn, zn) => {
|
|
48650
48661
|
const Qn = Si(zn.getData(), "source");
|
|
48651
48662
|
Fn.source !== Qn.source && (Mo($n, Re)({
|
|
48652
48663
|
url: Qn.source,
|
|
@@ -48738,7 +48749,7 @@ Required: ` + p.join(", "));
|
|
|
48738
48749
|
onChange: (Fn, zn) => {
|
|
48739
48750
|
switch (zn.name) {
|
|
48740
48751
|
case "source":
|
|
48741
|
-
|
|
48752
|
+
Hn(it.get(), Fn);
|
|
48742
48753
|
break;
|
|
48743
48754
|
case "embed":
|
|
48744
48755
|
Xn(Fn);
|
|
@@ -48766,18 +48777,18 @@ Required: ` + p.join(", "));
|
|
|
48766
48777
|
const ke = Re.name;
|
|
48767
48778
|
return ke === "iframe" || ke === "video" || ke === "audio";
|
|
48768
48779
|
}, Ms = (Re, ke, it, yt = null) => {
|
|
48769
|
-
const
|
|
48770
|
-
return F(
|
|
48780
|
+
const Hn = Re.attr(it);
|
|
48781
|
+
return F(Hn) ? Hn : ae(ke, it) ? null : yt;
|
|
48771
48782
|
}, Pa = (Re, ke, it) => {
|
|
48772
|
-
const yt = ke.name === "img" || Re.name === "video",
|
|
48783
|
+
const yt = ke.name === "img" || Re.name === "video", Hn = yt ? "300" : null, Xn = Re.name === "audio" ? "30" : "150", Io = yt ? Xn : null;
|
|
48773
48784
|
ke.attr({
|
|
48774
|
-
width: Ms(Re, it, "width",
|
|
48785
|
+
width: Ms(Re, it, "width", Hn),
|
|
48775
48786
|
height: Ms(Re, it, "height", Io)
|
|
48776
48787
|
});
|
|
48777
48788
|
}, Ca = (Re, ke, it, yt) => {
|
|
48778
|
-
const
|
|
48779
|
-
for (;
|
|
48780
|
-
it.append(
|
|
48789
|
+
const Hn = pt(Re.schema).parse(yt, { context: ke });
|
|
48790
|
+
for (; Hn.firstChild; )
|
|
48791
|
+
it.append(Hn.firstChild);
|
|
48781
48792
|
}, Is = (Re, ke) => {
|
|
48782
48793
|
const it = ke.name, yt = new $t("img", 1);
|
|
48783
48794
|
return kr(Re, ke, yt), Pa(ke, yt, {}), yt.attr({
|
|
@@ -48788,13 +48799,13 @@ Required: ` + p.join(", "));
|
|
|
48788
48799
|
}), yt;
|
|
48789
48800
|
}, jn = (Re, ke) => {
|
|
48790
48801
|
var it;
|
|
48791
|
-
const yt = ke.name,
|
|
48792
|
-
|
|
48802
|
+
const yt = ke.name, Hn = new $t("span", 1);
|
|
48803
|
+
Hn.attr({
|
|
48793
48804
|
contentEditable: "false",
|
|
48794
48805
|
style: ke.attr("style"),
|
|
48795
48806
|
"data-mce-object": yt,
|
|
48796
48807
|
class: "mce-preview-object mce-object-" + yt
|
|
48797
|
-
}), kr(Re, ke,
|
|
48808
|
+
}), kr(Re, ke, Hn);
|
|
48798
48809
|
const Xn = Re.dom.parseStyle((it = ke.attr("style")) !== null && it !== void 0 ? it : ""), Io = new $t(yt, 1);
|
|
48799
48810
|
if (Pa(ke, Io, Xn), Io.attr({
|
|
48800
48811
|
src: ke.attr("src"),
|
|
@@ -48818,18 +48829,18 @@ Required: ` + p.join(", "));
|
|
|
48818
48829
|
], (Oe) => {
|
|
48819
48830
|
Io.attr(Oe, ke.attr(Oe));
|
|
48820
48831
|
});
|
|
48821
|
-
const So =
|
|
48832
|
+
const So = Hn.attr("data-mce-html");
|
|
48822
48833
|
F(So) && Ca(Re, yt, Io, unescape(So));
|
|
48823
48834
|
}
|
|
48824
48835
|
const qs = new $t("span", 1);
|
|
48825
|
-
return qs.attr("class", "mce-shim"),
|
|
48836
|
+
return qs.attr("class", "mce-shim"), Hn.append(Io), Hn.append(qs), Hn;
|
|
48826
48837
|
}, kr = (Re, ke, it) => {
|
|
48827
48838
|
var yt;
|
|
48828
|
-
const
|
|
48829
|
-
let Xn =
|
|
48839
|
+
const Hn = (yt = ke.attributes) !== null && yt !== void 0 ? yt : [];
|
|
48840
|
+
let Xn = Hn.length;
|
|
48830
48841
|
for (; Xn--; ) {
|
|
48831
|
-
const So =
|
|
48832
|
-
let Oe =
|
|
48842
|
+
const So = Hn[Xn].name;
|
|
48843
|
+
let Oe = Hn[Xn].value;
|
|
48833
48844
|
So !== "width" && So !== "height" && So !== "style" && !ka(So, "data-mce-") && ((So === "data" || So === "src") && (Oe = Re.convertURL(Oe, So)), it.attr("data-mce-p-" + So, Oe));
|
|
48834
48845
|
}
|
|
48835
48846
|
const Io = go({ inner: !0 }, Re.schema), qs = new $t("div", 1);
|
|
@@ -48850,16 +48861,16 @@ Required: ` + p.join(", "));
|
|
|
48850
48861
|
for (; it--; )
|
|
48851
48862
|
yt = ke[it], yt.parent && (yt.parent.attr("data-mce-object") || (ya(yt) && Ie(Re) ? Bi(yt) || yt.replace(jn(Re, yt)) : Bi(yt) || yt.replace(Is(Re, yt))));
|
|
48852
48863
|
}, ur = (Re, ke, it) => {
|
|
48853
|
-
const yt = Re.options.get,
|
|
48864
|
+
const yt = Re.options.get, Hn = yt("xss_sanitization"), Xn = Ae(Re);
|
|
48854
48865
|
return pt(Re.schema, {
|
|
48855
|
-
sanitize:
|
|
48866
|
+
sanitize: Hn,
|
|
48856
48867
|
validate: Xn
|
|
48857
48868
|
}).parse(it, { context: ke });
|
|
48858
48869
|
}, rr = (Re) => {
|
|
48859
48870
|
Re.on("PreInit", () => {
|
|
48860
|
-
const { schema: ke, serializer: it, parser: yt } = Re,
|
|
48871
|
+
const { schema: ke, serializer: it, parser: yt } = Re, Hn = ke.getBoolAttrs();
|
|
48861
48872
|
re("webkitallowfullscreen mozallowfullscreen".split(" "), (Xn) => {
|
|
48862
|
-
|
|
48873
|
+
Hn[Xn] = {};
|
|
48863
48874
|
}), ee({ embed: ["wmode"] }, (Xn, Io) => {
|
|
48864
48875
|
const qs = ke.getElementRule(Io);
|
|
48865
48876
|
qs && re(Xn, (He) => {
|
|
@@ -48925,9 +48936,9 @@ Required: ` + p.join(", "));
|
|
|
48925
48936
|
onSetup: (it) => {
|
|
48926
48937
|
const yt = Re.selection;
|
|
48927
48938
|
it.setActive(At(yt.getNode()));
|
|
48928
|
-
const
|
|
48939
|
+
const Hn = yt.selectorChangedWithUnbind("img[data-mce-object],span[data-mce-object],div[data-ephox-embed-iri]", it.setActive).unbind, Xn = Ga(Re)(it);
|
|
48929
48940
|
return () => {
|
|
48930
|
-
|
|
48941
|
+
Hn(), Xn();
|
|
48931
48942
|
};
|
|
48932
48943
|
}
|
|
48933
48944
|
}), Re.ui.registry.addMenuItem("media", {
|
|
@@ -49442,14 +49453,14 @@ Required: ` + p.join(", "));
|
|
|
49442
49453
|
It(), Be.set(Se.some(Fn));
|
|
49443
49454
|
}
|
|
49444
49455
|
};
|
|
49445
|
-
},
|
|
49456
|
+
}, Hn = () => {
|
|
49446
49457
|
const Oe = yt(te);
|
|
49447
49458
|
return {
|
|
49448
49459
|
...Oe,
|
|
49449
49460
|
on: (It) => Oe.get().each(It)
|
|
49450
49461
|
};
|
|
49451
49462
|
}, Xn = (Oe, Be) => {
|
|
49452
|
-
const It =
|
|
49463
|
+
const It = Hn();
|
|
49453
49464
|
Oe.undoManager.add();
|
|
49454
49465
|
const zt = we.trim(Oe.selection.getContent({ format: "text" })), gn = (yo) => {
|
|
49455
49466
|
yo.setEnabled("next", Re(Oe, Be)), yo.setEnabled("prev", ke(Oe, Be));
|
|
@@ -49752,14 +49763,14 @@ Required: ` + p.join(", "));
|
|
|
49752
49763
|
const Ie = Object.keys, Ae = Object.hasOwnProperty, Qe = (O, P) => {
|
|
49753
49764
|
const J = Ie(O);
|
|
49754
49765
|
for (let he = 0, Ve = J.length; he < Ve; he++) {
|
|
49755
|
-
const
|
|
49756
|
-
P(en,
|
|
49766
|
+
const kt = J[he], en = O[kt];
|
|
49767
|
+
P(en, kt);
|
|
49757
49768
|
}
|
|
49758
49769
|
}, Fe = (O) => (P, J) => {
|
|
49759
49770
|
O[J] = P;
|
|
49760
49771
|
}, pe = (O, P, J, he) => {
|
|
49761
|
-
Qe(O, (Ve,
|
|
49762
|
-
(P(Ve,
|
|
49772
|
+
Qe(O, (Ve, kt) => {
|
|
49773
|
+
(P(Ve, kt) ? J : he)(Ve, kt);
|
|
49763
49774
|
});
|
|
49764
49775
|
}, vn = (O, P) => {
|
|
49765
49776
|
const J = {};
|
|
@@ -49789,8 +49800,8 @@ Required: ` + p.join(", "));
|
|
|
49789
49800
|
}, ft = (O, P) => {
|
|
49790
49801
|
const J = O.length, he = new Array(J);
|
|
49791
49802
|
for (let Ve = 0; Ve < J; Ve++) {
|
|
49792
|
-
const
|
|
49793
|
-
he[Ve] = P(
|
|
49803
|
+
const kt = O[Ve];
|
|
49804
|
+
he[Ve] = P(kt, Ve);
|
|
49794
49805
|
}
|
|
49795
49806
|
return he;
|
|
49796
49807
|
}, Y = (O, P) => {
|
|
@@ -49805,7 +49816,7 @@ Required: ` + p.join(", "));
|
|
|
49805
49816
|
}
|
|
49806
49817
|
}, In = (O, P) => {
|
|
49807
49818
|
const J = [], he = [];
|
|
49808
|
-
for (let Ve = 0,
|
|
49819
|
+
for (let Ve = 0, kt = O.length; Ve < kt; Ve++) {
|
|
49809
49820
|
const en = O[Ve];
|
|
49810
49821
|
(P(en, Ve) ? J : he).push(en);
|
|
49811
49822
|
}
|
|
@@ -49816,8 +49827,8 @@ Required: ` + p.join(", "));
|
|
|
49816
49827
|
}, Do = (O, P) => {
|
|
49817
49828
|
const J = [];
|
|
49818
49829
|
for (let he = 0, Ve = O.length; he < Ve; he++) {
|
|
49819
|
-
const
|
|
49820
|
-
P(
|
|
49830
|
+
const kt = O[he];
|
|
49831
|
+
P(kt, he) && J.push(kt);
|
|
49821
49832
|
}
|
|
49822
49833
|
return J;
|
|
49823
49834
|
}, zo = (O, P, J) => (Co(O, (he, Ve) => {
|
|
@@ -49826,10 +49837,10 @@ Required: ` + p.join(", "));
|
|
|
49826
49837
|
J = P(J, he, Ve);
|
|
49827
49838
|
}), J), vt = (O, P, J) => {
|
|
49828
49839
|
for (let he = 0, Ve = O.length; he < Ve; he++) {
|
|
49829
|
-
const
|
|
49830
|
-
if (P(
|
|
49831
|
-
return X.some(
|
|
49832
|
-
if (J(
|
|
49840
|
+
const kt = O[he];
|
|
49841
|
+
if (P(kt, he))
|
|
49842
|
+
return X.some(kt);
|
|
49843
|
+
if (J(kt, he))
|
|
49833
49844
|
break;
|
|
49834
49845
|
}
|
|
49835
49846
|
return X.none();
|
|
@@ -49851,8 +49862,8 @@ Required: ` + p.join(", "));
|
|
|
49851
49862
|
}, At = (O, P) => {
|
|
49852
49863
|
const J = {};
|
|
49853
49864
|
for (let he = 0, Ve = O.length; he < Ve; he++) {
|
|
49854
|
-
const
|
|
49855
|
-
J[String(
|
|
49865
|
+
const kt = O[he];
|
|
49866
|
+
J[String(kt)] = P(kt, he);
|
|
49856
49867
|
}
|
|
49857
49868
|
return J;
|
|
49858
49869
|
}, _t = (O, P) => P >= 0 && P < O.length ? X.some(O[P]) : X.none(), Kn = (O) => _t(O, 0), Sn = (O) => _t(O, O.length - 1), Po = (O, P) => {
|
|
@@ -49914,10 +49925,10 @@ Required: ` + p.join(", "));
|
|
|
49914
49925
|
let he = O.dom;
|
|
49915
49926
|
const Ve = [];
|
|
49916
49927
|
for (; he.parentNode !== null && he.parentNode !== void 0; ) {
|
|
49917
|
-
const
|
|
49928
|
+
const kt = he.parentNode, en = Mo.fromDom(kt);
|
|
49918
49929
|
if (Ve.push(en), J(en) === !0)
|
|
49919
49930
|
break;
|
|
49920
|
-
he =
|
|
49931
|
+
he = kt;
|
|
49921
49932
|
}
|
|
49922
49933
|
return Ve;
|
|
49923
49934
|
}, Bi = (O) => X.from(O.dom.previousSibling).map(Mo.fromDom), Ml = (O) => X.from(O.dom.nextSibling).map(Mo.fromDom), ur = (O) => ft(O.dom.childNodes, Mo.fromDom), rr = (O, P) => {
|
|
@@ -49934,22 +49945,22 @@ Required: ` + p.join(", "));
|
|
|
49934
49945
|
return Re(Mo.fromDom(P)).fold(() => J.body.contains(P), ie(it, ke));
|
|
49935
49946
|
};
|
|
49936
49947
|
var yt = (O, P, J, he, Ve) => O(J, he) ? X.some(J) : te(Ve) && Ve(J) ? X.none() : P(J, he, Ve);
|
|
49937
|
-
const
|
|
49948
|
+
const Hn = (O, P, J) => {
|
|
49938
49949
|
let he = O.dom;
|
|
49939
49950
|
const Ve = te(J) ? J : Ft;
|
|
49940
49951
|
for (; he.parentNode; ) {
|
|
49941
49952
|
he = he.parentNode;
|
|
49942
|
-
const
|
|
49943
|
-
if (P(
|
|
49944
|
-
return X.some(
|
|
49945
|
-
if (Ve(
|
|
49953
|
+
const kt = Mo.fromDom(he);
|
|
49954
|
+
if (P(kt))
|
|
49955
|
+
return X.some(kt);
|
|
49956
|
+
if (Ve(kt))
|
|
49946
49957
|
break;
|
|
49947
49958
|
}
|
|
49948
49959
|
return X.none();
|
|
49949
|
-
}, Xn = (O, P, J) => yt((Ve,
|
|
49960
|
+
}, Xn = (O, P, J) => yt((Ve, kt) => kt(Ve), Hn, O, P, J), Io = (O, P) => {
|
|
49950
49961
|
const J = (Ve) => P(Mo.fromDom(Ve));
|
|
49951
49962
|
return Jt(O.dom.childNodes, J).map(Mo.fromDom);
|
|
49952
|
-
}, qs = (O, P, J) =>
|
|
49963
|
+
}, qs = (O, P, J) => Hn(O, (he) => $s(he, P), J), He = (O, P) => Io(O, (J) => $s(J, P)), So = (O, P) => Na(P, O), Oe = (O, P, J) => yt((Ve, kt) => $s(Ve, kt), qs, O, P, J), Be = (O) => Oe(O, "[contenteditable]"), It = (O, P = !1) => it(O) ? O.dom.isContentEditable : Be(O).fold(ee(P), (J) => zt(J) === "true"), zt = (O) => O.dom.contentEditable, gn = (O) => O.nodeName.toLowerCase(), Vn = (O) => Mo.fromDom(O.getBody()), $n = (O) => (P) => Fs(P, Vn(O)), Fn = (O) => O ? O.replace(/px$/, "") : "", zn = (O) => /^\d+(\.\d+)?$/.test(O) ? O + "px" : O, Qn = (O) => Mo.fromDom(O.selection.getStart()), Ko = (O) => Mo.fromDom(O.selection.getEnd()), Ls = (O) => Xn(O, Ca("table")).forall(It), ii = (O, P) => Do(ur(O), P), Ki = (O, P) => {
|
|
49953
49964
|
let J = [];
|
|
49954
49965
|
return Y(ur(O), (he) => {
|
|
49955
49966
|
P(he) && (J = J.concat([he])), J = J.concat(Ki(he, P));
|
|
@@ -50014,13 +50025,13 @@ Required: ` + p.join(", "));
|
|
|
50014
50025
|
element: O,
|
|
50015
50026
|
rowspan: P,
|
|
50016
50027
|
colspan: J
|
|
50017
|
-
}), di = (O, P, J, he, Ve,
|
|
50028
|
+
}), di = (O, P, J, he, Ve, kt) => ({
|
|
50018
50029
|
element: O,
|
|
50019
50030
|
rowspan: P,
|
|
50020
50031
|
colspan: J,
|
|
50021
50032
|
row: he,
|
|
50022
50033
|
column: Ve,
|
|
50023
|
-
isLocked:
|
|
50034
|
+
isLocked: kt
|
|
50024
50035
|
}), Kc = (O, P, J) => ({
|
|
50025
50036
|
element: O,
|
|
50026
50037
|
cells: P,
|
|
@@ -50050,14 +50061,14 @@ Required: ` + p.join(", "));
|
|
|
50050
50061
|
], O, P), Ee = (O) => Hs(O, "th,td"), ut = (O) => $s(O, "colgroup") ? Xi(O, "col") : ze(An(O), (P) => Xi(P, "col")), mn = (O, P) => Oe(O, "table", P), Zo = (O) => Hs(O, "tr"), An = (O) => mn(O).fold(ee([]), (P) => Xi(P, "colgroup")), br = (O, P) => ft(O, (J) => {
|
|
50051
50062
|
if (Qt(J) === "colgroup") {
|
|
50052
50063
|
const he = ft(ut(J), (Ve) => {
|
|
50053
|
-
const
|
|
50054
|
-
return Ir(Ve, 1,
|
|
50064
|
+
const kt = io(Ve, "span", 1);
|
|
50065
|
+
return Ir(Ve, 1, kt);
|
|
50055
50066
|
});
|
|
50056
50067
|
return Kc(J, he, "colgroup");
|
|
50057
50068
|
} else {
|
|
50058
50069
|
const he = ft(Ee(J), (Ve) => {
|
|
50059
|
-
const
|
|
50060
|
-
return Ir(Ve,
|
|
50070
|
+
const kt = io(Ve, "rowspan", 1), en = io(Ve, "colspan", 1);
|
|
50071
|
+
return Ir(Ve, kt, en);
|
|
50061
50072
|
});
|
|
50062
50073
|
return Kc(J, he, P(J));
|
|
50063
50074
|
}
|
|
@@ -50081,14 +50092,14 @@ Required: ` + p.join(", "));
|
|
|
50081
50092
|
let J = 0;
|
|
50082
50093
|
return Y(O.cells, (he) => {
|
|
50083
50094
|
const Ve = he.colspan;
|
|
50084
|
-
Ke(Ve, (
|
|
50085
|
-
const en = J +
|
|
50095
|
+
Ke(Ve, (kt) => {
|
|
50096
|
+
const en = J + kt;
|
|
50086
50097
|
P[en] = Nf(he.element, Ve, en);
|
|
50087
50098
|
}), J += Ve;
|
|
50088
50099
|
}), P;
|
|
50089
50100
|
}, Bc = (O) => {
|
|
50090
50101
|
const P = {}, J = [], Ve = Kn(O).map((rl) => rl.element).bind(mn).bind(cr).getOr({});
|
|
50091
|
-
let
|
|
50102
|
+
let kt = 0, en = 0, En = 0;
|
|
50092
50103
|
const {
|
|
50093
50104
|
pass: ko,
|
|
50094
50105
|
fail: Xo
|
|
@@ -50106,7 +50117,7 @@ Required: ` + p.join(", "));
|
|
|
50106
50117
|
P[zm] = $g, en = Math.max(en, ou + 1);
|
|
50107
50118
|
}
|
|
50108
50119
|
Vl.push($g);
|
|
50109
|
-
}),
|
|
50120
|
+
}), kt++, J.push(Kc(rl.element, Vl, rl.section)), En++;
|
|
50110
50121
|
});
|
|
50111
50122
|
const { columns: Dr, colgroups: zs } = Sn(ko).map((rl) => {
|
|
50112
50123
|
const Vl = yr(rl);
|
|
@@ -50119,7 +50130,7 @@ Required: ` + p.join(", "));
|
|
|
50119
50130
|
columns: {}
|
|
50120
50131
|
}));
|
|
50121
50132
|
return {
|
|
50122
|
-
grid: is(
|
|
50133
|
+
grid: is(kt, en),
|
|
50123
50134
|
access: P,
|
|
50124
50135
|
all: J,
|
|
50125
50136
|
columns: Dr,
|
|
@@ -50143,8 +50154,8 @@ Required: ` + p.join(", "));
|
|
|
50143
50154
|
const _i = (O, P, J) => {
|
|
50144
50155
|
const he = O.select("td,th", P);
|
|
50145
50156
|
let Ve;
|
|
50146
|
-
for (let
|
|
50147
|
-
const en = O.getStyle(he[
|
|
50157
|
+
for (let kt = 0; kt < he.length; kt++) {
|
|
50158
|
+
const en = O.getStyle(he[kt], J);
|
|
50148
50159
|
if (Z(Ve) && (Ve = en), Ve !== en)
|
|
50149
50160
|
return "";
|
|
50150
50161
|
}
|
|
@@ -50163,8 +50174,8 @@ Required: ` + p.join(", "));
|
|
|
50163
50174
|
table: P
|
|
50164
50175
|
});
|
|
50165
50176
|
}, fe = (O, P) => Kl(O).getOr(P), _e = (O, P, J) => fe(Pe(O, P), J), ot = (O, P, J, he) => {
|
|
50166
|
-
const Ve = _e(O, `padding-${J}`, 0),
|
|
50167
|
-
return P - Ve -
|
|
50177
|
+
const Ve = _e(O, `padding-${J}`, 0), kt = _e(O, `padding-${he}`, 0), en = _e(O, `border-${J}-width`, 0), En = _e(O, `border-${he}-width`, 0);
|
|
50178
|
+
return P - Ve - kt - en - En;
|
|
50168
50179
|
}, xt = (O, P) => {
|
|
50169
50180
|
const J = O.dom, he = J.getBoundingClientRect().width || J.offsetWidth;
|
|
50170
50181
|
return P === "border-box" ? he : ot(O, he, "left", "right");
|
|
@@ -50258,12 +50269,12 @@ Required: ` + p.join(", "));
|
|
|
50258
50269
|
let J = !0;
|
|
50259
50270
|
const he = j(s0, P);
|
|
50260
50271
|
for (let Ve = P.startRow; Ve <= P.finishRow; Ve++)
|
|
50261
|
-
for (let
|
|
50262
|
-
J = J && mc.getAt(O, Ve,
|
|
50272
|
+
for (let kt = P.startCol; kt <= P.finishCol; kt++)
|
|
50273
|
+
J = J && mc.getAt(O, Ve, kt).exists(he);
|
|
50263
50274
|
return J ? X.some(P) : X.none();
|
|
50264
50275
|
}, Bm = (O, P) => fn(Math.min(O.row, P.row), Math.min(O.column, P.column), Math.max(O.row + O.rowspan - 1, P.row + P.rowspan - 1), Math.max(O.column + O.colspan - 1, P.column + P.colspan - 1)), Hl = (O, P, J) => {
|
|
50265
50276
|
const he = mc.findItem(O, P, Fs), Ve = mc.findItem(O, J, Fs);
|
|
50266
|
-
return he.bind((
|
|
50277
|
+
return he.bind((kt) => Ve.map((en) => Bm(kt, en)));
|
|
50267
50278
|
}, $u = (O, P, J) => Hl(O, P, J).bind((he) => Me(O, he)), Og = (O, P, J) => {
|
|
50268
50279
|
const he = Bp(O);
|
|
50269
50280
|
return $u(he, P, J);
|
|
@@ -50305,18 +50316,18 @@ Required: ` + p.join(", "));
|
|
|
50305
50316
|
const P = ur(O);
|
|
50306
50317
|
P.length > 0 && Jc(O, P), eu(O);
|
|
50307
50318
|
}, hc = ((O, P) => {
|
|
50308
|
-
const J = (
|
|
50309
|
-
if (!O(
|
|
50319
|
+
const J = (kt) => {
|
|
50320
|
+
if (!O(kt))
|
|
50310
50321
|
throw new Error("Can only get " + P + " value of a " + P + " node");
|
|
50311
|
-
return he(
|
|
50312
|
-
}, he = (
|
|
50322
|
+
return he(kt).getOr("");
|
|
50323
|
+
}, he = (kt) => O(kt) ? X.from(kt.dom.nodeValue) : X.none();
|
|
50313
50324
|
return {
|
|
50314
50325
|
get: J,
|
|
50315
50326
|
getOption: he,
|
|
50316
|
-
set: (
|
|
50317
|
-
if (!O(
|
|
50327
|
+
set: (kt, en) => {
|
|
50328
|
+
if (!O(kt))
|
|
50318
50329
|
throw new Error("Can only set raw " + P + " value of a " + P + " node");
|
|
50319
|
-
|
|
50330
|
+
kt.dom.nodeValue = en;
|
|
50320
50331
|
}
|
|
50321
50332
|
};
|
|
50322
50333
|
})(ya, "text"), tu = (O) => hc.get(O), Mg = (O, P) => hc.set(O, P);
|
|
@@ -50358,7 +50369,7 @@ Required: ` + p.join(", "));
|
|
|
50358
50369
|
"img",
|
|
50359
50370
|
"hr",
|
|
50360
50371
|
"input"
|
|
50361
|
-
], Qt(Xo)) : !1, Ve = (Xo) => ba(Xo) && sa(Xo, "contenteditable") === "false",
|
|
50372
|
+
], Qt(Xo)) : !1, Ve = (Xo) => ba(Xo) && sa(Xo, "contenteditable") === "false", kt = (Xo, Dr) => Xo.dom.compareDocumentPosition(Dr.dom), en = (Xo, Dr) => {
|
|
50362
50373
|
const zs = li(Xo);
|
|
50363
50374
|
qa(Dr, zs);
|
|
50364
50375
|
}, En = (Xo) => {
|
|
@@ -50379,7 +50390,7 @@ Required: ` + p.join(", "));
|
|
|
50379
50390
|
up: ee({
|
|
50380
50391
|
selector: qs,
|
|
50381
50392
|
closest: Oe,
|
|
50382
|
-
predicate:
|
|
50393
|
+
predicate: Hn,
|
|
50383
50394
|
all: Ba
|
|
50384
50395
|
}),
|
|
50385
50396
|
down: ee({
|
|
@@ -50417,7 +50428,7 @@ Required: ` + p.join(", "));
|
|
|
50417
50428
|
text: Mo.fromText
|
|
50418
50429
|
}),
|
|
50419
50430
|
query: ee({
|
|
50420
|
-
comparePosition:
|
|
50431
|
+
comparePosition: kt,
|
|
50421
50432
|
prevSibling: Bi,
|
|
50422
50433
|
nextSibling: Ml
|
|
50423
50434
|
}),
|
|
@@ -50442,13 +50453,13 @@ Required: ` + p.join(", "));
|
|
|
50442
50453
|
};
|
|
50443
50454
|
};
|
|
50444
50455
|
const pd = (O, P, J, he) => {
|
|
50445
|
-
const Ve = J[0],
|
|
50446
|
-
return he(O, P, Ve,
|
|
50456
|
+
const Ve = J[0], kt = J.slice(1);
|
|
50457
|
+
return he(O, P, Ve, kt);
|
|
50447
50458
|
}, Lf = (O, P, J) => J.length > 0 ? pd(O, P, J, Lc) : X.none(), Lc = (O, P, J, he) => {
|
|
50448
50459
|
const Ve = P(O, J);
|
|
50449
|
-
return zo(he, (
|
|
50460
|
+
return zo(he, (kt, en) => {
|
|
50450
50461
|
const En = P(O, en);
|
|
50451
|
-
return Li(O,
|
|
50462
|
+
return Li(O, kt, En);
|
|
50452
50463
|
}, Ve);
|
|
50453
50464
|
}, Li = (O, P, J) => P.bind((he) => J.filter(j(O.eq, he))), Mh = Lf, Fp = mi(), $m = (O, P) => Mh(Fp, (J, he) => O(he), P), Hf = (O) => qs(O, "table"), zf = (O, P) => {
|
|
50454
50465
|
const J = yo(O, P);
|
|
@@ -50456,12 +50467,12 @@ Required: ` + p.join(", "));
|
|
|
50456
50467
|
}, Fu = (O, P, J) => So(O, P).bind((he) => So(O, J).bind((Ve) => $m(Hf, [
|
|
50457
50468
|
he,
|
|
50458
50469
|
Ve
|
|
50459
|
-
]).map((
|
|
50470
|
+
]).map((kt) => ({
|
|
50460
50471
|
first: he,
|
|
50461
50472
|
last: Ve,
|
|
50462
|
-
table:
|
|
50473
|
+
table: kt
|
|
50463
50474
|
})))), Ih = (O, P) => zf(O, P), r0 = (O, P, J) => Fu(O, P, J).bind((he) => {
|
|
50464
|
-
const Ve = (ko) => Fs(O, ko),
|
|
50475
|
+
const Ve = (ko) => Fs(O, ko), kt = "thead,tfoot,tbody,table", en = qs(he.first, kt, Ve), En = qs(he.last, kt, Ve);
|
|
50465
50476
|
return en.bind((ko) => En.bind((Xo) => Fs(ko, Xo) ? Og(he.table, he.first, he.last) : X.none()));
|
|
50466
50477
|
}), Lp = (O) => ft(O, Mo.fromDom), Ig = "data-mce-selected", Vf = "td[" + Ig + "],th[" + Ig + "]", Nh = "data-mce-first-selected", Xd = "td[" + Nh + "],th[" + Nh + "]", ra = "data-mce-last-selected", Gr = "td[" + ra + "],th[" + ra + "]", hi = {
|
|
50467
50478
|
selected: Ig,
|
|
@@ -50475,7 +50486,7 @@ Required: ` + p.join(", "));
|
|
|
50475
50486
|
return Oe(Ve, O, J);
|
|
50476
50487
|
}, ki = Hp("th,td,caption"), vd = Hp("th,td"), Qd = (O) => Lp(O.model.table.getSelectedCells()), bd = (O, P) => {
|
|
50477
50488
|
const J = vd(O), he = J.bind((Ve) => mn(Ve)).map((Ve) => Zo(Ve));
|
|
50478
|
-
return fa(J, he, (Ve,
|
|
50489
|
+
return fa(J, he, (Ve, kt) => Do(kt, (en) => qt(Lp(en.dom.cells), (En) => sa(En, P) === "1" || Fs(En, Ve)))).getOr([]);
|
|
50479
50490
|
}, yu = [
|
|
50480
50491
|
{
|
|
50481
50492
|
text: "None",
|
|
@@ -50505,8 +50516,8 @@ Required: ` + p.join(", "));
|
|
|
50505
50516
|
blue: J,
|
|
50506
50517
|
alpha: he
|
|
50507
50518
|
}), La = (O, P, J, he) => {
|
|
50508
|
-
const Ve = parseInt(O, 10),
|
|
50509
|
-
return Nl(Ve,
|
|
50519
|
+
const Ve = parseInt(O, 10), kt = parseInt(P, 10), en = parseInt(J, 10), En = parseFloat(he);
|
|
50520
|
+
return Nl(Ve, kt, en, En);
|
|
50510
50521
|
}, aa = (O) => {
|
|
50511
50522
|
if (O === "transparent")
|
|
50512
50523
|
return X.some(Nl(0, 0, 0, 0));
|
|
@@ -50520,8 +50531,8 @@ Required: ` + p.join(", "));
|
|
|
50520
50531
|
P.height = 1, P.width = 1;
|
|
50521
50532
|
const J = P.getContext("2d");
|
|
50522
50533
|
J.clearRect(0, 0, P.width, P.height), J.fillStyle = "#FFFFFF", J.fillStyle = O, J.fillRect(0, 0, 1, 1);
|
|
50523
|
-
const he = J.getImageData(0, 0, 1, 1).data, Ve = he[0],
|
|
50524
|
-
return Hc(Nl(Ve,
|
|
50534
|
+
const he = J.getImageData(0, 0, 1, 1).data, Ve = he[0], kt = he[1], en = he[2], En = he[3];
|
|
50535
|
+
return Hc(Nl(Ve, kt, en, En));
|
|
50525
50536
|
}), Hu = (O) => aa(O).map(Hc).map((P) => "#" + P.value).getOr(O), gc = (O) => {
|
|
50526
50537
|
let P = O;
|
|
50527
50538
|
return {
|
|
@@ -50543,9 +50554,9 @@ Required: ` + p.join(", "));
|
|
|
50543
50554
|
}
|
|
50544
50555
|
};
|
|
50545
50556
|
}, zp = () => wa((O) => O.unbind()), Vp = (O, P, J) => (he) => {
|
|
50546
|
-
const Ve = zp(),
|
|
50547
|
-
const En = Qd(O), ko = (Xo) => O.formatter.match(P, { value: J }, Xo.dom,
|
|
50548
|
-
|
|
50557
|
+
const Ve = zp(), kt = Nc(J), en = () => {
|
|
50558
|
+
const En = Qd(O), ko = (Xo) => O.formatter.match(P, { value: J }, Xo.dom, kt);
|
|
50559
|
+
kt ? (he.setActive(!qt(En, ko)), Ve.set(O.formatter.formatChanged(P, (Xo) => he.setActive(!Xo), !0))) : (he.setActive(On(En, ko)), Ve.set(O.formatter.formatChanged(P, he.setActive, !1, { value: J })));
|
|
50549
50560
|
};
|
|
50550
50561
|
return O.initialized ? en() : O.on("init", en), Ve.clear;
|
|
50551
50562
|
}, Xs = (O) => Wo(O, "menu"), Cu = (O) => ft(O, (P) => {
|
|
@@ -50564,13 +50575,13 @@ Required: ` + p.join(", "));
|
|
|
50564
50575
|
},
|
|
50565
50576
|
...O
|
|
50566
50577
|
])) : X.none(), Pl = (O, P, J, he) => ft(P, (Ve) => {
|
|
50567
|
-
const
|
|
50578
|
+
const kt = Ve.text || Ve.title;
|
|
50568
50579
|
return Xs(Ve) ? {
|
|
50569
50580
|
type: "nestedmenuitem",
|
|
50570
|
-
text:
|
|
50581
|
+
text: kt,
|
|
50571
50582
|
getSubmenuItems: () => Pl(O, Ve.menu, J, he)
|
|
50572
50583
|
} : {
|
|
50573
|
-
text:
|
|
50584
|
+
text: kt,
|
|
50574
50585
|
type: "togglemenuitem",
|
|
50575
50586
|
onAction: () => he(Ve.value),
|
|
50576
50587
|
onSetup: Vp(O, J, Ve.value)
|
|
@@ -50594,8 +50605,8 @@ Required: ` + p.join(", "));
|
|
|
50594
50605
|
allowCustomColors: !1
|
|
50595
50606
|
},
|
|
50596
50607
|
onAction: (Ve) => {
|
|
50597
|
-
const
|
|
50598
|
-
O.execCommand("mceTableApplyCellStyle", !1, { [J]:
|
|
50608
|
+
const kt = Ve.value === "remove" ? "" : Ve.value;
|
|
50609
|
+
O.execCommand("mceTableApplyCellStyle", !1, { [J]: kt });
|
|
50599
50610
|
}
|
|
50600
50611
|
}];
|
|
50601
50612
|
}, us = (O) => () => {
|
|
@@ -50751,7 +50762,7 @@ Required: ` + p.join(", "));
|
|
|
50751
50762
|
let P = !1, J;
|
|
50752
50763
|
return (...he) => (P || (P = !0, J = O.apply(null, he)), J);
|
|
50753
50764
|
}, _o = (O, P) => Po(O.all, (J) => Jt(J.cells, (he) => Fs(P, he.element))), xo = (O, P, J) => {
|
|
50754
|
-
const he = ft(P.selection, (
|
|
50765
|
+
const he = ft(P.selection, (kt) => ge(kt).bind((en) => _o(O, en)).filter(J)), Ve = _s(he);
|
|
50755
50766
|
return Zr(Ve.length > 0, Ve);
|
|
50756
50767
|
}, wo = (O, P) => P.mergable, qr = (O, P) => P.unmergable, gi = (O, P) => xo(O, P, je), pc = (O, P) => _o(O, P).exists((J) => !J.isLocked), wu = (O, P) => On(P, (J) => pc(O, J)), ol = (O, P) => wo(O, P).filter((J) => wu(O, J.cells)), i0 = (O, P) => qr(O, P).filter((J) => wu(O, J));
|
|
50757
50768
|
({ ...{ generate: (O) => {
|
|
@@ -50761,10 +50772,10 @@ Required: ` + p.join(", "));
|
|
|
50761
50772
|
throw new Error("there must be at least one case");
|
|
50762
50773
|
const P = [], J = {};
|
|
50763
50774
|
return Y(O, (he, Ve) => {
|
|
50764
|
-
const
|
|
50765
|
-
if (
|
|
50775
|
+
const kt = Ie(he);
|
|
50776
|
+
if (kt.length !== 1)
|
|
50766
50777
|
throw new Error("one and only one name per case");
|
|
50767
|
-
const en =
|
|
50778
|
+
const en = kt[0], En = he[en];
|
|
50768
50779
|
if (J[en] !== void 0)
|
|
50769
50780
|
throw new Error("duplicate key detected:" + en);
|
|
50770
50781
|
if (en === "cata")
|
|
@@ -50827,7 +50838,7 @@ Required: ` + P.join(", "));
|
|
|
50827
50838
|
const zi = (O, P) => {
|
|
50828
50839
|
const J = mc.fromTable(O);
|
|
50829
50840
|
return gi(J, P).bind((Ve) => {
|
|
50830
|
-
const
|
|
50841
|
+
const kt = Ve[Ve.length - 1], en = Ve[0].row, En = kt.row + kt.rowspan, ko = J.all.slice(en, En);
|
|
50831
50842
|
return Lt(ko);
|
|
50832
50843
|
}).getOr("");
|
|
50833
50844
|
}, tf = (O) => vl(O, "rgb") ? Hu(O) : O, Wp = (O) => {
|
|
@@ -50842,9 +50853,9 @@ Required: ` + P.join(", "));
|
|
|
50842
50853
|
const P = O[0], J = O.slice(1);
|
|
50843
50854
|
return Y(J, (he) => {
|
|
50844
50855
|
Y(Ie(P), (Ve) => {
|
|
50845
|
-
Qe(he, (
|
|
50856
|
+
Qe(he, (kt, en) => {
|
|
50846
50857
|
const En = P[Ve];
|
|
50847
|
-
En !== "" && Ve === en && En !==
|
|
50858
|
+
En !== "" && Ve === en && En !== kt && (P[Ve] = Ve === "class" ? "mce-no-match" : "");
|
|
50848
50859
|
});
|
|
50849
50860
|
});
|
|
50850
50861
|
}), P;
|
|
@@ -50861,7 +50872,7 @@ Required: ` + P.join(", "));
|
|
|
50861
50872
|
borderstyle: Gn(J, "border-style").getOr(""),
|
|
50862
50873
|
bordercolor: tf(Gn(J, "border-color").getOr("")),
|
|
50863
50874
|
backgroundcolor: tf(Gn(J, "background-color").getOr(""))
|
|
50864
|
-
}),
|
|
50875
|
+
}), kt = {
|
|
50865
50876
|
height: "",
|
|
50866
50877
|
width: "100%",
|
|
50867
50878
|
cellspacing: "",
|
|
@@ -50881,7 +50892,7 @@ Required: ` + P.join(", "));
|
|
|
50881
50892
|
};
|
|
50882
50893
|
};
|
|
50883
50894
|
return {
|
|
50884
|
-
...
|
|
50895
|
+
...kt,
|
|
50885
50896
|
...J,
|
|
50886
50897
|
...he,
|
|
50887
50898
|
...En,
|
|
@@ -50895,11 +50906,11 @@ Required: ` + P.join(", "));
|
|
|
50895
50906
|
const he = (En, ko) => {
|
|
50896
50907
|
const Xo = lt(Mo.fromDom(ko), "border-width");
|
|
50897
50908
|
return $c(O) && Xo.isSome() ? Xo.getOr("") : En.getAttrib(ko, "border") || _i(O.dom, ko, "border-width") || _i(O.dom, ko, "border") || "";
|
|
50898
|
-
}, Ve = O.dom,
|
|
50909
|
+
}, Ve = O.dom, kt = $c(O) ? Ve.getStyle(P, "border-spacing") || Ve.getAttrib(P, "cellspacing") : Ve.getAttrib(P, "cellspacing") || Ve.getStyle(P, "border-spacing"), en = $c(O) ? _i(Ve, P, "padding") || Ve.getAttrib(P, "cellpadding") : Ve.getAttrib(P, "cellpadding") || _i(Ve, P, "padding");
|
|
50899
50910
|
return {
|
|
50900
50911
|
width: Ve.getStyle(P, "width") || Ve.getAttrib(P, "width"),
|
|
50901
50912
|
height: Ve.getStyle(P, "height") || Ve.getAttrib(P, "height"),
|
|
50902
|
-
cellspacing:
|
|
50913
|
+
cellspacing: kt ?? "",
|
|
50903
50914
|
cellpadding: en ?? "",
|
|
50904
50915
|
border: he(Ve, P),
|
|
50905
50916
|
caption: !!Ve.select("caption", P)[0],
|
|
@@ -50917,9 +50928,9 @@ Required: ` + P.join(", "));
|
|
|
50917
50928
|
...J ? Wp(P) : {}
|
|
50918
50929
|
};
|
|
50919
50930
|
}, jp = (O, P, J, he) => {
|
|
50920
|
-
const Ve = O.dom,
|
|
50931
|
+
const Ve = O.dom, kt = he.getOr(P);
|
|
50921
50932
|
return {
|
|
50922
|
-
width: ((En, ko) => Ve.getStyle(En, ko) || Ve.getAttrib(En, ko))(
|
|
50933
|
+
width: ((En, ko) => Ve.getStyle(En, ko) || Ve.getAttrib(En, ko))(kt, "width"),
|
|
50923
50934
|
scope: Ve.getAttrib(P, "scope"),
|
|
50924
50935
|
celltype: gn(P),
|
|
50925
50936
|
class: Ve.getAttrib(P, "class", ""),
|
|
@@ -50928,10 +50939,10 @@ Required: ` + P.join(", "));
|
|
|
50928
50939
|
...J ? Wp(P) : {}
|
|
50929
50940
|
};
|
|
50930
50941
|
}, Nn = (O, P) => {
|
|
50931
|
-
const J = mc.fromTable(O), he = mc.justCells(J), Ve = Do(he, (
|
|
50932
|
-
return ft(Ve, (
|
|
50933
|
-
element:
|
|
50934
|
-
column: mc.getColumnAt(J,
|
|
50942
|
+
const J = mc.fromTable(O), he = mc.justCells(J), Ve = Do(he, (kt) => qt(P, (en) => Fs(kt.element, en)));
|
|
50943
|
+
return ft(Ve, (kt) => ({
|
|
50944
|
+
element: kt.element.dom,
|
|
50945
|
+
column: mc.getColumnAt(J, kt.column).map((en) => en.element.dom)
|
|
50935
50946
|
}));
|
|
50936
50947
|
}, of = (O, P, J, he) => {
|
|
50937
50948
|
he("scope") && O.setAttrib("scope", J.scope), he("class") && J.class !== "mce-no-match" && O.setAttrib("class", J.class), he("width") && P.setStyle("width", zn(J.width));
|
|
@@ -50939,8 +50950,8 @@ Required: ` + P.join(", "));
|
|
|
50939
50950
|
J("backgroundcolor") && O.setFormat("tablecellbackgroundcolor", P.backgroundcolor), J("bordercolor") && O.setFormat("tablecellbordercolor", P.bordercolor), J("borderstyle") && O.setFormat("tablecellborderstyle", P.borderstyle), J("borderwidth") && O.setFormat("tablecellborderwidth", zn(P.borderwidth));
|
|
50940
50951
|
}, Lm = (O, P, J, he) => {
|
|
50941
50952
|
const Ve = P.length === 1;
|
|
50942
|
-
Y(P, (
|
|
50943
|
-
const en =
|
|
50953
|
+
Y(P, (kt) => {
|
|
50954
|
+
const en = kt.element, En = Ve ? je : he, ko = R.normal(O, en), Xo = kt.column.map((Dr) => R.normal(O, Dr)).getOr(ko);
|
|
50944
50955
|
of(ko, Xo, J, En), Gd(O) && Fh(ko, J, En), he("halign") && xi(O, en, J.halign), he("valign") && Pf(O, en, J.valign);
|
|
50945
50956
|
});
|
|
50946
50957
|
}, _u = (O, P) => {
|
|
@@ -50949,10 +50960,10 @@ Required: ` + P.join(", "));
|
|
|
50949
50960
|
no_events: !0
|
|
50950
50961
|
});
|
|
50951
50962
|
}, Pr = (O, P, J, he) => {
|
|
50952
|
-
const Ve = vn(he, (
|
|
50953
|
-
B(Ve) > 0 && P.length >= 1 && mn(P[0]).each((
|
|
50954
|
-
const en = Nn(
|
|
50955
|
-
(En || Nt(Ve, "scope")) && Lm(O, en, he, j(Nt, Ve)), ko && _u(O, he), cs(O,
|
|
50963
|
+
const Ve = vn(he, (kt, en) => J[en] !== kt);
|
|
50964
|
+
B(Ve) > 0 && P.length >= 1 && mn(P[0]).each((kt) => {
|
|
50965
|
+
const en = Nn(kt, P), En = B(vn(Ve, (Xo, Dr) => Dr !== "scope" && Dr !== "celltype")) > 0, ko = Nt(Ve, "celltype");
|
|
50966
|
+
(En || Nt(Ve, "scope")) && Lm(O, en, he, j(Nt, Ve)), ko && _u(O, he), cs(O, kt.dom, {
|
|
50956
50967
|
structure: ko,
|
|
50957
50968
|
style: En
|
|
50958
50969
|
});
|
|
@@ -51065,10 +51076,10 @@ Required: ` + P.join(", "));
|
|
|
51065
51076
|
}, qf = (O, P, J) => {
|
|
51066
51077
|
J("backgroundcolor") && O.setStyle("background-color", P.backgroundcolor), J("bordercolor") && O.setStyle("border-color", P.bordercolor), J("borderstyle") && O.setStyle("border-style", P.borderstyle);
|
|
51067
51078
|
}, Bt = (O, P, J, he) => {
|
|
51068
|
-
const
|
|
51079
|
+
const kt = P.length === 1 ? je : he;
|
|
51069
51080
|
Y(P, (en) => {
|
|
51070
51081
|
const En = Xi(Mo.fromDom(en), "td,th"), ko = R.normal(O, en);
|
|
51071
|
-
Ht(ko, J,
|
|
51082
|
+
Ht(ko, J, kt), Bf(O) && qf(ko, J, kt), he("height") && Y(En, (Xo) => {
|
|
51072
51083
|
O.dom.setStyle(Xo.dom, "height", null);
|
|
51073
51084
|
}), he("align") && xi(O, en, J.align);
|
|
51074
51085
|
});
|
|
@@ -51078,11 +51089,11 @@ Required: ` + P.join(", "));
|
|
|
51078
51089
|
no_events: !0
|
|
51079
51090
|
});
|
|
51080
51091
|
}, Hh = (O, P, J, he) => {
|
|
51081
|
-
const Ve = vn(he, (
|
|
51092
|
+
const Ve = vn(he, (kt, en) => J[en] !== kt);
|
|
51082
51093
|
if (B(Ve) > 0) {
|
|
51083
|
-
const
|
|
51084
|
-
en && Bt(O, P, he, j(Nt, Ve)),
|
|
51085
|
-
structure:
|
|
51094
|
+
const kt = Nt(Ve, "type"), en = kt ? B(Ve) > 1 : !0;
|
|
51095
|
+
en && Bt(O, P, he, j(Nt, Ve)), kt && Ui(O, he), mn(Mo.fromDom(P[0])).each((En) => cs(O, En.dom, {
|
|
51096
|
+
structure: kt,
|
|
51086
51097
|
style: en
|
|
51087
51098
|
}));
|
|
51088
51099
|
}
|
|
@@ -51105,7 +51116,7 @@ Required: ` + P.join(", "));
|
|
|
51105
51116
|
},
|
|
51106
51117
|
jf(O, "row")
|
|
51107
51118
|
]
|
|
51108
|
-
},
|
|
51119
|
+
}, kt = {
|
|
51109
51120
|
type: "panel",
|
|
51110
51121
|
items: [{
|
|
51111
51122
|
type: "grid",
|
|
@@ -51116,7 +51127,7 @@ Required: ` + P.join(", "));
|
|
|
51116
51127
|
O.windowManager.open({
|
|
51117
51128
|
title: "Row Properties",
|
|
51118
51129
|
size: "normal",
|
|
51119
|
-
body: Bf(O) ? Ve :
|
|
51130
|
+
body: Bf(O) ? Ve : kt,
|
|
51120
51131
|
buttons: [
|
|
51121
51132
|
{
|
|
51122
51133
|
type: "cancel",
|
|
@@ -51158,7 +51169,7 @@ Required: ` + P.join(", "));
|
|
|
51158
51169
|
name: "height",
|
|
51159
51170
|
label: "Height"
|
|
51160
51171
|
}
|
|
51161
|
-
],
|
|
51172
|
+
], kt = Rh(O) ? [
|
|
51162
51173
|
{
|
|
51163
51174
|
type: "input",
|
|
51164
51175
|
name: "cellspacing",
|
|
@@ -51213,7 +51224,7 @@ Required: ` + P.join(", "));
|
|
|
51213
51224
|
label: "Class",
|
|
51214
51225
|
items: P
|
|
51215
51226
|
}] : [];
|
|
51216
|
-
return he.concat(Ve).concat(
|
|
51227
|
+
return he.concat(Ve).concat(kt).concat(en).concat(En);
|
|
51217
51228
|
}, Xa = (O, P, J, he) => {
|
|
51218
51229
|
if (P.tagName === "TD" || P.tagName === "TH")
|
|
51219
51230
|
T(J) && re(he) ? O.setStyle(P, J, he) : O.setStyles(P, J);
|
|
@@ -51221,8 +51232,8 @@ Required: ` + P.join(", "));
|
|
|
51221
51232
|
for (let Ve = 0; Ve < P.children.length; Ve++)
|
|
51222
51233
|
Xa(O, P.children[Ve], J, he);
|
|
51223
51234
|
}, zr = (O, P, J, he) => {
|
|
51224
|
-
const Ve = O.dom,
|
|
51225
|
-
if (!Z(J.class) && J.class !== "mce-no-match" && (
|
|
51235
|
+
const Ve = O.dom, kt = {}, en = {}, En = $c(O), ko = Qc(O), Xo = parseFloat(J.border) === 0;
|
|
51236
|
+
if (!Z(J.class) && J.class !== "mce-no-match" && (kt.class = J.class), en.height = zn(J.height), En ? en.width = zn(J.width) : Ve.getAttrib(P, "width") && (kt.width = Fn(J.width)), En ? (Xo ? (kt.border = 0, en["border-width"] = "") : (en["border-width"] = zn(J.border), kt.border = 1), en["border-spacing"] = zn(J.cellspacing)) : (kt.border = Xo ? 0 : J.border, kt.cellpadding = J.cellpadding, kt.cellspacing = J.cellspacing), En && P.children) {
|
|
51226
51237
|
const Dr = {};
|
|
51227
51238
|
if (Xo ? Dr["border-width"] = "" : he.border && (Dr["border-width"] = zn(J.border)), he.cellpadding && (Dr.padding = zn(J.cellpadding)), ko && he.bordercolor && (Dr["border-color"] = J.bordercolor), !xn(Dr))
|
|
51228
51239
|
for (let zs = 0; zs < P.children.length; zs++)
|
|
@@ -51237,13 +51248,13 @@ Required: ` + P.join(", "));
|
|
|
51237
51248
|
...en
|
|
51238
51249
|
}), Ve.setAttribs(P, {
|
|
51239
51250
|
...Yd(O),
|
|
51240
|
-
...
|
|
51251
|
+
...kt
|
|
51241
51252
|
});
|
|
51242
51253
|
}, xu = (O, P, J, he) => {
|
|
51243
|
-
const Ve = O.dom,
|
|
51254
|
+
const Ve = O.dom, kt = he.getData(), en = vn(kt, (En, ko) => J[ko] !== En);
|
|
51244
51255
|
he.close(), O.undoManager.transact(() => {
|
|
51245
51256
|
if (!P) {
|
|
51246
|
-
const En = ui(
|
|
51257
|
+
const En = ui(kt.cols).getOr(1), ko = ui(kt.rows).getOr(1);
|
|
51247
51258
|
O.execCommand("mceInsertTable", !1, {
|
|
51248
51259
|
rows: ko,
|
|
51249
51260
|
columns: En
|
|
@@ -51255,9 +51266,9 @@ Required: ` + P.join(", "));
|
|
|
51255
51266
|
bordercolor: Nt(en, "bordercolor"),
|
|
51256
51267
|
cellpadding: Nt(en, "cellpadding")
|
|
51257
51268
|
};
|
|
51258
|
-
zr(O, P,
|
|
51269
|
+
zr(O, P, kt, En);
|
|
51259
51270
|
const ko = Ve.select("caption", P)[0];
|
|
51260
|
-
(ko && !
|
|
51271
|
+
(ko && !kt.caption || !ko && kt.caption) && O.execCommand("mceTableToggleCaption"), xi(O, P, kt.align);
|
|
51261
51272
|
}
|
|
51262
51273
|
if (O.focus(), O.addVisual(), B(en) > 0) {
|
|
51263
51274
|
const En = Nt(en, "caption"), ko = En ? B(en) > 1 : !0;
|
|
@@ -51271,12 +51282,12 @@ Required: ` + P.join(", "));
|
|
|
51271
51282
|
const J = O.dom;
|
|
51272
51283
|
let he, Ve = $h(O, Qc(O));
|
|
51273
51284
|
P ? (Ve.cols = "1", Ve.rows = "1", Qc(O) && (Ve.borderstyle = "", Ve.bordercolor = "", Ve.backgroundcolor = "")) : (he = J.getParent(O.selection.getStart(), "table", O.getBody()), he ? Ve = c0(O, he, Qc(O)) : Qc(O) && (Ve.borderstyle = "", Ve.bordercolor = "", Ve.backgroundcolor = ""));
|
|
51274
|
-
const
|
|
51275
|
-
|
|
51285
|
+
const kt = Os($f(O));
|
|
51286
|
+
kt.isSome() && Ve.class && (Ve.class = Ve.class.replace(/\s*mce\-item\-table\s*/g, ""));
|
|
51276
51287
|
const en = {
|
|
51277
51288
|
type: "grid",
|
|
51278
51289
|
columns: 2,
|
|
51279
|
-
items: d0(O,
|
|
51290
|
+
items: d0(O, kt.getOr([]), P)
|
|
51280
51291
|
}, En = () => ({
|
|
51281
51292
|
type: "panel",
|
|
51282
51293
|
items: [en]
|
|
@@ -51322,7 +51333,7 @@ Required: ` + P.join(", "));
|
|
|
51322
51333
|
mceInsertTableDialog: j(f0, O, !0)
|
|
51323
51334
|
}, (J, he) => O.addCommand(he, () => P(J)));
|
|
51324
51335
|
}, js = (O, P) => He(O, P).isSome(), Eu = Se, Bg = (O) => {
|
|
51325
|
-
const P = (he, Ve) => ar(he, Ve).exists((
|
|
51336
|
+
const P = (he, Ve) => ar(he, Ve).exists((kt) => parseInt(kt, 10) > 1), J = (he) => P(he, "rowspan") || P(he, "colspan");
|
|
51326
51337
|
return O.length > 0 && On(O, J) ? X.some(O) : X.none();
|
|
51327
51338
|
}, wl = (O, P, J) => P.length <= 1 ? X.none() : r0(O, J.firstSelectedSelector, J.lastSelectedSelector).map((he) => ({
|
|
51328
51339
|
bounds: he,
|
|
@@ -51340,7 +51351,7 @@ Required: ` + P.join(", "));
|
|
|
51340
51351
|
}), Sb = (O) => {
|
|
51341
51352
|
const P = gc(X.none()), J = gc([]);
|
|
51342
51353
|
let he = X.none();
|
|
51343
|
-
const Ve = Ca("caption"),
|
|
51354
|
+
const Ve = Ca("caption"), kt = (qo) => he.forall((Vr) => !Vr[qo]), en = () => ki(Qn(O), $n(O)), En = () => ki(Ko(O), $n(O)), ko = () => en().bind((qo) => ci(fa(mn(qo), En().bind(mn), (Vr, al) => Fs(Vr, al) ? Ve(qo) ? X.some(wb(qo)) : X.some(Yf(Qd(O), Vr, qo)) : X.none()))), Xo = (qo) => mn(qo.element).map((al) => {
|
|
51344
51355
|
const yc = mc.fromTable(al), Cd = gi(yc, qo).getOr([]), ku = da(Cd, (sf, Cc) => (Cc.isLocked && (sf.onAny = !0, Cc.column === 0 ? sf.onFirst = !0 : Cc.column + Cc.colspan >= yc.grid.columns && (sf.onLast = !0)), sf), {
|
|
51345
51356
|
onAny: !1,
|
|
51346
51357
|
onFirst: !1,
|
|
@@ -51363,7 +51374,7 @@ Required: ` + P.join(", "));
|
|
|
51363
51374
|
qo.setEnabled(!1), qo.setActive(!1);
|
|
51364
51375
|
}, (yc) => {
|
|
51365
51376
|
qo.setEnabled(!Vr(yc) && O.selection.isEditable()), qo.setActive(al(yc));
|
|
51366
|
-
})), Vl = (qo) => he.exists((Vr) => Vr.locked[qo]), bc = (qo) => wr(qo, (Vr) => !1), zc = (qo) => wr(qo, (Vr) => Ve(Vr.element)), h0 = (qo) => (Vr) => wr(Vr, (al) => Ve(al.element) || Vl(qo)), $g = (qo) => (Vr) => wr(Vr, (al) => Ve(al.element) || qo().isNone()), Uh = (qo, Vr) => (al) => wr(al, (yc) => Ve(yc.element) || qo().isNone() || Vl(Vr)), Hm = (qo) => wr(qo, (Vr) =>
|
|
51377
|
+
})), Vl = (qo) => he.exists((Vr) => Vr.locked[qo]), bc = (qo) => wr(qo, (Vr) => !1), zc = (qo) => wr(qo, (Vr) => Ve(Vr.element)), h0 = (qo) => (Vr) => wr(Vr, (al) => Ve(al.element) || Vl(qo)), $g = (qo) => (Vr) => wr(Vr, (al) => Ve(al.element) || qo().isNone()), Uh = (qo, Vr) => (al) => wr(al, (yc) => Ve(yc.element) || qo().isNone() || Vl(Vr)), Hm = (qo) => wr(qo, (Vr) => kt("mergeable")), bi = (qo) => wr(qo, (Vr) => kt("unmergeable")), ou = (qo) => rl(qo, Ft, (Vr) => mn(Vr.element, $n(O)).exists((yc) => js(yc, "caption"))), zm = (qo, Vr) => (al) => rl(al, (yc) => Ve(yc.element), () => O.queryCommandValue(qo) === Vr), yd = zm("mceTableRowType", "header"), qp = zm("mceTableColType", "th");
|
|
51367
51378
|
return O.on("NodeChange ExecCommand TableSelectorChange", Dr), {
|
|
51368
51379
|
onSetupTable: bc,
|
|
51369
51380
|
onSetupCellOrRow: zc,
|
|
@@ -51515,11 +51526,11 @@ Required: ` + P.join(", "));
|
|
|
51515
51526
|
icon: "table",
|
|
51516
51527
|
onSetup: sl(O)
|
|
51517
51528
|
});
|
|
51518
|
-
const
|
|
51519
|
-
|
|
51529
|
+
const kt = Vu($f(O));
|
|
51530
|
+
kt.length !== 0 && O.queryCommandSupported("mceTableToggleClass") && O.ui.registry.addMenuButton("tableclass", {
|
|
51520
51531
|
icon: "table-classes",
|
|
51521
51532
|
tooltip: "Table styles",
|
|
51522
|
-
fetch: ef(O,
|
|
51533
|
+
fetch: ef(O, kt, "tableclass", (En) => O.execCommand("mceTableToggleClass", !1, En)),
|
|
51523
51534
|
onSetup: P.onSetupTable
|
|
51524
51535
|
});
|
|
51525
51536
|
const en = Vu(Cl(O));
|
|
@@ -51595,7 +51606,7 @@ Required: ` + P.join(", "));
|
|
|
51595
51606
|
...wr,
|
|
51596
51607
|
onAction: te(wr.onAction) ? wr.onAction : J(wr.command)
|
|
51597
51608
|
});
|
|
51598
|
-
},
|
|
51609
|
+
}, kt = (zs) => {
|
|
51599
51610
|
O.execCommand("mceInsertTable", !1, {
|
|
51600
51611
|
rows: zs.numRows,
|
|
51601
51612
|
columns: zs.numColumns
|
|
@@ -51718,7 +51729,7 @@ Required: ` + P.join(", "));
|
|
|
51718
51729
|
getSubmenuItems: () => [{
|
|
51719
51730
|
type: "fancymenuitem",
|
|
51720
51731
|
fancytype: "inserttable",
|
|
51721
|
-
onAction:
|
|
51732
|
+
onAction: kt
|
|
51722
51733
|
}],
|
|
51723
51734
|
onSetup: ju(O)
|
|
51724
51735
|
}) : O.ui.registry.addMenuItem("inserttable", {
|
|
@@ -52347,7 +52358,7 @@ Required: ` + P.join(", "));
|
|
|
52347
52358
|
throw console.error(g, t), new Error(g);
|
|
52348
52359
|
}
|
|
52349
52360
|
return Io(d.childNodes[0]);
|
|
52350
|
-
},
|
|
52361
|
+
}, Hn = (t, s) => {
|
|
52351
52362
|
const d = (s || document).createElement(t);
|
|
52352
52363
|
return Io(d);
|
|
52353
52364
|
}, Xn = (t, s) => {
|
|
@@ -52359,7 +52370,7 @@ Required: ` + P.join(", "));
|
|
|
52359
52370
|
return { dom: t };
|
|
52360
52371
|
}, He = {
|
|
52361
52372
|
fromHtml: yt,
|
|
52362
|
-
fromTag:
|
|
52373
|
+
fromTag: Hn,
|
|
52363
52374
|
fromText: Xn,
|
|
52364
52375
|
fromDom: Io,
|
|
52365
52376
|
fromPoint: (t, s, a) => B.from(t.dom.elementFromPoint(s, a)).map(Io)
|
|
@@ -53319,7 +53330,7 @@ Required: ` + s.join(", "));
|
|
|
53319
53330
|
return ft(t, (a) => {
|
|
53320
53331
|
s[a.key] = a.value;
|
|
53321
53332
|
}), s;
|
|
53322
|
-
},
|
|
53333
|
+
}, kt = (t, s) => J(t, s), en = (t, s) => he(t, s), En = (t) => Ve(t), ko = (t, s) => t.length === 0 ? Bo.value(s) : Bo.value(Xs(s, Cu.apply(void 0, t))), Xo = (t) => Bo.error(mt(t)), Dr = (t, s) => {
|
|
53323
53334
|
const a = P(t);
|
|
53324
53335
|
return a.errors.length > 0 ? Xo(a.errors) : ko(a.values, s);
|
|
53325
53336
|
}, zs = (t) => ee(t) ? t : Cn, wr = (t, s, a) => {
|
|
@@ -61489,7 +61500,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
61489
61500
|
ir({
|
|
61490
61501
|
factory: {
|
|
61491
61502
|
sketch: (t) => {
|
|
61492
|
-
const s =
|
|
61503
|
+
const s = kt(t, ["factory"]);
|
|
61493
61504
|
return t.factory.sketch(s);
|
|
61494
61505
|
}
|
|
61495
61506
|
},
|
|
@@ -72102,7 +72113,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72102
72113
|
};
|
|
72103
72114
|
}
|
|
72104
72115
|
});
|
|
72105
|
-
const
|
|
72116
|
+
const Tt = dl({
|
|
72106
72117
|
fields: qe,
|
|
72107
72118
|
name: "reflecting",
|
|
72108
72119
|
active: me,
|
|
@@ -72515,7 +72526,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72515
72526
|
components: [],
|
|
72516
72527
|
behaviours: sn([
|
|
72517
72528
|
Fd.childAt(0),
|
|
72518
|
-
|
|
72529
|
+
Tt.config({
|
|
72519
72530
|
channel: `${Jx}-${s}`,
|
|
72520
72531
|
updateState: C,
|
|
72521
72532
|
renderComponents: b,
|
|
@@ -72723,7 +72734,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72723
72734
|
attributes: { ...a.map((b) => ({ id: b })).getOr({}) }
|
|
72724
72735
|
},
|
|
72725
72736
|
components: [],
|
|
72726
|
-
behaviours: sn([
|
|
72737
|
+
behaviours: sn([Tt.config({
|
|
72727
72738
|
channel: `${I5}-${s}`,
|
|
72728
72739
|
initialData: t,
|
|
72729
72740
|
renderComponents: g
|
|
@@ -72814,12 +72825,12 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72814
72825
|
dialogEvents: s,
|
|
72815
72826
|
eventOrder: {
|
|
72816
72827
|
[Qf()]: [
|
|
72817
|
-
|
|
72828
|
+
Tt.name(),
|
|
72818
72829
|
uu.name()
|
|
72819
72830
|
],
|
|
72820
72831
|
[ru()]: [
|
|
72821
72832
|
"scroll-lock",
|
|
72822
|
-
|
|
72833
|
+
Tt.name(),
|
|
72823
72834
|
"messages",
|
|
72824
72835
|
"dialog-events",
|
|
72825
72836
|
"alloy.base.behaviour"
|
|
@@ -72828,7 +72839,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72828
72839
|
"alloy.base.behaviour",
|
|
72829
72840
|
"dialog-events",
|
|
72830
72841
|
"messages",
|
|
72831
|
-
|
|
72842
|
+
Tt.name(),
|
|
72832
72843
|
"scroll-lock"
|
|
72833
72844
|
]
|
|
72834
72845
|
}
|
|
@@ -72863,7 +72874,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72863
72874
|
b(t(), D, k.event, C);
|
|
72864
72875
|
});
|
|
72865
72876
|
}), d = (g, b) => {
|
|
72866
|
-
|
|
72877
|
+
Tt.getState(g).get().each((C) => {
|
|
72867
72878
|
b(C, g);
|
|
72868
72879
|
});
|
|
72869
72880
|
};
|
|
@@ -72879,7 +72890,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72879
72890
|
C(t(), N, D.event, k);
|
|
72880
72891
|
});
|
|
72881
72892
|
}), g = (b, C) => {
|
|
72882
|
-
|
|
72893
|
+
Tt.getState(b).get().each((k) => {
|
|
72883
72894
|
C(k.internalDialog, b);
|
|
72884
72895
|
});
|
|
72885
72896
|
};
|
|
@@ -72939,7 +72950,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72939
72950
|
return {
|
|
72940
72951
|
dom: _p('<div class="tox-dialog__footer"></div>'),
|
|
72941
72952
|
components: [],
|
|
72942
|
-
behaviours: sn([
|
|
72953
|
+
behaviours: sn([Tt.config({
|
|
72943
72954
|
channel: `${gg}-${s}`,
|
|
72944
72955
|
initialData: t,
|
|
72945
72956
|
updateState: d,
|
|
@@ -72949,12 +72960,12 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72949
72960
|
}, hs = (t, s, a) => vo(t, s, a), ca = (t, s, a) => Ci.parts.footer(vo(t, s, a)), Of = (t, s) => {
|
|
72950
72961
|
if (t.getRoot().getSystem().isConnected()) {
|
|
72951
72962
|
const d = ps.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());
|
|
72952
|
-
return u2.getField(d, s).orThunk(() => t.getFooter().bind((C) =>
|
|
72963
|
+
return u2.getField(d, s).orThunk(() => t.getFooter().bind((C) => Tt.getState(C).get()).bind((C) => C.lookupByName(s)));
|
|
72953
72964
|
} else
|
|
72954
72965
|
return B.none();
|
|
72955
72966
|
}, iE = (t, s) => {
|
|
72956
72967
|
const a = t.getRoot();
|
|
72957
|
-
return
|
|
72968
|
+
return Tt.getState(a).get().map((d) => Wu(Pr("data", d.dataValidator, s))).getOr(s);
|
|
72958
72969
|
}, d$ = (t, s, a) => {
|
|
72959
72970
|
const d = (ue) => {
|
|
72960
72971
|
const Te = t.getRoot();
|
|
@@ -72996,7 +73007,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
72996
73007
|
showTab: (ue) => {
|
|
72997
73008
|
d((Te) => {
|
|
72998
73009
|
const rt = t.getBody();
|
|
72999
|
-
|
|
73010
|
+
Tt.getState(rt).get().exists((et) => et.isTabPanel()) && ps.getCurrent(rt).each((et) => {
|
|
73000
73011
|
ms.showTab(et, ue);
|
|
73001
73012
|
});
|
|
73002
73013
|
});
|
|
@@ -73028,7 +73039,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
73028
73039
|
body: N,
|
|
73029
73040
|
footer: ne,
|
|
73030
73041
|
extraClasses: k,
|
|
73031
|
-
extraBehaviours: [
|
|
73042
|
+
extraBehaviours: [Tt.config({
|
|
73032
73043
|
channel: `${Qx}-${d}`,
|
|
73033
73044
|
updateState: D,
|
|
73034
73045
|
initialData: t
|
|
@@ -73087,7 +73098,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
73087
73098
|
},
|
|
73088
73099
|
eventOrder: {
|
|
73089
73100
|
[Qf()]: [
|
|
73090
|
-
|
|
73101
|
+
Tt.name(),
|
|
73091
73102
|
uu.name()
|
|
73092
73103
|
],
|
|
73093
73104
|
[su()]: ["execute-on-form"],
|
|
@@ -73103,7 +73114,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
73103
73114
|
useTabstopAt: (Ut) => !d2(Ut) && (Ls(Ut) !== "button" || dr(Ut, "disabled") !== "disabled"),
|
|
73104
73115
|
firstTabstop: 1
|
|
73105
73116
|
}),
|
|
73106
|
-
|
|
73117
|
+
Tt.config({
|
|
73107
73118
|
channel: `${Qx}-${b}`,
|
|
73108
73119
|
updateState: G,
|
|
73109
73120
|
initialData: t
|
|
@@ -73213,7 +73224,7 @@ The conflicting element is` + (is(G.element) ? " " : " not ") + "already in the
|
|
|
73213
73224
|
"max-width": Ge + "px"
|
|
73214
73225
|
}))
|
|
73215
73226
|
}, H = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], G = new cE(t.url, { base_uri: new cE(window.location.href) }), ne = `${G.protocol}://${G.host}${G.port ? ":" + G.port : ""}`, se = m1(), ue = (Ge, Pt) => B.some(Pt), Te = [
|
|
73216
|
-
|
|
73227
|
+
Tt.config({
|
|
73217
73228
|
channel: `${Qx}-${g}`,
|
|
73218
73229
|
updateState: ue,
|
|
73219
73230
|
initialData: t
|
|
@@ -73716,12 +73727,12 @@ const Bbe = /* @__PURE__ */ Jr(Pbe, [["__scopeId", "data-v-628cc8cd"]]), Cye = I
|
|
|
73716
73727
|
}, {
|
|
73717
73728
|
header: Vt(() => [
|
|
73718
73729
|
Ne("div", $be, [
|
|
73719
|
-
|
|
73730
|
+
Et(" card header左侧内容 "),
|
|
73720
73731
|
si(h.$slots, "header-leaft", {}, void 0, !0),
|
|
73721
73732
|
Ne("div", Fbe, [
|
|
73722
|
-
|
|
73733
|
+
Et(" card header右侧内容 "),
|
|
73723
73734
|
si(h.$slots, "header-right", {}, void 0, !0),
|
|
73724
|
-
|
|
73735
|
+
Et(" 展开、收起按钮 "),
|
|
73725
73736
|
c.showToggle ? (Ce(), no(_, {
|
|
73726
73737
|
key: 0,
|
|
73727
73738
|
link: "",
|
|
@@ -73730,7 +73741,7 @@ const Bbe = /* @__PURE__ */ Jr(Pbe, [["__scopeId", "data-v-628cc8cd"]]), Cye = I
|
|
|
73730
73741
|
}, {
|
|
73731
73742
|
default: Vt(() => [
|
|
73732
73743
|
Qs(
|
|
73733
|
-
|
|
73744
|
+
Ln(i.value ? "展开" : "收起") + " ",
|
|
73734
73745
|
1
|
|
73735
73746
|
/* TEXT */
|
|
73736
73747
|
),
|
|
@@ -73742,7 +73753,7 @@ const Bbe = /* @__PURE__ */ Jr(Pbe, [["__scopeId", "data-v-628cc8cd"]]), Cye = I
|
|
|
73742
73753
|
]),
|
|
73743
73754
|
_: 1
|
|
73744
73755
|
/* STABLE */
|
|
73745
|
-
})) :
|
|
73756
|
+
})) : Et("v-if", !0)
|
|
73746
73757
|
])
|
|
73747
73758
|
])
|
|
73748
73759
|
]),
|
|
@@ -73780,8 +73791,8 @@ export {
|
|
|
73780
73791
|
yye as IkMonacoEditor,
|
|
73781
73792
|
dye as IkPageFull,
|
|
73782
73793
|
uye as IkPageTabs,
|
|
73783
|
-
|
|
73784
|
-
|
|
73794
|
+
ihe as IkPreviewFile,
|
|
73795
|
+
uhe as IkPreviewFileDialog,
|
|
73785
73796
|
rye as IkPrintConfig,
|
|
73786
73797
|
aye as IkPrintView,
|
|
73787
73798
|
bye as IkRadioGroup,
|