@das-fed/ui 7.0.8 → 7.0.11

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 (893) hide show
  1. package/esm-map.json +3 -1
  2. package/package.json +7 -5
  3. package/packages/business-components/ai-panel/i18n/index.d.ts +8 -0
  4. package/packages/business-components/ai-panel/{index-CD2YNg3j.js → index-8yffh0Id.js} +1390 -1341
  5. package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
  6. package/packages/business-components/ai-panel/{index-CJeKTaAS.js → index-IzGl26KU.js} +6 -6
  7. package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
  8. package/packages/business-components/ai-panel/{index-DWHxqEh3.js → index-OwRrV6K8.js} +1 -1
  9. package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
  10. package/packages/business-components/ai-panel/index.js +1 -1
  11. package/packages/business-components/ai-panel/src/dasAI/apis.d.ts +1 -0
  12. package/packages/business-components/ai-panel/src/dasAI/store/index.d.ts +1 -0
  13. package/packages/business-components/ai-panel/style.css +1 -1
  14. package/packages/business-components/ai-panel/style.css.gz +0 -0
  15. package/packages/business-components/app-container/index.js +35 -33
  16. package/packages/business-components/app-container/index.js.gz +0 -0
  17. package/packages/business-components/app-container/src/style-theme.d.ts +2 -0
  18. package/packages/business-components/app-container/style.css +1 -1
  19. package/packages/business-components/app-container/style.css.gz +0 -0
  20. package/packages/business-components/area-phone-select/index.d.ts +54 -40
  21. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  22. package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +8 -6
  23. package/packages/business-components/area-phone-select/style.css.gz +0 -0
  24. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  25. package/packages/business-components/change-enterprises/style.css.gz +0 -0
  26. package/packages/business-components/change-pwd/index.js.gz +0 -0
  27. package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +8 -8
  28. package/packages/business-components/currency-page/index.d.ts +3 -1
  29. package/packages/business-components/currency-page/index.js +40 -35
  30. package/packages/business-components/currency-page/index.js.gz +0 -0
  31. package/packages/business-components/currency-page/src/index.vue.d.ts +3 -1
  32. package/packages/business-components/currency-page/src/type.d.ts +6 -0
  33. package/packages/business-components/currency-page/style.css +1 -1
  34. package/packages/business-components/device-panel/index.js +5333 -5333
  35. package/packages/business-components/device-panel/index.js.gz +0 -0
  36. package/packages/business-components/device-panel/src/apis.d.ts +30 -30
  37. package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +2 -2
  38. package/packages/business-components/device-panel/src/components/panelHeaders/index.vue.d.ts +1 -1
  39. package/packages/business-components/device-panel/src/components/videoDialog/component/GridLayout/GridItem.vue.d.ts +2 -17
  40. package/packages/business-components/device-panel/src/components/videoDialog/component/GridLayout/GridLayout.vue.d.ts +2 -15
  41. package/packages/business-components/device-panel/style.css.gz +0 -0
  42. package/packages/business-components/echarts/index.d.ts +10 -10
  43. package/packages/business-components/echarts/index.js +4712 -4712
  44. package/packages/business-components/echarts/index.js.gz +0 -0
  45. package/packages/business-components/echarts/src/Index.vue.d.ts +2 -2
  46. package/packages/business-components/export-button/index.d.ts +1 -1
  47. package/packages/business-components/export-button/index.js.gz +0 -0
  48. package/packages/business-components/export-button/src/App.vue.d.ts +2 -34
  49. package/packages/business-components/import-button/index.d.ts +8 -7
  50. package/packages/business-components/import-button/index.js +76 -74
  51. package/packages/business-components/import-button/index.js.gz +0 -0
  52. package/packages/business-components/import-button/src/App.vue.d.ts +4 -56
  53. package/packages/business-components/import-button/src/type.d.ts +4 -0
  54. package/packages/business-components/import-button/style.css +1 -1
  55. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  56. package/packages/business-components/model-table-dialog/index.d.ts +163 -130
  57. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  58. package/packages/business-components/model-table-dialog/src/Index.vue.d.ts +19 -264
  59. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +4 -6429
  60. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  61. package/packages/business-components/payment/index.js +2 -2
  62. package/packages/business-components/payment/index.js.gz +0 -0
  63. package/packages/business-components/process-configuration/index.js +4 -4
  64. package/packages/business-components/process-configuration/index.js.gz +0 -0
  65. package/packages/business-components/process-configuration/style.css.gz +0 -0
  66. package/packages/business-components/process-form/index.js +1124 -1117
  67. package/packages/business-components/process-form/index.js.gz +0 -0
  68. package/packages/business-components/process-form/src/hooks/useForm.d.ts +8 -8
  69. package/packages/business-components/process-form/src/hooks/useSpaceTree.d.ts +3 -3
  70. package/packages/business-components/process-form/style.css +1 -1
  71. package/packages/business-components/process-log/index.js.gz +0 -0
  72. package/packages/business-components/process-log/style.css.gz +0 -0
  73. package/packages/business-components/process-search-form/index.js +54 -54
  74. package/packages/business-components/process-search-form/index.js.gz +0 -0
  75. package/packages/business-components/process-table/index.d.ts +25 -22
  76. package/packages/business-components/process-table/index.js.gz +0 -0
  77. package/packages/business-components/process-table/src/App.vue.d.ts +4 -69
  78. package/packages/business-components/upload-file/index.js.gz +0 -0
  79. package/packages/business-components/urgent-panel/index.js +8 -8
  80. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  81. package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +2 -2
  82. package/packages/business-components/urgent-panel/src/components/panelHeaders/index.vue.d.ts +1 -1
  83. package/packages/business-components/urgent-panel/style.css.gz +0 -0
  84. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  85. package/packages/business-components/user-org-dialog/style.css.gz +0 -0
  86. package/packages/business-components/video-dialog/index.js +1 -1
  87. package/packages/business-components/video-dialog/index.js.gz +0 -0
  88. package/packages/business-components/video-dialog/src/component/GridLayout/GridItem.vue.d.ts +2 -17
  89. package/packages/business-components/video-dialog/src/component/GridLayout/GridLayout.vue.d.ts +2 -15
  90. package/packages/business-components/video-dialog/style.css.gz +0 -0
  91. package/packages/components/alert/index.d.ts +33 -18
  92. package/packages/components/alert/index.js.gz +0 -0
  93. package/packages/components/alert/src/index.vue.d.ts +11 -6
  94. package/packages/components/alert/style.css.gz +0 -0
  95. package/packages/components/audio-video/index.d.ts +17 -17
  96. package/packages/components/audio-video/index.js +1 -1
  97. package/packages/components/audio-video/index.js.gz +0 -0
  98. package/packages/components/audio-video/src/Index.vue.d.ts +1 -1
  99. package/packages/components/audio-video/src/player/index.vue.d.ts +4 -4
  100. package/packages/components/autocomplete/index.d.ts +16 -16
  101. package/packages/components/autocomplete/index.js.gz +0 -0
  102. package/packages/components/autocomplete/src/index.vue.d.ts +4 -83
  103. package/packages/components/autocomplete/style.css.gz +0 -0
  104. package/packages/components/breadcrumb/index.d.ts +5 -3
  105. package/packages/components/breadcrumb/index.js.gz +0 -0
  106. package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +2 -21
  107. package/packages/components/breadcrumb/src/BreadCrumbItem.vue.d.ts +2 -13
  108. package/packages/components/breadcrumb/style.css.gz +0 -0
  109. package/packages/components/button/index.d.ts +11 -6
  110. package/packages/components/button/index.js +4 -4
  111. package/packages/components/button/index.js.gz +0 -0
  112. package/packages/components/button/src/Index.vue.d.ts +9 -4
  113. package/packages/components/button/style.css.gz +0 -0
  114. package/packages/components/calendar/index.d.ts +25 -16
  115. package/packages/components/calendar/index.js.gz +0 -0
  116. package/packages/components/calendar/src/Index.vue.d.ts +25 -16
  117. package/packages/components/calendar/src/calendar-table.vue.d.ts +5 -4
  118. package/packages/components/calendar/src/old-Index.vue.d.ts +5 -3
  119. package/packages/components/calendar/style.css.gz +0 -0
  120. package/packages/components/cascader/index.d.ts +28 -25
  121. package/packages/components/cascader/index.js.gz +0 -0
  122. package/packages/components/cascader/src/Index.vue.d.ts +6 -5
  123. package/packages/components/cascader/style.css.gz +0 -0
  124. package/packages/components/checkbox/index.d.ts +73 -61
  125. package/packages/components/checkbox/index.js.gz +0 -0
  126. package/packages/components/checkbox/src/Index.vue.d.ts +9 -69
  127. package/packages/components/checkbox/style.css.gz +0 -0
  128. package/packages/components/collapse-panel/index.d.ts +15 -9
  129. package/packages/components/collapse-panel/index.js.gz +0 -0
  130. package/packages/components/collapse-panel/src/Index.vue.d.ts +2 -13
  131. package/packages/components/collapse-panel/style.css.gz +0 -0
  132. package/packages/components/collapse-transition/index.d.ts +1 -1
  133. package/packages/components/collapse-transition/index.js.gz +0 -0
  134. package/packages/components/collapse-transition/src/Index.vue.d.ts +2 -15
  135. package/packages/components/collaspe/index.d.ts +3 -3
  136. package/packages/components/collaspe/index.js.gz +0 -0
  137. package/packages/components/collaspe/src/Index.vue.d.ts +2 -16
  138. package/packages/components/color-picker/index.d.ts +15 -15
  139. package/packages/components/color-picker/index.js.gz +0 -0
  140. package/packages/components/color-picker/src/Index.vue.d.ts +3 -3
  141. package/packages/components/color-picker/style.css.gz +0 -0
  142. package/packages/components/custom-search-item/index.d.ts +3 -3
  143. package/packages/components/custom-search-item/index.js.gz +0 -0
  144. package/packages/components/custom-search-item/src/Index.vue.d.ts +2 -27
  145. package/packages/components/date-picker/index.d.ts +86 -71
  146. package/packages/components/date-picker/index.js +7 -3
  147. package/packages/components/date-picker/index.js.gz +0 -0
  148. package/packages/components/date-picker/src/DatePicker.vue.d.ts +17 -11
  149. package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +4 -4
  150. package/packages/components/date-picker/src/RangePicker.vue.d.ts +17 -11
  151. package/packages/components/date-picker/src/TimePicker.vue.d.ts +6 -5
  152. package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +8 -6
  153. package/packages/components/date-picker/style.css.gz +0 -0
  154. package/packages/components/dialog/index.d.ts +22 -16
  155. package/packages/components/dialog/index.js.gz +0 -0
  156. package/packages/components/dialog/src/Index.vue.d.ts +17 -11
  157. package/packages/components/dialog/style.css.gz +0 -0
  158. package/packages/components/dimple-layout/index.js +1 -1
  159. package/packages/components/dimple-layout/index.js.gz +0 -0
  160. package/packages/components/dimple-layout/style.css.gz +0 -0
  161. package/packages/components/drawer/index.d.ts +5 -3
  162. package/packages/components/drawer/index.js.gz +0 -0
  163. package/packages/components/drawer/src/Index.vue.d.ts +2 -9
  164. package/packages/components/dropdown/index.d.ts +5 -4
  165. package/packages/components/dropdown/index.js.gz +0 -0
  166. package/packages/components/dropdown/src/dropdownItem.vue.d.ts +2 -9
  167. package/packages/components/dropdown/src/dropdownMenu.vue.d.ts +2 -7
  168. package/packages/components/dropdown/src/index.vue.d.ts +2 -18
  169. package/packages/components/dropdown/style.css.gz +0 -0
  170. package/packages/components/edit-table/index.d.ts +128 -83
  171. package/packages/components/edit-table/index.js +656 -658
  172. package/packages/components/edit-table/index.js.gz +0 -0
  173. package/packages/components/edit-table/src/index.vue.d.ts +4 -4095
  174. package/packages/components/edit-table/style.css.gz +0 -0
  175. package/packages/components/empty/index.d.ts +8 -6
  176. package/packages/components/empty/index.js +1 -1
  177. package/packages/components/empty/index.js.gz +0 -0
  178. package/packages/components/empty/src/Index.vue.d.ts +3 -20
  179. package/packages/components/error-overlay-model/index.d.ts +1 -1
  180. package/packages/components/error-overlay-model/index.js.gz +0 -0
  181. package/packages/components/error-overlay-model/src/index.vue.d.ts +1 -1
  182. package/packages/components/form/index.d.ts +12 -12
  183. package/packages/components/form/index.js.gz +0 -0
  184. package/packages/components/form/src/Index.vue.d.ts +3 -21
  185. package/packages/components/form-item/index.js.gz +0 -0
  186. package/packages/components/form-item/style.css.gz +0 -0
  187. package/packages/components/hls-player/index.d.ts +45 -158
  188. package/packages/components/hls-player/index.js +4177 -4089
  189. package/packages/components/hls-player/index.js.gz +0 -0
  190. package/packages/components/hls-player/src/das-hls-player-origin.vue.d.ts +13 -0
  191. package/packages/components/hls-player/src/das-hls-player.vue.d.ts +3 -37
  192. package/packages/components/hls-player/src/type.d.ts +6 -0
  193. package/packages/components/hls-player/style.css +1 -1
  194. package/packages/components/hls-player/style.css.gz +0 -0
  195. package/packages/components/icon/index.js +25 -25
  196. package/packages/components/icon/index.js.gz +0 -0
  197. package/packages/components/icon/src/base-icon.vue.d.ts +2 -14
  198. package/packages/components/image-preview/index.js.gz +0 -0
  199. package/packages/components/image-upload/index.d.ts +1 -0
  200. package/packages/components/image-upload/index.js +767 -114
  201. package/packages/components/image-upload/index.js.gz +0 -0
  202. package/packages/components/image-upload/src/Index.vue.d.ts +1 -0
  203. package/packages/components/image-upload/src/hooks/use-compress-image.d.ts +1 -0
  204. package/packages/components/image-upload/src/type.d.ts +3 -0
  205. package/packages/components/image-upload/style.css +1 -1
  206. package/packages/components/image-upload/style.css.gz +0 -0
  207. package/packages/components/image-viewer/index.d.ts +1 -0
  208. package/packages/components/image-viewer/index.js +1088 -436
  209. package/packages/components/image-viewer/index.js.gz +0 -0
  210. package/packages/components/image-viewer/src/Index.vue.d.ts +1 -0
  211. package/packages/components/image-viewer/src/hooks/use-compress-image.d.ts +1 -0
  212. package/packages/components/image-viewer/src/type.d.ts +3 -0
  213. package/packages/components/image-viewer/style.css +1 -1
  214. package/packages/components/image-viewer/style.css.gz +0 -0
  215. package/packages/components/input/index.d.ts +40 -37
  216. package/packages/components/input/index.js.gz +0 -0
  217. package/packages/components/input/src/index.vue.d.ts +18 -15
  218. package/packages/components/input/style.css.gz +0 -0
  219. package/packages/components/input-dialog-select/index.d.ts +5 -5
  220. package/packages/components/input-dialog-select/index.js.gz +0 -0
  221. package/packages/components/input-dialog-select/src/Index.vue.d.ts +5 -5
  222. package/packages/components/input-dialog-select/style.css.gz +0 -0
  223. package/packages/components/input-number/index.d.ts +22 -22
  224. package/packages/components/input-number/index.js.gz +0 -0
  225. package/packages/components/input-number/src/App.vue.d.ts +6 -6
  226. package/packages/components/input-number/style.css.gz +0 -0
  227. package/packages/components/live-player/index.d.ts +5 -3
  228. package/packages/components/live-player/index.js +822 -814
  229. package/packages/components/live-player/index.js.gz +0 -0
  230. package/packages/components/live-player/src/das-live-player.vue.d.ts +2 -25
  231. package/packages/components/live-player/src/type.d.ts +3 -0
  232. package/packages/components/live-player/style.css +1 -1
  233. package/packages/components/loading/index.js +2 -2
  234. package/packages/components/loading/index.js.gz +0 -0
  235. package/packages/components/loading/style.css.gz +0 -0
  236. package/packages/components/map/index.js +1 -1
  237. package/packages/components/map/index.js.gz +0 -0
  238. package/packages/components/menu-aside/index.d.ts +9 -6
  239. package/packages/components/menu-aside/index.js +238 -214
  240. package/packages/components/menu-aside/index.js.gz +0 -0
  241. package/packages/components/menu-aside/src/Index.vue.d.ts +7 -4
  242. package/packages/components/menu-aside/src/style-theme.d.ts +25 -0
  243. package/packages/components/menu-aside/src/sub-menu/sub-menu.vue.d.ts +3 -2
  244. package/packages/components/menu-aside/src/type.d.ts +1 -1
  245. package/packages/components/menu-aside/style.css +1 -1
  246. package/packages/components/menu-aside/style.css.gz +0 -0
  247. package/packages/components/menu-header/index.d.ts +9 -2
  248. package/packages/components/menu-header/index.js +54 -50
  249. package/packages/components/menu-header/index.js.gz +0 -0
  250. package/packages/components/menu-header/src/Index.vue.d.ts +5 -2
  251. package/packages/components/menu-header/src/style-theme.d.ts +9 -0
  252. package/packages/components/menu-header/src/type.d.ts +6 -1
  253. package/packages/components/menu-header/style.css +1 -1
  254. package/packages/components/menu-header/style.css.gz +0 -0
  255. package/packages/components/message/index.js.gz +0 -0
  256. package/packages/components/message/style.css.gz +0 -0
  257. package/packages/components/notification/index.js.gz +0 -0
  258. package/packages/components/notification/style.css.gz +0 -0
  259. package/packages/components/overlay/index.js.gz +0 -0
  260. package/packages/components/pagination/index.d.ts +3 -3
  261. package/packages/components/pagination/index.js.gz +0 -0
  262. package/packages/components/pagination/src/Pagination.vue.d.ts +2 -79
  263. package/packages/components/pagination/style.css.gz +0 -0
  264. package/packages/components/popover/index.d.ts +9 -6
  265. package/packages/components/popover/index.js.gz +0 -0
  266. package/packages/components/popover/src/Index.vue.d.ts +3 -34
  267. package/packages/components/popover/style.css.gz +0 -0
  268. package/packages/components/popup-mask/index.d.ts +32 -29
  269. package/packages/components/popup-mask/index.js.gz +0 -0
  270. package/packages/components/popup-mask/src/Index.vue.d.ts +6 -37
  271. package/packages/components/preview/index.d.ts +1 -1
  272. package/packages/components/preview/index.js.gz +0 -0
  273. package/packages/components/preview/src/Index.vue.d.ts +2 -14
  274. package/packages/components/progress/index.d.ts +2 -2
  275. package/packages/components/progress/index.js +1 -1
  276. package/packages/components/progress/index.js.gz +0 -0
  277. package/packages/components/progress/src/Index.vue.d.ts +2 -48
  278. package/packages/components/progress/style.css.gz +0 -0
  279. package/packages/components/radio/index.d.ts +57 -39
  280. package/packages/components/radio/index.js.gz +0 -0
  281. package/packages/components/radio/src/Index.vue.d.ts +5 -55
  282. package/packages/components/radio/style.css.gz +0 -0
  283. package/packages/components/radio-tabs/index.js.gz +0 -0
  284. package/packages/components/radio-tabs/style.css.gz +0 -0
  285. package/packages/components/rich-editor/index.js +15481 -14946
  286. package/packages/components/rich-editor/index.js.gz +0 -0
  287. package/packages/components/rich-editor/style.css.gz +0 -0
  288. package/packages/components/scrollbar/index.d.ts +1 -1
  289. package/packages/components/scrollbar/index.js.gz +0 -0
  290. package/packages/components/scrollbar/src/scrollbar.vue.d.ts +2 -18
  291. package/packages/components/scrollbar/style.css.gz +0 -0
  292. package/packages/components/search/index.d.ts +3 -3
  293. package/packages/components/search/index.js.gz +0 -0
  294. package/packages/components/search/src/Index.vue.d.ts +3 -3
  295. package/packages/components/search/style.css.gz +0 -0
  296. package/packages/components/search-form/index.js +196 -204
  297. package/packages/components/search-form/index.js.gz +0 -0
  298. package/packages/components/search-form/src/Index.vue.d.ts +2 -90
  299. package/packages/components/search-form/style.css +1 -1
  300. package/packages/components/search-form/style.css.gz +0 -0
  301. package/packages/components/select/index.d.ts +43 -33
  302. package/packages/components/select/index.js.gz +0 -0
  303. package/packages/components/select/src/Select.vue.d.ts +29 -19
  304. package/packages/components/select/style.css.gz +0 -0
  305. package/packages/components/select-input/index.d.ts +3 -3
  306. package/packages/components/select-input/index.js.gz +0 -0
  307. package/packages/components/select-input/src/Index.vue.d.ts +3 -3
  308. package/packages/components/select-input/style.css.gz +0 -0
  309. package/packages/components/select-list/index.d.ts +29 -24
  310. package/packages/components/select-list/index.js.gz +0 -0
  311. package/packages/components/select-list/src/Index.vue.d.ts +9 -71
  312. package/packages/components/select-list/style.css.gz +0 -0
  313. package/packages/components/special-range-picker-month/index.d.ts +2 -2
  314. package/packages/components/special-range-picker-month/index.js +1 -1
  315. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  316. package/packages/components/special-range-picker-month/src/Index.vue.d.ts +2 -2
  317. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  318. package/packages/components/special-range-picker-year/index.d.ts +2 -2
  319. package/packages/components/special-range-picker-year/index.js +1 -1
  320. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  321. package/packages/components/special-range-picker-year/src/Index.vue.d.ts +2 -2
  322. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  323. package/packages/components/spin/index.d.ts +1 -1
  324. package/packages/components/spin/index.js +1 -1
  325. package/packages/components/spin/index.js.gz +0 -0
  326. package/packages/components/spin/src/index.vue.d.ts +2 -15
  327. package/packages/components/spin/style.css.gz +0 -0
  328. package/packages/components/split-panel/index.d.ts +21 -12
  329. package/packages/components/split-panel/index.js +1 -1
  330. package/packages/components/split-panel/index.js.gz +0 -0
  331. package/packages/components/split-panel/src/Index.vue.d.ts +7 -4
  332. package/packages/components/split-panel/style.css.gz +0 -0
  333. package/packages/components/step/index.js.gz +0 -0
  334. package/packages/components/step/src/stepItem.vue.d.ts +2 -16
  335. package/packages/components/steps/index.d.ts +1 -1
  336. package/packages/components/steps/src/steps.vue.d.ts +2 -7
  337. package/packages/components/steps/style.css.gz +0 -0
  338. package/packages/components/switch/index.js.gz +0 -0
  339. package/packages/components/switch/style.css.gz +0 -0
  340. package/packages/components/table/index.d.ts +132 -78
  341. package/packages/components/table/index.js +239 -239
  342. package/packages/components/table/index.js.gz +0 -0
  343. package/packages/components/table/src/Table.vue.d.ts +3 -1170
  344. package/packages/components/table/src/hooks/use-operation.d.ts +4 -4
  345. package/packages/components/table/src/table-column/index.vue.d.ts +3 -377
  346. package/packages/components/table/style.css.gz +0 -0
  347. package/packages/components/tabs/index.d.ts +21 -12
  348. package/packages/components/tabs/index.js +31 -31
  349. package/packages/components/tabs/index.js.gz +0 -0
  350. package/packages/components/tabs/src/Tabs.vue.d.ts +5 -63
  351. package/packages/components/tabs/style.css.gz +0 -0
  352. package/packages/components/tag/index.d.ts +1 -1
  353. package/packages/components/tag/index.js.gz +0 -0
  354. package/packages/components/tag/src/Index.vue.d.ts +1 -1
  355. package/packages/components/tag/style.css.gz +0 -0
  356. package/packages/components/text-tooltip/index.js.gz +0 -0
  357. package/packages/components/text-tooltip/style.css.gz +0 -0
  358. package/packages/components/time-line/index.js +3 -3
  359. package/packages/components/time-line/index.js.gz +0 -0
  360. package/packages/components/time-line/src/Index.vue.d.ts +2 -12
  361. package/packages/components/time-line/src/TimelineItem.vue.d.ts +2 -15
  362. package/packages/components/time-line/style.css.gz +0 -0
  363. package/packages/components/tooltip/index.d.ts +9 -6
  364. package/packages/components/tooltip/index.js.gz +0 -0
  365. package/packages/components/tooltip/src/index.vue.d.ts +2 -41
  366. package/packages/components/tooltip/style.css.gz +0 -0
  367. package/packages/components/tree/index.js +1 -1
  368. package/packages/components/tree/index.js.gz +0 -0
  369. package/packages/components/tree/src/App.vue.d.ts +61 -33
  370. package/packages/components/tree/src/empty.vue.d.ts +2 -4
  371. package/packages/components/tree/style.css.gz +0 -0
  372. package/packages/components/tree-select/index.js.gz +0 -0
  373. package/packages/components/tree-select/src/App.vue.d.ts +194 -98
  374. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +180 -88
  375. package/packages/components/tree-select/style.css.gz +0 -0
  376. package/packages/components/tree-table/index.d.ts +100 -58
  377. package/packages/components/tree-table/index.js +302 -266
  378. package/packages/components/tree-table/index.js.gz +0 -0
  379. package/packages/components/tree-table/src/App.vue.d.ts +32 -18
  380. package/packages/components/tree-table/src/hooks/use-five.d.ts +4 -0
  381. package/packages/components/tree-table/src/hooks/use-four.d.ts +4 -0
  382. package/packages/components/tree-table/src/type.d.ts +1 -1
  383. package/packages/components/tree-table/style.css +1 -1
  384. package/packages/components/tree-table/style.css.gz +0 -0
  385. package/packages/components/tree-v2/index.d.ts +159 -51
  386. package/packages/components/tree-v2/index.js +1 -1
  387. package/packages/components/tree-v2/index.js.gz +0 -0
  388. package/packages/components/tree-v2/src/App.vue.d.ts +53 -17
  389. package/packages/components/tree-v2/src/empty.vue.d.ts +2 -4
  390. package/packages/components/tree-v2/style.css.gz +0 -0
  391. package/packages/components/upload/index.d.ts +10 -7
  392. package/packages/components/upload/index.js +1 -1
  393. package/packages/components/upload/index.js.gz +0 -0
  394. package/packages/components/upload/src/Index.vue.d.ts +3 -43
  395. package/packages/components/upload/style.css.gz +0 -0
  396. package/packages/components/virtual-tree/index.js +3 -3
  397. package/packages/components/virtual-tree/index.js.gz +0 -0
  398. package/packages/components/virtual-tree/src/App.vue.d.ts +4 -3
  399. package/packages/components/virtual-tree/style.css.gz +0 -0
  400. package/packages/components/watermark/index.d.ts +1 -1
  401. package/packages/components/watermark/src/index.vue.d.ts +2 -7
  402. package/packages/global/theme/index.js.gz +0 -0
  403. package/packages/icons/1-grids/index.js.gz +0 -0
  404. package/packages/icons/1-grids/index.vue.d.ts +2 -9
  405. package/packages/icons/4-grids/index.js.gz +0 -0
  406. package/packages/icons/4-grids/index.vue.d.ts +2 -9
  407. package/packages/icons/9-grids/index.js.gz +0 -0
  408. package/packages/icons/9-grids/index.vue.d.ts +2 -9
  409. package/packages/icons/add/index.js.gz +0 -0
  410. package/packages/icons/add/index.vue.d.ts +2 -9
  411. package/packages/icons/add-2/index.vue.d.ts +2 -9
  412. package/packages/icons/add-item/index.js.gz +0 -0
  413. package/packages/icons/add-item/index.vue.d.ts +2 -9
  414. package/packages/icons/addto/index.js.gz +0 -0
  415. package/packages/icons/addto/index.vue.d.ts +2 -9
  416. package/packages/icons/alarm/index.js.gz +0 -0
  417. package/packages/icons/alarm/index.vue.d.ts +2 -9
  418. package/packages/icons/arrow-first/index.js.gz +0 -0
  419. package/packages/icons/arrow-first/index.vue.d.ts +2 -9
  420. package/packages/icons/arrow-last/index.js.gz +0 -0
  421. package/packages/icons/arrow-last/index.vue.d.ts +2 -9
  422. package/packages/icons/audioing/index.js.gz +0 -0
  423. package/packages/icons/audioing/index.vue.d.ts +2 -9
  424. package/packages/icons/back/index.js.gz +0 -0
  425. package/packages/icons/back/index.vue.d.ts +2 -9
  426. package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
  427. package/packages/icons/bianjigongzuotai/index.vue.d.ts +2 -9
  428. package/packages/icons/biaochi/index.js.gz +0 -0
  429. package/packages/icons/biaochi/index.vue.d.ts +2 -9
  430. package/packages/icons/bim/index.js.gz +0 -0
  431. package/packages/icons/bim/index.vue.d.ts +2 -9
  432. package/packages/icons/bobaoguanbi/index.js.gz +0 -0
  433. package/packages/icons/bobaoguanbi/index.vue.d.ts +2 -9
  434. package/packages/icons/bobaokaiqi/index.js.gz +0 -0
  435. package/packages/icons/bobaokaiqi/index.vue.d.ts +2 -9
  436. package/packages/icons/bold/index.js.gz +0 -0
  437. package/packages/icons/bold/index.vue.d.ts +2 -9
  438. package/packages/icons/camera/index.js.gz +0 -0
  439. package/packages/icons/camera/index.vue.d.ts +2 -9
  440. package/packages/icons/camera-2/index.js.gz +0 -0
  441. package/packages/icons/camera-2/index.vue.d.ts +2 -9
  442. package/packages/icons/camera-3/index.js.gz +0 -0
  443. package/packages/icons/camera-3/index.vue.d.ts +2 -9
  444. package/packages/icons/cancel-full-screen/index.js.gz +0 -0
  445. package/packages/icons/cancel-full-screen/index.vue.d.ts +2 -9
  446. package/packages/icons/cankaoneirong/index.js.gz +0 -0
  447. package/packages/icons/cankaoneirong/index.vue.d.ts +2 -9
  448. package/packages/icons/card/index.js.gz +0 -0
  449. package/packages/icons/card/index.vue.d.ts +2 -9
  450. package/packages/icons/card-view/index.js.gz +0 -0
  451. package/packages/icons/card-view/index.vue.d.ts +2 -9
  452. package/packages/icons/caret-bottom/index.js.gz +0 -0
  453. package/packages/icons/caret-bottom/index.vue.d.ts +2 -9
  454. package/packages/icons/caret-right/index.js.gz +0 -0
  455. package/packages/icons/caret-right/index.vue.d.ts +2 -9
  456. package/packages/icons/chakancelve/index.js.gz +0 -0
  457. package/packages/icons/chakancelve/index.vue.d.ts +2 -9
  458. package/packages/icons/change/index.js.gz +0 -0
  459. package/packages/icons/change/index.vue.d.ts +2 -9
  460. package/packages/icons/change-2/index.js.gz +0 -0
  461. package/packages/icons/change-2/index.vue.d.ts +2 -9
  462. package/packages/icons/change-3/index.js.gz +0 -0
  463. package/packages/icons/change-3/index.vue.d.ts +2 -9
  464. package/packages/icons/changetenant/index.js.gz +0 -0
  465. package/packages/icons/changetenant/index.vue.d.ts +2 -9
  466. package/packages/icons/chart/index.js.gz +0 -0
  467. package/packages/icons/chart/index.vue.d.ts +2 -9
  468. package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
  469. package/packages/icons/chaxunxiangqing/index.vue.d.ts +2 -9
  470. package/packages/icons/check/index.js.gz +0 -0
  471. package/packages/icons/check/index.vue.d.ts +2 -9
  472. package/packages/icons/chuanglianjiang/index.js.gz +0 -0
  473. package/packages/icons/chuanglianjiang/index.vue.d.ts +2 -9
  474. package/packages/icons/chuangliansheng/index.js.gz +0 -0
  475. package/packages/icons/chuangliansheng/index.vue.d.ts +2 -9
  476. package/packages/icons/chuanglianting/index.js.gz +0 -0
  477. package/packages/icons/chuanglianting/index.vue.d.ts +2 -9
  478. package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
  479. package/packages/icons/chuizhiduiqi/index.vue.d.ts +2 -9
  480. package/packages/icons/chuizhijunfen/index.js.gz +0 -0
  481. package/packages/icons/chuizhijunfen/index.vue.d.ts +2 -9
  482. package/packages/icons/close/index.js.gz +0 -0
  483. package/packages/icons/close/index.vue.d.ts +2 -9
  484. package/packages/icons/close-2/index.js.gz +0 -0
  485. package/packages/icons/close-2/index.vue.d.ts +2 -9
  486. package/packages/icons/closeaudio/index.js.gz +0 -0
  487. package/packages/icons/closeaudio/index.vue.d.ts +2 -9
  488. package/packages/icons/color/index.js.gz +0 -0
  489. package/packages/icons/color/index.vue.d.ts +2 -9
  490. package/packages/icons/copy/index.js.gz +0 -0
  491. package/packages/icons/copy/index.vue.d.ts +2 -9
  492. package/packages/icons/custom/index.js.gz +0 -0
  493. package/packages/icons/custom/index.vue.d.ts +2 -9
  494. package/packages/icons/daochu/index.js.gz +0 -0
  495. package/packages/icons/daochu/index.vue.d.ts +2 -9
  496. package/packages/icons/date/index.js.gz +0 -0
  497. package/packages/icons/date/index.vue.d.ts +2 -9
  498. package/packages/icons/decline/index.js.gz +0 -0
  499. package/packages/icons/decline/index.vue.d.ts +2 -9
  500. package/packages/icons/default-btn/index.js.gz +0 -0
  501. package/packages/icons/default-btn/index.vue.d.ts +2 -9
  502. package/packages/icons/default-point/index.js.gz +0 -0
  503. package/packages/icons/default-point/index.vue.d.ts +2 -9
  504. package/packages/icons/delete/index.js.gz +0 -0
  505. package/packages/icons/delete/index.vue.d.ts +2 -9
  506. package/packages/icons/delete-2/index.js.gz +0 -0
  507. package/packages/icons/delete-2/index.vue.d.ts +2 -9
  508. package/packages/icons/dengbijiesuo/index.vue.d.ts +2 -9
  509. package/packages/icons/dengbisuoding/index.vue.d.ts +2 -9
  510. package/packages/icons/dengdai/index.js.gz +0 -0
  511. package/packages/icons/dengdai/index.vue.d.ts +2 -9
  512. package/packages/icons/dianzan/index.js.gz +0 -0
  513. package/packages/icons/dianzan/index.vue.d.ts +2 -9
  514. package/packages/icons/dianzan-2/index.js.gz +0 -0
  515. package/packages/icons/dianzan-2/index.vue.d.ts +2 -9
  516. package/packages/icons/direction-control/index.js.gz +0 -0
  517. package/packages/icons/direction-control/index.vue.d.ts +2 -9
  518. package/packages/icons/ditu/index.js.gz +0 -0
  519. package/packages/icons/ditu/index.vue.d.ts +2 -9
  520. package/packages/icons/dizhixuanze/index.js.gz +0 -0
  521. package/packages/icons/dizhixuanze/index.vue.d.ts +2 -9
  522. package/packages/icons/double-arrow-left/index.js.gz +0 -0
  523. package/packages/icons/double-arrow-left/index.vue.d.ts +2 -9
  524. package/packages/icons/double-arrow-right/index.js.gz +0 -0
  525. package/packages/icons/double-arrow-right/index.vue.d.ts +2 -9
  526. package/packages/icons/down/index.js.gz +0 -0
  527. package/packages/icons/down/index.vue.d.ts +2 -9
  528. package/packages/icons/down-2/index.vue.d.ts +2 -9
  529. package/packages/icons/down-3/index.vue.d.ts +2 -9
  530. package/packages/icons/download/index.js.gz +0 -0
  531. package/packages/icons/download/index.vue.d.ts +2 -9
  532. package/packages/icons/drag/index.js.gz +0 -0
  533. package/packages/icons/drag/index.vue.d.ts +2 -9
  534. package/packages/icons/drawing/index.js.gz +0 -0
  535. package/packages/icons/drawing/index.vue.d.ts +2 -9
  536. package/packages/icons/edit/index.js.gz +0 -0
  537. package/packages/icons/edit/index.vue.d.ts +2 -9
  538. package/packages/icons/edit-1/index.js.gz +0 -0
  539. package/packages/icons/edit-1/index.vue.d.ts +2 -9
  540. package/packages/icons/edit-3/index.js.gz +0 -0
  541. package/packages/icons/edit-3/index.vue.d.ts +2 -9
  542. package/packages/icons/empty/index.js.gz +0 -0
  543. package/packages/icons/empty/index.vue.d.ts +2 -9
  544. package/packages/icons/enlarge/index.js.gz +0 -0
  545. package/packages/icons/enlarge/index.vue.d.ts +2 -9
  546. package/packages/icons/entry/index.js.gz +0 -0
  547. package/packages/icons/entry/index.vue.d.ts +2 -9
  548. package/packages/icons/exit/index.js.gz +0 -0
  549. package/packages/icons/exit/index.vue.d.ts +2 -9
  550. package/packages/icons/fabu/index.js.gz +0 -0
  551. package/packages/icons/fabu/index.vue.d.ts +2 -9
  552. package/packages/icons/fanhui/index.js.gz +0 -0
  553. package/packages/icons/fanhui/index.vue.d.ts +2 -9
  554. package/packages/icons/fasong/index.js.gz +0 -0
  555. package/packages/icons/fasong/index.vue.d.ts +2 -9
  556. package/packages/icons/filter-3/index.js.gz +0 -0
  557. package/packages/icons/filter-3/index.vue.d.ts +2 -9
  558. package/packages/icons/finish/index.js.gz +0 -0
  559. package/packages/icons/finish/index.vue.d.ts +2 -9
  560. package/packages/icons/fold/index.js.gz +0 -0
  561. package/packages/icons/fold/index.vue.d.ts +2 -9
  562. package/packages/icons/folder-quest/index.js.gz +0 -0
  563. package/packages/icons/folder-quest/index.vue.d.ts +2 -9
  564. package/packages/icons/form-tips/index.js.gz +0 -0
  565. package/packages/icons/form-tips/index.vue.d.ts +2 -9
  566. package/packages/icons/fresh/index.js.gz +0 -0
  567. package/packages/icons/fresh/index.vue.d.ts +2 -9
  568. package/packages/icons/full/index.js.gz +0 -0
  569. package/packages/icons/full/index.vue.d.ts +2 -9
  570. package/packages/icons/full-screen/index.js.gz +0 -0
  571. package/packages/icons/full-screen/index.vue.d.ts +2 -9
  572. package/packages/icons/fullscreen-2/index.js.gz +0 -0
  573. package/packages/icons/fullscreen-2/index.vue.d.ts +2 -9
  574. package/packages/icons/fuzhi/index.js.gz +0 -0
  575. package/packages/icons/fuzhi/index.vue.d.ts +2 -9
  576. package/packages/icons/fuzhineirong/index.js.gz +0 -0
  577. package/packages/icons/fuzhineirong/index.vue.d.ts +2 -9
  578. package/packages/icons/gaojin/index.js.gz +0 -0
  579. package/packages/icons/gaojin/index.vue.d.ts +2 -9
  580. package/packages/icons/gengduocaozuo/index.vue.d.ts +2 -9
  581. package/packages/icons/global/index.js.gz +0 -0
  582. package/packages/icons/global/index.vue.d.ts +2 -9
  583. package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
  584. package/packages/icons/gongzuotaiguanli/index.vue.d.ts +2 -9
  585. package/packages/icons/header-seach/index.js.gz +0 -0
  586. package/packages/icons/header-seach/index.vue.d.ts +2 -9
  587. package/packages/icons/header-setting/index.js.gz +0 -0
  588. package/packages/icons/header-setting/index.vue.d.ts +2 -9
  589. package/packages/icons/headersettings/index.js.gz +0 -0
  590. package/packages/icons/headersettings/index.vue.d.ts +2 -9
  591. package/packages/icons/hide/index.js.gz +0 -0
  592. package/packages/icons/hide/index.vue.d.ts +2 -9
  593. package/packages/icons/huabufuwei/index.js.gz +0 -0
  594. package/packages/icons/huabufuwei/index.vue.d.ts +2 -9
  595. package/packages/icons/huaxian/index.js.gz +0 -0
  596. package/packages/icons/huaxian/index.vue.d.ts +2 -9
  597. package/packages/icons/huida/index.js.gz +0 -0
  598. package/packages/icons/huida/index.vue.d.ts +2 -9
  599. package/packages/icons/huidaodibu/index.js.gz +0 -0
  600. package/packages/icons/huidaodibu/index.vue.d.ts +2 -9
  601. package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
  602. package/packages/icons/huifuchuchangshezhi/index.vue.d.ts +2 -9
  603. package/packages/icons/hyperlinks/index.js.gz +0 -0
  604. package/packages/icons/hyperlinks/index.vue.d.ts +2 -9
  605. package/packages/icons/img/index.js.gz +0 -0
  606. package/packages/icons/img/index.vue.d.ts +2 -9
  607. package/packages/icons/index.d.ts +2 -0
  608. package/packages/icons/index.js +2 -0
  609. package/packages/icons/input-close/index.js.gz +0 -0
  610. package/packages/icons/input-close/index.vue.d.ts +2 -9
  611. package/packages/icons/input-select/index.js.gz +0 -0
  612. package/packages/icons/input-select/index.vue.d.ts +2 -9
  613. package/packages/icons/intnet/index.js.gz +0 -0
  614. package/packages/icons/intnet/index.vue.d.ts +2 -9
  615. package/packages/icons/italic/index.js.gz +0 -0
  616. package/packages/icons/italic/index.vue.d.ts +2 -9
  617. package/packages/icons/jia-1/index.js.gz +0 -0
  618. package/packages/icons/jia-1/index.vue.d.ts +2 -9
  619. package/packages/icons/jian-1/index.vue.d.ts +2 -9
  620. package/packages/icons/jianshao-1/index.vue.d.ts +2 -9
  621. package/packages/icons/jinggao/index.js.gz +0 -0
  622. package/packages/icons/jinggao/index.vue.d.ts +2 -9
  623. package/packages/icons/jushangduiqi/index.js.gz +0 -0
  624. package/packages/icons/jushangduiqi/index.vue.d.ts +2 -9
  625. package/packages/icons/juxiaduiqi/index.js.gz +0 -0
  626. package/packages/icons/juxiaduiqi/index.vue.d.ts +2 -9
  627. package/packages/icons/juxinghuizhi/index.js.gz +0 -0
  628. package/packages/icons/juxinghuizhi/index.vue.d.ts +2 -9
  629. package/packages/icons/juyouduiqi/index.js.gz +0 -0
  630. package/packages/icons/juyouduiqi/index.vue.d.ts +2 -9
  631. package/packages/icons/juzuoduiqi/index.js.gz +0 -0
  632. package/packages/icons/juzuoduiqi/index.vue.d.ts +2 -9
  633. package/packages/icons/kaiguan/index.js.gz +0 -0
  634. package/packages/icons/kaiguan/index.vue.d.ts +2 -9
  635. package/packages/icons/kaimen/index.js.gz +0 -0
  636. package/packages/icons/kaimen/index.vue.d.ts +2 -9
  637. package/packages/icons/know/index.js.gz +0 -0
  638. package/packages/icons/know/index.vue.d.ts +2 -9
  639. package/packages/icons/knowed/index.js.gz +0 -0
  640. package/packages/icons/knowed/index.vue.d.ts +2 -9
  641. package/packages/icons/knowopen/index.js.gz +0 -0
  642. package/packages/icons/knowopen/index.vue.d.ts +2 -9
  643. package/packages/icons/layout-refresh/index.js.gz +0 -0
  644. package/packages/icons/layout-refresh/index.vue.d.ts +2 -9
  645. package/packages/icons/left/index.vue.d.ts +2 -9
  646. package/packages/icons/lianjie/index.js.gz +0 -0
  647. package/packages/icons/lianjie/index.vue.d.ts +2 -9
  648. package/packages/icons/link/index.js.gz +0 -0
  649. package/packages/icons/link/index.vue.d.ts +2 -9
  650. package/packages/icons/lishihuihua/index.js.gz +0 -0
  651. package/packages/icons/lishihuihua/index.vue.d.ts +2 -9
  652. package/packages/icons/list/index.js.gz +0 -0
  653. package/packages/icons/list/index.vue.d.ts +2 -9
  654. package/packages/icons/list-view/index.js.gz +0 -0
  655. package/packages/icons/list-view/index.vue.d.ts +2 -9
  656. package/packages/icons/load/index.js.gz +0 -0
  657. package/packages/icons/load/index.vue.d.ts +2 -9
  658. package/packages/icons/lock/index.js.gz +0 -0
  659. package/packages/icons/lock/index.vue.d.ts +2 -9
  660. package/packages/icons/marsh/index.vue.d.ts +2 -9
  661. package/packages/icons/me/index.js.gz +0 -0
  662. package/packages/icons/me/index.vue.d.ts +2 -9
  663. package/packages/icons/more/index.js.gz +0 -0
  664. package/packages/icons/more/index.vue.d.ts +2 -9
  665. package/packages/icons/more-2/index.vue.d.ts +2 -9
  666. package/packages/icons/more-btn/index.js.gz +0 -0
  667. package/packages/icons/more-btn/index.vue.d.ts +2 -9
  668. package/packages/icons/muted/index.js.gz +0 -0
  669. package/packages/icons/muted/index.vue.d.ts +2 -9
  670. package/packages/icons/notification-face/index.js.gz +0 -0
  671. package/packages/icons/notification-face/index.vue.d.ts +2 -9
  672. package/packages/icons/paiban/index.js.gz +0 -0
  673. package/packages/icons/paiban/index.vue.d.ts +2 -9
  674. package/packages/icons/password-lock/index.js.gz +0 -0
  675. package/packages/icons/password-lock/index.vue.d.ts +2 -9
  676. package/packages/icons/password-lock2/index.js.gz +0 -0
  677. package/packages/icons/password-lock2/index.vue.d.ts +2 -9
  678. package/packages/icons/pause/index.js.gz +0 -0
  679. package/packages/icons/pause/index.vue.d.ts +2 -9
  680. package/packages/icons/phone/index.js.gz +0 -0
  681. package/packages/icons/phone/index.vue.d.ts +2 -9
  682. package/packages/icons/pinglun/index.js.gz +0 -0
  683. package/packages/icons/pinglun/index.vue.d.ts +2 -9
  684. package/packages/icons/plan/index.js.gz +0 -0
  685. package/packages/icons/plan/index.vue.d.ts +2 -9
  686. package/packages/icons/play/index.js.gz +0 -0
  687. package/packages/icons/play/index.vue.d.ts +2 -9
  688. package/packages/icons/preview/index.js.gz +0 -0
  689. package/packages/icons/preview/index.vue.d.ts +2 -9
  690. package/packages/icons/preview-eye/index.js.gz +0 -0
  691. package/packages/icons/preview-eye/index.vue.d.ts +2 -9
  692. package/packages/icons/project-list/index.js.gz +0 -0
  693. package/packages/icons/project-list/index.vue.d.ts +2 -9
  694. package/packages/icons/project-tree/index.js.gz +0 -0
  695. package/packages/icons/project-tree/index.vue.d.ts +2 -9
  696. package/packages/icons/promptinformation-l/index.js.gz +0 -0
  697. package/packages/icons/promptinformation-l/index.vue.d.ts +2 -9
  698. package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
  699. package/packages/icons/qiehuangongzuotai/index.vue.d.ts +2 -9
  700. package/packages/icons/qingkong/index.js.gz +0 -0
  701. package/packages/icons/qingkong/index.vue.d.ts +2 -9
  702. package/packages/icons/quanping/index.js.gz +0 -0
  703. package/packages/icons/quanping/index.vue.d.ts +2 -9
  704. package/packages/icons/rate-all/index.js.gz +0 -0
  705. package/packages/icons/rate-all/index.vue.d.ts +2 -9
  706. package/packages/icons/rate-half/index.js.gz +0 -0
  707. package/packages/icons/rate-half/index.vue.d.ts +2 -9
  708. package/packages/icons/rate-none/index.js.gz +0 -0
  709. package/packages/icons/rate-none/index.vue.d.ts +2 -9
  710. package/packages/icons/recover/index.js.gz +0 -0
  711. package/packages/icons/recover/index.vue.d.ts +2 -9
  712. package/packages/icons/refresh/index.js.gz +0 -0
  713. package/packages/icons/refresh/index.vue.d.ts +2 -9
  714. package/packages/icons/reload/index.js.gz +0 -0
  715. package/packages/icons/reload/index.vue.d.ts +2 -9
  716. package/packages/icons/reset/index.js.gz +0 -0
  717. package/packages/icons/reset/index.vue.d.ts +2 -9
  718. package/packages/icons/right/index.vue.d.ts +2 -9
  719. package/packages/icons/right-3/index.js.gz +0 -0
  720. package/packages/icons/right-3/index.vue.d.ts +2 -9
  721. package/packages/icons/riqixuanze/index.js.gz +0 -0
  722. package/packages/icons/riqixuanze/index.vue.d.ts +2 -9
  723. package/packages/icons/rise/index.js.gz +0 -0
  724. package/packages/icons/rise/index.vue.d.ts +2 -9
  725. package/packages/icons/save/index.js.gz +0 -0
  726. package/packages/icons/save/index.vue.d.ts +2 -9
  727. package/packages/icons/screenshot/index.js.gz +0 -0
  728. package/packages/icons/screenshot/index.vue.d.ts +2 -9
  729. package/packages/icons/search/index.js.gz +0 -0
  730. package/packages/icons/search/index.vue.d.ts +2 -9
  731. package/packages/icons/select/index.vue.d.ts +2 -9
  732. package/packages/icons/select-confirm/index.js.gz +0 -0
  733. package/packages/icons/select-confirm/index.vue.d.ts +2 -9
  734. package/packages/icons/select2/index.vue.d.ts +2 -9
  735. package/packages/icons/set-up/index.js.gz +0 -0
  736. package/packages/icons/set-up/index.vue.d.ts +2 -9
  737. package/packages/icons/setting/index.js.gz +0 -0
  738. package/packages/icons/setting/index.vue.d.ts +2 -9
  739. package/packages/icons/shangchuan/index.js.gz +0 -0
  740. package/packages/icons/shangchuan/index.vue.d.ts +2 -9
  741. package/packages/icons/shebei/index.js.gz +0 -0
  742. package/packages/icons/shebei/index.vue.d.ts +2 -9
  743. package/packages/icons/shebeiqunzu/index.js.gz +0 -0
  744. package/packages/icons/shebeiqunzu/index.vue.d.ts +2 -9
  745. package/packages/icons/shendusikao/index.js.gz +0 -0
  746. package/packages/icons/shendusikao/index.vue.d.ts +2 -9
  747. package/packages/icons/sheweimoren/index.js.gz +0 -0
  748. package/packages/icons/sheweimoren/index.vue.d.ts +2 -9
  749. package/packages/icons/shisuan/index.js.gz +0 -0
  750. package/packages/icons/shisuan/index.vue.d.ts +2 -9
  751. package/packages/icons/shitu-kapian/index.js.gz +0 -0
  752. package/packages/icons/shitu-kapian/index.vue.d.ts +2 -9
  753. package/packages/icons/shitu-liebiao/index.vue.d.ts +2 -9
  754. package/packages/icons/shitu-map/index.js.gz +0 -0
  755. package/packages/icons/shitu-map/index.vue.d.ts +2 -9
  756. package/packages/icons/shortcut-keys/index.js.gz +0 -0
  757. package/packages/icons/shortcut-keys/index.vue.d.ts +2 -9
  758. package/packages/icons/shoudongzhihang/index.js.gz +0 -0
  759. package/packages/icons/shoudongzhihang/index.vue.d.ts +2 -9
  760. package/packages/icons/shouqiliangcemianban/index.vue.d.ts +2 -9
  761. package/packages/icons/shouqiyoucemianban/index.js.gz +0 -0
  762. package/packages/icons/shouqiyoucemianban/index.vue.d.ts +2 -9
  763. package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
  764. package/packages/icons/shouqiyoucemianban-1/index.vue.d.ts +2 -9
  765. package/packages/icons/shouqizuocemianban/index.js.gz +0 -0
  766. package/packages/icons/shouqizuocemianban/index.vue.d.ts +2 -9
  767. package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
  768. package/packages/icons/shouqizuocemianban-1/index.vue.d.ts +2 -9
  769. package/packages/icons/shouquan/index.js.gz +0 -0
  770. package/packages/icons/shouquan/index.vue.d.ts +2 -9
  771. package/packages/icons/show/index.js.gz +0 -0
  772. package/packages/icons/show/index.vue.d.ts +2 -9
  773. package/packages/icons/shrink/index.js.gz +0 -0
  774. package/packages/icons/shrink/index.vue.d.ts +2 -9
  775. package/packages/icons/shuaxin/index.js.gz +0 -0
  776. package/packages/icons/shuaxin/index.vue.d.ts +2 -9
  777. package/packages/icons/shuipingduiqi/index.js.gz +0 -0
  778. package/packages/icons/shuipingduiqi/index.vue.d.ts +2 -9
  779. package/packages/icons/shuipingjunfen/index.js.gz +0 -0
  780. package/packages/icons/shuipingjunfen/index.vue.d.ts +2 -9
  781. package/packages/icons/shuyoufanye/index.js.gz +0 -0
  782. package/packages/icons/shuyoufanye/index.vue.d.ts +2 -9
  783. package/packages/icons/shuzuofanye/index.js.gz +0 -0
  784. package/packages/icons/shuzuofanye/index.vue.d.ts +2 -9
  785. package/packages/icons/solid-filter/index.js.gz +0 -0
  786. package/packages/icons/solid-filter/index.vue.d.ts +2 -9
  787. package/packages/icons/start/index.js.gz +0 -0
  788. package/packages/icons/start/index.vue.d.ts +2 -9
  789. package/packages/icons/stop/index.js.gz +0 -0
  790. package/packages/icons/stop/index.vue.d.ts +2 -9
  791. package/packages/icons/structural-diagram/index.js.gz +0 -0
  792. package/packages/icons/structural-diagram/index.vue.d.ts +2 -9
  793. package/packages/icons/success/index.vue.d.ts +2 -9
  794. package/packages/icons/system/index.js.gz +0 -0
  795. package/packages/icons/system/index.vue.d.ts +2 -9
  796. package/packages/icons/table-header-search/index.js.gz +0 -0
  797. package/packages/icons/table-header-search/index.vue.d.ts +2 -9
  798. package/packages/icons/text/index.js.gz +0 -0
  799. package/packages/icons/text/index.vue.d.ts +2 -9
  800. package/packages/icons/tianjiaxinhuati/index.js.gz +0 -0
  801. package/packages/icons/tianjiaxinhuati/index.vue.d.ts +2 -9
  802. package/packages/icons/tick/index.js.gz +0 -0
  803. package/packages/icons/tick/index.vue.d.ts +2 -9
  804. package/packages/icons/tishixinxi/index.js.gz +0 -0
  805. package/packages/icons/tishixinxi/index.vue.d.ts +2 -9
  806. package/packages/icons/tongguo/index.js.gz +0 -0
  807. package/packages/icons/tongguo/index.vue.d.ts +2 -9
  808. package/packages/icons/tongzhi/index.js.gz +0 -0
  809. package/packages/icons/tongzhi/index.vue.d.ts +2 -9
  810. package/packages/icons/tubiaoku/index.js.gz +0 -0
  811. package/packages/icons/tubiaoku/index.vue.d.ts +2 -9
  812. package/packages/icons/tucao/index.d.ts +1 -0
  813. package/packages/icons/tucao/index.js +17 -0
  814. package/packages/icons/tucao/index.js.gz +0 -0
  815. package/packages/icons/tucao/index.vue.d.ts +12 -0
  816. package/packages/icons/tucao-2/index.d.ts +1 -0
  817. package/packages/icons/tucao-2/index.js +17 -0
  818. package/packages/icons/tucao-2/index.js.gz +0 -0
  819. package/packages/icons/tucao-2/index.vue.d.ts +12 -0
  820. package/packages/icons/tuichuquanping/index.js.gz +0 -0
  821. package/packages/icons/tuichuquanping/index.vue.d.ts +2 -9
  822. package/packages/icons/tuozhuai/index.js.gz +0 -0
  823. package/packages/icons/tuozhuai/index.vue.d.ts +2 -9
  824. package/packages/icons/underline/index.js.gz +0 -0
  825. package/packages/icons/underline/index.vue.d.ts +2 -9
  826. package/packages/icons/unflod/index.js.gz +0 -0
  827. package/packages/icons/unflod/index.vue.d.ts +2 -9
  828. package/packages/icons/unlock/index.js.gz +0 -0
  829. package/packages/icons/unlock/index.vue.d.ts +2 -9
  830. package/packages/icons/up/index.js.gz +0 -0
  831. package/packages/icons/up/index.vue.d.ts +2 -9
  832. package/packages/icons/up-2/index.js.gz +0 -0
  833. package/packages/icons/up-2/index.vue.d.ts +2 -9
  834. package/packages/icons/vauth/index.js.gz +0 -0
  835. package/packages/icons/vauth/index.vue.d.ts +2 -9
  836. package/packages/icons/view/index.js.gz +0 -0
  837. package/packages/icons/view/index.vue.d.ts +2 -9
  838. package/packages/icons/view-2/index.js.gz +0 -0
  839. package/packages/icons/view-2/index.vue.d.ts +2 -9
  840. package/packages/icons/volume/index.js.gz +0 -0
  841. package/packages/icons/volume/index.vue.d.ts +2 -9
  842. package/packages/icons/wangge/index.js.gz +0 -0
  843. package/packages/icons/wangge/index.vue.d.ts +2 -9
  844. package/packages/icons/wangge-1/index.js.gz +0 -0
  845. package/packages/icons/wangge-1/index.vue.d.ts +2 -9
  846. package/packages/icons/warning/index.js.gz +0 -0
  847. package/packages/icons/warning/index.vue.d.ts +2 -9
  848. package/packages/icons/warning-face/index.js.gz +0 -0
  849. package/packages/icons/warning-face/index.vue.d.ts +2 -9
  850. package/packages/icons/wendujiang/index.js.gz +0 -0
  851. package/packages/icons/wendujiang/index.vue.d.ts +2 -9
  852. package/packages/icons/wendusheng/index.js.gz +0 -0
  853. package/packages/icons/wendusheng/index.vue.d.ts +2 -9
  854. package/packages/icons/withdraw/index.js.gz +0 -0
  855. package/packages/icons/withdraw/index.vue.d.ts +2 -9
  856. package/packages/icons/xiala/index.vue.d.ts +2 -9
  857. package/packages/icons/xiazai/index.js.gz +0 -0
  858. package/packages/icons/xiazai/index.vue.d.ts +2 -9
  859. package/packages/icons/xinzengtongji/index.js.gz +0 -0
  860. package/packages/icons/xinzengtongji/index.vue.d.ts +2 -9
  861. package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
  862. package/packages/icons/xuanzhuanjiaodu/index.vue.d.ts +2 -9
  863. package/packages/icons/yidongduan/index.js.gz +0 -0
  864. package/packages/icons/yidongduan/index.vue.d.ts +2 -9
  865. package/packages/icons/yincang/index.js.gz +0 -0
  866. package/packages/icons/yincang/index.vue.d.ts +2 -9
  867. package/packages/icons/yingpian/index.js.gz +0 -0
  868. package/packages/icons/yingpian/index.vue.d.ts +2 -9
  869. package/packages/icons/yingyong/index.js.gz +0 -0
  870. package/packages/icons/yingyong/index.vue.d.ts +2 -9
  871. package/packages/icons/yitushoutu/index.js.gz +0 -0
  872. package/packages/icons/yitushoutu/index.vue.d.ts +2 -9
  873. package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
  874. package/packages/icons/yuanxinghuizhi/index.vue.d.ts +2 -9
  875. package/packages/icons/yulan-2/index.js.gz +0 -0
  876. package/packages/icons/yulan-2/index.vue.d.ts +2 -9
  877. package/packages/icons/yuyin/index.js.gz +0 -0
  878. package/packages/icons/yuyin/index.vue.d.ts +2 -9
  879. package/packages/icons/zhangaiwu/index.js.gz +0 -0
  880. package/packages/icons/zhangaiwu/index.vue.d.ts +2 -9
  881. package/packages/icons/zhizhen/index.js.gz +0 -0
  882. package/packages/icons/zhizhen/index.vue.d.ts +2 -9
  883. package/packages/icons/zhongxinshengcheng/index.js.gz +0 -0
  884. package/packages/icons/zhongxinshengcheng/index.vue.d.ts +2 -9
  885. package/packages/icons/zhuomianduan/index.js.gz +0 -0
  886. package/packages/icons/zhuomianduan/index.vue.d.ts +2 -9
  887. package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
  888. package/packages/icons/zidingyihuizhi/index.vue.d.ts +2 -9
  889. package/packages/icons/zuobiao/index.js.gz +0 -0
  890. package/packages/icons/zuobiao/index.vue.d.ts +2 -9
  891. package/packages/business-components/ai-panel/index-CD2YNg3j.js.gz +0 -0
  892. package/packages/business-components/ai-panel/index-CJeKTaAS.js.gz +0 -0
  893. package/packages/business-components/ai-panel/index-DWHxqEh3.js.gz +0 -0
