iking-web-ui-pro 0.1.71 → 0.1.73
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 +937 -946
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/ik.index.es.js +51 -41
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +1010 -1019
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFileDialog/ik.index.es.js +961 -106
- package/dist/IKPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IKPreviewFileDialog/style.css +1 -1
- package/dist/IKVerticalStepBar/ik.index.es.js +103 -93
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IkApprovalProcessDetail/ik.index.es.js +1142 -1152
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +51 -41
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +129 -119
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +71 -61
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkDescription/ik.index.es.js +1005 -1014
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/ik.index.es.js +52 -42
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +69 -59
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkOnlyOffice/ik.index.es.js +8 -10
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPageFull/ik.index.es.js +159 -149
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkSchedule/ik.index.es.js +138 -128
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSelectTag/ik.index.es.js +192 -151
- package/dist/IkSelectTag/ik.index.umd.js +1 -1
- package/dist/IkSelectTag/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +95 -85
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkStatu/ik.index.es.js +64 -62
- package/dist/IkStatu/ik.index.umd.js +1 -1
- package/dist/IkStatu/style.css +1 -1
- package/dist/IkStatuOver/ik.index.es.js +138 -117
- package/dist/IkStatuOver/ik.index.umd.js +1 -1
- package/dist/IkStatuOver/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +64 -54
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +43 -45
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkTree/ik.index.es.js +86 -61
- package/dist/IkTree/ik.index.umd.js +1 -1
- package/dist/IkTree/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +1087 -1123
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +171 -144
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/index.es.js +28559 -28631
- package/dist/index.umd.js +64 -64
- package/dist/src/components/IKPreviewFile/index.d.ts +63 -54
- package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +31 -26
- package/dist/src/components/IKPreviewFileDialog/index.d.ts +39 -26
- package/dist/src/components/IKPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +41 -26
- package/dist/src/components/IkBottomOperate/index.d.ts +4 -4
- package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +1 -1
- package/dist/src/components/IkDragList/index.d.ts +3 -3
- package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +1 -1
- package/dist/src/components/IkSelectTag/index.d.ts +86 -11
- package/dist/src/components/IkSelectTag/src/index.vue.d.ts +26 -6
- package/dist/src/components/IkStatu/index.d.ts +15 -2
- package/dist/src/components/IkStatu/src/index.vue.d.ts +15 -2
- package/dist/src/components/IkStatuOver/index.d.ts +15 -2
- package/dist/src/components/IkStatuOver/src/index.vue.d.ts +15 -2
- package/dist/src/components/IkSvgIcon/index.d.ts +12 -0
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +4 -0
- package/dist/src/components/IkTree/IkTree.vue.d.ts +18 -0
- package/dist/src/components/IkTree/index.d.ts +38 -0
- package/dist/src/components/IkUploadFile/index.d.ts +40 -40
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +13 -13
- package/dist/src/components/IkUploadFile/src/utils.d.ts +0 -24
- package/dist/src/utils/file.d.ts +27 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,165 +1,141 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
t.component(l.name, l);
|
|
1
|
+
import { defineComponent as k, computed as S, openBlock as d, createElementBlock as u, createElementVNode as c, mergeModels as P, useModel as L, ref as z, reactive as W, watch as j, nextTick as K, resolveComponent as $, createBlock as R, createCommentVNode as C, createVNode as _, unref as w, withCtx as x, Fragment as M, renderList as E, normalizeClass as b, normalizeStyle as y, toDisplayString as V, withModifiers as X, renderSlot as I, createTextVNode as H, h as Y, mergeProps as Z, createSlots as J, pushScopeId as Q, popScopeId as e3 } from "vue";
|
|
2
|
+
import { buildUUID as t3, paramType as o3, ikFile as n3, ikColor as i3, ikUrl as s3 } from "iking-utils-pro";
|
|
3
|
+
const D = (o, e) => {
|
|
4
|
+
if (o.install = (i) => {
|
|
5
|
+
for (const l of [o, ...Object.values(e ?? {})])
|
|
6
|
+
i.component(l.name, l);
|
|
8
7
|
}, e)
|
|
9
|
-
for (const [
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
const
|
|
14
|
-
for (const [l,
|
|
15
|
-
|
|
16
|
-
return
|
|
17
|
-
},
|
|
18
|
-
if (
|
|
8
|
+
for (const [i, l] of Object.entries(e))
|
|
9
|
+
o[i] = l;
|
|
10
|
+
return o;
|
|
11
|
+
}, A = (o, e) => {
|
|
12
|
+
const i = o.__vccOpts || o;
|
|
13
|
+
for (const [l, n] of e)
|
|
14
|
+
i[l] = n;
|
|
15
|
+
return i;
|
|
16
|
+
}, l3 = (o, e = 2) => {
|
|
17
|
+
if (o === void 0)
|
|
19
18
|
return "";
|
|
20
|
-
if (
|
|
19
|
+
if (o === 0)
|
|
21
20
|
return "0 B";
|
|
22
|
-
const
|
|
23
|
-
let
|
|
24
|
-
return (
|
|
25
|
-
},
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
case ".mpeg":
|
|
141
|
-
case ".mp4":
|
|
142
|
-
case ".mpm4v":
|
|
143
|
-
case ".mov":
|
|
144
|
-
case ".asf":
|
|
145
|
-
case ".flv":
|
|
146
|
-
case ".f4v":
|
|
147
|
-
case ".rmvb":
|
|
148
|
-
case ".rm":
|
|
149
|
-
case ".3gp":
|
|
150
|
-
case ".vob":
|
|
151
|
-
return "video";
|
|
152
|
-
case "audio":
|
|
153
|
-
return "audio";
|
|
154
|
-
case ".txt":
|
|
155
|
-
return "txt";
|
|
156
|
-
case ".pdf":
|
|
157
|
-
return "pdf";
|
|
158
|
-
case n:
|
|
159
|
-
case "":
|
|
160
|
-
return "unknow";
|
|
161
|
-
}
|
|
162
|
-
}, I3 = {
|
|
21
|
+
const i = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(o) / Math.log(1024));
|
|
22
|
+
let n = o / Math.pow(1024, l);
|
|
23
|
+
return (n % 1 === 0 ? n.toFixed(e || 0) : n.toFixed(e)) + " " + i[l];
|
|
24
|
+
}, q = (o, e) => e ? e.startsWith("http") ? e : `${o || location.origin}${e}` : "";
|
|
25
|
+
const G = (o, e) => {
|
|
26
|
+
var s, a, h, g;
|
|
27
|
+
const i = (s = o == null ? void 0 : o.response) != null && s.data ? O((h = (a = o == null ? void 0 : o.response) == null ? void 0 : a.data) == null ? void 0 : h.suffix) : ((g = o.raw) == null ? void 0 : g.type) || O(o[e.suffix]), l = i == null ? void 0 : i.toLowerCase(), n = {
|
|
28
|
+
sheet: "excel",
|
|
29
|
+
excel: "excel",
|
|
30
|
+
zip: "zip",
|
|
31
|
+
"application/x-compressed": "zip",
|
|
32
|
+
image: "image",
|
|
33
|
+
video: "video",
|
|
34
|
+
audio: "audio",
|
|
35
|
+
pdf: "pdf",
|
|
36
|
+
text: "txt",
|
|
37
|
+
txt: "txt",
|
|
38
|
+
word: "word",
|
|
39
|
+
ppt: "ppt",
|
|
40
|
+
exe: "exe",
|
|
41
|
+
json: "json"
|
|
42
|
+
};
|
|
43
|
+
for (let t in n)
|
|
44
|
+
if (typeof l == "string" && (l.includes(t) || l === t))
|
|
45
|
+
return n[t];
|
|
46
|
+
return "unknown";
|
|
47
|
+
}, a3 = {
|
|
48
|
+
".doc": "word",
|
|
49
|
+
".docx": "word",
|
|
50
|
+
".docxf": "word",
|
|
51
|
+
".docm": "word",
|
|
52
|
+
".dot": "word",
|
|
53
|
+
".dotm": "word",
|
|
54
|
+
".dotx": "word",
|
|
55
|
+
".epub": "word",
|
|
56
|
+
".fodt": "word",
|
|
57
|
+
".htm": "word",
|
|
58
|
+
".html": "word",
|
|
59
|
+
".mht": "word",
|
|
60
|
+
".odt": "word",
|
|
61
|
+
".ott": "word",
|
|
62
|
+
".rtf": "word",
|
|
63
|
+
".djvu": "word",
|
|
64
|
+
".oxps": "word",
|
|
65
|
+
".oform": "word",
|
|
66
|
+
".fb2": "word",
|
|
67
|
+
".xml": "word",
|
|
68
|
+
".xps": "word",
|
|
69
|
+
".csv": "excel",
|
|
70
|
+
".xls": "excel",
|
|
71
|
+
".xlsx": "excel",
|
|
72
|
+
".fods": "excel",
|
|
73
|
+
".ods": "excel",
|
|
74
|
+
".ots": "excel",
|
|
75
|
+
".xlsb": "excel",
|
|
76
|
+
".xlsm": "excel",
|
|
77
|
+
".xlt": "excel",
|
|
78
|
+
".xltm": "excel",
|
|
79
|
+
".xltx": "excel",
|
|
80
|
+
".fodp": "ppt",
|
|
81
|
+
".odp": "ppt",
|
|
82
|
+
".otp": "ppt",
|
|
83
|
+
".pot": "ppt",
|
|
84
|
+
".potm": "ppt",
|
|
85
|
+
".potx": "ppt",
|
|
86
|
+
".pps": "ppt",
|
|
87
|
+
".ppsm": "ppt",
|
|
88
|
+
".ppsx": "ppt",
|
|
89
|
+
".ppt": "ppt",
|
|
90
|
+
".pptm": "ppt",
|
|
91
|
+
".pptx": "ppt",
|
|
92
|
+
".zip": "zip",
|
|
93
|
+
".rar": "zip",
|
|
94
|
+
".7z": "zip",
|
|
95
|
+
".apz": "zip",
|
|
96
|
+
".ar": "zip",
|
|
97
|
+
".bz": "zip",
|
|
98
|
+
".car": "zip",
|
|
99
|
+
".dar": "zip",
|
|
100
|
+
".cpgz": "zip",
|
|
101
|
+
".f": "zip",
|
|
102
|
+
".ha": "zip",
|
|
103
|
+
".hbc": "zip",
|
|
104
|
+
".hbc2": "zip",
|
|
105
|
+
".hbe": "zip",
|
|
106
|
+
".hpk": "zip",
|
|
107
|
+
".hyp": "zip",
|
|
108
|
+
".png": "image",
|
|
109
|
+
".jpg": "image",
|
|
110
|
+
".jpeg": "image",
|
|
111
|
+
".bmp": "image",
|
|
112
|
+
".gif": "image",
|
|
113
|
+
".webp": "image",
|
|
114
|
+
".psd": "image",
|
|
115
|
+
".svg": "image",
|
|
116
|
+
".tiff": "image",
|
|
117
|
+
".avi": "video",
|
|
118
|
+
".wmv": "video",
|
|
119
|
+
".mpeg": "video",
|
|
120
|
+
".mp4": "video",
|
|
121
|
+
".mpm4v": "video",
|
|
122
|
+
".mov": "video",
|
|
123
|
+
".asf": "video",
|
|
124
|
+
".flv": "video",
|
|
125
|
+
".f4v": "video",
|
|
126
|
+
".rmvb": "video",
|
|
127
|
+
".rm": "video",
|
|
128
|
+
".3gp": "video",
|
|
129
|
+
".vob": "video",
|
|
130
|
+
".txt": "txt",
|
|
131
|
+
".pdf": "pdf"
|
|
132
|
+
}, O = (o) => {
|
|
133
|
+
const e = o == null ? void 0 : o.toLocaleLowerCase(), i = e != null && e.startsWith(".") ? e : `.${e}`;
|
|
134
|
+
return i && a3[i] || "unknow";
|
|
135
|
+
}, r3 = (o) => {
|
|
136
|
+
let e = "", i = ["doc", "docx"], l = ["xls", "xlsx"], n = ["ppt", "pptx"], s = ["pdf"];
|
|
137
|
+
return i.includes(o) && (e = "word"), l.includes(o) && (e = "cell"), n.includes(o) && (e = "slide"), s.includes(o) && (e = "text-pdf"), e;
|
|
138
|
+
}, c3 = {
|
|
163
139
|
key: 0,
|
|
164
140
|
t: "1686300059786",
|
|
165
141
|
class: "icon",
|
|
@@ -169,7 +145,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
169
145
|
"p-id": "7671",
|
|
170
146
|
width: "200",
|
|
171
147
|
height: "200"
|
|
172
|
-
},
|
|
148
|
+
}, d3 = /* @__PURE__ */ c(
|
|
173
149
|
"path",
|
|
174
150
|
{
|
|
175
151
|
d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
|
|
@@ -179,7 +155,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
179
155
|
null,
|
|
180
156
|
-1
|
|
181
157
|
/* HOISTED */
|
|
182
|
-
),
|
|
158
|
+
), u3 = /* @__PURE__ */ c(
|
|
183
159
|
"path",
|
|
184
160
|
{
|
|
185
161
|
d: "M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",
|
|
@@ -189,7 +165,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
189
165
|
null,
|
|
190
166
|
-1
|
|
191
167
|
/* HOISTED */
|
|
192
|
-
),
|
|
168
|
+
), p3 = /* @__PURE__ */ c(
|
|
193
169
|
"path",
|
|
194
170
|
{
|
|
195
171
|
d: "M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",
|
|
@@ -199,7 +175,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
199
175
|
null,
|
|
200
176
|
-1
|
|
201
177
|
/* HOISTED */
|
|
202
|
-
),
|
|
178
|
+
), h3 = /* @__PURE__ */ c(
|
|
203
179
|
"path",
|
|
204
180
|
{
|
|
205
181
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -209,12 +185,12 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
209
185
|
null,
|
|
210
186
|
-1
|
|
211
187
|
/* HOISTED */
|
|
212
|
-
),
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
],
|
|
188
|
+
), f3 = [
|
|
189
|
+
d3,
|
|
190
|
+
u3,
|
|
191
|
+
p3,
|
|
192
|
+
h3
|
|
193
|
+
], v3 = {
|
|
218
194
|
key: 1,
|
|
219
195
|
t: "1686301531714",
|
|
220
196
|
class: "icon",
|
|
@@ -224,7 +200,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
224
200
|
"p-id": "9067",
|
|
225
201
|
width: "200",
|
|
226
202
|
height: "200"
|
|
227
|
-
},
|
|
203
|
+
}, g3 = /* @__PURE__ */ c(
|
|
228
204
|
"path",
|
|
229
205
|
{
|
|
230
206
|
d: "M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.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 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",
|
|
@@ -234,7 +210,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
234
210
|
null,
|
|
235
211
|
-1
|
|
236
212
|
/* HOISTED */
|
|
237
|
-
),
|
|
213
|
+
), m3 = /* @__PURE__ */ c(
|
|
238
214
|
"path",
|
|
239
215
|
{
|
|
240
216
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -244,10 +220,10 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
244
220
|
null,
|
|
245
221
|
-1
|
|
246
222
|
/* HOISTED */
|
|
247
|
-
),
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
],
|
|
223
|
+
), w3 = [
|
|
224
|
+
g3,
|
|
225
|
+
m3
|
|
226
|
+
], _3 = {
|
|
251
227
|
key: 2,
|
|
252
228
|
t: "1686300141125",
|
|
253
229
|
class: "icon",
|
|
@@ -257,7 +233,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
257
233
|
"p-id": "8137",
|
|
258
234
|
width: "200",
|
|
259
235
|
height: "200"
|
|
260
|
-
},
|
|
236
|
+
}, y3 = /* @__PURE__ */ c(
|
|
261
237
|
"path",
|
|
262
238
|
{
|
|
263
239
|
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 m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",
|
|
@@ -267,7 +243,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
267
243
|
null,
|
|
268
244
|
-1
|
|
269
245
|
/* HOISTED */
|
|
270
|
-
),
|
|
246
|
+
), k3 = /* @__PURE__ */ c(
|
|
271
247
|
"path",
|
|
272
248
|
{
|
|
273
249
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -277,10 +253,10 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
277
253
|
null,
|
|
278
254
|
-1
|
|
279
255
|
/* HOISTED */
|
|
280
|
-
),
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
],
|
|
256
|
+
), z3 = [
|
|
257
|
+
y3,
|
|
258
|
+
k3
|
|
259
|
+
], F3 = {
|
|
284
260
|
key: 3,
|
|
285
261
|
t: "1686300157181",
|
|
286
262
|
class: "icon",
|
|
@@ -290,7 +266,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
290
266
|
"p-id": "8292",
|
|
291
267
|
width: "200",
|
|
292
268
|
height: "200"
|
|
293
|
-
},
|
|
269
|
+
}, b3 = /* @__PURE__ */ c(
|
|
294
270
|
"path",
|
|
295
271
|
{
|
|
296
272
|
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 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",
|
|
@@ -300,7 +276,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
300
276
|
null,
|
|
301
277
|
-1
|
|
302
278
|
/* HOISTED */
|
|
303
|
-
),
|
|
279
|
+
), x3 = /* @__PURE__ */ c(
|
|
304
280
|
"path",
|
|
305
281
|
{
|
|
306
282
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -310,10 +286,10 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
310
286
|
null,
|
|
311
287
|
-1
|
|
312
288
|
/* HOISTED */
|
|
313
|
-
),
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
],
|
|
289
|
+
), S3 = [
|
|
290
|
+
b3,
|
|
291
|
+
x3
|
|
292
|
+
], C3 = {
|
|
317
293
|
key: 4,
|
|
318
294
|
t: "1686300180947",
|
|
319
295
|
class: "icon",
|
|
@@ -323,7 +299,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
323
299
|
"p-id": "8447",
|
|
324
300
|
width: "200",
|
|
325
301
|
height: "200"
|
|
326
|
-
},
|
|
302
|
+
}, V3 = /* @__PURE__ */ c(
|
|
327
303
|
"path",
|
|
328
304
|
{
|
|
329
305
|
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 m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",
|
|
@@ -333,7 +309,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
333
309
|
null,
|
|
334
310
|
-1
|
|
335
311
|
/* HOISTED */
|
|
336
|
-
),
|
|
312
|
+
), B3 = /* @__PURE__ */ c(
|
|
337
313
|
"path",
|
|
338
314
|
{
|
|
339
315
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -343,10 +319,10 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
343
319
|
null,
|
|
344
320
|
-1
|
|
345
321
|
/* HOISTED */
|
|
346
|
-
),
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
],
|
|
322
|
+
), R3 = [
|
|
323
|
+
V3,
|
|
324
|
+
B3
|
|
325
|
+
], I3 = {
|
|
350
326
|
key: 5,
|
|
351
327
|
t: "1686300195363",
|
|
352
328
|
class: "icon",
|
|
@@ -356,7 +332,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
356
332
|
"p-id": "8602",
|
|
357
333
|
width: "200",
|
|
358
334
|
height: "200"
|
|
359
|
-
},
|
|
335
|
+
}, $3 = /* @__PURE__ */ c(
|
|
360
336
|
"path",
|
|
361
337
|
{
|
|
362
338
|
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 m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",
|
|
@@ -366,7 +342,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
366
342
|
null,
|
|
367
343
|
-1
|
|
368
344
|
/* HOISTED */
|
|
369
|
-
),
|
|
345
|
+
), D3 = /* @__PURE__ */ c(
|
|
370
346
|
"path",
|
|
371
347
|
{
|
|
372
348
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -376,10 +352,10 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
376
352
|
null,
|
|
377
353
|
-1
|
|
378
354
|
/* HOISTED */
|
|
379
|
-
),
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
],
|
|
355
|
+
), M3 = [
|
|
356
|
+
$3,
|
|
357
|
+
D3
|
|
358
|
+
], q3 = {
|
|
383
359
|
key: 6,
|
|
384
360
|
t: "1686300209288",
|
|
385
361
|
class: "icon",
|
|
@@ -389,7 +365,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
389
365
|
"p-id": "8757",
|
|
390
366
|
width: "200",
|
|
391
367
|
height: "200"
|
|
392
|
-
},
|
|
368
|
+
}, E3 = /* @__PURE__ */ c(
|
|
393
369
|
"path",
|
|
394
370
|
{
|
|
395
371
|
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 m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",
|
|
@@ -399,7 +375,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
399
375
|
null,
|
|
400
376
|
-1
|
|
401
377
|
/* HOISTED */
|
|
402
|
-
),
|
|
378
|
+
), H3 = /* @__PURE__ */ c(
|
|
403
379
|
"path",
|
|
404
380
|
{
|
|
405
381
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -409,10 +385,10 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
409
385
|
null,
|
|
410
386
|
-1
|
|
411
387
|
/* HOISTED */
|
|
412
|
-
),
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
],
|
|
388
|
+
), A3 = [
|
|
389
|
+
E3,
|
|
390
|
+
H3
|
|
391
|
+
], U3 = {
|
|
416
392
|
key: 7,
|
|
417
393
|
t: "1686300225262",
|
|
418
394
|
class: "icon",
|
|
@@ -422,7 +398,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
422
398
|
"p-id": "8912",
|
|
423
399
|
width: "200",
|
|
424
400
|
height: "200"
|
|
425
|
-
},
|
|
401
|
+
}, O3 = /* @__PURE__ */ c(
|
|
426
402
|
"path",
|
|
427
403
|
{
|
|
428
404
|
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",
|
|
@@ -432,7 +408,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
432
408
|
null,
|
|
433
409
|
-1
|
|
434
410
|
/* HOISTED */
|
|
435
|
-
),
|
|
411
|
+
), T3 = /* @__PURE__ */ c(
|
|
436
412
|
"path",
|
|
437
413
|
{
|
|
438
414
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -442,10 +418,10 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
442
418
|
null,
|
|
443
419
|
-1
|
|
444
420
|
/* HOISTED */
|
|
445
|
-
),
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
],
|
|
421
|
+
), P3 = [
|
|
422
|
+
O3,
|
|
423
|
+
T3
|
|
424
|
+
], L3 = {
|
|
449
425
|
key: 8,
|
|
450
426
|
t: "1692251753690",
|
|
451
427
|
class: "icon",
|
|
@@ -455,7 +431,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
455
431
|
"p-id": "4336",
|
|
456
432
|
width: "200",
|
|
457
433
|
height: "200"
|
|
458
|
-
},
|
|
434
|
+
}, j3 = /* @__PURE__ */ c(
|
|
459
435
|
"path",
|
|
460
436
|
{
|
|
461
437
|
d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
|
|
@@ -465,7 +441,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
465
441
|
null,
|
|
466
442
|
-1
|
|
467
443
|
/* HOISTED */
|
|
468
|
-
),
|
|
444
|
+
), G3 = /* @__PURE__ */ c(
|
|
469
445
|
"path",
|
|
470
446
|
{
|
|
471
447
|
d: "M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",
|
|
@@ -476,7 +452,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
476
452
|
null,
|
|
477
453
|
-1
|
|
478
454
|
/* HOISTED */
|
|
479
|
-
),
|
|
455
|
+
), N3 = /* @__PURE__ */ c(
|
|
480
456
|
"path",
|
|
481
457
|
{
|
|
482
458
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -486,11 +462,11 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
486
462
|
null,
|
|
487
463
|
-1
|
|
488
464
|
/* HOISTED */
|
|
489
|
-
),
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
],
|
|
465
|
+
), W3 = [
|
|
466
|
+
j3,
|
|
467
|
+
G3,
|
|
468
|
+
N3
|
|
469
|
+
], K3 = {
|
|
494
470
|
key: 9,
|
|
495
471
|
t: "1692251753690",
|
|
496
472
|
class: "icon",
|
|
@@ -500,7 +476,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
500
476
|
"p-id": "4336",
|
|
501
477
|
width: "200",
|
|
502
478
|
height: "200"
|
|
503
|
-
},
|
|
479
|
+
}, X3 = /* @__PURE__ */ c(
|
|
504
480
|
"path",
|
|
505
481
|
{
|
|
506
482
|
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",
|
|
@@ -510,7 +486,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
510
486
|
null,
|
|
511
487
|
-1
|
|
512
488
|
/* HOISTED */
|
|
513
|
-
),
|
|
489
|
+
), Y3 = /* @__PURE__ */ c(
|
|
514
490
|
"path",
|
|
515
491
|
{
|
|
516
492
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -520,7 +496,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
520
496
|
null,
|
|
521
497
|
-1
|
|
522
498
|
/* HOISTED */
|
|
523
|
-
),
|
|
499
|
+
), Z3 = /* @__PURE__ */ c(
|
|
524
500
|
"path",
|
|
525
501
|
{
|
|
526
502
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -531,7 +507,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
531
507
|
null,
|
|
532
508
|
-1
|
|
533
509
|
/* HOISTED */
|
|
534
|
-
),
|
|
510
|
+
), J3 = /* @__PURE__ */ c(
|
|
535
511
|
"path",
|
|
536
512
|
{
|
|
537
513
|
d: "M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",
|
|
@@ -541,12 +517,12 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
541
517
|
null,
|
|
542
518
|
-1
|
|
543
519
|
/* HOISTED */
|
|
544
|
-
),
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
],
|
|
520
|
+
), Q3 = [
|
|
521
|
+
X3,
|
|
522
|
+
Y3,
|
|
523
|
+
Z3,
|
|
524
|
+
J3
|
|
525
|
+
], e6 = {
|
|
550
526
|
key: 10,
|
|
551
527
|
t: "1714099890925",
|
|
552
528
|
class: "icon",
|
|
@@ -556,7 +532,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
556
532
|
"p-id": "2271",
|
|
557
533
|
width: "200",
|
|
558
534
|
height: "200"
|
|
559
|
-
},
|
|
535
|
+
}, t6 = /* @__PURE__ */ c(
|
|
560
536
|
"path",
|
|
561
537
|
{
|
|
562
538
|
d: "M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",
|
|
@@ -566,7 +542,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
566
542
|
null,
|
|
567
543
|
-1
|
|
568
544
|
/* HOISTED */
|
|
569
|
-
),
|
|
545
|
+
), o6 = /* @__PURE__ */ c(
|
|
570
546
|
"path",
|
|
571
547
|
{
|
|
572
548
|
d: "M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",
|
|
@@ -577,7 +553,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
577
553
|
null,
|
|
578
554
|
-1
|
|
579
555
|
/* HOISTED */
|
|
580
|
-
),
|
|
556
|
+
), n6 = /* @__PURE__ */ c(
|
|
581
557
|
"path",
|
|
582
558
|
{
|
|
583
559
|
d: "M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",
|
|
@@ -587,11 +563,11 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
587
563
|
null,
|
|
588
564
|
-1
|
|
589
565
|
/* HOISTED */
|
|
590
|
-
),
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
],
|
|
566
|
+
), i6 = [
|
|
567
|
+
t6,
|
|
568
|
+
o6,
|
|
569
|
+
n6
|
|
570
|
+
], s6 = {
|
|
595
571
|
key: 11,
|
|
596
572
|
t: "1686300037564",
|
|
597
573
|
class: "icon",
|
|
@@ -601,7 +577,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
601
577
|
"p-id": "7515",
|
|
602
578
|
width: "200",
|
|
603
579
|
height: "200"
|
|
604
|
-
},
|
|
580
|
+
}, l6 = /* @__PURE__ */ c(
|
|
605
581
|
"path",
|
|
606
582
|
{
|
|
607
583
|
d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
|
|
@@ -611,7 +587,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
611
587
|
null,
|
|
612
588
|
-1
|
|
613
589
|
/* HOISTED */
|
|
614
|
-
),
|
|
590
|
+
), a6 = /* @__PURE__ */ c(
|
|
615
591
|
"path",
|
|
616
592
|
{
|
|
617
593
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -621,7 +597,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
621
597
|
null,
|
|
622
598
|
-1
|
|
623
599
|
/* HOISTED */
|
|
624
|
-
),
|
|
600
|
+
), r6 = /* @__PURE__ */ c(
|
|
625
601
|
"path",
|
|
626
602
|
{
|
|
627
603
|
d: "M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",
|
|
@@ -631,11 +607,11 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
631
607
|
null,
|
|
632
608
|
-1
|
|
633
609
|
/* HOISTED */
|
|
634
|
-
),
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
],
|
|
610
|
+
), c6 = [
|
|
611
|
+
l6,
|
|
612
|
+
a6,
|
|
613
|
+
r6
|
|
614
|
+
], d6 = /* @__PURE__ */ k({
|
|
639
615
|
__name: "FileIcon",
|
|
640
616
|
props: {
|
|
641
617
|
type: {
|
|
@@ -655,23 +631,142 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
655
631
|
})
|
|
656
632
|
}
|
|
657
633
|
},
|
|
658
|
-
setup(
|
|
659
|
-
const e =
|
|
660
|
-
return (l,
|
|
634
|
+
setup(o) {
|
|
635
|
+
const e = o, i = S(() => e.file ? G(e.file, e.fields) : e.type);
|
|
636
|
+
return (l, n) => i.value === "image" ? (d(), u("svg", c3, f3)) : i.value === "zip" ? (d(), u("svg", v3, w3)) : i.value === "ppt" ? (d(), u("svg", _3, z3)) : i.value === "word" ? (d(), u("svg", F3, S3)) : i.value === "pdf" ? (d(), u("svg", C3, R3)) : i.value === "txt" ? (d(), u("svg", I3, M3)) : i.value === "audio" ? (d(), u("svg", q3, A3)) : i.value === "video" ? (d(), u("svg", U3, P3)) : i.value === "excel" ? (d(), u("svg", L3, W3)) : i.value === "exe" ? (d(), u("svg", K3, Q3)) : i.value === "json" ? (d(), u("svg", e6, i6)) : (d(), u("svg", s6, c6));
|
|
661
637
|
}
|
|
662
|
-
}),
|
|
663
|
-
__name: "
|
|
664
|
-
props: {
|
|
665
|
-
|
|
666
|
-
type:
|
|
638
|
+
}), u6 = /* @__PURE__ */ k({
|
|
639
|
+
__name: "IkPreviewFileDialog",
|
|
640
|
+
props: /* @__PURE__ */ P({
|
|
641
|
+
file: {
|
|
642
|
+
type: Object,
|
|
667
643
|
default: () => []
|
|
668
644
|
},
|
|
669
|
-
//
|
|
670
|
-
|
|
671
|
-
|
|
645
|
+
// url为文件全路径(以http开头)时,不需要传递
|
|
646
|
+
loadUrl: {
|
|
647
|
+
type: String,
|
|
648
|
+
default: ""
|
|
649
|
+
},
|
|
650
|
+
// 需要onlyoffice预览的文件类型
|
|
651
|
+
onlyOfficeAccept: {
|
|
652
|
+
type: String,
|
|
653
|
+
default: ".pdf,.docx,.doc.ppt,.pptx,.xlsx,.xls,"
|
|
654
|
+
},
|
|
655
|
+
// onlyoffice服务地址
|
|
656
|
+
onlyofficeServer: {
|
|
672
657
|
type: String,
|
|
673
658
|
default: ""
|
|
674
659
|
},
|
|
660
|
+
field: {
|
|
661
|
+
type: Object,
|
|
662
|
+
default: () => ({})
|
|
663
|
+
}
|
|
664
|
+
}, {
|
|
665
|
+
show: { default: !1 },
|
|
666
|
+
showModifiers: {}
|
|
667
|
+
}),
|
|
668
|
+
emits: ["update:show"],
|
|
669
|
+
setup(o) {
|
|
670
|
+
const e = o, i = L(o, "show"), l = S(() => ({
|
|
671
|
+
name: "name",
|
|
672
|
+
url: "url",
|
|
673
|
+
suffix: "suffix",
|
|
674
|
+
size: "fileSize",
|
|
675
|
+
...e.field
|
|
676
|
+
})), n = z(null), s = z(null), a = W({
|
|
677
|
+
image: !1,
|
|
678
|
+
office: !1,
|
|
679
|
+
video: !1
|
|
680
|
+
}), h = (t) => {
|
|
681
|
+
var p, F;
|
|
682
|
+
const r = ((p = t == null ? void 0 : t.response) == null ? void 0 : p.data) || t, v = r[l.value.url] || (r == null ? void 0 : r.id) || r.attachmentId, f = (F = r[l.value.suffix] || r.attachmentSuffix) == null ? void 0 : F.toLowerCase(), m = r[l.value.name] || (r == null ? void 0 : r.attachmentName);
|
|
683
|
+
if (s.value = {
|
|
684
|
+
...t,
|
|
685
|
+
name: t[l.value.name],
|
|
686
|
+
url: q(
|
|
687
|
+
e.loadUrl,
|
|
688
|
+
v
|
|
689
|
+
)
|
|
690
|
+
}, t && G(t, l.value) === "image") {
|
|
691
|
+
a.image = !0;
|
|
692
|
+
return;
|
|
693
|
+
} else if (e.onlyOfficeAccept.includes(f)) {
|
|
694
|
+
a.office = !0, n.value = {
|
|
695
|
+
documentType: r3(f),
|
|
696
|
+
document: {
|
|
697
|
+
key: t3(),
|
|
698
|
+
title: m,
|
|
699
|
+
url: q(e.loadUrl, v),
|
|
700
|
+
fileType: f
|
|
701
|
+
},
|
|
702
|
+
editorConfig: {
|
|
703
|
+
customization: {
|
|
704
|
+
review: {
|
|
705
|
+
reviewDisplay: "final"
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
};
|
|
710
|
+
return;
|
|
711
|
+
}
|
|
712
|
+
};
|
|
713
|
+
j([i, e.file], ([t, r]) => {
|
|
714
|
+
t && K(() => {
|
|
715
|
+
h(e.file);
|
|
716
|
+
});
|
|
717
|
+
});
|
|
718
|
+
const g = () => {
|
|
719
|
+
i.value = !1, a.office = !1, a.image = !1, a.video = !1;
|
|
720
|
+
};
|
|
721
|
+
return (t, r) => {
|
|
722
|
+
var f, m;
|
|
723
|
+
const v = $("el-image-viewer");
|
|
724
|
+
return d(), u("template", null, [
|
|
725
|
+
(f = s.value) != null && f.url && a.image ? (d(), R(v, {
|
|
726
|
+
key: 0,
|
|
727
|
+
onClose: r[0] || (r[0] = (p) => {
|
|
728
|
+
s.value = null, a.image = !1;
|
|
729
|
+
}),
|
|
730
|
+
ref: "previewImgRef",
|
|
731
|
+
"url-list": [(m = s.value) == null ? void 0 : m.url]
|
|
732
|
+
}, null, 8, ["url-list"])) : C("v-if", !0),
|
|
733
|
+
C(" 文档类 "),
|
|
734
|
+
_(w(I6), {
|
|
735
|
+
modelValue: a.office,
|
|
736
|
+
"onUpdate:modelValue": r[1] || (r[1] = (p) => a.office = p),
|
|
737
|
+
draggable: "",
|
|
738
|
+
"no-footer": "",
|
|
739
|
+
"no-header": "",
|
|
740
|
+
fullscreen: "",
|
|
741
|
+
"show-close-bg": "",
|
|
742
|
+
"destroy-on-close": "",
|
|
743
|
+
"close-on-click-modal": "",
|
|
744
|
+
"close-on-press-escape": !1,
|
|
745
|
+
"append-to-body": "",
|
|
746
|
+
onClose: g,
|
|
747
|
+
"modal-class": "ik-only-preview-dialog"
|
|
748
|
+
}, {
|
|
749
|
+
default: x(() => [
|
|
750
|
+
_(w(U6), {
|
|
751
|
+
configOptions: n.value,
|
|
752
|
+
documentServerUrl: o.onlyofficeServer,
|
|
753
|
+
mode: "view"
|
|
754
|
+
}, null, 8, ["configOptions", "documentServerUrl"])
|
|
755
|
+
]),
|
|
756
|
+
_: 1
|
|
757
|
+
/* STABLE */
|
|
758
|
+
}, 8, ["modelValue"])
|
|
759
|
+
]);
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
});
|
|
763
|
+
const p6 = ["onClick"], h6 = { class: "text" }, f6 = { class: "fileName" }, v6 = { class: "size" }, g6 = /* @__PURE__ */ k({
|
|
764
|
+
__name: "IkPreviewFile",
|
|
765
|
+
props: {
|
|
766
|
+
list: {
|
|
767
|
+
type: Array,
|
|
768
|
+
default: () => []
|
|
769
|
+
},
|
|
675
770
|
// 文件地址 http://192.168.2.171/api/server/oss/download?fileUrl=
|
|
676
771
|
url: {
|
|
677
772
|
required: !0,
|
|
@@ -686,12 +781,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
686
781
|
field: {
|
|
687
782
|
required: !0,
|
|
688
783
|
type: Object,
|
|
689
|
-
default: () => ({
|
|
690
|
-
name: "attachmentName",
|
|
691
|
-
url: "attachmentId",
|
|
692
|
-
suffix: "attachmentSuffix",
|
|
693
|
-
size: "attachmentSize"
|
|
694
|
-
})
|
|
784
|
+
default: () => ({})
|
|
695
785
|
},
|
|
696
786
|
// 图标大小
|
|
697
787
|
iconSize: {
|
|
@@ -716,7 +806,7 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
716
806
|
// 是否需要onlyoffice预览
|
|
717
807
|
isOnlyOfficePreview: {
|
|
718
808
|
type: Boolean,
|
|
719
|
-
default: !
|
|
809
|
+
default: !0
|
|
720
810
|
},
|
|
721
811
|
// 需要onlyoffice预览的文件类型
|
|
722
812
|
onlyOfficeAccept: {
|
|
@@ -734,158 +824,107 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
734
824
|
default: ""
|
|
735
825
|
}
|
|
736
826
|
},
|
|
737
|
-
setup(
|
|
738
|
-
const e =
|
|
827
|
+
setup(o) {
|
|
828
|
+
const e = o, i = S(() => ({
|
|
739
829
|
name: "name",
|
|
740
830
|
url: "url",
|
|
741
831
|
suffix: "suffix",
|
|
742
832
|
size: "size",
|
|
743
833
|
...e.field
|
|
744
|
-
})), l =
|
|
745
|
-
var
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
D3(
|
|
751
|
-
`${G(
|
|
752
|
-
u,
|
|
753
|
-
(S = i.data) == null ? void 0 : S[t.value.url]
|
|
754
|
-
)}&fullfilename=${(z = i.data) == null ? void 0 : z[t.value.name]}`
|
|
755
|
-
)
|
|
756
|
-
)}`;
|
|
757
|
-
}), i = i3({
|
|
758
|
-
show: !1,
|
|
759
|
-
data: {}
|
|
760
|
-
}), a = k(null), h = k(!1), g = k(!1), s = k(null), f = (u) => {
|
|
761
|
-
var p, S, z, D, I, m, q, T;
|
|
762
|
-
if (a.value = {
|
|
763
|
-
...u,
|
|
764
|
-
name: u[t.value.name],
|
|
765
|
-
url: G(
|
|
834
|
+
})), l = z(null), n = z(!1), s = (t) => {
|
|
835
|
+
var r, v;
|
|
836
|
+
l.value = {
|
|
837
|
+
...t,
|
|
838
|
+
name: t.name,
|
|
839
|
+
url: q(
|
|
766
840
|
e.loadUrl,
|
|
767
|
-
|
|
841
|
+
t.url || ((v = (r = t == null ? void 0 : t.response) == null ? void 0 : r.data) == null ? void 0 : v.id) || (t == null ? void 0 : t.id)
|
|
768
842
|
)
|
|
769
|
-
},
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
u[t.value.suffix] || ((D = u == null ? void 0 : u.response) == null ? void 0 : D.data[t.value.suffix])
|
|
775
|
-
),
|
|
776
|
-
document: {
|
|
777
|
-
key: w3(),
|
|
778
|
-
title: u[t.value.name] || ((I = u == null ? void 0 : u.response) == null ? void 0 : I.data[t.value.name]),
|
|
779
|
-
url: G(
|
|
780
|
-
e.loadUrl,
|
|
781
|
-
u[t.value.url] || ((q = (m = u == null ? void 0 : u.response) == null ? void 0 : m.data) == null ? void 0 : q.id)
|
|
782
|
-
),
|
|
783
|
-
fileType: u[t.value.suffix] || ((T = u == null ? void 0 : u.response) == null ? void 0 : T.data[t.value.suffix])
|
|
784
|
-
},
|
|
785
|
-
editorConfig: {
|
|
786
|
-
customization: {
|
|
787
|
-
review: {
|
|
788
|
-
reviewDisplay: "final"
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
return;
|
|
794
|
-
}
|
|
795
|
-
u && s3(u, t.value) === "image" ? h.value = !0 : (y.value = !0, i.data = u, i.show = !0, r3(() => {
|
|
796
|
-
try {
|
|
797
|
-
l.value.onload = () => {
|
|
798
|
-
y.value = !1;
|
|
799
|
-
};
|
|
800
|
-
} catch {
|
|
801
|
-
y.value = !1;
|
|
802
|
-
}
|
|
803
|
-
}));
|
|
804
|
-
}, _ = (u) => {
|
|
805
|
-
let p = "", S = ["doc", "docx"], z = ["xls", "xlsx"], D = ["ppt", "pptx"], I = ["pdf"];
|
|
806
|
-
return S.includes(u) && (p = "word"), z.includes(u) && (p = "cell"), D.includes(u) && (p = "slide"), I.includes(u) && (p = "text-pdf"), console.log("docType", p), p;
|
|
807
|
-
}, F = (u) => {
|
|
808
|
-
_3.downloadFile(
|
|
809
|
-
G(e.loadUrl, u[t.value.url]),
|
|
810
|
-
u[t.value.name]
|
|
843
|
+
}, n.value = !0;
|
|
844
|
+
}, a = (t) => {
|
|
845
|
+
n3.downloadFile(
|
|
846
|
+
q(e.loadUrl, t[i.value.url] || t.attachmentId || t.id),
|
|
847
|
+
t[i.value.name] || t.attachmentName
|
|
811
848
|
);
|
|
812
|
-
},
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
849
|
+
}, h = S(() => o3.isNumber(e.width) ? `${e.width}px` : e.width), g = S(() => e.list.map((t) => ({
|
|
850
|
+
...t,
|
|
851
|
+
name: t[i.value.name] || t.attachmentName,
|
|
852
|
+
size: t[i.value.size] || t.fileSize || t.attachmentSize,
|
|
853
|
+
suffix: t[i.value.suffix] || t.attachmentSuffix
|
|
854
|
+
})));
|
|
855
|
+
return (t, r) => {
|
|
856
|
+
var v;
|
|
857
|
+
return d(), u(
|
|
858
|
+
M,
|
|
820
859
|
null,
|
|
821
860
|
[
|
|
822
|
-
(
|
|
823
|
-
|
|
861
|
+
(v = o.list) != null && v.length ? (d(!0), u(
|
|
862
|
+
M,
|
|
824
863
|
{ key: 0 },
|
|
825
|
-
|
|
826
|
-
var
|
|
827
|
-
return
|
|
864
|
+
E(g.value, (f, m) => {
|
|
865
|
+
var p;
|
|
866
|
+
return d(), u(
|
|
828
867
|
"div",
|
|
829
868
|
{
|
|
830
|
-
class:
|
|
831
|
-
key:
|
|
832
|
-
style:
|
|
833
|
-
marginBottom:
|
|
834
|
-
width:
|
|
869
|
+
class: b(["iking-privew-annex", { "is-bg": o.showBg }]),
|
|
870
|
+
key: m,
|
|
871
|
+
style: y({
|
|
872
|
+
marginBottom: m == ((p = o.list) == null ? void 0 : p.length) - 1 ? "0" : "10px",
|
|
873
|
+
width: h.value
|
|
835
874
|
})
|
|
836
875
|
},
|
|
837
876
|
[
|
|
838
|
-
|
|
877
|
+
c("div", {
|
|
839
878
|
class: "file-card",
|
|
840
|
-
onClick: (
|
|
879
|
+
onClick: (F) => s(f)
|
|
841
880
|
}, [
|
|
842
|
-
|
|
843
|
-
file:
|
|
844
|
-
style:
|
|
881
|
+
_(d6, {
|
|
882
|
+
file: f,
|
|
883
|
+
style: y({ height: `${o.iconSize}px` }),
|
|
845
884
|
class: "ikui-w-auto",
|
|
846
|
-
fields:
|
|
885
|
+
fields: i.value
|
|
847
886
|
}, null, 8, ["file", "style", "fields"]),
|
|
848
|
-
|
|
849
|
-
|
|
887
|
+
c("div", h6, [
|
|
888
|
+
c(
|
|
850
889
|
"div",
|
|
851
|
-
|
|
852
|
-
|
|
890
|
+
f6,
|
|
891
|
+
V(f.name),
|
|
853
892
|
1
|
|
854
893
|
/* TEXT */
|
|
855
894
|
),
|
|
856
|
-
|
|
895
|
+
c(
|
|
857
896
|
"div",
|
|
858
|
-
|
|
859
|
-
|
|
897
|
+
v6,
|
|
898
|
+
V(w(l3)(f.size)),
|
|
860
899
|
1
|
|
861
900
|
/* TEXT */
|
|
862
901
|
)
|
|
863
902
|
]),
|
|
864
|
-
|
|
903
|
+
c(
|
|
865
904
|
"div",
|
|
866
905
|
{
|
|
867
|
-
class:
|
|
906
|
+
class: b(["flex flex-center", { "hover-show": o.iconHoverShow }])
|
|
868
907
|
},
|
|
869
908
|
[
|
|
870
|
-
|
|
909
|
+
_(w(B), {
|
|
871
910
|
name: "iksvg_daochu",
|
|
872
|
-
onClick:
|
|
873
|
-
bg:
|
|
874
|
-
size:
|
|
911
|
+
onClick: X((F) => a(f), ["stop"]),
|
|
912
|
+
bg: o.showBg,
|
|
913
|
+
size: o.showBg ? "default" : 20
|
|
875
914
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
876
|
-
|
|
915
|
+
_(w(B), {
|
|
877
916
|
name: "iksvg_yulan",
|
|
878
|
-
bg:
|
|
879
|
-
size:
|
|
917
|
+
bg: o.showBg,
|
|
918
|
+
size: o.showBg ? "default" : 20
|
|
880
919
|
}, null, 8, ["bg", "size"]),
|
|
881
|
-
|
|
882
|
-
data: { ...
|
|
920
|
+
I(t.$slots, "operation", {
|
|
921
|
+
data: { ...f, findex: m }
|
|
883
922
|
})
|
|
884
923
|
],
|
|
885
924
|
2
|
|
886
925
|
/* CLASS */
|
|
887
926
|
)
|
|
888
|
-
], 8,
|
|
927
|
+
], 8, p6)
|
|
889
928
|
],
|
|
890
929
|
6
|
|
891
930
|
/* CLASS, STYLE */
|
|
@@ -893,70 +932,14 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
893
932
|
}),
|
|
894
933
|
128
|
|
895
934
|
/* KEYED_FRAGMENT */
|
|
896
|
-
)) :
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
onClose: p[1] || (p[1] = (m) => u.$emit("update:modelValue", !1)),
|
|
905
|
-
class: "ik-file-preview"
|
|
906
|
-
}, {
|
|
907
|
-
default: R(() => [
|
|
908
|
-
a3((c(), d("div", U6, [
|
|
909
|
-
i.show ? (c(), d("iframe", {
|
|
910
|
-
key: 0,
|
|
911
|
-
ref_key: "freamRef",
|
|
912
|
-
ref: l,
|
|
913
|
-
"cross-origin": "",
|
|
914
|
-
src: o.value,
|
|
915
|
-
frameborder: "0",
|
|
916
|
-
allowfullscreen: "",
|
|
917
|
-
seamless: ""
|
|
918
|
-
}, null, 8, T6)) : V("v-if", !0)
|
|
919
|
-
])), [
|
|
920
|
-
[w(b3), y.value]
|
|
921
|
-
])
|
|
922
|
-
]),
|
|
923
|
-
_: 1
|
|
924
|
-
/* STABLE */
|
|
925
|
-
}, 8, ["modelValue"]),
|
|
926
|
-
(D = a.value) != null && D.url && h.value ? (c(), E(S, {
|
|
927
|
-
key: 1,
|
|
928
|
-
onClose: p[2] || (p[2] = (m) => (a.value = null, h.value = !1)),
|
|
929
|
-
ref: "previewImgRef",
|
|
930
|
-
"url-list": [(I = a.value) == null ? void 0 : I.url]
|
|
931
|
-
}, null, 8, ["url-list"])) : V("v-if", !0),
|
|
932
|
-
V(" "),
|
|
933
|
-
b(w(ce), {
|
|
934
|
-
modelValue: g.value,
|
|
935
|
-
"onUpdate:modelValue": p[3] || (p[3] = (m) => g.value = m),
|
|
936
|
-
draggable: "",
|
|
937
|
-
"no-footer": !0,
|
|
938
|
-
"no-header": !0,
|
|
939
|
-
fullscreen: !0,
|
|
940
|
-
showCloseBg: !0,
|
|
941
|
-
"destroy-on-close": !0,
|
|
942
|
-
"close-on-click-modal": !1,
|
|
943
|
-
"close-on-press-escape": !1,
|
|
944
|
-
"append-to-body": "",
|
|
945
|
-
onClose: U,
|
|
946
|
-
"modal-class": "ik-only-preview-dialog"
|
|
947
|
-
}, {
|
|
948
|
-
default: R(() => [
|
|
949
|
-
g.value ? (c(), E(w(ue), {
|
|
950
|
-
key: 0,
|
|
951
|
-
configOptions: s.value,
|
|
952
|
-
documentServerUrl: n.onlyofficeServer,
|
|
953
|
-
token: e.jwtToken,
|
|
954
|
-
mode: "view"
|
|
955
|
-
}, null, 8, ["configOptions", "documentServerUrl", "token"])) : V("v-if", !0)
|
|
956
|
-
]),
|
|
957
|
-
_: 1
|
|
958
|
-
/* STABLE */
|
|
959
|
-
}, 8, ["modelValue"])
|
|
935
|
+
)) : C("v-if", !0),
|
|
936
|
+
_(u6, {
|
|
937
|
+
show: n.value,
|
|
938
|
+
"onUpdate:show": r[0] || (r[0] = (f) => n.value = f),
|
|
939
|
+
loadUrl: o.loadUrl,
|
|
940
|
+
file: l.value,
|
|
941
|
+
onlyofficeServer: o.onlyofficeServer
|
|
942
|
+
}, null, 8, ["show", "loadUrl", "file", "onlyofficeServer"])
|
|
960
943
|
],
|
|
961
944
|
64
|
|
962
945
|
/* STABLE_FRAGMENT */
|
|
@@ -964,119 +947,449 @@ const C3 = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
964
947
|
};
|
|
965
948
|
}
|
|
966
949
|
});
|
|
967
|
-
const
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
950
|
+
const m6 = D(g6), w6 = {
|
|
951
|
+
key: 0,
|
|
952
|
+
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center line-height-[0]"
|
|
953
|
+
}, _6 = {
|
|
954
|
+
key: 1,
|
|
955
|
+
class: "h-[1em] w-[1em]",
|
|
956
|
+
"aria-hidden": "true"
|
|
957
|
+
}, y6 = ["xlink:href"], k6 = ["src"], z6 = {
|
|
958
|
+
key: 1,
|
|
959
|
+
class: "h-[1em] w-[1em]",
|
|
960
|
+
"aria-hidden": "true"
|
|
961
|
+
}, F6 = ["xlink:href"], b6 = ["src"], x6 = /* @__PURE__ */ k({
|
|
962
|
+
name: "IkSvgIcon",
|
|
963
|
+
__name: "index",
|
|
964
|
+
props: {
|
|
965
|
+
name: {},
|
|
966
|
+
flip: {},
|
|
967
|
+
rotate: {},
|
|
968
|
+
color: {},
|
|
969
|
+
opacity: { default: 0.5 },
|
|
970
|
+
size: { default: "" },
|
|
971
|
+
bg: { type: Boolean, default: !1 },
|
|
972
|
+
showBg: { type: Boolean, default: !1 },
|
|
973
|
+
padding: { default: "0" },
|
|
974
|
+
primary: { type: Boolean },
|
|
975
|
+
warning: { type: Boolean },
|
|
976
|
+
success: { type: Boolean },
|
|
977
|
+
error: { type: Boolean },
|
|
978
|
+
notip: { type: Boolean, default: !1 },
|
|
979
|
+
title: {},
|
|
980
|
+
type: {},
|
|
981
|
+
active: { type: Boolean, default: !1 },
|
|
982
|
+
disabled: { type: Boolean, default: !1 },
|
|
983
|
+
tableIconType: { default: "icon" }
|
|
984
|
+
},
|
|
985
|
+
setup(o) {
|
|
986
|
+
const e = o, i = S(() => {
|
|
987
|
+
var n, s, a;
|
|
988
|
+
return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (n = e.name) != null && n.startsWith("iksig") ? "iksig" : (s = e.name) != null && s.includes(":") ? "iconify" : (a = e.name) != null && a.startsWith("iksvg") ? "svg" : "i";
|
|
989
|
+
}), l = S(() => {
|
|
990
|
+
const n = [];
|
|
991
|
+
if (e.flip)
|
|
992
|
+
switch (e.flip) {
|
|
993
|
+
case "horizontal":
|
|
994
|
+
n.push("rotateY(180deg)");
|
|
995
|
+
break;
|
|
996
|
+
case "vertical":
|
|
997
|
+
n.push("rotateX(180deg)");
|
|
998
|
+
break;
|
|
999
|
+
case "both":
|
|
1000
|
+
n.push("rotateX(180deg)"), n.push("rotateY(180deg)");
|
|
1001
|
+
break;
|
|
1002
|
+
}
|
|
1003
|
+
return e.rotate && n.push(`rotate(${e.rotate % 360}deg)`), {
|
|
1004
|
+
...e.color && { color: e.color },
|
|
1005
|
+
...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
|
|
1006
|
+
...n.length && { transform: n.join(" ") },
|
|
1007
|
+
padding: e.padding,
|
|
1008
|
+
...e.color && i.value !== "iksig" ? {
|
|
1009
|
+
"--ik-color-icon-dark": e.color,
|
|
1010
|
+
"--ik-color-icon-light": i3.setOpacity(e.color, e.opacity || 0.4)
|
|
1011
|
+
} : {},
|
|
1012
|
+
...e.type === "primary" || e.primary ? {
|
|
1013
|
+
"--ik-color-icon-dark": "var(--ik-theme-color)",
|
|
1014
|
+
"--ik-color-icon-light": "var(--ik-color-icon-light-hover)",
|
|
1015
|
+
"--ik-color-bg-icon": "var(--ik-color-bg-button-secondary)"
|
|
1016
|
+
} : e.type === "warning" || e.warning ? {
|
|
1017
|
+
"--ik-color-icon-dark": "var(--ik-color-warning)",
|
|
1018
|
+
"--ik-color-icon-light": "var(--ik-color-tag-warning-light)",
|
|
1019
|
+
"--ik-color-bg-icon": "var(--ik-color-icon-warning-bg)"
|
|
1020
|
+
} : e.type === "success" || e.success ? {
|
|
1021
|
+
"--ik-color-icon-dark": "var(--ik-color-success)",
|
|
1022
|
+
"--ik-color-icon-light": "var(--ik-color-tag-success-light)",
|
|
1023
|
+
"--ik-color-bg-icon": "var(--ik-color-icon-success-bg)"
|
|
1024
|
+
} : e.type === "error" || e.error ? {
|
|
1025
|
+
"--ik-color-icon-dark": "var(--ik-color-error)",
|
|
1026
|
+
"--ik-color-icon-light": "var(--ik-color-tag-error-light)",
|
|
1027
|
+
"--ik-color-bg-icon": "var(--ik-color-icon-error-bg)"
|
|
1028
|
+
} : {}
|
|
1029
|
+
};
|
|
1030
|
+
});
|
|
1031
|
+
return (n, s) => {
|
|
1032
|
+
const a = $("el-tooltip"), h = $("el-button");
|
|
1033
|
+
return n.tableIconType === "icon" ? (d(), u("span", w6, [
|
|
1034
|
+
n.notip || !n.title ? (d(), u(
|
|
1035
|
+
"i",
|
|
1036
|
+
{
|
|
1037
|
+
key: 0,
|
|
1038
|
+
class: b(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1039
|
+
[n.name]: i.value === "unocss",
|
|
1040
|
+
"show-bg": n.showBg || n.bg,
|
|
1041
|
+
default: n.size === "default",
|
|
1042
|
+
small: n.size === "small",
|
|
1043
|
+
big: n.size === "big",
|
|
1044
|
+
warning: n.warning,
|
|
1045
|
+
primary: n.primary,
|
|
1046
|
+
active: n.active,
|
|
1047
|
+
disabled: n.disabled
|
|
1048
|
+
}]),
|
|
1049
|
+
style: y(l.value)
|
|
1050
|
+
},
|
|
1051
|
+
[
|
|
1052
|
+
C(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1053
|
+
i.value === "iksig" ? (d(), u(
|
|
1054
|
+
"i",
|
|
1055
|
+
{
|
|
1056
|
+
key: 0,
|
|
1057
|
+
class: b(`iksig ${n.name}`),
|
|
1058
|
+
style: y(l.value)
|
|
1059
|
+
},
|
|
1060
|
+
null,
|
|
1061
|
+
6
|
|
1062
|
+
/* CLASS, STYLE */
|
|
1063
|
+
)) : i.value === "svg" ? (d(), u("svg", _6, [
|
|
1064
|
+
c("use", {
|
|
1065
|
+
"xlink:href": `#${n.name}`
|
|
1066
|
+
}, null, 8, y6)
|
|
1067
|
+
])) : i.value === "img" ? (d(), u("img", {
|
|
1068
|
+
key: 2,
|
|
1069
|
+
src: n.name,
|
|
1070
|
+
class: "h-[1em] w-[1em]"
|
|
1071
|
+
}, null, 8, k6)) : (d(), u(
|
|
1072
|
+
"i",
|
|
1073
|
+
{
|
|
1074
|
+
key: 3,
|
|
1075
|
+
class: b(n.name),
|
|
1076
|
+
style: y(l.value)
|
|
1077
|
+
},
|
|
1078
|
+
null,
|
|
1079
|
+
6
|
|
1080
|
+
/* CLASS, STYLE */
|
|
1081
|
+
))
|
|
1082
|
+
],
|
|
1083
|
+
6
|
|
1084
|
+
/* CLASS, STYLE */
|
|
1085
|
+
)) : (d(), R(a, {
|
|
1086
|
+
key: 1,
|
|
1087
|
+
content: n.title,
|
|
1088
|
+
placement: "top"
|
|
1089
|
+
}, {
|
|
1090
|
+
default: x(() => [
|
|
1091
|
+
c(
|
|
1092
|
+
"i",
|
|
1093
|
+
{
|
|
1094
|
+
class: b(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1095
|
+
[n.name]: i.value === "unocss",
|
|
1096
|
+
"show-bg": n.showBg || n.bg,
|
|
1097
|
+
default: n.size === "default",
|
|
1098
|
+
primary: n.primary,
|
|
1099
|
+
small: n.size === "small",
|
|
1100
|
+
big: n.size === "big",
|
|
1101
|
+
warning: n.warning,
|
|
1102
|
+
active: n.active
|
|
1103
|
+
}]),
|
|
1104
|
+
style: y(l.value)
|
|
1105
|
+
},
|
|
1106
|
+
[
|
|
1107
|
+
i.value === "iksig" ? (d(), u(
|
|
1108
|
+
"i",
|
|
1109
|
+
{
|
|
1110
|
+
key: 0,
|
|
1111
|
+
class: b(`iksig ${n.name}`),
|
|
1112
|
+
style: y(l.value)
|
|
1113
|
+
},
|
|
1114
|
+
null,
|
|
1115
|
+
6
|
|
1116
|
+
/* CLASS, STYLE */
|
|
1117
|
+
)) : i.value === "svg" ? (d(), u("svg", z6, [
|
|
1118
|
+
c("use", {
|
|
1119
|
+
"xlink:href": `#${n.name}`
|
|
1120
|
+
}, null, 8, F6)
|
|
1121
|
+
])) : i.value === "img" ? (d(), u("img", {
|
|
1122
|
+
key: 2,
|
|
1123
|
+
src: n.name,
|
|
1124
|
+
class: "h-[1em] w-[1em]"
|
|
1125
|
+
}, null, 8, b6)) : (d(), u(
|
|
1126
|
+
"i",
|
|
1127
|
+
{
|
|
1128
|
+
key: 3,
|
|
1129
|
+
class: b(n.name),
|
|
1130
|
+
style: y(l.value)
|
|
1131
|
+
},
|
|
1132
|
+
null,
|
|
1133
|
+
6
|
|
1134
|
+
/* CLASS, STYLE */
|
|
1135
|
+
))
|
|
1136
|
+
],
|
|
1137
|
+
6
|
|
1138
|
+
/* CLASS, STYLE */
|
|
1139
|
+
)
|
|
1140
|
+
]),
|
|
1141
|
+
_: 1
|
|
1142
|
+
/* STABLE */
|
|
1143
|
+
}, 8, ["content"]))
|
|
1144
|
+
])) : (d(), R(h, {
|
|
1145
|
+
key: 1,
|
|
1146
|
+
type: ["warning", "error"].includes(n.type) ? "danger" : ""
|
|
1147
|
+
}, {
|
|
1148
|
+
default: x(() => [
|
|
1149
|
+
H(
|
|
1150
|
+
V(n.title),
|
|
1151
|
+
1
|
|
1152
|
+
/* TEXT */
|
|
1153
|
+
)
|
|
1154
|
+
]),
|
|
1155
|
+
_: 1
|
|
1156
|
+
/* STABLE */
|
|
1157
|
+
}, 8, ["type"]));
|
|
1158
|
+
};
|
|
1159
|
+
}
|
|
1160
|
+
}), B = D(x6), S6 = {
|
|
1161
|
+
key: 0,
|
|
1162
|
+
class: "exit-main-page-maximize"
|
|
1163
|
+
}, C6 = /* @__PURE__ */ k({
|
|
1164
|
+
__name: "CloseIcon",
|
|
1165
|
+
props: {
|
|
1166
|
+
showBg: {
|
|
1167
|
+
type: Boolean,
|
|
1168
|
+
default: !1
|
|
1169
|
+
},
|
|
1170
|
+
fullscreen: {
|
|
1171
|
+
type: Boolean,
|
|
1172
|
+
default: !1
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
setup(o) {
|
|
1176
|
+
return (e, i) => (d(), u("div", null, [
|
|
1177
|
+
o.showBg && o.fullscreen ? (d(), u("div", S6, [
|
|
1178
|
+
_(w(B), {
|
|
1179
|
+
name: "iksvg_guanbidanchuang",
|
|
1180
|
+
warning: "",
|
|
1181
|
+
title: "关闭",
|
|
1182
|
+
size: 20
|
|
1183
|
+
})
|
|
1184
|
+
])) : (d(), R(w(B), {
|
|
1185
|
+
key: 1,
|
|
1186
|
+
name: "iksvg_guanbidanchuang",
|
|
1187
|
+
warning: "",
|
|
1188
|
+
title: "关闭",
|
|
1189
|
+
size: 20
|
|
1190
|
+
}))
|
|
1191
|
+
]));
|
|
1192
|
+
}
|
|
1193
|
+
});
|
|
1194
|
+
const V6 = /* @__PURE__ */ A(C6, [["__scopeId", "data-v-8f74b5ea"]]), B6 = { class: "base-header" }, R6 = /* @__PURE__ */ k({
|
|
1195
|
+
__name: "IkBaseDialog",
|
|
1196
|
+
props: /* @__PURE__ */ P({
|
|
1197
|
+
title: { default: "" },
|
|
1198
|
+
cancelText: { default: "取消" },
|
|
1199
|
+
confirmText: { default: "确认" },
|
|
1200
|
+
noHeader: { type: Boolean },
|
|
1201
|
+
noFooter: { type: Boolean },
|
|
1202
|
+
showCloseBg: { type: Boolean, default: !1 },
|
|
1203
|
+
fullscreen: { type: Boolean, default: !1 }
|
|
1204
|
+
}, {
|
|
1205
|
+
modelValue: {
|
|
1206
|
+
type: Boolean,
|
|
1207
|
+
default: !1,
|
|
1208
|
+
noHeader: !1,
|
|
1209
|
+
noFooter: !1
|
|
1210
|
+
},
|
|
1211
|
+
modelModifiers: {}
|
|
1212
|
+
}),
|
|
1213
|
+
emits: ["update:modelValue"],
|
|
1214
|
+
setup(o) {
|
|
1215
|
+
const e = o, i = L(o, "modelValue"), l = z(e.fullscreen), n = () => {
|
|
1216
|
+
l.value = !l.value;
|
|
1217
|
+
}, s = k({
|
|
1218
|
+
setup() {
|
|
1219
|
+
return () => Y(V6, {
|
|
1220
|
+
showBg: e.showCloseBg,
|
|
1221
|
+
fullscreen: e.fullscreen
|
|
1222
|
+
});
|
|
1223
|
+
}
|
|
1224
|
+
});
|
|
1225
|
+
return (a, h) => {
|
|
1226
|
+
const g = $("el-dialog");
|
|
1227
|
+
return d(), R(g, Z({
|
|
1228
|
+
modelValue: i.value,
|
|
1229
|
+
"onUpdate:modelValue": h[0] || (h[0] = (t) => i.value = t)
|
|
1230
|
+
}, a.$attrs, {
|
|
1231
|
+
"close-icon": w(s),
|
|
1232
|
+
class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
|
|
1233
|
+
fullscreen: l.value,
|
|
1234
|
+
"modal-class": "baseDialog"
|
|
1235
|
+
}), J({
|
|
1236
|
+
icon: x(() => [
|
|
1237
|
+
I(a.$slots, "title", {}, () => [
|
|
1238
|
+
H(
|
|
1239
|
+
V(a.title),
|
|
1240
|
+
1
|
|
1241
|
+
/* TEXT */
|
|
1242
|
+
)
|
|
1243
|
+
])
|
|
1244
|
+
]),
|
|
1245
|
+
header: x(() => [
|
|
1246
|
+
c("div", B6, [
|
|
1247
|
+
I(a.$slots, "header", {}, () => [
|
|
1248
|
+
H(
|
|
1249
|
+
V(a.title),
|
|
1250
|
+
1
|
|
1251
|
+
/* TEXT */
|
|
1252
|
+
)
|
|
1253
|
+
])
|
|
1254
|
+
]),
|
|
1255
|
+
a.$attrs.showClose ? (d(), R(w(B), {
|
|
1256
|
+
key: 0,
|
|
1257
|
+
onClick: n,
|
|
1258
|
+
name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1259
|
+
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1260
|
+
title: l.value ? "退出全屏" : "全屏"
|
|
1261
|
+
}, null, 8, ["name", "title"])) : C("v-if", !0)
|
|
1262
|
+
]),
|
|
1263
|
+
default: x(() => [
|
|
1264
|
+
I(a.$slots, "default")
|
|
1265
|
+
]),
|
|
1266
|
+
_: 2
|
|
1267
|
+
/* DYNAMIC */
|
|
1268
|
+
}, [
|
|
1269
|
+
a.$slots.footer ? {
|
|
1270
|
+
name: "footer",
|
|
1271
|
+
fn: x(() => [
|
|
1272
|
+
I(a.$slots, "footer")
|
|
1273
|
+
]),
|
|
1274
|
+
key: "0"
|
|
1275
|
+
} : void 0
|
|
1276
|
+
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
});
|
|
1280
|
+
const I6 = D(R6);
|
|
1281
|
+
function $6(o, e, i, l) {
|
|
1282
|
+
function n(s) {
|
|
1283
|
+
return s instanceof i ? s : new i(function(a) {
|
|
1284
|
+
a(s);
|
|
972
1285
|
});
|
|
973
1286
|
}
|
|
974
|
-
return new (
|
|
975
|
-
function h(
|
|
1287
|
+
return new (i || (i = Promise))(function(s, a) {
|
|
1288
|
+
function h(r) {
|
|
976
1289
|
try {
|
|
977
|
-
|
|
978
|
-
} catch (
|
|
979
|
-
a(
|
|
1290
|
+
t(l.next(r));
|
|
1291
|
+
} catch (v) {
|
|
1292
|
+
a(v);
|
|
980
1293
|
}
|
|
981
1294
|
}
|
|
982
|
-
function g(
|
|
1295
|
+
function g(r) {
|
|
983
1296
|
try {
|
|
984
|
-
|
|
985
|
-
} catch (
|
|
986
|
-
a(
|
|
1297
|
+
t(l.throw(r));
|
|
1298
|
+
} catch (v) {
|
|
1299
|
+
a(v);
|
|
987
1300
|
}
|
|
988
1301
|
}
|
|
989
|
-
function
|
|
990
|
-
|
|
1302
|
+
function t(r) {
|
|
1303
|
+
r.done ? s(r.value) : n(r.value).then(h, g);
|
|
991
1304
|
}
|
|
992
|
-
|
|
1305
|
+
t((l = l.apply(o, e || [])).next());
|
|
993
1306
|
});
|
|
994
1307
|
}
|
|
995
|
-
function
|
|
996
|
-
var
|
|
997
|
-
if (
|
|
998
|
-
throw
|
|
999
|
-
return
|
|
1000
|
-
}, trys: [], ops: [] }, l,
|
|
1308
|
+
function D6(o, e) {
|
|
1309
|
+
var i = { label: 0, sent: function() {
|
|
1310
|
+
if (s[0] & 1)
|
|
1311
|
+
throw s[1];
|
|
1312
|
+
return s[1];
|
|
1313
|
+
}, trys: [], ops: [] }, l, n, s, a;
|
|
1001
1314
|
return a = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
|
|
1002
1315
|
return this;
|
|
1003
1316
|
}), a;
|
|
1004
|
-
function h(
|
|
1005
|
-
return function(
|
|
1006
|
-
return g([
|
|
1317
|
+
function h(t) {
|
|
1318
|
+
return function(r) {
|
|
1319
|
+
return g([t, r]);
|
|
1007
1320
|
};
|
|
1008
1321
|
}
|
|
1009
|
-
function g(
|
|
1322
|
+
function g(t) {
|
|
1010
1323
|
if (l)
|
|
1011
1324
|
throw new TypeError("Generator is already executing.");
|
|
1012
|
-
for (; a && (a = 0,
|
|
1325
|
+
for (; a && (a = 0, t[0] && (i = 0)), i; )
|
|
1013
1326
|
try {
|
|
1014
|
-
if (l = 1,
|
|
1015
|
-
return
|
|
1016
|
-
switch (
|
|
1327
|
+
if (l = 1, n && (s = t[0] & 2 ? n.return : t[0] ? n.throw || ((s = n.return) && s.call(n), 0) : n.next) && !(s = s.call(n, t[1])).done)
|
|
1328
|
+
return s;
|
|
1329
|
+
switch (n = 0, s && (t = [t[0] & 2, s.value]), t[0]) {
|
|
1017
1330
|
case 0:
|
|
1018
1331
|
case 1:
|
|
1019
|
-
|
|
1332
|
+
s = t;
|
|
1020
1333
|
break;
|
|
1021
1334
|
case 4:
|
|
1022
|
-
return
|
|
1335
|
+
return i.label++, { value: t[1], done: !1 };
|
|
1023
1336
|
case 5:
|
|
1024
|
-
|
|
1337
|
+
i.label++, n = t[1], t = [0];
|
|
1025
1338
|
continue;
|
|
1026
1339
|
case 7:
|
|
1027
|
-
|
|
1340
|
+
t = i.ops.pop(), i.trys.pop();
|
|
1028
1341
|
continue;
|
|
1029
1342
|
default:
|
|
1030
|
-
if (
|
|
1031
|
-
|
|
1343
|
+
if (s = i.trys, !(s = s.length > 0 && s[s.length - 1]) && (t[0] === 6 || t[0] === 2)) {
|
|
1344
|
+
i = 0;
|
|
1032
1345
|
continue;
|
|
1033
1346
|
}
|
|
1034
|
-
if (
|
|
1035
|
-
|
|
1347
|
+
if (t[0] === 3 && (!s || t[1] > s[0] && t[1] < s[3])) {
|
|
1348
|
+
i.label = t[1];
|
|
1036
1349
|
break;
|
|
1037
1350
|
}
|
|
1038
|
-
if (
|
|
1039
|
-
|
|
1351
|
+
if (t[0] === 6 && i.label < s[1]) {
|
|
1352
|
+
i.label = s[1], s = t;
|
|
1040
1353
|
break;
|
|
1041
1354
|
}
|
|
1042
|
-
if (
|
|
1043
|
-
|
|
1355
|
+
if (s && i.label < s[2]) {
|
|
1356
|
+
i.label = s[2], i.ops.push(t);
|
|
1044
1357
|
break;
|
|
1045
1358
|
}
|
|
1046
|
-
|
|
1359
|
+
s[2] && i.ops.pop(), i.trys.pop();
|
|
1047
1360
|
continue;
|
|
1048
1361
|
}
|
|
1049
|
-
|
|
1050
|
-
} catch (
|
|
1051
|
-
|
|
1362
|
+
t = e.call(o, i);
|
|
1363
|
+
} catch (r) {
|
|
1364
|
+
t = [6, r], n = 0;
|
|
1052
1365
|
} finally {
|
|
1053
|
-
l =
|
|
1366
|
+
l = s = 0;
|
|
1054
1367
|
}
|
|
1055
|
-
if (
|
|
1056
|
-
throw
|
|
1057
|
-
return { value:
|
|
1368
|
+
if (t[0] & 5)
|
|
1369
|
+
throw t[1];
|
|
1370
|
+
return { value: t[0] ? t[1] : void 0, done: !0 };
|
|
1058
1371
|
}
|
|
1059
1372
|
}
|
|
1060
|
-
var
|
|
1061
|
-
return
|
|
1062
|
-
return
|
|
1063
|
-
return [2, new Promise(function(l,
|
|
1373
|
+
var M6 = function(o, e) {
|
|
1374
|
+
return $6(void 0, void 0, void 0, function() {
|
|
1375
|
+
return D6(this, function(i) {
|
|
1376
|
+
return [2, new Promise(function(l, n) {
|
|
1064
1377
|
try {
|
|
1065
1378
|
if (window.DocsAPI)
|
|
1066
1379
|
return l(null);
|
|
1067
|
-
var
|
|
1068
|
-
if (
|
|
1380
|
+
var s = document.getElementById(e);
|
|
1381
|
+
if (s)
|
|
1069
1382
|
var a = setInterval(function() {
|
|
1070
|
-
var g =
|
|
1383
|
+
var g = s.getAttribute("loading");
|
|
1071
1384
|
if (!g) {
|
|
1072
1385
|
if (clearInterval(a), window.DocsAPI)
|
|
1073
1386
|
return l(null);
|
|
1074
|
-
var
|
|
1075
|
-
|
|
1387
|
+
var t = T(e, o, l, n);
|
|
1388
|
+
s.remove(), document.body.appendChild(t);
|
|
1076
1389
|
}
|
|
1077
1390
|
}, 500);
|
|
1078
1391
|
else {
|
|
1079
|
-
var h =
|
|
1392
|
+
var h = T(e, o, l, n);
|
|
1080
1393
|
document.body.appendChild(h);
|
|
1081
1394
|
}
|
|
1082
1395
|
} catch (g) {
|
|
@@ -1085,14 +1398,14 @@ var G6 = function(n, e) {
|
|
|
1085
1398
|
})];
|
|
1086
1399
|
});
|
|
1087
1400
|
});
|
|
1088
|
-
},
|
|
1089
|
-
var
|
|
1090
|
-
return
|
|
1091
|
-
|
|
1092
|
-
},
|
|
1093
|
-
|
|
1094
|
-
},
|
|
1095
|
-
},
|
|
1401
|
+
}, T = function(o, e, i, l) {
|
|
1402
|
+
var n = document.createElement("script");
|
|
1403
|
+
return n.id = o, n.type = "text/javascript", n.src = e, n.async = !0, n.onload = function() {
|
|
1404
|
+
n.removeAttribute("loading"), i(null);
|
|
1405
|
+
}, n.onerror = function(s) {
|
|
1406
|
+
n.removeAttribute("loading"), l(s);
|
|
1407
|
+
}, n.setAttribute("loading", ""), n;
|
|
1408
|
+
}, U = k({
|
|
1096
1409
|
name: "DocumentEditor",
|
|
1097
1410
|
props: {
|
|
1098
1411
|
id: {
|
|
@@ -1144,55 +1457,55 @@ var G6 = function(n, e) {
|
|
|
1144
1457
|
events_onRequestSelectDocument: Function
|
|
1145
1458
|
},
|
|
1146
1459
|
mounted: function() {
|
|
1147
|
-
var
|
|
1460
|
+
var o = this, e = this.documentServerUrl;
|
|
1148
1461
|
e.endsWith("/") || (e += "/");
|
|
1149
|
-
var
|
|
1150
|
-
|
|
1151
|
-
return
|
|
1462
|
+
var i = "".concat(e, "web-apps/apps/api/documents/api.js");
|
|
1463
|
+
M6(i, "onlyoffice-api-script").then(function() {
|
|
1464
|
+
return o.onLoad();
|
|
1152
1465
|
}).catch(function() {
|
|
1153
|
-
|
|
1466
|
+
o.onError(-2);
|
|
1154
1467
|
});
|
|
1155
1468
|
},
|
|
1156
1469
|
unmounted: function() {
|
|
1157
|
-
var
|
|
1158
|
-
!((
|
|
1470
|
+
var o, e = this.id || "";
|
|
1471
|
+
!((o = window == null ? void 0 : window.DocEditor) === null || o === void 0) && o.instances[e] && (window.DocEditor.instances[e].destroyEditor(), window.DocEditor.instances[e] = void 0);
|
|
1159
1472
|
},
|
|
1160
1473
|
watch: {
|
|
1161
1474
|
config: {
|
|
1162
|
-
handler: function(
|
|
1475
|
+
handler: function(o, e) {
|
|
1163
1476
|
this.onChangeProps();
|
|
1164
1477
|
},
|
|
1165
1478
|
deep: !0
|
|
1166
1479
|
},
|
|
1167
|
-
document_fileType: function(
|
|
1480
|
+
document_fileType: function(o, e) {
|
|
1168
1481
|
this.onChangeProps();
|
|
1169
1482
|
},
|
|
1170
|
-
document_title: function(
|
|
1483
|
+
document_title: function(o, e) {
|
|
1171
1484
|
this.onChangeProps();
|
|
1172
1485
|
},
|
|
1173
|
-
documentType: function(
|
|
1486
|
+
documentType: function(o, e) {
|
|
1174
1487
|
this.onChangeProps();
|
|
1175
1488
|
},
|
|
1176
|
-
editorConfig_lang: function(
|
|
1489
|
+
editorConfig_lang: function(o, e) {
|
|
1177
1490
|
this.onChangeProps();
|
|
1178
1491
|
},
|
|
1179
|
-
height: function(
|
|
1492
|
+
height: function(o, e) {
|
|
1180
1493
|
this.onChangeProps();
|
|
1181
1494
|
},
|
|
1182
|
-
type: function(
|
|
1495
|
+
type: function(o, e) {
|
|
1183
1496
|
this.onChangeProps();
|
|
1184
1497
|
},
|
|
1185
|
-
width: function(
|
|
1498
|
+
width: function(o, e) {
|
|
1186
1499
|
this.onChangeProps();
|
|
1187
1500
|
}
|
|
1188
1501
|
},
|
|
1189
1502
|
methods: {
|
|
1190
1503
|
onLoad: function() {
|
|
1191
|
-
var
|
|
1504
|
+
var o, e;
|
|
1192
1505
|
try {
|
|
1193
|
-
var
|
|
1194
|
-
if (window.DocsAPI || this.onError(-3), !((
|
|
1195
|
-
console.log("Skip loading. Instance already exists",
|
|
1506
|
+
var i = this.id || "";
|
|
1507
|
+
if (window.DocsAPI || this.onError(-3), !((o = window == null ? void 0 : window.DocEditor) === null || o === void 0) && o.instances[i]) {
|
|
1508
|
+
console.log("Skip loading. Instance already exists", i);
|
|
1196
1509
|
return;
|
|
1197
1510
|
}
|
|
1198
1511
|
!((e = window == null ? void 0 : window.DocEditor) === null || e === void 0) && e.instances || (window.DocEditor = { instances: {} });
|
|
@@ -1231,15 +1544,15 @@ var G6 = function(n, e) {
|
|
|
1231
1544
|
height: this.height,
|
|
1232
1545
|
type: this.type,
|
|
1233
1546
|
width: this.width
|
|
1234
|
-
}, this.config || {}),
|
|
1235
|
-
window.DocEditor.instances[
|
|
1236
|
-
} catch (
|
|
1237
|
-
console.error(
|
|
1547
|
+
}, this.config || {}), n = window.DocsAPI.DocEditor(i, l);
|
|
1548
|
+
window.DocEditor.instances[i] = n;
|
|
1549
|
+
} catch (s) {
|
|
1550
|
+
console.error(s), this.onError(-1);
|
|
1238
1551
|
}
|
|
1239
1552
|
},
|
|
1240
|
-
onError: function(
|
|
1553
|
+
onError: function(o) {
|
|
1241
1554
|
var e;
|
|
1242
|
-
switch (
|
|
1555
|
+
switch (o) {
|
|
1243
1556
|
case -2:
|
|
1244
1557
|
e = "Error load DocsAPI from " + this.documentServerUrl;
|
|
1245
1558
|
break;
|
|
@@ -1247,27 +1560,27 @@ var G6 = function(n, e) {
|
|
|
1247
1560
|
e = "DocsAPI is not defined";
|
|
1248
1561
|
break;
|
|
1249
1562
|
default:
|
|
1250
|
-
e = "Unknown error loading component",
|
|
1563
|
+
e = "Unknown error loading component", o = -1;
|
|
1251
1564
|
}
|
|
1252
|
-
typeof this.onLoadComponentError > "u" ? console.error(e) : this.onLoadComponentError(
|
|
1565
|
+
typeof this.onLoadComponentError > "u" ? console.error(e) : this.onLoadComponentError(o, e);
|
|
1253
1566
|
},
|
|
1254
1567
|
onAppReady: function() {
|
|
1255
|
-
var
|
|
1256
|
-
this.events_onAppReady(window.DocEditor.instances[
|
|
1568
|
+
var o = this.id || "";
|
|
1569
|
+
this.events_onAppReady(window.DocEditor.instances[o]);
|
|
1257
1570
|
},
|
|
1258
1571
|
onChangeProps: function() {
|
|
1259
|
-
var
|
|
1260
|
-
!((
|
|
1572
|
+
var o, e = this.id || "";
|
|
1573
|
+
!((o = window == null ? void 0 : window.DocEditor) === null || o === void 0) && o.instances[e] && (window.DocEditor.instances[e].destroyEditor(), window.DocEditor.instances[e] = void 0, console.log("Important props have been changed. Load new Editor."), this.onLoad());
|
|
1261
1574
|
}
|
|
1262
1575
|
}
|
|
1263
1576
|
});
|
|
1264
|
-
const
|
|
1265
|
-
function
|
|
1266
|
-
return
|
|
1577
|
+
const q6 = ["id"];
|
|
1578
|
+
function E6(o, e, i, l, n, s) {
|
|
1579
|
+
return d(), u("div", { id: o.id }, null, 8, q6);
|
|
1267
1580
|
}
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
const
|
|
1581
|
+
U.render = E6;
|
|
1582
|
+
U.__file = "src/components/DocumentEditor.vue";
|
|
1583
|
+
const H6 = /* @__PURE__ */ k({
|
|
1271
1584
|
__name: "IkOnlyOffice",
|
|
1272
1585
|
props: {
|
|
1273
1586
|
// 文件服务器的服务的地址
|
|
@@ -1297,14 +1610,14 @@ const K6 = /* @__PURE__ */ B({
|
|
|
1297
1610
|
default: ""
|
|
1298
1611
|
}
|
|
1299
1612
|
},
|
|
1300
|
-
setup(
|
|
1301
|
-
var
|
|
1302
|
-
const e =
|
|
1613
|
+
setup(o) {
|
|
1614
|
+
var n, s, a, h;
|
|
1615
|
+
const e = o, i = z({
|
|
1303
1616
|
width: "100%",
|
|
1304
1617
|
height: "100%",
|
|
1305
|
-
document: (
|
|
1618
|
+
document: (n = e.configOptions) == null ? void 0 : n.document,
|
|
1306
1619
|
// word cell(表格) slide(PPT)
|
|
1307
|
-
documentType: (
|
|
1620
|
+
documentType: (s = e.configOptions) == null ? void 0 : s.documentType,
|
|
1308
1621
|
editorConfig: {
|
|
1309
1622
|
callbackUrl: (h = (a = e.configOptions) == null ? void 0 : a.editorConfig) == null ? void 0 : h.callbackUrl,
|
|
1310
1623
|
// 保存的回调函数
|
|
@@ -1339,22 +1652,20 @@ const K6 = /* @__PURE__ */ B({
|
|
|
1339
1652
|
},
|
|
1340
1653
|
mode: e.mode,
|
|
1341
1654
|
token: e.token
|
|
1342
|
-
})
|
|
1343
|
-
|
|
1344
|
-
const l = () => {
|
|
1345
|
-
console.info("文档加载中");
|
|
1655
|
+
}), l = () => {
|
|
1656
|
+
console.info("文档加载完成");
|
|
1346
1657
|
};
|
|
1347
|
-
return (g,
|
|
1658
|
+
return (g, t) => (d(), u(
|
|
1348
1659
|
"div",
|
|
1349
1660
|
{
|
|
1350
|
-
style:
|
|
1661
|
+
style: y({ height: e.officeHeight })
|
|
1351
1662
|
},
|
|
1352
1663
|
[
|
|
1353
|
-
|
|
1664
|
+
_(w(U), {
|
|
1354
1665
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1355
1666
|
ref: "editorRef",
|
|
1356
|
-
"document-server-url":
|
|
1357
|
-
config:
|
|
1667
|
+
"document-server-url": o.documentServerUrl,
|
|
1668
|
+
config: i.value,
|
|
1358
1669
|
events_onDocumentReady: l
|
|
1359
1670
|
}, null, 8, ["id", "document-server-url", "config"])
|
|
1360
1671
|
],
|
|
@@ -1363,342 +1674,22 @@ const K6 = /* @__PURE__ */ B({
|
|
|
1363
1674
|
));
|
|
1364
1675
|
}
|
|
1365
1676
|
});
|
|
1366
|
-
const
|
|
1367
|
-
key: 0,
|
|
1368
|
-
class: "exit-main-page-maximize"
|
|
1369
|
-
}, Z6 = /* @__PURE__ */ B({
|
|
1370
|
-
__name: "CloseIcon",
|
|
1371
|
-
props: {
|
|
1372
|
-
showBg: {
|
|
1373
|
-
type: Boolean,
|
|
1374
|
-
default: !1
|
|
1375
|
-
},
|
|
1376
|
-
fullscreen: {
|
|
1377
|
-
type: Boolean,
|
|
1378
|
-
default: !1
|
|
1379
|
-
}
|
|
1380
|
-
},
|
|
1381
|
-
setup(n) {
|
|
1382
|
-
return (e, t) => (c(), d("div", null, [
|
|
1383
|
-
n.showBg && n.fullscreen ? (c(), d("div", Y6, [
|
|
1384
|
-
b(w(A), {
|
|
1385
|
-
name: "iksvg_guanbidanchuang",
|
|
1386
|
-
warning: "",
|
|
1387
|
-
title: "关闭",
|
|
1388
|
-
size: 20
|
|
1389
|
-
})
|
|
1390
|
-
])) : (c(), E(w(A), {
|
|
1391
|
-
key: 1,
|
|
1392
|
-
name: "iksvg_guanbidanchuang",
|
|
1393
|
-
warning: "",
|
|
1394
|
-
title: "关闭",
|
|
1395
|
-
size: 20
|
|
1396
|
-
}))
|
|
1397
|
-
]));
|
|
1398
|
-
}
|
|
1399
|
-
});
|
|
1400
|
-
const J6 = /* @__PURE__ */ X(Z6, [["__scopeId", "data-v-8f74b5ea"]]), Q6 = { class: "base-header" }, ee = /* @__PURE__ */ B({
|
|
1401
|
-
__name: "IkBaseDialog",
|
|
1402
|
-
props: /* @__PURE__ */ c3({
|
|
1403
|
-
title: { default: "" },
|
|
1404
|
-
cancelText: { default: "取消" },
|
|
1405
|
-
confirmText: { default: "确认" },
|
|
1406
|
-
noHeader: { type: Boolean },
|
|
1407
|
-
noFooter: { type: Boolean },
|
|
1408
|
-
showCloseBg: { type: Boolean, default: !1 },
|
|
1409
|
-
fullscreen: { type: Boolean, default: !1 }
|
|
1410
|
-
}, {
|
|
1411
|
-
modelValue: {
|
|
1412
|
-
type: Boolean,
|
|
1413
|
-
default: !1,
|
|
1414
|
-
noHeader: !1,
|
|
1415
|
-
noFooter: !1
|
|
1416
|
-
},
|
|
1417
|
-
modelModifiers: {}
|
|
1418
|
-
}),
|
|
1419
|
-
emits: ["update:modelValue"],
|
|
1420
|
-
setup(n) {
|
|
1421
|
-
const e = n, t = u3(n, "modelValue"), l = k(e.fullscreen), o = () => {
|
|
1422
|
-
l.value = !l.value;
|
|
1423
|
-
}, i = B({
|
|
1424
|
-
setup() {
|
|
1425
|
-
return () => d3(J6, {
|
|
1426
|
-
showBg: e.showCloseBg,
|
|
1427
|
-
fullscreen: e.fullscreen
|
|
1428
|
-
});
|
|
1429
|
-
}
|
|
1430
|
-
});
|
|
1431
|
-
return (a, h) => {
|
|
1432
|
-
const g = j("el-dialog");
|
|
1433
|
-
return c(), E(g, h3({
|
|
1434
|
-
modelValue: t.value,
|
|
1435
|
-
"onUpdate:modelValue": h[0] || (h[0] = (s) => t.value = s)
|
|
1436
|
-
}, a.$attrs, {
|
|
1437
|
-
"close-icon": w(i),
|
|
1438
|
-
class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
|
|
1439
|
-
fullscreen: l.value,
|
|
1440
|
-
"modal-class": "baseDialog"
|
|
1441
|
-
}), f3({
|
|
1442
|
-
icon: R(() => [
|
|
1443
|
-
O(a.$slots, "title", {}, () => [
|
|
1444
|
-
K(
|
|
1445
|
-
M(a.title),
|
|
1446
|
-
1
|
|
1447
|
-
/* TEXT */
|
|
1448
|
-
)
|
|
1449
|
-
])
|
|
1450
|
-
]),
|
|
1451
|
-
header: R(() => [
|
|
1452
|
-
r("div", Q6, [
|
|
1453
|
-
O(a.$slots, "header", {}, () => [
|
|
1454
|
-
K(
|
|
1455
|
-
M(a.title),
|
|
1456
|
-
1
|
|
1457
|
-
/* TEXT */
|
|
1458
|
-
)
|
|
1459
|
-
])
|
|
1460
|
-
]),
|
|
1461
|
-
a.$attrs.showClose ? (c(), E(w(A), {
|
|
1462
|
-
key: 0,
|
|
1463
|
-
onClick: o,
|
|
1464
|
-
name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1465
|
-
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1466
|
-
title: l.value ? "退出全屏" : "全屏"
|
|
1467
|
-
}, null, 8, ["name", "title"])) : V("v-if", !0)
|
|
1468
|
-
]),
|
|
1469
|
-
default: R(() => [
|
|
1470
|
-
O(a.$slots, "default")
|
|
1471
|
-
]),
|
|
1472
|
-
_: 2
|
|
1473
|
-
/* DYNAMIC */
|
|
1474
|
-
}, [
|
|
1475
|
-
a.$slots.footer ? {
|
|
1476
|
-
name: "footer",
|
|
1477
|
-
fn: R(() => [
|
|
1478
|
-
O(a.$slots, "footer")
|
|
1479
|
-
]),
|
|
1480
|
-
key: "0"
|
|
1481
|
-
} : void 0
|
|
1482
|
-
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
1483
|
-
};
|
|
1484
|
-
}
|
|
1485
|
-
});
|
|
1486
|
-
const te = {
|
|
1487
|
-
key: 0,
|
|
1488
|
-
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center line-height-[0]"
|
|
1489
|
-
}, ne = {
|
|
1490
|
-
key: 1,
|
|
1491
|
-
class: "h-[1em] w-[1em]",
|
|
1492
|
-
"aria-hidden": "true"
|
|
1493
|
-
}, oe = ["xlink:href"], se = ["src"], ie = {
|
|
1494
|
-
key: 1,
|
|
1495
|
-
class: "h-[1em] w-[1em]",
|
|
1496
|
-
"aria-hidden": "true"
|
|
1497
|
-
}, le = ["xlink:href"], ae = ["src"], re = /* @__PURE__ */ B({
|
|
1498
|
-
name: "IkSvgIcon",
|
|
1499
|
-
__name: "index",
|
|
1500
|
-
props: {
|
|
1501
|
-
name: {},
|
|
1502
|
-
flip: {},
|
|
1503
|
-
rotate: {},
|
|
1504
|
-
color: {},
|
|
1505
|
-
opacity: { default: 0.5 },
|
|
1506
|
-
size: { default: "" },
|
|
1507
|
-
bg: { type: Boolean, default: !1 },
|
|
1508
|
-
showBg: { type: Boolean, default: !1 },
|
|
1509
|
-
padding: { default: "0" },
|
|
1510
|
-
primary: { type: Boolean },
|
|
1511
|
-
warning: { type: Boolean },
|
|
1512
|
-
notip: { type: Boolean, default: !1 },
|
|
1513
|
-
title: {},
|
|
1514
|
-
type: {},
|
|
1515
|
-
active: { type: Boolean, default: !1 },
|
|
1516
|
-
disabled: { type: Boolean, default: !1 },
|
|
1517
|
-
tableIconType: { default: "icon" }
|
|
1518
|
-
},
|
|
1519
|
-
setup(n) {
|
|
1520
|
-
const e = n, t = H(() => {
|
|
1521
|
-
var o, i, a;
|
|
1522
|
-
return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (o = e.name) != null && o.startsWith("iksig") ? "iksig" : (i = e.name) != null && i.includes(":") ? "iconify" : (a = e.name) != null && a.startsWith("iksvg") ? "svg" : "i";
|
|
1523
|
-
}), l = H(() => {
|
|
1524
|
-
const o = [];
|
|
1525
|
-
if (e.flip)
|
|
1526
|
-
switch (e.flip) {
|
|
1527
|
-
case "horizontal":
|
|
1528
|
-
o.push("rotateY(180deg)");
|
|
1529
|
-
break;
|
|
1530
|
-
case "vertical":
|
|
1531
|
-
o.push("rotateX(180deg)");
|
|
1532
|
-
break;
|
|
1533
|
-
case "both":
|
|
1534
|
-
o.push("rotateX(180deg)"), o.push("rotateY(180deg)");
|
|
1535
|
-
break;
|
|
1536
|
-
}
|
|
1537
|
-
return e.rotate && o.push(`rotate(${e.rotate % 360}deg)`), {
|
|
1538
|
-
...e.color && { color: e.color },
|
|
1539
|
-
...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
|
|
1540
|
-
...o.length && { transform: o.join(" ") },
|
|
1541
|
-
padding: e.padding,
|
|
1542
|
-
...e.color && t.value !== "iksig" ? {
|
|
1543
|
-
"--ik-color-icon-dark": e.color,
|
|
1544
|
-
"--ik-color-icon-light": y3.setOpacity(e.color, e.opacity || 0.4)
|
|
1545
|
-
} : {},
|
|
1546
|
-
...e.type === "primary" || e.primary ? {
|
|
1547
|
-
"--ik-color-icon-dark": "var(--ik-theme-color)",
|
|
1548
|
-
"--ik-color-icon-light": "var(--ik-color-icon-light-hover)",
|
|
1549
|
-
"--ik-color-bg-icon": "var(--ik-color-bg-button-secondary)"
|
|
1550
|
-
} : e.type === "warning" ? {
|
|
1551
|
-
"--ik-color-icon-dark": "var(--ik-color-error)",
|
|
1552
|
-
"--ik-color-icon-light": "var(--ik-color-icon-error-light)",
|
|
1553
|
-
"--ik-color-bg-icon": "var(--ik-color-icon-error-bg)"
|
|
1554
|
-
} : {}
|
|
1555
|
-
};
|
|
1556
|
-
});
|
|
1557
|
-
return (o, i) => {
|
|
1558
|
-
const a = j("el-tooltip"), h = j("el-button");
|
|
1559
|
-
return o.tableIconType === "icon" ? (c(), d("span", te, [
|
|
1560
|
-
o.notip || !o.title ? (c(), d(
|
|
1561
|
-
"i",
|
|
1562
|
-
{
|
|
1563
|
-
key: 0,
|
|
1564
|
-
class: $(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1565
|
-
[o.name]: t.value === "unocss",
|
|
1566
|
-
"show-bg": o.showBg || o.bg,
|
|
1567
|
-
default: o.size === "default",
|
|
1568
|
-
small: o.size === "small",
|
|
1569
|
-
big: o.size === "big",
|
|
1570
|
-
warning: o.warning,
|
|
1571
|
-
primary: o.primary,
|
|
1572
|
-
active: o.active,
|
|
1573
|
-
disabled: o.disabled
|
|
1574
|
-
}]),
|
|
1575
|
-
style: x(l.value)
|
|
1576
|
-
},
|
|
1577
|
-
[
|
|
1578
|
-
V(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1579
|
-
t.value === "iksig" ? (c(), d(
|
|
1580
|
-
"i",
|
|
1581
|
-
{
|
|
1582
|
-
key: 0,
|
|
1583
|
-
class: $(`iksig ${o.name}`),
|
|
1584
|
-
style: x(l.value)
|
|
1585
|
-
},
|
|
1586
|
-
null,
|
|
1587
|
-
6
|
|
1588
|
-
/* CLASS, STYLE */
|
|
1589
|
-
)) : t.value === "svg" ? (c(), d("svg", ne, [
|
|
1590
|
-
r("use", {
|
|
1591
|
-
"xlink:href": `#${o.name}`
|
|
1592
|
-
}, null, 8, oe)
|
|
1593
|
-
])) : t.value === "img" ? (c(), d("img", {
|
|
1594
|
-
key: 2,
|
|
1595
|
-
src: o.name,
|
|
1596
|
-
class: "h-[1em] w-[1em]"
|
|
1597
|
-
}, null, 8, se)) : (c(), d(
|
|
1598
|
-
"i",
|
|
1599
|
-
{
|
|
1600
|
-
key: 3,
|
|
1601
|
-
class: $(o.name),
|
|
1602
|
-
style: x(l.value)
|
|
1603
|
-
},
|
|
1604
|
-
null,
|
|
1605
|
-
6
|
|
1606
|
-
/* CLASS, STYLE */
|
|
1607
|
-
))
|
|
1608
|
-
],
|
|
1609
|
-
6
|
|
1610
|
-
/* CLASS, STYLE */
|
|
1611
|
-
)) : (c(), E(a, {
|
|
1612
|
-
key: 1,
|
|
1613
|
-
content: o.title,
|
|
1614
|
-
placement: "top"
|
|
1615
|
-
}, {
|
|
1616
|
-
default: R(() => [
|
|
1617
|
-
r(
|
|
1618
|
-
"i",
|
|
1619
|
-
{
|
|
1620
|
-
class: $(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1621
|
-
[o.name]: t.value === "unocss",
|
|
1622
|
-
"show-bg": o.showBg || o.bg,
|
|
1623
|
-
default: o.size === "default",
|
|
1624
|
-
primary: o.primary,
|
|
1625
|
-
small: o.size === "small",
|
|
1626
|
-
big: o.size === "big",
|
|
1627
|
-
warning: o.warning,
|
|
1628
|
-
active: o.active
|
|
1629
|
-
}]),
|
|
1630
|
-
style: x(l.value)
|
|
1631
|
-
},
|
|
1632
|
-
[
|
|
1633
|
-
t.value === "iksig" ? (c(), d(
|
|
1634
|
-
"i",
|
|
1635
|
-
{
|
|
1636
|
-
key: 0,
|
|
1637
|
-
class: $(`iksig ${o.name}`),
|
|
1638
|
-
style: x(l.value)
|
|
1639
|
-
},
|
|
1640
|
-
null,
|
|
1641
|
-
6
|
|
1642
|
-
/* CLASS, STYLE */
|
|
1643
|
-
)) : t.value === "svg" ? (c(), d("svg", ie, [
|
|
1644
|
-
r("use", {
|
|
1645
|
-
"xlink:href": `#${o.name}`
|
|
1646
|
-
}, null, 8, le)
|
|
1647
|
-
])) : t.value === "img" ? (c(), d("img", {
|
|
1648
|
-
key: 2,
|
|
1649
|
-
src: o.name,
|
|
1650
|
-
class: "h-[1em] w-[1em]"
|
|
1651
|
-
}, null, 8, ae)) : (c(), d(
|
|
1652
|
-
"i",
|
|
1653
|
-
{
|
|
1654
|
-
key: 3,
|
|
1655
|
-
class: $(o.name),
|
|
1656
|
-
style: x(l.value)
|
|
1657
|
-
},
|
|
1658
|
-
null,
|
|
1659
|
-
6
|
|
1660
|
-
/* CLASS, STYLE */
|
|
1661
|
-
))
|
|
1662
|
-
],
|
|
1663
|
-
6
|
|
1664
|
-
/* CLASS, STYLE */
|
|
1665
|
-
)
|
|
1666
|
-
]),
|
|
1667
|
-
_: 1
|
|
1668
|
-
/* STABLE */
|
|
1669
|
-
}, 8, ["content"]))
|
|
1670
|
-
])) : (c(), E(h, {
|
|
1671
|
-
key: 1,
|
|
1672
|
-
type: ["warning", "error"].includes(o.type) ? "danger" : ""
|
|
1673
|
-
}, {
|
|
1674
|
-
default: R(() => [
|
|
1675
|
-
K(
|
|
1676
|
-
M(o.title),
|
|
1677
|
-
1
|
|
1678
|
-
/* TEXT */
|
|
1679
|
-
)
|
|
1680
|
-
]),
|
|
1681
|
-
_: 1
|
|
1682
|
-
/* STABLE */
|
|
1683
|
-
}, 8, ["type"]));
|
|
1684
|
-
};
|
|
1685
|
-
}
|
|
1686
|
-
}), A = L(re), ce = L(ee), ue = L(X6), de = (n) => (v3("data-v-170abcfc"), n = n(), g3(), n), he = {
|
|
1677
|
+
const A6 = /* @__PURE__ */ A(H6, [["__scopeId", "data-v-ea0a8f6d"]]), U6 = D(A6), O6 = (o) => (Q("data-v-170abcfc"), o = o(), e3(), o), T6 = {
|
|
1687
1678
|
key: 0,
|
|
1688
1679
|
class: "preview-files"
|
|
1689
|
-
},
|
|
1680
|
+
}, P6 = {
|
|
1690
1681
|
class: "flex",
|
|
1691
1682
|
style: { width: "80%", "align-items": "center" }
|
|
1692
|
-
},
|
|
1683
|
+
}, L6 = ["onClick"], j6 = ["title"], G6 = { style: { color: "#b8c6d9" } }, N6 = ["onClick"], W6 = /* @__PURE__ */ O6(() => /* @__PURE__ */ c(
|
|
1693
1684
|
"span",
|
|
1694
1685
|
null,
|
|
1695
1686
|
"预览",
|
|
1696
1687
|
-1
|
|
1697
1688
|
/* HOISTED */
|
|
1698
|
-
)),
|
|
1689
|
+
)), K6 = {
|
|
1699
1690
|
key: 1,
|
|
1700
1691
|
class: "flex preview-img"
|
|
1701
|
-
},
|
|
1692
|
+
}, X6 = /* @__PURE__ */ k({
|
|
1702
1693
|
__name: "IKDetailPreviewFiles",
|
|
1703
1694
|
props: {
|
|
1704
1695
|
// 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
|
|
@@ -1727,79 +1718,79 @@ const te = {
|
|
|
1727
1718
|
default: ""
|
|
1728
1719
|
}
|
|
1729
1720
|
},
|
|
1730
|
-
setup(
|
|
1731
|
-
const e =
|
|
1732
|
-
|
|
1721
|
+
setup(o) {
|
|
1722
|
+
const e = o, i = z(e.fileList);
|
|
1723
|
+
j(
|
|
1733
1724
|
() => e.fileList,
|
|
1734
|
-
(
|
|
1735
|
-
|
|
1725
|
+
(t) => {
|
|
1726
|
+
t && (i.value = t);
|
|
1736
1727
|
},
|
|
1737
1728
|
{ immediate: !0 }
|
|
1738
1729
|
);
|
|
1739
|
-
const l =
|
|
1740
|
-
|
|
1741
|
-
url:
|
|
1742
|
-
name:
|
|
1730
|
+
const l = z(!1), n = z({}), s = (t) => {
|
|
1731
|
+
n.value = {
|
|
1732
|
+
url: t.url,
|
|
1733
|
+
name: t.name
|
|
1743
1734
|
// row.originName
|
|
1744
1735
|
}, l.value = !0;
|
|
1745
|
-
}, a = (
|
|
1746
|
-
var
|
|
1747
|
-
return (
|
|
1748
|
-
}, h = (
|
|
1749
|
-
var
|
|
1750
|
-
return (
|
|
1751
|
-
}, g = (
|
|
1752
|
-
const
|
|
1753
|
-
|
|
1736
|
+
}, a = (t) => {
|
|
1737
|
+
var r, v, f, m, p;
|
|
1738
|
+
return (r = t == null ? void 0 : t.suffix) != null && r.includes("pdf") ? "iksvg_pdf" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "iksvg_word" : (f = t == null ? void 0 : t.suffix) != null && f.includes("xls") ? "iksvg_excel" : (m = t == null ? void 0 : t.suffix) != null && m.includes("mov") ? "iksvg_mov" : (p = t == null ? void 0 : t.suffix) != null && p.includes("zip") ? "iksvg_zip" : "icon-jpg";
|
|
1739
|
+
}, h = (t) => {
|
|
1740
|
+
var r, v, f, m, p;
|
|
1741
|
+
return (r = t == null ? void 0 : t.suffix) != null && r.includes("pdf") ? "#FA4E4E" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "#2c69e0" : (f = t.suffix) != null && f.includes("xls") ? "#39BFBF" : (m = t.suffix) != null && m.includes("txt") ? "#2c69e0" : (p = t.suffix) != null && p.includes("zip") ? "#FF9000" : "#32CD79";
|
|
1742
|
+
}, g = (t) => {
|
|
1743
|
+
const r = document.createElement("a");
|
|
1744
|
+
r.href = s3.assembleUrl(e.loadUrl, t.url), r.download = t.name, r.click();
|
|
1754
1745
|
};
|
|
1755
|
-
return (
|
|
1756
|
-
var
|
|
1757
|
-
const
|
|
1758
|
-
return
|
|
1759
|
-
e.fileType === "file" ? (
|
|
1760
|
-
(
|
|
1761
|
-
|
|
1746
|
+
return (t, r) => {
|
|
1747
|
+
var f, m;
|
|
1748
|
+
const v = $("el-image");
|
|
1749
|
+
return d(), u("div", null, [
|
|
1750
|
+
e.fileType === "file" ? (d(), u("div", T6, [
|
|
1751
|
+
(d(!0), u(
|
|
1752
|
+
M,
|
|
1762
1753
|
null,
|
|
1763
|
-
|
|
1754
|
+
E(i.value, (p, F) => (d(), u(
|
|
1764
1755
|
"div",
|
|
1765
1756
|
{
|
|
1766
|
-
key:
|
|
1757
|
+
key: F,
|
|
1767
1758
|
class: "files-item",
|
|
1768
|
-
style:
|
|
1759
|
+
style: y({
|
|
1769
1760
|
width: e.fileWidth,
|
|
1770
1761
|
"margin-right": e.fileWidth === "100%" ? "0px" : ""
|
|
1771
1762
|
})
|
|
1772
1763
|
},
|
|
1773
1764
|
[
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
name: a(
|
|
1777
|
-
style:
|
|
1765
|
+
c("div", P6, [
|
|
1766
|
+
_(w(B), {
|
|
1767
|
+
name: a(p),
|
|
1768
|
+
style: y(`color:${h(p)}`),
|
|
1778
1769
|
size: 36
|
|
1779
1770
|
}, null, 8, ["name", "style"]),
|
|
1780
|
-
|
|
1771
|
+
c("div", {
|
|
1781
1772
|
class: "file-name",
|
|
1782
|
-
onClick: (
|
|
1773
|
+
onClick: (N) => g(p)
|
|
1783
1774
|
}, [
|
|
1784
|
-
|
|
1785
|
-
title:
|
|
1786
|
-
},
|
|
1787
|
-
|
|
1775
|
+
c("p", {
|
|
1776
|
+
title: p.name
|
|
1777
|
+
}, V(p.name), 9, j6),
|
|
1778
|
+
c(
|
|
1788
1779
|
"p",
|
|
1789
|
-
|
|
1790
|
-
|
|
1780
|
+
G6,
|
|
1781
|
+
V((p.size / 1024).toFixed(2)) + "KB",
|
|
1791
1782
|
1
|
|
1792
1783
|
/* TEXT */
|
|
1793
1784
|
)
|
|
1794
|
-
], 8,
|
|
1785
|
+
], 8, L6)
|
|
1795
1786
|
]),
|
|
1796
|
-
|
|
1787
|
+
c("div", {
|
|
1797
1788
|
class: "file-preview",
|
|
1798
|
-
onClick: (
|
|
1789
|
+
onClick: (N) => s(p)
|
|
1799
1790
|
}, [
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
], 8,
|
|
1791
|
+
_(w(B), { name: "iksvg_yulan" }),
|
|
1792
|
+
W6
|
|
1793
|
+
], 8, N6)
|
|
1803
1794
|
],
|
|
1804
1795
|
4
|
|
1805
1796
|
/* STYLE */
|
|
@@ -1807,40 +1798,40 @@ const te = {
|
|
|
1807
1798
|
128
|
|
1808
1799
|
/* KEYED_FRAGMENT */
|
|
1809
1800
|
))
|
|
1810
|
-
])) :
|
|
1811
|
-
e.fileType === "img" ? (
|
|
1812
|
-
(
|
|
1813
|
-
|
|
1801
|
+
])) : C("v-if", !0),
|
|
1802
|
+
e.fileType === "img" ? (d(), u("div", K6, [
|
|
1803
|
+
(d(!0), u(
|
|
1804
|
+
M,
|
|
1814
1805
|
null,
|
|
1815
|
-
|
|
1816
|
-
key:
|
|
1806
|
+
E(i.value, (p, F) => (d(), u("div", {
|
|
1807
|
+
key: F,
|
|
1817
1808
|
class: "preview-img"
|
|
1818
1809
|
}, [
|
|
1819
|
-
|
|
1810
|
+
_(v, {
|
|
1820
1811
|
class: "show-img",
|
|
1821
|
-
src:
|
|
1822
|
-
"preview-src-list": [
|
|
1812
|
+
src: o.loadUrl + p.url,
|
|
1813
|
+
"preview-src-list": [o.loadUrl + p.url],
|
|
1823
1814
|
fit: "cover"
|
|
1824
1815
|
}, null, 8, ["src", "preview-src-list"])
|
|
1825
1816
|
]))),
|
|
1826
1817
|
128
|
|
1827
1818
|
/* KEYED_FRAGMENT */
|
|
1828
1819
|
))
|
|
1829
|
-
])) :
|
|
1830
|
-
|
|
1820
|
+
])) : C("v-if", !0),
|
|
1821
|
+
_(w(m6), {
|
|
1831
1822
|
modelValue: l.value,
|
|
1832
|
-
"onUpdate:modelValue":
|
|
1823
|
+
"onUpdate:modelValue": r[0] || (r[0] = (p) => l.value = p),
|
|
1833
1824
|
"load-url": e.loadUrl,
|
|
1834
|
-
url: (
|
|
1835
|
-
"kk-url":
|
|
1836
|
-
"file-name": (
|
|
1825
|
+
url: (f = n.value) == null ? void 0 : f.url,
|
|
1826
|
+
"kk-url": o.kkUrl,
|
|
1827
|
+
"file-name": (m = n.value) == null ? void 0 : m.name
|
|
1837
1828
|
}, null, 8, ["modelValue", "load-url", "url", "kk-url", "file-name"])
|
|
1838
1829
|
]);
|
|
1839
1830
|
};
|
|
1840
1831
|
}
|
|
1841
1832
|
});
|
|
1842
|
-
const
|
|
1833
|
+
const Y6 = /* @__PURE__ */ A(X6, [["__scopeId", "data-v-170abcfc"]]), Q6 = D(Y6);
|
|
1843
1834
|
export {
|
|
1844
|
-
|
|
1845
|
-
|
|
1835
|
+
Q6 as IKDetailPreviewFiles,
|
|
1836
|
+
Q6 as default
|
|
1846
1837
|
};
|