amis-ui 6.14.0-beta.11 → 6.14.0-beta.13

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 (753) hide show
  1. package/esm/HTMLFilterContext.js +1 -1
  2. package/esm/components/404.js +1 -1
  3. package/esm/components/Alert.d.ts +40 -40
  4. package/esm/components/Alert.js +1 -1
  5. package/esm/components/Alert2.d.ts +20 -20
  6. package/esm/components/Alert2.js +1 -1
  7. package/esm/components/AlphabetIndexer.js +1 -1
  8. package/esm/components/AnchorNav.d.ts +10 -10
  9. package/esm/components/AnchorNav.js +1 -1
  10. package/esm/components/AnchorNavSection.js +1 -1
  11. package/esm/components/ArrayInput.d.ts +40 -40
  12. package/esm/components/ArrayInput.js +3 -4
  13. package/esm/components/AsideNav.js +1 -1
  14. package/esm/components/AssociatedSelection.d.ts +120 -120
  15. package/esm/components/AssociatedSelection.js +1 -1
  16. package/esm/components/AutoFoldedList.js +1 -1
  17. package/esm/components/AutoSizer.js +1 -1
  18. package/esm/components/Avatar.d.ts +90 -90
  19. package/esm/components/Avatar.js +1 -1
  20. package/esm/components/Badge.d.ts +1 -1
  21. package/esm/components/Badge.js +1 -1
  22. package/esm/components/BaiduMapPicker.js +1 -1
  23. package/esm/components/BarCode.js +1 -1
  24. package/esm/components/Breadcrumb.js +1 -1
  25. package/esm/components/Button.d.ts +30 -30
  26. package/esm/components/Button.js +1 -1
  27. package/esm/components/CalendarMobile.d.ts +40 -40
  28. package/esm/components/CalendarMobile.js +1 -1
  29. package/esm/components/Card.d.ts +100 -100
  30. package/esm/components/Card.js +1 -1
  31. package/esm/components/Cascader.js +1 -1
  32. package/esm/components/ChainedDropdownSelection.d.ts +120 -120
  33. package/esm/components/ChainedDropdownSelection.js +1 -1
  34. package/esm/components/ChainedSelection.d.ts +120 -120
  35. package/esm/components/ChainedSelection.js +1 -1
  36. package/esm/components/Checkbox.d.ts +10 -10
  37. package/esm/components/Checkbox.js +1 -1
  38. package/esm/components/CityArea.js +1 -1
  39. package/esm/components/CityDB.js +1 -1
  40. package/esm/components/CodeMirror.js +1 -1
  41. package/esm/components/Collapse.d.ts +120 -120
  42. package/esm/components/Collapse.js +1 -1
  43. package/esm/components/CollapseGroup.d.ts +40 -40
  44. package/esm/components/CollapseGroup.js +1 -1
  45. package/esm/components/ColorPicker.d.ts +40 -40
  46. package/esm/components/ColorPicker.js +3 -4
  47. package/esm/components/Combo.js +1 -1
  48. package/esm/components/ConditionBuilder.js +1 -1
  49. package/esm/components/ConfirmBox.d.ts +40 -40
  50. package/esm/components/ConfirmBox.js +3 -4
  51. package/esm/components/ContextMenu.js +1 -1
  52. package/esm/components/DatePicker.d.ts +80 -80
  53. package/esm/components/DatePicker.js +1 -1
  54. package/esm/components/DateRangePicker.d.ts +280 -280
  55. package/esm/components/DateRangePicker.js +3 -4
  56. package/esm/components/DiffEditor.js +1 -1
  57. package/esm/components/DndContainer.js +1 -1
  58. package/esm/components/Drawer.d.ts +40 -40
  59. package/esm/components/Drawer.js +1 -1
  60. package/esm/components/DropDownSelection.d.ts +120 -120
  61. package/esm/components/DropDownSelection.js +3 -4
  62. package/esm/components/DropdownContextMenus.js +1 -1
  63. package/esm/components/Editor.d.ts +40 -40
  64. package/esm/components/Editor.js +1 -1
  65. package/esm/components/Form.js +1 -1
  66. package/esm/components/FormField.js +1 -1
  67. package/esm/components/FormulaPicker.js +1 -1
  68. package/esm/components/GaodeMapPicker.js +1 -1
  69. package/esm/components/GridNav.js +1 -1
  70. package/esm/components/GridNavItem.js +1 -1
  71. package/esm/components/GroupedSelection.d.ts +120 -120
  72. package/esm/components/GroupedSelection.js +1 -1
  73. package/esm/components/HeadCellDropDown.js +1 -1
  74. package/esm/components/HorizontalScroll.js +1 -1
  75. package/esm/components/Html.js +1 -1
  76. package/esm/components/Icon.js +1 -1
  77. package/esm/components/ImageGallery.d.ts +40 -40
  78. package/esm/components/ImageGallery.js +1 -1
  79. package/esm/components/Input.js +1 -1
  80. package/esm/components/InputBox.d.ts +10 -10
  81. package/esm/components/InputBox.js +1 -1
  82. package/esm/components/InputBoxWithSuggestion.js +3 -4
  83. package/esm/components/InputJSONSchema.js +1 -1
  84. package/esm/components/InputTable.js +1 -1
  85. package/esm/components/JSONSchemaEditor.js +1 -1
  86. package/esm/components/Layout.js +1 -1
  87. package/esm/components/Link.js +1 -1
  88. package/esm/components/ListGroup.d.ts +10 -10
  89. package/esm/components/ListGroup.js +1 -1
  90. package/esm/components/ListMenu.d.ts +40 -40
  91. package/esm/components/ListMenu.js +1 -1
  92. package/esm/components/LocationPicker.d.ts +40 -40
  93. package/esm/components/LocationPicker.js +1 -1
  94. package/esm/components/Markdown.js +1 -1
  95. package/esm/components/Menu.js +1 -1
  96. package/esm/components/MixedInput.js +1 -1
  97. package/esm/components/MobileDevTool.js +1 -1
  98. package/esm/components/Modal.d.ts +120 -120
  99. package/esm/components/Modal.js +1 -1
  100. package/esm/components/ModalManager.js +1 -1
  101. package/esm/components/MonthRangePicker.d.ts +200 -200
  102. package/esm/components/MultilineText.d.ts +40 -40
  103. package/esm/components/MultilineText.js +1 -1
  104. package/esm/components/NumberInput.d.ts +30 -30
  105. package/esm/components/NumberInput.js +1 -1
  106. package/esm/components/OverflowTpl.js +4 -5
  107. package/esm/components/Pagination.d.ts +80 -80
  108. package/esm/components/Pagination.js +1 -1
  109. package/esm/components/PdfViewer.js +1 -1
  110. package/esm/components/Picker.js +1 -1
  111. package/esm/components/PickerColumn.js +1 -1
  112. package/esm/components/PickerContainer.js +1 -1
  113. package/esm/components/PopOverContainer.js +4 -5
  114. package/esm/components/PopUp.d.ts +120 -120
  115. package/esm/components/PopUp.js +1 -1
  116. package/esm/components/Progress.d.ts +50 -50
  117. package/esm/components/Progress.js +1 -1
  118. package/esm/components/PullRefresh.js +1 -1
  119. package/esm/components/Radios.d.ts +20 -20
  120. package/esm/components/Radios.js +1 -1
  121. package/esm/components/Range.js +3 -4
  122. package/esm/components/Rating.d.ts +40 -40
  123. package/esm/components/Rating.js +1 -1
  124. package/esm/components/ResultBox.d.ts +80 -80
  125. package/esm/components/ResultBox.js +1 -1
  126. package/esm/components/ResultList.d.ts +120 -120
  127. package/esm/components/ResultList.js +3 -4
  128. package/esm/components/ResultTableList.d.ts +120 -120
  129. package/esm/components/ResultTableList.js +1 -1
  130. package/esm/components/ResultTreeList.d.ts +40 -40
  131. package/esm/components/ResultTreeList.js +1 -1
  132. package/esm/components/RichText.js +1 -1
  133. package/esm/components/SearchBox.d.ts +120 -120
  134. package/esm/components/SearchBox.js +1 -1
  135. package/esm/components/Select.d.ts +1683 -1683
  136. package/esm/components/Select.js +3 -4
  137. package/esm/components/SelectMobile.js +3 -4
  138. package/esm/components/Selection.d.ts +120 -120
  139. package/esm/components/Selection.js +1 -1
  140. package/esm/components/Shape.js +1 -1
  141. package/esm/components/Signature.js +1 -1
  142. package/esm/components/Slider.js +1 -1
  143. package/esm/components/SparkLine.d.ts +40 -40
  144. package/esm/components/SparkLine.js +1 -1
  145. package/esm/components/Spinner.d.ts +50 -50
  146. package/esm/components/Spinner.js +1 -1
  147. package/esm/components/Steps.js +1 -1
  148. package/esm/components/Switch.d.ts +10 -10
  149. package/esm/components/Switch.js +1 -1
  150. package/esm/components/Tab.js +1 -1
  151. package/esm/components/Table.js +1 -1
  152. package/esm/components/TableSelection.d.ts +120 -120
  153. package/esm/components/TableSelection.js +1 -1
  154. package/esm/components/Tabs.d.ts +80 -80
  155. package/esm/components/Tabs.js +5 -6
  156. package/esm/components/TabsTransfer.d.ts +40 -40
  157. package/esm/components/TabsTransfer.js +1 -1
  158. package/esm/components/TabsTransferPicker.js +1 -1
  159. package/esm/components/Tag.d.ts +60 -60
  160. package/esm/components/Tag.js +1 -1
  161. package/esm/components/Textarea.d.ts +40 -40
  162. package/esm/components/Textarea.js +3 -4
  163. package/esm/components/Timeline.js +1 -1
  164. package/esm/components/TimelineItem.d.ts +1 -1
  165. package/esm/components/TimelineItem.js +1 -1
  166. package/esm/components/Tinymce.js +4 -2
  167. package/esm/components/TitleBar.js +1 -1
  168. package/esm/components/Toast.d.ts +120 -120
  169. package/esm/components/Toast.js +1 -1
  170. package/esm/components/Tooltip.js +1 -1
  171. package/esm/components/TooltipWrapper.d.ts +21 -21
  172. package/esm/components/TooltipWrapper.js +3 -4
  173. package/esm/components/Transfer.d.ts +280 -280
  174. package/esm/components/Transfer.js +1 -1
  175. package/esm/components/TransferDropDown.d.ts +280 -280
  176. package/esm/components/TransferDropDown.js +1 -1
  177. package/esm/components/TransferPicker.js +1 -1
  178. package/esm/components/TransferSearch.js +1 -1
  179. package/esm/components/Tree.d.ts +403 -400
  180. package/esm/components/Tree.js +22 -8
  181. package/esm/components/TreeSelection.d.ts +120 -120
  182. package/esm/components/TreeSelection.js +1 -1
  183. package/esm/components/UserSelect.d.ts +40 -40
  184. package/esm/components/UserSelect.js +1 -1
  185. package/esm/components/UserTabSelect.d.ts +40 -40
  186. package/esm/components/UserTabSelect.js +1 -1
  187. package/esm/components/VerificationCode.js +1 -1
  188. package/esm/components/VirtualList.js +1 -1
  189. package/esm/components/WithRemoteConfig.js +1 -1
  190. package/esm/components/WithStore.js +1 -1
  191. package/esm/components/calendar/Calendar.js +1 -1
  192. package/esm/components/calendar/CalendarContainer.js +1 -1
  193. package/esm/components/calendar/DaysView.js +1 -1
  194. package/esm/components/calendar/MonthsView.js +1 -1
  195. package/esm/components/calendar/QuartersView.js +1 -1
  196. package/esm/components/calendar/TimeView.js +1 -1
  197. package/esm/components/calendar/YearsView.js +1 -1
  198. package/esm/components/condition-builder/Expression.js +1 -1
  199. package/esm/components/condition-builder/Field.js +1 -1
  200. package/esm/components/condition-builder/Func.js +1 -1
  201. package/esm/components/condition-builder/Group.js +11 -7
  202. package/esm/components/condition-builder/GroupOrItem.js +4 -2
  203. package/esm/components/condition-builder/InputSwitch.js +1 -1
  204. package/esm/components/condition-builder/Item.js +3 -4
  205. package/esm/components/condition-builder/Value.js +3 -2
  206. package/esm/components/condition-builder/config.js +1 -1
  207. package/esm/components/condition-builder/index.js +7 -3
  208. package/esm/components/formula/CodeEditor.js +1 -1
  209. package/esm/components/formula/Editor.d.ts +80 -80
  210. package/esm/components/formula/Editor.js +1 -1
  211. package/esm/components/formula/FuncList.js +1 -1
  212. package/esm/components/formula/Input.js +1 -1
  213. package/esm/components/formula/Picker.d.ts +40 -40
  214. package/esm/components/formula/Picker.js +1 -1
  215. package/esm/components/formula/VariableList.js +1 -1
  216. package/esm/components/formula/plugin.js +1 -1
  217. package/esm/components/icons.js +1 -1
  218. package/esm/components/json-schema/Array.js +1 -1
  219. package/esm/components/json-schema/Item.js +1 -1
  220. package/esm/components/json-schema/Object.js +1 -1
  221. package/esm/components/json-schema/index.js +1 -1
  222. package/esm/components/menu/MenuContext.js +1 -1
  223. package/esm/components/menu/MenuItem.js +1 -1
  224. package/esm/components/menu/PanelMenu.js +1 -1
  225. package/esm/components/menu/SubMenu.js +1 -1
  226. package/esm/components/menu/index.d.ts +80 -80
  227. package/esm/components/menu/index.js +1 -1
  228. package/esm/components/schema-editor/Array.js +1 -1
  229. package/esm/components/schema-editor/Common.js +1 -1
  230. package/esm/components/schema-editor/Item.js +1 -1
  231. package/esm/components/schema-editor/Object.js +1 -1
  232. package/esm/components/schema-editor/SchemaVariableList.js +1 -1
  233. package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
  234. package/esm/components/schema-editor/index.d.ts +40 -40
  235. package/esm/components/schema-editor/index.js +1 -1
  236. package/esm/components/table/Cell.js +1 -1
  237. package/esm/components/table/ColGroup.js +1 -1
  238. package/esm/components/table/Head.js +1 -1
  239. package/esm/components/table/HeadCellDropDown.js +3 -4
  240. package/esm/components/table/HeadCellFilter.d.ts +80 -80
  241. package/esm/components/table/HeadCellFilter.js +3 -4
  242. package/esm/components/table/HeadCellSelect.d.ts +40 -40
  243. package/esm/components/table/HeadCellSelect.js +3 -4
  244. package/esm/components/table/HeadCellSort.js +1 -1
  245. package/esm/components/table/ItemActionsWrapper.js +1 -1
  246. package/esm/components/table/Row.js +1 -1
  247. package/esm/components/table/SummaryRow.js +1 -1
  248. package/esm/components/table/index.d.ts +160 -160
  249. package/esm/components/table/index.js +4 -5
  250. package/esm/components/table/util.d.ts +2 -2
  251. package/esm/components/table/util.js +1 -1
  252. package/esm/components/virtual-list/AutoSizer.js +3 -4
  253. package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
  254. package/esm/components/virtual-list/constants.js +1 -1
  255. package/esm/components/virtual-list/index.js +1 -1
  256. package/esm/components/withBadge.js +1 -1
  257. package/esm/hooks/use-click-away.js +1 -1
  258. package/esm/hooks/use-on-screen.js +1 -1
  259. package/esm/hooks/use-set-state.js +1 -1
  260. package/esm/hooks/use-sub-form.js +1 -1
  261. package/esm/hooks/use-touch.js +1 -1
  262. package/esm/hooks/use-update-effect.js +1 -1
  263. package/esm/hooks/use-validation-resolver.js +1 -1
  264. package/esm/icons/alert-danger.svg.js +1 -1
  265. package/esm/icons/alert-info.svg.js +1 -1
  266. package/esm/icons/alert-success.svg.js +1 -1
  267. package/esm/icons/alert-warning.svg.js +1 -1
  268. package/esm/icons/arrow-double-left.svg.js +1 -1
  269. package/esm/icons/arrow-double-right.svg.js +1 -1
  270. package/esm/icons/back.svg.js +1 -1
  271. package/esm/icons/calendar.svg.js +1 -1
  272. package/esm/icons/caret.svg.js +1 -1
  273. package/esm/icons/check.svg.js +1 -1
  274. package/esm/icons/clock.svg.js +1 -1
  275. package/esm/icons/close-small.svg.js +1 -1
  276. package/esm/icons/close.svg.js +1 -1
  277. package/esm/icons/cloud-upload.svg.js +1 -1
  278. package/esm/icons/column-filter.svg.js +1 -1
  279. package/esm/icons/columns.svg.js +1 -1
  280. package/esm/icons/compress-alt.svg.js +1 -1
  281. package/esm/icons/copy.svg.js +1 -1
  282. package/esm/icons/date.svg.js +1 -1
  283. package/esm/icons/department.svg.js +1 -1
  284. package/esm/icons/desk-empty.svg.js +1 -1
  285. package/esm/icons/dot.svg.js +1 -1
  286. package/esm/icons/down-arrow-bold.svg.js +1 -1
  287. package/esm/icons/down.svg.js +1 -1
  288. package/esm/icons/download.svg.js +1 -1
  289. package/esm/icons/drag-bar.svg.js +1 -1
  290. package/esm/icons/drag.svg.js +1 -1
  291. package/esm/icons/edit.svg.js +1 -1
  292. package/esm/icons/ellipsis-v.svg.js +1 -1
  293. package/esm/icons/enter.svg.js +1 -1
  294. package/esm/icons/exchange.svg.js +1 -1
  295. package/esm/icons/expand-alt.svg.js +1 -1
  296. package/esm/icons/fail.svg.js +1 -1
  297. package/esm/icons/file.svg.js +1 -1
  298. package/esm/icons/filter.svg.js +1 -1
  299. package/esm/icons/folder.svg.js +1 -1
  300. package/esm/icons/fullscreen.svg.js +1 -1
  301. package/esm/icons/function.svg.js +1 -1
  302. package/esm/icons/home.svg.js +1 -1
  303. package/esm/icons/if.svg.js +1 -1
  304. package/esm/icons/image.svg.js +1 -1
  305. package/esm/icons/info-circle.svg.js +1 -1
  306. package/esm/icons/info.svg.js +1 -1
  307. package/esm/icons/input-clear.svg.js +1 -1
  308. package/esm/icons/invisible.svg.js +1 -1
  309. package/esm/icons/left-arrow.svg.js +1 -1
  310. package/esm/icons/loading-outline.svg.js +1 -1
  311. package/esm/icons/location.svg.js +1 -1
  312. package/esm/icons/menu.svg.js +1 -1
  313. package/esm/icons/minus.svg.js +1 -1
  314. package/esm/icons/move.svg.js +1 -1
  315. package/esm/icons/mute.svg.js +1 -1
  316. package/esm/icons/new-edit.svg.js +1 -1
  317. package/esm/icons/pause.svg.js +1 -1
  318. package/esm/icons/pencil.svg.js +1 -1
  319. package/esm/icons/play.svg.js +1 -1
  320. package/esm/icons/plus-cicle.svg.js +1 -1
  321. package/esm/icons/plus-fine.svg.js +1 -1
  322. package/esm/icons/plus.svg.js +1 -1
  323. package/esm/icons/post.svg.js +1 -1
  324. package/esm/icons/question-mark.svg.js +1 -1
  325. package/esm/icons/question.svg.js +1 -1
  326. package/esm/icons/question2.svg.js +1 -1
  327. package/esm/icons/redo.svg.js +1 -1
  328. package/esm/icons/refresh.svg.js +1 -1
  329. package/esm/icons/reload.svg.js +1 -1
  330. package/esm/icons/remove.svg.js +1 -1
  331. package/esm/icons/retry.svg.js +1 -1
  332. package/esm/icons/right-arrow-bold.svg.js +1 -1
  333. package/esm/icons/right-arrow.svg.js +1 -1
  334. package/esm/icons/right-double-arrow.svg.js +1 -1
  335. package/esm/icons/role.svg.js +1 -1
  336. package/esm/icons/rotate-left.svg.js +1 -1
  337. package/esm/icons/rotate-right.svg.js +1 -1
  338. package/esm/icons/rotate-screen.svg.js +1 -1
  339. package/esm/icons/scale-origin.svg.js +1 -1
  340. package/esm/icons/schedule.svg.js +1 -1
  341. package/esm/icons/search.svg.js +1 -1
  342. package/esm/icons/setting.svg.js +1 -1
  343. package/esm/icons/slider-handle-icon.svg.js +1 -1
  344. package/esm/icons/sort-asc.svg.js +1 -1
  345. package/esm/icons/sort-default.svg.js +1 -1
  346. package/esm/icons/sort-desc.svg.js +1 -1
  347. package/esm/icons/star.svg.js +1 -1
  348. package/esm/icons/status-close.svg.js +1 -1
  349. package/esm/icons/steps-finsh.svg.js +1 -1
  350. package/esm/icons/sub-plus.svg.js +1 -1
  351. package/esm/icons/success.svg.js +1 -1
  352. package/esm/icons/transparent.svg.js +1 -1
  353. package/esm/icons/trash.svg.js +1 -1
  354. package/esm/icons/tree-down.svg.js +1 -1
  355. package/esm/icons/undo-normal.svg.js +1 -1
  356. package/esm/icons/undo.svg.js +1 -1
  357. package/esm/icons/unfullscreen.svg.js +1 -1
  358. package/esm/icons/upload.svg.js +1 -1
  359. package/esm/icons/user-remove.svg.js +1 -1
  360. package/esm/icons/view.svg.js +1 -1
  361. package/esm/icons/volume.svg.js +1 -1
  362. package/esm/icons/warning-mark.svg.js +1 -1
  363. package/esm/icons/warning.svg.js +1 -1
  364. package/esm/icons/window-restore.svg.js +1 -1
  365. package/esm/icons/zoom-in.svg.js +1 -1
  366. package/esm/icons/zoom-out.svg.js +1 -1
  367. package/esm/index.js +1 -1
  368. package/esm/locale/de-DE.js +1 -1
  369. package/esm/locale/en-US.js +1 -1
  370. package/esm/locale/zh-CN.js +1 -1
  371. package/esm/themes/ang.js +1 -1
  372. package/esm/themes/antd.js +1 -1
  373. package/esm/themes/cxd.js +1 -1
  374. package/esm/themes/dark.js +1 -1
  375. package/esm/utils/vectorComputed.js +1 -1
  376. package/esm/withRemoteConfig.js +1 -1
  377. package/esm/withStore.js +1 -1
  378. package/lib/HTMLFilterContext.js +1 -1
  379. package/lib/components/404.js +1 -1
  380. package/lib/components/Alert.d.ts +80 -80
  381. package/lib/components/Alert.js +1 -1
  382. package/lib/components/Alert2.d.ts +10 -10
  383. package/lib/components/Alert2.js +1 -1
  384. package/lib/components/AlphabetIndexer.js +1 -1
  385. package/lib/components/AnchorNav.js +1 -1
  386. package/lib/components/AnchorNavSection.js +1 -1
  387. package/lib/components/ArrayInput.d.ts +40 -40
  388. package/lib/components/ArrayInput.js +2 -3
  389. package/lib/components/AsideNav.js +1 -1
  390. package/lib/components/AssociatedSelection.d.ts +80 -80
  391. package/lib/components/AssociatedSelection.js +1 -1
  392. package/lib/components/AutoFoldedList.js +1 -1
  393. package/lib/components/AutoSizer.js +1 -1
  394. package/lib/components/Avatar.js +1 -1
  395. package/lib/components/Badge.d.ts +1 -1
  396. package/lib/components/Badge.js +1 -1
  397. package/lib/components/BaiduMapPicker.js +1 -1
  398. package/lib/components/BarCode.js +1 -1
  399. package/lib/components/Breadcrumb.js +1 -1
  400. package/lib/components/Button.d.ts +10 -10
  401. package/lib/components/Button.js +1 -1
  402. package/lib/components/CalendarMobile.d.ts +40 -40
  403. package/lib/components/CalendarMobile.js +1 -1
  404. package/lib/components/Card.d.ts +40 -40
  405. package/lib/components/Card.js +1 -1
  406. package/lib/components/Cascader.js +1 -1
  407. package/lib/components/ChainedDropdownSelection.d.ts +80 -80
  408. package/lib/components/ChainedDropdownSelection.js +1 -1
  409. package/lib/components/ChainedSelection.d.ts +80 -80
  410. package/lib/components/ChainedSelection.js +1 -1
  411. package/lib/components/Checkbox.js +1 -1
  412. package/lib/components/CityArea.js +1 -1
  413. package/lib/components/CityDB.js +1 -1
  414. package/lib/components/CodeMirror.js +1 -1
  415. package/lib/components/Collapse.d.ts +20 -20
  416. package/lib/components/Collapse.js +1 -1
  417. package/lib/components/CollapseGroup.js +1 -1
  418. package/lib/components/ColorPicker.d.ts +80 -80
  419. package/lib/components/ColorPicker.js +3 -4
  420. package/lib/components/Combo.js +1 -1
  421. package/lib/components/ConditionBuilder.js +1 -1
  422. package/lib/components/ConfirmBox.d.ts +40 -40
  423. package/lib/components/ConfirmBox.js +2 -3
  424. package/lib/components/ContextMenu.js +1 -1
  425. package/lib/components/DatePicker.d.ts +120 -120
  426. package/lib/components/DatePicker.js +1 -1
  427. package/lib/components/DateRangePicker.d.ts +320 -320
  428. package/lib/components/DateRangePicker.js +3 -4
  429. package/lib/components/DiffEditor.js +1 -1
  430. package/lib/components/DndContainer.js +1 -1
  431. package/lib/components/Drawer.js +1 -1
  432. package/lib/components/DropDownSelection.d.ts +80 -80
  433. package/lib/components/DropDownSelection.js +3 -4
  434. package/lib/components/DropdownContextMenus.js +1 -1
  435. package/lib/components/Editor.d.ts +80 -80
  436. package/lib/components/Editor.js +1 -1
  437. package/lib/components/Form.js +1 -1
  438. package/lib/components/FormField.js +1 -1
  439. package/lib/components/FormulaPicker.js +1 -1
  440. package/lib/components/GaodeMapPicker.js +1 -1
  441. package/lib/components/GridNav.js +1 -1
  442. package/lib/components/GridNavItem.js +1 -1
  443. package/lib/components/GroupedSelection.d.ts +80 -80
  444. package/lib/components/GroupedSelection.js +1 -1
  445. package/lib/components/HeadCellDropDown.js +1 -1
  446. package/lib/components/HorizontalScroll.js +1 -1
  447. package/lib/components/Html.js +1 -1
  448. package/lib/components/Icon.js +1 -1
  449. package/lib/components/ImageGallery.js +1 -1
  450. package/lib/components/Input.js +1 -1
  451. package/lib/components/InputBox.d.ts +10 -10
  452. package/lib/components/InputBox.js +1 -1
  453. package/lib/components/InputBoxWithSuggestion.js +2 -3
  454. package/lib/components/InputJSONSchema.js +1 -1
  455. package/lib/components/InputTable.js +1 -1
  456. package/lib/components/JSONSchemaEditor.js +1 -1
  457. package/lib/components/Layout.js +1 -1
  458. package/lib/components/Link.js +1 -1
  459. package/lib/components/ListGroup.d.ts +10 -10
  460. package/lib/components/ListGroup.js +1 -1
  461. package/lib/components/ListMenu.d.ts +40 -40
  462. package/lib/components/ListMenu.js +1 -1
  463. package/lib/components/LocationPicker.d.ts +40 -40
  464. package/lib/components/LocationPicker.js +1 -1
  465. package/lib/components/Markdown.js +1 -1
  466. package/lib/components/Menu.js +1 -1
  467. package/lib/components/MixedInput.js +1 -1
  468. package/lib/components/MobileDevTool.js +1 -1
  469. package/lib/components/Modal.js +1 -1
  470. package/lib/components/ModalManager.js +1 -1
  471. package/lib/components/MonthRangePicker.d.ts +240 -240
  472. package/lib/components/MultilineText.js +1 -1
  473. package/lib/components/NumberInput.d.ts +10 -10
  474. package/lib/components/NumberInput.js +1 -1
  475. package/lib/components/OverflowTpl.js +4 -5
  476. package/lib/components/Pagination.d.ts +40 -40
  477. package/lib/components/Pagination.js +1 -1
  478. package/lib/components/PdfViewer.js +1 -1
  479. package/lib/components/Picker.js +1 -1
  480. package/lib/components/PickerColumn.js +1 -1
  481. package/lib/components/PickerContainer.js +1 -1
  482. package/lib/components/PopOverContainer.js +3 -4
  483. package/lib/components/PopUp.d.ts +40 -40
  484. package/lib/components/PopUp.js +1 -1
  485. package/lib/components/Progress.d.ts +10 -10
  486. package/lib/components/Progress.js +1 -1
  487. package/lib/components/PullRefresh.js +1 -1
  488. package/lib/components/Radios.d.ts +20 -20
  489. package/lib/components/Radios.js +1 -1
  490. package/lib/components/Range.js +2 -3
  491. package/lib/components/Rating.js +1 -1
  492. package/lib/components/ResultBox.d.ts +40 -40
  493. package/lib/components/ResultBox.js +1 -1
  494. package/lib/components/ResultList.d.ts +80 -80
  495. package/lib/components/ResultList.js +3 -4
  496. package/lib/components/ResultTableList.d.ts +80 -80
  497. package/lib/components/ResultTableList.js +1 -1
  498. package/lib/components/ResultTreeList.d.ts +40 -40
  499. package/lib/components/ResultTreeList.js +1 -1
  500. package/lib/components/RichText.js +1 -1
  501. package/lib/components/SearchBox.d.ts +80 -80
  502. package/lib/components/SearchBox.js +1 -1
  503. package/lib/components/Select.d.ts +1512 -1512
  504. package/lib/components/Select.js +2 -3
  505. package/lib/components/SelectMobile.js +3 -4
  506. package/lib/components/Selection.d.ts +80 -80
  507. package/lib/components/Selection.js +1 -1
  508. package/lib/components/Shape.js +1 -1
  509. package/lib/components/Signature.js +1 -1
  510. package/lib/components/Slider.js +1 -1
  511. package/lib/components/SparkLine.js +1 -1
  512. package/lib/components/Spinner.js +1 -1
  513. package/lib/components/Steps.js +1 -1
  514. package/lib/components/Switch.js +1 -1
  515. package/lib/components/Tab.js +1 -1
  516. package/lib/components/Table.js +1 -1
  517. package/lib/components/TableSelection.d.ts +80 -80
  518. package/lib/components/TableSelection.js +1 -1
  519. package/lib/components/Tabs.d.ts +40 -40
  520. package/lib/components/Tabs.js +4 -5
  521. package/lib/components/TabsTransfer.d.ts +40 -40
  522. package/lib/components/TabsTransfer.js +1 -1
  523. package/lib/components/TabsTransferPicker.js +1 -1
  524. package/lib/components/Tag.js +1 -1
  525. package/lib/components/Textarea.d.ts +40 -40
  526. package/lib/components/Textarea.js +3 -4
  527. package/lib/components/Timeline.js +1 -1
  528. package/lib/components/TimelineItem.js +1 -1
  529. package/lib/components/Tinymce.js +4 -2
  530. package/lib/components/TitleBar.js +1 -1
  531. package/lib/components/Toast.d.ts +40 -40
  532. package/lib/components/Toast.js +1 -1
  533. package/lib/components/Tooltip.js +1 -1
  534. package/lib/components/TooltipWrapper.d.ts +1 -1
  535. package/lib/components/TooltipWrapper.js +2 -3
  536. package/lib/components/Transfer.d.ts +120 -120
  537. package/lib/components/Transfer.js +1 -1
  538. package/lib/components/TransferDropDown.d.ts +120 -120
  539. package/lib/components/TransferDropDown.js +1 -1
  540. package/lib/components/TransferPicker.js +1 -1
  541. package/lib/components/TransferSearch.js +1 -1
  542. package/lib/components/Tree.d.ts +363 -360
  543. package/lib/components/Tree.js +22 -8
  544. package/lib/components/TreeSelection.d.ts +120 -120
  545. package/lib/components/TreeSelection.js +1 -1
  546. package/lib/components/UserSelect.d.ts +80 -80
  547. package/lib/components/UserSelect.js +1 -1
  548. package/lib/components/UserTabSelect.d.ts +40 -40
  549. package/lib/components/UserTabSelect.js +1 -1
  550. package/lib/components/VerificationCode.js +1 -1
  551. package/lib/components/VirtualList.js +1 -1
  552. package/lib/components/WithRemoteConfig.js +1 -1
  553. package/lib/components/WithStore.js +1 -1
  554. package/lib/components/calendar/Calendar.js +1 -1
  555. package/lib/components/calendar/CalendarContainer.js +1 -1
  556. package/lib/components/calendar/DaysView.js +1 -1
  557. package/lib/components/calendar/MonthsView.js +1 -1
  558. package/lib/components/calendar/QuartersView.js +1 -1
  559. package/lib/components/calendar/TimeView.js +1 -1
  560. package/lib/components/calendar/YearsView.js +1 -1
  561. package/lib/components/condition-builder/Expression.js +1 -1
  562. package/lib/components/condition-builder/Field.js +1 -1
  563. package/lib/components/condition-builder/Func.js +1 -1
  564. package/lib/components/condition-builder/Group.js +11 -7
  565. package/lib/components/condition-builder/GroupOrItem.js +4 -2
  566. package/lib/components/condition-builder/InputSwitch.js +1 -1
  567. package/lib/components/condition-builder/Item.js +2 -3
  568. package/lib/components/condition-builder/Value.js +3 -2
  569. package/lib/components/condition-builder/config.js +1 -1
  570. package/lib/components/condition-builder/index.js +7 -3
  571. package/lib/components/formula/CodeEditor.js +1 -1
  572. package/lib/components/formula/Editor.d.ts +80 -80
  573. package/lib/components/formula/Editor.js +1 -1
  574. package/lib/components/formula/FuncList.js +1 -1
  575. package/lib/components/formula/Input.js +1 -1
  576. package/lib/components/formula/Picker.d.ts +40 -40
  577. package/lib/components/formula/Picker.js +1 -1
  578. package/lib/components/formula/VariableList.js +1 -1
  579. package/lib/components/formula/plugin.js +1 -1
  580. package/lib/components/icons.js +1 -1
  581. package/lib/components/json-schema/Array.js +1 -1
  582. package/lib/components/json-schema/Item.js +1 -1
  583. package/lib/components/json-schema/Object.js +1 -1
  584. package/lib/components/json-schema/index.js +1 -1
  585. package/lib/components/menu/MenuContext.js +1 -1
  586. package/lib/components/menu/MenuItem.js +1 -1
  587. package/lib/components/menu/PanelMenu.js +1 -1
  588. package/lib/components/menu/SubMenu.js +1 -1
  589. package/lib/components/menu/index.d.ts +20 -20
  590. package/lib/components/menu/index.js +1 -1
  591. package/lib/components/schema-editor/Array.js +1 -1
  592. package/lib/components/schema-editor/Common.js +1 -1
  593. package/lib/components/schema-editor/Item.js +1 -1
  594. package/lib/components/schema-editor/Object.js +1 -1
  595. package/lib/components/schema-editor/SchemaVariableList.js +1 -1
  596. package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
  597. package/lib/components/schema-editor/index.d.ts +40 -40
  598. package/lib/components/schema-editor/index.js +1 -1
  599. package/lib/components/table/Cell.js +1 -1
  600. package/lib/components/table/ColGroup.js +1 -1
  601. package/lib/components/table/Head.js +1 -1
  602. package/lib/components/table/HeadCellDropDown.js +2 -3
  603. package/lib/components/table/HeadCellFilter.d.ts +40 -40
  604. package/lib/components/table/HeadCellFilter.js +3 -4
  605. package/lib/components/table/HeadCellSelect.js +2 -3
  606. package/lib/components/table/HeadCellSort.js +1 -1
  607. package/lib/components/table/ItemActionsWrapper.js +1 -1
  608. package/lib/components/table/Row.js +1 -1
  609. package/lib/components/table/SummaryRow.js +1 -1
  610. package/lib/components/table/index.d.ts +80 -80
  611. package/lib/components/table/index.js +4 -5
  612. package/lib/components/table/util.d.ts +5 -5
  613. package/lib/components/table/util.js +1 -1
  614. package/lib/components/virtual-list/AutoSizer.js +2 -3
  615. package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
  616. package/lib/components/virtual-list/constants.js +1 -1
  617. package/lib/components/virtual-list/index.js +1 -1
  618. package/lib/components/withBadge.js +1 -1
  619. package/lib/hooks/use-click-away.js +1 -1
  620. package/lib/hooks/use-on-screen.js +1 -1
  621. package/lib/hooks/use-set-state.js +1 -1
  622. package/lib/hooks/use-sub-form.js +1 -1
  623. package/lib/hooks/use-touch.js +1 -1
  624. package/lib/hooks/use-update-effect.js +1 -1
  625. package/lib/hooks/use-validation-resolver.js +1 -1
  626. package/lib/icons/alert-danger.svg.js +1 -1
  627. package/lib/icons/alert-info.svg.js +1 -1
  628. package/lib/icons/alert-success.svg.js +1 -1
  629. package/lib/icons/alert-warning.svg.js +1 -1
  630. package/lib/icons/arrow-double-left.svg.js +1 -1
  631. package/lib/icons/arrow-double-right.svg.js +1 -1
  632. package/lib/icons/back.svg.js +1 -1
  633. package/lib/icons/calendar.svg.js +1 -1
  634. package/lib/icons/caret.svg.js +1 -1
  635. package/lib/icons/check.svg.js +1 -1
  636. package/lib/icons/clock.svg.js +1 -1
  637. package/lib/icons/close-small.svg.js +1 -1
  638. package/lib/icons/close.svg.js +1 -1
  639. package/lib/icons/cloud-upload.svg.js +1 -1
  640. package/lib/icons/column-filter.svg.js +1 -1
  641. package/lib/icons/columns.svg.js +1 -1
  642. package/lib/icons/compress-alt.svg.js +1 -1
  643. package/lib/icons/copy.svg.js +1 -1
  644. package/lib/icons/date.svg.js +1 -1
  645. package/lib/icons/department.svg.js +1 -1
  646. package/lib/icons/desk-empty.svg.js +1 -1
  647. package/lib/icons/dot.svg.js +1 -1
  648. package/lib/icons/down-arrow-bold.svg.js +1 -1
  649. package/lib/icons/down.svg.js +1 -1
  650. package/lib/icons/download.svg.js +1 -1
  651. package/lib/icons/drag-bar.svg.js +1 -1
  652. package/lib/icons/drag.svg.js +1 -1
  653. package/lib/icons/edit.svg.js +1 -1
  654. package/lib/icons/ellipsis-v.svg.js +1 -1
  655. package/lib/icons/enter.svg.js +1 -1
  656. package/lib/icons/exchange.svg.js +1 -1
  657. package/lib/icons/expand-alt.svg.js +1 -1
  658. package/lib/icons/fail.svg.js +1 -1
  659. package/lib/icons/file.svg.js +1 -1
  660. package/lib/icons/filter.svg.js +1 -1
  661. package/lib/icons/folder.svg.js +1 -1
  662. package/lib/icons/fullscreen.svg.js +1 -1
  663. package/lib/icons/function.svg.js +1 -1
  664. package/lib/icons/home.svg.js +1 -1
  665. package/lib/icons/if.svg.js +1 -1
  666. package/lib/icons/image.svg.js +1 -1
  667. package/lib/icons/info-circle.svg.js +1 -1
  668. package/lib/icons/info.svg.js +1 -1
  669. package/lib/icons/input-clear.svg.js +1 -1
  670. package/lib/icons/invisible.svg.js +1 -1
  671. package/lib/icons/left-arrow.svg.js +1 -1
  672. package/lib/icons/loading-outline.svg.js +1 -1
  673. package/lib/icons/location.svg.js +1 -1
  674. package/lib/icons/menu.svg.js +1 -1
  675. package/lib/icons/minus.svg.js +1 -1
  676. package/lib/icons/move.svg.js +1 -1
  677. package/lib/icons/mute.svg.js +1 -1
  678. package/lib/icons/new-edit.svg.js +1 -1
  679. package/lib/icons/pause.svg.js +1 -1
  680. package/lib/icons/pencil.svg.js +1 -1
  681. package/lib/icons/play.svg.js +1 -1
  682. package/lib/icons/plus-cicle.svg.js +1 -1
  683. package/lib/icons/plus-fine.svg.js +1 -1
  684. package/lib/icons/plus.svg.js +1 -1
  685. package/lib/icons/post.svg.js +1 -1
  686. package/lib/icons/question-mark.svg.js +1 -1
  687. package/lib/icons/question.svg.js +1 -1
  688. package/lib/icons/question2.svg.js +1 -1
  689. package/lib/icons/redo.svg.js +1 -1
  690. package/lib/icons/refresh.svg.js +1 -1
  691. package/lib/icons/reload.svg.js +1 -1
  692. package/lib/icons/remove.svg.js +1 -1
  693. package/lib/icons/retry.svg.js +1 -1
  694. package/lib/icons/right-arrow-bold.svg.js +1 -1
  695. package/lib/icons/right-arrow.svg.js +1 -1
  696. package/lib/icons/right-double-arrow.svg.js +1 -1
  697. package/lib/icons/role.svg.js +1 -1
  698. package/lib/icons/rotate-left.svg.js +1 -1
  699. package/lib/icons/rotate-right.svg.js +1 -1
  700. package/lib/icons/rotate-screen.svg.js +1 -1
  701. package/lib/icons/scale-origin.svg.js +1 -1
  702. package/lib/icons/schedule.svg.js +1 -1
  703. package/lib/icons/search.svg.js +1 -1
  704. package/lib/icons/setting.svg.js +1 -1
  705. package/lib/icons/slider-handle-icon.svg.js +1 -1
  706. package/lib/icons/sort-asc.svg.js +1 -1
  707. package/lib/icons/sort-default.svg.js +1 -1
  708. package/lib/icons/sort-desc.svg.js +1 -1
  709. package/lib/icons/star.svg.js +1 -1
  710. package/lib/icons/status-close.svg.js +1 -1
  711. package/lib/icons/steps-finsh.svg.js +1 -1
  712. package/lib/icons/sub-plus.svg.js +1 -1
  713. package/lib/icons/success.svg.js +1 -1
  714. package/lib/icons/transparent.svg.js +1 -1
  715. package/lib/icons/trash.svg.js +1 -1
  716. package/lib/icons/tree-down.svg.js +1 -1
  717. package/lib/icons/undo-normal.svg.js +1 -1
  718. package/lib/icons/undo.svg.js +1 -1
  719. package/lib/icons/unfullscreen.svg.js +1 -1
  720. package/lib/icons/upload.svg.js +1 -1
  721. package/lib/icons/user-remove.svg.js +1 -1
  722. package/lib/icons/view.svg.js +1 -1
  723. package/lib/icons/volume.svg.js +1 -1
  724. package/lib/icons/warning-mark.svg.js +1 -1
  725. package/lib/icons/warning.svg.js +1 -1
  726. package/lib/icons/window-restore.svg.js +1 -1
  727. package/lib/icons/zoom-in.svg.js +1 -1
  728. package/lib/icons/zoom-out.svg.js +1 -1
  729. package/lib/index.js +1 -1
  730. package/lib/locale/de-DE.js +1 -1
  731. package/lib/locale/en-US.js +1 -1
  732. package/lib/locale/zh-CN.js +1 -1
  733. package/lib/scss/helper.scss.js +1 -1
  734. package/lib/scss/themes/ang.scss.js +1 -1
  735. package/lib/scss/themes/antd.scss.js +1 -1
  736. package/lib/scss/themes/cxd.scss.js +1 -1
  737. package/lib/scss/themes/dark.scss.js +1 -1
  738. package/lib/scss/themes/default.scss.js +1 -1
  739. package/lib/themes/ang.css +5 -1
  740. package/lib/themes/ang.js +1 -1
  741. package/lib/themes/antd.css +5 -1
  742. package/lib/themes/antd.js +1 -1
  743. package/lib/themes/cxd.css +5 -1
  744. package/lib/themes/cxd.js +1 -1
  745. package/lib/themes/dark.css +5 -1
  746. package/lib/themes/dark.js +1 -1
  747. package/lib/themes/default.css +5 -1
  748. package/lib/utils/vectorComputed.js +1 -1
  749. package/lib/withRemoteConfig.js +1 -1
  750. package/lib/withStore.js +1 -1
  751. package/package.json +3 -3
  752. package/scss/components/form/_select.scss +1 -1
  753. package/scss/components/form/_tree.scss +4 -0
