iking-web-ui-pro 0.2.52 → 0.2.53

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 (197) hide show
  1. package/dist/IKExpandCollapse/ik.index.es.js +3 -3
  2. package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
  3. package/dist/IKExpandCollapse/style.css +1 -1
  4. package/dist/IKHorizontalStepBar/ik.index.es.js +93 -93
  5. package/dist/IKHorizontalStepBar/ik.index.umd.js +1 -1
  6. package/dist/IKPreviewFile/ik.index.es.js +2098 -2017
  7. package/dist/IKPreviewFile/ik.index.umd.js +49 -49
  8. package/dist/IKPreviewFile/style.css +1 -1
  9. package/dist/IKSearch/ik.index.es.js +1035 -1035
  10. package/dist/IKSearch/ik.index.umd.js +2 -2
  11. package/dist/IKVerticalStepBar/ik.index.es.js +3 -3
  12. package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
  13. package/dist/IKVerticalStepBar/style.css +1 -1
  14. package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.es.js +853 -853
  15. package/dist/IkApprovalProcess/ik.index.umd.js +1 -0
  16. package/dist/{IKApprovalProcess → IkApprovalProcess}/style.css +1 -1
  17. package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.es.js +2794 -2713
  18. package/dist/IkApprovalProcessDetail/ik.index.umd.js +226 -0
  19. package/dist/IkApprovalProcessDetail/style.css +1 -0
  20. package/dist/IkBaseDialog/ik.index.es.js +4 -4
  21. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  22. package/dist/IkBaseDialog/style.css +1 -1
  23. package/dist/IkBottomOperate/ik.index.es.js +60 -60
  24. package/dist/IkBottomOperate/ik.index.umd.js +1 -1
  25. package/dist/IkBottomOperate/style.css +1 -1
  26. package/dist/IkBtnContent/style.css +1 -1
  27. package/dist/IkBtnSetting/ik.index.es.js +111 -111
  28. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  29. package/dist/IkBtnSetting/style.css +1 -1
  30. package/dist/{IKCalendar → IkCalendar}/ik.index.es.js +2372 -2355
  31. package/dist/IkCalendar/ik.index.umd.js +1 -0
  32. package/dist/{IKCalendar → IkCalendar}/style.css +1 -1
  33. package/dist/IkCollapseCard/ik.index.es.js +4 -4
  34. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  35. package/dist/IkCollapseCard/style.css +1 -1
  36. package/dist/IkDescription/ik.index.es.js +2016 -1935
  37. package/dist/IkDescription/ik.index.umd.js +49 -49
  38. package/dist/IkDescription/style.css +1 -1
  39. package/dist/IkDetailPreviewFiles/ik.index.es.js +2317 -2236
  40. package/dist/IkDetailPreviewFiles/ik.index.umd.js +50 -50
  41. package/dist/IkDetailPreviewFiles/style.css +1 -1
  42. package/dist/IkFileIcon/ik.index.es.js +394 -394
  43. package/dist/IkFileIcon/ik.index.umd.js +1 -1
  44. package/dist/IkFullCalendar/ik.index.es.js +601 -584
  45. package/dist/IkFullCalendar/ik.index.umd.js +1 -1
  46. package/dist/IkIconPicker/ik.index.es.js +3 -3
  47. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  48. package/dist/IkIconPicker/style.css +1 -1
  49. package/dist/IkMonacoEditor/ik.index.es.js +30 -30
  50. package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
  51. package/dist/IkMonacoEditor/style.css +1 -1
  52. package/dist/IkPageFull/ik.index.es.js +1467 -1467
  53. package/dist/IkPageFull/ik.index.umd.js +3 -3
  54. package/dist/IkPageFull/style.css +1 -1
  55. package/dist/IkPickerUser/ik.index.es.js +839 -839
  56. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  57. package/dist/IkPlayer/ik.index.es.js +1062 -981
  58. package/dist/IkPlayer/ik.index.umd.js +52 -52
  59. package/dist/IkPreviewFileDialog/ik.index.es.js +791 -710
  60. package/dist/IkPreviewFileDialog/ik.index.umd.js +50 -50
  61. package/dist/IkPreviewFileDialog/style.css +1 -1
  62. package/dist/IkRadioGroup/ik.index.es.js +5 -5
  63. package/dist/IkRadioGroup/ik.index.umd.js +1 -1
  64. package/dist/IkRadioGroup/style.css +1 -1
  65. package/dist/IkSchedule/ik.index.es.js +1553 -1536
  66. package/dist/IkSchedule/ik.index.umd.js +1 -1
  67. package/dist/IkSchedule/style.css +1 -1
  68. package/dist/IkSideText/ik.index.es.js +29 -29
  69. package/dist/IkSideText/ik.index.umd.js +1 -1
  70. package/dist/IkSideText/style.css +1 -1
  71. package/dist/IkSvgIcon/ik.index.es.js +9 -9
  72. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  73. package/dist/IkSvgIcon/style.css +1 -1
  74. package/dist/IkTemplateOfficeConfig/ik.index.es.js +108 -108
  75. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
  76. package/dist/IkTinymce/ik.index.es.js +26332 -26791
  77. package/dist/IkTinymce/ik.index.umd.js +61 -61
  78. package/dist/IkUploadFile/ik.index.es.js +1341 -1260
  79. package/dist/IkUploadFile/ik.index.umd.js +50 -50
  80. package/dist/IkUploadFile/style.css +1 -1
  81. package/dist/IkUploadImage/ik.index.es.js +278 -278
  82. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  83. package/dist/IkUploadImage/style.css +1 -1
  84. package/dist/index.es.js +37603 -37964
  85. package/dist/index.umd.js +133 -133
  86. package/dist/src/components/IKExpandCollapse/index.d.ts +5 -5
  87. package/dist/src/components/IKExpandCollapse/src/IKExpandCollapse.vue.d.ts +5 -5
  88. package/dist/src/components/IKHorizontalStepBar/index.d.ts +30 -90
  89. package/dist/src/components/IKHorizontalStepBar/src/IKHorizontalStepBar.vue.d.ts +7 -7
  90. package/dist/src/components/IKPreviewFile/index.d.ts +13 -101
  91. package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +7 -7
  92. package/dist/src/components/IKSearch/index.d.ts +24 -84
  93. package/dist/src/components/IKSearch/src/IKSearch.vue.d.ts +10 -10
  94. package/dist/src/components/IKSearch/src/IkSearchAuto.d.ts +5 -5
  95. package/dist/src/components/IKSearchHead/index.d.ts +5 -5
  96. package/dist/src/components/IKSearchHead/src/IKSearchHead.vue.d.ts +5 -5
  97. package/dist/src/components/IKVerticalStepBar/index.d.ts +5 -5
  98. package/dist/src/components/IKVerticalStepBar/src/IKVerticalStepBar.vue.d.ts +5 -5
  99. package/dist/src/components/IkApprovalProcess/index.d.ts +7 -7
  100. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +7 -7
  101. package/dist/src/components/IkApprovalProcessDetail/index.d.ts +5 -5
  102. package/dist/src/components/IkApprovalProcessDetail/src/IKApprovalProcessDetail.vue.d.ts +5 -5
  103. package/dist/src/components/IkAutoCard/index.d.ts +6 -12
  104. package/dist/src/components/IkAutoCard/src/IkAutoCard.vue.d.ts +4 -4
  105. package/dist/src/components/IkBaseDialog/index.d.ts +6 -35
  106. package/dist/src/components/IkBaseDialog/src/CloseIcon.vue.d.ts +4 -4
  107. package/dist/src/components/IkBaseDialog/src/IkBaseDialog.vue.d.ts +4 -4
  108. package/dist/src/components/IkBottomOperate/index.d.ts +15 -43
  109. package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +7 -7
  110. package/dist/src/components/IkBtnContent/index.d.ts +7 -5
  111. package/dist/src/components/IkBtnContent/src/index.d.ts +7 -5
  112. package/dist/src/components/IkBtnSetting/index.d.ts +5 -5
  113. package/dist/src/components/IkBtnSetting/src/IkBtnSetting.vue.d.ts +5 -5
  114. package/dist/src/components/IkCalendar/index.d.ts +5 -5
  115. package/dist/src/components/IkCalendar/src/IKCalendar.vue.d.ts +5 -5
  116. package/dist/src/components/IkCollapseCard/index.d.ts +6 -12
  117. package/dist/src/components/IkCollapseCard/src/index.vue.d.ts +4 -4
  118. package/dist/src/components/IkCurrencyInput/index.d.ts +5 -5
  119. package/dist/src/components/IkCurrencyInput/src/IkCurrencyInput.vue.d.ts +5 -5
  120. package/dist/src/components/IkDescription/index.d.ts +6 -39
  121. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +4 -4
  122. package/dist/src/components/IkDetailPreviewFiles/index.d.ts +4 -4
  123. package/dist/src/components/IkDetailPreviewFiles/src/IkDetailPreviewFiles.vue.d.ts +4 -4
  124. package/dist/src/components/IkDragList/index.d.ts +13 -130
  125. package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +6 -6
  126. package/dist/src/components/IkEmpty/index.d.ts +6 -19
  127. package/dist/src/components/IkEmpty/src/index.vue.d.ts +4 -4
  128. package/dist/src/components/IkFileIcon/index.d.ts +4 -4
  129. package/dist/src/components/IkFileIcon/src/IkFileIcon.vue.d.ts +4 -4
  130. package/dist/src/components/IkFullCalendar/index.d.ts +6 -6
  131. package/dist/src/components/IkIconPicker/index.d.ts +4 -4
  132. package/dist/src/components/IkIconPicker/src/index.vue.d.ts +4 -4
  133. package/dist/src/components/IkMonacoEditor/index.d.ts +167 -10
  134. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +167 -10
  135. package/dist/src/components/IkOnlyOffice/index.d.ts +4 -4
  136. package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +4 -4
  137. package/dist/src/components/IkPageFull/index.d.ts +54 -143
  138. package/dist/src/components/IkPageFull/src/IkDialog.d.ts +369 -5
  139. package/dist/src/components/IkPageFull/src/IkPage.vue.d.ts +5 -5
  140. package/dist/src/components/IkPageFull/src/IkPageHead.vue.d.ts +5 -5
  141. package/dist/src/components/IkPageFull/src/IkPageTable.vue.d.ts +8 -8
  142. package/dist/src/components/IkPageFull/src/IkSearchAuto.d.ts +6 -6
  143. package/dist/src/components/IkPageFull/src/index.vue.d.ts +20 -14
  144. package/dist/src/components/IkPageTabs/index.d.ts +13 -38
  145. package/dist/src/components/IkPageTabs/src/IkPageTabs.vue.d.ts +6 -6
  146. package/dist/src/components/IkPickerUser/index.d.ts +10 -10
  147. package/dist/src/components/IkPickerUser/src/avatar/Avatar.vue.d.ts +4 -4
  148. package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +6 -6
  149. package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +6 -6
  150. package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +6 -6
  151. package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +10 -10
  152. package/dist/src/components/IkPickerUser/src/svg/close_svg.vue.d.ts +1 -1
  153. package/dist/src/components/IkPickerUser/src/svg/group_svg.vue.d.ts +1 -1
  154. package/dist/src/components/IkPickerUser/src/svg/post_svg.vue.d.ts +1 -1
  155. package/dist/src/components/IkPickerUser/src/svg/role_svg.vue.d.ts +1 -1
  156. package/dist/src/components/IkPickerUser/src/svg/search_svg.vue.d.ts +1 -1
  157. package/dist/src/components/IkPickerUser/src/use-picker-data.d.ts +1 -1
  158. package/dist/src/components/IkPlayer/index.d.ts +10 -26
  159. package/dist/src/components/IkPlayer/src/Player.vue.d.ts +5 -5
  160. package/dist/src/components/IkPreviewFileDialog/index.d.ts +4 -4
  161. package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +4 -4
  162. package/dist/src/components/IkPrintConfig/index.d.ts +5 -5
  163. package/dist/src/components/IkPrintView/index.d.ts +5 -5
  164. package/dist/src/components/IkRadioGroup/index.d.ts +4 -4
  165. package/dist/src/components/IkRadioGroup/src/index.vue.d.ts +4 -4
  166. package/dist/src/components/IkSchedule/index.d.ts +17 -48
  167. package/dist/src/components/IkSelectTag/index.d.ts +10 -25
  168. package/dist/src/components/IkSelectTag/src/index.vue.d.ts +5 -5
  169. package/dist/src/components/IkSideText/IkLinearIcon.vue.d.ts +4 -4
  170. package/dist/src/components/IkSideText/IkSideText.vue.d.ts +4 -4
  171. package/dist/src/components/IkSideText/index.d.ts +4 -4
  172. package/dist/src/components/IkStatu/index.d.ts +5 -5
  173. package/dist/src/components/IkStatu/src/index.vue.d.ts +5 -5
  174. package/dist/src/components/IkStatuOver/index.d.ts +5 -5
  175. package/dist/src/components/IkStatuOver/src/index.vue.d.ts +5 -5
  176. package/dist/src/components/IkSvgIcon/index.d.ts +12 -12
  177. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +4 -4
  178. package/dist/src/components/IkTemplateOfficeConfig/index.d.ts +6 -6
  179. package/dist/src/components/IkTinymce/index.d.ts +5 -5
  180. package/dist/src/components/IkTinymce/src/index.vue.d.ts +5 -5
  181. package/dist/src/components/IkTooltip/index.d.ts +6 -19
  182. package/dist/src/components/IkTooltip/src/index.vue.d.ts +4 -4
  183. package/dist/src/components/IkTree/IkTree.vue.d.ts +807 -127
  184. package/dist/src/components/IkTree/index.d.ts +2630 -611
  185. package/dist/src/components/IkUploadFile/index.d.ts +14 -135
  186. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +7 -7
  187. package/dist/src/components/IkUploadImage/index.d.ts +10 -79
  188. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +5 -5
  189. package/dist/src/components/IkUploadImage/src/loading.vue.d.ts +1 -1
  190. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +4 -4
  191. package/dist/src/components/Provider/index.d.ts +6 -27
  192. package/dist/style.css +1 -1
  193. package/package.json +1 -1
  194. package/dist/IKApprovalProcess/ik.index.umd.js +0 -1
  195. package/dist/IKApprovalProcessDetail/ik.index.umd.js +0 -226
  196. package/dist/IKApprovalProcessDetail/style.css +0 -1
  197. package/dist/IKCalendar/ik.index.umd.js +0 -1
