iking-web-ui-pro 0.1.90 → 0.1.92
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 +995 -336
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKDetailPreviewFiles/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +935 -276
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKPreviewFileDialog/ik.index.es.js +103 -97
- package/dist/IKPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +1186 -528
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +978 -319
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +110 -104
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/index.es.js +5802 -5795
- package/dist/index.umd.js +50 -50
- package/package.json +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { paramType as
|
|
3
|
-
const
|
|
4
|
-
if (
|
|
5
|
-
for (const
|
|
6
|
-
|
|
1
|
+
import { defineComponent as k, computed as C, openBlock as c, createElementBlock as u, createElementVNode as r, ref as z, Fragment as D, renderList as H, normalizeClass as F, normalizeStyle as _, createVNode as y, toDisplayString as V, unref as w, withModifiers as W, renderSlot as $, createCommentVNode as x, mergeModels as P, useModel as L, reactive as K, watch as j, nextTick as X, resolveComponent as M, createBlock as I, withCtx as S, createTextVNode as O, h as Y, mergeProps as Z, createSlots as J, pushScopeId as Q, popScopeId as e3 } from "vue";
|
|
2
|
+
import { paramType as t3, ikFile as n3, buildUUID as o3, ikColor as i3, ikUrl as s3 } from "iking-utils-pro";
|
|
3
|
+
const R = (n, e) => {
|
|
4
|
+
if (n.install = (i) => {
|
|
5
|
+
for (const l of [n, ...Object.values(e ?? {})])
|
|
6
|
+
i.component(l.name, l);
|
|
7
7
|
}, e)
|
|
8
|
-
for (const [
|
|
9
|
-
i
|
|
8
|
+
for (const [i, l] of Object.entries(e))
|
|
9
|
+
n[i] = l;
|
|
10
|
+
return n;
|
|
11
|
+
}, E = (n, e) => {
|
|
12
|
+
const i = n.__vccOpts || n;
|
|
13
|
+
for (const [l, o] of e)
|
|
14
|
+
i[l] = o;
|
|
10
15
|
return i;
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
for (const [a, l] of e)
|
|
14
|
-
s[a] = l;
|
|
15
|
-
return s;
|
|
16
|
-
}, Y = (i, e = 2) => {
|
|
17
|
-
if (i === void 0)
|
|
16
|
+
}, l3 = (n, e = 2) => {
|
|
17
|
+
if (n === void 0)
|
|
18
18
|
return "";
|
|
19
|
-
if (
|
|
19
|
+
if (n === 0)
|
|
20
20
|
return "0 B";
|
|
21
|
-
const
|
|
22
|
-
let
|
|
23
|
-
return (
|
|
24
|
-
},
|
|
25
|
-
const
|
|
26
|
-
var
|
|
27
|
-
const
|
|
21
|
+
const i = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(n) / Math.log(1024));
|
|
22
|
+
let o = n / Math.pow(1024, l);
|
|
23
|
+
return (o % 1 === 0 ? o.toFixed(e || 0) : o.toFixed(e)) + " " + i[l];
|
|
24
|
+
}, q = (n, e) => e ? e.startsWith("http") ? e : `${n || location.origin}${e}` : "";
|
|
25
|
+
const G = (n, e) => {
|
|
26
|
+
var s, a, h, g;
|
|
27
|
+
const i = (s = n == null ? void 0 : n.response) != null && s.data ? U((h = (a = n == null ? void 0 : n.response) == null ? void 0 : a.data) == null ? void 0 : h.suffix) : ((g = n.raw) == null ? void 0 : g.type) || U(n[e.suffix]), l = i == null ? void 0 : i.toLowerCase(), o = {
|
|
28
28
|
sheet: "excel",
|
|
29
29
|
excel: "excel",
|
|
30
30
|
zip: "zip",
|
|
@@ -40,11 +40,11 @@ const Z = (i, e) => {
|
|
|
40
40
|
exe: "exe",
|
|
41
41
|
json: "json"
|
|
42
42
|
};
|
|
43
|
-
for (let t in
|
|
44
|
-
if (typeof
|
|
45
|
-
return
|
|
43
|
+
for (let t in o)
|
|
44
|
+
if (typeof l == "string" && (l.includes(t) || l === t))
|
|
45
|
+
return o[t];
|
|
46
46
|
return "unknown";
|
|
47
|
-
},
|
|
47
|
+
}, a3 = {
|
|
48
48
|
".doc": "word",
|
|
49
49
|
".docx": "word",
|
|
50
50
|
".docxf": "word",
|
|
@@ -129,10 +129,13 @@ const Z = (i, e) => {
|
|
|
129
129
|
".vob": "video",
|
|
130
130
|
".txt": "txt",
|
|
131
131
|
".pdf": "pdf"
|
|
132
|
-
},
|
|
133
|
-
const e =
|
|
134
|
-
return
|
|
135
|
-
},
|
|
132
|
+
}, U = (n) => {
|
|
133
|
+
const e = n == null ? void 0 : n.toLocaleLowerCase(), i = e != null && e.startsWith(".") ? e : `.${e}`;
|
|
134
|
+
return i && a3[i] || "unknow";
|
|
135
|
+
}, r3 = (n) => {
|
|
136
|
+
let e = "", i = ["doc", "docx"], l = ["xls", "xlsx"], o = ["ppt", "pptx"], s = ["pdf"];
|
|
137
|
+
return i.includes(n) && (e = "word"), l.includes(n) && (e = "cell"), o.includes(n) && (e = "slide"), s.includes(n) && (e = "text-pdf"), e;
|
|
138
|
+
}, c3 = {
|
|
136
139
|
key: 0,
|
|
137
140
|
t: "1686300059786",
|
|
138
141
|
class: "icon",
|
|
@@ -142,7 +145,7 @@ const Z = (i, e) => {
|
|
|
142
145
|
"p-id": "7671",
|
|
143
146
|
width: "200",
|
|
144
147
|
height: "200"
|
|
145
|
-
},
|
|
148
|
+
}, d3 = /* @__PURE__ */ r(
|
|
146
149
|
"path",
|
|
147
150
|
{
|
|
148
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",
|
|
@@ -152,7 +155,7 @@ const Z = (i, e) => {
|
|
|
152
155
|
null,
|
|
153
156
|
-1
|
|
154
157
|
/* HOISTED */
|
|
155
|
-
),
|
|
158
|
+
), u3 = /* @__PURE__ */ r(
|
|
156
159
|
"path",
|
|
157
160
|
{
|
|
158
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",
|
|
@@ -162,7 +165,7 @@ const Z = (i, e) => {
|
|
|
162
165
|
null,
|
|
163
166
|
-1
|
|
164
167
|
/* HOISTED */
|
|
165
|
-
),
|
|
168
|
+
), p3 = /* @__PURE__ */ r(
|
|
166
169
|
"path",
|
|
167
170
|
{
|
|
168
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",
|
|
@@ -172,7 +175,7 @@ const Z = (i, e) => {
|
|
|
172
175
|
null,
|
|
173
176
|
-1
|
|
174
177
|
/* HOISTED */
|
|
175
|
-
),
|
|
178
|
+
), f3 = /* @__PURE__ */ r(
|
|
176
179
|
"path",
|
|
177
180
|
{
|
|
178
181
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -182,12 +185,12 @@ const Z = (i, e) => {
|
|
|
182
185
|
null,
|
|
183
186
|
-1
|
|
184
187
|
/* HOISTED */
|
|
185
|
-
),
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
],
|
|
188
|
+
), h3 = [
|
|
189
|
+
d3,
|
|
190
|
+
u3,
|
|
191
|
+
p3,
|
|
192
|
+
f3
|
|
193
|
+
], v3 = {
|
|
191
194
|
key: 1,
|
|
192
195
|
t: "1686301531714",
|
|
193
196
|
class: "icon",
|
|
@@ -197,7 +200,7 @@ const Z = (i, e) => {
|
|
|
197
200
|
"p-id": "9067",
|
|
198
201
|
width: "200",
|
|
199
202
|
height: "200"
|
|
200
|
-
},
|
|
203
|
+
}, g3 = /* @__PURE__ */ r(
|
|
201
204
|
"path",
|
|
202
205
|
{
|
|
203
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",
|
|
@@ -207,7 +210,7 @@ const Z = (i, e) => {
|
|
|
207
210
|
null,
|
|
208
211
|
-1
|
|
209
212
|
/* HOISTED */
|
|
210
|
-
),
|
|
213
|
+
), m3 = /* @__PURE__ */ r(
|
|
211
214
|
"path",
|
|
212
215
|
{
|
|
213
216
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -217,10 +220,10 @@ const Z = (i, e) => {
|
|
|
217
220
|
null,
|
|
218
221
|
-1
|
|
219
222
|
/* HOISTED */
|
|
220
|
-
),
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
],
|
|
223
|
+
), w3 = [
|
|
224
|
+
g3,
|
|
225
|
+
m3
|
|
226
|
+
], y3 = {
|
|
224
227
|
key: 2,
|
|
225
228
|
t: "1686300141125",
|
|
226
229
|
class: "icon",
|
|
@@ -230,7 +233,7 @@ const Z = (i, e) => {
|
|
|
230
233
|
"p-id": "8137",
|
|
231
234
|
width: "200",
|
|
232
235
|
height: "200"
|
|
233
|
-
},
|
|
236
|
+
}, _3 = /* @__PURE__ */ r(
|
|
234
237
|
"path",
|
|
235
238
|
{
|
|
236
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",
|
|
@@ -240,7 +243,7 @@ const Z = (i, e) => {
|
|
|
240
243
|
null,
|
|
241
244
|
-1
|
|
242
245
|
/* HOISTED */
|
|
243
|
-
),
|
|
246
|
+
), k3 = /* @__PURE__ */ r(
|
|
244
247
|
"path",
|
|
245
248
|
{
|
|
246
249
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -250,10 +253,10 @@ const Z = (i, e) => {
|
|
|
250
253
|
null,
|
|
251
254
|
-1
|
|
252
255
|
/* HOISTED */
|
|
253
|
-
),
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
],
|
|
256
|
+
), z3 = [
|
|
257
|
+
_3,
|
|
258
|
+
k3
|
|
259
|
+
], F3 = {
|
|
257
260
|
key: 3,
|
|
258
261
|
t: "1686300157181",
|
|
259
262
|
class: "icon",
|
|
@@ -263,7 +266,7 @@ const Z = (i, e) => {
|
|
|
263
266
|
"p-id": "8292",
|
|
264
267
|
width: "200",
|
|
265
268
|
height: "200"
|
|
266
|
-
},
|
|
269
|
+
}, x3 = /* @__PURE__ */ r(
|
|
267
270
|
"path",
|
|
268
271
|
{
|
|
269
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",
|
|
@@ -273,7 +276,7 @@ const Z = (i, e) => {
|
|
|
273
276
|
null,
|
|
274
277
|
-1
|
|
275
278
|
/* HOISTED */
|
|
276
|
-
),
|
|
279
|
+
), b3 = /* @__PURE__ */ r(
|
|
277
280
|
"path",
|
|
278
281
|
{
|
|
279
282
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -283,10 +286,10 @@ const Z = (i, e) => {
|
|
|
283
286
|
null,
|
|
284
287
|
-1
|
|
285
288
|
/* HOISTED */
|
|
286
|
-
),
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
],
|
|
289
|
+
), S3 = [
|
|
290
|
+
x3,
|
|
291
|
+
b3
|
|
292
|
+
], C3 = {
|
|
290
293
|
key: 4,
|
|
291
294
|
t: "1686300180947",
|
|
292
295
|
class: "icon",
|
|
@@ -296,7 +299,7 @@ const Z = (i, e) => {
|
|
|
296
299
|
"p-id": "8447",
|
|
297
300
|
width: "200",
|
|
298
301
|
height: "200"
|
|
299
|
-
},
|
|
302
|
+
}, V3 = /* @__PURE__ */ r(
|
|
300
303
|
"path",
|
|
301
304
|
{
|
|
302
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",
|
|
@@ -306,7 +309,7 @@ const Z = (i, e) => {
|
|
|
306
309
|
null,
|
|
307
310
|
-1
|
|
308
311
|
/* HOISTED */
|
|
309
|
-
),
|
|
312
|
+
), B3 = /* @__PURE__ */ r(
|
|
310
313
|
"path",
|
|
311
314
|
{
|
|
312
315
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -316,10 +319,10 @@ const Z = (i, e) => {
|
|
|
316
319
|
null,
|
|
317
320
|
-1
|
|
318
321
|
/* HOISTED */
|
|
319
|
-
),
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
],
|
|
322
|
+
), I3 = [
|
|
323
|
+
V3,
|
|
324
|
+
B3
|
|
325
|
+
], R3 = {
|
|
323
326
|
key: 5,
|
|
324
327
|
t: "1686300195363",
|
|
325
328
|
class: "icon",
|
|
@@ -329,7 +332,7 @@ const Z = (i, e) => {
|
|
|
329
332
|
"p-id": "8602",
|
|
330
333
|
width: "200",
|
|
331
334
|
height: "200"
|
|
332
|
-
},
|
|
335
|
+
}, $3 = /* @__PURE__ */ r(
|
|
333
336
|
"path",
|
|
334
337
|
{
|
|
335
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",
|
|
@@ -339,7 +342,7 @@ const Z = (i, e) => {
|
|
|
339
342
|
null,
|
|
340
343
|
-1
|
|
341
344
|
/* HOISTED */
|
|
342
|
-
),
|
|
345
|
+
), D3 = /* @__PURE__ */ r(
|
|
343
346
|
"path",
|
|
344
347
|
{
|
|
345
348
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -349,10 +352,10 @@ const Z = (i, e) => {
|
|
|
349
352
|
null,
|
|
350
353
|
-1
|
|
351
354
|
/* HOISTED */
|
|
352
|
-
),
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
],
|
|
355
|
+
), M3 = [
|
|
356
|
+
$3,
|
|
357
|
+
D3
|
|
358
|
+
], q3 = {
|
|
356
359
|
key: 6,
|
|
357
360
|
t: "1686300209288",
|
|
358
361
|
class: "icon",
|
|
@@ -362,7 +365,7 @@ const Z = (i, e) => {
|
|
|
362
365
|
"p-id": "8757",
|
|
363
366
|
width: "200",
|
|
364
367
|
height: "200"
|
|
365
|
-
},
|
|
368
|
+
}, E3 = /* @__PURE__ */ r(
|
|
366
369
|
"path",
|
|
367
370
|
{
|
|
368
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",
|
|
@@ -372,7 +375,7 @@ const Z = (i, e) => {
|
|
|
372
375
|
null,
|
|
373
376
|
-1
|
|
374
377
|
/* HOISTED */
|
|
375
|
-
),
|
|
378
|
+
), H3 = /* @__PURE__ */ r(
|
|
376
379
|
"path",
|
|
377
380
|
{
|
|
378
381
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -382,10 +385,10 @@ const Z = (i, e) => {
|
|
|
382
385
|
null,
|
|
383
386
|
-1
|
|
384
387
|
/* HOISTED */
|
|
385
|
-
),
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
],
|
|
388
|
+
), O3 = [
|
|
389
|
+
E3,
|
|
390
|
+
H3
|
|
391
|
+
], A3 = {
|
|
389
392
|
key: 7,
|
|
390
393
|
t: "1686300225262",
|
|
391
394
|
class: "icon",
|
|
@@ -395,7 +398,7 @@ const Z = (i, e) => {
|
|
|
395
398
|
"p-id": "8912",
|
|
396
399
|
width: "200",
|
|
397
400
|
height: "200"
|
|
398
|
-
},
|
|
401
|
+
}, U3 = /* @__PURE__ */ r(
|
|
399
402
|
"path",
|
|
400
403
|
{
|
|
401
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",
|
|
@@ -405,7 +408,7 @@ const Z = (i, e) => {
|
|
|
405
408
|
null,
|
|
406
409
|
-1
|
|
407
410
|
/* HOISTED */
|
|
408
|
-
),
|
|
411
|
+
), T3 = /* @__PURE__ */ r(
|
|
409
412
|
"path",
|
|
410
413
|
{
|
|
411
414
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -415,10 +418,10 @@ const Z = (i, e) => {
|
|
|
415
418
|
null,
|
|
416
419
|
-1
|
|
417
420
|
/* HOISTED */
|
|
418
|
-
),
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
],
|
|
421
|
+
), P3 = [
|
|
422
|
+
U3,
|
|
423
|
+
T3
|
|
424
|
+
], L3 = {
|
|
422
425
|
key: 8,
|
|
423
426
|
t: "1692251753690",
|
|
424
427
|
class: "icon",
|
|
@@ -428,7 +431,7 @@ const Z = (i, e) => {
|
|
|
428
431
|
"p-id": "4336",
|
|
429
432
|
width: "200",
|
|
430
433
|
height: "200"
|
|
431
|
-
},
|
|
434
|
+
}, j3 = /* @__PURE__ */ r(
|
|
432
435
|
"path",
|
|
433
436
|
{
|
|
434
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",
|
|
@@ -438,7 +441,7 @@ const Z = (i, e) => {
|
|
|
438
441
|
null,
|
|
439
442
|
-1
|
|
440
443
|
/* HOISTED */
|
|
441
|
-
),
|
|
444
|
+
), G3 = /* @__PURE__ */ r(
|
|
442
445
|
"path",
|
|
443
446
|
{
|
|
444
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",
|
|
@@ -449,7 +452,7 @@ const Z = (i, e) => {
|
|
|
449
452
|
null,
|
|
450
453
|
-1
|
|
451
454
|
/* HOISTED */
|
|
452
|
-
),
|
|
455
|
+
), N3 = /* @__PURE__ */ r(
|
|
453
456
|
"path",
|
|
454
457
|
{
|
|
455
458
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -459,11 +462,11 @@ const Z = (i, e) => {
|
|
|
459
462
|
null,
|
|
460
463
|
-1
|
|
461
464
|
/* HOISTED */
|
|
462
|
-
),
|
|
463
|
-
I3,
|
|
465
|
+
), W3 = [
|
|
464
466
|
j3,
|
|
465
|
-
|
|
466
|
-
|
|
467
|
+
G3,
|
|
468
|
+
N3
|
|
469
|
+
], K3 = {
|
|
467
470
|
key: 9,
|
|
468
471
|
t: "1692251753690",
|
|
469
472
|
class: "icon",
|
|
@@ -473,7 +476,7 @@ const Z = (i, e) => {
|
|
|
473
476
|
"p-id": "4336",
|
|
474
477
|
width: "200",
|
|
475
478
|
height: "200"
|
|
476
|
-
},
|
|
479
|
+
}, X3 = /* @__PURE__ */ r(
|
|
477
480
|
"path",
|
|
478
481
|
{
|
|
479
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",
|
|
@@ -483,7 +486,7 @@ const Z = (i, e) => {
|
|
|
483
486
|
null,
|
|
484
487
|
-1
|
|
485
488
|
/* HOISTED */
|
|
486
|
-
),
|
|
489
|
+
), Y3 = /* @__PURE__ */ r(
|
|
487
490
|
"path",
|
|
488
491
|
{
|
|
489
492
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -493,7 +496,7 @@ const Z = (i, e) => {
|
|
|
493
496
|
null,
|
|
494
497
|
-1
|
|
495
498
|
/* HOISTED */
|
|
496
|
-
),
|
|
499
|
+
), Z3 = /* @__PURE__ */ r(
|
|
497
500
|
"path",
|
|
498
501
|
{
|
|
499
502
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -504,7 +507,7 @@ const Z = (i, e) => {
|
|
|
504
507
|
null,
|
|
505
508
|
-1
|
|
506
509
|
/* HOISTED */
|
|
507
|
-
),
|
|
510
|
+
), J3 = /* @__PURE__ */ r(
|
|
508
511
|
"path",
|
|
509
512
|
{
|
|
510
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",
|
|
@@ -514,12 +517,12 @@ const Z = (i, e) => {
|
|
|
514
517
|
null,
|
|
515
518
|
-1
|
|
516
519
|
/* HOISTED */
|
|
517
|
-
),
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
],
|
|
520
|
+
), Q3 = [
|
|
521
|
+
X3,
|
|
522
|
+
Y3,
|
|
523
|
+
Z3,
|
|
524
|
+
J3
|
|
525
|
+
], e6 = {
|
|
523
526
|
key: 10,
|
|
524
527
|
t: "1714099890925",
|
|
525
528
|
class: "icon",
|
|
@@ -529,7 +532,7 @@ const Z = (i, e) => {
|
|
|
529
532
|
"p-id": "2271",
|
|
530
533
|
width: "200",
|
|
531
534
|
height: "200"
|
|
532
|
-
},
|
|
535
|
+
}, t6 = /* @__PURE__ */ r(
|
|
533
536
|
"path",
|
|
534
537
|
{
|
|
535
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",
|
|
@@ -539,7 +542,7 @@ const Z = (i, e) => {
|
|
|
539
542
|
null,
|
|
540
543
|
-1
|
|
541
544
|
/* HOISTED */
|
|
542
|
-
),
|
|
545
|
+
), n6 = /* @__PURE__ */ r(
|
|
543
546
|
"path",
|
|
544
547
|
{
|
|
545
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",
|
|
@@ -550,7 +553,7 @@ const Z = (i, e) => {
|
|
|
550
553
|
null,
|
|
551
554
|
-1
|
|
552
555
|
/* HOISTED */
|
|
553
|
-
),
|
|
556
|
+
), o6 = /* @__PURE__ */ r(
|
|
554
557
|
"path",
|
|
555
558
|
{
|
|
556
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",
|
|
@@ -560,11 +563,11 @@ const Z = (i, e) => {
|
|
|
560
563
|
null,
|
|
561
564
|
-1
|
|
562
565
|
/* HOISTED */
|
|
563
|
-
),
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
],
|
|
566
|
+
), i6 = [
|
|
567
|
+
t6,
|
|
568
|
+
n6,
|
|
569
|
+
o6
|
|
570
|
+
], s6 = {
|
|
568
571
|
key: 11,
|
|
569
572
|
t: "1686300037564",
|
|
570
573
|
class: "icon",
|
|
@@ -574,7 +577,7 @@ const Z = (i, e) => {
|
|
|
574
577
|
"p-id": "7515",
|
|
575
578
|
width: "200",
|
|
576
579
|
height: "200"
|
|
577
|
-
},
|
|
580
|
+
}, l6 = /* @__PURE__ */ r(
|
|
578
581
|
"path",
|
|
579
582
|
{
|
|
580
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",
|
|
@@ -584,7 +587,7 @@ const Z = (i, e) => {
|
|
|
584
587
|
null,
|
|
585
588
|
-1
|
|
586
589
|
/* HOISTED */
|
|
587
|
-
),
|
|
590
|
+
), a6 = /* @__PURE__ */ r(
|
|
588
591
|
"path",
|
|
589
592
|
{
|
|
590
593
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -594,7 +597,7 @@ const Z = (i, e) => {
|
|
|
594
597
|
null,
|
|
595
598
|
-1
|
|
596
599
|
/* HOISTED */
|
|
597
|
-
),
|
|
600
|
+
), r6 = /* @__PURE__ */ r(
|
|
598
601
|
"path",
|
|
599
602
|
{
|
|
600
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",
|
|
@@ -604,11 +607,11 @@ const Z = (i, e) => {
|
|
|
604
607
|
null,
|
|
605
608
|
-1
|
|
606
609
|
/* HOISTED */
|
|
607
|
-
),
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
],
|
|
610
|
+
), c6 = [
|
|
611
|
+
l6,
|
|
612
|
+
a6,
|
|
613
|
+
r6
|
|
614
|
+
], d6 = /* @__PURE__ */ k({
|
|
612
615
|
__name: "FileIcon",
|
|
613
616
|
props: {
|
|
614
617
|
type: {
|
|
@@ -628,11 +631,11 @@ const Z = (i, e) => {
|
|
|
628
631
|
})
|
|
629
632
|
}
|
|
630
633
|
},
|
|
631
|
-
setup(
|
|
632
|
-
const e =
|
|
633
|
-
return (
|
|
634
|
+
setup(n) {
|
|
635
|
+
const e = n, i = C(() => e.file ? G(e.file, e.fields) : e.type);
|
|
636
|
+
return (l, o) => i.value === "image" ? (c(), u("svg", c3, h3)) : i.value === "zip" ? (c(), u("svg", v3, w3)) : i.value === "ppt" ? (c(), u("svg", y3, z3)) : i.value === "word" ? (c(), u("svg", F3, S3)) : i.value === "pdf" ? (c(), u("svg", C3, I3)) : i.value === "txt" ? (c(), u("svg", R3, M3)) : i.value === "audio" ? (c(), u("svg", q3, O3)) : i.value === "video" ? (c(), u("svg", A3, P3)) : i.value === "excel" ? (c(), u("svg", L3, W3)) : i.value === "exe" ? (c(), u("svg", K3, Q3)) : i.value === "json" ? (c(), u("svg", e6, i6)) : (c(), u("svg", s6, c6));
|
|
634
637
|
}
|
|
635
|
-
}),
|
|
638
|
+
}), u6 = ["onClick"], p6 = { class: "text" }, f6 = { class: "fileName" }, h6 = { class: "size" }, v6 = /* @__PURE__ */ k({
|
|
636
639
|
__name: "IkPreviewFile",
|
|
637
640
|
props: {
|
|
638
641
|
list: {
|
|
@@ -701,110 +704,110 @@ const Z = (i, e) => {
|
|
|
701
704
|
default: ""
|
|
702
705
|
}
|
|
703
706
|
},
|
|
704
|
-
setup(
|
|
705
|
-
const e =
|
|
707
|
+
setup(n) {
|
|
708
|
+
const e = n, i = C(() => ({
|
|
706
709
|
name: "name",
|
|
707
710
|
url: "url",
|
|
708
711
|
suffix: "suffix",
|
|
709
712
|
size: "size",
|
|
710
713
|
...e.field
|
|
711
|
-
})),
|
|
712
|
-
var
|
|
713
|
-
|
|
714
|
+
})), l = z(null), o = z(!1), s = (t) => {
|
|
715
|
+
var d, v;
|
|
716
|
+
l.value = {
|
|
714
717
|
...t,
|
|
715
718
|
name: t.name,
|
|
716
|
-
url:
|
|
719
|
+
url: q(
|
|
717
720
|
e.loadUrl,
|
|
718
|
-
t.url || ((
|
|
721
|
+
t.url || ((v = (d = t == null ? void 0 : t.response) == null ? void 0 : d.data) == null ? void 0 : v.id) || (t == null ? void 0 : t.id)
|
|
719
722
|
)
|
|
720
|
-
}, console.log("fileData.value",
|
|
721
|
-
},
|
|
722
|
-
|
|
723
|
-
|
|
723
|
+
}, console.log("fileData.value", l.value), o.value = !0;
|
|
724
|
+
}, a = (t) => {
|
|
725
|
+
n3.downloadFile(
|
|
726
|
+
q(
|
|
724
727
|
e.loadUrl,
|
|
725
|
-
t[
|
|
728
|
+
t[i.value.url] || t.attachmentId || t.id
|
|
726
729
|
),
|
|
727
|
-
t[
|
|
730
|
+
t[i.value.name] || t.attachmentName
|
|
728
731
|
);
|
|
729
|
-
},
|
|
732
|
+
}, h = C(() => t3.isNumber(e.width) ? `${e.width}px` : e.width), g = C(() => e.list.map((t) => ({
|
|
730
733
|
...t,
|
|
731
|
-
name: t[
|
|
732
|
-
size: t[
|
|
733
|
-
suffix: t[
|
|
734
|
+
name: t[i.value.name] || t.attachmentName,
|
|
735
|
+
size: t[i.value.size] || t.fileSize || t.attachmentSize,
|
|
736
|
+
suffix: t[i.value.suffix] || t.attachmentSuffix
|
|
734
737
|
})));
|
|
735
|
-
return (t,
|
|
736
|
-
var
|
|
737
|
-
return
|
|
738
|
-
|
|
738
|
+
return (t, d) => {
|
|
739
|
+
var v;
|
|
740
|
+
return c(), u(
|
|
741
|
+
D,
|
|
739
742
|
null,
|
|
740
743
|
[
|
|
741
|
-
(
|
|
742
|
-
|
|
744
|
+
(v = n.list) != null && v.length ? (c(!0), u(
|
|
745
|
+
D,
|
|
743
746
|
{ key: 0 },
|
|
744
|
-
|
|
745
|
-
var
|
|
746
|
-
return
|
|
747
|
+
H(g.value, (p, m) => {
|
|
748
|
+
var f;
|
|
749
|
+
return c(), u(
|
|
747
750
|
"div",
|
|
748
751
|
{
|
|
749
|
-
class:
|
|
750
|
-
key:
|
|
751
|
-
style:
|
|
752
|
-
marginBottom:
|
|
753
|
-
width:
|
|
752
|
+
class: F(["iking-privew-annex", { "is-bg": n.showBg }]),
|
|
753
|
+
key: m,
|
|
754
|
+
style: _({
|
|
755
|
+
marginBottom: m == ((f = n.list) == null ? void 0 : f.length) - 1 ? "0" : "10px",
|
|
756
|
+
width: h.value
|
|
754
757
|
})
|
|
755
758
|
},
|
|
756
759
|
[
|
|
757
|
-
|
|
760
|
+
r("div", {
|
|
758
761
|
class: "file-card",
|
|
759
|
-
onClick: (
|
|
762
|
+
onClick: (b) => s(p)
|
|
760
763
|
}, [
|
|
761
|
-
y(
|
|
762
|
-
file:
|
|
763
|
-
style:
|
|
764
|
+
y(d6, {
|
|
765
|
+
file: p,
|
|
766
|
+
style: _({ height: `${n.iconSize}px` }),
|
|
764
767
|
class: "ikui-w-auto",
|
|
765
|
-
fields:
|
|
768
|
+
fields: i.value
|
|
766
769
|
}, null, 8, ["file", "style", "fields"]),
|
|
767
|
-
|
|
768
|
-
|
|
770
|
+
r("div", p6, [
|
|
771
|
+
r(
|
|
769
772
|
"div",
|
|
770
|
-
|
|
771
|
-
|
|
773
|
+
f6,
|
|
774
|
+
V(p.name),
|
|
772
775
|
1
|
|
773
776
|
/* TEXT */
|
|
774
777
|
),
|
|
775
|
-
|
|
778
|
+
r(
|
|
776
779
|
"div",
|
|
777
|
-
|
|
778
|
-
|
|
780
|
+
h6,
|
|
781
|
+
V(w(l3)(p.size)),
|
|
779
782
|
1
|
|
780
783
|
/* TEXT */
|
|
781
784
|
)
|
|
782
785
|
]),
|
|
783
|
-
|
|
786
|
+
r(
|
|
784
787
|
"div",
|
|
785
788
|
{
|
|
786
|
-
class:
|
|
789
|
+
class: F(["flex flex-center", { "hover-show": n.iconHoverShow }])
|
|
787
790
|
},
|
|
788
791
|
[
|
|
789
|
-
y(
|
|
792
|
+
y(w(B), {
|
|
790
793
|
name: "iksvg_daochu",
|
|
791
|
-
onClick:
|
|
792
|
-
bg:
|
|
793
|
-
size:
|
|
794
|
+
onClick: W((b) => a(p), ["stop"]),
|
|
795
|
+
bg: n.showBg,
|
|
796
|
+
size: n.showBg ? "default" : 20
|
|
794
797
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
795
|
-
y(
|
|
798
|
+
y(w(B), {
|
|
796
799
|
name: "iksvg_yulan",
|
|
797
|
-
bg:
|
|
798
|
-
size:
|
|
800
|
+
bg: n.showBg,
|
|
801
|
+
size: n.showBg ? "default" : 20
|
|
799
802
|
}, null, 8, ["bg", "size"]),
|
|
800
|
-
|
|
801
|
-
data: { ...
|
|
803
|
+
$(t.$slots, "operation", {
|
|
804
|
+
data: { ...p, findex: m }
|
|
802
805
|
})
|
|
803
806
|
],
|
|
804
807
|
2
|
|
805
808
|
/* CLASS */
|
|
806
809
|
)
|
|
807
|
-
], 8,
|
|
810
|
+
], 8, u6)
|
|
808
811
|
],
|
|
809
812
|
6
|
|
810
813
|
/* CLASS, STYLE */
|
|
@@ -812,34 +815,173 @@ const Z = (i, e) => {
|
|
|
812
815
|
}),
|
|
813
816
|
128
|
|
814
817
|
/* KEYED_FRAGMENT */
|
|
815
|
-
)) :
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
818
|
+
)) : x("v-if", !0),
|
|
819
|
+
y(w(w6), {
|
|
820
|
+
show: o.value,
|
|
821
|
+
"onUpdate:show": d[0] || (d[0] = (p) => o.value = p),
|
|
822
|
+
loadUrl: n.loadUrl,
|
|
823
|
+
file: l.value,
|
|
824
|
+
onlyofficeServer: n.onlyofficeServer,
|
|
825
|
+
onlyOfficeConfig: n.onlyOfficeConfig,
|
|
826
|
+
onlyOfficeAccept: n.onlyOfficeAccept
|
|
827
|
+
}, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
|
|
824
828
|
],
|
|
825
|
-
|
|
826
|
-
/* STABLE_FRAGMENT
|
|
829
|
+
64
|
|
830
|
+
/* STABLE_FRAGMENT */
|
|
827
831
|
);
|
|
828
832
|
};
|
|
829
833
|
}
|
|
830
834
|
});
|
|
831
|
-
const
|
|
835
|
+
const g6 = R(v6), m6 = /* @__PURE__ */ k({
|
|
836
|
+
__name: "IkPreviewFileDialog",
|
|
837
|
+
props: /* @__PURE__ */ P({
|
|
838
|
+
file: {
|
|
839
|
+
type: Object,
|
|
840
|
+
default: () => []
|
|
841
|
+
},
|
|
842
|
+
// url为文件全路径(以http开头)时,不需要传递
|
|
843
|
+
loadUrl: {
|
|
844
|
+
type: String,
|
|
845
|
+
default: ""
|
|
846
|
+
},
|
|
847
|
+
// 需要onlyoffice预览的文件类型
|
|
848
|
+
onlyOfficeAccept: {
|
|
849
|
+
type: String,
|
|
850
|
+
default: ".pdf,.docx,.doc.ppt,.pptx,.xlsx,.xls,"
|
|
851
|
+
},
|
|
852
|
+
// onlyoffice服务地址
|
|
853
|
+
onlyofficeServer: {
|
|
854
|
+
type: String,
|
|
855
|
+
default: ""
|
|
856
|
+
},
|
|
857
|
+
// onlyoffice公共配置
|
|
858
|
+
onlyOfficeConfig: {
|
|
859
|
+
type: Object,
|
|
860
|
+
default: () => ({})
|
|
861
|
+
},
|
|
862
|
+
field: {
|
|
863
|
+
type: Object,
|
|
864
|
+
default: () => ({})
|
|
865
|
+
}
|
|
866
|
+
}, {
|
|
867
|
+
show: { default: !1 },
|
|
868
|
+
showModifiers: {}
|
|
869
|
+
}),
|
|
870
|
+
emits: ["update:show"],
|
|
871
|
+
setup(n) {
|
|
872
|
+
const e = n, i = L(n, "show"), l = C(() => ({
|
|
873
|
+
name: "name",
|
|
874
|
+
url: "url",
|
|
875
|
+
suffix: "suffix",
|
|
876
|
+
size: "fileSize",
|
|
877
|
+
...e.field
|
|
878
|
+
})), o = z(null), s = z(null), a = K({
|
|
879
|
+
image: !1,
|
|
880
|
+
office: !1,
|
|
881
|
+
video: !1
|
|
882
|
+
}), h = (t) => {
|
|
883
|
+
var d, v;
|
|
884
|
+
try {
|
|
885
|
+
const p = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || t, m = p[l.value.url] || (p == null ? void 0 : p.id) || p.attachmentId, f = (v = p[l.value.suffix] || p.attachmentSuffix) == null ? void 0 : v.toLowerCase(), b = p[l.value.name] || (p == null ? void 0 : p.attachmentName);
|
|
886
|
+
if (s.value = {
|
|
887
|
+
...t,
|
|
888
|
+
name: t[l.value.name],
|
|
889
|
+
url: q(e.loadUrl, m)
|
|
890
|
+
}, t && G(t, l.value) === "image") {
|
|
891
|
+
a.image = !0;
|
|
892
|
+
return;
|
|
893
|
+
} else if (e.onlyOfficeAccept.includes(f)) {
|
|
894
|
+
a.office = !0, o.value = {
|
|
895
|
+
documentType: r3(f),
|
|
896
|
+
document: {
|
|
897
|
+
key: o3(),
|
|
898
|
+
title: b,
|
|
899
|
+
url: q(e.loadUrl, m),
|
|
900
|
+
fileType: f
|
|
901
|
+
},
|
|
902
|
+
editorConfig: {
|
|
903
|
+
customization: {
|
|
904
|
+
review: {
|
|
905
|
+
reviewDisplay: "final"
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
...e.onlyOfficeConfig
|
|
910
|
+
};
|
|
911
|
+
return;
|
|
912
|
+
}
|
|
913
|
+
} catch (p) {
|
|
914
|
+
console.info("预览错误: ", p);
|
|
915
|
+
}
|
|
916
|
+
};
|
|
917
|
+
j([i, e.file], ([t, d]) => {
|
|
918
|
+
t && X(() => {
|
|
919
|
+
h(e.file);
|
|
920
|
+
});
|
|
921
|
+
});
|
|
922
|
+
const g = () => {
|
|
923
|
+
i.value = !1, a.office = !1, a.image = !1, a.video = !1;
|
|
924
|
+
};
|
|
925
|
+
return (t, d) => {
|
|
926
|
+
var p, m;
|
|
927
|
+
const v = M("el-image-viewer");
|
|
928
|
+
return i.value ? (c(), u(
|
|
929
|
+
D,
|
|
930
|
+
{ key: 0 },
|
|
931
|
+
[
|
|
932
|
+
(p = s.value) != null && p.url && a.image ? (c(), I(v, {
|
|
933
|
+
key: 0,
|
|
934
|
+
onClose: d[0] || (d[0] = (f) => {
|
|
935
|
+
s.value = null, a.image = !1;
|
|
936
|
+
}),
|
|
937
|
+
ref: "previewImgRef",
|
|
938
|
+
"url-list": [(m = s.value) == null ? void 0 : m.url]
|
|
939
|
+
}, null, 8, ["url-list"])) : x("v-if", !0),
|
|
940
|
+
x(" 文档类 "),
|
|
941
|
+
y(w(D6), {
|
|
942
|
+
modelValue: a.office,
|
|
943
|
+
"onUpdate:modelValue": d[1] || (d[1] = (f) => a.office = f),
|
|
944
|
+
draggable: "",
|
|
945
|
+
"no-footer": "",
|
|
946
|
+
"no-header": "",
|
|
947
|
+
fullscreen: "",
|
|
948
|
+
"show-close-bg": "",
|
|
949
|
+
"destroy-on-close": "",
|
|
950
|
+
"close-on-click-modal": "",
|
|
951
|
+
"close-on-press-escape": !1,
|
|
952
|
+
"append-to-body": "",
|
|
953
|
+
onClose: g,
|
|
954
|
+
"modal-class": "ik-only-preview-dialog"
|
|
955
|
+
}, {
|
|
956
|
+
default: S(() => [
|
|
957
|
+
y(w(T6), {
|
|
958
|
+
configOptions: o.value,
|
|
959
|
+
documentServerUrl: n.onlyofficeServer,
|
|
960
|
+
mode: "view"
|
|
961
|
+
}, null, 8, ["configOptions", "documentServerUrl"])
|
|
962
|
+
]),
|
|
963
|
+
_: 1
|
|
964
|
+
/* STABLE */
|
|
965
|
+
}, 8, ["modelValue"])
|
|
966
|
+
],
|
|
967
|
+
64
|
|
968
|
+
/* STABLE_FRAGMENT */
|
|
969
|
+
)) : x("v-if", !0);
|
|
970
|
+
};
|
|
971
|
+
}
|
|
972
|
+
});
|
|
973
|
+
const w6 = R(m6), y6 = {
|
|
832
974
|
key: 0,
|
|
833
975
|
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
|
|
834
|
-
},
|
|
976
|
+
}, _6 = {
|
|
835
977
|
key: 1,
|
|
836
978
|
class: "h-[1em] w-[1em]",
|
|
837
979
|
"aria-hidden": "true"
|
|
838
|
-
},
|
|
980
|
+
}, k6 = ["xlink:href"], z6 = ["src"], F6 = {
|
|
839
981
|
key: 1,
|
|
840
982
|
class: "h-[1em] w-[1em]",
|
|
841
983
|
"aria-hidden": "true"
|
|
842
|
-
},
|
|
984
|
+
}, x6 = ["xlink:href"], b6 = ["src"], S6 = /* @__PURE__ */ k({
|
|
843
985
|
name: "IkSvgIcon",
|
|
844
986
|
__name: "index",
|
|
845
987
|
props: {
|
|
@@ -865,85 +1007,85 @@ const o6 = H(s6), n6 = {
|
|
|
865
1007
|
disabled: { type: Boolean, default: !1 },
|
|
866
1008
|
tableIconType: { default: "icon" }
|
|
867
1009
|
},
|
|
868
|
-
setup(
|
|
869
|
-
const e =
|
|
870
|
-
var
|
|
871
|
-
return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (
|
|
872
|
-
}),
|
|
873
|
-
const
|
|
1010
|
+
setup(n) {
|
|
1011
|
+
const e = n, i = C(() => {
|
|
1012
|
+
var o, s, a;
|
|
1013
|
+
return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (o = e.name) != null && o.startsWith("iksig") ? "iksig" : (s = e.name) != null && s.includes(":") ? "iconify" : (a = e.name) != null && a.startsWith("iksvg") ? "svg" : "i";
|
|
1014
|
+
}), l = C(() => {
|
|
1015
|
+
const o = [];
|
|
874
1016
|
if (e.flip)
|
|
875
1017
|
switch (e.flip) {
|
|
876
1018
|
case "horizontal":
|
|
877
|
-
|
|
1019
|
+
o.push("rotateY(180deg)");
|
|
878
1020
|
break;
|
|
879
1021
|
case "vertical":
|
|
880
|
-
|
|
1022
|
+
o.push("rotateX(180deg)");
|
|
881
1023
|
break;
|
|
882
1024
|
case "both":
|
|
883
|
-
|
|
1025
|
+
o.push("rotateX(180deg)"), o.push("rotateY(180deg)");
|
|
884
1026
|
break;
|
|
885
1027
|
}
|
|
886
|
-
e.rotate &&
|
|
887
|
-
const
|
|
1028
|
+
e.rotate && o.push(`rotate(${e.rotate % 360}deg)`);
|
|
1029
|
+
const s = {
|
|
888
1030
|
...e.color && { color: e.color },
|
|
889
1031
|
...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
|
|
890
|
-
...
|
|
1032
|
+
...o.length && { transform: o.join(" ") },
|
|
891
1033
|
padding: e.showBg || e.bg ? e.padding : 0,
|
|
892
|
-
...e.color &&
|
|
1034
|
+
...e.color && i.value !== "iksig" ? {
|
|
893
1035
|
"--ik-color-icon-dark": e.color,
|
|
894
|
-
"--ik-color-icon-light": e.colorLight ||
|
|
1036
|
+
"--ik-color-icon-light": e.colorLight || i3.setOpacity(e.color, e.opacity)
|
|
895
1037
|
} : {}
|
|
896
1038
|
};
|
|
897
|
-
return e.width && (
|
|
1039
|
+
return e.width && (s.width = s.height = typeof e.width == "number" ? `${e.width}px` : e.width), s;
|
|
898
1040
|
});
|
|
899
|
-
return (
|
|
900
|
-
const
|
|
901
|
-
return
|
|
902
|
-
|
|
1041
|
+
return (o, s) => {
|
|
1042
|
+
const a = M("el-tooltip"), h = M("el-button");
|
|
1043
|
+
return o.tableIconType === "icon" ? (c(), u("span", y6, [
|
|
1044
|
+
o.notip || !o.title ? (c(), u(
|
|
903
1045
|
"i",
|
|
904
1046
|
{
|
|
905
1047
|
key: 0,
|
|
906
|
-
class:
|
|
907
|
-
[
|
|
908
|
-
"show-bg":
|
|
909
|
-
default:
|
|
910
|
-
small:
|
|
911
|
-
big:
|
|
912
|
-
warning:
|
|
913
|
-
primary:
|
|
914
|
-
success:
|
|
915
|
-
error:
|
|
916
|
-
active:
|
|
917
|
-
disabled:
|
|
1048
|
+
class: F(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1049
|
+
[o.name]: i.value === "unocss",
|
|
1050
|
+
"show-bg": o.showBg || o.bg,
|
|
1051
|
+
default: o.size === "default",
|
|
1052
|
+
small: o.size === "small",
|
|
1053
|
+
big: o.size === "big",
|
|
1054
|
+
warning: o.warning || e.type === "warning",
|
|
1055
|
+
primary: o.primary || e.type === "primary",
|
|
1056
|
+
success: o.success || e.type === "success",
|
|
1057
|
+
error: o.error || e.type === "error",
|
|
1058
|
+
active: o.active,
|
|
1059
|
+
disabled: o.disabled
|
|
918
1060
|
}]),
|
|
919
|
-
style:
|
|
1061
|
+
style: _(l.value)
|
|
920
1062
|
},
|
|
921
1063
|
[
|
|
922
|
-
|
|
923
|
-
|
|
1064
|
+
x(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1065
|
+
i.value === "iksig" ? (c(), u(
|
|
924
1066
|
"i",
|
|
925
1067
|
{
|
|
926
1068
|
key: 0,
|
|
927
|
-
class:
|
|
928
|
-
style:
|
|
1069
|
+
class: F(`iksig ${o.name}`),
|
|
1070
|
+
style: _(l.value)
|
|
929
1071
|
},
|
|
930
1072
|
null,
|
|
931
1073
|
6
|
|
932
1074
|
/* CLASS, STYLE */
|
|
933
|
-
)) :
|
|
934
|
-
|
|
935
|
-
"xlink:href": `#${
|
|
936
|
-
}, null, 8,
|
|
937
|
-
])) :
|
|
1075
|
+
)) : i.value === "svg" ? (c(), u("svg", _6, [
|
|
1076
|
+
r("use", {
|
|
1077
|
+
"xlink:href": `#${o.name}`
|
|
1078
|
+
}, null, 8, k6)
|
|
1079
|
+
])) : i.value === "img" ? (c(), u("img", {
|
|
938
1080
|
key: 2,
|
|
939
|
-
src:
|
|
1081
|
+
src: o.name,
|
|
940
1082
|
class: "h-[1em] w-[1em]"
|
|
941
|
-
}, null, 8,
|
|
1083
|
+
}, null, 8, z6)) : (c(), u(
|
|
942
1084
|
"i",
|
|
943
1085
|
{
|
|
944
1086
|
key: 3,
|
|
945
|
-
class:
|
|
946
|
-
style:
|
|
1087
|
+
class: F(o.name),
|
|
1088
|
+
style: _(l.value)
|
|
947
1089
|
},
|
|
948
1090
|
null,
|
|
949
1091
|
6
|
|
@@ -952,54 +1094,54 @@ const o6 = H(s6), n6 = {
|
|
|
952
1094
|
],
|
|
953
1095
|
6
|
|
954
1096
|
/* CLASS, STYLE */
|
|
955
|
-
)) : (
|
|
1097
|
+
)) : (c(), I(a, {
|
|
956
1098
|
key: 1,
|
|
957
|
-
content:
|
|
1099
|
+
content: o.title,
|
|
958
1100
|
placement: "top"
|
|
959
1101
|
}, {
|
|
960
|
-
default:
|
|
961
|
-
|
|
1102
|
+
default: S(() => [
|
|
1103
|
+
r(
|
|
962
1104
|
"i",
|
|
963
1105
|
{
|
|
964
|
-
class:
|
|
965
|
-
[
|
|
966
|
-
"show-bg":
|
|
967
|
-
default:
|
|
968
|
-
small:
|
|
969
|
-
big:
|
|
970
|
-
warning:
|
|
971
|
-
primary:
|
|
972
|
-
success:
|
|
973
|
-
error:
|
|
974
|
-
active:
|
|
1106
|
+
class: F(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1107
|
+
[o.name]: i.value === "unocss",
|
|
1108
|
+
"show-bg": o.showBg || o.bg,
|
|
1109
|
+
default: o.size === "default",
|
|
1110
|
+
small: o.size === "small",
|
|
1111
|
+
big: o.size === "big",
|
|
1112
|
+
warning: o.warning || e.type === "warning",
|
|
1113
|
+
primary: o.primary || e.type === "primary",
|
|
1114
|
+
success: o.success || e.type === "success",
|
|
1115
|
+
error: o.error || e.type === "error",
|
|
1116
|
+
active: o.active
|
|
975
1117
|
}]),
|
|
976
|
-
style:
|
|
1118
|
+
style: _(l.value)
|
|
977
1119
|
},
|
|
978
1120
|
[
|
|
979
|
-
|
|
1121
|
+
i.value === "iksig" ? (c(), u(
|
|
980
1122
|
"i",
|
|
981
1123
|
{
|
|
982
1124
|
key: 0,
|
|
983
|
-
class:
|
|
984
|
-
style:
|
|
1125
|
+
class: F(`iksig ${o.name}`),
|
|
1126
|
+
style: _(l.value)
|
|
985
1127
|
},
|
|
986
1128
|
null,
|
|
987
1129
|
6
|
|
988
1130
|
/* CLASS, STYLE */
|
|
989
|
-
)) :
|
|
990
|
-
|
|
991
|
-
"xlink:href": `#${
|
|
992
|
-
}, null, 8,
|
|
993
|
-
])) :
|
|
1131
|
+
)) : i.value === "svg" ? (c(), u("svg", F6, [
|
|
1132
|
+
r("use", {
|
|
1133
|
+
"xlink:href": `#${o.name}`
|
|
1134
|
+
}, null, 8, x6)
|
|
1135
|
+
])) : i.value === "img" ? (c(), u("img", {
|
|
994
1136
|
key: 2,
|
|
995
|
-
src:
|
|
1137
|
+
src: o.name,
|
|
996
1138
|
class: "h-[1em] w-[1em]"
|
|
997
|
-
}, null, 8,
|
|
1139
|
+
}, null, 8, b6)) : (c(), u(
|
|
998
1140
|
"i",
|
|
999
1141
|
{
|
|
1000
1142
|
key: 3,
|
|
1001
|
-
class:
|
|
1002
|
-
style:
|
|
1143
|
+
class: F(o.name),
|
|
1144
|
+
style: _(l.value)
|
|
1003
1145
|
},
|
|
1004
1146
|
null,
|
|
1005
1147
|
6
|
|
@@ -1013,13 +1155,13 @@ const o6 = H(s6), n6 = {
|
|
|
1013
1155
|
_: 1
|
|
1014
1156
|
/* STABLE */
|
|
1015
1157
|
}, 8, ["content"]))
|
|
1016
|
-
])) : (
|
|
1158
|
+
])) : (c(), I(h, {
|
|
1017
1159
|
key: 1,
|
|
1018
|
-
type: ["warning", "error"].includes(
|
|
1160
|
+
type: ["warning", "error"].includes(o.type) ? "danger" : ""
|
|
1019
1161
|
}, {
|
|
1020
|
-
default:
|
|
1021
|
-
|
|
1022
|
-
|
|
1162
|
+
default: S(() => [
|
|
1163
|
+
O(
|
|
1164
|
+
V(o.title),
|
|
1023
1165
|
1
|
|
1024
1166
|
/* TEXT */
|
|
1025
1167
|
)
|
|
@@ -1030,22 +1172,539 @@ const o6 = H(s6), n6 = {
|
|
|
1030
1172
|
};
|
|
1031
1173
|
}
|
|
1032
1174
|
});
|
|
1033
|
-
const
|
|
1175
|
+
const C6 = /* @__PURE__ */ E(S6, [["__scopeId", "data-v-7d95dbf5"]]), B = R(C6), V6 = {
|
|
1176
|
+
key: 0,
|
|
1177
|
+
class: "exit-main-page-maximize"
|
|
1178
|
+
}, B6 = /* @__PURE__ */ k({
|
|
1179
|
+
__name: "CloseIcon",
|
|
1180
|
+
props: {
|
|
1181
|
+
showBg: {
|
|
1182
|
+
type: Boolean,
|
|
1183
|
+
default: !1
|
|
1184
|
+
},
|
|
1185
|
+
fullscreen: {
|
|
1186
|
+
type: Boolean,
|
|
1187
|
+
default: !1
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
setup(n) {
|
|
1191
|
+
return (e, i) => (c(), u("div", null, [
|
|
1192
|
+
n.showBg && n.fullscreen ? (c(), u("div", V6, [
|
|
1193
|
+
y(w(B), {
|
|
1194
|
+
name: "iksvg_guanbidanchuang",
|
|
1195
|
+
title: "关闭",
|
|
1196
|
+
size: 20,
|
|
1197
|
+
error: ""
|
|
1198
|
+
})
|
|
1199
|
+
])) : (c(), I(w(B), {
|
|
1200
|
+
key: 1,
|
|
1201
|
+
error: "",
|
|
1202
|
+
name: "iksvg_guanbidanchuang",
|
|
1203
|
+
title: "关闭",
|
|
1204
|
+
size: 20
|
|
1205
|
+
}))
|
|
1206
|
+
]));
|
|
1207
|
+
}
|
|
1208
|
+
});
|
|
1209
|
+
const I6 = /* @__PURE__ */ E(B6, [["__scopeId", "data-v-79f49df8"]]), R6 = { class: "base-header" }, $6 = /* @__PURE__ */ k({
|
|
1210
|
+
__name: "IkBaseDialog",
|
|
1211
|
+
props: /* @__PURE__ */ P({
|
|
1212
|
+
title: { default: "" },
|
|
1213
|
+
cancelText: { default: "取消" },
|
|
1214
|
+
confirmText: { default: "确认" },
|
|
1215
|
+
noHeader: { type: Boolean },
|
|
1216
|
+
noFooter: { type: Boolean },
|
|
1217
|
+
showCloseBg: { type: Boolean, default: !1 },
|
|
1218
|
+
fullscreen: { type: Boolean, default: !1 }
|
|
1219
|
+
}, {
|
|
1220
|
+
modelValue: {
|
|
1221
|
+
type: Boolean,
|
|
1222
|
+
default: !1,
|
|
1223
|
+
noHeader: !1,
|
|
1224
|
+
noFooter: !1
|
|
1225
|
+
},
|
|
1226
|
+
modelModifiers: {}
|
|
1227
|
+
}),
|
|
1228
|
+
emits: ["update:modelValue"],
|
|
1229
|
+
setup(n) {
|
|
1230
|
+
const e = n, i = L(n, "modelValue"), l = z(e.fullscreen), o = () => {
|
|
1231
|
+
l.value = !l.value;
|
|
1232
|
+
}, s = k({
|
|
1233
|
+
setup() {
|
|
1234
|
+
return () => Y(I6, {
|
|
1235
|
+
showBg: e.showCloseBg,
|
|
1236
|
+
fullscreen: e.fullscreen
|
|
1237
|
+
});
|
|
1238
|
+
}
|
|
1239
|
+
});
|
|
1240
|
+
return (a, h) => {
|
|
1241
|
+
const g = M("el-dialog");
|
|
1242
|
+
return c(), I(g, Z({
|
|
1243
|
+
modelValue: i.value,
|
|
1244
|
+
"onUpdate:modelValue": h[0] || (h[0] = (t) => i.value = t)
|
|
1245
|
+
}, a.$attrs, {
|
|
1246
|
+
"close-icon": w(s),
|
|
1247
|
+
class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
|
|
1248
|
+
fullscreen: l.value,
|
|
1249
|
+
"modal-class": "baseDialog"
|
|
1250
|
+
}), J({
|
|
1251
|
+
icon: S(() => [
|
|
1252
|
+
$(a.$slots, "title", {}, () => [
|
|
1253
|
+
O(
|
|
1254
|
+
V(a.title),
|
|
1255
|
+
1
|
|
1256
|
+
/* TEXT */
|
|
1257
|
+
)
|
|
1258
|
+
])
|
|
1259
|
+
]),
|
|
1260
|
+
header: S(() => [
|
|
1261
|
+
r("div", R6, [
|
|
1262
|
+
$(a.$slots, "header", {}, () => [
|
|
1263
|
+
O(
|
|
1264
|
+
V(a.title),
|
|
1265
|
+
1
|
|
1266
|
+
/* TEXT */
|
|
1267
|
+
)
|
|
1268
|
+
])
|
|
1269
|
+
]),
|
|
1270
|
+
a.$attrs.showClose ? (c(), I(w(B), {
|
|
1271
|
+
key: 0,
|
|
1272
|
+
onClick: o,
|
|
1273
|
+
name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1274
|
+
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1275
|
+
title: l.value ? "退出全屏" : "全屏"
|
|
1276
|
+
}, null, 8, ["name", "title"])) : x("v-if", !0)
|
|
1277
|
+
]),
|
|
1278
|
+
default: S(() => [
|
|
1279
|
+
$(a.$slots, "default")
|
|
1280
|
+
]),
|
|
1281
|
+
_: 2
|
|
1282
|
+
/* DYNAMIC */
|
|
1283
|
+
}, [
|
|
1284
|
+
a.$slots.footer ? {
|
|
1285
|
+
name: "footer",
|
|
1286
|
+
fn: S(() => [
|
|
1287
|
+
$(a.$slots, "footer")
|
|
1288
|
+
]),
|
|
1289
|
+
key: "0"
|
|
1290
|
+
} : void 0
|
|
1291
|
+
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
1292
|
+
};
|
|
1293
|
+
}
|
|
1294
|
+
});
|
|
1295
|
+
const D6 = R($6);
|
|
1296
|
+
function M6(n, e, i, l) {
|
|
1297
|
+
function o(s) {
|
|
1298
|
+
return s instanceof i ? s : new i(function(a) {
|
|
1299
|
+
a(s);
|
|
1300
|
+
});
|
|
1301
|
+
}
|
|
1302
|
+
return new (i || (i = Promise))(function(s, a) {
|
|
1303
|
+
function h(d) {
|
|
1304
|
+
try {
|
|
1305
|
+
t(l.next(d));
|
|
1306
|
+
} catch (v) {
|
|
1307
|
+
a(v);
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
function g(d) {
|
|
1311
|
+
try {
|
|
1312
|
+
t(l.throw(d));
|
|
1313
|
+
} catch (v) {
|
|
1314
|
+
a(v);
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
function t(d) {
|
|
1318
|
+
d.done ? s(d.value) : o(d.value).then(h, g);
|
|
1319
|
+
}
|
|
1320
|
+
t((l = l.apply(n, e || [])).next());
|
|
1321
|
+
});
|
|
1322
|
+
}
|
|
1323
|
+
function q6(n, e) {
|
|
1324
|
+
var i = { label: 0, sent: function() {
|
|
1325
|
+
if (s[0] & 1)
|
|
1326
|
+
throw s[1];
|
|
1327
|
+
return s[1];
|
|
1328
|
+
}, trys: [], ops: [] }, l, o, s, a;
|
|
1329
|
+
return a = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
|
|
1330
|
+
return this;
|
|
1331
|
+
}), a;
|
|
1332
|
+
function h(t) {
|
|
1333
|
+
return function(d) {
|
|
1334
|
+
return g([t, d]);
|
|
1335
|
+
};
|
|
1336
|
+
}
|
|
1337
|
+
function g(t) {
|
|
1338
|
+
if (l)
|
|
1339
|
+
throw new TypeError("Generator is already executing.");
|
|
1340
|
+
for (; a && (a = 0, t[0] && (i = 0)), i; )
|
|
1341
|
+
try {
|
|
1342
|
+
if (l = 1, o && (s = t[0] & 2 ? o.return : t[0] ? o.throw || ((s = o.return) && s.call(o), 0) : o.next) && !(s = s.call(o, t[1])).done)
|
|
1343
|
+
return s;
|
|
1344
|
+
switch (o = 0, s && (t = [t[0] & 2, s.value]), t[0]) {
|
|
1345
|
+
case 0:
|
|
1346
|
+
case 1:
|
|
1347
|
+
s = t;
|
|
1348
|
+
break;
|
|
1349
|
+
case 4:
|
|
1350
|
+
return i.label++, { value: t[1], done: !1 };
|
|
1351
|
+
case 5:
|
|
1352
|
+
i.label++, o = t[1], t = [0];
|
|
1353
|
+
continue;
|
|
1354
|
+
case 7:
|
|
1355
|
+
t = i.ops.pop(), i.trys.pop();
|
|
1356
|
+
continue;
|
|
1357
|
+
default:
|
|
1358
|
+
if (s = i.trys, !(s = s.length > 0 && s[s.length - 1]) && (t[0] === 6 || t[0] === 2)) {
|
|
1359
|
+
i = 0;
|
|
1360
|
+
continue;
|
|
1361
|
+
}
|
|
1362
|
+
if (t[0] === 3 && (!s || t[1] > s[0] && t[1] < s[3])) {
|
|
1363
|
+
i.label = t[1];
|
|
1364
|
+
break;
|
|
1365
|
+
}
|
|
1366
|
+
if (t[0] === 6 && i.label < s[1]) {
|
|
1367
|
+
i.label = s[1], s = t;
|
|
1368
|
+
break;
|
|
1369
|
+
}
|
|
1370
|
+
if (s && i.label < s[2]) {
|
|
1371
|
+
i.label = s[2], i.ops.push(t);
|
|
1372
|
+
break;
|
|
1373
|
+
}
|
|
1374
|
+
s[2] && i.ops.pop(), i.trys.pop();
|
|
1375
|
+
continue;
|
|
1376
|
+
}
|
|
1377
|
+
t = e.call(n, i);
|
|
1378
|
+
} catch (d) {
|
|
1379
|
+
t = [6, d], o = 0;
|
|
1380
|
+
} finally {
|
|
1381
|
+
l = s = 0;
|
|
1382
|
+
}
|
|
1383
|
+
if (t[0] & 5)
|
|
1384
|
+
throw t[1];
|
|
1385
|
+
return { value: t[0] ? t[1] : void 0, done: !0 };
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
var E6 = function(n, e) {
|
|
1389
|
+
return M6(void 0, void 0, void 0, function() {
|
|
1390
|
+
return q6(this, function(i) {
|
|
1391
|
+
return [2, new Promise(function(l, o) {
|
|
1392
|
+
try {
|
|
1393
|
+
if (window.DocsAPI)
|
|
1394
|
+
return l(null);
|
|
1395
|
+
var s = document.getElementById(e);
|
|
1396
|
+
if (s)
|
|
1397
|
+
var a = setInterval(function() {
|
|
1398
|
+
var g = s.getAttribute("loading");
|
|
1399
|
+
if (!g) {
|
|
1400
|
+
if (clearInterval(a), window.DocsAPI)
|
|
1401
|
+
return l(null);
|
|
1402
|
+
var t = T(e, n, l, o);
|
|
1403
|
+
s.remove(), document.body.appendChild(t);
|
|
1404
|
+
}
|
|
1405
|
+
}, 500);
|
|
1406
|
+
else {
|
|
1407
|
+
var h = T(e, n, l, o);
|
|
1408
|
+
document.body.appendChild(h);
|
|
1409
|
+
}
|
|
1410
|
+
} catch (g) {
|
|
1411
|
+
console.error(g);
|
|
1412
|
+
}
|
|
1413
|
+
})];
|
|
1414
|
+
});
|
|
1415
|
+
});
|
|
1416
|
+
}, T = function(n, e, i, l) {
|
|
1417
|
+
var o = document.createElement("script");
|
|
1418
|
+
return o.id = n, o.type = "text/javascript", o.src = e, o.async = !0, o.onload = function() {
|
|
1419
|
+
o.removeAttribute("loading"), i(null);
|
|
1420
|
+
}, o.onerror = function(s) {
|
|
1421
|
+
o.removeAttribute("loading"), l(s);
|
|
1422
|
+
}, o.setAttribute("loading", ""), o;
|
|
1423
|
+
}, A = k({
|
|
1424
|
+
name: "DocumentEditor",
|
|
1425
|
+
props: {
|
|
1426
|
+
id: {
|
|
1427
|
+
type: String,
|
|
1428
|
+
required: !0
|
|
1429
|
+
},
|
|
1430
|
+
documentServerUrl: {
|
|
1431
|
+
type: String,
|
|
1432
|
+
required: !0
|
|
1433
|
+
},
|
|
1434
|
+
config: {
|
|
1435
|
+
type: Object,
|
|
1436
|
+
required: !0
|
|
1437
|
+
},
|
|
1438
|
+
document_fileType: String,
|
|
1439
|
+
document_title: String,
|
|
1440
|
+
documentType: String,
|
|
1441
|
+
editorConfig_lang: String,
|
|
1442
|
+
height: String,
|
|
1443
|
+
type: String,
|
|
1444
|
+
width: String,
|
|
1445
|
+
onLoadComponentError: Function,
|
|
1446
|
+
events_onAppReady: Function,
|
|
1447
|
+
events_onDocumentStateChange: Function,
|
|
1448
|
+
events_onMetaChange: Function,
|
|
1449
|
+
events_onDocumentReady: Function,
|
|
1450
|
+
events_onInfo: Function,
|
|
1451
|
+
events_onWarning: Function,
|
|
1452
|
+
events_onError: Function,
|
|
1453
|
+
events_onRequestSharingSettings: Function,
|
|
1454
|
+
events_onRequestRename: Function,
|
|
1455
|
+
events_onMakeActionLink: Function,
|
|
1456
|
+
events_onRequestInsertImage: Function,
|
|
1457
|
+
events_onRequestSaveAs: Function,
|
|
1458
|
+
/**
|
|
1459
|
+
* @deprecated Deprecated since version 7.5, please use events_onRequestSelectSpreadsheet instead.
|
|
1460
|
+
*/
|
|
1461
|
+
events_onRequestMailMergeRecipients: Function,
|
|
1462
|
+
/**
|
|
1463
|
+
* @deprecated Deprecated since version 7.5, please use events_onRequestSelectDocument instead.
|
|
1464
|
+
*/
|
|
1465
|
+
events_onRequestCompareFile: Function,
|
|
1466
|
+
events_onRequestEditRights: Function,
|
|
1467
|
+
events_onRequestHistory: Function,
|
|
1468
|
+
events_onRequestHistoryClose: Function,
|
|
1469
|
+
events_onRequestHistoryData: Function,
|
|
1470
|
+
events_onRequestRestore: Function,
|
|
1471
|
+
events_onRequestSelectSpreadsheet: Function,
|
|
1472
|
+
events_onRequestSelectDocument: Function
|
|
1473
|
+
},
|
|
1474
|
+
mounted: function() {
|
|
1475
|
+
var n = this, e = this.documentServerUrl;
|
|
1476
|
+
e.endsWith("/") || (e += "/");
|
|
1477
|
+
var i = "".concat(e, "web-apps/apps/api/documents/api.js");
|
|
1478
|
+
E6(i, "onlyoffice-api-script").then(function() {
|
|
1479
|
+
return n.onLoad();
|
|
1480
|
+
}).catch(function() {
|
|
1481
|
+
n.onError(-2);
|
|
1482
|
+
});
|
|
1483
|
+
},
|
|
1484
|
+
unmounted: function() {
|
|
1485
|
+
var n, e = this.id || "";
|
|
1486
|
+
!((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[e] && (window.DocEditor.instances[e].destroyEditor(), window.DocEditor.instances[e] = void 0);
|
|
1487
|
+
},
|
|
1488
|
+
watch: {
|
|
1489
|
+
config: {
|
|
1490
|
+
handler: function(n, e) {
|
|
1491
|
+
this.onChangeProps();
|
|
1492
|
+
},
|
|
1493
|
+
deep: !0
|
|
1494
|
+
},
|
|
1495
|
+
document_fileType: function(n, e) {
|
|
1496
|
+
this.onChangeProps();
|
|
1497
|
+
},
|
|
1498
|
+
document_title: function(n, e) {
|
|
1499
|
+
this.onChangeProps();
|
|
1500
|
+
},
|
|
1501
|
+
documentType: function(n, e) {
|
|
1502
|
+
this.onChangeProps();
|
|
1503
|
+
},
|
|
1504
|
+
editorConfig_lang: function(n, e) {
|
|
1505
|
+
this.onChangeProps();
|
|
1506
|
+
},
|
|
1507
|
+
height: function(n, e) {
|
|
1508
|
+
this.onChangeProps();
|
|
1509
|
+
},
|
|
1510
|
+
type: function(n, e) {
|
|
1511
|
+
this.onChangeProps();
|
|
1512
|
+
},
|
|
1513
|
+
width: function(n, e) {
|
|
1514
|
+
this.onChangeProps();
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
methods: {
|
|
1518
|
+
onLoad: function() {
|
|
1519
|
+
var n, e;
|
|
1520
|
+
try {
|
|
1521
|
+
var i = this.id || "";
|
|
1522
|
+
if (window.DocsAPI || this.onError(-3), !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[i]) {
|
|
1523
|
+
console.log("Skip loading. Instance already exists", i);
|
|
1524
|
+
return;
|
|
1525
|
+
}
|
|
1526
|
+
!((e = window == null ? void 0 : window.DocEditor) === null || e === void 0) && e.instances || (window.DocEditor = { instances: {} });
|
|
1527
|
+
var l = Object.assign({
|
|
1528
|
+
document: {
|
|
1529
|
+
fileType: this.document_fileType,
|
|
1530
|
+
title: this.document_title
|
|
1531
|
+
},
|
|
1532
|
+
documentType: this.documentType,
|
|
1533
|
+
editorConfig: {
|
|
1534
|
+
lang: this.editorConfig_lang
|
|
1535
|
+
},
|
|
1536
|
+
events: {
|
|
1537
|
+
onAppReady: this.onAppReady,
|
|
1538
|
+
onDocumentStateChange: this.events_onDocumentStateChange,
|
|
1539
|
+
onMetaChange: this.events_onMetaChange,
|
|
1540
|
+
onDocumentReady: this.events_onDocumentReady,
|
|
1541
|
+
onInfo: this.events_onInfo,
|
|
1542
|
+
onWarning: this.events_onWarning,
|
|
1543
|
+
onError: this.events_onError,
|
|
1544
|
+
onRequestSharingSettings: this.events_onRequestSharingSettings,
|
|
1545
|
+
onRequestRename: this.events_onRequestRename,
|
|
1546
|
+
onMakeActionLink: this.events_onMakeActionLink,
|
|
1547
|
+
onRequestInsertImage: this.events_onRequestInsertImage,
|
|
1548
|
+
onRequestSaveAs: this.events_onRequestSaveAs,
|
|
1549
|
+
onRequestMailMergeRecipients: this.events_onRequestMailMergeRecipients,
|
|
1550
|
+
onRequestCompareFile: this.events_onRequestCompareFile,
|
|
1551
|
+
onRequestEditRights: this.events_onRequestEditRights,
|
|
1552
|
+
onRequestHistory: this.events_onRequestHistory,
|
|
1553
|
+
onRequestHistoryClose: this.events_onRequestHistoryClose,
|
|
1554
|
+
onRequestHistoryData: this.events_onRequestHistoryData,
|
|
1555
|
+
onRequestRestore: this.events_onRequestRestore,
|
|
1556
|
+
onRequestSelectSpreadsheet: this.events_onRequestSelectSpreadsheet,
|
|
1557
|
+
onRequestSelectDocument: this.events_onRequestSelectDocument
|
|
1558
|
+
},
|
|
1559
|
+
height: this.height,
|
|
1560
|
+
type: this.type,
|
|
1561
|
+
width: this.width
|
|
1562
|
+
}, this.config || {}), o = window.DocsAPI.DocEditor(i, l);
|
|
1563
|
+
window.DocEditor.instances[i] = o;
|
|
1564
|
+
} catch (s) {
|
|
1565
|
+
console.error(s), this.onError(-1);
|
|
1566
|
+
}
|
|
1567
|
+
},
|
|
1568
|
+
onError: function(n) {
|
|
1569
|
+
var e;
|
|
1570
|
+
switch (n) {
|
|
1571
|
+
case -2:
|
|
1572
|
+
e = "Error load DocsAPI from " + this.documentServerUrl;
|
|
1573
|
+
break;
|
|
1574
|
+
case -3:
|
|
1575
|
+
e = "DocsAPI is not defined";
|
|
1576
|
+
break;
|
|
1577
|
+
default:
|
|
1578
|
+
e = "Unknown error loading component", n = -1;
|
|
1579
|
+
}
|
|
1580
|
+
typeof this.onLoadComponentError > "u" ? console.error(e) : this.onLoadComponentError(n, e);
|
|
1581
|
+
},
|
|
1582
|
+
onAppReady: function() {
|
|
1583
|
+
var n = this.id || "";
|
|
1584
|
+
this.events_onAppReady(window.DocEditor.instances[n]);
|
|
1585
|
+
},
|
|
1586
|
+
onChangeProps: function() {
|
|
1587
|
+
var n, e = this.id || "";
|
|
1588
|
+
!((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.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());
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
});
|
|
1592
|
+
const H6 = ["id"];
|
|
1593
|
+
function O6(n, e, i, l, o, s) {
|
|
1594
|
+
return c(), u("div", { id: n.id }, null, 8, H6);
|
|
1595
|
+
}
|
|
1596
|
+
A.render = O6;
|
|
1597
|
+
A.__file = "src/components/DocumentEditor.vue";
|
|
1598
|
+
const A6 = /* @__PURE__ */ k({
|
|
1599
|
+
__name: "IkOnlyOffice",
|
|
1600
|
+
props: {
|
|
1601
|
+
// 文件服务器的服务的地址
|
|
1602
|
+
documentServerUrl: {
|
|
1603
|
+
type: String,
|
|
1604
|
+
default: ""
|
|
1605
|
+
},
|
|
1606
|
+
// 当前onlyoffice的模式 (edit 编辑模式 view是查看模式)
|
|
1607
|
+
mode: {
|
|
1608
|
+
type: String,
|
|
1609
|
+
default: ""
|
|
1610
|
+
},
|
|
1611
|
+
// 配置项
|
|
1612
|
+
configOptions: {
|
|
1613
|
+
type: Object,
|
|
1614
|
+
default: () => {
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
// 元素的高度
|
|
1618
|
+
officeHeight: {
|
|
1619
|
+
type: String,
|
|
1620
|
+
default: "100%"
|
|
1621
|
+
},
|
|
1622
|
+
// 加密后的token
|
|
1623
|
+
token: {
|
|
1624
|
+
type: String,
|
|
1625
|
+
default: ""
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
setup(n) {
|
|
1629
|
+
var o, s, a, h;
|
|
1630
|
+
const e = n, i = z({
|
|
1631
|
+
width: "100%",
|
|
1632
|
+
height: "100%",
|
|
1633
|
+
document: (o = e.configOptions) == null ? void 0 : o.document,
|
|
1634
|
+
// word cell(表格) slide(PPT)
|
|
1635
|
+
documentType: (s = e.configOptions) == null ? void 0 : s.documentType,
|
|
1636
|
+
editorConfig: {
|
|
1637
|
+
callbackUrl: (h = (a = e.configOptions) == null ? void 0 : a.editorConfig) == null ? void 0 : h.callbackUrl,
|
|
1638
|
+
// 保存的回调函数
|
|
1639
|
+
lang: "zh-CN",
|
|
1640
|
+
mode: e.mode,
|
|
1641
|
+
// 强制保存
|
|
1642
|
+
customization: {
|
|
1643
|
+
forcesave: !0,
|
|
1644
|
+
autosave: !0
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
// 权限
|
|
1648
|
+
permissions: {
|
|
1649
|
+
comment: !0,
|
|
1650
|
+
commentGroups: {
|
|
1651
|
+
edit: ["Group1"],
|
|
1652
|
+
remove: ["Group1"],
|
|
1653
|
+
view: ""
|
|
1654
|
+
},
|
|
1655
|
+
copy: !0,
|
|
1656
|
+
deleteCommentAuthorOnly: !0,
|
|
1657
|
+
download: !0,
|
|
1658
|
+
edit: !0,
|
|
1659
|
+
editCommentAuthorOnly: !0,
|
|
1660
|
+
fillForms: !0,
|
|
1661
|
+
modifyContentControl: !0,
|
|
1662
|
+
modifyFilter: !0,
|
|
1663
|
+
print: !0,
|
|
1664
|
+
review: !0,
|
|
1665
|
+
reviewGroups: ["Group1", "Group2", "Group3"],
|
|
1666
|
+
userInfoGroups: ["Group1"]
|
|
1667
|
+
},
|
|
1668
|
+
mode: e.mode,
|
|
1669
|
+
token: e.token
|
|
1670
|
+
}), l = () => {
|
|
1671
|
+
console.info("文档加载完成");
|
|
1672
|
+
};
|
|
1673
|
+
return (g, t) => (c(), u(
|
|
1674
|
+
"div",
|
|
1675
|
+
{
|
|
1676
|
+
style: _({ height: e.officeHeight })
|
|
1677
|
+
},
|
|
1678
|
+
[
|
|
1679
|
+
y(w(A), {
|
|
1680
|
+
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1681
|
+
ref: "editorRef",
|
|
1682
|
+
"document-server-url": n.documentServerUrl,
|
|
1683
|
+
config: i.value,
|
|
1684
|
+
events_onDocumentReady: l
|
|
1685
|
+
}, null, 8, ["id", "document-server-url", "config"])
|
|
1686
|
+
],
|
|
1687
|
+
4
|
|
1688
|
+
/* STYLE */
|
|
1689
|
+
));
|
|
1690
|
+
}
|
|
1691
|
+
});
|
|
1692
|
+
const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6), P6 = (n) => (Q("data-v-170abcfc"), n = n(), e3(), n), L6 = {
|
|
1034
1693
|
key: 0,
|
|
1035
1694
|
class: "preview-files"
|
|
1036
|
-
},
|
|
1695
|
+
}, j6 = {
|
|
1037
1696
|
class: "flex",
|
|
1038
1697
|
style: { width: "80%", "align-items": "center" }
|
|
1039
|
-
},
|
|
1698
|
+
}, G6 = ["onClick"], N6 = ["title"], W6 = { style: { color: "#b8c6d9" } }, K6 = ["onClick"], X6 = /* @__PURE__ */ P6(() => /* @__PURE__ */ r(
|
|
1040
1699
|
"span",
|
|
1041
1700
|
null,
|
|
1042
1701
|
"预览",
|
|
1043
1702
|
-1
|
|
1044
1703
|
/* HOISTED */
|
|
1045
|
-
)),
|
|
1704
|
+
)), Y6 = {
|
|
1046
1705
|
key: 1,
|
|
1047
1706
|
class: "flex preview-img"
|
|
1048
|
-
},
|
|
1707
|
+
}, Z6 = /* @__PURE__ */ k({
|
|
1049
1708
|
__name: "IKDetailPreviewFiles",
|
|
1050
1709
|
props: {
|
|
1051
1710
|
// 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
|
|
@@ -1074,79 +1733,79 @@ const v6 = /* @__PURE__ */ U(u6, [["__scopeId", "data-v-7d95dbf5"]]), M = H(v6),
|
|
|
1074
1733
|
default: ""
|
|
1075
1734
|
}
|
|
1076
1735
|
},
|
|
1077
|
-
setup(
|
|
1078
|
-
const e =
|
|
1079
|
-
|
|
1736
|
+
setup(n) {
|
|
1737
|
+
const e = n, i = z(e.fileList);
|
|
1738
|
+
j(
|
|
1080
1739
|
() => e.fileList,
|
|
1081
1740
|
(t) => {
|
|
1082
|
-
t && (
|
|
1741
|
+
t && (i.value = t);
|
|
1083
1742
|
},
|
|
1084
1743
|
{ immediate: !0 }
|
|
1085
1744
|
);
|
|
1086
|
-
const
|
|
1087
|
-
|
|
1745
|
+
const l = z(!1), o = z({}), s = (t) => {
|
|
1746
|
+
o.value = {
|
|
1088
1747
|
url: t.url,
|
|
1089
1748
|
name: t.name
|
|
1090
1749
|
// row.originName
|
|
1091
|
-
},
|
|
1750
|
+
}, l.value = !0;
|
|
1751
|
+
}, a = (t) => {
|
|
1752
|
+
var d, v, p, m, f;
|
|
1753
|
+
return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "iksvg_pdf" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "iksvg_word" : (p = t == null ? void 0 : t.suffix) != null && p.includes("xls") ? "iksvg_excel" : (m = t == null ? void 0 : t.suffix) != null && m.includes("mov") ? "iksvg_mov" : (f = t == null ? void 0 : t.suffix) != null && f.includes("zip") ? "iksvg_zip" : "icon-jpg";
|
|
1754
|
+
}, h = (t) => {
|
|
1755
|
+
var d, v, p, m, f;
|
|
1756
|
+
return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "#FA4E4E" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "#2c69e0" : (p = t.suffix) != null && p.includes("xls") ? "#39BFBF" : (m = t.suffix) != null && m.includes("txt") ? "#2c69e0" : (f = t.suffix) != null && f.includes("zip") ? "#FF9000" : "#32CD79";
|
|
1092
1757
|
}, g = (t) => {
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
}, m = (t) => {
|
|
1096
|
-
var r, u, h, v, d;
|
|
1097
|
-
return (r = t == null ? void 0 : t.suffix) != null && r.includes("pdf") ? "#FA4E4E" : (u = t == null ? void 0 : t.suffix) != null && u.includes("doc") ? "#2c69e0" : (h = t.suffix) != null && h.includes("xls") ? "#39BFBF" : (v = t.suffix) != null && v.includes("txt") ? "#2c69e0" : (d = t.suffix) != null && d.includes("zip") ? "#FF9000" : "#32CD79";
|
|
1098
|
-
}, z = (t) => {
|
|
1099
|
-
const r = document.createElement("a");
|
|
1100
|
-
r.href = X.assembleUrl(e.loadUrl, t.url), r.download = t.name, r.click();
|
|
1758
|
+
const d = document.createElement("a");
|
|
1759
|
+
d.href = s3.assembleUrl(e.loadUrl, t.url), d.download = t.name, d.click();
|
|
1101
1760
|
};
|
|
1102
|
-
return (t,
|
|
1103
|
-
var
|
|
1104
|
-
const
|
|
1105
|
-
return
|
|
1106
|
-
e.fileType === "file" ? (
|
|
1107
|
-
(
|
|
1108
|
-
|
|
1761
|
+
return (t, d) => {
|
|
1762
|
+
var p, m;
|
|
1763
|
+
const v = M("el-image");
|
|
1764
|
+
return c(), u("div", null, [
|
|
1765
|
+
e.fileType === "file" ? (c(), u("div", L6, [
|
|
1766
|
+
(c(!0), u(
|
|
1767
|
+
D,
|
|
1109
1768
|
null,
|
|
1110
|
-
|
|
1769
|
+
H(i.value, (f, b) => (c(), u(
|
|
1111
1770
|
"div",
|
|
1112
1771
|
{
|
|
1113
|
-
key:
|
|
1772
|
+
key: b,
|
|
1114
1773
|
class: "files-item",
|
|
1115
|
-
style:
|
|
1774
|
+
style: _({
|
|
1116
1775
|
width: e.fileWidth,
|
|
1117
1776
|
"margin-right": e.fileWidth === "100%" ? "0px" : ""
|
|
1118
1777
|
})
|
|
1119
1778
|
},
|
|
1120
1779
|
[
|
|
1121
|
-
|
|
1122
|
-
y(
|
|
1123
|
-
name:
|
|
1124
|
-
style:
|
|
1780
|
+
r("div", j6, [
|
|
1781
|
+
y(w(B), {
|
|
1782
|
+
name: a(f),
|
|
1783
|
+
style: _(`color:${h(f)}`),
|
|
1125
1784
|
size: 36
|
|
1126
1785
|
}, null, 8, ["name", "style"]),
|
|
1127
|
-
|
|
1786
|
+
r("div", {
|
|
1128
1787
|
class: "file-name",
|
|
1129
|
-
onClick: (
|
|
1788
|
+
onClick: (N) => g(f)
|
|
1130
1789
|
}, [
|
|
1131
|
-
|
|
1132
|
-
title:
|
|
1133
|
-
},
|
|
1134
|
-
|
|
1790
|
+
r("p", {
|
|
1791
|
+
title: f.name
|
|
1792
|
+
}, V(f.name), 9, N6),
|
|
1793
|
+
r(
|
|
1135
1794
|
"p",
|
|
1136
|
-
|
|
1137
|
-
|
|
1795
|
+
W6,
|
|
1796
|
+
V((f.size / 1024).toFixed(2)) + "KB",
|
|
1138
1797
|
1
|
|
1139
1798
|
/* TEXT */
|
|
1140
1799
|
)
|
|
1141
|
-
], 8,
|
|
1800
|
+
], 8, G6)
|
|
1142
1801
|
]),
|
|
1143
|
-
|
|
1802
|
+
r("div", {
|
|
1144
1803
|
class: "file-preview",
|
|
1145
|
-
onClick: (
|
|
1804
|
+
onClick: (N) => s(f)
|
|
1146
1805
|
}, [
|
|
1147
|
-
y(
|
|
1148
|
-
|
|
1149
|
-
], 8,
|
|
1806
|
+
y(w(B), { name: "iksvg_yulan" }),
|
|
1807
|
+
X6
|
|
1808
|
+
], 8, K6)
|
|
1150
1809
|
],
|
|
1151
1810
|
4
|
|
1152
1811
|
/* STYLE */
|
|
@@ -1154,40 +1813,40 @@ const v6 = /* @__PURE__ */ U(u6, [["__scopeId", "data-v-7d95dbf5"]]), M = H(v6),
|
|
|
1154
1813
|
128
|
|
1155
1814
|
/* KEYED_FRAGMENT */
|
|
1156
1815
|
))
|
|
1157
|
-
])) :
|
|
1158
|
-
e.fileType === "img" ? (
|
|
1159
|
-
(
|
|
1160
|
-
|
|
1816
|
+
])) : x("v-if", !0),
|
|
1817
|
+
e.fileType === "img" ? (c(), u("div", Y6, [
|
|
1818
|
+
(c(!0), u(
|
|
1819
|
+
D,
|
|
1161
1820
|
null,
|
|
1162
|
-
|
|
1163
|
-
key:
|
|
1821
|
+
H(i.value, (f, b) => (c(), u("div", {
|
|
1822
|
+
key: b,
|
|
1164
1823
|
class: "preview-img"
|
|
1165
1824
|
}, [
|
|
1166
|
-
y(
|
|
1825
|
+
y(v, {
|
|
1167
1826
|
class: "show-img",
|
|
1168
|
-
src:
|
|
1169
|
-
"preview-src-list": [
|
|
1827
|
+
src: n.loadUrl + f.url,
|
|
1828
|
+
"preview-src-list": [n.loadUrl + f.url],
|
|
1170
1829
|
fit: "cover"
|
|
1171
1830
|
}, null, 8, ["src", "preview-src-list"])
|
|
1172
1831
|
]))),
|
|
1173
1832
|
128
|
|
1174
1833
|
/* KEYED_FRAGMENT */
|
|
1175
1834
|
))
|
|
1176
|
-
])) :
|
|
1177
|
-
y(
|
|
1178
|
-
modelValue:
|
|
1179
|
-
"onUpdate:modelValue":
|
|
1835
|
+
])) : x("v-if", !0),
|
|
1836
|
+
y(w(g6), {
|
|
1837
|
+
modelValue: l.value,
|
|
1838
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => l.value = f),
|
|
1180
1839
|
"load-url": e.loadUrl,
|
|
1181
|
-
url: (
|
|
1182
|
-
"kk-url":
|
|
1183
|
-
"file-name": (
|
|
1840
|
+
url: (p = o.value) == null ? void 0 : p.url,
|
|
1841
|
+
"kk-url": n.kkUrl,
|
|
1842
|
+
"file-name": (m = o.value) == null ? void 0 : m.name
|
|
1184
1843
|
}, null, 8, ["modelValue", "load-url", "url", "kk-url", "file-name"])
|
|
1185
1844
|
]);
|
|
1186
1845
|
};
|
|
1187
1846
|
}
|
|
1188
1847
|
});
|
|
1189
|
-
const
|
|
1848
|
+
const J6 = /* @__PURE__ */ E(Z6, [["__scopeId", "data-v-170abcfc"]]), te = R(J6);
|
|
1190
1849
|
export {
|
|
1191
|
-
|
|
1192
|
-
|
|
1850
|
+
te as IKDetailPreviewFiles,
|
|
1851
|
+
te as default
|
|
1193
1852
|
};
|