amis-ui 3.6.2 → 6.0.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 (643) hide show
  1. package/esm/components/404.js +1 -1
  2. package/esm/components/Alert.js +1 -1
  3. package/esm/components/Alert2.js +1 -1
  4. package/esm/components/AnchorNav.js +1 -1
  5. package/esm/components/ArrayInput.js +1 -1
  6. package/esm/components/AsideNav.js +1 -1
  7. package/esm/components/AssociatedSelection.js +1 -1
  8. package/esm/components/Avatar.js +1 -1
  9. package/esm/components/Badge.js +1 -1
  10. package/esm/components/BaiduMapPicker.js +1 -1
  11. package/esm/components/BarCode.js +1 -1
  12. package/esm/components/Breadcrumb.js +1 -1
  13. package/esm/components/Button.d.ts +10 -10
  14. package/esm/components/Button.js +1 -1
  15. package/esm/components/CalendarMobile.js +1 -1
  16. package/esm/components/Card.js +1 -1
  17. package/esm/components/Cascader.js +1 -1
  18. package/esm/components/ChainedDropdownSelection.js +1 -1
  19. package/esm/components/ChainedSelection.js +1 -1
  20. package/esm/components/Checkbox.js +1 -1
  21. package/esm/components/CityArea.js +1 -1
  22. package/esm/components/CityDB.js +1 -1
  23. package/esm/components/CodeMirror.js +1 -1
  24. package/esm/components/Collapse.d.ts +11 -11
  25. package/esm/components/Collapse.js +3 -3
  26. package/esm/components/CollapseGroup.js +11 -10
  27. package/esm/components/ColorPicker.js +1 -1
  28. package/esm/components/Combo.js +1 -1
  29. package/esm/components/ConfirmBox.js +1 -1
  30. package/esm/components/ContextMenu.js +1 -1
  31. package/esm/components/DatePicker.d.ts +40 -40
  32. package/esm/components/DatePicker.js +1 -1
  33. package/esm/components/DateRangePicker.d.ts +13 -19
  34. package/esm/components/DateRangePicker.js +16 -10
  35. package/esm/components/DndContainer.js +1 -1
  36. package/esm/components/Drawer.js +1 -1
  37. package/esm/components/DropDownSelection.js +1 -1
  38. package/esm/components/Editor.js +4 -1
  39. package/esm/components/Form.js +1 -1
  40. package/esm/components/FormField.js +1 -1
  41. package/esm/components/GaodeMapPicker.js +1 -1
  42. package/esm/components/GridNav.js +1 -1
  43. package/esm/components/GroupedSelection.js +1 -1
  44. package/esm/components/Html.js +1 -1
  45. package/esm/components/ImageGallery.js +1 -1
  46. package/esm/components/Input.js +1 -1
  47. package/esm/components/InputBox.d.ts +10 -10
  48. package/esm/components/InputBox.js +1 -1
  49. package/esm/components/InputBoxWithSuggestion.js +1 -1
  50. package/esm/components/InputTable.js +1 -1
  51. package/esm/components/Layout.js +1 -1
  52. package/esm/components/Link.js +1 -1
  53. package/esm/components/ListGroup.d.ts +10 -10
  54. package/esm/components/ListGroup.js +1 -1
  55. package/esm/components/ListMenu.js +1 -1
  56. package/esm/components/LocationPicker.js +1 -1
  57. package/esm/components/Markdown.js +1 -1
  58. package/esm/components/Modal.js +1 -1
  59. package/esm/components/ModalManager.js +1 -1
  60. package/esm/components/MultilineText.js +1 -1
  61. package/esm/components/NumberInput.d.ts +2 -1
  62. package/esm/components/NumberInput.js +16 -6
  63. package/esm/components/OverflowTpl.d.ts +62 -0
  64. package/esm/components/OverflowTpl.js +101 -0
  65. package/esm/components/Pagination.d.ts +112 -0
  66. package/esm/components/Pagination.js +89 -10
  67. package/esm/components/Picker.js +1 -1
  68. package/esm/components/PickerColumn.js +1 -1
  69. package/esm/components/PickerContainer.js +1 -1
  70. package/esm/components/PopOverContainer.d.ts +2 -0
  71. package/esm/components/PopOverContainer.js +8 -6
  72. package/esm/components/PopUp.js +1 -1
  73. package/esm/components/Progress.js +2 -2
  74. package/esm/components/PullRefresh.js +1 -1
  75. package/esm/components/Radios.js +1 -1
  76. package/esm/components/Range.js +1 -1
  77. package/esm/components/Rating.js +1 -1
  78. package/esm/components/ResultBox.d.ts +40 -40
  79. package/esm/components/ResultBox.js +1 -1
  80. package/esm/components/ResultList.js +1 -1
  81. package/esm/components/ResultTableList.js +1 -1
  82. package/esm/components/ResultTreeList.js +1 -1
  83. package/esm/components/RichText.js +6 -7
  84. package/esm/components/SearchBox.d.ts +44 -42
  85. package/esm/components/SearchBox.js +6 -4
  86. package/esm/components/Select.js +1 -1
  87. package/esm/components/SelectMobile.js +12 -10
  88. package/esm/components/Selection.js +1 -1
  89. package/esm/components/SparkLine.js +1 -1
  90. package/esm/components/Spinner.js +1 -1
  91. package/esm/components/Steps.js +1 -1
  92. package/esm/components/Switch.js +1 -1
  93. package/esm/components/TableSelection.js +1 -1
  94. package/esm/components/Tabs.js +1 -1
  95. package/esm/components/TabsTransfer.js +1 -1
  96. package/esm/components/TabsTransferPicker.js +1 -1
  97. package/esm/components/Tag.d.ts +20 -20
  98. package/esm/components/Tag.js +1 -1
  99. package/esm/components/Textarea.js +1 -1
  100. package/esm/components/Timeline.js +1 -1
  101. package/esm/components/TimelineItem.js +1 -1
  102. package/esm/components/Tinymce.js +3 -2
  103. package/esm/components/TitleBar.js +1 -1
  104. package/esm/components/Toast.js +1 -1
  105. package/esm/components/Tooltip.js +1 -1
  106. package/esm/components/TooltipWrapper.js +1 -1
  107. package/esm/components/Transfer.d.ts +90 -50
  108. package/esm/components/Transfer.js +2 -1
  109. package/esm/components/TransferDropDown.d.ts +80 -40
  110. package/esm/components/TransferDropDown.js +1 -1
  111. package/esm/components/TransferPicker.js +1 -1
  112. package/esm/components/TransferSearch.js +1 -1
  113. package/esm/components/Tree.js +1 -1
  114. package/esm/components/TreeSelection.js +1 -1
  115. package/esm/components/UserSelect.js +1 -1
  116. package/esm/components/UserTabSelect.js +1 -1
  117. package/esm/components/WithRemoteConfig.js +1 -1
  118. package/esm/components/WithStore.js +1 -1
  119. package/esm/components/calendar/Calendar.d.ts +3 -1
  120. package/esm/components/calendar/Calendar.js +4 -3
  121. package/esm/components/calendar/CalendarContainer.js +1 -1
  122. package/esm/components/calendar/DaysView.js +1 -1
  123. package/esm/components/calendar/MonthsView.js +1 -1
  124. package/esm/components/calendar/QuartersView.js +1 -1
  125. package/esm/components/calendar/TimeView.d.ts +6 -0
  126. package/esm/components/calendar/TimeView.js +105 -10
  127. package/esm/components/calendar/YearsView.js +1 -1
  128. package/esm/components/condition-builder/Expression.js +1 -1
  129. package/esm/components/condition-builder/Field.js +1 -1
  130. package/esm/components/condition-builder/Func.js +1 -1
  131. package/esm/components/condition-builder/Group.js +1 -1
  132. package/esm/components/condition-builder/GroupOrItem.js +1 -1
  133. package/esm/components/condition-builder/InputSwitch.js +1 -1
  134. package/esm/components/condition-builder/Item.js +10 -5
  135. package/esm/components/condition-builder/Value.js +1 -1
  136. package/esm/components/condition-builder/config.js +1 -1
  137. package/esm/components/condition-builder/index.js +11 -2
  138. package/esm/components/formula/Editor.js +10 -1
  139. package/esm/components/formula/FuncList.js +1 -1
  140. package/esm/components/formula/Input.js +80 -26
  141. package/esm/components/formula/Picker.js +1 -1
  142. package/esm/components/formula/VariableList.js +3 -3
  143. package/esm/components/formula/plugin.js +1 -1
  144. package/esm/components/icons.d.ts +1 -1
  145. package/esm/components/icons.js +14 -8
  146. package/esm/components/index.d.ts +2 -1
  147. package/esm/components/json-schema/Array.js +1 -1
  148. package/esm/components/json-schema/Item.js +1 -1
  149. package/esm/components/json-schema/Object.js +1 -1
  150. package/esm/components/json-schema/index.js +1 -1
  151. package/esm/components/menu/MenuContext.js +1 -1
  152. package/esm/components/menu/MenuItem.js +1 -1
  153. package/esm/components/menu/SubMenu.js +1 -1
  154. package/esm/components/menu/index.d.ts +10 -10
  155. package/esm/components/menu/index.js +1 -1
  156. package/esm/components/schema-editor/Array.js +1 -1
  157. package/esm/components/schema-editor/Common.js +1 -1
  158. package/esm/components/schema-editor/Item.js +1 -1
  159. package/esm/components/schema-editor/Object.js +1 -1
  160. package/esm/components/schema-editor/SchemaVariableList.js +1 -1
  161. package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
  162. package/esm/components/schema-editor/index.js +1 -1
  163. package/esm/components/table/Cell.js +1 -1
  164. package/esm/components/table/ColGroup.js +1 -1
  165. package/esm/components/table/Head.js +15 -6
  166. package/esm/components/table/HeadCellDropDown.js +1 -1
  167. package/esm/components/table/HeadCellFilter.js +12 -25
  168. package/esm/components/table/HeadCellSelect.js +1 -1
  169. package/esm/components/table/HeadCellSort.js +1 -1
  170. package/esm/components/table/ItemActionsWrapper.js +1 -1
  171. package/esm/components/table/Row.d.ts +10 -17
  172. package/esm/components/table/Row.js +47 -5
  173. package/esm/components/table/SummaryRow.js +2 -2
  174. package/esm/components/table/index.d.ts +44 -42
  175. package/esm/components/table/index.js +30 -56
  176. package/esm/components/table/util.d.ts +3 -2
  177. package/esm/components/table/util.js +39 -7
  178. package/esm/components/virtual-list/AutoSizer.js +1 -1
  179. package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
  180. package/esm/components/virtual-list/constants.js +1 -1
  181. package/esm/components/virtual-list/index.js +1 -1
  182. package/esm/hooks/use-set-state.js +1 -1
  183. package/esm/hooks/use-sub-form.js +1 -1
  184. package/esm/hooks/use-touch.js +1 -1
  185. package/esm/hooks/use-update-effect.js +1 -1
  186. package/esm/hooks/use-validation-resolver.js +1 -1
  187. package/esm/icons/alert-danger.svg.js +1 -1
  188. package/esm/icons/alert-info.svg.js +1 -1
  189. package/esm/icons/alert-success.svg.js +1 -1
  190. package/esm/icons/alert-warning.svg.js +1 -1
  191. package/esm/icons/arrow-double-left.svg.js +24 -0
  192. package/esm/icons/arrow-double-right.svg.js +24 -0
  193. package/esm/icons/back.svg.js +1 -1
  194. package/esm/icons/calendar.svg.js +1 -1
  195. package/esm/icons/caret.svg.js +1 -1
  196. package/esm/icons/check.svg.js +1 -1
  197. package/esm/icons/clock.svg.js +1 -1
  198. package/esm/icons/close-small.svg.js +1 -1
  199. package/esm/icons/close.svg.js +1 -1
  200. package/esm/icons/cloud-upload.svg.js +1 -1
  201. package/esm/icons/column-filter.svg.js +1 -1
  202. package/esm/icons/columns.svg.js +1 -1
  203. package/esm/icons/compress-alt.svg.js +1 -1
  204. package/esm/icons/copy.svg.js +1 -1
  205. package/esm/icons/date.svg.js +1 -1
  206. package/esm/icons/department.svg.js +1 -1
  207. package/esm/icons/desk-empty.svg.js +1 -1
  208. package/esm/icons/dot.svg.js +1 -1
  209. package/esm/icons/down-arrow-bold.svg.js +1 -1
  210. package/esm/icons/down.svg.js +1 -1
  211. package/esm/icons/download.svg.js +1 -1
  212. package/esm/icons/drag-bar.svg.js +1 -1
  213. package/esm/icons/drag.svg.js +1 -1
  214. package/esm/icons/edit.svg.js +1 -1
  215. package/esm/icons/ellipsis-v.svg.js +1 -1
  216. package/esm/icons/enter.svg.js +1 -1
  217. package/esm/icons/exchange.svg.js +1 -1
  218. package/esm/icons/expand-alt.svg.js +1 -1
  219. package/esm/icons/fail.svg.js +1 -1
  220. package/esm/icons/file.svg.js +1 -1
  221. package/esm/icons/filter.svg.js +1 -1
  222. package/esm/icons/folder.svg.js +1 -1
  223. package/esm/icons/function.svg.js +1 -1
  224. package/esm/icons/home.svg.js +1 -1
  225. package/esm/icons/if.svg.js +1 -1
  226. package/esm/icons/image.svg.js +1 -1
  227. package/esm/icons/info-circle.svg.js +1 -1
  228. package/esm/icons/info.svg.js +1 -1
  229. package/esm/icons/input-clear.svg.js +1 -1
  230. package/esm/icons/invisible.svg.js +1 -1
  231. package/esm/icons/left-arrow.svg.js +1 -1
  232. package/esm/icons/loading-outline.svg.js +1 -1
  233. package/esm/icons/location.svg.js +1 -1
  234. package/esm/icons/menu.svg.js +1 -1
  235. package/esm/icons/minus.svg.js +1 -1
  236. package/esm/icons/move.svg.js +1 -1
  237. package/esm/icons/mute.svg.js +1 -1
  238. package/esm/icons/new-edit.svg.js +1 -1
  239. package/esm/icons/pause.svg.js +1 -1
  240. package/esm/icons/pencil.svg.js +1 -1
  241. package/esm/icons/play.svg.js +1 -1
  242. package/esm/icons/plus-cicle.svg.js +1 -1
  243. package/esm/icons/plus-fine.svg.js +1 -1
  244. package/esm/icons/plus.svg.js +1 -1
  245. package/esm/icons/post.svg.js +1 -1
  246. package/esm/icons/question-mark.svg.js +1 -1
  247. package/esm/icons/question.svg.js +1 -1
  248. package/esm/icons/redo.svg.js +1 -1
  249. package/esm/icons/refresh.svg.js +1 -1
  250. package/esm/icons/reload.svg.js +1 -1
  251. package/esm/icons/remove.svg.js +1 -1
  252. package/esm/icons/retry.svg.js +1 -1
  253. package/esm/icons/right-arrow-bold.svg.js +1 -1
  254. package/esm/icons/right-arrow.svg.js +1 -1
  255. package/esm/icons/right-double-arrow.svg.js +1 -1
  256. package/esm/icons/role.svg.js +1 -1
  257. package/esm/icons/rotate-left.svg.js +1 -1
  258. package/esm/icons/rotate-right.svg.js +1 -1
  259. package/esm/icons/scale-origin.svg.js +1 -1
  260. package/esm/icons/schedule.svg.js +1 -1
  261. package/esm/icons/search.svg.js +1 -1
  262. package/esm/icons/setting.svg.js +1 -1
  263. package/esm/icons/slider-handle-icon.svg.js +1 -1
  264. package/esm/icons/sort-asc.svg.js +1 -1
  265. package/esm/icons/sort-default.svg.js +1 -1
  266. package/esm/icons/sort-desc.svg.js +1 -1
  267. package/esm/icons/star.svg.js +1 -1
  268. package/esm/icons/status-close.svg.js +1 -1
  269. package/esm/icons/steps-finsh.svg.js +1 -1
  270. package/esm/icons/success.svg.js +1 -1
  271. package/esm/icons/transparent.svg.js +1 -1
  272. package/esm/icons/trash.svg.js +1 -1
  273. package/esm/icons/tree-down.svg.js +1 -1
  274. package/esm/icons/undo.svg.js +1 -1
  275. package/esm/icons/upload.svg.js +1 -1
  276. package/esm/icons/user-remove.svg.js +1 -1
  277. package/esm/icons/view.svg.js +1 -1
  278. package/esm/icons/volume.svg.js +1 -1
  279. package/esm/icons/warning-mark.svg.js +1 -1
  280. package/esm/icons/warning.svg.js +1 -1
  281. package/esm/icons/window-restore.svg.js +1 -1
  282. package/esm/icons/zoom-in.svg.js +1 -1
  283. package/esm/icons/zoom-out.svg.js +1 -1
  284. package/esm/index.js +2 -1
  285. package/esm/locale/de-DE.js +1 -1
  286. package/esm/locale/en-US.js +1 -1
  287. package/esm/locale/zh-CN.js +2 -2
  288. package/esm/themes/ang.js +1 -1
  289. package/esm/themes/antd.js +1 -1
  290. package/esm/themes/cxd.js +1 -1
  291. package/esm/themes/dark.js +1 -1
  292. package/lib/components/404.js +1 -1
  293. package/lib/components/Alert.js +1 -1
  294. package/lib/components/Alert2.js +1 -1
  295. package/lib/components/AnchorNav.js +1 -1
  296. package/lib/components/ArrayInput.js +1 -1
  297. package/lib/components/AsideNav.js +1 -1
  298. package/lib/components/AssociatedSelection.d.ts +40 -40
  299. package/lib/components/AssociatedSelection.js +1 -1
  300. package/lib/components/Avatar.js +1 -1
  301. package/lib/components/Badge.js +1 -1
  302. package/lib/components/BaiduMapPicker.js +1 -1
  303. package/lib/components/BarCode.js +1 -1
  304. package/lib/components/Breadcrumb.js +1 -1
  305. package/lib/components/Button.d.ts +10 -10
  306. package/lib/components/Button.js +1 -1
  307. package/lib/components/CalendarMobile.js +1 -1
  308. package/lib/components/Card.js +1 -1
  309. package/lib/components/Cascader.js +1 -1
  310. package/lib/components/ChainedDropdownSelection.d.ts +40 -40
  311. package/lib/components/ChainedDropdownSelection.js +1 -1
  312. package/lib/components/ChainedSelection.d.ts +40 -40
  313. package/lib/components/ChainedSelection.js +1 -1
  314. package/lib/components/Checkbox.js +1 -1
  315. package/lib/components/CityArea.js +1 -1
  316. package/lib/components/CityDB.js +1 -1
  317. package/lib/components/CodeMirror.js +1 -1
  318. package/lib/components/Collapse.d.ts +11 -11
  319. package/lib/components/Collapse.js +3 -3
  320. package/lib/components/CollapseGroup.js +11 -10
  321. package/lib/components/ColorPicker.js +1 -1
  322. package/lib/components/Combo.js +1 -1
  323. package/lib/components/ConfirmBox.js +1 -1
  324. package/lib/components/ContextMenu.js +1 -1
  325. package/lib/components/DatePicker.d.ts +40 -40
  326. package/lib/components/DatePicker.js +1 -1
  327. package/lib/components/DateRangePicker.d.ts +13 -19
  328. package/lib/components/DateRangePicker.js +16 -10
  329. package/lib/components/DndContainer.js +1 -1
  330. package/lib/components/Drawer.js +1 -1
  331. package/lib/components/DropDownSelection.d.ts +40 -40
  332. package/lib/components/DropDownSelection.js +1 -1
  333. package/lib/components/Editor.d.ts +40 -40
  334. package/lib/components/Editor.js +4 -1
  335. package/lib/components/Form.js +1 -1
  336. package/lib/components/FormField.js +1 -1
  337. package/lib/components/GaodeMapPicker.js +1 -1
  338. package/lib/components/GridNav.js +1 -1
  339. package/lib/components/GroupedSelection.d.ts +40 -40
  340. package/lib/components/GroupedSelection.js +1 -1
  341. package/lib/components/Html.js +1 -1
  342. package/lib/components/ImageGallery.js +1 -1
  343. package/lib/components/Input.js +1 -1
  344. package/lib/components/InputBox.d.ts +10 -10
  345. package/lib/components/InputBox.js +1 -1
  346. package/lib/components/InputBoxWithSuggestion.js +1 -1
  347. package/lib/components/InputTable.js +1 -1
  348. package/lib/components/Layout.js +1 -1
  349. package/lib/components/Link.js +1 -1
  350. package/lib/components/ListGroup.d.ts +10 -10
  351. package/lib/components/ListGroup.js +1 -1
  352. package/lib/components/ListMenu.js +1 -1
  353. package/lib/components/LocationPicker.js +1 -1
  354. package/lib/components/Markdown.js +1 -1
  355. package/lib/components/Modal.js +1 -1
  356. package/lib/components/ModalManager.js +1 -1
  357. package/lib/components/MultilineText.js +1 -1
  358. package/lib/components/NumberInput.d.ts +12 -11
  359. package/lib/components/NumberInput.js +16 -6
  360. package/lib/components/OverflowTpl.d.ts +62 -0
  361. package/lib/components/OverflowTpl.js +109 -0
  362. package/lib/components/Pagination.d.ts +112 -0
  363. package/lib/components/Pagination.js +89 -10
  364. package/lib/components/Picker.js +1 -1
  365. package/lib/components/PickerColumn.js +1 -1
  366. package/lib/components/PickerContainer.js +1 -1
  367. package/lib/components/PopOverContainer.d.ts +2 -0
  368. package/lib/components/PopOverContainer.js +8 -6
  369. package/lib/components/PopUp.js +1 -1
  370. package/lib/components/Progress.js +2 -2
  371. package/lib/components/PullRefresh.js +1 -1
  372. package/lib/components/Radios.d.ts +10 -10
  373. package/lib/components/Radios.js +1 -1
  374. package/lib/components/Range.js +1 -1
  375. package/lib/components/Rating.js +1 -1
  376. package/lib/components/ResultBox.d.ts +80 -80
  377. package/lib/components/ResultBox.js +1 -1
  378. package/lib/components/ResultList.js +1 -1
  379. package/lib/components/ResultTableList.d.ts +40 -40
  380. package/lib/components/ResultTableList.js +1 -1
  381. package/lib/components/ResultTreeList.js +1 -1
  382. package/lib/components/RichText.js +7 -7
  383. package/lib/components/SearchBox.d.ts +44 -42
  384. package/lib/components/SearchBox.js +6 -4
  385. package/lib/components/Select.d.ts +193 -193
  386. package/lib/components/Select.js +1 -1
  387. package/lib/components/SelectMobile.js +12 -10
  388. package/lib/components/Selection.d.ts +40 -40
  389. package/lib/components/Selection.js +1 -1
  390. package/lib/components/SparkLine.js +1 -1
  391. package/lib/components/Spinner.js +1 -1
  392. package/lib/components/Steps.js +1 -1
  393. package/lib/components/Switch.js +1 -1
  394. package/lib/components/TableSelection.d.ts +40 -40
  395. package/lib/components/TableSelection.js +1 -1
  396. package/lib/components/Tabs.js +1 -1
  397. package/lib/components/TabsTransfer.d.ts +40 -40
  398. package/lib/components/TabsTransfer.js +1 -1
  399. package/lib/components/TabsTransferPicker.js +1 -1
  400. package/lib/components/Tag.d.ts +10 -10
  401. package/lib/components/Tag.js +1 -1
  402. package/lib/components/Textarea.d.ts +40 -40
  403. package/lib/components/Textarea.js +1 -1
  404. package/lib/components/Timeline.js +1 -1
  405. package/lib/components/TimelineItem.js +1 -1
  406. package/lib/components/Tinymce.js +4 -2
  407. package/lib/components/TitleBar.js +1 -1
  408. package/lib/components/Toast.d.ts +40 -40
  409. package/lib/components/Toast.js +1 -1
  410. package/lib/components/Tooltip.js +1 -1
  411. package/lib/components/TooltipWrapper.js +1 -1
  412. package/lib/components/Transfer.d.ts +90 -50
  413. package/lib/components/Transfer.js +2 -1
  414. package/lib/components/TransferDropDown.d.ts +80 -40
  415. package/lib/components/TransferDropDown.js +1 -1
  416. package/lib/components/TransferPicker.js +1 -1
  417. package/lib/components/TransferSearch.js +1 -1
  418. package/lib/components/Tree.d.ts +40 -40
  419. package/lib/components/Tree.js +1 -1
  420. package/lib/components/TreeSelection.d.ts +40 -40
  421. package/lib/components/TreeSelection.js +1 -1
  422. package/lib/components/UserSelect.d.ts +40 -40
  423. package/lib/components/UserSelect.js +1 -1
  424. package/lib/components/UserTabSelect.d.ts +40 -40
  425. package/lib/components/UserTabSelect.js +1 -1
  426. package/lib/components/WithRemoteConfig.js +1 -1
  427. package/lib/components/WithStore.js +1 -1
  428. package/lib/components/calendar/Calendar.d.ts +3 -1
  429. package/lib/components/calendar/Calendar.js +4 -3
  430. package/lib/components/calendar/CalendarContainer.js +1 -1
  431. package/lib/components/calendar/DaysView.js +1 -1
  432. package/lib/components/calendar/MonthsView.js +1 -1
  433. package/lib/components/calendar/QuartersView.js +1 -1
  434. package/lib/components/calendar/TimeView.d.ts +6 -0
  435. package/lib/components/calendar/TimeView.js +103 -8
  436. package/lib/components/calendar/YearsView.js +1 -1
  437. package/lib/components/condition-builder/Expression.js +1 -1
  438. package/lib/components/condition-builder/Field.js +1 -1
  439. package/lib/components/condition-builder/Func.js +1 -1
  440. package/lib/components/condition-builder/Group.js +1 -1
  441. package/lib/components/condition-builder/GroupOrItem.js +1 -1
  442. package/lib/components/condition-builder/InputSwitch.js +1 -1
  443. package/lib/components/condition-builder/Item.js +10 -5
  444. package/lib/components/condition-builder/Value.js +1 -1
  445. package/lib/components/condition-builder/config.js +1 -1
  446. package/lib/components/condition-builder/index.js +11 -2
  447. package/lib/components/formula/Editor.js +10 -1
  448. package/lib/components/formula/FuncList.js +1 -1
  449. package/lib/components/formula/Input.js +79 -25
  450. package/lib/components/formula/Picker.d.ts +40 -40
  451. package/lib/components/formula/Picker.js +1 -1
  452. package/lib/components/formula/VariableList.js +3 -3
  453. package/lib/components/formula/plugin.js +1 -1
  454. package/lib/components/icons.d.ts +1 -1
  455. package/lib/components/icons.js +14 -8
  456. package/lib/components/index.d.ts +2 -1
  457. package/lib/components/json-schema/Array.js +1 -1
  458. package/lib/components/json-schema/Item.js +1 -1
  459. package/lib/components/json-schema/Object.js +1 -1
  460. package/lib/components/json-schema/index.js +1 -1
  461. package/lib/components/menu/MenuContext.js +1 -1
  462. package/lib/components/menu/MenuItem.js +1 -1
  463. package/lib/components/menu/SubMenu.js +1 -1
  464. package/lib/components/menu/index.d.ts +10 -10
  465. package/lib/components/menu/index.js +1 -1
  466. package/lib/components/schema-editor/Array.js +1 -1
  467. package/lib/components/schema-editor/Common.js +1 -1
  468. package/lib/components/schema-editor/Item.js +1 -1
  469. package/lib/components/schema-editor/Object.js +1 -1
  470. package/lib/components/schema-editor/SchemaVariableList.js +1 -1
  471. package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
  472. package/lib/components/schema-editor/index.js +1 -1
  473. package/lib/components/table/Cell.js +1 -1
  474. package/lib/components/table/ColGroup.js +1 -1
  475. package/lib/components/table/Head.js +15 -6
  476. package/lib/components/table/HeadCellDropDown.js +1 -1
  477. package/lib/components/table/HeadCellFilter.js +12 -25
  478. package/lib/components/table/HeadCellSelect.js +1 -1
  479. package/lib/components/table/HeadCellSort.js +1 -1
  480. package/lib/components/table/ItemActionsWrapper.js +1 -1
  481. package/lib/components/table/Row.d.ts +10 -17
  482. package/lib/components/table/Row.js +46 -4
  483. package/lib/components/table/SummaryRow.js +2 -2
  484. package/lib/components/table/index.d.ts +44 -42
  485. package/lib/components/table/index.js +27 -53
  486. package/lib/components/table/util.d.ts +3 -2
  487. package/lib/components/table/util.js +40 -7
  488. package/lib/components/virtual-list/AutoSizer.js +1 -1
  489. package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
  490. package/lib/components/virtual-list/constants.js +1 -1
  491. package/lib/components/virtual-list/index.js +1 -1
  492. package/lib/helper.css +9603 -1234
  493. package/lib/hooks/use-set-state.js +1 -1
  494. package/lib/hooks/use-sub-form.js +1 -1
  495. package/lib/hooks/use-touch.js +1 -1
  496. package/lib/hooks/use-update-effect.js +1 -1
  497. package/lib/hooks/use-validation-resolver.js +1 -1
  498. package/lib/icons/alert-danger.svg.js +1 -1
  499. package/lib/icons/alert-info.svg.js +1 -1
  500. package/lib/icons/alert-success.svg.js +1 -1
  501. package/lib/icons/alert-warning.svg.js +1 -1
  502. package/lib/icons/arrow-double-left.svg.js +31 -0
  503. package/lib/icons/arrow-double-right.svg.js +31 -0
  504. package/lib/icons/back.svg.js +1 -1
  505. package/lib/icons/calendar.svg.js +1 -1
  506. package/lib/icons/caret.svg.js +1 -1
  507. package/lib/icons/check.svg.js +1 -1
  508. package/lib/icons/clock.svg.js +1 -1
  509. package/lib/icons/close-small.svg.js +1 -1
  510. package/lib/icons/close.svg.js +1 -1
  511. package/lib/icons/cloud-upload.svg.js +1 -1
  512. package/lib/icons/column-filter.svg.js +1 -1
  513. package/lib/icons/columns.svg.js +1 -1
  514. package/lib/icons/compress-alt.svg.js +1 -1
  515. package/lib/icons/copy.svg.js +1 -1
  516. package/lib/icons/date.svg.js +1 -1
  517. package/lib/icons/department.svg.js +1 -1
  518. package/lib/icons/desk-empty.svg.js +1 -1
  519. package/lib/icons/dot.svg.js +1 -1
  520. package/lib/icons/down-arrow-bold.svg.js +1 -1
  521. package/lib/icons/down.svg.js +1 -1
  522. package/lib/icons/download.svg.js +1 -1
  523. package/lib/icons/drag-bar.svg.js +1 -1
  524. package/lib/icons/drag.svg.js +1 -1
  525. package/lib/icons/edit.svg.js +1 -1
  526. package/lib/icons/ellipsis-v.svg.js +1 -1
  527. package/lib/icons/enter.svg.js +1 -1
  528. package/lib/icons/exchange.svg.js +1 -1
  529. package/lib/icons/expand-alt.svg.js +1 -1
  530. package/lib/icons/fail.svg.js +1 -1
  531. package/lib/icons/file.svg.js +1 -1
  532. package/lib/icons/filter.svg.js +1 -1
  533. package/lib/icons/folder.svg.js +1 -1
  534. package/lib/icons/function.svg.js +1 -1
  535. package/lib/icons/home.svg.js +1 -1
  536. package/lib/icons/if.svg.js +1 -1
  537. package/lib/icons/image.svg.js +1 -1
  538. package/lib/icons/info-circle.svg.js +1 -1
  539. package/lib/icons/info.svg.js +1 -1
  540. package/lib/icons/input-clear.svg.js +1 -1
  541. package/lib/icons/invisible.svg.js +1 -1
  542. package/lib/icons/left-arrow.svg.js +1 -1
  543. package/lib/icons/loading-outline.svg.js +1 -1
  544. package/lib/icons/location.svg.js +1 -1
  545. package/lib/icons/menu.svg.js +1 -1
  546. package/lib/icons/minus.svg.js +1 -1
  547. package/lib/icons/move.svg.js +1 -1
  548. package/lib/icons/mute.svg.js +1 -1
  549. package/lib/icons/new-edit.svg.js +1 -1
  550. package/lib/icons/pause.svg.js +1 -1
  551. package/lib/icons/pencil.svg.js +1 -1
  552. package/lib/icons/play.svg.js +1 -1
  553. package/lib/icons/plus-cicle.svg.js +1 -1
  554. package/lib/icons/plus-fine.svg.js +1 -1
  555. package/lib/icons/plus.svg.js +1 -1
  556. package/lib/icons/post.svg.js +1 -1
  557. package/lib/icons/question-mark.svg.js +1 -1
  558. package/lib/icons/question.svg.js +1 -1
  559. package/lib/icons/redo.svg.js +1 -1
  560. package/lib/icons/refresh.svg.js +1 -1
  561. package/lib/icons/reload.svg.js +1 -1
  562. package/lib/icons/remove.svg.js +1 -1
  563. package/lib/icons/retry.svg.js +1 -1
  564. package/lib/icons/right-arrow-bold.svg.js +1 -1
  565. package/lib/icons/right-arrow.svg.js +1 -1
  566. package/lib/icons/right-double-arrow.svg.js +1 -1
  567. package/lib/icons/role.svg.js +1 -1
  568. package/lib/icons/rotate-left.svg.js +1 -1
  569. package/lib/icons/rotate-right.svg.js +1 -1
  570. package/lib/icons/scale-origin.svg.js +1 -1
  571. package/lib/icons/schedule.svg.js +1 -1
  572. package/lib/icons/search.svg.js +1 -1
  573. package/lib/icons/setting.svg.js +1 -1
  574. package/lib/icons/slider-handle-icon.svg.js +1 -1
  575. package/lib/icons/sort-asc.svg.js +1 -1
  576. package/lib/icons/sort-default.svg.js +1 -1
  577. package/lib/icons/sort-desc.svg.js +1 -1
  578. package/lib/icons/star.svg.js +1 -1
  579. package/lib/icons/status-close.svg.js +1 -1
  580. package/lib/icons/steps-finsh.svg.js +1 -1
  581. package/lib/icons/success.svg.js +1 -1
  582. package/lib/icons/transparent.svg.js +1 -1
  583. package/lib/icons/trash.svg.js +1 -1
  584. package/lib/icons/tree-down.svg.js +1 -1
  585. package/lib/icons/undo.svg.js +1 -1
  586. package/lib/icons/upload.svg.js +1 -1
  587. package/lib/icons/user-remove.svg.js +1 -1
  588. package/lib/icons/view.svg.js +1 -1
  589. package/lib/icons/volume.svg.js +1 -1
  590. package/lib/icons/warning-mark.svg.js +1 -1
  591. package/lib/icons/warning.svg.js +1 -1
  592. package/lib/icons/window-restore.svg.js +1 -1
  593. package/lib/icons/zoom-in.svg.js +1 -1
  594. package/lib/icons/zoom-out.svg.js +1 -1
  595. package/lib/index.js +3 -1
  596. package/lib/locale/de-DE.js +1 -1
  597. package/lib/locale/en-US.js +1 -1
  598. package/lib/locale/zh-CN.js +2 -2
  599. package/lib/scss/helper.scss.js +1 -1
  600. package/lib/scss/themes/ang.scss.js +1 -1
  601. package/lib/scss/themes/antd.scss.js +1 -1
  602. package/lib/scss/themes/cxd.scss.js +1 -1
  603. package/lib/scss/themes/dark.scss.js +1 -1
  604. package/lib/scss/themes/default.scss.js +1 -1
  605. package/lib/themes/ang.css +667 -292
  606. package/lib/themes/ang.js +1 -1
  607. package/lib/themes/antd.css +667 -292
  608. package/lib/themes/antd.js +1 -1
  609. package/lib/themes/cxd.css +667 -292
  610. package/lib/themes/cxd.js +1 -1
  611. package/lib/themes/dark.css +667 -292
  612. package/lib/themes/dark.js +1 -1
  613. package/lib/themes/default.css +667 -292
  614. package/package.json +5 -4
  615. package/scss/_components.scss +3 -3
  616. package/scss/_mixins.scss +4 -0
  617. package/scss/_properties.scss +7 -3
  618. package/scss/components/_alert.scss +1 -0
  619. package/scss/components/_cards.scss +10 -1
  620. package/scss/components/_condition-builder.scss +1 -1
  621. package/scss/components/_dropdown.scss +1 -1
  622. package/scss/components/_list.scss +10 -1
  623. package/scss/components/_menu.scss +2 -2
  624. package/scss/components/_overflow-tpl.scss +5 -0
  625. package/scss/components/_pagination.scss +118 -8
  626. package/scss/components/_search-box.scss +7 -4
  627. package/scss/components/_table.scss +15 -0
  628. package/scss/components/_table2.scss +8 -2
  629. package/scss/components/form/_checks.scss +5 -5
  630. package/scss/components/form/_date-range.scss +1 -1
  631. package/scss/components/form/_date.scss +13 -1
  632. package/scss/components/form/_fieldset.scss +0 -2
  633. package/scss/components/form/_input-group.scss +21 -10
  634. package/scss/components/form/_picker.scss +0 -1
  635. package/scss/components/form/_range.scss +82 -0
  636. package/scss/components/form/_result-list.scss +6 -0
  637. package/scss/components/form/_select.scss +1 -0
  638. package/scss/components/form/_selection.scss +4 -0
  639. package/scss/components/form/_tag.scss +3 -0
  640. package/scss/components/form/_text.scss +1 -0
  641. package/scss/components/form/_textarea.scss +1 -0
  642. package/scss/components/form/_tree.scss +1 -1
  643. package/scss/themes/_common.scss +1 -0
