iking-web-ui-pro 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IKDetailPreviewFiles/ik.index.es.js +191 -191
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +188 -188
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +1 -0
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +119 -118
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +189 -189
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkOnlyOffice/ik.index.es.js +59 -58
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +121 -121
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +12 -11
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/ik.index.es.js +218 -218
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/index.es.js +2579 -2578
- package/dist/index.umd.js +36 -36
- package/dist/src/components/IkUploadFile/index.d.ts +3 -3
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkUploadImage/index.d.ts +3 -3
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as F, openBlock as s, createElementBlock as h, createElementVNode as c, computed as L, mergeModels as Q, useModel as
|
|
2
|
-
import { ElUpload as
|
|
1
|
+
import { defineComponent as F, openBlock as s, createElementBlock as h, createElementVNode as c, computed as L, mergeModels as Q, useModel as i3, ref as R, reactive as A3, watch as g3, nextTick as t3, resolveComponent as J, Fragment as O, createBlock as z, createCommentVNode as k, createVNode as A, unref as u, withCtx as y, normalizeClass as $, normalizeStyle as U, createTextVNode as q, toDisplayString as C, h as y3, mergeProps as n3, createSlots as v3, renderSlot as M, renderList as w3, withDirectives as _3, vShow as k3, pushScopeId as z3, popScopeId as b3 } from "vue";
|
|
2
|
+
import { ElUpload as c3, ElButton as F3, ElProgress as r3, ElTooltip as d3, ElIcon as H, ElMessage as Y } from "element-plus";
|
|
3
3
|
import { buildUUID as C3, ikColor as x3, ikFile as B3 } from "iking-utils-pro";
|
|
4
4
|
const P = (e, t) => {
|
|
5
5
|
if (e.install = (o) => {
|
|
@@ -9,9 +9,9 @@ const P = (e, t) => {
|
|
|
9
9
|
for (const [o, r] of Object.entries(t))
|
|
10
10
|
e[o] = r;
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, I3 = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwAAAALwAALwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBImAAAAA2AYm3bsuhFm7u72wZoTrbGIcoKaKyAROJQbQmW2IVb/WkW3ZmPd3ymRMQEwJfV56QRo5pHErkUkFdQWRJpeGW6SoL9EvaWxAdbAeiVd5gyAK5NAdOtv4uNfsT21TUukBVjgFubBOQS+Ip7G/k2LpatkF2hAuBI5siAdsL2j3DHQrJ7NKDbUIyOj3bhqADBsgNPUqUlgncLVlA4IOwBAABwDQCdASowADAAPm0yk0ckIyGhJzgMkIANiWwArDM9tzexcZ3vwYZdKHIB749Ap5gP1E/YD34/QB6AH+A9F//S+w1z2/sz/5DzdDABM7ldHg1iMkeWX8LH9T1VzicAWGJgnNq4e/5P/NObJOBUhFC8dPnhmAD+9wGzP9Zfeg5ENi90xn4awZvrlCLnfwvZX//s4u6n2Pa2TF/r8wh0GtdNNJIBMRbrMaCBwyl6z86DqQgvpixbIdOVbwZFf/7KjC+uzJ5nNRyJ1Rpab8pIf2m1+SBOfX9w7EFXUErK8NSCsePMPazMXKH5y9Wl+nfiSrmsv079Fk6NkDF3Dxr+C+Rp4UdG/f3kP8PZfd/FyRupWURiDOrAjLamuF4OPo2BylwD7ulmdgDn4BEMXuvpYCACy4yCVjgsOzqToG2rSfJOtxy6Hh1/B2gu7X1MdJpHsdHdUrlRzTLKyV3wZG5a64SKKB2/QGk8IRZT0veUdDeo579/WyTU3ujQZeKNBS9ANlv1muyN9Kf5bm1f3UoPm/KnDkqf/1f2jf6aQJ7IYNod25fVfhRX+l1u9qBzs/bVezF7ZgC2LOuuJl1Tvwgeujpg9Uc/m0A9X878DzEkgxP/sPGviOfCElM1J/Kr3TTCwCkfW+K3oZuMB7HAAAA=";
|
|
13
13
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
14
|
-
var
|
|
14
|
+
var S3 = /* @__PURE__ */ F({
|
|
15
15
|
name: "Delete",
|
|
16
16
|
__name: "delete",
|
|
17
17
|
setup(e) {
|
|
@@ -25,7 +25,7 @@ var I3 = /* @__PURE__ */ F({
|
|
|
25
25
|
})
|
|
26
26
|
]));
|
|
27
27
|
}
|
|
28
|
-
}), D3 =
|
|
28
|
+
}), D3 = S3, V3 = /* @__PURE__ */ F({
|
|
29
29
|
name: "Download",
|
|
30
30
|
__name: "download",
|
|
31
31
|
setup(e) {
|
|
@@ -53,7 +53,7 @@ var I3 = /* @__PURE__ */ F({
|
|
|
53
53
|
})
|
|
54
54
|
]));
|
|
55
55
|
}
|
|
56
|
-
}),
|
|
56
|
+
}), u3 = R3, M3 = /* @__PURE__ */ F({
|
|
57
57
|
name: "Refresh",
|
|
58
58
|
__name: "refresh",
|
|
59
59
|
setup(e) {
|
|
@@ -96,9 +96,9 @@ var I3 = /* @__PURE__ */ F({
|
|
|
96
96
|
]));
|
|
97
97
|
}
|
|
98
98
|
}), q3 = U3;
|
|
99
|
-
const
|
|
100
|
-
var a, l,
|
|
101
|
-
const o = (a = e == null ? void 0 : e.response) != null && a.data ?
|
|
99
|
+
const b = (e, t) => {
|
|
100
|
+
var a, l, w, m;
|
|
101
|
+
const o = (a = e == null ? void 0 : e.response) != null && a.data ? p3((w = (l = e == null ? void 0 : e.response) == null ? void 0 : l.data) == null ? void 0 : w.suffix) : ((m = e.raw) == null ? void 0 : m.type) || p3(e[t.suffix]), r = o == null ? void 0 : o.toLowerCase(), n = {
|
|
102
102
|
sheet: "excel",
|
|
103
103
|
excel: "excel",
|
|
104
104
|
zip: "zip",
|
|
@@ -203,7 +203,7 @@ const z = (e, t) => {
|
|
|
203
203
|
".vob": "video",
|
|
204
204
|
".txt": "txt",
|
|
205
205
|
".pdf": "pdf"
|
|
206
|
-
},
|
|
206
|
+
}, p3 = (e) => {
|
|
207
207
|
const t = e == null ? void 0 : e.toLocaleLowerCase(), o = t != null && t.startsWith(".") ? t : `.${t}`;
|
|
208
208
|
return o && L3[o] || "unknow";
|
|
209
209
|
}, T3 = (e) => {
|
|
@@ -462,7 +462,7 @@ const z = (e, t) => {
|
|
|
462
462
|
), g6 = [
|
|
463
463
|
m6,
|
|
464
464
|
A6
|
|
465
|
-
],
|
|
465
|
+
], y6 = {
|
|
466
466
|
key: 7,
|
|
467
467
|
t: "1686300225262",
|
|
468
468
|
class: "icon",
|
|
@@ -472,7 +472,7 @@ const z = (e, t) => {
|
|
|
472
472
|
"p-id": "8912",
|
|
473
473
|
width: "200",
|
|
474
474
|
height: "200"
|
|
475
|
-
},
|
|
475
|
+
}, w6 = /* @__PURE__ */ c(
|
|
476
476
|
"path",
|
|
477
477
|
{
|
|
478
478
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",
|
|
@@ -493,7 +493,7 @@ const z = (e, t) => {
|
|
|
493
493
|
-1
|
|
494
494
|
/* HOISTED */
|
|
495
495
|
), k6 = [
|
|
496
|
-
|
|
496
|
+
w6,
|
|
497
497
|
_6
|
|
498
498
|
], z6 = {
|
|
499
499
|
key: 8,
|
|
@@ -550,7 +550,7 @@ const z = (e, t) => {
|
|
|
550
550
|
"p-id": "4336",
|
|
551
551
|
width: "200",
|
|
552
552
|
height: "200"
|
|
553
|
-
},
|
|
553
|
+
}, I6 = /* @__PURE__ */ c(
|
|
554
554
|
"path",
|
|
555
555
|
{
|
|
556
556
|
d: "M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",
|
|
@@ -560,7 +560,7 @@ const z = (e, t) => {
|
|
|
560
560
|
null,
|
|
561
561
|
-1
|
|
562
562
|
/* HOISTED */
|
|
563
|
-
),
|
|
563
|
+
), S6 = /* @__PURE__ */ c(
|
|
564
564
|
"path",
|
|
565
565
|
{
|
|
566
566
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -592,8 +592,8 @@ const z = (e, t) => {
|
|
|
592
592
|
-1
|
|
593
593
|
/* HOISTED */
|
|
594
594
|
), $6 = [
|
|
595
|
-
S6,
|
|
596
595
|
I6,
|
|
596
|
+
S6,
|
|
597
597
|
D6,
|
|
598
598
|
V6
|
|
599
599
|
], R6 = {
|
|
@@ -685,7 +685,7 @@ const z = (e, t) => {
|
|
|
685
685
|
q6,
|
|
686
686
|
L6,
|
|
687
687
|
T6
|
|
688
|
-
],
|
|
688
|
+
], h3 = /* @__PURE__ */ F({
|
|
689
689
|
__name: "FileIcon",
|
|
690
690
|
props: {
|
|
691
691
|
type: {
|
|
@@ -706,15 +706,15 @@ const z = (e, t) => {
|
|
|
706
706
|
}
|
|
707
707
|
},
|
|
708
708
|
setup(e) {
|
|
709
|
-
const t = e, o = L(() => t.file ?
|
|
710
|
-
return (r, n) => o.value === "image" ? (s(), h("svg", j3, Q3)) : o.value === "zip" ? (s(), h("svg", J3, X3)) : o.value === "ppt" ? (s(), h("svg", Y3, n6)) : o.value === "word" ? (s(), h("svg", o6, l6)) : o.value === "pdf" ? (s(), h("svg", a6, d6)) : o.value === "txt" ? (s(), h("svg", u6, f6)) : o.value === "audio" ? (s(), h("svg", v6, g6)) : o.value === "video" ? (s(), h("svg",
|
|
709
|
+
const t = e, o = L(() => t.file ? b(t.file, t.fields) : t.type);
|
|
710
|
+
return (r, n) => o.value === "image" ? (s(), h("svg", j3, Q3)) : o.value === "zip" ? (s(), h("svg", J3, X3)) : o.value === "ppt" ? (s(), h("svg", Y3, n6)) : o.value === "word" ? (s(), h("svg", o6, l6)) : o.value === "pdf" ? (s(), h("svg", a6, d6)) : o.value === "txt" ? (s(), h("svg", u6, f6)) : o.value === "audio" ? (s(), h("svg", v6, g6)) : o.value === "video" ? (s(), h("svg", y6, k6)) : o.value === "excel" ? (s(), h("svg", z6, x6)) : o.value === "exe" ? (s(), h("svg", B6, $6)) : o.value === "json" ? (s(), h("svg", R6, O6)) : (s(), h("svg", U6, j6));
|
|
711
711
|
}
|
|
712
712
|
}), K = (e, t) => {
|
|
713
713
|
const o = e.__vccOpts || e;
|
|
714
714
|
for (const [r, n] of t)
|
|
715
715
|
o[r] = n;
|
|
716
716
|
return o;
|
|
717
|
-
},
|
|
717
|
+
}, e3 = (e) => e % 1 === 0 ? e.toString() : e.toFixed(2), o3 = (e, t) => t ? t.startsWith("http") ? t : `${e || location.origin}${t}` : "", P6 = /* @__PURE__ */ F({
|
|
718
718
|
__name: "IkPreviewFileDialog",
|
|
719
719
|
props: /* @__PURE__ */ Q({
|
|
720
720
|
file: {
|
|
@@ -726,12 +726,12 @@ const z = (e, t) => {
|
|
|
726
726
|
type: String,
|
|
727
727
|
default: ""
|
|
728
728
|
},
|
|
729
|
-
// 需要onlyoffice预览的文件类型
|
|
729
|
+
// 需要onlyoffice预览的文件类型 - 0.2.3版本后可不填
|
|
730
730
|
onlyOfficeAccept: {
|
|
731
731
|
type: String,
|
|
732
732
|
default: ".pdf,.docx,.doc.ppt,.pptx,.xlsx,.xls,"
|
|
733
733
|
},
|
|
734
|
-
// onlyoffice服务地址
|
|
734
|
+
// onlyoffice服务地址 - 0.2.3版本后可不填
|
|
735
735
|
onlyofficeServer: {
|
|
736
736
|
type: String,
|
|
737
737
|
default: ""
|
|
@@ -751,7 +751,7 @@ const z = (e, t) => {
|
|
|
751
751
|
}),
|
|
752
752
|
emits: ["update:show"],
|
|
753
753
|
setup(e) {
|
|
754
|
-
const t = e, o =
|
|
754
|
+
const t = e, o = i3(e, "show"), r = L(() => ({
|
|
755
755
|
name: "name",
|
|
756
756
|
url: "url",
|
|
757
757
|
suffix: "suffix",
|
|
@@ -761,24 +761,24 @@ const z = (e, t) => {
|
|
|
761
761
|
image: !1,
|
|
762
762
|
office: !1,
|
|
763
763
|
video: !1
|
|
764
|
-
}),
|
|
765
|
-
var g, x,
|
|
764
|
+
}), w = (d) => {
|
|
765
|
+
var g, x, S, D, V, W, T;
|
|
766
766
|
try {
|
|
767
|
-
const
|
|
767
|
+
const _ = ((g = d == null ? void 0 : d.response) == null ? void 0 : g.data) || d, j = _[r.value.url] || (_ == null ? void 0 : _.id) || _.attachmentId, E = (x = _[r.value.suffix] || _.attachmentSuffix) == null ? void 0 : x.toLowerCase(), G = _[r.value.name] || (_ == null ? void 0 : _.attachmentName) || (_ == null ? void 0 : _.originName);
|
|
768
768
|
if (a.value = {
|
|
769
769
|
...d,
|
|
770
770
|
name: d[r.value.name],
|
|
771
|
-
url:
|
|
772
|
-
}, d &&
|
|
771
|
+
url: o3(t.loadUrl, j)
|
|
772
|
+
}, d && b(d, r.value) === "image") {
|
|
773
773
|
l.image = !0;
|
|
774
774
|
return;
|
|
775
|
-
} else if (t.onlyOfficeAccept.includes(
|
|
775
|
+
} else if ((((S = t.onlyOfficeConfig) == null ? void 0 : S.accept) || t.onlyOfficeAccept).includes(E)) {
|
|
776
776
|
l.office = !0, n.value = {
|
|
777
777
|
...t.onlyOfficeConfig,
|
|
778
778
|
editorConfig: {
|
|
779
|
-
...((
|
|
779
|
+
...((D = t.onlyOfficeConfig) == null ? void 0 : D.editorConfig) || {},
|
|
780
780
|
customization: {
|
|
781
|
-
...((
|
|
781
|
+
...((W = (V = t.onlyOfficeConfig) == null ? void 0 : V.editorConfig) == null ? void 0 : W.customization) || {},
|
|
782
782
|
review: {
|
|
783
783
|
reviewDisplay: "final"
|
|
784
784
|
}
|
|
@@ -786,43 +786,43 @@ const z = (e, t) => {
|
|
|
786
786
|
},
|
|
787
787
|
document: {
|
|
788
788
|
key: C3(),
|
|
789
|
-
title:
|
|
790
|
-
url:
|
|
791
|
-
fileType:
|
|
792
|
-
...((
|
|
789
|
+
title: G,
|
|
790
|
+
url: o3(t.loadUrl, j),
|
|
791
|
+
fileType: E,
|
|
792
|
+
...((T = t.onlyOfficeConfig) == null ? void 0 : T.document) || {}
|
|
793
793
|
},
|
|
794
|
-
documentType: T3(
|
|
794
|
+
documentType: T3(E)
|
|
795
795
|
};
|
|
796
796
|
return;
|
|
797
797
|
}
|
|
798
|
-
} catch (
|
|
799
|
-
console.info("预览错误: ",
|
|
798
|
+
} catch (_) {
|
|
799
|
+
console.info("预览错误: ", _);
|
|
800
800
|
}
|
|
801
801
|
};
|
|
802
802
|
g3([o, t.file], ([d, g]) => {
|
|
803
|
-
d &&
|
|
804
|
-
|
|
803
|
+
d && t3(() => {
|
|
804
|
+
w(t.file);
|
|
805
805
|
});
|
|
806
806
|
});
|
|
807
807
|
const m = () => {
|
|
808
808
|
o.value = !1, l.office = !1, l.image = !1, l.video = !1;
|
|
809
809
|
};
|
|
810
810
|
return (d, g) => {
|
|
811
|
-
var
|
|
811
|
+
var S, D;
|
|
812
812
|
const x = J("el-image-viewer");
|
|
813
813
|
return o.value ? (s(), h(
|
|
814
|
-
|
|
814
|
+
O,
|
|
815
815
|
{ key: 0 },
|
|
816
816
|
[
|
|
817
|
-
(
|
|
817
|
+
(S = a.value) != null && S.url && l.image ? (s(), z(x, {
|
|
818
818
|
key: 0,
|
|
819
819
|
onClose: g[0] || (g[0] = (V) => {
|
|
820
820
|
a.value = null, l.image = !1;
|
|
821
821
|
}),
|
|
822
822
|
ref: "previewImgRef",
|
|
823
823
|
"url-list": [(D = a.value) == null ? void 0 : D.url]
|
|
824
|
-
}, null, 8, ["url-list"])) :
|
|
825
|
-
|
|
824
|
+
}, null, 8, ["url-list"])) : k("v-if", !0),
|
|
825
|
+
k(" 文档类 "),
|
|
826
826
|
A(u(le), {
|
|
827
827
|
modelValue: l.office,
|
|
828
828
|
"onUpdate:modelValue": g[1] || (g[1] = (V) => l.office = V),
|
|
@@ -838,12 +838,11 @@ const z = (e, t) => {
|
|
|
838
838
|
onClose: m,
|
|
839
839
|
"modal-class": "ik-only-preview-dialog"
|
|
840
840
|
}, {
|
|
841
|
-
default:
|
|
841
|
+
default: y(() => [
|
|
842
842
|
A(u(fe), {
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
}, null, 8, ["configOptions", "documentServerUrl"])
|
|
843
|
+
"config-options": n.value,
|
|
844
|
+
"document-server-url": e.onlyOfficeConfig.serverUrl || e.onlyofficeServer
|
|
845
|
+
}, null, 8, ["config-options", "document-server-url"])
|
|
847
846
|
]),
|
|
848
847
|
_: 1
|
|
849
848
|
/* STABLE */
|
|
@@ -851,7 +850,7 @@ const z = (e, t) => {
|
|
|
851
850
|
],
|
|
852
851
|
64
|
|
853
852
|
/* STABLE_FRAGMENT */
|
|
854
|
-
)) :
|
|
853
|
+
)) : k("v-if", !0);
|
|
855
854
|
};
|
|
856
855
|
}
|
|
857
856
|
});
|
|
@@ -924,7 +923,7 @@ const W6 = P(P6), N6 = {
|
|
|
924
923
|
return t.width && (a.width = a.height = typeof t.width == "number" ? `${t.width}px` : t.width), a;
|
|
925
924
|
});
|
|
926
925
|
return (n, a) => {
|
|
927
|
-
const l = J("el-tooltip"),
|
|
926
|
+
const l = J("el-tooltip"), w = J("el-button");
|
|
928
927
|
return n.tableIconType === "icon" ? (s(), h("span", N6, [
|
|
929
928
|
n.notip || !n.title ? (s(), h(
|
|
930
929
|
"i",
|
|
@@ -943,16 +942,16 @@ const W6 = P(P6), N6 = {
|
|
|
943
942
|
active: n.active,
|
|
944
943
|
disabled: n.disabled
|
|
945
944
|
}]),
|
|
946
|
-
style:
|
|
945
|
+
style: U(r.value)
|
|
947
946
|
},
|
|
948
947
|
[
|
|
949
|
-
|
|
948
|
+
k(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
950
949
|
o.value === "iksig" ? (s(), h(
|
|
951
950
|
"i",
|
|
952
951
|
{
|
|
953
952
|
key: 0,
|
|
954
953
|
class: $(`iksig ${n.name}`),
|
|
955
|
-
style:
|
|
954
|
+
style: U(r.value)
|
|
956
955
|
},
|
|
957
956
|
null,
|
|
958
957
|
6
|
|
@@ -970,7 +969,7 @@ const W6 = P(P6), N6 = {
|
|
|
970
969
|
{
|
|
971
970
|
key: 3,
|
|
972
971
|
class: $(n.name),
|
|
973
|
-
style:
|
|
972
|
+
style: U(r.value)
|
|
974
973
|
},
|
|
975
974
|
null,
|
|
976
975
|
6
|
|
@@ -979,12 +978,12 @@ const W6 = P(P6), N6 = {
|
|
|
979
978
|
],
|
|
980
979
|
6
|
|
981
980
|
/* CLASS, STYLE */
|
|
982
|
-
)) : (s(),
|
|
981
|
+
)) : (s(), z(l, {
|
|
983
982
|
key: 1,
|
|
984
983
|
content: n.title,
|
|
985
984
|
placement: "top"
|
|
986
985
|
}, {
|
|
987
|
-
default:
|
|
986
|
+
default: y(() => [
|
|
988
987
|
c(
|
|
989
988
|
"i",
|
|
990
989
|
{
|
|
@@ -1000,7 +999,7 @@ const W6 = P(P6), N6 = {
|
|
|
1000
999
|
error: n.error || t.type === "error",
|
|
1001
1000
|
active: n.active
|
|
1002
1001
|
}]),
|
|
1003
|
-
style:
|
|
1002
|
+
style: U(r.value)
|
|
1004
1003
|
},
|
|
1005
1004
|
[
|
|
1006
1005
|
o.value === "iksig" ? (s(), h(
|
|
@@ -1008,7 +1007,7 @@ const W6 = P(P6), N6 = {
|
|
|
1008
1007
|
{
|
|
1009
1008
|
key: 0,
|
|
1010
1009
|
class: $(`iksig ${n.name}`),
|
|
1011
|
-
style:
|
|
1010
|
+
style: U(r.value)
|
|
1012
1011
|
},
|
|
1013
1012
|
null,
|
|
1014
1013
|
6
|
|
@@ -1026,7 +1025,7 @@ const W6 = P(P6), N6 = {
|
|
|
1026
1025
|
{
|
|
1027
1026
|
key: 3,
|
|
1028
1027
|
class: $(n.name),
|
|
1029
|
-
style:
|
|
1028
|
+
style: U(r.value)
|
|
1030
1029
|
},
|
|
1031
1030
|
null,
|
|
1032
1031
|
6
|
|
@@ -1040,12 +1039,12 @@ const W6 = P(P6), N6 = {
|
|
|
1040
1039
|
_: 1
|
|
1041
1040
|
/* STABLE */
|
|
1042
1041
|
}, 8, ["content"]))
|
|
1043
|
-
])) : (s(),
|
|
1042
|
+
])) : (s(), z(w, {
|
|
1044
1043
|
key: 1,
|
|
1045
1044
|
type: ["warning", "error"].includes(n.type) ? "danger" : ""
|
|
1046
1045
|
}, {
|
|
1047
|
-
default:
|
|
1048
|
-
|
|
1046
|
+
default: y(() => [
|
|
1047
|
+
q(
|
|
1049
1048
|
C(n.title),
|
|
1050
1049
|
1
|
|
1051
1050
|
/* TEXT */
|
|
@@ -1057,7 +1056,7 @@ const W6 = P(P6), N6 = {
|
|
|
1057
1056
|
};
|
|
1058
1057
|
}
|
|
1059
1058
|
});
|
|
1060
|
-
const ee = /* @__PURE__ */ K(Y6, [["__scopeId", "data-v-7d95dbf5"]]),
|
|
1059
|
+
const ee = /* @__PURE__ */ K(Y6, [["__scopeId", "data-v-7d95dbf5"]]), I = P(ee), te = {
|
|
1061
1060
|
key: 0,
|
|
1062
1061
|
class: "exit-main-page-maximize"
|
|
1063
1062
|
}, ne = /* @__PURE__ */ F({
|
|
@@ -1075,13 +1074,13 @@ const ee = /* @__PURE__ */ K(Y6, [["__scopeId", "data-v-7d95dbf5"]]), S = P(ee),
|
|
|
1075
1074
|
setup(e) {
|
|
1076
1075
|
return (t, o) => (s(), h("div", null, [
|
|
1077
1076
|
e.showBg && e.fullscreen ? (s(), h("div", te, [
|
|
1078
|
-
A(u(
|
|
1077
|
+
A(u(I), {
|
|
1079
1078
|
name: "iksvg_guanbidanchuang",
|
|
1080
1079
|
title: "关闭",
|
|
1081
1080
|
size: 20,
|
|
1082
1081
|
error: ""
|
|
1083
1082
|
})
|
|
1084
|
-
])) : (s(),
|
|
1083
|
+
])) : (s(), z(u(I), {
|
|
1085
1084
|
key: 1,
|
|
1086
1085
|
error: "",
|
|
1087
1086
|
name: "iksvg_guanbidanchuang",
|
|
@@ -1112,55 +1111,55 @@ const oe = /* @__PURE__ */ K(ne, [["__scopeId", "data-v-79f49df8"]]), ie = { cla
|
|
|
1112
1111
|
}),
|
|
1113
1112
|
emits: ["update:modelValue"],
|
|
1114
1113
|
setup(e) {
|
|
1115
|
-
const t = e, o =
|
|
1114
|
+
const t = e, o = i3(e, "modelValue"), r = R(t.fullscreen), n = () => {
|
|
1116
1115
|
r.value = !r.value;
|
|
1117
1116
|
}, a = F({
|
|
1118
1117
|
setup() {
|
|
1119
|
-
return () =>
|
|
1118
|
+
return () => y3(oe, {
|
|
1120
1119
|
showBg: t.showCloseBg,
|
|
1121
1120
|
fullscreen: t.fullscreen
|
|
1122
1121
|
});
|
|
1123
1122
|
}
|
|
1124
1123
|
});
|
|
1125
|
-
return (l,
|
|
1124
|
+
return (l, w) => {
|
|
1126
1125
|
const m = J("el-dialog");
|
|
1127
|
-
return s(),
|
|
1126
|
+
return s(), z(m, n3({
|
|
1128
1127
|
modelValue: o.value,
|
|
1129
|
-
"onUpdate:modelValue":
|
|
1128
|
+
"onUpdate:modelValue": w[0] || (w[0] = (d) => o.value = d)
|
|
1130
1129
|
}, l.$attrs, {
|
|
1131
1130
|
"close-icon": u(a),
|
|
1132
1131
|
class: `ik-base-dialog ${l.noHeader ? "no-header" : ""} ${l.noFooter ? "no-footer" : ""}`,
|
|
1133
1132
|
fullscreen: r.value,
|
|
1134
1133
|
"modal-class": "baseDialog"
|
|
1135
|
-
}),
|
|
1136
|
-
icon:
|
|
1134
|
+
}), v3({
|
|
1135
|
+
icon: y(() => [
|
|
1137
1136
|
M(l.$slots, "title", {}, () => [
|
|
1138
|
-
|
|
1137
|
+
q(
|
|
1139
1138
|
C(l.title),
|
|
1140
1139
|
1
|
|
1141
1140
|
/* TEXT */
|
|
1142
1141
|
)
|
|
1143
1142
|
])
|
|
1144
1143
|
]),
|
|
1145
|
-
header:
|
|
1144
|
+
header: y(() => [
|
|
1146
1145
|
c("div", ie, [
|
|
1147
1146
|
M(l.$slots, "header", {}, () => [
|
|
1148
|
-
|
|
1147
|
+
q(
|
|
1149
1148
|
C(l.title),
|
|
1150
1149
|
1
|
|
1151
1150
|
/* TEXT */
|
|
1152
1151
|
)
|
|
1153
1152
|
])
|
|
1154
1153
|
]),
|
|
1155
|
-
l.$attrs.showClose ? (s(),
|
|
1154
|
+
l.$attrs.showClose ? (s(), z(u(I), {
|
|
1156
1155
|
key: 0,
|
|
1157
1156
|
onClick: n,
|
|
1158
1157
|
name: r.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1159
1158
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1160
1159
|
title: r.value ? "退出全屏" : "全屏"
|
|
1161
|
-
}, null, 8, ["name", "title"])) :
|
|
1160
|
+
}, null, 8, ["name", "title"])) : k("v-if", !0)
|
|
1162
1161
|
]),
|
|
1163
|
-
default:
|
|
1162
|
+
default: y(() => [
|
|
1164
1163
|
M(l.$slots, "default")
|
|
1165
1164
|
]),
|
|
1166
1165
|
_: 2
|
|
@@ -1168,7 +1167,7 @@ const oe = /* @__PURE__ */ K(ne, [["__scopeId", "data-v-79f49df8"]]), ie = { cla
|
|
|
1168
1167
|
}, [
|
|
1169
1168
|
l.$slots.footer ? {
|
|
1170
1169
|
name: "footer",
|
|
1171
|
-
fn:
|
|
1170
|
+
fn: y(() => [
|
|
1172
1171
|
M(l.$slots, "footer")
|
|
1173
1172
|
]),
|
|
1174
1173
|
key: "0"
|
|
@@ -1185,7 +1184,7 @@ function ae(e, t, o, r) {
|
|
|
1185
1184
|
});
|
|
1186
1185
|
}
|
|
1187
1186
|
return new (o || (o = Promise))(function(a, l) {
|
|
1188
|
-
function
|
|
1187
|
+
function w(g) {
|
|
1189
1188
|
try {
|
|
1190
1189
|
d(r.next(g));
|
|
1191
1190
|
} catch (x) {
|
|
@@ -1200,7 +1199,7 @@ function ae(e, t, o, r) {
|
|
|
1200
1199
|
}
|
|
1201
1200
|
}
|
|
1202
1201
|
function d(g) {
|
|
1203
|
-
g.done ? a(g.value) : n(g.value).then(
|
|
1202
|
+
g.done ? a(g.value) : n(g.value).then(w, m);
|
|
1204
1203
|
}
|
|
1205
1204
|
d((r = r.apply(e, t || [])).next());
|
|
1206
1205
|
});
|
|
@@ -1211,10 +1210,10 @@ function ce(e, t) {
|
|
|
1211
1210
|
throw a[1];
|
|
1212
1211
|
return a[1];
|
|
1213
1212
|
}, trys: [], ops: [] }, r, n, a, l;
|
|
1214
|
-
return l = { next:
|
|
1213
|
+
return l = { next: w(0), throw: w(1), return: w(2) }, typeof Symbol == "function" && (l[Symbol.iterator] = function() {
|
|
1215
1214
|
return this;
|
|
1216
1215
|
}), l;
|
|
1217
|
-
function
|
|
1216
|
+
function w(d) {
|
|
1218
1217
|
return function(g) {
|
|
1219
1218
|
return m([d, g]);
|
|
1220
1219
|
};
|
|
@@ -1284,13 +1283,13 @@ var re = function(e, t) {
|
|
|
1284
1283
|
if (!m) {
|
|
1285
1284
|
if (clearInterval(l), window.DocsAPI)
|
|
1286
1285
|
return r(null);
|
|
1287
|
-
var d =
|
|
1286
|
+
var d = f3(t, e, r, n);
|
|
1288
1287
|
a.remove(), document.body.appendChild(d);
|
|
1289
1288
|
}
|
|
1290
1289
|
}, 500);
|
|
1291
1290
|
else {
|
|
1292
|
-
var
|
|
1293
|
-
document.body.appendChild(
|
|
1291
|
+
var w = f3(t, e, r, n);
|
|
1292
|
+
document.body.appendChild(w);
|
|
1294
1293
|
}
|
|
1295
1294
|
} catch (m) {
|
|
1296
1295
|
console.error(m);
|
|
@@ -1298,14 +1297,14 @@ var re = function(e, t) {
|
|
|
1298
1297
|
})];
|
|
1299
1298
|
});
|
|
1300
1299
|
});
|
|
1301
|
-
},
|
|
1300
|
+
}, f3 = function(e, t, o, r) {
|
|
1302
1301
|
var n = document.createElement("script");
|
|
1303
1302
|
return n.id = e, n.type = "text/javascript", n.src = t, n.async = !0, n.onload = function() {
|
|
1304
1303
|
n.removeAttribute("loading"), o(null);
|
|
1305
1304
|
}, n.onerror = function(a) {
|
|
1306
1305
|
n.removeAttribute("loading"), r(a);
|
|
1307
1306
|
}, n.setAttribute("loading", ""), n;
|
|
1308
|
-
},
|
|
1307
|
+
}, s3 = F({
|
|
1309
1308
|
name: "DocumentEditor",
|
|
1310
1309
|
props: {
|
|
1311
1310
|
id: {
|
|
@@ -1478,8 +1477,8 @@ const de = ["id"];
|
|
|
1478
1477
|
function ue(e, t, o, r, n, a) {
|
|
1479
1478
|
return s(), h("div", { id: e.id }, null, 8, de);
|
|
1480
1479
|
}
|
|
1481
|
-
|
|
1482
|
-
|
|
1480
|
+
s3.render = ue;
|
|
1481
|
+
s3.__file = "src/components/DocumentEditor.vue";
|
|
1483
1482
|
const pe = /* @__PURE__ */ F({
|
|
1484
1483
|
__name: "IkOnlyOffice",
|
|
1485
1484
|
props: {
|
|
@@ -1504,17 +1503,18 @@ const pe = /* @__PURE__ */ F({
|
|
|
1504
1503
|
const t = e, o = R({
|
|
1505
1504
|
width: "100%",
|
|
1506
1505
|
height: "100%",
|
|
1507
|
-
...t.configOptions || {}
|
|
1506
|
+
...t.configOptions || {},
|
|
1507
|
+
...t.configOptions
|
|
1508
1508
|
}), r = () => {
|
|
1509
1509
|
console.info("文档加载完成", t.configOptions);
|
|
1510
1510
|
};
|
|
1511
1511
|
return (n, a) => (s(), h(
|
|
1512
1512
|
"div",
|
|
1513
1513
|
{
|
|
1514
|
-
style:
|
|
1514
|
+
style: U({ height: t.officeHeight })
|
|
1515
1515
|
},
|
|
1516
1516
|
[
|
|
1517
|
-
A(u(
|
|
1517
|
+
A(u(s3), {
|
|
1518
1518
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1519
1519
|
ref: "editorRef",
|
|
1520
1520
|
"document-server-url": e.documentServerUrl,
|
|
@@ -1527,13 +1527,13 @@ const pe = /* @__PURE__ */ F({
|
|
|
1527
1527
|
));
|
|
1528
1528
|
}
|
|
1529
1529
|
});
|
|
1530
|
-
const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-
|
|
1530
|
+
const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-98d51ef9"]]), fe = P(he), ve = (e) => (z3("data-v-10a62ee9"), e = e(), b3(), e), me = { class: "ik-flie-list" }, Ae = { class: "name" }, ge = { key: 1 }, ye = ["src"], we = { class: "file-icon" }, _e = { class: "file-name-loading" }, ke = { class: "file-name" }, ze = { key: 0 }, be = {
|
|
1531
1531
|
key: 0,
|
|
1532
1532
|
class: "file-size"
|
|
1533
|
-
}, Fe = { class: "name" }, Ce = { class: "file-name-loading" }, xe = { class: "file-name" }, Be = { class: "file-size" },
|
|
1533
|
+
}, Fe = { class: "name" }, Ce = { class: "file-name-loading" }, xe = { class: "file-name" }, Be = { class: "file-size" }, Ie = { class: "operate-btn" }, Se = { class: "card" }, De = { class: "title" }, Ve = /* @__PURE__ */ ve(() => /* @__PURE__ */ c(
|
|
1534
1534
|
"img",
|
|
1535
1535
|
{
|
|
1536
|
-
src:
|
|
1536
|
+
src: I3,
|
|
1537
1537
|
class: "w-[48px] h-[48px]"
|
|
1538
1538
|
},
|
|
1539
1539
|
null,
|
|
@@ -1686,7 +1686,7 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1686
1686
|
}),
|
|
1687
1687
|
emits: /* @__PURE__ */ Q(["delete", "exceed", "success", "error", "outSize"], ["update:modelValue"]),
|
|
1688
1688
|
setup(e, { emit: t }) {
|
|
1689
|
-
const o = e, r = t, n =
|
|
1689
|
+
const o = e, r = t, n = i3(e, "modelValue"), l = {
|
|
1690
1690
|
...{
|
|
1691
1691
|
name: "name",
|
|
1692
1692
|
url: "url",
|
|
@@ -1694,9 +1694,9 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1694
1694
|
size: "size"
|
|
1695
1695
|
},
|
|
1696
1696
|
...o.defaultFileds
|
|
1697
|
-
},
|
|
1697
|
+
}, w = L(() => o.size), m = R(null), d = R([]), g = R({}), x = R(!1), S = (p) => {
|
|
1698
1698
|
const f = p.size / 1024 / 1024;
|
|
1699
|
-
return f <
|
|
1699
|
+
return f < w.value ? !0 : (r("outSize"), Y({
|
|
1700
1700
|
message: `上传文件大小(${f.toFixed(4)}MB)超出允许最大值(${o.size}MB),请重新选择`,
|
|
1701
1701
|
type: "warning",
|
|
1702
1702
|
showClose: !0,
|
|
@@ -1704,74 +1704,74 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1704
1704
|
}), !1);
|
|
1705
1705
|
}, D = (p, f) => {
|
|
1706
1706
|
var B;
|
|
1707
|
-
p.size / 1024 / 1024 <
|
|
1707
|
+
p.size / 1024 / 1024 < w.value || t3(() => {
|
|
1708
1708
|
n.value.pop();
|
|
1709
|
-
}), o.accept !== "*" && !o.accept.split(",").includes((B = p == null ? void 0 : p.raw) == null ? void 0 : B.type) && !o.accept.split(",").includes(`.${p.name.split(".").pop()}`) && (
|
|
1709
|
+
}), o.accept !== "*" && !o.accept.split(",").includes((B = p == null ? void 0 : p.raw) == null ? void 0 : B.type) && !o.accept.split(",").includes(`.${p.name.split(".").pop()}`) && (Y({
|
|
1710
1710
|
message: `不允许的上传文件格式(${p.name}),请重新选择`,
|
|
1711
1711
|
type: "warning",
|
|
1712
1712
|
showClose: !0,
|
|
1713
1713
|
duration: 5e3
|
|
1714
|
-
}),
|
|
1714
|
+
}), t3(() => {
|
|
1715
1715
|
n.value.pop();
|
|
1716
1716
|
}));
|
|
1717
1717
|
}, V = () => !1, W = (p, f) => {
|
|
1718
1718
|
var i, v;
|
|
1719
1719
|
p.status = "ready", f !== void 0 && d.value.splice(f, 1), (i = m.value) == null || i.handleStart(p.raw), (v = m.value) == null || v.submit();
|
|
1720
|
-
},
|
|
1721
|
-
var Z,
|
|
1720
|
+
}, T = (p, f) => {
|
|
1721
|
+
var Z, a3;
|
|
1722
1722
|
const i = n.value.length, v = o.limit - i;
|
|
1723
1723
|
let B = 0;
|
|
1724
1724
|
for (; B < v && B < p.length; )
|
|
1725
|
-
(Z = m.value) == null || Z.handleStart(p[B]), (
|
|
1726
|
-
|
|
1725
|
+
(Z = m.value) == null || Z.handleStart(p[B]), (a3 = m.value) == null || a3.submit(), B++;
|
|
1726
|
+
Y({
|
|
1727
1727
|
message: (o == null ? void 0 : o.limitText) || `最大可上传${o.limit}个文件,已忽略超出文件`,
|
|
1728
1728
|
type: "warning",
|
|
1729
1729
|
showClose: !0,
|
|
1730
1730
|
duration: 5e3
|
|
1731
1731
|
}), r("exceed", p);
|
|
1732
|
-
},
|
|
1732
|
+
}, _ = (p, f, i) => {
|
|
1733
1733
|
r("success", p, f, i);
|
|
1734
|
-
},
|
|
1734
|
+
}, j = (p, f, i) => {
|
|
1735
1735
|
d.value.push(f), r("error", p, f, i);
|
|
1736
|
-
},
|
|
1736
|
+
}, E = (p) => {
|
|
1737
1737
|
var f, i;
|
|
1738
1738
|
g.value = {
|
|
1739
1739
|
...p,
|
|
1740
1740
|
name: p[l.name],
|
|
1741
|
-
url:
|
|
1741
|
+
url: o3(
|
|
1742
1742
|
o.loadUrl,
|
|
1743
1743
|
p[l.url] || ((i = (f = p == null ? void 0 : p.response) == null ? void 0 : f.data) == null ? void 0 : i.id)
|
|
1744
1744
|
)
|
|
1745
1745
|
}, x.value = !0;
|
|
1746
|
-
},
|
|
1746
|
+
}, G = (p) => {
|
|
1747
1747
|
B3.downloadByOnlineUrl(
|
|
1748
1748
|
p[l.url],
|
|
1749
1749
|
p[l.name]
|
|
1750
1750
|
);
|
|
1751
|
-
},
|
|
1751
|
+
}, l3 = (p, f = !1) => {
|
|
1752
1752
|
var i;
|
|
1753
1753
|
(i = m.value) == null || i.abort(p);
|
|
1754
1754
|
}, N = (p) => {
|
|
1755
1755
|
var f, i;
|
|
1756
1756
|
try {
|
|
1757
|
-
p.status !== "success" &&
|
|
1757
|
+
p.status !== "success" && l3(p), (f = m.value) == null || f.handleRemove(p), n.value = n.value.filter((v) => v.uid !== p.uid), r("delete", p);
|
|
1758
1758
|
} catch (v) {
|
|
1759
1759
|
(i = m.value) == null || i.handleRemove(p), n.value = n.value.filter((B) => B.uid !== p.uid), r("delete", p), console.error(v);
|
|
1760
1760
|
}
|
|
1761
1761
|
}, m3 = (p, f) => {
|
|
1762
1762
|
d.value.splice(f, 1);
|
|
1763
|
-
},
|
|
1763
|
+
}, X = L(
|
|
1764
1764
|
() => n.value.length >= o.limit || o.disabled
|
|
1765
1765
|
);
|
|
1766
1766
|
return (p, f) => (s(), h(
|
|
1767
|
-
|
|
1767
|
+
O,
|
|
1768
1768
|
null,
|
|
1769
1769
|
[
|
|
1770
|
-
e.preview ?
|
|
1771
|
-
|
|
1770
|
+
e.preview ? k("v-if", !0) : (s(), h(
|
|
1771
|
+
O,
|
|
1772
1772
|
{ key: 0 },
|
|
1773
1773
|
[
|
|
1774
|
-
e.type === "button" ? (s(),
|
|
1774
|
+
e.type === "button" ? (s(), z(u(c3), n3({
|
|
1775
1775
|
key: 0,
|
|
1776
1776
|
class: "ik-file-upload"
|
|
1777
1777
|
}, p.$attrs, {
|
|
@@ -1781,23 +1781,23 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1781
1781
|
"onUpdate:fileList": f[0] || (f[0] = (i) => n.value = i),
|
|
1782
1782
|
ref_key: "refUpload",
|
|
1783
1783
|
ref: m,
|
|
1784
|
-
"before-upload":
|
|
1784
|
+
"before-upload": S,
|
|
1785
1785
|
"before-remove": V,
|
|
1786
|
-
"on-exceed":
|
|
1786
|
+
"on-exceed": T,
|
|
1787
1787
|
"on-change": D,
|
|
1788
1788
|
multiple: e.multiple,
|
|
1789
1789
|
headers: e.headers,
|
|
1790
1790
|
limit: e.limit,
|
|
1791
|
-
"on-success":
|
|
1792
|
-
"on-error":
|
|
1791
|
+
"on-success": _,
|
|
1792
|
+
"on-error": j
|
|
1793
1793
|
}), {
|
|
1794
|
-
trigger:
|
|
1795
|
-
p.$slots.trigger ? M(p.$slots, "trigger", { key: 0 }, void 0, !0) : (s(),
|
|
1794
|
+
trigger: y(() => [
|
|
1795
|
+
p.$slots.trigger ? M(p.$slots, "trigger", { key: 0 }, void 0, !0) : (s(), z(u(F3), {
|
|
1796
1796
|
key: 1,
|
|
1797
|
-
disabled:
|
|
1798
|
-
},
|
|
1799
|
-
default:
|
|
1800
|
-
|
|
1797
|
+
disabled: X.value
|
|
1798
|
+
}, v3({
|
|
1799
|
+
default: y(() => [
|
|
1800
|
+
q(
|
|
1801
1801
|
" " + C(e.title),
|
|
1802
1802
|
1
|
|
1803
1803
|
/* TEXT */
|
|
@@ -1808,34 +1808,34 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1808
1808
|
}, [
|
|
1809
1809
|
e.showIcon ? {
|
|
1810
1810
|
name: "icon",
|
|
1811
|
-
fn:
|
|
1812
|
-
A(u(
|
|
1811
|
+
fn: y(() => [
|
|
1812
|
+
A(u(I), {
|
|
1813
1813
|
name: "iksvg_daoru",
|
|
1814
|
-
disabled:
|
|
1814
|
+
disabled: X.value
|
|
1815
1815
|
}, null, 8, ["disabled"])
|
|
1816
1816
|
]),
|
|
1817
1817
|
key: "0"
|
|
1818
1818
|
} : void 0
|
|
1819
1819
|
]), 1032, ["disabled"]))
|
|
1820
1820
|
]),
|
|
1821
|
-
file:
|
|
1821
|
+
file: y(({ file: i }) => [
|
|
1822
1822
|
c("div", me, [
|
|
1823
1823
|
c("div", Ae, [
|
|
1824
|
-
!p.$slots.fileIcon && (!e.customIconData[u(
|
|
1824
|
+
!p.$slots.fileIcon && (!e.customIconData[u(b)(i, l)] || !e.customIconData[u(b)(i, l)][e.customIconFields.icon]) ? (s(), z(h3, {
|
|
1825
1825
|
key: 0,
|
|
1826
|
-
type: u(
|
|
1827
|
-
}, null, 8, ["type"])) : !p.$slots.fileIcon && e.customIconData[u(
|
|
1828
|
-
e.customIconData[u(
|
|
1826
|
+
type: u(b)(i, l)
|
|
1827
|
+
}, null, 8, ["type"])) : !p.$slots.fileIcon && e.customIconData[u(b)(i, l)] && e.customIconData[u(b)(i, l)][e.customIconFields.icon] ? (s(), h("div", ge, [
|
|
1828
|
+
e.customIconData[u(b)(i, l)][e.customIconFields.type] === "img" ? (s(), h("img", {
|
|
1829
1829
|
key: 0,
|
|
1830
|
-
src: e.customIconData[u(
|
|
1830
|
+
src: e.customIconData[u(b)(i, l)][e.customIconFields.icon],
|
|
1831
1831
|
alt: "",
|
|
1832
1832
|
class: "file-img-icon"
|
|
1833
|
-
}, null, 8,
|
|
1833
|
+
}, null, 8, ye)) : (s(), h(
|
|
1834
1834
|
"span",
|
|
1835
1835
|
{
|
|
1836
1836
|
key: 1,
|
|
1837
1837
|
class: $([
|
|
1838
|
-
e.customIconData[u(
|
|
1838
|
+
e.customIconData[u(b)(i, l)][e.customIconFields.icon],
|
|
1839
1839
|
"file-icon-size"
|
|
1840
1840
|
])
|
|
1841
1841
|
},
|
|
@@ -1843,13 +1843,13 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1843
1843
|
2
|
|
1844
1844
|
/* CLASS */
|
|
1845
1845
|
))
|
|
1846
|
-
])) :
|
|
1847
|
-
c("div",
|
|
1846
|
+
])) : k("v-if", !0),
|
|
1847
|
+
c("div", we, [
|
|
1848
1848
|
M(p.$slots, "fileIcon", { file: i }, void 0, !0)
|
|
1849
1849
|
]),
|
|
1850
1850
|
c("div", _e, [
|
|
1851
1851
|
c("p", ke, [
|
|
1852
|
-
|
|
1852
|
+
q(
|
|
1853
1853
|
C(i[l.name] || i.name) + " ",
|
|
1854
1854
|
1
|
|
1855
1855
|
/* TEXT */
|
|
@@ -1860,37 +1860,37 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1860
1860
|
"(" + C(i.percentage) + "%)",
|
|
1861
1861
|
1
|
|
1862
1862
|
/* TEXT */
|
|
1863
|
-
)) :
|
|
1863
|
+
)) : k("v-if", !0)
|
|
1864
1864
|
]),
|
|
1865
1865
|
i.status === "success" ? (s(), h(
|
|
1866
1866
|
"p",
|
|
1867
1867
|
be,
|
|
1868
|
-
C(u(
|
|
1868
|
+
C(u(e3)(i.size / 1024 / 1024)) + "MB ",
|
|
1869
1869
|
1
|
|
1870
1870
|
/* TEXT */
|
|
1871
|
-
)) :
|
|
1872
|
-
i.percentage && i.status === "uploading" ? (s(),
|
|
1871
|
+
)) : k("v-if", !0),
|
|
1872
|
+
i.percentage && i.status === "uploading" ? (s(), z(u(r3), {
|
|
1873
1873
|
key: 1,
|
|
1874
1874
|
"text-inside": "",
|
|
1875
1875
|
percentage: i.percentage,
|
|
1876
1876
|
color: "var(--el-color-primary)",
|
|
1877
1877
|
"show-text": !1
|
|
1878
|
-
}, null, 8, ["percentage"])) :
|
|
1878
|
+
}, null, 8, ["percentage"])) : k("v-if", !0)
|
|
1879
1879
|
])
|
|
1880
1880
|
]),
|
|
1881
1881
|
c("div", null, [
|
|
1882
1882
|
i.status === "success" ? (s(), h(
|
|
1883
|
-
|
|
1883
|
+
O,
|
|
1884
1884
|
{ key: 0 },
|
|
1885
1885
|
[
|
|
1886
|
-
A(u(
|
|
1887
|
-
onClick: (v) =>
|
|
1886
|
+
A(u(I), {
|
|
1887
|
+
onClick: (v) => E(i),
|
|
1888
1888
|
name: "iksvg_yulan",
|
|
1889
1889
|
title: "预览",
|
|
1890
1890
|
bg: "",
|
|
1891
1891
|
size: "default"
|
|
1892
1892
|
}, null, 8, ["onClick"]),
|
|
1893
|
-
A(u(
|
|
1893
|
+
A(u(I), {
|
|
1894
1894
|
onClick: (v) => N(i),
|
|
1895
1895
|
error: "",
|
|
1896
1896
|
name: "iksvg_shanchu",
|
|
@@ -1901,7 +1901,7 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1901
1901
|
],
|
|
1902
1902
|
64
|
|
1903
1903
|
/* STABLE_FRAGMENT */
|
|
1904
|
-
)) : (s(),
|
|
1904
|
+
)) : (s(), z(u(I), {
|
|
1905
1905
|
key: 1,
|
|
1906
1906
|
onClick: (v) => N(i),
|
|
1907
1907
|
error: "",
|
|
@@ -1913,22 +1913,22 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1913
1913
|
])
|
|
1914
1914
|
])
|
|
1915
1915
|
]),
|
|
1916
|
-
default:
|
|
1916
|
+
default: y(() => {
|
|
1917
1917
|
var i;
|
|
1918
1918
|
return [
|
|
1919
|
-
!e.preview && e.tip ? (s(),
|
|
1919
|
+
!e.preview && e.tip ? (s(), z(u(d3), {
|
|
1920
1920
|
key: 0,
|
|
1921
1921
|
effect: "dark",
|
|
1922
1922
|
content: o.tipText || "",
|
|
1923
1923
|
"popper-class": "_ik_web_ui_file-help-tooltip"
|
|
1924
1924
|
}, {
|
|
1925
|
-
default:
|
|
1926
|
-
A(u(
|
|
1925
|
+
default: y(() => [
|
|
1926
|
+
A(u(H), {
|
|
1927
1927
|
size: 23,
|
|
1928
1928
|
class: "_ik_web_ui_file_help_icon"
|
|
1929
1929
|
}, {
|
|
1930
|
-
default:
|
|
1931
|
-
A(u(
|
|
1930
|
+
default: y(() => [
|
|
1931
|
+
A(u(u3))
|
|
1932
1932
|
]),
|
|
1933
1933
|
_: 1
|
|
1934
1934
|
/* STABLE */
|
|
@@ -1936,21 +1936,21 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1936
1936
|
]),
|
|
1937
1937
|
_: 1
|
|
1938
1938
|
/* STABLE */
|
|
1939
|
-
}, 8, ["content"])) :
|
|
1939
|
+
}, 8, ["content"])) : k("v-if", !0),
|
|
1940
1940
|
(i = d.value) != null && i.length ? (s(!0), h(
|
|
1941
|
-
|
|
1941
|
+
O,
|
|
1942
1942
|
{ key: 1 },
|
|
1943
|
-
|
|
1943
|
+
w3(d.value, (v, B) => (s(), h("div", {
|
|
1944
1944
|
class: "ik-error-flie-list",
|
|
1945
1945
|
key: v.uid
|
|
1946
1946
|
}, [
|
|
1947
1947
|
c("div", Fe, [
|
|
1948
|
-
A(u(
|
|
1948
|
+
A(u(H), {
|
|
1949
1949
|
size: 32,
|
|
1950
1950
|
class: "info",
|
|
1951
1951
|
style: { "vertical-align": "middle" }
|
|
1952
1952
|
}, {
|
|
1953
|
-
default:
|
|
1953
|
+
default: y(() => [
|
|
1954
1954
|
A(u(q3))
|
|
1955
1955
|
]),
|
|
1956
1956
|
_: 1
|
|
@@ -1967,7 +1967,7 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1967
1967
|
c(
|
|
1968
1968
|
"p",
|
|
1969
1969
|
Be,
|
|
1970
|
-
C(u(
|
|
1970
|
+
C(u(e3)(v.size / 1024 / 1024)) + "MB ",
|
|
1971
1971
|
1
|
|
1972
1972
|
/* TEXT */
|
|
1973
1973
|
)
|
|
@@ -1975,26 +1975,26 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
1975
1975
|
]),
|
|
1976
1976
|
_3(c(
|
|
1977
1977
|
"div",
|
|
1978
|
-
|
|
1978
|
+
Ie,
|
|
1979
1979
|
[
|
|
1980
|
-
A(u(
|
|
1980
|
+
A(u(H), {
|
|
1981
1981
|
style: { "vertical-align": "middle" },
|
|
1982
1982
|
onClick: (Z) => W(v, B),
|
|
1983
1983
|
title: "重新上传",
|
|
1984
1984
|
class: "primary"
|
|
1985
1985
|
}, {
|
|
1986
|
-
default:
|
|
1986
|
+
default: y(() => [
|
|
1987
1987
|
A(u(E3))
|
|
1988
1988
|
]),
|
|
1989
1989
|
_: 2
|
|
1990
1990
|
/* DYNAMIC */
|
|
1991
1991
|
}, 1032, ["onClick"]),
|
|
1992
|
-
A(u(
|
|
1992
|
+
A(u(H), {
|
|
1993
1993
|
class: "error",
|
|
1994
1994
|
onClick: (Z) => m3(v, B),
|
|
1995
1995
|
title: "删除"
|
|
1996
1996
|
}, {
|
|
1997
|
-
default:
|
|
1997
|
+
default: y(() => [
|
|
1998
1998
|
A(u(D3))
|
|
1999
1999
|
]),
|
|
2000
2000
|
_: 2
|
|
@@ -2009,12 +2009,12 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2009
2009
|
]))),
|
|
2010
2010
|
128
|
|
2011
2011
|
/* KEYED_FRAGMENT */
|
|
2012
|
-
)) :
|
|
2012
|
+
)) : k("v-if", !0)
|
|
2013
2013
|
];
|
|
2014
2014
|
}),
|
|
2015
2015
|
_: 3
|
|
2016
2016
|
/* FORWARDED */
|
|
2017
|
-
}, 16, ["accept", "action", "file-list", "multiple", "headers", "limit"])) : (s(),
|
|
2017
|
+
}, 16, ["accept", "action", "file-list", "multiple", "headers", "limit"])) : (s(), z(u(c3), n3({
|
|
2018
2018
|
key: 1,
|
|
2019
2019
|
"file-list": n.value,
|
|
2020
2020
|
"onUpdate:fileList": f[1] || (f[1] = (i) => n.value = i),
|
|
@@ -2022,29 +2022,29 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2022
2022
|
}, p.$attrs, {
|
|
2023
2023
|
accept: e.accept,
|
|
2024
2024
|
action: e.action,
|
|
2025
|
-
disabled:
|
|
2025
|
+
disabled: X.value,
|
|
2026
2026
|
ref_key: "refUpload",
|
|
2027
2027
|
ref: m,
|
|
2028
|
-
"before-upload":
|
|
2028
|
+
"before-upload": S,
|
|
2029
2029
|
"before-remove": V,
|
|
2030
|
-
"on-exceed":
|
|
2030
|
+
"on-exceed": T,
|
|
2031
2031
|
multiple: e.multiple,
|
|
2032
2032
|
headers: e.headers,
|
|
2033
2033
|
limit: e.limit,
|
|
2034
|
-
"on-success":
|
|
2035
|
-
"on-error":
|
|
2034
|
+
"on-success": _,
|
|
2035
|
+
"on-error": j,
|
|
2036
2036
|
"on-change": D
|
|
2037
2037
|
}), {
|
|
2038
|
-
file:
|
|
2038
|
+
file: y(({ file: i }) => [
|
|
2039
2039
|
c("div", $e, [
|
|
2040
2040
|
c("div", Re, [
|
|
2041
|
-
!p.$slots.fileIcon && (!e.customIconData[u(
|
|
2041
|
+
!p.$slots.fileIcon && (!e.customIconData[u(b)(i, l)] || !e.customIconData[u(b)(i, l)][e.customIconFields.icon]) ? (s(), z(h3, {
|
|
2042
2042
|
key: 0,
|
|
2043
|
-
type: u(
|
|
2044
|
-
}, null, 8, ["type"])) : !p.$slots.fileIcon && e.customIconData[u(
|
|
2045
|
-
e.customIconData[u(
|
|
2043
|
+
type: u(b)(i, l)
|
|
2044
|
+
}, null, 8, ["type"])) : !p.$slots.fileIcon && e.customIconData[u(b)(i, l)] && e.customIconData[u(b)(i, l)][e.customIconFields.icon] ? (s(), h("div", Me, [
|
|
2045
|
+
e.customIconData[u(b)(i, l)][e.customIconFields.type] === "img" ? (s(), h("img", {
|
|
2046
2046
|
key: 0,
|
|
2047
|
-
src: e.customIconData[u(
|
|
2047
|
+
src: e.customIconData[u(b)(i, l)][e.customIconFields.icon],
|
|
2048
2048
|
alt: "",
|
|
2049
2049
|
class: "file-img-icon"
|
|
2050
2050
|
}, null, 8, Ee)) : (s(), h(
|
|
@@ -2052,7 +2052,7 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2052
2052
|
{
|
|
2053
2053
|
key: 1,
|
|
2054
2054
|
class: $([
|
|
2055
|
-
e.customIconData[u(
|
|
2055
|
+
e.customIconData[u(b)(i, l)][e.customIconFields.icon],
|
|
2056
2056
|
"file-icon-size"
|
|
2057
2057
|
])
|
|
2058
2058
|
},
|
|
@@ -2060,13 +2060,13 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2060
2060
|
2
|
|
2061
2061
|
/* CLASS */
|
|
2062
2062
|
))
|
|
2063
|
-
])) :
|
|
2063
|
+
])) : k("v-if", !0),
|
|
2064
2064
|
c("div", He, [
|
|
2065
2065
|
M(p.$slots, "fileIcon", { file: i }, void 0, !0)
|
|
2066
2066
|
]),
|
|
2067
2067
|
c("div", Oe, [
|
|
2068
2068
|
c("p", Ue, [
|
|
2069
|
-
|
|
2069
|
+
q(
|
|
2070
2070
|
C(i[l.name] || i.name) + " ",
|
|
2071
2071
|
1
|
|
2072
2072
|
/* TEXT */
|
|
@@ -2077,39 +2077,39 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2077
2077
|
"(" + C(i.percentage) + "%)",
|
|
2078
2078
|
1
|
|
2079
2079
|
/* TEXT */
|
|
2080
|
-
)) :
|
|
2080
|
+
)) : k("v-if", !0)
|
|
2081
2081
|
]),
|
|
2082
2082
|
i.status === "success" ? (s(), h(
|
|
2083
2083
|
"p",
|
|
2084
2084
|
Le,
|
|
2085
|
-
C(u(
|
|
2085
|
+
C(u(e3)(i.size / 1024 / 1024)) + "MB ",
|
|
2086
2086
|
1
|
|
2087
2087
|
/* TEXT */
|
|
2088
|
-
)) :
|
|
2089
|
-
i.percentage && i.status === "uploading" ? (s(),
|
|
2088
|
+
)) : k("v-if", !0),
|
|
2089
|
+
i.percentage && i.status === "uploading" ? (s(), z(u(r3), {
|
|
2090
2090
|
key: 1,
|
|
2091
2091
|
"text-inside": "",
|
|
2092
2092
|
percentage: i.percentage,
|
|
2093
2093
|
color: "var(--el-color-primary)",
|
|
2094
2094
|
"show-text": !1
|
|
2095
|
-
}, null, 8, ["percentage"])) :
|
|
2095
|
+
}, null, 8, ["percentage"])) : k("v-if", !0)
|
|
2096
2096
|
])
|
|
2097
2097
|
]),
|
|
2098
2098
|
e.preview ? (s(), h(
|
|
2099
|
-
|
|
2099
|
+
O,
|
|
2100
2100
|
{ key: 1 },
|
|
2101
2101
|
[
|
|
2102
|
-
e.preview || i.percentage === 100 ? (s(),
|
|
2103
|
-
u(
|
|
2102
|
+
e.preview || i.percentage === 100 ? (s(), z(
|
|
2103
|
+
u(H),
|
|
2104
2104
|
{
|
|
2105
2105
|
key: 0,
|
|
2106
2106
|
title: "预览",
|
|
2107
2107
|
class: "primary"
|
|
2108
2108
|
},
|
|
2109
2109
|
{
|
|
2110
|
-
default:
|
|
2110
|
+
default: y(() => [
|
|
2111
2111
|
A(u(O3), {
|
|
2112
|
-
onClick: (v) =>
|
|
2112
|
+
onClick: (v) => E(i)
|
|
2113
2113
|
}, null, 8, ["onClick"])
|
|
2114
2114
|
]),
|
|
2115
2115
|
_: 2
|
|
@@ -2117,17 +2117,17 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2117
2117
|
},
|
|
2118
2118
|
1024
|
|
2119
2119
|
/* DYNAMIC_SLOTS */
|
|
2120
|
-
)) :
|
|
2120
|
+
)) : k("v-if", !0),
|
|
2121
2121
|
A(
|
|
2122
|
-
u(
|
|
2122
|
+
u(H),
|
|
2123
2123
|
{
|
|
2124
2124
|
title: "下载",
|
|
2125
2125
|
class: "primary"
|
|
2126
2126
|
},
|
|
2127
2127
|
{
|
|
2128
|
-
default:
|
|
2128
|
+
default: y(() => [
|
|
2129
2129
|
A(u($3), {
|
|
2130
|
-
onClick: (v) =>
|
|
2130
|
+
onClick: (v) => G(i)
|
|
2131
2131
|
}, null, 8, ["onClick"])
|
|
2132
2132
|
]),
|
|
2133
2133
|
_: 2
|
|
@@ -2141,17 +2141,17 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2141
2141
|
/* STABLE_FRAGMENT */
|
|
2142
2142
|
)) : (s(), h("div", Te, [
|
|
2143
2143
|
i.status === "success" ? (s(), h(
|
|
2144
|
-
|
|
2144
|
+
O,
|
|
2145
2145
|
{ key: 0 },
|
|
2146
2146
|
[
|
|
2147
|
-
A(u(
|
|
2148
|
-
onClick: (v) =>
|
|
2147
|
+
A(u(I), {
|
|
2148
|
+
onClick: (v) => E(i),
|
|
2149
2149
|
name: "iksvg_yulan",
|
|
2150
2150
|
title: "预览",
|
|
2151
2151
|
bg: "",
|
|
2152
2152
|
size: "default"
|
|
2153
2153
|
}, null, 8, ["onClick"]),
|
|
2154
|
-
A(u(
|
|
2154
|
+
A(u(I), {
|
|
2155
2155
|
onClick: (v) => N(i),
|
|
2156
2156
|
error: "",
|
|
2157
2157
|
name: "iksvg_shanchu",
|
|
@@ -2162,7 +2162,7 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2162
2162
|
],
|
|
2163
2163
|
64
|
|
2164
2164
|
/* STABLE_FRAGMENT */
|
|
2165
|
-
)) : (s(),
|
|
2165
|
+
)) : (s(), z(u(I), {
|
|
2166
2166
|
key: 1,
|
|
2167
2167
|
onClick: (v) => N(i),
|
|
2168
2168
|
error: "",
|
|
@@ -2174,37 +2174,37 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2174
2174
|
]))
|
|
2175
2175
|
])
|
|
2176
2176
|
]),
|
|
2177
|
-
default:
|
|
2178
|
-
c("div",
|
|
2177
|
+
default: y(() => [
|
|
2178
|
+
c("div", Se, [
|
|
2179
2179
|
c("div", De, [
|
|
2180
2180
|
e.imageMode ? M(p.$slots, "image", { key: 0 }, () => [
|
|
2181
2181
|
Ve
|
|
2182
|
-
], !0) : e.showIcon ? (s(),
|
|
2182
|
+
], !0) : e.showIcon ? (s(), z(u(I), {
|
|
2183
2183
|
key: 1,
|
|
2184
2184
|
name: "iksvg_img_shangchuanhetongfujianbeifen",
|
|
2185
2185
|
type: "primary",
|
|
2186
2186
|
bg: "",
|
|
2187
2187
|
size: 40
|
|
2188
|
-
})) :
|
|
2188
|
+
})) : k("v-if", !0),
|
|
2189
2189
|
c("span", null, [
|
|
2190
|
-
|
|
2190
|
+
q(
|
|
2191
2191
|
C(e.title) + " ",
|
|
2192
2192
|
1
|
|
2193
2193
|
/* TEXT */
|
|
2194
2194
|
),
|
|
2195
|
-
!e.preview && e.tip ? (s(),
|
|
2195
|
+
!e.preview && e.tip ? (s(), z(u(d3), {
|
|
2196
2196
|
key: 0,
|
|
2197
2197
|
effect: "dark",
|
|
2198
2198
|
content: o.tipText || "",
|
|
2199
2199
|
"popper-class": "_ik_web_ui_file-help-tooltip"
|
|
2200
2200
|
}, {
|
|
2201
|
-
default:
|
|
2202
|
-
A(u(
|
|
2201
|
+
default: y(() => [
|
|
2202
|
+
A(u(H), {
|
|
2203
2203
|
size: 23,
|
|
2204
2204
|
class: "_ik_web_ui_file_help_icon"
|
|
2205
2205
|
}, {
|
|
2206
|
-
default:
|
|
2207
|
-
A(u(
|
|
2206
|
+
default: y(() => [
|
|
2207
|
+
A(u(u3))
|
|
2208
2208
|
]),
|
|
2209
2209
|
_: 1
|
|
2210
2210
|
/* STABLE */
|
|
@@ -2212,10 +2212,10 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
|
|
|
2212
2212
|
]),
|
|
2213
2213
|
_: 1
|
|
2214
2214
|
/* STABLE */
|
|
2215
|
-
}, 8, ["content"])) :
|
|
2215
|
+
}, 8, ["content"])) : k("v-if", !0)
|
|
2216
2216
|
])
|
|
2217
2217
|
]),
|
|
2218
|
-
A(u(
|
|
2218
|
+
A(u(I), {
|
|
2219
2219
|
name: "iksvg_daoru",
|
|
2220
2220
|
bg: "",
|
|
2221
2221
|
size: 40,
|