amis-ui 2.9.0 → 3.1.0

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 (959) hide show
  1. package/esm/_virtual/index.js +1 -1
  2. package/esm/_virtual/react-is.development.js +1 -1
  3. package/esm/_virtual/react-is.production.min.js +1 -1
  4. package/esm/components/404.d.ts +2 -2
  5. package/esm/components/404.js +1 -1
  6. package/esm/components/Alert.d.ts +144 -88
  7. package/esm/components/Alert.js +37 -14
  8. package/esm/components/Alert2.d.ts +2 -2
  9. package/esm/components/Alert2.js +1 -1
  10. package/esm/components/AnchorNav.d.ts +5 -5
  11. package/esm/components/AnchorNav.js +1 -1
  12. package/esm/components/ArrayInput.d.ts +47 -47
  13. package/esm/components/ArrayInput.js +1 -1
  14. package/esm/components/AsideNav.d.ts +4 -4
  15. package/esm/components/AsideNav.js +1 -1
  16. package/esm/components/AssociatedSelection.d.ts +45 -45
  17. package/esm/components/AssociatedSelection.js +1 -1
  18. package/esm/components/Avatar.d.ts +2 -2
  19. package/esm/components/Avatar.js +1 -1
  20. package/esm/components/Badge.d.ts +5 -5
  21. package/esm/components/Badge.js +1 -1
  22. package/esm/components/BaiduMapPicker.d.ts +2 -2
  23. package/esm/components/BaiduMapPicker.js +1 -1
  24. package/esm/components/BarCode.d.ts +2 -2
  25. package/esm/components/BarCode.js +1 -1
  26. package/esm/components/Breadcrumb.d.ts +6 -6
  27. package/esm/components/Breadcrumb.js +1 -1
  28. package/esm/components/Button.d.ts +3 -3
  29. package/esm/components/Button.js +1 -1
  30. package/esm/components/CalendarMobile.d.ts +10 -10
  31. package/esm/components/CalendarMobile.js +1 -1
  32. package/esm/components/Card.d.ts +12 -12
  33. package/esm/components/Card.js +1 -1
  34. package/esm/components/Cascader.d.ts +5 -5
  35. package/esm/components/Cascader.js +1 -1
  36. package/esm/components/ChainedSelection.d.ts +48 -48
  37. package/esm/components/ChainedSelection.js +2 -1
  38. package/esm/components/Checkbox.d.ts +2 -2
  39. package/esm/components/Checkbox.js +2 -2
  40. package/esm/components/CityArea.d.ts +4 -4
  41. package/esm/components/CityArea.js +1 -1
  42. package/esm/components/CityDB.js +1 -1
  43. package/esm/components/CodeMirror.d.ts +1 -1
  44. package/esm/components/CodeMirror.js +1 -1
  45. package/esm/components/Collapse.d.ts +12 -12
  46. package/esm/components/Collapse.js +1 -1
  47. package/esm/components/CollapseGroup.d.ts +2 -2
  48. package/esm/components/CollapseGroup.js +1 -1
  49. package/esm/components/ColorPicker.d.ts +85 -85
  50. package/esm/components/ColorPicker.js +1 -1
  51. package/esm/components/Combo.d.ts +6 -9
  52. package/esm/components/Combo.js +8 -2
  53. package/esm/components/ConfirmBox.d.ts +45 -45
  54. package/esm/components/ConfirmBox.js +1 -1
  55. package/esm/components/ContextMenu.d.ts +3 -3
  56. package/esm/components/ContextMenu.js +1 -1
  57. package/esm/components/DatePicker.d.ts +94 -91
  58. package/esm/components/DatePicker.js +39 -26
  59. package/esm/components/DateRangePicker.d.ts +305 -260
  60. package/esm/components/DateRangePicker.js +73 -43
  61. package/esm/components/DndContainer.d.ts +4 -4
  62. package/esm/components/DndContainer.js +1 -1
  63. package/esm/components/Drawer.d.ts +6 -5
  64. package/esm/components/Drawer.js +26 -10
  65. package/esm/components/Editor.d.ts +5 -5
  66. package/esm/components/Editor.js +1 -1
  67. package/esm/components/Form.d.ts +1 -1
  68. package/esm/components/Form.js +1 -1
  69. package/esm/components/FormField.d.ts +9 -15
  70. package/esm/components/FormField.js +1 -1
  71. package/esm/components/GaodeMapPicker.d.ts +89 -0
  72. package/esm/components/GaodeMapPicker.js +204 -0
  73. package/esm/components/GridNav.d.ts +4 -4
  74. package/esm/components/GridNav.js +1 -1
  75. package/esm/components/GroupedSelection.d.ts +46 -46
  76. package/esm/components/GroupedSelection.js +1 -1
  77. package/esm/components/Html.d.ts +13 -12
  78. package/esm/components/Html.js +3 -3
  79. package/esm/components/ImageGallery.d.ts +57 -47
  80. package/esm/components/ImageGallery.js +8 -5
  81. package/esm/components/Input.js +1 -1
  82. package/esm/components/InputBox.d.ts +12 -12
  83. package/esm/components/InputBox.js +1 -1
  84. package/esm/components/InputBoxWithSuggestion.d.ts +5 -5
  85. package/esm/components/InputBoxWithSuggestion.js +1 -1
  86. package/esm/components/InputTable.d.ts +7 -7
  87. package/esm/components/InputTable.js +21 -14
  88. package/esm/components/Layout.d.ts +13 -12
  89. package/esm/components/Layout.js +8 -6
  90. package/esm/components/Link.d.ts +2 -2
  91. package/esm/components/Link.js +1 -1
  92. package/esm/components/ListGroup.d.ts +13 -13
  93. package/esm/components/ListGroup.js +1 -1
  94. package/esm/components/ListMenu.d.ts +6 -6
  95. package/esm/components/ListMenu.js +1 -1
  96. package/esm/components/LocationPicker.d.ts +45 -45
  97. package/esm/components/LocationPicker.js +14 -2
  98. package/esm/components/Markdown.d.ts +1 -1
  99. package/esm/components/Markdown.js +1 -1
  100. package/esm/components/Modal.d.ts +33 -32
  101. package/esm/components/Modal.js +25 -9
  102. package/esm/components/ModalManager.js +1 -1
  103. package/esm/components/MonthRangePicker.d.ts +253 -249
  104. package/esm/components/MultilineText.d.ts +5 -5
  105. package/esm/components/MultilineText.js +1 -1
  106. package/esm/components/NumberInput.d.ts +35 -24
  107. package/esm/components/NumberInput.js +10 -5
  108. package/esm/components/Pagination.d.ts +7 -28
  109. package/esm/components/Pagination.js +4 -3
  110. package/esm/components/Picker.d.ts +4 -4
  111. package/esm/components/Picker.js +1 -1
  112. package/esm/components/PickerColumn.d.ts +2 -7
  113. package/esm/components/PickerColumn.js +1 -1
  114. package/esm/components/PickerContainer.d.ts +6 -5
  115. package/esm/components/PickerContainer.js +3 -3
  116. package/esm/components/PopOverContainer.d.ts +1 -1
  117. package/esm/components/PopOverContainer.js +1 -1
  118. package/esm/components/PopUp.d.ts +45 -45
  119. package/esm/components/PopUp.js +1 -1
  120. package/esm/components/Progress.d.ts +3 -3
  121. package/esm/components/Progress.js +1 -1
  122. package/esm/components/PullRefresh.d.ts +1 -1
  123. package/esm/components/PullRefresh.js +1 -1
  124. package/esm/components/Radios.d.ts +24 -24
  125. package/esm/components/Radios.js +1 -1
  126. package/esm/components/Range.d.ts +16 -2
  127. package/esm/components/Range.js +35 -4
  128. package/esm/components/Rating.d.ts +5 -5
  129. package/esm/components/Rating.js +1 -1
  130. package/esm/components/ResultBox.d.ts +46 -46
  131. package/esm/components/ResultBox.js +1 -1
  132. package/esm/components/ResultList.d.ts +8 -8
  133. package/esm/components/ResultList.js +1 -1
  134. package/esm/components/ResultTableList.d.ts +47 -47
  135. package/esm/components/ResultTableList.js +1 -1
  136. package/esm/components/ResultTreeList.d.ts +7 -7
  137. package/esm/components/ResultTreeList.js +1 -1
  138. package/esm/components/RichText.d.ts +2 -1
  139. package/esm/components/RichText.js +1 -1
  140. package/esm/components/SearchBox.d.ts +8 -8
  141. package/esm/components/SearchBox.js +1 -1
  142. package/esm/components/Select.d.ts +416 -408
  143. package/esm/components/Select.js +7 -6
  144. package/esm/components/Selection.d.ts +47 -46
  145. package/esm/components/Selection.js +1 -1
  146. package/esm/components/SparkLine.d.ts +6 -6
  147. package/esm/components/SparkLine.js +1 -1
  148. package/esm/components/Spinner.d.ts +3 -3
  149. package/esm/components/Spinner.js +3 -3
  150. package/esm/components/Steps.d.ts +5 -4
  151. package/esm/components/Steps.js +8 -6
  152. package/esm/components/Switch.d.ts +2 -2
  153. package/esm/components/Switch.js +1 -1
  154. package/esm/components/TableSelection.d.ts +53 -53
  155. package/esm/components/TableSelection.js +1 -1
  156. package/esm/components/Tabs.d.ts +50 -50
  157. package/esm/components/Tabs.js +1 -1
  158. package/esm/components/TabsTransfer.d.ts +49 -48
  159. package/esm/components/TabsTransfer.js +14 -14
  160. package/esm/components/TabsTransferPicker.d.ts +5 -5
  161. package/esm/components/TabsTransferPicker.js +4 -4
  162. package/esm/components/Tag.d.ts +5 -5
  163. package/esm/components/Tag.js +20 -4
  164. package/esm/components/Textarea.d.ts +5 -5
  165. package/esm/components/Textarea.js +1 -1
  166. package/esm/components/Timeline.d.ts +2 -2
  167. package/esm/components/Timeline.js +1 -1
  168. package/esm/components/TimelineItem.d.ts +5 -5
  169. package/esm/components/TimelineItem.js +1 -1
  170. package/esm/components/Tinymce.d.ts +1 -1
  171. package/esm/components/Tinymce.js +1 -1
  172. package/esm/components/TitleBar.d.ts +1 -1
  173. package/esm/components/TitleBar.js +1 -1
  174. package/esm/components/Toast.d.ts +8 -6
  175. package/esm/components/Toast.js +5 -5
  176. package/esm/components/Tooltip.d.ts +3 -2
  177. package/esm/components/Tooltip.js +3 -3
  178. package/esm/components/TooltipWrapper.d.ts +10 -2
  179. package/esm/components/TooltipWrapper.js +3 -3
  180. package/esm/components/Transfer.d.ts +192 -152
  181. package/esm/components/Transfer.js +20 -18
  182. package/esm/components/TransferDropDown.d.ts +85 -45
  183. package/esm/components/TransferDropDown.js +1 -1
  184. package/esm/components/TransferPicker.d.ts +5 -5
  185. package/esm/components/TransferPicker.js +4 -4
  186. package/esm/components/TransferSearch.d.ts +5 -5
  187. package/esm/components/TransferSearch.js +1 -1
  188. package/esm/components/Tree.d.ts +91 -89
  189. package/esm/components/Tree.js +20 -10
  190. package/esm/components/TreeSelection.d.ts +46 -46
  191. package/esm/components/TreeSelection.js +1 -1
  192. package/esm/components/UserSelect.d.ts +49 -49
  193. package/esm/components/UserSelect.js +7 -96
  194. package/esm/components/UserTabSelect.d.ts +45 -45
  195. package/esm/components/UserTabSelect.js +4 -95
  196. package/esm/components/WithRemoteConfig.d.ts +5 -5
  197. package/esm/components/WithRemoteConfig.js +7 -3
  198. package/esm/components/WithStore.d.ts +2 -2
  199. package/esm/components/WithStore.js +1 -1
  200. package/esm/components/calendar/Calendar.d.ts +2 -0
  201. package/esm/components/calendar/Calendar.js +3 -1
  202. package/esm/components/calendar/CalendarContainer.js +1 -1
  203. package/esm/components/calendar/DaysView.d.ts +7 -7
  204. package/esm/components/calendar/DaysView.js +3 -3
  205. package/esm/components/calendar/MonthsView.d.ts +4 -4
  206. package/esm/components/calendar/MonthsView.js +8 -8
  207. package/esm/components/calendar/QuartersView.d.ts +4 -4
  208. package/esm/components/calendar/QuartersView.js +1 -1
  209. package/esm/components/calendar/TimeView.d.ts +5 -5
  210. package/esm/components/calendar/TimeView.js +1 -1
  211. package/esm/components/calendar/YearsView.d.ts +4 -4
  212. package/esm/components/calendar/YearsView.js +1 -1
  213. package/esm/components/condition-builder/Expression.d.ts +5 -5
  214. package/esm/components/condition-builder/Expression.js +1 -1
  215. package/esm/components/condition-builder/Field.d.ts +5 -5
  216. package/esm/components/condition-builder/Field.js +1 -1
  217. package/esm/components/condition-builder/Formula.d.ts +5 -5
  218. package/esm/components/condition-builder/Formula.js +1 -1
  219. package/esm/components/condition-builder/Func.d.ts +6 -6
  220. package/esm/components/condition-builder/Func.js +1 -1
  221. package/esm/components/condition-builder/Group.d.ts +5 -5
  222. package/esm/components/condition-builder/Group.js +1 -1
  223. package/esm/components/condition-builder/GroupOrItem.d.ts +2 -2
  224. package/esm/components/condition-builder/GroupOrItem.js +1 -1
  225. package/esm/components/condition-builder/InputSwitch.d.ts +2 -2
  226. package/esm/components/condition-builder/InputSwitch.js +1 -1
  227. package/esm/components/condition-builder/Item.d.ts +10 -10
  228. package/esm/components/condition-builder/Item.js +12 -9
  229. package/esm/components/condition-builder/Value.d.ts +5 -5
  230. package/esm/components/condition-builder/Value.js +3 -12
  231. package/esm/components/condition-builder/config.js +1 -1
  232. package/esm/components/condition-builder/index.d.ts +8 -8
  233. package/esm/components/condition-builder/index.js +2 -2
  234. package/esm/components/condition-builder/types.d.ts +1 -1
  235. package/esm/components/formula/Editor.d.ts +10 -5
  236. package/esm/components/formula/Editor.js +14 -3
  237. package/esm/components/formula/FuncList.d.ts +2 -2
  238. package/esm/components/formula/FuncList.js +1 -1
  239. package/esm/components/formula/Picker.d.ts +47 -46
  240. package/esm/components/formula/Picker.js +3 -3
  241. package/esm/components/formula/VariableList.d.ts +2 -2
  242. package/esm/components/formula/VariableList.js +4 -4
  243. package/esm/components/formula/plugin.js +1 -1
  244. package/esm/components/icons.d.ts +12 -11
  245. package/esm/components/icons.js +8 -3
  246. package/esm/components/index.d.ts +6 -3
  247. package/esm/components/json-schema/Array.d.ts +2 -1
  248. package/esm/components/json-schema/Array.js +1 -1
  249. package/esm/components/json-schema/Item.d.ts +2 -1
  250. package/esm/components/json-schema/Item.js +1 -1
  251. package/esm/components/json-schema/Object.d.ts +2 -1
  252. package/esm/components/json-schema/Object.js +1 -1
  253. package/esm/components/json-schema/index.d.ts +5 -5
  254. package/esm/components/json-schema/index.js +1 -1
  255. package/esm/components/menu/MenuContext.js +1 -1
  256. package/esm/components/menu/MenuItem.d.ts +3 -6
  257. package/esm/components/menu/MenuItem.js +5 -24
  258. package/esm/components/menu/SubMenu.d.ts +3 -6
  259. package/esm/components/menu/SubMenu.js +13 -28
  260. package/esm/components/menu/index.d.ts +42 -43
  261. package/esm/components/menu/index.js +9 -13
  262. package/esm/components/schema-editor/Array.d.ts +3 -2
  263. package/esm/components/schema-editor/Array.js +3 -3
  264. package/esm/components/schema-editor/Common.d.ts +3 -2
  265. package/esm/components/schema-editor/Common.js +3 -3
  266. package/esm/components/schema-editor/Item.d.ts +1 -1
  267. package/esm/components/schema-editor/Item.js +1 -1
  268. package/esm/components/schema-editor/Object.d.ts +3 -2
  269. package/esm/components/schema-editor/Object.js +3 -3
  270. package/esm/components/schema-editor/SchemaVariableList.d.ts +6 -6
  271. package/esm/components/schema-editor/SchemaVariableList.js +1 -1
  272. package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
  273. package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
  274. package/esm/components/schema-editor/index.d.ts +55 -45
  275. package/esm/components/schema-editor/index.js +3 -3
  276. package/esm/components/table/Cell.d.ts +5 -5
  277. package/esm/components/table/Cell.js +1 -1
  278. package/esm/components/table/HeadCellDropDown.d.ts +5 -5
  279. package/esm/components/table/HeadCellDropDown.js +1 -1
  280. package/esm/components/table/HeadCellFilter.d.ts +5 -5
  281. package/esm/components/table/HeadCellFilter.js +5 -2
  282. package/esm/components/table/HeadCellSelect.d.ts +5 -5
  283. package/esm/components/table/HeadCellSelect.js +1 -1
  284. package/esm/components/table/HeadCellSort.d.ts +5 -5
  285. package/esm/components/table/HeadCellSort.js +5 -5
  286. package/esm/components/table/ItemActionsWrapper.d.ts +1 -1
  287. package/esm/components/table/ItemActionsWrapper.js +1 -1
  288. package/esm/components/table/index.d.ts +18 -18
  289. package/esm/components/table/index.js +100 -59
  290. package/esm/components/virtual-list/AutoSizer.d.ts +1 -1
  291. package/esm/components/virtual-list/AutoSizer.js +1 -1
  292. package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
  293. package/esm/components/virtual-list/constants.js +1 -1
  294. package/esm/components/virtual-list/index.d.ts +1 -1
  295. package/esm/components/virtual-list/index.js +1 -1
  296. package/esm/hooks/use-set-state.js +1 -1
  297. package/esm/hooks/use-sub-form.js +1 -1
  298. package/esm/hooks/use-touch.js +1 -1
  299. package/esm/hooks/use-update-effect.js +1 -1
  300. package/esm/hooks/use-validation-resolver.js +1 -1
  301. package/esm/icons/alert-danger.svg.js +1 -1
  302. package/esm/icons/alert-info.svg.js +1 -1
  303. package/esm/icons/alert-success.svg.js +1 -1
  304. package/esm/icons/alert-warning.svg.js +1 -1
  305. package/esm/icons/back.svg.js +1 -1
  306. package/esm/icons/calendar.svg.js +1 -1
  307. package/esm/icons/caret.svg.js +1 -1
  308. package/esm/icons/check.svg.js +1 -1
  309. package/esm/icons/clock.svg.js +1 -1
  310. package/esm/icons/close-small.svg.js +1 -1
  311. package/esm/icons/close.svg.js +1 -1
  312. package/esm/icons/cloud-upload.svg.js +1 -1
  313. package/esm/icons/column-filter.svg.js +1 -1
  314. package/esm/icons/columns.svg.js +1 -1
  315. package/esm/icons/compress-alt.svg.js +1 -1
  316. package/esm/icons/copy.svg.js +1 -1
  317. package/esm/icons/date.svg.js +1 -1
  318. package/esm/icons/department.svg.js +1 -1
  319. package/esm/icons/desk-empty.svg.js +1 -1
  320. package/esm/icons/dot.svg.js +1 -1
  321. package/esm/icons/down-arrow-bold.svg.js +1 -1
  322. package/esm/icons/down.svg.js +1 -1
  323. package/esm/icons/download.svg.js +1 -1
  324. package/esm/icons/drag-bar.svg.js +1 -1
  325. package/esm/icons/drag.svg.js +1 -1
  326. package/esm/icons/edit.svg.js +1 -1
  327. package/esm/icons/ellipsis-v.svg.js +1 -1
  328. package/esm/icons/enter.svg.js +1 -1
  329. package/esm/icons/exchange.svg.js +1 -1
  330. package/esm/icons/expand-alt.svg.js +1 -1
  331. package/esm/icons/fail.svg.js +1 -1
  332. package/esm/icons/file.svg.js +1 -1
  333. package/esm/icons/filter.svg.js +1 -1
  334. package/esm/icons/folder.svg.js +1 -1
  335. package/esm/icons/function.svg.js +1 -1
  336. package/esm/icons/home.svg.js +1 -1
  337. package/esm/icons/image.svg.js +1 -1
  338. package/esm/icons/info-circle.svg.js +1 -1
  339. package/esm/icons/info.svg.js +1 -1
  340. package/esm/icons/input-clear.svg.js +1 -1
  341. package/esm/icons/invisible.svg.js +1 -1
  342. package/esm/icons/left-arrow.svg.js +1 -1
  343. package/esm/icons/loading-outline.svg.js +1 -1
  344. package/esm/icons/location.svg.js +1 -1
  345. package/esm/icons/menu.svg.js +1 -1
  346. package/esm/icons/minus.svg.js +1 -1
  347. package/esm/icons/move.svg.js +1 -1
  348. package/esm/icons/mute.svg.js +1 -1
  349. package/esm/icons/new-edit.svg.js +1 -1
  350. package/esm/icons/pause.svg.js +1 -1
  351. package/esm/icons/pencil.svg.js +1 -1
  352. package/esm/icons/play.svg.js +1 -1
  353. package/esm/icons/plus-cicle.svg.js +1 -1
  354. package/esm/icons/plus-fine.svg.js +1 -1
  355. package/esm/icons/plus.svg.js +1 -1
  356. package/esm/icons/post.svg.js +1 -1
  357. package/esm/icons/question-mark.svg.js +1 -1
  358. package/esm/icons/question.svg.js +1 -1
  359. package/esm/icons/redo.svg.js +1 -1
  360. package/esm/icons/refresh.svg.js +1 -1
  361. package/esm/icons/reload.svg.js +1 -1
  362. package/esm/icons/remove.svg.js +1 -1
  363. package/esm/icons/retry.svg.js +1 -1
  364. package/esm/icons/right-arrow-bold.svg.js +1 -1
  365. package/esm/icons/right-arrow.svg.js +1 -1
  366. package/esm/icons/right-double-arrow.svg.js +1 -1
  367. package/esm/icons/role.svg.js +1 -1
  368. package/esm/icons/rotate-left.svg.js +1 -1
  369. package/esm/icons/rotate-right.svg.js +1 -1
  370. package/esm/icons/scale-origin.svg.js +1 -1
  371. package/esm/icons/schedule.svg.js +1 -1
  372. package/esm/icons/search.svg.js +1 -1
  373. package/esm/icons/setting.svg.js +1 -1
  374. package/esm/icons/slider-handle-icon.svg.js +1 -1
  375. package/esm/icons/sort-asc.svg.js +1 -1
  376. package/esm/icons/sort-default.svg.js +1 -1
  377. package/esm/icons/sort-desc.svg.js +1 -1
  378. package/esm/icons/star.svg.js +1 -1
  379. package/esm/icons/status-close.svg.js +2 -2
  380. package/esm/icons/steps-finsh.svg.js +1 -1
  381. package/esm/icons/success.svg.js +1 -1
  382. package/esm/icons/transparent.svg.js +1 -1
  383. package/esm/icons/trash.svg.js +1 -1
  384. package/esm/icons/tree-down.svg.js +1 -1
  385. package/esm/icons/undo.svg.js +1 -1
  386. package/esm/icons/upload.svg.js +1 -1
  387. package/esm/icons/user-remove.svg.js +1 -1
  388. package/esm/icons/view.svg.js +1 -1
  389. package/esm/icons/volume.svg.js +1 -1
  390. package/esm/icons/warning-mark.svg.js +1 -1
  391. package/esm/icons/warning.svg.js +1 -1
  392. package/esm/icons/window-restore.svg.js +1 -1
  393. package/esm/icons/zoom-in.svg.js +1 -1
  394. package/esm/icons/zoom-out.svg.js +1 -1
  395. package/esm/index.d.ts +3 -0
  396. package/esm/index.js +6 -3
  397. package/esm/locale/de-DE.js +5 -3
  398. package/esm/locale/en-US.js +6 -3
  399. package/esm/locale/zh-CN.js +7 -4
  400. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
  401. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
  402. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
  403. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
  404. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
  405. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
  406. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
  407. package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
  408. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
  409. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
  410. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
  411. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
  412. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
  413. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
  414. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
  415. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  416. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
  417. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
  418. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
  419. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
  420. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
  421. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
  422. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
  423. package/esm/node_modules/rc-overflow/es/Item.js +1 -1
  424. package/esm/node_modules/rc-overflow/es/Overflow.js +1 -1
  425. package/esm/node_modules/rc-overflow/es/RawItem.js +1 -1
  426. package/esm/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
  427. package/esm/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
  428. package/esm/node_modules/rc-overflow/es/index.js +1 -1
  429. package/esm/node_modules/rc-resize-observer/es/Collection.js +1 -1
  430. package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
  431. package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
  432. package/esm/node_modules/rc-resize-observer/es/index.js +1 -1
  433. package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
  434. package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
  435. package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
  436. package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
  437. package/esm/node_modules/rc-util/es/hooks/useEvent.js +1 -1
  438. package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
  439. package/esm/node_modules/rc-util/es/raf.js +1 -1
  440. package/esm/node_modules/rc-util/es/ref.js +1 -1
  441. package/esm/node_modules/rc-util/es/warning.js +8 -2
  442. package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
  443. package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  444. package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
  445. package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
  446. package/esm/themes/ang.js +1 -1
  447. package/esm/themes/antd.js +1 -1
  448. package/esm/themes/cxd.js +1 -1
  449. package/esm/themes/dark.js +1 -1
  450. package/lib/_virtual/index.js +1 -1
  451. package/lib/_virtual/react-is.development.js +1 -1
  452. package/lib/_virtual/react-is.production.min.js +1 -1
  453. package/lib/components/404.d.ts +2 -2
  454. package/lib/components/404.js +1 -1
  455. package/lib/components/Alert.d.ts +104 -48
  456. package/lib/components/Alert.js +37 -14
  457. package/lib/components/Alert2.d.ts +22 -22
  458. package/lib/components/Alert2.js +1 -1
  459. package/lib/components/AnchorNav.d.ts +25 -25
  460. package/lib/components/AnchorNav.js +1 -1
  461. package/lib/components/ArrayInput.d.ts +47 -47
  462. package/lib/components/ArrayInput.js +1 -1
  463. package/lib/components/AsideNav.d.ts +14 -14
  464. package/lib/components/AsideNav.js +1 -1
  465. package/lib/components/AssociatedSelection.d.ts +125 -125
  466. package/lib/components/AssociatedSelection.js +1 -1
  467. package/lib/components/Avatar.d.ts +112 -112
  468. package/lib/components/Avatar.js +1 -1
  469. package/lib/components/Badge.d.ts +5 -5
  470. package/lib/components/Badge.js +1 -1
  471. package/lib/components/BaiduMapPicker.d.ts +2 -2
  472. package/lib/components/BaiduMapPicker.js +1 -1
  473. package/lib/components/BarCode.d.ts +2 -2
  474. package/lib/components/BarCode.js +1 -1
  475. package/lib/components/Breadcrumb.d.ts +6 -6
  476. package/lib/components/Breadcrumb.js +1 -1
  477. package/lib/components/Button.d.ts +33 -33
  478. package/lib/components/Button.js +1 -1
  479. package/lib/components/CalendarMobile.d.ts +50 -50
  480. package/lib/components/CalendarMobile.js +1 -1
  481. package/lib/components/Card.d.ts +102 -102
  482. package/lib/components/Card.js +1 -1
  483. package/lib/components/Cascader.d.ts +5 -5
  484. package/lib/components/Cascader.js +1 -1
  485. package/lib/components/ChainedSelection.d.ts +128 -128
  486. package/lib/components/ChainedSelection.js +2 -1
  487. package/lib/components/Checkbox.d.ts +12 -12
  488. package/lib/components/Checkbox.js +2 -2
  489. package/lib/components/CityArea.d.ts +4 -4
  490. package/lib/components/CityArea.js +1 -1
  491. package/lib/components/CityDB.js +1 -1
  492. package/lib/components/CodeMirror.d.ts +1 -1
  493. package/lib/components/CodeMirror.js +1 -1
  494. package/lib/components/Collapse.d.ts +122 -122
  495. package/lib/components/Collapse.js +1 -1
  496. package/lib/components/CollapseGroup.d.ts +32 -32
  497. package/lib/components/CollapseGroup.js +1 -1
  498. package/lib/components/ColorPicker.d.ts +85 -85
  499. package/lib/components/ColorPicker.js +1 -1
  500. package/lib/components/Combo.d.ts +6 -9
  501. package/lib/components/Combo.js +8 -2
  502. package/lib/components/ConfirmBox.d.ts +85 -85
  503. package/lib/components/ConfirmBox.js +1 -1
  504. package/lib/components/ContextMenu.d.ts +3 -3
  505. package/lib/components/ContextMenu.js +1 -1
  506. package/lib/components/DatePicker.d.ts +95 -92
  507. package/lib/components/DatePicker.js +38 -25
  508. package/lib/components/DateRangePicker.d.ts +265 -220
  509. package/lib/components/DateRangePicker.js +73 -43
  510. package/lib/components/DndContainer.d.ts +4 -4
  511. package/lib/components/DndContainer.js +1 -1
  512. package/lib/components/Drawer.d.ts +36 -35
  513. package/lib/components/Drawer.js +26 -10
  514. package/lib/components/Editor.d.ts +125 -125
  515. package/lib/components/Editor.js +1 -1
  516. package/lib/components/Form.d.ts +1 -1
  517. package/lib/components/Form.js +1 -1
  518. package/lib/components/FormField.d.ts +9 -15
  519. package/lib/components/FormField.js +1 -1
  520. package/lib/components/GaodeMapPicker.d.ts +89 -0
  521. package/lib/components/GaodeMapPicker.js +214 -0
  522. package/lib/components/GridNav.d.ts +4 -4
  523. package/lib/components/GridNav.js +1 -1
  524. package/lib/components/GroupedSelection.d.ts +126 -126
  525. package/lib/components/GroupedSelection.js +1 -1
  526. package/lib/components/Html.d.ts +13 -12
  527. package/lib/components/Html.js +3 -3
  528. package/lib/components/ImageGallery.d.ts +57 -47
  529. package/lib/components/ImageGallery.js +8 -5
  530. package/lib/components/Input.js +1 -1
  531. package/lib/components/InputBox.d.ts +22 -22
  532. package/lib/components/InputBox.js +1 -1
  533. package/lib/components/InputBoxWithSuggestion.d.ts +5 -5
  534. package/lib/components/InputBoxWithSuggestion.js +1 -1
  535. package/lib/components/InputTable.d.ts +7 -7
  536. package/lib/components/InputTable.js +21 -14
  537. package/lib/components/Layout.d.ts +13 -12
  538. package/lib/components/Layout.js +8 -6
  539. package/lib/components/Link.d.ts +2 -2
  540. package/lib/components/Link.js +1 -1
  541. package/lib/components/ListGroup.d.ts +13 -13
  542. package/lib/components/ListGroup.js +1 -1
  543. package/lib/components/ListMenu.d.ts +86 -86
  544. package/lib/components/ListMenu.js +1 -1
  545. package/lib/components/LocationPicker.d.ts +85 -85
  546. package/lib/components/LocationPicker.js +14 -2
  547. package/lib/components/Markdown.d.ts +1 -1
  548. package/lib/components/Markdown.js +1 -1
  549. package/lib/components/Modal.d.ts +113 -112
  550. package/lib/components/Modal.js +25 -9
  551. package/lib/components/ModalManager.js +1 -1
  552. package/lib/components/MonthRangePicker.d.ts +213 -209
  553. package/lib/components/MultilineText.d.ts +45 -45
  554. package/lib/components/MultilineText.js +1 -1
  555. package/lib/components/NumberInput.d.ts +45 -34
  556. package/lib/components/NumberInput.js +10 -5
  557. package/lib/components/Pagination.d.ts +87 -108
  558. package/lib/components/Pagination.js +4 -3
  559. package/lib/components/Picker.d.ts +4 -4
  560. package/lib/components/Picker.js +1 -1
  561. package/lib/components/PickerColumn.d.ts +2 -7
  562. package/lib/components/PickerColumn.js +1 -1
  563. package/lib/components/PickerContainer.d.ts +6 -5
  564. package/lib/components/PickerContainer.js +3 -3
  565. package/lib/components/PopOverContainer.d.ts +1 -1
  566. package/lib/components/PopOverContainer.js +1 -1
  567. package/lib/components/PopUp.d.ts +45 -45
  568. package/lib/components/PopUp.js +1 -1
  569. package/lib/components/Progress.d.ts +63 -63
  570. package/lib/components/Progress.js +1 -1
  571. package/lib/components/PullRefresh.d.ts +1 -1
  572. package/lib/components/PullRefresh.js +1 -1
  573. package/lib/components/Radios.d.ts +34 -34
  574. package/lib/components/Radios.js +1 -1
  575. package/lib/components/Range.d.ts +16 -2
  576. package/lib/components/Range.js +35 -4
  577. package/lib/components/Rating.d.ts +35 -35
  578. package/lib/components/Rating.js +1 -1
  579. package/lib/components/ResultBox.d.ts +86 -86
  580. package/lib/components/ResultBox.js +1 -1
  581. package/lib/components/ResultList.d.ts +48 -48
  582. package/lib/components/ResultList.js +1 -1
  583. package/lib/components/ResultTableList.d.ts +127 -127
  584. package/lib/components/ResultTableList.js +1 -1
  585. package/lib/components/ResultTreeList.d.ts +47 -47
  586. package/lib/components/ResultTreeList.js +1 -1
  587. package/lib/components/RichText.d.ts +2 -1
  588. package/lib/components/RichText.js +1 -1
  589. package/lib/components/SearchBox.d.ts +88 -88
  590. package/lib/components/SearchBox.js +1 -1
  591. package/lib/components/Select.d.ts +1977 -1969
  592. package/lib/components/Select.js +7 -5
  593. package/lib/components/Selection.d.ts +127 -126
  594. package/lib/components/Selection.js +1 -1
  595. package/lib/components/SparkLine.d.ts +46 -46
  596. package/lib/components/SparkLine.js +1 -1
  597. package/lib/components/Spinner.d.ts +73 -73
  598. package/lib/components/Spinner.js +3 -3
  599. package/lib/components/Steps.d.ts +5 -4
  600. package/lib/components/Steps.js +8 -6
  601. package/lib/components/Switch.d.ts +12 -12
  602. package/lib/components/Switch.js +1 -1
  603. package/lib/components/TableSelection.d.ts +133 -133
  604. package/lib/components/TableSelection.js +1 -1
  605. package/lib/components/Tabs.d.ts +90 -90
  606. package/lib/components/Tabs.js +1 -1
  607. package/lib/components/TabsTransfer.d.ts +49 -48
  608. package/lib/components/TabsTransfer.js +13 -13
  609. package/lib/components/TabsTransferPicker.d.ts +5 -5
  610. package/lib/components/TabsTransferPicker.js +4 -4
  611. package/lib/components/Tag.d.ts +75 -75
  612. package/lib/components/Tag.js +20 -4
  613. package/lib/components/Textarea.d.ts +45 -45
  614. package/lib/components/Textarea.js +1 -1
  615. package/lib/components/Timeline.d.ts +2 -2
  616. package/lib/components/Timeline.js +1 -1
  617. package/lib/components/TimelineItem.d.ts +5 -5
  618. package/lib/components/TimelineItem.js +1 -1
  619. package/lib/components/Tinymce.d.ts +1 -1
  620. package/lib/components/Tinymce.js +1 -1
  621. package/lib/components/TitleBar.d.ts +1 -1
  622. package/lib/components/TitleBar.js +1 -1
  623. package/lib/components/Toast.d.ts +88 -86
  624. package/lib/components/Toast.js +5 -5
  625. package/lib/components/Tooltip.d.ts +3 -2
  626. package/lib/components/Tooltip.js +3 -3
  627. package/lib/components/TooltipWrapper.d.ts +40 -32
  628. package/lib/components/TooltipWrapper.js +3 -3
  629. package/lib/components/Transfer.d.ts +312 -272
  630. package/lib/components/Transfer.js +20 -18
  631. package/lib/components/TransferDropDown.d.ts +205 -165
  632. package/lib/components/TransferDropDown.js +1 -1
  633. package/lib/components/TransferPicker.d.ts +5 -5
  634. package/lib/components/TransferPicker.js +4 -4
  635. package/lib/components/TransferSearch.d.ts +5 -5
  636. package/lib/components/TransferSearch.js +1 -1
  637. package/lib/components/Tree.d.ts +211 -209
  638. package/lib/components/Tree.js +20 -10
  639. package/lib/components/TreeSelection.d.ts +126 -126
  640. package/lib/components/TreeSelection.js +1 -1
  641. package/lib/components/UserSelect.d.ts +89 -89
  642. package/lib/components/UserSelect.js +7 -96
  643. package/lib/components/UserTabSelect.d.ts +45 -45
  644. package/lib/components/UserTabSelect.js +4 -95
  645. package/lib/components/WithRemoteConfig.d.ts +5 -6
  646. package/lib/components/WithRemoteConfig.js +6 -2
  647. package/lib/components/WithStore.d.ts +2 -2
  648. package/lib/components/WithStore.js +1 -1
  649. package/lib/components/calendar/Calendar.d.ts +2 -0
  650. package/lib/components/calendar/Calendar.js +3 -1
  651. package/lib/components/calendar/CalendarContainer.js +1 -1
  652. package/lib/components/calendar/DaysView.d.ts +7 -7
  653. package/lib/components/calendar/DaysView.js +3 -3
  654. package/lib/components/calendar/MonthsView.d.ts +4 -4
  655. package/lib/components/calendar/MonthsView.js +7 -7
  656. package/lib/components/calendar/QuartersView.d.ts +4 -4
  657. package/lib/components/calendar/QuartersView.js +1 -1
  658. package/lib/components/calendar/TimeView.d.ts +5 -5
  659. package/lib/components/calendar/TimeView.js +1 -1
  660. package/lib/components/calendar/YearsView.d.ts +4 -4
  661. package/lib/components/calendar/YearsView.js +1 -1
  662. package/lib/components/condition-builder/Expression.d.ts +5 -5
  663. package/lib/components/condition-builder/Expression.js +1 -1
  664. package/lib/components/condition-builder/Field.d.ts +5 -5
  665. package/lib/components/condition-builder/Field.js +1 -1
  666. package/lib/components/condition-builder/Formula.d.ts +5 -5
  667. package/lib/components/condition-builder/Formula.js +1 -1
  668. package/lib/components/condition-builder/Func.d.ts +6 -6
  669. package/lib/components/condition-builder/Func.js +1 -1
  670. package/lib/components/condition-builder/Group.d.ts +5 -5
  671. package/lib/components/condition-builder/Group.js +1 -1
  672. package/lib/components/condition-builder/GroupOrItem.d.ts +2 -2
  673. package/lib/components/condition-builder/GroupOrItem.js +1 -1
  674. package/lib/components/condition-builder/InputSwitch.d.ts +2 -2
  675. package/lib/components/condition-builder/InputSwitch.js +1 -1
  676. package/lib/components/condition-builder/Item.d.ts +10 -10
  677. package/lib/components/condition-builder/Item.js +11 -8
  678. package/lib/components/condition-builder/Value.d.ts +5 -5
  679. package/lib/components/condition-builder/Value.js +3 -12
  680. package/lib/components/condition-builder/config.js +1 -1
  681. package/lib/components/condition-builder/index.d.ts +8 -8
  682. package/lib/components/condition-builder/index.js +2 -2
  683. package/lib/components/condition-builder/types.d.ts +1 -1
  684. package/lib/components/formula/Editor.d.ts +50 -45
  685. package/lib/components/formula/Editor.js +13 -2
  686. package/lib/components/formula/FuncList.d.ts +2 -2
  687. package/lib/components/formula/FuncList.js +1 -1
  688. package/lib/components/formula/Picker.d.ts +47 -46
  689. package/lib/components/formula/Picker.js +3 -3
  690. package/lib/components/formula/VariableList.d.ts +2 -2
  691. package/lib/components/formula/VariableList.js +3 -3
  692. package/lib/components/formula/plugin.js +1 -1
  693. package/lib/components/icons.d.ts +12 -11
  694. package/lib/components/icons.js +8 -2
  695. package/lib/components/index.d.ts +6 -3
  696. package/lib/components/json-schema/Array.d.ts +2 -1
  697. package/lib/components/json-schema/Array.js +1 -1
  698. package/lib/components/json-schema/Item.d.ts +2 -1
  699. package/lib/components/json-schema/Item.js +1 -1
  700. package/lib/components/json-schema/Object.d.ts +2 -1
  701. package/lib/components/json-schema/Object.js +1 -1
  702. package/lib/components/json-schema/index.d.ts +5 -5
  703. package/lib/components/json-schema/index.js +1 -1
  704. package/lib/components/menu/MenuContext.js +1 -1
  705. package/lib/components/menu/MenuItem.d.ts +3 -6
  706. package/lib/components/menu/MenuItem.js +5 -24
  707. package/lib/components/menu/SubMenu.d.ts +3 -6
  708. package/lib/components/menu/SubMenu.js +13 -28
  709. package/lib/components/menu/index.d.ts +92 -93
  710. package/lib/components/menu/index.js +9 -13
  711. package/lib/components/schema-editor/Array.d.ts +3 -2
  712. package/lib/components/schema-editor/Array.js +3 -3
  713. package/lib/components/schema-editor/Common.d.ts +3 -2
  714. package/lib/components/schema-editor/Common.js +3 -3
  715. package/lib/components/schema-editor/Item.d.ts +1 -1
  716. package/lib/components/schema-editor/Item.js +1 -1
  717. package/lib/components/schema-editor/Object.d.ts +3 -2
  718. package/lib/components/schema-editor/Object.js +3 -3
  719. package/lib/components/schema-editor/SchemaVariableList.d.ts +6 -6
  720. package/lib/components/schema-editor/SchemaVariableList.js +1 -1
  721. package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
  722. package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
  723. package/lib/components/schema-editor/index.d.ts +55 -45
  724. package/lib/components/schema-editor/index.js +3 -3
  725. package/lib/components/table/Cell.d.ts +45 -45
  726. package/lib/components/table/Cell.js +1 -1
  727. package/lib/components/table/HeadCellDropDown.d.ts +5 -5
  728. package/lib/components/table/HeadCellDropDown.js +1 -1
  729. package/lib/components/table/HeadCellFilter.d.ts +45 -45
  730. package/lib/components/table/HeadCellFilter.js +5 -2
  731. package/lib/components/table/HeadCellSelect.d.ts +45 -45
  732. package/lib/components/table/HeadCellSelect.js +1 -1
  733. package/lib/components/table/HeadCellSort.d.ts +5 -5
  734. package/lib/components/table/HeadCellSort.js +5 -5
  735. package/lib/components/table/ItemActionsWrapper.d.ts +1 -1
  736. package/lib/components/table/ItemActionsWrapper.js +1 -1
  737. package/lib/components/table/index.d.ts +98 -98
  738. package/lib/components/table/index.js +100 -59
  739. package/lib/components/virtual-list/AutoSizer.d.ts +1 -1
  740. package/lib/components/virtual-list/AutoSizer.js +1 -1
  741. package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
  742. package/lib/components/virtual-list/constants.js +1 -1
  743. package/lib/components/virtual-list/index.d.ts +1 -1
  744. package/lib/components/virtual-list/index.js +1 -1
  745. package/lib/hooks/use-set-state.js +1 -1
  746. package/lib/hooks/use-sub-form.js +1 -1
  747. package/lib/hooks/use-touch.js +1 -1
  748. package/lib/hooks/use-update-effect.js +1 -1
  749. package/lib/hooks/use-validation-resolver.js +1 -1
  750. package/lib/icons/alert-danger.svg.js +1 -1
  751. package/lib/icons/alert-info.svg.js +1 -1
  752. package/lib/icons/alert-success.svg.js +1 -1
  753. package/lib/icons/alert-warning.svg.js +1 -1
  754. package/lib/icons/back.svg.js +1 -1
  755. package/lib/icons/calendar.svg.js +1 -1
  756. package/lib/icons/caret.svg.js +1 -1
  757. package/lib/icons/check.svg.js +1 -1
  758. package/lib/icons/clock.svg.js +1 -1
  759. package/lib/icons/close-small.svg.js +1 -1
  760. package/lib/icons/close.svg.js +1 -1
  761. package/lib/icons/cloud-upload.svg.js +1 -1
  762. package/lib/icons/column-filter.svg.js +1 -1
  763. package/lib/icons/columns.svg.js +1 -1
  764. package/lib/icons/compress-alt.svg.js +1 -1
  765. package/lib/icons/copy.svg.js +1 -1
  766. package/lib/icons/date.svg.js +1 -1
  767. package/lib/icons/department.svg.js +1 -1
  768. package/lib/icons/desk-empty.svg.js +1 -1
  769. package/lib/icons/dot.svg.js +1 -1
  770. package/lib/icons/down-arrow-bold.svg.js +1 -1
  771. package/lib/icons/down.svg.js +1 -1
  772. package/lib/icons/download.svg.js +1 -1
  773. package/lib/icons/drag-bar.svg.js +1 -1
  774. package/lib/icons/drag.svg.js +1 -1
  775. package/lib/icons/edit.svg.js +1 -1
  776. package/lib/icons/ellipsis-v.svg.js +1 -1
  777. package/lib/icons/enter.svg.js +1 -1
  778. package/lib/icons/exchange.svg.js +1 -1
  779. package/lib/icons/expand-alt.svg.js +1 -1
  780. package/lib/icons/fail.svg.js +1 -1
  781. package/lib/icons/file.svg.js +1 -1
  782. package/lib/icons/filter.svg.js +1 -1
  783. package/lib/icons/folder.svg.js +1 -1
  784. package/lib/icons/function.svg.js +1 -1
  785. package/lib/icons/home.svg.js +1 -1
  786. package/lib/icons/image.svg.js +1 -1
  787. package/lib/icons/info-circle.svg.js +1 -1
  788. package/lib/icons/info.svg.js +1 -1
  789. package/lib/icons/input-clear.svg.js +1 -1
  790. package/lib/icons/invisible.svg.js +1 -1
  791. package/lib/icons/left-arrow.svg.js +1 -1
  792. package/lib/icons/loading-outline.svg.js +1 -1
  793. package/lib/icons/location.svg.js +1 -1
  794. package/lib/icons/menu.svg.js +1 -1
  795. package/lib/icons/minus.svg.js +1 -1
  796. package/lib/icons/move.svg.js +1 -1
  797. package/lib/icons/mute.svg.js +1 -1
  798. package/lib/icons/new-edit.svg.js +1 -1
  799. package/lib/icons/pause.svg.js +1 -1
  800. package/lib/icons/pencil.svg.js +1 -1
  801. package/lib/icons/play.svg.js +1 -1
  802. package/lib/icons/plus-cicle.svg.js +1 -1
  803. package/lib/icons/plus-fine.svg.js +1 -1
  804. package/lib/icons/plus.svg.js +1 -1
  805. package/lib/icons/post.svg.js +1 -1
  806. package/lib/icons/question-mark.svg.js +1 -1
  807. package/lib/icons/question.svg.js +1 -1
  808. package/lib/icons/redo.svg.js +1 -1
  809. package/lib/icons/refresh.svg.js +1 -1
  810. package/lib/icons/reload.svg.js +1 -1
  811. package/lib/icons/remove.svg.js +1 -1
  812. package/lib/icons/retry.svg.js +1 -1
  813. package/lib/icons/right-arrow-bold.svg.js +1 -1
  814. package/lib/icons/right-arrow.svg.js +1 -1
  815. package/lib/icons/right-double-arrow.svg.js +1 -1
  816. package/lib/icons/role.svg.js +1 -1
  817. package/lib/icons/rotate-left.svg.js +1 -1
  818. package/lib/icons/rotate-right.svg.js +1 -1
  819. package/lib/icons/scale-origin.svg.js +1 -1
  820. package/lib/icons/schedule.svg.js +1 -1
  821. package/lib/icons/search.svg.js +1 -1
  822. package/lib/icons/setting.svg.js +1 -1
  823. package/lib/icons/slider-handle-icon.svg.js +1 -1
  824. package/lib/icons/sort-asc.svg.js +1 -1
  825. package/lib/icons/sort-default.svg.js +1 -1
  826. package/lib/icons/sort-desc.svg.js +1 -1
  827. package/lib/icons/star.svg.js +1 -1
  828. package/lib/icons/status-close.svg.js +2 -2
  829. package/lib/icons/steps-finsh.svg.js +1 -1
  830. package/lib/icons/success.svg.js +1 -1
  831. package/lib/icons/transparent.svg.js +1 -1
  832. package/lib/icons/trash.svg.js +1 -1
  833. package/lib/icons/tree-down.svg.js +1 -1
  834. package/lib/icons/undo.svg.js +1 -1
  835. package/lib/icons/upload.svg.js +1 -1
  836. package/lib/icons/user-remove.svg.js +1 -1
  837. package/lib/icons/view.svg.js +1 -1
  838. package/lib/icons/volume.svg.js +1 -1
  839. package/lib/icons/warning-mark.svg.js +1 -1
  840. package/lib/icons/warning.svg.js +1 -1
  841. package/lib/icons/window-restore.svg.js +1 -1
  842. package/lib/icons/zoom-in.svg.js +1 -1
  843. package/lib/icons/zoom-out.svg.js +1 -1
  844. package/lib/index.d.ts +3 -0
  845. package/lib/index.js +11 -4
  846. package/lib/locale/de-DE.js +5 -3
  847. package/lib/locale/en-US.js +6 -3
  848. package/lib/locale/zh-CN.js +7 -4
  849. package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
  850. package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
  851. package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
  852. package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
  853. package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
  854. package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
  855. package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
  856. package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
  857. package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
  858. package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
  859. package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
  860. package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
  861. package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
  862. package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
  863. package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
  864. package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  865. package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
  866. package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
  867. package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
  868. package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
  869. package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
  870. package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
  871. package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
  872. package/lib/node_modules/rc-overflow/es/Item.js +1 -1
  873. package/lib/node_modules/rc-overflow/es/Overflow.js +1 -1
  874. package/lib/node_modules/rc-overflow/es/RawItem.js +1 -1
  875. package/lib/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
  876. package/lib/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
  877. package/lib/node_modules/rc-overflow/es/index.js +1 -1
  878. package/lib/node_modules/rc-resize-observer/es/Collection.js +1 -1
  879. package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
  880. package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
  881. package/lib/node_modules/rc-resize-observer/es/index.js +1 -1
  882. package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
  883. package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
  884. package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
  885. package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
  886. package/lib/node_modules/rc-util/es/hooks/useEvent.js +1 -1
  887. package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
  888. package/lib/node_modules/rc-util/es/raf.js +1 -1
  889. package/lib/node_modules/rc-util/es/ref.js +1 -1
  890. package/lib/node_modules/rc-util/es/warning.js +8 -2
  891. package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
  892. package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  893. package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
  894. package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
  895. package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
  896. package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
  897. package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
  898. package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
  899. package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
  900. package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
  901. package/lib/themes/ang.css +2721 -1720
  902. package/lib/themes/ang.js +1 -1
  903. package/lib/themes/antd.css +2721 -1720
  904. package/lib/themes/antd.js +1 -1
  905. package/lib/themes/cxd.css +2721 -1720
  906. package/lib/themes/cxd.js +1 -1
  907. package/lib/themes/dark.css +2721 -1720
  908. package/lib/themes/dark.js +1 -1
  909. package/lib/themes/default.css +2721 -1720
  910. package/package.json +5 -5
  911. package/scss/_components.scss +1305 -124
  912. package/scss/_mixins.scss +33 -1
  913. package/scss/_properties.scss +5 -374
  914. package/scss/base/_common.scss +4 -0
  915. package/scss/components/_alert.scss +30 -9
  916. package/scss/components/_app.scss +10 -0
  917. package/scss/components/_button-group.scss +0 -1
  918. package/scss/components/_button.scss +0 -38
  919. package/scss/components/_calendar.scss +14 -0
  920. package/scss/components/_column-toggler.scss +5 -2
  921. package/scss/components/_condition-builder.scss +38 -22
  922. package/scss/components/_crud.scss +21 -5
  923. package/scss/components/_crud2.scss +21 -5
  924. package/scss/components/_drawer.scss +20 -12
  925. package/scss/components/_image-gallery.scss +9 -6
  926. package/scss/components/_images.scss +13 -5
  927. package/scss/components/_menu.scss +251 -626
  928. package/scss/components/_modal.scss +23 -13
  929. package/scss/components/_nav.scss +6 -354
  930. package/scss/components/_progress.scss +11 -2
  931. package/scss/components/_result-box.scss +1 -0
  932. package/scss/components/_spinner.scss +7 -5
  933. package/scss/components/_status.scss +27 -11
  934. package/scss/components/_steps.scss +68 -20
  935. package/scss/components/_table.scss +7 -7
  936. package/scss/components/_table2.scss +84 -40
  937. package/scss/components/_tag.scss +42 -36
  938. package/scss/components/_timeline.scss +20 -9
  939. package/scss/components/_toast.scss +64 -12
  940. package/scss/components/_wizard.scss +28 -7
  941. package/scss/components/form/_checks.scss +17 -3
  942. package/scss/components/form/_color.scss +5 -0
  943. package/scss/components/form/_combo.scss +28 -18
  944. package/scss/components/form/_date-range.scss +5 -0
  945. package/scss/components/form/_date.scss +8 -1
  946. package/scss/components/form/_fieldset.scss +62 -28
  947. package/scss/components/form/_form.scss +32 -3
  948. package/scss/components/form/_icon-select.scss +21 -0
  949. package/scss/components/form/_image.scss +50 -7
  950. package/scss/components/form/_nested-select.scss +2 -0
  951. package/scss/components/form/_number.scss +14 -6
  952. package/scss/components/form/_picker.scss +105 -12
  953. package/scss/components/form/_range.scss +6 -0
  954. package/scss/components/form/_rich-text.scss +81 -35
  955. package/scss/components/form/_tag.scss +56 -6
  956. package/scss/components/form/_text.scss +8 -0
  957. package/scss/components/form/_transfer.scss +18 -26
  958. package/scss/components/form/_tree.scss +55 -23
  959. package/scss/layout/_layout.scss +42 -10
