amis-ui 6.14.0-beta.8 → 7.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/HTMLFilterContext.js +1 -1
- package/esm/components/404.d.ts +0 -1
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +204 -205
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +20 -21
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AlphabetIndexer.js +1 -1
- package/esm/components/AnchorNav.d.ts +23 -23
- package/esm/components/AnchorNav.js +4 -4
- package/esm/components/AnchorNavSection.js +1 -1
- package/esm/components/ArrayInput.d.ts +164 -165
- package/esm/components/ArrayInput.js +5 -6
- package/esm/components/AsideNav.d.ts +20 -21
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +123 -124
- package/esm/components/AssociatedSelection.js +3 -3
- package/esm/components/AutoFoldedList.d.ts +0 -1
- package/esm/components/AutoFoldedList.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.d.ts +90 -91
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +2 -50
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +0 -2
- package/esm/components/BaiduMapPicker.js +4 -4
- package/esm/components/BarCode.d.ts +0 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +0 -1
- package/esm/components/Breadcrumb.js +3 -3
- package/esm/components/Button.d.ts +20 -21
- package/esm/components/Button.js +3 -2
- package/esm/components/CalendarMobile.d.ts +163 -164
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +170 -171
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +0 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +123 -124
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +123 -124
- package/esm/components/ChainedSelection.js +3 -3
- package/esm/components/Checkbox.d.ts +30 -31
- package/esm/components/Checkbox.js +3 -3
- package/esm/components/CityArea.d.ts +86 -87
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +4 -4
- package/esm/components/Collapse.d.ts +150 -151
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +30 -31
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +86 -87
- package/esm/components/ColorPicker.js +3 -4
- package/esm/components/Combo.d.ts +92 -87
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.d.ts +103 -104
- package/esm/components/ConfirmBox.js +3 -4
- package/esm/components/ContextMenu.d.ts +0 -1
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +244 -245
- package/esm/components/DatePicker.js +2 -3
- package/esm/components/DateRangePicker.d.ts +283 -285
- package/esm/components/DateRangePicker.js +3 -4
- package/esm/components/DiffEditor.js +3 -3
- package/esm/components/DndContainer.d.ts +23 -24
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +22 -23
- package/esm/components/Drawer.js +3 -3
- package/esm/components/DropDownSelection.d.ts +123 -124
- package/esm/components/DropDownSelection.js +3 -4
- package/esm/components/DropdownContextMenus.d.ts +1 -2
- package/esm/components/DropdownContextMenus.js +1 -1
- package/esm/components/Editor.d.ts +243 -244
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +2 -2
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +86 -87
- package/esm/components/FormField.js +1 -1
- package/esm/components/FormulaPicker.js +1 -1
- package/esm/components/GaodeMapPicker.d.ts +0 -2
- package/esm/components/GaodeMapPicker.js +11 -11
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GridNavItem.js +1 -1
- package/esm/components/GroupedSelection.d.ts +123 -124
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/HorizontalScroll.d.ts +0 -1
- package/esm/components/HorizontalScroll.js +1 -1
- package/esm/components/Html.d.ts +0 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.d.ts +123 -151
- package/esm/components/ImageGallery.js +3 -3
- package/esm/components/Input.js +3 -3
- package/esm/components/InputBox.d.ts +10 -11
- package/esm/components/InputBox.js +3 -3
- package/esm/components/InputBoxWithSuggestion.d.ts +86 -87
- package/esm/components/InputBoxWithSuggestion.js +3 -4
- package/esm/components/InputJSONSchema.js +1 -1
- package/esm/components/InputTable.d.ts +86 -87
- package/esm/components/InputTable.js +1 -1
- package/esm/components/JSONSchemaEditor.js +1 -1
- package/esm/components/Layout.d.ts +0 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.d.ts +0 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -11
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +163 -164
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +123 -124
- package/esm/components/LocationPicker.js +3 -3
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Menu.js +1 -1
- package/esm/components/MixedInput.d.ts +0 -1
- package/esm/components/MixedInput.js +1 -1
- package/esm/components/MobileDevTool.js +1 -1
- package/esm/components/Modal.d.ts +438 -438
- package/esm/components/Modal.js +3 -3
- package/esm/components/ModalManager.d.ts +0 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +163 -164
- package/esm/components/MultilineText.d.ts +126 -127
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +20 -31
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.d.ts +0 -1
- package/esm/components/OverflowTpl.js +4 -5
- package/esm/components/Pagination.d.ts +243 -244
- package/esm/components/Pagination.js +1 -1
- package/esm/components/PdfViewer.d.ts +0 -1
- package/esm/components/PdfViewer.js +1 -1
- package/esm/components/Picker.d.ts +86 -87
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +0 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +86 -87
- package/esm/components/PickerContainer.js +16 -16
- package/esm/components/PopOverContainer.js +6 -7
- package/esm/components/PopUp.d.ts +123 -124
- package/esm/components/PopUp.js +3 -3
- package/esm/components/Progress.d.ts +40 -41
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +0 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +20 -21
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +0 -5
- package/esm/components/Range.js +5 -6
- package/esm/components/Rating.d.ts +40 -41
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +163 -164
- package/esm/components/ResultBox.js +3 -3
- package/esm/components/ResultList.d.ts +163 -164
- package/esm/components/ResultList.js +5 -6
- package/esm/components/ResultTableList.d.ts +164 -165
- package/esm/components/ResultTableList.js +3 -3
- package/esm/components/ResultTreeList.d.ts +123 -124
- package/esm/components/ResultTreeList.js +3 -3
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +163 -165
- package/esm/components/SearchBox.js +2 -3
- package/esm/components/Select.d.ts +453 -1395
- package/esm/components/Select.js +3 -4
- package/esm/components/SelectMobile.js +3 -4
- package/esm/components/Selection.d.ts +123 -124
- package/esm/components/Selection.js +3 -3
- package/esm/components/Shape.d.ts +0 -1
- package/esm/components/Shape.js +1 -1
- package/esm/components/Signature.d.ts +86 -87
- package/esm/components/Signature.js +1 -1
- package/esm/components/Slider.d.ts +3 -4
- package/esm/components/Slider.js +1 -1
- package/esm/components/SparkLine.d.ts +123 -124
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +50 -51
- package/esm/components/Spinner.js +3 -3
- package/esm/components/Steps.d.ts +0 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +30 -31
- package/esm/components/Switch.js +1 -1
- package/esm/components/Tab.js +1 -1
- package/esm/components/Table.js +1 -1
- package/esm/components/TableSelection.d.ts +164 -165
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +146 -147
- package/esm/components/Tabs.js +8 -9
- package/esm/components/TabsTransfer.d.ts +123 -125
- package/esm/components/TabsTransfer.js +3 -3
- package/esm/components/TabsTransferPicker.d.ts +86 -87
- package/esm/components/TabsTransferPicker.js +3 -3
- package/esm/components/Tag.d.ts +50 -51
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +123 -124
- package/esm/components/Textarea.js +5 -6
- package/esm/components/Timeline.d.ts +0 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +385 -386
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +6 -4
- package/esm/components/TitleBar.d.ts +0 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +166 -167
- package/esm/components/Toast.js +5 -5
- package/esm/components/Tooltip.d.ts +0 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +41 -42
- package/esm/components/TooltipWrapper.js +3 -4
- package/esm/components/Transfer.d.ts +370 -381
- package/esm/components/Transfer.js +4 -4
- package/esm/components/TransferDropDown.d.ts +163 -164
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +86 -87
- package/esm/components/TransferPicker.js +3 -3
- package/esm/components/TransferSearch.d.ts +86 -88
- package/esm/components/TransferSearch.js +3 -3
- package/esm/components/Tree.d.ts +728 -726
- package/esm/components/Tree.js +22 -8
- package/esm/components/TreeSelection.d.ts +163 -164
- package/esm/components/TreeSelection.js +3 -3
- package/esm/components/UserSelect.d.ts +123 -125
- package/esm/components/UserSelect.js +5 -5
- package/esm/components/UserTabSelect.d.ts +123 -124
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/VerificationCode.d.ts +0 -1
- package/esm/components/VerificationCode.js +1 -1
- package/esm/components/VirtualList.js +1 -1
- package/esm/components/WithRemoteConfig.d.ts +11 -12
- package/esm/components/WithRemoteConfig.js +33 -34
- package/esm/components/WithStore.d.ts +4 -4
- package/esm/components/WithStore.js +3 -3
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +3 -3
- package/esm/components/calendar/DaysView.d.ts +22 -23
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.d.ts +20 -21
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.d.ts +20 -21
- package/esm/components/calendar/QuartersView.js +3 -3
- package/esm/components/calendar/TimeView.d.ts +21 -22
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.d.ts +20 -21
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +90 -91
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +86 -87
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +86 -87
- package/esm/components/condition-builder/Func.d.ts +89 -90
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +90 -91
- package/esm/components/condition-builder/Group.js +11 -7
- package/esm/components/condition-builder/GroupOrItem.d.ts +3 -4
- package/esm/components/condition-builder/GroupOrItem.js +6 -4
- package/esm/components/condition-builder/InputSwitch.d.ts +0 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +91 -92
- package/esm/components/condition-builder/Item.js +6 -5
- package/esm/components/condition-builder/Value.d.ts +88 -89
- package/esm/components/condition-builder/Value.js +3 -2
- package/esm/components/condition-builder/config.d.ts +2 -2
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +96 -97
- package/esm/components/condition-builder/index.js +9 -5
- package/esm/components/condition-builder/types.d.ts +4 -4
- package/esm/components/formula/CodeEditor.d.ts +0 -1
- package/esm/components/formula/CodeEditor.js +1 -1
- package/esm/components/formula/Editor.d.ts +163 -204
- package/esm/components/formula/Editor.js +2 -2
- package/esm/components/formula/FuncList.d.ts +0 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.d.ts +86 -87
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.d.ts +123 -150
- package/esm/components/formula/Picker.js +12 -12
- package/esm/components/formula/VariableList.d.ts +0 -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.d.ts +86 -87
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.d.ts +0 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +0 -1
- package/esm/components/menu/MenuItem.js +3 -3
- package/esm/components/menu/PanelMenu.d.ts +0 -1
- package/esm/components/menu/PanelMenu.js +1 -1
- package/esm/components/menu/SubMenu.d.ts +0 -1
- package/esm/components/menu/SubMenu.js +3 -3
- package/esm/components/menu/index.d.ts +60 -61
- package/esm/components/menu/index.js +12 -13
- package/esm/components/schema-editor/Array.js +3 -3
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.d.ts +4 -4
- package/esm/components/schema-editor/Object.js +3 -3
- package/esm/components/schema-editor/SchemaVariableList.d.ts +23 -24
- package/esm/components/schema-editor/SchemaVariableList.js +3 -3
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +23 -24
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +246 -253
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.js +2 -2
- package/esm/components/table/HeadCellDropDown.d.ts +86 -87
- package/esm/components/table/HeadCellDropDown.js +3 -4
- package/esm/components/table/HeadCellFilter.d.ts +126 -127
- package/esm/components/table/HeadCellFilter.js +3 -4
- package/esm/components/table/HeadCellSelect.d.ts +123 -124
- package/esm/components/table/HeadCellSelect.js +3 -4
- package/esm/components/table/HeadCellSort.d.ts +86 -87
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.js +2 -2
- package/esm/components/table/SummaryRow.js +3 -3
- package/esm/components/table/index.d.ts +243 -245
- package/esm/components/table/index.js +6 -6
- package/esm/components/table/util.d.ts +53 -22
- package/esm/components/table/util.js +1 -1
- package/esm/components/virtual-list/AutoSizer.js +3 -4
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.d.ts +1 -1
- package/esm/components/virtual-list/index.js +3 -3
- package/esm/components/withBadge.js +1 -1
- package/esm/hooks/use-click-away.js +1 -1
- package/esm/hooks/use-on-screen.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +2 -2
- 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/arrow-double-left.svg.js +1 -1
- package/esm/icons/arrow-double-right.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.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/fullscreen.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.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/question2.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/rotate-screen.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/steps-finsh.svg.js +1 -1
- package/esm/icons/sub-plus.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-normal.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/unfullscreen.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/esm/utils/vectorComputed.js +1 -1
- package/esm/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/HTMLFilterContext.js +1 -1
- package/lib/components/404.d.ts +0 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +204 -205
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +20 -21
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AlphabetIndexer.js +1 -1
- package/lib/components/AnchorNav.d.ts +13 -13
- package/lib/components/AnchorNav.js +3 -3
- package/lib/components/AnchorNavSection.js +1 -1
- package/lib/components/ArrayInput.d.ts +164 -165
- package/lib/components/ArrayInput.js +3 -4
- package/lib/components/AsideNav.d.ts +10 -11
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +203 -204
- package/lib/components/AssociatedSelection.js +2 -2
- package/lib/components/AutoFoldedList.d.ts +0 -1
- package/lib/components/AutoFoldedList.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- package/lib/components/Avatar.d.ts +130 -131
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +3 -51
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +0 -2
- package/lib/components/BaiduMapPicker.js +3 -3
- package/lib/components/BarCode.d.ts +0 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +0 -1
- package/lib/components/Breadcrumb.js +2 -2
- package/lib/components/Button.d.ts +30 -31
- package/lib/components/Button.js +3 -2
- package/lib/components/CalendarMobile.d.ts +163 -164
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +200 -201
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +0 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +203 -204
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +203 -204
- package/lib/components/ChainedSelection.js +2 -2
- package/lib/components/Checkbox.d.ts +30 -31
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.d.ts +86 -87
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +3 -3
- package/lib/components/Collapse.d.ts +190 -191
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +60 -61
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +163 -164
- package/lib/components/ColorPicker.js +3 -4
- package/lib/components/Combo.d.ts +92 -87
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.d.ts +63 -64
- package/lib/components/ConfirmBox.js +2 -3
- package/lib/components/ContextMenu.d.ts +0 -1
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +244 -245
- package/lib/components/DatePicker.js +2 -3
- package/lib/components/DateRangePicker.d.ts +483 -485
- package/lib/components/DateRangePicker.js +3 -4
- package/lib/components/DiffEditor.js +2 -2
- package/lib/components/DndContainer.d.ts +23 -24
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +22 -23
- package/lib/components/Drawer.js +2 -2
- package/lib/components/DropDownSelection.d.ts +203 -204
- package/lib/components/DropDownSelection.js +3 -4
- package/lib/components/DropdownContextMenus.d.ts +1 -2
- package/lib/components/DropdownContextMenus.js +1 -1
- package/lib/components/Editor.d.ts +243 -244
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +2 -2
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +86 -87
- package/lib/components/FormField.js +1 -1
- package/lib/components/FormulaPicker.js +1 -1
- package/lib/components/GaodeMapPicker.d.ts +0 -2
- package/lib/components/GaodeMapPicker.js +10 -10
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GridNavItem.js +1 -1
- package/lib/components/GroupedSelection.d.ts +203 -204
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/HorizontalScroll.d.ts +0 -1
- package/lib/components/HorizontalScroll.js +1 -1
- package/lib/components/Html.d.ts +0 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/Icon.js +1 -1
- package/lib/components/ImageGallery.d.ts +123 -151
- package/lib/components/ImageGallery.js +2 -2
- package/lib/components/Input.js +2 -2
- package/lib/components/InputBox.d.ts +10 -11
- package/lib/components/InputBox.js +2 -2
- package/lib/components/InputBoxWithSuggestion.d.ts +86 -87
- package/lib/components/InputBoxWithSuggestion.js +2 -3
- package/lib/components/InputJSONSchema.js +1 -1
- package/lib/components/InputTable.d.ts +86 -87
- package/lib/components/InputTable.js +1 -1
- package/lib/components/JSONSchemaEditor.js +1 -1
- package/lib/components/Layout.d.ts +0 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.d.ts +0 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -11
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +163 -164
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +123 -124
- package/lib/components/LocationPicker.js +2 -2
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Menu.js +1 -1
- package/lib/components/MixedInput.d.ts +0 -1
- package/lib/components/MixedInput.js +1 -1
- package/lib/components/MobileDevTool.js +1 -1
- package/lib/components/Modal.d.ts +438 -438
- package/lib/components/Modal.js +2 -2
- package/lib/components/ModalManager.d.ts +0 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +323 -324
- package/lib/components/MultilineText.d.ts +163 -164
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +30 -41
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.d.ts +0 -1
- package/lib/components/OverflowTpl.js +4 -5
- package/lib/components/Pagination.d.ts +243 -244
- package/lib/components/Pagination.js +1 -1
- package/lib/components/PdfViewer.d.ts +0 -1
- package/lib/components/PdfViewer.js +1 -1
- package/lib/components/Picker.d.ts +86 -87
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +0 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +86 -87
- package/lib/components/PickerContainer.js +15 -15
- package/lib/components/PopOverContainer.js +4 -5
- package/lib/components/PopUp.d.ts +203 -204
- package/lib/components/PopUp.js +2 -2
- package/lib/components/Progress.d.ts +80 -81
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +0 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +20 -21
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +0 -5
- package/lib/components/Range.js +3 -4
- package/lib/components/Rating.d.ts +40 -41
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +203 -204
- package/lib/components/ResultBox.js +2 -2
- package/lib/components/ResultList.d.ts +203 -204
- package/lib/components/ResultList.js +4 -5
- package/lib/components/ResultTableList.d.ts +244 -245
- package/lib/components/ResultTableList.js +2 -2
- package/lib/components/ResultTreeList.d.ts +123 -124
- package/lib/components/ResultTreeList.js +2 -2
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +203 -205
- package/lib/components/SearchBox.js +2 -3
- package/lib/components/Select.d.ts +2312 -3254
- package/lib/components/Select.js +2 -3
- package/lib/components/SelectMobile.js +3 -4
- package/lib/components/Selection.d.ts +203 -204
- package/lib/components/Selection.js +3 -3
- package/lib/components/Shape.d.ts +0 -1
- package/lib/components/Shape.js +1 -1
- package/lib/components/Signature.d.ts +86 -87
- package/lib/components/Signature.js +1 -1
- package/lib/components/Slider.d.ts +3 -4
- package/lib/components/Slider.js +1 -1
- package/lib/components/SparkLine.d.ts +123 -124
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +50 -51
- package/lib/components/Spinner.js +2 -2
- package/lib/components/Steps.d.ts +0 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +30 -31
- package/lib/components/Switch.js +1 -1
- package/lib/components/Tab.js +1 -1
- package/lib/components/Table.js +1 -1
- package/lib/components/TableSelection.d.ts +244 -245
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +146 -147
- package/lib/components/Tabs.js +6 -7
- package/lib/components/TabsTransfer.d.ts +123 -125
- package/lib/components/TabsTransfer.js +2 -2
- package/lib/components/TabsTransferPicker.d.ts +86 -87
- package/lib/components/TabsTransferPicker.js +2 -2
- package/lib/components/Tag.d.ts +90 -91
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +123 -124
- package/lib/components/Textarea.js +4 -5
- package/lib/components/Timeline.d.ts +0 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +385 -386
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +5 -3
- package/lib/components/TitleBar.d.ts +0 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +203 -204
- package/lib/components/Toast.js +4 -4
- package/lib/components/Tooltip.d.ts +0 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +31 -32
- package/lib/components/TooltipWrapper.js +2 -3
- package/lib/components/Transfer.d.ts +490 -501
- package/lib/components/Transfer.js +3 -3
- package/lib/components/TransferDropDown.d.ts +283 -284
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +86 -87
- package/lib/components/TransferPicker.js +2 -2
- package/lib/components/TransferSearch.d.ts +86 -88
- package/lib/components/TransferSearch.js +2 -2
- package/lib/components/Tree.d.ts +966 -964
- package/lib/components/Tree.js +22 -8
- package/lib/components/TreeSelection.d.ts +243 -244
- package/lib/components/TreeSelection.js +2 -2
- package/lib/components/UserSelect.d.ts +163 -165
- package/lib/components/UserSelect.js +5 -5
- package/lib/components/UserTabSelect.d.ts +123 -124
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/VerificationCode.d.ts +0 -1
- package/lib/components/VerificationCode.js +1 -1
- package/lib/components/VirtualList.js +1 -1
- package/lib/components/WithRemoteConfig.d.ts +11 -12
- package/lib/components/WithRemoteConfig.js +33 -34
- package/lib/components/WithStore.d.ts +4 -4
- package/lib/components/WithStore.js +2 -2
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +2 -2
- package/lib/components/calendar/DaysView.d.ts +22 -23
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.d.ts +20 -21
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.d.ts +20 -21
- package/lib/components/calendar/QuartersView.js +2 -2
- package/lib/components/calendar/TimeView.d.ts +21 -22
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.d.ts +20 -21
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +90 -91
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +86 -87
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +86 -87
- package/lib/components/condition-builder/Func.d.ts +89 -90
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +90 -91
- package/lib/components/condition-builder/Group.js +11 -7
- package/lib/components/condition-builder/GroupOrItem.d.ts +3 -4
- package/lib/components/condition-builder/GroupOrItem.js +5 -3
- package/lib/components/condition-builder/InputSwitch.d.ts +0 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +91 -92
- package/lib/components/condition-builder/Item.js +5 -4
- package/lib/components/condition-builder/Value.d.ts +88 -89
- package/lib/components/condition-builder/Value.js +3 -2
- package/lib/components/condition-builder/config.d.ts +2 -2
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +96 -97
- package/lib/components/condition-builder/index.js +8 -4
- package/lib/components/condition-builder/types.d.ts +4 -4
- package/lib/components/formula/CodeEditor.d.ts +0 -1
- package/lib/components/formula/CodeEditor.js +1 -1
- package/lib/components/formula/Editor.d.ts +163 -204
- package/lib/components/formula/Editor.js +2 -2
- package/lib/components/formula/FuncList.d.ts +0 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.d.ts +86 -87
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +123 -150
- package/lib/components/formula/Picker.js +12 -12
- package/lib/components/formula/VariableList.d.ts +0 -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.d.ts +86 -87
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.d.ts +0 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +0 -1
- package/lib/components/menu/MenuItem.js +2 -2
- package/lib/components/menu/PanelMenu.d.ts +0 -1
- package/lib/components/menu/PanelMenu.js +1 -1
- package/lib/components/menu/SubMenu.d.ts +0 -1
- package/lib/components/menu/SubMenu.js +2 -2
- package/lib/components/menu/index.d.ts +80 -81
- package/lib/components/menu/index.js +12 -13
- package/lib/components/schema-editor/Array.js +2 -2
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.d.ts +4 -4
- package/lib/components/schema-editor/Object.js +2 -2
- package/lib/components/schema-editor/SchemaVariableList.d.ts +23 -24
- package/lib/components/schema-editor/SchemaVariableList.js +2 -2
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +23 -24
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +246 -253
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.js +2 -2
- package/lib/components/table/HeadCellDropDown.d.ts +86 -87
- package/lib/components/table/HeadCellDropDown.js +2 -3
- package/lib/components/table/HeadCellFilter.d.ts +163 -164
- package/lib/components/table/HeadCellFilter.js +3 -4
- package/lib/components/table/HeadCellSelect.d.ts +123 -124
- package/lib/components/table/HeadCellSelect.js +2 -3
- package/lib/components/table/HeadCellSort.d.ts +86 -87
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.js +2 -2
- package/lib/components/table/SummaryRow.js +2 -2
- package/lib/components/table/index.d.ts +283 -285
- package/lib/components/table/index.js +6 -6
- package/lib/components/table/util.d.ts +53 -22
- package/lib/components/table/util.js +1 -1
- package/lib/components/virtual-list/AutoSizer.js +2 -3
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.d.ts +1 -1
- package/lib/components/virtual-list/index.js +2 -2
- package/lib/components/withBadge.js +1 -1
- package/lib/hooks/use-click-away.js +1 -1
- package/lib/hooks/use-on-screen.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +2 -2
- 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/arrow-double-left.svg.js +1 -1
- package/lib/icons/arrow-double-right.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.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/fullscreen.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.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/question2.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/rotate-screen.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/steps-finsh.svg.js +1 -1
- package/lib/icons/sub-plus.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-normal.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.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 +20 -16
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +20 -16
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +20 -16
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +20 -16
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +20 -16
- package/lib/utils/vectorComputed.js +1 -1
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +4 -4
- package/scss/components/_button.scss +2 -1
- package/scss/components/form/_select.scss +1 -1
- package/scss/components/form/_tree.scss +4 -0
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* @file Alert
|
|
3
3
|
* @author fex
|
|
4
4
|
*/
|
|
5
|
-
/// <reference types="hoist-non-react-statics" />
|
|
6
5
|
import React from 'react';
|
|
7
6
|
import { ThemeProps } from 'amis-core';
|
|
8
7
|
import { LocaleProps } from 'amis-core';
|
|
@@ -20,7 +19,7 @@ export interface AlertProps extends ThemeProps, LocaleProps {
|
|
|
20
19
|
size?: '' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
21
20
|
cancelBtnLevel?: string;
|
|
22
21
|
}
|
|
23
|
-
interface ConfirmOptions {
|
|
22
|
+
export interface ConfirmOptions {
|
|
24
23
|
className?: string;
|
|
25
24
|
closeOnEsc?: AlertProps['closeOnEsc'];
|
|
26
25
|
size?: AlertProps['size'];
|
|
@@ -84,259 +83,259 @@ export declare const alert: (content: string, title?: string, className?: string
|
|
|
84
83
|
export declare const confirm: (content: string | React.ReactNode, title?: string, optionsOrCofnrimText?: string | ConfirmOptions, cancelText?: string) => Promise<any>;
|
|
85
84
|
export declare const prompt: (controls: any, defaultvalue?: any, title?: string, confirmText?: string) => Promise<any>;
|
|
86
85
|
export declare const FinnalAlert: {
|
|
87
|
-
new (props: Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
86
|
+
new (props: Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
88
87
|
title?: string | undefined;
|
|
89
|
-
confirmText?: string | undefined;
|
|
90
|
-
cancelText?: string | undefined;
|
|
91
88
|
confirmBtnLevel?: string | undefined;
|
|
92
89
|
cancelBtnLevel?: string | undefined;
|
|
90
|
+
confirmText?: string | undefined;
|
|
91
|
+
cancelText?: string | undefined;
|
|
93
92
|
alertBtnLevel?: string | undefined;
|
|
94
93
|
} & {} & {
|
|
95
|
-
locale?: string
|
|
96
|
-
translate?: (
|
|
94
|
+
locale?: string;
|
|
95
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
97
96
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
98
97
|
ref: any;
|
|
99
98
|
childRef: (ref: any) => void;
|
|
100
99
|
getWrappedInstance: () => any;
|
|
101
100
|
render(): React.JSX.Element;
|
|
102
101
|
context: unknown;
|
|
103
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
102
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
104
103
|
title?: string | undefined;
|
|
105
|
-
confirmText?: string | undefined;
|
|
106
|
-
cancelText?: string | undefined;
|
|
107
104
|
confirmBtnLevel?: string | undefined;
|
|
108
105
|
cancelBtnLevel?: string | undefined;
|
|
106
|
+
confirmText?: string | undefined;
|
|
107
|
+
cancelText?: string | undefined;
|
|
109
108
|
alertBtnLevel?: string | undefined;
|
|
110
109
|
} & {} & {
|
|
111
|
-
locale?: string
|
|
112
|
-
translate?: (
|
|
110
|
+
locale?: string;
|
|
111
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
113
112
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
114
113
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
115
|
-
readonly props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
114
|
+
readonly props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
116
115
|
title?: string | undefined;
|
|
117
|
-
confirmText?: string | undefined;
|
|
118
|
-
cancelText?: string | undefined;
|
|
119
116
|
confirmBtnLevel?: string | undefined;
|
|
120
117
|
cancelBtnLevel?: string | undefined;
|
|
118
|
+
confirmText?: string | undefined;
|
|
119
|
+
cancelText?: string | undefined;
|
|
121
120
|
alertBtnLevel?: string | undefined;
|
|
122
121
|
} & {} & {
|
|
123
|
-
locale?: string
|
|
124
|
-
translate?: (
|
|
122
|
+
locale?: string;
|
|
123
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
125
124
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
126
125
|
state: Readonly<{}>;
|
|
127
126
|
refs: {
|
|
128
127
|
[key: string]: React.ReactInstance;
|
|
129
128
|
};
|
|
130
129
|
componentDidMount?(): void;
|
|
131
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
130
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
132
131
|
title?: string | undefined;
|
|
133
|
-
confirmText?: string | undefined;
|
|
134
|
-
cancelText?: string | undefined;
|
|
135
132
|
confirmBtnLevel?: string | undefined;
|
|
136
133
|
cancelBtnLevel?: string | undefined;
|
|
134
|
+
confirmText?: string | undefined;
|
|
135
|
+
cancelText?: string | undefined;
|
|
137
136
|
alertBtnLevel?: string | undefined;
|
|
138
137
|
} & {} & {
|
|
139
|
-
locale?: string
|
|
140
|
-
translate?: (
|
|
138
|
+
locale?: string;
|
|
139
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
141
140
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
142
141
|
componentWillUnmount?(): void;
|
|
143
142
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
144
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
143
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
145
144
|
title?: string | undefined;
|
|
146
|
-
confirmText?: string | undefined;
|
|
147
|
-
cancelText?: string | undefined;
|
|
148
145
|
confirmBtnLevel?: string | undefined;
|
|
149
146
|
cancelBtnLevel?: string | undefined;
|
|
147
|
+
confirmText?: string | undefined;
|
|
148
|
+
cancelText?: string | undefined;
|
|
150
149
|
alertBtnLevel?: string | undefined;
|
|
151
150
|
} & {} & {
|
|
152
|
-
locale?: string
|
|
153
|
-
translate?: (
|
|
151
|
+
locale?: string;
|
|
152
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
154
153
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
155
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
154
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
156
155
|
title?: string | undefined;
|
|
157
|
-
confirmText?: string | undefined;
|
|
158
|
-
cancelText?: string | undefined;
|
|
159
156
|
confirmBtnLevel?: string | undefined;
|
|
160
157
|
cancelBtnLevel?: string | undefined;
|
|
158
|
+
confirmText?: string | undefined;
|
|
159
|
+
cancelText?: string | undefined;
|
|
161
160
|
alertBtnLevel?: string | undefined;
|
|
162
161
|
} & {} & {
|
|
163
|
-
locale?: string
|
|
164
|
-
translate?: (
|
|
162
|
+
locale?: string;
|
|
163
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
165
164
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
166
165
|
componentWillMount?(): void;
|
|
167
166
|
UNSAFE_componentWillMount?(): void;
|
|
168
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
167
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
169
168
|
title?: string | undefined;
|
|
170
|
-
confirmText?: string | undefined;
|
|
171
|
-
cancelText?: string | undefined;
|
|
172
169
|
confirmBtnLevel?: string | undefined;
|
|
173
170
|
cancelBtnLevel?: string | undefined;
|
|
171
|
+
confirmText?: string | undefined;
|
|
172
|
+
cancelText?: string | undefined;
|
|
174
173
|
alertBtnLevel?: string | undefined;
|
|
175
174
|
} & {} & {
|
|
176
|
-
locale?: string
|
|
177
|
-
translate?: (
|
|
175
|
+
locale?: string;
|
|
176
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
178
177
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
179
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
178
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
180
179
|
title?: string | undefined;
|
|
181
|
-
confirmText?: string | undefined;
|
|
182
|
-
cancelText?: string | undefined;
|
|
183
180
|
confirmBtnLevel?: string | undefined;
|
|
184
181
|
cancelBtnLevel?: string | undefined;
|
|
182
|
+
confirmText?: string | undefined;
|
|
183
|
+
cancelText?: string | undefined;
|
|
185
184
|
alertBtnLevel?: string | undefined;
|
|
186
185
|
} & {} & {
|
|
187
|
-
locale?: string
|
|
188
|
-
translate?: (
|
|
186
|
+
locale?: string;
|
|
187
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
189
188
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
190
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
189
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
191
190
|
title?: string | undefined;
|
|
192
|
-
confirmText?: string | undefined;
|
|
193
|
-
cancelText?: string | undefined;
|
|
194
191
|
confirmBtnLevel?: string | undefined;
|
|
195
192
|
cancelBtnLevel?: string | undefined;
|
|
193
|
+
confirmText?: string | undefined;
|
|
194
|
+
cancelText?: string | undefined;
|
|
196
195
|
alertBtnLevel?: string | undefined;
|
|
197
196
|
} & {} & {
|
|
198
|
-
locale?: string
|
|
199
|
-
translate?: (
|
|
197
|
+
locale?: string;
|
|
198
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
200
199
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
201
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
200
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
202
201
|
title?: string | undefined;
|
|
203
|
-
confirmText?: string | undefined;
|
|
204
|
-
cancelText?: string | undefined;
|
|
205
202
|
confirmBtnLevel?: string | undefined;
|
|
206
203
|
cancelBtnLevel?: string | undefined;
|
|
204
|
+
confirmText?: string | undefined;
|
|
205
|
+
cancelText?: string | undefined;
|
|
207
206
|
alertBtnLevel?: string | undefined;
|
|
208
207
|
} & {} & {
|
|
209
|
-
locale?: string
|
|
210
|
-
translate?: (
|
|
208
|
+
locale?: string;
|
|
209
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
211
210
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
212
211
|
};
|
|
213
212
|
displayName: string;
|
|
214
213
|
contextType: React.Context<string>;
|
|
215
214
|
ComposedComponent: React.ComponentType<{
|
|
216
|
-
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
215
|
+
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
217
216
|
title?: string | undefined;
|
|
218
|
-
confirmText?: string | undefined;
|
|
219
|
-
cancelText?: string | undefined;
|
|
220
217
|
confirmBtnLevel?: string | undefined;
|
|
221
218
|
cancelBtnLevel?: string | undefined;
|
|
219
|
+
confirmText?: string | undefined;
|
|
220
|
+
cancelText?: string | undefined;
|
|
222
221
|
alertBtnLevel?: string | undefined;
|
|
223
222
|
} & {} & {
|
|
224
|
-
locale?: string
|
|
225
|
-
translate?: (
|
|
223
|
+
locale?: string;
|
|
224
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
226
225
|
}): {
|
|
227
226
|
ref: any;
|
|
228
227
|
childRef(ref: any): void;
|
|
229
228
|
getWrappedInstance(): any;
|
|
230
229
|
render(): React.JSX.Element;
|
|
231
230
|
context: unknown;
|
|
232
|
-
setState<
|
|
231
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
233
232
|
title?: string | undefined;
|
|
234
|
-
confirmText?: string | undefined;
|
|
235
|
-
cancelText?: string | undefined;
|
|
236
233
|
confirmBtnLevel?: string | undefined;
|
|
237
234
|
cancelBtnLevel?: string | undefined;
|
|
235
|
+
confirmText?: string | undefined;
|
|
236
|
+
cancelText?: string | undefined;
|
|
238
237
|
alertBtnLevel?: string | undefined;
|
|
239
238
|
} & {} & {
|
|
240
|
-
locale?: string
|
|
241
|
-
translate?: (
|
|
242
|
-
}>) => {} | Pick<{},
|
|
239
|
+
locale?: string;
|
|
240
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
241
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
243
242
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
244
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
243
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
245
244
|
title?: string | undefined;
|
|
246
|
-
confirmText?: string | undefined;
|
|
247
|
-
cancelText?: string | undefined;
|
|
248
245
|
confirmBtnLevel?: string | undefined;
|
|
249
246
|
cancelBtnLevel?: string | undefined;
|
|
247
|
+
confirmText?: string | undefined;
|
|
248
|
+
cancelText?: string | undefined;
|
|
250
249
|
alertBtnLevel?: string | undefined;
|
|
251
250
|
} & {} & {
|
|
252
|
-
locale?: string
|
|
253
|
-
translate?: (
|
|
251
|
+
locale?: string;
|
|
252
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
254
253
|
}>;
|
|
255
254
|
state: Readonly<{}>;
|
|
256
255
|
refs: {
|
|
257
256
|
[key: string]: React.ReactInstance;
|
|
258
257
|
};
|
|
259
258
|
componentDidMount?(): void;
|
|
260
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
259
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
261
260
|
title?: string | undefined;
|
|
262
|
-
confirmText?: string | undefined;
|
|
263
|
-
cancelText?: string | undefined;
|
|
264
261
|
confirmBtnLevel?: string | undefined;
|
|
265
262
|
cancelBtnLevel?: string | undefined;
|
|
263
|
+
confirmText?: string | undefined;
|
|
264
|
+
cancelText?: string | undefined;
|
|
266
265
|
alertBtnLevel?: string | undefined;
|
|
267
266
|
} & {} & {
|
|
268
|
-
locale?: string
|
|
269
|
-
translate?: (
|
|
267
|
+
locale?: string;
|
|
268
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
270
269
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
271
270
|
componentWillUnmount?(): void;
|
|
272
271
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
273
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
272
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
274
273
|
title?: string | undefined;
|
|
275
|
-
confirmText?: string | undefined;
|
|
276
|
-
cancelText?: string | undefined;
|
|
277
274
|
confirmBtnLevel?: string | undefined;
|
|
278
275
|
cancelBtnLevel?: string | undefined;
|
|
276
|
+
confirmText?: string | undefined;
|
|
277
|
+
cancelText?: string | undefined;
|
|
279
278
|
alertBtnLevel?: string | undefined;
|
|
280
279
|
} & {} & {
|
|
281
|
-
locale?: string
|
|
282
|
-
translate?: (
|
|
280
|
+
locale?: string;
|
|
281
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
283
282
|
}>, prevState: Readonly<{}>): any;
|
|
284
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
283
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
285
284
|
title?: string | undefined;
|
|
286
|
-
confirmText?: string | undefined;
|
|
287
|
-
cancelText?: string | undefined;
|
|
288
285
|
confirmBtnLevel?: string | undefined;
|
|
289
286
|
cancelBtnLevel?: string | undefined;
|
|
287
|
+
confirmText?: string | undefined;
|
|
288
|
+
cancelText?: string | undefined;
|
|
290
289
|
alertBtnLevel?: string | undefined;
|
|
291
290
|
} & {} & {
|
|
292
|
-
locale?: string
|
|
293
|
-
translate?: (
|
|
291
|
+
locale?: string;
|
|
292
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
294
293
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
295
294
|
componentWillMount?(): void;
|
|
296
295
|
UNSAFE_componentWillMount?(): void;
|
|
297
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
296
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
298
297
|
title?: string | undefined;
|
|
299
|
-
confirmText?: string | undefined;
|
|
300
|
-
cancelText?: string | undefined;
|
|
301
298
|
confirmBtnLevel?: string | undefined;
|
|
302
299
|
cancelBtnLevel?: string | undefined;
|
|
300
|
+
confirmText?: string | undefined;
|
|
301
|
+
cancelText?: string | undefined;
|
|
303
302
|
alertBtnLevel?: string | undefined;
|
|
304
303
|
} & {} & {
|
|
305
|
-
locale?: string
|
|
306
|
-
translate?: (
|
|
304
|
+
locale?: string;
|
|
305
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
307
306
|
}>, nextContext: any): void;
|
|
308
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
307
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
309
308
|
title?: string | undefined;
|
|
310
|
-
confirmText?: string | undefined;
|
|
311
|
-
cancelText?: string | undefined;
|
|
312
309
|
confirmBtnLevel?: string | undefined;
|
|
313
310
|
cancelBtnLevel?: string | undefined;
|
|
311
|
+
confirmText?: string | undefined;
|
|
312
|
+
cancelText?: string | undefined;
|
|
314
313
|
alertBtnLevel?: string | undefined;
|
|
315
314
|
} & {} & {
|
|
316
|
-
locale?: string
|
|
317
|
-
translate?: (
|
|
315
|
+
locale?: string;
|
|
316
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
318
317
|
}>, nextContext: any): void;
|
|
319
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
318
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
320
319
|
title?: string | undefined;
|
|
321
|
-
confirmText?: string | undefined;
|
|
322
|
-
cancelText?: string | undefined;
|
|
323
320
|
confirmBtnLevel?: string | undefined;
|
|
324
321
|
cancelBtnLevel?: string | undefined;
|
|
322
|
+
confirmText?: string | undefined;
|
|
323
|
+
cancelText?: string | undefined;
|
|
325
324
|
alertBtnLevel?: string | undefined;
|
|
326
325
|
} & {} & {
|
|
327
|
-
locale?: string
|
|
328
|
-
translate?: (
|
|
326
|
+
locale?: string;
|
|
327
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
329
328
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
330
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
329
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
331
330
|
title?: string | undefined;
|
|
332
|
-
confirmText?: string | undefined;
|
|
333
|
-
cancelText?: string | undefined;
|
|
334
331
|
confirmBtnLevel?: string | undefined;
|
|
335
332
|
cancelBtnLevel?: string | undefined;
|
|
333
|
+
confirmText?: string | undefined;
|
|
334
|
+
cancelText?: string | undefined;
|
|
336
335
|
alertBtnLevel?: string | undefined;
|
|
337
336
|
} & {} & {
|
|
338
|
-
locale?: string
|
|
339
|
-
translate?: (
|
|
337
|
+
locale?: string;
|
|
338
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
340
339
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
341
340
|
};
|
|
342
341
|
displayName: string;
|
|
@@ -346,130 +345,130 @@ export declare const FinnalAlert: {
|
|
|
346
345
|
ComposedComponent: typeof Alert;
|
|
347
346
|
}>;
|
|
348
347
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
349
|
-
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
348
|
+
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
350
349
|
title?: string | undefined;
|
|
351
|
-
confirmText?: string | undefined;
|
|
352
|
-
cancelText?: string | undefined;
|
|
353
350
|
confirmBtnLevel?: string | undefined;
|
|
354
351
|
cancelBtnLevel?: string | undefined;
|
|
352
|
+
confirmText?: string | undefined;
|
|
353
|
+
cancelText?: string | undefined;
|
|
355
354
|
alertBtnLevel?: string | undefined;
|
|
356
355
|
} & {} & {
|
|
357
|
-
locale?: string
|
|
358
|
-
translate?: (
|
|
356
|
+
locale?: string;
|
|
357
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
359
358
|
}): {
|
|
360
359
|
ref: any;
|
|
361
360
|
childRef(ref: any): void;
|
|
362
361
|
getWrappedInstance(): any;
|
|
363
362
|
render(): React.JSX.Element;
|
|
364
363
|
context: unknown;
|
|
365
|
-
setState<
|
|
364
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
366
365
|
title?: string | undefined;
|
|
367
|
-
confirmText?: string | undefined;
|
|
368
|
-
cancelText?: string | undefined;
|
|
369
366
|
confirmBtnLevel?: string | undefined;
|
|
370
367
|
cancelBtnLevel?: string | undefined;
|
|
368
|
+
confirmText?: string | undefined;
|
|
369
|
+
cancelText?: string | undefined;
|
|
371
370
|
alertBtnLevel?: string | undefined;
|
|
372
371
|
} & {} & {
|
|
373
|
-
locale?: string
|
|
374
|
-
translate?: (
|
|
375
|
-
}>) => {} | Pick<{},
|
|
372
|
+
locale?: string;
|
|
373
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
374
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
376
375
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
377
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
376
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
378
377
|
title?: string | undefined;
|
|
379
|
-
confirmText?: string | undefined;
|
|
380
|
-
cancelText?: string | undefined;
|
|
381
378
|
confirmBtnLevel?: string | undefined;
|
|
382
379
|
cancelBtnLevel?: string | undefined;
|
|
380
|
+
confirmText?: string | undefined;
|
|
381
|
+
cancelText?: string | undefined;
|
|
383
382
|
alertBtnLevel?: string | undefined;
|
|
384
383
|
} & {} & {
|
|
385
|
-
locale?: string
|
|
386
|
-
translate?: (
|
|
384
|
+
locale?: string;
|
|
385
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
387
386
|
}>;
|
|
388
387
|
state: Readonly<{}>;
|
|
389
388
|
refs: {
|
|
390
389
|
[key: string]: React.ReactInstance;
|
|
391
390
|
};
|
|
392
391
|
componentDidMount?(): void;
|
|
393
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
392
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
394
393
|
title?: string | undefined;
|
|
395
|
-
confirmText?: string | undefined;
|
|
396
|
-
cancelText?: string | undefined;
|
|
397
394
|
confirmBtnLevel?: string | undefined;
|
|
398
395
|
cancelBtnLevel?: string | undefined;
|
|
396
|
+
confirmText?: string | undefined;
|
|
397
|
+
cancelText?: string | undefined;
|
|
399
398
|
alertBtnLevel?: string | undefined;
|
|
400
399
|
} & {} & {
|
|
401
|
-
locale?: string
|
|
402
|
-
translate?: (
|
|
400
|
+
locale?: string;
|
|
401
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
403
402
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
404
403
|
componentWillUnmount?(): void;
|
|
405
404
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
406
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
405
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
407
406
|
title?: string | undefined;
|
|
408
|
-
confirmText?: string | undefined;
|
|
409
|
-
cancelText?: string | undefined;
|
|
410
407
|
confirmBtnLevel?: string | undefined;
|
|
411
408
|
cancelBtnLevel?: string | undefined;
|
|
409
|
+
confirmText?: string | undefined;
|
|
410
|
+
cancelText?: string | undefined;
|
|
412
411
|
alertBtnLevel?: string | undefined;
|
|
413
412
|
} & {} & {
|
|
414
|
-
locale?: string
|
|
415
|
-
translate?: (
|
|
413
|
+
locale?: string;
|
|
414
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
416
415
|
}>, prevState: Readonly<{}>): any;
|
|
417
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
416
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
418
417
|
title?: string | undefined;
|
|
419
|
-
confirmText?: string | undefined;
|
|
420
|
-
cancelText?: string | undefined;
|
|
421
418
|
confirmBtnLevel?: string | undefined;
|
|
422
419
|
cancelBtnLevel?: string | undefined;
|
|
420
|
+
confirmText?: string | undefined;
|
|
421
|
+
cancelText?: string | undefined;
|
|
423
422
|
alertBtnLevel?: string | undefined;
|
|
424
423
|
} & {} & {
|
|
425
|
-
locale?: string
|
|
426
|
-
translate?: (
|
|
424
|
+
locale?: string;
|
|
425
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
427
426
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
428
427
|
componentWillMount?(): void;
|
|
429
428
|
UNSAFE_componentWillMount?(): void;
|
|
430
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
429
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
431
430
|
title?: string | undefined;
|
|
432
|
-
confirmText?: string | undefined;
|
|
433
|
-
cancelText?: string | undefined;
|
|
434
431
|
confirmBtnLevel?: string | undefined;
|
|
435
432
|
cancelBtnLevel?: string | undefined;
|
|
433
|
+
confirmText?: string | undefined;
|
|
434
|
+
cancelText?: string | undefined;
|
|
436
435
|
alertBtnLevel?: string | undefined;
|
|
437
436
|
} & {} & {
|
|
438
|
-
locale?: string
|
|
439
|
-
translate?: (
|
|
437
|
+
locale?: string;
|
|
438
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
440
439
|
}>, nextContext: any): void;
|
|
441
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
440
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
442
441
|
title?: string | undefined;
|
|
443
|
-
confirmText?: string | undefined;
|
|
444
|
-
cancelText?: string | undefined;
|
|
445
442
|
confirmBtnLevel?: string | undefined;
|
|
446
443
|
cancelBtnLevel?: string | undefined;
|
|
444
|
+
confirmText?: string | undefined;
|
|
445
|
+
cancelText?: string | undefined;
|
|
447
446
|
alertBtnLevel?: string | undefined;
|
|
448
447
|
} & {} & {
|
|
449
|
-
locale?: string
|
|
450
|
-
translate?: (
|
|
448
|
+
locale?: string;
|
|
449
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
451
450
|
}>, nextContext: any): void;
|
|
452
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
451
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
453
452
|
title?: string | undefined;
|
|
454
|
-
confirmText?: string | undefined;
|
|
455
|
-
cancelText?: string | undefined;
|
|
456
453
|
confirmBtnLevel?: string | undefined;
|
|
457
454
|
cancelBtnLevel?: string | undefined;
|
|
455
|
+
confirmText?: string | undefined;
|
|
456
|
+
cancelText?: string | undefined;
|
|
458
457
|
alertBtnLevel?: string | undefined;
|
|
459
458
|
} & {} & {
|
|
460
|
-
locale?: string
|
|
461
|
-
translate?: (
|
|
459
|
+
locale?: string;
|
|
460
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
462
461
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
463
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
462
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
464
463
|
title?: string | undefined;
|
|
465
|
-
confirmText?: string | undefined;
|
|
466
|
-
cancelText?: string | undefined;
|
|
467
464
|
confirmBtnLevel?: string | undefined;
|
|
468
465
|
cancelBtnLevel?: string | undefined;
|
|
466
|
+
confirmText?: string | undefined;
|
|
467
|
+
cancelText?: string | undefined;
|
|
469
468
|
alertBtnLevel?: string | undefined;
|
|
470
469
|
} & {} & {
|
|
471
|
-
locale?: string
|
|
472
|
-
translate?: (
|
|
470
|
+
locale?: string;
|
|
471
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
473
472
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
474
473
|
};
|
|
475
474
|
displayName: string;
|
|
@@ -479,130 +478,130 @@ export declare const FinnalAlert: {
|
|
|
479
478
|
ComposedComponent: typeof Alert;
|
|
480
479
|
}, {}> & {
|
|
481
480
|
ComposedComponent: {
|
|
482
|
-
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
481
|
+
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
483
482
|
title?: string | undefined;
|
|
484
|
-
confirmText?: string | undefined;
|
|
485
|
-
cancelText?: string | undefined;
|
|
486
483
|
confirmBtnLevel?: string | undefined;
|
|
487
484
|
cancelBtnLevel?: string | undefined;
|
|
485
|
+
confirmText?: string | undefined;
|
|
486
|
+
cancelText?: string | undefined;
|
|
488
487
|
alertBtnLevel?: string | undefined;
|
|
489
488
|
} & {} & {
|
|
490
|
-
locale?: string
|
|
491
|
-
translate?: (
|
|
489
|
+
locale?: string;
|
|
490
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
492
491
|
}): {
|
|
493
492
|
ref: any;
|
|
494
493
|
childRef(ref: any): void;
|
|
495
494
|
getWrappedInstance(): any;
|
|
496
495
|
render(): React.JSX.Element;
|
|
497
496
|
context: unknown;
|
|
498
|
-
setState<
|
|
497
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
499
498
|
title?: string | undefined;
|
|
500
|
-
confirmText?: string | undefined;
|
|
501
|
-
cancelText?: string | undefined;
|
|
502
499
|
confirmBtnLevel?: string | undefined;
|
|
503
500
|
cancelBtnLevel?: string | undefined;
|
|
501
|
+
confirmText?: string | undefined;
|
|
502
|
+
cancelText?: string | undefined;
|
|
504
503
|
alertBtnLevel?: string | undefined;
|
|
505
504
|
} & {} & {
|
|
506
|
-
locale?: string
|
|
507
|
-
translate?: (
|
|
508
|
-
}>) => {} | Pick<{},
|
|
505
|
+
locale?: string;
|
|
506
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
507
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
509
508
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
510
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
509
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
511
510
|
title?: string | undefined;
|
|
512
|
-
confirmText?: string | undefined;
|
|
513
|
-
cancelText?: string | undefined;
|
|
514
511
|
confirmBtnLevel?: string | undefined;
|
|
515
512
|
cancelBtnLevel?: string | undefined;
|
|
513
|
+
confirmText?: string | undefined;
|
|
514
|
+
cancelText?: string | undefined;
|
|
516
515
|
alertBtnLevel?: string | undefined;
|
|
517
516
|
} & {} & {
|
|
518
|
-
locale?: string
|
|
519
|
-
translate?: (
|
|
517
|
+
locale?: string;
|
|
518
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
520
519
|
}>;
|
|
521
520
|
state: Readonly<{}>;
|
|
522
521
|
refs: {
|
|
523
522
|
[key: string]: React.ReactInstance;
|
|
524
523
|
};
|
|
525
524
|
componentDidMount?(): void;
|
|
526
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
525
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
527
526
|
title?: string | undefined;
|
|
528
|
-
confirmText?: string | undefined;
|
|
529
|
-
cancelText?: string | undefined;
|
|
530
527
|
confirmBtnLevel?: string | undefined;
|
|
531
528
|
cancelBtnLevel?: string | undefined;
|
|
529
|
+
confirmText?: string | undefined;
|
|
530
|
+
cancelText?: string | undefined;
|
|
532
531
|
alertBtnLevel?: string | undefined;
|
|
533
532
|
} & {} & {
|
|
534
|
-
locale?: string
|
|
535
|
-
translate?: (
|
|
533
|
+
locale?: string;
|
|
534
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
536
535
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
537
536
|
componentWillUnmount?(): void;
|
|
538
537
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
539
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
538
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
540
539
|
title?: string | undefined;
|
|
541
|
-
confirmText?: string | undefined;
|
|
542
|
-
cancelText?: string | undefined;
|
|
543
540
|
confirmBtnLevel?: string | undefined;
|
|
544
541
|
cancelBtnLevel?: string | undefined;
|
|
542
|
+
confirmText?: string | undefined;
|
|
543
|
+
cancelText?: string | undefined;
|
|
545
544
|
alertBtnLevel?: string | undefined;
|
|
546
545
|
} & {} & {
|
|
547
|
-
locale?: string
|
|
548
|
-
translate?: (
|
|
546
|
+
locale?: string;
|
|
547
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
549
548
|
}>, prevState: Readonly<{}>): any;
|
|
550
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
549
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
551
550
|
title?: string | undefined;
|
|
552
|
-
confirmText?: string | undefined;
|
|
553
|
-
cancelText?: string | undefined;
|
|
554
551
|
confirmBtnLevel?: string | undefined;
|
|
555
552
|
cancelBtnLevel?: string | undefined;
|
|
553
|
+
confirmText?: string | undefined;
|
|
554
|
+
cancelText?: string | undefined;
|
|
556
555
|
alertBtnLevel?: string | undefined;
|
|
557
556
|
} & {} & {
|
|
558
|
-
locale?: string
|
|
559
|
-
translate?: (
|
|
557
|
+
locale?: string;
|
|
558
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
560
559
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
561
560
|
componentWillMount?(): void;
|
|
562
561
|
UNSAFE_componentWillMount?(): void;
|
|
563
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
562
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
564
563
|
title?: string | undefined;
|
|
565
|
-
confirmText?: string | undefined;
|
|
566
|
-
cancelText?: string | undefined;
|
|
567
564
|
confirmBtnLevel?: string | undefined;
|
|
568
565
|
cancelBtnLevel?: string | undefined;
|
|
566
|
+
confirmText?: string | undefined;
|
|
567
|
+
cancelText?: string | undefined;
|
|
569
568
|
alertBtnLevel?: string | undefined;
|
|
570
569
|
} & {} & {
|
|
571
|
-
locale?: string
|
|
572
|
-
translate?: (
|
|
570
|
+
locale?: string;
|
|
571
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
573
572
|
}>, nextContext: any): void;
|
|
574
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
573
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
575
574
|
title?: string | undefined;
|
|
576
|
-
confirmText?: string | undefined;
|
|
577
|
-
cancelText?: string | undefined;
|
|
578
575
|
confirmBtnLevel?: string | undefined;
|
|
579
576
|
cancelBtnLevel?: string | undefined;
|
|
577
|
+
confirmText?: string | undefined;
|
|
578
|
+
cancelText?: string | undefined;
|
|
580
579
|
alertBtnLevel?: string | undefined;
|
|
581
580
|
} & {} & {
|
|
582
|
-
locale?: string
|
|
583
|
-
translate?: (
|
|
581
|
+
locale?: string;
|
|
582
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
584
583
|
}>, nextContext: any): void;
|
|
585
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
584
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
586
585
|
title?: string | undefined;
|
|
587
|
-
confirmText?: string | undefined;
|
|
588
|
-
cancelText?: string | undefined;
|
|
589
586
|
confirmBtnLevel?: string | undefined;
|
|
590
587
|
cancelBtnLevel?: string | undefined;
|
|
588
|
+
confirmText?: string | undefined;
|
|
589
|
+
cancelText?: string | undefined;
|
|
591
590
|
alertBtnLevel?: string | undefined;
|
|
592
591
|
} & {} & {
|
|
593
|
-
locale?: string
|
|
594
|
-
translate?: (
|
|
592
|
+
locale?: string;
|
|
593
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
595
594
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
596
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "
|
|
595
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "container" | "children" | "className" | "style" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "closeOnEsc" | "size" | "isolate"> & {
|
|
597
596
|
title?: string | undefined;
|
|
598
|
-
confirmText?: string | undefined;
|
|
599
|
-
cancelText?: string | undefined;
|
|
600
597
|
confirmBtnLevel?: string | undefined;
|
|
601
598
|
cancelBtnLevel?: string | undefined;
|
|
599
|
+
confirmText?: string | undefined;
|
|
600
|
+
cancelText?: string | undefined;
|
|
602
601
|
alertBtnLevel?: string | undefined;
|
|
603
602
|
} & {} & {
|
|
604
|
-
locale?: string
|
|
605
|
-
translate?: (
|
|
603
|
+
locale?: string;
|
|
604
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
606
605
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
607
606
|
};
|
|
608
607
|
displayName: string;
|