amis-ui 2.1.1-beta.2 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.d.ts +33 -1
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +494 -2
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +33 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +67 -3
- package/esm/components/AnchorNav.js +9 -9
- package/esm/components/ArrayInput.d.ts +574 -2
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +83 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +454 -2
- package/esm/components/AssociatedSelection.js +3 -3
- package/esm/components/Avatar.d.ts +33 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +54 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +33 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +33 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +33 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +33 -1
- package/esm/components/Button.js +4 -5
- package/esm/components/CalendarMobile.d.ts +254 -2
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +33 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +33 -1
- package/esm/components/Cascader.js +3 -9
- package/esm/components/ChainedSelection.d.ts +454 -2
- package/esm/components/ChainedSelection.js +7 -5
- package/esm/components/Checkbox.d.ts +33 -1
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.d.ts +254 -2
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +33 -1
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +33 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +454 -2
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/ContextMenu.d.ts +33 -1
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +495 -2
- package/esm/components/DatePicker.js +3 -3
- package/esm/components/DateRangePicker.d.ts +787 -2
- package/esm/components/DateRangePicker.js +107 -37
- package/esm/components/Drawer.d.ts +33 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/Editor.d.ts +541 -3
- package/esm/components/Editor.js +9 -8
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +254 -2
- package/esm/components/FormField.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +455 -3
- package/esm/components/GroupedSelection.js +12 -5
- package/esm/components/Html.d.ts +53 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +261 -2
- package/esm/components/ImageGallery.js +18 -6
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +63 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.d.ts +254 -2
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/Layout.d.ts +93 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.d.ts +33 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +53 -1
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +534 -2
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +374 -2
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +1200 -8
- package/esm/components/Modal.js +8 -3
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +654 -2
- package/esm/components/NumberInput.d.ts +42 -1
- package/esm/components/NumberInput.js +39 -10
- package/esm/components/Pagination.d.ts +543 -2
- package/esm/components/Pagination.js +3 -3
- package/esm/components/Picker.d.ts +254 -2
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +33 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +254 -2
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.d.ts +1 -0
- package/esm/components/PopOverContainer.js +3 -3
- package/esm/components/PopUp.d.ts +534 -2
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +39 -1
- package/esm/components/Progress.js +20 -2
- package/esm/components/PullRefresh.d.ts +33 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +123 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +33 -1
- package/esm/components/Range.js +7 -4
- package/esm/components/Rating.d.ts +173 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +254 -2
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +259 -4
- package/esm/components/ResultList.js +10 -8
- package/esm/components/ResultTableList.d.ts +655 -2
- package/esm/components/ResultTableList.js +3 -3
- package/esm/components/ResultTreeList.d.ts +255 -2
- package/esm/components/ResultTreeList.js +4 -4
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +497 -2
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +6201 -56
- package/esm/components/Select.js +1 -1
- package/esm/components/Selection.d.ts +456 -2
- package/esm/components/Selection.js +6 -3
- package/esm/components/SparkLine.d.ts +374 -2
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +145 -1
- package/esm/components/Spinner.js +111 -23
- package/esm/components/Steps.d.ts +33 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +63 -1
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +654 -2
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +239 -7
- package/esm/components/Tabs.js +39 -9
- package/esm/components/TabsTransfer.d.ts +254 -2
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.d.ts +254 -2
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +66 -2
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +494 -2
- package/esm/components/Textarea.js +2 -2
- package/esm/components/Timeline.d.ts +33 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +254 -2
- package/esm/components/TimelineItem.js +2 -2
- package/esm/components/Tinymce.js +2 -2
- package/esm/components/TitleBar.d.ts +83 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +254 -2
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.d.ts +33 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +33 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +1050 -6
- package/esm/components/Transfer.js +12 -12
- package/esm/components/TransferDropDown.d.ts +254 -2
- package/esm/components/TransferDropDown.js +4 -4
- package/esm/components/TransferPicker.d.ts +254 -2
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.d.ts +254 -4
- package/esm/components/TransferSearch.js +2 -8
- package/esm/components/Tree.d.ts +1534 -2
- package/esm/components/Tree.js +3 -2
- package/esm/components/TreeSelection.d.ts +494 -2
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +419 -3
- package/esm/components/UserSelect.js +87 -28
- package/esm/components/UserTabSelect.d.ts +258 -5
- package/esm/components/UserTabSelect.js +64 -18
- package/esm/components/WithRemoteConfig.d.ts +260 -4
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.d.ts +63 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +1 -0
- package/esm/components/calendar/Calendar.js +5 -2
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +64 -2
- package/esm/components/calendar/DaysView.js +53 -24
- package/esm/components/calendar/MonthsView.d.ts +63 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.d.ts +63 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.d.ts +63 -2
- package/esm/components/calendar/TimeView.js +5 -6
- package/esm/components/calendar/YearsView.d.ts +63 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +255 -2
- package/esm/components/condition-builder/Expression.js +3 -3
- package/esm/components/condition-builder/Field.d.ts +256 -3
- package/esm/components/condition-builder/Field.js +9 -5
- package/esm/components/condition-builder/Formula.d.ts +254 -2
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.d.ts +254 -2
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +255 -2
- package/esm/components/condition-builder/Group.js +3 -3
- package/esm/components/condition-builder/GroupOrItem.d.ts +34 -1
- package/esm/components/condition-builder/GroupOrItem.js +3 -3
- package/esm/components/condition-builder/InputSwitch.d.ts +33 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +255 -2
- package/esm/components/condition-builder/Item.js +3 -3
- package/esm/components/condition-builder/Value.d.ts +254 -2
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +255 -2
- package/esm/components/condition-builder/index.js +3 -3
- package/esm/components/formula/Editor.d.ts +256 -2
- package/esm/components/formula/Editor.js +17 -6
- package/esm/components/formula/FuncList.d.ts +33 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.d.ts +357 -4
- package/esm/components/formula/Picker.js +30 -8
- package/esm/components/formula/VariableList.d.ts +33 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.d.ts +1 -1
- package/esm/components/formula/plugin.js +6 -4
- package/esm/components/icons.js +1 -1
- package/esm/components/json-schema/Array.d.ts +1 -0
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.d.ts +1 -0
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.d.ts +1 -0
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +254 -2
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/schema-editor/Array.d.ts +1 -0
- 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.d.ts +1 -0
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.d.ts +164 -2
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +164 -2
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +263 -2
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.d.ts +456 -3
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +257 -3
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +377 -4
- package/esm/components/table/HeadCellFilter.js +4 -4
- package/esm/components/table/HeadCellSelect.d.ts +337 -4
- package/esm/components/table/HeadCellSelect.js +4 -2
- package/esm/components/table/HeadCellSort.d.ts +258 -5
- package/esm/components/table/HeadCellSort.js +6 -6
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +586 -9
- package/esm/components/table/index.js +106 -59
- 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 +26 -6
- package/esm/locale/en-US.js +22 -3
- package/esm/locale/zh-CN.js +24 -7
- 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.d.ts +33 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +494 -2
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +33 -1
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +67 -3
- package/lib/components/AnchorNav.js +9 -9
- package/lib/components/ArrayInput.d.ts +574 -2
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +83 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +454 -2
- package/lib/components/AssociatedSelection.js +3 -3
- package/lib/components/Avatar.d.ts +33 -1
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +54 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +33 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +33 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +33 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +33 -1
- package/lib/components/Button.js +4 -5
- package/lib/components/CalendarMobile.d.ts +254 -2
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +33 -1
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +33 -1
- package/lib/components/Cascader.js +3 -9
- package/lib/components/ChainedSelection.d.ts +454 -2
- package/lib/components/ChainedSelection.js +7 -5
- package/lib/components/Checkbox.d.ts +33 -1
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.d.ts +254 -2
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +33 -1
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +33 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +454 -2
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/ContextMenu.d.ts +33 -1
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +495 -2
- package/lib/components/DatePicker.js +3 -3
- package/lib/components/DateRangePicker.d.ts +787 -2
- package/lib/components/DateRangePicker.js +108 -36
- package/lib/components/Drawer.d.ts +33 -1
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Editor.d.ts +541 -3
- package/lib/components/Editor.js +9 -9
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +254 -2
- package/lib/components/FormField.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +455 -3
- package/lib/components/GroupedSelection.js +12 -5
- package/lib/components/Html.d.ts +53 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +261 -2
- package/lib/components/ImageGallery.js +18 -6
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +63 -1
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.d.ts +254 -2
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/Layout.d.ts +93 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.d.ts +33 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +53 -1
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +534 -2
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +374 -2
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +1200 -8
- package/lib/components/Modal.js +8 -3
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +654 -2
- package/lib/components/NumberInput.d.ts +42 -1
- package/lib/components/NumberInput.js +39 -10
- package/lib/components/Pagination.d.ts +543 -2
- package/lib/components/Pagination.js +3 -3
- package/lib/components/Picker.d.ts +254 -2
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +33 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +254 -2
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.d.ts +1 -0
- package/lib/components/PopOverContainer.js +3 -3
- package/lib/components/PopUp.d.ts +534 -2
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +39 -1
- package/lib/components/Progress.js +20 -2
- package/lib/components/PullRefresh.d.ts +33 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +123 -1
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +33 -1
- package/lib/components/Range.js +7 -4
- package/lib/components/Rating.d.ts +173 -1
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +254 -2
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +259 -4
- package/lib/components/ResultList.js +10 -8
- package/lib/components/ResultTableList.d.ts +655 -2
- package/lib/components/ResultTableList.js +3 -3
- package/lib/components/ResultTreeList.d.ts +255 -2
- package/lib/components/ResultTreeList.js +4 -4
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +497 -2
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +6201 -56
- package/lib/components/Select.js +1 -1
- package/lib/components/Selection.d.ts +456 -2
- package/lib/components/Selection.js +6 -3
- package/lib/components/SparkLine.d.ts +374 -2
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +145 -1
- package/lib/components/Spinner.js +111 -23
- package/lib/components/Steps.d.ts +33 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +63 -1
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +654 -2
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +239 -7
- package/lib/components/Tabs.js +39 -9
- package/lib/components/TabsTransfer.d.ts +254 -2
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.d.ts +254 -2
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +66 -2
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +494 -2
- package/lib/components/Textarea.js +2 -2
- package/lib/components/Timeline.d.ts +33 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +254 -2
- package/lib/components/TimelineItem.js +2 -2
- package/lib/components/Tinymce.js +2 -2
- package/lib/components/TitleBar.d.ts +83 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +254 -2
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.d.ts +33 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +33 -1
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +1050 -6
- package/lib/components/Transfer.js +12 -12
- package/lib/components/TransferDropDown.d.ts +254 -2
- package/lib/components/TransferDropDown.js +4 -4
- package/lib/components/TransferPicker.d.ts +254 -2
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.d.ts +254 -4
- package/lib/components/TransferSearch.js +2 -8
- package/lib/components/Tree.d.ts +1534 -2
- package/lib/components/Tree.js +3 -2
- package/lib/components/TreeSelection.d.ts +494 -2
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +419 -3
- package/lib/components/UserSelect.js +86 -27
- package/lib/components/UserTabSelect.d.ts +258 -5
- package/lib/components/UserTabSelect.js +64 -18
- package/lib/components/WithRemoteConfig.d.ts +260 -4
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.d.ts +63 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +1 -0
- package/lib/components/calendar/Calendar.js +5 -2
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +64 -2
- package/lib/components/calendar/DaysView.js +57 -24
- package/lib/components/calendar/MonthsView.d.ts +63 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.d.ts +63 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.d.ts +63 -2
- package/lib/components/calendar/TimeView.js +5 -6
- package/lib/components/calendar/YearsView.d.ts +63 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +255 -2
- package/lib/components/condition-builder/Expression.js +3 -3
- package/lib/components/condition-builder/Field.d.ts +256 -3
- package/lib/components/condition-builder/Field.js +9 -5
- package/lib/components/condition-builder/Formula.d.ts +254 -2
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.d.ts +254 -2
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +255 -2
- package/lib/components/condition-builder/Group.js +3 -3
- package/lib/components/condition-builder/GroupOrItem.d.ts +34 -1
- package/lib/components/condition-builder/GroupOrItem.js +3 -3
- package/lib/components/condition-builder/InputSwitch.d.ts +33 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +255 -2
- package/lib/components/condition-builder/Item.js +3 -3
- package/lib/components/condition-builder/Value.d.ts +254 -2
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +255 -2
- package/lib/components/condition-builder/index.js +3 -3
- package/lib/components/formula/Editor.d.ts +256 -2
- package/lib/components/formula/Editor.js +17 -6
- package/lib/components/formula/FuncList.d.ts +33 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +357 -4
- package/lib/components/formula/Picker.js +30 -8
- package/lib/components/formula/VariableList.d.ts +33 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.d.ts +1 -1
- package/lib/components/formula/plugin.js +6 -4
- package/lib/components/icons.js +1 -1
- package/lib/components/json-schema/Array.d.ts +1 -0
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.d.ts +1 -0
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.d.ts +1 -0
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +254 -2
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/schema-editor/Array.d.ts +1 -0
- 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.d.ts +1 -0
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.d.ts +164 -2
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +164 -2
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +263 -2
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +456 -3
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +257 -3
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +377 -4
- package/lib/components/table/HeadCellFilter.js +4 -4
- package/lib/components/table/HeadCellSelect.d.ts +337 -4
- package/lib/components/table/HeadCellSelect.js +4 -2
- package/lib/components/table/HeadCellSort.d.ts +258 -5
- package/lib/components/table/HeadCellSort.js +6 -6
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +586 -9
- package/lib/components/table/index.js +106 -59
- 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/helper.css +0 -39
- 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 +26 -6
- package/lib/locale/en-US.js +22 -3
- package/lib/locale/zh-CN.js +24 -7
- 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 +9368 -5984
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +9483 -6105
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +9383 -6000
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +9458 -6073
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +9383 -6000
- package/package.json +26 -24
- package/scss/_mixins.scss +10 -0
- package/scss/_properties.scss +5 -2
- package/scss/_thirds.scss +6 -6
- package/scss/components/_anchor-nav.scss +9 -2
- package/scss/components/_collapse.scss +4 -4
- package/scss/components/_column-toggler.scss +7 -1
- package/scss/components/_drawer.scss +58 -5
- package/scss/components/_dropdown.scss +1 -0
- package/scss/components/_modal.scss +2 -7
- package/scss/components/_progress.scss +13 -0
- package/scss/components/_result-box.scss +0 -1
- package/scss/components/_spinner.scss +6 -0
- package/scss/components/_table.scss +42 -7
- package/scss/components/{_table-v2.scss → _table2.scss} +1 -1
- package/scss/components/_tabs.scss +53 -9
- package/scss/components/form/_date-range.scss +16 -2
- package/scss/components/form/_date.scss +4 -2
- package/scss/components/form/_editor.scss +11 -0
- package/scss/components/form/_fieldset.scss +20 -0
- package/scss/components/form/_form.scss +6 -2
- package/scss/components/form/_input-group.scss +5 -0
- package/scss/components/form/_select.scss +0 -2
- package/scss/components/form/_selection.scss +6 -1
- package/scss/components/form/_textarea.scss +4 -2
- package/scss/components/form/_transfer.scss +32 -7
- package/scss/components/form/_tree.scss +8 -9
- package/scss/components/form/_user-select.scss +35 -2
- package/scss/themes/_antd-variables.scss +4 -2
- package/scss/themes/_common.scss +1 -1
- package/scss/themes/_cxd-variables.scss +5 -1
- package/scss/themes/_dark-variables.scss +3 -0
- package/scss/themes/cxd.scss +4 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.3.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -72,7 +72,7 @@ var AssociatedSelection = /** @class */ (function (_super) {
|
|
|
72
72
|
onDeferLoad === null || onDeferLoad === void 0 ? void 0 : onDeferLoad(option);
|
|
73
73
|
};
|
|
74
74
|
AssociatedSelection.prototype.render = function () {
|
|
75
|
-
var _a = this.props, cx = _a.classnames, className = _a.className, leftOptions = _a.leftOptions, options = _a.options, option2value = _a.option2value, rightMode = _a.rightMode, onChange = _a.onChange, columns = _a.columns, value = _a.value, disabled = _a.disabled, leftMode = _a.leftMode, cellRender = _a.cellRender, multiple = _a.multiple, itemRender = _a.itemRender;
|
|
75
|
+
var _a = this.props, cx = _a.classnames, className = _a.className, leftOptions = _a.leftOptions, options = _a.options, option2value = _a.option2value, rightMode = _a.rightMode, onChange = _a.onChange, columns = _a.columns, value = _a.value, disabled = _a.disabled, leftMode = _a.leftMode, cellRender = _a.cellRender, multiple = _a.multiple, itemRender = _a.itemRender, labelField = _a.labelField;
|
|
76
76
|
var selectdOption = Selection.BaseSelection.resolveSelected(this.state.leftValue, options, function (option) { return option.ref; });
|
|
77
77
|
var __ = this.props.translate;
|
|
78
78
|
return (React__default["default"].createElement("div", { className: cx('AssociatedSelection', className) },
|
|
@@ -82,7 +82,7 @@ var AssociatedSelection = /** @class */ (function (_super) {
|
|
|
82
82
|
? undefined
|
|
83
83
|
: this.handleRetry.bind(this, selectdOption) },
|
|
84
84
|
React__default["default"].createElement(icons.Icon, { icon: "reload", className: "icon" })),
|
|
85
|
-
selectdOption.loading ? (React__default["default"].createElement("p", null, __('loading'))) : (React__default["default"].createElement("p", null, __('Transfer.refreshIcon'))))) : rightMode === 'table' ? (React__default["default"].createElement(TableSelection["default"], { columns: columns, value: value, disabled: disabled, options: selectdOption.children || [], onChange: onChange, option2value: option2value, cellRender: cellRender, multiple: multiple })) : rightMode === 'tree' ? (React__default["default"].createElement(Tree["default"], { value: value, disabled: disabled, options: selectdOption.children || [], onChange: onChange, multiple: multiple })) : rightMode === 'chained' ? (React__default["default"].createElement(ChainedSelection["default"], { value: value, disabled: disabled, options: selectdOption.children || [], onChange: onChange, option2value: option2value, multiple: multiple, itemRender: itemRender })) : (React__default["default"].createElement(GroupedSelection["default"], { value: value, disabled: disabled, options: selectdOption.children || [], onChange: onChange, option2value: option2value, multiple: multiple, itemRender: itemRender }))) : (React__default["default"].createElement("div", { className: cx('AssociatedSelection-box') }, __('Transfer.configError')))) : (React__default["default"].createElement("div", { className: cx('AssociatedSelection-box') }, __('Transfer.selectFromLeft'))))));
|
|
85
|
+
selectdOption.loading ? (React__default["default"].createElement("p", null, __('loading'))) : (React__default["default"].createElement("p", null, __('Transfer.refreshIcon'))))) : rightMode === 'table' ? (React__default["default"].createElement(TableSelection["default"], { columns: columns, value: value, disabled: disabled, options: selectdOption.children || [], onChange: onChange, option2value: option2value, cellRender: cellRender, multiple: multiple })) : rightMode === 'tree' ? (React__default["default"].createElement(Tree["default"], { value: value, disabled: disabled, options: selectdOption.children || [], onChange: onChange, multiple: multiple, labelField: labelField })) : rightMode === 'chained' ? (React__default["default"].createElement(ChainedSelection["default"], { value: value, disabled: disabled, options: selectdOption.children || [], onChange: onChange, option2value: option2value, multiple: multiple, itemRender: itemRender, labelField: labelField })) : (React__default["default"].createElement(GroupedSelection["default"], { value: value, disabled: disabled, options: selectdOption.children || [], onChange: onChange, option2value: option2value, multiple: multiple, itemRender: itemRender, labelField: labelField }))) : (React__default["default"].createElement("div", { className: cx('AssociatedSelection-box') }, __('Transfer.configError')))) : (React__default["default"].createElement("div", { className: cx('AssociatedSelection-box') }, __('Transfer.selectFromLeft'))))));
|
|
86
86
|
};
|
|
87
87
|
tslib.__decorate([
|
|
88
88
|
amisCore.autobind,
|
|
@@ -75,7 +75,39 @@ export declare class Avatar extends React.Component<AvatarCmptProps, AvatarState
|
|
|
75
75
|
setScaleByGap(): void;
|
|
76
76
|
render(): JSX.Element;
|
|
77
77
|
}
|
|
78
|
-
declare const _default:
|
|
78
|
+
declare const _default: {
|
|
79
|
+
new (props: Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps): {
|
|
80
|
+
ref: any;
|
|
81
|
+
childRef(ref: any): void;
|
|
82
|
+
getWrappedInstance(): any;
|
|
83
|
+
render(): JSX.Element;
|
|
84
|
+
context: any;
|
|
85
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
86
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
87
|
+
readonly props: Readonly<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
88
|
+
children?: React.ReactNode;
|
|
89
|
+
}>;
|
|
90
|
+
state: Readonly<{}>;
|
|
91
|
+
refs: {
|
|
92
|
+
[key: string]: React.ReactInstance;
|
|
93
|
+
};
|
|
94
|
+
componentDidMount?(): void;
|
|
95
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
96
|
+
componentWillUnmount?(): void;
|
|
97
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
98
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
99
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
100
|
+
componentWillMount?(): void;
|
|
101
|
+
UNSAFE_componentWillMount?(): void;
|
|
102
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
103
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
104
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
105
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, never> & Partial<Pick<Omit<AvatarCmptProps, keyof ThemeProps>, "children" | "style" | "text" | "icon" | "alt" | "src" | "draggable" | "onError" | "size" | "crossOrigin" | "shape" | "fit" | "gap">> & Partial<Pick<Partial<AvatarCmptProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
106
|
+
};
|
|
107
|
+
displayName: string;
|
|
108
|
+
contextType: React.Context<string>;
|
|
109
|
+
ComposedComponent: React.ComponentType<typeof Avatar>;
|
|
110
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof Avatar, {}> & {
|
|
79
111
|
ComposedComponent: typeof Avatar;
|
|
80
112
|
};
|
|
81
113
|
export default _default;
|
package/lib/components/Avatar.js
CHANGED
|
@@ -64,4 +64,57 @@ export declare class Badge extends React.Component<BadgeProps, object> {
|
|
|
64
64
|
renderBadge(text: any, size: number, position: any, offsetStyle: any, sizeStyle: any, animationElement: any): JSX.Element | null;
|
|
65
65
|
render(): React.ReactNode;
|
|
66
66
|
}
|
|
67
|
-
export declare function withBadge<P extends object>(Component: React.ComponentType<P>):
|
|
67
|
+
export declare function withBadge<P extends object>(Component: React.ComponentType<P>): {
|
|
68
|
+
new (props: (P & BadgeProps) | Readonly<P & BadgeProps>): {
|
|
69
|
+
render(): JSX.Element;
|
|
70
|
+
context: any;
|
|
71
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<P & BadgeProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
72
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
73
|
+
readonly props: Readonly<P & BadgeProps> & Readonly<{
|
|
74
|
+
children?: React.ReactNode;
|
|
75
|
+
}>;
|
|
76
|
+
state: Readonly<{}>;
|
|
77
|
+
refs: {
|
|
78
|
+
[key: string]: React.ReactInstance;
|
|
79
|
+
};
|
|
80
|
+
componentDidMount?(): void;
|
|
81
|
+
shouldComponentUpdate?(nextProps: Readonly<P & BadgeProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
82
|
+
componentWillUnmount?(): void;
|
|
83
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
84
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<P & BadgeProps>, prevState: Readonly<{}>): any;
|
|
85
|
+
componentDidUpdate?(prevProps: Readonly<P & BadgeProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
86
|
+
componentWillMount?(): void;
|
|
87
|
+
UNSAFE_componentWillMount?(): void;
|
|
88
|
+
componentWillReceiveProps?(nextProps: Readonly<P & BadgeProps>, nextContext: any): void;
|
|
89
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<P & BadgeProps>, nextContext: any): void;
|
|
90
|
+
componentWillUpdate?(nextProps: Readonly<P & BadgeProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
91
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<P & BadgeProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
92
|
+
};
|
|
93
|
+
new (props: P & BadgeProps, context: any): {
|
|
94
|
+
render(): JSX.Element;
|
|
95
|
+
context: any;
|
|
96
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<P & BadgeProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
97
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
98
|
+
readonly props: Readonly<P & BadgeProps> & Readonly<{
|
|
99
|
+
children?: React.ReactNode;
|
|
100
|
+
}>;
|
|
101
|
+
state: Readonly<{}>;
|
|
102
|
+
refs: {
|
|
103
|
+
[key: string]: React.ReactInstance;
|
|
104
|
+
};
|
|
105
|
+
componentDidMount?(): void;
|
|
106
|
+
shouldComponentUpdate?(nextProps: Readonly<P & BadgeProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
107
|
+
componentWillUnmount?(): void;
|
|
108
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
109
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<P & BadgeProps>, prevState: Readonly<{}>): any;
|
|
110
|
+
componentDidUpdate?(prevProps: Readonly<P & BadgeProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
111
|
+
componentWillMount?(): void;
|
|
112
|
+
UNSAFE_componentWillMount?(): void;
|
|
113
|
+
componentWillReceiveProps?(nextProps: Readonly<P & BadgeProps>, nextContext: any): void;
|
|
114
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<P & BadgeProps>, nextContext: any): void;
|
|
115
|
+
componentWillUpdate?(nextProps: Readonly<P & BadgeProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
116
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<P & BadgeProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
117
|
+
};
|
|
118
|
+
displayName: string;
|
|
119
|
+
contextType?: React.Context<any> | undefined;
|
|
120
|
+
} & hoistNonReactStatic.NonReactStatics<React.ComponentType<P>, {}>;
|
package/lib/components/Badge.js
CHANGED
|
@@ -48,7 +48,39 @@ export declare class BaiduMapPicker extends React.Component<MapPickerProps, MapP
|
|
|
48
48
|
handleSugSelect(e: React.MouseEvent<HTMLDivElement>): void;
|
|
49
49
|
render(): JSX.Element;
|
|
50
50
|
}
|
|
51
|
-
declare const _default:
|
|
51
|
+
declare const _default: {
|
|
52
|
+
new (props: Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps): {
|
|
53
|
+
ref: any;
|
|
54
|
+
childRef(ref: any): void;
|
|
55
|
+
getWrappedInstance(): any;
|
|
56
|
+
render(): JSX.Element;
|
|
57
|
+
context: any;
|
|
58
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
59
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
60
|
+
readonly props: Readonly<Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
61
|
+
children?: React.ReactNode;
|
|
62
|
+
}>;
|
|
63
|
+
state: Readonly<{}>;
|
|
64
|
+
refs: {
|
|
65
|
+
[key: string]: React.ReactInstance;
|
|
66
|
+
};
|
|
67
|
+
componentDidMount?(): void;
|
|
68
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
69
|
+
componentWillUnmount?(): void;
|
|
70
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
71
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
72
|
+
componentDidUpdate?(prevProps: Readonly<Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
73
|
+
componentWillMount?(): void;
|
|
74
|
+
UNSAFE_componentWillMount?(): void;
|
|
75
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
76
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
77
|
+
componentWillUpdate?(nextProps: Readonly<Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
78
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<MapPickerProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
79
|
+
};
|
|
80
|
+
displayName: string;
|
|
81
|
+
contextType: React.Context<string>;
|
|
82
|
+
ComposedComponent: React.ComponentType<typeof BaiduMapPicker>;
|
|
83
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof BaiduMapPicker, {}> & {
|
|
52
84
|
ComposedComponent: typeof BaiduMapPicker;
|
|
53
85
|
};
|
|
54
86
|
export default _default;
|
|
@@ -20,7 +20,39 @@ export declare class BarCode extends React.Component<BarCodeProps> {
|
|
|
20
20
|
componentDidMount(): void;
|
|
21
21
|
render(): JSX.Element;
|
|
22
22
|
}
|
|
23
|
-
declare const _default:
|
|
23
|
+
declare const _default: {
|
|
24
|
+
new (props: Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps): {
|
|
25
|
+
ref: any;
|
|
26
|
+
childRef(ref: any): void;
|
|
27
|
+
getWrappedInstance(): any;
|
|
28
|
+
render(): JSX.Element;
|
|
29
|
+
context: any;
|
|
30
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
31
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
32
|
+
readonly props: Readonly<Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
33
|
+
children?: React.ReactNode;
|
|
34
|
+
}>;
|
|
35
|
+
state: Readonly<{}>;
|
|
36
|
+
refs: {
|
|
37
|
+
[key: string]: React.ReactInstance;
|
|
38
|
+
};
|
|
39
|
+
componentDidMount?(): void;
|
|
40
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
41
|
+
componentWillUnmount?(): void;
|
|
42
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
43
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
44
|
+
componentDidUpdate?(prevProps: Readonly<Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
45
|
+
componentWillMount?(): void;
|
|
46
|
+
UNSAFE_componentWillMount?(): void;
|
|
47
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
48
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
49
|
+
componentWillUpdate?(nextProps: Readonly<Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
50
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<BarCodeProps, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
51
|
+
};
|
|
52
|
+
displayName: string;
|
|
53
|
+
contextType: React.Context<string>;
|
|
54
|
+
ComposedComponent: React.ComponentType<typeof BarCode>;
|
|
55
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof BarCode, {}> & {
|
|
24
56
|
ComposedComponent: typeof BarCode;
|
|
25
57
|
};
|
|
26
58
|
export default _default;
|
|
@@ -76,7 +76,39 @@ export declare class BreadcrumbItem extends React.Component<BreadcrumbItemProps,
|
|
|
76
76
|
renderDropdownNode(dropdown: BreadcrumbBaseItem[]): JSX.Element;
|
|
77
77
|
render(): JSX.Element;
|
|
78
78
|
}
|
|
79
|
-
declare const _default:
|
|
79
|
+
declare const _default: {
|
|
80
|
+
new (props: Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps): {
|
|
81
|
+
ref: any;
|
|
82
|
+
childRef(ref: any): void;
|
|
83
|
+
getWrappedInstance(): any;
|
|
84
|
+
render(): JSX.Element;
|
|
85
|
+
context: any;
|
|
86
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
87
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
88
|
+
readonly props: Readonly<Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
89
|
+
children?: React.ReactNode;
|
|
90
|
+
}>;
|
|
91
|
+
state: Readonly<{}>;
|
|
92
|
+
refs: {
|
|
93
|
+
[key: string]: React.ReactInstance;
|
|
94
|
+
};
|
|
95
|
+
componentDidMount?(): void;
|
|
96
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
97
|
+
componentWillUnmount?(): void;
|
|
98
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
99
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
100
|
+
componentDidUpdate?(prevProps: Readonly<Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
101
|
+
componentWillMount?(): void;
|
|
102
|
+
UNSAFE_componentWillMount?(): void;
|
|
103
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
104
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
105
|
+
componentWillUpdate?(nextProps: Readonly<Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
106
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<BreadcrumbProps, keyof ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
107
|
+
};
|
|
108
|
+
displayName: string;
|
|
109
|
+
contextType: React.Context<string>;
|
|
110
|
+
ComposedComponent: React.ComponentType<typeof Breadcrumb>;
|
|
111
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof Breadcrumb, {}> & {
|
|
80
112
|
ComposedComponent: typeof Breadcrumb;
|
|
81
113
|
};
|
|
82
114
|
export default _default;
|
|
@@ -36,7 +36,39 @@ export declare class Button extends React.Component<ButtonProps> {
|
|
|
36
36
|
renderButton(): JSX.Element;
|
|
37
37
|
render(): JSX.Element;
|
|
38
38
|
}
|
|
39
|
-
declare const _default:
|
|
39
|
+
declare const _default: {
|
|
40
|
+
new (props: Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps): {
|
|
41
|
+
ref: any;
|
|
42
|
+
childRef(ref: any): void;
|
|
43
|
+
getWrappedInstance(): any;
|
|
44
|
+
render(): JSX.Element;
|
|
45
|
+
context: any;
|
|
46
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
47
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
48
|
+
readonly props: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
}>;
|
|
51
|
+
state: Readonly<{}>;
|
|
52
|
+
refs: {
|
|
53
|
+
[key: string]: React.ReactInstance;
|
|
54
|
+
};
|
|
55
|
+
componentDidMount?(): void;
|
|
56
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
57
|
+
componentWillUnmount?(): void;
|
|
58
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
59
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
60
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
61
|
+
componentWillMount?(): void;
|
|
62
|
+
UNSAFE_componentWillMount?(): void;
|
|
63
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
64
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
65
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
66
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "children" | "title" | "disabled" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "href" | "block" | "active" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loading" | "loadingClassName"> & Partial<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">> & Partial<Pick<Pick<ButtonProps, "type" | "level" | "tooltipPlacement" | "tooltipTrigger" | "tooltipRootClose" | "componentClass">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
67
|
+
};
|
|
68
|
+
displayName: string;
|
|
69
|
+
contextType: React.Context<string>;
|
|
70
|
+
ComposedComponent: React.ComponentType<typeof Button>;
|
|
71
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof Button, {}> & {
|
|
40
72
|
ComposedComponent: typeof Button;
|
|
41
73
|
};
|
|
42
74
|
export default _default;
|
package/lib/components/Button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.3.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -11,7 +11,7 @@ var tslib = require('tslib');
|
|
|
11
11
|
var React = require('react');
|
|
12
12
|
var TooltipWrapper = require('./TooltipWrapper.js');
|
|
13
13
|
var amisCore = require('amis-core');
|
|
14
|
-
var
|
|
14
|
+
var Spinner = require('./Spinner.js');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
17
|
|
|
@@ -47,10 +47,9 @@ var Button = /** @class */ (function (_super) {
|
|
|
47
47
|
_a['is-disabled'] = disabled,
|
|
48
48
|
_a['is-active'] = active,
|
|
49
49
|
_a), className), title: title, disabled: disabled }),
|
|
50
|
-
loading && !disabled
|
|
50
|
+
loading && !disabled && (React__default["default"].createElement(Spinner["default"], { size: "sm", show: true, icon: "loading-outline", className: cx(overrideClassName
|
|
51
51
|
? ''
|
|
52
|
-
: (_b = {}, _b["Button--loading Button--loading--".concat(level)] = level, _b), loadingClassName) },
|
|
53
|
-
React__default["default"].createElement(icons.Icon, { icon: "loading-outline", className: "icon" }))) : null,
|
|
52
|
+
: (_b = {}, _b["Button--loading Button--loading--".concat(level)] = level, _b), loadingClassName) })),
|
|
54
53
|
children));
|
|
55
54
|
};
|
|
56
55
|
Button.prototype.render = function () {
|