amis-ui 6.11.0-beta.3 → 6.11.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.js +2 -2
- package/esm/components/Alert.js +2 -2
- package/esm/components/Alert2.js +2 -2
- package/esm/components/AnchorNav.js +2 -2
- package/esm/components/AnchorNavSection.js +2 -2
- package/esm/components/ArrayInput.js +2 -2
- package/esm/components/AsideNav.js +2 -2
- package/esm/components/AssociatedSelection.js +2 -2
- package/esm/components/AutoSizer.js +2 -2
- package/esm/components/Avatar.js +2 -2
- package/esm/components/Badge.js +2 -2
- package/esm/components/BaiduMapPicker.js +2 -2
- package/esm/components/BarCode.js +2 -2
- package/esm/components/Breadcrumb.js +4 -4
- package/esm/components/Button.d.ts +11 -10
- package/esm/components/Button.js +4 -4
- package/esm/components/CalendarMobile.d.ts +0 -2
- package/esm/components/CalendarMobile.js +10 -52
- package/esm/components/Card.js +2 -2
- package/esm/components/Cascader.js +2 -2
- package/esm/components/ChainedDropdownSelection.js +2 -2
- package/esm/components/ChainedSelection.js +2 -2
- package/esm/components/Checkbox.js +2 -2
- package/esm/components/CityArea.js +2 -2
- package/esm/components/CityDB.js +2 -2
- package/esm/components/CodeMirror.js +2 -2
- package/esm/components/Collapse.js +2 -2
- package/esm/components/CollapseGroup.js +3 -3
- package/esm/components/ColorPicker.js +2 -2
- package/esm/components/Combo.js +2 -2
- package/esm/components/ConditionBuilder.js +2 -2
- package/esm/components/ConfirmBox.js +2 -2
- package/esm/components/ContextMenu.d.ts +1 -1
- package/esm/components/ContextMenu.js +2 -2
- package/esm/components/DatePicker.js +2 -2
- package/esm/components/DateRangePicker.js +2 -2
- package/esm/components/DiffEditor.js +2 -2
- package/esm/components/DndContainer.js +2 -2
- package/esm/components/Drawer.js +2 -2
- package/esm/components/DropDownSelection.js +2 -2
- package/esm/components/Editor.js +2 -2
- package/esm/components/Form.js +2 -2
- package/esm/components/FormField.js +2 -2
- package/esm/components/FormulaPicker.js +2 -2
- package/esm/components/GaodeMapPicker.js +2 -2
- package/esm/components/GridNav.js +2 -2
- package/esm/components/GridNavItem.js +2 -2
- package/esm/components/GroupedSelection.js +2 -2
- package/esm/components/HeadCellDropDown.js +2 -2
- package/esm/components/Html.js +2 -2
- package/esm/components/Icon.js +2 -2
- package/esm/components/ImageGallery.js +2 -2
- package/esm/components/Input.js +2 -2
- package/esm/components/InputBox.js +2 -2
- package/esm/components/InputBoxWithSuggestion.js +2 -2
- package/esm/components/InputJSONSchema.js +2 -2
- package/esm/components/InputTable.js +2 -2
- package/esm/components/JSONSchemaEditor.js +2 -2
- package/esm/components/Layout.js +2 -2
- package/esm/components/Link.js +2 -2
- package/esm/components/ListGroup.js +2 -2
- package/esm/components/ListMenu.js +2 -2
- package/esm/components/LocationPicker.js +2 -2
- package/esm/components/Markdown.js +2 -2
- package/esm/components/Menu.js +2 -2
- package/esm/components/MobileDevTool.d.ts +1 -0
- package/esm/components/MobileDevTool.js +5 -3
- package/esm/components/Modal.js +2 -2
- package/esm/components/ModalManager.js +2 -2
- package/esm/components/MultilineText.js +2 -2
- package/esm/components/NumberInput.js +4 -3
- package/esm/components/OverflowTpl.js +2 -2
- package/esm/components/Pagination.js +2 -2
- package/esm/components/PdfViewer.js +2 -2
- package/esm/components/Picker.js +2 -2
- package/esm/components/PickerColumn.js +2 -2
- package/esm/components/PickerContainer.js +2 -2
- package/esm/components/PopOverContainer.js +2 -2
- package/esm/components/PopUp.js +2 -2
- package/esm/components/Progress.js +2 -2
- package/esm/components/PullRefresh.js +2 -2
- package/esm/components/Radios.js +2 -2
- package/esm/components/Range.js +2 -2
- package/esm/components/Rating.js +2 -2
- package/esm/components/ResultBox.js +2 -2
- package/esm/components/ResultList.js +2 -2
- package/esm/components/ResultTableList.js +2 -2
- package/esm/components/ResultTreeList.js +2 -2
- package/esm/components/RichText.d.ts +2 -0
- package/esm/components/RichText.js +3 -2
- package/esm/components/SearchBox.js +2 -2
- package/esm/components/Select.js +7 -6
- package/esm/components/SelectMobile.js +2 -2
- package/esm/components/Selection.js +2 -2
- package/esm/components/Shape.js +2 -2
- package/esm/components/Signature.js +2 -2
- package/esm/components/SparkLine.js +2 -2
- package/esm/components/Spinner.js +2 -2
- package/esm/components/Steps.js +2 -2
- package/esm/components/Switch.js +2 -2
- package/esm/components/Tab.js +2 -2
- package/esm/components/Table.js +2 -2
- package/esm/components/TableSelection.js +2 -2
- package/esm/components/Tabs.js +3 -3
- package/esm/components/TabsTransfer.js +2 -2
- package/esm/components/TabsTransferPicker.js +2 -2
- package/esm/components/Tag.js +2 -2
- package/esm/components/Textarea.js +2 -2
- package/esm/components/Timeline.js +2 -2
- package/esm/components/TimelineItem.js +2 -2
- package/esm/components/Tinymce.d.ts +2 -2
- package/esm/components/Tinymce.js +3 -2
- package/esm/components/TitleBar.js +2 -2
- package/esm/components/Toast.js +2 -2
- package/esm/components/Tooltip.d.ts +1 -0
- package/esm/components/Tooltip.js +4 -4
- package/esm/components/TooltipWrapper.d.ts +4 -0
- package/esm/components/TooltipWrapper.js +4 -4
- package/esm/components/Transfer.js +2 -2
- package/esm/components/TransferDropDown.js +2 -2
- package/esm/components/TransferPicker.js +2 -2
- package/esm/components/TransferSearch.js +2 -2
- package/esm/components/Tree.js +2 -2
- package/esm/components/TreeSelection.js +2 -2
- package/esm/components/UserSelect.js +2 -2
- package/esm/components/UserTabSelect.js +2 -2
- package/esm/components/VerificationCode.js +2 -2
- package/esm/components/VirtualList.js +2 -2
- package/esm/components/WithRemoteConfig.js +2 -2
- package/esm/components/WithStore.js +2 -2
- package/esm/components/calendar/Calendar.js +2 -2
- package/esm/components/calendar/CalendarContainer.js +2 -2
- package/esm/components/calendar/DaysView.js +2 -2
- package/esm/components/calendar/MonthsView.js +2 -2
- package/esm/components/calendar/QuartersView.js +2 -2
- package/esm/components/calendar/TimeView.js +2 -2
- package/esm/components/calendar/YearsView.js +2 -2
- package/esm/components/condition-builder/Expression.js +2 -2
- package/esm/components/condition-builder/Field.js +2 -2
- package/esm/components/condition-builder/Func.js +2 -2
- package/esm/components/condition-builder/Group.js +2 -2
- package/esm/components/condition-builder/GroupOrItem.js +2 -2
- package/esm/components/condition-builder/InputSwitch.js +2 -2
- package/esm/components/condition-builder/Item.js +2 -2
- package/esm/components/condition-builder/Value.js +2 -2
- package/esm/components/condition-builder/config.js +2 -2
- package/esm/components/condition-builder/index.js +2 -2
- package/esm/components/formula/CodeEditor.js +2 -2
- package/esm/components/formula/Editor.js +2 -2
- package/esm/components/formula/FuncList.js +2 -2
- package/esm/components/formula/Input.js +2 -2
- package/esm/components/formula/Picker.js +2 -2
- package/esm/components/formula/VariableList.js +2 -2
- package/esm/components/formula/plugin.js +2 -2
- package/esm/components/icons.d.ts +2 -2
- package/esm/components/icons.js +90 -11
- package/esm/components/json-schema/Array.js +2 -2
- package/esm/components/json-schema/Item.js +2 -2
- package/esm/components/json-schema/Object.js +2 -2
- package/esm/components/json-schema/index.js +2 -2
- package/esm/components/menu/MenuContext.js +2 -2
- package/esm/components/menu/MenuItem.js +2 -2
- package/esm/components/menu/SubMenu.js +2 -2
- package/esm/components/menu/index.js +2 -2
- package/esm/components/schema-editor/Array.js +2 -2
- package/esm/components/schema-editor/Common.js +2 -2
- package/esm/components/schema-editor/Item.js +2 -2
- package/esm/components/schema-editor/Object.js +2 -2
- package/esm/components/schema-editor/SchemaVariableList.js +2 -2
- package/esm/components/schema-editor/SchemaVariableListPicker.js +2 -2
- package/esm/components/schema-editor/index.js +2 -2
- package/esm/components/table/Cell.js +2 -2
- package/esm/components/table/ColGroup.js +2 -2
- package/esm/components/table/Head.js +2 -2
- package/esm/components/table/HeadCellDropDown.js +2 -2
- package/esm/components/table/HeadCellFilter.js +2 -2
- package/esm/components/table/HeadCellSelect.js +2 -2
- package/esm/components/table/HeadCellSort.js +2 -2
- package/esm/components/table/ItemActionsWrapper.js +2 -2
- package/esm/components/table/Row.js +2 -2
- package/esm/components/table/SummaryRow.js +2 -2
- package/esm/components/table/index.js +2 -2
- package/esm/components/table/util.js +2 -2
- package/esm/components/virtual-list/AutoSizer.js +2 -2
- package/esm/components/virtual-list/SizeAndPositionManager.js +2 -2
- package/esm/components/virtual-list/constants.js +2 -2
- package/esm/components/virtual-list/index.js +2 -2
- package/esm/components/withBadge.js +2 -2
- package/esm/hooks/use-on-screen.js +2 -2
- package/esm/hooks/use-set-state.js +2 -2
- package/esm/hooks/use-sub-form.js +2 -2
- package/esm/hooks/use-touch.js +2 -2
- package/esm/hooks/use-update-effect.js +2 -2
- package/esm/hooks/use-validation-resolver.js +2 -2
- package/esm/icons/alert-danger.svg.js +2 -2
- package/esm/icons/alert-info.svg.js +2 -2
- package/esm/icons/alert-success.svg.js +2 -2
- package/esm/icons/alert-warning.svg.js +2 -2
- package/esm/icons/arrow-double-left.svg.js +2 -2
- package/esm/icons/arrow-double-right.svg.js +2 -2
- package/esm/icons/back.svg.js +2 -2
- package/esm/icons/calendar.svg.js +2 -2
- package/esm/icons/caret.svg.js +2 -2
- package/esm/icons/check.svg.js +2 -2
- package/esm/icons/clock.svg.js +2 -2
- package/esm/icons/close-small.svg.js +2 -2
- package/esm/icons/close.svg.js +2 -2
- package/esm/icons/cloud-upload.svg.js +2 -2
- package/esm/icons/column-filter.svg.js +2 -2
- package/esm/icons/columns.svg.js +2 -2
- package/esm/icons/compress-alt.svg.js +2 -2
- package/esm/icons/copy.svg.js +2 -2
- package/esm/icons/date.svg.js +2 -2
- package/esm/icons/department.svg.js +2 -2
- package/esm/icons/desk-empty.svg.js +2 -2
- package/esm/icons/dot.svg.js +2 -2
- package/esm/icons/down-arrow-bold.svg.js +2 -2
- package/esm/icons/down.svg.js +2 -2
- package/esm/icons/download.svg.js +2 -2
- package/esm/icons/drag-bar.svg.js +2 -2
- package/esm/icons/drag.svg.js +2 -2
- package/esm/icons/edit.svg.js +2 -2
- package/esm/icons/ellipsis-v.svg.js +2 -2
- package/esm/icons/enter.svg.js +2 -2
- package/esm/icons/exchange.svg.js +2 -2
- package/esm/icons/expand-alt.svg.js +2 -2
- package/esm/icons/fail.svg.js +2 -2
- package/esm/icons/file.svg.js +2 -2
- package/esm/icons/filter.svg.js +2 -2
- package/esm/icons/folder.svg.js +2 -2
- package/esm/icons/fullscreen.svg.js +2 -2
- package/esm/icons/function.svg.js +2 -2
- package/esm/icons/home.svg.js +2 -2
- package/esm/icons/if.svg.js +2 -2
- package/esm/icons/image.svg.js +2 -2
- package/esm/icons/info-circle.svg.js +2 -2
- package/esm/icons/info.svg.js +2 -2
- package/esm/icons/input-clear.svg.js +2 -2
- package/esm/icons/invisible.svg.js +2 -2
- package/esm/icons/left-arrow.svg.js +2 -2
- package/esm/icons/loading-outline.svg.js +2 -2
- package/esm/icons/location.svg.js +2 -2
- package/esm/icons/menu.svg.js +2 -2
- package/esm/icons/minus.svg.js +2 -2
- package/esm/icons/move.svg.js +2 -2
- package/esm/icons/mute.svg.js +2 -2
- package/esm/icons/new-edit.svg.js +2 -2
- package/esm/icons/pause.svg.js +2 -2
- package/esm/icons/pencil.svg.js +2 -2
- package/esm/icons/play.svg.js +2 -2
- package/esm/icons/plus-cicle.svg.js +2 -2
- package/esm/icons/plus-fine.svg.js +2 -2
- package/esm/icons/plus.svg.js +2 -2
- package/esm/icons/post.svg.js +2 -2
- package/esm/icons/question-mark.svg.js +2 -2
- package/esm/icons/question.svg.js +2 -2
- package/esm/icons/redo.svg.js +2 -2
- package/esm/icons/refresh.svg.js +2 -2
- package/esm/icons/reload.svg.js +2 -2
- package/esm/icons/remove.svg.js +2 -2
- package/esm/icons/retry.svg.js +2 -2
- package/esm/icons/right-arrow-bold.svg.js +2 -2
- package/esm/icons/right-arrow.svg.js +2 -2
- package/esm/icons/right-double-arrow.svg.js +2 -2
- package/esm/icons/role.svg.js +2 -2
- package/esm/icons/rotate-left.svg.js +2 -2
- package/esm/icons/rotate-right.svg.js +2 -2
- package/esm/icons/rotate-screen.svg.js +2 -2
- package/esm/icons/scale-origin.svg.js +2 -2
- package/esm/icons/schedule.svg.js +2 -2
- package/esm/icons/search.svg.js +2 -2
- package/esm/icons/setting.svg.js +2 -2
- package/esm/icons/slider-handle-icon.svg.js +2 -2
- package/esm/icons/sort-asc.svg.js +2 -2
- package/esm/icons/sort-default.svg.js +2 -2
- package/esm/icons/sort-desc.svg.js +2 -2
- package/esm/icons/star.svg.js +2 -2
- package/esm/icons/status-close.svg.js +2 -2
- package/esm/icons/steps-finsh.svg.js +2 -2
- package/esm/icons/sub-plus.svg.js +2 -2
- package/esm/icons/success.svg.js +2 -2
- package/esm/icons/transparent.svg.js +2 -2
- package/esm/icons/trash.svg.js +2 -2
- package/esm/icons/tree-down.svg.js +2 -2
- package/esm/icons/undo-normal.svg.js +2 -2
- package/esm/icons/undo.svg.js +2 -2
- package/esm/icons/unfullscreen.svg.js +2 -2
- package/esm/icons/upload.svg.js +2 -2
- package/esm/icons/user-remove.svg.js +2 -2
- package/esm/icons/view.svg.js +2 -2
- package/esm/icons/volume.svg.js +2 -2
- package/esm/icons/warning-mark.svg.js +2 -2
- package/esm/icons/warning.svg.js +2 -2
- package/esm/icons/window-restore.svg.js +2 -2
- package/esm/icons/zoom-in.svg.js +2 -2
- package/esm/icons/zoom-out.svg.js +2 -2
- package/esm/index.js +2 -2
- package/esm/locale/de-DE.js +2 -2
- package/esm/locale/en-US.js +2 -2
- package/esm/locale/zh-CN.js +2 -2
- package/esm/themes/ang.js +2 -2
- package/esm/themes/antd.js +2 -2
- package/esm/themes/cxd.js +2 -2
- package/esm/themes/dark.js +2 -2
- package/esm/utils/smoothSignature.js +2 -2
- package/esm/utils/vectorComputed.js +2 -2
- package/esm/withRemoteConfig.js +2 -2
- package/esm/withStore.js +2 -2
- package/lib/components/404.js +2 -2
- package/lib/components/Alert.d.ts +120 -120
- package/lib/components/Alert.js +2 -2
- package/lib/components/Alert2.d.ts +20 -20
- package/lib/components/Alert2.js +2 -2
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +2 -2
- package/lib/components/AnchorNavSection.js +2 -2
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +2 -2
- package/lib/components/AsideNav.js +2 -2
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +2 -2
- package/lib/components/AutoSizer.js +2 -2
- package/lib/components/Avatar.d.ts +120 -120
- package/lib/components/Avatar.js +2 -2
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +2 -2
- package/lib/components/BaiduMapPicker.js +2 -2
- package/lib/components/BarCode.js +2 -2
- package/lib/components/Breadcrumb.js +4 -4
- package/lib/components/Button.d.ts +21 -20
- package/lib/components/Button.js +4 -4
- package/lib/components/CalendarMobile.d.ts +40 -42
- package/lib/components/CalendarMobile.js +10 -52
- package/lib/components/Card.d.ts +100 -100
- package/lib/components/Card.js +2 -2
- package/lib/components/Cascader.js +2 -2
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +2 -2
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +2 -2
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.js +2 -2
- package/lib/components/CityDB.js +2 -2
- package/lib/components/CodeMirror.js +2 -2
- package/lib/components/Collapse.d.ts +120 -120
- package/lib/components/Collapse.js +2 -2
- package/lib/components/CollapseGroup.d.ts +40 -40
- package/lib/components/CollapseGroup.js +3 -3
- package/lib/components/ColorPicker.d.ts +120 -120
- package/lib/components/ColorPicker.js +2 -2
- package/lib/components/Combo.js +2 -2
- package/lib/components/ConditionBuilder.js +2 -2
- package/lib/components/ConfirmBox.d.ts +80 -80
- package/lib/components/ConfirmBox.js +2 -2
- package/lib/components/ContextMenu.d.ts +1 -1
- package/lib/components/ContextMenu.js +2 -2
- package/lib/components/DatePicker.d.ts +120 -120
- package/lib/components/DatePicker.js +2 -2
- package/lib/components/DateRangePicker.d.ts +320 -320
- package/lib/components/DateRangePicker.js +2 -2
- package/lib/components/DiffEditor.js +2 -2
- package/lib/components/DndContainer.js +2 -2
- package/lib/components/Drawer.d.ts +30 -30
- package/lib/components/Drawer.js +2 -2
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +2 -2
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +2 -2
- package/lib/components/Form.js +2 -2
- package/lib/components/FormField.js +2 -2
- package/lib/components/FormulaPicker.js +2 -2
- package/lib/components/GaodeMapPicker.js +2 -2
- package/lib/components/GridNav.js +2 -2
- package/lib/components/GridNavItem.js +2 -2
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +2 -2
- package/lib/components/HeadCellDropDown.js +2 -2
- package/lib/components/Html.js +2 -2
- package/lib/components/Icon.js +2 -2
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +2 -2
- package/lib/components/Input.js +2 -2
- package/lib/components/InputBox.d.ts +20 -20
- package/lib/components/InputBox.js +2 -2
- package/lib/components/InputBoxWithSuggestion.js +2 -2
- package/lib/components/InputJSONSchema.js +2 -2
- package/lib/components/InputTable.js +2 -2
- package/lib/components/JSONSchemaEditor.js +2 -2
- package/lib/components/Layout.js +2 -2
- package/lib/components/Link.js +2 -2
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +2 -2
- package/lib/components/ListMenu.d.ts +80 -80
- package/lib/components/ListMenu.js +2 -2
- package/lib/components/LocationPicker.d.ts +80 -80
- package/lib/components/LocationPicker.js +2 -2
- package/lib/components/Markdown.js +2 -2
- package/lib/components/Menu.js +2 -2
- package/lib/components/MobileDevTool.d.ts +1 -0
- package/lib/components/MobileDevTool.js +5 -3
- package/lib/components/Modal.d.ts +120 -120
- package/lib/components/Modal.js +2 -2
- package/lib/components/ModalManager.js +2 -2
- package/lib/components/MonthRangePicker.d.ts +200 -200
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +2 -2
- package/lib/components/NumberInput.d.ts +20 -20
- package/lib/components/NumberInput.js +4 -3
- package/lib/components/OverflowTpl.js +2 -2
- package/lib/components/Pagination.d.ts +80 -80
- package/lib/components/Pagination.js +2 -2
- package/lib/components/PdfViewer.js +2 -2
- package/lib/components/Picker.js +2 -2
- package/lib/components/PickerColumn.js +2 -2
- package/lib/components/PickerContainer.js +2 -2
- package/lib/components/PopOverContainer.js +2 -2
- package/lib/components/PopUp.d.ts +80 -80
- package/lib/components/PopUp.js +2 -2
- package/lib/components/Progress.d.ts +90 -90
- package/lib/components/Progress.js +2 -2
- package/lib/components/PullRefresh.js +2 -2
- package/lib/components/Radios.d.ts +20 -20
- package/lib/components/Radios.js +2 -2
- package/lib/components/Range.js +2 -2
- package/lib/components/Rating.d.ts +30 -30
- package/lib/components/Rating.js +2 -2
- package/lib/components/ResultBox.d.ts +120 -120
- package/lib/components/ResultBox.js +2 -2
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +2 -2
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +2 -2
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +2 -2
- package/lib/components/RichText.d.ts +2 -0
- package/lib/components/RichText.js +6 -2
- package/lib/components/SearchBox.d.ts +120 -120
- package/lib/components/SearchBox.js +2 -2
- package/lib/components/Select.d.ts +1684 -1683
- package/lib/components/Select.js +6 -5
- package/lib/components/SelectMobile.js +2 -2
- package/lib/components/Selection.d.ts +80 -80
- package/lib/components/Selection.js +2 -2
- package/lib/components/Shape.js +2 -2
- package/lib/components/Signature.js +2 -2
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +2 -2
- package/lib/components/Spinner.d.ts +50 -50
- package/lib/components/Spinner.js +2 -2
- package/lib/components/Steps.js +2 -2
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +2 -2
- package/lib/components/Tab.js +2 -2
- package/lib/components/Table.js +2 -2
- package/lib/components/TableSelection.d.ts +80 -80
- package/lib/components/TableSelection.js +2 -2
- package/lib/components/Tabs.d.ts +120 -120
- package/lib/components/Tabs.js +3 -3
- package/lib/components/TabsTransfer.d.ts +40 -40
- package/lib/components/TabsTransfer.js +2 -2
- package/lib/components/TabsTransferPicker.js +2 -2
- package/lib/components/Tag.d.ts +70 -70
- package/lib/components/Tag.js +2 -2
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +2 -2
- package/lib/components/Timeline.js +2 -2
- package/lib/components/TimelineItem.js +2 -2
- package/lib/components/Tinymce.d.ts +2 -2
- package/lib/components/Tinymce.js +6 -2
- package/lib/components/TitleBar.js +2 -2
- package/lib/components/Toast.d.ts +120 -120
- package/lib/components/Toast.js +2 -2
- package/lib/components/Tooltip.d.ts +1 -0
- package/lib/components/Tooltip.js +4 -4
- package/lib/components/TooltipWrapper.d.ts +44 -40
- package/lib/components/TooltipWrapper.js +4 -4
- package/lib/components/Transfer.d.ts +187 -187
- package/lib/components/Transfer.js +2 -2
- package/lib/components/TransferDropDown.d.ts +160 -160
- package/lib/components/TransferDropDown.js +2 -2
- package/lib/components/TransferPicker.js +2 -2
- package/lib/components/TransferSearch.js +2 -2
- package/lib/components/Tree.d.ts +280 -280
- package/lib/components/Tree.js +2 -2
- package/lib/components/TreeSelection.d.ts +120 -120
- package/lib/components/TreeSelection.js +2 -2
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +2 -2
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +2 -2
- package/lib/components/VerificationCode.js +2 -2
- package/lib/components/VirtualList.js +2 -2
- package/lib/components/WithRemoteConfig.d.ts +1 -0
- package/lib/components/WithRemoteConfig.js +2 -2
- package/lib/components/WithStore.js +2 -2
- package/lib/components/calendar/Calendar.js +2 -2
- package/lib/components/calendar/CalendarContainer.js +2 -2
- package/lib/components/calendar/DaysView.js +2 -2
- package/lib/components/calendar/MonthsView.js +2 -2
- package/lib/components/calendar/QuartersView.js +2 -2
- package/lib/components/calendar/TimeView.js +2 -2
- package/lib/components/calendar/YearsView.js +2 -2
- package/lib/components/condition-builder/Expression.js +2 -2
- package/lib/components/condition-builder/Field.js +2 -2
- package/lib/components/condition-builder/Func.js +2 -2
- package/lib/components/condition-builder/Group.js +2 -2
- package/lib/components/condition-builder/GroupOrItem.js +2 -2
- package/lib/components/condition-builder/InputSwitch.js +2 -2
- package/lib/components/condition-builder/Item.js +2 -2
- package/lib/components/condition-builder/Value.js +2 -2
- package/lib/components/condition-builder/config.js +2 -2
- package/lib/components/condition-builder/index.d.ts +1 -1
- package/lib/components/condition-builder/index.js +2 -2
- package/lib/components/formula/CodeEditor.js +2 -2
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +2 -2
- package/lib/components/formula/FuncList.js +2 -2
- package/lib/components/formula/Input.js +2 -2
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +2 -2
- package/lib/components/formula/VariableList.js +2 -2
- package/lib/components/formula/plugin.js +2 -2
- package/lib/components/icons.d.ts +2 -2
- package/lib/components/icons.js +88 -9
- package/lib/components/json-schema/Array.js +2 -2
- package/lib/components/json-schema/Item.js +2 -2
- package/lib/components/json-schema/Object.js +2 -2
- package/lib/components/json-schema/index.js +2 -2
- package/lib/components/menu/MenuContext.js +2 -2
- package/lib/components/menu/MenuItem.js +2 -2
- package/lib/components/menu/SubMenu.js +2 -2
- package/lib/components/menu/index.d.ts +60 -60
- package/lib/components/menu/index.js +2 -2
- package/lib/components/schema-editor/Array.js +2 -2
- package/lib/components/schema-editor/Common.js +2 -2
- package/lib/components/schema-editor/Item.js +2 -2
- package/lib/components/schema-editor/Object.js +2 -2
- package/lib/components/schema-editor/SchemaVariableList.js +2 -2
- package/lib/components/schema-editor/SchemaVariableListPicker.js +2 -2
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +2 -2
- package/lib/components/table/Cell.js +2 -2
- package/lib/components/table/ColGroup.js +2 -2
- package/lib/components/table/Head.js +2 -2
- package/lib/components/table/HeadCellDropDown.js +2 -2
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +2 -2
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +2 -2
- package/lib/components/table/HeadCellSort.js +2 -2
- package/lib/components/table/ItemActionsWrapper.js +2 -2
- package/lib/components/table/Row.js +2 -2
- package/lib/components/table/SummaryRow.js +2 -2
- package/lib/components/table/index.d.ts +120 -120
- package/lib/components/table/index.js +2 -2
- package/lib/components/table/util.d.ts +4 -4
- package/lib/components/table/util.js +2 -2
- package/lib/components/virtual-list/AutoSizer.js +2 -2
- package/lib/components/virtual-list/SizeAndPositionManager.js +2 -2
- package/lib/components/virtual-list/constants.js +2 -2
- package/lib/components/virtual-list/index.js +2 -2
- package/lib/components/withBadge.js +2 -2
- package/lib/hooks/use-on-screen.js +2 -2
- package/lib/hooks/use-set-state.js +2 -2
- package/lib/hooks/use-sub-form.js +2 -2
- package/lib/hooks/use-touch.js +2 -2
- package/lib/hooks/use-update-effect.js +2 -2
- package/lib/hooks/use-validation-resolver.js +2 -2
- package/lib/icons/alert-danger.svg.js +2 -2
- package/lib/icons/alert-info.svg.js +2 -2
- package/lib/icons/alert-success.svg.js +2 -2
- package/lib/icons/alert-warning.svg.js +2 -2
- package/lib/icons/arrow-double-left.svg.js +2 -2
- package/lib/icons/arrow-double-right.svg.js +2 -2
- package/lib/icons/back.svg.js +2 -2
- package/lib/icons/calendar.svg.js +2 -2
- package/lib/icons/caret.svg.js +2 -2
- package/lib/icons/check.svg.js +2 -2
- package/lib/icons/clock.svg.js +2 -2
- package/lib/icons/close-small.svg.js +2 -2
- package/lib/icons/close.svg.js +2 -2
- package/lib/icons/cloud-upload.svg.js +2 -2
- package/lib/icons/column-filter.svg.js +2 -2
- package/lib/icons/columns.svg.js +2 -2
- package/lib/icons/compress-alt.svg.js +2 -2
- package/lib/icons/copy.svg.js +2 -2
- package/lib/icons/date.svg.js +2 -2
- package/lib/icons/department.svg.js +2 -2
- package/lib/icons/desk-empty.svg.js +2 -2
- package/lib/icons/dot.svg.js +2 -2
- package/lib/icons/down-arrow-bold.svg.js +2 -2
- package/lib/icons/down.svg.js +2 -2
- package/lib/icons/download.svg.js +2 -2
- package/lib/icons/drag-bar.svg.js +2 -2
- package/lib/icons/drag.svg.js +2 -2
- package/lib/icons/edit.svg.js +2 -2
- package/lib/icons/ellipsis-v.svg.js +2 -2
- package/lib/icons/enter.svg.js +2 -2
- package/lib/icons/exchange.svg.js +2 -2
- package/lib/icons/expand-alt.svg.js +2 -2
- package/lib/icons/fail.svg.js +2 -2
- package/lib/icons/file.svg.js +2 -2
- package/lib/icons/filter.svg.js +2 -2
- package/lib/icons/folder.svg.js +2 -2
- package/lib/icons/fullscreen.svg.js +2 -2
- package/lib/icons/function.svg.js +2 -2
- package/lib/icons/home.svg.js +2 -2
- package/lib/icons/if.svg.js +2 -2
- package/lib/icons/image.svg.js +2 -2
- package/lib/icons/info-circle.svg.js +2 -2
- package/lib/icons/info.svg.js +2 -2
- package/lib/icons/input-clear.svg.js +2 -2
- package/lib/icons/invisible.svg.js +2 -2
- package/lib/icons/left-arrow.svg.js +2 -2
- package/lib/icons/loading-outline.svg.js +2 -2
- package/lib/icons/location.svg.js +2 -2
- package/lib/icons/menu.svg.js +2 -2
- package/lib/icons/minus.svg.js +2 -2
- package/lib/icons/move.svg.js +2 -2
- package/lib/icons/mute.svg.js +2 -2
- package/lib/icons/new-edit.svg.js +2 -2
- package/lib/icons/pause.svg.js +2 -2
- package/lib/icons/pencil.svg.js +2 -2
- package/lib/icons/play.svg.js +2 -2
- package/lib/icons/plus-cicle.svg.js +2 -2
- package/lib/icons/plus-fine.svg.js +2 -2
- package/lib/icons/plus.svg.js +2 -2
- package/lib/icons/post.svg.js +2 -2
- package/lib/icons/question-mark.svg.js +2 -2
- package/lib/icons/question.svg.js +2 -2
- package/lib/icons/redo.svg.js +2 -2
- package/lib/icons/refresh.svg.js +2 -2
- package/lib/icons/reload.svg.js +2 -2
- package/lib/icons/remove.svg.js +2 -2
- package/lib/icons/retry.svg.js +2 -2
- package/lib/icons/right-arrow-bold.svg.js +2 -2
- package/lib/icons/right-arrow.svg.js +2 -2
- package/lib/icons/right-double-arrow.svg.js +2 -2
- package/lib/icons/role.svg.js +2 -2
- package/lib/icons/rotate-left.svg.js +2 -2
- package/lib/icons/rotate-right.svg.js +2 -2
- package/lib/icons/rotate-screen.svg.js +2 -2
- package/lib/icons/scale-origin.svg.js +2 -2
- package/lib/icons/schedule.svg.js +2 -2
- package/lib/icons/search.svg.js +2 -2
- package/lib/icons/setting.svg.js +2 -2
- package/lib/icons/slider-handle-icon.svg.js +2 -2
- package/lib/icons/sort-asc.svg.js +2 -2
- package/lib/icons/sort-default.svg.js +2 -2
- package/lib/icons/sort-desc.svg.js +2 -2
- package/lib/icons/star.svg.js +2 -2
- package/lib/icons/status-close.svg.js +2 -2
- package/lib/icons/steps-finsh.svg.js +2 -2
- package/lib/icons/sub-plus.svg.js +2 -2
- package/lib/icons/success.svg.js +2 -2
- package/lib/icons/transparent.svg.js +2 -2
- package/lib/icons/trash.svg.js +2 -2
- package/lib/icons/tree-down.svg.js +2 -2
- package/lib/icons/undo-normal.svg.js +2 -2
- package/lib/icons/undo.svg.js +2 -2
- package/lib/icons/unfullscreen.svg.js +2 -2
- package/lib/icons/upload.svg.js +2 -2
- package/lib/icons/user-remove.svg.js +2 -2
- package/lib/icons/view.svg.js +2 -2
- package/lib/icons/volume.svg.js +2 -2
- package/lib/icons/warning-mark.svg.js +2 -2
- package/lib/icons/warning.svg.js +2 -2
- package/lib/icons/window-restore.svg.js +2 -2
- package/lib/icons/zoom-in.svg.js +2 -2
- package/lib/icons/zoom-out.svg.js +2 -2
- package/lib/index.js +2 -2
- package/lib/locale/de-DE.js +2 -2
- package/lib/locale/en-US.js +2 -2
- package/lib/locale/zh-CN.js +2 -2
- package/lib/scss/helper.scss.js +2 -2
- package/lib/scss/themes/ang.scss.js +2 -2
- package/lib/scss/themes/antd.scss.js +2 -2
- package/lib/scss/themes/cxd.scss.js +2 -2
- package/lib/scss/themes/dark.scss.js +2 -2
- package/lib/scss/themes/default.scss.js +2 -2
- package/lib/themes/ang.css +149 -20
- package/lib/themes/ang.js +2 -2
- package/lib/themes/antd.css +149 -20
- package/lib/themes/antd.js +2 -2
- package/lib/themes/cxd.css +149 -20
- package/lib/themes/cxd.js +2 -2
- package/lib/themes/dark.css +149 -20
- package/lib/themes/dark.js +2 -2
- package/lib/themes/default.css +149 -20
- package/lib/utils/smoothSignature.js +2 -2
- package/lib/utils/vectorComputed.js +2 -2
- package/lib/withRemoteConfig.js +2 -2
- package/lib/withStore.js +2 -2
- package/package.json +5 -4
- package/scss/_mixins.scss +3 -0
- package/scss/components/_carousel.scss +66 -0
- package/scss/components/_images.scss +1 -1
- package/scss/components/_quick-edit.scss +1 -1
- package/scss/components/_table.scss +4 -1
- package/scss/components/_tpl.scss +40 -2
- package/scss/components/form/_form.scss +10 -72
- package/scss/components/form/_select.scss +16 -16
package/esm/components/404.js
CHANGED
package/esm/components/Alert.js
CHANGED
package/esm/components/Alert2.js
CHANGED
package/esm/components/Avatar.js
CHANGED
package/esm/components/Badge.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.11.0-beta.
|
|
3
|
-
* Copyright 2018-
|
|
2
|
+
* amis-ui v6.11.0-beta.5
|
|
3
|
+
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { __extends, __rest, __assign } from 'tslib';
|
|
@@ -95,11 +95,11 @@ var BreadcrumbItem = /** @class */ (function (_super) {
|
|
|
95
95
|
if (showHref) {
|
|
96
96
|
return (React__default.createElement("a", __assign({ href: item.href, className: cx('Breadcrumb-item-' + itemType, baseItemClassName) }, testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getTestId()),
|
|
97
97
|
item.icon ? (React__default.createElement(Icon, { cx: cx, icon: item.icon, className: "Icon", classNameProp: "Breadcrumb-icon" })) : null,
|
|
98
|
-
React__default.createElement("span", { className: cx('TplField') }, label)));
|
|
98
|
+
React__default.createElement("span", { className: cx('TplField fr-view') }, label)));
|
|
99
99
|
}
|
|
100
100
|
return (React__default.createElement("span", __assign({ className: cx('Breadcrumb-item-' + itemType, baseItemClassName) }, testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getTestId()),
|
|
101
101
|
item.icon ? (React__default.createElement(Icon, { cx: cx, icon: item.icon, className: "Icon", classNameProp: "Breadcrumb-icon" })) : null,
|
|
102
|
-
React__default.createElement("span", { className: cx('TplField') }, label)));
|
|
102
|
+
React__default.createElement("span", { className: cx('TplField fr-view') }, label)));
|
|
103
103
|
};
|
|
104
104
|
/**
|
|
105
105
|
* 渲染基础面包项完整节点
|
|
@@ -30,6 +30,7 @@ export interface ButtonProps extends React.DOMAttributes<HTMLButtonElement>, Spi
|
|
|
30
30
|
classPrefix: string;
|
|
31
31
|
classnames: ClassNamesFn;
|
|
32
32
|
componentClass: React.ElementType;
|
|
33
|
+
tabIndex?: string;
|
|
33
34
|
overrideClassName?: boolean;
|
|
34
35
|
loading?: boolean;
|
|
35
36
|
loadingClassName?: string;
|
|
@@ -41,7 +42,7 @@ export declare class Button extends React.Component<ButtonProps> {
|
|
|
41
42
|
render(): React.JSX.Element;
|
|
42
43
|
}
|
|
43
44
|
declare const _default: {
|
|
44
|
-
new (props: Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
45
|
+
new (props: Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
45
46
|
type?: "reset" | "submit" | "button" | undefined;
|
|
46
47
|
level?: string | undefined;
|
|
47
48
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
@@ -54,7 +55,7 @@ declare const _default: {
|
|
|
54
55
|
getWrappedInstance(): any;
|
|
55
56
|
render(): React.JSX.Element;
|
|
56
57
|
context: unknown;
|
|
57
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
58
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
58
59
|
type?: "reset" | "submit" | "button" | undefined;
|
|
59
60
|
level?: string | undefined;
|
|
60
61
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
@@ -63,7 +64,7 @@ declare const _default: {
|
|
|
63
64
|
componentClass?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
64
65
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
65
66
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
66
|
-
readonly props: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
67
|
+
readonly props: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
67
68
|
type?: "reset" | "submit" | "button" | undefined;
|
|
68
69
|
level?: string | undefined;
|
|
69
70
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
@@ -76,7 +77,7 @@ declare const _default: {
|
|
|
76
77
|
[key: string]: React.ReactInstance;
|
|
77
78
|
};
|
|
78
79
|
componentDidMount?(): void;
|
|
79
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
80
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
80
81
|
type?: "reset" | "submit" | "button" | undefined;
|
|
81
82
|
level?: string | undefined;
|
|
82
83
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
@@ -86,7 +87,7 @@ declare const _default: {
|
|
|
86
87
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
87
88
|
componentWillUnmount?(): void;
|
|
88
89
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
89
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
90
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
90
91
|
type?: "reset" | "submit" | "button" | undefined;
|
|
91
92
|
level?: string | undefined;
|
|
92
93
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
@@ -94,7 +95,7 @@ declare const _default: {
|
|
|
94
95
|
tooltipRootClose?: boolean | undefined;
|
|
95
96
|
componentClass?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
96
97
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
97
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
98
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
98
99
|
type?: "reset" | "submit" | "button" | undefined;
|
|
99
100
|
level?: string | undefined;
|
|
100
101
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
@@ -104,7 +105,7 @@ declare const _default: {
|
|
|
104
105
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
105
106
|
componentWillMount?(): void;
|
|
106
107
|
UNSAFE_componentWillMount?(): void;
|
|
107
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
108
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
108
109
|
type?: "reset" | "submit" | "button" | undefined;
|
|
109
110
|
level?: string | undefined;
|
|
110
111
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
@@ -112,7 +113,7 @@ declare const _default: {
|
|
|
112
113
|
tooltipRootClose?: boolean | undefined;
|
|
113
114
|
componentClass?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
114
115
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
115
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
116
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
116
117
|
type?: "reset" | "submit" | "button" | undefined;
|
|
117
118
|
level?: string | undefined;
|
|
118
119
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
@@ -120,7 +121,7 @@ declare const _default: {
|
|
|
120
121
|
tooltipRootClose?: boolean | undefined;
|
|
121
122
|
componentClass?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
122
123
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
123
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
124
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
124
125
|
type?: "reset" | "submit" | "button" | undefined;
|
|
125
126
|
level?: string | undefined;
|
|
126
127
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
@@ -128,7 +129,7 @@ declare const _default: {
|
|
|
128
129
|
tooltipRootClose?: boolean | undefined;
|
|
129
130
|
componentClass?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
130
131
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
131
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
132
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ButtonProps, keyof import("amis-core").ThemeProps>, "onChange" | "children" | "title" | "onMouseDown" | "disabled" | "onFocus" | "onBlur" | "loading" | "block" | "testIdBuilder" | "loadingConfig" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onMouseMove" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "tooltip" | "id" | "tabIndex" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "active" | "href" | "tooltipContainer" | "iconOnly" | "disabledTip" | "overrideClassName" | "loadingClassName"> & {
|
|
132
133
|
type?: "reset" | "submit" | "button" | undefined;
|
|
133
134
|
level?: string | undefined;
|
|
134
135
|
tooltipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
package/esm/components/Button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.11.0-beta.
|
|
3
|
-
* Copyright 2018-
|
|
2
|
+
* amis-ui v6.11.0-beta.5
|
|
3
|
+
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { __extends, __rest, __assign } from 'tslib';
|
|
@@ -20,7 +20,7 @@ var Button = /** @class */ (function (_super) {
|
|
|
20
20
|
}
|
|
21
21
|
Button.prototype.renderButton = function () {
|
|
22
22
|
var _a, _b;
|
|
23
|
-
var _c = this.props, level = _c.level, _d = _c.size, size = _d === void 0 ? 'default' : _d, disabled = _c.disabled, className = _c.className, style = _c.style, title = _c.title, Comp = _c.componentClass, cx = _c.classnames, children = _c.children; _c.disabledTip; var block = _c.block, type = _c.type, active = _c.active, iconOnly = _c.iconOnly, href = _c.href, loading = _c.loading, loadingClassName = _c.loadingClassName, overrideClassName = _c.overrideClassName, loadingConfig = _c.loadingConfig, testIdBuilder = _c.testIdBuilder, rest = __rest(_c, ["level", "size", "disabled", "className", "style", "title", "componentClass", "classnames", "children", "disabledTip", "block", "type", "active", "iconOnly", "href", "loading", "loadingClassName", "overrideClassName", "loadingConfig", "testIdBuilder"]);
|
|
23
|
+
var _c = this.props, level = _c.level, _d = _c.size, size = _d === void 0 ? 'default' : _d, disabled = _c.disabled, className = _c.className, style = _c.style, title = _c.title, Comp = _c.componentClass, cx = _c.classnames, children = _c.children; _c.disabledTip; var block = _c.block, type = _c.type, active = _c.active, iconOnly = _c.iconOnly, href = _c.href, loading = _c.loading, loadingClassName = _c.loadingClassName, overrideClassName = _c.overrideClassName, loadingConfig = _c.loadingConfig, testIdBuilder = _c.testIdBuilder, tabIndex = _c.tabIndex, rest = __rest(_c, ["level", "size", "disabled", "className", "style", "title", "componentClass", "classnames", "children", "disabledTip", "block", "type", "active", "iconOnly", "href", "loading", "loadingClassName", "overrideClassName", "loadingConfig", "testIdBuilder", "tabIndex"]);
|
|
24
24
|
if (href) {
|
|
25
25
|
Comp = 'a';
|
|
26
26
|
}
|
|
@@ -38,7 +38,7 @@ var Button = /** @class */ (function (_super) {
|
|
|
38
38
|
_a["Button--iconOnly"] = iconOnly,
|
|
39
39
|
_a['is-disabled'] = disabled,
|
|
40
40
|
_a['is-active'] = active,
|
|
41
|
-
_a), className), style: style, title: title, disabled: disabled }),
|
|
41
|
+
_a), className), style: style, title: title, disabled: disabled, tabIndex: tabIndex }),
|
|
42
42
|
loading && !disabled && (React__default.createElement(Spinner, { loadingConfig: loadingConfig, size: "sm", show: true, icon: "loading-outline", className: cx(overrideClassName
|
|
43
43
|
? ''
|
|
44
44
|
: (_b = {}, _b["Button--loading Button--loading--".concat(level)] = level, _b), loadingClassName) })),
|
|
@@ -53,7 +53,6 @@ export interface CalendarMobileProps extends ThemeProps, LocaleProps {
|
|
|
53
53
|
export interface CalendarMobileState {
|
|
54
54
|
startDate?: moment.Moment;
|
|
55
55
|
endDate?: moment.Moment;
|
|
56
|
-
monthHeights?: number[];
|
|
57
56
|
currentDate: moment.Moment;
|
|
58
57
|
showToast: boolean;
|
|
59
58
|
isScrollToBottom: boolean;
|
|
@@ -78,7 +77,6 @@ export declare class CalendarMobile extends React.Component<CalendarMobileProps,
|
|
|
78
77
|
componentWillUnmount(): void;
|
|
79
78
|
initMonths(): void;
|
|
80
79
|
scollToDate(date: moment.Moment): void;
|
|
81
|
-
onMobileBodyScroll(e: any): void;
|
|
82
80
|
scrollPreYear(): void;
|
|
83
81
|
scrollAfterYear(): void;
|
|
84
82
|
getDaysOfWeek(): string[];
|