iking-web-ui-pro 0.2.9 → 0.2.10

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.
@@ -1,5 +1,6 @@
1
- import { inject as D, computed as m, defineComponent as F, openBlock as c, createElementBlock as u, createElementVNode as r, ref as q, resolveComponent as I, Fragment as M, renderList as L, normalizeStyle as z, toDisplayString as V, normalizeClass as S, createVNode as k, unref as g, withModifiers as K, renderSlot as C, createBlock as b, withCtx as y, createCommentVNode as $, mergeModels as Y, useModel as Z, reactive as Q, watch as e3, nextTick as t3, createTextVNode as H, h as n3, mergeProps as N, createSlots as o3, useCssVars as i3 } from "vue";
2
- import { paramType as l3, ikFile as s3, buildUUID as a3, ikColor as c3 } from "iking-utils-pro";
1
+ import { inject as D, computed as m, defineComponent as F, openBlock as c, createElementBlock as d, createElementVNode as r, ref as q, resolveComponent as $, Fragment as M, renderList as L, normalizeStyle as b, toDisplayString as V, normalizeClass as S, createVNode as k, unref as g, withModifiers as K, renderSlot as C, createBlock as z, withCtx as y, createCommentVNode as R, mergeModels as Y, useModel as Z, reactive as Q, watch as e3, nextTick as t3, createTextVNode as H, h as n3, mergeProps as N, createSlots as o3, useCssVars as i3 } from "vue";
2
+ import { ElTag as l3 } from "element-plus";
3
+ import { paramType as s3, ikFile as a3, buildUUID as c3, ikColor as r3 } from "iking-utils-pro";
3
4
  const E = (t, n) => {
4
5
  if (t.install = (o) => {
5
6
  for (const e of [t, ...Object.values(n ?? {})])
@@ -10,29 +11,29 @@ const E = (t, n) => {
10
11
  return t;
11
12
  }, U = (t, n) => {
12
13
  const o = t.__vccOpts || t;
13
- for (const [e, s] of n)
14
- o[e] = s;
14
+ for (const [e, l] of n)
15
+ o[e] = l;
15
16
  return o;
16
- }, r3 = (t, n = 2) => {
17
+ }, u3 = (t, n = 2) => {
17
18
  if (t === void 0)
18
19
  return "";
19
20
  if (t === 0)
20
21
  return "0 B";
21
22
  const o = ["B", "KB", "MB", "GB", "TB"], e = Math.floor(Math.log(t) / Math.log(1024));
22
- let s = t / Math.pow(1024, e);
23
- return (s % 1 === 0 ? s.toFixed(n || 0) : s.toFixed(n)) + " " + o[e];
23
+ let l = t / Math.pow(1024, e);
24
+ return (l % 1 === 0 ? l.toFixed(n || 0) : l.toFixed(n)) + " " + o[e];
24
25
  }, T = (t, n) => n ? n.startsWith("http") ? n : `${t || location.origin}${n}` : "", d3 = (t) => {
25
- const n = D("loadUrl"), o = m(() => t.loadUrl || (n == null ? void 0 : n.value)), e = D("uploadUrl"), s = m(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), i = D("token"), a = m(() => t.token || (i == null ? void 0 : i.value)), p = D("onlyofficeConfig"), h = m(() => t.onlyofficeConfig || (p == null ? void 0 : p.value)), l = D("userInfo"), v = m(() => t.userInfo || (l == null ? void 0 : l.value));
26
+ const n = D("loadUrl"), o = m(() => t.loadUrl || (n == null ? void 0 : n.value)), e = D("uploadUrl"), l = m(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), i = D("token"), s = m(() => t.token || (i == null ? void 0 : i.value)), v = D("onlyofficeConfig"), f = m(() => t.onlyofficeConfig || (v == null ? void 0 : v.value)), a = D("userInfo"), h = m(() => t.userInfo || (a == null ? void 0 : a.value));
26
27
  return {
27
28
  cLoadUrl: o,
28
- cUploadUrl: s,
29
- cToken: a,
30
- cOnlyofficeConfig: h,
31
- cUserInfo: v
29
+ cUploadUrl: l,
30
+ cToken: s,
31
+ cOnlyofficeConfig: f,
32
+ cUserInfo: h
32
33
  };
33
- }, u3 = d3, J = (t, n) => {
34
- var i, a, p, h;
35
- const o = (i = t == null ? void 0 : t.response) != null && i.data ? G((p = (a = t == null ? void 0 : t.response) == null ? void 0 : a.data) == null ? void 0 : p.suffix) : ((h = t.raw) == null ? void 0 : h.type) || G(t[n.suffix]), e = o == null ? void 0 : o.toLowerCase(), s = {
34
+ }, f3 = d3, J = (t, n) => {
35
+ var i, s, v, f;
36
+ const o = (i = t == null ? void 0 : t.response) != null && i.data ? G((v = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : v.suffix) : ((f = t.raw) == null ? void 0 : f.type) || G(t[n.suffix]), e = o == null ? void 0 : o.toLowerCase(), l = {
36
37
  sheet: "excel",
37
38
  excel: "excel",
38
39
  zip: "zip",
@@ -48,11 +49,11 @@ const E = (t, n) => {
48
49
  exe: "exe",
49
50
  json: "json"
50
51
  };
51
- for (let l in s)
52
- if (typeof e == "string" && (e.includes(l) || e === l))
53
- return s[l];
52
+ for (let a in l)
53
+ if (typeof e == "string" && (e.includes(a) || e === a))
54
+ return l[a];
54
55
  return "unknown";
55
- }, f3 = {
56
+ }, p3 = {
56
57
  ".doc": "word",
57
58
  ".docx": "word",
58
59
  ".docxf": "word",
@@ -139,11 +140,11 @@ const E = (t, n) => {
139
140
  ".pdf": "pdf"
140
141
  }, G = (t) => {
141
142
  const n = t == null ? void 0 : t.toLocaleLowerCase(), o = n != null && n.startsWith(".") ? n : `.${n}`;
142
- return o && f3[o] || "unknow";
143
- }, p3 = (t) => {
144
- let n = "", o = ["doc", "docx"], e = ["xls", "xlsx"], s = ["ppt", "pptx"], i = ["pdf"];
145
- return o.includes(t) && (n = "word"), e.includes(t) && (n = "cell"), s.includes(t) && (n = "slide"), i.includes(t) && (n = "text-pdf"), n;
146
- }, v3 = {
143
+ return o && p3[o] || "unknow";
144
+ }, v3 = (t) => {
145
+ let n = "", o = ["doc", "docx"], e = ["xls", "xlsx"], l = ["ppt", "pptx"], i = ["pdf"];
146
+ return o.includes(t) && (n = "word"), e.includes(t) && (n = "cell"), l.includes(t) && (n = "slide"), i.includes(t) && (n = "text-pdf"), n;
147
+ }, h3 = {
147
148
  key: 0,
148
149
  t: "1686300059786",
149
150
  class: "icon",
@@ -153,7 +154,7 @@ const E = (t, n) => {
153
154
  "p-id": "7671",
154
155
  width: "200",
155
156
  height: "200"
156
- }, h3 = /* @__PURE__ */ r(
157
+ }, g3 = /* @__PURE__ */ r(
157
158
  "path",
158
159
  {
159
160
  d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
@@ -163,7 +164,7 @@ const E = (t, n) => {
163
164
  null,
164
165
  -1
165
166
  /* HOISTED */
166
- ), g3 = /* @__PURE__ */ r(
167
+ ), m3 = /* @__PURE__ */ r(
167
168
  "path",
168
169
  {
169
170
  d: "M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",
@@ -173,7 +174,7 @@ const E = (t, n) => {
173
174
  null,
174
175
  -1
175
176
  /* HOISTED */
176
- ), m3 = /* @__PURE__ */ r(
177
+ ), y3 = /* @__PURE__ */ r(
177
178
  "path",
178
179
  {
179
180
  d: "M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",
@@ -183,7 +184,7 @@ const E = (t, n) => {
183
184
  null,
184
185
  -1
185
186
  /* HOISTED */
186
- ), y3 = /* @__PURE__ */ r(
187
+ ), w3 = /* @__PURE__ */ r(
187
188
  "path",
188
189
  {
189
190
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -193,12 +194,12 @@ const E = (t, n) => {
193
194
  null,
194
195
  -1
195
196
  /* HOISTED */
196
- ), w3 = [
197
- h3,
197
+ ), _3 = [
198
198
  g3,
199
199
  m3,
200
- y3
201
- ], _3 = {
200
+ y3,
201
+ w3
202
+ ], k3 = {
202
203
  key: 1,
203
204
  t: "1686301531714",
204
205
  class: "icon",
@@ -208,7 +209,7 @@ const E = (t, n) => {
208
209
  "p-id": "9067",
209
210
  width: "200",
210
211
  height: "200"
211
- }, k3 = /* @__PURE__ */ r(
212
+ }, x3 = /* @__PURE__ */ r(
212
213
  "path",
213
214
  {
214
215
  d: "M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",
@@ -218,7 +219,7 @@ const E = (t, n) => {
218
219
  null,
219
220
  -1
220
221
  /* HOISTED */
221
- ), x3 = /* @__PURE__ */ r(
222
+ ), b3 = /* @__PURE__ */ r(
222
223
  "path",
223
224
  {
224
225
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -229,9 +230,9 @@ const E = (t, n) => {
229
230
  -1
230
231
  /* HOISTED */
231
232
  ), z3 = [
232
- k3,
233
- x3
234
- ], b3 = {
233
+ x3,
234
+ b3
235
+ ], F3 = {
235
236
  key: 2,
236
237
  t: "1686300141125",
237
238
  class: "icon",
@@ -241,7 +242,7 @@ const E = (t, n) => {
241
242
  "p-id": "8137",
242
243
  width: "200",
243
244
  height: "200"
244
- }, F3 = /* @__PURE__ */ r(
245
+ }, S3 = /* @__PURE__ */ r(
245
246
  "path",
246
247
  {
247
248
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",
@@ -251,7 +252,7 @@ const E = (t, n) => {
251
252
  null,
252
253
  -1
253
254
  /* HOISTED */
254
- ), S3 = /* @__PURE__ */ r(
255
+ ), C3 = /* @__PURE__ */ r(
255
256
  "path",
256
257
  {
257
258
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -261,10 +262,10 @@ const E = (t, n) => {
261
262
  null,
262
263
  -1
263
264
  /* HOISTED */
264
- ), C3 = [
265
- F3,
266
- S3
267
- ], V3 = {
265
+ ), V3 = [
266
+ S3,
267
+ C3
268
+ ], O3 = {
268
269
  key: 3,
269
270
  t: "1686300157181",
270
271
  class: "icon",
@@ -274,7 +275,7 @@ const E = (t, n) => {
274
275
  "p-id": "8292",
275
276
  width: "200",
276
277
  height: "200"
277
- }, O3 = /* @__PURE__ */ r(
278
+ }, B3 = /* @__PURE__ */ r(
278
279
  "path",
279
280
  {
280
281
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",
@@ -284,7 +285,7 @@ const E = (t, n) => {
284
285
  null,
285
286
  -1
286
287
  /* HOISTED */
287
- ), B3 = /* @__PURE__ */ r(
288
+ ), I3 = /* @__PURE__ */ r(
288
289
  "path",
289
290
  {
290
291
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -294,10 +295,10 @@ const E = (t, n) => {
294
295
  null,
295
296
  -1
296
297
  /* HOISTED */
297
- ), I3 = [
298
- O3,
299
- B3
300
- ], R3 = {
298
+ ), R3 = [
299
+ B3,
300
+ I3
301
+ ], $3 = {
301
302
  key: 4,
302
303
  t: "1686300180947",
303
304
  class: "icon",
@@ -307,7 +308,7 @@ const E = (t, n) => {
307
308
  "p-id": "8447",
308
309
  width: "200",
309
310
  height: "200"
310
- }, $3 = /* @__PURE__ */ r(
311
+ }, D3 = /* @__PURE__ */ r(
311
312
  "path",
312
313
  {
313
314
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",
@@ -317,7 +318,7 @@ const E = (t, n) => {
317
318
  null,
318
319
  -1
319
320
  /* HOISTED */
320
- ), D3 = /* @__PURE__ */ r(
321
+ ), M3 = /* @__PURE__ */ r(
321
322
  "path",
322
323
  {
323
324
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -327,10 +328,10 @@ const E = (t, n) => {
327
328
  null,
328
329
  -1
329
330
  /* HOISTED */
330
- ), M3 = [
331
- $3,
332
- D3
333
- ], H3 = {
331
+ ), H3 = [
332
+ D3,
333
+ M3
334
+ ], q3 = {
334
335
  key: 5,
335
336
  t: "1686300195363",
336
337
  class: "icon",
@@ -340,7 +341,7 @@ const E = (t, n) => {
340
341
  "p-id": "8602",
341
342
  width: "200",
342
343
  height: "200"
343
- }, q3 = /* @__PURE__ */ r(
344
+ }, E3 = /* @__PURE__ */ r(
344
345
  "path",
345
346
  {
346
347
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",
@@ -350,7 +351,7 @@ const E = (t, n) => {
350
351
  null,
351
352
  -1
352
353
  /* HOISTED */
353
- ), E3 = /* @__PURE__ */ r(
354
+ ), A3 = /* @__PURE__ */ r(
354
355
  "path",
355
356
  {
356
357
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -360,10 +361,10 @@ const E = (t, n) => {
360
361
  null,
361
362
  -1
362
363
  /* HOISTED */
363
- ), A3 = [
364
- q3,
365
- E3
366
- ], P3 = {
364
+ ), P3 = [
365
+ E3,
366
+ A3
367
+ ], T3 = {
367
368
  key: 6,
368
369
  t: "1686300209288",
369
370
  class: "icon",
@@ -373,7 +374,7 @@ const E = (t, n) => {
373
374
  "p-id": "8757",
374
375
  width: "200",
375
376
  height: "200"
376
- }, T3 = /* @__PURE__ */ r(
377
+ }, U3 = /* @__PURE__ */ r(
377
378
  "path",
378
379
  {
379
380
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",
@@ -383,7 +384,7 @@ const E = (t, n) => {
383
384
  null,
384
385
  -1
385
386
  /* HOISTED */
386
- ), U3 = /* @__PURE__ */ r(
387
+ ), j3 = /* @__PURE__ */ r(
387
388
  "path",
388
389
  {
389
390
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -393,10 +394,10 @@ const E = (t, n) => {
393
394
  null,
394
395
  -1
395
396
  /* HOISTED */
396
- ), j3 = [
397
- T3,
398
- U3
399
- ], L3 = {
397
+ ), L3 = [
398
+ U3,
399
+ j3
400
+ ], N3 = {
400
401
  key: 7,
401
402
  t: "1686300225262",
402
403
  class: "icon",
@@ -406,7 +407,7 @@ const E = (t, n) => {
406
407
  "p-id": "8912",
407
408
  width: "200",
408
409
  height: "200"
409
- }, N3 = /* @__PURE__ */ r(
410
+ }, W3 = /* @__PURE__ */ r(
410
411
  "path",
411
412
  {
412
413
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",
@@ -416,7 +417,7 @@ const E = (t, n) => {
416
417
  null,
417
418
  -1
418
419
  /* HOISTED */
419
- ), W3 = /* @__PURE__ */ r(
420
+ ), K3 = /* @__PURE__ */ r(
420
421
  "path",
421
422
  {
422
423
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -426,10 +427,10 @@ const E = (t, n) => {
426
427
  null,
427
428
  -1
428
429
  /* HOISTED */
429
- ), K3 = [
430
- N3,
431
- W3
432
- ], G3 = {
430
+ ), G3 = [
431
+ W3,
432
+ K3
433
+ ], X3 = {
433
434
  key: 8,
434
435
  t: "1692251753690",
435
436
  class: "icon",
@@ -439,7 +440,7 @@ const E = (t, n) => {
439
440
  "p-id": "4336",
440
441
  width: "200",
441
442
  height: "200"
442
- }, X3 = /* @__PURE__ */ r(
443
+ }, Y3 = /* @__PURE__ */ r(
443
444
  "path",
444
445
  {
445
446
  d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
@@ -449,7 +450,7 @@ const E = (t, n) => {
449
450
  null,
450
451
  -1
451
452
  /* HOISTED */
452
- ), Y3 = /* @__PURE__ */ r(
453
+ ), Z3 = /* @__PURE__ */ r(
453
454
  "path",
454
455
  {
455
456
  d: "M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",
@@ -460,7 +461,7 @@ const E = (t, n) => {
460
461
  null,
461
462
  -1
462
463
  /* HOISTED */
463
- ), Z3 = /* @__PURE__ */ r(
464
+ ), J3 = /* @__PURE__ */ r(
464
465
  "path",
465
466
  {
466
467
  d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
@@ -470,11 +471,11 @@ const E = (t, n) => {
470
471
  null,
471
472
  -1
472
473
  /* HOISTED */
473
- ), J3 = [
474
- X3,
474
+ ), Q3 = [
475
475
  Y3,
476
- Z3
477
- ], Q3 = {
476
+ Z3,
477
+ J3
478
+ ], e6 = {
478
479
  key: 9,
479
480
  t: "1692251753690",
480
481
  class: "icon",
@@ -484,7 +485,7 @@ const E = (t, n) => {
484
485
  "p-id": "4336",
485
486
  width: "200",
486
487
  height: "200"
487
- }, e6 = /* @__PURE__ */ r(
488
+ }, t6 = /* @__PURE__ */ r(
488
489
  "path",
489
490
  {
490
491
  d: "M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",
@@ -494,7 +495,7 @@ const E = (t, n) => {
494
495
  null,
495
496
  -1
496
497
  /* HOISTED */
497
- ), t6 = /* @__PURE__ */ r(
498
+ ), n6 = /* @__PURE__ */ r(
498
499
  "path",
499
500
  {
500
501
  d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
@@ -504,7 +505,7 @@ const E = (t, n) => {
504
505
  null,
505
506
  -1
506
507
  /* HOISTED */
507
- ), n6 = /* @__PURE__ */ r(
508
+ ), o6 = /* @__PURE__ */ r(
508
509
  "path",
509
510
  {
510
511
  d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
@@ -515,7 +516,7 @@ const E = (t, n) => {
515
516
  null,
516
517
  -1
517
518
  /* HOISTED */
518
- ), o6 = /* @__PURE__ */ r(
519
+ ), i6 = /* @__PURE__ */ r(
519
520
  "path",
520
521
  {
521
522
  d: "M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",
@@ -525,12 +526,12 @@ const E = (t, n) => {
525
526
  null,
526
527
  -1
527
528
  /* HOISTED */
528
- ), i6 = [
529
- e6,
529
+ ), l6 = [
530
530
  t6,
531
531
  n6,
532
- o6
533
- ], l6 = {
532
+ o6,
533
+ i6
534
+ ], s6 = {
534
535
  key: 10,
535
536
  t: "1714099890925",
536
537
  class: "icon",
@@ -540,7 +541,7 @@ const E = (t, n) => {
540
541
  "p-id": "2271",
541
542
  width: "200",
542
543
  height: "200"
543
- }, s6 = /* @__PURE__ */ r(
544
+ }, a6 = /* @__PURE__ */ r(
544
545
  "path",
545
546
  {
546
547
  d: "M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",
@@ -550,7 +551,7 @@ const E = (t, n) => {
550
551
  null,
551
552
  -1
552
553
  /* HOISTED */
553
- ), a6 = /* @__PURE__ */ r(
554
+ ), c6 = /* @__PURE__ */ r(
554
555
  "path",
555
556
  {
556
557
  d: "M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",
@@ -561,7 +562,7 @@ const E = (t, n) => {
561
562
  null,
562
563
  -1
563
564
  /* HOISTED */
564
- ), c6 = /* @__PURE__ */ r(
565
+ ), r6 = /* @__PURE__ */ r(
565
566
  "path",
566
567
  {
567
568
  d: "M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",
@@ -571,10 +572,10 @@ const E = (t, n) => {
571
572
  null,
572
573
  -1
573
574
  /* HOISTED */
574
- ), r6 = [
575
- s6,
575
+ ), u6 = [
576
576
  a6,
577
- c6
577
+ c6,
578
+ r6
578
579
  ], d6 = {
579
580
  key: 11,
580
581
  t: "1686300037564",
@@ -585,7 +586,7 @@ const E = (t, n) => {
585
586
  "p-id": "7515",
586
587
  width: "200",
587
588
  height: "200"
588
- }, u6 = /* @__PURE__ */ r(
589
+ }, f6 = /* @__PURE__ */ r(
589
590
  "path",
590
591
  {
591
592
  d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
@@ -595,7 +596,7 @@ const E = (t, n) => {
595
596
  null,
596
597
  -1
597
598
  /* HOISTED */
598
- ), f6 = /* @__PURE__ */ r(
599
+ ), p6 = /* @__PURE__ */ r(
599
600
  "path",
600
601
  {
601
602
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -605,7 +606,7 @@ const E = (t, n) => {
605
606
  null,
606
607
  -1
607
608
  /* HOISTED */
608
- ), p6 = /* @__PURE__ */ r(
609
+ ), v6 = /* @__PURE__ */ r(
609
610
  "path",
610
611
  {
611
612
  d: "M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",
@@ -615,11 +616,11 @@ const E = (t, n) => {
615
616
  null,
616
617
  -1
617
618
  /* HOISTED */
618
- ), v6 = [
619
- u6,
619
+ ), h6 = [
620
620
  f6,
621
- p6
622
- ], h6 = /* @__PURE__ */ F({
621
+ p6,
622
+ v6
623
+ ], g6 = /* @__PURE__ */ F({
623
624
  __name: "FileIcon",
624
625
  props: {
625
626
  type: {
@@ -641,9 +642,9 @@ const E = (t, n) => {
641
642
  },
642
643
  setup(t) {
643
644
  const n = t, o = m(() => n.file ? J(n.file, n.fields) : n.type);
644
- return (e, s) => o.value === "image" ? (c(), u("svg", v3, w3)) : o.value === "zip" ? (c(), u("svg", _3, z3)) : o.value === "ppt" ? (c(), u("svg", b3, C3)) : o.value === "word" ? (c(), u("svg", V3, I3)) : o.value === "pdf" ? (c(), u("svg", R3, M3)) : o.value === "txt" ? (c(), u("svg", H3, 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", l6, r6)) : (c(), u("svg", d6, v6));
645
+ return (e, l) => o.value === "image" ? (c(), d("svg", h3, _3)) : o.value === "zip" ? (c(), d("svg", k3, z3)) : o.value === "ppt" ? (c(), d("svg", F3, V3)) : o.value === "word" ? (c(), d("svg", O3, R3)) : o.value === "pdf" ? (c(), d("svg", $3, H3)) : o.value === "txt" ? (c(), d("svg", q3, P3)) : o.value === "audio" ? (c(), d("svg", T3, L3)) : o.value === "video" ? (c(), d("svg", N3, G3)) : o.value === "excel" ? (c(), d("svg", X3, Q3)) : o.value === "exe" ? (c(), d("svg", e6, l6)) : o.value === "json" ? (c(), d("svg", s6, u6)) : (c(), d("svg", d6, h6));
645
646
  }
646
- }), g6 = ["onClick"], m6 = { class: "fileName simple" }, y6 = ["onClick"], w6 = { class: "text" }, _6 = { class: "fileName" }, k6 = { class: "size" }, x6 = /* @__PURE__ */ F({
647
+ }), m6 = ["onClick"], y6 = { class: "fileName simple" }, w6 = ["onClick"], _6 = { class: "text" }, k6 = { class: "fileName" }, x6 = { class: "size" }, b6 = /* @__PURE__ */ F({
647
648
  __name: "IkPreviewFile",
648
649
  props: {
649
650
  list: {
@@ -718,59 +719,59 @@ const E = (t, n) => {
718
719
  }
719
720
  },
720
721
  setup(t) {
721
- const n = t, { cLoadUrl: o, cOnlyofficeConfig: e } = u3(n), s = m(() => ({
722
+ const n = t, { cLoadUrl: o, cOnlyofficeConfig: e } = f3(n), l = m(() => ({
722
723
  name: "name",
723
724
  url: "url",
724
725
  suffix: "suffix",
725
726
  size: "size",
726
727
  ...n.field
727
- })), i = q({}), a = q(!1), p = (d) => {
728
+ })), i = q({}), s = q(!1), v = (u) => {
728
729
  var w, x;
729
730
  i.value = {
730
- ...d,
731
- name: d.name,
731
+ ...u,
732
+ name: u.name,
732
733
  url: T(
733
734
  o.value,
734
- d.url || ((x = (w = d == null ? void 0 : d.response) == null ? void 0 : w.data) == null ? void 0 : x.id) || (d == null ? void 0 : d.id)
735
+ u.url || ((x = (w = u == null ? void 0 : u.response) == null ? void 0 : w.data) == null ? void 0 : x.id) || (u == null ? void 0 : u.id)
735
736
  )
736
- }, a.value = !0;
737
- }, h = (d) => {
738
- s3.downloadFile(
737
+ }, s.value = !0;
738
+ }, f = (u) => {
739
+ a3.downloadFile(
739
740
  T(
740
741
  o.value,
741
- d[s.value.url] || d.attachmentId || d.id
742
+ u[l.value.url] || u.attachmentId || u.id
742
743
  ),
743
- d[s.value.name] || d.attachmentName
744
+ u[l.value.name] || u.attachmentName
744
745
  );
745
- }, l = m(() => l3.isNumber(n.width) ? `${n.width}px` : n.width), v = m(() => n.list.map((d) => ({
746
- ...d,
747
- name: d[s.value.name] || d.attachmentName,
748
- size: d[s.value.size] || d.fileSize || d.attachmentSize,
749
- suffix: d[s.value.suffix] || d.attachmentSuffix
746
+ }, a = m(() => s3.isNumber(n.width) ? `${n.width}px` : n.width), h = m(() => n.list.map((u) => ({
747
+ ...u,
748
+ name: u[l.value.name] || u.attachmentName,
749
+ size: u[l.value.size] || u.fileSize || u.attachmentSize,
750
+ suffix: u[l.value.suffix] || u.attachmentSuffix
750
751
  })));
751
- return (d, w) => {
752
+ return (u, w) => {
752
753
  var _, A, P;
753
- const x = I("tmplate");
754
- return c(), u(
754
+ const x = $("tmplate");
755
+ return c(), d(
755
756
  M,
756
757
  null,
757
758
  [
758
- (_ = t.list) != null && _.length ? (c(), u(
759
+ (_ = t.list) != null && _.length ? (c(), d(
759
760
  M,
760
761
  { key: 0 },
761
762
  [
762
- t.simple ? (c(!0), u(
763
+ t.simple ? (c(!0), d(
763
764
  M,
764
765
  { key: 0 },
765
- L(v.value, (f, O) => (c(), u("div", {
766
+ L(h.value, (p, O) => (c(), d("div", {
766
767
  class: "iking-privew-annex simple",
767
- onClick: (B) => p(f),
768
- style: z({ width: l.value })
768
+ onClick: (B) => v(p),
769
+ style: b({ width: a.value })
769
770
  }, [
770
771
  r(
771
772
  "div",
772
- m6,
773
- V(f.name),
773
+ y6,
774
+ V(p.name),
774
775
  1
775
776
  /* TEXT */
776
777
  ),
@@ -780,67 +781,67 @@ const E = (t, n) => {
780
781
  class: S(["flex flex-center", { "hover-show": t.iconHoverShow }])
781
782
  },
782
783
  [
783
- k(g(R), {
784
+ k(g(I), {
784
785
  name: "iksvg_daochu",
785
- onClick: K((B) => h(f), ["stop"]),
786
+ onClick: K((B) => f(p), ["stop"]),
786
787
  size: 20,
787
788
  active: ""
788
789
  }, null, 8, ["onClick"]),
789
- k(g(R), {
790
+ k(g(I), {
790
791
  name: "iksvg_yulan",
791
792
  size: 20,
792
793
  active: ""
793
794
  }),
794
- C(d.$slots, "operation", {
795
- data: { ...f, findex: O }
795
+ C(u.$slots, "operation", {
796
+ data: { ...p, findex: O }
796
797
  })
797
798
  ],
798
799
  2
799
800
  /* CLASS */
800
801
  )
801
- ], 12, g6))),
802
+ ], 12, m6))),
802
803
  256
803
804
  /* UNKEYED_FRAGMENT */
804
- )) : (c(), b(x, { key: 1 }, {
805
+ )) : (c(), z(x, { key: 1 }, {
805
806
  default: y(() => [
806
- (c(!0), u(
807
+ (c(!0), d(
807
808
  M,
808
809
  null,
809
- L(v.value, (f, O) => {
810
+ L(h.value, (p, O) => {
810
811
  var B;
811
- return c(), u(
812
+ return c(), d(
812
813
  "div",
813
814
  {
814
815
  class: S(["iking-privew-annex", { "is-bg": t.showBg }]),
815
816
  key: O,
816
- style: z({
817
+ style: b({
817
818
  marginBottom: O == ((B = t.list) == null ? void 0 : B.length) - 1 ? "0" : "10px",
818
- width: l.value
819
+ width: a.value
819
820
  })
820
821
  },
821
822
  [
822
823
  r("div", {
823
824
  class: "file-card",
824
- onClick: (j) => p(f)
825
+ onClick: (j) => v(p)
825
826
  }, [
826
- k(h6, {
827
- file: f,
828
- style: z({ height: `${t.iconSize}px` }),
827
+ k(g6, {
828
+ file: p,
829
+ style: b({ height: `${t.iconSize}px` }),
829
830
  class: "ikui-w-auto",
830
- fields: s.value
831
+ fields: l.value
831
832
  }, null, 8, ["file", "style", "fields"]),
832
- r("div", w6, [
833
+ r("div", _6, [
833
834
  r(
834
835
  "div",
835
- _6,
836
- V(f.name),
836
+ k6,
837
+ V(p.name),
837
838
  1
838
839
  /* TEXT */
839
840
  ),
840
841
  r(
841
842
  "div",
842
- k6,
843
- V(g(r3)(f.size)),
843
+ x6,
844
+ V(g(u3)(p.size)),
844
845
  1
845
846
  /* TEXT */
846
847
  )
@@ -851,25 +852,25 @@ const E = (t, n) => {
851
852
  class: S(["flex flex-center", { "hover-show": t.iconHoverShow }])
852
853
  },
853
854
  [
854
- k(g(R), {
855
+ k(g(I), {
855
856
  name: "iksvg_daochu",
856
- onClick: K((j) => h(f), ["stop"]),
857
+ onClick: K((j) => f(p), ["stop"]),
857
858
  bg: t.showBg,
858
859
  size: t.showBg ? "default" : 20
859
860
  }, null, 8, ["onClick", "bg", "size"]),
860
- k(g(R), {
861
+ k(g(I), {
861
862
  name: "iksvg_yulan",
862
863
  bg: t.showBg,
863
864
  size: t.showBg ? "default" : 20
864
865
  }, null, 8, ["bg", "size"]),
865
- C(d.$slots, "operation", {
866
- data: { ...f, findex: O }
866
+ C(u.$slots, "operation", {
867
+ data: { ...p, findex: O }
867
868
  })
868
869
  ],
869
870
  2
870
871
  /* CLASS */
871
872
  )
872
- ], 8, y6)
873
+ ], 8, w6)
873
874
  ],
874
875
  6
875
876
  /* CLASS, STYLE */
@@ -885,10 +886,10 @@ const E = (t, n) => {
885
886
  ],
886
887
  64
887
888
  /* STABLE_FRAGMENT */
888
- )) : $("v-if", !0),
889
- k(g(F6), {
890
- show: a.value,
891
- "onUpdate:show": w[0] || (w[0] = (f) => a.value = f),
889
+ )) : R("v-if", !0),
890
+ k(g(S6), {
891
+ show: s.value,
892
+ "onUpdate:show": w[0] || (w[0] = (p) => s.value = p),
892
893
  loadUrl: g(o),
893
894
  file: i.value,
894
895
  onlyofficeServer: ((A = g(e)) == null ? void 0 : A.serverUrl) || t.onlyofficeServer,
@@ -902,7 +903,7 @@ const E = (t, n) => {
902
903
  };
903
904
  }
904
905
  });
905
- const z6 = E(x6), b6 = /* @__PURE__ */ F({
906
+ const z6 = E(b6), F6 = /* @__PURE__ */ F({
906
907
  __name: "IkPreviewFileDialog",
907
908
  props: /* @__PURE__ */ Y({
908
909
  file: {
@@ -945,23 +946,23 @@ const z6 = E(x6), b6 = /* @__PURE__ */ F({
945
946
  suffix: "suffix",
946
947
  size: "fileSize",
947
948
  ...n.field
948
- })), s = q(null), i = q(null), a = Q({
949
+ })), l = q(null), i = q(null), s = Q({
949
950
  image: !1,
950
951
  office: !1,
951
952
  video: !1
952
- }), p = (l) => {
953
- var v, d, w, x, _, A, P;
953
+ }), v = (a) => {
954
+ var h, u, w, x, _, A, P;
954
955
  try {
955
- const f = ((v = l == null ? void 0 : l.response) == null ? void 0 : v.data) || l, O = f[e.value.url] || (f == null ? void 0 : f.id) || f.attachmentId, B = (d = f[e.value.suffix] || f.attachmentSuffix) == null ? void 0 : d.toLowerCase(), j = f[e.value.name] || (f == null ? void 0 : f.attachmentName) || (f == null ? void 0 : f.originName);
956
+ const p = ((h = a == null ? void 0 : a.response) == null ? void 0 : h.data) || a, O = p[e.value.url] || (p == null ? void 0 : p.id) || p.attachmentId, B = (u = p[e.value.suffix] || p.attachmentSuffix) == null ? void 0 : u.toLowerCase(), j = p[e.value.name] || (p == null ? void 0 : p.attachmentName) || (p == null ? void 0 : p.originName);
956
957
  if (i.value = {
957
- ...l,
958
- name: l[e.value.name],
958
+ ...a,
959
+ name: a[e.value.name],
959
960
  url: T(n.loadUrl, O)
960
- }, l && J(l, e.value) === "image") {
961
- a.image = !0;
961
+ }, a && J(a, e.value) === "image") {
962
+ s.image = !0;
962
963
  return;
963
964
  } else if ((((w = n.onlyOfficeConfig) == null ? void 0 : w.accept) || n.onlyOfficeAccept).includes(B)) {
964
- a.office = !0, s.value = {
965
+ s.office = !0, l.value = {
965
966
  ...n.onlyOfficeConfig,
966
967
  editorConfig: {
967
968
  ...((x = n.onlyOfficeConfig) == null ? void 0 : x.editorConfig) || {},
@@ -973,47 +974,47 @@ const z6 = E(x6), b6 = /* @__PURE__ */ F({
973
974
  }
974
975
  },
975
976
  document: {
976
- key: a3(),
977
+ key: c3(),
977
978
  title: j,
978
979
  url: T(n.loadUrl, O),
979
980
  fileType: B,
980
981
  ...((P = n.onlyOfficeConfig) == null ? void 0 : P.document) || {}
981
982
  },
982
- documentType: p3(B)
983
+ documentType: v3(B)
983
984
  };
984
985
  return;
985
986
  }
986
- } catch (f) {
987
- console.info("预览错误: ", f);
987
+ } catch (p) {
988
+ console.info("预览错误: ", p);
988
989
  }
989
990
  };
990
- e3([o, n.file], ([l, v]) => {
991
- l && t3(() => {
992
- p(n.file);
991
+ e3([o, n.file], ([a, h]) => {
992
+ a && t3(() => {
993
+ v(n.file);
993
994
  });
994
995
  });
995
- const h = () => {
996
- o.value = !1, a.office = !1, a.image = !1, a.video = !1;
996
+ const f = () => {
997
+ o.value = !1, s.office = !1, s.image = !1, s.video = !1;
997
998
  };
998
- return (l, v) => {
999
+ return (a, h) => {
999
1000
  var w, x;
1000
- const d = I("el-image-viewer");
1001
- return o.value ? (c(), u(
1001
+ const u = $("el-image-viewer");
1002
+ return o.value ? (c(), d(
1002
1003
  M,
1003
1004
  { key: 0 },
1004
1005
  [
1005
- (w = i.value) != null && w.url && a.image ? (c(), b(d, {
1006
+ (w = i.value) != null && w.url && s.image ? (c(), z(u, {
1006
1007
  key: 0,
1007
- onClose: v[0] || (v[0] = (_) => {
1008
- i.value = null, a.image = !1;
1008
+ onClose: h[0] || (h[0] = (_) => {
1009
+ i.value = null, s.image = !1;
1009
1010
  }),
1010
1011
  ref: "previewImgRef",
1011
1012
  "url-list": [(x = i.value) == null ? void 0 : x.url]
1012
- }, null, 8, ["url-list"])) : $("v-if", !0),
1013
- $(" 文档类 "),
1014
- k(g(P6), {
1015
- modelValue: a.office,
1016
- "onUpdate:modelValue": v[1] || (v[1] = (_) => a.office = _),
1013
+ }, null, 8, ["url-list"])) : R("v-if", !0),
1014
+ R(" 文档类 "),
1015
+ k(g(T6), {
1016
+ modelValue: s.office,
1017
+ "onUpdate:modelValue": h[1] || (h[1] = (_) => s.office = _),
1017
1018
  draggable: "",
1018
1019
  "no-footer": "",
1019
1020
  "no-header": "",
@@ -1023,14 +1024,14 @@ const z6 = E(x6), b6 = /* @__PURE__ */ F({
1023
1024
  "close-on-click-modal": "",
1024
1025
  "close-on-press-escape": !1,
1025
1026
  "append-to-body": "",
1026
- onClose: h,
1027
+ onClose: f,
1027
1028
  "modal-class": "ik-only-preview-dialog"
1028
1029
  }, {
1029
1030
  default: y(() => {
1030
1031
  var _;
1031
1032
  return [
1032
- k(g(G6), {
1033
- "config-options": s.value,
1033
+ k(g(X6), {
1034
+ "config-options": l.value,
1034
1035
  "document-server-url": ((_ = t.onlyOfficeConfig) == null ? void 0 : _.serverUrl) || t.onlyofficeServer
1035
1036
  }, null, 8, ["config-options", "document-server-url"])
1036
1037
  ];
@@ -1041,22 +1042,22 @@ const z6 = E(x6), b6 = /* @__PURE__ */ F({
1041
1042
  ],
1042
1043
  64
1043
1044
  /* STABLE_FRAGMENT */
1044
- )) : $("v-if", !0);
1045
+ )) : R("v-if", !0);
1045
1046
  };
1046
1047
  }
1047
1048
  });
1048
- const F6 = E(b6), S6 = {
1049
+ const S6 = E(F6), C6 = {
1049
1050
  key: 0,
1050
1051
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
1051
- }, C6 = {
1052
+ }, V6 = {
1052
1053
  key: 1,
1053
1054
  class: "h-[1em] w-[1em]",
1054
1055
  "aria-hidden": "true"
1055
- }, V6 = ["xlink:href"], O6 = ["src"], B6 = {
1056
+ }, O6 = ["xlink:href"], B6 = ["src"], I6 = {
1056
1057
  key: 1,
1057
1058
  class: "h-[1em] w-[1em]",
1058
1059
  "aria-hidden": "true"
1059
- }, I6 = ["xlink:href"], R6 = ["src"], $6 = /* @__PURE__ */ F({
1060
+ }, R6 = ["xlink:href"], $6 = ["src"], D6 = /* @__PURE__ */ F({
1060
1061
  name: "IkSvgIcon",
1061
1062
  __name: "index",
1062
1063
  props: {
@@ -1086,84 +1087,84 @@ const F6 = E(b6), S6 = {
1086
1087
  const n = t, o = D("iconConfig"), e = m(() => ({
1087
1088
  ...(o == null ? void 0 : o.value) || {},
1088
1089
  ...n
1089
- })), s = m(() => {
1090
- const { name: a } = e.value;
1091
- return /^http?:\/\//.test(a) ? "img" : /i-[^:]+:[^:]+/.test(a) ? "unocss" : a != null && a.startsWith("iksig") ? "iksig" : a != null && a.includes(":") ? "iconify" : a != null && a.startsWith("iksvg") ? "svg" : "i";
1090
+ })), l = m(() => {
1091
+ const { name: s } = e.value;
1092
+ return /^http?:\/\//.test(s) ? "img" : /i-[^:]+:[^:]+/.test(s) ? "unocss" : s != null && s.startsWith("iksig") ? "iksig" : s != null && s.includes(":") ? "iconify" : s != null && s.startsWith("iksvg") ? "svg" : "i";
1092
1093
  }), i = m(() => {
1093
- const a = [];
1094
+ const s = [];
1094
1095
  if (e.value.flip)
1095
1096
  switch (e.value.flip) {
1096
1097
  case "horizontal":
1097
- a.push("rotateY(180deg)");
1098
+ s.push("rotateY(180deg)");
1098
1099
  break;
1099
1100
  case "vertical":
1100
- a.push("rotateX(180deg)");
1101
+ s.push("rotateX(180deg)");
1101
1102
  break;
1102
1103
  case "both":
1103
- a.push("rotateX(180deg)"), a.push("rotateY(180deg)");
1104
+ s.push("rotateX(180deg)"), s.push("rotateY(180deg)");
1104
1105
  break;
1105
1106
  }
1106
- e.value.rotate && a.push(`rotate(${e.value.rotate % 360}deg)`);
1107
- const p = {
1107
+ e.value.rotate && s.push(`rotate(${e.value.rotate % 360}deg)`);
1108
+ const v = {
1108
1109
  ...e.value.color && { color: e.value.color },
1109
1110
  ...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
1110
- ...a.length && { transform: a.join(" ") },
1111
+ ...s.length && { transform: s.join(" ") },
1111
1112
  padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
1112
- ...e.value.color && s.value !== "iksig" ? {
1113
+ ...e.value.color && l.value !== "iksig" ? {
1113
1114
  "--ik-color-icon-dark": e.value.color,
1114
- "--ik-color-icon-light": e.value.colorLight || c3.setOpacity(e.value.color, e.value.opacity)
1115
+ "--ik-color-icon-light": e.value.colorLight || r3.setOpacity(e.value.color, e.value.opacity)
1115
1116
  } : {}
1116
1117
  };
1117
- return e.value.width && (p.width = p.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), p;
1118
+ return e.value.width && (v.width = v.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), v;
1118
1119
  });
1119
- return (a, p) => {
1120
- const h = I("el-tooltip"), l = I("el-button");
1121
- return e.value.tableIconType === "icon" || !e.value.tableIconType ? (c(), u("span", S6, [
1122
- e.value.notip || !e.value.title ? (c(), u(
1120
+ return (s, v) => {
1121
+ const f = $("el-tooltip"), a = $("el-button");
1122
+ return e.value.tableIconType === "icon" || !e.value.tableIconType ? (c(), d("span", C6, [
1123
+ e.value.notip || !e.value.title ? (c(), d(
1123
1124
  "i",
1124
1125
  {
1125
1126
  key: 0,
1126
1127
  class: S(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1127
- [a.name]: s.value === "unocss",
1128
+ [s.name]: l.value === "unocss",
1128
1129
  "show-bg": e.value.showBg || e.value.bg,
1129
1130
  default: e.value.size === "default",
1130
1131
  small: e.value.size === "small",
1131
1132
  big: e.value.size === "big",
1132
1133
  warning: e.value.warning || e.value.type === "warning",
1133
1134
  primary: e.value.primary || e.value.type === "primary",
1134
- success: a.success || e.value.type === "success",
1135
+ success: s.success || e.value.type === "success",
1135
1136
  error: e.value.error || e.value.type === "error",
1136
1137
  active: e.value.active,
1137
1138
  disabled: e.value.disabled
1138
1139
  }]),
1139
- style: z(i.value)
1140
+ style: b(i.value)
1140
1141
  },
1141
1142
  [
1142
- $(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1143
- s.value === "iksig" ? (c(), u(
1143
+ R(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1144
+ l.value === "iksig" ? (c(), d(
1144
1145
  "i",
1145
1146
  {
1146
1147
  key: 0,
1147
1148
  class: S(`iksig ${e.value.name}`),
1148
- style: z(i.value)
1149
+ style: b(i.value)
1149
1150
  },
1150
1151
  null,
1151
1152
  6
1152
1153
  /* CLASS, STYLE */
1153
- )) : s.value === "svg" ? (c(), u("svg", C6, [
1154
+ )) : l.value === "svg" ? (c(), d("svg", V6, [
1154
1155
  r("use", {
1155
1156
  "xlink:href": `#${e.value.name}`
1156
- }, null, 8, V6)
1157
- ])) : s.value === "img" ? (c(), u("img", {
1157
+ }, null, 8, O6)
1158
+ ])) : l.value === "img" ? (c(), d("img", {
1158
1159
  key: 2,
1159
1160
  src: e.value.name,
1160
1161
  class: "h-[1em] w-[1em]"
1161
- }, null, 8, O6)) : (c(), u(
1162
+ }, null, 8, B6)) : (c(), d(
1162
1163
  "i",
1163
1164
  {
1164
1165
  key: 3,
1165
1166
  class: S(e.value.name),
1166
- style: z(i.value)
1167
+ style: b(i.value)
1167
1168
  },
1168
1169
  null,
1169
1170
  6
@@ -1172,7 +1173,7 @@ const F6 = E(b6), S6 = {
1172
1173
  ],
1173
1174
  6
1174
1175
  /* CLASS, STYLE */
1175
- )) : (c(), b(h, {
1176
+ )) : (c(), z(f, {
1176
1177
  key: 1,
1177
1178
  content: e.value.title,
1178
1179
  placement: "top"
@@ -1182,44 +1183,44 @@ const F6 = E(b6), S6 = {
1182
1183
  "i",
1183
1184
  {
1184
1185
  class: S(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1185
- [a.name]: s.value === "unocss",
1186
+ [s.name]: l.value === "unocss",
1186
1187
  "show-bg": e.value.showBg || e.value.bg,
1187
1188
  default: e.value.size === "default",
1188
1189
  small: e.value.size === "small",
1189
1190
  big: e.value.size === "big",
1190
1191
  warning: e.value.warning || e.value.type === "warning",
1191
- primary: a.primary || e.value.type === "primary",
1192
- success: a.success || e.value.type === "success",
1192
+ primary: s.primary || e.value.type === "primary",
1193
+ success: s.success || e.value.type === "success",
1193
1194
  error: e.value.error || e.value.type === "error",
1194
1195
  active: e.value.active
1195
1196
  }]),
1196
- style: z(i.value)
1197
+ style: b(i.value)
1197
1198
  },
1198
1199
  [
1199
- s.value === "iksig" ? (c(), u(
1200
+ l.value === "iksig" ? (c(), d(
1200
1201
  "i",
1201
1202
  {
1202
1203
  key: 0,
1203
1204
  class: S(`iksig ${e.value.name}`),
1204
- style: z(i.value)
1205
+ style: b(i.value)
1205
1206
  },
1206
1207
  null,
1207
1208
  6
1208
1209
  /* CLASS, STYLE */
1209
- )) : s.value === "svg" ? (c(), u("svg", B6, [
1210
+ )) : l.value === "svg" ? (c(), d("svg", I6, [
1210
1211
  r("use", {
1211
1212
  "xlink:href": `#${e.value.name}`
1212
- }, null, 8, I6)
1213
- ])) : s.value === "img" ? (c(), u("img", {
1213
+ }, null, 8, R6)
1214
+ ])) : l.value === "img" ? (c(), d("img", {
1214
1215
  key: 2,
1215
1216
  src: e.value.name,
1216
1217
  class: "h-[1em] w-[1em]"
1217
- }, null, 8, R6)) : (c(), u(
1218
+ }, null, 8, $6)) : (c(), d(
1218
1219
  "i",
1219
1220
  {
1220
1221
  key: 3,
1221
1222
  class: S(e.value.name),
1222
- style: z(i.value)
1223
+ style: b(i.value)
1223
1224
  },
1224
1225
  null,
1225
1226
  6
@@ -1233,7 +1234,7 @@ const F6 = E(b6), S6 = {
1233
1234
  _: 1
1234
1235
  /* STABLE */
1235
1236
  }, 8, ["content"]))
1236
- ])) : (c(), b(l, {
1237
+ ])) : (c(), z(a, {
1237
1238
  key: 1,
1238
1239
  type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
1239
1240
  }, {
@@ -1250,10 +1251,10 @@ const F6 = E(b6), S6 = {
1250
1251
  };
1251
1252
  }
1252
1253
  });
1253
- const D6 = /* @__PURE__ */ U($6, [["__scopeId", "data-v-7729b79a"]]), R = E(D6), M6 = {
1254
+ const M6 = /* @__PURE__ */ U(D6, [["__scopeId", "data-v-7729b79a"]]), I = E(M6), H6 = {
1254
1255
  key: 0,
1255
1256
  class: "exit-main-page-maximize"
1256
- }, H6 = /* @__PURE__ */ F({
1257
+ }, q6 = /* @__PURE__ */ F({
1257
1258
  __name: "CloseIcon",
1258
1259
  props: {
1259
1260
  showBg: {
@@ -1266,15 +1267,15 @@ const D6 = /* @__PURE__ */ U($6, [["__scopeId", "data-v-7729b79a"]]), R = E(D6),
1266
1267
  }
1267
1268
  },
1268
1269
  setup(t) {
1269
- return (n, o) => (c(), u("div", null, [
1270
- t.showBg && t.fullscreen ? (c(), u("div", M6, [
1271
- k(g(R), {
1270
+ return (n, o) => (c(), d("div", null, [
1271
+ t.showBg && t.fullscreen ? (c(), d("div", H6, [
1272
+ k(g(I), {
1272
1273
  name: "iksvg_guanbidanchuang",
1273
1274
  title: "关闭",
1274
1275
  size: 20,
1275
1276
  error: ""
1276
1277
  })
1277
- ])) : (c(), b(g(R), {
1278
+ ])) : (c(), z(g(I), {
1278
1279
  key: 1,
1279
1280
  error: "",
1280
1281
  name: "iksvg_guanbidanchuang",
@@ -1284,7 +1285,7 @@ const D6 = /* @__PURE__ */ U($6, [["__scopeId", "data-v-7729b79a"]]), R = E(D6),
1284
1285
  ]));
1285
1286
  }
1286
1287
  });
1287
- const q6 = /* @__PURE__ */ U(H6, [["__scopeId", "data-v-79f49df8"]]), E6 = { class: "base-header" }, A6 = /* @__PURE__ */ F({
1288
+ const E6 = /* @__PURE__ */ U(q6, [["__scopeId", "data-v-79f49df8"]]), A6 = { class: "base-header" }, P6 = /* @__PURE__ */ F({
1288
1289
  __name: "IkBaseDialog",
1289
1290
  props: /* @__PURE__ */ Y({
1290
1291
  title: { default: "" },
@@ -1305,64 +1306,64 @@ const q6 = /* @__PURE__ */ U(H6, [["__scopeId", "data-v-79f49df8"]]), E6 = { cla
1305
1306
  }),
1306
1307
  emits: ["update:modelValue"],
1307
1308
  setup(t) {
1308
- const n = t, o = Z(t, "modelValue"), e = q(n.fullscreen), s = () => {
1309
+ const n = t, o = Z(t, "modelValue"), e = q(n.fullscreen), l = () => {
1309
1310
  e.value = !e.value;
1310
1311
  }, i = F({
1311
1312
  setup() {
1312
- return () => n3(q6, {
1313
+ return () => n3(E6, {
1313
1314
  showBg: n.showCloseBg,
1314
1315
  fullscreen: n.fullscreen
1315
1316
  });
1316
1317
  }
1317
1318
  });
1318
- return (a, p) => {
1319
- const h = I("el-dialog");
1320
- return c(), b(h, N({
1319
+ return (s, v) => {
1320
+ const f = $("el-dialog");
1321
+ return c(), z(f, N({
1321
1322
  modelValue: o.value,
1322
- "onUpdate:modelValue": p[0] || (p[0] = (l) => o.value = l)
1323
- }, a.$attrs, {
1323
+ "onUpdate:modelValue": v[0] || (v[0] = (a) => o.value = a)
1324
+ }, s.$attrs, {
1324
1325
  "close-icon": g(i),
1325
- class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
1326
+ class: `ik-base-dialog ${s.noHeader ? "no-header" : ""} ${s.noFooter ? "no-footer" : ""}`,
1326
1327
  fullscreen: e.value,
1327
1328
  "modal-class": "baseDialog"
1328
1329
  }), o3({
1329
1330
  icon: y(() => [
1330
- C(a.$slots, "title", {}, () => [
1331
+ C(s.$slots, "title", {}, () => [
1331
1332
  H(
1332
- V(a.title),
1333
+ V(s.title),
1333
1334
  1
1334
1335
  /* TEXT */
1335
1336
  )
1336
1337
  ])
1337
1338
  ]),
1338
1339
  header: y(() => [
1339
- r("div", E6, [
1340
- C(a.$slots, "header", {}, () => [
1340
+ r("div", A6, [
1341
+ C(s.$slots, "header", {}, () => [
1341
1342
  H(
1342
- V(a.title),
1343
+ V(s.title),
1343
1344
  1
1344
1345
  /* TEXT */
1345
1346
  )
1346
1347
  ])
1347
1348
  ]),
1348
- a.$attrs.showClose ? (c(), b(g(R), {
1349
+ s.$attrs.showClose ? (c(), z(g(I), {
1349
1350
  key: 0,
1350
- onClick: s,
1351
+ onClick: l,
1351
1352
  name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1352
1353
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1353
1354
  title: e.value ? "退出全屏" : "全屏"
1354
- }, null, 8, ["name", "title"])) : $("v-if", !0)
1355
+ }, null, 8, ["name", "title"])) : R("v-if", !0)
1355
1356
  ]),
1356
1357
  default: y(() => [
1357
- C(a.$slots, "default")
1358
+ C(s.$slots, "default")
1358
1359
  ]),
1359
1360
  _: 2
1360
1361
  /* DYNAMIC */
1361
1362
  }, [
1362
- a.$slots.footer ? {
1363
+ s.$slots.footer ? {
1363
1364
  name: "footer",
1364
1365
  fn: y(() => [
1365
- C(a.$slots, "footer")
1366
+ C(s.$slots, "footer")
1366
1367
  ]),
1367
1368
  key: "0"
1368
1369
  } : void 0
@@ -1370,134 +1371,134 @@ const q6 = /* @__PURE__ */ U(H6, [["__scopeId", "data-v-79f49df8"]]), E6 = { cla
1370
1371
  };
1371
1372
  }
1372
1373
  });
1373
- const P6 = E(A6);
1374
- function T6(t, n, o, e) {
1375
- function s(i) {
1376
- return i instanceof o ? i : new o(function(a) {
1377
- a(i);
1374
+ const T6 = E(P6);
1375
+ function U6(t, n, o, e) {
1376
+ function l(i) {
1377
+ return i instanceof o ? i : new o(function(s) {
1378
+ s(i);
1378
1379
  });
1379
1380
  }
1380
- return new (o || (o = Promise))(function(i, a) {
1381
- function p(v) {
1381
+ return new (o || (o = Promise))(function(i, s) {
1382
+ function v(h) {
1382
1383
  try {
1383
- l(e.next(v));
1384
- } catch (d) {
1385
- a(d);
1384
+ a(e.next(h));
1385
+ } catch (u) {
1386
+ s(u);
1386
1387
  }
1387
1388
  }
1388
- function h(v) {
1389
+ function f(h) {
1389
1390
  try {
1390
- l(e.throw(v));
1391
- } catch (d) {
1392
- a(d);
1391
+ a(e.throw(h));
1392
+ } catch (u) {
1393
+ s(u);
1393
1394
  }
1394
1395
  }
1395
- function l(v) {
1396
- v.done ? i(v.value) : s(v.value).then(p, h);
1396
+ function a(h) {
1397
+ h.done ? i(h.value) : l(h.value).then(v, f);
1397
1398
  }
1398
- l((e = e.apply(t, n || [])).next());
1399
+ a((e = e.apply(t, n || [])).next());
1399
1400
  });
1400
1401
  }
1401
- function U6(t, n) {
1402
+ function j6(t, n) {
1402
1403
  var o = { label: 0, sent: function() {
1403
1404
  if (i[0] & 1)
1404
1405
  throw i[1];
1405
1406
  return i[1];
1406
- }, trys: [], ops: [] }, e, s, i, a;
1407
- return a = { next: p(0), throw: p(1), return: p(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
1407
+ }, trys: [], ops: [] }, e, l, i, s;
1408
+ return s = { next: v(0), throw: v(1), return: v(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() {
1408
1409
  return this;
1409
- }), a;
1410
- function p(l) {
1411
- return function(v) {
1412
- return h([l, v]);
1410
+ }), s;
1411
+ function v(a) {
1412
+ return function(h) {
1413
+ return f([a, h]);
1413
1414
  };
1414
1415
  }
1415
- function h(l) {
1416
+ function f(a) {
1416
1417
  if (e)
1417
1418
  throw new TypeError("Generator is already executing.");
1418
- for (; a && (a = 0, l[0] && (o = 0)), o; )
1419
+ for (; s && (s = 0, a[0] && (o = 0)), o; )
1419
1420
  try {
1420
- if (e = 1, s && (i = l[0] & 2 ? s.return : l[0] ? s.throw || ((i = s.return) && i.call(s), 0) : s.next) && !(i = i.call(s, l[1])).done)
1421
+ if (e = 1, l && (i = a[0] & 2 ? l.return : a[0] ? l.throw || ((i = l.return) && i.call(l), 0) : l.next) && !(i = i.call(l, a[1])).done)
1421
1422
  return i;
1422
- switch (s = 0, i && (l = [l[0] & 2, i.value]), l[0]) {
1423
+ switch (l = 0, i && (a = [a[0] & 2, i.value]), a[0]) {
1423
1424
  case 0:
1424
1425
  case 1:
1425
- i = l;
1426
+ i = a;
1426
1427
  break;
1427
1428
  case 4:
1428
- return o.label++, { value: l[1], done: !1 };
1429
+ return o.label++, { value: a[1], done: !1 };
1429
1430
  case 5:
1430
- o.label++, s = l[1], l = [0];
1431
+ o.label++, l = a[1], a = [0];
1431
1432
  continue;
1432
1433
  case 7:
1433
- l = o.ops.pop(), o.trys.pop();
1434
+ a = o.ops.pop(), o.trys.pop();
1434
1435
  continue;
1435
1436
  default:
1436
- if (i = o.trys, !(i = i.length > 0 && i[i.length - 1]) && (l[0] === 6 || l[0] === 2)) {
1437
+ if (i = o.trys, !(i = i.length > 0 && i[i.length - 1]) && (a[0] === 6 || a[0] === 2)) {
1437
1438
  o = 0;
1438
1439
  continue;
1439
1440
  }
1440
- if (l[0] === 3 && (!i || l[1] > i[0] && l[1] < i[3])) {
1441
- o.label = l[1];
1441
+ if (a[0] === 3 && (!i || a[1] > i[0] && a[1] < i[3])) {
1442
+ o.label = a[1];
1442
1443
  break;
1443
1444
  }
1444
- if (l[0] === 6 && o.label < i[1]) {
1445
- o.label = i[1], i = l;
1445
+ if (a[0] === 6 && o.label < i[1]) {
1446
+ o.label = i[1], i = a;
1446
1447
  break;
1447
1448
  }
1448
1449
  if (i && o.label < i[2]) {
1449
- o.label = i[2], o.ops.push(l);
1450
+ o.label = i[2], o.ops.push(a);
1450
1451
  break;
1451
1452
  }
1452
1453
  i[2] && o.ops.pop(), o.trys.pop();
1453
1454
  continue;
1454
1455
  }
1455
- l = n.call(t, o);
1456
- } catch (v) {
1457
- l = [6, v], s = 0;
1456
+ a = n.call(t, o);
1457
+ } catch (h) {
1458
+ a = [6, h], l = 0;
1458
1459
  } finally {
1459
1460
  e = i = 0;
1460
1461
  }
1461
- if (l[0] & 5)
1462
- throw l[1];
1463
- return { value: l[0] ? l[1] : void 0, done: !0 };
1462
+ if (a[0] & 5)
1463
+ throw a[1];
1464
+ return { value: a[0] ? a[1] : void 0, done: !0 };
1464
1465
  }
1465
1466
  }
1466
- var j6 = function(t, n) {
1467
- return T6(void 0, void 0, void 0, function() {
1468
- return U6(this, function(o) {
1469
- return [2, new Promise(function(e, s) {
1467
+ var L6 = function(t, n) {
1468
+ return U6(void 0, void 0, void 0, function() {
1469
+ return j6(this, function(o) {
1470
+ return [2, new Promise(function(e, l) {
1470
1471
  try {
1471
1472
  if (window.DocsAPI)
1472
1473
  return e(null);
1473
1474
  var i = document.getElementById(n);
1474
1475
  if (i)
1475
- var a = setInterval(function() {
1476
- var h = i.getAttribute("loading");
1477
- if (!h) {
1478
- if (clearInterval(a), window.DocsAPI)
1476
+ var s = setInterval(function() {
1477
+ var f = i.getAttribute("loading");
1478
+ if (!f) {
1479
+ if (clearInterval(s), window.DocsAPI)
1479
1480
  return e(null);
1480
- var l = X(n, t, e, s);
1481
- i.remove(), document.body.appendChild(l);
1481
+ var a = X(n, t, e, l);
1482
+ i.remove(), document.body.appendChild(a);
1482
1483
  }
1483
1484
  }, 500);
1484
1485
  else {
1485
- var p = X(n, t, e, s);
1486
- document.body.appendChild(p);
1486
+ var v = X(n, t, e, l);
1487
+ document.body.appendChild(v);
1487
1488
  }
1488
- } catch (h) {
1489
- console.error(h);
1489
+ } catch (f) {
1490
+ console.error(f);
1490
1491
  }
1491
1492
  })];
1492
1493
  });
1493
1494
  });
1494
1495
  }, X = function(t, n, o, e) {
1495
- var s = document.createElement("script");
1496
- return s.id = t, s.type = "text/javascript", s.src = n, s.async = !0, s.onload = function() {
1497
- s.removeAttribute("loading"), o(null);
1498
- }, s.onerror = function(i) {
1499
- s.removeAttribute("loading"), e(i);
1500
- }, s.setAttribute("loading", ""), s;
1496
+ var l = document.createElement("script");
1497
+ return l.id = t, l.type = "text/javascript", l.src = n, l.async = !0, l.onload = function() {
1498
+ l.removeAttribute("loading"), o(null);
1499
+ }, l.onerror = function(i) {
1500
+ l.removeAttribute("loading"), e(i);
1501
+ }, l.setAttribute("loading", ""), l;
1501
1502
  }, W = F({
1502
1503
  name: "DocumentEditor",
1503
1504
  props: {
@@ -1553,7 +1554,7 @@ var j6 = function(t, n) {
1553
1554
  var t = this, n = this.documentServerUrl;
1554
1555
  n.endsWith("/") || (n += "/");
1555
1556
  var o = "".concat(n, "web-apps/apps/api/documents/api.js");
1556
- j6(o, "onlyoffice-api-script").then(function() {
1557
+ L6(o, "onlyoffice-api-script").then(function() {
1557
1558
  return t.onLoad();
1558
1559
  }).catch(function() {
1559
1560
  t.onError(-2);
@@ -1637,8 +1638,8 @@ var j6 = function(t, n) {
1637
1638
  height: this.height,
1638
1639
  type: this.type,
1639
1640
  width: this.width
1640
- }, this.config || {}), s = window.DocsAPI.DocEditor(o, e);
1641
- window.DocEditor.instances[o] = s;
1641
+ }, this.config || {}), l = window.DocsAPI.DocEditor(o, e);
1642
+ window.DocEditor.instances[o] = l;
1642
1643
  } catch (i) {
1643
1644
  console.error(i), this.onError(-1);
1644
1645
  }
@@ -1667,13 +1668,13 @@ var j6 = function(t, n) {
1667
1668
  }
1668
1669
  }
1669
1670
  });
1670
- const L6 = ["id"];
1671
- function N6(t, n, o, e, s, i) {
1672
- return c(), u("div", { id: t.id }, null, 8, L6);
1671
+ const N6 = ["id"];
1672
+ function W6(t, n, o, e, l, i) {
1673
+ return c(), d("div", { id: t.id }, null, 8, N6);
1673
1674
  }
1674
- W.render = N6;
1675
+ W.render = W6;
1675
1676
  W.__file = "src/components/DocumentEditor.vue";
1676
- const W6 = /* @__PURE__ */ F({
1677
+ const K6 = /* @__PURE__ */ F({
1677
1678
  __name: "IkOnlyOffice",
1678
1679
  props: {
1679
1680
  // 文件服务器的服务的地址
@@ -1702,10 +1703,10 @@ const W6 = /* @__PURE__ */ F({
1702
1703
  }), e = () => {
1703
1704
  console.info("文档加载完成", n.configOptions);
1704
1705
  };
1705
- return (s, i) => (c(), u(
1706
+ return (l, i) => (c(), d(
1706
1707
  "div",
1707
1708
  {
1708
- style: z({ height: n.officeHeight })
1709
+ style: b({ height: n.officeHeight })
1709
1710
  },
1710
1711
  [
1711
1712
  k(g(W), {
@@ -1721,7 +1722,7 @@ const W6 = /* @__PURE__ */ F({
1721
1722
  ));
1722
1723
  }
1723
1724
  });
1724
- const K6 = /* @__PURE__ */ U(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = E(K6), X6 = /* @__PURE__ */ F({
1725
+ const G6 = /* @__PURE__ */ U(K6, [["__scopeId", "data-v-98d51ef9"]]), X6 = E(G6), Y6 = /* @__PURE__ */ F({
1725
1726
  __name: "IKDescription",
1726
1727
  props: {
1727
1728
  showIcon: {
@@ -1780,8 +1781,8 @@ const K6 = /* @__PURE__ */ U(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = E(K6)
1780
1781
  }
1781
1782
  },
1782
1783
  setup(t) {
1783
- i3((s) => ({
1784
- "645335a7": e.value
1784
+ i3((l) => ({
1785
+ acbb9d0c: e.value
1785
1786
  }));
1786
1787
  const n = t, o = {
1787
1788
  id: "id",
@@ -1792,44 +1793,44 @@ const K6 = /* @__PURE__ */ U(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = E(K6)
1792
1793
  fileList: "fileList",
1793
1794
  ...n.fileField
1794
1795
  }, e = m(() => typeof n.labelWidth == "number" ? `${n.labelWidth}px` : n.labelWidth);
1795
- return (s, i) => {
1796
- const a = I("el-tag"), p = I("el-descriptions-item"), h = I("el-descriptions");
1797
- return c(), b(
1798
- h,
1796
+ return (l, i) => {
1797
+ const s = $("el-descriptions-item"), v = $("el-descriptions");
1798
+ return c(), z(
1799
+ v,
1799
1800
  N({ class: "margin-top" }, { ...t.titleProps, ...n }),
1800
1801
  {
1801
1802
  extra: y(() => [
1802
- C(s.$slots, "extra", {}, void 0, !0)
1803
+ C(l.$slots, "extra", {}, void 0, !0)
1803
1804
  ]),
1804
1805
  default: y(() => [
1805
- (c(!0), u(
1806
+ (c(!0), d(
1806
1807
  M,
1807
1808
  null,
1808
- L(t.listData, (l) => (c(), b(
1809
- p,
1809
+ L(t.listData, (f) => (c(), z(
1810
+ s,
1810
1811
  N({
1811
- key: l[o.id],
1812
+ key: f[o.id],
1812
1813
  ref_for: !0
1813
- }, l[o.props]),
1814
+ }, f[o.props]),
1814
1815
  {
1815
1816
  label: y(() => [
1816
- C(s.$slots, l[o.label], {}, () => [
1817
+ C(l.$slots, f[o.label], {}, () => [
1817
1818
  H(
1818
- V(l[o.label]),
1819
+ V(f[o.label]),
1819
1820
  1
1820
1821
  /* TEXT */
1821
1822
  )
1822
1823
  ], !0)
1823
1824
  ]),
1824
1825
  default: y(() => [
1825
- C(s.$slots, `${l[o.label]}_value`, {}, () => [
1826
+ C(l.$slots, `${f[o.label]}_value`, {}, () => [
1826
1827
  H(
1827
- V(l[o.value]) + " ",
1828
+ V(f[o.value]) + " ",
1828
1829
  1
1829
1830
  /* TEXT */
1830
1831
  ),
1831
- l[o.tag] ? (c(), b(
1832
- a,
1832
+ f[o.tag] ? (c(), z(
1833
+ g(l3),
1833
1834
  {
1834
1835
  key: 0,
1835
1836
  size: "small"
@@ -1837,7 +1838,7 @@ const K6 = /* @__PURE__ */ U(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = E(K6)
1837
1838
  {
1838
1839
  default: y(() => [
1839
1840
  H(
1840
- V(l[o.value].value),
1841
+ V(f[o.value].value),
1841
1842
  1
1842
1843
  /* TEXT */
1843
1844
  )
@@ -1847,9 +1848,9 @@ const K6 = /* @__PURE__ */ U(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = E(K6)
1847
1848
  },
1848
1849
  1024
1849
1850
  /* DYNAMIC_SLOTS */
1850
- )) : $("v-if", !0),
1851
+ )) : R("v-if", !0),
1851
1852
  k(g(z6), {
1852
- list: l[o.fileList],
1853
+ list: f[o.fileList],
1853
1854
  field: t.fileField,
1854
1855
  "load-url": t.loadUrl,
1855
1856
  "kk-url": t.kkUrl,
@@ -1880,8 +1881,8 @@ const K6 = /* @__PURE__ */ U(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = E(K6)
1880
1881
  };
1881
1882
  }
1882
1883
  });
1883
- const Y6 = /* @__PURE__ */ U(X6, [["__scopeId", "data-v-38defd72"]]), ee = E(Y6);
1884
+ const Z6 = /* @__PURE__ */ U(Y6, [["__scopeId", "data-v-a33bc2ce"]]), ne = E(Z6);
1884
1885
  export {
1885
- ee as IkDescriptions,
1886
- ee as default
1886
+ ne as IkDescriptions,
1887
+ ne as default
1887
1888
  };