amis-ui 2.0.0 → 2.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/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +2 -2
- package/esm/components/AnchorNav.d.ts +9 -2
- package/esm/components/AnchorNav.js +25 -6
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +1 -1
- package/esm/components/Badge.js +2 -4
- package/esm/components/BaiduMapPicker.js +3 -3
- package/esm/components/BarCode.js +1 -1
- package/esm/components/BarCode2.js +1 -1
- package/esm/components/Breadcrumb.js +2 -2
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CityDB2.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/ColorPicker2.js +1 -1
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +43 -40
- package/esm/components/DatePicker.js +11 -4
- package/esm/components/DateRangePicker.d.ts +135 -82
- package/esm/components/DateRangePicker.js +115 -57
- package/esm/components/Drawer.d.ts +10 -10
- package/esm/components/Drawer.js +1 -1
- package/esm/components/Editor.d.ts +40 -40
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +70 -40
- package/esm/components/ImageGallery.js +97 -15
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Markdown2.js +1 -1
- package/esm/components/Modal.d.ts +42 -40
- package/esm/components/Modal.js +3 -3
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +41 -40
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.d.ts +49 -66
- package/esm/components/Pagination.js +3 -3
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +8 -4
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.js +7 -3
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/RichText2.js +1 -1
- package/esm/components/SearchBox.d.ts +127 -42
- package/esm/components/SearchBox.js +183 -20
- package/esm/components/Select.d.ts +389 -194
- package/esm/components/Select.js +17 -22
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +40 -40
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.js +1 -3
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +12 -10
- package/esm/components/Tag.js +16 -5
- package/esm/components/Textarea.js +4 -2
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +3 -3
- package/esm/components/Tinymce.d.ts +1 -3
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/Tinymce2.js +29 -12
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.js +9 -2
- package/esm/components/TransferDropDown.js +2 -3
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.js +34 -33
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +4 -2
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +14 -7
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.d.ts +1 -0
- package/esm/components/formula/plugin.js +11 -4
- package/esm/components/icons.d.ts +2 -1
- package/esm/components/icons.js +20 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.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.js +1 -1
- package/esm/hooks/use-set-state.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 +2 -2
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +2 -2
- package/esm/icons/alert-warning.svg.js +2 -2
- 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-circle.svg.js +36 -0
- 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 +2 -2
- package/esm/icons/down.svg.js +31 -0
- 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 -2
- 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 +7 -4
- 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 +24 -0
- 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 +7 -4
- package/esm/icons/right-double-arrow.svg.js +24 -0
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +24 -0
- package/esm/icons/rotate-right.svg.js +24 -0
- package/esm/icons/scale-origin.svg.js +26 -0
- 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 +2 -2
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/status-fail.svg.js +1 -1
- package/esm/icons/status-info.svg.js +1 -1
- package/esm/icons/status-success.svg.js +1 -1
- package/esm/icons/status-warning.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +24 -0
- 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.js +2 -1
- package/esm/locale/de-DE.js +7 -1
- package/esm/locale/en-US.js +7 -1
- package/esm/locale/zh-CN.js +9 -3
- 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/components/404.js +1 -1
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +10 -10
- package/lib/components/Alert2.js +2 -2
- package/lib/components/AnchorNav.d.ts +19 -12
- package/lib/components/AnchorNav.js +25 -6
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +40 -40
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +10 -10
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +2 -4
- package/lib/components/BaiduMapPicker.js +3 -3
- package/lib/components/BarCode.js +1 -1
- package/lib/components/BarCode2.js +1 -1
- package/lib/components/Breadcrumb.js +2 -2
- package/lib/components/Button.d.ts +10 -10
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +10 -10
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +40 -40
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CityDB2.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +10 -10
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/ColorPicker2.js +1 -1
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +43 -40
- package/lib/components/DatePicker.js +11 -4
- package/lib/components/DateRangePicker.d.ts +135 -82
- package/lib/components/DateRangePicker.js +114 -56
- package/lib/components/Drawer.d.ts +10 -10
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +40 -40
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +70 -40
- package/lib/components/ImageGallery.js +97 -14
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +40 -40
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Markdown2.js +1 -1
- package/lib/components/Modal.d.ts +42 -40
- package/lib/components/Modal.js +3 -3
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +41 -40
- package/lib/components/NumberInput.d.ts +10 -10
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +49 -66
- package/lib/components/Pagination.js +3 -3
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +10 -10
- package/lib/components/Progress.js +8 -4
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +10 -10
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +10 -10
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +40 -40
- package/lib/components/ResultBox.js +7 -3
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +3 -3
- package/lib/components/ResultTableList.d.ts +40 -40
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +8 -8
- package/lib/components/RichText.js +1 -1
- package/lib/components/RichText2.js +1 -1
- package/lib/components/SearchBox.d.ts +127 -42
- package/lib/components/SearchBox.js +185 -19
- package/lib/components/Select.d.ts +389 -194
- package/lib/components/Select.js +17 -22
- package/lib/components/Selection.d.ts +40 -40
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +10 -10
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +40 -40
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +10 -10
- package/lib/components/Tabs.js +1 -3
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +12 -10
- package/lib/components/Tag.js +16 -5
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +4 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +3 -3
- package/lib/components/Tinymce.d.ts +1 -3
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/Tinymce2.js +29 -12
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +40 -40
- package/lib/components/Transfer.js +15 -8
- package/lib/components/TransferDropDown.d.ts +40 -40
- package/lib/components/TransferDropDown.js +2 -3
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +3 -3
- package/lib/components/Tree.d.ts +40 -40
- package/lib/components/Tree.js +34 -33
- package/lib/components/TreeSelection.d.ts +40 -40
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +4 -2
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +14 -7
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.d.ts +1 -0
- package/lib/components/formula/plugin.js +11 -4
- package/lib/components/icons.d.ts +2 -1
- package/lib/components/icons.js +20 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +40 -40
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +40 -40
- package/lib/components/table/index.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.js +1 -1
- package/lib/hooks/use-set-state.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 +2 -2
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +2 -2
- package/lib/icons/alert-warning.svg.js +2 -2
- 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-circle.svg.js +60 -0
- 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 +2 -2
- package/lib/icons/down.svg.js +55 -0
- 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 -2
- 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 +7 -4
- 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 +48 -0
- 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 +7 -4
- package/lib/icons/right-double-arrow.svg.js +48 -0
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +48 -0
- package/lib/icons/rotate-right.svg.js +48 -0
- package/lib/icons/scale-origin.svg.js +50 -0
- 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 +2 -2
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/status-fail.svg.js +1 -1
- package/lib/icons/status-info.svg.js +1 -1
- package/lib/icons/status-success.svg.js +1 -1
- package/lib/icons/status-warning.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +48 -0
- 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.js +3 -1
- package/lib/locale/de-DE.js +7 -1
- package/lib/locale/en-US.js +7 -1
- package/lib/locale/zh-CN.js +9 -3
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/helper.scss2.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/ang.scss2.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/antd.scss2.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss2.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/dark.scss2.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/scss/themes/default.scss2.js +1 -1
- package/lib/themes/ang.css +1111 -441
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +1111 -441
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +1135 -468
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +1116 -443
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +1135 -468
- package/package.json +10 -10
- package/scss/_properties.scss +101 -22
- package/scss/base/_typography.scss +4 -0
- package/scss/components/_alert.scss +15 -0
- package/scss/components/_anchor-nav.scss +22 -7
- package/scss/components/_badge.scss +1 -0
- package/scss/components/_breadcrumb.scss +12 -1
- package/scss/components/_calendar.scss +32 -14
- package/scss/components/_card.scss +4 -0
- package/scss/components/_collapse-group.scss +13 -1
- package/scss/components/_collapse.scss +2 -1
- package/scss/components/_crud.scss +10 -2
- package/scss/components/_crud2.scss +10 -2
- package/scss/components/_image-gallery.scss +62 -0
- package/scss/components/_input-box.scss +1 -0
- package/scss/components/_log.scss +44 -16
- package/scss/components/_modal.scss +14 -12
- package/scss/components/_pagination.scss +4 -3
- package/scss/components/_progress.scss +2 -1
- package/scss/components/_result-box.scss +6 -8
- package/scss/components/_search-box.scss +120 -10
- package/scss/components/_steps.scss +23 -12
- package/scss/components/_table.scss +96 -11
- package/scss/components/_tabs.scss +46 -4
- package/scss/components/_tag.scss +12 -3
- package/scss/components/_timeline.scss +15 -1
- package/scss/components/form/_checks.scss +13 -2
- package/scss/components/form/_date-range.scss +26 -11
- package/scss/components/form/_date.scss +97 -33
- package/scss/components/form/_form.scss +13 -1
- package/scss/components/form/_nested-select.scss +6 -0
- package/scss/components/form/_number.scss +18 -13
- package/scss/components/form/_picker.scss +8 -0
- package/scss/components/form/_rating.scss +2 -2
- package/scss/components/form/_select.scss +34 -1
- package/scss/components/form/_selection.scss +1 -0
- package/scss/components/form/_text.scss +6 -0
- package/scss/components/form/_textarea.scss +15 -11
- package/scss/components/form/_transfer.scss +2 -5
- package/scss/components/form/_tree.scss +31 -4
- package/scss/components/react-datetime.scss +6 -1
- package/scss/themes/_cxd-variables.scss +9 -8
- package/scss/themes/_dark-variables.scss +5 -2
- package/scss/themes/cxd.scss +2 -8
package/lib/components/Select.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.1.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -374,7 +374,11 @@ var Select = /** @class */ (function (_super) {
|
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
Select.prototype.handleKeyPress = function (e) {
|
|
377
|
-
|
|
377
|
+
/**
|
|
378
|
+
* 考虑到label/value中有空格的case
|
|
379
|
+
* 这里使用组合键关闭 win:shift + space,mac:shift + space
|
|
380
|
+
*/
|
|
381
|
+
if (e.key === ' ' && e.shiftKey) {
|
|
378
382
|
this.toggle();
|
|
379
383
|
e.preventDefault();
|
|
380
384
|
}
|
|
@@ -407,15 +411,10 @@ var Select = /** @class */ (function (_super) {
|
|
|
407
411
|
e.stopPropagation();
|
|
408
412
|
onDelete && onDelete(item);
|
|
409
413
|
};
|
|
410
|
-
Select.prototype.menuItemRef = function (ref) {
|
|
411
|
-
if (ref && typeof ref.offsetHeight === 'number' && ref > 0) {
|
|
412
|
-
this.setState({ itemHeight: ref.offsetHeight });
|
|
413
|
-
}
|
|
414
|
-
};
|
|
415
414
|
Select.prototype.renderValue = function (_a) {
|
|
416
415
|
var _this = this;
|
|
417
416
|
_a.inputValue; _a.isOpen;
|
|
418
|
-
var _b = this.props, cx = _b.classnames, multiple = _b.multiple, valuesNoWrap = _b.valuesNoWrap, placeholder = _b.placeholder, labelField = _b.labelField, disabled = _b.disabled, maxTagCount = _b.maxTagCount, overflowTagPopover = _b.overflowTagPopover, __ = _b.translate;
|
|
417
|
+
var _b = this.props, cx = _b.classnames, multiple = _b.multiple, valuesNoWrap = _b.valuesNoWrap, placeholder = _b.placeholder, labelField = _b.labelField, disabled = _b.disabled, maxTagCount = _b.maxTagCount, overflowTagPopover = _b.overflowTagPopover, showInvalidMatch = _b.showInvalidMatch, __ = _b.translate;
|
|
419
418
|
var selection = this.state.selection;
|
|
420
419
|
if (!selection.length) {
|
|
421
420
|
return (React__default["default"].createElement("div", { key: "placeholder", className: cx('Select-placeholder') }, __(placeholder)));
|
|
@@ -437,7 +436,9 @@ var Select = /** @class */ (function (_super) {
|
|
|
437
436
|
var itemIndex = index + maxVisibleCount_1;
|
|
438
437
|
return (React__default["default"].createElement("div", { key: itemIndex, className: cx('Select-value', {
|
|
439
438
|
'is-disabled': disabled,
|
|
440
|
-
'is-invalid':
|
|
439
|
+
'is-invalid': showInvalidMatch
|
|
440
|
+
? item.__unmatched
|
|
441
|
+
: false
|
|
441
442
|
}) },
|
|
442
443
|
React__default["default"].createElement("span", { className: cx('Select-valueLabel') }, item[labelField || 'label']),
|
|
443
444
|
React__default["default"].createElement("span", { className: cx('Select-valueIcon', {
|
|
@@ -447,7 +448,7 @@ var Select = /** @class */ (function (_super) {
|
|
|
447
448
|
}))); } }) },
|
|
448
449
|
React__default["default"].createElement("div", { className: cx('Select-value', {
|
|
449
450
|
'is-disabled': disabled,
|
|
450
|
-
'is-invalid': item.__unmatched
|
|
451
|
+
'is-invalid': showInvalidMatch ? item.__unmatched : false
|
|
451
452
|
}), onClick: function (e) {
|
|
452
453
|
return e.stopPropagation();
|
|
453
454
|
} },
|
|
@@ -456,7 +457,7 @@ var Select = /** @class */ (function (_super) {
|
|
|
456
457
|
return (React__default["default"].createElement(TooltipWrapper["default"], { placement: 'top', tooltip: item[labelField || 'label'], trigger: 'hover', key: index },
|
|
457
458
|
React__default["default"].createElement("div", { className: cx('Select-value', {
|
|
458
459
|
'is-disabled': disabled,
|
|
459
|
-
'is-invalid': item.__unmatched
|
|
460
|
+
'is-invalid': showInvalidMatch ? item.__unmatched : false
|
|
460
461
|
}) },
|
|
461
462
|
React__default["default"].createElement("span", { className: cx('Select-valueLabel') }, item[labelField || 'label']),
|
|
462
463
|
React__default["default"].createElement("span", { className: cx('Select-valueIcon', {
|
|
@@ -469,13 +470,13 @@ var Select = /** @class */ (function (_super) {
|
|
|
469
470
|
if (!multiple) {
|
|
470
471
|
return (React__default["default"].createElement("div", { className: cx('Select-value', {
|
|
471
472
|
'is-disabled': disabled,
|
|
472
|
-
'is-invalid': item.__unmatched
|
|
473
|
+
'is-invalid': showInvalidMatch ? item.__unmatched : false
|
|
473
474
|
}), key: index }, item[labelField || 'label']));
|
|
474
475
|
}
|
|
475
476
|
return valuesNoWrap ? ("".concat(item[labelField || 'label']).concat(index === selection.length - 1 ? '' : ' + ')) : (React__default["default"].createElement(TooltipWrapper["default"], { placement: 'top', tooltip: item[labelField || 'label'], trigger: 'hover', key: index },
|
|
476
477
|
React__default["default"].createElement("div", { className: cx('Select-value', {
|
|
477
478
|
'is-disabled': disabled,
|
|
478
|
-
'is-invalid': item.__unmatched
|
|
479
|
+
'is-invalid': showInvalidMatch ? item.__unmatched : false
|
|
479
480
|
}) },
|
|
480
481
|
React__default["default"].createElement("span", { className: cx('Select-valueLabel') }, item[labelField || 'label']),
|
|
481
482
|
React__default["default"].createElement("span", { className: cx('Select-valueIcon', {
|
|
@@ -487,7 +488,7 @@ var Select = /** @class */ (function (_super) {
|
|
|
487
488
|
Select.prototype.renderOuter = function (_a) {
|
|
488
489
|
var _this = this;
|
|
489
490
|
var selectedItem = _a.selectedItem, getItemProps = _a.getItemProps, highlightedIndex = _a.highlightedIndex, inputValue = _a.inputValue, isOpen = _a.isOpen; _a.getToggleButtonProps; var getInputProps = _a.getInputProps;
|
|
490
|
-
var _b = this.props, popOverContainer = _b.popOverContainer, options = _b.options; _b.value; var valueField = _b.valueField, labelField = _b.labelField, noResultsText = _b.noResultsText, loadOptions = _b.loadOptions, creatable = _b.creatable, multiple = _b.multiple, valuesNoWrap = _b.valuesNoWrap, cx = _b.classnames; _b.popoverClassName; var checkAll = _b.checkAll, checkAllLabel = _b.checkAllLabel, checkAllBySearch = _b.checkAllBySearch, searchable = _b.searchable, createBtnLabel = _b.createBtnLabel, disabled = _b.disabled, searchPromptText = _b.searchPromptText, editable = _b.editable, removable = _b.removable, overlayPlacement = _b.overlayPlacement, __ = _b.translate, hideSelected = _b.hideSelected, renderMenu = _b.renderMenu; _b.mobileClassName; var _c = _b.virtualThreshold, virtualThreshold = _c === void 0 ? 100 : _c, _d = _b.useMobileUI, useMobileUI = _d === void 0 ? false : _d;
|
|
491
|
+
var _b = this.props, popOverContainer = _b.popOverContainer, options = _b.options; _b.value; var valueField = _b.valueField, labelField = _b.labelField, noResultsText = _b.noResultsText, loadOptions = _b.loadOptions, creatable = _b.creatable, multiple = _b.multiple, valuesNoWrap = _b.valuesNoWrap, cx = _b.classnames; _b.popoverClassName; var popOverContainerSelector = _b.popOverContainerSelector, checkAll = _b.checkAll, checkAllLabel = _b.checkAllLabel, checkAllBySearch = _b.checkAllBySearch, searchable = _b.searchable, createBtnLabel = _b.createBtnLabel, disabled = _b.disabled, searchPromptText = _b.searchPromptText, editable = _b.editable, removable = _b.removable, overlayPlacement = _b.overlayPlacement, __ = _b.translate, hideSelected = _b.hideSelected, renderMenu = _b.renderMenu; _b.mobileClassName; var _c = _b.virtualThreshold, virtualThreshold = _c === void 0 ? 100 : _c, _d = _b.useMobileUI, useMobileUI = _d === void 0 ? false : _d;
|
|
491
492
|
var selection = this.state.selection;
|
|
492
493
|
var checkedAll = false;
|
|
493
494
|
var checkedPartial = false;
|
|
@@ -588,7 +589,6 @@ var Select = /** @class */ (function (_super) {
|
|
|
588
589
|
")")) : null,
|
|
589
590
|
multiple && checkAll && filtedOptions.length ? (React__default["default"].createElement("div", { className: cx('Select-option') },
|
|
590
591
|
React__default["default"].createElement(Checkbox["default"], { checked: checkedPartial, partial: checkedPartial && !checkedAll, onChange: this.toggleCheckAll, size: "sm" }, __(checkAllLabel)))) : null,
|
|
591
|
-
React__default["default"].createElement("div", { ref: this.menuItemRef, className: cx('Select-option hidden') }, multiple ? (React__default["default"].createElement(Checkbox["default"], { size: "sm" }, "Placeholder")) : (React__default["default"].createElement("span", null, "Placeholder"))),
|
|
592
592
|
creatable && !disabled ? (React__default["default"].createElement("a", { className: cx('Select-addBtn'), onClick: this.handleAddClick },
|
|
593
593
|
React__default["default"].createElement(icons.Icon, { icon: "plus", className: "icon" }),
|
|
594
594
|
__(createBtnLabel))) : null,
|
|
@@ -598,7 +598,7 @@ var Select = /** @class */ (function (_super) {
|
|
|
598
598
|
: filtedOptions.length * virtualItemHeight, itemCount: filtedOptions.length, itemSize: virtualItemHeight, renderItem: renderItem })) : (filtedOptions.map(function (item, index) {
|
|
599
599
|
return renderItem({ index: index });
|
|
600
600
|
}))) : (React__default["default"].createElement("div", { className: cx('Select-noResult') }, __(noResultsText)))));
|
|
601
|
-
return mobileUI ? (React__default["default"].createElement(PopUp["default"], { className: cx("Select-popup"), container: popOverContainer, isShow: this.state.isOpen, onHide: this.close }, menu)) : (React__default["default"].createElement(amisCore.Overlay, { container: popOverContainer || this.getTarget, target: this.getTarget, placement: overlayPlacement, show: true },
|
|
601
|
+
return mobileUI ? (React__default["default"].createElement(PopUp["default"], { className: cx("Select-popup"), container: popOverContainer, isShow: this.state.isOpen, onHide: this.close }, menu)) : (React__default["default"].createElement(amisCore.Overlay, { container: popOverContainer || this.getTarget, containerSelector: popOverContainerSelector, target: this.getTarget, placement: overlayPlacement, show: true },
|
|
602
602
|
React__default["default"].createElement(amisCore.PopOver, { overlay: true, className: cx('Select-popover'), style: {
|
|
603
603
|
width: this.target ? this.target.offsetWidth : 'auto'
|
|
604
604
|
}, onHide: this.close }, menu)));
|
|
@@ -646,6 +646,7 @@ var Select = /** @class */ (function (_super) {
|
|
|
646
646
|
multiple: false,
|
|
647
647
|
clearable: true,
|
|
648
648
|
creatable: false,
|
|
649
|
+
showInvalidMatch: false,
|
|
649
650
|
createBtnLabel: 'Select.createLabel',
|
|
650
651
|
searchPromptText: 'Select.searchPromptText',
|
|
651
652
|
loadingPlaceholder: 'loading',
|
|
@@ -784,12 +785,6 @@ var Select = /** @class */ (function (_super) {
|
|
|
784
785
|
tslib.__metadata("design:paramtypes", [Event, Object]),
|
|
785
786
|
tslib.__metadata("design:returntype", void 0)
|
|
786
787
|
], Select.prototype, "handleDeleteClick", null);
|
|
787
|
-
tslib.__decorate([
|
|
788
|
-
amisCore.autobind,
|
|
789
|
-
tslib.__metadata("design:type", Function),
|
|
790
|
-
tslib.__metadata("design:paramtypes", [Object]),
|
|
791
|
-
tslib.__metadata("design:returntype", void 0)
|
|
792
|
-
], Select.prototype, "menuItemRef", null);
|
|
793
788
|
return Select;
|
|
794
789
|
}(React__default["default"].Component));
|
|
795
790
|
var EnhancedSelect = amisCore.themeable(amisCore.localeable(amisCore.uncontrollable(Select, {
|
|
@@ -52,7 +52,7 @@ export declare class BaseSelection<T extends BaseSelectionProps = BaseSelectionP
|
|
|
52
52
|
export declare class Selection extends BaseSelection {
|
|
53
53
|
}
|
|
54
54
|
declare const _default: {
|
|
55
|
-
new (props: Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
55
|
+
new (props: Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
56
56
|
placeholder: string;
|
|
57
57
|
itemRender: typeof BaseSelection.itemRender;
|
|
58
58
|
multiple: boolean;
|
|
@@ -66,7 +66,7 @@ declare const _default: {
|
|
|
66
66
|
getWrappedInstance(): any;
|
|
67
67
|
render(): JSX.Element;
|
|
68
68
|
context: any;
|
|
69
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
69
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
70
70
|
placeholder: string;
|
|
71
71
|
itemRender: typeof BaseSelection.itemRender;
|
|
72
72
|
multiple: boolean;
|
|
@@ -76,7 +76,7 @@ declare const _default: {
|
|
|
76
76
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
77
77
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
78
78
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
79
|
-
readonly props: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
79
|
+
readonly props: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
80
80
|
placeholder: string;
|
|
81
81
|
itemRender: typeof BaseSelection.itemRender;
|
|
82
82
|
multiple: boolean;
|
|
@@ -92,7 +92,7 @@ declare const _default: {
|
|
|
92
92
|
[key: string]: React.ReactInstance;
|
|
93
93
|
};
|
|
94
94
|
componentDidMount?(): void;
|
|
95
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
95
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
96
96
|
placeholder: string;
|
|
97
97
|
itemRender: typeof BaseSelection.itemRender;
|
|
98
98
|
multiple: boolean;
|
|
@@ -103,7 +103,7 @@ declare const _default: {
|
|
|
103
103
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
104
104
|
componentWillUnmount?(): void;
|
|
105
105
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
106
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
106
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
107
107
|
placeholder: string;
|
|
108
108
|
itemRender: typeof BaseSelection.itemRender;
|
|
109
109
|
multiple: boolean;
|
|
@@ -112,7 +112,7 @@ declare const _default: {
|
|
|
112
112
|
locale?: string | undefined;
|
|
113
113
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
114
114
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
115
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
115
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
116
116
|
placeholder: string;
|
|
117
117
|
itemRender: typeof BaseSelection.itemRender;
|
|
118
118
|
multiple: boolean;
|
|
@@ -123,7 +123,7 @@ declare const _default: {
|
|
|
123
123
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
124
124
|
componentWillMount?(): void;
|
|
125
125
|
UNSAFE_componentWillMount?(): void;
|
|
126
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
126
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
127
127
|
placeholder: string;
|
|
128
128
|
itemRender: typeof BaseSelection.itemRender;
|
|
129
129
|
multiple: boolean;
|
|
@@ -132,7 +132,7 @@ declare const _default: {
|
|
|
132
132
|
locale?: string | undefined;
|
|
133
133
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
134
134
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
135
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
135
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
136
136
|
placeholder: string;
|
|
137
137
|
itemRender: typeof BaseSelection.itemRender;
|
|
138
138
|
multiple: boolean;
|
|
@@ -141,7 +141,7 @@ declare const _default: {
|
|
|
141
141
|
locale?: string | undefined;
|
|
142
142
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
143
143
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
144
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
144
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
145
145
|
placeholder: string;
|
|
146
146
|
itemRender: typeof BaseSelection.itemRender;
|
|
147
147
|
multiple: boolean;
|
|
@@ -150,7 +150,7 @@ declare const _default: {
|
|
|
150
150
|
locale?: string | undefined;
|
|
151
151
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
152
152
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
153
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
153
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
154
154
|
placeholder: string;
|
|
155
155
|
itemRender: typeof BaseSelection.itemRender;
|
|
156
156
|
multiple: boolean;
|
|
@@ -163,7 +163,7 @@ declare const _default: {
|
|
|
163
163
|
displayName: string;
|
|
164
164
|
contextType: React.Context<string>;
|
|
165
165
|
ComposedComponent: React.ComponentType<{
|
|
166
|
-
new (props: Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
166
|
+
new (props: Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
167
167
|
placeholder: string;
|
|
168
168
|
itemRender: typeof BaseSelection.itemRender;
|
|
169
169
|
multiple: boolean;
|
|
@@ -177,7 +177,7 @@ declare const _default: {
|
|
|
177
177
|
getWrappedInstance(): any;
|
|
178
178
|
render(): JSX.Element;
|
|
179
179
|
context: any;
|
|
180
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
180
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
181
181
|
placeholder: string;
|
|
182
182
|
itemRender: typeof BaseSelection.itemRender;
|
|
183
183
|
multiple: boolean;
|
|
@@ -187,7 +187,7 @@ declare const _default: {
|
|
|
187
187
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
188
188
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
189
189
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
190
|
-
readonly props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
190
|
+
readonly props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
191
191
|
placeholder: string;
|
|
192
192
|
itemRender: typeof BaseSelection.itemRender;
|
|
193
193
|
multiple: boolean;
|
|
@@ -203,7 +203,7 @@ declare const _default: {
|
|
|
203
203
|
[key: string]: React.ReactInstance;
|
|
204
204
|
};
|
|
205
205
|
componentDidMount?(): void;
|
|
206
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
206
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
207
207
|
placeholder: string;
|
|
208
208
|
itemRender: typeof BaseSelection.itemRender;
|
|
209
209
|
multiple: boolean;
|
|
@@ -214,7 +214,7 @@ declare const _default: {
|
|
|
214
214
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
215
215
|
componentWillUnmount?(): void;
|
|
216
216
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
217
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
217
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
218
218
|
placeholder: string;
|
|
219
219
|
itemRender: typeof BaseSelection.itemRender;
|
|
220
220
|
multiple: boolean;
|
|
@@ -223,7 +223,7 @@ declare const _default: {
|
|
|
223
223
|
locale?: string | undefined;
|
|
224
224
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
225
225
|
}>, prevState: Readonly<{}>): any;
|
|
226
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
226
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
227
227
|
placeholder: string;
|
|
228
228
|
itemRender: typeof BaseSelection.itemRender;
|
|
229
229
|
multiple: boolean;
|
|
@@ -234,7 +234,7 @@ declare const _default: {
|
|
|
234
234
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
235
235
|
componentWillMount?(): void;
|
|
236
236
|
UNSAFE_componentWillMount?(): void;
|
|
237
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
237
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
238
238
|
placeholder: string;
|
|
239
239
|
itemRender: typeof BaseSelection.itemRender;
|
|
240
240
|
multiple: boolean;
|
|
@@ -243,7 +243,7 @@ declare const _default: {
|
|
|
243
243
|
locale?: string | undefined;
|
|
244
244
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
245
245
|
}>, nextContext: any): void;
|
|
246
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
246
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
247
247
|
placeholder: string;
|
|
248
248
|
itemRender: typeof BaseSelection.itemRender;
|
|
249
249
|
multiple: boolean;
|
|
@@ -252,7 +252,7 @@ declare const _default: {
|
|
|
252
252
|
locale?: string | undefined;
|
|
253
253
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
254
254
|
}>, nextContext: any): void;
|
|
255
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
255
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
256
256
|
placeholder: string;
|
|
257
257
|
itemRender: typeof BaseSelection.itemRender;
|
|
258
258
|
multiple: boolean;
|
|
@@ -261,7 +261,7 @@ declare const _default: {
|
|
|
261
261
|
locale?: string | undefined;
|
|
262
262
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
263
263
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
264
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
264
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
265
265
|
placeholder: string;
|
|
266
266
|
itemRender: typeof BaseSelection.itemRender;
|
|
267
267
|
multiple: boolean;
|
|
@@ -278,7 +278,7 @@ declare const _default: {
|
|
|
278
278
|
ComposedComponent: typeof Selection;
|
|
279
279
|
}>;
|
|
280
280
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
281
|
-
new (props: Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
281
|
+
new (props: Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
282
282
|
placeholder: string;
|
|
283
283
|
itemRender: typeof BaseSelection.itemRender;
|
|
284
284
|
multiple: boolean;
|
|
@@ -292,7 +292,7 @@ declare const _default: {
|
|
|
292
292
|
getWrappedInstance(): any;
|
|
293
293
|
render(): JSX.Element;
|
|
294
294
|
context: any;
|
|
295
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
295
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
296
296
|
placeholder: string;
|
|
297
297
|
itemRender: typeof BaseSelection.itemRender;
|
|
298
298
|
multiple: boolean;
|
|
@@ -302,7 +302,7 @@ declare const _default: {
|
|
|
302
302
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
303
303
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
304
304
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
305
|
-
readonly props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
305
|
+
readonly props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
306
306
|
placeholder: string;
|
|
307
307
|
itemRender: typeof BaseSelection.itemRender;
|
|
308
308
|
multiple: boolean;
|
|
@@ -318,7 +318,7 @@ declare const _default: {
|
|
|
318
318
|
[key: string]: React.ReactInstance;
|
|
319
319
|
};
|
|
320
320
|
componentDidMount?(): void;
|
|
321
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
321
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
322
322
|
placeholder: string;
|
|
323
323
|
itemRender: typeof BaseSelection.itemRender;
|
|
324
324
|
multiple: boolean;
|
|
@@ -329,7 +329,7 @@ declare const _default: {
|
|
|
329
329
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
330
330
|
componentWillUnmount?(): void;
|
|
331
331
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
332
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
332
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
333
333
|
placeholder: string;
|
|
334
334
|
itemRender: typeof BaseSelection.itemRender;
|
|
335
335
|
multiple: boolean;
|
|
@@ -338,7 +338,7 @@ declare const _default: {
|
|
|
338
338
|
locale?: string | undefined;
|
|
339
339
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
340
340
|
}>, prevState: Readonly<{}>): any;
|
|
341
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
341
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
342
342
|
placeholder: string;
|
|
343
343
|
itemRender: typeof BaseSelection.itemRender;
|
|
344
344
|
multiple: boolean;
|
|
@@ -349,7 +349,7 @@ declare const _default: {
|
|
|
349
349
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
350
350
|
componentWillMount?(): void;
|
|
351
351
|
UNSAFE_componentWillMount?(): void;
|
|
352
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
352
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
353
353
|
placeholder: string;
|
|
354
354
|
itemRender: typeof BaseSelection.itemRender;
|
|
355
355
|
multiple: boolean;
|
|
@@ -358,7 +358,7 @@ declare const _default: {
|
|
|
358
358
|
locale?: string | undefined;
|
|
359
359
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
360
360
|
}>, nextContext: any): void;
|
|
361
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
361
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
362
362
|
placeholder: string;
|
|
363
363
|
itemRender: typeof BaseSelection.itemRender;
|
|
364
364
|
multiple: boolean;
|
|
@@ -367,7 +367,7 @@ declare const _default: {
|
|
|
367
367
|
locale?: string | undefined;
|
|
368
368
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
369
369
|
}>, nextContext: any): void;
|
|
370
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
370
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
371
371
|
placeholder: string;
|
|
372
372
|
itemRender: typeof BaseSelection.itemRender;
|
|
373
373
|
multiple: boolean;
|
|
@@ -376,7 +376,7 @@ declare const _default: {
|
|
|
376
376
|
locale?: string | undefined;
|
|
377
377
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
378
378
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
379
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
379
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
380
380
|
placeholder: string;
|
|
381
381
|
itemRender: typeof BaseSelection.itemRender;
|
|
382
382
|
multiple: boolean;
|
|
@@ -393,7 +393,7 @@ declare const _default: {
|
|
|
393
393
|
ComposedComponent: typeof Selection;
|
|
394
394
|
}, {}> & {
|
|
395
395
|
ComposedComponent: {
|
|
396
|
-
new (props: Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
396
|
+
new (props: Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
397
397
|
placeholder: string;
|
|
398
398
|
itemRender: typeof BaseSelection.itemRender;
|
|
399
399
|
multiple: boolean;
|
|
@@ -407,7 +407,7 @@ declare const _default: {
|
|
|
407
407
|
getWrappedInstance(): any;
|
|
408
408
|
render(): JSX.Element;
|
|
409
409
|
context: any;
|
|
410
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
410
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
411
411
|
placeholder: string;
|
|
412
412
|
itemRender: typeof BaseSelection.itemRender;
|
|
413
413
|
multiple: boolean;
|
|
@@ -417,7 +417,7 @@ declare const _default: {
|
|
|
417
417
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
418
418
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
419
419
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
420
|
-
readonly props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
420
|
+
readonly props: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
421
421
|
placeholder: string;
|
|
422
422
|
itemRender: typeof BaseSelection.itemRender;
|
|
423
423
|
multiple: boolean;
|
|
@@ -433,7 +433,7 @@ declare const _default: {
|
|
|
433
433
|
[key: string]: React.ReactInstance;
|
|
434
434
|
};
|
|
435
435
|
componentDidMount?(): void;
|
|
436
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
436
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
437
437
|
placeholder: string;
|
|
438
438
|
itemRender: typeof BaseSelection.itemRender;
|
|
439
439
|
multiple: boolean;
|
|
@@ -444,7 +444,7 @@ declare const _default: {
|
|
|
444
444
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
445
445
|
componentWillUnmount?(): void;
|
|
446
446
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
447
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
447
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
448
448
|
placeholder: string;
|
|
449
449
|
itemRender: typeof BaseSelection.itemRender;
|
|
450
450
|
multiple: boolean;
|
|
@@ -453,7 +453,7 @@ declare const _default: {
|
|
|
453
453
|
locale?: string | undefined;
|
|
454
454
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
455
455
|
}>, prevState: Readonly<{}>): any;
|
|
456
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
456
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
457
457
|
placeholder: string;
|
|
458
458
|
itemRender: typeof BaseSelection.itemRender;
|
|
459
459
|
multiple: boolean;
|
|
@@ -464,7 +464,7 @@ declare const _default: {
|
|
|
464
464
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
465
465
|
componentWillMount?(): void;
|
|
466
466
|
UNSAFE_componentWillMount?(): void;
|
|
467
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
467
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
468
468
|
placeholder: string;
|
|
469
469
|
itemRender: typeof BaseSelection.itemRender;
|
|
470
470
|
multiple: boolean;
|
|
@@ -473,7 +473,7 @@ declare const _default: {
|
|
|
473
473
|
locale?: string | undefined;
|
|
474
474
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
475
475
|
}>, nextContext: any): void;
|
|
476
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
476
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
477
477
|
placeholder: string;
|
|
478
478
|
itemRender: typeof BaseSelection.itemRender;
|
|
479
479
|
multiple: boolean;
|
|
@@ -482,7 +482,7 @@ declare const _default: {
|
|
|
482
482
|
locale?: string | undefined;
|
|
483
483
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
484
484
|
}>, nextContext: any): void;
|
|
485
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
485
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
486
486
|
placeholder: string;
|
|
487
487
|
itemRender: typeof BaseSelection.itemRender;
|
|
488
488
|
multiple: boolean;
|
|
@@ -491,7 +491,7 @@ declare const _default: {
|
|
|
491
491
|
locale?: string | undefined;
|
|
492
492
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
493
493
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
494
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
494
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "onClick" | "value" | "inline" | "disabled" | "itemClassName" | "labelClassName" | "options" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "placeholderRender"> & Partial<Pick<Omit<BaseSelectionProps, keyof LocaleProps>, "placeholder" | "multiple" | "clearable" | "itemRender">> & Partial<Pick<{
|
|
495
495
|
placeholder: string;
|
|
496
496
|
itemRender: typeof BaseSelection.itemRender;
|
|
497
497
|
multiple: boolean;
|