iking-web-ui-pro 0.1.96 → 0.1.97

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,30 +1,30 @@
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";
1
+ import { defineComponent as B, computed as x, openBlock as c, createElementBlock as a, createElementVNode as o, ref as k, Fragment as V, renderList as H, normalizeClass as y, normalizeStyle as m, createVNode as _, toDisplayString as b, unref as z, withModifiers as P, renderSlot as N, createCommentVNode as S, mergeModels as E, useModel as W, reactive as K, watch as D, nextTick as q, resolveComponent as I, createBlock as O, withCtx as U, createTextVNode as G, pushScopeId as X, popScopeId as Y } from "vue";
2
+ import { paramType as Z, ikFile as J, buildUUID as Q, ikColor as R, ikUrl as e3 } from "iking-utils-pro";
3
3
  const $ = (i, e) => {
4
4
  if (i.install = (s) => {
5
- for (const a of [i, ...Object.values(e ?? {})])
6
- s.component(a.name, a);
5
+ for (const n of [i, ...Object.values(e ?? {})])
6
+ s.component(n.name, n);
7
7
  }, e)
8
- for (const [s, a] of Object.entries(e))
9
- i[s] = a;
8
+ for (const [s, n] of Object.entries(e))
9
+ i[s] = n;
10
10
  return i;
11
- }, L = (i, e) => {
11
+ }, T = (i, e) => {
12
12
  const s = i.__vccOpts || i;
13
- for (const [a, t] of e)
14
- s[a] = t;
13
+ for (const [n, l] of e)
14
+ s[n] = l;
15
15
  return s;
16
- }, Y = (i, e = 2) => {
16
+ }, t3 = (i, e = 2) => {
17
17
  if (i === void 0)
18
18
  return "";
19
19
  if (i === 0)
20
20
  return "0 B";
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 = {
21
+ const s = ["B", "KB", "MB", "GB", "TB"], n = Math.floor(Math.log(i) / Math.log(1024));
22
+ let l = i / Math.pow(1024, n);
23
+ return (l % 1 === 0 ? l.toFixed(e || 0) : l.toFixed(e)) + " " + s[n];
24
+ }, M = (i, e) => e ? e.startsWith("http") ? e : `${i || location.origin}${e}` : "";
25
+ const L = (i, e) => {
26
+ var h, g, w, f;
27
+ const s = (h = i == null ? void 0 : i.response) != null && h.data ? j((w = (g = i == null ? void 0 : i.response) == null ? void 0 : g.data) == null ? void 0 : w.suffix) : ((f = i.raw) == null ? void 0 : f.type) || j(i[e.suffix]), n = s == null ? void 0 : s.toLowerCase(), l = {
28
28
  sheet: "excel",
29
29
  excel: "excel",
30
30
  zip: "zip",
@@ -40,11 +40,11 @@ const Z = (i, e) => {
40
40
  exe: "exe",
41
41
  json: "json"
42
42
  };
43
- for (let l in t)
44
- if (typeof a == "string" && (a.includes(l) || a === l))
45
- return t[l];
43
+ for (let t in l)
44
+ if (typeof n == "string" && (n.includes(t) || n === t))
45
+ return l[t];
46
46
  return "unknown";
47
- }, J = {
47
+ }, l3 = {
48
48
  ".doc": "word",
49
49
  ".docx": "word",
50
50
  ".docxf": "word",
@@ -129,10 +129,13 @@ const Z = (i, e) => {
129
129
  ".vob": "video",
130
130
  ".txt": "txt",
131
131
  ".pdf": "pdf"
132
- }, U = (i) => {
132
+ }, j = (i) => {
133
133
  const e = i == null ? void 0 : i.toLocaleLowerCase(), s = e != null && e.startsWith(".") ? e : `.${e}`;
134
- return s && J[s] || "unknow";
135
- }, Q = {
134
+ return s && l3[s] || "unknow";
135
+ }, i3 = (i) => {
136
+ let e = "", s = ["doc", "docx"], n = ["xls", "xlsx"], l = ["ppt", "pptx"], h = ["pdf"];
137
+ return s.includes(i) && (e = "word"), n.includes(i) && (e = "cell"), l.includes(i) && (e = "slide"), h.includes(i) && (e = "text-pdf"), e;
138
+ }, s3 = {
136
139
  key: 0,
137
140
  t: "1686300059786",
138
141
  class: "icon",
@@ -142,7 +145,7 @@ const Z = (i, e) => {
142
145
  "p-id": "7671",
143
146
  width: "200",
144
147
  height: "200"
145
- }, R = /* @__PURE__ */ o(
148
+ }, o3 = /* @__PURE__ */ o(
146
149
  "path",
147
150
  {
148
151
  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",
@@ -152,7 +155,7 @@ const Z = (i, e) => {
152
155
  null,
153
156
  -1
154
157
  /* HOISTED */
155
- ), e3 = /* @__PURE__ */ o(
158
+ ), n3 = /* @__PURE__ */ o(
156
159
  "path",
157
160
  {
158
161
  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",
@@ -162,7 +165,7 @@ const Z = (i, e) => {
162
165
  null,
163
166
  -1
164
167
  /* HOISTED */
165
- ), t3 = /* @__PURE__ */ o(
168
+ ), c3 = /* @__PURE__ */ o(
166
169
  "path",
167
170
  {
168
171
  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",
@@ -172,7 +175,7 @@ const Z = (i, e) => {
172
175
  null,
173
176
  -1
174
177
  /* HOISTED */
175
- ), l3 = /* @__PURE__ */ o(
178
+ ), a3 = /* @__PURE__ */ o(
176
179
  "path",
177
180
  {
178
181
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -182,12 +185,12 @@ const Z = (i, e) => {
182
185
  null,
183
186
  -1
184
187
  /* HOISTED */
185
- ), i3 = [
186
- R,
187
- e3,
188
- t3,
189
- l3
190
- ], s3 = {
188
+ ), d3 = [
189
+ o3,
190
+ n3,
191
+ c3,
192
+ a3
193
+ ], r3 = {
191
194
  key: 1,
192
195
  t: "1686301531714",
193
196
  class: "icon",
@@ -197,7 +200,7 @@ const Z = (i, e) => {
197
200
  "p-id": "9067",
198
201
  width: "200",
199
202
  height: "200"
200
- }, o3 = /* @__PURE__ */ o(
203
+ }, p3 = /* @__PURE__ */ o(
201
204
  "path",
202
205
  {
203
206
  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",
@@ -207,7 +210,7 @@ const Z = (i, e) => {
207
210
  null,
208
211
  -1
209
212
  /* HOISTED */
210
- ), n3 = /* @__PURE__ */ o(
213
+ ), u3 = /* @__PURE__ */ o(
211
214
  "path",
212
215
  {
213
216
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -217,10 +220,10 @@ const Z = (i, e) => {
217
220
  null,
218
221
  -1
219
222
  /* HOISTED */
220
- ), c3 = [
221
- o3,
222
- n3
223
- ], a3 = {
223
+ ), h3 = [
224
+ p3,
225
+ u3
226
+ ], f3 = {
224
227
  key: 2,
225
228
  t: "1686300141125",
226
229
  class: "icon",
@@ -230,7 +233,7 @@ const Z = (i, e) => {
230
233
  "p-id": "8137",
231
234
  width: "200",
232
235
  height: "200"
233
- }, d3 = /* @__PURE__ */ o(
236
+ }, v3 = /* @__PURE__ */ o(
234
237
  "path",
235
238
  {
236
239
  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",
@@ -240,7 +243,7 @@ const Z = (i, e) => {
240
243
  null,
241
244
  -1
242
245
  /* HOISTED */
243
- ), r3 = /* @__PURE__ */ o(
246
+ ), g3 = /* @__PURE__ */ o(
244
247
  "path",
245
248
  {
246
249
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -250,10 +253,10 @@ const Z = (i, e) => {
250
253
  null,
251
254
  -1
252
255
  /* HOISTED */
253
- ), p3 = [
254
- d3,
255
- r3
256
- ], h3 = {
256
+ ), w3 = [
257
+ v3,
258
+ g3
259
+ ], m3 = {
257
260
  key: 3,
258
261
  t: "1686300157181",
259
262
  class: "icon",
@@ -263,7 +266,7 @@ const Z = (i, e) => {
263
266
  "p-id": "8292",
264
267
  width: "200",
265
268
  height: "200"
266
- }, u3 = /* @__PURE__ */ o(
269
+ }, y3 = /* @__PURE__ */ o(
267
270
  "path",
268
271
  {
269
272
  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",
@@ -273,7 +276,7 @@ const Z = (i, e) => {
273
276
  null,
274
277
  -1
275
278
  /* HOISTED */
276
- ), f3 = /* @__PURE__ */ o(
279
+ ), _3 = /* @__PURE__ */ o(
277
280
  "path",
278
281
  {
279
282
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -283,10 +286,10 @@ const Z = (i, e) => {
283
286
  null,
284
287
  -1
285
288
  /* HOISTED */
286
- ), v3 = [
287
- u3,
288
- f3
289
- ], g3 = {
289
+ ), z3 = [
290
+ y3,
291
+ _3
292
+ ], x3 = {
290
293
  key: 4,
291
294
  t: "1686300180947",
292
295
  class: "icon",
@@ -296,7 +299,7 @@ const Z = (i, e) => {
296
299
  "p-id": "8447",
297
300
  width: "200",
298
301
  height: "200"
299
- }, w3 = /* @__PURE__ */ o(
302
+ }, k3 = /* @__PURE__ */ o(
300
303
  "path",
301
304
  {
302
305
  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",
@@ -306,7 +309,7 @@ const Z = (i, e) => {
306
309
  null,
307
310
  -1
308
311
  /* HOISTED */
309
- ), m3 = /* @__PURE__ */ o(
312
+ ), F3 = /* @__PURE__ */ o(
310
313
  "path",
311
314
  {
312
315
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -316,10 +319,10 @@ const Z = (i, e) => {
316
319
  null,
317
320
  -1
318
321
  /* HOISTED */
319
- ), _3 = [
320
- w3,
321
- m3
322
- ], y3 = {
322
+ ), b3 = [
323
+ k3,
324
+ F3
325
+ ], B3 = {
323
326
  key: 5,
324
327
  t: "1686300195363",
325
328
  class: "icon",
@@ -329,7 +332,7 @@ const Z = (i, e) => {
329
332
  "p-id": "8602",
330
333
  width: "200",
331
334
  height: "200"
332
- }, z3 = /* @__PURE__ */ o(
335
+ }, V3 = /* @__PURE__ */ o(
333
336
  "path",
334
337
  {
335
338
  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",
@@ -339,7 +342,7 @@ const Z = (i, e) => {
339
342
  null,
340
343
  -1
341
344
  /* HOISTED */
342
- ), k3 = /* @__PURE__ */ o(
345
+ ), S3 = /* @__PURE__ */ o(
343
346
  "path",
344
347
  {
345
348
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -349,10 +352,10 @@ const Z = (i, e) => {
349
352
  null,
350
353
  -1
351
354
  /* HOISTED */
352
- ), x3 = [
353
- z3,
354
- k3
355
- ], F3 = {
355
+ ), M3 = [
356
+ V3,
357
+ S3
358
+ ], C3 = {
356
359
  key: 6,
357
360
  t: "1686300209288",
358
361
  class: "icon",
@@ -362,7 +365,7 @@ const Z = (i, e) => {
362
365
  "p-id": "8757",
363
366
  width: "200",
364
367
  height: "200"
365
- }, b3 = /* @__PURE__ */ o(
368
+ }, $3 = /* @__PURE__ */ o(
366
369
  "path",
367
370
  {
368
371
  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",
@@ -372,7 +375,7 @@ const Z = (i, e) => {
372
375
  null,
373
376
  -1
374
377
  /* HOISTED */
375
- ), B3 = /* @__PURE__ */ o(
378
+ ), H3 = /* @__PURE__ */ o(
376
379
  "path",
377
380
  {
378
381
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -382,10 +385,10 @@ const Z = (i, e) => {
382
385
  null,
383
386
  -1
384
387
  /* HOISTED */
385
- ), V3 = [
386
- b3,
387
- B3
388
- ], S3 = {
388
+ ), I3 = [
389
+ $3,
390
+ H3
391
+ ], O3 = {
389
392
  key: 7,
390
393
  t: "1686300225262",
391
394
  class: "icon",
@@ -395,7 +398,7 @@ const Z = (i, e) => {
395
398
  "p-id": "8912",
396
399
  width: "200",
397
400
  height: "200"
398
- }, M3 = /* @__PURE__ */ o(
401
+ }, U3 = /* @__PURE__ */ o(
399
402
  "path",
400
403
  {
401
404
  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",
@@ -405,7 +408,7 @@ const Z = (i, e) => {
405
408
  null,
406
409
  -1
407
410
  /* HOISTED */
408
- ), $3 = /* @__PURE__ */ o(
411
+ ), j3 = /* @__PURE__ */ o(
409
412
  "path",
410
413
  {
411
414
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -415,10 +418,10 @@ const Z = (i, e) => {
415
418
  null,
416
419
  -1
417
420
  /* HOISTED */
418
- ), C3 = [
419
- M3,
420
- $3
421
- ], H3 = {
421
+ ), D3 = [
422
+ U3,
423
+ j3
424
+ ], T3 = {
422
425
  key: 8,
423
426
  t: "1692251753690",
424
427
  class: "icon",
@@ -428,7 +431,7 @@ const Z = (i, e) => {
428
431
  "p-id": "4336",
429
432
  width: "200",
430
433
  height: "200"
431
- }, I3 = /* @__PURE__ */ o(
434
+ }, L3 = /* @__PURE__ */ o(
432
435
  "path",
433
436
  {
434
437
  d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
@@ -438,7 +441,7 @@ const Z = (i, e) => {
438
441
  null,
439
442
  -1
440
443
  /* HOISTED */
441
- ), O3 = /* @__PURE__ */ o(
444
+ ), A3 = /* @__PURE__ */ o(
442
445
  "path",
443
446
  {
444
447
  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",
@@ -449,7 +452,7 @@ const Z = (i, e) => {
449
452
  null,
450
453
  -1
451
454
  /* HOISTED */
452
- ), j3 = /* @__PURE__ */ o(
455
+ ), P3 = /* @__PURE__ */ o(
453
456
  "path",
454
457
  {
455
458
  d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
@@ -459,11 +462,11 @@ const Z = (i, e) => {
459
462
  null,
460
463
  -1
461
464
  /* HOISTED */
462
- ), U3 = [
463
- I3,
464
- O3,
465
- j3
466
- ], L3 = {
465
+ ), N3 = [
466
+ L3,
467
+ A3,
468
+ P3
469
+ ], E3 = {
467
470
  key: 9,
468
471
  t: "1692251753690",
469
472
  class: "icon",
@@ -473,7 +476,7 @@ const Z = (i, e) => {
473
476
  "p-id": "4336",
474
477
  width: "200",
475
478
  height: "200"
476
- }, D3 = /* @__PURE__ */ o(
479
+ }, W3 = /* @__PURE__ */ o(
477
480
  "path",
478
481
  {
479
482
  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",
@@ -483,7 +486,7 @@ const Z = (i, e) => {
483
486
  null,
484
487
  -1
485
488
  /* HOISTED */
486
- ), A3 = /* @__PURE__ */ o(
489
+ ), K3 = /* @__PURE__ */ o(
487
490
  "path",
488
491
  {
489
492
  d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
@@ -493,7 +496,7 @@ const Z = (i, e) => {
493
496
  null,
494
497
  -1
495
498
  /* HOISTED */
496
- ), T3 = /* @__PURE__ */ o(
499
+ ), q3 = /* @__PURE__ */ o(
497
500
  "path",
498
501
  {
499
502
  d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
@@ -504,7 +507,7 @@ const Z = (i, e) => {
504
507
  null,
505
508
  -1
506
509
  /* HOISTED */
507
- ), P3 = /* @__PURE__ */ o(
510
+ ), G3 = /* @__PURE__ */ o(
508
511
  "path",
509
512
  {
510
513
  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",
@@ -514,12 +517,12 @@ const Z = (i, e) => {
514
517
  null,
515
518
  -1
516
519
  /* HOISTED */
517
- ), N3 = [
518
- D3,
519
- A3,
520
- T3,
521
- P3
522
- ], E3 = {
520
+ ), X3 = [
521
+ W3,
522
+ K3,
523
+ q3,
524
+ G3
525
+ ], Y3 = {
523
526
  key: 10,
524
527
  t: "1714099890925",
525
528
  class: "icon",
@@ -529,7 +532,7 @@ const Z = (i, e) => {
529
532
  "p-id": "2271",
530
533
  width: "200",
531
534
  height: "200"
532
- }, W3 = /* @__PURE__ */ o(
535
+ }, Z3 = /* @__PURE__ */ o(
533
536
  "path",
534
537
  {
535
538
  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",
@@ -539,7 +542,7 @@ const Z = (i, e) => {
539
542
  null,
540
543
  -1
541
544
  /* HOISTED */
542
- ), K3 = /* @__PURE__ */ o(
545
+ ), J3 = /* @__PURE__ */ o(
543
546
  "path",
544
547
  {
545
548
  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",
@@ -550,7 +553,7 @@ const Z = (i, e) => {
550
553
  null,
551
554
  -1
552
555
  /* HOISTED */
553
- ), q3 = /* @__PURE__ */ o(
556
+ ), Q3 = /* @__PURE__ */ o(
554
557
  "path",
555
558
  {
556
559
  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",
@@ -560,11 +563,11 @@ const Z = (i, e) => {
560
563
  null,
561
564
  -1
562
565
  /* HOISTED */
563
- ), G3 = [
564
- W3,
565
- K3,
566
- q3
567
- ], X3 = {
566
+ ), R3 = [
567
+ Z3,
568
+ J3,
569
+ Q3
570
+ ], e6 = {
568
571
  key: 11,
569
572
  t: "1686300037564",
570
573
  class: "icon",
@@ -574,7 +577,7 @@ const Z = (i, e) => {
574
577
  "p-id": "7515",
575
578
  width: "200",
576
579
  height: "200"
577
- }, Y3 = /* @__PURE__ */ o(
580
+ }, t6 = /* @__PURE__ */ o(
578
581
  "path",
579
582
  {
580
583
  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",
@@ -584,7 +587,7 @@ const Z = (i, e) => {
584
587
  null,
585
588
  -1
586
589
  /* HOISTED */
587
- ), Z3 = /* @__PURE__ */ o(
590
+ ), l6 = /* @__PURE__ */ o(
588
591
  "path",
589
592
  {
590
593
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -594,7 +597,7 @@ const Z = (i, e) => {
594
597
  null,
595
598
  -1
596
599
  /* HOISTED */
597
- ), J3 = /* @__PURE__ */ o(
600
+ ), i6 = /* @__PURE__ */ o(
598
601
  "path",
599
602
  {
600
603
  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",
@@ -604,11 +607,11 @@ const Z = (i, e) => {
604
607
  null,
605
608
  -1
606
609
  /* HOISTED */
607
- ), Q3 = [
608
- Y3,
609
- Z3,
610
- J3
611
- ], R3 = /* @__PURE__ */ B({
610
+ ), s6 = [
611
+ t6,
612
+ l6,
613
+ i6
614
+ ], o6 = /* @__PURE__ */ B({
612
615
  __name: "FileIcon",
613
616
  props: {
614
617
  type: {
@@ -629,10 +632,10 @@ const Z = (i, e) => {
629
632
  }
630
633
  },
631
634
  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));
635
+ const e = i, s = x(() => e.file ? L(e.file, e.fields) : e.type);
636
+ return (n, l) => s.value === "image" ? (c(), a("svg", s3, d3)) : s.value === "zip" ? (c(), a("svg", r3, h3)) : s.value === "ppt" ? (c(), a("svg", f3, w3)) : s.value === "word" ? (c(), a("svg", m3, z3)) : s.value === "pdf" ? (c(), a("svg", x3, b3)) : s.value === "txt" ? (c(), a("svg", B3, M3)) : s.value === "audio" ? (c(), a("svg", C3, I3)) : s.value === "video" ? (c(), a("svg", O3, D3)) : s.value === "excel" ? (c(), a("svg", T3, N3)) : s.value === "exe" ? (c(), a("svg", E3, X3)) : s.value === "json" ? (c(), a("svg", Y3, R3)) : (c(), a("svg", e6, s6));
634
637
  }
635
- }), e6 = ["onClick"], t6 = { class: "text" }, l6 = { class: "fileName" }, i6 = { class: "size" }, s6 = /* @__PURE__ */ B({
638
+ }), n6 = ["onClick"], c6 = { class: "text" }, a6 = { class: "fileName" }, d6 = { class: "size" }, r6 = /* @__PURE__ */ B({
636
639
  __name: "IkPreviewFile",
637
640
  props: {
638
641
  list: {
@@ -702,80 +705,80 @@ const Z = (i, e) => {
702
705
  }
703
706
  },
704
707
  setup(i) {
705
- const e = i, s = k(() => ({
708
+ const e = i, s = x(() => ({
706
709
  name: "name",
707
710
  url: "url",
708
711
  suffix: "suffix",
709
712
  size: "size",
710
713
  ...e.field
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(
714
+ })), n = k(null), l = k(!1), h = (t) => {
715
+ var p, d;
716
+ n.value = {
717
+ ...t,
718
+ name: t.name,
719
+ url: M(
717
720
  e.loadUrl,
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)
721
+ t.url || ((d = (p = t == null ? void 0 : t.response) == null ? void 0 : p.data) == null ? void 0 : d.id) || (t == null ? void 0 : t.id)
719
722
  )
720
- }, console.log("fileData.value", a.value), t.value = !0;
721
- }, v = (l) => {
722
- q.downloadFile(
723
- j(
723
+ }, console.log("fileData.value", n.value), l.value = !0;
724
+ }, g = (t) => {
725
+ J.downloadFile(
726
+ M(
724
727
  e.loadUrl,
725
- l[s.value.url] || l.attachmentId || l.id
728
+ t[s.value.url] || t.attachmentId || t.id
726
729
  ),
727
- l[s.value.name] || l.attachmentName
730
+ t[s.value.name] || t.attachmentName
728
731
  );
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
732
+ }, w = x(() => Z.isNumber(e.width) ? `${e.width}px` : e.width), f = x(() => e.list.map((t) => ({
733
+ ...t,
734
+ name: t[s.value.name] || t.attachmentName,
735
+ size: t[s.value.size] || t.fileSize || t.attachmentSize,
736
+ suffix: t[s.value.suffix] || t.attachmentSuffix
734
737
  })));
735
- return (l, r) => {
736
- var u;
737
- return n(), c(
738
+ return (t, p) => {
739
+ var d;
740
+ return c(), a(
738
741
  V,
739
742
  null,
740
743
  [
741
- (u = i.list) != null && u.length ? (n(!0), c(
744
+ (d = i.list) != null && d.length ? (c(!0), a(
742
745
  V,
743
746
  { key: 0 },
744
- C(z.value, (p, f) => {
745
- var d;
746
- return n(), c(
747
+ H(f.value, (u, v) => {
748
+ var r;
749
+ return c(), a(
747
750
  "div",
748
751
  {
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",
752
+ class: y(["iking-privew-annex", { "is-bg": i.showBg }]),
753
+ key: v,
754
+ style: m({
755
+ marginBottom: v == ((r = i.list) == null ? void 0 : r.length) - 1 ? "0" : "10px",
753
756
  width: w.value
754
757
  })
755
758
  },
756
759
  [
757
760
  o("div", {
758
761
  class: "file-card",
759
- onClick: (x) => h(p)
762
+ onClick: (F) => h(u)
760
763
  }, [
761
- _(R3, {
762
- file: p,
763
- style: g({ height: `${i.iconSize}px` }),
764
+ _(o6, {
765
+ file: u,
766
+ style: m({ height: `${i.iconSize}px` }),
764
767
  class: "ikui-w-auto",
765
768
  fields: s.value
766
769
  }, null, 8, ["file", "style", "fields"]),
767
- o("div", t6, [
770
+ o("div", c6, [
768
771
  o(
769
772
  "div",
770
- l6,
771
- b(p.name),
773
+ a6,
774
+ b(u.name),
772
775
  1
773
776
  /* TEXT */
774
777
  ),
775
778
  o(
776
779
  "div",
777
- i6,
778
- b(y(Y)(p.size)),
780
+ d6,
781
+ b(z(t3)(u.size)),
779
782
  1
780
783
  /* TEXT */
781
784
  )
@@ -783,28 +786,28 @@ const Z = (i, e) => {
783
786
  o(
784
787
  "div",
785
788
  {
786
- class: m(["flex flex-center", { "hover-show": i.iconHoverShow }])
789
+ class: y(["flex flex-center", { "hover-show": i.iconHoverShow }])
787
790
  },
788
791
  [
789
- _(y(M), {
792
+ _(z(C), {
790
793
  name: "iksvg_daochu",
791
- onClick: A((x) => v(p), ["stop"]),
794
+ onClick: P((F) => g(u), ["stop"]),
792
795
  bg: i.showBg,
793
796
  size: i.showBg ? "default" : 20
794
797
  }, null, 8, ["onClick", "bg", "size"]),
795
- _(y(M), {
798
+ _(z(C), {
796
799
  name: "iksvg_yulan",
797
800
  bg: i.showBg,
798
801
  size: i.showBg ? "default" : 20
799
802
  }, null, 8, ["bg", "size"]),
800
- T(l.$slots, "operation", {
801
- data: { ...p, findex: f }
803
+ N(t.$slots, "operation", {
804
+ data: { ...u, findex: v }
802
805
  })
803
806
  ],
804
807
  2
805
808
  /* CLASS */
806
809
  )
807
- ], 8, e6)
810
+ ], 8, n6)
808
811
  ],
809
812
  6
810
813
  /* CLASS, STYLE */
@@ -813,11 +816,11 @@ const Z = (i, e) => {
813
816
  128
814
817
  /* KEYED_FRAGMENT */
815
818
  )) : S("v-if", !0),
816
- _(y(c6), {
817
- show: t.value,
818
- "onUpdate:show": r[0] || (r[0] = (p) => t.value = p),
819
+ _(z(h6), {
820
+ show: l.value,
821
+ "onUpdate:show": p[0] || (p[0] = (u) => l.value = u),
819
822
  loadUrl: i.loadUrl,
820
- file: a.value,
823
+ file: n.value,
821
824
  onlyofficeServer: i.onlyofficeServer,
822
825
  onlyOfficeConfig: i.onlyOfficeConfig,
823
826
  onlyOfficeAccept: i.onlyOfficeAccept
@@ -829,9 +832,9 @@ const Z = (i, e) => {
829
832
  };
830
833
  }
831
834
  });
832
- const o6 = $(s6), n6 = /* @__PURE__ */ B({
835
+ const p6 = $(r6), u6 = /* @__PURE__ */ B({
833
836
  __name: "IkPreviewFileDialog",
834
- props: {
837
+ props: /* @__PURE__ */ E({
835
838
  file: {
836
839
  type: Object,
837
840
  default: () => []
@@ -860,23 +863,78 @@ const o6 = $(s6), n6 = /* @__PURE__ */ B({
860
863
  type: Object,
861
864
  default: () => ({})
862
865
  }
863
- },
866
+ }, {
867
+ show: { default: !1 },
868
+ showModifiers: {}
869
+ }),
870
+ emits: ["update:show"],
864
871
  setup(i) {
865
- return console.log("props", i), (s, a) => " dasdasdasdf ";
872
+ const e = i, s = W(i, "show");
873
+ console.log("props", e);
874
+ const n = x(() => ({
875
+ name: "name",
876
+ url: "url",
877
+ suffix: "suffix",
878
+ size: "fileSize",
879
+ ...e.field
880
+ })), l = k(null), h = k(null), g = K({
881
+ image: !1,
882
+ office: !1,
883
+ video: !1
884
+ }), w = (f) => {
885
+ var t, p;
886
+ try {
887
+ const d = ((t = f == null ? void 0 : f.response) == null ? void 0 : t.data) || f, u = d[n.value.url] || (d == null ? void 0 : d.id) || d.attachmentId, v = (p = d[n.value.suffix] || d.attachmentSuffix) == null ? void 0 : p.toLowerCase(), r = d[n.value.name] || (d == null ? void 0 : d.attachmentName);
888
+ if (h.value = {
889
+ ...f,
890
+ name: f[n.value.name],
891
+ url: M(e.loadUrl, u)
892
+ }, f && L(f, n.value) === "image") {
893
+ g.image = !0;
894
+ return;
895
+ } else if (e.onlyOfficeAccept.includes(v)) {
896
+ g.office = !0, l.value = {
897
+ documentType: i3(v),
898
+ document: {
899
+ key: Q(),
900
+ title: r,
901
+ url: M(e.loadUrl, u),
902
+ fileType: v
903
+ },
904
+ editorConfig: {
905
+ customization: {
906
+ review: {
907
+ reviewDisplay: "final"
908
+ }
909
+ }
910
+ },
911
+ ...e.onlyOfficeConfig
912
+ };
913
+ return;
914
+ }
915
+ } catch (d) {
916
+ console.info("预览错误: ", d);
917
+ }
918
+ };
919
+ return D([s, e.file], ([f, t]) => {
920
+ console.log(f, e.file), f && q(() => {
921
+ w(e.file);
922
+ });
923
+ }), (f, t) => " dasdasdasdf ";
866
924
  }
867
925
  });
868
- const c6 = $(n6), a6 = {
926
+ const h6 = $(u6), f6 = {
869
927
  key: 0,
870
928
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
871
- }, d6 = {
929
+ }, v6 = {
872
930
  key: 1,
873
931
  class: "h-[1em] w-[1em]",
874
932
  "aria-hidden": "true"
875
- }, r6 = ["xlink:href"], p6 = ["src"], h6 = {
933
+ }, g6 = ["xlink:href"], w6 = ["src"], m6 = {
876
934
  key: 1,
877
935
  class: "h-[1em] w-[1em]",
878
936
  "aria-hidden": "true"
879
- }, u6 = ["xlink:href"], f6 = ["src"], v6 = /* @__PURE__ */ B({
937
+ }, y6 = ["xlink:href"], _6 = ["src"], z6 = /* @__PURE__ */ B({
880
938
  name: "IkSvgIcon",
881
939
  __name: "index",
882
940
  props: {
@@ -903,84 +961,84 @@ const c6 = $(n6), a6 = {
903
961
  tableIconType: { default: "icon" }
904
962
  },
905
963
  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 = [];
964
+ const e = i, s = x(() => {
965
+ var l, h, g;
966
+ return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (l = e.name) != null && l.startsWith("iksig") ? "iksig" : (h = e.name) != null && h.includes(":") ? "iconify" : (g = e.name) != null && g.startsWith("iksvg") ? "svg" : "i";
967
+ }), n = x(() => {
968
+ const l = [];
911
969
  if (e.flip)
912
970
  switch (e.flip) {
913
971
  case "horizontal":
914
- t.push("rotateY(180deg)");
972
+ l.push("rotateY(180deg)");
915
973
  break;
916
974
  case "vertical":
917
- t.push("rotateX(180deg)");
975
+ l.push("rotateX(180deg)");
918
976
  break;
919
977
  case "both":
920
- t.push("rotateX(180deg)"), t.push("rotateY(180deg)");
978
+ l.push("rotateX(180deg)"), l.push("rotateY(180deg)");
921
979
  break;
922
980
  }
923
- e.rotate && t.push(`rotate(${e.rotate % 360}deg)`);
981
+ e.rotate && l.push(`rotate(${e.rotate % 360}deg)`);
924
982
  const h = {
925
983
  ...e.color && { color: e.color },
926
984
  ...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
927
- ...t.length && { transform: t.join(" ") },
985
+ ...l.length && { transform: l.join(" ") },
928
986
  padding: e.showBg || e.bg ? e.padding : 0,
929
987
  ...e.color && s.value !== "iksig" ? {
930
988
  "--ik-color-icon-dark": e.color,
931
- "--ik-color-icon-light": e.colorLight || G.setOpacity(e.color, e.opacity)
989
+ "--ik-color-icon-light": e.colorLight || R.setOpacity(e.color, e.opacity)
932
990
  } : {}
933
991
  };
934
992
  return e.width && (h.width = h.height = typeof e.width == "number" ? `${e.width}px` : e.width), h;
935
993
  });
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(
994
+ return (l, h) => {
995
+ const g = I("el-tooltip"), w = I("el-button");
996
+ return l.tableIconType === "icon" ? (c(), a("span", f6, [
997
+ l.notip || !l.title ? (c(), a(
940
998
  "i",
941
999
  {
942
1000
  key: 0,
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
1001
+ class: y(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1002
+ [l.name]: s.value === "unocss",
1003
+ "show-bg": l.showBg || l.bg,
1004
+ default: l.size === "default",
1005
+ small: l.size === "small",
1006
+ big: l.size === "big",
1007
+ warning: l.warning || e.type === "warning",
1008
+ primary: l.primary || e.type === "primary",
1009
+ success: l.success || e.type === "success",
1010
+ error: l.error || e.type === "error",
1011
+ active: l.active,
1012
+ disabled: l.disabled
955
1013
  }]),
956
- style: g(a.value)
1014
+ style: m(n.value)
957
1015
  },
958
1016
  [
959
1017
  S(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
960
- s.value === "iksig" ? (n(), c(
1018
+ s.value === "iksig" ? (c(), a(
961
1019
  "i",
962
1020
  {
963
1021
  key: 0,
964
- class: m(`iksig ${t.name}`),
965
- style: g(a.value)
1022
+ class: y(`iksig ${l.name}`),
1023
+ style: m(n.value)
966
1024
  },
967
1025
  null,
968
1026
  6
969
1027
  /* CLASS, STYLE */
970
- )) : s.value === "svg" ? (n(), c("svg", d6, [
1028
+ )) : s.value === "svg" ? (c(), a("svg", v6, [
971
1029
  o("use", {
972
- "xlink:href": `#${t.name}`
973
- }, null, 8, r6)
974
- ])) : s.value === "img" ? (n(), c("img", {
1030
+ "xlink:href": `#${l.name}`
1031
+ }, null, 8, g6)
1032
+ ])) : s.value === "img" ? (c(), a("img", {
975
1033
  key: 2,
976
- src: t.name,
1034
+ src: l.name,
977
1035
  class: "h-[1em] w-[1em]"
978
- }, null, 8, p6)) : (n(), c(
1036
+ }, null, 8, w6)) : (c(), a(
979
1037
  "i",
980
1038
  {
981
1039
  key: 3,
982
- class: m(t.name),
983
- style: g(a.value)
1040
+ class: y(l.name),
1041
+ style: m(n.value)
984
1042
  },
985
1043
  null,
986
1044
  6
@@ -989,54 +1047,54 @@ const c6 = $(n6), a6 = {
989
1047
  ],
990
1048
  6
991
1049
  /* CLASS, STYLE */
992
- )) : (n(), I(v, {
1050
+ )) : (c(), O(g, {
993
1051
  key: 1,
994
- content: t.title,
1052
+ content: l.title,
995
1053
  placement: "top"
996
1054
  }, {
997
- default: O(() => [
1055
+ default: U(() => [
998
1056
  o(
999
1057
  "i",
1000
1058
  {
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
1059
+ class: y(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1060
+ [l.name]: s.value === "unocss",
1061
+ "show-bg": l.showBg || l.bg,
1062
+ default: l.size === "default",
1063
+ small: l.size === "small",
1064
+ big: l.size === "big",
1065
+ warning: l.warning || e.type === "warning",
1066
+ primary: l.primary || e.type === "primary",
1067
+ success: l.success || e.type === "success",
1068
+ error: l.error || e.type === "error",
1069
+ active: l.active
1012
1070
  }]),
1013
- style: g(a.value)
1071
+ style: m(n.value)
1014
1072
  },
1015
1073
  [
1016
- s.value === "iksig" ? (n(), c(
1074
+ s.value === "iksig" ? (c(), a(
1017
1075
  "i",
1018
1076
  {
1019
1077
  key: 0,
1020
- class: m(`iksig ${t.name}`),
1021
- style: g(a.value)
1078
+ class: y(`iksig ${l.name}`),
1079
+ style: m(n.value)
1022
1080
  },
1023
1081
  null,
1024
1082
  6
1025
1083
  /* CLASS, STYLE */
1026
- )) : s.value === "svg" ? (n(), c("svg", h6, [
1084
+ )) : s.value === "svg" ? (c(), a("svg", m6, [
1027
1085
  o("use", {
1028
- "xlink:href": `#${t.name}`
1029
- }, null, 8, u6)
1030
- ])) : s.value === "img" ? (n(), c("img", {
1086
+ "xlink:href": `#${l.name}`
1087
+ }, null, 8, y6)
1088
+ ])) : s.value === "img" ? (c(), a("img", {
1031
1089
  key: 2,
1032
- src: t.name,
1090
+ src: l.name,
1033
1091
  class: "h-[1em] w-[1em]"
1034
- }, null, 8, f6)) : (n(), c(
1092
+ }, null, 8, _6)) : (c(), a(
1035
1093
  "i",
1036
1094
  {
1037
1095
  key: 3,
1038
- class: m(t.name),
1039
- style: g(a.value)
1096
+ class: y(l.name),
1097
+ style: m(n.value)
1040
1098
  },
1041
1099
  null,
1042
1100
  6
@@ -1050,13 +1108,13 @@ const c6 = $(n6), a6 = {
1050
1108
  _: 1
1051
1109
  /* STABLE */
1052
1110
  }, 8, ["content"]))
1053
- ])) : (n(), I(w, {
1111
+ ])) : (c(), O(w, {
1054
1112
  key: 1,
1055
- type: ["warning", "error"].includes(t.type) ? "danger" : ""
1113
+ type: ["warning", "error"].includes(l.type) ? "danger" : ""
1056
1114
  }, {
1057
- default: O(() => [
1058
- P(
1059
- b(t.title),
1115
+ default: U(() => [
1116
+ G(
1117
+ b(l.title),
1060
1118
  1
1061
1119
  /* TEXT */
1062
1120
  )
@@ -1067,22 +1125,22 @@ const c6 = $(n6), a6 = {
1067
1125
  };
1068
1126
  }
1069
1127
  });
1070
- const g6 = /* @__PURE__ */ L(v6, [["__scopeId", "data-v-7d95dbf5"]]), M = $(g6), w6 = (i) => (E("data-v-170abcfc"), i = i(), W(), i), m6 = {
1128
+ const x6 = /* @__PURE__ */ T(z6, [["__scopeId", "data-v-7d95dbf5"]]), C = $(x6), k6 = (i) => (X("data-v-170abcfc"), i = i(), Y(), i), F6 = {
1071
1129
  key: 0,
1072
1130
  class: "preview-files"
1073
- }, _6 = {
1131
+ }, b6 = {
1074
1132
  class: "flex",
1075
1133
  style: { width: "80%", "align-items": "center" }
1076
- }, y6 = ["onClick"], z6 = ["title"], k6 = { style: { color: "#b8c6d9" } }, x6 = ["onClick"], F6 = /* @__PURE__ */ w6(() => /* @__PURE__ */ o(
1134
+ }, B6 = ["onClick"], V6 = ["title"], S6 = { style: { color: "#b8c6d9" } }, M6 = ["onClick"], C6 = /* @__PURE__ */ k6(() => /* @__PURE__ */ o(
1077
1135
  "span",
1078
1136
  null,
1079
1137
  "预览",
1080
1138
  -1
1081
1139
  /* HOISTED */
1082
- )), b6 = {
1140
+ )), $6 = {
1083
1141
  key: 1,
1084
1142
  class: "flex preview-img"
1085
- }, B6 = /* @__PURE__ */ B({
1143
+ }, H6 = /* @__PURE__ */ B({
1086
1144
  __name: "IKDetailPreviewFiles",
1087
1145
  props: {
1088
1146
  // 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
@@ -1112,78 +1170,78 @@ const g6 = /* @__PURE__ */ L(v6, [["__scopeId", "data-v-7d95dbf5"]]), M = $(g6),
1112
1170
  }
1113
1171
  },
1114
1172
  setup(i) {
1115
- const e = i, s = F(e.fileList);
1116
- N(
1173
+ const e = i, s = k(e.fileList);
1174
+ D(
1117
1175
  () => e.fileList,
1118
- (l) => {
1119
- l && (s.value = l);
1176
+ (t) => {
1177
+ t && (s.value = t);
1120
1178
  },
1121
1179
  { immediate: !0 }
1122
1180
  );
1123
- const a = F(!1), t = F({}), h = (l) => {
1124
- t.value = {
1125
- url: l.url,
1126
- name: l.name
1181
+ const n = k(!1), l = k({}), h = (t) => {
1182
+ l.value = {
1183
+ url: t.url,
1184
+ name: t.name
1127
1185
  // row.originName
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();
1186
+ }, n.value = !0;
1187
+ }, g = (t) => {
1188
+ var p, d, u, v, r;
1189
+ return (p = t == null ? void 0 : t.suffix) != null && p.includes("pdf") ? "iksvg_pdf" : (d = t == null ? void 0 : t.suffix) != null && d.includes("doc") ? "iksvg_word" : (u = t == null ? void 0 : t.suffix) != null && u.includes("xls") ? "iksvg_excel" : (v = t == null ? void 0 : t.suffix) != null && v.includes("mov") ? "iksvg_mov" : (r = t == null ? void 0 : t.suffix) != null && r.includes("zip") ? "iksvg_zip" : "icon-jpg";
1190
+ }, w = (t) => {
1191
+ var p, d, u, v, r;
1192
+ return (p = t == null ? void 0 : t.suffix) != null && p.includes("pdf") ? "#FA4E4E" : (d = t == null ? void 0 : t.suffix) != null && d.includes("doc") ? "#2c69e0" : (u = t.suffix) != null && u.includes("xls") ? "#39BFBF" : (v = t.suffix) != null && v.includes("txt") ? "#2c69e0" : (r = t.suffix) != null && r.includes("zip") ? "#FF9000" : "#32CD79";
1193
+ }, f = (t) => {
1194
+ const p = document.createElement("a");
1195
+ p.href = e3.assembleUrl(e.loadUrl, t.url), p.download = t.name, p.click();
1138
1196
  };
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(
1197
+ return (t, p) => {
1198
+ var u, v;
1199
+ const d = I("el-image");
1200
+ return c(), a("div", null, [
1201
+ e.fileType === "file" ? (c(), a("div", F6, [
1202
+ (c(!0), a(
1145
1203
  V,
1146
1204
  null,
1147
- C(s.value, (d, x) => (n(), c(
1205
+ H(s.value, (r, F) => (c(), a(
1148
1206
  "div",
1149
1207
  {
1150
- key: x,
1208
+ key: F,
1151
1209
  class: "files-item",
1152
- style: g({
1210
+ style: m({
1153
1211
  width: e.fileWidth,
1154
1212
  "margin-right": e.fileWidth === "100%" ? "0px" : ""
1155
1213
  })
1156
1214
  },
1157
1215
  [
1158
- o("div", _6, [
1159
- _(y(M), {
1160
- name: v(d),
1161
- style: g(`color:${w(d)}`),
1216
+ o("div", b6, [
1217
+ _(z(C), {
1218
+ name: g(r),
1219
+ style: m(`color:${w(r)}`),
1162
1220
  size: 36
1163
1221
  }, null, 8, ["name", "style"]),
1164
1222
  o("div", {
1165
1223
  class: "file-name",
1166
- onClick: (D) => z(d)
1224
+ onClick: (A) => f(r)
1167
1225
  }, [
1168
1226
  o("p", {
1169
- title: d.name
1170
- }, b(d.name), 9, z6),
1227
+ title: r.name
1228
+ }, b(r.name), 9, V6),
1171
1229
  o(
1172
1230
  "p",
1173
- k6,
1174
- b((d.size / 1024).toFixed(2)) + "KB",
1231
+ S6,
1232
+ b((r.size / 1024).toFixed(2)) + "KB",
1175
1233
  1
1176
1234
  /* TEXT */
1177
1235
  )
1178
- ], 8, y6)
1236
+ ], 8, B6)
1179
1237
  ]),
1180
1238
  o("div", {
1181
1239
  class: "file-preview",
1182
- onClick: (D) => h(d)
1240
+ onClick: (A) => h(r)
1183
1241
  }, [
1184
- _(y(M), { name: "iksvg_yulan" }),
1185
- F6
1186
- ], 8, x6)
1242
+ _(z(C), { name: "iksvg_yulan" }),
1243
+ C6
1244
+ ], 8, M6)
1187
1245
  ],
1188
1246
  4
1189
1247
  /* STYLE */
@@ -1192,18 +1250,18 @@ const g6 = /* @__PURE__ */ L(v6, [["__scopeId", "data-v-7d95dbf5"]]), M = $(g6),
1192
1250
  /* KEYED_FRAGMENT */
1193
1251
  ))
1194
1252
  ])) : S("v-if", !0),
1195
- e.fileType === "img" ? (n(), c("div", b6, [
1196
- (n(!0), c(
1253
+ e.fileType === "img" ? (c(), a("div", $6, [
1254
+ (c(!0), a(
1197
1255
  V,
1198
1256
  null,
1199
- C(s.value, (d, x) => (n(), c("div", {
1200
- key: x,
1257
+ H(s.value, (r, F) => (c(), a("div", {
1258
+ key: F,
1201
1259
  class: "preview-img"
1202
1260
  }, [
1203
- _(u, {
1261
+ _(d, {
1204
1262
  class: "show-img",
1205
- src: i.loadUrl + d.url,
1206
- "preview-src-list": [i.loadUrl + d.url],
1263
+ src: i.loadUrl + r.url,
1264
+ "preview-src-list": [i.loadUrl + r.url],
1207
1265
  fit: "cover"
1208
1266
  }, null, 8, ["src", "preview-src-list"])
1209
1267
  ]))),
@@ -1211,20 +1269,20 @@ const g6 = /* @__PURE__ */ L(v6, [["__scopeId", "data-v-7d95dbf5"]]), M = $(g6),
1211
1269
  /* KEYED_FRAGMENT */
1212
1270
  ))
1213
1271
  ])) : S("v-if", !0),
1214
- _(y(o6), {
1215
- modelValue: a.value,
1216
- "onUpdate:modelValue": r[0] || (r[0] = (d) => a.value = d),
1272
+ _(z(p6), {
1273
+ modelValue: n.value,
1274
+ "onUpdate:modelValue": p[0] || (p[0] = (r) => n.value = r),
1217
1275
  "load-url": e.loadUrl,
1218
- url: (p = t.value) == null ? void 0 : p.url,
1276
+ url: (u = l.value) == null ? void 0 : u.url,
1219
1277
  "kk-url": i.kkUrl,
1220
- "file-name": (f = t.value) == null ? void 0 : f.name
1278
+ "file-name": (v = l.value) == null ? void 0 : v.name
1221
1279
  }, null, 8, ["modelValue", "load-url", "url", "kk-url", "file-name"])
1222
1280
  ]);
1223
1281
  };
1224
1282
  }
1225
1283
  });
1226
- const V6 = /* @__PURE__ */ L(B6, [["__scopeId", "data-v-170abcfc"]]), $6 = $(V6);
1284
+ const I6 = /* @__PURE__ */ T(H6, [["__scopeId", "data-v-170abcfc"]]), j6 = $(I6);
1227
1285
  export {
1228
- $6 as IKDetailPreviewFiles,
1229
- $6 as default
1286
+ j6 as IKDetailPreviewFiles,
1287
+ j6 as default
1230
1288
  };