iking-web-ui-pro 0.1.72 → 0.1.73

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