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