amis-ui 2.9.0 → 3.1.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.
- package/esm/_virtual/index.js +1 -1
- package/esm/_virtual/react-is.development.js +1 -1
- package/esm/_virtual/react-is.production.min.js +1 -1
- package/esm/components/404.d.ts +2 -2
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +144 -88
- package/esm/components/Alert.js +37 -14
- package/esm/components/Alert2.d.ts +2 -2
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +5 -5
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +47 -47
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +4 -4
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +45 -45
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.d.ts +2 -2
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +5 -5
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +2 -2
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +2 -2
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +6 -6
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +3 -3
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +10 -10
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +12 -12
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +5 -5
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.d.ts +48 -48
- package/esm/components/ChainedSelection.js +2 -1
- package/esm/components/Checkbox.d.ts +2 -2
- package/esm/components/Checkbox.js +2 -2
- package/esm/components/CityArea.d.ts +4 -4
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.d.ts +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +12 -12
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +2 -2
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +85 -85
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +6 -9
- package/esm/components/Combo.js +8 -2
- package/esm/components/ConfirmBox.d.ts +45 -45
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +3 -3
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +94 -91
- package/esm/components/DatePicker.js +39 -26
- package/esm/components/DateRangePicker.d.ts +305 -260
- package/esm/components/DateRangePicker.js +73 -43
- package/esm/components/DndContainer.d.ts +4 -4
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +6 -5
- package/esm/components/Drawer.js +26 -10
- package/esm/components/Editor.d.ts +5 -5
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +9 -15
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.d.ts +89 -0
- package/esm/components/GaodeMapPicker.js +204 -0
- package/esm/components/GridNav.d.ts +4 -4
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +46 -46
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.d.ts +13 -12
- package/esm/components/Html.js +3 -3
- package/esm/components/ImageGallery.d.ts +57 -47
- package/esm/components/ImageGallery.js +8 -5
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +12 -12
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.d.ts +5 -5
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.d.ts +7 -7
- package/esm/components/InputTable.js +21 -14
- package/esm/components/Layout.d.ts +13 -12
- package/esm/components/Layout.js +8 -6
- package/esm/components/Link.d.ts +2 -2
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +13 -13
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +6 -6
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +45 -45
- package/esm/components/LocationPicker.js +14 -2
- package/esm/components/Markdown.d.ts +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +33 -32
- package/esm/components/Modal.js +25 -9
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +253 -249
- package/esm/components/MultilineText.d.ts +5 -5
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +35 -24
- package/esm/components/NumberInput.js +10 -5
- package/esm/components/Pagination.d.ts +7 -28
- package/esm/components/Pagination.js +4 -3
- package/esm/components/Picker.d.ts +4 -4
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +2 -7
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +6 -5
- package/esm/components/PickerContainer.js +3 -3
- package/esm/components/PopOverContainer.d.ts +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.d.ts +45 -45
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +3 -3
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +24 -24
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +16 -2
- package/esm/components/Range.js +35 -4
- package/esm/components/Rating.d.ts +5 -5
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +46 -46
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +8 -8
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +47 -47
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +7 -7
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.d.ts +2 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +8 -8
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +416 -408
- package/esm/components/Select.js +7 -6
- package/esm/components/Selection.d.ts +47 -46
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +6 -6
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +3 -3
- package/esm/components/Spinner.js +3 -3
- package/esm/components/Steps.d.ts +5 -4
- package/esm/components/Steps.js +8 -6
- package/esm/components/Switch.d.ts +2 -2
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +53 -53
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +50 -50
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +49 -48
- package/esm/components/TabsTransfer.js +14 -14
- package/esm/components/TabsTransferPicker.d.ts +5 -5
- package/esm/components/TabsTransferPicker.js +4 -4
- package/esm/components/Tag.d.ts +5 -5
- package/esm/components/Tag.js +20 -4
- package/esm/components/Textarea.d.ts +5 -5
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +2 -2
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +5 -5
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.d.ts +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.d.ts +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +8 -6
- package/esm/components/Toast.js +5 -5
- package/esm/components/Tooltip.d.ts +3 -2
- package/esm/components/Tooltip.js +3 -3
- package/esm/components/TooltipWrapper.d.ts +10 -2
- package/esm/components/TooltipWrapper.js +3 -3
- package/esm/components/Transfer.d.ts +192 -152
- package/esm/components/Transfer.js +20 -18
- package/esm/components/TransferDropDown.d.ts +85 -45
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +5 -5
- package/esm/components/TransferPicker.js +4 -4
- package/esm/components/TransferSearch.d.ts +5 -5
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +91 -89
- package/esm/components/Tree.js +20 -10
- package/esm/components/TreeSelection.d.ts +46 -46
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +49 -49
- package/esm/components/UserSelect.js +7 -96
- package/esm/components/UserTabSelect.d.ts +45 -45
- package/esm/components/UserTabSelect.js +4 -95
- package/esm/components/WithRemoteConfig.d.ts +5 -5
- package/esm/components/WithRemoteConfig.js +7 -3
- package/esm/components/WithStore.d.ts +2 -2
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +2 -0
- package/esm/components/calendar/Calendar.js +3 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +7 -7
- package/esm/components/calendar/DaysView.js +3 -3
- package/esm/components/calendar/MonthsView.d.ts +4 -4
- package/esm/components/calendar/MonthsView.js +8 -8
- package/esm/components/calendar/QuartersView.d.ts +4 -4
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.d.ts +5 -5
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.d.ts +4 -4
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +5 -5
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +5 -5
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +5 -5
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.d.ts +6 -6
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +5 -5
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +2 -2
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.d.ts +2 -2
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +10 -10
- package/esm/components/condition-builder/Item.js +12 -9
- package/esm/components/condition-builder/Value.d.ts +5 -5
- package/esm/components/condition-builder/Value.js +3 -12
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +8 -8
- package/esm/components/condition-builder/index.js +2 -2
- package/esm/components/condition-builder/types.d.ts +1 -1
- package/esm/components/formula/Editor.d.ts +10 -5
- package/esm/components/formula/Editor.js +14 -3
- package/esm/components/formula/FuncList.d.ts +2 -2
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.d.ts +47 -46
- package/esm/components/formula/Picker.js +3 -3
- package/esm/components/formula/VariableList.d.ts +2 -2
- package/esm/components/formula/VariableList.js +4 -4
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.d.ts +12 -11
- package/esm/components/icons.js +8 -3
- package/esm/components/index.d.ts +6 -3
- package/esm/components/json-schema/Array.d.ts +2 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.d.ts +2 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.d.ts +2 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +5 -5
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +3 -6
- package/esm/components/menu/MenuItem.js +5 -24
- package/esm/components/menu/SubMenu.d.ts +3 -6
- package/esm/components/menu/SubMenu.js +13 -28
- package/esm/components/menu/index.d.ts +42 -43
- package/esm/components/menu/index.js +9 -13
- package/esm/components/schema-editor/Array.d.ts +3 -2
- package/esm/components/schema-editor/Array.js +3 -3
- package/esm/components/schema-editor/Common.d.ts +3 -2
- package/esm/components/schema-editor/Common.js +3 -3
- package/esm/components/schema-editor/Item.d.ts +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.d.ts +3 -2
- package/esm/components/schema-editor/Object.js +3 -3
- package/esm/components/schema-editor/SchemaVariableList.d.ts +6 -6
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +55 -45
- package/esm/components/schema-editor/index.js +3 -3
- package/esm/components/table/Cell.d.ts +5 -5
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +5 -5
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +5 -5
- package/esm/components/table/HeadCellFilter.js +5 -2
- package/esm/components/table/HeadCellSelect.d.ts +5 -5
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +5 -5
- package/esm/components/table/HeadCellSort.js +5 -5
- package/esm/components/table/ItemActionsWrapper.d.ts +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +18 -18
- package/esm/components/table/index.js +100 -59
- package/esm/components/virtual-list/AutoSizer.d.ts +1 -1
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.d.ts +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +2 -2
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.d.ts +3 -0
- package/esm/index.js +6 -3
- package/esm/locale/de-DE.js +5 -3
- package/esm/locale/en-US.js +6 -3
- package/esm/locale/zh-CN.js +7 -4
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/esm/node_modules/rc-overflow/es/Item.js +1 -1
- package/esm/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/esm/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- package/esm/node_modules/rc-overflow/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/esm/node_modules/rc-util/es/raf.js +1 -1
- package/esm/node_modules/rc-util/es/ref.js +1 -1
- package/esm/node_modules/rc-util/es/warning.js +8 -2
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/_virtual/index.js +1 -1
- package/lib/_virtual/react-is.development.js +1 -1
- package/lib/_virtual/react-is.production.min.js +1 -1
- package/lib/components/404.d.ts +2 -2
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +104 -48
- package/lib/components/Alert.js +37 -14
- package/lib/components/Alert2.d.ts +22 -22
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +25 -25
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +47 -47
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +14 -14
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +125 -125
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +112 -112
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +5 -5
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +2 -2
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +2 -2
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +6 -6
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +33 -33
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +50 -50
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +102 -102
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +5 -5
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +128 -128
- package/lib/components/ChainedSelection.js +2 -1
- package/lib/components/Checkbox.d.ts +12 -12
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.d.ts +4 -4
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.d.ts +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +122 -122
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +32 -32
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +85 -85
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +6 -9
- package/lib/components/Combo.js +8 -2
- package/lib/components/ConfirmBox.d.ts +85 -85
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +3 -3
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +95 -92
- package/lib/components/DatePicker.js +38 -25
- package/lib/components/DateRangePicker.d.ts +265 -220
- package/lib/components/DateRangePicker.js +73 -43
- package/lib/components/DndContainer.d.ts +4 -4
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +36 -35
- package/lib/components/Drawer.js +26 -10
- package/lib/components/Editor.d.ts +125 -125
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +9 -15
- package/lib/components/FormField.js +1 -1
- package/lib/components/GaodeMapPicker.d.ts +89 -0
- package/lib/components/GaodeMapPicker.js +214 -0
- package/lib/components/GridNav.d.ts +4 -4
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +126 -126
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.d.ts +13 -12
- package/lib/components/Html.js +3 -3
- package/lib/components/ImageGallery.d.ts +57 -47
- package/lib/components/ImageGallery.js +8 -5
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +22 -22
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.d.ts +5 -5
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.d.ts +7 -7
- package/lib/components/InputTable.js +21 -14
- package/lib/components/Layout.d.ts +13 -12
- package/lib/components/Layout.js +8 -6
- package/lib/components/Link.d.ts +2 -2
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +13 -13
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +86 -86
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +85 -85
- package/lib/components/LocationPicker.js +14 -2
- package/lib/components/Markdown.d.ts +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +113 -112
- package/lib/components/Modal.js +25 -9
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +213 -209
- package/lib/components/MultilineText.d.ts +45 -45
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +45 -34
- package/lib/components/NumberInput.js +10 -5
- package/lib/components/Pagination.d.ts +87 -108
- package/lib/components/Pagination.js +4 -3
- package/lib/components/Picker.d.ts +4 -4
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +2 -7
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +6 -5
- package/lib/components/PickerContainer.js +3 -3
- package/lib/components/PopOverContainer.d.ts +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +45 -45
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +63 -63
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +34 -34
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +16 -2
- package/lib/components/Range.js +35 -4
- package/lib/components/Rating.d.ts +35 -35
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +86 -86
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +48 -48
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +127 -127
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +47 -47
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.d.ts +2 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +88 -88
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1977 -1969
- package/lib/components/Select.js +7 -5
- package/lib/components/Selection.d.ts +127 -126
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +46 -46
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +73 -73
- package/lib/components/Spinner.js +3 -3
- package/lib/components/Steps.d.ts +5 -4
- package/lib/components/Steps.js +8 -6
- package/lib/components/Switch.d.ts +12 -12
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +133 -133
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +90 -90
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +49 -48
- package/lib/components/TabsTransfer.js +13 -13
- package/lib/components/TabsTransferPicker.d.ts +5 -5
- package/lib/components/TabsTransferPicker.js +4 -4
- package/lib/components/Tag.d.ts +75 -75
- package/lib/components/Tag.js +20 -4
- package/lib/components/Textarea.d.ts +45 -45
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +2 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +5 -5
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.d.ts +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +88 -86
- package/lib/components/Toast.js +5 -5
- package/lib/components/Tooltip.d.ts +3 -2
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/TooltipWrapper.d.ts +40 -32
- package/lib/components/TooltipWrapper.js +3 -3
- package/lib/components/Transfer.d.ts +312 -272
- package/lib/components/Transfer.js +20 -18
- package/lib/components/TransferDropDown.d.ts +205 -165
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +5 -5
- package/lib/components/TransferPicker.js +4 -4
- package/lib/components/TransferSearch.d.ts +5 -5
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +211 -209
- package/lib/components/Tree.js +20 -10
- package/lib/components/TreeSelection.d.ts +126 -126
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +89 -89
- package/lib/components/UserSelect.js +7 -96
- package/lib/components/UserTabSelect.d.ts +45 -45
- package/lib/components/UserTabSelect.js +4 -95
- package/lib/components/WithRemoteConfig.d.ts +5 -6
- package/lib/components/WithRemoteConfig.js +6 -2
- package/lib/components/WithStore.d.ts +2 -2
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +2 -0
- package/lib/components/calendar/Calendar.js +3 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +7 -7
- package/lib/components/calendar/DaysView.js +3 -3
- package/lib/components/calendar/MonthsView.d.ts +4 -4
- package/lib/components/calendar/MonthsView.js +7 -7
- package/lib/components/calendar/QuartersView.d.ts +4 -4
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.d.ts +5 -5
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.d.ts +4 -4
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +5 -5
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +5 -5
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +5 -5
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.d.ts +6 -6
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +5 -5
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +2 -2
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.d.ts +2 -2
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +10 -10
- package/lib/components/condition-builder/Item.js +11 -8
- package/lib/components/condition-builder/Value.d.ts +5 -5
- package/lib/components/condition-builder/Value.js +3 -12
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +8 -8
- package/lib/components/condition-builder/index.js +2 -2
- package/lib/components/condition-builder/types.d.ts +1 -1
- package/lib/components/formula/Editor.d.ts +50 -45
- package/lib/components/formula/Editor.js +13 -2
- package/lib/components/formula/FuncList.d.ts +2 -2
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +47 -46
- package/lib/components/formula/Picker.js +3 -3
- package/lib/components/formula/VariableList.d.ts +2 -2
- package/lib/components/formula/VariableList.js +3 -3
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.d.ts +12 -11
- package/lib/components/icons.js +8 -2
- package/lib/components/index.d.ts +6 -3
- package/lib/components/json-schema/Array.d.ts +2 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.d.ts +2 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.d.ts +2 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +5 -5
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +3 -6
- package/lib/components/menu/MenuItem.js +5 -24
- package/lib/components/menu/SubMenu.d.ts +3 -6
- package/lib/components/menu/SubMenu.js +13 -28
- package/lib/components/menu/index.d.ts +92 -93
- package/lib/components/menu/index.js +9 -13
- package/lib/components/schema-editor/Array.d.ts +3 -2
- package/lib/components/schema-editor/Array.js +3 -3
- package/lib/components/schema-editor/Common.d.ts +3 -2
- package/lib/components/schema-editor/Common.js +3 -3
- package/lib/components/schema-editor/Item.d.ts +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.d.ts +3 -2
- package/lib/components/schema-editor/Object.js +3 -3
- package/lib/components/schema-editor/SchemaVariableList.d.ts +6 -6
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +55 -45
- package/lib/components/schema-editor/index.js +3 -3
- package/lib/components/table/Cell.d.ts +45 -45
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +5 -5
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +45 -45
- package/lib/components/table/HeadCellFilter.js +5 -2
- package/lib/components/table/HeadCellSelect.d.ts +45 -45
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +5 -5
- package/lib/components/table/HeadCellSort.js +5 -5
- package/lib/components/table/ItemActionsWrapper.d.ts +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +98 -98
- package/lib/components/table/index.js +100 -59
- package/lib/components/virtual-list/AutoSizer.d.ts +1 -1
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.d.ts +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +2 -2
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.js +11 -4
- package/lib/locale/de-DE.js +5 -3
- package/lib/locale/en-US.js +6 -3
- package/lib/locale/zh-CN.js +7 -4
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/lib/node_modules/rc-overflow/es/Item.js +1 -1
- package/lib/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/lib/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- package/lib/node_modules/rc-overflow/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/lib/node_modules/rc-util/es/raf.js +1 -1
- package/lib/node_modules/rc-util/es/ref.js +1 -1
- package/lib/node_modules/rc-util/es/warning.js +8 -2
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +2721 -1720
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +2721 -1720
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +2721 -1720
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +2721 -1720
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +2721 -1720
- package/package.json +5 -5
- package/scss/_components.scss +1305 -124
- package/scss/_mixins.scss +33 -1
- package/scss/_properties.scss +5 -374
- package/scss/base/_common.scss +4 -0
- package/scss/components/_alert.scss +30 -9
- package/scss/components/_app.scss +10 -0
- package/scss/components/_button-group.scss +0 -1
- package/scss/components/_button.scss +0 -38
- package/scss/components/_calendar.scss +14 -0
- package/scss/components/_column-toggler.scss +5 -2
- package/scss/components/_condition-builder.scss +38 -22
- package/scss/components/_crud.scss +21 -5
- package/scss/components/_crud2.scss +21 -5
- package/scss/components/_drawer.scss +20 -12
- package/scss/components/_image-gallery.scss +9 -6
- package/scss/components/_images.scss +13 -5
- package/scss/components/_menu.scss +251 -626
- package/scss/components/_modal.scss +23 -13
- package/scss/components/_nav.scss +6 -354
- package/scss/components/_progress.scss +11 -2
- package/scss/components/_result-box.scss +1 -0
- package/scss/components/_spinner.scss +7 -5
- package/scss/components/_status.scss +27 -11
- package/scss/components/_steps.scss +68 -20
- package/scss/components/_table.scss +7 -7
- package/scss/components/_table2.scss +84 -40
- package/scss/components/_tag.scss +42 -36
- package/scss/components/_timeline.scss +20 -9
- package/scss/components/_toast.scss +64 -12
- package/scss/components/_wizard.scss +28 -7
- package/scss/components/form/_checks.scss +17 -3
- package/scss/components/form/_color.scss +5 -0
- package/scss/components/form/_combo.scss +28 -18
- package/scss/components/form/_date-range.scss +5 -0
- package/scss/components/form/_date.scss +8 -1
- package/scss/components/form/_fieldset.scss +62 -28
- package/scss/components/form/_form.scss +32 -3
- package/scss/components/form/_icon-select.scss +21 -0
- package/scss/components/form/_image.scss +50 -7
- package/scss/components/form/_nested-select.scss +2 -0
- package/scss/components/form/_number.scss +14 -6
- package/scss/components/form/_picker.scss +105 -12
- package/scss/components/form/_range.scss +6 -0
- package/scss/components/form/_rich-text.scss +81 -35
- package/scss/components/form/_tag.scss +56 -6
- package/scss/components/form/_text.scss +8 -0
- package/scss/components/form/_transfer.scss +18 -26
- package/scss/components/form/_tree.scss +55 -23
- package/scss/layout/_layout.scss +42 -10
package/esm/components/Tree.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui
|
|
2
|
+
* amis-ui v3.1.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -38,6 +38,7 @@ var TreeSelector = /** @class */ (function (_super) {
|
|
|
38
38
|
_this.unfolded = new WeakMap();
|
|
39
39
|
// key: child option, value: parent option;
|
|
40
40
|
_this.relations = new WeakMap();
|
|
41
|
+
_this.levels = new WeakMap();
|
|
41
42
|
_this.startPoint = {
|
|
42
43
|
x: 0,
|
|
43
44
|
y: 0
|
|
@@ -91,6 +92,10 @@ var TreeSelector = /** @class */ (function (_super) {
|
|
|
91
92
|
});
|
|
92
93
|
}
|
|
93
94
|
};
|
|
95
|
+
TreeSelector.prototype.componentWillUnmount = function () {
|
|
96
|
+
// clear data
|
|
97
|
+
this.relations = this.unfolded = this.levels = new WeakMap();
|
|
98
|
+
};
|
|
94
99
|
/**
|
|
95
100
|
* 展开懒加载节点的父节点
|
|
96
101
|
*/
|
|
@@ -213,7 +218,7 @@ var TreeSelector = /** @class */ (function (_super) {
|
|
|
213
218
|
}
|
|
214
219
|
return;
|
|
215
220
|
}
|
|
216
|
-
if (onlyLeaf && node.children) {
|
|
221
|
+
if (onlyLeaf && Array.isArray(node.children) && node.children.length) {
|
|
217
222
|
return;
|
|
218
223
|
}
|
|
219
224
|
this.setState({
|
|
@@ -346,10 +351,12 @@ var TreeSelector = /** @class */ (function (_super) {
|
|
|
346
351
|
try {
|
|
347
352
|
for (var _b = __values(_this.state.flattenedOptions), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
348
353
|
var option = _c.value;
|
|
349
|
-
result.push(option);
|
|
350
354
|
if (option === parent) {
|
|
351
355
|
result.push(__assign(__assign({}, option), { isAdding: true }));
|
|
352
356
|
}
|
|
357
|
+
else {
|
|
358
|
+
result.push(option);
|
|
359
|
+
}
|
|
353
360
|
}
|
|
354
361
|
}
|
|
355
362
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -552,18 +559,18 @@ var TreeSelector = /** @class */ (function (_super) {
|
|
|
552
559
|
var _this = this;
|
|
553
560
|
var flattenedOptions = [];
|
|
554
561
|
eachTree((props === null || props === void 0 ? void 0 : props.options) || this.props.options, function (item, index, level, paths) {
|
|
555
|
-
var parent = paths[paths.length -
|
|
562
|
+
var parent = paths[paths.length - 1];
|
|
556
563
|
if (!isVisible(item)) {
|
|
557
564
|
return;
|
|
558
565
|
}
|
|
559
|
-
if (paths.length ===
|
|
566
|
+
if (paths.length === 0) {
|
|
560
567
|
// 父节点
|
|
561
568
|
flattenedOptions.push(item);
|
|
562
569
|
}
|
|
563
570
|
else if (_this.isUnfolded(parent)) {
|
|
564
571
|
_this.relations.set(item, parent);
|
|
572
|
+
_this.levels.set(item, level);
|
|
565
573
|
// 父节点是展开的状态
|
|
566
|
-
item.level = level;
|
|
567
574
|
flattenedOptions.push(item);
|
|
568
575
|
}
|
|
569
576
|
});
|
|
@@ -717,11 +724,11 @@ var TreeSelector = /** @class */ (function (_super) {
|
|
|
717
724
|
var isLeaf = (!item.children || !item.children.length) && !item.placeholder;
|
|
718
725
|
var iconValue = item[iconField] ||
|
|
719
726
|
(enableDefaultIcon !== false
|
|
720
|
-
? item.children
|
|
727
|
+
? Array.isArray(item.children) && item.children.length
|
|
721
728
|
? 'folder'
|
|
722
729
|
: 'file'
|
|
723
730
|
: false);
|
|
724
|
-
var level = item
|
|
731
|
+
var level = this.levels.has(item) ? this.levels.get(item) - 1 : 0;
|
|
725
732
|
var body = null;
|
|
726
733
|
if (isEditing && editingItem === item) {
|
|
727
734
|
body = this.renderInput(checkbox);
|
|
@@ -746,7 +753,9 @@ var TreeSelector = /** @class */ (function (_super) {
|
|
|
746
753
|
React__default.createElement(Icon, { icon: "down-arrow-bold", className: "icon" }))) : (React__default.createElement("span", { className: cx('Tree-itemArrowPlaceholder') })),
|
|
747
754
|
checkbox,
|
|
748
755
|
React__default.createElement("div", { className: cx('Tree-itemLabel-item') },
|
|
749
|
-
showIcon ? (React__default.createElement("i", { className: cx("Tree-itemIcon ".concat(item.children
|
|
756
|
+
showIcon ? (React__default.createElement("i", { className: cx("Tree-itemIcon ".concat(Array.isArray(item.children) && item.children.length
|
|
757
|
+
? 'Tree-folderIcon'
|
|
758
|
+
: 'Tree-leafIcon')), onClick: function () {
|
|
750
759
|
return !disabled &&
|
|
751
760
|
(multiple
|
|
752
761
|
? _this.handleCheck(item, !checked)
|
|
@@ -762,6 +771,7 @@ var TreeSelector = /** @class */ (function (_super) {
|
|
|
762
771
|
index: index,
|
|
763
772
|
multiple: multiple,
|
|
764
773
|
checked: checked,
|
|
774
|
+
labelField: labelField,
|
|
765
775
|
onChange: function () { return _this.handleCheck(item, !checked); },
|
|
766
776
|
disabled: disabled || item.disabled
|
|
767
777
|
})
|
|
@@ -779,7 +789,7 @@ var TreeSelector = /** @class */ (function (_super) {
|
|
|
779
789
|
editable && hasAbility(item, 'editable') ? (React__default.createElement("a", { onClick: this.handleEdit.bind(this, item), "data-tooltip": __(editTip), "data-position": "left" },
|
|
780
790
|
React__default.createElement(Icon, { icon: "new-edit", className: "icon" }))) : null)) : null)));
|
|
781
791
|
}
|
|
782
|
-
return (React__default.createElement("li", { key: item[valueField], className: cx("Tree-item ".concat(itemClassName || ''), {
|
|
792
|
+
return (React__default.createElement("li", { key: "".concat(item[valueField || 'value'], "-").concat(index), className: cx("Tree-item ".concat(itemClassName || ''), {
|
|
783
793
|
'Tree-item--isLeaf': isLeaf,
|
|
784
794
|
'is-child': this.relations.get(item)
|
|
785
795
|
}), style: __assign(__assign({}, style), { left: "calc(".concat(level, " * var(--Tree-indent))"), width: "calc(100% - ".concat(level, " * var(--Tree-indent))") }) }, body));
|
|
@@ -26,11 +26,11 @@ export declare class TreeSelection extends BaseSelection<TreeSelectionProps, Tre
|
|
|
26
26
|
syncExpanded(): void;
|
|
27
27
|
toggleOption(option: Option): void;
|
|
28
28
|
toggleCollapsed(option: Option, index: string): void;
|
|
29
|
-
renderItem(option: Option, index: number, indexes?: Array<number>): JSX.Element;
|
|
30
|
-
render(): JSX.Element;
|
|
29
|
+
renderItem(option: Option, index: number, indexes?: Array<number>): React.JSX.Element;
|
|
30
|
+
render(): React.JSX.Element;
|
|
31
31
|
}
|
|
32
32
|
declare const _default: {
|
|
33
|
-
new (props: Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
33
|
+
new (props: Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
34
34
|
multiple?: boolean | undefined;
|
|
35
35
|
placeholder?: string | undefined;
|
|
36
36
|
itemHeight?: number | undefined;
|
|
@@ -45,9 +45,9 @@ declare const _default: {
|
|
|
45
45
|
ref: any;
|
|
46
46
|
childRef(ref: any): void;
|
|
47
47
|
getWrappedInstance(): any;
|
|
48
|
-
render(): JSX.Element;
|
|
48
|
+
render(): React.JSX.Element;
|
|
49
49
|
context: unknown;
|
|
50
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
50
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
51
51
|
multiple?: boolean | undefined;
|
|
52
52
|
placeholder?: string | undefined;
|
|
53
53
|
itemHeight?: number | undefined;
|
|
@@ -60,7 +60,7 @@ declare const _default: {
|
|
|
60
60
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
61
61
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
62
62
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
63
|
-
readonly props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
63
|
+
readonly props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
64
64
|
multiple?: boolean | undefined;
|
|
65
65
|
placeholder?: string | undefined;
|
|
66
66
|
itemHeight?: number | undefined;
|
|
@@ -77,7 +77,7 @@ declare const _default: {
|
|
|
77
77
|
[key: string]: React.ReactInstance;
|
|
78
78
|
};
|
|
79
79
|
componentDidMount?(): void;
|
|
80
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
80
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
81
81
|
multiple?: boolean | undefined;
|
|
82
82
|
placeholder?: string | undefined;
|
|
83
83
|
itemHeight?: number | undefined;
|
|
@@ -91,7 +91,7 @@ declare const _default: {
|
|
|
91
91
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
92
92
|
componentWillUnmount?(): void;
|
|
93
93
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
94
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
94
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
95
95
|
multiple?: boolean | undefined;
|
|
96
96
|
placeholder?: string | undefined;
|
|
97
97
|
itemHeight?: number | undefined;
|
|
@@ -103,7 +103,7 @@ declare const _default: {
|
|
|
103
103
|
locale?: string | undefined;
|
|
104
104
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
105
105
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
106
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
106
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
107
107
|
multiple?: boolean | undefined;
|
|
108
108
|
placeholder?: string | undefined;
|
|
109
109
|
itemHeight?: number | undefined;
|
|
@@ -117,7 +117,7 @@ declare const _default: {
|
|
|
117
117
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
118
118
|
componentWillMount?(): void;
|
|
119
119
|
UNSAFE_componentWillMount?(): void;
|
|
120
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
120
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
121
121
|
multiple?: boolean | undefined;
|
|
122
122
|
placeholder?: string | undefined;
|
|
123
123
|
itemHeight?: number | undefined;
|
|
@@ -129,7 +129,7 @@ declare const _default: {
|
|
|
129
129
|
locale?: string | undefined;
|
|
130
130
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
131
131
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
132
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
132
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
133
133
|
multiple?: boolean | undefined;
|
|
134
134
|
placeholder?: string | undefined;
|
|
135
135
|
itemHeight?: number | undefined;
|
|
@@ -141,7 +141,7 @@ declare const _default: {
|
|
|
141
141
|
locale?: string | undefined;
|
|
142
142
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
143
143
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
144
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
144
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
145
145
|
multiple?: boolean | undefined;
|
|
146
146
|
placeholder?: string | undefined;
|
|
147
147
|
itemHeight?: number | undefined;
|
|
@@ -153,7 +153,7 @@ declare const _default: {
|
|
|
153
153
|
locale?: string | undefined;
|
|
154
154
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
155
155
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
156
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
156
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
157
157
|
multiple?: boolean | undefined;
|
|
158
158
|
placeholder?: string | undefined;
|
|
159
159
|
itemHeight?: number | undefined;
|
|
@@ -169,7 +169,7 @@ declare const _default: {
|
|
|
169
169
|
displayName: string;
|
|
170
170
|
contextType: React.Context<string>;
|
|
171
171
|
ComposedComponent: React.ComponentType<{
|
|
172
|
-
new (props: Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
172
|
+
new (props: Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
173
173
|
multiple?: boolean | undefined;
|
|
174
174
|
placeholder?: string | undefined;
|
|
175
175
|
itemHeight?: number | undefined;
|
|
@@ -184,9 +184,9 @@ declare const _default: {
|
|
|
184
184
|
ref: any;
|
|
185
185
|
childRef(ref: any): void;
|
|
186
186
|
getWrappedInstance(): any;
|
|
187
|
-
render(): JSX.Element;
|
|
187
|
+
render(): React.JSX.Element;
|
|
188
188
|
context: unknown;
|
|
189
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
189
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
190
190
|
multiple?: boolean | undefined;
|
|
191
191
|
placeholder?: string | undefined;
|
|
192
192
|
itemHeight?: number | undefined;
|
|
@@ -199,7 +199,7 @@ declare const _default: {
|
|
|
199
199
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
200
200
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
201
201
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
202
|
-
readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
202
|
+
readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
203
203
|
multiple?: boolean | undefined;
|
|
204
204
|
placeholder?: string | undefined;
|
|
205
205
|
itemHeight?: number | undefined;
|
|
@@ -216,7 +216,7 @@ declare const _default: {
|
|
|
216
216
|
[key: string]: React.ReactInstance;
|
|
217
217
|
};
|
|
218
218
|
componentDidMount?(): void;
|
|
219
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
219
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
220
220
|
multiple?: boolean | undefined;
|
|
221
221
|
placeholder?: string | undefined;
|
|
222
222
|
itemHeight?: number | undefined;
|
|
@@ -230,7 +230,7 @@ declare const _default: {
|
|
|
230
230
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
231
231
|
componentWillUnmount?(): void;
|
|
232
232
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
233
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
233
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
234
234
|
multiple?: boolean | undefined;
|
|
235
235
|
placeholder?: string | undefined;
|
|
236
236
|
itemHeight?: number | undefined;
|
|
@@ -242,7 +242,7 @@ declare const _default: {
|
|
|
242
242
|
locale?: string | undefined;
|
|
243
243
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
244
244
|
}>, prevState: Readonly<{}>): any;
|
|
245
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
245
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
246
246
|
multiple?: boolean | undefined;
|
|
247
247
|
placeholder?: string | undefined;
|
|
248
248
|
itemHeight?: number | undefined;
|
|
@@ -256,7 +256,7 @@ declare const _default: {
|
|
|
256
256
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
257
257
|
componentWillMount?(): void;
|
|
258
258
|
UNSAFE_componentWillMount?(): void;
|
|
259
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
259
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
260
260
|
multiple?: boolean | undefined;
|
|
261
261
|
placeholder?: string | undefined;
|
|
262
262
|
itemHeight?: number | undefined;
|
|
@@ -268,7 +268,7 @@ declare const _default: {
|
|
|
268
268
|
locale?: string | undefined;
|
|
269
269
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
270
270
|
}>, nextContext: any): void;
|
|
271
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
271
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
272
272
|
multiple?: boolean | undefined;
|
|
273
273
|
placeholder?: string | undefined;
|
|
274
274
|
itemHeight?: number | undefined;
|
|
@@ -280,7 +280,7 @@ declare const _default: {
|
|
|
280
280
|
locale?: string | undefined;
|
|
281
281
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
282
282
|
}>, nextContext: any): void;
|
|
283
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
283
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
284
284
|
multiple?: boolean | undefined;
|
|
285
285
|
placeholder?: string | undefined;
|
|
286
286
|
itemHeight?: number | undefined;
|
|
@@ -292,7 +292,7 @@ declare const _default: {
|
|
|
292
292
|
locale?: string | undefined;
|
|
293
293
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
294
294
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
295
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
295
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
296
296
|
multiple?: boolean | undefined;
|
|
297
297
|
placeholder?: string | undefined;
|
|
298
298
|
itemHeight?: number | undefined;
|
|
@@ -312,7 +312,7 @@ declare const _default: {
|
|
|
312
312
|
ComposedComponent: typeof TreeSelection;
|
|
313
313
|
}>;
|
|
314
314
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
315
|
-
new (props: Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
315
|
+
new (props: Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
316
316
|
multiple?: boolean | undefined;
|
|
317
317
|
placeholder?: string | undefined;
|
|
318
318
|
itemHeight?: number | undefined;
|
|
@@ -327,9 +327,9 @@ declare const _default: {
|
|
|
327
327
|
ref: any;
|
|
328
328
|
childRef(ref: any): void;
|
|
329
329
|
getWrappedInstance(): any;
|
|
330
|
-
render(): JSX.Element;
|
|
330
|
+
render(): React.JSX.Element;
|
|
331
331
|
context: unknown;
|
|
332
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
332
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
333
333
|
multiple?: boolean | undefined;
|
|
334
334
|
placeholder?: string | undefined;
|
|
335
335
|
itemHeight?: number | undefined;
|
|
@@ -342,7 +342,7 @@ declare const _default: {
|
|
|
342
342
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
343
343
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
344
344
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
345
|
-
readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
345
|
+
readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
346
346
|
multiple?: boolean | undefined;
|
|
347
347
|
placeholder?: string | undefined;
|
|
348
348
|
itemHeight?: number | undefined;
|
|
@@ -359,7 +359,7 @@ declare const _default: {
|
|
|
359
359
|
[key: string]: React.ReactInstance;
|
|
360
360
|
};
|
|
361
361
|
componentDidMount?(): void;
|
|
362
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
362
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
363
363
|
multiple?: boolean | undefined;
|
|
364
364
|
placeholder?: string | undefined;
|
|
365
365
|
itemHeight?: number | undefined;
|
|
@@ -373,7 +373,7 @@ declare const _default: {
|
|
|
373
373
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
374
374
|
componentWillUnmount?(): void;
|
|
375
375
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
376
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
376
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
377
377
|
multiple?: boolean | undefined;
|
|
378
378
|
placeholder?: string | undefined;
|
|
379
379
|
itemHeight?: number | undefined;
|
|
@@ -385,7 +385,7 @@ declare const _default: {
|
|
|
385
385
|
locale?: string | undefined;
|
|
386
386
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
387
387
|
}>, prevState: Readonly<{}>): any;
|
|
388
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
388
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
389
389
|
multiple?: boolean | undefined;
|
|
390
390
|
placeholder?: string | undefined;
|
|
391
391
|
itemHeight?: number | undefined;
|
|
@@ -399,7 +399,7 @@ declare const _default: {
|
|
|
399
399
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
400
400
|
componentWillMount?(): void;
|
|
401
401
|
UNSAFE_componentWillMount?(): void;
|
|
402
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
402
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
403
403
|
multiple?: boolean | undefined;
|
|
404
404
|
placeholder?: string | undefined;
|
|
405
405
|
itemHeight?: number | undefined;
|
|
@@ -411,7 +411,7 @@ declare const _default: {
|
|
|
411
411
|
locale?: string | undefined;
|
|
412
412
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
413
413
|
}>, nextContext: any): void;
|
|
414
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
414
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
415
415
|
multiple?: boolean | undefined;
|
|
416
416
|
placeholder?: string | undefined;
|
|
417
417
|
itemHeight?: number | undefined;
|
|
@@ -423,7 +423,7 @@ declare const _default: {
|
|
|
423
423
|
locale?: string | undefined;
|
|
424
424
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
425
425
|
}>, nextContext: any): void;
|
|
426
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
426
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
427
427
|
multiple?: boolean | undefined;
|
|
428
428
|
placeholder?: string | undefined;
|
|
429
429
|
itemHeight?: number | undefined;
|
|
@@ -435,7 +435,7 @@ declare const _default: {
|
|
|
435
435
|
locale?: string | undefined;
|
|
436
436
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
437
437
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
438
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
438
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
439
439
|
multiple?: boolean | undefined;
|
|
440
440
|
placeholder?: string | undefined;
|
|
441
441
|
itemHeight?: number | undefined;
|
|
@@ -455,7 +455,7 @@ declare const _default: {
|
|
|
455
455
|
ComposedComponent: typeof TreeSelection;
|
|
456
456
|
}, {}> & {
|
|
457
457
|
ComposedComponent: {
|
|
458
|
-
new (props: Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
458
|
+
new (props: Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
459
459
|
multiple?: boolean | undefined;
|
|
460
460
|
placeholder?: string | undefined;
|
|
461
461
|
itemHeight?: number | undefined;
|
|
@@ -470,9 +470,9 @@ declare const _default: {
|
|
|
470
470
|
ref: any;
|
|
471
471
|
childRef(ref: any): void;
|
|
472
472
|
getWrappedInstance(): any;
|
|
473
|
-
render(): JSX.Element;
|
|
473
|
+
render(): React.JSX.Element;
|
|
474
474
|
context: unknown;
|
|
475
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
475
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
476
476
|
multiple?: boolean | undefined;
|
|
477
477
|
placeholder?: string | undefined;
|
|
478
478
|
itemHeight?: number | undefined;
|
|
@@ -485,7 +485,7 @@ declare const _default: {
|
|
|
485
485
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
486
486
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
487
487
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
488
|
-
readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
488
|
+
readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
489
489
|
multiple?: boolean | undefined;
|
|
490
490
|
placeholder?: string | undefined;
|
|
491
491
|
itemHeight?: number | undefined;
|
|
@@ -502,7 +502,7 @@ declare const _default: {
|
|
|
502
502
|
[key: string]: React.ReactInstance;
|
|
503
503
|
};
|
|
504
504
|
componentDidMount?(): void;
|
|
505
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
505
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
506
506
|
multiple?: boolean | undefined;
|
|
507
507
|
placeholder?: string | undefined;
|
|
508
508
|
itemHeight?: number | undefined;
|
|
@@ -516,7 +516,7 @@ declare const _default: {
|
|
|
516
516
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
517
517
|
componentWillUnmount?(): void;
|
|
518
518
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
519
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
519
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
520
520
|
multiple?: boolean | undefined;
|
|
521
521
|
placeholder?: string | undefined;
|
|
522
522
|
itemHeight?: number | undefined;
|
|
@@ -528,7 +528,7 @@ declare const _default: {
|
|
|
528
528
|
locale?: string | undefined;
|
|
529
529
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
530
530
|
}>, prevState: Readonly<{}>): any;
|
|
531
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
531
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
532
532
|
multiple?: boolean | undefined;
|
|
533
533
|
placeholder?: string | undefined;
|
|
534
534
|
itemHeight?: number | undefined;
|
|
@@ -542,7 +542,7 @@ declare const _default: {
|
|
|
542
542
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
543
543
|
componentWillMount?(): void;
|
|
544
544
|
UNSAFE_componentWillMount?(): void;
|
|
545
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
545
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
546
546
|
multiple?: boolean | undefined;
|
|
547
547
|
placeholder?: string | undefined;
|
|
548
548
|
itemHeight?: number | undefined;
|
|
@@ -554,7 +554,7 @@ declare const _default: {
|
|
|
554
554
|
locale?: string | undefined;
|
|
555
555
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
556
556
|
}>, nextContext: any): void;
|
|
557
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
557
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
558
558
|
multiple?: boolean | undefined;
|
|
559
559
|
placeholder?: string | undefined;
|
|
560
560
|
itemHeight?: number | undefined;
|
|
@@ -566,7 +566,7 @@ declare const _default: {
|
|
|
566
566
|
locale?: string | undefined;
|
|
567
567
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
568
568
|
}>, nextContext: any): void;
|
|
569
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
569
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
570
570
|
multiple?: boolean | undefined;
|
|
571
571
|
placeholder?: string | undefined;
|
|
572
572
|
itemHeight?: number | undefined;
|
|
@@ -578,7 +578,7 @@ declare const _default: {
|
|
|
578
578
|
locale?: string | undefined;
|
|
579
579
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
580
580
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
581
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
581
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "disabled" | "value" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "options" | "checkAll" | "checkAllLabel" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender"> & {
|
|
582
582
|
multiple?: boolean | undefined;
|
|
583
583
|
placeholder?: string | undefined;
|
|
584
584
|
itemHeight?: number | undefined;
|