iking-web-ui-pro 0.2.4 → 0.2.5

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 (43) hide show
  1. package/dist/IKDetailPreviewFiles/ik.index.es.js +517 -505
  2. package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
  3. package/dist/IKPreviewFile/ik.index.es.js +406 -394
  4. package/dist/IKPreviewFile/ik.index.umd.js +1 -1
  5. package/dist/IkApprovalProcessDetail/ik.index.es.js +682 -670
  6. package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
  7. package/dist/IkApprovalProcessDetail/style.css +1 -1
  8. package/dist/IkDescription/ik.index.es.js +414 -402
  9. package/dist/IkDescription/ik.index.umd.js +1 -1
  10. package/dist/IkPreviewFileDialog/ik.index.es.js +54 -51
  11. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  12. package/dist/IkUploadFile/ik.index.es.js +866 -851
  13. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  14. package/dist/IkUploadFile/style.css +1 -1
  15. package/dist/IkUploadImage/ik.index.es.js +284 -275
  16. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  17. package/dist/IkUploadImage/style.css +1 -1
  18. package/dist/Provider/ik.index.es.js +1607 -0
  19. package/dist/Provider/ik.index.umd.js +17 -0
  20. package/dist/index.es.js +39054 -37445
  21. package/dist/index.umd.js +95 -79
  22. package/dist/src/components/IKDetailPreviewFiles/index.d.ts +1 -1
  23. package/dist/src/components/IKDetailPreviewFiles/src/IKDetailPreviewFiles.vue.d.ts +1 -1
  24. package/dist/src/components/IKPreviewFile/index.d.ts +3 -3
  25. package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +1 -1
  26. package/dist/src/components/IkApprovalProcess/index.d.ts +1 -1
  27. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +1 -1
  28. package/dist/src/components/IkDescription/index.d.ts +3 -3
  29. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +1 -1
  30. package/dist/src/components/IkPreviewFileDialog/index.d.ts +1 -1
  31. package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +1 -1
  32. package/dist/src/components/IkTinymce/index.d.ts +1 -1
  33. package/dist/src/components/IkTinymce/src/index.vue.d.ts +1 -1
  34. package/dist/src/components/IkUploadFile/index.d.ts +3 -3
  35. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
  36. package/dist/src/components/IkUploadImage/index.d.ts +3 -3
  37. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
  38. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +57 -0
  39. package/dist/src/components/Provider/index.d.ts +120 -0
  40. package/dist/src/components/index.d.ts +1 -0
  41. package/dist/src/utils/use-provider.d.ts +8 -0
  42. package/dist/style.css +1 -1
  43. 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 ?? {})])
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) => {
4
+ if (t.install = (i) => {
5
+ for (const l of [t, ...Object.values(e ?? {})])
6
6
  i.component(l.name, l);
7
7
  }, e)
8
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;
9
+ t[i] = l;
10
+ return t;
11
+ }, T = (t, e) => {
12
+ const i = t.__vccOpts || t;
13
+ for (const [l, n] of e)
14
+ i[l] = n;
15
15
  return i;
16
- }, d3 = (n, e = 2) => {
17
- if (n === void 0)
16
+ }, u3 = (t, e = 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"], 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}` : "";
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));
27
+ return {
28
+ cLoadUrl: i,
29
+ cUploadUrl: n,
30
+ cToken: a,
31
+ cOnlyofficeConfig: v,
32
+ cUserInfo: u
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 = {
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 n)
53
+ if (typeof l == "string" && (l.includes(o) || l === o))
54
+ return n[o];
46
55
  return "unknown";
47
- }, u3 = {
56
+ }, h3 = {
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 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;
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
+ }, m3 = /* @__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
+ ), w3 = /* @__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
+ ), y3 = /* @__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
+ ), _3 = /* @__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
+ ), k3 = [
198
+ m3,
199
+ w3,
200
+ y3,
201
+ _3
202
+ ], z3 = {
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
+ }, F3 = /* @__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
+ ), x3 = /* @__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
+ F3,
234
+ x3
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
+ ), s6 = /* @__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
+ ), l6 = [
530
+ n6,
531
+ o6,
532
+ i6,
533
+ s6
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
+ ), d6 = /* @__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
+ ), u6 = [
576
+ c6,
577
+ r6,
578
+ d6
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
+ }, p6 = /* @__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
+ ), h6 = /* @__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
+ ), v6 = /* @__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
+ p6,
621
+ h6,
622
+ v6
623
+ ], m6 = /* @__PURE__ */ x({
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 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));
637
646
  }
