iking-web-ui-pro 0.2.5 → 0.2.7

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 (64) hide show
  1. package/dist/IKDetailPreviewFiles/ik.index.es.js +420 -417
  2. package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
  3. package/dist/IKDetailPreviewFiles/style.css +1 -1
  4. package/dist/IKExpandCollapse/ik.index.es.js +124 -121
  5. package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
  6. package/dist/IKExpandCollapse/style.css +1 -1
  7. package/dist/IKPreviewFile/ik.index.es.js +359 -356
  8. package/dist/IKPreviewFile/ik.index.umd.js +1 -1
  9. package/dist/IKPreviewFile/style.css +1 -1
  10. package/dist/IKVerticalStepBar/ik.index.es.js +142 -139
  11. package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
  12. package/dist/IKVerticalStepBar/style.css +1 -1
  13. package/dist/IkApprovalProcessDetail/ik.index.es.js +565 -562
  14. package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
  15. package/dist/IkApprovalProcessDetail/style.css +1 -1
  16. package/dist/IkBaseDialog/ik.index.es.js +126 -123
  17. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  18. package/dist/IkBaseDialog/style.css +1 -1
  19. package/dist/IkBtnSetting/ik.index.es.js +253 -250
  20. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  21. package/dist/IkBtnSetting/style.css +1 -1
  22. package/dist/IkCollapseCard/ik.index.es.js +130 -127
  23. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  24. package/dist/IkCollapseCard/style.css +1 -1
  25. package/dist/IkDescription/ik.index.es.js +361 -358
  26. package/dist/IkDescription/ik.index.umd.js +1 -1
  27. package/dist/IkDescription/style.css +1 -1
  28. package/dist/IkIconPicker/ik.index.es.js +197 -194
  29. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  30. package/dist/IkIconPicker/style.css +1 -1
  31. package/dist/IkMonacoEditor/ik.index.es.js +398 -395
  32. package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
  33. package/dist/IkMonacoEditor/style.css +1 -1
  34. package/dist/IkPageFull/ik.index.es.js +1124 -1121
  35. package/dist/IkPageFull/ik.index.umd.js +2 -2
  36. package/dist/IkPageFull/style.css +1 -1
  37. package/dist/IkPreviewFileDialog/ik.index.es.js +294 -291
  38. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  39. package/dist/IkPreviewFileDialog/style.css +1 -1
  40. package/dist/IkSchedule/ik.index.es.js +969 -966
  41. package/dist/IkSchedule/ik.index.umd.js +1 -1
  42. package/dist/IkSchedule/style.css +1 -1
  43. package/dist/IkSideText/ik.index.es.js +147 -144
  44. package/dist/IkSideText/ik.index.umd.js +1 -1
  45. package/dist/IkSideText/style.css +1 -1
  46. package/dist/IkSvgIcon/ik.index.es.js +107 -104
  47. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  48. package/dist/IkSvgIcon/style.css +1 -1
  49. package/dist/IkUploadFile/ik.index.es.js +531 -527
  50. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  51. package/dist/IkUploadFile/style.css +1 -1
  52. package/dist/IkUploadImage/ik.index.es.js +278 -275
  53. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  54. package/dist/IkUploadImage/style.css +1 -1
  55. package/dist/Provider/ik.index.es.js +50 -46
  56. package/dist/Provider/ik.index.umd.js +5 -5
  57. package/dist/index.es.js +7053 -7045
  58. package/dist/index.umd.js +37 -37
  59. package/dist/src/components/IkSvgIcon/index.d.ts +0 -3
  60. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +0 -3
  61. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +9 -0
  62. package/dist/src/components/Provider/index.d.ts +19 -0
  63. package/dist/style.css +1 -1
  64. package/package.json +1 -1
@@ -1,39 +1,39 @@
1
- import { inject as E, computed as k, defineComponent as x, openBlock as d, createElementBlock as f, createElementVNode as c, ref as S, Fragment as O, renderList as P, normalizeClass as C, normalizeStyle as F, createVNode as z, toDisplayString as I, unref as y, withModifiers as J, renderSlot as H, createCommentVNode as V, mergeModels as K, useModel as G, reactive as Q, watch as X, nextTick as e3, resolveComponent as A, createBlock as $, withCtx as B, createTextVNode as L, h as t3, mergeProps as n3, createSlots as o3, pushScopeId as i3, popScopeId as s3 } from "vue";
2
- import { paramType as l3, ikFile as a3, buildUUID as c3, ikColor as r3, ikUrl as d3 } from "iking-utils-pro";
3
- const D = (t, e) => {
1
+ import { inject as $, computed as x, defineComponent as F, openBlock as u, createElementBlock as f, createElementVNode as c, ref as S, Fragment as O, renderList as P, normalizeClass as C, normalizeStyle as z, createVNode as k, toDisplayString as B, unref as w, withModifiers as J, renderSlot as H, createCommentVNode as V, mergeModels as K, useModel as G, reactive as Q, watch as X, nextTick as e3, resolveComponent as A, createBlock as D, withCtx as I, createTextVNode as L, h as t3, mergeProps as n3, createSlots as o3, pushScopeId as i3, popScopeId as l3 } from "vue";
2
+ import { paramType as s3, ikFile as a3, buildUUID as c3, ikColor as r3, ikUrl as u3 } from "iking-utils-pro";
3
+ const M = (t, n) => {
4
4
  if (t.install = (i) => {
5
- for (const l of [t, ...Object.values(e ?? {})])
6
- i.component(l.name, l);
7
- }, e)
8
- for (const [i, l] of Object.entries(e))
9
- t[i] = l;
5
+ for (const e of [t, ...Object.values(n ?? {})])
6
+ i.component(e.name, e);
7
+ }, n)
8
+ for (const [i, e] of Object.entries(n))
9
+ t[i] = e;
10
10
  return t;
