iking-web-ui-pro 0.2.4 → 0.2.6
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 +586 -571
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKDetailPreviewFiles/style.css +1 -1
- package/dist/IKExpandCollapse/ik.index.es.js +123 -120
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +491 -476
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKVerticalStepBar/ik.index.es.js +142 -139
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IKVerticalStepBar/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +756 -741
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +125 -122
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +252 -249
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/style.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +129 -126
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +530 -515
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +196 -193
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/style.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +397 -394
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkMonacoEditor/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +1122 -1119
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +314 -308
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +968 -965
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSchedule/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +148 -145
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkSideText/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +106 -103
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkSvgIcon/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +963 -944
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +265 -253
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/Provider/ik.index.es.js +1611 -0
- package/dist/Provider/ik.index.umd.js +17 -0
- package/dist/index.es.js +38689 -37072
- 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 +66 -0
- package/dist/src/components/Provider/index.d.ts +139 -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,29 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { buildUUID as
|
|
3
|
-
const
|
|
1
|
+
import { inject as S, computed as m, defineComponent as z, mergeModels as W, useModel as G, ref as R, reactive as Y, watch as Z, nextTick as J, resolveComponent as E, openBlock as r, createElementBlock as u, Fragment as T, createBlock as B, createCommentVNode as V, createVNode as b, unref as g, withCtx as C, createElementVNode as c, normalizeClass as F, normalizeStyle as k, createTextVNode as P, toDisplayString as q, h as Q, mergeProps as e3, createSlots as t3, renderSlot as $, renderList as n3, withModifiers as o3 } from "vue";
|
|
2
|
+
import { buildUUID as i3, ikColor as s3, paramType as l3, ikFile as a3 } from "iking-utils-pro";
|
|
3
|
+
const O = (t, n) => {
|
|
4
4
|
if (t.install = (o) => {
|
|
5
|
-
for (const
|
|
6
|
-
o.component(
|
|
7
|
-
},
|
|
8
|
-
for (const [o,
|
|
9
|
-
t[o] =
|
|
5
|
+
for (const e of [t, ...Object.values(n ?? {})])
|
|
6
|
+
o.component(e.name, e);
|
|
7
|
+
}, n)
|
|
8
|
+
for (const [o, e] of Object.entries(n))
|
|
9
|
+
t[o] = e;
|
|
10
10
|
return t;
|
|
11
|
-
},
|
|
11
|
+
}, U = (t, n) => {
|
|
12
12
|
const o = t.__vccOpts || t;
|
|
13
|
-
for (const [
|
|
14
|
-
o[
|
|
13
|
+
for (const [e, l] of n)
|
|
14
|
+
o[e] = l;
|
|
15
15
|
return o;
|
|
16
|
-
},
|
|
16
|
+
}, c3 = (t, n = 2) => {
|
|
17
17
|
if (t === void 0)
|
|
18
18
|
return "";
|
|
19
19
|
if (t === 0)
|
|
20
20
|
return "0 B";
|
|
21
|
-
const o = ["B", "KB", "MB", "GB", "TB"],
|
|
22
|
-
let
|
|
23
|
-
return (
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
const o = ["B", "KB", "MB", "GB", "TB"], e = Math.floor(Math.log(t) / Math.log(1024));
|
|
22
|
+
let l = t / Math.pow(1024, e);
|
|
23
|
+
return (l % 1 === 0 ? l.toFixed(n || 0) : l.toFixed(n)) + " " + o[e];
|
|
24
|
+
}, A = (t, n) => n ? n.startsWith("http") ? n : `${t || location.origin}${n}` : "", r3 = (t) => {
|
|
25
|
+
const n = S("loadUrl"), o = m(() => t.loadUrl || (n == null ? void 0 : n.value)), e = S("uploadUrl"), l = m(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), i = S("token"), s = m(() => t.token || (i == null ? void 0 : i.value)), h = S("onlyofficeConfig"), p = m(() => t.onlyofficeConfig || (h == null ? void 0 : h.value)), a = S("userInfo"), v = m(() => t.userInfo || (a == null ? void 0 : a.value));
|
|
26
|
+
return {
|
|
27
|
+
cLoadUrl: o,
|
|
28
|
+
cUploadUrl: l,
|
|
29
|
+
cToken: s,
|
|
30
|
+
cOnlyofficeConfig: p,
|
|
31
|
+
cUserInfo: v
|
|
32
|
+
};
|
|
33
|
+
}, d3 = r3, K = (t, n) => {
|
|
34
|
+
var i, s, h, p;
|
|
35
|
+
const o = (i = t == null ? void 0 : t.response) != null && i.data ? L((h = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : h.suffix) : ((p = t.raw) == null ? void 0 : p.type) || L(t[n.suffix]), e = o == null ? void 0 : o.toLowerCase(), l = {
|
|
27
36
|
sheet: "excel",
|
|
28
37
|
excel: "excel",
|
|
29
38
|
zip: "zip",
|
|
@@ -39,11 +48,11 @@ const I = (t, e) => {
|
|
|
39
48
|
exe: "exe",
|
|
40
49
|
json: "json"
|
|
41
50
|
};
|
|
42
|
-
for (let
|
|
43
|
-
if (typeof
|
|
44
|
-
return
|
|
51
|
+
for (let a in l)
|
|
52
|
+
if (typeof e == "string" && (e.includes(a) || e === a))
|
|
53
|
+
return l[a];
|
|
45
54
|
return "unknown";
|
|
46
|
-
},
|
|
55
|
+
}, u3 = {
|
|
47
56
|
".doc": "word",
|
|
48
57
|
".docx": "word",
|
|
49
58
|
".docxf": "word",
|
|
@@ -128,15 +137,15 @@ const I = (t, e) => {
|
|
|
128
137
|
".vob": "video",
|
|
129
138
|
".txt": "txt",
|
|
130
139
|
".pdf": "pdf"
|
|
131
|
-
},
|
|
132
|
-
const
|
|
133
|
-
return o &&
|
|
134
|
-
},
|
|
135
|
-
let
|
|
136
|
-
return o.includes(t) && (
|
|
137
|
-
},
|
|
140
|
+
}, L = (t) => {
|
|
141
|
+
const n = t == null ? void 0 : t.toLocaleLowerCase(), o = n != null && n.startsWith(".") ? n : `.${n}`;
|
|
142
|
+
return o && u3[o] || "unknow";
|
|
143
|
+
}, h3 = (t) => {
|
|
144
|
+
let n = "", o = ["doc", "docx"], e = ["xls", "xlsx"], l = ["ppt", "pptx"], i = ["pdf"];
|
|
145
|
+
return o.includes(t) && (n = "word"), e.includes(t) && (n = "cell"), l.includes(t) && (n = "slide"), i.includes(t) && (n = "text-pdf"), n;
|
|
146
|
+
}, v3 = /* @__PURE__ */ z({
|
|
138
147
|
__name: "IkPreviewFileDialog",
|
|
139
|
-
props: /* @__PURE__ */
|
|
148
|
+
props: /* @__PURE__ */ W({
|
|
140
149
|
file: {
|
|
141
150
|
type: Object,
|
|
142
151
|
default: () => []
|
|
@@ -171,47 +180,47 @@ const I = (t, e) => {
|
|
|
171
180
|
}),
|
|
172
181
|
emits: ["update:show"],
|
|
173
182
|
setup(t) {
|
|
174
|
-
const
|
|
183
|
+
const n = t, o = G(t, "show"), e = m(() => ({
|
|
175
184
|
name: "name",
|
|
176
185
|
url: "url",
|
|
177
186
|
suffix: "suffix",
|
|
178
187
|
size: "fileSize",
|
|
179
|
-
...
|
|
180
|
-
})),
|
|
188
|
+
...n.field
|
|
189
|
+
})), l = R(null), i = R(null), s = Y({
|
|
181
190
|
image: !1,
|
|
182
191
|
office: !1,
|
|
183
192
|
video: !1
|
|
184
|
-
}), h = (
|
|
185
|
-
var
|
|
193
|
+
}), h = (a) => {
|
|
194
|
+
var v, d, w, _, y, I, x;
|
|
186
195
|
try {
|
|
187
|
-
const f = ((
|
|
188
|
-
if (
|
|
189
|
-
...
|
|
190
|
-
name:
|
|
191
|
-
url:
|
|
192
|
-
},
|
|
193
|
-
|
|
196
|
+
const f = ((v = a == null ? void 0 : a.response) == null ? void 0 : v.data) || a, M = f[e.value.url] || (f == null ? void 0 : f.id) || f.attachmentId, D = (d = f[e.value.suffix] || f.attachmentSuffix) == null ? void 0 : d.toLowerCase(), X = f[e.value.name] || (f == null ? void 0 : f.attachmentName) || (f == null ? void 0 : f.originName);
|
|
197
|
+
if (i.value = {
|
|
198
|
+
...a,
|
|
199
|
+
name: a[e.value.name],
|
|
200
|
+
url: A(n.loadUrl, M)
|
|
201
|
+
}, a && K(a, e.value) === "image") {
|
|
202
|
+
s.image = !0;
|
|
194
203
|
return;
|
|
195
|
-
} else if ((((
|
|
196
|
-
|
|
197
|
-
...
|
|
204
|
+
} else if ((((w = n.onlyOfficeConfig) == null ? void 0 : w.accept) || n.onlyOfficeAccept).includes(D)) {
|
|
205
|
+
s.office = !0, l.value = {
|
|
206
|
+
...n.onlyOfficeConfig,
|
|
198
207
|
editorConfig: {
|
|
199
|
-
...((
|
|
208
|
+
...((_ = n.onlyOfficeConfig) == null ? void 0 : _.editorConfig) || {},
|
|
200
209
|
customization: {
|
|
201
|
-
...((
|
|
210
|
+
...((I = (y = n.onlyOfficeConfig) == null ? void 0 : y.editorConfig) == null ? void 0 : I.customization) || {},
|
|
202
211
|
review: {
|
|
203
212
|
reviewDisplay: "final"
|
|
204
213
|
}
|
|
205
214
|
}
|
|
206
215
|
},
|
|
207
216
|
document: {
|
|
208
|
-
key:
|
|
209
|
-
title:
|
|
210
|
-
url:
|
|
211
|
-
fileType:
|
|
212
|
-
...((
|
|
217
|
+
key: i3(),
|
|
218
|
+
title: X,
|
|
219
|
+
url: A(n.loadUrl, M),
|
|
220
|
+
fileType: D,
|
|
221
|
+
...((x = n.onlyOfficeConfig) == null ? void 0 : x.document) || {}
|
|
213
222
|
},
|
|
214
|
-
documentType:
|
|
223
|
+
documentType: h3(D)
|
|
215
224
|
};
|
|
216
225
|
return;
|
|
217
226
|
}
|
|
@@ -219,33 +228,33 @@ const I = (t, e) => {
|
|
|
219
228
|
console.info("预览错误: ", f);
|
|
220
229
|
}
|
|
221
230
|
};
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
h(
|
|
231
|
+
Z([o, n.file], ([a, v]) => {
|
|
232
|
+
a && J(() => {
|
|
233
|
+
h(n.file);
|
|
225
234
|
});
|
|
226
235
|
});
|
|
227
236
|
const p = () => {
|
|
228
|
-
o.value = !1,
|
|
237
|
+
o.value = !1, s.office = !1, s.image = !1, s.video = !1;
|
|
229
238
|
};
|
|
230
|
-
return (
|
|
231
|
-
var
|
|
232
|
-
const
|
|
233
|
-
return o.value ? (r(),
|
|
234
|
-
|
|
239
|
+
return (a, v) => {
|
|
240
|
+
var w, _;
|
|
241
|
+
const d = E("el-image-viewer");
|
|
242
|
+
return o.value ? (r(), u(
|
|
243
|
+
T,
|
|
235
244
|
{ key: 0 },
|
|
236
245
|
[
|
|
237
|
-
(
|
|
246
|
+
(w = i.value) != null && w.url && s.image ? (r(), B(d, {
|
|
238
247
|
key: 0,
|
|
239
|
-
onClose:
|
|
240
|
-
|
|
248
|
+
onClose: v[0] || (v[0] = (y) => {
|
|
249
|
+
i.value = null, s.image = !1;
|
|
241
250
|
}),
|
|
242
251
|
ref: "previewImgRef",
|
|
243
|
-
"url-list": [(
|
|
244
|
-
}, null, 8, ["url-list"])) :
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
modelValue:
|
|
248
|
-
"onUpdate:modelValue":
|
|
252
|
+
"url-list": [(_ = i.value) == null ? void 0 : _.url]
|
|
253
|
+
}, null, 8, ["url-list"])) : V("v-if", !0),
|
|
254
|
+
V(" 文档类 "),
|
|
255
|
+
b(g(I6), {
|
|
256
|
+
modelValue: s.office,
|
|
257
|
+
"onUpdate:modelValue": v[1] || (v[1] = (y) => s.office = y),
|
|
249
258
|
draggable: "",
|
|
250
259
|
"no-footer": "",
|
|
251
260
|
"no-header": "",
|
|
@@ -258,23 +267,26 @@ const I = (t, e) => {
|
|
|
258
267
|
onClose: p,
|
|
259
268
|
"modal-class": "ik-only-preview-dialog"
|
|
260
269
|
}, {
|
|
261
|
-
default:
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
270
|
+
default: C(() => {
|
|
271
|
+
var y;
|
|
272
|
+
return [
|
|
273
|
+
b(g(A6), {
|
|
274
|
+
"config-options": l.value,
|
|
275
|
+
"document-server-url": ((y = t.onlyOfficeConfig) == null ? void 0 : y.serverUrl) || t.onlyofficeServer
|
|
276
|
+
}, null, 8, ["config-options", "document-server-url"])
|
|
277
|
+
];
|
|
278
|
+
}),
|
|
267
279
|
_: 1
|
|
268
280
|
/* STABLE */
|
|
269
281
|
}, 8, ["modelValue"])
|
|
270
282
|
],
|
|
271
283
|
64
|
|
272
284
|
/* STABLE_FRAGMENT */
|
|
273
|
-
)) :
|
|
285
|
+
)) : V("v-if", !0);
|
|
274
286
|
};
|
|
275
287
|
}
|
|
276
288
|
});
|
|
277
|
-
const
|
|
289
|
+
const p3 = O(v3), f3 = {
|
|
278
290
|
key: 0,
|
|
279
291
|
t: "1686300059786",
|
|
280
292
|
class: "icon",
|
|
@@ -284,7 +296,7 @@ const u3 = I(d3), h3 = {
|
|
|
284
296
|
"p-id": "7671",
|
|
285
297
|
width: "200",
|
|
286
298
|
height: "200"
|
|
287
|
-
},
|
|
299
|
+
}, g3 = /* @__PURE__ */ c(
|
|
288
300
|
"path",
|
|
289
301
|
{
|
|
290
302
|
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",
|
|
@@ -294,7 +306,7 @@ const u3 = I(d3), h3 = {
|
|
|
294
306
|
null,
|
|
295
307
|
-1
|
|
296
308
|
/* HOISTED */
|
|
297
|
-
),
|
|
309
|
+
), m3 = /* @__PURE__ */ c(
|
|
298
310
|
"path",
|
|
299
311
|
{
|
|
300
312
|
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",
|
|
@@ -304,7 +316,7 @@ const u3 = I(d3), h3 = {
|
|
|
304
316
|
null,
|
|
305
317
|
-1
|
|
306
318
|
/* HOISTED */
|
|
307
|
-
),
|
|
319
|
+
), w3 = /* @__PURE__ */ c(
|
|
308
320
|
"path",
|
|
309
321
|
{
|
|
310
322
|
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",
|
|
@@ -314,7 +326,7 @@ const u3 = I(d3), h3 = {
|
|
|
314
326
|
null,
|
|
315
327
|
-1
|
|
316
328
|
/* HOISTED */
|
|
317
|
-
),
|
|
329
|
+
), _3 = /* @__PURE__ */ c(
|
|
318
330
|
"path",
|
|
319
331
|
{
|
|
320
332
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -324,12 +336,12 @@ const u3 = I(d3), h3 = {
|
|
|
324
336
|
null,
|
|
325
337
|
-1
|
|
326
338
|
/* HOISTED */
|
|
327
|
-
),
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
],
|
|
339
|
+
), y3 = [
|
|
340
|
+
g3,
|
|
341
|
+
m3,
|
|
342
|
+
w3,
|
|
343
|
+
_3
|
|
344
|
+
], x3 = {
|
|
333
345
|
key: 1,
|
|
334
346
|
t: "1686301531714",
|
|
335
347
|
class: "icon",
|
|
@@ -339,7 +351,7 @@ const u3 = I(d3), h3 = {
|
|
|
339
351
|
"p-id": "9067",
|
|
340
352
|
width: "200",
|
|
341
353
|
height: "200"
|
|
342
|
-
},
|
|
354
|
+
}, k3 = /* @__PURE__ */ c(
|
|
343
355
|
"path",
|
|
344
356
|
{
|
|
345
357
|
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",
|
|
@@ -349,7 +361,7 @@ const u3 = I(d3), h3 = {
|
|
|
349
361
|
null,
|
|
350
362
|
-1
|
|
351
363
|
/* HOISTED */
|
|
352
|
-
),
|
|
364
|
+
), z3 = /* @__PURE__ */ c(
|
|
353
365
|
"path",
|
|
354
366
|
{
|
|
355
367
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -359,10 +371,10 @@ const u3 = I(d3), h3 = {
|
|
|
359
371
|
null,
|
|
360
372
|
-1
|
|
361
373
|
/* HOISTED */
|
|
362
|
-
),
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
],
|
|
374
|
+
), F3 = [
|
|
375
|
+
k3,
|
|
376
|
+
z3
|
|
377
|
+
], b3 = {
|
|
366
378
|
key: 2,
|
|
367
379
|
t: "1686300141125",
|
|
368
380
|
class: "icon",
|
|
@@ -372,7 +384,7 @@ const u3 = I(d3), h3 = {
|
|
|
372
384
|
"p-id": "8137",
|
|
373
385
|
width: "200",
|
|
374
386
|
height: "200"
|
|
375
|
-
},
|
|
387
|
+
}, C3 = /* @__PURE__ */ c(
|
|
376
388
|
"path",
|
|
377
389
|
{
|
|
378
390
|
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",
|
|
@@ -382,7 +394,7 @@ const u3 = I(d3), h3 = {
|
|
|
382
394
|
null,
|
|
383
395
|
-1
|
|
384
396
|
/* HOISTED */
|
|
385
|
-
),
|
|
397
|
+
), S3 = /* @__PURE__ */ c(
|
|
386
398
|
"path",
|
|
387
399
|
{
|
|
388
400
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -392,10 +404,10 @@ const u3 = I(d3), h3 = {
|
|
|
392
404
|
null,
|
|
393
405
|
-1
|
|
394
406
|
/* HOISTED */
|
|
395
|
-
),
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
],
|
|
407
|
+
), V3 = [
|
|
408
|
+
C3,
|
|
409
|
+
S3
|
|
410
|
+
], R3 = {
|
|
399
411
|
key: 3,
|
|
400
412
|
t: "1686300157181",
|
|
401
413
|
class: "icon",
|
|
@@ -405,7 +417,7 @@ const u3 = I(d3), h3 = {
|
|
|
405
417
|
"p-id": "8292",
|
|
406
418
|
width: "200",
|
|
407
419
|
height: "200"
|
|
408
|
-
},
|
|
420
|
+
}, B3 = /* @__PURE__ */ c(
|
|
409
421
|
"path",
|
|
410
422
|
{
|
|
411
423
|
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",
|
|
@@ -415,7 +427,7 @@ const u3 = I(d3), h3 = {
|
|
|
415
427
|
null,
|
|
416
428
|
-1
|
|
417
429
|
/* HOISTED */
|
|
418
|
-
),
|
|
430
|
+
), I3 = /* @__PURE__ */ c(
|
|
419
431
|
"path",
|
|
420
432
|
{
|
|
421
433
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -425,10 +437,10 @@ const u3 = I(d3), h3 = {
|
|
|
425
437
|
null,
|
|
426
438
|
-1
|
|
427
439
|
/* HOISTED */
|
|
428
|
-
),
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
],
|
|
440
|
+
), M3 = [
|
|
441
|
+
B3,
|
|
442
|
+
I3
|
|
443
|
+
], D3 = {
|
|
432
444
|
key: 4,
|
|
433
445
|
t: "1686300180947",
|
|
434
446
|
class: "icon",
|
|
@@ -438,7 +450,7 @@ const u3 = I(d3), h3 = {
|
|
|
438
450
|
"p-id": "8447",
|
|
439
451
|
width: "200",
|
|
440
452
|
height: "200"
|
|
441
|
-
},
|
|
453
|
+
}, $3 = /* @__PURE__ */ c(
|
|
442
454
|
"path",
|
|
443
455
|
{
|
|
444
456
|
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",
|
|
@@ -448,7 +460,7 @@ const u3 = I(d3), h3 = {
|
|
|
448
460
|
null,
|
|
449
461
|
-1
|
|
450
462
|
/* HOISTED */
|
|
451
|
-
),
|
|
463
|
+
), q3 = /* @__PURE__ */ c(
|
|
452
464
|
"path",
|
|
453
465
|
{
|
|
454
466
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -458,10 +470,10 @@ const u3 = I(d3), h3 = {
|
|
|
458
470
|
null,
|
|
459
471
|
-1
|
|
460
472
|
/* HOISTED */
|
|
461
|
-
),
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
],
|
|
473
|
+
), H3 = [
|
|
474
|
+
$3,
|
|
475
|
+
q3
|
|
476
|
+
], O3 = {
|
|
465
477
|
key: 5,
|
|
466
478
|
t: "1686300195363",
|
|
467
479
|
class: "icon",
|
|
@@ -471,7 +483,7 @@ const u3 = I(d3), h3 = {
|
|
|
471
483
|
"p-id": "8602",
|
|
472
484
|
width: "200",
|
|
473
485
|
height: "200"
|
|
474
|
-
},
|
|
486
|
+
}, E3 = /* @__PURE__ */ c(
|
|
475
487
|
"path",
|
|
476
488
|
{
|
|
477
489
|
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",
|
|
@@ -481,7 +493,7 @@ const u3 = I(d3), h3 = {
|
|
|
481
493
|
null,
|
|
482
494
|
-1
|
|
483
495
|
/* HOISTED */
|
|
484
|
-
),
|
|
496
|
+
), A3 = /* @__PURE__ */ c(
|
|
485
497
|
"path",
|
|
486
498
|
{
|
|
487
499
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -491,10 +503,10 @@ const u3 = I(d3), h3 = {
|
|
|
491
503
|
null,
|
|
492
504
|
-1
|
|
493
505
|
/* HOISTED */
|
|
494
|
-
),
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
],
|
|
506
|
+
), T3 = [
|
|
507
|
+
E3,
|
|
508
|
+
A3
|
|
509
|
+
], P3 = {
|
|
498
510
|
key: 6,
|
|
499
511
|
t: "1686300209288",
|
|
500
512
|
class: "icon",
|
|
@@ -504,7 +516,7 @@ const u3 = I(d3), h3 = {
|
|
|
504
516
|
"p-id": "8757",
|
|
505
517
|
width: "200",
|
|
506
518
|
height: "200"
|
|
507
|
-
},
|
|
519
|
+
}, U3 = /* @__PURE__ */ c(
|
|
508
520
|
"path",
|
|
509
521
|
{
|
|
510
522
|
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",
|
|
@@ -514,7 +526,7 @@ const u3 = I(d3), h3 = {
|
|
|
514
526
|
null,
|
|
515
527
|
-1
|
|
516
528
|
/* HOISTED */
|
|
517
|
-
),
|
|
529
|
+
), j3 = /* @__PURE__ */ c(
|
|
518
530
|
"path",
|
|
519
531
|
{
|
|
520
532
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -524,10 +536,10 @@ const u3 = I(d3), h3 = {
|
|
|
524
536
|
null,
|
|
525
537
|
-1
|
|
526
538
|
/* HOISTED */
|
|
527
|
-
),
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
],
|
|
539
|
+
), L3 = [
|
|
540
|
+
U3,
|
|
541
|
+
j3
|
|
542
|
+
], N3 = {
|
|
531
543
|
key: 7,
|
|
532
544
|
t: "1686300225262",
|
|
533
545
|
class: "icon",
|
|
@@ -537,7 +549,7 @@ const u3 = I(d3), h3 = {
|
|
|
537
549
|
"p-id": "8912",
|
|
538
550
|
width: "200",
|
|
539
551
|
height: "200"
|
|
540
|
-
},
|
|
552
|
+
}, W3 = /* @__PURE__ */ c(
|
|
541
553
|
"path",
|
|
542
554
|
{
|
|
543
555
|
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",
|
|
@@ -547,7 +559,7 @@ const u3 = I(d3), h3 = {
|
|
|
547
559
|
null,
|
|
548
560
|
-1
|
|
549
561
|
/* HOISTED */
|
|
550
|
-
),
|
|
562
|
+
), G3 = /* @__PURE__ */ c(
|
|
551
563
|
"path",
|
|
552
564
|
{
|
|
553
565
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -557,10 +569,10 @@ const u3 = I(d3), h3 = {
|
|
|
557
569
|
null,
|
|
558
570
|
-1
|
|
559
571
|
/* HOISTED */
|
|
560
|
-
),
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
],
|
|
572
|
+
), K3 = [
|
|
573
|
+
W3,
|
|
574
|
+
G3
|
|
575
|
+
], X3 = {
|
|
564
576
|
key: 8,
|
|
565
577
|
t: "1692251753690",
|
|
566
578
|
class: "icon",
|
|
@@ -570,7 +582,7 @@ const u3 = I(d3), h3 = {
|
|
|
570
582
|
"p-id": "4336",
|
|
571
583
|
width: "200",
|
|
572
584
|
height: "200"
|
|
573
|
-
},
|
|
585
|
+
}, Y3 = /* @__PURE__ */ c(
|
|
574
586
|
"path",
|
|
575
587
|
{
|
|
576
588
|
d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
|
|
@@ -580,7 +592,7 @@ const u3 = I(d3), h3 = {
|
|
|
580
592
|
null,
|
|
581
593
|
-1
|
|
582
594
|
/* HOISTED */
|
|
583
|
-
),
|
|
595
|
+
), Z3 = /* @__PURE__ */ c(
|
|
584
596
|
"path",
|
|
585
597
|
{
|
|
586
598
|
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",
|
|
@@ -591,7 +603,7 @@ const u3 = I(d3), h3 = {
|
|
|
591
603
|
null,
|
|
592
604
|
-1
|
|
593
605
|
/* HOISTED */
|
|
594
|
-
),
|
|
606
|
+
), J3 = /* @__PURE__ */ c(
|
|
595
607
|
"path",
|
|
596
608
|
{
|
|
597
609
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -601,11 +613,11 @@ const u3 = I(d3), h3 = {
|
|
|
601
613
|
null,
|
|
602
614
|
-1
|
|
603
615
|
/* HOISTED */
|
|
604
|
-
),
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
],
|
|
616
|
+
), Q3 = [
|
|
617
|
+
Y3,
|
|
618
|
+
Z3,
|
|
619
|
+
J3
|
|
620
|
+
], e6 = {
|
|
609
621
|
key: 9,
|
|
610
622
|
t: "1692251753690",
|
|
611
623
|
class: "icon",
|
|
@@ -615,7 +627,7 @@ const u3 = I(d3), h3 = {
|
|
|
615
627
|
"p-id": "4336",
|
|
616
628
|
width: "200",
|
|
617
629
|
height: "200"
|
|
618
|
-
},
|
|
630
|
+
}, t6 = /* @__PURE__ */ c(
|
|
619
631
|
"path",
|
|
620
632
|
{
|
|
621
633
|
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",
|
|
@@ -625,7 +637,7 @@ const u3 = I(d3), h3 = {
|
|
|
625
637
|
null,
|
|
626
638
|
-1
|
|
627
639
|
/* HOISTED */
|
|
628
|
-
),
|
|
640
|
+
), n6 = /* @__PURE__ */ c(
|
|
629
641
|
"path",
|
|
630
642
|
{
|
|
631
643
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -635,7 +647,7 @@ const u3 = I(d3), h3 = {
|
|
|
635
647
|
null,
|
|
636
648
|
-1
|
|
637
649
|
/* HOISTED */
|
|
638
|
-
),
|
|
650
|
+
), o6 = /* @__PURE__ */ c(
|
|
639
651
|
"path",
|
|
640
652
|
{
|
|
641
653
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -646,7 +658,7 @@ const u3 = I(d3), h3 = {
|
|
|
646
658
|
null,
|
|
647
659
|
-1
|
|
648
660
|
/* HOISTED */
|
|
649
|
-
),
|
|
661
|
+
), i6 = /* @__PURE__ */ c(
|
|
650
662
|
"path",
|
|
651
663
|
{
|
|
652
664
|
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",
|
|
@@ -656,12 +668,12 @@ const u3 = I(d3), h3 = {
|
|
|
656
668
|
null,
|
|
657
669
|
-1
|
|
658
670
|
/* HOISTED */
|
|
659
|
-
),
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
],
|
|
671
|
+
), s6 = [
|
|
672
|
+
t6,
|
|
673
|
+
n6,
|
|
674
|
+
o6,
|
|
675
|
+
i6
|
|
676
|
+
], l6 = {
|
|
665
677
|
key: 10,
|
|
666
678
|
t: "1714099890925",
|
|
667
679
|
class: "icon",
|
|
@@ -671,7 +683,7 @@ const u3 = I(d3), h3 = {
|
|
|
671
683
|
"p-id": "2271",
|
|
672
684
|
width: "200",
|
|
673
685
|
height: "200"
|
|
674
|
-
},
|
|
686
|
+
}, a6 = /* @__PURE__ */ c(
|
|
675
687
|
"path",
|
|
676
688
|
{
|
|
677
689
|
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",
|
|
@@ -681,7 +693,7 @@ const u3 = I(d3), h3 = {
|
|
|
681
693
|
null,
|
|
682
694
|
-1
|
|
683
695
|
/* HOISTED */
|
|
684
|
-
),
|
|
696
|
+
), c6 = /* @__PURE__ */ c(
|
|
685
697
|
"path",
|
|
686
698
|
{
|
|
687
699
|
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",
|
|
@@ -692,7 +704,7 @@ const u3 = I(d3), h3 = {
|
|
|
692
704
|
null,
|
|
693
705
|
-1
|
|
694
706
|
/* HOISTED */
|
|
695
|
-
),
|
|
707
|
+
), r6 = /* @__PURE__ */ c(
|
|
696
708
|
"path",
|
|
697
709
|
{
|
|
698
710
|
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",
|
|
@@ -702,11 +714,11 @@ const u3 = I(d3), h3 = {
|
|
|
702
714
|
null,
|
|
703
715
|
-1
|
|
704
716
|
/* HOISTED */
|
|
705
|
-
),
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
],
|
|
717
|
+
), d6 = [
|
|
718
|
+
a6,
|
|
719
|
+
c6,
|
|
720
|
+
r6
|
|
721
|
+
], u6 = {
|
|
710
722
|
key: 11,
|
|
711
723
|
t: "1686300037564",
|
|
712
724
|
class: "icon",
|
|
@@ -716,7 +728,7 @@ const u3 = I(d3), h3 = {
|
|
|
716
728
|
"p-id": "7515",
|
|
717
729
|
width: "200",
|
|
718
730
|
height: "200"
|
|
719
|
-
},
|
|
731
|
+
}, h6 = /* @__PURE__ */ c(
|
|
720
732
|
"path",
|
|
721
733
|
{
|
|
722
734
|
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",
|
|
@@ -726,7 +738,7 @@ const u3 = I(d3), h3 = {
|
|
|
726
738
|
null,
|
|
727
739
|
-1
|
|
728
740
|
/* HOISTED */
|
|
729
|
-
),
|
|
741
|
+
), v6 = /* @__PURE__ */ c(
|
|
730
742
|
"path",
|
|
731
743
|
{
|
|
732
744
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -736,7 +748,7 @@ const u3 = I(d3), h3 = {
|
|
|
736
748
|
null,
|
|
737
749
|
-1
|
|
738
750
|
/* HOISTED */
|
|
739
|
-
),
|
|
751
|
+
), p6 = /* @__PURE__ */ c(
|
|
740
752
|
"path",
|
|
741
753
|
{
|
|
742
754
|
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",
|
|
@@ -746,11 +758,11 @@ const u3 = I(d3), h3 = {
|
|
|
746
758
|
null,
|
|
747
759
|
-1
|
|
748
760
|
/* HOISTED */
|
|
749
|
-
),
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
],
|
|
761
|
+
), f6 = [
|
|
762
|
+
h6,
|
|
763
|
+
v6,
|
|
764
|
+
p6
|
|
765
|
+
], g6 = /* @__PURE__ */ z({
|
|
754
766
|
__name: "FileIcon",
|
|
755
767
|
props: {
|
|
756
768
|
type: {
|
|
@@ -771,21 +783,21 @@ const u3 = I(d3), h3 = {
|
|
|
771
783
|
}
|
|
772
784
|
},
|
|
773
785
|
setup(t) {
|
|
774
|
-
const
|
|
775
|
-
return (
|
|
786
|
+
const n = t, o = m(() => n.file ? K(n.file, n.fields) : n.type);
|
|
787
|
+
return (e, l) => o.value === "image" ? (r(), u("svg", f3, y3)) : o.value === "zip" ? (r(), u("svg", x3, F3)) : o.value === "ppt" ? (r(), u("svg", b3, V3)) : o.value === "word" ? (r(), u("svg", R3, M3)) : o.value === "pdf" ? (r(), u("svg", D3, H3)) : o.value === "txt" ? (r(), u("svg", O3, T3)) : o.value === "audio" ? (r(), u("svg", P3, L3)) : o.value === "video" ? (r(), u("svg", N3, K3)) : o.value === "excel" ? (r(), u("svg", X3, Q3)) : o.value === "exe" ? (r(), u("svg", e6, s6)) : o.value === "json" ? (r(), u("svg", l6, d6)) : (r(), u("svg", u6, f6));
|
|
776
788
|
}
|
|
777
|
-
}),
|
|
789
|
+
}), m6 = {
|
|
778
790
|
key: 0,
|
|
779
791
|
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
|
|
780
|
-
},
|
|
792
|
+
}, w6 = {
|
|
781
793
|
key: 1,
|
|
782
794
|
class: "h-[1em] w-[1em]",
|
|
783
795
|
"aria-hidden": "true"
|
|
784
|
-
},
|
|
796
|
+
}, _6 = ["xlink:href"], y6 = ["src"], x6 = {
|
|
785
797
|
key: 1,
|
|
786
798
|
class: "h-[1em] w-[1em]",
|
|
787
799
|
"aria-hidden": "true"
|
|
788
|
-
},
|
|
800
|
+
}, k6 = ["xlink:href"], z6 = ["src"], F6 = /* @__PURE__ */ z({
|
|
789
801
|
name: "IkSvgIcon",
|
|
790
802
|
__name: "index",
|
|
791
803
|
props: {
|
|
@@ -812,84 +824,87 @@ const u3 = I(d3), h3 = {
|
|
|
812
824
|
tableIconType: { default: "icon" }
|
|
813
825
|
},
|
|
814
826
|
setup(t) {
|
|
815
|
-
const
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
}), l =
|
|
819
|
-
const
|
|
820
|
-
|
|
821
|
-
|
|
827
|
+
const n = t, o = S("iconConfig"), e = m(() => ({
|
|
828
|
+
...(o == null ? void 0 : o.value) || {},
|
|
829
|
+
...n
|
|
830
|
+
})), l = m(() => {
|
|
831
|
+
const { name: s } = e.value;
|
|
832
|
+
return /^http?:\/\//.test(s) ? "img" : /i-[^:]+:[^:]+/.test(s) ? "unocss" : s != null && s.startsWith("iksig") ? "iksig" : s != null && s.includes(":") ? "iconify" : s != null && s.startsWith("iksvg") ? "svg" : "i";
|
|
833
|
+
}), i = m(() => {
|
|
834
|
+
const s = [];
|
|
835
|
+
if (e.value.flip)
|
|
836
|
+
switch (e.value.flip) {
|
|
822
837
|
case "horizontal":
|
|
823
|
-
|
|
838
|
+
s.push("rotateY(180deg)");
|
|
824
839
|
break;
|
|
825
840
|
case "vertical":
|
|
826
|
-
|
|
841
|
+
s.push("rotateX(180deg)");
|
|
827
842
|
break;
|
|
828
843
|
case "both":
|
|
829
|
-
|
|
844
|
+
s.push("rotateX(180deg)"), s.push("rotateY(180deg)");
|
|
830
845
|
break;
|
|
831
846
|
}
|
|
832
|
-
e.rotate &&
|
|
833
|
-
const
|
|
834
|
-
...e.color && { color: e.color },
|
|
835
|
-
...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
|
|
836
|
-
...
|
|
837
|
-
padding: e.showBg || e.bg ? e.padding : 0,
|
|
838
|
-
...e.color &&
|
|
839
|
-
"--ik-color-icon-dark": e.color,
|
|
840
|
-
"--ik-color-icon-light": e.colorLight ||
|
|
847
|
+
e.value.rotate && s.push(`rotate(${e.value.rotate % 360}deg)`);
|
|
848
|
+
const h = {
|
|
849
|
+
...e.value.color && { color: e.value.color },
|
|
850
|
+
...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
|
|
851
|
+
...s.length && { transform: s.join(" ") },
|
|
852
|
+
padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
|
|
853
|
+
...e.value.color && l.value !== "iksig" ? {
|
|
854
|
+
"--ik-color-icon-dark": e.value.color,
|
|
855
|
+
"--ik-color-icon-light": e.value.colorLight || s3.setOpacity(e.value.color, e.value.opacity)
|
|
841
856
|
} : {}
|
|
842
857
|
};
|
|
843
|
-
return e.width && (
|
|
858
|
+
return e.value.width && (h.width = h.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), h;
|
|
844
859
|
});
|
|
845
|
-
return (
|
|
846
|
-
const
|
|
847
|
-
return
|
|
848
|
-
|
|
860
|
+
return (s, h) => {
|
|
861
|
+
const p = E("el-tooltip"), a = E("el-button");
|
|
862
|
+
return e.value.tableIconType === "icon" ? (r(), u("span", m6, [
|
|
863
|
+
e.value.notip || !e.value.title ? (r(), u(
|
|
849
864
|
"i",
|
|
850
865
|
{
|
|
851
866
|
key: 0,
|
|
852
|
-
class:
|
|
853
|
-
[
|
|
854
|
-
"show-bg":
|
|
855
|
-
default:
|
|
856
|
-
small:
|
|
857
|
-
big:
|
|
858
|
-
warning:
|
|
859
|
-
primary:
|
|
860
|
-
success:
|
|
861
|
-
error:
|
|
862
|
-
active:
|
|
863
|
-
disabled:
|
|
867
|
+
class: F(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
868
|
+
[s.name]: l.value === "unocss",
|
|
869
|
+
"show-bg": e.value.showBg || e.value.bg,
|
|
870
|
+
default: e.value.size === "default",
|
|
871
|
+
small: e.value.size === "small",
|
|
872
|
+
big: e.value.size === "big",
|
|
873
|
+
warning: e.value.warning || e.value.type === "warning",
|
|
874
|
+
primary: e.value.primary || e.value.type === "primary",
|
|
875
|
+
success: s.success || e.value.type === "success",
|
|
876
|
+
error: e.value.error || e.value.type === "error",
|
|
877
|
+
active: e.value.active,
|
|
878
|
+
disabled: e.value.disabled
|
|
864
879
|
}]),
|
|
865
|
-
style:
|
|
880
|
+
style: k(i.value)
|
|
866
881
|
},
|
|
867
882
|
[
|
|
868
|
-
|
|
869
|
-
|
|
883
|
+
V(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
884
|
+
l.value === "iksig" ? (r(), u(
|
|
870
885
|
"i",
|
|
871
886
|
{
|
|
872
887
|
key: 0,
|
|
873
|
-
class:
|
|
874
|
-
style:
|
|
888
|
+
class: F(`iksig ${e.value.name}`),
|
|
889
|
+
style: k(i.value)
|
|
875
890
|
},
|
|
876
891
|
null,
|
|
877
892
|
6
|
|
878
893
|
/* CLASS, STYLE */
|
|
879
|
-
)) :
|
|
894
|
+
)) : l.value === "svg" ? (r(), u("svg", w6, [
|
|
880
895
|
c("use", {
|
|
881
|
-
"xlink:href": `#${
|
|
882
|
-
}, null, 8,
|
|
883
|
-
])) :
|
|
896
|
+
"xlink:href": `#${e.value.name}`
|
|
897
|
+
}, null, 8, _6)
|
|
898
|
+
])) : l.value === "img" ? (r(), u("img", {
|
|
884
899
|
key: 2,
|
|
885
|
-
src:
|
|
900
|
+
src: e.value.name,
|
|
886
901
|
class: "h-[1em] w-[1em]"
|
|
887
|
-
}, null, 8,
|
|
902
|
+
}, null, 8, y6)) : (r(), u(
|
|
888
903
|
"i",
|
|
889
904
|
{
|
|
890
905
|
key: 3,
|
|
891
|
-
class:
|
|
892
|
-
style:
|
|
906
|
+
class: F(e.value.name),
|
|
907
|
+
style: k(i.value)
|
|
893
908
|
},
|
|
894
909
|
null,
|
|
895
910
|
6
|
|
@@ -898,54 +913,54 @@ const u3 = I(d3), h3 = {
|
|
|
898
913
|
],
|
|
899
914
|
6
|
|
900
915
|
/* CLASS, STYLE */
|
|
901
|
-
)) : (r(),
|
|
916
|
+
)) : (r(), B(p, {
|
|
902
917
|
key: 1,
|
|
903
|
-
content:
|
|
918
|
+
content: e.value.title,
|
|
904
919
|
placement: "top"
|
|
905
920
|
}, {
|
|
906
|
-
default:
|
|
921
|
+
default: C(() => [
|
|
907
922
|
c(
|
|
908
923
|
"i",
|
|
909
924
|
{
|
|
910
|
-
class:
|
|
911
|
-
[
|
|
912
|
-
"show-bg":
|
|
913
|
-
default:
|
|
914
|
-
small:
|
|
915
|
-
big:
|
|
916
|
-
warning:
|
|
917
|
-
primary:
|
|
918
|
-
success:
|
|
919
|
-
error:
|
|
920
|
-
active:
|
|
925
|
+
class: F(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
926
|
+
[s.name]: l.value === "unocss",
|
|
927
|
+
"show-bg": e.value.showBg || e.value.bg,
|
|
928
|
+
default: e.value.size === "default",
|
|
929
|
+
small: e.value.size === "small",
|
|
930
|
+
big: e.value.size === "big",
|
|
931
|
+
warning: e.value.warning || e.value.type === "warning",
|
|
932
|
+
primary: s.primary || e.value.type === "primary",
|
|
933
|
+
success: s.success || e.value.type === "success",
|
|
934
|
+
error: e.value.error || e.value.type === "error",
|
|
935
|
+
active: e.value.active
|
|
921
936
|
}]),
|
|
922
|
-
style:
|
|
937
|
+
style: k(i.value)
|
|
923
938
|
},
|
|
924
939
|
[
|
|
925
|
-
|
|
940
|
+
l.value === "iksig" ? (r(), u(
|
|
926
941
|
"i",
|
|
927
942
|
{
|
|
928
943
|
key: 0,
|
|
929
|
-
class:
|
|
930
|
-
style:
|
|
944
|
+
class: F(`iksig ${e.value.name}`),
|
|
945
|
+
style: k(i.value)
|
|
931
946
|
},
|
|
932
947
|
null,
|
|
933
948
|
6
|
|
934
949
|
/* CLASS, STYLE */
|
|
935
|
-
)) :
|
|
950
|
+
)) : l.value === "svg" ? (r(), u("svg", x6, [
|
|
936
951
|
c("use", {
|
|
937
|
-
"xlink:href": `#${
|
|
938
|
-
}, null, 8,
|
|
939
|
-
])) :
|
|
952
|
+
"xlink:href": `#${e.value.name}`
|
|
953
|
+
}, null, 8, k6)
|
|
954
|
+
])) : l.value === "img" ? (r(), u("img", {
|
|
940
955
|
key: 2,
|
|
941
|
-
src:
|
|
956
|
+
src: e.value.name,
|
|
942
957
|
class: "h-[1em] w-[1em]"
|
|
943
|
-
}, null, 8,
|
|
958
|
+
}, null, 8, z6)) : (r(), u(
|
|
944
959
|
"i",
|
|
945
960
|
{
|
|
946
961
|
key: 3,
|
|
947
|
-
class:
|
|
948
|
-
style:
|
|
962
|
+
class: F(e.value.name),
|
|
963
|
+
style: k(i.value)
|
|
949
964
|
},
|
|
950
965
|
null,
|
|
951
966
|
6
|
|
@@ -959,13 +974,13 @@ const u3 = I(d3), h3 = {
|
|
|
959
974
|
_: 1
|
|
960
975
|
/* STABLE */
|
|
961
976
|
}, 8, ["content"]))
|
|
962
|
-
])) : (r(),
|
|
977
|
+
])) : (r(), B(a, {
|
|
963
978
|
key: 1,
|
|
964
|
-
type: ["warning", "error"].includes(
|
|
979
|
+
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
965
980
|
}, {
|
|
966
|
-
default:
|
|
967
|
-
|
|
968
|
-
|
|
981
|
+
default: C(() => [
|
|
982
|
+
P(
|
|
983
|
+
q(e.value.title),
|
|
969
984
|
1
|
|
970
985
|
/* TEXT */
|
|
971
986
|
)
|
|
@@ -976,10 +991,10 @@ const u3 = I(d3), h3 = {
|
|
|
976
991
|
};
|
|
977
992
|
}
|
|
978
993
|
});
|
|
979
|
-
const
|
|
994
|
+
const b6 = /* @__PURE__ */ U(F6, [["__scopeId", "data-v-1be337e4"]]), H = O(b6), C6 = {
|
|
980
995
|
key: 0,
|
|
981
996
|
class: "exit-main-page-maximize"
|
|
982
|
-
},
|
|
997
|
+
}, S6 = /* @__PURE__ */ z({
|
|
983
998
|
__name: "CloseIcon",
|
|
984
999
|
props: {
|
|
985
1000
|
showBg: {
|
|
@@ -992,15 +1007,15 @@ const k6 = /* @__PURE__ */ A(z6, [["__scopeId", "data-v-7d95dbf5"]]), M = I(k6),
|
|
|
992
1007
|
}
|
|
993
1008
|
},
|
|
994
1009
|
setup(t) {
|
|
995
|
-
return (
|
|
996
|
-
t.showBg && t.fullscreen ? (r(),
|
|
997
|
-
|
|
1010
|
+
return (n, o) => (r(), u("div", null, [
|
|
1011
|
+
t.showBg && t.fullscreen ? (r(), u("div", C6, [
|
|
1012
|
+
b(g(H), {
|
|
998
1013
|
name: "iksvg_guanbidanchuang",
|
|
999
1014
|
title: "关闭",
|
|
1000
1015
|
size: 20,
|
|
1001
1016
|
error: ""
|
|
1002
1017
|
})
|
|
1003
|
-
])) : (r(),
|
|
1018
|
+
])) : (r(), B(g(H), {
|
|
1004
1019
|
key: 1,
|
|
1005
1020
|
error: "",
|
|
1006
1021
|
name: "iksvg_guanbidanchuang",
|
|
@@ -1010,9 +1025,9 @@ const k6 = /* @__PURE__ */ A(z6, [["__scopeId", "data-v-7d95dbf5"]]), M = I(k6),
|
|
|
1010
1025
|
]));
|
|
1011
1026
|
}
|
|
1012
1027
|
});
|
|
1013
|
-
const
|
|
1028
|
+
const V6 = /* @__PURE__ */ U(S6, [["__scopeId", "data-v-79f49df8"]]), R6 = { class: "base-header" }, B6 = /* @__PURE__ */ z({
|
|
1014
1029
|
__name: "IkBaseDialog",
|
|
1015
|
-
props: /* @__PURE__ */
|
|
1030
|
+
props: /* @__PURE__ */ W({
|
|
1016
1031
|
title: { default: "" },
|
|
1017
1032
|
cancelText: { default: "取消" },
|
|
1018
1033
|
confirmText: { default: "确认" },
|
|
@@ -1031,64 +1046,64 @@ const x6 = /* @__PURE__ */ A(b6, [["__scopeId", "data-v-79f49df8"]]), S6 = { cla
|
|
|
1031
1046
|
}),
|
|
1032
1047
|
emits: ["update:modelValue"],
|
|
1033
1048
|
setup(t) {
|
|
1034
|
-
const
|
|
1035
|
-
|
|
1036
|
-
},
|
|
1049
|
+
const n = t, o = G(t, "modelValue"), e = R(n.fullscreen), l = () => {
|
|
1050
|
+
e.value = !e.value;
|
|
1051
|
+
}, i = z({
|
|
1037
1052
|
setup() {
|
|
1038
|
-
return () =>
|
|
1039
|
-
showBg:
|
|
1040
|
-
fullscreen:
|
|
1053
|
+
return () => Q(V6, {
|
|
1054
|
+
showBg: n.showCloseBg,
|
|
1055
|
+
fullscreen: n.fullscreen
|
|
1041
1056
|
});
|
|
1042
1057
|
}
|
|
1043
1058
|
});
|
|
1044
|
-
return (
|
|
1045
|
-
const p =
|
|
1046
|
-
return r(),
|
|
1059
|
+
return (s, h) => {
|
|
1060
|
+
const p = E("el-dialog");
|
|
1061
|
+
return r(), B(p, e3({
|
|
1047
1062
|
modelValue: o.value,
|
|
1048
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
|
1049
|
-
},
|
|
1050
|
-
"close-icon":
|
|
1051
|
-
class: `ik-base-dialog ${
|
|
1052
|
-
fullscreen:
|
|
1063
|
+
"onUpdate:modelValue": h[0] || (h[0] = (a) => o.value = a)
|
|
1064
|
+
}, s.$attrs, {
|
|
1065
|
+
"close-icon": g(i),
|
|
1066
|
+
class: `ik-base-dialog ${s.noHeader ? "no-header" : ""} ${s.noFooter ? "no-footer" : ""}`,
|
|
1067
|
+
fullscreen: e.value,
|
|
1053
1068
|
"modal-class": "baseDialog"
|
|
1054
|
-
}),
|
|
1055
|
-
icon:
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1069
|
+
}), t3({
|
|
1070
|
+
icon: C(() => [
|
|
1071
|
+
$(s.$slots, "title", {}, () => [
|
|
1072
|
+
P(
|
|
1073
|
+
q(s.title),
|
|
1059
1074
|
1
|
|
1060
1075
|
/* TEXT */
|
|
1061
1076
|
)
|
|
1062
1077
|
])
|
|
1063
1078
|
]),
|
|
1064
|
-
header:
|
|
1065
|
-
c("div",
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1079
|
+
header: C(() => [
|
|
1080
|
+
c("div", R6, [
|
|
1081
|
+
$(s.$slots, "header", {}, () => [
|
|
1082
|
+
P(
|
|
1083
|
+
q(s.title),
|
|
1069
1084
|
1
|
|
1070
1085
|
/* TEXT */
|
|
1071
1086
|
)
|
|
1072
1087
|
])
|
|
1073
1088
|
]),
|
|
1074
|
-
|
|
1089
|
+
s.$attrs.showClose ? (r(), B(g(H), {
|
|
1075
1090
|
key: 0,
|
|
1076
|
-
onClick:
|
|
1077
|
-
name:
|
|
1091
|
+
onClick: l,
|
|
1092
|
+
name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1078
1093
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1079
|
-
title:
|
|
1080
|
-
}, null, 8, ["name", "title"])) :
|
|
1094
|
+
title: e.value ? "退出全屏" : "全屏"
|
|
1095
|
+
}, null, 8, ["name", "title"])) : V("v-if", !0)
|
|
1081
1096
|
]),
|
|
1082
|
-
default:
|
|
1083
|
-
|
|
1097
|
+
default: C(() => [
|
|
1098
|
+
$(s.$slots, "default")
|
|
1084
1099
|
]),
|
|
1085
1100
|
_: 2
|
|
1086
1101
|
/* DYNAMIC */
|
|
1087
1102
|
}, [
|
|
1088
|
-
|
|
1103
|
+
s.$slots.footer ? {
|
|
1089
1104
|
name: "footer",
|
|
1090
|
-
fn:
|
|
1091
|
-
|
|
1105
|
+
fn: C(() => [
|
|
1106
|
+
$(s.$slots, "footer")
|
|
1092
1107
|
]),
|
|
1093
1108
|
key: "0"
|
|
1094
1109
|
} : void 0
|
|
@@ -1096,119 +1111,119 @@ const x6 = /* @__PURE__ */ A(b6, [["__scopeId", "data-v-79f49df8"]]), S6 = { cla
|
|
|
1096
1111
|
};
|
|
1097
1112
|
}
|
|
1098
1113
|
});
|
|
1099
|
-
const
|
|
1100
|
-
function
|
|
1101
|
-
function
|
|
1102
|
-
return
|
|
1103
|
-
|
|
1114
|
+
const I6 = O(B6);
|
|
1115
|
+
function M6(t, n, o, e) {
|
|
1116
|
+
function l(i) {
|
|
1117
|
+
return i instanceof o ? i : new o(function(s) {
|
|
1118
|
+
s(i);
|
|
1104
1119
|
});
|
|
1105
1120
|
}
|
|
1106
|
-
return new (o || (o = Promise))(function(
|
|
1107
|
-
function h(
|
|
1121
|
+
return new (o || (o = Promise))(function(i, s) {
|
|
1122
|
+
function h(v) {
|
|
1108
1123
|
try {
|
|
1109
|
-
|
|
1110
|
-
} catch (
|
|
1111
|
-
|
|
1124
|
+
a(e.next(v));
|
|
1125
|
+
} catch (d) {
|
|
1126
|
+
s(d);
|
|
1112
1127
|
}
|
|
1113
1128
|
}
|
|
1114
|
-
function p(
|
|
1129
|
+
function p(v) {
|
|
1115
1130
|
try {
|
|
1116
|
-
|
|
1117
|
-
} catch (
|
|
1118
|
-
|
|
1131
|
+
a(e.throw(v));
|
|
1132
|
+
} catch (d) {
|
|
1133
|
+
s(d);
|
|
1119
1134
|
}
|
|
1120
1135
|
}
|
|
1121
|
-
function
|
|
1122
|
-
|
|
1136
|
+
function a(v) {
|
|
1137
|
+
v.done ? i(v.value) : l(v.value).then(h, p);
|
|
1123
1138
|
}
|
|
1124
|
-
|
|
1139
|
+
a((e = e.apply(t, n || [])).next());
|
|
1125
1140
|
});
|
|
1126
1141
|
}
|
|
1127
|
-
function
|
|
1142
|
+
function D6(t, n) {
|
|
1128
1143
|
var o = { label: 0, sent: function() {
|
|
1129
|
-
if (
|
|
1130
|
-
throw
|
|
1131
|
-
return
|
|
1132
|
-
}, trys: [], ops: [] }, l,
|
|
1133
|
-
return
|
|
1144
|
+
if (i[0] & 1)
|
|
1145
|
+
throw i[1];
|
|
1146
|
+
return i[1];
|
|
1147
|
+
}, trys: [], ops: [] }, e, l, i, s;
|
|
1148
|
+
return s = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() {
|
|
1134
1149
|
return this;
|
|
1135
|
-
}),
|
|
1136
|
-
function h(
|
|
1137
|
-
return function(
|
|
1138
|
-
return p([
|
|
1150
|
+
}), s;
|
|
1151
|
+
function h(a) {
|
|
1152
|
+
return function(v) {
|
|
1153
|
+
return p([a, v]);
|
|
1139
1154
|
};
|
|
1140
1155
|
}
|
|
1141
|
-
function p(
|
|
1142
|
-
if (
|
|
1156
|
+
function p(a) {
|
|
1157
|
+
if (e)
|
|
1143
1158
|
throw new TypeError("Generator is already executing.");
|
|
1144
|
-
for (;
|
|
1159
|
+
for (; s && (s = 0, a[0] && (o = 0)), o; )
|
|
1145
1160
|
try {
|
|
1146
|
-
if (
|
|
1147
|
-
return
|
|
1148
|
-
switch (
|
|
1161
|
+
if (e = 1, l && (i = a[0] & 2 ? l.return : a[0] ? l.throw || ((i = l.return) && i.call(l), 0) : l.next) && !(i = i.call(l, a[1])).done)
|
|
1162
|
+
return i;
|
|
1163
|
+
switch (l = 0, i && (a = [a[0] & 2, i.value]), a[0]) {
|
|
1149
1164
|
case 0:
|
|
1150
1165
|
case 1:
|
|
1151
|
-
|
|
1166
|
+
i = a;
|
|
1152
1167
|
break;
|
|
1153
1168
|
case 4:
|
|
1154
|
-
return o.label++, { value:
|
|
1169
|
+
return o.label++, { value: a[1], done: !1 };
|
|
1155
1170
|
case 5:
|
|
1156
|
-
o.label++,
|
|
1171
|
+
o.label++, l = a[1], a = [0];
|
|
1157
1172
|
continue;
|
|
1158
1173
|
case 7:
|
|
1159
|
-
|
|
1174
|
+
a = o.ops.pop(), o.trys.pop();
|
|
1160
1175
|
continue;
|
|
1161
1176
|
default:
|
|
1162
|
-
if (
|
|
1177
|
+
if (i = o.trys, !(i = i.length > 0 && i[i.length - 1]) && (a[0] === 6 || a[0] === 2)) {
|
|
1163
1178
|
o = 0;
|
|
1164
1179
|
continue;
|
|
1165
1180
|
}
|
|
1166
|
-
if (
|
|
1167
|
-
o.label =
|
|
1181
|
+
if (a[0] === 3 && (!i || a[1] > i[0] && a[1] < i[3])) {
|
|
1182
|
+
o.label = a[1];
|
|
1168
1183
|
break;
|
|
1169
1184
|
}
|
|
1170
|
-
if (
|
|
1171
|
-
o.label =
|
|
1185
|
+
if (a[0] === 6 && o.label < i[1]) {
|
|
1186
|
+
o.label = i[1], i = a;
|
|
1172
1187
|
break;
|
|
1173
1188
|
}
|
|
1174
|
-
if (
|
|
1175
|
-
o.label =
|
|
1189
|
+
if (i && o.label < i[2]) {
|
|
1190
|
+
o.label = i[2], o.ops.push(a);
|
|
1176
1191
|
break;
|
|
1177
1192
|
}
|
|
1178
|
-
|
|
1193
|
+
i[2] && o.ops.pop(), o.trys.pop();
|
|
1179
1194
|
continue;
|
|
1180
1195
|
}
|
|
1181
|
-
|
|
1182
|
-
} catch (
|
|
1183
|
-
|
|
1196
|
+
a = n.call(t, o);
|
|
1197
|
+
} catch (v) {
|
|
1198
|
+
a = [6, v], l = 0;
|
|
1184
1199
|
} finally {
|
|
1185
|
-
|
|
1200
|
+
e = i = 0;
|
|
1186
1201
|
}
|
|
1187
|
-
if (
|
|
1188
|
-
throw
|
|
1189
|
-
return { value:
|
|
1202
|
+
if (a[0] & 5)
|
|
1203
|
+
throw a[1];
|
|
1204
|
+
return { value: a[0] ? a[1] : void 0, done: !0 };
|
|
1190
1205
|
}
|
|
1191
1206
|
}
|
|
1192
|
-
var
|
|
1193
|
-
return
|
|
1194
|
-
return
|
|
1195
|
-
return [2, new Promise(function(
|
|
1207
|
+
var $6 = function(t, n) {
|
|
1208
|
+
return M6(void 0, void 0, void 0, function() {
|
|
1209
|
+
return D6(this, function(o) {
|
|
1210
|
+
return [2, new Promise(function(e, l) {
|
|
1196
1211
|
try {
|
|
1197
1212
|
if (window.DocsAPI)
|
|
1198
|
-
return
|
|
1199
|
-
var
|
|
1200
|
-
if (
|
|
1201
|
-
var
|
|
1202
|
-
var p =
|
|
1213
|
+
return e(null);
|
|
1214
|
+
var i = document.getElementById(n);
|
|
1215
|
+
if (i)
|
|
1216
|
+
var s = setInterval(function() {
|
|
1217
|
+
var p = i.getAttribute("loading");
|
|
1203
1218
|
if (!p) {
|
|
1204
|
-
if (clearInterval(
|
|
1205
|
-
return
|
|
1206
|
-
var
|
|
1207
|
-
|
|
1219
|
+
if (clearInterval(s), window.DocsAPI)
|
|
1220
|
+
return e(null);
|
|
1221
|
+
var a = N(n, t, e, l);
|
|
1222
|
+
i.remove(), document.body.appendChild(a);
|
|
1208
1223
|
}
|
|
1209
1224
|
}, 500);
|
|
1210
1225
|
else {
|
|
1211
|
-
var h =
|
|
1226
|
+
var h = N(n, t, e, l);
|
|
1212
1227
|
document.body.appendChild(h);
|
|
1213
1228
|
}
|
|
1214
1229
|
} catch (p) {
|
|
@@ -1217,14 +1232,14 @@ var M6 = function(t, e) {
|
|
|
1217
1232
|
})];
|
|
1218
1233
|
});
|
|
1219
1234
|
});
|
|
1220
|
-
},
|
|
1221
|
-
var
|
|
1222
|
-
return
|
|
1223
|
-
|
|
1224
|
-
},
|
|
1225
|
-
|
|
1226
|
-
},
|
|
1227
|
-
},
|
|
1235
|
+
}, N = function(t, n, o, e) {
|
|
1236
|
+
var l = document.createElement("script");
|
|
1237
|
+
return l.id = t, l.type = "text/javascript", l.src = n, l.async = !0, l.onload = function() {
|
|
1238
|
+
l.removeAttribute("loading"), o(null);
|
|
1239
|
+
}, l.onerror = function(i) {
|
|
1240
|
+
l.removeAttribute("loading"), e(i);
|
|
1241
|
+
}, l.setAttribute("loading", ""), l;
|
|
1242
|
+
}, j = z({
|
|
1228
1243
|
name: "DocumentEditor",
|
|
1229
1244
|
props: {
|
|
1230
1245
|
id: {
|
|
@@ -1276,59 +1291,59 @@ var M6 = function(t, e) {
|
|
|
1276
1291
|
events_onRequestSelectDocument: Function
|
|
1277
1292
|
},
|
|
1278
1293
|
mounted: function() {
|
|
1279
|
-
var t = this,
|
|
1280
|
-
|
|
1281
|
-
var o = "".concat(
|
|
1282
|
-
|
|
1294
|
+
var t = this, n = this.documentServerUrl;
|
|
1295
|
+
n.endsWith("/") || (n += "/");
|
|
1296
|
+
var o = "".concat(n, "web-apps/apps/api/documents/api.js");
|
|
1297
|
+
$6(o, "onlyoffice-api-script").then(function() {
|
|
1283
1298
|
return t.onLoad();
|
|
1284
1299
|
}).catch(function() {
|
|
1285
1300
|
t.onError(-2);
|
|
1286
1301
|
});
|
|
1287
1302
|
},
|
|
1288
1303
|
unmounted: function() {
|
|
1289
|
-
var t,
|
|
1290
|
-
!((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[
|
|
1304
|
+
var t, n = this.id || "";
|
|
1305
|
+
!((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n] && (window.DocEditor.instances[n].destroyEditor(), window.DocEditor.instances[n] = void 0);
|
|
1291
1306
|
},
|
|
1292
1307
|
watch: {
|
|
1293
1308
|
config: {
|
|
1294
|
-
handler: function(t,
|
|
1309
|
+
handler: function(t, n) {
|
|
1295
1310
|
this.onChangeProps();
|
|
1296
1311
|
},
|
|
1297
1312
|
deep: !0
|
|
1298
1313
|
},
|
|
1299
|
-
document_fileType: function(t,
|
|
1314
|
+
document_fileType: function(t, n) {
|
|
1300
1315
|
this.onChangeProps();
|
|
1301
1316
|
},
|
|
1302
|
-
document_title: function(t,
|
|
1317
|
+
document_title: function(t, n) {
|
|
1303
1318
|
this.onChangeProps();
|
|
1304
1319
|
},
|
|
1305
|
-
documentType: function(t,
|
|
1320
|
+
documentType: function(t, n) {
|
|
1306
1321
|
this.onChangeProps();
|
|
1307
1322
|
},
|
|
1308
|
-
editorConfig_lang: function(t,
|
|
1323
|
+
editorConfig_lang: function(t, n) {
|
|
1309
1324
|
this.onChangeProps();
|
|
1310
1325
|
},
|
|
1311
|
-
height: function(t,
|
|
1326
|
+
height: function(t, n) {
|
|
1312
1327
|
this.onChangeProps();
|
|
1313
1328
|
},
|
|
1314
|
-
type: function(t,
|
|
1329
|
+
type: function(t, n) {
|
|
1315
1330
|
this.onChangeProps();
|
|
1316
1331
|
},
|
|
1317
|
-
width: function(t,
|
|
1332
|
+
width: function(t, n) {
|
|
1318
1333
|
this.onChangeProps();
|
|
1319
1334
|
}
|
|
1320
1335
|
},
|
|
1321
1336
|
methods: {
|
|
1322
1337
|
onLoad: function() {
|
|
1323
|
-
var t,
|
|
1338
|
+
var t, n;
|
|
1324
1339
|
try {
|
|
1325
1340
|
var o = this.id || "";
|
|
1326
1341
|
if (window.DocsAPI || this.onError(-3), !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[o]) {
|
|
1327
1342
|
console.log("Skip loading. Instance already exists", o);
|
|
1328
1343
|
return;
|
|
1329
1344
|
}
|
|
1330
|
-
!((
|
|
1331
|
-
var
|
|
1345
|
+
!((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances || (window.DocEditor = { instances: {} });
|
|
1346
|
+
var e = Object.assign({
|
|
1332
1347
|
document: {
|
|
1333
1348
|
fileType: this.document_fileType,
|
|
1334
1349
|
title: this.document_title
|
|
@@ -1363,43 +1378,43 @@ var M6 = function(t, e) {
|
|
|
1363
1378
|
height: this.height,
|
|
1364
1379
|
type: this.type,
|
|
1365
1380
|
width: this.width
|
|
1366
|
-
}, this.config || {}),
|
|
1367
|
-
window.DocEditor.instances[o] =
|
|
1368
|
-
} catch (
|
|
1369
|
-
console.error(
|
|
1381
|
+
}, this.config || {}), l = window.DocsAPI.DocEditor(o, e);
|
|
1382
|
+
window.DocEditor.instances[o] = l;
|
|
1383
|
+
} catch (i) {
|
|
1384
|
+
console.error(i), this.onError(-1);
|
|
1370
1385
|
}
|
|
1371
1386
|
},
|
|
1372
1387
|
onError: function(t) {
|
|
1373
|
-
var
|
|
1388
|
+
var n;
|
|
1374
1389
|
switch (t) {
|
|
1375
1390
|
case -2:
|
|
1376
|
-
|
|
1391
|
+
n = "Error load DocsAPI from " + this.documentServerUrl;
|
|
1377
1392
|
break;
|
|
1378
1393
|
case -3:
|
|
1379
|
-
|
|
1394
|
+
n = "DocsAPI is not defined";
|
|
1380
1395
|
break;
|
|
1381
1396
|
default:
|
|
1382
|
-
|
|
1397
|
+
n = "Unknown error loading component", t = -1;
|
|
1383
1398
|
}
|
|
1384
|
-
typeof this.onLoadComponentError > "u" ? console.error(
|
|
1399
|
+
typeof this.onLoadComponentError > "u" ? console.error(n) : this.onLoadComponentError(t, n);
|
|
1385
1400
|
},
|
|
1386
1401
|
onAppReady: function() {
|
|
1387
1402
|
var t = this.id || "";
|
|
1388
1403
|
this.events_onAppReady(window.DocEditor.instances[t]);
|
|
1389
1404
|
},
|
|
1390
1405
|
onChangeProps: function() {
|
|
1391
|
-
var t,
|
|
1392
|
-
!((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[
|
|
1406
|
+
var t, n = this.id || "";
|
|
1407
|
+
!((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n] && (window.DocEditor.instances[n].destroyEditor(), window.DocEditor.instances[n] = void 0, console.log("Important props have been changed. Load new Editor."), this.onLoad());
|
|
1393
1408
|
}
|
|
1394
1409
|
}
|
|
1395
1410
|
});
|
|
1396
|
-
const
|
|
1397
|
-
function
|
|
1398
|
-
return r(),
|
|
1411
|
+
const q6 = ["id"];
|
|
1412
|
+
function H6(t, n, o, e, l, i) {
|
|
1413
|
+
return r(), u("div", { id: t.id }, null, 8, q6);
|
|
1399
1414
|
}
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
const
|
|
1415
|
+
j.render = H6;
|
|
1416
|
+
j.__file = "src/components/DocumentEditor.vue";
|
|
1417
|
+
const O6 = /* @__PURE__ */ z({
|
|
1403
1418
|
__name: "IkOnlyOffice",
|
|
1404
1419
|
props: {
|
|
1405
1420
|
// 文件服务器的服务的地址
|
|
@@ -1420,26 +1435,26 @@ const $6 = /* @__PURE__ */ _({
|
|
|
1420
1435
|
}
|
|
1421
1436
|
},
|
|
1422
1437
|
setup(t) {
|
|
1423
|
-
const
|
|
1438
|
+
const n = t, o = R({
|
|
1424
1439
|
width: "100%",
|
|
1425
1440
|
height: "100%",
|
|
1426
|
-
...
|
|
1427
|
-
...
|
|
1428
|
-
}),
|
|
1429
|
-
console.info("文档加载完成",
|
|
1441
|
+
...n.configOptions || {},
|
|
1442
|
+
...n.configOptions
|
|
1443
|
+
}), e = () => {
|
|
1444
|
+
console.info("文档加载完成", n.configOptions);
|
|
1430
1445
|
};
|
|
1431
|
-
return (
|
|
1446
|
+
return (l, i) => (r(), u(
|
|
1432
1447
|
"div",
|
|
1433
1448
|
{
|
|
1434
|
-
style:
|
|
1449
|
+
style: k({ height: n.officeHeight })
|
|
1435
1450
|
},
|
|
1436
1451
|
[
|
|
1437
|
-
|
|
1452
|
+
b(g(j), {
|
|
1438
1453
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1439
1454
|
ref: "editorRef",
|
|
1440
1455
|
"document-server-url": t.documentServerUrl,
|
|
1441
1456
|
config: o.value,
|
|
1442
|
-
events_onDocumentReady:
|
|
1457
|
+
events_onDocumentReady: e
|
|
1443
1458
|
}, null, 8, ["id", "document-server-url", "config"])
|
|
1444
1459
|
],
|
|
1445
1460
|
4
|
|
@@ -1447,7 +1462,7 @@ const $6 = /* @__PURE__ */ _({
|
|
|
1447
1462
|
));
|
|
1448
1463
|
}
|
|
1449
1464
|
});
|
|
1450
|
-
const
|
|
1465
|
+
const E6 = /* @__PURE__ */ U(O6, [["__scopeId", "data-v-98d51ef9"]]), A6 = O(E6), T6 = ["onClick"], P6 = { class: "text" }, U6 = { class: "fileName" }, j6 = { class: "size" }, L6 = /* @__PURE__ */ z({
|
|
1451
1466
|
__name: "IkPreviewFile",
|
|
1452
1467
|
props: {
|
|
1453
1468
|
list: {
|
|
@@ -1517,80 +1532,80 @@ const q6 = /* @__PURE__ */ A($6, [["__scopeId", "data-v-98d51ef9"]]), H6 = I(q6)
|
|
|
1517
1532
|
}
|
|
1518
1533
|
},
|
|
1519
1534
|
setup(t) {
|
|
1520
|
-
const
|
|
1535
|
+
const n = t, { cLoadUrl: o, cOnlyofficeConfig: e } = d3(n), l = m(() => ({
|
|
1521
1536
|
name: "name",
|
|
1522
1537
|
url: "url",
|
|
1523
1538
|
suffix: "suffix",
|
|
1524
1539
|
size: "size",
|
|
1525
|
-
...
|
|
1526
|
-
})),
|
|
1527
|
-
var
|
|
1528
|
-
|
|
1529
|
-
...
|
|
1530
|
-
name:
|
|
1531
|
-
url:
|
|
1532
|
-
|
|
1533
|
-
|
|
1540
|
+
...n.field
|
|
1541
|
+
})), i = R({}), s = R(!1), h = (d) => {
|
|
1542
|
+
var w, _;
|
|
1543
|
+
i.value = {
|
|
1544
|
+
...d,
|
|
1545
|
+
name: d.name,
|
|
1546
|
+
url: A(
|
|
1547
|
+
o.value,
|
|
1548
|
+
d.url || ((_ = (w = d == null ? void 0 : d.response) == null ? void 0 : w.data) == null ? void 0 : _.id) || (d == null ? void 0 : d.id)
|
|
1534
1549
|
)
|
|
1535
|
-
},
|
|
1536
|
-
},
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1550
|
+
}, s.value = !0;
|
|
1551
|
+
}, p = (d) => {
|
|
1552
|
+
a3.downloadFile(
|
|
1553
|
+
A(
|
|
1554
|
+
o.value,
|
|
1555
|
+
d[l.value.url] || d.attachmentId || d.id
|
|
1541
1556
|
),
|
|
1542
|
-
|
|
1557
|
+
d[l.value.name] || d.attachmentName
|
|
1543
1558
|
);
|
|
1544
|
-
},
|
|
1545
|
-
...
|
|
1546
|
-
name:
|
|
1547
|
-
size:
|
|
1548
|
-
suffix:
|
|
1559
|
+
}, a = m(() => l3.isNumber(n.width) ? `${n.width}px` : n.width), v = m(() => n.list.map((d) => ({
|
|
1560
|
+
...d,
|
|
1561
|
+
name: d[l.value.name] || d.attachmentName,
|
|
1562
|
+
size: d[l.value.size] || d.fileSize || d.attachmentSize,
|
|
1563
|
+
suffix: d[l.value.suffix] || d.attachmentSuffix
|
|
1549
1564
|
})));
|
|
1550
|
-
return (
|
|
1551
|
-
var
|
|
1552
|
-
return r(),
|
|
1553
|
-
|
|
1565
|
+
return (d, w) => {
|
|
1566
|
+
var _, y, I;
|
|
1567
|
+
return r(), u(
|
|
1568
|
+
T,
|
|
1554
1569
|
null,
|
|
1555
1570
|
[
|
|
1556
|
-
(
|
|
1557
|
-
|
|
1571
|
+
(_ = t.list) != null && _.length ? (r(!0), u(
|
|
1572
|
+
T,
|
|
1558
1573
|
{ key: 0 },
|
|
1559
|
-
|
|
1560
|
-
var
|
|
1561
|
-
return r(),
|
|
1574
|
+
n3(v.value, (x, f) => {
|
|
1575
|
+
var M;
|
|
1576
|
+
return r(), u(
|
|
1562
1577
|
"div",
|
|
1563
1578
|
{
|
|
1564
|
-
class:
|
|
1565
|
-
key:
|
|
1566
|
-
style:
|
|
1567
|
-
marginBottom:
|
|
1568
|
-
width:
|
|
1579
|
+
class: F(["iking-privew-annex", { "is-bg": t.showBg }]),
|
|
1580
|
+
key: f,
|
|
1581
|
+
style: k({
|
|
1582
|
+
marginBottom: f == ((M = t.list) == null ? void 0 : M.length) - 1 ? "0" : "10px",
|
|
1583
|
+
width: a.value
|
|
1569
1584
|
})
|
|
1570
1585
|
},
|
|
1571
1586
|
[
|
|
1572
1587
|
c("div", {
|
|
1573
1588
|
class: "file-card",
|
|
1574
|
-
onClick: (D) =>
|
|
1589
|
+
onClick: (D) => h(x)
|
|
1575
1590
|
}, [
|
|
1576
|
-
|
|
1577
|
-
file:
|
|
1578
|
-
style:
|
|
1591
|
+
b(g6, {
|
|
1592
|
+
file: x,
|
|
1593
|
+
style: k({ height: `${t.iconSize}px` }),
|
|
1579
1594
|
class: "ikui-w-auto",
|
|
1580
|
-
fields:
|
|
1595
|
+
fields: l.value
|
|
1581
1596
|
}, null, 8, ["file", "style", "fields"]),
|
|
1582
|
-
c("div",
|
|
1597
|
+
c("div", P6, [
|
|
1583
1598
|
c(
|
|
1584
1599
|
"div",
|
|
1585
|
-
|
|
1586
|
-
|
|
1600
|
+
U6,
|
|
1601
|
+
q(x.name),
|
|
1587
1602
|
1
|
|
1588
1603
|
/* TEXT */
|
|
1589
1604
|
),
|
|
1590
1605
|
c(
|
|
1591
1606
|
"div",
|
|
1592
|
-
|
|
1593
|
-
|
|
1607
|
+
j6,
|
|
1608
|
+
q(g(c3)(x.size)),
|
|
1594
1609
|
1
|
|
1595
1610
|
/* TEXT */
|
|
1596
1611
|
)
|
|
@@ -1598,28 +1613,28 @@ const q6 = /* @__PURE__ */ A($6, [["__scopeId", "data-v-98d51ef9"]]), H6 = I(q6)
|
|
|
1598
1613
|
c(
|
|
1599
1614
|
"div",
|
|
1600
1615
|
{
|
|
1601
|
-
class:
|
|
1616
|
+
class: F(["flex flex-center", { "hover-show": t.iconHoverShow }])
|
|
1602
1617
|
},
|
|
1603
1618
|
[
|
|
1604
|
-
|
|
1619
|
+
b(g(H), {
|
|
1605
1620
|
name: "iksvg_daochu",
|
|
1606
|
-
onClick:
|
|
1621
|
+
onClick: o3((D) => p(x), ["stop"]),
|
|
1607
1622
|
bg: t.showBg,
|
|
1608
1623
|
size: t.showBg ? "default" : 20
|
|
1609
1624
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
1610
|
-
|
|
1625
|
+
b(g(H), {
|
|
1611
1626
|
name: "iksvg_yulan",
|
|
1612
1627
|
bg: t.showBg,
|
|
1613
1628
|
size: t.showBg ? "default" : 20
|
|
1614
1629
|
}, null, 8, ["bg", "size"]),
|
|
1615
|
-
|
|
1616
|
-
data: { ...
|
|
1630
|
+
$(d.$slots, "operation", {
|
|
1631
|
+
data: { ...x, findex: f }
|
|
1617
1632
|
})
|
|
1618
1633
|
],
|
|
1619
1634
|
2
|
|
1620
1635
|
/* CLASS */
|
|
1621
1636
|
)
|
|
1622
|
-
], 8,
|
|
1637
|
+
], 8, T6)
|
|
1623
1638
|
],
|
|
1624
1639
|
6
|
|
1625
1640
|
/* CLASS, STYLE */
|
|
@@ -1627,15 +1642,15 @@ const q6 = /* @__PURE__ */ A($6, [["__scopeId", "data-v-98d51ef9"]]), H6 = I(q6)
|
|
|
1627
1642
|
}),
|
|
1628
1643
|
128
|
|
1629
1644
|
/* KEYED_FRAGMENT */
|
|
1630
|
-
)) :
|
|
1631
|
-
|
|
1632
|
-
show:
|
|
1633
|
-
"onUpdate:show":
|
|
1634
|
-
loadUrl:
|
|
1635
|
-
file:
|
|
1636
|
-
onlyofficeServer: t.onlyofficeServer,
|
|
1637
|
-
onlyOfficeConfig:
|
|
1638
|
-
onlyOfficeAccept: t.onlyOfficeAccept
|
|
1645
|
+
)) : V("v-if", !0),
|
|
1646
|
+
b(g(p3), {
|
|
1647
|
+
show: s.value,
|
|
1648
|
+
"onUpdate:show": w[0] || (w[0] = (x) => s.value = x),
|
|
1649
|
+
loadUrl: g(o),
|
|
1650
|
+
file: i.value,
|
|
1651
|
+
onlyofficeServer: ((y = g(e)) == null ? void 0 : y.serverUrl) || t.onlyofficeServer,
|
|
1652
|
+
onlyOfficeConfig: g(e),
|
|
1653
|
+
onlyOfficeAccept: ((I = g(e)) == null ? void 0 : I.accept) || t.onlyOfficeAccept
|
|
1639
1654
|
}, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
|
|
1640
1655
|
],
|
|
1641
1656
|
64
|
|
@@ -1644,8 +1659,8 @@ const q6 = /* @__PURE__ */ A($6, [["__scopeId", "data-v-98d51ef9"]]), H6 = I(q6)
|
|
|
1644
1659
|
};
|
|
1645
1660
|
}
|
|
1646
1661
|
});
|
|
1647
|
-
const
|
|
1662
|
+
const K6 = O(L6);
|
|
1648
1663
|
export {
|
|
1649
|
-
|
|
1650
|
-
|
|
1664
|
+
K6 as IkPreviewFile,
|
|
1665
|
+
K6 as default
|
|
1651
1666
|
};
|