iking-web-ui-pro 0.3.2 → 0.3.4

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 (111) hide show
  1. package/dist/IkApprovalProcessDetail/ik.index.es.js +21 -15
  2. package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
  3. package/dist/IkBaseDialog/ik.index.es.js +38 -34
  4. package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
  5. package/dist/IkBtnSetting/ik.index.es.js +45 -40
  6. package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
  7. package/dist/IkCalendar/ik.index.es.js +10320 -10322
  8. package/dist/IkCollapseCard/ik.index.es.js +53 -48
  9. package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
  10. package/dist/IkDescription/ik.index.es.js +21 -15
  11. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  12. package/dist/IkDetailPreviewFiles/ik.index.es.js +21 -15
  13. package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
  14. package/dist/IkEmpty/ik.index.es.js +7 -7
  15. package/dist/IkEmpty/iking-web-ui-pro.css +1 -1
  16. package/dist/IkExpandCollapse/ik.index.es.js +69 -64
  17. package/dist/IkExpandCollapse/iking-web-ui-pro.css +1 -1
  18. package/dist/IkFullCalendar/ik.index.es.js +12 -9334
  19. package/dist/IkIconPicker/ik.index.es.js +189 -177
  20. package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
  21. package/dist/IkMonacoEditor/ik.index.es.js +67 -62
  22. package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
  23. package/dist/IkPageFull/ik.index.es.js +132 -127
  24. package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
  25. package/dist/IkPreviewFile/ik.index.es.js +21 -15
  26. package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
  27. package/dist/IkPreviewFileDialog/ik.index.es.js +55 -51
  28. package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
  29. package/dist/IkSchedule/ik.index.es.js +390 -9681
  30. package/dist/IkSchedule/iking-web-ui-pro.css +1 -1
  31. package/dist/IkSelectTag/ik.index.es.js +83 -82
  32. package/dist/IkSelectTag/iking-web-ui-pro.css +1 -1
  33. package/dist/IkSideText/ik.index.es.js +70 -65
  34. package/dist/IkSideText/iking-web-ui-pro.css +1 -1
  35. package/dist/IkStatuOver/ik.index.es.js +68 -67
  36. package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
  37. package/dist/IkSvgIcon/ik.index.es.js +63 -58
  38. package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
  39. package/dist/IkTree/ik.index.es.js +7 -7
  40. package/dist/IkTree/iking-web-ui-pro.css +1 -1
  41. package/dist/IkUploadFile/ik.index.es.js +76 -72
  42. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  43. package/dist/IkUploadImage/ik.index.es.js +188 -188
  44. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  45. package/dist/IkVerticalStepBar/ik.index.es.js +106 -101
  46. package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
  47. package/dist/iking-web-ui-pro.css +2 -2
  48. package/dist/index.es.js +23272 -23459
  49. package/dist/index.umd.js +110 -110
  50. package/dist/src/components/IkFullCalendar/index.d.ts +1 -63
  51. package/dist/src/components/IkFullCalendar/src/IkFullCalendar.vue.d.ts +2 -0
  52. package/dist/src/components/IkMonacoEditor/index.d.ts +12 -0
  53. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +12 -0
  54. package/dist/src/components/IkSchedule/index.d.ts +12 -12
  55. package/dist/src/components/IkSvgIcon/index.d.ts +12 -0
  56. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +8 -0
  57. package/package.json +1 -1
  58. package/dist/Demo/ik.index.umd.js +0 -1
  59. package/dist/IkApprovalProcess/ik.index.umd.js +0 -1
  60. package/dist/IkApprovalProcessDetail/ik.index.umd.js +0 -226
  61. package/dist/IkAutoCard/ik.index.umd.js +0 -1
  62. package/dist/IkBaseDialog/ik.index.umd.js +0 -1
  63. package/dist/IkBottomOperate/ik.index.umd.js +0 -1
  64. package/dist/IkBtnContent/ik.index.umd.js +0 -1
  65. package/dist/IkBtnSetting/ik.index.umd.js +0 -1
  66. package/dist/IkCalendar/ik.index.umd.js +0 -1
  67. package/dist/IkCollapseCard/ik.index.umd.js +0 -1
  68. package/dist/IkCurrencyInput/ik.index.umd.js +0 -1
  69. package/dist/IkDescription/ik.index.umd.js +0 -226
  70. package/dist/IkDetailPreviewFiles/ik.index.umd.js +0 -226
  71. package/dist/IkDragList/ik.index.umd.js +0 -1
  72. package/dist/IkEmpty/ik.index.umd.js +0 -1
  73. package/dist/IkExpandCollapse/ik.index.umd.js +0 -1
  74. package/dist/IkFileIcon/ik.index.umd.js +0 -1
  75. package/dist/IkFullCalendar/ik.index.umd.js +0 -1
  76. package/dist/IkFullCalendar/iking-web-ui-pro.css +0 -1
  77. package/dist/IkHorizontalStepBar/ik.index.umd.js +0 -1
  78. package/dist/IkIconPicker/ik.index.umd.js +0 -1
  79. package/dist/IkImageEditor/ik.index.umd.js +0 -1
  80. package/dist/IkImageUploadEditor/ik.index.umd.js +0 -37
  81. package/dist/IkImageViewer/ik.index.umd.js +0 -1
  82. package/dist/IkMonacoEditor/ik.index.umd.js +0 -11
  83. package/dist/IkOnlyOffice/ik.index.umd.js +0 -1
  84. package/dist/IkPage/ik.index.umd.js +0 -1
  85. package/dist/IkPageFull/ik.index.umd.js +0 -17
  86. package/dist/IkPageTabs/ik.index.umd.js +0 -1
  87. package/dist/IkPickerUser/ik.index.umd.js +0 -1
  88. package/dist/IkPlayer/ik.index.umd.js +0 -226
  89. package/dist/IkPreviewFile/ik.index.umd.js +0 -226
  90. package/dist/IkPreviewFileDialog/ik.index.umd.js +0 -226
  91. package/dist/IkPrintConfig/ik.index.umd.js +0 -1
  92. package/dist/IkPrintView/ik.index.umd.js +0 -1
  93. package/dist/IkRadioGroup/ik.index.umd.js +0 -1
  94. package/dist/IkSchedule/ik.index.umd.js +0 -1
  95. package/dist/IkSearch/ik.index.umd.js +0 -26
  96. package/dist/IkSearchHead/ik.index.umd.js +0 -1
  97. package/dist/IkSelectTag/ik.index.umd.js +0 -1
  98. package/dist/IkSideText/ik.index.umd.js +0 -1
  99. package/dist/IkStatu/ik.index.umd.js +0 -1
  100. package/dist/IkStatuOver/ik.index.umd.js +0 -1
  101. package/dist/IkSvgIcon/ik.index.umd.js +0 -1
  102. package/dist/IkTaskResume/ik.index.umd.js +0 -1
  103. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +0 -1
  104. package/dist/IkTinymce/ik.index.umd.js +0 -90
  105. package/dist/IkTooltip/ik.index.umd.js +0 -1
  106. package/dist/IkTree/ik.index.umd.js +0 -1
  107. package/dist/IkUploadFile/ik.index.umd.js +0 -226
  108. package/dist/IkUploadImage/ik.index.umd.js +0 -1
  109. package/dist/IkVerticalStepBar/ik.index.umd.js +0 -9
  110. package/dist/Provider/ik.index.umd.js +0 -1
  111. package/dist/src/components/IkFullCalendar/src/ik-full-calendar.d.ts +0 -8