@@ -1,6 +1,6 @@
1
- import { defineComponent as O, openBlock as p, createElementBlock as f, createElementVNode as o, inject as W, computed as h, resolveComponent as we, normalizeClass as x, normalizeStyle as V, createCommentVNode as A, createBlock as X, withCtx as y, createTextVNode as Be, toDisplayString as K, unref as u, getCurrentScope as Pe, onScopeDispose as Ue, watch as q, markRaw as ye, ref as S, effectScope as He, shallowRef as je, nextTick as De, onMounted as Fe, Teleport as We, createVNode as v, Transition as Xe, withModifiers as Ye, Fragment as ee, resolveDynamicComponent as Qe, renderList as Se, withDirectives as ve, vShow as fe, renderSlot as Ee, mergeModels as be, useCssVars as Ge, useModel as Ze, mergeProps as Ke, createSlots as Je, pushScopeId as qe, popScopeId as et } from "vue";
2
- import { useLocale as tt, useNamespace as at, useZIndex as lt, ElIcon as L, EVENT_CODE as H, useFormItem as nt, ElUpload as st, ElImage as ot, ElMessage as xe } from "element-plus";
3
- import { ikColor as rt, paramType as ke, _ as J, ikFile as it } from "iking-utils-pro";
1
+ import { defineComponent as O, openBlock as p, createElementBlock as f, createElementVNode as o, inject as W, computed as h, resolveComponent as we, normalizeClass as x, normalizeStyle as V, createCommentVNode as A, createBlock as X, withCtx as y, createTextVNode as Be, toDisplayString as K, unref as u, getCurrentScope as Re, onScopeDispose as Pe, watch as q, markRaw as ye, ref as S, effectScope as Ue, shallowRef as He, nextTick as je, onMounted as De, Teleport as Fe, createVNode as v, Transition as We, withModifiers as Xe, Fragment as ee, resolveDynamicComponent as Ye, renderList as Se, withDirectives as ve, vShow as fe, renderSlot as Ee, mergeModels as be, useCssVars as Qe, useModel as Ge, mergeProps as Ze, createSlots as Ke } from "vue";
2
+ import { useLocale as Je, useNamespace as qe, useZIndex as et, ElIcon as $, EVENT_CODE as H, useFormItem as tt, ElUpload as at, ElImage as lt, ElMessage as xe } from "element-plus";
3
+ import { ikColor as nt, paramType as ke, _ as J, ikFile as st } from "iking-utils-pro";
4
4
  const _e = (t, s) => {
5
5
  if (t.install = (e) => {
6
6
  for (const r of [t, ...Object.values(s ?? {})])
@@ -11,7 +11,7 @@ const _e = (t, s) => {
11
11
  return t;
12
12
  };
13
13
  /*! Element Plus Icons Vue v2.3.1 */
14
- var ut = /* @__PURE__ */ O({
14
+ var ot = /* @__PURE__ */ O({
15
15
  name: "ArrowLeft",
16
16
  __name: "arrow-left",
17
17
  setup(t) {
@@ -25,7 +25,7 @@ var ut = /* @__PURE__ */ O({
25
25
  })
26
26
  ]));
27
27
  }
28
- }), ct = ut, dt = /* @__PURE__ */ O({
28
+ }), rt = ot, it = /* @__PURE__ */ O({
29
29
  name: "ArrowRight",
30
30
  __name: "arrow-right",
31
31
  setup(t) {
@@ -39,7 +39,7 @@ var ut = /* @__PURE__ */ O({
39
39
  })
40
40
  ]));
41
41
  }
42
- }), pt = dt, vt = /* @__PURE__ */ O({
42
+ }), ut = it, ct = /* @__PURE__ */ O({
43
43
  name: "Close",
44
44
  __name: "close",
45
45
  setup(t) {
@@ -53,7 +53,7 @@ var ut = /* @__PURE__ */ O({
53
53
  })
54
54
  ]));
