amis-ui 2.7.2 → 2.8.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 (718) hide show
  1. package/esm/_virtual/index.js +1 -1
  2. package/esm/_virtual/react-is.development.js +1 -1
  3. package/esm/_virtual/react-is.production.min.js +1 -1
  4. package/esm/components/404.js +1 -1
  5. package/esm/components/Alert.js +1 -1
  6. package/esm/components/Alert2.js +1 -1
  7. package/esm/components/AnchorNav.js +1 -1
  8. package/esm/components/ArrayInput.js +1 -1
  9. package/esm/components/AsideNav.js +1 -1
  10. package/esm/components/AssociatedSelection.js +1 -1
  11. package/esm/components/Avatar.js +1 -1
  12. package/esm/components/Badge.js +5 -2
  13. package/esm/components/BaiduMapPicker.js +1 -1
  14. package/esm/components/BarCode.js +1 -1
  15. package/esm/components/Breadcrumb.js +1 -1
  16. package/esm/components/Button.js +1 -1
  17. package/esm/components/CalendarMobile.js +1 -1
  18. package/esm/components/Card.js +1 -1
  19. package/esm/components/Cascader.js +23 -13
  20. package/esm/components/ChainedSelection.js +1 -1
  21. package/esm/components/Checkbox.js +1 -1
  22. package/esm/components/CityArea.js +12 -12
  23. package/esm/components/CityDB.js +1 -1
  24. package/esm/components/CodeMirror.js +1 -1
  25. package/esm/components/Collapse.js +1 -1
  26. package/esm/components/CollapseGroup.js +1 -1
  27. package/esm/components/ColorPicker.d.ts +40 -40
  28. package/esm/components/ColorPicker.js +1 -1
  29. package/esm/components/Combo.js +28 -15
  30. package/esm/components/ConfirmBox.js +9 -6
  31. package/esm/components/ContextMenu.js +1 -1
  32. package/esm/components/DatePicker.d.ts +40 -40
  33. package/esm/components/DatePicker.js +6 -4
  34. package/esm/components/DateRangePicker.d.ts +40 -40
  35. package/esm/components/DateRangePicker.js +7 -5
  36. package/esm/components/DndContainer.js +1 -1
  37. package/esm/components/Drawer.js +1 -1
  38. package/esm/components/Editor.js +1 -1
  39. package/esm/components/Form.js +1 -1
  40. package/esm/components/FormField.js +1 -1
  41. package/esm/components/GridNav.js +1 -1
  42. package/esm/components/GroupedSelection.js +1 -1
  43. package/esm/components/Html.js +1 -1
  44. package/esm/components/ImageGallery.js +1 -1
  45. package/esm/components/Input.js +1 -1
  46. package/esm/components/InputBox.js +1 -1
  47. package/esm/components/InputBoxWithSuggestion.js +1 -1
  48. package/esm/components/InputTable.js +28 -15
  49. package/esm/components/Layout.js +1 -1
  50. package/esm/components/Link.js +1 -1
  51. package/esm/components/ListGroup.js +1 -1
  52. package/esm/components/ListMenu.js +1 -1
  53. package/esm/components/LocationPicker.d.ts +40 -40
  54. package/esm/components/LocationPicker.js +1 -1
  55. package/esm/components/Markdown.js +1 -1
  56. package/esm/components/Modal.js +1 -1
  57. package/esm/components/ModalManager.js +1 -1
  58. package/esm/components/MonthRangePicker.d.ts +40 -40
  59. package/esm/components/MultilineText.js +1 -1
  60. package/esm/components/NumberInput.d.ts +15 -11
  61. package/esm/components/NumberInput.js +9 -9
  62. package/esm/components/Pagination.js +1 -1
  63. package/esm/components/Picker.js +4 -4
  64. package/esm/components/PickerColumn.js +4 -4
  65. package/esm/components/PickerContainer.js +1 -1
  66. package/esm/components/PopOverContainer.d.ts +18 -0
  67. package/esm/components/PopOverContainer.js +42 -9
  68. package/esm/components/PopUp.js +1 -1
  69. package/esm/components/Progress.js +1 -1
  70. package/esm/components/PullRefresh.js +4 -4
  71. package/esm/components/Radios.js +1 -1
  72. package/esm/components/Range.js +1 -1
  73. package/esm/components/Rating.js +1 -1
  74. package/esm/components/ResultBox.d.ts +40 -40
  75. package/esm/components/ResultBox.js +3 -3
  76. package/esm/components/ResultList.js +1 -1
  77. package/esm/components/ResultTableList.js +1 -1
  78. package/esm/components/ResultTreeList.js +1 -1
  79. package/esm/components/RichText.js +1 -1
  80. package/esm/components/SearchBox.d.ts +82 -40
  81. package/esm/components/SearchBox.js +10 -7
  82. package/esm/components/Select.d.ts +195 -193
  83. package/esm/components/Select.js +19 -9
  84. package/esm/components/Selection.js +3 -3
  85. package/esm/components/SparkLine.js +4 -4
  86. package/esm/components/Spinner.js +29 -33
  87. package/esm/components/Steps.js +1 -1
  88. package/esm/components/Switch.js +1 -1
  89. package/esm/components/TableSelection.js +1 -1
  90. package/esm/components/Tabs.d.ts +41 -40
  91. package/esm/components/Tabs.js +15 -10
  92. package/esm/components/TabsTransfer.js +1 -1
  93. package/esm/components/TabsTransferPicker.js +1 -1
  94. package/esm/components/Tag.js +1 -1
  95. package/esm/components/Textarea.js +1 -1
  96. package/esm/components/Timeline.js +1 -1
  97. package/esm/components/TimelineItem.js +3 -2
  98. package/esm/components/Tinymce.js +1 -1
  99. package/esm/components/TitleBar.js +1 -1
  100. package/esm/components/Toast.js +3 -3
  101. package/esm/components/Tooltip.js +1 -1
  102. package/esm/components/TooltipWrapper.js +1 -1
  103. package/esm/components/Transfer.js +1 -1
  104. package/esm/components/TransferDropDown.d.ts +44 -40
  105. package/esm/components/TransferDropDown.js +3 -3
  106. package/esm/components/TransferPicker.js +1 -1
  107. package/esm/components/TransferSearch.js +1 -1
  108. package/esm/components/Tree.d.ts +82 -40
  109. package/esm/components/Tree.js +45 -28
  110. package/esm/components/TreeSelection.js +1 -1
  111. package/esm/components/UserSelect.js +1 -1
  112. package/esm/components/UserTabSelect.js +32 -13
  113. package/esm/components/WithRemoteConfig.js +1 -1
  114. package/esm/components/WithStore.js +1 -1
  115. package/esm/components/calendar/Calendar.js +4 -4
  116. package/esm/components/calendar/CalendarContainer.js +1 -1
  117. package/esm/components/calendar/DaysView.js +1 -1
  118. package/esm/components/calendar/MonthsView.js +3 -3
  119. package/esm/components/calendar/QuartersView.js +1 -1
  120. package/esm/components/calendar/TimeView.js +1 -1
  121. package/esm/components/calendar/YearsView.js +1 -1
  122. package/esm/components/condition-builder/Expression.js +1 -1
  123. package/esm/components/condition-builder/Field.js +1 -1
  124. package/esm/components/condition-builder/Formula.js +1 -1
  125. package/esm/components/condition-builder/Func.js +1 -1
  126. package/esm/components/condition-builder/Group.js +1 -1
  127. package/esm/components/condition-builder/GroupOrItem.js +1 -1
  128. package/esm/components/condition-builder/InputSwitch.js +1 -1
  129. package/esm/components/condition-builder/Item.js +1 -1
  130. package/esm/components/condition-builder/Value.js +2 -2
  131. package/esm/components/condition-builder/config.js +1 -1
  132. package/esm/components/condition-builder/index.js +5 -4
  133. package/esm/components/formula/Editor.js +3 -3
  134. package/esm/components/formula/FuncList.js +4 -4
  135. package/esm/components/formula/Picker.js +3 -3
  136. package/esm/components/formula/VariableList.js +3 -2
  137. package/esm/components/formula/plugin.js +3 -2
  138. package/esm/components/icons.js +4 -4
  139. package/esm/components/json-schema/Array.js +4 -4
  140. package/esm/components/json-schema/Item.js +1 -1
  141. package/esm/components/json-schema/Object.js +30 -10
  142. package/esm/components/json-schema/index.js +1 -1
  143. package/esm/components/menu/MenuContext.js +1 -1
  144. package/esm/components/menu/MenuItem.js +5 -5
  145. package/esm/components/menu/SubMenu.js +5 -6
  146. package/esm/components/menu/index.d.ts +6 -9
  147. package/esm/components/menu/index.js +59 -43
  148. package/esm/components/schema-editor/Array.js +3 -3
  149. package/esm/components/schema-editor/Common.d.ts +10 -0
  150. package/esm/components/schema-editor/Common.js +16 -6
  151. package/esm/components/schema-editor/Item.js +1 -1
  152. package/esm/components/schema-editor/Object.d.ts +2 -1
  153. package/esm/components/schema-editor/Object.js +10 -6
  154. package/esm/components/schema-editor/SchemaVariableList.js +1 -1
  155. package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
  156. package/esm/components/schema-editor/index.d.ts +46 -41
  157. package/esm/components/schema-editor/index.js +6 -4
  158. package/esm/components/table/Cell.js +1 -1
  159. package/esm/components/table/HeadCellDropDown.js +1 -1
  160. package/esm/components/table/HeadCellFilter.js +3 -3
  161. package/esm/components/table/HeadCellSelect.js +1 -1
  162. package/esm/components/table/HeadCellSort.js +1 -1
  163. package/esm/components/table/ItemActionsWrapper.js +1 -1
  164. package/esm/components/table/index.js +19 -19
  165. package/esm/components/virtual-list/AutoSizer.js +1 -1
  166. package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
  167. package/esm/components/virtual-list/constants.js +1 -1
  168. package/esm/components/virtual-list/index.js +1 -1
  169. package/esm/hooks/use-set-state.js +3 -3
  170. package/esm/hooks/use-sub-form.js +1 -1
  171. package/esm/hooks/use-touch.js +3 -3
  172. package/esm/hooks/use-update-effect.js +1 -1
  173. package/esm/hooks/use-validation-resolver.js +56 -32
  174. package/esm/icons/alert-danger.svg.js +1 -1
  175. package/esm/icons/alert-info.svg.js +1 -1
  176. package/esm/icons/alert-success.svg.js +1 -1
  177. package/esm/icons/alert-warning.svg.js +1 -1
  178. package/esm/icons/back.svg.js +1 -1
  179. package/esm/icons/calendar.svg.js +1 -1
  180. package/esm/icons/caret.svg.js +1 -1
  181. package/esm/icons/check.svg.js +1 -1
  182. package/esm/icons/clock.svg.js +1 -1
  183. package/esm/icons/close-small.svg.js +1 -1
  184. package/esm/icons/close.svg.js +1 -1
  185. package/esm/icons/cloud-upload.svg.js +1 -1
  186. package/esm/icons/column-filter.svg.js +1 -1
  187. package/esm/icons/columns.svg.js +1 -1
  188. package/esm/icons/compress-alt.svg.js +1 -1
  189. package/esm/icons/copy.svg.js +1 -1
  190. package/esm/icons/date.svg.js +1 -1
  191. package/esm/icons/department.svg.js +1 -1
  192. package/esm/icons/desk-empty.svg.js +1 -1
  193. package/esm/icons/dot.svg.js +1 -1
  194. package/esm/icons/down-arrow-bold.svg.js +1 -1
  195. package/esm/icons/down.svg.js +1 -1
  196. package/esm/icons/download.svg.js +1 -1
  197. package/esm/icons/drag-bar.svg.js +1 -1
  198. package/esm/icons/drag.svg.js +1 -1
  199. package/esm/icons/edit.svg.js +1 -1
  200. package/esm/icons/ellipsis-v.svg.js +1 -1
  201. package/esm/icons/enter.svg.js +1 -1
  202. package/esm/icons/exchange.svg.js +1 -1
  203. package/esm/icons/expand-alt.svg.js +1 -1
  204. package/esm/icons/fail.svg.js +1 -1
  205. package/esm/icons/file.svg.js +1 -1
  206. package/esm/icons/filter.svg.js +1 -1
  207. package/esm/icons/folder.svg.js +1 -1
  208. package/esm/icons/function.svg.js +1 -1
  209. package/esm/icons/home.svg.js +1 -1
  210. package/esm/icons/image.svg.js +1 -1
  211. package/esm/icons/info-circle.svg.js +1 -1
  212. package/esm/icons/info.svg.js +1 -1
  213. package/esm/icons/input-clear.svg.js +1 -1
  214. package/esm/icons/invisible.svg.js +1 -1
  215. package/esm/icons/left-arrow.svg.js +1 -1
  216. package/esm/icons/loading-outline.svg.js +1 -1
  217. package/esm/icons/location.svg.js +1 -1
  218. package/esm/icons/menu.svg.js +1 -1
  219. package/esm/icons/minus.svg.js +1 -1
  220. package/esm/icons/move.svg.js +1 -1
  221. package/esm/icons/mute.svg.js +1 -1
  222. package/esm/icons/new-edit.svg.js +1 -1
  223. package/esm/icons/pause.svg.js +1 -1
  224. package/esm/icons/pencil.svg.js +1 -1
  225. package/esm/icons/play.svg.js +1 -1
  226. package/esm/icons/plus-cicle.svg.js +1 -1
  227. package/esm/icons/plus-fine.svg.js +1 -1
  228. package/esm/icons/plus.svg.js +1 -1
  229. package/esm/icons/post.svg.js +1 -1
  230. package/esm/icons/question-mark.svg.js +1 -1
  231. package/esm/icons/question.svg.js +1 -1
  232. package/esm/icons/redo.svg.js +1 -1
  233. package/esm/icons/refresh.svg.js +1 -1
  234. package/esm/icons/reload.svg.js +1 -1
  235. package/esm/icons/remove.svg.js +1 -1
  236. package/esm/icons/retry.svg.js +1 -1
  237. package/esm/icons/right-arrow-bold.svg.js +1 -1
  238. package/esm/icons/right-arrow.svg.js +1 -1
  239. package/esm/icons/right-double-arrow.svg.js +1 -1
  240. package/esm/icons/role.svg.js +1 -1
  241. package/esm/icons/rotate-left.svg.js +1 -1
  242. package/esm/icons/rotate-right.svg.js +1 -1
  243. package/esm/icons/scale-origin.svg.js +1 -1
  244. package/esm/icons/schedule.svg.js +1 -1
  245. package/esm/icons/search.svg.js +1 -1
  246. package/esm/icons/setting.svg.js +1 -1
  247. package/esm/icons/slider-handle-icon.svg.js +1 -1
  248. package/esm/icons/sort-asc.svg.js +1 -1
  249. package/esm/icons/sort-default.svg.js +1 -1
  250. package/esm/icons/sort-desc.svg.js +1 -1
  251. package/esm/icons/star.svg.js +1 -1
  252. package/esm/icons/status-close.svg.js +1 -1
  253. package/esm/icons/steps-finsh.svg.js +1 -1
  254. package/esm/icons/success.svg.js +1 -1
  255. package/esm/icons/transparent.svg.js +1 -1
  256. package/esm/icons/trash.svg.js +1 -1
  257. package/esm/icons/tree-down.svg.js +1 -1
  258. package/esm/icons/undo.svg.js +1 -1
  259. package/esm/icons/upload.svg.js +1 -1
  260. package/esm/icons/user-remove.svg.js +1 -1
  261. package/esm/icons/view.svg.js +1 -1
  262. package/esm/icons/volume.svg.js +1 -1
  263. package/esm/icons/warning-mark.svg.js +1 -1
  264. package/esm/icons/warning.svg.js +1 -1
  265. package/esm/icons/window-restore.svg.js +1 -1
  266. package/esm/icons/zoom-in.svg.js +1 -1
  267. package/esm/icons/zoom-out.svg.js +1 -1
  268. package/esm/index.js +1 -1
  269. package/esm/locale/de-DE.js +1 -1
  270. package/esm/locale/en-US.js +1 -1
  271. package/esm/locale/zh-CN.js +1 -1
  272. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +2 -4
  273. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
  274. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
  275. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
  276. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
  277. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
  278. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
  279. package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
  280. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
  281. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
  282. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
  283. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +2 -4
  284. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
  285. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
  286. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
  287. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  288. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
  289. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
  290. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
  291. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
  292. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
  293. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
  294. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
  295. package/esm/node_modules/rc-overflow/es/Item.js +3 -3
  296. package/esm/node_modules/rc-overflow/es/Overflow.js +3 -3
  297. package/esm/node_modules/rc-overflow/es/RawItem.js +1 -1
  298. package/esm/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +1 -1
  299. package/esm/node_modules/rc-overflow/es/index.js +1 -1
  300. package/esm/node_modules/rc-resize-observer/es/Collection.js +4 -5
  301. package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -7
  302. package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +38 -37
  303. package/esm/node_modules/rc-resize-observer/es/index.js +13 -11
  304. package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +6 -12
  305. package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
  306. package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
  307. package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
  308. package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
  309. package/esm/node_modules/rc-util/es/hooks/useState.js +1 -1
  310. package/esm/node_modules/rc-util/es/raf.js +1 -1
  311. package/esm/node_modules/rc-util/es/ref.js +1 -1
  312. package/esm/node_modules/rc-util/es/warning.js +1 -1
  313. package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
  314. package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  315. package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
  316. package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
  317. package/esm/themes/ang.js +1 -1
  318. package/esm/themes/antd.js +1 -1
  319. package/esm/themes/cxd.js +1 -1
  320. package/esm/themes/dark.js +1 -1
  321. package/lib/_virtual/index.js +1 -1
  322. package/lib/_virtual/react-is.development.js +1 -1
  323. package/lib/_virtual/react-is.production.min.js +1 -1
  324. package/lib/components/404.js +1 -1
  325. package/lib/components/Alert.js +1 -1
  326. package/lib/components/Alert2.d.ts +10 -10
  327. package/lib/components/Alert2.js +1 -1
  328. package/lib/components/AnchorNav.d.ts +10 -10
  329. package/lib/components/AnchorNav.js +1 -1
  330. package/lib/components/ArrayInput.d.ts +40 -40
  331. package/lib/components/ArrayInput.js +1 -1
  332. package/lib/components/AsideNav.js +1 -1
  333. package/lib/components/AssociatedSelection.d.ts +40 -40
  334. package/lib/components/AssociatedSelection.js +1 -1
  335. package/lib/components/Avatar.d.ts +10 -10
  336. package/lib/components/Avatar.js +1 -1
  337. package/lib/components/Badge.js +5 -2
  338. package/lib/components/BaiduMapPicker.js +1 -1
  339. package/lib/components/BarCode.js +1 -1
  340. package/lib/components/Breadcrumb.js +1 -1
  341. package/lib/components/Button.d.ts +10 -10
  342. package/lib/components/Button.js +1 -1
  343. package/lib/components/CalendarMobile.d.ts +40 -40
  344. package/lib/components/CalendarMobile.js +1 -1
  345. package/lib/components/Card.d.ts +10 -10
  346. package/lib/components/Card.js +1 -1
  347. package/lib/components/Cascader.js +22 -12
  348. package/lib/components/ChainedSelection.d.ts +40 -40
  349. package/lib/components/ChainedSelection.js +1 -1
  350. package/lib/components/Checkbox.d.ts +10 -10
  351. package/lib/components/Checkbox.js +1 -1
  352. package/lib/components/CityArea.js +11 -11
  353. package/lib/components/CityDB.js +1 -1
  354. package/lib/components/CodeMirror.js +1 -1
  355. package/lib/components/Collapse.d.ts +10 -10
  356. package/lib/components/Collapse.js +1 -1
  357. package/lib/components/CollapseGroup.js +1 -1
  358. package/lib/components/ColorPicker.d.ts +40 -40
  359. package/lib/components/ColorPicker.js +1 -1
  360. package/lib/components/Combo.js +27 -14
  361. package/lib/components/ConfirmBox.d.ts +40 -40
  362. package/lib/components/ConfirmBox.js +8 -5
  363. package/lib/components/ContextMenu.js +1 -1
  364. package/lib/components/DatePicker.d.ts +40 -40
  365. package/lib/components/DatePicker.js +5 -3
  366. package/lib/components/DateRangePicker.d.ts +40 -40
  367. package/lib/components/DateRangePicker.js +6 -4
  368. package/lib/components/DndContainer.js +1 -1
  369. package/lib/components/Drawer.d.ts +10 -10
  370. package/lib/components/Drawer.js +1 -1
  371. package/lib/components/Editor.d.ts +40 -40
  372. package/lib/components/Editor.js +1 -1
  373. package/lib/components/Form.js +1 -1
  374. package/lib/components/FormField.js +1 -1
  375. package/lib/components/GridNav.js +1 -1
  376. package/lib/components/GroupedSelection.d.ts +40 -40
  377. package/lib/components/GroupedSelection.js +1 -1
  378. package/lib/components/Html.js +1 -1
  379. package/lib/components/ImageGallery.js +1 -1
  380. package/lib/components/Input.js +1 -1
  381. package/lib/components/InputBox.d.ts +10 -10
  382. package/lib/components/InputBox.js +1 -1
  383. package/lib/components/InputBoxWithSuggestion.js +1 -1
  384. package/lib/components/InputTable.js +27 -14
  385. package/lib/components/Layout.js +1 -1
  386. package/lib/components/Link.js +1 -1
  387. package/lib/components/ListGroup.d.ts +10 -10
  388. package/lib/components/ListGroup.js +1 -1
  389. package/lib/components/ListMenu.d.ts +40 -40
  390. package/lib/components/ListMenu.js +1 -1
  391. package/lib/components/LocationPicker.d.ts +40 -40
  392. package/lib/components/LocationPicker.js +1 -1
  393. package/lib/components/Markdown.js +1 -1
  394. package/lib/components/Modal.d.ts +40 -40
  395. package/lib/components/Modal.js +1 -1
  396. package/lib/components/ModalManager.js +1 -1
  397. package/lib/components/MonthRangePicker.d.ts +40 -40
  398. package/lib/components/MultilineText.js +1 -1
  399. package/lib/components/NumberInput.d.ts +15 -11
  400. package/lib/components/NumberInput.js +8 -8
  401. package/lib/components/Pagination.js +1 -1
  402. package/lib/components/Picker.js +3 -3
  403. package/lib/components/PickerColumn.js +3 -3
  404. package/lib/components/PickerContainer.js +1 -1
  405. package/lib/components/PopOverContainer.d.ts +18 -0
  406. package/lib/components/PopOverContainer.js +41 -8
  407. package/lib/components/PopUp.js +1 -1
  408. package/lib/components/Progress.d.ts +10 -10
  409. package/lib/components/Progress.js +1 -1
  410. package/lib/components/PullRefresh.js +4 -4
  411. package/lib/components/Radios.d.ts +10 -10
  412. package/lib/components/Radios.js +1 -1
  413. package/lib/components/Range.js +1 -1
  414. package/lib/components/Rating.d.ts +10 -10
  415. package/lib/components/Rating.js +1 -1
  416. package/lib/components/ResultBox.d.ts +40 -40
  417. package/lib/components/ResultBox.js +2 -2
  418. package/lib/components/ResultList.d.ts +40 -40
  419. package/lib/components/ResultList.js +1 -1
  420. package/lib/components/ResultTableList.d.ts +40 -40
  421. package/lib/components/ResultTableList.js +1 -1
  422. package/lib/components/ResultTreeList.d.ts +40 -40
  423. package/lib/components/ResultTreeList.js +1 -1
  424. package/lib/components/RichText.js +1 -1
  425. package/lib/components/SearchBox.d.ts +82 -40
  426. package/lib/components/SearchBox.js +9 -6
  427. package/lib/components/Select.d.ts +195 -193
  428. package/lib/components/Select.js +18 -8
  429. package/lib/components/Selection.d.ts +40 -40
  430. package/lib/components/Selection.js +2 -2
  431. package/lib/components/SparkLine.d.ts +40 -40
  432. package/lib/components/SparkLine.js +3 -3
  433. package/lib/components/Spinner.d.ts +10 -10
  434. package/lib/components/Spinner.js +29 -33
  435. package/lib/components/Steps.js +1 -1
  436. package/lib/components/Switch.d.ts +10 -10
  437. package/lib/components/Switch.js +1 -1
  438. package/lib/components/TableSelection.d.ts +40 -40
  439. package/lib/components/TableSelection.js +1 -1
  440. package/lib/components/Tabs.d.ts +41 -40
  441. package/lib/components/Tabs.js +15 -10
  442. package/lib/components/TabsTransfer.d.ts +40 -40
  443. package/lib/components/TabsTransfer.js +1 -1
  444. package/lib/components/TabsTransferPicker.js +1 -1
  445. package/lib/components/Tag.d.ts +10 -10
  446. package/lib/components/Tag.js +1 -1
  447. package/lib/components/Textarea.d.ts +40 -40
  448. package/lib/components/Textarea.js +1 -1
  449. package/lib/components/Timeline.js +1 -1
  450. package/lib/components/TimelineItem.js +3 -2
  451. package/lib/components/Tinymce.js +1 -1
  452. package/lib/components/TitleBar.js +1 -1
  453. package/lib/components/Toast.js +2 -2
  454. package/lib/components/Tooltip.js +1 -1
  455. package/lib/components/TooltipWrapper.js +1 -1
  456. package/lib/components/Transfer.d.ts +40 -40
  457. package/lib/components/Transfer.js +1 -1
  458. package/lib/components/TransferDropDown.d.ts +44 -40
  459. package/lib/components/TransferDropDown.js +3 -3
  460. package/lib/components/TransferPicker.js +1 -1
  461. package/lib/components/TransferSearch.js +1 -1
  462. package/lib/components/Tree.d.ts +82 -40
  463. package/lib/components/Tree.js +44 -27
  464. package/lib/components/TreeSelection.d.ts +40 -40
  465. package/lib/components/TreeSelection.js +1 -1
  466. package/lib/components/UserSelect.d.ts +40 -40
  467. package/lib/components/UserSelect.js +1 -1
  468. package/lib/components/UserTabSelect.d.ts +40 -40
  469. package/lib/components/UserTabSelect.js +31 -12
  470. package/lib/components/WithRemoteConfig.js +1 -1
  471. package/lib/components/WithStore.js +1 -1
  472. package/lib/components/calendar/Calendar.js +3 -3
  473. package/lib/components/calendar/CalendarContainer.js +1 -1
  474. package/lib/components/calendar/DaysView.js +1 -1
  475. package/lib/components/calendar/MonthsView.js +2 -2
  476. package/lib/components/calendar/QuartersView.js +1 -1
  477. package/lib/components/calendar/TimeView.js +1 -1
  478. package/lib/components/calendar/YearsView.js +1 -1
  479. package/lib/components/condition-builder/Expression.js +1 -1
  480. package/lib/components/condition-builder/Field.js +1 -1
  481. package/lib/components/condition-builder/Formula.js +1 -1
  482. package/lib/components/condition-builder/Func.js +1 -1
  483. package/lib/components/condition-builder/Group.js +1 -1
  484. package/lib/components/condition-builder/GroupOrItem.js +1 -1
  485. package/lib/components/condition-builder/InputSwitch.js +1 -1
  486. package/lib/components/condition-builder/Item.js +1 -1
  487. package/lib/components/condition-builder/Value.js +2 -2
  488. package/lib/components/condition-builder/config.js +1 -1
  489. package/lib/components/condition-builder/index.js +4 -3
  490. package/lib/components/formula/Editor.d.ts +40 -40
  491. package/lib/components/formula/Editor.js +2 -2
  492. package/lib/components/formula/FuncList.js +3 -3
  493. package/lib/components/formula/Picker.d.ts +40 -40
  494. package/lib/components/formula/Picker.js +2 -2
  495. package/lib/components/formula/VariableList.js +3 -2
  496. package/lib/components/formula/plugin.js +3 -2
  497. package/lib/components/icons.js +3 -3
  498. package/lib/components/json-schema/Array.js +3 -3
  499. package/lib/components/json-schema/Item.js +1 -1
  500. package/lib/components/json-schema/Object.js +29 -9
  501. package/lib/components/json-schema/index.js +1 -1
  502. package/lib/components/menu/MenuContext.js +1 -1
  503. package/lib/components/menu/MenuItem.js +5 -5
  504. package/lib/components/menu/SubMenu.js +4 -5
  505. package/lib/components/menu/index.d.ts +16 -19
  506. package/lib/components/menu/index.js +56 -41
  507. package/lib/components/schema-editor/Array.js +3 -3
  508. package/lib/components/schema-editor/Common.d.ts +10 -0
  509. package/lib/components/schema-editor/Common.js +16 -5
  510. package/lib/components/schema-editor/Item.js +1 -1
  511. package/lib/components/schema-editor/Object.d.ts +2 -1
  512. package/lib/components/schema-editor/Object.js +10 -6
  513. package/lib/components/schema-editor/SchemaVariableList.js +1 -1
  514. package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
  515. package/lib/components/schema-editor/index.d.ts +46 -41
  516. package/lib/components/schema-editor/index.js +6 -4
  517. package/lib/components/table/Cell.d.ts +40 -40
  518. package/lib/components/table/Cell.js +1 -1
  519. package/lib/components/table/HeadCellDropDown.js +1 -1
  520. package/lib/components/table/HeadCellFilter.js +2 -2
  521. package/lib/components/table/HeadCellSelect.js +1 -1
  522. package/lib/components/table/HeadCellSort.js +1 -1
  523. package/lib/components/table/ItemActionsWrapper.js +1 -1
  524. package/lib/components/table/index.d.ts +40 -40
  525. package/lib/components/table/index.js +18 -18
  526. package/lib/components/virtual-list/AutoSizer.js +1 -1
  527. package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
  528. package/lib/components/virtual-list/constants.js +1 -1
  529. package/lib/components/virtual-list/index.js +1 -1
  530. package/lib/hooks/use-set-state.js +2 -2
  531. package/lib/hooks/use-sub-form.js +1 -1
  532. package/lib/hooks/use-touch.js +2 -2
  533. package/lib/hooks/use-update-effect.js +1 -1
  534. package/lib/hooks/use-validation-resolver.js +55 -31
  535. package/lib/icons/alert-danger.svg.js +1 -1
  536. package/lib/icons/alert-info.svg.js +1 -1
  537. package/lib/icons/alert-success.svg.js +1 -1
  538. package/lib/icons/alert-warning.svg.js +1 -1
  539. package/lib/icons/back.svg.js +1 -1
  540. package/lib/icons/calendar.svg.js +1 -1
  541. package/lib/icons/caret.svg.js +1 -1
  542. package/lib/icons/check.svg.js +1 -1
  543. package/lib/icons/clock.svg.js +1 -1
  544. package/lib/icons/close-small.svg.js +1 -1
  545. package/lib/icons/close.svg.js +1 -1
  546. package/lib/icons/cloud-upload.svg.js +1 -1
  547. package/lib/icons/column-filter.svg.js +1 -1
  548. package/lib/icons/columns.svg.js +1 -1
  549. package/lib/icons/compress-alt.svg.js +1 -1
  550. package/lib/icons/copy.svg.js +1 -1
  551. package/lib/icons/date.svg.js +1 -1
  552. package/lib/icons/department.svg.js +1 -1
  553. package/lib/icons/desk-empty.svg.js +1 -1
  554. package/lib/icons/dot.svg.js +1 -1
  555. package/lib/icons/down-arrow-bold.svg.js +1 -1
  556. package/lib/icons/down.svg.js +1 -1
  557. package/lib/icons/download.svg.js +1 -1
  558. package/lib/icons/drag-bar.svg.js +1 -1
  559. package/lib/icons/drag.svg.js +1 -1
  560. package/lib/icons/edit.svg.js +1 -1
  561. package/lib/icons/ellipsis-v.svg.js +1 -1
  562. package/lib/icons/enter.svg.js +1 -1
  563. package/lib/icons/exchange.svg.js +1 -1
  564. package/lib/icons/expand-alt.svg.js +1 -1
  565. package/lib/icons/fail.svg.js +1 -1
  566. package/lib/icons/file.svg.js +1 -1
  567. package/lib/icons/filter.svg.js +1 -1
  568. package/lib/icons/folder.svg.js +1 -1
  569. package/lib/icons/function.svg.js +1 -1
  570. package/lib/icons/home.svg.js +1 -1
  571. package/lib/icons/image.svg.js +1 -1
  572. package/lib/icons/info-circle.svg.js +1 -1
  573. package/lib/icons/info.svg.js +1 -1
  574. package/lib/icons/input-clear.svg.js +1 -1
  575. package/lib/icons/invisible.svg.js +1 -1
  576. package/lib/icons/left-arrow.svg.js +1 -1
  577. package/lib/icons/loading-outline.svg.js +1 -1
  578. package/lib/icons/location.svg.js +1 -1
  579. package/lib/icons/menu.svg.js +1 -1
  580. package/lib/icons/minus.svg.js +1 -1
  581. package/lib/icons/move.svg.js +1 -1
  582. package/lib/icons/mute.svg.js +1 -1
  583. package/lib/icons/new-edit.svg.js +1 -1
  584. package/lib/icons/pause.svg.js +1 -1
  585. package/lib/icons/pencil.svg.js +1 -1
  586. package/lib/icons/play.svg.js +1 -1
  587. package/lib/icons/plus-cicle.svg.js +1 -1
  588. package/lib/icons/plus-fine.svg.js +1 -1
  589. package/lib/icons/plus.svg.js +1 -1
  590. package/lib/icons/post.svg.js +1 -1
  591. package/lib/icons/question-mark.svg.js +1 -1
  592. package/lib/icons/question.svg.js +1 -1
  593. package/lib/icons/redo.svg.js +1 -1
  594. package/lib/icons/refresh.svg.js +1 -1
  595. package/lib/icons/reload.svg.js +1 -1
  596. package/lib/icons/remove.svg.js +1 -1
  597. package/lib/icons/retry.svg.js +1 -1
  598. package/lib/icons/right-arrow-bold.svg.js +1 -1
  599. package/lib/icons/right-arrow.svg.js +1 -1
  600. package/lib/icons/right-double-arrow.svg.js +1 -1
  601. package/lib/icons/role.svg.js +1 -1
  602. package/lib/icons/rotate-left.svg.js +1 -1
  603. package/lib/icons/rotate-right.svg.js +1 -1
  604. package/lib/icons/scale-origin.svg.js +1 -1
  605. package/lib/icons/schedule.svg.js +1 -1
  606. package/lib/icons/search.svg.js +1 -1
  607. package/lib/icons/setting.svg.js +1 -1
  608. package/lib/icons/slider-handle-icon.svg.js +1 -1
  609. package/lib/icons/sort-asc.svg.js +1 -1
  610. package/lib/icons/sort-default.svg.js +1 -1
  611. package/lib/icons/sort-desc.svg.js +1 -1
  612. package/lib/icons/star.svg.js +1 -1
  613. package/lib/icons/status-close.svg.js +1 -1
  614. package/lib/icons/steps-finsh.svg.js +1 -1
  615. package/lib/icons/success.svg.js +1 -1
  616. package/lib/icons/transparent.svg.js +1 -1
  617. package/lib/icons/trash.svg.js +1 -1
  618. package/lib/icons/tree-down.svg.js +1 -1
  619. package/lib/icons/undo.svg.js +1 -1
  620. package/lib/icons/upload.svg.js +1 -1
  621. package/lib/icons/user-remove.svg.js +1 -1
  622. package/lib/icons/view.svg.js +1 -1
  623. package/lib/icons/volume.svg.js +1 -1
  624. package/lib/icons/warning-mark.svg.js +1 -1
  625. package/lib/icons/warning.svg.js +1 -1
  626. package/lib/icons/window-restore.svg.js +1 -1
  627. package/lib/icons/zoom-in.svg.js +1 -1
  628. package/lib/icons/zoom-out.svg.js +1 -1
  629. package/lib/index.js +1 -1
  630. package/lib/locale/de-DE.js +1 -1
  631. package/lib/locale/en-US.js +1 -1
  632. package/lib/locale/zh-CN.js +1 -1
  633. package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +2 -4
  634. package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
  635. package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
  636. package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
  637. package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
  638. package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
  639. package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
  640. package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
  641. package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
  642. package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
  643. package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
  644. package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +2 -4
  645. package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
  646. package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
  647. package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
  648. package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  649. package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
  650. package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
  651. package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
  652. package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
  653. package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
  654. package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
  655. package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
  656. package/lib/node_modules/rc-overflow/es/Item.js +1 -1
  657. package/lib/node_modules/rc-overflow/es/Overflow.js +1 -1
  658. package/lib/node_modules/rc-overflow/es/RawItem.js +1 -1
  659. package/lib/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +1 -1
  660. package/lib/node_modules/rc-overflow/es/index.js +1 -1
  661. package/lib/node_modules/rc-resize-observer/es/Collection.js +4 -5
  662. package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -7
  663. package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +38 -37
  664. package/lib/node_modules/rc-resize-observer/es/index.js +11 -9
  665. package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +6 -12
  666. package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
  667. package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
  668. package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
  669. package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
  670. package/lib/node_modules/rc-util/es/hooks/useState.js +1 -1
  671. package/lib/node_modules/rc-util/es/raf.js +1 -1
  672. package/lib/node_modules/rc-util/es/ref.js +1 -1
  673. package/lib/node_modules/rc-util/es/warning.js +1 -1
  674. package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
  675. package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  676. package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
  677. package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
  678. package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
  679. package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
  680. package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
  681. package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
  682. package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
  683. package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
  684. package/lib/themes/ang.css +903 -429
  685. package/lib/themes/ang.js +1 -1
  686. package/lib/themes/antd.css +917 -435
  687. package/lib/themes/antd.js +1 -1
  688. package/lib/themes/cxd.css +903 -429
  689. package/lib/themes/cxd.js +1 -1
  690. package/lib/themes/dark.css +903 -429
  691. package/lib/themes/dark.js +1 -1
  692. package/lib/themes/default.css +903 -429
  693. package/package.json +4 -4
  694. package/scss/_components.scss +464 -6
  695. package/scss/_properties.scss +3 -199
  696. package/scss/base/_normalize.scss +11 -0
  697. package/scss/components/_button.scss +8 -17
  698. package/scss/components/_formula.scss +13 -0
  699. package/scss/components/_menu.scss +93 -75
  700. package/scss/components/_result-box.scss +83 -17
  701. package/scss/components/_table.scss +0 -5
  702. package/scss/components/_tabs.scss +4 -0
  703. package/scss/components/form/_chained-select.scss +5 -0
  704. package/scss/components/form/_checks.scss +0 -4
  705. package/scss/components/form/_date-range.scss +73 -11
  706. package/scss/components/form/_date.scss +93 -23
  707. package/scss/components/form/_form.scss +0 -1
  708. package/scss/components/form/_input-group.scss +11 -0
  709. package/scss/components/form/_location.scss +16 -16
  710. package/scss/components/form/_nested-select.scss +6 -2
  711. package/scss/components/form/_number.scss +12 -3
  712. package/scss/components/form/_select.scss +119 -52
  713. package/scss/components/form/_selection.scss +62 -40
  714. package/scss/components/form/_tag.scss +0 -4
  715. package/scss/components/form/_text.scss +13 -3
  716. package/scss/components/form/_tree.scss +22 -2
  717. package/scss/components/react-datetime.scss +8 -2
  718. package/scss/themes/_antd-variables.scss +20 -6
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,9 +1,9 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
6
- import { __assign, __awaiter, __generator } from 'tslib';
6
+ import { __assign, __awaiter, __generator, __values } from 'tslib';
7
7
  import { themeable, localeable } from 'amis-core';
