iking-web-ui-pro 0.2.3 → 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 (51) hide show
  1. package/dist/IKDetailPreviewFiles/ik.index.es.js +522 -510
  2. package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
  3. package/dist/IKPreviewFile/ik.index.es.js +410 -398
  4. package/dist/IKPreviewFile/ik.index.umd.js +1 -1
  5. package/dist/IkApprovalProcess/ik.index.es.js +1 -0
  6. package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
  7. package/dist/IkApprovalProcess/style.css +1 -1
  8. package/dist/IkApprovalProcessDetail/ik.index.es.js +685 -672
  9. package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
  10. package/dist/IkApprovalProcessDetail/style.css +1 -1
  11. package/dist/IkDescription/ik.index.es.js +417 -405
  12. package/dist/IkDescription/ik.index.umd.js +1 -1
  13. package/dist/IkDescription/style.css +1 -1
  14. package/dist/IkOnlyOffice/ik.index.es.js +59 -58
  15. package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
  16. package/dist/IkPreviewFileDialog/ik.index.es.js +85 -82
  17. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  18. package/dist/IkTemplateOfficeConfig/ik.index.es.js +12 -11
  19. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
  20. package/dist/IkUploadFile/ik.index.es.js +868 -853
  21. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  22. package/dist/IkUploadFile/style.css +1 -1
  23. package/dist/IkUploadImage/ik.index.es.js +284 -275
  24. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  25. package/dist/IkUploadImage/style.css +1 -1
  26. package/dist/Provider/ik.index.es.js +1607 -0
  27. package/dist/Provider/ik.index.umd.js +17 -0
  28. package/dist/index.es.js +39185 -37575
  29. package/dist/index.umd.js +95 -79
  30. package/dist/src/components/IKDetailPreviewFiles/index.d.ts +1 -1
  31. package/dist/src/components/IKDetailPreviewFiles/src/IKDetailPreviewFiles.vue.d.ts +1 -1
  32. package/dist/src/components/IKPreviewFile/index.d.ts +3 -3
  33. package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +1 -1
  34. package/dist/src/components/IkApprovalProcess/index.d.ts +1 -1
  35. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +1 -1
  36. package/dist/src/components/IkDescription/index.d.ts +3 -3
  37. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +1 -1
  38. package/dist/src/components/IkPreviewFileDialog/index.d.ts +1 -1
  39. package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +1 -1
  40. package/dist/src/components/IkTinymce/index.d.ts +1 -1
  41. package/dist/src/components/IkTinymce/src/index.vue.d.ts +1 -1
  42. package/dist/src/components/IkUploadFile/index.d.ts +3 -3
  43. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
  44. package/dist/src/components/IkUploadImage/index.d.ts +3 -3
  45. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
  46. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +57 -0
  47. package/dist/src/components/Provider/index.d.ts +120 -0
  48. package/dist/src/components/index.d.ts +1 -0
  49. package/dist/src/utils/use-provider.d.ts +8 -0
  50. package/dist/style.css +1 -1
  51. package/package.json +1 -1
@@ -1,104 +1,104 @@
1
- import { defineComponent as F, openBlock as s, createElementBlock as h, createElementVNode as c, computed as L, mergeModels as Q, useModel as i3, ref as R, reactive as A3, watch as g3, nextTick as t3, resolveComponent as J, Fragment as O, createBlock as k, createCommentVNode as _, createVNode as A, unref as u, withCtx as y, normalizeClass as $, normalizeStyle as U, createTextVNode as q, toDisplayString as C, h as y3, mergeProps as n3, createSlots as v3, renderSlot as M, renderList as w3, withDirectives as _3, vShow as k3, pushScopeId as z3, popScopeId as b3 } from "vue";
2
- import { ElUpload as c3, ElButton as F3, ElProgress as r3, ElTooltip as d3, ElIcon as H, ElMessage as Y } from "element-plus";
3
- import { buildUUID as C3, ikColor as x3, ikFile as B3 } from "iking-utils-pro";
4
- const P = (e, t) => {
1
+ import { defineComponent as x, openBlock as i, createElementBlock as h, createElementVNode as d, computed as V, inject as W, mergeModels as G, useModel as c3, ref as M, reactive as _3, watch as k3, nextTick as s3, resolveComponent as X, Fragment as U, createBlock as b, createCommentVNode as z, createVNode as A, unref as r, withCtx as y, normalizeClass as R, normalizeStyle as O, createTextVNode as q, toDisplayString as I, h as z3, mergeProps as l3, createSlots as g3, renderSlot as E, renderList as b3, withDirectives as F3, vShow as C3, pushScopeId as x3, popScopeId as I3 } from "vue";
2
+ import { ElUpload as d3, ElButton as B3, ElProgress as u3, ElTooltip as p3, ElIcon as H, ElMessage as o3 } from "element-plus";
3
+ import { buildUUID as S3, ikColor as D3, ikFile as V3 } from "iking-utils-pro";
4
+ const N = (e, t) => {
5
5
  if (e.install = (o) => {
6
- for (const r of [e, ...Object.values(t ?? {})])
7
- o.component(r.name, r);
6
+ for (const c of [e, ...Object.values(t ?? {})])
7
+ o.component(c.name, c);
8
8
  }, t)
9
- for (const [o, r] of Object.entries(t))
10
- e[o] = r;
9
+ for (const [o, c] of Object.entries(t))
10
+ e[o] = c;
11
11
  return e;
12
- }, I3 = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwAAAALwAALwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBImAAAAA2AYm3bsuhFm7u72wZoTrbGIcoKaKyAROJQbQmW2IVb/WkW3ZmPd3ymRMQEwJfV56QRo5pHErkUkFdQWRJpeGW6SoL9EvaWxAdbAeiVd5gyAK5NAdOtv4uNfsT21TUukBVjgFubBOQS+Ip7G/k2LpatkF2hAuBI5siAdsL2j3DHQrJ7NKDbUIyOj3bhqADBsgNPUqUlgncLVlA4IOwBAABwDQCdASowADAAPm0yk0ckIyGhJzgMkIANiWwArDM9tzexcZ3vwYZdKHIB749Ap5gP1E/YD34/QB6AH+A9F//S+w1z2/sz/5DzdDABM7ldHg1iMkeWX8LH9T1VzicAWGJgnNq4e/5P/NObJOBUhFC8dPnhmAD+9wGzP9Zfeg5ENi90xn4awZvrlCLnfwvZX//s4u6n2Pa2TF/r8wh0GtdNNJIBMRbrMaCBwyl6z86DqQgvpixbIdOVbwZFf/7KjC+uzJ5nNRyJ1Rpab8pIf2m1+SBOfX9w7EFXUErK8NSCsePMPazMXKH5y9Wl+nfiSrmsv079Fk6NkDF3Dxr+C+Rp4UdG/f3kP8PZfd/FyRupWURiDOrAjLamuF4OPo2BylwD7ulmdgDn4BEMXuvpYCACy4yCVjgsOzqToG2rSfJOtxy6Hh1/B2gu7X1MdJpHsdHdUrlRzTLKyV3wZG5a64SKKB2/QGk8IRZT0veUdDeo579/WyTU3ujQZeKNBS9ANlv1muyN9Kf5bm1f3UoPm/KnDkqf/1f2jf6aQJ7IYNod25fVfhRX+l1u9qBzs/bVezF7ZgC2LOuuJl1Tvwgeujpg9Uc/m0A9X878DzEkgxP/sPGviOfCElM1J/Kr3TTCwCkfW+K3oZuMB7HAAAA=";
12
+ }, $3 = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwAAAALwAALwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBImAAAAA2AYm3bsuhFm7u72wZoTrbGIcoKaKyAROJQbQmW2IVb/WkW3ZmPd3ymRMQEwJfV56QRo5pHErkUkFdQWRJpeGW6SoL9EvaWxAdbAeiVd5gyAK5NAdOtv4uNfsT21TUukBVjgFubBOQS+Ip7G/k2LpatkF2hAuBI5siAdsL2j3DHQrJ7NKDbUIyOj3bhqADBsgNPUqUlgncLVlA4IOwBAABwDQCdASowADAAPm0yk0ckIyGhJzgMkIANiWwArDM9tzexcZ3vwYZdKHIB749Ap5gP1E/YD34/QB6AH+A9F//S+w1z2/sz/5DzdDABM7ldHg1iMkeWX8LH9T1VzicAWGJgnNq4e/5P/NObJOBUhFC8dPnhmAD+9wGzP9Zfeg5ENi90xn4awZvrlCLnfwvZX//s4u6n2Pa2TF/r8wh0GtdNNJIBMRbrMaCBwyl6z86DqQgvpixbIdOVbwZFf/7KjC+uzJ5nNRyJ1Rpab8pIf2m1+SBOfX9w7EFXUErK8NSCsePMPazMXKH5y9Wl+nfiSrmsv079Fk6NkDF3Dxr+C+Rp4UdG/f3kP8PZfd/FyRupWURiDOrAjLamuF4OPo2BylwD7ulmdgDn4BEMXuvpYCACy4yCVjgsOzqToG2rSfJOtxy6Hh1/B2gu7X1MdJpHsdHdUrlRzTLKyV3wZG5a64SKKB2/QGk8IRZT0veUdDeo579/WyTU3ujQZeKNBS9ANlv1muyN9Kf5bm1f3UoPm/KnDkqf/1f2jf6aQJ7IYNod25fVfhRX+l1u9qBzs/bVezF7ZgC2LOuuJl1Tvwgeujpg9Uc/m0A9X878DzEkgxP/sPGviOfCElM1J/Kr3TTCwCkfW+K3oZuMB7HAAAA=";
13
13
  /*! Element Plus Icons Vue v2.3.1 */