@@ -9,7 +9,7 @@ import moment, { unitOfTime } from 'moment';
9
9
  import { ShortCuts } from './DatePicker';
10
10
  import type { Moment } from 'moment';
11
11
  import type { PlainObject, ThemeProps, LocaleProps } from 'amis-core';
12
- import type { ViewMode, ChangeEventViewMode } from './calendar/Calendar';
12
+ import type { ViewMode, ChangeEventViewMode, ChangeEventViewStatus } from './calendar/Calendar';
13
13
  export interface DateRangePickerProps extends ThemeProps, LocaleProps {
14
14
  className?: string;
15
15
  popoverClassName?: string;
@@ -147,7 +147,7 @@ export declare class DateRangePicker extends React.Component<DateRangePickerProp
147
147
  /** 自动初始化绑定值,用于首次选择且当前未绑定值,默认使用当前时间 */
148
148
  autoInitDefaultValue?: boolean;
149
149
  }): moment.Moment;
150
- handleDateChange(newValue: moment.Moment): void;
150
+ handleDateChange(newValue: moment.Moment, viewMode?: ChangeEventViewMode, status?: ChangeEventViewStatus): void;
151
151
  /**
152
152
  * @param {Moment} newValue 当前选择的日期时间值
153
153
  * @param {ViewMode=} subControlViewMode 子选择控件的类型,可选参数('time'),用于区分datetime选择器的触发控件
@@ -232,7 +232,7 @@ declare const _default: {
232
232
  } & {
233
233
  locale?: string | undefined;
234
234
  translate?: ((str: string, ...args: any[]) => string) | undefined;
235
- }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
235
+ }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; /** 开始时间 */
236
236
  forceUpdate(callback?: (() => void) | undefined): void;