@@ -1,7 +1,7 @@
1
- import { defineComponent as M, openBlock as v, createElementBlock as m, createElementVNode as s, inject as W, computed as y, resolveComponent as ye, Fragment as X, normalizeClass as x, normalizeStyle as A, createCommentVNode as V, createBlock as Y, withCtx as z, createTextVNode as Se, toDisplayString as J, unref as d, getCurrentScope as Re, onScopeDispose as Pe, watch as ee, markRaw as be, ref as E, effectScope as Ue, shallowRef as De, nextTick as He, onMounted as je, Teleport as Fe, createVNode as _, Transition as We, withModifiers as Xe, resolveDynamicComponent as Ye, renderList as Ee, withDirectives as fe, vShow as me, renderSlot as Ne, mergeModels as ke, useCssVars as Qe, useModel as Ge, mergeProps as Ze, createSlots as Ke } from "vue";
1
+ import { defineComponent as M, openBlock as v, createElementBlock as m, createElementVNode as o, inject as W, computed as y, resolveComponent as ye, Fragment as X, normalizeClass as x, normalizeStyle as V, createBlock as Y, withCtx as I, createTextVNode as Se, toDisplayString as J, unref as d, getCurrentScope as Re, onScopeDispose as Pe, watch as ee, markRaw as be, ref as E, effectScope as Ue, shallowRef as De, nextTick as He, onMounted as je, Teleport as Fe, createVNode as _, Transition as We, withModifiers as Xe, createCommentVNode as A, resolveDynamicComponent as Ye, renderList as Ee, withDirectives as fe, vShow as me, renderSlot as Ne, mergeModels as ke, useCssVars as Qe, useModel as Ge, mergeProps as Ze, createSlots as Ke } from "vue";
2
2
  import { useLocale as Je, useNamespace as qe, useZIndex as et, ElIcon as S, EVENT_CODE as D, useFormItem as tt, ElUpload as at, ElImage as lt, ElMessage as xe } from "element-plus";
3
3
  import { ikColor as nt, paramType as ze, _ as q, ikFile as st } from "iking-utils-pro";