638
- }), v6 = ["onClick"], g6 = { class: "text" }, m6 = { class: "fileName" }, w6 = { class: "size" }, y6 = /* @__PURE__ */ z({
647
+ }), w6 = ["onClick"], y6 = { class: "text" }, _6 = { class: "fileName" }, k6 = { class: "size" }, z6 = /* @__PURE__ */ x({
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 e = t, { cLoadUrl: i, cOnlyofficeConfig: l } = p3(e), n = k(() => ({
709
718
  name: "name",
710
719
  url: "url",
711
720
  suffix: "suffix",
712
721
  size: "size",
713
722
  ...e.field
714
- })), l = F({}), o = F(!1), s = (t) => {
715
- var d, h;
716
- 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)
723
+ })), s = S({}), a = S(!1), h = (r) => {
724
+ var g, m;
725
+ s.value = {
726
+ ...r,
727
+ name: r.name,
728
+ url: U(
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)
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
+ }, a.value = !0;
733
+ }, v = (r) => {
734
+ a3.downloadFile(
735
+ U(
736
+ i.value,
737
+ r[n.value.url] || r.attachmentId || r.id
729
738
  ),
730
- t[i.value.name] || t.attachmentName
739
+ r[n.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 = k(() => l3.isNumber(e.width) ? `${e.width}px` : e.width), u = k(() => e.list.map((r) => ({
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
737
746
  })));
738
- return (t, d) => {
739
- var h;
740
- return r(), u(
741
- M,
747
+ return (r, g) => {
748
+ var m, p, b;
749
+ return d(), f(
750
+ O,
742
751
  null,
743
752
  [
744
- (h = n.list) != null && h.length ? (r(!0), u(
745
- M,
753
+ (m = t.list) != null && m.length ? (d(!0), f(
754
+ O,
746
755
  { key: 0 },
747
- T(g.value, (p, m) => {
748
- var f;
749
- return r(), u(
756
+ P(u.value, (_, w) => {
757
+ var M;
758
+ return d(), f(
750
759
  "div",
751
760
  {
752
- class: b(["iking-privew-annex", { "is-bg": n.showBg }]),
753
- key: m,
754
- style: k({
755
- marginBottom: m == ((f = n.list) == null ? void 0 : f.length) - 1 ? "0" : "10px",
756
- width: v.value
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",
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: (q) => h(_)
763
772
  }, [
764
- _(h6, {
765
- file: p,
766
- style: k({ height: `${n.iconSize}px` }),
773
+ z(m6, {
774
+ file: _,
775
+ style: F({ height: `${t.iconSize}px` }),
767
776
  class: "ikui-w-auto",
768
- fields: i.value
777
+ fields: n.value
769
778
  }, null, 8, ["file", "style", "fields"]),
770
- c("div", g6, [
779
+ c("div", y6, [
771
780
  c(
772
781
  "div",
773
- m6,
774
- B(p.name),
782
+ _6,
783
+ I(_.name),
775
784
  1
776
785
  /* TEXT */
777
786
  ),
778
787
  c(
779
788
  "div",
780
- w6,
781
- B(y(d3)(p.size)),
789
+ k6,
790
+ I(y(u3)(_.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
+ z(y(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((q) => v(_), ["stop"]),
804
+ bg: t.showBg,
805
+ size: t.showBg ? "default" : 20
797
806
  }, null, 8, ["onClick", "bg", "size"]),
798
- _(y(I), {
807
+ z(y(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: { ..._, findex: w }
805
814
  })
806
815
  ],
807
816
  2
808
817
  /* CLASS */
809
818
  )
810
- ], 8, v6)
819
+ ], 8, w6)
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,
823
- file: l.value,
824
- onlyofficeServer: n.onlyofficeServer,
825
- onlyOfficeConfig: n.onlyOfficeConfig,
826
- onlyOfficeAccept: n.onlyOfficeAccept
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
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 F6 = D(z6), x6 = /* @__PURE__ */ x({
836
845
  __name: "IkPreviewFileDialog",
837
- props: /* @__PURE__ */ W({
846
+ props: /* @__PURE__ */ K({
838
847
  file: {
839
848
  type: Object,
840
849
  default: () => []
@@ -868,48 +877,48 @@ 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 e = t, i = G(t, "show"), l = k(() => ({
873
882
  name: "name",
874
883
  url: "url",
875
884
  suffix: "suffix",
876
885
  size: "fileSize",
877
886
  ...e.field
878
- })), o = F(null), s = F(null), a = J({
887
+ })), n = S(null), s = S(null), a = 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
+ }), h = (o) => {
892
+ var u, r, g, m, p, b, _;
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);
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);
886
895
  if (s.value = {
887
- ...t,
888
- name: t[l.value.name],
889
- url: H(e.loadUrl, L)
890
- }, t && X(t, l.value) === "image") {
896
+ ...o,
897
+ name: o[l.value.name],
898
+ url: U(e.loadUrl, M)
899
+ }, o && Y(o, l.value) === "image") {
891
900
  a.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 = {
902
+ } else if ((((g = e.onlyOfficeConfig) == null ? void 0 : g.accept) || e.onlyOfficeAccept).includes(q)) {
903
+ a.office = !0, n.value = {
895
904
  ...e.onlyOfficeConfig,
896
905
  editorConfig: {
897
906
  ...((m = e.onlyOfficeConfig) == null ? void 0 : m.editorConfig) || {},
898
907
  customization: {
899
- ...((x = (f = e.onlyOfficeConfig) == null ? void 0 : f.editorConfig) == null ? void 0 : x.customization) || {},
908
+ ...((b = (p = e.onlyOfficeConfig) == null ? void 0 : p.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(e.loadUrl, M),
918
+ fileType: q,
919
+ ...((_ = e.onlyOfficeConfig) == null ? void 0 : _.document) || {}
911
920
  },
912
- documentType: f3(A)
921
+ documentType: v3(q)
913
922
  };
914
923
  return;
915
924
  }
@@ -917,33 +926,33 @@ const _6 = $(y6), k6 = /* @__PURE__ */ z({
917
926
  console.info("预览错误: ", w);
918
927
  }
919
928
  };
920
- G([i, e.file], ([t, d]) => {
921
- t && Q(() => {
922
- v(e.file);
929
+ X([i, e.file], ([o, u]) => {
930
+ o && e3(() => {
931
+ h(e.file);
923
932
  });
924
933
  });
925
- const g = () => {
934
+ const v = () => {
926
935
  i.value = !1, a.office = !1, a.image = !1, a.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, u) => {
938
+ var g, m;
939
+ const r = A("el-image-viewer");
940
+ return i.value ? (d(), f(
941
+ O,
933
942
  { key: 0 },
934
943
  [
935
- (p = s.value) != null && p.url && a.image ? (r(), R(h, {
944
+ (g = s.value) != null && g.url && a.image ? (d(), $(r, {
936
945
  key: 0,
937
- onClose: d[0] || (d[0] = (f) => {
946
+ onClose: u[0] || (u[0] = (p) => {
938
947
  s.value = null, a.image = !1;
939
948
  }),
940
949
  ref: "previewImgRef",
941
950
  "url-list": [(m = s.value) == null ? void 0 : m.url]
942
- }, null, 8, ["url-list"])) : S("v-if", !0),
943
- S(" 文档类 "),
944
- _(y(H6), {
951
+ }, null, 8, ["url-list"])) : V("v-if", !0),
952
+ V(" 文档类 "),
953
+ z(y(U6), {
945
954
  modelValue: a.office,
946
- "onUpdate:modelValue": d[1] || (d[1] = (f) => a.office = f),
955
+ "onUpdate:modelValue": u[1] || (u[1] = (p) => a.office = p),
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: v,
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 p;
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
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 = D(x6), 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__ */ x({
987
999
  name: "IkSvgIcon",
988
1000
  __name: "index",
989
1001
  props: {
@@ -1009,85 +1021,85 @@ 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 = [];
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 = [];
1018
1030
  if (e.flip)
1019
1031
  switch (e.flip) {
1020
1032
  case "horizontal":
1021
- o.push("rotateY(180deg)");
1033
+ n.push("rotateY(180deg)");
1022
1034
  break;
1023
1035
  case "vertical":
1024
- o.push("rotateX(180deg)");
1036
+ n.push("rotateX(180deg)");
1025
1037
  break;
1026
1038
  case "both":
1027
- o.push("rotateX(180deg)"), o.push("rotateY(180deg)");
1039
+ n.push("rotateX(180deg)"), n.push("rotateY(180deg)");
1028
1040
  break;
1029
1041
  }
1030
- e.rotate && o.push(`rotate(${e.rotate % 360}deg)`);
1042
+ e.rotate && n.push(`rotate(${e.rotate % 360}deg)`);
1031
1043
  const s = {
1032
1044
  ...e.color && { color: e.color },
1033
1045
  ...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
1034
- ...o.length && { transform: o.join(" ") },
1046
+ ...n.length && { transform: n.join(" ") },
1035
1047
  padding: e.showBg || e.bg ? e.padding : 0,
1036
1048
  ...e.color && i.value !== "iksig" ? {
1037
1049
  "--ik-color-icon-dark": e.color,
1038
- "--ik-color-icon-light": e.colorLight || c3.setOpacity(e.color, e.opacity)
1050
+ "--ik-color-icon-light": e.colorLight || r3.setOpacity(e.color, e.opacity)
1039
1051
  } : {}
1040
1052
  };
1041
1053
  return e.width && (s.width = s.height = typeof e.width == "number" ? `${e.width}px` : e.width), s;
1042
1054
  });
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(
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(
1047
1059
  "i",
1048
1060
  {
1049
1061
  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
1062
+ 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
1062
1074
  }]),
1063
- style: k(l.value)
1075
+ style: F(l.value)
1064
1076
  },
1065
1077
  [
1066
- S(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1067
- i.value === "iksig" ? (r(), u(
1078
+ V(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1079
+ i.value === "iksig" ? (d(), f(
1068
1080
  "i",
1069
1081
  {
1070
1082
  key: 0,
1071
- class: b(`iksig ${o.name}`),
1072
- style: k(l.value)
1083
+ class: C(`iksig ${n.name}`),
1084
+ style: F(l.value)
1073
1085
  },
1074
1086
  null,
1075
1087
  6
1076
1088
  /* CLASS, STYLE */
1077
- )) : i.value === "svg" ? (r(), u("svg", x6, [
1089
+ )) : i.value === "svg" ? (d(), f("svg", C6, [
1078
1090
  c("use", {
1079
- "xlink:href": `#${o.name}`
1080
- }, null, 8, b6)
1081
- ])) : i.value === "img" ? (r(), u("img", {
1091
+ "xlink:href": `#${n.name}`
1092
+ }, null, 8, V6)
1093
+ ])) : i.value === "img" ? (d(), f("img", {
1082
1094
  key: 2,
1083
- src: o.name,
1095
+ src: n.name,
1084
1096
  class: "h-[1em] w-[1em]"
1085
- }, null, 8, S6)) : (r(), u(
1097
+ }, null, 8, B6)) : (d(), f(
1086
1098
  "i",
1087
1099
  {
1088
1100
  key: 3,
1089
- class: b(o.name),
1090
- style: k(l.value)
1101
+ class: C(n.name),
1102
+ style: F(l.value)
1091
1103
  },
1092
1104
  null,
1093
1105
  6
@@ -1096,54 +1108,54 @@ const z6 = $(k6), F6 = {
1096
1108
  ],
1097
1109
  6
1098
1110
  /* CLASS, STYLE */
1099
- )) : (r(), R(a, {
1111
+ )) : (d(), $(a, {
1100
1112
  key: 1,
1101
- content: o.title,
1113
+ content: n.title,
1102
1114
  placement: "top"
1103
1115
  }, {
1104
- default: C(() => [
1116
+ default: B(() => [
1105
1117
  c(
1106
1118
  "i",
1107
1119
  {
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
1120
+ 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
1119
1131
  }]),
1120
- style: k(l.value)
1132
+ style: F(l.value)
1121
1133
  },
1122
1134
  [
1123
- i.value === "iksig" ? (r(), u(
1135
+ i.value === "iksig" ? (d(), f(
1124
1136
  "i",
1125
1137
  {
1126
1138
  key: 0,
1127
- class: b(`iksig ${o.name}`),
1128
- style: k(l.value)
1139
+ class: C(`iksig ${n.name}`),
1140
+ style: F(l.value)
1129
1141
  },
1130
1142
  null,
1131
1143
  6
1132
1144
  /* CLASS, STYLE */
1133
- )) : i.value === "svg" ? (r(), u("svg", C6, [
1145
+ )) : i.value === "svg" ? (d(), f("svg", I6, [
1134
1146
  c("use", {
1135
- "xlink:href": `#${o.name}`
1136
- }, null, 8, V6)
1137
- ])) : i.value === "img" ? (r(), u("img", {
1147
+ "xlink:href": `#${n.name}`
1148
+ }, null, 8, R6)
1149
+ ])) : i.value === "img" ? (d(), f("img", {
1138
1150
  key: 2,
1139
- src: o.name,
1151
+ src: n.name,
1140
1152
  class: "h-[1em] w-[1em]"
1141
- }, null, 8, B6)) : (r(), u(
1153
+ }, null, 8, $6)) : (d(), f(
1142
1154
  "i",
1143
1155
  {
1144
1156
  key: 3,
1145
- class: b(o.name),
1146
- style: k(l.value)
1157
+ class: C(n.name),
1158
+ style: F(l.value)
1147
1159
  },
1148
1160
  null,
1149
1161
  6
@@ -1157,13 +1169,13 @@ const z6 = $(k6), F6 = {
1157
1169
  _: 1
1158
1170
  /* STABLE */
1159
1171
  }, 8, ["content"]))
1160
- ])) : (r(), R(v, {
1172
+ ])) : (d(), $(h, {
1161
1173
  key: 1,
1162
- type: ["warning", "error"].includes(o.type) ? "danger" : ""
1174
+ type: ["warning", "error"].includes(n.type) ? "danger" : ""
1163
1175
  }, {
1164
- default: C(() => [
1165
- U(
1166
- B(o.title),
1176
+ default: B(() => [
1177
+ L(
1178
+ I(n.title),
1167
1179
  1
1168
1180
  /* TEXT */
1169
1181
  )
@@ -1174,10 +1186,10 @@ const z6 = $(k6), F6 = {
1174
1186
  };
1175
1187
  }
1176
1188
  });
1177
- const R6 = /* @__PURE__ */ O(I6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(R6), $6 = {
1189
+ const M6 = /* @__PURE__ */ T(D6, [["__scopeId", "data-v-7d95dbf5"]]), R = D(M6), q6 = {
1178
1190
  key: 0,
1179
1191
  class: "exit-main-page-maximize"
1180
- }, D6 = /* @__PURE__ */ z({
1192
+ }, E6 = /* @__PURE__ */ x({
1181
1193
  __name: "CloseIcon",
1182
1194
  props: {
1183
1195
  showBg: {
@@ -1189,16 +1201,16 @@ const R6 = /* @__PURE__ */ O(I6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(R6),
1189
1201
  default: !1
1190
1202
  }
1191
1203
  },
1192
- setup(n) {
1193
- return (e, i) => (r(), u("div", null, [
1194
- n.showBg && n.fullscreen ? (r(), u("div", $6, [
1195
- _(y(I), {
1204
+ setup(t) {
1205
+ return (e, i) => (d(), f("div", null, [
1206
+ t.showBg && t.fullscreen ? (d(), f("div", q6, [
1207
+ z(y(R), {
1196
1208
  name: "iksvg_guanbidanchuang",
1197
1209
  title: "关闭",
1198
1210
  size: 20,
1199
1211
  error: ""
1200
1212
  })
1201
- ])) : (r(), R(y(I), {
1213
+ ])) : (d(), $(y(R), {
1202
1214
  key: 1,
1203
1215
  error: "",
1204
1216
  name: "iksvg_guanbidanchuang",
@@ -1208,9 +1220,9 @@ const R6 = /* @__PURE__ */ O(I6, [["__scopeId", "data-v-7d95dbf5"]]), I = $(R6),
1208
1220
  ]));
1209
1221
  }
1210
1222
  });
1211
- const M6 = /* @__PURE__ */ O(D6, [["__scopeId", "data-v-79f49df8"]]), q6 = { class: "base-header" }, E6 = /* @__PURE__ */ z({
1223
+ const H6 = /* @__PURE__ */ T(E6, [["__scopeId", "data-v-79f49df8"]]), O6 = { class: "base-header" }, A6 = /* @__PURE__ */ x({
1212
1224
  __name: "IkBaseDialog",
1213
- props: /* @__PURE__ */ W({
1225
+ props: /* @__PURE__ */ K({
1214
1226
  title: { default: "" },
1215
1227
  cancelText: { default: "取消" },
1216
1228
  confirmText: { default: "确认" },
@@ -1228,65 +1240,65 @@ const M6 = /* @__PURE__ */ O(D6, [["__scopeId", "data-v-79f49df8"]]), q6 = { cla
1228
1240
  modelModifiers: {}
1229
1241
  }),
1230
1242
  emits: ["update:modelValue"],
1231
- setup(n) {
1232
- const e = n, i = K(n, "modelValue"), l = F(e.fullscreen), o = () => {
1243
+ setup(t) {
1244
+ const e = t, i = G(t, "modelValue"), l = S(e.fullscreen), n = () => {
1233
1245
  l.value = !l.value;
1234
- }, s = z({
1246
+ }, s = x({
1235
1247
  setup() {
1236
- return () => e3(M6, {
1248
+ return () => t3(H6, {
1237
1249
  showBg: e.showCloseBg,
1238
1250
  fullscreen: e.fullscreen
1239
1251
  });
1240
1252
  }
1241
1253
  });
1242
- return (a, v) => {
1243
- const g = q("el-dialog");
1244
- return r(), R(g, t3({
1254
+ return (a, h) => {
1255
+ const v = A("el-dialog");
1256
+ return d(), $(v, n3({
1245
1257
  modelValue: i.value,
1246
- "onUpdate:modelValue": v[0] || (v[0] = (t) => i.value = t)
1258
+ "onUpdate:modelValue": h[0] || (h[0] = (o) => i.value = o)
1247
1259
  }, a.$attrs, {
1248
1260
  "close-icon": y(s),
1249
1261
  class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
1250
1262
  fullscreen: l.value,
1251
1263
  "modal-class": "baseDialog"
1252
- }), n3({
1253
- icon: C(() => [
1254
- D(a.$slots, "title", {}, () => [
1255
- U(
1256
- B(a.title),
1264
+ }), o3({
1265
+ icon: B(() => [
1266
+ H(a.$slots, "title", {}, () => [
1267
+ L(
1268
+ I(a.title),
1257
1269
  1
1258
1270
  /* TEXT */
1259
1271
  )
1260
1272
  ])
1261
1273
  ]),
1262
- header: C(() => [
1263
- c("div", q6, [
1264
- D(a.$slots, "header", {}, () => [
1265
- U(
1266
- B(a.title),
1274
+ header: B(() => [
1275
+ c("div", O6, [
1276
+ H(a.$slots, "header", {}, () => [
1277
+ L(
1278
+ I(a.title),
1267
1279
  1
1268
1280
  /* TEXT */
1269
1281
  )
1270
1282
  ])
1271
1283
  ]),
1272
- a.$attrs.showClose ? (r(), R(y(I), {
1284
+ a.$attrs.showClose ? (d(), $(y(R), {
1273
1285
  key: 0,
1274
- onClick: o,
1286
+ onClick: n,
1275
1287
  name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1276
1288
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1277
1289
  title: l.value ? "退出全屏" : "全屏"
1278
- }, null, 8, ["name", "title"])) : S("v-if", !0)
1290
+ }, null, 8, ["name", "title"])) : V("v-if", !0)
1279
1291
  ]),
1280
- default: C(() => [
1281
- D(a.$slots, "default")
1292
+ default: B(() => [
1293
+ H(a.$slots, "default")
1282
1294
  ]),
1283
1295
  _: 2
1284
1296
  /* DYNAMIC */
1285
1297
  }, [
1286
1298
  a.$slots.footer ? {
1287
1299
  name: "footer",
1288
- fn: C(() => [
1289
- D(a.$slots, "footer")
1300
+ fn: B(() => [
1301
+ H(a.$slots, "footer")
1290
1302
  ]),
1291
1303
  key: "0"
1292
1304
  } : void 0
@@ -1294,135 +1306,135 @@ const M6 = /* @__PURE__ */ O(D6, [["__scopeId", "data-v-79f49df8"]]), q6 = { cla
1294
1306
  };
1295
1307
  }
1296
1308
  });
1297
- const H6 = $(E6);
1298
- function O6(n, e, i, l) {
1299
- function o(s) {
1309
+ const U6 = D(A6);
1310
+ function T6(t, e, i, l) {
1311
+ function n(s) {
1300
1312
  return s instanceof i ? s : new i(function(a) {
1301
1313
  a(s);
1302
1314
  });
1303
1315
  }
1304
1316
  return new (i || (i = Promise))(function(s, a) {
1305
- function v(d) {
1317
+ function h(u) {
1306
1318
  try {
1307
- t(l.next(d));
1308
- } catch (h) {
1309
- a(h);
1319
+ o(l.next(u));
1320
+ } catch (r) {
1321
+ a(r);
1310
1322
  }
1311
1323
  }
1312
- function g(d) {
1324
+ function v(u) {
1313
1325
  try {
1314
- t(l.throw(d));
1315
- } catch (h) {
1316
- a(h);
1326
+ o(l.throw(u));
1327
+ } catch (r) {
1328
+ a(r);
1317
1329
  }
1318
1330
  }
1319
- function t(d) {
1320
- d.done ? s(d.value) : o(d.value).then(v, g);
1331
+ function o(u) {
1332
+ u.done ? s(u.value) : n(u.value).then(h, v);
1321
1333
  }
1322
- t((l = l.apply(n, e || [])).next());
1334
+ o((l = l.apply(t, e || [])).next());
1323
1335
  });
1324
1336
  }
1325
- function A6(n, e) {
1337
+ function P6(t, e) {
1326
1338
  var i = { label: 0, sent: function() {
1327
1339
  if (s[0] & 1)
1328
1340
  throw s[1];
1329
1341
  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
+ }, 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() {
1332
1344
  return this;
1333
1345
  }), a;
1334
- function v(t) {
1335
- return function(d) {
1336
- return g([t, d]);
1346
+ function h(o) {
1347
+ return function(u) {
1348
+ return v([o, u]);
1337
1349
  };
1338
1350
  }
1339
- function g(t) {
1351
+ function v(o) {
1340
1352
  if (l)
1341
1353
  throw new TypeError("Generator is already executing.");
1342
- for (; a && (a = 0, t[0] && (i = 0)), i; )
1354
+ for (; a && (a = 0, o[0] && (i = 0)), i; )
1343
1355
  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)
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)
1345
1357
  return s;
1346
- switch (o = 0, s && (t = [t[0] & 2, s.value]), t[0]) {
1358
+ switch (n = 0, s && (o = [o[0] & 2, s.value]), o[0]) {
1347
1359
  case 0:
1348
1360
  case 1:
1349
- s = t;
1361
+ s = o;
1350
1362
  break;
1351
1363
  case 4:
1352
- return i.label++, { value: t[1], done: !1 };
1364
+ return i.label++, { value: o[1], done: !1 };
1353
1365
  case 5:
1354
- i.label++, o = t[1], t = [0];
1366
+ i.label++, n = o[1], o = [0];
1355
1367
  continue;
1356
1368
  case 7:
1357
- t = i.ops.pop(), i.trys.pop();
1369
+ o = i.ops.pop(), i.trys.pop();
1358
1370
  continue;
1359
1371
  default:
1360
- if (s = i.trys, !(s = s.length > 0 && s[s.length - 1]) && (t[0] === 6 || t[0] === 2)) {
1372
+ if (s = i.trys, !(s = s.length > 0 && s[s.length - 1]) && (o[0] === 6 || o[0] === 2)) {
1361
1373
  i = 0;
1362
1374
  continue;
1363
1375
  }
1364
- if (t[0] === 3 && (!s || t[1] > s[0] && t[1] < s[3])) {
1365
- i.label = t[1];
1376
+ if (o[0] === 3 && (!s || o[1] > s[0] && o[1] < s[3])) {
1377
+ i.label = o[1];
1366
1378
  break;
1367
1379
  }
1368
- if (t[0] === 6 && i.label < s[1]) {
1369
- i.label = s[1], s = t;
1380
+ if (o[0] === 6 && i.label < s[1]) {
1381
+ i.label = s[1], s = o;
1370
1382
  break;
1371
1383
  }
1372
1384
  if (s && i.label < s[2]) {
1373
- i.label = s[2], i.ops.push(t);
1385
+ i.label = s[2], i.ops.push(o);
1374
1386
  break;
1375
1387
  }
1376
1388
  s[2] && i.ops.pop(), i.trys.pop();
1377
1389
  continue;
1378
1390
  }
1379
- t = e.call(n, i);
1380
- } catch (d) {
1381
- t = [6, d], o = 0;
1391
+ o = e.call(t, i);
1392
+ } catch (u) {
1393
+ o = [6, u], n = 0;
1382
1394
  } finally {
1383
1395
  l = s = 0;
1384
1396
  }
1385
- if (t[0] & 5)
1386
- throw t[1];
1387
- return { value: t[0] ? t[1] : void 0, done: !0 };
1397
+ if (o[0] & 5)
1398
+ throw o[1];
1399
+ return { value: o[0] ? o[1] : void 0, done: !0 };
1388
1400
  }
1389
1401
  }
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) {
1402
+ var L6 = function(t, e) {
1403
+ return T6(void 0, void 0, void 0, function() {
1404
+ return P6(this, function(i) {
1405
+ return [2, new Promise(function(l, n) {
1394
1406
  try {
1395
1407
  if (window.DocsAPI)
1396
1408
  return l(null);
1397
1409
  var s = document.getElementById(e);
1398
1410
  if (s)
1399
1411
  var a = setInterval(function() {
1400
- var g = s.getAttribute("loading");
1401
- if (!g) {
1412
+ var v = s.getAttribute("loading");
1413
+ if (!v) {
1402
1414
  if (clearInterval(a), window.DocsAPI)
1403
1415
  return l(null);
1404
- var t = N(e, n, l, o);
1405
- s.remove(), document.body.appendChild(t);
1416
+ var o = W(e, t, l, n);
1417
+ s.remove(), document.body.appendChild(o);
1406
1418
  }
1407
1419
  }, 500);
1408
1420
  else {
1409
- var v = N(e, n, l, o);
1410
- document.body.appendChild(v);
1421
+ var h = W(e, t, l, n);
1422
+ document.body.appendChild(h);
1411
1423
  }
1412
- } catch (g) {
1413
- console.error(g);
1424
+ } catch (v) {
1425
+ console.error(v);
1414
1426
  }
1415
1427
  })];
1416
1428
  });
1417
1429
  });
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({
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({
1426
1438
  name: "DocumentEditor",
1427
1439
  props: {
1428
1440
  id: {
@@ -1474,54 +1486,54 @@ var T6 = function(n, e) {
1474
1486
  events_onRequestSelectDocument: Function
1475
1487
  },
1476
1488
  mounted: function() {
1477
- var n = this, e = this.documentServerUrl;
1489
+ var t = this, e = this.documentServerUrl;
1478
1490
  e.endsWith("/") || (e += "/");
1479
1491
  var i = "".concat(e, "web-apps/apps/api/documents/api.js");
1480
- T6(i, "onlyoffice-api-script").then(function() {
1481
- return n.onLoad();
1492
+ L6(i, "onlyoffice-api-script").then(function() {
1493
+ return t.onLoad();
1482
1494
  }).catch(function() {
1483
- n.onError(-2);
1495
+ t.onError(-2);
1484
1496
  });
1485
1497
  },
1486
1498
  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);
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);
1489
1501
  },
1490
1502
  watch: {
1491
1503
  config: {
1492
- handler: function(n, e) {
1504
+ handler: function(t, e) {
1493
1505
  this.onChangeProps();
1494
1506
  },
1495
1507
  deep: !0
1496
1508
  },
1497
- document_fileType: function(n, e) {
1509
+ document_fileType: function(t, e) {
1498
1510
  this.onChangeProps();
1499
1511
  },
1500
- document_title: function(n, e) {
1512
+ document_title: function(t, e) {
1501
1513
  this.onChangeProps();
1502
1514
  },
1503
- documentType: function(n, e) {
1515
+ documentType: function(t, e) {
1504
1516
  this.onChangeProps();
1505
1517
  },
1506
- editorConfig_lang: function(n, e) {
1518
+ editorConfig_lang: function(t, e) {
1507
1519
  this.onChangeProps();
1508
1520
  },
1509
- height: function(n, e) {
1521
+ height: function(t, e) {
1510
1522
  this.onChangeProps();
1511
1523
  },
1512
- type: function(n, e) {
1524
+ type: function(t, e) {
1513
1525
  this.onChangeProps();
1514
1526
  },
1515
- width: function(n, e) {
1527
+ width: function(t, e) {
1516
1528
  this.onChangeProps();
1517
1529
  }
1518
1530
  },
1519
1531
  methods: {
1520
1532
  onLoad: function() {
1521
- var n, e;
1533
+ var t, e;
1522
1534
  try {
1523
1535
  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]) {
1536
+ if (window.DocsAPI || this.onError(-3), !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[i]) {
1525
1537
  console.log("Skip loading. Instance already exists", i);
1526
1538
  return;
1527
1539
  }
@@ -1561,15 +1573,15 @@ var T6 = function(n, e) {
1561
1573
  height: this.height,
1562
1574
  type: this.type,
1563
1575
  width: this.width
1564
- }, this.config || {}), o = window.DocsAPI.DocEditor(i, l);
1565
- window.DocEditor.instances[i] = o;
1576
+ }, this.config || {}), n = window.DocsAPI.DocEditor(i, l);
1577
+ window.DocEditor.instances[i] = n;
1566
1578
  } catch (s) {
1567
1579
  console.error(s), this.onError(-1);
1568
1580
  }
1569
1581
  },
1570
- onError: function(n) {
1582
+ onError: function(t) {
1571
1583
  var e;
1572
- switch (n) {
1584
+ switch (t) {
1573
1585
  case -2:
1574
1586
  e = "Error load DocsAPI from " + this.documentServerUrl;
1575
1587
  break;
@@ -1577,27 +1589,27 @@ var T6 = function(n, e) {
1577
1589
  e = "DocsAPI is not defined";
1578
1590
  break;
1579
1591
  default:
1580
- e = "Unknown error loading component", n = -1;
1592
+ e = "Unknown error loading component", t = -1;
1581
1593
  }
1582
- typeof this.onLoadComponentError > "u" ? console.error(e) : this.onLoadComponentError(n, e);
1594
+ typeof this.onLoadComponentError > "u" ? console.error(e) : this.onLoadComponentError(t, e);
1583
1595
  },
1584
1596
  onAppReady: function() {
1585
- var n = this.id || "";
1586
- this.events_onAppReady(window.DocEditor.instances[n]);
1597
+ var t = this.id || "";
1598
+ this.events_onAppReady(window.DocEditor.instances[t]);
1587
1599
  },
1588
1600
  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());
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());
1591
1603
  }
1592
1604
  }
1593
1605
  });
1594
- const U6 = ["id"];
1595
- function P6(n, e, i, l, o, s) {
1596
- return r(), u("div", { id: n.id }, null, 8, U6);
1606
+ const j6 = ["id"];
1607
+ function N6(t, e, i, l, n, s) {
1608
+ return d(), f("div", { id: t.id }, null, 8, j6);
1597
1609
  }
1598
- P.render = P6;
1599
- P.__file = "src/components/DocumentEditor.vue";
1600
- const L6 = /* @__PURE__ */ z({
1610
+ j.render = N6;
1611
+ j.__file = "src/components/DocumentEditor.vue";
1612
+ const W6 = /* @__PURE__ */ x({
1601
1613
  __name: "IkOnlyOffice",
1602
1614
  props: {
1603
1615
  // 文件服务器的服务的地址
@@ -1617,8 +1629,8 @@ const L6 = /* @__PURE__ */ z({
1617
1629
  default: "100%"
1618
1630
  }
1619
1631
  },
1620
- setup(n) {
1621
- const e = n, i = F({
1632
+ setup(t) {
1633
+ const e = t, i = S({
1622
1634
  width: "100%",
1623
1635
  height: "100%",
1624
1636
  ...e.configOptions || {},
@@ -1626,16 +1638,16 @@ const L6 = /* @__PURE__ */ z({
1626
1638
  }), l = () => {
1627
1639
  console.info("文档加载完成", e.configOptions);
1628
1640
  };
1629
- return (o, s) => (r(), u(
1641
+ return (n, s) => (d(), f(
1630
1642
  "div",
1631
1643
  {
1632
- style: k({ height: e.officeHeight })
1644
+ style: F({ height: e.officeHeight })
1633
1645
  },
1634
1646
  [
1635
- _(y(P), {
1647
+ z(y(j), {
1636
1648
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1637
1649
  ref: "editorRef",
1638
- "document-server-url": n.documentServerUrl,
1650
+ "document-server-url": t.documentServerUrl,
1639
1651
  config: i.value,
1640
1652
  events_onDocumentReady: l
1641
1653
  }, null, 8, ["id", "document-server-url", "config"])
@@ -1645,22 +1657,22 @@ const L6 = /* @__PURE__ */ z({
1645
1657
  ));
1646
1658
  }
1647
1659
  });
1648
- const j6 = /* @__PURE__ */ O(L6, [["__scopeId", "data-v-98d51ef9"]]), N6 = $(j6), W6 = (n) => (o3("data-v-170abcfc"), n = n(), i3(), n), K6 = {
1660
+ const K6 = /* @__PURE__ */ T(W6, [["__scopeId", "data-v-98d51ef9"]]), G6 = D(K6), X6 = (t) => (i3("data-v-170abcfc"), t = t(), s3(), t), Y6 = {
1649
1661
  key: 0,
1650
1662
  class: "preview-files"
1651
- }, G6 = {
1663
+ }, Z6 = {
1652
1664
  class: "flex",
1653
1665
  style: { width: "80%", "align-items": "center" }
1654
- }, X6 = ["onClick"], Y6 = ["title"], Z6 = { style: { color: "#b8c6d9" } }, J6 = ["onClick"], Q6 = /* @__PURE__ */ W6(() => /* @__PURE__ */ c(
1666
+ }, J6 = ["onClick"], Q6 = ["title"], ee = { style: { color: "#b8c6d9" } }, te = ["onClick"], ne = /* @__PURE__ */ X6(() => /* @__PURE__ */ c(
1655
1667
  "span",
1656
1668
  null,
1657
1669
  "预览",
1658
1670
  -1
1659
1671
  /* HOISTED */
1660
- )), ee = {
1672
+ )), oe = {
1661
1673
  key: 1,
1662
1674
  class: "flex preview-img"
1663
- }, te = /* @__PURE__ */ z({
1675
+ }, ie = /* @__PURE__ */ x({
1664
1676
  __name: "IKDetailPreviewFiles",
1665
1677
  props: {
1666
1678
  // 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
@@ -1689,79 +1701,79 @@ const j6 = /* @__PURE__ */ O(L6, [["__scopeId", "data-v-98d51ef9"]]), N6 = $(j6)
1689
1701
  default: ""
1690
1702
  }
1691
1703
  },
1692
- setup(n) {
1693
- const e = n, i = F(e.fileList);
1694
- G(
1704
+ setup(t) {
1705
+ const e = t, i = S(e.fileList);
1706
+ X(
1695
1707
  () => e.fileList,
1696
- (t) => {
1697
- t && (i.value = t);
1708
+ (o) => {
1709
+ o && (i.value = o);
1698
1710
  },
1699
1711
  { immediate: !0 }
1700
1712
  );
1701
- const l = F(!1), o = F({}), s = (t) => {
1702
- o.value = {
1703
- url: t.url,
1704
- name: t.name
1713
+ const l = S(!1), n = S({}), s = (o) => {
1714
+ n.value = {
1715
+ url: o.url,
1716
+ name: o.name
1705
1717
  // row.originName
1706
1718
  }, 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) => {
1714
- const d = document.createElement("a");
1715
- d.href = r3.assembleUrl(e.loadUrl, t.url), d.download = t.name, d.click();
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";
1722
+ }, 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();
1716
1728
  };
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,
1729
+ return (o, u) => {
1730
+ var g, m;
1731
+ const r = A("el-image");
1732
+ return d(), f("div", null, [
1733
+ e.fileType === "file" ? (d(), f("div", Y6, [
1734
+ (d(!0), f(
1735
+ O,
1724
1736
  null,
1725
- T(i.value, (f, x) => (r(), u(
1737
+ P(i.value, (p, b) => (d(), f(
1726
1738
  "div",
1727
1739
  {
1728
- key: x,
1740
+ key: b,
1729
1741
  class: "files-item",
1730
- style: k({
1742
+ style: F({
1731
1743
  width: e.fileWidth,
1732
1744
  "margin-right": e.fileWidth === "100%" ? "0px" : ""
1733
1745
  })
1734
1746
  },
1735
1747
  [
1736
- c("div", G6, [
1737
- _(y(I), {
1738
- name: a(f),
1739
- style: k(`color:${v(f)}`),
1748
+ c("div", Z6, [
1749
+ z(y(R), {
1750
+ name: a(p),
1751
+ style: F(`color:${h(p)}`),
1740
1752
  size: 36
1741
1753
  }, null, 8, ["name", "style"]),
1742
1754
  c("div", {
1743
1755
  class: "file-name",
1744
- onClick: (E) => g(f)
1756
+ onClick: (_) => v(p)
1745
1757
  }, [
1746
1758
  c("p", {
1747
- title: f.name
1748
- }, B(f.name), 9, Y6),
1759
+ title: p.name
1760
+ }, I(p.name), 9, Q6),
1749
1761
  c(
1750
1762
  "p",
1751
- Z6,
1752
- B((f.size / 1024).toFixed(2)) + "KB",
1763
+ ee,
1764
+ I((p.size / 1024).toFixed(2)) + "KB",
1753
1765
  1
1754
1766
  /* TEXT */
1755
1767
  )
1756
- ], 8, X6)
1768
+ ], 8, J6)
1757
1769
  ]),
1758
1770
  c("div", {
1759
1771
  class: "file-preview",
1760
- onClick: (E) => s(f)
1772
+ onClick: (_) => s(p)
1761
1773
  }, [
1762
- _(y(I), { name: "iksvg_yulan" }),
1763
- Q6
1764
- ], 8, J6)
1774
+ z(y(R), { name: "iksvg_yulan" }),
1775
+ ne
1776
+ ], 8, te)
1765
1777
  ],
1766
1778
  4
1767
1779
  /* STYLE */
@@ -1769,40 +1781,40 @@ const j6 = /* @__PURE__ */ O(L6, [["__scopeId", "data-v-98d51ef9"]]), N6 = $(j6)
1769
1781
  128
1770
1782
  /* KEYED_FRAGMENT */
1771
1783
  ))
1772
- ])) : S("v-if", !0),
1773
- e.fileType === "img" ? (r(), u("div", ee, [
1774
- (r(!0), u(
1775
- M,
1784
+ ])) : V("v-if", !0),
1785
+ e.fileType === "img" ? (d(), f("div", oe, [
1786
+ (d(!0), f(
1787
+ O,
1776
1788
  null,
1777
- T(i.value, (f, x) => (r(), u("div", {
1778
- key: x,
1789
+ P(i.value, (p, b) => (d(), f("div", {
1790
+ key: b,
1779
1791
  class: "preview-img"
1780
1792
  }, [
1781
- _(h, {
1793
+ z(r, {
1782
1794
  class: "show-img",
1783
- src: n.loadUrl + f.url,
1784
- "preview-src-list": [n.loadUrl + f.url],
1795
+ src: t.loadUrl + p.url,
1796
+ "preview-src-list": [t.loadUrl + p.url],
1785
1797
  fit: "cover"
1786
1798
  }, null, 8, ["src", "preview-src-list"])
1787
1799
  ]))),
1788
1800
  128
1789
1801
  /* KEYED_FRAGMENT */
1790
1802
  ))
1791
- ])) : S("v-if", !0),
1792
- _(y(_6), {
1803
+ ])) : V("v-if", !0),
1804
+ z(y(F6), {
1793
1805
  modelValue: l.value,
1794
- "onUpdate:modelValue": d[0] || (d[0] = (f) => l.value = f),
1806
+ "onUpdate:modelValue": u[0] || (u[0] = (p) => l.value = p),
1795
1807
  "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
1808
+ url: (g = n.value) == null ? void 0 : g.url,
1809
+ "kk-url": t.kkUrl,
1810
+ "file-name": (m = n.value) == null ? void 0 : m.name
1799
1811
  }, null, 8, ["modelValue", "load-url", "url", "kk-url", "file-name"])
1800
1812
  ]);
1801
1813
  };
1802
1814
  }
1803
1815
  });
1804
- const ne = /* @__PURE__ */ O(te, [["__scopeId", "data-v-170abcfc"]]), le = $(ne);
1816
+ const se = /* @__PURE__ */ T(ie, [["__scopeId", "data-v-170abcfc"]]), re = D(se);
1805
1817
  export {
1806
- le as IKDetailPreviewFiles,
1807
- le as default
1818
+ re as IKDetailPreviewFiles,
1819
+ re as default
1808
1820
  };