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