iking-web-ui-pro 0.1.94 → 0.1.96

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.
Files changed (28) hide show
  1. package/dist/IKDetailPreviewFiles/ik.index.es.js +346 -979
  2. package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
  3. package/dist/IKDetailPreviewFiles/style.css +1 -1
  4. package/dist/IKPreviewFile/ik.index.es.js +309 -942
  5. package/dist/IKPreviewFile/ik.index.umd.js +1 -1
  6. package/dist/IKPreviewFile/style.css +1 -1
  7. package/dist/IkApprovalProcessDetail/ik.index.es.js +533 -1165
  8. package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
  9. package/dist/IkApprovalProcessDetail/style.css +1 -1
  10. package/dist/IkDescription/ik.index.es.js +322 -955
  11. package/dist/IkDescription/ik.index.umd.js +1 -1
  12. package/dist/IkDescription/style.css +1 -1
  13. package/dist/IkPreviewFileDialog/ik.index.es.js +50 -0
  14. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -0
  15. package/dist/IkPreviewFileDialog/style.css +1 -0
  16. package/dist/IkUploadFile/ik.index.es.js +475 -1108
  17. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  18. package/dist/IkUploadFile/style.css +1 -1
  19. package/dist/index.es.js +13279 -13395
  20. package/dist/index.umd.js +61 -61
  21. package/dist/src/components/{IKPreviewFileDialog → IkPreviewFileDialog}/index.d.ts +0 -2
  22. package/dist/src/components/{IKPreviewFileDialog → IkPreviewFileDialog}/src/IkPreviewFileDialog.vue.d.ts +0 -2
  23. package/dist/src/components/IkTemplateOfficeConfig/index.d.ts +1 -1
  24. package/dist/src/components/index.d.ts +1 -1
  25. package/package.json +1 -1
  26. package/dist/IKPreviewFileDialog/ik.index.es.js +0 -1001
  27. package/dist/IKPreviewFileDialog/ik.index.umd.js +0 -1
  28. package/dist/IKPreviewFileDialog/style.css +0 -1