14
- var S3 = /* @__PURE__ */ F({
14
+ var R3 = /* @__PURE__ */ x({
15
15
  name: "Delete",
16
16
  __name: "delete",
17
17
  setup(e) {
18
- return (t, o) => (s(), h("svg", {
18
+ return (t, o) => (i(), h("svg", {
19
19
  xmlns: "http://www.w3.org/2000/svg",
20
20
  viewBox: "0 0 1024 1024"
21
21
  }, [
22
- c("path", {
22
+ d("path", {
23
23
  fill: "currentColor",
24
24
  d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"
25
25
  })
26
26
  ]));
27
27
  }
28
- }), D3 = S3, V3 = /* @__PURE__ */ F({
28
+ }), M3 = R3, E3 = /* @__PURE__ */ x({
29
29
  name: "Download",
30
30
  __name: "download",
31
31
  setup(e) {
32
- return (t, o) => (s(), h("svg", {
32
+ return (t, o) => (i(), h("svg", {
33
33
  xmlns: "http://www.w3.org/2000/svg",
34
34
  viewBox: "0 0 1024 1024"
35
35
  }, [
36
- c("path", {
36
+ d("path", {
37
37
  fill: "currentColor",
38
38
  d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"
39
39
  })
40
40
  ]));
41
41
  }
42
- }), $3 = V3, R3 = /* @__PURE__ */ F({
42
+ }), H3 = E3, U3 = /* @__PURE__ */ x({
43
43
  name: "QuestionFilled",
44
44
  __name: "question-filled",
45
45
  setup(e) {
46
- return (t, o) => (s(), h("svg", {
46
+ return (t, o) => (i(), h("svg", {
47
47
  xmlns: "http://www.w3.org/2000/svg",
48
48
  viewBox: "0 0 1024 1024"
49
49
  }, [
50
- c("path", {
50
+ d("path", {
51
51
  fill: "currentColor",
52
52
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"
53
53
  })
54
54
  ]));
55
55
  }
56
- }), u3 = R3, M3 = /* @__PURE__ */ F({
56
+ }), h3 = U3, O3 = /* @__PURE__ */ x({
57
57
  name: "Refresh",
58
58
  __name: "refresh",
59
59
  setup(e) {
60
- return (t, o) => (s(), h("svg", {
60
+ return (t, o) => (i(), h("svg", {
61
61
  xmlns: "http://www.w3.org/2000/svg",
62
62
  viewBox: "0 0 1024 1024"
63
63
  }, [
64
- c("path", {
64
+ d("path", {
65
65
  fill: "currentColor",
66
66
  d: "M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"
67
67
  })
68
68
  ]));
69
69
  }
70
- }), E3 = M3, H3 = /* @__PURE__ */ F({
70
+ }), q3 = O3, L3 = /* @__PURE__ */ x({
71
71
  name: "View",
72
72
  __name: "view",
73
73
  setup(e) {
74
- return (t, o) => (s(), h("svg", {
74
+ return (t, o) => (i(), h("svg", {
75
75
  xmlns: "http://www.w3.org/2000/svg",
76
76
  viewBox: "0 0 1024 1024"
77
77
  }, [
78
- c("path", {
78
+ d("path", {
79
79
  fill: "currentColor",
80
80
  d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"
81
81
  })
82
82
  ]));
83
83
  }
84
- }), O3 = H3, U3 = /* @__PURE__ */ F({
84
+ }), T3 = L3, j3 = /* @__PURE__ */ x({
85
85
  name: "WarningFilled",
86
86
  __name: "warning-filled",
87
87
  setup(e) {
88
- return (t, o) => (s(), h("svg", {
88
+ return (t, o) => (i(), h("svg", {
89
89
  xmlns: "http://www.w3.org/2000/svg",
90
90
  viewBox: "0 0 1024 1024"
91
91
  }, [
92
- c("path", {
92
+ d("path", {
93
93
  fill: "currentColor",
94
94
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
95
95
  })
96
96
  ]));
97
97
  }
98
- }), q3 = U3;
99
- const z = (e, t) => {
100
- var a, l, w, m;
101
- const o = (a = e == null ? void 0 : e.response) != null && a.data ? p3((w = (l = e == null ? void 0 : e.response) == null ? void 0 : l.data) == null ? void 0 : w.suffix) : ((m = e.raw) == null ? void 0 : m.type) || p3(e[t.suffix]), r = o == null ? void 0 : o.toLowerCase(), n = {
98
+ }), P3 = j3;
99
+ const C = (e, t) => {
100
+ var s, a, g, _;
101
+ const o = (s = e == null ? void 0 : e.response) != null && s.data ? f3((g = (a = e == null ? void 0 : e.response) == null ? void 0 : a.data) == null ? void 0 : g.suffix) : ((_ = e.raw) == null ? void 0 : _.type) || f3(e[t.suffix]), c = o == null ? void 0 : o.toLowerCase(), n = {
102
102
  sheet: "excel",
103
103
  excel: "excel",
104
104
  zip: "zip",
@@ -114,11 +114,11 @@ const z = (e, t) => {
114
114
  exe: "exe",
115
115
  json: "json"
116
116
  };
117
- for (let d in n)
118
- if (typeof r == "string" && (r.includes(d) || r === d))
119
- return n[d];
117
+ for (let u in n)
118
+ if (typeof c == "string" && (c.includes(u) || c === u))
119
+ return n[u];
120
120
  return "unknown";
121
- }, L3 = {
121
+ }, W3 = {
122
122
  ".doc": "word",
123
123
  ".docx": "word",
124
124
  ".docxf": "word",
@@ -203,13 +203,13 @@ const z = (e, t) => {
203
203
  ".vob": "video",
204
204
  ".txt": "txt",
205
205
  ".pdf": "pdf"
206
- }, p3 = (e) => {
206
+ }, f3 = (e) => {
207
207
  const t = e == null ? void 0 : e.toLocaleLowerCase(), o = t != null && t.startsWith(".") ? t : `.${t}`;
208
- return o && L3[o] || "unknow";
209
- }, T3 = (e) => {
210
- let t = "", o = ["doc", "docx"], r = ["xls", "xlsx"], n = ["ppt", "pptx"], a = ["pdf"];
211
- return o.includes(e) && (t = "word"), r.includes(e) && (t = "cell"), n.includes(e) && (t = "slide"), a.includes(e) && (t = "text-pdf"), t;
212
- }, j3 = {
208
+ return o && W3[o] || "unknow";
209
+ }, N3 = (e) => {
210
+ let t = "", o = ["doc", "docx"], c = ["xls", "xlsx"], n = ["ppt", "pptx"], s = ["pdf"];
211
+ return o.includes(e) && (t = "word"), c.includes(e) && (t = "cell"), n.includes(e) && (t = "slide"), s.includes(e) && (t = "text-pdf"), t;
212
+ }, Z3 = {
213
213
  key: 0,
214
214
  t: "1686300059786",
215
215
  class: "icon",
@@ -219,7 +219,7 @@ const z = (e, t) => {
219
219
  "p-id": "7671",
220
220
  width: "200",
221
221
  height: "200"
222
- }, P3 = /* @__PURE__ */ c(
222
+ }, Q3 = /* @__PURE__ */ d(
223
223
  "path",
224
224
  {
225
225
  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",
@@ -229,7 +229,7 @@ const z = (e, t) => {
229
229
  null,
230
230
  -1
231
231
  /* HOISTED */
232
- ), W3 = /* @__PURE__ */ c(
232
+ ), J3 = /* @__PURE__ */ d(
233
233
  "path",
234
234
  {
235
235
  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",
@@ -239,7 +239,7 @@ const z = (e, t) => {
239
239
  null,
240
240
  -1
241
241
  /* HOISTED */
242
- ), N3 = /* @__PURE__ */ c(
242
+ ), K3 = /* @__PURE__ */ d(
243
243
  "path",
244
244
  {
245
245
  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",
@@ -249,7 +249,7 @@ const z = (e, t) => {
249
249
  null,
250
250
  -1
251
251
  /* HOISTED */
252
- ), Z3 = /* @__PURE__ */ c(
252
+ ), G3 = /* @__PURE__ */ d(
253
253
  "path",
254
254
  {
255
255
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -259,12 +259,12 @@ const z = (e, t) => {
259
259
  null,
260
260
  -1
261
261
  /* HOISTED */
262
- ), Q3 = [
263
- P3,
264
- W3,
265
- N3,
266
- Z3
267
- ], J3 = {
262
+ ), X3 = [
263
+ Q3,
264
+ J3,
265
+ K3,
266
+ G3
267
+ ], Y3 = {
268
268
  key: 1,
269
269
  t: "1686301531714",
270
270
  class: "icon",
@@ -274,7 +274,7 @@ const z = (e, t) => {
274
274
  "p-id": "9067",
275
275
  width: "200",
276
276
  height: "200"
277
- }, K3 = /* @__PURE__ */ c(
277
+ }, e6 = /* @__PURE__ */ d(
278
278
  "path",
279
279
  {
280
280
  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",
@@ -284,7 +284,7 @@ const z = (e, t) => {
284
284
  null,
285
285
  -1
286
286
  /* HOISTED */
287
- ), G3 = /* @__PURE__ */ c(
287
+ ), t6 = /* @__PURE__ */ d(
288
288
  "path",
289
289
  {
290
290
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -294,10 +294,10 @@ const z = (e, t) => {
294
294
  null,
295
295
  -1
296
296
  /* HOISTED */
297
- ), X3 = [
298
- K3,
299
- G3
300
- ], Y3 = {
297
+ ), n6 = [
298
+ e6,
299
+ t6
300
+ ], o6 = {
301
301
  key: 2,
302
302
  t: "1686300141125",
303
303
  class: "icon",
@@ -307,7 +307,7 @@ const z = (e, t) => {
307
307
  "p-id": "8137",
308
308
  width: "200",
309
309
  height: "200"
310
- }, e6 = /* @__PURE__ */ c(
310
+ }, i6 = /* @__PURE__ */ d(
311
311
  "path",
312
312
  {
313
313
  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",
@@ -317,7 +317,7 @@ const z = (e, t) => {
317
317
  null,
318
318
  -1
319
319
  /* HOISTED */
320
- ), t6 = /* @__PURE__ */ c(
320
+ ), s6 = /* @__PURE__ */ d(
321
321
  "path",
322
322
  {
323
323
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -327,10 +327,10 @@ const z = (e, t) => {
327
327
  null,
328
328
  -1
329
329
  /* HOISTED */
330
- ), n6 = [
331
- e6,
332
- t6
333
- ], o6 = {
330
+ ), l6 = [
331
+ i6,
332
+ s6
333
+ ], a6 = {
334
334
  key: 3,
335
335
  t: "1686300157181",
336
336
  class: "icon",
@@ -340,7 +340,7 @@ const z = (e, t) => {
340
340
  "p-id": "8292",
341
341
  width: "200",
342
342
  height: "200"
343
- }, i6 = /* @__PURE__ */ c(
343
+ }, c6 = /* @__PURE__ */ d(
344
344
  "path",
345
345
  {
346
346
  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",
@@ -350,7 +350,7 @@ const z = (e, t) => {
350
350
  null,
351
351
  -1
352
352
  /* HOISTED */
353
- ), s6 = /* @__PURE__ */ c(
353
+ ), r6 = /* @__PURE__ */ d(
354
354
  "path",
355
355
  {
356
356
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -360,10 +360,10 @@ const z = (e, t) => {
360
360
  null,
361
361
  -1
362
362
  /* HOISTED */
363
- ), l6 = [
364
- i6,
365
- s6
366
- ], a6 = {
363
+ ), d6 = [
364
+ c6,
365
+ r6
366
+ ], u6 = {
367
367
  key: 4,
368
368
  t: "1686300180947",
369
369
  class: "icon",
@@ -373,7 +373,7 @@ const z = (e, t) => {
373
373
  "p-id": "8447",
374
374
  width: "200",
375
375
  height: "200"
376
- }, c6 = /* @__PURE__ */ c(
376
+ }, p6 = /* @__PURE__ */ d(
377
377
  "path",
378
378
  {
379
379
  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",
@@ -383,7 +383,7 @@ const z = (e, t) => {
383
383
  null,
384
384
  -1
385
385
  /* HOISTED */
386
- ), r6 = /* @__PURE__ */ c(
386
+ ), h6 = /* @__PURE__ */ d(
387
387
  "path",
388
388
  {
389
389
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -393,10 +393,10 @@ const z = (e, t) => {
393
393
  null,
394
394
  -1
395
395
  /* HOISTED */
396
- ), d6 = [
397
- c6,
398
- r6
399
- ], u6 = {
396
+ ), f6 = [
397
+ p6,
398
+ h6
399
+ ], v6 = {
400
400
  key: 5,
401
401
  t: "1686300195363",
402
402
  class: "icon",
@@ -406,7 +406,7 @@ const z = (e, t) => {
406
406
  "p-id": "8602",
407
407
  width: "200",
408
408
  height: "200"
409
- }, p6 = /* @__PURE__ */ c(
409
+ }, m6 = /* @__PURE__ */ d(
410
410
  "path",
411
411
  {
412
412
  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",
@@ -416,7 +416,7 @@ const z = (e, t) => {
416
416
  null,
417
417
  -1
418
418
  /* HOISTED */
419
- ), h6 = /* @__PURE__ */ c(
419
+ ), g6 = /* @__PURE__ */ d(
420
420
  "path",
421
421
  {
422
422
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -426,10 +426,10 @@ const z = (e, t) => {
426
426
  null,
427
427
  -1
428
428
  /* HOISTED */
429
- ), f6 = [
430
- p6,
431
- h6
432
- ], v6 = {
429
+ ), A6 = [
430
+ m6,
431
+ g6
432
+ ], y6 = {
433
433
  key: 6,
434
434
  t: "1686300209288",
435
435
  class: "icon",
@@ -439,7 +439,7 @@ const z = (e, t) => {
439
439
  "p-id": "8757",
440
440
  width: "200",
441
441
  height: "200"
442
- }, m6 = /* @__PURE__ */ c(
442
+ }, w6 = /* @__PURE__ */ d(
443
443
  "path",
444
444
  {
445
445
  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",
@@ -449,7 +449,7 @@ const z = (e, t) => {
449
449
  null,
450
450
  -1
451
451
  /* HOISTED */
452
- ), A6 = /* @__PURE__ */ c(
452
+ ), _6 = /* @__PURE__ */ d(
453
453
  "path",
454
454
  {
455
455
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -459,10 +459,10 @@ const z = (e, t) => {
459
459
  null,
460
460
  -1
461
461
  /* HOISTED */
462
- ), g6 = [
463
- m6,
464
- A6
465
- ], y6 = {
462
+ ), k6 = [
463
+ w6,
464
+ _6
465
+ ], z6 = {
466
466
  key: 7,
467
467
  t: "1686300225262",
468
468
  class: "icon",
@@ -472,7 +472,7 @@ const z = (e, t) => {
472
472
  "p-id": "8912",
473
473
  width: "200",
474
474
  height: "200"
475
- }, w6 = /* @__PURE__ */ c(
475
+ }, b6 = /* @__PURE__ */ d(
476
476
  "path",
477
477
  {
478
478
  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",
@@ -482,7 +482,7 @@ const z = (e, t) => {
482
482
  null,
483
483
  -1
484
484
  /* HOISTED */
485
- ), _6 = /* @__PURE__ */ c(
485
+ ), F6 = /* @__PURE__ */ d(
486
486
  "path",
487
487
  {
488
488
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -492,10 +492,10 @@ const z = (e, t) => {
492
492
  null,
493
493
  -1
494
494
  /* HOISTED */
495
- ), k6 = [
496
- w6,
497
- _6
498
- ], z6 = {
495
+ ), C6 = [
496
+ b6,
497
+ F6
498
+ ], x6 = {
499
499
  key: 8,
500
500
  t: "1692251753690",
501
501
  class: "icon",
@@ -505,7 +505,7 @@ const z = (e, t) => {
505
505
  "p-id": "4336",
506
506
  width: "200",
507
507
  height: "200"
508
- }, b6 = /* @__PURE__ */ c(
508
+ }, I6 = /* @__PURE__ */ d(
509
509
  "path",
510
510
  {
511
511
  d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
@@ -515,7 +515,7 @@ const z = (e, t) => {
515
515
  null,
516
516
  -1
517
517
  /* HOISTED */
518
- ), F6 = /* @__PURE__ */ c(
518
+ ), B6 = /* @__PURE__ */ d(
519
519
  "path",
520
520
  {
521
521
  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",
@@ -526,7 +526,7 @@ const z = (e, t) => {
526
526
  null,
527
527
  -1
528
528
  /* HOISTED */
529
- ), C6 = /* @__PURE__ */ c(
529
+ ), S6 = /* @__PURE__ */ d(
530
530
  "path",
531
531
  {
532
532
  d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
@@ -536,11 +536,11 @@ const z = (e, t) => {
536
536
  null,
537
537
  -1
538
538
  /* HOISTED */
539
- ), x6 = [
540
- b6,
541
- F6,
542
- C6
543
- ], B6 = {
539
+ ), D6 = [
540
+ I6,
541
+ B6,
542
+ S6
543
+ ], V6 = {
544
544
  key: 9,
545
545
  t: "1692251753690",
546
546
  class: "icon",
@@ -550,7 +550,7 @@ const z = (e, t) => {
550
550
  "p-id": "4336",
551
551
  width: "200",
552
552
  height: "200"
553
- }, I6 = /* @__PURE__ */ c(
553
+ }, $6 = /* @__PURE__ */ d(
554
554
  "path",
555
555
  {
556
556
  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",
@@ -560,7 +560,7 @@ const z = (e, t) => {
560
560
  null,
561
561
  -1
562
562
  /* HOISTED */
563
- ), S6 = /* @__PURE__ */ c(
563
+ ), R6 = /* @__PURE__ */ d(
564
564
  "path",
565
565
  {
566
566
  d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
@@ -570,7 +570,7 @@ const z = (e, t) => {
570
570
  null,
571
571
  -1
572
572
  /* HOISTED */
573
- ), D6 = /* @__PURE__ */ c(
573
+ ), M6 = /* @__PURE__ */ d(
574
574
  "path",
575
575
  {
576
576
  d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
@@ -581,7 +581,7 @@ const z = (e, t) => {
581
581
  null,
582
582
  -1
583
583
  /* HOISTED */
584
- ), V6 = /* @__PURE__ */ c(
584
+ ), E6 = /* @__PURE__ */ d(
585
585
  "path",
586
586
  {
587
587
  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",
@@ -591,12 +591,12 @@ const z = (e, t) => {
591
591
  null,
592
592
  -1
593
593
  /* HOISTED */
594
- ), $6 = [
595
- I6,
596
- S6,
597
- D6,
598
- V6
599
- ], R6 = {
594
+ ), H6 = [
595
+ $6,
596
+ R6,
597
+ M6,
598
+ E6
599
+ ], U6 = {
600
600
  key: 10,
601
601
  t: "1714099890925",
602
602
  class: "icon",
@@ -606,7 +606,7 @@ const z = (e, t) => {
606
606
  "p-id": "2271",
607
607
  width: "200",
608
608
  height: "200"
609
- }, M6 = /* @__PURE__ */ c(
609
+ }, O6 = /* @__PURE__ */ d(
610
610
  "path",
611
611
  {
612
612
  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",
@@ -616,7 +616,7 @@ const z = (e, t) => {
616
616
  null,
617
617
  -1
618
618
  /* HOISTED */
619
- ), E6 = /* @__PURE__ */ c(
619
+ ), q6 = /* @__PURE__ */ d(
620
620
  "path",
621
621
  {
622
622
  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",
@@ -627,7 +627,7 @@ const z = (e, t) => {
627
627
  null,
628
628
  -1
629
629
  /* HOISTED */
630
- ), H6 = /* @__PURE__ */ c(
630
+ ), L6 = /* @__PURE__ */ d(
631
631
  "path",
632
632
  {
633
633
  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",
@@ -637,11 +637,11 @@ const z = (e, t) => {
637
637
  null,
638
638
  -1
639
639
  /* HOISTED */
640
- ), O6 = [
641
- M6,
642
- E6,
643
- H6
644
- ], U6 = {
640
+ ), T6 = [
641
+ O6,
642
+ q6,
643
+ L6
644
+ ], j6 = {
645
645
  key: 11,
646
646
  t: "1686300037564",
647
647
  class: "icon",
@@ -651,7 +651,7 @@ const z = (e, t) => {
651
651
  "p-id": "7515",
652
652
  width: "200",
653
653
  height: "200"
654
- }, q6 = /* @__PURE__ */ c(
654
+ }, P6 = /* @__PURE__ */ d(
655
655
  "path",
656
656
  {
657
657
  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",
@@ -661,7 +661,7 @@ const z = (e, t) => {
661
661
  null,
662
662
  -1
663
663
  /* HOISTED */
664
- ), L6 = /* @__PURE__ */ c(
664
+ ), W6 = /* @__PURE__ */ d(
665
665
  "path",
666
666
  {
667
667
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -671,7 +671,7 @@ const z = (e, t) => {
671
671
  null,
672
672
  -1
673
673
  /* HOISTED */
674
- ), T6 = /* @__PURE__ */ c(
674
+ ), N6 = /* @__PURE__ */ d(
675
675
  "path",
676
676
  {
677
677
  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",
@@ -681,11 +681,11 @@ const z = (e, t) => {
681
681
  null,
682
682
  -1
683
683
  /* HOISTED */
684
- ), j6 = [
685
- q6,
686
- L6,
687
- T6
688
- ], h3 = /* @__PURE__ */ F({
684
+ ), Z6 = [
685
+ P6,
686
+ W6,
687
+ N6
688
+ ], v3 = /* @__PURE__ */ x({
689
689
  __name: "FileIcon",
690
690
  props: {
691
691
  type: {
@@ -706,17 +706,26 @@ const z = (e, t) => {
706
706
  }
707
707
  },
708
708
  setup(e) {
709
- const t = e, o = L(() => t.file ? z(t.file, t.fields) : t.type);
710
- return (r, n) => o.value === "image" ? (s(), h("svg", j3, Q3)) : o.value === "zip" ? (s(), h("svg", J3, X3)) : o.value === "ppt" ? (s(), h("svg", Y3, n6)) : o.value === "word" ? (s(), h("svg", o6, l6)) : o.value === "pdf" ? (s(), h("svg", a6, d6)) : o.value === "txt" ? (s(), h("svg", u6, f6)) : o.value === "audio" ? (s(), h("svg", v6, g6)) : o.value === "video" ? (s(), h("svg", y6, k6)) : o.value === "excel" ? (s(), h("svg", z6, x6)) : o.value === "exe" ? (s(), h("svg", B6, $6)) : o.value === "json" ? (s(), h("svg", R6, O6)) : (s(), h("svg", U6, j6));
709
+ const t = e, o = V(() => t.file ? C(t.file, t.fields) : t.type);
710
+ return (c, n) => o.value === "image" ? (i(), h("svg", Z3, X3)) : o.value === "zip" ? (i(), h("svg", Y3, n6)) : o.value === "ppt" ? (i(), h("svg", o6, l6)) : o.value === "word" ? (i(), h("svg", a6, d6)) : o.value === "pdf" ? (i(), h("svg", u6, f6)) : o.value === "txt" ? (i(), h("svg", v6, A6)) : o.value === "audio" ? (i(), h("svg", y6, k6)) : o.value === "video" ? (i(), h("svg", z6, C6)) : o.value === "excel" ? (i(), h("svg", x6, D6)) : o.value === "exe" ? (i(), h("svg", V6, H6)) : o.value === "json" ? (i(), h("svg", U6, T6)) : (i(), h("svg", j6, Z6));
711
711
  }
712
- }), K = (e, t) => {
712
+ }), Y = (e, t) => {
713
713
  const o = e.__vccOpts || e;
714
- for (const [r, n] of t)
715
- o[r] = n;
714
+ for (const [c, n] of t)
715
+ o[c] = n;
716
716
  return o;
717
- }, e3 = (e) => e % 1 === 0 ? e.toString() : e.toFixed(2), o3 = (e, t) => t ? t.startsWith("http") ? t : `${e || location.origin}${t}` : "", P6 = /* @__PURE__ */ F({
717
+ }, i3 = (e) => e % 1 === 0 ? e.toString() : e.toFixed(2), a3 = (e, t) => t ? t.startsWith("http") ? t : `${e || location.origin}${t}` : "", Q6 = (e) => {
718
+ const t = W("loadUrl"), o = V(() => e.loadUrl || (t == null ? void 0 : t.value)), c = W("uploadUrl"), n = V(() => e.action || e.uploadUrl || (c == null ? void 0 : c.value)), s = W("token"), a = V(() => e.token || (s == null ? void 0 : s.value)), g = W("onlyofficeConfig"), _ = V(() => e.onlyofficeConfig || (g == null ? void 0 : g.value)), u = W("userInfo"), m = V(() => e.userInfo || (u == null ? void 0 : u.value));
719
+ return {
720
+ cLoadUrl: o,
721
+ cUploadUrl: n,
722
+ cToken: a,
723
+ cOnlyofficeConfig: _,
724
+ cUserInfo: m
725
+ };
726
+ }, J6 = Q6, K6 = /* @__PURE__ */ x({
718
727
  __name: "IkPreviewFileDialog",
719
- props: /* @__PURE__ */ Q({
728
+ props: /* @__PURE__ */ G({
720
729
  file: {
721
730
  type: Object,
722
731
  default: () => []
@@ -751,81 +760,81 @@ const z = (e, t) => {
751
760
  }),
752
761
  emits: ["update:show"],
753
762
  setup(e) {
754
- const t = e, o = i3(e, "show"), r = L(() => ({
763
+ const t = e, o = c3(e, "show"), c = V(() => ({
755
764
  name: "name",
756
765
  url: "url",
757
766
  suffix: "suffix",
758
767
  size: "fileSize",
759
768
  ...t.field
760
- })), n = R(null), a = R(null), l = A3({
769
+ })), n = M(null), s = M(null), a = _3({
761
770
  image: !1,
762
771
  office: !1,
763
772
  video: !1
764
- }), w = (d) => {
765
- var g, x, S, D, V, W, T;
773
+ }), g = (u) => {
774
+ var m, F, D, $, B, T, j;
766
775
  try {
767
- const b = ((g = d == null ? void 0 : d.response) == null ? void 0 : g.data) || d, j = b[r.value.url] || (b == null ? void 0 : b.id) || b.attachmentId, E = (x = b[r.value.suffix] || b.attachmentSuffix) == null ? void 0 : x.toLowerCase(), G = b[r.value.name] || (b == null ? void 0 : b.attachmentName);
768
- if (a.value = {
769
- ...d,
770
- name: d[r.value.name],
771
- url: o3(t.loadUrl, j)
772
- }, d && z(d, r.value) === "image") {
773
- l.image = !0;
776
+ const k = ((m = u == null ? void 0 : u.response) == null ? void 0 : m.data) || u, Z = k[c.value.url] || (k == null ? void 0 : k.id) || k.attachmentId, L = (F = k[c.value.suffix] || k.attachmentSuffix) == null ? void 0 : F.toLowerCase(), Q = k[c.value.name] || (k == null ? void 0 : k.attachmentName) || (k == null ? void 0 : k.originName);
777
+ if (s.value = {
778
+ ...u,
779
+ name: u[c.value.name],
780
+ url: a3(t.loadUrl, Z)
781
+ }, u && C(u, c.value) === "image") {
782
+ a.image = !0;
774
783
  return;
775
- } else if ((((S = t.onlyOfficeConfig) == null ? void 0 : S.accept) || t.onlyOfficeAccept).includes(E)) {
776
- l.office = !0, n.value = {
784
+ } else if ((((D = t.onlyOfficeConfig) == null ? void 0 : D.accept) || t.onlyOfficeAccept).includes(L)) {
785
+ a.office = !0, n.value = {
777
786
  ...t.onlyOfficeConfig,
778
787
  editorConfig: {
779
- ...((D = t.onlyOfficeConfig) == null ? void 0 : D.editorConfig) || {},
788
+ ...(($ = t.onlyOfficeConfig) == null ? void 0 : $.editorConfig) || {},
780
789
  customization: {
781
- ...((W = (V = t.onlyOfficeConfig) == null ? void 0 : V.editorConfig) == null ? void 0 : W.customization) || {},
790
+ ...((T = (B = t.onlyOfficeConfig) == null ? void 0 : B.editorConfig) == null ? void 0 : T.customization) || {},
782
791
  review: {
783
792
  reviewDisplay: "final"
784
793
  }
785
794
  }
786
795
  },
787
796
  document: {
788
- key: C3(),
789
- title: G,
790
- url: o3(t.loadUrl, j),
791
- fileType: E,
792
- ...((T = t.onlyOfficeConfig) == null ? void 0 : T.document) || {}
797
+ key: S3(),
798
+ title: Q,
799
+ url: a3(t.loadUrl, Z),
800
+ fileType: L,
801
+ ...((j = t.onlyOfficeConfig) == null ? void 0 : j.document) || {}
793
802
  },
794
- documentType: T3(E)
803
+ documentType: N3(L)
795
804
  };
796
805
  return;
797
806
  }
798
- } catch (b) {
799
- console.info("预览错误: ", b);
807
+ } catch (k) {
808
+ console.info("预览错误: ", k);
800
809
  }
801
810
  };
802
- g3([o, t.file], ([d, g]) => {
803
- d && t3(() => {
804
- w(t.file);
811
+ k3([o, t.file], ([u, m]) => {
812
+ u && s3(() => {
813
+ g(t.file);
805
814
  });
806
815
  });
807
- const m = () => {
808
- o.value = !1, l.office = !1, l.image = !1, l.video = !1;
816
+ const _ = () => {
817
+ o.value = !1, a.office = !1, a.image = !1, a.video = !1;
809
818
  };
810
- return (d, g) => {
811
- var S, D;
812
- const x = J("el-image-viewer");
813
- return o.value ? (s(), h(
814
- O,
819
+ return (u, m) => {
820
+ var D, $;
821
+ const F = X("el-image-viewer");
822
+ return o.value ? (i(), h(
823
+ U,
815
824
  { key: 0 },
816
825
  [
817
- (S = a.value) != null && S.url && l.image ? (s(), k(x, {
826
+ (D = s.value) != null && D.url && a.image ? (i(), b(F, {
818
827
  key: 0,
819
- onClose: g[0] || (g[0] = (V) => {
820
- a.value = null, l.image = !1;
828
+ onClose: m[0] || (m[0] = (B) => {
829
+ s.value = null, a.image = !1;
821
830
  }),
822
831
  ref: "previewImgRef",
823
- "url-list": [(D = a.value) == null ? void 0 : D.url]
824
- }, null, 8, ["url-list"])) : _("v-if", !0),
825
- _(" 文档类 "),
826
- A(u(le), {
827
- modelValue: l.office,
828
- "onUpdate:modelValue": g[1] || (g[1] = (V) => l.office = V),
832
+ "url-list": [($ = s.value) == null ? void 0 : $.url]
833
+ }, null, 8, ["url-list"])) : z("v-if", !0),
834
+ z(" 文档类 "),
835
+ A(r(pe), {
836
+ modelValue: a.office,
837
+ "onUpdate:modelValue": m[1] || (m[1] = (B) => a.office = B),
829
838
  draggable: "",
830
839
  "no-footer": "",
831
840
  "no-header": "",
@@ -835,38 +844,40 @@ const z = (e, t) => {
835
844
  "close-on-click-modal": "",
836
845
  "close-on-press-escape": !1,
837
846
  "append-to-body": "",
838
- onClose: m,
847
+ onClose: _,
839
848
  "modal-class": "ik-only-preview-dialog"
840
849
  }, {
841
- default: y(() => [
842
- A(u(fe), {
843
- "config-options": n.value,
844
- "document-server-url": e.onlyOfficeConfig.serverUrl || e.onlyofficeServer,
845
- mode: "view"
846
- }, null, 8, ["config-options", "document-server-url"])
847
- ]),
850
+ default: y(() => {
851
+ var B;
852
+ return [
853
+ A(r(we), {
854
+ "config-options": n.value,
855
+ "document-server-url": ((B = e.onlyOfficeConfig) == null ? void 0 : B.serverUrl) || e.onlyofficeServer
856
+ }, null, 8, ["config-options", "document-server-url"])
857
+ ];
858
+ }),
848
859
  _: 1
849
860
  /* STABLE */
850
861
  }, 8, ["modelValue"])
851
862
  ],
852
863
  64
853
864
  /* STABLE_FRAGMENT */
854
- )) : _("v-if", !0);
865
+ )) : z("v-if", !0);
855
866
  };
856
867
  }
857
868
  });
858
- const W6 = P(P6), N6 = {
869
+ const G6 = N(K6), X6 = {
859
870
  key: 0,
860
871
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
861
- }, Z6 = {
872
+ }, Y6 = {
862
873
  key: 1,
863
874
  class: "h-[1em] w-[1em]",
864
875
  "aria-hidden": "true"
865
- }, Q6 = ["xlink:href"], J6 = ["src"], K6 = {
876
+ }, ee = ["xlink:href"], te = ["src"], ne = {
866
877
  key: 1,
867
878
  class: "h-[1em] w-[1em]",
868
879
  "aria-hidden": "true"
869
- }, G6 = ["xlink:href"], X6 = ["src"], Y6 = /* @__PURE__ */ F({
880
+ }, oe = ["xlink:href"], ie = ["src"], se = /* @__PURE__ */ x({
870
881
  name: "IkSvgIcon",
871
882
  __name: "index",
872
883
  props: {
@@ -893,10 +904,10 @@ const W6 = P(P6), N6 = {
893
904
  tableIconType: { default: "icon" }
894
905
  },
895
906
  setup(e) {
896
- const t = e, o = L(() => {
897
- var n, a, l;
898
- return /^http?:\/\//.test(t.name) ? "img" : /i-[^:]+:[^:]+/.test(t.name) ? "unocss" : (n = t.name) != null && n.startsWith("iksig") ? "iksig" : (a = t.name) != null && a.includes(":") ? "iconify" : (l = t.name) != null && l.startsWith("iksvg") ? "svg" : "i";
899
- }), r = L(() => {
907
+ const t = e, o = V(() => {
908
+ var n, s, a;
909
+ return /^http?:\/\//.test(t.name) ? "img" : /i-[^:]+:[^:]+/.test(t.name) ? "unocss" : (n = t.name) != null && n.startsWith("iksig") ? "iksig" : (s = t.name) != null && s.includes(":") ? "iconify" : (a = t.name) != null && a.startsWith("iksvg") ? "svg" : "i";
910
+ }), c = V(() => {
900
911
  const n = [];
901
912
  if (t.flip)
902
913
  switch (t.flip) {
@@ -911,26 +922,26 @@ const W6 = P(P6), N6 = {
911
922
  break;
912
923
  }
913
924
  t.rotate && n.push(`rotate(${t.rotate % 360}deg)`);
914
- const a = {
925
+ const s = {
915
926
  ...t.color && { color: t.color },
916
927
  ...t.size && { fontSize: typeof t.size == "number" ? `${t.size}px` : t.size },
917
928
  ...n.length && { transform: n.join(" ") },
918
929
  padding: t.showBg || t.bg ? t.padding : 0,
919
930
  ...t.color && o.value !== "iksig" ? {
920
931
  "--ik-color-icon-dark": t.color,
921
- "--ik-color-icon-light": t.colorLight || x3.setOpacity(t.color, t.opacity)
932
+ "--ik-color-icon-light": t.colorLight || D3.setOpacity(t.color, t.opacity)
922
933
  } : {}
923
934
  };
924
- return t.width && (a.width = a.height = typeof t.width == "number" ? `${t.width}px` : t.width), a;
935
+ return t.width && (s.width = s.height = typeof t.width == "number" ? `${t.width}px` : t.width), s;
925
936
  });
926
- return (n, a) => {
927
- const l = J("el-tooltip"), w = J("el-button");
928
- return n.tableIconType === "icon" ? (s(), h("span", N6, [
929
- n.notip || !n.title ? (s(), h(
937
+ return (n, s) => {
938
+ const a = X("el-tooltip"), g = X("el-button");
939
+ return n.tableIconType === "icon" ? (i(), h("span", X6, [
940
+ n.notip || !n.title ? (i(), h(
930
941
  "i",
931
942
  {
932
943
  key: 0,
933
- class: $(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
944
+ class: R(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
934
945
  [n.name]: o.value === "unocss",
935
946
  "show-bg": n.showBg || n.bg,
936
947
  default: n.size === "default",
@@ -943,34 +954,34 @@ const W6 = P(P6), N6 = {
943
954
  active: n.active,
944
955
  disabled: n.disabled
945
956
  }]),
946
- style: U(r.value)
957
+ style: O(c.value)
947
958
  },
948
959
  [
949
- _(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
950
- o.value === "iksig" ? (s(), h(
960
+ z(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
961
+ o.value === "iksig" ? (i(), h(
951
962
  "i",
952
963
  {
953
964
  key: 0,
954
- class: $(`iksig ${n.name}`),
955
- style: U(r.value)
965
+ class: R(`iksig ${n.name}`),
966
+ style: O(c.value)
956
967
  },
957
968
  null,
958
969
  6
959
970
  /* CLASS, STYLE */
960
- )) : o.value === "svg" ? (s(), h("svg", Z6, [
961
- c("use", {
971
+ )) : o.value === "svg" ? (i(), h("svg", Y6, [
972
+ d("use", {
962
973
  "xlink:href": `#${n.name}`
963
- }, null, 8, Q6)
964
- ])) : o.value === "img" ? (s(), h("img", {
974
+ }, null, 8, ee)
975
+ ])) : o.value === "img" ? (i(), h("img", {
965
976
  key: 2,
966
977
  src: n.name,
967
978
  class: "h-[1em] w-[1em]"
968
- }, null, 8, J6)) : (s(), h(
979
+ }, null, 8, te)) : (i(), h(
969
980
  "i",
970
981
  {
971
982
  key: 3,
972
- class: $(n.name),
973
- style: U(r.value)
983
+ class: R(n.name),
984
+ style: O(c.value)
974
985
  },
975
986
  null,
976
987
  6
@@ -979,16 +990,16 @@ const W6 = P(P6), N6 = {
979
990
  ],
980
991
  6
981
992
  /* CLASS, STYLE */
982
- )) : (s(), k(l, {
993
+ )) : (i(), b(a, {
983
994
  key: 1,
984
995
  content: n.title,
985
996
  placement: "top"
986
997
  }, {
987
998
  default: y(() => [
988
- c(
999
+ d(
989
1000
  "i",
990
1001
  {
991
- class: $(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1002
+ class: R(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
992
1003
  [n.name]: o.value === "unocss",
993
1004
  "show-bg": n.showBg || n.bg,
994
1005
  default: n.size === "default",
@@ -1000,33 +1011,33 @@ const W6 = P(P6), N6 = {
1000
1011
  error: n.error || t.type === "error",
1001
1012
  active: n.active
1002
1013
  }]),
1003
- style: U(r.value)
1014
+ style: O(c.value)
1004
1015
  },
1005
1016
  [
1006
- o.value === "iksig" ? (s(), h(
1017
+ o.value === "iksig" ? (i(), h(
1007
1018
  "i",
1008
1019
  {
1009
1020
  key: 0,
1010
- class: $(`iksig ${n.name}`),
1011
- style: U(r.value)
1021
+ class: R(`iksig ${n.name}`),
1022
+ style: O(c.value)
1012
1023
  },
1013
1024
  null,
1014
1025
  6
1015
1026
  /* CLASS, STYLE */
1016
- )) : o.value === "svg" ? (s(), h("svg", K6, [
1017
- c("use", {
1027
+ )) : o.value === "svg" ? (i(), h("svg", ne, [
1028
+ d("use", {
1018
1029
  "xlink:href": `#${n.name}`
1019
- }, null, 8, G6)
1020
- ])) : o.value === "img" ? (s(), h("img", {
1030
+ }, null, 8, oe)
1031
+ ])) : o.value === "img" ? (i(), h("img", {
1021
1032
  key: 2,
1022
1033
  src: n.name,
1023
1034
  class: "h-[1em] w-[1em]"
1024
- }, null, 8, X6)) : (s(), h(
1035
+ }, null, 8, ie)) : (i(), h(
1025
1036
  "i",
1026
1037
  {
1027
1038
  key: 3,
1028
- class: $(n.name),
1029
- style: U(r.value)
1039
+ class: R(n.name),
1040
+ style: O(c.value)
1030
1041
  },
1031
1042
  null,
1032
1043
  6
@@ -1040,13 +1051,13 @@ const W6 = P(P6), N6 = {
1040
1051
  _: 1
1041
1052
  /* STABLE */
1042
1053
  }, 8, ["content"]))
1043
- ])) : (s(), k(w, {
1054
+ ])) : (i(), b(g, {
1044
1055
  key: 1,
1045
1056
  type: ["warning", "error"].includes(n.type) ? "danger" : ""
1046
1057
  }, {
1047
1058
  default: y(() => [
1048
1059
  q(
1049
- C(n.title),
1060
+ I(n.title),
1050
1061
  1
1051
1062
  /* TEXT */
1052
1063
  )
@@ -1057,10 +1068,10 @@ const W6 = P(P6), N6 = {
1057
1068
  };
1058
1069
  }
1059
1070
  });
1060
- const ee = /* @__PURE__ */ K(Y6, [["__scopeId", "data-v-7d95dbf5"]]), I = P(ee), te = {
1071
+ const le = /* @__PURE__ */ Y(se, [["__scopeId", "data-v-7d95dbf5"]]), S = N(le), ae = {
1061
1072
  key: 0,
1062
1073
  class: "exit-main-page-maximize"
1063
- }, ne = /* @__PURE__ */ F({
1074
+ }, ce = /* @__PURE__ */ x({
1064
1075
  __name: "CloseIcon",
1065
1076
  props: {
1066
1077
  showBg: {
@@ -1073,15 +1084,15 @@ const ee = /* @__PURE__ */ K(Y6, [["__scopeId", "data-v-7d95dbf5"]]), I = P(ee),
1073
1084
  }
1074
1085
  },
1075
1086
  setup(e) {
1076
- return (t, o) => (s(), h("div", null, [
1077
- e.showBg && e.fullscreen ? (s(), h("div", te, [
1078
- A(u(I), {
1087
+ return (t, o) => (i(), h("div", null, [
1088
+ e.showBg && e.fullscreen ? (i(), h("div", ae, [
1089
+ A(r(S), {
1079
1090
  name: "iksvg_guanbidanchuang",
1080
1091
  title: "关闭",
1081
1092
  size: 20,
1082
1093
  error: ""
1083
1094
  })
1084
- ])) : (s(), k(u(I), {
1095
+ ])) : (i(), b(r(S), {
1085
1096
  key: 1,
1086
1097
  error: "",
1087
1098
  name: "iksvg_guanbidanchuang",
@@ -1091,9 +1102,9 @@ const ee = /* @__PURE__ */ K(Y6, [["__scopeId", "data-v-7d95dbf5"]]), I = P(ee),
1091
1102
  ]));
1092
1103
  }
1093
1104
  });
1094
- const oe = /* @__PURE__ */ K(ne, [["__scopeId", "data-v-79f49df8"]]), ie = { class: "base-header" }, se = /* @__PURE__ */ F({
1105
+ const re = /* @__PURE__ */ Y(ce, [["__scopeId", "data-v-79f49df8"]]), de = { class: "base-header" }, ue = /* @__PURE__ */ x({
1095
1106
  __name: "IkBaseDialog",
1096
- props: /* @__PURE__ */ Q({
1107
+ props: /* @__PURE__ */ G({
1097
1108
  title: { default: "" },
1098
1109
  cancelText: { default: "取消" },
1099
1110
  confirmText: { default: "确认" },
@@ -1112,64 +1123,64 @@ const oe = /* @__PURE__ */ K(ne, [["__scopeId", "data-v-79f49df8"]]), ie = { cla
1112
1123
  }),
1113
1124
  emits: ["update:modelValue"],
1114
1125
  setup(e) {
1115
- const t = e, o = i3(e, "modelValue"), r = R(t.fullscreen), n = () => {
1116
- r.value = !r.value;
1117
- }, a = F({
1126
+ const t = e, o = c3(e, "modelValue"), c = M(t.fullscreen), n = () => {
1127
+ c.value = !c.value;
1128
+ }, s = x({
1118
1129
  setup() {
1119
- return () => y3(oe, {
1130
+ return () => z3(re, {
1120
1131
  showBg: t.showCloseBg,
1121
1132
  fullscreen: t.fullscreen
1122
1133
  });
1123
1134
  }
1124
1135
  });
1125
- return (l, w) => {
1126
- const m = J("el-dialog");
1127
- return s(), k(m, n3({
1136
+ return (a, g) => {
1137
+ const _ = X("el-dialog");
1138
+ return i(), b(_, l3({
1128
1139
  modelValue: o.value,
1129
- "onUpdate:modelValue": w[0] || (w[0] = (d) => o.value = d)
1130
- }, l.$attrs, {
1131
- "close-icon": u(a),
1132
- class: `ik-base-dialog ${l.noHeader ? "no-header" : ""} ${l.noFooter ? "no-footer" : ""}`,
1133
- fullscreen: r.value,
1140
+ "onUpdate:modelValue": g[0] || (g[0] = (u) => o.value = u)
1141
+ }, a.$attrs, {
1142
+ "close-icon": r(s),
1143
+ class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
1144
+ fullscreen: c.value,
1134
1145
  "modal-class": "baseDialog"
1135
- }), v3({
1146
+ }), g3({
1136
1147
  icon: y(() => [
1137
- M(l.$slots, "title", {}, () => [
1148
+ E(a.$slots, "title", {}, () => [
1138
1149
  q(
1139
- C(l.title),
1150
+ I(a.title),
1140
1151
  1
1141
1152
  /* TEXT */
1142
1153
  )
1143
1154
  ])
1144
1155
  ]),
1145
1156
  header: y(() => [
1146
- c("div", ie, [
1147
- M(l.$slots, "header", {}, () => [
1157
+ d("div", de, [
1158
+ E(a.$slots, "header", {}, () => [
1148
1159
  q(
1149
- C(l.title),
1160
+ I(a.title),
1150
1161
  1
1151
1162
  /* TEXT */
1152
1163
  )
1153
1164
  ])
1154
1165
  ]),
1155
- l.$attrs.showClose ? (s(), k(u(I), {
1166
+ a.$attrs.showClose ? (i(), b(r(S), {
1156
1167
  key: 0,
1157
1168
  onClick: n,
1158
- name: r.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1169
+ name: c.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1159
1170
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1160
- title: r.value ? "退出全屏" : "全屏"
1161
- }, null, 8, ["name", "title"])) : _("v-if", !0)
1171
+ title: c.value ? "退出全屏" : "全屏"
1172
+ }, null, 8, ["name", "title"])) : z("v-if", !0)
1162
1173
  ]),
1163
1174
  default: y(() => [
1164
- M(l.$slots, "default")
1175
+ E(a.$slots, "default")
1165
1176
  ]),
1166
1177
  _: 2
1167
1178
  /* DYNAMIC */
1168
1179
  }, [
1169
- l.$slots.footer ? {
1180
+ a.$slots.footer ? {
1170
1181
  name: "footer",
1171
1182
  fn: y(() => [
1172
- M(l.$slots, "footer")
1183
+ E(a.$slots, "footer")
1173
1184
  ]),
1174
1185
  key: "0"
1175
1186
  } : void 0
@@ -1177,135 +1188,135 @@ const oe = /* @__PURE__ */ K(ne, [["__scopeId", "data-v-79f49df8"]]), ie = { cla
1177
1188
  };
1178
1189
  }
1179
1190
  });
1180
- const le = P(se);
1181
- function ae(e, t, o, r) {
1182
- function n(a) {
1183
- return a instanceof o ? a : new o(function(l) {
1184
- l(a);
1191
+ const pe = N(ue);
1192
+ function he(e, t, o, c) {
1193
+ function n(s) {
1194
+ return s instanceof o ? s : new o(function(a) {
1195
+ a(s);
1185
1196
  });
1186
1197
  }
1187
- return new (o || (o = Promise))(function(a, l) {
1188
- function w(g) {
1198
+ return new (o || (o = Promise))(function(s, a) {
1199
+ function g(m) {
1189
1200
  try {
1190
- d(r.next(g));
1191
- } catch (x) {
1192
- l(x);
1201
+ u(c.next(m));
1202
+ } catch (F) {
1203
+ a(F);
1193
1204
  }
1194
1205
  }
1195
- function m(g) {
1206
+ function _(m) {
1196
1207
  try {
1197
- d(r.throw(g));
1198
- } catch (x) {
1199
- l(x);
1208
+ u(c.throw(m));
1209
+ } catch (F) {
1210
+ a(F);
1200
1211
  }
1201
1212
  }
1202
- function d(g) {
1203
- g.done ? a(g.value) : n(g.value).then(w, m);
1213
+ function u(m) {
1214
+ m.done ? s(m.value) : n(m.value).then(g, _);
1204
1215
  }
1205
- d((r = r.apply(e, t || [])).next());
1216
+ u((c = c.apply(e, t || [])).next());
1206
1217
  });
1207
1218
  }
1208
- function ce(e, t) {
1219
+ function fe(e, t) {
1209
1220
  var o = { label: 0, sent: function() {
1210
- if (a[0] & 1)
1211
- throw a[1];
1212
- return a[1];
1213
- }, trys: [], ops: [] }, r, n, a, l;
1214
- return l = { next: w(0), throw: w(1), return: w(2) }, typeof Symbol == "function" && (l[Symbol.iterator] = function() {
1221
+ if (s[0] & 1)
1222
+ throw s[1];
1223
+ return s[1];
1224
+ }, trys: [], ops: [] }, c, n, s, a;
1225
+ return a = { next: g(0), throw: g(1), return: g(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
1215
1226
  return this;
1216
- }), l;
1217
- function w(d) {
1218
- return function(g) {
1219
- return m([d, g]);
1227
+ }), a;
1228
+ function g(u) {
1229
+ return function(m) {
1230
+ return _([u, m]);
1220
1231
  };
1221
1232
  }
1222
- function m(d) {
1223
- if (r)
1233
+ function _(u) {
1234
+ if (c)
1224
1235
  throw new TypeError("Generator is already executing.");
1225
- for (; l && (l = 0, d[0] && (o = 0)), o; )
1236
+ for (; a && (a = 0, u[0] && (o = 0)), o; )
1226
1237
  try {
1227
- if (r = 1, n && (a = d[0] & 2 ? n.return : d[0] ? n.throw || ((a = n.return) && a.call(n), 0) : n.next) && !(a = a.call(n, d[1])).done)
1228
- return a;
1229
- switch (n = 0, a && (d = [d[0] & 2, a.value]), d[0]) {
1238
+ if (c = 1, n && (s = u[0] & 2 ? n.return : u[0] ? n.throw || ((s = n.return) && s.call(n), 0) : n.next) && !(s = s.call(n, u[1])).done)
1239
+ return s;
1240
+ switch (n = 0, s && (u = [u[0] & 2, s.value]), u[0]) {
1230
1241
  case 0:
1231
1242
  case 1:
1232
- a = d;
1243
+ s = u;
1233
1244
  break;
1234
1245
  case 4:
1235
- return o.label++, { value: d[1], done: !1 };
1246
+ return o.label++, { value: u[1], done: !1 };
1236
1247
  case 5:
1237
- o.label++, n = d[1], d = [0];
1248
+ o.label++, n = u[1], u = [0];
1238
1249
  continue;
1239
1250
  case 7:
1240
- d = o.ops.pop(), o.trys.pop();
1251
+ u = o.ops.pop(), o.trys.pop();
1241
1252
  continue;
1242
1253
  default:
1243
- if (a = o.trys, !(a = a.length > 0 && a[a.length - 1]) && (d[0] === 6 || d[0] === 2)) {
1254
+ if (s = o.trys, !(s = s.length > 0 && s[s.length - 1]) && (u[0] === 6 || u[0] === 2)) {
1244
1255
  o = 0;
1245
1256
  continue;
1246
1257
  }
1247
- if (d[0] === 3 && (!a || d[1] > a[0] && d[1] < a[3])) {
1248
- o.label = d[1];
1258
+ if (u[0] === 3 && (!s || u[1] > s[0] && u[1] < s[3])) {
1259
+ o.label = u[1];
1249
1260
  break;
1250
1261
  }
1251
- if (d[0] === 6 && o.label < a[1]) {
1252
- o.label = a[1], a = d;
1262
+ if (u[0] === 6 && o.label < s[1]) {
1263
+ o.label = s[1], s = u;
1253
1264
  break;
1254
1265
  }
1255
- if (a && o.label < a[2]) {
1256
- o.label = a[2], o.ops.push(d);
1266
+ if (s && o.label < s[2]) {
1267
+ o.label = s[2], o.ops.push(u);
1257
1268
  break;
1258
1269
  }
1259
- a[2] && o.ops.pop(), o.trys.pop();
1270
+ s[2] && o.ops.pop(), o.trys.pop();
1260
1271
  continue;
1261
1272
  }
1262
- d = t.call(e, o);
1263
- } catch (g) {
1264
- d = [6, g], n = 0;
1273
+ u = t.call(e, o);
1274
+ } catch (m) {
1275
+ u = [6, m], n = 0;
1265
1276
  } finally {
1266
- r = a = 0;
1277
+ c = s = 0;
1267
1278
  }
1268
- if (d[0] & 5)
1269
- throw d[1];
1270
- return { value: d[0] ? d[1] : void 0, done: !0 };
1279
+ if (u[0] & 5)
1280
+ throw u[1];
1281
+ return { value: u[0] ? u[1] : void 0, done: !0 };
1271
1282
  }
1272
1283
  }
1273
- var re = function(e, t) {
1274
- return ae(void 0, void 0, void 0, function() {
1275
- return ce(this, function(o) {
1276
- return [2, new Promise(function(r, n) {
1284
+ var ve = function(e, t) {
1285
+ return he(void 0, void 0, void 0, function() {
1286
+ return fe(this, function(o) {
1287
+ return [2, new Promise(function(c, n) {
1277
1288
  try {
1278
1289
  if (window.DocsAPI)
1279
- return r(null);
1280
- var a = document.getElementById(t);
1281
- if (a)
1282
- var l = setInterval(function() {
1283
- var m = a.getAttribute("loading");
1284
- if (!m) {
1285
- if (clearInterval(l), window.DocsAPI)
1286
- return r(null);
1287
- var d = f3(t, e, r, n);
1288
- a.remove(), document.body.appendChild(d);
1290
+ return c(null);
1291
+ var s = document.getElementById(t);
1292
+ if (s)
1293
+ var a = setInterval(function() {
1294
+ var _ = s.getAttribute("loading");
1295
+ if (!_) {
1296
+ if (clearInterval(a), window.DocsAPI)
1297
+ return c(null);
1298
+ var u = m3(t, e, c, n);
1299
+ s.remove(), document.body.appendChild(u);
1289
1300
  }
1290
1301
  }, 500);
1291
1302
  else {
1292
- var w = f3(t, e, r, n);
1293
- document.body.appendChild(w);
1303
+ var g = m3(t, e, c, n);
1304
+ document.body.appendChild(g);
1294
1305
  }
1295
- } catch (m) {
1296
- console.error(m);
1306
+ } catch (_) {
1307
+ console.error(_);
1297
1308
  }
1298
1309
  })];
1299
1310
  });
1300
1311
  });
1301
- }, f3 = function(e, t, o, r) {
1312
+ }, m3 = function(e, t, o, c) {
1302
1313
  var n = document.createElement("script");
1303
1314
  return n.id = e, n.type = "text/javascript", n.src = t, n.async = !0, n.onload = function() {
1304
1315
  n.removeAttribute("loading"), o(null);
1305
- }, n.onerror = function(a) {
1306
- n.removeAttribute("loading"), r(a);
1316
+ }, n.onerror = function(s) {
1317
+ n.removeAttribute("loading"), c(s);
1307
1318
  }, n.setAttribute("loading", ""), n;
1308
- }, s3 = F({
1319
+ }, r3 = x({
1309
1320
  name: "DocumentEditor",
1310
1321
  props: {
1311
1322
  id: {
@@ -1360,7 +1371,7 @@ var re = function(e, t) {
1360
1371
  var e = this, t = this.documentServerUrl;
1361
1372
  t.endsWith("/") || (t += "/");
1362
1373
  var o = "".concat(t, "web-apps/apps/api/documents/api.js");
1363
- re(o, "onlyoffice-api-script").then(function() {
1374
+ ve(o, "onlyoffice-api-script").then(function() {
1364
1375
  return e.onLoad();
1365
1376
  }).catch(function() {
1366
1377
  e.onError(-2);
@@ -1409,7 +1420,7 @@ var re = function(e, t) {
1409
1420
  return;
1410
1421
  }
1411
1422
  !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances || (window.DocEditor = { instances: {} });
1412
- var r = Object.assign({
1423
+ var c = Object.assign({
1413
1424
  document: {
1414
1425
  fileType: this.document_fileType,
1415
1426
  title: this.document_title
@@ -1444,10 +1455,10 @@ var re = function(e, t) {
1444
1455
  height: this.height,
1445
1456
  type: this.type,
1446
1457
  width: this.width
1447
- }, this.config || {}), n = window.DocsAPI.DocEditor(o, r);
1458
+ }, this.config || {}), n = window.DocsAPI.DocEditor(o, c);
1448
1459
  window.DocEditor.instances[o] = n;
1449
- } catch (a) {
1450
- console.error(a), this.onError(-1);
1460
+ } catch (s) {
1461
+ console.error(s), this.onError(-1);
1451
1462
  }
1452
1463
  },
1453
1464
  onError: function(e) {
@@ -1474,13 +1485,13 @@ var re = function(e, t) {
1474
1485
  }
1475
1486
  }
1476
1487
  });
1477
- const de = ["id"];
1478
- function ue(e, t, o, r, n, a) {
1479
- return s(), h("div", { id: e.id }, null, 8, de);
1488
+ const me = ["id"];
1489
+ function ge(e, t, o, c, n, s) {
1490
+ return i(), h("div", { id: e.id }, null, 8, me);
1480
1491
  }
1481
- s3.render = ue;
1482
- s3.__file = "src/components/DocumentEditor.vue";
1483
- const pe = /* @__PURE__ */ F({
1492
+ r3.render = ge;
1493
+ r3.__file = "src/components/DocumentEditor.vue";
1494
+ const Ae = /* @__PURE__ */ x({
1484
1495
  __name: "IkOnlyOffice",
1485
1496
  props: {
1486
1497
  // 文件服务器的服务的地址
@@ -1501,25 +1512,26 @@ const pe = /* @__PURE__ */ F({
1501
1512
  }
1502
1513
  },
1503
1514
  setup(e) {
1504
- const t = e, o = R({
1515
+ const t = e, o = M({
1505
1516
  width: "100%",
1506
1517
  height: "100%",
1507
- ...t.configOptions || {}
1508
- }), r = () => {
1518
+ ...t.configOptions || {},
1519
+ ...t.configOptions
1520
+ }), c = () => {
1509
1521
  console.info("文档加载完成", t.configOptions);
1510
1522
  };
1511
- return (n, a) => (s(), h(
1523
+ return (n, s) => (i(), h(
1512
1524
  "div",
1513
1525
  {
1514
- style: U({ height: t.officeHeight })
1526
+ style: O({ height: t.officeHeight })
1515
1527
  },
1516
1528
  [
1517
- A(u(s3), {
1529
+ A(r(r3), {
1518
1530
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1519
1531
  ref: "editorRef",
1520
1532
  "document-server-url": e.documentServerUrl,
1521
1533
  config: o.value,
1522
- events_onDocumentReady: r
1534
+ events_onDocumentReady: c
1523
1535
  }, null, 8, ["id", "document-server-url", "config"])
1524
1536
  ],
1525
1537
  4
@@ -1527,24 +1539,24 @@ const pe = /* @__PURE__ */ F({
1527
1539
  ));
1528
1540
  }
1529
1541
  });
1530
- const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he), ve = (e) => (z3("data-v-10a62ee9"), e = e(), b3(), e), me = { class: "ik-flie-list" }, Ae = { class: "name" }, ge = { key: 1 }, ye = ["src"], we = { class: "file-icon" }, _e = { class: "file-name-loading" }, ke = { class: "file-name" }, ze = { key: 0 }, be = {
1542
+ const ye = /* @__PURE__ */ Y(Ae, [["__scopeId", "data-v-98d51ef9"]]), we = N(ye), _e = (e) => (x3("data-v-91a04040"), e = e(), I3(), e), ke = { class: "ik-flie-list" }, ze = { class: "name" }, be = { key: 1 }, Fe = ["src"], Ce = { class: "file-icon" }, xe = { class: "file-name-loading" }, Ie = { class: "file-name" }, Be = { key: 0 }, Se = {
1531
1543
  key: 0,
1532
1544
  class: "file-size"
1533
- }, Fe = { class: "name" }, Ce = { class: "file-name-loading" }, xe = { class: "file-name" }, Be = { class: "file-size" }, Ie = { class: "operate-btn" }, Se = { class: "card" }, De = { class: "title" }, Ve = /* @__PURE__ */ ve(() => /* @__PURE__ */ c(
1545
+ }, De = { class: "name" }, Ve = { class: "file-name-loading" }, $e = { class: "file-name" }, Re = { class: "file-size" }, Me = { class: "operate-btn" }, Ee = { class: "card" }, He = { class: "title" }, Ue = /* @__PURE__ */ _e(() => /* @__PURE__ */ d(
1534
1546
  "img",
1535
1547
  {
1536
- src: I3,
1548
+ src: $3,
1537
1549
  class: "w-[48px] h-[48px]"
1538
1550
  },
1539
1551
  null,
1540
1552
  -1
1541
1553
  /* HOISTED */
1542
- )), $e = { class: "ik-flie-list" }, Re = { class: "name" }, Me = { key: 1 }, Ee = ["src"], He = { class: "file-icon" }, Oe = { class: "file-name-loading" }, Ue = { class: "file-name" }, qe = { key: 0 }, Le = {
1554
+ )), Oe = { class: "ik-flie-list" }, qe = { class: "name" }, Le = { key: 1 }, Te = ["src"], je = { class: "file-icon" }, Pe = { class: "file-name-loading" }, We = { class: "file-name" }, Ne = { key: 0 }, Ze = {
1543
1555
  key: 0,
1544
1556
  class: "file-size"
1545
- }, Te = { key: 0 }, je = /* @__PURE__ */ F({
1557
+ }, Qe = { key: 0 }, Je = /* @__PURE__ */ x({
1546
1558
  __name: "index",
1547
- props: /* @__PURE__ */ Q({
1559
+ props: /* @__PURE__ */ G({
1548
1560
  // 显示图标
1549
1561
  showIcon: {
1550
1562
  type: Boolean,
@@ -1684,9 +1696,9 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
1684
1696
  },
1685
1697
  modelModifiers: {}
1686
1698
  }),
1687
- emits: /* @__PURE__ */ Q(["delete", "exceed", "success", "error", "outSize"], ["update:modelValue"]),
1699
+ emits: /* @__PURE__ */ G(["delete", "exceed", "success", "error", "outSize"], ["update:modelValue"]),
1688
1700
  setup(e, { emit: t }) {
1689
- const o = e, r = t, n = i3(e, "modelValue"), l = {
1701
+ const o = e, c = t, n = c3(e, "modelValue"), a = {
1690
1702
  ...{
1691
1703
  name: "name",
1692
1704
  url: "url",
@@ -1694,558 +1706,561 @@ const he = /* @__PURE__ */ K(pe, [["__scopeId", "data-v-fe959cd8"]]), fe = P(he)
1694
1706
  size: "size"
1695
1707
  },
1696
1708
  ...o.defaultFileds
1697
- }, w = L(() => o.size), m = R(null), d = R([]), g = R({}), x = R(!1), S = (p) => {
1709
+ }, { cLoadUrl: g, cUploadUrl: _, cOnlyofficeConfig: u } = J6(o), m = V(() => o.size), F = M(null), D = M([]), $ = M({}), B = M(!1), T = (p) => {
1698
1710
  const f = p.size / 1024 / 1024;
1699
- return f < w.value ? !0 : (r("outSize"), Y({
1711
+ return f < m.value ? !0 : (c("outSize"), o3({
1700
1712
  message: `上传文件大小(${f.toFixed(4)}MB)超出允许最大值(${o.size}MB),请重新选择`,
1701
1713
  type: "warning",
1702
1714
  showClose: !0,
1703
1715
  duration: 5e3
1704
1716
  }), !1);
1705
- }, D = (p, f) => {
1706
- var B;
1707
- p.size / 1024 / 1024 < w.value || t3(() => {
1717
+ }, j = (p, f) => {
1718
+ var v;
1719
+ p.size / 1024 / 1024 < m.value || s3(() => {
1708
1720
  n.value.pop();
1709
- }), o.accept !== "*" && !o.accept.split(",").includes((B = p == null ? void 0 : p.raw) == null ? void 0 : B.type) && !o.accept.split(",").includes(`.${p.name.split(".").pop()}`) && (Y({
1721
+ }), o.accept !== "*" && !o.accept.split(",").includes((v = p == null ? void 0 : p.raw) == null ? void 0 : v.type) && !o.accept.split(",").includes(`.${p.name.split(".").pop()}`) && (o3({
1710
1722
  message: `不允许的上传文件格式(${p.name}),请重新选择`,
1711
1723
  type: "warning",
1712
1724
  showClose: !0,
1713
1725
  duration: 5e3
1714
- }), t3(() => {
1726
+ }), s3(() => {
1715
1727
  n.value.pop();
1716
1728
  }));
1717
- }, V = () => !1, W = (p, f) => {
1718
- var i, v;
1719
- p.status = "ready", f !== void 0 && d.value.splice(f, 1), (i = m.value) == null || i.handleStart(p.raw), (v = m.value) == null || v.submit();
1720
- }, T = (p, f) => {
1721
- var Z, a3;
1722
- const i = n.value.length, v = o.limit - i;
1723
- let B = 0;
1724
- for (; B < v && B < p.length; )
1725
- (Z = m.value) == null || Z.handleStart(p[B]), (a3 = m.value) == null || a3.submit(), B++;
1726
- Y({
1729
+ }, k = () => !1, Z = (p, f) => {
1730
+ var w, l;
1731
+ p.status = "ready", f !== void 0 && D.value.splice(f, 1), (w = F.value) == null || w.handleStart(p.raw), (l = F.value) == null || l.submit();
1732
+ }, L = (p, f) => {
1733
+ var P, K;
1734
+ const w = n.value.length, l = o.limit - w;
1735
+ let v = 0;
1736
+ for (; v < l && v < p.length; )
1737
+ (P = F.value) == null || P.handleStart(p[v]), (K = F.value) == null || K.submit(), v++;
1738
+ o3({
1727
1739
  message: (o == null ? void 0 : o.limitText) || `最大可上传${o.limit}个文件,已忽略超出文件`,
1728
1740
  type: "warning",
1729
1741
  showClose: !0,
1730
1742
  duration: 5e3
1731
- }), r("exceed", p);
1732
- }, b = (p, f, i) => {
1733
- r("success", p, f, i);
1734
- }, j = (p, f, i) => {
1735
- d.value.push(f), r("error", p, f, i);
1736
- }, E = (p) => {
1737
- var f, i;
1738
- g.value = {
1743
+ }), c("exceed", p);
1744
+ }, Q = (p, f, w) => {
1745
+ c("success", p, f, w);
1746
+ }, e3 = (p, f, w) => {
1747
+ D.value.push(f), c("error", p, f, w);
1748
+ }, t3 = (p) => {
1749
+ var f, w;
1750
+ $.value = {
1739
1751
  ...p,
1740
- name: p[l.name],
1741
- url: o3(
1742
- o.loadUrl,
1743
- p[l.url] || ((i = (f = p == null ? void 0 : p.response) == null ? void 0 : f.data) == null ? void 0 : i.id)
1752
+ name: p[a.name],
1753
+ url: a3(
1754
+ g.value,
1755
+ p[a.url] || ((w = (f = p == null ? void 0 : p.response) == null ? void 0 : f.data) == null ? void 0 : w.id)
1744
1756
  )
1745
- }, x.value = !0;
1746
- }, G = (p) => {
1747
- B3.downloadByOnlineUrl(
1748
- p[l.url],
1749
- p[l.name]
1757
+ }, B.value = !0;
1758
+ }, A3 = (p) => {
1759
+ V3.downloadByOnlineUrl(
1760
+ p[a.url],
1761
+ p[a.name]
1750
1762
  );
1751
- }, l3 = (p, f = !1) => {
1752
- var i;
1753
- (i = m.value) == null || i.abort(p);
1754
- }, N = (p) => {
1755
- var f, i;
1763
+ }, y3 = (p, f = !1) => {
1764
+ var w;
1765
+ (w = F.value) == null || w.abort(p);
1766
+ }, J = (p) => {
1767
+ var f, w;
1756
1768
  try {
1757
- p.status !== "success" && l3(p), (f = m.value) == null || f.handleRemove(p), n.value = n.value.filter((v) => v.uid !== p.uid), r("delete", p);
1758
- } catch (v) {
1759
- (i = m.value) == null || i.handleRemove(p), n.value = n.value.filter((B) => B.uid !== p.uid), r("delete", p), console.error(v);
1769
+ p.status !== "success" && y3(p), (f = F.value) == null || f.handleRemove(p), n.value = n.value.filter((l) => l.uid !== p.uid), c("delete", p);
1770
+ } catch (l) {
1771
+ (w = F.value) == null || w.handleRemove(p), n.value = n.value.filter((v) => v.uid !== p.uid), c("delete", p), console.error(l);
1760
1772
  }
1761
- }, m3 = (p, f) => {
1762
- d.value.splice(f, 1);
1763
- }, X = L(
1773
+ }, w3 = (p, f) => {
1774
+ D.value.splice(f, 1);
1775
+ }, n3 = V(
1764
1776
  () => n.value.length >= o.limit || o.disabled
1765
1777
  );
1766
- return (p, f) => (s(), h(
1767
- O,
1768
- null,
1769
- [
1770
- e.preview ? _("v-if", !0) : (s(), h(
1771
- O,
1772
- { key: 0 },
1773
- [
1774
- e.type === "button" ? (s(), k(u(c3), n3({
1775
- key: 0,
1776
- class: "ik-file-upload"
1777
- }, p.$attrs, {
1778
- accept: e.accept,
1779
- action: e.action,
1780
- "file-list": n.value,
1781
- "onUpdate:fileList": f[0] || (f[0] = (i) => n.value = i),
1782
- ref_key: "refUpload",
1783
- ref: m,
1784
- "before-upload": S,
1785
- "before-remove": V,
1786
- "on-exceed": T,
1787
- "on-change": D,
1788
- multiple: e.multiple,
1789
- headers: e.headers,
1790
- limit: e.limit,
1791
- "on-success": b,
1792
- "on-error": j
1793
- }), {
1794
- trigger: y(() => [
1795
- p.$slots.trigger ? M(p.$slots, "trigger", { key: 0 }, void 0, !0) : (s(), k(u(F3), {
1796
- key: 1,
1797
- disabled: X.value
1798
- }, v3({
1799
- default: y(() => [
1800
- q(
1801
- " " + C(e.title),
1802
- 1
1803
- /* TEXT */
1804
- )
1805
- ]),
1806
- _: 2
1807
- /* DYNAMIC */
1808
- }, [
1809
- e.showIcon ? {
1810
- name: "icon",
1811
- fn: y(() => [
1812
- A(u(I), {
1813
- name: "iksvg_daoru",
1814
- disabled: X.value
1815
- }, null, 8, ["disabled"])
1778
+ return (p, f) => {
1779
+ var w;
1780
+ return i(), h(
1781
+ U,
1782
+ null,
1783
+ [
1784
+ e.preview ? z("v-if", !0) : (i(), h(
1785
+ U,
1786
+ { key: 0 },
1787
+ [
1788
+ e.type === "button" ? (i(), b(r(d3), l3({
1789
+ key: 0,
1790
+ class: "ik-file-upload"
1791
+ }, p.$attrs, {
1792
+ accept: e.accept,
1793
+ action: r(_),
1794
+ "file-list": n.value,
1795
+ "onUpdate:fileList": f[0] || (f[0] = (l) => n.value = l),
1796
+ ref_key: "refUpload",
1797
+ ref: F,
1798
+ "before-upload": T,
1799
+ "before-remove": k,
1800
+ "on-exceed": L,
1801
+ "on-change": j,
1802
+ multiple: e.multiple,
1803
+ headers: e.headers,
1804
+ limit: e.limit,
1805
+ "on-success": Q,
1806
+ "on-error": e3
1807
+ }), {
1808
+ trigger: y(() => [
1809
+ p.$slots.trigger ? E(p.$slots, "trigger", { key: 0 }, void 0, !0) : (i(), b(r(B3), {
1810
+ key: 1,
1811
+ disabled: n3.value
1812
+ }, g3({
1813
+ default: y(() => [
1814
+ q(
1815
+ " " + I(e.title),
1816
+ 1
1817
+ /* TEXT */
1818
+ )
1816
1819
  ]),
1817
- key: "0"
1818
- } : void 0
1819
- ]), 1032, ["disabled"]))
1820
- ]),
1821
- file: y(({ file: i }) => [
1822
- c("div", me, [
1823
- c("div", Ae, [
1824
- !p.$slots.fileIcon && (!e.customIconData[u(z)(i, l)] || !e.customIconData[u(z)(i, l)][e.customIconFields.icon]) ? (s(), k(h3, {
1825
- key: 0,
1826
- type: u(z)(i, l)
1827
- }, null, 8, ["type"])) : !p.$slots.fileIcon && e.customIconData[u(z)(i, l)] && e.customIconData[u(z)(i, l)][e.customIconFields.icon] ? (s(), h("div", ge, [
1828
- e.customIconData[u(z)(i, l)][e.customIconFields.type] === "img" ? (s(), h("img", {
1820
+ _: 2
1821
+ /* DYNAMIC */
1822
+ }, [
1823
+ e.showIcon ? {
1824
+ name: "icon",
1825
+ fn: y(() => [
1826
+ A(r(S), {
1827
+ name: "iksvg_daoru",
1828
+ disabled: n3.value
1829
+ }, null, 8, ["disabled"])
1830
+ ]),
1831
+ key: "0"
1832
+ } : void 0
1833
+ ]), 1032, ["disabled"]))
1834
+ ]),
1835
+ file: y(({ file: l }) => [
1836
+ d("div", ke, [
1837
+ d("div", ze, [
1838
+ !p.$slots.fileIcon && (!e.customIconData[r(C)(l, a)] || !e.customIconData[r(C)(l, a)][e.customIconFields.icon]) ? (i(), b(v3, {
1829
1839
  key: 0,
1830
- src: e.customIconData[u(z)(i, l)][e.customIconFields.icon],
1831
- alt: "",
1832
- class: "file-img-icon"
1833
- }, null, 8, ye)) : (s(), h(
1834
- "span",
1835
- {
1836
- key: 1,
1837
- class: $([
1838
- e.customIconData[u(z)(i, l)][e.customIconFields.icon],
1839
- "file-icon-size"
1840
- ])
1841
- },
1842
- null,
1843
- 2
1844
- /* CLASS */
1845
- ))
1846
- ])) : _("v-if", !0),
1847
- c("div", we, [
1848
- M(p.$slots, "fileIcon", { file: i }, void 0, !0)
1849
- ]),
1850
- c("div", _e, [
1851
- c("p", ke, [
1852
- q(
1853
- C(i[l.name] || i.name) + " ",
1854
- 1
1855
- /* TEXT */
1856
- ),
1857
- i.percentage && i.status === "uploading" ? (s(), h(
1840
+ type: r(C)(l, a)
1841
+ }, null, 8, ["type"])) : !p.$slots.fileIcon && e.customIconData[r(C)(l, a)] && e.customIconData[r(C)(l, a)][e.customIconFields.icon] ? (i(), h("div", be, [
1842
+ e.customIconData[r(C)(l, a)][e.customIconFields.type] === "img" ? (i(), h("img", {
1843
+ key: 0,
1844
+ src: e.customIconData[r(C)(l, a)][e.customIconFields.icon],
1845
+ alt: "",
1846
+ class: "file-img-icon"
1847
+ }, null, 8, Fe)) : (i(), h(
1858
1848
  "span",
1859
- ze,
1860
- "(" + C(i.percentage) + "%)",
1849
+ {
1850
+ key: 1,
1851
+ class: R([
1852
+ e.customIconData[r(C)(l, a)][e.customIconFields.icon],
1853
+ "file-icon-size"
1854
+ ])
1855
+ },
1856
+ null,
1857
+ 2
1858
+ /* CLASS */
1859
+ ))
1860
+ ])) : z("v-if", !0),
1861
+ d("div", Ce, [
1862
+ E(p.$slots, "fileIcon", { file: l }, void 0, !0)
1863
+ ]),
1864
+ d("div", xe, [
1865
+ d("p", Ie, [
1866
+ q(
1867
+ I(l[a.name] || l.name) + " ",
1868
+ 1
1869
+ /* TEXT */
1870
+ ),
1871
+ l.percentage && l.status === "uploading" ? (i(), h(
1872
+ "span",
1873
+ Be,
1874
+ "(" + I(l.percentage) + "%)",
1875
+ 1
1876
+ /* TEXT */
1877
+ )) : z("v-if", !0)
1878
+ ]),
1879
+ l.status === "success" ? (i(), h(
1880
+ "p",
1881
+ Se,
1882
+ I(r(i3)(l.size / 1024 / 1024)) + "MB ",
1861
1883
  1
1862
1884
  /* TEXT */
1863
- )) : _("v-if", !0)
1864
- ]),
1865
- i.status === "success" ? (s(), h(
1866
- "p",
1867
- be,
1868
- C(u(e3)(i.size / 1024 / 1024)) + "MB ",
1869
- 1
1870
- /* TEXT */
1871
- )) : _("v-if", !0),
1872
- i.percentage && i.status === "uploading" ? (s(), k(u(r3), {
1885
+ )) : z("v-if", !0),
1886
+ l.percentage && l.status === "uploading" ? (i(), b(r(u3), {
1887
+ key: 1,
1888
+ "text-inside": "",
1889
+ percentage: l.percentage,
1890
+ color: "var(--el-color-primary)",
1891
+ "show-text": !1
1892
+ }, null, 8, ["percentage"])) : z("v-if", !0)
1893
+ ])
1894
+ ]),
1895
+ d("div", null, [
1896
+ l.status === "success" ? (i(), h(
1897
+ U,
1898
+ { key: 0 },
1899
+ [
1900
+ A(r(S), {
1901
+ onClick: (v) => t3(l),
1902
+ name: "iksvg_yulan",
1903
+ title: "预览",
1904
+ bg: "",
1905
+ size: "default"
1906
+ }, null, 8, ["onClick"]),
1907
+ A(r(S), {
1908
+ onClick: (v) => J(l),
1909
+ error: "",
1910
+ name: "iksvg_shanchu",
1911
+ title: "删除",
1912
+ bg: "",
1913
+ size: "default"
1914
+ }, null, 8, ["onClick"])
1915
+ ],
1916
+ 64
1917
+ /* STABLE_FRAGMENT */
1918
+ )) : (i(), b(r(S), {
1873
1919
  key: 1,
1874
- "text-inside": "",
1875
- percentage: i.percentage,
1876
- color: "var(--el-color-primary)",
1877
- "show-text": !1
1878
- }, null, 8, ["percentage"])) : _("v-if", !0)
1920
+ onClick: (v) => J(l),
1921
+ error: "",
1922
+ name: "iksvg_guanbi",
1923
+ size: "default",
1924
+ bg: "",
1925
+ title: "取消上传"
1926
+ }, null, 8, ["onClick"]))
1879
1927
  ])
1880
- ]),
1881
- c("div", null, [
1882
- i.status === "success" ? (s(), h(
1883
- O,
1884
- { key: 0 },
1885
- [
1886
- A(u(I), {
1887
- onClick: (v) => E(i),
1888
- name: "iksvg_yulan",
1889
- title: "预览",
1890
- bg: "",
1891
- size: "default"
1892
- }, null, 8, ["onClick"]),
1893
- A(u(I), {
1894
- onClick: (v) => N(i),
1895
- error: "",
1896
- name: "iksvg_shanchu",
1897
- title: "删除",
1898
- bg: "",
1899
- size: "default"
1900
- }, null, 8, ["onClick"])
1901
- ],
1902
- 64
1903
- /* STABLE_FRAGMENT */
1904
- )) : (s(), k(u(I), {
1905
- key: 1,
1906
- onClick: (v) => N(i),
1907
- error: "",
1908
- name: "iksvg_guanbi",
1909
- size: "default",
1910
- bg: "",
1911
- title: "取消上传"
1912
- }, null, 8, ["onClick"]))
1913
1928
  ])
1914
- ])
1915
- ]),
1916
- default: y(() => {
1917
- var i;
1918
- return [
1919
- !e.preview && e.tip ? (s(), k(u(d3), {
1920
- key: 0,
1921
- effect: "dark",
1922
- content: o.tipText || "",
1923
- "popper-class": "_ik_web_ui_file-help-tooltip"
1924
- }, {
1925
- default: y(() => [
1926
- A(u(H), {
1927
- size: 23,
1928
- class: "_ik_web_ui_file_help_icon"
1929
- }, {
1930
- default: y(() => [
1931
- A(u(u3))
1932
- ]),
1933
- _: 1
1934
- /* STABLE */
1935
- })
1936
- ]),
1937
- _: 1
1938
- /* STABLE */
1939
- }, 8, ["content"])) : _("v-if", !0),
1940
- (i = d.value) != null && i.length ? (s(!0), h(
1941
- O,
1942
- { key: 1 },
1943
- w3(d.value, (v, B) => (s(), h("div", {
1944
- class: "ik-error-flie-list",
1945
- key: v.uid
1946
- }, [
1947
- c("div", Fe, [
1948
- A(u(H), {
1949
- size: 32,
1950
- class: "info",
1951
- style: { "vertical-align": "middle" }
1929
+ ]),
1930
+ default: y(() => {
1931
+ var l;
1932
+ return [
1933
+ !e.preview && e.tip ? (i(), b(r(p3), {
1934
+ key: 0,
1935
+ effect: "dark",
1936
+ content: o.tipText || "",
1937
+ "popper-class": "_ik_web_ui_file-help-tooltip"
1938
+ }, {
1939
+ default: y(() => [
1940
+ A(r(H), {
1941
+ size: 23,
1942
+ class: "_ik_web_ui_file_help_icon"
1952
1943
  }, {
1953
1944
  default: y(() => [
1954
- A(u(q3))
1945
+ A(r(h3))
1955
1946
  ]),
1956
1947
  _: 1
1957
1948
  /* STABLE */
1958
- }),
1959
- c("div", Ce, [
1960
- c(
1961
- "p",
1962
- xe,
1963
- C(v[l.name] || v.name),
1949
+ })
1950
+ ]),
1951
+ _: 1
1952
+ /* STABLE */
1953
+ }, 8, ["content"])) : z("v-if", !0),
1954
+ (l = D.value) != null && l.length ? (i(!0), h(
1955
+ U,
1956
+ { key: 1 },
1957
+ b3(D.value, (v, P) => (i(), h("div", {
1958
+ class: "ik-error-flie-list",
1959
+ key: v.uid
1960
+ }, [
1961
+ d("div", De, [
1962
+ A(r(H), {
1963
+ size: 32,
1964
+ class: "info",
1965
+ style: { "vertical-align": "middle" }
1966
+ }, {
1967
+ default: y(() => [
1968
+ A(r(P3))
1969
+ ]),
1970
+ _: 1
1971
+ /* STABLE */
1972
+ }),
1973
+ d("div", Ve, [
1974
+ d(
1975
+ "p",
1976
+ $e,
1977
+ I(v[a.name] || v.name),
1978
+ 1
1979
+ /* TEXT */
1980
+ ),
1981
+ d(
1982
+ "p",
1983
+ Re,
1984
+ I(r(i3)(v.size / 1024 / 1024)) + "MB ",
1985
+ 1
1986
+ /* TEXT */
1987
+ )
1988
+ ])
1989
+ ]),
1990
+ F3(d(
1991
+ "div",
1992
+ Me,
1993
+ [
1994
+ A(r(H), {
1995
+ style: { "vertical-align": "middle" },
1996
+ onClick: (K) => Z(v, P),
1997
+ title: "重新上传",
1998
+ class: "primary"
1999
+ }, {
2000
+ default: y(() => [
2001
+ A(r(q3))
2002
+ ]),
2003
+ _: 2
2004
+ /* DYNAMIC */
2005
+ }, 1032, ["onClick"]),
2006
+ A(r(H), {
2007
+ class: "error",
2008
+ onClick: (K) => w3(v, P),
2009
+ title: "删除"
2010
+ }, {
2011
+ default: y(() => [
2012
+ A(r(M3))
2013
+ ]),
2014
+ _: 2
2015
+ /* DYNAMIC */
2016
+ }, 1032, ["onClick"])
2017
+ ],
2018
+ 512
2019
+ /* NEED_PATCH */
2020
+ ), [
2021
+ [C3, (v == null ? void 0 : v.status) === "fail"]
2022
+ ])
2023
+ ]))),
2024
+ 128
2025
+ /* KEYED_FRAGMENT */
2026
+ )) : z("v-if", !0)
2027
+ ];
2028
+ }),
2029
+ _: 3
2030
+ /* FORWARDED */
2031
+ }, 16, ["accept", "action", "file-list", "multiple", "headers", "limit"])) : (i(), b(r(d3), l3({
2032
+ key: 1,
2033
+ "file-list": n.value,
2034
+ "onUpdate:fileList": f[1] || (f[1] = (l) => n.value = l),
2035
+ class: ["ik-file-pload-card", { plain: e.plain }]
2036
+ }, p.$attrs, {
2037
+ accept: e.accept,
2038
+ action: r(_),
2039
+ disabled: n3.value,
2040
+ ref_key: "refUpload",
2041
+ ref: F,
2042
+ "before-upload": T,
2043
+ "before-remove": k,
2044
+ "on-exceed": L,
2045
+ multiple: e.multiple,
2046
+ headers: e.headers,
2047
+ limit: e.limit,
2048
+ "on-success": Q,
2049
+ "on-error": e3,
2050
+ "on-change": j
2051
+ }), {
2052
+ file: y(({ file: l }) => [
2053
+ d("div", Oe, [
2054
+ d("div", qe, [
2055
+ !p.$slots.fileIcon && (!e.customIconData[r(C)(l, a)] || !e.customIconData[r(C)(l, a)][e.customIconFields.icon]) ? (i(), b(v3, {
2056
+ key: 0,
2057
+ type: r(C)(l, a)
2058
+ }, null, 8, ["type"])) : !p.$slots.fileIcon && e.customIconData[r(C)(l, a)] && e.customIconData[r(C)(l, a)][e.customIconFields.icon] ? (i(), h("div", Le, [
2059
+ e.customIconData[r(C)(l, a)][e.customIconFields.type] === "img" ? (i(), h("img", {
2060
+ key: 0,
2061
+ src: e.customIconData[r(C)(l, a)][e.customIconFields.icon],
2062
+ alt: "",
2063
+ class: "file-img-icon"
2064
+ }, null, 8, Te)) : (i(), h(
2065
+ "span",
2066
+ {
2067
+ key: 1,
2068
+ class: R([
2069
+ e.customIconData[r(C)(l, a)][e.customIconFields.icon],
2070
+ "file-icon-size"
2071
+ ])
2072
+ },
2073
+ null,
2074
+ 2
2075
+ /* CLASS */
2076
+ ))
2077
+ ])) : z("v-if", !0),
2078
+ d("div", je, [
2079
+ E(p.$slots, "fileIcon", { file: l }, void 0, !0)
2080
+ ]),
2081
+ d("div", Pe, [
2082
+ d("p", We, [
2083
+ q(
2084
+ I(l[a.name] || l.name) + " ",
1964
2085
  1
1965
2086
  /* TEXT */
1966
2087
  ),
1967
- c(
1968
- "p",
1969
- Be,
1970
- C(u(e3)(v.size / 1024 / 1024)) + "MB ",
2088
+ l.percentage && l.status === "uploading" ? (i(), h(
2089
+ "span",
2090
+ Ne,
2091
+ "(" + I(l.percentage) + "%)",
1971
2092
  1
1972
2093
  /* TEXT */
1973
- )
1974
- ])
1975
- ]),
1976
- _3(c(
1977
- "div",
1978
- Ie,
1979
- [
1980
- A(u(H), {
1981
- style: { "vertical-align": "middle" },
1982
- onClick: (Z) => W(v, B),
1983
- title: "重新上传",
2094
+ )) : z("v-if", !0)
2095
+ ]),
2096
+ l.status === "success" ? (i(), h(
2097
+ "p",
2098
+ Ze,
2099
+ I(r(i3)(l.size / 1024 / 1024)) + "MB ",
2100
+ 1
2101
+ /* TEXT */
2102
+ )) : z("v-if", !0),
2103
+ l.percentage && l.status === "uploading" ? (i(), b(r(u3), {
2104
+ key: 1,
2105
+ "text-inside": "",
2106
+ percentage: l.percentage,
2107
+ color: "var(--el-color-primary)",
2108
+ "show-text": !1
2109
+ }, null, 8, ["percentage"])) : z("v-if", !0)
2110
+ ])
2111
+ ]),
2112
+ e.preview ? (i(), h(
2113
+ U,
2114
+ { key: 1 },
2115
+ [
2116
+ e.preview || l.percentage === 100 ? (i(), b(
2117
+ r(H),
2118
+ {
2119
+ key: 0,
2120
+ title: "预览",
1984
2121
  class: "primary"
1985
- }, {
2122
+ },
2123
+ {
1986
2124
  default: y(() => [
1987
- A(u(E3))
2125
+ A(r(T3), {
2126
+ onClick: (v) => t3(l)
2127
+ }, null, 8, ["onClick"])
1988
2128
  ]),
1989
2129
  _: 2
1990
2130
  /* DYNAMIC */
1991
- }, 1032, ["onClick"]),
1992
- A(u(H), {
1993
- class: "error",
1994
- onClick: (Z) => m3(v, B),
1995
- title: "删除"
1996
- }, {
2131
+ },
2132
+ 1024
2133
+ /* DYNAMIC_SLOTS */
2134
+ )) : z("v-if", !0),
2135
+ A(
2136
+ r(H),
2137
+ {
2138
+ title: "下载",
2139
+ class: "primary"
2140
+ },
2141
+ {
1997
2142
  default: y(() => [
1998
- A(u(D3))
2143
+ A(r(H3), {
2144
+ onClick: (v) => A3(l)
2145
+ }, null, 8, ["onClick"])
1999
2146
  ]),
2000
2147
  _: 2
2001
2148
  /* DYNAMIC */
2002
- }, 1032, ["onClick"])
2149
+ },
2150
+ 1024
2151
+ /* DYNAMIC_SLOTS */
2152
+ )
2153
+ ],
2154
+ 64
2155
+ /* STABLE_FRAGMENT */
2156
+ )) : (i(), h("div", Qe, [
2157
+ l.status === "success" ? (i(), h(
2158
+ U,
2159
+ { key: 0 },
2160
+ [
2161
+ A(r(S), {
2162
+ onClick: (v) => t3(l),
2163
+ name: "iksvg_yulan",
2164
+ title: "预览",
2165
+ bg: "",
2166
+ size: "default"
2167
+ }, null, 8, ["onClick"]),
2168
+ A(r(S), {
2169
+ onClick: (v) => J(l),
2170
+ error: "",
2171
+ name: "iksvg_shanchu",
2172
+ title: "删除",
2173
+ bg: "",
2174
+ size: "default"
2175
+ }, null, 8, ["onClick"])
2003
2176
  ],
2004
- 512
2005
- /* NEED_PATCH */
2006
- ), [
2007
- [k3, (v == null ? void 0 : v.status) === "fail"]
2008
- ])
2009
- ]))),
2010
- 128
2011
- /* KEYED_FRAGMENT */
2012
- )) : _("v-if", !0)
2013
- ];
2014
- }),
2015
- _: 3
2016
- /* FORWARDED */
2017
- }, 16, ["accept", "action", "file-list", "multiple", "headers", "limit"])) : (s(), k(u(c3), n3({
2018
- key: 1,
2019
- "file-list": n.value,
2020
- "onUpdate:fileList": f[1] || (f[1] = (i) => n.value = i),
2021
- class: ["ik-file-pload-card", { plain: e.plain }]
2022
- }, p.$attrs, {
2023
- accept: e.accept,
2024
- action: e.action,
2025
- disabled: X.value,
2026
- ref_key: "refUpload",
2027
- ref: m,
2028
- "before-upload": S,
2029
- "before-remove": V,
2030
- "on-exceed": T,
2031
- multiple: e.multiple,
2032
- headers: e.headers,
2033
- limit: e.limit,
2034
- "on-success": b,
2035
- "on-error": j,
2036
- "on-change": D
2037
- }), {
2038
- file: y(({ file: i }) => [
2039
- c("div", $e, [
2040
- c("div", Re, [
2041
- !p.$slots.fileIcon && (!e.customIconData[u(z)(i, l)] || !e.customIconData[u(z)(i, l)][e.customIconFields.icon]) ? (s(), k(h3, {
2042
- key: 0,
2043
- type: u(z)(i, l)
2044
- }, null, 8, ["type"])) : !p.$slots.fileIcon && e.customIconData[u(z)(i, l)] && e.customIconData[u(z)(i, l)][e.customIconFields.icon] ? (s(), h("div", Me, [
2045
- e.customIconData[u(z)(i, l)][e.customIconFields.type] === "img" ? (s(), h("img", {
2046
- key: 0,
2047
- src: e.customIconData[u(z)(i, l)][e.customIconFields.icon],
2048
- alt: "",
2049
- class: "file-img-icon"
2050
- }, null, 8, Ee)) : (s(), h(
2051
- "span",
2052
- {
2053
- key: 1,
2054
- class: $([
2055
- e.customIconData[u(z)(i, l)][e.customIconFields.icon],
2056
- "file-icon-size"
2057
- ])
2058
- },
2059
- null,
2060
- 2
2061
- /* CLASS */
2062
- ))
2063
- ])) : _("v-if", !0),
2064
- c("div", He, [
2065
- M(p.$slots, "fileIcon", { file: i }, void 0, !0)
2066
- ]),
2067
- c("div", Oe, [
2068
- c("p", Ue, [
2177
+ 64
2178
+ /* STABLE_FRAGMENT */
2179
+ )) : (i(), b(r(S), {
2180
+ key: 1,
2181
+ onClick: (v) => J(l),
2182
+ error: "",
2183
+ name: "iksvg_guanbi",
2184
+ size: "default",
2185
+ bg: "",
2186
+ title: "取消上传"
2187
+ }, null, 8, ["onClick"]))
2188
+ ]))
2189
+ ])
2190
+ ]),
2191
+ default: y(() => [
2192
+ d("div", Ee, [
2193
+ d("div", He, [
2194
+ e.imageMode ? E(p.$slots, "image", { key: 0 }, () => [
2195
+ Ue
2196
+ ], !0) : e.showIcon ? (i(), b(r(S), {
2197
+ key: 1,
2198
+ name: "iksvg_img_shangchuanhetongfujianbeifen",
2199
+ type: "primary",
2200
+ bg: "",
2201
+ size: 40
2202
+ })) : z("v-if", !0),
2203
+ d("span", null, [
2069
2204
  q(
2070
- C(i[l.name] || i.name) + " ",
2205
+ I(e.title) + " ",
2071
2206
  1
2072
2207
  /* TEXT */
2073
2208
  ),
2074
- i.percentage && i.status === "uploading" ? (s(), h(
2075
- "span",
2076
- qe,
2077
- "(" + C(i.percentage) + "%)",
2078
- 1
2079
- /* TEXT */
2080
- )) : _("v-if", !0)
2081
- ]),
2082
- i.status === "success" ? (s(), h(
2083
- "p",
2084
- Le,
2085
- C(u(e3)(i.size / 1024 / 1024)) + "MB ",
2086
- 1
2087
- /* TEXT */
2088
- )) : _("v-if", !0),
2089
- i.percentage && i.status === "uploading" ? (s(), k(u(r3), {
2090
- key: 1,
2091
- "text-inside": "",
2092
- percentage: i.percentage,
2093
- color: "var(--el-color-primary)",
2094
- "show-text": !1
2095
- }, null, 8, ["percentage"])) : _("v-if", !0)
2096
- ])
2097
- ]),
2098
- e.preview ? (s(), h(
2099
- O,
2100
- { key: 1 },
2101
- [
2102
- e.preview || i.percentage === 100 ? (s(), k(
2103
- u(H),
2104
- {
2209
+ !e.preview && e.tip ? (i(), b(r(p3), {
2105
2210
  key: 0,
2106
- title: "预览",
2107
- class: "primary"
2108
- },
2109
- {
2110
- default: y(() => [
2111
- A(u(O3), {
2112
- onClick: (v) => E(i)
2113
- }, null, 8, ["onClick"])
2114
- ]),
2115
- _: 2
2116
- /* DYNAMIC */
2117
- },
2118
- 1024
2119
- /* DYNAMIC_SLOTS */
2120
- )) : _("v-if", !0),
2121
- A(
2122
- u(H),
2123
- {
2124
- title: "下载",
2125
- class: "primary"
2126
- },
2127
- {
2211
+ effect: "dark",
2212
+ content: o.tipText || "",
2213
+ "popper-class": "_ik_web_ui_file-help-tooltip"
2214
+ }, {
2128
2215
  default: y(() => [
2129
- A(u($3), {
2130
- onClick: (v) => G(i)
2131
- }, null, 8, ["onClick"])
2216
+ A(r(H), {
2217
+ size: 23,
2218
+ class: "_ik_web_ui_file_help_icon"
2219
+ }, {
2220
+ default: y(() => [
2221
+ A(r(h3))
2222
+ ]),
2223
+ _: 1
2224
+ /* STABLE */
2225
+ })
2132
2226
  ]),
2133
- _: 2
2134
- /* DYNAMIC */
2135
- },
2136
- 1024
2137
- /* DYNAMIC_SLOTS */
2138
- )
2139
- ],
2140
- 64
2141
- /* STABLE_FRAGMENT */
2142
- )) : (s(), h("div", Te, [
2143
- i.status === "success" ? (s(), h(
2144
- O,
2145
- { key: 0 },
2146
- [
2147
- A(u(I), {
2148
- onClick: (v) => E(i),
2149
- name: "iksvg_yulan",
2150
- title: "预览",
2151
- bg: "",
2152
- size: "default"
2153
- }, null, 8, ["onClick"]),
2154
- A(u(I), {
2155
- onClick: (v) => N(i),
2156
- error: "",
2157
- name: "iksvg_shanchu",
2158
- title: "删除",
2159
- bg: "",
2160
- size: "default"
2161
- }, null, 8, ["onClick"])
2162
- ],
2163
- 64
2164
- /* STABLE_FRAGMENT */
2165
- )) : (s(), k(u(I), {
2166
- key: 1,
2167
- onClick: (v) => N(i),
2168
- error: "",
2169
- name: "iksvg_guanbi",
2170
- size: "default",
2171
- bg: "",
2172
- title: "取消上传"
2173
- }, null, 8, ["onClick"]))
2174
- ]))
2175
- ])
2176
- ]),
2177
- default: y(() => [
2178
- c("div", Se, [
2179
- c("div", De, [
2180
- e.imageMode ? M(p.$slots, "image", { key: 0 }, () => [
2181
- Ve
2182
- ], !0) : e.showIcon ? (s(), k(u(I), {
2183
- key: 1,
2184
- name: "iksvg_img_shangchuanhetongfujianbeifen",
2185
- type: "primary",
2227
+ _: 1
2228
+ /* STABLE */
2229
+ }, 8, ["content"])) : z("v-if", !0)
2230
+ ])
2231
+ ]),
2232
+ A(r(S), {
2233
+ name: "iksvg_daoru",
2186
2234
  bg: "",
2187
- size: 40
2188
- })) : _("v-if", !0),
2189
- c("span", null, [
2190
- q(
2191
- C(e.title) + " ",
2192
- 1
2193
- /* TEXT */
2194
- ),
2195
- !e.preview && e.tip ? (s(), k(u(d3), {
2196
- key: 0,
2197
- effect: "dark",
2198
- content: o.tipText || "",
2199
- "popper-class": "_ik_web_ui_file-help-tooltip"
2200
- }, {
2201
- default: y(() => [
2202
- A(u(H), {
2203
- size: 23,
2204
- class: "_ik_web_ui_file_help_icon"
2205
- }, {
2206
- default: y(() => [
2207
- A(u(u3))
2208
- ]),
2209
- _: 1
2210
- /* STABLE */
2211
- })
2212
- ]),
2213
- _: 1
2214
- /* STABLE */
2215
- }, 8, ["content"])) : _("v-if", !0)
2216
- ])
2217
- ]),
2218
- A(u(I), {
2219
- name: "iksvg_daoru",
2220
- bg: "",
2221
- size: 40,
2222
- padding: "8px"
2223
- })
2224
- ])
2225
- ]),
2226
- _: 3
2227
- /* FORWARDED */
2228
- }, 16, ["file-list", "class", "accept", "action", "disabled", "multiple", "headers", "limit"]))
2229
- ],
2230
- 64
2231
- /* STABLE_FRAGMENT */
2232
- )),
2233
- A(u(W6), {
2234
- show: x.value,
2235
- "onUpdate:show": f[2] || (f[2] = (i) => x.value = i),
2236
- loadUrl: e.loadUrl,
2237
- file: g.value,
2238
- onlyofficeServer: e.onlyofficeServer,
2239
- onlyOfficeConfig: e.onlyOfficeConfig
2240
- }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig"])
2241
- ],
2242
- 64
2243
- /* STABLE_FRAGMENT */
2244
- ));
2235
+ size: 40,
2236
+ padding: "8px"
2237
+ })
2238
+ ])
2239
+ ]),
2240
+ _: 3
2241
+ /* FORWARDED */
2242
+ }, 16, ["file-list", "class", "accept", "action", "disabled", "multiple", "headers", "limit"]))
2243
+ ],
2244
+ 64
2245
+ /* STABLE_FRAGMENT */
2246
+ )),
2247
+ A(r(G6), {
2248
+ show: B.value,
2249
+ "onUpdate:show": f[2] || (f[2] = (l) => B.value = l),
2250
+ loadUrl: r(g),
2251
+ file: $.value,
2252
+ onlyofficeServer: ((w = r(u)) == null ? void 0 : w.serverUrl) || e.onlyofficeServer,
2253
+ onlyOfficeConfig: r(u)
2254
+ }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig"])
2255
+ ],
2256
+ 64
2257
+ /* STABLE_FRAGMENT */
2258
+ );
2259
+ };
2245
2260
  }
2246
2261
  });
2247
- const Pe = /* @__PURE__ */ K(je, [["__scopeId", "data-v-10a62ee9"]]), Qe = P(Pe);
2262
+ const Ke = /* @__PURE__ */ Y(Je, [["__scopeId", "data-v-91a04040"]]), et = N(Ke);
2248
2263
  export {
2249
- Qe as IkUploadFile,
2250
- Qe as default
2264
+ et as IkUploadFile,
2265
+ et as default
2251
2266
  };