55
55
  }
56
- }), Ne = vt, ft = /* @__PURE__ */ O({
56
+ }), Ne = ct, dt = /* @__PURE__ */ O({
57
57
  name: "Delete",
58
58
  __name: "delete",
59
59
  setup(t) {
@@ -67,7 +67,7 @@ var ut = /* @__PURE__ */ O({
67
67
  })
68
68
  ]));
69
69
  }
70
- }), _t = ft, mt = /* @__PURE__ */ O({
70
+ }), pt = dt, vt = /* @__PURE__ */ O({
71
71
  name: "Download",
72
72
  __name: "download",
73
73
  setup(t) {
@@ -81,7 +81,7 @@ var ut = /* @__PURE__ */ O({
81
81
  })
82
82
  ]));
83
83
  }
84
- }), gt = mt, ht = /* @__PURE__ */ O({
84
+ }), ft = vt, _t = /* @__PURE__ */ O({
85
85
  name: "FullScreen",
86
86
  __name: "full-screen",
87
87
  setup(t) {
@@ -95,7 +95,7 @@ var ut = /* @__PURE__ */ O({
95
95
  })
96
96
  ]));
97
97
  }
98
- }), wt = ht, yt = /* @__PURE__ */ O({
98
+ }), mt = _t, gt = /* @__PURE__ */ O({
99
99
  name: "RefreshLeft",
100
100
  __name: "refresh-left",
101
101
  setup(t) {
@@ -109,7 +109,7 @@ var ut = /* @__PURE__ */ O({
109
109
  })
110
110
  ]));
111
111
  }
112
- }), bt = yt, xt = /* @__PURE__ */ O({
112
+ }), ht = gt, wt = /* @__PURE__ */ O({
113
113
  name: "RefreshRight",
114
114
  __name: "refresh-right",
115
115
  setup(t) {
@@ -123,7 +123,7 @@ var ut = /* @__PURE__ */ O({
123
123
  })
124
124
  ]));
125
125
  }
126
- }), kt = xt, zt = /* @__PURE__ */ O({
126
+ }), yt = wt, bt = /* @__PURE__ */ O({
127
127
  name: "Refresh",
128
128
  __name: "refresh",
129
129
  setup(t) {
@@ -137,7 +137,7 @@ var ut = /* @__PURE__ */ O({
137
137
  })
138
138
  ]));
139
139
  }
140
- }), It = zt, Ct = /* @__PURE__ */ O({
140
+ }), xt = bt, kt = /* @__PURE__ */ O({
141
141
  name: "ScaleToOriginal",
142
142
  __name: "scale-to-original",
143
143
  setup(t) {
@@ -151,7 +151,7 @@ var ut = /* @__PURE__ */ O({
151
151
  })
152
152
  ]));
153
153
  }
154
- }), Ot = Ct, $t = /* @__PURE__ */ O({
154
+ }), zt = kt, It = /* @__PURE__ */ O({
155
155
  name: "ZoomIn",
156
156
  __name: "zoom-in",
157
157
  setup(t) {
@@ -165,7 +165,7 @@ var ut = /* @__PURE__ */ O({
165
165
  })
166
166
  ]));
167
167
  }
168
- }), Te = $t, Lt = /* @__PURE__ */ O({
168
+ }), Te = It, Ct = /* @__PURE__ */ O({
169
169
  name: "ZoomOut",
170
170
  __name: "zoom-out",
171
171
  setup(t) {
@@ -179,13 +179,13 @@ var ut = /* @__PURE__ */ O({
179
179
  })
180
180
  ]));
181
181
  }
