amis-ui 2.5.1 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.d.ts +1 -0
- package/esm/components/ConfirmBox.js +11 -8
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +5 -8
- package/esm/components/DateRangePicker.js +9 -8
- package/esm/components/Drawer.js +1 -1
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +2 -0
- package/esm/components/Form.js +22 -7
- package/esm/components/FormField.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.js +1 -1
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.js +1 -1
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +82 -40
- package/esm/components/TabsTransfer.js +8 -6
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.js +3 -2
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +1 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.js +1 -1
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check-circle.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/status-fail.svg.js +1 -1
- package/esm/icons/status-info.svg.js +1 -1
- package/esm/icons/status-success.svg.js +1 -1
- package/esm/icons/status-warning.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +1 -1
- package/esm/locale/en-US.js +1 -1
- package/esm/locale/zh-CN.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +40 -40
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +10 -10
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +40 -40
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +10 -10
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +10 -10
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +10 -10
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +40 -40
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +10 -10
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +10 -10
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +41 -40
- package/lib/components/ConfirmBox.js +11 -8
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +81 -81
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +45 -48
- package/lib/components/DateRangePicker.js +9 -8
- package/lib/components/Drawer.d.ts +10 -10
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +2 -0
- package/lib/components/Form.js +21 -6
- package/lib/components/FormField.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +40 -40
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.d.ts +10 -10
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +40 -40
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +40 -40
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +40 -40
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +10 -10
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +40 -40
- package/lib/components/Pagination.js +1 -1
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +40 -40
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +10 -10
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +10 -10
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +10 -10
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +40 -40
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +40 -40
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +40 -40
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +193 -193
- package/lib/components/Select.js +1 -1
- package/lib/components/Selection.d.ts +40 -40
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +10 -10
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +40 -40
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +40 -40
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +82 -40
- package/lib/components/TabsTransfer.js +8 -6
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +10 -10
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +40 -40
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +10 -10
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +49 -49
- package/lib/components/Transfer.js +1 -1
- package/lib/components/TransferDropDown.d.ts +40 -40
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +40 -40
- package/lib/components/Tree.js +3 -2
- package/lib/components/TreeSelection.d.ts +40 -40
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +1 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +40 -40
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +40 -40
- package/lib/components/table/index.js +1 -1
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check-circle.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/status-fail.svg.js +1 -1
- package/lib/icons/status-info.svg.js +1 -1
- package/lib/icons/status-success.svg.js +1 -1
- package/lib/icons/status-warning.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +63 -44
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +34 -33
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +34 -33
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +34 -33
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +34 -33
- package/package.json +4 -4
- package/scss/_properties.scss +38 -37
- package/scss/components/_badge.scss +9 -8
- package/scss/components/_timeline.scss +1 -2
- package/scss/components/react-datetime.scss +8 -8
- package/scss/themes/_ang-variables.scss +10 -11
- package/scss/themes/ang.scss +20 -0
|
@@ -61,7 +61,7 @@ export declare const alert: (content: string, title?: string) => void;
|
|
|
61
61
|
export declare const confirm: (content: string, title?: string, confirmText?: string) => Promise<any>;
|
|
62
62
|
export declare const prompt: (controls: any, defaultvalue?: any, title?: string, confirmText?: string) => Promise<any>;
|
|
63
63
|
export declare const FinnalAlert: {
|
|
64
|
-
new (props: Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
64
|
+
new (props: Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
65
65
|
confirmText: string;
|
|
66
66
|
cancelText: string;
|
|
67
67
|
title: string;
|
|
@@ -76,7 +76,7 @@ export declare const FinnalAlert: {
|
|
|
76
76
|
getWrappedInstance(): any;
|
|
77
77
|
render(): JSX.Element;
|
|
78
78
|
context: any;
|
|
79
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
79
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
80
80
|
confirmText: string;
|
|
81
81
|
cancelText: string;
|
|
82
82
|
title: string;
|
|
@@ -87,7 +87,7 @@ export declare const FinnalAlert: {
|
|
|
87
87
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
88
88
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
89
89
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
90
|
-
readonly props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
90
|
+
readonly props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
91
91
|
confirmText: string;
|
|
92
92
|
cancelText: string;
|
|
93
93
|
title: string;
|
|
@@ -104,7 +104,7 @@ export declare const FinnalAlert: {
|
|
|
104
104
|
[key: string]: React.ReactInstance;
|
|
105
105
|
};
|
|
106
106
|
componentDidMount?(): void;
|
|
107
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
107
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
108
108
|
confirmText: string;
|
|
109
109
|
cancelText: string;
|
|
110
110
|
title: string;
|
|
@@ -116,7 +116,7 @@ export declare const FinnalAlert: {
|
|
|
116
116
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
117
117
|
componentWillUnmount?(): void;
|
|
118
118
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
119
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
119
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
120
120
|
confirmText: string;
|
|
121
121
|
cancelText: string;
|
|
122
122
|
title: string;
|
|
@@ -126,7 +126,7 @@ export declare const FinnalAlert: {
|
|
|
126
126
|
locale?: string | undefined;
|
|
127
127
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
128
128
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
129
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
129
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
130
130
|
confirmText: string;
|
|
131
131
|
cancelText: string;
|
|
132
132
|
title: string;
|
|
@@ -138,7 +138,7 @@ export declare const FinnalAlert: {
|
|
|
138
138
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
139
139
|
componentWillMount?(): void;
|
|
140
140
|
UNSAFE_componentWillMount?(): void;
|
|
141
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
141
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
142
142
|
confirmText: string;
|
|
143
143
|
cancelText: string;
|
|
144
144
|
title: string;
|
|
@@ -148,7 +148,7 @@ export declare const FinnalAlert: {
|
|
|
148
148
|
locale?: string | undefined;
|
|
149
149
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
150
150
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
151
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
151
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
152
152
|
confirmText: string;
|
|
153
153
|
cancelText: string;
|
|
154
154
|
title: string;
|
|
@@ -158,7 +158,7 @@ export declare const FinnalAlert: {
|
|
|
158
158
|
locale?: string | undefined;
|
|
159
159
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
160
160
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
161
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
161
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
162
162
|
confirmText: string;
|
|
163
163
|
cancelText: string;
|
|
164
164
|
title: string;
|
|
@@ -168,7 +168,7 @@ export declare const FinnalAlert: {
|
|
|
168
168
|
locale?: string | undefined;
|
|
169
169
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
170
170
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
171
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
171
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
172
172
|
confirmText: string;
|
|
173
173
|
cancelText: string;
|
|
174
174
|
title: string;
|
|
@@ -182,7 +182,7 @@ export declare const FinnalAlert: {
|
|
|
182
182
|
displayName: string;
|
|
183
183
|
contextType: React.Context<string>;
|
|
184
184
|
ComposedComponent: React.ComponentType<{
|
|
185
|
-
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
185
|
+
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
186
186
|
confirmText: string;
|
|
187
187
|
cancelText: string;
|
|
188
188
|
title: string;
|
|
@@ -197,7 +197,7 @@ export declare const FinnalAlert: {
|
|
|
197
197
|
getWrappedInstance(): any;
|
|
198
198
|
render(): JSX.Element;
|
|
199
199
|
context: any;
|
|
200
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
200
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
201
201
|
confirmText: string;
|
|
202
202
|
cancelText: string;
|
|
203
203
|
title: string;
|
|
@@ -208,7 +208,7 @@ export declare const FinnalAlert: {
|
|
|
208
208
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
209
209
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
210
210
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
211
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
211
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
212
212
|
confirmText: string;
|
|
213
213
|
cancelText: string;
|
|
214
214
|
title: string;
|
|
@@ -225,7 +225,7 @@ export declare const FinnalAlert: {
|
|
|
225
225
|
[key: string]: React.ReactInstance;
|
|
226
226
|
};
|
|
227
227
|
componentDidMount?(): void;
|
|
228
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
228
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
229
229
|
confirmText: string;
|
|
230
230
|
cancelText: string;
|
|
231
231
|
title: string;
|
|
@@ -237,7 +237,7 @@ export declare const FinnalAlert: {
|
|
|
237
237
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
238
238
|
componentWillUnmount?(): void;
|
|
239
239
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
240
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
240
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
241
241
|
confirmText: string;
|
|
242
242
|
cancelText: string;
|
|
243
243
|
title: string;
|
|
@@ -247,7 +247,7 @@ export declare const FinnalAlert: {
|
|
|
247
247
|
locale?: string | undefined;
|
|
248
248
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
249
249
|
}>, prevState: Readonly<{}>): any;
|
|
250
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
250
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
251
251
|
confirmText: string;
|
|
252
252
|
cancelText: string;
|
|
253
253
|
title: string;
|
|
@@ -259,7 +259,7 @@ export declare const FinnalAlert: {
|
|
|
259
259
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
260
260
|
componentWillMount?(): void;
|
|
261
261
|
UNSAFE_componentWillMount?(): void;
|
|
262
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
262
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
263
263
|
confirmText: string;
|
|
264
264
|
cancelText: string;
|
|
265
265
|
title: string;
|
|
@@ -269,7 +269,7 @@ export declare const FinnalAlert: {
|
|
|
269
269
|
locale?: string | undefined;
|
|
270
270
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
271
271
|
}>, nextContext: any): void;
|
|
272
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
272
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
273
273
|
confirmText: string;
|
|
274
274
|
cancelText: string;
|
|
275
275
|
title: string;
|
|
@@ -279,7 +279,7 @@ export declare const FinnalAlert: {
|
|
|
279
279
|
locale?: string | undefined;
|
|
280
280
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
281
281
|
}>, nextContext: any): void;
|
|
282
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
282
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
283
283
|
confirmText: string;
|
|
284
284
|
cancelText: string;
|
|
285
285
|
title: string;
|
|
@@ -289,7 +289,7 @@ export declare const FinnalAlert: {
|
|
|
289
289
|
locale?: string | undefined;
|
|
290
290
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
291
291
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
292
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
292
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
293
293
|
confirmText: string;
|
|
294
294
|
cancelText: string;
|
|
295
295
|
title: string;
|
|
@@ -307,7 +307,7 @@ export declare const FinnalAlert: {
|
|
|
307
307
|
ComposedComponent: typeof Alert;
|
|
308
308
|
}>;
|
|
309
309
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
310
|
-
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
310
|
+
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
311
311
|
confirmText: string;
|
|
312
312
|
cancelText: string;
|
|
313
313
|
title: string;
|
|
@@ -322,7 +322,7 @@ export declare const FinnalAlert: {
|
|
|
322
322
|
getWrappedInstance(): any;
|
|
323
323
|
render(): JSX.Element;
|
|
324
324
|
context: any;
|
|
325
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
325
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
326
326
|
confirmText: string;
|
|
327
327
|
cancelText: string;
|
|
328
328
|
title: string;
|
|
@@ -333,7 +333,7 @@ export declare const FinnalAlert: {
|
|
|
333
333
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
334
334
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
335
335
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
336
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
336
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
337
337
|
confirmText: string;
|
|
338
338
|
cancelText: string;
|
|
339
339
|
title: string;
|
|
@@ -350,7 +350,7 @@ export declare const FinnalAlert: {
|
|
|
350
350
|
[key: string]: React.ReactInstance;
|
|
351
351
|
};
|
|
352
352
|
componentDidMount?(): void;
|
|
353
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
353
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
354
354
|
confirmText: string;
|
|
355
355
|
cancelText: string;
|
|
356
356
|
title: string;
|
|
@@ -362,7 +362,7 @@ export declare const FinnalAlert: {
|
|
|
362
362
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
363
363
|
componentWillUnmount?(): void;
|
|
364
364
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
365
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
365
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
366
366
|
confirmText: string;
|
|
367
367
|
cancelText: string;
|
|
368
368
|
title: string;
|
|
@@ -372,7 +372,7 @@ export declare const FinnalAlert: {
|
|
|
372
372
|
locale?: string | undefined;
|
|
373
373
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
374
374
|
}>, prevState: Readonly<{}>): any;
|
|
375
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
375
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
376
376
|
confirmText: string;
|
|
377
377
|
cancelText: string;
|
|
378
378
|
title: string;
|
|
@@ -384,7 +384,7 @@ export declare const FinnalAlert: {
|
|
|
384
384
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
385
385
|
componentWillMount?(): void;
|
|
386
386
|
UNSAFE_componentWillMount?(): void;
|
|
387
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
387
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
388
388
|
confirmText: string;
|
|
389
389
|
cancelText: string;
|
|
390
390
|
title: string;
|
|
@@ -394,7 +394,7 @@ export declare const FinnalAlert: {
|
|
|
394
394
|
locale?: string | undefined;
|
|
395
395
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
396
396
|
}>, nextContext: any): void;
|
|
397
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
397
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
398
398
|
confirmText: string;
|
|
399
399
|
cancelText: string;
|
|
400
400
|
title: string;
|
|
@@ -404,7 +404,7 @@ export declare const FinnalAlert: {
|
|
|
404
404
|
locale?: string | undefined;
|
|
405
405
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
406
406
|
}>, nextContext: any): void;
|
|
407
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
407
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
408
408
|
confirmText: string;
|
|
409
409
|
cancelText: string;
|
|
410
410
|
title: string;
|
|
@@ -414,7 +414,7 @@ export declare const FinnalAlert: {
|
|
|
414
414
|
locale?: string | undefined;
|
|
415
415
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
416
416
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
417
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
417
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
418
418
|
confirmText: string;
|
|
419
419
|
cancelText: string;
|
|
420
420
|
title: string;
|
|
@@ -432,7 +432,7 @@ export declare const FinnalAlert: {
|
|
|
432
432
|
ComposedComponent: typeof Alert;
|
|
433
433
|
}, {}> & {
|
|
434
434
|
ComposedComponent: {
|
|
435
|
-
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
435
|
+
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
436
436
|
confirmText: string;
|
|
437
437
|
cancelText: string;
|
|
438
438
|
title: string;
|
|
@@ -447,7 +447,7 @@ export declare const FinnalAlert: {
|
|
|
447
447
|
getWrappedInstance(): any;
|
|
448
448
|
render(): JSX.Element;
|
|
449
449
|
context: any;
|
|
450
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
450
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
451
451
|
confirmText: string;
|
|
452
452
|
cancelText: string;
|
|
453
453
|
title: string;
|
|
@@ -458,7 +458,7 @@ export declare const FinnalAlert: {
|
|
|
458
458
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
459
459
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
460
460
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
461
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
461
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
462
462
|
confirmText: string;
|
|
463
463
|
cancelText: string;
|
|
464
464
|
title: string;
|
|
@@ -475,7 +475,7 @@ export declare const FinnalAlert: {
|
|
|
475
475
|
[key: string]: React.ReactInstance;
|
|
476
476
|
};
|
|
477
477
|
componentDidMount?(): void;
|
|
478
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
478
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
479
479
|
confirmText: string;
|
|
480
480
|
cancelText: string;
|
|
481
481
|
title: string;
|
|
@@ -487,7 +487,7 @@ export declare const FinnalAlert: {
|
|
|
487
487
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
488
488
|
componentWillUnmount?(): void;
|
|
489
489
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
490
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
490
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
491
491
|
confirmText: string;
|
|
492
492
|
cancelText: string;
|
|
493
493
|
title: string;
|
|
@@ -497,7 +497,7 @@ export declare const FinnalAlert: {
|
|
|
497
497
|
locale?: string | undefined;
|
|
498
498
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
499
499
|
}>, prevState: Readonly<{}>): any;
|
|
500
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
500
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
501
501
|
confirmText: string;
|
|
502
502
|
cancelText: string;
|
|
503
503
|
title: string;
|
|
@@ -509,7 +509,7 @@ export declare const FinnalAlert: {
|
|
|
509
509
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
510
510
|
componentWillMount?(): void;
|
|
511
511
|
UNSAFE_componentWillMount?(): void;
|
|
512
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
512
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
513
513
|
confirmText: string;
|
|
514
514
|
cancelText: string;
|
|
515
515
|
title: string;
|
|
@@ -519,7 +519,7 @@ export declare const FinnalAlert: {
|
|
|
519
519
|
locale?: string | undefined;
|
|
520
520
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
521
521
|
}>, nextContext: any): void;
|
|
522
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
522
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
523
523
|
confirmText: string;
|
|
524
524
|
cancelText: string;
|
|
525
525
|
title: string;
|
|
@@ -529,7 +529,7 @@ export declare const FinnalAlert: {
|
|
|
529
529
|
locale?: string | undefined;
|
|
530
530
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
531
531
|
}>, nextContext: any): void;
|
|
532
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
532
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
533
533
|
confirmText: string;
|
|
534
534
|
cancelText: string;
|
|
535
535
|
title: string;
|
|
@@ -539,7 +539,7 @@ export declare const FinnalAlert: {
|
|
|
539
539
|
locale?: string | undefined;
|
|
540
540
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
541
541
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
542
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "
|
|
542
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
|
|
543
543
|
confirmText: string;
|
|
544
544
|
cancelText: string;
|
|
545
545
|
title: string;
|
package/lib/components/Alert.js
CHANGED
|
@@ -29,15 +29,15 @@ export declare class Alert extends React.Component<AlertProps, AlertState> {
|
|
|
29
29
|
render(): JSX.Element | null;
|
|
30
30
|
}
|
|
31
31
|
declare const _default: {
|
|
32
|
-
new (props: Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
32
|
+
new (props: Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps): {
|
|
33
33
|
ref: any;
|
|
34
34
|
childRef(ref: any): void;
|
|
35
35
|
getWrappedInstance(): any;
|
|
36
36
|
render(): JSX.Element;
|
|
37
37
|
context: any;
|
|
38
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
38
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
39
39
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
40
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
40
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
41
41
|
children?: React.ReactNode;
|
|
42
42
|
}>;
|
|
43
43
|
state: Readonly<{}>;
|
|
@@ -45,17 +45,17 @@ declare const _default: {
|
|
|
45
45
|
[key: string]: React.ReactInstance;
|
|
46
46
|
};
|
|
47
47
|
componentDidMount?(): void;
|
|
48
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
48
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
49
49
|
componentWillUnmount?(): void;
|
|
50
50
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
51
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
52
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
51
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
52
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
53
53
|
componentWillMount?(): void;
|
|
54
54
|
UNSAFE_componentWillMount?(): void;
|
|
55
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
56
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
57
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
58
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "
|
|
55
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
56
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
57
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
58
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
59
59
|
};
|
|
60
60
|
displayName: string;
|
|
61
61
|
contextType: React.Context<string>;
|
package/lib/components/Alert2.js
CHANGED
|
@@ -86,15 +86,15 @@ export declare class AnchorNav extends React.Component<AnchorNavProps, AnchorNav
|
|
|
86
86
|
render(): JSX.Element | null;
|
|
87
87
|
}
|
|
88
88
|
declare const _default: {
|
|
89
|
-
new (props: Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
89
|
+
new (props: Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps): {
|
|
90
90
|
ref: any;
|
|
91
91
|
childRef(ref: any): void;
|
|
92
92
|
getWrappedInstance(): any;
|
|
93
93
|
render(): JSX.Element;
|
|
94
94
|
context: any;
|
|
95
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
95
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
96
96
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
97
|
-
readonly props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
97
|
+
readonly props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
98
98
|
children?: React.ReactNode;
|
|
99
99
|
}>;
|
|
100
100
|
state: Readonly<{}>;
|
|
@@ -102,17 +102,17 @@ declare const _default: {
|
|
|
102
102
|
[key: string]: React.ReactInstance;
|
|
103
103
|
};
|
|
104
104
|
componentDidMount?(): void;
|
|
105
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
105
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
106
106
|
componentWillUnmount?(): void;
|
|
107
107
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
108
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
109
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
108
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
109
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
110
110
|
componentWillMount?(): void;
|
|
111
111
|
UNSAFE_componentWillMount?(): void;
|
|
112
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
113
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
114
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
115
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
112
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
113
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
114
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
115
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
116
116
|
};
|
|
117
117
|
displayName: string;
|
|
118
118
|
contextType: React.Context<string>;
|