@@ -28,6 +28,7 @@ export interface ImageGalleryProps extends ThemeProps, LocaleProps {
28
28
  modalContainer?: () => HTMLElement;
29
29
  /** 操作栏 */
30
30
  actions?: ImageAction[];
31
+ imageGallaryClassName?: string;
31
32
  }
32
33
  export interface ImageGalleryState {
33
34
  isOpened: boolean;
@@ -44,6 +45,10 @@ export interface ImageGalleryState {
44
45
  rotate: number;
45
46
  /** 是否开启操作栏 */
46
47
  showToolbar?: boolean;
48
+ /** 是否显示底部图片集 */
49
+ enlargeWithGallary?: boolean;
50
+ /** 放大详情图类名 */
51
+ imageGallaryClassName?: string;
47
52
  /** 工具栏配置 */
48
53
  actions?: ImageAction[];
49
54
  }
@@ -66,7 +71,9 @@ export declare class ImageGallery extends React.Component<ImageGalleryProps, Ima
66
71
  caption?: string;
67
72
  index?: number;
68
73
  showToolbar?: boolean;
74
+ imageGallaryClassName?: string;
69
75
  toolbarActions?: ImageAction[];
76
+ enlargeWithGallary?: boolean;
70
77
  }): void;
71
78
  resetImageAction(): void;
