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