iking-web-ui-pro 0.2.4 → 0.2.6

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 (80) hide show
  1. package/dist/IKDetailPreviewFiles/ik.index.es.js +586 -571
  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 +123 -120
  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 +491 -476
  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 +756 -741
  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 +125 -122
  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 +252 -249
  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 +129 -126
  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 +530 -515
  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 +196 -193
  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 +397 -394
  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 +1122 -1119
  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 +314 -308
  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 +968 -965
  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 +148 -145
  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 +106 -103
  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 +963 -944
  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 +265 -253
  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 +1611 -0
  56. package/dist/Provider/ik.index.umd.js +17 -0
  57. package/dist/index.es.js +38689 -37072
  58. package/dist/index.umd.js +95 -79
  59. package/dist/src/components/IKDetailPreviewFiles/index.d.ts +1 -1
  60. package/dist/src/components/IKDetailPreviewFiles/src/IKDetailPreviewFiles.vue.d.ts +1 -1
  61. package/dist/src/components/IKPreviewFile/index.d.ts +3 -3
  62. package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +1 -1
  63. package/dist/src/components/IkApprovalProcess/index.d.ts +1 -1
  64. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +1 -1
  65. package/dist/src/components/IkDescription/index.d.ts +3 -3
  66. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +1 -1
  67. package/dist/src/components/IkPreviewFileDialog/index.d.ts +1 -1
  68. package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +1 -1
  69. package/dist/src/components/IkTinymce/index.d.ts +1 -1
  70. package/dist/src/components/IkTinymce/src/index.vue.d.ts +1 -1
  71. package/dist/src/components/IkUploadFile/index.d.ts +3 -3
  72. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
  73. package/dist/src/components/IkUploadImage/index.d.ts +3 -3
  74. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
  75. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +66 -0
  76. package/dist/src/components/Provider/index.d.ts +139 -0
  77. package/dist/src/components/index.d.ts +1 -0
  78. package/dist/src/utils/use-provider.d.ts +8 -0
  79. package/dist/style.css +1 -1
  80. package/package.json +1 -1
