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