@@ -78,10 +78,10 @@ export declare class ColorControl extends React.PureComponent<ColorProps, ColorC
78
78
  render(): React.JSX.Element;
79
79
  }
80
80
  declare const _default: {
81
- new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
81
+ new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
82
82
  placeholder?: string | undefined;
83
- format?: string | undefined;
84
83
  clearable?: boolean | undefined;
84
+ format?: string | undefined;
85
85
  allowCustomColor?: boolean | undefined;
86
86
  } & {} & {
87
87
  locale?: string;
@@ -92,20 +92,20 @@ declare const _default: {
92
92
  getWrappedInstance: () => any;
93
93
  render(): React.JSX.Element;
94
94
  context: unknown;
95
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
95
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
96
96
  placeholder?: string | undefined;
97
- format?: string | undefined;
98
97
  clearable?: boolean | undefined;
98
+ format?: string | undefined;
99
99
  allowCustomColor?: boolean | undefined;
100
100
  } & {} & {
101
101
  locale?: string;
102
102
  translate?: (str: string, ...args: any[]) => string;
103
103
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
104
104
  forceUpdate(callback?: (() => void) | undefined): void;
105
- readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
105
+ readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
106
106
  placeholder?: string | undefined;
107
- format?: string | undefined;
108
107
  clearable?: boolean | undefined;
108
+ format?: string | undefined;
109
109
  allowCustomColor?: boolean | undefined;
110
110
  } & {} & {
111
111
  locale?: string;
@@ -116,10 +116,10 @@ declare const _default: {
116
116
  [key: string]: React.ReactInstance;
117
117
  };
118
118
  componentDidMount?(): void;
119
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
119
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
120
120
  placeholder?: string | undefined;
121
- format?: string | undefined;
122
121
  clearable?: boolean | undefined;
122
+ format?: string | undefined;
123
123
  allowCustomColor?: boolean | undefined;
124
124
  } & {} & {
125
125
  locale?: string;
@@ -127,19 +127,19 @@ declare const _default: {
127
127
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
128
128
  componentWillUnmount?(): void;
129
129
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
130
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
130
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
131
131
  placeholder?: string | undefined;
132
- format?: string | undefined;
133
132
  clearable?: boolean | undefined;
133
+ format?: string | undefined;
134
134
  allowCustomColor?: boolean | undefined;
135
135
  } & {} & {
136
136
  locale?: string;
137
137
  translate?: (str: string, ...args: any[]) => string;
138
138
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
139
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
139
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
140
140
  placeholder?: string | undefined;
141
- format?: string | undefined;
142
141
  clearable?: boolean | undefined;
142
+ format?: string | undefined;
143
143
  allowCustomColor?: boolean | undefined;
144
144
  } & {} & {
145
145
  locale?: string;
@@ -147,37 +147,37 @@ declare const _default: {
147
147
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
148
148
  componentWillMount?(): void;
149
149
  UNSAFE_componentWillMount?(): void;
150
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
150
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
151
151
  placeholder?: string | undefined;
152
- format?: string | undefined;
153
152
  clearable?: boolean | undefined;
153
+ format?: string | undefined;
154
154
  allowCustomColor?: boolean | undefined;
155
155
  } & {} & {
156
156
  locale?: string;
157
157
  translate?: (str: string, ...args: any[]) => string;
158
158
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
159
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
159
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
160
160
  placeholder?: string | undefined;
161
- format?: string | undefined;
162
161
  clearable?: boolean | undefined;
162
+ format?: string | undefined;
163
163
  allowCustomColor?: boolean | undefined;
164
164
  } & {} & {
165
165
  locale?: string;
166
166
  translate?: (str: string, ...args: any[]) => string;
167
167
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
168
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
168
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
169
169
  placeholder?: string | undefined;
170
- format?: string | undefined;
171
170
  clearable?: boolean | undefined;
171
+ format?: string | undefined;
172
172
  allowCustomColor?: boolean | undefined;
173
173
  } & {} & {
174
174
  locale?: string;
175
175
  translate?: (str: string, ...args: any[]) => string;
176
176
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
177
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
177
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
178
178
  placeholder?: string | undefined;
179
- format?: string | undefined;
180
179
  clearable?: boolean | undefined;
180
+ format?: string | undefined;
181
181
  allowCustomColor?: boolean | undefined;
182
182
  } & {} & {
183
183
  locale?: string;
@@ -187,10 +187,10 @@ declare const _default: {
187
187
  displayName: string;
188
188
  contextType: React.Context<string>;
189
189
  ComposedComponent: React.ComponentType<{
190
- new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
190
+ new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
191
191
  placeholder?: string | undefined;
192
- format?: string | undefined;
193
192
  clearable?: boolean | undefined;
193
+ format?: string | undefined;
194
194
  allowCustomColor?: boolean | undefined;
195
195
  } & {} & {
196
196
  locale?: string;
@@ -201,20 +201,20 @@ declare const _default: {
201
201
  getWrappedInstance(): any;
202
202
  render(): React.JSX.Element;
203
203
  context: unknown;
204
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
204
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
205
205
  placeholder?: string | undefined;
206
- format?: string | undefined;
207
206
  clearable?: boolean | undefined;
207
+ format?: string | undefined;
208
208
  allowCustomColor?: boolean | undefined;
209
209
  } & {} & {
210
210
  locale?: string;
211
211
  translate?: (str: string, ...args: any[]) => string;
212
212
  }>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
213
213
  forceUpdate(callback?: (() => void) | undefined): void;
214
- readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
214
+ readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
215
215
  placeholder?: string | undefined;
216
- format?: string | undefined;
217
216
  clearable?: boolean | undefined;
217
+ format?: string | undefined;
218
218
  allowCustomColor?: boolean | undefined;
219
219
  } & {} & {
220
220
  locale?: string;
@@ -225,10 +225,10 @@ declare const _default: {
225
225
  [key: string]: React.ReactInstance;
226
226
  };
227
227
  componentDidMount?(): void;
228
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
228
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
229
229
  placeholder?: string | undefined;
230
- format?: string | undefined;
231
230
  clearable?: boolean | undefined;
231
+ format?: string | undefined;
232
232
  allowCustomColor?: boolean | undefined;
233
233
  } & {} & {
234
234
  locale?: string;
@@ -236,19 +236,19 @@ declare const _default: {
236
236
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
237
237
  componentWillUnmount?(): void;
238
238
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
239
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
239
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
240
240
  placeholder?: string | undefined;
241
- format?: string | undefined;
242
241
  clearable?: boolean | undefined;
242
+ format?: string | undefined;
243
243
  allowCustomColor?: boolean | undefined;
244
244
  } & {} & {
245
245
  locale?: string;
246
246
  translate?: (str: string, ...args: any[]) => string;
247
247
  }>, prevState: Readonly<{}>): any;
248
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
248
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
249
249
  placeholder?: string | undefined;
250
- format?: string | undefined;
251
250
  clearable?: boolean | undefined;
251
+ format?: string | undefined;
252
252
  allowCustomColor?: boolean | undefined;
253
253
  } & {} & {
254
254
  locale?: string;
@@ -256,37 +256,37 @@ declare const _default: {
256
256
  }>, prevState: Readonly<{}>, snapshot?: any): void;
257
257
  componentWillMount?(): void;
258
258
  UNSAFE_componentWillMount?(): void;
259
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
259
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
260
260
  placeholder?: string | undefined;
261
- format?: string | undefined;
262
261
  clearable?: boolean | undefined;
262
+ format?: string | undefined;
263
263
  allowCustomColor?: boolean | undefined;
264
264
  } & {} & {
265
265
  locale?: string;
266
266
  translate?: (str: string, ...args: any[]) => string;
267
267
  }>, nextContext: any): void;
268
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
268
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
269
269
  placeholder?: string | undefined;
270
- format?: string | undefined;
271
270
  clearable?: boolean | undefined;
271
+ format?: string | undefined;
272
272
  allowCustomColor?: boolean | undefined;
273
273
  } & {} & {
274
274
  locale?: string;
275
275
  translate?: (str: string, ...args: any[]) => string;
276
276
  }>, nextContext: any): void;