8
8
  import React__default from 'react';
9
9
  import { useFieldArray, useFormState, useFormContext } from 'react-hook-form';
@@ -36,40 +36,53 @@ function InputTable(_a) {
36
36
  finalRules.maxLength = maxLength;
37
37
  }
38
38
  finalRules.validate = React__default.useCallback(function (items) { return __awaiter(_this, void 0, void 0, function () {
39
- var map, result, _i, _a, key, valid;
40
- return __generator(this, function (_b) {
41
- switch (_b.label) {
39
+ var map, result, _a, _b, key, valid, e_1_1;
40
+ var e_1, _c;
41
+ return __generator(this, function (_d) {
42
+ switch (_d.label) {
42
43
  case 0:
43
44
  map = subForms.current;
44
45
  if (!(typeof (rules === null || rules === void 0 ? void 0 : rules.validate) === 'function')) return [3 /*break*/, 2];
45
46
  return [4 /*yield*/, rules.validate(items)];
46
47
  case 1:
47
- result = _b.sent();
48
+ result = _d.sent();
48
49
  if (result) {
49
50
  return [2 /*return*/, result];
50
51
  }
51
- _b.label = 2;
52
+ _d.label = 2;
52
53
  case 2:
53
- _i = 0, _a = Object.keys(map);
54
- _b.label = 3;
54
+ _d.trys.push([2, 7, 8, 9]);
55
+ _a = __values(Object.keys(map)), _b = _a.next();
56
+ _d.label = 3;
55
57
  case 3:
56
- if (!(_i < _a.length)) return [3 /*break*/, 6];
57
- key = _a[_i];
58
+ if (!!_b.done) return [3 /*break*/, 6];
59
+ key = _b.value;
58
60
  return [4 /*yield*/, (function (methods) {
59
61
  return new Promise(function (resolve) {
60
62
  methods.handleSubmit(function () { return resolve(true); }, function () { return resolve(false); })();
61
63
  });
62
64
  })(map[key])];
63
65
  case 4:
64
- valid = _b.sent();
66
+ valid = _d.sent();
65
67
  if (!valid) {
66
68
  return [2 /*return*/, __('validateFailed')];
67
69
  }
68
- _b.label = 5;
70
+ _d.label = 5;
69
71
  case 5:
70
- _i++;
72
+ _b = _a.next();
71
73
  return [3 /*break*/, 3];
72
- case 6: return [2 /*return*/];
74
+ case 6: return [3 /*break*/, 9];
75
+ case 7:
76
+ e_1_1 = _d.sent();
77
+ e_1 = { error: e_1_1 };
78
+ return [3 /*break*/, 9];
79
+ case 8:
80
+ try {
81
+ if (_b && !_b.done && (_c = _a.return)) _c.call(_a);
82
+ }
83
+ finally { if (e_1) throw e_1.error; }
84
+ return [7 /*endfinally*/];
85
+ case 9: return [2 /*return*/];
73
86
  }
74
87
  });
75
88
  }); }, [subForms]);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -48,7 +48,7 @@ export declare class LocationPicker extends React.Component<LocationProps, Locat
48
48
  render(): JSX.Element;
49
49
  }
50
50
  declare const ThemedCity: {
51
- new (props: Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
51
+ new (props: Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
52
52
  placeholder: string;
53
53
  clearable: boolean;
54
54
  }, never>> & {
@@ -60,7 +60,7 @@ declare const ThemedCity: {
60
60
  getWrappedInstance(): any;
61
61
  render(): JSX.Element;
62
62
  context: any;
63
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
63
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
64
64
  placeholder: string;
65
65
  clearable: boolean;
66
66
  }, never>> & {
@@ -68,7 +68,7 @@ declare const ThemedCity: {
68
68
  translate?: ((str: string, ...args: any[]) => string) | undefined;
69
69
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
70
70
  forceUpdate(callback?: (() => void) | undefined): void;
71
- readonly props: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
71
+ readonly props: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
72
72
  placeholder: string;
73
73
  clearable: boolean;
74
74
  }, never>> & {
@@ -82,7 +82,7 @@ declare const ThemedCity: {
82
82
  [key: string]: React.ReactInstance;
83
83
  };
84
84
  componentDidMount?(): void;
85
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
85
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
86
86
  placeholder: string;
87
87
  clearable: boolean;
88
88
  }, never>> & {
@@ -91,14 +91,14 @@ declare const ThemedCity: {
91
91
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
92
92
  componentWillUnmount?(): void;
93
93
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
94
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
94
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
95
95
  placeholder: string;
96
96
  clearable: boolean;
97
97
  }, never>> & {
98
98
  locale?: string | undefined;
99
99
  translate?: ((str: string, ...args: any[]) => string) | undefined;
100
100
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
101
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
101
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
102
102
  placeholder: string;
103
103
  clearable: boolean;
104
104
  }, never>> & {
@@ -107,28 +107,28 @@ declare const ThemedCity: {
107
107
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
108
108
  componentWillMount?(): void;
109
109
  UNSAFE_componentWillMount?(): void;
110
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
110
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
111
111
  placeholder: string;
112
112
  clearable: boolean;
113
113
  }, never>> & {
114
114
  locale?: string | undefined;
115
115
  translate?: ((str: string, ...args: any[]) => string) | undefined;
116
116
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
117
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
117
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
118
118
  placeholder: string;
119
119
  clearable: boolean;
120
120
  }, never>> & {
121
121
  locale?: string | undefined;
122
122
  translate?: ((str: string, ...args: any[]) => string) | undefined;
123
123
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
124
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
124
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
125
125
  placeholder: string;
126
126
  clearable: boolean;
127
127
  }, never>> & {
128
128
  locale?: string | undefined;
129
129
  translate?: ((str: string, ...args: any[]) => string) | undefined;
130
130
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
131
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
131
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
132
132
  placeholder: string;
133
133
  clearable: boolean;
134
134
  }, never>> & {
@@ -139,7 +139,7 @@ declare const ThemedCity: {
139
139
  displayName: string;
140
140
  contextType: React.Context<string>;
141
141
  ComposedComponent: React.ComponentType<{
142
- new (props: Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
142
+ new (props: Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
143
143
  placeholder: string;
144
144
  clearable: boolean;
145
145
  }, never>> & {
@@ -151,7 +151,7 @@ declare const ThemedCity: {
151
151
  getWrappedInstance(): any;
152
152
  render(): JSX.Element;
153
153
  context: any;
154
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
154
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
155
155
  placeholder: string;
156
156
  clearable: boolean;
157
157
  }, never>> & {
@@ -159,7 +159,7 @@ declare const ThemedCity: {
159
159
  translate?: ((str: string, ...args: any[]) => string) | undefined;
160
160
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
161
161
  forceUpdate(callback?: (() => void) | undefined): void;
162
- readonly props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
162
+ readonly props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
163
163
  placeholder: string;
164
164
  clearable: boolean;
165
165
  }, never>> & {
@@ -173,7 +173,7 @@ declare const ThemedCity: {
173
173
  [key: string]: React.ReactInstance;
174
174
  };
175
175
  componentDidMount?(): void;
176
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
176
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
177
177
  placeholder: string;
178
178
  clearable: boolean;
179
179
  }, never>> & {
@@ -182,14 +182,14 @@ declare const ThemedCity: {
182
182
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
183
183
  componentWillUnmount?(): void;
184
184
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
185
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
185
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
186
186
  placeholder: string;
187
187
  clearable: boolean;
188
188
  }, never>> & {
189
189
  locale?: string | undefined;
190
190
  translate?: ((str: string, ...args: any[]) => string) | undefined;
191
191
  }>, prevState: Readonly<{}>): any;
192
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
192
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
193
193
  placeholder: string;
194
194
  clearable: boolean;
195
195
  }, never>> & {
@@ -198,28 +198,28 @@ declare const ThemedCity: {
198
198
  }>, prevState: Readonly<{}>, snapshot?: any): void;
199
199
  componentWillMount?(): void;
200
200
  UNSAFE_componentWillMount?(): void;
201
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
201
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
202
202
  placeholder: string;
203
203
  clearable: boolean;
204
204
  }, never>> & {
205
205
  locale?: string | undefined;
206
206
  translate?: ((str: string, ...args: any[]) => string) | undefined;
207
207
  }>, nextContext: any): void;
208
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
208
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
209
209
  placeholder: string;
210
210
  clearable: boolean;
211
211
  }, never>> & {
212
212
  locale?: string | undefined;
213
213
  translate?: ((str: string, ...args: any[]) => string) | undefined;
214
214
  }>, nextContext: any): void;
215
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
215
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
216
216
  placeholder: string;
217
217
  clearable: boolean;
218
218
  }, never>> & {
219
219
  locale?: string | undefined;
220
220
  translate?: ((str: string, ...args: any[]) => string) | undefined;
221
221
  }>, nextState: Readonly<{}>, nextContext: any): void;
222
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
222
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
223
223
  placeholder: string;
224
224
  clearable: boolean;
225
225
  }, never>> & {
@@ -234,7 +234,7 @@ declare const ThemedCity: {
234
234
  ComposedComponent: typeof LocationPicker;
235
235
  }>;
236
236
  } & import("hoist-non-react-statics").NonReactStatics<{
237
- new (props: Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
237
+ new (props: Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
238
238
  placeholder: string;
239
239
  clearable: boolean;
240
240
  }, never>> & {
@@ -246,7 +246,7 @@ declare const ThemedCity: {
246
246
  getWrappedInstance(): any;
247
247
  render(): JSX.Element;
248
248
  context: any;
249
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
249
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
250
250
  placeholder: string;
251
251
  clearable: boolean;
252
252
  }, never>> & {
@@ -254,7 +254,7 @@ declare const ThemedCity: {
254
254
  translate?: ((str: string, ...args: any[]) => string) | undefined;
255
255
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
256
256
  forceUpdate(callback?: (() => void) | undefined): void;
257
- readonly props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
257
+ readonly props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
258
258
  placeholder: string;
259
259
  clearable: boolean;
260
260
  }, never>> & {
@@ -268,7 +268,7 @@ declare const ThemedCity: {
268
268
  [key: string]: React.ReactInstance;
269
269
  };
270
270
  componentDidMount?(): void;
271
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
271
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
272
272
  placeholder: string;
273
273
  clearable: boolean;
274
274
  }, never>> & {
@@ -277,14 +277,14 @@ declare const ThemedCity: {
277
277
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
278
278
  componentWillUnmount?(): void;
279
279
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
280
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
280
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
281
281
  placeholder: string;
282
282
  clearable: boolean;
283
283
  }, never>> & {
284
284
  locale?: string | undefined;
285
285
  translate?: ((str: string, ...args: any[]) => string) | undefined;
286
286
  }>, prevState: Readonly<{}>): any;
287
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
287
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
288
288
  placeholder: string;
289
289
  clearable: boolean;
290
290
  }, never>> & {
@@ -293,28 +293,28 @@ declare const ThemedCity: {
293
293
  }>, prevState: Readonly<{}>, snapshot?: any): void;
294
294
  componentWillMount?(): void;
295
295
  UNSAFE_componentWillMount?(): void;
296
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
296
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
297
297
  placeholder: string;
298
298
  clearable: boolean;
299
299
  }, never>> & {
300
300
  locale?: string | undefined;
301
301
  translate?: ((str: string, ...args: any[]) => string) | undefined;
302
302
  }>, nextContext: any): void;
303
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
303
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
304
304
  placeholder: string;
305
305
  clearable: boolean;
306
306
  }, never>> & {
307
307
  locale?: string | undefined;
308
308
  translate?: ((str: string, ...args: any[]) => string) | undefined;
309
309
  }>, nextContext: any): void;
310
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
310
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
311
311
  placeholder: string;
312
312
  clearable: boolean;
313
313
  }, never>> & {
314
314
  locale?: string | undefined;
315
315
  translate?: ((str: string, ...args: any[]) => string) | undefined;
316
316
  }>, nextState: Readonly<{}>, nextContext: any): void;
317
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
317
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
318
318
  placeholder: string;
319
319
  clearable: boolean;
320
320
  }, never>> & {
@@ -329,7 +329,7 @@ declare const ThemedCity: {
329
329
  ComposedComponent: typeof LocationPicker;
330
330
  }, {}> & {
331
331
  ComposedComponent: {
332
- new (props: Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
332
+ new (props: Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
333
333
  placeholder: string;
334
334
  clearable: boolean;
335
335
  }, never>> & {
@@ -341,7 +341,7 @@ declare const ThemedCity: {
341
341
  getWrappedInstance(): any;
342
342
  render(): JSX.Element;
343
343
  context: any;
344
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
344
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
345
345
  placeholder: string;
346
346
  clearable: boolean;
347
347
  }, never>> & {
@@ -349,7 +349,7 @@ declare const ThemedCity: {
349
349
  translate?: ((str: string, ...args: any[]) => string) | undefined;
350
350
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
351
351
  forceUpdate(callback?: (() => void) | undefined): void;
352
- readonly props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
352
+ readonly props: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
353
353
  placeholder: string;
354
354
  clearable: boolean;
355
355
  }, never>> & {
@@ -363,7 +363,7 @@ declare const ThemedCity: {
363
363
  [key: string]: React.ReactInstance;
364
364
  };
365
365
  componentDidMount?(): void;
366
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
366
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
367
367
  placeholder: string;
368
368
  clearable: boolean;
369
369
  }, never>> & {
@@ -372,14 +372,14 @@ declare const ThemedCity: {
372
372
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
373
373
  componentWillUnmount?(): void;
374
374
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
375
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
375
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
376
376
  placeholder: string;
377
377
  clearable: boolean;
378
378
  }, never>> & {
379
379
  locale?: string | undefined;
380
380
  translate?: ((str: string, ...args: any[]) => string) | undefined;
381
381
  }>, prevState: Readonly<{}>): any;
382
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
382
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
383
383
  placeholder: string;
384
384
  clearable: boolean;
385
385
  }, never>> & {
@@ -388,28 +388,28 @@ declare const ThemedCity: {
388
388
  }>, prevState: Readonly<{}>, snapshot?: any): void;
389
389
  componentWillMount?(): void;
390
390
  UNSAFE_componentWillMount?(): void;
391
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
391
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
392
392
  placeholder: string;
393
393
  clearable: boolean;
394
394
  }, never>> & {
395
395
  locale?: string | undefined;
396
396
  translate?: ((str: string, ...args: any[]) => string) | undefined;
397
397
  }>, nextContext: any): void;
398
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
398
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
399
399
  placeholder: string;
400
400
  clearable: boolean;
401
401
  }, never>> & {
402
402
  locale?: string | undefined;
403
403
  translate?: ((str: string, ...args: any[]) => string) | undefined;
404
404
  }>, nextContext: any): void;
405
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
405
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
406
406
  placeholder: string;
407
407
  clearable: boolean;
408
408
  }, never>> & {
409
409
  locale?: string | undefined;
410
410
  translate?: ((str: string, ...args: any[]) => string) | undefined;
411
411
  }>, nextState: Readonly<{}>, nextContext: any): void;
412
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popoverClassName" | "popOverContainer" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
412
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<LocationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "popOverContainer" | "popoverClassName" | "ak" | "coordinatesType" | "vendor"> & Partial<Pick<Omit<LocationProps, keyof LocaleProps>, "placeholder" | "clearable">> & Partial<Pick<{
413
413
  placeholder: string;
414
414
  clearable: boolean;
415
415
  }, never>> & {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v2.7.2
2
+ * amis-ui v2.8.0
3
3
  * Copyright 2018-2023 fex
4
4
  */
5
5