72
79
  close(): void;
@@ -74,11 +81,11 @@ export declare class ImageGallery extends React.Component<ImageGalleryProps, Ima
74
81
  next(): void;
75
82
  handleItemClick(e: React.MouseEvent<HTMLDivElement>): void;
76
83
  handleToolbarAction: import("lodash").DebouncedFuncLeading<(action: ImageAction) => void>;
77
- renderToolbar(actions: ImageAction[]): JSX.Element;
78
- render(): JSX.Element;
84
+ renderToolbar(actions: ImageAction[]): React.JSX.Element;
85
+ render(): React.JSX.Element;
79
86
  }
80
87
  declare const _default: {
81
- new (props: Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
88
+ new (props: Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
82
89
  actions?: ImageAction[] | undefined;
83
90
  } & {} & {
84
91
  locale?: string | undefined;
@@ -87,16 +94,16 @@ declare const _default: {
87
94
  ref: any;
88
95
  childRef(ref: any): void;
89
96
  getWrappedInstance(): any;
90
- render(): JSX.Element;
97
+ render(): React.JSX.Element;
91
98
  context: unknown;
92
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
99
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
93
100
  actions?: ImageAction[] | undefined;
94
101
  } & {} & {
95
102
  locale?: string | undefined;
96
103
  translate?: ((str: string, ...args: any[]) => string) | undefined;
97
104
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
98
105
  forceUpdate(callback?: (() => void) | undefined): void;
99
- readonly props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
106
+ readonly props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
100
107
  actions?: ImageAction[] | undefined;
101
108
  } & {} & {
102
109
  locale?: string | undefined;
@@ -107,7 +114,7 @@ declare const _default: {
107
114
  [key: string]: React.ReactInstance;
108
115
  };
109
116
  componentDidMount?(): void;
110
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
117
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
111
118
  actions?: ImageAction[] | undefined;
112
119
  } & {} & {
113
120
  locale?: string | undefined;
@@ -115,39 +122,39 @@ declare const _default: {
115
122
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
116
123
  componentWillUnmount?(): void;
117
124
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
118
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
125
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
119
126
  actions?: ImageAction[] | undefined;
120
127
  } & {} & {
121
128
  locale?: string | undefined;
122
129
  translate?: ((str: string, ...args: any[]) => string) | undefined;
123
130
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
124
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
131
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
125
132
  actions?: ImageAction[] | undefined;
126
133
  } & {} & {
127
134
  locale?: string | undefined;
128
135
  translate?: ((str: string, ...args: any[]) => string) | undefined;
129
136
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
130
- componentWillMount?(): void; /** 外部传入合法key值的actions才会生效 */
137
+ componentWillMount?(): void;
131
138
  UNSAFE_componentWillMount?(): void;
132
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
139
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
133
140
  actions?: ImageAction[] | undefined;
134
141
  } & {} & {
135
142
  locale?: string | undefined;
136
143
  translate?: ((str: string, ...args: any[]) => string) | undefined;
137
144
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
138
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
145
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
139
146
  actions?: ImageAction[] | undefined;
140
147
  } & {} & {
141
148
  locale?: string | undefined;
142
149
  translate?: ((str: string, ...args: any[]) => string) | undefined;
143
150
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
144
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
151
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
145
152
  actions?: ImageAction[] | undefined;
146
153
  } & {} & {
147
154
  locale?: string | undefined;
148
155
  translate?: ((str: string, ...args: any[]) => string) | undefined;
149
156
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
150
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
157
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
151
158
  actions?: ImageAction[] | undefined;
152
159
  } & {} & {
153
160
  locale?: string | undefined;
@@ -157,7 +164,7 @@ declare const _default: {
157
164
  displayName: string;
158
165
  contextType: React.Context<string>;
159
166
  ComposedComponent: React.ComponentType<{
160
- new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
167
+ new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
161
168
  actions?: ImageAction[] | undefined;
162
169
  } & {} & {
163
170
  locale?: string | undefined;
@@ -166,16 +173,17 @@ declare const _default: {
166
173
  ref: any;
167
174
  childRef(ref: any): void;
168
175
  getWrappedInstance(): any;
169
- render(): JSX.Element;
176
+ /** 是否显示底部图片集 */
177
+ render(): React.JSX.Element;
170
178
  context: unknown;
171
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
179
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
172
180
  actions?: ImageAction[] | undefined;
173
181
  } & {} & {
174
182
  locale?: string | undefined;
175
183
  translate?: ((str: string, ...args: any[]) => string) | undefined;
176
184
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
177
185
  forceUpdate(callback?: (() => void) | undefined): void;
178
- readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
186
+ readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
179
187
  actions?: ImageAction[] | undefined;
180
188
  } & {} & {
181
189
  locale?: string | undefined;
@@ -186,7 +194,7 @@ declare const _default: {
186
194
  [key: string]: React.ReactInstance;
187
195
  };
188
196
  componentDidMount?(): void;
189
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
197
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
190
198
  actions?: ImageAction[] | undefined;
191
199
  } & {} & {
192
200
  locale?: string | undefined;
@@ -194,13 +202,13 @@ declare const _default: {
194
202
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
195
203
  componentWillUnmount?(): void;
196
204
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
197
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
205
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
198
206
  actions?: ImageAction[] | undefined;
199
207
  } & {} & {
200
208
  locale?: string | undefined;
201
209
  translate?: ((str: string, ...args: any[]) => string) | undefined;
202
210
  }>, prevState: Readonly<{}>): any;
203
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
211
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
204
212
  actions?: ImageAction[] | undefined;
205
213
  } & {} & {
206
214
  locale?: string | undefined;
@@ -208,25 +216,25 @@ declare const _default: {
208
216
  }>, prevState: Readonly<{}>, snapshot?: any): void;
209
217
  componentWillMount?(): void;
210
218
  UNSAFE_componentWillMount?(): void;
211
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
219
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
212
220
  actions?: ImageAction[] | undefined;
213
221
  } & {} & {
214
222
  locale?: string | undefined;
215
223
  translate?: ((str: string, ...args: any[]) => string) | undefined;
216
224
  }>, nextContext: any): void;
217
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
225
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
218
226
  actions?: ImageAction[] | undefined;
219
227
  } & {} & {
220
228
  locale?: string | undefined;
221
229
  translate?: ((str: string, ...args: any[]) => string) | undefined;
222
230
  }>, nextContext: any): void;
223
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
231
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
224
232
  actions?: ImageAction[] | undefined;
225
233
  } & {} & {
226
234
  locale?: string | undefined;
227
235
  translate?: ((str: string, ...args: any[]) => string) | undefined;
228
236
  }>, nextState: Readonly<{}>, nextContext: any): void;