@@ -1,30 +1,30 @@
1
- import { defineComponent as k, computed as C, openBlock as c, createElementBlock as u, createElementVNode as r, ref as z, Fragment as D, renderList as H, normalizeClass as F, normalizeStyle as _, createVNode as y, toDisplayString as V, unref as w, withModifiers as W, renderSlot as R, createCommentVNode as x, mergeModels as P, useModel as L, reactive as K, watch as j, nextTick as X, resolveComponent as M, createBlock as I, withCtx as S, createTextVNode as O, h as Y, mergeProps as Z, createSlots as J, pushScopeId as Q, popScopeId as e3 } from "vue";
2
- import { paramType as t3, ikFile as n3, buildUUID as o3, ikColor as i3, ikUrl as s3 } from "iking-utils-pro";
3
- const $ = (n, e) => {
4
- if (n.install = (i) => {
5
- for (const l of [n, ...Object.values(e ?? {})])
6
- i.component(l.name, l);
1
+ import { defineComponent as B, computed as k, openBlock as n, createElementBlock as c, createElementVNode as o, ref as F, Fragment as V, renderList as C, normalizeClass as m, normalizeStyle as g, createVNode as _, toDisplayString as b, unref as y, withModifiers as A, renderSlot as T, createCommentVNode as S, resolveComponent as H, createBlock as I, withCtx as O, createTextVNode as P, watch as N, pushScopeId as E, popScopeId as W } from "vue";
2
+ import { paramType as K, ikFile as q, ikColor as G, ikUrl as X } from "iking-utils-pro";
3
+ const $ = (i, e) => {
4
+ if (i.install = (s) => {
5
+ for (const a of [i, ...Object.values(e ?? {})])
6
+ s.component(a.name, a);
7
7
  }, e)
8
- for (const [i, l] of Object.entries(e))
9
- n[i] = l;
10
- return n;
11
- }, E = (n, e) => {
12
- const i = n.__vccOpts || n;
13
- for (const [l, o] of e)
14
- i[l] = o;
8
+ for (const [s, a] of Object.entries(e))
9
+ i[s] = a;
15
10
  return i;
16
- }, l3 = (n, e = 2) => {
17
- if (n === void 0)
11
+ }, L = (i, e) => {
12
+ const s = i.__vccOpts || i;
13
+ for (const [a, t] of e)
14
+ s[a] = t;
15
+ return s;
16
+ }, Y = (i, e = 2) => {
17
+ if (i === void 0)
18
18
  return "";
19
- if (n === 0)
19
+ if (i === 0)
20
20
  return "0 B";
21
- const i = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(n) / Math.log(1024));
22
- let o = n / Math.pow(1024, l);
23
- return (o % 1 === 0 ? o.toFixed(e || 0) : o.toFixed(e)) + " " + i[l];
24
- }, q = (n, e) => e ? e.startsWith("http") ? e : `${n || location.origin}${e}` : "";
25
- const G = (n, e) => {
26
- var s, a, h, g;
27
- const i = (s = n == null ? void 0 : n.response) != null && s.data ? U((h = (a = n == null ? void 0 : n.response) == null ? void 0 : a.data) == null ? void 0 : h.suffix) : ((g = n.raw) == null ? void 0 : g.type) || U(n[e.suffix]), l = i == null ? void 0 : i.toLowerCase(), o = {
21
+ const s = ["B", "KB", "MB", "GB", "TB"], a = Math.floor(Math.log(i) / Math.log(1024));
22
+ let t = i / Math.pow(1024, a);
23
+ return (t % 1 === 0 ? t.toFixed(e || 0) : t.toFixed(e)) + " " + s[a];
24
+ }, j = (i, e) => e ? e.startsWith("http") ? e : `${i || location.origin}${e}` : "";
25
+ const Z = (i, e) => {
26
+ var h, v, w, z;
27
+ const s = (h = i == null ? void 0 : i.response) != null && h.data ? U((w = (v = i == null ? void 0 : i.response) == null ? void 0 : v.data) == null ? void 0 : w.suffix) : ((z = i.raw) == null ? void 0 : z.type) || U(i[e.suffix]), a = s == null ? void 0 : s.toLowerCase(), t = {
28
28
  sheet: "excel",
29
29
  excel: "excel",
30
30
  zip: "zip",
@@ -40,11 +40,11 @@ const G = (n, e) => {
40
40
  exe: "exe",
41
41
  json: "json"
42
42
  };
43
- for (let t in o)
44
- if (typeof l == "string" && (l.includes(t) || l === t))
45
- return o[t];
43
+ for (let l in t)
44
+ if (typeof a == "string" && (a.includes(l) || a === l))
45
+ return t[l];
46
46
  return "unknown";
47
- }, a3 = {
47
+ }, J = {
48
48
  ".doc": "word",
49
49
  ".docx": "word",
50
50
  ".docxf": "word",
@@ -129,13 +129,10 @@ const G = (n, e) => {
129
129
  ".vob": "video",
130
130
  ".txt": "txt",
131
131
  ".pdf": "pdf"
132
- }, U = (n) => {
133
- const e = n == null ? void 0 : n.toLocaleLowerCase(), i = e != null && e.startsWith(".") ? e : `.${e}`;
134
- return i && a3[i] || "unknow";
135
- }, r3 = (n) => {
136
- let e = "", i = ["doc", "docx"], l = ["xls", "xlsx"], o = ["ppt", "pptx"], s = ["pdf"];
137
- return i.includes(n) && (e = "word"), l.includes(n) && (e = "cell"), o.includes(n) && (e = "slide"), s.includes(n) && (e = "text-pdf"), e;
138
- }, c3 = {
132
+ }, U = (i) => {
133
+ const e = i == null ? void 0 : i.toLocaleLowerCase(), s = e != null && e.startsWith(".") ? e : `.${e}`;
134
+ return s && J[s] || "unknow";
135
+ }, Q = {
139
136
  key: 0,
140
137
  t: "1686300059786",
141
138
  class: "icon",
@@ -145,7 +142,7 @@ const G = (n, e) => {
145
142
  "p-id": "7671",
146
143
  width: "200",
147
144
  height: "200"
148
- }, d3 = /* @__PURE__ */ r(
145
+ }, R = /* @__PURE__ */ o(
149
146
  "path",
150
147
  {
151
148
  d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
@@ -155,7 +152,7 @@ const G = (n, e) => {
155
152
  null,
156
153
  -1
157
154
  /* HOISTED */
158
- ), u3 = /* @__PURE__ */ r(
155
+ ), e3 = /* @__PURE__ */ o(
159
156
  "path",
160
157
  {
161
158
  d: "M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",
@@ -165,7 +162,7 @@ const G = (n, e) => {
165
162
  null,
166
163
  -1
167
164
  /* HOISTED */
168
- ), p3 = /* @__PURE__ */ r(
165
+ ), t3 = /* @__PURE__ */ o(
169
166
  "path",
170
167
  {
171
168
  d: "M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",
@@ -175,7 +172,7 @@ const G = (n, e) => {
175
172
  null,
176
173
  -1
177
174
  /* HOISTED */
178
- ), f3 = /* @__PURE__ */ r(
175
+ ), l3 = /* @__PURE__ */ o(
179
176
  "path",
180
177
  {
181
178
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -185,12 +182,12 @@ const G = (n, e) => {
185
182
  null,
186
183
  -1
187
184
  /* HOISTED */
188
- ), h3 = [
189
- d3,
190
- u3,
191
- p3,
192
- f3
193
- ], v3 = {
185
+ ), i3 = [
186
+ R,
187
+ e3,
188
+ t3,
189
+ l3
190
+ ], s3 = {
194
191
  key: 1,
195
192
  t: "1686301531714",
196
193
  class: "icon",
@@ -200,7 +197,7 @@ const G = (n, e) => {
200
197
  "p-id": "9067",
201
198
  width: "200",
202
199
  height: "200"
203
- }, g3 = /* @__PURE__ */ r(
200
+ }, o3 = /* @__PURE__ */ o(
204
201
  "path",
205
202
  {
206
203
  d: "M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",
@@ -210,7 +207,7 @@ const G = (n, e) => {
210
207
  null,
211
208
  -1
212
209
  /* HOISTED */
213
- ), m3 = /* @__PURE__ */ r(
210
+ ), n3 = /* @__PURE__ */ o(
214
211
  "path",
215
212
  {
216
213
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -220,10 +217,10 @@ const G = (n, e) => {
220
217
  null,
221
218
  -1
222
219
  /* HOISTED */
223
- ), w3 = [
224
- g3,
225
- m3
226
- ], y3 = {
220
+ ), c3 = [
221
+ o3,
222
+ n3
223
+ ], a3 = {
227
224
  key: 2,
228
225
  t: "1686300141125",
229
226
  class: "icon",
@@ -233,7 +230,7 @@ const G = (n, e) => {
233
230
  "p-id": "8137",
234
231
  width: "200",
235
232
  height: "200"
236
- }, _3 = /* @__PURE__ */ r(
233
+ }, d3 = /* @__PURE__ */ o(
237
234
  "path",
238
235
  {
239
236
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",
@@ -243,7 +240,7 @@ const G = (n, e) => {
243
240
  null,
244
241
  -1
245
242
  /* HOISTED */
246
- ), k3 = /* @__PURE__ */ r(
243
+ ), r3 = /* @__PURE__ */ o(
247
244
  "path",
248
245
  {
249
246
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -253,10 +250,10 @@ const G = (n, e) => {
253
250
  null,
254
251
  -1
255
252
  /* HOISTED */
256
- ), z3 = [
257
- _3,
258
- k3
259
- ], F3 = {
253
+ ), p3 = [
254
+ d3,
255
+ r3
256
+ ], h3 = {
260
257
  key: 3,
261
258
  t: "1686300157181",
262
259
  class: "icon",
@@ -266,7 +263,7 @@ const G = (n, e) => {
266
263
  "p-id": "8292",
267
264
  width: "200",
268
265
  height: "200"
269
- }, x3 = /* @__PURE__ */ r(
266
+ }, u3 = /* @__PURE__ */ o(
270
267
  "path",
271
268
  {
272
269
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",
@@ -276,7 +273,7 @@ const G = (n, e) => {
276
273
  null,
277
274
  -1
278
275
  /* HOISTED */
279
- ), b3 = /* @__PURE__ */ r(
276
+ ), f3 = /* @__PURE__ */ o(
280
277
  "path",
281
278
  {
282
279
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -286,10 +283,10 @@ const G = (n, e) => {
286
283
  null,
287
284
  -1
288
285
  /* HOISTED */
289
- ), S3 = [
290
- x3,
291
- b3
292
- ], C3 = {
286
+ ), v3 = [
287
+ u3,
288
+ f3
289
+ ], g3 = {
293
290
  key: 4,
294
291
  t: "1686300180947",
295
292
  class: "icon",
@@ -299,7 +296,7 @@ const G = (n, e) => {
299
296
  "p-id": "8447",
300
297
  width: "200",
301
298
  height: "200"
302
- }, V3 = /* @__PURE__ */ r(
299
+ }, w3 = /* @__PURE__ */ o(
303
300
  "path",
304
301
  {
305
302
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",
@@ -309,7 +306,7 @@ const G = (n, e) => {
309
306
  null,
310
307
  -1
311
308
  /* HOISTED */
312
- ), B3 = /* @__PURE__ */ r(
309
+ ), m3 = /* @__PURE__ */ o(
313
310
  "path",
314
311
  {
315
312
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -319,10 +316,10 @@ const G = (n, e) => {
319
316
  null,
320
317
  -1
321
318
  /* HOISTED */
322
- ), I3 = [
323
- V3,
324
- B3
325
- ], $3 = {
319
+ ), _3 = [
320
+ w3,
321
+ m3
322
+ ], y3 = {
326
323
  key: 5,
327
324
  t: "1686300195363",
328
325
  class: "icon",
@@ -332,7 +329,7 @@ const G = (n, e) => {
332
329
  "p-id": "8602",
333
330
  width: "200",
334
331
  height: "200"
335
- }, R3 = /* @__PURE__ */ r(
332
+ }, z3 = /* @__PURE__ */ o(
336
333
  "path",
337
334
  {
338
335
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",
@@ -342,7 +339,7 @@ const G = (n, e) => {
342
339
  null,
343
340
  -1
344
341
  /* HOISTED */
345
- ), D3 = /* @__PURE__ */ r(
342
+ ), k3 = /* @__PURE__ */ o(
346
343
  "path",
347
344
  {
348
345
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -352,10 +349,10 @@ const G = (n, e) => {
352
349
  null,
353
350
  -1
354
351
  /* HOISTED */
355
- ), M3 = [
356
- R3,
357
- D3
358
- ], q3 = {
352
+ ), x3 = [
353
+ z3,
354
+ k3
355
+ ], F3 = {
359
356
  key: 6,
360
357
  t: "1686300209288",
361
358
  class: "icon",
@@ -365,7 +362,7 @@ const G = (n, e) => {
365
362
  "p-id": "8757",
366
363
  width: "200",
367
364
  height: "200"
368
- }, E3 = /* @__PURE__ */ r(
365
+ }, b3 = /* @__PURE__ */ o(
369
366
  "path",
370
367
  {
371
368
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",
@@ -375,7 +372,7 @@ const G = (n, e) => {
375
372
  null,
376
373
  -1
377
374
  /* HOISTED */
378
- ), H3 = /* @__PURE__ */ r(
375
+ ), B3 = /* @__PURE__ */ o(
379
376
  "path",
380
377
  {
381
378
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -385,10 +382,10 @@ const G = (n, e) => {
385
382
  null,
386
383
  -1
387
384
  /* HOISTED */
388
- ), O3 = [
389
- E3,
390
- H3
391
- ], A3 = {
385
+ ), V3 = [
386
+ b3,
387
+ B3
388
+ ], S3 = {
392
389
  key: 7,
393
390
  t: "1686300225262",
394
391
  class: "icon",
@@ -398,7 +395,7 @@ const G = (n, e) => {
398
395
  "p-id": "8912",
399
396
  width: "200",
400
397
  height: "200"
401
- }, U3 = /* @__PURE__ */ r(
398
+ }, M3 = /* @__PURE__ */ o(
402
399
  "path",
403
400
  {
404
401
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",
@@ -408,7 +405,7 @@ const G = (n, e) => {
408
405
  null,
409
406
  -1
410
407
  /* HOISTED */
411
- ), T3 = /* @__PURE__ */ r(
408
+ ), $3 = /* @__PURE__ */ o(
412
409
  "path",
413
410
  {
414
411
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -418,10 +415,10 @@ const G = (n, e) => {
418
415
  null,
419
416
  -1
420
417
  /* HOISTED */
421
- ), P3 = [
422
- U3,
423
- T3
424
- ], L3 = {
418
+ ), C3 = [
419
+ M3,
420
+ $3
421
+ ], H3 = {
425
422
  key: 8,
426
423
  t: "1692251753690",
427
424
  class: "icon",
@@ -431,7 +428,7 @@ const G = (n, e) => {
431
428
  "p-id": "4336",
432
429
  width: "200",
433
430
  height: "200"
434
- }, j3 = /* @__PURE__ */ r(
431
+ }, I3 = /* @__PURE__ */ o(
435
432
  "path",
436
433
  {
437
434
  d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
@@ -441,7 +438,7 @@ const G = (n, e) => {
441
438
  null,
442
439
  -1
443
440
  /* HOISTED */
444
- ), G3 = /* @__PURE__ */ r(
441
+ ), O3 = /* @__PURE__ */ o(
445
442
  "path",
446
443
  {
447
444
  d: "M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",
@@ -452,7 +449,7 @@ const G = (n, e) => {
452
449
  null,
453
450
  -1
454
451
  /* HOISTED */
455
- ), N3 = /* @__PURE__ */ r(
452
+ ), j3 = /* @__PURE__ */ o(
456
453
  "path",
457
454
  {
458
455
  d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
@@ -462,11 +459,11 @@ const G = (n, e) => {
462
459
  null,
463
460
  -1
464
461
  /* HOISTED */
465
- ), W3 = [
466
- j3,
467
- G3,
468
- N3
469
- ], K3 = {
462
+ ), U3 = [
463
+ I3,
464
+ O3,
465
+ j3
466
+ ], L3 = {
470
467
  key: 9,
471
468
  t: "1692251753690",
472
469
  class: "icon",
@@ -476,7 +473,7 @@ const G = (n, e) => {
476
473
  "p-id": "4336",
477
474
  width: "200",
478
475
  height: "200"
479
- }, X3 = /* @__PURE__ */ r(
476
+ }, D3 = /* @__PURE__ */ o(
480
477
  "path",
481
478
  {
482
479
  d: "M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",
@@ -486,7 +483,7 @@ const G = (n, e) => {
486
483
  null,
487
484
  -1
488
485
  /* HOISTED */
489
- ), Y3 = /* @__PURE__ */ r(
486
+ ), A3 = /* @__PURE__ */ o(
490
487
  "path",
491
488
  {
492
489
  d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
@@ -496,7 +493,7 @@ const G = (n, e) => {
496
493
  null,
497
494
  -1
498
495
  /* HOISTED */
499
- ), Z3 = /* @__PURE__ */ r(
496
+ ), T3 = /* @__PURE__ */ o(
500
497
  "path",
501
498
  {
502
499
  d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
@@ -507,7 +504,7 @@ const G = (n, e) => {
507
504
  null,
508
505
  -1
509
506
  /* HOISTED */
510
- ), J3 = /* @__PURE__ */ r(
507
+ ), P3 = /* @__PURE__ */ o(
511
508
  "path",
512
509
  {
513
510
  d: "M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",
@@ -517,12 +514,12 @@ const G = (n, e) => {
517
514
  null,
518
515
  -1
519
516
  /* HOISTED */
520
- ), Q3 = [
521
- X3,
522
- Y3,
523
- Z3,
524
- J3
525
- ], e6 = {
517
+ ), N3 = [
518
+ D3,
519
+ A3,
520
+ T3,
521
+ P3
522
+ ], E3 = {
526
523
  key: 10,
527
524
  t: "1714099890925",
528
525
  class: "icon",
@@ -532,7 +529,7 @@ const G = (n, e) => {
532
529
  "p-id": "2271",
533
530
  width: "200",
534
531
  height: "200"
535
- }, t6 = /* @__PURE__ */ r(
532
+ }, W3 = /* @__PURE__ */ o(
536
533
  "path",
537
534
  {
538
535
  d: "M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",
@@ -542,7 +539,7 @@ const G = (n, e) => {
542
539
  null,
543
540
  -1
544
541
  /* HOISTED */
545
- ), n6 = /* @__PURE__ */ r(
542
+ ), K3 = /* @__PURE__ */ o(
546
543
  "path",
547
544
  {
548
545
  d: "M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",
@@ -553,7 +550,7 @@ const G = (n, e) => {
553
550
  null,
554
551
  -1
555
552
  /* HOISTED */
556
- ), o6 = /* @__PURE__ */ r(
553
+ ), q3 = /* @__PURE__ */ o(
557
554
  "path",
558
555
  {
559
556
  d: "M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",
@@ -563,11 +560,11 @@ const G = (n, e) => {
563
560
  null,
564
561
  -1
565
562
  /* HOISTED */
566
- ), i6 = [
567
- t6,
568
- n6,
569
- o6
570
- ], s6 = {
563
+ ), G3 = [
564
+ W3,
565
+ K3,
566
+ q3
567
+ ], X3 = {
571
568
  key: 11,
572
569
  t: "1686300037564",
573
570
  class: "icon",
@@ -577,7 +574,7 @@ const G = (n, e) => {
577
574
  "p-id": "7515",
578
575
  width: "200",
579
576
  height: "200"
580
- }, l6 = /* @__PURE__ */ r(
577
+ }, Y3 = /* @__PURE__ */ o(
581
578
  "path",
582
579
  {
583
580
  d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
@@ -587,7 +584,7 @@ const G = (n, e) => {
587
584
  null,
588
585
  -1
589
586
  /* HOISTED */
590
- ), a6 = /* @__PURE__ */ r(
587
+ ), Z3 = /* @__PURE__ */ o(
591
588
  "path",
592
589
  {
593
590
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -597,7 +594,7 @@ const G = (n, e) => {
597
594
  null,
598
595
  -1
599
596
  /* HOISTED */
600
- ), r6 = /* @__PURE__ */ r(
597
+ ), J3 = /* @__PURE__ */ o(
601
598
  "path",
602
599
  {
603
600
  d: "M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",
@@ -607,11 +604,11 @@ const G = (n, e) => {
607
604
  null,
608
605
  -1
609
606
  /* HOISTED */
610
- ), c6 = [
611
- l6,
612
- a6,
613
- r6
614
- ], d6 = /* @__PURE__ */ k({
607
+ ), Q3 = [
608
+ Y3,
609
+ Z3,
610
+ J3
611
+ ], R3 = /* @__PURE__ */ B({
615
612
  __name: "FileIcon",
616
613
  props: {
617
614
  type: {
@@ -631,11 +628,11 @@ const G = (n, e) => {
631
628
  })
632
629
  }
633
630
  },
634
- setup(n) {
635
- const e = n, i = C(() => e.file ? G(e.file, e.fields) : e.type);
636
- return (l, o) => i.value === "image" ? (c(), u("svg", c3, h3)) : i.value === "zip" ? (c(), u("svg", v3, w3)) : i.value === "ppt" ? (c(), u("svg", y3, z3)) : i.value === "word" ? (c(), u("svg", F3, S3)) : i.value === "pdf" ? (c(), u("svg", C3, I3)) : i.value === "txt" ? (c(), u("svg", $3, M3)) : i.value === "audio" ? (c(), u("svg", q3, O3)) : i.value === "video" ? (c(), u("svg", A3, P3)) : i.value === "excel" ? (c(), u("svg", L3, W3)) : i.value === "exe" ? (c(), u("svg", K3, Q3)) : i.value === "json" ? (c(), u("svg", e6, i6)) : (c(), u("svg", s6, c6));
631
+ setup(i) {
632
+ const e = i, s = k(() => e.file ? Z(e.file, e.fields) : e.type);
633
+ return (a, t) => s.value === "image" ? (n(), c("svg", Q, i3)) : s.value === "zip" ? (n(), c("svg", s3, c3)) : s.value === "ppt" ? (n(), c("svg", a3, p3)) : s.value === "word" ? (n(), c("svg", h3, v3)) : s.value === "pdf" ? (n(), c("svg", g3, _3)) : s.value === "txt" ? (n(), c("svg", y3, x3)) : s.value === "audio" ? (n(), c("svg", F3, V3)) : s.value === "video" ? (n(), c("svg", S3, C3)) : s.value === "excel" ? (n(), c("svg", H3, U3)) : s.value === "exe" ? (n(), c("svg", L3, N3)) : s.value === "json" ? (n(), c("svg", E3, G3)) : (n(), c("svg", X3, Q3));
637
634
  }
638
- }), u6 = ["onClick"], p6 = { class: "text" }, f6 = { class: "fileName" }, h6 = { class: "size" }, v6 = /* @__PURE__ */ k({
635
+ }), e6 = ["onClick"], t6 = { class: "text" }, l6 = { class: "fileName" }, i6 = { class: "size" }, s6 = /* @__PURE__ */ B({
639
636
  __name: "IkPreviewFile",
640
637
  props: {
641
638
  list: {
@@ -704,110 +701,110 @@ const G = (n, e) => {
704
701
  default: ""
705
702
  }
706
703
  },
707
- setup(n) {
708
- const e = n, i = C(() => ({
704
+ setup(i) {
705
+ const e = i, s = k(() => ({
709
706
  name: "name",
710
707
  url: "url",
711
708
  suffix: "suffix",
712
709
  size: "size",
713
710
  ...e.field
714
- })), l = z(null), o = z(!1), s = (t) => {
715
- var d, v;
716
- l.value = {
717
- ...t,
718
- name: t.name,
719
- url: q(
711
+ })), a = F(null), t = F(!1), h = (l) => {
712
+ var r, u;
713
+ a.value = {
714
+ ...l,
715
+ name: l.name,
716
+ url: j(
720
717
  e.loadUrl,
721
- t.url || ((v = (d = t == null ? void 0 : t.response) == null ? void 0 : d.data) == null ? void 0 : v.id) || (t == null ? void 0 : t.id)
718
+ l.url || ((u = (r = l == null ? void 0 : l.response) == null ? void 0 : r.data) == null ? void 0 : u.id) || (l == null ? void 0 : l.id)
722
719
  )
723
- }, console.log("fileData.value", l.value), o.value = !0;
724
- }, a = (t) => {
725
- n3.downloadFile(
726
- q(
720
+ }, console.log("fileData.value", a.value), t.value = !0;
721
+ }, v = (l) => {
722
+ q.downloadFile(
723
+ j(
727
724
  e.loadUrl,
728
- t[i.value.url] || t.attachmentId || t.id
725
+ l[s.value.url] || l.attachmentId || l.id
729
726
  ),
730
- t[i.value.name] || t.attachmentName
727
+ l[s.value.name] || l.attachmentName
731
728
  );
732
- }, h = C(() => t3.isNumber(e.width) ? `${e.width}px` : e.width), g = C(() => e.list.map((t) => ({
733
- ...t,
734
- name: t[i.value.name] || t.attachmentName,
735
- size: t[i.value.size] || t.fileSize || t.attachmentSize,
736
- suffix: t[i.value.suffix] || t.attachmentSuffix
729
+ }, w = k(() => K.isNumber(e.width) ? `${e.width}px` : e.width), z = k(() => e.list.map((l) => ({
730
+ ...l,
731
+ name: l[s.value.name] || l.attachmentName,
732
+ size: l[s.value.size] || l.fileSize || l.attachmentSize,
733
+ suffix: l[s.value.suffix] || l.attachmentSuffix
737
734
  })));
738
- return (t, d) => {
739
- var v;
740
- return c(), u(
741
- D,
735
+ return (l, r) => {
736
+ var u;
737
+ return n(), c(
738
+ V,
742
739
  null,
743
740
  [
744
- (v = n.list) != null && v.length ? (c(!0), u(
745
- D,
741
+ (u = i.list) != null && u.length ? (n(!0), c(
742
+ V,
746
743
  { key: 0 },
747
- H(g.value, (p, m) => {
748
- var f;
749
- return c(), u(
744
+ C(z.value, (p, f) => {
745
+ var d;
746
+ return n(), c(
750
747
  "div",
751
748
  {
752
- class: F(["iking-privew-annex", { "is-bg": n.showBg }]),
753
- key: m,
754
- style: _({
755
- marginBottom: m == ((f = n.list) == null ? void 0 : f.length) - 1 ? "0" : "10px",
756
- width: h.value
749
+ class: m(["iking-privew-annex", { "is-bg": i.showBg }]),
750
+ key: f,
751
+ style: g({
752
+ marginBottom: f == ((d = i.list) == null ? void 0 : d.length) - 1 ? "0" : "10px",
753
+ width: w.value
757
754
  })
758
755
  },
759
756
  [
760
- r("div", {
757
+ o("div", {
761
758
  class: "file-card",
762
- onClick: (b) => s(p)
759
+ onClick: (x) => h(p)
763
760
  }, [
764
- y(d6, {
761
+ _(R3, {
765
762
  file: p,
766
- style: _({ height: `${n.iconSize}px` }),
763
+ style: g({ height: `${i.iconSize}px` }),
767
764
  class: "ikui-w-auto",
768
- fields: i.value
765
+ fields: s.value
769
766
  }, null, 8, ["file", "style", "fields"]),
770
- r("div", p6, [
771
- r(
767
+ o("div", t6, [
768
+ o(
772
769
  "div",
773
- f6,
774
- V(p.name),
770
+ l6,
771
+ b(p.name),
775
772
  1
776
773
  /* TEXT */
777
774
  ),
778
- r(
775
+ o(
779
776
  "div",
780
- h6,
781
- V(w(l3)(p.size)),
777
+ i6,
778
+ b(y(Y)(p.size)),
782
779
  1
783
780
  /* TEXT */
784
781
  )
785
782
  ]),
786
- r(
783
+ o(
787
784
  "div",
788
785
  {
789
- class: F(["flex flex-center", { "hover-show": n.iconHoverShow }])
786
+ class: m(["flex flex-center", { "hover-show": i.iconHoverShow }])
790
787
  },
791
788
  [
792
- y(w(B), {
789
+ _(y(M), {
793
790
  name: "iksvg_daochu",
794
- onClick: W((b) => a(p), ["stop"]),
795
- bg: n.showBg,
796
- size: n.showBg ? "default" : 20
791
+ onClick: A((x) => v(p), ["stop"]),
792
+ bg: i.showBg,
793
+ size: i.showBg ? "default" : 20
797
794
  }, null, 8, ["onClick", "bg", "size"]),
798
- y(w(B), {
795
+ _(y(M), {
799
796
  name: "iksvg_yulan",
800
- bg: n.showBg,
801
- size: n.showBg ? "default" : 20
797
+ bg: i.showBg,
798
+ size: i.showBg ? "default" : 20
802
799
  }, null, 8, ["bg", "size"]),
803
- R(t.$slots, "operation", {
804
- data: { ...p, findex: m }
800
+ T(l.$slots, "operation", {
801
+ data: { ...p, findex: f }
805
802
  })
806
803
  ],
807
804
  2
808
805
  /* CLASS */
809
806
  )
810
- ], 8, u6)
807
+ ], 8, e6)
811
808
  ],
812
809
  6
813
810
  /* CLASS, STYLE */
@@ -815,15 +812,15 @@ const G = (n, e) => {
815
812
  }),
816
813
  128
817
814
  /* KEYED_FRAGMENT */
818
- )) : x("v-if", !0),
819
- y(w(_6), {
820
- show: o.value,
821
- "onUpdate:show": d[0] || (d[0] = (p) => o.value = p),
822
- loadUrl: n.loadUrl,
823
- file: l.value,
824
- onlyofficeServer: n.onlyofficeServer,
825
- onlyOfficeConfig: n.onlyOfficeConfig,
826
- onlyOfficeAccept: n.onlyOfficeAccept
815
+ )) : S("v-if", !0),
816
+ _(y(c6), {
817
+ show: t.value,
818
+ "onUpdate:show": r[0] || (r[0] = (p) => t.value = p),
819
+ loadUrl: i.loadUrl,
820
+ file: a.value,
821
+ onlyofficeServer: i.onlyofficeServer,
822
+ onlyOfficeConfig: i.onlyOfficeConfig,
823
+ onlyOfficeAccept: i.onlyOfficeAccept
827
824
  }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
828
825
  ],
829
826
  64
@@ -832,15 +829,9 @@ const G = (n, e) => {
832
829
  };
833
830
  }
834
831
  });
835
- const g6 = $(v6), m6 = { key: 0 }, w6 = /* @__PURE__ */ r(
836
- "div",
837
- null,
838
- null,
839
- -1
840
- /* HOISTED */
841
- ), y6 = /* @__PURE__ */ k({
832
+ const o6 = $(s6), n6 = /* @__PURE__ */ B({
842
833
  __name: "IkPreviewFileDialog",
843
- props: /* @__PURE__ */ P({
834
+ props: {
844
835
  file: {
845
836
  type: Object,
846
837
  default: () => []
@@ -869,130 +860,23 @@ const g6 = $(v6), m6 = { key: 0 }, w6 = /* @__PURE__ */ r(
869
860
  type: Object,
870
861
  default: () => ({})
871
862
  }
872
- }, {
873
- show: { default: !1 },
874
- showModifiers: {}
875
- }),
876
- emits: ["update:show"],
877
- setup(n) {
878
- const e = n, i = L(n, "show");
879
- console.log("props", e);
880
- const l = C(() => ({
881
- name: "name",
882
- url: "url",
883
- suffix: "suffix",
884
- size: "fileSize",
885
- ...e.field
886
- })), o = z(null), s = z(null), a = K({
887
- image: !1,
888
- office: !1,
889
- video: !1
890
- }), h = (t) => {
891
- var d, v;
892
- try {
893
- const p = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || t, m = p[l.value.url] || (p == null ? void 0 : p.id) || p.attachmentId, f = (v = p[l.value.suffix] || p.attachmentSuffix) == null ? void 0 : v.toLowerCase(), b = p[l.value.name] || (p == null ? void 0 : p.attachmentName);
894
- if (s.value = {
895
- ...t,
896
- name: t[l.value.name],
897
- url: q(e.loadUrl, m)
898
- }, t && G(t, l.value) === "image") {
899
- a.image = !0;
900
- return;
901
- } else if (e.onlyOfficeAccept.includes(f)) {
902
- a.office = !0, o.value = {
903
- documentType: r3(f),
904
- document: {
905
- key: o3(),
906
- title: b,
907
- url: q(e.loadUrl, m),
908
- fileType: f
909
- },
910
- editorConfig: {
911
- customization: {
912
- review: {
913
- reviewDisplay: "final"
914
- }
915
- }
916
- },
917
- ...e.onlyOfficeConfig
918
- };
919
- return;
920
- }
921
- } catch (p) {
922
- console.info("预览错误: ", p);
923
- }
924
- };
925
- j([i, e.file], ([t, d]) => {
926
- console.log(t, e.file), t && X(() => {
927
- h(e.file);
928
- });
929
- });
930
- const g = () => {
931
- i.value = !1, a.office = !1, a.image = !1, a.video = !1;
932
- };
933
- return (t, d) => {
934
- var p, m;
935
- const v = M("el-image-viewer");
936
- return c(), u(
937
- D,
938
- null,
939
- [
940
- i.value ? (c(), u("div", m6, [
941
- (p = s.value) != null && p.url && a.image ? (c(), I(v, {
942
- key: 0,
943
- onClose: d[0] || (d[0] = (f) => {
944
- s.value = null, a.image = !1;
945
- }),
946
- ref: "previewImgRef",
947
- "url-list": [((m = s.value) == null ? void 0 : m.url) || ""]
948
- }, null, 8, ["url-list"])) : x("v-if", !0),
949
- x(" 文档类 "),
950
- y(w(q6), {
951
- modelValue: a.office,
952
- "onUpdate:modelValue": d[1] || (d[1] = (f) => a.office = f),
953
- draggable: "",
954
- "no-footer": "",
955
- "no-header": "",
956
- fullscreen: "",
957
- "show-close-bg": "",
958
- "destroy-on-close": "",
959
- "close-on-click-modal": "",
960
- "close-on-press-escape": !1,
961
- "append-to-body": "",
962
- onClose: g,
963
- "modal-class": "ik-only-preview-dialog"
964
- }, {
965
- default: S(() => [
966
- y(w(L6), {
967
- configOptions: o.value,
968
- documentServerUrl: n.onlyofficeServer,
969
- mode: "view"
970
- }, null, 8, ["configOptions", "documentServerUrl"])
971
- ]),
972
- _: 1
973
- /* STABLE */
974
- }, 8, ["modelValue"])
975
- ])) : x("v-if", !0),
976
- w6
977
- ],
978
- 64
979
- /* STABLE_FRAGMENT */
980
- );
981
- };
863
+ },
864
+ setup(i) {
865
+ return console.log("props", i), (s, a) => " dasdasdasdf ";
982
866
  }
983
867
  });
984
- const _6 = $(y6), k6 = {
868
+ const c6 = $(n6), a6 = {
985
869
  key: 0,
986
870
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
987
- }, z6 = {
871
+ }, d6 = {
988
872
  key: 1,
989
873
  class: "h-[1em] w-[1em]",
990
874
  "aria-hidden": "true"
991
- }, F6 = ["xlink:href"], x6 = ["src"], b6 = {
875
+ }, r6 = ["xlink:href"], p6 = ["src"], h6 = {
992
876
  key: 1,
993
877
  class: "h-[1em] w-[1em]",
994
878
  "aria-hidden": "true"
995
- }, S6 = ["xlink:href"], C6 = ["src"], V6 = /* @__PURE__ */ k({
879
+ }, u6 = ["xlink:href"], f6 = ["src"], v6 = /* @__PURE__ */ B({
996
880
  name: "IkSvgIcon",
997
881
  __name: "index",
998
882
  props: {
@@ -1018,85 +902,85 @@ const _6 = $(y6), k6 = {
1018
902
  disabled: { type: Boolean, default: !1 },
1019
903
  tableIconType: { default: "icon" }
1020
904
  },
1021
- setup(n) {
1022
- const e = n, i = C(() => {
1023
- var o, s, a;
1024
- return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (o = e.name) != null && o.startsWith("iksig") ? "iksig" : (s = e.name) != null && s.includes(":") ? "iconify" : (a = e.name) != null && a.startsWith("iksvg") ? "svg" : "i";
1025
- }), l = C(() => {
1026
- const o = [];
905
+ setup(i) {
906
+ const e = i, s = k(() => {
907
+ var t, h, v;
908
+ return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (t = e.name) != null && t.startsWith("iksig") ? "iksig" : (h = e.name) != null && h.includes(":") ? "iconify" : (v = e.name) != null && v.startsWith("iksvg") ? "svg" : "i";
909
+ }), a = k(() => {
910
+ const t = [];
1027
911
  if (e.flip)
1028
912
  switch (e.flip) {
1029
913
  case "horizontal":
1030
- o.push("rotateY(180deg)");
914
+ t.push("rotateY(180deg)");
1031
915
  break;
1032
916
  case "vertical":
1033
- o.push("rotateX(180deg)");
917
+ t.push("rotateX(180deg)");
1034
918
  break;
1035
919
  case "both":
1036
- o.push("rotateX(180deg)"), o.push("rotateY(180deg)");
920
+ t.push("rotateX(180deg)"), t.push("rotateY(180deg)");
1037
921
  break;
1038
922
  }
1039
- e.rotate && o.push(`rotate(${e.rotate % 360}deg)`);
1040
- const s = {
923
+ e.rotate && t.push(`rotate(${e.rotate % 360}deg)`);
924
+ const h = {
1041
925
  ...e.color && { color: e.color },
1042
926
  ...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
1043
- ...o.length && { transform: o.join(" ") },
927
+ ...t.length && { transform: t.join(" ") },
1044
928
  padding: e.showBg || e.bg ? e.padding : 0,
1045
- ...e.color && i.value !== "iksig" ? {
929
+ ...e.color && s.value !== "iksig" ? {
1046
930
  "--ik-color-icon-dark": e.color,
1047
- "--ik-color-icon-light": e.colorLight || i3.setOpacity(e.color, e.opacity)
931
+ "--ik-color-icon-light": e.colorLight || G.setOpacity(e.color, e.opacity)
1048
932
  } : {}
1049
933
  };
1050
- return e.width && (s.width = s.height = typeof e.width == "number" ? `${e.width}px` : e.width), s;
934
+ return e.width && (h.width = h.height = typeof e.width == "number" ? `${e.width}px` : e.width), h;
1051
935
  });
1052
- return (o, s) => {
1053
- const a = M("el-tooltip"), h = M("el-button");
1054
- return o.tableIconType === "icon" ? (c(), u("span", k6, [
1055
- o.notip || !o.title ? (c(), u(
936
+ return (t, h) => {
937
+ const v = H("el-tooltip"), w = H("el-button");
938
+ return t.tableIconType === "icon" ? (n(), c("span", a6, [
939
+ t.notip || !t.title ? (n(), c(
1056
940
  "i",
1057
941
  {
1058
942
  key: 0,
1059
- class: F(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1060
- [o.name]: i.value === "unocss",
1061
- "show-bg": o.showBg || o.bg,
1062
- default: o.size === "default",
1063
- small: o.size === "small",
1064
- big: o.size === "big",
1065
- warning: o.warning || e.type === "warning",
1066
- primary: o.primary || e.type === "primary",
1067
- success: o.success || e.type === "success",
1068
- error: o.error || e.type === "error",
1069
- active: o.active,
1070
- disabled: o.disabled
943
+ class: m(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
944
+ [t.name]: s.value === "unocss",
945
+ "show-bg": t.showBg || t.bg,
946
+ default: t.size === "default",
947
+ small: t.size === "small",
948
+ big: t.size === "big",
949
+ warning: t.warning || e.type === "warning",
950
+ primary: t.primary || e.type === "primary",
951
+ success: t.success || e.type === "success",
952
+ error: t.error || e.type === "error",
953
+ active: t.active,
954
+ disabled: t.disabled
1071
955
  }]),
1072
- style: _(l.value)
956
+ style: g(a.value)
1073
957
  },
1074
958
  [
1075
- x(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1076
- i.value === "iksig" ? (c(), u(
959
+ S(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
960
+ s.value === "iksig" ? (n(), c(
1077
961
  "i",
1078
962
  {
1079
963
  key: 0,
1080
- class: F(`iksig ${o.name}`),
1081
- style: _(l.value)
964
+ class: m(`iksig ${t.name}`),
965
+ style: g(a.value)
1082
966
  },
1083
967
  null,
1084
968
  6
1085
969
  /* CLASS, STYLE */
1086
- )) : i.value === "svg" ? (c(), u("svg", z6, [
1087
- r("use", {
1088
- "xlink:href": `#${o.name}`
1089
- }, null, 8, F6)
1090
- ])) : i.value === "img" ? (c(), u("img", {
970
+ )) : s.value === "svg" ? (n(), c("svg", d6, [
971
+ o("use", {
972
+ "xlink:href": `#${t.name}`
973
+ }, null, 8, r6)
974
+ ])) : s.value === "img" ? (n(), c("img", {
1091
975
  key: 2,
1092
- src: o.name,
976
+ src: t.name,
1093
977
  class: "h-[1em] w-[1em]"
1094
- }, null, 8, x6)) : (c(), u(
978
+ }, null, 8, p6)) : (n(), c(
1095
979
  "i",
1096
980
  {
1097
981
  key: 3,
1098
- class: F(o.name),
1099
- style: _(l.value)
982
+ class: m(t.name),
983
+ style: g(a.value)
1100
984
  },
1101
985
  null,
1102
986
  6
@@ -1105,54 +989,54 @@ const _6 = $(y6), k6 = {
1105
989
  ],
1106
990
  6
1107
991
  /* CLASS, STYLE */
1108
- )) : (c(), I(a, {
992
+ )) : (n(), I(v, {
1109
993
  key: 1,
1110
- content: o.title,
994
+ content: t.title,
1111
995
  placement: "top"
1112
996
  }, {
1113
- default: S(() => [
1114
- r(
997
+ default: O(() => [
998
+ o(
1115
999
  "i",
1116
1000
  {
1117
- class: F(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1118
- [o.name]: i.value === "unocss",
1119
- "show-bg": o.showBg || o.bg,
1120
- default: o.size === "default",
1121
- small: o.size === "small",
1122
- big: o.size === "big",
1123
- warning: o.warning || e.type === "warning",
1124
- primary: o.primary || e.type === "primary",
1125
- success: o.success || e.type === "success",
1126
- error: o.error || e.type === "error",
1127
- active: o.active
1001
+ class: m(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1002
+ [t.name]: s.value === "unocss",
1003
+ "show-bg": t.showBg || t.bg,
1004
+ default: t.size === "default",
1005
+ small: t.size === "small",
1006
+ big: t.size === "big",
1007
+ warning: t.warning || e.type === "warning",
1008
+ primary: t.primary || e.type === "primary",
1009
+ success: t.success || e.type === "success",
1010
+ error: t.error || e.type === "error",
1011
+ active: t.active
1128
1012
  }]),
1129
- style: _(l.value)
1013
+ style: g(a.value)
1130
1014
  },
1131
1015
  [
1132
- i.value === "iksig" ? (c(), u(
1016
+ s.value === "iksig" ? (n(), c(
1133
1017
  "i",
1134
1018
  {
1135
1019
  key: 0,
1136
- class: F(`iksig ${o.name}`),
1137
- style: _(l.value)
1020
+ class: m(`iksig ${t.name}`),
1021
+ style: g(a.value)
1138
1022
  },
1139
1023
  null,
1140
1024
  6
1141
1025
  /* CLASS, STYLE */
1142
- )) : i.value === "svg" ? (c(), u("svg", b6, [
1143
- r("use", {
1144
- "xlink:href": `#${o.name}`
1145
- }, null, 8, S6)
1146
- ])) : i.value === "img" ? (c(), u("img", {
1026
+ )) : s.value === "svg" ? (n(), c("svg", h6, [
1027
+ o("use", {
1028
+ "xlink:href": `#${t.name}`
1029
+ }, null, 8, u6)
1030
+ ])) : s.value === "img" ? (n(), c("img", {
1147
1031
  key: 2,
1148
- src: o.name,
1032
+ src: t.name,
1149
1033
  class: "h-[1em] w-[1em]"
1150
- }, null, 8, C6)) : (c(), u(
1034
+ }, null, 8, f6)) : (n(), c(
1151
1035
  "i",
1152
1036
  {
1153
1037
  key: 3,
1154
- class: F(o.name),
1155
- style: _(l.value)
1038
+ class: m(t.name),
1039
+ style: g(a.value)
1156
1040
  },
1157
1041
  null,
1158
1042
  6
@@ -1166,13 +1050,13 @@ const _6 = $(y6), k6 = {
1166
1050
  _: 1
1167
1051
  /* STABLE */
1168
1052
  }, 8, ["content"]))
1169
- ])) : (c(), I(h, {
1053
+ ])) : (n(), I(w, {
1170
1054
  key: 1,
1171
- type: ["warning", "error"].includes(o.type) ? "danger" : ""
1055
+ type: ["warning", "error"].includes(t.type) ? "danger" : ""
1172
1056
  }, {
1173
- default: S(() => [
1174
- O(
1175
- V(o.title),
1057
+ default: O(() => [
1058
+ P(
1059
+ b(t.title),
1176
1060
  1
1177
1061
  /* TEXT */
1178
1062
  )
@@ -1183,539 +1067,22 @@ const _6 = $(y6), k6 = {
1183
1067
  };
1184
1068
  }
1185
1069
  });
1186
- const B6 = /* @__PURE__ */ E(V6, [["__scopeId", "data-v-7d95dbf5"]]), B = $(B6), I6 = {
1187
- key: 0,
1188
- class: "exit-main-page-maximize"
1189
- }, $6 = /* @__PURE__ */ k({
1190
- __name: "CloseIcon",
1191
- props: {
1192
- showBg: {
1193
- type: Boolean,
1194
- default: !1
1195
- },
1196
- fullscreen: {
1197
- type: Boolean,
1198
- default: !1
1199
- }
1200
- },
1201
- setup(n) {
1202
- return (e, i) => (c(), u("div", null, [
1203
- n.showBg && n.fullscreen ? (c(), u("div", I6, [
1204
- y(w(B), {
1205
- name: "iksvg_guanbidanchuang",
1206
- title: "关闭",
1207
- size: 20,
1208
- error: ""
1209
- })
1210
- ])) : (c(), I(w(B), {
1211
- key: 1,
1212
- error: "",
1213
- name: "iksvg_guanbidanchuang",
1214
- title: "关闭",
1215
- size: 20
1216
- }))
1217
- ]));
1218
- }
1219
- });
1220
- const R6 = /* @__PURE__ */ E($6, [["__scopeId", "data-v-79f49df8"]]), D6 = { class: "base-header" }, M6 = /* @__PURE__ */ k({
1221
- __name: "IkBaseDialog",
1222
- props: /* @__PURE__ */ P({
1223
- title: { default: "" },
1224
- cancelText: { default: "取消" },
1225
- confirmText: { default: "确认" },
1226
- noHeader: { type: Boolean },
1227
- noFooter: { type: Boolean },
1228
- showCloseBg: { type: Boolean, default: !1 },
1229
- fullscreen: { type: Boolean, default: !1 }
1230
- }, {
1231
- modelValue: {
1232
- type: Boolean,
1233
- default: !1,
1234
- noHeader: !1,
1235
- noFooter: !1
1236
- },
1237
- modelModifiers: {}
1238
- }),
1239
- emits: ["update:modelValue"],
1240
- setup(n) {
1241
- const e = n, i = L(n, "modelValue"), l = z(e.fullscreen), o = () => {
1242
- l.value = !l.value;
1243
- }, s = k({
1244
- setup() {
1245
- return () => Y(R6, {
1246
- showBg: e.showCloseBg,
1247
- fullscreen: e.fullscreen
1248
- });
1249
- }
1250
- });
1251
- return (a, h) => {
1252
- const g = M("el-dialog");
1253
- return c(), I(g, Z({
1254
- modelValue: i.value,
1255
- "onUpdate:modelValue": h[0] || (h[0] = (t) => i.value = t)
1256
- }, a.$attrs, {
1257
- "close-icon": w(s),
1258
- class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
1259
- fullscreen: l.value,
1260
- "modal-class": "baseDialog"
1261
- }), J({
1262
- icon: S(() => [
1263
- R(a.$slots, "title", {}, () => [
1264
- O(
1265
- V(a.title),
1266
- 1
1267
- /* TEXT */
1268
- )
1269
- ])
1270
- ]),
1271
- header: S(() => [
1272
- r("div", D6, [
1273
- R(a.$slots, "header", {}, () => [
1274
- O(
1275
- V(a.title),
1276
- 1
1277
- /* TEXT */
1278
- )
1279
- ])
1280
- ]),
1281
- a.$attrs.showClose ? (c(), I(w(B), {
1282
- key: 0,
1283
- onClick: o,
1284
- name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1285
- class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1286
- title: l.value ? "退出全屏" : "全屏"
1287
- }, null, 8, ["name", "title"])) : x("v-if", !0)
1288
- ]),
1289
- default: S(() => [
1290
- R(a.$slots, "default")
1291
- ]),
1292
- _: 2
1293
- /* DYNAMIC */
1294
- }, [
1295
- a.$slots.footer ? {
1296
- name: "footer",
1297
- fn: S(() => [
1298
- R(a.$slots, "footer")
1299
- ]),
1300
- key: "0"
1301
- } : void 0
1302
- ]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
1303
- };
1304
- }
1305
- });
1306
- const q6 = $(M6);
1307
- function E6(n, e, i, l) {
1308
- function o(s) {
1309
- return s instanceof i ? s : new i(function(a) {
1310
- a(s);
1311
- });
1312
- }
1313
- return new (i || (i = Promise))(function(s, a) {
1314
- function h(d) {
1315
- try {
1316
- t(l.next(d));
1317
- } catch (v) {
1318
- a(v);
1319
- }
1320
- }
1321
- function g(d) {
1322
- try {
1323
- t(l.throw(d));
1324
- } catch (v) {
1325
- a(v);
1326
- }
1327
- }
1328
- function t(d) {
1329
- d.done ? s(d.value) : o(d.value).then(h, g);
1330
- }
1331
- t((l = l.apply(n, e || [])).next());
1332
- });
1333
- }
1334
- function H6(n, e) {
1335
- var i = { label: 0, sent: function() {
1336
- if (s[0] & 1)
1337
- throw s[1];
1338
- return s[1];
1339
- }, trys: [], ops: [] }, l, o, s, a;
1340
- return a = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
1341
- return this;
1342
- }), a;
1343
- function h(t) {
1344
- return function(d) {
1345
- return g([t, d]);
1346
- };
1347
- }
1348
- function g(t) {
1349
- if (l)
1350
- throw new TypeError("Generator is already executing.");
1351
- for (; a && (a = 0, t[0] && (i = 0)), i; )
1352
- try {
1353
- if (l = 1, o && (s = t[0] & 2 ? o.return : t[0] ? o.throw || ((s = o.return) && s.call(o), 0) : o.next) && !(s = s.call(o, t[1])).done)
1354
- return s;
1355
- switch (o = 0, s && (t = [t[0] & 2, s.value]), t[0]) {
1356
- case 0:
1357
- case 1:
1358
- s = t;
1359
- break;
1360
- case 4:
1361
- return i.label++, { value: t[1], done: !1 };
1362
- case 5:
1363
- i.label++, o = t[1], t = [0];
1364
- continue;
1365
- case 7:
1366
- t = i.ops.pop(), i.trys.pop();
1367
- continue;
1368
- default:
1369
- if (s = i.trys, !(s = s.length > 0 && s[s.length - 1]) && (t[0] === 6 || t[0] === 2)) {
1370
- i = 0;
1371
- continue;
1372
- }
1373
- if (t[0] === 3 && (!s || t[1] > s[0] && t[1] < s[3])) {
1374
- i.label = t[1];
1375
- break;
1376
- }
1377
- if (t[0] === 6 && i.label < s[1]) {
1378
- i.label = s[1], s = t;
1379
- break;
1380
- }
1381
- if (s && i.label < s[2]) {
1382
- i.label = s[2], i.ops.push(t);
1383
- break;
1384
- }
1385
- s[2] && i.ops.pop(), i.trys.pop();
1386
- continue;
1387
- }
1388
- t = e.call(n, i);
1389
- } catch (d) {
1390
- t = [6, d], o = 0;
1391
- } finally {
1392
- l = s = 0;
1393
- }
1394
- if (t[0] & 5)
1395
- throw t[1];
1396
- return { value: t[0] ? t[1] : void 0, done: !0 };
1397
- }
1398
- }
1399
- var O6 = function(n, e) {
1400
- return E6(void 0, void 0, void 0, function() {
1401
- return H6(this, function(i) {
1402
- return [2, new Promise(function(l, o) {
1403
- try {
1404
- if (window.DocsAPI)
1405
- return l(null);
1406
- var s = document.getElementById(e);
1407
- if (s)
1408
- var a = setInterval(function() {
1409
- var g = s.getAttribute("loading");
1410
- if (!g) {
1411
- if (clearInterval(a), window.DocsAPI)
1412
- return l(null);
1413
- var t = T(e, n, l, o);
1414
- s.remove(), document.body.appendChild(t);
1415
- }
1416
- }, 500);
1417
- else {
1418
- var h = T(e, n, l, o);
1419
- document.body.appendChild(h);
1420
- }
1421
- } catch (g) {
1422
- console.error(g);
1423
- }
1424
- })];
1425
- });
1426
- });
1427
- }, T = function(n, e, i, l) {
1428
- var o = document.createElement("script");
1429
- return o.id = n, o.type = "text/javascript", o.src = e, o.async = !0, o.onload = function() {
1430
- o.removeAttribute("loading"), i(null);
1431
- }, o.onerror = function(s) {
1432
- o.removeAttribute("loading"), l(s);
1433
- }, o.setAttribute("loading", ""), o;
1434
- }, A = k({
1435
- name: "DocumentEditor",
1436
- props: {
1437
- id: {
1438
- type: String,
1439
- required: !0
1440
- },
1441
- documentServerUrl: {
1442
- type: String,
1443
- required: !0
1444
- },
1445
- config: {
1446
- type: Object,
1447
- required: !0
1448
- },
1449
- document_fileType: String,
1450
- document_title: String,
1451
- documentType: String,
1452
- editorConfig_lang: String,
1453
- height: String,
1454
- type: String,
1455
- width: String,
1456
- onLoadComponentError: Function,
1457
- events_onAppReady: Function,
1458
- events_onDocumentStateChange: Function,
1459
- events_onMetaChange: Function,
1460
- events_onDocumentReady: Function,
1461
- events_onInfo: Function,
1462
- events_onWarning: Function,
1463
- events_onError: Function,
1464
- events_onRequestSharingSettings: Function,
1465
- events_onRequestRename: Function,
1466
- events_onMakeActionLink: Function,
1467
- events_onRequestInsertImage: Function,
1468
- events_onRequestSaveAs: Function,
1469
- /**
1470
- * @deprecated Deprecated since version 7.5, please use events_onRequestSelectSpreadsheet instead.
1471
- */
1472
- events_onRequestMailMergeRecipients: Function,
1473
- /**
1474
- * @deprecated Deprecated since version 7.5, please use events_onRequestSelectDocument instead.
1475
- */
1476
- events_onRequestCompareFile: Function,
1477
- events_onRequestEditRights: Function,
1478
- events_onRequestHistory: Function,
1479
- events_onRequestHistoryClose: Function,
1480
- events_onRequestHistoryData: Function,
1481
- events_onRequestRestore: Function,
1482
- events_onRequestSelectSpreadsheet: Function,
1483
- events_onRequestSelectDocument: Function
1484
- },
1485
- mounted: function() {
1486
- var n = this, e = this.documentServerUrl;
1487
- e.endsWith("/") || (e += "/");
1488
- var i = "".concat(e, "web-apps/apps/api/documents/api.js");
1489
- O6(i, "onlyoffice-api-script").then(function() {
1490
- return n.onLoad();
1491
- }).catch(function() {
1492
- n.onError(-2);
1493
- });
1494
- },
1495
- unmounted: function() {
1496
- var n, e = this.id || "";
1497
- !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[e] && (window.DocEditor.instances[e].destroyEditor(), window.DocEditor.instances[e] = void 0);
1498
- },
1499
- watch: {
1500
- config: {
1501
- handler: function(n, e) {
1502
- this.onChangeProps();
1503
- },
1504
- deep: !0
1505
- },
1506
- document_fileType: function(n, e) {
1507
- this.onChangeProps();
1508
- },
1509
- document_title: function(n, e) {
1510
- this.onChangeProps();
1511
- },
1512
- documentType: function(n, e) {
1513
- this.onChangeProps();
1514
- },
1515
- editorConfig_lang: function(n, e) {
1516
- this.onChangeProps();
1517
- },
1518
- height: function(n, e) {
1519
- this.onChangeProps();
1520
- },
1521
- type: function(n, e) {
1522
- this.onChangeProps();
1523
- },
1524
- width: function(n, e) {
1525
- this.onChangeProps();
1526
- }
1527
- },
1528
- methods: {
1529
- onLoad: function() {
1530
- var n, e;
1531
- try {
1532
- var i = this.id || "";
1533
- if (window.DocsAPI || this.onError(-3), !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[i]) {
1534
- console.log("Skip loading. Instance already exists", i);
1535
- return;
1536
- }
1537
- !((e = window == null ? void 0 : window.DocEditor) === null || e === void 0) && e.instances || (window.DocEditor = { instances: {} });
1538
- var l = Object.assign({
1539
- document: {
1540
- fileType: this.document_fileType,
1541
- title: this.document_title
1542
- },
1543
- documentType: this.documentType,
1544
- editorConfig: {
1545
- lang: this.editorConfig_lang
1546
- },
1547
- events: {
1548
- onAppReady: this.onAppReady,
1549
- onDocumentStateChange: this.events_onDocumentStateChange,
1550
- onMetaChange: this.events_onMetaChange,
1551
- onDocumentReady: this.events_onDocumentReady,
1552
- onInfo: this.events_onInfo,
1553
- onWarning: this.events_onWarning,
1554
- onError: this.events_onError,
1555
- onRequestSharingSettings: this.events_onRequestSharingSettings,
1556
- onRequestRename: this.events_onRequestRename,
1557
- onMakeActionLink: this.events_onMakeActionLink,
1558
- onRequestInsertImage: this.events_onRequestInsertImage,
1559
- onRequestSaveAs: this.events_onRequestSaveAs,
1560
- onRequestMailMergeRecipients: this.events_onRequestMailMergeRecipients,
1561
- onRequestCompareFile: this.events_onRequestCompareFile,
1562
- onRequestEditRights: this.events_onRequestEditRights,
1563
- onRequestHistory: this.events_onRequestHistory,
1564
- onRequestHistoryClose: this.events_onRequestHistoryClose,
1565
- onRequestHistoryData: this.events_onRequestHistoryData,
1566
- onRequestRestore: this.events_onRequestRestore,
1567
- onRequestSelectSpreadsheet: this.events_onRequestSelectSpreadsheet,
1568
- onRequestSelectDocument: this.events_onRequestSelectDocument
1569
- },
1570
- height: this.height,
1571
- type: this.type,
1572
- width: this.width
1573
- }, this.config || {}), o = window.DocsAPI.DocEditor(i, l);
1574
- window.DocEditor.instances[i] = o;
1575
- } catch (s) {
1576
- console.error(s), this.onError(-1);
1577
- }
1578
- },
1579
- onError: function(n) {
1580
- var e;
1581
- switch (n) {
1582
- case -2:
1583
- e = "Error load DocsAPI from " + this.documentServerUrl;
1584
- break;
1585
- case -3:
1586
- e = "DocsAPI is not defined";
1587
- break;
1588
- default:
1589
- e = "Unknown error loading component", n = -1;
1590
- }
1591
- typeof this.onLoadComponentError > "u" ? console.error(e) : this.onLoadComponentError(n, e);
1592
- },
1593
- onAppReady: function() {
1594
- var n = this.id || "";
1595
- this.events_onAppReady(window.DocEditor.instances[n]);
1596
- },
1597
- onChangeProps: function() {
1598
- var n, e = this.id || "";
1599
- !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[e] && (window.DocEditor.instances[e].destroyEditor(), window.DocEditor.instances[e] = void 0, console.log("Important props have been changed. Load new Editor."), this.onLoad());
1600
- }
1601
- }
1602
- });
1603
- const A6 = ["id"];
1604
- function U6(n, e, i, l, o, s) {
1605
- return c(), u("div", { id: n.id }, null, 8, A6);
1606
- }
1607
- A.render = U6;
1608
- A.__file = "src/components/DocumentEditor.vue";
1609
- const T6 = /* @__PURE__ */ k({
1610
- __name: "IkOnlyOffice",
1611
- props: {
1612
- // 文件服务器的服务的地址
1613
- documentServerUrl: {
1614
- type: String,
1615
- default: ""
1616
- },
1617
- // 当前onlyoffice的模式 (edit 编辑模式 view是查看模式)
1618
- mode: {
1619
- type: String,
1620
- default: ""
1621
- },
1622
- // 配置项
1623
- configOptions: {
1624
- type: Object,
1625
- default: () => {
1626
- }
1627
- },
1628
- // 元素的高度
1629
- officeHeight: {
1630
- type: String,
1631
- default: "100%"
1632
- },
1633
- // 加密后的token
1634
- token: {
1635
- type: String,
1636
- default: ""
1637
- }
1638
- },
1639
- setup(n) {
1640
- var o, s, a, h;
1641
- const e = n, i = z({
1642
- width: "100%",
1643
- height: "100%",
1644
- document: (o = e.configOptions) == null ? void 0 : o.document,
1645
- // word cell(表格) slide(PPT)
1646
- documentType: (s = e.configOptions) == null ? void 0 : s.documentType,
1647
- editorConfig: {
1648
- callbackUrl: (h = (a = e.configOptions) == null ? void 0 : a.editorConfig) == null ? void 0 : h.callbackUrl,
1649
- // 保存的回调函数
1650
- lang: "zh-CN",
1651
- mode: e.mode,
1652
- // 强制保存
1653
- customization: {
1654
- forcesave: !0,
1655
- autosave: !0
1656
- }
1657
- },
1658
- // 权限
1659
- permissions: {
1660
- comment: !0,
1661
- commentGroups: {
1662
- edit: ["Group1"],
1663
- remove: ["Group1"],
1664
- view: ""
1665
- },
1666
- copy: !0,
1667
- deleteCommentAuthorOnly: !0,
1668
- download: !0,
1669
- edit: !0,
1670
- editCommentAuthorOnly: !0,
1671
- fillForms: !0,
1672
- modifyContentControl: !0,
1673
- modifyFilter: !0,
1674
- print: !0,
1675
- review: !0,
1676
- reviewGroups: ["Group1", "Group2", "Group3"],
1677
- userInfoGroups: ["Group1"]
1678
- },
1679
- mode: e.mode,
1680
- token: e.token
1681
- }), l = () => {
1682
- console.info("文档加载完成");
1683
- };
1684
- return (g, t) => (c(), u(
1685
- "div",
1686
- {
1687
- style: _({ height: e.officeHeight })
1688
- },
1689
- [
1690
- y(w(A), {
1691
- id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1692
- ref: "editorRef",
1693
- "document-server-url": n.documentServerUrl,
1694
- config: i.value,
1695
- events_onDocumentReady: l
1696
- }, null, 8, ["id", "document-server-url", "config"])
1697
- ],
1698
- 4
1699
- /* STYLE */
1700
- ));
1701
- }
1702
- });
1703
- const P6 = /* @__PURE__ */ E(T6, [["__scopeId", "data-v-ea0a8f6d"]]), L6 = $(P6), j6 = (n) => (Q("data-v-170abcfc"), n = n(), e3(), n), G6 = {
1070
+ const g6 = /* @__PURE__ */ L(v6, [["__scopeId", "data-v-7d95dbf5"]]), M = $(g6), w6 = (i) => (E("data-v-170abcfc"), i = i(), W(), i), m6 = {
1704
1071
  key: 0,
1705
1072
  class: "preview-files"
1706
- }, N6 = {
1073
+ }, _6 = {
1707
1074
  class: "flex",
1708
1075
  style: { width: "80%", "align-items": "center" }
1709
- }, W6 = ["onClick"], K6 = ["title"], X6 = { style: { color: "#b8c6d9" } }, Y6 = ["onClick"], Z6 = /* @__PURE__ */ j6(() => /* @__PURE__ */ r(
1076
+ }, y6 = ["onClick"], z6 = ["title"], k6 = { style: { color: "#b8c6d9" } }, x6 = ["onClick"], F6 = /* @__PURE__ */ w6(() => /* @__PURE__ */ o(
1710
1077
  "span",
1711
1078
  null,
1712
1079
  "预览",
1713
1080
  -1
1714
1081
  /* HOISTED */
1715
- )), J6 = {
1082
+ )), b6 = {
1716
1083
  key: 1,
1717
1084
  class: "flex preview-img"
1718
- }, Q6 = /* @__PURE__ */ k({
1085
+ }, B6 = /* @__PURE__ */ B({
1719
1086
  __name: "IKDetailPreviewFiles",
1720
1087
  props: {
1721
1088
  // 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
@@ -1744,79 +1111,79 @@ const P6 = /* @__PURE__ */ E(T6, [["__scopeId", "data-v-ea0a8f6d"]]), L6 = $(P6)
1744
1111
  default: ""
1745
1112
  }
1746
1113
  },
1747
- setup(n) {
1748
- const e = n, i = z(e.fileList);
1749
- j(
1114
+ setup(i) {
1115
+ const e = i, s = F(e.fileList);
1116
+ N(
1750
1117
  () => e.fileList,
1751
- (t) => {
1752
- t && (i.value = t);
1118
+ (l) => {
1119
+ l && (s.value = l);
1753
1120
  },
1754
1121
  { immediate: !0 }
1755
1122
  );
1756
- const l = z(!1), o = z({}), s = (t) => {
1757
- o.value = {
1758
- url: t.url,
1759
- name: t.name
1123
+ const a = F(!1), t = F({}), h = (l) => {
1124
+ t.value = {
1125
+ url: l.url,
1126
+ name: l.name
1760
1127
  // row.originName
1761
- }, l.value = !0;
1762
- }, a = (t) => {
1763
- var d, v, p, m, f;
1764
- return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "iksvg_pdf" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "iksvg_word" : (p = t == null ? void 0 : t.suffix) != null && p.includes("xls") ? "iksvg_excel" : (m = t == null ? void 0 : t.suffix) != null && m.includes("mov") ? "iksvg_mov" : (f = t == null ? void 0 : t.suffix) != null && f.includes("zip") ? "iksvg_zip" : "icon-jpg";
1765
- }, h = (t) => {
1766
- var d, v, p, m, f;
1767
- return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "#FA4E4E" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "#2c69e0" : (p = t.suffix) != null && p.includes("xls") ? "#39BFBF" : (m = t.suffix) != null && m.includes("txt") ? "#2c69e0" : (f = t.suffix) != null && f.includes("zip") ? "#FF9000" : "#32CD79";
1768
- }, g = (t) => {
1769
- const d = document.createElement("a");
1770
- d.href = s3.assembleUrl(e.loadUrl, t.url), d.download = t.name, d.click();
1128
+ }, a.value = !0;
1129
+ }, v = (l) => {
1130
+ var r, u, p, f, d;
1131
+ return (r = l == null ? void 0 : l.suffix) != null && r.includes("pdf") ? "iksvg_pdf" : (u = l == null ? void 0 : l.suffix) != null && u.includes("doc") ? "iksvg_word" : (p = l == null ? void 0 : l.suffix) != null && p.includes("xls") ? "iksvg_excel" : (f = l == null ? void 0 : l.suffix) != null && f.includes("mov") ? "iksvg_mov" : (d = l == null ? void 0 : l.suffix) != null && d.includes("zip") ? "iksvg_zip" : "icon-jpg";
1132
+ }, w = (l) => {
1133
+ var r, u, p, f, d;
1134
+ return (r = l == null ? void 0 : l.suffix) != null && r.includes("pdf") ? "#FA4E4E" : (u = l == null ? void 0 : l.suffix) != null && u.includes("doc") ? "#2c69e0" : (p = l.suffix) != null && p.includes("xls") ? "#39BFBF" : (f = l.suffix) != null && f.includes("txt") ? "#2c69e0" : (d = l.suffix) != null && d.includes("zip") ? "#FF9000" : "#32CD79";
1135
+ }, z = (l) => {
1136
+ const r = document.createElement("a");
1137
+ r.href = X.assembleUrl(e.loadUrl, l.url), r.download = l.name, r.click();
1771
1138
  };
1772
- return (t, d) => {
1773
- var p, m;
1774
- const v = M("el-image");
1775
- return c(), u("div", null, [
1776
- e.fileType === "file" ? (c(), u("div", G6, [
1777
- (c(!0), u(
1778
- D,
1139
+ return (l, r) => {
1140
+ var p, f;
1141
+ const u = H("el-image");
1142
+ return n(), c("div", null, [
1143
+ e.fileType === "file" ? (n(), c("div", m6, [
1144
+ (n(!0), c(
1145
+ V,
1779
1146
  null,
1780
- H(i.value, (f, b) => (c(), u(
1147
+ C(s.value, (d, x) => (n(), c(
1781
1148
  "div",
1782
1149
  {
1783
- key: b,
1150
+ key: x,
1784
1151
  class: "files-item",
1785
- style: _({
1152
+ style: g({
1786
1153
  width: e.fileWidth,
1787
1154
  "margin-right": e.fileWidth === "100%" ? "0px" : ""
1788
1155
  })
1789
1156
  },
1790
1157
  [
1791
- r("div", N6, [
1792
- y(w(B), {
1793
- name: a(f),
1794
- style: _(`color:${h(f)}`),
1158
+ o("div", _6, [
1159
+ _(y(M), {
1160
+ name: v(d),
1161
+ style: g(`color:${w(d)}`),
1795
1162
  size: 36
1796
1163
  }, null, 8, ["name", "style"]),
1797
- r("div", {
1164
+ o("div", {
1798
1165
  class: "file-name",
1799
- onClick: (N) => g(f)
1166
+ onClick: (D) => z(d)
1800
1167
  }, [
1801
- r("p", {
1802
- title: f.name
1803
- }, V(f.name), 9, K6),
1804
- r(
1168
+ o("p", {
1169
+ title: d.name
1170
+ }, b(d.name), 9, z6),
1171
+ o(
1805
1172
  "p",
1806
- X6,
1807
- V((f.size / 1024).toFixed(2)) + "KB",
1173
+ k6,
1174
+ b((d.size / 1024).toFixed(2)) + "KB",
1808
1175
  1
1809
1176
  /* TEXT */
1810
1177
  )
1811
- ], 8, W6)
1178
+ ], 8, y6)
1812
1179
  ]),
1813
- r("div", {
1180
+ o("div", {
1814
1181
  class: "file-preview",
1815
- onClick: (N) => s(f)
1182
+ onClick: (D) => h(d)
1816
1183
  }, [
1817
- y(w(B), { name: "iksvg_yulan" }),
1818
- Z6
1819
- ], 8, Y6)
1184
+ _(y(M), { name: "iksvg_yulan" }),
1185
+ F6
1186
+ ], 8, x6)
1820
1187
  ],
1821
1188
  4
1822
1189
  /* STYLE */
@@ -1824,40 +1191,40 @@ const P6 = /* @__PURE__ */ E(T6, [["__scopeId", "data-v-ea0a8f6d"]]), L6 = $(P6)
1824
1191
  128
1825
1192
  /* KEYED_FRAGMENT */
1826
1193
  ))
1827
- ])) : x("v-if", !0),
1828
- e.fileType === "img" ? (c(), u("div", J6, [
1829
- (c(!0), u(
1830
- D,
1194
+ ])) : S("v-if", !0),
1195
+ e.fileType === "img" ? (n(), c("div", b6, [
1196
+ (n(!0), c(
1197
+ V,
1831
1198
  null,
1832
- H(i.value, (f, b) => (c(), u("div", {
1833
- key: b,
1199
+ C(s.value, (d, x) => (n(), c("div", {
1200
+ key: x,
1834
1201
  class: "preview-img"
1835
1202
  }, [
1836
- y(v, {
1203
+ _(u, {
1837
1204
  class: "show-img",
1838
- src: n.loadUrl + f.url,
1839
- "preview-src-list": [n.loadUrl + f.url],
1205
+ src: i.loadUrl + d.url,
1206
+ "preview-src-list": [i.loadUrl + d.url],
1840
1207
  fit: "cover"
1841
1208
  }, null, 8, ["src", "preview-src-list"])
1842
1209
  ]))),
1843
1210
  128
1844
1211
  /* KEYED_FRAGMENT */
1845
1212
  ))
1846
- ])) : x("v-if", !0),
1847
- y(w(g6), {
1848
- modelValue: l.value,
1849
- "onUpdate:modelValue": d[0] || (d[0] = (f) => l.value = f),
1213
+ ])) : S("v-if", !0),
1214
+ _(y(o6), {
1215
+ modelValue: a.value,
1216
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => a.value = d),
1850
1217
  "load-url": e.loadUrl,
1851
- url: (p = o.value) == null ? void 0 : p.url,
1852
- "kk-url": n.kkUrl,
1853
- "file-name": (m = o.value) == null ? void 0 : m.name
1218
+ url: (p = t.value) == null ? void 0 : p.url,
1219
+ "kk-url": i.kkUrl,
1220
+ "file-name": (f = t.value) == null ? void 0 : f.name
1854
1221
  }, null, 8, ["modelValue", "load-url", "url", "kk-url", "file-name"])
1855
1222
  ]);
1856
1223
  };
1857
1224
  }
1858
1225
  });
1859
- const ee = /* @__PURE__ */ E(Q6, [["__scopeId", "data-v-170abcfc"]]), oe = $(ee);
1226
+ const V6 = /* @__PURE__ */ L(B6, [["__scopeId", "data-v-170abcfc"]]), $6 = $(V6);
1860
1227
  export {
1861
- oe as IKDetailPreviewFiles,
1862
- oe as default
1228
+ $6 as IKDetailPreviewFiles,
1229
+ $6 as default
1863
1230
  };