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