229
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
237
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
230
238
  actions?: ImageAction[] | undefined;
231
239
  } & {} & {
232
240
  locale?: string | undefined;
@@ -240,7 +248,7 @@ declare const _default: {
240
248
  ComposedComponent: typeof ImageGallery;
241
249
  }>;
242
250
  } & import("hoist-non-react-statics").NonReactStatics<{
243
- new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
251
+ new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
244
252
  actions?: ImageAction[] | undefined;
245
253
  } & {} & {
246
254
  locale?: string | undefined;
@@ -249,16 +257,17 @@ declare const _default: {
249
257
  ref: any;
250
258
  childRef(ref: any): void;
251
259
  getWrappedInstance(): any;
252
- render(): JSX.Element;
260
+ /** 是否显示底部图片集 */
261
+ render(): React.JSX.Element;
253
262
  context: unknown;
254
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
263
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
255
264
  actions?: ImageAction[] | undefined;
256
265
  } & {} & {
257
266
  locale?: string | undefined;
258
267
  translate?: ((str: string, ...args: any[]) => string) | undefined;
259
268
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
260
269
  forceUpdate(callback?: (() => void) | undefined): void;
261
- readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
270
+ readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
262
271
  actions?: ImageAction[] | undefined;
263
272
  } & {} & {
264
273
  locale?: string | undefined;
@@ -269,7 +278,7 @@ declare const _default: {
269
278
  [key: string]: React.ReactInstance;
270
279
  };
271
280
  componentDidMount?(): void;
272
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
281
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
273
282
  actions?: ImageAction[] | undefined;
274
283
  } & {} & {
275
284
  locale?: string | undefined;
@@ -277,13 +286,13 @@ declare const _default: {
277
286
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
278
287
  componentWillUnmount?(): void;
279
288
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
280
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
289
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
281
290
  actions?: ImageAction[] | undefined;
282
291
  } & {} & {
283
292
  locale?: string | undefined;
284
293
  translate?: ((str: string, ...args: any[]) => string) | undefined;
285
294
  }>, prevState: Readonly<{}>): any;
286
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
295
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
287
296
  actions?: ImageAction[] | undefined;
288
297
  } & {} & {
289
298
  locale?: string | undefined;
@@ -291,25 +300,25 @@ declare const _default: {
291
300
  }>, prevState: Readonly<{}>, snapshot?: any): void;