277
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
277
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
278
278
  placeholder?: string | undefined;
279
- format?: string | undefined;
280
279
  clearable?: boolean | undefined;
280
+ format?: string | undefined;
281
281
  allowCustomColor?: boolean | undefined;
282
282
  } & {} & {
283
283
  locale?: string;
284
284
  translate?: (str: string, ...args: any[]) => string;
285
285
  }>, nextState: Readonly<{}>, nextContext: any): void;
286
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
286
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
287
287
  placeholder?: string | undefined;
288
- format?: string | undefined;
289
288
  clearable?: boolean | undefined;
289
+ format?: string | undefined;
290
290
  allowCustomColor?: boolean | undefined;
291
291
  } & {} & {
292
292
  locale?: string;
@@ -300,10 +300,10 @@ declare const _default: {
300
300
  ComposedComponent: typeof ColorControl;
301
301
  }>;
302
302
  } & import("hoist-non-react-statics").NonReactStatics<{
303
- new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
303
+ new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
304
304
  placeholder?: string | undefined;
305
- format?: string | undefined;
306
305
  clearable?: boolean | undefined;
306
+ format?: string | undefined;
307
307
  allowCustomColor?: boolean | undefined;
308
308
  } & {} & {
309
309
  locale?: string;
@@ -314,20 +314,20 @@ declare const _default: {
314
314
  getWrappedInstance(): any;
315
315
  render(): React.JSX.Element;
316
316
  context: unknown;
317
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
317
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
318
318
  placeholder?: string | undefined;
319
- format?: string | undefined;
320
319
  clearable?: boolean | undefined;
320
+ format?: string | undefined;
321
321
  allowCustomColor?: boolean | undefined;
322
322
  } & {} & {
323
323
  locale?: string;
324
324
  translate?: (str: string, ...args: any[]) => string;
325
325
  }>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
326
326
  forceUpdate(callback?: (() => void) | undefined): void;
327
- readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
327
+ readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
328
328
  placeholder?: string | undefined;
329
- format?: string | undefined;
330
329
  clearable?: boolean | undefined;
330
+ format?: string | undefined;
331
331
  allowCustomColor?: boolean | undefined;
332
332
  } & {} & {
333
333
  locale?: string;
@@ -338,10 +338,10 @@ declare const _default: {
338
338
  [key: string]: React.ReactInstance;
339
339
  };
340
340
  componentDidMount?(): void;
341
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
341
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
342
342
  placeholder?: string | undefined;
343
- format?: string | undefined;
344
343
  clearable?: boolean | undefined;
344
+ format?: string | undefined;
345
345
  allowCustomColor?: boolean | undefined;
346
346
  } & {} & {
347
347
  locale?: string;
@@ -349,19 +349,19 @@ declare const _default: {
349
349
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
350
350
  componentWillUnmount?(): void;
351
351
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
352
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
352
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
353
353
  placeholder?: string | undefined;
354
- format?: string | undefined;
355
354
  clearable?: boolean | undefined;
355
+ format?: string | undefined;
356
356
  allowCustomColor?: boolean | undefined;
357
357
  } & {} & {
358
358
  locale?: string;
359
359
  translate?: (str: string, ...args: any[]) => string;
360
360
  }>, prevState: Readonly<{}>): any;
