amis-ui 6.9.0 → 6.10.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +3 -3
- package/esm/components/AnchorNavSection.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +10 -10
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.d.ts +2 -0
- package/esm/components/Checkbox.js +28 -12
- package/esm/components/CityArea.js +2 -2
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +4 -3
- package/esm/components/Collapse.js +3 -3
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.d.ts +43 -41
- package/esm/components/ConfirmBox.js +5 -4
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +41 -40
- package/esm/components/DatePicker.js +3 -3
- package/esm/components/DateRangePicker.d.ts +44 -43
- package/esm/components/DateRangePicker.js +4 -4
- package/esm/components/DiffEditor.js +1 -1
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/FormulaPicker.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GridNavItem.js +1 -1
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +10 -10
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputJSONSchema.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/JSONSchemaEditor.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Menu.js +1 -1
- package/esm/components/MobileDevTool.js +23 -14
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.js +1 -1
- package/esm/components/Pagination.js +1 -1
- package/esm/components/PdfViewer.js +1 -1
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +2 -2
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.d.ts +42 -40
- package/esm/components/PopUp.js +3 -3
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +11 -22
- package/esm/components/Radios.js +20 -11
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +42 -40
- package/esm/components/ResultBox.js +21 -7
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.js +1 -1
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.js +1 -1
- package/esm/components/Signature.js +1 -1
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.d.ts +1 -0
- package/esm/components/Steps.js +6 -6
- 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.js +1 -1
- package/esm/components/Tabs.d.ts +42 -41
- package/esm/components/Tabs.js +6 -7
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.js +3 -3
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +1 -0
- package/esm/components/TransferPicker.js +3 -3
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +103 -44
- package/esm/components/Tree.js +53 -26
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/VerificationCode.js +1 -1
- package/esm/components/VirtualList.js +1 -1
- package/esm/components/WithRemoteConfig.js +2 -2
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/CodeEditor.js +1 -1
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +2 -2
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +10 -10
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.js +1 -1
- package/esm/components/table/SummaryRow.js +1 -1
- package/esm/components/table/index.js +1 -1
- 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.js +1 -1
- package/esm/components/withBadge.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 +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/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/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/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +120 -120
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +20 -20
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +3 -3
- package/lib/components/AnchorNavSection.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- package/lib/components/Avatar.d.ts +120 -120
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +30 -30
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +100 -100
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +12 -10
- package/lib/components/Checkbox.js +28 -12
- package/lib/components/CityArea.js +2 -2
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +4 -3
- package/lib/components/Collapse.d.ts +120 -120
- package/lib/components/Collapse.js +3 -3
- package/lib/components/CollapseGroup.d.ts +40 -40
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +80 -80
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.d.ts +83 -81
- package/lib/components/ConfirmBox.js +5 -4
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +121 -120
- package/lib/components/DatePicker.js +3 -3
- package/lib/components/DateRangePicker.d.ts +324 -323
- package/lib/components/DateRangePicker.js +4 -4
- package/lib/components/DiffEditor.js +1 -1
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +30 -30
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/FormulaPicker.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GridNavItem.js +1 -1
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/Icon.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +20 -20
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputJSONSchema.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/JSONSchemaEditor.js +1 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +80 -80
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +80 -80
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Menu.js +1 -1
- package/lib/components/MobileDevTool.js +22 -13
- package/lib/components/Modal.d.ts +120 -120
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +200 -200
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +20 -20
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.js +1 -1
- package/lib/components/Pagination.d.ts +80 -80
- package/lib/components/Pagination.js +1 -1
- package/lib/components/PdfViewer.js +1 -1
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +2 -2
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +82 -80
- package/lib/components/PopUp.js +3 -3
- package/lib/components/Progress.d.ts +80 -80
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +21 -32
- package/lib/components/Radios.js +20 -11
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +30 -30
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +122 -120
- package/lib/components/ResultBox.js +21 -7
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +120 -120
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1684 -1683
- package/lib/components/Select.js +1 -1
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.d.ts +80 -80
- package/lib/components/Selection.js +1 -1
- package/lib/components/Signature.js +1 -1
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +50 -50
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.d.ts +1 -0
- package/lib/components/Steps.js +6 -6
- package/lib/components/Switch.d.ts +10 -10
- 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 +80 -80
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +122 -121
- package/lib/components/Tabs.js +6 -7
- package/lib/components/TabsTransfer.d.ts +40 -40
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +70 -70
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +120 -120
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +40 -40
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +187 -187
- package/lib/components/Transfer.js +3 -3
- package/lib/components/TransferDropDown.d.ts +160 -160
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +1 -0
- package/lib/components/TransferPicker.js +3 -3
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +343 -284
- package/lib/components/Tree.js +53 -26
- package/lib/components/TreeSelection.d.ts +80 -80
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/VerificationCode.js +1 -1
- package/lib/components/VirtualList.js +1 -1
- package/lib/components/WithRemoteConfig.d.ts +1 -0
- package/lib/components/WithRemoteConfig.js +2 -2
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/CodeEditor.js +1 -1
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +2 -2
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +60 -60
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.js +1 -1
- package/lib/components/table/SummaryRow.js +1 -1
- package/lib/components/table/index.d.ts +120 -120
- package/lib/components/table/index.js +1 -1
- package/lib/components/table/util.d.ts +4 -4
- 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.js +1 -1
- package/lib/components/withBadge.js +1 -1
- package/lib/helper.css +109 -109
- 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 +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/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/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/rotate-screen.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/sub-plus.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo-normal.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +899 -731
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +899 -731
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +899 -731
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +899 -731
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +899 -731
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +6 -5
- package/scss/_components.scss +260 -192
- package/scss/_functions.scss +36 -0
- package/scss/_mixins.scss +83 -0
- package/scss/components/_collapse-group.scss +11 -0
- package/scss/components/_collapse.scss +9 -0
- package/scss/components/_column-toggler.scss +18 -24
- package/scss/components/_debug.scss +59 -7
- package/scss/components/_page.scss +15 -0
- package/scss/components/_popoverable.scss +20 -0
- package/scss/components/_steps.scss +6 -1
- package/scss/components/_tabs.scss +6 -6
- package/scss/components/_timeline.scss +4 -2
- package/scss/components/form/_checks.scss +245 -539
- package/scss/components/form/_tree.scss +23 -1
|
@@ -23,6 +23,8 @@ export interface PopUpPorps extends ThemeProps, LocaleProps {
|
|
|
23
23
|
placement?: 'left' | 'center' | 'right';
|
|
24
24
|
header?: JSX.Element;
|
|
25
25
|
children?: React.ReactNode | Array<React.ReactNode>;
|
|
26
|
+
onExited?: () => void;
|
|
27
|
+
onEntered?: () => void;
|
|
26
28
|
}
|
|
27
29
|
export declare class PopUp extends React.PureComponent<PopUpPorps> {
|
|
28
30
|
scrollTop: number;
|
|
@@ -40,11 +42,11 @@ export declare class PopUp extends React.PureComponent<PopUpPorps> {
|
|
|
40
42
|
render(): React.JSX.Element;
|
|
41
43
|
}
|
|
42
44
|
declare const _default: {
|
|
43
|
-
new (props: Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
45
|
+
new (props: Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
46
|
+
container?: any;
|
|
44
47
|
className?: string | undefined;
|
|
45
48
|
overlay?: boolean | undefined;
|
|
46
49
|
isShow?: boolean | undefined;
|
|
47
|
-
container?: any;
|
|
48
50
|
onConfirm?: ((value: any) => void) | undefined;
|
|
49
51
|
showClose?: boolean | undefined;
|
|
50
52
|
} & {} & {
|
|
@@ -56,11 +58,11 @@ declare const _default: {
|
|
|
56
58
|
getWrappedInstance(): any;
|
|
57
59
|
render(): React.JSX.Element;
|
|
58
60
|
context: unknown;
|
|
59
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
61
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
62
|
+
container?: any;
|
|
60
63
|
className?: string | undefined;
|
|
61
64
|
overlay?: boolean | undefined;
|
|
62
65
|
isShow?: boolean | undefined;
|
|
63
|
-
container?: any;
|
|
64
66
|
onConfirm?: ((value: any) => void) | undefined;
|
|
65
67
|
showClose?: boolean | undefined;
|
|
66
68
|
} & {} & {
|
|
@@ -68,11 +70,11 @@ declare const _default: {
|
|
|
68
70
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
69
71
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
70
72
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
71
|
-
readonly props: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
73
|
+
readonly props: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
74
|
+
container?: any;
|
|
72
75
|
className?: string | undefined;
|
|
73
76
|
overlay?: boolean | undefined;
|
|
74
77
|
isShow?: boolean | undefined;
|
|
75
|
-
container?: any;
|
|
76
78
|
onConfirm?: ((value: any) => void) | undefined;
|
|
77
79
|
showClose?: boolean | undefined;
|
|
78
80
|
} & {} & {
|
|
@@ -84,11 +86,11 @@ declare const _default: {
|
|
|
84
86
|
[key: string]: React.ReactInstance;
|
|
85
87
|
};
|
|
86
88
|
componentDidMount?(): void;
|
|
87
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
89
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
90
|
+
container?: any;
|
|
88
91
|
className?: string | undefined;
|
|
89
92
|
overlay?: boolean | undefined;
|
|
90
93
|
isShow?: boolean | undefined;
|
|
91
|
-
container?: any;
|
|
92
94
|
onConfirm?: ((value: any) => void) | undefined;
|
|
93
95
|
showClose?: boolean | undefined;
|
|
94
96
|
} & {} & {
|
|
@@ -97,22 +99,22 @@ declare const _default: {
|
|
|
97
99
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
98
100
|
componentWillUnmount?(): void;
|
|
99
101
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
100
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
102
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
103
|
+
container?: any;
|
|
101
104
|
className?: string | undefined;
|
|
102
105
|
overlay?: boolean | undefined;
|
|
103
106
|
isShow?: boolean | undefined;
|
|
104
|
-
container?: any;
|
|
105
107
|
onConfirm?: ((value: any) => void) | undefined;
|
|
106
108
|
showClose?: boolean | undefined;
|
|
107
109
|
} & {} & {
|
|
108
110
|
locale?: string | undefined;
|
|
109
111
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
110
112
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
111
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
113
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
114
|
+
container?: any;
|
|
112
115
|
className?: string | undefined;
|
|
113
116
|
overlay?: boolean | undefined;
|
|
114
117
|
isShow?: boolean | undefined;
|
|
115
|
-
container?: any;
|
|
116
118
|
onConfirm?: ((value: any) => void) | undefined;
|
|
117
119
|
showClose?: boolean | undefined;
|
|
118
120
|
} & {} & {
|
|
@@ -121,44 +123,44 @@ declare const _default: {
|
|
|
121
123
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
122
124
|
componentWillMount?(): void;
|
|
123
125
|
UNSAFE_componentWillMount?(): void;
|
|
124
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
126
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
127
|
+
container?: any;
|
|
125
128
|
className?: string | undefined;
|
|
126
129
|
overlay?: boolean | undefined;
|
|
127
130
|
isShow?: boolean | undefined;
|
|
128
|
-
container?: any;
|
|
129
131
|
onConfirm?: ((value: any) => void) | undefined;
|
|
130
132
|
showClose?: boolean | undefined;
|
|
131
133
|
} & {} & {
|
|
132
134
|
locale?: string | undefined;
|
|
133
135
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
134
136
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
135
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
137
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
138
|
+
container?: any;
|
|
136
139
|
className?: string | undefined;
|
|
137
140
|
overlay?: boolean | undefined;
|
|
138
141
|
isShow?: boolean | undefined;
|
|
139
|
-
container?: any;
|
|
140
142
|
onConfirm?: ((value: any) => void) | undefined;
|
|
141
143
|
showClose?: boolean | undefined;
|
|
142
144
|
} & {} & {
|
|
143
145
|
locale?: string | undefined;
|
|
144
146
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
145
147
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
146
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
148
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
149
|
+
container?: any;
|
|
147
150
|
className?: string | undefined;
|
|
148
151
|
overlay?: boolean | undefined;
|
|
149
152
|
isShow?: boolean | undefined;
|
|
150
|
-
container?: any;
|
|
151
153
|
onConfirm?: ((value: any) => void) | undefined;
|
|
152
154
|
showClose?: boolean | undefined;
|
|
153
155
|
} & {} & {
|
|
154
156
|
locale?: string | undefined;
|
|
155
157
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
156
158
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
157
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
159
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
160
|
+
container?: any;
|
|
158
161
|
className?: string | undefined;
|
|
159
162
|
overlay?: boolean | undefined;
|
|
160
163
|
isShow?: boolean | undefined;
|
|
161
|
-
container?: any;
|
|
162
164
|
onConfirm?: ((value: any) => void) | undefined;
|
|
163
165
|
showClose?: boolean | undefined;
|
|
164
166
|
} & {} & {
|
|
@@ -169,11 +171,11 @@ declare const _default: {
|
|
|
169
171
|
displayName: string;
|
|
170
172
|
contextType: React.Context<string>;
|
|
171
173
|
ComposedComponent: React.ComponentType<{
|
|
172
|
-
new (props: Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
174
|
+
new (props: Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
175
|
+
container?: any;
|
|
173
176
|
className?: string | undefined;
|
|
174
177
|
overlay?: boolean | undefined;
|
|
175
178
|
isShow?: boolean | undefined;
|
|
176
|
-
container?: any;
|
|
177
179
|
onConfirm?: ((value: any) => void) | undefined;
|
|
178
180
|
showClose?: boolean | undefined;
|
|
179
181
|
} & {} & {
|
|
@@ -185,11 +187,11 @@ declare const _default: {
|
|
|
185
187
|
getWrappedInstance(): any;
|
|
186
188
|
render(): React.JSX.Element;
|
|
187
189
|
context: unknown;
|
|
188
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
190
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
191
|
+
container?: any;
|
|
189
192
|
className?: string | undefined;
|
|
190
193
|
overlay?: boolean | undefined;
|
|
191
194
|
isShow?: boolean | undefined;
|
|
192
|
-
container?: any;
|
|
193
195
|
onConfirm?: ((value: any) => void) | undefined;
|
|
194
196
|
showClose?: boolean | undefined;
|
|
195
197
|
} & {} & {
|
|
@@ -197,11 +199,11 @@ declare const _default: {
|
|
|
197
199
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
198
200
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
199
201
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
200
|
-
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
202
|
+
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
203
|
+
container?: any;
|
|
201
204
|
className?: string | undefined;
|
|
202
205
|
overlay?: boolean | undefined;
|
|
203
206
|
isShow?: boolean | undefined;
|
|
204
|
-
container?: any;
|
|
205
207
|
onConfirm?: ((value: any) => void) | undefined;
|
|
206
208
|
showClose?: boolean | undefined;
|
|
207
209
|
} & {} & {
|
|
@@ -213,11 +215,11 @@ declare const _default: {
|
|
|
213
215
|
[key: string]: React.ReactInstance;
|
|
214
216
|
};
|
|
215
217
|
componentDidMount?(): void;
|
|
216
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
218
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
219
|
+
container?: any;
|
|
217
220
|
className?: string | undefined;
|
|
218
221
|
overlay?: boolean | undefined;
|
|
219
222
|
isShow?: boolean | undefined;
|
|
220
|
-
container?: any;
|
|
221
223
|
onConfirm?: ((value: any) => void) | undefined;
|
|
222
224
|
showClose?: boolean | undefined;
|
|
223
225
|
} & {} & {
|
|
@@ -226,22 +228,22 @@ declare const _default: {
|
|
|
226
228
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
227
229
|
componentWillUnmount?(): void;
|
|
228
230
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
229
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
231
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
232
|
+
container?: any;
|
|
230
233
|
className?: string | undefined;
|
|
231
234
|
overlay?: boolean | undefined;
|
|
232
235
|
isShow?: boolean | undefined;
|
|
233
|
-
container?: any;
|
|
234
236
|
onConfirm?: ((value: any) => void) | undefined;
|
|
235
237
|
showClose?: boolean | undefined;
|
|
236
238
|
} & {} & {
|
|
237
239
|
locale?: string | undefined;
|
|
238
240
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
239
241
|
}>, prevState: Readonly<{}>): any;
|
|
240
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
242
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
243
|
+
container?: any;
|
|
241
244
|
className?: string | undefined;
|
|
242
245
|
overlay?: boolean | undefined;
|
|
243
246
|
isShow?: boolean | undefined;
|
|
244
|
-
container?: any;
|
|
245
247
|
onConfirm?: ((value: any) => void) | undefined;
|
|
246
248
|
showClose?: boolean | undefined;
|
|
247
249
|
} & {} & {
|
|
@@ -250,44 +252,44 @@ declare const _default: {
|
|
|
250
252
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
251
253
|
componentWillMount?(): void;
|
|
252
254
|
UNSAFE_componentWillMount?(): void;
|
|
253
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
255
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
256
|
+
container?: any;
|
|
254
257
|
className?: string | undefined;
|
|
255
258
|
overlay?: boolean | undefined;
|
|
256
259
|
isShow?: boolean | undefined;
|
|
257
|
-
container?: any;
|
|
258
260
|
onConfirm?: ((value: any) => void) | undefined;
|
|
259
261
|
showClose?: boolean | undefined;
|
|
260
262
|
} & {} & {
|
|
261
263
|
locale?: string | undefined;
|
|
262
264
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
263
265
|
}>, nextContext: any): void;
|
|
264
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
266
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
267
|
+
container?: any;
|
|
265
268
|
className?: string | undefined;
|
|
266
269
|
overlay?: boolean | undefined;
|
|
267
270
|
isShow?: boolean | undefined;
|
|
268
|
-
container?: any;
|
|
269
271
|
onConfirm?: ((value: any) => void) | undefined;
|
|
270
272
|
showClose?: boolean | undefined;
|
|
271
273
|
} & {} & {
|
|
272
274
|
locale?: string | undefined;
|
|
273
275
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
274
276
|
}>, nextContext: any): void;
|
|
275
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
277
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
278
|
+
container?: any;
|
|
276
279
|
className?: string | undefined;
|
|
277
280
|
overlay?: boolean | undefined;
|
|
278
281
|
isShow?: boolean | undefined;
|
|
279
|
-
container?: any;
|
|
280
282
|
onConfirm?: ((value: any) => void) | undefined;
|
|
281
283
|
showClose?: boolean | undefined;
|
|
282
284
|
} & {} & {
|
|
283
285
|
locale?: string | undefined;
|
|
284
286
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
285
287
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
286
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
288
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
289
|
+
container?: any;
|
|
287
290
|
className?: string | undefined;
|
|
288
291
|
overlay?: boolean | undefined;
|
|
289
292
|
isShow?: boolean | undefined;
|
|
290
|
-
container?: any;
|
|
291
293
|
onConfirm?: ((value: any) => void) | undefined;
|
|
292
294
|
showClose?: boolean | undefined;
|
|
293
295
|
} & {} & {
|
|
@@ -302,11 +304,11 @@ declare const _default: {
|
|
|
302
304
|
ComposedComponent: typeof PopUp;
|
|
303
305
|
}>;
|
|
304
306
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
305
|
-
new (props: Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
307
|
+
new (props: Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
308
|
+
container?: any;
|
|
306
309
|
className?: string | undefined;
|
|
307
310
|
overlay?: boolean | undefined;
|
|
308
311
|
isShow?: boolean | undefined;
|
|
309
|
-
container?: any;
|
|
310
312
|
onConfirm?: ((value: any) => void) | undefined;
|
|
311
313
|
showClose?: boolean | undefined;
|
|
312
314
|
} & {} & {
|
|
@@ -318,11 +320,11 @@ declare const _default: {
|
|
|
318
320
|
getWrappedInstance(): any;
|
|
319
321
|
render(): React.JSX.Element;
|
|
320
322
|
context: unknown;
|
|
321
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
323
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
324
|
+
container?: any;
|
|
322
325
|
className?: string | undefined;
|
|
323
326
|
overlay?: boolean | undefined;
|
|
324
327
|
isShow?: boolean | undefined;
|
|
325
|
-
container?: any;
|
|
326
328
|
onConfirm?: ((value: any) => void) | undefined;
|
|
327
329
|
showClose?: boolean | undefined;
|
|
328
330
|
} & {} & {
|
|
@@ -330,11 +332,11 @@ declare const _default: {
|
|
|
330
332
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
331
333
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
332
334
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
333
|
-
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
335
|
+
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
336
|
+
container?: any;
|
|
334
337
|
className?: string | undefined;
|
|
335
338
|
overlay?: boolean | undefined;
|
|
336
339
|
isShow?: boolean | undefined;
|
|
337
|
-
container?: any;
|
|
338
340
|
onConfirm?: ((value: any) => void) | undefined;
|
|
339
341
|
showClose?: boolean | undefined;
|
|
340
342
|
} & {} & {
|
|
@@ -346,11 +348,11 @@ declare const _default: {
|
|
|
346
348
|
[key: string]: React.ReactInstance;
|
|
347
349
|
};
|
|
348
350
|
componentDidMount?(): void;
|
|
349
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
351
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
352
|
+
container?: any;
|
|
350
353
|
className?: string | undefined;
|
|
351
354
|
overlay?: boolean | undefined;
|
|
352
355
|
isShow?: boolean | undefined;
|
|
353
|
-
container?: any;
|
|
354
356
|
onConfirm?: ((value: any) => void) | undefined;
|
|
355
357
|
showClose?: boolean | undefined;
|
|
356
358
|
} & {} & {
|
|
@@ -359,22 +361,22 @@ declare const _default: {
|
|
|
359
361
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
360
362
|
componentWillUnmount?(): void;
|
|
361
363
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
362
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
364
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
365
|
+
container?: any;
|
|
363
366
|
className?: string | undefined;
|
|
364
367
|
overlay?: boolean | undefined;
|
|
365
368
|
isShow?: boolean | undefined;
|
|
366
|
-
container?: any;
|
|
367
369
|
onConfirm?: ((value: any) => void) | undefined;
|
|
368
370
|
showClose?: boolean | undefined;
|
|
369
371
|
} & {} & {
|
|
370
372
|
locale?: string | undefined;
|
|
371
373
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
372
374
|
}>, prevState: Readonly<{}>): any;
|
|
373
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
375
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
376
|
+
container?: any;
|
|
374
377
|
className?: string | undefined;
|
|
375
378
|
overlay?: boolean | undefined;
|
|
376
379
|
isShow?: boolean | undefined;
|
|
377
|
-
container?: any;
|
|
378
380
|
onConfirm?: ((value: any) => void) | undefined;
|
|
379
381
|
showClose?: boolean | undefined;
|
|
380
382
|
} & {} & {
|
|
@@ -383,44 +385,44 @@ declare const _default: {
|
|
|
383
385
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
384
386
|
componentWillMount?(): void;
|
|
385
387
|
UNSAFE_componentWillMount?(): void;
|
|
386
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
388
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
389
|
+
container?: any;
|
|
387
390
|
className?: string | undefined;
|
|
388
391
|
overlay?: boolean | undefined;
|
|
389
392
|
isShow?: boolean | undefined;
|
|
390
|
-
container?: any;
|
|
391
393
|
onConfirm?: ((value: any) => void) | undefined;
|
|
392
394
|
showClose?: boolean | undefined;
|
|
393
395
|
} & {} & {
|
|
394
396
|
locale?: string | undefined;
|
|
395
397
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
396
398
|
}>, nextContext: any): void;
|
|
397
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
399
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
400
|
+
container?: any;
|
|
398
401
|
className?: string | undefined;
|
|
399
402
|
overlay?: boolean | undefined;
|
|
400
403
|
isShow?: boolean | undefined;
|
|
401
|
-
container?: any;
|
|
402
404
|
onConfirm?: ((value: any) => void) | undefined;
|
|
403
405
|
showClose?: boolean | undefined;
|
|
404
406
|
} & {} & {
|
|
405
407
|
locale?: string | undefined;
|
|
406
408
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
407
409
|
}>, nextContext: any): void;
|
|
408
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
410
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
411
|
+
container?: any;
|
|
409
412
|
className?: string | undefined;
|
|
410
413
|
overlay?: boolean | undefined;
|
|
411
414
|
isShow?: boolean | undefined;
|
|
412
|
-
container?: any;
|
|
413
415
|
onConfirm?: ((value: any) => void) | undefined;
|
|
414
416
|
showClose?: boolean | undefined;
|
|
415
417
|
} & {} & {
|
|
416
418
|
locale?: string | undefined;
|
|
417
419
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
418
420
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
419
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
421
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
422
|
+
container?: any;
|
|
420
423
|
className?: string | undefined;
|
|
421
424
|
overlay?: boolean | undefined;
|
|
422
425
|
isShow?: boolean | undefined;
|
|
423
|
-
container?: any;
|
|
424
426
|
onConfirm?: ((value: any) => void) | undefined;
|
|
425
427
|
showClose?: boolean | undefined;
|
|
426
428
|
} & {} & {
|
|
@@ -435,11 +437,11 @@ declare const _default: {
|
|
|
435
437
|
ComposedComponent: typeof PopUp;
|
|
436
438
|
}, {}> & {
|
|
437
439
|
ComposedComponent: {
|
|
438
|
-
new (props: Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
440
|
+
new (props: Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
441
|
+
container?: any;
|
|
439
442
|
className?: string | undefined;
|
|
440
443
|
overlay?: boolean | undefined;
|
|
441
444
|
isShow?: boolean | undefined;
|
|
442
|
-
container?: any;
|
|
443
445
|
onConfirm?: ((value: any) => void) | undefined;
|
|
444
446
|
showClose?: boolean | undefined;
|
|
445
447
|
} & {} & {
|
|
@@ -451,11 +453,11 @@ declare const _default: {
|
|
|
451
453
|
getWrappedInstance(): any;
|
|
452
454
|
render(): React.JSX.Element;
|
|
453
455
|
context: unknown;
|
|
454
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
456
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
457
|
+
container?: any;
|
|
455
458
|
className?: string | undefined;
|
|
456
459
|
overlay?: boolean | undefined;
|
|
457
460
|
isShow?: boolean | undefined;
|
|
458
|
-
container?: any;
|
|
459
461
|
onConfirm?: ((value: any) => void) | undefined;
|
|
460
462
|
showClose?: boolean | undefined;
|
|
461
463
|
} & {} & {
|
|
@@ -463,11 +465,11 @@ declare const _default: {
|
|
|
463
465
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
464
466
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
465
467
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
466
|
-
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
468
|
+
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
469
|
+
container?: any;
|
|
467
470
|
className?: string | undefined;
|
|
468
471
|
overlay?: boolean | undefined;
|
|
469
472
|
isShow?: boolean | undefined;
|
|
470
|
-
container?: any;
|
|
471
473
|
onConfirm?: ((value: any) => void) | undefined;
|
|
472
474
|
showClose?: boolean | undefined;
|
|
473
475
|
} & {} & {
|
|
@@ -479,11 +481,11 @@ declare const _default: {
|
|
|
479
481
|
[key: string]: React.ReactInstance;
|
|
480
482
|
};
|
|
481
483
|
componentDidMount?(): void;
|
|
482
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
484
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
485
|
+
container?: any;
|
|
483
486
|
className?: string | undefined;
|
|
484
487
|
overlay?: boolean | undefined;
|
|
485
488
|
isShow?: boolean | undefined;
|
|
486
|
-
container?: any;
|
|
487
489
|
onConfirm?: ((value: any) => void) | undefined;
|
|
488
490
|
showClose?: boolean | undefined;
|
|
489
491
|
} & {} & {
|
|
@@ -492,22 +494,22 @@ declare const _default: {
|
|
|
492
494
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
493
495
|
componentWillUnmount?(): void;
|
|
494
496
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
495
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
497
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
498
|
+
container?: any;
|
|
496
499
|
className?: string | undefined;
|
|
497
500
|
overlay?: boolean | undefined;
|
|
498
501
|
isShow?: boolean | undefined;
|
|
499
|
-
container?: any;
|
|
500
502
|
onConfirm?: ((value: any) => void) | undefined;
|
|
501
503
|
showClose?: boolean | undefined;
|
|
502
504
|
} & {} & {
|
|
503
505
|
locale?: string | undefined;
|
|
504
506
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
505
507
|
}>, prevState: Readonly<{}>): any;
|
|
506
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
508
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
509
|
+
container?: any;
|
|
507
510
|
className?: string | undefined;
|
|
508
511
|
overlay?: boolean | undefined;
|
|
509
512
|
isShow?: boolean | undefined;
|
|
510
|
-
container?: any;
|
|
511
513
|
onConfirm?: ((value: any) => void) | undefined;
|
|
512
514
|
showClose?: boolean | undefined;
|
|
513
515
|
} & {} & {
|
|
@@ -516,44 +518,44 @@ declare const _default: {
|
|
|
516
518
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
517
519
|
componentWillMount?(): void;
|
|
518
520
|
UNSAFE_componentWillMount?(): void;
|
|
519
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
521
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
522
|
+
container?: any;
|
|
520
523
|
className?: string | undefined;
|
|
521
524
|
overlay?: boolean | undefined;
|
|
522
525
|
isShow?: boolean | undefined;
|
|
523
|
-
container?: any;
|
|
524
526
|
onConfirm?: ((value: any) => void) | undefined;
|
|
525
527
|
showClose?: boolean | undefined;
|
|
526
528
|
} & {} & {
|
|
527
529
|
locale?: string | undefined;
|
|
528
530
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
529
531
|
}>, nextContext: any): void;
|
|
530
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
532
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
533
|
+
container?: any;
|
|
531
534
|
className?: string | undefined;
|
|
532
535
|
overlay?: boolean | undefined;
|
|
533
536
|
isShow?: boolean | undefined;
|
|
534
|
-
container?: any;
|
|
535
537
|
onConfirm?: ((value: any) => void) | undefined;
|
|
536
538
|
showClose?: boolean | undefined;
|
|
537
539
|
} & {} & {
|
|
538
540
|
locale?: string | undefined;
|
|
539
541
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
540
542
|
}>, nextContext: any): void;
|
|
541
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
543
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
544
|
+
container?: any;
|
|
542
545
|
className?: string | undefined;
|
|
543
546
|
overlay?: boolean | undefined;
|
|
544
547
|
isShow?: boolean | undefined;
|
|
545
|
-
container?: any;
|
|
546
548
|
onConfirm?: ((value: any) => void) | undefined;
|
|
547
549
|
showClose?: boolean | undefined;
|
|
548
550
|
} & {} & {
|
|
549
551
|
locale?: string | undefined;
|
|
550
552
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
551
553
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
552
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "
|
|
554
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "children" | "header" | "style" | "title" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "onHide" | "onExited" | "onEntered" | "placement" | "showConfirm"> & {
|
|
555
|
+
container?: any;
|
|
553
556
|
className?: string | undefined;
|
|
554
557
|
overlay?: boolean | undefined;
|
|
555
558
|
isShow?: boolean | undefined;
|
|
556
|
-
container?: any;
|
|
557
559
|
onConfirm?: ((value: any) => void) | undefined;
|
|
558
560
|
showClose?: boolean | undefined;
|
|
559
561
|
} & {} & {
|
package/lib/components/PopUp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.
|
|
2
|
+
* amis-ui v6.10.0-beta.0
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -58,11 +58,11 @@ var PopUp = /** @class */ (function (_super) {
|
|
|
58
58
|
};
|
|
59
59
|
PopUp.prototype.render = function () {
|
|
60
60
|
var _this = this;
|
|
61
|
-
var _a = this.props, style = _a.style, title = _a.title, children = _a.children, overlay = _a.overlay, onHide = _a.onHide, onConfirm = _a.onConfirm, ns = _a.classPrefix, cx = _a.classnames, className = _a.className, isShow = _a.isShow, container = _a.container, showConfirm = _a.showConfirm, __ = _a.translate, showClose = _a.showClose, header = _a.header, _b = _a.placement, placement = _b === void 0 ? 'center' : _b, rest = tslib.__rest(_a, ["style", "title", "children", "overlay", "onHide", "onConfirm", "classPrefix", "classnames", "className", "isShow", "container", "showConfirm", "translate", "showClose", "header", "placement"]);
|
|
61
|
+
var _a = this.props, style = _a.style, title = _a.title, children = _a.children, overlay = _a.overlay, onHide = _a.onHide, onConfirm = _a.onConfirm, ns = _a.classPrefix, cx = _a.classnames, className = _a.className, isShow = _a.isShow, container = _a.container, showConfirm = _a.showConfirm, __ = _a.translate, showClose = _a.showClose, header = _a.header, _b = _a.placement, placement = _b === void 0 ? 'center' : _b, onEntered = _a.onEntered, onExited = _a.onExited, rest = tslib.__rest(_a, ["style", "title", "children", "overlay", "onHide", "onConfirm", "classPrefix", "classnames", "className", "isShow", "container", "showConfirm", "translate", "showClose", "header", "placement", "onEntered", "onExited"]);
|
|
62
62
|
var outerStyle = tslib.__assign({}, style);
|
|
63
63
|
delete outerStyle.top;
|
|
64
64
|
return (_J$X_(Portal__default["default"], { container: container },
|
|
65
|
-
_J$X_(Transition__default["default"], { mountOnEnter: true, unmountOnExit: true, in: isShow, timeout: 500, appear: true }, function (status) {
|
|
65
|
+
_J$X_(Transition__default["default"], { onEntered: onEntered, onExit: onExited, mountOnEnter: true, unmountOnExit: true, in: isShow, timeout: 500, appear: true }, function (status) {
|
|
66
66
|
return (_J$X_("div", tslib.__assign({ className: cx("".concat(ns, "PopUp"), className, fadeStyles[status]), style: outerStyle }, rest, { onClick: _this.handleClick }),
|
|
67
67
|
overlay && (_J$X_("div", { className: "".concat(ns, "PopUp-overlay"), onClick: onHide })),
|
|
68
68
|
_J$X_("div", { className: cx("".concat(ns, "PopUp-inner")) },
|