292
301
  componentWillMount?(): void;
293
302
  UNSAFE_componentWillMount?(): void;
294
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
303
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
295
304
  actions?: ImageAction[] | undefined;
296
305
  } & {} & {
297
306
  locale?: string | undefined;
298
307
  translate?: ((str: string, ...args: any[]) => string) | undefined;
299
308
  }>, nextContext: any): void;
300
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
309
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
301
310
  actions?: ImageAction[] | undefined;
302
311
  } & {} & {
303
312
  locale?: string | undefined;
304
313
  translate?: ((str: string, ...args: any[]) => string) | undefined;
305
314
  }>, nextContext: any): void;
306
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
315
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
307
316
  actions?: ImageAction[] | undefined;
308
317
  } & {} & {
309
318
  locale?: string | undefined;
310
319
  translate?: ((str: string, ...args: any[]) => string) | undefined;
311
320
  }>, nextState: Readonly<{}>, nextContext: any): void;
312
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
321
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
313
322
  actions?: ImageAction[] | undefined;
314
323
  } & {} & {
315
324
  locale?: string | undefined;
@@ -323,7 +332,7 @@ declare const _default: {
323
332
  ComposedComponent: typeof ImageGallery;
324
333
  }, {}> & {
325
334
  ComposedComponent: {
326
- new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
335
+ new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
327
336
  actions?: ImageAction[] | undefined;
328
337
  } & {} & {
329
338
  locale?: string | undefined;
@@ -332,16 +341,17 @@ declare const _default: {
332
341
  ref: any;
333
342
  childRef(ref: any): void;
334
343
  getWrappedInstance(): any;
335
- render(): JSX.Element;
344
+ /** 是否显示底部图片集 */
345
+ render(): React.JSX.Element;
336
346
  context: unknown;
337
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
347
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
338
348
  actions?: ImageAction[] | undefined;
339
349
  } & {} & {
340
350
  locale?: string | undefined;
341
351
  translate?: ((str: string, ...args: any[]) => string) | undefined;
342
352
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
343
353
  forceUpdate(callback?: (() => void) | undefined): void;
344
- readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
354
+ readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
345
355
  actions?: ImageAction[] | undefined;
346
356
  } & {} & {
347
357
  locale?: string | undefined;
@@ -352,7 +362,7 @@ declare const _default: {
352
362
  [key: string]: React.ReactInstance;
353
363
  };
354
364
  componentDidMount?(): void;
355
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
365
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
356
366
  actions?: ImageAction[] | undefined;
357
367
  } & {} & {
358
368
  locale?: string | undefined;
@@ -360,13 +370,13 @@ declare const _default: {
360
370
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
361
371
  componentWillUnmount?(): void;
362
372
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
363
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
373
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
364
374
  actions?: ImageAction[] | undefined;
365
375
  } & {} & {
366
376
  locale?: string | undefined;
367
377
  translate?: ((str: string, ...args: any[]) => string) | undefined;
368
378
  }>, prevState: Readonly<{}>): any;
369
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
379
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
370
380
  actions?: ImageAction[] | undefined;
371
381
  } & {} & {
372
382
  locale?: string | undefined;
@@ -374,25 +384,25 @@ declare const _default: {
374
384
  }>, prevState: Readonly<{}>, snapshot?: any): void;
375
385
  componentWillMount?(): void;
376
386
  UNSAFE_componentWillMount?(): void;
377
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
387
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
378
388
  actions?: ImageAction[] | undefined;
379
389
  } & {} & {
380
390
  locale?: string | undefined;
381
391
  translate?: ((str: string, ...args: any[]) => string) | undefined;
382
392
  }>, nextContext: any): void;