361
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
361
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
362
362
  placeholder?: string | undefined;
363
- format?: string | undefined;
364
363
  clearable?: boolean | undefined;
364
+ format?: string | undefined;
365
365
  allowCustomColor?: boolean | undefined;
366
366
  } & {} & {
367
367
  locale?: string;
@@ -369,37 +369,37 @@ declare const _default: {
369
369
  }>, prevState: Readonly<{}>, snapshot?: any): void;
370
370
  componentWillMount?(): void;
371
371
  UNSAFE_componentWillMount?(): void;
372
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
372
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
373
373
  placeholder?: string | undefined;
374
- format?: string | undefined;
375
374
  clearable?: boolean | undefined;
375
+ format?: string | undefined;
376
376
  allowCustomColor?: boolean | undefined;
377
377
  } & {} & {
378
378
  locale?: string;
379
379
  translate?: (str: string, ...args: any[]) => string;
380
380
  }>, nextContext: any): void;
381
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
381
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
382
382
  placeholder?: string | undefined;
383
- format?: string | undefined;
384
383
  clearable?: boolean | undefined;
384
+ format?: string | undefined;
385
385
  allowCustomColor?: boolean | undefined;
386
386
  } & {} & {
387
387
  locale?: string;
388
388
  translate?: (str: string, ...args: any[]) => string;
389
389
  }>, nextContext: any): void;