237
237
  readonly props: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
238
238
  clearable?: boolean | undefined;
@@ -252,7 +252,7 @@ declare const _default: {
252
252
  } & {
253
253
  locale?: string | undefined;
254
254
  translate?: ((str: string, ...args: any[]) => string) | undefined;
255
- }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
255
+ }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>; /** 当前编辑的时间类型:开始时间 | 结束时间 */
256
256
  state: Readonly<{}>;
257
257
  refs: {
258
258
  [key: string]: React.ReactInstance;
@@ -419,9 +419,7 @@ declare const _default: {
419
419
  translate?: ((str: string, ...args: any[]) => string) | undefined;
420
420
  }): {
421
421
  ref: any;
422
- childRef(ref: any): void; /**
423
- * @deprecated 3.1.0后废弃,用shortcuts替代
424
- */
422
+ childRef(ref: any): void;
425
423
  getWrappedInstance(): any;
426
424
  render(): React.JSX.Element;
427
425
  context: unknown;
@@ -462,9 +460,9 @@ declare const _default: {
462
460
  endDateOpenedFirst?: boolean | undefined;
463
461
  } & {
464
462
  locale?: string | undefined;
465
- translate?: ((str: string, ...args: any[]) => string) | undefined;
463
+ translate?: ((str: string, ...args: any[]) => string) | undefined; /** 是否开启游标动画 */
466
464
  }>;
467
- state: Readonly<{}>;
465
+ state: Readonly<{}>; /** 日期处理函数,通常用于自定义处理绑定日期的值 */
468
466
  refs: {
469
467
  [key: string]: React.ReactInstance;
470
468
  };
@@ -634,9 +632,7 @@ declare const _default: {
634
632
  translate?: ((str: string, ...args: any[]) => string) | undefined;
635
633
  }): {
636
634
  ref: any;
637
- childRef(ref: any): void; /**
638
- * @deprecated 3.1.0后废弃,用shortcuts替代
639
- */
635
+ childRef(ref: any): void;
640
636
  getWrappedInstance(): any;
641
637
  render(): React.JSX.Element;
642
638
  context: unknown;
@@ -677,9 +673,9 @@ declare const _default: {
677
673
  endDateOpenedFirst?: boolean | undefined;
678
674
  } & {
679
675
  locale?: string | undefined;
680
- translate?: ((str: string, ...args: any[]) => string) | undefined;
676
+ translate?: ((str: string, ...args: any[]) => string) | undefined; /** 是否开启游标动画 */
681
677
  }>;
682
- state: Readonly<{}>;
678
+ state: Readonly<{}>; /** 日期处理函数,通常用于自定义处理绑定日期的值 */
683
679
  refs: {
684
680
  [key: string]: React.ReactInstance;
685
681
  };
@@ -849,9 +845,7 @@ declare const _default: {
849
845
  translate?: ((str: string, ...args: any[]) => string) | undefined;
850
846
  }): {
851
847
  ref: any;
852
- childRef(ref: any): void; /**
853
- * @deprecated 3.1.0后废弃,用shortcuts替代
854
- */
848
+ childRef(ref: any): void;
855
849
  getWrappedInstance(): any;
856
850
  render(): React.JSX.Element;
857
851
  context: unknown;
@@ -892,9 +886,9 @@ declare const _default: {
892
886
  endDateOpenedFirst?: boolean | undefined;
893
887
  } & {
894
888
  locale?: string | undefined;
895
- translate?: ((str: string, ...args: any[]) => string) | undefined;
889
+ translate?: ((str: string, ...args: any[]) => string) | undefined; /** 是否开启游标动画 */
896
890
  }>;
897
- state: Readonly<{}>;
891
+ state: Readonly<{}>; /** 日期处理函数,通常用于自定义处理绑定日期的值 */
898
892
  refs: {
899
893
  [key: string]: React.ReactInstance;
900
894
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -716,8 +716,11 @@ var DateRangePicker = /** @class */ (function (_super) {
716
716
  }
717
717
  return value;
718
718
  };
719
- DateRangePicker.prototype.handleDateChange = function (newValue) {
720
- var editState = this.state.editState;
719
+ DateRangePicker.prototype.handleDateChange = function (newValue, viewMode, status) {
720
+ var embed = this.props.embed;
721
+ var editState = embed
722
+ ? this.state.editState || status
723
+ : this.state.editState;
721
724
  if (editState === 'start') {
722
725
  this.handleStartDateChange(newValue);
723
726
  }
@@ -731,7 +734,7 @@ var DateRangePicker = /** @class */ (function (_super) {
731
734
  */
732
735
  DateRangePicker.prototype.handleStartDateChange = function (newValue, subControlViewMode) {
733
736
  var _a = this.props, minDate = _a.minDate, inputFormat = _a.inputFormat, displayFormat = _a.displayFormat, type = _a.type; _a.value;
734
- var _b = this.state, startDate = _b.startDate, oldStartDate = _b.oldStartDate, endDateOpenedFirst = _b.endDateOpenedFirst, timeFormat = _b.curTimeFormat;
737
+ var _b = this.state, startDate = _b.startDate; _b.oldStartDate; var endDateOpenedFirst = _b.endDateOpenedFirst, timeFormat = _b.curTimeFormat;
735
738
  if (minDate && newValue.isBefore(minDate)) {
736
739
  newValue = minDate;
737
740
  }
@@ -740,7 +743,7 @@ var DateRangePicker = /** @class */ (function (_super) {
740
743
  originValue: startDate || minDate,
741
744
  timeFormat: timeFormat,
742
745
  subControlViewMode: subControlViewMode,
743
- autoInitDefaultValue: !!timeFormat && newValue && (!oldStartDate || !startDate)
746
+ autoInitDefaultValue: !!timeFormat && newValue && !startDate
744
747
  });
745
748
  var newState = {
746
749
  startDate: date,
@@ -763,7 +766,7 @@ var DateRangePicker = /** @class */ (function (_super) {
763
766
  DateRangePicker.prototype.handelEndDateChange = function (newValue, subControlViewMode) {
764
767
  var _this = this;
765
768
  var _a = this.props, embed = _a.embed, inputFormat = _a.inputFormat, displayFormat = _a.displayFormat, type = _a.type; _a.value;
766
- var _b = this.state; _b.startDate; var endDate = _b.endDate, oldEndDate = _b.oldEndDate, endDateOpenedFirst = _b.endDateOpenedFirst, timeFormat = _b.curTimeFormat;
769
+ var _b = this.state; _b.startDate; var endDate = _b.endDate; _b.oldEndDate; var endDateOpenedFirst = _b.endDateOpenedFirst, timeFormat = _b.curTimeFormat;
767
770
  newValue = this.getEndDateByDuration(newValue);
768
771
  var editState = endDateOpenedFirst ? 'start' : 'end';
769
772
  var date = this.filterDate(newValue, {
@@ -771,7 +774,7 @@ var DateRangePicker = /** @class */ (function (_super) {
771
774
  originValue: endDate,
772
775
  timeFormat: timeFormat,
773
776
  subControlViewMode: subControlViewMode,
774
- autoInitDefaultValue: !!timeFormat && newValue && (!oldEndDate || !endDate)
777
+ autoInitDefaultValue: !!timeFormat && newValue && !endDate
775
778
  });
776
779
  this.setState({
777
780
  endDate: date,
@@ -810,7 +813,7 @@ var DateRangePicker = /** @class */ (function (_super) {
810
813
  };
811
814
  // 根据 duration 修复结束时间
812
815
  DateRangePicker.prototype.getEndDateByDuration = function (newValue) {
813
- var _a = this.props, minDuration = _a.minDuration, maxDuration = _a.maxDuration, type = _a.type;
816
+ var _a = this.props, minDuration = _a.minDuration, maxDuration = _a.maxDuration, type = _a.type, maxDate = _a.maxDate;
814
817
  var _b = this.state, startDate = _b.startDate; _b.endDate; _b.editState;
815
818
  if (!startDate) {
816
819
  return newValue;
@@ -829,6 +832,9 @@ var DateRangePicker = /** @class */ (function (_super) {
829
832
  if (maxDuration && newValue.isAfter(startDate.clone().add(maxDuration))) {
830
833
  newValue = startDate.clone().add(maxDuration);
831
834
  }
835
+ if (maxDate && newValue && newValue.isAfter(maxDate, 'second')) {
836
+ newValue = maxDate;
837
+ }
832
838
  return newValue;
833
839
  };
834
840
  // 根据 duration 修复起始时间
@@ -1196,7 +1202,7 @@ var DateRangePicker = /** @class */ (function (_super) {
1196
1202
  ? this.handleStartDateChange
1197
1203
  : viewMode === 'time'
1198
1204
  ? this.handleTimeStartChange
1199
- : this.handleDateChange, requiredConfirm: false, dateFormat: curDateFormat, displayForamt: displayFormat || inputFormat, timeFormat: curTimeFormat, isValidDate: this.checkStartIsValidDate, viewMode: viewMode, input: false, onClose: this.close, renderDay: this.renderDay, renderMonth: this.renderMonth, renderQuarter: this.renderQuarter, renderYear: this.renderYear, locale: locale, timeRangeHeader: "\u5F00\u59CB\u65F6\u95F4", embed: embed })),
1205
+ : this.handleDateChange, requiredConfirm: false, dateFormat: curDateFormat, displayForamt: displayFormat || inputFormat, timeFormat: curTimeFormat, isValidDate: this.checkStartIsValidDate, viewMode: viewMode, input: false, onClose: this.close, renderDay: this.renderDay, renderMonth: this.renderMonth, renderQuarter: this.renderQuarter, renderYear: this.renderYear, locale: locale, timeRangeHeader: "\u5F00\u59CB\u65F6\u95F4", embed: embed, status: "start" })),
1200
1206
  (!isTimeRange ||
1201
1207
  (editState === 'end' && !embed) ||
1202
1208
  (mobileUI && isTimeRange)) && (React__default.createElement(Calendar, { className: "".concat(ns, "DateRangePicker-end"), value: endDate, onChange: isDateTimeRange
@@ -1205,7 +1211,7 @@ var DateRangePicker = /** @class */ (function (_super) {
1205
1211
  ? this.handleTimeEndChange
1206
1212
  : this.handleDateChange, requiredConfirm: false, dateFormat: curDateFormat, displayForamt: displayFormat || inputFormat, timeFormat: curTimeFormat, viewDate: isDateTimeRange ? this.currentMonth : this.nextMonth,
1207
1213
  // isEndDate
1208
- isValidDate: this.checkEndIsValidDate, viewMode: viewMode, input: false, onClose: this.close, renderDay: this.renderDay, renderMonth: this.renderMonth, renderQuarter: this.renderQuarter, renderYear: this.renderYear, locale: locale, timeRangeHeader: "\u7ED3\u675F\u65F6\u95F4", embed: embed }))),
1214
+ isValidDate: this.checkEndIsValidDate, viewMode: viewMode, input: false, onClose: this.close, renderDay: this.renderDay, renderMonth: this.renderMonth, renderQuarter: this.renderQuarter, renderYear: this.renderYear, locale: locale, timeRangeHeader: "\u7ED3\u675F\u65F6\u95F4", embed: embed, status: "end" }))),
1209
1215
  embed || mobileUI ? null : (React__default.createElement("div", { key: "button", className: "".concat(ns, "DateRangePicker-actions") },
1210
1216
  React__default.createElement(Button, { size: "sm", onClick: function () { return _this.close(); } }, __('cancel')),
1211
1217
  React__default.createElement(Button, { level: "primary", size: "sm", className: cx('m-l-sm'), disabled: isConfirmBtnDisbaled, onClick: this.confirm }, __('confirm'))))));
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -137,6 +137,9 @@ var Editor = /** @class */ (function (_super) {
137
137
  };
138
138
  Editor.prototype.loadMonaco = function () {
139
139
  var _this = this;
140
+ // 由于 require.config({'vs/nls': { availableLanguages: { '*': 'xxxx' }}}) 只能在初始化之前设置有用,所以这里只能用全局变量的方式来设置。
141
+ // 另外此方式只是针对 jssdk 和平台有效,对于其他方式还需要再想想。
142
+ window.__amis_monaco_editor_locale = this.props.locale;
140
143
  import('monaco-editor').then(function (monaco) { return _this.initMonaco(monaco); });
141
144
  };
142
145
  Editor.prototype.initMonaco = function (monaco) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -32,7 +32,7 @@ export declare class InputBox extends React.Component<InputBoxProps, InputBoxSta
32
32
  render(): React.JSX.Element;
33
33
  }
34
34
  declare const _default: {
35
- new (props: Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
35
+ new (props: Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
36
36
  placeholder?: string | undefined;
37
37
  clearable?: boolean | undefined;
38
38
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps): {
@@ -41,12 +41,12 @@ declare const _default: {
41
41
  getWrappedInstance(): any;
42
42
  render(): React.JSX.Element;
43
43
  context: unknown;
44
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
44
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
45
45
  placeholder?: string | undefined;
46
46
  clearable?: boolean | undefined;
47
47
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
48
48
  forceUpdate(callback?: (() => void) | undefined): void;
49
- readonly props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
49
+ readonly props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
50
50
  placeholder?: string | undefined;
51
51
  clearable?: boolean | undefined;
52
52
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>;
@@ -55,35 +55,35 @@ declare const _default: {
55
55
  [key: string]: React.ReactInstance;
56
56
  };
57
57
  componentDidMount?(): void;
58
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
58
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
59
59
  placeholder?: string | undefined;
60
60
  clearable?: boolean | undefined;
61
61
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
62
62
  componentWillUnmount?(): void;
63
63
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
64
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
64
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
65
65
  placeholder?: string | undefined;
66
66
  clearable?: boolean | undefined;
67
67
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
68
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
68
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
69
69
  placeholder?: string | undefined;
70
70
  clearable?: boolean | undefined;
71
71
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
72
72
  componentWillMount?(): void;
73
73
  UNSAFE_componentWillMount?(): void;
74
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
74
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
75
75
  placeholder?: string | undefined;
76
76
  clearable?: boolean | undefined;
77
77
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
78
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
78
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
79
79
  placeholder?: string | undefined;
80
80
  clearable?: boolean | undefined;
81
81
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
82
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
82
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
83
83
  placeholder?: string | undefined;
84
84
  clearable?: boolean | undefined;
85
85
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
86
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
86
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onMouseEnter" | "onMouseLeave" | "dangerouslySetInnerHTML" | "onError" | "disabled" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
87
87
  placeholder?: string | undefined;
88
88
  clearable?: boolean | undefined;
89
89
  } & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v3.6.2
2
+ * amis-ui v6.0.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5