4
- const _e = (t, o) => (t.install = (l) => {
4
+ const _e = (t, r) => (t.install = (l) => {
5
5
  for (const e of [t, ...Object.values({})])
6
6
  l.component(e.name, e);
7
7
  }, t);
@@ -10,11 +10,11 @@ var ot = /* @__PURE__ */ M({
10
10
  name: "ArrowLeft",
11
11
  __name: "arrow-left",
12
12
  setup(t) {
13
- return (o, l) => (v(), m("svg", {
13
+ return (r, l) => (v(), m("svg", {
14
14
  xmlns: "http://www.w3.org/2000/svg",
15
15
  viewBox: "0 0 1024 1024"
16
16
  }, [
17
- s("path", {
17
+ o("path", {
18
18
  fill: "currentColor",
19
19
  d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"
20
20
  })
@@ -24,11 +24,11 @@ var ot = /* @__PURE__ */ M({
24
24
  name: "ArrowRight",
25
25
  __name: "arrow-right",
26
26
  setup(t) {
27
- return (o, l) => (v(), m("svg", {
27
+ return (r, l) => (v(), m("svg", {
28
28
  xmlns: "http://www.w3.org/2000/svg",
29
29
  viewBox: "0 0 1024 1024"
30
30
  }, [
31
- s("path", {
31
+ o("path", {
32
32
  fill: "currentColor",
33
33
  d: "M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
34
34
  })
@@ -38,11 +38,11 @@ var ot = /* @__PURE__ */ M({
38
38
  name: "Close",
39
39
  __name: "close",
40
40
  setup(t) {
41
- return (o, l) => (v(), m("svg", {
41
+ return (r, l) => (v(), m("svg", {
42
42
  xmlns: "http://www.w3.org/2000/svg",
43
43
  viewBox: "0 0 1024 1024"
44
44
  }, [
45
- s("path", {
45
+ o("path", {
46
46
  fill: "currentColor",
47
47
  d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
48
48
  })
@@ -52,11 +52,11 @@ var ot = /* @__PURE__ */ M({
52
52
  name: "Delete",
53
53
  __name: "delete",
54
54
  setup(t) {
55
- return (o, l) => (v(), m("svg", {
55
+ return (r, l) => (v(), m("svg", {
56
56
  xmlns: "http://www.w3.org/2000/svg",
57
57
  viewBox: "0 0 1024 1024"
58
58
  }, [
59
- s("path", {
59
+ o("path", {
60
60
  fill: "currentColor",
61
61
  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"
62
62
  })
@@ -66,11 +66,11 @@ var ot = /* @__PURE__ */ M({
66
66
  name: "Download",
67
67
  __name: "download",
68
68
  setup(t) {
69
- return (o, l) => (v(), m("svg", {
69
+ return (r, l) => (v(), m("svg", {
70
70
  xmlns: "http://www.w3.org/2000/svg",
71
71
  viewBox: "0 0 1024 1024"
72
72
  }, [
73
- s("path", {
73
+ o("path", {
74
74
  fill: "currentColor",
75
75
  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"
76
76
  })
@@ -80,11 +80,11 @@ var ot = /* @__PURE__ */ M({
80
80
  name: "FullScreen",
81
81
  __name: "full-screen",
82
82
  setup(t) {
83
- return (o, l) => (v(), m("svg", {
83
+ return (r, l) => (v(), m("svg", {
84
84
  xmlns: "http://www.w3.org/2000/svg",
85
85
  viewBox: "0 0 1024 1024"
86
86
  }, [
87
- s("path", {
87
+ o("path", {
88
88
  fill: "currentColor",
89
89
  d: "m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"
90
90
  })
@@ -94,11 +94,11 @@ var ot = /* @__PURE__ */ M({
94
94
  name: "RefreshLeft",
95
95
  __name: "refresh-left",
96
96
  setup(t) {
97
- return (o, l) => (v(), m("svg", {
97
+ return (r, l) => (v(), m("svg", {
98
98
  xmlns: "http://www.w3.org/2000/svg",
99
99
  viewBox: "0 0 1024 1024"
100
100
  }, [
101
- s("path", {
101
+ o("path", {
102
102
  fill: "currentColor",
103
103
  d: "M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"
104
104
  })
@@ -108,11 +108,11 @@ var ot = /* @__PURE__ */ M({
108
108
  name: "RefreshRight",
109
109
  __name: "refresh-right",
110
110
  setup(t) {
111
- return (o, l) => (v(), m("svg", {
111
+ return (r, l) => (v(), m("svg", {
112
112
  xmlns: "http://www.w3.org/2000/svg",
113
113
  viewBox: "0 0 1024 1024"
114
114
  }, [
115
- s("path", {
115
+ o("path", {
116
116
  fill: "currentColor",
117
117
  d: "M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"
118
118
  })
@@ -122,11 +122,11 @@ var ot = /* @__PURE__ */ M({
122
122
  name: "ScaleToOriginal",
123
123
  __name: "scale-to-original",
124
124
  setup(t) {
125
- return (o, l) => (v(), m("svg", {
125
+ return (r, l) => (v(), m("svg", {
126
126
  xmlns: "http://www.w3.org/2000/svg",
127
127
  viewBox: "0 0 1024 1024"
128
128
  }, [
129
- s("path", {
129
+ o("path", {
130
130
  fill: "currentColor",
131
131
  d: "M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"
132
132
  })
@@ -136,11 +136,11 @@ var ot = /* @__PURE__ */ M({
136
136
  name: "ZoomIn",
137
137
  __name: "zoom-in",
138
138
  setup(t) {
139
- return (o, l) => (v(), m("svg", {
139
+ return (r, l) => (v(), m("svg", {
140
140
  xmlns: "http://www.w3.org/2000/svg",
141
141
  viewBox: "0 0 1024 1024"
142
142
  }, [
143
- s("path", {
143
+ o("path", {
144
144
  fill: "currentColor",
145
145
  d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"
146
146
  })
@@ -150,20 +150,20 @@ var ot = /* @__PURE__ */ M({
150
150
  name: "ZoomOut",
151
151
  __name: "zoom-out",
152
152
  setup(t) {
153
- return (o, l) => (v(), m("svg", {
153
+ return (r, l) => (v(), m("svg", {
154
154
  xmlns: "http://www.w3.org/2000/svg",
155
155
  viewBox: "0 0 1024 1024"
156
156
  }, [
157
- s("path", {
157
+ o("path", {
158
158
  fill: "currentColor",
159
159
  d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"
160
160
  })
161
161
  ]));
162
162
  }
163
163
  }), It = Ct;
164
- const ge = (t, o) => {
164
+ const ge = (t, r) => {
165
165
  const l = t.__vccOpts || t;
166
- for (const [e, f] of o)
166
+ for (const [e, f] of r)
167
167
  l[e] = f;
168
168
  return l;
169
169
  }, Ot = {}, Lt = {
@@ -176,9 +176,9 @@ const ge = (t, o) => {
176
176
  width: "200",
177
177
  height: "200"
178
178
  };
179
- function Mt(t, o) {
180
- return v(), m("svg", Lt, o[0] || (o[0] = [
181
- s(
179
+ function Mt(t, r) {
180
+ return v(), m("svg", Lt, r[0] || (r[0] = [
181
+ o(
182
182
  "path",
183
183
  {
184
184
  d: "M369.569592 512.011256c0-14.328333-11.010775-25.945929-24.591071-25.945929L86.980515 486.065328c-13.580297 0-24.591071 11.618619-24.591071 25.945929 0 14.33038 11.010775 25.947975 24.591071 25.947975l257.998005 0C358.55984 537.959232 369.569592 526.341636 369.569592 512.011256z",
@@ -188,7 +188,7 @@ function Mt(t, o) {
188
188
  -1
189
189
  /* HOISTED */
190
190
  ),
191
- s(
191
+ o(
192
192
  "path",
193
193
  {
194
194
  d: "M937.019485 486.064304 679.020456 486.064304c-13.580297 0-24.591071 11.618619-24.591071 25.945929 0 14.33038 11.010775 25.947975 24.591071 25.947975l257.999029 0c13.580297 0 24.590048-11.618619 24.590048-25.947975C961.609533 497.682923 950.598758 486.064304 937.019485 486.064304z",
@@ -198,7 +198,7 @@ function Mt(t, o) {
198
198
  -1
199
199
  /* HOISTED */
200
200
  ),
201
- s(
201
+ o(
202
202
  "path",
203
203
  {
204
204
  d: "M512.011768 62.389956c-13.580297 0-24.590048 11.618619-24.590048 25.945929l0 257.170151c0 14.329357 11.010775 25.946952 24.590048 25.946952s24.591071-11.618619 24.591071-25.946952L536.602839 88.335884C536.602839 74.008574 525.591041 62.389956 512.011768 62.389956z",
@@ -208,7 +208,7 @@ function Mt(t, o) {
208
208
  -1
209
209
  /* HOISTED */
210
210
  ),
211
- s(
211
+ o(
212
212
  "path",
213
213
  {
214
214
  d: "M512.011768 652.544967c-13.580297 0-24.590048 11.618619-24.590048 25.946952l0 257.169127c0 14.33038 11.010775 25.947975 24.590048 25.947975s24.591071-11.618619 24.591071-25.947975L536.602839 678.491918C536.602839 664.162562 525.591041 652.544967 512.011768 652.544967z",
@@ -218,7 +218,7 @@ function Mt(t, o) {
218
218
  -1
219
219
  /* HOISTED */
220
220
  ),
221
- s(
221
+ o(
222
222
  "path",
223
223
  {
224
224
  d: "M377.001865 413.125085c4.744048 4.737908 10.818393 7.082302 16.882506 7.082302 6.519484 0 13.039991-2.724041 17.879206-8.134261 9.317203-10.414187 8.885368-26.834158-0.9967-36.678364L228.341057 193.559391c-9.832949-9.830903-25.406646-9.388834-34.760688 1.050935-9.317203 10.414187-8.885368 26.834158 0.9967 36.678364L377.001865 413.125085z",
@@ -228,7 +228,7 @@ function Mt(t, o) {
228
228
  -1
229
229
  /* HOISTED */
230
230
  ),
231
- s(
231
+ o(
232
232
  "path",
233
233
  {
234
234
  d: "M646.997112 610.873892c-9.846252-9.831926-25.419949-9.388834-34.761712 1.051959-9.317203 10.414187-8.885368 26.834158 0.997724 36.678364l182.41354 181.834348c4.743024 4.738931 10.818393 7.083326 16.881482 7.083326 6.520507 0 13.039991-2.723018 17.879206-8.134261 9.317203-10.41521 8.886391-26.834158-0.9967-36.678364L646.997112 610.873892z",
@@ -238,7 +238,7 @@ function Mt(t, o) {
238
238
  -1
239
239
  /* HOISTED */
240
240
  ),
241
- s(
241
+ o(
242
242
  "path",
243
243
  {
244
244
  d: "M630.114606 420.207387c6.064113 0 12.139481-2.344395 16.882506-7.082302l182.425819-181.836395c9.882068-9.844206 10.313903-26.264177 0.9967-36.678364-9.341762-10.43977-24.915459-10.882861-34.760688-1.050935L613.233124 375.394762c-9.882068 9.844206-10.314926 26.264177-0.997724 36.678364C617.074615 417.483346 623.595123 420.207387 630.114606 420.207387z",
@@ -248,7 +248,7 @@ function Mt(t, o) {
248
248
  -1
249
249
  /* HOISTED */
250
250
  ),
251
- s(
251
+ o(
252
252
  "path",
253
253
  {
254
254
  d: "M377.025401 610.873892 194.600605 792.710286c-9.881045 9.844206-10.313903 26.263154-0.9967 36.678364 4.839215 5.411243 11.358699 8.134261 17.879206 8.134261 6.064113 0 12.138458-2.344395 16.881482-7.083326l182.425819-181.834348c9.881045-9.844206 10.313903-26.264177 0.9967-36.678364C402.469909 601.485057 386.872676 601.041966 377.025401 610.873892z",
@@ -316,14 +316,14 @@ const $t = /* @__PURE__ */ ge(Ot, [["render", Mt]]), Ce = [
316
316
  "flv",
317
317
  "tls"
318
318
  ], Bt = (t) => {
319
- const o = W("loadUrl"), l = y(() => t.loadUrl || t.fileUrl || (o == null ? void 0 : o.value)), e = W("uploadUrl"), f = y(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), p = W("token"), O = y(() => t.token || (p == null ? void 0 : p.value)), $ = W("onlyofficeConfig"), h = y(() => t.onlyofficeConfig || ($ == null ? void 0 : $.value)), B = W("userInfo"), C = y(() => t.userInfo || (B == null ? void 0 : B.value)), r = [...Ce, ...Ce.map((b) => b.toLocaleUpperCase())];
319
+ const r = W("loadUrl"), l = y(() => t.loadUrl || t.fileUrl || (r == null ? void 0 : r.value)), e = W("uploadUrl"), f = y(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), p = W("token"), O = y(() => t.token || (p == null ? void 0 : p.value)), $ = W("onlyofficeConfig"), h = y(() => t.onlyofficeConfig || ($ == null ? void 0 : $.value)), B = W("userInfo"), z = y(() => t.userInfo || (B == null ? void 0 : B.value)), s = [...Ce, ...Ce.map((b) => b.toLocaleUpperCase())];
320
320
  return {
321
321
  cLoadUrl: l,
322
322
  cUploadUrl: f,
323
323
  cToken: O,
324
324
  cOnlyofficeConfig: h,
325
- cUserInfo: C,
326
- cOnlyofficePreviewType: r
325
+ cUserInfo: z,
326
+ cOnlyofficePreviewType: s
327
327
  };
328
328
  }, St = {
329
329
  key: 1,
@@ -355,35 +355,36 @@ const $t = /* @__PURE__ */ ge(Ot, [["render", Mt]]), Ce = [
355
355
  success: { type: Boolean },
356
356
  tableIconType: {},
357
357
  title: {},
358
- type: {},
358
+ type: { default: "primary" },
359
359
  warning: { type: Boolean },
360
- width: {}
360
+ width: {},
361
+ iconClass: { default: "" }
361
362
  },
362
363
  emits: ["click", "mouseenter", "mouseleave", "dblclick"],
363
- setup(t, { emit: o }) {
364
+ setup(t, { emit: r }) {
364
365
  const l = t, e = y(() => l), f = y(() => {
365
- const { name: r } = e.value;
366
- return /^http?:\/\//.test(r) ? "img" : /i-[^:]+:[^:]+/.test(r) ? "unocss" : r != null && r.startsWith("iksig") ? "iksig" : r != null && r.includes(":") ? "iconify" : r != null && r.startsWith("iksvg") ? "svg" : "i";
366
+ const { name: s } = e.value;
367
+ return /^http?:\/\//.test(s) ? "img" : /i-[^:]+:[^:]+/.test(s) ? "unocss" : s != null && s.startsWith("iksig") ? "iksig" : s != null && s.includes(":") ? "iconify" : s != null && s.startsWith("iksvg") ? "svg" : "i";
367
368
  }), p = y(() => {
368
- const r = [];
369
+ const s = [];
369
370
  if (e.value.flip)
370
371
  switch (e.value.flip) {
371
372
  case "horizontal":
372
- r.push("rotateY(180deg)");
373
+ s.push("rotateY(180deg)");
373
374
  break;
374
375
  case "vertical":
375
- r.push("rotateX(180deg)");
376
+ s.push("rotateX(180deg)");
376
377
  break;
377
378
  case "both":
378
- r.push("rotateX(180deg)"), r.push("rotateY(180deg)");
379
+ s.push("rotateX(180deg)"), s.push("rotateY(180deg)");
379
380
  break;
380
381
  }
381
- e.value.rotate && r.push(`rotate(${e.value.rotate % 360}deg)`);
382
+ e.value.rotate && s.push(`rotate(${e.value.rotate % 360}deg)`);
382
383
  const b = {
383
384
  pointerEvents: e.value.disabled ? "none" : "auto",
384
385
  ...e.value.color && { color: e.value.color },
385
386
  ...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
386
- ...r.length && { transform: r.join(" ") },
387
+ ...s.length && { transform: s.join(" ") },
387
388
  padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
388
389
  ...e.value.color && f.value !== "iksig" ? {
389
390
  "--ik-icon-deep-color": e.value.color,
@@ -391,58 +392,58 @@ const $t = /* @__PURE__ */ ge(Ot, [["render", Mt]]), Ce = [
391
392
  } : {}
392
393
  };
393
394
  return e.value.width && (b.width = b.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), b;
394
- }), O = o, $ = (r) => {
395
- O("click", r);
396
- }, h = (r) => {
397
- O("mouseenter", r);
398
- }, B = (r) => {
399
- O("mouseleave", r);
400
- }, C = (r) => {
401
- O("dblclick", r);
395
+ }), O = r, $ = (s) => {
396
+ O("click", s);
397
+ }, h = (s) => {
398
+ O("mouseenter", s);
399
+ }, B = (s) => {
400
+ O("mouseleave", s);
401
+ }, z = (s) => {
402
+ O("dblclick", s);
402
403
  };
403
- return (r, b) => {
404
- const w = ye("el-tooltip"), I = ye("el-button");
404
+ return (s, b) => {
405
+ const w = ye("el-tooltip"), C = ye("el-button");
405
406
  return e.value.tableIconType === "icon" || !e.value.tableIconType ? (v(), m(
406
407
  X,
407
408
  { key: 0 },
408
409
  [
409
410
  e.value.notip || !e.value.title ? (v(), m(
410
- "span",
411
+ "i",
411
412
  {
412
413
  key: 0,
413
414
  class: x(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
414
- [r.name]: f.value === "unocss",
415
+ [s.iconClass]: !0,
416
+ [s.name]: f.value === "unocss",
415
417
  "show-bg": e.value.showBg || e.value.bg,
416
418
  default: e.value.size === "default",
417
419
  small: e.value.size === "small",
418
420
  big: e.value.size === "big",
419
421
  warning: e.value.warning || e.value.type === "warning",
420
422
  primary: e.value.primary || e.value.type === "primary",
421
- success: r.success || e.value.type === "success",
423
+ success: s.success || e.value.type === "success",
422
424
  error: e.value.error || e.value.type === "error",
423
425
  active: e.value.active,
424
426
  disabled: e.value.disabled
425
427
  }]),
426
- style: A(p.value),
428
+ style: V(p.value),
427
429
  onClick: $,
428
- onDblclick: C,
430
+ onDblclick: z,
429
431
  onMouseenter: h,
430
432
  onMouseleave: B
431
433
  },
432
434
  [
433
- V(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
434
435
  f.value === "iksig" ? (v(), m(
435
436
  "i",
436
437
  {
437
438
  key: 0,
438
439
  class: x(`iksig ${e.value.name}`),
439
- style: A(p.value)
440
+ style: V(p.value)
440
441
  },
441
442
  null,
442
443
  6
443
444
  /* CLASS, STYLE */
444
445
  )) : f.value === "svg" ? (v(), m("svg", St, [
445
- s("use", {
446
+ o("use", {
446
447
  "xlink:href": `#${e.value.name}`
447
448
  }, null, 8, Et)
448
449
  ])) : f.value === "img" ? (v(), m("img", {
@@ -454,7 +455,7 @@ const $t = /* @__PURE__ */ ge(Ot, [["render", Mt]]), Ce = [
454
455
  {
455
456
  key: 3,
456
457
  class: x(e.value.name),
457
- style: A(p.value)
458
+ style: V(p.value)
458
459
  },
459
460
  null,
460
461
  6
@@ -467,27 +468,31 @@ const $t = /* @__PURE__ */ ge(Ot, [["render", Mt]]), Ce = [
467
468
  key: 1,
468
469
  content: e.value.title,
469
470
  placement: "top",
471
+ "popper-class": "ik-svg-icon-tooltip",
470
472
  "hide-after": 0
471
473
  }, {
472
- default: z(() => [
473
- s(
474
- "span",
474
+ default: I(() => [
475
+ o(
476
+ "i",
475
477
  {
476
478
  class: x(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
477
- [r.name]: f.value === "unocss",
479
+ [s.iconClass]: !0,
480
+ [s.name]: f.value === "unocss",
478
481
  "show-bg": e.value.showBg || e.value.bg,
479
482
  default: e.value.size === "default",
480
483
  small: e.value.size === "small",
481
484
  big: e.value.size === "big",
482
485
  warning: e.value.warning || e.value.type === "warning",
483
- primary: r.primary || e.value.type === "primary",
484
- success: r.success || e.value.type === "success",
486
+ primary: s.primary || e.value.type === "primary",
487
+ success: s.success || e.value.type === "success",
485
488
  error: e.value.error || e.value.type === "error",
486
- active: e.value.active
489
+ active: e.value.active,
490
+ disabled: e.value.disabled,
491
+ ...s.$attrs.class || {}
487
492
  }]),
488
- style: A(p.value),
493
+ style: V(p.value),
489
494
  onClick: $,
490
- onDblclick: C,
495
+ onDblclick: z,
491
496
  onMouseenter: h,
492
497
  onMouseleave: B
493
498
  },
@@ -497,13 +502,13 @@ const $t = /* @__PURE__ */ ge(Ot, [["render", Mt]]), Ce = [
497
502
  {
498
503
  key: 0,
499
504
  class: x(`iksig ${e.value.name}`),
500
- style: A(p.value)
505
+ style: V(p.value)
501
506
  },
502
507
  null,
503
508
  6
504
509
  /* CLASS, STYLE */
505
510
  )) : f.value === "svg" ? (v(), m("svg", Tt, [
506
- s("use", {
511
+ o("use", {
507
512
  "xlink:href": `#${e.value.name}`
508
513
  }, null, 8, Vt)
509
514
  ])) : f.value === "img" ? (v(), m("img", {
@@ -515,7 +520,7 @@ const $t = /* @__PURE__ */ ge(Ot, [["render", Mt]]), Ce = [
515
520
  {
516
521
  key: 3,
517
522
  class: x(e.value.name),
518
- style: A(p.value)
523
+ style: V(p.value)
519
524
  },
520
525
  null,
521
526
  6
@@ -532,11 +537,11 @@ const $t = /* @__PURE__ */ ge(Ot, [["render", Mt]]), Ce = [
532
537
  ],
533
538
  64
534
539
  /* STABLE_FRAGMENT */
535
- )) : (v(), Y(I, {
540
+ )) : (v(), Y(C, {
536
541
  key: 1,
537
542
  type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
538
543
  }, {
539
- default: z(() => [
544
+ default: I(() => [
540
545
  Se(
541
546
  J(e.value.title),
542
547
  1
@@ -548,7 +553,7 @@ const $t = /* @__PURE__ */ ge(Ot, [["render", Mt]]), Ce = [
548
553
  }, 8, ["type"]));
549
554
  };
550
555
  }
551
- }), Pt = /* @__PURE__ */ ge(Rt, [["__scopeId", "data-v-c7804024"]]), pe = _e(Pt);
556
+ }), Pt = /* @__PURE__ */ ge(Rt, [["__scopeId", "data-v-64b61696"]]), pe = _e(Pt);
552
557
  var Ie;
553
558
  const Ve = typeof window < "u", Ut = (t) => typeof t == "string", Dt = () => {
554
559
  };
@@ -563,20 +568,20 @@ function jt(t) {
563
568
  return Re() ? (Pe(t), !0) : !1;
564
569
  }
565
570
  function Ft(t) {
566
- var o;
571
+ var r;
567
572
  const l = Ae(t);
568
- return (o = l == null ? void 0 : l.$el) != null ? o : l;
573
+ return (r = l == null ? void 0 : l.$el) != null ? r : l;
569
574
  }
570
575
  const Wt = Ve ? window : void 0;
571
576
  function K(...t) {
572
- let o, l, e, f;
573
- if (Ut(t[0]) || Array.isArray(t[0]) ? ([l, e, f] = t, o = Wt) : [o, l, e, f] = t, !o)
577
+ let r, l, e, f;
578
+ if (Ut(t[0]) || Array.isArray(t[0]) ? ([l, e, f] = t, r = Wt) : [r, l, e, f] = t, !r)
574
579
  return Dt;
575
580
  Array.isArray(l) || (l = [l]), Array.isArray(e) || (e = [e]);
576
581
  const p = [], O = () => {
577
- p.forEach((C) => C()), p.length = 0;
578
- }, $ = (C, r, b, w) => (C.addEventListener(r, b, w), () => C.removeEventListener(r, b, w)), h = ee(() => [Ft(o), Ae(f)], ([C, r]) => {
579
- O(), C && p.push(...l.flatMap((b) => e.map((w) => $(C, b, w, r))));
582
+ p.forEach((z) => z()), p.length = 0;
583
+ }, $ = (z, s, b, w) => (z.addEventListener(s, b, w), () => z.removeEventListener(s, b, w)), h = ee(() => [Ft(r), Ae(f)], ([z, s]) => {
584
+ O(), z && p.push(...l.flatMap((b) => e.map((w) => $(z, b, w, s))));
580
585
  }, { immediate: !0, flush: "post" }), B = () => {
581
586
  h(), O();
582
587
  };
@@ -588,12 +593,12 @@ var Me;
588
593
  (function(t) {
589
594
  t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
590
595
  })(Me || (Me = {}));
591
- var Xt = Object.defineProperty, $e = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, Be = (t, o, l) => o in t ? Xt(t, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[o] = l, Gt = (t, o) => {
592
- for (var l in o)
593
- Yt.call(o, l) && Be(t, l, o[l]);
596
+ var Xt = Object.defineProperty, $e = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, Be = (t, r, l) => r in t ? Xt(t, r, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[r] = l, Gt = (t, r) => {
597
+ for (var l in r)
598
+ Yt.call(r, l) && Be(t, l, r[l]);
594
599
  if ($e)
595
- for (var l of $e(o))
596
- Qt.call(o, l) && Be(t, l, o[l]);
600
+ for (var l of $e(r))
601
+ Qt.call(r, l) && Be(t, l, r[l]);
597
602
  return t;
598
603
  };
599
604
  const Zt = {
@@ -704,7 +709,7 @@ const Kt = {
704
709
  __name: "IkImageViewer",
705
710
  props: Kt,
706
711
  emits: Jt,
707
- setup(t, { expose: o, emit: l }) {
712
+ setup(t, { expose: r, emit: l }) {
708
713
  const e = (n) => Object.keys(n), f = {
709
714
  CONTAIN: {
710
715
  name: "contain",
@@ -714,7 +719,7 @@ const Kt = {
714
719
  name: "original",
715
720
  icon: be(xt)
716
721
  }
717
- }, p = t, O = l, { t: $ } = Je(), h = qe("image-viewer"), { nextZIndex: B } = et(), C = E(), r = E([]), b = Ue(), w = E(!0), I = E(p.initialIndex), R = De(f.CONTAIN), k = E({
722
+ }, p = t, O = l, { t: $ } = Je(), h = qe("image-viewer"), { nextZIndex: B } = et(), z = E(), s = E([]), b = Ue(), w = E(!0), C = E(p.initialIndex), R = De(f.CONTAIN), k = E({
718
723
  scale: 1,
719
724
  deg: 0,
720
725
  offsetX: 0,
@@ -723,7 +728,7 @@ const Kt = {
723
728
  }), te = E(p.zIndex ?? B()), ae = y(() => {
724
729
  const { urlList: n } = p;
725
730
  return n.length <= 1;
726
- }), Q = y(() => I.value === 0), G = y(() => I.value === p.urlList.length - 1), le = y(() => p.urlList[I.value]), ne = y(() => [
731
+ }), Q = y(() => C.value === 0), G = y(() => C.value === p.urlList.length - 1), le = y(() => p.urlList[C.value]), ne = y(() => [
727
732
  h.e("btn"),
728
733
  h.e("prev"),
729
734
  h.is("disabled", !p.infinite && Q.value)
@@ -794,7 +799,7 @@ const Kt = {
794
799
  w.value = !1, n.target.alt = $("el.image.error");
795
800
  }
796
801
  function de(n) {
797
- if (w.value || n.button !== 0 || !C.value) return;
802
+ if (w.value || n.button !== 0 || !z.value) return;
798
803
  k.value.enableTransition = !1;
799
804
  const { offsetX: c, offsetY: g } = k.value, L = n.pageX, N = n.pageY, T = q.throttle((F) => {
800
805
  k.value = {
@@ -823,13 +828,13 @@ const Kt = {
823
828
  }
824
829
  function j(n) {
825
830
  const c = p.urlList.length;
826
- I.value = (n + c) % c;
831
+ C.value = (n + c) % c;
827
832
  }
828
833
  function a() {
829
- Q.value && !p.infinite || j(I.value - 1);
834
+ Q.value && !p.infinite || j(C.value - 1);
830
835
  }
831
836
  function u() {
832
- G.value && !p.infinite || j(I.value + 1);
837
+ G.value && !p.infinite || j(C.value + 1);
833
838
  }
834
839
  function i(n, c = {}) {
835
840
  if (w.value) return;
@@ -861,15 +866,15 @@ const Kt = {
861
866
  }
862
867
  return ee(le, () => {
863
868
  He(() => {
864
- const n = r.value[0];
869
+ const n = s.value[0];
865
870
  n != null && n.complete || (w.value = !0);
866
871
  });
867
- }), ee(I, (n) => {
872
+ }), ee(C, (n) => {
868
873
  U(), O("switch", n);
869
874
  }), je(() => {
870
875
  var n, c;
871
- re(), (c = (n = C.value) == null ? void 0 : n.focus) == null || c.call(n);
872
- }), o({
876
+ re(), (c = (n = z.value) == null ? void 0 : n.focus) == null || c.call(n);
877
+ }), r({
873
878
  /**
874
879
  * @description manually switch image
875
880
  */
@@ -879,18 +884,18 @@ const Kt = {
879
884
  name: "viewer-fade",
880
885
  appear: ""
881
886
  }, {
882
- default: z(() => [
883
- s(
887
+ default: I(() => [
888
+ o(
884
889
  "div",
885
890
  {
886
891
  ref_key: "wrapper",
887
- ref: C,
892
+ ref: z,
888
893
  tabindex: -1,
889
894
  class: x(d(h).e("wrapper")),
890
- style: A({ zIndex: te.value })
895
+ style: V({ zIndex: te.value })
891
896
  },
892
897
  [
893
- s(
898
+ o(
894
899
  "div",
895
900
  {
896
901
  class: x(d(h).e("mask")),
@@ -900,8 +905,8 @@ const Kt = {
900
905
  2
901
906
  /* CLASS */
902
907
  ),
903
- V(" CLOSE "),
904
- s(
908
+ A(" CLOSE "),
909
+ o(
905
910
  "span",
906
911
  {
907
912
  class: x([d(h).e("btn"), d(h).e("close")]),
@@ -909,7 +914,7 @@ const Kt = {
909
914
  },
910
915
  [
911
916
  _(d(S), null, {
912
- default: z(() => [
917
+ default: I(() => [
913
918
  _(d(dt))
914
919
  ]),
915
920
  _: 1
@@ -919,12 +924,12 @@ const Kt = {
919
924
  2
920
925
  /* CLASS */
921
926
  ),
922
- V(" ARROW "),
923
- ae.value ? V("v-if", !0) : (v(), m(
927
+ A(" ARROW "),
928
+ ae.value ? A("v-if", !0) : (v(), m(
924
929
  X,
925
930
  { key: 0 },
926
931
  [
927
- s(
932
+ o(
928
933
  "span",
929
934
  {
930
935
  class: x(ne.value),
@@ -932,7 +937,7 @@ const Kt = {
932
937
  },
933
938
  [
934
939
  _(d(S), null, {
935
- default: z(() => [
940
+ default: I(() => [
936
941
  _(d(rt))
937
942
  ]),
938
943
  _: 1
@@ -942,7 +947,7 @@ const Kt = {
942
947
  2
943
948
  /* CLASS */
944
949
  ),
945
- s(
950
+ o(
946
951
  "span",
947
952
  {
948
953
  class: x(se.value),
@@ -950,7 +955,7 @@ const Kt = {
950
955
  },
951
956
  [
952
957
  _(d(S), null, {
953
- default: z(() => [
958
+ default: I(() => [
954
959
  _(d(ut))
955
960
  ]),
956
961
  _: 1
@@ -964,14 +969,14 @@ const Kt = {
964
969
  64
965
970
  /* STABLE_FRAGMENT */
966
971
  )),
967
- V(" ACTIONS "),
968
- s(
972
+ A(" ACTIONS "),
973
+ o(
969
974
  "div",
970
975
  {
971
976
  class: x([d(h).e("btn"), d(h).e("actions")])
972
977
  },
973
978
  [
974
- s(
979
+ o(
975
980
  "div",
976
981
  {
977
982
  class: x(d(h).e("actions__inner"))
@@ -980,7 +985,7 @@ const Kt = {
980
985
  _(d(S), {
981
986
  onClick: c[1] || (c[1] = (g) => i("zoomOut"))
982
987
  }, {
983
- default: z(() => [
988
+ default: I(() => [
984
989
  _(d(It))
985
990
  ]),
986
991
  _: 1
@@ -989,13 +994,13 @@ const Kt = {
989
994
  _(d(S), {
990
995
  onClick: c[2] || (c[2] = (g) => i("zoomIn"))
991
996
  }, {
992
- default: z(() => [
997
+ default: I(() => [
993
998
  _(d(Te))
994
999
  ]),
995
1000
  _: 1
996
1001
  /* STABLE */
997
1002
  }),
998
- s(
1003
+ o(
999
1004
  "i",
1000
1005
  {
1001
1006
  class: x(d(h).e("actions__divider"))
@@ -1005,13 +1010,13 @@ const Kt = {
1005
1010
  /* CLASS */
1006
1011
  ),
1007
1012
  _(d(S), { onClick: Z }, {
1008
- default: z(() => [
1013
+ default: I(() => [
1009
1014
  (v(), Y(Ye(R.value.icon)))
1010
1015
  ]),
1011
1016
  _: 1
1012
1017
  /* STABLE */
1013
1018
  }),
1014
- s(
1019
+ o(
1015
1020
  "i",
1016
1021
  {
1017
1022
  class: x(d(h).e("actions__divider"))
@@ -1023,7 +1028,7 @@ const Kt = {
1023
1028
  _(d(S), {
1024
1029
  onClick: c[3] || (c[3] = (g) => i("anticlockwise"))
1025
1030
  }, {
1026
- default: z(() => [
1031
+ default: I(() => [
1027
1032
  _(d(wt))
1028
1033
  ]),
1029
1034
  _: 1
@@ -1032,7 +1037,7 @@ const Kt = {
1032
1037
  _(d(S), {
1033
1038
  onClick: c[4] || (c[4] = (g) => i("clockwise"))
1034
1039
  }, {
1035
- default: z(() => [
1040
+ default: I(() => [
1036
1041
  _(d(bt))
1037
1042
  ]),
1038
1043
  _: 1
@@ -1046,8 +1051,8 @@ const Kt = {
1046
1051
  2
1047
1052
  /* CLASS */
1048
1053
  ),
1049
- V(" CANVAS "),
1050
- s(
1054
+ A(" CANVAS "),
1055
+ o(
1051
1056
  "div",
1052
1057
  {
1053
1058
  class: x(d(h).e("canvas"))
@@ -1058,17 +1063,17 @@ const Kt = {
1058
1063
  null,
1059
1064
  Ee(n.urlList, (g, L) => fe((v(), m("img", {
1060
1065
  ref_for: !0,
1061
- ref: (N) => r.value[L] = N,
1066
+ ref: (N) => s.value[L] = N,
1062
1067
  key: g,
1063
1068
  src: g,
1064
- style: A(oe.value),
1069
+ style: V(oe.value),
1065
1070
  class: x(d(h).e("img")),
1066
1071
  crossorigin: n.crossorigin,
1067
1072
  onLoad: ue,
1068
1073
  onError: ce,
1069
1074
  onMousedown: de
1070
1075
  }, null, 46, qt)), [
1071
- [me, L === I.value]
1076
+ [me, L === C.value]
1072
1077
  ])),
1073
1078
  128
1074
1079
  /* KEYED_FRAGMENT */
@@ -1185,12 +1190,12 @@ const Kt = {
1185
1190
  modelModifiers: {}
1186
1191
  }),
1187
1192
  emits: /* @__PURE__ */ ke(["delete", "success"], ["update:modelValue"]),
1188
- setup(t, { emit: o }) {
1193
+ setup(t, { emit: r }) {
1189
1194
  Qe((a) => ({
1190
- "3fbbc369": B.value,
1191
- c424a038: C.value,
1192
- "7e3e1085": j.value,
1193
- "218d59a7": Z.value
1195
+ "4e5f919e": B.value,
1196
+ "2767b51c": z.value,
1197
+ "17891c86": j.value,
1198
+ "7b7a1d22": Z.value
1194
1199
  }));
1195
1200
  const l = t, e = Ge(t, "modelValue"), { formItem: f } = tt(), p = (a) => Array.isArray(a) ? a.map((u) => {
1196
1201
  var c, g;
@@ -1212,7 +1217,7 @@ const Kt = {
1212
1217
  },
1213
1218
  { deep: !0 }
1214
1219
  );
1215
- const O = o, { cLoadUrl: $, cUploadUrl: h } = Bt(l), B = y(() => `${l.width}px`), C = y(() => `${l.height}px`), r = y(() => l.size), b = E(null), w = E(p(e.value)), I = E([]), R = E(!1), k = E(0), te = y(
1220
+ const O = r, { cLoadUrl: $, cUploadUrl: h } = Bt(l), B = y(() => `${l.width}px`), z = y(() => `${l.height}px`), s = y(() => l.size), b = E(null), w = E(p(e.value)), C = E([]), R = E(!1), k = E(0), te = y(
1216
1221
  () => l.tipText || `最多可上传${l.limit}张图片, 每张图片不能超过${l.size}MB`
1217
1222
  ), ae = (a, u) => {
1218
1223
  }, Q = (a) => {
@@ -1224,7 +1229,7 @@ const Kt = {
1224
1229
  }
1225
1230
  return !1;
1226
1231
  }
1227
- if (!(a.size / 1024 / 1024 < r.value)) {
1232
+ if (!(a.size / 1024 / 1024 < s.value)) {
1228
1233
  xe.warning(`图片大小超出系统限制的${l.size}MB!`);
1229
1234
  try {
1230
1235
  w.value.pop();
@@ -1235,7 +1240,7 @@ const Kt = {
1235
1240
  return !0;
1236
1241
  }, G = () => !1, le = (a, u) => {
1237
1242
  var i, n;
1238
- a.status = "ready", u !== void 0 && I.value.splice(u, 1), (i = b.value) == null || i.handleStart(a.raw), (n = b.value) == null || n.submit();
1243
+ a.status = "ready", u !== void 0 && C.value.splice(u, 1), (i = b.value) == null || i.handleStart(a.raw), (n = b.value) == null || n.submit();
1239
1244
  }, ne = (a, u) => {
1240
1245
  var g, L;
1241
1246
  const i = e.value.length, n = l.limit - i;
@@ -1245,7 +1250,7 @@ const Kt = {
1245
1250
  }, se = (a, u, i) => {
1246
1251
  O("success", a, u, i), e.value = w.value, f == null || f.validate("change");
1247
1252
  }, oe = (a, u, i) => {
1248
- I.value.push({
1253
+ C.value.push({
1249
1254
  ...u,
1250
1255
  __url: u.url
1251
1256
  });
@@ -1261,15 +1266,15 @@ const Kt = {
1261
1266
  var u;
1262
1267
  a.status !== "success" && ie(a), e.value = (u = w.value) == null ? void 0 : u.filter((i) => i.uid !== a.uid), O("delete", a);
1263
1268
  }, ce = (a, u) => {
1264
- I.value.splice(u, 1);
1265
- }, de = y(() => w.value.length + I.value.length < l.limit), U = y(
1269
+ C.value.splice(u, 1);
1270
+ }, de = y(() => w.value.length + C.value.length < l.limit), U = y(
1266
1271
  () => e.value.length >= l.limit || l.disabled
1267
1272
  ), Z = y(() => {
1268
1273
  var a;
1269
- return !((a = e.value) != null && a.length) && !I.value.length || l.limit === 1 || typeof e.value == "string" ? "0" : `${l.width + 8}px`;
1274
+ return !((a = e.value) != null && a.length) && !C.value.length || l.limit === 1 || typeof e.value == "string" ? "0" : `${l.width + 8}px`;
1270
1275
  }), j = y(() => {
1271
1276
  var a;
1272
- return !((a = e.value) != null && a.length) && !I.value.length && typeof e.value != "string" || l.limit === 1 ? "none" : "absolute";
1277
+ return !((a = e.value) != null && a.length) && !C.value.length && typeof e.value != "string" || l.limit === 1 ? "none" : "absolute";
1273
1278
  });
1274
1279
  return (a, u) => (v(), m(
1275
1280
  X,
@@ -1296,19 +1301,14 @@ const Kt = {
1296
1301
  "on-error": oe,
1297
1302
  drag: ""
1298
1303
  }, a.$attrs, { disabled: U.value }), Ke({
1299
- trigger: z(() => [
1304
+ trigger: I(() => [
1300
1305
  a.$slots.trigger ? Ne(a.$slots, "trigger", { key: 0 }, void 0, !0) : (v(), m("div", aa, [
1301
- _(d(S), { size: 20 }, {
1302
- default: z(() => [
1303
- _(d(pe), {
1304
- name: "iksvg_guanbibeifen",
1305
- disabled: U.value
1306
- }, null, 8, ["disabled"])
1307
- ]),
1308
- _: 1
1309
- /* STABLE */
1310
- }),
1311
- s(
1306
+ _(d(pe), {
1307
+ size: 20,
1308
+ name: "iksvg_guanbibeifen",
1309
+ disabled: U.value
1310
+ }, null, 8, ["disabled"]),
1311
+ o(
1312
1312
  "span",
1313
1313
  null,
1314
1314
  J(t.title),
@@ -1317,15 +1317,15 @@ const Kt = {
1317
1317
  )
1318
1318
  ]))
1319
1319
  ]),
1320
- file: z(({ file: i, index: n }) => [
1321
- s(
1320
+ file: I(({ file: i, index: n }) => [
1321
+ o(
1322
1322
  "div",
1323
1323
  {
1324
1324
  class: x(["load-list", { loading: i.status === "uploading" }]),
1325
1325
  "element-loading-background": "var(--ik-upload-bg)"
1326
1326
  },
1327
1327
  [
1328
- fe(s(
1328
+ fe(o(
1329
1329
  "div",
1330
1330
  na,
1331
1331
  [
@@ -1341,7 +1341,7 @@ const Kt = {
1341
1341
  ), [
1342
1342
  [me, i.status === "uploading"]
1343
1343
  ]),
1344
- V(` <img :src="file.url" alt="" :style="{ 'object-fit': fit }" /> `),
1344
+ A(` <img :src="file.url" alt="" :style="{ 'object-fit': fit }" /> `),
1345
1345
  _(d(lt), {
1346
1346
  style: { width: "100%", height: "100%" },
1347
1347
  src: i.__url || i.url,
@@ -1349,35 +1349,35 @@ const Kt = {
1349
1349
  "initial-index": 0,
1350
1350
  fit: "contain"
1351
1351
  }, null, 8, ["src"]),
1352
- s("span", sa, [
1353
- s("span", null, [
1352
+ o("span", sa, [
1353
+ o("span", null, [
1354
1354
  _(d(S), {
1355
1355
  onClick: (c) => H(i)
1356
1356
  }, {
1357
- default: z(() => [
1357
+ default: I(() => [
1358
1358
  _(d(Te))
1359
1359
  ]),
1360
1360
  _: 2
1361
1361
  /* DYNAMIC */
1362
1362
  }, 1032, ["onClick"])
1363
1363
  ]),
1364
- s("span", null, [
1364
+ o("span", null, [
1365
1365
  _(d(S), {
1366
1366
  onClick: (c) => re(i)
1367
1367
  }, {
1368
- default: z(() => [
1368
+ default: I(() => [
1369
1369
  _(d(mt))
1370
1370
  ]),
1371
1371
  _: 2
1372
1372
  /* DYNAMIC */
1373
1373
  }, 1032, ["onClick"])
1374
1374
  ]),
1375
- t.preview ? V("v-if", !0) : (v(), m("span", oa, [
1375
+ t.preview ? A("v-if", !0) : (v(), m("span", oa, [
1376
1376
  _(d(S), {
1377
1377
  type: "warning",
1378
1378
  onClick: (c) => ue(i)
1379
1379
  }, {
1380
- default: z(() => [
1380
+ default: I(() => [
1381
1381
  _(d(pt))
1382
1382
  ]),
1383
1383
  _: 2
@@ -1390,23 +1390,23 @@ const Kt = {
1390
1390
  /* CLASS */
1391
1391
  )
1392
1392
  ]),
1393
- default: z(() => [
1394
- s("ul", ra, [
1393
+ default: I(() => [
1394
+ o("ul", ra, [
1395
1395
  (v(!0), m(
1396
1396
  X,
1397
1397
  null,
1398
- Ee(I.value, (i, n) => (v(), m("li", {
1398
+ Ee(C.value, (i, n) => (v(), m("li", {
1399
1399
  class: "el-upload-list__item",
1400
1400
  key: i.uid
1401
1401
  }, [
1402
- s("span", null, [
1402
+ o("span", null, [
1403
1403
  _(d(pe), {
1404
1404
  name: "iksvg_guanbi",
1405
1405
  error: "",
1406
1406
  onClick: (c) => ce(i, n)
1407
1407
  }, null, 8, ["onClick"])
1408
1408
  ]),
1409
- s(
1409
+ o(
1410
1410
  "div",
1411
1411
  {
1412
1412
  class: x(["load-list", {
@@ -1416,7 +1416,7 @@ const Kt = {
1416
1416
  "element-loading-background": "var(--ik-upload-bg)"
1417
1417
  },
1418
1418
  [
1419
- fe(s("div", {
1419
+ fe(o("div", {
1420
1420
  class: "loading-statu",
1421
1421
  onClick: (c) => le(i, n)
1422
1422
  }, [
@@ -1424,14 +1424,14 @@ const Kt = {
1424
1424
  name: "iksvg_shuaxin-daohang",
1425
1425
  size: 24
1426
1426
  }),
1427
- u[2] || (u[2] = s(
1427
+ u[2] || (u[2] = o(
1428
1428
  "span",
1429
1429
  { class: "error" },
1430
1430
  "上传错误",
1431
1431
  -1
1432
1432
  /* HOISTED */
1433
1433
  )),
1434
- u[3] || (u[3] = s(
1434
+ u[3] || (u[3] = o(
1435
1435
  "p",
1436
1436
  null,
1437
1437
  "点击重新上传",
@@ -1441,10 +1441,10 @@ const Kt = {
1441
1441
  ], 8, ia), [
1442
1442
  [me, i.status === "fail"]
1443
1443
  ]),
1444
- s("img", {
1444
+ o("img", {
1445
1445
  src: i.__url,
1446
1446
  alt: "",
1447
- style: A({ "object-fit": t.fit })
1447
+ style: V({ "object-fit": t.fit })
1448
1448
  }, null, 12, ua)
1449
1449
  ],
1450
1450
  2
@@ -1461,8 +1461,8 @@ const Kt = {
1461
1461
  }, [
1462
1462
  t.tip ? {
1463
1463
  name: "tip",
1464
- fn: z(() => [
1465
- s(
1464
+ fn: I(() => [
1465
+ o(
1466
1466
  "span",
1467
1467
  la,
1468
1468
  J(te.value),
@@ -1473,8 +1473,8 @@ const Kt = {
1473
1473
  key: "0"
1474
1474
  } : void 0
1475
1475
  ]), 1040, ["class", "accept", "action", "headers", "data", "file-list", "multiple", "limit", "disabled"]),
1476
- V(" 文件预览 "),
1477
- s("div", ca, [
1476
+ A(" 文件预览 "),
1477
+ o("div", ca, [
1478
1478
  R.value ? (v(), Y(d(ta), {
1479
1479
  key: 0,
1480
1480
  "lock-scroll": "",
@@ -1484,14 +1484,14 @@ const Kt = {
1484
1484
  }),
1485
1485
  "url-list": p(w.value).map((i) => i.__url),
1486
1486
  "initial-index": k.value
1487
- }, null, 8, ["url-list", "initial-index"])) : V("v-if", !0)
1487
+ }, null, 8, ["url-list", "initial-index"])) : A("v-if", !0)
1488
1488
  ])
1489
1489
  ],
1490
1490
  64
1491
1491
  /* STABLE_FRAGMENT */
1492
1492
  ));
1493
1493
  }
1494
- }), va = /* @__PURE__ */ ge(da, [["__scopeId", "data-v-05d76aad"]]), _a = _e(va);
1494
+ }), va = /* @__PURE__ */ ge(da, [["__scopeId", "data-v-f467c552"]]), _a = _e(va);
1495
1495
  export {
1496
1496
  _a as IkUploadImage,
1497
1497
  _a as default