390
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
390
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
391
391
  placeholder?: string | undefined;
392
- format?: string | undefined;
393
392
  clearable?: boolean | undefined;
393
+ format?: string | undefined;
394
394
  allowCustomColor?: boolean | undefined;
395
395
  } & {} & {
396
396
  locale?: string;
397
397
  translate?: (str: string, ...args: any[]) => string;
398
398
  }>, nextState: Readonly<{}>, nextContext: any): void;
399
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
399
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
400
400
  placeholder?: string | undefined;
401
- format?: string | undefined;
402
401
  clearable?: boolean | undefined;
402
+ format?: string | undefined;
403
403
  allowCustomColor?: boolean | undefined;
404
404
  } & {} & {
405
405
  locale?: string;
@@ -413,10 +413,10 @@ declare const _default: {
413
413
  ComposedComponent: typeof ColorControl;
414
414
  }, {}> & {
415
415
  ComposedComponent: {
416
- new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
416
+ new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
417
417
  placeholder?: string | undefined;
418
- format?: string | undefined;
419
418
  clearable?: boolean | undefined;
419
+ format?: string | undefined;
420
420
  allowCustomColor?: boolean | undefined;
421
421
  } & {} & {
422
422
  locale?: string;
@@ -427,20 +427,20 @@ declare const _default: {
427
427
  getWrappedInstance(): any;
428
428
  render(): React.JSX.Element;
429
429
  context: unknown;
430
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
430
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
431
431
  placeholder?: string | undefined;
432
- format?: string | undefined;
433
432
  clearable?: boolean | undefined;
433
+ format?: string | undefined;
434
434
  allowCustomColor?: boolean | undefined;
435
435
  } & {} & {
436
436
  locale?: string;
437
437
  translate?: (str: string, ...args: any[]) => string;
438
438
  }>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
439
439
  forceUpdate(callback?: (() => void) | undefined): void;
440
- readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
440
+ readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
441
441
  placeholder?: string | undefined;
442
- format?: string | undefined;
443
442
  clearable?: boolean | undefined;
443
+ format?: string | undefined;
444
444
  allowCustomColor?: boolean | undefined;
445
445
  } & {} & {
446
446
  locale?: string;
@@ -451,10 +451,10 @@ declare const _default: {
451
451
  [key: string]: React.ReactInstance;
452
452
  };
453
453
  componentDidMount?(): void;
454
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
454
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
455
455
  placeholder?: string | undefined;
456
- format?: string | undefined;
457
456
  clearable?: boolean | undefined;
457
+ format?: string | undefined;
458
458
  allowCustomColor?: boolean | undefined;
459
459
  } & {} & {
460
460
  locale?: string;
@@ -462,19 +462,19 @@ declare const _default: {
462
462
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
463
463
  componentWillUnmount?(): void;
464
464
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
465
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
465
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
466
466
  placeholder?: string | undefined;
467
- format?: string | undefined;
468
467
  clearable?: boolean | undefined;
468
+ format?: string | undefined;
469
469
  allowCustomColor?: boolean | undefined;
470
470
  } & {} & {
471
471
  locale?: string;
472
472
  translate?: (str: string, ...args: any[]) => string;
473
473
  }>, prevState: Readonly<{}>): any;
474
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
474
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
475
475
  placeholder?: string | undefined;
476
- format?: string | undefined;
477
476
  clearable?: boolean | undefined;
477
+ format?: string | undefined;
478
478
  allowCustomColor?: boolean | undefined;
479
479
  } & {} & {
480
480
  locale?: string;
@@ -482,37 +482,37 @@ declare const _default: {
482
482
  }>, prevState: Readonly<{}>, snapshot?: any): void;
483
483
  componentWillMount?(): void;
484
484
  UNSAFE_componentWillMount?(): void;
485
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
485
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
486
486
  placeholder?: string | undefined;
487
- format?: string | undefined;
488
487
  clearable?: boolean | undefined;
488
+ format?: string | undefined;
489
489
  allowCustomColor?: boolean | undefined;
490
490
  } & {} & {
491
491
  locale?: string;
492
492
  translate?: (str: string, ...args: any[]) => string;
493
493
  }>, nextContext: any): void;
