iking-web-ui-pro 0.2.0 → 0.2.2
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 +329 -373
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +381 -425
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +231 -275
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +422 -466
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkOnlyOffice/ik.index.es.js +80 -127
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +144 -188
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +194 -241
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/ik.index.es.js +314 -352
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/index.es.js +5064 -5102
- package/dist/index.umd.js +56 -56
- package/dist/src/components/IkOnlyOffice/index.d.ts +0 -18
- package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +0 -18
- package/dist/src/components/IkUploadFile/index.d.ts +19 -0
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +9 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { paramType as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as z, computed as V, openBlock as r, createElementBlock as u, createElementVNode as c, ref as F, Fragment as M, renderList as A, normalizeClass as b, normalizeStyle as k, createVNode as _, toDisplayString as B, unref as y, withModifiers as Y, renderSlot as D, createCommentVNode as S, mergeModels as W, useModel as N, reactive as Z, watch as K, nextTick as J, resolveComponent as q, createBlock as R, withCtx as C, createTextVNode as U, h as Q, mergeProps as e3, createSlots as t3, pushScopeId as n3, popScopeId as o3 } from "vue";
|
|
2
|
+
import { paramType as i3, ikFile as s3, buildUUID as l3, ikColor as a3, ikUrl as c3 } from "iking-utils-pro";
|
|
3
|
+
const $ = (n, e) => {
|
|
4
4
|
if (n.install = (i) => {
|
|
5
5
|
for (const l of [n, ...Object.values(e ?? {})])
|
|
6
6
|
i.component(l.name, l);
|
|
@@ -8,12 +8,12 @@ const R = (n, e) => {
|
|
|
8
8
|
for (const [i, l] of Object.entries(e))
|
|
9
9
|
n[i] = l;
|
|
10
10
|
return n;
|
|
11
|
-
},
|
|
11
|
+
}, H = (n, e) => {
|
|
12
12
|
const i = n.__vccOpts || n;
|
|
13
13
|
for (const [l, o] of e)
|
|
14
14
|
i[l] = o;
|
|
15
15
|
return i;
|
|
16
|
-
},
|
|
16
|
+
}, r3 = (n, e = 2) => {
|
|
17
17
|
if (n === void 0)
|
|
18
18
|
return "";
|
|
19
19
|
if (n === 0)
|
|
@@ -21,10 +21,10 @@ const R = (n, e) => {
|
|
|
21
21
|
const i = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(n) / Math.log(1024));
|
|
22
22
|
let o = n / Math.pow(1024, l);
|
|
23
23
|
return (o % 1 === 0 ? o.toFixed(e || 0) : o.toFixed(e)) + " " + i[l];
|
|
24
|
-
},
|
|
24
|
+
}, E = (n, e) => e ? e.startsWith("http") ? e : `${n || location.origin}${e}` : "";
|
|
25
25
|
const G = (n, e) => {
|
|
26
|
-
var s, a,
|
|
27
|
-
const i = (s = n == null ? void 0 : n.response) != null && s.data ?
|
|
26
|
+
var s, a, v, g;
|
|
27
|
+
const i = (s = n == null ? void 0 : n.response) != null && s.data ? L((v = (a = n == null ? void 0 : n.response) == null ? void 0 : a.data) == null ? void 0 : v.suffix) : ((g = n.raw) == null ? void 0 : g.type) || L(n[e.suffix]), l = i == null ? void 0 : i.toLowerCase(), o = {
|
|
28
28
|
sheet: "excel",
|
|
29
29
|
excel: "excel",
|
|
30
30
|
zip: "zip",
|
|
@@ -44,7 +44,7 @@ const G = (n, e) => {
|
|
|
44
44
|
if (typeof l == "string" && (l.includes(t) || l === t))
|
|
45
45
|
return o[t];
|
|
46
46
|
return "unknown";
|
|
47
|
-
},
|
|
47
|
+
}, d3 = {
|
|
48
48
|
".doc": "word",
|
|
49
49
|
".docx": "word",
|
|
50
50
|
".docxf": "word",
|
|
@@ -129,13 +129,13 @@ const G = (n, e) => {
|
|
|
129
129
|
".vob": "video",
|
|
130
130
|
".txt": "txt",
|
|
131
131
|
".pdf": "pdf"
|
|
132
|
-
},
|
|
132
|
+
}, L = (n) => {
|
|
133
133
|
const e = n == null ? void 0 : n.toLocaleLowerCase(), i = e != null && e.startsWith(".") ? e : `.${e}`;
|
|
134
|
-
return i &&
|
|
135
|
-
},
|
|
134
|
+
return i && d3[i] || "unknow";
|
|
135
|
+
}, u3 = (n) => {
|
|
136
136
|
let e = "", i = ["doc", "docx"], l = ["xls", "xlsx"], o = ["ppt", "pptx"], s = ["pdf"];
|
|
137
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
|
-
},
|
|
138
|
+
}, f3 = {
|
|
139
139
|
key: 0,
|
|
140
140
|
t: "1686300059786",
|
|
141
141
|
class: "icon",
|
|
@@ -145,7 +145,7 @@ const G = (n, e) => {
|
|
|
145
145
|
"p-id": "7671",
|
|
146
146
|
width: "200",
|
|
147
147
|
height: "200"
|
|
148
|
-
},
|
|
148
|
+
}, p3 = /* @__PURE__ */ c(
|
|
149
149
|
"path",
|
|
150
150
|
{
|
|
151
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",
|
|
@@ -155,7 +155,7 @@ const G = (n, e) => {
|
|
|
155
155
|
null,
|
|
156
156
|
-1
|
|
157
157
|
/* HOISTED */
|
|
158
|
-
),
|
|
158
|
+
), h3 = /* @__PURE__ */ c(
|
|
159
159
|
"path",
|
|
160
160
|
{
|
|
161
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",
|
|
@@ -165,7 +165,7 @@ const G = (n, e) => {
|
|
|
165
165
|
null,
|
|
166
166
|
-1
|
|
167
167
|
/* HOISTED */
|
|
168
|
-
),
|
|
168
|
+
), v3 = /* @__PURE__ */ c(
|
|
169
169
|
"path",
|
|
170
170
|
{
|
|
171
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",
|
|
@@ -175,7 +175,7 @@ const G = (n, e) => {
|
|
|
175
175
|
null,
|
|
176
176
|
-1
|
|
177
177
|
/* HOISTED */
|
|
178
|
-
),
|
|
178
|
+
), g3 = /* @__PURE__ */ c(
|
|
179
179
|
"path",
|
|
180
180
|
{
|
|
181
181
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -185,12 +185,12 @@ const G = (n, e) => {
|
|
|
185
185
|
null,
|
|
186
186
|
-1
|
|
187
187
|
/* HOISTED */
|
|
188
|
-
),
|
|
189
|
-
d3,
|
|
190
|
-
u3,
|
|
188
|
+
), m3 = [
|
|
191
189
|
p3,
|
|
192
|
-
|
|
193
|
-
|
|
190
|
+
h3,
|
|
191
|
+
v3,
|
|
192
|
+
g3
|
|
193
|
+
], w3 = {
|
|
194
194
|
key: 1,
|
|
195
195
|
t: "1686301531714",
|
|
196
196
|
class: "icon",
|
|
@@ -200,7 +200,7 @@ const G = (n, e) => {
|
|
|
200
200
|
"p-id": "9067",
|
|
201
201
|
width: "200",
|
|
202
202
|
height: "200"
|
|
203
|
-
},
|
|
203
|
+
}, y3 = /* @__PURE__ */ c(
|
|
204
204
|
"path",
|
|
205
205
|
{
|
|
206
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",
|
|
@@ -210,7 +210,7 @@ const G = (n, e) => {
|
|
|
210
210
|
null,
|
|
211
211
|
-1
|
|
212
212
|
/* HOISTED */
|
|
213
|
-
),
|
|
213
|
+
), _3 = /* @__PURE__ */ c(
|
|
214
214
|
"path",
|
|
215
215
|
{
|
|
216
216
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -220,10 +220,10 @@ const G = (n, e) => {
|
|
|
220
220
|
null,
|
|
221
221
|
-1
|
|
222
222
|
/* HOISTED */
|
|
223
|
-
),
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
],
|
|
223
|
+
), k3 = [
|
|
224
|
+
y3,
|
|
225
|
+
_3
|
|
226
|
+
], z3 = {
|
|
227
227
|
key: 2,
|
|
228
228
|
t: "1686300141125",
|
|
229
229
|
class: "icon",
|
|
@@ -233,7 +233,7 @@ const G = (n, e) => {
|
|
|
233
233
|
"p-id": "8137",
|
|
234
234
|
width: "200",
|
|
235
235
|
height: "200"
|
|
236
|
-
},
|
|
236
|
+
}, F3 = /* @__PURE__ */ c(
|
|
237
237
|
"path",
|
|
238
238
|
{
|
|
239
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",
|
|
@@ -243,7 +243,7 @@ const G = (n, e) => {
|
|
|
243
243
|
null,
|
|
244
244
|
-1
|
|
245
245
|
/* HOISTED */
|
|
246
|
-
),
|
|
246
|
+
), x3 = /* @__PURE__ */ c(
|
|
247
247
|
"path",
|
|
248
248
|
{
|
|
249
249
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -253,10 +253,10 @@ const G = (n, e) => {
|
|
|
253
253
|
null,
|
|
254
254
|
-1
|
|
255
255
|
/* HOISTED */
|
|
256
|
-
),
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
],
|
|
256
|
+
), b3 = [
|
|
257
|
+
F3,
|
|
258
|
+
x3
|
|
259
|
+
], S3 = {
|
|
260
260
|
key: 3,
|
|
261
261
|
t: "1686300157181",
|
|
262
262
|
class: "icon",
|
|
@@ -266,7 +266,7 @@ const G = (n, e) => {
|
|
|
266
266
|
"p-id": "8292",
|
|
267
267
|
width: "200",
|
|
268
268
|
height: "200"
|
|
269
|
-
},
|
|
269
|
+
}, C3 = /* @__PURE__ */ c(
|
|
270
270
|
"path",
|
|
271
271
|
{
|
|
272
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",
|
|
@@ -276,7 +276,7 @@ const G = (n, e) => {
|
|
|
276
276
|
null,
|
|
277
277
|
-1
|
|
278
278
|
/* HOISTED */
|
|
279
|
-
),
|
|
279
|
+
), V3 = /* @__PURE__ */ c(
|
|
280
280
|
"path",
|
|
281
281
|
{
|
|
282
282
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -286,10 +286,10 @@ const G = (n, e) => {
|
|
|
286
286
|
null,
|
|
287
287
|
-1
|
|
288
288
|
/* HOISTED */
|
|
289
|
-
),
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
],
|
|
289
|
+
), B3 = [
|
|
290
|
+
C3,
|
|
291
|
+
V3
|
|
292
|
+
], I3 = {
|
|
293
293
|
key: 4,
|
|
294
294
|
t: "1686300180947",
|
|
295
295
|
class: "icon",
|
|
@@ -299,7 +299,7 @@ const G = (n, e) => {
|
|
|
299
299
|
"p-id": "8447",
|
|
300
300
|
width: "200",
|
|
301
301
|
height: "200"
|
|
302
|
-
},
|
|
302
|
+
}, R3 = /* @__PURE__ */ c(
|
|
303
303
|
"path",
|
|
304
304
|
{
|
|
305
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",
|
|
@@ -309,7 +309,7 @@ const G = (n, e) => {
|
|
|
309
309
|
null,
|
|
310
310
|
-1
|
|
311
311
|
/* HOISTED */
|
|
312
|
-
),
|
|
312
|
+
), $3 = /* @__PURE__ */ c(
|
|
313
313
|
"path",
|
|
314
314
|
{
|
|
315
315
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -319,10 +319,10 @@ const G = (n, e) => {
|
|
|
319
319
|
null,
|
|
320
320
|
-1
|
|
321
321
|
/* HOISTED */
|
|
322
|
-
),
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
],
|
|
322
|
+
), D3 = [
|
|
323
|
+
R3,
|
|
324
|
+
$3
|
|
325
|
+
], M3 = {
|
|
326
326
|
key: 5,
|
|
327
327
|
t: "1686300195363",
|
|
328
328
|
class: "icon",
|
|
@@ -332,7 +332,7 @@ const G = (n, e) => {
|
|
|
332
332
|
"p-id": "8602",
|
|
333
333
|
width: "200",
|
|
334
334
|
height: "200"
|
|
335
|
-
},
|
|
335
|
+
}, q3 = /* @__PURE__ */ c(
|
|
336
336
|
"path",
|
|
337
337
|
{
|
|
338
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",
|
|
@@ -342,7 +342,7 @@ const G = (n, e) => {
|
|
|
342
342
|
null,
|
|
343
343
|
-1
|
|
344
344
|
/* HOISTED */
|
|
345
|
-
),
|
|
345
|
+
), E3 = /* @__PURE__ */ c(
|
|
346
346
|
"path",
|
|
347
347
|
{
|
|
348
348
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -352,10 +352,10 @@ const G = (n, e) => {
|
|
|
352
352
|
null,
|
|
353
353
|
-1
|
|
354
354
|
/* HOISTED */
|
|
355
|
-
),
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
],
|
|
355
|
+
), H3 = [
|
|
356
|
+
q3,
|
|
357
|
+
E3
|
|
358
|
+
], O3 = {
|
|
359
359
|
key: 6,
|
|
360
360
|
t: "1686300209288",
|
|
361
361
|
class: "icon",
|
|
@@ -365,7 +365,7 @@ const G = (n, e) => {
|
|
|
365
365
|
"p-id": "8757",
|
|
366
366
|
width: "200",
|
|
367
367
|
height: "200"
|
|
368
|
-
},
|
|
368
|
+
}, A3 = /* @__PURE__ */ c(
|
|
369
369
|
"path",
|
|
370
370
|
{
|
|
371
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",
|
|
@@ -375,7 +375,7 @@ const G = (n, e) => {
|
|
|
375
375
|
null,
|
|
376
376
|
-1
|
|
377
377
|
/* HOISTED */
|
|
378
|
-
),
|
|
378
|
+
), U3 = /* @__PURE__ */ c(
|
|
379
379
|
"path",
|
|
380
380
|
{
|
|
381
381
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -385,10 +385,10 @@ const G = (n, e) => {
|
|
|
385
385
|
null,
|
|
386
386
|
-1
|
|
387
387
|
/* HOISTED */
|
|
388
|
-
),
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
],
|
|
388
|
+
), T3 = [
|
|
389
|
+
A3,
|
|
390
|
+
U3
|
|
391
|
+
], P3 = {
|
|
392
392
|
key: 7,
|
|
393
393
|
t: "1686300225262",
|
|
394
394
|
class: "icon",
|
|
@@ -398,7 +398,7 @@ const G = (n, e) => {
|
|
|
398
398
|
"p-id": "8912",
|
|
399
399
|
width: "200",
|
|
400
400
|
height: "200"
|
|
401
|
-
},
|
|
401
|
+
}, L3 = /* @__PURE__ */ c(
|
|
402
402
|
"path",
|
|
403
403
|
{
|
|
404
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",
|
|
@@ -408,7 +408,7 @@ const G = (n, e) => {
|
|
|
408
408
|
null,
|
|
409
409
|
-1
|
|
410
410
|
/* HOISTED */
|
|
411
|
-
),
|
|
411
|
+
), j3 = /* @__PURE__ */ c(
|
|
412
412
|
"path",
|
|
413
413
|
{
|
|
414
414
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -418,10 +418,10 @@ const G = (n, e) => {
|
|
|
418
418
|
null,
|
|
419
419
|
-1
|
|
420
420
|
/* HOISTED */
|
|
421
|
-
),
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
],
|
|
421
|
+
), W3 = [
|
|
422
|
+
L3,
|
|
423
|
+
j3
|
|
424
|
+
], N3 = {
|
|
425
425
|
key: 8,
|
|
426
426
|
t: "1692251753690",
|
|
427
427
|
class: "icon",
|
|
@@ -431,7 +431,7 @@ const G = (n, e) => {
|
|
|
431
431
|
"p-id": "4336",
|
|
432
432
|
width: "200",
|
|
433
433
|
height: "200"
|
|
434
|
-
},
|
|
434
|
+
}, K3 = /* @__PURE__ */ c(
|
|
435
435
|
"path",
|
|
436
436
|
{
|
|
437
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",
|
|
@@ -441,7 +441,7 @@ const G = (n, e) => {
|
|
|
441
441
|
null,
|
|
442
442
|
-1
|
|
443
443
|
/* HOISTED */
|
|
444
|
-
), G3 = /* @__PURE__ */
|
|
444
|
+
), G3 = /* @__PURE__ */ c(
|
|
445
445
|
"path",
|
|
446
446
|
{
|
|
447
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",
|
|
@@ -452,7 +452,7 @@ const G = (n, e) => {
|
|
|
452
452
|
null,
|
|
453
453
|
-1
|
|
454
454
|
/* HOISTED */
|
|
455
|
-
),
|
|
455
|
+
), X3 = /* @__PURE__ */ c(
|
|
456
456
|
"path",
|
|
457
457
|
{
|
|
458
458
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -462,11 +462,11 @@ const G = (n, e) => {
|
|
|
462
462
|
null,
|
|
463
463
|
-1
|
|
464
464
|
/* HOISTED */
|
|
465
|
-
),
|
|
466
|
-
|
|
465
|
+
), Y3 = [
|
|
466
|
+
K3,
|
|
467
467
|
G3,
|
|
468
|
-
|
|
469
|
-
],
|
|
468
|
+
X3
|
|
469
|
+
], Z3 = {
|
|
470
470
|
key: 9,
|
|
471
471
|
t: "1692251753690",
|
|
472
472
|
class: "icon",
|
|
@@ -476,7 +476,7 @@ const G = (n, e) => {
|
|
|
476
476
|
"p-id": "4336",
|
|
477
477
|
width: "200",
|
|
478
478
|
height: "200"
|
|
479
|
-
},
|
|
479
|
+
}, J3 = /* @__PURE__ */ c(
|
|
480
480
|
"path",
|
|
481
481
|
{
|
|
482
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",
|
|
@@ -486,7 +486,7 @@ const G = (n, e) => {
|
|
|
486
486
|
null,
|
|
487
487
|
-1
|
|
488
488
|
/* HOISTED */
|
|
489
|
-
),
|
|
489
|
+
), Q3 = /* @__PURE__ */ c(
|
|
490
490
|
"path",
|
|
491
491
|
{
|
|
492
492
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -496,7 +496,7 @@ const G = (n, e) => {
|
|
|
496
496
|
null,
|
|
497
497
|
-1
|
|
498
498
|
/* HOISTED */
|
|
499
|
-
),
|
|
499
|
+
), e6 = /* @__PURE__ */ c(
|
|
500
500
|
"path",
|
|
501
501
|
{
|
|
502
502
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -507,7 +507,7 @@ const G = (n, e) => {
|
|
|
507
507
|
null,
|
|
508
508
|
-1
|
|
509
509
|
/* HOISTED */
|
|
510
|
-
),
|
|
510
|
+
), t6 = /* @__PURE__ */ c(
|
|
511
511
|
"path",
|
|
512
512
|
{
|
|
513
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",
|
|
@@ -517,12 +517,12 @@ const G = (n, e) => {
|
|
|
517
517
|
null,
|
|
518
518
|
-1
|
|
519
519
|
/* HOISTED */
|
|
520
|
-
),
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
],
|
|
520
|
+
), n6 = [
|
|
521
|
+
J3,
|
|
522
|
+
Q3,
|
|
523
|
+
e6,
|
|
524
|
+
t6
|
|
525
|
+
], o6 = {
|
|
526
526
|
key: 10,
|
|
527
527
|
t: "1714099890925",
|
|
528
528
|
class: "icon",
|
|
@@ -532,7 +532,7 @@ const G = (n, e) => {
|
|
|
532
532
|
"p-id": "2271",
|
|
533
533
|
width: "200",
|
|
534
534
|
height: "200"
|
|
535
|
-
},
|
|
535
|
+
}, i6 = /* @__PURE__ */ c(
|
|
536
536
|
"path",
|
|
537
537
|
{
|
|
538
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",
|
|
@@ -542,7 +542,7 @@ const G = (n, e) => {
|
|
|
542
542
|
null,
|
|
543
543
|
-1
|
|
544
544
|
/* HOISTED */
|
|
545
|
-
),
|
|
545
|
+
), s6 = /* @__PURE__ */ c(
|
|
546
546
|
"path",
|
|
547
547
|
{
|
|
548
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",
|
|
@@ -553,7 +553,7 @@ const G = (n, e) => {
|
|
|
553
553
|
null,
|
|
554
554
|
-1
|
|
555
555
|
/* HOISTED */
|
|
556
|
-
),
|
|
556
|
+
), l6 = /* @__PURE__ */ c(
|
|
557
557
|
"path",
|
|
558
558
|
{
|
|
559
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",
|
|
@@ -563,11 +563,11 @@ const G = (n, e) => {
|
|
|
563
563
|
null,
|
|
564
564
|
-1
|
|
565
565
|
/* HOISTED */
|
|
566
|
-
),
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
],
|
|
566
|
+
), a6 = [
|
|
567
|
+
i6,
|
|
568
|
+
s6,
|
|
569
|
+
l6
|
|
570
|
+
], c6 = {
|
|
571
571
|
key: 11,
|
|
572
572
|
t: "1686300037564",
|
|
573
573
|
class: "icon",
|
|
@@ -577,7 +577,7 @@ const G = (n, e) => {
|
|
|
577
577
|
"p-id": "7515",
|
|
578
578
|
width: "200",
|
|
579
579
|
height: "200"
|
|
580
|
-
},
|
|
580
|
+
}, r6 = /* @__PURE__ */ c(
|
|
581
581
|
"path",
|
|
582
582
|
{
|
|
583
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",
|
|
@@ -587,7 +587,7 @@ const G = (n, e) => {
|
|
|
587
587
|
null,
|
|
588
588
|
-1
|
|
589
589
|
/* HOISTED */
|
|
590
|
-
),
|
|
590
|
+
), d6 = /* @__PURE__ */ c(
|
|
591
591
|
"path",
|
|
592
592
|
{
|
|
593
593
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -597,7 +597,7 @@ const G = (n, e) => {
|
|
|
597
597
|
null,
|
|
598
598
|
-1
|
|
599
599
|
/* HOISTED */
|
|
600
|
-
),
|
|
600
|
+
), u6 = /* @__PURE__ */ c(
|
|
601
601
|
"path",
|
|
602
602
|
{
|
|
603
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",
|
|
@@ -607,11 +607,11 @@ const G = (n, e) => {
|
|
|
607
607
|
null,
|
|
608
608
|
-1
|
|
609
609
|
/* HOISTED */
|
|
610
|
-
),
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
],
|
|
610
|
+
), f6 = [
|
|
611
|
+
r6,
|
|
612
|
+
d6,
|
|
613
|
+
u6
|
|
614
|
+
], p6 = /* @__PURE__ */ z({
|
|
615
615
|
__name: "FileIcon",
|
|
616
616
|
props: {
|
|
617
617
|
type: {
|
|
@@ -632,10 +632,10 @@ const G = (n, e) => {
|
|
|
632
632
|
}
|
|
633
633
|
},
|
|
634
634
|
setup(n) {
|
|
635
|
-
const e = n, i =
|
|
636
|
-
return (l, o) => i.value === "image" ? (
|
|
635
|
+
const e = n, i = V(() => e.file ? G(e.file, e.fields) : e.type);
|
|
636
|
+
return (l, o) => i.value === "image" ? (r(), u("svg", f3, m3)) : i.value === "zip" ? (r(), u("svg", w3, k3)) : i.value === "ppt" ? (r(), u("svg", z3, b3)) : i.value === "word" ? (r(), u("svg", S3, B3)) : i.value === "pdf" ? (r(), u("svg", I3, D3)) : i.value === "txt" ? (r(), u("svg", M3, H3)) : i.value === "audio" ? (r(), u("svg", O3, T3)) : i.value === "video" ? (r(), u("svg", P3, W3)) : i.value === "excel" ? (r(), u("svg", N3, Y3)) : i.value === "exe" ? (r(), u("svg", Z3, n6)) : i.value === "json" ? (r(), u("svg", o6, a6)) : (r(), u("svg", c6, f6));
|
|
637
637
|
}
|
|
638
|
-
}),
|
|
638
|
+
}), h6 = ["onClick"], v6 = { class: "text" }, g6 = { class: "fileName" }, m6 = { class: "size" }, w6 = /* @__PURE__ */ z({
|
|
639
639
|
__name: "IkPreviewFile",
|
|
640
640
|
props: {
|
|
641
641
|
list: {
|
|
@@ -705,109 +705,109 @@ const G = (n, e) => {
|
|
|
705
705
|
}
|
|
706
706
|
},
|
|
707
707
|
setup(n) {
|
|
708
|
-
const e = n, i =
|
|
708
|
+
const e = n, i = V(() => ({
|
|
709
709
|
name: "name",
|
|
710
710
|
url: "url",
|
|
711
711
|
suffix: "suffix",
|
|
712
712
|
size: "size",
|
|
713
713
|
...e.field
|
|
714
|
-
})), l =
|
|
715
|
-
var d,
|
|
714
|
+
})), l = F({}), o = F(!1), s = (t) => {
|
|
715
|
+
var d, h;
|
|
716
716
|
l.value = {
|
|
717
717
|
...t,
|
|
718
718
|
name: t.name,
|
|
719
|
-
url:
|
|
719
|
+
url: E(
|
|
720
720
|
e.loadUrl,
|
|
721
|
-
t.url || ((
|
|
721
|
+
t.url || ((h = (d = t == null ? void 0 : t.response) == null ? void 0 : d.data) == null ? void 0 : h.id) || (t == null ? void 0 : t.id)
|
|
722
722
|
)
|
|
723
723
|
}, o.value = !0;
|
|
724
724
|
}, a = (t) => {
|
|
725
|
-
|
|
726
|
-
|
|
725
|
+
s3.downloadFile(
|
|
726
|
+
E(
|
|
727
727
|
e.loadUrl,
|
|
728
728
|
t[i.value.url] || t.attachmentId || t.id
|
|
729
729
|
),
|
|
730
730
|
t[i.value.name] || t.attachmentName
|
|
731
731
|
);
|
|
732
|
-
},
|
|
732
|
+
}, v = V(() => i3.isNumber(e.width) ? `${e.width}px` : e.width), g = V(() => e.list.map((t) => ({
|
|
733
733
|
...t,
|
|
734
734
|
name: t[i.value.name] || t.attachmentName,
|
|
735
735
|
size: t[i.value.size] || t.fileSize || t.attachmentSize,
|
|
736
736
|
suffix: t[i.value.suffix] || t.attachmentSuffix
|
|
737
737
|
})));
|
|
738
738
|
return (t, d) => {
|
|
739
|
-
var
|
|
740
|
-
return
|
|
741
|
-
|
|
739
|
+
var h;
|
|
740
|
+
return r(), u(
|
|
741
|
+
M,
|
|
742
742
|
null,
|
|
743
743
|
[
|
|
744
|
-
(
|
|
745
|
-
|
|
744
|
+
(h = n.list) != null && h.length ? (r(!0), u(
|
|
745
|
+
M,
|
|
746
746
|
{ key: 0 },
|
|
747
|
-
|
|
747
|
+
A(g.value, (p, m) => {
|
|
748
748
|
var f;
|
|
749
|
-
return
|
|
749
|
+
return r(), u(
|
|
750
750
|
"div",
|
|
751
751
|
{
|
|
752
|
-
class:
|
|
752
|
+
class: b(["iking-privew-annex", { "is-bg": n.showBg }]),
|
|
753
753
|
key: m,
|
|
754
|
-
style:
|
|
754
|
+
style: k({
|
|
755
755
|
marginBottom: m == ((f = n.list) == null ? void 0 : f.length) - 1 ? "0" : "10px",
|
|
756
|
-
width:
|
|
756
|
+
width: v.value
|
|
757
757
|
})
|
|
758
758
|
},
|
|
759
759
|
[
|
|
760
|
-
|
|
760
|
+
c("div", {
|
|
761
761
|
class: "file-card",
|
|
762
|
-
onClick: (
|
|
762
|
+
onClick: (x) => s(p)
|
|
763
763
|
}, [
|
|
764
|
-
|
|
764
|
+
_(p6, {
|
|
765
765
|
file: p,
|
|
766
|
-
style:
|
|
766
|
+
style: k({ height: `${n.iconSize}px` }),
|
|
767
767
|
class: "ikui-w-auto",
|
|
768
768
|
fields: i.value
|
|
769
769
|
}, null, 8, ["file", "style", "fields"]),
|
|
770
|
-
|
|
771
|
-
|
|
770
|
+
c("div", v6, [
|
|
771
|
+
c(
|
|
772
772
|
"div",
|
|
773
|
-
|
|
774
|
-
|
|
773
|
+
g6,
|
|
774
|
+
B(p.name),
|
|
775
775
|
1
|
|
776
776
|
/* TEXT */
|
|
777
777
|
),
|
|
778
|
-
|
|
778
|
+
c(
|
|
779
779
|
"div",
|
|
780
|
-
|
|
781
|
-
|
|
780
|
+
m6,
|
|
781
|
+
B(y(r3)(p.size)),
|
|
782
782
|
1
|
|
783
783
|
/* TEXT */
|
|
784
784
|
)
|
|
785
785
|
]),
|
|
786
|
-
|
|
786
|
+
c(
|
|
787
787
|
"div",
|
|
788
788
|
{
|
|
789
|
-
class:
|
|
789
|
+
class: b(["flex flex-center", { "hover-show": n.iconHoverShow }])
|
|
790
790
|
},
|
|
791
791
|
[
|
|
792
|
-
y(
|
|
792
|
+
_(y(I), {
|
|
793
793
|
name: "iksvg_daochu",
|
|
794
|
-
onClick:
|
|
794
|
+
onClick: Y((x) => a(p), ["stop"]),
|
|
795
795
|
bg: n.showBg,
|
|
796
796
|
size: n.showBg ? "default" : 20
|
|
797
797
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
798
|
-
y(
|
|
798
|
+
_(y(I), {
|
|
799
799
|
name: "iksvg_yulan",
|
|
800
800
|
bg: n.showBg,
|
|
801
801
|
size: n.showBg ? "default" : 20
|
|
802
802
|
}, null, 8, ["bg", "size"]),
|
|
803
|
-
|
|
803
|
+
D(t.$slots, "operation", {
|
|
804
804
|
data: { ...p, findex: m }
|
|
805
805
|
})
|
|
806
806
|
],
|
|
807
807
|
2
|
|
808
808
|
/* CLASS */
|
|
809
809
|
)
|
|
810
|
-
], 8,
|
|
810
|
+
], 8, h6)
|
|
811
811
|
],
|
|
812
812
|
6
|
|
813
813
|
/* CLASS, STYLE */
|
|
@@ -815,8 +815,8 @@ const G = (n, e) => {
|
|
|
815
815
|
}),
|
|
816
816
|
128
|
|
817
817
|
/* KEYED_FRAGMENT */
|
|
818
|
-
)) :
|
|
819
|
-
y(
|
|
818
|
+
)) : S("v-if", !0),
|
|
819
|
+
_(y(k6), {
|
|
820
820
|
show: o.value,
|
|
821
821
|
"onUpdate:show": d[0] || (d[0] = (p) => o.value = p),
|
|
822
822
|
loadUrl: n.loadUrl,
|
|
@@ -832,9 +832,9 @@ const G = (n, e) => {
|
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
834
|
});
|
|
835
|
-
const
|
|
835
|
+
const y6 = $(w6), _6 = /* @__PURE__ */ z({
|
|
836
836
|
__name: "IkPreviewFileDialog",
|
|
837
|
-
props: /* @__PURE__ */
|
|
837
|
+
props: /* @__PURE__ */ W({
|
|
838
838
|
file: {
|
|
839
839
|
type: Object,
|
|
840
840
|
default: () => []
|
|
@@ -869,54 +869,57 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
|
|
|
869
869
|
}),
|
|
870
870
|
emits: ["update:show"],
|
|
871
871
|
setup(n) {
|
|
872
|
-
const e = n, i =
|
|
872
|
+
const e = n, i = N(n, "show"), l = V(() => ({
|
|
873
873
|
name: "name",
|
|
874
874
|
url: "url",
|
|
875
875
|
suffix: "suffix",
|
|
876
876
|
size: "fileSize",
|
|
877
877
|
...e.field
|
|
878
|
-
})), o =
|
|
878
|
+
})), o = F(null), s = F(null), a = Z({
|
|
879
879
|
image: !1,
|
|
880
880
|
office: !1,
|
|
881
881
|
video: !1
|
|
882
|
-
}),
|
|
883
|
-
var d,
|
|
882
|
+
}), v = (t) => {
|
|
883
|
+
var d, h, p, m, f, x;
|
|
884
884
|
try {
|
|
885
|
-
const
|
|
885
|
+
const w = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || t, P = w[l.value.url] || (w == null ? void 0 : w.id) || w.attachmentId, O = (h = w[l.value.suffix] || w.attachmentSuffix) == null ? void 0 : h.toLowerCase(), X = w[l.value.name] || (w == null ? void 0 : w.attachmentName);
|
|
886
886
|
if (s.value = {
|
|
887
887
|
...t,
|
|
888
888
|
name: t[l.value.name],
|
|
889
|
-
url:
|
|
889
|
+
url: E(e.loadUrl, P)
|
|
890
890
|
}, t && G(t, l.value) === "image") {
|
|
891
891
|
a.image = !0;
|
|
892
892
|
return;
|
|
893
|
-
} else if (e.onlyOfficeAccept.includes(
|
|
893
|
+
} else if (e.onlyOfficeAccept.includes(O)) {
|
|
894
894
|
a.office = !0, o.value = {
|
|
895
|
-
|
|
896
|
-
document: {
|
|
897
|
-
key: o3(),
|
|
898
|
-
title: b,
|
|
899
|
-
url: q(e.loadUrl, m),
|
|
900
|
-
fileType: f
|
|
901
|
-
},
|
|
895
|
+
...e.onlyOfficeConfig,
|
|
902
896
|
editorConfig: {
|
|
897
|
+
...((p = e.onlyOfficeConfig) == null ? void 0 : p.editorConfig) || {},
|
|
903
898
|
customization: {
|
|
899
|
+
...((f = (m = e.onlyOfficeConfig) == null ? void 0 : m.editorConfig) == null ? void 0 : f.customization) || {},
|
|
904
900
|
review: {
|
|
905
901
|
reviewDisplay: "final"
|
|
906
902
|
}
|
|
907
903
|
}
|
|
908
904
|
},
|
|
909
|
-
|
|
905
|
+
document: {
|
|
906
|
+
key: l3(),
|
|
907
|
+
title: X,
|
|
908
|
+
url: E(e.loadUrl, P),
|
|
909
|
+
fileType: O,
|
|
910
|
+
...((x = e.onlyOfficeConfig) == null ? void 0 : x.document) || {}
|
|
911
|
+
},
|
|
912
|
+
documentType: u3(O)
|
|
910
913
|
};
|
|
911
914
|
return;
|
|
912
915
|
}
|
|
913
|
-
} catch (
|
|
914
|
-
console.info("预览错误: ",
|
|
916
|
+
} catch (w) {
|
|
917
|
+
console.info("预览错误: ", w);
|
|
915
918
|
}
|
|
916
919
|
};
|
|
917
|
-
|
|
918
|
-
t &&
|
|
919
|
-
|
|
920
|
+
K([i, e.file], ([t, d]) => {
|
|
921
|
+
t && J(() => {
|
|
922
|
+
v(e.file);
|
|
920
923
|
});
|
|
921
924
|
});
|
|
922
925
|
const g = () => {
|
|
@@ -924,21 +927,21 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
|
|
|
924
927
|
};
|
|
925
928
|
return (t, d) => {
|
|
926
929
|
var p, m;
|
|
927
|
-
const
|
|
928
|
-
return i.value ? (
|
|
929
|
-
|
|
930
|
+
const h = q("el-image-viewer");
|
|
931
|
+
return i.value ? (r(), u(
|
|
932
|
+
M,
|
|
930
933
|
{ key: 0 },
|
|
931
934
|
[
|
|
932
|
-
(p = s.value) != null && p.url && a.image ? (
|
|
935
|
+
(p = s.value) != null && p.url && a.image ? (r(), R(h, {
|
|
933
936
|
key: 0,
|
|
934
937
|
onClose: d[0] || (d[0] = (f) => {
|
|
935
938
|
s.value = null, a.image = !1;
|
|
936
939
|
}),
|
|
937
940
|
ref: "previewImgRef",
|
|
938
941
|
"url-list": [(m = s.value) == null ? void 0 : m.url]
|
|
939
|
-
}, null, 8, ["url-list"])) :
|
|
940
|
-
|
|
941
|
-
y(
|
|
942
|
+
}, null, 8, ["url-list"])) : S("v-if", !0),
|
|
943
|
+
S(" 文档类 "),
|
|
944
|
+
_(y(E6), {
|
|
942
945
|
modelValue: a.office,
|
|
943
946
|
"onUpdate:modelValue": d[1] || (d[1] = (f) => a.office = f),
|
|
944
947
|
draggable: "",
|
|
@@ -953,8 +956,8 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
|
|
|
953
956
|
onClose: g,
|
|
954
957
|
"modal-class": "ik-only-preview-dialog"
|
|
955
958
|
}, {
|
|
956
|
-
default:
|
|
957
|
-
y(
|
|
959
|
+
default: C(() => [
|
|
960
|
+
_(y(j6), {
|
|
958
961
|
configOptions: o.value,
|
|
959
962
|
documentServerUrl: n.onlyofficeServer,
|
|
960
963
|
mode: "view"
|
|
@@ -966,22 +969,22 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
|
|
|
966
969
|
],
|
|
967
970
|
64
|
|
968
971
|
/* STABLE_FRAGMENT */
|
|
969
|
-
)) :
|
|
972
|
+
)) : S("v-if", !0);
|
|
970
973
|
};
|
|
971
974
|
}
|
|
972
975
|
});
|
|
973
|
-
const
|
|
976
|
+
const k6 = $(_6), z6 = {
|
|
974
977
|
key: 0,
|
|
975
978
|
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
|
|
976
|
-
},
|
|
979
|
+
}, F6 = {
|
|
977
980
|
key: 1,
|
|
978
981
|
class: "h-[1em] w-[1em]",
|
|
979
982
|
"aria-hidden": "true"
|
|
980
|
-
},
|
|
983
|
+
}, x6 = ["xlink:href"], b6 = ["src"], S6 = {
|
|
981
984
|
key: 1,
|
|
982
985
|
class: "h-[1em] w-[1em]",
|
|
983
986
|
"aria-hidden": "true"
|
|
984
|
-
},
|
|
987
|
+
}, C6 = ["xlink:href"], V6 = ["src"], B6 = /* @__PURE__ */ z({
|
|
985
988
|
name: "IkSvgIcon",
|
|
986
989
|
__name: "index",
|
|
987
990
|
props: {
|
|
@@ -1008,10 +1011,10 @@ const w6 = R(m6), y6 = {
|
|
|
1008
1011
|
tableIconType: { default: "icon" }
|
|
1009
1012
|
},
|
|
1010
1013
|
setup(n) {
|
|
1011
|
-
const e = n, i =
|
|
1014
|
+
const e = n, i = V(() => {
|
|
1012
1015
|
var o, s, a;
|
|
1013
1016
|
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 =
|
|
1017
|
+
}), l = V(() => {
|
|
1015
1018
|
const o = [];
|
|
1016
1019
|
if (e.flip)
|
|
1017
1020
|
switch (e.flip) {
|
|
@@ -1033,19 +1036,19 @@ const w6 = R(m6), y6 = {
|
|
|
1033
1036
|
padding: e.showBg || e.bg ? e.padding : 0,
|
|
1034
1037
|
...e.color && i.value !== "iksig" ? {
|
|
1035
1038
|
"--ik-color-icon-dark": e.color,
|
|
1036
|
-
"--ik-color-icon-light": e.colorLight ||
|
|
1039
|
+
"--ik-color-icon-light": e.colorLight || a3.setOpacity(e.color, e.opacity)
|
|
1037
1040
|
} : {}
|
|
1038
1041
|
};
|
|
1039
1042
|
return e.width && (s.width = s.height = typeof e.width == "number" ? `${e.width}px` : e.width), s;
|
|
1040
1043
|
});
|
|
1041
1044
|
return (o, s) => {
|
|
1042
|
-
const a =
|
|
1043
|
-
return o.tableIconType === "icon" ? (
|
|
1044
|
-
o.notip || !o.title ? (
|
|
1045
|
+
const a = q("el-tooltip"), v = q("el-button");
|
|
1046
|
+
return o.tableIconType === "icon" ? (r(), u("span", z6, [
|
|
1047
|
+
o.notip || !o.title ? (r(), u(
|
|
1045
1048
|
"i",
|
|
1046
1049
|
{
|
|
1047
1050
|
key: 0,
|
|
1048
|
-
class:
|
|
1051
|
+
class: b(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1049
1052
|
[o.name]: i.value === "unocss",
|
|
1050
1053
|
"show-bg": o.showBg || o.bg,
|
|
1051
1054
|
default: o.size === "default",
|
|
@@ -1058,34 +1061,34 @@ const w6 = R(m6), y6 = {
|
|
|
1058
1061
|
active: o.active,
|
|
1059
1062
|
disabled: o.disabled
|
|
1060
1063
|
}]),
|
|
1061
|
-
style:
|
|
1064
|
+
style: k(l.value)
|
|
1062
1065
|
},
|
|
1063
1066
|
[
|
|
1064
|
-
|
|
1065
|
-
i.value === "iksig" ? (
|
|
1067
|
+
S(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1068
|
+
i.value === "iksig" ? (r(), u(
|
|
1066
1069
|
"i",
|
|
1067
1070
|
{
|
|
1068
1071
|
key: 0,
|
|
1069
|
-
class:
|
|
1070
|
-
style:
|
|
1072
|
+
class: b(`iksig ${o.name}`),
|
|
1073
|
+
style: k(l.value)
|
|
1071
1074
|
},
|
|
1072
1075
|
null,
|
|
1073
1076
|
6
|
|
1074
1077
|
/* CLASS, STYLE */
|
|
1075
|
-
)) : i.value === "svg" ? (
|
|
1076
|
-
|
|
1078
|
+
)) : i.value === "svg" ? (r(), u("svg", F6, [
|
|
1079
|
+
c("use", {
|
|
1077
1080
|
"xlink:href": `#${o.name}`
|
|
1078
|
-
}, null, 8,
|
|
1079
|
-
])) : i.value === "img" ? (
|
|
1081
|
+
}, null, 8, x6)
|
|
1082
|
+
])) : i.value === "img" ? (r(), u("img", {
|
|
1080
1083
|
key: 2,
|
|
1081
1084
|
src: o.name,
|
|
1082
1085
|
class: "h-[1em] w-[1em]"
|
|
1083
|
-
}, null, 8,
|
|
1086
|
+
}, null, 8, b6)) : (r(), u(
|
|
1084
1087
|
"i",
|
|
1085
1088
|
{
|
|
1086
1089
|
key: 3,
|
|
1087
|
-
class:
|
|
1088
|
-
style:
|
|
1090
|
+
class: b(o.name),
|
|
1091
|
+
style: k(l.value)
|
|
1089
1092
|
},
|
|
1090
1093
|
null,
|
|
1091
1094
|
6
|
|
@@ -1094,16 +1097,16 @@ const w6 = R(m6), y6 = {
|
|
|
1094
1097
|
],
|
|
1095
1098
|
6
|
|
1096
1099
|
/* CLASS, STYLE */
|
|
1097
|
-
)) : (
|
|
1100
|
+
)) : (r(), R(a, {
|
|
1098
1101
|
key: 1,
|
|
1099
1102
|
content: o.title,
|
|
1100
1103
|
placement: "top"
|
|
1101
1104
|
}, {
|
|
1102
|
-
default:
|
|
1103
|
-
|
|
1105
|
+
default: C(() => [
|
|
1106
|
+
c(
|
|
1104
1107
|
"i",
|
|
1105
1108
|
{
|
|
1106
|
-
class:
|
|
1109
|
+
class: b(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1107
1110
|
[o.name]: i.value === "unocss",
|
|
1108
1111
|
"show-bg": o.showBg || o.bg,
|
|
1109
1112
|
default: o.size === "default",
|
|
@@ -1115,33 +1118,33 @@ const w6 = R(m6), y6 = {
|
|
|
1115
1118
|
error: o.error || e.type === "error",
|
|
1116
1119
|
active: o.active
|
|
1117
1120
|
}]),
|
|
1118
|
-
style:
|
|
1121
|
+
style: k(l.value)
|
|
1119
1122
|
},
|
|
1120
1123
|
[
|
|
1121
|
-
i.value === "iksig" ? (
|
|
1124
|
+
i.value === "iksig" ? (r(), u(
|
|
1122
1125
|
"i",
|
|
1123
1126
|
{
|
|
1124
1127
|
key: 0,
|
|
1125
|
-
class:
|
|
1126
|
-
style:
|
|
1128
|
+
class: b(`iksig ${o.name}`),
|
|
1129
|
+
style: k(l.value)
|
|
1127
1130
|
},
|
|
1128
1131
|
null,
|
|
1129
1132
|
6
|
|
1130
1133
|
/* CLASS, STYLE */
|
|
1131
|
-
)) : i.value === "svg" ? (
|
|
1132
|
-
|
|
1134
|
+
)) : i.value === "svg" ? (r(), u("svg", S6, [
|
|
1135
|
+
c("use", {
|
|
1133
1136
|
"xlink:href": `#${o.name}`
|
|
1134
|
-
}, null, 8,
|
|
1135
|
-
])) : i.value === "img" ? (
|
|
1137
|
+
}, null, 8, C6)
|
|
1138
|
+
])) : i.value === "img" ? (r(), u("img", {
|
|
1136
1139
|
key: 2,
|
|
1137
1140
|
src: o.name,
|
|
1138
1141
|
class: "h-[1em] w-[1em]"
|
|
1139
|
-
}, null, 8,
|
|
1142
|
+
}, null, 8, V6)) : (r(), u(
|
|
1140
1143
|
"i",
|
|
1141
1144
|
{
|
|
1142
1145
|
key: 3,
|
|
1143
|
-
class:
|
|
1144
|
-
style:
|
|
1146
|
+
class: b(o.name),
|
|
1147
|
+
style: k(l.value)
|
|
1145
1148
|
},
|
|
1146
1149
|
null,
|
|
1147
1150
|
6
|
|
@@ -1155,13 +1158,13 @@ const w6 = R(m6), y6 = {
|
|
|
1155
1158
|
_: 1
|
|
1156
1159
|
/* STABLE */
|
|
1157
1160
|
}, 8, ["content"]))
|
|
1158
|
-
])) : (
|
|
1161
|
+
])) : (r(), R(v, {
|
|
1159
1162
|
key: 1,
|
|
1160
1163
|
type: ["warning", "error"].includes(o.type) ? "danger" : ""
|
|
1161
1164
|
}, {
|
|
1162
|
-
default:
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
+
default: C(() => [
|
|
1166
|
+
U(
|
|
1167
|
+
B(o.title),
|
|
1165
1168
|
1
|
|
1166
1169
|
/* TEXT */
|
|
1167
1170
|
)
|
|
@@ -1172,10 +1175,10 @@ const w6 = R(m6), y6 = {
|
|
|
1172
1175
|
};
|
|
1173
1176
|
}
|
|
1174
1177
|
});
|
|
1175
|
-
const
|
|
1178
|
+
const I6 = /* @__PURE__ */ H(B6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(I6), R6 = {
|
|
1176
1179
|
key: 0,
|
|
1177
1180
|
class: "exit-main-page-maximize"
|
|
1178
|
-
},
|
|
1181
|
+
}, $6 = /* @__PURE__ */ z({
|
|
1179
1182
|
__name: "CloseIcon",
|
|
1180
1183
|
props: {
|
|
1181
1184
|
showBg: {
|
|
@@ -1188,15 +1191,15 @@ const C6 = /* @__PURE__ */ E(S6, [["__scopeId", "data-v-7d95dbf5"]]), B = R(C6),
|
|
|
1188
1191
|
}
|
|
1189
1192
|
},
|
|
1190
1193
|
setup(n) {
|
|
1191
|
-
return (e, i) => (
|
|
1192
|
-
n.showBg && n.fullscreen ? (
|
|
1193
|
-
y(
|
|
1194
|
+
return (e, i) => (r(), u("div", null, [
|
|
1195
|
+
n.showBg && n.fullscreen ? (r(), u("div", R6, [
|
|
1196
|
+
_(y(I), {
|
|
1194
1197
|
name: "iksvg_guanbidanchuang",
|
|
1195
1198
|
title: "关闭",
|
|
1196
1199
|
size: 20,
|
|
1197
1200
|
error: ""
|
|
1198
1201
|
})
|
|
1199
|
-
])) : (
|
|
1202
|
+
])) : (r(), R(y(I), {
|
|
1200
1203
|
key: 1,
|
|
1201
1204
|
error: "",
|
|
1202
1205
|
name: "iksvg_guanbidanchuang",
|
|
@@ -1206,9 +1209,9 @@ const C6 = /* @__PURE__ */ E(S6, [["__scopeId", "data-v-7d95dbf5"]]), B = R(C6),
|
|
|
1206
1209
|
]));
|
|
1207
1210
|
}
|
|
1208
1211
|
});
|
|
1209
|
-
const
|
|
1212
|
+
const D6 = /* @__PURE__ */ H($6, [["__scopeId", "data-v-79f49df8"]]), M6 = { class: "base-header" }, q6 = /* @__PURE__ */ z({
|
|
1210
1213
|
__name: "IkBaseDialog",
|
|
1211
|
-
props: /* @__PURE__ */
|
|
1214
|
+
props: /* @__PURE__ */ W({
|
|
1212
1215
|
title: { default: "" },
|
|
1213
1216
|
cancelText: { default: "取消" },
|
|
1214
1217
|
confirmText: { default: "确认" },
|
|
@@ -1227,64 +1230,64 @@ const I6 = /* @__PURE__ */ E(B6, [["__scopeId", "data-v-79f49df8"]]), R6 = { cla
|
|
|
1227
1230
|
}),
|
|
1228
1231
|
emits: ["update:modelValue"],
|
|
1229
1232
|
setup(n) {
|
|
1230
|
-
const e = n, i =
|
|
1233
|
+
const e = n, i = N(n, "modelValue"), l = F(e.fullscreen), o = () => {
|
|
1231
1234
|
l.value = !l.value;
|
|
1232
|
-
}, s =
|
|
1235
|
+
}, s = z({
|
|
1233
1236
|
setup() {
|
|
1234
|
-
return () =>
|
|
1237
|
+
return () => Q(D6, {
|
|
1235
1238
|
showBg: e.showCloseBg,
|
|
1236
1239
|
fullscreen: e.fullscreen
|
|
1237
1240
|
});
|
|
1238
1241
|
}
|
|
1239
1242
|
});
|
|
1240
|
-
return (a,
|
|
1241
|
-
const g =
|
|
1242
|
-
return
|
|
1243
|
+
return (a, v) => {
|
|
1244
|
+
const g = q("el-dialog");
|
|
1245
|
+
return r(), R(g, e3({
|
|
1243
1246
|
modelValue: i.value,
|
|
1244
|
-
"onUpdate:modelValue":
|
|
1247
|
+
"onUpdate:modelValue": v[0] || (v[0] = (t) => i.value = t)
|
|
1245
1248
|
}, a.$attrs, {
|
|
1246
|
-
"close-icon":
|
|
1249
|
+
"close-icon": y(s),
|
|
1247
1250
|
class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
|
|
1248
1251
|
fullscreen: l.value,
|
|
1249
1252
|
"modal-class": "baseDialog"
|
|
1250
|
-
}),
|
|
1251
|
-
icon:
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1253
|
+
}), t3({
|
|
1254
|
+
icon: C(() => [
|
|
1255
|
+
D(a.$slots, "title", {}, () => [
|
|
1256
|
+
U(
|
|
1257
|
+
B(a.title),
|
|
1255
1258
|
1
|
|
1256
1259
|
/* TEXT */
|
|
1257
1260
|
)
|
|
1258
1261
|
])
|
|
1259
1262
|
]),
|
|
1260
|
-
header:
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1263
|
+
header: C(() => [
|
|
1264
|
+
c("div", M6, [
|
|
1265
|
+
D(a.$slots, "header", {}, () => [
|
|
1266
|
+
U(
|
|
1267
|
+
B(a.title),
|
|
1265
1268
|
1
|
|
1266
1269
|
/* TEXT */
|
|
1267
1270
|
)
|
|
1268
1271
|
])
|
|
1269
1272
|
]),
|
|
1270
|
-
a.$attrs.showClose ? (
|
|
1273
|
+
a.$attrs.showClose ? (r(), R(y(I), {
|
|
1271
1274
|
key: 0,
|
|
1272
1275
|
onClick: o,
|
|
1273
1276
|
name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1274
1277
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1275
1278
|
title: l.value ? "退出全屏" : "全屏"
|
|
1276
|
-
}, null, 8, ["name", "title"])) :
|
|
1279
|
+
}, null, 8, ["name", "title"])) : S("v-if", !0)
|
|
1277
1280
|
]),
|
|
1278
|
-
default:
|
|
1279
|
-
|
|
1281
|
+
default: C(() => [
|
|
1282
|
+
D(a.$slots, "default")
|
|
1280
1283
|
]),
|
|
1281
1284
|
_: 2
|
|
1282
1285
|
/* DYNAMIC */
|
|
1283
1286
|
}, [
|
|
1284
1287
|
a.$slots.footer ? {
|
|
1285
1288
|
name: "footer",
|
|
1286
|
-
fn:
|
|
1287
|
-
|
|
1289
|
+
fn: C(() => [
|
|
1290
|
+
D(a.$slots, "footer")
|
|
1288
1291
|
]),
|
|
1289
1292
|
key: "0"
|
|
1290
1293
|
} : void 0
|
|
@@ -1292,44 +1295,44 @@ const I6 = /* @__PURE__ */ E(B6, [["__scopeId", "data-v-79f49df8"]]), R6 = { cla
|
|
|
1292
1295
|
};
|
|
1293
1296
|
}
|
|
1294
1297
|
});
|
|
1295
|
-
const
|
|
1296
|
-
function
|
|
1298
|
+
const E6 = $(q6);
|
|
1299
|
+
function H6(n, e, i, l) {
|
|
1297
1300
|
function o(s) {
|
|
1298
1301
|
return s instanceof i ? s : new i(function(a) {
|
|
1299
1302
|
a(s);
|
|
1300
1303
|
});
|
|
1301
1304
|
}
|
|
1302
1305
|
return new (i || (i = Promise))(function(s, a) {
|
|
1303
|
-
function
|
|
1306
|
+
function v(d) {
|
|
1304
1307
|
try {
|
|
1305
1308
|
t(l.next(d));
|
|
1306
|
-
} catch (
|
|
1307
|
-
a(
|
|
1309
|
+
} catch (h) {
|
|
1310
|
+
a(h);
|
|
1308
1311
|
}
|
|
1309
1312
|
}
|
|
1310
1313
|
function g(d) {
|
|
1311
1314
|
try {
|
|
1312
1315
|
t(l.throw(d));
|
|
1313
|
-
} catch (
|
|
1314
|
-
a(
|
|
1316
|
+
} catch (h) {
|
|
1317
|
+
a(h);
|
|
1315
1318
|
}
|
|
1316
1319
|
}
|
|
1317
1320
|
function t(d) {
|
|
1318
|
-
d.done ? s(d.value) : o(d.value).then(
|
|
1321
|
+
d.done ? s(d.value) : o(d.value).then(v, g);
|
|
1319
1322
|
}
|
|
1320
1323
|
t((l = l.apply(n, e || [])).next());
|
|
1321
1324
|
});
|
|
1322
1325
|
}
|
|
1323
|
-
function
|
|
1326
|
+
function O6(n, e) {
|
|
1324
1327
|
var i = { label: 0, sent: function() {
|
|
1325
1328
|
if (s[0] & 1)
|
|
1326
1329
|
throw s[1];
|
|
1327
1330
|
return s[1];
|
|
1328
1331
|
}, trys: [], ops: [] }, l, o, s, a;
|
|
1329
|
-
return a = { next:
|
|
1332
|
+
return a = { next: v(0), throw: v(1), return: v(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
|
|
1330
1333
|
return this;
|
|
1331
1334
|
}), a;
|
|
1332
|
-
function
|
|
1335
|
+
function v(t) {
|
|
1333
1336
|
return function(d) {
|
|
1334
1337
|
return g([t, d]);
|
|
1335
1338
|
};
|
|
@@ -1385,9 +1388,9 @@ function q6(n, e) {
|
|
|
1385
1388
|
return { value: t[0] ? t[1] : void 0, done: !0 };
|
|
1386
1389
|
}
|
|
1387
1390
|
}
|
|
1388
|
-
var
|
|
1389
|
-
return
|
|
1390
|
-
return
|
|
1391
|
+
var A6 = function(n, e) {
|
|
1392
|
+
return H6(void 0, void 0, void 0, function() {
|
|
1393
|
+
return O6(this, function(i) {
|
|
1391
1394
|
return [2, new Promise(function(l, o) {
|
|
1392
1395
|
try {
|
|
1393
1396
|
if (window.DocsAPI)
|
|
@@ -1399,13 +1402,13 @@ var E6 = function(n, e) {
|
|
|
1399
1402
|
if (!g) {
|
|
1400
1403
|
if (clearInterval(a), window.DocsAPI)
|
|
1401
1404
|
return l(null);
|
|
1402
|
-
var t =
|
|
1405
|
+
var t = j(e, n, l, o);
|
|
1403
1406
|
s.remove(), document.body.appendChild(t);
|
|
1404
1407
|
}
|
|
1405
1408
|
}, 500);
|
|
1406
1409
|
else {
|
|
1407
|
-
var
|
|
1408
|
-
document.body.appendChild(
|
|
1410
|
+
var v = j(e, n, l, o);
|
|
1411
|
+
document.body.appendChild(v);
|
|
1409
1412
|
}
|
|
1410
1413
|
} catch (g) {
|
|
1411
1414
|
console.error(g);
|
|
@@ -1413,14 +1416,14 @@ var E6 = function(n, e) {
|
|
|
1413
1416
|
})];
|
|
1414
1417
|
});
|
|
1415
1418
|
});
|
|
1416
|
-
},
|
|
1419
|
+
}, j = function(n, e, i, l) {
|
|
1417
1420
|
var o = document.createElement("script");
|
|
1418
1421
|
return o.id = n, o.type = "text/javascript", o.src = e, o.async = !0, o.onload = function() {
|
|
1419
1422
|
o.removeAttribute("loading"), i(null);
|
|
1420
1423
|
}, o.onerror = function(s) {
|
|
1421
1424
|
o.removeAttribute("loading"), l(s);
|
|
1422
1425
|
}, o.setAttribute("loading", ""), o;
|
|
1423
|
-
},
|
|
1426
|
+
}, T = z({
|
|
1424
1427
|
name: "DocumentEditor",
|
|
1425
1428
|
props: {
|
|
1426
1429
|
id: {
|
|
@@ -1475,7 +1478,7 @@ var E6 = function(n, e) {
|
|
|
1475
1478
|
var n = this, e = this.documentServerUrl;
|
|
1476
1479
|
e.endsWith("/") || (e += "/");
|
|
1477
1480
|
var i = "".concat(e, "web-apps/apps/api/documents/api.js");
|
|
1478
|
-
|
|
1481
|
+
A6(i, "onlyoffice-api-script").then(function() {
|
|
1479
1482
|
return n.onLoad();
|
|
1480
1483
|
}).catch(function() {
|
|
1481
1484
|
n.onError(-2);
|
|
@@ -1589,13 +1592,13 @@ var E6 = function(n, e) {
|
|
|
1589
1592
|
}
|
|
1590
1593
|
}
|
|
1591
1594
|
});
|
|
1592
|
-
const
|
|
1593
|
-
function
|
|
1594
|
-
return
|
|
1595
|
+
const U6 = ["id"];
|
|
1596
|
+
function T6(n, e, i, l, o, s) {
|
|
1597
|
+
return r(), u("div", { id: n.id }, null, 8, U6);
|
|
1595
1598
|
}
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
const
|
|
1599
|
+
T.render = T6;
|
|
1600
|
+
T.__file = "src/components/DocumentEditor.vue";
|
|
1601
|
+
const P6 = /* @__PURE__ */ z({
|
|
1599
1602
|
__name: "IkOnlyOffice",
|
|
1600
1603
|
props: {
|
|
1601
1604
|
// 文件服务器的服务的地址
|
|
@@ -1603,80 +1606,33 @@ const A6 = /* @__PURE__ */ k({
|
|
|
1603
1606
|
type: String,
|
|
1604
1607
|
default: ""
|
|
1605
1608
|
},
|
|
1606
|
-
// 当前onlyoffice的模式 (edit 编辑模式 view是查看模式)
|
|
1607
|
-
mode: {
|
|
1608
|
-
type: String,
|
|
1609
|
-
default: ""
|
|
1610
|
-
},
|
|
1611
1609
|
// 配置项
|
|
1612
1610
|
configOptions: {
|
|
1613
1611
|
type: Object,
|
|
1614
1612
|
default: () => {
|
|
1615
1613
|
}
|
|
1616
1614
|
},
|
|
1617
|
-
//
|
|
1615
|
+
// 元素的高度
|
|
1618
1616
|
officeHeight: {
|
|
1619
1617
|
type: String,
|
|
1620
1618
|
default: "100%"
|
|
1621
|
-
},
|
|
1622
|
-
// 加密后的token
|
|
1623
|
-
token: {
|
|
1624
|
-
type: String,
|
|
1625
|
-
default: ""
|
|
1626
1619
|
}
|
|
1627
1620
|
},
|
|
1628
1621
|
setup(n) {
|
|
1629
|
-
|
|
1630
|
-
const e = n, i = z({
|
|
1622
|
+
const e = n, i = F({
|
|
1631
1623
|
width: "100%",
|
|
1632
1624
|
height: "100%",
|
|
1633
|
-
|
|
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
|
|
1625
|
+
...e.configOptions || {}
|
|
1670
1626
|
}), l = () => {
|
|
1671
|
-
console.info("文档加载完成");
|
|
1627
|
+
console.info("文档加载完成", e.configOptions);
|
|
1672
1628
|
};
|
|
1673
|
-
return (
|
|
1629
|
+
return (o, s) => (r(), u(
|
|
1674
1630
|
"div",
|
|
1675
1631
|
{
|
|
1676
|
-
style:
|
|
1632
|
+
style: k({ height: e.officeHeight })
|
|
1677
1633
|
},
|
|
1678
1634
|
[
|
|
1679
|
-
y(
|
|
1635
|
+
_(y(T), {
|
|
1680
1636
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1681
1637
|
ref: "editorRef",
|
|
1682
1638
|
"document-server-url": n.documentServerUrl,
|
|
@@ -1689,22 +1645,22 @@ const A6 = /* @__PURE__ */ k({
|
|
|
1689
1645
|
));
|
|
1690
1646
|
}
|
|
1691
1647
|
});
|
|
1692
|
-
const
|
|
1648
|
+
const L6 = /* @__PURE__ */ H(P6, [["__scopeId", "data-v-fe959cd8"]]), j6 = $(L6), W6 = (n) => (n3("data-v-170abcfc"), n = n(), o3(), n), N6 = {
|
|
1693
1649
|
key: 0,
|
|
1694
1650
|
class: "preview-files"
|
|
1695
|
-
},
|
|
1651
|
+
}, K6 = {
|
|
1696
1652
|
class: "flex",
|
|
1697
1653
|
style: { width: "80%", "align-items": "center" }
|
|
1698
|
-
}, G6 = ["onClick"],
|
|
1654
|
+
}, G6 = ["onClick"], X6 = ["title"], Y6 = { style: { color: "#b8c6d9" } }, Z6 = ["onClick"], J6 = /* @__PURE__ */ W6(() => /* @__PURE__ */ c(
|
|
1699
1655
|
"span",
|
|
1700
1656
|
null,
|
|
1701
1657
|
"预览",
|
|
1702
1658
|
-1
|
|
1703
1659
|
/* HOISTED */
|
|
1704
|
-
)),
|
|
1660
|
+
)), Q6 = {
|
|
1705
1661
|
key: 1,
|
|
1706
1662
|
class: "flex preview-img"
|
|
1707
|
-
},
|
|
1663
|
+
}, ee = /* @__PURE__ */ z({
|
|
1708
1664
|
__name: "IKDetailPreviewFiles",
|
|
1709
1665
|
props: {
|
|
1710
1666
|
// 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
|
|
@@ -1734,78 +1690,78 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
|
|
|
1734
1690
|
}
|
|
1735
1691
|
},
|
|
1736
1692
|
setup(n) {
|
|
1737
|
-
const e = n, i =
|
|
1738
|
-
|
|
1693
|
+
const e = n, i = F(e.fileList);
|
|
1694
|
+
K(
|
|
1739
1695
|
() => e.fileList,
|
|
1740
1696
|
(t) => {
|
|
1741
1697
|
t && (i.value = t);
|
|
1742
1698
|
},
|
|
1743
1699
|
{ immediate: !0 }
|
|
1744
1700
|
);
|
|
1745
|
-
const l =
|
|
1701
|
+
const l = F(!1), o = F({}), s = (t) => {
|
|
1746
1702
|
o.value = {
|
|
1747
1703
|
url: t.url,
|
|
1748
1704
|
name: t.name
|
|
1749
1705
|
// row.originName
|
|
1750
1706
|
}, l.value = !0;
|
|
1751
1707
|
}, a = (t) => {
|
|
1752
|
-
var d,
|
|
1753
|
-
return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "iksvg_pdf" : (
|
|
1754
|
-
},
|
|
1755
|
-
var d,
|
|
1756
|
-
return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "#FA4E4E" : (
|
|
1708
|
+
var d, h, p, m, f;
|
|
1709
|
+
return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "iksvg_pdf" : (h = t == null ? void 0 : t.suffix) != null && h.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";
|
|
1710
|
+
}, v = (t) => {
|
|
1711
|
+
var d, h, p, m, f;
|
|
1712
|
+
return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "#FA4E4E" : (h = t == null ? void 0 : t.suffix) != null && h.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";
|
|
1757
1713
|
}, g = (t) => {
|
|
1758
1714
|
const d = document.createElement("a");
|
|
1759
|
-
d.href =
|
|
1715
|
+
d.href = c3.assembleUrl(e.loadUrl, t.url), d.download = t.name, d.click();
|
|
1760
1716
|
};
|
|
1761
1717
|
return (t, d) => {
|
|
1762
1718
|
var p, m;
|
|
1763
|
-
const
|
|
1764
|
-
return
|
|
1765
|
-
e.fileType === "file" ? (
|
|
1766
|
-
(
|
|
1767
|
-
|
|
1719
|
+
const h = q("el-image");
|
|
1720
|
+
return r(), u("div", null, [
|
|
1721
|
+
e.fileType === "file" ? (r(), u("div", N6, [
|
|
1722
|
+
(r(!0), u(
|
|
1723
|
+
M,
|
|
1768
1724
|
null,
|
|
1769
|
-
|
|
1725
|
+
A(i.value, (f, x) => (r(), u(
|
|
1770
1726
|
"div",
|
|
1771
1727
|
{
|
|
1772
|
-
key:
|
|
1728
|
+
key: x,
|
|
1773
1729
|
class: "files-item",
|
|
1774
|
-
style:
|
|
1730
|
+
style: k({
|
|
1775
1731
|
width: e.fileWidth,
|
|
1776
1732
|
"margin-right": e.fileWidth === "100%" ? "0px" : ""
|
|
1777
1733
|
})
|
|
1778
1734
|
},
|
|
1779
1735
|
[
|
|
1780
|
-
|
|
1781
|
-
y(
|
|
1736
|
+
c("div", K6, [
|
|
1737
|
+
_(y(I), {
|
|
1782
1738
|
name: a(f),
|
|
1783
|
-
style:
|
|
1739
|
+
style: k(`color:${v(f)}`),
|
|
1784
1740
|
size: 36
|
|
1785
1741
|
}, null, 8, ["name", "style"]),
|
|
1786
|
-
|
|
1742
|
+
c("div", {
|
|
1787
1743
|
class: "file-name",
|
|
1788
|
-
onClick: (
|
|
1744
|
+
onClick: (w) => g(f)
|
|
1789
1745
|
}, [
|
|
1790
|
-
|
|
1746
|
+
c("p", {
|
|
1791
1747
|
title: f.name
|
|
1792
|
-
},
|
|
1793
|
-
|
|
1748
|
+
}, B(f.name), 9, X6),
|
|
1749
|
+
c(
|
|
1794
1750
|
"p",
|
|
1795
|
-
|
|
1796
|
-
|
|
1751
|
+
Y6,
|
|
1752
|
+
B((f.size / 1024).toFixed(2)) + "KB",
|
|
1797
1753
|
1
|
|
1798
1754
|
/* TEXT */
|
|
1799
1755
|
)
|
|
1800
1756
|
], 8, G6)
|
|
1801
1757
|
]),
|
|
1802
|
-
|
|
1758
|
+
c("div", {
|
|
1803
1759
|
class: "file-preview",
|
|
1804
|
-
onClick: (
|
|
1760
|
+
onClick: (w) => s(f)
|
|
1805
1761
|
}, [
|
|
1806
|
-
y(
|
|
1807
|
-
|
|
1808
|
-
], 8,
|
|
1762
|
+
_(y(I), { name: "iksvg_yulan" }),
|
|
1763
|
+
J6
|
|
1764
|
+
], 8, Z6)
|
|
1809
1765
|
],
|
|
1810
1766
|
4
|
|
1811
1767
|
/* STYLE */
|
|
@@ -1813,16 +1769,16 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
|
|
|
1813
1769
|
128
|
|
1814
1770
|
/* KEYED_FRAGMENT */
|
|
1815
1771
|
))
|
|
1816
|
-
])) :
|
|
1817
|
-
e.fileType === "img" ? (
|
|
1818
|
-
(
|
|
1819
|
-
|
|
1772
|
+
])) : S("v-if", !0),
|
|
1773
|
+
e.fileType === "img" ? (r(), u("div", Q6, [
|
|
1774
|
+
(r(!0), u(
|
|
1775
|
+
M,
|
|
1820
1776
|
null,
|
|
1821
|
-
|
|
1822
|
-
key:
|
|
1777
|
+
A(i.value, (f, x) => (r(), u("div", {
|
|
1778
|
+
key: x,
|
|
1823
1779
|
class: "preview-img"
|
|
1824
1780
|
}, [
|
|
1825
|
-
|
|
1781
|
+
_(h, {
|
|
1826
1782
|
class: "show-img",
|
|
1827
1783
|
src: n.loadUrl + f.url,
|
|
1828
1784
|
"preview-src-list": [n.loadUrl + f.url],
|
|
@@ -1832,8 +1788,8 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
|
|
|
1832
1788
|
128
|
|
1833
1789
|
/* KEYED_FRAGMENT */
|
|
1834
1790
|
))
|
|
1835
|
-
])) :
|
|
1836
|
-
y(
|
|
1791
|
+
])) : S("v-if", !0),
|
|
1792
|
+
_(y(y6), {
|
|
1837
1793
|
modelValue: l.value,
|
|
1838
1794
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => l.value = f),
|
|
1839
1795
|
"load-url": e.loadUrl,
|
|
@@ -1845,8 +1801,8 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
|
|
|
1845
1801
|
};
|
|
1846
1802
|
}
|
|
1847
1803
|
});
|
|
1848
|
-
const
|
|
1804
|
+
const te = /* @__PURE__ */ H(ee, [["__scopeId", "data-v-170abcfc"]]), ie = $(te);
|
|
1849
1805
|
export {
|
|
1850
|
-
|
|
1851
|
-
|
|
1806
|
+
ie as IKDetailPreviewFiles,
|
|
1807
|
+
ie as default
|
|
1852
1808
|
};
|