11
- }, T = (t, e) => {
11
+ }, T = (t, n) => {
12
12
  const i = t.__vccOpts || t;
13
- for (const [l, n] of e)
14
- i[l] = n;
13
+ for (const [e, a] of n)
14
+ i[e] = a;
15
15
  return i;
16
- }, u3 = (t, e = 2) => {
16
+ }, d3 = (t, n = 2) => {
17
17
  if (t === void 0)
18
18
  return "";
19
19
  if (t === 0)
20
20
  return "0 B";
21
- const i = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(t) / Math.log(1024));
22
- let n = t / Math.pow(1024, l);
23
- return (n % 1 === 0 ? n.toFixed(e || 0) : n.toFixed(e)) + " " + i[l];
24
- }, U = (t, e) => e ? e.startsWith("http") ? e : `${t || location.origin}${e}` : "";
21
+ const i = ["B", "KB", "MB", "GB", "TB"], e = Math.floor(Math.log(t) / Math.log(1024));
22
+ let a = t / Math.pow(1024, e);
23
+ return (a % 1 === 0 ? a.toFixed(n || 0) : a.toFixed(n)) + " " + i[e];
24
+ }, U = (t, n) => n ? n.startsWith("http") ? n : `${t || location.origin}${n}` : "";
25
25
  const f3 = (t) => {
26
- const e = E("loadUrl"), i = k(() => t.loadUrl || (e == null ? void 0 : e.value)), l = E("uploadUrl"), n = k(() => t.action || t.uploadUrl || (l == null ? void 0 : l.value)), s = E("token"), a = k(() => t.token || (s == null ? void 0 : s.value)), h = E("onlyofficeConfig"), v = k(() => t.onlyofficeConfig || (h == null ? void 0 : h.value)), o = E("userInfo"), u = k(() => t.userInfo || (o == null ? void 0 : o.value));
26
+ const n = $("loadUrl"), i = x(() => t.loadUrl || (n == null ? void 0 : n.value)), e = $("uploadUrl"), a = x(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), l = $("token"), s = x(() => t.token || (l == null ? void 0 : l.value)), p = $("onlyofficeConfig"), h = x(() => t.onlyofficeConfig || (p == null ? void 0 : p.value)), o = $("userInfo"), d = x(() => t.userInfo || (o == null ? void 0 : o.value));
27
27
  return {
28
28
  cLoadUrl: i,
29
- cUploadUrl: n,
30
- cToken: a,
31
- cOnlyofficeConfig: v,
32
- cUserInfo: u
29
+ cUploadUrl: a,
30
+ cToken: s,
31
+ cOnlyofficeConfig: h,
32
+ cUserInfo: d
33
33
  };
34
- }, p3 = f3, Y = (t, e) => {
35
- var s, a, h, v;
36
- const i = (s = t == null ? void 0 : t.response) != null && s.data ? N((h = (a = t == null ? void 0 : t.response) == null ? void 0 : a.data) == null ? void 0 : h.suffix) : ((v = t.raw) == null ? void 0 : v.type) || N(t[e.suffix]), l = i == null ? void 0 : i.toLowerCase(), n = {
34
+ }, v3 = f3, Y = (t, n) => {
35
+ var l, s, p, h;
36
+ const i = (l = t == null ? void 0 : t.response) != null && l.data ? N((p = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : p.suffix) : ((h = t.raw) == null ? void 0 : h.type) || N(t[n.suffix]), e = i == null ? void 0 : i.toLowerCase(), a = {
37
37
  sheet: "excel",
38
38
  excel: "excel",
39
39
  zip: "zip",
@@ -49,11 +49,11 @@ const f3 = (t) => {
49
49
  exe: "exe",
50
50
  json: "json"
51
51
  };
52
- for (let o in n)
53
- if (typeof l == "string" && (l.includes(o) || l === o))
54
- return n[o];
52
+ for (let o in a)
53
+ if (typeof e == "string" && (e.includes(o) || e === o))
54
+ return a[o];
55
55
  return "unknown";
56
- }, h3 = {
56
+ }, p3 = {
57
57
  ".doc": "word",
58
58
  ".docx": "word",
59
59
  ".docxf": "word",
@@ -139,11 +139,11 @@ const f3 = (t) => {
139
139
  ".txt": "txt",
140
140
  ".pdf": "pdf"
141
141
  }, N = (t) => {
142
- const e = t == null ? void 0 : t.toLocaleLowerCase(), i = e != null && e.startsWith(".") ? e : `.${e}`;
143
- return i && h3[i] || "unknow";
144
- }, v3 = (t) => {
145
- let e = "", i = ["doc", "docx"], l = ["xls", "xlsx"], n = ["ppt", "pptx"], s = ["pdf"];
146
- return i.includes(t) && (e = "word"), l.includes(t) && (e = "cell"), n.includes(t) && (e = "slide"), s.includes(t) && (e = "text-pdf"), e;
142
+ const n = t == null ? void 0 : t.toLocaleLowerCase(), i = n != null && n.startsWith(".") ? n : `.${n}`;
143
+ return i && p3[i] || "unknow";
144
+ }, h3 = (t) => {
145
+ let n = "", i = ["doc", "docx"], e = ["xls", "xlsx"], a = ["ppt", "pptx"], l = ["pdf"];
146
+ return i.includes(t) && (n = "word"), e.includes(t) && (n = "cell"), a.includes(t) && (n = "slide"), l.includes(t) && (n = "text-pdf"), n;
147
147
  }, g3 = {
148
148
  key: 0,
149
149
  t: "1686300059786",
@@ -154,7 +154,7 @@ const f3 = (t) => {
154
154
  "p-id": "7671",
155
155
  width: "200",
156
156
  height: "200"
157
- }, m3 = /* @__PURE__ */ c(
157
+ }, _3 = /* @__PURE__ */ c(
158
158
  "path",
159
159
  {
160
160
  d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
@@ -164,7 +164,7 @@ const f3 = (t) => {
164
164
  null,
165
165
  -1
166
166
  /* HOISTED */
167
- ), w3 = /* @__PURE__ */ c(
167
+ ), m3 = /* @__PURE__ */ c(
168
168
  "path",
169
169
  {
170
170
  d: "M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",
@@ -174,7 +174,7 @@ const f3 = (t) => {
174
174
  null,
175
175
  -1
176
176
  /* HOISTED */
177
- ), y3 = /* @__PURE__ */ c(
177
+ ), w3 = /* @__PURE__ */ c(
178
178
  "path",
179
179
  {
180
180
  d: "M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",
@@ -184,7 +184,7 @@ const f3 = (t) => {
184
184
  null,
185
185
  -1
186
186
  /* HOISTED */
187
- ), _3 = /* @__PURE__ */ c(
187
+ ), y3 = /* @__PURE__ */ c(
188
188
  "path",
189
189
  {
190
190
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -194,12 +194,12 @@ const f3 = (t) => {
194
194
  null,
195
195
  -1
196
196
  /* HOISTED */
197
- ), k3 = [
197
+ ), x3 = [
198
+ _3,
198
199
  m3,
199
200
  w3,
200
- y3,
201
- _3
202
- ], z3 = {
201
+ y3
202
+ ], k3 = {
203
203
  key: 1,
204
204
  t: "1686301531714",
205
205
  class: "icon",
@@ -209,7 +209,7 @@ const f3 = (t) => {
209
209
  "p-id": "9067",
210
210
  width: "200",
211
211
  height: "200"
212
- }, F3 = /* @__PURE__ */ c(
212
+ }, z3 = /* @__PURE__ */ c(
213
213
  "path",
214
214
  {
215
215
  d: "M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",
@@ -219,7 +219,7 @@ const f3 = (t) => {
219
219
  null,
220
220
  -1
221
221
  /* HOISTED */
222
- ), x3 = /* @__PURE__ */ c(
222
+ ), F3 = /* @__PURE__ */ c(
223
223
  "path",
224
224
  {
225
225
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -230,8 +230,8 @@ const f3 = (t) => {
230
230
  -1
231
231
  /* HOISTED */
232
232
  ), b3 = [
233
- F3,
234
- x3
233
+ z3,
234
+ F3
235
235
  ], S3 = {
236
236
  key: 2,
237
237
  t: "1686300141125",
@@ -262,10 +262,10 @@ const f3 = (t) => {
262
262
  null,
263
263
  -1
264
264
  /* HOISTED */
265
- ), B3 = [
265
+ ), I3 = [
266
266
  C3,
267
267
  V3
268
- ], I3 = {
268
+ ], B3 = {
269
269
  key: 3,
270
270
  t: "1686300157181",
271
271
  class: "icon",
@@ -516,7 +516,7 @@ const f3 = (t) => {
516
516
  null,
517
517
  -1
518
518
  /* HOISTED */
519
- ), s6 = /* @__PURE__ */ c(
519
+ ), l6 = /* @__PURE__ */ c(
520
520
  "path",
521
521
  {
522
522
  d: "M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",
@@ -526,11 +526,11 @@ const f3 = (t) => {
526
526
  null,
527
527
  -1
528
528
  /* HOISTED */
529
- ), l6 = [
529
+ ), s6 = [
530
530
  n6,
531
531
  o6,
532
532
  i6,
533
- s6
533
+ l6
534
534
  ], a6 = {
535
535
  key: 10,
536
536
  t: "1714099890925",
@@ -562,7 +562,7 @@ const f3 = (t) => {
562
562
  null,
563
563
  -1
564
564
  /* HOISTED */
565
- ), d6 = /* @__PURE__ */ c(
565
+ ), u6 = /* @__PURE__ */ c(
566
566
  "path",
567
567
  {
568
568
  d: "M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",
@@ -572,10 +572,10 @@ const f3 = (t) => {
572
572
  null,
573
573
  -1
574
574
  /* HOISTED */
575
- ), u6 = [
575
+ ), d6 = [
576
576
  c6,
577
577
  r6,
578
- d6
578
+ u6
579
579
  ], f6 = {
580
580
  key: 11,
581
581
  t: "1686300037564",
@@ -586,7 +586,7 @@ const f3 = (t) => {
586
586
  "p-id": "7515",
587
587
  width: "200",
588
588
  height: "200"
589
- }, p6 = /* @__PURE__ */ c(
589
+ }, v6 = /* @__PURE__ */ c(
590
590
  "path",
591
591
  {
592
592
  d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
@@ -596,7 +596,7 @@ const f3 = (t) => {
596
596
  null,
597
597
  -1
598
598
  /* HOISTED */
599
- ), h6 = /* @__PURE__ */ c(
599
+ ), p6 = /* @__PURE__ */ c(
600
600
  "path",
601
601
  {
602
602
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -606,7 +606,7 @@ const f3 = (t) => {
606
606
  null,
607
607
  -1
608
608
  /* HOISTED */
609
- ), v6 = /* @__PURE__ */ c(
609
+ ), h6 = /* @__PURE__ */ c(
610
610
  "path",
611
611
  {
612
612
  d: "M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",
@@ -617,10 +617,10 @@ const f3 = (t) => {
617
617
  -1
618
618
  /* HOISTED */
619
619
  ), g6 = [
620
+ v6,
620
621
  p6,
621
- h6,
622
- v6
623
- ], m6 = /* @__PURE__ */ x({
622
+ h6
623
+ ], _6 = /* @__PURE__ */ F({
624
624
  __name: "FileIcon",
625
625
  props: {
626
626
  type: {
@@ -641,10 +641,10 @@ const f3 = (t) => {
641
641
  }
642
642
  },
643
643
  setup(t) {
644
- const e = t, i = k(() => e.file ? Y(e.file, e.fields) : e.type);
645
- return (l, n) => i.value === "image" ? (d(), f("svg", g3, k3)) : i.value === "zip" ? (d(), f("svg", z3, b3)) : i.value === "ppt" ? (d(), f("svg", S3, B3)) : i.value === "word" ? (d(), f("svg", I3, D3)) : i.value === "pdf" ? (d(), f("svg", M3, H3)) : i.value === "txt" ? (d(), f("svg", O3, T3)) : i.value === "audio" ? (d(), f("svg", P3, N3)) : i.value === "video" ? (d(), f("svg", W3, X3)) : i.value === "excel" ? (d(), f("svg", Y3, e6)) : i.value === "exe" ? (d(), f("svg", t6, l6)) : i.value === "json" ? (d(), f("svg", a6, u6)) : (d(), f("svg", f6, g6));
644
+ const n = t, i = x(() => n.file ? Y(n.file, n.fields) : n.type);
645
+ return (e, a) => i.value === "image" ? (u(), f("svg", g3, x3)) : i.value === "zip" ? (u(), f("svg", k3, b3)) : i.value === "ppt" ? (u(), f("svg", S3, I3)) : i.value === "word" ? (u(), f("svg", B3, D3)) : i.value === "pdf" ? (u(), f("svg", M3, H3)) : i.value === "txt" ? (u(), f("svg", O3, T3)) : i.value === "audio" ? (u(), f("svg", P3, N3)) : i.value === "video" ? (u(), f("svg", W3, X3)) : i.value === "excel" ? (u(), f("svg", Y3, e6)) : i.value === "exe" ? (u(), f("svg", t6, s6)) : i.value === "json" ? (u(), f("svg", a6, d6)) : (u(), f("svg", f6, g6));
646
646
  }
647
- }), w6 = ["onClick"], y6 = { class: "text" }, _6 = { class: "fileName" }, k6 = { class: "size" }, z6 = /* @__PURE__ */ x({
647
+ }), m6 = ["onClick"], w6 = { class: "text" }, y6 = { class: "fileName" }, x6 = { class: "size" }, k6 = /* @__PURE__ */ F({
648
648
  __name: "IkPreviewFile",
649
649
  props: {
650
650
  list: {
@@ -714,80 +714,80 @@ const f3 = (t) => {
714
714
  }
715
715
  },
716
716
  setup(t) {
717
- const e = t, { cLoadUrl: i, cOnlyofficeConfig: l } = p3(e), n = k(() => ({
717
+ const n = t, { cLoadUrl: i, cOnlyofficeConfig: e } = v3(n), a = x(() => ({
718
718
  name: "name",
719
719
  url: "url",
720
720
  suffix: "suffix",
721
721
  size: "size",
722
- ...e.field
723
- })), s = S({}), a = S(!1), h = (r) => {
724
- var g, m;
725
- s.value = {
722
+ ...n.field
723
+ })), l = S({}), s = S(!1), p = (r) => {
724
+ var g, _;
725
+ l.value = {
726
726
  ...r,
727
727
  name: r.name,
728
728
  url: U(
729
729
  i.value,
730
- r.url || ((m = (g = r == null ? void 0 : r.response) == null ? void 0 : g.data) == null ? void 0 : m.id) || (r == null ? void 0 : r.id)
730
+ r.url || ((_ = (g = r == null ? void 0 : r.response) == null ? void 0 : g.data) == null ? void 0 : _.id) || (r == null ? void 0 : r.id)
731
731
  )
732
- }, a.value = !0;
733
- }, v = (r) => {
732
+ }, s.value = !0;
733
+ }, h = (r) => {
734
734
  a3.downloadFile(
735
735
  U(
736
736
  i.value,
737
- r[n.value.url] || r.attachmentId || r.id
737
+ r[a.value.url] || r.attachmentId || r.id
738
738
  ),
739
- r[n.value.name] || r.attachmentName
739
+ r[a.value.name] || r.attachmentName
740
740
  );
741
- }, o = k(() => l3.isNumber(e.width) ? `${e.width}px` : e.width), u = k(() => e.list.map((r) => ({
741
+ }, o = x(() => s3.isNumber(n.width) ? `${n.width}px` : n.width), d = x(() => n.list.map((r) => ({
742
742
  ...r,
743
- name: r[n.value.name] || r.attachmentName,
744
- size: r[n.value.size] || r.fileSize || r.attachmentSize,
745
- suffix: r[n.value.suffix] || r.attachmentSuffix
743
+ name: r[a.value.name] || r.attachmentName,
744
+ size: r[a.value.size] || r.fileSize || r.attachmentSize,
745
+ suffix: r[a.value.suffix] || r.attachmentSuffix
746
746
  })));
747
747
  return (r, g) => {
748
- var m, p, b;
749
- return d(), f(
748
+ var _, v, b;
749
+ return u(), f(
750
750
  O,
751
751
  null,
752
752
  [
753
- (m = t.list) != null && m.length ? (d(!0), f(
753
+ (_ = t.list) != null && _.length ? (u(!0), f(
754
754
  O,
755
755
  { key: 0 },
756
- P(u.value, (_, w) => {
757
- var M;
758
- return d(), f(
756
+ P(d.value, (y, m) => {
757
+ var q;
758
+ return u(), f(
759
759
  "div",
760
760
  {
761
761
  class: C(["iking-privew-annex", { "is-bg": t.showBg }]),
762
- key: w,
763
- style: F({
764
- marginBottom: w == ((M = t.list) == null ? void 0 : M.length) - 1 ? "0" : "10px",
762
+ key: m,
763
+ style: z({
764
+ marginBottom: m == ((q = t.list) == null ? void 0 : q.length) - 1 ? "0" : "10px",
765
765
  width: o.value
766
766
  })
767
767
  },
768
768
  [
769
769
  c("div", {
770
770
  class: "file-card",
771
- onClick: (q) => h(_)
771
+ onClick: (E) => p(y)
772
772
  }, [
773
- z(m6, {
774
- file: _,
775
- style: F({ height: `${t.iconSize}px` }),
773
+ k(_6, {
774
+ file: y,
775
+ style: z({ height: `${t.iconSize}px` }),
776
776
  class: "ikui-w-auto",
777
- fields: n.value
777
+ fields: a.value
778
778
  }, null, 8, ["file", "style", "fields"]),
779
- c("div", y6, [
779
+ c("div", w6, [
780
780
  c(
781
781
  "div",
782
- _6,
783
- I(_.name),
782
+ y6,
783
+ B(y.name),
784
784
  1
785
785
  /* TEXT */
786
786
  ),
787
787
  c(
788
788
  "div",
789
- k6,
790
- I(y(u3)(_.size)),
789
+ x6,
790
+ B(w(d3)(y.size)),
791
791
  1
792
792
  /* TEXT */
793
793
  )
@@ -798,25 +798,25 @@ const f3 = (t) => {
798
798
  class: C(["flex flex-center", { "hover-show": t.iconHoverShow }])
799
799
  },
800
800
  [
801
- z(y(R), {
801
+ k(w(R), {
802
802
  name: "iksvg_daochu",
803
- onClick: J((q) => v(_), ["stop"]),
803
+ onClick: J((E) => h(y), ["stop"]),
804
804
  bg: t.showBg,
805
805
  size: t.showBg ? "default" : 20
806
806
  }, null, 8, ["onClick", "bg", "size"]),
807
- z(y(R), {
807
+ k(w(R), {
808
808
  name: "iksvg_yulan",
809
809
  bg: t.showBg,
810
810
  size: t.showBg ? "default" : 20
811
811
  }, null, 8, ["bg", "size"]),
812
812
  H(r.$slots, "operation", {
813
- data: { ..._, findex: w }
813
+ data: { ...y, findex: m }
814
814
  })
815
815
  ],
816
816
  2
817
817
  /* CLASS */
818
818
  )
819
- ], 8, w6)
819
+ ], 8, m6)
820
820
  ],
821
821
  6
822
822
  /* CLASS, STYLE */
@@ -825,14 +825,14 @@ const f3 = (t) => {
825
825
  128
826
826
  /* KEYED_FRAGMENT */
827
827
  )) : V("v-if", !0),
828
- z(y(b6), {
829
- show: a.value,
830
- "onUpdate:show": g[0] || (g[0] = (_) => a.value = _),
831
- loadUrl: y(i),
832
- file: s.value,
833
- onlyofficeServer: ((p = y(l)) == null ? void 0 : p.serverUrl) || t.onlyofficeServer,
834
- onlyOfficeConfig: y(l),
835
- onlyOfficeAccept: ((b = y(l)) == null ? void 0 : b.accept) || t.onlyOfficeAccept
828
+ k(w(b6), {
829
+ show: s.value,
830
+ "onUpdate:show": g[0] || (g[0] = (y) => s.value = y),
831
+ loadUrl: w(i),
832
+ file: l.value,
833
+ onlyofficeServer: ((v = w(e)) == null ? void 0 : v.serverUrl) || t.onlyofficeServer,
834
+ onlyOfficeConfig: w(e),
835
+ onlyOfficeAccept: ((b = w(e)) == null ? void 0 : b.accept) || t.onlyOfficeAccept
836
836
  }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
837
837
  ],
838
838
  64
@@ -841,7 +841,7 @@ const f3 = (t) => {
841
841
  };
842
842
  }
843
843
  });
844
- const F6 = D(z6), x6 = /* @__PURE__ */ x({
844
+ const z6 = M(k6), F6 = /* @__PURE__ */ F({
845
845
  __name: "IkPreviewFileDialog",
846
846
  props: /* @__PURE__ */ K({
847
847
  file: {
@@ -878,34 +878,34 @@ const F6 = D(z6), x6 = /* @__PURE__ */ x({
878
878
  }),
879
879
  emits: ["update:show"],
880
880
  setup(t) {
881
- const e = t, i = G(t, "show"), l = k(() => ({
881
+ const n = t, i = G(t, "show"), e = x(() => ({
882
882
  name: "name",
883
883
  url: "url",
884
884
  suffix: "suffix",
885
885
  size: "fileSize",
886
- ...e.field
887
- })), n = S(null), s = S(null), a = Q({
886
+ ...n.field
887
+ })), a = S(null), l = S(null), s = Q({
888
888
  image: !1,
889
889
  office: !1,
890
890
  video: !1
891
- }), h = (o) => {
892
- var u, r, g, m, p, b, _;
891
+ }), p = (o) => {
892
+ var d, r, g, _, v, b, y;
893
893
  try {
894
- const w = ((u = o == null ? void 0 : o.response) == null ? void 0 : u.data) || o, M = w[l.value.url] || (w == null ? void 0 : w.id) || w.attachmentId, q = (r = w[l.value.suffix] || w.attachmentSuffix) == null ? void 0 : r.toLowerCase(), Z = w[l.value.name] || (w == null ? void 0 : w.attachmentName) || (w == null ? void 0 : w.originName);
895
- if (s.value = {
894
+ const m = ((d = o == null ? void 0 : o.response) == null ? void 0 : d.data) || o, q = m[e.value.url] || (m == null ? void 0 : m.id) || m.attachmentId, E = (r = m[e.value.suffix] || m.attachmentSuffix) == null ? void 0 : r.toLowerCase(), Z = m[e.value.name] || (m == null ? void 0 : m.attachmentName) || (m == null ? void 0 : m.originName);
895
+ if (l.value = {
896
896
  ...o,
897
- name: o[l.value.name],
898
- url: U(e.loadUrl, M)
899
- }, o && Y(o, l.value) === "image") {
900
- a.image = !0;
897
+ name: o[e.value.name],
898
+ url: U(n.loadUrl, q)
899
+ }, o && Y(o, e.value) === "image") {
900
+ s.image = !0;
901
901
  return;
902
- } else if ((((g = e.onlyOfficeConfig) == null ? void 0 : g.accept) || e.onlyOfficeAccept).includes(q)) {
903
- a.office = !0, n.value = {
904
- ...e.onlyOfficeConfig,
902
+ } else if ((((g = n.onlyOfficeConfig) == null ? void 0 : g.accept) || n.onlyOfficeAccept).includes(E)) {
903
+ s.office = !0, a.value = {
904
+ ...n.onlyOfficeConfig,
905
905
  editorConfig: {
906
- ...((m = e.onlyOfficeConfig) == null ? void 0 : m.editorConfig) || {},
906
+ ...((_ = n.onlyOfficeConfig) == null ? void 0 : _.editorConfig) || {},
907
907
  customization: {
908
- ...((b = (p = e.onlyOfficeConfig) == null ? void 0 : p.editorConfig) == null ? void 0 : b.customization) || {},
908
+ ...((b = (v = n.onlyOfficeConfig) == null ? void 0 : v.editorConfig) == null ? void 0 : b.customization) || {},
909
909
  review: {
910
910
  reviewDisplay: "final"
911
911
  }
@@ -914,45 +914,45 @@ const F6 = D(z6), x6 = /* @__PURE__ */ x({
914
914
  document: {
915
915
  key: c3(),
916
916
  title: Z,
917
- url: U(e.loadUrl, M),
918
- fileType: q,
919
- ...((_ = e.onlyOfficeConfig) == null ? void 0 : _.document) || {}
917
+ url: U(n.loadUrl, q),
918
+ fileType: E,
919
+ ...((y = n.onlyOfficeConfig) == null ? void 0 : y.document) || {}
920
920
  },
921
- documentType: v3(q)
921
+ documentType: h3(E)
922
922
  };
923
923
  return;
924
924
  }
925
- } catch (w) {
926
- console.info("预览错误: ", w);
925
+ } catch (m) {
926
+ console.info("预览错误: ", m);
927
927
  }
928
928
  };
929
- X([i, e.file], ([o, u]) => {
929
+ X([i, n.file], ([o, d]) => {
930
930
  o && e3(() => {
931
- h(e.file);
931
+ p(n.file);
932
932
  });
933
933
  });
934
- const v = () => {
935
- i.value = !1, a.office = !1, a.image = !1, a.video = !1;
934
+ const h = () => {
935
+ i.value = !1, s.office = !1, s.image = !1, s.video = !1;
936
936
  };
937
- return (o, u) => {
938
- var g, m;
937
+ return (o, d) => {
938
+ var g, _;
939
939
  const r = A("el-image-viewer");
940
- return i.value ? (d(), f(
940
+ return i.value ? (u(), f(
941
941
  O,
942
942
  { key: 0 },
943
943
  [
944
- (g = s.value) != null && g.url && a.image ? (d(), $(r, {
944
+ (g = l.value) != null && g.url && s.image ? (u(), D(r, {
945
945
  key: 0,
946
- onClose: u[0] || (u[0] = (p) => {
947
- s.value = null, a.image = !1;
946
+ onClose: d[0] || (d[0] = (v) => {
947
+ l.value = null, s.image = !1;
948
948
  }),
949
949
  ref: "previewImgRef",
950
- "url-list": [(m = s.value) == null ? void 0 : m.url]
950
+ "url-list": [(_ = l.value) == null ? void 0 : _.url]
951
951
  }, null, 8, ["url-list"])) : V("v-if", !0),
952
952
  V(" 文档类 "),
953
- z(y(U6), {
954
- modelValue: a.office,
955
- "onUpdate:modelValue": u[1] || (u[1] = (p) => a.office = p),
953
+ k(w(U6), {
954
+ modelValue: s.office,
955
+ "onUpdate:modelValue": d[1] || (d[1] = (v) => s.office = v),
956
956
  draggable: "",
957
957
  "no-footer": "",
958
958
  "no-header": "",
@@ -962,15 +962,15 @@ const F6 = D(z6), x6 = /* @__PURE__ */ x({
962
962
  "close-on-click-modal": "",
963
963
  "close-on-press-escape": !1,
964
964
  "append-to-body": "",
965
- onClose: v,
965
+ onClose: h,
966
966
  "modal-class": "ik-only-preview-dialog"
967
967
  }, {
968
- default: B(() => {
969
- var p;
968
+ default: I(() => {
969
+ var v;
970
970
  return [
971
- z(y(G6), {
972
- "config-options": n.value,
973
- "document-server-url": ((p = t.onlyOfficeConfig) == null ? void 0 : p.serverUrl) || t.onlyofficeServer
971
+ k(w(G6), {
972
+ "config-options": a.value,
973
+ "document-server-url": ((v = t.onlyOfficeConfig) == null ? void 0 : v.serverUrl) || t.onlyofficeServer
974
974
  }, null, 8, ["config-options", "document-server-url"])
975
975
  ];
976
976
  }),
@@ -984,18 +984,18 @@ const F6 = D(z6), x6 = /* @__PURE__ */ x({
984
984
  };
985
985
  }
986
986
  });
987
- const b6 = D(x6), S6 = {
987
+ const b6 = M(F6), S6 = {
988
988
  key: 0,
989
989
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
990
990
  }, C6 = {
991
991
  key: 1,
992
992
  class: "h-[1em] w-[1em]",
993
993
  "aria-hidden": "true"
994
- }, V6 = ["xlink:href"], B6 = ["src"], I6 = {
994
+ }, V6 = ["xlink:href"], I6 = ["src"], B6 = {
995
995
  key: 1,
996
996
  class: "h-[1em] w-[1em]",
997
997
  "aria-hidden": "true"
998
- }, R6 = ["xlink:href"], $6 = ["src"], D6 = /* @__PURE__ */ x({
998
+ }, R6 = ["xlink:href"], $6 = ["src"], D6 = /* @__PURE__ */ F({
999
999
  name: "IkSvgIcon",
1000
1000
  __name: "index",
1001
1001
  props: {
@@ -1019,87 +1019,90 @@ const b6 = D(x6), S6 = {
1019
1019
  type: {},
1020
1020
  active: { type: Boolean, default: !1 },
1021
1021
  disabled: { type: Boolean, default: !1 },
1022
- tableIconType: { default: "icon" }
1022
+ tableIconType: {}
1023
1023
  },
1024
1024
  setup(t) {
1025
- const e = t, i = k(() => {
1026
- var n, s, a;
1027
- return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (n = e.name) != null && n.startsWith("iksig") ? "iksig" : (s = e.name) != null && s.includes(":") ? "iconify" : (a = e.name) != null && a.startsWith("iksvg") ? "svg" : "i";
1028
- }), l = k(() => {
1029
- const n = [];
1030
- if (e.flip)
1031
- switch (e.flip) {
1025
+ const n = t, i = $("iconConfig"), e = x(() => ({
1026
+ ...(i == null ? void 0 : i.value) || {},
1027
+ ...n
1028
+ })), a = x(() => {
1029
+ const { name: s } = e.value;
1030
+ return /^http?:\/\//.test(s) ? "img" : /i-[^:]+:[^:]+/.test(s) ? "unocss" : s != null && s.startsWith("iksig") ? "iksig" : s != null && s.includes(":") ? "iconify" : s != null && s.startsWith("iksvg") ? "svg" : "i";
1031
+ }), l = x(() => {
1032
+ const s = [];
1033
+ if (e.value.flip)
1034
+ switch (e.value.flip) {
1032
1035
  case "horizontal":
1033
- n.push("rotateY(180deg)");
1036
+ s.push("rotateY(180deg)");
1034
1037
  break;
1035
1038
  case "vertical":
1036
- n.push("rotateX(180deg)");
1039
+ s.push("rotateX(180deg)");
1037
1040
  break;
1038
1041
  case "both":
1039
- n.push("rotateX(180deg)"), n.push("rotateY(180deg)");
1042
+ s.push("rotateX(180deg)"), s.push("rotateY(180deg)");
1040
1043
  break;
1041
1044
  }
1042
- e.rotate && n.push(`rotate(${e.rotate % 360}deg)`);
1043
- const s = {
1044
- ...e.color && { color: e.color },
1045
- ...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
1046
- ...n.length && { transform: n.join(" ") },
1047
- padding: e.showBg || e.bg ? e.padding : 0,
1048
- ...e.color && i.value !== "iksig" ? {
1049
- "--ik-color-icon-dark": e.color,
1050
- "--ik-color-icon-light": e.colorLight || r3.setOpacity(e.color, e.opacity)
1045
+ e.value.rotate && s.push(`rotate(${e.value.rotate % 360}deg)`);
1046
+ const p = {
1047
+ ...e.value.color && { color: e.value.color },
1048
+ ...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
1049
+ ...s.length && { transform: s.join(" ") },
1050
+ padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
1051
+ ...e.value.color && a.value !== "iksig" ? {
1052
+ "--ik-color-icon-dark": e.value.color,
1053
+ "--ik-color-icon-light": e.value.colorLight || r3.setOpacity(e.value.color, e.value.opacity)
1051
1054
  } : {}
1052
1055
  };
1053
- return e.width && (s.width = s.height = typeof e.width == "number" ? `${e.width}px` : e.width), s;
1056
+ return e.value.width && (p.width = p.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), p;
1054
1057
  });
1055
- return (n, s) => {
1056
- const a = A("el-tooltip"), h = A("el-button");
1057
- return n.tableIconType === "icon" ? (d(), f("span", S6, [
1058
- n.notip || !n.title ? (d(), f(
1058
+ return (s, p) => {
1059
+ const h = A("el-tooltip"), o = A("el-button");
1060
+ return e.value.tableIconType === "icon" || !e.value.tableIconType ? (u(), f("span", S6, [
1061
+ e.value.notip || !e.value.title ? (u(), f(
1059
1062
  "i",
1060
1063
  {
1061
1064
  key: 0,
1062
1065
  class: C(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1063
- [n.name]: i.value === "unocss",
1064
- "show-bg": n.showBg || n.bg,
1065
- default: n.size === "default",
1066
- small: n.size === "small",
1067
- big: n.size === "big",
1068
- warning: n.warning || e.type === "warning",
1069
- primary: n.primary || e.type === "primary",
1070
- success: n.success || e.type === "success",
1071
- error: n.error || e.type === "error",
1072
- active: n.active,
1073
- disabled: n.disabled
1066
+ [s.name]: a.value === "unocss",
1067
+ "show-bg": e.value.showBg || e.value.bg,
1068
+ default: e.value.size === "default",
1069
+ small: e.value.size === "small",
1070
+ big: e.value.size === "big",
1071
+ warning: e.value.warning || e.value.type === "warning",
1072
+ primary: e.value.primary || e.value.type === "primary",
1073
+ success: s.success || e.value.type === "success",
1074
+ error: e.value.error || e.value.type === "error",
1075
+ active: e.value.active,
1076
+ disabled: e.value.disabled
1074
1077
  }]),
1075
- style: F(l.value)
1078
+ style: z(l.value)
1076
1079
  },
1077
1080
  [
1078
1081
  V(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1079
- i.value === "iksig" ? (d(), f(
1082
+ a.value === "iksig" ? (u(), f(
1080
1083
  "i",
1081
1084
  {
1082
1085
  key: 0,
1083
- class: C(`iksig ${n.name}`),
1084
- style: F(l.value)
1086
+ class: C(`iksig ${e.value.name}`),
1087
+ style: z(l.value)
1085
1088
  },
1086
1089
  null,
1087
1090
  6
1088
1091
  /* CLASS, STYLE */
1089
- )) : i.value === "svg" ? (d(), f("svg", C6, [
1092
+ )) : a.value === "svg" ? (u(), f("svg", C6, [
1090
1093
  c("use", {
1091
- "xlink:href": `#${n.name}`
1094
+ "xlink:href": `#${e.value.name}`
1092
1095
  }, null, 8, V6)
1093
- ])) : i.value === "img" ? (d(), f("img", {
1096
+ ])) : a.value === "img" ? (u(), f("img", {
1094
1097
  key: 2,
1095
- src: n.name,
1098
+ src: e.value.name,
1096
1099
  class: "h-[1em] w-[1em]"
1097
- }, null, 8, B6)) : (d(), f(
1100
+ }, null, 8, I6)) : (u(), f(
1098
1101
  "i",
1099
1102
  {
1100
1103
  key: 3,
1101
- class: C(n.name),
1102
- style: F(l.value)
1104
+ class: C(e.value.name),
1105
+ style: z(l.value)
1103
1106
  },
1104
1107
  null,
1105
1108
  6
@@ -1108,54 +1111,54 @@ const b6 = D(x6), S6 = {
1108
1111
  ],
1109
1112
  6
1110
1113
  /* CLASS, STYLE */
1111
- )) : (d(), $(a, {
1114
+ )) : (u(), D(h, {
1112
1115
  key: 1,
1113
- content: n.title,
1116
+ content: e.value.title,
1114
1117
  placement: "top"
1115
1118
  }, {
1116
- default: B(() => [
1119
+ default: I(() => [
1117
1120
  c(
1118
1121
  "i",
1119
1122
  {
1120
1123
  class: C(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1121
- [n.name]: i.value === "unocss",
1122
- "show-bg": n.showBg || n.bg,
1123
- default: n.size === "default",
1124
- small: n.size === "small",
1125
- big: n.size === "big",
1126
- warning: n.warning || e.type === "warning",
1127
- primary: n.primary || e.type === "primary",
1128
- success: n.success || e.type === "success",
1129
- error: n.error || e.type === "error",
1130
- active: n.active
1124
+ [s.name]: a.value === "unocss",
1125
+ "show-bg": e.value.showBg || e.value.bg,
1126
+ default: e.value.size === "default",
1127
+ small: e.value.size === "small",
1128
+ big: e.value.size === "big",
1129
+ warning: e.value.warning || e.value.type === "warning",
1130
+ primary: s.primary || e.value.type === "primary",
1131
+ success: s.success || e.value.type === "success",
1132
+ error: e.value.error || e.value.type === "error",
1133
+ active: e.value.active
1131
1134
  }]),
1132
- style: F(l.value)
1135
+ style: z(l.value)
1133
1136
  },
1134
1137
  [
1135
- i.value === "iksig" ? (d(), f(
1138
+ a.value === "iksig" ? (u(), f(
1136
1139
  "i",
1137
1140
  {
1138
1141
  key: 0,
1139
- class: C(`iksig ${n.name}`),
1140
- style: F(l.value)
1142
+ class: C(`iksig ${e.value.name}`),
1143
+ style: z(l.value)
1141
1144
  },
1142
1145
  null,
1143
1146
  6
1144
1147
  /* CLASS, STYLE */
1145
- )) : i.value === "svg" ? (d(), f("svg", I6, [
1148
+ )) : a.value === "svg" ? (u(), f("svg", B6, [
1146
1149
  c("use", {
1147
- "xlink:href": `#${n.name}`
1150
+ "xlink:href": `#${e.value.name}`
1148
1151
  }, null, 8, R6)
1149
- ])) : i.value === "img" ? (d(), f("img", {
1152
+ ])) : a.value === "img" ? (u(), f("img", {
1150
1153
  key: 2,
1151
- src: n.name,
1154
+ src: e.value.name,
1152
1155
  class: "h-[1em] w-[1em]"
1153
- }, null, 8, $6)) : (d(), f(
1156
+ }, null, 8, $6)) : (u(), f(
1154
1157
  "i",
1155
1158
  {
1156
1159
  key: 3,
1157
- class: C(n.name),
1158
- style: F(l.value)
1160
+ class: C(e.value.name),
1161
+ style: z(l.value)
1159
1162
  },
1160
1163
  null,
1161
1164
  6
@@ -1169,13 +1172,13 @@ const b6 = D(x6), S6 = {
1169
1172
  _: 1
1170
1173
  /* STABLE */
1171
1174
  }, 8, ["content"]))
1172
- ])) : (d(), $(h, {
1175
+ ])) : (u(), D(o, {
1173
1176
  key: 1,
1174
- type: ["warning", "error"].includes(n.type) ? "danger" : ""
1177
+ type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
1175
1178
  }, {
1176
- default: B(() => [
1179
+ default: I(() => [
1177
1180
  L(
1178
- I(n.title),
1181
+ B(e.value.title),
1179
1182
  1
1180
1183
  /* TEXT */
1181
1184
  )
@@ -1186,10 +1189,10 @@ const b6 = D(x6), S6 = {
1186
1189
  };
1187
1190
  }
1188
1191
  });
1189
- const M6 = /* @__PURE__ */ T(D6, [["__scopeId", "data-v-7d95dbf5"]]), R = D(M6), q6 = {
1192
+ const M6 = /* @__PURE__ */ T(D6, [["__scopeId", "data-v-7729b79a"]]), R = M(M6), q6 = {
1190
1193
  key: 0,
1191
1194
  class: "exit-main-page-maximize"
1192
- }, E6 = /* @__PURE__ */ x({
1195
+ }, E6 = /* @__PURE__ */ F({
1193
1196
  __name: "CloseIcon",
1194
1197
  props: {
1195
1198
  showBg: {
@@ -1202,15 +1205,15 @@ const M6 = /* @__PURE__ */ T(D6, [["__scopeId", "data-v-7d95dbf5"]]), R = D(M6),
1202
1205
  }
1203
1206
  },
1204
1207
  setup(t) {
1205
- return (e, i) => (d(), f("div", null, [
1206
- t.showBg && t.fullscreen ? (d(), f("div", q6, [
1207
- z(y(R), {
1208
+ return (n, i) => (u(), f("div", null, [
1209
+ t.showBg && t.fullscreen ? (u(), f("div", q6, [
1210
+ k(w(R), {
1208
1211
  name: "iksvg_guanbidanchuang",
1209
1212
  title: "关闭",
1210
1213
  size: 20,
1211
1214
  error: ""
1212
1215
  })
1213
- ])) : (d(), $(y(R), {
1216
+ ])) : (u(), D(w(R), {
1214
1217
  key: 1,
1215
1218
  error: "",
1216
1219
  name: "iksvg_guanbidanchuang",
@@ -1220,7 +1223,7 @@ const M6 = /* @__PURE__ */ T(D6, [["__scopeId", "data-v-7d95dbf5"]]), R = D(M6),
1220
1223
  ]));
1221
1224
  }
1222
1225
  });
1223
- const H6 = /* @__PURE__ */ T(E6, [["__scopeId", "data-v-79f49df8"]]), O6 = { class: "base-header" }, A6 = /* @__PURE__ */ x({
1226
+ const H6 = /* @__PURE__ */ T(E6, [["__scopeId", "data-v-79f49df8"]]), O6 = { class: "base-header" }, A6 = /* @__PURE__ */ F({
1224
1227
  __name: "IkBaseDialog",
1225
1228
  props: /* @__PURE__ */ K({
1226
1229
  title: { default: "" },
@@ -1241,64 +1244,64 @@ const H6 = /* @__PURE__ */ T(E6, [["__scopeId", "data-v-79f49df8"]]), O6 = { cla
1241
1244
  }),
1242
1245
  emits: ["update:modelValue"],
1243
1246
  setup(t) {
1244
- const e = t, i = G(t, "modelValue"), l = S(e.fullscreen), n = () => {
1245
- l.value = !l.value;
1246
- }, s = x({
1247
+ const n = t, i = G(t, "modelValue"), e = S(n.fullscreen), a = () => {
1248
+ e.value = !e.value;
1249
+ }, l = F({
1247
1250
  setup() {
1248
1251
  return () => t3(H6, {
1249
- showBg: e.showCloseBg,
1250
- fullscreen: e.fullscreen
1252
+ showBg: n.showCloseBg,
1253
+ fullscreen: n.fullscreen
1251
1254
  });
1252
1255
  }
1253
1256
  });
1254
- return (a, h) => {
1255
- const v = A("el-dialog");
1256
- return d(), $(v, n3({
1257
+ return (s, p) => {
1258
+ const h = A("el-dialog");
1259
+ return u(), D(h, n3({
1257
1260
  modelValue: i.value,
1258
- "onUpdate:modelValue": h[0] || (h[0] = (o) => i.value = o)
1259
- }, a.$attrs, {
1260
- "close-icon": y(s),
1261
- class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
1262
- fullscreen: l.value,
1261
+ "onUpdate:modelValue": p[0] || (p[0] = (o) => i.value = o)
1262
+ }, s.$attrs, {
1263
+ "close-icon": w(l),
1264
+ class: `ik-base-dialog ${s.noHeader ? "no-header" : ""} ${s.noFooter ? "no-footer" : ""}`,
1265
+ fullscreen: e.value,
1263
1266
  "modal-class": "baseDialog"
1264
1267
  }), o3({
1265
- icon: B(() => [
1266
- H(a.$slots, "title", {}, () => [
1268
+ icon: I(() => [
1269
+ H(s.$slots, "title", {}, () => [
1267
1270
  L(
1268
- I(a.title),
1271
+ B(s.title),
1269
1272
  1
1270
1273
  /* TEXT */
1271
1274
  )
1272
1275
  ])
1273
1276
  ]),
1274
- header: B(() => [
1277
+ header: I(() => [
1275
1278
  c("div", O6, [
1276
- H(a.$slots, "header", {}, () => [
1279
+ H(s.$slots, "header", {}, () => [
1277
1280
  L(
1278
- I(a.title),
1281
+ B(s.title),
1279
1282
  1
1280
1283
  /* TEXT */
1281
1284
  )
1282
1285
  ])
1283
1286
  ]),
1284
- a.$attrs.showClose ? (d(), $(y(R), {
1287
+ s.$attrs.showClose ? (u(), D(w(R), {
1285
1288
  key: 0,
1286
- onClick: n,
1287
- name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1289
+ onClick: a,
1290
+ name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1288
1291
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1289
- title: l.value ? "退出全屏" : "全屏"
1292
+ title: e.value ? "退出全屏" : "全屏"
1290
1293
  }, null, 8, ["name", "title"])) : V("v-if", !0)
1291
1294
  ]),
1292
- default: B(() => [
1293
- H(a.$slots, "default")
1295
+ default: I(() => [
1296
+ H(s.$slots, "default")
1294
1297
  ]),
1295
1298
  _: 2
1296
1299
  /* DYNAMIC */
1297
1300
  }, [
1298
- a.$slots.footer ? {
1301
+ s.$slots.footer ? {
1299
1302
  name: "footer",
1300
- fn: B(() => [
1301
- H(a.$slots, "footer")
1303
+ fn: I(() => [
1304
+ H(s.$slots, "footer")
1302
1305
  ]),
1303
1306
  key: "0"
1304
1307
  } : void 0
@@ -1306,135 +1309,135 @@ const H6 = /* @__PURE__ */ T(E6, [["__scopeId", "data-v-79f49df8"]]), O6 = { cla
1306
1309
  };
1307
1310
  }
1308
1311
  });
1309
- const U6 = D(A6);
1310
- function T6(t, e, i, l) {
1311
- function n(s) {
1312
- return s instanceof i ? s : new i(function(a) {
1313
- a(s);
1312
+ const U6 = M(A6);
1313
+ function T6(t, n, i, e) {
1314
+ function a(l) {
1315
+ return l instanceof i ? l : new i(function(s) {
1316
+ s(l);
1314
1317
  });
1315
1318
  }
1316
- return new (i || (i = Promise))(function(s, a) {
1317
- function h(u) {
1319
+ return new (i || (i = Promise))(function(l, s) {
1320
+ function p(d) {
1318
1321
  try {
1319
- o(l.next(u));
1322
+ o(e.next(d));
1320
1323
  } catch (r) {
1321
- a(r);
1324
+ s(r);
1322
1325
  }
1323
1326
  }
1324
- function v(u) {
1327
+ function h(d) {
1325
1328
  try {
1326
- o(l.throw(u));
1329
+ o(e.throw(d));
1327
1330
  } catch (r) {
1328
- a(r);
1331
+ s(r);
1329
1332
  }
1330
1333
  }
1331
- function o(u) {
1332
- u.done ? s(u.value) : n(u.value).then(h, v);
1334
+ function o(d) {
1335
+ d.done ? l(d.value) : a(d.value).then(p, h);
1333
1336
  }
1334
- o((l = l.apply(t, e || [])).next());
1337
+ o((e = e.apply(t, n || [])).next());
1335
1338
  });
1336
1339
  }
1337
- function P6(t, e) {
1340
+ function P6(t, n) {
1338
1341
  var i = { label: 0, sent: function() {
1339
- if (s[0] & 1)
1340
- throw s[1];
1341
- return s[1];
1342
- }, trys: [], ops: [] }, l, n, s, a;
1343
- return a = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
1342
+ if (l[0] & 1)
1343
+ throw l[1];
1344
+ return l[1];
1345
+ }, trys: [], ops: [] }, e, a, l, s;
1346
+ return s = { next: p(0), throw: p(1), return: p(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() {
1344
1347
  return this;
1345
- }), a;
1346
- function h(o) {
1347
- return function(u) {
1348
- return v([o, u]);
1348
+ }), s;
1349
+ function p(o) {
1350
+ return function(d) {
1351
+ return h([o, d]);
1349
1352
  };
1350
1353
  }
1351
- function v(o) {
1352
- if (l)
1354
+ function h(o) {
1355
+ if (e)
1353
1356
  throw new TypeError("Generator is already executing.");
1354
- for (; a && (a = 0, o[0] && (i = 0)), i; )
1357
+ for (; s && (s = 0, o[0] && (i = 0)), i; )
1355
1358
  try {
1356
- if (l = 1, n && (s = o[0] & 2 ? n.return : o[0] ? n.throw || ((s = n.return) && s.call(n), 0) : n.next) && !(s = s.call(n, o[1])).done)
1357
- return s;
1358
- switch (n = 0, s && (o = [o[0] & 2, s.value]), o[0]) {
1359
+ if (e = 1, a && (l = o[0] & 2 ? a.return : o[0] ? a.throw || ((l = a.return) && l.call(a), 0) : a.next) && !(l = l.call(a, o[1])).done)
1360
+ return l;
1361
+ switch (a = 0, l && (o = [o[0] & 2, l.value]), o[0]) {
1359
1362
  case 0:
1360
1363
  case 1:
1361
- s = o;
1364
+ l = o;
1362
1365
  break;
1363
1366
  case 4:
1364
1367
  return i.label++, { value: o[1], done: !1 };
1365
1368
  case 5:
1366
- i.label++, n = o[1], o = [0];
1369
+ i.label++, a = o[1], o = [0];
1367
1370
  continue;
1368
1371
  case 7:
1369
1372
  o = i.ops.pop(), i.trys.pop();
1370
1373
  continue;
1371
1374
  default:
1372
- if (s = i.trys, !(s = s.length > 0 && s[s.length - 1]) && (o[0] === 6 || o[0] === 2)) {
1375
+ if (l = i.trys, !(l = l.length > 0 && l[l.length - 1]) && (o[0] === 6 || o[0] === 2)) {
1373
1376
  i = 0;
1374
1377
  continue;
1375
1378
  }
1376
- if (o[0] === 3 && (!s || o[1] > s[0] && o[1] < s[3])) {
1379
+ if (o[0] === 3 && (!l || o[1] > l[0] && o[1] < l[3])) {
1377
1380
  i.label = o[1];
1378
1381
  break;
1379
1382
  }
1380
- if (o[0] === 6 && i.label < s[1]) {
1381
- i.label = s[1], s = o;
1383
+ if (o[0] === 6 && i.label < l[1]) {
1384
+ i.label = l[1], l = o;
1382
1385
  break;
1383
1386
  }
1384
- if (s && i.label < s[2]) {
1385
- i.label = s[2], i.ops.push(o);
1387
+ if (l && i.label < l[2]) {
1388
+ i.label = l[2], i.ops.push(o);
1386
1389
  break;
1387
1390
  }
1388
- s[2] && i.ops.pop(), i.trys.pop();
1391
+ l[2] && i.ops.pop(), i.trys.pop();
1389
1392
  continue;
1390
1393
  }
1391
- o = e.call(t, i);
1392
- } catch (u) {
1393
- o = [6, u], n = 0;
1394
+ o = n.call(t, i);
1395
+ } catch (d) {
1396
+ o = [6, d], a = 0;
1394
1397
  } finally {
1395
- l = s = 0;
1398
+ e = l = 0;
1396
1399
  }
1397
1400
  if (o[0] & 5)
1398
1401
  throw o[1];
1399
1402
  return { value: o[0] ? o[1] : void 0, done: !0 };
1400
1403
  }
1401
1404
  }
1402
- var L6 = function(t, e) {
1405
+ var L6 = function(t, n) {
1403
1406
  return T6(void 0, void 0, void 0, function() {
1404
1407
  return P6(this, function(i) {
1405
- return [2, new Promise(function(l, n) {
1408
+ return [2, new Promise(function(e, a) {
1406
1409
  try {
1407
1410
  if (window.DocsAPI)
1408
- return l(null);
1409
- var s = document.getElementById(e);
1410
- if (s)
1411
- var a = setInterval(function() {
1412
- var v = s.getAttribute("loading");
1413
- if (!v) {
1414
- if (clearInterval(a), window.DocsAPI)
1415
- return l(null);
1416
- var o = W(e, t, l, n);
1417
- s.remove(), document.body.appendChild(o);
1411
+ return e(null);
1412
+ var l = document.getElementById(n);
1413
+ if (l)
1414
+ var s = setInterval(function() {
1415
+ var h = l.getAttribute("loading");
1416
+ if (!h) {
1417
+ if (clearInterval(s), window.DocsAPI)
1418
+ return e(null);
1419
+ var o = W(n, t, e, a);
1420
+ l.remove(), document.body.appendChild(o);
1418
1421
  }
1419
1422
  }, 500);
1420
1423
  else {
1421
- var h = W(e, t, l, n);
1422
- document.body.appendChild(h);
1424
+ var p = W(n, t, e, a);
1425
+ document.body.appendChild(p);
1423
1426
  }
1424
- } catch (v) {
1425
- console.error(v);
1427
+ } catch (h) {
1428
+ console.error(h);
1426
1429
  }
1427
1430
  })];
1428
1431
  });
1429
1432
  });
1430
- }, W = function(t, e, i, l) {
1431
- var n = document.createElement("script");
1432
- return n.id = t, n.type = "text/javascript", n.src = e, n.async = !0, n.onload = function() {
1433
- n.removeAttribute("loading"), i(null);
1434
- }, n.onerror = function(s) {
1435
- n.removeAttribute("loading"), l(s);
1436
- }, n.setAttribute("loading", ""), n;
1437
- }, j = x({
1433
+ }, W = function(t, n, i, e) {
1434
+ var a = document.createElement("script");
1435
+ return a.id = t, a.type = "text/javascript", a.src = n, a.async = !0, a.onload = function() {
1436
+ a.removeAttribute("loading"), i(null);
1437
+ }, a.onerror = function(l) {
1438
+ a.removeAttribute("loading"), e(l);
1439
+ }, a.setAttribute("loading", ""), a;
1440
+ }, j = F({
1438
1441
  name: "DocumentEditor",
1439
1442
  props: {
1440
1443
  id: {
@@ -1486,9 +1489,9 @@ var L6 = function(t, e) {
1486
1489
  events_onRequestSelectDocument: Function
1487
1490
  },
1488
1491
  mounted: function() {
1489
- var t = this, e = this.documentServerUrl;
1490
- e.endsWith("/") || (e += "/");
1491
- var i = "".concat(e, "web-apps/apps/api/documents/api.js");
1492
+ var t = this, n = this.documentServerUrl;
1493
+ n.endsWith("/") || (n += "/");
1494
+ var i = "".concat(n, "web-apps/apps/api/documents/api.js");
1492
1495
  L6(i, "onlyoffice-api-script").then(function() {
1493
1496
  return t.onLoad();
1494
1497
  }).catch(function() {
@@ -1496,49 +1499,49 @@ var L6 = function(t, e) {
1496
1499
  });
1497
1500
  },
1498
1501
  unmounted: function() {
1499
- var t, e = this.id || "";
1500
- !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[e] && (window.DocEditor.instances[e].destroyEditor(), window.DocEditor.instances[e] = void 0);
1502
+ var t, n = this.id || "";
1503
+ !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n] && (window.DocEditor.instances[n].destroyEditor(), window.DocEditor.instances[n] = void 0);
1501
1504
  },
1502
1505
  watch: {
1503
1506
  config: {
1504
- handler: function(t, e) {
1507
+ handler: function(t, n) {
1505
1508
  this.onChangeProps();
1506
1509
  },
1507
1510
  deep: !0
1508
1511
  },
1509
- document_fileType: function(t, e) {
1512
+ document_fileType: function(t, n) {
1510
1513
  this.onChangeProps();
1511
1514
  },
1512
- document_title: function(t, e) {
1515
+ document_title: function(t, n) {
1513
1516
  this.onChangeProps();
1514
1517
  },
1515
- documentType: function(t, e) {
1518
+ documentType: function(t, n) {
1516
1519
  this.onChangeProps();
1517
1520
  },
1518
- editorConfig_lang: function(t, e) {
1521
+ editorConfig_lang: function(t, n) {
1519
1522
  this.onChangeProps();
1520
1523
  },
1521
- height: function(t, e) {
1524
+ height: function(t, n) {
1522
1525
  this.onChangeProps();
1523
1526
  },
1524
- type: function(t, e) {
1527
+ type: function(t, n) {
1525
1528
  this.onChangeProps();
1526
1529
  },
1527
- width: function(t, e) {
1530
+ width: function(t, n) {
1528
1531
  this.onChangeProps();
1529
1532
  }
1530
1533
  },
1531
1534
  methods: {
1532
1535
  onLoad: function() {
1533
- var t, e;
1536
+ var t, n;
1534
1537
  try {
1535
1538
  var i = this.id || "";
1536
1539
  if (window.DocsAPI || this.onError(-3), !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[i]) {
1537
1540
  console.log("Skip loading. Instance already exists", i);
1538
1541
  return;
1539
1542
  }
1540
- !((e = window == null ? void 0 : window.DocEditor) === null || e === void 0) && e.instances || (window.DocEditor = { instances: {} });
1541
- var l = Object.assign({
1543
+ !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances || (window.DocEditor = { instances: {} });
1544
+ var e = Object.assign({
1542
1545
  document: {
1543
1546
  fileType: this.document_fileType,
1544
1547
  title: this.document_title
@@ -1573,43 +1576,43 @@ var L6 = function(t, e) {
1573
1576
  height: this.height,
1574
1577
  type: this.type,
1575
1578
  width: this.width
1576
- }, this.config || {}), n = window.DocsAPI.DocEditor(i, l);
1577
- window.DocEditor.instances[i] = n;
1578
- } catch (s) {
1579
- console.error(s), this.onError(-1);
1579
+ }, this.config || {}), a = window.DocsAPI.DocEditor(i, e);
1580
+ window.DocEditor.instances[i] = a;
1581
+ } catch (l) {
1582
+ console.error(l), this.onError(-1);
1580
1583
  }
1581
1584
  },
1582
1585
  onError: function(t) {
1583
- var e;
1586
+ var n;
1584
1587
  switch (t) {
1585
1588
  case -2:
1586
- e = "Error load DocsAPI from " + this.documentServerUrl;
1589
+ n = "Error load DocsAPI from " + this.documentServerUrl;
1587
1590
  break;
1588
1591
  case -3:
1589
- e = "DocsAPI is not defined";
1592
+ n = "DocsAPI is not defined";
1590
1593
  break;
1591
1594
  default:
1592
- e = "Unknown error loading component", t = -1;
1595
+ n = "Unknown error loading component", t = -1;
1593
1596
  }
1594
- typeof this.onLoadComponentError > "u" ? console.error(e) : this.onLoadComponentError(t, e);
1597
+ typeof this.onLoadComponentError > "u" ? console.error(n) : this.onLoadComponentError(t, n);
1595
1598
  },
1596
1599
  onAppReady: function() {
1597
1600
  var t = this.id || "";
1598
1601
  this.events_onAppReady(window.DocEditor.instances[t]);
1599
1602
  },
1600
1603
  onChangeProps: function() {
1601
- var t, e = this.id || "";
1602
- !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.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());
1604
+ var t, n = this.id || "";
1605
+ !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n] && (window.DocEditor.instances[n].destroyEditor(), window.DocEditor.instances[n] = void 0, console.log("Important props have been changed. Load new Editor."), this.onLoad());
1603
1606
  }
1604
1607
  }
1605
1608
  });
1606
1609
  const j6 = ["id"];
1607
- function N6(t, e, i, l, n, s) {
1608
- return d(), f("div", { id: t.id }, null, 8, j6);
1610
+ function N6(t, n, i, e, a, l) {
1611
+ return u(), f("div", { id: t.id }, null, 8, j6);
1609
1612
  }
1610
1613
  j.render = N6;
1611
1614
  j.__file = "src/components/DocumentEditor.vue";
1612
- const W6 = /* @__PURE__ */ x({
1615
+ const W6 = /* @__PURE__ */ F({
1613
1616
  __name: "IkOnlyOffice",
1614
1617
  props: {
1615
1618
  // 文件服务器的服务的地址
@@ -1630,26 +1633,26 @@ const W6 = /* @__PURE__ */ x({
1630
1633
  }
1631
1634
  },
1632
1635
  setup(t) {
1633
- const e = t, i = S({
1636
+ const n = t, i = S({
1634
1637
  width: "100%",
1635
1638
  height: "100%",
1636
- ...e.configOptions || {},
1637
- ...e.configOptions
1638
- }), l = () => {
1639
- console.info("文档加载完成", e.configOptions);
1639
+ ...n.configOptions || {},
1640
+ ...n.configOptions
1641
+ }), e = () => {
1642
+ console.info("文档加载完成", n.configOptions);
1640
1643
  };
1641
- return (n, s) => (d(), f(
1644
+ return (a, l) => (u(), f(
1642
1645
  "div",
1643
1646
  {
1644
- style: F({ height: e.officeHeight })
1647
+ style: z({ height: n.officeHeight })
1645
1648
  },
1646
1649
  [
1647
- z(y(j), {
1650
+ k(w(j), {
1648
1651
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1649
1652
  ref: "editorRef",
1650
1653
  "document-server-url": t.documentServerUrl,
1651
1654
  config: i.value,
1652
- events_onDocumentReady: l
1655
+ events_onDocumentReady: e
1653
1656
  }, null, 8, ["id", "document-server-url", "config"])
1654
1657
  ],
1655
1658
  4
@@ -1657,7 +1660,7 @@ const W6 = /* @__PURE__ */ x({
1657
1660
  ));
1658
1661
  }
1659
1662
  });
1660
- const K6 = /* @__PURE__ */ T(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = D(K6), X6 = (t) => (i3("data-v-170abcfc"), t = t(), s3(), t), Y6 = {
1663
+ const K6 = /* @__PURE__ */ T(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = M(K6), X6 = (t) => (i3("data-v-170abcfc"), t = t(), l3(), t), Y6 = {
1661
1664
  key: 0,
1662
1665
  class: "preview-files"
1663
1666
  }, Z6 = {
@@ -1672,7 +1675,7 @@ const K6 = /* @__PURE__ */ T(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = D(K6)
1672
1675
  )), oe = {
1673
1676
  key: 1,
1674
1677
  class: "flex preview-img"
1675
- }, ie = /* @__PURE__ */ x({
1678
+ }, ie = /* @__PURE__ */ F({
1676
1679
  __name: "IKDetailPreviewFiles",
1677
1680
  props: {
1678
1681
  // 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
@@ -1702,66 +1705,66 @@ const K6 = /* @__PURE__ */ T(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = D(K6)
1702
1705
  }
1703
1706
  },
1704
1707
  setup(t) {
1705
- const e = t, i = S(e.fileList);
1708
+ const n = t, i = S(n.fileList);
1706
1709
  X(
1707
- () => e.fileList,
1710
+ () => n.fileList,
1708
1711
  (o) => {
1709
1712
  o && (i.value = o);
1710
1713
  },
1711
1714
  { immediate: !0 }
1712
1715
  );
1713
- const l = S(!1), n = S({}), s = (o) => {
1714
- n.value = {
1716
+ const e = S(!1), a = S({}), l = (o) => {
1717
+ a.value = {
1715
1718
  url: o.url,
1716
1719
  name: o.name
1717
1720
  // row.originName
1718
- }, l.value = !0;
1719
- }, a = (o) => {
1720
- var u, r, g, m, p;
1721
- return (u = o == null ? void 0 : o.suffix) != null && u.includes("pdf") ? "iksvg_pdf" : (r = o == null ? void 0 : o.suffix) != null && r.includes("doc") ? "iksvg_word" : (g = o == null ? void 0 : o.suffix) != null && g.includes("xls") ? "iksvg_excel" : (m = o == null ? void 0 : o.suffix) != null && m.includes("mov") ? "iksvg_mov" : (p = o == null ? void 0 : o.suffix) != null && p.includes("zip") ? "iksvg_zip" : "icon-jpg";
1721
+ }, e.value = !0;
1722
+ }, s = (o) => {
1723
+ var d, r, g, _, v;
1724
+ return (d = o == null ? void 0 : o.suffix) != null && d.includes("pdf") ? "iksvg_pdf" : (r = o == null ? void 0 : o.suffix) != null && r.includes("doc") ? "iksvg_word" : (g = o == null ? void 0 : o.suffix) != null && g.includes("xls") ? "iksvg_excel" : (_ = o == null ? void 0 : o.suffix) != null && _.includes("mov") ? "iksvg_mov" : (v = o == null ? void 0 : o.suffix) != null && v.includes("zip") ? "iksvg_zip" : "icon-jpg";
1725
+ }, p = (o) => {
1726
+ var d, r, g, _, v;
1727
+ return (d = o == null ? void 0 : o.suffix) != null && d.includes("pdf") ? "#FA4E4E" : (r = o == null ? void 0 : o.suffix) != null && r.includes("doc") ? "#2c69e0" : (g = o.suffix) != null && g.includes("xls") ? "#39BFBF" : (_ = o.suffix) != null && _.includes("txt") ? "#2c69e0" : (v = o.suffix) != null && v.includes("zip") ? "#FF9000" : "#32CD79";
1722
1728
  }, h = (o) => {
1723
- var u, r, g, m, p;
1724
- return (u = o == null ? void 0 : o.suffix) != null && u.includes("pdf") ? "#FA4E4E" : (r = o == null ? void 0 : o.suffix) != null && r.includes("doc") ? "#2c69e0" : (g = o.suffix) != null && g.includes("xls") ? "#39BFBF" : (m = o.suffix) != null && m.includes("txt") ? "#2c69e0" : (p = o.suffix) != null && p.includes("zip") ? "#FF9000" : "#32CD79";
1725
- }, v = (o) => {
1726
- const u = document.createElement("a");
1727
- u.href = d3.assembleUrl(e.loadUrl, o.url), u.download = o.name, u.click();
1729
+ const d = document.createElement("a");
1730
+ d.href = u3.assembleUrl(n.loadUrl, o.url), d.download = o.name, d.click();
1728
1731
  };
1729
- return (o, u) => {
1730
- var g, m;
1732
+ return (o, d) => {
1733
+ var g, _;
1731
1734
  const r = A("el-image");
1732
- return d(), f("div", null, [
1733
- e.fileType === "file" ? (d(), f("div", Y6, [
1734
- (d(!0), f(
1735
+ return u(), f("div", null, [
1736
+ n.fileType === "file" ? (u(), f("div", Y6, [
1737
+ (u(!0), f(
1735
1738
  O,
1736
1739
  null,
1737
- P(i.value, (p, b) => (d(), f(
1740
+ P(i.value, (v, b) => (u(), f(
1738
1741
  "div",
1739
1742
  {
1740
1743
  key: b,
1741
1744
  class: "files-item",
1742
- style: F({
1743
- width: e.fileWidth,
1744
- "margin-right": e.fileWidth === "100%" ? "0px" : ""
1745
+ style: z({
1746
+ width: n.fileWidth,
1747
+ "margin-right": n.fileWidth === "100%" ? "0px" : ""
1745
1748
  })
1746
1749
  },
1747
1750
  [
1748
1751
  c("div", Z6, [
1749
- z(y(R), {
1750
- name: a(p),
1751
- style: F(`color:${h(p)}`),
1752
+ k(w(R), {
1753
+ name: s(v),
1754
+ style: z(`color:${p(v)}`),
1752
1755
  size: 36
1753
1756
  }, null, 8, ["name", "style"]),
1754
1757
  c("div", {
1755
1758
  class: "file-name",
1756
- onClick: (_) => v(p)
1759
+ onClick: (y) => h(v)
1757
1760
  }, [
1758
1761
  c("p", {
1759
- title: p.name
1760
- }, I(p.name), 9, Q6),
1762
+ title: v.name
1763
+ }, B(v.name), 9, Q6),
1761
1764
  c(
1762
1765
  "p",
1763
1766
  ee,
1764
- I((p.size / 1024).toFixed(2)) + "KB",
1767
+ B((v.size / 1024).toFixed(2)) + "KB",
1765
1768
  1
1766
1769
  /* TEXT */
1767
1770
  )
@@ -1769,9 +1772,9 @@ const K6 = /* @__PURE__ */ T(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = D(K6)
1769
1772
  ]),
1770
1773
  c("div", {
1771
1774
  class: "file-preview",
1772
- onClick: (_) => s(p)
1775
+ onClick: (y) => l(v)
1773
1776
  }, [
1774
- z(y(R), { name: "iksvg_yulan" }),
1777
+ k(w(R), { name: "iksvg_yulan" }),
1775
1778
  ne
1776
1779
  ], 8, te)
1777
1780
  ],
@@ -1782,18 +1785,18 @@ const K6 = /* @__PURE__ */ T(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = D(K6)
1782
1785
  /* KEYED_FRAGMENT */
1783
1786
  ))
1784
1787
  ])) : V("v-if", !0),
1785
- e.fileType === "img" ? (d(), f("div", oe, [
1786
- (d(!0), f(
1788
+ n.fileType === "img" ? (u(), f("div", oe, [
1789
+ (u(!0), f(
1787
1790
  O,
1788
1791
  null,
1789
- P(i.value, (p, b) => (d(), f("div", {
1792
+ P(i.value, (v, b) => (u(), f("div", {
1790
1793
  key: b,
1791
1794
  class: "preview-img"
1792
1795
  }, [
1793
- z(r, {
1796
+ k(r, {
1794
1797
  class: "show-img",
1795
- src: t.loadUrl + p.url,
1796
- "preview-src-list": [t.loadUrl + p.url],
1798
+ src: t.loadUrl + v.url,
1799
+ "preview-src-list": [t.loadUrl + v.url],
1797
1800
  fit: "cover"
1798
1801
  }, null, 8, ["src", "preview-src-list"])
1799
1802
  ]))),
@@ -1801,19 +1804,19 @@ const K6 = /* @__PURE__ */ T(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = D(K6)
1801
1804
  /* KEYED_FRAGMENT */
1802
1805
  ))
1803
1806
  ])) : V("v-if", !0),
1804
- z(y(F6), {
1805
- modelValue: l.value,
1806
- "onUpdate:modelValue": u[0] || (u[0] = (p) => l.value = p),
1807
- "load-url": e.loadUrl,
1808
- url: (g = n.value) == null ? void 0 : g.url,
1807
+ k(w(z6), {
1808
+ modelValue: e.value,
1809
+ "onUpdate:modelValue": d[0] || (d[0] = (v) => e.value = v),
1810
+ "load-url": n.loadUrl,
1811
+ url: (g = a.value) == null ? void 0 : g.url,
1809
1812
  "kk-url": t.kkUrl,
1810
- "file-name": (m = n.value) == null ? void 0 : m.name
1813
+ "file-name": (_ = a.value) == null ? void 0 : _.name
1811
1814
  }, null, 8, ["modelValue", "load-url", "url", "kk-url", "file-name"])
1812
1815
  ]);
1813
1816
  };
1814
1817
  }
1815
1818
  });
1816
- const se = /* @__PURE__ */ T(ie, [["__scopeId", "data-v-170abcfc"]]), re = D(se);
1819
+ const le = /* @__PURE__ */ T(ie, [["__scopeId", "data-v-170abcfc"]]), re = M(le);
1817
1820
  export {
1818
1821
  re as IKDetailPreviewFiles,
1819
1822
  re as default