494
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
494
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
495
495
  placeholder?: string | undefined;
496
- format?: string | undefined;
497
496
  clearable?: boolean | undefined;
497
+ format?: string | undefined;
498
498
  allowCustomColor?: boolean | undefined;
499
499
  } & {} & {
500
500
  locale?: string;
501
501
  translate?: (str: string, ...args: any[]) => string;
502
502
  }>, nextContext: any): void;
503
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
503
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
504
504
  placeholder?: string | undefined;
505
- format?: string | undefined;
506
505
  clearable?: boolean | undefined;
506
+ format?: string | undefined;
507
507
  allowCustomColor?: boolean | undefined;
508
508
  } & {} & {
509
509
  locale?: string;
510
510
  translate?: (str: string, ...args: any[]) => string;
511
511
  }>, nextState: Readonly<{}>, nextContext: any): void;
512
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "resetValue" | "presetColors"> & {
512
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "value" | "onChange" | "placement" | "resetValue" | "popOverContainer" | "popoverClassName" | "popOverContainerSelector" | "presetColors"> & {
513
513
  placeholder?: string | undefined;
514
- format?: string | undefined;
515
514
  clearable?: boolean | undefined;
515
+ format?: string | undefined;
516
516
  allowCustomColor?: boolean | undefined;
517
517
  } & {} & {
518
518
  locale?: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.11
2
+ * amis-ui v6.14.0-beta.13
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -9,10 +9,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  var tslib = require('tslib');
11
11
  var React = require('react');
12
- var ReactDOM = require('react-dom');
12
+ var amisCore = require('amis-core');
13
13
  var reactColor = require('react-color');
14
14
  var icons = require('./icons.js');
15
- var amisCore = require('amis-core');
16
15
  var PopUp = require('./PopUp.js');
17
16
 
18
17
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -220,7 +219,7 @@ var ColorControl = /** @class */ (function (_super) {
220
219
  _J$X_(icons.Icon, { icon: "input-clear", className: "icon" }))) : null,
221
220
  _J$X_("span", { className: cx('ColorPicker-arrow') },
222
221
  _J$X_(icons.Icon, { icon: "right-arrow-bold", className: "icon", onClick: this.handleClick })),
223
- !mobileUI && isOpened ? (_J$X_(amisCore.Overlay, { placement: placement || 'auto', target: function () { return ReactDOM.findDOMNode(_this); }, onHide: this.close, container: popOverContainer || (function () { return ReactDOM.findDOMNode(_this); }), containerSelector: popOverContainerSelector, rootClose: false, show: true },
222
+ !mobileUI && isOpened ? (_J$X_(amisCore.Overlay, { placement: placement || 'auto', target: function () { return amisCore.findDomCompat(_this); }, onHide: this.close, container: popOverContainer || (function () { return amisCore.findDomCompat(_this); }), containerSelector: popOverContainerSelector, rootClose: false, show: true },
224
223
  _J$X_(amisCore.PopOver, { classPrefix: ns, className: cx('ColorPicker-popover', popoverClassName), onHide: this.close, overlay: true }, allowCustomColor ? (_J$X_(reactColor.SketchPicker, { styles: {}, disableAlpha: !!~['rgb', 'hex'].indexOf(format), color: value, presetColors: presetColors, onChangeComplete: this.handleChange })) : (_J$X_(reactColor.GithubPicker, { color: value, colors: Array.isArray(presetColors)
225
224
  ? presetColors
226
225
  .filter(function (item) { return typeof item === 'string' || amisCore.isObject(item); })
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.11
2
+ * amis-ui v6.14.0-beta.13
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.11
2
+ * amis-ui v6.14.0-beta.13
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5