@@ -1,272 +1,921 @@
1
1
  import '@das-fed/ui/packages/components/image-viewer/style.css';
2
- import { withInstall as Pe } from "@das-fed/utils/with-install/index";
3
- import { setThemeRule as Oe } from "@das-fed/web/packages/theme/index";
4
- import { ref as ne, computed as D, watch as Je, createApp as Ne, defineComponent as Fe, createElementBlock as h, openBlock as d, Fragment as x, createCommentVNode as r, createElementVNode as N, withDirectives as B, normalizeStyle as $, createVNode as H, unref as e, normalizeClass as _, withCtx as q, createBlock as I, vShow as Q, isRef as ue, createTextVNode as ce, toDisplayString as de, renderList as me } from "vue";
5
- import { ElImageViewer as Ve, ElImage as ge } from "element-plus";
6
- import { Upload as pe } from "ant-design-vue";
7
- import { vDasTooltip as fe } from "@das-fed/ui/packages/components/text-tooltip/index";
8
- import { DasImageUpload as Ae } from "@das-fed/ui/packages/components/image-upload/index";
9
- import { DasSpin as ve } from "@das-fed/ui/packages/components/spin/index";
10
- import { DasAudioVideo as ee } from "@das-fed/ui/packages/components/audio-video/index";
11
- import { DasIconDownload as we } from "@das-fed/ui/packages/icons/download/index";
12
- import { DasIconChange as te } from "@das-fed/ui/packages/icons/change/index";
13
- import { DasIconDelete as Ce } from "@das-fed/ui/packages/icons/delete/index";
14
- import { useModelValue as Ee } from "@das-fed/utils/vue";
15
- import { DasMessage as he } from "@das-fed/ui/packages/components/message/index";
16
- import { extractFilename as ye, getFileExtension as Te } from "@das-fed/utils/common-tools";
17
- import { getConfig as re } from "@das-fed/utils/config";
18
- import { currentLang as Ie, i18n as ke } from "@das-fed/web/packages/i18n/index";
19
- import { iotMinio as Be } from "@das-fed/utils/api-services/modules/iot";
20
- import { useFile as Le } from "@das-fed/utils/api-services/modules/file";
21
- import { getUserInfo as Me } from "@das-fed/utils/common-info";
22
- import { pureImageSrc as le } from "@das-fed/utils/pure-image-src";
2
+ import { withInstall as rt } from "@das-fed/utils/with-install/index";
3
+ import { setThemeRule as ot } from "@das-fed/web/packages/theme/index";
4
+ import { ref as Ee, computed as x, watch as st, createApp as lt, defineComponent as ut, createElementBlock as U, openBlock as y, Fragment as de, createCommentVNode as p, createElementVNode as X, withDirectives as J, normalizeStyle as fe, createVNode as ie, unref as n, normalizeClass as ge, withCtx as ne, createBlock as O, vShow as j, isRef as Qe, createTextVNode as Pe, toDisplayString as Te, renderList as Me } from "vue";
5
+ import { ElImageViewer as ct, ElImage as Le } from "element-plus";
6
+ import { Upload as Fe } from "ant-design-vue";
7
+ import { vDasTooltip as Ne } from "@das-fed/ui/packages/components/text-tooltip/index";
8
+ import { DasImageUpload as Ve } from "@das-fed/ui/packages/components/image-upload/index";
9
+ import { DasSpin as Je } from "@das-fed/ui/packages/components/spin/index";
10
+ import { DasAudioVideo as ve } from "@das-fed/ui/packages/components/audio-video/index";
11
+ import { DasIconDownload as je } from "@das-fed/ui/packages/icons/download/index";
12
+ import { DasIconChange as pe } from "@das-fed/ui/packages/icons/change/index";
13
+ import { DasIconDelete as ze } from "@das-fed/ui/packages/icons/delete/index";
14
+ import { useModelValue as be } from "@das-fed/utils/vue";
15
+ import { DasMessage as xe } from "@das-fed/ui/packages/components/message/index";
16
+ import { extractFilename as _e, getFileExtension as mt } from "@das-fed/utils/common-tools";
17
+ import { getConfig as De } from "@das-fed/utils/config";
18
+ import { currentLang as Ke, i18n as He } from "@das-fed/web/packages/i18n/index";
19
+ import { iotMinio as et } from "@das-fed/utils/api-services/modules/iot";
20
+ import { useFile as dt } from "@das-fed/utils/api-services/modules/file";
21
+ import { getUserInfo as ft } from "@das-fed/utils/common-info";
22
+ import { pureImageSrc as Re } from "@das-fed/utils/pure-image-src";
23
23
  import "ant-design-vue/es/upload/style/css";
