@das-fed/ui 7.0.7-hot.19 → 7.0.7-hot.20

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