amis-ui 2.3.0 → 2.3.2-beta.1
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 +1 -1
- package/esm/components/AnchorNav.js +1 -1
- 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.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- 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 +13 -5
- package/esm/components/CityDB.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/ContextMenu.js +1 -1
- package/esm/components/DatePicker.js +10 -3
- package/esm/components/DateRangePicker.js +1 -1
- package/esm/components/Drawer.js +1 -1
- 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.js +1 -1
- 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.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/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/SearchBox.js +1 -1
- package/esm/components/Select.js +1 -1
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +11 -1
- package/esm/components/Spinner.js +15 -4
- 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 -1
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +6 -5
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- 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 +19 -14
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.js +1 -1
- 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 +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- 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.js +1 -1
- package/esm/components/icons.js +1 -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.d.ts +3 -3
- 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 +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-circle.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 +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 +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.js +1 -1
- package/esm/locale/de-DE.js +2 -1
- package/esm/locale/en-US.js +2 -1
- package/esm/locale/zh-CN.js +2 -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/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 +1 -1
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +1 -1
- 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.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- 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 +13 -5
- package/lib/components/CityDB.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/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +40 -40
- package/lib/components/DatePicker.js +10 -3
- package/lib/components/DateRangePicker.d.ts +40 -40
- package/lib/components/DateRangePicker.js +1 -1
- 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.js +1 -1
- 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/Modal.d.ts +40 -40
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +40 -40
- package/lib/components/NumberInput.d.ts +10 -10
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +1 -1
- 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 +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +40 -40
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +193 -193
- package/lib/components/Select.js +1 -1
- 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 +21 -11
- package/lib/components/Spinner.js +15 -4
- 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 +40 -40
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +10 -10
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +6 -5
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- 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 +18 -13
- package/lib/components/TransferDropDown.d.ts +40 -40
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +40 -40
- package/lib/components/Tree.js +1 -1
- 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 +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- 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.js +1 -1
- package/lib/components/icons.js +1 -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.d.ts +3 -3
- 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 +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-circle.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 +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 +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.js +1 -1
- package/lib/locale/de-DE.js +2 -1
- package/lib/locale/en-US.js +2 -1
- package/lib/locale/zh-CN.js +2 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +7 -41
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +7 -41
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +7 -41
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +7 -41
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +7 -41
- package/package.json +4 -4
- package/scss/components/_images.scss +4 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.3.
|
|
2
|
+
* amis-ui v2.3.2-beta.1
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -102,10 +102,11 @@ var CityArea = React.memo(function (props) {
|
|
|
102
102
|
};
|
|
103
103
|
var getPropsValue = function () {
|
|
104
104
|
var _a;
|
|
105
|
-
//
|
|
105
|
+
// 最后一项的值、默认北京东城区
|
|
106
106
|
var code = (value && value.code) ||
|
|
107
107
|
(typeof value === 'number' && value) ||
|
|
108
|
-
(typeof value === 'string' && /(\d{6})/.test(value) && RegExp.$1)
|
|
108
|
+
(typeof value === 'string' && /(\d{6})/.test(value) && RegExp.$1) ||
|
|
109
|
+
110101;
|
|
109
110
|
var values = [];
|
|
110
111
|
if (code && db[code]) {
|
|
111
112
|
code = parseInt(code, 10);
|
|
@@ -124,6 +125,13 @@ var CityArea = React.memo(function (props) {
|
|
|
124
125
|
values[2] = code;
|
|
125
126
|
}
|
|
126
127
|
setValues(values);
|
|
128
|
+
if (props.value) {
|
|
129
|
+
var confirmValues_1 = values.map(function (item) { return ({
|
|
130
|
+
text: db[item],
|
|
131
|
+
value: item
|
|
132
|
+
}); });
|
|
133
|
+
setConfirmValues(confirmValues_1);
|
|
134
|
+
}
|
|
127
135
|
}
|
|
128
136
|
};
|
|
129
137
|
var updateColumns = function () {
|
|
@@ -166,8 +174,8 @@ var CityArea = React.memo(function (props) {
|
|
|
166
174
|
loadDb();
|
|
167
175
|
}, []);
|
|
168
176
|
React.useEffect(function () {
|
|
169
|
-
|
|
170
|
-
}, [db, isOpened]);
|
|
177
|
+
db && (props.value || isOpened) && getPropsValue();
|
|
178
|
+
}, [db, isOpened, props.value]);
|
|
171
179
|
React.useEffect(function () {
|
|
172
180
|
street && propsChange();
|
|
173
181
|
}, [street]);
|
package/lib/components/CityDB.js
CHANGED
|
@@ -56,15 +56,15 @@ export declare class Collapse extends React.Component<CollapseProps, CollapseSta
|
|
|
56
56
|
render(): JSX.Element;
|
|
57
57
|
}
|
|
58
58
|
declare const _default: {
|
|
59
|
-
new (props: Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
59
|
+
new (props: Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps): {
|
|
60
60
|
ref: any;
|
|
61
61
|
childRef(ref: any): void;
|
|
62
62
|
getWrappedInstance(): any;
|
|
63
63
|
render(): JSX.Element;
|
|
64
64
|
context: any;
|
|
65
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
65
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
66
66
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
67
|
-
readonly props: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
67
|
+
readonly props: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
68
68
|
children?: React.ReactNode;
|
|
69
69
|
}>;
|
|
70
70
|
state: Readonly<{}>;
|
|
@@ -72,17 +72,17 @@ declare const _default: {
|
|
|
72
72
|
[key: string]: React.ReactInstance;
|
|
73
73
|
};
|
|
74
74
|
componentDidMount?(): void;
|
|
75
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
75
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
76
76
|
componentWillUnmount?(): void;
|
|
77
77
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
78
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
79
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
78
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
79
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
80
80
|
componentWillMount?(): void;
|
|
81
81
|
UNSAFE_componentWillMount?(): void;
|
|
82
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
83
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
84
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
85
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "
|
|
82
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
83
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
84
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
85
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, never> & Partial<Pick<Omit<CollapseProps, keyof import("amis-core").ThemeProps>, "body" | "header" | "translate" | "id" | "size" | "disabled" | "mountOnEnter" | "unmountOnExit" | "wrapperComponent" | "showArrow" | "key" | "collapsed" | "collapseId" | "propKey" | "headerPosition" | "bodyClassName" | "collapsable" | "expandIcon" | "headingClassName" | "collapseHeader" | "onCollapse" | "headingComponent" | "propsUpdate">> & Partial<Pick<Partial<CollapseProps>, "classPrefix" | "classnames" | "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
86
86
|
};
|
|
87
87
|
displayName: string;
|
|
88
88
|
contextType: React.Context<string>;
|
|
@@ -65,7 +65,7 @@ export declare class ColorControl extends React.PureComponent<ColorProps, ColorC
|
|
|
65
65
|
render(): JSX.Element;
|
|
66
66
|
}
|
|
67
67
|
declare const _default: {
|
|
68
|
-
new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
68
|
+
new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
69
69
|
format: string;
|
|
70
70
|
clearable: boolean;
|
|
71
71
|
placeholder: string;
|
|
@@ -79,7 +79,7 @@ declare const _default: {
|
|
|
79
79
|
getWrappedInstance(): any;
|
|
80
80
|
render(): JSX.Element;
|
|
81
81
|
context: any;
|
|
82
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
82
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
83
83
|
format: string;
|
|
84
84
|
clearable: boolean;
|
|
85
85
|
placeholder: string;
|
|
@@ -89,7 +89,7 @@ declare const _default: {
|
|
|
89
89
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
90
90
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
91
91
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
92
|
-
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
92
|
+
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
93
93
|
format: string;
|
|
94
94
|
clearable: boolean;
|
|
95
95
|
placeholder: string;
|
|
@@ -105,7 +105,7 @@ declare const _default: {
|
|
|
105
105
|
[key: string]: React.ReactInstance;
|
|
106
106
|
};
|
|
107
107
|
componentDidMount?(): void;
|
|
108
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
108
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
109
109
|
format: string;
|
|
110
110
|
clearable: boolean;
|
|
111
111
|
placeholder: string;
|
|
@@ -116,7 +116,7 @@ declare const _default: {
|
|
|
116
116
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
117
117
|
componentWillUnmount?(): void;
|
|
118
118
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
119
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
119
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
120
120
|
format: string;
|
|
121
121
|
clearable: boolean;
|
|
122
122
|
placeholder: string;
|
|
@@ -125,7 +125,7 @@ declare const _default: {
|
|
|
125
125
|
locale?: string | undefined;
|
|
126
126
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
127
127
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
128
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
128
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
129
129
|
format: string;
|
|
130
130
|
clearable: boolean;
|
|
131
131
|
placeholder: string;
|
|
@@ -136,7 +136,7 @@ declare const _default: {
|
|
|
136
136
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
137
137
|
componentWillMount?(): void;
|
|
138
138
|
UNSAFE_componentWillMount?(): void;
|
|
139
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
139
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
140
140
|
format: string;
|
|
141
141
|
clearable: boolean;
|
|
142
142
|
placeholder: string;
|
|
@@ -145,7 +145,7 @@ declare const _default: {
|
|
|
145
145
|
locale?: string | undefined;
|
|
146
146
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
147
147
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
148
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
148
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
149
149
|
format: string;
|
|
150
150
|
clearable: boolean;
|
|
151
151
|
placeholder: string;
|
|
@@ -154,7 +154,7 @@ declare const _default: {
|
|
|
154
154
|
locale?: string | undefined;
|
|
155
155
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
156
156
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
157
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
157
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
158
158
|
format: string;
|
|
159
159
|
clearable: boolean;
|
|
160
160
|
placeholder: string;
|
|
@@ -163,7 +163,7 @@ declare const _default: {
|
|
|
163
163
|
locale?: string | undefined;
|
|
164
164
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
165
165
|
}, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
166
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
166
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
167
167
|
format: string;
|
|
168
168
|
clearable: boolean;
|
|
169
169
|
placeholder: string;
|
|
@@ -176,7 +176,7 @@ declare const _default: {
|
|
|
176
176
|
displayName: string;
|
|
177
177
|
contextType: React.Context<string>;
|
|
178
178
|
ComposedComponent: React.ComponentType<{
|
|
179
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
179
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
180
180
|
format: string;
|
|
181
181
|
clearable: boolean;
|
|
182
182
|
placeholder: string;
|
|
@@ -190,7 +190,7 @@ declare const _default: {
|
|
|
190
190
|
getWrappedInstance(): any;
|
|
191
191
|
render(): JSX.Element;
|
|
192
192
|
context: any;
|
|
193
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
193
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
194
194
|
format: string;
|
|
195
195
|
clearable: boolean;
|
|
196
196
|
placeholder: string;
|
|
@@ -200,7 +200,7 @@ declare const _default: {
|
|
|
200
200
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
201
201
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
202
202
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
203
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
203
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
204
204
|
format: string;
|
|
205
205
|
clearable: boolean;
|
|
206
206
|
placeholder: string;
|
|
@@ -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<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
219
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
220
220
|
format: string;
|
|
221
221
|
clearable: boolean;
|
|
222
222
|
placeholder: string;
|
|
@@ -227,7 +227,7 @@ declare const _default: {
|
|
|
227
227
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
228
228
|
componentWillUnmount?(): void;
|
|
229
229
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
230
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
230
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
231
231
|
format: string;
|
|
232
232
|
clearable: boolean;
|
|
233
233
|
placeholder: string;
|
|
@@ -236,7 +236,7 @@ declare const _default: {
|
|
|
236
236
|
locale?: string | undefined;
|
|
237
237
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
238
238
|
}>, prevState: Readonly<{}>): any;
|
|
239
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
239
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
240
240
|
format: string;
|
|
241
241
|
clearable: boolean;
|
|
242
242
|
placeholder: string;
|
|
@@ -247,7 +247,7 @@ declare const _default: {
|
|
|
247
247
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
248
248
|
componentWillMount?(): void;
|
|
249
249
|
UNSAFE_componentWillMount?(): void;
|
|
250
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
250
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
251
251
|
format: string;
|
|
252
252
|
clearable: boolean;
|
|
253
253
|
placeholder: string;
|
|
@@ -256,7 +256,7 @@ declare const _default: {
|
|
|
256
256
|
locale?: string | undefined;
|
|
257
257
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
258
258
|
}>, nextContext: any): void;
|
|
259
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
259
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
260
260
|
format: string;
|
|
261
261
|
clearable: boolean;
|
|
262
262
|
placeholder: string;
|
|
@@ -265,7 +265,7 @@ declare const _default: {
|
|
|
265
265
|
locale?: string | undefined;
|
|
266
266
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
267
267
|
}>, nextContext: any): void;
|
|
268
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
268
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
269
269
|
format: string;
|
|
270
270
|
clearable: boolean;
|
|
271
271
|
placeholder: string;
|
|
@@ -274,7 +274,7 @@ declare const _default: {
|
|
|
274
274
|
locale?: string | undefined;
|
|
275
275
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
276
276
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
277
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
277
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
278
278
|
format: string;
|
|
279
279
|
clearable: boolean;
|
|
280
280
|
placeholder: string;
|
|
@@ -291,7 +291,7 @@ declare const _default: {
|
|
|
291
291
|
ComposedComponent: typeof ColorControl;
|
|
292
292
|
}>;
|
|
293
293
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
294
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
294
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
295
295
|
format: string;
|
|
296
296
|
clearable: boolean;
|
|
297
297
|
placeholder: string;
|
|
@@ -305,7 +305,7 @@ declare const _default: {
|
|
|
305
305
|
getWrappedInstance(): any;
|
|
306
306
|
render(): JSX.Element;
|
|
307
307
|
context: any;
|
|
308
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
308
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
309
309
|
format: string;
|
|
310
310
|
clearable: boolean;
|
|
311
311
|
placeholder: string;
|
|
@@ -315,7 +315,7 @@ declare const _default: {
|
|
|
315
315
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
316
316
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
317
317
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
318
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
318
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
319
319
|
format: string;
|
|
320
320
|
clearable: boolean;
|
|
321
321
|
placeholder: string;
|
|
@@ -331,7 +331,7 @@ declare const _default: {
|
|
|
331
331
|
[key: string]: React.ReactInstance;
|
|
332
332
|
};
|
|
333
333
|
componentDidMount?(): void;
|
|
334
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
334
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
335
335
|
format: string;
|
|
336
336
|
clearable: boolean;
|
|
337
337
|
placeholder: string;
|
|
@@ -342,7 +342,7 @@ declare const _default: {
|
|
|
342
342
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
343
343
|
componentWillUnmount?(): void;
|
|
344
344
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
345
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
345
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
346
346
|
format: string;
|
|
347
347
|
clearable: boolean;
|
|
348
348
|
placeholder: string;
|
|
@@ -351,7 +351,7 @@ declare const _default: {
|
|
|
351
351
|
locale?: string | undefined;
|
|
352
352
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
353
353
|
}>, prevState: Readonly<{}>): any;
|
|
354
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
354
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
355
355
|
format: string;
|
|
356
356
|
clearable: boolean;
|
|
357
357
|
placeholder: string;
|
|
@@ -362,7 +362,7 @@ declare const _default: {
|
|
|
362
362
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
363
363
|
componentWillMount?(): void;
|
|
364
364
|
UNSAFE_componentWillMount?(): void;
|
|
365
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
365
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
366
366
|
format: string;
|
|
367
367
|
clearable: boolean;
|
|
368
368
|
placeholder: string;
|
|
@@ -371,7 +371,7 @@ declare const _default: {
|
|
|
371
371
|
locale?: string | undefined;
|
|
372
372
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
373
373
|
}>, nextContext: any): void;
|
|
374
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
374
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
375
375
|
format: string;
|
|
376
376
|
clearable: boolean;
|
|
377
377
|
placeholder: string;
|
|
@@ -380,7 +380,7 @@ declare const _default: {
|
|
|
380
380
|
locale?: string | undefined;
|
|
381
381
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
382
382
|
}>, nextContext: any): void;
|
|
383
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
383
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
384
384
|
format: string;
|
|
385
385
|
clearable: boolean;
|
|
386
386
|
placeholder: string;
|
|
@@ -389,7 +389,7 @@ declare const _default: {
|
|
|
389
389
|
locale?: string | undefined;
|
|
390
390
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
391
391
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
392
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
392
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
393
393
|
format: string;
|
|
394
394
|
clearable: boolean;
|
|
395
395
|
placeholder: string;
|
|
@@ -406,7 +406,7 @@ declare const _default: {
|
|
|
406
406
|
ComposedComponent: typeof ColorControl;
|
|
407
407
|
}, {}> & {
|
|
408
408
|
ComposedComponent: {
|
|
409
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
409
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
410
410
|
format: string;
|
|
411
411
|
clearable: boolean;
|
|
412
412
|
placeholder: string;
|
|
@@ -420,7 +420,7 @@ declare const _default: {
|
|
|
420
420
|
getWrappedInstance(): any;
|
|
421
421
|
render(): JSX.Element;
|
|
422
422
|
context: any;
|
|
423
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
423
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
424
424
|
format: string;
|
|
425
425
|
clearable: boolean;
|
|
426
426
|
placeholder: string;
|
|
@@ -430,7 +430,7 @@ declare const _default: {
|
|
|
430
430
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
431
431
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
432
432
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
433
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
433
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
434
434
|
format: string;
|
|
435
435
|
clearable: boolean;
|
|
436
436
|
placeholder: string;
|
|
@@ -446,7 +446,7 @@ declare const _default: {
|
|
|
446
446
|
[key: string]: React.ReactInstance;
|
|
447
447
|
};
|
|
448
448
|
componentDidMount?(): void;
|
|
449
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
449
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
450
450
|
format: string;
|
|
451
451
|
clearable: boolean;
|
|
452
452
|
placeholder: string;
|
|
@@ -457,7 +457,7 @@ declare const _default: {
|
|
|
457
457
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
458
458
|
componentWillUnmount?(): void;
|
|
459
459
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
460
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
460
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
461
461
|
format: string;
|
|
462
462
|
clearable: boolean;
|
|
463
463
|
placeholder: string;
|
|
@@ -466,7 +466,7 @@ declare const _default: {
|
|
|
466
466
|
locale?: string | undefined;
|
|
467
467
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
468
468
|
}>, prevState: Readonly<{}>): any;
|
|
469
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
469
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
470
470
|
format: string;
|
|
471
471
|
clearable: boolean;
|
|
472
472
|
placeholder: string;
|
|
@@ -477,7 +477,7 @@ declare const _default: {
|
|
|
477
477
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
478
478
|
componentWillMount?(): void;
|
|
479
479
|
UNSAFE_componentWillMount?(): void;
|
|
480
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
480
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
481
481
|
format: string;
|
|
482
482
|
clearable: boolean;
|
|
483
483
|
placeholder: string;
|
|
@@ -486,7 +486,7 @@ declare const _default: {
|
|
|
486
486
|
locale?: string | undefined;
|
|
487
487
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
488
488
|
}>, nextContext: any): void;
|
|
489
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
489
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
490
490
|
format: string;
|
|
491
491
|
clearable: boolean;
|
|
492
492
|
placeholder: string;
|
|
@@ -495,7 +495,7 @@ declare const _default: {
|
|
|
495
495
|
locale?: string | undefined;
|
|
496
496
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
497
497
|
}>, nextContext: any): void;
|
|
498
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
498
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
499
499
|
format: string;
|
|
500
500
|
clearable: boolean;
|
|
501
501
|
placeholder: string;
|
|
@@ -504,7 +504,7 @@ declare const _default: {
|
|
|
504
504
|
locale?: string | undefined;
|
|
505
505
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
506
506
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
507
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "
|
|
507
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "onChange" | "value" | "disabled" | "placement" | "resetValue" | "popoverClassName" | "popOverContainer" | "useMobileUI" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
|
508
508
|
format: string;
|
|
509
509
|
clearable: boolean;
|
|
510
510
|
placeholder: string;
|