24
24
  import "element-plus/es/components/image/style/css";
25
25
  import "element-plus/es/components/image-viewer/style/css";
26
26
  import "@das-fed/ui/packages/global/theme";
27
- const se = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAyKADAAQAAAABAAAAyAAAAACbWz2VAAAPbUlEQVR4Ae1dDXfiKhDV1o92T3f//9/ctVWjUR+XLe9hnvKRkMCQO+fYJIYg3OGWmYHA8nq93tRnQSECROAegZeXl8Xqdrst8KEQASJw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FxTFcCJV7jwQZqJuQ3oOh3YEgZ3ycBBkI/lotEeQSvO/BV2ldCJV9jwQZoJ8Xtc2C3zmXs+j3ACiqfZQEGaDaNcY+XKJmLTK06wKo/HskyAAd+eZdkRwDwC3kURKkpyL09gnugXO1PwnNq57wFvMYCdJTFauV27yCY87FGHqCW9BjJEhPZei5V45n2+/drRxJeEsAAiRIDyW9Yncqn3mlFsCmyEeABOmhw7XPvFJrZnG1kh7AFvgICdJDKT7zis55D1ALfYQEiVRMiHlF/yMS1IKTkyCRysHUdpdgjw+aVy6EZN0jQSL15Z252/7dmz0yWyYvFAESJEIx2NzTN/eqJUEiEC0/KQkSoaPXlfu9D6wYBxOLUg8CJEiELlce/4O9RwSYQpKSIBGKWnl6EEavIsAUkpQECVTUcqmg8izrc7nQQQ+EU0wyEiRQVXr8w5EWS4ryvXMHQEJvkSCBivP5H5y5GwiksGQkSKDCXlbuda8uLaNXgVCKSkaCBKrLN/7BHiQQSGHJSJAAhfmml+jxD/WCFKU+BEiQAJ1i9RKXtJfWdZv3BCNAggQo79VDkCsJEoCizCQkSIDefP4Hp5cEgCg0CQkSoDifiXXh/KsAFGUmIUE8etMj6J40fP/DA5Dg2ySIR3l+/4PRKw+Eom+TIB71+cwrLkztAVD4bRLEo8CXFzdE9D88AAq/7da+8MqlKP7SQxBMUqTUiwAJ4tHtC6a5O4QzeB3gVHDLrf0KKji0Cr4ehHOwhiJc9vMkiEs/apEGp6h30Cl1I0CCOPTrDfHeGOJ1wFfFLRLEocalZ4Xq25VdiAO+Km4tm6a5MVT5WJcYA3Et1ADcLlwH6zF4FXy7Vtt7/wME4YHuqneMGQAAAABJRU5ErkJggg==", Ke = (t, a) => {
28
- const s = new Image();
29
- s.setAttribute("crossOrigin", "Anonymous"), s.onload = function() {
30
- let o = document.createElement("canvas");
31
- const m = o.getContext("2d");
32
- o.width = s.width, o.height = s.height, m.drawImage(s, 0, 0, s.width, s.height), o.toBlob((f) => {
33
- let v = URL.createObjectURL(f), l = document.createElement("a"), R = new MouseEvent("click");
34
- const C = t.substring(t.lastIndexOf(".")).toLowerCase();
35
- l.download = a || `default${C}`, l.href = v, l.dispatchEvent(R), URL.revokeObjectURL(v);
27
+ const Ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAyKADAAQAAAABAAAAyAAAAACbWz2VAAAPbUlEQVR4Ae1dDXfiKhDV1o92T3f//9/ctVWjUR+XLe9hnvKRkMCQO+fYJIYg3OGWmYHA8nq93tRnQSECROAegZeXl8Xqdrst8KEQASJwjwB48XL/Fa+IABGwESBBbDR4TgQ6CJAgHUB4SQRsBEgQGw2eE4EOAiRIBxBeEgEbARLERoPnRKCDAAnSAYSXRMBGgASx0eA5EeggQIJ0AOElEbARIEFsNHhOBDoIkCAdQHhJBGwESBAbDZ4TgQ4CJEgHEF4SARsBEsRGg+dEoIMACdIBhJdEwEaABLHR4DkR6CBAgnQA4SURsBEgQWw0eE4EOgiQIB1AeEkEbARIEBsNnhOBDgIkSAcQXhIBGwESxEaD50SggwAJ0gGEl0TARoAEsdHgORHoIECCdADhJRGwESBBbDR4TgQ6CJAgHUB4SQRsBEgQGw2eE4EOAiRIBxBeEgEbARLERoPnRKCDAAnSAYSXRMBGYGVf1Hpu9kDBcblcLrAxCoUIhCBQFUFAgPP5vLhcLvrTtq0Tg9fXV00WHNfr9QJHChGwEViqxiR6CzaQ4nQ66Q+IMVQ2m80Cn9Wqqv8dQ2GZ5fOwNMQSBGQ4Ho+6xxhDewBnu93qzxj5M8/yERBJEGw4ejgcRiNGV20A6e3tTfcq3Xu8rhsBcQRpmkaTI4daYHL9+PGDDn4O8DP9piiCfH5+LnxO9xQ4fnx80D+ZAugCfgMEKT7eCZNqt9sVQQ7oDERFUIAyDwSKdtLRY3x9fRW5jzsiXTC5KPUiUH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Eo8CXFzdE9D88AAq/7da+8MqlKP7SQxBMUqTUiwAJ4tHtC6a5O4QzeB3gVHDLrf0KKji0Cr4ehHOwhiJc9vMkiEs/apEGp6h30Cl1I0CCOPTrDfHeGOJ1wFfFLRLEocalZ4Xq25VdiAO+Km4tm6a5MVT5WJcYA3Et1ADcLlwH6zF4FXy7Vtt7/wME4YHuqneMGQAAAABJRU5ErkJggg==", gt = (t, e) => {
28
+ const i = new Image();
29
+ i.setAttribute("crossOrigin", "Anonymous"), i.onload = function() {
30
+ let a = document.createElement("canvas");
31
+ const r = a.getContext("2d");
32
+ a.width = i.width, a.height = i.height, r.drawImage(i, 0, 0, i.width, i.height), a.toBlob((o) => {
33
+ let g = URL.createObjectURL(o), s = document.createElement("a"), f = new MouseEvent("click");
34
+ const c = t.substring(t.lastIndexOf(".")).toLowerCase();
35
+ s.download = e || `default${c}`, s.href = g, s.dispatchEvent(f), URL.revokeObjectURL(g);
36
36
  });
37
- }, s.src = t + "?v=" + Date.now();
38
- }, je = (t, a) => {
39
- t && fetch(t).then((s) => s.blob()).then((s) => {
40
- const o = document.createElement("a");
41
- document.body.appendChild(o), o.style.display = "none";
42
- const m = window.URL.createObjectURL(s);
43
- o.href = m, o.download = a, o.click(), document.body.removeChild(o), window.URL.revokeObjectURL(m);
37
+ }, i.src = t + "?v=" + Date.now();
38
+ }, vt = (t, e) => {
39
+ t && fetch(t).then((i) => i.blob()).then((i) => {
40
+ const a = document.createElement("a");
41
+ document.body.appendChild(a), a.style.display = "none";
42
+ const r = window.URL.createObjectURL(i);
43
+ a.href = r, a.download = e, a.click(), document.body.removeChild(a), window.URL.revokeObjectURL(r);
44
44
  });
45
- }, ze = (t) => {
46
- const a = (t == null ? void 0 : t.minioTokenApi) ?? "token";
47
- return Be.get(a, (s) => (s.headers || (s.headers = {}), t != null && t.baseUrl && (s.baseURL = t.baseUrl), s));
48
- }, He = (t) => Be.post("put-object", (a) => (a.headers || (a.headers = {}), t && (a.baseURL = t), a.headers["Content-Type"] = "multipart/form-data", a)), qe = () => {
49
- const t = Me();
45
+ }, pt = (t) => {
46
+ const e = (t == null ? void 0 : t.minioTokenApi) ?? "token";
47
+ return et.get(e, (i) => (i.headers || (i.headers = {}), t != null && t.baseUrl && (i.baseURL = t.baseUrl), i));
48
+ }, ht = (t) => et.post("put-object", (e) => (e.headers || (e.headers = {}), t && (e.baseURL = t), e.headers["Content-Type"] = "multipart/form-data", e)), wt = () => {
49
+ const t = ft();
50
50
  return t ? t.tenantId : "";
51
- }, Ye = (t) => {
52
- const { baseUrl: a, serviceName: s, pathPrefix: o, bucketName: m, minioTokenApi: f, autoContentType: v } = t, l = async () => {
53
- const [w, u] = await ze({ baseUrl: a, minioTokenApi: f })().run();
54
- return w ? { stauts: !1 } : { status: !0, data: u };
55
- }, { generateUniqueName: R } = Le();
56
- return { upload: async (w, u = {}) => {
57
- const E = await l();
58
- if (!E.status) return;
59
- const U = w.name, k = E.data, F = o || qe(), V = U.substring(U.lastIndexOf(".")).toLowerCase(), L = t.randomName ? `${R("")}${V}` : U, M = s ? `${F}/${s}/${L}` : `${F}/${L}`, K = {
60
- accessKeyId: k.accessKeyId,
61
- secretAccessKey: k.secretAccessKey,
62
- sessionToken: k.sessionToken,
63
- file: w,
64
- bucketName: m || "business",
65
- filePath: M,
51
+ }, At = (t) => {
52
+ const { baseUrl: e, serviceName: i, pathPrefix: a, bucketName: r, minioTokenApi: o, autoContentType: g } = t, s = async () => {
53
+ const [v, d] = await pt({ baseUrl: e, minioTokenApi: o })().run();
54
+ return v ? { stauts: !1 } : { status: !0, data: d };
55
+ }, { generateUniqueName: f } = dt();
56
+ return { upload: async (v, d = {}) => {
57
+ const C = await s();
58
+ if (!C.status) return;
59
+ const h = v.name, m = C.data, E = a || wt(), k = h.substring(h.lastIndexOf(".")).toLowerCase(), S = t.randomName ? `${f("")}${k}` : h, K = i ? `${E}/${i}/${S}` : `${E}/${S}`, T = {
60
+ accessKeyId: m.accessKeyId,
61
+ secretAccessKey: m.secretAccessKey,
62
+ sessionToken: m.sessionToken,
63
+ file: v,
64
+ bucketName: r || "business",
65
+ filePath: K,
66
66
  isThumbnail: !0,
67
- autoContentType: v === !0 ? !0 : void 0,
68
- ...u
69
- }, [j, z] = await He(a)(K).run();
70
- return j ? "error" : z.value;
67
+ autoContentType: g === !0 ? !0 : void 0,
68
+ ...d
69
+ }, [M, L] = await ht(e)(T).run();
70
+ return M ? "error" : L.value;
71
71
  } };
72
- }, Ze = () => ({ size2B: (a) => {
73
- isNaN(Number(a)) ? a = a.toString() : a = a + "M";
74
- const s = Number(a.slice(0, -1)), o = a[a.length - 1].toUpperCase(), m = 1024, f = {
75
- M: m * m,
76
- K: m,
72
+ }, yt = () => ({ size2B: (e) => {
73
+ isNaN(Number(e)) ? e = e.toString() : e = e + "M";
74
+ const i = Number(e.slice(0, -1)), a = e[e.length - 1].toUpperCase(), r = 1024, o = {
75
+ M: r * r,
76
+ K: r,
77
77
  B: 1
78
78
  };
79
- return { finalSize: s * f[o], sizeText: a };
80
- } }), Ge = (t) => ({ handlerImageSrc: (s, o) => {
81
- if (o.startsWith("http")) return o;
82
- const m = t.useOriginUrl ? o : le(o);
83
- return s + m;
84
- } }), Xe = async (t) => {
85
- const s = re().baseURL + le(t);
86
- return await ye(s);
87
- }, We = async (t) => {
88
- const a = re();
89
- let s = [];
90
- for (const o of t) {
91
- const m = a.baseURL + le(o), f = await ye(m);
92
- s.push(f);
79
+ return { finalSize: i * o[a], sizeText: e };
80
+ } }), Ct = (t) => ({ handlerImageSrc: (i, a) => {
81
+ if (a.startsWith("http")) return a;
82
+ const r = t.useOriginUrl ? a : Re(a);
83
+ return i + r;
84
+ } }), Et = async (t) => {
85
+ const i = De().baseURL + Re(t);
86
+ return await _e(i);
87
+ }, bt = async (t) => {
88
+ const e = De();
89
+ let i = [];
90
+ for (const a of t) {
91
+ const r = e.baseURL + Re(a), o = await _e(r);
92
+ i.push(o);
93
93
  }
94
- return s;
95
- }, xe = (t, a) => {
96
- const s = re(), o = Ee(t, "modelValue"), m = Ee(t, "status"), { upload: f } = Ye(t), { size2B: v } = Ze(), { handlerImageSrc: l } = Ge(t), R = ne(""), C = ne([]), w = [".mp4", ".avi", ".mkv", ".mov", ".wmv", ".flv", ".mpeg", ".webm"], u = [".mp3", ".wav", ".aac", ".flac", ".ogg", ".alff", ".wma", ".m4a"], E = D(() => t.baseUrl ? t.baseUrl : process.env.NODE_ENV === "production" ? "" : s.baseURL || ""), U = (i) => {
97
- if (i) {
98
- const c = i.substring(i.lastIndexOf(".")).toLowerCase();
99
- if (w.includes(c)) return "isVideo";
100
- if (u.includes(c)) return "isAudio";
94
+ return i;
95
+ };
96
+ /*!
97
+ * Compressor.js v1.2.1
98
+ * https://fengyuanchen.github.io/compressorjs
99
+ *
100
+ * Copyright 2018-present Chen Fengyuan
101
+ * Released under the MIT license
102
+ *
103
+ * Date: 2023-02-28T14:09:41.732Z
104
+ */
105
+ function We(t, e) {
106
+ var i = Object.keys(t);
107
+ if (Object.getOwnPropertySymbols) {
108
+ var a = Object.getOwnPropertySymbols(t);
109
+ e && (a = a.filter(function(r) {
110
+ return Object.getOwnPropertyDescriptor(t, r).enumerable;
111
+ })), i.push.apply(i, a);
112
+ }
113
+ return i;
114
+ }
115
+ function he(t) {
116
+ for (var e = 1; e < arguments.length; e++) {
117
+ var i = arguments[e] != null ? arguments[e] : {};
118
+ e % 2 ? We(Object(i), !0).forEach(function(a) {
119
+ kt(t, a, i[a]);
120
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : We(Object(i)).forEach(function(a) {
121
+ Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(i, a));
122
+ });
123
+ }
124
+ return t;
125
+ }
126
+ function Bt(t, e) {
127
+ if (!(t instanceof e))
128
+ throw new TypeError("Cannot call a class as a function");
129
+ }
130
+ function Ye(t, e) {
131
+ for (var i = 0; i < e.length; i++) {
132
+ var a = e[i];
133
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t, tt(a.key), a);
134
+ }
135
+ }
136
+ function It(t, e, i) {
137
+ return e && Ye(t.prototype, e), i && Ye(t, i), Object.defineProperty(t, "prototype", {
138
+ writable: !1
139
+ }), t;
140
+ }
141
+ function kt(t, e, i) {
142
+ return e = tt(e), e in t ? Object.defineProperty(t, e, {
143
+ value: i,
144
+ enumerable: !0,
145
+ configurable: !0,
146
+ writable: !0
147
+ }) : t[e] = i, t;
148
+ }
149
+ function Ae() {
150
+ return Ae = Object.assign ? Object.assign.bind() : function(t) {
151
+ for (var e = 1; e < arguments.length; e++) {
152
+ var i = arguments[e];
153
+ for (var a in i)
154
+ Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
155
+ }
156
+ return t;
157
+ }, Ae.apply(this, arguments);
158
+ }
159
+ function Dt(t, e) {
160
+ if (typeof t != "object" || t === null) return t;
161
+ var i = t[Symbol.toPrimitive];
162
+ if (i !== void 0) {
163
+ var a = i.call(t, e);
164
+ if (typeof a != "object") return a;
165
+ throw new TypeError("@@toPrimitive must return a primitive value.");
166
+ }
167
+ return String(t);
168
+ }
169
+ function tt(t) {
170
+ var e = Dt(t, "string");
171
+ return typeof e == "symbol" ? e : String(e);
172
+ }
173
+ var at = { exports: {} };
174
+ (function(t) {
175
+ typeof window > "u" || function(e) {
176
+ var i = e.HTMLCanvasElement && e.HTMLCanvasElement.prototype, a = e.Blob && function() {
177
+ try {
178
+ return !!new Blob();
179
+ } catch {
180
+ return !1;
181
+ }
182
+ }(), r = a && e.Uint8Array && function() {
183
+ try {
184
+ return new Blob([new Uint8Array(100)]).size === 100;
185
+ } catch {
186
+ return !1;
187
+ }
188
+ }(), o = e.BlobBuilder || e.WebKitBlobBuilder || e.MozBlobBuilder || e.MSBlobBuilder, g = /^data:((.*?)(;charset=.*?)?)(;base64)?,/, s = (a || o) && e.atob && e.ArrayBuffer && e.Uint8Array && function(f) {
189
+ var c, v, d, C, h, m, E, k, S;
190
+ if (c = f.match(g), !c)
191
+ throw new Error("invalid data URI");
192
+ for (v = c[2] ? c[1] : "text/plain" + (c[3] || ";charset=US-ASCII"), d = !!c[4], C = f.slice(c[0].length), d ? h = atob(C) : h = decodeURIComponent(C), m = new ArrayBuffer(h.length), E = new Uint8Array(m), k = 0; k < h.length; k += 1)
193
+ E[k] = h.charCodeAt(k);
194
+ return a ? new Blob([r ? E : m], {
195
+ type: v
196
+ }) : (S = new o(), S.append(m), S.getBlob(v));
197
+ };
198
+ e.HTMLCanvasElement && !i.toBlob && (i.mozGetAsFile ? i.toBlob = function(f, c, v) {
199
+ var d = this;
200
+ setTimeout(function() {
201
+ v && i.toDataURL && s ? f(s(d.toDataURL(c, v))) : f(d.mozGetAsFile("blob", c));
202
+ });
203
+ } : i.toDataURL && s && (i.msToBlob ? i.toBlob = function(f, c, v) {
204
+ var d = this;
205
+ setTimeout(function() {
206
+ (c && c !== "image/png" || v) && i.toDataURL && s ? f(s(d.toDataURL(c, v))) : f(d.msToBlob(c));
207
+ });
208
+ } : i.toBlob = function(f, c, v) {
209
+ var d = this;
210
+ setTimeout(function() {
211
+ f(s(d.toDataURL(c, v)));
212
+ });
213
+ })), t.exports ? t.exports = s : e.dataURLtoBlob = s;
214
+ }(window);
215
+ })(at);
216
+ var Ge = at.exports, Rt = function(e) {
217
+ return typeof Blob > "u" ? !1 : e instanceof Blob || Object.prototype.toString.call(e) === "[object Blob]";
218
+ }, Xe = {
219
+ /**
220
+ * Indicates if output the original image instead of the compressed one
221
+ * when the size of the compressed image is greater than the original one's
222
+ * @type {boolean}
223
+ */
224
+ strict: !0,
225
+ /**
226
+ * Indicates if read the image's Exif Orientation information,
227
+ * and then rotate or flip the image automatically.
228
+ * @type {boolean}
229
+ */
230
+ checkOrientation: !0,
231
+ /**
232
+ * Indicates if retain the image's Exif information after compressed.
233
+ * @type {boolean}
234
+ */
235
+ retainExif: !1,
236
+ /**
237
+ * The max width of the output image.
238
+ * @type {number}
239
+ */
240
+ maxWidth: 1 / 0,
241
+ /**
242
+ * The max height of the output image.
243
+ * @type {number}
244
+ */
245
+ maxHeight: 1 / 0,
246
+ /**
247
+ * The min width of the output image.
248
+ * @type {number}
249
+ */
250
+ minWidth: 0,
251
+ /**
252
+ * The min height of the output image.
253
+ * @type {number}
254
+ */
255
+ minHeight: 0,
256
+ /**
257
+ * The width of the output image.
258
+ * If not specified, the natural width of the source image will be used.
259
+ * @type {number}
260
+ */
261
+ width: void 0,
262
+ /**
263
+ * The height of the output image.
264
+ * If not specified, the natural height of the source image will be used.
265
+ * @type {number}
266
+ */
267
+ height: void 0,
268
+ /**
269
+ * Sets how the size of the image should be resized to the container
270
+ * specified by the `width` and `height` options.
271
+ * @type {string}
272
+ */
273
+ resize: "none",
274
+ /**
275
+ * The quality of the output image.
276
+ * It must be a number between `0` and `1`,
277
+ * and only available for `image/jpeg` and `image/webp` images.
278
+ * Check out {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob canvas.toBlob}.
279
+ * @type {number}
280
+ */
281
+ quality: 0.8,
282
+ /**
283
+ * The mime type of the output image.
284
+ * By default, the original mime type of the source image file will be used.
285
+ * @type {string}
286
+ */
287
+ mimeType: "auto",
288
+ /**
289
+ * Files whose file type is included in this list,
290
+ * and whose file size exceeds the `convertSize` value will be converted to JPEGs.
291
+ * @type {string|Array}
292
+ */
293
+ convertTypes: ["image/png"],
294
+ /**
295
+ * PNG files over this size (5 MB by default) will be converted to JPEGs.
296
+ * To disable this, just set the value to `Infinity`.
297
+ * @type {number}
298
+ */
299
+ convertSize: 5e6,
300
+ /**
301
+ * The hook function to execute before draw the image into the canvas for compression.
302
+ * @type {Function}
303
+ * @param {CanvasRenderingContext2D} context - The 2d rendering context of the canvas.
304
+ * @param {HTMLCanvasElement} canvas - The canvas for compression.
305
+ * @example
306
+ * function (context, canvas) {
307
+ * context.fillStyle = '#fff';
308
+ * }
309
+ */
310
+ beforeDraw: null,
311
+ /**
312
+ * The hook function to execute after drew the image into the canvas for compression.
313
+ * @type {Function}
314
+ * @param {CanvasRenderingContext2D} context - The 2d rendering context of the canvas.
315
+ * @param {HTMLCanvasElement} canvas - The canvas for compression.
316
+ * @example
317
+ * function (context, canvas) {
318
+ * context.filter = 'grayscale(100%)';
319
+ * }
320
+ */
321
+ drew: null,
322
+ /**
323
+ * The hook function to execute when success to compress the image.
324
+ * @type {Function}
325
+ * @param {File} file - The compressed image File object.
326
+ * @example
327
+ * function (file) {
328
+ * console.log(file);
329
+ * }
330
+ */
331
+ success: null,
332
+ /**
333
+ * The hook function to execute when fail to compress the image.
334
+ * @type {Function}
335
+ * @param {Error} err - An Error object.
336
+ * @example
337
+ * function (err) {
338
+ * console.log(err.message);
339
+ * }
340
+ */
341
+ error: null
342
+ }, St = typeof window < "u" && typeof window.document < "u", q = St ? window : {}, ye = function(e) {
343
+ return e > 0 && e < 1 / 0;
344
+ }, Ut = Array.prototype.slice;
345
+ function Se(t) {
346
+ return Array.from ? Array.from(t) : Ut.call(t);
347
+ }
348
+ var Ot = /^image\/.+$/;
349
+ function ke(t) {
350
+ return Ot.test(t);
351
+ }
352
+ function Qt(t) {
353
+ var e = ke(t) ? t.substr(6) : "";
354
+ return e === "jpeg" && (e = "jpg"), ".".concat(e);
355
+ }
356
+ var it = String.fromCharCode;
357
+ function Pt(t, e, i) {
358
+ var a = "", r;
359
+ for (i += e, r = e; r < i; r += 1)
360
+ a += it(t.getUint8(r));
361
+ return a;
362
+ }
363
+ var Tt = q.btoa;
364
+ function qe(t, e) {
365
+ for (var i = [], a = 8192, r = new Uint8Array(t); r.length > 0; )
366
+ i.push(it.apply(null, Se(r.subarray(0, a)))), r = r.subarray(a);
367
+ return "data:".concat(e, ";base64,").concat(Tt(i.join("")));
368
+ }
369
+ function Mt(t) {
370
+ var e = new DataView(t), i;
371
+ try {
372
+ var a, r, o;
373
+ if (e.getUint8(0) === 255 && e.getUint8(1) === 216)
374
+ for (var g = e.byteLength, s = 2; s + 1 < g; ) {
375
+ if (e.getUint8(s) === 255 && e.getUint8(s + 1) === 225) {
376
+ r = s;
377
+ break;
378
+ }
379
+ s += 1;
380
+ }
381
+ if (r) {
382
+ var f = r + 4, c = r + 10;
383
+ if (Pt(e, f, 4) === "Exif") {
384
+ var v = e.getUint16(c);
385
+ if (a = v === 18761, (a || v === 19789) && e.getUint16(c + 2, a) === 42) {
386
+ var d = e.getUint32(c + 4, a);
387
+ d >= 8 && (o = c + d);
388
+ }
389
+ }
390
+ }
391
+ if (o) {
392
+ var C = e.getUint16(o, a), h, m;
393
+ for (m = 0; m < C; m += 1)
394
+ if (h = o + m * 12 + 2, e.getUint16(h, a) === 274) {
395
+ h += 8, i = e.getUint16(h, a), e.setUint16(h, 1, a);
396
+ break;
397
+ }
398
+ }
399
+ } catch {
400
+ i = 1;
401
+ }
402
+ return i;
403
+ }
404
+ function Lt(t) {
405
+ var e = 0, i = 1, a = 1;
406
+ switch (t) {
407
+ case 2:
408
+ i = -1;
409
+ break;
410
+ case 3:
411
+ e = -180;
412
+ break;
413
+ case 4:
414
+ a = -1;
415
+ break;
416
+ case 5:
417
+ e = 90, a = -1;
418
+ break;
419
+ case 6:
420
+ e = 90;
421
+ break;
422
+ case 7:
423
+ e = 90, i = -1;
424
+ break;
425
+ case 8:
426
+ e = -90;
427
+ break;
428
+ }
429
+ return {
430
+ rotate: e,
431
+ scaleX: i,
432
+ scaleY: a
433
+ };
434
+ }
435
+ var Ft = /\.\d*(?:0|9){12}\d*$/;
436
+ function Ze(t) {
437
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1e11;
438
+ return Ft.test(t) ? Math.round(t * e) / e : t;
439
+ }
440
+ function se(t) {
441
+ var e = t.aspectRatio, i = t.height, a = t.width, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none", o = ye(a), g = ye(i);
442
+ if (o && g) {
443
+ var s = i * e;
444
+ (r === "contain" || r === "none") && s > a || r === "cover" && s < a ? i = a / e : a = i * e;
445
+ } else o ? i = a / e : g && (a = i * e);
446
+ return {
447
+ width: a,
448
+ height: i
449
+ };
450
+ }
451
+ function Nt(t) {
452
+ for (var e = Se(new Uint8Array(t)), i = e.length, a = [], r = 0; r + 3 < i; ) {
453
+ var o = e[r], g = e[r + 1];
454
+ if (o === 255 && g === 218)
455
+ break;
456
+ if (o === 255 && g === 216)
457
+ r += 2;
458
+ else {
459
+ var s = e[r + 2] * 256 + e[r + 3], f = r + s + 2, c = e.slice(r, f);
460
+ a.push(c), r = f;
461
+ }
462
+ }
463
+ return a.reduce(function(v, d) {
464
+ return d[0] === 255 && d[1] === 225 ? v.concat(d) : v;
465
+ }, []);
466
+ }
467
+ function Vt(t, e) {
468
+ var i = Se(new Uint8Array(t));
469
+ if (i[2] !== 255 || i[3] !== 224)
470
+ return t;
471
+ var a = i[4] * 256 + i[5], r = [255, 216].concat(e, i.slice(4 + a));
472
+ return new Uint8Array(r);
473
+ }
474
+ var Jt = q.ArrayBuffer, Be = q.FileReader, te = q.URL || q.webkitURL, jt = /\.\w+$/, zt = q.Compressor, xt = /* @__PURE__ */ function() {
475
+ function t(e, i) {
476
+ Bt(this, t), this.file = e, this.exif = [], this.image = new Image(), this.options = he(he({}, Xe), i), this.aborted = !1, this.result = null, this.init();
477
+ }
478
+ return It(t, [{
479
+ key: "init",
480
+ value: function() {
481
+ var i = this, a = this.file, r = this.options;
482
+ if (!Rt(a)) {
483
+ this.fail(new Error("The first argument must be a File or Blob object."));
484
+ return;
485
+ }
486
+ var o = a.type;
487
+ if (!ke(o)) {
488
+ this.fail(new Error("The first argument must be an image File or Blob object."));
489
+ return;
490
+ }
491
+ if (!te || !Be) {
492
+ this.fail(new Error("The current browser does not support image compression."));
493
+ return;
494
+ }
495
+ Jt || (r.checkOrientation = !1, r.retainExif = !1);
496
+ var g = o === "image/jpeg", s = g && r.checkOrientation, f = g && r.retainExif;
497
+ if (te && !s && !f)
498
+ this.load({
499
+ url: te.createObjectURL(a)
500
+ });
501
+ else {
502
+ var c = new Be();
503
+ this.reader = c, c.onload = function(v) {
504
+ var d = v.target, C = d.result, h = {}, m = 1;
505
+ s && (m = Mt(C), m > 1 && Ae(h, Lt(m))), f && (i.exif = Nt(C)), s || f ? !te || m > 1 ? h.url = qe(C, o) : h.url = te.createObjectURL(a) : h.url = C, i.load(h);
506
+ }, c.onabort = function() {
507
+ i.fail(new Error("Aborted to read the image with FileReader."));
508
+ }, c.onerror = function() {
509
+ i.fail(new Error("Failed to read the image with FileReader."));
510
+ }, c.onloadend = function() {
511
+ i.reader = null;
512
+ }, s || f ? c.readAsArrayBuffer(a) : c.readAsDataURL(a);
513
+ }
514
+ }
515
+ }, {
516
+ key: "load",
517
+ value: function(i) {
518
+ var a = this, r = this.file, o = this.image;
519
+ o.onload = function() {
520
+ a.draw(he(he({}, i), {}, {
521
+ naturalWidth: o.naturalWidth,
522
+ naturalHeight: o.naturalHeight
523
+ }));
524
+ }, o.onabort = function() {
525
+ a.fail(new Error("Aborted to load the image."));
526
+ }, o.onerror = function() {
527
+ a.fail(new Error("Failed to load the image."));
528
+ }, q.navigator && /(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(q.navigator.userAgent) && (o.crossOrigin = "anonymous"), o.alt = r.name, o.src = i.url;
529
+ }
530
+ }, {
531
+ key: "draw",
532
+ value: function(i) {
533
+ var a = this, r = i.naturalWidth, o = i.naturalHeight, g = i.rotate, s = g === void 0 ? 0 : g, f = i.scaleX, c = f === void 0 ? 1 : f, v = i.scaleY, d = v === void 0 ? 1 : v, C = this.file, h = this.image, m = this.options, E = document.createElement("canvas"), k = E.getContext("2d"), S = Math.abs(s) % 180 === 90, K = (m.resize === "contain" || m.resize === "cover") && ye(m.width) && ye(m.height), T = Math.max(m.maxWidth, 0) || 1 / 0, M = Math.max(m.maxHeight, 0) || 1 / 0, L = Math.max(m.minWidth, 0) || 0, H = Math.max(m.minHeight, 0) || 0, z = r / o, b = m.width, B = m.height;
534
+ if (S) {
535
+ var Z = [M, T];
536
+ T = Z[0], M = Z[1];
537
+ var $ = [H, L];
538
+ L = $[0], H = $[1];
539
+ var u = [B, b];
540
+ b = u[0], B = u[1];
541
+ }
542
+ K && (z = b / B);
543
+ var w = se({
544
+ aspectRatio: z,
545
+ width: T,
546
+ height: M
547
+ }, "contain");
548
+ T = w.width, M = w.height;
549
+ var I = se({
550
+ aspectRatio: z,
551
+ width: L,
552
+ height: H
553
+ }, "cover");
554
+ if (L = I.width, H = I.height, K) {
555
+ var A = se({
556
+ aspectRatio: z,
557
+ width: b,
558
+ height: B
559
+ }, m.resize);
560
+ b = A.width, B = A.height;
561
+ } else {
562
+ var _ = se({
563
+ aspectRatio: z,
564
+ width: b,
565
+ height: B
566
+ }), W = _.width;
567
+ b = W === void 0 ? r : W;
568
+ var l = _.height;
569
+ B = l === void 0 ? o : l;
570
+ }
571
+ b = Math.floor(Ze(Math.min(Math.max(b, L), T))), B = Math.floor(Ze(Math.min(Math.max(B, H), M)));
572
+ var D = -b / 2, F = -B / 2, ee = b, N = B, R = [];
573
+ if (K) {
574
+ var Q = 0, P = 0, G = r, Y = o, le = se({
575
+ aspectRatio: z,
576
+ width: r,
577
+ height: o
578
+ }, {
579
+ contain: "cover",
580
+ cover: "contain"
581
+ }[m.resize]);
582
+ G = le.width, Y = le.height, Q = (r - G) / 2, P = (o - Y) / 2, R.push(Q, P, G, Y);
583
+ }
584
+ if (R.push(D, F, ee, N), S) {
585
+ var ue = [B, b];
586
+ b = ue[0], B = ue[1];
587
+ }
588
+ E.width = b, E.height = B, ke(m.mimeType) || (m.mimeType = C.type);
589
+ var V = "transparent";
590
+ C.size > m.convertSize && m.convertTypes.indexOf(m.mimeType) >= 0 && (m.mimeType = "image/jpeg");
591
+ var ce = m.mimeType === "image/jpeg";
592
+ if (ce && (V = "#fff"), k.fillStyle = V, k.fillRect(0, 0, b, B), m.beforeDraw && m.beforeDraw.call(this, k, E), !this.aborted && (k.save(), k.translate(b / 2, B / 2), k.rotate(s * Math.PI / 180), k.scale(c, d), k.drawImage.apply(k, [h].concat(R)), k.restore(), m.drew && m.drew.call(this, k, E), !this.aborted)) {
593
+ var me = function(re) {
594
+ if (!a.aborted) {
595
+ var Ue = function(oe) {
596
+ return a.done({
597
+ naturalWidth: r,
598
+ naturalHeight: o,
599
+ result: oe
600
+ });
601
+ };
602
+ if (re && ce && m.retainExif && a.exif && a.exif.length > 0) {
603
+ var Oe = function(oe) {
604
+ return Ue(Ge(qe(Vt(oe, a.exif), m.mimeType)));
605
+ };
606
+ if (re.arrayBuffer)
607
+ re.arrayBuffer().then(Oe).catch(function() {
608
+ a.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."));
609
+ });
610
+ else {
611
+ var ae = new Be();
612
+ a.reader = ae, ae.onload = function(Ce) {
613
+ var oe = Ce.target;
614
+ Oe(oe.result);
615
+ }, ae.onabort = function() {
616
+ a.fail(new Error("Aborted to read the compressed image with FileReader."));
617
+ }, ae.onerror = function() {
618
+ a.fail(new Error("Failed to read the compressed image with FileReader."));
619
+ }, ae.onloadend = function() {
620
+ a.reader = null;
621
+ }, ae.readAsArrayBuffer(re);
622
+ }
623
+ } else
624
+ Ue(re);
625
+ }
626
+ };
627
+ E.toBlob ? E.toBlob(me, m.mimeType, m.quality) : me(Ge(E.toDataURL(m.mimeType, m.quality)));
628
+ }
629
+ }
630
+ }, {
631
+ key: "done",
632
+ value: function(i) {
633
+ var a = i.naturalWidth, r = i.naturalHeight, o = i.result, g = this.file, s = this.image, f = this.options;
634
+ if (te && s.src.indexOf("blob:") === 0 && te.revokeObjectURL(s.src), o)
635
+ if (f.strict && !f.retainExif && o.size > g.size && f.mimeType === g.type && !(f.width > a || f.height > r || f.minWidth > a || f.minHeight > r || f.maxWidth < a || f.maxHeight < r))
636
+ o = g;
637
+ else {
638
+ var c = /* @__PURE__ */ new Date();
639
+ o.lastModified = c.getTime(), o.lastModifiedDate = c, o.name = g.name, o.name && o.type !== g.type && (o.name = o.name.replace(jt, Qt(o.type)));
640
+ }
641
+ else
642
+ o = g;
643
+ this.result = o, f.success && f.success.call(this, o);
644
+ }
645
+ }, {
646
+ key: "fail",
647
+ value: function(i) {
648
+ var a = this.options;
649
+ if (a.error)
650
+ a.error.call(this, i);
651
+ else
652
+ throw i;
653
+ }
654
+ }, {
655
+ key: "abort",
656
+ value: function() {
657
+ this.aborted || (this.aborted = !0, this.reader ? this.reader.abort() : this.image.complete ? this.fail(new Error("The compression process has been aborted.")) : (this.image.onload = null, this.image.onabort()));
658
+ }
659
+ /**
660
+ * Get the no conflict compressor class.
661
+ * @returns {Compressor} The compressor class.
662
+ */
663
+ }], [{
664
+ key: "noConflict",
665
+ value: function() {
666
+ return window.Compressor = zt, t;
667
+ }
668
+ /**
669
+ * Change the default options.
670
+ * @param {Object} options - The new default options.
671
+ */
672
+ }, {
673
+ key: "setDefaults",
674
+ value: function(i) {
675
+ Ae(Xe, i);
676
+ }
677
+ }]), t;
678
+ }();
679
+ const Kt = (t, e) => new Promise((i, a) => {
680
+ if (t.size <= e)
681
+ return t;
682
+ const r = e / t.size, o = Math.max(0.5, Math.min(0.9, 0.8 * r)), g = Math.max(800, Math.min(1920, 1920 * Math.sqrt(r)));
683
+ $e(t, o, g, g, (s) => {
684
+ s.size <= e ? i(s) : $e(
685
+ s,
686
+ Math.max(0.4, o - 0.2),
687
+ // 降低质量
688
+ Math.max(640, g * 0.8),
689
+ // 缩小尺寸
690
+ Math.max(640, g * 0.8),
691
+ i,
692
+ a,
693
+ t
694
+ // 传递原始文件用于错误处理
695
+ );
696
+ }, a, t);
697
+ }), $e = (t, e, i, a, r, o, g) => {
698
+ new xt(t, {
699
+ quality: e,
700
+ maxWidth: i,
701
+ maxHeight: a,
702
+ convertSize: 1 / 0,
703
+ success(s) {
704
+ try {
705
+ const f = new File([s], t.name, {
706
+ type: s.type || t.type,
707
+ lastModified: Date.now()
708
+ });
709
+ r(f);
710
+ } catch (f) {
711
+ o({
712
+ message: "文件转换失败",
713
+ error: f,
714
+ original: g || t
715
+ });
716
+ }
717
+ },
718
+ error(s) {
719
+ o({
720
+ message: "图片压缩失败",
721
+ error: s,
722
+ original: g || t
723
+ });
724
+ }
725
+ });
726
+ }, Ht = (t, e) => {
727
+ const i = De(), a = be(t, "modelValue"), r = be(t, "status"), { upload: o } = At(t), { size2B: g } = yt(), { handlerImageSrc: s } = Ct(t), f = be(t, "isOverMaxLimitCompressImg"), c = Ee(""), v = Ee([]), d = [".mp4", ".avi", ".mkv", ".mov", ".wmv", ".flv", ".mpeg", ".webm"], C = [".mp3", ".wav", ".aac", ".flac", ".ogg", ".alff", ".wma", ".m4a"], h = x(() => t.baseUrl ? t.baseUrl : process.env.NODE_ENV === "production" ? "" : i.baseURL || ""), m = (l) => {
728
+ if (l) {
729
+ const D = l.substring(l.lastIndexOf(".")).toLowerCase();
730
+ if (d.includes(D)) return "isVideo";
731
+ if (C.includes(D)) return "isAudio";
101
732
  }
102
733
  return "isImg";
103
- }, k = D(() => {
104
- var c;
105
- let i = t.accept ? (c = t.accept) == null ? void 0 : c.split(",") : [];
106
- return i.includes("image/jpg") && !i.includes("image/jpeg") && i.push("image/jpeg"), i.includes(".jpg") && !i.includes(".jpeg") && i.push(".jpeg"), t.acceptVideo && (i = [...i, ...w]), t.acceptAudio && (i = [...i, ...u]), i.join(",");
107
- }), F = D(() => m.value === "uploading"), V = ne(0), L = (i) => F.value ? V.value === i : !1, M = D(() => o.value ? [l(E.value, o.value)] : []), K = D(() => o.value ? o.value.map((i) => [l(E.value, i)]) : []), j = D(() => t.status !== "info" && (t.needDeleteBtn || t.needChangeBtn) || t.needDownloadBtn), z = D(() => t.status !== "info" && t.needDeleteBtn || t.needDownloadBtn), Y = D(() => {
108
- const i = [], c = t.previewBtnConfig;
109
- if (typeof c == "boolean")
110
- return c ? ["zoom_in", "zoom_out", "turn_left", "turn_right", "full_screen"] : [];
111
- for (const S in c)
112
- c[S] && i.push(S);
113
- return i;
114
- }), ae = () => {
734
+ }, E = x(() => {
735
+ var D;
736
+ let l = t.accept ? (D = t.accept) == null ? void 0 : D.split(",") : [];
737
+ return l.includes("image/jpg") && !l.includes("image/jpeg") && l.push("image/jpeg"), l.includes(".jpg") && !l.includes(".jpeg") && l.push(".jpeg"), t.acceptVideo && (l = [...l, ...d]), t.acceptAudio && (l = [...l, ...C]), l.join(",");
738
+ }), k = x(() => r.value === "uploading"), S = Ee(0), K = (l) => k.value ? S.value === l : !1, T = x(() => a.value ? [s(h.value, a.value)] : []), M = x(() => a.value ? a.value.map((l) => [s(h.value, l)]) : []), L = x(() => t.status !== "info" && (t.needDeleteBtn || t.needChangeBtn) || t.needDownloadBtn), H = x(() => t.status !== "info" && t.needDeleteBtn || t.needDownloadBtn), z = x(() => {
739
+ const l = [], D = t.previewBtnConfig;
740
+ if (typeof D == "boolean")
741
+ return D ? ["zoom_in", "zoom_out", "turn_left", "turn_right", "full_screen"] : [];
742
+ for (const F in D)
743
+ D[F] && l.push(F);
744
+ return l;
745
+ }), b = () => {
115
746
  setTimeout(() => {
116
- const i = document.querySelector(".el-image-viewer__wrapper");
117
- i == null || i.classList.add("das-image-viewer-preview-btn-groups"), i == null || i.classList.add(...Y.value);
747
+ const l = document.querySelector(".el-image-viewer__wrapper");
748
+ l == null || l.classList.add("das-image-viewer-preview-btn-groups"), l == null || l.classList.add(...z.value);
118
749
  }, 0);
119
- }, O = (i) => {
120
- a("clickChangeIcon", i);
121
- }, J = (i, c) => {
122
- t.limitNum === 1 ? (o.value = "", a("update:modelValue", ""), a("deleteImage", i)) : (o.value.splice(c, 1), a("update:modelValue", o.value), a("deleteImage", i));
123
- }, X = (i, c = 0) => {
124
- var Z;
125
- a("downloadImage", i);
126
- let S = "";
127
- t.limitNum === 1 ? S = t.imageName || R.value : S = ((Z = t.imageName) == null ? void 0 : Z[c]) || C.value[c], U(i) === "isImg" ? Ke(l(E.value, i), S) : je(l(E.value, i), S);
128
- }, W = async (i, c) => {
129
- var Z;
750
+ }, B = (l) => {
751
+ e("clickChangeIcon", l);
752
+ }, Z = (l, D) => {
753
+ t.limitNum === 1 ? (a.value = "", e("update:modelValue", ""), e("deleteImage", l)) : (a.value.splice(D, 1), e("update:modelValue", a.value), e("deleteImage", l));
754
+ }, $ = (l, D = 0) => {
755
+ var ee;
756
+ e("downloadImage", l);
757
+ let F = "";
758
+ t.limitNum === 1 ? F = t.imageName || c.value : F = ((ee = t.imageName) == null ? void 0 : ee[D]) || v.value[D], m(l) === "isImg" ? gt(s(h.value, l), F) : vt(s(h.value, l), F);
759
+ }, u = [
760
+ "image/jpeg",
761
+ "image/png",
762
+ "image/webp",
763
+ "image/gif",
764
+ "image/bmp",
765
+ "image/tiff",
766
+ "image/svg+xml"
767
+ ], w = async (l, D) => {
768
+ var ee;
130
769
  if (t.maxSize) {
131
- const { finalSize: b, sizeText: y } = v(t.maxSize);
132
- if (i.size > b) {
133
- const G = Ie.value === "zh-CN" ? "、" : ", ", T = ke(
770
+ const { finalSize: N, sizeText: R } = g(t.maxSize);
771
+ if (l.size > N && !f.value) {
772
+ const Q = Ke.value === "zh-CN" ? "、" : ", ", P = He(
134
773
  "das-ui-import-upload-key3",
135
- y,
136
- ((Z = k.value) == null ? void 0 : Z.toUpperCase().replaceAll(".", "").replaceAll(",", G)) ?? ""
137
- ).value, oe = t.errorMessage || T;
138
- return he.warning(oe), !1;
774
+ R,
775
+ ((ee = E.value) == null ? void 0 : ee.toUpperCase().replaceAll(".", "").replaceAll(",", Q)) ?? ""
776
+ ).value, G = t.errorMessage || P;
777
+ return xe.warning(G), !1;
139
778
  }
140
779
  }
141
- const S = async (b) => {
142
- V.value = b, a("update:status", "uploading"), a("image-upload", i);
143
- const y = await f(i);
144
- return y === "error" ? (a("update:status", "error"), !1) : (a("upload-success", i, y), t.limitNum === 1 ? o.value = y : o.value[b] = y, a("update:modelValue", o.value), a("update:status", "normal"), !1);
780
+ const F = async (N) => {
781
+ let R = l;
782
+ if (t.maxSize) {
783
+ const { finalSize: P, sizeText: G } = g(t.maxSize);
784
+ if (l.size > P && f.value && u.includes(l.type))
785
+ try {
786
+ R = await Kt(l, P);
787
+ } catch (Y) {
788
+ R = (Y == null ? void 0 : Y.original) || l;
789
+ }
790
+ }
791
+ S.value = N, e("update:status", "uploading"), e("image-upload", R);
792
+ const Q = await o(R);
793
+ return Q === "error" ? (e("update:status", "error"), !1) : (e("upload-success", R, Q), t.limitNum === 1 ? a.value = Q : a.value[N] = Q, e("update:modelValue", a.value), e("update:status", "normal"), !1);
145
794
  };
146
795
  if (t.customCheck) {
147
- const b = t.customCheck(i);
148
- if (b instanceof Promise)
149
- return new Promise(async (y, G) => {
150
- let T;
796
+ const N = t.customCheck(l);
797
+ if (N instanceof Promise)
798
+ return new Promise(async (R, Q) => {
799
+ let P;
151
800
  try {
152
- T = await b.then();
801
+ P = await N.then();
153
802
  } catch {
154
- T = !1;
803
+ P = !1;
155
804
  }
156
- T ? S(c) : G(!1);
805
+ P ? F(D) : Q(!1);
157
806
  });
158
- if (!b) return !1;
159
- } else if (k.value) {
160
- const b = k.value.split(",").filter((P) => P.trim().startsWith(".")).map((P) => P.trim()), y = k.value.split(",").filter((P) => !P.trim().startsWith(".")).map((P) => P.trim()), G = Te(i.name), T = b.includes(G);
161
- let oe = y.includes("image/*") && i.type.split("/")[0].trim() === "image", Se = y.includes("video/*") && i.type.split("/")[0].trim() === "video", De = y.includes("audio/*") && i.type.split("/")[0].trim() === "audio", Re = y.includes(i.type) || oe || Se || De;
162
- if (!T && !Re) {
163
- const P = t.acceptAudio || t.acceptVideo ? "das-ui-import-upload-key2" : "das-ui-import-upload-key1", Ue = Ie.value === "zh-CN" ? "、" : ", ", be = t.errorMessage || ke(P, k.value.toUpperCase().replaceAll(".", "").replaceAll(",", Ue)).value;
164
- return he.warning(be), !1;
807
+ if (!N) return !1;
808
+ } else if (E.value) {
809
+ const N = E.value.split(",").filter((V) => V.trim().startsWith(".")).map((V) => V.trim()), R = E.value.split(",").filter((V) => !V.trim().startsWith(".")).map((V) => V.trim()), Q = mt(l.name), P = N.includes(Q);
810
+ let G = R.includes("image/*") && l.type.split("/")[0].trim() === "image", Y = R.includes("video/*") && l.type.split("/")[0].trim() === "video", le = R.includes("audio/*") && l.type.split("/")[0].trim() === "audio", ue = R.includes(l.type) || G || Y || le;
811
+ if (!P && !ue) {
812
+ const V = t.acceptAudio || t.acceptVideo ? "das-ui-import-upload-key2" : "das-ui-import-upload-key1", ce = Ke.value === "zh-CN" ? "、" : ", ", me = t.errorMessage || He(V, E.value.toUpperCase().replaceAll(".", "").replaceAll(",", ce)).value;
813
+ return xe.warning(me), !1;
165
814
  }
166
815
  }
167
- return S(c);
168
- }, n = async (i) => {
169
- t.limitNum !== 1 && (V.value = o.length), a("update:status", "uploading"), a("image-upload", i);
170
- const c = await f(i);
171
- a("upload-success", i, c), t.limitNum === 1 ? g(c) : A(c);
172
- }, g = (i) => {
173
- if (i === "error") {
174
- a("update:status", "error");
816
+ return F(D);
817
+ }, I = async (l) => {
818
+ t.limitNum !== 1 && (S.value = a.length), e("update:status", "uploading"), e("image-upload", l);
819
+ const D = await o(l);
820
+ e("upload-success", l, D), t.limitNum === 1 ? A(D) : _(D);
821
+ }, A = (l) => {
822
+ if (l === "error") {
823
+ e("update:status", "error");
175
824
  return;
176
825
  }
177
- o.value = i, a("update:modelValue", o.value), a("update:status", "normal");
178
- }, A = (i) => {
179
- if (i === "error") {
180
- a("update:status", "error");
826
+ a.value = l, e("update:modelValue", a.value), e("update:status", "normal");
827
+ }, _ = (l) => {
828
+ if (l === "error") {
829
+ e("update:status", "error");
181
830
  return;
182
831
  }
183
- o.value.push(i), a("update:modelValue", o.value), a("update:status", "normal");
832
+ a.value.push(l), e("update:modelValue", a.value), e("update:status", "normal");
184
833
  };
185
- return Je(o, async () => {
186
- const i = t.limitNum ?? 1;
187
- i === 1 && o.value ? R.value = await Xe(o.value) : i > 1 && o.value.length > 0 && (C.value = await We(o.value));
834
+ return st(a, async () => {
835
+ const l = t.limitNum ?? 1;
836
+ l === 1 && a.value ? c.value = await Et(a.value) : l > 1 && a.value.length > 0 && (v.value = await bt(a.value));
188
837
  }, {
189
838
  deep: !0,
190
839
  immediate: !0
191
840
  }), {
192
- url: o,
193
- singlePreviewList: M,
194
- multiPreviewList: K,
195
- isAccept: k,
196
- loading: F,
197
- uploadStatus: m,
198
- previewBtns: Y,
199
- operateShow: j,
200
- operateShow_Multi: z,
201
- singlePreviewName: R,
202
- multiPreviewName: C,
203
- getFileType: U,
204
- changeImg: O,
205
- delImg: J,
206
- beforeupload: W,
207
- uploadImg: n,
208
- onDownload: X,
209
- handleImageClick: ae,
210
- isLoadingMulti: L
841
+ url: a,
842
+ singlePreviewList: T,
843
+ multiPreviewList: M,
844
+ isAccept: E,
845
+ loading: k,
846
+ uploadStatus: r,
847
+ previewBtns: z,
848
+ operateShow: L,
849
+ operateShow_Multi: H,
850
+ singlePreviewName: c,
851
+ multiPreviewName: v,
852
+ getFileType: m,
853
+ changeImg: B,
854
+ delImg: Z,
855
+ beforeupload: w,
856
+ uploadImg: I,
857
+ onDownload: $,
858
+ handleImageClick: b,
859
+ isLoadingMulti: K
211
860
  };
212
- }, $e = (t, a) => {
213
- var f;
214
- const { __IN_DAS_MICRO_APP: s, __DAS_MAIN_APP_HREF: o } = window;
215
- if (!s || !o) return;
216
- const { origin: m } = new URL(o);
217
- (f = window.top) == null || f.postMessage({ type: t, data: a }, m);
218
- }, Qe = "proxy-image-viewer", ie = {
219
- sendMessageToMainApp: $e,
861
+ }, Wt = (t, e) => {
862
+ var o;
863
+ const { __IN_DAS_MICRO_APP: i, __DAS_MAIN_APP_HREF: a } = window;
864
+ if (!i || !a) return;
865
+ const { origin: r } = new URL(a);
866
+ (o = window.top) == null || o.postMessage({ type: t, data: e }, r);
867
+ }, nt = "proxy-image-viewer", we = {
868
+ sendMessageToMainApp: Wt,
220
869
  // @ts-ignore
221
870
  isMicroApp: () => window.__IN_DAS_MICRO_APP && window.top !== window.self,
222
871
  addEventFromMicroApp: () => {
223
872
  window.addEventListener("message", (t) => {
224
- const { type: a, data: s } = t.data;
225
- if (a !== Qe) return;
226
- const o = document.createElement("div");
227
- o.classList.add("das-image-viewer-preview-btn-groups");
228
- const { previewList: m, previewBtns: f } = s, v = Ne(Ve, {
229
- urlList: m,
873
+ const { type: e, data: i } = t.data;
874
+ if (e !== nt) return;
875
+ const a = document.createElement("div");
876
+ a.classList.add("das-image-viewer-preview-btn-groups");
877
+ const { previewList: r, previewBtns: o } = i, g = lt(ct, {
878
+ urlList: r,
230
879
  onClose: () => {
231
- v.unmount(), document.body.removeChild(o);
880
+ g.unmount(), document.body.removeChild(a);
232
881
  }
233
882
  });
234
- document.body.appendChild(o), v.mount(o), setTimeout(() => {
235
- const l = document.querySelector(".el-image-viewer__wrapper");
236
- l == null || l.classList.add("das-image-viewer-preview-btn-groups"), l == null || l.classList.add(...f);
883
+ document.body.appendChild(a), g.mount(a), setTimeout(() => {
884
+ const s = document.querySelector(".el-image-viewer__wrapper");
885
+ s == null || s.classList.add("das-image-viewer-preview-btn-groups"), s == null || s.classList.add(...o);
237
886
  }, 0);
238
887
  });
239
888
  }
240
889
  };
241
- ie.addEventFromMicroApp();
242
- const _e = (t) => {
243
- const { handleImageClickProxy: a, previewBtns: s } = t;
244
- return { needPreviewImage: D(() => !t.needPreview || ie.isMicroApp() ? !1 : t.needPreview), handleImageClick: (f) => {
890
+ we.addEventFromMicroApp();
891
+ const Yt = (t) => {
892
+ const { handleImageClickProxy: e, previewBtns: i } = t;
893
+ return { needPreviewImage: x(() => !t.needPreview || we.isMicroApp() ? !1 : t.needPreview), handleImageClick: (o) => {
245
894
  if (!t.needPreview) return;
246
- if (!ie.isMicroApp()) {
247
- a();
895
+ if (!we.isMicroApp()) {
896
+ e();
248
897
  return;
249
898
  }
250
- let v = [];
251
- Array.isArray(f) && v.push(...f), typeof f == "string" && v.push(f), ie.sendMessageToMainApp(Qe, {
252
- previewList: v,
253
- previewBtns: s.value
899
+ let g = [];
900
+ Array.isArray(o) && g.push(...o), typeof o == "string" && g.push(o), we.sendMessageToMainApp(nt, {
901
+ previewList: g,
902
+ previewBtns: i.value
254
903
  });
255
904
  } };
256
- }, et = {
905
+ }, Gt = {
257
906
  key: 0,
258
907
  class: "das-ui-image-viewer-container"
259
- }, tt = {
908
+ }, Xt = {
260
909
  class: "no-data-img",
261
- src: se,
910
+ src: Ie,
262
911
  alt: ""
263
- }, it = { class: "image-name" }, at = { class: "das-ui-image-viewer-groups" }, ot = { class: "image-name" }, nt = { class: "das-ui-image-viewer-container" }, st = {
912
+ }, qt = { class: "image-name" }, Zt = { class: "das-ui-image-viewer-groups" }, $t = { class: "image-name" }, _t = { class: "das-ui-image-viewer-container" }, ea = {
264
913
  key: 1,
265
914
  class: "das-ui-image-viewer-container"
266
- }, rt = { class: "das-ui-image-viewer" }, lt = {
915
+ }, ta = { class: "das-ui-image-viewer" }, aa = {
267
916
  key: 2,
268
917
  class: "das-ui-image-viewer"
269
- }, ut = /* @__PURE__ */ Fe({
918
+ }, ia = /* @__PURE__ */ ut({
270
919
  __name: "Index",
271
920
  props: {
272
921
  style: { default: "" },
@@ -299,136 +948,137 @@ const _e = (t) => {
299
948
  videoHeight: {},
300
949
  randomName: { type: Boolean, default: !1 },
301
950
  useOriginUrl: { type: Boolean, default: !1 },
302
- openFileDialogOnClick: { type: Boolean, default: !0 }
951
+ openFileDialogOnClick: { type: Boolean, default: !0 },
952
+ isOverMaxLimitCompressImg: { type: Boolean, default: !1 }
303
953
  },
304
954
  emits: ["update:modelValue", "update:status", "downloadImage", "image-upload", "upload-success", "clickChangeIcon", "deleteImage"],
305
- setup(t, { emit: a }) {
306
- const s = t, o = a, m = D(() => {
307
- const g = [
308
- s.needDownloadBtn,
309
- s.limitNum === 1 && u.value !== "info" && s.needChangeBtn,
310
- u.value !== "info" && s.needDeleteBtn
311
- ].filter((p) => p).length;
312
- let A = "center";
313
- return g === 2 && (A = "space-around"), g === 3 && (A = "space-between"), {
314
- "justify-content": A
955
+ setup(t, { emit: e }) {
956
+ const i = t, a = e, r = x(() => {
957
+ const w = [
958
+ i.needDownloadBtn,
959
+ i.limitNum === 1 && d.value !== "info" && i.needChangeBtn,
960
+ d.value !== "info" && i.needDeleteBtn
961
+ ].filter((A) => A).length;
962
+ let I = "center";
963
+ return w === 2 && (I = "space-around"), w === 3 && (I = "space-between"), {
964
+ "justify-content": I
315
965
  };
316
- }), f = D(() => s.mode === "view" ? !1 : l.value ? u.value === "error" : u.value !== "info"), v = (n) => {
317
- n.stopPropagation();
966
+ }), o = x(() => i.mode === "view" ? !1 : s.value ? d.value === "error" : d.value !== "info"), g = (u) => {
967
+ u.stopPropagation();
318
968
  }, {
319
- url: l,
320
- isAccept: R,
321
- singlePreviewList: C,
322
- multiPreviewList: w,
323
- uploadStatus: u,
324
- loading: E,
325
- previewBtns: U,
326
- operateShow: k,
327
- operateShow_Multi: F,
328
- singlePreviewName: V,
329
- multiPreviewName: L,
330
- changeImg: M,
331
- delImg: K,
332
- beforeupload: j,
333
- uploadImg: z,
334
- onDownload: Y,
335
- handleImageClick: ae,
336
- getFileType: O,
337
- isLoadingMulti: J
338
- } = xe(s, o), { needPreviewImage: X, handleImageClick: W } = _e({
339
- needPreview: s.needPreview,
340
- handleImageClickProxy: ae,
341
- previewBtns: U
969
+ url: s,
970
+ isAccept: f,
971
+ singlePreviewList: c,
972
+ multiPreviewList: v,
973
+ uploadStatus: d,
974
+ loading: C,
975
+ previewBtns: h,
976
+ operateShow: m,
977
+ operateShow_Multi: E,
978
+ singlePreviewName: k,
979
+ multiPreviewName: S,
980
+ changeImg: K,
981
+ delImg: T,
982
+ beforeupload: M,
983
+ uploadImg: L,
984
+ onDownload: H,
985
+ handleImageClick: z,
986
+ getFileType: b,
987
+ isLoadingMulti: B
988
+ } = Ht(i, a), { needPreviewImage: Z, handleImageClick: $ } = Yt({
989
+ needPreview: i.needPreview,
990
+ handleImageClickProxy: z,
991
+ previewBtns: h
342
992
  });
343
- return (n, g) => (d(), h(
344
- x,
993
+ return (u, w) => (y(), U(
994
+ de,
345
995
  null,
346
996
  [
347
- r(" 单文件 "),
348
- n.limitNum === 1 ? (d(), h("div", et, [
349
- N(
997
+ p(" 单文件 "),
998
+ u.limitNum === 1 ? (y(), U("div", Gt, [
999
+ X(
350
1000
  "div",
351
1001
  {
352
1002
  class: "das-ui-image-viewer",
353
- style: $(n.style)
1003
+ style: fe(u.style)
354
1004
  },
355
1005
  [
356
- r(" 状态不为 error 时显示 "),
357
- B(H(e(ve), {
358
- class: _([{ "loading-border": e(E) }]),
1006
+ p(" 状态不为 error 时显示 "),
1007
+ J(ie(n(Je), {
1008
+ class: ge([{ "loading-border": n(C) }]),
359
1009
  type: "component",
360
- spinning: e(E)
1010
+ spinning: n(C)
361
1011
  }, {
362
- default: q(() => [
363
- r(" 图片 "),
364
- e(O)(e(C)[0]) === "isImg" ? B((d(), I(e(ge), {
1012
+ default: ne(() => [
1013
+ p(" 图片 "),
1014
+ n(b)(n(c)[0]) === "isImg" ? J((y(), O(n(Le), {
365
1015
  key: 0,
366
- class: _(["image-context", [e(U)]]),
1016
+ class: ge(["image-context", [n(h)]]),
367
1017
  "preview-teleported": !0,
368
- src: e(C)[0],
369
- "preview-src-list": e(X) ? e(C) : void 0,
1018
+ src: n(c)[0],
1019
+ "preview-src-list": n(Z) ? n(c) : void 0,
370
1020
  "initial-index": 0,
371
- fit: n.imageFit,
372
- onClick: g[0] || (g[0] = (A) => e(W)(e(C)))
1021
+ fit: u.imageFit,
1022
+ onClick: w[0] || (w[0] = (I) => n($)(n(c)))
373
1023
  }, null, 8, ["class", "src", "preview-src-list", "fit"])), [
374
- [Q, !e(E)]
375
- ]) : r("v-if", !0),
376
- r(" 视频 "),
377
- e(O)(e(C)[0]) === "isVideo" ? B((d(), I(e(ee), {
1024
+ [j, !n(C)]
1025
+ ]) : p("v-if", !0),
1026
+ p(" 视频 "),
1027
+ n(b)(n(c)[0]) === "isVideo" ? J((y(), O(n(ve), {
378
1028
  key: 1,
379
- mode: e(u) === "info" || n.mode === "view" ? "view" : "normal",
380
- src: e(C)[0],
381
- needPreview: n.needPreview,
1029
+ mode: n(d) === "info" || u.mode === "view" ? "view" : "normal",
1030
+ src: n(c)[0],
1031
+ needPreview: u.needPreview,
382
1032
  width: "100%",
383
1033
  height: "100%",
384
- "player-props": { videoWidth: n.videoWidth, videoHeight: n.videoHeight },
1034
+ "player-props": { videoWidth: u.videoWidth, videoHeight: u.videoHeight },
385
1035
  fullPath: ""
386
1036
  }, null, 8, ["mode", "src", "needPreview", "player-props"])), [
387
- [Q, !e(E)]
388
- ]) : r("v-if", !0),
389
- r(" 音频 "),
390
- e(O)(e(C)[0]) === "isAudio" ? B((d(), I(e(ee), {
1037
+ [j, !n(C)]
1038
+ ]) : p("v-if", !0),
1039
+ p(" 音频 "),
1040
+ n(b)(n(c)[0]) === "isAudio" ? J((y(), O(n(ve), {
391
1041
  key: 2,
392
- mode: e(u) === "info" || n.mode === "view" ? "view" : "normal",
393
- src: e(C)[0],
394
- needPreview: n.needPreview,
1042
+ mode: n(d) === "info" || u.mode === "view" ? "view" : "normal",
1043
+ src: n(c)[0],
1044
+ needPreview: u.needPreview,
395
1045
  width: "100%",
396
1046
  height: "100%",
397
1047
  type: "audio",
398
1048
  fullPath: ""
399
1049
  }, null, 8, ["mode", "src", "needPreview"])), [
400
- [Q, !e(E)]
401
- ]) : r("v-if", !0),
402
- !e(E) && e(k) ? (d(), h(
1050
+ [j, !n(C)]
1051
+ ]) : p("v-if", !0),
1052
+ !n(C) && n(m) ? (y(), U(
403
1053
  "div",
404
1054
  {
405
1055
  key: 3,
406
1056
  class: "operate-container",
407
- style: $(m.value),
408
- onClick: v
1057
+ style: fe(r.value),
1058
+ onClick: g
409
1059
  },
410
1060
  [
411
- n.needDownloadBtn ? (d(), I(e(we), {
1061
+ u.needDownloadBtn ? (y(), O(n(je), {
412
1062
  key: 0,
413
1063
  class: "operate-btn",
414
1064
  size: "medium",
415
1065
  "icon-color": "#fff",
416
- onClick: g[1] || (g[1] = (A) => e(Y)(e(l)))
417
- })) : r("v-if", !0),
418
- e(u) !== "info" && n.needChangeBtn ? (d(), h("div", {
1066
+ onClick: w[1] || (w[1] = (I) => n(H)(n(s)))
1067
+ })) : p("v-if", !0),
1068
+ n(d) !== "info" && u.needChangeBtn ? (y(), U("div", {
419
1069
  key: 1,
420
1070
  class: "change-icon-box",
421
- onClick: g[2] || (g[2] = (A) => e(M)(e(l)))
1071
+ onClick: w[2] || (w[2] = (I) => n(K)(n(s)))
422
1072
  }, [
423
- n.openFileDialogOnClick ? (d(), I(e(pe), {
1073
+ u.openFileDialogOnClick ? (y(), O(n(Fe), {
424
1074
  key: 0,
425
- "before-upload": (A) => e(j)(A, 0),
426
- accept: e(R),
427
- openFileDialogOnClick: n.openFileDialogOnClick
1075
+ "before-upload": (I) => n(M)(I, 0),
1076
+ accept: n(f),
1077
+ openFileDialogOnClick: u.openFileDialogOnClick
428
1078
  }, {
429
- itemRender: q(({ file: A, actions: p }) => g[7] || (g[7] = [])),
430
- default: q(() => [
431
- H(e(te), {
1079
+ itemRender: ne(({ file: I, actions: A }) => w[7] || (w[7] = [])),
1080
+ default: ne(() => [
1081
+ ie(n(pe), {
432
1082
  class: "operate-btn m-t-6",
433
1083
  "icon-color": "#fff",
434
1084
  size: "medium"
@@ -436,168 +1086,169 @@ const _e = (t) => {
436
1086
  ]),
437
1087
  _: 1
438
1088
  /* STABLE */
439
- }, 8, ["before-upload", "accept", "openFileDialogOnClick"])) : r("v-if", !0),
440
- n.openFileDialogOnClick ? r("v-if", !0) : (d(), I(e(te), {
1089
+ }, 8, ["before-upload", "accept", "openFileDialogOnClick"])) : p("v-if", !0),
1090
+ u.openFileDialogOnClick ? p("v-if", !0) : (y(), O(n(pe), {
441
1091
  key: 1,
442
1092
  class: "operate-btn m-t-6",
443
1093
  "icon-color": "#fff",
444
1094
  size: "medium"
445
1095
  }))
446
- ])) : r("v-if", !0),
447
- e(u) !== "info" && n.needDeleteBtn ? (d(), I(e(Ce), {
1096
+ ])) : p("v-if", !0),
1097
+ n(d) !== "info" && u.needDeleteBtn ? (y(), O(n(ze), {
448
1098
  key: 2,
449
1099
  class: "operate-btn",
450
1100
  "icon-color": "#fff",
451
1101
  size: "medium",
452
- onClick: g[3] || (g[3] = (A) => e(K)(e(l)))
453
- })) : r("v-if", !0)
1102
+ onClick: w[3] || (w[3] = (I) => n(T)(n(s)))
1103
+ })) : p("v-if", !0)
454
1104
  ],
455
1105
  4
456
1106
  /* STYLE */
457
- )) : r("v-if", !0)
1107
+ )) : p("v-if", !0)
458
1108
  ]),
459
1109
  _: 1
460
1110
  /* STABLE */
461
1111
  }, 8, ["class", "spinning"]), [
462
- [Q, e(l) && n.status !== "error"]
1112
+ [j, n(s) && u.status !== "error"]
463
1113
  ]),
464
- r(" 上传模式,当 url 为空或者 uploading 和 error 时显示 "),
465
- B(H(e(Ae), {
466
- status: e(u),
467
- "onUpdate:status": g[4] || (g[4] = (A) => ue(u) ? u.value = A : null),
468
- "max-size": n.maxSize,
469
- accept: n.accept,
470
- acceptVideo: n.acceptVideo,
471
- message: n.message,
472
- acceptAudio: n.acceptAudio,
473
- autoContentType: n.autoContentType,
474
- "custom-check": n.customCheck,
475
- "error-message": n.errorMessage,
476
- openFileDialogOnClick: n.openFileDialogOnClick,
477
- onImageUpload: e(z)
478
- }, null, 8, ["status", "max-size", "accept", "acceptVideo", "message", "acceptAudio", "autoContentType", "custom-check", "error-message", "openFileDialogOnClick", "onImageUpload"]), [
479
- [Q, f.value]
1114
+ p(" 上传模式,当 url 为空或者 uploading 和 error 时显示 "),
1115
+ J(ie(n(Ve), {
1116
+ status: n(d),
1117
+ "onUpdate:status": w[4] || (w[4] = (I) => Qe(d) ? d.value = I : null),
1118
+ "max-size": u.maxSize,
1119
+ accept: u.accept,
1120
+ acceptVideo: u.acceptVideo,
1121
+ message: u.message,
1122
+ acceptAudio: u.acceptAudio,
1123
+ autoContentType: u.autoContentType,
1124
+ "custom-check": u.customCheck,
1125
+ "error-message": u.errorMessage,
1126
+ openFileDialogOnClick: u.openFileDialogOnClick,
1127
+ onImageUpload: n(L),
1128
+ isOverMaxLimitCompressImg: u.isOverMaxLimitCompressImg
1129
+ }, null, 8, ["status", "max-size", "accept", "acceptVideo", "message", "acceptAudio", "autoContentType", "custom-check", "error-message", "openFileDialogOnClick", "onImageUpload", "isOverMaxLimitCompressImg"]), [
1130
+ [j, o.value]
480
1131
  ]),
481
- r(" 查看模式 "),
482
- B(N(
1132
+ p(" 查看模式 "),
1133
+ J(X(
483
1134
  "img",
484
- tt,
1135
+ Xt,
485
1136
  null,
486
1137
  512
487
1138
  /* NEED_PATCH */
488
1139
  ), [
489
- [Q, !e(l) && (e(u) === "info" || n.mode === "view")]
1140
+ [j, !n(s) && (n(d) === "info" || u.mode === "view")]
490
1141
  ])
491
1142
  ],
492
1143
  4
493
1144
  /* STYLE */
494
1145
  ),
495
- B((d(), h("div", it, [
496
- ce(
497
- de(s.imageName || e(V)),
1146
+ J((y(), U("div", qt, [
1147
+ Pe(
1148
+ Te(i.imageName || n(k)),
498
1149
  1
499
1150
  /* TEXT */
500
1151
  )
501
1152
  ])), [
502
- [Q, e(l) && n.showImageName && (e(u) === "normal" || e(u) === "info")],
503
- [e(fe)]
1153
+ [j, n(s) && u.showImageName && (n(d) === "normal" || n(d) === "info")],
1154
+ [n(Ne)]
504
1155
  ])
505
- ])) : (d(), h(
506
- x,
1156
+ ])) : (y(), U(
1157
+ de,
507
1158
  { key: 1 },
508
1159
  [
509
- r(" 多文件 "),
510
- N("div", at, [
511
- r(" 已上传的图片集合 "),
512
- (d(!0), h(
513
- x,
1160
+ p(" 多文件 "),
1161
+ X("div", Zt, [
1162
+ p(" 已上传的图片集合 "),
1163
+ (y(!0), U(
1164
+ de,
514
1165
  null,
515
- me(e(l), (A, p) => {
516
- var i;
517
- return d(), h("div", {
518
- key: p,
1166
+ Me(n(s), (I, A) => {
1167
+ var _;
1168
+ return y(), U("div", {
1169
+ key: A,
519
1170
  class: "das-ui-image-viewer-container"
520
1171
  }, [
521
- N(
1172
+ X(
522
1173
  "div",
523
1174
  {
524
1175
  class: "das-ui-image-viewer",
525
- style: $(n.style)
1176
+ style: fe(u.style)
526
1177
  },
527
1178
  [
528
- B(H(e(ve), {
529
- class: _([{ "loading-border": e(J)(p) }]),
1179
+ J(ie(n(Je), {
1180
+ class: ge([{ "loading-border": n(B)(A) }]),
530
1181
  type: "component",
531
- spinning: e(J)(p)
1182
+ spinning: n(B)(A)
532
1183
  }, {
533
- default: q(() => [
534
- e(O)(e(w)[p][0]) === "isImg" ? B((d(), I(e(ge), {
1184
+ default: ne(() => [
1185
+ n(b)(n(v)[A][0]) === "isImg" ? J((y(), O(n(Le), {
535
1186
  key: 0,
536
- class: _(["image-context", [e(U)]]),
537
- src: e(w)[p][0],
1187
+ class: ge(["image-context", [n(h)]]),
1188
+ src: n(v)[A][0],
538
1189
  "preview-teleported": !0,
539
- "preview-src-list": e(X) ? e(w)[p] : void 0,
540
- "initial-index": p,
541
- onClick: (c) => e(W)(e(w)[p]),
1190
+ "preview-src-list": n(Z) ? n(v)[A] : void 0,
1191
+ "initial-index": A,
1192
+ onClick: (W) => n($)(n(v)[A]),
542
1193
  fit: "cover"
543
1194
  }, null, 8, ["class", "src", "preview-src-list", "initial-index", "onClick"])), [
544
- [Q, !e(J)(p)]
545
- ]) : r("v-if", !0),
546
- r(" 视频 "),
547
- e(O)(e(w)[p][0]) === "isVideo" ? B((d(), I(e(ee), {
1195
+ [j, !n(B)(A)]
1196
+ ]) : p("v-if", !0),
1197
+ p(" 视频 "),
1198
+ n(b)(n(v)[A][0]) === "isVideo" ? J((y(), O(n(ve), {
548
1199
  key: 1,
549
- mode: e(u) === "info" || n.mode === "view" ? "view" : "normal",
550
- src: e(w)[p][0],
551
- needPreview: n.needPreview,
1200
+ mode: n(d) === "info" || u.mode === "view" ? "view" : "normal",
1201
+ src: n(v)[A][0],
1202
+ needPreview: u.needPreview,
552
1203
  width: "100%",
553
1204
  height: "100%",
554
1205
  fullPath: "",
555
- "player-props": { videoWidth: n.videoWidth, videoHeight: n.videoHeight }
1206
+ "player-props": { videoWidth: u.videoWidth, videoHeight: u.videoHeight }
556
1207
  }, null, 8, ["mode", "src", "needPreview", "player-props"])), [
557
- [Q, !e(J)(p)]
558
- ]) : r("v-if", !0),
559
- r(" 音频 "),
560
- e(O)(e(w)[p][0]) === "isAudio" ? B((d(), I(e(ee), {
1208
+ [j, !n(B)(A)]
1209
+ ]) : p("v-if", !0),
1210
+ p(" 音频 "),
1211
+ n(b)(n(v)[A][0]) === "isAudio" ? J((y(), O(n(ve), {
561
1212
  key: 2,
562
- mode: e(u) === "info" || n.mode === "view" ? "view" : "normal",
563
- src: e(w)[p][0],
564
- needPreview: n.needPreview,
1213
+ mode: n(d) === "info" || u.mode === "view" ? "view" : "normal",
1214
+ src: n(v)[A][0],
1215
+ needPreview: u.needPreview,
565
1216
  width: "100%",
566
1217
  height: "100%",
567
1218
  type: "audio",
568
1219
  fullPath: ""
569
1220
  }, null, 8, ["mode", "src", "needPreview"])), [
570
- [Q, !e(J)(p)]
571
- ]) : r("v-if", !0),
572
- !e(E) && e(F) ? (d(), h(
1221
+ [j, !n(B)(A)]
1222
+ ]) : p("v-if", !0),
1223
+ !n(C) && n(E) ? (y(), U(
573
1224
  "div",
574
1225
  {
575
1226
  key: 3,
576
1227
  class: "operate-container",
577
- style: $(m.value)
1228
+ style: fe(r.value)
578
1229
  },
579
1230
  [
580
- n.needDownloadBtn ? (d(), I(e(we), {
1231
+ u.needDownloadBtn ? (y(), O(n(je), {
581
1232
  key: 0,
582
1233
  class: "operate-btn",
583
1234
  size: "medium",
584
1235
  "icon-color": "#fff",
585
- onClick: (c) => e(Y)(A, p)
586
- }, null, 8, ["onClick"])) : r("v-if", !0),
587
- e(u) !== "info" && n.needChangeBtn ? (d(), h("div", {
1236
+ onClick: (W) => n(H)(I, A)
1237
+ }, null, 8, ["onClick"])) : p("v-if", !0),
1238
+ n(d) !== "info" && u.needChangeBtn ? (y(), U("div", {
588
1239
  key: 1,
589
1240
  class: "change-icon-box",
590
- onClick: g[5] || (g[5] = (c) => e(M)(e(l)))
1241
+ onClick: w[5] || (w[5] = (W) => n(K)(n(s)))
591
1242
  }, [
592
- n.openFileDialogOnClick ? (d(), I(e(pe), {
1243
+ u.openFileDialogOnClick ? (y(), O(n(Fe), {
593
1244
  key: 0,
594
- "before-upload": (c) => e(j)(c, p),
595
- accept: e(R),
596
- openFileDialogOnClick: n.openFileDialogOnClick
1245
+ "before-upload": (W) => n(M)(W, A),
1246
+ accept: n(f),
1247
+ openFileDialogOnClick: u.openFileDialogOnClick
597
1248
  }, {
598
- itemRender: q(({ file: c, actions: S }) => g[8] || (g[8] = [])),
599
- default: q(() => [
600
- H(e(te), {
1249
+ itemRender: ne(({ file: W, actions: l }) => w[8] || (w[8] = [])),
1250
+ default: ne(() => [
1251
+ ie(n(pe), {
601
1252
  class: "operate-btn m-t-6",
602
1253
  "icon-color": "#fff",
603
1254
  size: "medium"
@@ -605,104 +1256,105 @@ const _e = (t) => {
605
1256
  ]),
606
1257
  _: 2
607
1258
  /* DYNAMIC */
608
- }, 1032, ["before-upload", "accept", "openFileDialogOnClick"])) : r("v-if", !0),
609
- n.openFileDialogOnClick ? r("v-if", !0) : (d(), I(e(te), {
1259
+ }, 1032, ["before-upload", "accept", "openFileDialogOnClick"])) : p("v-if", !0),
1260
+ u.openFileDialogOnClick ? p("v-if", !0) : (y(), O(n(pe), {
610
1261
  key: 1,
611
1262
  class: "operate-btn m-t-6",
612
1263
  "icon-color": "#fff",
613
1264
  size: "medium"
614
1265
  }))
615
- ])) : r("v-if", !0),
616
- e(u) !== "info" && n.needDeleteBtn ? (d(), I(e(Ce), {
1266
+ ])) : p("v-if", !0),
1267
+ n(d) !== "info" && u.needDeleteBtn ? (y(), O(n(ze), {
617
1268
  key: 2,
618
1269
  class: "operate-btn",
619
1270
  "icon-color": "#fff",
620
1271
  size: "medium",
621
- onClick: (c) => e(K)(A, p)
622
- }, null, 8, ["onClick"])) : r("v-if", !0)
1272
+ onClick: (W) => n(T)(I, A)
1273
+ }, null, 8, ["onClick"])) : p("v-if", !0)
623
1274
  ],
624
1275
  4
625
1276
  /* STYLE */
626
- )) : r("v-if", !0)
1277
+ )) : p("v-if", !0)
627
1278
  ]),
628
1279
  _: 2
629
1280
  /* DYNAMIC */
630
1281
  }, 1032, ["class", "spinning"]), [
631
- [Q, A]
1282
+ [j, I]
632
1283
  ])
633
1284
  ],
634
1285
  4
635
1286
  /* STYLE */
636
1287
  ),
637
- B((d(), h("div", ot, [
638
- ce(
639
- de(((i = s.imageName) == null ? void 0 : i[p]) || e(L)[p]),
1288
+ J((y(), U("div", $t, [
1289
+ Pe(
1290
+ Te(((_ = i.imageName) == null ? void 0 : _[A]) || n(S)[A]),
640
1291
  1
641
1292
  /* TEXT */
642
1293
  )
643
1294
  ])), [
644
- [Q, A && n.showImageName && !e(J)(p)],
645
- [e(fe)]
1295
+ [j, I && u.showImageName && !n(B)(A)],
1296
+ [n(Ne)]
646
1297
  ])
647
1298
  ]);
648
1299
  }),
649
1300
  128
650
1301
  /* KEYED_FRAGMENT */
651
1302
  )),
652
- r(" 查看模式下,默认占位符 "),
653
- n.mode === "view" ? (d(!0), h(
654
- x,
1303
+ p(" 查看模式下,默认占位符 "),
1304
+ u.mode === "view" ? (y(!0), U(
1305
+ de,
655
1306
  { key: 0 },
656
- me(n.limitNum - e(l).length, (A) => (d(), h("div", nt, g[9] || (g[9] = [
657
- N(
1307
+ Me(u.limitNum - n(s).length, (I) => (y(), U("div", _t, w[9] || (w[9] = [
1308
+ X(
658
1309
  "div",
659
1310
  { class: "das-ui-image-viewer" },
660
1311
  [
661
- N("img", {
1312
+ X("img", {
662
1313
  class: "no-data-img",
663
- src: se,
1314
+ src: Ie,
664
1315
  alt: ""
665
1316
  })
666
1317
  ],
667
1318
  -1
668
- /* HOISTED */
1319
+ /* CACHED */
669
1320
  )
670
1321
  ])))),
671
1322
  256
672
1323
  /* UNKEYED_FRAGMENT */
673
- )) : r("v-if", !0),
674
- r(" 图片数量未到达最大数量限制时,显示上传组件 "),
675
- n.mode === "upload" && e(u) !== "info" && e(l).length < n.limitNum ? (d(), h("div", st, [
676
- N("div", rt, [
677
- H(e(Ae), {
678
- status: e(u),
679
- "onUpdate:status": g[6] || (g[6] = (A) => ue(u) ? u.value = A : null),
680
- "max-size": n.maxSize,
681
- accept: n.accept,
682
- acceptVideo: n.acceptVideo,
683
- acceptAudio: n.acceptAudio,
684
- message: n.message,
685
- "custom-check": n.customCheck,
686
- "error-message": n.errorMessage,
687
- openFileDialogOnClick: n.openFileDialogOnClick,
688
- onImageUpload: e(z)
689
- }, null, 8, ["status", "max-size", "accept", "acceptVideo", "acceptAudio", "message", "custom-check", "error-message", "openFileDialogOnClick", "onImageUpload"])
1324
+ )) : p("v-if", !0),
1325
+ p(" 图片数量未到达最大数量限制时,显示上传组件 "),
1326
+ u.mode === "upload" && n(d) !== "info" && n(s).length < u.limitNum ? (y(), U("div", ea, [
1327
+ X("div", ta, [
1328
+ ie(n(Ve), {
1329
+ status: n(d),
1330
+ "onUpdate:status": w[6] || (w[6] = (I) => Qe(d) ? d.value = I : null),
1331
+ "max-size": u.maxSize,
1332
+ accept: u.accept,
1333
+ acceptVideo: u.acceptVideo,
1334
+ acceptAudio: u.acceptAudio,
1335
+ message: u.message,
1336
+ "custom-check": u.customCheck,
1337
+ "error-message": u.errorMessage,
1338
+ openFileDialogOnClick: u.openFileDialogOnClick,
1339
+ onImageUpload: n(L),
1340
+ isOverMaxLimitCompressImg: u.isOverMaxLimitCompressImg
1341
+ }, null, 8, ["status", "max-size", "accept", "acceptVideo", "acceptAudio", "message", "custom-check", "error-message", "openFileDialogOnClick", "onImageUpload", "isOverMaxLimitCompressImg"])
690
1342
  ])
691
- ])) : r("v-if", !0),
692
- r(" 当图片状态为查看态且无数据时,显示无数据图片 "),
693
- e(u) === "info" && e(l).length === 0 ? (d(), h("div", lt, g[10] || (g[10] = [
694
- N(
1343
+ ])) : p("v-if", !0),
1344
+ p(" 当图片状态为查看态且无数据时,显示无数据图片 "),
1345
+ n(d) === "info" && n(s).length === 0 ? (y(), U("div", aa, w[10] || (w[10] = [
1346
+ X(
695
1347
  "img",
696
1348
  {
697
1349
  class: "no-data-img",
698
- src: se,
1350
+ src: Ie,
699
1351
  alt: ""
700
1352
  },
701
1353
  null,
702
1354
  -1
703
- /* HOISTED */
1355
+ /* CACHED */
704
1356
  )
705
- ]))) : r("v-if", !0)
1357
+ ]))) : p("v-if", !0)
706
1358
  ])
707
1359
  ],
708
1360
  2112
@@ -713,20 +1365,20 @@ const _e = (t) => {
713
1365
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
714
1366
  ));
715
1367
  }
716
- }), ct = (t, a) => {
717
- const s = t.__vccOpts || t;
718
- for (const [o, m] of a)
719
- s[o] = m;
720
- return s;
721
- }, dt = /* @__PURE__ */ ct(ut, [["__scopeId", "data-v-6fd90ea2"]]), mt = {
1368
+ }), na = (t, e) => {
1369
+ const i = t.__vccOpts || t;
1370
+ for (const [a, r] of e)
1371
+ i[a] = r;
1372
+ return i;
1373
+ }, ra = /* @__PURE__ */ na(ia, [["__scopeId", "data-v-0cbe0660"]]), oa = {
722
1374
  "--das-ui-image-viewer-bg-color": { light: "rgba(0, 0, 0, 0.5)" },
723
1375
  "--das-ui-image-viewer-btn-hover": { light: "#87A9FF" },
724
1376
  "--das-ui-image-viewer-btn-active": { light: "#276FF5" }
725
- }, Tt = Pe(dt);
726
- Oe(mt);
1377
+ }, Pa = rt(ra);
1378
+ ot(oa);
727
1379
  export {
728
- Tt as DasImageViewer,
729
- Tt as default,
730
- Ye as minioUpload,
731
- Ze as useCalculateSize
1380
+ Pa as DasImageViewer,
1381
+ Pa as default,
1382
+ At as minioUpload,
1383
+ yt as useCalculateSize
732
1384
  };