383
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
393
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
384
394
  actions?: ImageAction[] | undefined;
385
395
  } & {} & {
386
396
  locale?: string | undefined;
387
397
  translate?: ((str: string, ...args: any[]) => string) | undefined;
388
398
  }>, nextContext: any): void;
389
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
399
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
390
400
  actions?: ImageAction[] | undefined;
391
401
  } & {} & {
392
402
  locale?: string | undefined;
393
403
  translate?: ((str: string, ...args: any[]) => string) | undefined;
394
404
  }>, nextState: Readonly<{}>, nextContext: any): void;
395
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
405
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
396
406
  actions?: ImageAction[] | undefined;
397
407
  } & {} & {
398
408
  locale?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.9.0
2
+ * amis-ui v3.1.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -34,6 +34,7 @@ var ImageGallery = /** @class */ (function (_super) {
34
34
  scale: 1,
35
35
  rotate: 0,
36
36
  showToolbar: false,
37
+ imageGallaryClassName: '',
37
38
  actions: ImageGallery.defaultProps.actions
38
39
  };
39
40
  _this.handleToolbarAction = debounce(function (action) {
@@ -103,6 +104,8 @@ var ImageGallery = /** @class */ (function (_super) {
103
104
  index: info.index || 0,
104
105
  /* children组件可以控制工具栏的展示 */
105
106
  showToolbar: !!info.showToolbar,
107
+ enlargeWithGallary: info.enlargeWithGallary,
108
+ imageGallaryClassName: info.imageGallaryClassName,
106
109
  /** 外部传入合法key值的actions才会生效 */
107
110
  actions: Array.isArray(info.toolbarActions)
108
111
  ? info.toolbarActions.filter(function (action) {
@@ -150,13 +153,13 @@ var ImageGallery = /** @class */ (function (_super) {
150
153
  ImageGallery.prototype.render = function () {
151
154
  var _this = this;
152
155
  var _a = this.props, children = _a.children, cx = _a.classnames, modalContainer = _a.modalContainer;
153
- var _b = this.state, index = _b.index, items = _b.items, rotate = _b.rotate, scale = _b.scale, showToolbar = _b.showToolbar, actions = _b.actions;
156
+ var _b = this.state, index = _b.index, items = _b.items, rotate = _b.rotate, scale = _b.scale, showToolbar = _b.showToolbar, enlargeWithGallary = _b.enlargeWithGallary, actions = _b.actions, imageGallaryClassName = _b.imageGallaryClassName;
154
157
  var __ = this.props.translate;
155
158
  return (React__default.createElement(React__default.Fragment, null,
156
159
  React__default.cloneElement(children, {
157
160
  onImageEnlarge: this.handleImageEnlarge
158
161
  }),
159
- React__default.createElement(FinalModal, { closeOnEsc: true, size: "full", onHide: this.close, show: this.state.isOpened, contentClassName: cx('ImageGallery'), container: modalContainer },
162
+ React__default.createElement(FinalModal, { closeOnEsc: true, size: "full", onHide: this.close, show: this.state.isOpened, contentClassName: cx('ImageGallery', imageGallaryClassName), container: modalContainer },
160
163
  React__default.createElement("a", { "data-tooltip": __('Dialog.close'), "data-position": "left", className: cx('ImageGallery-close'), onClick: this.close },
161
164
  React__default.createElement(Icon, { icon: "close", className: "icon" })),
162
165
  ~index && items[index] ? (React__default.createElement(React__default.Fragment, null,
@@ -166,12 +169,12 @@ var ImageGallery = /** @class */ (function (_super) {
166
169
  showToolbar && Array.isArray(actions) && actions.length > 0
167
170
  ? this.renderToolbar(actions)
168
171
  : null,
169
- items.length > 1 ? (React__default.createElement(React__default.Fragment, null,
172
+ items.length > 1 && enlargeWithGallary !== false ? (React__default.createElement(React__default.Fragment, null,
170
173
  React__default.createElement("a", { className: cx('ImageGallery-prevBtn', index <= 0 ? 'is-disabled' : ''), onClick: this.prev },
171
174
  React__default.createElement(Icon, { icon: "prev", className: "icon" })),
172
175
  React__default.createElement("a", { className: cx('ImageGallery-nextBtn', index >= items.length - 1 ? 'is-disabled' : ''), onClick: this.next },
173
176
  React__default.createElement(Icon, { icon: "next", className: "icon" })))) : null))) : null,
174
- items.length > 1 ? (React__default.createElement("div", { className: cx('ImageGallery-footer') },
177
+ items.length > 1 && enlargeWithGallary !== false ? (React__default.createElement("div", { className: cx('ImageGallery-footer') },
175
178
  React__default.createElement("a", { className: cx('ImageGallery-prevList is-disabled') },
176
179
  React__default.createElement(Icon, { icon: "prev", className: "icon" })),
177
180
  React__default.createElement("div", { className: cx('ImageGallery-itemsWrap') },
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.9.0
2
+ * amis-ui v3.1.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5