182
- }), Mt = Lt;
182
+ }), Ot = Ct;
183
183
  const me = (t, s) => {
184
184
  const e = t.__vccOpts || t;
185
185
  for (const [r, _] of s)
186
186
  e[r] = _;
187
187
  return e;
188
- }, Bt = {}, St = {
188
+ }, Lt = {}, $t = {
189
189
  t: "1686214149488",
190
190
  class: "icon",
191
191
  viewBox: "0 0 1024 1024",
@@ -194,92 +194,92 @@ const me = (t, s) => {
194
194
  "p-id": "8490",
195
195
  width: "200",
196
196
  height: "200"
197
- }, Et = /* @__PURE__ */ o(
198
- "path",
199
- {
200
- 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",
201
- "p-id": "8491"
202
- },
203
- null,
204
- -1
205
- /* HOISTED */
206
- ), Nt = /* @__PURE__ */ o(
207
- "path",
208
- {
209
- 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",
210
- "p-id": "8492"
211
- },
212
- null,
213
- -1
214
- /* HOISTED */
215
- ), Tt = /* @__PURE__ */ o(
216
- "path",
217
- {
218
- 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",
219
- "p-id": "8493"
220
- },
221
- null,
222
- -1
223
- /* HOISTED */
224
- ), At = /* @__PURE__ */ o(
225
- "path",
226
- {
227
- 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",
228
- "p-id": "8494"
229
- },
230
- null,
231
- -1
232
- /* HOISTED */
233
- ), Vt = /* @__PURE__ */ o(
234
- "path",
235
- {
236
- 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",
237
- "p-id": "8495"
238
- },
239
- null,
240
- -1
241
- /* HOISTED */
242
- ), Rt = /* @__PURE__ */ o(
243
- "path",
244
- {
245
- 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",
246
- "p-id": "8496"
247
- },
248
- null,
249
- -1
250
- /* HOISTED */
251
- ), Pt = /* @__PURE__ */ o(
252
- "path",
253
- {
254
- 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",
255
- "p-id": "8497"
256
- },
257
- null,
258
- -1
259
- /* HOISTED */
260
- ), Ut = /* @__PURE__ */ o(
261
- "path",
262
- {
263
- 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",
264
- "p-id": "8498"
265
- },
266
- null,
267
- -1
268
- /* HOISTED */
269
- ), Ht = [
270
- Et,
271
- Nt,
272
- Tt,
273
- At,
274
- Vt,
275
- Rt,
276
- Pt,
277
- Ut
278
- ];
279
- function jt(t, s) {
280
- return p(), f("svg", St, Ht);
197
+ };
198
+ function Mt(t, s) {
199
+ return p(), f("svg", $t, s[0] || (s[0] = [
200
+ o(
201
+ "path",
202
+ {
203
+ 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",
204
+ "p-id": "8491"
205
+ },
206
+ null,
207
+ -1
208
+ /* HOISTED */
209
+ ),
210
+ o(
211
+ "path",
212
+ {
213
+ 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",
214
+ "p-id": "8492"
215
+ },
216
+ null,
217
+ -1
218
+ /* HOISTED */
219
+ ),
220
+ o(
221
+ "path",
222
+ {
223
+ 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",
224
+ "p-id": "8493"
225
+ },
226
+ null,
227
+ -1
228
+ /* HOISTED */
229
+ ),
230
+ o(
231
+ "path",
232
+ {
233
+ 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",
234
+ "p-id": "8494"
235
+ },
236
+ null,
237
+ -1
238
+ /* HOISTED */
239
+ ),
240
+ o(
241
+ "path",
242
+ {
243
+ 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",
244
+ "p-id": "8495"
245
+ },
246
+ null,
247
+ -1
248
+ /* HOISTED */
249
+ ),
250
+ o(
251
+ "path",
252
+ {
253
+ 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",
254
+ "p-id": "8496"
255
+ },
256
+ null,
257
+ -1
258
+ /* HOISTED */
259
+ ),
260
+ o(
261
+ "path",
262
+ {
263
+ 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",
264
+ "p-id": "8497"
265
+ },
266
+ null,
267
+ -1
268
+ /* HOISTED */
269
+ ),
270
+ o(
271
+ "path",
272
+ {
273
+ 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",
274
+ "p-id": "8498"
275
+ },
276
+ null,
277
+ -1
278
+ /* HOISTED */
279
+ )
280
+ ]));
281
281
  }
282
- const Dt = /* @__PURE__ */ me(Bt, [["render", jt]]), ze = [
282
+ const Bt = /* @__PURE__ */ me(Lt, [["render", Mt]]), ze = [
283
283
  "csv",
284
284
  "djvu",
285
285
  "doc",
@@ -334,7 +334,7 @@ const Dt = /* @__PURE__ */ me(Bt, [["render", jt]]), ze = [
334
334
  "mp4",
335
335
  "flv",
336
336
  "tls"
337
- ], Ft = (t) => {
337
+ ], St = (t) => {
338
338
  const s = W("loadUrl"), e = h(() => t.loadUrl || t.fileUrl || (s == null ? void 0 : s.value)), r = W("uploadUrl"), _ = h(() => t.action || t.uploadUrl || (r == null ? void 0 : r.value)), n = W("token"), k = h(() => t.token || (n == null ? void 0 : n.value)), M = W("onlyofficeConfig"), g = h(() => t.onlyofficeConfig || (M == null ? void 0 : M.value)), E = W("userInfo"), C = h(() => t.userInfo || (E == null ? void 0 : E.value)), B = [...ze, ...ze.map((z) => z.toLocaleUpperCase())];
339
339
  return {
340
340
  cLoadUrl: e,
@@ -344,18 +344,18 @@ const Dt = /* @__PURE__ */ me(Bt, [["render", jt]]), ze = [
344
344
  cUserInfo: C,
345
345
  cOnlyofficePreviewType: B
346
346
  };
347
- }, Wt = Ft, Xt = {
347
+ }, Et = St, Nt = {
348
348
  key: 0,
349
349
  class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
350
- }, Yt = {
350
+ }, Tt = {
351
351
  key: 1,
352
352
  class: "h-[1em] w-[1em]",
353
353
  "aria-hidden": "true"
354
- }, Qt = ["xlink:href"], Gt = ["src"], Zt = {
354
+ }, At = ["xlink:href"], Vt = ["src"], Rt = {
355
355
  key: 1,
356
356
  class: "h-[1em] w-[1em]",
357
357
  "aria-hidden": "true"
358
- }, Kt = ["xlink:href"], Jt = ["src"], qt = /* @__PURE__ */ O({
358
+ }, Pt = ["xlink:href"], Ut = ["src"], Ht = /* @__PURE__ */ O({
359
359
  name: "IkSvgIcon",
360
360
  __name: "index",
361
361
  props: {
@@ -407,15 +407,15 @@ const Dt = /* @__PURE__ */ me(Bt, [["render", jt]]), ze = [
407
407
  ...n.length && { transform: n.join(" ") },
408
408
  padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
409
409
  ...e.value.color && r.value !== "iksig" ? {
410
- "--ik-color-icon-dark": e.value.color,
411
- "--ik-color-icon-light": e.value.colorLight || rt.setOpacity(e.value.color, e.value.opacity)
410
+ "--ik-icon-deep-color": e.value.color,
411
+ "--ik-icon-shallow-color": e.value.colorLight || nt.setOpacity(e.value.color, e.value.opacity)
412
412
  } : {}
413
413
  };
414
414
  return e.value.width && (k.width = k.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), k;
415
415
  });
416
416
  return (n, k) => {
417
417
  const M = we("el-tooltip"), g = we("el-button");
418
- return e.value.tableIconType === "icon" || !e.value.tableIconType ? (p(), f("span", Xt, [
418
+ return e.value.tableIconType === "icon" || !e.value.tableIconType ? (p(), f("span", Nt, [
419
419
  e.value.notip || !e.value.title ? (p(), f(
420
420
  "i",
421
421
  {
@@ -447,15 +447,15 @@ const Dt = /* @__PURE__ */ me(Bt, [["render", jt]]), ze = [
447
447
  null,
448
448
  6
449
449
  /* CLASS, STYLE */
450
- )) : r.value === "svg" ? (p(), f("svg", Yt, [
450
+ )) : r.value === "svg" ? (p(), f("svg", Tt, [
451
451
  o("use", {
452
452
  "xlink:href": `#${e.value.name}`
453
- }, null, 8, Qt)
453
+ }, null, 8, At)
454
454
  ])) : r.value === "img" ? (p(), f("img", {
455
455
  key: 2,
456
456
  src: e.value.name,
457
457
  class: "h-[1em] w-[1em]"
458
- }, null, 8, Gt)) : (p(), f(
458
+ }, null, 8, Vt)) : (p(), f(
459
459
  "i",
460
460
  {
461
461
  key: 3,
@@ -503,15 +503,15 @@ const Dt = /* @__PURE__ */ me(Bt, [["render", jt]]), ze = [
503
503
  null,
504
504
  6
505
505
  /* CLASS, STYLE */
506
- )) : r.value === "svg" ? (p(), f("svg", Zt, [
506
+ )) : r.value === "svg" ? (p(), f("svg", Rt, [
507
507
  o("use", {
508
508
  "xlink:href": `#${e.value.name}`
509
- }, null, 8, Kt)
509
+ }, null, 8, Pt)
510
510
  ])) : r.value === "img" ? (p(), f("img", {
511
511
  key: 2,
512
512
  src: e.value.name,
513
513
  class: "h-[1em] w-[1em]"
514
- }, null, 8, Jt)) : (p(), f(
514
+ }, null, 8, Ut)) : (p(), f(
515
515
  "i",
516
516
  {
517
517
  key: 3,
@@ -547,55 +547,55 @@ const Dt = /* @__PURE__ */ me(Bt, [["render", jt]]), ze = [
547
547
  };
548
548
  }
549
549
  });
550
- const ea = /* @__PURE__ */ me(qt, [["__scopeId", "data-v-52806adf"]]), ta = _e(ea);
550
+ const jt = /* @__PURE__ */ me(Ht, [["__scopeId", "data-v-e29a45f8"]]), Dt = _e(jt);
551
551
  var Ie;
552
- const Ae = typeof window < "u", aa = (t) => typeof t == "string", la = () => {
552
+ const Ae = typeof window < "u", Ft = (t) => typeof t == "string", Wt = () => {
553
553
  };
554
554
  Ae && ((Ie = window == null ? void 0 : window.navigator) != null && Ie.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
555
555
  function Ve(t) {
556
556
  return typeof t == "function" ? t() : u(t);
557
557
  }
558
- function na(t) {
558
+ function Xt(t) {
559
559
  return t;
560
560
  }
561
- function sa(t) {
562
- return Pe() ? (Ue(t), !0) : !1;
561
+ function Yt(t) {
562
+ return Re() ? (Pe(t), !0) : !1;
563
563
  }
564
- function oa(t) {
564
+ function Qt(t) {
565
565
  var s;
566
566
  const e = Ve(t);
567
567
  return (s = e == null ? void 0 : e.$el) != null ? s : e;
568
568
  }
569
- const ra = Ae ? window : void 0;
569
+ const Gt = Ae ? window : void 0;
570
570
  function Z(...t) {
571
571
  let s, e, r, _;
572
- if (aa(t[0]) || Array.isArray(t[0]) ? ([e, r, _] = t, s = ra) : [s, e, r, _] = t, !s)
573
- return la;
572
+ if (Ft(t[0]) || Array.isArray(t[0]) ? ([e, r, _] = t, s = Gt) : [s, e, r, _] = t, !s)
573
+ return Wt;
574
574
  Array.isArray(e) || (e = [e]), Array.isArray(r) || (r = [r]);
575
575
  const n = [], k = () => {
576
576
  n.forEach((C) => C()), n.length = 0;
577
- }, M = (C, B, z, w) => (C.addEventListener(B, z, w), () => C.removeEventListener(B, z, w)), g = q(() => [oa(s), Ve(_)], ([C, B]) => {
577
+ }, M = (C, B, z, w) => (C.addEventListener(B, z, w), () => C.removeEventListener(B, z, w)), g = q(() => [Qt(s), Ve(_)], ([C, B]) => {
578
578
  k(), C && n.push(...e.flatMap((z) => r.map((w) => M(C, z, w, B))));
579
579
  }, { immediate: !0, flush: "post" }), E = () => {
580
580
  g(), k();
581
581
  };
582
- return sa(E), E;
582
+ return Yt(E), E;
583
583
  }
584
584
  const Ce = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Oe = "__vueuse_ssr_handlers__";
585
585
  Ce[Oe] = Ce[Oe] || {};
586
- var $e;
586
+ var Le;
587
587
  (function(t) {
588
588
  t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
589
- })($e || ($e = {}));
590
- var ia = Object.defineProperty, Le = Object.getOwnPropertySymbols, ua = Object.prototype.hasOwnProperty, ca = Object.prototype.propertyIsEnumerable, Me = (t, s, e) => s in t ? ia(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e, da = (t, s) => {
589
+ })(Le || (Le = {}));
590
+ var Zt = Object.defineProperty, $e = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, Me = (t, s, e) => s in t ? Zt(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e, qt = (t, s) => {
591
591
  for (var e in s || (s = {}))
592
- ua.call(s, e) && Me(t, e, s[e]);
593
- if (Le)
594
- for (var e of Le(s))
595
- ca.call(s, e) && Me(t, e, s[e]);
592
+ Kt.call(s, e) && Me(t, e, s[e]);
593
+ if ($e)
594
+ for (var e of $e(s))
595
+ Jt.call(s, e) && Me(t, e, s[e]);
596
596
  return t;
597
597
  };
598
- const pa = {
598
+ const ea = {
599
599
  easeInSine: [0.12, 0, 0.39, 0],
600
600
  easeOutSine: [0.61, 1, 0.88, 1],
601
601
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -621,10 +621,10 @@ const pa = {
621
621
  easeOutBack: [0.34, 1.56, 0.64, 1],
622
622
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
623
623
  };
624
- da({
625
- linear: na
626
- }, pa);
627
- const va = {
624
+ qt({
625
+ linear: Xt
626
+ }, ea);
627
+ const ta = {
628
628
  /**
629
629
  * @description preview link list.
630
630
  */
@@ -694,26 +694,26 @@ const va = {
694
694
  crossorigin: {
695
695
  type: ["anonymous", "use-credentials", ""]
696
696
  }
697
- }, fa = {
697
+ }, aa = {
698
698
  close: () => !0,
699
699
  switch: (t) => ke.isNumber(t),
700
700
  rotate: (t) => ke.isNumber(t)
701
- }, _a = ["src", "crossorigin"], ma = /* @__PURE__ */ O({
701
+ }, la = ["src", "crossorigin"], na = /* @__PURE__ */ O({
702
702
  name: "ElImageViewer",
703
703
  __name: "IkImageViewer",
704
- props: va,
705
- emits: fa,
704
+ props: ta,
705
+ emits: aa,
706
706
  setup(t, { expose: s, emit: e }) {
707
707
  const r = (l) => Object.keys(l), _ = {
708
708
  CONTAIN: {
709
709
  name: "contain",
710
- icon: ye(wt)
710
+ icon: ye(mt)
711
711
  },
712
712
  ORIGINAL: {
713
713
  name: "original",
714
- icon: ye(Ot)
714
+ icon: ye(zt)
715
715
  }
716
- }, n = t, k = e, { t: M } = tt(), g = at("image-viewer"), { nextZIndex: E } = lt(), C = S(), B = S([]), z = He(), w = S(!0), I = S(n.initialIndex), R = je(_.CONTAIN), b = S({
716
+ }, n = t, k = e, { t: M } = Je(), g = qe("image-viewer"), { nextZIndex: E } = et(), C = S(), B = S([]), z = Ue(), w = S(!0), I = S(n.initialIndex), R = He(_.CONTAIN), b = S({
717
717
  scale: 1,
718
718
  deg: 0,
719
719
  offsetX: 0,
@@ -731,12 +731,12 @@ const va = {
731
731
  g.e("next"),
732
732
  g.is("disabled", !n.infinite && Q.value)
733
733
  ]), oe = h(() => {
734
- const { scale: l, deg: c, offsetX: m, offsetY: $, enableTransition: N } = b.value;
735
- let T = m / l, P = $ / l;
736
- const F = c * Math.PI / 180, ge = Math.cos(F), he = Math.sin(F);
734
+ const { scale: l, deg: d, offsetX: m, offsetY: L, enableTransition: N } = b.value;
735
+ let T = m / l, P = L / l;
736
+ const F = d * Math.PI / 180, ge = Math.cos(F), he = Math.sin(F);
737
737
  T = T * ge + P * he, P = P * ge - m / l * he;
738
738
  const pe = {
739
- transform: `scale(${l}) rotate(${c}deg) translate(${T}px, ${P}px)`,
739
+ transform: `scale(${l}) rotate(${d}deg) translate(${T}px, ${P}px)`,
740
740
  transition: N ? "transform .3s" : ""
741
741
  };
742
742
  return R.value.name === _.CONTAIN.name && (pe.maxWidth = pe.maxHeight = "100%"), pe;
@@ -760,21 +760,21 @@ const va = {
760
760
  i("zoomIn");
761
761
  break;
762
762
  case H.right:
763
- d();
763
+ c();
764
764
  break;
765
765
  case H.down:
766
766
  i("zoomOut");
767
767
  break;
768
768
  }
769
- }), c = J.throttle((m) => {
770
- const $ = m.deltaY || m.deltaX;
771
- i($ < 0 ? "zoomIn" : "zoomOut", {
769
+ }), d = J.throttle((m) => {
770
+ const L = m.deltaY || m.deltaX;
771
+ i(L < 0 ? "zoomIn" : "zoomOut", {
772
772
  zoomRate: n.zoomRate,
773
773
  enableTransition: !1
774
774
  });
775
775
  });
776
776
  z.run(() => {
777
- Z(document, "keydown", l), Z(document, "wheel", c);
777
+ Z(document, "keydown", l), Z(document, "wheel", d);
778
778
  });
779
779
  }
780
780
  function ie() {
@@ -790,10 +790,10 @@ const va = {
790
790
  if (w.value || l.button !== 0 || !C.value)
791
791
  return;
792
792
  b.value.enableTransition = !1;
793
- const { offsetX: c, offsetY: m } = b.value, $ = l.pageX, N = l.pageY, T = J.throttle((F) => {
793
+ const { offsetX: d, offsetY: m } = b.value, L = l.pageX, N = l.pageY, T = J.throttle((F) => {
794
794
  b.value = {
795
795
  ...b.value,
796
- offsetX: c + F.pageX - $,
796
+ offsetX: d + F.pageX - L,
797
797
  offsetY: m + F.pageY - N
798
798
  };
799
799
  }), P = Z(document, "mousemove", T);
@@ -813,27 +813,27 @@ const va = {
813
813
  function G() {
814
814
  if (w.value)
815
815
  return;
816
- const l = r(_), c = Object.values(_), m = R.value.name, N = ((c == null ? void 0 : c.findIndex((T) => T.name === m)) + 1) % l.length;
816
+ const l = r(_), d = Object.values(_), m = R.value.name, N = ((d == null ? void 0 : d.findIndex((T) => T.name === m)) + 1) % l.length;
817
817
  R.value = _[l[N]], U();
818
818
  }
819
819
  function D(l) {
820
- const c = n.urlList.length;
821
- I.value = (l + c) % c;
820
+ const d = n.urlList.length;
821
+ I.value = (l + d) % d;
822
822
  }
823
823
  function a() {
824
824
  Y.value && !n.infinite || D(I.value - 1);
825
825
  }
826
- function d() {
826
+ function c() {
827
827
  Q.value && !n.infinite || D(I.value + 1);
828
828
  }
829
- function i(l, c = {}) {
829
+ function i(l, d = {}) {
830
830
  if (w.value)
831
831
  return;
832
- const { minScale: m, maxScale: $ } = n, { zoomRate: N, rotateDeg: T, enableTransition: P } = {
832
+ const { minScale: m, maxScale: L } = n, { zoomRate: N, rotateDeg: T, enableTransition: P } = {
833
833
  zoomRate: n.zoomRate,
834
834
  rotateDeg: 90,
835
835
  enableTransition: !0,
836
- ...c
836
+ ...d
837
837
  };
838
838
  switch (l) {
839
839
  case "zoomOut":
@@ -842,7 +842,7 @@ const va = {
842
842
  ));
843
843
  break;
844
844
  case "zoomIn":
845
- b.value.scale < $ && (b.value.scale = Number.parseFloat(
845
+ b.value.scale < L && (b.value.scale = Number.parseFloat(
846
846
  (b.value.scale * N).toFixed(3)
847
847
  ));
848
848
  break;
@@ -856,22 +856,22 @@ const va = {
856
856
  b.value.enableTransition = P;
857
857
  }
858
858
  return q(le, () => {
859
- De(() => {
859
+ je(() => {
860
860
  const l = B.value[0];
861
861
  l != null && l.complete || (w.value = !0);
862
862
  });
863
863
  }), q(I, (l) => {
864
864
  U(), k("switch", l);
865
- }), Fe(() => {
866
- var l, c;
867
- re(), (c = (l = C.value) == null ? void 0 : l.focus) == null || c.call(l);
865
+ }), De(() => {
866
+ var l, d;
867
+ re(), (d = (l = C.value) == null ? void 0 : l.focus) == null || d.call(l);
868
868
  }), s({
869
869
  /**
870
870
  * @description manually switch image
871
871
  */
872
872
  setActiveItem: D
873
- }), (l, c) => (p(), X(We, { to: "body" }, [
874
- v(Xe, {
873
+ }), (l, d) => (p(), X(Fe, { to: "body" }, [
874
+ v(We, {
875
875
  name: "viewer-fade",
876
876
  appear: ""
877
877
  }, {
@@ -890,7 +890,7 @@ const va = {
890
890
  "div",
891
891
  {
892
892
  class: x(u(g).e("mask")),
893
- onClick: c[0] || (c[0] = Ye((m) => l.hideOnClickModal && j(), ["self"]))
893
+ onClick: d[0] || (d[0] = Xe((m) => l.hideOnClickModal && j(), ["self"]))
894
894
  },
895
895
  null,
896
896
  2
@@ -904,7 +904,7 @@ const va = {
904
904
  onClick: j
905
905
  },
906
906
  [
907
- v(u(L), null, {
907
+ v(u($), null, {
908
908
  default: y(() => [
909
909
  v(u(Ne))
910
910
  ]),
@@ -927,9 +927,9 @@ const va = {
927
927
  onClick: a
928
928
  },
929
929
  [
930
- v(u(L), null, {
930
+ v(u($), null, {
931
931
  default: y(() => [
932
- v(u(ct))
932
+ v(u(rt))
933
933
  ]),
934
934
  _: 1
935
935
  /* STABLE */
@@ -942,12 +942,12 @@ const va = {
942
942
  "span",
943
943
  {
944
944
  class: x(se.value),
945
- onClick: d
945
+ onClick: c
946
946
  },
947
947
  [
948
- v(u(L), null, {
948
+ v(u($), null, {
949
949
  default: y(() => [
950
- v(u(pt))
950
+ v(u(ut))
951
951
  ]),
952
952
  _: 1
953
953
  /* STABLE */
@@ -973,17 +973,17 @@ const va = {
973
973
  class: x(u(g).e("actions__inner"))
974
974
  },
975
975
  [
976
- v(u(L), {
977
- onClick: c[1] || (c[1] = (m) => i("zoomOut"))
976
+ v(u($), {
977
+ onClick: d[1] || (d[1] = (m) => i("zoomOut"))
978
978
  }, {
979
979
  default: y(() => [
980
- v(u(Mt))
980
+ v(u(Ot))
981
981
  ]),
982
982
  _: 1
983
983
  /* STABLE */
984
984
  }),
985
- v(u(L), {
986
- onClick: c[2] || (c[2] = (m) => i("zoomIn"))
985
+ v(u($), {
986
+ onClick: d[2] || (d[2] = (m) => i("zoomIn"))
987
987
  }, {
988
988
  default: y(() => [
989
989
  v(u(Te))
@@ -1000,9 +1000,9 @@ const va = {
1000
1000
  2
1001
1001
  /* CLASS */
1002
1002
  ),
1003
- v(u(L), { onClick: G }, {
1003
+ v(u($), { onClick: G }, {
1004
1004
  default: y(() => [
1005
- (p(), X(Qe(R.value.icon)))
1005
+ (p(), X(Ye(R.value.icon)))
1006
1006
  ]),
1007
1007
  _: 1
1008
1008
  /* STABLE */
@@ -1016,20 +1016,20 @@ const va = {
1016
1016
  2
1017
1017
  /* CLASS */
1018
1018
  ),
1019
- v(u(L), {
1020
- onClick: c[3] || (c[3] = (m) => i("anticlockwise"))
1019
+ v(u($), {
1020
+ onClick: d[3] || (d[3] = (m) => i("anticlockwise"))
1021
1021
  }, {
1022
1022
  default: y(() => [
1023
- v(u(bt))
1023
+ v(u(ht))
1024
1024
  ]),
1025
1025
  _: 1
1026
1026
  /* STABLE */
1027
1027
  }),
1028
- v(u(L), {
1029
- onClick: c[4] || (c[4] = (m) => i("clockwise"))
1028
+ v(u($), {
1029
+ onClick: d[4] || (d[4] = (m) => i("clockwise"))
1030
1030
  }, {
1031
1031
  default: y(() => [
1032
- v(u(kt))
1032
+ v(u(yt))
1033
1033
  ]),
1034
1034
  _: 1
1035
1035
  /* STABLE */
@@ -1052,9 +1052,9 @@ const va = {
1052
1052
  (p(!0), f(
1053
1053
  ee,
1054
1054
  null,
1055
- Se(l.urlList, (m, $) => ve((p(), f("img", {
1055
+ Se(l.urlList, (m, L) => ve((p(), f("img", {
1056
1056
  ref_for: !0,
1057
- ref: (N) => B.value[$] = N,
1057
+ ref: (N) => B.value[L] = N,
1058
1058
  key: m,
1059
1059
  src: m,
1060
1060
  style: V(oe.value),
@@ -1063,8 +1063,8 @@ const va = {
1063
1063
  onLoad: ue,
1064
1064
  onError: ce,
1065
1065
  onMousedown: de
1066
- }, null, 46, _a)), [
1067
- [fe, $ === I.value]
1066
+ }, null, 46, la)), [
1067
+ [fe, L === I.value]
1068
1068
  ])),
1069
1069
  128
1070
1070
  /* KEYED_FRAGMENT */
@@ -1084,22 +1084,10 @@ const va = {
1084
1084
  })
1085
1085
  ]));
1086
1086
  }
1087
- }), ga = _e(ma), Re = (t) => (qe("data-v-55d00ff7"), t = t(), et(), t), ha = {
1087
+ }), sa = _e(na), oa = {
1088
1088
  key: 1,
1089
1089
  class: "upload-btn"
1090
- }, wa = { class: "tip" }, ya = { class: "loading-statu" }, ba = { class: "operate-btn" }, xa = { key: 0 }, ka = { class: "el-upload-list el-upload-list--picture-card" }, za = ["onClick"], Ia = /* @__PURE__ */ Re(() => /* @__PURE__ */ o(
1091
- "span",
1092
- { class: "error" },
1093
- "上传错误",
1094
- -1
1095
- /* HOISTED */
1096
- )), Ca = /* @__PURE__ */ Re(() => /* @__PURE__ */ o(
1097
- "p",
1098
- null,
1099
- "点击重新上传",
1100
- -1
1101
- /* HOISTED */
1102
- )), Oa = ["src"], $a = { class: "demo-image__preview" }, La = /* @__PURE__ */ O({
1090
+ }, ra = { class: "tip" }, ia = { class: "loading-statu" }, ua = { class: "operate-btn" }, ca = { key: 0 }, da = { class: "el-upload-list el-upload-list--picture-card" }, pa = ["onClick"], va = ["src"], fa = { class: "demo-image__preview" }, _a = /* @__PURE__ */ O({
1103
1091
  __name: "index",
1104
1092
  props: /* @__PURE__ */ be({
1105
1093
  // 显示的文字
@@ -1194,17 +1182,17 @@ const va = {
1194
1182
  }),
1195
1183
  emits: /* @__PURE__ */ be(["delete", "success"], ["update:modelValue"]),
1196
1184
  setup(t, { emit: s }) {
1197
- Ge((a) => ({
1198
- "94cfc708": E.value,
1199
- "38c70d9e": C.value,
1200
- "5f90ef5c": D.value,
1201
- d061978c: G.value
1185
+ Qe((a) => ({
1186
+ "82296ef8": E.value,
1187
+ "04aece29": C.value,
1188
+ "07eb194a": D.value,
1189
+ "592cb77c": G.value
1202
1190
  }));
1203
- const e = t, r = Ze(t, "modelValue"), { formItem: _ } = nt(), n = (a) => Array.isArray(a) ? a.map((d) => {
1204
- var c, m;
1205
- const i = ((c = d.url) == null ? void 0 : c.startsWith("http")) || ((m = d.url) == null ? void 0 : m.startsWith("blob")), l = (d == null ? void 0 : d.url) || d;
1191
+ const e = t, r = Ge(t, "modelValue"), { formItem: _ } = tt(), n = (a) => Array.isArray(a) ? a.map((c) => {
1192
+ var d, m;
1193
+ const i = ((d = c.url) == null ? void 0 : d.startsWith("http")) || ((m = c.url) == null ? void 0 : m.startsWith("blob")), l = (c == null ? void 0 : c.url) || c;
1206
1194
  return {
1207
- ...d.url ? d : { url: l },
1195
+ ...c.url ? c : { url: l },
1208
1196
  __url: i ? l : `${M.value}${l}`
1209
1197
  };
1210
1198
  }) : a ? [
@@ -1220,9 +1208,9 @@ const va = {
1220
1208
  },
1221
1209
  { deep: !0 }
1222
1210
  );
1223
- const k = s, { cLoadUrl: M, cUploadUrl: g } = Wt(e), E = h(() => `${e.width}px`), C = h(() => `${e.height}px`), B = h(() => e.size), z = S(null), w = S(n(r.value)), I = S([]), R = S(!1), b = S(0), te = h(
1211
+ const k = s, { cLoadUrl: M, cUploadUrl: g } = Et(e), E = h(() => `${e.width}px`), C = h(() => `${e.height}px`), B = h(() => e.size), z = S(null), w = S(n(r.value)), I = S([]), R = S(!1), b = S(0), te = h(
1224
1212
  () => e.tipText || `最多可上传${e.limit}张图片, 每张图片不能超过${e.size}MB`
1225
- ), ae = (a, d) => {
1213
+ ), ae = (a, c) => {
1226
1214
  }, Y = (a) => {
1227
1215
  if (!a.type.includes("image")) {
1228
1216
  xe.warning("只允许上传图片!");
@@ -1241,35 +1229,35 @@ const va = {
1241
1229
  return !1;
1242
1230
  }
1243
1231
  return !0;
1244
- }, Q = () => !1, le = (a, d) => {
1232
+ }, Q = () => !1, le = (a, c) => {
1245
1233
  var i, l;
1246
- a.status = "ready", d !== void 0 && I.value.splice(d, 1), (i = z.value) == null || i.handleStart(a.raw), (l = z.value) == null || l.submit();
1247
- }, ne = (a, d) => {
1248
- var m, $;
1234
+ a.status = "ready", c !== void 0 && I.value.splice(c, 1), (i = z.value) == null || i.handleStart(a.raw), (l = z.value) == null || l.submit();
1235
+ }, ne = (a, c) => {
1236
+ var m, L;
1249
1237
  const i = r.value.length, l = e.limit - i;
1250
- let c = 0;
1251
- for (; c < l && c < (a == null ? void 0 : a.length); )
1252
- (m = z.value) == null || m.handleStart(a == null ? void 0 : a[c]), ($ = z.value) == null || $.submit(), c++;
1253
- }, se = (a, d, i) => {
1254
- k("success", a, d, i), r.value = w.value, _ == null || _.validate("change");
1255
- }, oe = (a, d, i) => {
1238
+ let d = 0;
1239
+ for (; d < l && d < (a == null ? void 0 : a.length); )
1240
+ (m = z.value) == null || m.handleStart(a == null ? void 0 : a[d]), (L = z.value) == null || L.submit(), d++;
1241
+ }, se = (a, c, i) => {
1242
+ k("success", a, c, i), r.value = w.value, _ == null || _.validate("change");
1243
+ }, oe = (a, c, i) => {
1256
1244
  I.value.push({
1257
- ...d,
1258
- __url: d.url
1245
+ ...c,
1246
+ __url: c.url
1259
1247
  });
1260
1248
  }, j = (a) => {
1261
- var d;
1262
- R.value = !0, b.value = Array.isArray(r == null ? void 0 : r.value) ? (d = r == null ? void 0 : r.value) == null ? void 0 : d.findIndex((i) => i.url === a.url) : 0;
1249
+ var c;
1250
+ R.value = !0, b.value = Array.isArray(r == null ? void 0 : r.value) ? (c = r == null ? void 0 : r.value) == null ? void 0 : c.findIndex((i) => i.url === a.url) : 0;
1263
1251
  }, re = (a) => {
1264
- it.downloadFile(a.__url || a.url, a.name || a.url);
1252
+ st.downloadFile(a.__url || a.url, a.name || a.url);
1265
1253
  }, ie = (a) => {
1266
- var d;
1267
- (d = z.value) == null || d.abort(a);
1254
+ var c;
1255
+ (c = z.value) == null || c.abort(a);
1268
1256
  }, ue = (a) => {
1269
- var d;
1270
- a.status !== "success" && ie(a), r.value = (d = w.value) == null ? void 0 : d.filter((i) => i.uid !== a.uid), k("delete", a);
1271
- }, ce = (a, d) => {
1272
- I.value.splice(d, 1);
1257
+ var c;
1258
+ a.status !== "success" && ie(a), r.value = (c = w.value) == null ? void 0 : c.filter((i) => i.uid !== a.uid), k("delete", a);
1259
+ }, ce = (a, c) => {
1260
+ I.value.splice(c, 1);
1273
1261
  }, de = h(() => w.value.length + I.value.length < e.limit), U = h(
1274
1262
  () => r.value.length >= e.limit || e.disabled
1275
1263
  ), G = h(() => {
@@ -1279,11 +1267,11 @@ const va = {
1279
1267
  var a;
1280
1268
  return !((a = r.value) != null && a.length) && !I.value.length && typeof r.value != "string" || e.limit === 1 ? "none" : "absolute";
1281
1269
  });
1282
- return (a, d) => (p(), f(
1270
+ return (a, c) => (p(), f(
1283
1271
  ee,
1284
1272
  null,
1285
1273
  [
1286
- v(u(st), Ke({
1274
+ v(u(at), Ze({
1287
1275
  class: ["ik-image-upload", { preview: t.preview, "hide-upload": !de.value && t.limit === 1, disabled: U.value }],
1288
1276
  ref_key: "refUpload",
1289
1277
  ref: z,
@@ -1293,7 +1281,7 @@ const va = {
1293
1281
  headers: t.headers,
1294
1282
  data: t.data,
1295
1283
  "file-list": w.value,
1296
- "onUpdate:fileList": d[0] || (d[0] = (i) => w.value = i),
1284
+ "onUpdate:fileList": c[0] || (c[0] = (i) => w.value = i),
1297
1285
  multiple: t.multiple,
1298
1286
  limit: t.limit,
1299
1287
  "on-change": ae,
@@ -1303,12 +1291,12 @@ const va = {
1303
1291
  "on-success": se,
1304
1292
  "on-error": oe,
1305
1293
  drag: ""
1306
- }, a.$attrs, { disabled: U.value }), Je({
1294
+ }, a.$attrs, { disabled: U.value }), Ke({
1307
1295
  trigger: y(() => [
1308
- a.$slots.trigger ? Ee(a.$slots, "trigger", { key: 0 }, void 0, !0) : (p(), f("div", ha, [
1309
- v(u(L), { size: 20 }, {
1296
+ a.$slots.trigger ? Ee(a.$slots, "trigger", { key: 0 }, void 0, !0) : (p(), f("div", oa, [
1297
+ v(u($), { size: 20 }, {
1310
1298
  default: y(() => [
1311
- v(u(ta), {
1299
+ v(u(Dt), {
1312
1300
  name: "iksvg_guanbibeifen",
1313
1301
  disabled: U.value
1314
1302
  }, null, 8, ["disabled"])
@@ -1335,9 +1323,9 @@ const va = {
1335
1323
  [
1336
1324
  ve(o(
1337
1325
  "div",
1338
- ya,
1326
+ ia,
1339
1327
  [
1340
- v(Dt),
1328
+ v(Bt),
1341
1329
  Be(
1342
1330
  " 上传" + K(i.percentage) + "% ",
1343
1331
  1
@@ -1350,17 +1338,17 @@ const va = {
1350
1338
  [fe, i.status === "uploading"]
1351
1339
  ]),
1352
1340
  A(` <img :src="file.url" alt="" :style="{ 'object-fit': fit }" /> `),
1353
- v(u(ot), {
1341
+ v(u(lt), {
1354
1342
  style: { width: "100%", height: "100%" },
1355
1343
  src: i.__url || i.url,
1356
1344
  "zoom-rate": 1.2,
1357
1345
  "initial-index": 0,
1358
1346
  fit: "contain"
1359
1347
  }, null, 8, ["src"]),
1360
- o("span", ba, [
1348
+ o("span", ua, [
1361
1349
  o("span", null, [
1362
- v(u(L), {
1363
- onClick: (c) => j(i)
1350
+ v(u($), {
1351
+ onClick: (d) => j(i)
1364
1352
  }, {
1365
1353
  default: y(() => [
1366
1354
  v(u(Te))
@@ -1370,23 +1358,23 @@ const va = {
1370
1358
  }, 1032, ["onClick"])
1371
1359
  ]),
1372
1360
  o("span", null, [
1373
- v(u(L), {
1374
- onClick: (c) => re(i)
1361
+ v(u($), {
1362
+ onClick: (d) => re(i)
1375
1363
  }, {
1376
1364
  default: y(() => [
1377
- v(u(gt))
1365
+ v(u(ft))
1378
1366
  ]),
1379
1367
  _: 2
1380
1368
  /* DYNAMIC */
1381
1369
  }, 1032, ["onClick"])
1382
1370
  ]),
1383
- t.preview ? A("v-if", !0) : (p(), f("span", xa, [
1384
- v(u(L), {
1371
+ t.preview ? A("v-if", !0) : (p(), f("span", ca, [
1372
+ v(u($), {
1385
1373
  type: "warning",
1386
- onClick: (c) => ue(i)
1374
+ onClick: (d) => ue(i)
1387
1375
  }, {
1388
1376
  default: y(() => [
1389
- v(u(_t))
1377
+ v(u(pt))
1390
1378
  ]),
1391
1379
  _: 2
1392
1380
  /* DYNAMIC */
@@ -1399,7 +1387,7 @@ const va = {
1399
1387
  )
1400
1388
  ]),
1401
1389
  default: y(() => [
1402
- o("ul", ka, [
1390
+ o("ul", da, [
1403
1391
  (p(!0), f(
1404
1392
  ee,
1405
1393
  null,
@@ -1408,8 +1396,8 @@ const va = {
1408
1396
  key: i.uid
1409
1397
  }, [
1410
1398
  o("span", null, [
1411
- v(u(L), {
1412
- onClick: (c) => ce(i, l)
1399
+ v(u($), {
1400
+ onClick: (d) => ce(i, l)
1413
1401
  }, {
1414
1402
  default: y(() => [
1415
1403
  v(u(Ne))
@@ -1430,25 +1418,37 @@ const va = {
1430
1418
  [
1431
1419
  ve(o("div", {
1432
1420
  class: "loading-statu",
1433
- onClick: (c) => le(i, l)
1421
+ onClick: (d) => le(i, l)
1434
1422
  }, [
1435
- v(u(L), { size: 24 }, {
1423
+ v(u($), { size: 24 }, {
1436
1424
  default: y(() => [
1437
- v(u(It))
1425
+ v(u(xt))
1438
1426
  ]),
1439
1427
  _: 1
1440
1428
  /* STABLE */
1441
1429
  }),
1442
- Ia,
1443
- Ca
1444
- ], 8, za), [
1430
+ c[2] || (c[2] = o(
1431
+ "span",
1432
+ { class: "error" },
1433
+ "上传错误",
1434
+ -1
1435
+ /* HOISTED */
1436
+ )),
1437
+ c[3] || (c[3] = o(
1438
+ "p",
1439
+ null,
1440
+ "点击重新上传",
1441
+ -1
1442
+ /* HOISTED */
1443
+ ))
1444
+ ], 8, pa), [
1445
1445
  [fe, i.status === "fail"]
1446
1446
  ]),
1447
1447
  o("img", {
1448
1448
  src: i.__url,
1449
1449
  alt: "",
1450
1450
  style: V({ "object-fit": t.fit })
1451
- }, null, 12, Oa)
1451
+ }, null, 12, va)
1452
1452
  ],
1453
1453
  2
1454
1454
  /* CLASS */
@@ -1467,7 +1467,7 @@ const va = {
1467
1467
  fn: y(() => [
1468
1468
  o(
1469
1469
  "span",
1470
- wa,
1470
+ ra,
1471
1471
  K(te.value),
1472
1472
  1
1473
1473
  /* TEXT */
@@ -1477,12 +1477,12 @@ const va = {
1477
1477
  } : void 0
1478
1478
  ]), 1040, ["class", "accept", "action", "headers", "data", "file-list", "multiple", "limit", "disabled"]),
1479
1479
  A(" 文件预览 "),
1480
- o("div", $a, [
1481
- R.value ? (p(), X(u(ga), {
1480
+ o("div", fa, [
1481
+ R.value ? (p(), X(u(sa), {
1482
1482
  key: 0,
1483
1483
  "lock-scroll": "",
1484
1484
  "hide-on-click-modal": "",
1485
- onClose: d[1] || (d[1] = () => {
1485
+ onClose: c[1] || (c[1] = () => {
1486
1486
  R.value = !1;
1487
1487
  }),
1488
1488
  "url-list": n(w.value).map((i) => i.__url),
@@ -1495,8 +1495,8 @@ const va = {
1495
1495
  ));
1496
1496
  }
1497
1497
  });
1498
- const Ma = /* @__PURE__ */ me(La, [["__scopeId", "data-v-55d00ff7"]]), Na = _e(Ma);
1498
+ const ma = /* @__PURE__ */ me(_a, [["__scopeId", "data-v-07bdc00e"]]), ya = _e(ma);
1499
1499
  export {
1500
- Na as IkUploadImage,
1501
- Na as default
1500
+ ya as IkUploadImage,
1501
+ ya as default
1502
1502
  };