iking-web-ui-pro 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IKDetailPreviewFiles/ik.index.es.js +191 -191
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +188 -188
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +1 -0
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +119 -118
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +189 -189
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkOnlyOffice/ik.index.es.js +59 -58
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +121 -121
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +12 -11
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/ik.index.es.js +218 -218
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/index.es.js +2579 -2578
- package/dist/index.umd.js +36 -36
- package/dist/src/components/IkUploadFile/index.d.ts +3 -3
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkUploadImage/index.d.ts +3 -3
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as z, computed as V, openBlock as r, createElementBlock as u, createElementVNode as c, ref as F, Fragment as M, renderList as
|
|
2
|
-
import { paramType as
|
|
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 T, normalizeClass as b, normalizeStyle as k, createVNode as _, toDisplayString as B, unref as y, withModifiers as Z, renderSlot as D, createCommentVNode as S, mergeModels as W, useModel as K, reactive as J, watch as G, nextTick as Q, resolveComponent as q, createBlock as R, withCtx as C, createTextVNode as U, h as e3, mergeProps as t3, createSlots as n3, pushScopeId as o3, popScopeId as i3 } from "vue";
|
|
2
|
+
import { paramType as s3, ikFile as l3, buildUUID as a3, ikColor as c3, ikUrl as r3 } from "iking-utils-pro";
|
|
3
3
|
const $ = (n, e) => {
|
|
4
4
|
if (n.install = (i) => {
|
|
5
5
|
for (const l of [n, ...Object.values(e ?? {})])
|
|
@@ -8,12 +8,12 @@ const $ = (n, e) => {
|
|
|
8
8
|
for (const [i, l] of Object.entries(e))
|
|
9
9
|
n[i] = l;
|
|
10
10
|
return n;
|
|
11
|
-
},
|
|
11
|
+
}, O = (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
|
+
}, d3 = (n, e = 2) => {
|
|
17
17
|
if (n === void 0)
|
|
18
18
|
return "";
|
|
19
19
|
if (n === 0)
|
|
@@ -21,10 +21,10 @@ const $ = (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
|
-
},
|
|
25
|
-
const
|
|
24
|
+
}, H = (n, e) => e ? e.startsWith("http") ? e : `${n || location.origin}${e}` : "";
|
|
25
|
+
const X = (n, e) => {
|
|
26
26
|
var s, a, v, g;
|
|
27
|
-
const i = (s = n == null ? void 0 : n.response) != null && s.data ?
|
|
27
|
+
const i = (s = n == null ? void 0 : n.response) != null && s.data ? j((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) || j(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
|
+
}, u3 = {
|
|
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
|
+
}, j = (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 && u3[i] || "unknow";
|
|
135
|
+
}, f3 = (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
|
+
}, p3 = {
|
|
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
|
+
}, h3 = /* @__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
|
+
), v3 = /* @__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
|
+
), g3 = /* @__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
|
+
), m3 = /* @__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
|
-
p3,
|
|
188
|
+
), w3 = [
|
|
190
189
|
h3,
|
|
191
190
|
v3,
|
|
192
|
-
g3
|
|
193
|
-
|
|
191
|
+
g3,
|
|
192
|
+
m3
|
|
193
|
+
], y3 = {
|
|
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
|
+
}, _3 = /* @__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
|
+
), k3 = /* @__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
|
+
), z3 = [
|
|
224
|
+
_3,
|
|
225
|
+
k3
|
|
226
|
+
], F3 = {
|
|
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
|
+
}, x3 = /* @__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
|
+
), b3 = /* @__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
|
+
), S3 = [
|
|
257
|
+
x3,
|
|
258
|
+
b3
|
|
259
|
+
], C3 = {
|
|
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
|
+
}, V3 = /* @__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
|
+
), B3 = /* @__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
|
+
), I3 = [
|
|
290
|
+
V3,
|
|
291
|
+
B3
|
|
292
|
+
], R3 = {
|
|
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
|
+
}, $3 = /* @__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
|
+
), D3 = /* @__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
|
+
), M3 = [
|
|
323
|
+
$3,
|
|
324
|
+
D3
|
|
325
|
+
], q3 = {
|
|
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
|
+
}, E3 = /* @__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
|
+
), H3 = /* @__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
|
+
), O3 = [
|
|
356
|
+
E3,
|
|
357
|
+
H3
|
|
358
|
+
], A3 = {
|
|
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
|
+
}, T3 = /* @__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",
|
|
@@ -385,10 +385,10 @@ const G = (n, e) => {
|
|
|
385
385
|
null,
|
|
386
386
|
-1
|
|
387
387
|
/* HOISTED */
|
|
388
|
-
),
|
|
389
|
-
|
|
388
|
+
), P3 = [
|
|
389
|
+
T3,
|
|
390
390
|
U3
|
|
391
|
-
],
|
|
391
|
+
], L3 = {
|
|
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
|
+
}, j3 = /* @__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
|
+
), N3 = /* @__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",
|
|
@@ -419,9 +419,9 @@ const G = (n, e) => {
|
|
|
419
419
|
-1
|
|
420
420
|
/* HOISTED */
|
|
421
421
|
), W3 = [
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
],
|
|
422
|
+
j3,
|
|
423
|
+
N3
|
|
424
|
+
], K3 = {
|
|
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
|
+
}, G3 = /* @__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
|
-
),
|
|
444
|
+
), X3 = /* @__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
|
+
), Y3 = /* @__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
|
-
K3,
|
|
465
|
+
), Z3 = [
|
|
467
466
|
G3,
|
|
468
|
-
X3
|
|
469
|
-
|
|
467
|
+
X3,
|
|
468
|
+
Y3
|
|
469
|
+
], J3 = {
|
|
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
|
+
}, Q3 = /* @__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
|
+
), e6 = /* @__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
|
+
), t6 = /* @__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
|
+
), n6 = /* @__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
|
-
J3,
|
|
520
|
+
), o6 = [
|
|
522
521
|
Q3,
|
|
523
522
|
e6,
|
|
524
|
-
t6
|
|
525
|
-
|
|
523
|
+
t6,
|
|
524
|
+
n6
|
|
525
|
+
], i6 = {
|
|
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
|
+
}, s6 = /* @__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
|
+
), l6 = /* @__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
|
+
), a6 = /* @__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
|
-
i6,
|
|
566
|
+
), c6 = [
|
|
568
567
|
s6,
|
|
569
|
-
l6
|
|
570
|
-
|
|
568
|
+
l6,
|
|
569
|
+
a6
|
|
570
|
+
], r6 = {
|
|
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
|
+
}, d6 = /* @__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
|
+
), u6 = /* @__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
|
+
), f6 = /* @__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
|
-
r6,
|
|
610
|
+
), p6 = [
|
|
612
611
|
d6,
|
|
613
|
-
u6
|
|
614
|
-
|
|
612
|
+
u6,
|
|
613
|
+
f6
|
|
614
|
+
], h6 = /* @__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 = V(() => e.file ?
|
|
636
|
-
return (l, o) => i.value === "image" ? (r(), u("svg",
|
|
635
|
+
const e = n, i = V(() => e.file ? X(e.file, e.fields) : e.type);
|
|
636
|
+
return (l, o) => i.value === "image" ? (r(), u("svg", p3, w3)) : i.value === "zip" ? (r(), u("svg", y3, z3)) : i.value === "ppt" ? (r(), u("svg", F3, S3)) : i.value === "word" ? (r(), u("svg", C3, I3)) : i.value === "pdf" ? (r(), u("svg", R3, M3)) : i.value === "txt" ? (r(), u("svg", q3, O3)) : i.value === "audio" ? (r(), u("svg", A3, P3)) : i.value === "video" ? (r(), u("svg", L3, W3)) : i.value === "excel" ? (r(), u("svg", K3, Z3)) : i.value === "exe" ? (r(), u("svg", J3, o6)) : i.value === "json" ? (r(), u("svg", i6, c6)) : (r(), u("svg", r6, p6));
|
|
637
637
|
}
|
|
638
|
-
}),
|
|
638
|
+
}), v6 = ["onClick"], g6 = { class: "text" }, m6 = { class: "fileName" }, w6 = { class: "size" }, y6 = /* @__PURE__ */ z({
|
|
639
639
|
__name: "IkPreviewFile",
|
|
640
640
|
props: {
|
|
641
641
|
list: {
|
|
@@ -716,20 +716,20 @@ const G = (n, e) => {
|
|
|
716
716
|
l.value = {
|
|
717
717
|
...t,
|
|
718
718
|
name: t.name,
|
|
719
|
-
url:
|
|
719
|
+
url: H(
|
|
720
720
|
e.loadUrl,
|
|
721
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
|
+
l3.downloadFile(
|
|
726
|
+
H(
|
|
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
|
-
}, v = V(() =>
|
|
732
|
+
}, v = V(() => s3.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,
|
|
@@ -744,7 +744,7 @@ const G = (n, e) => {
|
|
|
744
744
|
(h = n.list) != null && h.length ? (r(!0), u(
|
|
745
745
|
M,
|
|
746
746
|
{ key: 0 },
|
|
747
|
-
|
|
747
|
+
T(g.value, (p, m) => {
|
|
748
748
|
var f;
|
|
749
749
|
return r(), u(
|
|
750
750
|
"div",
|
|
@@ -761,24 +761,24 @@ const G = (n, e) => {
|
|
|
761
761
|
class: "file-card",
|
|
762
762
|
onClick: (x) => s(p)
|
|
763
763
|
}, [
|
|
764
|
-
_(
|
|
764
|
+
_(h6, {
|
|
765
765
|
file: p,
|
|
766
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
|
-
c("div",
|
|
770
|
+
c("div", g6, [
|
|
771
771
|
c(
|
|
772
772
|
"div",
|
|
773
|
-
|
|
773
|
+
m6,
|
|
774
774
|
B(p.name),
|
|
775
775
|
1
|
|
776
776
|
/* TEXT */
|
|
777
777
|
),
|
|
778
778
|
c(
|
|
779
779
|
"div",
|
|
780
|
-
|
|
781
|
-
B(y(
|
|
780
|
+
w6,
|
|
781
|
+
B(y(d3)(p.size)),
|
|
782
782
|
1
|
|
783
783
|
/* TEXT */
|
|
784
784
|
)
|
|
@@ -791,7 +791,7 @@ const G = (n, e) => {
|
|
|
791
791
|
[
|
|
792
792
|
_(y(I), {
|
|
793
793
|
name: "iksvg_daochu",
|
|
794
|
-
onClick:
|
|
794
|
+
onClick: Z((x) => a(p), ["stop"]),
|
|
795
795
|
bg: n.showBg,
|
|
796
796
|
size: n.showBg ? "default" : 20
|
|
797
797
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
@@ -807,7 +807,7 @@ const G = (n, e) => {
|
|
|
807
807
|
2
|
|
808
808
|
/* CLASS */
|
|
809
809
|
)
|
|
810
|
-
], 8,
|
|
810
|
+
], 8, v6)
|
|
811
811
|
],
|
|
812
812
|
6
|
|
813
813
|
/* CLASS, STYLE */
|
|
@@ -816,7 +816,7 @@ const G = (n, e) => {
|
|
|
816
816
|
128
|
|
817
817
|
/* KEYED_FRAGMENT */
|
|
818
818
|
)) : S("v-if", !0),
|
|
819
|
-
_(y(
|
|
819
|
+
_(y(z6), {
|
|
820
820
|
show: o.value,
|
|
821
821
|
"onUpdate:show": d[0] || (d[0] = (p) => o.value = p),
|
|
822
822
|
loadUrl: n.loadUrl,
|
|
@@ -832,7 +832,7 @@ const G = (n, e) => {
|
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
834
|
});
|
|
835
|
-
const
|
|
835
|
+
const _6 = $(y6), k6 = /* @__PURE__ */ z({
|
|
836
836
|
__name: "IkPreviewFileDialog",
|
|
837
837
|
props: /* @__PURE__ */ W({
|
|
838
838
|
file: {
|
|
@@ -844,12 +844,12 @@ const y6 = $(w6), _6 = /* @__PURE__ */ z({
|
|
|
844
844
|
type: String,
|
|
845
845
|
default: ""
|
|
846
846
|
},
|
|
847
|
-
// 需要onlyoffice预览的文件类型
|
|
847
|
+
// 需要onlyoffice预览的文件类型 - 0.2.3版本后可不填
|
|
848
848
|
onlyOfficeAccept: {
|
|
849
849
|
type: String,
|
|
850
850
|
default: ".pdf,.docx,.doc.ppt,.pptx,.xlsx,.xls,"
|
|
851
851
|
},
|
|
852
|
-
// onlyoffice服务地址
|
|
852
|
+
// onlyoffice服务地址 - 0.2.3版本后可不填
|
|
853
853
|
onlyofficeServer: {
|
|
854
854
|
type: String,
|
|
855
855
|
default: ""
|
|
@@ -869,47 +869,47 @@ const y6 = $(w6), _6 = /* @__PURE__ */ z({
|
|
|
869
869
|
}),
|
|
870
870
|
emits: ["update:show"],
|
|
871
871
|
setup(n) {
|
|
872
|
-
const e = n, i =
|
|
872
|
+
const e = n, i = K(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 = F(null), s = F(null), a =
|
|
878
|
+
})), o = F(null), s = F(null), a = J({
|
|
879
879
|
image: !1,
|
|
880
880
|
office: !1,
|
|
881
881
|
video: !1
|
|
882
882
|
}), v = (t) => {
|
|
883
|
-
var d, h, p, m, f, x;
|
|
883
|
+
var d, h, p, m, f, x, E;
|
|
884
884
|
try {
|
|
885
|
-
const w = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || t,
|
|
885
|
+
const w = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || t, L = w[l.value.url] || (w == null ? void 0 : w.id) || w.attachmentId, A = (h = w[l.value.suffix] || w.attachmentSuffix) == null ? void 0 : h.toLowerCase(), Y = w[l.value.name] || (w == null ? void 0 : w.attachmentName) || (w == null ? void 0 : w.originName);
|
|
886
886
|
if (s.value = {
|
|
887
887
|
...t,
|
|
888
888
|
name: t[l.value.name],
|
|
889
|
-
url:
|
|
890
|
-
}, t &&
|
|
889
|
+
url: H(e.loadUrl, L)
|
|
890
|
+
}, t && X(t, l.value) === "image") {
|
|
891
891
|
a.image = !0;
|
|
892
892
|
return;
|
|
893
|
-
} else if (e.onlyOfficeAccept.includes(
|
|
893
|
+
} else if ((((p = e.onlyOfficeConfig) == null ? void 0 : p.accept) || e.onlyOfficeAccept).includes(A)) {
|
|
894
894
|
a.office = !0, o.value = {
|
|
895
895
|
...e.onlyOfficeConfig,
|
|
896
896
|
editorConfig: {
|
|
897
|
-
...((
|
|
897
|
+
...((m = e.onlyOfficeConfig) == null ? void 0 : m.editorConfig) || {},
|
|
898
898
|
customization: {
|
|
899
|
-
...((
|
|
899
|
+
...((x = (f = e.onlyOfficeConfig) == null ? void 0 : f.editorConfig) == null ? void 0 : x.customization) || {},
|
|
900
900
|
review: {
|
|
901
901
|
reviewDisplay: "final"
|
|
902
902
|
}
|
|
903
903
|
}
|
|
904
904
|
},
|
|
905
905
|
document: {
|
|
906
|
-
key:
|
|
907
|
-
title:
|
|
908
|
-
url:
|
|
909
|
-
fileType:
|
|
910
|
-
...((
|
|
906
|
+
key: a3(),
|
|
907
|
+
title: Y,
|
|
908
|
+
url: H(e.loadUrl, L),
|
|
909
|
+
fileType: A,
|
|
910
|
+
...((E = e.onlyOfficeConfig) == null ? void 0 : E.document) || {}
|
|
911
911
|
},
|
|
912
|
-
documentType:
|
|
912
|
+
documentType: f3(A)
|
|
913
913
|
};
|
|
914
914
|
return;
|
|
915
915
|
}
|
|
@@ -917,8 +917,8 @@ const y6 = $(w6), _6 = /* @__PURE__ */ z({
|
|
|
917
917
|
console.info("预览错误: ", w);
|
|
918
918
|
}
|
|
919
919
|
};
|
|
920
|
-
|
|
921
|
-
t &&
|
|
920
|
+
G([i, e.file], ([t, d]) => {
|
|
921
|
+
t && Q(() => {
|
|
922
922
|
v(e.file);
|
|
923
923
|
});
|
|
924
924
|
});
|
|
@@ -941,7 +941,7 @@ const y6 = $(w6), _6 = /* @__PURE__ */ z({
|
|
|
941
941
|
"url-list": [(m = s.value) == null ? void 0 : m.url]
|
|
942
942
|
}, null, 8, ["url-list"])) : S("v-if", !0),
|
|
943
943
|
S(" 文档类 "),
|
|
944
|
-
_(y(
|
|
944
|
+
_(y(H6), {
|
|
945
945
|
modelValue: a.office,
|
|
946
946
|
"onUpdate:modelValue": d[1] || (d[1] = (f) => a.office = f),
|
|
947
947
|
draggable: "",
|
|
@@ -957,11 +957,10 @@ const y6 = $(w6), _6 = /* @__PURE__ */ z({
|
|
|
957
957
|
"modal-class": "ik-only-preview-dialog"
|
|
958
958
|
}, {
|
|
959
959
|
default: C(() => [
|
|
960
|
-
_(y(
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
}, null, 8, ["configOptions", "documentServerUrl"])
|
|
960
|
+
_(y(N6), {
|
|
961
|
+
"config-options": o.value,
|
|
962
|
+
"document-server-url": n.onlyOfficeConfig.serverUrl || n.onlyofficeServer
|
|
963
|
+
}, null, 8, ["config-options", "document-server-url"])
|
|
965
964
|
]),
|
|
966
965
|
_: 1
|
|
967
966
|
/* STABLE */
|
|
@@ -973,18 +972,18 @@ const y6 = $(w6), _6 = /* @__PURE__ */ z({
|
|
|
973
972
|
};
|
|
974
973
|
}
|
|
975
974
|
});
|
|
976
|
-
const
|
|
975
|
+
const z6 = $(k6), F6 = {
|
|
977
976
|
key: 0,
|
|
978
977
|
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
|
|
979
|
-
},
|
|
978
|
+
}, x6 = {
|
|
980
979
|
key: 1,
|
|
981
980
|
class: "h-[1em] w-[1em]",
|
|
982
981
|
"aria-hidden": "true"
|
|
983
|
-
},
|
|
982
|
+
}, b6 = ["xlink:href"], S6 = ["src"], C6 = {
|
|
984
983
|
key: 1,
|
|
985
984
|
class: "h-[1em] w-[1em]",
|
|
986
985
|
"aria-hidden": "true"
|
|
987
|
-
},
|
|
986
|
+
}, V6 = ["xlink:href"], B6 = ["src"], I6 = /* @__PURE__ */ z({
|
|
988
987
|
name: "IkSvgIcon",
|
|
989
988
|
__name: "index",
|
|
990
989
|
props: {
|
|
@@ -1036,14 +1035,14 @@ const k6 = $(_6), z6 = {
|
|
|
1036
1035
|
padding: e.showBg || e.bg ? e.padding : 0,
|
|
1037
1036
|
...e.color && i.value !== "iksig" ? {
|
|
1038
1037
|
"--ik-color-icon-dark": e.color,
|
|
1039
|
-
"--ik-color-icon-light": e.colorLight ||
|
|
1038
|
+
"--ik-color-icon-light": e.colorLight || c3.setOpacity(e.color, e.opacity)
|
|
1040
1039
|
} : {}
|
|
1041
1040
|
};
|
|
1042
1041
|
return e.width && (s.width = s.height = typeof e.width == "number" ? `${e.width}px` : e.width), s;
|
|
1043
1042
|
});
|
|
1044
1043
|
return (o, s) => {
|
|
1045
1044
|
const a = q("el-tooltip"), v = q("el-button");
|
|
1046
|
-
return o.tableIconType === "icon" ? (r(), u("span",
|
|
1045
|
+
return o.tableIconType === "icon" ? (r(), u("span", F6, [
|
|
1047
1046
|
o.notip || !o.title ? (r(), u(
|
|
1048
1047
|
"i",
|
|
1049
1048
|
{
|
|
@@ -1075,15 +1074,15 @@ const k6 = $(_6), z6 = {
|
|
|
1075
1074
|
null,
|
|
1076
1075
|
6
|
|
1077
1076
|
/* CLASS, STYLE */
|
|
1078
|
-
)) : i.value === "svg" ? (r(), u("svg",
|
|
1077
|
+
)) : i.value === "svg" ? (r(), u("svg", x6, [
|
|
1079
1078
|
c("use", {
|
|
1080
1079
|
"xlink:href": `#${o.name}`
|
|
1081
|
-
}, null, 8,
|
|
1080
|
+
}, null, 8, b6)
|
|
1082
1081
|
])) : i.value === "img" ? (r(), u("img", {
|
|
1083
1082
|
key: 2,
|
|
1084
1083
|
src: o.name,
|
|
1085
1084
|
class: "h-[1em] w-[1em]"
|
|
1086
|
-
}, null, 8,
|
|
1085
|
+
}, null, 8, S6)) : (r(), u(
|
|
1087
1086
|
"i",
|
|
1088
1087
|
{
|
|
1089
1088
|
key: 3,
|
|
@@ -1131,15 +1130,15 @@ const k6 = $(_6), z6 = {
|
|
|
1131
1130
|
null,
|
|
1132
1131
|
6
|
|
1133
1132
|
/* CLASS, STYLE */
|
|
1134
|
-
)) : i.value === "svg" ? (r(), u("svg",
|
|
1133
|
+
)) : i.value === "svg" ? (r(), u("svg", C6, [
|
|
1135
1134
|
c("use", {
|
|
1136
1135
|
"xlink:href": `#${o.name}`
|
|
1137
|
-
}, null, 8,
|
|
1136
|
+
}, null, 8, V6)
|
|
1138
1137
|
])) : i.value === "img" ? (r(), u("img", {
|
|
1139
1138
|
key: 2,
|
|
1140
1139
|
src: o.name,
|
|
1141
1140
|
class: "h-[1em] w-[1em]"
|
|
1142
|
-
}, null, 8,
|
|
1141
|
+
}, null, 8, B6)) : (r(), u(
|
|
1143
1142
|
"i",
|
|
1144
1143
|
{
|
|
1145
1144
|
key: 3,
|
|
@@ -1175,10 +1174,10 @@ const k6 = $(_6), z6 = {
|
|
|
1175
1174
|
};
|
|
1176
1175
|
}
|
|
1177
1176
|
});
|
|
1178
|
-
const
|
|
1177
|
+
const R6 = /* @__PURE__ */ O(I6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(R6), $6 = {
|
|
1179
1178
|
key: 0,
|
|
1180
1179
|
class: "exit-main-page-maximize"
|
|
1181
|
-
},
|
|
1180
|
+
}, D6 = /* @__PURE__ */ z({
|
|
1182
1181
|
__name: "CloseIcon",
|
|
1183
1182
|
props: {
|
|
1184
1183
|
showBg: {
|
|
@@ -1192,7 +1191,7 @@ const I6 = /* @__PURE__ */ H(B6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(I6),
|
|
|
1192
1191
|
},
|
|
1193
1192
|
setup(n) {
|
|
1194
1193
|
return (e, i) => (r(), u("div", null, [
|
|
1195
|
-
n.showBg && n.fullscreen ? (r(), u("div",
|
|
1194
|
+
n.showBg && n.fullscreen ? (r(), u("div", $6, [
|
|
1196
1195
|
_(y(I), {
|
|
1197
1196
|
name: "iksvg_guanbidanchuang",
|
|
1198
1197
|
title: "关闭",
|
|
@@ -1209,7 +1208,7 @@ const I6 = /* @__PURE__ */ H(B6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(I6),
|
|
|
1209
1208
|
]));
|
|
1210
1209
|
}
|
|
1211
1210
|
});
|
|
1212
|
-
const
|
|
1211
|
+
const M6 = /* @__PURE__ */ O(D6, [["__scopeId", "data-v-79f49df8"]]), q6 = { class: "base-header" }, E6 = /* @__PURE__ */ z({
|
|
1213
1212
|
__name: "IkBaseDialog",
|
|
1214
1213
|
props: /* @__PURE__ */ W({
|
|
1215
1214
|
title: { default: "" },
|
|
@@ -1230,11 +1229,11 @@ const D6 = /* @__PURE__ */ H($6, [["__scopeId", "data-v-79f49df8"]]), M6 = { cla
|
|
|
1230
1229
|
}),
|
|
1231
1230
|
emits: ["update:modelValue"],
|
|
1232
1231
|
setup(n) {
|
|
1233
|
-
const e = n, i =
|
|
1232
|
+
const e = n, i = K(n, "modelValue"), l = F(e.fullscreen), o = () => {
|
|
1234
1233
|
l.value = !l.value;
|
|
1235
1234
|
}, s = z({
|
|
1236
1235
|
setup() {
|
|
1237
|
-
return () =>
|
|
1236
|
+
return () => e3(M6, {
|
|
1238
1237
|
showBg: e.showCloseBg,
|
|
1239
1238
|
fullscreen: e.fullscreen
|
|
1240
1239
|
});
|
|
@@ -1242,7 +1241,7 @@ const D6 = /* @__PURE__ */ H($6, [["__scopeId", "data-v-79f49df8"]]), M6 = { cla
|
|
|
1242
1241
|
});
|
|
1243
1242
|
return (a, v) => {
|
|
1244
1243
|
const g = q("el-dialog");
|
|
1245
|
-
return r(), R(g,
|
|
1244
|
+
return r(), R(g, t3({
|
|
1246
1245
|
modelValue: i.value,
|
|
1247
1246
|
"onUpdate:modelValue": v[0] || (v[0] = (t) => i.value = t)
|
|
1248
1247
|
}, a.$attrs, {
|
|
@@ -1250,7 +1249,7 @@ const D6 = /* @__PURE__ */ H($6, [["__scopeId", "data-v-79f49df8"]]), M6 = { cla
|
|
|
1250
1249
|
class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
|
|
1251
1250
|
fullscreen: l.value,
|
|
1252
1251
|
"modal-class": "baseDialog"
|
|
1253
|
-
}),
|
|
1252
|
+
}), n3({
|
|
1254
1253
|
icon: C(() => [
|
|
1255
1254
|
D(a.$slots, "title", {}, () => [
|
|
1256
1255
|
U(
|
|
@@ -1261,7 +1260,7 @@ const D6 = /* @__PURE__ */ H($6, [["__scopeId", "data-v-79f49df8"]]), M6 = { cla
|
|
|
1261
1260
|
])
|
|
1262
1261
|
]),
|
|
1263
1262
|
header: C(() => [
|
|
1264
|
-
c("div",
|
|
1263
|
+
c("div", q6, [
|
|
1265
1264
|
D(a.$slots, "header", {}, () => [
|
|
1266
1265
|
U(
|
|
1267
1266
|
B(a.title),
|
|
@@ -1295,8 +1294,8 @@ const D6 = /* @__PURE__ */ H($6, [["__scopeId", "data-v-79f49df8"]]), M6 = { cla
|
|
|
1295
1294
|
};
|
|
1296
1295
|
}
|
|
1297
1296
|
});
|
|
1298
|
-
const
|
|
1299
|
-
function
|
|
1297
|
+
const H6 = $(E6);
|
|
1298
|
+
function O6(n, e, i, l) {
|
|
1300
1299
|
function o(s) {
|
|
1301
1300
|
return s instanceof i ? s : new i(function(a) {
|
|
1302
1301
|
a(s);
|
|
@@ -1323,7 +1322,7 @@ function H6(n, e, i, l) {
|
|
|
1323
1322
|
t((l = l.apply(n, e || [])).next());
|
|
1324
1323
|
});
|
|
1325
1324
|
}
|
|
1326
|
-
function
|
|
1325
|
+
function A6(n, e) {
|
|
1327
1326
|
var i = { label: 0, sent: function() {
|
|
1328
1327
|
if (s[0] & 1)
|
|
1329
1328
|
throw s[1];
|
|
@@ -1388,9 +1387,9 @@ function O6(n, e) {
|
|
|
1388
1387
|
return { value: t[0] ? t[1] : void 0, done: !0 };
|
|
1389
1388
|
}
|
|
1390
1389
|
}
|
|
1391
|
-
var
|
|
1392
|
-
return
|
|
1393
|
-
return
|
|
1390
|
+
var T6 = function(n, e) {
|
|
1391
|
+
return O6(void 0, void 0, void 0, function() {
|
|
1392
|
+
return A6(this, function(i) {
|
|
1394
1393
|
return [2, new Promise(function(l, o) {
|
|
1395
1394
|
try {
|
|
1396
1395
|
if (window.DocsAPI)
|
|
@@ -1402,12 +1401,12 @@ var A6 = function(n, e) {
|
|
|
1402
1401
|
if (!g) {
|
|
1403
1402
|
if (clearInterval(a), window.DocsAPI)
|
|
1404
1403
|
return l(null);
|
|
1405
|
-
var t =
|
|
1404
|
+
var t = N(e, n, l, o);
|
|
1406
1405
|
s.remove(), document.body.appendChild(t);
|
|
1407
1406
|
}
|
|
1408
1407
|
}, 500);
|
|
1409
1408
|
else {
|
|
1410
|
-
var v =
|
|
1409
|
+
var v = N(e, n, l, o);
|
|
1411
1410
|
document.body.appendChild(v);
|
|
1412
1411
|
}
|
|
1413
1412
|
} catch (g) {
|
|
@@ -1416,14 +1415,14 @@ var A6 = function(n, e) {
|
|
|
1416
1415
|
})];
|
|
1417
1416
|
});
|
|
1418
1417
|
});
|
|
1419
|
-
},
|
|
1418
|
+
}, N = function(n, e, i, l) {
|
|
1420
1419
|
var o = document.createElement("script");
|
|
1421
1420
|
return o.id = n, o.type = "text/javascript", o.src = e, o.async = !0, o.onload = function() {
|
|
1422
1421
|
o.removeAttribute("loading"), i(null);
|
|
1423
1422
|
}, o.onerror = function(s) {
|
|
1424
1423
|
o.removeAttribute("loading"), l(s);
|
|
1425
1424
|
}, o.setAttribute("loading", ""), o;
|
|
1426
|
-
},
|
|
1425
|
+
}, P = z({
|
|
1427
1426
|
name: "DocumentEditor",
|
|
1428
1427
|
props: {
|
|
1429
1428
|
id: {
|
|
@@ -1478,7 +1477,7 @@ var A6 = function(n, e) {
|
|
|
1478
1477
|
var n = this, e = this.documentServerUrl;
|
|
1479
1478
|
e.endsWith("/") || (e += "/");
|
|
1480
1479
|
var i = "".concat(e, "web-apps/apps/api/documents/api.js");
|
|
1481
|
-
|
|
1480
|
+
T6(i, "onlyoffice-api-script").then(function() {
|
|
1482
1481
|
return n.onLoad();
|
|
1483
1482
|
}).catch(function() {
|
|
1484
1483
|
n.onError(-2);
|
|
@@ -1593,12 +1592,12 @@ var A6 = function(n, e) {
|
|
|
1593
1592
|
}
|
|
1594
1593
|
});
|
|
1595
1594
|
const U6 = ["id"];
|
|
1596
|
-
function
|
|
1595
|
+
function P6(n, e, i, l, o, s) {
|
|
1597
1596
|
return r(), u("div", { id: n.id }, null, 8, U6);
|
|
1598
1597
|
}
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
const
|
|
1598
|
+
P.render = P6;
|
|
1599
|
+
P.__file = "src/components/DocumentEditor.vue";
|
|
1600
|
+
const L6 = /* @__PURE__ */ z({
|
|
1602
1601
|
__name: "IkOnlyOffice",
|
|
1603
1602
|
props: {
|
|
1604
1603
|
// 文件服务器的服务的地址
|
|
@@ -1622,7 +1621,8 @@ const P6 = /* @__PURE__ */ z({
|
|
|
1622
1621
|
const e = n, i = F({
|
|
1623
1622
|
width: "100%",
|
|
1624
1623
|
height: "100%",
|
|
1625
|
-
...e.configOptions || {}
|
|
1624
|
+
...e.configOptions || {},
|
|
1625
|
+
...e.configOptions
|
|
1626
1626
|
}), l = () => {
|
|
1627
1627
|
console.info("文档加载完成", e.configOptions);
|
|
1628
1628
|
};
|
|
@@ -1632,7 +1632,7 @@ const P6 = /* @__PURE__ */ z({
|
|
|
1632
1632
|
style: k({ height: e.officeHeight })
|
|
1633
1633
|
},
|
|
1634
1634
|
[
|
|
1635
|
-
_(y(
|
|
1635
|
+
_(y(P), {
|
|
1636
1636
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1637
1637
|
ref: "editorRef",
|
|
1638
1638
|
"document-server-url": n.documentServerUrl,
|
|
@@ -1645,22 +1645,22 @@ const P6 = /* @__PURE__ */ z({
|
|
|
1645
1645
|
));
|
|
1646
1646
|
}
|
|
1647
1647
|
});
|
|
1648
|
-
const
|
|
1648
|
+
const j6 = /* @__PURE__ */ O(L6, [["__scopeId", "data-v-98d51ef9"]]), N6 = $(j6), W6 = (n) => (o3("data-v-170abcfc"), n = n(), i3(), n), K6 = {
|
|
1649
1649
|
key: 0,
|
|
1650
1650
|
class: "preview-files"
|
|
1651
|
-
},
|
|
1651
|
+
}, G6 = {
|
|
1652
1652
|
class: "flex",
|
|
1653
1653
|
style: { width: "80%", "align-items": "center" }
|
|
1654
|
-
},
|
|
1654
|
+
}, X6 = ["onClick"], Y6 = ["title"], Z6 = { style: { color: "#b8c6d9" } }, J6 = ["onClick"], Q6 = /* @__PURE__ */ W6(() => /* @__PURE__ */ c(
|
|
1655
1655
|
"span",
|
|
1656
1656
|
null,
|
|
1657
1657
|
"预览",
|
|
1658
1658
|
-1
|
|
1659
1659
|
/* HOISTED */
|
|
1660
|
-
)),
|
|
1660
|
+
)), ee = {
|
|
1661
1661
|
key: 1,
|
|
1662
1662
|
class: "flex preview-img"
|
|
1663
|
-
},
|
|
1663
|
+
}, te = /* @__PURE__ */ z({
|
|
1664
1664
|
__name: "IKDetailPreviewFiles",
|
|
1665
1665
|
props: {
|
|
1666
1666
|
// 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
|
|
@@ -1691,7 +1691,7 @@ const L6 = /* @__PURE__ */ H(P6, [["__scopeId", "data-v-fe959cd8"]]), j6 = $(L6)
|
|
|
1691
1691
|
},
|
|
1692
1692
|
setup(n) {
|
|
1693
1693
|
const e = n, i = F(e.fileList);
|
|
1694
|
-
|
|
1694
|
+
G(
|
|
1695
1695
|
() => e.fileList,
|
|
1696
1696
|
(t) => {
|
|
1697
1697
|
t && (i.value = t);
|
|
@@ -1712,17 +1712,17 @@ const L6 = /* @__PURE__ */ H(P6, [["__scopeId", "data-v-fe959cd8"]]), j6 = $(L6)
|
|
|
1712
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";
|
|
1713
1713
|
}, g = (t) => {
|
|
1714
1714
|
const d = document.createElement("a");
|
|
1715
|
-
d.href =
|
|
1715
|
+
d.href = r3.assembleUrl(e.loadUrl, t.url), d.download = t.name, d.click();
|
|
1716
1716
|
};
|
|
1717
1717
|
return (t, d) => {
|
|
1718
1718
|
var p, m;
|
|
1719
1719
|
const h = q("el-image");
|
|
1720
1720
|
return r(), u("div", null, [
|
|
1721
|
-
e.fileType === "file" ? (r(), u("div",
|
|
1721
|
+
e.fileType === "file" ? (r(), u("div", K6, [
|
|
1722
1722
|
(r(!0), u(
|
|
1723
1723
|
M,
|
|
1724
1724
|
null,
|
|
1725
|
-
|
|
1725
|
+
T(i.value, (f, x) => (r(), u(
|
|
1726
1726
|
"div",
|
|
1727
1727
|
{
|
|
1728
1728
|
key: x,
|
|
@@ -1733,7 +1733,7 @@ const L6 = /* @__PURE__ */ H(P6, [["__scopeId", "data-v-fe959cd8"]]), j6 = $(L6)
|
|
|
1733
1733
|
})
|
|
1734
1734
|
},
|
|
1735
1735
|
[
|
|
1736
|
-
c("div",
|
|
1736
|
+
c("div", G6, [
|
|
1737
1737
|
_(y(I), {
|
|
1738
1738
|
name: a(f),
|
|
1739
1739
|
style: k(`color:${v(f)}`),
|
|
@@ -1741,27 +1741,27 @@ const L6 = /* @__PURE__ */ H(P6, [["__scopeId", "data-v-fe959cd8"]]), j6 = $(L6)
|
|
|
1741
1741
|
}, null, 8, ["name", "style"]),
|
|
1742
1742
|
c("div", {
|
|
1743
1743
|
class: "file-name",
|
|
1744
|
-
onClick: (
|
|
1744
|
+
onClick: (E) => g(f)
|
|
1745
1745
|
}, [
|
|
1746
1746
|
c("p", {
|
|
1747
1747
|
title: f.name
|
|
1748
|
-
}, B(f.name), 9,
|
|
1748
|
+
}, B(f.name), 9, Y6),
|
|
1749
1749
|
c(
|
|
1750
1750
|
"p",
|
|
1751
|
-
|
|
1751
|
+
Z6,
|
|
1752
1752
|
B((f.size / 1024).toFixed(2)) + "KB",
|
|
1753
1753
|
1
|
|
1754
1754
|
/* TEXT */
|
|
1755
1755
|
)
|
|
1756
|
-
], 8,
|
|
1756
|
+
], 8, X6)
|
|
1757
1757
|
]),
|
|
1758
1758
|
c("div", {
|
|
1759
1759
|
class: "file-preview",
|
|
1760
|
-
onClick: (
|
|
1760
|
+
onClick: (E) => s(f)
|
|
1761
1761
|
}, [
|
|
1762
1762
|
_(y(I), { name: "iksvg_yulan" }),
|
|
1763
|
-
|
|
1764
|
-
], 8,
|
|
1763
|
+
Q6
|
|
1764
|
+
], 8, J6)
|
|
1765
1765
|
],
|
|
1766
1766
|
4
|
|
1767
1767
|
/* STYLE */
|
|
@@ -1770,11 +1770,11 @@ const L6 = /* @__PURE__ */ H(P6, [["__scopeId", "data-v-fe959cd8"]]), j6 = $(L6)
|
|
|
1770
1770
|
/* KEYED_FRAGMENT */
|
|
1771
1771
|
))
|
|
1772
1772
|
])) : S("v-if", !0),
|
|
1773
|
-
e.fileType === "img" ? (r(), u("div",
|
|
1773
|
+
e.fileType === "img" ? (r(), u("div", ee, [
|
|
1774
1774
|
(r(!0), u(
|
|
1775
1775
|
M,
|
|
1776
1776
|
null,
|
|
1777
|
-
|
|
1777
|
+
T(i.value, (f, x) => (r(), u("div", {
|
|
1778
1778
|
key: x,
|
|
1779
1779
|
class: "preview-img"
|
|
1780
1780
|
}, [
|
|
@@ -1789,7 +1789,7 @@ const L6 = /* @__PURE__ */ H(P6, [["__scopeId", "data-v-fe959cd8"]]), j6 = $(L6)
|
|
|
1789
1789
|
/* KEYED_FRAGMENT */
|
|
1790
1790
|
))
|
|
1791
1791
|
])) : S("v-if", !0),
|
|
1792
|
-
_(y(
|
|
1792
|
+
_(y(_6), {
|
|
1793
1793
|
modelValue: l.value,
|
|
1794
1794
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => l.value = f),
|
|
1795
1795
|
"load-url": e.loadUrl,
|
|
@@ -1801,8 +1801,8 @@ const L6 = /* @__PURE__ */ H(P6, [["__scopeId", "data-v-fe959cd8"]]), j6 = $(L6)
|
|
|
1801
1801
|
};
|
|
1802
1802
|
}
|
|
1803
1803
|
});
|
|
1804
|
-
const
|
|
1804
|
+
const ne = /* @__PURE__ */ O(te, [["__scopeId", "data-v-170abcfc"]]), le = $(ne);
|
|
1805
1805
|
export {
|
|
1806
|
-
|
|
1807
|
-
|
|
1806
|
+
le as IKDetailPreviewFiles,
|
|
1807
|
+
le as default
|
|
1808
1808
|
};
|