@@ -1,30 +1,39 @@
1
- import { defineComponent as z, computed as V, openBlock as r, createElementBlock as u, createElementVNode as c, ref as F, Fragment as M, renderList as T, normalizeClass as b, normalizeStyle as k, createVNode as _, toDisplayString as B, unref as y, withModifiers as Z, renderSlot as D, createCommentVNode as S, mergeModels as W, useModel as K, reactive as J, watch as G, nextTick as Q, resolveComponent as q, createBlock as R, withCtx as C, createTextVNode as U, h as e3, mergeProps as t3, createSlots as n3, pushScopeId as o3, popScopeId as i3 } from "vue";
2
- import { paramType as s3, ikFile as l3, buildUUID as a3, ikColor as c3, ikUrl as r3 } from "iking-utils-pro";
3
- const $ = (n, e) => {
4
- if (n.install = (i) => {
5
- for (const l of [n, ...Object.values(e ?? {})])
6
- i.component(l.name, l);
7
- }, e)
8
- for (const [i, l] of Object.entries(e))
9
- n[i] = l;
10
- return n;
11
- }, O = (n, e) => {
12
- const i = n.__vccOpts || n;
13
- for (const [l, o] of e)
14
- i[l] = o;
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 I, 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 B, 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
+ if (t.install = (i) => {
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
+ return t;
11
+ }, T = (t, n) => {
12
+ const i = t.__vccOpts || t;
13
+ for (const [e, a] of n)
14
+ i[e] = a;
15
15
  return i;
16
- }, d3 = (n, e = 2) => {
17
- if (n === void 0)
16
+ }, d3 = (t, n = 2) => {
17
+ if (t === void 0)
18
18
  return "";
19
- if (n === 0)
19
+ if (t === 0)
20
20
  return "0 B";
21
- const i = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(n) / Math.log(1024));
22
- let o = n / Math.pow(1024, l);
23
- return (o % 1 === 0 ? o.toFixed(e || 0) : o.toFixed(e)) + " " + i[l];
24
- }, H = (n, e) => e ? e.startsWith("http") ? e : `${n || location.origin}${e}` : "";
25
- const X = (n, e) => {
26
- var s, a, v, g;
27
- const i = (s = n == null ? void 0 : n.response) != null && s.data ? j((v = (a = n == null ? void 0 : n.response) == null ? void 0 : a.data) == null ? void 0 : v.suffix) : ((g = n.raw) == null ? void 0 : g.type) || j(n[e.suffix]), l = i == null ? void 0 : i.toLowerCase(), o = {
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
+ const f3 = (t) => {
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
+ return {
28
+ cLoadUrl: i,
29
+ cUploadUrl: a,
30
+ cToken: s,
31
+ cOnlyofficeConfig: h,
32
+ cUserInfo: d
33
+ };
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 = {
28
37
  sheet: "excel",
29
38
  excel: "excel",
30
39
  zip: "zip",
@@ -40,11 +49,11 @@ const X = (n, e) => {
40
49
  exe: "exe",
41
50
  json: "json"
42
51
  };
43
- for (let t in o)
44
- if (typeof l == "string" && (l.includes(t) || l === t))
45
- return o[t];
52
+ for (let o in a)
53
+ if (typeof e == "string" && (e.includes(o) || e === o))
54
+ return a[o];
46
55
  return "unknown";
47
- }, u3 = {
56
+ }, p3 = {
48
57
  ".doc": "word",
49
58
  ".docx": "word",
50
59
  ".docxf": "word",
@@ -129,13 +138,13 @@ const X = (n, e) => {
129
138
  ".vob": "video",
130
139
  ".txt": "txt",
131
140
  ".pdf": "pdf"
132
- }, j = (n) => {
133
- const e = n == null ? void 0 : n.toLocaleLowerCase(), i = e != null && e.startsWith(".") ? e : `.${e}`;
134
- return i && u3[i] || "unknow";
135
- }, f3 = (n) => {
136
- let e = "", i = ["doc", "docx"], l = ["xls", "xlsx"], o = ["ppt", "pptx"], s = ["pdf"];
137
- return i.includes(n) && (e = "word"), l.includes(n) && (e = "cell"), o.includes(n) && (e = "slide"), s.includes(n) && (e = "text-pdf"), e;
138
- }, p3 = {
141
+ }, N = (t) => {
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
+ }, g3 = {
139
148
  key: 0,
140
149
  t: "1686300059786",
141
150
  class: "icon",
@@ -145,7 +154,7 @@ const X = (n, e) => {
145
154
  "p-id": "7671",
146
155
  width: "200",
147
156
  height: "200"
148
- }, h3 = /* @__PURE__ */ c(
157
+ }, _3 = /* @__PURE__ */ c(
149
158
  "path",
150
159
  {
151
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",
@@ -155,7 +164,7 @@ const X = (n, e) => {
155
164
  null,
156
165
  -1
157
166
  /* HOISTED */
158
- ), v3 = /* @__PURE__ */ c(
167
+ ), m3 = /* @__PURE__ */ c(
159
168
  "path",
160
169
  {
161
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",
@@ -165,7 +174,7 @@ const X = (n, e) => {
165
174
  null,
166
175
  -1
167
176
  /* HOISTED */
168
- ), g3 = /* @__PURE__ */ c(
177
+ ), w3 = /* @__PURE__ */ c(
169
178
  "path",
170
179
  {
171
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",
@@ -175,7 +184,7 @@ const X = (n, e) => {
175
184
  null,
176
185
  -1
177
186
  /* HOISTED */
178
- ), m3 = /* @__PURE__ */ c(
187
+ ), y3 = /* @__PURE__ */ c(
179
188
  "path",
180
189
  {
181
190
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -185,12 +194,12 @@ const X = (n, e) => {
185
194
  null,
186
195
  -1
187
196
  /* HOISTED */
188
- ), w3 = [
189
- h3,
190
- v3,
191
- g3,
192
- m3
193
- ], y3 = {
197
+ ), x3 = [
198
+ _3,
199
+ m3,
200
+ w3,
201
+ y3
202
+ ], k3 = {
194
203
  key: 1,
195
204
  t: "1686301531714",
196
205
  class: "icon",
@@ -200,7 +209,7 @@ const X = (n, e) => {
200
209
  "p-id": "9067",
201
210
  width: "200",
202
211
  height: "200"
203
- }, _3 = /* @__PURE__ */ c(
212
+ }, z3 = /* @__PURE__ */ c(
204
213
  "path",
205
214
  {
206
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",
@@ -210,7 +219,7 @@ const X = (n, e) => {
210
219
  null,
211
220
  -1
212
221
  /* HOISTED */
213
- ), k3 = /* @__PURE__ */ c(
222
+ ), F3 = /* @__PURE__ */ c(
214
223
  "path",
215
224
  {
216
225
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -220,10 +229,10 @@ const X = (n, e) => {
220
229
  null,
221
230
  -1
222
231
  /* HOISTED */
223
- ), z3 = [
224
- _3,
225
- k3
226
- ], F3 = {
232
+ ), b3 = [
233
+ z3,
234
+ F3
235
+ ], S3 = {
227
236
  key: 2,
228
237
  t: "1686300141125",
229
238
  class: "icon",
@@ -233,7 +242,7 @@ const X = (n, e) => {
233
242
  "p-id": "8137",
234
243
  width: "200",
235
244
  height: "200"
236
- }, x3 = /* @__PURE__ */ c(
245
+ }, C3 = /* @__PURE__ */ c(
237
246
  "path",
238
247
  {
239
248
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",
@@ -243,7 +252,7 @@ const X = (n, e) => {
243
252
  null,
244
253
  -1
245
254
  /* HOISTED */
246
- ), b3 = /* @__PURE__ */ c(
255
+ ), V3 = /* @__PURE__ */ c(
247
256
  "path",
248
257
  {
249
258
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -253,10 +262,10 @@ const X = (n, e) => {
253
262
  null,
254
263
  -1
255
264
  /* HOISTED */
256
- ), S3 = [
257
- x3,
258
- b3
259
- ], C3 = {
265
+ ), B3 = [
266
+ C3,
267
+ V3
268
+ ], I3 = {
260
269
  key: 3,
261
270
  t: "1686300157181",
262
271
  class: "icon",
@@ -266,7 +275,7 @@ const X = (n, e) => {
266
275
  "p-id": "8292",
267
276
  width: "200",
268
277
  height: "200"
269
- }, V3 = /* @__PURE__ */ c(
278
+ }, R3 = /* @__PURE__ */ c(
270
279
  "path",
271
280
  {
272
281
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",
@@ -276,7 +285,7 @@ const X = (n, e) => {
276
285
  null,
277
286
  -1
278
287
  /* HOISTED */
279
- ), B3 = /* @__PURE__ */ c(
288
+ ), $3 = /* @__PURE__ */ c(
280
289
  "path",
281
290
  {
282
291
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -286,10 +295,10 @@ const X = (n, e) => {
286
295
  null,
287
296
  -1
288
297
  /* HOISTED */
289
- ), I3 = [
290
- V3,
291
- B3
292
- ], R3 = {
298
+ ), D3 = [
299
+ R3,
300
+ $3
301
+ ], M3 = {
293
302
  key: 4,
294
303
  t: "1686300180947",
295
304
  class: "icon",
@@ -299,7 +308,7 @@ const X = (n, e) => {
299
308
  "p-id": "8447",
300
309
  width: "200",
301
310
  height: "200"
302
- }, $3 = /* @__PURE__ */ c(
311
+ }, q3 = /* @__PURE__ */ c(
303
312
  "path",
304
313
  {
305
314
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",
@@ -309,7 +318,7 @@ const X = (n, e) => {
309
318
  null,
310
319
  -1
311
320
  /* HOISTED */
312
- ), D3 = /* @__PURE__ */ c(
321
+ ), E3 = /* @__PURE__ */ c(
313
322
  "path",
314
323
  {
315
324
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -319,10 +328,10 @@ const X = (n, e) => {
319
328
  null,
320
329
  -1
321
330
  /* HOISTED */
322
- ), M3 = [
323
- $3,
324
- D3
325
- ], q3 = {
331
+ ), H3 = [
332
+ q3,
333
+ E3
334
+ ], O3 = {
326
335
  key: 5,
327
336
  t: "1686300195363",
328
337
  class: "icon",
@@ -332,7 +341,7 @@ const X = (n, e) => {
332
341
  "p-id": "8602",
333
342
  width: "200",
334
343
  height: "200"
335
- }, E3 = /* @__PURE__ */ c(
344
+ }, A3 = /* @__PURE__ */ c(
336
345
  "path",
337
346
  {
338
347
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",
@@ -342,7 +351,7 @@ const X = (n, e) => {
342
351
  null,
343
352
  -1
344
353
  /* HOISTED */
345
- ), H3 = /* @__PURE__ */ c(
354
+ ), U3 = /* @__PURE__ */ c(
346
355
  "path",
347
356
  {
348
357
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -352,10 +361,10 @@ const X = (n, e) => {
352
361
  null,
353
362
  -1
354
363
  /* HOISTED */
355
- ), O3 = [
356
- E3,
357
- H3
358
- ], A3 = {
364
+ ), T3 = [
365
+ A3,
366
+ U3
367
+ ], P3 = {
359
368
  key: 6,
360
369
  t: "1686300209288",
361
370
  class: "icon",
@@ -365,7 +374,7 @@ const X = (n, e) => {
365
374
  "p-id": "8757",
366
375
  width: "200",
367
376
  height: "200"
368
- }, T3 = /* @__PURE__ */ c(
377
+ }, L3 = /* @__PURE__ */ c(
369
378
  "path",
370
379
  {
371
380
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",
@@ -375,7 +384,7 @@ const X = (n, e) => {
375
384
  null,
376
385
  -1
377
386
  /* HOISTED */
378
- ), U3 = /* @__PURE__ */ c(
387
+ ), j3 = /* @__PURE__ */ c(
379
388
  "path",
380
389
  {
381
390
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -385,10 +394,10 @@ const X = (n, e) => {
385
394
  null,
386
395
  -1
387
396
  /* HOISTED */
388
- ), P3 = [
389
- T3,
390
- U3
391
- ], L3 = {
397
+ ), N3 = [
398
+ L3,
399
+ j3
400
+ ], W3 = {
392
401
  key: 7,
393
402
  t: "1686300225262",
394
403
  class: "icon",
@@ -398,7 +407,7 @@ const X = (n, e) => {
398
407
  "p-id": "8912",
399
408
  width: "200",
400
409
  height: "200"
401
- }, j3 = /* @__PURE__ */ c(
410
+ }, K3 = /* @__PURE__ */ c(
402
411
  "path",
403
412
  {
404
413
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",
@@ -408,7 +417,7 @@ const X = (n, e) => {
408
417
  null,
409
418
  -1
410
419
  /* HOISTED */
411
- ), N3 = /* @__PURE__ */ c(
420
+ ), G3 = /* @__PURE__ */ c(
412
421
  "path",
413
422
  {
414
423
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -418,10 +427,10 @@ const X = (n, e) => {
418
427
  null,
419
428
  -1
420
429
  /* HOISTED */
421
- ), W3 = [
422
- j3,
423
- N3
424
- ], K3 = {
430
+ ), X3 = [
431
+ K3,
432
+ G3
433
+ ], Y3 = {
425
434
  key: 8,
426
435
  t: "1692251753690",
427
436
  class: "icon",
@@ -431,7 +440,7 @@ const X = (n, e) => {
431
440
  "p-id": "4336",
432
441
  width: "200",
433
442
  height: "200"
434
- }, G3 = /* @__PURE__ */ c(
443
+ }, Z3 = /* @__PURE__ */ c(
435
444
  "path",
436
445
  {
437
446
  d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
@@ -441,7 +450,7 @@ const X = (n, e) => {
441
450
  null,
442
451
  -1
443
452
  /* HOISTED */
444
- ), X3 = /* @__PURE__ */ c(
453
+ ), J3 = /* @__PURE__ */ c(
445
454
  "path",
446
455
  {
447
456
  d: "M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",
@@ -452,7 +461,7 @@ const X = (n, e) => {
452
461
  null,
453
462
  -1
454
463
  /* HOISTED */
455
- ), Y3 = /* @__PURE__ */ c(
464
+ ), Q3 = /* @__PURE__ */ c(
456
465
  "path",
457
466
  {
458
467
  d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
@@ -462,11 +471,11 @@ const X = (n, e) => {
462
471
  null,
463
472
  -1
464
473
  /* HOISTED */
465
- ), Z3 = [
466
- G3,
467
- X3,
468
- Y3
469
- ], J3 = {
474
+ ), e6 = [
475
+ Z3,
476
+ J3,
477
+ Q3
478
+ ], t6 = {
470
479
  key: 9,
471
480
  t: "1692251753690",
472
481
  class: "icon",
@@ -476,7 +485,7 @@ const X = (n, e) => {
476
485
  "p-id": "4336",
477
486
  width: "200",
478
487
  height: "200"
479
- }, Q3 = /* @__PURE__ */ c(
488
+ }, n6 = /* @__PURE__ */ c(
480
489
  "path",
481
490
  {
482
491
  d: "M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",
@@ -486,7 +495,7 @@ const X = (n, e) => {
486
495
  null,
487
496
  -1
488
497
  /* HOISTED */
489
- ), e6 = /* @__PURE__ */ c(
498
+ ), o6 = /* @__PURE__ */ c(
490
499
  "path",
491
500
  {
492
501
  d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
@@ -496,7 +505,7 @@ const X = (n, e) => {
496
505
  null,
497
506
  -1
498
507
  /* HOISTED */
499
- ), t6 = /* @__PURE__ */ c(
508
+ ), i6 = /* @__PURE__ */ c(
500
509
  "path",
501
510
  {
502
511
  d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
@@ -507,7 +516,7 @@ const X = (n, e) => {
507
516
  null,
508
517
  -1
509
518
  /* HOISTED */
510
- ), n6 = /* @__PURE__ */ c(
519
+ ), l6 = /* @__PURE__ */ c(
511
520
  "path",
512
521
  {
513
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",
@@ -517,12 +526,12 @@ const X = (n, e) => {
517
526
  null,
518
527
  -1
519
528
  /* HOISTED */
520
- ), o6 = [
521
- Q3,
522
- e6,
523
- t6,
524
- n6
525
- ], i6 = {
529
+ ), s6 = [
530
+ n6,
531
+ o6,
532
+ i6,
533
+ l6
534
+ ], a6 = {
526
535
  key: 10,
527
536
  t: "1714099890925",
528
537
  class: "icon",
@@ -532,7 +541,7 @@ const X = (n, e) => {
532
541
  "p-id": "2271",
533
542
  width: "200",
534
543
  height: "200"
535
- }, s6 = /* @__PURE__ */ c(
544
+ }, c6 = /* @__PURE__ */ c(
536
545
  "path",
537
546
  {
538
547
  d: "M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",
@@ -542,7 +551,7 @@ const X = (n, e) => {
542
551
  null,
543
552
  -1
544
553
  /* HOISTED */
545
- ), l6 = /* @__PURE__ */ c(
554
+ ), r6 = /* @__PURE__ */ c(
546
555
  "path",
547
556
  {
548
557
  d: "M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",
@@ -553,7 +562,7 @@ const X = (n, e) => {
553
562
  null,
554
563
  -1
555
564
  /* HOISTED */
556
- ), a6 = /* @__PURE__ */ c(
565
+ ), u6 = /* @__PURE__ */ c(
557
566
  "path",
558
567
  {
559
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",
@@ -563,11 +572,11 @@ const X = (n, e) => {
563
572
  null,
564
573
  -1
565
574
  /* HOISTED */
566
- ), c6 = [
567
- s6,
568
- l6,
569
- a6
570
- ], r6 = {
575
+ ), d6 = [
576
+ c6,
577
+ r6,
578
+ u6
579
+ ], f6 = {
571
580
  key: 11,
572
581
  t: "1686300037564",
573
582
  class: "icon",
@@ -577,7 +586,7 @@ const X = (n, e) => {
577
586
  "p-id": "7515",
578
587
  width: "200",
579
588
  height: "200"
580
- }, d6 = /* @__PURE__ */ c(
589
+ }, v6 = /* @__PURE__ */ c(
581
590
  "path",
582
591
  {
583
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",
@@ -587,7 +596,7 @@ const X = (n, e) => {
587
596
  null,
588
597
  -1
589
598
  /* HOISTED */
590
- ), u6 = /* @__PURE__ */ c(
599
+ ), p6 = /* @__PURE__ */ c(
591
600
  "path",
592
601
  {
593
602
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -597,7 +606,7 @@ const X = (n, e) => {
597
606
  null,
598
607
  -1
599
608
  /* HOISTED */
600
- ), f6 = /* @__PURE__ */ c(
609
+ ), h6 = /* @__PURE__ */ c(
601
610
  "path",
602
611
  {
603
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",
@@ -607,11 +616,11 @@ const X = (n, e) => {
607
616
  null,
608
617
  -1
609
618
  /* HOISTED */
610
- ), p6 = [
611
- d6,
612
- u6,
613
- f6
614
- ], h6 = /* @__PURE__ */ z({
619
+ ), g6 = [
620
+ v6,
621
+ p6,
622
+ h6
623
+ ], _6 = /* @__PURE__ */ F({
615
624
  __name: "FileIcon",
616
625
  props: {
617
626
  type: {
@@ -631,11 +640,11 @@ const X = (n, e) => {
631
640
  })
632
641
  }
633
642
  },
634
- setup(n) {
635
- const e = n, i = V(() => e.file ? X(e.file, e.fields) : e.type);
636
- return (l, o) => i.value === "image" ? (r(), u("svg", p3, w3)) : i.value === "zip" ? (r(), u("svg", y3, z3)) : i.value === "ppt" ? (r(), u("svg", F3, S3)) : i.value === "word" ? (r(), u("svg", C3, I3)) : i.value === "pdf" ? (r(), u("svg", R3, M3)) : i.value === "txt" ? (r(), u("svg", q3, O3)) : i.value === "audio" ? (r(), u("svg", A3, P3)) : i.value === "video" ? (r(), u("svg", L3, W3)) : i.value === "excel" ? (r(), u("svg", K3, Z3)) : i.value === "exe" ? (r(), u("svg", J3, o6)) : i.value === "json" ? (r(), u("svg", i6, c6)) : (r(), u("svg", r6, p6));
643
+ setup(t) {
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, B3)) : i.value === "word" ? (u(), f("svg", I3, 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));
637
646
  }
638
- }), v6 = ["onClick"], g6 = { class: "text" }, m6 = { class: "fileName" }, w6 = { class: "size" }, y6 = /* @__PURE__ */ z({
647
+ }), m6 = ["onClick"], w6 = { class: "text" }, y6 = { class: "fileName" }, x6 = { class: "size" }, k6 = /* @__PURE__ */ F({
639
648
  __name: "IkPreviewFile",
640
649
  props: {
641
650
  list: {
@@ -704,81 +713,81 @@ const X = (n, e) => {
704
713
  default: ""
705
714
  }
706
715
  },
707
- setup(n) {
708
- const e = n, i = V(() => ({
716
+ setup(t) {
717
+ const n = t, { cLoadUrl: i, cOnlyofficeConfig: e } = v3(n), a = x(() => ({
709
718
  name: "name",
710
719
  url: "url",
711
720
  suffix: "suffix",
712
721
  size: "size",
713
- ...e.field
714
- })), l = F({}), o = F(!1), s = (t) => {
715
- var d, h;
722
+ ...n.field
723
+ })), l = S({}), s = S(!1), p = (r) => {
724
+ var g, _;
716
725
  l.value = {
717
- ...t,
718
- name: t.name,
719
- url: H(
720
- e.loadUrl,
721
- t.url || ((h = (d = t == null ? void 0 : t.response) == null ? void 0 : d.data) == null ? void 0 : h.id) || (t == null ? void 0 : t.id)
726
+ ...r,
727
+ name: r.name,
728
+ url: U(
729
+ i.value,
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)
722
731
  )
723
- }, o.value = !0;
724
- }, a = (t) => {
725
- l3.downloadFile(
726
- H(
727
- e.loadUrl,
728
- t[i.value.url] || t.attachmentId || t.id
732
+ }, s.value = !0;
733
+ }, h = (r) => {
734
+ a3.downloadFile(
735
+ U(
736
+ i.value,
737
+ r[a.value.url] || r.attachmentId || r.id
729
738
  ),
730
- t[i.value.name] || t.attachmentName
739
+ r[a.value.name] || r.attachmentName
731
740
  );
732
- }, v = V(() => s3.isNumber(e.width) ? `${e.width}px` : e.width), g = V(() => e.list.map((t) => ({
733
- ...t,
734
- name: t[i.value.name] || t.attachmentName,
735
- size: t[i.value.size] || t.fileSize || t.attachmentSize,
736
- suffix: t[i.value.suffix] || t.attachmentSuffix
741
+ }, o = x(() => s3.isNumber(n.width) ? `${n.width}px` : n.width), d = x(() => n.list.map((r) => ({
742
+ ...r,
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
737
746
  })));
738
- return (t, d) => {
739
- var h;
740
- return r(), u(
741
- M,
747
+ return (r, g) => {
748
+ var _, v, b;
749
+ return u(), f(
750
+ O,
742
751
  null,
743
752
  [
744
- (h = n.list) != null && h.length ? (r(!0), u(
745
- M,
753
+ (_ = t.list) != null && _.length ? (u(!0), f(
754
+ O,
746
755
  { key: 0 },
747
- T(g.value, (p, m) => {
748
- var f;
749
- return r(), u(
756
+ P(d.value, (y, m) => {
757
+ var q;
758
+ return u(), f(
750
759
  "div",
751
760
  {
752
- class: b(["iking-privew-annex", { "is-bg": n.showBg }]),
761
+ class: C(["iking-privew-annex", { "is-bg": t.showBg }]),
753
762
  key: m,
754
- style: k({
755
- marginBottom: m == ((f = n.list) == null ? void 0 : f.length) - 1 ? "0" : "10px",
756
- width: v.value
763
+ style: z({
764
+ marginBottom: m == ((q = t.list) == null ? void 0 : q.length) - 1 ? "0" : "10px",
765
+ width: o.value
757
766
  })
758
767
  },
759
768
  [
760
769
  c("div", {
761
770
  class: "file-card",
762
- onClick: (x) => s(p)
771
+ onClick: (E) => p(y)
763
772
  }, [
764
- _(h6, {
765
- file: p,
766
- style: k({ height: `${n.iconSize}px` }),
773
+ k(_6, {
774
+ file: y,
775
+ style: z({ height: `${t.iconSize}px` }),
767
776
  class: "ikui-w-auto",
768
- fields: i.value
777
+ fields: a.value
769
778
  }, null, 8, ["file", "style", "fields"]),
770
- c("div", g6, [
779
+ c("div", w6, [
771
780
  c(
772
781
  "div",
773
- m6,
774
- B(p.name),
782
+ y6,
783
+ I(y.name),
775
784
  1
776
785
  /* TEXT */
777
786
  ),
778
787
  c(
779
788
  "div",
780
- w6,
781
- B(y(d3)(p.size)),
789
+ x6,
790
+ I(w(d3)(y.size)),
782
791
  1
783
792
  /* TEXT */
784
793
  )
@@ -786,28 +795,28 @@ const X = (n, e) => {
786
795
  c(
787
796
  "div",
788
797
  {
789
- class: b(["flex flex-center", { "hover-show": n.iconHoverShow }])
798
+ class: C(["flex flex-center", { "hover-show": t.iconHoverShow }])
790
799
  },
791
800
  [
792
- _(y(I), {
801
+ k(w(R), {
793
802
  name: "iksvg_daochu",
794
- onClick: Z((x) => a(p), ["stop"]),
795
- bg: n.showBg,
796
- size: n.showBg ? "default" : 20
803
+ onClick: J((E) => h(y), ["stop"]),
804
+ bg: t.showBg,
805
+ size: t.showBg ? "default" : 20
797
806
  }, null, 8, ["onClick", "bg", "size"]),
798
- _(y(I), {
807
+ k(w(R), {
799
808
  name: "iksvg_yulan",
800
- bg: n.showBg,
801
- size: n.showBg ? "default" : 20
809
+ bg: t.showBg,
810
+ size: t.showBg ? "default" : 20
802
811
  }, null, 8, ["bg", "size"]),
803
- D(t.$slots, "operation", {
804
- data: { ...p, findex: m }
812
+ H(r.$slots, "operation", {
813
+ data: { ...y, findex: m }
805
814
  })
806
815
  ],
807
816
  2
808
817
  /* CLASS */
809
818
  )
810
- ], 8, v6)
819
+ ], 8, m6)
811
820
  ],
812
821
  6
813
822
  /* CLASS, STYLE */
@@ -815,15 +824,15 @@ const X = (n, e) => {
815
824
  }),
816
825
  128
817
826
  /* KEYED_FRAGMENT */
818
- )) : S("v-if", !0),
819
- _(y(z6), {
820
- show: o.value,
821
- "onUpdate:show": d[0] || (d[0] = (p) => o.value = p),
822
- loadUrl: n.loadUrl,
827
+ )) : V("v-if", !0),
828
+ k(w(b6), {
829
+ show: s.value,
830
+ "onUpdate:show": g[0] || (g[0] = (y) => s.value = y),
831
+ loadUrl: w(i),
823
832
  file: l.value,
824
- onlyofficeServer: n.onlyofficeServer,
825
- onlyOfficeConfig: n.onlyOfficeConfig,
826
- onlyOfficeAccept: n.onlyOfficeAccept
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
827
836
  }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
828
837
  ],
829
838
  64
@@ -832,9 +841,9 @@ const X = (n, e) => {
832
841
  };
833
842
  }
834
843
  });
835
- const _6 = $(y6), k6 = /* @__PURE__ */ z({
844
+ const z6 = M(k6), F6 = /* @__PURE__ */ F({
836
845
  __name: "IkPreviewFileDialog",
837
- props: /* @__PURE__ */ W({
846
+ props: /* @__PURE__ */ K({
838
847
  file: {
839
848
  type: Object,
840
849
  default: () => []
@@ -868,82 +877,82 @@ const _6 = $(y6), k6 = /* @__PURE__ */ z({
868
877
  showModifiers: {}
869
878
  }),
870
879
  emits: ["update:show"],
871
- setup(n) {
872
- const e = n, i = K(n, "show"), l = V(() => ({
880
+ setup(t) {
881
+ const n = t, i = G(t, "show"), e = x(() => ({
873
882
  name: "name",
874
883
  url: "url",
875
884
  suffix: "suffix",
876
885
  size: "fileSize",
877
- ...e.field
878
- })), o = F(null), s = F(null), a = J({
886
+ ...n.field
887
+ })), a = S(null), l = S(null), s = Q({
879
888
  image: !1,
880
889
  office: !1,
881
890
  video: !1
882
- }), v = (t) => {
883
- var d, h, p, m, f, x, E;
891
+ }), p = (o) => {
892
+ var d, r, g, _, v, b, y;
884
893
  try {
885
- const w = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || t, L = w[l.value.url] || (w == null ? void 0 : w.id) || w.attachmentId, A = (h = w[l.value.suffix] || w.attachmentSuffix) == null ? void 0 : h.toLowerCase(), Y = w[l.value.name] || (w == null ? void 0 : w.attachmentName) || (w == null ? void 0 : w.originName);
886
- if (s.value = {
887
- ...t,
888
- name: t[l.value.name],
889
- url: H(e.loadUrl, L)
890
- }, t && X(t, l.value) === "image") {
891
- a.image = !0;
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
+ ...o,
897
+ name: o[e.value.name],
898
+ url: U(n.loadUrl, q)
899
+ }, o && Y(o, e.value) === "image") {
900
+ s.image = !0;
892
901
  return;
893
- } else if ((((p = e.onlyOfficeConfig) == null ? void 0 : p.accept) || e.onlyOfficeAccept).includes(A)) {
894
- a.office = !0, o.value = {
895
- ...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,
896
905
  editorConfig: {
897
- ...((m = e.onlyOfficeConfig) == null ? void 0 : m.editorConfig) || {},
906
+ ...((_ = n.onlyOfficeConfig) == null ? void 0 : _.editorConfig) || {},
898
907
  customization: {
899
- ...((x = (f = e.onlyOfficeConfig) == null ? void 0 : f.editorConfig) == null ? void 0 : x.customization) || {},
908
+ ...((b = (v = n.onlyOfficeConfig) == null ? void 0 : v.editorConfig) == null ? void 0 : b.customization) || {},
900
909
  review: {
901
910
  reviewDisplay: "final"
902
911
  }
903
912
  }
904
913
  },
905
914
  document: {
906
- key: a3(),
907
- title: Y,
908
- url: H(e.loadUrl, L),
909
- fileType: A,
910
- ...((E = e.onlyOfficeConfig) == null ? void 0 : E.document) || {}
915
+ key: c3(),
916
+ title: Z,
917
+ url: U(n.loadUrl, q),
918
+ fileType: E,
919
+ ...((y = n.onlyOfficeConfig) == null ? void 0 : y.document) || {}
911
920
  },
912
- documentType: f3(A)
921
+ documentType: h3(E)
913
922
  };
914
923
  return;
915
924
  }
916
- } catch (w) {
917
- console.info("预览错误: ", w);
925
+ } catch (m) {
926
+ console.info("预览错误: ", m);
918
927
  }
919
928
  };
920
- G([i, e.file], ([t, d]) => {
921
- t && Q(() => {
922
- v(e.file);
929
+ X([i, n.file], ([o, d]) => {
930
+ o && e3(() => {
931
+ p(n.file);
923
932
  });
924
933
  });
925
- const g = () => {
926
- 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;
927
936
  };
928
- return (t, d) => {
929
- var p, m;
930
- const h = q("el-image-viewer");
931
- return i.value ? (r(), u(
932
- M,
937
+ return (o, d) => {
938
+ var g, _;
939
+ const r = A("el-image-viewer");
940
+ return i.value ? (u(), f(
941
+ O,
933
942
  { key: 0 },
934
943
  [
935
- (p = s.value) != null && p.url && a.image ? (r(), R(h, {
944
+ (g = l.value) != null && g.url && s.image ? (u(), D(r, {
936
945
  key: 0,
937
- onClose: d[0] || (d[0] = (f) => {
938
- s.value = null, a.image = !1;
946
+ onClose: d[0] || (d[0] = (v) => {
947
+ l.value = null, s.image = !1;
939
948
  }),
940
949
  ref: "previewImgRef",
941
- "url-list": [(m = s.value) == null ? void 0 : m.url]
942
- }, null, 8, ["url-list"])) : S("v-if", !0),
943
- S(" 文档类 "),
944
- _(y(H6), {
945
- modelValue: a.office,
946
- "onUpdate:modelValue": d[1] || (d[1] = (f) => a.office = f),
950
+ "url-list": [(_ = l.value) == null ? void 0 : _.url]
951
+ }, null, 8, ["url-list"])) : V("v-if", !0),
952
+ V(" 文档类 "),
953
+ k(w(U6), {
954
+ modelValue: s.office,
955
+ "onUpdate:modelValue": d[1] || (d[1] = (v) => s.office = v),
947
956
  draggable: "",
948
957
  "no-footer": "",
949
958
  "no-header": "",
@@ -953,37 +962,40 @@ const _6 = $(y6), k6 = /* @__PURE__ */ z({
953
962
  "close-on-click-modal": "",
954
963
  "close-on-press-escape": !1,
955
964
  "append-to-body": "",
956
- onClose: g,
965
+ onClose: h,
957
966
  "modal-class": "ik-only-preview-dialog"
958
967
  }, {
959
- default: C(() => [
960
- _(y(N6), {
961
- "config-options": o.value,
962
- "document-server-url": n.onlyOfficeConfig.serverUrl || n.onlyofficeServer
963
- }, null, 8, ["config-options", "document-server-url"])
964
- ]),
968
+ default: B(() => {
969
+ var v;
970
+ return [
971
+ k(w(G6), {
972
+ "config-options": a.value,
973
+ "document-server-url": ((v = t.onlyOfficeConfig) == null ? void 0 : v.serverUrl) || t.onlyofficeServer
974
+ }, null, 8, ["config-options", "document-server-url"])
975
+ ];
976
+ }),
965
977
  _: 1
966
978
  /* STABLE */
967
979
  }, 8, ["modelValue"])
968
980
  ],
969
981
  64
970
982
  /* STABLE_FRAGMENT */
971
- )) : S("v-if", !0);
983
+ )) : V("v-if", !0);
972
984
  };
973
985
  }
974
986
  });
975
- const z6 = $(k6), F6 = {
987
+ const b6 = M(F6), S6 = {
976
988
  key: 0,
977
989
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
978
- }, x6 = {
990
+ }, C6 = {
979
991
  key: 1,
980
992
  class: "h-[1em] w-[1em]",
981
993
  "aria-hidden": "true"
982
- }, b6 = ["xlink:href"], S6 = ["src"], C6 = {
994
+ }, V6 = ["xlink:href"], B6 = ["src"], I6 = {
983
995
  key: 1,
984
996
  class: "h-[1em] w-[1em]",
985
997
  "aria-hidden": "true"
986
- }, V6 = ["xlink:href"], B6 = ["src"], I6 = /* @__PURE__ */ z({
998
+ }, R6 = ["xlink:href"], $6 = ["src"], D6 = /* @__PURE__ */ F({
987
999
  name: "IkSvgIcon",
988
1000
  __name: "index",
989
1001
  props: {
@@ -1009,85 +1021,88 @@ const z6 = $(k6), F6 = {
1009
1021
  disabled: { type: Boolean, default: !1 },
1010
1022
  tableIconType: { default: "icon" }
1011
1023
  },
1012
- setup(n) {
1013
- const e = n, i = V(() => {
1014
- var o, s, a;
1015
- return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (o = e.name) != null && o.startsWith("iksig") ? "iksig" : (s = e.name) != null && s.includes(":") ? "iconify" : (a = e.name) != null && a.startsWith("iksvg") ? "svg" : "i";
1016
- }), l = V(() => {
1017
- const o = [];
1018
- if (e.flip)
1019
- switch (e.flip) {
1024
+ setup(t) {
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) {
1020
1035
  case "horizontal":
1021
- o.push("rotateY(180deg)");
1036
+ s.push("rotateY(180deg)");
1022
1037
  break;
1023
1038
  case "vertical":
1024
- o.push("rotateX(180deg)");
1039
+ s.push("rotateX(180deg)");
1025
1040
  break;
1026
1041
  case "both":
1027
- o.push("rotateX(180deg)"), o.push("rotateY(180deg)");
1042
+ s.push("rotateX(180deg)"), s.push("rotateY(180deg)");
1028
1043
  break;
1029
1044
  }
1030
- e.rotate && o.push(`rotate(${e.rotate % 360}deg)`);
1031
- const s = {
1032
- ...e.color && { color: e.color },
1033
- ...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
1034
- ...o.length && { transform: o.join(" ") },
1035
- padding: e.showBg || e.bg ? e.padding : 0,
1036
- ...e.color && i.value !== "iksig" ? {
1037
- "--ik-color-icon-dark": e.color,
1038
- "--ik-color-icon-light": e.colorLight || c3.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)
1039
1054
  } : {}
1040
1055
  };
1041
- 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;
1042
1057
  });
1043
- return (o, s) => {
1044
- const a = q("el-tooltip"), v = q("el-button");
1045
- return o.tableIconType === "icon" ? (r(), u("span", F6, [
1046
- o.notip || !o.title ? (r(), u(
1058
+ return (s, p) => {
1059
+ const h = A("el-tooltip"), o = A("el-button");
1060
+ return e.value.tableIconType === "icon" ? (u(), f("span", S6, [
1061
+ e.value.notip || !e.value.title ? (u(), f(
1047
1062
  "i",
1048
1063
  {
1049
1064
  key: 0,
1050
- class: b(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1051
- [o.name]: i.value === "unocss",
1052
- "show-bg": o.showBg || o.bg,
1053
- default: o.size === "default",
1054
- small: o.size === "small",
1055
- big: o.size === "big",
1056
- warning: o.warning || e.type === "warning",
1057
- primary: o.primary || e.type === "primary",
1058
- success: o.success || e.type === "success",
1059
- error: o.error || e.type === "error",
1060
- active: o.active,
1061
- disabled: o.disabled
1065
+ class: C(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
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
1062
1077
  }]),
1063
- style: k(l.value)
1078
+ style: z(l.value)
1064
1079
  },
1065
1080
  [
1066
- S(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1067
- i.value === "iksig" ? (r(), u(
1081
+ V(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1082
+ a.value === "iksig" ? (u(), f(
1068
1083
  "i",
1069
1084
  {
1070
1085
  key: 0,
1071
- class: b(`iksig ${o.name}`),
1072
- style: k(l.value)
1086
+ class: C(`iksig ${e.value.name}`),
1087
+ style: z(l.value)
1073
1088
  },
1074
1089
  null,
1075
1090
  6
1076
1091
  /* CLASS, STYLE */
1077
- )) : i.value === "svg" ? (r(), u("svg", x6, [
1092
+ )) : a.value === "svg" ? (u(), f("svg", C6, [
1078
1093
  c("use", {
1079
- "xlink:href": `#${o.name}`
1080
- }, null, 8, b6)
1081
- ])) : i.value === "img" ? (r(), u("img", {
1094
+ "xlink:href": `#${e.value.name}`
1095
+ }, null, 8, V6)
1096
+ ])) : a.value === "img" ? (u(), f("img", {
1082
1097
  key: 2,
1083
- src: o.name,
1098
+ src: e.value.name,
1084
1099
  class: "h-[1em] w-[1em]"
1085
- }, null, 8, S6)) : (r(), u(
1100
+ }, null, 8, B6)) : (u(), f(
1086
1101
  "i",
1087
1102
  {
1088
1103
  key: 3,
1089
- class: b(o.name),
1090
- style: k(l.value)
1104
+ class: C(e.value.name),
1105
+ style: z(l.value)
1091
1106
  },
1092
1107
  null,
1093
1108
  6
@@ -1096,54 +1111,54 @@ const z6 = $(k6), F6 = {
1096
1111
  ],
1097
1112
  6
1098
1113
  /* CLASS, STYLE */
1099
- )) : (r(), R(a, {
1114
+ )) : (u(), D(h, {
1100
1115
  key: 1,
1101
- content: o.title,
1116
+ content: e.value.title,
1102
1117
  placement: "top"
1103
1118
  }, {
1104
- default: C(() => [
1119
+ default: B(() => [
1105
1120
  c(
1106
1121
  "i",
1107
1122
  {
1108
- class: b(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1109
- [o.name]: i.value === "unocss",
1110
- "show-bg": o.showBg || o.bg,
1111
- default: o.size === "default",
1112
- small: o.size === "small",
1113
- big: o.size === "big",
1114
- warning: o.warning || e.type === "warning",
1115
- primary: o.primary || e.type === "primary",
1116
- success: o.success || e.type === "success",
1117
- error: o.error || e.type === "error",
1118
- active: o.active
1123
+ class: C(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
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
1119
1134
  }]),
1120
- style: k(l.value)
1135
+ style: z(l.value)
1121
1136
  },
1122
1137
  [
1123
- i.value === "iksig" ? (r(), u(
1138
+ a.value === "iksig" ? (u(), f(
1124
1139
  "i",
1125
1140
  {
1126
1141
  key: 0,
1127
- class: b(`iksig ${o.name}`),
1128
- style: k(l.value)
1142
+ class: C(`iksig ${e.value.name}`),
1143
+ style: z(l.value)
1129
1144
  },
1130
1145
  null,
1131
1146
  6
1132
1147
  /* CLASS, STYLE */
1133
- )) : i.value === "svg" ? (r(), u("svg", C6, [
1148
+ )) : a.value === "svg" ? (u(), f("svg", I6, [
1134
1149
  c("use", {
1135
- "xlink:href": `#${o.name}`
1136
- }, null, 8, V6)
1137
- ])) : i.value === "img" ? (r(), u("img", {
1150
+ "xlink:href": `#${e.value.name}`
1151
+ }, null, 8, R6)
1152
+ ])) : a.value === "img" ? (u(), f("img", {
1138
1153
  key: 2,
1139
- src: o.name,
1154
+ src: e.value.name,
1140
1155
  class: "h-[1em] w-[1em]"
1141
- }, null, 8, B6)) : (r(), u(
1156
+ }, null, 8, $6)) : (u(), f(
1142
1157
  "i",
1143
1158
  {
1144
1159
  key: 3,
1145
- class: b(o.name),
1146
- style: k(l.value)
1160
+ class: C(e.value.name),
1161
+ style: z(l.value)
1147
1162
  },
1148
1163
  null,
1149
1164
  6
@@ -1157,13 +1172,13 @@ const z6 = $(k6), F6 = {
1157
1172
  _: 1
1158
1173
  /* STABLE */
1159
1174
  }, 8, ["content"]))
1160
- ])) : (r(), R(v, {
1175
+ ])) : (u(), D(o, {
1161
1176
  key: 1,
1162
- type: ["warning", "error"].includes(o.type) ? "danger" : ""
1177
+ type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
1163
1178
  }, {
1164
- default: C(() => [
1165
- U(
1166
- B(o.title),
1179
+ default: B(() => [
1180
+ L(
1181
+ I(e.value.title),
1167
1182
  1
1168
1183
  /* TEXT */
1169
1184
  )
@@ -1174,10 +1189,10 @@ const z6 = $(k6), F6 = {
1174
1189
  };
1175
1190
  }
1176
1191
  });
1177
- const R6 = /* @__PURE__ */ O(I6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(R6), $6 = {
1192
+ const M6 = /* @__PURE__ */ T(D6, [["__scopeId", "data-v-1be337e4"]]), R = M(M6), q6 = {
1178
1193
  key: 0,
1179
1194
  class: "exit-main-page-maximize"
1180
- }, D6 = /* @__PURE__ */ z({
1195
+ }, E6 = /* @__PURE__ */ F({
1181
1196
  __name: "CloseIcon",
1182
1197
  props: {
1183
1198
  showBg: {
@@ -1189,16 +1204,16 @@ const R6 = /* @__PURE__ */ O(I6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(R6),
1189
1204
  default: !1
1190
1205
  }
1191
1206
  },
1192
- setup(n) {
1193
- return (e, i) => (r(), u("div", null, [
1194
- n.showBg && n.fullscreen ? (r(), u("div", $6, [
1195
- _(y(I), {
1207
+ setup(t) {
1208
+ return (n, i) => (u(), f("div", null, [
1209
+ t.showBg && t.fullscreen ? (u(), f("div", q6, [
1210
+ k(w(R), {
1196
1211
  name: "iksvg_guanbidanchuang",
1197
1212
  title: "关闭",
1198
1213
  size: 20,
1199
1214
  error: ""
1200
1215
  })
1201
- ])) : (r(), R(y(I), {
1216
+ ])) : (u(), D(w(R), {
1202
1217
  key: 1,
1203
1218
  error: "",
1204
1219
  name: "iksvg_guanbidanchuang",
@@ -1208,9 +1223,9 @@ const R6 = /* @__PURE__ */ O(I6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(R6),
1208
1223
  ]));
1209
1224
  }
1210
1225
  });
1211
- const M6 = /* @__PURE__ */ O(D6, [["__scopeId", "data-v-79f49df8"]]), q6 = { class: "base-header" }, E6 = /* @__PURE__ */ z({
1226
+ const H6 = /* @__PURE__ */ T(E6, [["__scopeId", "data-v-79f49df8"]]), O6 = { class: "base-header" }, A6 = /* @__PURE__ */ F({
1212
1227
  __name: "IkBaseDialog",
1213
- props: /* @__PURE__ */ W({
1228
+ props: /* @__PURE__ */ K({
1214
1229
  title: { default: "" },
1215
1230
  cancelText: { default: "取消" },
1216
1231
  confirmText: { default: "确认" },
@@ -1228,65 +1243,65 @@ const M6 = /* @__PURE__ */ O(D6, [["__scopeId", "data-v-79f49df8"]]), q6 = { cla
1228
1243
  modelModifiers: {}
1229
1244
  }),
1230
1245
  emits: ["update:modelValue"],
1231
- setup(n) {
1232
- const e = n, i = K(n, "modelValue"), l = F(e.fullscreen), o = () => {
1233
- l.value = !l.value;
1234
- }, s = z({
1246
+ setup(t) {
1247
+ const n = t, i = G(t, "modelValue"), e = S(n.fullscreen), a = () => {
1248
+ e.value = !e.value;
1249
+ }, l = F({
1235
1250
  setup() {
1236
- return () => e3(M6, {
1237
- showBg: e.showCloseBg,
1238
- fullscreen: e.fullscreen
1251
+ return () => t3(H6, {
1252
+ showBg: n.showCloseBg,
1253
+ fullscreen: n.fullscreen
1239
1254
  });
1240
1255
  }
1241
1256
  });
1242
- return (a, v) => {
1243
- const g = q("el-dialog");
1244
- return r(), R(g, t3({
1257
+ return (s, p) => {
1258
+ const h = A("el-dialog");
1259
+ return u(), D(h, n3({
1245
1260
  modelValue: i.value,
1246
- "onUpdate:modelValue": v[0] || (v[0] = (t) => i.value = t)
1247
- }, a.$attrs, {
1248
- "close-icon": y(s),
1249
- class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
1250
- 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,
1251
1266
  "modal-class": "baseDialog"
1252
- }), n3({
1253
- icon: C(() => [
1254
- D(a.$slots, "title", {}, () => [
1255
- U(
1256
- B(a.title),
1267
+ }), o3({
1268
+ icon: B(() => [
1269
+ H(s.$slots, "title", {}, () => [
1270
+ L(
1271
+ I(s.title),
1257
1272
  1
1258
1273
  /* TEXT */
1259
1274
  )
1260
1275
  ])
1261
1276
  ]),
1262
- header: C(() => [
1263
- c("div", q6, [
1264
- D(a.$slots, "header", {}, () => [
1265
- U(
1266
- B(a.title),
1277
+ header: B(() => [
1278
+ c("div", O6, [
1279
+ H(s.$slots, "header", {}, () => [
1280
+ L(
1281
+ I(s.title),
1267
1282
  1
1268
1283
  /* TEXT */
1269
1284
  )
1270
1285
  ])
1271
1286
  ]),
1272
- a.$attrs.showClose ? (r(), R(y(I), {
1287
+ s.$attrs.showClose ? (u(), D(w(R), {
1273
1288
  key: 0,
1274
- onClick: o,
1275
- name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1289
+ onClick: a,
1290
+ name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1276
1291
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1277
- title: l.value ? "退出全屏" : "全屏"
1278
- }, null, 8, ["name", "title"])) : S("v-if", !0)
1292
+ title: e.value ? "退出全屏" : "全屏"
1293
+ }, null, 8, ["name", "title"])) : V("v-if", !0)
1279
1294
  ]),
1280
- default: C(() => [
1281
- D(a.$slots, "default")
1295
+ default: B(() => [
1296
+ H(s.$slots, "default")
1282
1297
  ]),
1283
1298
  _: 2
1284
1299
  /* DYNAMIC */
1285
1300
  }, [
1286
- a.$slots.footer ? {
1301
+ s.$slots.footer ? {
1287
1302
  name: "footer",
1288
- fn: C(() => [
1289
- D(a.$slots, "footer")
1303
+ fn: B(() => [
1304
+ H(s.$slots, "footer")
1290
1305
  ]),
1291
1306
  key: "0"
1292
1307
  } : void 0
@@ -1294,135 +1309,135 @@ const M6 = /* @__PURE__ */ O(D6, [["__scopeId", "data-v-79f49df8"]]), q6 = { cla
1294
1309
  };
1295
1310
  }
1296
1311
  });
1297
- const H6 = $(E6);
1298
- function O6(n, e, i, l) {
1299
- function o(s) {
1300
- return s instanceof i ? s : new i(function(a) {
1301
- 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);
1302
1317
  });
1303
1318
  }
1304
- return new (i || (i = Promise))(function(s, a) {
1305
- function v(d) {
1319
+ return new (i || (i = Promise))(function(l, s) {
1320
+ function p(d) {
1306
1321
  try {
1307
- t(l.next(d));
1308
- } catch (h) {
1309
- a(h);
1322
+ o(e.next(d));
1323
+ } catch (r) {
1324
+ s(r);
1310
1325
  }
1311
1326
  }
1312
- function g(d) {
1327
+ function h(d) {
1313
1328
  try {
1314
- t(l.throw(d));
1315
- } catch (h) {
1316
- a(h);
1329
+ o(e.throw(d));
1330
+ } catch (r) {
1331
+ s(r);
1317
1332
  }
1318
1333
  }
1319
- function t(d) {
1320
- d.done ? s(d.value) : o(d.value).then(v, g);
1334
+ function o(d) {
1335
+ d.done ? l(d.value) : a(d.value).then(p, h);
1321
1336
  }
1322
- t((l = l.apply(n, e || [])).next());
1337
+ o((e = e.apply(t, n || [])).next());
1323
1338
  });
1324
1339
  }
1325
- function A6(n, e) {
1340
+ function P6(t, n) {
1326
1341
  var i = { label: 0, sent: function() {
1327
- if (s[0] & 1)
1328
- throw s[1];
1329
- return s[1];
1330
- }, trys: [], ops: [] }, l, o, s, a;
1331
- return a = { next: v(0), throw: v(1), return: v(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() {
1332
1347
  return this;
1333
- }), a;
1334
- function v(t) {
1348
+ }), s;
1349
+ function p(o) {
1335
1350
  return function(d) {
1336
- return g([t, d]);
1351
+ return h([o, d]);
1337
1352
  };
1338
1353
  }
1339
- function g(t) {
1340
- if (l)
1354
+ function h(o) {
1355
+ if (e)
1341
1356
  throw new TypeError("Generator is already executing.");
1342
- for (; a && (a = 0, t[0] && (i = 0)), i; )
1357
+ for (; s && (s = 0, o[0] && (i = 0)), i; )
1343
1358
  try {
1344
- if (l = 1, o && (s = t[0] & 2 ? o.return : t[0] ? o.throw || ((s = o.return) && s.call(o), 0) : o.next) && !(s = s.call(o, t[1])).done)
1345
- return s;
1346
- switch (o = 0, s && (t = [t[0] & 2, s.value]), t[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]) {
1347
1362
  case 0:
1348
1363
  case 1:
1349
- s = t;
1364
+ l = o;
1350
1365
  break;
1351
1366
  case 4:
1352
- return i.label++, { value: t[1], done: !1 };
1367
+ return i.label++, { value: o[1], done: !1 };
1353
1368
  case 5:
1354
- i.label++, o = t[1], t = [0];
1369
+ i.label++, a = o[1], o = [0];
1355
1370
  continue;
1356
1371
  case 7:
1357
- t = i.ops.pop(), i.trys.pop();
1372
+ o = i.ops.pop(), i.trys.pop();
1358
1373
  continue;
1359
1374
  default:
1360
- if (s = i.trys, !(s = s.length > 0 && s[s.length - 1]) && (t[0] === 6 || t[0] === 2)) {
1375
+ if (l = i.trys, !(l = l.length > 0 && l[l.length - 1]) && (o[0] === 6 || o[0] === 2)) {
1361
1376
  i = 0;
1362
1377
  continue;
1363
1378
  }
1364
- if (t[0] === 3 && (!s || t[1] > s[0] && t[1] < s[3])) {
1365
- i.label = t[1];
1379
+ if (o[0] === 3 && (!l || o[1] > l[0] && o[1] < l[3])) {
1380
+ i.label = o[1];
1366
1381
  break;
1367
1382
  }
1368
- if (t[0] === 6 && i.label < s[1]) {
1369
- i.label = s[1], s = t;
1383
+ if (o[0] === 6 && i.label < l[1]) {
1384
+ i.label = l[1], l = o;
1370
1385
  break;
1371
1386
  }
1372
- if (s && i.label < s[2]) {
1373
- i.label = s[2], i.ops.push(t);
1387
+ if (l && i.label < l[2]) {
1388
+ i.label = l[2], i.ops.push(o);
1374
1389
  break;
1375
1390
  }
1376
- s[2] && i.ops.pop(), i.trys.pop();
1391
+ l[2] && i.ops.pop(), i.trys.pop();
1377
1392
  continue;
1378
1393
  }
1379
- t = e.call(n, i);
1394
+ o = n.call(t, i);
1380
1395
  } catch (d) {
1381
- t = [6, d], o = 0;
1396
+ o = [6, d], a = 0;
1382
1397
  } finally {
1383
- l = s = 0;
1398
+ e = l = 0;
1384
1399
  }
1385
- if (t[0] & 5)
1386
- throw t[1];
1387
- return { value: t[0] ? t[1] : void 0, done: !0 };
1400
+ if (o[0] & 5)
1401
+ throw o[1];
1402
+ return { value: o[0] ? o[1] : void 0, done: !0 };
1388
1403
  }
1389
1404
  }
1390
- var T6 = function(n, e) {
1391
- return O6(void 0, void 0, void 0, function() {
1392
- return A6(this, function(i) {
1393
- return [2, new Promise(function(l, o) {
1405
+ var L6 = function(t, n) {
1406
+ return T6(void 0, void 0, void 0, function() {
1407
+ return P6(this, function(i) {
1408
+ return [2, new Promise(function(e, a) {
1394
1409
  try {
1395
1410
  if (window.DocsAPI)
1396
- return l(null);
1397
- var s = document.getElementById(e);
1398
- if (s)
1399
- var a = setInterval(function() {
1400
- var g = s.getAttribute("loading");
1401
- if (!g) {
1402
- if (clearInterval(a), window.DocsAPI)
1403
- return l(null);
1404
- var t = N(e, n, l, o);
1405
- s.remove(), document.body.appendChild(t);
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);
1406
1421
  }
1407
1422
  }, 500);
1408
1423
  else {
1409
- var v = N(e, n, l, o);
1410
- document.body.appendChild(v);
1424
+ var p = W(n, t, e, a);
1425
+ document.body.appendChild(p);
1411
1426
  }
1412
- } catch (g) {
1413
- console.error(g);
1427
+ } catch (h) {
1428
+ console.error(h);
1414
1429
  }
1415
1430
  })];
1416
1431
  });
1417
1432
  });
1418
- }, N = function(n, e, i, l) {
1419
- var o = document.createElement("script");
1420
- return o.id = n, o.type = "text/javascript", o.src = e, o.async = !0, o.onload = function() {
1421
- o.removeAttribute("loading"), i(null);
1422
- }, o.onerror = function(s) {
1423
- o.removeAttribute("loading"), l(s);
1424
- }, o.setAttribute("loading", ""), o;
1425
- }, P = z({
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({
1426
1441
  name: "DocumentEditor",
1427
1442
  props: {
1428
1443
  id: {
@@ -1474,59 +1489,59 @@ var T6 = function(n, e) {
1474
1489
  events_onRequestSelectDocument: Function
1475
1490
  },
1476
1491
  mounted: function() {
1477
- var n = this, e = this.documentServerUrl;
1478
- e.endsWith("/") || (e += "/");
1479
- var i = "".concat(e, "web-apps/apps/api/documents/api.js");
1480
- T6(i, "onlyoffice-api-script").then(function() {
1481
- return n.onLoad();
1492
+ var t = this, n = this.documentServerUrl;
1493
+ n.endsWith("/") || (n += "/");
1494
+ var i = "".concat(n, "web-apps/apps/api/documents/api.js");
1495
+ L6(i, "onlyoffice-api-script").then(function() {
1496
+ return t.onLoad();
1482
1497
  }).catch(function() {
1483
- n.onError(-2);
1498
+ t.onError(-2);
1484
1499
  });
1485
1500
  },
1486
1501
  unmounted: function() {
1487
- var n, e = this.id || "";
1488
- !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[e] && (window.DocEditor.instances[e].destroyEditor(), window.DocEditor.instances[e] = void 0);
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);
1489
1504
  },
1490
1505
  watch: {
1491
1506
  config: {
1492
- handler: function(n, e) {
1507
+ handler: function(t, n) {
1493
1508
  this.onChangeProps();
1494
1509
  },
1495
1510
  deep: !0
1496
1511
  },
1497
- document_fileType: function(n, e) {
1512
+ document_fileType: function(t, n) {
1498
1513
  this.onChangeProps();
1499
1514
  },
1500
- document_title: function(n, e) {
1515
+ document_title: function(t, n) {
1501
1516
  this.onChangeProps();
1502
1517
  },
1503
- documentType: function(n, e) {
1518
+ documentType: function(t, n) {
1504
1519
  this.onChangeProps();
1505
1520
  },
1506
- editorConfig_lang: function(n, e) {
1521
+ editorConfig_lang: function(t, n) {
1507
1522
  this.onChangeProps();
1508
1523
  },
1509
- height: function(n, e) {
1524
+ height: function(t, n) {
1510
1525
  this.onChangeProps();
1511
1526
  },
1512
- type: function(n, e) {
1527
+ type: function(t, n) {
1513
1528
  this.onChangeProps();
1514
1529
  },
1515
- width: function(n, e) {
1530
+ width: function(t, n) {
1516
1531
  this.onChangeProps();
1517
1532
  }
1518
1533
  },
1519
1534
  methods: {
1520
1535
  onLoad: function() {
1521
- var n, e;
1536
+ var t, n;
1522
1537
  try {
1523
1538
  var i = this.id || "";
1524
- if (window.DocsAPI || this.onError(-3), !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[i]) {
1539
+ if (window.DocsAPI || this.onError(-3), !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[i]) {
1525
1540
  console.log("Skip loading. Instance already exists", i);
1526
1541
  return;
1527
1542
  }
1528
- !((e = window == null ? void 0 : window.DocEditor) === null || e === void 0) && e.instances || (window.DocEditor = { instances: {} });
1529
- 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({
1530
1545
  document: {
1531
1546
  fileType: this.document_fileType,
1532
1547
  title: this.document_title
@@ -1561,43 +1576,43 @@ var T6 = function(n, e) {
1561
1576
  height: this.height,
1562
1577
  type: this.type,
1563
1578
  width: this.width
1564
- }, this.config || {}), o = window.DocsAPI.DocEditor(i, l);
1565
- window.DocEditor.instances[i] = o;
1566
- } catch (s) {
1567
- 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);
1568
1583
  }
1569
1584
  },
1570
- onError: function(n) {
1571
- var e;
1572
- switch (n) {
1585
+ onError: function(t) {
1586
+ var n;
1587
+ switch (t) {
1573
1588
  case -2:
1574
- e = "Error load DocsAPI from " + this.documentServerUrl;
1589
+ n = "Error load DocsAPI from " + this.documentServerUrl;
1575
1590
  break;
1576
1591
  case -3:
1577
- e = "DocsAPI is not defined";
1592
+ n = "DocsAPI is not defined";
1578
1593
  break;
1579
1594
  default:
1580
- e = "Unknown error loading component", n = -1;
1595
+ n = "Unknown error loading component", t = -1;
1581
1596
  }
1582
- typeof this.onLoadComponentError > "u" ? console.error(e) : this.onLoadComponentError(n, e);
1597
+ typeof this.onLoadComponentError > "u" ? console.error(n) : this.onLoadComponentError(t, n);
1583
1598
  },
1584
1599
  onAppReady: function() {
1585
- var n = this.id || "";
1586
- this.events_onAppReady(window.DocEditor.instances[n]);
1600
+ var t = this.id || "";
1601
+ this.events_onAppReady(window.DocEditor.instances[t]);
1587
1602
  },
1588
1603
  onChangeProps: function() {
1589
- var n, e = this.id || "";
1590
- !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[e] && (window.DocEditor.instances[e].destroyEditor(), window.DocEditor.instances[e] = void 0, console.log("Important props have been changed. Load new Editor."), this.onLoad());
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());
1591
1606
  }
1592
1607
  }
1593
1608
  });
1594
- const U6 = ["id"];
1595
- function P6(n, e, i, l, o, s) {
1596
- return r(), u("div", { id: n.id }, null, 8, U6);
1609
+ const j6 = ["id"];
1610
+ function N6(t, n, i, e, a, l) {
1611
+ return u(), f("div", { id: t.id }, null, 8, j6);
1597
1612
  }
1598
- P.render = P6;
1599
- P.__file = "src/components/DocumentEditor.vue";
1600
- const L6 = /* @__PURE__ */ z({
1613
+ j.render = N6;
1614
+ j.__file = "src/components/DocumentEditor.vue";
1615
+ const W6 = /* @__PURE__ */ F({
1601
1616
  __name: "IkOnlyOffice",
1602
1617
  props: {
1603
1618
  // 文件服务器的服务的地址
@@ -1617,27 +1632,27 @@ const L6 = /* @__PURE__ */ z({
1617
1632
  default: "100%"
1618
1633
  }
1619
1634
  },
1620
- setup(n) {
1621
- const e = n, i = F({
1635
+ setup(t) {
1636
+ const n = t, i = S({
1622
1637
  width: "100%",
1623
1638
  height: "100%",
1624
- ...e.configOptions || {},
1625
- ...e.configOptions
1626
- }), l = () => {
1627
- console.info("文档加载完成", e.configOptions);
1639
+ ...n.configOptions || {},
1640
+ ...n.configOptions
1641
+ }), e = () => {
1642
+ console.info("文档加载完成", n.configOptions);
1628
1643
  };
1629
- return (o, s) => (r(), u(
1644
+ return (a, l) => (u(), f(
1630
1645
  "div",
1631
1646
  {
1632
- style: k({ height: e.officeHeight })
1647
+ style: z({ height: n.officeHeight })
1633
1648
  },
1634
1649
  [
1635
- _(y(P), {
1650
+ k(w(j), {
1636
1651
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1637
1652
  ref: "editorRef",
1638
- "document-server-url": n.documentServerUrl,
1653
+ "document-server-url": t.documentServerUrl,
1639
1654
  config: i.value,
1640
- events_onDocumentReady: l
1655
+ events_onDocumentReady: e
1641
1656
  }, null, 8, ["id", "document-server-url", "config"])
1642
1657
  ],
1643
1658
  4
@@ -1645,22 +1660,22 @@ const L6 = /* @__PURE__ */ z({
1645
1660
  ));
1646
1661
  }
1647
1662
  });
1648
- const j6 = /* @__PURE__ */ O(L6, [["__scopeId", "data-v-98d51ef9"]]), N6 = $(j6), W6 = (n) => (o3("data-v-170abcfc"), n = n(), i3(), n), K6 = {
1663
+ const K6 = /* @__PURE__ */ T(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = M(K6), X6 = (t) => (i3("data-v-170abcfc"), t = t(), l3(), t), Y6 = {
1649
1664
  key: 0,
1650
1665
  class: "preview-files"
1651
- }, G6 = {
1666
+ }, Z6 = {
1652
1667
  class: "flex",
1653
1668
  style: { width: "80%", "align-items": "center" }
1654
- }, X6 = ["onClick"], Y6 = ["title"], Z6 = { style: { color: "#b8c6d9" } }, J6 = ["onClick"], Q6 = /* @__PURE__ */ W6(() => /* @__PURE__ */ c(
1669
+ }, J6 = ["onClick"], Q6 = ["title"], ee = { style: { color: "#b8c6d9" } }, te = ["onClick"], ne = /* @__PURE__ */ X6(() => /* @__PURE__ */ c(
1655
1670
  "span",
1656
1671
  null,
1657
1672
  "预览",
1658
1673
  -1
1659
1674
  /* HOISTED */
1660
- )), ee = {
1675
+ )), oe = {
1661
1676
  key: 1,
1662
1677
  class: "flex preview-img"
1663
- }, te = /* @__PURE__ */ z({
1678
+ }, ie = /* @__PURE__ */ F({
1664
1679
  __name: "IKDetailPreviewFiles",
1665
1680
  props: {
1666
1681
  // 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
@@ -1689,79 +1704,79 @@ const j6 = /* @__PURE__ */ O(L6, [["__scopeId", "data-v-98d51ef9"]]), N6 = $(j6)
1689
1704
  default: ""
1690
1705
  }
1691
1706
  },
1692
- setup(n) {
1693
- const e = n, i = F(e.fileList);
1694
- G(
1695
- () => e.fileList,
1696
- (t) => {
1697
- t && (i.value = t);
1707
+ setup(t) {
1708
+ const n = t, i = S(n.fileList);
1709
+ X(
1710
+ () => n.fileList,
1711
+ (o) => {
1712
+ o && (i.value = o);
1698
1713
  },
1699
1714
  { immediate: !0 }
1700
1715
  );
1701
- const l = F(!1), o = F({}), s = (t) => {
1702
- o.value = {
1703
- url: t.url,
1704
- name: t.name
1716
+ const e = S(!1), a = S({}), l = (o) => {
1717
+ a.value = {
1718
+ url: o.url,
1719
+ name: o.name
1705
1720
  // row.originName
1706
- }, l.value = !0;
1707
- }, a = (t) => {
1708
- var d, h, p, m, f;
1709
- return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "iksvg_pdf" : (h = t == null ? void 0 : t.suffix) != null && h.includes("doc") ? "iksvg_word" : (p = t == null ? void 0 : t.suffix) != null && p.includes("xls") ? "iksvg_excel" : (m = t == null ? void 0 : t.suffix) != null && m.includes("mov") ? "iksvg_mov" : (f = t == null ? void 0 : t.suffix) != null && f.includes("zip") ? "iksvg_zip" : "icon-jpg";
1710
- }, v = (t) => {
1711
- var d, h, p, m, f;
1712
- return (d = t == null ? void 0 : t.suffix) != null && d.includes("pdf") ? "#FA4E4E" : (h = t == null ? void 0 : t.suffix) != null && h.includes("doc") ? "#2c69e0" : (p = t.suffix) != null && p.includes("xls") ? "#39BFBF" : (m = t.suffix) != null && m.includes("txt") ? "#2c69e0" : (f = t.suffix) != null && f.includes("zip") ? "#FF9000" : "#32CD79";
1713
- }, g = (t) => {
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";
1728
+ }, h = (o) => {
1714
1729
  const d = document.createElement("a");
1715
- d.href = r3.assembleUrl(e.loadUrl, t.url), d.download = t.name, d.click();
1730
+ d.href = u3.assembleUrl(n.loadUrl, o.url), d.download = o.name, d.click();
1716
1731
  };
1717
- return (t, d) => {
1718
- var p, m;
1719
- const h = q("el-image");
1720
- return r(), u("div", null, [
1721
- e.fileType === "file" ? (r(), u("div", K6, [
1722
- (r(!0), u(
1723
- M,
1732
+ return (o, d) => {
1733
+ var g, _;
1734
+ const r = A("el-image");
1735
+ return u(), f("div", null, [
1736
+ n.fileType === "file" ? (u(), f("div", Y6, [
1737
+ (u(!0), f(
1738
+ O,
1724
1739
  null,
1725
- T(i.value, (f, x) => (r(), u(
1740
+ P(i.value, (v, b) => (u(), f(
1726
1741
  "div",
1727
1742
  {
1728
- key: x,
1743
+ key: b,
1729
1744
  class: "files-item",
1730
- style: k({
1731
- width: e.fileWidth,
1732
- "margin-right": e.fileWidth === "100%" ? "0px" : ""
1745
+ style: z({
1746
+ width: n.fileWidth,
1747
+ "margin-right": n.fileWidth === "100%" ? "0px" : ""
1733
1748
  })
1734
1749
  },
1735
1750
  [
1736
- c("div", G6, [
1737
- _(y(I), {
1738
- name: a(f),
1739
- style: k(`color:${v(f)}`),
1751
+ c("div", Z6, [
1752
+ k(w(R), {
1753
+ name: s(v),
1754
+ style: z(`color:${p(v)}`),
1740
1755
  size: 36
1741
1756
  }, null, 8, ["name", "style"]),
1742
1757
  c("div", {
1743
1758
  class: "file-name",
1744
- onClick: (E) => g(f)
1759
+ onClick: (y) => h(v)
1745
1760
  }, [
1746
1761
  c("p", {
1747
- title: f.name
1748
- }, B(f.name), 9, Y6),
1762
+ title: v.name
1763
+ }, I(v.name), 9, Q6),
1749
1764
  c(
1750
1765
  "p",
1751
- Z6,
1752
- B((f.size / 1024).toFixed(2)) + "KB",
1766
+ ee,
1767
+ I((v.size / 1024).toFixed(2)) + "KB",
1753
1768
  1
1754
1769
  /* TEXT */
1755
1770
  )
1756
- ], 8, X6)
1771
+ ], 8, J6)
1757
1772
  ]),
1758
1773
  c("div", {
1759
1774
  class: "file-preview",
1760
- onClick: (E) => s(f)
1775
+ onClick: (y) => l(v)
1761
1776
  }, [
1762
- _(y(I), { name: "iksvg_yulan" }),
1763
- Q6
1764
- ], 8, J6)
1777
+ k(w(R), { name: "iksvg_yulan" }),
1778
+ ne
1779
+ ], 8, te)
1765
1780
  ],
1766
1781
  4
1767
1782
  /* STYLE */
@@ -1769,40 +1784,40 @@ const j6 = /* @__PURE__ */ O(L6, [["__scopeId", "data-v-98d51ef9"]]), N6 = $(j6)
1769
1784
  128
1770
1785
  /* KEYED_FRAGMENT */
1771
1786
  ))
1772
- ])) : S("v-if", !0),
1773
- e.fileType === "img" ? (r(), u("div", ee, [
1774
- (r(!0), u(
1775
- M,
1787
+ ])) : V("v-if", !0),
1788
+ n.fileType === "img" ? (u(), f("div", oe, [
1789
+ (u(!0), f(
1790
+ O,
1776
1791
  null,
1777
- T(i.value, (f, x) => (r(), u("div", {
1778
- key: x,
1792
+ P(i.value, (v, b) => (u(), f("div", {
1793
+ key: b,
1779
1794
  class: "preview-img"
1780
1795
  }, [
1781
- _(h, {
1796
+ k(r, {
1782
1797
  class: "show-img",
1783
- src: n.loadUrl + f.url,
1784
- "preview-src-list": [n.loadUrl + f.url],
1798
+ src: t.loadUrl + v.url,
1799
+ "preview-src-list": [t.loadUrl + v.url],
1785
1800
  fit: "cover"
1786
1801
  }, null, 8, ["src", "preview-src-list"])
1787
1802
  ]))),
1788
1803
  128
1789
1804
  /* KEYED_FRAGMENT */
1790
1805
  ))
1791
- ])) : S("v-if", !0),
1792
- _(y(_6), {
1793
- modelValue: l.value,
1794
- "onUpdate:modelValue": d[0] || (d[0] = (f) => l.value = f),
1795
- "load-url": e.loadUrl,
1796
- url: (p = o.value) == null ? void 0 : p.url,
1797
- "kk-url": n.kkUrl,
1798
- "file-name": (m = o.value) == null ? void 0 : m.name
1806
+ ])) : V("v-if", !0),
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,
1812
+ "kk-url": t.kkUrl,
1813
+ "file-name": (_ = a.value) == null ? void 0 : _.name
1799
1814
  }, null, 8, ["modelValue", "load-url", "url", "kk-url", "file-name"])
1800
1815
  ]);
1801
1816
  };
1802
1817
  }
1803
1818
  });
1804
- const ne = /* @__PURE__ */ O(te, [["__scopeId", "data-v-170abcfc"]]), le = $(ne);
1819
+ const le = /* @__PURE__ */ T(ie, [["__scopeId", "data-v-170abcfc"]]), re = M(le);
1805
1820
  export {
1806
- le as IKDetailPreviewFiles,
1807
- le as default
1821
+ re as IKDetailPreviewFiles,
1822
+ re as default
1808
1823
  };