amis-ui 6.14.0-beta.7 → 6.14.0-beta.9
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 +3 -3
- 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 +100 -101
- 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 +30 -31
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +163 -164
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +190 -191
- 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 +180 -181
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +40 -41
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +123 -124
- package/esm/components/ColorPicker.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +398 -398
- 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 +163 -164
- 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 +1 -1
- package/esm/components/Pagination.d.ts +283 -284
- 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 +3 -3
- package/esm/components/PopUp.d.ts +163 -164
- package/esm/components/PopUp.js +3 -3
- package/esm/components/Progress.d.ts +60 -61
- 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 +3 -3
- 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 +3 -3
- 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 +624 -1566
- package/esm/components/Select.js +1 -1
- package/esm/components/SelectMobile.js +1 -1
- 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 +106 -107
- package/esm/components/Tabs.js +8 -7
- 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 +90 -91
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +123 -124
- package/esm/components/Textarea.js +3 -3
- 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 +3 -3
- package/esm/components/TitleBar.d.ts +0 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +203 -204
- 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 +20 -21
- package/esm/components/TooltipWrapper.js +1 -1
- 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 +725 -726
- package/esm/components/Tree.js +1 -1
- 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 +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +3 -4
- package/esm/components/condition-builder/GroupOrItem.js +3 -3
- 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 +4 -2
- package/esm/components/condition-builder/Value.d.ts +88 -89
- package/esm/components/condition-builder/Value.js +1 -1
- 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 +3 -3
- 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 +70 -71
- 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 +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +163 -164
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.d.ts +123 -124
- package/esm/components/table/HeadCellSelect.js +1 -1
- 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 +1 -1
- package/esm/components/table/util.d.ts +51 -20
- package/esm/components/table/util.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.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 +23 -23
- 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 +2 -2
- package/lib/components/AsideNav.d.ts +20 -21
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +163 -164
- 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 +140 -141
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +2 -50
- 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 +20 -21
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +163 -164
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +220 -221
- 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 +163 -164
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +163 -164
- 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 +200 -201
- 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 +1 -1
- 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 +103 -104
- package/lib/components/ConfirmBox.js +1 -1
- 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 +1 -1
- 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 +32 -33
- package/lib/components/Drawer.js +2 -2
- package/lib/components/DropDownSelection.d.ts +163 -164
- package/lib/components/DropDownSelection.js +1 -1
- 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 +163 -164
- 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 +1 -1
- 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 +10 -21
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.d.ts +0 -1
- package/lib/components/OverflowTpl.js +1 -1
- 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 +2 -2
- package/lib/components/PopUp.d.ts +203 -204
- package/lib/components/PopUp.js +2 -2
- package/lib/components/Progress.d.ts +90 -91
- 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 +30 -31
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +0 -5
- package/lib/components/Range.js +2 -2
- 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 +123 -124
- package/lib/components/ResultList.js +2 -2
- package/lib/components/ResultTableList.d.ts +204 -205
- 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 +2687 -3629
- package/lib/components/Select.js +1 -1
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.d.ts +163 -164
- 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 +80 -81
- 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 +204 -205
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +146 -147
- package/lib/components/Tabs.js +6 -5
- 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 +110 -111
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +123 -124
- package/lib/components/Textarea.js +2 -2
- 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 +2 -2
- 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 +30 -31
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +450 -461
- package/lib/components/Transfer.js +3 -3
- package/lib/components/TransferDropDown.d.ts +243 -244
- 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 +968 -969
- package/lib/components/Tree.js +1 -1
- package/lib/components/TreeSelection.d.ts +203 -204
- 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 +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +3 -4
- package/lib/components/condition-builder/GroupOrItem.js +2 -2
- 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 +4 -2
- package/lib/components/condition-builder/Value.d.ts +88 -89
- package/lib/components/condition-builder/Value.js +1 -1
- 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 +2 -2
- 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 +70 -71
- 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 +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +163 -164
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +123 -124
- package/lib/components/table/HeadCellSelect.js +1 -1
- 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 +1 -1
- package/lib/components/table/util.d.ts +51 -20
- package/lib/components/table/util.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.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.js +1 -1
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.js +1 -1
- package/lib/utils/vectorComputed.js +1 -1
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +4 -4
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* @description
|
|
4
4
|
* @author fex
|
|
5
5
|
*/
|
|
6
|
-
/// <reference types="hoist-non-react-statics" />
|
|
7
6
|
import React from 'react';
|
|
8
7
|
import { ThemeProps } from 'amis-core';
|
|
9
8
|
import { LocaleProps } from 'amis-core';
|
|
@@ -47,14 +46,14 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
47
46
|
modalDom: HTMLElement;
|
|
48
47
|
static Header: {
|
|
49
48
|
new (props: Omit<Omit<ThemeProps & LocaleProps & {
|
|
50
|
-
className?: string
|
|
51
|
-
showCloseButton?: boolean
|
|
52
|
-
onClose?: (
|
|
49
|
+
className?: string;
|
|
50
|
+
showCloseButton?: boolean;
|
|
51
|
+
onClose?: () => void;
|
|
53
52
|
children?: React.ReactNode;
|
|
54
53
|
forwardedRef?: any;
|
|
55
54
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
56
|
-
locale?: string
|
|
57
|
-
translate?: (
|
|
55
|
+
locale?: string;
|
|
56
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
58
57
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
59
58
|
ref: any;
|
|
60
59
|
childRef: (ref: any) => void;
|
|
@@ -62,25 +61,25 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
62
61
|
render(): React.JSX.Element;
|
|
63
62
|
context: unknown;
|
|
64
63
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<ThemeProps & LocaleProps & {
|
|
65
|
-
className?: string
|
|
66
|
-
showCloseButton?: boolean
|
|
67
|
-
onClose?: (
|
|
64
|
+
className?: string;
|
|
65
|
+
showCloseButton?: boolean;
|
|
66
|
+
onClose?: () => void;
|
|
68
67
|
children?: React.ReactNode;
|
|
69
68
|
forwardedRef?: any;
|
|
70
69
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
71
|
-
locale?: string
|
|
72
|
-
translate?: (
|
|
70
|
+
locale?: string;
|
|
71
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
73
72
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
74
73
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
75
74
|
readonly props: Readonly<Omit<Omit<ThemeProps & LocaleProps & {
|
|
76
|
-
className?: string
|
|
77
|
-
showCloseButton?: boolean
|
|
78
|
-
onClose?: (
|
|
75
|
+
className?: string;
|
|
76
|
+
showCloseButton?: boolean;
|
|
77
|
+
onClose?: () => void;
|
|
79
78
|
children?: React.ReactNode;
|
|
80
79
|
forwardedRef?: any;
|
|
81
80
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
82
|
-
locale?: string
|
|
83
|
-
translate?: (
|
|
81
|
+
locale?: string;
|
|
82
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
84
83
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
85
84
|
state: Readonly<{}>;
|
|
86
85
|
refs: {
|
|
@@ -88,118 +87,118 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
88
87
|
};
|
|
89
88
|
componentDidMount?(): void;
|
|
90
89
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<ThemeProps & LocaleProps & {
|
|
91
|
-
className?: string
|
|
92
|
-
showCloseButton?: boolean
|
|
93
|
-
onClose?: (
|
|
90
|
+
className?: string;
|
|
91
|
+
showCloseButton?: boolean;
|
|
92
|
+
onClose?: () => void;
|
|
94
93
|
children?: React.ReactNode;
|
|
95
94
|
forwardedRef?: any;
|
|
96
95
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
97
|
-
locale?: string
|
|
98
|
-
translate?: (
|
|
96
|
+
locale?: string;
|
|
97
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
99
98
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
100
99
|
componentWillUnmount?(): void;
|
|
101
100
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
102
101
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<ThemeProps & LocaleProps & {
|
|
103
|
-
className?: string
|
|
104
|
-
showCloseButton?: boolean
|
|
105
|
-
onClose?: (
|
|
102
|
+
className?: string;
|
|
103
|
+
showCloseButton?: boolean;
|
|
104
|
+
onClose?: () => void;
|
|
106
105
|
children?: React.ReactNode;
|
|
107
106
|
forwardedRef?: any;
|
|
108
107
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
109
|
-
locale?: string
|
|
110
|
-
translate?: (
|
|
108
|
+
locale?: string;
|
|
109
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
111
110
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
112
111
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<ThemeProps & LocaleProps & {
|
|
113
|
-
className?: string
|
|
114
|
-
showCloseButton?: boolean
|
|
115
|
-
onClose?: (
|
|
112
|
+
className?: string;
|
|
113
|
+
showCloseButton?: boolean;
|
|
114
|
+
onClose?: () => void;
|
|
116
115
|
children?: React.ReactNode;
|
|
117
116
|
forwardedRef?: any;
|
|
118
117
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
119
|
-
locale?: string
|
|
120
|
-
translate?: (
|
|
118
|
+
locale?: string;
|
|
119
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
121
120
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
122
121
|
componentWillMount?(): void;
|
|
123
122
|
UNSAFE_componentWillMount?(): void;
|
|
124
123
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ThemeProps & LocaleProps & {
|
|
125
|
-
className?: string
|
|
126
|
-
showCloseButton?: boolean
|
|
127
|
-
onClose?: (
|
|
124
|
+
className?: string;
|
|
125
|
+
showCloseButton?: boolean;
|
|
126
|
+
onClose?: () => void;
|
|
128
127
|
children?: React.ReactNode;
|
|
129
128
|
forwardedRef?: any;
|
|
130
129
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
131
|
-
locale?: string
|
|
132
|
-
translate?: (
|
|
130
|
+
locale?: string;
|
|
131
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
133
132
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
134
133
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ThemeProps & LocaleProps & {
|
|
135
|
-
className?: string
|
|
136
|
-
showCloseButton?: boolean
|
|
137
|
-
onClose?: (
|
|
134
|
+
className?: string;
|
|
135
|
+
showCloseButton?: boolean;
|
|
136
|
+
onClose?: () => void;
|
|
138
137
|
children?: React.ReactNode;
|
|
139
138
|
forwardedRef?: any;
|
|
140
139
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
141
|
-
locale?: string
|
|
142
|
-
translate?: (
|
|
140
|
+
locale?: string;
|
|
141
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
143
142
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
144
143
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<ThemeProps & LocaleProps & {
|
|
145
|
-
className?: string
|
|
146
|
-
showCloseButton?: boolean
|
|
147
|
-
onClose?: (
|
|
144
|
+
className?: string;
|
|
145
|
+
showCloseButton?: boolean;
|
|
146
|
+
onClose?: () => void;
|
|
148
147
|
children?: React.ReactNode;
|
|
149
148
|
forwardedRef?: any;
|
|
150
149
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
151
|
-
locale?: string
|
|
152
|
-
translate?: (
|
|
150
|
+
locale?: string;
|
|
151
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
153
152
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
154
153
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<ThemeProps & LocaleProps & {
|
|
155
|
-
className?: string
|
|
156
|
-
showCloseButton?: boolean
|
|
157
|
-
onClose?: (
|
|
154
|
+
className?: string;
|
|
155
|
+
showCloseButton?: boolean;
|
|
156
|
+
onClose?: () => void;
|
|
158
157
|
children?: React.ReactNode;
|
|
159
158
|
forwardedRef?: any;
|
|
160
159
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
161
|
-
locale?: string
|
|
162
|
-
translate?: (
|
|
160
|
+
locale?: string;
|
|
161
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
163
162
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
164
163
|
};
|
|
165
164
|
displayName: string;
|
|
166
165
|
contextType: React.Context<string>;
|
|
167
166
|
ComposedComponent: React.ComponentType<{
|
|
168
167
|
new (props: Omit<ThemeProps & LocaleProps & {
|
|
169
|
-
className?: string
|
|
170
|
-
showCloseButton?: boolean
|
|
171
|
-
onClose?: (
|
|
168
|
+
className?: string;
|
|
169
|
+
showCloseButton?: boolean;
|
|
170
|
+
onClose?: () => void;
|
|
172
171
|
children?: React.ReactNode;
|
|
173
172
|
forwardedRef?: any;
|
|
174
173
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
175
|
-
locale?: string
|
|
176
|
-
translate?: (
|
|
174
|
+
locale?: string;
|
|
175
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
177
176
|
}): {
|
|
178
177
|
ref: any;
|
|
179
178
|
childRef(ref: any): void;
|
|
180
179
|
getWrappedInstance(): any;
|
|
181
180
|
render(): React.JSX.Element;
|
|
182
181
|
context: unknown;
|
|
183
|
-
setState<
|
|
184
|
-
className?: string
|
|
185
|
-
showCloseButton?: boolean
|
|
186
|
-
onClose?: (
|
|
182
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
183
|
+
className?: string;
|
|
184
|
+
showCloseButton?: boolean;
|
|
185
|
+
onClose?: () => void;
|
|
187
186
|
children?: React.ReactNode;
|
|
188
187
|
forwardedRef?: any;
|
|
189
188
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
190
|
-
locale?: string
|
|
191
|
-
translate?: (
|
|
192
|
-
}>) => {} | Pick<{},
|
|
189
|
+
locale?: string;
|
|
190
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
191
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
193
192
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
194
193
|
readonly props: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
195
|
-
className?: string
|
|
196
|
-
showCloseButton?: boolean
|
|
197
|
-
onClose?: (
|
|
194
|
+
className?: string;
|
|
195
|
+
showCloseButton?: boolean;
|
|
196
|
+
onClose?: () => void;
|
|
198
197
|
children?: React.ReactNode;
|
|
199
198
|
forwardedRef?: any;
|
|
200
199
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
201
|
-
locale?: string
|
|
202
|
-
translate?: (
|
|
200
|
+
locale?: string;
|
|
201
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
203
202
|
}>;
|
|
204
203
|
state: Readonly<{}>;
|
|
205
204
|
refs: {
|
|
@@ -207,140 +206,140 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
207
206
|
};
|
|
208
207
|
componentDidMount?(): void;
|
|
209
208
|
shouldComponentUpdate?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
210
|
-
className?: string
|
|
211
|
-
showCloseButton?: boolean
|
|
212
|
-
onClose?: (
|
|
209
|
+
className?: string;
|
|
210
|
+
showCloseButton?: boolean;
|
|
211
|
+
onClose?: () => void;
|
|
213
212
|
children?: React.ReactNode;
|
|
214
213
|
forwardedRef?: any;
|
|
215
214
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
216
|
-
locale?: string
|
|
217
|
-
translate?: (
|
|
215
|
+
locale?: string;
|
|
216
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
218
217
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
219
218
|
componentWillUnmount?(): void;
|
|
220
219
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
221
220
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
222
|
-
className?: string
|
|
223
|
-
showCloseButton?: boolean
|
|
224
|
-
onClose?: (
|
|
221
|
+
className?: string;
|
|
222
|
+
showCloseButton?: boolean;
|
|
223
|
+
onClose?: () => void;
|
|
225
224
|
children?: React.ReactNode;
|
|
226
225
|
forwardedRef?: any;
|
|
227
226
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
228
|
-
locale?: string
|
|
229
|
-
translate?: (
|
|
227
|
+
locale?: string;
|
|
228
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
230
229
|
}>, prevState: Readonly<{}>): any;
|
|
231
230
|
componentDidUpdate?(prevProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
232
|
-
className?: string
|
|
233
|
-
showCloseButton?: boolean
|
|
234
|
-
onClose?: (
|
|
231
|
+
className?: string;
|
|
232
|
+
showCloseButton?: boolean;
|
|
233
|
+
onClose?: () => void;
|
|
235
234
|
children?: React.ReactNode;
|
|
236
235
|
forwardedRef?: any;
|
|
237
236
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
238
|
-
locale?: string
|
|
239
|
-
translate?: (
|
|
237
|
+
locale?: string;
|
|
238
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
240
239
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
241
240
|
componentWillMount?(): void;
|
|
242
241
|
UNSAFE_componentWillMount?(): void;
|
|
243
242
|
componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
244
|
-
className?: string
|
|
245
|
-
showCloseButton?: boolean
|
|
246
|
-
onClose?: (
|
|
243
|
+
className?: string;
|
|
244
|
+
showCloseButton?: boolean;
|
|
245
|
+
onClose?: () => void;
|
|
247
246
|
children?: React.ReactNode;
|
|
248
247
|
forwardedRef?: any;
|
|
249
248
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
250
|
-
locale?: string
|
|
251
|
-
translate?: (
|
|
249
|
+
locale?: string;
|
|
250
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
252
251
|
}>, nextContext: any): void;
|
|
253
252
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
254
|
-
className?: string
|
|
255
|
-
showCloseButton?: boolean
|
|
256
|
-
onClose?: (
|
|
253
|
+
className?: string;
|
|
254
|
+
showCloseButton?: boolean;
|
|
255
|
+
onClose?: () => void;
|
|
257
256
|
children?: React.ReactNode;
|
|
258
257
|
forwardedRef?: any;
|
|
259
258
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
260
|
-
locale?: string
|
|
261
|
-
translate?: (
|
|
259
|
+
locale?: string;
|
|
260
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
262
261
|
}>, nextContext: any): void;
|
|
263
262
|
componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
264
|
-
className?: string
|
|
265
|
-
showCloseButton?: boolean
|
|
266
|
-
onClose?: (
|
|
263
|
+
className?: string;
|
|
264
|
+
showCloseButton?: boolean;
|
|
265
|
+
onClose?: () => void;
|
|
267
266
|
children?: React.ReactNode;
|
|
268
267
|
forwardedRef?: any;
|
|
269
268
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
270
|
-
locale?: string
|
|
271
|
-
translate?: (
|
|
269
|
+
locale?: string;
|
|
270
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
272
271
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
273
272
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
274
|
-
className?: string
|
|
275
|
-
showCloseButton?: boolean
|
|
276
|
-
onClose?: (
|
|
273
|
+
className?: string;
|
|
274
|
+
showCloseButton?: boolean;
|
|
275
|
+
onClose?: () => void;
|
|
277
276
|
children?: React.ReactNode;
|
|
278
277
|
forwardedRef?: any;
|
|
279
278
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
280
|
-
locale?: string
|
|
281
|
-
translate?: (
|
|
279
|
+
locale?: string;
|
|
280
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
282
281
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
283
282
|
};
|
|
284
283
|
displayName: string;
|
|
285
284
|
contextType: React.Context<string>;
|
|
286
285
|
ComposedComponent: React.ComponentType<({ classnames: cx, className, showCloseButton, onClose, children, classPrefix, translate: __, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
|
|
287
|
-
className?: string
|
|
288
|
-
showCloseButton?: boolean
|
|
289
|
-
onClose?: (
|
|
286
|
+
className?: string;
|
|
287
|
+
showCloseButton?: boolean;
|
|
288
|
+
onClose?: () => void;
|
|
290
289
|
children?: React.ReactNode;
|
|
291
290
|
forwardedRef?: any;
|
|
292
291
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element>;
|
|
293
292
|
} & import("hoist-non-react-statics").NonReactStatics<({ classnames: cx, className, showCloseButton, onClose, children, classPrefix, translate: __, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
|
|
294
|
-
className?: string
|
|
295
|
-
showCloseButton?: boolean
|
|
296
|
-
onClose?: (
|
|
293
|
+
className?: string;
|
|
294
|
+
showCloseButton?: boolean;
|
|
295
|
+
onClose?: () => void;
|
|
297
296
|
children?: React.ReactNode;
|
|
298
297
|
forwardedRef?: any;
|
|
299
298
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element, {}> & {
|
|
300
299
|
ComposedComponent: ({ classnames: cx, className, showCloseButton, onClose, children, classPrefix, translate: __, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
|
|
301
|
-
className?: string
|
|
302
|
-
showCloseButton?: boolean
|
|
303
|
-
onClose?: (
|
|
300
|
+
className?: string;
|
|
301
|
+
showCloseButton?: boolean;
|
|
302
|
+
onClose?: () => void;
|
|
304
303
|
children?: React.ReactNode;
|
|
305
304
|
forwardedRef?: any;
|
|
306
305
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
307
306
|
}>;
|
|
308
307
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
309
308
|
new (props: Omit<ThemeProps & LocaleProps & {
|
|
310
|
-
className?: string
|
|
311
|
-
showCloseButton?: boolean
|
|
312
|
-
onClose?: (
|
|
309
|
+
className?: string;
|
|
310
|
+
showCloseButton?: boolean;
|
|
311
|
+
onClose?: () => void;
|
|
313
312
|
children?: React.ReactNode;
|
|
314
313
|
forwardedRef?: any;
|
|
315
314
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
316
|
-
locale?: string
|
|
317
|
-
translate?: (
|
|
315
|
+
locale?: string;
|
|
316
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
318
317
|
}): {
|
|
319
318
|
ref: any;
|
|
320
319
|
childRef(ref: any): void;
|
|
321
320
|
getWrappedInstance(): any;
|
|
322
321
|
render(): React.JSX.Element;
|
|
323
322
|
context: unknown;
|
|
324
|
-
setState<
|
|
325
|
-
className?: string
|
|
326
|
-
showCloseButton?: boolean
|
|
327
|
-
onClose?: (
|
|
323
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
324
|
+
className?: string;
|
|
325
|
+
showCloseButton?: boolean;
|
|
326
|
+
onClose?: () => void;
|
|
328
327
|
children?: React.ReactNode;
|
|
329
328
|
forwardedRef?: any;
|
|
330
329
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
331
|
-
locale?: string
|
|
332
|
-
translate?: (
|
|
333
|
-
}>) => {} | Pick<{},
|
|
330
|
+
locale?: string;
|
|
331
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
332
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
334
333
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
335
334
|
readonly props: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
336
|
-
className?: string
|
|
337
|
-
showCloseButton?: boolean
|
|
338
|
-
onClose?: (
|
|
335
|
+
className?: string;
|
|
336
|
+
showCloseButton?: boolean;
|
|
337
|
+
onClose?: () => void;
|
|
339
338
|
children?: React.ReactNode;
|
|
340
339
|
forwardedRef?: any;
|
|
341
340
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
342
|
-
locale?: string
|
|
343
|
-
translate?: (
|
|
341
|
+
locale?: string;
|
|
342
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
344
343
|
}>;
|
|
345
344
|
state: Readonly<{}>;
|
|
346
345
|
refs: {
|
|
@@ -348,140 +347,140 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
348
347
|
};
|
|
349
348
|
componentDidMount?(): void;
|
|
350
349
|
shouldComponentUpdate?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
351
|
-
className?: string
|
|
352
|
-
showCloseButton?: boolean
|
|
353
|
-
onClose?: (
|
|
350
|
+
className?: string;
|
|
351
|
+
showCloseButton?: boolean;
|
|
352
|
+
onClose?: () => void;
|
|
354
353
|
children?: React.ReactNode;
|
|
355
354
|
forwardedRef?: any;
|
|
356
355
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
357
|
-
locale?: string
|
|
358
|
-
translate?: (
|
|
356
|
+
locale?: string;
|
|
357
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
359
358
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
360
359
|
componentWillUnmount?(): void;
|
|
361
360
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
362
361
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
363
|
-
className?: string
|
|
364
|
-
showCloseButton?: boolean
|
|
365
|
-
onClose?: (
|
|
362
|
+
className?: string;
|
|
363
|
+
showCloseButton?: boolean;
|
|
364
|
+
onClose?: () => void;
|
|
366
365
|
children?: React.ReactNode;
|
|
367
366
|
forwardedRef?: any;
|
|
368
367
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
369
|
-
locale?: string
|
|
370
|
-
translate?: (
|
|
368
|
+
locale?: string;
|
|
369
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
371
370
|
}>, prevState: Readonly<{}>): any;
|
|
372
371
|
componentDidUpdate?(prevProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
373
|
-
className?: string
|
|
374
|
-
showCloseButton?: boolean
|
|
375
|
-
onClose?: (
|
|
372
|
+
className?: string;
|
|
373
|
+
showCloseButton?: boolean;
|
|
374
|
+
onClose?: () => void;
|
|
376
375
|
children?: React.ReactNode;
|
|
377
376
|
forwardedRef?: any;
|
|
378
377
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
379
|
-
locale?: string
|
|
380
|
-
translate?: (
|
|
378
|
+
locale?: string;
|
|
379
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
381
380
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
382
381
|
componentWillMount?(): void;
|
|
383
382
|
UNSAFE_componentWillMount?(): void;
|
|
384
383
|
componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
385
|
-
className?: string
|
|
386
|
-
showCloseButton?: boolean
|
|
387
|
-
onClose?: (
|
|
384
|
+
className?: string;
|
|
385
|
+
showCloseButton?: boolean;
|
|
386
|
+
onClose?: () => void;
|
|
388
387
|
children?: React.ReactNode;
|
|
389
388
|
forwardedRef?: any;
|
|
390
389
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
391
|
-
locale?: string
|
|
392
|
-
translate?: (
|
|
390
|
+
locale?: string;
|
|
391
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
393
392
|
}>, nextContext: any): void;
|
|
394
393
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
395
|
-
className?: string
|
|
396
|
-
showCloseButton?: boolean
|
|
397
|
-
onClose?: (
|
|
394
|
+
className?: string;
|
|
395
|
+
showCloseButton?: boolean;
|
|
396
|
+
onClose?: () => void;
|
|
398
397
|
children?: React.ReactNode;
|
|
399
398
|
forwardedRef?: any;
|
|
400
399
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
401
|
-
locale?: string
|
|
402
|
-
translate?: (
|
|
400
|
+
locale?: string;
|
|
401
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
403
402
|
}>, nextContext: any): void;
|
|
404
403
|
componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
405
|
-
className?: string
|
|
406
|
-
showCloseButton?: boolean
|
|
407
|
-
onClose?: (
|
|
404
|
+
className?: string;
|
|
405
|
+
showCloseButton?: boolean;
|
|
406
|
+
onClose?: () => void;
|
|
408
407
|
children?: React.ReactNode;
|
|
409
408
|
forwardedRef?: any;
|
|
410
409
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
411
|
-
locale?: string
|
|
412
|
-
translate?: (
|
|
410
|
+
locale?: string;
|
|
411
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
413
412
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
414
413
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
415
|
-
className?: string
|
|
416
|
-
showCloseButton?: boolean
|
|
417
|
-
onClose?: (
|
|
414
|
+
className?: string;
|
|
415
|
+
showCloseButton?: boolean;
|
|
416
|
+
onClose?: () => void;
|
|
418
417
|
children?: React.ReactNode;
|
|
419
418
|
forwardedRef?: any;
|
|
420
419
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
421
|
-
locale?: string
|
|
422
|
-
translate?: (
|
|
420
|
+
locale?: string;
|
|
421
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
423
422
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
424
423
|
};
|
|
425
424
|
displayName: string;
|
|
426
425
|
contextType: React.Context<string>;
|
|
427
426
|
ComposedComponent: React.ComponentType<({ classnames: cx, className, showCloseButton, onClose, children, classPrefix, translate: __, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
|
|
428
|
-
className?: string
|
|
429
|
-
showCloseButton?: boolean
|
|
430
|
-
onClose?: (
|
|
427
|
+
className?: string;
|
|
428
|
+
showCloseButton?: boolean;
|
|
429
|
+
onClose?: () => void;
|
|
431
430
|
children?: React.ReactNode;
|
|
432
431
|
forwardedRef?: any;
|
|
433
432
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element>;
|
|
434
433
|
} & import("hoist-non-react-statics").NonReactStatics<({ classnames: cx, className, showCloseButton, onClose, children, classPrefix, translate: __, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
|
|
435
|
-
className?: string
|
|
436
|
-
showCloseButton?: boolean
|
|
437
|
-
onClose?: (
|
|
434
|
+
className?: string;
|
|
435
|
+
showCloseButton?: boolean;
|
|
436
|
+
onClose?: () => void;
|
|
438
437
|
children?: React.ReactNode;
|
|
439
438
|
forwardedRef?: any;
|
|
440
439
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element, {}> & {
|
|
441
440
|
ComposedComponent: ({ classnames: cx, className, showCloseButton, onClose, children, classPrefix, translate: __, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
|
|
442
|
-
className?: string
|
|
443
|
-
showCloseButton?: boolean
|
|
444
|
-
onClose?: (
|
|
441
|
+
className?: string;
|
|
442
|
+
showCloseButton?: boolean;
|
|
443
|
+
onClose?: () => void;
|
|
445
444
|
children?: React.ReactNode;
|
|
446
445
|
forwardedRef?: any;
|
|
447
446
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
448
447
|
}, {}> & {
|
|
449
448
|
ComposedComponent: {
|
|
450
449
|
new (props: Omit<ThemeProps & LocaleProps & {
|
|
451
|
-
className?: string
|
|
452
|
-
showCloseButton?: boolean
|
|
453
|
-
onClose?: (
|
|
450
|
+
className?: string;
|
|
451
|
+
showCloseButton?: boolean;
|
|
452
|
+
onClose?: () => void;
|
|
454
453
|
children?: React.ReactNode;
|
|
455
454
|
forwardedRef?: any;
|
|
456
455
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
457
|
-
locale?: string
|
|
458
|
-
translate?: (
|
|
456
|
+
locale?: string;
|
|
457
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
459
458
|
}): {
|
|
460
459
|
ref: any;
|
|
461
460
|
childRef(ref: any): void;
|
|
462
461
|
getWrappedInstance(): any;
|
|
463
462
|
render(): React.JSX.Element;
|
|
464
463
|
context: unknown;
|
|
465
|
-
setState<
|
|
466
|
-
className?: string
|
|
467
|
-
showCloseButton?: boolean
|
|
468
|
-
onClose?: (
|
|
464
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
465
|
+
className?: string;
|
|
466
|
+
showCloseButton?: boolean;
|
|
467
|
+
onClose?: () => void;
|
|
469
468
|
children?: React.ReactNode;
|
|
470
469
|
forwardedRef?: any;
|
|
471
470
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
472
|
-
locale?: string
|
|
473
|
-
translate?: (
|
|
474
|
-
}>) => {} | Pick<{},
|
|
471
|
+
locale?: string;
|
|
472
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
473
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
475
474
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
476
475
|
readonly props: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
477
|
-
className?: string
|
|
478
|
-
showCloseButton?: boolean
|
|
479
|
-
onClose?: (
|
|
476
|
+
className?: string;
|
|
477
|
+
showCloseButton?: boolean;
|
|
478
|
+
onClose?: () => void;
|
|
480
479
|
children?: React.ReactNode;
|
|
481
480
|
forwardedRef?: any;
|
|
482
481
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
483
|
-
locale?: string
|
|
484
|
-
translate?: (
|
|
482
|
+
locale?: string;
|
|
483
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
485
484
|
}>;
|
|
486
485
|
state: Readonly<{}>;
|
|
487
486
|
refs: {
|
|
@@ -489,100 +488,100 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
489
488
|
};
|
|
490
489
|
componentDidMount?(): void;
|
|
491
490
|
shouldComponentUpdate?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
492
|
-
className?: string
|
|
493
|
-
showCloseButton?: boolean
|
|
494
|
-
onClose?: (
|
|
491
|
+
className?: string;
|
|
492
|
+
showCloseButton?: boolean;
|
|
493
|
+
onClose?: () => void;
|
|
495
494
|
children?: React.ReactNode;
|
|
496
495
|
forwardedRef?: any;
|
|
497
496
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
498
|
-
locale?: string
|
|
499
|
-
translate?: (
|
|
497
|
+
locale?: string;
|
|
498
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
500
499
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
501
500
|
componentWillUnmount?(): void;
|
|
502
501
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
503
502
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
504
|
-
className?: string
|
|
505
|
-
showCloseButton?: boolean
|
|
506
|
-
onClose?: (
|
|
503
|
+
className?: string;
|
|
504
|
+
showCloseButton?: boolean;
|
|
505
|
+
onClose?: () => void;
|
|
507
506
|
children?: React.ReactNode;
|
|
508
507
|
forwardedRef?: any;
|
|
509
508
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
510
|
-
locale?: string
|
|
511
|
-
translate?: (
|
|
509
|
+
locale?: string;
|
|
510
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
512
511
|
}>, prevState: Readonly<{}>): any;
|
|
513
512
|
componentDidUpdate?(prevProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
514
|
-
className?: string
|
|
515
|
-
showCloseButton?: boolean
|
|
516
|
-
onClose?: (
|
|
513
|
+
className?: string;
|
|
514
|
+
showCloseButton?: boolean;
|
|
515
|
+
onClose?: () => void;
|
|
517
516
|
children?: React.ReactNode;
|
|
518
517
|
forwardedRef?: any;
|
|
519
518
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
520
|
-
locale?: string
|
|
521
|
-
translate?: (
|
|
519
|
+
locale?: string;
|
|
520
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
522
521
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
523
522
|
componentWillMount?(): void;
|
|
524
523
|
UNSAFE_componentWillMount?(): void;
|
|
525
524
|
componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
526
|
-
className?: string
|
|
527
|
-
showCloseButton?: boolean
|
|
528
|
-
onClose?: (
|
|
525
|
+
className?: string;
|
|
526
|
+
showCloseButton?: boolean;
|
|
527
|
+
onClose?: () => void;
|
|
529
528
|
children?: React.ReactNode;
|
|
530
529
|
forwardedRef?: any;
|
|
531
530
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
532
|
-
locale?: string
|
|
533
|
-
translate?: (
|
|
531
|
+
locale?: string;
|
|
532
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
534
533
|
}>, nextContext: any): void;
|
|
535
534
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
536
|
-
className?: string
|
|
537
|
-
showCloseButton?: boolean
|
|
538
|
-
onClose?: (
|
|
535
|
+
className?: string;
|
|
536
|
+
showCloseButton?: boolean;
|
|
537
|
+
onClose?: () => void;
|
|
539
538
|
children?: React.ReactNode;
|
|
540
539
|
forwardedRef?: any;
|
|
541
540
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
542
|
-
locale?: string
|
|
543
|
-
translate?: (
|
|
541
|
+
locale?: string;
|
|
542
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
544
543
|
}>, nextContext: any): void;
|
|
545
544
|
componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
546
|
-
className?: string
|
|
547
|
-
showCloseButton?: boolean
|
|
548
|
-
onClose?: (
|
|
545
|
+
className?: string;
|
|
546
|
+
showCloseButton?: boolean;
|
|
547
|
+
onClose?: () => void;
|
|
549
548
|
children?: React.ReactNode;
|
|
550
549
|
forwardedRef?: any;
|
|
551
550
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
552
|
-
locale?: string
|
|
553
|
-
translate?: (
|
|
551
|
+
locale?: string;
|
|
552
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
554
553
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
555
554
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & LocaleProps & {
|
|
556
|
-
className?: string
|
|
557
|
-
showCloseButton?: boolean
|
|
558
|
-
onClose?: (
|
|
555
|
+
className?: string;
|
|
556
|
+
showCloseButton?: boolean;
|
|
557
|
+
onClose?: () => void;
|
|
559
558
|
children?: React.ReactNode;
|
|
560
559
|
forwardedRef?: any;
|
|
561
560
|
} & React.HTMLAttributes<HTMLDivElement>, keyof LocaleProps> & {
|
|
562
|
-
locale?: string
|
|
563
|
-
translate?: (
|
|
561
|
+
locale?: string;
|
|
562
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
564
563
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
565
564
|
};
|
|
566
565
|
displayName: string;
|
|
567
566
|
contextType: React.Context<string>;
|
|
568
567
|
ComposedComponent: React.ComponentType<({ classnames: cx, className, showCloseButton, onClose, children, classPrefix, translate: __, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
|
|
569
|
-
className?: string
|
|
570
|
-
showCloseButton?: boolean
|
|
571
|
-
onClose?: (
|
|
568
|
+
className?: string;
|
|
569
|
+
showCloseButton?: boolean;
|
|
570
|
+
onClose?: () => void;
|
|
572
571
|
children?: React.ReactNode;
|
|
573
572
|
forwardedRef?: any;
|
|
574
573
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element>;
|
|
575
574
|
} & import("hoist-non-react-statics").NonReactStatics<({ classnames: cx, className, showCloseButton, onClose, children, classPrefix, translate: __, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
|
|
576
|
-
className?: string
|
|
577
|
-
showCloseButton?: boolean
|
|
578
|
-
onClose?: (
|
|
575
|
+
className?: string;
|
|
576
|
+
showCloseButton?: boolean;
|
|
577
|
+
onClose?: () => void;
|
|
579
578
|
children?: React.ReactNode;
|
|
580
579
|
forwardedRef?: any;
|
|
581
580
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element, {}> & {
|
|
582
581
|
ComposedComponent: ({ classnames: cx, className, showCloseButton, onClose, children, classPrefix, translate: __, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
|
|
583
|
-
className?: string
|
|
584
|
-
showCloseButton?: boolean
|
|
585
|
-
onClose?: (
|
|
582
|
+
className?: string;
|
|
583
|
+
showCloseButton?: boolean;
|
|
584
|
+
onClose?: () => void;
|
|
586
585
|
children?: React.ReactNode;
|
|
587
586
|
forwardedRef?: any;
|
|
588
587
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
@@ -590,7 +589,7 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
590
589
|
};
|
|
591
590
|
static Title: {
|
|
592
591
|
new (props: Omit<ThemeProps & {
|
|
593
|
-
className?: string
|
|
592
|
+
className?: string;
|
|
594
593
|
children?: React.ReactNode;
|
|
595
594
|
forwardedRef?: any;
|
|
596
595
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
@@ -600,13 +599,13 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
600
599
|
render(): React.JSX.Element;
|
|
601
600
|
context: unknown;
|
|
602
601
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<ThemeProps & {
|
|
603
|
-
className?: string
|
|
602
|
+
className?: string;
|
|
604
603
|
children?: React.ReactNode;
|
|
605
604
|
forwardedRef?: any;
|
|
606
605
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
607
606
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
608
607
|
readonly props: Readonly<Omit<ThemeProps & {
|
|
609
|
-
className?: string
|
|
608
|
+
className?: string;
|
|
610
609
|
children?: React.ReactNode;
|
|
611
610
|
forwardedRef?: any;
|
|
612
611
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
@@ -616,41 +615,41 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
616
615
|
};
|
|
617
616
|
componentDidMount?(): void;
|
|
618
617
|
shouldComponentUpdate?(nextProps: Readonly<Omit<ThemeProps & {
|
|
619
|
-
className?: string
|
|
618
|
+
className?: string;
|
|
620
619
|
children?: React.ReactNode;
|
|
621
620
|
forwardedRef?: any;
|
|
622
621
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
623
622
|
componentWillUnmount?(): void;
|
|
624
623
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
625
624
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<ThemeProps & {
|
|
626
|
-
className?: string
|
|
625
|
+
className?: string;
|
|
627
626
|
children?: React.ReactNode;
|
|
628
627
|
forwardedRef?: any;
|
|
629
628
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
630
629
|
componentDidUpdate?(prevProps: Readonly<Omit<ThemeProps & {
|
|
631
|
-
className?: string
|
|
630
|
+
className?: string;
|
|
632
631
|
children?: React.ReactNode;
|
|
633
632
|
forwardedRef?: any;
|
|
634
633
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
635
634
|
componentWillMount?(): void;
|
|
636
635
|
UNSAFE_componentWillMount?(): void;
|
|
637
636
|
componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & {
|
|
638
|
-
className?: string
|
|
637
|
+
className?: string;
|
|
639
638
|
children?: React.ReactNode;
|
|
640
639
|
forwardedRef?: any;
|
|
641
640
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
642
641
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & {
|
|
643
|
-
className?: string
|
|
642
|
+
className?: string;
|
|
644
643
|
children?: React.ReactNode;
|
|
645
644
|
forwardedRef?: any;
|
|
646
645
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
647
646
|
componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & {
|
|
648
|
-
className?: string
|
|
647
|
+
className?: string;
|
|
649
648
|
children?: React.ReactNode;
|
|
650
649
|
forwardedRef?: any;
|
|
651
650
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
652
651
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & {
|
|
653
|
-
className?: string
|
|
652
|
+
className?: string;
|
|
654
653
|
children?: React.ReactNode;
|
|
655
654
|
forwardedRef?: any;
|
|
656
655
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -658,24 +657,24 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
658
657
|
displayName: string;
|
|
659
658
|
contextType: React.Context<string>;
|
|
660
659
|
ComposedComponent: React.ComponentType<({ classnames: cx, className, children, classPrefix, forwardedRef, ...rest }: ThemeProps & {
|
|
661
|
-
className?: string
|
|
660
|
+
className?: string;
|
|
662
661
|
children?: React.ReactNode;
|
|
663
662
|
forwardedRef?: any;
|
|
664
663
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element>;
|
|
665
664
|
} & import("hoist-non-react-statics").NonReactStatics<({ classnames: cx, className, children, classPrefix, forwardedRef, ...rest }: ThemeProps & {
|
|
666
|
-
className?: string
|
|
665
|
+
className?: string;
|
|
667
666
|
children?: React.ReactNode;
|
|
668
667
|
forwardedRef?: any;
|
|
669
668
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element, {}> & {
|
|
670
669
|
ComposedComponent: ({ classnames: cx, className, children, classPrefix, forwardedRef, ...rest }: ThemeProps & {
|
|
671
|
-
className?: string
|
|
670
|
+
className?: string;
|
|
672
671
|
children?: React.ReactNode;
|
|
673
672
|
forwardedRef?: any;
|
|
674
673
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
675
674
|
};
|
|
676
675
|
static Body: {
|
|
677
676
|
new (props: Omit<ThemeProps & {
|
|
678
|
-
className?: string
|
|
677
|
+
className?: string;
|
|
679
678
|
children?: React.ReactNode;
|
|
680
679
|
forwardedRef?: any;
|
|
681
680
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
@@ -685,13 +684,13 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
685
684
|
render(): React.JSX.Element;
|
|
686
685
|
context: unknown;
|
|
687
686
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<ThemeProps & {
|
|
688
|
-
className?: string
|
|
687
|
+
className?: string;
|
|
689
688
|
children?: React.ReactNode;
|
|
690
689
|
forwardedRef?: any;
|
|
691
690
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
692
691
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
693
692
|
readonly props: Readonly<Omit<ThemeProps & {
|
|
694
|
-
className?: string
|
|
693
|
+
className?: string;
|
|
695
694
|
children?: React.ReactNode;
|
|
696
695
|
forwardedRef?: any;
|
|
697
696
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
@@ -701,41 +700,41 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
701
700
|
};
|
|
702
701
|
componentDidMount?(): void;
|
|
703
702
|
shouldComponentUpdate?(nextProps: Readonly<Omit<ThemeProps & {
|
|
704
|
-
className?: string
|
|
703
|
+
className?: string;
|
|
705
704
|
children?: React.ReactNode;
|
|
706
705
|
forwardedRef?: any;
|
|
707
706
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
708
707
|
componentWillUnmount?(): void;
|
|
709
708
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
710
709
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<ThemeProps & {
|
|
711
|
-
className?: string
|
|
710
|
+
className?: string;
|
|
712
711
|
children?: React.ReactNode;
|
|
713
712
|
forwardedRef?: any;
|
|
714
713
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
715
714
|
componentDidUpdate?(prevProps: Readonly<Omit<ThemeProps & {
|
|
716
|
-
className?: string
|
|
715
|
+
className?: string;
|
|
717
716
|
children?: React.ReactNode;
|
|
718
717
|
forwardedRef?: any;
|
|
719
718
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
720
719
|
componentWillMount?(): void;
|
|
721
720
|
UNSAFE_componentWillMount?(): void;
|
|
722
721
|
componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & {
|
|
723
|
-
className?: string
|
|
722
|
+
className?: string;
|
|
724
723
|
children?: React.ReactNode;
|
|
725
724
|
forwardedRef?: any;
|
|
726
725
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
727
726
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & {
|
|
728
|
-
className?: string
|
|
727
|
+
className?: string;
|
|
729
728
|
children?: React.ReactNode;
|
|
730
729
|
forwardedRef?: any;
|
|
731
730
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
732
731
|
componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & {
|
|
733
|
-
className?: string
|
|
732
|
+
className?: string;
|
|
734
733
|
children?: React.ReactNode;
|
|
735
734
|
forwardedRef?: any;
|
|
736
735
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
737
736
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & {
|
|
738
|
-
className?: string
|
|
737
|
+
className?: string;
|
|
739
738
|
children?: React.ReactNode;
|
|
740
739
|
forwardedRef?: any;
|
|
741
740
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -743,24 +742,24 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
743
742
|
displayName: string;
|
|
744
743
|
contextType: React.Context<string>;
|
|
745
744
|
ComposedComponent: React.ComponentType<({ classnames: cx, className, children, classPrefix, forwardedRef, ...rest }: ThemeProps & {
|
|
746
|
-
className?: string
|
|
745
|
+
className?: string;
|
|
747
746
|
children?: React.ReactNode;
|
|
748
747
|
forwardedRef?: any;
|
|
749
748
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element>;
|
|
750
749
|
} & import("hoist-non-react-statics").NonReactStatics<({ classnames: cx, className, children, classPrefix, forwardedRef, ...rest }: ThemeProps & {
|
|
751
|
-
className?: string
|
|
750
|
+
className?: string;
|
|
752
751
|
children?: React.ReactNode;
|
|
753
752
|
forwardedRef?: any;
|
|
754
753
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element, {}> & {
|
|
755
754
|
ComposedComponent: ({ classnames: cx, className, children, classPrefix, forwardedRef, ...rest }: ThemeProps & {
|
|
756
|
-
className?: string
|
|
755
|
+
className?: string;
|
|
757
756
|
children?: React.ReactNode;
|
|
758
757
|
forwardedRef?: any;
|
|
759
758
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
760
759
|
};
|
|
761
760
|
static Footer: {
|
|
762
761
|
new (props: Omit<ThemeProps & {
|
|
763
|
-
className?: string
|
|
762
|
+
className?: string;
|
|
764
763
|
children?: React.ReactNode;
|
|
765
764
|
forwardedRef?: any;
|
|
766
765
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
@@ -770,13 +769,13 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
770
769
|
render(): React.JSX.Element;
|
|
771
770
|
context: unknown;
|
|
772
771
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<ThemeProps & {
|
|
773
|
-
className?: string
|
|
772
|
+
className?: string;
|
|
774
773
|
children?: React.ReactNode;
|
|
775
774
|
forwardedRef?: any;
|
|
776
775
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
777
776
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
778
777
|
readonly props: Readonly<Omit<ThemeProps & {
|
|
779
|
-
className?: string
|
|
778
|
+
className?: string;
|
|
780
779
|
children?: React.ReactNode;
|
|
781
780
|
forwardedRef?: any;
|
|
782
781
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
@@ -786,41 +785,41 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
786
785
|
};
|
|
787
786
|
componentDidMount?(): void;
|
|
788
787
|
shouldComponentUpdate?(nextProps: Readonly<Omit<ThemeProps & {
|
|
789
|
-
className?: string
|
|
788
|
+
className?: string;
|
|
790
789
|
children?: React.ReactNode;
|
|
791
790
|
forwardedRef?: any;
|
|
792
791
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
793
792
|
componentWillUnmount?(): void;
|
|
794
793
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
795
794
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<ThemeProps & {
|
|
796
|
-
className?: string
|
|
795
|
+
className?: string;
|
|
797
796
|
children?: React.ReactNode;
|
|
798
797
|
forwardedRef?: any;
|
|
799
798
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
800
799
|
componentDidUpdate?(prevProps: Readonly<Omit<ThemeProps & {
|
|
801
|
-
className?: string
|
|
800
|
+
className?: string;
|
|
802
801
|
children?: React.ReactNode;
|
|
803
802
|
forwardedRef?: any;
|
|
804
803
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
805
804
|
componentWillMount?(): void;
|
|
806
805
|
UNSAFE_componentWillMount?(): void;
|
|
807
806
|
componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & {
|
|
808
|
-
className?: string
|
|
807
|
+
className?: string;
|
|
809
808
|
children?: React.ReactNode;
|
|
810
809
|
forwardedRef?: any;
|
|
811
810
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
812
811
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<ThemeProps & {
|
|
813
|
-
className?: string
|
|
812
|
+
className?: string;
|
|
814
813
|
children?: React.ReactNode;
|
|
815
814
|
forwardedRef?: any;
|
|
816
815
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
817
816
|
componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & {
|
|
818
|
-
className?: string
|
|
817
|
+
className?: string;
|
|
819
818
|
children?: React.ReactNode;
|
|
820
819
|
forwardedRef?: any;
|
|
821
820
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
822
821
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<ThemeProps & {
|
|
823
|
-
className?: string
|
|
822
|
+
className?: string;
|
|
824
823
|
children?: React.ReactNode;
|
|
825
824
|
forwardedRef?: any;
|
|
826
825
|
} & React.HTMLAttributes<HTMLDivElement>, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -828,17 +827,17 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
828
827
|
displayName: string;
|
|
829
828
|
contextType: React.Context<string>;
|
|
830
829
|
ComposedComponent: React.ComponentType<({ classnames: cx, className, children, classPrefix, forwardedRef, ...rest }: ThemeProps & {
|
|
831
|
-
className?: string
|
|
830
|
+
className?: string;
|
|
832
831
|
children?: React.ReactNode;
|
|
833
832
|
forwardedRef?: any;
|
|
834
833
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element>;
|
|
835
834
|
} & import("hoist-non-react-statics").NonReactStatics<({ classnames: cx, className, children, classPrefix, forwardedRef, ...rest }: ThemeProps & {
|
|
836
|
-
className?: string
|
|
835
|
+
className?: string;
|
|
837
836
|
children?: React.ReactNode;
|
|
838
837
|
forwardedRef?: any;
|
|
839
838
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element, {}> & {
|
|
840
839
|
ComposedComponent: ({ classnames: cx, className, children, classPrefix, forwardedRef, ...rest }: ThemeProps & {
|
|
841
|
-
className?: string
|
|
840
|
+
className?: string;
|
|
842
841
|
children?: React.ReactNode;
|
|
843
842
|
forwardedRef?: any;
|
|
844
843
|
} & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
@@ -859,220 +858,220 @@ export declare class Modal extends React.Component<ModalProps, ModalState> {
|
|
|
859
858
|
getDragStyle: () => React.CSSProperties;
|
|
860
859
|
render(): React.JSX.Element;
|
|
861
860
|
}
|
|
862
|
-
declare const
|
|
863
|
-
new (props: Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
861
|
+
declare const FinalModal: {
|
|
862
|
+
new (props: Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
864
863
|
container?: any;
|
|
865
864
|
overlay?: boolean | undefined;
|
|
866
865
|
size?: any;
|
|
867
866
|
draggable?: boolean | undefined;
|
|
868
867
|
} & {} & {
|
|
869
|
-
locale?: string
|
|
870
|
-
translate?: (
|
|
868
|
+
locale?: string;
|
|
869
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
871
870
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
872
871
|
ref: any;
|
|
873
872
|
childRef: (ref: any) => void;
|
|
874
873
|
getWrappedInstance: () => any;
|
|
875
874
|
render(): React.JSX.Element;
|
|
876
875
|
context: unknown;
|
|
877
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
876
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
878
877
|
container?: any;
|
|
879
878
|
overlay?: boolean | undefined;
|
|
880
879
|
size?: any;
|
|
881
880
|
draggable?: boolean | undefined;
|
|
882
881
|
} & {} & {
|
|
883
|
-
locale?: string
|
|
884
|
-
translate?: (
|
|
882
|
+
locale?: string;
|
|
883
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
885
884
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
886
885
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
887
|
-
readonly props: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
886
|
+
readonly props: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
888
887
|
container?: any;
|
|
889
888
|
overlay?: boolean | undefined;
|
|
890
889
|
size?: any;
|
|
891
890
|
draggable?: boolean | undefined;
|
|
892
891
|
} & {} & {
|
|
893
|
-
locale?: string
|
|
894
|
-
translate?: (
|
|
892
|
+
locale?: string;
|
|
893
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
895
894
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
896
895
|
state: Readonly<{}>;
|
|
897
896
|
refs: {
|
|
898
897
|
[key: string]: React.ReactInstance;
|
|
899
898
|
};
|
|
900
899
|
componentDidMount?(): void;
|
|
901
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
900
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
902
901
|
container?: any;
|
|
903
902
|
overlay?: boolean | undefined;
|
|
904
903
|
size?: any;
|
|
905
904
|
draggable?: boolean | undefined;
|
|
906
905
|
} & {} & {
|
|
907
|
-
locale?: string
|
|
908
|
-
translate?: (
|
|
906
|
+
locale?: string;
|
|
907
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
909
908
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
910
909
|
componentWillUnmount?(): void;
|
|
911
910
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
912
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
911
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
913
912
|
container?: any;
|
|
914
913
|
overlay?: boolean | undefined;
|
|
915
914
|
size?: any;
|
|
916
915
|
draggable?: boolean | undefined;
|
|
917
916
|
} & {} & {
|
|
918
|
-
locale?: string
|
|
919
|
-
translate?: (
|
|
917
|
+
locale?: string;
|
|
918
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
920
919
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
921
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
920
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
922
921
|
container?: any;
|
|
923
922
|
overlay?: boolean | undefined;
|
|
924
923
|
size?: any;
|
|
925
924
|
draggable?: boolean | undefined;
|
|
926
925
|
} & {} & {
|
|
927
|
-
locale?: string
|
|
928
|
-
translate?: (
|
|
926
|
+
locale?: string;
|
|
927
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
929
928
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
930
929
|
componentWillMount?(): void;
|
|
931
930
|
UNSAFE_componentWillMount?(): void;
|
|
932
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
931
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
933
932
|
container?: any;
|
|
934
933
|
overlay?: boolean | undefined;
|
|
935
934
|
size?: any;
|
|
936
935
|
draggable?: boolean | undefined;
|
|
937
936
|
} & {} & {
|
|
938
|
-
locale?: string
|
|
939
|
-
translate?: (
|
|
937
|
+
locale?: string;
|
|
938
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
940
939
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
941
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
940
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
942
941
|
container?: any;
|
|
943
942
|
overlay?: boolean | undefined;
|
|
944
943
|
size?: any;
|
|
945
944
|
draggable?: boolean | undefined;
|
|
946
945
|
} & {} & {
|
|
947
|
-
locale?: string
|
|
948
|
-
translate?: (
|
|
946
|
+
locale?: string;
|
|
947
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
949
948
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
950
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
949
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
951
950
|
container?: any;
|
|
952
951
|
overlay?: boolean | undefined;
|
|
953
952
|
size?: any;
|
|
954
953
|
draggable?: boolean | undefined;
|
|
955
954
|
} & {} & {
|
|
956
|
-
locale?: string
|
|
957
|
-
translate?: (
|
|
955
|
+
locale?: string;
|
|
956
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
958
957
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
959
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
958
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
960
959
|
container?: any;
|
|
961
960
|
overlay?: boolean | undefined;
|
|
962
961
|
size?: any;
|
|
963
962
|
draggable?: boolean | undefined;
|
|
964
963
|
} & {} & {
|
|
965
|
-
locale?: string
|
|
966
|
-
translate?: (
|
|
964
|
+
locale?: string;
|
|
965
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
967
966
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
968
967
|
};
|
|
969
968
|
displayName: string;
|
|
970
969
|
contextType: React.Context<string>;
|
|
971
970
|
ComposedComponent: React.ComponentType<{
|
|
972
|
-
new (props: Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
971
|
+
new (props: Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
973
972
|
container?: any;
|
|
974
973
|
overlay?: boolean | undefined;
|
|
975
974
|
size?: any;
|
|
976
975
|
draggable?: boolean | undefined;
|
|
977
976
|
} & {} & {
|
|
978
|
-
locale?: string
|
|
979
|
-
translate?: (
|
|
977
|
+
locale?: string;
|
|
978
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
980
979
|
}): {
|
|
981
980
|
ref: any;
|
|
982
981
|
childRef(ref: any): void;
|
|
983
982
|
getWrappedInstance(): any;
|
|
984
983
|
render(): React.JSX.Element;
|
|
985
984
|
context: unknown;
|
|
986
|
-
setState<
|
|
985
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
987
986
|
container?: any;
|
|
988
987
|
overlay?: boolean | undefined;
|
|
989
988
|
size?: any;
|
|
990
989
|
draggable?: boolean | undefined;
|
|
991
990
|
} & {} & {
|
|
992
|
-
locale?: string
|
|
993
|
-
translate?: (
|
|
994
|
-
}>) => {} | Pick<{},
|
|
991
|
+
locale?: string;
|
|
992
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
993
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
995
994
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
996
|
-
readonly props: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
995
|
+
readonly props: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
997
996
|
container?: any;
|
|
998
997
|
overlay?: boolean | undefined;
|
|
999
998
|
size?: any;
|
|
1000
999
|
draggable?: boolean | undefined;
|
|
1001
1000
|
} & {} & {
|
|
1002
|
-
locale?: string
|
|
1003
|
-
translate?: (
|
|
1001
|
+
locale?: string;
|
|
1002
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1004
1003
|
}>;
|
|
1005
1004
|
state: Readonly<{}>;
|
|
1006
1005
|
refs: {
|
|
1007
1006
|
[key: string]: React.ReactInstance;
|
|
1008
1007
|
};
|
|
1009
1008
|
componentDidMount?(): void;
|
|
1010
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1009
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1011
1010
|
container?: any;
|
|
1012
1011
|
overlay?: boolean | undefined;
|
|
1013
1012
|
size?: any;
|
|
1014
1013
|
draggable?: boolean | undefined;
|
|
1015
1014
|
} & {} & {
|
|
1016
|
-
locale?: string
|
|
1017
|
-
translate?: (
|
|
1015
|
+
locale?: string;
|
|
1016
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1018
1017
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
1019
1018
|
componentWillUnmount?(): void;
|
|
1020
1019
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
1021
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1020
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1022
1021
|
container?: any;
|
|
1023
1022
|
overlay?: boolean | undefined;
|
|
1024
1023
|
size?: any;
|
|
1025
1024
|
draggable?: boolean | undefined;
|
|
1026
1025
|
} & {} & {
|
|
1027
|
-
locale?: string
|
|
1028
|
-
translate?: (
|
|
1026
|
+
locale?: string;
|
|
1027
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1029
1028
|
}>, prevState: Readonly<{}>): any;
|
|
1030
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1029
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1031
1030
|
container?: any;
|
|
1032
1031
|
overlay?: boolean | undefined;
|
|
1033
1032
|
size?: any;
|
|
1034
1033
|
draggable?: boolean | undefined;
|
|
1035
1034
|
} & {} & {
|
|
1036
|
-
locale?: string
|
|
1037
|
-
translate?: (
|
|
1035
|
+
locale?: string;
|
|
1036
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1038
1037
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
1039
1038
|
componentWillMount?(): void;
|
|
1040
1039
|
UNSAFE_componentWillMount?(): void;
|
|
1041
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1040
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1042
1041
|
container?: any;
|
|
1043
1042
|
overlay?: boolean | undefined;
|
|
1044
1043
|
size?: any;
|
|
1045
1044
|
draggable?: boolean | undefined;
|
|
1046
1045
|
} & {} & {
|
|
1047
|
-
locale?: string
|
|
1048
|
-
translate?: (
|
|
1046
|
+
locale?: string;
|
|
1047
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1049
1048
|
}>, nextContext: any): void;
|
|
1050
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1049
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1051
1050
|
container?: any;
|
|
1052
1051
|
overlay?: boolean | undefined;
|
|
1053
1052
|
size?: any;
|
|
1054
1053
|
draggable?: boolean | undefined;
|
|
1055
1054
|
} & {} & {
|
|
1056
|
-
locale?: string
|
|
1057
|
-
translate?: (
|
|
1055
|
+
locale?: string;
|
|
1056
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1058
1057
|
}>, nextContext: any): void;
|
|
1059
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1058
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1060
1059
|
container?: any;
|
|
1061
1060
|
overlay?: boolean | undefined;
|
|
1062
1061
|
size?: any;
|
|
1063
1062
|
draggable?: boolean | undefined;
|
|
1064
1063
|
} & {} & {
|
|
1065
|
-
locale?: string
|
|
1066
|
-
translate?: (
|
|
1064
|
+
locale?: string;
|
|
1065
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1067
1066
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1068
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1067
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1069
1068
|
container?: any;
|
|
1070
1069
|
overlay?: boolean | undefined;
|
|
1071
1070
|
size?: any;
|
|
1072
1071
|
draggable?: boolean | undefined;
|
|
1073
1072
|
} & {} & {
|
|
1074
|
-
locale?: string
|
|
1075
|
-
translate?: (
|
|
1073
|
+
locale?: string;
|
|
1074
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1076
1075
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1077
1076
|
};
|
|
1078
1077
|
displayName: string;
|
|
@@ -1082,110 +1081,110 @@ declare const _default: {
|
|
|
1082
1081
|
ComposedComponent: typeof Modal;
|
|
1083
1082
|
}>;
|
|
1084
1083
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
1085
|
-
new (props: Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1084
|
+
new (props: Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1086
1085
|
container?: any;
|
|
1087
1086
|
overlay?: boolean | undefined;
|
|
1088
1087
|
size?: any;
|
|
1089
1088
|
draggable?: boolean | undefined;
|
|
1090
1089
|
} & {} & {
|
|
1091
|
-
locale?: string
|
|
1092
|
-
translate?: (
|
|
1090
|
+
locale?: string;
|
|
1091
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1093
1092
|
}): {
|
|
1094
1093
|
ref: any;
|
|
1095
1094
|
childRef(ref: any): void;
|
|
1096
1095
|
getWrappedInstance(): any;
|
|
1097
1096
|
render(): React.JSX.Element;
|
|
1098
1097
|
context: unknown;
|
|
1099
|
-
setState<
|
|
1098
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1100
1099
|
container?: any;
|
|
1101
1100
|
overlay?: boolean | undefined;
|
|
1102
1101
|
size?: any;
|
|
1103
1102
|
draggable?: boolean | undefined;
|
|
1104
1103
|
} & {} & {
|
|
1105
|
-
locale?: string
|
|
1106
|
-
translate?: (
|
|
1107
|
-
}>) => {} | Pick<{},
|
|
1104
|
+
locale?: string;
|
|
1105
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1106
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
1108
1107
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
1109
|
-
readonly props: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1108
|
+
readonly props: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1110
1109
|
container?: any;
|
|
1111
1110
|
overlay?: boolean | undefined;
|
|
1112
1111
|
size?: any;
|
|
1113
1112
|
draggable?: boolean | undefined;
|
|
1114
1113
|
} & {} & {
|
|
1115
|
-
locale?: string
|
|
1116
|
-
translate?: (
|
|
1114
|
+
locale?: string;
|
|
1115
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1117
1116
|
}>;
|
|
1118
1117
|
state: Readonly<{}>;
|
|
1119
1118
|
refs: {
|
|
1120
1119
|
[key: string]: React.ReactInstance;
|
|
1121
1120
|
};
|
|
1122
1121
|
componentDidMount?(): void;
|
|
1123
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1122
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1124
1123
|
container?: any;
|
|
1125
1124
|
overlay?: boolean | undefined;
|
|
1126
1125
|
size?: any;
|
|
1127
1126
|
draggable?: boolean | undefined;
|
|
1128
1127
|
} & {} & {
|
|
1129
|
-
locale?: string
|
|
1130
|
-
translate?: (
|
|
1128
|
+
locale?: string;
|
|
1129
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1131
1130
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
1132
1131
|
componentWillUnmount?(): void;
|
|
1133
1132
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
1134
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1133
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1135
1134
|
container?: any;
|
|
1136
1135
|
overlay?: boolean | undefined;
|
|
1137
1136
|
size?: any;
|
|
1138
1137
|
draggable?: boolean | undefined;
|
|
1139
1138
|
} & {} & {
|
|
1140
|
-
locale?: string
|
|
1141
|
-
translate?: (
|
|
1139
|
+
locale?: string;
|
|
1140
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1142
1141
|
}>, prevState: Readonly<{}>): any;
|
|
1143
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1142
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1144
1143
|
container?: any;
|
|
1145
1144
|
overlay?: boolean | undefined;
|
|
1146
1145
|
size?: any;
|
|
1147
1146
|
draggable?: boolean | undefined;
|
|
1148
1147
|
} & {} & {
|
|
1149
|
-
locale?: string
|
|
1150
|
-
translate?: (
|
|
1148
|
+
locale?: string;
|
|
1149
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1151
1150
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
1152
1151
|
componentWillMount?(): void;
|
|
1153
1152
|
UNSAFE_componentWillMount?(): void;
|
|
1154
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1153
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1155
1154
|
container?: any;
|
|
1156
1155
|
overlay?: boolean | undefined;
|
|
1157
1156
|
size?: any;
|
|
1158
1157
|
draggable?: boolean | undefined;
|
|
1159
1158
|
} & {} & {
|
|
1160
|
-
locale?: string
|
|
1161
|
-
translate?: (
|
|
1159
|
+
locale?: string;
|
|
1160
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1162
1161
|
}>, nextContext: any): void;
|
|
1163
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1162
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1164
1163
|
container?: any;
|
|
1165
1164
|
overlay?: boolean | undefined;
|
|
1166
1165
|
size?: any;
|
|
1167
1166
|
draggable?: boolean | undefined;
|
|
1168
1167
|
} & {} & {
|
|
1169
|
-
locale?: string
|
|
1170
|
-
translate?: (
|
|
1168
|
+
locale?: string;
|
|
1169
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1171
1170
|
}>, nextContext: any): void;
|
|
1172
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1171
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1173
1172
|
container?: any;
|
|
1174
1173
|
overlay?: boolean | undefined;
|
|
1175
1174
|
size?: any;
|
|
1176
1175
|
draggable?: boolean | undefined;
|
|
1177
1176
|
} & {} & {
|
|
1178
|
-
locale?: string
|
|
1179
|
-
translate?: (
|
|
1177
|
+
locale?: string;
|
|
1178
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1180
1179
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1181
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1180
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1182
1181
|
container?: any;
|
|
1183
1182
|
overlay?: boolean | undefined;
|
|
1184
1183
|
size?: any;
|
|
1185
1184
|
draggable?: boolean | undefined;
|
|
1186
1185
|
} & {} & {
|
|
1187
|
-
locale?: string
|
|
1188
|
-
translate?: (
|
|
1186
|
+
locale?: string;
|
|
1187
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1189
1188
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1190
1189
|
};
|
|
1191
1190
|
displayName: string;
|
|
@@ -1195,110 +1194,110 @@ declare const _default: {
|
|
|
1195
1194
|
ComposedComponent: typeof Modal;
|
|
1196
1195
|
}, {}> & {
|
|
1197
1196
|
ComposedComponent: {
|
|
1198
|
-
new (props: Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1197
|
+
new (props: Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1199
1198
|
container?: any;
|
|
1200
1199
|
overlay?: boolean | undefined;
|
|
1201
1200
|
size?: any;
|
|
1202
1201
|
draggable?: boolean | undefined;
|
|
1203
1202
|
} & {} & {
|
|
1204
|
-
locale?: string
|
|
1205
|
-
translate?: (
|
|
1203
|
+
locale?: string;
|
|
1204
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1206
1205
|
}): {
|
|
1207
1206
|
ref: any;
|
|
1208
1207
|
childRef(ref: any): void;
|
|
1209
1208
|
getWrappedInstance(): any;
|
|
1210
1209
|
render(): React.JSX.Element;
|
|
1211
1210
|
context: unknown;
|
|
1212
|
-
setState<
|
|
1211
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1213
1212
|
container?: any;
|
|
1214
1213
|
overlay?: boolean | undefined;
|
|
1215
1214
|
size?: any;
|
|
1216
1215
|
draggable?: boolean | undefined;
|
|
1217
1216
|
} & {} & {
|
|
1218
|
-
locale?: string
|
|
1219
|
-
translate?: (
|
|
1220
|
-
}>) => {} | Pick<{},
|
|
1217
|
+
locale?: string;
|
|
1218
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1219
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
1221
1220
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
1222
|
-
readonly props: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1221
|
+
readonly props: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1223
1222
|
container?: any;
|
|
1224
1223
|
overlay?: boolean | undefined;
|
|
1225
1224
|
size?: any;
|
|
1226
1225
|
draggable?: boolean | undefined;
|
|
1227
1226
|
} & {} & {
|
|
1228
|
-
locale?: string
|
|
1229
|
-
translate?: (
|
|
1227
|
+
locale?: string;
|
|
1228
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1230
1229
|
}>;
|
|
1231
1230
|
state: Readonly<{}>;
|
|
1232
1231
|
refs: {
|
|
1233
1232
|
[key: string]: React.ReactInstance;
|
|
1234
1233
|
};
|
|
1235
1234
|
componentDidMount?(): void;
|
|
1236
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1235
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1237
1236
|
container?: any;
|
|
1238
1237
|
overlay?: boolean | undefined;
|
|
1239
1238
|
size?: any;
|
|
1240
1239
|
draggable?: boolean | undefined;
|
|
1241
1240
|
} & {} & {
|
|
1242
|
-
locale?: string
|
|
1243
|
-
translate?: (
|
|
1241
|
+
locale?: string;
|
|
1242
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1244
1243
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
1245
1244
|
componentWillUnmount?(): void;
|
|
1246
1245
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
1247
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1246
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1248
1247
|
container?: any;
|
|
1249
1248
|
overlay?: boolean | undefined;
|
|
1250
1249
|
size?: any;
|
|
1251
1250
|
draggable?: boolean | undefined;
|
|
1252
1251
|
} & {} & {
|
|
1253
|
-
locale?: string
|
|
1254
|
-
translate?: (
|
|
1252
|
+
locale?: string;
|
|
1253
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1255
1254
|
}>, prevState: Readonly<{}>): any;
|
|
1256
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1255
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1257
1256
|
container?: any;
|
|
1258
1257
|
overlay?: boolean | undefined;
|
|
1259
1258
|
size?: any;
|
|
1260
1259
|
draggable?: boolean | undefined;
|
|
1261
1260
|
} & {} & {
|
|
1262
|
-
locale?: string
|
|
1263
|
-
translate?: (
|
|
1261
|
+
locale?: string;
|
|
1262
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1264
1263
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
1265
1264
|
componentWillMount?(): void;
|
|
1266
1265
|
UNSAFE_componentWillMount?(): void;
|
|
1267
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1266
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1268
1267
|
container?: any;
|
|
1269
1268
|
overlay?: boolean | undefined;
|
|
1270
1269
|
size?: any;
|
|
1271
1270
|
draggable?: boolean | undefined;
|
|
1272
1271
|
} & {} & {
|
|
1273
|
-
locale?: string
|
|
1274
|
-
translate?: (
|
|
1272
|
+
locale?: string;
|
|
1273
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1275
1274
|
}>, nextContext: any): void;
|
|
1276
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1275
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1277
1276
|
container?: any;
|
|
1278
1277
|
overlay?: boolean | undefined;
|
|
1279
1278
|
size?: any;
|
|
1280
1279
|
draggable?: boolean | undefined;
|
|
1281
1280
|
} & {} & {
|
|
1282
|
-
locale?: string
|
|
1283
|
-
translate?: (
|
|
1281
|
+
locale?: string;
|
|
1282
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1284
1283
|
}>, nextContext: any): void;
|
|
1285
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1284
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1286
1285
|
container?: any;
|
|
1287
1286
|
overlay?: boolean | undefined;
|
|
1288
1287
|
size?: any;
|
|
1289
1288
|
draggable?: boolean | undefined;
|
|
1290
1289
|
} & {} & {
|
|
1291
|
-
locale?: string
|
|
1292
|
-
translate?: (
|
|
1290
|
+
locale?: string;
|
|
1291
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1293
1292
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1294
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "
|
|
1293
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ModalProps, keyof LocaleProps>, "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "width" | "height" | "children" | "disabled" | "contentClassName" | "onHide" | "closeOnEsc" | "closeOnOutside" | "show" | "onExited" | "onEntered" | "modalClassName" | "modalMaskClassName"> & {
|
|
1295
1294
|
container?: any;
|
|
1296
1295
|
overlay?: boolean | undefined;
|
|
1297
1296
|
size?: any;
|
|
1298
1297
|
draggable?: boolean | undefined;
|
|
1299
1298
|
} & {} & {
|
|
1300
|
-
locale?: string
|
|
1301
|
-
translate?: (
|
|
1299
|
+
locale?: string;
|
|
1300
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1302
1301
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1303
1302
|
};
|
|
1304
1303
|
displayName: string;
|
|
@@ -1307,7 +1306,8 @@ declare const _default: {
|
|
|
1307
1306
|
} & import("hoist-non-react-statics").NonReactStatics<typeof Modal, {}> & {
|
|
1308
1307
|
ComposedComponent: typeof Modal;
|
|
1309
1308
|
};
|
|
1310
|
-
}
|
|
1309
|
+
};
|
|
1310
|
+
declare const _default: typeof FinalModal & {
|
|
1311
1311
|
Header: typeof Modal.Header;
|
|
1312
1312
|
Title: typeof Modal.Title;
|
|
1313
1313
|
Body: typeof Modal.Body;
|